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,
}
Key
Type
Description

gov

Addr

The address of the governance contract

ve_seilor_lock_settings

Vec<VeSeilorLockSetting>

List of VeSeilorLockSetting

Key
Type
Description

duration

Uint128

mining_boost

Uint128

InitMsg

Key
Type
Description

duration

String

The duration of the lock

mining_boost

String

The boost percentage

ExecuteMsg

AddLockSetting

Key
Type
Description

duration

String

The duration of the lock

mining_boost

String

The boost percentage

ChangeGov

Key
Type
Description

gov

String

The address of the governance contract

SetLockStatus

Key
Type
Description

index

number

The index of the lock setting to update

QueryMsg

GetUnlockTime

Key
Type
Description

user

String

The address of the user

GetUnlockTimeResponse

Key
Type
Description

unlock_time

String

The unlock time of user

GetUserLockStatus

Key
Type
Decription

user

String

The address of the user

LockStatusResponse

Key
Type
Description

unlock_time

string

The unlock time of user

duration

string

The duration of the lock

mining_boost

string

The boost percentage

GetUserBoost

Key
Type
Description

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

Key
Type
Description

user_boost

string

The boost percentage

GetBoostConfig

GetBoostConfigResponse

Key
Type
Description

gov

string

The address of the governance contract

ve_seilor_lock_settings

array

The array of the lock settings

Last updated