IContractWizard.sol
IContractWizard.sol
The IContractWizard interface contract details 1 event and 9 functions.
New Event
The new event is called:
NewContract - Emits when a new contract is created
Read Functions
The new read functions are:
contractURI - Returns the contract metadata
contractByIndex - Returns the contract address for a contract id
inCollection - Returns the contractId if an address can be found in the List of the Wizard
mintPrice - Returns the mint price in eth to create a contract
name - Returns the name of the contract
tokenMintPrice - Returns the mint price in an ERC20 token to create a contract
totalSupply - Returns the total amount of contracts that have been minted by this Contract Wizard
Write Functions
The new write functions are:
createClone - Creates a new contract
createCloneToken - Creates a new contract and pays the wizard with an ERC20 token
This lets someone build their own contract wizard or even build something that talks to a whole bunch of contract wizards. A super DAMN? 🤯
Read more here.
Last updated