TransparentUpgradeableProxy
Verified contract
Proxy
Active on
Ethereum with 5,027 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
0x5f4e…8419
Balances ($0.00)
No balances found for "TransparentUpgradeableProxy"
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|---|---|---|---|---|---|---|
| 21275858 | 3 minutes ago | | | 0.005 | 0.00082835427 | |
| 21275857 | 3 minutes ago | | | 0.002001 | 0.0010929557 | |
| 21275857 | 3 minutes ago | | | 0.021 | 0.0010929557 | |
| 21275827 | 9 minutes ago | | | 0.0075 | 0.00098541715 | |
| 21275824 | 10 minutes ago | | | 0.0065 | 0.00063913482 | |
| 21275694 | 36 minutes ago | | | 0.101 | 0.00099361972 | |
| 21275625 | an hour ago | | | 0.060325 | 0.0011406021 | |
| 21275607 | an hour ago | | | 0.017 | 0.0010368154 | |
| 21275521 | an hour ago | | | 0.0046 | 0.0012780382 | |
| 21275443 | an hour ago | | | 0 | 0.0010967307 |
ABI
ABI objects
Getter at block 21275869
nativeCoinPriceFeed() view returns (address)
0x5f4ec3df9cbd43714fe2740f5e3616155c5b8419
owner() view returns (address)
0x7bcfe7cbfbe5186e77fe4cea98c2f5d3f4f4bbbf
paused() view returns (bool)
false
totalCollectedUSD() view returns (uint128)
1124479666914
treasury() view returns (address)
0x5cac5c3cc4166e28bb8f5e1853903483e12f2fd3
xyzPrice() view returns (uint128)
667
xyzPriceInNativeCoin() view returns (uint256)
200052215367
Read-only
balanceOf(address account) view returns (uint256)
paymentTokensBases(address) view returns (uint256)
State-modifying
Events creditExternalPurchase(address recipient, uint256 purchasedXYZ, uint128 paidUSD, bytes[] paymentDetails)
initialize(address nativeCoinPriceFeed_, address[] paymentTokens_, uint128 xyzPrice_, address treasury_, address owner_)
pause()
purchaseWithNativeCoin(address recipient) payable
purchaseWithToken(address recipient, address paymentToken, uint256 paymentAmount)
renounceOwnership()
transferOwnership(address newOwner)
unpause()
updateTokenStatus(address token, bool isPaymentToken)
updateTreasuryAddress(address newTreasury)
updateXYZPrice(uint128 newPrice)
AdminChanged(address previousAdmin, address newAdmin)
Upgraded(address indexed implementation)
ExternallyPurchased(address indexed recipient, uint256 purchasedXYZ, uint128 paidUSD, bytes[] paymentDetails)
Initialized(uint64 version)
OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
Paused(address account)
Purchased(address indexed purchaseer, address indexed recipient, address indexed paymentToken, uint256 paymentAmount, uint256 purchasedXYZ, uint256 paidUSD)
TokenStatusUpdated(address token, bool isPaymentToken)
TreasuryAddressUpdated(address newTreasury)
Unpaused(address account)
XYZPriceUpdated(uint256 newPrice)
constructor(address _logic, address initialOwner, bytes _data)
fallback()
AddressEmptyCode(address target)
ERC1967InvalidAdmin(address admin)
ERC1967InvalidImplementation(address implementation)
ERC1967NonPayable()
FailedInnerCall()
ProxyDeniedAdminAccess()
EnforcedPause()
ExpectedPause()
InsufficientPurchase()
InvalidInitialization()
InvalidPaymentToken()
InvalidPrice()
NoChange()
NotInitializing()
OwnableInvalidOwner(address owner)
OwnableUnauthorizedAccount(address account)
ZeroDecimalsPaymentToken()