Variable Name | Description |
---|---|
PERIOD_LIMIT |
Determines max value for lockup in configurable airdrop contract. |
VESTING_DELAY |
Determines the number of periods before vesting starts. |
LOCKUP_DELAY |
Determines the number of periods of a single lockup. |
PERIOD_SECONDS |
Determines the number of seconds in a period. |
MESSENGER_ID |
Determines the messenger id for the airdrop contract. |
DISTRIBUTION_COUNT |
Determines the number of distributions. |
DISTRIBUTION_SECONDS |
Determines the number of seconds between distributions. |
Settings for known contract factories and their variable.
Configuration
Variable Name | Value |
---|---|
PERIOD_LIMIT | 5 |
VESTING_DELAY | 1 |
LOCKUP_DELAY | 12 |
PERIOD_SECONDS | 2630000 |
MESSENGER_ID | 73060985 |
DISTRIBUTION_COUNT | 12 |
DISTRIBUTION_SECONDS | 2630000 |
owner, funder, deadline, and initial are parameters specified by deployer
PERIOD_SECONDS = 2628288 = 30.5 days
Command
Deploy airdrop factory contract with configuration
scs-cli deploy --period-seconds 2630000 --period-limit 5 --vesting-delay 12 --lockup-delay 12 --messenger-id 73060985 --distribution-count 12 --distribution-seconds 2630000 --type airdrop-factory --name airdrop --debug
Deploy airdrop contract
scs-cli factory deploy-airdrop --apid <AIRDROP_FACTORY_APID> --initial <AIRDROP_ZERO_LOCKUP_AMOUNT> --debug
Fund airdrop contract
scs-cli airdrop fill --apid <AIRDROP_APID> --amount <FILL_AMOUNT> --timestamp <FUNDING_TIMESTAMP> --debug