SwapperProxy
Verified contract
Proxy
Active on
Ethereum with 4,677 txns
Unified storage
Map
Table
Raw
Constants and immutables
2
Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
Balances ($80.21)
Native
Value
$80.21
Asset | Symbol | Type | Quantity | Price | Value |
---|---|---|---|---|---|
ETH | Native | 0.03 | $2,673.60 |
$80.21 |
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|---|---|---|---|---|---|---|
| 20842640 | a day ago | | | 0 | 0.0022012096 | |
| 20835353 | 2 days ago | | | 0 | 0.0031558906 | |
| 20831102 | 3 days ago | | | 0 | 0.0022013855 | |
| 20829009 | 3 days ago | | | 0 | 0.0029411575 | |
| 20827978 | 3 days ago | | | 0 | 0.0024758042 | |
| 20826254 | 4 days ago | | | 0 | 0.0016905983 | |
| 20826092 | 4 days ago | | | 0 | 0.0014653283 | |
| 20811594 | 6 days ago | | | 0 | 0.0022809845 | |
| 20810804 | 6 days ago | | | 0 | 0.0029796025 | |
| 20810664 | 6 days ago | | | 0 | 0.0021089294 |
ABI
ABI objects
Getter at block 20852377
ADMIN_ROLE() view returns (bytes32)
0xdf8b4c520ffe197c5343c6f5aec59570151ef9a492f2c624fd45ddde6135ec42
DEFAULT_ADMIN_ROLE() view returns (bytes32)
0x0000000000000000000000000000000000000000000000000000000000000000
_WETH() view returns (address)
0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2
implementation() view returns (address)
0x57bd88f20003185cb136f859e7724dd75910fd75
pauseProxy() view returns (bool)
false
ton() view returns (address)
0x2be5e8c109e2197d077d13a82daead6a9b3433c5
tos() view returns (address)
0x409c4d8cd5d2924b9bc5509230d16a61289c8153
uniswapRouter() view returns (address)
0xe592427a0aece92de3edee1f18e0157c05861564
wton() view returns (address)
0xc4a11aaf6ea915ed7ac194161d2fc9384f15bff2
_WETH() view returns (address)
0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2
ton() view returns (address)
0x2be5e8c109e2197d077d13a82daead6a9b3433c5
tos() view returns (address)
0x409c4d8cd5d2924b9bc5509230d16a61289c8153
uniswapRouter() view returns (address)
0xe592427a0aece92de3edee1f18e0157c05861564
wton() view returns (address)
0xc4a11aaf6ea915ed7ac194161d2fc9384f15bff2
Read-only
aliveImplementation(address) view returns (bool)
getRoleAdmin(bytes32 role) view returns (bytes32)
getSelectorImplementation2(bytes4 _selector) view returns (address impl)
hasRole(bytes32 role, address account) view returns (bool)
implementation2(uint256 _index) view returns (address)
isAdmin(address account) view returns (bool)
proxyImplementation(uint256) view returns (address)
selectorImplementation(bytes4) view returns (address)
supportsInterface(bytes4 interfaceId) view returns (bool)
tokenCheck(address) view returns (bool)
decodeLastPool(bytes path) pure returns (address tokenA, address tokenB, uint24 fee)
tokenCheck(address) view returns (bool)
State-modifying
Events addAdmin(address account)
grantRole(bytes32 role, address account)
initialize(address _wton, address _ton, address _tos, address _uniswapRouter, address _weth)
removeAdmin()
renounceRole(bytes32 role, address account)
revokeRole(bytes32 role, address account)
setAliveImplementation2(address newImplementation, bool _alive)
setImplementation2(address newImplementation, uint256 _index, bool _alive)
setProxyPause(bool _pause)
setSelectorImplementations2(bytes4[] _selectors, address _imp)
transferAdmin(address newAdmin)
upgradeTo(address impl)
exactInput(struct ISwapRouterExactInputParams params, bool _wrapEth, bool _outputUnwrapEth, bool _inputWrapWTON, bool _outputUnwrapTON) payable returns (uint256 amountOut)
exactOutput(struct ISwapRouterExactOutputParams params, bool _wrapEth, bool _outputUnwrapEth, bool _inputWrapWTON, bool _outputUnwrapTON) payable returns (uint256 amountIn)
onApprove(address sender, address spender, uint256 transferAmount, bytes data) returns (bool)
tonToWton(uint256 _amount)
wtonToTon(uint256 _amount)
RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole)
RoleGranted(bytes32 indexed role, address indexed account, address indexed sender)
RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender)
SetAliveImplementation(address indexed impl, bool alive)
SetSelectorImplementation(bytes4 indexed selector, address indexed impl)
Upgraded(address indexed implementation)
ExactInputEvent(address recipient, address inputToken, address outputToken, uint256 amountIn, uint256 amountOut)
ExactOutputEvent(address recipient, address inputToken, address outputToken, uint256 amountIn, uint256 amountOut, uint256 refund)
TonToWTON(address recipient, uint256 amount)
WtonToTON(address recipient, uint256 amount)
constructor()
fallback()
receive()
This contract contains no error objects.