Documentation
¶
Overview ¶
Code generated by protoc-gen-go-pulsar. DO NOT EDIT.
Code generated by protoc-gen-go-pulsar. DO NOT EDIT.
DO NOT DELETE this file. It is intentionally added and kept empty to ensure an empty package exists and can be referenced to prevent the ignite CLI from throwing errors during proto generation.
Code generated by protoc-gen-go-pulsar. DO NOT EDIT.
Code generated by protoc-gen-go-pulsar. DO NOT EDIT.
Code generated by protoc-gen-go-pulsar. DO NOT EDIT.
Code generated by protoc-gen-go-pulsar. DO NOT EDIT.
Code generated by protoc-gen-go-pulsar. DO NOT EDIT.
Index ¶
- Constants
- Variables
- func RegisterMsgServer(s grpc.ServiceRegistrar, srv MsgServer)
- func RegisterQueryServer(s grpc.ServiceRegistrar, srv QueryServer)
- type EventImportMorseClaimableAccounts
- func (*EventImportMorseClaimableAccounts) Descriptor() ([]byte, []int)deprecated
- func (x *EventImportMorseClaimableAccounts) GetCreatedAtHeight() int64
- func (x *EventImportMorseClaimableAccounts) GetMorseAccountStateHash() []byte
- func (x *EventImportMorseClaimableAccounts) GetNumAccounts() uint64
- func (*EventImportMorseClaimableAccounts) ProtoMessage()
- func (x *EventImportMorseClaimableAccounts) ProtoReflect() protoreflect.Message
- func (x *EventImportMorseClaimableAccounts) Reset()
- func (x *EventImportMorseClaimableAccounts) String() string
- type EventMorseAccountClaimed
- func (*EventMorseAccountClaimed) Descriptor() ([]byte, []int)deprecated
- func (x *EventMorseAccountClaimed) GetClaimedBalance() *v1beta1.Coin
- func (x *EventMorseAccountClaimed) GetMorseSrcAddress() string
- func (x *EventMorseAccountClaimed) GetSessionEndHeight() int64
- func (x *EventMorseAccountClaimed) GetShannonDestAddress() string
- func (*EventMorseAccountClaimed) ProtoMessage()
- func (x *EventMorseAccountClaimed) ProtoReflect() protoreflect.Message
- func (x *EventMorseAccountClaimed) Reset()
- func (x *EventMorseAccountClaimed) String() string
- type EventMorseApplicationClaimed
- func (*EventMorseApplicationClaimed) Descriptor() ([]byte, []int)deprecated
- func (x *EventMorseApplicationClaimed) GetApplication() *application.Application
- func (x *EventMorseApplicationClaimed) GetClaimedApplicationStake() *v1beta1.Coin
- func (x *EventMorseApplicationClaimed) GetClaimedBalance() *v1beta1.Coin
- func (x *EventMorseApplicationClaimed) GetMorseSrcAddress() string
- func (x *EventMorseApplicationClaimed) GetSessionEndHeight() int64
- func (*EventMorseApplicationClaimed) ProtoMessage()
- func (x *EventMorseApplicationClaimed) ProtoReflect() protoreflect.Message
- func (x *EventMorseApplicationClaimed) Reset()
- func (x *EventMorseApplicationClaimed) String() string
- type EventMorseSupplierClaimed
- func (*EventMorseSupplierClaimed) Descriptor() ([]byte, []int)deprecated
- func (x *EventMorseSupplierClaimed) GetClaimedBalance() *v1beta1.Coin
- func (x *EventMorseSupplierClaimed) GetClaimedSupplierStake() *v1beta1.Coin
- func (x *EventMorseSupplierClaimed) GetMorseSrcAddress() string
- func (x *EventMorseSupplierClaimed) GetSessionEndHeight() int64
- func (x *EventMorseSupplierClaimed) GetSupplier() *shared.Supplier
- func (*EventMorseSupplierClaimed) ProtoMessage()
- func (x *EventMorseSupplierClaimed) ProtoReflect() protoreflect.Message
- func (x *EventMorseSupplierClaimed) Reset()
- func (x *EventMorseSupplierClaimed) String() string
- type GenesisState
- func (*GenesisState) Descriptor() ([]byte, []int)deprecated
- func (x *GenesisState) GetMorseClaimableAccountList() []*MorseClaimableAccount
- func (x *GenesisState) GetParams() *Params
- func (*GenesisState) ProtoMessage()
- func (x *GenesisState) ProtoReflect() protoreflect.Message
- func (x *GenesisState) Reset()
- func (x *GenesisState) String() string
- type MorseAccount
- func (*MorseAccount) Descriptor() ([]byte, []int)deprecated
- func (x *MorseAccount) GetAddress() []byte
- func (x *MorseAccount) GetCoins() []*v1beta1.Coin
- func (x *MorseAccount) GetPubKey() *MorsePublicKey
- func (*MorseAccount) ProtoMessage()
- func (x *MorseAccount) ProtoReflect() protoreflect.Message
- func (x *MorseAccount) Reset()
- func (x *MorseAccount) String() string
- type MorseAccountState
- func (*MorseAccountState) Descriptor() ([]byte, []int)deprecated
- func (x *MorseAccountState) GetAccounts() []*MorseClaimableAccount
- func (*MorseAccountState) ProtoMessage()
- func (x *MorseAccountState) ProtoReflect() protoreflect.Message
- func (x *MorseAccountState) Reset()
- func (x *MorseAccountState) String() string
- type MorseApplication
- func (*MorseApplication) Descriptor() ([]byte, []int)deprecated
- func (x *MorseApplication) GetAddress() []byte
- func (x *MorseApplication) GetJailed() bool
- func (x *MorseApplication) GetPublicKey() []byte
- func (x *MorseApplication) GetStakedTokens() string
- func (x *MorseApplication) GetStatus() int32
- func (*MorseApplication) ProtoMessage()
- func (x *MorseApplication) ProtoReflect() protoreflect.Message
- func (x *MorseApplication) Reset()
- func (x *MorseApplication) String() string
- type MorseApplications
- func (*MorseApplications) Descriptor() ([]byte, []int)deprecated
- func (x *MorseApplications) GetApplications() []*MorseApplication
- func (*MorseApplications) ProtoMessage()
- func (x *MorseApplications) ProtoReflect() protoreflect.Message
- func (x *MorseApplications) Reset()
- func (x *MorseApplications) String() string
- type MorseAuth
- type MorseAuthAccount
- func (*MorseAuthAccount) Descriptor() ([]byte, []int)deprecated
- func (x *MorseAuthAccount) GetType_() string
- func (x *MorseAuthAccount) GetValue() []byte
- func (*MorseAuthAccount) ProtoMessage()
- func (x *MorseAuthAccount) ProtoReflect() protoreflect.Message
- func (x *MorseAuthAccount) Reset()
- func (x *MorseAuthAccount) String() string
- type MorseClaimableAccount
- func (*MorseClaimableAccount) Descriptor() ([]byte, []int)deprecated
- func (x *MorseClaimableAccount) GetApplicationStake() *v1beta1.Coin
- func (x *MorseClaimableAccount) GetClaimedAtHeight() int64
- func (x *MorseClaimableAccount) GetMorseSrcAddress() string
- func (x *MorseClaimableAccount) GetShannonDestAddress() string
- func (x *MorseClaimableAccount) GetSupplierStake() *v1beta1.Coin
- func (x *MorseClaimableAccount) GetUnstakedBalance() *v1beta1.Coin
- func (*MorseClaimableAccount) ProtoMessage()
- func (x *MorseClaimableAccount) ProtoReflect() protoreflect.Message
- func (x *MorseClaimableAccount) Reset()
- func (x *MorseClaimableAccount) String() string
- type MorseModuleAccount
- func (*MorseModuleAccount) Descriptor() ([]byte, []int)deprecated
- func (x *MorseModuleAccount) GetBaseAccount() *MorseAccount
- func (x *MorseModuleAccount) GetName() string
- func (*MorseModuleAccount) ProtoMessage()
- func (x *MorseModuleAccount) ProtoReflect() protoreflect.Message
- func (x *MorseModuleAccount) Reset()
- func (x *MorseModuleAccount) String() string
- type MorsePos
- type MorsePublicKey
- type MorseStateExport
- func (*MorseStateExport) Descriptor() ([]byte, []int)deprecated
- func (x *MorseStateExport) GetAppHash() string
- func (x *MorseStateExport) GetAppState() *MorseTendermintAppState
- func (*MorseStateExport) ProtoMessage()
- func (x *MorseStateExport) ProtoReflect() protoreflect.Message
- func (x *MorseStateExport) Reset()
- func (x *MorseStateExport) String() string
- type MorseTendermintAppState
- func (*MorseTendermintAppState) Descriptor() ([]byte, []int)deprecated
- func (x *MorseTendermintAppState) GetApplication() *MorseApplications
- func (x *MorseTendermintAppState) GetAuth() *MorseAuth
- func (x *MorseTendermintAppState) GetPos() *MorsePos
- func (*MorseTendermintAppState) ProtoMessage()
- func (x *MorseTendermintAppState) ProtoReflect() protoreflect.Message
- func (x *MorseTendermintAppState) Reset()
- func (x *MorseTendermintAppState) String() string
- type MorseValidator
- func (*MorseValidator) Descriptor() ([]byte, []int)deprecated
- func (x *MorseValidator) GetAddress() []byte
- func (x *MorseValidator) GetJailed() bool
- func (x *MorseValidator) GetPublicKey() []byte
- func (x *MorseValidator) GetStakedTokens() string
- func (x *MorseValidator) GetStatus() int32
- func (*MorseValidator) ProtoMessage()
- func (x *MorseValidator) ProtoReflect() protoreflect.Message
- func (x *MorseValidator) Reset()
- func (x *MorseValidator) String() string
- type MsgClaimMorseAccount
- func (*MsgClaimMorseAccount) Descriptor() ([]byte, []int)deprecated
- func (x *MsgClaimMorseAccount) GetMorsePublicKey() []byte
- func (x *MsgClaimMorseAccount) GetMorseSignature() []byte
- func (x *MsgClaimMorseAccount) GetShannonDestAddress() string
- func (x *MsgClaimMorseAccount) GetShannonSigningAddress() string
- func (*MsgClaimMorseAccount) ProtoMessage()
- func (x *MsgClaimMorseAccount) ProtoReflect() protoreflect.Message
- func (x *MsgClaimMorseAccount) Reset()
- func (x *MsgClaimMorseAccount) String() string
- type MsgClaimMorseAccountResponse
- func (*MsgClaimMorseAccountResponse) Descriptor() ([]byte, []int)deprecated
- func (x *MsgClaimMorseAccountResponse) GetClaimedBalance() *v1beta1.Coin
- func (x *MsgClaimMorseAccountResponse) GetMorseSrcAddress() string
- func (x *MsgClaimMorseAccountResponse) GetSessionEndHeight() int64
- func (*MsgClaimMorseAccountResponse) ProtoMessage()
- func (x *MsgClaimMorseAccountResponse) ProtoReflect() protoreflect.Message
- func (x *MsgClaimMorseAccountResponse) Reset()
- func (x *MsgClaimMorseAccountResponse) String() string
- type MsgClaimMorseApplication
- func (*MsgClaimMorseApplication) Descriptor() ([]byte, []int)deprecated
- func (x *MsgClaimMorseApplication) GetMorsePublicKey() []byte
- func (x *MsgClaimMorseApplication) GetMorseSignature() []byte
- func (x *MsgClaimMorseApplication) GetServiceConfig() *shared.ApplicationServiceConfig
- func (x *MsgClaimMorseApplication) GetShannonDestAddress() string
- func (x *MsgClaimMorseApplication) GetShannonSigningAddress() string
- func (*MsgClaimMorseApplication) ProtoMessage()
- func (x *MsgClaimMorseApplication) ProtoReflect() protoreflect.Message
- func (x *MsgClaimMorseApplication) Reset()
- func (x *MsgClaimMorseApplication) String() string
- type MsgClaimMorseApplicationResponse
- func (*MsgClaimMorseApplicationResponse) Descriptor() ([]byte, []int)deprecated
- func (x *MsgClaimMorseApplicationResponse) GetApplication() *application.Application
- func (x *MsgClaimMorseApplicationResponse) GetClaimedApplicationStake() *v1beta1.Coin
- func (x *MsgClaimMorseApplicationResponse) GetClaimedBalance() *v1beta1.Coin
- func (x *MsgClaimMorseApplicationResponse) GetMorseSrcAddress() string
- func (x *MsgClaimMorseApplicationResponse) GetSessionEndHeight() int64
- func (*MsgClaimMorseApplicationResponse) ProtoMessage()
- func (x *MsgClaimMorseApplicationResponse) ProtoReflect() protoreflect.Message
- func (x *MsgClaimMorseApplicationResponse) Reset()
- func (x *MsgClaimMorseApplicationResponse) String() string
- type MsgClaimMorseSupplier
- func (*MsgClaimMorseSupplier) Descriptor() ([]byte, []int)deprecated
- func (x *MsgClaimMorseSupplier) GetMorsePublicKey() []byte
- func (x *MsgClaimMorseSupplier) GetMorseSignature() []byte
- func (x *MsgClaimMorseSupplier) GetServices() []*shared.SupplierServiceConfig
- func (x *MsgClaimMorseSupplier) GetShannonOperatorAddress() string
- func (x *MsgClaimMorseSupplier) GetShannonOwnerAddress() string
- func (x *MsgClaimMorseSupplier) GetShannonSigningAddress() string
- func (*MsgClaimMorseSupplier) ProtoMessage()
- func (x *MsgClaimMorseSupplier) ProtoReflect() protoreflect.Message
- func (x *MsgClaimMorseSupplier) Reset()
- func (x *MsgClaimMorseSupplier) String() string
- type MsgClaimMorseSupplierResponse
- func (*MsgClaimMorseSupplierResponse) Descriptor() ([]byte, []int)deprecated
- func (x *MsgClaimMorseSupplierResponse) GetClaimedBalance() *v1beta1.Coin
- func (x *MsgClaimMorseSupplierResponse) GetClaimedSupplierStake() *v1beta1.Coin
- func (x *MsgClaimMorseSupplierResponse) GetMorseSrcAddress() string
- func (x *MsgClaimMorseSupplierResponse) GetSessionEndHeight() int64
- func (x *MsgClaimMorseSupplierResponse) GetSupplier() *shared.Supplier
- func (*MsgClaimMorseSupplierResponse) ProtoMessage()
- func (x *MsgClaimMorseSupplierResponse) ProtoReflect() protoreflect.Message
- func (x *MsgClaimMorseSupplierResponse) Reset()
- func (x *MsgClaimMorseSupplierResponse) String() string
- type MsgClient
- type MsgImportMorseClaimableAccounts
- func (*MsgImportMorseClaimableAccounts) Descriptor() ([]byte, []int)deprecated
- func (x *MsgImportMorseClaimableAccounts) GetAuthority() string
- func (x *MsgImportMorseClaimableAccounts) GetMorseAccountState() *MorseAccountState
- func (x *MsgImportMorseClaimableAccounts) GetMorseAccountStateHash() []byte
- func (*MsgImportMorseClaimableAccounts) ProtoMessage()
- func (x *MsgImportMorseClaimableAccounts) ProtoReflect() protoreflect.Message
- func (x *MsgImportMorseClaimableAccounts) Reset()
- func (x *MsgImportMorseClaimableAccounts) String() string
- type MsgImportMorseClaimableAccountsResponse
- func (*MsgImportMorseClaimableAccountsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *MsgImportMorseClaimableAccountsResponse) GetNumAccounts() uint64
- func (x *MsgImportMorseClaimableAccountsResponse) GetStateHash() []byte
- func (*MsgImportMorseClaimableAccountsResponse) ProtoMessage()
- func (x *MsgImportMorseClaimableAccountsResponse) ProtoReflect() protoreflect.Message
- func (x *MsgImportMorseClaimableAccountsResponse) Reset()
- func (x *MsgImportMorseClaimableAccountsResponse) String() string
- type MsgRecoverMorseAccount
- func (*MsgRecoverMorseAccount) Descriptor() ([]byte, []int)deprecated
- func (x *MsgRecoverMorseAccount) GetAuthority() string
- func (x *MsgRecoverMorseAccount) GetMorseSrcAddress() string
- func (x *MsgRecoverMorseAccount) GetShannonDestAddress() string
- func (*MsgRecoverMorseAccount) ProtoMessage()
- func (x *MsgRecoverMorseAccount) ProtoReflect() protoreflect.Message
- func (x *MsgRecoverMorseAccount) Reset()
- func (x *MsgRecoverMorseAccount) String() string
- type MsgRecoverMorseAccountResponse
- func (*MsgRecoverMorseAccountResponse) Descriptor() ([]byte, []int)deprecated
- func (x *MsgRecoverMorseAccountResponse) GetMorseSrcAddress() string
- func (x *MsgRecoverMorseAccountResponse) GetRecoveredBalance() *v1beta1.Coin
- func (x *MsgRecoverMorseAccountResponse) GetSessionEndHeight() int64
- func (x *MsgRecoverMorseAccountResponse) GetShannonDestAddress() string
- func (*MsgRecoverMorseAccountResponse) ProtoMessage()
- func (x *MsgRecoverMorseAccountResponse) ProtoReflect() protoreflect.Message
- func (x *MsgRecoverMorseAccountResponse) Reset()
- func (x *MsgRecoverMorseAccountResponse) String() string
- type MsgServer
- type MsgUpdateParams
- func (*MsgUpdateParams) Descriptor() ([]byte, []int)deprecated
- func (x *MsgUpdateParams) GetAuthority() string
- func (x *MsgUpdateParams) GetParams() *Params
- func (*MsgUpdateParams) ProtoMessage()
- func (x *MsgUpdateParams) ProtoReflect() protoreflect.Message
- func (x *MsgUpdateParams) Reset()
- func (x *MsgUpdateParams) String() string
- type MsgUpdateParamsResponse
- type Params
- func (*Params) Descriptor() ([]byte, []int)deprecated
- func (x *Params) GetAllowMorseAccountImportOverwrite() bool
- func (x *Params) GetWaiveMorseClaimGasFees() bool
- func (*Params) ProtoMessage()
- func (x *Params) ProtoReflect() protoreflect.Message
- func (x *Params) Reset()
- func (x *Params) String() string
- type QueryAllMorseClaimableAccountRequest
- func (*QueryAllMorseClaimableAccountRequest) Descriptor() ([]byte, []int)deprecated
- func (x *QueryAllMorseClaimableAccountRequest) GetPagination() *v1beta1.PageRequest
- func (*QueryAllMorseClaimableAccountRequest) ProtoMessage()
- func (x *QueryAllMorseClaimableAccountRequest) ProtoReflect() protoreflect.Message
- func (x *QueryAllMorseClaimableAccountRequest) Reset()
- func (x *QueryAllMorseClaimableAccountRequest) String() string
- type QueryAllMorseClaimableAccountResponse
- func (*QueryAllMorseClaimableAccountResponse) Descriptor() ([]byte, []int)deprecated
- func (x *QueryAllMorseClaimableAccountResponse) GetMorseClaimableAccount() []*MorseClaimableAccount
- func (x *QueryAllMorseClaimableAccountResponse) GetPagination() *v1beta1.PageResponse
- func (*QueryAllMorseClaimableAccountResponse) ProtoMessage()
- func (x *QueryAllMorseClaimableAccountResponse) ProtoReflect() protoreflect.Message
- func (x *QueryAllMorseClaimableAccountResponse) Reset()
- func (x *QueryAllMorseClaimableAccountResponse) String() string
- type QueryClient
- type QueryMorseClaimableAccountRequest
- func (*QueryMorseClaimableAccountRequest) Descriptor() ([]byte, []int)deprecated
- func (x *QueryMorseClaimableAccountRequest) GetAddress() string
- func (*QueryMorseClaimableAccountRequest) ProtoMessage()
- func (x *QueryMorseClaimableAccountRequest) ProtoReflect() protoreflect.Message
- func (x *QueryMorseClaimableAccountRequest) Reset()
- func (x *QueryMorseClaimableAccountRequest) String() string
- type QueryMorseClaimableAccountResponse
- func (*QueryMorseClaimableAccountResponse) Descriptor() ([]byte, []int)deprecated
- func (x *QueryMorseClaimableAccountResponse) GetMorseClaimableAccount() *MorseClaimableAccount
- func (*QueryMorseClaimableAccountResponse) ProtoMessage()
- func (x *QueryMorseClaimableAccountResponse) ProtoReflect() protoreflect.Message
- func (x *QueryMorseClaimableAccountResponse) Reset()
- func (x *QueryMorseClaimableAccountResponse) String() string
- type QueryParamsRequest
- type QueryParamsResponse
- func (*QueryParamsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *QueryParamsResponse) GetParams() *Params
- func (*QueryParamsResponse) ProtoMessage()
- func (x *QueryParamsResponse) ProtoReflect() protoreflect.Message
- func (x *QueryParamsResponse) Reset()
- func (x *QueryParamsResponse) String() string
- type QueryServer
- type UnimplementedMsgServer
- func (UnimplementedMsgServer) ClaimMorseAccount(context.Context, *MsgClaimMorseAccount) (*MsgClaimMorseAccountResponse, error)
- func (UnimplementedMsgServer) ClaimMorseApplication(context.Context, *MsgClaimMorseApplication) (*MsgClaimMorseApplicationResponse, error)
- func (UnimplementedMsgServer) ClaimMorseSupplier(context.Context, *MsgClaimMorseSupplier) (*MsgClaimMorseSupplierResponse, error)
- func (UnimplementedMsgServer) ImportMorseClaimableAccounts(context.Context, *MsgImportMorseClaimableAccounts) (*MsgImportMorseClaimableAccountsResponse, error)
- func (UnimplementedMsgServer) RecoverMorseAccount(context.Context, *MsgRecoverMorseAccount) (*MsgRecoverMorseAccountResponse, error)
- func (UnimplementedMsgServer) UpdateParams(context.Context, *MsgUpdateParams) (*MsgUpdateParamsResponse, error)
- type UnimplementedQueryServer
- func (UnimplementedQueryServer) MorseClaimableAccount(context.Context, *QueryMorseClaimableAccountRequest) (*QueryMorseClaimableAccountResponse, error)
- func (UnimplementedQueryServer) MorseClaimableAccountAll(context.Context, *QueryAllMorseClaimableAccountRequest) (*QueryAllMorseClaimableAccountResponse, error)
- func (UnimplementedQueryServer) Params(context.Context, *QueryParamsRequest) (*QueryParamsResponse, error)
- type UnsafeMsgServer
- type UnsafeQueryServer
Constants ¶
const ( Query_Params_FullMethodName = "/pocket.migration.Query/Params" Query_MorseClaimableAccount_FullMethodName = "/pocket.migration.Query/MorseClaimableAccount" Query_MorseClaimableAccountAll_FullMethodName = "/pocket.migration.Query/MorseClaimableAccountAll" )
const ( Msg_UpdateParams_FullMethodName = "/pocket.migration.Msg/UpdateParams" Msg_ImportMorseClaimableAccounts_FullMethodName = "/pocket.migration.Msg/ImportMorseClaimableAccounts" Msg_ClaimMorseAccount_FullMethodName = "/pocket.migration.Msg/ClaimMorseAccount" Msg_ClaimMorseApplication_FullMethodName = "/pocket.migration.Msg/ClaimMorseApplication" Msg_ClaimMorseSupplier_FullMethodName = "/pocket.migration.Msg/ClaimMorseSupplier" Msg_RecoverMorseAccount_FullMethodName = "/pocket.migration.Msg/RecoverMorseAccount" )
Variables ¶
var File_pocket_migration_event_proto protoreflect.FileDescriptor
var File_pocket_migration_genesis_proto protoreflect.FileDescriptor
var File_pocket_migration_morse_offchain_proto protoreflect.FileDescriptor
var File_pocket_migration_morse_onchain_proto protoreflect.FileDescriptor
var File_pocket_migration_params_proto protoreflect.FileDescriptor
var File_pocket_migration_query_proto protoreflect.FileDescriptor
var File_pocket_migration_tx_proto protoreflect.FileDescriptor
var Msg_ServiceDesc = grpc.ServiceDesc{ ServiceName: "pocket.migration.Msg", HandlerType: (*MsgServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "UpdateParams", Handler: _Msg_UpdateParams_Handler, }, { MethodName: "ImportMorseClaimableAccounts", Handler: _Msg_ImportMorseClaimableAccounts_Handler, }, { MethodName: "ClaimMorseAccount", Handler: _Msg_ClaimMorseAccount_Handler, }, { MethodName: "ClaimMorseApplication", Handler: _Msg_ClaimMorseApplication_Handler, }, { MethodName: "ClaimMorseSupplier", Handler: _Msg_ClaimMorseSupplier_Handler, }, { MethodName: "RecoverMorseAccount", Handler: _Msg_RecoverMorseAccount_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "pocket/migration/tx.proto", }
Msg_ServiceDesc is the grpc.ServiceDesc for Msg service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var Query_ServiceDesc = grpc.ServiceDesc{ ServiceName: "pocket.migration.Query", HandlerType: (*QueryServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "Params", Handler: _Query_Params_Handler, }, { MethodName: "MorseClaimableAccount", Handler: _Query_MorseClaimableAccount_Handler, }, { MethodName: "MorseClaimableAccountAll", Handler: _Query_MorseClaimableAccountAll_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "pocket/migration/query.proto", }
Query_ServiceDesc is the grpc.ServiceDesc for Query service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterMsgServer ¶
func RegisterMsgServer(s grpc.ServiceRegistrar, srv MsgServer)
func RegisterQueryServer ¶
func RegisterQueryServer(s grpc.ServiceRegistrar, srv QueryServer)
Types ¶
type EventImportMorseClaimableAccounts ¶
type EventImportMorseClaimableAccounts struct {
// The height (on Shannon) at which the MorseAccountState was created on-chain.
CreatedAtHeight int64 `protobuf:"varint,1,opt,name=created_at_height,json=createdAtHeight,proto3" json:"created_at_height,omitempty"`
// The onchain computed sha256 hash of the entire MorseAccountState containing the MorseClaimableAccounts which were imported.
MorseAccountStateHash []byte `` /* 128-byte string literal not displayed */
// Number of claimable accounts (EOAs) collected from Morse state export
// NOTE: Account balances include consolidated application and supplier actor stakes
NumAccounts uint64 `protobuf:"varint,3,opt,name=num_accounts,json=numAccounts,proto3" json:"num_accounts,omitempty"`
// contains filtered or unexported fields
}
EventImportMorseClaimableAccounts is emitted when the MorseClaimableAccounts are created on-chain.
func (*EventImportMorseClaimableAccounts) Descriptor
deprecated
func (*EventImportMorseClaimableAccounts) Descriptor() ([]byte, []int)
Deprecated: Use EventImportMorseClaimableAccounts.ProtoReflect.Descriptor instead.
func (*EventImportMorseClaimableAccounts) GetCreatedAtHeight ¶
func (x *EventImportMorseClaimableAccounts) GetCreatedAtHeight() int64
func (*EventImportMorseClaimableAccounts) GetMorseAccountStateHash ¶
func (x *EventImportMorseClaimableAccounts) GetMorseAccountStateHash() []byte
func (*EventImportMorseClaimableAccounts) GetNumAccounts ¶
func (x *EventImportMorseClaimableAccounts) GetNumAccounts() uint64
func (*EventImportMorseClaimableAccounts) ProtoMessage ¶
func (*EventImportMorseClaimableAccounts) ProtoMessage()
func (*EventImportMorseClaimableAccounts) ProtoReflect ¶
func (x *EventImportMorseClaimableAccounts) ProtoReflect() protoreflect.Message
func (*EventImportMorseClaimableAccounts) Reset ¶
func (x *EventImportMorseClaimableAccounts) Reset()
func (*EventImportMorseClaimableAccounts) String ¶
func (x *EventImportMorseClaimableAccounts) String() string
type EventMorseAccountClaimed ¶
type EventMorseAccountClaimed struct {
// The session end height (on Shannon) in which the claim was committed (i.e. claimed).
SessionEndHeight int64 `protobuf:"varint,1,opt,name=session_end_height,json=sessionEndHeight,proto3" json:"session_end_height,omitempty"`
// The unstaked balance which was claimed.
ClaimedBalance *v1beta1.Coin `protobuf:"bytes,2,opt,name=claimed_balance,json=claimedBalance,proto3" json:"claimed_balance,omitempty"`
// The bech32-encoded address of the Shannon account to which the claimed balance will be minted.
ShannonDestAddress string `protobuf:"bytes,3,opt,name=shannon_dest_address,json=shannonDestAddress,proto3" json:"shannon_dest_address,omitempty"`
// The hex-encoded address of the Morse account whose balance will be claimed.
MorseSrcAddress string `protobuf:"bytes,4,opt,name=morse_src_address,json=morseSrcAddress,proto3" json:"morse_src_address,omitempty"`
// contains filtered or unexported fields
}
EventMorseAccountClaimed is emitted when a MorseAccount is claimed on-chain.
func (*EventMorseAccountClaimed) Descriptor
deprecated
func (*EventMorseAccountClaimed) Descriptor() ([]byte, []int)
Deprecated: Use EventMorseAccountClaimed.ProtoReflect.Descriptor instead.
func (*EventMorseAccountClaimed) GetClaimedBalance ¶
func (x *EventMorseAccountClaimed) GetClaimedBalance() *v1beta1.Coin
func (*EventMorseAccountClaimed) GetMorseSrcAddress ¶
func (x *EventMorseAccountClaimed) GetMorseSrcAddress() string
func (*EventMorseAccountClaimed) GetSessionEndHeight ¶
func (x *EventMorseAccountClaimed) GetSessionEndHeight() int64
func (*EventMorseAccountClaimed) GetShannonDestAddress ¶
func (x *EventMorseAccountClaimed) GetShannonDestAddress() string
func (*EventMorseAccountClaimed) ProtoMessage ¶
func (*EventMorseAccountClaimed) ProtoMessage()
func (*EventMorseAccountClaimed) ProtoReflect ¶
func (x *EventMorseAccountClaimed) ProtoReflect() protoreflect.Message
func (*EventMorseAccountClaimed) Reset ¶
func (x *EventMorseAccountClaimed) Reset()
func (*EventMorseAccountClaimed) String ¶
func (x *EventMorseAccountClaimed) String() string
type EventMorseApplicationClaimed ¶
type EventMorseApplicationClaimed struct {
// The session end height (on Shannon) in which the claim was committed (i.e. claimed).
SessionEndHeight int64 `protobuf:"varint,1,opt,name=session_end_height,json=sessionEndHeight,proto3" json:"session_end_height,omitempty"`
// The unstaked balance which was claimed.
ClaimedBalance *v1beta1.Coin `protobuf:"bytes,2,opt,name=claimed_balance,json=claimedBalance,proto3" json:"claimed_balance,omitempty"`
// The hex-encoded address of the Morse account whose balance will be claimed.
MorseSrcAddress string `protobuf:"bytes,3,opt,name=morse_src_address,json=morseSrcAddress,proto3" json:"morse_src_address,omitempty"`
// The stake of the application which was staked as a result of the claim.
ClaimedApplicationStake *v1beta1.Coin `` /* 132-byte string literal not displayed */
// The application which was staked as a result of the claim.
// This is equivalent to the amount it had staked on Morse.
Application *application.Application `protobuf:"bytes,5,opt,name=application,proto3" json:"application,omitempty"`
// contains filtered or unexported fields
}
EventMorseApplicationClaimed is emitted when a MorseAccount is claimed on-chain as a staked application.
func (*EventMorseApplicationClaimed) Descriptor
deprecated
func (*EventMorseApplicationClaimed) Descriptor() ([]byte, []int)
Deprecated: Use EventMorseApplicationClaimed.ProtoReflect.Descriptor instead.
func (*EventMorseApplicationClaimed) GetApplication ¶
func (x *EventMorseApplicationClaimed) GetApplication() *application.Application
func (*EventMorseApplicationClaimed) GetClaimedApplicationStake ¶
func (x *EventMorseApplicationClaimed) GetClaimedApplicationStake() *v1beta1.Coin
func (*EventMorseApplicationClaimed) GetClaimedBalance ¶
func (x *EventMorseApplicationClaimed) GetClaimedBalance() *v1beta1.Coin
func (*EventMorseApplicationClaimed) GetMorseSrcAddress ¶
func (x *EventMorseApplicationClaimed) GetMorseSrcAddress() string
func (*EventMorseApplicationClaimed) GetSessionEndHeight ¶
func (x *EventMorseApplicationClaimed) GetSessionEndHeight() int64
func (*EventMorseApplicationClaimed) ProtoMessage ¶
func (*EventMorseApplicationClaimed) ProtoMessage()
func (*EventMorseApplicationClaimed) ProtoReflect ¶
func (x *EventMorseApplicationClaimed) ProtoReflect() protoreflect.Message
func (*EventMorseApplicationClaimed) Reset ¶
func (x *EventMorseApplicationClaimed) Reset()
func (*EventMorseApplicationClaimed) String ¶
func (x *EventMorseApplicationClaimed) String() string
type EventMorseSupplierClaimed ¶
type EventMorseSupplierClaimed struct {
// The session end height (on Shannon) in which the claim was committed (i.e. claimed).
SessionEndHeight int64 `protobuf:"varint,1,opt,name=session_end_height,json=sessionEndHeight,proto3" json:"session_end_height,omitempty"`
// The unstaked balance which was claimed.
ClaimedBalance *v1beta1.Coin `protobuf:"bytes,2,opt,name=claimed_balance,json=claimedBalance,proto3" json:"claimed_balance,omitempty"`
// The hex-encoded address of the Morse account whose balance will be claimed.
MorseSrcAddress string `protobuf:"bytes,3,opt,name=morse_src_address,json=morseSrcAddress,proto3" json:"morse_src_address,omitempty"`
// The stake of the Supplier which was staked as a result of the claim.
// This will be equivalent to the amount it had staked on Morse.
ClaimedSupplierStake *v1beta1.Coin `protobuf:"bytes,4,opt,name=claimed_supplier_stake,json=claimedSupplierStake,proto3" json:"claimed_supplier_stake,omitempty"`
// The Supplier which was staked as a result of the claim.
Supplier *shared.Supplier `protobuf:"bytes,5,opt,name=supplier,proto3" json:"supplier,omitempty"`
// contains filtered or unexported fields
}
EventMorseSupplierClaimed is emitted when a MorseAccount is claimed on-chain as a staked Supplier.
func (*EventMorseSupplierClaimed) Descriptor
deprecated
func (*EventMorseSupplierClaimed) Descriptor() ([]byte, []int)
Deprecated: Use EventMorseSupplierClaimed.ProtoReflect.Descriptor instead.
func (*EventMorseSupplierClaimed) GetClaimedBalance ¶
func (x *EventMorseSupplierClaimed) GetClaimedBalance() *v1beta1.Coin
func (*EventMorseSupplierClaimed) GetClaimedSupplierStake ¶
func (x *EventMorseSupplierClaimed) GetClaimedSupplierStake() *v1beta1.Coin
func (*EventMorseSupplierClaimed) GetMorseSrcAddress ¶
func (x *EventMorseSupplierClaimed) GetMorseSrcAddress() string
func (*EventMorseSupplierClaimed) GetSessionEndHeight ¶
func (x *EventMorseSupplierClaimed) GetSessionEndHeight() int64
func (*EventMorseSupplierClaimed) GetSupplier ¶
func (x *EventMorseSupplierClaimed) GetSupplier() *shared.Supplier
func (*EventMorseSupplierClaimed) ProtoMessage ¶
func (*EventMorseSupplierClaimed) ProtoMessage()
func (*EventMorseSupplierClaimed) ProtoReflect ¶
func (x *EventMorseSupplierClaimed) ProtoReflect() protoreflect.Message
func (*EventMorseSupplierClaimed) Reset ¶
func (x *EventMorseSupplierClaimed) Reset()
func (*EventMorseSupplierClaimed) String ¶
func (x *EventMorseSupplierClaimed) String() string
type GenesisState ¶
type GenesisState struct {
// params defines all the parameters of the module.
Params *Params `protobuf:"bytes,1,opt,name=params,proto3" json:"params,omitempty"`
MorseClaimableAccountList []*MorseClaimableAccount `protobuf:"bytes,2,rep,name=morseClaimableAccountList,proto3" json:"morseClaimableAccountList,omitempty"`
// contains filtered or unexported fields
}
GenesisState defines the migration module's genesis state.
func (*GenesisState) Descriptor
deprecated
func (*GenesisState) Descriptor() ([]byte, []int)
Deprecated: Use GenesisState.ProtoReflect.Descriptor instead.
func (*GenesisState) GetMorseClaimableAccountList ¶
func (x *GenesisState) GetMorseClaimableAccountList() []*MorseClaimableAccount
func (*GenesisState) GetParams ¶
func (x *GenesisState) GetParams() *Params
func (*GenesisState) ProtoMessage ¶
func (*GenesisState) ProtoMessage()
func (*GenesisState) ProtoReflect ¶
func (x *GenesisState) ProtoReflect() protoreflect.Message
func (*GenesisState) Reset ¶
func (x *GenesisState) Reset()
func (*GenesisState) String ¶
func (x *GenesisState) String() string
type MorseAccount ¶
type MorseAccount struct {
// A hex-encoded representation of the address corresponding to a Morse application's ed25519 public key.
Address []byte `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
// The ed25519 public key of the account.
PubKey *MorsePublicKey `protobuf:"bytes,2,opt,name=pub_key,json=pubKey,proto3" json:"pub_key,omitempty"`
// The account balance; this does not include any actor stakes.
Coins []*v1beta1.Coin `protobuf:"bytes,3,rep,name=coins,proto3" json:"coins,omitempty"`
// contains filtered or unexported fields
}
MorseAccount is an analog of the Morse ProtoBaseAccount type. It encapsulates the minimum information required to import accounts.
See: https://github.com/pokt-network/pocket-core/blob/staging/proto/x/auth/auth.proto#L14.
func (*MorseAccount) Descriptor
deprecated
func (*MorseAccount) Descriptor() ([]byte, []int)
Deprecated: Use MorseAccount.ProtoReflect.Descriptor instead.
func (*MorseAccount) GetAddress ¶
func (x *MorseAccount) GetAddress() []byte
func (*MorseAccount) GetCoins ¶
func (x *MorseAccount) GetCoins() []*v1beta1.Coin
func (*MorseAccount) GetPubKey ¶
func (x *MorseAccount) GetPubKey() *MorsePublicKey
func (*MorseAccount) ProtoMessage ¶
func (*MorseAccount) ProtoMessage()
func (*MorseAccount) ProtoReflect ¶
func (x *MorseAccount) ProtoReflect() protoreflect.Message
func (*MorseAccount) Reset ¶
func (x *MorseAccount) Reset()
func (*MorseAccount) String ¶
func (x *MorseAccount) String() string
type MorseAccountState ¶
type MorseAccountState struct {
Accounts []*MorseClaimableAccount `protobuf:"bytes,2,rep,name=accounts,proto3" json:"accounts,omitempty"`
// contains filtered or unexported fields
}
MorseAccountState is the onchain representation of all account state to be migrated from Morse. It is NEVER persisted onchain but is a dependency of the MsgImportMorseClaimableAccount handler. It's main purpose is to expose the #GetHash() method for verifying the integrity of all MorseClaimableAccounts.
func (*MorseAccountState) Descriptor
deprecated
func (*MorseAccountState) Descriptor() ([]byte, []int)
Deprecated: Use MorseAccountState.ProtoReflect.Descriptor instead.
func (*MorseAccountState) GetAccounts ¶
func (x *MorseAccountState) GetAccounts() []*MorseClaimableAccount
func (*MorseAccountState) ProtoMessage ¶
func (*MorseAccountState) ProtoMessage()
func (*MorseAccountState) ProtoReflect ¶
func (x *MorseAccountState) ProtoReflect() protoreflect.Message
func (*MorseAccountState) Reset ¶
func (x *MorseAccountState) Reset()
func (*MorseAccountState) String ¶
func (x *MorseAccountState) String() string
type MorseApplication ¶
type MorseApplication struct {
// Address is a binary representation of the address corresponding
// to a Morse application's ed25519 public key.
Address []byte `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
// PublicKey is the binary representation of a Morse application's ed25519 public key.
PublicKey []byte `protobuf:"bytes,2,opt,name=public_key,json=publicKey,proto3" json:"public_key,omitempty"`
// TODO_MAINNET_MIGRATION(@Olshansk): Should status and/or jailed be considered during the migration, and if so, how?
Jailed bool `protobuf:"varint,3,opt,name=jailed,proto3" json:"jailed,omitempty"`
Status int32 `protobuf:"varint,4,opt,name=status,proto3" json:"status,omitempty"`
// The string representation of the BigInt amount of upokt.
StakedTokens string `protobuf:"bytes,6,opt,name=staked_tokens,json=stakedTokens,proto3" json:"staked_tokens,omitempty"`
// contains filtered or unexported fields
}
MorseApplication is a subset of the Morse ProtoApplication type. It encapsulates the minimum information required to import Morse applications.
See: https://github.com/pokt-network/pocket-core/blob/staging/proto/x/apps/apps.proto#L16
func (*MorseApplication) Descriptor
deprecated
func (*MorseApplication) Descriptor() ([]byte, []int)
Deprecated: Use MorseApplication.ProtoReflect.Descriptor instead.
func (*MorseApplication) GetAddress ¶
func (x *MorseApplication) GetAddress() []byte
func (*MorseApplication) GetJailed ¶
func (x *MorseApplication) GetJailed() bool
func (*MorseApplication) GetPublicKey ¶
func (x *MorseApplication) GetPublicKey() []byte
func (*MorseApplication) GetStakedTokens ¶
func (x *MorseApplication) GetStakedTokens() string
func (*MorseApplication) GetStatus ¶
func (x *MorseApplication) GetStatus() int32
func (*MorseApplication) ProtoMessage ¶
func (*MorseApplication) ProtoMessage()
func (*MorseApplication) ProtoReflect ¶
func (x *MorseApplication) ProtoReflect() protoreflect.Message
func (*MorseApplication) Reset ¶
func (x *MorseApplication) Reset()
func (*MorseApplication) String ¶
func (x *MorseApplication) String() string
type MorseApplications ¶
type MorseApplications struct {
Applications []*MorseApplication `protobuf:"bytes,1,rep,name=applications,proto3" json:"applications,omitempty"`
// contains filtered or unexported fields
}
A wrapper around the list of MorseApplications, necessary in order to conform to the Morse genesis structure. It encapsulates the minimum information required to import Morse applications.
See: https://github.com/pokt-network/pocket-core/blob/staging/x/apps/types/genesis.go#L4
func (*MorseApplications) Descriptor
deprecated
func (*MorseApplications) Descriptor() ([]byte, []int)
Deprecated: Use MorseApplications.ProtoReflect.Descriptor instead.
func (*MorseApplications) GetApplications ¶
func (x *MorseApplications) GetApplications() []*MorseApplication
func (*MorseApplications) ProtoMessage ¶
func (*MorseApplications) ProtoMessage()
func (*MorseApplications) ProtoReflect ¶
func (x *MorseApplications) ProtoReflect() protoreflect.Message
func (*MorseApplications) Reset ¶
func (x *MorseApplications) Reset()
func (*MorseApplications) String ¶
func (x *MorseApplications) String() string
type MorseAuth ¶
type MorseAuth struct {
Accounts []*MorseAuthAccount `protobuf:"bytes,1,rep,name=accounts,proto3" json:"accounts,omitempty"`
// contains filtered or unexported fields
}
A wrapper around a list of MorseAuthAccount. It encapsulates the minimum information required to import Morse accounts.
See: https://github.com/pokt-network/pocket-core/blob/staging/x/auth/types/genesis.go#L9
func (*MorseAuth) Descriptor
deprecated
func (*MorseAuth) GetAccounts ¶
func (x *MorseAuth) GetAccounts() []*MorseAuthAccount
func (*MorseAuth) ProtoMessage ¶
func (*MorseAuth) ProtoMessage()
func (*MorseAuth) ProtoReflect ¶
func (x *MorseAuth) ProtoReflect() protoreflect.Message
type MorseAuthAccount ¶
type MorseAuthAccount struct {
Type_ string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"`
// value is a EITHER a JSON-encoded MorseAccount or a MorseModuleAccount.
Value []byte `protobuf:"bytes,3,opt,name=value,proto3" json:"value,omitempty"`
// contains filtered or unexported fields
}
MorseAuthAccount: * Wraps MorseAuthAccount information to conform to Morse genesis structure * Can represent EITHER an externally owned account OR a module account
func (*MorseAuthAccount) Descriptor
deprecated
func (*MorseAuthAccount) Descriptor() ([]byte, []int)
Deprecated: Use MorseAuthAccount.ProtoReflect.Descriptor instead.
func (*MorseAuthAccount) GetType_ ¶
func (x *MorseAuthAccount) GetType_() string
func (*MorseAuthAccount) GetValue ¶
func (x *MorseAuthAccount) GetValue() []byte
func (*MorseAuthAccount) ProtoMessage ¶
func (*MorseAuthAccount) ProtoMessage()
func (*MorseAuthAccount) ProtoReflect ¶
func (x *MorseAuthAccount) ProtoReflect() protoreflect.Message
func (*MorseAuthAccount) Reset ¶
func (x *MorseAuthAccount) Reset()
func (*MorseAuthAccount) String ¶
func (x *MorseAuthAccount) String() string
type MorseClaimableAccount ¶
type MorseClaimableAccount struct {
// The bech32-encoded address of the Shannon account to which the claimed balance will be minted.
// This field is intended to remain empty until the account has been claimed.
ShannonDestAddress string `protobuf:"bytes,1,opt,name=shannon_dest_address,json=shannonDestAddress,proto3" json:"shannon_dest_address,omitempty"`
// The hex-encoded address of the Morse account whose balance will be claimed.
MorseSrcAddress string `protobuf:"bytes,2,opt,name=morse_src_address,json=morseSrcAddress,proto3" json:"morse_src_address,omitempty"`
// The unstaked upokt tokens (i.e. account balance) available for claiming.
UnstakedBalance *v1beta1.Coin `protobuf:"bytes,5,opt,name=unstaked_balance,json=unstakedBalance,proto3" json:"unstaked_balance,omitempty"`
// The staked tokens associated with a supplier actor which corresponds to this account address.
// DEV_NOTE: A few contextual notes related to Morse:
// - A Supplier is called a Servicer or Node (not a full node) in Morse
// - All Validators are Servicers, not all servicers are Validators
// - Automatically, the top 100 staked Servicers are validator
// - This only accounts for servicer stake balance transition
// TODO_MAINNET(@Olshansk): Develop a strategy for bootstrapping validators in Shannon by working with the cosmos ecosystem
SupplierStake *v1beta1.Coin `protobuf:"bytes,6,opt,name=supplier_stake,json=supplierStake,proto3" json:"supplier_stake,omitempty"`
// The staked tokens associated with an application actor which corresponds to this account address.
ApplicationStake *v1beta1.Coin `protobuf:"bytes,7,opt,name=application_stake,json=applicationStake,proto3" json:"application_stake,omitempty"`
// The Shannon height at which the account was claimed.
// This field is intended to remain empty until the account has been claimed.
ClaimedAtHeight int64 `protobuf:"varint,8,opt,name=claimed_at_height,json=claimedAtHeight,proto3" json:"claimed_at_height,omitempty"`
// contains filtered or unexported fields
}
MorseClaimableAccount is the onchain (persisted) representation of a Morse account which is claimable as part of the Morse -> Shannon migration. They are intended to be created during MorseAccountState import (see: MsgImportMorseClaimableAccount). It is created ONLY ONCE and NEVER deleted (per morse_src_address per network / re-genesis). It is updated ONLY ONCE, when it is claimed (per morse_src_address per network / re-genesis).
func (*MorseClaimableAccount) Descriptor
deprecated
func (*MorseClaimableAccount) Descriptor() ([]byte, []int)
Deprecated: Use MorseClaimableAccount.ProtoReflect.Descriptor instead.
func (*MorseClaimableAccount) GetApplicationStake ¶
func (x *MorseClaimableAccount) GetApplicationStake() *v1beta1.Coin
func (*MorseClaimableAccount) GetClaimedAtHeight ¶
func (x *MorseClaimableAccount) GetClaimedAtHeight() int64
func (*MorseClaimableAccount) GetMorseSrcAddress ¶
func (x *MorseClaimableAccount) GetMorseSrcAddress() string
func (*MorseClaimableAccount) GetShannonDestAddress ¶
func (x *MorseClaimableAccount) GetShannonDestAddress() string
func (*MorseClaimableAccount) GetSupplierStake ¶
func (x *MorseClaimableAccount) GetSupplierStake() *v1beta1.Coin
func (*MorseClaimableAccount) GetUnstakedBalance ¶
func (x *MorseClaimableAccount) GetUnstakedBalance() *v1beta1.Coin
func (*MorseClaimableAccount) ProtoMessage ¶
func (*MorseClaimableAccount) ProtoMessage()
func (*MorseClaimableAccount) ProtoReflect ¶
func (x *MorseClaimableAccount) ProtoReflect() protoreflect.Message
func (*MorseClaimableAccount) Reset ¶
func (x *MorseClaimableAccount) Reset()
func (*MorseClaimableAccount) String ¶
func (x *MorseClaimableAccount) String() string
type MorseModuleAccount ¶ added in v0.1.11
type MorseModuleAccount struct {
// DEV_NOTE: the JSON tag is intentionally cased contrary to convention to match the real-world Morse state export.
BaseAccount *MorseAccount `protobuf:"bytes,1,opt,name=base_account,json=baseAccount,proto3" json:"base_account,omitempty"`
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}
MorseModuleAccount is the module account type for Morse, it wraps a MorseAccount and has a unique name, which is used instead of the address.
func (*MorseModuleAccount) Descriptor
deprecated
added in
v0.1.11
func (*MorseModuleAccount) Descriptor() ([]byte, []int)
Deprecated: Use MorseModuleAccount.ProtoReflect.Descriptor instead.
func (*MorseModuleAccount) GetBaseAccount ¶ added in v0.1.11
func (x *MorseModuleAccount) GetBaseAccount() *MorseAccount
func (*MorseModuleAccount) GetName ¶ added in v0.1.11
func (x *MorseModuleAccount) GetName() string
func (*MorseModuleAccount) ProtoMessage ¶ added in v0.1.11
func (*MorseModuleAccount) ProtoMessage()
func (*MorseModuleAccount) ProtoReflect ¶ added in v0.1.11
func (x *MorseModuleAccount) ProtoReflect() protoreflect.Message
func (*MorseModuleAccount) Reset ¶ added in v0.1.11
func (x *MorseModuleAccount) Reset()
func (*MorseModuleAccount) String ¶ added in v0.1.11
func (x *MorseModuleAccount) String() string
type MorsePos ¶
type MorsePos struct {
Validators []*MorseValidator `protobuf:"bytes,1,rep,name=validators,proto3" json:"validators,omitempty"`
// contains filtered or unexported fields
}
A wrapper around the list of Morse suppliers (aka "validators", "nodes", of "servicers"). It is necessary to conform to the Morse genesis structure.
See: https://github.com/pokt-network/pocket-core/blob/staging/x/nodes/types/genesis.go#L8
func (*MorsePos) Descriptor
deprecated
func (*MorsePos) GetValidators ¶
func (x *MorsePos) GetValidators() []*MorseValidator
func (*MorsePos) ProtoMessage ¶
func (*MorsePos) ProtoMessage()
func (*MorsePos) ProtoReflect ¶
func (x *MorsePos) ProtoReflect() protoreflect.Message
type MorsePublicKey ¶
type MorsePublicKey struct {
Value []byte `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
// contains filtered or unexported fields
}
MorsePublicKey is required to conform to the encoding of the Morse state export. NB: All Morse account public keys will be ed25519 keys by definition.
func (*MorsePublicKey) Descriptor
deprecated
func (*MorsePublicKey) Descriptor() ([]byte, []int)
Deprecated: Use MorsePublicKey.ProtoReflect.Descriptor instead.
func (*MorsePublicKey) GetValue ¶
func (x *MorsePublicKey) GetValue() []byte
func (*MorsePublicKey) ProtoMessage ¶
func (*MorsePublicKey) ProtoMessage()
func (*MorsePublicKey) ProtoReflect ¶
func (x *MorsePublicKey) ProtoReflect() protoreflect.Message
func (*MorsePublicKey) Reset ¶
func (x *MorsePublicKey) Reset()
func (*MorsePublicKey) String ¶
func (x *MorsePublicKey) String() string
type MorseStateExport ¶
type MorseStateExport struct {
// app_hash is the Morse tendermint state hash.
AppHash string `protobuf:"bytes,1,opt,name=app_hash,json=appHash,proto3" json:"app_hash,omitempty"`
// app_state is the entire Morse tendermint application state.
AppState *MorseTendermintAppState `protobuf:"bytes,2,opt,name=app_state,json=appState,proto3" json:"app_state,omitempty"`
// contains filtered or unexported fields
}
MorseStateExport is the data structure that is serialized and output when running:
$ pocket utils export-genesis-for-reset ...
func (*MorseStateExport) Descriptor
deprecated
func (*MorseStateExport) Descriptor() ([]byte, []int)
Deprecated: Use MorseStateExport.ProtoReflect.Descriptor instead.
func (*MorseStateExport) GetAppHash ¶
func (x *MorseStateExport) GetAppHash() string
func (*MorseStateExport) GetAppState ¶
func (x *MorseStateExport) GetAppState() *MorseTendermintAppState
func (*MorseStateExport) ProtoMessage ¶
func (*MorseStateExport) ProtoMessage()
func (*MorseStateExport) ProtoReflect ¶
func (x *MorseStateExport) ProtoReflect() protoreflect.Message
func (*MorseStateExport) Reset ¶
func (x *MorseStateExport) Reset()
func (*MorseStateExport) String ¶
func (x *MorseStateExport) String() string
type MorseTendermintAppState ¶
type MorseTendermintAppState struct {
Application *MorseApplications `protobuf:"bytes,1,opt,name=application,proto3" json:"application,omitempty"`
Auth *MorseAuth `protobuf:"bytes,2,opt,name=auth,proto3" json:"auth,omitempty"`
Pos *MorsePos `protobuf:"bytes,3,opt,name=pos,proto3" json:"pos,omitempty"`
// contains filtered or unexported fields
}
MorseTendermintAppState is the tendermint application state for the Morse tendermint application; not to be confused with the pokt protocol actor. It is constructed in Morse via `PocketCoreApp#ExportAppState()`.
func (*MorseTendermintAppState) Descriptor
deprecated
func (*MorseTendermintAppState) Descriptor() ([]byte, []int)
Deprecated: Use MorseTendermintAppState.ProtoReflect.Descriptor instead.
func (*MorseTendermintAppState) GetApplication ¶
func (x *MorseTendermintAppState) GetApplication() *MorseApplications
func (*MorseTendermintAppState) GetAuth ¶
func (x *MorseTendermintAppState) GetAuth() *MorseAuth
func (*MorseTendermintAppState) GetPos ¶
func (x *MorseTendermintAppState) GetPos() *MorsePos
func (*MorseTendermintAppState) ProtoMessage ¶
func (*MorseTendermintAppState) ProtoMessage()
func (*MorseTendermintAppState) ProtoReflect ¶
func (x *MorseTendermintAppState) ProtoReflect() protoreflect.Message
func (*MorseTendermintAppState) Reset ¶
func (x *MorseTendermintAppState) Reset()
func (*MorseTendermintAppState) String ¶
func (x *MorseTendermintAppState) String() string
type MorseValidator ¶
type MorseValidator struct {
// A binary representation of the address corresponding to a Morse application's ed25519 public key.
Address []byte `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
// The binary representation of a Morse application's ed25519 public key.
PublicKey []byte `protobuf:"bytes,2,opt,name=public_key,json=publicKey,proto3" json:"public_key,omitempty"`
// TODO_MAINNET_MIGRATION(@Olshansk): Should status and/or jailed be considered during the migration, and if so, how?
Jailed bool `protobuf:"varint,3,opt,name=jailed,proto3" json:"jailed,omitempty"`
Status int32 `protobuf:"varint,4,opt,name=status,proto3" json:"status,omitempty"`
// The string representation of the BigInt amount of upokt.
StakedTokens string `protobuf:"bytes,7,opt,name=staked_tokens,json=stakedTokens,proto3" json:"staked_tokens,omitempty"`
// contains filtered or unexported fields
}
MorseValidator is a subset of the Morse ProtoValidator type. It encapsulates the minimum information required to import Morse suppliers (aka "servicers" or "validators").
See: https://github.com/pokt-network/pocket-core/blob/staging/proto/x/pos/types.proto#L16
func (*MorseValidator) Descriptor
deprecated
func (*MorseValidator) Descriptor() ([]byte, []int)
Deprecated: Use MorseValidator.ProtoReflect.Descriptor instead.
func (*MorseValidator) GetAddress ¶
func (x *MorseValidator) GetAddress() []byte
func (*MorseValidator) GetJailed ¶
func (x *MorseValidator) GetJailed() bool
func (*MorseValidator) GetPublicKey ¶
func (x *MorseValidator) GetPublicKey() []byte
func (*MorseValidator) GetStakedTokens ¶
func (x *MorseValidator) GetStakedTokens() string
func (*MorseValidator) GetStatus ¶
func (x *MorseValidator) GetStatus() int32
func (*MorseValidator) ProtoMessage ¶
func (*MorseValidator) ProtoMessage()
func (*MorseValidator) ProtoReflect ¶
func (x *MorseValidator) ProtoReflect() protoreflect.Message
func (*MorseValidator) Reset ¶
func (x *MorseValidator) Reset()
func (*MorseValidator) String ¶
func (x *MorseValidator) String() string
type MsgClaimMorseAccount ¶
type MsgClaimMorseAccount struct {
// The bech32-encoded address of the Shannon account which is signing for this message.
// This account is liable for any fees incurred by violating the constraints of Morse
// account/actor claim message fee waiving; the tx contains ONE OR MORE Morse account/actor
// claim messages AND has EXACTLY ONE signer.
ShannonSigningAddress string `` /* 126-byte string literal not displayed */
// The bech32-encoded address of the Shannon account to which the claimed balance will be minted.
ShannonDestAddress string `protobuf:"bytes,1,opt,name=shannon_dest_address,json=shannonDestAddress,proto3" json:"shannon_dest_address,omitempty"`
// The ed25519 public key of the morse account with morse_src_address.
MorsePublicKey []byte `protobuf:"bytes,5,opt,name=morse_public_key,json=morsePublicKey,proto3" json:"morse_public_key,omitempty"`
// The hex-encoded signature, by the Morse account, of this message (where this field is nil).
// I.e.: morse_signature = private_key.sign(marshal(MsgClaimMorseAccount{morse_signature: nil, ...}))
MorseSignature []byte `protobuf:"bytes,3,opt,name=morse_signature,json=morseSignature,proto3" json:"morse_signature,omitempty"`
// contains filtered or unexported fields
}
MsgClaimMorseAccount is used to execute a claim (one-time minting of tokens on Shannon), of the balance of the given Morse account, according to the on-chain MorseClaimableAccounts, to the balance of the given Shannon account.
NOTE: - The Shannon account specified must be the message signer - Authz grants MAY be used to delegate claiming authority to other Shannon accounts
func (*MsgClaimMorseAccount) Descriptor
deprecated
func (*MsgClaimMorseAccount) Descriptor() ([]byte, []int)
Deprecated: Use MsgClaimMorseAccount.ProtoReflect.Descriptor instead.
func (*MsgClaimMorseAccount) GetMorsePublicKey ¶ added in v0.1.2
func (x *MsgClaimMorseAccount) GetMorsePublicKey() []byte
func (*MsgClaimMorseAccount) GetMorseSignature ¶
func (x *MsgClaimMorseAccount) GetMorseSignature() []byte
func (*MsgClaimMorseAccount) GetShannonDestAddress ¶
func (x *MsgClaimMorseAccount) GetShannonDestAddress() string
func (*MsgClaimMorseAccount) GetShannonSigningAddress ¶ added in v0.1.2
func (x *MsgClaimMorseAccount) GetShannonSigningAddress() string
func (*MsgClaimMorseAccount) ProtoMessage ¶
func (*MsgClaimMorseAccount) ProtoMessage()
func (*MsgClaimMorseAccount) ProtoReflect ¶
func (x *MsgClaimMorseAccount) ProtoReflect() protoreflect.Message
func (*MsgClaimMorseAccount) Reset ¶
func (x *MsgClaimMorseAccount) Reset()
func (*MsgClaimMorseAccount) String ¶
func (x *MsgClaimMorseAccount) String() string
type MsgClaimMorseAccountResponse ¶
type MsgClaimMorseAccountResponse struct {
// The hex-encoded address of the Morse account whose balance will be claimed.
// E.g.: 00f9900606fa3d5c9179fc0c8513078a53a2073e
MorseSrcAddress string `protobuf:"bytes,1,opt,name=morse_src_address,json=morseSrcAddress,proto3" json:"morse_src_address,omitempty"`
// The balance which was claimed.
ClaimedBalance *v1beta1.Coin `protobuf:"bytes,2,opt,name=claimed_balance,json=claimedBalance,proto3" json:"claimed_balance,omitempty"`
// The session end height (on Shannon) in which the claim was committed (i.e. claimed).
SessionEndHeight int64 `protobuf:"varint,3,opt,name=session_end_height,json=sessionEndHeight,proto3" json:"session_end_height,omitempty"`
// contains filtered or unexported fields
}
MsgClaimMorseAccountResponse is returned from MsgClaimMorseAccount. It indicates the morse_src_address of the account which was claimed, the total balance claimed, and the height at which the claim was committed.
func (*MsgClaimMorseAccountResponse) Descriptor
deprecated
func (*MsgClaimMorseAccountResponse) Descriptor() ([]byte, []int)
Deprecated: Use MsgClaimMorseAccountResponse.ProtoReflect.Descriptor instead.
func (*MsgClaimMorseAccountResponse) GetClaimedBalance ¶
func (x *MsgClaimMorseAccountResponse) GetClaimedBalance() *v1beta1.Coin
func (*MsgClaimMorseAccountResponse) GetMorseSrcAddress ¶
func (x *MsgClaimMorseAccountResponse) GetMorseSrcAddress() string
func (*MsgClaimMorseAccountResponse) GetSessionEndHeight ¶
func (x *MsgClaimMorseAccountResponse) GetSessionEndHeight() int64
func (*MsgClaimMorseAccountResponse) ProtoMessage ¶
func (*MsgClaimMorseAccountResponse) ProtoMessage()
func (*MsgClaimMorseAccountResponse) ProtoReflect ¶
func (x *MsgClaimMorseAccountResponse) ProtoReflect() protoreflect.Message
func (*MsgClaimMorseAccountResponse) Reset ¶
func (x *MsgClaimMorseAccountResponse) Reset()
func (*MsgClaimMorseAccountResponse) String ¶
func (x *MsgClaimMorseAccountResponse) String() string
type MsgClaimMorseApplication ¶
type MsgClaimMorseApplication struct {
// The bech32-encoded address of the Shannon account which is signing for this message.
// This account is liable for any fees incurred by violating the constraints of Morse
// account/actor claim message fee waiving; the tx contains ONE OR MORE Morse account/actor
// claim messages AND has EXACTLY ONE signer.
ShannonSigningAddress string `` /* 126-byte string literal not displayed */
// The bech32-encoded address of the Shannon account to which the claimed tokens
// will be minted and from which the application will be staked.
ShannonDestAddress string `protobuf:"bytes,1,opt,name=shannon_dest_address,json=shannonDestAddress,proto3" json:"shannon_dest_address,omitempty"`
// The ed25519 public key of the morse account with morse_src_address.
MorsePublicKey []byte `protobuf:"bytes,6,opt,name=morse_public_key,json=morsePublicKey,proto3" json:"morse_public_key,omitempty"`
// The hex-encoded signature, by the Morse account, of this message (where this field is nil).
// I.e.: morse_signature = private_key.sign(marshal(MsgClaimMorseAccount{morse_signature: nil, ...}))
MorseSignature []byte `protobuf:"bytes,3,opt,name=morse_signature,json=morseSignature,proto3" json:"morse_signature,omitempty"`
// The services this application is staked to request service for.
// NOTE: This is not a repeated field, as in MsgStakeApplication,
// because an application can only be staked for one service.
ServiceConfig *shared.ApplicationServiceConfig `protobuf:"bytes,4,opt,name=service_config,json=serviceConfig,proto3" json:"service_config,omitempty"`
// contains filtered or unexported fields
}
MsgClaimMorseApplication is used to execute a claim (one-time minting of tokens on Shannon), of the total tokens owned by the given Morse account, according to the on-chain MorseClaimableAccounts, to the balance of the given Shannon account, followed by staking that Shannon account as an application for the given service_config and the same stake amount as on Morse.
func (*MsgClaimMorseApplication) Descriptor
deprecated
func (*MsgClaimMorseApplication) Descriptor() ([]byte, []int)
Deprecated: Use MsgClaimMorseApplication.ProtoReflect.Descriptor instead.
func (*MsgClaimMorseApplication) GetMorsePublicKey ¶ added in v0.1.2
func (x *MsgClaimMorseApplication) GetMorsePublicKey() []byte
func (*MsgClaimMorseApplication) GetMorseSignature ¶
func (x *MsgClaimMorseApplication) GetMorseSignature() []byte
func (*MsgClaimMorseApplication) GetServiceConfig ¶
func (x *MsgClaimMorseApplication) GetServiceConfig() *shared.ApplicationServiceConfig
func (*MsgClaimMorseApplication) GetShannonDestAddress ¶
func (x *MsgClaimMorseApplication) GetShannonDestAddress() string
func (*MsgClaimMorseApplication) GetShannonSigningAddress ¶ added in v0.1.2
func (x *MsgClaimMorseApplication) GetShannonSigningAddress() string
func (*MsgClaimMorseApplication) ProtoMessage ¶
func (*MsgClaimMorseApplication) ProtoMessage()
func (*MsgClaimMorseApplication) ProtoReflect ¶
func (x *MsgClaimMorseApplication) ProtoReflect() protoreflect.Message
func (*MsgClaimMorseApplication) Reset ¶
func (x *MsgClaimMorseApplication) Reset()
func (*MsgClaimMorseApplication) String ¶
func (x *MsgClaimMorseApplication) String() string
type MsgClaimMorseApplicationResponse ¶
type MsgClaimMorseApplicationResponse struct {
// The hex-encoded address of the Morse account whose balance will be claimed.
MorseSrcAddress string `protobuf:"bytes,1,opt,name=morse_src_address,json=morseSrcAddress,proto3" json:"morse_src_address,omitempty"`
// The unstaked balance which was claimed.
ClaimedBalance *v1beta1.Coin `protobuf:"bytes,2,opt,name=claimed_balance,json=claimedBalance,proto3" json:"claimed_balance,omitempty"`
// The stake of the application which was staked as a result of the claim.
// If the application was already staked, this amount does not include the initial stake (i.e. only the portion which was "claimed").
ClaimedApplicationStake *v1beta1.Coin `protobuf:"bytes,3,opt,name=claimedApplicationStake,proto3" json:"claimedApplicationStake,omitempty"`
// The session end height (on Shannon) in which the claim was committed (i.e. claimed).
SessionEndHeight int64 `protobuf:"varint,4,opt,name=session_end_height,json=sessionEndHeight,proto3" json:"session_end_height,omitempty"`
// The application which was staked as a result of the claim.
Application *application.Application `protobuf:"bytes,5,opt,name=application,proto3" json:"application,omitempty"`
// contains filtered or unexported fields
}
MsgClaimMorseApplicationResponse is returned from MsgClaimMorseApplication. It indicates the morse_src_address of the account which was claimed, the unstaked balance claimed, the application stake, and the height at which the claim was committed.
func (*MsgClaimMorseApplicationResponse) Descriptor
deprecated
func (*MsgClaimMorseApplicationResponse) Descriptor() ([]byte, []int)
Deprecated: Use MsgClaimMorseApplicationResponse.ProtoReflect.Descriptor instead.
func (*MsgClaimMorseApplicationResponse) GetApplication ¶
func (x *MsgClaimMorseApplicationResponse) GetApplication() *application.Application
func (*MsgClaimMorseApplicationResponse) GetClaimedApplicationStake ¶
func (x *MsgClaimMorseApplicationResponse) GetClaimedApplicationStake() *v1beta1.Coin
func (*MsgClaimMorseApplicationResponse) GetClaimedBalance ¶
func (x *MsgClaimMorseApplicationResponse) GetClaimedBalance() *v1beta1.Coin
func (*MsgClaimMorseApplicationResponse) GetMorseSrcAddress ¶
func (x *MsgClaimMorseApplicationResponse) GetMorseSrcAddress() string
func (*MsgClaimMorseApplicationResponse) GetSessionEndHeight ¶
func (x *MsgClaimMorseApplicationResponse) GetSessionEndHeight() int64
func (*MsgClaimMorseApplicationResponse) ProtoMessage ¶
func (*MsgClaimMorseApplicationResponse) ProtoMessage()
func (*MsgClaimMorseApplicationResponse) ProtoReflect ¶
func (x *MsgClaimMorseApplicationResponse) ProtoReflect() protoreflect.Message
func (*MsgClaimMorseApplicationResponse) Reset ¶
func (x *MsgClaimMorseApplicationResponse) Reset()
func (*MsgClaimMorseApplicationResponse) String ¶
func (x *MsgClaimMorseApplicationResponse) String() string
type MsgClaimMorseSupplier ¶
type MsgClaimMorseSupplier struct {
// The bech32-encoded address of the Shannon account which is signing for this message.
// This account is liable for any fees incurred by violating the constraints of Morse
// account/actor claim message fee waiving; the tx contains ONE OR MORE Morse account/actor
// claim messages AND has EXACTLY ONE signer.
ShannonSigningAddress string `` /* 126-byte string literal not displayed */
// The bech32-encoded address of the Shannon account to which the claimed tokens
// will be minted and which become the supplier owner.
// See: https://dev.poktroll.com/operate/configs/supplier_staking_config#staking-types.
ShannonOwnerAddress string `protobuf:"bytes,1,opt,name=shannon_owner_address,json=shannonOwnerAddress,proto3" json:"shannon_owner_address,omitempty"`
// The bech32-encoded address of the Shannon account to which will become the supplier operator.
// If empty, the shannon_owner_address will be used.
// See: https://dev.poktroll.com/operate/configs/supplier_staking_config#staking-types.
ShannonOperatorAddress string `` /* 129-byte string literal not displayed */
// The ed25519 public key of the morse account with morse_src_address.
MorsePublicKey []byte `protobuf:"bytes,7,opt,name=morse_public_key,json=morsePublicKey,proto3" json:"morse_public_key,omitempty"`
// TODO_MAINNET(@bryanchriswhite, #1126): Rename to `morse_src_owner_signature`.
MorseSignature []byte `protobuf:"bytes,4,opt,name=morse_signature,json=morseSignature,proto3" json:"morse_signature,omitempty"`
// The services this supplier is staked to provide service for.
Services []*shared.SupplierServiceConfig `protobuf:"bytes,5,rep,name=services,proto3" json:"services,omitempty"`
// contains filtered or unexported fields
}
MsgClaimMorseSupplier is used to: - Execute a one-time minting of tokens on Shannon based on tokens owned by the given Morse account - Use the on-chain MorseClaimableAccounts for verification - Credit the minted tokens to the balance of the given Shannon account - Automatically stake that Shannon account as a supplier
NOTE: The supplier module's staking fee parameter (at the time of claiming) is deducted from the claimed balance.
func (*MsgClaimMorseSupplier) Descriptor
deprecated
func (*MsgClaimMorseSupplier) Descriptor() ([]byte, []int)
Deprecated: Use MsgClaimMorseSupplier.ProtoReflect.Descriptor instead.
func (*MsgClaimMorseSupplier) GetMorsePublicKey ¶ added in v0.1.2
func (x *MsgClaimMorseSupplier) GetMorsePublicKey() []byte
func (*MsgClaimMorseSupplier) GetMorseSignature ¶
func (x *MsgClaimMorseSupplier) GetMorseSignature() []byte
func (*MsgClaimMorseSupplier) GetServices ¶
func (x *MsgClaimMorseSupplier) GetServices() []*shared.SupplierServiceConfig
func (*MsgClaimMorseSupplier) GetShannonOperatorAddress ¶
func (x *MsgClaimMorseSupplier) GetShannonOperatorAddress() string
func (*MsgClaimMorseSupplier) GetShannonOwnerAddress ¶
func (x *MsgClaimMorseSupplier) GetShannonOwnerAddress() string
func (*MsgClaimMorseSupplier) GetShannonSigningAddress ¶ added in v0.1.2
func (x *MsgClaimMorseSupplier) GetShannonSigningAddress() string
func (*MsgClaimMorseSupplier) ProtoMessage ¶
func (*MsgClaimMorseSupplier) ProtoMessage()
func (*MsgClaimMorseSupplier) ProtoReflect ¶
func (x *MsgClaimMorseSupplier) ProtoReflect() protoreflect.Message
func (*MsgClaimMorseSupplier) Reset ¶
func (x *MsgClaimMorseSupplier) Reset()
func (*MsgClaimMorseSupplier) String ¶
func (x *MsgClaimMorseSupplier) String() string
type MsgClaimMorseSupplierResponse ¶
type MsgClaimMorseSupplierResponse struct {
// The hex-encoded address of the Morse account whose balance was claimed.
// E.g.: 00f9900606fa3d5c9179fc0c8513078a53a2073e
MorseSrcAddress string `protobuf:"bytes,1,opt,name=morse_src_address,json=morseSrcAddress,proto3" json:"morse_src_address,omitempty"`
// The unstaked balance which was claimed.
ClaimedBalance *v1beta1.Coin `protobuf:"bytes,2,opt,name=claimed_balance,json=claimedBalance,proto3" json:"claimed_balance,omitempty"`
ClaimedSupplierStake *v1beta1.Coin `protobuf:"bytes,3,opt,name=claimed_supplier_stake,json=claimedSupplierStake,proto3" json:"claimed_supplier_stake,omitempty"`
// The session end height (on Shannon) in which the claim was committed (i.e. claimed).
SessionEndHeight int64 `protobuf:"varint,4,opt,name=session_end_height,json=sessionEndHeight,proto3" json:"session_end_height,omitempty"`
// The supplier which was staked as a result of the claim.
Supplier *shared.Supplier `protobuf:"bytes,5,opt,name=supplier,proto3" json:"supplier,omitempty"`
// contains filtered or unexported fields
}
MsgClaimMorseSupplierResponse is returned from MsgClaimMorseSupplier. It indicates: - The morse_src_address of the claimed account - The unstaked balance claimed - The session end height in which the claim was committed - The staked supplier
func (*MsgClaimMorseSupplierResponse) Descriptor
deprecated
func (*MsgClaimMorseSupplierResponse) Descriptor() ([]byte, []int)
Deprecated: Use MsgClaimMorseSupplierResponse.ProtoReflect.Descriptor instead.
func (*MsgClaimMorseSupplierResponse) GetClaimedBalance ¶
func (x *MsgClaimMorseSupplierResponse) GetClaimedBalance() *v1beta1.Coin
func (*MsgClaimMorseSupplierResponse) GetClaimedSupplierStake ¶
func (x *MsgClaimMorseSupplierResponse) GetClaimedSupplierStake() *v1beta1.Coin
func (*MsgClaimMorseSupplierResponse) GetMorseSrcAddress ¶
func (x *MsgClaimMorseSupplierResponse) GetMorseSrcAddress() string
func (*MsgClaimMorseSupplierResponse) GetSessionEndHeight ¶
func (x *MsgClaimMorseSupplierResponse) GetSessionEndHeight() int64
func (*MsgClaimMorseSupplierResponse) GetSupplier ¶
func (x *MsgClaimMorseSupplierResponse) GetSupplier() *shared.Supplier
func (*MsgClaimMorseSupplierResponse) ProtoMessage ¶
func (*MsgClaimMorseSupplierResponse) ProtoMessage()
func (*MsgClaimMorseSupplierResponse) ProtoReflect ¶
func (x *MsgClaimMorseSupplierResponse) ProtoReflect() protoreflect.Message
func (*MsgClaimMorseSupplierResponse) Reset ¶
func (x *MsgClaimMorseSupplierResponse) Reset()
func (*MsgClaimMorseSupplierResponse) String ¶
func (x *MsgClaimMorseSupplierResponse) String() string
type MsgClient ¶
type MsgClient interface {
// UpdateParams defines a (governance) operation for updating the module
// parameters. The authority defaults to the x/gov module account.
UpdateParams(ctx context.Context, in *MsgUpdateParams, opts ...grpc.CallOption) (*MsgUpdateParamsResponse, error)
ImportMorseClaimableAccounts(ctx context.Context, in *MsgImportMorseClaimableAccounts, opts ...grpc.CallOption) (*MsgImportMorseClaimableAccountsResponse, error)
ClaimMorseAccount(ctx context.Context, in *MsgClaimMorseAccount, opts ...grpc.CallOption) (*MsgClaimMorseAccountResponse, error)
ClaimMorseApplication(ctx context.Context, in *MsgClaimMorseApplication, opts ...grpc.CallOption) (*MsgClaimMorseApplicationResponse, error)
ClaimMorseSupplier(ctx context.Context, in *MsgClaimMorseSupplier, opts ...grpc.CallOption) (*MsgClaimMorseSupplierResponse, error)
RecoverMorseAccount(ctx context.Context, in *MsgRecoverMorseAccount, opts ...grpc.CallOption) (*MsgRecoverMorseAccountResponse, error)
}
MsgClient is the client API for Msg service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
Msg defines the Msg service.
func NewMsgClient ¶
func NewMsgClient(cc grpc.ClientConnInterface) MsgClient
type MsgImportMorseClaimableAccounts ¶
type MsgImportMorseClaimableAccounts struct {
// authority is the address that controls the module (defaults to x/gov unless overwritten).
Authority string `protobuf:"bytes,1,opt,name=authority,proto3" json:"authority,omitempty"`
// the account state derived from the Morse state export and the `pocketd tx migration collect-morse-accounts` command.
MorseAccountState *MorseAccountState `protobuf:"bytes,2,opt,name=morse_account_state,json=morseAccountState,proto3" json:"morse_account_state,omitempty"`
// Additional documentation:
// - pocket util export-genesis-for-migration --help
// - pocketd tx migration collect-morse-accounts --help
MorseAccountStateHash []byte `` /* 128-byte string literal not displayed */
// contains filtered or unexported fields
}
MsgImportMorseClaimableAccounts is used to create the on-chain MorseClaimableAccounts ONLY AND EXACTLY ONCE (per network / re-genesis).
func (*MsgImportMorseClaimableAccounts) Descriptor
deprecated
func (*MsgImportMorseClaimableAccounts) Descriptor() ([]byte, []int)
Deprecated: Use MsgImportMorseClaimableAccounts.ProtoReflect.Descriptor instead.
func (*MsgImportMorseClaimableAccounts) GetAuthority ¶
func (x *MsgImportMorseClaimableAccounts) GetAuthority() string
func (*MsgImportMorseClaimableAccounts) GetMorseAccountState ¶
func (x *MsgImportMorseClaimableAccounts) GetMorseAccountState() *MorseAccountState
func (*MsgImportMorseClaimableAccounts) GetMorseAccountStateHash ¶
func (x *MsgImportMorseClaimableAccounts) GetMorseAccountStateHash() []byte
func (*MsgImportMorseClaimableAccounts) ProtoMessage ¶
func (*MsgImportMorseClaimableAccounts) ProtoMessage()
func (*MsgImportMorseClaimableAccounts) ProtoReflect ¶
func (x *MsgImportMorseClaimableAccounts) ProtoReflect() protoreflect.Message
func (*MsgImportMorseClaimableAccounts) Reset ¶
func (x *MsgImportMorseClaimableAccounts) Reset()
func (*MsgImportMorseClaimableAccounts) String ¶
func (x *MsgImportMorseClaimableAccounts) String() string
type MsgImportMorseClaimableAccountsResponse ¶
type MsgImportMorseClaimableAccountsResponse struct {
// On-chain computed sha256 hash of the morse_account_state provided in the corresponding MsgCreateMorseAccountState.
StateHash []byte `protobuf:"bytes,1,opt,name=state_hash,json=stateHash,proto3" json:"state_hash,omitempty"`
// Number of claimable accounts (EOAs) collected from Morse state export.
NumAccounts uint64 `protobuf:"varint,2,opt,name=num_accounts,json=numAccounts,proto3" json:"num_accounts,omitempty"`
// contains filtered or unexported fields
}
MsgImportMorseClaimableAccountsResponse is returned from MsgImportMorseClaimableAccounts. It indicates the canonical hash of the imported MorseAccountState, and the number of claimable accounts which were imported.
func (*MsgImportMorseClaimableAccountsResponse) Descriptor
deprecated
func (*MsgImportMorseClaimableAccountsResponse) Descriptor() ([]byte, []int)
Deprecated: Use MsgImportMorseClaimableAccountsResponse.ProtoReflect.Descriptor instead.
func (*MsgImportMorseClaimableAccountsResponse) GetNumAccounts ¶
func (x *MsgImportMorseClaimableAccountsResponse) GetNumAccounts() uint64
func (*MsgImportMorseClaimableAccountsResponse) GetStateHash ¶
func (x *MsgImportMorseClaimableAccountsResponse) GetStateHash() []byte
func (*MsgImportMorseClaimableAccountsResponse) ProtoMessage ¶
func (*MsgImportMorseClaimableAccountsResponse) ProtoMessage()
func (*MsgImportMorseClaimableAccountsResponse) ProtoReflect ¶
func (x *MsgImportMorseClaimableAccountsResponse) ProtoReflect() protoreflect.Message
func (*MsgImportMorseClaimableAccountsResponse) Reset ¶
func (x *MsgImportMorseClaimableAccountsResponse) Reset()
func (*MsgImportMorseClaimableAccountsResponse) String ¶
func (x *MsgImportMorseClaimableAccountsResponse) String() string
type MsgRecoverMorseAccount ¶ added in v0.1.11
type MsgRecoverMorseAccount struct {
// The bech32-encoded address of the migration module authority account ("gov" module address by default).
// ONLY the authority, or its delegates, MAY recover Morse recoverable accounts.
Authority string `protobuf:"bytes,1,opt,name=authority,proto3" json:"authority,omitempty"`
// The bech32-encoded address of the Shannon account to which the Morse account's stake(s) and/or
// balance(s) will be minted (recovered) as liquid Shannon tokens.
ShannonDestAddress string `protobuf:"bytes,2,opt,name=shannon_dest_address,json=shannonDestAddress,proto3" json:"shannon_dest_address,omitempty"`
// EITHER:
// - The hex-encoded address of the recoverable Morse account whose stake(s) and/or balance(s) will be recovered.
// This address MAY be invalid but NEVER empty.
// E.g.: 00f9900606fa3d5c9179fc0c8513078a53a2073e
// - The name of a Morse module account whose balance will be recovered.
// E.g. "dao" or "fee-collector"
MorseSrcAddress string `protobuf:"bytes,3,opt,name=morse_src_address,json=morseSrcAddress,proto3" json:"morse_src_address,omitempty"`
// contains filtered or unexported fields
}
MsgRecoverMorseAccount is used to: - Execute a one-time minting of tokens on Shannon based on tokens owned by the given Morse account - Credit the minted tokens to the balance of the given Shannon account - Migrate unclaimable staked and liquid Morse tokens as liquid Shannon tokens It MAY ONLY be executed by the authority, and is ONLY intended for use on accounts with invalid addresses and/or known lost private keys.
func (*MsgRecoverMorseAccount) Descriptor
deprecated
added in
v0.1.11
func (*MsgRecoverMorseAccount) Descriptor() ([]byte, []int)
Deprecated: Use MsgRecoverMorseAccount.ProtoReflect.Descriptor instead.
func (*MsgRecoverMorseAccount) GetAuthority ¶ added in v0.1.11
func (x *MsgRecoverMorseAccount) GetAuthority() string
func (*MsgRecoverMorseAccount) GetMorseSrcAddress ¶ added in v0.1.11
func (x *MsgRecoverMorseAccount) GetMorseSrcAddress() string
func (*MsgRecoverMorseAccount) GetShannonDestAddress ¶ added in v0.1.11
func (x *MsgRecoverMorseAccount) GetShannonDestAddress() string
func (*MsgRecoverMorseAccount) ProtoMessage ¶ added in v0.1.11
func (*MsgRecoverMorseAccount) ProtoMessage()
func (*MsgRecoverMorseAccount) ProtoReflect ¶ added in v0.1.11
func (x *MsgRecoverMorseAccount) ProtoReflect() protoreflect.Message
func (*MsgRecoverMorseAccount) Reset ¶ added in v0.1.11
func (x *MsgRecoverMorseAccount) Reset()
func (*MsgRecoverMorseAccount) String ¶ added in v0.1.11
func (x *MsgRecoverMorseAccount) String() string
type MsgRecoverMorseAccountResponse ¶ added in v0.1.11
type MsgRecoverMorseAccountResponse struct {
// EITHER:
// - The hex-encoded address of the Morse account whose stake(s) and/or balances were recovered.
// This address MAY be invalid but NEVER empty.
// E.g.: 00f9900606fa3d5c9179fc0c8513078a53a2073e
// - The name of a Morse module account whose balance was recovered.
// E.g. "dao" or "fee-collector"
MorseSrcAddress string `protobuf:"bytes,1,opt,name=morse_src_address,json=morseSrcAddress,proto3" json:"morse_src_address,omitempty"`
// The sum of any unstaked and staked balances which were recovered.
RecoveredBalance *v1beta1.Coin `protobuf:"bytes,2,opt,name=recovered_balance,json=recoveredBalance,proto3" json:"recovered_balance,omitempty"`
// The session end height (on Shannon) in which the recovery was committed (i.e. recovered).
SessionEndHeight int64 `protobuf:"varint,3,opt,name=session_end_height,json=sessionEndHeight,proto3" json:"session_end_height,omitempty"`
// The bech32-encoded address of the Shannon account to which the Morse account's stake(s) and/or
// balance(s) were recovered.
ShannonDestAddress string `protobuf:"bytes,4,opt,name=shannon_dest_address,json=shannonDestAddress,proto3" json:"shannon_dest_address,omitempty"`
// contains filtered or unexported fields
}
MsgRecoverMorseAccountResponse is returned from MsgRecoverMorseAccount. It indicates: - The morse_src_address of the recovered account - The sum of any actor stakes and unstaked balance recovered - The session end height in which the recovery was committed
func (*MsgRecoverMorseAccountResponse) Descriptor
deprecated
added in
v0.1.11
func (*MsgRecoverMorseAccountResponse) Descriptor() ([]byte, []int)
Deprecated: Use MsgRecoverMorseAccountResponse.ProtoReflect.Descriptor instead.
func (*MsgRecoverMorseAccountResponse) GetMorseSrcAddress ¶ added in v0.1.11
func (x *MsgRecoverMorseAccountResponse) GetMorseSrcAddress() string
func (*MsgRecoverMorseAccountResponse) GetRecoveredBalance ¶ added in v0.1.11
func (x *MsgRecoverMorseAccountResponse) GetRecoveredBalance() *v1beta1.Coin
func (*MsgRecoverMorseAccountResponse) GetSessionEndHeight ¶ added in v0.1.11
func (x *MsgRecoverMorseAccountResponse) GetSessionEndHeight() int64
func (*MsgRecoverMorseAccountResponse) GetShannonDestAddress ¶ added in v0.1.11
func (x *MsgRecoverMorseAccountResponse) GetShannonDestAddress() string
func (*MsgRecoverMorseAccountResponse) ProtoMessage ¶ added in v0.1.11
func (*MsgRecoverMorseAccountResponse) ProtoMessage()
func (*MsgRecoverMorseAccountResponse) ProtoReflect ¶ added in v0.1.11
func (x *MsgRecoverMorseAccountResponse) ProtoReflect() protoreflect.Message
func (*MsgRecoverMorseAccountResponse) Reset ¶ added in v0.1.11
func (x *MsgRecoverMorseAccountResponse) Reset()
func (*MsgRecoverMorseAccountResponse) String ¶ added in v0.1.11
func (x *MsgRecoverMorseAccountResponse) String() string
type MsgServer ¶
type MsgServer interface {
// UpdateParams defines a (governance) operation for updating the module
// parameters. The authority defaults to the x/gov module account.
UpdateParams(context.Context, *MsgUpdateParams) (*MsgUpdateParamsResponse, error)
ImportMorseClaimableAccounts(context.Context, *MsgImportMorseClaimableAccounts) (*MsgImportMorseClaimableAccountsResponse, error)
ClaimMorseAccount(context.Context, *MsgClaimMorseAccount) (*MsgClaimMorseAccountResponse, error)
ClaimMorseApplication(context.Context, *MsgClaimMorseApplication) (*MsgClaimMorseApplicationResponse, error)
ClaimMorseSupplier(context.Context, *MsgClaimMorseSupplier) (*MsgClaimMorseSupplierResponse, error)
RecoverMorseAccount(context.Context, *MsgRecoverMorseAccount) (*MsgRecoverMorseAccountResponse, error)
// contains filtered or unexported methods
}
MsgServer is the server API for Msg service. All implementations must embed UnimplementedMsgServer for forward compatibility
Msg defines the Msg service.
type MsgUpdateParams ¶
type MsgUpdateParams struct {
// authority is the address that controls the module (defaults to x/gov unless overwritten).
Authority string `protobuf:"bytes,1,opt,name=authority,proto3" json:"authority,omitempty"`
// NOTE: All parameters must be supplied.
Params *Params `protobuf:"bytes,2,opt,name=params,proto3" json:"params,omitempty"`
// contains filtered or unexported fields
}
MsgUpdateParams is the Msg/UpdateParams request type.
func (*MsgUpdateParams) Descriptor
deprecated
func (*MsgUpdateParams) Descriptor() ([]byte, []int)
Deprecated: Use MsgUpdateParams.ProtoReflect.Descriptor instead.
func (*MsgUpdateParams) GetAuthority ¶
func (x *MsgUpdateParams) GetAuthority() string
func (*MsgUpdateParams) GetParams ¶
func (x *MsgUpdateParams) GetParams() *Params
func (*MsgUpdateParams) ProtoMessage ¶
func (*MsgUpdateParams) ProtoMessage()
func (*MsgUpdateParams) ProtoReflect ¶
func (x *MsgUpdateParams) ProtoReflect() protoreflect.Message
func (*MsgUpdateParams) Reset ¶
func (x *MsgUpdateParams) Reset()
func (*MsgUpdateParams) String ¶
func (x *MsgUpdateParams) String() string
type MsgUpdateParamsResponse ¶
type MsgUpdateParamsResponse struct {
// contains filtered or unexported fields
}
MsgUpdateParamsResponse defines the response structure for executing a MsgUpdateParams message.
func (*MsgUpdateParamsResponse) Descriptor
deprecated
func (*MsgUpdateParamsResponse) Descriptor() ([]byte, []int)
Deprecated: Use MsgUpdateParamsResponse.ProtoReflect.Descriptor instead.
func (*MsgUpdateParamsResponse) ProtoMessage ¶
func (*MsgUpdateParamsResponse) ProtoMessage()
func (*MsgUpdateParamsResponse) ProtoReflect ¶
func (x *MsgUpdateParamsResponse) ProtoReflect() protoreflect.Message
func (*MsgUpdateParamsResponse) Reset ¶
func (x *MsgUpdateParamsResponse) Reset()
func (*MsgUpdateParamsResponse) String ¶
func (x *MsgUpdateParamsResponse) String() string
type Params ¶
type Params struct {
// waive_morse_claim_gas_fees is a feature flag used to enable/disable the waiving of gas fees for txs that:
// - Contain exactly one secp256k1 signer
// - Contain at least one Morse account/actor claim messages
// - Do not contain any other messages other than Morse account/actor claim messages
WaiveMorseClaimGasFees bool `` /* 134-byte string literal not displayed */
// allow_morse_account_import_overwrite is a feature flag which is used to enable/disable
// the re-importing of Morse claimable accounts by the authority.
// Such a re-import will:
// - Ignore (i.e. leave) ALL claimed destination Shannon accounts/actors
// - Delete ALL existing onchain MorseClaimableAccounts
// - Import the new set of MorseClaimableAccounts from the provided MsgImportMorseClaimableAccounts
// This is useful for testing purposes, but should be disabled in production.
AllowMorseAccountImportOverwrite bool `` /* 164-byte string literal not displayed */
// contains filtered or unexported fields
}
Params defines the parameters for the module.
func (*Params) Descriptor
deprecated
func (*Params) GetAllowMorseAccountImportOverwrite ¶ added in v0.1.11
func (*Params) GetWaiveMorseClaimGasFees ¶ added in v0.1.2
func (*Params) ProtoMessage ¶
func (*Params) ProtoMessage()
func (*Params) ProtoReflect ¶
func (x *Params) ProtoReflect() protoreflect.Message
type QueryAllMorseClaimableAccountRequest ¶
type QueryAllMorseClaimableAccountRequest struct {
Pagination *v1beta1.PageRequest `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"`
// contains filtered or unexported fields
}
func (*QueryAllMorseClaimableAccountRequest) Descriptor
deprecated
func (*QueryAllMorseClaimableAccountRequest) Descriptor() ([]byte, []int)
Deprecated: Use QueryAllMorseClaimableAccountRequest.ProtoReflect.Descriptor instead.
func (*QueryAllMorseClaimableAccountRequest) GetPagination ¶
func (x *QueryAllMorseClaimableAccountRequest) GetPagination() *v1beta1.PageRequest
func (*QueryAllMorseClaimableAccountRequest) ProtoMessage ¶
func (*QueryAllMorseClaimableAccountRequest) ProtoMessage()
func (*QueryAllMorseClaimableAccountRequest) ProtoReflect ¶
func (x *QueryAllMorseClaimableAccountRequest) ProtoReflect() protoreflect.Message
func (*QueryAllMorseClaimableAccountRequest) Reset ¶
func (x *QueryAllMorseClaimableAccountRequest) Reset()
func (*QueryAllMorseClaimableAccountRequest) String ¶
func (x *QueryAllMorseClaimableAccountRequest) String() string
type QueryAllMorseClaimableAccountResponse ¶
type QueryAllMorseClaimableAccountResponse struct {
MorseClaimableAccount []*MorseClaimableAccount `protobuf:"bytes,1,rep,name=morseClaimableAccount,proto3" json:"morseClaimableAccount,omitempty"`
Pagination *v1beta1.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
// contains filtered or unexported fields
}
func (*QueryAllMorseClaimableAccountResponse) Descriptor
deprecated
func (*QueryAllMorseClaimableAccountResponse) Descriptor() ([]byte, []int)
Deprecated: Use QueryAllMorseClaimableAccountResponse.ProtoReflect.Descriptor instead.
func (*QueryAllMorseClaimableAccountResponse) GetMorseClaimableAccount ¶
func (x *QueryAllMorseClaimableAccountResponse) GetMorseClaimableAccount() []*MorseClaimableAccount
func (*QueryAllMorseClaimableAccountResponse) GetPagination ¶
func (x *QueryAllMorseClaimableAccountResponse) GetPagination() *v1beta1.PageResponse
func (*QueryAllMorseClaimableAccountResponse) ProtoMessage ¶
func (*QueryAllMorseClaimableAccountResponse) ProtoMessage()
func (*QueryAllMorseClaimableAccountResponse) ProtoReflect ¶
func (x *QueryAllMorseClaimableAccountResponse) ProtoReflect() protoreflect.Message
func (*QueryAllMorseClaimableAccountResponse) Reset ¶
func (x *QueryAllMorseClaimableAccountResponse) Reset()
func (*QueryAllMorseClaimableAccountResponse) String ¶
func (x *QueryAllMorseClaimableAccountResponse) String() string
type QueryClient ¶
type QueryClient interface {
// Parameters queries the parameters of the module.
Params(ctx context.Context, in *QueryParamsRequest, opts ...grpc.CallOption) (*QueryParamsResponse, error)
// Queries a list of MorseClaimableAccount items.
MorseClaimableAccount(ctx context.Context, in *QueryMorseClaimableAccountRequest, opts ...grpc.CallOption) (*QueryMorseClaimableAccountResponse, error)
MorseClaimableAccountAll(ctx context.Context, in *QueryAllMorseClaimableAccountRequest, opts ...grpc.CallOption) (*QueryAllMorseClaimableAccountResponse, error)
}
QueryClient is the client API for Query service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
Query defines the gRPC querier service.
func NewQueryClient ¶
func NewQueryClient(cc grpc.ClientConnInterface) QueryClient
type QueryMorseClaimableAccountRequest ¶
type QueryMorseClaimableAccountRequest struct {
Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
// contains filtered or unexported fields
}
func (*QueryMorseClaimableAccountRequest) Descriptor
deprecated
func (*QueryMorseClaimableAccountRequest) Descriptor() ([]byte, []int)
Deprecated: Use QueryMorseClaimableAccountRequest.ProtoReflect.Descriptor instead.
func (*QueryMorseClaimableAccountRequest) GetAddress ¶
func (x *QueryMorseClaimableAccountRequest) GetAddress() string
func (*QueryMorseClaimableAccountRequest) ProtoMessage ¶
func (*QueryMorseClaimableAccountRequest) ProtoMessage()
func (*QueryMorseClaimableAccountRequest) ProtoReflect ¶
func (x *QueryMorseClaimableAccountRequest) ProtoReflect() protoreflect.Message
func (*QueryMorseClaimableAccountRequest) Reset ¶
func (x *QueryMorseClaimableAccountRequest) Reset()
func (*QueryMorseClaimableAccountRequest) String ¶
func (x *QueryMorseClaimableAccountRequest) String() string
type QueryMorseClaimableAccountResponse ¶
type QueryMorseClaimableAccountResponse struct {
MorseClaimableAccount *MorseClaimableAccount `protobuf:"bytes,1,opt,name=morseClaimableAccount,proto3" json:"morseClaimableAccount,omitempty"`
// contains filtered or unexported fields
}
func (*QueryMorseClaimableAccountResponse) Descriptor
deprecated
func (*QueryMorseClaimableAccountResponse) Descriptor() ([]byte, []int)
Deprecated: Use QueryMorseClaimableAccountResponse.ProtoReflect.Descriptor instead.
func (*QueryMorseClaimableAccountResponse) GetMorseClaimableAccount ¶
func (x *QueryMorseClaimableAccountResponse) GetMorseClaimableAccount() *MorseClaimableAccount
func (*QueryMorseClaimableAccountResponse) ProtoMessage ¶
func (*QueryMorseClaimableAccountResponse) ProtoMessage()
func (*QueryMorseClaimableAccountResponse) ProtoReflect ¶
func (x *QueryMorseClaimableAccountResponse) ProtoReflect() protoreflect.Message
func (*QueryMorseClaimableAccountResponse) Reset ¶
func (x *QueryMorseClaimableAccountResponse) Reset()
func (*QueryMorseClaimableAccountResponse) String ¶
func (x *QueryMorseClaimableAccountResponse) String() string
type QueryParamsRequest ¶
type QueryParamsRequest struct {
// contains filtered or unexported fields
}
QueryParamsRequest is request type for the Query/Params RPC method.
func (*QueryParamsRequest) Descriptor
deprecated
func (*QueryParamsRequest) Descriptor() ([]byte, []int)
Deprecated: Use QueryParamsRequest.ProtoReflect.Descriptor instead.
func (*QueryParamsRequest) ProtoMessage ¶
func (*QueryParamsRequest) ProtoMessage()
func (*QueryParamsRequest) ProtoReflect ¶
func (x *QueryParamsRequest) ProtoReflect() protoreflect.Message
func (*QueryParamsRequest) Reset ¶
func (x *QueryParamsRequest) Reset()
func (*QueryParamsRequest) String ¶
func (x *QueryParamsRequest) String() string
type QueryParamsResponse ¶
type QueryParamsResponse struct {
// params holds all the parameters of this module.
Params *Params `protobuf:"bytes,1,opt,name=params,proto3" json:"params,omitempty"`
// contains filtered or unexported fields
}
QueryParamsResponse is response type for the Query/Params RPC method.
func (*QueryParamsResponse) Descriptor
deprecated
func (*QueryParamsResponse) Descriptor() ([]byte, []int)
Deprecated: Use QueryParamsResponse.ProtoReflect.Descriptor instead.
func (*QueryParamsResponse) GetParams ¶
func (x *QueryParamsResponse) GetParams() *Params
func (*QueryParamsResponse) ProtoMessage ¶
func (*QueryParamsResponse) ProtoMessage()
func (*QueryParamsResponse) ProtoReflect ¶
func (x *QueryParamsResponse) ProtoReflect() protoreflect.Message
func (*QueryParamsResponse) Reset ¶
func (x *QueryParamsResponse) Reset()
func (*QueryParamsResponse) String ¶
func (x *QueryParamsResponse) String() string
type QueryServer ¶
type QueryServer interface {
// Parameters queries the parameters of the module.
Params(context.Context, *QueryParamsRequest) (*QueryParamsResponse, error)
// Queries a list of MorseClaimableAccount items.
MorseClaimableAccount(context.Context, *QueryMorseClaimableAccountRequest) (*QueryMorseClaimableAccountResponse, error)
MorseClaimableAccountAll(context.Context, *QueryAllMorseClaimableAccountRequest) (*QueryAllMorseClaimableAccountResponse, error)
// contains filtered or unexported methods
}
QueryServer is the server API for Query service. All implementations must embed UnimplementedQueryServer for forward compatibility
Query defines the gRPC querier service.
type UnimplementedMsgServer ¶
type UnimplementedMsgServer struct {
}
UnimplementedMsgServer must be embedded to have forward compatible implementations.
func (UnimplementedMsgServer) ClaimMorseAccount ¶
func (UnimplementedMsgServer) ClaimMorseAccount(context.Context, *MsgClaimMorseAccount) (*MsgClaimMorseAccountResponse, error)
func (UnimplementedMsgServer) ClaimMorseApplication ¶
func (UnimplementedMsgServer) ClaimMorseApplication(context.Context, *MsgClaimMorseApplication) (*MsgClaimMorseApplicationResponse, error)
func (UnimplementedMsgServer) ClaimMorseSupplier ¶
func (UnimplementedMsgServer) ClaimMorseSupplier(context.Context, *MsgClaimMorseSupplier) (*MsgClaimMorseSupplierResponse, error)
func (UnimplementedMsgServer) ImportMorseClaimableAccounts ¶
func (UnimplementedMsgServer) ImportMorseClaimableAccounts(context.Context, *MsgImportMorseClaimableAccounts) (*MsgImportMorseClaimableAccountsResponse, error)
func (UnimplementedMsgServer) RecoverMorseAccount ¶ added in v0.1.11
func (UnimplementedMsgServer) RecoverMorseAccount(context.Context, *MsgRecoverMorseAccount) (*MsgRecoverMorseAccountResponse, error)
func (UnimplementedMsgServer) UpdateParams ¶
func (UnimplementedMsgServer) UpdateParams(context.Context, *MsgUpdateParams) (*MsgUpdateParamsResponse, error)
type UnimplementedQueryServer ¶
type UnimplementedQueryServer struct {
}
UnimplementedQueryServer must be embedded to have forward compatible implementations.
func (UnimplementedQueryServer) MorseClaimableAccount ¶
func (UnimplementedQueryServer) MorseClaimableAccount(context.Context, *QueryMorseClaimableAccountRequest) (*QueryMorseClaimableAccountResponse, error)
func (UnimplementedQueryServer) MorseClaimableAccountAll ¶
func (UnimplementedQueryServer) MorseClaimableAccountAll(context.Context, *QueryAllMorseClaimableAccountRequest) (*QueryAllMorseClaimableAccountResponse, error)
func (UnimplementedQueryServer) Params ¶
func (UnimplementedQueryServer) Params(context.Context, *QueryParamsRequest) (*QueryParamsResponse, error)
type UnsafeMsgServer ¶
type UnsafeMsgServer interface {
// contains filtered or unexported methods
}
UnsafeMsgServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to MsgServer will result in compilation errors.
type UnsafeQueryServer ¶
type UnsafeQueryServer interface {
// contains filtered or unexported methods
}
UnsafeQueryServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to QueryServer will result in compilation errors.