Swapper
Verified contract
Active on
Ethereum with 4,806 txns
Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
Balances ($0.52)
Native
Value
$0.52
Asset | Symbol | Type | Quantity | Price | Value |
---|---|---|---|---|---|
ETH | Native | 0.000202 | $2,557.94 |
$0.52 |
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|---|---|---|---|---|---|---|
| 20144949 | 3 months ago | | | 0.00020214 | 0.00035224800 | |
| 16676050 | 2 years ago | | | 0 | 0.00083753352 | |
| 16420512 | 2 years ago | | | 0.000675 | 0.0034729105 | |
| 16373637 | 2 years ago | | | 0.0010452633 | 0.0028315639 | |
| 15945681 | 2 years ago | | | 0.0094065349 | 0.0028082064 | |
| 15911029 | 2 years ago | | | 0.0061952389 | 0.0016434500 | |
| 15875300 | 2 years ago | | | 0.0000081802792 | 0.0019719700 | |
| 15874893 | 2 years ago | | | 0 | 0.00023654890 | |
| 15866273 | 2 years ago | | | 0.00065859321 | 0.0011835780 | |
| 15844833 | 2 years ago | | | 0.0000007 | 0.0021696026 |
ABI
ABI objects
Getter at block 20792449
WETH() view returns (address)
0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2
chainId() view returns (uint64)
2
feeCollector() view returns (address)
0x0e860f44d73f9fdbaf5e9b19afc554bf3c8e8a57
isOwner() view returns (bool)
false
lockProxyAddress() view returns (address)
0x250e76987d838a75310c34bf422ea9f1ac4cc906
managerProxyContract() view returns (address)
0x5a51e2ebf8d136926b9ca7b59b60464e7c44d2eb
owner() view returns (address)
0xb9078ac14fc8b9181b02368ba4e34da53bf43d02
paused() view returns (bool)
false
swapChainId() view returns (uint64)
10
swapProxyHash() view returns (bytes)
0x34d4a23a1fc0c694f0d74ddaf9d8d564cfe2d430
Read-only
assetInPool(bytes, uint64) view returns (bool)
getBalanceFor(address fromAssetHash) view returns (uint256)
poolTokenMap(uint64) view returns (address)
State-modifying
Events add_liquidity(address fromAssetHash, uint64 toPoolId, uint64 toChainId, bytes toAddress, uint256 amount, uint256 minOutAmount, uint256 fee, uint256 id) payable returns (bool)
bind3Asset(bytes asset1, bytes asset2, bytes asset3, uint64 poolId)
bindAssetAndPool(bytes fromAssetHash, uint64 poolId) returns (bool)
extractFee(address token)
pause()
registerPool(uint64 poolId, address poolTokenAddress) returns (bool)
registerPoolWith3Assets(uint64 poolId, address poolTokenAddress, bytes asset1, bytes asset2, bytes asset3)
remove_liquidity(address fromAssetHash, uint64 toPoolId, uint64 toChainId, bytes toAssetHash, bytes toAddress, uint256 amount, uint256 minOutAmount, uint256 fee, uint256 id) payable returns (bool)
renounceOwnership()
setFeeCollector(address collector)
setLockProxy(address _lockProxy)
setManagerProxy(address ethCCMProxyAddr)
setSwapChainId(uint64 _swapChianId)
setSwapProxyHash(bytes swapProxyAddr)
setWETH(address _weth)
swap(address fromAssetHash, uint64 toPoolId, uint64 toChainId, bytes toAssetHash, bytes toAddress, uint256 amount, uint256 minOutAmount, uint256 fee, uint256 id) payable returns (bool)
transferOwnership(address newOwner)
unpause()
AddLiquidityEvent(address fromAssetHash, address fromAddress, uint64 toPoolId, uint64 toChainId, bytes toAssetHash, bytes toAddress, uint256 amount, uint256 fee, uint256 id)
LockEvent(address fromAssetHash, address fromAddress, uint64 toChainId, bytes toAssetHash, bytes toAddress, uint256 amount)
OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
Paused(address account)
RemoveLiquidityEvent(address fromAssetHash, address fromAddress, uint64 toPoolId, uint64 toChainId, bytes toAssetHash, bytes toAddress, uint256 amount, uint256 fee, uint256 id)
SwapEvent(address fromAssetHash, address fromAddress, uint64 toPoolId, uint64 toChainId, bytes toAssetHash, bytes toAddress, uint256 amount, uint256 fee, uint256 id)
Unpaused(address account)
constructor(address _owner, uint64 _chainId, uint64 _swapChianId, address _lockProxy, address _CCMP, address _weth, bytes _swapProxyHash)
This contract contains no fallback and receive objects.
This contract contains no error objects.