Documentation ¶
Overview ¶
Package types is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Index ¶
- Constants
- Variables
- func GenerateAddress(channel string, recipient string) sdk.AccAddress
- func NumOfAccountsKey(channel string) []byte
- func NumOfForwardsKey(channel string) []byte
- func PendingForwardsKey(account *ForwardingAccount) []byte
- func RegisterInterfaces(registry codectypes.InterfaceRegistry)
- func RegisterLegacyAminoCodec(cdc *codec.LegacyAmino)
- func RegisterMsgServer(s grpc1.Server, srv MsgServer)
- func RegisterQueryHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterQueryHandlerClient(ctx context.Context, mux *runtime.ServeMux, client QueryClient) error
- func RegisterQueryHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterQueryHandlerServer(ctx context.Context, mux *runtime.ServeMux, server QueryServer) error
- func RegisterQueryServer(s grpc1.Server, srv QueryServer)
- func TotalForwardedKey(channel string) []byte
- type AccountKeeper
- type BankKeeper
- type ChannelKeeper
- type ForwardingAccount
- func (*ForwardingAccount) Descriptor() ([]byte, []int)
- func (m *ForwardingAccount) GetChannel() string
- func (m *ForwardingAccount) GetCreatedAt() int64
- func (m *ForwardingAccount) GetRecipient() string
- func (m *ForwardingAccount) Marshal() (dAtA []byte, err error)
- func (m *ForwardingAccount) MarshalTo(dAtA []byte) (int, error)
- func (m *ForwardingAccount) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ForwardingAccount) ProtoMessage()
- func (m *ForwardingAccount) Reset()
- func (m *ForwardingAccount) Size() (n int)
- func (m *ForwardingAccount) String() string
- func (m *ForwardingAccount) Unmarshal(dAtA []byte) error
- func (m *ForwardingAccount) XXX_DiscardUnknown()
- func (m *ForwardingAccount) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ForwardingAccount) XXX_Merge(src proto.Message)
- func (m *ForwardingAccount) XXX_Size() int
- func (m *ForwardingAccount) XXX_Unmarshal(b []byte) error
- type GenesisState
- func (*GenesisState) Descriptor() ([]byte, []int)
- func (m *GenesisState) GetNumOfAccounts() map[string]uint64
- func (m *GenesisState) GetNumOfForwards() map[string]uint64
- func (m *GenesisState) GetTotalForwarded() map[string]string
- func (m *GenesisState) Marshal() (dAtA []byte, err error)
- func (m *GenesisState) MarshalTo(dAtA []byte) (int, error)
- func (m *GenesisState) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*GenesisState) ProtoMessage()
- func (m *GenesisState) Reset()
- func (m *GenesisState) Size() (n int)
- func (m *GenesisState) String() string
- func (m *GenesisState) Unmarshal(dAtA []byte) error
- func (gen *GenesisState) Validate() error
- func (m *GenesisState) XXX_DiscardUnknown()
- func (m *GenesisState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GenesisState) XXX_Merge(src proto.Message)
- func (m *GenesisState) XXX_Size() int
- func (m *GenesisState) XXX_Unmarshal(b []byte) error
- type MsgClearAccount
- func (*MsgClearAccount) Descriptor() ([]byte, []int)
- func (m *MsgClearAccount) GetAddress() string
- func (msg *MsgClearAccount) GetSignBytes() []byte
- func (m *MsgClearAccount) GetSigner() string
- func (msg *MsgClearAccount) GetSigners() []sdk.AccAddress
- func (m *MsgClearAccount) Marshal() (dAtA []byte, err error)
- func (m *MsgClearAccount) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgClearAccount) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgClearAccount) ProtoMessage()
- func (m *MsgClearAccount) Reset()
- func (msg *MsgClearAccount) Route() string
- func (m *MsgClearAccount) Size() (n int)
- func (m *MsgClearAccount) String() string
- func (msg *MsgClearAccount) Type() string
- func (m *MsgClearAccount) Unmarshal(dAtA []byte) error
- func (msg *MsgClearAccount) ValidateBasic() error
- func (m *MsgClearAccount) XXX_DiscardUnknown()
- func (m *MsgClearAccount) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgClearAccount) XXX_Merge(src proto.Message)
- func (m *MsgClearAccount) XXX_Size() int
- func (m *MsgClearAccount) XXX_Unmarshal(b []byte) error
- type MsgClearAccountResponse
- func (*MsgClearAccountResponse) Descriptor() ([]byte, []int)
- func (m *MsgClearAccountResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgClearAccountResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgClearAccountResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgClearAccountResponse) ProtoMessage()
- func (m *MsgClearAccountResponse) Reset()
- func (m *MsgClearAccountResponse) Size() (n int)
- func (m *MsgClearAccountResponse) String() string
- func (m *MsgClearAccountResponse) Unmarshal(dAtA []byte) error
- func (m *MsgClearAccountResponse) XXX_DiscardUnknown()
- func (m *MsgClearAccountResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgClearAccountResponse) XXX_Merge(src proto.Message)
- func (m *MsgClearAccountResponse) XXX_Size() int
- func (m *MsgClearAccountResponse) XXX_Unmarshal(b []byte) error
- type MsgClient
- type MsgRegisterAccount
- func (*MsgRegisterAccount) Descriptor() ([]byte, []int)
- func (m *MsgRegisterAccount) GetChannel() string
- func (m *MsgRegisterAccount) GetRecipient() string
- func (msg *MsgRegisterAccount) GetSignBytes() []byte
- func (m *MsgRegisterAccount) GetSigner() string
- func (msg *MsgRegisterAccount) GetSigners() []sdk.AccAddress
- func (m *MsgRegisterAccount) Marshal() (dAtA []byte, err error)
- func (m *MsgRegisterAccount) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgRegisterAccount) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgRegisterAccount) ProtoMessage()
- func (m *MsgRegisterAccount) Reset()
- func (msg *MsgRegisterAccount) Route() string
- func (m *MsgRegisterAccount) Size() (n int)
- func (m *MsgRegisterAccount) String() string
- func (msg *MsgRegisterAccount) Type() string
- func (m *MsgRegisterAccount) Unmarshal(dAtA []byte) error
- func (msg *MsgRegisterAccount) ValidateBasic() error
- func (m *MsgRegisterAccount) XXX_DiscardUnknown()
- func (m *MsgRegisterAccount) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgRegisterAccount) XXX_Merge(src proto.Message)
- func (m *MsgRegisterAccount) XXX_Size() int
- func (m *MsgRegisterAccount) XXX_Unmarshal(b []byte) error
- type MsgRegisterAccountResponse
- func (*MsgRegisterAccountResponse) Descriptor() ([]byte, []int)
- func (m *MsgRegisterAccountResponse) GetAddress() string
- func (m *MsgRegisterAccountResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgRegisterAccountResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgRegisterAccountResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgRegisterAccountResponse) ProtoMessage()
- func (m *MsgRegisterAccountResponse) Reset()
- func (m *MsgRegisterAccountResponse) Size() (n int)
- func (m *MsgRegisterAccountResponse) String() string
- func (m *MsgRegisterAccountResponse) Unmarshal(dAtA []byte) error
- func (m *MsgRegisterAccountResponse) XXX_DiscardUnknown()
- func (m *MsgRegisterAccountResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgRegisterAccountResponse) XXX_Merge(src proto.Message)
- func (m *MsgRegisterAccountResponse) XXX_Size() int
- func (m *MsgRegisterAccountResponse) XXX_Unmarshal(b []byte) error
- type MsgServer
- type QueryAddress
- func (*QueryAddress) Descriptor() ([]byte, []int)
- func (m *QueryAddress) GetChannel() string
- func (m *QueryAddress) GetRecipient() string
- func (m *QueryAddress) Marshal() (dAtA []byte, err error)
- func (m *QueryAddress) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryAddress) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryAddress) ProtoMessage()
- func (m *QueryAddress) Reset()
- func (m *QueryAddress) Size() (n int)
- func (m *QueryAddress) String() string
- func (m *QueryAddress) Unmarshal(dAtA []byte) error
- func (m *QueryAddress) XXX_DiscardUnknown()
- func (m *QueryAddress) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryAddress) XXX_Merge(src proto.Message)
- func (m *QueryAddress) XXX_Size() int
- func (m *QueryAddress) XXX_Unmarshal(b []byte) error
- type QueryAddressResponse
- func (*QueryAddressResponse) Descriptor() ([]byte, []int)
- func (m *QueryAddressResponse) GetAddress() string
- func (m *QueryAddressResponse) GetExists() bool
- func (m *QueryAddressResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryAddressResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryAddressResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryAddressResponse) ProtoMessage()
- func (m *QueryAddressResponse) Reset()
- func (m *QueryAddressResponse) Size() (n int)
- func (m *QueryAddressResponse) String() string
- func (m *QueryAddressResponse) Unmarshal(dAtA []byte) error
- func (m *QueryAddressResponse) XXX_DiscardUnknown()
- func (m *QueryAddressResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryAddressResponse) XXX_Merge(src proto.Message)
- func (m *QueryAddressResponse) XXX_Size() int
- func (m *QueryAddressResponse) XXX_Unmarshal(b []byte) error
- type QueryClient
- type QueryServer
- type QueryStatsByChannel
- func (*QueryStatsByChannel) Descriptor() ([]byte, []int)
- func (m *QueryStatsByChannel) GetChannel() string
- func (m *QueryStatsByChannel) Marshal() (dAtA []byte, err error)
- func (m *QueryStatsByChannel) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryStatsByChannel) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryStatsByChannel) ProtoMessage()
- func (m *QueryStatsByChannel) Reset()
- func (m *QueryStatsByChannel) Size() (n int)
- func (m *QueryStatsByChannel) String() string
- func (m *QueryStatsByChannel) Unmarshal(dAtA []byte) error
- func (m *QueryStatsByChannel) XXX_DiscardUnknown()
- func (m *QueryStatsByChannel) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryStatsByChannel) XXX_Merge(src proto.Message)
- func (m *QueryStatsByChannel) XXX_Size() int
- func (m *QueryStatsByChannel) XXX_Unmarshal(b []byte) error
- type QueryStatsByChannelResponse
- func (*QueryStatsByChannelResponse) Descriptor() ([]byte, []int)
- func (m *QueryStatsByChannelResponse) GetNumOfAccounts() uint64
- func (m *QueryStatsByChannelResponse) GetNumOfForwards() uint64
- func (m *QueryStatsByChannelResponse) GetTotalForwarded() github_com_cosmos_cosmos_sdk_types.Coins
- func (m *QueryStatsByChannelResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryStatsByChannelResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryStatsByChannelResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryStatsByChannelResponse) ProtoMessage()
- func (m *QueryStatsByChannelResponse) Reset()
- func (m *QueryStatsByChannelResponse) Size() (n int)
- func (m *QueryStatsByChannelResponse) String() string
- func (m *QueryStatsByChannelResponse) Unmarshal(dAtA []byte) error
- func (m *QueryStatsByChannelResponse) XXX_DiscardUnknown()
- func (m *QueryStatsByChannelResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryStatsByChannelResponse) XXX_Merge(src proto.Message)
- func (m *QueryStatsByChannelResponse) XXX_Size() int
- func (m *QueryStatsByChannelResponse) XXX_Unmarshal(b []byte) error
- type RegisterAccountData
- func (*RegisterAccountData) Descriptor() ([]byte, []int)
- func (m *RegisterAccountData) GetChannel() string
- func (m *RegisterAccountData) GetRecipient() string
- func (m *RegisterAccountData) Marshal() (dAtA []byte, err error)
- func (m *RegisterAccountData) MarshalTo(dAtA []byte) (int, error)
- func (m *RegisterAccountData) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*RegisterAccountData) ProtoMessage()
- func (m *RegisterAccountData) Reset()
- func (m *RegisterAccountData) Size() (n int)
- func (m *RegisterAccountData) String() string
- func (m *RegisterAccountData) Unmarshal(dAtA []byte) error
- func (m *RegisterAccountData) XXX_DiscardUnknown()
- func (m *RegisterAccountData) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *RegisterAccountData) XXX_Merge(src proto.Message)
- func (m *RegisterAccountData) XXX_Size() int
- func (m *RegisterAccountData) XXX_Unmarshal(b []byte) error
- type RegisterAccountMemo
- func (*RegisterAccountMemo) Descriptor() ([]byte, []int)
- func (m *RegisterAccountMemo) GetNoble() *RegisterAccountMemo_RegisterAccountDataWrapper
- func (m *RegisterAccountMemo) Marshal() (dAtA []byte, err error)
- func (m *RegisterAccountMemo) MarshalTo(dAtA []byte) (int, error)
- func (m *RegisterAccountMemo) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*RegisterAccountMemo) ProtoMessage()
- func (m *RegisterAccountMemo) Reset()
- func (m *RegisterAccountMemo) Size() (n int)
- func (m *RegisterAccountMemo) String() string
- func (m *RegisterAccountMemo) Unmarshal(dAtA []byte) error
- func (m *RegisterAccountMemo) XXX_DiscardUnknown()
- func (m *RegisterAccountMemo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *RegisterAccountMemo) XXX_Merge(src proto.Message)
- func (m *RegisterAccountMemo) XXX_Size() int
- func (m *RegisterAccountMemo) XXX_Unmarshal(b []byte) error
- type RegisterAccountMemo_RegisterAccountDataWrapper
- func (*RegisterAccountMemo_RegisterAccountDataWrapper) Descriptor() ([]byte, []int)
- func (m *RegisterAccountMemo_RegisterAccountDataWrapper) GetForwarding() *RegisterAccountData
- func (m *RegisterAccountMemo_RegisterAccountDataWrapper) Marshal() (dAtA []byte, err error)
- func (m *RegisterAccountMemo_RegisterAccountDataWrapper) MarshalTo(dAtA []byte) (int, error)
- func (m *RegisterAccountMemo_RegisterAccountDataWrapper) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*RegisterAccountMemo_RegisterAccountDataWrapper) ProtoMessage()
- func (m *RegisterAccountMemo_RegisterAccountDataWrapper) Reset()
- func (m *RegisterAccountMemo_RegisterAccountDataWrapper) Size() (n int)
- func (m *RegisterAccountMemo_RegisterAccountDataWrapper) String() string
- func (m *RegisterAccountMemo_RegisterAccountDataWrapper) Unmarshal(dAtA []byte) error
- func (m *RegisterAccountMemo_RegisterAccountDataWrapper) XXX_DiscardUnknown()
- func (m *RegisterAccountMemo_RegisterAccountDataWrapper) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *RegisterAccountMemo_RegisterAccountDataWrapper) XXX_Merge(src proto.Message)
- func (m *RegisterAccountMemo_RegisterAccountDataWrapper) XXX_Size() int
- func (m *RegisterAccountMemo_RegisterAccountDataWrapper) XXX_Unmarshal(b []byte) error
- type TransferKeeper
- type UnimplementedMsgServer
- type UnimplementedQueryServer
Constants ¶
const ( ModuleName = "forwarding" StoreKey = "forwarding" TransientStoreKey = "transient_forwarding" )
Variables ¶
var ( ErrInvalidLengthAccount = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowAccount = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupAccount = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthGenesis = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowGenesis = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupGenesis = fmt.Errorf("proto: unexpected end of group") )
var ( NumOfAccountsPrefix = []byte("num_of_accounts") NumOfForwardsPrefix = []byte("num_of_forwards") TotalForwardedPrefix = []byte("total_forwarded") PendingForwardsPrefix = []byte("pending_forwards") )
var ( ErrInvalidLengthPacket = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowPacket = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupPacket = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthQuery = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowQuery = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupQuery = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthTx = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowTx = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupTx = fmt.Errorf("proto: unexpected end of group") )
var (
ModuleCdc = codec.NewProtoCodec(codectypes.NewInterfaceRegistry())
)
Functions ¶
func GenerateAddress ¶
func GenerateAddress(channel string, recipient string) sdk.AccAddress
func NumOfAccountsKey ¶
func NumOfForwardsKey ¶
func PendingForwardsKey ¶
func PendingForwardsKey(account *ForwardingAccount) []byte
func RegisterInterfaces ¶
func RegisterInterfaces(registry codectypes.InterfaceRegistry)
func RegisterLegacyAminoCodec ¶
func RegisterLegacyAminoCodec(cdc *codec.LegacyAmino)
func RegisterMsgServer ¶
func RegisterQueryHandler ¶
RegisterQueryHandler registers the http handlers for service Query to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterQueryHandlerClient ¶
func RegisterQueryHandlerClient(ctx context.Context, mux *runtime.ServeMux, client QueryClient) error
RegisterQueryHandlerClient registers the http handlers for service Query to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "QueryClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "QueryClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "QueryClient" to call the correct interceptors.
func RegisterQueryHandlerFromEndpoint ¶
func RegisterQueryHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterQueryHandlerFromEndpoint is same as RegisterQueryHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterQueryHandlerServer ¶
func RegisterQueryHandlerServer(ctx context.Context, mux *runtime.ServeMux, server QueryServer) error
RegisterQueryHandlerServer registers the http handlers for service Query to "mux". UnaryRPC :call QueryServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterQueryHandlerFromEndpoint instead.
func RegisterQueryServer ¶
func RegisterQueryServer(s grpc1.Server, srv QueryServer)
func TotalForwardedKey ¶
Types ¶
type AccountKeeper ¶
type BankKeeper ¶
type ChannelKeeper ¶
type ForwardingAccount ¶
type ForwardingAccount struct { *types.BaseAccount `protobuf:"bytes,1,opt,name=base_account,json=baseAccount,proto3,embedded=base_account" json:"base_account,omitempty"` Channel string `protobuf:"bytes,2,opt,name=channel,proto3" json:"channel,omitempty"` Recipient string `protobuf:"bytes,3,opt,name=recipient,proto3" json:"recipient,omitempty"` CreatedAt int64 `protobuf:"varint,4,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` }
func (*ForwardingAccount) Descriptor ¶
func (*ForwardingAccount) Descriptor() ([]byte, []int)
func (*ForwardingAccount) GetChannel ¶
func (m *ForwardingAccount) GetChannel() string
func (*ForwardingAccount) GetCreatedAt ¶
func (m *ForwardingAccount) GetCreatedAt() int64
func (*ForwardingAccount) GetRecipient ¶
func (m *ForwardingAccount) GetRecipient() string
func (*ForwardingAccount) Marshal ¶
func (m *ForwardingAccount) Marshal() (dAtA []byte, err error)
func (*ForwardingAccount) MarshalTo ¶
func (m *ForwardingAccount) MarshalTo(dAtA []byte) (int, error)
func (*ForwardingAccount) MarshalToSizedBuffer ¶
func (m *ForwardingAccount) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ForwardingAccount) ProtoMessage ¶
func (*ForwardingAccount) ProtoMessage()
func (*ForwardingAccount) Reset ¶
func (m *ForwardingAccount) Reset()
func (*ForwardingAccount) Size ¶
func (m *ForwardingAccount) Size() (n int)
func (*ForwardingAccount) String ¶
func (m *ForwardingAccount) String() string
func (*ForwardingAccount) Unmarshal ¶
func (m *ForwardingAccount) Unmarshal(dAtA []byte) error
func (*ForwardingAccount) XXX_DiscardUnknown ¶
func (m *ForwardingAccount) XXX_DiscardUnknown()
func (*ForwardingAccount) XXX_Marshal ¶
func (m *ForwardingAccount) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ForwardingAccount) XXX_Merge ¶
func (m *ForwardingAccount) XXX_Merge(src proto.Message)
func (*ForwardingAccount) XXX_Size ¶
func (m *ForwardingAccount) XXX_Size() int
func (*ForwardingAccount) XXX_Unmarshal ¶
func (m *ForwardingAccount) XXX_Unmarshal(b []byte) error
type GenesisState ¶
type GenesisState struct { NumOfAccounts map[string]uint64 `` /* 191-byte string literal not displayed */ NumOfForwards map[string]uint64 `` /* 191-byte string literal not displayed */ TotalForwarded map[string]string `` /* 191-byte string literal not displayed */ }
func DefaultGenesisState ¶
func DefaultGenesisState() *GenesisState
func (*GenesisState) Descriptor ¶
func (*GenesisState) Descriptor() ([]byte, []int)
func (*GenesisState) GetNumOfAccounts ¶
func (m *GenesisState) GetNumOfAccounts() map[string]uint64
func (*GenesisState) GetNumOfForwards ¶
func (m *GenesisState) GetNumOfForwards() map[string]uint64
func (*GenesisState) GetTotalForwarded ¶
func (m *GenesisState) GetTotalForwarded() map[string]string
func (*GenesisState) Marshal ¶
func (m *GenesisState) Marshal() (dAtA []byte, err error)
func (*GenesisState) MarshalToSizedBuffer ¶
func (m *GenesisState) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*GenesisState) ProtoMessage ¶
func (*GenesisState) ProtoMessage()
func (*GenesisState) Reset ¶
func (m *GenesisState) Reset()
func (*GenesisState) Size ¶
func (m *GenesisState) Size() (n int)
func (*GenesisState) String ¶
func (m *GenesisState) String() string
func (*GenesisState) Unmarshal ¶
func (m *GenesisState) Unmarshal(dAtA []byte) error
func (*GenesisState) Validate ¶
func (gen *GenesisState) Validate() error
func (*GenesisState) XXX_DiscardUnknown ¶
func (m *GenesisState) XXX_DiscardUnknown()
func (*GenesisState) XXX_Marshal ¶
func (m *GenesisState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GenesisState) XXX_Merge ¶
func (m *GenesisState) XXX_Merge(src proto.Message)
func (*GenesisState) XXX_Size ¶
func (m *GenesisState) XXX_Size() int
func (*GenesisState) XXX_Unmarshal ¶
func (m *GenesisState) XXX_Unmarshal(b []byte) error
type MsgClearAccount ¶
type MsgClearAccount struct { Signer string `protobuf:"bytes,1,opt,name=signer,proto3" json:"signer,omitempty"` Address string `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"` }
func (*MsgClearAccount) Descriptor ¶
func (*MsgClearAccount) Descriptor() ([]byte, []int)
func (*MsgClearAccount) GetAddress ¶
func (m *MsgClearAccount) GetAddress() string
func (*MsgClearAccount) GetSignBytes ¶
func (msg *MsgClearAccount) GetSignBytes() []byte
func (*MsgClearAccount) GetSigner ¶
func (m *MsgClearAccount) GetSigner() string
func (*MsgClearAccount) GetSigners ¶
func (msg *MsgClearAccount) GetSigners() []sdk.AccAddress
func (*MsgClearAccount) Marshal ¶
func (m *MsgClearAccount) Marshal() (dAtA []byte, err error)
func (*MsgClearAccount) MarshalToSizedBuffer ¶
func (m *MsgClearAccount) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgClearAccount) ProtoMessage ¶
func (*MsgClearAccount) ProtoMessage()
func (*MsgClearAccount) Reset ¶
func (m *MsgClearAccount) Reset()
func (*MsgClearAccount) Route ¶
func (msg *MsgClearAccount) Route() string
func (*MsgClearAccount) Size ¶
func (m *MsgClearAccount) Size() (n int)
func (*MsgClearAccount) String ¶
func (m *MsgClearAccount) String() string
func (*MsgClearAccount) Type ¶
func (msg *MsgClearAccount) Type() string
func (*MsgClearAccount) Unmarshal ¶
func (m *MsgClearAccount) Unmarshal(dAtA []byte) error
func (*MsgClearAccount) ValidateBasic ¶
func (msg *MsgClearAccount) ValidateBasic() error
func (*MsgClearAccount) XXX_DiscardUnknown ¶
func (m *MsgClearAccount) XXX_DiscardUnknown()
func (*MsgClearAccount) XXX_Marshal ¶
func (m *MsgClearAccount) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgClearAccount) XXX_Merge ¶
func (m *MsgClearAccount) XXX_Merge(src proto.Message)
func (*MsgClearAccount) XXX_Size ¶
func (m *MsgClearAccount) XXX_Size() int
func (*MsgClearAccount) XXX_Unmarshal ¶
func (m *MsgClearAccount) XXX_Unmarshal(b []byte) error
type MsgClearAccountResponse ¶
type MsgClearAccountResponse struct { }
func (*MsgClearAccountResponse) Descriptor ¶
func (*MsgClearAccountResponse) Descriptor() ([]byte, []int)
func (*MsgClearAccountResponse) Marshal ¶
func (m *MsgClearAccountResponse) Marshal() (dAtA []byte, err error)
func (*MsgClearAccountResponse) MarshalTo ¶
func (m *MsgClearAccountResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgClearAccountResponse) MarshalToSizedBuffer ¶
func (m *MsgClearAccountResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgClearAccountResponse) ProtoMessage ¶
func (*MsgClearAccountResponse) ProtoMessage()
func (*MsgClearAccountResponse) Reset ¶
func (m *MsgClearAccountResponse) Reset()
func (*MsgClearAccountResponse) Size ¶
func (m *MsgClearAccountResponse) Size() (n int)
func (*MsgClearAccountResponse) String ¶
func (m *MsgClearAccountResponse) String() string
func (*MsgClearAccountResponse) Unmarshal ¶
func (m *MsgClearAccountResponse) Unmarshal(dAtA []byte) error
func (*MsgClearAccountResponse) XXX_DiscardUnknown ¶
func (m *MsgClearAccountResponse) XXX_DiscardUnknown()
func (*MsgClearAccountResponse) XXX_Marshal ¶
func (m *MsgClearAccountResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgClearAccountResponse) XXX_Merge ¶
func (m *MsgClearAccountResponse) XXX_Merge(src proto.Message)
func (*MsgClearAccountResponse) XXX_Size ¶
func (m *MsgClearAccountResponse) XXX_Size() int
func (*MsgClearAccountResponse) XXX_Unmarshal ¶
func (m *MsgClearAccountResponse) XXX_Unmarshal(b []byte) error
type MsgClient ¶
type MsgClient interface { RegisterAccount(ctx context.Context, in *MsgRegisterAccount, opts ...grpc.CallOption) (*MsgRegisterAccountResponse, error) ClearAccount(ctx context.Context, in *MsgClearAccount, opts ...grpc.CallOption) (*MsgClearAccountResponse, error) }
MsgClient is the client API for Msg service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewMsgClient ¶
func NewMsgClient(cc grpc1.ClientConn) MsgClient
type MsgRegisterAccount ¶
type MsgRegisterAccount struct { Signer string `protobuf:"bytes,1,opt,name=signer,proto3" json:"signer,omitempty"` Recipient string `protobuf:"bytes,2,opt,name=recipient,proto3" json:"recipient,omitempty"` Channel string `protobuf:"bytes,3,opt,name=channel,proto3" json:"channel,omitempty"` }
func (*MsgRegisterAccount) Descriptor ¶
func (*MsgRegisterAccount) Descriptor() ([]byte, []int)
func (*MsgRegisterAccount) GetChannel ¶
func (m *MsgRegisterAccount) GetChannel() string
func (*MsgRegisterAccount) GetRecipient ¶
func (m *MsgRegisterAccount) GetRecipient() string
func (*MsgRegisterAccount) GetSignBytes ¶
func (msg *MsgRegisterAccount) GetSignBytes() []byte
func (*MsgRegisterAccount) GetSigner ¶
func (m *MsgRegisterAccount) GetSigner() string
func (*MsgRegisterAccount) GetSigners ¶
func (msg *MsgRegisterAccount) GetSigners() []sdk.AccAddress
func (*MsgRegisterAccount) Marshal ¶
func (m *MsgRegisterAccount) Marshal() (dAtA []byte, err error)
func (*MsgRegisterAccount) MarshalTo ¶
func (m *MsgRegisterAccount) MarshalTo(dAtA []byte) (int, error)
func (*MsgRegisterAccount) MarshalToSizedBuffer ¶
func (m *MsgRegisterAccount) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgRegisterAccount) ProtoMessage ¶
func (*MsgRegisterAccount) ProtoMessage()
func (*MsgRegisterAccount) Reset ¶
func (m *MsgRegisterAccount) Reset()
func (*MsgRegisterAccount) Route ¶
func (msg *MsgRegisterAccount) Route() string
func (*MsgRegisterAccount) Size ¶
func (m *MsgRegisterAccount) Size() (n int)
func (*MsgRegisterAccount) String ¶
func (m *MsgRegisterAccount) String() string
func (*MsgRegisterAccount) Type ¶
func (msg *MsgRegisterAccount) Type() string
func (*MsgRegisterAccount) Unmarshal ¶
func (m *MsgRegisterAccount) Unmarshal(dAtA []byte) error
func (*MsgRegisterAccount) ValidateBasic ¶
func (msg *MsgRegisterAccount) ValidateBasic() error
func (*MsgRegisterAccount) XXX_DiscardUnknown ¶
func (m *MsgRegisterAccount) XXX_DiscardUnknown()
func (*MsgRegisterAccount) XXX_Marshal ¶
func (m *MsgRegisterAccount) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgRegisterAccount) XXX_Merge ¶
func (m *MsgRegisterAccount) XXX_Merge(src proto.Message)
func (*MsgRegisterAccount) XXX_Size ¶
func (m *MsgRegisterAccount) XXX_Size() int
func (*MsgRegisterAccount) XXX_Unmarshal ¶
func (m *MsgRegisterAccount) XXX_Unmarshal(b []byte) error
type MsgRegisterAccountResponse ¶
type MsgRegisterAccountResponse struct {
Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
}
func (*MsgRegisterAccountResponse) Descriptor ¶
func (*MsgRegisterAccountResponse) Descriptor() ([]byte, []int)
func (*MsgRegisterAccountResponse) GetAddress ¶
func (m *MsgRegisterAccountResponse) GetAddress() string
func (*MsgRegisterAccountResponse) Marshal ¶
func (m *MsgRegisterAccountResponse) Marshal() (dAtA []byte, err error)
func (*MsgRegisterAccountResponse) MarshalTo ¶
func (m *MsgRegisterAccountResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgRegisterAccountResponse) MarshalToSizedBuffer ¶
func (m *MsgRegisterAccountResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgRegisterAccountResponse) ProtoMessage ¶
func (*MsgRegisterAccountResponse) ProtoMessage()
func (*MsgRegisterAccountResponse) Reset ¶
func (m *MsgRegisterAccountResponse) Reset()
func (*MsgRegisterAccountResponse) Size ¶
func (m *MsgRegisterAccountResponse) Size() (n int)
func (*MsgRegisterAccountResponse) String ¶
func (m *MsgRegisterAccountResponse) String() string
func (*MsgRegisterAccountResponse) Unmarshal ¶
func (m *MsgRegisterAccountResponse) Unmarshal(dAtA []byte) error
func (*MsgRegisterAccountResponse) XXX_DiscardUnknown ¶
func (m *MsgRegisterAccountResponse) XXX_DiscardUnknown()
func (*MsgRegisterAccountResponse) XXX_Marshal ¶
func (m *MsgRegisterAccountResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgRegisterAccountResponse) XXX_Merge ¶
func (m *MsgRegisterAccountResponse) XXX_Merge(src proto.Message)
func (*MsgRegisterAccountResponse) XXX_Size ¶
func (m *MsgRegisterAccountResponse) XXX_Size() int
func (*MsgRegisterAccountResponse) XXX_Unmarshal ¶
func (m *MsgRegisterAccountResponse) XXX_Unmarshal(b []byte) error
type MsgServer ¶
type MsgServer interface { RegisterAccount(context.Context, *MsgRegisterAccount) (*MsgRegisterAccountResponse, error) ClearAccount(context.Context, *MsgClearAccount) (*MsgClearAccountResponse, error) }
MsgServer is the server API for Msg service.
type QueryAddress ¶
type QueryAddress struct { Channel string `protobuf:"bytes,1,opt,name=channel,proto3" json:"channel,omitempty"` Recipient string `protobuf:"bytes,2,opt,name=recipient,proto3" json:"recipient,omitempty"` }
func (*QueryAddress) Descriptor ¶
func (*QueryAddress) Descriptor() ([]byte, []int)
func (*QueryAddress) GetChannel ¶
func (m *QueryAddress) GetChannel() string
func (*QueryAddress) GetRecipient ¶
func (m *QueryAddress) GetRecipient() string
func (*QueryAddress) Marshal ¶
func (m *QueryAddress) Marshal() (dAtA []byte, err error)
func (*QueryAddress) MarshalToSizedBuffer ¶
func (m *QueryAddress) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryAddress) ProtoMessage ¶
func (*QueryAddress) ProtoMessage()
func (*QueryAddress) Reset ¶
func (m *QueryAddress) Reset()
func (*QueryAddress) Size ¶
func (m *QueryAddress) Size() (n int)
func (*QueryAddress) String ¶
func (m *QueryAddress) String() string
func (*QueryAddress) Unmarshal ¶
func (m *QueryAddress) Unmarshal(dAtA []byte) error
func (*QueryAddress) XXX_DiscardUnknown ¶
func (m *QueryAddress) XXX_DiscardUnknown()
func (*QueryAddress) XXX_Marshal ¶
func (m *QueryAddress) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryAddress) XXX_Merge ¶
func (m *QueryAddress) XXX_Merge(src proto.Message)
func (*QueryAddress) XXX_Size ¶
func (m *QueryAddress) XXX_Size() int
func (*QueryAddress) XXX_Unmarshal ¶
func (m *QueryAddress) XXX_Unmarshal(b []byte) error
type QueryAddressResponse ¶
type QueryAddressResponse struct { Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` Exists bool `protobuf:"varint,2,opt,name=exists,proto3" json:"exists,omitempty"` }
func (*QueryAddressResponse) Descriptor ¶
func (*QueryAddressResponse) Descriptor() ([]byte, []int)
func (*QueryAddressResponse) GetAddress ¶
func (m *QueryAddressResponse) GetAddress() string
func (*QueryAddressResponse) GetExists ¶
func (m *QueryAddressResponse) GetExists() bool
func (*QueryAddressResponse) Marshal ¶
func (m *QueryAddressResponse) Marshal() (dAtA []byte, err error)
func (*QueryAddressResponse) MarshalTo ¶
func (m *QueryAddressResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryAddressResponse) MarshalToSizedBuffer ¶
func (m *QueryAddressResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryAddressResponse) ProtoMessage ¶
func (*QueryAddressResponse) ProtoMessage()
func (*QueryAddressResponse) Reset ¶
func (m *QueryAddressResponse) Reset()
func (*QueryAddressResponse) Size ¶
func (m *QueryAddressResponse) Size() (n int)
func (*QueryAddressResponse) String ¶
func (m *QueryAddressResponse) String() string
func (*QueryAddressResponse) Unmarshal ¶
func (m *QueryAddressResponse) Unmarshal(dAtA []byte) error
func (*QueryAddressResponse) XXX_DiscardUnknown ¶
func (m *QueryAddressResponse) XXX_DiscardUnknown()
func (*QueryAddressResponse) XXX_Marshal ¶
func (m *QueryAddressResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryAddressResponse) XXX_Merge ¶
func (m *QueryAddressResponse) XXX_Merge(src proto.Message)
func (*QueryAddressResponse) XXX_Size ¶
func (m *QueryAddressResponse) XXX_Size() int
func (*QueryAddressResponse) XXX_Unmarshal ¶
func (m *QueryAddressResponse) XXX_Unmarshal(b []byte) error
type QueryClient ¶
type QueryClient interface { Address(ctx context.Context, in *QueryAddress, opts ...grpc.CallOption) (*QueryAddressResponse, error) StatsByChannel(ctx context.Context, in *QueryStatsByChannel, opts ...grpc.CallOption) (*QueryStatsByChannelResponse, error) }
QueryClient is the client API for Query service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewQueryClient ¶
func NewQueryClient(cc grpc1.ClientConn) QueryClient
type QueryServer ¶
type QueryServer interface { Address(context.Context, *QueryAddress) (*QueryAddressResponse, error) StatsByChannel(context.Context, *QueryStatsByChannel) (*QueryStatsByChannelResponse, error) }
QueryServer is the server API for Query service.
type QueryStatsByChannel ¶
type QueryStatsByChannel struct {
Channel string `protobuf:"bytes,1,opt,name=channel,proto3" json:"channel,omitempty"`
}
func (*QueryStatsByChannel) Descriptor ¶
func (*QueryStatsByChannel) Descriptor() ([]byte, []int)
func (*QueryStatsByChannel) GetChannel ¶
func (m *QueryStatsByChannel) GetChannel() string
func (*QueryStatsByChannel) Marshal ¶
func (m *QueryStatsByChannel) Marshal() (dAtA []byte, err error)
func (*QueryStatsByChannel) MarshalTo ¶
func (m *QueryStatsByChannel) MarshalTo(dAtA []byte) (int, error)
func (*QueryStatsByChannel) MarshalToSizedBuffer ¶
func (m *QueryStatsByChannel) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryStatsByChannel) ProtoMessage ¶
func (*QueryStatsByChannel) ProtoMessage()
func (*QueryStatsByChannel) Reset ¶
func (m *QueryStatsByChannel) Reset()
func (*QueryStatsByChannel) Size ¶
func (m *QueryStatsByChannel) Size() (n int)
func (*QueryStatsByChannel) String ¶
func (m *QueryStatsByChannel) String() string
func (*QueryStatsByChannel) Unmarshal ¶
func (m *QueryStatsByChannel) Unmarshal(dAtA []byte) error
func (*QueryStatsByChannel) XXX_DiscardUnknown ¶
func (m *QueryStatsByChannel) XXX_DiscardUnknown()
func (*QueryStatsByChannel) XXX_Marshal ¶
func (m *QueryStatsByChannel) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryStatsByChannel) XXX_Merge ¶
func (m *QueryStatsByChannel) XXX_Merge(src proto.Message)
func (*QueryStatsByChannel) XXX_Size ¶
func (m *QueryStatsByChannel) XXX_Size() int
func (*QueryStatsByChannel) XXX_Unmarshal ¶
func (m *QueryStatsByChannel) XXX_Unmarshal(b []byte) error
type QueryStatsByChannelResponse ¶
type QueryStatsByChannelResponse struct { NumOfAccounts uint64 `protobuf:"varint,1,opt,name=num_of_accounts,json=numOfAccounts,proto3" json:"num_of_accounts,omitempty"` NumOfForwards uint64 `protobuf:"varint,2,opt,name=num_of_forwards,json=numOfForwards,proto3" json:"num_of_forwards,omitempty"` TotalForwarded github_com_cosmos_cosmos_sdk_types.Coins `` /* 147-byte string literal not displayed */ }
func (*QueryStatsByChannelResponse) Descriptor ¶
func (*QueryStatsByChannelResponse) Descriptor() ([]byte, []int)
func (*QueryStatsByChannelResponse) GetNumOfAccounts ¶
func (m *QueryStatsByChannelResponse) GetNumOfAccounts() uint64
func (*QueryStatsByChannelResponse) GetNumOfForwards ¶
func (m *QueryStatsByChannelResponse) GetNumOfForwards() uint64
func (*QueryStatsByChannelResponse) GetTotalForwarded ¶
func (m *QueryStatsByChannelResponse) GetTotalForwarded() github_com_cosmos_cosmos_sdk_types.Coins
func (*QueryStatsByChannelResponse) Marshal ¶
func (m *QueryStatsByChannelResponse) Marshal() (dAtA []byte, err error)
func (*QueryStatsByChannelResponse) MarshalTo ¶
func (m *QueryStatsByChannelResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryStatsByChannelResponse) MarshalToSizedBuffer ¶
func (m *QueryStatsByChannelResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryStatsByChannelResponse) ProtoMessage ¶
func (*QueryStatsByChannelResponse) ProtoMessage()
func (*QueryStatsByChannelResponse) Reset ¶
func (m *QueryStatsByChannelResponse) Reset()
func (*QueryStatsByChannelResponse) Size ¶
func (m *QueryStatsByChannelResponse) Size() (n int)
func (*QueryStatsByChannelResponse) String ¶
func (m *QueryStatsByChannelResponse) String() string
func (*QueryStatsByChannelResponse) Unmarshal ¶
func (m *QueryStatsByChannelResponse) Unmarshal(dAtA []byte) error
func (*QueryStatsByChannelResponse) XXX_DiscardUnknown ¶
func (m *QueryStatsByChannelResponse) XXX_DiscardUnknown()
func (*QueryStatsByChannelResponse) XXX_Marshal ¶
func (m *QueryStatsByChannelResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryStatsByChannelResponse) XXX_Merge ¶
func (m *QueryStatsByChannelResponse) XXX_Merge(src proto.Message)
func (*QueryStatsByChannelResponse) XXX_Size ¶
func (m *QueryStatsByChannelResponse) XXX_Size() int
func (*QueryStatsByChannelResponse) XXX_Unmarshal ¶
func (m *QueryStatsByChannelResponse) XXX_Unmarshal(b []byte) error
type RegisterAccountData ¶
type RegisterAccountData struct { Recipient string `protobuf:"bytes,1,opt,name=recipient,proto3" json:"recipient,omitempty"` Channel string `protobuf:"bytes,2,opt,name=channel,proto3" json:"channel,omitempty"` }
func (*RegisterAccountData) Descriptor ¶
func (*RegisterAccountData) Descriptor() ([]byte, []int)
func (*RegisterAccountData) GetChannel ¶
func (m *RegisterAccountData) GetChannel() string
func (*RegisterAccountData) GetRecipient ¶
func (m *RegisterAccountData) GetRecipient() string
func (*RegisterAccountData) Marshal ¶
func (m *RegisterAccountData) Marshal() (dAtA []byte, err error)
func (*RegisterAccountData) MarshalTo ¶
func (m *RegisterAccountData) MarshalTo(dAtA []byte) (int, error)
func (*RegisterAccountData) MarshalToSizedBuffer ¶
func (m *RegisterAccountData) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*RegisterAccountData) ProtoMessage ¶
func (*RegisterAccountData) ProtoMessage()
func (*RegisterAccountData) Reset ¶
func (m *RegisterAccountData) Reset()
func (*RegisterAccountData) Size ¶
func (m *RegisterAccountData) Size() (n int)
func (*RegisterAccountData) String ¶
func (m *RegisterAccountData) String() string
func (*RegisterAccountData) Unmarshal ¶
func (m *RegisterAccountData) Unmarshal(dAtA []byte) error
func (*RegisterAccountData) XXX_DiscardUnknown ¶
func (m *RegisterAccountData) XXX_DiscardUnknown()
func (*RegisterAccountData) XXX_Marshal ¶
func (m *RegisterAccountData) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RegisterAccountData) XXX_Merge ¶
func (m *RegisterAccountData) XXX_Merge(src proto.Message)
func (*RegisterAccountData) XXX_Size ¶
func (m *RegisterAccountData) XXX_Size() int
func (*RegisterAccountData) XXX_Unmarshal ¶
func (m *RegisterAccountData) XXX_Unmarshal(b []byte) error
type RegisterAccountMemo ¶
type RegisterAccountMemo struct {
Noble *RegisterAccountMemo_RegisterAccountDataWrapper `protobuf:"bytes,1,opt,name=noble,proto3" json:"noble,omitempty"`
}
func (*RegisterAccountMemo) Descriptor ¶
func (*RegisterAccountMemo) Descriptor() ([]byte, []int)
func (*RegisterAccountMemo) GetNoble ¶
func (m *RegisterAccountMemo) GetNoble() *RegisterAccountMemo_RegisterAccountDataWrapper
func (*RegisterAccountMemo) Marshal ¶
func (m *RegisterAccountMemo) Marshal() (dAtA []byte, err error)
func (*RegisterAccountMemo) MarshalTo ¶
func (m *RegisterAccountMemo) MarshalTo(dAtA []byte) (int, error)
func (*RegisterAccountMemo) MarshalToSizedBuffer ¶
func (m *RegisterAccountMemo) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*RegisterAccountMemo) ProtoMessage ¶
func (*RegisterAccountMemo) ProtoMessage()
func (*RegisterAccountMemo) Reset ¶
func (m *RegisterAccountMemo) Reset()
func (*RegisterAccountMemo) Size ¶
func (m *RegisterAccountMemo) Size() (n int)
func (*RegisterAccountMemo) String ¶
func (m *RegisterAccountMemo) String() string
func (*RegisterAccountMemo) Unmarshal ¶
func (m *RegisterAccountMemo) Unmarshal(dAtA []byte) error
func (*RegisterAccountMemo) XXX_DiscardUnknown ¶
func (m *RegisterAccountMemo) XXX_DiscardUnknown()
func (*RegisterAccountMemo) XXX_Marshal ¶
func (m *RegisterAccountMemo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RegisterAccountMemo) XXX_Merge ¶
func (m *RegisterAccountMemo) XXX_Merge(src proto.Message)
func (*RegisterAccountMemo) XXX_Size ¶
func (m *RegisterAccountMemo) XXX_Size() int
func (*RegisterAccountMemo) XXX_Unmarshal ¶
func (m *RegisterAccountMemo) XXX_Unmarshal(b []byte) error
type RegisterAccountMemo_RegisterAccountDataWrapper ¶
type RegisterAccountMemo_RegisterAccountDataWrapper struct {
Forwarding *RegisterAccountData `protobuf:"bytes,1,opt,name=forwarding,proto3" json:"forwarding,omitempty"`
}
func (*RegisterAccountMemo_RegisterAccountDataWrapper) Descriptor ¶
func (*RegisterAccountMemo_RegisterAccountDataWrapper) Descriptor() ([]byte, []int)
func (*RegisterAccountMemo_RegisterAccountDataWrapper) GetForwarding ¶
func (m *RegisterAccountMemo_RegisterAccountDataWrapper) GetForwarding() *RegisterAccountData
func (*RegisterAccountMemo_RegisterAccountDataWrapper) Marshal ¶
func (m *RegisterAccountMemo_RegisterAccountDataWrapper) Marshal() (dAtA []byte, err error)
func (*RegisterAccountMemo_RegisterAccountDataWrapper) MarshalTo ¶
func (m *RegisterAccountMemo_RegisterAccountDataWrapper) MarshalTo(dAtA []byte) (int, error)
func (*RegisterAccountMemo_RegisterAccountDataWrapper) MarshalToSizedBuffer ¶
func (m *RegisterAccountMemo_RegisterAccountDataWrapper) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*RegisterAccountMemo_RegisterAccountDataWrapper) ProtoMessage ¶
func (*RegisterAccountMemo_RegisterAccountDataWrapper) ProtoMessage()
func (*RegisterAccountMemo_RegisterAccountDataWrapper) Reset ¶
func (m *RegisterAccountMemo_RegisterAccountDataWrapper) Reset()
func (*RegisterAccountMemo_RegisterAccountDataWrapper) Size ¶
func (m *RegisterAccountMemo_RegisterAccountDataWrapper) Size() (n int)
func (*RegisterAccountMemo_RegisterAccountDataWrapper) String ¶
func (m *RegisterAccountMemo_RegisterAccountDataWrapper) String() string
func (*RegisterAccountMemo_RegisterAccountDataWrapper) Unmarshal ¶
func (m *RegisterAccountMemo_RegisterAccountDataWrapper) Unmarshal(dAtA []byte) error
func (*RegisterAccountMemo_RegisterAccountDataWrapper) XXX_DiscardUnknown ¶
func (m *RegisterAccountMemo_RegisterAccountDataWrapper) XXX_DiscardUnknown()
func (*RegisterAccountMemo_RegisterAccountDataWrapper) XXX_Marshal ¶
func (m *RegisterAccountMemo_RegisterAccountDataWrapper) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RegisterAccountMemo_RegisterAccountDataWrapper) XXX_Merge ¶
func (m *RegisterAccountMemo_RegisterAccountDataWrapper) XXX_Merge(src proto.Message)
func (*RegisterAccountMemo_RegisterAccountDataWrapper) XXX_Size ¶
func (m *RegisterAccountMemo_RegisterAccountDataWrapper) XXX_Size() int
func (*RegisterAccountMemo_RegisterAccountDataWrapper) XXX_Unmarshal ¶
func (m *RegisterAccountMemo_RegisterAccountDataWrapper) XXX_Unmarshal(b []byte) error
type TransferKeeper ¶
type UnimplementedMsgServer ¶
type UnimplementedMsgServer struct { }
UnimplementedMsgServer can be embedded to have forward compatible implementations.
func (*UnimplementedMsgServer) ClearAccount ¶
func (*UnimplementedMsgServer) ClearAccount(ctx context.Context, req *MsgClearAccount) (*MsgClearAccountResponse, error)
func (*UnimplementedMsgServer) RegisterAccount ¶
func (*UnimplementedMsgServer) RegisterAccount(ctx context.Context, req *MsgRegisterAccount) (*MsgRegisterAccountResponse, error)
type UnimplementedQueryServer ¶
type UnimplementedQueryServer struct { }
UnimplementedQueryServer can be embedded to have forward compatible implementations.
func (*UnimplementedQueryServer) Address ¶
func (*UnimplementedQueryServer) Address(ctx context.Context, req *QueryAddress) (*QueryAddressResponse, error)
func (*UnimplementedQueryServer) StatsByChannel ¶
func (*UnimplementedQueryServer) StatsByChannel(ctx context.Context, req *QueryStatsByChannel) (*QueryStatsByChannelResponse, error)