BearCave
Verified contract
Active on
Ethereum with 6,440 txns
Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
0x64aa…f1d5
0x495f…7b5e
-
variable spans 2 additional slots
0x67ed…7eca
0x2554…0c34
0x10b2…71c4
0xcb04…9244
1 additional
variable
Balances ($0.00)
No balances found for "BearCave"
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|---|---|---|---|---|---|---|
| 16853875 | 2 years ago | | | 0 | 0.0017936660 | |
| 16852929 | 2 years ago | | | 0 | 0.0054794734 | |
| 16852917 | 2 years ago | | | 0 | 0.0010568381 | |
| 16852914 | 2 years ago | | | 0 | 0.0011602713 | |
| 16852893 | 2 years ago | | | 0 | 0.023689291 | |
| 16852852 | 2 years ago | | | 0 | 0.0030345705 | |
| 16852832 | 2 years ago | | | 0 | 0.0027332071 | |
| 16852808 | 2 years ago | | | 0 | 0.0030537043 | |
| 16852804 | 2 years ago | | | 0 | 0.068571676 | |
| 16852803 | 2 years ago | | | 0 | 0.0029103009 |
ABI
ABI objects
Getter at block 21206746
distributeWithMint() view returns (bool)
true
erc1155() view returns (address)
0x495f947276749ce646f68ac8c248420045cb7b5e
gameRegistry() view returns (address)
0x21fdb00713c74147c2bb629de13531ab51a94b8b
gatekeeper() view returns (address)
0x10b27a31aa4d7544f89898ccaf3faf776f5671c4
honeyCombShare() view returns (uint256)
223300000000000000
honeycomb() view returns (address)
0xcb0477d1af5b8b05795d89d59f4667b59eae9244
initialized() view returns (bool)
true
mintConfig() view returns (uint32 maxHoneycomb, uint32 maxClaimableHoneycomb, uint256 honeycombPrice_ERC20, uint256 honeycombPrice_ETH)
(maxHoneycomb=16420, maxClaimableHoneycomb=6420, honeycombPrice_ERC20=9900000000, honeycombPrice_ETH=99000000000000000)
paymentToken() view returns (address)
0x64aa3364f17a4d01c6f1751fd97c2bd3d7e7f1d5
publicMintingTime() view returns (uint256)
0
totalERC20Fees() view returns (uint256)
0
totalETHfees() view returns (uint256)
0
Read-only
bears(uint256) view returns (uint256 id, uint256 specialHoneycombId, uint256 publicMintTime, bool specialHoneycombFound, bool isAwake)
claimed(uint256) view returns (uint32)
getBear(uint256 _bearId) view returns (struct IBearCaveHibernatingBear)
honeyJar(uint256, uint256) view returns (uint256)
honeycombToBear(uint256) view returns (uint256)
rng(uint256) view returns (uint256)
State-modifying
Events claim(uint256 bearId_, uint32 gateId, uint32 amount, bytes32[] proof)
claimAll(uint256 bearId_, uint32[] gateId, uint32[] amount, bytes32[][] proof)
earlyMekHoneyCombWithERC20(uint256 bearId, uint32 gateId, uint32 proofAmount, bytes32[] proof, uint256 mintAmount) returns (uint256)
earlyMekHoneyCombWithEth(uint256 bearId, uint32 gateId, uint32 proofAmount, bytes32[] proof, uint256 mintAmount) payable returns (uint256)
forceHoneycombSearch(uint256 bearId_)
hibernateBear(uint256 _bearId)
initialize(bytes32 keyhash_, uint64 subId_, struct IBearCaveMintConfig mintConfig_)
mekHoneyCombWithERC20(uint256 bearId_, uint256 amount_) returns (uint256)
mekHoneyCombWithEth(uint256 bearId_, uint256 amount_) payable returns (uint256)
onERC1155BatchReceived(address, address, uint256[], uint256[], bytes) returns (bytes4)
onERC1155Received(address, address, uint256, uint256, bytes) returns (bytes4)
rawFulfillRandomWords(uint256 requestId, uint256[] randomWords)
setBeeKeeper(address beekeeper_)
setDistributeWithMint(bool distributeWithMint_)
setHoneyCombPrice_ERC20(uint256 _honeyCombPrice)
setHoneyCombPrice_ETH(uint256 _honeyCombPrice)
setJani(address jani_)
setKeyHash(bytes32 keyHash_)
setMaxHoneycomb(uint32 _maxHoneycomb)
setSubId(uint64 subId_)
wakeBear(uint256 _bearId)
withdrawERC20() returns (uint256)
withdrawETH() returns (uint256)
BearAwoke(uint256 tokenId, address player)
BearHibernated(uint256 tokenId)
HoneycombClaimed(uint256 tokenId, address player, uint256 amount)
Initialized(struct IBearCaveMintConfig mintConfig)
MintConfigChanged(struct IBearCaveMintConfig mintConfig)
SpecialHoneyCombFound(uint256 tokenId, uint256 honeyCombId)
constructor(address _vrfCoordinator, address _gameRegistry, address _honeycombAddress, address _erc1155Address, address _paymentToken, address _gatekeeper, uint256 _honeyCombShare)
This contract contains no fallback and receive objects.
AlreadyInitialized()
AlreadyTooManyHoneyCombs(uint256 bearId)
BearAlreadyWoke(uint256 bearId)
Claim_IncorrectInput()
Claim_InvalidProof()
GameInProgress()
GameRegistry_NoPermissions(string role, address user)
GameRegistry_StageOutOfBounds(uint8 index)
GeneralMintNotOpen(uint256 bearId)
MekingTooManyHoneyCombs(uint256 bearId)
NotEnoughHoneyCombMinted(uint256 bearId)
NotInitialized()
NotOwnerOfSpecialHoneyComb(uint256 bearId, uint256 honeycombId)
OnlyCoordinatorCanFulfill(address have, address want)
SpecialHoneyCombNotFound(uint256 bearId)