Den

Verified contract

Active on Ethereum with 3 txns
Deployed by via 0x5dcb768e at 20814250
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
-
variable spans 3 additional slots
 (#3927)
ERC-721
--
 (#3920)
ERC-721
--
 (#3915)
ERC-721
--
 (#3913)
ERC-721
--
 (#3904)
ERC-721
--
 (#16222)
ERC-721
--
 (#16004)
ERC-721
--
 (#4856)
ERC-721
--
 (#4846)
ERC-721
--
 (#3366)
ERC-721
--
0xe35d9ff9448273f95814b89b945215de65f9ead651316196b0b1608b0ee4bfd6
0x0b44e22d25dc25883568cc7e5d9dfe1a78cd7741a5cf61386e7ea9338d6bb766
0x9666881f4b110a7aa9e4509af627ab7c1b4a4eaaf3eb8a089fe91d55abdf024e

Functions
Getter at block 21182084
ERC1155_TYPE(view returns (bytes2)
0x0200
ERC20_TYPE(view returns (bytes2)
0x0300
ERC721_TYPE(view returns (bytes2)
0x0100
NATIVE_TYPE(view returns (bytes2)
0x0400
gameRegistry(view returns (address)
0xb62a9a21d98478f477e134e175fd2003c15cb83a
 
getSlumberParty(view returns (struct IDenSlumberParty)
honeyJar(view returns (address)
0x0b820623485dcfb1c40a70c55755160f6a42186d
honeyJarPortal(view returns (address)
0x188ccb4a1a43d06905bf9255c764cb52abb909c4
party(view returns (uint256 assetChainIduint256 mintChainIduint256 numUsed)
(assetChainId=1, mintChainId=10, numUsed=0)
partySet(view returns (bool)
true
Read-only
isJarUsed(uint256view returns (bool)
State-modifying
addToParty(struct IDenSleeper sleeperbool transferpayable 
setHoneyjar(address honeyJar_
setPortal(address portal_
setSlumberParty(bool doTransfer_uint256 mintChainId_struct IDenSleeper[] sleepoors_payable 
startGame(payable 
wakeSleeper(uint256 jarId
Events
HoneyJarSet(address honeyJar
PortalSet(address portal
SleeperAdded(struct IDenSleeper sleeper
SleeperAwoke(uint256 tokenIduint256 jarIdaddress player
SlumberPartyAdded(
SlumberPartyStarted(
Constructor
constructor(address gameRegistry_address honeyJar_
Fallback and receive
fallback(
receive(
Errors
AlreadyTooManyHoneyJars(
FermentedJarNotFound(
GameInProgress(
GameRegistry_NoPermissions(string roleaddress user
GameRegistry_StageOutOfBounds(uint8 index
InvalidInput(string method
InvalidTokenType(
JarAlreadyUsed(
NotFermentedJarOwner(uint256 honeyJarId
NotJarOwner(
NotSleeping(
PartyAlreadySet(
PartyAlreadyWoke(
PartyNotSet(
Reentrancy(
TooManyBundles(
ZeroValue(