distribution

package
v0.0.0-...-0666018 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 12, 2023 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DistributionClient

type DistributionClient struct {
}

func NewClient

func NewClient() DistributionClient

func (DistributionClient) HandleTxMsg

func (distribution DistributionClient) HandleTxMsg(v sdk.Msg) (MsgDocInfo, bool)

type DocTxMsgFundCommunityPool

type DocTxMsgFundCommunityPool struct {
	Amount    []types.Coin `bson:"amount"`
	Depositor string       `bson:"depositor"`
}

msg struct for delegation withdraw for all of the delegator's delegations

func (*DocTxMsgFundCommunityPool) BuildMsg

func (m *DocTxMsgFundCommunityPool) BuildMsg(txMsg interface{})

func (*DocTxMsgFundCommunityPool) GetType

func (m *DocTxMsgFundCommunityPool) GetType() string

func (*DocTxMsgFundCommunityPool) HandleTxMsg

func (m *DocTxMsgFundCommunityPool) HandleTxMsg(v SdkMsg) MsgDocInfo

type DocTxMsgSetWithdrawAddress

type DocTxMsgSetWithdrawAddress struct {
	DelegatorAddress string `bson:"delegator_address"`
	WithdrawAddress  string `bson:"withdraw_address"`
}

func (*DocTxMsgSetWithdrawAddress) BuildMsg

func (m *DocTxMsgSetWithdrawAddress) BuildMsg(txMsg interface{})

func (*DocTxMsgSetWithdrawAddress) GetType

func (m *DocTxMsgSetWithdrawAddress) GetType() string

func (*DocTxMsgSetWithdrawAddress) HandleTxMsg

func (m *DocTxMsgSetWithdrawAddress) HandleTxMsg(v SdkMsg) MsgDocInfo

type DocTxMsgWithdrawDelegatorReward

type DocTxMsgWithdrawDelegatorReward struct {
	DelegatorAddress string `bson:"delegator_address"`
	ValidatorAddress string `bson:"validator_address"`
}

msg struct for delegation withdraw from a single validator

func (*DocTxMsgWithdrawDelegatorReward) BuildMsg

func (m *DocTxMsgWithdrawDelegatorReward) BuildMsg(txMsg interface{})

func (*DocTxMsgWithdrawDelegatorReward) GetType

func (*DocTxMsgWithdrawDelegatorReward) HandleTxMsg

func (m *DocTxMsgWithdrawDelegatorReward) HandleTxMsg(v SdkMsg) MsgDocInfo

type DocTxMsgWithdrawValidatorCommission

type DocTxMsgWithdrawValidatorCommission struct {
	ValidatorAddress string `bson:"validator_address"`
}

msg struct for validator withdraw

func (*DocTxMsgWithdrawValidatorCommission) BuildMsg

func (m *DocTxMsgWithdrawValidatorCommission) BuildMsg(txMsg interface{})

func (*DocTxMsgWithdrawValidatorCommission) GetType

func (*DocTxMsgWithdrawValidatorCommission) HandleTxMsg

func (m *DocTxMsgWithdrawValidatorCommission) HandleTxMsg(v SdkMsg) MsgDocInfo

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL