Documentation ¶
Index ¶
Constants ¶
View Source
const ( ModuleName = "vpn" RouterKey = ModuleName QuerierRoute = ModuleName StoreKey = ModuleName )
Variables ¶
View Source
var ( ErrorMarshal = errors.Register(ModuleName, 101, "error occurred while marshalling") ErrorUnmarshal = errors.Register(ModuleName, 102, "error occurred while unmarshalling") ErrorUnknownMsgType = errors.Register(ModuleName, 103, "unknown message type") ErrorUnknownQueryType = errors.Register(ModuleName, 104, "unknown query type") ErrorInvalidField = errors.Register(ModuleName, 105, "invalid field") )
View Source
var (
ModuleCdc *codec.Codec
)
Functions ¶
func RegisterCodec ¶
Types ¶
type GenesisState ¶
type GenesisState struct { Deposits deposit.GenesisState `json:"deposits"` Providers provider.GenesisState `json:"providers"` Nodes node.GenesisState `json:"nodes"` Plans plan.GenesisState `json:"plans"` Subscriptions subscription.GenesisState `json:"subscriptions"` Sessions session.GenesisState `json:"sessions"` }
func DefaultGenesisState ¶
func DefaultGenesisState() GenesisState
func NewGenesisState ¶
func NewGenesisState(deposits deposit.GenesisState, providers provider.GenesisState, nodes node.GenesisState, plans plan.GenesisState, subscriptions subscription.GenesisState, sessions session.GenesisState) GenesisState
Click to show internal directories.
Click to hide internal directories.