Versions in this module Expand all Collapse all v0 v0.1.0 Sep 2, 2021 Changes in this version + var ErrIntOverflowAuth = fmt.Errorf("proto: integer overflow") + var ErrIntOverflowQuery = fmt.Errorf("proto: integer overflow") + var ErrInvalidLengthAuth = fmt.Errorf("proto: negative length found during unmarshaling") + var ErrInvalidLengthQuery = fmt.Errorf("proto: negative length found during unmarshaling") + var ErrUnexpectedEndOfGroupAuth = fmt.Errorf("proto: unexpected end of group") + var ErrUnexpectedEndOfGroupQuery = fmt.Errorf("proto: unexpected end of group") + func RegisterQueryServer(s grpc1.Server, srv QueryServer) + type Account interface + GetAccountNumber func() uint64 + GetAddress func() sdk.AccAddress + GetPubKey func() crypto.PubKey + GetSequence func() uint64 + SetAccountNumber func(uint64) error + SetAddress func(sdk.AccAddress) error + SetPubKey func(crypto.PubKey) error + SetSequence func(uint64) error + type BaseAccount struct + AccountNumber uint64 + Address string + PubKey *types.Any + Sequence uint64 + func (*BaseAccount) Descriptor() ([]byte, []int) + func (*BaseAccount) ProtoMessage() + func (acc *BaseAccount) Convert() interface{} + func (acc *BaseAccount) ConvertAccount(cdc codec.Marshaler) interface{} + func (acc *BaseAccount) SetAccountNumber(accNumber uint64) error + func (acc *BaseAccount) SetAddress(addr sdk.AccAddress) error + func (acc *BaseAccount) SetPubKey(pubKey crypto.PubKey) error + func (acc *BaseAccount) SetSequence(seq uint64) error + func (acc BaseAccount) GetAccountNumber() uint64 + func (acc BaseAccount) GetAddress() sdk.AccAddress + func (acc BaseAccount) GetPubKey() (pk crypto.PubKey) + func (acc BaseAccount) GetSequence() uint64 + func (acc BaseAccount) String() string + func (m *BaseAccount) Marshal() (dAtA []byte, err error) + func (m *BaseAccount) MarshalTo(dAtA []byte) (int, error) + func (m *BaseAccount) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *BaseAccount) Reset() + func (m *BaseAccount) Size() (n int) + func (m *BaseAccount) Unmarshal(dAtA []byte) error + func (m *BaseAccount) XXX_DiscardUnknown() + func (m *BaseAccount) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *BaseAccount) XXX_Merge(src proto.Message) + func (m *BaseAccount) XXX_Size() int + func (m *BaseAccount) XXX_Unmarshal(b []byte) error + type ModuleAccount struct + Name string + Permissions []string + func (*ModuleAccount) Descriptor() ([]byte, []int) + func (*ModuleAccount) ProtoMessage() + func (m *ModuleAccount) Marshal() (dAtA []byte, err error) + func (m *ModuleAccount) MarshalTo(dAtA []byte) (int, error) + func (m *ModuleAccount) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *ModuleAccount) Reset() + func (m *ModuleAccount) Size() (n int) + func (m *ModuleAccount) Unmarshal(dAtA []byte) error + func (m *ModuleAccount) XXX_DiscardUnknown() + func (m *ModuleAccount) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *ModuleAccount) XXX_Merge(src proto.Message) + func (m *ModuleAccount) XXX_Size() int + func (m *ModuleAccount) XXX_Unmarshal(b []byte) error + type Params struct + MaxMemoCharacters uint64 + SigVerifyCostED25519 uint64 + SigVerifyCostSecp256k1 uint64 + TxSigLimit uint64 + TxSizeCostPerByte uint64 + func (*Params) Descriptor() ([]byte, []int) + func (*Params) ProtoMessage() + func (m *Params) GetMaxMemoCharacters() uint64 + func (m *Params) GetSigVerifyCostED25519() uint64 + func (m *Params) GetSigVerifyCostSecp256k1() uint64 + func (m *Params) GetTxSigLimit() uint64 + func (m *Params) GetTxSizeCostPerByte() uint64 + func (m *Params) Marshal() (dAtA []byte, err error) + func (m *Params) MarshalTo(dAtA []byte) (int, error) + func (m *Params) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *Params) Reset() + func (m *Params) Size() (n int) + func (m *Params) Unmarshal(dAtA []byte) error + func (m *Params) XXX_DiscardUnknown() + func (m *Params) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *Params) XXX_Merge(src proto.Message) + func (m *Params) XXX_Size() int + func (m *Params) XXX_Unmarshal(b []byte) error + func (p Params) String() string + func (this *Params) Equal(that interface{}) bool + type QueryAccountRequest struct + Address string + func (*QueryAccountRequest) Descriptor() ([]byte, []int) + func (*QueryAccountRequest) ProtoMessage() + func (m *QueryAccountRequest) Marshal() (dAtA []byte, err error) + func (m *QueryAccountRequest) MarshalTo(dAtA []byte) (int, error) + func (m *QueryAccountRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *QueryAccountRequest) Reset() + func (m *QueryAccountRequest) Size() (n int) + func (m *QueryAccountRequest) String() string + func (m *QueryAccountRequest) Unmarshal(dAtA []byte) error + func (m *QueryAccountRequest) XXX_DiscardUnknown() + func (m *QueryAccountRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *QueryAccountRequest) XXX_Merge(src proto.Message) + func (m *QueryAccountRequest) XXX_Size() int + func (m *QueryAccountRequest) XXX_Unmarshal(b []byte) error + type QueryAccountResponse struct + Account *types.Any + func (*QueryAccountResponse) Descriptor() ([]byte, []int) + func (*QueryAccountResponse) ProtoMessage() + func (m *QueryAccountResponse) GetAccount() *types.Any + func (m *QueryAccountResponse) Marshal() (dAtA []byte, err error) + func (m *QueryAccountResponse) MarshalTo(dAtA []byte) (int, error) + func (m *QueryAccountResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *QueryAccountResponse) Reset() + func (m *QueryAccountResponse) Size() (n int) + func (m *QueryAccountResponse) String() string + func (m *QueryAccountResponse) Unmarshal(dAtA []byte) error + func (m *QueryAccountResponse) XXX_DiscardUnknown() + func (m *QueryAccountResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *QueryAccountResponse) XXX_Merge(src proto.Message) + func (m *QueryAccountResponse) XXX_Size() int + func (m *QueryAccountResponse) XXX_Unmarshal(b []byte) error + type QueryClient interface + Account func(ctx context.Context, in *QueryAccountRequest, opts ...grpc.CallOption) (*QueryAccountResponse, error) + Params func(ctx context.Context, in *QueryParamsRequest, opts ...grpc.CallOption) (*QueryParamsResponse, error) + func NewQueryClient(cc grpc1.ClientConn) QueryClient + type QueryParamsRequest struct + func (*QueryParamsRequest) Descriptor() ([]byte, []int) + func (*QueryParamsRequest) ProtoMessage() + func (m *QueryParamsRequest) Marshal() (dAtA []byte, err error) + func (m *QueryParamsRequest) MarshalTo(dAtA []byte) (int, error) + func (m *QueryParamsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *QueryParamsRequest) Reset() + func (m *QueryParamsRequest) Size() (n int) + func (m *QueryParamsRequest) String() string + func (m *QueryParamsRequest) Unmarshal(dAtA []byte) error + func (m *QueryParamsRequest) XXX_DiscardUnknown() + func (m *QueryParamsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *QueryParamsRequest) XXX_Merge(src proto.Message) + func (m *QueryParamsRequest) XXX_Size() int + func (m *QueryParamsRequest) XXX_Unmarshal(b []byte) error + type QueryParamsResponse struct + Params Params + func (*QueryParamsResponse) Descriptor() ([]byte, []int) + func (*QueryParamsResponse) ProtoMessage() + func (m *QueryParamsResponse) GetParams() Params + func (m *QueryParamsResponse) Marshal() (dAtA []byte, err error) + func (m *QueryParamsResponse) MarshalTo(dAtA []byte) (int, error) + func (m *QueryParamsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *QueryParamsResponse) Reset() + func (m *QueryParamsResponse) Size() (n int) + func (m *QueryParamsResponse) String() string + func (m *QueryParamsResponse) Unmarshal(dAtA []byte) error + func (m *QueryParamsResponse) XXX_DiscardUnknown() + func (m *QueryParamsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *QueryParamsResponse) XXX_Merge(src proto.Message) + func (m *QueryParamsResponse) XXX_Size() int + func (m *QueryParamsResponse) XXX_Unmarshal(b []byte) error + type QueryServer interface + Account func(context.Context, *QueryAccountRequest) (*QueryAccountResponse, error) + Params func(context.Context, *QueryParamsRequest) (*QueryParamsResponse, error) + type UnimplementedQueryServer struct + func (*UnimplementedQueryServer) Account(ctx context.Context, req *QueryAccountRequest) (*QueryAccountResponse, error) + func (*UnimplementedQueryServer) Params(ctx context.Context, req *QueryParamsRequest) (*QueryParamsResponse, error)