BearCave

Verified contract

Active on Ethereum with 6,440 txns
Deployed by via 0x39e0b0f0 at 16751439
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
-
variable spans 2 additional slots
1 additional variable

No balances found for "BearCave"

0xbc20edc1c96120e815a1bc78e230811f06fd5f62ca856280bd93ee5f872822ca
0x47d418f0b9f6d07fd6ef494e54d64b596f0878ab84e21ed430a6c94b3f9e420a
0x01418b436d88a3819294242d47b3a984a3c65a6c54cb5a52c2bab14213290bf2
0x1661163fd7079d0bf93e7b40fb4edb5058d1ad3c95cb335ed8aa77c057e9e7de
0xa608a42031dd28d4fd6a689d2fee478450e3cf7bc9ab4d1a12a3689a47c47925
0x3242db1037a4620030902e38d57e193ea7326edb84bcc30aca02c71a57108175
0xc098596610b258ae574006950fb852fb54ab0d6892e2bbd123c5e6c76441e092
0xa0ca528e59cdd6cc9644b4eb08fcaedbbf4b9f47136195ea7d54c10eb833db9f
0x4d163cd9489f6b9b12bc8e07899791e8be5eb31b70ab14906401d2b1c1d87c0c
0xb03ef8dc3bf114dd920a7231b77cc68be15a12697b920b1a5266980acae5df90

Functions
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 maxHoneycombuint32 maxClaimableHoneycombuint256 honeycombPrice_ERC20uint256 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(uint256view returns (uint256 iduint256 specialHoneycombIduint256 publicMintTimebool specialHoneycombFoundbool isAwake)
claimed(uint256view returns (uint32)
getBear(uint256 _bearIdview returns (struct IBearCaveHibernatingBear)
honeyJar(uint256uint256view returns (uint256)
honeycombToBear(uint256view returns (uint256)
rng(uint256view returns (uint256)
State-modifying
claim(uint256 bearId_uint32 gateIduint32 amountbytes32[] proof
claimAll(uint256 bearId_uint32[] gateIduint32[] amountbytes32[][] proof
earlyMekHoneyCombWithERC20(uint256 bearIduint32 gateIduint32 proofAmountbytes32[] proofuint256 mintAmountreturns (uint256)
earlyMekHoneyCombWithEth(uint256 bearIduint32 gateIduint32 proofAmountbytes32[] proofuint256 mintAmountpayable 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(addressaddressuint256[]uint256[]bytesreturns (bytes4)
onERC1155Received(addressaddressuint256uint256bytesreturns (bytes4)
rawFulfillRandomWords(uint256 requestIduint256[] 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)
Events
BearAwoke(uint256 tokenIdaddress player
BearHibernated(uint256 tokenId
HoneycombClaimed(uint256 tokenIdaddress playeruint256 amount
Initialized(struct IBearCaveMintConfig mintConfig
MintConfigChanged(struct IBearCaveMintConfig mintConfig
SpecialHoneyCombFound(uint256 tokenIduint256 honeyCombId
Constructor
constructor(address _vrfCoordinatoraddress _gameRegistryaddress _honeycombAddressaddress _erc1155Addressaddress _paymentTokenaddress _gatekeeperuint256 _honeyCombShare
Fallback and receive

This contract contains no fallback and receive objects.

Errors
AlreadyInitialized(
AlreadyTooManyHoneyCombs(uint256 bearId
BearAlreadyWoke(uint256 bearId
Claim_IncorrectInput(
Claim_InvalidProof(
GameInProgress(
GameRegistry_NoPermissions(string roleaddress user
GameRegistry_StageOutOfBounds(uint8 index
GeneralMintNotOpen(uint256 bearId
MekingTooManyHoneyCombs(uint256 bearId
NotEnoughHoneyCombMinted(uint256 bearId
NotInitialized(
NotOwnerOfSpecialHoneyComb(uint256 bearIduint256 honeycombId
OnlyCoordinatorCanFulfill(address haveaddress want
SpecialHoneyCombNotFound(uint256 bearId