PrimarySale
lets you set a recipient for any sale value you intend to collect in your smart contract.
View on GitHub
Usage
The PrimarySale
extension is an abstract contract, and expects you to implement the following functions by yourself:
This is an example smart contract demonstrating how to inherit from this extension and override the functions to add (optional) custom functionality.
Base Contracts Implementing This Extension
ERC20Drop
ERC20DropVote
ERC20SignatureMint
ERC20SignatureMintVote
ERC721Drop
ERC721SignatureMint
ERC1155Drop
ERC1155SignatureMint