Documentation ¶
Index ¶
Constants ¶
View Source
const ( // module name ModuleName = "requestchain" // StoreKey to be used when creating the KVStore StoreKey = ModuleName )
View Source
const RouterKey = ModuleName // this was defined in your key.go file
Variables ¶
View Source
var ModuleCdc = codec.New()
Functions ¶
func RegisterCodec ¶
RegisterCodec registers concrete types on the Amino codec
Types ¶
type MsgAppendBlock ¶
type MsgAppendBlock struct { Block string `json:"block"` Signer sdk.AccAddress `json:"signer"` }
MsgAppendBlock defines the AppendBlock message
func NewMsgAppendBlock ¶
func NewMsgAppendBlock(block string, signer sdk.AccAddress) MsgAppendBlock
NewMsgBuyName is the constructor function for MsgBuyName
func (MsgAppendBlock) GetSignBytes ¶
func (msg MsgAppendBlock) GetSignBytes() []byte
GetSignBytes encodes the message for signing
func (MsgAppendBlock) GetSigners ¶
func (msg MsgAppendBlock) GetSigners() []sdk.AccAddress
GetSigners defines whose signature is required
func (MsgAppendBlock) Route ¶
func (msg MsgAppendBlock) Route() string
Route should return the name of the module
func (MsgAppendBlock) ValidateBasic ¶
func (msg MsgAppendBlock) ValidateBasic() sdk.Error
ValidateBasic runs stateless checks on the message
Click to show internal directories.
Click to hide internal directories.