PanzRaffle
Verified contract
Active on
Ethereum with 6,840 txns
Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
-
variable spans 2 additional slots
Balances ($0.00)
Asset | Symbol | Type | Quantity | Price | Value |
---|---|---|---|---|---|
DOODLE | ERC-721 | 1 | -- | -- | |
ELEM | ERC-721 | 1 | -- | -- |
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|---|---|---|---|---|---|---|
| 18588745 | a year ago | | | 0 | 0.0016985179 | |
| 18585718 | a year ago | | | 0 | 0.0062135520 | |
| 18582470 | a year ago | | | 0 | 0.0028266419 | |
| 18582387 | a year ago | | | 0.006 | 0.0018633107 | |
| 18582119 | a year ago | | | 0.006 | 0.0023499096 | |
| 18581579 | a year ago | | | 0.012 | 0.0027591846 | |
| 18581110 | a year ago | | | 0.039 | 0.0026463853 | |
| 18575760 | a year ago | | | 0.018 | 0.0025582729 | |
| 18575224 | a year ago | | | 0.006 | 0.0020048798 | |
| 18572888 | a year ago | | | 0.012 | 0.0027735679 |
ABI
ABI objects
Getter at block 21268381
DEFAULT_ADMIN_ROLE() view returns (bytes32)
0x0000000000000000000000000000000000000000000000000000000000000000
config() view returns (uint64 subId, uint64 raffleIndex, uint32 vrfGasLimit, uint16 vrfConfirms, uint16 maxSupply, uint32 maxDuration, address platformFeeReceiver, uint32 platformFee, bytes32 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 _raffleId, uint256 _randomIndex) view returns (address)
entriesMap(uint64, uint256) view returns (address owner, uint16 currentIndex, uint16 entryNum, uint32 ticketId)
getEntriesBought(uint64 _raffleId) view returns (struct EntriesBought[])
getRoleAdmin(bytes32 role) view returns (bytes32)
hasRole(bytes32 role, address account) view returns (bool)
raffleMap(uint64) view returns (address nftAddress, uint32 nftId, uint32 expirationTime, uint16 totalSupply, uint16 currentSupply, address creator, uint32 price, uint16 randomIndex, bool settled, uint8 status, address holder_1, address holder_2, address holder_3)
randomRaffleMap(uint256) view returns (uint64)
supportsInterface(bytes4 interfaceId) view returns (bool)
State-modifying
Events acceptOwnership()
buyEntry(uint64 _raffleId, uint16 _qty) payable
cancelRaffle(uint64 _raffleId)
createRaffle(address _nftAddress, uint32 _nftId, uint32 _price, uint32 _expirationTime, uint16 _totalSupply, address[] _holderArray) returns (uint64)
creatorClaim(uint64 _raffleId, struct ClaimData _claimData)
draw(uint64 _raffleId)
grantRole(bytes32 role, address account)
presentEntry(uint64 _raffleId, uint16 _qty, address _receiptAddress) payable
rawFulfillRandomWords(uint256 requestId, uint256[] randomWords)
renounceRole(bytes32 role, address account)
revokeRole(bytes32 role, address account)
setChainlink(uint64 _subId, bytes32 _keyHash, uint32 _vrfGasLimit, uint16 _vrfConfirms)
setMaximum(uint32 _maxDuration, uint16 _maxSupply)
setPlatformFee(uint32 _fee, address _feeReceiver)
transferOwnership(address to)
winnerClaim(uint64 _raffleId)
ConfigChanged(uint32 _fee, address _feeReceiver)
OwnershipTransferRequested(address indexed from, address indexed to)
OwnershipTransferred(address indexed from, address indexed to)
RaffleClaim(uint64 indexed _raffleId, address indexed _user, uint8 _type)
RaffleCreate(uint64 indexed _raffleId, address indexed _nftAddress, uint32 indexed _nftId)
RaffleSold(uint64 indexed _raffleId, uint32 indexed _ticketId, address indexed _owner)
RaffleStatus(uint64 indexed _raffleId, uint8 indexed status)
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)
constructor(uint64 _subId, address _vrfCoordinator, bytes32 _keyHash)
This contract contains no fallback and receive objects.
OnlyCoordinatorCanFulfill(address have, address want)