Modules§
- ERC20
- Generated by the following Solidity interface…
- Odos
Limit Order Router - Module containing a contract’s types and functions.
- Odos
Limit Order V2 - Generated by the following Solidity interface…
- Odos
Router V2 - Module containing a contract’s types and functions.
- Odos
V2Router - Generated by the following Solidity interface…
- Signature
Validator - Module containing a contract’s types and functions.
Structs§
- Assemble
Request - Request to the Odos Assemble API: https://docs.odos.xyz/build/api-docs
- Assembly
Response - Response from the Odos Assemble API: https://docs.odos.xyz/build/api-docs
- Erc20
- The ERC20 contract.
- Input
Token - Limit
Order V2 - The Limit Order Router contract.
- Odos
SorV2 - Output
Token - Quote
Request - Request to the Odos quote API: https://docs.odos.xyz/build/api-docs
- Quote
Request Builder - Use builder syntax to set the inputs and finish with
build()
. - Simulation
- Simulation from the Odos Assemble API: https://docs.odos.xyz/build/api-docs
- Simulation
Error - Simulation error from the Odos Assemble API: https://docs.odos.xyz/build/api-docs
- Single
Quote Response - Single quote response from the Odos quote API: https://docs.odos.xyz/build/api-docs
- Swap
Context - A token swap.
- Swap
Context Builder - Use builder syntax to set the inputs and finish with
build()
. - Swap
Inputs - Transaction
Data - Transaction data from the Odos Assemble API: https://docs.odos.xyz/build/api-docs
- Transfer
Router Funds - A transfer of a token from one address to another.
- Transfer
Router Funds Builder - Use builder syntax to set the inputs and finish with
build()
. - V2Router
- The V2 SOR Router contract.
Constants§
- ASSEMBLE_
URL - ODOS_
V2_ ARBITRUM_ ROUTER - https://arbiscan.io/address/0xa669e7a0d4b3e4fa48af2de86bd4cd7126be4e13
- ODOS_
V2_ AVALANCHE_ ROUTER - https://snowtrace.io/address/0x88de50b233052e4fb783d4f6db78cc34fea3e9fc
- ODOS_
V2_ BASE_ ROUTER - https://basescan.org/address/0x19cEeAd7105607Cd444F5ad10dd51356436095a1
- ODOS_
V2_ BSC_ ROUTER - https://bscscan.com/address/0x89b8aa89fdd0507a99d334cbe3c808fafc7d850e
- ODOS_
V2_ ETHEREUM_ ROUTER - https://etherscan.io/address/0xcf5540fffcdc3d510b18bfca6d2b9987b0772559
- ODOS_
V2_ FANTOM_ ROUTER - https://ftmscan.com/address/0xD0c22A5435F4E8E5770C1fAFb5374015FC12F7cD
- ODOS_
V2_ FRAXTAL_ ROUTER - https://fraxscan.com/address/0x56c85a254DD12eE8D9C04049a4ab62769Ce98210
- ODOS_
V2_ LINEA_ ROUTER - https://linea.blockscout.com/address/0x2d8879046f1559E53eb052E949e9544bCB72f414
- ODOS_
V2_ MANTLE_ ROUTER - https://mantlescan.xyz/address/0xD9F4e85489aDCD0bAF0Cd63b4231c6af58c26745
- ODOS_
V2_ MODE_ ROUTER - https://explorer.mode.network/address/0x7E15EB462cdc67Cf92Af1f7102465a8F8c784874
- ODOS_
V2_ OP_ ROUTER - https://optimistic.etherscan.io/address/0xca423977156bb05b13a2ba3b76bc5419e2fe9680
- ODOS_
V2_ POLYGON_ ROUTER - https://polygonscan.com/address/0x4e3288c9ca110bcc82bf38f09a7b425c095d92bf
- ODOS_
V2_ SCROLL_ ROUTER - https://explorer.scroll.io/address/0xbFe03C9E20a9Fc0b37de01A172F207004935E0b1
- ODOS_
V2_ SONIC_ ROUTER - https://sonar.explorer.sonar.watch/address/0xaC041Df48dF9791B0654f1Dbbf2CC8450C5f2e9D
- ODOS_
V2_ ZKSYNC_ ROUTER - https://explorer.zksync.io/address/0x4bBa932E9792A2b917D47830C93a9BC79320E4f7