No-code
Further reading
mintMax()
mintMax(uint256 projectType)
Payable
Proposal - Not yet implemented.
Mint the maximum number of tokens for the value sent, refunding the remainder.
This method can mint between 0 and ∞ tokens depending on the value sent, and will not fail if insufficient value is sent for a single token.
Arguments:
projectType
(uint256): Project ID mintMint as many trees for 1 ETH (or 1e18 Wei) as possible.
seedchain.mintMax{value: 1e18}(
100, // The project ID for trees
);