Skip to main content

MerkleBase

Git Source

Structs

ConstructorParams

Struct encapsulating the constructor parameters of SablierMerkleBase contract.

The fields are arranged alphabetically.

struct ConstructorParams {
address campaignCreator;
string campaignName;
uint40 campaignStartTime;
ClaimType claimType;
address comptroller;
uint40 expiration;
address initialAdmin;
string ipfsCID;
bytes32 merkleRoot;
IERC20 token;
}

Properties

NameTypeDescription
campaignCreatoraddressThe address of campaign creator which should be the same as the msg.sender.
campaignNamestringThe name of the campaign.
campaignStartTimeuint40The start time of the campaign, as a Unix timestamp.
claimTypeClaimTypeThe type of claim functions to be enabled in the campaign.
comptrolleraddressThe address of the comptroller contract.
expirationuint40The expiration of the campaign, as a Unix timestamp. A value of zero means the campaign does not expire.
initialAdminaddressThe initial admin of the campaign.
ipfsCIDstringThe content identifier for indexing the contract on IPFS. An empty value may break certain UI features that depend upon the IPFS CID.
merkleRootbytes32The Merkle root of the claim data.
tokenIERC20The contract address of the ERC-20 token to be distributed.