InternetMoneySwapRouter

Verified contract

Active on Ethereum with 4,168 txns
Deployed by via 0x834ceedb at 18551928
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
Native
Value $74.36
ERC-20
Value $67.62
ERC-20
--
ERC-20
--
ERC-20
--
ERC-20
--
0x36d14fb15a3aa84a37c8d0c73de35402a0dfc4b0c2825624448284d52e8d55df
0x609141e249bdaca002d08acdd236b6f19a63a0b2f85976681f53d50aedc9218e
0x756840ba2f651ce837613d0906c4fca2c3eb5a6a2b249a199c59daedb308be40
0x52ab8b3db606ad2ba5b9aedd8f823e9c9151f9a40489823ec15cde4dcf227658
0x90e441ef6f3c27f33951c2203a8b9111fd62512899df1effed94012faa542d06
0xe8dad7076c5cc33850012942d91ed842cf9190447bcd5457f0d7f024e0b3c075
0x7925c6c878a488589407a3919ed91ac81f7718ddc0594e996e5c906e31e5d683
0x8e340ea4d32b858f6e1f751421a2167336b966b00940645865bbc09f4d57dc43
0xa520bb893aa6664736797e31968d761358419f57df0286356a1bd864b09c01e3
0x0ca6fdc48a44b6029ee625bf85e7709a8434f9a60e430ad74649c48b6004c1ba

Functions
Getter at block 21244905
destination(view returns (address)
0xd08481058399490b83a72676901d4e9db70e75ac
dexInfoSize(view returns (uint256)
7
feeDenominator(view returns (uint256)
100000
feeNumerator(view returns (uint256)
729
owner(view returns (address)
0x979d96614ddbc0cd0ec7bed7c508a5b69c24f25e
pendingDistribution(view returns (uint256)
22503665288599818
pendingDistributionSegmented(view returns (uint256uint256)
(22503665288599818, 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 IV3SwapRouterExactInputParams 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
receive(
Errors
Deadline(
DestinationMissing(
DexConflict(uint256 dexIndex
DexDisabled(
DexTypeInvalid(
FallbackNotAllowed(
FeeMissing(uint256 expecteduint256 providedstring message
FunderMismatch(address expectedaddress provided
NativeMissing(uint256 pathIndex
ValueMismatch(uint256 consumeduint256 provided