Integrate a Creation Fee
As previously established, a Creation Fee is a static fee (that can be either a burn fee or a transfer fee) that a user must pay when cloning your model contract from your Factory.
This example shows a Factory, implementing the EthereansFactory contract, integrating a Creation Fee.
You should use it as a guideline to adapt to your Fees system.
Example
The Factory implement the _burnOrTransferTokenAmount
function provided by EthereansFactory in the deploy
function:
Last updated