InternetMoneySwapRouter

Verified contract

Active on Ethereum with 114 txns
Deployed by via 0x1d701d73 at 18336759
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
Native
Value $324.28
0x37ee28b0831d0bff46bb709b782805a384b5bff5fcf6c03a7746856894d200a4
0x6c836253805b5860ceb87ef54c6453a1b3037d125c544d685198e50c61d30f9a
0x174ff446ef34ff32497ec36854cf9ebf0dd03b640cf88a18b643ade0800ecc6d
0xed4ac4dc1152a4b93e8b5912e73760471d28f25255b65e8d2beefeacd0c5bc65
0x333930959c3c78460b7407a3d5a3814f3dc51537365a44f05833507b3725220d
0x7e5b56ab5d0f57a5571136c0a082470fcf9a8e2508aae37646147db34dd55d5c
0x373bc1b9424412a5d085aba09d10c32696ba03a381d1ad042fa91f1cdebba08f
0x6d05944019267e2d55f0fc5ef5b7703658c8f7681db3e42bb3a9debbe5a37a50
0x9a247f266dfb7489b82afe55447e956491a751720cb818287c2a9fa72bebfdd1
0x738c80b668167fc5c98098cf0380b509d648dbded765b7e51f0aaa47ae77fb66

Functions
Getter at block 21216009
destination(view returns (address)
0xd08481058399490b83a72676901d4e9db70e75ac
dexInfoSize(view returns (uint256)
7
fee(view returns (uint256)
729
feeDenominator(view returns (uint256)
100000
owner(view returns (address)
0x979d96614ddbc0cd0ec7bed7c508a5b69c24f25e
pendingDistribution(view returns (uint256)
102617399793343626
pendingDistributionSegmented(view returns (uint256uint256)
(102617399793343626, 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 disabledaddress wNativeuint8 dexTypestring 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 _routeraddress _wNativeuint8 dexTypepayable 
disableDex(uint256 idbool disabledpayable 
distribute(uint256 amountpayable 
distributeAll(uint256 amountpayable 
renounceOwnership(
setMigrationAddress(address[] _migrationAddresses
swapBalancerV2(uint256 dexIdstruct IVaultBatchSwapStep[] swapsaddress[] assetsstruct IVaultFundManagement fundsint256[] limitsuint256 deadlineuint256 inTokenIndexuint256 outTokenIndexuint256 amountInpayable 
swapNativeToV2(uint256 _dexIdaddress recipientaddress[] _pathuint256 _amountInuint256 _minAmountOutuint256 _deadlinepayable 
swapPiteas(uint256 dexIdbytes piteasCalldatapayable 
swapToNativeV2(uint256 _dexIdaddress recipientaddress[] _pathuint256 _amountInuint256 _minAmountOutuint256 _deadlinepayable 
swapTokenV2(uint256 _dexIdaddress recipientaddress[] _pathuint256 _amountInuint256 _minAmountOutuint256 _deadlinepayable 
swapUniswapV3(uint256 dexIdstruct ISwapRouterExactInputParams paramspayable 
transferOwnership(address newOwner
updateDex(uint256 indexstring _nameaddress _wNativeuint8 dexTypepayable 
wrap(address _wNativepayable 
Events
AddDex(address indexed executoruint256 indexed dexId
FeesCollected(uint256 indexed amountbool indexed isNative
FeesDistributed(uint256 amount
IMSwap(bytes32 indexed inAndOutTokensuint256 amountInaddress indexed senderuint256 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
fallback(
receive(
Errors
Deadline(
DestinationMissing(
DexConflict(uint256 dexIndex
DexDisabled(
DexTypeInvalid(
FeeMissing(uint256 expecteduint256 providedstring message
FunderMismatch(address expectedaddress provided
NativeMissing(uint256 pathIndex
ValueMismatch(uint256 consumeduint256 provided