RaffleManager

Verified contract

Active on Ethereum with 9 txns
Deployed by via 0xbd3362b0 at 15450269
Slot
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"

0x1534f6a1e1a5db5bf63175379686108fe9905120dcba018d7c2a4832c4b35f78
0x82907ae58b3a5afe1f6ebf5d690251a60eee0f23c03998f44c7c9605c95373b7
0x2262b0618adfd341058f1d34249d6cf4c5ff051abfa5522f6af597aac5dd9604
0xf99f8d7ee97bb4f04c965b4783c4be21f8572a28167f2f5305c9c4f8ee62a9ed
0x5bf92ad7cd1c19afcb7e17030618442ab4c7f5dc9d99c296c9b9e42a107c412f
0xd07c6cff5086ac6060965e46f494bb4c7a55c72a0fb8ab3539f197a648c2c5f5
0xd1046d0e30dfa787e2b1124c79187036cb6363fd9a87062c7ebc4a0af6fc2229
0x6816475f6bb409f415134f957f814dba0195816147d90c18cfdad77bc13ad18e
0x124a47a2cd635ac7ec872eb47ccb329b538d7bfe1f1be87128fccc5a0fcfa01b

Functions
Getter at block 21413156
DEFAULT_ADMIN_ROLE(view returns (bytes32)
0x0000000000000000000000000000000000000000000000000000000000000000
KMART_CONTRACT_ROLE(view returns (bytes32)
0x4b35b4c4f5ed4bc9ee0be7ce120f2201543aa776f93a3939a69ccca20bf7569b
vrfRequestConfig(view returns (bytes32 keyHashuint64 subIduint32 callbackGasLimituint16 requestConfirmations)
(keyHash=0x8af398995b04c28e9951adb9721ef74c74f93e6a478f39e7e0777be13527e7ef, subId=859, callbackGasLimit=2500000, requestConfirmations=3)
Read-only
enter(uint256 iduint32 amountview 
get(uint256 idview returns (struct IRaffleManagerRaffle)
getRoleAdmin(bytes32 roleview returns (bytes32)
hasRole(bytes32 roleaddress accountview returns (bool)
isDrawn(uint256 idview returns (bool)
raffles(uint256view returns (uint256 seeduint64 scriptIduint64 winnersuint64 endsAt)
scripts(uint64view returns (string)
supportsInterface(bytes4 interfaceIdview returns (bool)
State-modifying
create(uint256 idstruct IRaffleManagerCreateRaffle raffle
draw(uint256 idbool vrf
grantRole(bytes32 roleaddress account
rawFulfillRandomWords(uint256 requestIduint256[] randomWords
renounceRole(bytes32 roleaddress account
revokeRole(bytes32 roleaddress account
setScript(uint64 idstring uri
setVrfRequestConfig(struct RaffleManagerVrfRequestConfig _vrfRequestConfig
Events
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(address vrfCoordinatoraddress admin
Fallback and receive

This contract contains no fallback and receive objects.

Errors
OnlyCoordinatorCanFulfill(address haveaddress want
RaffleManager_InvalidRaffle(
RaffleManager_InvalidScriptId(
RaffleManager_RaffleAlreadyDrawn(
RaffleManager_RaffleExpired(