SharedConsumer
Verified contract
Implementation
Active on
Base with 1 txns
Storage
Map
Table
Raw
Constants and immutables
16
Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
-
variable spans 49 additional slots
-
variable spans 49 additional slots
-
variable spans 49 additional slots
-
variable spans 48 additional slots
Balances ($0.00)
No balances found for "SharedConsumer"
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|---|---|---|---|---|---|---|
0x | 7236440 | a year ago | | | 0 | 0.000000020415040920 |
ABI
ABI objects
Getter at block 21786774
adapter() view returns (address)
0xd1a1c06a23cd4f5755ae3e90b8dcc1608c40a58b
getTrialSubscription() view returns (uint64)
0
owner() view returns (address)
0x0000000000000000000000000000000000000000
proxiableUUID() view returns (bytes32)
0x360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc
Read-only
estimateFee(uint8 playType, uint64 subId, bytes params) view returns (uint256 requestFee)
getNonce(uint64 subId) view returns (uint256)
pendingRequests(bytes32) view returns (uint8 playType, bytes param)
userSubIds(address) view returns (uint64)
State-modifying
Events cancelSubscription()
drawTickets(uint32 totalNumber, uint32 winnerNumber, uint64 subId, uint256 seed, uint16 requestConfirmations) payable returns (bytes32 requestId)
initialize()
rawFulfillRandomWords(bytes32 requestId, uint256[] randomWords)
rawFulfillRandomness(bytes32 requestId, uint256 randomness)
rawFulfillShuffledArray(bytes32 requestId, uint256[] shuffledArray)
renounceOwnership()
rollDice(uint32 bunch, uint32 size, uint64 subId, uint256 seed, uint16 requestConfirmations) payable returns (bytes32 requestId)
setTrialSubscription(uint64 _trialSubId)
transferOwnership(address newOwner)
upgradeTo(address newImplementation)
upgradeToAndCall(address newImplementation, bytes data) payable
AdminChanged(address previousAdmin, address newAdmin)
BeaconUpgraded(address indexed beacon)
DrawTicketsRequest(address indexed user, uint64 indexed subId, bytes32 indexed requestId, uint32 totalNumber, uint32 winnerNumber, uint256 paidAmount, uint256 seed, uint16 requestConfirmations)
DrawTicketsResult(bytes32 indexed requestId, uint256[] result)
Initialized(uint8 version)
OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
RollDiceRequest(address indexed user, uint64 indexed subId, bytes32 indexed requestId, uint32 bunch, uint32 size, uint256 paidAmount, uint256 seed, uint16 requestConfirmations)
RollDiceResult(bytes32 indexed requestId, uint256[] result)
Upgraded(address indexed implementation)
constructor(address adapter)
This contract contains no fallback and receive objects.
GasLimitTooBig(uint256 have, uint32 want)
InsufficientFund(uint256 fundAmount, uint256 requiredAmount)
InvalidParameters()
InvalidSubId()