/ContractAllowList

Primary LanguageSolidityOtherNOASSERTION

ContractAllowList

Pull requests are accepted from all web3 engineers!!

Usage

npm i contract-allow-list

or

yarn contract-allow-list

Why

We want to put in place a system to minimize the damage from NFT fraud.

How

  • Only accept approve from a limited number of contract addresses.
  • Lock token and prevent transfer.

Target Contracts

contracts>libs>ContractAllowList.sol *icontracts>interface>iContractAllowList.sol

Use Sample

contracts>TestNFTcollection.sol