MagicFolkItems
Verified contract
Active on
Ethereum with 1,424 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 |
---|---|---|---|---|---|
0x0f88…0b3d | ERC-1555 | 1.985K | -- | -- | |
0x0f88…0b3d | ERC-1555 | 1.983K | -- | -- | |
0x0f88…0b3d | ERC-1555 | 987 | -- | -- | |
0x0f88…0b3d | ERC-1555 | 975 | -- | -- | |
0x0f88…0b3d | ERC-1555 | 963 | -- | -- | |
0x0f88…0b3d | ERC-1555 | 298 | -- | -- | |
0x0f88…0b3d | ERC-1555 | 294 | -- | -- | |
0x0f88…0b3d | ERC-1555 | 111 | -- | -- | |
0x0f88…0b3d | ERC-1555 | 99 | -- | -- | |
0x0f88…0b3d | ERC-1555 | 95 | -- | -- |
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|---|---|---|---|---|---|---|
| 20074145 | 6 months ago | | | 0 | 0.00017352523 | |
| 16998952 | 2 years ago | | | 0 | 0.00053126378 | |
| 16961173 | 2 years ago | | | 0 | 0.00080975356 | |
| 16458475 | 2 years ago | | | 0 | 0.0013282259 | |
| 16457047 | 2 years ago | | | 0 | 0.0010358912 | |
| 16455402 | 2 years ago | | | 0 | 0.00088937886 | |
| 16445700 | 2 years ago | | | 0 | 0.0022968306 | |
| 16445627 | 2 years ago | | | 0 | 0.0022397983 | |
| 16425207 | 2 years ago | | | 0 | 0.0024247526 | |
| 16412836 | 2 years ago | | | 0 | 0.0021767853 |
ABI
ABI objects
Getter at block 21310311
DEFAULT_ADMIN_ROLE() view returns (bytes32)
0x0000000000000000000000000000000000000000000000000000000000000000
_contractURI() view returns (string)
https://cdn.magicfolk.io/api/mainhand/mainhand.json
_itemType() view returns (uint8)
1
contractURI() view returns (string)
https://cdn.magicfolk.io/api/mainhand/mainhand.json
itemCount() view returns (uint256)
45
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.