Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
0xe471…3597
Balances ($0.00)
No balances found for "Dungeon Boxes"
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|---|---|---|---|---|---|---|
| 12391398 | 8 months ago | | | 0 | 0.000012864474 | |
| 12391379 | 8 months ago | | | 0 | 0.000024398807 | |
| 12390125 | 8 months ago | | | 0 | 0.000016380315 | |
| 12390124 | 8 months ago | | | 0 | 0.0000080261245 | |
| 12390121 | 8 months ago | | | 0 | 0.0000062606048 |
ABI
ABI objects
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 owner) view returns (uint256)
boxType(uint256) view returns (uint256)
getApproved(uint256 tokenId) view returns (address)
getCurrentPrice(uint256 _lootBoxId) view returns (uint256)
getLootBoxInfo(uint256 _lootBoxId) view returns (uint256 id, uint256 supply, address boxOwner, bool saleActive, uint256 maxSupply, uint256 price, uint256 priceIncrement, address itemsContract)
getLootBoxItems(uint256 _id) view returns (struct LootBoxContractItem[])
getRoleAdmin(bytes32 role) view returns (bytes32)
getSupply(uint256 _boxID) view returns (uint256)
hasRole(bytes32 role, address account) view returns (bool)
isApprovedForAll(address owner, address operator) view returns (bool)
isMinter(address account) view returns (bool)
lootBoxes(uint256) view returns (uint256 id, uint256 supply, address boxOwner, bool saleActive, uint256 maxSupply, uint256 price, uint256 priceIncrement, address itemsContract)
ownerOf(uint256 tokenId) view returns (address)
royaltyInfo(uint256 tokenId, uint256 salePrice) view returns (address, uint256)
supportsInterface(bytes4 interfaceId) view returns (bool)
tokenURI(uint256 _id) view returns (string)
State-modifying
Events addKeyContract(address _contractAddress)
approve(address to, uint256 tokenId) payable
buyLootBox(uint256 _lootBoxId) payable
changeInviterShares(uint256 _amount)
createLootBox(uint256 _supply, address _itemsContract, address _boxOwner, uint256 _boxPrice, uint256 _priceIncrement, uint256 _keyPrice, uint256[] _itemIds, uint8[] _chances)
grantMinterRole(address account)
grantRole(bytes32 role, address account)
mintLootBox(address _to, uint256 _lootBoxId)
mintLootBoxWithAmount(address _to, uint256 _lootBoxId, uint256 _amount)
mintMultipleLootBoxes(address[] _toAddresses, uint256[] _lootBoxIds, uint256[] _amounts)
onERC721Received(address, address, uint256, bytes data) returns (bytes4)
openBox(uint256 _boxID, uint256 _keyId)
renounceRole(bytes32 role, address callerConfirmation)
revokeMinterRole(address account)
revokeRole(bytes32 role, address account)
safeTransferFrom(address from, address to, uint256 tokenId) payable
safeTransferFrom(address from, address to, uint256 tokenId, bytes _data) payable
setApprovalForAll(address operator, bool approved)
setBaseURI(string _URI)
setCharacterContract(address _address)
toggleSaleActive(uint256 _lootBoxId)
transferFrom(address from, address to, uint256 tokenId) payable
withdraw(address _receiver)
withdrawToken(address _tokenAddress, address _receiver)
Approval(address indexed owner, address indexed approved, uint256 indexed tokenId)
ApprovalForAll(address indexed owner, address indexed operator, bool approved)
ConsecutiveTransfer(uint256 indexed fromTokenId, uint256 toTokenId, address indexed from, address indexed to)
RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole)
RoleGranted(bytes32 indexed role, address indexed account, address indexed sender)
RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender)
Transfer(address indexed from, address indexed to, uint256 indexed tokenId)
constructor(string _name, string _symbol, string _URI)
This contract contains no fallback and receive objects.
AccessControlBadConfirmation()
AccessControlUnauthorizedAccount(address account, bytes32 neededRole)
ApprovalCallerNotOwnerNorApproved()
ApprovalQueryForNonexistentToken()
BalanceQueryForZeroAddress()
ERC2981InvalidDefaultRoyalty(uint256 numerator, uint256 denominator)
ERC2981InvalidDefaultRoyaltyReceiver(address receiver)
ERC2981InvalidTokenRoyalty(uint256 tokenId, uint256 numerator, uint256 denominator)
ERC2981InvalidTokenRoyaltyReceiver(uint256 tokenId, address receiver)
MintERC2309QuantityExceedsLimit()
MintToZeroAddress()
MintZeroQuantity()
OwnerQueryForNonexistentToken()
OwnershipNotInitializedForExtraData()
ReentrancyGuardReentrantCall()
TransferCallerNotOwnerNorApproved()
TransferFromIncorrectOwner()
TransferToNonERC721ReceiverImplementer()
TransferToZeroAddress()
URIQueryForNonexistentToken()