Create a MerkleTree based on an allow list of addresses and maxClaimable
function createMerkleTreeFromAllowList( snapshotInput: | Array<string> | Array<{ address: string; currencyAddress?: string; maxClaimable?: string | number; price?: string | number; }>, tokenDecimals: number, version: SnapshotFormatVersion,): Promise<MerkleTree>;
the list of addresses and maxClaimable
let snapshotInput: | Array<string> | Array<{ address: string; currencyAddress?: string; maxClaimable?: string | number; price?: string | number; }>;
optional decimals for the token to claim (default 18)
let tokenDecimals: number;
optional version of the snapshot format (default V1)
let version: SnapshotFormatVersion;
let returnType: Promise<MerkleTree>;
The generated MerkleTree