Dungeon Boxes

Verified contract

Active on Base with 5 txns
Deployed by via 0xe45060f2 at 12390111
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0

No balances found for "Dungeon Boxes"

0x26bafc1a2d084288ee3a5677f4f33e4b52114a3bb899598a1eebf4155e6bcb28
0xf9249ba24b5f5f8a5ed98be4e614582b703510ba0b6a3751a4a8f3a0bad267a5
0x76a66f006b69999ee1b3d9f3fa11ae2534c5c51e5f69c6bd879307a959c1498d
0xe7a31f68690491d469bf03aa76f7f5d4687dbda23f126f2d182beaf44a456d9e
0x306ebf687433bbb7c019555dfe3216651ee76e68bd65b162dd5672c8f6a74c5f

Functions
Getter at block 23157677
BASE_URI(view returns (string)
https://api.dungeonarena.xyz/metadata/lootBox/
DEFAULT_ADMIN_ROLE(view returns (bytes32)
0x0000000000000000000000000000000000000000000000000000000000000000
INVITER_SHARES(view returns (uint256)
30
MINTER_ROLE(view returns (bytes32)
0x9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a6
charchterContract(view returns (address)
0xe4711511deaa05782f97710004ccc73b48363597
currentLootBoxId(view returns (uint256)
1
currentMintedBoxId(view returns (uint256)
5
keyContract(view returns (address)
0xeed2c916926de64d4dfc990a66a883156117bdd5
name(view returns (string)
Dungeon Boxes
symbol(view returns (string)
LOOTBOXES
totalSupply(view returns (uint256)
10
Read-only
balanceOf(address ownerview returns (uint256)
boxType(uint256view returns (uint256)
getApproved(uint256 tokenIdview returns (address)
getCurrentPrice(uint256 _lootBoxIdview returns (uint256)
getLootBoxInfo(uint256 _lootBoxIdview returns (uint256 iduint256 supplyaddress boxOwnerbool saleActiveuint256 maxSupplyuint256 priceuint256 priceIncrementaddress itemsContract)
getLootBoxItems(uint256 _idview returns (struct LootBoxContractItem[])
getRoleAdmin(bytes32 roleview returns (bytes32)
getSupply(uint256 _boxIDview returns (uint256)
hasRole(bytes32 roleaddress accountview returns (bool)
isApprovedForAll(address owneraddress operatorview returns (bool)
isMinter(address accountview returns (bool)
lootBoxes(uint256view returns (uint256 iduint256 supplyaddress boxOwnerbool saleActiveuint256 maxSupplyuint256 priceuint256 priceIncrementaddress itemsContract)
ownerOf(uint256 tokenIdview returns (address)
royaltyInfo(uint256 tokenIduint256 salePriceview returns (addressuint256)
supportsInterface(bytes4 interfaceIdview returns (bool)
tokenURI(uint256 _idview returns (string)
State-modifying
addKeyContract(address _contractAddress
approve(address touint256 tokenIdpayable 
buyLootBox(uint256 _lootBoxIdpayable 
changeInviterShares(uint256 _amount
createLootBox(uint256 _supplyaddress _itemsContractaddress _boxOwneruint256 _boxPriceuint256 _priceIncrementuint256 _keyPriceuint256[] _itemIdsuint8[] _chances
grantMinterRole(address account
grantRole(bytes32 roleaddress account
mintLootBox(address _touint256 _lootBoxId
mintLootBoxWithAmount(address _touint256 _lootBoxIduint256 _amount
mintMultipleLootBoxes(address[] _toAddressesuint256[] _lootBoxIdsuint256[] _amounts
onERC721Received(addressaddressuint256bytes datareturns (bytes4)
openBox(uint256 _boxIDuint256 _keyId
renounceRole(bytes32 roleaddress callerConfirmation
revokeMinterRole(address account
revokeRole(bytes32 roleaddress account
safeTransferFrom(address fromaddress touint256 tokenIdpayable 
safeTransferFrom(address fromaddress touint256 tokenIdbytes _datapayable 
setApprovalForAll(address operatorbool approved
setBaseURI(string _URI
setCharacterContract(address _address
toggleSaleActive(uint256 _lootBoxId
transferFrom(address fromaddress touint256 tokenIdpayable 
withdraw(address _receiver
withdrawToken(address _tokenAddressaddress _receiver
Events
Approval(address indexed owneraddress indexed approveduint256 indexed tokenId
ApprovalForAll(address indexed owneraddress indexed operatorbool approved
ConsecutiveTransfer(uint256 indexed fromTokenIduint256 toTokenIdaddress indexed fromaddress indexed to
RoleAdminChanged(bytes32 indexed rolebytes32 indexed previousAdminRolebytes32 indexed newAdminRole
RoleGranted(bytes32 indexed roleaddress indexed accountaddress indexed sender
RoleRevoked(bytes32 indexed roleaddress indexed accountaddress indexed sender
Transfer(address indexed fromaddress indexed touint256 indexed tokenId
Constructor
constructor(string _namestring _symbolstring _URI
Fallback and receive

This contract contains no fallback and receive objects.

Errors
AccessControlBadConfirmation(
AccessControlUnauthorizedAccount(address accountbytes32 neededRole
ApprovalCallerNotOwnerNorApproved(
ApprovalQueryForNonexistentToken(
BalanceQueryForZeroAddress(
ERC2981InvalidDefaultRoyalty(uint256 numeratoruint256 denominator
ERC2981InvalidDefaultRoyaltyReceiver(address receiver
ERC2981InvalidTokenRoyalty(uint256 tokenIduint256 numeratoruint256 denominator
ERC2981InvalidTokenRoyaltyReceiver(uint256 tokenIdaddress receiver
MintERC2309QuantityExceedsLimit(
MintToZeroAddress(
MintZeroQuantity(
OwnerQueryForNonexistentToken(
OwnershipNotInitializedForExtraData(
ReentrancyGuardReentrantCall(
TransferCallerNotOwnerNorApproved(
TransferFromIncorrectOwner(
TransferToNonERC721ReceiverImplementer(
TransferToZeroAddress(
URIQueryForNonexistentToken(