Documentation ¶
Index ¶
- func BuildUnbondingDelegationResponseCW(unbondingDelegations []stakingtypes.UnbondingDelegation) []types.UnbondingDelegation
- type Messenger
- type Querier
- func (oq *Querier) BuildAllValidatorsResponseCW(ctx sdk.Context, allValidators []stakingtypes.Validator, ...) []commitmenttypes.ValidatorDetail
- func (oq *Querier) BuildDelegatorValidatorsResponseCW(ctx sdk.Context, validators []stakingtypes.Validator, ...) []commitmenttypes.ValidatorDetail
- func (oq *Querier) BuildStakedPositionResponseCW(ctx sdk.Context, validators []stakingtypes.Validator, ...) []commitmenttypes.StakedPosition
- func (oq *Querier) BuildUnStakedPositionResponseCW(ctx sdk.Context, unbondingDelegations []stakingtypes.UnbondingDelegation, ...) []commitmenttypes.UnstakedPosition
- func (oq *Querier) DelegationToDelegationResponse(ctx sdk.Context, del stakingtypes.Delegation) (types.DelegationResponse, error)
- func (oq *Querier) DelegationsToDelegationResponses(ctx sdk.Context, delegations stakingtypes.Delegations) ([]types.DelegationResponse, error)
- func (oq *Querier) HandleQuery(ctx sdk.Context, query wasmbindingstypes.ElysQuery) ([]byte, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BuildUnbondingDelegationResponseCW ¶ added in v0.15.0
func BuildUnbondingDelegationResponseCW(unbondingDelegations []stakingtypes.UnbondingDelegation) []types.UnbondingDelegation
Types ¶
type Messenger ¶
type Messenger struct {
// contains filtered or unexported fields
}
Messenger handles messages for the Commitment module.
func NewMessenger ¶
func NewMessenger(keeper *keeper.Keeper, stakingKeeper *stakingkeeper.Keeper) *Messenger
type Querier ¶
type Querier struct {
// contains filtered or unexported fields
}
Querier handles queries for the Commitment module.
func NewQuerier ¶
func NewQuerier(keeper *keeper.Keeper, stakingKeeper *stakingkeeper.Keeper) *Querier
func (*Querier) BuildAllValidatorsResponseCW ¶ added in v0.15.0
func (oq *Querier) BuildAllValidatorsResponseCW(ctx sdk.Context, allValidators []stakingtypes.Validator, validators []stakingtypes.Validator, totalBonded cosmos_sdk_math.Int, delegatorAddress string) []commitmenttypes.ValidatorDetail
func (*Querier) BuildDelegatorValidatorsResponseCW ¶ added in v0.15.0
func (oq *Querier) BuildDelegatorValidatorsResponseCW(ctx sdk.Context, validators []stakingtypes.Validator, totalBonded cosmos_sdk_math.Int, delegatorAddress string) []commitmenttypes.ValidatorDetail
func (*Querier) BuildStakedPositionResponseCW ¶ added in v0.15.0
func (oq *Querier) BuildStakedPositionResponseCW(ctx sdk.Context, validators []stakingtypes.Validator, totalBonded cosmos_sdk_math.Int, delegatorAddress string) []commitmenttypes.StakedPosition
func (*Querier) BuildUnStakedPositionResponseCW ¶ added in v0.15.0
func (oq *Querier) BuildUnStakedPositionResponseCW(ctx sdk.Context, unbondingDelegations []stakingtypes.UnbondingDelegation, totalBonded cosmos_sdk_math.Int, delegatorAddress string) []commitmenttypes.UnstakedPosition
func (*Querier) DelegationToDelegationResponse ¶ added in v0.15.0
func (oq *Querier) DelegationToDelegationResponse(ctx sdk.Context, del stakingtypes.Delegation) (types.DelegationResponse, error)
func (*Querier) DelegationsToDelegationResponses ¶ added in v0.15.0
func (oq *Querier) DelegationsToDelegationResponses(ctx sdk.Context, delegations stakingtypes.Delegations) ([]types.DelegationResponse, error)
func (*Querier) HandleQuery ¶
Source Files ¶
- messenger.go
- msg_cancel_vest.go
- msg_commit_liquid_tokens.go
- msg_commit_unclaimed_rewards.go
- msg_stake.go
- msg_uncommit_tokens.go
- msg_unstake.go
- msg_update_vesting_info.go
- msg_vest.go
- msg_vest_now.go
- querier.go
- query_all_validators.go
- query_delegations.go
- query_delegator_validators.go
- query_params.go
- query_reward_balance.go
- query_reward_sub_bucket_balance.go
- query_show_commitments.go
- query_staked_balance.go
- query_staked_positions.go
- query_unbonding_delegations.go
- query_unstaked_positions.go
- query_vesting_info.go
Click to show internal directories.
Click to hide internal directories.