Skip to content

defientco/ERC721H

Repository files navigation

ERC721H

Getting Started

  • install forge
  • run forge test

Features

  • ERC721AH (TODO): supports ERC721A
  • ERC721CH (TODO): supports ERC721C
  • ERC721ACH: supports both ERC721A & ERC721C.

Admin capabilities

  • owner can manage hooks
  • _requireCallerIsContractOwner - override to set custom rules for ownership.

TODO

  • add before & after hooks to ANY write methods.
  • add hooks for any missing functions in ERC721A.
  • add hooks for any missing functions in ERC721C.
  • optimize hook storage in ERC721ACH.sol (struct?)
  • calculate gas costs (Minting / Contract Deployment / Transfers) compared to ERC721A
  • Migrate Staking (cre8ing.sol) to Hooks
  • Subscription for Hooks (ERC5643)
  • NATSPEC docs (TODOs)
  • ERC721H - hooks on pure ERC721
  • ERC721AH - hooks on ERC721A (without ERC721C)
  • ERC721CH - hooks on ERC721C (without ERC721A)
  • update README