XYZPresale
Verified contract
Implementation
Active on
Ethereum with 0 txns
Storage
Map
Table
Raw
Constants and immutables
6
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 "XYZPresale"
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|
No transactions found for "XYZPresale"
ABI
ABI objects
Getter at block 21042023 xyzPriceInNativeCoin() view returns (uint256)
nativeCoinPriceFeed() view returns (address)
0x0000000000000000000000000000000000000000
owner() view returns (address)
0x0000000000000000000000000000000000000000
paused() view returns (bool)
false
totalCollectedUSD() view returns (uint128)
0
treasury() view returns (address)
0x0000000000000000000000000000000000000000
xyzPrice() view returns (uint128)
0
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)
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()
This contract contains no fallback and receive objects.
EnforcedPause()
ExpectedPause()
InsufficientPurchase()
InvalidInitialization()
InvalidPaymentToken()
InvalidPrice()
NoChange()
NotInitializing()
OwnableInvalidOwner(address owner)
OwnableUnauthorizedAccount(address account)
ZeroDecimalsPaymentToken()