This contract is being backfilled. You may encounter incomplete storage history.

OdosRouterV2

Verified contract

Active on Ethereum with 518 txns
Deployed by via 0x81e57618 at 19918428
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
Native
Value $2,675.54
ERC-20
Value $92,597.46
ERC-20
Value $1,391.35
ERC-20
Value $1,303.48
ERC-20
Value $971.17
ERC-20
Value $570.74
ERC-20
Value $511.3
ERC-20
Value $377.24
ERC-20
Value $298.83
ERC-20
Value $160.82
0x57bde9f4a086f9cc26e75369413cdd46a3ced2eca70edfc53961a58fdc241ef4
0xe39d05a67920d25ae101974d4c15160e78501bc8bb4ea092e724d97a645ccc9e
0xd90c54ea1ced8737af34906d6e1d2ff013a85582555d0d266b2989096a1c1306
0x0de702e87cf10ecf17bea6926d85f76916e463a3c72f3c0ed9c5c5cfcb279987
0xc5f89f838867b25e9bb82049f2e72701f3cdfcc7f140d9be329bb3191e3151a4
0x14fe5885ce9de71f6f19135628951abbf5c12fc14cf273b361ea5e8ceb208216
0xcf38ca38ec0eb53a4016527803df6c1885c28b6de83daef9089e562419f5a571
0x816f23fc012b0036cf0b6d9f7c06785860ea716d1dac5eca24c536901949d0b4
0x8f5d94025e4967d904d64d4f7b354fe38358c3a0510eed6e68b0af579f2b6451
0xe648b61219230fbd7e53377fbca537890a027e5c5c407d96e2129a09ef860709

Functions
Getter at block 21315924
BASIS_POINTS(view returns (uint256)
10000
FEE_DENOM(view returns (uint256)
1000000000000000000
REFERRAL_WITH_FEE_THRESHOLD(view returns (uint256)
2147483648
buyBack(view returns (address)
0xffdc626bb733a8c2e906242598e2e99752dcb922
buybackFee(view returns (uint256)
50
owner(view returns (address)
0xbc6c3c0dfcdb584584033d5570fcf7d2b07f8d22
swapMultiFee(view returns (uint256)
500000000000000
treasury(view returns (address)
0xffdc626bb733a8c2e906242598e2e99752dcb922
treasuryFee(view returns (uint256)
50
Read-only
addressList(uint256view returns (address)
referralLookup(uint32view returns (uint64 referralFeeaddress beneficiarybool registered)
State-modifying
registerReferralCode(uint32 _referralCodeuint64 _referralFeeaddress _beneficiary
renounceOwnership(
setBuyback(address _buyBack
setBuybackFee(uint256 _buybackFee
setSwapMultiFee(uint256 _swapMultiFee
setTreasury(address _treasury
setTreasuryFee(uint256 _treasuryFee
swap(struct OdosRouterV2swapTokenInfo tokenInfobytes pathDefinitionaddress executoraddress targetRouteruint32 referralCodepayable returns (uint256 amountOut)
swapCompact(payable returns (uint256)
swapMulti(struct OdosRouterV2inputTokenInfo[] inputsstruct OdosRouterV2outputTokenInfo[] outputsuint256 valueOutMinbytes pathDefinitionaddress executoruint32 referralCodepayable returns (uint256[] amountsOut)
swapMultiCompact(payable returns (uint256[] amountsOut)
swapMultiPermit2(struct OdosRouterV2permit2Info permit2struct OdosRouterV2inputTokenInfo[] inputsstruct OdosRouterV2outputTokenInfo[] outputsuint256 valueOutMinbytes pathDefinitionaddress executoruint32 referralCodepayable returns (uint256[] amountsOut)
swapPermit2(struct OdosRouterV2permit2Info permit2struct OdosRouterV2swapTokenInfo tokenInfobytes pathDefinitionaddress executoraddress targetRouteruint32 referralCodereturns (uint256 amountOut)
swapRouterFunds(struct OdosRouterV2inputTokenInfo[] inputsstruct OdosRouterV2outputTokenInfo[] outputsuint256 valueOutMinbytes pathDefinitionaddress executorreturns (uint256[] amountsOut)
transferOwnership(address newOwner
transferRouterFunds(address[] tokensuint256[] amountsaddress dest
writeAddressList(address[] addresses
Events
OwnershipTransferred(address indexed previousOwneraddress indexed newOwner
Swap(address senderuint256 inputAmountaddress inputTokenuint256 amountOutaddress outputTokenint256 slippageuint32 referralCode
SwapMulti(address senderuint256[] amountsInaddress[] tokensInuint256[] amountsOutaddress[] tokensOutuint32 referralCode
UpdateBuyBack(address indexed newBuyBackaddress oldBuyBack
UpdateBuyBackFee(uint256 newBuyBackFeeuint256 oldBuyBackFee
UpdateTreasury(address indexed newTreasuryaddress oldTreasury
UpdateTreasuryFee(uint256 newTreasuryFeeuint256 oldTreasuryFee
Constructor
constructor(address _treasuryaddress _buyBack
Fallback and receive
receive(
Errors

This contract contains no error objects.