MagicFolkItems

Verified contract

Active on Ethereum with 1,345 txns
Deployed by via 0x95c82c85 at 15185971
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
 (#7)
ERC-1555
--
 (#6)
ERC-1555
--
 (#1)
ERC-1555
--
 (#2)
ERC-1555
--
 (#5)
ERC-1555
--
 (#4)
ERC-1555
--
 (#0)
ERC-1555
--
 (#3)
ERC-1555
--
 (#17)
ERC-1555
--
 (#16)
ERC-1555
--
0x3c5f0ee091ceac9e21a28dbad235614e3a2ae289fff26f1df7714038a7e6ca6a
0x849aca8a7d769363c9dff36adc1638b44e776f12ec2c41799b379fe31a9991a2
0x35644664581b01420b92bb1225c44716088d9e792cd02da85d764b31dcc8628d
0x713a6906d77f190f6887ea40126cd76338e2d95b4cc82752f083dbc26d9d3586
0x4a84914f3488b8f59265d56736d70ec1df5fa61baa319c1daea2c0743a61506b
0x6cdac9bc7d724f8cd7a660fdf15e39f6dd4a1208150565b6ca3a1293cdd40756
0xbf08645c37b1c3054478e7749b9a2f4d4502a7312102924292ea647bc963ba50
0x67ee0af74e76f5800590220c8b81cac363d96c6ea4c793d6495899e42ef6c275
0xc8effe1ea38a642117bd810ffe81928e50082fbf0524930759c6a3b4d80c7000
0xaba09dbf6a8bc305913573e0b25972d74cf386f5abc9e467c663c85f6ab9e423

Functions
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(uint256view returns (uint256)
_collabItemsRedeemed(addressuint256view returns (uint256)
_collabs(uint256view returns (address)
_items(uint256view returns (uint256 itemIduint8 powerLeveluint8 itemType)
_prices(uint256view returns (uint256)
balanceOf(address accountuint256 idview returns (uint256)
balanceOfBatch(address[] accountsuint256[] idsview returns (uint256[])
decodeItem(bytes encodedOwnerIdAndItempure returns (uint256struct Item)
encodeItem(uint256 itemIdview returns (bytes)
exists(uint256 idview returns (bool)
getItem(uint256 itemIdview returns (struct Item)
getOwnedItems(address ownerview returns (uint256[])
getPrice(uint256 itemIdview returns (uint256)
getRoleAdmin(bytes32 roleview returns (bytes32)
getStockLeft(uint256 itemIdview returns (uint256)
hasRole(bytes32 roleaddress accountview returns (bool)
hashMsg(address senderuint256 valuepure returns (bytes32)
isApprovedForAll(address accountaddress operatorview returns (bool)
isCollabItem(uint256 itemIdview returns (bool)
supportsInterface(bytes4 interfaceIDview returns (bool)
totalSupply(uint256 idview returns (uint256)
uri(uint256view returns (string)
verifyMsg(address senderuint256 valuebytes32 msgHashbytes signatureaddress _signerpure returns (bool)
verifySigner(bytes32 msgHashbytes signatureaddress _signerpure returns (bool)
State-modifying
buyCollabItem(uint256 itemIduint256 amountuint256 tokenIdbytes32 msgHashbytes signature
buyItem(address touint256 itemIduint256 amount
createItem(uint256 initialSupplyuint8 powerLeveluint8 itemTypeuint256 price
createItem(uint256 initialSupplyuint8 powerLeveluint8 itemTypeuint256 priceaddress nftContractuint256 allowancePerNFT
equip(address fromuint256 itemIduint256 magicFolkId
grantRole(bytes32 roleaddress account
mint(uint256 itemIduint256 amount
mintBatch(addressuint256[] idsuint256[] amountsbytes data
onERC1155BatchReceived(addressaddressuint256[]uint256[]bytesreturns (bytes4)
onERC1155Received(addressaddressuint256uint256bytesreturns (bytes4)
pause(
renounceOwnership(
renounceRole(bytes32 roleaddress account
revokeRole(bytes32 roleaddress account
safeBatchTransferFrom(address fromaddress touint256[] idsuint256[] amountsbytes data
safeTransferFrom(address fromaddress touint256 iduint256 amountbytes data
setApprovalForAll(address operatorbool approved
setContractURI(string newuri
setItem(uint256 itemIduint8 powerLeveluint8 itemTypeuint256 price
setMagicFolkContractAddress(address magicFolk
setMagicFolkGemsAddress(address magicFolkGems
setPrice(uint256 itemIduint256 price
setSignerAddress(address newSigner
setURI(string newuri
transferOwnership(address newOwner
unequip(address fromuint256 itemIduint256 magicFolkId
unpause(
Events
ApprovalForAll(address indexed accountaddress indexed operatorbool approved
OwnershipTransferred(address indexed previousOwneraddress indexed newOwner
Paused(address account
RoleAdminChanged(bytes32 indexed rolebytes32 indexed previousAdminRolebytes32 indexed newAdminRole
RoleGranted(bytes32 indexed roleaddress indexed accountaddress indexed sender
RoleRevoked(bytes32 indexed roleaddress indexed accountaddress indexed sender
TransferBatch(address indexed operatoraddress indexed fromaddress indexed touint256[] idsuint256[] values
TransferSingle(address indexed operatoraddress indexed fromaddress indexed touint256 iduint256 value
URI(string valueuint256 indexed id
Unpaused(address account
Constructor
constructor(address signeruint8 itemType
Fallback and receive

This contract contains no fallback and receive objects.

Errors

This contract contains no error objects.