Dispatcher
This contract mainly releases Seilor tokens of SHO on a monthly basis. (Lock the locked Seilor tokens in this contract)
Config
Key | Type | Description |
---|---|---|
gov | Addr | The address of the governance contract |
claim_token | Addr | The address of the token contract to be claimed |
end_regret_time | u64 | The end time of the regret period |
total_lock_amount | Uint256 | The total amount of tokens to be locked |
start_lock_period_time | u64 | The start time of the lock period |
duration_per_period | u64 | The duration of each lock period |
periods | u64 | The number of lock periods |
InitMsg
Key | Type | Description |
---|---|---|
gov | Addr | The address of the governance contract |
claim_token | Addr | The address of the token contract to be claimed |
total_lock_amount | Uint256 | The total amount of tokens to be locked |
start_lock_period_time | u64 | The start time of the lock period |
duration_per_period | u64 | The duration of each lock period |
periods | u64 | The number of lock periods |
ExecuteMsg
UpdateConfig
Key | Type | Description |
---|---|---|
gov* | Addr | The address of the governance contract |
claim_token* | Addr | The address of the token contract to be claimed |
start_lock_period_time | u64 | The start time of the lock period |
total_lock_amount* | Uint256 | The total amount of tokens to be locked |
'* = optional
AddUser
Key | Type | Description |
---|---|---|
add_user | Vec<AddUserMsg> | List of AddUserMsg |
Key | Type | Description |
---|---|---|
user | Addr | The address of the user to be added |
lock_amount | Uint256 | The amount of tokens to be locked |
replace | bool | Whether to replace the existing user with the same address (default: false) |
UserRegret
UserClaim
RegretClaim
QueryMsg
QueryGlobalConfig
GlobalInfosResponse
Key | Type | Description |
---|---|---|
config | GlobalConfig | Configuration in the GlobalConfig struct |
state | GlobalState | Station in the GlobalState struct |
Key | Type | Description |
---|---|---|
gov | Addr | The address of the governance contract |
claim_token | Addr | The address of the token contract to be claimed |
total_lock_amount | Uint256 | The total amount of tokens to be locked |
start_lock_period_time | u64 | The start time of the lock period |
duration_per_period | u64 | The duration of each lock period |
periods | u64 | The number of lock periods |
Key | Type | Description |
---|---|---|
total_user_lock_amount | Uint256 | The total amount of tokens to be locked by all users |
total_user_claimed_lock_amount | Uint256 | The total amount of tokens to be locked by all users that have been claimed |
QueryUserInfo
UserInfoResponse
Key | Type | Description |
---|---|---|
state | UserState | The user state |
current_period | u64 | The current lock period |
claimable_lock_amount | Uint256 | The amount of tokens that can be claimed by the user in the current period |
Key | Type | Description |
---|---|---|
user | Addr | The address of the user |
total_user_lock_amount | Uint256 | The total amount of tokens to be locked by the user |
claimed_lock_amount | Uint256 | The total amount of tokens to be locked by the user that have been claimed |
last_claimed_period | u64 | The last claimed lock period |
user_per_lock_amount | Uint256 | The amount of tokens to be locked by the user per lock period |
QueryUserInfos
Key | Type | Description |
---|---|---|
start_after* | Addr | The address of the user to start after |
limit* | u32 | The maximum number of users to return |
* = optional
Last updated