Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var MsgCdc = codec.New()
Functions ¶
Types ¶
type MsgFlag ¶
type MsgFlag interface { sdk.Msg GetRecordId() string SetRecordId(string) GetSender() sdk.AccAddress SetSender(sdk.AccAddress) }
type MsgRecord ¶
type MsgRecord struct { Sender sdk.AccAddress `json:"sender"` *params.RecordParams `json:"params"` }
MsgRecord to allow a registered recordr to record new coins.
func NewMsgRecord ¶
func NewMsgRecord(sender sdk.AccAddress, params *params.RecordParams) MsgRecord
New MsgRecord Instance
func (MsgRecord) GetSignBytes ¶
GetSignBytes Implements Msg.
func (MsgRecord) GetSigners ¶
func (msg MsgRecord) GetSigners() []sdk.AccAddress
GetSigners Implements Msg.
func (MsgRecord) ValidateBasic ¶
Implements Msg. Ensures addresses are valid and Coin is positive
Click to show internal directories.
Click to hide internal directories.