OptimizedTransparentUpgradeableProxy
Verified contract
Proxy
Active on
Ethereum with 198 txns
Unified storage
Map
Table
Raw
Constants and immutables
3
Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
-
variable spans 49 additional slots
-
variable spans 48 additional slots
-
variable spans 48 additional slots
-
variable spans 48 additional slots
-
variable spans 2 additional slots
0x34d2…5bde
Balances ($0.00)
No balances found for "OptimizedTransparentUpgradeableProxy"
Transactions
ABI
ABI objects
Getter at block 21306921
feeTo() view returns (address)
0x70b98e2f1a4fa9825ac3a0e31b2ed46a67305d4f
getTokens() view returns (address[])
[0x34e007b01d8b48597B747dBEEd470c9aCF3b6648]
haircutRate() view returns (uint256)
69000000000000000
merchantFeeTo() view returns (address)
0x70b98e2f1a4fa9825ac3a0e31b2ed46a67305d4f
owner() view returns (address)
0x0fd50a666716e0916e849fdc905304c11f29288a
paused() view returns (bool)
false
whitelist() view returns (address)
0x34d2a2077d96ced7e4728d0a07684bdf8fbc5bde
whitelistEndTime() view returns (uint256)
1703167200
Read-only
addressOfAsset(address token) view returns (address)
feesCollected(address token) view returns (uint256)
quotePotentialSwap(address fromToken, address toToken, uint256 amount) view returns (uint256 quote, uint256 haircut)
State-modifying
Events admin() returns (address)
implementation() returns (address)
upgradeTo(address newImplementation)
upgradeToAndCall(address newImplementation, bytes data) payable
addAsset(address token)
buy(address token, uint256 amount, uint256 maxAmount, address to, uint256 deadline) returns (uint256 finalAmount)
initialize(uint256 haircutRate_, uint256 whitelistEndTime_)
mintFee(address token)
redeem(address token, uint256 deadline) returns (uint256 tokenAmount)
removeAsset(address token)
renounceOwnership()
sell(address token, uint256 amount, uint256 minAmount, address to, uint256 deadline) returns (uint256 finalAmount)
setFeeTo(address feeTo_)
setHaircutRate(uint256 haircutRate_)
setMerchantFeeTo(address merchantFeeTo_)
setWhitelist(address _whitelist)
setWhitelistEndTime(uint256 _whitelistEndTime)
transferOwnership(address newOwner)
Upgraded(address indexed implementation)
AssetAdded(address indexed token)
AssetRemoved(address indexed token)
Buy(address indexed sender, address token, uint256 tokenAmount, uint256 amount, address indexed to)
Initialized(uint8 version)
OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
Paused(address account)
Redeem(address indexed sender, address token, uint256 tokenAmount, uint256 baseAmount, address indexed to)
Sell(address indexed sender, address token, uint256 tokenAmount, uint256 amount, address indexed to)
SetFeeTo(address addr)
SetHaircutRate(uint256 value)
SetMerchantFeeTo(address addr)
SetWhiteList(address addr)
SetWhiteListEndTime(uint256 value)
Unpaused(address account)
constructor(address initialLogic, address initialAdmin, bytes _data)
fallback()
receive()
MERCH_AMOUNT_TOO_LOW()
MERCH_ASSET_ALREADY_EXIST()
MERCH_ASSET_NOT_EXISTS()
MERCH_EXPIRED()
MERCH_INVALID_VALUE()
MERCH_SAME_ADDRESS()
MERCH_WHITELIST_NOT_ENDED()
MERCH_ZERO_ADDRESS()