Documentation ¶
Index ¶
- Constants
- Variables
- func RegisterInterfaces(registry codectypes.InterfaceRegistry)
- type GenesisState
- func (*GenesisState) Descriptor() ([]byte, []int)
- func (m *GenesisState) Marshal() (dAtA []byte, err error)
- func (m *GenesisState) MarshalTo(dAtA []byte) (int, error)
- func (m *GenesisState) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*GenesisState) ProtoMessage()
- func (m *GenesisState) Reset()
- func (m *GenesisState) Size() (n int)
- func (m *GenesisState) String() string
- func (m *GenesisState) Unmarshal(dAtA []byte) error
- func (m *GenesisState) Validate() error
- func (m *GenesisState) XXX_DiscardUnknown()
- func (m *GenesisState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GenesisState) XXX_Merge(src proto.Message)
- func (m *GenesisState) XXX_Size() int
- func (m *GenesisState) XXX_Unmarshal(b []byte) error
Constants ¶
View Source
const ( ModuleName = "vpn" StoreKey = ModuleName )
Variables ¶
Functions ¶
func RegisterInterfaces ¶ added in v0.6.0
func RegisterInterfaces(registry codectypes.InterfaceRegistry)
Types ¶
type GenesisState ¶
type GenesisState struct { Deposits []types.Deposit `protobuf:"bytes,1,rep,name=deposits,proto3" json:"deposits"` Nodes *types1.GenesisState `protobuf:"bytes,2,opt,name=nodes,proto3" json:"nodes,omitempty"` Plans []types2.GenesisPlan `protobuf:"bytes,3,rep,name=plans,proto3" json:"plans"` Providers *types3.GenesisState `protobuf:"bytes,4,opt,name=providers,proto3" json:"providers,omitempty"` Sessions *types4.GenesisState `protobuf:"bytes,5,opt,name=sessions,proto3" json:"sessions,omitempty"` Subscriptions *types5.GenesisState `protobuf:"bytes,6,opt,name=subscriptions,proto3" json:"subscriptions,omitempty"` }
func DefaultGenesisState ¶
func DefaultGenesisState() *GenesisState
func NewGenesisState ¶
func NewGenesisState( deposits deposittypes.GenesisState, providers *providertypes.GenesisState, nodes *nodetypes.GenesisState, plans plantypes.GenesisState, subscriptions *subscriptiontypes.GenesisState, sessions *sessiontypes.GenesisState, ) *GenesisState
func (*GenesisState) Descriptor ¶ added in v0.6.0
func (*GenesisState) Descriptor() ([]byte, []int)
func (*GenesisState) Marshal ¶ added in v0.6.0
func (m *GenesisState) Marshal() (dAtA []byte, err error)
func (*GenesisState) MarshalTo ¶ added in v0.6.0
func (m *GenesisState) MarshalTo(dAtA []byte) (int, error)
func (*GenesisState) MarshalToSizedBuffer ¶ added in v0.6.0
func (m *GenesisState) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*GenesisState) ProtoMessage ¶ added in v0.6.0
func (*GenesisState) ProtoMessage()
func (*GenesisState) Reset ¶ added in v0.6.0
func (m *GenesisState) Reset()
func (*GenesisState) Size ¶ added in v0.6.0
func (m *GenesisState) Size() (n int)
func (*GenesisState) String ¶ added in v0.6.0
func (m *GenesisState) String() string
func (*GenesisState) Unmarshal ¶ added in v0.6.0
func (m *GenesisState) Unmarshal(dAtA []byte) error
func (*GenesisState) Validate ¶ added in v0.6.0
func (m *GenesisState) Validate() error
func (*GenesisState) XXX_DiscardUnknown ¶ added in v0.6.0
func (m *GenesisState) XXX_DiscardUnknown()
func (*GenesisState) XXX_Marshal ¶ added in v0.6.0
func (m *GenesisState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GenesisState) XXX_Merge ¶ added in v0.6.0
func (m *GenesisState) XXX_Merge(src proto.Message)
func (*GenesisState) XXX_Size ¶ added in v0.6.0
func (m *GenesisState) XXX_Size() int
func (*GenesisState) XXX_Unmarshal ¶ added in v0.6.0
func (m *GenesisState) XXX_Unmarshal(b []byte) error
Click to show internal directories.
Click to hide internal directories.