@traderjoe-xyz/nft-base-contracts
v0.2.1
Published
Set of contracts to be used as a base for NFT collections.
Downloads
9
Readme
NFT base contracts
Set of contracts to be used as a base for NFT collections. Three contracts are included as of now:
ERC1155BaseUpgradeable
an 1155 contract, in the upgradeable versionERC721ABaseUpgradeable
an ERC721A contract (v4.2.0), in the upgradeable versionOZNFTBaseUpgradeable
a regular ERC721 that implements the LayerZero bridging mechanism, to launch multichain NFTs. In the upgradeable version.
All these contracts implements the same base layer:
- Two steps ownership transfers
- Role management
- Pausable
- ERC165
- ERC2981
- Subscription to the OpenSea Filter Registry (can be disabled)
WithdrawAVAX
method to send sale proceeds to the project owner minus a launchpad fee
OZNFT contracts have been forked from the Layer Zero solidity examples repo, to replace the Ownable
contract by PendingOwnable
.
Install dependencies
To install dependencies, run the following to install dependencies:
forge install
Tests
To run tests, run the following command:
forge test