Documentation ¶
Overview ¶
Code generated by protoc-gen-go-pulsar. DO NOT EDIT.
Code generated by protoc-gen-go-pulsar. DO NOT EDIT.
Code generated by protoc-gen-go-pulsar. DO NOT EDIT.
Index ¶
- Variables
- func RegisterQueryServer(s grpc.ServiceRegistrar, srv QueryServer)
- type AddressBytesToStringRequest
- func (*AddressBytesToStringRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AddressBytesToStringRequest) GetAddressBytes() []byte
- func (*AddressBytesToStringRequest) ProtoMessage()
- func (x *AddressBytesToStringRequest) ProtoReflect() protoreflect.Message
- func (x *AddressBytesToStringRequest) Reset()
- func (x *AddressBytesToStringRequest) String() string
- type AddressBytesToStringResponse
- func (*AddressBytesToStringResponse) Descriptor() ([]byte, []int)deprecated
- func (x *AddressBytesToStringResponse) GetAddressString() string
- func (*AddressBytesToStringResponse) ProtoMessage()
- func (x *AddressBytesToStringResponse) ProtoReflect() protoreflect.Message
- func (x *AddressBytesToStringResponse) Reset()
- func (x *AddressBytesToStringResponse) String() string
- type AddressStringToBytesRequest
- func (*AddressStringToBytesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AddressStringToBytesRequest) GetAddressString() string
- func (*AddressStringToBytesRequest) ProtoMessage()
- func (x *AddressStringToBytesRequest) ProtoReflect() protoreflect.Message
- func (x *AddressStringToBytesRequest) Reset()
- func (x *AddressStringToBytesRequest) String() string
- type AddressStringToBytesResponse
- func (*AddressStringToBytesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *AddressStringToBytesResponse) GetAddressBytes() []byte
- func (*AddressStringToBytesResponse) ProtoMessage()
- func (x *AddressStringToBytesResponse) ProtoReflect() protoreflect.Message
- func (x *AddressStringToBytesResponse) Reset()
- func (x *AddressStringToBytesResponse) String() string
- type BaseAccount
- func (*BaseAccount) Descriptor() ([]byte, []int)deprecated
- func (x *BaseAccount) GetAccountNumber() uint64
- func (x *BaseAccount) GetAddress() string
- func (x *BaseAccount) GetPubKey() *anypb.Any
- func (x *BaseAccount) GetSequence() uint64
- func (*BaseAccount) ProtoMessage()
- func (x *BaseAccount) ProtoReflect() protoreflect.Message
- func (x *BaseAccount) Reset()
- func (x *BaseAccount) String() string
- type Bech32PrefixRequest
- type Bech32PrefixResponse
- func (*Bech32PrefixResponse) Descriptor() ([]byte, []int)deprecated
- func (x *Bech32PrefixResponse) GetBech32Prefix() string
- func (*Bech32PrefixResponse) ProtoMessage()
- func (x *Bech32PrefixResponse) ProtoReflect() protoreflect.Message
- func (x *Bech32PrefixResponse) Reset()
- func (x *Bech32PrefixResponse) String() string
- type GenesisState
- func (*GenesisState) Descriptor() ([]byte, []int)deprecated
- func (x *GenesisState) GetAccounts() []*anypb.Any
- func (x *GenesisState) GetParams() *Params
- func (*GenesisState) ProtoMessage()
- func (x *GenesisState) ProtoReflect() protoreflect.Message
- func (x *GenesisState) Reset()
- func (x *GenesisState) String() string
- type ModuleAccount
- func (*ModuleAccount) Descriptor() ([]byte, []int)deprecated
- func (x *ModuleAccount) GetBaseAccount() *BaseAccount
- func (x *ModuleAccount) GetName() string
- func (x *ModuleAccount) GetPermissions() []string
- func (*ModuleAccount) ProtoMessage()
- func (x *ModuleAccount) ProtoReflect() protoreflect.Message
- func (x *ModuleAccount) Reset()
- func (x *ModuleAccount) String() string
- type Params
- func (*Params) Descriptor() ([]byte, []int)deprecated
- func (x *Params) GetMaxMemoCharacters() uint64
- func (x *Params) GetSigVerifyCostEd25519() uint64
- func (x *Params) GetSigVerifyCostSecp256K1() uint64
- func (x *Params) GetTxSigLimit() uint64
- func (x *Params) GetTxSizeCostPerByte() uint64
- func (*Params) ProtoMessage()
- func (x *Params) ProtoReflect() protoreflect.Message
- func (x *Params) Reset()
- func (x *Params) String() string
- type QueryAccountRequest
- func (*QueryAccountRequest) Descriptor() ([]byte, []int)deprecated
- func (x *QueryAccountRequest) GetAddress() string
- func (*QueryAccountRequest) ProtoMessage()
- func (x *QueryAccountRequest) ProtoReflect() protoreflect.Message
- func (x *QueryAccountRequest) Reset()
- func (x *QueryAccountRequest) String() string
- type QueryAccountResponse
- func (*QueryAccountResponse) Descriptor() ([]byte, []int)deprecated
- func (x *QueryAccountResponse) GetAccount() *anypb.Any
- func (*QueryAccountResponse) ProtoMessage()
- func (x *QueryAccountResponse) ProtoReflect() protoreflect.Message
- func (x *QueryAccountResponse) Reset()
- func (x *QueryAccountResponse) String() string
- type QueryAccountsRequest
- func (*QueryAccountsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *QueryAccountsRequest) GetPagination() *v1beta1.PageRequest
- func (*QueryAccountsRequest) ProtoMessage()
- func (x *QueryAccountsRequest) ProtoReflect() protoreflect.Message
- func (x *QueryAccountsRequest) Reset()
- func (x *QueryAccountsRequest) String() string
- type QueryAccountsResponse
- func (*QueryAccountsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *QueryAccountsResponse) GetAccounts() []*anypb.Any
- func (x *QueryAccountsResponse) GetPagination() *v1beta1.PageResponse
- func (*QueryAccountsResponse) ProtoMessage()
- func (x *QueryAccountsResponse) ProtoReflect() protoreflect.Message
- func (x *QueryAccountsResponse) Reset()
- func (x *QueryAccountsResponse) String() string
- type QueryClient
- type QueryModuleAccountsRequest
- type QueryModuleAccountsResponse
- func (*QueryModuleAccountsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *QueryModuleAccountsResponse) GetAccounts() []*anypb.Any
- func (*QueryModuleAccountsResponse) ProtoMessage()
- func (x *QueryModuleAccountsResponse) ProtoReflect() protoreflect.Message
- func (x *QueryModuleAccountsResponse) Reset()
- func (x *QueryModuleAccountsResponse) String() string
- type QueryParamsRequest
- type QueryParamsResponse
- func (*QueryParamsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *QueryParamsResponse) GetParams() *Params
- func (*QueryParamsResponse) ProtoMessage()
- func (x *QueryParamsResponse) ProtoReflect() protoreflect.Message
- func (x *QueryParamsResponse) Reset()
- func (x *QueryParamsResponse) String() string
- type QueryServer
- type UnimplementedQueryServer
- func (UnimplementedQueryServer) Account(context.Context, *QueryAccountRequest) (*QueryAccountResponse, error)
- func (UnimplementedQueryServer) Accounts(context.Context, *QueryAccountsRequest) (*QueryAccountsResponse, error)
- func (UnimplementedQueryServer) AddressBytesToString(context.Context, *AddressBytesToStringRequest) (*AddressBytesToStringResponse, error)
- func (UnimplementedQueryServer) AddressStringToBytes(context.Context, *AddressStringToBytesRequest) (*AddressStringToBytesResponse, error)
- func (UnimplementedQueryServer) Bech32Prefix(context.Context, *Bech32PrefixRequest) (*Bech32PrefixResponse, error)
- func (UnimplementedQueryServer) ModuleAccounts(context.Context, *QueryModuleAccountsRequest) (*QueryModuleAccountsResponse, error)
- func (UnimplementedQueryServer) Params(context.Context, *QueryParamsRequest) (*QueryParamsResponse, error)
- type UnsafeQueryServer
Constants ¶
This section is empty.
Variables ¶
var File_cosmos_auth_v1beta1_auth_proto protoreflect.FileDescriptor
var File_cosmos_auth_v1beta1_genesis_proto protoreflect.FileDescriptor
var File_cosmos_auth_v1beta1_query_proto protoreflect.FileDescriptor
var Query_ServiceDesc = grpc.ServiceDesc{ ServiceName: "cosmos.auth.v1beta1.Query", HandlerType: (*QueryServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "Accounts", Handler: _Query_Accounts_Handler, }, { MethodName: "Account", Handler: _Query_Account_Handler, }, { MethodName: "Params", Handler: _Query_Params_Handler, }, { MethodName: "ModuleAccounts", Handler: _Query_ModuleAccounts_Handler, }, { MethodName: "Bech32Prefix", Handler: _Query_Bech32Prefix_Handler, }, { MethodName: "AddressBytesToString", Handler: _Query_AddressBytesToString_Handler, }, { MethodName: "AddressStringToBytes", Handler: _Query_AddressStringToBytes_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "cosmos/auth/v1beta1/query.proto", }
Query_ServiceDesc is the grpc.ServiceDesc for Query service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterQueryServer ¶
func RegisterQueryServer(s grpc.ServiceRegistrar, srv QueryServer)
Types ¶
type AddressBytesToStringRequest ¶
type AddressBytesToStringRequest struct { AddressBytes []byte `protobuf:"bytes,1,opt,name=address_bytes,json=addressBytes,proto3" json:"address_bytes,omitempty"` // contains filtered or unexported fields }
AddressBytesToStringRequest is the request type for AddressString rpc method.
Since: cosmos-sdk 0.46
func (*AddressBytesToStringRequest) Descriptor
deprecated
func (*AddressBytesToStringRequest) Descriptor() ([]byte, []int)
Deprecated: Use AddressBytesToStringRequest.ProtoReflect.Descriptor instead.
func (*AddressBytesToStringRequest) GetAddressBytes ¶
func (x *AddressBytesToStringRequest) GetAddressBytes() []byte
func (*AddressBytesToStringRequest) ProtoMessage ¶
func (*AddressBytesToStringRequest) ProtoMessage()
func (*AddressBytesToStringRequest) ProtoReflect ¶
func (x *AddressBytesToStringRequest) ProtoReflect() protoreflect.Message
func (*AddressBytesToStringRequest) Reset ¶
func (x *AddressBytesToStringRequest) Reset()
func (*AddressBytesToStringRequest) String ¶
func (x *AddressBytesToStringRequest) String() string
type AddressBytesToStringResponse ¶
type AddressBytesToStringResponse struct { AddressString string `protobuf:"bytes,1,opt,name=address_string,json=addressString,proto3" json:"address_string,omitempty"` // contains filtered or unexported fields }
AddressBytesToStringResponse is the response type for AddressString rpc method.
Since: cosmos-sdk 0.46
func (*AddressBytesToStringResponse) Descriptor
deprecated
func (*AddressBytesToStringResponse) Descriptor() ([]byte, []int)
Deprecated: Use AddressBytesToStringResponse.ProtoReflect.Descriptor instead.
func (*AddressBytesToStringResponse) GetAddressString ¶
func (x *AddressBytesToStringResponse) GetAddressString() string
func (*AddressBytesToStringResponse) ProtoMessage ¶
func (*AddressBytesToStringResponse) ProtoMessage()
func (*AddressBytesToStringResponse) ProtoReflect ¶
func (x *AddressBytesToStringResponse) ProtoReflect() protoreflect.Message
func (*AddressBytesToStringResponse) Reset ¶
func (x *AddressBytesToStringResponse) Reset()
func (*AddressBytesToStringResponse) String ¶
func (x *AddressBytesToStringResponse) String() string
type AddressStringToBytesRequest ¶
type AddressStringToBytesRequest struct { AddressString string `protobuf:"bytes,1,opt,name=address_string,json=addressString,proto3" json:"address_string,omitempty"` // contains filtered or unexported fields }
AddressStringToBytesRequest is the request type for AccountBytes rpc method.
Since: cosmos-sdk 0.46
func (*AddressStringToBytesRequest) Descriptor
deprecated
func (*AddressStringToBytesRequest) Descriptor() ([]byte, []int)
Deprecated: Use AddressStringToBytesRequest.ProtoReflect.Descriptor instead.
func (*AddressStringToBytesRequest) GetAddressString ¶
func (x *AddressStringToBytesRequest) GetAddressString() string
func (*AddressStringToBytesRequest) ProtoMessage ¶
func (*AddressStringToBytesRequest) ProtoMessage()
func (*AddressStringToBytesRequest) ProtoReflect ¶
func (x *AddressStringToBytesRequest) ProtoReflect() protoreflect.Message
func (*AddressStringToBytesRequest) Reset ¶
func (x *AddressStringToBytesRequest) Reset()
func (*AddressStringToBytesRequest) String ¶
func (x *AddressStringToBytesRequest) String() string
type AddressStringToBytesResponse ¶
type AddressStringToBytesResponse struct { AddressBytes []byte `protobuf:"bytes,1,opt,name=address_bytes,json=addressBytes,proto3" json:"address_bytes,omitempty"` // contains filtered or unexported fields }
AddressStringToBytesResponse is the response type for AddressBytes rpc method.
Since: cosmos-sdk 0.46
func (*AddressStringToBytesResponse) Descriptor
deprecated
func (*AddressStringToBytesResponse) Descriptor() ([]byte, []int)
Deprecated: Use AddressStringToBytesResponse.ProtoReflect.Descriptor instead.
func (*AddressStringToBytesResponse) GetAddressBytes ¶
func (x *AddressStringToBytesResponse) GetAddressBytes() []byte
func (*AddressStringToBytesResponse) ProtoMessage ¶
func (*AddressStringToBytesResponse) ProtoMessage()
func (*AddressStringToBytesResponse) ProtoReflect ¶
func (x *AddressStringToBytesResponse) ProtoReflect() protoreflect.Message
func (*AddressStringToBytesResponse) Reset ¶
func (x *AddressStringToBytesResponse) Reset()
func (*AddressStringToBytesResponse) String ¶
func (x *AddressStringToBytesResponse) String() string
type BaseAccount ¶
type BaseAccount struct { Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` PubKey *anypb.Any `protobuf:"bytes,2,opt,name=pub_key,json=pubKey,proto3" json:"pub_key,omitempty"` AccountNumber uint64 `protobuf:"varint,3,opt,name=account_number,json=accountNumber,proto3" json:"account_number,omitempty"` Sequence uint64 `protobuf:"varint,4,opt,name=sequence,proto3" json:"sequence,omitempty"` // contains filtered or unexported fields }
BaseAccount defines a base account type. It contains all the necessary fields for basic account functionality. Any custom account type should extend this type for additional functionality (e.g. vesting).
func (*BaseAccount) Descriptor
deprecated
func (*BaseAccount) Descriptor() ([]byte, []int)
Deprecated: Use BaseAccount.ProtoReflect.Descriptor instead.
func (*BaseAccount) GetAccountNumber ¶
func (x *BaseAccount) GetAccountNumber() uint64
func (*BaseAccount) GetAddress ¶
func (x *BaseAccount) GetAddress() string
func (*BaseAccount) GetPubKey ¶
func (x *BaseAccount) GetPubKey() *anypb.Any
func (*BaseAccount) GetSequence ¶
func (x *BaseAccount) GetSequence() uint64
func (*BaseAccount) ProtoMessage ¶
func (*BaseAccount) ProtoMessage()
func (*BaseAccount) ProtoReflect ¶
func (x *BaseAccount) ProtoReflect() protoreflect.Message
func (*BaseAccount) Reset ¶
func (x *BaseAccount) Reset()
func (*BaseAccount) String ¶
func (x *BaseAccount) String() string
type Bech32PrefixRequest ¶
type Bech32PrefixRequest struct {
// contains filtered or unexported fields
}
Bech32PrefixRequest is the request type for Bech32Prefix rpc method.
Since: cosmos-sdk 0.46
func (*Bech32PrefixRequest) Descriptor
deprecated
func (*Bech32PrefixRequest) Descriptor() ([]byte, []int)
Deprecated: Use Bech32PrefixRequest.ProtoReflect.Descriptor instead.
func (*Bech32PrefixRequest) ProtoMessage ¶
func (*Bech32PrefixRequest) ProtoMessage()
func (*Bech32PrefixRequest) ProtoReflect ¶
func (x *Bech32PrefixRequest) ProtoReflect() protoreflect.Message
func (*Bech32PrefixRequest) Reset ¶
func (x *Bech32PrefixRequest) Reset()
func (*Bech32PrefixRequest) String ¶
func (x *Bech32PrefixRequest) String() string
type Bech32PrefixResponse ¶
type Bech32PrefixResponse struct { Bech32Prefix string `protobuf:"bytes,1,opt,name=bech32_prefix,json=bech32Prefix,proto3" json:"bech32_prefix,omitempty"` // contains filtered or unexported fields }
Bech32PrefixResponse is the response type for Bech32Prefix rpc method.
Since: cosmos-sdk 0.46
func (*Bech32PrefixResponse) Descriptor
deprecated
func (*Bech32PrefixResponse) Descriptor() ([]byte, []int)
Deprecated: Use Bech32PrefixResponse.ProtoReflect.Descriptor instead.
func (*Bech32PrefixResponse) GetBech32Prefix ¶
func (x *Bech32PrefixResponse) GetBech32Prefix() string
func (*Bech32PrefixResponse) ProtoMessage ¶
func (*Bech32PrefixResponse) ProtoMessage()
func (*Bech32PrefixResponse) ProtoReflect ¶
func (x *Bech32PrefixResponse) ProtoReflect() protoreflect.Message
func (*Bech32PrefixResponse) Reset ¶
func (x *Bech32PrefixResponse) Reset()
func (*Bech32PrefixResponse) String ¶
func (x *Bech32PrefixResponse) String() string
type GenesisState ¶
type GenesisState struct { // params defines all the paramaters of the module. Params *Params `protobuf:"bytes,1,opt,name=params,proto3" json:"params,omitempty"` // accounts are the accounts present at genesis. Accounts []*anypb.Any `protobuf:"bytes,2,rep,name=accounts,proto3" json:"accounts,omitempty"` // contains filtered or unexported fields }
GenesisState defines the auth module's genesis state.
func (*GenesisState) Descriptor
deprecated
func (*GenesisState) Descriptor() ([]byte, []int)
Deprecated: Use GenesisState.ProtoReflect.Descriptor instead.
func (*GenesisState) GetAccounts ¶
func (x *GenesisState) GetAccounts() []*anypb.Any
func (*GenesisState) GetParams ¶
func (x *GenesisState) GetParams() *Params
func (*GenesisState) ProtoMessage ¶
func (*GenesisState) ProtoMessage()
func (*GenesisState) ProtoReflect ¶
func (x *GenesisState) ProtoReflect() protoreflect.Message
func (*GenesisState) Reset ¶
func (x *GenesisState) Reset()
func (*GenesisState) String ¶
func (x *GenesisState) String() string
type ModuleAccount ¶
type ModuleAccount struct { BaseAccount *BaseAccount `protobuf:"bytes,1,opt,name=base_account,json=baseAccount,proto3" json:"base_account,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` Permissions []string `protobuf:"bytes,3,rep,name=permissions,proto3" json:"permissions,omitempty"` // contains filtered or unexported fields }
ModuleAccount defines an account for modules that holds coins on a pool.
func (*ModuleAccount) Descriptor
deprecated
func (*ModuleAccount) Descriptor() ([]byte, []int)
Deprecated: Use ModuleAccount.ProtoReflect.Descriptor instead.
func (*ModuleAccount) GetBaseAccount ¶
func (x *ModuleAccount) GetBaseAccount() *BaseAccount
func (*ModuleAccount) GetName ¶
func (x *ModuleAccount) GetName() string
func (*ModuleAccount) GetPermissions ¶
func (x *ModuleAccount) GetPermissions() []string
func (*ModuleAccount) ProtoMessage ¶
func (*ModuleAccount) ProtoMessage()
func (*ModuleAccount) ProtoReflect ¶
func (x *ModuleAccount) ProtoReflect() protoreflect.Message
func (*ModuleAccount) Reset ¶
func (x *ModuleAccount) Reset()
func (*ModuleAccount) String ¶
func (x *ModuleAccount) String() string
type Params ¶
type Params struct { MaxMemoCharacters uint64 `protobuf:"varint,1,opt,name=max_memo_characters,json=maxMemoCharacters,proto3" json:"max_memo_characters,omitempty"` TxSigLimit uint64 `protobuf:"varint,2,opt,name=tx_sig_limit,json=txSigLimit,proto3" json:"tx_sig_limit,omitempty"` TxSizeCostPerByte uint64 `protobuf:"varint,3,opt,name=tx_size_cost_per_byte,json=txSizeCostPerByte,proto3" json:"tx_size_cost_per_byte,omitempty"` SigVerifyCostEd25519 uint64 `` /* 126-byte string literal not displayed */ SigVerifyCostSecp256K1 uint64 `` /* 132-byte string literal not displayed */ // contains filtered or unexported fields }
Params defines the parameters for the auth module.
func (*Params) ProtoReflect ¶
func (x *Params) ProtoReflect() protoreflect.Message
type QueryAccountRequest ¶
type QueryAccountRequest struct { // address defines the address to query for. Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` // contains filtered or unexported fields }
QueryAccountRequest is the request type for the Query/Account RPC method.
func (*QueryAccountRequest) Descriptor
deprecated
func (*QueryAccountRequest) Descriptor() ([]byte, []int)
Deprecated: Use QueryAccountRequest.ProtoReflect.Descriptor instead.
func (*QueryAccountRequest) GetAddress ¶
func (x *QueryAccountRequest) GetAddress() string
func (*QueryAccountRequest) ProtoMessage ¶
func (*QueryAccountRequest) ProtoMessage()
func (*QueryAccountRequest) ProtoReflect ¶
func (x *QueryAccountRequest) ProtoReflect() protoreflect.Message
func (*QueryAccountRequest) Reset ¶
func (x *QueryAccountRequest) Reset()
func (*QueryAccountRequest) String ¶
func (x *QueryAccountRequest) String() string
type QueryAccountResponse ¶
type QueryAccountResponse struct { // account defines the account of the corresponding address. Account *anypb.Any `protobuf:"bytes,1,opt,name=account,proto3" json:"account,omitempty"` // contains filtered or unexported fields }
QueryAccountResponse is the response type for the Query/Account RPC method.
func (*QueryAccountResponse) Descriptor
deprecated
func (*QueryAccountResponse) Descriptor() ([]byte, []int)
Deprecated: Use QueryAccountResponse.ProtoReflect.Descriptor instead.
func (*QueryAccountResponse) GetAccount ¶
func (x *QueryAccountResponse) GetAccount() *anypb.Any
func (*QueryAccountResponse) ProtoMessage ¶
func (*QueryAccountResponse) ProtoMessage()
func (*QueryAccountResponse) ProtoReflect ¶
func (x *QueryAccountResponse) ProtoReflect() protoreflect.Message
func (*QueryAccountResponse) Reset ¶
func (x *QueryAccountResponse) Reset()
func (*QueryAccountResponse) String ¶
func (x *QueryAccountResponse) String() string
type QueryAccountsRequest ¶
type QueryAccountsRequest struct { // pagination defines an optional pagination for the request. Pagination *v1beta1.PageRequest `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"` // contains filtered or unexported fields }
QueryAccountsRequest is the request type for the Query/Accounts RPC method.
Since: cosmos-sdk 0.43
func (*QueryAccountsRequest) Descriptor
deprecated
func (*QueryAccountsRequest) Descriptor() ([]byte, []int)
Deprecated: Use QueryAccountsRequest.ProtoReflect.Descriptor instead.
func (*QueryAccountsRequest) GetPagination ¶
func (x *QueryAccountsRequest) GetPagination() *v1beta1.PageRequest
func (*QueryAccountsRequest) ProtoMessage ¶
func (*QueryAccountsRequest) ProtoMessage()
func (*QueryAccountsRequest) ProtoReflect ¶
func (x *QueryAccountsRequest) ProtoReflect() protoreflect.Message
func (*QueryAccountsRequest) Reset ¶
func (x *QueryAccountsRequest) Reset()
func (*QueryAccountsRequest) String ¶
func (x *QueryAccountsRequest) String() string
type QueryAccountsResponse ¶
type QueryAccountsResponse struct { // accounts are the existing accounts Accounts []*anypb.Any `protobuf:"bytes,1,rep,name=accounts,proto3" json:"accounts,omitempty"` // pagination defines the pagination in the response. Pagination *v1beta1.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"` // contains filtered or unexported fields }
QueryAccountsResponse is the response type for the Query/Accounts RPC method.
Since: cosmos-sdk 0.43
func (*QueryAccountsResponse) Descriptor
deprecated
func (*QueryAccountsResponse) Descriptor() ([]byte, []int)
Deprecated: Use QueryAccountsResponse.ProtoReflect.Descriptor instead.
func (*QueryAccountsResponse) GetAccounts ¶
func (x *QueryAccountsResponse) GetAccounts() []*anypb.Any
func (*QueryAccountsResponse) GetPagination ¶
func (x *QueryAccountsResponse) GetPagination() *v1beta1.PageResponse
func (*QueryAccountsResponse) ProtoMessage ¶
func (*QueryAccountsResponse) ProtoMessage()
func (*QueryAccountsResponse) ProtoReflect ¶
func (x *QueryAccountsResponse) ProtoReflect() protoreflect.Message
func (*QueryAccountsResponse) Reset ¶
func (x *QueryAccountsResponse) Reset()
func (*QueryAccountsResponse) String ¶
func (x *QueryAccountsResponse) String() string
type QueryClient ¶
type QueryClient interface { // Accounts returns all the existing accounts // // Since: cosmos-sdk 0.43 Accounts(ctx context.Context, in *QueryAccountsRequest, opts ...grpc.CallOption) (*QueryAccountsResponse, error) // Account returns account details based on address. Account(ctx context.Context, in *QueryAccountRequest, opts ...grpc.CallOption) (*QueryAccountResponse, error) // Params queries all parameters. Params(ctx context.Context, in *QueryParamsRequest, opts ...grpc.CallOption) (*QueryParamsResponse, error) // ModuleAccounts returns all the existing module accounts. // // Since: cosmos-sdk 0.46 ModuleAccounts(ctx context.Context, in *QueryModuleAccountsRequest, opts ...grpc.CallOption) (*QueryModuleAccountsResponse, error) // Bech32Prefix queries bech32Prefix // // Since: cosmos-sdk 0.46 Bech32Prefix(ctx context.Context, in *Bech32PrefixRequest, opts ...grpc.CallOption) (*Bech32PrefixResponse, error) // AddressBytesToString converts Account Address bytes to string // // Since: cosmos-sdk 0.46 AddressBytesToString(ctx context.Context, in *AddressBytesToStringRequest, opts ...grpc.CallOption) (*AddressBytesToStringResponse, error) // AddressStringToBytes converts Address string to bytes // // Since: cosmos-sdk 0.46 AddressStringToBytes(ctx context.Context, in *AddressStringToBytesRequest, opts ...grpc.CallOption) (*AddressStringToBytesResponse, error) }
QueryClient is the client API for Query service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewQueryClient ¶
func NewQueryClient(cc grpc.ClientConnInterface) QueryClient
type QueryModuleAccountsRequest ¶
type QueryModuleAccountsRequest struct {
// contains filtered or unexported fields
}
QueryModuleAccountsRequest is the request type for the Query/ModuleAccounts RPC method.
Since: cosmos-sdk 0.46
func (*QueryModuleAccountsRequest) Descriptor
deprecated
func (*QueryModuleAccountsRequest) Descriptor() ([]byte, []int)
Deprecated: Use QueryModuleAccountsRequest.ProtoReflect.Descriptor instead.
func (*QueryModuleAccountsRequest) ProtoMessage ¶
func (*QueryModuleAccountsRequest) ProtoMessage()
func (*QueryModuleAccountsRequest) ProtoReflect ¶
func (x *QueryModuleAccountsRequest) ProtoReflect() protoreflect.Message
func (*QueryModuleAccountsRequest) Reset ¶
func (x *QueryModuleAccountsRequest) Reset()
func (*QueryModuleAccountsRequest) String ¶
func (x *QueryModuleAccountsRequest) String() string
type QueryModuleAccountsResponse ¶
type QueryModuleAccountsResponse struct { Accounts []*anypb.Any `protobuf:"bytes,1,rep,name=accounts,proto3" json:"accounts,omitempty"` // contains filtered or unexported fields }
QueryModuleAccountsResponse is the response type for the Query/ModuleAccounts RPC method.
Since: cosmos-sdk 0.46
func (*QueryModuleAccountsResponse) Descriptor
deprecated
func (*QueryModuleAccountsResponse) Descriptor() ([]byte, []int)
Deprecated: Use QueryModuleAccountsResponse.ProtoReflect.Descriptor instead.
func (*QueryModuleAccountsResponse) GetAccounts ¶
func (x *QueryModuleAccountsResponse) GetAccounts() []*anypb.Any
func (*QueryModuleAccountsResponse) ProtoMessage ¶
func (*QueryModuleAccountsResponse) ProtoMessage()
func (*QueryModuleAccountsResponse) ProtoReflect ¶
func (x *QueryModuleAccountsResponse) ProtoReflect() protoreflect.Message
func (*QueryModuleAccountsResponse) Reset ¶
func (x *QueryModuleAccountsResponse) Reset()
func (*QueryModuleAccountsResponse) String ¶
func (x *QueryModuleAccountsResponse) String() string
type QueryParamsRequest ¶
type QueryParamsRequest struct {
// contains filtered or unexported fields
}
QueryParamsRequest is the request type for the Query/Params RPC method.
func (*QueryParamsRequest) Descriptor
deprecated
func (*QueryParamsRequest) Descriptor() ([]byte, []int)
Deprecated: Use QueryParamsRequest.ProtoReflect.Descriptor instead.
func (*QueryParamsRequest) ProtoMessage ¶
func (*QueryParamsRequest) ProtoMessage()
func (*QueryParamsRequest) ProtoReflect ¶
func (x *QueryParamsRequest) ProtoReflect() protoreflect.Message
func (*QueryParamsRequest) Reset ¶
func (x *QueryParamsRequest) Reset()
func (*QueryParamsRequest) String ¶
func (x *QueryParamsRequest) String() string
type QueryParamsResponse ¶
type QueryParamsResponse struct { // params defines the parameters of the module. Params *Params `protobuf:"bytes,1,opt,name=params,proto3" json:"params,omitempty"` // contains filtered or unexported fields }
QueryParamsResponse is the response type for the Query/Params RPC method.
func (*QueryParamsResponse) Descriptor
deprecated
func (*QueryParamsResponse) Descriptor() ([]byte, []int)
Deprecated: Use QueryParamsResponse.ProtoReflect.Descriptor instead.
func (*QueryParamsResponse) GetParams ¶
func (x *QueryParamsResponse) GetParams() *Params
func (*QueryParamsResponse) ProtoMessage ¶
func (*QueryParamsResponse) ProtoMessage()
func (*QueryParamsResponse) ProtoReflect ¶
func (x *QueryParamsResponse) ProtoReflect() protoreflect.Message
func (*QueryParamsResponse) Reset ¶
func (x *QueryParamsResponse) Reset()
func (*QueryParamsResponse) String ¶
func (x *QueryParamsResponse) String() string
type QueryServer ¶
type QueryServer interface { // Accounts returns all the existing accounts // // Since: cosmos-sdk 0.43 Accounts(context.Context, *QueryAccountsRequest) (*QueryAccountsResponse, error) // Account returns account details based on address. Account(context.Context, *QueryAccountRequest) (*QueryAccountResponse, error) // Params queries all parameters. Params(context.Context, *QueryParamsRequest) (*QueryParamsResponse, error) // ModuleAccounts returns all the existing module accounts. // // Since: cosmos-sdk 0.46 ModuleAccounts(context.Context, *QueryModuleAccountsRequest) (*QueryModuleAccountsResponse, error) // Bech32Prefix queries bech32Prefix // // Since: cosmos-sdk 0.46 Bech32Prefix(context.Context, *Bech32PrefixRequest) (*Bech32PrefixResponse, error) // AddressBytesToString converts Account Address bytes to string // // Since: cosmos-sdk 0.46 AddressBytesToString(context.Context, *AddressBytesToStringRequest) (*AddressBytesToStringResponse, error) // AddressStringToBytes converts Address string to bytes // // Since: cosmos-sdk 0.46 AddressStringToBytes(context.Context, *AddressStringToBytesRequest) (*AddressStringToBytesResponse, error) // contains filtered or unexported methods }
QueryServer is the server API for Query service. All implementations must embed UnimplementedQueryServer for forward compatibility
type UnimplementedQueryServer ¶
type UnimplementedQueryServer struct { }
UnimplementedQueryServer must be embedded to have forward compatible implementations.
func (UnimplementedQueryServer) Account ¶
func (UnimplementedQueryServer) Account(context.Context, *QueryAccountRequest) (*QueryAccountResponse, error)
func (UnimplementedQueryServer) Accounts ¶
func (UnimplementedQueryServer) Accounts(context.Context, *QueryAccountsRequest) (*QueryAccountsResponse, error)
func (UnimplementedQueryServer) AddressBytesToString ¶
func (UnimplementedQueryServer) AddressBytesToString(context.Context, *AddressBytesToStringRequest) (*AddressBytesToStringResponse, error)
func (UnimplementedQueryServer) AddressStringToBytes ¶
func (UnimplementedQueryServer) AddressStringToBytes(context.Context, *AddressStringToBytesRequest) (*AddressStringToBytesResponse, error)
func (UnimplementedQueryServer) Bech32Prefix ¶
func (UnimplementedQueryServer) Bech32Prefix(context.Context, *Bech32PrefixRequest) (*Bech32PrefixResponse, error)
func (UnimplementedQueryServer) ModuleAccounts ¶
func (UnimplementedQueryServer) ModuleAccounts(context.Context, *QueryModuleAccountsRequest) (*QueryModuleAccountsResponse, error)
func (UnimplementedQueryServer) Params ¶
func (UnimplementedQueryServer) Params(context.Context, *QueryParamsRequest) (*QueryParamsResponse, error)
type UnsafeQueryServer ¶
type UnsafeQueryServer interface {
// contains filtered or unexported methods
}
UnsafeQueryServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to QueryServer will result in compilation errors.