Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Starknet Smart Contracts
#[constructor] fn constructor(ref self: ContractState, _owner: ContractAddress)
#[external(v0)] fn swap(ref self: ContractState, route: RouteParam, swap_parameters: Array<SwapParams>)
@notice RouteParam is a struct that contains the parameters needed to execute a swap
@notice SwapParams is a struct that contains the parameters needed to execute a swap
#[derive(Drop, starknet::Event)] struct Swap { sender: ContractAddress, token_in: ContractAddress, token_out: ContractAddress, amount_in: u256, amount_out: u256, to: ContractAddress }