PokeTheBear
Verified contract
Active on
Ethereum with 4,076 txns
Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
Balances ($6,018.44)
Native
Value
$3,902.23
Asset | Symbol | Type | Quantity | Price | Value |
---|---|---|---|---|---|
ETH | Native | 1.48752 | $2,623.31 |
$3,902.23 | |
LOOKS | ERC-20 | 47.801488K | $0.044271 |
$2,116.21 |
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|---|---|---|---|---|---|---|
| 19608958 | 6 months ago | | | 0 | 0.0010781995 | |
| 19166110 | 8 months ago | | | 0 | 0.0016364950 | |
| 19059573 | 8 months ago | | | 0 | 0.00084260971 | |
| 19038556 | 8 months ago | | | 0 | 0.0028165854 | |
| 19033527 | 8 months ago | | | 0 | 0.0018250200 | |
| 19033243 | 8 months ago | | | 0.03 | 0.00092720587 | |
| 19033240 | 8 months ago | | | 0.03 | 0.00092938584 | |
| 19033238 | 8 months ago | | | 0.03 | 0.00098399973 | |
| 19030884 | 8 months ago | | | 0 | 0.0017302174 | |
| 19030524 | 8 months ago | | | 0 | 0.0027894387 |
ABI
ABI objects
Getter at block 20817735
DEFAULT_ADMIN_ROLE() view returns (bytes32)
0x0000000000000000000000000000000000000000000000000000000000000000
nextCaveId() view returns (uint256)
10
paused() view returns (bool)
false
protocolFeeRecipient() view returns (address)
0xc8c57e4c73c71f72ca0a7e043e5d2d144f98ef13
Read-only
cancellable(uint256 caveId, uint256 roundId) view returns (bool)
caves(uint256 caveId) view returns (uint256 enterAmount, address enterCurrency, uint40 roundsCount, uint40 lastCommittedRoundId, uint40 roundDuration, uint8 playersPerRound, uint16 protocolFeeBp, bool isActive)
getRoleAdmin(bytes32 role) view returns (bytes32)
getRound(uint256 caveId, uint256 roundId) view returns (uint8 status, uint40 cutoffTime, uint40 drawnAt, bytes32 commitment, bytes32 salt, uint8[32] playerIndices, struct IPokeTheBearPlayer[] players)
hasRole(bytes32 role, address account) view returns (bool)
isPlayerInRound(uint256 caveId, uint256 roundId, address player) view returns (bool)
randomnessRequests(uint256 requestId) view returns (bool exists, uint40 caveId, uint40 roundId, uint256 randomWord)
supportsInterface(bytes4 interfaceId) view returns (bool)
State-modifying
Events addCave(uint256 enterAmount, address enterCurrency, uint8 playersPerRound, uint40 roundDuration, uint16 protocolFeeBp) returns (uint256 caveId)
cancel(uint256 caveId)
cancel(uint256 caveId, uint256 numberOfRounds)
claimPrizes(struct IPokeTheBearWithdrawalCalldata[] claimPrizeCalldataArray)
commit(struct IPokeTheBearCommitmentCalldata[] commitments)
enter(uint256 caveId, uint256 startingRoundId, uint256 numberOfRounds) payable
grantRole(bytes32 role, address account)
rawFulfillRandomWords(uint256 requestId, uint256[] randomWords)
refund(struct IPokeTheBearWithdrawalCalldata[] refundCalldataArray)
removeCave(uint256 caveId)
renounceRole(bytes32 role, address callerConfirmation)
reveal(uint256 requestId, uint256 playerIndices, bytes32 salt)
revokeRole(bytes32 role, address account)
rollover(struct IPokeTheBearRolloverCalldata[] rolloverCalldataArray) payable
togglePaused()
updateProtocolFeeRecipient(address _protocolFeeRecipient)
CaveAdded(uint256 caveId, uint256 enterAmount, address enterCurrency, uint40 roundDuration, uint8 playersPerRound, uint16 protocolFeeBp)
CaveRemoved(uint256 caveId)
CommitmentsSubmitted(struct IPokeTheBearCommitmentCalldata[] commitments)
DepositsRefunded(struct IPokeTheBearWithdrawal[] deposits, address player)
DepositsRolledOver(struct IPokeTheBearRollover[] rollovers, address player)
Paused(address account)
PrizesClaimed(struct IPokeTheBearWithdrawal[] prizes, address player)
ProtocolFeeRecipientUpdated(address protocolFeeRecipient)
RandomnessRequested(uint256 caveId, uint256 roundId, uint256 requestId)
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)
RoundStatusUpdated(uint256 caveId, uint256 roundId, uint8 status)
RoundsCancelled(uint256 caveId, uint256 startingRoundId, uint256 numberOfRounds)
RoundsEntered(uint256 caveId, uint256 startingRoundId, uint256 numberOfRounds, address player)
Unpaused(address account)
constructor(address _owner, address _operator, address _protocolFeeRecipient, address wrappedNativeToken, address _transferManager, bytes32 keyHash, address vrfCoordinator, uint64 subscriptionId)
This contract contains no fallback and receive objects.
AccessControlBadConfirmation()
AccessControlUnauthorizedAccount(address account, bytes32 neededRole)
CommitmentNotAvailable()
ERC20TransferFail()
ExceedsMaximumNumberOfPlayersPerRound()
HashedPlayerIndicesDoesNotMatchCommitment()
InactiveCave()
IndivisibleEnterAmount()
IneligibleToWithdraw(uint256 caveId, uint256 roundId)
InsufficientNumberOfPlayers()
InvalidCommitment(uint256 caveId, uint256 roundId)
InvalidEnterAmount()
InvalidEnterCurrency()
InvalidPlayerDetails()
InvalidPlayerIndex(uint256 caveId, uint256 roundId)
InvalidRoundDuration()
InvalidRoundParameters()
InvalidRoundStatus()
InvalidValue()
IsPaused()
NotAContract()
NotCancellable()
NotOperator()
NotOwner()
NotPaused()
OnlyCoordinatorCanFulfill(address have, address want)
PlayerAlreadyParticipated(uint256 caveId, uint256 roundId, address player)
ProtocolFeeBasisPointsTooHigh()
RandomnessRequestAlreadyExists()
ReentrancyFail()
RepeatingPlayerIndex()
RoundCannotBeEntered(uint256 caveId, uint256 roundId)
RoundsIncomplete()