Contract Wizard Code
Last updated
Last updated
The code for ContractWizard.sol can be read here.
There are 2 events in ContractWizard.sol and 1 event from IContractWizard, making 3 total:
NewContract - from IContractWizard
TokenPriceSet - Emits when a price changes for an ERC20 token
ContractURIChange - Emits when the contractURI is changed with setContractURI
There are 16 public functions in the ContractWizard.sol contract. I will do my best to organize the public functions in an understandable order here.
ownerCreateClone - Lets the owner of the wizard create a clone for free.
ownerAddContract - Lets the owner of the wizard add any contract to the library. This is a powerful tool that needs to be wielded carefully.
setContractURI - Sets the contractURI
setMintPrice - Sets the mint price in ETH
setTokenMintPrice - Sets the mint price for a particular ERC20 contract address
withdraw - Withdraws the ETH that was sent to the contract
createClone
createCloneToken
contractURI
contractByIndex
inCollection
name
mintPrice
tokenMintPrice
totalSupply
supportsInterface - here