message

package
v0.2.2 Latest Latest
Warning

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

Go to latest
Published: Mar 13, 2019 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 MsgBeginRedelegate

type MsgBeginRedelegate struct {
	DelegatorAddr    sdk.AccAddress `json:"delegatorAddress"`
	ValidatorSrcAddr sdk.AccAddress `json:"validatorSrcAddress"`
	ValidatorDstAddr sdk.AccAddress `json:"validatorDstAddress"`
	SharesAmount     types.Dec      `json:"shareAmount"`
}

MsgDelegate - struct for bonding transactions

func NewMsgBeginRedelegate

func NewMsgBeginRedelegate(delAddr sdk.AccAddress, valSrcAddr,
	valDstAddr sdk.AccAddress, sharesAmount types.Dec) MsgBeginRedelegate

func (MsgBeginRedelegate) GetSignBytes

func (msg MsgBeginRedelegate) GetSignBytes() []byte

get the bytes for the message signer to sign on

func (MsgBeginRedelegate) GetSigners

func (msg MsgBeginRedelegate) GetSigners() []sdk.AccAddress

func (MsgBeginRedelegate) Route added in v0.2.0

func (msg MsgBeginRedelegate) Route() string

func (MsgBeginRedelegate) Type

func (msg MsgBeginRedelegate) Type() string

func (MsgBeginRedelegate) ValidateBasic

func (msg MsgBeginRedelegate) ValidateBasic() sdk.Error

quick validity check

type MsgBeginUnbonding

type MsgBeginUnbonding struct {
	DelegatorAddr sdk.AccAddress `json:"delegatorAddress"`
	ValidatorAddr sdk.AccAddress `json:"validatorAddress"`
	SharesAmount  types.Dec      `json:"sharesAmount"`
}

MsgBeginUnbonding - struct for unbonding transactions

func NewMsgBeginUnbonding

func NewMsgBeginUnbonding(delAddr sdk.AccAddress, valAddr sdk.AccAddress, sharesAmount types.Dec) MsgBeginUnbonding

func (MsgBeginUnbonding) GetSignBytes

func (msg MsgBeginUnbonding) GetSignBytes() []byte

get the bytes for the message signer to sign on

func (MsgBeginUnbonding) GetSigners

func (msg MsgBeginUnbonding) GetSigners() []sdk.AccAddress

func (MsgBeginUnbonding) Name

func (msg MsgBeginUnbonding) Name() string

func (MsgBeginUnbonding) Route added in v0.2.0

func (msg MsgBeginUnbonding) Route() string

func (MsgBeginUnbonding) Type

func (msg MsgBeginUnbonding) Type() string

nolint

func (MsgBeginUnbonding) ValidateBasic

func (msg MsgBeginUnbonding) ValidateBasic() sdk.Error

quick validity check

type MsgCompleteRedelegate

type MsgCompleteRedelegate struct {
	DelegatorAddr    sdk.AccAddress `json:"delegatorAddress"`
	ValidatorSrcAddr sdk.AccAddress `json:"validatorSrcAddress"`
	ValidatorDstAddr sdk.AccAddress `json:"validatorDstAddress"`
}

MsgDelegate - struct for bonding transactions

func NewMsgCompleteRedelegate

func NewMsgCompleteRedelegate(delegatorAddr, validatorSrcAddr,
	validatorDstAddr sdk.AccAddress) MsgCompleteRedelegate

func (MsgCompleteRedelegate) GetSignBytes

func (msg MsgCompleteRedelegate) GetSignBytes() []byte

get the bytes for the message signer to sign on

func (MsgCompleteRedelegate) GetSigners

func (msg MsgCompleteRedelegate) GetSigners() []sdk.AccAddress

func (MsgCompleteRedelegate) Route added in v0.2.0

func (msg MsgCompleteRedelegate) Route() string

func (MsgCompleteRedelegate) Type

func (msg MsgCompleteRedelegate) Type() string

nolint

func (MsgCompleteRedelegate) ValidateBasic

func (msg MsgCompleteRedelegate) ValidateBasic() sdk.Error

quick validity check

type MsgCompleteUnbonding

type MsgCompleteUnbonding struct {
	DelegatorAddr sdk.AccAddress `json:"delegatorAddress"`
	ValidatorAddr sdk.AccAddress `json:"validatorAddress"`
}

MsgCompleteUnbonding - struct for unbonding transactions

func NewMsgCompleteUnbonding

func NewMsgCompleteUnbonding(delAddr sdk.AccAddress, valAddr sdk.AccAddress) MsgCompleteUnbonding

func (MsgCompleteUnbonding) GetSignBytes

func (msg MsgCompleteUnbonding) GetSignBytes() []byte

get the bytes for the message signer to sign on

func (MsgCompleteUnbonding) GetSigners

func (msg MsgCompleteUnbonding) GetSigners() []sdk.AccAddress

func (MsgCompleteUnbonding) Name

func (msg MsgCompleteUnbonding) Name() string

func (MsgCompleteUnbonding) Route added in v0.2.0

func (msg MsgCompleteUnbonding) Route() string

func (MsgCompleteUnbonding) Type

func (msg MsgCompleteUnbonding) Type() string

nolint

func (MsgCompleteUnbonding) ValidateBasic

func (msg MsgCompleteUnbonding) ValidateBasic() sdk.Error

quick validity check

type MsgCreateValidator

type MsgCreateValidator struct {
	Description   posTypes.Description
	DelegatorAddr sdk.AccAddress `json:"delegator_address"`
	ValidatorAddr sdk.AccAddress `json:"validator_address"`
	PubKey        types.PubKey   `json:"pubkey"`
	Delegation    types.Coin     `json:"delegation"`
}

MsgCreateValidator - struct for unbonding transactions

func (MsgCreateValidator) GetSignBytes

func (msg MsgCreateValidator) GetSignBytes() []byte

get the bytes for the message signer to sign on

func (MsgCreateValidator) GetSigners

func (msg MsgCreateValidator) GetSigners() []sdk.AccAddress

Return address(es) that must sign over msg.GetSignBytes()

func (MsgCreateValidator) Route added in v0.2.0

func (msg MsgCreateValidator) Route() string

func (MsgCreateValidator) Type

func (msg MsgCreateValidator) Type() string

Type Implements Msg

func (MsgCreateValidator) ValidateBasic

func (msg MsgCreateValidator) ValidateBasic() sdk.Error

quick validity check

type MsgDelegate

type MsgDelegate struct {
	DelegatorAddr sdk.AccAddress `json:"delegatorAddress"`
	ValidatorAddr sdk.AccAddress `json:"validatorAddress"`
	Delegation    types.Coin     `json:"delegation"`
}

MsgDelegate - struct for bonding transactions

func NewMsgDelegate

func NewMsgDelegate(delAddr sdk.AccAddress, valAddr sdk.AccAddress, delegation types.Coin) MsgDelegate

func (MsgDelegate) GetSignBytes

func (msg MsgDelegate) GetSignBytes() []byte

get the bytes for the message signer to sign on

func (MsgDelegate) GetSigners

func (msg MsgDelegate) GetSigners() []sdk.AccAddress

func (MsgDelegate) Route added in v0.2.0

func (msg MsgDelegate) Route() string

func (MsgDelegate) Type

func (msg MsgDelegate) Type() string

nolint

func (MsgDelegate) ValidateBasic

func (msg MsgDelegate) ValidateBasic() sdk.Error

quick validity check

type MsgEditValidator

type MsgEditValidator struct {
	posTypes.Description
	ValidatorAddr sdk.AccAddress `json:"address"`
}

func NewMsgEditValidator

func NewMsgEditValidator(valAddr sdk.AccAddress, description posTypes.Description) MsgEditValidator

func (MsgEditValidator) GetSignBytes

func (msg MsgEditValidator) GetSignBytes() []byte

get the bytes for the message signer to sign on

func (MsgEditValidator) GetSigners

func (msg MsgEditValidator) GetSigners() []sdk.AccAddress

func (MsgEditValidator) Route added in v0.2.0

func (msg MsgEditValidator) Route() string

func (MsgEditValidator) Type

func (msg MsgEditValidator) Type() string

func (MsgEditValidator) ValidateBasic

func (msg MsgEditValidator) ValidateBasic() sdk.Error

quick validity check

type MsgWithdraw

type MsgWithdraw struct {
	DelegatorAddr sdk.AccAddress `json:"delegatorAddress"`
	ValidatorAddr sdk.AccAddress `json:"validatorAddress"`
}

MsgWithdraw - struct for bonding transactions

func NewMsgWithdraw

func NewMsgWithdraw(delAddr sdk.AccAddress, valAddr sdk.AccAddress) MsgWithdraw

func (MsgWithdraw) GetSignBytes

func (msg MsgWithdraw) GetSignBytes() []byte

get the bytes for the message signer to sign on

func (MsgWithdraw) GetSigners

func (msg MsgWithdraw) GetSigners() []sdk.AccAddress

func (MsgWithdraw) Route added in v0.2.0

func (msg MsgWithdraw) Route() string

func (MsgWithdraw) Type

func (msg MsgWithdraw) Type() string

nolint

func (MsgWithdraw) ValidateBasic

func (msg MsgWithdraw) ValidateBasic() sdk.Error

quick validity check

Jump to

Keyboard shortcuts

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