RGZSale

Verified contract

Implementation

Active on Ethereum with 0 txns
Deployed by via 0x3d1abb82 at 21093345
Slot
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

No balances found for "RGZSale"

No transactions found for "RGZSale"


Functions
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 userview returns (uint256 rngResultId)
getRoleAdmin(bytes32 roleview returns (bytes32)
getUserGuaranteedMintInfo(address userview returns (struct RGZSaleGuaranteedMintUserInfo)
getUserRaffleInfo(address userview returns (struct RGZSaleRaffleUserInfo)
hasRole(bytes32 roleaddress accountview returns (bool)
revokedNftPurchase(bytes32view returns (bool)
supportsInterface(bytes4 interfaceIdview returns (bool)
State-modifying
airdropToGenesisUsers(struct RGZSaleAirdropParam[] param
airdropToPrivateSales(struct RGZSaleAirdropParam[] param
buyNft(uint256 nftAmountpayable 
buyNftInGuaranteedMint(bytes32[] proofuint256 eligibleNftAmountuint256 toMintNftAmountpayable 
claimFromGuaranteedMintAndRaffle(struct RGZSaleClaimFromRaffleParam param
claimFromRaffle(struct RGZSaleClaimFromRaffleParam param
claimNftFromGuaranteedMint(
closeRaffle(
grantRole(bytes32 roleaddress account
initialize(address _rgzaddress _treasury
joinRaffle(bytes32[] proofuint256 eligibleNftAmountuint256 toMintNftAmountpayable 
pause(
renounceRole(bytes32 roleaddress callerConfirmation
revokeRole(bytes32 roleaddress account
setGuaranteedMintAndRafflePhaseClaimable(bool startNowuint256 startLaterTimeuint256 closeTime
setGuaranteedMintPhaseTime(bool startNowuint256 startLaterTimeuint256 closeTime
setPublicSalePhaseTime(bool startNowuint256 startLaterTimeuint256 closeTime
setRGZ(address _rgz
setRngResultList(bytes32 _rngResultRoot
setTreasuryAddress(address _treasury
setWhitelist(bytes32 _root
startRaffle(uint32 startTimeuint32 duration
transferRemainingNftsToPublicSale(
transferUnclaimedGTDToTreasury(address[] userAddress
transferUnclaimedRaffleToTreasury(struct RGZSaleTransferUnclaimedRaffleToTreasuryParam[] param
unpause(
Events
AirdropToGenesisUser(address indexed useruint256 nftAmount
AirdropToPrivateSaleUser(address indexed useruint256 nftAmount
BuyNFT(address indexed useruint256 nftAmount
BuyNFTForGuaranteedMint(address indexed useruint256 nftAmount
ClaimNftFromGuaranteedMint(address indexed useruint256 nftAmount
Initialized(uint64 version
Paused(address account
RaffleClosed(uint256 endTimeuint256 closeTimeuint256 rngDrawn
RaffleOpened(uint256 startTimeuint256 endTimeuint256 duration
RaffleRevealed(
RaffleUserClaimedNFT(address indexed userbool isWinneruint256 refundedFeeuint256 mintedNftAmount
RaffleUserJoined(address indexed useruint256 userPositionuint256 nftAmount
RngResultListUpdated(bytes32 oldRngResultbytes32 newRngResult
RoleAdminChanged(bytes32 indexed rolebytes32 indexed previousAdminRolebytes32 indexed newAdminRole
RoleGranted(bytes32 indexed roleaddress indexed accountaddress indexed sender
RoleRevoked(bytes32 indexed roleaddress indexed accountaddress indexed sender
SetFromGenesisAirdropToPrivateSale(uint8 currentStageGroup
SetFromGuaranteedMintToWhitelistSale(uint8 currentStageGroupuint256 remainingSupply_privateSaleAirdropuint256 newMaxSupply_whitelistSaleAirdrop
SetFromPrivateSaleToGuaranteedMint(uint8 currentStageGroupuint256 remainingSupply_privateSaleAirdrop
SetFromWhitelistSaleToPublicSale(uint8 currentStageGroupuint256 remainingSupply_whitelistSaleAirdropuint256 remainingSupply_guaranteedMintuint256 newMaxSupply_publicSale
TransferUnclaimedNftAndETHToTreasury(uint8 saleGroupuint256 totalClaimedETHuint256 totalClaimedNfts
Unpaused(address account
WhitelistUpdated(bytes32 oldRootbytes32 newRoot
Constructor
constructor(
Fallback and receive

This contract contains no fallback and receive objects.

Errors
AccessControlBadConfirmation(
AccessControlUnauthorizedAccount(address accountbytes32 neededRole
EnforcedPause(
ExpectedPause(
FailedToSendEther(uint256 amountToTransfer
IncorrectFee(uint256 expectedFeeuint256 givenFee
InvalidInitialization(
InvalidNftAmountInput(uint256 givenNftAmount
InvalidWhitelistProof(bytes32[] proofbytes32 rootbytes32 leaf
MintNftAmountExceedAllowance(uint8 saleGroupuint256 allowanceuint256 givenAmount
MintNftAmountExceedSupply(uint8 saleGroupuint256 remainingSupplyuint256 toMintNftAmount
NotInitializing(
RaffleAlreadyRevealed(uint8 currentRaffleStatus
RaffleCanCloseAt(uint256 closeRoundStartTimeuint256 currentTime
RaffleInvalidRngProof(bytes32[] proofbytes32 rootbytes32 leaf
RaffleInvalidRngResultId(uint256 expectedRngResultIduint256 givenRngResultId
RaffleInvalidStatus(uint8 expecteduint8 actual
RaffleIsClosed(uint8 currentRaffleStatusuint256 startTimeuint256 endTime
RaffleIsOpened(uint8 currentRaffleStatusuint256 startTimeuint256 endTime
RaffleRngNotDrawn(uint256 rngDrawn
RaffleRngResultNotSet(bytes32 rngResult
RaffleUserAlreadyJoined(uint256 userPosition
RaffleUserCantClaimNft(address useruint256 expectedIsWinneruint256 givenIsWinner
ReentrancyGuardReentrantCall(
SaleGroupClaimableNotEnded(uint8 saleGroupuint256 startTimeuint256 closeTime
SaleGroupNotClaimable(uint8 saleGroupuint256 startTimeuint256 closeTime
SaleGroupNotOpened(uint8 saleGroupuint256 openTimeuint256 closeTime
UserNotJoined(address useruint8 saleGroup
UserRevoked(address useruint8 saleGroup