HoneyBox

Verified contract

Active on Ethereum with 1,657 txns
Deployed by via 0xabfa24e6 at 17085870
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
-
variable spans 2 additional slots
-
variable spans 1 additional slot
 (#110)
ERC-721
--
 (#76)
ERC-721
--
 (#1103)
ERC-721
--
 (#638)
ERC-721
--
 (#568)
ERC-721
--
 (#537)
ERC-721
--
 (#499)
ERC-721
--
 (#470)
ERC-721
--
 (#465)
ERC-721
--
 (#437)
ERC-721
--
0x29366a64c61a57e53ecca7f371cecf3f595bb074c9d995915eeb92cbff99839f
0x38a8c433a3266d719997b5bb0bf3928acf22c4d58d3ffd561b444ccca54b2286
0x3a23a648bd3ac9eb8b1baf595d38e3930657624c35bba69bac2592fffeddb97e
0xdd1ed76ab02e3b28f7a5003574fb8284f41cbdd2a81d7b5cab7d1b02d335337a
0xbfdedffb641b3bf32e192f7ace03931e8d2a63128ebc767d325d8dfaac62bd53
0xa4c223ab1dcc535ddc1b409dce0a482756801b85a403aa35ddd376bcba3f3900
0x131ee094419c56ec5428d4fa8830a0524a7480ff86326e45c9ac23dd26131c1a
0x61667f72ae0d8fd8e9aaa1152bdaa9f053424a88f61d026238b23652a19976d2
0x235a9989f1a75b452bbef24c1d7c55ad978debe50cf59145cb453e7128376a19
0x0abb847221cf2866452f12d59c7a34914798b10d9c1bf33763a1dbd85f1f372a

Functions
Getter at block 21217721
gameRegistry(view returns (address)
0xec420b0d0da852359e0d6a31ec322ab502c788a2
gatekeeper(view returns (address)
0xb5ce6c18e7c9b3f0a223641ef84889df878f42b3
honeyJar(view returns (address)
0xa20cf9b0874c3e46b344deaeea9c2e0c3e1db37d
honeyJarShare(view returns (uint256)
223300000000000000
initialized(view returns (bool)
true
mintConfig(view returns (uint32 maxHoneyJaruint32 maxClaimableHoneyJaruint256 honeyJarPrice_ERC20uint256 honeyJarPrice_ETH)
(maxHoneyJar=10926, maxClaimableHoneyJar=2518, honeyJarPrice_ERC20=16000000000, honeyJarPrice_ETH=110000000000000000)
paymentToken(view returns (address)
0x64aa3364f17a4d01c6f1751fd97c2bd3d7e7f1d5
Read-only
claimed(uint8view returns (uint32)
getSlumberParty(uint8 _bundleIdview returns (struct HoneyBoxSlumberParty)
honeyJarShelf(uint8uint256view returns (uint256)
honeyJarToParty(uint256view returns (uint8)
rng(uint256view returns (uint8)
slumberParties(uint8view returns (uint8 bundleIduint256 specialHoneyJaruint256 publicMintTimebool specialHoneyJarFoundbool isAwake)
slumberPartyList(uint256view returns (uint8 bundleIduint256 specialHoneyJaruint256 publicMintTimebool specialHoneyJarFoundbool isAwake)
State-modifying
addBundle(address[] tokenAddresses_uint256[] tokenIds_bool[] isERC1155_returns (uint8)
claim(uint8 bundleId_uint32 gateIduint32 amountbytes32[] proof
claimAll(uint8 bundleId_uint32[] gateIdsuint32[] amountsbytes32[][] proofs
earlyMekHoneyJarWithERC20(uint8 bundleIduint32 gateIduint32 proofAmountbytes32[] proofuint256 mintAmountreturns (uint256)
earlyMekHoneyJarWithEth(uint8 bundleIduint32 gateIduint32 proofAmountbytes32[] proofuint256 mintAmountpayable returns (uint256)
initialize(struct HoneyBoxVRFConfig vrfConfig_struct HoneyBoxMintConfig mintConfig_
mekHoneyJarWithERC20(uint8 bundleId_uint256 amount_returns (uint256)
mekHoneyJarWithETH(uint8 bundleId_uint256 amount_payable returns (uint256)
onERC1155BatchReceived(addressaddressuint256[]uint256[]bytesreturns (bytes4)
onERC1155Received(addressaddressuint256uint256bytesreturns (bytes4)
onERC721Received(addressaddressuint256bytesreturns (bytes4)
openHotBox(uint8 bundleId_
puffPuffPassOut(uint8 bundleId_
rawFulfillRandomWords(uint256 requestIduint256[] randomWords
setHoneyJarPrice_ERC20(uint256 _honeyJarPrice
setHoneyJarPrice_ETH(uint256 _honeyJarPrice
setMaxClaimableHoneyJar(uint32 _maxClaimableHoneyJar
setMaxHoneyJar(uint32 _maxhoneyJar
setVRFConfig(struct HoneyBoxVRFConfig vrfConfig_
Events
HoneyJarClaimed(uint256 bundleIduint32 gateIdaddress playeruint256 amount
Initialized(struct HoneyBoxMintConfig mintConfig
MintConfigChanged(struct HoneyBoxMintConfig mintConfig
PartyAwoke(uint8 bundleIdaddress player
SlumberPartyAdded(uint8 bundleId
SlumberPartyStarted(uint8 bundleId
SpecialHoneyJarFound(uint8 bundleIduint256 honeyJarId
VRFConfigChanged(struct HoneyBoxVRFConfig vrfConfig
Constructor
constructor(address _vrfCoordinatoraddress _gameRegistryaddress _honeyJarAddressaddress _paymentTokenaddress _gatekeeperaddress _janiaddress _beekeeperuint256 _honeyJarShare
Fallback and receive

This contract contains no fallback and receive objects.

Errors
AlreadyInitialized(
AlreadyTooManyHoneyJars(uint8 bundleId
Claim_InvalidProof(
GameInProgress(
GameRegistry_NoPermissions(string roleaddress user
GameRegistry_StageOutOfBounds(uint8 index
GeneralMintNotOpen(uint8 bundleId
InvalidBundle(uint8 bundleId
InvalidInput(string method
MekingTooManyHoneyJars(uint8 bundleId
NotEnoughHoneyJarMinted(uint8 bundleId
NotInitialized(
NotOwnerOfSpecialHoneyJar(uint8 bundleIduint256 honeyJarId
NotSleeping(uint8 bundleId
OnlyCoordinatorCanFulfill(address haveaddress want
PartyAlreadyWoke(uint8 bundleId
SpecialHoneyJarNotFound(uint8 bundleId
TooManyBundles(
WrongAmount_ETH(uint256 expecteduint256 actual
ZeroMint(