InternetMoneySwapRouter
Verified contract
Active on
Ethereum with 1,008 txns
Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
Balances ($2.10)
Native
Value
$2.1
Asset | Symbol | Type | Quantity | Price | Value |
---|---|---|---|---|---|
ETH | Native | 0.000793 | $2,647.90 |
$2.1 |
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|---|---|---|---|---|---|---|
| 20496544 | 2 months ago | | | 0 | 0.000074013524 | |
| 19289320 | 7 months ago | | | 0 | 0.0022557337 | |
| 19238139 | 8 months ago | | | 0 | 0.0037428393 | |
| 18766731 | 10 months ago | | | 0 | 0.0020710615 | |
| 18760221 | 10 months ago | | | 0.89 | 0.0068712283 | |
| 18713206 | 10 months ago | | | 0 | 0.0077970875 | |
| 18691254 | 10 months ago | | | 0.077217 | 0.0052732862 | |
| 18651648 | 10 months ago | | | 0.0003204844 | 0.0046211168 | |
| 18650291 | 10 months ago | | | 0.975819 | 0.0041670606 | |
| 18646173 | 10 months ago | | | 0.2273554 | 0.0035364818 |
ABI
ABI objects
Getter at block 20869230
allDexInfo() view returns (struct InternetMoneySwapRouterDex[] _dexInfo, address _wNative, address _destination, uint256 _fee, uint256 _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 (uint256, uint256)
(792887823098272, 0)
wNative() view returns (address)
0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2
Read-only
amountOutFrom(address factory, address tokenIn, address tokenOut, uint256 amountIn) view returns (uint256)
checkPairForValidPrice(address factory, address token) view returns (uint256 tokenReserve, uint256 wethReserve)
clamp(uint256 amount, uint256 max) pure returns (uint256)
dexInfo(uint256) view returns (uint64 id, address router, bool disabled, string name)
getFeeMinimum(address factory, uint256 _amountIn, address[] path) view returns (address, uint256)
getSingleFeeMinimum(address factory, uint256 _amountIn, address source) view returns (uint256 minimum)
migrationAddresses(uint256) view returns (address)
routerToDex(address) view returns (uint256)
State-modifying
Events addDex(string _dexName, address _router) payable
disableDex(uint256 id, bool disabled) payable
distribute(uint256 amount) payable
distributeAll(uint256 amount) payable
renounceOwnership()
setMigrationAddress(address[] _migrationAddresses)
swapNativeToV2(uint256 _dexId, address recipient, address[] _path, uint256 _amountIn, uint256 _minAmountOut, uint256 _deadline) payable
swapToNativeV2(uint256 _dexId, address recipient, address[] _path, uint256 _amountIn, uint256 _minAmountOut, uint256 _deadline) payable
swapTokenV2(uint256 _dexId, address recipient, address[] _path, uint256 _amountIn, uint256 _minAmountOut, uint256 _deadline) payable
transferOwnership(address newOwner)
updateDex(uint256 id, string _name) payable
AddDex(address indexed executor, uint256 indexed dexId)
OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
UpdateDex(address indexed executor, uint256 indexed dexId)
UpdateMigrationAddresses(address indexed executor, address[] addresses)
constructor(address _destination, address _wNative, uint96 _fee)
receive()
DestinationMissing()
DexConflict(uint256 dexIndex)
DexDisabled()
FeeMissing(uint256 expected, uint256 provided, string message)
NativeMissing(uint256 pathIndex)