Documentation
¶
Overview ¶
Package types is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Index ¶
- Constants
- Variables
- func RegisterInterfaces(registry types.InterfaceRegistry)
- func RegisterLegacyAminoCodec(cdc *codec.LegacyAmino)
- func RegisterMsgServer(s grpc1.Server, srv MsgServer)
- func RegisterQueryHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterQueryHandlerClient(ctx context.Context, mux *runtime.ServeMux, client QueryClient) error
- func RegisterQueryHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterQueryHandlerServer(ctx context.Context, mux *runtime.ServeMux, server QueryServer) error
- func RegisterQueryServer(s grpc1.Server, srv QueryServer)
- func RegisterSideMsgServer(sideCfg sidetxs.SideTxConfigurator, srv sidetxs.SideMsgServer)
- func SetGenesisStateToAppState(cdc codec.JSONCodec, appState map[string]json.RawMessage, ...) (map[string]json.RawMessage, error)
- type AccountProof
- func (*AccountProof) Descriptor() ([]byte, []int)
- func (m *AccountProof) GetAccountProof() []byte
- func (m *AccountProof) GetAddress() string
- func (m *AccountProof) GetIndex() uint64
- func (m *AccountProof) Marshal() (dAtA []byte, err error)
- func (m *AccountProof) MarshalTo(dAtA []byte) (int, error)
- func (m *AccountProof) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*AccountProof) ProtoMessage()
- func (m *AccountProof) Reset()
- func (m *AccountProof) Size() (n int)
- func (m *AccountProof) String() string
- func (m *AccountProof) Unmarshal(dAtA []byte) error
- func (m *AccountProof) XXX_DiscardUnknown()
- func (m *AccountProof) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *AccountProof) XXX_Merge(src proto.Message)
- func (m *AccountProof) XXX_Size() int
- func (m *AccountProof) XXX_Unmarshal(b []byte) error
- type BankKeeper
- type ChainKeeper
- type GenesisState
- func (*GenesisState) Descriptor() ([]byte, []int)
- func (m *GenesisState) GetDividendAccounts() []types.DividendAccount
- func (m *GenesisState) GetTopupSequences() []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 (gs 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 MsgClient
- type MsgServer
- type MsgTopupTx
- func (*MsgTopupTx) Descriptor() ([]byte, []int)
- func (m *MsgTopupTx) GetBlockNumber() uint64
- func (m *MsgTopupTx) GetLogIndex() uint64
- func (m *MsgTopupTx) GetProposer() string
- func (m *MsgTopupTx) GetTxHash() []byte
- func (m *MsgTopupTx) GetUser() string
- func (m *MsgTopupTx) Marshal() (dAtA []byte, err error)
- func (m *MsgTopupTx) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgTopupTx) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgTopupTx) ProtoMessage()
- func (m *MsgTopupTx) Reset()
- func (m *MsgTopupTx) Size() (n int)
- func (m *MsgTopupTx) String() string
- func (msg MsgTopupTx) Type() string
- func (m *MsgTopupTx) Unmarshal(dAtA []byte) error
- func (m *MsgTopupTx) XXX_DiscardUnknown()
- func (m *MsgTopupTx) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgTopupTx) XXX_Merge(src proto.Message)
- func (m *MsgTopupTx) XXX_Size() int
- func (m *MsgTopupTx) XXX_Unmarshal(b []byte) error
- type MsgTopupTxResponse
- func (*MsgTopupTxResponse) Descriptor() ([]byte, []int)
- func (m *MsgTopupTxResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgTopupTxResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgTopupTxResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgTopupTxResponse) ProtoMessage()
- func (m *MsgTopupTxResponse) Reset()
- func (m *MsgTopupTxResponse) Size() (n int)
- func (m *MsgTopupTxResponse) String() string
- func (m *MsgTopupTxResponse) Unmarshal(dAtA []byte) error
- func (m *MsgTopupTxResponse) XXX_DiscardUnknown()
- func (m *MsgTopupTxResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgTopupTxResponse) XXX_Merge(src proto.Message)
- func (m *MsgTopupTxResponse) XXX_Size() int
- func (m *MsgTopupTxResponse) XXX_Unmarshal(b []byte) error
- type MsgWithdrawFeeTx
- func (*MsgWithdrawFeeTx) Descriptor() ([]byte, []int)
- func (m *MsgWithdrawFeeTx) GetProposer() string
- func (m *MsgWithdrawFeeTx) Marshal() (dAtA []byte, err error)
- func (m *MsgWithdrawFeeTx) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgWithdrawFeeTx) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgWithdrawFeeTx) ProtoMessage()
- func (m *MsgWithdrawFeeTx) Reset()
- func (m *MsgWithdrawFeeTx) Size() (n int)
- func (m *MsgWithdrawFeeTx) String() string
- func (msg MsgWithdrawFeeTx) Type() string
- func (m *MsgWithdrawFeeTx) Unmarshal(dAtA []byte) error
- func (m *MsgWithdrawFeeTx) XXX_DiscardUnknown()
- func (m *MsgWithdrawFeeTx) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgWithdrawFeeTx) XXX_Merge(src proto.Message)
- func (m *MsgWithdrawFeeTx) XXX_Size() int
- func (m *MsgWithdrawFeeTx) XXX_Unmarshal(b []byte) error
- type MsgWithdrawFeeTxResponse
- func (*MsgWithdrawFeeTxResponse) Descriptor() ([]byte, []int)
- func (m *MsgWithdrawFeeTxResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgWithdrawFeeTxResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgWithdrawFeeTxResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgWithdrawFeeTxResponse) ProtoMessage()
- func (m *MsgWithdrawFeeTxResponse) Reset()
- func (m *MsgWithdrawFeeTxResponse) Size() (n int)
- func (m *MsgWithdrawFeeTxResponse) String() string
- func (m *MsgWithdrawFeeTxResponse) Unmarshal(dAtA []byte) error
- func (m *MsgWithdrawFeeTxResponse) XXX_DiscardUnknown()
- func (m *MsgWithdrawFeeTxResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgWithdrawFeeTxResponse) XXX_Merge(src proto.Message)
- func (m *MsgWithdrawFeeTxResponse) XXX_Size() int
- func (m *MsgWithdrawFeeTxResponse) XXX_Unmarshal(b []byte) error
- type QueryAccountProofRequest
- func (*QueryAccountProofRequest) Descriptor() ([]byte, []int)
- func (m *QueryAccountProofRequest) GetAddress() string
- func (m *QueryAccountProofRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryAccountProofRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryAccountProofRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryAccountProofRequest) ProtoMessage()
- func (m *QueryAccountProofRequest) Reset()
- func (m *QueryAccountProofRequest) Size() (n int)
- func (m *QueryAccountProofRequest) String() string
- func (m *QueryAccountProofRequest) Unmarshal(dAtA []byte) error
- func (m *QueryAccountProofRequest) XXX_DiscardUnknown()
- func (m *QueryAccountProofRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryAccountProofRequest) XXX_Merge(src proto.Message)
- func (m *QueryAccountProofRequest) XXX_Size() int
- func (m *QueryAccountProofRequest) XXX_Unmarshal(b []byte) error
- type QueryAccountProofResponse
- func (*QueryAccountProofResponse) Descriptor() ([]byte, []int)
- func (m *QueryAccountProofResponse) GetProof() AccountProof
- func (m *QueryAccountProofResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryAccountProofResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryAccountProofResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryAccountProofResponse) ProtoMessage()
- func (m *QueryAccountProofResponse) Reset()
- func (m *QueryAccountProofResponse) Size() (n int)
- func (m *QueryAccountProofResponse) String() string
- func (m *QueryAccountProofResponse) Unmarshal(dAtA []byte) error
- func (m *QueryAccountProofResponse) XXX_DiscardUnknown()
- func (m *QueryAccountProofResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryAccountProofResponse) XXX_Merge(src proto.Message)
- func (m *QueryAccountProofResponse) XXX_Size() int
- func (m *QueryAccountProofResponse) XXX_Unmarshal(b []byte) error
- type QueryClient
- type QueryDividendAccountRequest
- func (*QueryDividendAccountRequest) Descriptor() ([]byte, []int)
- func (m *QueryDividendAccountRequest) GetAddress() string
- func (m *QueryDividendAccountRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryDividendAccountRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryDividendAccountRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryDividendAccountRequest) ProtoMessage()
- func (m *QueryDividendAccountRequest) Reset()
- func (m *QueryDividendAccountRequest) Size() (n int)
- func (m *QueryDividendAccountRequest) String() string
- func (m *QueryDividendAccountRequest) Unmarshal(dAtA []byte) error
- func (m *QueryDividendAccountRequest) XXX_DiscardUnknown()
- func (m *QueryDividendAccountRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryDividendAccountRequest) XXX_Merge(src proto.Message)
- func (m *QueryDividendAccountRequest) XXX_Size() int
- func (m *QueryDividendAccountRequest) XXX_Unmarshal(b []byte) error
- type QueryDividendAccountResponse
- func (*QueryDividendAccountResponse) Descriptor() ([]byte, []int)
- func (m *QueryDividendAccountResponse) GetDividendAccount() types.DividendAccount
- func (m *QueryDividendAccountResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryDividendAccountResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryDividendAccountResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryDividendAccountResponse) ProtoMessage()
- func (m *QueryDividendAccountResponse) Reset()
- func (m *QueryDividendAccountResponse) Size() (n int)
- func (m *QueryDividendAccountResponse) String() string
- func (m *QueryDividendAccountResponse) Unmarshal(dAtA []byte) error
- func (m *QueryDividendAccountResponse) XXX_DiscardUnknown()
- func (m *QueryDividendAccountResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryDividendAccountResponse) XXX_Merge(src proto.Message)
- func (m *QueryDividendAccountResponse) XXX_Size() int
- func (m *QueryDividendAccountResponse) XXX_Unmarshal(b []byte) error
- type QueryDividendAccountRootHashRequest
- func (*QueryDividendAccountRootHashRequest) Descriptor() ([]byte, []int)
- func (m *QueryDividendAccountRootHashRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryDividendAccountRootHashRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryDividendAccountRootHashRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryDividendAccountRootHashRequest) ProtoMessage()
- func (m *QueryDividendAccountRootHashRequest) Reset()
- func (m *QueryDividendAccountRootHashRequest) Size() (n int)
- func (m *QueryDividendAccountRootHashRequest) String() string
- func (m *QueryDividendAccountRootHashRequest) Unmarshal(dAtA []byte) error
- func (m *QueryDividendAccountRootHashRequest) XXX_DiscardUnknown()
- func (m *QueryDividendAccountRootHashRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryDividendAccountRootHashRequest) XXX_Merge(src proto.Message)
- func (m *QueryDividendAccountRootHashRequest) XXX_Size() int
- func (m *QueryDividendAccountRootHashRequest) XXX_Unmarshal(b []byte) error
- type QueryDividendAccountRootHashResponse
- func (*QueryDividendAccountRootHashResponse) Descriptor() ([]byte, []int)
- func (m *QueryDividendAccountRootHashResponse) GetAccountRootHash() []byte
- func (m *QueryDividendAccountRootHashResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryDividendAccountRootHashResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryDividendAccountRootHashResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryDividendAccountRootHashResponse) ProtoMessage()
- func (m *QueryDividendAccountRootHashResponse) Reset()
- func (m *QueryDividendAccountRootHashResponse) Size() (n int)
- func (m *QueryDividendAccountRootHashResponse) String() string
- func (m *QueryDividendAccountRootHashResponse) Unmarshal(dAtA []byte) error
- func (m *QueryDividendAccountRootHashResponse) XXX_DiscardUnknown()
- func (m *QueryDividendAccountRootHashResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryDividendAccountRootHashResponse) XXX_Merge(src proto.Message)
- func (m *QueryDividendAccountRootHashResponse) XXX_Size() int
- func (m *QueryDividendAccountRootHashResponse) XXX_Unmarshal(b []byte) error
- type QueryIsTopupTxOldResponse
- func (*QueryIsTopupTxOldResponse) Descriptor() ([]byte, []int)
- func (m *QueryIsTopupTxOldResponse) GetIsOld() bool
- func (m *QueryIsTopupTxOldResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryIsTopupTxOldResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryIsTopupTxOldResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryIsTopupTxOldResponse) ProtoMessage()
- func (m *QueryIsTopupTxOldResponse) Reset()
- func (m *QueryIsTopupTxOldResponse) Size() (n int)
- func (m *QueryIsTopupTxOldResponse) String() string
- func (m *QueryIsTopupTxOldResponse) Unmarshal(dAtA []byte) error
- func (m *QueryIsTopupTxOldResponse) XXX_DiscardUnknown()
- func (m *QueryIsTopupTxOldResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryIsTopupTxOldResponse) XXX_Merge(src proto.Message)
- func (m *QueryIsTopupTxOldResponse) XXX_Size() int
- func (m *QueryIsTopupTxOldResponse) XXX_Unmarshal(b []byte) error
- type QueryServer
- type QueryTopupSequenceRequest
- func (*QueryTopupSequenceRequest) Descriptor() ([]byte, []int)
- func (m *QueryTopupSequenceRequest) GetLogIndex() uint64
- func (m *QueryTopupSequenceRequest) GetTxHash() string
- func (m *QueryTopupSequenceRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryTopupSequenceRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryTopupSequenceRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryTopupSequenceRequest) ProtoMessage()
- func (m *QueryTopupSequenceRequest) Reset()
- func (m *QueryTopupSequenceRequest) Size() (n int)
- func (m *QueryTopupSequenceRequest) String() string
- func (m *QueryTopupSequenceRequest) Unmarshal(dAtA []byte) error
- func (m *QueryTopupSequenceRequest) XXX_DiscardUnknown()
- func (m *QueryTopupSequenceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryTopupSequenceRequest) XXX_Merge(src proto.Message)
- func (m *QueryTopupSequenceRequest) XXX_Size() int
- func (m *QueryTopupSequenceRequest) XXX_Unmarshal(b []byte) error
- type QueryTopupSequenceResponse
- func (*QueryTopupSequenceResponse) Descriptor() ([]byte, []int)
- func (m *QueryTopupSequenceResponse) GetSequence() string
- func (m *QueryTopupSequenceResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryTopupSequenceResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryTopupSequenceResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryTopupSequenceResponse) ProtoMessage()
- func (m *QueryTopupSequenceResponse) Reset()
- func (m *QueryTopupSequenceResponse) Size() (n int)
- func (m *QueryTopupSequenceResponse) String() string
- func (m *QueryTopupSequenceResponse) Unmarshal(dAtA []byte) error
- func (m *QueryTopupSequenceResponse) XXX_DiscardUnknown()
- func (m *QueryTopupSequenceResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryTopupSequenceResponse) XXX_Merge(src proto.Message)
- func (m *QueryTopupSequenceResponse) XXX_Size() int
- func (m *QueryTopupSequenceResponse) XXX_Unmarshal(b []byte) error
- type QueryVerifyAccountProofRequest
- func (*QueryVerifyAccountProofRequest) Descriptor() ([]byte, []int)
- func (m *QueryVerifyAccountProofRequest) GetAddress() string
- func (m *QueryVerifyAccountProofRequest) GetProof() string
- func (m *QueryVerifyAccountProofRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryVerifyAccountProofRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryVerifyAccountProofRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryVerifyAccountProofRequest) ProtoMessage()
- func (m *QueryVerifyAccountProofRequest) Reset()
- func (m *QueryVerifyAccountProofRequest) Size() (n int)
- func (m *QueryVerifyAccountProofRequest) String() string
- func (m *QueryVerifyAccountProofRequest) Unmarshal(dAtA []byte) error
- func (m *QueryVerifyAccountProofRequest) XXX_DiscardUnknown()
- func (m *QueryVerifyAccountProofRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryVerifyAccountProofRequest) XXX_Merge(src proto.Message)
- func (m *QueryVerifyAccountProofRequest) XXX_Size() int
- func (m *QueryVerifyAccountProofRequest) XXX_Unmarshal(b []byte) error
- type QueryVerifyAccountProofResponse
- func (*QueryVerifyAccountProofResponse) Descriptor() ([]byte, []int)
- func (m *QueryVerifyAccountProofResponse) GetIsVerified() bool
- func (m *QueryVerifyAccountProofResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryVerifyAccountProofResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryVerifyAccountProofResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryVerifyAccountProofResponse) ProtoMessage()
- func (m *QueryVerifyAccountProofResponse) Reset()
- func (m *QueryVerifyAccountProofResponse) Size() (n int)
- func (m *QueryVerifyAccountProofResponse) String() string
- func (m *QueryVerifyAccountProofResponse) Unmarshal(dAtA []byte) error
- func (m *QueryVerifyAccountProofResponse) XXX_DiscardUnknown()
- func (m *QueryVerifyAccountProofResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryVerifyAccountProofResponse) XXX_Merge(src proto.Message)
- func (m *QueryVerifyAccountProofResponse) XXX_Size() int
- func (m *QueryVerifyAccountProofResponse) XXX_Unmarshal(b []byte) error
- type UnimplementedMsgServer
- type UnimplementedQueryServer
- func (*UnimplementedQueryServer) GetAccountProofByAddress(ctx context.Context, req *QueryAccountProofRequest) (*QueryAccountProofResponse, error)
- func (*UnimplementedQueryServer) GetDividendAccountByAddress(ctx context.Context, req *QueryDividendAccountRequest) (*QueryDividendAccountResponse, error)
- func (*UnimplementedQueryServer) GetDividendAccountRootHash(ctx context.Context, req *QueryDividendAccountRootHashRequest) (*QueryDividendAccountRootHashResponse, error)
- func (*UnimplementedQueryServer) GetTopupTxSequence(ctx context.Context, req *QueryTopupSequenceRequest) (*QueryTopupSequenceResponse, error)
- func (*UnimplementedQueryServer) IsTopupTxOld(ctx context.Context, req *QueryTopupSequenceRequest) (*QueryIsTopupTxOldResponse, error)
- func (*UnimplementedQueryServer) VerifyAccountProofByAddress(ctx context.Context, req *QueryVerifyAccountProofRequest) (*QueryVerifyAccountProofResponse, error)
Constants ¶
const ( AttributeValueCategory = ModuleName EventTypeTopup = "topup" EventTypeFeeWithdraw = "fee-withdraw" EventTypeWithdraw = "withdraw" AttributeKeyRecipient = "recipient" AttributeKeySender = "sender" AttributeKeyUser = "user" AttributeKeyTopupAmount = "topup-amount" AttributeKeyFeeWithdrawAmount = "fee-withdraw-amount" )
x/topup module event types
const ( // ModuleName is the name of the module ModuleName = "topup" // StoreKey is the store key string for topup StoreKey = ModuleName // RouterKey is the msg router key for the topup module RouterKey = ModuleName // DefaultLogIndexUnit represents the default unit for txHash + logIndex DefaultLogIndexUnit = 100000 )
Variables ¶
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 ( // TopupSequencePrefixKey represents the topup sequence prefix key TopupSequencePrefixKey = collections.NewPrefix([]byte{0x81}) // DividendAccountMapKey represents the prefix for each key for the dividend account map DividendAccountMapKey = collections.NewPrefix([]byte{0x82}) )
var ( ErrInvalidLengthQuery = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowQuery = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupQuery = fmt.Errorf("proto: unexpected end of group") )
Functions ¶
func RegisterInterfaces ¶
func RegisterInterfaces(registry types.InterfaceRegistry)
RegisterInterfaces registers the topup msg implementations in the registry
func RegisterLegacyAminoCodec ¶
func RegisterLegacyAminoCodec(cdc *codec.LegacyAmino)
RegisterLegacyAminoCodec registers the necessary x/topup interfaces and concrete types on the provided LegacyAmino codec. These types are used for Amino JSON serialization.
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 RegisterSideMsgServer ¶
func RegisterSideMsgServer(sideCfg sidetxs.SideTxConfigurator, srv sidetxs.SideMsgServer)
RegisterSideMsgServer registers server methods for the x/topup module handlers, based on the sideCfg.
func SetGenesisStateToAppState ¶
func SetGenesisStateToAppState(cdc codec.JSONCodec, appState map[string]json.RawMessage, dividendAccounts []types.DividendAccount) (map[string]json.RawMessage, error)
SetGenesisStateToAppState sets x/topup module GenesisState into the raw application genesis state.
Types ¶
type AccountProof ¶
type AccountProof struct { Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` AccountProof []byte `protobuf:"bytes,2,opt,name=account_proof,json=accountProof,proto3" json:"account_proof,omitempty"` Index uint64 `protobuf:"varint,3,opt,name=index,proto3" json:"index,omitempty"` }
func (*AccountProof) Descriptor ¶
func (*AccountProof) Descriptor() ([]byte, []int)
func (*AccountProof) GetAccountProof ¶
func (m *AccountProof) GetAccountProof() []byte
func (*AccountProof) GetAddress ¶
func (m *AccountProof) GetAddress() string
func (*AccountProof) GetIndex ¶
func (m *AccountProof) GetIndex() uint64
func (*AccountProof) Marshal ¶
func (m *AccountProof) Marshal() (dAtA []byte, err error)
func (*AccountProof) MarshalToSizedBuffer ¶
func (m *AccountProof) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*AccountProof) ProtoMessage ¶
func (*AccountProof) ProtoMessage()
func (*AccountProof) Reset ¶
func (m *AccountProof) Reset()
func (*AccountProof) Size ¶
func (m *AccountProof) Size() (n int)
func (*AccountProof) String ¶
func (m *AccountProof) String() string
func (*AccountProof) Unmarshal ¶
func (m *AccountProof) Unmarshal(dAtA []byte) error
func (*AccountProof) XXX_DiscardUnknown ¶
func (m *AccountProof) XXX_DiscardUnknown()
func (*AccountProof) XXX_Marshal ¶
func (m *AccountProof) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*AccountProof) XXX_Merge ¶
func (m *AccountProof) XXX_Merge(src proto.Message)
func (*AccountProof) XXX_Size ¶
func (m *AccountProof) XXX_Size() int
func (*AccountProof) XXX_Unmarshal ¶
func (m *AccountProof) XXX_Unmarshal(b []byte) error
type BankKeeper ¶
type BankKeeper interface { GetBalance(ctx context.Context, addr sdk.AccAddress, denom string) sdk.Coin IsSendEnabledDenom(ctx context.Context, denom string) bool SpendableCoin(ctx context.Context, addr sdk.AccAddress, denom string) sdk.Coin SendCoinsFromAccountToModule(ctx context.Context, senderAddr sdk.AccAddress, recipientModule string, amt sdk.Coins) error BurnCoins(ctx context.Context, moduleName string, amt sdk.Coins) error SendCoinsFromModuleToAccount(ctx context.Context, senderModule string, recipientAddr sdk.AccAddress, amt sdk.Coins) error SendCoins(ctx context.Context, fromAddr, toAddr sdk.AccAddress, amt sdk.Coins) error MintCoins(ctx context.Context, moduleName string, amt sdk.Coins) error }
BankKeeper defines the bank keeper contract used by x/topup module
type ChainKeeper ¶
type ChainKeeper interface {
GetParams(ctx context.Context) (chainmanagertypes.Params, error)
}
ChainKeeper defines the chain keeper contract used by x/topup module
type GenesisState ¶
type GenesisState struct { TopupSequences []string `protobuf:"bytes,1,rep,name=topup_sequences,json=topupSequences,proto3" json:"topup_sequences,omitempty"` DividendAccounts []types.DividendAccount `protobuf:"bytes,2,rep,name=dividend_accounts,json=dividendAccounts,proto3" json:"dividend_accounts"` }
func DefaultGenesisState ¶
func DefaultGenesisState() *GenesisState
DefaultGenesisState returns a default genesis state for x/topup module
func GetGenesisStateFromAppState ¶
func GetGenesisStateFromAppState(cdc codec.JSONCodec, appState map[string]json.RawMessage) (*GenesisState, error)
GetGenesisStateFromAppState returns the x/topup module GenesisState given a raw application genesis state
func NewGenesisState ¶
func NewGenesisState(sequences []string, accounts []types.DividendAccount) *GenesisState
NewGenesisState creates a new genesis state for x/topup module
func (*GenesisState) Descriptor ¶
func (*GenesisState) Descriptor() ([]byte, []int)
func (*GenesisState) GetDividendAccounts ¶
func (m *GenesisState) GetDividendAccounts() []types.DividendAccount
func (*GenesisState) GetTopupSequences ¶
func (m *GenesisState) GetTopupSequences() []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 (gs GenesisState) Validate() error
Validate performs basic validation of x/topup genesis data
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 MsgClient ¶
type MsgClient interface { // HandleTopupTx defines a RPC method for handling a topup tx for a validator HandleTopupTx(ctx context.Context, in *MsgTopupTx, opts ...grpc.CallOption) (*MsgTopupTxResponse, error) // WithdrawFeeTx defines a RPC method for withdrawing the fees for a validator WithdrawFeeTx(ctx context.Context, in *MsgWithdrawFeeTx, opts ...grpc.CallOption) (*MsgWithdrawFeeTxResponse, 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 MsgServer ¶
type MsgServer interface { // HandleTopupTx defines a RPC method for handling a topup tx for a validator HandleTopupTx(context.Context, *MsgTopupTx) (*MsgTopupTxResponse, error) // WithdrawFeeTx defines a RPC method for withdrawing the fees for a validator WithdrawFeeTx(context.Context, *MsgWithdrawFeeTx) (*MsgWithdrawFeeTxResponse, error) }
MsgServer is the server API for Msg service.
type MsgTopupTx ¶
type MsgTopupTx struct { Proposer string `protobuf:"bytes,1,opt,name=proposer,proto3" json:"proposer,omitempty"` User string `protobuf:"bytes,2,opt,name=user,proto3" json:"user,omitempty"` Fee cosmossdk_io_math.Int `protobuf:"bytes,3,opt,name=fee,proto3,customtype=cosmossdk.io/math.Int" json:"fee"` TxHash []byte `protobuf:"bytes,4,opt,name=tx_hash,json=txHash,proto3" json:"tx_hash,omitempty"` LogIndex uint64 `protobuf:"varint,5,opt,name=log_index,json=logIndex,proto3" json:"log_index,omitempty"` BlockNumber uint64 `protobuf:"varint,6,opt,name=block_number,json=blockNumber,proto3" json:"block_number,omitempty"` }
func NewMsgTopupTx ¶
func NewMsgTopupTx(proposer, user string, fee math.Int, txHash []byte, index, blockNumber uint64) *MsgTopupTx
NewMsgTopupTx creates and returns a new MsgTopupTx.
func (*MsgTopupTx) Descriptor ¶
func (*MsgTopupTx) Descriptor() ([]byte, []int)
func (*MsgTopupTx) GetBlockNumber ¶
func (m *MsgTopupTx) GetBlockNumber() uint64
func (*MsgTopupTx) GetLogIndex ¶
func (m *MsgTopupTx) GetLogIndex() uint64
func (*MsgTopupTx) GetProposer ¶
func (m *MsgTopupTx) GetProposer() string
func (*MsgTopupTx) GetTxHash ¶
func (m *MsgTopupTx) GetTxHash() []byte
func (*MsgTopupTx) GetUser ¶
func (m *MsgTopupTx) GetUser() string
func (*MsgTopupTx) Marshal ¶
func (m *MsgTopupTx) Marshal() (dAtA []byte, err error)
func (*MsgTopupTx) MarshalToSizedBuffer ¶
func (m *MsgTopupTx) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgTopupTx) ProtoMessage ¶
func (*MsgTopupTx) ProtoMessage()
func (*MsgTopupTx) Reset ¶
func (m *MsgTopupTx) Reset()
func (*MsgTopupTx) Size ¶
func (m *MsgTopupTx) Size() (n int)
func (*MsgTopupTx) String ¶
func (m *MsgTopupTx) String() string
func (MsgTopupTx) Type ¶
func (msg MsgTopupTx) Type() string
Type returns the type of the x/topup MsgTopupTx.
func (*MsgTopupTx) Unmarshal ¶
func (m *MsgTopupTx) Unmarshal(dAtA []byte) error
func (*MsgTopupTx) XXX_DiscardUnknown ¶
func (m *MsgTopupTx) XXX_DiscardUnknown()
func (*MsgTopupTx) XXX_Marshal ¶
func (m *MsgTopupTx) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgTopupTx) XXX_Merge ¶
func (m *MsgTopupTx) XXX_Merge(src proto.Message)
func (*MsgTopupTx) XXX_Size ¶
func (m *MsgTopupTx) XXX_Size() int
func (*MsgTopupTx) XXX_Unmarshal ¶
func (m *MsgTopupTx) XXX_Unmarshal(b []byte) error
type MsgTopupTxResponse ¶
type MsgTopupTxResponse struct { }
func (*MsgTopupTxResponse) Descriptor ¶
func (*MsgTopupTxResponse) Descriptor() ([]byte, []int)
func (*MsgTopupTxResponse) Marshal ¶
func (m *MsgTopupTxResponse) Marshal() (dAtA []byte, err error)
func (*MsgTopupTxResponse) MarshalTo ¶
func (m *MsgTopupTxResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgTopupTxResponse) MarshalToSizedBuffer ¶
func (m *MsgTopupTxResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgTopupTxResponse) ProtoMessage ¶
func (*MsgTopupTxResponse) ProtoMessage()
func (*MsgTopupTxResponse) Reset ¶
func (m *MsgTopupTxResponse) Reset()
func (*MsgTopupTxResponse) Size ¶
func (m *MsgTopupTxResponse) Size() (n int)
func (*MsgTopupTxResponse) String ¶
func (m *MsgTopupTxResponse) String() string
func (*MsgTopupTxResponse) Unmarshal ¶
func (m *MsgTopupTxResponse) Unmarshal(dAtA []byte) error
func (*MsgTopupTxResponse) XXX_DiscardUnknown ¶
func (m *MsgTopupTxResponse) XXX_DiscardUnknown()
func (*MsgTopupTxResponse) XXX_Marshal ¶
func (m *MsgTopupTxResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgTopupTxResponse) XXX_Merge ¶
func (m *MsgTopupTxResponse) XXX_Merge(src proto.Message)
func (*MsgTopupTxResponse) XXX_Size ¶
func (m *MsgTopupTxResponse) XXX_Size() int
func (*MsgTopupTxResponse) XXX_Unmarshal ¶
func (m *MsgTopupTxResponse) XXX_Unmarshal(b []byte) error
type MsgWithdrawFeeTx ¶
type MsgWithdrawFeeTx struct { Proposer string `protobuf:"bytes,1,opt,name=proposer,proto3" json:"proposer,omitempty"` Amount cosmossdk_io_math.Int `protobuf:"bytes,2,opt,name=amount,proto3,customtype=cosmossdk.io/math.Int" json:"amount"` }
func NewMsgWithdrawFeeTx ¶
func NewMsgWithdrawFeeTx(proposer string, amount math.Int) *MsgWithdrawFeeTx
NewMsgWithdrawFeeTx creates and returns a new MsgWithdrawFeeTx.
func (*MsgWithdrawFeeTx) Descriptor ¶
func (*MsgWithdrawFeeTx) Descriptor() ([]byte, []int)
func (*MsgWithdrawFeeTx) GetProposer ¶
func (m *MsgWithdrawFeeTx) GetProposer() string
func (*MsgWithdrawFeeTx) Marshal ¶
func (m *MsgWithdrawFeeTx) Marshal() (dAtA []byte, err error)
func (*MsgWithdrawFeeTx) MarshalToSizedBuffer ¶
func (m *MsgWithdrawFeeTx) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgWithdrawFeeTx) ProtoMessage ¶
func (*MsgWithdrawFeeTx) ProtoMessage()
func (*MsgWithdrawFeeTx) Reset ¶
func (m *MsgWithdrawFeeTx) Reset()
func (*MsgWithdrawFeeTx) Size ¶
func (m *MsgWithdrawFeeTx) Size() (n int)
func (*MsgWithdrawFeeTx) String ¶
func (m *MsgWithdrawFeeTx) String() string
func (MsgWithdrawFeeTx) Type ¶
func (msg MsgWithdrawFeeTx) Type() string
Type returns the type of the x/topup MsgWithdrawFeeTx.
func (*MsgWithdrawFeeTx) Unmarshal ¶
func (m *MsgWithdrawFeeTx) Unmarshal(dAtA []byte) error
func (*MsgWithdrawFeeTx) XXX_DiscardUnknown ¶
func (m *MsgWithdrawFeeTx) XXX_DiscardUnknown()
func (*MsgWithdrawFeeTx) XXX_Marshal ¶
func (m *MsgWithdrawFeeTx) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgWithdrawFeeTx) XXX_Merge ¶
func (m *MsgWithdrawFeeTx) XXX_Merge(src proto.Message)
func (*MsgWithdrawFeeTx) XXX_Size ¶
func (m *MsgWithdrawFeeTx) XXX_Size() int
func (*MsgWithdrawFeeTx) XXX_Unmarshal ¶
func (m *MsgWithdrawFeeTx) XXX_Unmarshal(b []byte) error
type MsgWithdrawFeeTxResponse ¶
type MsgWithdrawFeeTxResponse struct { }
func (*MsgWithdrawFeeTxResponse) Descriptor ¶
func (*MsgWithdrawFeeTxResponse) Descriptor() ([]byte, []int)
func (*MsgWithdrawFeeTxResponse) Marshal ¶
func (m *MsgWithdrawFeeTxResponse) Marshal() (dAtA []byte, err error)
func (*MsgWithdrawFeeTxResponse) MarshalTo ¶
func (m *MsgWithdrawFeeTxResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgWithdrawFeeTxResponse) MarshalToSizedBuffer ¶
func (m *MsgWithdrawFeeTxResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgWithdrawFeeTxResponse) ProtoMessage ¶
func (*MsgWithdrawFeeTxResponse) ProtoMessage()
func (*MsgWithdrawFeeTxResponse) Reset ¶
func (m *MsgWithdrawFeeTxResponse) Reset()
func (*MsgWithdrawFeeTxResponse) Size ¶
func (m *MsgWithdrawFeeTxResponse) Size() (n int)
func (*MsgWithdrawFeeTxResponse) String ¶
func (m *MsgWithdrawFeeTxResponse) String() string
func (*MsgWithdrawFeeTxResponse) Unmarshal ¶
func (m *MsgWithdrawFeeTxResponse) Unmarshal(dAtA []byte) error
func (*MsgWithdrawFeeTxResponse) XXX_DiscardUnknown ¶
func (m *MsgWithdrawFeeTxResponse) XXX_DiscardUnknown()
func (*MsgWithdrawFeeTxResponse) XXX_Marshal ¶
func (m *MsgWithdrawFeeTxResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgWithdrawFeeTxResponse) XXX_Merge ¶
func (m *MsgWithdrawFeeTxResponse) XXX_Merge(src proto.Message)
func (*MsgWithdrawFeeTxResponse) XXX_Size ¶
func (m *MsgWithdrawFeeTxResponse) XXX_Size() int
func (*MsgWithdrawFeeTxResponse) XXX_Unmarshal ¶
func (m *MsgWithdrawFeeTxResponse) XXX_Unmarshal(b []byte) error
type QueryAccountProofRequest ¶
type QueryAccountProofRequest struct {
Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
}
func (*QueryAccountProofRequest) Descriptor ¶
func (*QueryAccountProofRequest) Descriptor() ([]byte, []int)
func (*QueryAccountProofRequest) GetAddress ¶
func (m *QueryAccountProofRequest) GetAddress() string
func (*QueryAccountProofRequest) Marshal ¶
func (m *QueryAccountProofRequest) Marshal() (dAtA []byte, err error)
func (*QueryAccountProofRequest) MarshalTo ¶
func (m *QueryAccountProofRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryAccountProofRequest) MarshalToSizedBuffer ¶
func (m *QueryAccountProofRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryAccountProofRequest) ProtoMessage ¶
func (*QueryAccountProofRequest) ProtoMessage()
func (*QueryAccountProofRequest) Reset ¶
func (m *QueryAccountProofRequest) Reset()
func (*QueryAccountProofRequest) Size ¶
func (m *QueryAccountProofRequest) Size() (n int)
func (*QueryAccountProofRequest) String ¶
func (m *QueryAccountProofRequest) String() string
func (*QueryAccountProofRequest) Unmarshal ¶
func (m *QueryAccountProofRequest) Unmarshal(dAtA []byte) error
func (*QueryAccountProofRequest) XXX_DiscardUnknown ¶
func (m *QueryAccountProofRequest) XXX_DiscardUnknown()
func (*QueryAccountProofRequest) XXX_Marshal ¶
func (m *QueryAccountProofRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryAccountProofRequest) XXX_Merge ¶
func (m *QueryAccountProofRequest) XXX_Merge(src proto.Message)
func (*QueryAccountProofRequest) XXX_Size ¶
func (m *QueryAccountProofRequest) XXX_Size() int
func (*QueryAccountProofRequest) XXX_Unmarshal ¶
func (m *QueryAccountProofRequest) XXX_Unmarshal(b []byte) error
type QueryAccountProofResponse ¶
type QueryAccountProofResponse struct {
Proof AccountProof `protobuf:"bytes,1,opt,name=proof,proto3" json:"proof"`
}
func (*QueryAccountProofResponse) Descriptor ¶
func (*QueryAccountProofResponse) Descriptor() ([]byte, []int)
func (*QueryAccountProofResponse) GetProof ¶
func (m *QueryAccountProofResponse) GetProof() AccountProof
func (*QueryAccountProofResponse) Marshal ¶
func (m *QueryAccountProofResponse) Marshal() (dAtA []byte, err error)
func (*QueryAccountProofResponse) MarshalTo ¶
func (m *QueryAccountProofResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryAccountProofResponse) MarshalToSizedBuffer ¶
func (m *QueryAccountProofResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryAccountProofResponse) ProtoMessage ¶
func (*QueryAccountProofResponse) ProtoMessage()
func (*QueryAccountProofResponse) Reset ¶
func (m *QueryAccountProofResponse) Reset()
func (*QueryAccountProofResponse) Size ¶
func (m *QueryAccountProofResponse) Size() (n int)
func (*QueryAccountProofResponse) String ¶
func (m *QueryAccountProofResponse) String() string
func (*QueryAccountProofResponse) Unmarshal ¶
func (m *QueryAccountProofResponse) Unmarshal(dAtA []byte) error
func (*QueryAccountProofResponse) XXX_DiscardUnknown ¶
func (m *QueryAccountProofResponse) XXX_DiscardUnknown()
func (*QueryAccountProofResponse) XXX_Marshal ¶
func (m *QueryAccountProofResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryAccountProofResponse) XXX_Merge ¶
func (m *QueryAccountProofResponse) XXX_Merge(src proto.Message)
func (*QueryAccountProofResponse) XXX_Size ¶
func (m *QueryAccountProofResponse) XXX_Size() int
func (*QueryAccountProofResponse) XXX_Unmarshal ¶
func (m *QueryAccountProofResponse) XXX_Unmarshal(b []byte) error
type QueryClient ¶
type QueryClient interface { // IsTopupTxOld queries for a specific topup tx to check its status (old // means already submitted) IsTopupTxOld(ctx context.Context, in *QueryTopupSequenceRequest, opts ...grpc.CallOption) (*QueryIsTopupTxOldResponse, error) // GetTopupTxSequence queries for a specific topup tx and returns its sequence GetTopupTxSequence(ctx context.Context, in *QueryTopupSequenceRequest, opts ...grpc.CallOption) (*QueryTopupSequenceResponse, error) // GetDividendAccountByAddress queries for a specific DividendAccount by its // address GetDividendAccountByAddress(ctx context.Context, in *QueryDividendAccountRequest, opts ...grpc.CallOption) (*QueryDividendAccountResponse, error) // GetDividendAccountRootHash calculates and returns the dividend account root // hash GetDividendAccountRootHash(ctx context.Context, in *QueryDividendAccountRootHashRequest, opts ...grpc.CallOption) (*QueryDividendAccountRootHashResponse, error) // VerifyAccountProof queries for the proof of an account given its address VerifyAccountProofByAddress(ctx context.Context, in *QueryVerifyAccountProofRequest, opts ...grpc.CallOption) (*QueryVerifyAccountProofResponse, error) // GetAccountProof queries for the account proof of a given address GetAccountProofByAddress(ctx context.Context, in *QueryAccountProofRequest, opts ...grpc.CallOption) (*QueryAccountProofResponse, 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 QueryDividendAccountRequest ¶
type QueryDividendAccountRequest struct {
Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
}
func (*QueryDividendAccountRequest) Descriptor ¶
func (*QueryDividendAccountRequest) Descriptor() ([]byte, []int)
func (*QueryDividendAccountRequest) GetAddress ¶
func (m *QueryDividendAccountRequest) GetAddress() string
func (*QueryDividendAccountRequest) Marshal ¶
func (m *QueryDividendAccountRequest) Marshal() (dAtA []byte, err error)
func (*QueryDividendAccountRequest) MarshalTo ¶
func (m *QueryDividendAccountRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryDividendAccountRequest) MarshalToSizedBuffer ¶
func (m *QueryDividendAccountRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryDividendAccountRequest) ProtoMessage ¶
func (*QueryDividendAccountRequest) ProtoMessage()
func (*QueryDividendAccountRequest) Reset ¶
func (m *QueryDividendAccountRequest) Reset()
func (*QueryDividendAccountRequest) Size ¶
func (m *QueryDividendAccountRequest) Size() (n int)
func (*QueryDividendAccountRequest) String ¶
func (m *QueryDividendAccountRequest) String() string
func (*QueryDividendAccountRequest) Unmarshal ¶
func (m *QueryDividendAccountRequest) Unmarshal(dAtA []byte) error
func (*QueryDividendAccountRequest) XXX_DiscardUnknown ¶
func (m *QueryDividendAccountRequest) XXX_DiscardUnknown()
func (*QueryDividendAccountRequest) XXX_Marshal ¶
func (m *QueryDividendAccountRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryDividendAccountRequest) XXX_Merge ¶
func (m *QueryDividendAccountRequest) XXX_Merge(src proto.Message)
func (*QueryDividendAccountRequest) XXX_Size ¶
func (m *QueryDividendAccountRequest) XXX_Size() int
func (*QueryDividendAccountRequest) XXX_Unmarshal ¶
func (m *QueryDividendAccountRequest) XXX_Unmarshal(b []byte) error
type QueryDividendAccountResponse ¶
type QueryDividendAccountResponse struct {
DividendAccount types.DividendAccount `protobuf:"bytes,1,opt,name=dividend_account,json=dividendAccount,proto3" json:"dividend_account"`
}
func (*QueryDividendAccountResponse) Descriptor ¶
func (*QueryDividendAccountResponse) Descriptor() ([]byte, []int)
func (*QueryDividendAccountResponse) GetDividendAccount ¶
func (m *QueryDividendAccountResponse) GetDividendAccount() types.DividendAccount
func (*QueryDividendAccountResponse) Marshal ¶
func (m *QueryDividendAccountResponse) Marshal() (dAtA []byte, err error)
func (*QueryDividendAccountResponse) MarshalTo ¶
func (m *QueryDividendAccountResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryDividendAccountResponse) MarshalToSizedBuffer ¶
func (m *QueryDividendAccountResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryDividendAccountResponse) ProtoMessage ¶
func (*QueryDividendAccountResponse) ProtoMessage()
func (*QueryDividendAccountResponse) Reset ¶
func (m *QueryDividendAccountResponse) Reset()
func (*QueryDividendAccountResponse) Size ¶
func (m *QueryDividendAccountResponse) Size() (n int)
func (*QueryDividendAccountResponse) String ¶
func (m *QueryDividendAccountResponse) String() string
func (*QueryDividendAccountResponse) Unmarshal ¶
func (m *QueryDividendAccountResponse) Unmarshal(dAtA []byte) error
func (*QueryDividendAccountResponse) XXX_DiscardUnknown ¶
func (m *QueryDividendAccountResponse) XXX_DiscardUnknown()
func (*QueryDividendAccountResponse) XXX_Marshal ¶
func (m *QueryDividendAccountResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryDividendAccountResponse) XXX_Merge ¶
func (m *QueryDividendAccountResponse) XXX_Merge(src proto.Message)
func (*QueryDividendAccountResponse) XXX_Size ¶
func (m *QueryDividendAccountResponse) XXX_Size() int
func (*QueryDividendAccountResponse) XXX_Unmarshal ¶
func (m *QueryDividendAccountResponse) XXX_Unmarshal(b []byte) error
type QueryDividendAccountRootHashRequest ¶
type QueryDividendAccountRootHashRequest struct { }
func (*QueryDividendAccountRootHashRequest) Descriptor ¶
func (*QueryDividendAccountRootHashRequest) Descriptor() ([]byte, []int)
func (*QueryDividendAccountRootHashRequest) Marshal ¶
func (m *QueryDividendAccountRootHashRequest) Marshal() (dAtA []byte, err error)
func (*QueryDividendAccountRootHashRequest) MarshalTo ¶
func (m *QueryDividendAccountRootHashRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryDividendAccountRootHashRequest) MarshalToSizedBuffer ¶
func (m *QueryDividendAccountRootHashRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryDividendAccountRootHashRequest) ProtoMessage ¶
func (*QueryDividendAccountRootHashRequest) ProtoMessage()
func (*QueryDividendAccountRootHashRequest) Reset ¶
func (m *QueryDividendAccountRootHashRequest) Reset()
func (*QueryDividendAccountRootHashRequest) Size ¶
func (m *QueryDividendAccountRootHashRequest) Size() (n int)
func (*QueryDividendAccountRootHashRequest) String ¶
func (m *QueryDividendAccountRootHashRequest) String() string
func (*QueryDividendAccountRootHashRequest) Unmarshal ¶
func (m *QueryDividendAccountRootHashRequest) Unmarshal(dAtA []byte) error
func (*QueryDividendAccountRootHashRequest) XXX_DiscardUnknown ¶
func (m *QueryDividendAccountRootHashRequest) XXX_DiscardUnknown()
func (*QueryDividendAccountRootHashRequest) XXX_Marshal ¶
func (m *QueryDividendAccountRootHashRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryDividendAccountRootHashRequest) XXX_Merge ¶
func (m *QueryDividendAccountRootHashRequest) XXX_Merge(src proto.Message)
func (*QueryDividendAccountRootHashRequest) XXX_Size ¶
func (m *QueryDividendAccountRootHashRequest) XXX_Size() int
func (*QueryDividendAccountRootHashRequest) XXX_Unmarshal ¶
func (m *QueryDividendAccountRootHashRequest) XXX_Unmarshal(b []byte) error
type QueryDividendAccountRootHashResponse ¶
type QueryDividendAccountRootHashResponse struct {
AccountRootHash []byte `protobuf:"bytes,1,opt,name=account_root_hash,json=accountRootHash,proto3" json:"account_root_hash,omitempty"`
}
func (*QueryDividendAccountRootHashResponse) Descriptor ¶
func (*QueryDividendAccountRootHashResponse) Descriptor() ([]byte, []int)
func (*QueryDividendAccountRootHashResponse) GetAccountRootHash ¶
func (m *QueryDividendAccountRootHashResponse) GetAccountRootHash() []byte
func (*QueryDividendAccountRootHashResponse) Marshal ¶
func (m *QueryDividendAccountRootHashResponse) Marshal() (dAtA []byte, err error)
func (*QueryDividendAccountRootHashResponse) MarshalTo ¶
func (m *QueryDividendAccountRootHashResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryDividendAccountRootHashResponse) MarshalToSizedBuffer ¶
func (m *QueryDividendAccountRootHashResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryDividendAccountRootHashResponse) ProtoMessage ¶
func (*QueryDividendAccountRootHashResponse) ProtoMessage()
func (*QueryDividendAccountRootHashResponse) Reset ¶
func (m *QueryDividendAccountRootHashResponse) Reset()
func (*QueryDividendAccountRootHashResponse) Size ¶
func (m *QueryDividendAccountRootHashResponse) Size() (n int)
func (*QueryDividendAccountRootHashResponse) String ¶
func (m *QueryDividendAccountRootHashResponse) String() string
func (*QueryDividendAccountRootHashResponse) Unmarshal ¶
func (m *QueryDividendAccountRootHashResponse) Unmarshal(dAtA []byte) error
func (*QueryDividendAccountRootHashResponse) XXX_DiscardUnknown ¶
func (m *QueryDividendAccountRootHashResponse) XXX_DiscardUnknown()
func (*QueryDividendAccountRootHashResponse) XXX_Marshal ¶
func (m *QueryDividendAccountRootHashResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryDividendAccountRootHashResponse) XXX_Merge ¶
func (m *QueryDividendAccountRootHashResponse) XXX_Merge(src proto.Message)
func (*QueryDividendAccountRootHashResponse) XXX_Size ¶
func (m *QueryDividendAccountRootHashResponse) XXX_Size() int
func (*QueryDividendAccountRootHashResponse) XXX_Unmarshal ¶
func (m *QueryDividendAccountRootHashResponse) XXX_Unmarshal(b []byte) error
type QueryIsTopupTxOldResponse ¶
type QueryIsTopupTxOldResponse struct {
IsOld bool `protobuf:"varint,1,opt,name=is_old,json=isOld,proto3" json:"is_old,omitempty"`
}
func (*QueryIsTopupTxOldResponse) Descriptor ¶
func (*QueryIsTopupTxOldResponse) Descriptor() ([]byte, []int)
func (*QueryIsTopupTxOldResponse) GetIsOld ¶
func (m *QueryIsTopupTxOldResponse) GetIsOld() bool
func (*QueryIsTopupTxOldResponse) Marshal ¶
func (m *QueryIsTopupTxOldResponse) Marshal() (dAtA []byte, err error)
func (*QueryIsTopupTxOldResponse) MarshalTo ¶
func (m *QueryIsTopupTxOldResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryIsTopupTxOldResponse) MarshalToSizedBuffer ¶
func (m *QueryIsTopupTxOldResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryIsTopupTxOldResponse) ProtoMessage ¶
func (*QueryIsTopupTxOldResponse) ProtoMessage()
func (*QueryIsTopupTxOldResponse) Reset ¶
func (m *QueryIsTopupTxOldResponse) Reset()
func (*QueryIsTopupTxOldResponse) Size ¶
func (m *QueryIsTopupTxOldResponse) Size() (n int)
func (*QueryIsTopupTxOldResponse) String ¶
func (m *QueryIsTopupTxOldResponse) String() string
func (*QueryIsTopupTxOldResponse) Unmarshal ¶
func (m *QueryIsTopupTxOldResponse) Unmarshal(dAtA []byte) error
func (*QueryIsTopupTxOldResponse) XXX_DiscardUnknown ¶
func (m *QueryIsTopupTxOldResponse) XXX_DiscardUnknown()
func (*QueryIsTopupTxOldResponse) XXX_Marshal ¶
func (m *QueryIsTopupTxOldResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryIsTopupTxOldResponse) XXX_Merge ¶
func (m *QueryIsTopupTxOldResponse) XXX_Merge(src proto.Message)
func (*QueryIsTopupTxOldResponse) XXX_Size ¶
func (m *QueryIsTopupTxOldResponse) XXX_Size() int
func (*QueryIsTopupTxOldResponse) XXX_Unmarshal ¶
func (m *QueryIsTopupTxOldResponse) XXX_Unmarshal(b []byte) error
type QueryServer ¶
type QueryServer interface { // IsTopupTxOld queries for a specific topup tx to check its status (old // means already submitted) IsTopupTxOld(context.Context, *QueryTopupSequenceRequest) (*QueryIsTopupTxOldResponse, error) // GetTopupTxSequence queries for a specific topup tx and returns its sequence GetTopupTxSequence(context.Context, *QueryTopupSequenceRequest) (*QueryTopupSequenceResponse, error) // GetDividendAccountByAddress queries for a specific DividendAccount by its // address GetDividendAccountByAddress(context.Context, *QueryDividendAccountRequest) (*QueryDividendAccountResponse, error) // GetDividendAccountRootHash calculates and returns the dividend account root // hash GetDividendAccountRootHash(context.Context, *QueryDividendAccountRootHashRequest) (*QueryDividendAccountRootHashResponse, error) // VerifyAccountProof queries for the proof of an account given its address VerifyAccountProofByAddress(context.Context, *QueryVerifyAccountProofRequest) (*QueryVerifyAccountProofResponse, error) // GetAccountProof queries for the account proof of a given address GetAccountProofByAddress(context.Context, *QueryAccountProofRequest) (*QueryAccountProofResponse, error) }
QueryServer is the server API for Query service.
type QueryTopupSequenceRequest ¶
type QueryTopupSequenceRequest struct { TxHash string `protobuf:"bytes,1,opt,name=tx_hash,json=txHash,proto3" json:"tx_hash,omitempty"` LogIndex uint64 `protobuf:"varint,2,opt,name=log_index,json=logIndex,proto3" json:"log_index,omitempty"` }
func (*QueryTopupSequenceRequest) Descriptor ¶
func (*QueryTopupSequenceRequest) Descriptor() ([]byte, []int)
func (*QueryTopupSequenceRequest) GetLogIndex ¶
func (m *QueryTopupSequenceRequest) GetLogIndex() uint64
func (*QueryTopupSequenceRequest) GetTxHash ¶
func (m *QueryTopupSequenceRequest) GetTxHash() string
func (*QueryTopupSequenceRequest) Marshal ¶
func (m *QueryTopupSequenceRequest) Marshal() (dAtA []byte, err error)
func (*QueryTopupSequenceRequest) MarshalTo ¶
func (m *QueryTopupSequenceRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryTopupSequenceRequest) MarshalToSizedBuffer ¶
func (m *QueryTopupSequenceRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryTopupSequenceRequest) ProtoMessage ¶
func (*QueryTopupSequenceRequest) ProtoMessage()
func (*QueryTopupSequenceRequest) Reset ¶
func (m *QueryTopupSequenceRequest) Reset()
func (*QueryTopupSequenceRequest) Size ¶
func (m *QueryTopupSequenceRequest) Size() (n int)
func (*QueryTopupSequenceRequest) String ¶
func (m *QueryTopupSequenceRequest) String() string
func (*QueryTopupSequenceRequest) Unmarshal ¶
func (m *QueryTopupSequenceRequest) Unmarshal(dAtA []byte) error
func (*QueryTopupSequenceRequest) XXX_DiscardUnknown ¶
func (m *QueryTopupSequenceRequest) XXX_DiscardUnknown()
func (*QueryTopupSequenceRequest) XXX_Marshal ¶
func (m *QueryTopupSequenceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryTopupSequenceRequest) XXX_Merge ¶
func (m *QueryTopupSequenceRequest) XXX_Merge(src proto.Message)
func (*QueryTopupSequenceRequest) XXX_Size ¶
func (m *QueryTopupSequenceRequest) XXX_Size() int
func (*QueryTopupSequenceRequest) XXX_Unmarshal ¶
func (m *QueryTopupSequenceRequest) XXX_Unmarshal(b []byte) error
type QueryTopupSequenceResponse ¶
type QueryTopupSequenceResponse struct {
Sequence string `protobuf:"bytes,1,opt,name=sequence,proto3" json:"sequence,omitempty"`
}
func (*QueryTopupSequenceResponse) Descriptor ¶
func (*QueryTopupSequenceResponse) Descriptor() ([]byte, []int)
func (*QueryTopupSequenceResponse) GetSequence ¶
func (m *QueryTopupSequenceResponse) GetSequence() string
func (*QueryTopupSequenceResponse) Marshal ¶
func (m *QueryTopupSequenceResponse) Marshal() (dAtA []byte, err error)
func (*QueryTopupSequenceResponse) MarshalTo ¶
func (m *QueryTopupSequenceResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryTopupSequenceResponse) MarshalToSizedBuffer ¶
func (m *QueryTopupSequenceResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryTopupSequenceResponse) ProtoMessage ¶
func (*QueryTopupSequenceResponse) ProtoMessage()
func (*QueryTopupSequenceResponse) Reset ¶
func (m *QueryTopupSequenceResponse) Reset()
func (*QueryTopupSequenceResponse) Size ¶
func (m *QueryTopupSequenceResponse) Size() (n int)
func (*QueryTopupSequenceResponse) String ¶
func (m *QueryTopupSequenceResponse) String() string
func (*QueryTopupSequenceResponse) Unmarshal ¶
func (m *QueryTopupSequenceResponse) Unmarshal(dAtA []byte) error
func (*QueryTopupSequenceResponse) XXX_DiscardUnknown ¶
func (m *QueryTopupSequenceResponse) XXX_DiscardUnknown()
func (*QueryTopupSequenceResponse) XXX_Marshal ¶
func (m *QueryTopupSequenceResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryTopupSequenceResponse) XXX_Merge ¶
func (m *QueryTopupSequenceResponse) XXX_Merge(src proto.Message)
func (*QueryTopupSequenceResponse) XXX_Size ¶
func (m *QueryTopupSequenceResponse) XXX_Size() int
func (*QueryTopupSequenceResponse) XXX_Unmarshal ¶
func (m *QueryTopupSequenceResponse) XXX_Unmarshal(b []byte) error
type QueryVerifyAccountProofRequest ¶
type QueryVerifyAccountProofRequest struct { Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` Proof string `protobuf:"bytes,2,opt,name=proof,proto3" json:"proof,omitempty"` }
func (*QueryVerifyAccountProofRequest) Descriptor ¶
func (*QueryVerifyAccountProofRequest) Descriptor() ([]byte, []int)
func (*QueryVerifyAccountProofRequest) GetAddress ¶
func (m *QueryVerifyAccountProofRequest) GetAddress() string
func (*QueryVerifyAccountProofRequest) GetProof ¶
func (m *QueryVerifyAccountProofRequest) GetProof() string
func (*QueryVerifyAccountProofRequest) Marshal ¶
func (m *QueryVerifyAccountProofRequest) Marshal() (dAtA []byte, err error)
func (*QueryVerifyAccountProofRequest) MarshalTo ¶
func (m *QueryVerifyAccountProofRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryVerifyAccountProofRequest) MarshalToSizedBuffer ¶
func (m *QueryVerifyAccountProofRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryVerifyAccountProofRequest) ProtoMessage ¶
func (*QueryVerifyAccountProofRequest) ProtoMessage()
func (*QueryVerifyAccountProofRequest) Reset ¶
func (m *QueryVerifyAccountProofRequest) Reset()
func (*QueryVerifyAccountProofRequest) Size ¶
func (m *QueryVerifyAccountProofRequest) Size() (n int)
func (*QueryVerifyAccountProofRequest) String ¶
func (m *QueryVerifyAccountProofRequest) String() string
func (*QueryVerifyAccountProofRequest) Unmarshal ¶
func (m *QueryVerifyAccountProofRequest) Unmarshal(dAtA []byte) error
func (*QueryVerifyAccountProofRequest) XXX_DiscardUnknown ¶
func (m *QueryVerifyAccountProofRequest) XXX_DiscardUnknown()
func (*QueryVerifyAccountProofRequest) XXX_Marshal ¶
func (m *QueryVerifyAccountProofRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryVerifyAccountProofRequest) XXX_Merge ¶
func (m *QueryVerifyAccountProofRequest) XXX_Merge(src proto.Message)
func (*QueryVerifyAccountProofRequest) XXX_Size ¶
func (m *QueryVerifyAccountProofRequest) XXX_Size() int
func (*QueryVerifyAccountProofRequest) XXX_Unmarshal ¶
func (m *QueryVerifyAccountProofRequest) XXX_Unmarshal(b []byte) error
type QueryVerifyAccountProofResponse ¶
type QueryVerifyAccountProofResponse struct {
IsVerified bool `protobuf:"varint,1,opt,name=is_verified,json=isVerified,proto3" json:"is_verified,omitempty"`
}
func (*QueryVerifyAccountProofResponse) Descriptor ¶
func (*QueryVerifyAccountProofResponse) Descriptor() ([]byte, []int)
func (*QueryVerifyAccountProofResponse) GetIsVerified ¶
func (m *QueryVerifyAccountProofResponse) GetIsVerified() bool
func (*QueryVerifyAccountProofResponse) Marshal ¶
func (m *QueryVerifyAccountProofResponse) Marshal() (dAtA []byte, err error)
func (*QueryVerifyAccountProofResponse) MarshalTo ¶
func (m *QueryVerifyAccountProofResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryVerifyAccountProofResponse) MarshalToSizedBuffer ¶
func (m *QueryVerifyAccountProofResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryVerifyAccountProofResponse) ProtoMessage ¶
func (*QueryVerifyAccountProofResponse) ProtoMessage()
func (*QueryVerifyAccountProofResponse) Reset ¶
func (m *QueryVerifyAccountProofResponse) Reset()
func (*QueryVerifyAccountProofResponse) Size ¶
func (m *QueryVerifyAccountProofResponse) Size() (n int)
func (*QueryVerifyAccountProofResponse) String ¶
func (m *QueryVerifyAccountProofResponse) String() string
func (*QueryVerifyAccountProofResponse) Unmarshal ¶
func (m *QueryVerifyAccountProofResponse) Unmarshal(dAtA []byte) error
func (*QueryVerifyAccountProofResponse) XXX_DiscardUnknown ¶
func (m *QueryVerifyAccountProofResponse) XXX_DiscardUnknown()
func (*QueryVerifyAccountProofResponse) XXX_Marshal ¶
func (m *QueryVerifyAccountProofResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryVerifyAccountProofResponse) XXX_Merge ¶
func (m *QueryVerifyAccountProofResponse) XXX_Merge(src proto.Message)
func (*QueryVerifyAccountProofResponse) XXX_Size ¶
func (m *QueryVerifyAccountProofResponse) XXX_Size() int
func (*QueryVerifyAccountProofResponse) XXX_Unmarshal ¶
func (m *QueryVerifyAccountProofResponse) XXX_Unmarshal(b []byte) error
type UnimplementedMsgServer ¶
type UnimplementedMsgServer struct { }
UnimplementedMsgServer can be embedded to have forward compatible implementations.
func (*UnimplementedMsgServer) HandleTopupTx ¶
func (*UnimplementedMsgServer) HandleTopupTx(ctx context.Context, req *MsgTopupTx) (*MsgTopupTxResponse, error)
func (*UnimplementedMsgServer) WithdrawFeeTx ¶
func (*UnimplementedMsgServer) WithdrawFeeTx(ctx context.Context, req *MsgWithdrawFeeTx) (*MsgWithdrawFeeTxResponse, error)
type UnimplementedQueryServer ¶
type UnimplementedQueryServer struct { }
UnimplementedQueryServer can be embedded to have forward compatible implementations.
func (*UnimplementedQueryServer) GetAccountProofByAddress ¶
func (*UnimplementedQueryServer) GetAccountProofByAddress(ctx context.Context, req *QueryAccountProofRequest) (*QueryAccountProofResponse, error)
func (*UnimplementedQueryServer) GetDividendAccountByAddress ¶
func (*UnimplementedQueryServer) GetDividendAccountByAddress(ctx context.Context, req *QueryDividendAccountRequest) (*QueryDividendAccountResponse, error)
func (*UnimplementedQueryServer) GetDividendAccountRootHash ¶
func (*UnimplementedQueryServer) GetDividendAccountRootHash(ctx context.Context, req *QueryDividendAccountRootHashRequest) (*QueryDividendAccountRootHashResponse, error)
func (*UnimplementedQueryServer) GetTopupTxSequence ¶
func (*UnimplementedQueryServer) GetTopupTxSequence(ctx context.Context, req *QueryTopupSequenceRequest) (*QueryTopupSequenceResponse, error)
func (*UnimplementedQueryServer) IsTopupTxOld ¶
func (*UnimplementedQueryServer) IsTopupTxOld(ctx context.Context, req *QueryTopupSequenceRequest) (*QueryIsTopupTxOldResponse, error)
func (*UnimplementedQueryServer) VerifyAccountProofByAddress ¶
func (*UnimplementedQueryServer) VerifyAccountProofByAddress(ctx context.Context, req *QueryVerifyAccountProofRequest) (*QueryVerifyAccountProofResponse, error)