messages

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: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MsgBurn

type MsgBurn struct {
	Account sdk.AccAddress `json:"address"`
	Amount  types.Coin     `json:"amount"`
}

Load coins to an account

func NewMsgBurn

func NewMsgBurn(account sdk.AccAddress, amt types.Coin) MsgBurn

NewMsgBurn

func (MsgBurn) GetSignBytes

func (msg MsgBurn) GetSignBytes() []byte

func (MsgBurn) GetSigners

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

func (MsgBurn) Route added in v0.2.0

func (msg MsgBurn) Route() string

func (MsgBurn) Tags

func (msg MsgBurn) Tags() sdk.Tags

func (MsgBurn) Type

func (msg MsgBurn) Type() string

Implement Msg

func (MsgBurn) ValidateBasic

func (msg MsgBurn) ValidateBasic() sdk.Error

Implement Msg. Load to ensure the address are good and the amount is positive

type MsgCheck

type MsgCheck struct {
	Account sdk.AccAddress `json:"account"`
}

MsgCheck to send coins from Input to Output

func NewMsgCheck

func NewMsgCheck(account sdk.AccAddress) MsgCheck

NewMsgCheck

func (MsgCheck) GetSignBytes

func (msg MsgCheck) GetSignBytes() []byte

Implements Msg. JSON encode the message.

func (MsgCheck) GetSigners

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

Implements Msg. Return the signer.

func (MsgCheck) Route added in v0.2.0

func (msg MsgCheck) Route() string

func (MsgCheck) Tags

func (msg MsgCheck) Tags() sdk.Tags

Returns the sdk.Tags for the message

func (MsgCheck) Type

func (msg MsgCheck) Type() string

Implements Msg.

func (MsgCheck) ValidateBasic

func (msg MsgCheck) ValidateBasic() sdk.Error

Implements Msg. Ensure the addresses are good and the amount is positive.

type MsgLoad

type MsgLoad struct {
	Account sdk.AccAddress `json:"address"`
	Amount  types.Coin     `json:"amount"`
}

Load coins to an account

func NewMsgLoad

func NewMsgLoad(account sdk.AccAddress, amt types.Coin) MsgLoad

NewMsgLoad

func (MsgLoad) GetSignBytes

func (msg MsgLoad) GetSignBytes() []byte

func (MsgLoad) GetSigners

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

func (MsgLoad) Route added in v0.2.0

func (msg MsgLoad) Route() string

func (MsgLoad) Tags

func (msg MsgLoad) Tags() sdk.Tags

func (MsgLoad) Type

func (msg MsgLoad) Type() string

Implement Msg

func (MsgLoad) ValidateBasic

func (msg MsgLoad) ValidateBasic() sdk.Error

Implement Msg. Load to ensure the address are good and the amount is positive

type MsgSend

type MsgSend struct {
	To     sdk.AccAddress `json:"to"`
	Amount types.Coin     `json:"amount"`
}

MsgSend to send coins from Input to Output

func NewMsgSend

func NewMsgSend(to sdk.AccAddress, amt types.Coin) MsgSend

NewMsgSend

func (MsgSend) GetSignBytes

func (msg MsgSend) GetSignBytes() []byte

Implements Msg. JSON encode the message.

func (MsgSend) GetSigners

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

Implements Msg. Return the signer.

func (MsgSend) Route added in v0.2.0

func (msg MsgSend) Route() string

func (MsgSend) Tags

func (msg MsgSend) Tags() sdk.Tags

Returns the sdk.Tags for the message

func (MsgSend) Type

func (msg MsgSend) Type() string

Implements Msg.

func (MsgSend) ValidateBasic

func (msg MsgSend) ValidateBasic() sdk.Error

Implements Msg. Ensure the addresses are good and the amount is positive.

Jump to

Keyboard shortcuts

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