Boost
veSEILOR holders receive a varied percentage of yield boost depending on the lock-up length.
Config
#[derive(Serialize, Deserialize, Clone, Debug, PartialEq, JsonSchema)]
pub struct BoostConfig {
pub gov: Addr,
pub ve_seilor_lock_settings: Vec<VeSeilorLockSetting>,
}
#[derive(Serialize, Deserialize, Clone, Debug, PartialEq, JsonSchema)]
pub struct VeSeilorLockSetting {
pub duration: Uint128,
pub mining_boost: Uint128,
}gov
Addr
The address of the governance contract
ve_seilor_lock_settings
Vec<VeSeilorLockSetting>
List of VeSeilorLockSetting
duration
Uint128
mining_boost
Uint128
InitMsg
duration
String
The duration of the lock
mining_boost
String
The boost percentage
ExecuteMsg
AddLockSetting
duration
String
The duration of the lock
mining_boost
String
The boost percentage
ChangeGov
gov
String
The address of the governance contract
SetLockStatus
index
number
The index of the lock setting to update
QueryMsg
GetUnlockTime
user
String
The address of the user
GetUnlockTimeResponse
unlock_time
String
The unlock time of user
GetUserLockStatus
user
String
The address of the user
LockStatusResponse
unlock_time
string
The unlock time of user
duration
string
The duration of the lock
mining_boost
string
The boost percentage
GetUserBoost
user
string
The address of the user
user_updated_at
string
The last updated time of user
finish_at
string
The finish time of user
GetUserBoostResponse
user_boost
string
The boost percentage
GetBoostConfig
GetBoostConfigResponse
gov
string
The address of the governance contract
ve_seilor_lock_settings
array
The array of the lock settings
Last updated