MagicFolkItems
Verified contract
Active on
Ethereum with 1,345 txns
Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
0x6ff6…e64e
0x3988…7342
Balances ($0.00)
Asset | Symbol | Type | Quantity | Price | Value |
---|---|---|---|---|---|
0x88d6…116a | ERC-1555 | 293 | -- | -- | |
0x88d6…116a | ERC-1555 | 292 | -- | -- | |
0x88d6…116a | ERC-1555 | 253 | -- | -- | |
0x88d6…116a | ERC-1555 | 248 | -- | -- | |
0x88d6…116a | ERC-1555 | 243 | -- | -- | |
0x88d6…116a | ERC-1555 | 238 | -- | -- | |
0x88d6…116a | ERC-1555 | 228 | -- | -- | |
0x88d6…116a | ERC-1555 | 225 | -- | -- | |
0x88d6…116a | ERC-1555 | 94 | -- | -- | |
0x88d6…116a | ERC-1555 | 93 | -- | -- |
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|---|---|---|---|---|---|---|
| 16961172 | 2 years ago | | | 0 | 0.00080637260 | |
| 16543168 | 2 years ago | | | 0 | 0.0011033087 | |
| 16458480 | 2 years ago | | | 0 | 0.0011136648 | |
| 16457043 | 2 years ago | | | 0 | 0.0010869283 | |
| 16455404 | 2 years ago | | | 0 | 0.00085260240 | |
| 16445720 | 2 years ago | | | 0 | 0.0021194809 | |
| 16445656 | 2 years ago | | | 0 | 0.0022608351 | |
| 16437004 | 2 years ago | | | 0 | 0.0018181586 | |
| 16425224 | 2 years ago | | | 0 | 0.0022754905 | |
| 16425200 | 2 years ago | | | 0 | 0.0025265790 |
ABI
ABI objects
Getter at block 21211177
DEFAULT_ADMIN_ROLE() view returns (bytes32)
0x0000000000000000000000000000000000000000000000000000000000000000
_contractURI() view returns (string)
https://cdn.magicfolk.io/api/pet/pet.json
_itemType() view returns (uint8)
3
contractURI() view returns (string)
https://cdn.magicfolk.io/api/pet/pet.json
itemCount() view returns (uint256)
18
owner() view returns (address)
0x7e9788608c9d5aad9660ae362c6bdc11b15e6292
paused() view returns (bool)
true
Read-only
_collabAllowancePerNFT(uint256) view returns (uint256)
_collabItemsRedeemed(address, uint256) view returns (uint256)
_collabs(uint256) view returns (address)
_items(uint256) view returns (uint256 itemId, uint8 powerLevel, uint8 itemType)
_prices(uint256) view returns (uint256)
balanceOf(address account, uint256 id) view returns (uint256)
balanceOfBatch(address[] accounts, uint256[] ids) view returns (uint256[])
decodeItem(bytes encodedOwnerIdAndItem) pure returns (uint256, struct Item)
encodeItem(uint256 itemId) view returns (bytes)
exists(uint256 id) view returns (bool)
getItem(uint256 itemId) view returns (struct Item)
getOwnedItems(address owner) view returns (uint256[])
getPrice(uint256 itemId) view returns (uint256)
getRoleAdmin(bytes32 role) view returns (bytes32)
getStockLeft(uint256 itemId) view returns (uint256)
hasRole(bytes32 role, address account) view returns (bool)
hashMsg(address sender, uint256 value) pure returns (bytes32)
isApprovedForAll(address account, address operator) view returns (bool)
isCollabItem(uint256 itemId) view returns (bool)
supportsInterface(bytes4 interfaceID) view returns (bool)
totalSupply(uint256 id) view returns (uint256)
uri(uint256) view returns (string)
verifyMsg(address sender, uint256 value, bytes32 msgHash, bytes signature, address _signer) pure returns (bool)
verifySigner(bytes32 msgHash, bytes signature, address _signer) pure returns (bool)
State-modifying
Events buyCollabItem(uint256 itemId, uint256 amount, uint256 tokenId, bytes32 msgHash, bytes signature)
buyItem(address to, uint256 itemId, uint256 amount)
createItem(uint256 initialSupply, uint8 powerLevel, uint8 itemType, uint256 price)
createItem(uint256 initialSupply, uint8 powerLevel, uint8 itemType, uint256 price, address nftContract, uint256 allowancePerNFT)
equip(address from, uint256 itemId, uint256 magicFolkId)
grantRole(bytes32 role, address account)
mint(uint256 itemId, uint256 amount)
mintBatch(address, uint256[] ids, uint256[] amounts, bytes data)
onERC1155BatchReceived(address, address, uint256[], uint256[], bytes) returns (bytes4)
onERC1155Received(address, address, uint256, uint256, bytes) returns (bytes4)
pause()
renounceOwnership()
renounceRole(bytes32 role, address account)
revokeRole(bytes32 role, address account)
safeBatchTransferFrom(address from, address to, uint256[] ids, uint256[] amounts, bytes data)
safeTransferFrom(address from, address to, uint256 id, uint256 amount, bytes data)
setApprovalForAll(address operator, bool approved)
setContractURI(string newuri)
setItem(uint256 itemId, uint8 powerLevel, uint8 itemType, uint256 price)
setMagicFolkContractAddress(address magicFolk)
setMagicFolkGemsAddress(address magicFolkGems)
setPrice(uint256 itemId, uint256 price)
setSignerAddress(address newSigner)
setURI(string newuri)
transferOwnership(address newOwner)
unequip(address from, uint256 itemId, uint256 magicFolkId)
unpause()
ApprovalForAll(address indexed account, address indexed operator, bool approved)
OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
Paused(address account)
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)
TransferBatch(address indexed operator, address indexed from, address indexed to, uint256[] ids, uint256[] values)
TransferSingle(address indexed operator, address indexed from, address indexed to, uint256 id, uint256 value)
URI(string value, uint256 indexed id)
Unpaused(address account)
constructor(address signer, uint8 itemType)
This contract contains no fallback and receive objects.
This contract contains no error objects.