XYZPresale

Verified contract

Implementation

Active on Ethereum with 0 txns
Deployed by via 0xcc4c0f1f at 20956292
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0

No balances found for "XYZPresale"

No transactions found for "XYZPresale"


Functions
Getter at block 21042023
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
 
xyzPriceInNativeCoin(view returns (uint256)
Read-only
balanceOf(address accountview returns (uint256)
paymentTokensBases(addressview returns (uint256)
State-modifying
creditExternalPurchase(address recipientuint256 purchasedXYZuint128 paidUSDbytes[] paymentDetails
initialize(address nativeCoinPriceFeed_address[] paymentTokens_uint128 xyzPrice_address treasury_address owner_
pause(
purchaseWithNativeCoin(address recipientpayable 
purchaseWithToken(address recipientaddress paymentTokenuint256 paymentAmount
renounceOwnership(
transferOwnership(address newOwner
unpause(
updateTokenStatus(address tokenbool isPaymentToken
updateTreasuryAddress(address newTreasury
updateXYZPrice(uint128 newPrice
Events
ExternallyPurchased(address indexed recipientuint256 purchasedXYZuint128 paidUSDbytes[] paymentDetails
Initialized(uint64 version
OwnershipTransferred(address indexed previousOwneraddress indexed newOwner
Paused(address account
Purchased(address indexed purchaseeraddress indexed recipientaddress indexed paymentTokenuint256 paymentAmountuint256 purchasedXYZuint256 paidUSD
TokenStatusUpdated(address tokenbool isPaymentToken
TreasuryAddressUpdated(address newTreasury
Unpaused(address account
XYZPriceUpdated(uint256 newPrice
Constructor
constructor(
Fallback and receive

This contract contains no fallback and receive objects.

Errors
EnforcedPause(
ExpectedPause(
InsufficientPurchase(
InvalidInitialization(
InvalidPaymentToken(
InvalidPrice(
NoChange(
NotInitializing(
OwnableInvalidOwner(address owner
OwnableUnauthorizedAccount(address account
ZeroDecimalsPaymentToken(