RaffleManager
Verified contract
Active on
Ethereum with 9 txns
Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
-
variable spans 1 additional slot
No balances found for "RaffleManager"
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|---|---|---|---|---|---|---|
| 18837378 | a year ago | | | 0 | 0.0028865941 | |
| 18837373 | a year ago | | | 0 | 0.0029017921 | |
| 18773688 | a year ago | | | 0 | 0.0036602878 | |
| 18765860 | a year ago | | | 0 | 0.0030911765 | |
| 17666328 | a year ago | | | 0 | 0.0015068258 | |
| 15619110 | 2 years ago | | | 0 | 0.0012807186 | |
| 15541658 | 2 years ago | | | 0 | 0.00086322497 | |
| 15453675 | 2 years ago | | | 0 | 0.0020883898 | |
| 15450386 | 2 years ago | | | 0 | 0.00068943322 |
ABI
ABI objects
Getter at block 21413156
DEFAULT_ADMIN_ROLE() view returns (bytes32)
0x0000000000000000000000000000000000000000000000000000000000000000
KMART_CONTRACT_ROLE() view returns (bytes32)
0x4b35b4c4f5ed4bc9ee0be7ce120f2201543aa776f93a3939a69ccca20bf7569b
vrfRequestConfig() view returns (bytes32 keyHash, uint64 subId, uint32 callbackGasLimit, uint16 requestConfirmations)
(keyHash=0x8af398995b04c28e9951adb9721ef74c74f93e6a478f39e7e0777be13527e7ef, subId=859, callbackGasLimit=2500000, requestConfirmations=3)
Read-only
enter(uint256 id, uint32 amount) view
get(uint256 id) view returns (struct IRaffleManagerRaffle)
getRoleAdmin(bytes32 role) view returns (bytes32)
hasRole(bytes32 role, address account) view returns (bool)
isDrawn(uint256 id) view returns (bool)
raffles(uint256) view returns (uint256 seed, uint64 scriptId, uint64 winners, uint64 endsAt)
scripts(uint64) view returns (string)
supportsInterface(bytes4 interfaceId) view returns (bool)
State-modifying
Events create(uint256 id, struct IRaffleManagerCreateRaffle raffle)
draw(uint256 id, bool vrf)
grantRole(bytes32 role, address account)
rawFulfillRandomWords(uint256 requestId, uint256[] randomWords)
renounceRole(bytes32 role, address account)
revokeRole(bytes32 role, address account)
setScript(uint64 id, string uri)
setVrfRequestConfig(struct RaffleManagerVrfRequestConfig _vrfRequestConfig)
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(address vrfCoordinator, address admin)
This contract contains no fallback and receive objects.
OnlyCoordinatorCanFulfill(address have, address want)
RaffleManager_InvalidRaffle()
RaffleManager_InvalidScriptId()
RaffleManager_RaffleAlreadyDrawn()
RaffleManager_RaffleExpired()