MagicFolkItems

Verified contract

Active on Ethereum with 1,424 txns
Deployed by via 0x271731ac at 15185966
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
 (#3)
ERC-1555
--
 (#0)
ERC-1555
--
 (#1)
ERC-1555
--
 (#5)
ERC-1555
--
 (#4)
ERC-1555
--
 (#7)
ERC-1555
--
 (#6)
ERC-1555
--
 (#2)
ERC-1555
--
 (#43)
ERC-1555
--
 (#44)
ERC-1555
--
0xdd5031043c6c68f1c8e5f7693464157e979fcd8a7ecb2b6b9c887e57b631b94d
0x79ae2bb4a5ace4bcc8c9e042217cbdacfb80d0d38c7f7de389b8960212530a50
0xb475bc95d00c283c88eea6bf5678b1a32dbd44b2c360f38184ec5d42c3d7b4b9
0x2ce6bb199a689457eb5a2286adf39f65b035870ada4505e17e04c4838ed7d923
0xa21c398acf2056140b6e07b0e8cab6b16058480f628223d6ec29ee8002d4a3d3
0x87dbfc16ab076a1f692b05994f40b72ea302024d99f4b40f9b57641fbaa8ba65
0xd16bbc7f0dd10306238dd9015584a745f8ccdad49c6f5d5a03fedacf342c2233
0x858d6ed9a49bf5cc9f3a5a96cbadf046a2e4449a4b9e36d5bc16414df68c5a13
0x9429669aa0a19f03fa9380824d239d3e10b75581f543e038eaad4f5c4f8d0690
0xbda9b16bd60386141e902326cd78b6b9bfbc3ee4045506cc011982029a39505b

Functions
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(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.