ClankerPresaleAllowlist
Features
Initializing the Presale
// format of initialization data
struct AllowlistInitializationData {
bytes32 merkleRoot;
}
// method to call on ClankerPresaleEthToCreator
function startPresale(
...
address allowlist, // set to the ClankerPresaleAllowlist address
bytes calldata allowlistInitializationData // optional, abi encoded AllowlistInitializationData
) external onlyAdmin returns (uint256 presaleId);Managing the Presale
Last updated