No-code
Further reading
airdropMax()
airdropMax(address addr, uint256 projectType)
Payable
Proposal - Not yet implemented.
Mint the maximum number of tokens for the value sent for a provided address, 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:
addr
(address): Target address to mint the tokens againstprojectType
(uint256): Project ID mintMint as many trees for 1 ETH (or 1e18 Wei) as possible.
seedchain.airdropMax{value: 1e18}(
0x41694639E7445349D3Fe38BaE26BB717Bd4976Ea, // Target address
100, // The project ID for trees
);