Documentation
¶
Index ¶
Constants ¶
View Source
const ( RouterKey = "nch" ModuleName = "nch" )
RouterKey is key name of the nch module
Variables ¶
View Source
var ( EventTypeTransfer = "transfer" AttributeKeyRecipient = "recipient" AttributeKeySender = "sender" AttributeValueCategory = ModuleName )
Bank module event types
Functions ¶
This section is empty.
Types ¶
type MsgSend ¶
type MsgSend struct {
From sdk.AccAddress `json:"from_address" yaml:"from_address"`
To sdk.AccAddress `json:"to_address" yaml:"to_address"`
Amount sdk.Coins `json:"amount" yaml:"amount"`
}
MsgSend defines a transfer message
func NewMsgSend ¶
func NewMsgSend(from sdk.AccAddress, to sdk.AccAddress, amount sdk.Coins) MsgSend
NewMsgSend is a constructor function for MsgSend
func (MsgSend) GetSignBytes ¶
GetSignBytes encodes the message for signing
func (MsgSend) GetSigners ¶
func (msg MsgSend) GetSigners() []sdk.AccAddress
GetSigners defines whose signature is required
func (MsgSend) ValidateBasic ¶
ValidateBasic runs stateless checks on the message
Click to show internal directories.
Click to hide internal directories.