PanzRaffle

Verified contract

Active on Ethereum with 6,840 txns
Deployed by via 0x08f05142 at 16789337
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
-
variable spans 2 additional slots
 (#7702)
ERC-721
--
 (#4069)
ERC-721
--
0x3ad31f1e1dd5d7db351c13ce3c674b69efabfd5118ef34aaa178906c68c9f8c5
0x97cce7f33095b2eb314951ed0883dc4310cf8870e636b6c86f8e198e2cd7cd43
0xb90506ba0ff0f0ceeaa0908b32a8383fdac7de93cb4a5ecbb4497e31f44e032a
0x7c5df4e73dc5736f7a9dc37c4ae4e871d2b4384b527583632fe25b13eab3b2ef
0x54f5e8918da249eaa0e9458c88b1c6d832b433309ae66b7c8d4769bd057b1261
0x83330d45dcf476964bc45c1d95cebc27903dc71902a061fbac0b374e0780f564
0x08d28e93ae73f8fbf41403f5e258a3e224ec9291c568321ef416ca84b6173713
0x427620f3ab2b34559809a2d6522306b525656055e68a0c55afe239e697293aff
0x2e916d7322d506f45b150f9c5a980515509ff2c064798ac9b84c0d06ce1405c5
0x0b431aaa2ac2bf50b9136c7c1914634569ab521b2d5920a20a5bcdc0588fce60

Functions
Getter at block 20852984
DEFAULT_ADMIN_ROLE(view returns (bytes32)
0x0000000000000000000000000000000000000000000000000000000000000000
config(view returns (uint64 subIduint64 raffleIndexuint32 vrfGasLimituint16 vrfConfirmsuint16 maxSupplyuint32 maxDurationaddress platformFeeReceiveruint32 platformFeebytes32 keyHash)
(subId=677, raffleIndex=405, vrfGasLimit=200000, vrfConfirms=5, maxSupply=10000, maxDuration=2592000, platformFeeReceiver=0x846721b6048a1edf774dccd249465beef53d2d3b, platformFee=300, keyHash=0x8af398995b04c28e9951adb9721ef74c74f93e6a478f39e7e0777be13527e7ef)
owner(view returns (address)
0x846721b6048a1edf774dccd249465beef53d2d3b
Read-only
calRandomWinner(uint64 _raffleIduint256 _randomIndexview returns (address)
entriesMap(uint64uint256view returns (address owneruint16 currentIndexuint16 entryNumuint32 ticketId)
getEntriesBought(uint64 _raffleIdview returns (struct EntriesBought[])
getRoleAdmin(bytes32 roleview returns (bytes32)
hasRole(bytes32 roleaddress accountview returns (bool)
raffleMap(uint64view returns (address nftAddressuint32 nftIduint32 expirationTimeuint16 totalSupplyuint16 currentSupplyaddress creatoruint32 priceuint16 randomIndexbool settleduint8 statusaddress holder_1address holder_2address holder_3)
randomRaffleMap(uint256view returns (uint64)
supportsInterface(bytes4 interfaceIdview returns (bool)
State-modifying
acceptOwnership(
buyEntry(uint64 _raffleIduint16 _qtypayable 
cancelRaffle(uint64 _raffleId
createRaffle(address _nftAddressuint32 _nftIduint32 _priceuint32 _expirationTimeuint16 _totalSupplyaddress[] _holderArrayreturns (uint64)
creatorClaim(uint64 _raffleIdstruct ClaimData _claimData
draw(uint64 _raffleId
grantRole(bytes32 roleaddress account
presentEntry(uint64 _raffleIduint16 _qtyaddress _receiptAddresspayable 
rawFulfillRandomWords(uint256 requestIduint256[] randomWords
renounceRole(bytes32 roleaddress account
revokeRole(bytes32 roleaddress account
setChainlink(uint64 _subIdbytes32 _keyHashuint32 _vrfGasLimituint16 _vrfConfirms
setMaximum(uint32 _maxDurationuint16 _maxSupply
setPlatformFee(uint32 _feeaddress _feeReceiver
transferOwnership(address to
winnerClaim(uint64 _raffleId
Events
ConfigChanged(uint32 _feeaddress _feeReceiver
OwnershipTransferRequested(address indexed fromaddress indexed to
OwnershipTransferred(address indexed fromaddress indexed to
RaffleClaim(uint64 indexed _raffleIdaddress indexed _useruint8 _type
RaffleCreate(uint64 indexed _raffleIdaddress indexed _nftAddressuint32 indexed _nftId
RaffleSold(uint64 indexed _raffleIduint32 indexed _ticketIdaddress indexed _owner
RaffleStatus(uint64 indexed _raffleIduint8 indexed status
RoleAdminChanged(bytes32 indexed rolebytes32 indexed previousAdminRolebytes32 indexed newAdminRole
RoleGranted(bytes32 indexed roleaddress indexed accountaddress indexed sender
RoleRevoked(bytes32 indexed roleaddress indexed accountaddress indexed sender
Constructor
constructor(uint64 _subIdaddress _vrfCoordinatorbytes32 _keyHash
Fallback and receive

This contract contains no fallback and receive objects.

Errors
OnlyCoordinatorCanFulfill(address haveaddress want