InternetMoneySwapRouter

Verified contract

Active on Ethereum with 1,008 txns
Deployed by via 0x419e5429 at 16898480
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
Native
Value $2.1
0xda7247c9709102257bda2533454acd24b2e30f86357bcd6fb898d2fc914da55c
0x548f030f980c8690f21128208f841603cbb444bf151eb00a16a0d3aabafabcb2
0x8d3d5f827f5f51b9a1962a5a45e60ec48ff2353c59e51595acddb7a83031da61
0xb3406ad2e05aeffd7e3d677610592e200a2a89cd3dd73b9720f19b5b696c9062
0x266aa18cd73f740df4131d24c6de7cbb381da1aa897907aef3c50f1066ec3aff
0xf22b1d82a40076b30f4b756f1898ce68e4caed921abd55744f4d2ac313e19bbe
0x4f7c5939fb1f26bc976a72138c44bd7f353d67e238da7291069054dbc82b0c47
0x51eef5292486bba3d1791aa04ae314c44968d100749fc4c31bf1e7a396cff8bc
0xf46285c68c2006dfe697090f82deb04cecae5a4d418a9c8ddffc921b9f8bd775
0xb4aad5e9f1003152dfb92826a67a4c03bd7e07e14f936e81ad1b4589f97a317a

Functions
Getter at block 20869230
allDexInfo(view returns (struct InternetMoneySwapRouterDex[] _dexInfoaddress _wNativeaddress _destinationuint256 _feeuint256 _feeDenominator)
(_dexInfo=[(0, 0x7a250d5630b4cf539739df2c5dacb4c659f2488d, false, Uniswap V2), (1, 0xd9e1ce17f2641f24ae83637ab66a2cca9c378b9f, false, SushiSwap)], _wNative=0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2, _destination=0xd08481058399490b83a72676901d4e9db70e75ac, _fee=729, _feeDenominator=100000)
destination(view returns (address)
0xd08481058399490b83a72676901d4e9db70e75ac
fee(view returns (uint256)
729
feeDenominator(view returns (uint256)
100000
owner(view returns (address)
0xe8bec092795e86f02f0f9bc1eecfc29fa54c2137
pendingDistribution(view returns (uint256)
792887823098272
pendingDistributionSegmented(view returns (uint256uint256)
(792887823098272, 0)
wNative(view returns (address)
0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2
Read-only
amountOutFrom(address factoryaddress tokenInaddress tokenOutuint256 amountInview returns (uint256)
checkPairForValidPrice(address factoryaddress tokenview returns (uint256 tokenReserveuint256 wethReserve)
clamp(uint256 amountuint256 maxpure returns (uint256)
dexInfo(uint256view returns (uint64 idaddress routerbool disabledstring name)
getFeeMinimum(address factoryuint256 _amountInaddress[] pathview returns (addressuint256)
getSingleFeeMinimum(address factoryuint256 _amountInaddress sourceview returns (uint256 minimum)
migrationAddresses(uint256view returns (address)
routerToDex(addressview returns (uint256)
State-modifying
addDex(string _dexNameaddress _routerpayable 
disableDex(uint256 idbool disabledpayable 
distribute(uint256 amountpayable 
distributeAll(uint256 amountpayable 
renounceOwnership(
setMigrationAddress(address[] _migrationAddresses
swapNativeToV2(uint256 _dexIdaddress recipientaddress[] _pathuint256 _amountInuint256 _minAmountOutuint256 _deadlinepayable 
swapToNativeV2(uint256 _dexIdaddress recipientaddress[] _pathuint256 _amountInuint256 _minAmountOutuint256 _deadlinepayable 
swapTokenV2(uint256 _dexIdaddress recipientaddress[] _pathuint256 _amountInuint256 _minAmountOutuint256 _deadlinepayable 
transferOwnership(address newOwner
updateDex(uint256 idstring _namepayable 
Events
AddDex(address indexed executoruint256 indexed dexId
OwnershipTransferred(address indexed previousOwneraddress indexed newOwner
UpdateDex(address indexed executoruint256 indexed dexId
UpdateMigrationAddresses(address indexed executoraddress[] addresses
Constructor
constructor(address _destinationaddress _wNativeuint96 _fee
Fallback and receive
receive(
Errors
DestinationMissing(
DexConflict(uint256 dexIndex
DexDisabled(
FeeMissing(uint256 expecteduint256 providedstring message
NativeMissing(uint256 pathIndex