Distribute
The SEILOR token allocation contract includes a linear release of locks and warehouses, including Community Offering Liquidity, MM, Incentives, Mining Rewards, Team, and Partners & Advisors.
Config
Key | Type | Description |
---|---|---|
gov | Addr | The address of the governance contract |
total_amount | u128 | Total amount of SEILOR |
distribute_token | Addr | Token address to be distributed |
rules_total_amount | u128 | Total amount of rules |
new_gov | Addr | New Governance address |
distribute_ve_token | Addr | veToken address to be distributed |
token_cap | Uint128 | Token amount limit |
InitMsg
Key | Type | Description |
---|---|---|
gov* | Addr | Governance contract address |
total_amount | u128 | Total amount of SEILOR |
distribute_token | Addr | Token address to be distributed |
rule_configs_map | HashMap<String, RuleConfigMsg> | Rule configuration map |
Key | Type | Description |
---|---|---|
rule_name | String | Rule name |
rule_owner | Addr | Rule owner |
rule_total_amount | u128 | Rule total amount |
start_release_amount | u128 | Start release amount |
lock_start_time | u64 | Lock start time |
lock_end_time | u64 | Lock end time |
start_linear_release_time | u64 | Start linear release time |
unlock_linear_release_amount | u128 | Unlock linear release amount |
unlock_linear_release_time | u64 | Unlock linear release time |
ExecuteMsg
Claim
Claim the vested SEILOR tokens.
Key | Type | Description |
---|---|---|
rule_type | String | Rule type |
msg* | Binary | Message |
* = optional
UpdateConfig
Update the configuration of the contract.
Key | Type | Description |
---|---|---|
gov* | Addr | Governance contract address |
distribute_token* | Addr | Token address to be distributed |
* = optional
UpdateRuleConfig
Update the configuration of the rule.
Key | Type | Description |
---|---|---|
update_rule_msg | UpdateRuleConfigMsg |
Key | ||
---|---|---|
rule_type | String | Rule type |
rule_name* | String | Rule name |
rule_owner* | Addr | Rule owner |
* = optional
AddRuleConfig
Key | Type | Description |
---|---|---|
rule_type | String | Rule type |
rule_msg* | RuleConfigMsg | Rule config |
Key | Type | Description |
---|---|---|
rule_name | String | Rule name |
rule_owner | Addr | Rule owner |
rule_total_amount | u128 | Rule total amount |
start_release_amount | u128 | Start release amount |
lock_start_time | u64 | Lock start time |
lock_end_time | u64 | Lock end time |
start_linear_release_time | u64 | Start linear release time |
unlock_linear_release_amount | u128 | Unlock linear release amount |
unlock_linear_release_time | u64 | Unlock linear release time |
QueryMsg
QueryClaimableInfo
Query the claimable info.
Key | Type | Description |
---|---|---|
rule_type | String | Rule type |
QueryClaimableInfoResponse
Key | Type | Description |
---|---|---|
can_claim_amount | u128 | Can claim amount |
release_amount | u128 | Release amount |
linear_release_amount | u128 | Linear release amount |
QueryRuleInfo
Query the rule info.
Key | Type | Description |
---|---|---|
rule_type | String | Rule type |
QueryRuleInfoResponse
Key | Type | Description |
---|---|---|
rule_config | RuleConfig | Rule config |
rule_config_type | RuleConfigType | Rule config type |
Key | Type | Description |
---|---|---|
rule_name | String | Rule name |
rule_owner | Addr | Rule owner |
rule_total_amount | u128 | Rule total amount |
start_release_amount | u128 | Start release amount |
lock_start_time | u64 | Lock start time |
lock_end_time | u64 | Lock end time |
start_linear_release_time | u64 | Start linear release time |
end_linear_release_time | u64 | End linear release time |
unlock_linear_release_amount | u128 | Unlock linear release amount |
unlock_linear_release_time | u64 | Unlock linear release time |
linear_release_per_second | u128 | Linear release per second |
Key | Type | Description |
---|---|---|
is_start_release | bool | Is start release |
released_amount | u128 | Released amount |
claimed_amount | u128 | Claimed amount |
last_claim_linear_release_time | u64 | Last claim linear release time |
QueryConfig
Query the configuration of the distribute contract.
Key | Type | Description |
---|---|---|
gov | Addr | Governance contract address |
total_amount | u128 | Total amount of SEILOR |
distribute_token | Addr | Token address to be distributed |
distribute_ve_token | Addr | veToken address to be distributed |
rules_total_amount | u128 | Total amount of rules |
token_cap* | Uint128 | Token amount limit |
new_gov* | Addr | New governance contract address |
* = optional
Last updated