Documentation ¶
Overview ¶
Package types is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Index ¶
- Constants
- Variables
- func GetKickMetaNodeVotesKey(nodeAddr stratos.SdsAddress) []byte
- func GetMetaNodeKey(nodeAddr stratos.SdsAddress) []byte
- func GetMetaNodeRegistrationVotesKey(nodeAddr stratos.SdsAddress) []byte
- func GetResourceNodeKey(nodeAddr stratos.SdsAddress) []byte
- func GetSlashingKey(walletAddress sdk.AccAddress) []byte
- func GetUBDNodeKey(nodeAddr stratos.SdsAddress) []byte
- func GetUBDTimeKey(timestamp time.Time) []byte
- func MustMarshalMetaNode(cdc codec.Codec, metaNode MetaNode) []byte
- func MustMarshalResourceNode(cdc codec.Codec, resourceNode ResourceNode) []byte
- func ParamKeyTable() paramtypes.KeyTable
- func RegisterInterfaces(registry types.InterfaceRegistry)
- func RegisterLegacyAminoCodec(cdc *codec.LegacyAmino)
- func RegisterMsgServer(s grpc1.Server, srv MsgServer)
- func RegisterQueryHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterQueryHandlerClient(ctx context.Context, mux *runtime.ServeMux, client QueryClient) error
- func RegisterQueryHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterQueryHandlerServer(ctx context.Context, mux *runtime.ServeMux, server QueryServer) error
- func RegisterQueryServer(s grpc1.Server, srv QueryServer)
- func ValidateGenesis(data GenesisState) error
- type AccountKeeper
- type BankKeeper
- type CacheStatus
- type DepositInfo
- func (*DepositInfo) Descriptor() ([]byte, []int)
- func (m *DepositInfo) GetBondedDeposit() types.Coin
- func (m *DepositInfo) GetCreationTime() time.Time
- func (m *DepositInfo) GetDescription() Description
- func (m *DepositInfo) GetNetworkAddress() string
- func (m *DepositInfo) GetNodeType() uint32
- func (m *DepositInfo) GetOwnerAddress() string
- func (m *DepositInfo) GetPubkey() *types1.Any
- func (m *DepositInfo) GetStatus() types2.BondStatus
- func (m *DepositInfo) GetSuspend() bool
- func (m *DepositInfo) GetUnBondedDeposit() types.Coin
- func (m *DepositInfo) GetUnBondingDeposit() types.Coin
- func (m *DepositInfo) Marshal() (dAtA []byte, err error)
- func (m *DepositInfo) MarshalTo(dAtA []byte) (int, error)
- func (m *DepositInfo) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*DepositInfo) ProtoMessage()
- func (m *DepositInfo) Reset()
- func (m *DepositInfo) Size() (n int)
- func (m *DepositInfo) String() string
- func (m *DepositInfo) Unmarshal(dAtA []byte) error
- func (v DepositInfo) UnpackInterfaces(unpacker codectypes.AnyUnpacker) error
- func (m *DepositInfo) XXX_DiscardUnknown()
- func (m *DepositInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DepositInfo) XXX_Merge(src proto.Message)
- func (m *DepositInfo) XXX_Size() int
- func (m *DepositInfo) XXX_Unmarshal(b []byte) error
- type Description
- func (*Description) Descriptor() ([]byte, []int)
- func (d *Description) EnsureLength() (*Description, error)
- func (this *Description) Equal(that interface{}) bool
- func (m *Description) GetDetails() string
- func (m *Description) GetIdentity() string
- func (m *Description) GetMoniker() string
- func (m *Description) GetSecurityContact() string
- func (m *Description) GetWebsite() string
- func (m *Description) Marshal() (dAtA []byte, err error)
- func (m *Description) MarshalTo(dAtA []byte) (int, error)
- func (m *Description) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Description) ProtoMessage()
- func (m *Description) Reset()
- func (m *Description) Size() (n int)
- func (m *Description) String() string
- func (m *Description) Unmarshal(dAtA []byte) error
- func (m *Description) XXX_DiscardUnknown()
- func (m *Description) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Description) XXX_Merge(src proto.Message)
- func (m *Description) XXX_Size() int
- func (m *Description) XXX_Unmarshal(b []byte) error
- type DistrKeeper
- type EventCompleteUnBondingMetaNode
- func (*EventCompleteUnBondingMetaNode) Descriptor() ([]byte, []int)
- func (m *EventCompleteUnBondingMetaNode) GetAmount() string
- func (m *EventCompleteUnBondingMetaNode) GetNetworkAddress() string
- func (m *EventCompleteUnBondingMetaNode) Marshal() (dAtA []byte, err error)
- func (m *EventCompleteUnBondingMetaNode) MarshalTo(dAtA []byte) (int, error)
- func (m *EventCompleteUnBondingMetaNode) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*EventCompleteUnBondingMetaNode) ProtoMessage()
- func (m *EventCompleteUnBondingMetaNode) Reset()
- func (m *EventCompleteUnBondingMetaNode) Size() (n int)
- func (m *EventCompleteUnBondingMetaNode) String() string
- func (m *EventCompleteUnBondingMetaNode) Unmarshal(dAtA []byte) error
- func (m *EventCompleteUnBondingMetaNode) XXX_DiscardUnknown()
- func (m *EventCompleteUnBondingMetaNode) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EventCompleteUnBondingMetaNode) XXX_Merge(src proto.Message)
- func (m *EventCompleteUnBondingMetaNode) XXX_Size() int
- func (m *EventCompleteUnBondingMetaNode) XXX_Unmarshal(b []byte) error
- type EventCompleteUnBondingResourceNode
- func (*EventCompleteUnBondingResourceNode) Descriptor() ([]byte, []int)
- func (m *EventCompleteUnBondingResourceNode) GetAmount() string
- func (m *EventCompleteUnBondingResourceNode) GetNetworkAddress() string
- func (m *EventCompleteUnBondingResourceNode) Marshal() (dAtA []byte, err error)
- func (m *EventCompleteUnBondingResourceNode) MarshalTo(dAtA []byte) (int, error)
- func (m *EventCompleteUnBondingResourceNode) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*EventCompleteUnBondingResourceNode) ProtoMessage()
- func (m *EventCompleteUnBondingResourceNode) Reset()
- func (m *EventCompleteUnBondingResourceNode) Size() (n int)
- func (m *EventCompleteUnBondingResourceNode) String() string
- func (m *EventCompleteUnBondingResourceNode) Unmarshal(dAtA []byte) error
- func (m *EventCompleteUnBondingResourceNode) XXX_DiscardUnknown()
- func (m *EventCompleteUnBondingResourceNode) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EventCompleteUnBondingResourceNode) XXX_Merge(src proto.Message)
- func (m *EventCompleteUnBondingResourceNode) XXX_Size() int
- func (m *EventCompleteUnBondingResourceNode) XXX_Unmarshal(b []byte) error
- type EventCreateMetaNode
- func (*EventCreateMetaNode) Descriptor() ([]byte, []int)
- func (m *EventCreateMetaNode) GetNetworkAddress() string
- func (m *EventCreateMetaNode) GetSender() string
- func (m *EventCreateMetaNode) Marshal() (dAtA []byte, err error)
- func (m *EventCreateMetaNode) MarshalTo(dAtA []byte) (int, error)
- func (m *EventCreateMetaNode) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*EventCreateMetaNode) ProtoMessage()
- func (m *EventCreateMetaNode) Reset()
- func (m *EventCreateMetaNode) Size() (n int)
- func (m *EventCreateMetaNode) String() string
- func (m *EventCreateMetaNode) Unmarshal(dAtA []byte) error
- func (m *EventCreateMetaNode) XXX_DiscardUnknown()
- func (m *EventCreateMetaNode) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EventCreateMetaNode) XXX_Merge(src proto.Message)
- func (m *EventCreateMetaNode) XXX_Size() int
- func (m *EventCreateMetaNode) XXX_Unmarshal(b []byte) error
- type EventCreateResourceNode
- func (*EventCreateResourceNode) Descriptor() ([]byte, []int)
- func (m *EventCreateResourceNode) GetInitialDeposit() string
- func (m *EventCreateResourceNode) GetNetworkAddress() string
- func (m *EventCreateResourceNode) GetOzoneLimitChanges() string
- func (m *EventCreateResourceNode) GetPubkey() string
- func (m *EventCreateResourceNode) GetSender() string
- func (m *EventCreateResourceNode) Marshal() (dAtA []byte, err error)
- func (m *EventCreateResourceNode) MarshalTo(dAtA []byte) (int, error)
- func (m *EventCreateResourceNode) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*EventCreateResourceNode) ProtoMessage()
- func (m *EventCreateResourceNode) Reset()
- func (m *EventCreateResourceNode) Size() (n int)
- func (m *EventCreateResourceNode) String() string
- func (m *EventCreateResourceNode) Unmarshal(dAtA []byte) error
- func (m *EventCreateResourceNode) XXX_DiscardUnknown()
- func (m *EventCreateResourceNode) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EventCreateResourceNode) XXX_Merge(src proto.Message)
- func (m *EventCreateResourceNode) XXX_Size() int
- func (m *EventCreateResourceNode) XXX_Unmarshal(b []byte) error
- type EventKickMetaNodeVote
- func (*EventKickMetaNodeVote) Descriptor() ([]byte, []int)
- func (m *EventKickMetaNodeVote) GetSender() string
- func (m *EventKickMetaNodeVote) GetTargetNetworkAddress() string
- func (m *EventKickMetaNodeVote) GetTargetStatus() string
- func (m *EventKickMetaNodeVote) GetVoterNetworkAddress() string
- func (m *EventKickMetaNodeVote) Marshal() (dAtA []byte, err error)
- func (m *EventKickMetaNodeVote) MarshalTo(dAtA []byte) (int, error)
- func (m *EventKickMetaNodeVote) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*EventKickMetaNodeVote) ProtoMessage()
- func (m *EventKickMetaNodeVote) Reset()
- func (m *EventKickMetaNodeVote) Size() (n int)
- func (m *EventKickMetaNodeVote) String() string
- func (m *EventKickMetaNodeVote) Unmarshal(dAtA []byte) error
- func (m *EventKickMetaNodeVote) XXX_DiscardUnknown()
- func (m *EventKickMetaNodeVote) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EventKickMetaNodeVote) XXX_Merge(src proto.Message)
- func (m *EventKickMetaNodeVote) XXX_Size() int
- func (m *EventKickMetaNodeVote) XXX_Unmarshal(b []byte) error
- type EventMetaNodeRegistrationVote
- func (*EventMetaNodeRegistrationVote) Descriptor() ([]byte, []int)
- func (m *EventMetaNodeRegistrationVote) GetCandidateNetworkAddress() string
- func (m *EventMetaNodeRegistrationVote) GetCandidateStatus() string
- func (m *EventMetaNodeRegistrationVote) GetOzoneLimitChanges() string
- func (m *EventMetaNodeRegistrationVote) GetSender() string
- func (m *EventMetaNodeRegistrationVote) GetVoterNetworkAddress() string
- func (m *EventMetaNodeRegistrationVote) Marshal() (dAtA []byte, err error)
- func (m *EventMetaNodeRegistrationVote) MarshalTo(dAtA []byte) (int, error)
- func (m *EventMetaNodeRegistrationVote) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*EventMetaNodeRegistrationVote) ProtoMessage()
- func (m *EventMetaNodeRegistrationVote) Reset()
- func (m *EventMetaNodeRegistrationVote) Size() (n int)
- func (m *EventMetaNodeRegistrationVote) String() string
- func (m *EventMetaNodeRegistrationVote) Unmarshal(dAtA []byte) error
- func (m *EventMetaNodeRegistrationVote) XXX_DiscardUnknown()
- func (m *EventMetaNodeRegistrationVote) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EventMetaNodeRegistrationVote) XXX_Merge(src proto.Message)
- func (m *EventMetaNodeRegistrationVote) XXX_Size() int
- func (m *EventMetaNodeRegistrationVote) XXX_Unmarshal(b []byte) error
- type EventUnBondingMetaNode
- func (*EventUnBondingMetaNode) Descriptor() ([]byte, []int)
- func (m *EventUnBondingMetaNode) GetDepositToRemove() string
- func (m *EventUnBondingMetaNode) GetMetaNode() string
- func (m *EventUnBondingMetaNode) GetOzoneLimitChanges() string
- func (m *EventUnBondingMetaNode) GetSender() string
- func (m *EventUnBondingMetaNode) GetUnbondingMatureTime() string
- func (m *EventUnBondingMetaNode) Marshal() (dAtA []byte, err error)
- func (m *EventUnBondingMetaNode) MarshalTo(dAtA []byte) (int, error)
- func (m *EventUnBondingMetaNode) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*EventUnBondingMetaNode) ProtoMessage()
- func (m *EventUnBondingMetaNode) Reset()
- func (m *EventUnBondingMetaNode) Size() (n int)
- func (m *EventUnBondingMetaNode) String() string
- func (m *EventUnBondingMetaNode) Unmarshal(dAtA []byte) error
- func (m *EventUnBondingMetaNode) XXX_DiscardUnknown()
- func (m *EventUnBondingMetaNode) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EventUnBondingMetaNode) XXX_Merge(src proto.Message)
- func (m *EventUnBondingMetaNode) XXX_Size() int
- func (m *EventUnBondingMetaNode) XXX_Unmarshal(b []byte) error
- type EventUnBondingResourceNode
- func (*EventUnBondingResourceNode) Descriptor() ([]byte, []int)
- func (m *EventUnBondingResourceNode) GetDepositToRemove() string
- func (m *EventUnBondingResourceNode) GetResourceNode() string
- func (m *EventUnBondingResourceNode) GetSender() string
- func (m *EventUnBondingResourceNode) GetUnbondingMatureTime() string
- func (m *EventUnBondingResourceNode) Marshal() (dAtA []byte, err error)
- func (m *EventUnBondingResourceNode) MarshalTo(dAtA []byte) (int, error)
- func (m *EventUnBondingResourceNode) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*EventUnBondingResourceNode) ProtoMessage()
- func (m *EventUnBondingResourceNode) Reset()
- func (m *EventUnBondingResourceNode) Size() (n int)
- func (m *EventUnBondingResourceNode) String() string
- func (m *EventUnBondingResourceNode) Unmarshal(dAtA []byte) error
- func (m *EventUnBondingResourceNode) XXX_DiscardUnknown()
- func (m *EventUnBondingResourceNode) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EventUnBondingResourceNode) XXX_Merge(src proto.Message)
- func (m *EventUnBondingResourceNode) XXX_Size() int
- func (m *EventUnBondingResourceNode) XXX_Unmarshal(b []byte) error
- type EventUpdateEffectiveDeposit
- func (*EventUpdateEffectiveDeposit) Descriptor() ([]byte, []int)
- func (m *EventUpdateEffectiveDeposit) GetEffectiveDepositAfter() string
- func (m *EventUpdateEffectiveDeposit) GetIsUnsuspended() string
- func (m *EventUpdateEffectiveDeposit) GetNetworkAddress() string
- func (m *EventUpdateEffectiveDeposit) Marshal() (dAtA []byte, err error)
- func (m *EventUpdateEffectiveDeposit) MarshalTo(dAtA []byte) (int, error)
- func (m *EventUpdateEffectiveDeposit) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*EventUpdateEffectiveDeposit) ProtoMessage()
- func (m *EventUpdateEffectiveDeposit) Reset()
- func (m *EventUpdateEffectiveDeposit) Size() (n int)
- func (m *EventUpdateEffectiveDeposit) String() string
- func (m *EventUpdateEffectiveDeposit) Unmarshal(dAtA []byte) error
- func (m *EventUpdateEffectiveDeposit) XXX_DiscardUnknown()
- func (m *EventUpdateEffectiveDeposit) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EventUpdateEffectiveDeposit) XXX_Merge(src proto.Message)
- func (m *EventUpdateEffectiveDeposit) XXX_Size() int
- func (m *EventUpdateEffectiveDeposit) XXX_Unmarshal(b []byte) error
- type EventUpdateMetaNode
- func (*EventUpdateMetaNode) Descriptor() ([]byte, []int)
- func (m *EventUpdateMetaNode) GetNetworkAddress() string
- func (m *EventUpdateMetaNode) GetSender() string
- func (m *EventUpdateMetaNode) Marshal() (dAtA []byte, err error)
- func (m *EventUpdateMetaNode) MarshalTo(dAtA []byte) (int, error)
- func (m *EventUpdateMetaNode) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*EventUpdateMetaNode) ProtoMessage()
- func (m *EventUpdateMetaNode) Reset()
- func (m *EventUpdateMetaNode) Size() (n int)
- func (m *EventUpdateMetaNode) String() string
- func (m *EventUpdateMetaNode) Unmarshal(dAtA []byte) error
- func (m *EventUpdateMetaNode) XXX_DiscardUnknown()
- func (m *EventUpdateMetaNode) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EventUpdateMetaNode) XXX_Merge(src proto.Message)
- func (m *EventUpdateMetaNode) XXX_Size() int
- func (m *EventUpdateMetaNode) XXX_Unmarshal(b []byte) error
- type EventUpdateMetaNodeDeposit
- func (*EventUpdateMetaNodeDeposit) Descriptor() ([]byte, []int)
- func (m *EventUpdateMetaNodeDeposit) GetAvailableTokenAfter() string
- func (m *EventUpdateMetaNodeDeposit) GetAvailableTokenBefore() string
- func (m *EventUpdateMetaNodeDeposit) GetCurrentDeposit() string
- func (m *EventUpdateMetaNodeDeposit) GetDepositDelta() string
- func (m *EventUpdateMetaNodeDeposit) GetNetworkAddress() string
- func (m *EventUpdateMetaNodeDeposit) GetOzoneLimitChanges() string
- func (m *EventUpdateMetaNodeDeposit) GetSender() string
- func (m *EventUpdateMetaNodeDeposit) GetUnbondingMatureTime() string
- func (m *EventUpdateMetaNodeDeposit) Marshal() (dAtA []byte, err error)
- func (m *EventUpdateMetaNodeDeposit) MarshalTo(dAtA []byte) (int, error)
- func (m *EventUpdateMetaNodeDeposit) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*EventUpdateMetaNodeDeposit) ProtoMessage()
- func (m *EventUpdateMetaNodeDeposit) Reset()
- func (m *EventUpdateMetaNodeDeposit) Size() (n int)
- func (m *EventUpdateMetaNodeDeposit) String() string
- func (m *EventUpdateMetaNodeDeposit) Unmarshal(dAtA []byte) error
- func (m *EventUpdateMetaNodeDeposit) XXX_DiscardUnknown()
- func (m *EventUpdateMetaNodeDeposit) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EventUpdateMetaNodeDeposit) XXX_Merge(src proto.Message)
- func (m *EventUpdateMetaNodeDeposit) XXX_Size() int
- func (m *EventUpdateMetaNodeDeposit) XXX_Unmarshal(b []byte) error
- type EventUpdateResourceNode
- func (*EventUpdateResourceNode) Descriptor() ([]byte, []int)
- func (m *EventUpdateResourceNode) GetBeneficiaryAddress() string
- func (m *EventUpdateResourceNode) GetNetworkAddress() string
- func (m *EventUpdateResourceNode) GetSender() string
- func (m *EventUpdateResourceNode) Marshal() (dAtA []byte, err error)
- func (m *EventUpdateResourceNode) MarshalTo(dAtA []byte) (int, error)
- func (m *EventUpdateResourceNode) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*EventUpdateResourceNode) ProtoMessage()
- func (m *EventUpdateResourceNode) Reset()
- func (m *EventUpdateResourceNode) Size() (n int)
- func (m *EventUpdateResourceNode) String() string
- func (m *EventUpdateResourceNode) Unmarshal(dAtA []byte) error
- func (m *EventUpdateResourceNode) XXX_DiscardUnknown()
- func (m *EventUpdateResourceNode) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EventUpdateResourceNode) XXX_Merge(src proto.Message)
- func (m *EventUpdateResourceNode) XXX_Size() int
- func (m *EventUpdateResourceNode) XXX_Unmarshal(b []byte) error
- type EventUpdateResourceNodeDeposit
- func (*EventUpdateResourceNodeDeposit) Descriptor() ([]byte, []int)
- func (m *EventUpdateResourceNodeDeposit) GetAvailableTokenAfter() string
- func (m *EventUpdateResourceNodeDeposit) GetAvailableTokenBefore() string
- func (m *EventUpdateResourceNodeDeposit) GetCurrentDeposit() string
- func (m *EventUpdateResourceNodeDeposit) GetDepositDelta() string
- func (m *EventUpdateResourceNodeDeposit) GetNetworkAddress() string
- func (m *EventUpdateResourceNodeDeposit) GetOzoneLimitChanges() string
- func (m *EventUpdateResourceNodeDeposit) GetSender() string
- func (m *EventUpdateResourceNodeDeposit) GetUnbondingMatureTime() string
- func (m *EventUpdateResourceNodeDeposit) Marshal() (dAtA []byte, err error)
- func (m *EventUpdateResourceNodeDeposit) MarshalTo(dAtA []byte) (int, error)
- func (m *EventUpdateResourceNodeDeposit) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*EventUpdateResourceNodeDeposit) ProtoMessage()
- func (m *EventUpdateResourceNodeDeposit) Reset()
- func (m *EventUpdateResourceNodeDeposit) Size() (n int)
- func (m *EventUpdateResourceNodeDeposit) String() string
- func (m *EventUpdateResourceNodeDeposit) Unmarshal(dAtA []byte) error
- func (m *EventUpdateResourceNodeDeposit) XXX_DiscardUnknown()
- func (m *EventUpdateResourceNodeDeposit) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EventUpdateResourceNodeDeposit) XXX_Merge(src proto.Message)
- func (m *EventUpdateResourceNodeDeposit) XXX_Size() int
- func (m *EventUpdateResourceNodeDeposit) XXX_Unmarshal(b []byte) error
- type GenesisMetaNode
- func (*GenesisMetaNode) Descriptor() ([]byte, []int)
- func (this *GenesisMetaNode) Equal(that interface{}) bool
- func (m *GenesisMetaNode) GetBeneficiaryAddress() string
- func (m *GenesisMetaNode) GetDescription() Description
- func (m *GenesisMetaNode) GetNetworkAddress() string
- func (m *GenesisMetaNode) GetOwnerAddress() string
- func (m *GenesisMetaNode) GetPubkey() *types.Any
- func (m *GenesisMetaNode) GetStatus() types1.BondStatus
- func (m *GenesisMetaNode) GetSuspend() bool
- func (m *GenesisMetaNode) GetTokens() types2.Coin
- func (m *GenesisMetaNode) Marshal() (dAtA []byte, err error)
- func (m *GenesisMetaNode) MarshalTo(dAtA []byte) (int, error)
- func (m *GenesisMetaNode) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*GenesisMetaNode) ProtoMessage()
- func (m *GenesisMetaNode) Reset()
- func (m *GenesisMetaNode) Size() (n int)
- func (m *GenesisMetaNode) String() string
- func (v GenesisMetaNode) ToMetaNode() (MetaNode, error)
- func (m *GenesisMetaNode) Unmarshal(dAtA []byte) error
- func (m *GenesisMetaNode) XXX_DiscardUnknown()
- func (m *GenesisMetaNode) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GenesisMetaNode) XXX_Merge(src proto.Message)
- func (m *GenesisMetaNode) XXX_Size() int
- func (m *GenesisMetaNode) XXX_Unmarshal(b []byte) error
- type GenesisState
- func (*GenesisState) Descriptor() ([]byte, []int)
- func (this *GenesisState) Equal(that interface{}) bool
- func (m *GenesisState) GetKickMetaNodeVotePool() []KickMetaNodeVotePool
- func (m *GenesisState) GetMetaNodeRegVotePool() []MetaNodeRegistrationVotePool
- func (m *GenesisState) GetMetaNodes() MetaNodes
- func (m *GenesisState) GetParams() Params
- func (m *GenesisState) GetResourceNodes() ResourceNodes
- func (m *GenesisState) GetSlashing() []Slashing
- func (m *GenesisState) GetUnbondingNodes() []UnbondingNode
- 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 (g GenesisState) UnpackInterfaces(c codectypes.AnyUnpacker) 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
- type KickMetaNodeVotePool
- func (*KickMetaNodeVotePool) Descriptor() ([]byte, []int)
- func (this *KickMetaNodeVotePool) Equal(that interface{}) bool
- func (m *KickMetaNodeVotePool) GetApproveList() []string
- func (m *KickMetaNodeVotePool) GetExpireTime() time.Time
- func (m *KickMetaNodeVotePool) GetIsVotePassed() bool
- func (m *KickMetaNodeVotePool) GetRejectList() []string
- func (m *KickMetaNodeVotePool) GetTargetNetworkAddress() string
- func (m *KickMetaNodeVotePool) Marshal() (dAtA []byte, err error)
- func (m *KickMetaNodeVotePool) MarshalTo(dAtA []byte) (int, error)
- func (m *KickMetaNodeVotePool) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*KickMetaNodeVotePool) ProtoMessage()
- func (m *KickMetaNodeVotePool) Reset()
- func (m *KickMetaNodeVotePool) Size() (n int)
- func (m *KickMetaNodeVotePool) String() string
- func (m *KickMetaNodeVotePool) Unmarshal(dAtA []byte) error
- func (m *KickMetaNodeVotePool) XXX_DiscardUnknown()
- func (m *KickMetaNodeVotePool) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *KickMetaNodeVotePool) XXX_Merge(src proto.Message)
- func (m *KickMetaNodeVotePool) XXX_Size() int
- func (m *KickMetaNodeVotePool) XXX_Unmarshal(b []byte) error
- type MetaNode
- func (v MetaNode) AddToken(amount sdkmath.Int) MetaNode
- func (v MetaNode) ConvertToString() string
- func (*MetaNode) Descriptor() ([]byte, []int)
- func (this *MetaNode) Equal(that interface{}) bool
- func (m *MetaNode) GetBeneficiaryAddress() string
- func (m *MetaNode) GetCreationTime() time.Time
- func (m *MetaNode) GetDescription() Description
- func (m *MetaNode) GetNetworkAddress() string
- func (m *MetaNode) GetOwnerAddress() string
- func (m *MetaNode) GetPubkey() *types1.Any
- func (m *MetaNode) GetStatus() types2.BondStatus
- func (m *MetaNode) GetSuspend() bool
- func (v MetaNode) IsActivate() bool
- func (v MetaNode) IsBonded() bool
- func (v MetaNode) IsUnBonded() bool
- func (v MetaNode) IsUnBonding() bool
- func (m *MetaNode) Marshal() (dAtA []byte, err error)
- func (m *MetaNode) MarshalTo(dAtA []byte) (int, error)
- func (m *MetaNode) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MetaNode) ProtoMessage()
- func (m *MetaNode) Reset()
- func (m *MetaNode) Size() (n int)
- func (m *MetaNode) String() string
- func (v MetaNode) SubToken(amount sdkmath.Int) MetaNode
- func (m *MetaNode) Unmarshal(dAtA []byte) error
- func (v MetaNode) UnpackInterfaces(unpacker codectypes.AnyUnpacker) error
- func (v MetaNode) Validate() error
- func (m *MetaNode) XXX_DiscardUnknown()
- func (m *MetaNode) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MetaNode) XXX_Merge(src proto.Message)
- func (m *MetaNode) XXX_Size() int
- func (m *MetaNode) XXX_Unmarshal(b []byte) error
- type MetaNodeRegistrationVotePool
- func (*MetaNodeRegistrationVotePool) Descriptor() ([]byte, []int)
- func (this *MetaNodeRegistrationVotePool) Equal(that interface{}) bool
- func (m *MetaNodeRegistrationVotePool) GetApproveList() []string
- func (m *MetaNodeRegistrationVotePool) GetExpireTime() time.Time
- func (m *MetaNodeRegistrationVotePool) GetIsVotePassed() bool
- func (m *MetaNodeRegistrationVotePool) GetNetworkAddress() string
- func (m *MetaNodeRegistrationVotePool) GetRejectList() []string
- func (m *MetaNodeRegistrationVotePool) Marshal() (dAtA []byte, err error)
- func (m *MetaNodeRegistrationVotePool) MarshalTo(dAtA []byte) (int, error)
- func (m *MetaNodeRegistrationVotePool) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MetaNodeRegistrationVotePool) ProtoMessage()
- func (m *MetaNodeRegistrationVotePool) Reset()
- func (m *MetaNodeRegistrationVotePool) Size() (n int)
- func (m *MetaNodeRegistrationVotePool) String() string
- func (m *MetaNodeRegistrationVotePool) Unmarshal(dAtA []byte) error
- func (m *MetaNodeRegistrationVotePool) XXX_DiscardUnknown()
- func (m *MetaNodeRegistrationVotePool) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MetaNodeRegistrationVotePool) XXX_Merge(src proto.Message)
- func (m *MetaNodeRegistrationVotePool) XXX_Size() int
- func (m *MetaNodeRegistrationVotePool) XXX_Unmarshal(b []byte) error
- type MetaNodes
- type MsgClient
- type MsgCreateMetaNode
- func (*MsgCreateMetaNode) Descriptor() ([]byte, []int)
- func (this *MsgCreateMetaNode) Equal(that interface{}) bool
- func (m *MsgCreateMetaNode) GetBeneficiaryAddress() string
- func (m *MsgCreateMetaNode) GetDescription() Description
- func (m *MsgCreateMetaNode) GetNetworkAddress() string
- func (m *MsgCreateMetaNode) GetOwnerAddress() string
- func (m *MsgCreateMetaNode) GetPubkey() *types.Any
- func (msg MsgCreateMetaNode) GetSignBytes() []byte
- func (msg MsgCreateMetaNode) GetSigners() []sdk.AccAddress
- func (m *MsgCreateMetaNode) GetValue() types1.Coin
- func (m *MsgCreateMetaNode) GetWeb3Msg() (*stratos.Web3Msg, error)
- func (m *MsgCreateMetaNode) Marshal() (dAtA []byte, err error)
- func (m *MsgCreateMetaNode) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgCreateMetaNode) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgCreateMetaNode) ProtoMessage()
- func (m *MsgCreateMetaNode) Reset()
- func (msg MsgCreateMetaNode) Route() string
- func (m *MsgCreateMetaNode) Size() (n int)
- func (m *MsgCreateMetaNode) String() string
- func (msg MsgCreateMetaNode) Type() string
- func (m *MsgCreateMetaNode) Unmarshal(dAtA []byte) error
- func (msg MsgCreateMetaNode) UnpackInterfaces(unpacker codectypes.AnyUnpacker) error
- func (msg MsgCreateMetaNode) ValidateBasic() error
- func (m *MsgCreateMetaNode) XXX_DiscardUnknown()
- func (m *MsgCreateMetaNode) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgCreateMetaNode) XXX_Merge(src proto.Message)
- func (m *MsgCreateMetaNode) XXX_Size() int
- func (m *MsgCreateMetaNode) XXX_Unmarshal(b []byte) error
- type MsgCreateMetaNodeResponse
- func (*MsgCreateMetaNodeResponse) Descriptor() ([]byte, []int)
- func (this *MsgCreateMetaNodeResponse) Equal(that interface{}) bool
- func (m *MsgCreateMetaNodeResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgCreateMetaNodeResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgCreateMetaNodeResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgCreateMetaNodeResponse) ProtoMessage()
- func (m *MsgCreateMetaNodeResponse) Reset()
- func (m *MsgCreateMetaNodeResponse) Size() (n int)
- func (m *MsgCreateMetaNodeResponse) String() string
- func (m *MsgCreateMetaNodeResponse) Unmarshal(dAtA []byte) error
- func (m *MsgCreateMetaNodeResponse) XXX_DiscardUnknown()
- func (m *MsgCreateMetaNodeResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgCreateMetaNodeResponse) XXX_Merge(src proto.Message)
- func (m *MsgCreateMetaNodeResponse) XXX_Size() int
- func (m *MsgCreateMetaNodeResponse) XXX_Unmarshal(b []byte) error
- type MsgCreateResourceNode
- func (*MsgCreateResourceNode) Descriptor() ([]byte, []int)
- func (this *MsgCreateResourceNode) Equal(that interface{}) bool
- func (m *MsgCreateResourceNode) GetBeneficiaryAddress() string
- func (m *MsgCreateResourceNode) GetDescription() Description
- func (m *MsgCreateResourceNode) GetNetworkAddress() string
- func (m *MsgCreateResourceNode) GetNodeType() uint32
- func (m *MsgCreateResourceNode) GetOwnerAddress() string
- func (m *MsgCreateResourceNode) GetPubkey() *types.Any
- func (msg MsgCreateResourceNode) GetSignBytes() []byte
- func (msg MsgCreateResourceNode) GetSigners() []sdk.AccAddress
- func (m *MsgCreateResourceNode) GetValue() types1.Coin
- func (m *MsgCreateResourceNode) GetWeb3Msg() (*stratos.Web3Msg, error)
- func (m *MsgCreateResourceNode) Marshal() (dAtA []byte, err error)
- func (m *MsgCreateResourceNode) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgCreateResourceNode) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgCreateResourceNode) ProtoMessage()
- func (m *MsgCreateResourceNode) Reset()
- func (msg MsgCreateResourceNode) Route() string
- func (m *MsgCreateResourceNode) Size() (n int)
- func (m *MsgCreateResourceNode) String() string
- func (msg MsgCreateResourceNode) Type() string
- func (m *MsgCreateResourceNode) Unmarshal(dAtA []byte) error
- func (msg MsgCreateResourceNode) UnpackInterfaces(unpacker codectypes.AnyUnpacker) error
- func (msg MsgCreateResourceNode) ValidateBasic() error
- func (m *MsgCreateResourceNode) XXX_DiscardUnknown()
- func (m *MsgCreateResourceNode) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgCreateResourceNode) XXX_Merge(src proto.Message)
- func (m *MsgCreateResourceNode) XXX_Size() int
- func (m *MsgCreateResourceNode) XXX_Unmarshal(b []byte) error
- type MsgCreateResourceNodeResponse
- func (*MsgCreateResourceNodeResponse) Descriptor() ([]byte, []int)
- func (this *MsgCreateResourceNodeResponse) Equal(that interface{}) bool
- func (m *MsgCreateResourceNodeResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgCreateResourceNodeResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgCreateResourceNodeResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgCreateResourceNodeResponse) ProtoMessage()
- func (m *MsgCreateResourceNodeResponse) Reset()
- func (m *MsgCreateResourceNodeResponse) Size() (n int)
- func (m *MsgCreateResourceNodeResponse) String() string
- func (m *MsgCreateResourceNodeResponse) Unmarshal(dAtA []byte) error
- func (m *MsgCreateResourceNodeResponse) XXX_DiscardUnknown()
- func (m *MsgCreateResourceNodeResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgCreateResourceNodeResponse) XXX_Merge(src proto.Message)
- func (m *MsgCreateResourceNodeResponse) XXX_Size() int
- func (m *MsgCreateResourceNodeResponse) XXX_Unmarshal(b []byte) error
- type MsgKickMetaNodeVote
- func (*MsgKickMetaNodeVote) Descriptor() ([]byte, []int)
- func (this *MsgKickMetaNodeVote) Equal(that interface{}) bool
- func (m *MsgKickMetaNodeVote) GetOpinion() bool
- func (msg MsgKickMetaNodeVote) GetSigners() []sdk.AccAddress
- func (m *MsgKickMetaNodeVote) GetTargetNetworkAddress() string
- func (m *MsgKickMetaNodeVote) GetVoterNetworkAddress() string
- func (m *MsgKickMetaNodeVote) GetVoterOwnerAddress() string
- func (m *MsgKickMetaNodeVote) GetWeb3Msg() (*stratos.Web3Msg, error)
- func (m *MsgKickMetaNodeVote) Marshal() (dAtA []byte, err error)
- func (m *MsgKickMetaNodeVote) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgKickMetaNodeVote) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgKickMetaNodeVote) ProtoMessage()
- func (m *MsgKickMetaNodeVote) Reset()
- func (m *MsgKickMetaNodeVote) Size() (n int)
- func (m *MsgKickMetaNodeVote) String() string
- func (m *MsgKickMetaNodeVote) Unmarshal(dAtA []byte) error
- func (msg MsgKickMetaNodeVote) ValidateBasic() error
- func (m *MsgKickMetaNodeVote) XXX_DiscardUnknown()
- func (m *MsgKickMetaNodeVote) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgKickMetaNodeVote) XXX_Merge(src proto.Message)
- func (m *MsgKickMetaNodeVote) XXX_Size() int
- func (m *MsgKickMetaNodeVote) XXX_Unmarshal(b []byte) error
- type MsgKickMetaNodeVoteResponse
- func (*MsgKickMetaNodeVoteResponse) Descriptor() ([]byte, []int)
- func (this *MsgKickMetaNodeVoteResponse) Equal(that interface{}) bool
- func (m *MsgKickMetaNodeVoteResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgKickMetaNodeVoteResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgKickMetaNodeVoteResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgKickMetaNodeVoteResponse) ProtoMessage()
- func (m *MsgKickMetaNodeVoteResponse) Reset()
- func (m *MsgKickMetaNodeVoteResponse) Size() (n int)
- func (m *MsgKickMetaNodeVoteResponse) String() string
- func (m *MsgKickMetaNodeVoteResponse) Unmarshal(dAtA []byte) error
- func (m *MsgKickMetaNodeVoteResponse) XXX_DiscardUnknown()
- func (m *MsgKickMetaNodeVoteResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgKickMetaNodeVoteResponse) XXX_Merge(src proto.Message)
- func (m *MsgKickMetaNodeVoteResponse) XXX_Size() int
- func (m *MsgKickMetaNodeVoteResponse) XXX_Unmarshal(b []byte) error
- type MsgMetaNodeRegistrationVote
- func (*MsgMetaNodeRegistrationVote) Descriptor() ([]byte, []int)
- func (this *MsgMetaNodeRegistrationVote) Equal(that interface{}) bool
- func (m *MsgMetaNodeRegistrationVote) GetCandidateNetworkAddress() string
- func (m *MsgMetaNodeRegistrationVote) GetCandidateOwnerAddress() string
- func (m *MsgMetaNodeRegistrationVote) GetOpinion() bool
- func (msg MsgMetaNodeRegistrationVote) GetSignBytes() []byte
- func (msg MsgMetaNodeRegistrationVote) GetSigners() []sdk.AccAddress
- func (m *MsgMetaNodeRegistrationVote) GetVoterNetworkAddress() string
- func (m *MsgMetaNodeRegistrationVote) GetVoterOwnerAddress() string
- func (m *MsgMetaNodeRegistrationVote) GetWeb3Msg() (*stratos.Web3Msg, error)
- func (m *MsgMetaNodeRegistrationVote) Marshal() (dAtA []byte, err error)
- func (m *MsgMetaNodeRegistrationVote) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgMetaNodeRegistrationVote) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgMetaNodeRegistrationVote) ProtoMessage()
- func (m *MsgMetaNodeRegistrationVote) Reset()
- func (msg MsgMetaNodeRegistrationVote) Route() string
- func (m *MsgMetaNodeRegistrationVote) Size() (n int)
- func (m *MsgMetaNodeRegistrationVote) String() string
- func (msg MsgMetaNodeRegistrationVote) Type() string
- func (m *MsgMetaNodeRegistrationVote) Unmarshal(dAtA []byte) error
- func (msg MsgMetaNodeRegistrationVote) ValidateBasic() error
- func (m *MsgMetaNodeRegistrationVote) XXX_DiscardUnknown()
- func (m *MsgMetaNodeRegistrationVote) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgMetaNodeRegistrationVote) XXX_Merge(src proto.Message)
- func (m *MsgMetaNodeRegistrationVote) XXX_Size() int
- func (m *MsgMetaNodeRegistrationVote) XXX_Unmarshal(b []byte) error
- type MsgMetaNodeRegistrationVoteResponse
- func (*MsgMetaNodeRegistrationVoteResponse) Descriptor() ([]byte, []int)
- func (this *MsgMetaNodeRegistrationVoteResponse) Equal(that interface{}) bool
- func (m *MsgMetaNodeRegistrationVoteResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgMetaNodeRegistrationVoteResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgMetaNodeRegistrationVoteResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgMetaNodeRegistrationVoteResponse) ProtoMessage()
- func (m *MsgMetaNodeRegistrationVoteResponse) Reset()
- func (m *MsgMetaNodeRegistrationVoteResponse) Size() (n int)
- func (m *MsgMetaNodeRegistrationVoteResponse) String() string
- func (m *MsgMetaNodeRegistrationVoteResponse) Unmarshal(dAtA []byte) error
- func (m *MsgMetaNodeRegistrationVoteResponse) XXX_DiscardUnknown()
- func (m *MsgMetaNodeRegistrationVoteResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgMetaNodeRegistrationVoteResponse) XXX_Merge(src proto.Message)
- func (m *MsgMetaNodeRegistrationVoteResponse) XXX_Size() int
- func (m *MsgMetaNodeRegistrationVoteResponse) XXX_Unmarshal(b []byte) error
- type MsgRemoveMetaNode
- func (*MsgRemoveMetaNode) Descriptor() ([]byte, []int)
- func (this *MsgRemoveMetaNode) Equal(that interface{}) bool
- func (m *MsgRemoveMetaNode) GetMetaNodeAddress() string
- func (m *MsgRemoveMetaNode) GetOwnerAddress() string
- func (msg MsgRemoveMetaNode) GetSignBytes() []byte
- func (msg MsgRemoveMetaNode) GetSigners() []sdk.AccAddress
- func (m *MsgRemoveMetaNode) GetWeb3Msg() (*stratos.Web3Msg, error)
- func (m *MsgRemoveMetaNode) Marshal() (dAtA []byte, err error)
- func (m *MsgRemoveMetaNode) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgRemoveMetaNode) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgRemoveMetaNode) ProtoMessage()
- func (m *MsgRemoveMetaNode) Reset()
- func (msg MsgRemoveMetaNode) Route() string
- func (m *MsgRemoveMetaNode) Size() (n int)
- func (m *MsgRemoveMetaNode) String() string
- func (msg MsgRemoveMetaNode) Type() string
- func (m *MsgRemoveMetaNode) Unmarshal(dAtA []byte) error
- func (msg MsgRemoveMetaNode) ValidateBasic() error
- func (m *MsgRemoveMetaNode) XXX_DiscardUnknown()
- func (m *MsgRemoveMetaNode) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgRemoveMetaNode) XXX_Merge(src proto.Message)
- func (m *MsgRemoveMetaNode) XXX_Size() int
- func (m *MsgRemoveMetaNode) XXX_Unmarshal(b []byte) error
- type MsgRemoveMetaNodeResponse
- func (*MsgRemoveMetaNodeResponse) Descriptor() ([]byte, []int)
- func (this *MsgRemoveMetaNodeResponse) Equal(that interface{}) bool
- func (m *MsgRemoveMetaNodeResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgRemoveMetaNodeResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgRemoveMetaNodeResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgRemoveMetaNodeResponse) ProtoMessage()
- func (m *MsgRemoveMetaNodeResponse) Reset()
- func (m *MsgRemoveMetaNodeResponse) Size() (n int)
- func (m *MsgRemoveMetaNodeResponse) String() string
- func (m *MsgRemoveMetaNodeResponse) Unmarshal(dAtA []byte) error
- func (m *MsgRemoveMetaNodeResponse) XXX_DiscardUnknown()
- func (m *MsgRemoveMetaNodeResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgRemoveMetaNodeResponse) XXX_Merge(src proto.Message)
- func (m *MsgRemoveMetaNodeResponse) XXX_Size() int
- func (m *MsgRemoveMetaNodeResponse) XXX_Unmarshal(b []byte) error
- type MsgRemoveResourceNode
- func (*MsgRemoveResourceNode) Descriptor() ([]byte, []int)
- func (this *MsgRemoveResourceNode) Equal(that interface{}) bool
- func (m *MsgRemoveResourceNode) GetOwnerAddress() string
- func (m *MsgRemoveResourceNode) GetResourceNodeAddress() string
- func (msg MsgRemoveResourceNode) GetSignBytes() []byte
- func (msg MsgRemoveResourceNode) GetSigners() []sdk.AccAddress
- func (m *MsgRemoveResourceNode) Marshal() (dAtA []byte, err error)
- func (m *MsgRemoveResourceNode) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgRemoveResourceNode) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgRemoveResourceNode) ProtoMessage()
- func (m *MsgRemoveResourceNode) Reset()
- func (msg MsgRemoveResourceNode) Route() string
- func (m *MsgRemoveResourceNode) Size() (n int)
- func (m *MsgRemoveResourceNode) String() string
- func (msg MsgRemoveResourceNode) Type() string
- func (m *MsgRemoveResourceNode) Unmarshal(dAtA []byte) error
- func (msg MsgRemoveResourceNode) ValidateBasic() error
- func (m *MsgRemoveResourceNode) XXX_DiscardUnknown()
- func (m *MsgRemoveResourceNode) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgRemoveResourceNode) XXX_Merge(src proto.Message)
- func (m *MsgRemoveResourceNode) XXX_Size() int
- func (m *MsgRemoveResourceNode) XXX_Unmarshal(b []byte) error
- type MsgRemoveResourceNodeResponse
- func (*MsgRemoveResourceNodeResponse) Descriptor() ([]byte, []int)
- func (this *MsgRemoveResourceNodeResponse) Equal(that interface{}) bool
- func (m *MsgRemoveResourceNodeResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgRemoveResourceNodeResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgRemoveResourceNodeResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgRemoveResourceNodeResponse) ProtoMessage()
- func (m *MsgRemoveResourceNodeResponse) Reset()
- func (m *MsgRemoveResourceNodeResponse) Size() (n int)
- func (m *MsgRemoveResourceNodeResponse) String() string
- func (m *MsgRemoveResourceNodeResponse) Unmarshal(dAtA []byte) error
- func (m *MsgRemoveResourceNodeResponse) XXX_DiscardUnknown()
- func (m *MsgRemoveResourceNodeResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgRemoveResourceNodeResponse) XXX_Merge(src proto.Message)
- func (m *MsgRemoveResourceNodeResponse) XXX_Size() int
- func (m *MsgRemoveResourceNodeResponse) XXX_Unmarshal(b []byte) error
- type MsgServer
- type MsgUpdateEffectiveDeposit
- func (*MsgUpdateEffectiveDeposit) Descriptor() ([]byte, []int)
- func (this *MsgUpdateEffectiveDeposit) Equal(that interface{}) bool
- func (m *MsgUpdateEffectiveDeposit) GetNetworkAddress() string
- func (m *MsgUpdateEffectiveDeposit) GetReporterOwner() []string
- func (m *MsgUpdateEffectiveDeposit) GetReporters() []string
- func (msg MsgUpdateEffectiveDeposit) GetSignBytes() []byte
- func (msg MsgUpdateEffectiveDeposit) GetSigners() []sdk.AccAddress
- func (m *MsgUpdateEffectiveDeposit) GetWeb3Msg() (*stratos.Web3Msg, error)
- func (m *MsgUpdateEffectiveDeposit) Marshal() (dAtA []byte, err error)
- func (m *MsgUpdateEffectiveDeposit) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgUpdateEffectiveDeposit) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgUpdateEffectiveDeposit) ProtoMessage()
- func (m *MsgUpdateEffectiveDeposit) Reset()
- func (msg MsgUpdateEffectiveDeposit) Route() string
- func (m *MsgUpdateEffectiveDeposit) Size() (n int)
- func (m *MsgUpdateEffectiveDeposit) String() string
- func (msg MsgUpdateEffectiveDeposit) Type() string
- func (m *MsgUpdateEffectiveDeposit) Unmarshal(dAtA []byte) error
- func (msg MsgUpdateEffectiveDeposit) ValidateBasic() error
- func (m *MsgUpdateEffectiveDeposit) XXX_DiscardUnknown()
- func (m *MsgUpdateEffectiveDeposit) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgUpdateEffectiveDeposit) XXX_Merge(src proto.Message)
- func (m *MsgUpdateEffectiveDeposit) XXX_Size() int
- func (m *MsgUpdateEffectiveDeposit) XXX_Unmarshal(b []byte) error
- type MsgUpdateEffectiveDepositResponse
- func (*MsgUpdateEffectiveDepositResponse) Descriptor() ([]byte, []int)
- func (this *MsgUpdateEffectiveDepositResponse) Equal(that interface{}) bool
- func (m *MsgUpdateEffectiveDepositResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgUpdateEffectiveDepositResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgUpdateEffectiveDepositResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgUpdateEffectiveDepositResponse) ProtoMessage()
- func (m *MsgUpdateEffectiveDepositResponse) Reset()
- func (m *MsgUpdateEffectiveDepositResponse) Size() (n int)
- func (m *MsgUpdateEffectiveDepositResponse) String() string
- func (m *MsgUpdateEffectiveDepositResponse) Unmarshal(dAtA []byte) error
- func (m *MsgUpdateEffectiveDepositResponse) XXX_DiscardUnknown()
- func (m *MsgUpdateEffectiveDepositResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgUpdateEffectiveDepositResponse) XXX_Merge(src proto.Message)
- func (m *MsgUpdateEffectiveDepositResponse) XXX_Size() int
- func (m *MsgUpdateEffectiveDepositResponse) XXX_Unmarshal(b []byte) error
- type MsgUpdateMetaNode
- func (*MsgUpdateMetaNode) Descriptor() ([]byte, []int)
- func (this *MsgUpdateMetaNode) Equal(that interface{}) bool
- func (m *MsgUpdateMetaNode) GetBeneficiaryAddress() string
- func (m *MsgUpdateMetaNode) GetDescription() Description
- func (m *MsgUpdateMetaNode) GetNetworkAddress() string
- func (m *MsgUpdateMetaNode) GetOwnerAddress() string
- func (msg MsgUpdateMetaNode) GetSignBytes() []byte
- func (msg MsgUpdateMetaNode) GetSigners() []sdk.AccAddress
- func (m *MsgUpdateMetaNode) GetWeb3Msg() (*stratos.Web3Msg, error)
- func (m *MsgUpdateMetaNode) Marshal() (dAtA []byte, err error)
- func (m *MsgUpdateMetaNode) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgUpdateMetaNode) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgUpdateMetaNode) ProtoMessage()
- func (m *MsgUpdateMetaNode) Reset()
- func (msg MsgUpdateMetaNode) Route() string
- func (m *MsgUpdateMetaNode) Size() (n int)
- func (m *MsgUpdateMetaNode) String() string
- func (msg MsgUpdateMetaNode) Type() string
- func (m *MsgUpdateMetaNode) Unmarshal(dAtA []byte) error
- func (msg MsgUpdateMetaNode) ValidateBasic() error
- func (m *MsgUpdateMetaNode) XXX_DiscardUnknown()
- func (m *MsgUpdateMetaNode) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgUpdateMetaNode) XXX_Merge(src proto.Message)
- func (m *MsgUpdateMetaNode) XXX_Size() int
- func (m *MsgUpdateMetaNode) XXX_Unmarshal(b []byte) error
- type MsgUpdateMetaNodeDeposit
- func (*MsgUpdateMetaNodeDeposit) Descriptor() ([]byte, []int)
- func (this *MsgUpdateMetaNodeDeposit) Equal(that interface{}) bool
- func (m *MsgUpdateMetaNodeDeposit) GetDepositDelta() types1.Coin
- func (m *MsgUpdateMetaNodeDeposit) GetNetworkAddress() string
- func (m *MsgUpdateMetaNodeDeposit) GetOwnerAddress() string
- func (msg MsgUpdateMetaNodeDeposit) GetSignBytes() []byte
- func (msg MsgUpdateMetaNodeDeposit) GetSigners() []sdk.AccAddress
- func (m *MsgUpdateMetaNodeDeposit) GetWeb3Msg() (*stratos.Web3Msg, error)
- func (m *MsgUpdateMetaNodeDeposit) Marshal() (dAtA []byte, err error)
- func (m *MsgUpdateMetaNodeDeposit) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgUpdateMetaNodeDeposit) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgUpdateMetaNodeDeposit) ProtoMessage()
- func (m *MsgUpdateMetaNodeDeposit) Reset()
- func (msg MsgUpdateMetaNodeDeposit) Route() string
- func (m *MsgUpdateMetaNodeDeposit) Size() (n int)
- func (m *MsgUpdateMetaNodeDeposit) String() string
- func (msg MsgUpdateMetaNodeDeposit) Type() string
- func (m *MsgUpdateMetaNodeDeposit) Unmarshal(dAtA []byte) error
- func (msg MsgUpdateMetaNodeDeposit) ValidateBasic() error
- func (m *MsgUpdateMetaNodeDeposit) XXX_DiscardUnknown()
- func (m *MsgUpdateMetaNodeDeposit) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgUpdateMetaNodeDeposit) XXX_Merge(src proto.Message)
- func (m *MsgUpdateMetaNodeDeposit) XXX_Size() int
- func (m *MsgUpdateMetaNodeDeposit) XXX_Unmarshal(b []byte) error
- type MsgUpdateMetaNodeDepositResponse
- func (*MsgUpdateMetaNodeDepositResponse) Descriptor() ([]byte, []int)
- func (this *MsgUpdateMetaNodeDepositResponse) Equal(that interface{}) bool
- func (m *MsgUpdateMetaNodeDepositResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgUpdateMetaNodeDepositResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgUpdateMetaNodeDepositResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgUpdateMetaNodeDepositResponse) ProtoMessage()
- func (m *MsgUpdateMetaNodeDepositResponse) Reset()
- func (m *MsgUpdateMetaNodeDepositResponse) Size() (n int)
- func (m *MsgUpdateMetaNodeDepositResponse) String() string
- func (m *MsgUpdateMetaNodeDepositResponse) Unmarshal(dAtA []byte) error
- func (m *MsgUpdateMetaNodeDepositResponse) XXX_DiscardUnknown()
- func (m *MsgUpdateMetaNodeDepositResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgUpdateMetaNodeDepositResponse) XXX_Merge(src proto.Message)
- func (m *MsgUpdateMetaNodeDepositResponse) XXX_Size() int
- func (m *MsgUpdateMetaNodeDepositResponse) XXX_Unmarshal(b []byte) error
- type MsgUpdateMetaNodeResponse
- func (*MsgUpdateMetaNodeResponse) Descriptor() ([]byte, []int)
- func (this *MsgUpdateMetaNodeResponse) Equal(that interface{}) bool
- func (m *MsgUpdateMetaNodeResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgUpdateMetaNodeResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgUpdateMetaNodeResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgUpdateMetaNodeResponse) ProtoMessage()
- func (m *MsgUpdateMetaNodeResponse) Reset()
- func (m *MsgUpdateMetaNodeResponse) Size() (n int)
- func (m *MsgUpdateMetaNodeResponse) String() string
- func (m *MsgUpdateMetaNodeResponse) Unmarshal(dAtA []byte) error
- func (m *MsgUpdateMetaNodeResponse) XXX_DiscardUnknown()
- func (m *MsgUpdateMetaNodeResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgUpdateMetaNodeResponse) XXX_Merge(src proto.Message)
- func (m *MsgUpdateMetaNodeResponse) XXX_Size() int
- func (m *MsgUpdateMetaNodeResponse) XXX_Unmarshal(b []byte) error
- type MsgUpdateParams
- func (*MsgUpdateParams) Descriptor() ([]byte, []int)
- func (this *MsgUpdateParams) Equal(that interface{}) bool
- func (m *MsgUpdateParams) GetAuthority() string
- func (m *MsgUpdateParams) GetParams() Params
- func (msg *MsgUpdateParams) GetSignBytes() []byte
- func (msg *MsgUpdateParams) GetSigners() []sdk.AccAddress
- func (m *MsgUpdateParams) Marshal() (dAtA []byte, err error)
- func (m *MsgUpdateParams) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgUpdateParams) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgUpdateParams) ProtoMessage()
- func (m *MsgUpdateParams) Reset()
- func (msg *MsgUpdateParams) Route() string
- func (m *MsgUpdateParams) Size() (n int)
- func (m *MsgUpdateParams) String() string
- func (msg *MsgUpdateParams) Type() string
- func (m *MsgUpdateParams) Unmarshal(dAtA []byte) error
- func (msg *MsgUpdateParams) ValidateBasic() error
- func (m *MsgUpdateParams) XXX_DiscardUnknown()
- func (m *MsgUpdateParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgUpdateParams) XXX_Merge(src proto.Message)
- func (m *MsgUpdateParams) XXX_Size() int
- func (m *MsgUpdateParams) XXX_Unmarshal(b []byte) error
- type MsgUpdateParamsResponse
- func (*MsgUpdateParamsResponse) Descriptor() ([]byte, []int)
- func (this *MsgUpdateParamsResponse) Equal(that interface{}) bool
- func (m *MsgUpdateParamsResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgUpdateParamsResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgUpdateParamsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgUpdateParamsResponse) ProtoMessage()
- func (m *MsgUpdateParamsResponse) Reset()
- func (m *MsgUpdateParamsResponse) Size() (n int)
- func (m *MsgUpdateParamsResponse) String() string
- func (m *MsgUpdateParamsResponse) Unmarshal(dAtA []byte) error
- func (m *MsgUpdateParamsResponse) XXX_DiscardUnknown()
- func (m *MsgUpdateParamsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgUpdateParamsResponse) XXX_Merge(src proto.Message)
- func (m *MsgUpdateParamsResponse) XXX_Size() int
- func (m *MsgUpdateParamsResponse) XXX_Unmarshal(b []byte) error
- type MsgUpdateResourceNode
- func (*MsgUpdateResourceNode) Descriptor() ([]byte, []int)
- func (this *MsgUpdateResourceNode) Equal(that interface{}) bool
- func (m *MsgUpdateResourceNode) GetBeneficiaryAddress() string
- func (m *MsgUpdateResourceNode) GetDescription() Description
- func (m *MsgUpdateResourceNode) GetNetworkAddress() string
- func (m *MsgUpdateResourceNode) GetNodeType() uint32
- func (m *MsgUpdateResourceNode) GetOwnerAddress() string
- func (msg MsgUpdateResourceNode) GetSignBytes() []byte
- func (msg MsgUpdateResourceNode) GetSigners() []sdk.AccAddress
- func (m *MsgUpdateResourceNode) Marshal() (dAtA []byte, err error)
- func (m *MsgUpdateResourceNode) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgUpdateResourceNode) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgUpdateResourceNode) ProtoMessage()
- func (m *MsgUpdateResourceNode) Reset()
- func (msg MsgUpdateResourceNode) Route() string
- func (m *MsgUpdateResourceNode) Size() (n int)
- func (m *MsgUpdateResourceNode) String() string
- func (msg MsgUpdateResourceNode) Type() string
- func (m *MsgUpdateResourceNode) Unmarshal(dAtA []byte) error
- func (msg MsgUpdateResourceNode) ValidateBasic() error
- func (m *MsgUpdateResourceNode) XXX_DiscardUnknown()
- func (m *MsgUpdateResourceNode) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgUpdateResourceNode) XXX_Merge(src proto.Message)
- func (m *MsgUpdateResourceNode) XXX_Size() int
- func (m *MsgUpdateResourceNode) XXX_Unmarshal(b []byte) error
- type MsgUpdateResourceNodeDeposit
- func (*MsgUpdateResourceNodeDeposit) Descriptor() ([]byte, []int)
- func (this *MsgUpdateResourceNodeDeposit) Equal(that interface{}) bool
- func (m *MsgUpdateResourceNodeDeposit) GetDepositDelta() types1.Coin
- func (m *MsgUpdateResourceNodeDeposit) GetNetworkAddress() string
- func (m *MsgUpdateResourceNodeDeposit) GetOwnerAddress() string
- func (msg MsgUpdateResourceNodeDeposit) GetSignBytes() []byte
- func (msg MsgUpdateResourceNodeDeposit) GetSigners() []sdk.AccAddress
- func (m *MsgUpdateResourceNodeDeposit) GetWeb3Msg() (*stratos.Web3Msg, error)
- func (m *MsgUpdateResourceNodeDeposit) Marshal() (dAtA []byte, err error)
- func (m *MsgUpdateResourceNodeDeposit) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgUpdateResourceNodeDeposit) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgUpdateResourceNodeDeposit) ProtoMessage()
- func (m *MsgUpdateResourceNodeDeposit) Reset()
- func (msg MsgUpdateResourceNodeDeposit) Route() string
- func (m *MsgUpdateResourceNodeDeposit) Size() (n int)
- func (m *MsgUpdateResourceNodeDeposit) String() string
- func (msg MsgUpdateResourceNodeDeposit) Type() string
- func (m *MsgUpdateResourceNodeDeposit) Unmarshal(dAtA []byte) error
- func (msg MsgUpdateResourceNodeDeposit) ValidateBasic() error
- func (m *MsgUpdateResourceNodeDeposit) XXX_DiscardUnknown()
- func (m *MsgUpdateResourceNodeDeposit) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgUpdateResourceNodeDeposit) XXX_Merge(src proto.Message)
- func (m *MsgUpdateResourceNodeDeposit) XXX_Size() int
- func (m *MsgUpdateResourceNodeDeposit) XXX_Unmarshal(b []byte) error
- type MsgUpdateResourceNodeDepositResponse
- func (*MsgUpdateResourceNodeDepositResponse) Descriptor() ([]byte, []int)
- func (this *MsgUpdateResourceNodeDepositResponse) Equal(that interface{}) bool
- func (m *MsgUpdateResourceNodeDepositResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgUpdateResourceNodeDepositResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgUpdateResourceNodeDepositResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgUpdateResourceNodeDepositResponse) ProtoMessage()
- func (m *MsgUpdateResourceNodeDepositResponse) Reset()
- func (m *MsgUpdateResourceNodeDepositResponse) Size() (n int)
- func (m *MsgUpdateResourceNodeDepositResponse) String() string
- func (m *MsgUpdateResourceNodeDepositResponse) Unmarshal(dAtA []byte) error
- func (m *MsgUpdateResourceNodeDepositResponse) XXX_DiscardUnknown()
- func (m *MsgUpdateResourceNodeDepositResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgUpdateResourceNodeDepositResponse) XXX_Merge(src proto.Message)
- func (m *MsgUpdateResourceNodeDepositResponse) XXX_Size() int
- func (m *MsgUpdateResourceNodeDepositResponse) XXX_Unmarshal(b []byte) error
- type MsgUpdateResourceNodeResponse
- func (*MsgUpdateResourceNodeResponse) Descriptor() ([]byte, []int)
- func (this *MsgUpdateResourceNodeResponse) Equal(that interface{}) bool
- func (m *MsgUpdateResourceNodeResponse) GetWeb3Msg() (*stratos.Web3Msg, error)
- func (m *MsgUpdateResourceNodeResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgUpdateResourceNodeResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgUpdateResourceNodeResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgUpdateResourceNodeResponse) ProtoMessage()
- func (m *MsgUpdateResourceNodeResponse) Reset()
- func (m *MsgUpdateResourceNodeResponse) Size() (n int)
- func (m *MsgUpdateResourceNodeResponse) String() string
- func (m *MsgUpdateResourceNodeResponse) Unmarshal(dAtA []byte) error
- func (m *MsgUpdateResourceNodeResponse) XXX_DiscardUnknown()
- func (m *MsgUpdateResourceNodeResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgUpdateResourceNodeResponse) XXX_Merge(src proto.Message)
- func (m *MsgUpdateResourceNodeResponse) XXX_Size() int
- func (m *MsgUpdateResourceNodeResponse) XXX_Unmarshal(b []byte) error
- type MultiRegisterHooks
- func (h MultiRegisterHooks) AfterNodeBeginUnbonding(ctx sdk.Context, networkAddr stratos.SdsAddress, isMetaNode bool)
- func (h MultiRegisterHooks) AfterNodeBonded(ctx sdk.Context, networkAddr stratos.SdsAddress, isMetaNode bool)
- func (h MultiRegisterHooks) AfterNodeCreated(ctx sdk.Context, networkAddr stratos.SdsAddress, isMetaNode bool)
- func (h MultiRegisterHooks) AfterNodeRemoved(ctx sdk.Context, networkAddr stratos.SdsAddress, isMetaNode bool)
- func (h MultiRegisterHooks) BeforeNodeModified(ctx sdk.Context, networkAddr stratos.SdsAddress, isMetaNode bool)
- type NodeType
- type Params
- func (*Params) Descriptor() ([]byte, []int)
- func (this *Params) Equal(that interface{}) bool
- func (m *Params) GetBondDenom() string
- func (m *Params) GetMaxEntries() uint32
- func (m *Params) GetResourceNodeMinDeposit() types.Coin
- func (m *Params) GetResourceNodeRegEnabled() bool
- func (m *Params) GetUnbondingCompletionTime() time.Duration
- func (m *Params) GetUnbondingThreasholdTime() time.Duration
- func (m *Params) GetVotingPeriod() time.Duration
- func (m *Params) Marshal() (dAtA []byte, err error)
- func (m *Params) MarshalTo(dAtA []byte) (int, error)
- func (m *Params) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (p *Params) ParamSetPairs() paramtypes.ParamSetPairs
- func (*Params) ProtoMessage()
- func (m *Params) Reset()
- func (m *Params) Size() (n int)
- func (m *Params) String() string
- func (m *Params) Unmarshal(dAtA []byte) error
- func (p Params) Validate() error
- func (m *Params) XXX_DiscardUnknown()
- func (m *Params) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Params) XXX_Merge(src proto.Message)
- func (m *Params) XXX_Size() int
- func (m *Params) XXX_Unmarshal(b []byte) error
- type ParamsSubspace
- type QueryBondedMetaNodeCountRequest
- func (*QueryBondedMetaNodeCountRequest) Descriptor() ([]byte, []int)
- func (m *QueryBondedMetaNodeCountRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryBondedMetaNodeCountRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryBondedMetaNodeCountRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryBondedMetaNodeCountRequest) ProtoMessage()
- func (m *QueryBondedMetaNodeCountRequest) Reset()
- func (m *QueryBondedMetaNodeCountRequest) Size() (n int)
- func (m *QueryBondedMetaNodeCountRequest) String() string
- func (m *QueryBondedMetaNodeCountRequest) Unmarshal(dAtA []byte) error
- func (m *QueryBondedMetaNodeCountRequest) XXX_DiscardUnknown()
- func (m *QueryBondedMetaNodeCountRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryBondedMetaNodeCountRequest) XXX_Merge(src proto.Message)
- func (m *QueryBondedMetaNodeCountRequest) XXX_Size() int
- func (m *QueryBondedMetaNodeCountRequest) XXX_Unmarshal(b []byte) error
- type QueryBondedMetaNodeCountResponse
- func (*QueryBondedMetaNodeCountResponse) Descriptor() ([]byte, []int)
- func (m *QueryBondedMetaNodeCountResponse) GetNumber() uint64
- func (m *QueryBondedMetaNodeCountResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryBondedMetaNodeCountResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryBondedMetaNodeCountResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryBondedMetaNodeCountResponse) ProtoMessage()
- func (m *QueryBondedMetaNodeCountResponse) Reset()
- func (m *QueryBondedMetaNodeCountResponse) Size() (n int)
- func (m *QueryBondedMetaNodeCountResponse) String() string
- func (m *QueryBondedMetaNodeCountResponse) Unmarshal(dAtA []byte) error
- func (m *QueryBondedMetaNodeCountResponse) XXX_DiscardUnknown()
- func (m *QueryBondedMetaNodeCountResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryBondedMetaNodeCountResponse) XXX_Merge(src proto.Message)
- func (m *QueryBondedMetaNodeCountResponse) XXX_Size() int
- func (m *QueryBondedMetaNodeCountResponse) XXX_Unmarshal(b []byte) error
- type QueryBondedResourceNodeCountRequest
- func (*QueryBondedResourceNodeCountRequest) Descriptor() ([]byte, []int)
- func (m *QueryBondedResourceNodeCountRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryBondedResourceNodeCountRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryBondedResourceNodeCountRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryBondedResourceNodeCountRequest) ProtoMessage()
- func (m *QueryBondedResourceNodeCountRequest) Reset()
- func (m *QueryBondedResourceNodeCountRequest) Size() (n int)
- func (m *QueryBondedResourceNodeCountRequest) String() string
- func (m *QueryBondedResourceNodeCountRequest) Unmarshal(dAtA []byte) error
- func (m *QueryBondedResourceNodeCountRequest) XXX_DiscardUnknown()
- func (m *QueryBondedResourceNodeCountRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryBondedResourceNodeCountRequest) XXX_Merge(src proto.Message)
- func (m *QueryBondedResourceNodeCountRequest) XXX_Size() int
- func (m *QueryBondedResourceNodeCountRequest) XXX_Unmarshal(b []byte) error
- type QueryBondedResourceNodeCountResponse
- func (*QueryBondedResourceNodeCountResponse) Descriptor() ([]byte, []int)
- func (m *QueryBondedResourceNodeCountResponse) GetNumber() uint64
- func (m *QueryBondedResourceNodeCountResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryBondedResourceNodeCountResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryBondedResourceNodeCountResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryBondedResourceNodeCountResponse) ProtoMessage()
- func (m *QueryBondedResourceNodeCountResponse) Reset()
- func (m *QueryBondedResourceNodeCountResponse) Size() (n int)
- func (m *QueryBondedResourceNodeCountResponse) String() string
- func (m *QueryBondedResourceNodeCountResponse) Unmarshal(dAtA []byte) error
- func (m *QueryBondedResourceNodeCountResponse) XXX_DiscardUnknown()
- func (m *QueryBondedResourceNodeCountResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryBondedResourceNodeCountResponse) XXX_Merge(src proto.Message)
- func (m *QueryBondedResourceNodeCountResponse) XXX_Size() int
- func (m *QueryBondedResourceNodeCountResponse) XXX_Unmarshal(b []byte) error
- type QueryClient
- type QueryDepositByNodeRequest
- func (*QueryDepositByNodeRequest) Descriptor() ([]byte, []int)
- func (m *QueryDepositByNodeRequest) GetNetworkAddr() string
- func (m *QueryDepositByNodeRequest) GetQueryType() uint32
- func (m *QueryDepositByNodeRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryDepositByNodeRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryDepositByNodeRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryDepositByNodeRequest) ProtoMessage()
- func (m *QueryDepositByNodeRequest) Reset()
- func (m *QueryDepositByNodeRequest) Size() (n int)
- func (m *QueryDepositByNodeRequest) String() string
- func (m *QueryDepositByNodeRequest) Unmarshal(dAtA []byte) error
- func (m *QueryDepositByNodeRequest) XXX_DiscardUnknown()
- func (m *QueryDepositByNodeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryDepositByNodeRequest) XXX_Merge(src proto.Message)
- func (m *QueryDepositByNodeRequest) XXX_Size() int
- func (m *QueryDepositByNodeRequest) XXX_Unmarshal(b []byte) error
- type QueryDepositByNodeResponse
- func (*QueryDepositByNodeResponse) Descriptor() ([]byte, []int)
- func (m *QueryDepositByNodeResponse) GetDepositInfo() *DepositInfo
- func (m *QueryDepositByNodeResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryDepositByNodeResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryDepositByNodeResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryDepositByNodeResponse) ProtoMessage()
- func (m *QueryDepositByNodeResponse) Reset()
- func (m *QueryDepositByNodeResponse) Size() (n int)
- func (m *QueryDepositByNodeResponse) String() string
- func (m *QueryDepositByNodeResponse) Unmarshal(dAtA []byte) error
- func (m *QueryDepositByNodeResponse) XXX_DiscardUnknown()
- func (m *QueryDepositByNodeResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryDepositByNodeResponse) XXX_Merge(src proto.Message)
- func (m *QueryDepositByNodeResponse) XXX_Size() int
- func (m *QueryDepositByNodeResponse) XXX_Unmarshal(b []byte) error
- type QueryDepositByOwnerRequest
- func (*QueryDepositByOwnerRequest) Descriptor() ([]byte, []int)
- func (m *QueryDepositByOwnerRequest) GetOwnerAddr() string
- func (m *QueryDepositByOwnerRequest) GetPagination() *query.PageRequest
- func (m *QueryDepositByOwnerRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryDepositByOwnerRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryDepositByOwnerRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryDepositByOwnerRequest) ProtoMessage()
- func (m *QueryDepositByOwnerRequest) Reset()
- func (m *QueryDepositByOwnerRequest) Size() (n int)
- func (m *QueryDepositByOwnerRequest) String() string
- func (m *QueryDepositByOwnerRequest) Unmarshal(dAtA []byte) error
- func (m *QueryDepositByOwnerRequest) XXX_DiscardUnknown()
- func (m *QueryDepositByOwnerRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryDepositByOwnerRequest) XXX_Merge(src proto.Message)
- func (m *QueryDepositByOwnerRequest) XXX_Size() int
- func (m *QueryDepositByOwnerRequest) XXX_Unmarshal(b []byte) error
- type QueryDepositByOwnerResponse
- func (*QueryDepositByOwnerResponse) Descriptor() ([]byte, []int)
- func (m *QueryDepositByOwnerResponse) GetDepositInfos() []*DepositInfo
- func (m *QueryDepositByOwnerResponse) GetPagination() *query.PageResponse
- func (m *QueryDepositByOwnerResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryDepositByOwnerResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryDepositByOwnerResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryDepositByOwnerResponse) ProtoMessage()
- func (m *QueryDepositByOwnerResponse) Reset()
- func (m *QueryDepositByOwnerResponse) Size() (n int)
- func (m *QueryDepositByOwnerResponse) String() string
- func (m *QueryDepositByOwnerResponse) Unmarshal(dAtA []byte) error
- func (m *QueryDepositByOwnerResponse) XXX_DiscardUnknown()
- func (m *QueryDepositByOwnerResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryDepositByOwnerResponse) XXX_Merge(src proto.Message)
- func (m *QueryDepositByOwnerResponse) XXX_Size() int
- func (m *QueryDepositByOwnerResponse) XXX_Unmarshal(b []byte) error
- type QueryDepositTotalRequest
- func (*QueryDepositTotalRequest) Descriptor() ([]byte, []int)
- func (m *QueryDepositTotalRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryDepositTotalRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryDepositTotalRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryDepositTotalRequest) ProtoMessage()
- func (m *QueryDepositTotalRequest) Reset()
- func (m *QueryDepositTotalRequest) Size() (n int)
- func (m *QueryDepositTotalRequest) String() string
- func (m *QueryDepositTotalRequest) Unmarshal(dAtA []byte) error
- func (m *QueryDepositTotalRequest) XXX_DiscardUnknown()
- func (m *QueryDepositTotalRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryDepositTotalRequest) XXX_Merge(src proto.Message)
- func (m *QueryDepositTotalRequest) XXX_Size() int
- func (m *QueryDepositTotalRequest) XXX_Unmarshal(b []byte) error
- type QueryDepositTotalResponse
- func (*QueryDepositTotalResponse) Descriptor() ([]byte, []int)
- func (m *QueryDepositTotalResponse) GetMetaNodesTotalDeposit() *types.Coin
- func (m *QueryDepositTotalResponse) GetResourceNodesTotalDeposit() *types.Coin
- func (m *QueryDepositTotalResponse) GetTotalBondedDeposit() *types.Coin
- func (m *QueryDepositTotalResponse) GetTotalUnbondedDeposit() *types.Coin
- func (m *QueryDepositTotalResponse) GetTotalUnbondingDeposit() *types.Coin
- func (m *QueryDepositTotalResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryDepositTotalResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryDepositTotalResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryDepositTotalResponse) ProtoMessage()
- func (m *QueryDepositTotalResponse) Reset()
- func (m *QueryDepositTotalResponse) Size() (n int)
- func (m *QueryDepositTotalResponse) String() string
- func (m *QueryDepositTotalResponse) Unmarshal(dAtA []byte) error
- func (m *QueryDepositTotalResponse) XXX_DiscardUnknown()
- func (m *QueryDepositTotalResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryDepositTotalResponse) XXX_Merge(src proto.Message)
- func (m *QueryDepositTotalResponse) XXX_Size() int
- func (m *QueryDepositTotalResponse) XXX_Unmarshal(b []byte) error
- type QueryMetaNodeRequest
- func (*QueryMetaNodeRequest) Descriptor() ([]byte, []int)
- func (m *QueryMetaNodeRequest) GetNetworkAddr() string
- func (m *QueryMetaNodeRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryMetaNodeRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryMetaNodeRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryMetaNodeRequest) ProtoMessage()
- func (m *QueryMetaNodeRequest) Reset()
- func (m *QueryMetaNodeRequest) Size() (n int)
- func (m *QueryMetaNodeRequest) String() string
- func (m *QueryMetaNodeRequest) Unmarshal(dAtA []byte) error
- func (m *QueryMetaNodeRequest) XXX_DiscardUnknown()
- func (m *QueryMetaNodeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryMetaNodeRequest) XXX_Merge(src proto.Message)
- func (m *QueryMetaNodeRequest) XXX_Size() int
- func (m *QueryMetaNodeRequest) XXX_Unmarshal(b []byte) error
- type QueryMetaNodeResponse
- func (*QueryMetaNodeResponse) Descriptor() ([]byte, []int)
- func (m *QueryMetaNodeResponse) GetNode() *MetaNode
- func (m *QueryMetaNodeResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryMetaNodeResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryMetaNodeResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryMetaNodeResponse) ProtoMessage()
- func (m *QueryMetaNodeResponse) Reset()
- func (m *QueryMetaNodeResponse) Size() (n int)
- func (m *QueryMetaNodeResponse) String() string
- func (m *QueryMetaNodeResponse) Unmarshal(dAtA []byte) error
- func (m *QueryMetaNodeResponse) XXX_DiscardUnknown()
- func (m *QueryMetaNodeResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryMetaNodeResponse) XXX_Merge(src proto.Message)
- func (m *QueryMetaNodeResponse) XXX_Size() int
- func (m *QueryMetaNodeResponse) XXX_Unmarshal(b []byte) error
- type QueryParamsRequest
- func (*QueryParamsRequest) Descriptor() ([]byte, []int)
- func (m *QueryParamsRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryParamsRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryParamsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryParamsRequest) ProtoMessage()
- func (m *QueryParamsRequest) Reset()
- func (m *QueryParamsRequest) Size() (n int)
- func (m *QueryParamsRequest) String() string
- func (m *QueryParamsRequest) Unmarshal(dAtA []byte) error
- func (m *QueryParamsRequest) XXX_DiscardUnknown()
- func (m *QueryParamsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryParamsRequest) XXX_Merge(src proto.Message)
- func (m *QueryParamsRequest) XXX_Size() int
- func (m *QueryParamsRequest) XXX_Unmarshal(b []byte) error
- type QueryParamsResponse
- func (*QueryParamsResponse) Descriptor() ([]byte, []int)
- func (m *QueryParamsResponse) GetParams() *Params
- func (m *QueryParamsResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryParamsResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryParamsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryParamsResponse) ProtoMessage()
- func (m *QueryParamsResponse) Reset()
- func (m *QueryParamsResponse) Size() (n int)
- func (m *QueryParamsResponse) String() string
- func (m *QueryParamsResponse) Unmarshal(dAtA []byte) error
- func (m *QueryParamsResponse) XXX_DiscardUnknown()
- func (m *QueryParamsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryParamsResponse) XXX_Merge(src proto.Message)
- func (m *QueryParamsResponse) XXX_Size() int
- func (m *QueryParamsResponse) XXX_Unmarshal(b []byte) error
- type QueryRemainingOzoneLimitRequest
- func (*QueryRemainingOzoneLimitRequest) Descriptor() ([]byte, []int)
- func (m *QueryRemainingOzoneLimitRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryRemainingOzoneLimitRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryRemainingOzoneLimitRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryRemainingOzoneLimitRequest) ProtoMessage()
- func (m *QueryRemainingOzoneLimitRequest) Reset()
- func (m *QueryRemainingOzoneLimitRequest) Size() (n int)
- func (m *QueryRemainingOzoneLimitRequest) String() string
- func (m *QueryRemainingOzoneLimitRequest) Unmarshal(dAtA []byte) error
- func (m *QueryRemainingOzoneLimitRequest) XXX_DiscardUnknown()
- func (m *QueryRemainingOzoneLimitRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryRemainingOzoneLimitRequest) XXX_Merge(src proto.Message)
- func (m *QueryRemainingOzoneLimitRequest) XXX_Size() int
- func (m *QueryRemainingOzoneLimitRequest) XXX_Unmarshal(b []byte) error
- type QueryRemainingOzoneLimitResponse
- func (*QueryRemainingOzoneLimitResponse) Descriptor() ([]byte, []int)
- func (m *QueryRemainingOzoneLimitResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryRemainingOzoneLimitResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryRemainingOzoneLimitResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryRemainingOzoneLimitResponse) ProtoMessage()
- func (m *QueryRemainingOzoneLimitResponse) Reset()
- func (m *QueryRemainingOzoneLimitResponse) Size() (n int)
- func (m *QueryRemainingOzoneLimitResponse) String() string
- func (m *QueryRemainingOzoneLimitResponse) Unmarshal(dAtA []byte) error
- func (m *QueryRemainingOzoneLimitResponse) XXX_DiscardUnknown()
- func (m *QueryRemainingOzoneLimitResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryRemainingOzoneLimitResponse) XXX_Merge(src proto.Message)
- func (m *QueryRemainingOzoneLimitResponse) XXX_Size() int
- func (m *QueryRemainingOzoneLimitResponse) XXX_Unmarshal(b []byte) error
- type QueryResourceNodeRequest
- func (*QueryResourceNodeRequest) Descriptor() ([]byte, []int)
- func (m *QueryResourceNodeRequest) GetNetworkAddr() string
- func (m *QueryResourceNodeRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryResourceNodeRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryResourceNodeRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryResourceNodeRequest) ProtoMessage()
- func (m *QueryResourceNodeRequest) Reset()
- func (m *QueryResourceNodeRequest) Size() (n int)
- func (m *QueryResourceNodeRequest) String() string
- func (m *QueryResourceNodeRequest) Unmarshal(dAtA []byte) error
- func (m *QueryResourceNodeRequest) XXX_DiscardUnknown()
- func (m *QueryResourceNodeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryResourceNodeRequest) XXX_Merge(src proto.Message)
- func (m *QueryResourceNodeRequest) XXX_Size() int
- func (m *QueryResourceNodeRequest) XXX_Unmarshal(b []byte) error
- type QueryResourceNodeResponse
- func (*QueryResourceNodeResponse) Descriptor() ([]byte, []int)
- func (m *QueryResourceNodeResponse) GetNode() *ResourceNode
- func (m *QueryResourceNodeResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryResourceNodeResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryResourceNodeResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryResourceNodeResponse) ProtoMessage()
- func (m *QueryResourceNodeResponse) Reset()
- func (m *QueryResourceNodeResponse) Size() (n int)
- func (m *QueryResourceNodeResponse) String() string
- func (m *QueryResourceNodeResponse) Unmarshal(dAtA []byte) error
- func (m *QueryResourceNodeResponse) XXX_DiscardUnknown()
- func (m *QueryResourceNodeResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryResourceNodeResponse) XXX_Merge(src proto.Message)
- func (m *QueryResourceNodeResponse) XXX_Size() int
- func (m *QueryResourceNodeResponse) XXX_Unmarshal(b []byte) error
- type QueryServer
- type RegisterHooks
- type ResourceNode
- func (v ResourceNode) AddToken(amount sdkmath.Int) ResourceNode
- func (v ResourceNode) ConvertToString() string
- func (*ResourceNode) Descriptor() ([]byte, []int)
- func (this *ResourceNode) Equal(that interface{}) bool
- func (m *ResourceNode) GetBeneficiaryAddress() string
- func (m *ResourceNode) GetCreationTime() time.Time
- func (m *ResourceNode) GetDescription() Description
- func (m *ResourceNode) GetNetworkAddress() string
- func (m *ResourceNode) GetNodeType() uint32
- func (m *ResourceNode) GetOwnerAddress() string
- func (m *ResourceNode) GetPubkey() *types1.Any
- func (m *ResourceNode) GetStatus() types2.BondStatus
- func (m *ResourceNode) GetSuspend() bool
- func (v ResourceNode) IsBonded() bool
- func (v ResourceNode) IsUnBonded() bool
- func (v ResourceNode) IsUnBonding() bool
- func (m *ResourceNode) Marshal() (dAtA []byte, err error)
- func (m *ResourceNode) MarshalTo(dAtA []byte) (int, error)
- func (m *ResourceNode) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ResourceNode) ProtoMessage()
- func (m *ResourceNode) Reset()
- func (m *ResourceNode) Size() (n int)
- func (m *ResourceNode) String() string
- func (v ResourceNode) SubToken(amount sdkmath.Int) ResourceNode
- func (m *ResourceNode) Unmarshal(dAtA []byte) error
- func (v ResourceNode) UnpackInterfaces(unpacker codectypes.AnyUnpacker) error
- func (v ResourceNode) Validate() error
- func (m *ResourceNode) XXX_DiscardUnknown()
- func (m *ResourceNode) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ResourceNode) XXX_Merge(src proto.Message)
- func (m *ResourceNode) XXX_Size() int
- func (m *ResourceNode) XXX_Unmarshal(b []byte) error
- type ResourceNodes
- type Slashing
- func (*Slashing) Descriptor() ([]byte, []int)
- func (this *Slashing) Equal(that interface{}) bool
- func (m *Slashing) GetValue() int64
- func (m *Slashing) GetWalletAddress() string
- func (m *Slashing) Marshal() (dAtA []byte, err error)
- func (m *Slashing) MarshalTo(dAtA []byte) (int, error)
- func (m *Slashing) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Slashing) ProtoMessage()
- func (m *Slashing) Reset()
- func (m *Slashing) Size() (n int)
- func (m *Slashing) String() string
- func (m *Slashing) Unmarshal(dAtA []byte) error
- func (m *Slashing) XXX_DiscardUnknown()
- func (m *Slashing) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Slashing) XXX_Merge(src proto.Message)
- func (m *Slashing) XXX_Size() int
- func (m *Slashing) XXX_Unmarshal(b []byte) error
- type UnbondingNode
- func (un *UnbondingNode) AddEntry(creationHeight int64, minTime time.Time, balance sdkmath.Int)
- func (*UnbondingNode) Descriptor() ([]byte, []int)
- func (this *UnbondingNode) Equal(that interface{}) bool
- func (m *UnbondingNode) GetEntries() []*UnbondingNodeEntry
- func (m *UnbondingNode) GetIsMetaNode() bool
- func (m *UnbondingNode) GetNetworkAddr() string
- func (m *UnbondingNode) Marshal() (dAtA []byte, err error)
- func (m *UnbondingNode) MarshalTo(dAtA []byte) (int, error)
- func (m *UnbondingNode) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*UnbondingNode) ProtoMessage()
- func (un *UnbondingNode) RemoveEntry(i int64)
- func (m *UnbondingNode) Reset()
- func (m *UnbondingNode) Size() (n int)
- func (m *UnbondingNode) String() string
- func (m *UnbondingNode) Unmarshal(dAtA []byte) error
- func (m *UnbondingNode) XXX_DiscardUnknown()
- func (m *UnbondingNode) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *UnbondingNode) XXX_Merge(src proto.Message)
- func (m *UnbondingNode) XXX_Size() int
- func (m *UnbondingNode) XXX_Unmarshal(b []byte) error
- type UnbondingNodeEntry
- func (*UnbondingNodeEntry) Descriptor() ([]byte, []int)
- func (this *UnbondingNodeEntry) Equal(that interface{}) bool
- func (m *UnbondingNodeEntry) GetCompletionTime() time.Time
- func (m *UnbondingNodeEntry) GetCreationHeight() int64
- func (e UnbondingNodeEntry) IsMature(currentTime time.Time) bool
- func (m *UnbondingNodeEntry) Marshal() (dAtA []byte, err error)
- func (m *UnbondingNodeEntry) MarshalTo(dAtA []byte) (int, error)
- func (m *UnbondingNodeEntry) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*UnbondingNodeEntry) ProtoMessage()
- func (m *UnbondingNodeEntry) Reset()
- func (m *UnbondingNodeEntry) Size() (n int)
- func (m *UnbondingNodeEntry) String() string
- func (m *UnbondingNodeEntry) Unmarshal(dAtA []byte) error
- func (m *UnbondingNodeEntry) XXX_DiscardUnknown()
- func (m *UnbondingNodeEntry) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *UnbondingNodeEntry) XXX_Merge(src proto.Message)
- func (m *UnbondingNodeEntry) XXX_Size() int
- func (m *UnbondingNodeEntry) XXX_Unmarshal(b []byte) error
- type UnimplementedMsgServer
- func (*UnimplementedMsgServer) HandleMsgCreateMetaNode(ctx context.Context, req *MsgCreateMetaNode) (*MsgCreateMetaNodeResponse, error)
- func (*UnimplementedMsgServer) HandleMsgCreateResourceNode(ctx context.Context, req *MsgCreateResourceNode) (*MsgCreateResourceNodeResponse, error)
- func (*UnimplementedMsgServer) HandleMsgKickMetaNodeVote(ctx context.Context, req *MsgKickMetaNodeVote) (*MsgKickMetaNodeVoteResponse, error)
- func (*UnimplementedMsgServer) HandleMsgMetaNodeRegistrationVote(ctx context.Context, req *MsgMetaNodeRegistrationVote) (*MsgMetaNodeRegistrationVoteResponse, error)
- func (*UnimplementedMsgServer) HandleMsgRemoveMetaNode(ctx context.Context, req *MsgRemoveMetaNode) (*MsgRemoveMetaNodeResponse, error)
- func (*UnimplementedMsgServer) HandleMsgRemoveResourceNode(ctx context.Context, req *MsgRemoveResourceNode) (*MsgRemoveResourceNodeResponse, error)
- func (*UnimplementedMsgServer) HandleMsgUpdateEffectiveDeposit(ctx context.Context, req *MsgUpdateEffectiveDeposit) (*MsgUpdateEffectiveDepositResponse, error)
- func (*UnimplementedMsgServer) HandleMsgUpdateMetaNode(ctx context.Context, req *MsgUpdateMetaNode) (*MsgUpdateMetaNodeResponse, error)
- func (*UnimplementedMsgServer) HandleMsgUpdateMetaNodeDeposit(ctx context.Context, req *MsgUpdateMetaNodeDeposit) (*MsgUpdateMetaNodeDepositResponse, error)
- func (*UnimplementedMsgServer) HandleMsgUpdateResourceNode(ctx context.Context, req *MsgUpdateResourceNode) (*MsgUpdateResourceNodeResponse, error)
- func (*UnimplementedMsgServer) HandleMsgUpdateResourceNodeDeposit(ctx context.Context, req *MsgUpdateResourceNodeDeposit) (*MsgUpdateResourceNodeDepositResponse, error)
- func (*UnimplementedMsgServer) UpdateParams(ctx context.Context, req *MsgUpdateParams) (*MsgUpdateParamsResponse, error)
- type UnimplementedQueryServer
- func (*UnimplementedQueryServer) BondedMetaNodeCount(ctx context.Context, req *QueryBondedMetaNodeCountRequest) (*QueryBondedMetaNodeCountResponse, error)
- func (*UnimplementedQueryServer) BondedResourceNodeCount(ctx context.Context, req *QueryBondedResourceNodeCountRequest) (*QueryBondedResourceNodeCountResponse, error)
- func (*UnimplementedQueryServer) DepositByNode(ctx context.Context, req *QueryDepositByNodeRequest) (*QueryDepositByNodeResponse, error)
- func (*UnimplementedQueryServer) DepositByOwner(ctx context.Context, req *QueryDepositByOwnerRequest) (*QueryDepositByOwnerResponse, error)
- func (*UnimplementedQueryServer) DepositTotal(ctx context.Context, req *QueryDepositTotalRequest) (*QueryDepositTotalResponse, error)
- func (*UnimplementedQueryServer) MetaNode(ctx context.Context, req *QueryMetaNodeRequest) (*QueryMetaNodeResponse, error)
- func (*UnimplementedQueryServer) Params(ctx context.Context, req *QueryParamsRequest) (*QueryParamsResponse, error)
- func (*UnimplementedQueryServer) RemainingOzoneLimit(ctx context.Context, req *QueryRemainingOzoneLimitRequest) (*QueryRemainingOzoneLimitResponse, error)
- func (*UnimplementedQueryServer) ResourceNode(ctx context.Context, req *QueryResourceNodeRequest) (*QueryResourceNodeResponse, error)
- type VoteOpinion
Constants ¶
const ( // ModuleName is the name of the module ModuleName = "register" // StoreKey to be used when creating the KVStore StoreKey = ModuleName // RouterKey to be used for routing msgs RouterKey = ModuleName // ResourceNodeBondedPool stores the total balance of bonded resource nodes ResourceNodeBondedPool = "resource_node_bonded_pool" // ResourceNodeNotBondedPool stores the total balance of not bonded resource nodes ResourceNodeNotBondedPool = "resource_node_not_bonded_pool" // MetaNodeBondedPool stores the total balance of bonded Meta nodes MetaNodeBondedPool = "meta_node_bonded_pool" // MetaNodeNotBondedPool stores the total balance of not bonded meta nodes MetaNodeNotBondedPool = "meta_node_not_bonded_pool" // TotalUnissuedPrepay stores the balance of total unissued prepay TotalUnissuedPrepay = "total_unissued_prepay" )
const ( CACHE_NOT_DIRTY = 0 CACHE_DIRTY = 1 )
const ( Approve VoteOpinion = true Reject VoteOpinion = false VoteOpinionApprove = "Approve" VoteOpinionReject = "Reject" )
const ( TypeMsgCreateResourceNode = "create_resource_node" TypeMsgRemoveResourceNode = "remove_resource_node" TypeMsgUpdateResourceNode = "update_resource_node" TypeMsgUpdateResourceNodeDeposit = "update_resource_node_deposit" TypeMsgUpdateEffectiveDeposit = "update_effective_deposit" TypeMsgCreateMetaNode = "create_meta_node" TypeMsgRemoveMetaNode = "remove_meta_node" TypeMsgUpdateMetaNode = "update_meta_node" TypeMsgUpdateMetaNodeDeposit = "update_meta_node_deposit" TypeMsgMetaNodeRegistrationVote = "meta_node_registration_vote" TypeMsgUpdateParams = "update_params" )
message type and route constants
const ( DefaultBondDenom = stratos.Wei DefaultMaxEntries = uint32(16) DefaultResourceNodeRegEnabled = true )
Default parameter namespace
const ( QueryTypeAll = 0 QueryTypeSP = 1 QueryTypePP = 2 QueryDefaultLimit = 100 )
const ( // TODO: Why can't we just have one string description which can be JSON by convention MaxMonikerLength = 70 MaxIdentityLength = 3000 MaxWebsiteLength = 140 MaxSecurityContactLength = 140 MaxDetailsLength = 280 )
nolint
Variables ¶
var ( ErrInvalid = errors.Register(ModuleName, codeErrInvalid, "error invalid") ErrInvalidNetworkAddr = errors.Register(ModuleName, codeErrInvalidNetworkAddr, "invalid network address") ErrEmptyOwnerAddr = errors.Register(ModuleName, codeErrEmptyOwnerAddr, "missing owner address") ErrValueNegative = errors.Register(ModuleName, codeErrValueNegative, "value must be positive") ErrEmptyDescription = errors.Register(ModuleName, codeErrEmptyDescription, "description must be not empty") ErrEmptyMoniker = errors.Register(ModuleName, codeErrEmptyMoniker, "moniker must be not empty") ErrEmptyResourceNodeAddr = errors.Register(ModuleName, codeErrEmptyResourceNodeAddr, "missing resource node address") ErrEmptyMetaNodeAddr = errors.Register(ModuleName, codeErrEmptyMetaNodeAddr, "missing Meta node address") ErrBadDenom = errors.Register(ModuleName, codeErrBadDenom, "invalid coin denomination") ErrInsufficientDeposit = errors.Register(ModuleName, codeErrInsufficientDeposit, "insufficient deposit") ErrResourceNodePubKeyExists = errors.Register(ModuleName, codeErrResourceNodePubKeyExists, "resource node already exist for this pubkey; must use new resource node pubkey") ErrMetaNodePubKeyExists = errors.Register(ModuleName, codeErrMetaNodePubKeyExists, "meta node already exist for this pubkey; must use new meta node pubkey") ErrNoResourceNodeFound = errors.Register(ModuleName, codeErrNoResourceNodeFound, "resource node does not exist") ErrNoMetaNodeFound = errors.Register(ModuleName, codeErrNoMetaNodeFound, "meta node does not exist") ErrNoOwnerAccountFound = errors.Register(ModuleName, codeErrNoOwnerAccountFound, "account of owner does not exist") ErrInsufficientBalance = errors.Register(ModuleName, codeErrInsufficientBalance, "insufficient balance") ErrNodeType = errors.Register(ModuleName, codeErrNodeType, "node type(s) not supported") ErrEmptyCandidateNetworkAddr = errors.Register(ModuleName, codeErrEmptyCandidateNetworkAddr, "missing candidate network address") ErrEmptyCandidateOwnerAddr = errors.Register(ModuleName, codeErrEmptyCandidateOwnerAddr, "missing candidate owner address") ErrEmptyVoterNetworkAddr = errors.Register(ModuleName, codeErrEmptyVoterNetworkAddr, "missing voter network address") ErrEmptyVoterOwnerAddr = errors.Register(ModuleName, codeErrEmptyVoterOwnerAddr, "missing voter owner address") ErrInvalidCandidateNetworkAddr = errors.Register(ModuleName, codeErrInvalidCandidateNetworkAddr, "invalid candidate network address") ErrInvalidCandidateOwnerAddr = errors.Register(ModuleName, codeErrInvalidCandidateOwnerAddr, "invalid candidate owner address") ErrNoCandidateMetaNodeFound = errors.Register(ModuleName, codeErrNoCandidateMetaNodeFound, "candidate meta node does not exist") ErrInvalidVoterNetworkAddr = errors.Register(ModuleName, codeErrInvalidVoterNetworkAddr, "invalid voter network address") ErrInvalidVoterOwnerAddr = errors.Register(ModuleName, codeErrInvalidVoterOwnerAddr, "invalid voter owner address") ErrNoVoterMetaNodeFound = errors.Register(ModuleName, codeErrNoVoterMetaNodeFound, "voter meta node does not exist") ErrSameAddr = errors.Register(ModuleName, codeErrSameAddr, "node address should not same as the voter address") ErrInvalidOwnerAddr = errors.Register(ModuleName, codeErrInvalidOwnerAddr, "invalid owner address") ErrInvalidBeneficiaryAddr = errors.Register(ModuleName, codeErrInvalidBeneficiaryAddr, "invalid beneficiary address") ErrInvalidVoterStatus = errors.Register(ModuleName, codeErrInvalidVoterStatus, "invalid voter status") ErrNoRegistrationVotePoolFound = errors.Register(ModuleName, codeErrNoRegistrationVotePoolFound, "registration pool does not exist") ErrDuplicateVoting = errors.Register(ModuleName, codeErrDuplicateVoting, "duplicate voting") ErrVoteExpired = errors.Register(ModuleName, codeErrVoteExpired, "vote expired") ErrInsufficientBalanceOfNotBondedPool = errors.Register(ModuleName, codeErrInsufficientBalanceOfNotBondedPool, "insufficient balance of not bonded pool") ErrEmptyNodeNetworkAddress = errors.Register(ModuleName, codeErrEmptyNodeNetworkAddress, "missing node network address") ErrEmptyPubKey = errors.Register(ModuleName, codeErrEmptyPubKey, "missing public key") ErrNoUnbondingNode = errors.Register(ModuleName, codeErrNoUnbondingNode, "no unbonding node found") ErrMaxUnbondingNodeEntries = errors.Register(ModuleName, codeErrMaxUnbondingNodeEntries, "too many unbonding node entries for networkAddr tuple") ErrUnbondingNode = errors.Register(ModuleName, codeErrUnbondingNode, "changes cannot be made to an unbonding node") ErrDepositNozRate = errors.Register(ModuleName, codeErrDepositNozRate, "deposit noz rate must be positive") ErrRemainingNozLimit = errors.Register(ModuleName, codeErrRemainingNozLimit, "remaining Noz Limit must be non-negative") ErrInvalidDepositChange = errors.Register(ModuleName, codeErrInvalidDepositChange, "invalid change for deposit") ErrInvalidNodeType = errors.Register(ModuleName, codeErrInvalidNodeType, "invalid node type") ErrUnknownAccountAddress = errors.Register(ModuleName, codeErrUnknownAccountAddress, "account address does not exist") ErrUnknownPubKey = errors.Register(ModuleName, codeErrUnknownPubKey, "unknown pubKey ") ErrInvalidNodeStat = errors.Register(ModuleName, codeErrInvalidNodeStat, "invalid node status") ErrRegisterResourceNode = errors.Register(ModuleName, codeErrRegisterResourceNode, "failed to register resource node") ErrRegisterMetaNode = errors.Register(ModuleName, codeErrRegisterMetaNode, "failed to register meta node") ErrUnbondResourceNode = errors.Register(ModuleName, codeErrUnbondResourceNode, "failed to unbond resource node") ErrUnbondMetaNode = errors.Register(ModuleName, codeErrUnbondMetaNode, "failed to unbond meta node") ErrUpdateResourceNode = errors.Register(ModuleName, codeErrUpdateResourceNode, "failed to update resource node") ErrUpdateMetaNode = errors.Register(ModuleName, codeErrUpdateMetaNode, "failed to update meta node") ErrUpdateResourceNodeDeposit = errors.Register(ModuleName, codeErrUpdateResourceNodeDeposit, "failed to update deposit for resource node") ErrUpdateMetaNodeDeposit = errors.Register(ModuleName, codeErrUpdateMetaNodeDeposit, "failed to update deposit for meta node") ErrVoteMetaNode = errors.Register(ModuleName, codeErrVoteMetaNode, "failed to vote meta node") ErrResourceNodeRegDisabled = errors.Register(ModuleName, codeErrResourceNodeRegDisabled, "resource node registration is disabled") ErrInvalidSuspensionStatForUnbondNode = errors.Register(ModuleName, codeErrInvalidSuspensionStatForUnbondNode, "cannot unbond a suspended node") ErrReporterAddress = errors.Register(ModuleName, codeErrReporterAddress, "invalid reporter address") ErrInvalidAmount = errors.Register(ModuleName, codeErrInvalidAmount, "invalid amount") ErrReporterAddressOrOwner = errors.Register(ModuleName, codeErrReporterAddressOrOwner, "invalid reporter address or owner address") ErrInvalidEffectiveToken = errors.Register(ModuleName, codeErrInvalidEffectiveToken, "invalid effective token") ErrEmitEvent = errors.Register(ModuleName, codeErrEmitEvent, "failed to emit event") ErrInvalidTargetNetworkAddr = errors.Register(ModuleName, codeErrInvalidTargetNetworkAddr, "invalid target network address") ErrNoActiveTargetMetaNodeFound = errors.Register(ModuleName, codeErrNoActiveTargetMetaNodeFound, "target meta node does not exist or not active") ErrNoActiveVoterMetaNodeFound = errors.Register(ModuleName, codeErrNoActiveVoterMetaNodeFound, "voter meta node does not exist or not active") )
var ( ErrInvalidLengthEvent = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowEvent = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupEvent = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthGenesis = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowGenesis = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupGenesis = fmt.Errorf("proto: unexpected end of group") )
var ( ResourceNodeKey = []byte{0x01} // prefix for each key to a resource node MetaNodeKey = []byte{0x02} // prefix for each key to a meta node MetaNodeRegistrationVotesKey = []byte{0x03} // prefix for each key to the vote for meta node registration UpperBoundOfTotalOzoneKey = []byte{0x04} SlashingPrefix = []byte{0x05} InitialGenesisDepositTotalKey = []byte{0x06} // deprecated. key of initial genesis deposit by all resource nodes and meta nodes at t=0 DepositNozRateKey = []byte{0x07} // key of fixed rate of deposit unit over Noz unit MetaNodeCntKey = []byte{0x08} // the number of bonded meta nodes ResourceNodeCntKey = []byte{0x09} // the number of bonded resource nodes EffectiveGenesisDepositTotalKey = []byte{0x10} // key of effective(ongoing) genesis deposit by all resource nodes and meta nodes at time t UBDNodeKey = []byte{0x11} // prefix for each key to an unbonding node UBDNodeQueueKey = []byte{0x12} // prefix for the timestamps in unbonding node queue KickMetaNodeVotesKey = []byte{0x13} // prefix for the key to the vote for kicking meta node ParamsKey = []byte{0x20} )
var ( DefaultUnbondingThreasholdTime = 180 * 24 * time.Hour // threashold for unbonding - by default 180 days DefaultUnbondingCompletionTime = 14 * 24 * time.Hour // lead time to complete unbonding - by default 14 days DefaultVotingPeriod = 7 * 24 * time.Hour // expiration time of registration voting - by default 7 days DefaultDepositNozRate = sdkmath.LegacyNewDec(1e6) // 0.001gwei -> 1noz = 1000000wei -> 1noz DefaultRemainingNozLimit = sdkmath.ZeroInt() DefaultResourceNodeMinDeposit = sdk.NewCoin(DefaultBondDenom, sdkmath.NewInt(stratos.StosToWei)) )
Parameter store keys
var ( KeyBondDenom = []byte("BondDenom") KeyUnbondingThreasholdTime = []byte("UnbondingThreasholdTime") KeyUnbondingCompletionTime = []byte("UnbondingCompletionTime") KeyMaxEntries = []byte("MaxEntries") KeyResourceNodeRegEnabled = []byte("ResourceNodeRegEnabled") KeyResourceNodeMinDeposit = []byte("ResourceNodeMinDeposit") KeyVotingPeriod = []byte("VotingPeriod") )
Parameter store keys
var ( ErrInvalidLengthQuery = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowQuery = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupQuery = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthRegister = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowRegister = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupRegister = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthTx = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowTx = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupTx = fmt.Errorf("proto: unexpected end of group") )
var ModuleCdc *codec.LegacyAmino
ModuleCdc references the global x/register module codec. Note, the codec should ONLY be used in certain instances of tests and for JSON encoding as Amino is still used for that purpose.
The actual codec used for serialization should be provided to x/register and defined at the application level.
Functions ¶
func GetKickMetaNodeVotesKey ¶ added in v0.12.0
func GetKickMetaNodeVotesKey(nodeAddr stratos.SdsAddress) []byte
GetKickMetaNodeVotesKey get the key prefix for kicking meta node vote pool
func GetMetaNodeKey ¶ added in v0.8.0
func GetMetaNodeKey(nodeAddr stratos.SdsAddress) []byte
GetMetaNodeKey gets the key for the metaNode with address VALUE: ResourceNode
func GetMetaNodeRegistrationVotesKey ¶ added in v0.8.0
func GetMetaNodeRegistrationVotesKey(nodeAddr stratos.SdsAddress) []byte
GetMetaNodeRegistrationVotesKey get the key for the vote for Meta node registration
func GetResourceNodeKey ¶
func GetResourceNodeKey(nodeAddr stratos.SdsAddress) []byte
GetResourceNodeKey gets the key for the resourceNode with address VALUE: ResourceNode
func GetSlashingKey ¶ added in v0.7.0
func GetSlashingKey(walletAddress sdk.AccAddress) []byte
func GetUBDNodeKey ¶ added in v0.4.0
func GetUBDNodeKey(nodeAddr stratos.SdsAddress) []byte
GetUBDNodeKey gets the key for the unbonding Node with address
func GetUBDTimeKey ¶ added in v0.4.0
GetUBDTimeKey gets the prefix for all unbonding Node
func MustMarshalMetaNode ¶ added in v0.8.0
MustMarshalMetaNode returns the metaNode bytes. Panics if fails
func MustMarshalResourceNode ¶
func MustMarshalResourceNode(cdc codec.Codec, resourceNode ResourceNode) []byte
MustMarshalResourceNode returns the resourceNode bytes. Panics if fails
func ParamKeyTable ¶
func ParamKeyTable() paramtypes.KeyTable
ParamKeyTable returns the parameter key table. Deprecated: now params can be accessed on key `0x20` on the register store.
func RegisterInterfaces ¶ added in v0.8.0
func RegisterInterfaces(registry types.InterfaceRegistry)
RegisterInterfaces registers the x/register interfaces types with the interface registry
func RegisterLegacyAminoCodec ¶ added in v0.8.0
func RegisterLegacyAminoCodec(cdc *codec.LegacyAmino)
RegisterLegacyAminoCodec registers concrete types on codec
func RegisterMsgServer ¶ added in v0.8.0
func RegisterQueryHandler ¶ added in v0.8.0
RegisterQueryHandler registers the http handlers for service Query to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterQueryHandlerClient ¶ added in v0.8.0
func RegisterQueryHandlerClient(ctx context.Context, mux *runtime.ServeMux, client QueryClient) error
RegisterQueryHandlerClient registers the http handlers for service Query to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "QueryClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "QueryClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "QueryClient" to call the correct interceptors.
func RegisterQueryHandlerFromEndpoint ¶ added in v0.8.0
func RegisterQueryHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterQueryHandlerFromEndpoint is same as RegisterQueryHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterQueryHandlerServer ¶ added in v0.8.0
func RegisterQueryHandlerServer(ctx context.Context, mux *runtime.ServeMux, server QueryServer) error
RegisterQueryHandlerServer registers the http handlers for service Query to "mux". UnaryRPC :call QueryServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterQueryHandlerFromEndpoint instead.
func RegisterQueryServer ¶ added in v0.8.0
func RegisterQueryServer(s grpc1.Server, srv QueryServer)
func ValidateGenesis ¶
func ValidateGenesis(data GenesisState) error
ValidateGenesis validates the register genesis parameters
Types ¶
type AccountKeeper ¶
type AccountKeeper interface { GetAccount(ctx sdk.Context, addr sdk.AccAddress) authtypes.AccountI // only used for simulation GetModuleAddress(name string) sdk.AccAddress }
AccountKeeper defines the expected account keeper (noalias)
type BankKeeper ¶ added in v0.8.0
type BankKeeper interface { HasBalance(ctx sdk.Context, addr sdk.AccAddress, amt sdk.Coin) bool GetBalance(ctx sdk.Context, addr sdk.AccAddress, denom string) sdk.Coin SendCoinsFromAccountToModule(ctx sdk.Context, senderAddr sdk.AccAddress, recipientModule string, amt sdk.Coins) error SendCoinsFromModuleToAccount(ctx sdk.Context, senderModule string, recipientAddr sdk.AccAddress, amt sdk.Coins) error SendCoinsFromModuleToModule(ctx sdk.Context, senderPool, recipientPool string, amt sdk.Coins) error }
BankKeeper defines the expected interface needed to retrieve account balances.
type CacheStatus ¶ added in v0.10.0
type CacheStatus struct {
Status uint8
}
type DepositInfo ¶ added in v0.10.0
type DepositInfo struct { NetworkAddress string `protobuf:"bytes,1,opt,name=network_address,json=networkAddress,proto3" json:"network_address" yaml:"network_address"` Pubkey *types1.Any `protobuf:"bytes,2,opt,name=pubkey,proto3" json:"pubkey" yaml:"pubkey"` Suspend bool `protobuf:"varint,3,opt,name=suspend,proto3" json:"suspend" yaml:"suspend"` Status types2.BondStatus `protobuf:"varint,4,opt,name=status,proto3,enum=cosmos.staking.v1beta1.BondStatus" json:"status" yaml:"status"` Tokens github_com_cosmos_cosmos_sdk_types.Int `protobuf:"bytes,5,opt,name=tokens,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Int" json:"tokens" yaml:"tokens"` OwnerAddress string `protobuf:"bytes,6,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address" yaml:"owner_address"` Description Description `protobuf:"bytes,7,opt,name=description,proto3" json:"description" yaml:"description"` CreationTime time.Time `protobuf:"bytes,8,opt,name=creation_time,json=creationTime,proto3,stdtime" json:"creation_time" yaml:"creation_time"` NodeType uint32 `protobuf:"varint,9,opt,name=node_type,json=nodeType,proto3" json:"node_type" yaml:"node_type"` BondedDeposit types.Coin `protobuf:"bytes,10,opt,name=bonded_deposit,json=bondedDeposit,proto3" json:"bonded_deposit" yaml:"bonded_deposit"` UnBondingDeposit types.Coin `` /* 128-byte string literal not displayed */ UnBondedDeposit types.Coin `protobuf:"bytes,12,opt,name=un_bonded_deposit,json=unBondedDeposit,proto3" json:"un_bonded_deposit" yaml:"un_bonded_deposit"` }
func NewDepositInfoByMetaNodeAddr ¶ added in v0.10.0
func NewDepositInfoByMetaNodeAddr( bondDenom string, metaNode MetaNode, unBondingDeposit sdkmath.Int, unBondedDeposit sdkmath.Int, bondedDeposit sdkmath.Int, ) DepositInfo
NewDepositInfoByMetaNodeAddr creates a new instance of DepositInfoByNodeAddr
func NewDepositInfoByResourceNodeAddr ¶ added in v0.10.0
func NewDepositInfoByResourceNodeAddr( bondDenom string, resourceNode ResourceNode, unBondingDeposit sdkmath.Int, unBondedDeposit sdkmath.Int, bondedDeposit sdkmath.Int, ) DepositInfo
NewDepositInfoByResourceNodeAddr creates a new instance of DepositInfoByNodeAddr
func (*DepositInfo) Descriptor ¶ added in v0.10.0
func (*DepositInfo) Descriptor() ([]byte, []int)
func (*DepositInfo) GetBondedDeposit ¶ added in v0.10.0
func (m *DepositInfo) GetBondedDeposit() types.Coin
func (*DepositInfo) GetCreationTime ¶ added in v0.10.0
func (m *DepositInfo) GetCreationTime() time.Time
func (*DepositInfo) GetDescription ¶ added in v0.10.0
func (m *DepositInfo) GetDescription() Description
func (*DepositInfo) GetNetworkAddress ¶ added in v0.10.0
func (m *DepositInfo) GetNetworkAddress() string
func (*DepositInfo) GetNodeType ¶ added in v0.10.0
func (m *DepositInfo) GetNodeType() uint32
func (*DepositInfo) GetOwnerAddress ¶ added in v0.10.0
func (m *DepositInfo) GetOwnerAddress() string
func (*DepositInfo) GetPubkey ¶ added in v0.10.0
func (m *DepositInfo) GetPubkey() *types1.Any
func (*DepositInfo) GetStatus ¶ added in v0.10.0
func (m *DepositInfo) GetStatus() types2.BondStatus
func (*DepositInfo) GetSuspend ¶ added in v0.10.0
func (m *DepositInfo) GetSuspend() bool
func (*DepositInfo) GetUnBondedDeposit ¶ added in v0.10.0
func (m *DepositInfo) GetUnBondedDeposit() types.Coin
func (*DepositInfo) GetUnBondingDeposit ¶ added in v0.10.0
func (m *DepositInfo) GetUnBondingDeposit() types.Coin
func (*DepositInfo) Marshal ¶ added in v0.10.0
func (m *DepositInfo) Marshal() (dAtA []byte, err error)
func (*DepositInfo) MarshalTo ¶ added in v0.10.0
func (m *DepositInfo) MarshalTo(dAtA []byte) (int, error)
func (*DepositInfo) MarshalToSizedBuffer ¶ added in v0.10.0
func (m *DepositInfo) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*DepositInfo) ProtoMessage ¶ added in v0.10.0
func (*DepositInfo) ProtoMessage()
func (*DepositInfo) Reset ¶ added in v0.10.0
func (m *DepositInfo) Reset()
func (*DepositInfo) Size ¶ added in v0.10.0
func (m *DepositInfo) Size() (n int)
func (*DepositInfo) String ¶ added in v0.10.0
func (m *DepositInfo) String() string
func (*DepositInfo) Unmarshal ¶ added in v0.10.0
func (m *DepositInfo) Unmarshal(dAtA []byte) error
func (DepositInfo) UnpackInterfaces ¶ added in v0.10.0
func (v DepositInfo) UnpackInterfaces(unpacker codectypes.AnyUnpacker) error
UnpackInterfaces implements UnpackInterfacesMessage.UnpackInterfaces
func (*DepositInfo) XXX_DiscardUnknown ¶ added in v0.10.0
func (m *DepositInfo) XXX_DiscardUnknown()
func (*DepositInfo) XXX_Marshal ¶ added in v0.10.0
func (m *DepositInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DepositInfo) XXX_Merge ¶ added in v0.10.0
func (m *DepositInfo) XXX_Merge(src proto.Message)
func (*DepositInfo) XXX_Size ¶ added in v0.10.0
func (m *DepositInfo) XXX_Size() int
func (*DepositInfo) XXX_Unmarshal ¶ added in v0.10.0
func (m *DepositInfo) XXX_Unmarshal(b []byte) error
type Description ¶
type Description struct { Moniker string `protobuf:"bytes,1,opt,name=moniker,proto3" json:"moniker" yaml:"moniker"` Identity string `protobuf:"bytes,2,opt,name=identity,proto3" json:"identity" yaml:"identity",omitempty` Website string `protobuf:"bytes,3,opt,name=website,proto3" json:"website" yaml:"website",omitempty` SecurityContact string `` /* 130-byte string literal not displayed */ Details string `protobuf:"bytes,5,opt,name=details,proto3" json:"details" yaml:"details",omitempty` }
func NewDescription ¶
func NewDescription(moniker, identity, website, securityContact, details string) Description
NewDescription returns a new Description with the provided values.
func (*Description) Descriptor ¶ added in v0.8.0
func (*Description) Descriptor() ([]byte, []int)
func (*Description) EnsureLength ¶
func (d *Description) EnsureLength() (*Description, error)
EnsureLength ensures the length of a resource/meta node's description.
func (*Description) Equal ¶ added in v0.8.0
func (this *Description) Equal(that interface{}) bool
func (*Description) GetDetails ¶ added in v0.8.0
func (m *Description) GetDetails() string
func (*Description) GetIdentity ¶ added in v0.8.0
func (m *Description) GetIdentity() string
func (*Description) GetMoniker ¶ added in v0.8.0
func (m *Description) GetMoniker() string
func (*Description) GetSecurityContact ¶ added in v0.8.0
func (m *Description) GetSecurityContact() string
func (*Description) GetWebsite ¶ added in v0.8.0
func (m *Description) GetWebsite() string
func (*Description) Marshal ¶ added in v0.8.0
func (m *Description) Marshal() (dAtA []byte, err error)
func (*Description) MarshalTo ¶ added in v0.8.0
func (m *Description) MarshalTo(dAtA []byte) (int, error)
func (*Description) MarshalToSizedBuffer ¶ added in v0.8.0
func (m *Description) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*Description) ProtoMessage ¶ added in v0.8.0
func (*Description) ProtoMessage()
func (*Description) Reset ¶ added in v0.8.0
func (m *Description) Reset()
func (*Description) Size ¶ added in v0.8.0
func (m *Description) Size() (n int)
func (*Description) String ¶ added in v0.4.0
func (m *Description) String() string
func (*Description) Unmarshal ¶ added in v0.8.0
func (m *Description) Unmarshal(dAtA []byte) error
func (*Description) XXX_DiscardUnknown ¶ added in v0.8.0
func (m *Description) XXX_DiscardUnknown()
func (*Description) XXX_Marshal ¶ added in v0.8.0
func (m *Description) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*Description) XXX_Merge ¶ added in v0.8.0
func (m *Description) XXX_Merge(src proto.Message)
func (*Description) XXX_Size ¶ added in v0.8.0
func (m *Description) XXX_Size() int
func (*Description) XXX_Unmarshal ¶ added in v0.8.0
func (m *Description) XXX_Unmarshal(b []byte) error
type DistrKeeper ¶ added in v0.9.0
type EventCompleteUnBondingMetaNode ¶ added in v0.12.0
type EventCompleteUnBondingMetaNode struct { Amount string `protobuf:"bytes,1,opt,name=amount,proto3" json:"amount,omitempty"` NetworkAddress string `protobuf:"bytes,2,opt,name=network_address,json=networkAddress,proto3" json:"network_address,omitempty"` }
EventCompleteUnBondingMetaNode is emitted on EndBlocker
func (*EventCompleteUnBondingMetaNode) Descriptor ¶ added in v0.12.0
func (*EventCompleteUnBondingMetaNode) Descriptor() ([]byte, []int)
func (*EventCompleteUnBondingMetaNode) GetAmount ¶ added in v0.12.0
func (m *EventCompleteUnBondingMetaNode) GetAmount() string
func (*EventCompleteUnBondingMetaNode) GetNetworkAddress ¶ added in v0.12.0
func (m *EventCompleteUnBondingMetaNode) GetNetworkAddress() string
func (*EventCompleteUnBondingMetaNode) Marshal ¶ added in v0.12.0
func (m *EventCompleteUnBondingMetaNode) Marshal() (dAtA []byte, err error)
func (*EventCompleteUnBondingMetaNode) MarshalTo ¶ added in v0.12.0
func (m *EventCompleteUnBondingMetaNode) MarshalTo(dAtA []byte) (int, error)
func (*EventCompleteUnBondingMetaNode) MarshalToSizedBuffer ¶ added in v0.12.0
func (m *EventCompleteUnBondingMetaNode) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*EventCompleteUnBondingMetaNode) ProtoMessage ¶ added in v0.12.0
func (*EventCompleteUnBondingMetaNode) ProtoMessage()
func (*EventCompleteUnBondingMetaNode) Reset ¶ added in v0.12.0
func (m *EventCompleteUnBondingMetaNode) Reset()
func (*EventCompleteUnBondingMetaNode) Size ¶ added in v0.12.0
func (m *EventCompleteUnBondingMetaNode) Size() (n int)
func (*EventCompleteUnBondingMetaNode) String ¶ added in v0.12.0
func (m *EventCompleteUnBondingMetaNode) String() string
func (*EventCompleteUnBondingMetaNode) Unmarshal ¶ added in v0.12.0
func (m *EventCompleteUnBondingMetaNode) Unmarshal(dAtA []byte) error
func (*EventCompleteUnBondingMetaNode) XXX_DiscardUnknown ¶ added in v0.12.0
func (m *EventCompleteUnBondingMetaNode) XXX_DiscardUnknown()
func (*EventCompleteUnBondingMetaNode) XXX_Marshal ¶ added in v0.12.0
func (m *EventCompleteUnBondingMetaNode) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*EventCompleteUnBondingMetaNode) XXX_Merge ¶ added in v0.12.0
func (m *EventCompleteUnBondingMetaNode) XXX_Merge(src proto.Message)
func (*EventCompleteUnBondingMetaNode) XXX_Size ¶ added in v0.12.0
func (m *EventCompleteUnBondingMetaNode) XXX_Size() int
func (*EventCompleteUnBondingMetaNode) XXX_Unmarshal ¶ added in v0.12.0
func (m *EventCompleteUnBondingMetaNode) XXX_Unmarshal(b []byte) error
type EventCompleteUnBondingResourceNode ¶ added in v0.12.0
type EventCompleteUnBondingResourceNode struct { Amount string `protobuf:"bytes,1,opt,name=amount,proto3" json:"amount,omitempty"` NetworkAddress string `protobuf:"bytes,2,opt,name=network_address,json=networkAddress,proto3" json:"network_address,omitempty"` }
EventCompleteUnBondingResourceNode is emitted on EndBlocker
func (*EventCompleteUnBondingResourceNode) Descriptor ¶ added in v0.12.0
func (*EventCompleteUnBondingResourceNode) Descriptor() ([]byte, []int)
func (*EventCompleteUnBondingResourceNode) GetAmount ¶ added in v0.12.0
func (m *EventCompleteUnBondingResourceNode) GetAmount() string
func (*EventCompleteUnBondingResourceNode) GetNetworkAddress ¶ added in v0.12.0
func (m *EventCompleteUnBondingResourceNode) GetNetworkAddress() string
func (*EventCompleteUnBondingResourceNode) Marshal ¶ added in v0.12.0
func (m *EventCompleteUnBondingResourceNode) Marshal() (dAtA []byte, err error)
func (*EventCompleteUnBondingResourceNode) MarshalTo ¶ added in v0.12.0
func (m *EventCompleteUnBondingResourceNode) MarshalTo(dAtA []byte) (int, error)
func (*EventCompleteUnBondingResourceNode) MarshalToSizedBuffer ¶ added in v0.12.0
func (m *EventCompleteUnBondingResourceNode) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*EventCompleteUnBondingResourceNode) ProtoMessage ¶ added in v0.12.0
func (*EventCompleteUnBondingResourceNode) ProtoMessage()
func (*EventCompleteUnBondingResourceNode) Reset ¶ added in v0.12.0
func (m *EventCompleteUnBondingResourceNode) Reset()
func (*EventCompleteUnBondingResourceNode) Size ¶ added in v0.12.0
func (m *EventCompleteUnBondingResourceNode) Size() (n int)
func (*EventCompleteUnBondingResourceNode) String ¶ added in v0.12.0
func (m *EventCompleteUnBondingResourceNode) String() string
func (*EventCompleteUnBondingResourceNode) Unmarshal ¶ added in v0.12.0
func (m *EventCompleteUnBondingResourceNode) Unmarshal(dAtA []byte) error
func (*EventCompleteUnBondingResourceNode) XXX_DiscardUnknown ¶ added in v0.12.0
func (m *EventCompleteUnBondingResourceNode) XXX_DiscardUnknown()
func (*EventCompleteUnBondingResourceNode) XXX_Marshal ¶ added in v0.12.0
func (m *EventCompleteUnBondingResourceNode) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*EventCompleteUnBondingResourceNode) XXX_Merge ¶ added in v0.12.0
func (m *EventCompleteUnBondingResourceNode) XXX_Merge(src proto.Message)
func (*EventCompleteUnBondingResourceNode) XXX_Size ¶ added in v0.12.0
func (m *EventCompleteUnBondingResourceNode) XXX_Size() int
func (*EventCompleteUnBondingResourceNode) XXX_Unmarshal ¶ added in v0.12.0
func (m *EventCompleteUnBondingResourceNode) XXX_Unmarshal(b []byte) error
type EventCreateMetaNode ¶ added in v0.12.0
type EventCreateMetaNode struct { Sender string `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty"` NetworkAddress string `protobuf:"bytes,2,opt,name=network_address,json=networkAddress,proto3" json:"network_address,omitempty"` }
EventCreateMetaNode is emitted on Msg/MsgCreateMetaNode
func (*EventCreateMetaNode) Descriptor ¶ added in v0.12.0
func (*EventCreateMetaNode) Descriptor() ([]byte, []int)
func (*EventCreateMetaNode) GetNetworkAddress ¶ added in v0.12.0
func (m *EventCreateMetaNode) GetNetworkAddress() string
func (*EventCreateMetaNode) GetSender ¶ added in v0.12.0
func (m *EventCreateMetaNode) GetSender() string
func (*EventCreateMetaNode) Marshal ¶ added in v0.12.0
func (m *EventCreateMetaNode) Marshal() (dAtA []byte, err error)
func (*EventCreateMetaNode) MarshalTo ¶ added in v0.12.0
func (m *EventCreateMetaNode) MarshalTo(dAtA []byte) (int, error)
func (*EventCreateMetaNode) MarshalToSizedBuffer ¶ added in v0.12.0
func (m *EventCreateMetaNode) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*EventCreateMetaNode) ProtoMessage ¶ added in v0.12.0
func (*EventCreateMetaNode) ProtoMessage()
func (*EventCreateMetaNode) Reset ¶ added in v0.12.0
func (m *EventCreateMetaNode) Reset()
func (*EventCreateMetaNode) Size ¶ added in v0.12.0
func (m *EventCreateMetaNode) Size() (n int)
func (*EventCreateMetaNode) String ¶ added in v0.12.0
func (m *EventCreateMetaNode) String() string
func (*EventCreateMetaNode) Unmarshal ¶ added in v0.12.0
func (m *EventCreateMetaNode) Unmarshal(dAtA []byte) error
func (*EventCreateMetaNode) XXX_DiscardUnknown ¶ added in v0.12.0
func (m *EventCreateMetaNode) XXX_DiscardUnknown()
func (*EventCreateMetaNode) XXX_Marshal ¶ added in v0.12.0
func (m *EventCreateMetaNode) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*EventCreateMetaNode) XXX_Merge ¶ added in v0.12.0
func (m *EventCreateMetaNode) XXX_Merge(src proto.Message)
func (*EventCreateMetaNode) XXX_Size ¶ added in v0.12.0
func (m *EventCreateMetaNode) XXX_Size() int
func (*EventCreateMetaNode) XXX_Unmarshal ¶ added in v0.12.0
func (m *EventCreateMetaNode) XXX_Unmarshal(b []byte) error
type EventCreateResourceNode ¶ added in v0.12.0
type EventCreateResourceNode struct { Sender string `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty"` NetworkAddress string `protobuf:"bytes,2,opt,name=network_address,json=networkAddress,proto3" json:"network_address,omitempty"` Pubkey string `protobuf:"bytes,3,opt,name=pubkey,proto3" json:"pubkey,omitempty"` OzoneLimitChanges string `protobuf:"bytes,4,opt,name=ozone_limit_changes,json=ozoneLimitChanges,proto3" json:"ozone_limit_changes,omitempty"` InitialDeposit string `protobuf:"bytes,5,opt,name=initial_deposit,json=initialDeposit,proto3" json:"initial_deposit,omitempty"` }
EventCreateResourceNode is emitted on Msg/MsgCreateResourceNode
func (*EventCreateResourceNode) Descriptor ¶ added in v0.12.0
func (*EventCreateResourceNode) Descriptor() ([]byte, []int)
func (*EventCreateResourceNode) GetInitialDeposit ¶ added in v0.12.0
func (m *EventCreateResourceNode) GetInitialDeposit() string
func (*EventCreateResourceNode) GetNetworkAddress ¶ added in v0.12.0
func (m *EventCreateResourceNode) GetNetworkAddress() string
func (*EventCreateResourceNode) GetOzoneLimitChanges ¶ added in v0.12.0
func (m *EventCreateResourceNode) GetOzoneLimitChanges() string
func (*EventCreateResourceNode) GetPubkey ¶ added in v0.12.0
func (m *EventCreateResourceNode) GetPubkey() string
func (*EventCreateResourceNode) GetSender ¶ added in v0.12.0
func (m *EventCreateResourceNode) GetSender() string
func (*EventCreateResourceNode) Marshal ¶ added in v0.12.0
func (m *EventCreateResourceNode) Marshal() (dAtA []byte, err error)
func (*EventCreateResourceNode) MarshalTo ¶ added in v0.12.0
func (m *EventCreateResourceNode) MarshalTo(dAtA []byte) (int, error)
func (*EventCreateResourceNode) MarshalToSizedBuffer ¶ added in v0.12.0
func (m *EventCreateResourceNode) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*EventCreateResourceNode) ProtoMessage ¶ added in v0.12.0
func (*EventCreateResourceNode) ProtoMessage()
func (*EventCreateResourceNode) Reset ¶ added in v0.12.0
func (m *EventCreateResourceNode) Reset()
func (*EventCreateResourceNode) Size ¶ added in v0.12.0
func (m *EventCreateResourceNode) Size() (n int)
func (*EventCreateResourceNode) String ¶ added in v0.12.0
func (m *EventCreateResourceNode) String() string
func (*EventCreateResourceNode) Unmarshal ¶ added in v0.12.0
func (m *EventCreateResourceNode) Unmarshal(dAtA []byte) error
func (*EventCreateResourceNode) XXX_DiscardUnknown ¶ added in v0.12.0
func (m *EventCreateResourceNode) XXX_DiscardUnknown()
func (*EventCreateResourceNode) XXX_Marshal ¶ added in v0.12.0
func (m *EventCreateResourceNode) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*EventCreateResourceNode) XXX_Merge ¶ added in v0.12.0
func (m *EventCreateResourceNode) XXX_Merge(src proto.Message)
func (*EventCreateResourceNode) XXX_Size ¶ added in v0.12.0
func (m *EventCreateResourceNode) XXX_Size() int
func (*EventCreateResourceNode) XXX_Unmarshal ¶ added in v0.12.0
func (m *EventCreateResourceNode) XXX_Unmarshal(b []byte) error
type EventKickMetaNodeVote ¶ added in v0.12.0
type EventKickMetaNodeVote struct { Sender string `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty"` VoterNetworkAddress string `protobuf:"bytes,2,opt,name=voter_network_address,json=voterNetworkAddress,proto3" json:"voter_network_address,omitempty"` TargetNetworkAddress string `protobuf:"bytes,3,opt,name=target_network_address,json=targetNetworkAddress,proto3" json:"target_network_address,omitempty"` TargetStatus string `protobuf:"bytes,4,opt,name=target_status,json=targetStatus,proto3" json:"target_status,omitempty"` }
func (*EventKickMetaNodeVote) Descriptor ¶ added in v0.12.0
func (*EventKickMetaNodeVote) Descriptor() ([]byte, []int)
func (*EventKickMetaNodeVote) GetSender ¶ added in v0.12.0
func (m *EventKickMetaNodeVote) GetSender() string
func (*EventKickMetaNodeVote) GetTargetNetworkAddress ¶ added in v0.12.0
func (m *EventKickMetaNodeVote) GetTargetNetworkAddress() string
func (*EventKickMetaNodeVote) GetTargetStatus ¶ added in v0.12.0
func (m *EventKickMetaNodeVote) GetTargetStatus() string
func (*EventKickMetaNodeVote) GetVoterNetworkAddress ¶ added in v0.12.0
func (m *EventKickMetaNodeVote) GetVoterNetworkAddress() string
func (*EventKickMetaNodeVote) Marshal ¶ added in v0.12.0
func (m *EventKickMetaNodeVote) Marshal() (dAtA []byte, err error)
func (*EventKickMetaNodeVote) MarshalTo ¶ added in v0.12.0
func (m *EventKickMetaNodeVote) MarshalTo(dAtA []byte) (int, error)
func (*EventKickMetaNodeVote) MarshalToSizedBuffer ¶ added in v0.12.0
func (m *EventKickMetaNodeVote) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*EventKickMetaNodeVote) ProtoMessage ¶ added in v0.12.0
func (*EventKickMetaNodeVote) ProtoMessage()
func (*EventKickMetaNodeVote) Reset ¶ added in v0.12.0
func (m *EventKickMetaNodeVote) Reset()
func (*EventKickMetaNodeVote) Size ¶ added in v0.12.0
func (m *EventKickMetaNodeVote) Size() (n int)
func (*EventKickMetaNodeVote) String ¶ added in v0.12.0
func (m *EventKickMetaNodeVote) String() string
func (*EventKickMetaNodeVote) Unmarshal ¶ added in v0.12.0
func (m *EventKickMetaNodeVote) Unmarshal(dAtA []byte) error
func (*EventKickMetaNodeVote) XXX_DiscardUnknown ¶ added in v0.12.0
func (m *EventKickMetaNodeVote) XXX_DiscardUnknown()
func (*EventKickMetaNodeVote) XXX_Marshal ¶ added in v0.12.0
func (m *EventKickMetaNodeVote) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*EventKickMetaNodeVote) XXX_Merge ¶ added in v0.12.0
func (m *EventKickMetaNodeVote) XXX_Merge(src proto.Message)
func (*EventKickMetaNodeVote) XXX_Size ¶ added in v0.12.0
func (m *EventKickMetaNodeVote) XXX_Size() int
func (*EventKickMetaNodeVote) XXX_Unmarshal ¶ added in v0.12.0
func (m *EventKickMetaNodeVote) XXX_Unmarshal(b []byte) error
type EventMetaNodeRegistrationVote ¶ added in v0.12.0
type EventMetaNodeRegistrationVote struct { Sender string `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty"` VoterNetworkAddress string `protobuf:"bytes,2,opt,name=voter_network_address,json=voterNetworkAddress,proto3" json:"voter_network_address,omitempty"` CandidateNetworkAddress string `` /* 132-byte string literal not displayed */ CandidateStatus string `protobuf:"bytes,4,opt,name=candidate_status,json=candidateStatus,proto3" json:"candidate_status,omitempty"` OzoneLimitChanges string `protobuf:"bytes,5,opt,name=ozone_limit_changes,json=ozoneLimitChanges,proto3" json:"ozone_limit_changes,omitempty"` }
EventMetaNodeRegistrationVote is emitted on Msg/MsgMetaNodeRegistrationVote
func (*EventMetaNodeRegistrationVote) Descriptor ¶ added in v0.12.0
func (*EventMetaNodeRegistrationVote) Descriptor() ([]byte, []int)
func (*EventMetaNodeRegistrationVote) GetCandidateNetworkAddress ¶ added in v0.12.0
func (m *EventMetaNodeRegistrationVote) GetCandidateNetworkAddress() string
func (*EventMetaNodeRegistrationVote) GetCandidateStatus ¶ added in v0.12.0
func (m *EventMetaNodeRegistrationVote) GetCandidateStatus() string
func (*EventMetaNodeRegistrationVote) GetOzoneLimitChanges ¶ added in v0.12.0
func (m *EventMetaNodeRegistrationVote) GetOzoneLimitChanges() string
func (*EventMetaNodeRegistrationVote) GetSender ¶ added in v0.12.0
func (m *EventMetaNodeRegistrationVote) GetSender() string
func (*EventMetaNodeRegistrationVote) GetVoterNetworkAddress ¶ added in v0.12.0
func (m *EventMetaNodeRegistrationVote) GetVoterNetworkAddress() string
func (*EventMetaNodeRegistrationVote) Marshal ¶ added in v0.12.0
func (m *EventMetaNodeRegistrationVote) Marshal() (dAtA []byte, err error)
func (*EventMetaNodeRegistrationVote) MarshalTo ¶ added in v0.12.0
func (m *EventMetaNodeRegistrationVote) MarshalTo(dAtA []byte) (int, error)
func (*EventMetaNodeRegistrationVote) MarshalToSizedBuffer ¶ added in v0.12.0
func (m *EventMetaNodeRegistrationVote) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*EventMetaNodeRegistrationVote) ProtoMessage ¶ added in v0.12.0
func (*EventMetaNodeRegistrationVote) ProtoMessage()
func (*EventMetaNodeRegistrationVote) Reset ¶ added in v0.12.0
func (m *EventMetaNodeRegistrationVote) Reset()
func (*EventMetaNodeRegistrationVote) Size ¶ added in v0.12.0
func (m *EventMetaNodeRegistrationVote) Size() (n int)
func (*EventMetaNodeRegistrationVote) String ¶ added in v0.12.0
func (m *EventMetaNodeRegistrationVote) String() string
func (*EventMetaNodeRegistrationVote) Unmarshal ¶ added in v0.12.0
func (m *EventMetaNodeRegistrationVote) Unmarshal(dAtA []byte) error
func (*EventMetaNodeRegistrationVote) XXX_DiscardUnknown ¶ added in v0.12.0
func (m *EventMetaNodeRegistrationVote) XXX_DiscardUnknown()
func (*EventMetaNodeRegistrationVote) XXX_Marshal ¶ added in v0.12.0
func (m *EventMetaNodeRegistrationVote) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*EventMetaNodeRegistrationVote) XXX_Merge ¶ added in v0.12.0
func (m *EventMetaNodeRegistrationVote) XXX_Merge(src proto.Message)
func (*EventMetaNodeRegistrationVote) XXX_Size ¶ added in v0.12.0
func (m *EventMetaNodeRegistrationVote) XXX_Size() int
func (*EventMetaNodeRegistrationVote) XXX_Unmarshal ¶ added in v0.12.0
func (m *EventMetaNodeRegistrationVote) XXX_Unmarshal(b []byte) error
type EventUnBondingMetaNode ¶ added in v0.12.0
type EventUnBondingMetaNode struct { Sender string `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty"` MetaNode string `protobuf:"bytes,2,opt,name=meta_node,json=metaNode,proto3" json:"meta_node,omitempty"` OzoneLimitChanges string `protobuf:"bytes,3,opt,name=ozone_limit_changes,json=ozoneLimitChanges,proto3" json:"ozone_limit_changes,omitempty"` DepositToRemove string `protobuf:"bytes,4,opt,name=deposit_to_remove,json=depositToRemove,proto3" json:"deposit_to_remove,omitempty"` UnbondingMatureTime string `protobuf:"bytes,5,opt,name=unbonding_mature_time,json=unbondingMatureTime,proto3" json:"unbonding_mature_time,omitempty"` }
EventUnBondingResourceNode is emitted on Msg/MsgRemoveMetaNode
func (*EventUnBondingMetaNode) Descriptor ¶ added in v0.12.0
func (*EventUnBondingMetaNode) Descriptor() ([]byte, []int)
func (*EventUnBondingMetaNode) GetDepositToRemove ¶ added in v0.12.0
func (m *EventUnBondingMetaNode) GetDepositToRemove() string
func (*EventUnBondingMetaNode) GetMetaNode ¶ added in v0.12.0
func (m *EventUnBondingMetaNode) GetMetaNode() string
func (*EventUnBondingMetaNode) GetOzoneLimitChanges ¶ added in v0.12.0
func (m *EventUnBondingMetaNode) GetOzoneLimitChanges() string
func (*EventUnBondingMetaNode) GetSender ¶ added in v0.12.0
func (m *EventUnBondingMetaNode) GetSender() string
func (*EventUnBondingMetaNode) GetUnbondingMatureTime ¶ added in v0.12.0
func (m *EventUnBondingMetaNode) GetUnbondingMatureTime() string
func (*EventUnBondingMetaNode) Marshal ¶ added in v0.12.0
func (m *EventUnBondingMetaNode) Marshal() (dAtA []byte, err error)
func (*EventUnBondingMetaNode) MarshalTo ¶ added in v0.12.0
func (m *EventUnBondingMetaNode) MarshalTo(dAtA []byte) (int, error)
func (*EventUnBondingMetaNode) MarshalToSizedBuffer ¶ added in v0.12.0
func (m *EventUnBondingMetaNode) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*EventUnBondingMetaNode) ProtoMessage ¶ added in v0.12.0
func (*EventUnBondingMetaNode) ProtoMessage()
func (*EventUnBondingMetaNode) Reset ¶ added in v0.12.0
func (m *EventUnBondingMetaNode) Reset()
func (*EventUnBondingMetaNode) Size ¶ added in v0.12.0
func (m *EventUnBondingMetaNode) Size() (n int)
func (*EventUnBondingMetaNode) String ¶ added in v0.12.0
func (m *EventUnBondingMetaNode) String() string
func (*EventUnBondingMetaNode) Unmarshal ¶ added in v0.12.0
func (m *EventUnBondingMetaNode) Unmarshal(dAtA []byte) error
func (*EventUnBondingMetaNode) XXX_DiscardUnknown ¶ added in v0.12.0
func (m *EventUnBondingMetaNode) XXX_DiscardUnknown()
func (*EventUnBondingMetaNode) XXX_Marshal ¶ added in v0.12.0
func (m *EventUnBondingMetaNode) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*EventUnBondingMetaNode) XXX_Merge ¶ added in v0.12.0
func (m *EventUnBondingMetaNode) XXX_Merge(src proto.Message)
func (*EventUnBondingMetaNode) XXX_Size ¶ added in v0.12.0
func (m *EventUnBondingMetaNode) XXX_Size() int
func (*EventUnBondingMetaNode) XXX_Unmarshal ¶ added in v0.12.0
func (m *EventUnBondingMetaNode) XXX_Unmarshal(b []byte) error
type EventUnBondingResourceNode ¶ added in v0.12.0
type EventUnBondingResourceNode struct { Sender string `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty"` ResourceNode string `protobuf:"bytes,2,opt,name=resource_node,json=resourceNode,proto3" json:"resource_node,omitempty"` DepositToRemove string `protobuf:"bytes,3,opt,name=deposit_to_remove,json=depositToRemove,proto3" json:"deposit_to_remove,omitempty"` UnbondingMatureTime string `protobuf:"bytes,4,opt,name=unbonding_mature_time,json=unbondingMatureTime,proto3" json:"unbonding_mature_time,omitempty"` }
EventUnBondingResourceNode is emitted on Msg/MsgRemoveResourceNode
func (*EventUnBondingResourceNode) Descriptor ¶ added in v0.12.0
func (*EventUnBondingResourceNode) Descriptor() ([]byte, []int)
func (*EventUnBondingResourceNode) GetDepositToRemove ¶ added in v0.12.0
func (m *EventUnBondingResourceNode) GetDepositToRemove() string
func (*EventUnBondingResourceNode) GetResourceNode ¶ added in v0.12.0
func (m *EventUnBondingResourceNode) GetResourceNode() string
func (*EventUnBondingResourceNode) GetSender ¶ added in v0.12.0
func (m *EventUnBondingResourceNode) GetSender() string
func (*EventUnBondingResourceNode) GetUnbondingMatureTime ¶ added in v0.12.0
func (m *EventUnBondingResourceNode) GetUnbondingMatureTime() string
func (*EventUnBondingResourceNode) Marshal ¶ added in v0.12.0
func (m *EventUnBondingResourceNode) Marshal() (dAtA []byte, err error)
func (*EventUnBondingResourceNode) MarshalTo ¶ added in v0.12.0
func (m *EventUnBondingResourceNode) MarshalTo(dAtA []byte) (int, error)
func (*EventUnBondingResourceNode) MarshalToSizedBuffer ¶ added in v0.12.0
func (m *EventUnBondingResourceNode) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*EventUnBondingResourceNode) ProtoMessage ¶ added in v0.12.0
func (*EventUnBondingResourceNode) ProtoMessage()
func (*EventUnBondingResourceNode) Reset ¶ added in v0.12.0
func (m *EventUnBondingResourceNode) Reset()
func (*EventUnBondingResourceNode) Size ¶ added in v0.12.0
func (m *EventUnBondingResourceNode) Size() (n int)
func (*EventUnBondingResourceNode) String ¶ added in v0.12.0
func (m *EventUnBondingResourceNode) String() string
func (*EventUnBondingResourceNode) Unmarshal ¶ added in v0.12.0
func (m *EventUnBondingResourceNode) Unmarshal(dAtA []byte) error
func (*EventUnBondingResourceNode) XXX_DiscardUnknown ¶ added in v0.12.0
func (m *EventUnBondingResourceNode) XXX_DiscardUnknown()
func (*EventUnBondingResourceNode) XXX_Marshal ¶ added in v0.12.0
func (m *EventUnBondingResourceNode) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*EventUnBondingResourceNode) XXX_Merge ¶ added in v0.12.0
func (m *EventUnBondingResourceNode) XXX_Merge(src proto.Message)
func (*EventUnBondingResourceNode) XXX_Size ¶ added in v0.12.0
func (m *EventUnBondingResourceNode) XXX_Size() int
func (*EventUnBondingResourceNode) XXX_Unmarshal ¶ added in v0.12.0
func (m *EventUnBondingResourceNode) XXX_Unmarshal(b []byte) error
type EventUpdateEffectiveDeposit ¶ added in v0.12.0
type EventUpdateEffectiveDeposit struct { NetworkAddress string `protobuf:"bytes,1,opt,name=network_address,json=networkAddress,proto3" json:"network_address,omitempty"` EffectiveDepositAfter string `` /* 126-byte string literal not displayed */ IsUnsuspended string `protobuf:"bytes,3,opt,name=is_unsuspended,json=isUnsuspended,proto3" json:"is_unsuspended,omitempty"` }
EventUpdateEffectiveDeposit is emitted on Msg/MsgUpdateEffectiveDeposit
func (*EventUpdateEffectiveDeposit) Descriptor ¶ added in v0.12.0
func (*EventUpdateEffectiveDeposit) Descriptor() ([]byte, []int)
func (*EventUpdateEffectiveDeposit) GetEffectiveDepositAfter ¶ added in v0.12.0
func (m *EventUpdateEffectiveDeposit) GetEffectiveDepositAfter() string
func (*EventUpdateEffectiveDeposit) GetIsUnsuspended ¶ added in v0.12.0
func (m *EventUpdateEffectiveDeposit) GetIsUnsuspended() string
func (*EventUpdateEffectiveDeposit) GetNetworkAddress ¶ added in v0.12.0
func (m *EventUpdateEffectiveDeposit) GetNetworkAddress() string
func (*EventUpdateEffectiveDeposit) Marshal ¶ added in v0.12.0
func (m *EventUpdateEffectiveDeposit) Marshal() (dAtA []byte, err error)
func (*EventUpdateEffectiveDeposit) MarshalTo ¶ added in v0.12.0
func (m *EventUpdateEffectiveDeposit) MarshalTo(dAtA []byte) (int, error)
func (*EventUpdateEffectiveDeposit) MarshalToSizedBuffer ¶ added in v0.12.0
func (m *EventUpdateEffectiveDeposit) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*EventUpdateEffectiveDeposit) ProtoMessage ¶ added in v0.12.0
func (*EventUpdateEffectiveDeposit) ProtoMessage()
func (*EventUpdateEffectiveDeposit) Reset ¶ added in v0.12.0
func (m *EventUpdateEffectiveDeposit) Reset()
func (*EventUpdateEffectiveDeposit) Size ¶ added in v0.12.0
func (m *EventUpdateEffectiveDeposit) Size() (n int)
func (*EventUpdateEffectiveDeposit) String ¶ added in v0.12.0
func (m *EventUpdateEffectiveDeposit) String() string
func (*EventUpdateEffectiveDeposit) Unmarshal ¶ added in v0.12.0
func (m *EventUpdateEffectiveDeposit) Unmarshal(dAtA []byte) error
func (*EventUpdateEffectiveDeposit) XXX_DiscardUnknown ¶ added in v0.12.0
func (m *EventUpdateEffectiveDeposit) XXX_DiscardUnknown()
func (*EventUpdateEffectiveDeposit) XXX_Marshal ¶ added in v0.12.0
func (m *EventUpdateEffectiveDeposit) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*EventUpdateEffectiveDeposit) XXX_Merge ¶ added in v0.12.0
func (m *EventUpdateEffectiveDeposit) XXX_Merge(src proto.Message)
func (*EventUpdateEffectiveDeposit) XXX_Size ¶ added in v0.12.0
func (m *EventUpdateEffectiveDeposit) XXX_Size() int
func (*EventUpdateEffectiveDeposit) XXX_Unmarshal ¶ added in v0.12.0
func (m *EventUpdateEffectiveDeposit) XXX_Unmarshal(b []byte) error
type EventUpdateMetaNode ¶ added in v0.12.0
type EventUpdateMetaNode struct { Sender string `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty"` NetworkAddress string `protobuf:"bytes,2,opt,name=network_address,json=networkAddress,proto3" json:"network_address,omitempty"` }
EventUpdateMetaNode is emitted on Msg/MsgUpdateMetaNode
func (*EventUpdateMetaNode) Descriptor ¶ added in v0.12.0
func (*EventUpdateMetaNode) Descriptor() ([]byte, []int)
func (*EventUpdateMetaNode) GetNetworkAddress ¶ added in v0.12.0
func (m *EventUpdateMetaNode) GetNetworkAddress() string
func (*EventUpdateMetaNode) GetSender ¶ added in v0.12.0
func (m *EventUpdateMetaNode) GetSender() string
func (*EventUpdateMetaNode) Marshal ¶ added in v0.12.0
func (m *EventUpdateMetaNode) Marshal() (dAtA []byte, err error)
func (*EventUpdateMetaNode) MarshalTo ¶ added in v0.12.0
func (m *EventUpdateMetaNode) MarshalTo(dAtA []byte) (int, error)
func (*EventUpdateMetaNode) MarshalToSizedBuffer ¶ added in v0.12.0
func (m *EventUpdateMetaNode) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*EventUpdateMetaNode) ProtoMessage ¶ added in v0.12.0
func (*EventUpdateMetaNode) ProtoMessage()
func (*EventUpdateMetaNode) Reset ¶ added in v0.12.0
func (m *EventUpdateMetaNode) Reset()
func (*EventUpdateMetaNode) Size ¶ added in v0.12.0
func (m *EventUpdateMetaNode) Size() (n int)
func (*EventUpdateMetaNode) String ¶ added in v0.12.0
func (m *EventUpdateMetaNode) String() string
func (*EventUpdateMetaNode) Unmarshal ¶ added in v0.12.0
func (m *EventUpdateMetaNode) Unmarshal(dAtA []byte) error
func (*EventUpdateMetaNode) XXX_DiscardUnknown ¶ added in v0.12.0
func (m *EventUpdateMetaNode) XXX_DiscardUnknown()
func (*EventUpdateMetaNode) XXX_Marshal ¶ added in v0.12.0
func (m *EventUpdateMetaNode) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*EventUpdateMetaNode) XXX_Merge ¶ added in v0.12.0
func (m *EventUpdateMetaNode) XXX_Merge(src proto.Message)
func (*EventUpdateMetaNode) XXX_Size ¶ added in v0.12.0
func (m *EventUpdateMetaNode) XXX_Size() int
func (*EventUpdateMetaNode) XXX_Unmarshal ¶ added in v0.12.0
func (m *EventUpdateMetaNode) XXX_Unmarshal(b []byte) error
type EventUpdateMetaNodeDeposit ¶ added in v0.12.0
type EventUpdateMetaNodeDeposit struct { Sender string `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty"` NetworkAddress string `protobuf:"bytes,2,opt,name=network_address,json=networkAddress,proto3" json:"network_address,omitempty"` DepositDelta string `protobuf:"bytes,3,opt,name=deposit_delta,json=depositDelta,proto3" json:"deposit_delta,omitempty"` CurrentDeposit string `protobuf:"bytes,4,opt,name=current_deposit,json=currentDeposit,proto3" json:"current_deposit,omitempty"` AvailableTokenBefore string `protobuf:"bytes,5,opt,name=available_token_before,json=availableTokenBefore,proto3" json:"available_token_before,omitempty"` AvailableTokenAfter string `protobuf:"bytes,6,opt,name=available_token_after,json=availableTokenAfter,proto3" json:"available_token_after,omitempty"` OzoneLimitChanges string `protobuf:"bytes,7,opt,name=ozone_limit_changes,json=ozoneLimitChanges,proto3" json:"ozone_limit_changes,omitempty"` UnbondingMatureTime string `protobuf:"bytes,8,opt,name=unbonding_mature_time,json=unbondingMatureTime,proto3" json:"unbonding_mature_time,omitempty"` }
EventUpdateMetaNodeDeposit is emitted on Msg/MsgUpdateMetaNodeDeposit
func (*EventUpdateMetaNodeDeposit) Descriptor ¶ added in v0.12.0
func (*EventUpdateMetaNodeDeposit) Descriptor() ([]byte, []int)
func (*EventUpdateMetaNodeDeposit) GetAvailableTokenAfter ¶ added in v0.12.0
func (m *EventUpdateMetaNodeDeposit) GetAvailableTokenAfter() string
func (*EventUpdateMetaNodeDeposit) GetAvailableTokenBefore ¶ added in v0.12.0
func (m *EventUpdateMetaNodeDeposit) GetAvailableTokenBefore() string
func (*EventUpdateMetaNodeDeposit) GetCurrentDeposit ¶ added in v0.12.0
func (m *EventUpdateMetaNodeDeposit) GetCurrentDeposit() string
func (*EventUpdateMetaNodeDeposit) GetDepositDelta ¶ added in v0.12.0
func (m *EventUpdateMetaNodeDeposit) GetDepositDelta() string
func (*EventUpdateMetaNodeDeposit) GetNetworkAddress ¶ added in v0.12.0
func (m *EventUpdateMetaNodeDeposit) GetNetworkAddress() string
func (*EventUpdateMetaNodeDeposit) GetOzoneLimitChanges ¶ added in v0.12.0
func (m *EventUpdateMetaNodeDeposit) GetOzoneLimitChanges() string
func (*EventUpdateMetaNodeDeposit) GetSender ¶ added in v0.12.0
func (m *EventUpdateMetaNodeDeposit) GetSender() string
func (*EventUpdateMetaNodeDeposit) GetUnbondingMatureTime ¶ added in v0.12.0
func (m *EventUpdateMetaNodeDeposit) GetUnbondingMatureTime() string
func (*EventUpdateMetaNodeDeposit) Marshal ¶ added in v0.12.0
func (m *EventUpdateMetaNodeDeposit) Marshal() (dAtA []byte, err error)
func (*EventUpdateMetaNodeDeposit) MarshalTo ¶ added in v0.12.0
func (m *EventUpdateMetaNodeDeposit) MarshalTo(dAtA []byte) (int, error)
func (*EventUpdateMetaNodeDeposit) MarshalToSizedBuffer ¶ added in v0.12.0
func (m *EventUpdateMetaNodeDeposit) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*EventUpdateMetaNodeDeposit) ProtoMessage ¶ added in v0.12.0
func (*EventUpdateMetaNodeDeposit) ProtoMessage()
func (*EventUpdateMetaNodeDeposit) Reset ¶ added in v0.12.0
func (m *EventUpdateMetaNodeDeposit) Reset()
func (*EventUpdateMetaNodeDeposit) Size ¶ added in v0.12.0
func (m *EventUpdateMetaNodeDeposit) Size() (n int)
func (*EventUpdateMetaNodeDeposit) String ¶ added in v0.12.0
func (m *EventUpdateMetaNodeDeposit) String() string
func (*EventUpdateMetaNodeDeposit) Unmarshal ¶ added in v0.12.0
func (m *EventUpdateMetaNodeDeposit) Unmarshal(dAtA []byte) error
func (*EventUpdateMetaNodeDeposit) XXX_DiscardUnknown ¶ added in v0.12.0
func (m *EventUpdateMetaNodeDeposit) XXX_DiscardUnknown()
func (*EventUpdateMetaNodeDeposit) XXX_Marshal ¶ added in v0.12.0
func (m *EventUpdateMetaNodeDeposit) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*EventUpdateMetaNodeDeposit) XXX_Merge ¶ added in v0.12.0
func (m *EventUpdateMetaNodeDeposit) XXX_Merge(src proto.Message)
func (*EventUpdateMetaNodeDeposit) XXX_Size ¶ added in v0.12.0
func (m *EventUpdateMetaNodeDeposit) XXX_Size() int
func (*EventUpdateMetaNodeDeposit) XXX_Unmarshal ¶ added in v0.12.0
func (m *EventUpdateMetaNodeDeposit) XXX_Unmarshal(b []byte) error
type EventUpdateResourceNode ¶ added in v0.12.0
type EventUpdateResourceNode struct { Sender string `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty"` NetworkAddress string `protobuf:"bytes,2,opt,name=network_address,json=networkAddress,proto3" json:"network_address,omitempty"` BeneficiaryAddress string `protobuf:"bytes,3,opt,name=beneficiary_address,json=beneficiaryAddress,proto3" json:"beneficiary_address,omitempty"` }
EventUpdateResourceNode is emitted on Msg/MsgUpdateResourceNode
func (*EventUpdateResourceNode) Descriptor ¶ added in v0.12.0
func (*EventUpdateResourceNode) Descriptor() ([]byte, []int)
func (*EventUpdateResourceNode) GetBeneficiaryAddress ¶ added in v0.12.0
func (m *EventUpdateResourceNode) GetBeneficiaryAddress() string
func (*EventUpdateResourceNode) GetNetworkAddress ¶ added in v0.12.0
func (m *EventUpdateResourceNode) GetNetworkAddress() string
func (*EventUpdateResourceNode) GetSender ¶ added in v0.12.0
func (m *EventUpdateResourceNode) GetSender() string
func (*EventUpdateResourceNode) Marshal ¶ added in v0.12.0
func (m *EventUpdateResourceNode) Marshal() (dAtA []byte, err error)
func (*EventUpdateResourceNode) MarshalTo ¶ added in v0.12.0
func (m *EventUpdateResourceNode) MarshalTo(dAtA []byte) (int, error)
func (*EventUpdateResourceNode) MarshalToSizedBuffer ¶ added in v0.12.0
func (m *EventUpdateResourceNode) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*EventUpdateResourceNode) ProtoMessage ¶ added in v0.12.0
func (*EventUpdateResourceNode) ProtoMessage()
func (*EventUpdateResourceNode) Reset ¶ added in v0.12.0
func (m *EventUpdateResourceNode) Reset()
func (*EventUpdateResourceNode) Size ¶ added in v0.12.0
func (m *EventUpdateResourceNode) Size() (n int)
func (*EventUpdateResourceNode) String ¶ added in v0.12.0
func (m *EventUpdateResourceNode) String() string
func (*EventUpdateResourceNode) Unmarshal ¶ added in v0.12.0
func (m *EventUpdateResourceNode) Unmarshal(dAtA []byte) error
func (*EventUpdateResourceNode) XXX_DiscardUnknown ¶ added in v0.12.0
func (m *EventUpdateResourceNode) XXX_DiscardUnknown()
func (*EventUpdateResourceNode) XXX_Marshal ¶ added in v0.12.0
func (m *EventUpdateResourceNode) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*EventUpdateResourceNode) XXX_Merge ¶ added in v0.12.0
func (m *EventUpdateResourceNode) XXX_Merge(src proto.Message)
func (*EventUpdateResourceNode) XXX_Size ¶ added in v0.12.0
func (m *EventUpdateResourceNode) XXX_Size() int
func (*EventUpdateResourceNode) XXX_Unmarshal ¶ added in v0.12.0
func (m *EventUpdateResourceNode) XXX_Unmarshal(b []byte) error
type EventUpdateResourceNodeDeposit ¶ added in v0.12.0
type EventUpdateResourceNodeDeposit struct { Sender string `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty"` NetworkAddress string `protobuf:"bytes,2,opt,name=network_address,json=networkAddress,proto3" json:"network_address,omitempty"` DepositDelta string `protobuf:"bytes,3,opt,name=deposit_delta,json=depositDelta,proto3" json:"deposit_delta,omitempty"` CurrentDeposit string `protobuf:"bytes,4,opt,name=current_deposit,json=currentDeposit,proto3" json:"current_deposit,omitempty"` AvailableTokenBefore string `protobuf:"bytes,5,opt,name=available_token_before,json=availableTokenBefore,proto3" json:"available_token_before,omitempty"` AvailableTokenAfter string `protobuf:"bytes,6,opt,name=available_token_after,json=availableTokenAfter,proto3" json:"available_token_after,omitempty"` OzoneLimitChanges string `protobuf:"bytes,7,opt,name=ozone_limit_changes,json=ozoneLimitChanges,proto3" json:"ozone_limit_changes,omitempty"` UnbondingMatureTime string `protobuf:"bytes,8,opt,name=unbonding_mature_time,json=unbondingMatureTime,proto3" json:"unbonding_mature_time,omitempty"` }
EventUpdateResourceNodeDeposit is emitted on Msg/MsgUpdateResourceNodeDeposit
func (*EventUpdateResourceNodeDeposit) Descriptor ¶ added in v0.12.0
func (*EventUpdateResourceNodeDeposit) Descriptor() ([]byte, []int)
func (*EventUpdateResourceNodeDeposit) GetAvailableTokenAfter ¶ added in v0.12.0
func (m *EventUpdateResourceNodeDeposit) GetAvailableTokenAfter() string
func (*EventUpdateResourceNodeDeposit) GetAvailableTokenBefore ¶ added in v0.12.0
func (m *EventUpdateResourceNodeDeposit) GetAvailableTokenBefore() string
func (*EventUpdateResourceNodeDeposit) GetCurrentDeposit ¶ added in v0.12.0
func (m *EventUpdateResourceNodeDeposit) GetCurrentDeposit() string
func (*EventUpdateResourceNodeDeposit) GetDepositDelta ¶ added in v0.12.0
func (m *EventUpdateResourceNodeDeposit) GetDepositDelta() string
func (*EventUpdateResourceNodeDeposit) GetNetworkAddress ¶ added in v0.12.0
func (m *EventUpdateResourceNodeDeposit) GetNetworkAddress() string
func (*EventUpdateResourceNodeDeposit) GetOzoneLimitChanges ¶ added in v0.12.0
func (m *EventUpdateResourceNodeDeposit) GetOzoneLimitChanges() string
func (*EventUpdateResourceNodeDeposit) GetSender ¶ added in v0.12.0
func (m *EventUpdateResourceNodeDeposit) GetSender() string
func (*EventUpdateResourceNodeDeposit) GetUnbondingMatureTime ¶ added in v0.12.0
func (m *EventUpdateResourceNodeDeposit) GetUnbondingMatureTime() string
func (*EventUpdateResourceNodeDeposit) Marshal ¶ added in v0.12.0
func (m *EventUpdateResourceNodeDeposit) Marshal() (dAtA []byte, err error)
func (*EventUpdateResourceNodeDeposit) MarshalTo ¶ added in v0.12.0
func (m *EventUpdateResourceNodeDeposit) MarshalTo(dAtA []byte) (int, error)
func (*EventUpdateResourceNodeDeposit) MarshalToSizedBuffer ¶ added in v0.12.0
func (m *EventUpdateResourceNodeDeposit) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*EventUpdateResourceNodeDeposit) ProtoMessage ¶ added in v0.12.0
func (*EventUpdateResourceNodeDeposit) ProtoMessage()
func (*EventUpdateResourceNodeDeposit) Reset ¶ added in v0.12.0
func (m *EventUpdateResourceNodeDeposit) Reset()
func (*EventUpdateResourceNodeDeposit) Size ¶ added in v0.12.0
func (m *EventUpdateResourceNodeDeposit) Size() (n int)
func (*EventUpdateResourceNodeDeposit) String ¶ added in v0.12.0
func (m *EventUpdateResourceNodeDeposit) String() string
func (*EventUpdateResourceNodeDeposit) Unmarshal ¶ added in v0.12.0
func (m *EventUpdateResourceNodeDeposit) Unmarshal(dAtA []byte) error
func (*EventUpdateResourceNodeDeposit) XXX_DiscardUnknown ¶ added in v0.12.0
func (m *EventUpdateResourceNodeDeposit) XXX_DiscardUnknown()
func (*EventUpdateResourceNodeDeposit) XXX_Marshal ¶ added in v0.12.0
func (m *EventUpdateResourceNodeDeposit) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*EventUpdateResourceNodeDeposit) XXX_Merge ¶ added in v0.12.0
func (m *EventUpdateResourceNodeDeposit) XXX_Merge(src proto.Message)
func (*EventUpdateResourceNodeDeposit) XXX_Size ¶ added in v0.12.0
func (m *EventUpdateResourceNodeDeposit) XXX_Size() int
func (*EventUpdateResourceNodeDeposit) XXX_Unmarshal ¶ added in v0.12.0
func (m *EventUpdateResourceNodeDeposit) XXX_Unmarshal(b []byte) error
type GenesisMetaNode ¶ added in v0.8.0
type GenesisMetaNode struct { NetworkAddress string `protobuf:"bytes,1,opt,name=network_address,json=networkAddress,proto3" json:"network_address" yaml:"network_address"` Pubkey *types.Any `protobuf:"bytes,2,opt,name=pubkey,proto3" json:"pubkey" yaml:"pubkey"` Suspend bool `protobuf:"varint,3,opt,name=suspend,proto3" json:"suspend" yaml:"suspend"` Status types1.BondStatus `protobuf:"varint,4,opt,name=status,proto3,enum=cosmos.staking.v1beta1.BondStatus" json:"status" yaml:"status"` Tokens types2.Coin `protobuf:"bytes,5,opt,name=tokens,proto3" json:"tokens" yaml:"tokens"` OwnerAddress string `protobuf:"bytes,6,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address" yaml:"owner_address"` BeneficiaryAddress string `` /* 132-byte string literal not displayed */ Description Description `protobuf:"bytes,8,opt,name=description,proto3" json:"description" yaml:"description"` }
func (*GenesisMetaNode) Descriptor ¶ added in v0.8.0
func (*GenesisMetaNode) Descriptor() ([]byte, []int)
func (*GenesisMetaNode) Equal ¶ added in v0.12.0
func (this *GenesisMetaNode) Equal(that interface{}) bool
func (*GenesisMetaNode) GetBeneficiaryAddress ¶ added in v0.12.0
func (m *GenesisMetaNode) GetBeneficiaryAddress() string
func (*GenesisMetaNode) GetDescription ¶ added in v0.8.0
func (m *GenesisMetaNode) GetDescription() Description
func (*GenesisMetaNode) GetNetworkAddress ¶ added in v0.8.0
func (m *GenesisMetaNode) GetNetworkAddress() string
func (*GenesisMetaNode) GetOwnerAddress ¶ added in v0.8.0
func (m *GenesisMetaNode) GetOwnerAddress() string
func (*GenesisMetaNode) GetPubkey ¶ added in v0.8.0
func (m *GenesisMetaNode) GetPubkey() *types.Any
func (*GenesisMetaNode) GetStatus ¶ added in v0.8.0
func (m *GenesisMetaNode) GetStatus() types1.BondStatus
func (*GenesisMetaNode) GetSuspend ¶ added in v0.8.0
func (m *GenesisMetaNode) GetSuspend() bool
func (*GenesisMetaNode) GetTokens ¶ added in v0.9.0
func (m *GenesisMetaNode) GetTokens() types2.Coin
func (*GenesisMetaNode) Marshal ¶ added in v0.8.0
func (m *GenesisMetaNode) Marshal() (dAtA []byte, err error)
func (*GenesisMetaNode) MarshalTo ¶ added in v0.8.0
func (m *GenesisMetaNode) MarshalTo(dAtA []byte) (int, error)
func (*GenesisMetaNode) MarshalToSizedBuffer ¶ added in v0.8.0
func (m *GenesisMetaNode) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*GenesisMetaNode) ProtoMessage ¶ added in v0.8.0
func (*GenesisMetaNode) ProtoMessage()
func (*GenesisMetaNode) Reset ¶ added in v0.8.0
func (m *GenesisMetaNode) Reset()
func (*GenesisMetaNode) Size ¶ added in v0.8.0
func (m *GenesisMetaNode) Size() (n int)
func (*GenesisMetaNode) String ¶ added in v0.8.0
func (m *GenesisMetaNode) String() string
func (GenesisMetaNode) ToMetaNode ¶ added in v0.8.0
func (v GenesisMetaNode) ToMetaNode() (MetaNode, error)
func (*GenesisMetaNode) Unmarshal ¶ added in v0.8.0
func (m *GenesisMetaNode) Unmarshal(dAtA []byte) error
func (*GenesisMetaNode) XXX_DiscardUnknown ¶ added in v0.8.0
func (m *GenesisMetaNode) XXX_DiscardUnknown()
func (*GenesisMetaNode) XXX_Marshal ¶ added in v0.8.0
func (m *GenesisMetaNode) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GenesisMetaNode) XXX_Merge ¶ added in v0.8.0
func (m *GenesisMetaNode) XXX_Merge(src proto.Message)
func (*GenesisMetaNode) XXX_Size ¶ added in v0.8.0
func (m *GenesisMetaNode) XXX_Size() int
func (*GenesisMetaNode) XXX_Unmarshal ¶ added in v0.8.0
func (m *GenesisMetaNode) XXX_Unmarshal(b []byte) error
type GenesisState ¶
type GenesisState struct { Params Params `protobuf:"bytes,1,opt,name=params,proto3" json:"params" yaml:"params"` ResourceNodes ResourceNodes `` /* 139-byte string literal not displayed */ MetaNodes MetaNodes `protobuf:"bytes,3,rep,name=meta_nodes,json=metaNodes,proto3,castrepeated=MetaNodes" json:"meta_nodes" yaml:"meta_nodes"` RemainingNozLimit github_com_cosmos_cosmos_sdk_types.Int `` /* 181-byte string literal not displayed */ Slashing []Slashing `protobuf:"bytes,5,rep,name=slashing,proto3" json:"slashing" yaml:"slashing_info"` DepositNozRate github_com_cosmos_cosmos_sdk_types.Dec `` /* 169-byte string literal not displayed */ MetaNodeRegVotePool []MetaNodeRegistrationVotePool `` /* 145-byte string literal not displayed */ UnbondingNodes []UnbondingNode `protobuf:"bytes,8,rep,name=unbonding_nodes,json=unbondingNodes,proto3" json:"unbonding_nodes" yaml:"unbonding_nodes"` KickMetaNodeVotePool []KickMetaNodeVotePool `` /* 149-byte string literal not displayed */ }
GenesisState defines the register module's genesis state.
func DefaultGenesisState ¶
func DefaultGenesisState() *GenesisState
DefaultGenesisState - default GenesisState used by Cosmos Hub
func GetGenesisStateFromAppState ¶ added in v0.4.0
func GetGenesisStateFromAppState(cdc codec.JSONCodec, appState map[string]json.RawMessage) GenesisState
GetGenesisStateFromAppState returns x/auth GenesisState given raw application genesis state.
func NewGenesisState ¶
func NewGenesisState(params Params, resourceNodes ResourceNodes, metaNodes MetaNodes, remainingNozLimit sdkmath.Int, slashingInfo []Slashing, depositNozRate sdkmath.LegacyDec, metaNodeRegVotePool []MetaNodeRegistrationVotePool, unbondingNodes []UnbondingNode, kickMetaNodeVotePool []KickMetaNodeVotePool, ) *GenesisState
NewGenesisState creates a new GenesisState object
func (*GenesisState) Descriptor ¶ added in v0.8.0
func (*GenesisState) Descriptor() ([]byte, []int)
func (*GenesisState) Equal ¶ added in v0.12.0
func (this *GenesisState) Equal(that interface{}) bool
func (*GenesisState) GetKickMetaNodeVotePool ¶ added in v0.12.0
func (m *GenesisState) GetKickMetaNodeVotePool() []KickMetaNodeVotePool
func (*GenesisState) GetMetaNodeRegVotePool ¶ added in v0.12.0
func (m *GenesisState) GetMetaNodeRegVotePool() []MetaNodeRegistrationVotePool
func (*GenesisState) GetMetaNodes ¶ added in v0.8.0
func (m *GenesisState) GetMetaNodes() MetaNodes
func (*GenesisState) GetParams ¶ added in v0.8.0
func (m *GenesisState) GetParams() Params
func (*GenesisState) GetResourceNodes ¶ added in v0.8.0
func (m *GenesisState) GetResourceNodes() ResourceNodes
func (*GenesisState) GetSlashing ¶ added in v0.8.0
func (m *GenesisState) GetSlashing() []Slashing
func (*GenesisState) GetUnbondingNodes ¶ added in v0.12.0
func (m *GenesisState) GetUnbondingNodes() []UnbondingNode
func (*GenesisState) Marshal ¶ added in v0.8.0
func (m *GenesisState) Marshal() (dAtA []byte, err error)
func (*GenesisState) MarshalTo ¶ added in v0.8.0
func (m *GenesisState) MarshalTo(dAtA []byte) (int, error)
func (*GenesisState) MarshalToSizedBuffer ¶ added in v0.8.0
func (m *GenesisState) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*GenesisState) ProtoMessage ¶ added in v0.8.0
func (*GenesisState) ProtoMessage()
func (*GenesisState) Reset ¶ added in v0.8.0
func (m *GenesisState) Reset()
func (*GenesisState) Size ¶ added in v0.8.0
func (m *GenesisState) Size() (n int)
func (*GenesisState) String ¶ added in v0.8.0
func (m *GenesisState) String() string
func (*GenesisState) Unmarshal ¶ added in v0.8.0
func (m *GenesisState) Unmarshal(dAtA []byte) error
func (GenesisState) UnpackInterfaces ¶ added in v0.8.0
func (g GenesisState) UnpackInterfaces(c codectypes.AnyUnpacker) error
UnpackInterfaces implements UnpackInterfacesMessage.UnpackInterfaces
func (*GenesisState) XXX_DiscardUnknown ¶ added in v0.8.0
func (m *GenesisState) XXX_DiscardUnknown()
func (*GenesisState) XXX_Marshal ¶ added in v0.8.0
func (m *GenesisState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GenesisState) XXX_Merge ¶ added in v0.8.0
func (m *GenesisState) XXX_Merge(src proto.Message)
func (*GenesisState) XXX_Size ¶ added in v0.8.0
func (m *GenesisState) XXX_Size() int
func (*GenesisState) XXX_Unmarshal ¶ added in v0.8.0
func (m *GenesisState) XXX_Unmarshal(b []byte) error
type KickMetaNodeVotePool ¶ added in v0.12.0
type KickMetaNodeVotePool struct { TargetNetworkAddress string `` /* 143-byte string literal not displayed */ ApproveList []string `protobuf:"bytes,2,rep,name=approve_list,json=approveList,proto3" json:"approve_list" yaml:"approve_list"` RejectList []string `protobuf:"bytes,3,rep,name=reject_list,json=rejectList,proto3" json:"reject_list" yaml:"reject_list"` ExpireTime time.Time `protobuf:"bytes,4,opt,name=expire_time,json=expireTime,proto3,stdtime" json:"expire_time" yaml:"expire_time"` IsVotePassed bool `protobuf:"varint,5,opt,name=is_vote_passed,json=isVotePassed,proto3" json:"is_vote_passed" yaml:"is_vote_passed"` }
func NewKickMetaNodeVotePool ¶ added in v0.12.0
func NewKickMetaNodeVotePool(targetNetworkAddress stratos.SdsAddress, expireTime time.Time) KickMetaNodeVotePool
func (*KickMetaNodeVotePool) Descriptor ¶ added in v0.12.0
func (*KickMetaNodeVotePool) Descriptor() ([]byte, []int)
func (*KickMetaNodeVotePool) Equal ¶ added in v0.12.0
func (this *KickMetaNodeVotePool) Equal(that interface{}) bool
func (*KickMetaNodeVotePool) GetApproveList ¶ added in v0.12.0
func (m *KickMetaNodeVotePool) GetApproveList() []string
func (*KickMetaNodeVotePool) GetExpireTime ¶ added in v0.12.0
func (m *KickMetaNodeVotePool) GetExpireTime() time.Time
func (*KickMetaNodeVotePool) GetIsVotePassed ¶ added in v0.12.0
func (m *KickMetaNodeVotePool) GetIsVotePassed() bool
func (*KickMetaNodeVotePool) GetRejectList ¶ added in v0.12.0
func (m *KickMetaNodeVotePool) GetRejectList() []string
func (*KickMetaNodeVotePool) GetTargetNetworkAddress ¶ added in v0.12.0
func (m *KickMetaNodeVotePool) GetTargetNetworkAddress() string
func (*KickMetaNodeVotePool) Marshal ¶ added in v0.12.0
func (m *KickMetaNodeVotePool) Marshal() (dAtA []byte, err error)
func (*KickMetaNodeVotePool) MarshalTo ¶ added in v0.12.0
func (m *KickMetaNodeVotePool) MarshalTo(dAtA []byte) (int, error)
func (*KickMetaNodeVotePool) MarshalToSizedBuffer ¶ added in v0.12.0
func (m *KickMetaNodeVotePool) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*KickMetaNodeVotePool) ProtoMessage ¶ added in v0.12.0
func (*KickMetaNodeVotePool) ProtoMessage()
func (*KickMetaNodeVotePool) Reset ¶ added in v0.12.0
func (m *KickMetaNodeVotePool) Reset()
func (*KickMetaNodeVotePool) Size ¶ added in v0.12.0
func (m *KickMetaNodeVotePool) Size() (n int)
func (*KickMetaNodeVotePool) String ¶ added in v0.12.0
func (m *KickMetaNodeVotePool) String() string
func (*KickMetaNodeVotePool) Unmarshal ¶ added in v0.12.0
func (m *KickMetaNodeVotePool) Unmarshal(dAtA []byte) error
func (*KickMetaNodeVotePool) XXX_DiscardUnknown ¶ added in v0.12.0
func (m *KickMetaNodeVotePool) XXX_DiscardUnknown()
func (*KickMetaNodeVotePool) XXX_Marshal ¶ added in v0.12.0
func (m *KickMetaNodeVotePool) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*KickMetaNodeVotePool) XXX_Merge ¶ added in v0.12.0
func (m *KickMetaNodeVotePool) XXX_Merge(src proto.Message)
func (*KickMetaNodeVotePool) XXX_Size ¶ added in v0.12.0
func (m *KickMetaNodeVotePool) XXX_Size() int
func (*KickMetaNodeVotePool) XXX_Unmarshal ¶ added in v0.12.0
func (m *KickMetaNodeVotePool) XXX_Unmarshal(b []byte) error
type MetaNode ¶ added in v0.8.0
type MetaNode struct { NetworkAddress string `protobuf:"bytes,1,opt,name=network_address,json=networkAddress,proto3" json:"network_address" yaml:"network_address"` Pubkey *types1.Any `protobuf:"bytes,2,opt,name=pubkey,proto3" json:"pubkey" yaml:"pubkey"` Suspend bool `protobuf:"varint,3,opt,name=suspend,proto3" json:"suspend" yaml:"suspend"` Status types2.BondStatus `protobuf:"varint,4,opt,name=status,proto3,enum=cosmos.staking.v1beta1.BondStatus" json:"status" yaml:"status"` Tokens github_com_cosmos_cosmos_sdk_types.Int `protobuf:"bytes,5,opt,name=tokens,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Int" json:"tokens" yaml:"tokens"` OwnerAddress string `protobuf:"bytes,6,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address" yaml:"owner_address"` Description Description `protobuf:"bytes,7,opt,name=description,proto3" json:"description" yaml:"description"` CreationTime time.Time `protobuf:"bytes,8,opt,name=creation_time,json=creationTime,proto3,stdtime" json:"creation_time" yaml:"creation_time"` BeneficiaryAddress string `` /* 132-byte string literal not displayed */ }
func MustUnmarshalMetaNode ¶ added in v0.8.0
MustUnmarshalMetaNode unmarshal an meta node from a store value. Panics if fails
func NewMetaNode ¶ added in v0.8.0
func NewMetaNode(networkAddr stratos.SdsAddress, pubKey cryptotypes.PubKey, ownerAddr sdk.AccAddress, beneficiaryAddress sdk.AccAddress, description Description, creationTime time.Time) (MetaNode, error)
NewMetaNode - initialize a new meta node
func UnmarshalMetaNode ¶ added in v0.8.0
UnmarshalMetaNode unmarshal an meta node from a store value
func (MetaNode) ConvertToString ¶ added in v0.8.0
ConvertToString returns a human-readable string representation of an meta node.
func (*MetaNode) Descriptor ¶ added in v0.8.0
func (*MetaNode) GetBeneficiaryAddress ¶ added in v0.12.0
func (*MetaNode) GetCreationTime ¶ added in v0.8.0
func (*MetaNode) GetDescription ¶ added in v0.8.0
func (m *MetaNode) GetDescription() Description
func (*MetaNode) GetNetworkAddress ¶ added in v0.8.0
func (*MetaNode) GetOwnerAddress ¶ added in v0.8.0
func (*MetaNode) GetStatus ¶ added in v0.8.0
func (m *MetaNode) GetStatus() types2.BondStatus
func (*MetaNode) GetSuspend ¶ added in v0.8.0
func (MetaNode) IsActivate ¶ added in v0.12.0
IsActivate get active state defined in MetaNode
func (MetaNode) IsUnBonded ¶ added in v0.8.0
IsUnBonded checks if the node status equals Unbonded
func (MetaNode) IsUnBonding ¶ added in v0.8.0
IsUnBonding checks if the node status equals Unbonding
func (*MetaNode) MarshalToSizedBuffer ¶ added in v0.8.0
func (*MetaNode) ProtoMessage ¶ added in v0.8.0
func (*MetaNode) ProtoMessage()
func (MetaNode) UnpackInterfaces ¶ added in v0.8.0
func (v MetaNode) UnpackInterfaces(unpacker codectypes.AnyUnpacker) error
UnpackInterfaces implements UnpackInterfacesMessage.UnpackInterfaces
func (*MetaNode) XXX_DiscardUnknown ¶ added in v0.8.0
func (m *MetaNode) XXX_DiscardUnknown()
func (*MetaNode) XXX_Marshal ¶ added in v0.8.0
func (*MetaNode) XXX_Unmarshal ¶ added in v0.8.0
type MetaNodeRegistrationVotePool ¶ added in v0.8.0
type MetaNodeRegistrationVotePool struct { NetworkAddress string `protobuf:"bytes,1,opt,name=network_address,json=networkAddress,proto3" json:"network_address" yaml:"network_address"` ApproveList []string `protobuf:"bytes,2,rep,name=approve_list,json=approveList,proto3" json:"approve_list" yaml:"approve_list"` RejectList []string `protobuf:"bytes,3,rep,name=reject_list,json=rejectList,proto3" json:"reject_list" yaml:"reject_list"` ExpireTime time.Time `protobuf:"bytes,4,opt,name=expire_time,json=expireTime,proto3,stdtime" json:"expire_time" yaml:"expire_time"` IsVotePassed bool `protobuf:"varint,5,opt,name=is_vote_passed,json=isVotePassed,proto3" json:"is_vote_passed" yaml:"is_vote_passed"` }
func NewRegistrationVotePool ¶
func NewRegistrationVotePool(nodeAddress stratos.SdsAddress, expireTime time.Time) MetaNodeRegistrationVotePool
func (*MetaNodeRegistrationVotePool) Descriptor ¶ added in v0.8.0
func (*MetaNodeRegistrationVotePool) Descriptor() ([]byte, []int)
func (*MetaNodeRegistrationVotePool) Equal ¶ added in v0.12.0
func (this *MetaNodeRegistrationVotePool) Equal(that interface{}) bool
func (*MetaNodeRegistrationVotePool) GetApproveList ¶ added in v0.8.0
func (m *MetaNodeRegistrationVotePool) GetApproveList() []string
func (*MetaNodeRegistrationVotePool) GetExpireTime ¶ added in v0.8.0
func (m *MetaNodeRegistrationVotePool) GetExpireTime() time.Time
func (*MetaNodeRegistrationVotePool) GetIsVotePassed ¶ added in v0.10.0
func (m *MetaNodeRegistrationVotePool) GetIsVotePassed() bool
func (*MetaNodeRegistrationVotePool) GetNetworkAddress ¶ added in v0.8.0
func (m *MetaNodeRegistrationVotePool) GetNetworkAddress() string
func (*MetaNodeRegistrationVotePool) GetRejectList ¶ added in v0.8.0
func (m *MetaNodeRegistrationVotePool) GetRejectList() []string
func (*MetaNodeRegistrationVotePool) Marshal ¶ added in v0.8.0
func (m *MetaNodeRegistrationVotePool) Marshal() (dAtA []byte, err error)
func (*MetaNodeRegistrationVotePool) MarshalTo ¶ added in v0.8.0
func (m *MetaNodeRegistrationVotePool) MarshalTo(dAtA []byte) (int, error)
func (*MetaNodeRegistrationVotePool) MarshalToSizedBuffer ¶ added in v0.8.0
func (m *MetaNodeRegistrationVotePool) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MetaNodeRegistrationVotePool) ProtoMessage ¶ added in v0.8.0
func (*MetaNodeRegistrationVotePool) ProtoMessage()
func (*MetaNodeRegistrationVotePool) Reset ¶ added in v0.8.0
func (m *MetaNodeRegistrationVotePool) Reset()
func (*MetaNodeRegistrationVotePool) Size ¶ added in v0.8.0
func (m *MetaNodeRegistrationVotePool) Size() (n int)
func (*MetaNodeRegistrationVotePool) String ¶ added in v0.8.0
func (m *MetaNodeRegistrationVotePool) String() string
func (*MetaNodeRegistrationVotePool) Unmarshal ¶ added in v0.8.0
func (m *MetaNodeRegistrationVotePool) Unmarshal(dAtA []byte) error
func (*MetaNodeRegistrationVotePool) XXX_DiscardUnknown ¶ added in v0.8.0
func (m *MetaNodeRegistrationVotePool) XXX_DiscardUnknown()
func (*MetaNodeRegistrationVotePool) XXX_Marshal ¶ added in v0.8.0
func (m *MetaNodeRegistrationVotePool) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MetaNodeRegistrationVotePool) XXX_Merge ¶ added in v0.8.0
func (m *MetaNodeRegistrationVotePool) XXX_Merge(src proto.Message)
func (*MetaNodeRegistrationVotePool) XXX_Size ¶ added in v0.8.0
func (m *MetaNodeRegistrationVotePool) XXX_Size() int
func (*MetaNodeRegistrationVotePool) XXX_Unmarshal ¶ added in v0.8.0
func (m *MetaNodeRegistrationVotePool) XXX_Unmarshal(b []byte) error
type MetaNodes ¶ added in v0.8.0
type MetaNodes []MetaNode
MetaNodes is a collection of meta node
func NewMetaNodes ¶ added in v0.8.0
type MsgClient ¶ added in v0.8.0
type MsgClient interface { // CreateResourceNode defines a method for creating a new resource node. HandleMsgCreateResourceNode(ctx context.Context, in *MsgCreateResourceNode, opts ...grpc.CallOption) (*MsgCreateResourceNodeResponse, error) HandleMsgRemoveResourceNode(ctx context.Context, in *MsgRemoveResourceNode, opts ...grpc.CallOption) (*MsgRemoveResourceNodeResponse, error) HandleMsgUpdateResourceNode(ctx context.Context, in *MsgUpdateResourceNode, opts ...grpc.CallOption) (*MsgUpdateResourceNodeResponse, error) HandleMsgUpdateResourceNodeDeposit(ctx context.Context, in *MsgUpdateResourceNodeDeposit, opts ...grpc.CallOption) (*MsgUpdateResourceNodeDepositResponse, error) HandleMsgUpdateEffectiveDeposit(ctx context.Context, in *MsgUpdateEffectiveDeposit, opts ...grpc.CallOption) (*MsgUpdateEffectiveDepositResponse, error) HandleMsgCreateMetaNode(ctx context.Context, in *MsgCreateMetaNode, opts ...grpc.CallOption) (*MsgCreateMetaNodeResponse, error) HandleMsgRemoveMetaNode(ctx context.Context, in *MsgRemoveMetaNode, opts ...grpc.CallOption) (*MsgRemoveMetaNodeResponse, error) HandleMsgUpdateMetaNode(ctx context.Context, in *MsgUpdateMetaNode, opts ...grpc.CallOption) (*MsgUpdateMetaNodeResponse, error) HandleMsgUpdateMetaNodeDeposit(ctx context.Context, in *MsgUpdateMetaNodeDeposit, opts ...grpc.CallOption) (*MsgUpdateMetaNodeDepositResponse, error) HandleMsgMetaNodeRegistrationVote(ctx context.Context, in *MsgMetaNodeRegistrationVote, opts ...grpc.CallOption) (*MsgMetaNodeRegistrationVoteResponse, error) HandleMsgKickMetaNodeVote(ctx context.Context, in *MsgKickMetaNodeVote, opts ...grpc.CallOption) (*MsgKickMetaNodeVoteResponse, error) // UpdateParams defined a governance operation for updating the x/register module parameters. // The authority is hard-coded to the Cosmos SDK x/gov module account UpdateParams(ctx context.Context, in *MsgUpdateParams, opts ...grpc.CallOption) (*MsgUpdateParamsResponse, error) }
MsgClient is the client API for Msg service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewMsgClient ¶ added in v0.8.0
func NewMsgClient(cc grpc1.ClientConn) MsgClient
type MsgCreateMetaNode ¶ added in v0.8.0
type MsgCreateMetaNode struct { NetworkAddress string `protobuf:"bytes,1,opt,name=network_address,json=networkAddress,proto3" json:"network_address" yaml:"network_address"` Pubkey *types.Any `protobuf:"bytes,2,opt,name=pubkey,proto3" json:"pubkey" yaml:"pubkey"` Value types1.Coin `protobuf:"bytes,3,opt,name=value,proto3" json:"value" yaml:"value"` OwnerAddress string `protobuf:"bytes,4,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address" yaml:"owner_address"` BeneficiaryAddress string `` /* 132-byte string literal not displayed */ Description Description `protobuf:"bytes,6,opt,name=description,proto3" json:"description" yaml:"description"` }
MsgCreateMetaNode encapsulates an MsgCreateMetaNodeTx transaction as an SDK message.
func NewMsgCreateMetaNode ¶ added in v0.8.0
func NewMsgCreateMetaNode(networkAddr stratos.SdsAddress, pubKey cryptotypes.PubKey, value sdk.Coin, ownerAddr sdk.AccAddress, beneficiaryAddr sdk.AccAddress, description Description, ) (*MsgCreateMetaNode, error)
NewMsgCreateMetaNode creates a new Msg<Action> instance
func (*MsgCreateMetaNode) Descriptor ¶ added in v0.8.0
func (*MsgCreateMetaNode) Descriptor() ([]byte, []int)
func (*MsgCreateMetaNode) Equal ¶ added in v0.12.0
func (this *MsgCreateMetaNode) Equal(that interface{}) bool
func (*MsgCreateMetaNode) GetBeneficiaryAddress ¶ added in v0.12.0
func (m *MsgCreateMetaNode) GetBeneficiaryAddress() string
func (*MsgCreateMetaNode) GetDescription ¶ added in v0.8.0
func (m *MsgCreateMetaNode) GetDescription() Description
func (*MsgCreateMetaNode) GetNetworkAddress ¶ added in v0.8.0
func (m *MsgCreateMetaNode) GetNetworkAddress() string
func (*MsgCreateMetaNode) GetOwnerAddress ¶ added in v0.8.0
func (m *MsgCreateMetaNode) GetOwnerAddress() string
func (*MsgCreateMetaNode) GetPubkey ¶ added in v0.8.0
func (m *MsgCreateMetaNode) GetPubkey() *types.Any
func (MsgCreateMetaNode) GetSignBytes ¶ added in v0.8.0
func (msg MsgCreateMetaNode) GetSignBytes() []byte
func (MsgCreateMetaNode) GetSigners ¶ added in v0.8.0
func (msg MsgCreateMetaNode) GetSigners() []sdk.AccAddress
func (*MsgCreateMetaNode) GetValue ¶ added in v0.8.0
func (m *MsgCreateMetaNode) GetValue() types1.Coin
func (*MsgCreateMetaNode) GetWeb3Msg ¶ added in v0.12.0
func (m *MsgCreateMetaNode) GetWeb3Msg() (*stratos.Web3Msg, error)
func (*MsgCreateMetaNode) Marshal ¶ added in v0.8.0
func (m *MsgCreateMetaNode) Marshal() (dAtA []byte, err error)
func (*MsgCreateMetaNode) MarshalTo ¶ added in v0.8.0
func (m *MsgCreateMetaNode) MarshalTo(dAtA []byte) (int, error)
func (*MsgCreateMetaNode) MarshalToSizedBuffer ¶ added in v0.8.0
func (m *MsgCreateMetaNode) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgCreateMetaNode) ProtoMessage ¶ added in v0.8.0
func (*MsgCreateMetaNode) ProtoMessage()
func (*MsgCreateMetaNode) Reset ¶ added in v0.8.0
func (m *MsgCreateMetaNode) Reset()
func (MsgCreateMetaNode) Route ¶ added in v0.8.0
func (msg MsgCreateMetaNode) Route() string
func (*MsgCreateMetaNode) Size ¶ added in v0.8.0
func (m *MsgCreateMetaNode) Size() (n int)
func (*MsgCreateMetaNode) String ¶ added in v0.8.0
func (m *MsgCreateMetaNode) String() string
func (MsgCreateMetaNode) Type ¶ added in v0.8.0
func (msg MsgCreateMetaNode) Type() string
func (*MsgCreateMetaNode) Unmarshal ¶ added in v0.8.0
func (m *MsgCreateMetaNode) Unmarshal(dAtA []byte) error
func (MsgCreateMetaNode) UnpackInterfaces ¶ added in v0.8.0
func (msg MsgCreateMetaNode) UnpackInterfaces(unpacker codectypes.AnyUnpacker) error
UnpackInterfaces implements UnpackInterfacesMessage.UnpackInterfaces
func (MsgCreateMetaNode) ValidateBasic ¶ added in v0.8.0
func (msg MsgCreateMetaNode) ValidateBasic() error
func (*MsgCreateMetaNode) XXX_DiscardUnknown ¶ added in v0.8.0
func (m *MsgCreateMetaNode) XXX_DiscardUnknown()
func (*MsgCreateMetaNode) XXX_Marshal ¶ added in v0.8.0
func (m *MsgCreateMetaNode) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgCreateMetaNode) XXX_Merge ¶ added in v0.8.0
func (m *MsgCreateMetaNode) XXX_Merge(src proto.Message)
func (*MsgCreateMetaNode) XXX_Size ¶ added in v0.8.0
func (m *MsgCreateMetaNode) XXX_Size() int
func (*MsgCreateMetaNode) XXX_Unmarshal ¶ added in v0.8.0
func (m *MsgCreateMetaNode) XXX_Unmarshal(b []byte) error
type MsgCreateMetaNodeResponse ¶ added in v0.8.0
type MsgCreateMetaNodeResponse struct { }
MsgCreateMetaNodeResponse defines the CreateMetaNode response type
func (*MsgCreateMetaNodeResponse) Descriptor ¶ added in v0.8.0
func (*MsgCreateMetaNodeResponse) Descriptor() ([]byte, []int)
func (*MsgCreateMetaNodeResponse) Equal ¶ added in v0.12.0
func (this *MsgCreateMetaNodeResponse) Equal(that interface{}) bool
func (*MsgCreateMetaNodeResponse) Marshal ¶ added in v0.8.0
func (m *MsgCreateMetaNodeResponse) Marshal() (dAtA []byte, err error)
func (*MsgCreateMetaNodeResponse) MarshalTo ¶ added in v0.8.0
func (m *MsgCreateMetaNodeResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgCreateMetaNodeResponse) MarshalToSizedBuffer ¶ added in v0.8.0
func (m *MsgCreateMetaNodeResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgCreateMetaNodeResponse) ProtoMessage ¶ added in v0.8.0
func (*MsgCreateMetaNodeResponse) ProtoMessage()
func (*MsgCreateMetaNodeResponse) Reset ¶ added in v0.8.0
func (m *MsgCreateMetaNodeResponse) Reset()
func (*MsgCreateMetaNodeResponse) Size ¶ added in v0.8.0
func (m *MsgCreateMetaNodeResponse) Size() (n int)
func (*MsgCreateMetaNodeResponse) String ¶ added in v0.8.0
func (m *MsgCreateMetaNodeResponse) String() string
func (*MsgCreateMetaNodeResponse) Unmarshal ¶ added in v0.8.0
func (m *MsgCreateMetaNodeResponse) Unmarshal(dAtA []byte) error
func (*MsgCreateMetaNodeResponse) XXX_DiscardUnknown ¶ added in v0.8.0
func (m *MsgCreateMetaNodeResponse) XXX_DiscardUnknown()
func (*MsgCreateMetaNodeResponse) XXX_Marshal ¶ added in v0.8.0
func (m *MsgCreateMetaNodeResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgCreateMetaNodeResponse) XXX_Merge ¶ added in v0.8.0
func (m *MsgCreateMetaNodeResponse) XXX_Merge(src proto.Message)
func (*MsgCreateMetaNodeResponse) XXX_Size ¶ added in v0.8.0
func (m *MsgCreateMetaNodeResponse) XXX_Size() int
func (*MsgCreateMetaNodeResponse) XXX_Unmarshal ¶ added in v0.8.0
func (m *MsgCreateMetaNodeResponse) XXX_Unmarshal(b []byte) error
type MsgCreateResourceNode ¶
type MsgCreateResourceNode struct { NetworkAddress string `protobuf:"bytes,1,opt,name=network_address,json=networkAddress,proto3" json:"network_address" yaml:"network_address"` Pubkey *types.Any `protobuf:"bytes,2,opt,name=pubkey,proto3" json:"pubkey" yaml:"pubkey"` Value types1.Coin `protobuf:"bytes,3,opt,name=value,proto3" json:"value" yaml:"value"` OwnerAddress string `protobuf:"bytes,4,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address" yaml:"owner_address"` BeneficiaryAddress string `` /* 132-byte string literal not displayed */ Description Description `protobuf:"bytes,6,opt,name=description,proto3" json:"description" yaml:"description"` NodeType uint32 `protobuf:"varint,7,opt,name=node_type,json=nodeType,proto3" json:"node_type" yaml:"node_type"` }
MsgCreateResourceNode encapsulates an MsgCreateResourceNodeTx transaction as an SDK message.
func NewMsgCreateResourceNode ¶
func NewMsgCreateResourceNode(networkAddr stratos.SdsAddress, pubKey cryptotypes.PubKey, value sdk.Coin, ownerAddr sdk.AccAddress, beneficiaryAddr sdk.AccAddress, description Description, nodeType uint32, ) (*MsgCreateResourceNode, error)
NewMsgCreateResourceNode NewMsg<Action> creates a new Msg<Action> instance
func (*MsgCreateResourceNode) Descriptor ¶ added in v0.8.0
func (*MsgCreateResourceNode) Descriptor() ([]byte, []int)
func (*MsgCreateResourceNode) Equal ¶ added in v0.12.0
func (this *MsgCreateResourceNode) Equal(that interface{}) bool
func (*MsgCreateResourceNode) GetBeneficiaryAddress ¶ added in v0.12.0
func (m *MsgCreateResourceNode) GetBeneficiaryAddress() string
func (*MsgCreateResourceNode) GetDescription ¶ added in v0.8.0
func (m *MsgCreateResourceNode) GetDescription() Description
func (*MsgCreateResourceNode) GetNetworkAddress ¶ added in v0.8.0
func (m *MsgCreateResourceNode) GetNetworkAddress() string
func (*MsgCreateResourceNode) GetNodeType ¶ added in v0.8.0
func (m *MsgCreateResourceNode) GetNodeType() uint32
func (*MsgCreateResourceNode) GetOwnerAddress ¶ added in v0.8.0
func (m *MsgCreateResourceNode) GetOwnerAddress() string
func (*MsgCreateResourceNode) GetPubkey ¶ added in v0.8.0
func (m *MsgCreateResourceNode) GetPubkey() *types.Any
func (MsgCreateResourceNode) GetSignBytes ¶
func (msg MsgCreateResourceNode) GetSignBytes() []byte
func (MsgCreateResourceNode) GetSigners ¶
func (msg MsgCreateResourceNode) GetSigners() []sdk.AccAddress
func (*MsgCreateResourceNode) GetValue ¶ added in v0.8.0
func (m *MsgCreateResourceNode) GetValue() types1.Coin
func (*MsgCreateResourceNode) GetWeb3Msg ¶ added in v0.12.0
func (m *MsgCreateResourceNode) GetWeb3Msg() (*stratos.Web3Msg, error)
func (*MsgCreateResourceNode) Marshal ¶ added in v0.8.0
func (m *MsgCreateResourceNode) Marshal() (dAtA []byte, err error)
func (*MsgCreateResourceNode) MarshalTo ¶ added in v0.8.0
func (m *MsgCreateResourceNode) MarshalTo(dAtA []byte) (int, error)
func (*MsgCreateResourceNode) MarshalToSizedBuffer ¶ added in v0.8.0
func (m *MsgCreateResourceNode) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgCreateResourceNode) ProtoMessage ¶ added in v0.8.0
func (*MsgCreateResourceNode) ProtoMessage()
func (*MsgCreateResourceNode) Reset ¶ added in v0.8.0
func (m *MsgCreateResourceNode) Reset()
func (MsgCreateResourceNode) Route ¶
func (msg MsgCreateResourceNode) Route() string
func (*MsgCreateResourceNode) Size ¶ added in v0.8.0
func (m *MsgCreateResourceNode) Size() (n int)
func (*MsgCreateResourceNode) String ¶ added in v0.8.0
func (m *MsgCreateResourceNode) String() string
func (MsgCreateResourceNode) Type ¶
func (msg MsgCreateResourceNode) Type() string
func (*MsgCreateResourceNode) Unmarshal ¶ added in v0.8.0
func (m *MsgCreateResourceNode) Unmarshal(dAtA []byte) error
func (MsgCreateResourceNode) UnpackInterfaces ¶ added in v0.8.0
func (msg MsgCreateResourceNode) UnpackInterfaces(unpacker codectypes.AnyUnpacker) error
UnpackInterfaces implements UnpackInterfacesMessage.UnpackInterfaces
func (MsgCreateResourceNode) ValidateBasic ¶
func (msg MsgCreateResourceNode) ValidateBasic() error
ValidateBasic validity check for the CreateResourceNode
func (*MsgCreateResourceNode) XXX_DiscardUnknown ¶ added in v0.8.0
func (m *MsgCreateResourceNode) XXX_DiscardUnknown()
func (*MsgCreateResourceNode) XXX_Marshal ¶ added in v0.8.0
func (m *MsgCreateResourceNode) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgCreateResourceNode) XXX_Merge ¶ added in v0.8.0
func (m *MsgCreateResourceNode) XXX_Merge(src proto.Message)
func (*MsgCreateResourceNode) XXX_Size ¶ added in v0.8.0
func (m *MsgCreateResourceNode) XXX_Size() int
func (*MsgCreateResourceNode) XXX_Unmarshal ¶ added in v0.8.0
func (m *MsgCreateResourceNode) XXX_Unmarshal(b []byte) error
type MsgCreateResourceNodeResponse ¶ added in v0.8.0
type MsgCreateResourceNodeResponse struct { }
MsgCreateResourceNodeResponse defines the CreateResourceNodeTx response type
func (*MsgCreateResourceNodeResponse) Descriptor ¶ added in v0.8.0
func (*MsgCreateResourceNodeResponse) Descriptor() ([]byte, []int)
func (*MsgCreateResourceNodeResponse) Equal ¶ added in v0.12.0
func (this *MsgCreateResourceNodeResponse) Equal(that interface{}) bool
func (*MsgCreateResourceNodeResponse) Marshal ¶ added in v0.8.0
func (m *MsgCreateResourceNodeResponse) Marshal() (dAtA []byte, err error)
func (*MsgCreateResourceNodeResponse) MarshalTo ¶ added in v0.8.0
func (m *MsgCreateResourceNodeResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgCreateResourceNodeResponse) MarshalToSizedBuffer ¶ added in v0.8.0
func (m *MsgCreateResourceNodeResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgCreateResourceNodeResponse) ProtoMessage ¶ added in v0.8.0
func (*MsgCreateResourceNodeResponse) ProtoMessage()
func (*MsgCreateResourceNodeResponse) Reset ¶ added in v0.8.0
func (m *MsgCreateResourceNodeResponse) Reset()
func (*MsgCreateResourceNodeResponse) Size ¶ added in v0.8.0
func (m *MsgCreateResourceNodeResponse) Size() (n int)
func (*MsgCreateResourceNodeResponse) String ¶ added in v0.8.0
func (m *MsgCreateResourceNodeResponse) String() string
func (*MsgCreateResourceNodeResponse) Unmarshal ¶ added in v0.8.0
func (m *MsgCreateResourceNodeResponse) Unmarshal(dAtA []byte) error
func (*MsgCreateResourceNodeResponse) XXX_DiscardUnknown ¶ added in v0.8.0
func (m *MsgCreateResourceNodeResponse) XXX_DiscardUnknown()
func (*MsgCreateResourceNodeResponse) XXX_Marshal ¶ added in v0.8.0
func (m *MsgCreateResourceNodeResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgCreateResourceNodeResponse) XXX_Merge ¶ added in v0.8.0
func (m *MsgCreateResourceNodeResponse) XXX_Merge(src proto.Message)
func (*MsgCreateResourceNodeResponse) XXX_Size ¶ added in v0.8.0
func (m *MsgCreateResourceNodeResponse) XXX_Size() int
func (*MsgCreateResourceNodeResponse) XXX_Unmarshal ¶ added in v0.8.0
func (m *MsgCreateResourceNodeResponse) XXX_Unmarshal(b []byte) error
type MsgKickMetaNodeVote ¶ added in v0.12.0
type MsgKickMetaNodeVote struct { TargetNetworkAddress string `` /* 143-byte string literal not displayed */ Opinion bool `protobuf:"varint,2,opt,name=opinion,proto3" json:"opinion" yaml:"opinion"` VoterNetworkAddress string `` /* 139-byte string literal not displayed */ VoterOwnerAddress string `` /* 131-byte string literal not displayed */ }
func NewMsgKickMetaNodeVote ¶ added in v0.12.0
func NewMsgKickMetaNodeVote(targetNetworkAddress stratos.SdsAddress, opinion bool, voterNetworkAddress stratos.SdsAddress, voterOwnerAddress sdk.AccAddress) *MsgKickMetaNodeVote
func (*MsgKickMetaNodeVote) Descriptor ¶ added in v0.12.0
func (*MsgKickMetaNodeVote) Descriptor() ([]byte, []int)
func (*MsgKickMetaNodeVote) Equal ¶ added in v0.12.0
func (this *MsgKickMetaNodeVote) Equal(that interface{}) bool
func (*MsgKickMetaNodeVote) GetOpinion ¶ added in v0.12.0
func (m *MsgKickMetaNodeVote) GetOpinion() bool
func (MsgKickMetaNodeVote) GetSigners ¶ added in v0.12.0
func (msg MsgKickMetaNodeVote) GetSigners() []sdk.AccAddress
func (*MsgKickMetaNodeVote) GetTargetNetworkAddress ¶ added in v0.12.0
func (m *MsgKickMetaNodeVote) GetTargetNetworkAddress() string
func (*MsgKickMetaNodeVote) GetVoterNetworkAddress ¶ added in v0.12.0
func (m *MsgKickMetaNodeVote) GetVoterNetworkAddress() string
func (*MsgKickMetaNodeVote) GetVoterOwnerAddress ¶ added in v0.12.0
func (m *MsgKickMetaNodeVote) GetVoterOwnerAddress() string
func (*MsgKickMetaNodeVote) GetWeb3Msg ¶ added in v0.12.0
func (m *MsgKickMetaNodeVote) GetWeb3Msg() (*stratos.Web3Msg, error)
func (*MsgKickMetaNodeVote) Marshal ¶ added in v0.12.0
func (m *MsgKickMetaNodeVote) Marshal() (dAtA []byte, err error)
func (*MsgKickMetaNodeVote) MarshalTo ¶ added in v0.12.0
func (m *MsgKickMetaNodeVote) MarshalTo(dAtA []byte) (int, error)
func (*MsgKickMetaNodeVote) MarshalToSizedBuffer ¶ added in v0.12.0
func (m *MsgKickMetaNodeVote) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgKickMetaNodeVote) ProtoMessage ¶ added in v0.12.0
func (*MsgKickMetaNodeVote) ProtoMessage()
func (*MsgKickMetaNodeVote) Reset ¶ added in v0.12.0
func (m *MsgKickMetaNodeVote) Reset()
func (*MsgKickMetaNodeVote) Size ¶ added in v0.12.0
func (m *MsgKickMetaNodeVote) Size() (n int)
func (*MsgKickMetaNodeVote) String ¶ added in v0.12.0
func (m *MsgKickMetaNodeVote) String() string
func (*MsgKickMetaNodeVote) Unmarshal ¶ added in v0.12.0
func (m *MsgKickMetaNodeVote) Unmarshal(dAtA []byte) error
func (MsgKickMetaNodeVote) ValidateBasic ¶ added in v0.12.0
func (msg MsgKickMetaNodeVote) ValidateBasic() error
func (*MsgKickMetaNodeVote) XXX_DiscardUnknown ¶ added in v0.12.0
func (m *MsgKickMetaNodeVote) XXX_DiscardUnknown()
func (*MsgKickMetaNodeVote) XXX_Marshal ¶ added in v0.12.0
func (m *MsgKickMetaNodeVote) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgKickMetaNodeVote) XXX_Merge ¶ added in v0.12.0
func (m *MsgKickMetaNodeVote) XXX_Merge(src proto.Message)
func (*MsgKickMetaNodeVote) XXX_Size ¶ added in v0.12.0
func (m *MsgKickMetaNodeVote) XXX_Size() int
func (*MsgKickMetaNodeVote) XXX_Unmarshal ¶ added in v0.12.0
func (m *MsgKickMetaNodeVote) XXX_Unmarshal(b []byte) error
type MsgKickMetaNodeVoteResponse ¶ added in v0.12.0
type MsgKickMetaNodeVoteResponse struct { }
func (*MsgKickMetaNodeVoteResponse) Descriptor ¶ added in v0.12.0
func (*MsgKickMetaNodeVoteResponse) Descriptor() ([]byte, []int)
func (*MsgKickMetaNodeVoteResponse) Equal ¶ added in v0.12.0
func (this *MsgKickMetaNodeVoteResponse) Equal(that interface{}) bool
func (*MsgKickMetaNodeVoteResponse) Marshal ¶ added in v0.12.0
func (m *MsgKickMetaNodeVoteResponse) Marshal() (dAtA []byte, err error)
func (*MsgKickMetaNodeVoteResponse) MarshalTo ¶ added in v0.12.0
func (m *MsgKickMetaNodeVoteResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgKickMetaNodeVoteResponse) MarshalToSizedBuffer ¶ added in v0.12.0
func (m *MsgKickMetaNodeVoteResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgKickMetaNodeVoteResponse) ProtoMessage ¶ added in v0.12.0
func (*MsgKickMetaNodeVoteResponse) ProtoMessage()
func (*MsgKickMetaNodeVoteResponse) Reset ¶ added in v0.12.0
func (m *MsgKickMetaNodeVoteResponse) Reset()
func (*MsgKickMetaNodeVoteResponse) Size ¶ added in v0.12.0
func (m *MsgKickMetaNodeVoteResponse) Size() (n int)
func (*MsgKickMetaNodeVoteResponse) String ¶ added in v0.12.0
func (m *MsgKickMetaNodeVoteResponse) String() string
func (*MsgKickMetaNodeVoteResponse) Unmarshal ¶ added in v0.12.0
func (m *MsgKickMetaNodeVoteResponse) Unmarshal(dAtA []byte) error
func (*MsgKickMetaNodeVoteResponse) XXX_DiscardUnknown ¶ added in v0.12.0
func (m *MsgKickMetaNodeVoteResponse) XXX_DiscardUnknown()
func (*MsgKickMetaNodeVoteResponse) XXX_Marshal ¶ added in v0.12.0
func (m *MsgKickMetaNodeVoteResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgKickMetaNodeVoteResponse) XXX_Merge ¶ added in v0.12.0
func (m *MsgKickMetaNodeVoteResponse) XXX_Merge(src proto.Message)
func (*MsgKickMetaNodeVoteResponse) XXX_Size ¶ added in v0.12.0
func (m *MsgKickMetaNodeVoteResponse) XXX_Size() int
func (*MsgKickMetaNodeVoteResponse) XXX_Unmarshal ¶ added in v0.12.0
func (m *MsgKickMetaNodeVoteResponse) XXX_Unmarshal(b []byte) error
type MsgMetaNodeRegistrationVote ¶ added in v0.8.0
type MsgMetaNodeRegistrationVote struct { CandidateNetworkAddress string `` /* 155-byte string literal not displayed */ CandidateOwnerAddress string `` /* 147-byte string literal not displayed */ Opinion bool `protobuf:"varint,3,opt,name=opinion,proto3" json:"opinion" yaml:"opinion"` VoterNetworkAddress string `` /* 139-byte string literal not displayed */ VoterOwnerAddress string `` /* 131-byte string literal not displayed */ }
MsgMetaNodeRegistrationVote defines a SDK message for registration vote of an existing meta node.
func NewMsgMetaNodeRegistrationVote ¶ added in v0.8.0
func NewMsgMetaNodeRegistrationVote(candidateNetworkAddress stratos.SdsAddress, candidateOwnerAddress sdk.AccAddress, opinion bool, voterNetworkAddress stratos.SdsAddress, voterOwnerAddress sdk.AccAddress) *MsgMetaNodeRegistrationVote
func (*MsgMetaNodeRegistrationVote) Descriptor ¶ added in v0.8.0
func (*MsgMetaNodeRegistrationVote) Descriptor() ([]byte, []int)
func (*MsgMetaNodeRegistrationVote) Equal ¶ added in v0.12.0
func (this *MsgMetaNodeRegistrationVote) Equal(that interface{}) bool
func (*MsgMetaNodeRegistrationVote) GetCandidateNetworkAddress ¶ added in v0.10.0
func (m *MsgMetaNodeRegistrationVote) GetCandidateNetworkAddress() string
func (*MsgMetaNodeRegistrationVote) GetCandidateOwnerAddress ¶ added in v0.10.0
func (m *MsgMetaNodeRegistrationVote) GetCandidateOwnerAddress() string
func (*MsgMetaNodeRegistrationVote) GetOpinion ¶ added in v0.10.0
func (m *MsgMetaNodeRegistrationVote) GetOpinion() bool
func (MsgMetaNodeRegistrationVote) GetSignBytes ¶ added in v0.8.0
func (msg MsgMetaNodeRegistrationVote) GetSignBytes() []byte
func (MsgMetaNodeRegistrationVote) GetSigners ¶ added in v0.8.0
func (msg MsgMetaNodeRegistrationVote) GetSigners() []sdk.AccAddress
func (*MsgMetaNodeRegistrationVote) GetVoterNetworkAddress ¶ added in v0.10.0
func (m *MsgMetaNodeRegistrationVote) GetVoterNetworkAddress() string
func (*MsgMetaNodeRegistrationVote) GetVoterOwnerAddress ¶ added in v0.10.0
func (m *MsgMetaNodeRegistrationVote) GetVoterOwnerAddress() string
func (*MsgMetaNodeRegistrationVote) GetWeb3Msg ¶ added in v0.12.0
func (m *MsgMetaNodeRegistrationVote) GetWeb3Msg() (*stratos.Web3Msg, error)
func (*MsgMetaNodeRegistrationVote) Marshal ¶ added in v0.8.0
func (m *MsgMetaNodeRegistrationVote) Marshal() (dAtA []byte, err error)
func (*MsgMetaNodeRegistrationVote) MarshalTo ¶ added in v0.8.0
func (m *MsgMetaNodeRegistrationVote) MarshalTo(dAtA []byte) (int, error)
func (*MsgMetaNodeRegistrationVote) MarshalToSizedBuffer ¶ added in v0.8.0
func (m *MsgMetaNodeRegistrationVote) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgMetaNodeRegistrationVote) ProtoMessage ¶ added in v0.8.0
func (*MsgMetaNodeRegistrationVote) ProtoMessage()
func (*MsgMetaNodeRegistrationVote) Reset ¶ added in v0.8.0
func (m *MsgMetaNodeRegistrationVote) Reset()
func (MsgMetaNodeRegistrationVote) Route ¶ added in v0.8.0
func (msg MsgMetaNodeRegistrationVote) Route() string
func (*MsgMetaNodeRegistrationVote) Size ¶ added in v0.8.0
func (m *MsgMetaNodeRegistrationVote) Size() (n int)
func (*MsgMetaNodeRegistrationVote) String ¶ added in v0.8.0
func (m *MsgMetaNodeRegistrationVote) String() string
func (MsgMetaNodeRegistrationVote) Type ¶ added in v0.8.0
func (msg MsgMetaNodeRegistrationVote) Type() string
func (*MsgMetaNodeRegistrationVote) Unmarshal ¶ added in v0.8.0
func (m *MsgMetaNodeRegistrationVote) Unmarshal(dAtA []byte) error
func (MsgMetaNodeRegistrationVote) ValidateBasic ¶ added in v0.8.0
func (msg MsgMetaNodeRegistrationVote) ValidateBasic() error
func (*MsgMetaNodeRegistrationVote) XXX_DiscardUnknown ¶ added in v0.8.0
func (m *MsgMetaNodeRegistrationVote) XXX_DiscardUnknown()
func (*MsgMetaNodeRegistrationVote) XXX_Marshal ¶ added in v0.8.0
func (m *MsgMetaNodeRegistrationVote) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgMetaNodeRegistrationVote) XXX_Merge ¶ added in v0.8.0
func (m *MsgMetaNodeRegistrationVote) XXX_Merge(src proto.Message)
func (*MsgMetaNodeRegistrationVote) XXX_Size ¶ added in v0.8.0
func (m *MsgMetaNodeRegistrationVote) XXX_Size() int
func (*MsgMetaNodeRegistrationVote) XXX_Unmarshal ¶ added in v0.8.0
func (m *MsgMetaNodeRegistrationVote) XXX_Unmarshal(b []byte) error
type MsgMetaNodeRegistrationVoteResponse ¶ added in v0.8.0
type MsgMetaNodeRegistrationVoteResponse struct { }
MsgMetaNodeRegistrationVoteResponse defines the Msg/MetaNodeRegistrationVote response type.
func (*MsgMetaNodeRegistrationVoteResponse) Descriptor ¶ added in v0.8.0
func (*MsgMetaNodeRegistrationVoteResponse) Descriptor() ([]byte, []int)
func (*MsgMetaNodeRegistrationVoteResponse) Equal ¶ added in v0.12.0
func (this *MsgMetaNodeRegistrationVoteResponse) Equal(that interface{}) bool
func (*MsgMetaNodeRegistrationVoteResponse) Marshal ¶ added in v0.8.0
func (m *MsgMetaNodeRegistrationVoteResponse) Marshal() (dAtA []byte, err error)
func (*MsgMetaNodeRegistrationVoteResponse) MarshalTo ¶ added in v0.8.0
func (m *MsgMetaNodeRegistrationVoteResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgMetaNodeRegistrationVoteResponse) MarshalToSizedBuffer ¶ added in v0.8.0
func (m *MsgMetaNodeRegistrationVoteResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgMetaNodeRegistrationVoteResponse) ProtoMessage ¶ added in v0.8.0
func (*MsgMetaNodeRegistrationVoteResponse) ProtoMessage()
func (*MsgMetaNodeRegistrationVoteResponse) Reset ¶ added in v0.8.0
func (m *MsgMetaNodeRegistrationVoteResponse) Reset()
func (*MsgMetaNodeRegistrationVoteResponse) Size ¶ added in v0.8.0
func (m *MsgMetaNodeRegistrationVoteResponse) Size() (n int)
func (*MsgMetaNodeRegistrationVoteResponse) String ¶ added in v0.8.0
func (m *MsgMetaNodeRegistrationVoteResponse) String() string
func (*MsgMetaNodeRegistrationVoteResponse) Unmarshal ¶ added in v0.8.0
func (m *MsgMetaNodeRegistrationVoteResponse) Unmarshal(dAtA []byte) error
func (*MsgMetaNodeRegistrationVoteResponse) XXX_DiscardUnknown ¶ added in v0.8.0
func (m *MsgMetaNodeRegistrationVoteResponse) XXX_DiscardUnknown()
func (*MsgMetaNodeRegistrationVoteResponse) XXX_Marshal ¶ added in v0.8.0
func (m *MsgMetaNodeRegistrationVoteResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgMetaNodeRegistrationVoteResponse) XXX_Merge ¶ added in v0.8.0
func (m *MsgMetaNodeRegistrationVoteResponse) XXX_Merge(src proto.Message)
func (*MsgMetaNodeRegistrationVoteResponse) XXX_Size ¶ added in v0.8.0
func (m *MsgMetaNodeRegistrationVoteResponse) XXX_Size() int
func (*MsgMetaNodeRegistrationVoteResponse) XXX_Unmarshal ¶ added in v0.8.0
func (m *MsgMetaNodeRegistrationVoteResponse) XXX_Unmarshal(b []byte) error
type MsgRemoveMetaNode ¶ added in v0.8.0
type MsgRemoveMetaNode struct { MetaNodeAddress string `protobuf:"bytes,1,opt,name=meta_node_address,json=metaNodeAddress,proto3" json:"meta_node_address" yaml:"meta_node_address"` OwnerAddress string `protobuf:"bytes,2,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address" yaml:"owner_address"` }
MsgRemoveMetaNode - encapsulates an MsgRemoveMetaNode transaction as an SDK message
func NewMsgRemoveMetaNode ¶ added in v0.8.0
func NewMsgRemoveMetaNode(metaNodeAddr stratos.SdsAddress, ownerAddr sdk.AccAddress) *MsgRemoveMetaNode
NewMsgRemoveMetaNode creates a new MsgRemoveMetaNode instance.
func (*MsgRemoveMetaNode) Descriptor ¶ added in v0.8.0
func (*MsgRemoveMetaNode) Descriptor() ([]byte, []int)
func (*MsgRemoveMetaNode) Equal ¶ added in v0.12.0
func (this *MsgRemoveMetaNode) Equal(that interface{}) bool
func (*MsgRemoveMetaNode) GetMetaNodeAddress ¶ added in v0.10.0
func (m *MsgRemoveMetaNode) GetMetaNodeAddress() string
func (*MsgRemoveMetaNode) GetOwnerAddress ¶ added in v0.10.0
func (m *MsgRemoveMetaNode) GetOwnerAddress() string
func (MsgRemoveMetaNode) GetSignBytes ¶ added in v0.8.0
func (msg MsgRemoveMetaNode) GetSignBytes() []byte
GetSignBytes implements the sdk.Msg interface.
func (MsgRemoveMetaNode) GetSigners ¶ added in v0.8.0
func (msg MsgRemoveMetaNode) GetSigners() []sdk.AccAddress
GetSigners implements the sdk.Msg interface.
func (*MsgRemoveMetaNode) GetWeb3Msg ¶ added in v0.12.0
func (m *MsgRemoveMetaNode) GetWeb3Msg() (*stratos.Web3Msg, error)
func (*MsgRemoveMetaNode) Marshal ¶ added in v0.8.0
func (m *MsgRemoveMetaNode) Marshal() (dAtA []byte, err error)
func (*MsgRemoveMetaNode) MarshalTo ¶ added in v0.8.0
func (m *MsgRemoveMetaNode) MarshalTo(dAtA []byte) (int, error)
func (*MsgRemoveMetaNode) MarshalToSizedBuffer ¶ added in v0.8.0
func (m *MsgRemoveMetaNode) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgRemoveMetaNode) ProtoMessage ¶ added in v0.8.0
func (*MsgRemoveMetaNode) ProtoMessage()
func (*MsgRemoveMetaNode) Reset ¶ added in v0.8.0
func (m *MsgRemoveMetaNode) Reset()
func (MsgRemoveMetaNode) Route ¶ added in v0.8.0
func (msg MsgRemoveMetaNode) Route() string
Route implements the sdk.Msg interface.
func (*MsgRemoveMetaNode) Size ¶ added in v0.8.0
func (m *MsgRemoveMetaNode) Size() (n int)
func (*MsgRemoveMetaNode) String ¶ added in v0.8.0
func (m *MsgRemoveMetaNode) String() string
func (MsgRemoveMetaNode) Type ¶ added in v0.8.0
func (msg MsgRemoveMetaNode) Type() string
Type implements the sdk.Msg interface.
func (*MsgRemoveMetaNode) Unmarshal ¶ added in v0.8.0
func (m *MsgRemoveMetaNode) Unmarshal(dAtA []byte) error
func (MsgRemoveMetaNode) ValidateBasic ¶ added in v0.8.0
func (msg MsgRemoveMetaNode) ValidateBasic() error
ValidateBasic implements the sdk.Msg interface.
func (*MsgRemoveMetaNode) XXX_DiscardUnknown ¶ added in v0.8.0
func (m *MsgRemoveMetaNode) XXX_DiscardUnknown()
func (*MsgRemoveMetaNode) XXX_Marshal ¶ added in v0.8.0
func (m *MsgRemoveMetaNode) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgRemoveMetaNode) XXX_Merge ¶ added in v0.8.0
func (m *MsgRemoveMetaNode) XXX_Merge(src proto.Message)
func (*MsgRemoveMetaNode) XXX_Size ¶ added in v0.8.0
func (m *MsgRemoveMetaNode) XXX_Size() int
func (*MsgRemoveMetaNode) XXX_Unmarshal ¶ added in v0.8.0
func (m *MsgRemoveMetaNode) XXX_Unmarshal(b []byte) error
type MsgRemoveMetaNodeResponse ¶ added in v0.8.0
type MsgRemoveMetaNodeResponse struct { }
MsgRemoveMetaNodeResponse defines the Msg/RemoveMetaNode response type.
func (*MsgRemoveMetaNodeResponse) Descriptor ¶ added in v0.8.0
func (*MsgRemoveMetaNodeResponse) Descriptor() ([]byte, []int)
func (*MsgRemoveMetaNodeResponse) Equal ¶ added in v0.12.0
func (this *MsgRemoveMetaNodeResponse) Equal(that interface{}) bool
func (*MsgRemoveMetaNodeResponse) Marshal ¶ added in v0.8.0
func (m *MsgRemoveMetaNodeResponse) Marshal() (dAtA []byte, err error)
func (*MsgRemoveMetaNodeResponse) MarshalTo ¶ added in v0.8.0
func (m *MsgRemoveMetaNodeResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgRemoveMetaNodeResponse) MarshalToSizedBuffer ¶ added in v0.8.0
func (m *MsgRemoveMetaNodeResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgRemoveMetaNodeResponse) ProtoMessage ¶ added in v0.8.0
func (*MsgRemoveMetaNodeResponse) ProtoMessage()
func (*MsgRemoveMetaNodeResponse) Reset ¶ added in v0.8.0
func (m *MsgRemoveMetaNodeResponse) Reset()
func (*MsgRemoveMetaNodeResponse) Size ¶ added in v0.8.0
func (m *MsgRemoveMetaNodeResponse) Size() (n int)
func (*MsgRemoveMetaNodeResponse) String ¶ added in v0.8.0
func (m *MsgRemoveMetaNodeResponse) String() string
func (*MsgRemoveMetaNodeResponse) Unmarshal ¶ added in v0.8.0
func (m *MsgRemoveMetaNodeResponse) Unmarshal(dAtA []byte) error
func (*MsgRemoveMetaNodeResponse) XXX_DiscardUnknown ¶ added in v0.8.0
func (m *MsgRemoveMetaNodeResponse) XXX_DiscardUnknown()
func (*MsgRemoveMetaNodeResponse) XXX_Marshal ¶ added in v0.8.0
func (m *MsgRemoveMetaNodeResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgRemoveMetaNodeResponse) XXX_Merge ¶ added in v0.8.0
func (m *MsgRemoveMetaNodeResponse) XXX_Merge(src proto.Message)
func (*MsgRemoveMetaNodeResponse) XXX_Size ¶ added in v0.8.0
func (m *MsgRemoveMetaNodeResponse) XXX_Size() int
func (*MsgRemoveMetaNodeResponse) XXX_Unmarshal ¶ added in v0.8.0
func (m *MsgRemoveMetaNodeResponse) XXX_Unmarshal(b []byte) error
type MsgRemoveResourceNode ¶
type MsgRemoveResourceNode struct { ResourceNodeAddress string `` /* 139-byte string literal not displayed */ OwnerAddress string `protobuf:"bytes,2,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address" yaml:"owner_address"` }
MsgRemoveResourceNode - encapsulates an RemoveResourceNode transaction as an SDK message
func NewMsgRemoveResourceNode ¶
func NewMsgRemoveResourceNode(resourceNodeAddr stratos.SdsAddress, ownerAddr sdk.AccAddress) *MsgRemoveResourceNode
NewMsgRemoveResourceNode creates a new MsgRemoveResourceNode instance.
func (*MsgRemoveResourceNode) Descriptor ¶ added in v0.8.0
func (*MsgRemoveResourceNode) Descriptor() ([]byte, []int)
func (*MsgRemoveResourceNode) Equal ¶ added in v0.12.0
func (this *MsgRemoveResourceNode) Equal(that interface{}) bool
func (*MsgRemoveResourceNode) GetOwnerAddress ¶ added in v0.10.0
func (m *MsgRemoveResourceNode) GetOwnerAddress() string
func (*MsgRemoveResourceNode) GetResourceNodeAddress ¶ added in v0.10.0
func (m *MsgRemoveResourceNode) GetResourceNodeAddress() string
func (MsgRemoveResourceNode) GetSignBytes ¶
func (msg MsgRemoveResourceNode) GetSignBytes() []byte
GetSignBytes implements the sdk.Msg interface.
func (MsgRemoveResourceNode) GetSigners ¶
func (msg MsgRemoveResourceNode) GetSigners() []sdk.AccAddress
GetSigners implements the sdk.Msg interface.
func (*MsgRemoveResourceNode) Marshal ¶ added in v0.8.0
func (m *MsgRemoveResourceNode) Marshal() (dAtA []byte, err error)
func (*MsgRemoveResourceNode) MarshalTo ¶ added in v0.8.0
func (m *MsgRemoveResourceNode) MarshalTo(dAtA []byte) (int, error)
func (*MsgRemoveResourceNode) MarshalToSizedBuffer ¶ added in v0.8.0
func (m *MsgRemoveResourceNode) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgRemoveResourceNode) ProtoMessage ¶ added in v0.8.0
func (*MsgRemoveResourceNode) ProtoMessage()
func (*MsgRemoveResourceNode) Reset ¶ added in v0.8.0
func (m *MsgRemoveResourceNode) Reset()
func (MsgRemoveResourceNode) Route ¶
func (msg MsgRemoveResourceNode) Route() string
Route implements the sdk.Msg interface.
func (*MsgRemoveResourceNode) Size ¶ added in v0.8.0
func (m *MsgRemoveResourceNode) Size() (n int)
func (*MsgRemoveResourceNode) String ¶ added in v0.8.0
func (m *MsgRemoveResourceNode) String() string
func (MsgRemoveResourceNode) Type ¶
func (msg MsgRemoveResourceNode) Type() string
Type implements the sdk.Msg interface.
func (*MsgRemoveResourceNode) Unmarshal ¶ added in v0.8.0
func (m *MsgRemoveResourceNode) Unmarshal(dAtA []byte) error
func (MsgRemoveResourceNode) ValidateBasic ¶
func (msg MsgRemoveResourceNode) ValidateBasic() error
ValidateBasic implements the sdk.Msg interface.
func (*MsgRemoveResourceNode) XXX_DiscardUnknown ¶ added in v0.8.0
func (m *MsgRemoveResourceNode) XXX_DiscardUnknown()
func (*MsgRemoveResourceNode) XXX_Marshal ¶ added in v0.8.0
func (m *MsgRemoveResourceNode) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgRemoveResourceNode) XXX_Merge ¶ added in v0.8.0
func (m *MsgRemoveResourceNode) XXX_Merge(src proto.Message)
func (*MsgRemoveResourceNode) XXX_Size ¶ added in v0.8.0
func (m *MsgRemoveResourceNode) XXX_Size() int
func (*MsgRemoveResourceNode) XXX_Unmarshal ¶ added in v0.8.0
func (m *MsgRemoveResourceNode) XXX_Unmarshal(b []byte) error
type MsgRemoveResourceNodeResponse ¶ added in v0.8.0
type MsgRemoveResourceNodeResponse struct { }
MsgRemoveResourceNodeResponse defines the Msg/RemoveResourceNode response type.
func (*MsgRemoveResourceNodeResponse) Descriptor ¶ added in v0.8.0
func (*MsgRemoveResourceNodeResponse) Descriptor() ([]byte, []int)
func (*MsgRemoveResourceNodeResponse) Equal ¶ added in v0.12.0
func (this *MsgRemoveResourceNodeResponse) Equal(that interface{}) bool
func (*MsgRemoveResourceNodeResponse) Marshal ¶ added in v0.8.0
func (m *MsgRemoveResourceNodeResponse) Marshal() (dAtA []byte, err error)
func (*MsgRemoveResourceNodeResponse) MarshalTo ¶ added in v0.8.0
func (m *MsgRemoveResourceNodeResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgRemoveResourceNodeResponse) MarshalToSizedBuffer ¶ added in v0.8.0
func (m *MsgRemoveResourceNodeResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgRemoveResourceNodeResponse) ProtoMessage ¶ added in v0.8.0
func (*MsgRemoveResourceNodeResponse) ProtoMessage()
func (*MsgRemoveResourceNodeResponse) Reset ¶ added in v0.8.0
func (m *MsgRemoveResourceNodeResponse) Reset()
func (*MsgRemoveResourceNodeResponse) Size ¶ added in v0.8.0
func (m *MsgRemoveResourceNodeResponse) Size() (n int)
func (*MsgRemoveResourceNodeResponse) String ¶ added in v0.8.0
func (m *MsgRemoveResourceNodeResponse) String() string
func (*MsgRemoveResourceNodeResponse) Unmarshal ¶ added in v0.8.0
func (m *MsgRemoveResourceNodeResponse) Unmarshal(dAtA []byte) error
func (*MsgRemoveResourceNodeResponse) XXX_DiscardUnknown ¶ added in v0.8.0
func (m *MsgRemoveResourceNodeResponse) XXX_DiscardUnknown()
func (*MsgRemoveResourceNodeResponse) XXX_Marshal ¶ added in v0.8.0
func (m *MsgRemoveResourceNodeResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgRemoveResourceNodeResponse) XXX_Merge ¶ added in v0.8.0
func (m *MsgRemoveResourceNodeResponse) XXX_Merge(src proto.Message)
func (*MsgRemoveResourceNodeResponse) XXX_Size ¶ added in v0.8.0
func (m *MsgRemoveResourceNodeResponse) XXX_Size() int
func (*MsgRemoveResourceNodeResponse) XXX_Unmarshal ¶ added in v0.8.0
func (m *MsgRemoveResourceNodeResponse) XXX_Unmarshal(b []byte) error
type MsgServer ¶ added in v0.8.0
type MsgServer interface { // CreateResourceNode defines a method for creating a new resource node. HandleMsgCreateResourceNode(context.Context, *MsgCreateResourceNode) (*MsgCreateResourceNodeResponse, error) HandleMsgRemoveResourceNode(context.Context, *MsgRemoveResourceNode) (*MsgRemoveResourceNodeResponse, error) HandleMsgUpdateResourceNode(context.Context, *MsgUpdateResourceNode) (*MsgUpdateResourceNodeResponse, error) HandleMsgUpdateResourceNodeDeposit(context.Context, *MsgUpdateResourceNodeDeposit) (*MsgUpdateResourceNodeDepositResponse, error) HandleMsgUpdateEffectiveDeposit(context.Context, *MsgUpdateEffectiveDeposit) (*MsgUpdateEffectiveDepositResponse, error) HandleMsgCreateMetaNode(context.Context, *MsgCreateMetaNode) (*MsgCreateMetaNodeResponse, error) HandleMsgRemoveMetaNode(context.Context, *MsgRemoveMetaNode) (*MsgRemoveMetaNodeResponse, error) HandleMsgUpdateMetaNode(context.Context, *MsgUpdateMetaNode) (*MsgUpdateMetaNodeResponse, error) HandleMsgUpdateMetaNodeDeposit(context.Context, *MsgUpdateMetaNodeDeposit) (*MsgUpdateMetaNodeDepositResponse, error) HandleMsgMetaNodeRegistrationVote(context.Context, *MsgMetaNodeRegistrationVote) (*MsgMetaNodeRegistrationVoteResponse, error) HandleMsgKickMetaNodeVote(context.Context, *MsgKickMetaNodeVote) (*MsgKickMetaNodeVoteResponse, error) // UpdateParams defined a governance operation for updating the x/register module parameters. // The authority is hard-coded to the Cosmos SDK x/gov module account UpdateParams(context.Context, *MsgUpdateParams) (*MsgUpdateParamsResponse, error) }
MsgServer is the server API for Msg service.
type MsgUpdateEffectiveDeposit ¶ added in v0.10.0
type MsgUpdateEffectiveDeposit struct { Reporters []string `protobuf:"bytes,1,rep,name=reporters,proto3" json:"reporters" yaml:"reporters"` ReporterOwner []string `protobuf:"bytes,2,rep,name=reporter_owner,json=reporterOwner,proto3" json:"reporter_owner" yaml:"reporter_owner"` NetworkAddress string `protobuf:"bytes,3,opt,name=network_address,json=networkAddress,proto3" json:"network_address" yaml:"network_address"` EffectiveTokens github_com_cosmos_cosmos_sdk_types.Int `` /* 170-byte string literal not displayed */ }
MsgUpdateEffectiveDeposit defines a SDK message for updating the effective deposit of an existing resource node.
func NewMsgUpdateEffectiveDeposit ¶ added in v0.10.0
func NewMsgUpdateEffectiveDeposit(reporters []stratos.SdsAddress, reporterOwner []sdk.AccAddress, networkAddress stratos.SdsAddress, newEffectiveDeposit sdkmath.Int) *MsgUpdateEffectiveDeposit
func (*MsgUpdateEffectiveDeposit) Descriptor ¶ added in v0.10.0
func (*MsgUpdateEffectiveDeposit) Descriptor() ([]byte, []int)
func (*MsgUpdateEffectiveDeposit) Equal ¶ added in v0.12.0
func (this *MsgUpdateEffectiveDeposit) Equal(that interface{}) bool
func (*MsgUpdateEffectiveDeposit) GetNetworkAddress ¶ added in v0.12.0
func (m *MsgUpdateEffectiveDeposit) GetNetworkAddress() string
func (*MsgUpdateEffectiveDeposit) GetReporterOwner ¶ added in v0.12.0
func (m *MsgUpdateEffectiveDeposit) GetReporterOwner() []string
func (*MsgUpdateEffectiveDeposit) GetReporters ¶ added in v0.12.0
func (m *MsgUpdateEffectiveDeposit) GetReporters() []string
func (MsgUpdateEffectiveDeposit) GetSignBytes ¶ added in v0.10.0
func (msg MsgUpdateEffectiveDeposit) GetSignBytes() []byte
func (MsgUpdateEffectiveDeposit) GetSigners ¶ added in v0.10.0
func (msg MsgUpdateEffectiveDeposit) GetSigners() []sdk.AccAddress
func (*MsgUpdateEffectiveDeposit) GetWeb3Msg ¶ added in v0.12.0
func (m *MsgUpdateEffectiveDeposit) GetWeb3Msg() (*stratos.Web3Msg, error)
func (*MsgUpdateEffectiveDeposit) Marshal ¶ added in v0.10.0
func (m *MsgUpdateEffectiveDeposit) Marshal() (dAtA []byte, err error)
func (*MsgUpdateEffectiveDeposit) MarshalTo ¶ added in v0.10.0
func (m *MsgUpdateEffectiveDeposit) MarshalTo(dAtA []byte) (int, error)
func (*MsgUpdateEffectiveDeposit) MarshalToSizedBuffer ¶ added in v0.10.0
func (m *MsgUpdateEffectiveDeposit) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgUpdateEffectiveDeposit) ProtoMessage ¶ added in v0.10.0
func (*MsgUpdateEffectiveDeposit) ProtoMessage()
func (*MsgUpdateEffectiveDeposit) Reset ¶ added in v0.10.0
func (m *MsgUpdateEffectiveDeposit) Reset()
func (MsgUpdateEffectiveDeposit) Route ¶ added in v0.10.0
func (msg MsgUpdateEffectiveDeposit) Route() string
func (*MsgUpdateEffectiveDeposit) Size ¶ added in v0.10.0
func (m *MsgUpdateEffectiveDeposit) Size() (n int)
func (*MsgUpdateEffectiveDeposit) String ¶ added in v0.10.0
func (m *MsgUpdateEffectiveDeposit) String() string
func (MsgUpdateEffectiveDeposit) Type ¶ added in v0.10.0
func (msg MsgUpdateEffectiveDeposit) Type() string
func (*MsgUpdateEffectiveDeposit) Unmarshal ¶ added in v0.10.0
func (m *MsgUpdateEffectiveDeposit) Unmarshal(dAtA []byte) error
func (MsgUpdateEffectiveDeposit) ValidateBasic ¶ added in v0.10.0
func (msg MsgUpdateEffectiveDeposit) ValidateBasic() error
func (*MsgUpdateEffectiveDeposit) XXX_DiscardUnknown ¶ added in v0.10.0
func (m *MsgUpdateEffectiveDeposit) XXX_DiscardUnknown()
func (*MsgUpdateEffectiveDeposit) XXX_Marshal ¶ added in v0.10.0
func (m *MsgUpdateEffectiveDeposit) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgUpdateEffectiveDeposit) XXX_Merge ¶ added in v0.10.0
func (m *MsgUpdateEffectiveDeposit) XXX_Merge(src proto.Message)
func (*MsgUpdateEffectiveDeposit) XXX_Size ¶ added in v0.10.0
func (m *MsgUpdateEffectiveDeposit) XXX_Size() int
func (*MsgUpdateEffectiveDeposit) XXX_Unmarshal ¶ added in v0.10.0
func (m *MsgUpdateEffectiveDeposit) XXX_Unmarshal(b []byte) error
type MsgUpdateEffectiveDepositResponse ¶ added in v0.10.0
type MsgUpdateEffectiveDepositResponse struct { }
MsgUpdateEffectiveDepositResponse defines the Msg/UpdateEffectiveDeposit response type.
func (*MsgUpdateEffectiveDepositResponse) Descriptor ¶ added in v0.10.0
func (*MsgUpdateEffectiveDepositResponse) Descriptor() ([]byte, []int)
func (*MsgUpdateEffectiveDepositResponse) Equal ¶ added in v0.12.0
func (this *MsgUpdateEffectiveDepositResponse) Equal(that interface{}) bool
func (*MsgUpdateEffectiveDepositResponse) Marshal ¶ added in v0.10.0
func (m *MsgUpdateEffectiveDepositResponse) Marshal() (dAtA []byte, err error)
func (*MsgUpdateEffectiveDepositResponse) MarshalTo ¶ added in v0.10.0
func (m *MsgUpdateEffectiveDepositResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgUpdateEffectiveDepositResponse) MarshalToSizedBuffer ¶ added in v0.10.0
func (m *MsgUpdateEffectiveDepositResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgUpdateEffectiveDepositResponse) ProtoMessage ¶ added in v0.10.0
func (*MsgUpdateEffectiveDepositResponse) ProtoMessage()
func (*MsgUpdateEffectiveDepositResponse) Reset ¶ added in v0.10.0
func (m *MsgUpdateEffectiveDepositResponse) Reset()
func (*MsgUpdateEffectiveDepositResponse) Size ¶ added in v0.10.0
func (m *MsgUpdateEffectiveDepositResponse) Size() (n int)
func (*MsgUpdateEffectiveDepositResponse) String ¶ added in v0.10.0
func (m *MsgUpdateEffectiveDepositResponse) String() string
func (*MsgUpdateEffectiveDepositResponse) Unmarshal ¶ added in v0.10.0
func (m *MsgUpdateEffectiveDepositResponse) Unmarshal(dAtA []byte) error
func (*MsgUpdateEffectiveDepositResponse) XXX_DiscardUnknown ¶ added in v0.10.0
func (m *MsgUpdateEffectiveDepositResponse) XXX_DiscardUnknown()
func (*MsgUpdateEffectiveDepositResponse) XXX_Marshal ¶ added in v0.10.0
func (m *MsgUpdateEffectiveDepositResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgUpdateEffectiveDepositResponse) XXX_Merge ¶ added in v0.10.0
func (m *MsgUpdateEffectiveDepositResponse) XXX_Merge(src proto.Message)
func (*MsgUpdateEffectiveDepositResponse) XXX_Size ¶ added in v0.10.0
func (m *MsgUpdateEffectiveDepositResponse) XXX_Size() int
func (*MsgUpdateEffectiveDepositResponse) XXX_Unmarshal ¶ added in v0.10.0
func (m *MsgUpdateEffectiveDepositResponse) XXX_Unmarshal(b []byte) error
type MsgUpdateMetaNode ¶ added in v0.8.0
type MsgUpdateMetaNode struct { Description Description `protobuf:"bytes,1,opt,name=description,proto3" json:"description" yaml:"description"` BeneficiaryAddress string `` /* 132-byte string literal not displayed */ NetworkAddress string `protobuf:"bytes,3,opt,name=network_address,json=networkAddress,proto3" json:"network_address" yaml:"network_address"` OwnerAddress string `protobuf:"bytes,4,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address" yaml:"owner_address"` }
MsgUpdateMetaNode defines a SDK message for updating an existing meta node.
func NewMsgUpdateMetaNode ¶ added in v0.8.0
func NewMsgUpdateMetaNode(description Description, networkAddress stratos.SdsAddress, ownerAddress sdk.AccAddress, beneficiaryAddress sdk.AccAddress) *MsgUpdateMetaNode
func (*MsgUpdateMetaNode) Descriptor ¶ added in v0.8.0
func (*MsgUpdateMetaNode) Descriptor() ([]byte, []int)
func (*MsgUpdateMetaNode) Equal ¶ added in v0.12.0
func (this *MsgUpdateMetaNode) Equal(that interface{}) bool
func (*MsgUpdateMetaNode) GetBeneficiaryAddress ¶ added in v0.12.0
func (m *MsgUpdateMetaNode) GetBeneficiaryAddress() string
func (*MsgUpdateMetaNode) GetDescription ¶ added in v0.10.0
func (m *MsgUpdateMetaNode) GetDescription() Description
func (*MsgUpdateMetaNode) GetNetworkAddress ¶ added in v0.10.0
func (m *MsgUpdateMetaNode) GetNetworkAddress() string
func (*MsgUpdateMetaNode) GetOwnerAddress ¶ added in v0.10.0
func (m *MsgUpdateMetaNode) GetOwnerAddress() string
func (MsgUpdateMetaNode) GetSignBytes ¶ added in v0.8.0
func (msg MsgUpdateMetaNode) GetSignBytes() []byte
GetSignBytes implements the sdk.Msg interface.
func (MsgUpdateMetaNode) GetSigners ¶ added in v0.8.0
func (msg MsgUpdateMetaNode) GetSigners() []sdk.AccAddress
GetSigners implements the sdk.Msg interface.
func (*MsgUpdateMetaNode) GetWeb3Msg ¶ added in v0.12.0
func (m *MsgUpdateMetaNode) GetWeb3Msg() (*stratos.Web3Msg, error)
func (*MsgUpdateMetaNode) Marshal ¶ added in v0.8.0
func (m *MsgUpdateMetaNode) Marshal() (dAtA []byte, err error)
func (*MsgUpdateMetaNode) MarshalTo ¶ added in v0.8.0
func (m *MsgUpdateMetaNode) MarshalTo(dAtA []byte) (int, error)
func (*MsgUpdateMetaNode) MarshalToSizedBuffer ¶ added in v0.8.0
func (m *MsgUpdateMetaNode) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgUpdateMetaNode) ProtoMessage ¶ added in v0.8.0
func (*MsgUpdateMetaNode) ProtoMessage()
func (*MsgUpdateMetaNode) Reset ¶ added in v0.8.0
func (m *MsgUpdateMetaNode) Reset()
func (MsgUpdateMetaNode) Route ¶ added in v0.8.0
func (msg MsgUpdateMetaNode) Route() string
Route implements the sdk.Msg interface.
func (*MsgUpdateMetaNode) Size ¶ added in v0.8.0
func (m *MsgUpdateMetaNode) Size() (n int)
func (*MsgUpdateMetaNode) String ¶ added in v0.8.0
func (m *MsgUpdateMetaNode) String() string
func (MsgUpdateMetaNode) Type ¶ added in v0.8.0
func (msg MsgUpdateMetaNode) Type() string
Type implements the sdk.Msg interface.
func (*MsgUpdateMetaNode) Unmarshal ¶ added in v0.8.0
func (m *MsgUpdateMetaNode) Unmarshal(dAtA []byte) error
func (MsgUpdateMetaNode) ValidateBasic ¶ added in v0.8.0
func (msg MsgUpdateMetaNode) ValidateBasic() error
ValidateBasic implements the sdk.Msg interface.
func (*MsgUpdateMetaNode) XXX_DiscardUnknown ¶ added in v0.8.0
func (m *MsgUpdateMetaNode) XXX_DiscardUnknown()
func (*MsgUpdateMetaNode) XXX_Marshal ¶ added in v0.8.0
func (m *MsgUpdateMetaNode) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgUpdateMetaNode) XXX_Merge ¶ added in v0.8.0
func (m *MsgUpdateMetaNode) XXX_Merge(src proto.Message)
func (*MsgUpdateMetaNode) XXX_Size ¶ added in v0.8.0
func (m *MsgUpdateMetaNode) XXX_Size() int
func (*MsgUpdateMetaNode) XXX_Unmarshal ¶ added in v0.8.0
func (m *MsgUpdateMetaNode) XXX_Unmarshal(b []byte) error
type MsgUpdateMetaNodeDeposit ¶ added in v0.10.0
type MsgUpdateMetaNodeDeposit struct { NetworkAddress string `protobuf:"bytes,1,opt,name=network_address,json=networkAddress,proto3" json:"network_address" yaml:"network_address"` OwnerAddress string `protobuf:"bytes,2,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address" yaml:"owner_address"` DepositDelta types1.Coin `protobuf:"bytes,3,opt,name=deposit_delta,json=depositDelta,proto3" json:"deposit_delta" yaml:"deposit_delta"` }
MsgUpdateMetaNodeDeposit defines a SDK message for updating the deposit of an existing meta node.
func NewMsgUpdateMetaNodeDeposit ¶ added in v0.10.0
func NewMsgUpdateMetaNodeDeposit(networkAddress stratos.SdsAddress, ownerAddress sdk.AccAddress, depositDelta sdk.Coin) *MsgUpdateMetaNodeDeposit
func (*MsgUpdateMetaNodeDeposit) Descriptor ¶ added in v0.10.0
func (*MsgUpdateMetaNodeDeposit) Descriptor() ([]byte, []int)
func (*MsgUpdateMetaNodeDeposit) Equal ¶ added in v0.12.0
func (this *MsgUpdateMetaNodeDeposit) Equal(that interface{}) bool
func (*MsgUpdateMetaNodeDeposit) GetDepositDelta ¶ added in v0.10.0
func (m *MsgUpdateMetaNodeDeposit) GetDepositDelta() types1.Coin
func (*MsgUpdateMetaNodeDeposit) GetNetworkAddress ¶ added in v0.10.0
func (m *MsgUpdateMetaNodeDeposit) GetNetworkAddress() string
func (*MsgUpdateMetaNodeDeposit) GetOwnerAddress ¶ added in v0.10.0
func (m *MsgUpdateMetaNodeDeposit) GetOwnerAddress() string
func (MsgUpdateMetaNodeDeposit) GetSignBytes ¶ added in v0.10.0
func (msg MsgUpdateMetaNodeDeposit) GetSignBytes() []byte
GetSignBytes implements the sdk.Msg interface.
func (MsgUpdateMetaNodeDeposit) GetSigners ¶ added in v0.10.0
func (msg MsgUpdateMetaNodeDeposit) GetSigners() []sdk.AccAddress
GetSigners implements the sdk.Msg interface.
func (*MsgUpdateMetaNodeDeposit) GetWeb3Msg ¶ added in v0.12.0
func (m *MsgUpdateMetaNodeDeposit) GetWeb3Msg() (*stratos.Web3Msg, error)
func (*MsgUpdateMetaNodeDeposit) Marshal ¶ added in v0.10.0
func (m *MsgUpdateMetaNodeDeposit) Marshal() (dAtA []byte, err error)
func (*MsgUpdateMetaNodeDeposit) MarshalTo ¶ added in v0.10.0
func (m *MsgUpdateMetaNodeDeposit) MarshalTo(dAtA []byte) (int, error)
func (*MsgUpdateMetaNodeDeposit) MarshalToSizedBuffer ¶ added in v0.10.0
func (m *MsgUpdateMetaNodeDeposit) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgUpdateMetaNodeDeposit) ProtoMessage ¶ added in v0.10.0
func (*MsgUpdateMetaNodeDeposit) ProtoMessage()
func (*MsgUpdateMetaNodeDeposit) Reset ¶ added in v0.10.0
func (m *MsgUpdateMetaNodeDeposit) Reset()
func (MsgUpdateMetaNodeDeposit) Route ¶ added in v0.10.0
func (msg MsgUpdateMetaNodeDeposit) Route() string
Route implements the sdk.Msg interface.
func (*MsgUpdateMetaNodeDeposit) Size ¶ added in v0.10.0
func (m *MsgUpdateMetaNodeDeposit) Size() (n int)
func (*MsgUpdateMetaNodeDeposit) String ¶ added in v0.10.0
func (m *MsgUpdateMetaNodeDeposit) String() string
func (MsgUpdateMetaNodeDeposit) Type ¶ added in v0.10.0
func (msg MsgUpdateMetaNodeDeposit) Type() string
Type implements the sdk.Msg interface.
func (*MsgUpdateMetaNodeDeposit) Unmarshal ¶ added in v0.10.0
func (m *MsgUpdateMetaNodeDeposit) Unmarshal(dAtA []byte) error
func (MsgUpdateMetaNodeDeposit) ValidateBasic ¶ added in v0.10.0
func (msg MsgUpdateMetaNodeDeposit) ValidateBasic() error
ValidateBasic implements the sdk.Msg interface.
func (*MsgUpdateMetaNodeDeposit) XXX_DiscardUnknown ¶ added in v0.10.0
func (m *MsgUpdateMetaNodeDeposit) XXX_DiscardUnknown()
func (*MsgUpdateMetaNodeDeposit) XXX_Marshal ¶ added in v0.10.0
func (m *MsgUpdateMetaNodeDeposit) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgUpdateMetaNodeDeposit) XXX_Merge ¶ added in v0.10.0
func (m *MsgUpdateMetaNodeDeposit) XXX_Merge(src proto.Message)
func (*MsgUpdateMetaNodeDeposit) XXX_Size ¶ added in v0.10.0
func (m *MsgUpdateMetaNodeDeposit) XXX_Size() int
func (*MsgUpdateMetaNodeDeposit) XXX_Unmarshal ¶ added in v0.10.0
func (m *MsgUpdateMetaNodeDeposit) XXX_Unmarshal(b []byte) error
type MsgUpdateMetaNodeDepositResponse ¶ added in v0.10.0
type MsgUpdateMetaNodeDepositResponse struct { }
MsgUpdateMetaNodeDepositResponse defines the Msg/UpdateMetaNodeDeposit response type.
func (*MsgUpdateMetaNodeDepositResponse) Descriptor ¶ added in v0.10.0
func (*MsgUpdateMetaNodeDepositResponse) Descriptor() ([]byte, []int)
func (*MsgUpdateMetaNodeDepositResponse) Equal ¶ added in v0.12.0
func (this *MsgUpdateMetaNodeDepositResponse) Equal(that interface{}) bool
func (*MsgUpdateMetaNodeDepositResponse) Marshal ¶ added in v0.10.0
func (m *MsgUpdateMetaNodeDepositResponse) Marshal() (dAtA []byte, err error)
func (*MsgUpdateMetaNodeDepositResponse) MarshalTo ¶ added in v0.10.0
func (m *MsgUpdateMetaNodeDepositResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgUpdateMetaNodeDepositResponse) MarshalToSizedBuffer ¶ added in v0.10.0
func (m *MsgUpdateMetaNodeDepositResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgUpdateMetaNodeDepositResponse) ProtoMessage ¶ added in v0.10.0
func (*MsgUpdateMetaNodeDepositResponse) ProtoMessage()
func (*MsgUpdateMetaNodeDepositResponse) Reset ¶ added in v0.10.0
func (m *MsgUpdateMetaNodeDepositResponse) Reset()
func (*MsgUpdateMetaNodeDepositResponse) Size ¶ added in v0.10.0
func (m *MsgUpdateMetaNodeDepositResponse) Size() (n int)
func (*MsgUpdateMetaNodeDepositResponse) String ¶ added in v0.10.0
func (m *MsgUpdateMetaNodeDepositResponse) String() string
func (*MsgUpdateMetaNodeDepositResponse) Unmarshal ¶ added in v0.10.0
func (m *MsgUpdateMetaNodeDepositResponse) Unmarshal(dAtA []byte) error
func (*MsgUpdateMetaNodeDepositResponse) XXX_DiscardUnknown ¶ added in v0.10.0
func (m *MsgUpdateMetaNodeDepositResponse) XXX_DiscardUnknown()
func (*MsgUpdateMetaNodeDepositResponse) XXX_Marshal ¶ added in v0.10.0
func (m *MsgUpdateMetaNodeDepositResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgUpdateMetaNodeDepositResponse) XXX_Merge ¶ added in v0.10.0
func (m *MsgUpdateMetaNodeDepositResponse) XXX_Merge(src proto.Message)
func (*MsgUpdateMetaNodeDepositResponse) XXX_Size ¶ added in v0.10.0
func (m *MsgUpdateMetaNodeDepositResponse) XXX_Size() int
func (*MsgUpdateMetaNodeDepositResponse) XXX_Unmarshal ¶ added in v0.10.0
func (m *MsgUpdateMetaNodeDepositResponse) XXX_Unmarshal(b []byte) error
type MsgUpdateMetaNodeResponse ¶ added in v0.8.0
type MsgUpdateMetaNodeResponse struct { }
MsgUpdateMetaNodeResponse defines the Msg/UpdateMetaNode response type.
func (*MsgUpdateMetaNodeResponse) Descriptor ¶ added in v0.8.0
func (*MsgUpdateMetaNodeResponse) Descriptor() ([]byte, []int)
func (*MsgUpdateMetaNodeResponse) Equal ¶ added in v0.12.0
func (this *MsgUpdateMetaNodeResponse) Equal(that interface{}) bool
func (*MsgUpdateMetaNodeResponse) Marshal ¶ added in v0.8.0
func (m *MsgUpdateMetaNodeResponse) Marshal() (dAtA []byte, err error)
func (*MsgUpdateMetaNodeResponse) MarshalTo ¶ added in v0.8.0
func (m *MsgUpdateMetaNodeResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgUpdateMetaNodeResponse) MarshalToSizedBuffer ¶ added in v0.8.0
func (m *MsgUpdateMetaNodeResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgUpdateMetaNodeResponse) ProtoMessage ¶ added in v0.8.0
func (*MsgUpdateMetaNodeResponse) ProtoMessage()
func (*MsgUpdateMetaNodeResponse) Reset ¶ added in v0.8.0
func (m *MsgUpdateMetaNodeResponse) Reset()
func (*MsgUpdateMetaNodeResponse) Size ¶ added in v0.8.0
func (m *MsgUpdateMetaNodeResponse) Size() (n int)
func (*MsgUpdateMetaNodeResponse) String ¶ added in v0.8.0
func (m *MsgUpdateMetaNodeResponse) String() string
func (*MsgUpdateMetaNodeResponse) Unmarshal ¶ added in v0.8.0
func (m *MsgUpdateMetaNodeResponse) Unmarshal(dAtA []byte) error
func (*MsgUpdateMetaNodeResponse) XXX_DiscardUnknown ¶ added in v0.8.0
func (m *MsgUpdateMetaNodeResponse) XXX_DiscardUnknown()
func (*MsgUpdateMetaNodeResponse) XXX_Marshal ¶ added in v0.8.0
func (m *MsgUpdateMetaNodeResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgUpdateMetaNodeResponse) XXX_Merge ¶ added in v0.8.0
func (m *MsgUpdateMetaNodeResponse) XXX_Merge(src proto.Message)
func (*MsgUpdateMetaNodeResponse) XXX_Size ¶ added in v0.8.0
func (m *MsgUpdateMetaNodeResponse) XXX_Size() int
func (*MsgUpdateMetaNodeResponse) XXX_Unmarshal ¶ added in v0.8.0
func (m *MsgUpdateMetaNodeResponse) XXX_Unmarshal(b []byte) error
type MsgUpdateParams ¶ added in v0.12.0
type MsgUpdateParams struct { // authority is the address of the governance account. Authority string `protobuf:"bytes,1,opt,name=authority,proto3" json:"authority,omitempty"` // params defines the x/register parameters to update. // NOTE: All parameters must be supplied. Params Params `protobuf:"bytes,2,opt,name=params,proto3" json:"params"` }
MsgUpdateParams defines a Msg for updating the x/register module parameters.
func NewMsgUpdateParams ¶ added in v0.12.0
func NewMsgUpdateParams(params Params, authority string) *MsgUpdateParams
func (*MsgUpdateParams) Descriptor ¶ added in v0.12.0
func (*MsgUpdateParams) Descriptor() ([]byte, []int)
func (*MsgUpdateParams) Equal ¶ added in v0.12.0
func (this *MsgUpdateParams) Equal(that interface{}) bool
func (*MsgUpdateParams) GetAuthority ¶ added in v0.12.0
func (m *MsgUpdateParams) GetAuthority() string
func (*MsgUpdateParams) GetParams ¶ added in v0.12.0
func (m *MsgUpdateParams) GetParams() Params
func (*MsgUpdateParams) GetSignBytes ¶ added in v0.12.0
func (msg *MsgUpdateParams) GetSignBytes() []byte
GetSigners implements legacytx.LegacyMsg
func (*MsgUpdateParams) GetSigners ¶ added in v0.12.0
func (msg *MsgUpdateParams) GetSigners() []sdk.AccAddress
GetSignBytes implements sdk.Msg
func (*MsgUpdateParams) Marshal ¶ added in v0.12.0
func (m *MsgUpdateParams) Marshal() (dAtA []byte, err error)
func (*MsgUpdateParams) MarshalTo ¶ added in v0.12.0
func (m *MsgUpdateParams) MarshalTo(dAtA []byte) (int, error)
func (*MsgUpdateParams) MarshalToSizedBuffer ¶ added in v0.12.0
func (m *MsgUpdateParams) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgUpdateParams) ProtoMessage ¶ added in v0.12.0
func (*MsgUpdateParams) ProtoMessage()
func (*MsgUpdateParams) Reset ¶ added in v0.12.0
func (m *MsgUpdateParams) Reset()
func (*MsgUpdateParams) Route ¶ added in v0.12.0
func (msg *MsgUpdateParams) Route() string
Route implements legacytx.LegacyMsg
func (*MsgUpdateParams) Size ¶ added in v0.12.0
func (m *MsgUpdateParams) Size() (n int)
func (*MsgUpdateParams) String ¶ added in v0.12.0
func (m *MsgUpdateParams) String() string
func (*MsgUpdateParams) Type ¶ added in v0.12.0
func (msg *MsgUpdateParams) Type() string
Type implements legacytx.LegacyMsg
func (*MsgUpdateParams) Unmarshal ¶ added in v0.12.0
func (m *MsgUpdateParams) Unmarshal(dAtA []byte) error
func (*MsgUpdateParams) ValidateBasic ¶ added in v0.12.0
func (msg *MsgUpdateParams) ValidateBasic() error
ValidateBasic implements sdk.Msg
func (*MsgUpdateParams) XXX_DiscardUnknown ¶ added in v0.12.0
func (m *MsgUpdateParams) XXX_DiscardUnknown()
func (*MsgUpdateParams) XXX_Marshal ¶ added in v0.12.0
func (m *MsgUpdateParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgUpdateParams) XXX_Merge ¶ added in v0.12.0
func (m *MsgUpdateParams) XXX_Merge(src proto.Message)
func (*MsgUpdateParams) XXX_Size ¶ added in v0.12.0
func (m *MsgUpdateParams) XXX_Size() int
func (*MsgUpdateParams) XXX_Unmarshal ¶ added in v0.12.0
func (m *MsgUpdateParams) XXX_Unmarshal(b []byte) error
type MsgUpdateParamsResponse ¶ added in v0.12.0
type MsgUpdateParamsResponse struct { }
MsgUpdateParamsResponse defines the response structure for executing a MsgUpdateParams message.
func (*MsgUpdateParamsResponse) Descriptor ¶ added in v0.12.0
func (*MsgUpdateParamsResponse) Descriptor() ([]byte, []int)
func (*MsgUpdateParamsResponse) Equal ¶ added in v0.12.0
func (this *MsgUpdateParamsResponse) Equal(that interface{}) bool
func (*MsgUpdateParamsResponse) Marshal ¶ added in v0.12.0
func (m *MsgUpdateParamsResponse) Marshal() (dAtA []byte, err error)
func (*MsgUpdateParamsResponse) MarshalTo ¶ added in v0.12.0
func (m *MsgUpdateParamsResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgUpdateParamsResponse) MarshalToSizedBuffer ¶ added in v0.12.0
func (m *MsgUpdateParamsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgUpdateParamsResponse) ProtoMessage ¶ added in v0.12.0
func (*MsgUpdateParamsResponse) ProtoMessage()
func (*MsgUpdateParamsResponse) Reset ¶ added in v0.12.0
func (m *MsgUpdateParamsResponse) Reset()
func (*MsgUpdateParamsResponse) Size ¶ added in v0.12.0
func (m *MsgUpdateParamsResponse) Size() (n int)
func (*MsgUpdateParamsResponse) String ¶ added in v0.12.0
func (m *MsgUpdateParamsResponse) String() string
func (*MsgUpdateParamsResponse) Unmarshal ¶ added in v0.12.0
func (m *MsgUpdateParamsResponse) Unmarshal(dAtA []byte) error
func (*MsgUpdateParamsResponse) XXX_DiscardUnknown ¶ added in v0.12.0
func (m *MsgUpdateParamsResponse) XXX_DiscardUnknown()
func (*MsgUpdateParamsResponse) XXX_Marshal ¶ added in v0.12.0
func (m *MsgUpdateParamsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgUpdateParamsResponse) XXX_Merge ¶ added in v0.12.0
func (m *MsgUpdateParamsResponse) XXX_Merge(src proto.Message)
func (*MsgUpdateParamsResponse) XXX_Size ¶ added in v0.12.0
func (m *MsgUpdateParamsResponse) XXX_Size() int
func (*MsgUpdateParamsResponse) XXX_Unmarshal ¶ added in v0.12.0
func (m *MsgUpdateParamsResponse) XXX_Unmarshal(b []byte) error
type MsgUpdateResourceNode ¶ added in v0.4.0
type MsgUpdateResourceNode struct { Description Description `protobuf:"bytes,1,opt,name=description,proto3" json:"description" yaml:"description"` BeneficiaryAddress string `` /* 132-byte string literal not displayed */ NetworkAddress string `protobuf:"bytes,3,opt,name=network_address,json=networkAddress,proto3" json:"network_address" yaml:"network_address"` OwnerAddress string `protobuf:"bytes,4,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address" yaml:"owner_address"` NodeType uint32 `protobuf:"varint,5,opt,name=node_type,json=nodeType,proto3" json:"node_type" yaml:"node_type"` }
MsgUpdateResourceNode defines a SDK message for updating an existing resource node.
func NewMsgUpdateResourceNode ¶ added in v0.4.0
func NewMsgUpdateResourceNode(description Description, nodeType uint32, networkAddress stratos.SdsAddress, ownerAddress sdk.AccAddress, beneficiaryAddr sdk.AccAddress) *MsgUpdateResourceNode
func (*MsgUpdateResourceNode) Descriptor ¶ added in v0.8.0
func (*MsgUpdateResourceNode) Descriptor() ([]byte, []int)
func (*MsgUpdateResourceNode) Equal ¶ added in v0.12.0
func (this *MsgUpdateResourceNode) Equal(that interface{}) bool
func (*MsgUpdateResourceNode) GetBeneficiaryAddress ¶ added in v0.12.0
func (m *MsgUpdateResourceNode) GetBeneficiaryAddress() string
func (*MsgUpdateResourceNode) GetDescription ¶ added in v0.10.0
func (m *MsgUpdateResourceNode) GetDescription() Description
func (*MsgUpdateResourceNode) GetNetworkAddress ¶ added in v0.10.0
func (m *MsgUpdateResourceNode) GetNetworkAddress() string
func (*MsgUpdateResourceNode) GetNodeType ¶ added in v0.10.0
func (m *MsgUpdateResourceNode) GetNodeType() uint32
func (*MsgUpdateResourceNode) GetOwnerAddress ¶ added in v0.10.0
func (m *MsgUpdateResourceNode) GetOwnerAddress() string
func (MsgUpdateResourceNode) GetSignBytes ¶ added in v0.4.0
func (msg MsgUpdateResourceNode) GetSignBytes() []byte
GetSignBytes implements the sdk.Msg interface.
func (MsgUpdateResourceNode) GetSigners ¶ added in v0.4.0
func (msg MsgUpdateResourceNode) GetSigners() []sdk.AccAddress
GetSigners implements the sdk.Msg interface.
func (*MsgUpdateResourceNode) Marshal ¶ added in v0.8.0
func (m *MsgUpdateResourceNode) Marshal() (dAtA []byte, err error)
func (*MsgUpdateResourceNode) MarshalTo ¶ added in v0.8.0
func (m *MsgUpdateResourceNode) MarshalTo(dAtA []byte) (int, error)
func (*MsgUpdateResourceNode) MarshalToSizedBuffer ¶ added in v0.8.0
func (m *MsgUpdateResourceNode) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgUpdateResourceNode) ProtoMessage ¶ added in v0.8.0
func (*MsgUpdateResourceNode) ProtoMessage()
func (*MsgUpdateResourceNode) Reset ¶ added in v0.8.0
func (m *MsgUpdateResourceNode) Reset()
func (MsgUpdateResourceNode) Route ¶ added in v0.4.0
func (msg MsgUpdateResourceNode) Route() string
Route implements the sdk.Msg interface.
func (*MsgUpdateResourceNode) Size ¶ added in v0.8.0
func (m *MsgUpdateResourceNode) Size() (n int)
func (*MsgUpdateResourceNode) String ¶ added in v0.8.0
func (m *MsgUpdateResourceNode) String() string
func (MsgUpdateResourceNode) Type ¶ added in v0.4.0
func (msg MsgUpdateResourceNode) Type() string
Type implements the sdk.Msg interface.
func (*MsgUpdateResourceNode) Unmarshal ¶ added in v0.8.0
func (m *MsgUpdateResourceNode) Unmarshal(dAtA []byte) error
func (MsgUpdateResourceNode) ValidateBasic ¶ added in v0.4.0
func (msg MsgUpdateResourceNode) ValidateBasic() error
ValidateBasic implements the sdk.Msg interface.
func (*MsgUpdateResourceNode) XXX_DiscardUnknown ¶ added in v0.8.0
func (m *MsgUpdateResourceNode) XXX_DiscardUnknown()
func (*MsgUpdateResourceNode) XXX_Marshal ¶ added in v0.8.0
func (m *MsgUpdateResourceNode) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgUpdateResourceNode) XXX_Merge ¶ added in v0.8.0
func (m *MsgUpdateResourceNode) XXX_Merge(src proto.Message)
func (*MsgUpdateResourceNode) XXX_Size ¶ added in v0.8.0
func (m *MsgUpdateResourceNode) XXX_Size() int
func (*MsgUpdateResourceNode) XXX_Unmarshal ¶ added in v0.8.0
func (m *MsgUpdateResourceNode) XXX_Unmarshal(b []byte) error
type MsgUpdateResourceNodeDeposit ¶ added in v0.10.0
type MsgUpdateResourceNodeDeposit struct { NetworkAddress string `protobuf:"bytes,1,opt,name=network_address,json=networkAddress,proto3" json:"network_address" yaml:"network_address"` OwnerAddress string `protobuf:"bytes,2,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address" yaml:"owner_address"` DepositDelta types1.Coin `protobuf:"bytes,3,opt,name=deposit_delta,json=depositDelta,proto3" json:"deposit_delta" yaml:"deposit_delta"` }
MsgUpdateResourceNodeDeposit defines a SDK message for updating the deposit of an existing resource node.
func NewMsgUpdateResourceNodeDeposit ¶ added in v0.10.0
func NewMsgUpdateResourceNodeDeposit(networkAddress stratos.SdsAddress, ownerAddress sdk.AccAddress, depositDelta sdk.Coin) *MsgUpdateResourceNodeDeposit
func (*MsgUpdateResourceNodeDeposit) Descriptor ¶ added in v0.10.0
func (*MsgUpdateResourceNodeDeposit) Descriptor() ([]byte, []int)
func (*MsgUpdateResourceNodeDeposit) Equal ¶ added in v0.12.0
func (this *MsgUpdateResourceNodeDeposit) Equal(that interface{}) bool
func (*MsgUpdateResourceNodeDeposit) GetDepositDelta ¶ added in v0.10.0
func (m *MsgUpdateResourceNodeDeposit) GetDepositDelta() types1.Coin
func (*MsgUpdateResourceNodeDeposit) GetNetworkAddress ¶ added in v0.10.0
func (m *MsgUpdateResourceNodeDeposit) GetNetworkAddress() string
func (*MsgUpdateResourceNodeDeposit) GetOwnerAddress ¶ added in v0.10.0
func (m *MsgUpdateResourceNodeDeposit) GetOwnerAddress() string
func (MsgUpdateResourceNodeDeposit) GetSignBytes ¶ added in v0.10.0
func (msg MsgUpdateResourceNodeDeposit) GetSignBytes() []byte
GetSignBytes implements the sdk.Msg interface.
func (MsgUpdateResourceNodeDeposit) GetSigners ¶ added in v0.10.0
func (msg MsgUpdateResourceNodeDeposit) GetSigners() []sdk.AccAddress
GetSigners implements the sdk.Msg interface.
func (*MsgUpdateResourceNodeDeposit) GetWeb3Msg ¶ added in v0.12.0
func (m *MsgUpdateResourceNodeDeposit) GetWeb3Msg() (*stratos.Web3Msg, error)
func (*MsgUpdateResourceNodeDeposit) Marshal ¶ added in v0.10.0
func (m *MsgUpdateResourceNodeDeposit) Marshal() (dAtA []byte, err error)
func (*MsgUpdateResourceNodeDeposit) MarshalTo ¶ added in v0.10.0
func (m *MsgUpdateResourceNodeDeposit) MarshalTo(dAtA []byte) (int, error)
func (*MsgUpdateResourceNodeDeposit) MarshalToSizedBuffer ¶ added in v0.10.0
func (m *MsgUpdateResourceNodeDeposit) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgUpdateResourceNodeDeposit) ProtoMessage ¶ added in v0.10.0
func (*MsgUpdateResourceNodeDeposit) ProtoMessage()
func (*MsgUpdateResourceNodeDeposit) Reset ¶ added in v0.10.0
func (m *MsgUpdateResourceNodeDeposit) Reset()
func (MsgUpdateResourceNodeDeposit) Route ¶ added in v0.10.0
func (msg MsgUpdateResourceNodeDeposit) Route() string
Route implements the sdk.Msg interface.
func (*MsgUpdateResourceNodeDeposit) Size ¶ added in v0.10.0
func (m *MsgUpdateResourceNodeDeposit) Size() (n int)
func (*MsgUpdateResourceNodeDeposit) String ¶ added in v0.10.0
func (m *MsgUpdateResourceNodeDeposit) String() string
func (MsgUpdateResourceNodeDeposit) Type ¶ added in v0.10.0
func (msg MsgUpdateResourceNodeDeposit) Type() string
Type implements the sdk.Msg interface.
func (*MsgUpdateResourceNodeDeposit) Unmarshal ¶ added in v0.10.0
func (m *MsgUpdateResourceNodeDeposit) Unmarshal(dAtA []byte) error
func (MsgUpdateResourceNodeDeposit) ValidateBasic ¶ added in v0.10.0
func (msg MsgUpdateResourceNodeDeposit) ValidateBasic() error
ValidateBasic implements the sdk.Msg interface.
func (*MsgUpdateResourceNodeDeposit) XXX_DiscardUnknown ¶ added in v0.10.0
func (m *MsgUpdateResourceNodeDeposit) XXX_DiscardUnknown()
func (*MsgUpdateResourceNodeDeposit) XXX_Marshal ¶ added in v0.10.0
func (m *MsgUpdateResourceNodeDeposit) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgUpdateResourceNodeDeposit) XXX_Merge ¶ added in v0.10.0
func (m *MsgUpdateResourceNodeDeposit) XXX_Merge(src proto.Message)
func (*MsgUpdateResourceNodeDeposit) XXX_Size ¶ added in v0.10.0
func (m *MsgUpdateResourceNodeDeposit) XXX_Size() int
func (*MsgUpdateResourceNodeDeposit) XXX_Unmarshal ¶ added in v0.10.0
func (m *MsgUpdateResourceNodeDeposit) XXX_Unmarshal(b []byte) error
type MsgUpdateResourceNodeDepositResponse ¶ added in v0.10.0
type MsgUpdateResourceNodeDepositResponse struct { }
MsgUpdateResourceNodeDepositResponse defines the Msg/UpdateResourceNodeDeposit response type.
func (*MsgUpdateResourceNodeDepositResponse) Descriptor ¶ added in v0.10.0
func (*MsgUpdateResourceNodeDepositResponse) Descriptor() ([]byte, []int)
func (*MsgUpdateResourceNodeDepositResponse) Equal ¶ added in v0.12.0
func (this *MsgUpdateResourceNodeDepositResponse) Equal(that interface{}) bool
func (*MsgUpdateResourceNodeDepositResponse) Marshal ¶ added in v0.10.0
func (m *MsgUpdateResourceNodeDepositResponse) Marshal() (dAtA []byte, err error)
func (*MsgUpdateResourceNodeDepositResponse) MarshalTo ¶ added in v0.10.0
func (m *MsgUpdateResourceNodeDepositResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgUpdateResourceNodeDepositResponse) MarshalToSizedBuffer ¶ added in v0.10.0
func (m *MsgUpdateResourceNodeDepositResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgUpdateResourceNodeDepositResponse) ProtoMessage ¶ added in v0.10.0
func (*MsgUpdateResourceNodeDepositResponse) ProtoMessage()
func (*MsgUpdateResourceNodeDepositResponse) Reset ¶ added in v0.10.0
func (m *MsgUpdateResourceNodeDepositResponse) Reset()
func (*MsgUpdateResourceNodeDepositResponse) Size ¶ added in v0.10.0
func (m *MsgUpdateResourceNodeDepositResponse) Size() (n int)
func (*MsgUpdateResourceNodeDepositResponse) String ¶ added in v0.10.0
func (m *MsgUpdateResourceNodeDepositResponse) String() string
func (*MsgUpdateResourceNodeDepositResponse) Unmarshal ¶ added in v0.10.0
func (m *MsgUpdateResourceNodeDepositResponse) Unmarshal(dAtA []byte) error
func (*MsgUpdateResourceNodeDepositResponse) XXX_DiscardUnknown ¶ added in v0.10.0
func (m *MsgUpdateResourceNodeDepositResponse) XXX_DiscardUnknown()
func (*MsgUpdateResourceNodeDepositResponse) XXX_Marshal ¶ added in v0.10.0
func (m *MsgUpdateResourceNodeDepositResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgUpdateResourceNodeDepositResponse) XXX_Merge ¶ added in v0.10.0
func (m *MsgUpdateResourceNodeDepositResponse) XXX_Merge(src proto.Message)
func (*MsgUpdateResourceNodeDepositResponse) XXX_Size ¶ added in v0.10.0
func (m *MsgUpdateResourceNodeDepositResponse) XXX_Size() int
func (*MsgUpdateResourceNodeDepositResponse) XXX_Unmarshal ¶ added in v0.10.0
func (m *MsgUpdateResourceNodeDepositResponse) XXX_Unmarshal(b []byte) error
type MsgUpdateResourceNodeResponse ¶ added in v0.8.0
type MsgUpdateResourceNodeResponse struct { }
MsgUpdateResourceNodeResponse defines the Msg/UpdateResourceNode response type.
func (*MsgUpdateResourceNodeResponse) Descriptor ¶ added in v0.8.0
func (*MsgUpdateResourceNodeResponse) Descriptor() ([]byte, []int)
func (*MsgUpdateResourceNodeResponse) Equal ¶ added in v0.12.0
func (this *MsgUpdateResourceNodeResponse) Equal(that interface{}) bool
func (*MsgUpdateResourceNodeResponse) GetWeb3Msg ¶ added in v0.12.0
func (m *MsgUpdateResourceNodeResponse) GetWeb3Msg() (*stratos.Web3Msg, error)
func (*MsgUpdateResourceNodeResponse) Marshal ¶ added in v0.8.0
func (m *MsgUpdateResourceNodeResponse) Marshal() (dAtA []byte, err error)
func (*MsgUpdateResourceNodeResponse) MarshalTo ¶ added in v0.8.0
func (m *MsgUpdateResourceNodeResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgUpdateResourceNodeResponse) MarshalToSizedBuffer ¶ added in v0.8.0
func (m *MsgUpdateResourceNodeResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgUpdateResourceNodeResponse) ProtoMessage ¶ added in v0.8.0
func (*MsgUpdateResourceNodeResponse) ProtoMessage()
func (*MsgUpdateResourceNodeResponse) Reset ¶ added in v0.8.0
func (m *MsgUpdateResourceNodeResponse) Reset()
func (*MsgUpdateResourceNodeResponse) Size ¶ added in v0.8.0
func (m *MsgUpdateResourceNodeResponse) Size() (n int)
func (*MsgUpdateResourceNodeResponse) String ¶ added in v0.8.0
func (m *MsgUpdateResourceNodeResponse) String() string
func (*MsgUpdateResourceNodeResponse) Unmarshal ¶ added in v0.8.0
func (m *MsgUpdateResourceNodeResponse) Unmarshal(dAtA []byte) error
func (*MsgUpdateResourceNodeResponse) XXX_DiscardUnknown ¶ added in v0.8.0
func (m *MsgUpdateResourceNodeResponse) XXX_DiscardUnknown()
func (*MsgUpdateResourceNodeResponse) XXX_Marshal ¶ added in v0.8.0
func (m *MsgUpdateResourceNodeResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgUpdateResourceNodeResponse) XXX_Merge ¶ added in v0.8.0
func (m *MsgUpdateResourceNodeResponse) XXX_Merge(src proto.Message)
func (*MsgUpdateResourceNodeResponse) XXX_Size ¶ added in v0.8.0
func (m *MsgUpdateResourceNodeResponse) XXX_Size() int
func (*MsgUpdateResourceNodeResponse) XXX_Unmarshal ¶ added in v0.8.0
func (m *MsgUpdateResourceNodeResponse) XXX_Unmarshal(b []byte) error
type MultiRegisterHooks ¶ added in v0.4.0
type MultiRegisterHooks []RegisterHooks
MultiRegisterHooks combines multiple register hooks, all hook functions are run in array sequence
func NewMultiRegisterHooks ¶ added in v0.4.0
func NewMultiRegisterHooks(hooks ...RegisterHooks) MultiRegisterHooks
func (MultiRegisterHooks) AfterNodeBeginUnbonding ¶ added in v0.4.0
func (h MultiRegisterHooks) AfterNodeBeginUnbonding(ctx sdk.Context, networkAddr stratos.SdsAddress, isMetaNode bool)
func (MultiRegisterHooks) AfterNodeBonded ¶ added in v0.4.0
func (h MultiRegisterHooks) AfterNodeBonded(ctx sdk.Context, networkAddr stratos.SdsAddress, isMetaNode bool)
func (MultiRegisterHooks) AfterNodeCreated ¶ added in v0.4.0
func (h MultiRegisterHooks) AfterNodeCreated(ctx sdk.Context, networkAddr stratos.SdsAddress, isMetaNode bool)
nolint
func (MultiRegisterHooks) AfterNodeRemoved ¶ added in v0.4.0
func (h MultiRegisterHooks) AfterNodeRemoved(ctx sdk.Context, networkAddr stratos.SdsAddress, isMetaNode bool)
func (MultiRegisterHooks) BeforeNodeModified ¶ added in v0.4.0
func (h MultiRegisterHooks) BeforeNodeModified(ctx sdk.Context, networkAddr stratos.SdsAddress, isMetaNode bool)
type Params ¶
type Params struct { BondDenom string `protobuf:"bytes,1,opt,name=bond_denom,json=bondDenom,proto3" json:"bond_denom" yaml:"bond_denom"` UnbondingThreasholdTime time.Duration `` /* 167-byte string literal not displayed */ UnbondingCompletionTime time.Duration `` /* 167-byte string literal not displayed */ MaxEntries uint32 `protobuf:"varint,4,opt,name=max_entries,json=maxEntries,proto3" json:"max_entries" yaml:"max_entries",omitempty` ResourceNodeRegEnabled bool `` /* 155-byte string literal not displayed */ ResourceNodeMinDeposit types.Coin `` /* 154-byte string literal not displayed */ VotingPeriod time.Duration `protobuf:"bytes,7,opt,name=voting_period,json=votingPeriod,proto3,stdduration" json:"voting_period" yaml:"voting_period"` }
Params defines the Register module parameters
func DefaultParams ¶
func DefaultParams() Params
DefaultParams defines the parameters for this module
func NewParams ¶
func NewParams(bondDenom string, threashold, completion time.Duration, maxEntries uint32, resourceNodeRegEnabled bool, resourceNodeMinDeposit sdk.Coin, votingPeriod time.Duration) Params
NewParams creates a new Params object
func (*Params) Descriptor ¶ added in v0.8.0
func (*Params) GetBondDenom ¶ added in v0.8.0
func (*Params) GetMaxEntries ¶ added in v0.8.0
func (*Params) GetResourceNodeMinDeposit ¶ added in v0.10.0
func (*Params) GetResourceNodeRegEnabled ¶ added in v0.9.0
func (*Params) GetUnbondingCompletionTime ¶ added in v0.8.0
func (*Params) GetUnbondingThreasholdTime ¶ added in v0.8.0
func (*Params) GetVotingPeriod ¶ added in v0.10.0
func (*Params) MarshalToSizedBuffer ¶ added in v0.8.0
func (*Params) ParamSetPairs ¶
func (p *Params) ParamSetPairs() paramtypes.ParamSetPairs
ParamSetPairs - Implements params.ParamSet Deprecated.
func (*Params) ProtoMessage ¶ added in v0.8.0
func (*Params) ProtoMessage()
func (*Params) XXX_DiscardUnknown ¶ added in v0.8.0
func (m *Params) XXX_DiscardUnknown()
func (*Params) XXX_Marshal ¶ added in v0.8.0
func (*Params) XXX_Unmarshal ¶ added in v0.8.0
type ParamsSubspace ¶ added in v0.12.0
type ParamsSubspace interface {
GetParamSet(ctx sdk.Context, ps paramstypes.ParamSet)
}
ParamsSubspace defines an interface that implements the legacy x/params ParamsSubspace type.
NOTE: This is used solely for migration of x/params managed parameters.
type QueryBondedMetaNodeCountRequest ¶ added in v0.8.0
type QueryBondedMetaNodeCountRequest struct { }
QueryBondedMetaNodeCountRequest is request type for the Query/MetaNodeNumber RPC method.
func (*QueryBondedMetaNodeCountRequest) Descriptor ¶ added in v0.8.0
func (*QueryBondedMetaNodeCountRequest) Descriptor() ([]byte, []int)
func (*QueryBondedMetaNodeCountRequest) Marshal ¶ added in v0.8.0
func (m *QueryBondedMetaNodeCountRequest) Marshal() (dAtA []byte, err error)
func (*QueryBondedMetaNodeCountRequest) MarshalTo ¶ added in v0.8.0
func (m *QueryBondedMetaNodeCountRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryBondedMetaNodeCountRequest) MarshalToSizedBuffer ¶ added in v0.8.0
func (m *QueryBondedMetaNodeCountRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryBondedMetaNodeCountRequest) ProtoMessage ¶ added in v0.8.0
func (*QueryBondedMetaNodeCountRequest) ProtoMessage()
func (*QueryBondedMetaNodeCountRequest) Reset ¶ added in v0.8.0
func (m *QueryBondedMetaNodeCountRequest) Reset()
func (*QueryBondedMetaNodeCountRequest) Size ¶ added in v0.8.0
func (m *QueryBondedMetaNodeCountRequest) Size() (n int)
func (*QueryBondedMetaNodeCountRequest) String ¶ added in v0.8.0
func (m *QueryBondedMetaNodeCountRequest) String() string
func (*QueryBondedMetaNodeCountRequest) Unmarshal ¶ added in v0.8.0
func (m *QueryBondedMetaNodeCountRequest) Unmarshal(dAtA []byte) error
func (*QueryBondedMetaNodeCountRequest) XXX_DiscardUnknown ¶ added in v0.8.0
func (m *QueryBondedMetaNodeCountRequest) XXX_DiscardUnknown()
func (*QueryBondedMetaNodeCountRequest) XXX_Marshal ¶ added in v0.8.0
func (m *QueryBondedMetaNodeCountRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryBondedMetaNodeCountRequest) XXX_Merge ¶ added in v0.8.0
func (m *QueryBondedMetaNodeCountRequest) XXX_Merge(src proto.Message)
func (*QueryBondedMetaNodeCountRequest) XXX_Size ¶ added in v0.8.0
func (m *QueryBondedMetaNodeCountRequest) XXX_Size() int
func (*QueryBondedMetaNodeCountRequest) XXX_Unmarshal ¶ added in v0.8.0
func (m *QueryBondedMetaNodeCountRequest) XXX_Unmarshal(b []byte) error
type QueryBondedMetaNodeCountResponse ¶ added in v0.8.0
type QueryBondedMetaNodeCountResponse struct { // number holds the total number of meta nodes. Number uint64 `protobuf:"varint,1,opt,name=number,proto3" json:"number,omitempty"` }
QueryBondedMetaNodeCountResponse is response type for the Query/MetaNodeNumber RPC method.
func (*QueryBondedMetaNodeCountResponse) Descriptor ¶ added in v0.8.0
func (*QueryBondedMetaNodeCountResponse) Descriptor() ([]byte, []int)
func (*QueryBondedMetaNodeCountResponse) GetNumber ¶ added in v0.8.0
func (m *QueryBondedMetaNodeCountResponse) GetNumber() uint64
func (*QueryBondedMetaNodeCountResponse) Marshal ¶ added in v0.8.0
func (m *QueryBondedMetaNodeCountResponse) Marshal() (dAtA []byte, err error)
func (*QueryBondedMetaNodeCountResponse) MarshalTo ¶ added in v0.8.0
func (m *QueryBondedMetaNodeCountResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryBondedMetaNodeCountResponse) MarshalToSizedBuffer ¶ added in v0.8.0
func (m *QueryBondedMetaNodeCountResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryBondedMetaNodeCountResponse) ProtoMessage ¶ added in v0.8.0
func (*QueryBondedMetaNodeCountResponse) ProtoMessage()
func (*QueryBondedMetaNodeCountResponse) Reset ¶ added in v0.8.0
func (m *QueryBondedMetaNodeCountResponse) Reset()
func (*QueryBondedMetaNodeCountResponse) Size ¶ added in v0.8.0
func (m *QueryBondedMetaNodeCountResponse) Size() (n int)
func (*QueryBondedMetaNodeCountResponse) String ¶ added in v0.8.0
func (m *QueryBondedMetaNodeCountResponse) String() string
func (*QueryBondedMetaNodeCountResponse) Unmarshal ¶ added in v0.8.0
func (m *QueryBondedMetaNodeCountResponse) Unmarshal(dAtA []byte) error
func (*QueryBondedMetaNodeCountResponse) XXX_DiscardUnknown ¶ added in v0.8.0
func (m *QueryBondedMetaNodeCountResponse) XXX_DiscardUnknown()
func (*QueryBondedMetaNodeCountResponse) XXX_Marshal ¶ added in v0.8.0
func (m *QueryBondedMetaNodeCountResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryBondedMetaNodeCountResponse) XXX_Merge ¶ added in v0.8.0
func (m *QueryBondedMetaNodeCountResponse) XXX_Merge(src proto.Message)
func (*QueryBondedMetaNodeCountResponse) XXX_Size ¶ added in v0.8.0
func (m *QueryBondedMetaNodeCountResponse) XXX_Size() int
func (*QueryBondedMetaNodeCountResponse) XXX_Unmarshal ¶ added in v0.8.0
func (m *QueryBondedMetaNodeCountResponse) XXX_Unmarshal(b []byte) error
type QueryBondedResourceNodeCountRequest ¶ added in v0.8.0
type QueryBondedResourceNodeCountRequest struct { }
QueryBondedResourceNodeCountRequest is request type for the Query/BondedResourceNodeCount RPC method.
func (*QueryBondedResourceNodeCountRequest) Descriptor ¶ added in v0.8.0
func (*QueryBondedResourceNodeCountRequest) Descriptor() ([]byte, []int)
func (*QueryBondedResourceNodeCountRequest) Marshal ¶ added in v0.8.0
func (m *QueryBondedResourceNodeCountRequest) Marshal() (dAtA []byte, err error)
func (*QueryBondedResourceNodeCountRequest) MarshalTo ¶ added in v0.8.0
func (m *QueryBondedResourceNodeCountRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryBondedResourceNodeCountRequest) MarshalToSizedBuffer ¶ added in v0.8.0
func (m *QueryBondedResourceNodeCountRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryBondedResourceNodeCountRequest) ProtoMessage ¶ added in v0.8.0
func (*QueryBondedResourceNodeCountRequest) ProtoMessage()
func (*QueryBondedResourceNodeCountRequest) Reset ¶ added in v0.8.0
func (m *QueryBondedResourceNodeCountRequest) Reset()
func (*QueryBondedResourceNodeCountRequest) Size ¶ added in v0.8.0
func (m *QueryBondedResourceNodeCountRequest) Size() (n int)
func (*QueryBondedResourceNodeCountRequest) String ¶ added in v0.8.0
func (m *QueryBondedResourceNodeCountRequest) String() string
func (*QueryBondedResourceNodeCountRequest) Unmarshal ¶ added in v0.8.0
func (m *QueryBondedResourceNodeCountRequest) Unmarshal(dAtA []byte) error
func (*QueryBondedResourceNodeCountRequest) XXX_DiscardUnknown ¶ added in v0.8.0
func (m *QueryBondedResourceNodeCountRequest) XXX_DiscardUnknown()
func (*QueryBondedResourceNodeCountRequest) XXX_Marshal ¶ added in v0.8.0
func (m *QueryBondedResourceNodeCountRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryBondedResourceNodeCountRequest) XXX_Merge ¶ added in v0.8.0
func (m *QueryBondedResourceNodeCountRequest) XXX_Merge(src proto.Message)
func (*QueryBondedResourceNodeCountRequest) XXX_Size ¶ added in v0.8.0
func (m *QueryBondedResourceNodeCountRequest) XXX_Size() int
func (*QueryBondedResourceNodeCountRequest) XXX_Unmarshal ¶ added in v0.8.0
func (m *QueryBondedResourceNodeCountRequest) XXX_Unmarshal(b []byte) error
type QueryBondedResourceNodeCountResponse ¶ added in v0.8.0
type QueryBondedResourceNodeCountResponse struct { // number holds the total number of resource nodes. Number uint64 `protobuf:"varint,1,opt,name=number,proto3" json:"number,omitempty"` }
QueryBondedResourceNodeCountResponse is response type for the Query/BondedResourceNodeCount RPC method.
func (*QueryBondedResourceNodeCountResponse) Descriptor ¶ added in v0.8.0
func (*QueryBondedResourceNodeCountResponse) Descriptor() ([]byte, []int)
func (*QueryBondedResourceNodeCountResponse) GetNumber ¶ added in v0.8.0
func (m *QueryBondedResourceNodeCountResponse) GetNumber() uint64
func (*QueryBondedResourceNodeCountResponse) Marshal ¶ added in v0.8.0
func (m *QueryBondedResourceNodeCountResponse) Marshal() (dAtA []byte, err error)
func (*QueryBondedResourceNodeCountResponse) MarshalTo ¶ added in v0.8.0
func (m *QueryBondedResourceNodeCountResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryBondedResourceNodeCountResponse) MarshalToSizedBuffer ¶ added in v0.8.0
func (m *QueryBondedResourceNodeCountResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryBondedResourceNodeCountResponse) ProtoMessage ¶ added in v0.8.0
func (*QueryBondedResourceNodeCountResponse) ProtoMessage()
func (*QueryBondedResourceNodeCountResponse) Reset ¶ added in v0.8.0
func (m *QueryBondedResourceNodeCountResponse) Reset()
func (*QueryBondedResourceNodeCountResponse) Size ¶ added in v0.8.0
func (m *QueryBondedResourceNodeCountResponse) Size() (n int)
func (*QueryBondedResourceNodeCountResponse) String ¶ added in v0.8.0
func (m *QueryBondedResourceNodeCountResponse) String() string
func (*QueryBondedResourceNodeCountResponse) Unmarshal ¶ added in v0.8.0
func (m *QueryBondedResourceNodeCountResponse) Unmarshal(dAtA []byte) error
func (*QueryBondedResourceNodeCountResponse) XXX_DiscardUnknown ¶ added in v0.8.0
func (m *QueryBondedResourceNodeCountResponse) XXX_DiscardUnknown()
func (*QueryBondedResourceNodeCountResponse) XXX_Marshal ¶ added in v0.8.0
func (m *QueryBondedResourceNodeCountResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryBondedResourceNodeCountResponse) XXX_Merge ¶ added in v0.8.0
func (m *QueryBondedResourceNodeCountResponse) XXX_Merge(src proto.Message)
func (*QueryBondedResourceNodeCountResponse) XXX_Size ¶ added in v0.8.0
func (m *QueryBondedResourceNodeCountResponse) XXX_Size() int
func (*QueryBondedResourceNodeCountResponse) XXX_Unmarshal ¶ added in v0.8.0
func (m *QueryBondedResourceNodeCountResponse) XXX_Unmarshal(b []byte) error
type QueryClient ¶ added in v0.8.0
type QueryClient interface { // ResourceNode queries ResourceNode info for given ResourceNode address. ResourceNode(ctx context.Context, in *QueryResourceNodeRequest, opts ...grpc.CallOption) (*QueryResourceNodeResponse, error) // MetaNode queries MetaNode info for given MetaNode address. MetaNode(ctx context.Context, in *QueryMetaNodeRequest, opts ...grpc.CallOption) (*QueryMetaNodeResponse, error) // Params queries Register module Params info. Params(ctx context.Context, in *QueryParamsRequest, opts ...grpc.CallOption) (*QueryParamsResponse, error) // DepositByNode queries all deposit info for given node network address. DepositByNode(ctx context.Context, in *QueryDepositByNodeRequest, opts ...grpc.CallOption) (*QueryDepositByNodeResponse, error) // DepositByOwner queries all deposit info for given owner address. DepositByOwner(ctx context.Context, in *QueryDepositByOwnerRequest, opts ...grpc.CallOption) (*QueryDepositByOwnerResponse, error) // DepositTotal queries all deposit info. DepositTotal(ctx context.Context, in *QueryDepositTotalRequest, opts ...grpc.CallOption) (*QueryDepositTotalResponse, error) // BondedResourceNodeCount queries total number of ResourceNodes. BondedResourceNodeCount(ctx context.Context, in *QueryBondedResourceNodeCountRequest, opts ...grpc.CallOption) (*QueryBondedResourceNodeCountResponse, error) // BondedMetaNodeCount queries total number of MetaNodes. BondedMetaNodeCount(ctx context.Context, in *QueryBondedMetaNodeCountRequest, opts ...grpc.CallOption) (*QueryBondedMetaNodeCountResponse, error) // RemainingOzoneLimit returns the current remaining ozone limit. RemainingOzoneLimit(ctx context.Context, in *QueryRemainingOzoneLimitRequest, opts ...grpc.CallOption) (*QueryRemainingOzoneLimitResponse, error) }
QueryClient is the client API for Query service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewQueryClient ¶ added in v0.8.0
func NewQueryClient(cc grpc1.ClientConn) QueryClient
type QueryDepositByNodeRequest ¶ added in v0.10.0
type QueryDepositByNodeRequest struct { // network_addr defines the node network address to query for. NetworkAddr string `protobuf:"bytes,1,opt,name=network_addr,json=networkAddr,proto3" json:"network_addr,omitempty"` QueryType uint32 `protobuf:"varint,2,opt,name=query_type,json=queryType,proto3" json:"query_type,omitempty"` }
QueryDepositByNodeRequest is request type for the Query/DepositByNode RPC method
func (*QueryDepositByNodeRequest) Descriptor ¶ added in v0.10.0
func (*QueryDepositByNodeRequest) Descriptor() ([]byte, []int)
func (*QueryDepositByNodeRequest) GetNetworkAddr ¶ added in v0.10.0
func (m *QueryDepositByNodeRequest) GetNetworkAddr() string
func (*QueryDepositByNodeRequest) GetQueryType ¶ added in v0.10.0
func (m *QueryDepositByNodeRequest) GetQueryType() uint32
func (*QueryDepositByNodeRequest) Marshal ¶ added in v0.10.0
func (m *QueryDepositByNodeRequest) Marshal() (dAtA []byte, err error)
func (*QueryDepositByNodeRequest) MarshalTo ¶ added in v0.10.0
func (m *QueryDepositByNodeRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryDepositByNodeRequest) MarshalToSizedBuffer ¶ added in v0.10.0
func (m *QueryDepositByNodeRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryDepositByNodeRequest) ProtoMessage ¶ added in v0.10.0
func (*QueryDepositByNodeRequest) ProtoMessage()
func (*QueryDepositByNodeRequest) Reset ¶ added in v0.10.0
func (m *QueryDepositByNodeRequest) Reset()
func (*QueryDepositByNodeRequest) Size ¶ added in v0.10.0
func (m *QueryDepositByNodeRequest) Size() (n int)
func (*QueryDepositByNodeRequest) String ¶ added in v0.10.0
func (m *QueryDepositByNodeRequest) String() string
func (*QueryDepositByNodeRequest) Unmarshal ¶ added in v0.10.0
func (m *QueryDepositByNodeRequest) Unmarshal(dAtA []byte) error
func (*QueryDepositByNodeRequest) XXX_DiscardUnknown ¶ added in v0.10.0
func (m *QueryDepositByNodeRequest) XXX_DiscardUnknown()
func (*QueryDepositByNodeRequest) XXX_Marshal ¶ added in v0.10.0
func (m *QueryDepositByNodeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryDepositByNodeRequest) XXX_Merge ¶ added in v0.10.0
func (m *QueryDepositByNodeRequest) XXX_Merge(src proto.Message)
func (*QueryDepositByNodeRequest) XXX_Size ¶ added in v0.10.0
func (m *QueryDepositByNodeRequest) XXX_Size() int
func (*QueryDepositByNodeRequest) XXX_Unmarshal ¶ added in v0.10.0
func (m *QueryDepositByNodeRequest) XXX_Unmarshal(b []byte) error
type QueryDepositByNodeResponse ¶ added in v0.10.0
type QueryDepositByNodeResponse struct { // deposit_info defines the the deposit info of the node. DepositInfo *DepositInfo `protobuf:"bytes,1,opt,name=deposit_info,json=depositInfo,proto3" json:"deposit_info,omitempty"` }
QueryDepositByNodeResponse is response type for the Query/DepositByNode RPC method
func (*QueryDepositByNodeResponse) Descriptor ¶ added in v0.10.0
func (*QueryDepositByNodeResponse) Descriptor() ([]byte, []int)
func (*QueryDepositByNodeResponse) GetDepositInfo ¶ added in v0.10.0
func (m *QueryDepositByNodeResponse) GetDepositInfo() *DepositInfo
func (*QueryDepositByNodeResponse) Marshal ¶ added in v0.10.0
func (m *QueryDepositByNodeResponse) Marshal() (dAtA []byte, err error)
func (*QueryDepositByNodeResponse) MarshalTo ¶ added in v0.10.0
func (m *QueryDepositByNodeResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryDepositByNodeResponse) MarshalToSizedBuffer ¶ added in v0.10.0
func (m *QueryDepositByNodeResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryDepositByNodeResponse) ProtoMessage ¶ added in v0.10.0
func (*QueryDepositByNodeResponse) ProtoMessage()
func (*QueryDepositByNodeResponse) Reset ¶ added in v0.10.0
func (m *QueryDepositByNodeResponse) Reset()
func (*QueryDepositByNodeResponse) Size ¶ added in v0.10.0
func (m *QueryDepositByNodeResponse) Size() (n int)
func (*QueryDepositByNodeResponse) String ¶ added in v0.10.0
func (m *QueryDepositByNodeResponse) String() string
func (*QueryDepositByNodeResponse) Unmarshal ¶ added in v0.10.0
func (m *QueryDepositByNodeResponse) Unmarshal(dAtA []byte) error
func (*QueryDepositByNodeResponse) XXX_DiscardUnknown ¶ added in v0.10.0
func (m *QueryDepositByNodeResponse) XXX_DiscardUnknown()
func (*QueryDepositByNodeResponse) XXX_Marshal ¶ added in v0.10.0
func (m *QueryDepositByNodeResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryDepositByNodeResponse) XXX_Merge ¶ added in v0.10.0
func (m *QueryDepositByNodeResponse) XXX_Merge(src proto.Message)
func (*QueryDepositByNodeResponse) XXX_Size ¶ added in v0.10.0
func (m *QueryDepositByNodeResponse) XXX_Size() int
func (*QueryDepositByNodeResponse) XXX_Unmarshal ¶ added in v0.10.0
func (m *QueryDepositByNodeResponse) XXX_Unmarshal(b []byte) error
type QueryDepositByOwnerRequest ¶ added in v0.10.0
type QueryDepositByOwnerRequest struct { // owner_addr defines the owner address to query for. OwnerAddr string `protobuf:"bytes,1,opt,name=owner_addr,json=ownerAddr,proto3" json:"owner_addr,omitempty"` // pagination defines an optional pagination for the request. Pagination *query.PageRequest `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"` }
QueryDepositByOwnerRequest is request type for the Query/DepositByOwner RPC method
func (*QueryDepositByOwnerRequest) Descriptor ¶ added in v0.10.0
func (*QueryDepositByOwnerRequest) Descriptor() ([]byte, []int)
func (*QueryDepositByOwnerRequest) GetOwnerAddr ¶ added in v0.10.0
func (m *QueryDepositByOwnerRequest) GetOwnerAddr() string
func (*QueryDepositByOwnerRequest) GetPagination ¶ added in v0.10.0
func (m *QueryDepositByOwnerRequest) GetPagination() *query.PageRequest
func (*QueryDepositByOwnerRequest) Marshal ¶ added in v0.10.0
func (m *QueryDepositByOwnerRequest) Marshal() (dAtA []byte, err error)
func (*QueryDepositByOwnerRequest) MarshalTo ¶ added in v0.10.0
func (m *QueryDepositByOwnerRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryDepositByOwnerRequest) MarshalToSizedBuffer ¶ added in v0.10.0
func (m *QueryDepositByOwnerRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryDepositByOwnerRequest) ProtoMessage ¶ added in v0.10.0
func (*QueryDepositByOwnerRequest) ProtoMessage()
func (*QueryDepositByOwnerRequest) Reset ¶ added in v0.10.0
func (m *QueryDepositByOwnerRequest) Reset()
func (*QueryDepositByOwnerRequest) Size ¶ added in v0.10.0
func (m *QueryDepositByOwnerRequest) Size() (n int)
func (*QueryDepositByOwnerRequest) String ¶ added in v0.10.0
func (m *QueryDepositByOwnerRequest) String() string
func (*QueryDepositByOwnerRequest) Unmarshal ¶ added in v0.10.0
func (m *QueryDepositByOwnerRequest) Unmarshal(dAtA []byte) error
func (*QueryDepositByOwnerRequest) XXX_DiscardUnknown ¶ added in v0.10.0
func (m *QueryDepositByOwnerRequest) XXX_DiscardUnknown()
func (*QueryDepositByOwnerRequest) XXX_Marshal ¶ added in v0.10.0
func (m *QueryDepositByOwnerRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryDepositByOwnerRequest) XXX_Merge ¶ added in v0.10.0
func (m *QueryDepositByOwnerRequest) XXX_Merge(src proto.Message)
func (*QueryDepositByOwnerRequest) XXX_Size ¶ added in v0.10.0
func (m *QueryDepositByOwnerRequest) XXX_Size() int
func (*QueryDepositByOwnerRequest) XXX_Unmarshal ¶ added in v0.10.0
func (m *QueryDepositByOwnerRequest) XXX_Unmarshal(b []byte) error
type QueryDepositByOwnerResponse ¶ added in v0.10.0
type QueryDepositByOwnerResponse struct { // deposit_infos defines the the node deposit info of this owner. DepositInfos []*DepositInfo `protobuf:"bytes,1,rep,name=deposit_infos,json=depositInfos,proto3" json:"deposit_infos,omitempty"` // pagination defines an optional pagination for the request. Pagination *query.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"` }
QueryDepositByOwnerResponse is response type for the Query/DepositByOwner RPC method
func (*QueryDepositByOwnerResponse) Descriptor ¶ added in v0.10.0
func (*QueryDepositByOwnerResponse) Descriptor() ([]byte, []int)
func (*QueryDepositByOwnerResponse) GetDepositInfos ¶ added in v0.10.0
func (m *QueryDepositByOwnerResponse) GetDepositInfos() []*DepositInfo
func (*QueryDepositByOwnerResponse) GetPagination ¶ added in v0.10.0
func (m *QueryDepositByOwnerResponse) GetPagination() *query.PageResponse
func (*QueryDepositByOwnerResponse) Marshal ¶ added in v0.10.0
func (m *QueryDepositByOwnerResponse) Marshal() (dAtA []byte, err error)
func (*QueryDepositByOwnerResponse) MarshalTo ¶ added in v0.10.0
func (m *QueryDepositByOwnerResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryDepositByOwnerResponse) MarshalToSizedBuffer ¶ added in v0.10.0
func (m *QueryDepositByOwnerResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryDepositByOwnerResponse) ProtoMessage ¶ added in v0.10.0
func (*QueryDepositByOwnerResponse) ProtoMessage()
func (*QueryDepositByOwnerResponse) Reset ¶ added in v0.10.0
func (m *QueryDepositByOwnerResponse) Reset()
func (*QueryDepositByOwnerResponse) Size ¶ added in v0.10.0
func (m *QueryDepositByOwnerResponse) Size() (n int)
func (*QueryDepositByOwnerResponse) String ¶ added in v0.10.0
func (m *QueryDepositByOwnerResponse) String() string
func (*QueryDepositByOwnerResponse) Unmarshal ¶ added in v0.10.0
func (m *QueryDepositByOwnerResponse) Unmarshal(dAtA []byte) error
func (*QueryDepositByOwnerResponse) XXX_DiscardUnknown ¶ added in v0.10.0
func (m *QueryDepositByOwnerResponse) XXX_DiscardUnknown()
func (*QueryDepositByOwnerResponse) XXX_Marshal ¶ added in v0.10.0
func (m *QueryDepositByOwnerResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryDepositByOwnerResponse) XXX_Merge ¶ added in v0.10.0
func (m *QueryDepositByOwnerResponse) XXX_Merge(src proto.Message)
func (*QueryDepositByOwnerResponse) XXX_Size ¶ added in v0.10.0
func (m *QueryDepositByOwnerResponse) XXX_Size() int
func (*QueryDepositByOwnerResponse) XXX_Unmarshal ¶ added in v0.10.0
func (m *QueryDepositByOwnerResponse) XXX_Unmarshal(b []byte) error
type QueryDepositTotalRequest ¶ added in v0.10.0
type QueryDepositTotalRequest struct { }
QueryDepositTotalRequest is request type for the Query/DepositTotal RPC method
func (*QueryDepositTotalRequest) Descriptor ¶ added in v0.10.0
func (*QueryDepositTotalRequest) Descriptor() ([]byte, []int)
func (*QueryDepositTotalRequest) Marshal ¶ added in v0.10.0
func (m *QueryDepositTotalRequest) Marshal() (dAtA []byte, err error)
func (*QueryDepositTotalRequest) MarshalTo ¶ added in v0.10.0
func (m *QueryDepositTotalRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryDepositTotalRequest) MarshalToSizedBuffer ¶ added in v0.10.0
func (m *QueryDepositTotalRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryDepositTotalRequest) ProtoMessage ¶ added in v0.10.0
func (*QueryDepositTotalRequest) ProtoMessage()
func (*QueryDepositTotalRequest) Reset ¶ added in v0.10.0
func (m *QueryDepositTotalRequest) Reset()
func (*QueryDepositTotalRequest) Size ¶ added in v0.10.0
func (m *QueryDepositTotalRequest) Size() (n int)
func (*QueryDepositTotalRequest) String ¶ added in v0.10.0
func (m *QueryDepositTotalRequest) String() string
func (*QueryDepositTotalRequest) Unmarshal ¶ added in v0.10.0
func (m *QueryDepositTotalRequest) Unmarshal(dAtA []byte) error
func (*QueryDepositTotalRequest) XXX_DiscardUnknown ¶ added in v0.10.0
func (m *QueryDepositTotalRequest) XXX_DiscardUnknown()
func (*QueryDepositTotalRequest) XXX_Marshal ¶ added in v0.10.0
func (m *QueryDepositTotalRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryDepositTotalRequest) XXX_Merge ¶ added in v0.10.0
func (m *QueryDepositTotalRequest) XXX_Merge(src proto.Message)
func (*QueryDepositTotalRequest) XXX_Size ¶ added in v0.10.0
func (m *QueryDepositTotalRequest) XXX_Size() int
func (*QueryDepositTotalRequest) XXX_Unmarshal ¶ added in v0.10.0
func (m *QueryDepositTotalRequest) XXX_Unmarshal(b []byte) error
type QueryDepositTotalResponse ¶ added in v0.10.0
type QueryDepositTotalResponse struct { ResourceNodesTotalDeposit *types.Coin `` /* 140-byte string literal not displayed */ MetaNodesTotalDeposit *types.Coin `` /* 128-byte string literal not displayed */ TotalBondedDeposit *types.Coin `protobuf:"bytes,3,opt,name=total_bonded_deposit,json=totalBondedDeposit,proto3" json:"total_bonded_deposit,omitempty"` TotalUnbondedDeposit *types.Coin `protobuf:"bytes,4,opt,name=total_unbonded_deposit,json=totalUnbondedDeposit,proto3" json:"total_unbonded_deposit,omitempty"` TotalUnbondingDeposit *types.Coin `` /* 126-byte string literal not displayed */ }
QueryDepositTotalResponse is response type for the Query/DepositTotal RPC method
func NewQueryDepositTotalInfo ¶ added in v0.10.0
func NewQueryDepositTotalInfo(bondDenom string, ResourceNodeTotalDeposit, MetaNodeTotalDeposit, totalBondedDeposit, totalUnbondedDeposit, totalUnbondingDeposit sdkmath.Int) *QueryDepositTotalResponse
NewQueryDepositTotalInfo creates a new instance of QueryDepositTotalResponse
func (*QueryDepositTotalResponse) Descriptor ¶ added in v0.10.0
func (*QueryDepositTotalResponse) Descriptor() ([]byte, []int)
func (*QueryDepositTotalResponse) GetMetaNodesTotalDeposit ¶ added in v0.10.0
func (m *QueryDepositTotalResponse) GetMetaNodesTotalDeposit() *types.Coin
func (*QueryDepositTotalResponse) GetResourceNodesTotalDeposit ¶ added in v0.10.0
func (m *QueryDepositTotalResponse) GetResourceNodesTotalDeposit() *types.Coin
func (*QueryDepositTotalResponse) GetTotalBondedDeposit ¶ added in v0.10.0
func (m *QueryDepositTotalResponse) GetTotalBondedDeposit() *types.Coin
func (*QueryDepositTotalResponse) GetTotalUnbondedDeposit ¶ added in v0.10.0
func (m *QueryDepositTotalResponse) GetTotalUnbondedDeposit() *types.Coin
func (*QueryDepositTotalResponse) GetTotalUnbondingDeposit ¶ added in v0.10.0
func (m *QueryDepositTotalResponse) GetTotalUnbondingDeposit() *types.Coin
func (*QueryDepositTotalResponse) Marshal ¶ added in v0.10.0
func (m *QueryDepositTotalResponse) Marshal() (dAtA []byte, err error)
func (*QueryDepositTotalResponse) MarshalTo ¶ added in v0.10.0
func (m *QueryDepositTotalResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryDepositTotalResponse) MarshalToSizedBuffer ¶ added in v0.10.0
func (m *QueryDepositTotalResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryDepositTotalResponse) ProtoMessage ¶ added in v0.10.0
func (*QueryDepositTotalResponse) ProtoMessage()
func (*QueryDepositTotalResponse) Reset ¶ added in v0.10.0
func (m *QueryDepositTotalResponse) Reset()
func (*QueryDepositTotalResponse) Size ¶ added in v0.10.0
func (m *QueryDepositTotalResponse) Size() (n int)
func (*QueryDepositTotalResponse) String ¶ added in v0.10.0
func (m *QueryDepositTotalResponse) String() string
func (*QueryDepositTotalResponse) Unmarshal ¶ added in v0.10.0
func (m *QueryDepositTotalResponse) Unmarshal(dAtA []byte) error
func (*QueryDepositTotalResponse) XXX_DiscardUnknown ¶ added in v0.10.0
func (m *QueryDepositTotalResponse) XXX_DiscardUnknown()
func (*QueryDepositTotalResponse) XXX_Marshal ¶ added in v0.10.0
func (m *QueryDepositTotalResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryDepositTotalResponse) XXX_Merge ¶ added in v0.10.0
func (m *QueryDepositTotalResponse) XXX_Merge(src proto.Message)
func (*QueryDepositTotalResponse) XXX_Size ¶ added in v0.10.0
func (m *QueryDepositTotalResponse) XXX_Size() int
func (*QueryDepositTotalResponse) XXX_Unmarshal ¶ added in v0.10.0
func (m *QueryDepositTotalResponse) XXX_Unmarshal(b []byte) error
type QueryMetaNodeRequest ¶ added in v0.8.0
type QueryMetaNodeRequest struct { // network_addr defines the node network address to query for. NetworkAddr string `protobuf:"bytes,1,opt,name=network_addr,json=networkAddr,proto3" json:"network_addr,omitempty"` }
QueryMetaNodeRequest is request type for the Query/MetaNode RPC method
func (*QueryMetaNodeRequest) Descriptor ¶ added in v0.8.0
func (*QueryMetaNodeRequest) Descriptor() ([]byte, []int)
func (*QueryMetaNodeRequest) GetNetworkAddr ¶ added in v0.8.0
func (m *QueryMetaNodeRequest) GetNetworkAddr() string
func (*QueryMetaNodeRequest) Marshal ¶ added in v0.8.0
func (m *QueryMetaNodeRequest) Marshal() (dAtA []byte, err error)
func (*QueryMetaNodeRequest) MarshalTo ¶ added in v0.8.0
func (m *QueryMetaNodeRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryMetaNodeRequest) MarshalToSizedBuffer ¶ added in v0.8.0
func (m *QueryMetaNodeRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryMetaNodeRequest) ProtoMessage ¶ added in v0.8.0
func (*QueryMetaNodeRequest) ProtoMessage()
func (*QueryMetaNodeRequest) Reset ¶ added in v0.8.0
func (m *QueryMetaNodeRequest) Reset()
func (*QueryMetaNodeRequest) Size ¶ added in v0.8.0
func (m *QueryMetaNodeRequest) Size() (n int)
func (*QueryMetaNodeRequest) String ¶ added in v0.8.0
func (m *QueryMetaNodeRequest) String() string
func (*QueryMetaNodeRequest) Unmarshal ¶ added in v0.8.0
func (m *QueryMetaNodeRequest) Unmarshal(dAtA []byte) error
func (*QueryMetaNodeRequest) XXX_DiscardUnknown ¶ added in v0.8.0
func (m *QueryMetaNodeRequest) XXX_DiscardUnknown()
func (*QueryMetaNodeRequest) XXX_Marshal ¶ added in v0.8.0
func (m *QueryMetaNodeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryMetaNodeRequest) XXX_Merge ¶ added in v0.8.0
func (m *QueryMetaNodeRequest) XXX_Merge(src proto.Message)
func (*QueryMetaNodeRequest) XXX_Size ¶ added in v0.8.0
func (m *QueryMetaNodeRequest) XXX_Size() int
func (*QueryMetaNodeRequest) XXX_Unmarshal ¶ added in v0.8.0
func (m *QueryMetaNodeRequest) XXX_Unmarshal(b []byte) error
type QueryMetaNodeResponse ¶ added in v0.8.0
type QueryMetaNodeResponse struct { // node defines the the meta info. Node *MetaNode `protobuf:"bytes,1,opt,name=node,proto3" json:"node,omitempty"` }
QueryMetaNodeResponse is response type for the Query/MetaNode RPC method
func (*QueryMetaNodeResponse) Descriptor ¶ added in v0.8.0
func (*QueryMetaNodeResponse) Descriptor() ([]byte, []int)
func (*QueryMetaNodeResponse) GetNode ¶ added in v0.8.0
func (m *QueryMetaNodeResponse) GetNode() *MetaNode
func (*QueryMetaNodeResponse) Marshal ¶ added in v0.8.0
func (m *QueryMetaNodeResponse) Marshal() (dAtA []byte, err error)
func (*QueryMetaNodeResponse) MarshalTo ¶ added in v0.8.0
func (m *QueryMetaNodeResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryMetaNodeResponse) MarshalToSizedBuffer ¶ added in v0.8.0
func (m *QueryMetaNodeResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryMetaNodeResponse) ProtoMessage ¶ added in v0.8.0
func (*QueryMetaNodeResponse) ProtoMessage()
func (*QueryMetaNodeResponse) Reset ¶ added in v0.8.0
func (m *QueryMetaNodeResponse) Reset()
func (*QueryMetaNodeResponse) Size ¶ added in v0.8.0
func (m *QueryMetaNodeResponse) Size() (n int)
func (*QueryMetaNodeResponse) String ¶ added in v0.8.0
func (m *QueryMetaNodeResponse) String() string
func (*QueryMetaNodeResponse) Unmarshal ¶ added in v0.8.0
func (m *QueryMetaNodeResponse) Unmarshal(dAtA []byte) error
func (*QueryMetaNodeResponse) XXX_DiscardUnknown ¶ added in v0.8.0
func (m *QueryMetaNodeResponse) XXX_DiscardUnknown()
func (*QueryMetaNodeResponse) XXX_Marshal ¶ added in v0.8.0
func (m *QueryMetaNodeResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryMetaNodeResponse) XXX_Merge ¶ added in v0.8.0
func (m *QueryMetaNodeResponse) XXX_Merge(src proto.Message)
func (*QueryMetaNodeResponse) XXX_Size ¶ added in v0.8.0
func (m *QueryMetaNodeResponse) XXX_Size() int
func (*QueryMetaNodeResponse) XXX_Unmarshal ¶ added in v0.8.0
func (m *QueryMetaNodeResponse) XXX_Unmarshal(b []byte) error
type QueryParamsRequest ¶ added in v0.8.0
type QueryParamsRequest struct { }
QueryParamsRequest is request type for the Query/Params RPC method.
func (*QueryParamsRequest) Descriptor ¶ added in v0.8.0
func (*QueryParamsRequest) Descriptor() ([]byte, []int)
func (*QueryParamsRequest) Marshal ¶ added in v0.8.0
func (m *QueryParamsRequest) Marshal() (dAtA []byte, err error)
func (*QueryParamsRequest) MarshalTo ¶ added in v0.8.0
func (m *QueryParamsRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryParamsRequest) MarshalToSizedBuffer ¶ added in v0.8.0
func (m *QueryParamsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryParamsRequest) ProtoMessage ¶ added in v0.8.0
func (*QueryParamsRequest) ProtoMessage()
func (*QueryParamsRequest) Reset ¶ added in v0.8.0
func (m *QueryParamsRequest) Reset()
func (*QueryParamsRequest) Size ¶ added in v0.8.0
func (m *QueryParamsRequest) Size() (n int)
func (*QueryParamsRequest) String ¶ added in v0.8.0
func (m *QueryParamsRequest) String() string
func (*QueryParamsRequest) Unmarshal ¶ added in v0.8.0
func (m *QueryParamsRequest) Unmarshal(dAtA []byte) error
func (*QueryParamsRequest) XXX_DiscardUnknown ¶ added in v0.8.0
func (m *QueryParamsRequest) XXX_DiscardUnknown()
func (*QueryParamsRequest) XXX_Marshal ¶ added in v0.8.0
func (m *QueryParamsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryParamsRequest) XXX_Merge ¶ added in v0.8.0
func (m *QueryParamsRequest) XXX_Merge(src proto.Message)
func (*QueryParamsRequest) XXX_Size ¶ added in v0.8.0
func (m *QueryParamsRequest) XXX_Size() int
func (*QueryParamsRequest) XXX_Unmarshal ¶ added in v0.8.0
func (m *QueryParamsRequest) XXX_Unmarshal(b []byte) error
type QueryParamsResponse ¶ added in v0.8.0
type QueryParamsResponse struct { // params holds all the parameters of this module. Params *Params `protobuf:"bytes,1,opt,name=params,proto3" json:"params,omitempty"` }
QueryParamsResponse is response type for the Query/Params RPC method.
func (*QueryParamsResponse) Descriptor ¶ added in v0.8.0
func (*QueryParamsResponse) Descriptor() ([]byte, []int)
func (*QueryParamsResponse) GetParams ¶ added in v0.8.0
func (m *QueryParamsResponse) GetParams() *Params
func (*QueryParamsResponse) Marshal ¶ added in v0.8.0
func (m *QueryParamsResponse) Marshal() (dAtA []byte, err error)
func (*QueryParamsResponse) MarshalTo ¶ added in v0.8.0
func (m *QueryParamsResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryParamsResponse) MarshalToSizedBuffer ¶ added in v0.8.0
func (m *QueryParamsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryParamsResponse) ProtoMessage ¶ added in v0.8.0
func (*QueryParamsResponse) ProtoMessage()
func (*QueryParamsResponse) Reset ¶ added in v0.8.0
func (m *QueryParamsResponse) Reset()
func (*QueryParamsResponse) Size ¶ added in v0.8.0
func (m *QueryParamsResponse) Size() (n int)
func (*QueryParamsResponse) String ¶ added in v0.8.0
func (m *QueryParamsResponse) String() string
func (*QueryParamsResponse) Unmarshal ¶ added in v0.8.0
func (m *QueryParamsResponse) Unmarshal(dAtA []byte) error
func (*QueryParamsResponse) XXX_DiscardUnknown ¶ added in v0.8.0
func (m *QueryParamsResponse) XXX_DiscardUnknown()
func (*QueryParamsResponse) XXX_Marshal ¶ added in v0.8.0
func (m *QueryParamsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryParamsResponse) XXX_Merge ¶ added in v0.8.0
func (m *QueryParamsResponse) XXX_Merge(src proto.Message)
func (*QueryParamsResponse) XXX_Size ¶ added in v0.8.0
func (m *QueryParamsResponse) XXX_Size() int
func (*QueryParamsResponse) XXX_Unmarshal ¶ added in v0.8.0
func (m *QueryParamsResponse) XXX_Unmarshal(b []byte) error
type QueryRemainingOzoneLimitRequest ¶ added in v0.12.0
type QueryRemainingOzoneLimitRequest struct { }
QueryRemainingOzoneLimitRequest is request type for the Query/RemainingOzoneLimit RPC method.
func (*QueryRemainingOzoneLimitRequest) Descriptor ¶ added in v0.12.0
func (*QueryRemainingOzoneLimitRequest) Descriptor() ([]byte, []int)
func (*QueryRemainingOzoneLimitRequest) Marshal ¶ added in v0.12.0
func (m *QueryRemainingOzoneLimitRequest) Marshal() (dAtA []byte, err error)
func (*QueryRemainingOzoneLimitRequest) MarshalTo ¶ added in v0.12.0
func (m *QueryRemainingOzoneLimitRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryRemainingOzoneLimitRequest) MarshalToSizedBuffer ¶ added in v0.12.0
func (m *QueryRemainingOzoneLimitRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryRemainingOzoneLimitRequest) ProtoMessage ¶ added in v0.12.0
func (*QueryRemainingOzoneLimitRequest) ProtoMessage()
func (*QueryRemainingOzoneLimitRequest) Reset ¶ added in v0.12.0
func (m *QueryRemainingOzoneLimitRequest) Reset()
func (*QueryRemainingOzoneLimitRequest) Size ¶ added in v0.12.0
func (m *QueryRemainingOzoneLimitRequest) Size() (n int)
func (*QueryRemainingOzoneLimitRequest) String ¶ added in v0.12.0
func (m *QueryRemainingOzoneLimitRequest) String() string
func (*QueryRemainingOzoneLimitRequest) Unmarshal ¶ added in v0.12.0
func (m *QueryRemainingOzoneLimitRequest) Unmarshal(dAtA []byte) error
func (*QueryRemainingOzoneLimitRequest) XXX_DiscardUnknown ¶ added in v0.12.0
func (m *QueryRemainingOzoneLimitRequest) XXX_DiscardUnknown()
func (*QueryRemainingOzoneLimitRequest) XXX_Marshal ¶ added in v0.12.0
func (m *QueryRemainingOzoneLimitRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryRemainingOzoneLimitRequest) XXX_Merge ¶ added in v0.12.0
func (m *QueryRemainingOzoneLimitRequest) XXX_Merge(src proto.Message)
func (*QueryRemainingOzoneLimitRequest) XXX_Size ¶ added in v0.12.0
func (m *QueryRemainingOzoneLimitRequest) XXX_Size() int
func (*QueryRemainingOzoneLimitRequest) XXX_Unmarshal ¶ added in v0.12.0
func (m *QueryRemainingOzoneLimitRequest) XXX_Unmarshal(b []byte) error
type QueryRemainingOzoneLimitResponse ¶ added in v0.12.0
type QueryRemainingOzoneLimitResponse struct {
OzoneLimit github_com_cosmos_cosmos_sdk_types.Int `` /* 150-byte string literal not displayed */
}
QueryRemainingOzoneLimitResponse is response type for the Query/RemainingOzoneLimit RPC method.
func (*QueryRemainingOzoneLimitResponse) Descriptor ¶ added in v0.12.0
func (*QueryRemainingOzoneLimitResponse) Descriptor() ([]byte, []int)
func (*QueryRemainingOzoneLimitResponse) Marshal ¶ added in v0.12.0
func (m *QueryRemainingOzoneLimitResponse) Marshal() (dAtA []byte, err error)
func (*QueryRemainingOzoneLimitResponse) MarshalTo ¶ added in v0.12.0
func (m *QueryRemainingOzoneLimitResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryRemainingOzoneLimitResponse) MarshalToSizedBuffer ¶ added in v0.12.0
func (m *QueryRemainingOzoneLimitResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryRemainingOzoneLimitResponse) ProtoMessage ¶ added in v0.12.0
func (*QueryRemainingOzoneLimitResponse) ProtoMessage()
func (*QueryRemainingOzoneLimitResponse) Reset ¶ added in v0.12.0
func (m *QueryRemainingOzoneLimitResponse) Reset()
func (*QueryRemainingOzoneLimitResponse) Size ¶ added in v0.12.0
func (m *QueryRemainingOzoneLimitResponse) Size() (n int)
func (*QueryRemainingOzoneLimitResponse) String ¶ added in v0.12.0
func (m *QueryRemainingOzoneLimitResponse) String() string
func (*QueryRemainingOzoneLimitResponse) Unmarshal ¶ added in v0.12.0
func (m *QueryRemainingOzoneLimitResponse) Unmarshal(dAtA []byte) error
func (*QueryRemainingOzoneLimitResponse) XXX_DiscardUnknown ¶ added in v0.12.0
func (m *QueryRemainingOzoneLimitResponse) XXX_DiscardUnknown()
func (*QueryRemainingOzoneLimitResponse) XXX_Marshal ¶ added in v0.12.0
func (m *QueryRemainingOzoneLimitResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryRemainingOzoneLimitResponse) XXX_Merge ¶ added in v0.12.0
func (m *QueryRemainingOzoneLimitResponse) XXX_Merge(src proto.Message)
func (*QueryRemainingOzoneLimitResponse) XXX_Size ¶ added in v0.12.0
func (m *QueryRemainingOzoneLimitResponse) XXX_Size() int
func (*QueryRemainingOzoneLimitResponse) XXX_Unmarshal ¶ added in v0.12.0
func (m *QueryRemainingOzoneLimitResponse) XXX_Unmarshal(b []byte) error
type QueryResourceNodeRequest ¶ added in v0.8.0
type QueryResourceNodeRequest struct { // network_addr defines the node network address to query for. NetworkAddr string `protobuf:"bytes,1,opt,name=network_addr,json=networkAddr,proto3" json:"network_addr,omitempty"` }
QueryResourceNodeRequest is request type for the Query/ResourceNode RPC method
func (*QueryResourceNodeRequest) Descriptor ¶ added in v0.8.0
func (*QueryResourceNodeRequest) Descriptor() ([]byte, []int)
func (*QueryResourceNodeRequest) GetNetworkAddr ¶ added in v0.8.0
func (m *QueryResourceNodeRequest) GetNetworkAddr() string
func (*QueryResourceNodeRequest) Marshal ¶ added in v0.8.0
func (m *QueryResourceNodeRequest) Marshal() (dAtA []byte, err error)
func (*QueryResourceNodeRequest) MarshalTo ¶ added in v0.8.0
func (m *QueryResourceNodeRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryResourceNodeRequest) MarshalToSizedBuffer ¶ added in v0.8.0
func (m *QueryResourceNodeRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryResourceNodeRequest) ProtoMessage ¶ added in v0.8.0
func (*QueryResourceNodeRequest) ProtoMessage()
func (*QueryResourceNodeRequest) Reset ¶ added in v0.8.0
func (m *QueryResourceNodeRequest) Reset()
func (*QueryResourceNodeRequest) Size ¶ added in v0.8.0
func (m *QueryResourceNodeRequest) Size() (n int)
func (*QueryResourceNodeRequest) String ¶ added in v0.8.0
func (m *QueryResourceNodeRequest) String() string
func (*QueryResourceNodeRequest) Unmarshal ¶ added in v0.8.0
func (m *QueryResourceNodeRequest) Unmarshal(dAtA []byte) error
func (*QueryResourceNodeRequest) XXX_DiscardUnknown ¶ added in v0.8.0
func (m *QueryResourceNodeRequest) XXX_DiscardUnknown()
func (*QueryResourceNodeRequest) XXX_Marshal ¶ added in v0.8.0
func (m *QueryResourceNodeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryResourceNodeRequest) XXX_Merge ¶ added in v0.8.0
func (m *QueryResourceNodeRequest) XXX_Merge(src proto.Message)
func (*QueryResourceNodeRequest) XXX_Size ¶ added in v0.8.0
func (m *QueryResourceNodeRequest) XXX_Size() int
func (*QueryResourceNodeRequest) XXX_Unmarshal ¶ added in v0.8.0
func (m *QueryResourceNodeRequest) XXX_Unmarshal(b []byte) error
type QueryResourceNodeResponse ¶ added in v0.8.0
type QueryResourceNodeResponse struct { // node defines the the resourceNode info. Node *ResourceNode `protobuf:"bytes,1,opt,name=node,proto3" json:"node,omitempty"` }
QueryResourceNodeResponse is response type for the Query/ResourceNode RPC method
func (*QueryResourceNodeResponse) Descriptor ¶ added in v0.8.0
func (*QueryResourceNodeResponse) Descriptor() ([]byte, []int)
func (*QueryResourceNodeResponse) GetNode ¶ added in v0.8.0
func (m *QueryResourceNodeResponse) GetNode() *ResourceNode
func (*QueryResourceNodeResponse) Marshal ¶ added in v0.8.0
func (m *QueryResourceNodeResponse) Marshal() (dAtA []byte, err error)
func (*QueryResourceNodeResponse) MarshalTo ¶ added in v0.8.0
func (m *QueryResourceNodeResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryResourceNodeResponse) MarshalToSizedBuffer ¶ added in v0.8.0
func (m *QueryResourceNodeResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryResourceNodeResponse) ProtoMessage ¶ added in v0.8.0
func (*QueryResourceNodeResponse) ProtoMessage()
func (*QueryResourceNodeResponse) Reset ¶ added in v0.8.0
func (m *QueryResourceNodeResponse) Reset()
func (*QueryResourceNodeResponse) Size ¶ added in v0.8.0
func (m *QueryResourceNodeResponse) Size() (n int)
func (*QueryResourceNodeResponse) String ¶ added in v0.8.0
func (m *QueryResourceNodeResponse) String() string
func (*QueryResourceNodeResponse) Unmarshal ¶ added in v0.8.0
func (m *QueryResourceNodeResponse) Unmarshal(dAtA []byte) error
func (*QueryResourceNodeResponse) XXX_DiscardUnknown ¶ added in v0.8.0
func (m *QueryResourceNodeResponse) XXX_DiscardUnknown()
func (*QueryResourceNodeResponse) XXX_Marshal ¶ added in v0.8.0
func (m *QueryResourceNodeResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryResourceNodeResponse) XXX_Merge ¶ added in v0.8.0
func (m *QueryResourceNodeResponse) XXX_Merge(src proto.Message)
func (*QueryResourceNodeResponse) XXX_Size ¶ added in v0.8.0
func (m *QueryResourceNodeResponse) XXX_Size() int
func (*QueryResourceNodeResponse) XXX_Unmarshal ¶ added in v0.8.0
func (m *QueryResourceNodeResponse) XXX_Unmarshal(b []byte) error
type QueryServer ¶ added in v0.8.0
type QueryServer interface { // ResourceNode queries ResourceNode info for given ResourceNode address. ResourceNode(context.Context, *QueryResourceNodeRequest) (*QueryResourceNodeResponse, error) // MetaNode queries MetaNode info for given MetaNode address. MetaNode(context.Context, *QueryMetaNodeRequest) (*QueryMetaNodeResponse, error) // Params queries Register module Params info. Params(context.Context, *QueryParamsRequest) (*QueryParamsResponse, error) // DepositByNode queries all deposit info for given node network address. DepositByNode(context.Context, *QueryDepositByNodeRequest) (*QueryDepositByNodeResponse, error) // DepositByOwner queries all deposit info for given owner address. DepositByOwner(context.Context, *QueryDepositByOwnerRequest) (*QueryDepositByOwnerResponse, error) // DepositTotal queries all deposit info. DepositTotal(context.Context, *QueryDepositTotalRequest) (*QueryDepositTotalResponse, error) // BondedResourceNodeCount queries total number of ResourceNodes. BondedResourceNodeCount(context.Context, *QueryBondedResourceNodeCountRequest) (*QueryBondedResourceNodeCountResponse, error) // BondedMetaNodeCount queries total number of MetaNodes. BondedMetaNodeCount(context.Context, *QueryBondedMetaNodeCountRequest) (*QueryBondedMetaNodeCountResponse, error) // RemainingOzoneLimit returns the current remaining ozone limit. RemainingOzoneLimit(context.Context, *QueryRemainingOzoneLimitRequest) (*QueryRemainingOzoneLimitResponse, error) }
QueryServer is the server API for Query service.
type RegisterHooks ¶ added in v0.4.0
type RegisterHooks interface { AfterNodeCreated(ctx sdk.Context, networkAddr stratos.SdsAddress, isMetaNode bool) // Must be called when a node is created BeforeNodeModified(ctx sdk.Context, networkAddr stratos.SdsAddress, isMetaNode bool) // Must be called when a node's state changes AfterNodeRemoved(ctx sdk.Context, networkAddr stratos.SdsAddress, isMetaNode bool) // Must be called when a node is deleted AfterNodeBonded(ctx sdk.Context, networkAddr stratos.SdsAddress, isMetaNode bool) // Must be called when a node is bonded AfterNodeBeginUnbonding(ctx sdk.Context, networkAddr stratos.SdsAddress, isMetaNode bool) // Must be called when a node begins unbonding }
RegisterHooks event hooks for registered node object (noalias)
type ResourceNode ¶
type ResourceNode struct { NetworkAddress string `protobuf:"bytes,1,opt,name=network_address,json=networkAddress,proto3" json:"network_address" yaml:"network_address"` Pubkey *types1.Any `protobuf:"bytes,2,opt,name=pubkey,proto3" json:"pubkey" yaml:"pubkey"` Suspend bool `protobuf:"varint,3,opt,name=suspend,proto3" json:"suspend" yaml:"suspend"` Status types2.BondStatus `protobuf:"varint,4,opt,name=status,proto3,enum=cosmos.staking.v1beta1.BondStatus" json:"status" yaml:"status"` Tokens github_com_cosmos_cosmos_sdk_types.Int `protobuf:"bytes,5,opt,name=tokens,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Int" json:"tokens" yaml:"tokens"` OwnerAddress string `protobuf:"bytes,6,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address" yaml:"owner_address"` Description Description `protobuf:"bytes,7,opt,name=description,proto3" json:"description" yaml:"description"` CreationTime time.Time `protobuf:"bytes,8,opt,name=creation_time,json=creationTime,proto3,stdtime" json:"creation_time" yaml:"creation_time"` NodeType uint32 `protobuf:"varint,9,opt,name=node_type,json=nodeType,proto3" json:"node_type" yaml:"node_type"` EffectiveTokens github_com_cosmos_cosmos_sdk_types.Int `` /* 171-byte string literal not displayed */ BeneficiaryAddress string `` /* 133-byte string literal not displayed */ }
func MustUnmarshalResourceNode ¶
func MustUnmarshalResourceNode(cdc codec.Codec, value []byte) ResourceNode
MustUnmarshalResourceNode unmarshal a resourceNode from a store value. Panics if fails
func NewResourceNode ¶
func NewResourceNode(networkAddr stratos.SdsAddress, pubKey cryptotypes.PubKey, ownerAddr sdk.AccAddress, beneficiaryAddress sdk.AccAddress, description Description, nodeType NodeType, creationTime time.Time) (ResourceNode, error)
NewResourceNode - initialize a new resource node
func UnmarshalResourceNode ¶
func UnmarshalResourceNode(cdc codec.Codec, value []byte) (v ResourceNode, err error)
UnmarshalResourceNode unmarshal a resourceNode from a store value
func (ResourceNode) AddToken ¶
func (v ResourceNode) AddToken(amount sdkmath.Int) ResourceNode
AddToken adds tokens to a resource node
func (ResourceNode) ConvertToString ¶ added in v0.8.0
func (v ResourceNode) ConvertToString() string
ConvertToString returns a human-readable string representation of a resource node.
func (*ResourceNode) Descriptor ¶ added in v0.8.0
func (*ResourceNode) Descriptor() ([]byte, []int)
func (*ResourceNode) Equal ¶ added in v0.4.0
func (this *ResourceNode) Equal(that interface{}) bool
func (*ResourceNode) GetBeneficiaryAddress ¶ added in v0.12.0
func (m *ResourceNode) GetBeneficiaryAddress() string
func (*ResourceNode) GetCreationTime ¶ added in v0.4.0
func (m *ResourceNode) GetCreationTime() time.Time
func (*ResourceNode) GetDescription ¶ added in v0.8.0
func (m *ResourceNode) GetDescription() Description
func (*ResourceNode) GetNetworkAddress ¶ added in v0.8.0
func (m *ResourceNode) GetNetworkAddress() string
func (*ResourceNode) GetNodeType ¶
func (m *ResourceNode) GetNodeType() uint32
func (*ResourceNode) GetOwnerAddress ¶ added in v0.8.0
func (m *ResourceNode) GetOwnerAddress() string
func (*ResourceNode) GetPubkey ¶ added in v0.8.0
func (m *ResourceNode) GetPubkey() *types1.Any
func (*ResourceNode) GetStatus ¶
func (m *ResourceNode) GetStatus() types2.BondStatus
func (*ResourceNode) GetSuspend ¶ added in v0.8.0
func (m *ResourceNode) GetSuspend() bool
func (ResourceNode) IsBonded ¶ added in v0.6.0
func (v ResourceNode) IsBonded() bool
IsBonded checks if the node status equals Bonded
func (ResourceNode) IsUnBonded ¶ added in v0.6.0
func (v ResourceNode) IsUnBonded() bool
IsUnBonded checks if the node status equals Unbonded
func (ResourceNode) IsUnBonding ¶ added in v0.6.0
func (v ResourceNode) IsUnBonding() bool
IsUnBonding checks if the node status equals Unbonding
func (*ResourceNode) Marshal ¶ added in v0.8.0
func (m *ResourceNode) Marshal() (dAtA []byte, err error)
func (*ResourceNode) MarshalTo ¶ added in v0.8.0
func (m *ResourceNode) MarshalTo(dAtA []byte) (int, error)
func (*ResourceNode) MarshalToSizedBuffer ¶ added in v0.8.0
func (m *ResourceNode) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ResourceNode) ProtoMessage ¶ added in v0.8.0
func (*ResourceNode) ProtoMessage()
func (*ResourceNode) Reset ¶ added in v0.8.0
func (m *ResourceNode) Reset()
func (*ResourceNode) Size ¶ added in v0.8.0
func (m *ResourceNode) Size() (n int)
func (*ResourceNode) String ¶
func (m *ResourceNode) String() string
func (ResourceNode) SubToken ¶ added in v0.4.0
func (v ResourceNode) SubToken(amount sdkmath.Int) ResourceNode
SubToken removes tokens from a resource node
func (*ResourceNode) Unmarshal ¶ added in v0.8.0
func (m *ResourceNode) Unmarshal(dAtA []byte) error
func (ResourceNode) UnpackInterfaces ¶ added in v0.8.0
func (v ResourceNode) UnpackInterfaces(unpacker codectypes.AnyUnpacker) error
UnpackInterfaces implements UnpackInterfacesMessage.UnpackInterfaces
func (ResourceNode) Validate ¶ added in v0.4.0
func (v ResourceNode) Validate() error
func (*ResourceNode) XXX_DiscardUnknown ¶ added in v0.8.0
func (m *ResourceNode) XXX_DiscardUnknown()
func (*ResourceNode) XXX_Marshal ¶ added in v0.8.0
func (m *ResourceNode) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ResourceNode) XXX_Merge ¶ added in v0.8.0
func (m *ResourceNode) XXX_Merge(src proto.Message)
func (*ResourceNode) XXX_Size ¶ added in v0.8.0
func (m *ResourceNode) XXX_Size() int
func (*ResourceNode) XXX_Unmarshal ¶ added in v0.8.0
func (m *ResourceNode) XXX_Unmarshal(b []byte) error
type ResourceNodes ¶
type ResourceNodes []ResourceNode
ResourceNodes is a collection of resource node
func NewResourceNodes ¶ added in v0.8.0
func NewResourceNodes(resourceNodes ...ResourceNode) ResourceNodes
func (ResourceNodes) String ¶
func (v ResourceNodes) String() (out string)
func (ResourceNodes) Validate ¶ added in v0.4.0
func (v ResourceNodes) Validate() error
type Slashing ¶ added in v0.7.0
type Slashing struct { WalletAddress string `protobuf:"bytes,1,opt,name=wallet_address,json=walletAddress,proto3" json:"wallet_address" yaml:"wallet_address"` Value int64 `protobuf:"varint,2,opt,name=value,proto3" json:"value" yaml:"value"` }
func NewSlashing ¶ added in v0.7.0
func NewSlashing(walletAddress sdk.AccAddress, value sdkmath.Int) Slashing
func (*Slashing) Descriptor ¶ added in v0.8.0
func (*Slashing) GetWalletAddress ¶ added in v0.8.0
func (*Slashing) MarshalToSizedBuffer ¶ added in v0.8.0
func (*Slashing) ProtoMessage ¶ added in v0.8.0
func (*Slashing) ProtoMessage()
func (*Slashing) XXX_DiscardUnknown ¶ added in v0.8.0
func (m *Slashing) XXX_DiscardUnknown()
func (*Slashing) XXX_Marshal ¶ added in v0.8.0
func (*Slashing) XXX_Unmarshal ¶ added in v0.8.0
type UnbondingNode ¶ added in v0.4.0
type UnbondingNode struct { NetworkAddr string `protobuf:"bytes,1,opt,name=network_addr,json=networkAddr,proto3" json:"network_addr" yaml:"network_addr"` IsMetaNode bool `protobuf:"varint,2,opt,name=is_meta_node,json=isMetaNode,proto3" json:"is_meta_node" yaml:"is_meta_node"` Entries []*UnbondingNodeEntry `protobuf:"bytes,3,rep,name=entries,proto3" json:"entries" yaml:"entries"` }
UnbondingNode stores all of a single delegator's unbonding bonds for a single unbonding node in a time-ordered list
func NewUnbondingNode ¶ added in v0.4.0
func NewUnbondingNode(networkAddr stratos.SdsAddress, isMetaNode bool, creationHeight int64, minTime time.Time, balance sdkmath.Int) UnbondingNode
NewUnbondingNode - create a new unbonding Node object
func (*UnbondingNode) Descriptor ¶ added in v0.8.0
func (*UnbondingNode) Descriptor() ([]byte, []int)
func (*UnbondingNode) Equal ¶ added in v0.4.0
func (this *UnbondingNode) Equal(that interface{}) bool
func (*UnbondingNode) GetEntries ¶ added in v0.8.0
func (m *UnbondingNode) GetEntries() []*UnbondingNodeEntry
func (*UnbondingNode) GetIsMetaNode ¶ added in v0.8.0
func (m *UnbondingNode) GetIsMetaNode() bool
func (*UnbondingNode) GetNetworkAddr ¶ added in v0.4.0
func (m *UnbondingNode) GetNetworkAddr() string
func (*UnbondingNode) Marshal ¶ added in v0.8.0
func (m *UnbondingNode) Marshal() (dAtA []byte, err error)
func (*UnbondingNode) MarshalTo ¶ added in v0.8.0
func (m *UnbondingNode) MarshalTo(dAtA []byte) (int, error)
func (*UnbondingNode) MarshalToSizedBuffer ¶ added in v0.8.0
func (m *UnbondingNode) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*UnbondingNode) ProtoMessage ¶ added in v0.8.0
func (*UnbondingNode) ProtoMessage()
func (*UnbondingNode) RemoveEntry ¶ added in v0.4.0
func (un *UnbondingNode) RemoveEntry(i int64)
RemoveEntry - remove entry at index i to the unbonding Node
func (*UnbondingNode) Reset ¶ added in v0.8.0
func (m *UnbondingNode) Reset()
func (*UnbondingNode) Size ¶ added in v0.8.0
func (m *UnbondingNode) Size() (n int)
func (*UnbondingNode) String ¶ added in v0.4.0
func (m *UnbondingNode) String() string
func (*UnbondingNode) Unmarshal ¶ added in v0.8.0
func (m *UnbondingNode) Unmarshal(dAtA []byte) error
func (*UnbondingNode) XXX_DiscardUnknown ¶ added in v0.8.0
func (m *UnbondingNode) XXX_DiscardUnknown()
func (*UnbondingNode) XXX_Marshal ¶ added in v0.8.0
func (m *UnbondingNode) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*UnbondingNode) XXX_Merge ¶ added in v0.8.0
func (m *UnbondingNode) XXX_Merge(src proto.Message)
func (*UnbondingNode) XXX_Size ¶ added in v0.8.0
func (m *UnbondingNode) XXX_Size() int
func (*UnbondingNode) XXX_Unmarshal ¶ added in v0.8.0
func (m *UnbondingNode) XXX_Unmarshal(b []byte) error
type UnbondingNodeEntry ¶ added in v0.4.0
type UnbondingNodeEntry struct { CreationHeight int64 `protobuf:"varint,1,opt,name=creation_height,json=creationHeight,proto3" json:"creation_height" yaml:"creation_height"` CompletionTime time.Time `protobuf:"bytes,2,opt,name=completion_time,json=completionTime,proto3,stdtime" json:"creation_time" yaml:"creation_time"` InitialBalance *github_com_cosmos_cosmos_sdk_types.Int `` /* 166-byte string literal not displayed */ Balance *github_com_cosmos_cosmos_sdk_types.Int `protobuf:"bytes,4,opt,name=balance,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Int" json:"balance" yaml:"balance"` }
func NewUnbondingNodeEntry ¶ added in v0.4.0
func NewUnbondingNodeEntry(creationHeight int64, completionTime time.Time, balance sdkmath.Int) UnbondingNodeEntry
NewUnbondingNodeEntry - create a new unbonding Node object
func (*UnbondingNodeEntry) Descriptor ¶ added in v0.8.0
func (*UnbondingNodeEntry) Descriptor() ([]byte, []int)
func (*UnbondingNodeEntry) Equal ¶ added in v0.12.0
func (this *UnbondingNodeEntry) Equal(that interface{}) bool
func (*UnbondingNodeEntry) GetCompletionTime ¶ added in v0.8.0
func (m *UnbondingNodeEntry) GetCompletionTime() time.Time
func (*UnbondingNodeEntry) GetCreationHeight ¶ added in v0.8.0
func (m *UnbondingNodeEntry) GetCreationHeight() int64
func (UnbondingNodeEntry) IsMature ¶ added in v0.4.0
func (e UnbondingNodeEntry) IsMature(currentTime time.Time) bool
IsMature - is the current entry mature
func (*UnbondingNodeEntry) Marshal ¶ added in v0.8.0
func (m *UnbondingNodeEntry) Marshal() (dAtA []byte, err error)
func (*UnbondingNodeEntry) MarshalTo ¶ added in v0.8.0
func (m *UnbondingNodeEntry) MarshalTo(dAtA []byte) (int, error)
func (*UnbondingNodeEntry) MarshalToSizedBuffer ¶ added in v0.8.0
func (m *UnbondingNodeEntry) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*UnbondingNodeEntry) ProtoMessage ¶ added in v0.8.0
func (*UnbondingNodeEntry) ProtoMessage()
func (*UnbondingNodeEntry) Reset ¶ added in v0.8.0
func (m *UnbondingNodeEntry) Reset()
func (*UnbondingNodeEntry) Size ¶ added in v0.8.0
func (m *UnbondingNodeEntry) Size() (n int)
func (*UnbondingNodeEntry) String ¶ added in v0.8.0
func (m *UnbondingNodeEntry) String() string
func (*UnbondingNodeEntry) Unmarshal ¶ added in v0.8.0
func (m *UnbondingNodeEntry) Unmarshal(dAtA []byte) error
func (*UnbondingNodeEntry) XXX_DiscardUnknown ¶ added in v0.8.0
func (m *UnbondingNodeEntry) XXX_DiscardUnknown()
func (*UnbondingNodeEntry) XXX_Marshal ¶ added in v0.8.0
func (m *UnbondingNodeEntry) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*UnbondingNodeEntry) XXX_Merge ¶ added in v0.8.0
func (m *UnbondingNodeEntry) XXX_Merge(src proto.Message)
func (*UnbondingNodeEntry) XXX_Size ¶ added in v0.8.0
func (m *UnbondingNodeEntry) XXX_Size() int
func (*UnbondingNodeEntry) XXX_Unmarshal ¶ added in v0.8.0
func (m *UnbondingNodeEntry) XXX_Unmarshal(b []byte) error
type UnimplementedMsgServer ¶ added in v0.8.0
type UnimplementedMsgServer struct { }
UnimplementedMsgServer can be embedded to have forward compatible implementations.
func (*UnimplementedMsgServer) HandleMsgCreateMetaNode ¶ added in v0.8.0
func (*UnimplementedMsgServer) HandleMsgCreateMetaNode(ctx context.Context, req *MsgCreateMetaNode) (*MsgCreateMetaNodeResponse, error)
func (*UnimplementedMsgServer) HandleMsgCreateResourceNode ¶ added in v0.8.0
func (*UnimplementedMsgServer) HandleMsgCreateResourceNode(ctx context.Context, req *MsgCreateResourceNode) (*MsgCreateResourceNodeResponse, error)
func (*UnimplementedMsgServer) HandleMsgKickMetaNodeVote ¶ added in v0.12.0
func (*UnimplementedMsgServer) HandleMsgKickMetaNodeVote(ctx context.Context, req *MsgKickMetaNodeVote) (*MsgKickMetaNodeVoteResponse, error)
func (*UnimplementedMsgServer) HandleMsgMetaNodeRegistrationVote ¶ added in v0.8.0
func (*UnimplementedMsgServer) HandleMsgMetaNodeRegistrationVote(ctx context.Context, req *MsgMetaNodeRegistrationVote) (*MsgMetaNodeRegistrationVoteResponse, error)
func (*UnimplementedMsgServer) HandleMsgRemoveMetaNode ¶ added in v0.8.0
func (*UnimplementedMsgServer) HandleMsgRemoveMetaNode(ctx context.Context, req *MsgRemoveMetaNode) (*MsgRemoveMetaNodeResponse, error)
func (*UnimplementedMsgServer) HandleMsgRemoveResourceNode ¶ added in v0.8.0
func (*UnimplementedMsgServer) HandleMsgRemoveResourceNode(ctx context.Context, req *MsgRemoveResourceNode) (*MsgRemoveResourceNodeResponse, error)
func (*UnimplementedMsgServer) HandleMsgUpdateEffectiveDeposit ¶ added in v0.10.0
func (*UnimplementedMsgServer) HandleMsgUpdateEffectiveDeposit(ctx context.Context, req *MsgUpdateEffectiveDeposit) (*MsgUpdateEffectiveDepositResponse, error)
func (*UnimplementedMsgServer) HandleMsgUpdateMetaNode ¶ added in v0.8.0
func (*UnimplementedMsgServer) HandleMsgUpdateMetaNode(ctx context.Context, req *MsgUpdateMetaNode) (*MsgUpdateMetaNodeResponse, error)
func (*UnimplementedMsgServer) HandleMsgUpdateMetaNodeDeposit ¶ added in v0.10.0
func (*UnimplementedMsgServer) HandleMsgUpdateMetaNodeDeposit(ctx context.Context, req *MsgUpdateMetaNodeDeposit) (*MsgUpdateMetaNodeDepositResponse, error)
func (*UnimplementedMsgServer) HandleMsgUpdateResourceNode ¶ added in v0.8.0
func (*UnimplementedMsgServer) HandleMsgUpdateResourceNode(ctx context.Context, req *MsgUpdateResourceNode) (*MsgUpdateResourceNodeResponse, error)
func (*UnimplementedMsgServer) HandleMsgUpdateResourceNodeDeposit ¶ added in v0.10.0
func (*UnimplementedMsgServer) HandleMsgUpdateResourceNodeDeposit(ctx context.Context, req *MsgUpdateResourceNodeDeposit) (*MsgUpdateResourceNodeDepositResponse, error)
func (*UnimplementedMsgServer) UpdateParams ¶ added in v0.12.0
func (*UnimplementedMsgServer) UpdateParams(ctx context.Context, req *MsgUpdateParams) (*MsgUpdateParamsResponse, error)
type UnimplementedQueryServer ¶ added in v0.8.0
type UnimplementedQueryServer struct { }
UnimplementedQueryServer can be embedded to have forward compatible implementations.
func (*UnimplementedQueryServer) BondedMetaNodeCount ¶ added in v0.8.0
func (*UnimplementedQueryServer) BondedMetaNodeCount(ctx context.Context, req *QueryBondedMetaNodeCountRequest) (*QueryBondedMetaNodeCountResponse, error)
func (*UnimplementedQueryServer) BondedResourceNodeCount ¶ added in v0.8.0
func (*UnimplementedQueryServer) BondedResourceNodeCount(ctx context.Context, req *QueryBondedResourceNodeCountRequest) (*QueryBondedResourceNodeCountResponse, error)
func (*UnimplementedQueryServer) DepositByNode ¶ added in v0.10.0
func (*UnimplementedQueryServer) DepositByNode(ctx context.Context, req *QueryDepositByNodeRequest) (*QueryDepositByNodeResponse, error)
func (*UnimplementedQueryServer) DepositByOwner ¶ added in v0.10.0
func (*UnimplementedQueryServer) DepositByOwner(ctx context.Context, req *QueryDepositByOwnerRequest) (*QueryDepositByOwnerResponse, error)
func (*UnimplementedQueryServer) DepositTotal ¶ added in v0.10.0
func (*UnimplementedQueryServer) DepositTotal(ctx context.Context, req *QueryDepositTotalRequest) (*QueryDepositTotalResponse, error)
func (*UnimplementedQueryServer) MetaNode ¶ added in v0.8.0
func (*UnimplementedQueryServer) MetaNode(ctx context.Context, req *QueryMetaNodeRequest) (*QueryMetaNodeResponse, error)
func (*UnimplementedQueryServer) Params ¶ added in v0.8.0
func (*UnimplementedQueryServer) Params(ctx context.Context, req *QueryParamsRequest) (*QueryParamsResponse, error)
func (*UnimplementedQueryServer) RemainingOzoneLimit ¶ added in v0.12.0
func (*UnimplementedQueryServer) RemainingOzoneLimit(ctx context.Context, req *QueryRemainingOzoneLimitRequest) (*QueryRemainingOzoneLimitResponse, error)
func (*UnimplementedQueryServer) ResourceNode ¶ added in v0.8.0
func (*UnimplementedQueryServer) ResourceNode(ctx context.Context, req *QueryResourceNodeRequest) (*QueryResourceNodeResponse, error)
type VoteOpinion ¶
type VoteOpinion bool
func VoteOpinionFromBool ¶
func VoteOpinionFromBool(b bool) VoteOpinion
func (VoteOpinion) Equal ¶
func (v VoteOpinion) Equal(v2 VoteOpinion) bool
Equal compares two VoteOpinion instances
func (VoteOpinion) String ¶
func (v VoteOpinion) String() string
String implements the Stringer interface for VoteOpinion.