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 | 2628288 |
MESSENGER_ID | 73060985 |
DISTRIBUTION_COUNT | 12 |
DISTRIBUTION_SECONDS | 2628288 |
owner, funder, deadline, and initial are parameters specified by deployer
PERIOD_SECONDS = 2628288 = 30.5 days
Command
Deploy airdrop contract with configuration
scs-cli deploy --name "testnet" --period-seconds 2628288 --period-limit 5 --vesting-delay 1 --lockup-delay 12 --period-seconds 2628288 --messenger-id 73060985 --distribution-count 12 --distribution-seconds 2628288 --type airdrop-factory
Configuration
Variable Name | Value |
---|---|
PERIOD_LIMIT | 5 |
VESTING_DELAY | 1 |
LOCKUP_DELAY | 12 |
PERIOD_SECONDS | 10 |
MESSENGER_ID | 73060985 |
DISTRIBUTION_COUNT | 12 |
DISTRIBUTION_SECONDS | 10 |
10
is an arbitrary value for PERIOD_SECONDS
and DISTRIBUTION_SECONDS
for testing purposes.
Command
Deploy airdrop contract with configuration
scs-cli deploy --name "testnet" --period-seconds 2628288 --period-limit 5 --vesting-delay 1 --lockup-delay 12 --period-seconds 10 --messenger-id 73060985 --distribution-count 12 --distribution-seconds 10 --type airdrop-factory
Variable Name | Value |
---|---|
PERIOD_LIMIT | 17 |
VESTING_DELAY | 1 |
LOCKUP_DELAY | 1 |
PERIOD_SECONDS | 2628288 |
MESSENGER_ID | 73060985 |
DISTRIBUTION_COUNT | 1 |
DISTRIBUTION_SECONDS | 2628288 |
scs-cli deploy --name "staking" --period-seconds 1 --period-limit 17 --vesting-delay 1 --lockup-delay 1 --period-seconds 1 --messenger-id 73060985 --distribution-count 1 --distribution-seconds 1 --type staking-factory
Notes
owner, funder, delegate, and period are parameters specified by deployer.
The deployer is not the funder. The deployer is likely the owner. The funder is the address that will fund the contract.
The delegate is the address that will operate the contract participation.
period is a parameter specified by deployer that determines lockup period
PERIOD_SECONDS = 2628288 = 30.5 days
DISTRIBUTION_COUNT is variable dependent on period
period must be greater than 0