An ERC-721 contract capable of installing hooks.
Jan 31, 2024
MIT, Apache-2.0
thirdweb is redesigning its smart contracts so that developers can use only and exactly what onchain infrastructure they need for their use case. Read more about the hooks architecture in this post.
NOTE: this smart contract and architecture is in alpha testing and NOT AUDITED.
Hooks are external calls made to hook functions implemented by a hook contract. These calls are made at fixed, pre-defined points in the execution of functions in the core contract.

Developers deploy non-upgradeable minimal clones of token core contracts e.g. the ERC-721 Core contract.
ERC721Core.mint call.ERC721.transferFrom call.ERC721Core.burn call.ERC721.approve and ERC721.setApprovalForAll calls.ERC721Metadata.tokenURI function.ERC2981.royaltyInfo function.No inputs required