web3wagmi
← All standards

ERC-7832 Sustainable collaborative NFT collections

ReviewERCcreated 2024-12-04requires ERC-721

Economically sustainable collaborative NFT collections with dynamic fees and donation-based engagement.

Author: Gustavo Lobo (@gflobo)

ERC-165 interface ids

Computed here as the XOR of the selectors each interface defines.

IERC78320x78e787ed

Functions this standard introduces (19)

0x75b238fcADMIN_ROLE()pure
0x42966c68burn(uint256)
0xeafb79e2CONTRIBUTOR_ROLE()pure
0x8aeda25aCREATOR_ROLE()pure
0x788cf255creatorSignatureFee()view
0x009a9b7bcurrentTokenId()view
0x00362a95donate(address)payable
0x2b62ebd5getCreatorSignature()payable
0x14bcec9flastUpdateTimestamp()view
0x1ec7748amaxMintsPerUserInCycle()view
0xd72b4477mintBaseFee()view
0x13966db5mintFee()view
0x147b58c0mintsPerUserInCycle(address)view
0x8456cb59pause()
0x695850fbsafeMint(string)payable
0x3f4ba83aunpause()
0x89ac4147UPDATE_INTERVAL()pure
0xd3d9462aupdateTerms(uint256,uint256,uint256)
0x2e1a7d4dwithdraw(uint256)

Inherited (10)

0x095ea7b3approve(address,uint256)ERC-721
0x70a08231balanceOf(address)ERC-721
0x081812fcgetApproved(uint256)ERC-721
0xe985e9c5isApprovedForAll(address,address)ERC-721
0x6352211eownerOf(uint256)ERC-721
0xb88d4fdesafeTransferFrom(address,address,uint256,bytes)ERC-721
0x42842e0esafeTransferFrom(address,address,uint256)ERC-721
0xa22cb465setApprovalForAll(address,bool)ERC-721
0x01ffc9a7supportsInterface(bytes4)ERC-165
0x23b872ddtransferFrom(address,address,uint256)ERC-721

Events (2)

Topic0 is the keccak256 hash of the signature, which is what a log filter matches on.

0xcba04966cbc95db2ab403dd67badf44f35180c560daa9ea86c0108861d85b80aCreatorTermsUpdated(uint256,uint256,uint256)
0x509fb5d764cf5e98b9f02a3d86350f8085cedb516140098d2d6fc2eb6256ac24DonationReceived(address,address,uint256)

Depends on (1)

Proposals this one names in its requires field.

What the specification covers

Compare with

Parsed from the canonical specification · discussion