TransparentUpgradeableProxy
Verified contract
Proxy
Active on
Ethereum with 320 txns
Unified storage
Map
Table
Raw
Constants and immutables
4
Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
-
variable spans 1 additional slot
Balances ($0.00)
No balances found for "TransparentUpgradeableProxy"
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|---|---|---|---|---|---|---|
| 20687584 | 2 months ago | | | 0 | 0.00022479584 | |
| 20687543 | 2 months ago | | | 0 | 0.000070479167 | |
| 20686970 | 2 months ago | | | 0 | 0.00015386355 | |
| 20686969 | 2 months ago | | | 0 | 0.00015775563 | |
| 20628938 | 3 months ago | | | 0 | 0.00038244857 | |
| 20627261 | 3 months ago | | | 0 | 0.00042251321 | |
| 20584580 | 3 months ago | | | 0 | 0.00054946891 | |
| 20584578 | 3 months ago | | | 0 | 0.00056032398 | |
| 20584576 | 3 months ago | | | 0 | 0.0016527524 | |
| 20584560 | 3 months ago | | | 0 | 0.0014484438 |
ABI
ABI objects
Getter at block 21206722 getAllPoolsInfo() view returns (address[], uint256[])
FIXED_POINT() view returns (uint16)
1000
_WETH() view returns (address)
0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2
accumulatedFees() view returns (uint256)
0
centralWallet() view returns (address)
0xabe443601ecd76cd61a39dc6d3cc6a1cb5dbae57
feeAdmin() view returns (address)
0x552368835a499ea4d9166cfd19f1725fc5bf53e2
platformFee() view returns (uint16)
20
uniswapV2RouterAddress() view returns (address)
0x7a250d5630b4cf539739df2c5dacb4c659f2488d
uniswapV3RouterAddress() view returns (address)
0x68b3465833fb72a70ecdf485e0e4c7bd8665fc45
Read-only
getUserShare(address tokenAddr, bytes32 uuid) view returns (uint256)
getUserTokenBalances(bytes32 uuid) view returns (address[], uint256[], uint256[])
pools(address) view returns (address tokenAddr, uint256 totalTokens)
previousBalance(address) view returns (uint256)
userBalances(bytes32, address) view returns (uint256 tokenBalance, uint256 claimableNativeTokens)
userNativeBalances(bytes32) view returns (uint256 totalClaimableNativeTokens, uint256 totalClaimedNativeTokens)
State-modifying
Events executeSwap(struct ISonarTradeV1V2SwapParams _v2SwapParams, struct ISonarTradeV1V3SwapParams _v3SwapParams, bool _isV2Swap)
feeRecover()
initialize(struct ISonarTradeV1InitializableState _initializableState)
modifyPlatformFee(uint16 _platformFee)
registerDeposit(address tokenAddr, bytes32 uuid, uint256 amtIn)
setUniswapRouters(address _v2Router, address _v3Router)
updateCentralWallet(address _centralWallet)
updateFeeAdmin(address _feeAdmin)
withdrawAllUserNative(bytes32 uuid, address toAddr)
withdrawal(address tokenAddr, bytes32 uuid, uint256 amtOut, address toAddr, bool isNative)
AdminChanged(address previousAdmin, address newAdmin)
BeaconUpgraded(address indexed beacon)
Upgraded(address indexed implementation)
DepositRegistered(address tokenAddr, bytes32 uuid, uint256 amtIn)
EtherAllocated(bytes32 uuid, uint256 amount)
EtherReceived(address from, uint256 amount)
FeesRecovered(address centralWallet, uint256 feeAmount)
Initialized(uint8 version)
NativeTokensClaimed(bytes32 uuid, address poolId, uint256 amount, address toAddr)
NativeTokensWithdrawn(address toAddr, uint256 amount)
SwapExecuted(address tokenIn, address tokenOut, uint256 amountIn, uint256 amountOut)
UnexpectedEtherReceived(address from, uint256 amount)
WithdrawalProcessed(address tokenAddr, bytes32 uuid, uint256 amtOut, address toAddr)
constructor(address _logic, address admin_, bytes _data)
fallback()
receive()
receive()
InvalidAddress()
InvalidAmount()
SwapFailed()
Unauthorized()