Data Models
Data models present in the unlocker smart contract.
Preset
struct Preset {
uint256[] linearStartTimestampsRelative;
uint256 linearEndTimestampRelative;
uint256[] linearBips;
uint256[] numOfUnlocksForEachLinear;
bool stream;
}Actual
struct Actual {
bytes32 presetId;
uint256 startTimestampAbsolute;
uint256 amountClaimed;
uint256 totalAmount;
}Last updated
Was this helpful?