Skip to main content

MerkleLL

Git Source

Structs

ConstructorParams

Struct encapsulating the constructor parameters of Merkle Lockup Linear campaigns.

The fields are arranged alphabetically.

struct ConstructorParams {
string campaignName;
uint40 campaignStartTime;
bool cancelable;
uint40 cliffDuration;
UD60x18 cliffUnlockPercentage;
uint40 expiration;
address initialAdmin;
string ipfsCID;
ISablierLockup lockup;
bytes32 merkleRoot;
string shape;
UD60x18 startUnlockPercentage;
IERC20 token;
uint40 totalDuration;
bool transferable;
uint40 vestingStartTime;
}

Properties

NameTypeDescription
campaignNamestringThe name of the campaign.
campaignStartTimeuint40The start time of the campaign, as a Unix timestamp.
cancelableboolIndicates if the Lockup stream will be cancelable after claiming.
cliffDurationuint40The cliff duration of the vesting stream, in seconds.
cliffUnlockPercentageUD60x18The percentage of the claim amount due to be unlocked at the vesting cliff time, as a fixed-point number where 1e18 is 100%
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.
lockupISablierLockupThe address of the SablierLockup contract.
merkleRootbytes32The Merkle root of the claim data.
shapestringThe shape of the vesting stream, used for differentiating between streams in the UI.
startUnlockPercentageUD60x18The percentage of the claim amount due to be unlocked at the vesting start time, as a fixed-point number where 1e18 is 100%.
tokenIERC20The contract address of the ERC-20 token to be distributed.
totalDurationuint40The total duration of the vesting stream, in seconds.
transferableboolIndicates if the Lockup stream will be transferable after claiming.
vestingStartTimeuint40The start time of the vesting stream, as a Unix timestamp. Zero is a sentinel value for block.timestamp.