RGZSale
Verified contract
Implementation
Active on
Ethereum with 0 txns
Storage
Map
Table
Raw
Constants and immutables
8
Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
-
variable spans 1 additional slot
-
variable spans 1 additional slot
Balances ($0.00)
No balances found for "RGZSale"
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|
No transactions found for "RGZSale"
ABI
ABI objects
Getter at block 21097881
ADMIN_ROLE() view returns (bytes32)
0xa49807205ce4d355092ef5a8a18f56e8913cf4a201fbe287825b095693c21775
DEFAULT_ADMIN_ROLE() view returns (bytes32)
0x0000000000000000000000000000000000000000000000000000000000000000
getMaxNftSupplyClaimableForRaffle() view returns (uint256)
0
getRaffleInfo() view returns (struct RGZSaleRaffleInfo)
(0, 0, 0, 0, 0, 0, 0, 0, 0x0000000000000000000000000000000000000000000000000000000000000000)
getSaleInfo() view returns (struct RGZSaleSaleInfo)
(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0)
paused() view returns (bool)
false
rgz() view returns (address)
0x0000000000000000000000000000000000000000
root() view returns (bytes32)
0x0000000000000000000000000000000000000000000000000000000000000000
treasury() view returns (address)
0x0000000000000000000000000000000000000000
Read-only
getRngResultIdForUser(address user) view returns (uint256 rngResultId)
getRoleAdmin(bytes32 role) view returns (bytes32)
getUserGuaranteedMintInfo(address user) view returns (struct RGZSaleGuaranteedMintUserInfo)
getUserRaffleInfo(address user) view returns (struct RGZSaleRaffleUserInfo)
hasRole(bytes32 role, address account) view returns (bool)
revokedNftPurchase(bytes32) view returns (bool)
supportsInterface(bytes4 interfaceId) view returns (bool)
State-modifying
Events airdropToGenesisUsers(struct RGZSaleAirdropParam[] param)
airdropToPrivateSales(struct RGZSaleAirdropParam[] param)
buyNft(uint256 nftAmount) payable
buyNftInGuaranteedMint(bytes32[] proof, uint256 eligibleNftAmount, uint256 toMintNftAmount) payable
claimFromGuaranteedMintAndRaffle(struct RGZSaleClaimFromRaffleParam param)
claimFromRaffle(struct RGZSaleClaimFromRaffleParam param)
claimNftFromGuaranteedMint()
closeRaffle()
grantRole(bytes32 role, address account)
initialize(address _rgz, address _treasury)
joinRaffle(bytes32[] proof, uint256 eligibleNftAmount, uint256 toMintNftAmount) payable
pause()
renounceRole(bytes32 role, address callerConfirmation)
revokeRole(bytes32 role, address account)
setGuaranteedMintAndRafflePhaseClaimable(bool startNow, uint256 startLaterTime, uint256 closeTime)
setGuaranteedMintPhaseTime(bool startNow, uint256 startLaterTime, uint256 closeTime)
setPublicSalePhaseTime(bool startNow, uint256 startLaterTime, uint256 closeTime)
setRGZ(address _rgz)
setRngResultList(bytes32 _rngResultRoot)
setTreasuryAddress(address _treasury)
setWhitelist(bytes32 _root)
startRaffle(uint32 startTime, uint32 duration)
transferRemainingNftsToPublicSale()
transferUnclaimedGTDToTreasury(address[] userAddress)
transferUnclaimedRaffleToTreasury(struct RGZSaleTransferUnclaimedRaffleToTreasuryParam[] param)
unpause()
AirdropToGenesisUser(address indexed user, uint256 nftAmount)
AirdropToPrivateSaleUser(address indexed user, uint256 nftAmount)
BuyNFT(address indexed user, uint256 nftAmount)
BuyNFTForGuaranteedMint(address indexed user, uint256 nftAmount)
ClaimNftFromGuaranteedMint(address indexed user, uint256 nftAmount)
Initialized(uint64 version)
Paused(address account)
RaffleClosed(uint256 endTime, uint256 closeTime, uint256 rngDrawn)
RaffleOpened(uint256 startTime, uint256 endTime, uint256 duration)
RaffleRevealed()
RaffleUserClaimedNFT(address indexed user, bool isWinner, uint256 refundedFee, uint256 mintedNftAmount)
RaffleUserJoined(address indexed user, uint256 userPosition, uint256 nftAmount)
RngResultListUpdated(bytes32 oldRngResult, bytes32 newRngResult)
RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole)
RoleGranted(bytes32 indexed role, address indexed account, address indexed sender)
RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender)
SetFromGenesisAirdropToPrivateSale(uint8 currentStageGroup)
SetFromGuaranteedMintToWhitelistSale(uint8 currentStageGroup, uint256 remainingSupply_privateSaleAirdrop, uint256 newMaxSupply_whitelistSaleAirdrop)
SetFromPrivateSaleToGuaranteedMint(uint8 currentStageGroup, uint256 remainingSupply_privateSaleAirdrop)
SetFromWhitelistSaleToPublicSale(uint8 currentStageGroup, uint256 remainingSupply_whitelistSaleAirdrop, uint256 remainingSupply_guaranteedMint, uint256 newMaxSupply_publicSale)
TransferUnclaimedNftAndETHToTreasury(uint8 saleGroup, uint256 totalClaimedETH, uint256 totalClaimedNfts)
Unpaused(address account)
WhitelistUpdated(bytes32 oldRoot, bytes32 newRoot)
constructor()
This contract contains no fallback and receive objects.
AccessControlBadConfirmation()
AccessControlUnauthorizedAccount(address account, bytes32 neededRole)
EnforcedPause()
ExpectedPause()
FailedToSendEther(uint256 amountToTransfer)
IncorrectFee(uint256 expectedFee, uint256 givenFee)
InvalidInitialization()
InvalidNftAmountInput(uint256 givenNftAmount)
InvalidWhitelistProof(bytes32[] proof, bytes32 root, bytes32 leaf)
MintNftAmountExceedAllowance(uint8 saleGroup, uint256 allowance, uint256 givenAmount)
MintNftAmountExceedSupply(uint8 saleGroup, uint256 remainingSupply, uint256 toMintNftAmount)
NotInitializing()
RaffleAlreadyRevealed(uint8 currentRaffleStatus)
RaffleCanCloseAt(uint256 closeRoundStartTime, uint256 currentTime)
RaffleInvalidRngProof(bytes32[] proof, bytes32 root, bytes32 leaf)
RaffleInvalidRngResultId(uint256 expectedRngResultId, uint256 givenRngResultId)
RaffleInvalidStatus(uint8 expected, uint8 actual)
RaffleIsClosed(uint8 currentRaffleStatus, uint256 startTime, uint256 endTime)
RaffleIsOpened(uint8 currentRaffleStatus, uint256 startTime, uint256 endTime)
RaffleRngNotDrawn(uint256 rngDrawn)
RaffleRngResultNotSet(bytes32 rngResult)
RaffleUserAlreadyJoined(uint256 userPosition)
RaffleUserCantClaimNft(address user, uint256 expectedIsWinner, uint256 givenIsWinner)
ReentrancyGuardReentrantCall()
SaleGroupClaimableNotEnded(uint8 saleGroup, uint256 startTime, uint256 closeTime)
SaleGroupNotClaimable(uint8 saleGroup, uint256 startTime, uint256 closeTime)
SaleGroupNotOpened(uint8 saleGroup, uint256 openTime, uint256 closeTime)
UserNotJoined(address user, uint8 saleGroup)
UserRevoked(address user, uint8 saleGroup)