Documentation ¶
Index ¶
Constants ¶
View Source
const ( ModuleName = "reseeding" StoreKey = ModuleName RouterKey = ModuleName )
Variables ¶
View Source
var ModuleCdc *codec.Codec
ModuleCdc generic sealed codec to be used throughout this module
Functions ¶
func GetSeedKey ¶
func ValidateGenesis ¶
func ValidateGenesis(data GenesisState) error
Types ¶
type GenesisState ¶
type GenesisState struct { }
GenesisState is the state that must be provided at genesis.
func DefaultGenesisState ¶
func DefaultGenesisState() GenesisState
DefaultGenesisState returns a default genesis state.
func NewGenesisState ¶
func NewGenesisState() GenesisState
NewGenesisState creates a new genesis state.
type MsgSeed ¶
type MsgSeed struct { Sender sdk.AccAddress Seed []byte }
MsgSeed defines a seed obtained by a participant.
func NewMsgSeed ¶
func NewMsgSeed(sender sdk.AccAddress, seed []byte) MsgSeed
MsgSeed is a constructor function for MsgSeed.
func (MsgSeed) GetSigners ¶
func (msg MsgSeed) GetSigners() []sdk.AccAddress
GetSigners Implements Msg.
func (MsgSeed) ValidateBasic ¶
ValidateBasic Implements Msg.
Click to show internal directories.
Click to hide internal directories.