InitializableAdminUpgradeabilityProxy
Verified contract
Proxy
Active on
Ethereum with 280 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 ($0.00)
No balances found for "InitializableAdminUpgradeabilityProxy"
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|---|---|---|---|---|---|---|
| 21180261 | 4 days ago | | | 0.00030301344 | 0.0072910555 | |
| 21168480 | 6 days ago | | | 0.00029951912 | 0.0024651197 | |
| 21154300 | 8 days ago | | | 0.00031660588 | 0.00084232015 | |
| 21150248 | 8 days ago | | | 0.00032766664 | 0.0013772034 | |
| 21145264 | 9 days ago | | | 0.00033629918 | 0.0012833965 | |
| 21139065 | 10 days ago | | | 0.0003459385 | 0.0014543954 | |
| 21139051 | 10 days ago | | | 0.0003459385 | 0.0013636115 | |
| 21137042 | 10 days ago | | | 0.00035032762 | 0.0023217581 | |
| 21128409 | 11 days ago | | | 0.00037761188 | 0.0014871516 | |
| 21123932 | 12 days ago | | | 0.028213492 | 0.00081128585 |
ABI
ABI objects
Getter at block 21208498
owner() view returns (address)
0x981e9e961e53bde8415eef26c7c5d79b59799a37
treasury() view returns (address)
0x981e9e961e53bde8415eef26c7c5d79b59799a37
Read-only
discounts(address, uint256) view returns (uint256)
getAmount(address token, uint256 unitPriceInUsd) view returns (uint256)
getTokenAmountPerItem(address token, uint256 itemId) view returns (uint256)
getUsdPrice(address token) view returns (uint256)
items(uint256) view returns (uint256 price, bool isRegistered, bool isUnlimited, uint256 dailyLimit)
priceFeeds(address) view returns (address)
userDailyPayCount(address, uint256) view returns (uint256)
userPayTime(address, uint256) view returns (uint256)
State-modifying
Events admin() returns (address)
changeAdmin(address newAdmin)
implementation() returns (address)
initialize(address _logic, address _admin, bytes _data) payable
initialize(address _logic, bytes _data) payable
upgradeTo(address newImplementation)
upgradeToAndCall(address newImplementation, bytes data) payable
addItem(uint256 itemId, uint256 price, bool isUnlimited, uint256 dailyLimit)
addItems(uint256[] itemIds, uint256[] prices, bool[] isUnlimited, uint256[] dailyLimits)
initialize(address initialOwner, address _treasury, address[] tokens, address[] oracles)
pay(uint256 itemId, address token, uint256 maxAmount, string payload) payable
renounceOwnership()
transferOwnership(address newOwner)
updateDiscount(address token, uint256 itemId, uint256 discount)
updateDiscounts(address[] tokens, uint256[] itemIds, uint256[] discounts)
updateItem(uint256 itemId, uint256 price, bool isUnlimited, uint256 dailyLimit)
updateItems(uint256[] itemIds, uint256[] prices, bool[] isUnlimited, uint256[] dailyLimits)
updateOracle(address token, address oracle)
AdminChanged(address previousAdmin, address newAdmin)
Upgraded(address indexed implementation)
AddItem(uint256 itemId, uint256 price, bool isUnlimited, uint256 dailyLimit)
Initialized(uint64 version)
OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
Pay(address userAddress, uint256 itemId, uint256 price, uint256 refund, string payload, address token, uint256 amount)
UpdateDiscount(address token, uint256 itemId, uint256 discount)
UpdateItem(uint256 itemId, uint256 price, bool isUnlimited, uint256 dailyLimit)
UpdateOracle(address token, address oracle)
This contract contains no constructor objects.
fallback()
AddressEmptyCode(address target)
AddressInsufficientBalance(address account)
FailedInnerCall()
InvalidInitialization()
NotInitializing()
OwnableInvalidOwner(address owner)
OwnableUnauthorizedAccount(address account)
ReentrancyGuardReentrantCall()
SafeERC20FailedOperation(address token)