Get desktop application:
View/edit binary Protocol Buffers messages
Msg defines the liquid staking Msg service.
LiquidStake defines a method for performing a delegation of coins from a delegator to whitelisted validators.
MsgLiquidStake defines a SDK message for performing a liquid stake of coins from a delegator to whitelisted validators.
MsgLiquidStakeResponse defines the Msg/LiquidStake response type.
(message has no fields)
LiquidUnstake defines a method for performing an undelegation of liquid staking from a delegate.
MsgLiquidUnstake defines a SDK message for performing an undelegation of liquid staking from a delegate.
MsgLiquidUnstakeResponse defines the Msg/LiquidUnstake response type.
Query defines the gRPC query service for the liquidstaking module.
LiquidValidators returns liquid validators with states of the liquidstaking module.
QueryLiquidValidatorsRequest is the request type for the Query/LiquidValidators RPC method.
(message has no fields)
QueryLiquidValidatorsResponse is the response type for the Query/LiquidValidators RPC method.
Params returns parameters of the liquidstaking module.
QueryParamsRequest is the request type for the Query/Params RPC method.
(message has no fields)
QueryParamsResponse is the response type for the Query/Params RPC method.
States returns states of the liquidstaking module.
QueryStatesRequest is the request type for the Query/States RPC method.
(message has no fields)
QueryStatesResponse is the response type for the Query/States RPC method.
VotingPower returns voting power of staking and liquid staking module's of the voter that can be exercised.
QueryVotingPowerRequest is the request type for the Query/States RPC method.
QueryVotingPowerResponse is the response type for the Query/States RPC method.
GenesisState defines the liquidstaking module's genesis state.
params defines all the parameters for the liquidstaking module
LiquidValidator defines a Validator that can be the target of LiquidStaking and LiquidUnstaking, Active, Weight, etc. fields are derived as functions to deal with by maintaining consistency with the state of the staking module.
Used in:
operator_address defines the address of the validator's operator; bech encoded in JSON.
LiquidValidatorState is type LiquidValidator with state added to return to query results.
Used in:
operator_address defines the address of the validator's operator; bech encoded in JSON.
weight specifies the weight for liquid staking, unstaking amount
status is the liquid validator status
del_shares define the delegation shares of the validator
liquid_tokens define the token amount worth of delegation shares of the validator (slashing applied amount)
NetAmountState is type for net amount raw data and mint rate, This is a value that depends on the several module state every time, so it is used only for calculation and query and is not stored in kv.
Used in:
mint_rate is bTokenTotalSupply / NetAmount
btoken_total_supply returns the total supply of btoken(liquid_bond_denom)
net_amount is proxy account's native token balance + total liquid tokens + total remaining rewards + total unbonding balance
total_del_shares define the delegation shares of all liquid validators
total_liquid_tokens define the token amount worth of delegation shares of all liquid validator (slashing applied amount)
total_remaining_rewards define the sum of remaining rewards of proxy account by all liquid validators
total_unbonding_balance define the unbonding balance of proxy account by all liquid validator (slashing applied amount)
proxy_acc_balance define the balance of proxy account for the native token
Params defines the set of params for the liquidstaking module.
Used in: ,
LiquidBondDenom specifies the denomination of the token receiving after LiquidStaking, The value is calculated through NetAmount.
WhitelistedValidators specifies the validators elected to become Active Liquid Validators.
UnstakeFeeRate specifies the fee rate when liquid unstake is requested, unbonded by subtracting it from unbondingAmount
MinLiquidStakingAmount specifies the minimum number of coins to be staked to the active liquid validators on liquid staking to minimize decimal loss and consider gas efficiency.
ValidatorStatus enumerates the status of a liquid validator.
Used in:
VALIDATOR_STATUS_UNSPECIFIED defines the unspecified invalid status.
VALIDATOR_STATUS_ACTIVE defines the active, valid status
VALIDATOR_STATUS_INACTIVE defines the inactive, invalid status
VotingPower is type for current voting power of the voter including staking module's voting power and liquid staking module's voting power, It depends on the amount of delegation of staking module, the bonded state of the delegated validator, the value of btoken(liquid_bond_denom), and the pool coin and farming position containing btoken..
Used in:
voter defines the address of the voter; bech encoded in JSON.
staking_voting_power return the voting power of staking that can be exercised.
liquid_staking_voting_power return the voting power of liquid staking that can be exercised.
validator_voting_power return the voting power of the validator if the voter is the validator operator that can be exercised.
WhitelistedValidator consists of the validator operator address and the target weight, which is a value for calculating the real weight to be derived according to the active status. In the case of inactive, it is calculated as zero.
Used in:
validator_address defines the bech32-encoded address that whitelisted validator
target_weight specifies the target weight for liquid staking, unstaking amount, which is a value for calculating the real weight to be derived according to the active status