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.
Code generated by protoc-gen-go-pulsar. DO NOT EDIT.
Code generated by protoc-gen-go-pulsar. DO NOT EDIT.
Index ¶
- Constants
- Variables
- func RegisterMsgServer(s grpc.ServiceRegistrar, srv MsgServer)
- func RegisterQueryServer(s grpc.ServiceRegistrar, srv QueryServer)
- type 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 ModuleCredential
- func (*ModuleCredential) Descriptor() ([]byte, []int)deprecated
- func (x *ModuleCredential) GetDerivationKeys() [][]byte
- func (x *ModuleCredential) GetModuleName() string
- func (*ModuleCredential) ProtoMessage()
- func (x *ModuleCredential) ProtoReflect() protoreflect.Message
- func (x *ModuleCredential) Reset()
- func (x *ModuleCredential) String() string
- type MsgClient
- type MsgMigrateAccount
- func (*MsgMigrateAccount) Descriptor() ([]byte, []int)deprecated
- func (x *MsgMigrateAccount) GetAccountInitMsg() *anypb.Any
- func (x *MsgMigrateAccount) GetAccountType() string
- func (x *MsgMigrateAccount) GetSigner() string
- func (*MsgMigrateAccount) ProtoMessage()
- func (x *MsgMigrateAccount) ProtoReflect() protoreflect.Message
- func (x *MsgMigrateAccount) Reset()
- func (x *MsgMigrateAccount) String() string
- type MsgMigrateAccountResponse
- func (*MsgMigrateAccountResponse) Descriptor() ([]byte, []int)deprecated
- func (x *MsgMigrateAccountResponse) GetInitResponse() *anypb.Any
- func (*MsgMigrateAccountResponse) ProtoMessage()
- func (x *MsgMigrateAccountResponse) ProtoReflect() protoreflect.Message
- func (x *MsgMigrateAccountResponse) Reset()
- func (x *MsgMigrateAccountResponse) String() string
- type MsgNonAtomicExec
- func (*MsgNonAtomicExec) Descriptor() ([]byte, []int)deprecated
- func (x *MsgNonAtomicExec) GetMsgs() []*anypb.Any
- func (x *MsgNonAtomicExec) GetSigner() string
- func (*MsgNonAtomicExec) ProtoMessage()
- func (x *MsgNonAtomicExec) ProtoReflect() protoreflect.Message
- func (x *MsgNonAtomicExec) Reset()
- func (x *MsgNonAtomicExec) String() string
- type MsgNonAtomicExecResponse
- func (*MsgNonAtomicExecResponse) Descriptor() ([]byte, []int)deprecated
- func (x *MsgNonAtomicExecResponse) GetResults() []*NonAtomicExecResult
- func (*MsgNonAtomicExecResponse) ProtoMessage()
- func (x *MsgNonAtomicExecResponse) ProtoReflect() protoreflect.Message
- func (x *MsgNonAtomicExecResponse) Reset()
- func (x *MsgNonAtomicExecResponse) String() string
- type MsgServer
- type MsgUpdateParams
- func (*MsgUpdateParams) Descriptor() ([]byte, []int)deprecated
- func (x *MsgUpdateParams) GetAuthority() string
- func (x *MsgUpdateParams) GetParams() *Params
- func (*MsgUpdateParams) ProtoMessage()
- func (x *MsgUpdateParams) ProtoReflect() protoreflect.Message
- func (x *MsgUpdateParams) Reset()
- func (x *MsgUpdateParams) String() string
- type MsgUpdateParamsResponse
- type NonAtomicExecResult
- func (*NonAtomicExecResult) Descriptor() ([]byte, []int)deprecated
- func (x *NonAtomicExecResult) GetError() string
- func (x *NonAtomicExecResult) GetResp() *anypb.Any
- func (*NonAtomicExecResult) ProtoMessage()
- func (x *NonAtomicExecResult) ProtoReflect() protoreflect.Message
- func (x *NonAtomicExecResult) Reset()
- func (x *NonAtomicExecResult) 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 QueryAccountAddressByIDRequest
- func (*QueryAccountAddressByIDRequest) Descriptor() ([]byte, []int)deprecated
- func (x *QueryAccountAddressByIDRequest) GetAccountId() uint64
- func (x *QueryAccountAddressByIDRequest) GetId() int64deprecated
- func (*QueryAccountAddressByIDRequest) ProtoMessage()
- func (x *QueryAccountAddressByIDRequest) ProtoReflect() protoreflect.Message
- func (x *QueryAccountAddressByIDRequest) Reset()
- func (x *QueryAccountAddressByIDRequest) String() string
- type QueryAccountAddressByIDResponse
- func (*QueryAccountAddressByIDResponse) Descriptor() ([]byte, []int)deprecated
- func (x *QueryAccountAddressByIDResponse) GetAccountAddress() string
- func (*QueryAccountAddressByIDResponse) ProtoMessage()
- func (x *QueryAccountAddressByIDResponse) ProtoReflect() protoreflect.Message
- func (x *QueryAccountAddressByIDResponse) Reset()
- func (x *QueryAccountAddressByIDResponse) String() string
- type QueryAccountInfoRequest
- func (*QueryAccountInfoRequest) Descriptor() ([]byte, []int)deprecated
- func (x *QueryAccountInfoRequest) GetAddress() string
- func (*QueryAccountInfoRequest) ProtoMessage()
- func (x *QueryAccountInfoRequest) ProtoReflect() protoreflect.Message
- func (x *QueryAccountInfoRequest) Reset()
- func (x *QueryAccountInfoRequest) String() string
- type QueryAccountInfoResponse
- func (*QueryAccountInfoResponse) Descriptor() ([]byte, []int)deprecated
- func (x *QueryAccountInfoResponse) GetInfo() *BaseAccount
- func (*QueryAccountInfoResponse) ProtoMessage()
- func (x *QueryAccountInfoResponse) ProtoReflect() protoreflect.Message
- func (x *QueryAccountInfoResponse) Reset()
- func (x *QueryAccountInfoResponse) 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 QueryLegacyAccount
- type QueryLegacyAccountResponse
- func (*QueryLegacyAccountResponse) Descriptor() ([]byte, []int)deprecated
- func (x *QueryLegacyAccountResponse) GetAccount() *anypb.Any
- func (x *QueryLegacyAccountResponse) GetBase() *BaseAccount
- func (*QueryLegacyAccountResponse) ProtoMessage()
- func (x *QueryLegacyAccountResponse) ProtoReflect() protoreflect.Message
- func (x *QueryLegacyAccountResponse) Reset()
- func (x *QueryLegacyAccountResponse) String() string
- type QueryModuleAccountByNameRequest
- func (*QueryModuleAccountByNameRequest) Descriptor() ([]byte, []int)deprecated
- func (x *QueryModuleAccountByNameRequest) GetName() string
- func (*QueryModuleAccountByNameRequest) ProtoMessage()
- func (x *QueryModuleAccountByNameRequest) ProtoReflect() protoreflect.Message
- func (x *QueryModuleAccountByNameRequest) Reset()
- func (x *QueryModuleAccountByNameRequest) String() string
- type QueryModuleAccountByNameResponse
- func (*QueryModuleAccountByNameResponse) Descriptor() ([]byte, []int)deprecated
- func (x *QueryModuleAccountByNameResponse) GetAccount() *anypb.Any
- func (*QueryModuleAccountByNameResponse) ProtoMessage()
- func (x *QueryModuleAccountByNameResponse) ProtoReflect() protoreflect.Message
- func (x *QueryModuleAccountByNameResponse) Reset()
- func (x *QueryModuleAccountByNameResponse) String() string
- 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 UnimplementedMsgServer
- func (UnimplementedMsgServer) MigrateAccount(context.Context, *MsgMigrateAccount) (*MsgMigrateAccountResponse, error)
- func (UnimplementedMsgServer) NonAtomicExec(context.Context, *MsgNonAtomicExec) (*MsgNonAtomicExecResponse, error)
- func (UnimplementedMsgServer) UpdateParams(context.Context, *MsgUpdateParams) (*MsgUpdateParamsResponse, error)
- type UnimplementedQueryServer
- func (UnimplementedQueryServer) Account(context.Context, *QueryAccountRequest) (*QueryAccountResponse, error)
- func (UnimplementedQueryServer) AccountAddressByID(context.Context, *QueryAccountAddressByIDRequest) (*QueryAccountAddressByIDResponse, error)
- func (UnimplementedQueryServer) AccountInfo(context.Context, *QueryAccountInfoRequest) (*QueryAccountInfoResponse, 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) ModuleAccountByName(context.Context, *QueryModuleAccountByNameRequest) (*QueryModuleAccountByNameResponse, error)
- func (UnimplementedQueryServer) ModuleAccounts(context.Context, *QueryModuleAccountsRequest) (*QueryModuleAccountsResponse, error)
- func (UnimplementedQueryServer) Params(context.Context, *QueryParamsRequest) (*QueryParamsResponse, error)
- type UnsafeMsgServer
- type UnsafeQueryServer
Constants ¶
const ( Query_Accounts_FullMethodName = "/cosmos.auth.v1beta1.Query/Accounts" Query_Account_FullMethodName = "/cosmos.auth.v1beta1.Query/Account" Query_AccountAddressByID_FullMethodName = "/cosmos.auth.v1beta1.Query/AccountAddressByID" Query_Params_FullMethodName = "/cosmos.auth.v1beta1.Query/Params" Query_ModuleAccounts_FullMethodName = "/cosmos.auth.v1beta1.Query/ModuleAccounts" Query_ModuleAccountByName_FullMethodName = "/cosmos.auth.v1beta1.Query/ModuleAccountByName" Query_Bech32Prefix_FullMethodName = "/cosmos.auth.v1beta1.Query/Bech32Prefix" Query_AddressBytesToString_FullMethodName = "/cosmos.auth.v1beta1.Query/AddressBytesToString" Query_AddressStringToBytes_FullMethodName = "/cosmos.auth.v1beta1.Query/AddressStringToBytes" Query_AccountInfo_FullMethodName = "/cosmos.auth.v1beta1.Query/AccountInfo" )
const ( Msg_UpdateParams_FullMethodName = "/cosmos.auth.v1beta1.Msg/UpdateParams" Msg_NonAtomicExec_FullMethodName = "/cosmos.auth.v1beta1.Msg/NonAtomicExec" Msg_MigrateAccount_FullMethodName = "/cosmos.auth.v1beta1.Msg/MigrateAccount" )
Variables ¶
var File_cosmos_auth_v1beta1_accounts_proto protoreflect.FileDescriptor
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 File_cosmos_auth_v1beta1_tx_proto protoreflect.FileDescriptor
var Msg_ServiceDesc = grpc.ServiceDesc{ ServiceName: "cosmos.auth.v1beta1.Msg", HandlerType: (*MsgServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "UpdateParams", Handler: _Msg_UpdateParams_Handler, }, { MethodName: "NonAtomicExec", Handler: _Msg_NonAtomicExec_Handler, }, { MethodName: "MigrateAccount", Handler: _Msg_MigrateAccount_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "cosmos/auth/v1beta1/tx.proto", }
Msg_ServiceDesc is the grpc.ServiceDesc for Msg service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var Query_ServiceDesc = grpc.ServiceDesc{ ServiceName: "cosmos.auth.v1beta1.Query", HandlerType: (*QueryServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "Accounts", Handler: _Query_Accounts_Handler, }, { MethodName: "Account", Handler: _Query_Account_Handler, }, { MethodName: "AccountAddressByID", Handler: _Query_AccountAddressByID_Handler, }, { MethodName: "Params", Handler: _Query_Params_Handler, }, { MethodName: "ModuleAccounts", Handler: _Query_ModuleAccounts_Handler, }, { MethodName: "ModuleAccountByName", Handler: _Query_ModuleAccountByName_Handler, }, { MethodName: "Bech32Prefix", Handler: _Query_Bech32Prefix_Handler, }, { MethodName: "AddressBytesToString", Handler: _Query_AddressBytesToString_Handler, }, { MethodName: "AddressStringToBytes", Handler: _Query_AddressStringToBytes_Handler, }, { MethodName: "AccountInfo", Handler: _Query_AccountInfo_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 RegisterMsgServer ¶
func RegisterMsgServer(s grpc.ServiceRegistrar, srv MsgServer)
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.
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.
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.
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.
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.
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.
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 parameters 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 ModuleCredential ¶ added in v0.2.5
type ModuleCredential struct { // module_name is the name of the module used for address derivation (passed into address.Module). ModuleName string `protobuf:"bytes,1,opt,name=module_name,json=moduleName,proto3" json:"module_name,omitempty"` // derivation_keys is for deriving a module account address (passed into address.Module) // adding more keys creates sub-account addresses (passed into address.Derive) DerivationKeys [][]byte `protobuf:"bytes,2,rep,name=derivation_keys,json=derivationKeys,proto3" json:"derivation_keys,omitempty"` // contains filtered or unexported fields }
ModuleCredential represents a unclaimable pubkey for base accounts controlled by modules.
func (*ModuleCredential) Descriptor
deprecated
added in
v0.2.5
func (*ModuleCredential) Descriptor() ([]byte, []int)
Deprecated: Use ModuleCredential.ProtoReflect.Descriptor instead.
func (*ModuleCredential) GetDerivationKeys ¶ added in v0.2.5
func (x *ModuleCredential) GetDerivationKeys() [][]byte
func (*ModuleCredential) GetModuleName ¶ added in v0.2.5
func (x *ModuleCredential) GetModuleName() string
func (*ModuleCredential) ProtoMessage ¶ added in v0.2.5
func (*ModuleCredential) ProtoMessage()
func (*ModuleCredential) ProtoReflect ¶ added in v0.2.5
func (x *ModuleCredential) ProtoReflect() protoreflect.Message
func (*ModuleCredential) Reset ¶ added in v0.2.5
func (x *ModuleCredential) Reset()
func (*ModuleCredential) String ¶ added in v0.2.5
func (x *ModuleCredential) String() string
type MsgClient ¶
type MsgClient interface { // UpdateParams defines a (governance) operation for updating the x/auth module // parameters. The authority defaults to the x/gov module account. UpdateParams(ctx context.Context, in *MsgUpdateParams, opts ...grpc.CallOption) (*MsgUpdateParamsResponse, error) // NonAtomicExec allows users to submit multiple messages for non-atomic execution. NonAtomicExec(ctx context.Context, in *MsgNonAtomicExec, opts ...grpc.CallOption) (*MsgNonAtomicExecResponse, error) // MigrateAccount migrates the account to x/accounts. MigrateAccount(ctx context.Context, in *MsgMigrateAccount, opts ...grpc.CallOption) (*MsgMigrateAccountResponse, error) }
MsgClient is the client API for Msg service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
Msg defines the x/auth Msg service.
func NewMsgClient ¶
func NewMsgClient(cc grpc.ClientConnInterface) MsgClient
type MsgMigrateAccount ¶
type MsgMigrateAccount struct { Signer string `protobuf:"bytes,1,opt,name=signer,proto3" json:"signer,omitempty"` AccountType string `protobuf:"bytes,2,opt,name=account_type,json=accountType,proto3" json:"account_type,omitempty"` AccountInitMsg *anypb.Any `protobuf:"bytes,3,opt,name=account_init_msg,json=accountInitMsg,proto3" json:"account_init_msg,omitempty"` // contains filtered or unexported fields }
MsgMigrateAccount defines a message which allows users to migrate from BaseAccount to other x/accounts types.
func (*MsgMigrateAccount) Descriptor
deprecated
func (*MsgMigrateAccount) Descriptor() ([]byte, []int)
Deprecated: Use MsgMigrateAccount.ProtoReflect.Descriptor instead.
func (*MsgMigrateAccount) GetAccountInitMsg ¶
func (x *MsgMigrateAccount) GetAccountInitMsg() *anypb.Any
func (*MsgMigrateAccount) GetAccountType ¶
func (x *MsgMigrateAccount) GetAccountType() string
func (*MsgMigrateAccount) GetSigner ¶
func (x *MsgMigrateAccount) GetSigner() string
func (*MsgMigrateAccount) ProtoMessage ¶
func (*MsgMigrateAccount) ProtoMessage()
func (*MsgMigrateAccount) ProtoReflect ¶
func (x *MsgMigrateAccount) ProtoReflect() protoreflect.Message
func (*MsgMigrateAccount) Reset ¶
func (x *MsgMigrateAccount) Reset()
func (*MsgMigrateAccount) String ¶
func (x *MsgMigrateAccount) String() string
type MsgMigrateAccountResponse ¶
type MsgMigrateAccountResponse struct { // init_response defines the response returned by the x/account account // initialization. InitResponse *anypb.Any `protobuf:"bytes,1,opt,name=init_response,json=initResponse,proto3" json:"init_response,omitempty"` // contains filtered or unexported fields }
MsgMigrateAccountResponse defines the response given when migrating to an x/accounts account.
func (*MsgMigrateAccountResponse) Descriptor
deprecated
func (*MsgMigrateAccountResponse) Descriptor() ([]byte, []int)
Deprecated: Use MsgMigrateAccountResponse.ProtoReflect.Descriptor instead.
func (*MsgMigrateAccountResponse) GetInitResponse ¶
func (x *MsgMigrateAccountResponse) GetInitResponse() *anypb.Any
func (*MsgMigrateAccountResponse) ProtoMessage ¶
func (*MsgMigrateAccountResponse) ProtoMessage()
func (*MsgMigrateAccountResponse) ProtoReflect ¶
func (x *MsgMigrateAccountResponse) ProtoReflect() protoreflect.Message
func (*MsgMigrateAccountResponse) Reset ¶
func (x *MsgMigrateAccountResponse) Reset()
func (*MsgMigrateAccountResponse) String ¶
func (x *MsgMigrateAccountResponse) String() string
type MsgNonAtomicExec ¶
type MsgNonAtomicExec struct { Signer string `protobuf:"bytes,1,opt,name=signer,proto3" json:"signer,omitempty"` Msgs []*anypb.Any `protobuf:"bytes,2,rep,name=msgs,proto3" json:"msgs,omitempty"` // contains filtered or unexported fields }
MsgNonAtomicExec defines the Msg/NonAtomicExec request type.
func (*MsgNonAtomicExec) Descriptor
deprecated
func (*MsgNonAtomicExec) Descriptor() ([]byte, []int)
Deprecated: Use MsgNonAtomicExec.ProtoReflect.Descriptor instead.
func (*MsgNonAtomicExec) GetMsgs ¶
func (x *MsgNonAtomicExec) GetMsgs() []*anypb.Any
func (*MsgNonAtomicExec) GetSigner ¶
func (x *MsgNonAtomicExec) GetSigner() string
func (*MsgNonAtomicExec) ProtoMessage ¶
func (*MsgNonAtomicExec) ProtoMessage()
func (*MsgNonAtomicExec) ProtoReflect ¶
func (x *MsgNonAtomicExec) ProtoReflect() protoreflect.Message
func (*MsgNonAtomicExec) Reset ¶
func (x *MsgNonAtomicExec) Reset()
func (*MsgNonAtomicExec) String ¶
func (x *MsgNonAtomicExec) String() string
type MsgNonAtomicExecResponse ¶
type MsgNonAtomicExecResponse struct { Results []*NonAtomicExecResult `protobuf:"bytes,1,rep,name=results,proto3" json:"results,omitempty"` // contains filtered or unexported fields }
MsgNonAtomicExecResponse defines the response of MsgNonAtomicExec.
func (*MsgNonAtomicExecResponse) Descriptor
deprecated
func (*MsgNonAtomicExecResponse) Descriptor() ([]byte, []int)
Deprecated: Use MsgNonAtomicExecResponse.ProtoReflect.Descriptor instead.
func (*MsgNonAtomicExecResponse) GetResults ¶
func (x *MsgNonAtomicExecResponse) GetResults() []*NonAtomicExecResult
func (*MsgNonAtomicExecResponse) ProtoMessage ¶
func (*MsgNonAtomicExecResponse) ProtoMessage()
func (*MsgNonAtomicExecResponse) ProtoReflect ¶
func (x *MsgNonAtomicExecResponse) ProtoReflect() protoreflect.Message
func (*MsgNonAtomicExecResponse) Reset ¶
func (x *MsgNonAtomicExecResponse) Reset()
func (*MsgNonAtomicExecResponse) String ¶
func (x *MsgNonAtomicExecResponse) String() string
type MsgServer ¶
type MsgServer interface { // UpdateParams defines a (governance) operation for updating the x/auth module // parameters. The authority defaults to the x/gov module account. UpdateParams(context.Context, *MsgUpdateParams) (*MsgUpdateParamsResponse, error) // NonAtomicExec allows users to submit multiple messages for non-atomic execution. NonAtomicExec(context.Context, *MsgNonAtomicExec) (*MsgNonAtomicExecResponse, error) // MigrateAccount migrates the account to x/accounts. MigrateAccount(context.Context, *MsgMigrateAccount) (*MsgMigrateAccountResponse, error) // contains filtered or unexported methods }
MsgServer is the server API for Msg service. All implementations must embed UnimplementedMsgServer for forward compatibility.
Msg defines the x/auth Msg service.
type MsgUpdateParams ¶
type MsgUpdateParams struct { // authority is the address that controls the module (defaults to x/gov unless overwritten). Authority string `protobuf:"bytes,1,opt,name=authority,proto3" json:"authority,omitempty"` // params defines the x/auth parameters to update. // // NOTE: All parameters must be supplied. Params *Params `protobuf:"bytes,2,opt,name=params,proto3" json:"params,omitempty"` // contains filtered or unexported fields }
MsgUpdateParams is the Msg/UpdateParams request type.
func (*MsgUpdateParams) Descriptor
deprecated
func (*MsgUpdateParams) Descriptor() ([]byte, []int)
Deprecated: Use MsgUpdateParams.ProtoReflect.Descriptor instead.
func (*MsgUpdateParams) GetAuthority ¶
func (x *MsgUpdateParams) GetAuthority() string
func (*MsgUpdateParams) GetParams ¶
func (x *MsgUpdateParams) GetParams() *Params
func (*MsgUpdateParams) ProtoMessage ¶
func (*MsgUpdateParams) ProtoMessage()
func (*MsgUpdateParams) ProtoReflect ¶
func (x *MsgUpdateParams) ProtoReflect() protoreflect.Message
func (*MsgUpdateParams) Reset ¶
func (x *MsgUpdateParams) Reset()
func (*MsgUpdateParams) String ¶
func (x *MsgUpdateParams) String() string
type MsgUpdateParamsResponse ¶
type MsgUpdateParamsResponse struct {
// contains filtered or unexported fields
}
MsgUpdateParamsResponse defines the response structure for executing a MsgUpdateParams message.
func (*MsgUpdateParamsResponse) Descriptor
deprecated
func (*MsgUpdateParamsResponse) Descriptor() ([]byte, []int)
Deprecated: Use MsgUpdateParamsResponse.ProtoReflect.Descriptor instead.
func (*MsgUpdateParamsResponse) ProtoMessage ¶
func (*MsgUpdateParamsResponse) ProtoMessage()
func (*MsgUpdateParamsResponse) ProtoReflect ¶
func (x *MsgUpdateParamsResponse) ProtoReflect() protoreflect.Message
func (*MsgUpdateParamsResponse) Reset ¶
func (x *MsgUpdateParamsResponse) Reset()
func (*MsgUpdateParamsResponse) String ¶
func (x *MsgUpdateParamsResponse) String() string
type NonAtomicExecResult ¶
type NonAtomicExecResult struct { Error string `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"` Resp *anypb.Any `protobuf:"bytes,2,opt,name=resp,proto3" json:"resp,omitempty"` // contains filtered or unexported fields }
NonAtomicExecResult defines the response structure for executing a MsgNonAtomicExec.
func (*NonAtomicExecResult) Descriptor
deprecated
func (*NonAtomicExecResult) Descriptor() ([]byte, []int)
Deprecated: Use NonAtomicExecResult.ProtoReflect.Descriptor instead.
func (*NonAtomicExecResult) GetError ¶
func (x *NonAtomicExecResult) GetError() string
func (*NonAtomicExecResult) GetResp ¶
func (x *NonAtomicExecResult) GetResp() *anypb.Any
func (*NonAtomicExecResult) ProtoMessage ¶
func (*NonAtomicExecResult) ProtoMessage()
func (*NonAtomicExecResult) ProtoReflect ¶
func (x *NonAtomicExecResult) ProtoReflect() protoreflect.Message
func (*NonAtomicExecResult) Reset ¶
func (x *NonAtomicExecResult) Reset()
func (*NonAtomicExecResult) String ¶
func (x *NonAtomicExecResult) 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) Descriptor
deprecated
func (*Params) GetMaxMemoCharacters ¶
func (*Params) GetSigVerifyCostEd25519 ¶
func (*Params) GetSigVerifyCostSecp256K1 ¶
func (*Params) GetTxSigLimit ¶
func (*Params) GetTxSizeCostPerByte ¶
func (*Params) ProtoMessage ¶
func (*Params) ProtoMessage()
func (*Params) ProtoReflect ¶
func (x *Params) ProtoReflect() protoreflect.Message
type QueryAccountAddressByIDRequest ¶
type QueryAccountAddressByIDRequest struct { // Deprecated, use account_id instead // // id is the account number of the address to be queried. This field // should have been an uint64 (like all account numbers), and will be // updated to uint64 in a future version of the auth query. // // Deprecated: Do not use. Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // account_id is the account number of the address to be queried. AccountId uint64 `protobuf:"varint,2,opt,name=account_id,json=accountId,proto3" json:"account_id,omitempty"` // contains filtered or unexported fields }
QueryAccountAddressByIDRequest is the request type for AccountAddressByID rpc method
func (*QueryAccountAddressByIDRequest) Descriptor
deprecated
func (*QueryAccountAddressByIDRequest) Descriptor() ([]byte, []int)
Deprecated: Use QueryAccountAddressByIDRequest.ProtoReflect.Descriptor instead.
func (*QueryAccountAddressByIDRequest) GetAccountId ¶ added in v0.2.5
func (x *QueryAccountAddressByIDRequest) GetAccountId() uint64
func (*QueryAccountAddressByIDRequest) GetId
deprecated
func (x *QueryAccountAddressByIDRequest) GetId() int64
Deprecated: Do not use.
func (*QueryAccountAddressByIDRequest) ProtoMessage ¶
func (*QueryAccountAddressByIDRequest) ProtoMessage()
func (*QueryAccountAddressByIDRequest) ProtoReflect ¶
func (x *QueryAccountAddressByIDRequest) ProtoReflect() protoreflect.Message
func (*QueryAccountAddressByIDRequest) Reset ¶
func (x *QueryAccountAddressByIDRequest) Reset()
func (*QueryAccountAddressByIDRequest) String ¶
func (x *QueryAccountAddressByIDRequest) String() string
type QueryAccountAddressByIDResponse ¶
type QueryAccountAddressByIDResponse struct { AccountAddress string `protobuf:"bytes,1,opt,name=account_address,json=accountAddress,proto3" json:"account_address,omitempty"` // contains filtered or unexported fields }
QueryAccountAddressByIDResponse is the response type for AccountAddressByID rpc method
func (*QueryAccountAddressByIDResponse) Descriptor
deprecated
func (*QueryAccountAddressByIDResponse) Descriptor() ([]byte, []int)
Deprecated: Use QueryAccountAddressByIDResponse.ProtoReflect.Descriptor instead.
func (*QueryAccountAddressByIDResponse) GetAccountAddress ¶
func (x *QueryAccountAddressByIDResponse) GetAccountAddress() string
func (*QueryAccountAddressByIDResponse) ProtoMessage ¶
func (*QueryAccountAddressByIDResponse) ProtoMessage()
func (*QueryAccountAddressByIDResponse) ProtoReflect ¶
func (x *QueryAccountAddressByIDResponse) ProtoReflect() protoreflect.Message
func (*QueryAccountAddressByIDResponse) Reset ¶
func (x *QueryAccountAddressByIDResponse) Reset()
func (*QueryAccountAddressByIDResponse) String ¶
func (x *QueryAccountAddressByIDResponse) String() string
type QueryAccountInfoRequest ¶ added in v0.2.2
type QueryAccountInfoRequest struct { // address is the account address string. Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` // contains filtered or unexported fields }
QueryAccountInfoRequest is the Query/AccountInfo request type.
func (*QueryAccountInfoRequest) Descriptor
deprecated
added in
v0.2.2
func (*QueryAccountInfoRequest) Descriptor() ([]byte, []int)
Deprecated: Use QueryAccountInfoRequest.ProtoReflect.Descriptor instead.
func (*QueryAccountInfoRequest) GetAddress ¶ added in v0.2.2
func (x *QueryAccountInfoRequest) GetAddress() string
func (*QueryAccountInfoRequest) ProtoMessage ¶ added in v0.2.2
func (*QueryAccountInfoRequest) ProtoMessage()
func (*QueryAccountInfoRequest) ProtoReflect ¶ added in v0.2.2
func (x *QueryAccountInfoRequest) ProtoReflect() protoreflect.Message
func (*QueryAccountInfoRequest) Reset ¶ added in v0.2.2
func (x *QueryAccountInfoRequest) Reset()
func (*QueryAccountInfoRequest) String ¶ added in v0.2.2
func (x *QueryAccountInfoRequest) String() string
type QueryAccountInfoResponse ¶ added in v0.2.2
type QueryAccountInfoResponse struct { // info is the account info which is represented by BaseAccount. Info *BaseAccount `protobuf:"bytes,1,opt,name=info,proto3" json:"info,omitempty"` // contains filtered or unexported fields }
QueryAccountInfoResponse is the Query/AccountInfo response type.
func (*QueryAccountInfoResponse) Descriptor
deprecated
added in
v0.2.2
func (*QueryAccountInfoResponse) Descriptor() ([]byte, []int)
Deprecated: Use QueryAccountInfoResponse.ProtoReflect.Descriptor instead.
func (*QueryAccountInfoResponse) GetInfo ¶ added in v0.2.2
func (x *QueryAccountInfoResponse) GetInfo() *BaseAccount
func (*QueryAccountInfoResponse) ProtoMessage ¶ added in v0.2.2
func (*QueryAccountInfoResponse) ProtoMessage()
func (*QueryAccountInfoResponse) ProtoReflect ¶ added in v0.2.2
func (x *QueryAccountInfoResponse) ProtoReflect() protoreflect.Message
func (*QueryAccountInfoResponse) Reset ¶ added in v0.2.2
func (x *QueryAccountInfoResponse) Reset()
func (*QueryAccountInfoResponse) String ¶ added in v0.2.2
func (x *QueryAccountInfoResponse) String() string
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.
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.
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. // When called from another module, this query might consume a high amount of // gas if the pagination field is incorrectly set. 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) // AccountAddressByID returns account address based on account number. AccountAddressByID(ctx context.Context, in *QueryAccountAddressByIDRequest, opts ...grpc.CallOption) (*QueryAccountAddressByIDResponse, error) // Params queries all parameters. Params(ctx context.Context, in *QueryParamsRequest, opts ...grpc.CallOption) (*QueryParamsResponse, error) // ModuleAccounts returns all the existing module accounts. ModuleAccounts(ctx context.Context, in *QueryModuleAccountsRequest, opts ...grpc.CallOption) (*QueryModuleAccountsResponse, error) // ModuleAccountByName returns the module account info by module name ModuleAccountByName(ctx context.Context, in *QueryModuleAccountByNameRequest, opts ...grpc.CallOption) (*QueryModuleAccountByNameResponse, error) // Bech32Prefix queries bech32Prefix Bech32Prefix(ctx context.Context, in *Bech32PrefixRequest, opts ...grpc.CallOption) (*Bech32PrefixResponse, error) // AddressBytesToString converts Account Address bytes to string AddressBytesToString(ctx context.Context, in *AddressBytesToStringRequest, opts ...grpc.CallOption) (*AddressBytesToStringResponse, error) // AddressStringToBytes converts Address string to bytes AddressStringToBytes(ctx context.Context, in *AddressStringToBytesRequest, opts ...grpc.CallOption) (*AddressStringToBytesResponse, error) // AccountInfo queries account info which is common to all account types. AccountInfo(ctx context.Context, in *QueryAccountInfoRequest, opts ...grpc.CallOption) (*QueryAccountInfoResponse, error) }
QueryClient is the client API for Query service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
Query defines the gRPC querier service.
func NewQueryClient ¶
func NewQueryClient(cc grpc.ClientConnInterface) QueryClient
type QueryLegacyAccount ¶
type QueryLegacyAccount struct {
// contains filtered or unexported fields
}
QueryLegacyAccount defines a query that can be implemented by an x/account to return an auth understandable representation of an account. This query is only used for accounts retro-compatibility at gRPC level, the state machine must not make any assumptions around this.
func (*QueryLegacyAccount) Descriptor
deprecated
func (*QueryLegacyAccount) Descriptor() ([]byte, []int)
Deprecated: Use QueryLegacyAccount.ProtoReflect.Descriptor instead.
func (*QueryLegacyAccount) ProtoMessage ¶
func (*QueryLegacyAccount) ProtoMessage()
func (*QueryLegacyAccount) ProtoReflect ¶
func (x *QueryLegacyAccount) ProtoReflect() protoreflect.Message
func (*QueryLegacyAccount) Reset ¶
func (x *QueryLegacyAccount) Reset()
func (*QueryLegacyAccount) String ¶
func (x *QueryLegacyAccount) String() string
type QueryLegacyAccountResponse ¶
type QueryLegacyAccountResponse struct { // account represents the google.Protobuf.Any wrapped account // the type wrapped by the any does not need to comply with the // sdk.AccountI interface. Account *anypb.Any `protobuf:"bytes,1,opt,name=account,proto3" json:"account,omitempty"` // base represents the account as a BaseAccount, this can return // nil if the account cannot be represented as a BaseAccount. // This is used in the gRPC QueryAccountInfo method. Base *BaseAccount `protobuf:"bytes,2,opt,name=base,proto3" json:"base,omitempty"` // contains filtered or unexported fields }
QueryLegacyAccountResponse defines the response type of the `QueryLegacyAccount` query.
func (*QueryLegacyAccountResponse) Descriptor
deprecated
func (*QueryLegacyAccountResponse) Descriptor() ([]byte, []int)
Deprecated: Use QueryLegacyAccountResponse.ProtoReflect.Descriptor instead.
func (*QueryLegacyAccountResponse) GetAccount ¶
func (x *QueryLegacyAccountResponse) GetAccount() *anypb.Any
func (*QueryLegacyAccountResponse) GetBase ¶
func (x *QueryLegacyAccountResponse) GetBase() *BaseAccount
func (*QueryLegacyAccountResponse) ProtoMessage ¶
func (*QueryLegacyAccountResponse) ProtoMessage()
func (*QueryLegacyAccountResponse) ProtoReflect ¶
func (x *QueryLegacyAccountResponse) ProtoReflect() protoreflect.Message
func (*QueryLegacyAccountResponse) Reset ¶
func (x *QueryLegacyAccountResponse) Reset()
func (*QueryLegacyAccountResponse) String ¶
func (x *QueryLegacyAccountResponse) String() string
type QueryModuleAccountByNameRequest ¶ added in v0.2.2
type QueryModuleAccountByNameRequest struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
QueryModuleAccountByNameRequest is the request type for the Query/ModuleAccountByName RPC method.
func (*QueryModuleAccountByNameRequest) Descriptor
deprecated
added in
v0.2.2
func (*QueryModuleAccountByNameRequest) Descriptor() ([]byte, []int)
Deprecated: Use QueryModuleAccountByNameRequest.ProtoReflect.Descriptor instead.
func (*QueryModuleAccountByNameRequest) GetName ¶ added in v0.2.2
func (x *QueryModuleAccountByNameRequest) GetName() string
func (*QueryModuleAccountByNameRequest) ProtoMessage ¶ added in v0.2.2
func (*QueryModuleAccountByNameRequest) ProtoMessage()
func (*QueryModuleAccountByNameRequest) ProtoReflect ¶ added in v0.2.2
func (x *QueryModuleAccountByNameRequest) ProtoReflect() protoreflect.Message
func (*QueryModuleAccountByNameRequest) Reset ¶ added in v0.2.2
func (x *QueryModuleAccountByNameRequest) Reset()
func (*QueryModuleAccountByNameRequest) String ¶ added in v0.2.2
func (x *QueryModuleAccountByNameRequest) String() string
type QueryModuleAccountByNameResponse ¶ added in v0.2.2
type QueryModuleAccountByNameResponse struct { Account *anypb.Any `protobuf:"bytes,1,opt,name=account,proto3" json:"account,omitempty"` // contains filtered or unexported fields }
QueryModuleAccountByNameResponse is the response type for the Query/ModuleAccountByName RPC method.
func (*QueryModuleAccountByNameResponse) Descriptor
deprecated
added in
v0.2.2
func (*QueryModuleAccountByNameResponse) Descriptor() ([]byte, []int)
Deprecated: Use QueryModuleAccountByNameResponse.ProtoReflect.Descriptor instead.
func (*QueryModuleAccountByNameResponse) GetAccount ¶ added in v0.2.2
func (x *QueryModuleAccountByNameResponse) GetAccount() *anypb.Any
func (*QueryModuleAccountByNameResponse) ProtoMessage ¶ added in v0.2.2
func (*QueryModuleAccountByNameResponse) ProtoMessage()
func (*QueryModuleAccountByNameResponse) ProtoReflect ¶ added in v0.2.2
func (x *QueryModuleAccountByNameResponse) ProtoReflect() protoreflect.Message
func (*QueryModuleAccountByNameResponse) Reset ¶ added in v0.2.2
func (x *QueryModuleAccountByNameResponse) Reset()
func (*QueryModuleAccountByNameResponse) String ¶ added in v0.2.2
func (x *QueryModuleAccountByNameResponse) String() string
type QueryModuleAccountsRequest ¶
type QueryModuleAccountsRequest struct {
// contains filtered or unexported fields
}
QueryModuleAccountsRequest is the request type for the Query/ModuleAccounts RPC method.
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.
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. // When called from another module, this query might consume a high amount of // gas if the pagination field is incorrectly set. Accounts(context.Context, *QueryAccountsRequest) (*QueryAccountsResponse, error) // Account returns account details based on address. Account(context.Context, *QueryAccountRequest) (*QueryAccountResponse, error) // AccountAddressByID returns account address based on account number. AccountAddressByID(context.Context, *QueryAccountAddressByIDRequest) (*QueryAccountAddressByIDResponse, error) // Params queries all parameters. Params(context.Context, *QueryParamsRequest) (*QueryParamsResponse, error) // ModuleAccounts returns all the existing module accounts. ModuleAccounts(context.Context, *QueryModuleAccountsRequest) (*QueryModuleAccountsResponse, error) // ModuleAccountByName returns the module account info by module name ModuleAccountByName(context.Context, *QueryModuleAccountByNameRequest) (*QueryModuleAccountByNameResponse, error) // Bech32Prefix queries bech32Prefix Bech32Prefix(context.Context, *Bech32PrefixRequest) (*Bech32PrefixResponse, error) // AddressBytesToString converts Account Address bytes to string AddressBytesToString(context.Context, *AddressBytesToStringRequest) (*AddressBytesToStringResponse, error) // AddressStringToBytes converts Address string to bytes AddressStringToBytes(context.Context, *AddressStringToBytesRequest) (*AddressStringToBytesResponse, error) // AccountInfo queries account info which is common to all account types. AccountInfo(context.Context, *QueryAccountInfoRequest) (*QueryAccountInfoResponse, error) // contains filtered or unexported methods }
QueryServer is the server API for Query service. All implementations must embed UnimplementedQueryServer for forward compatibility.
Query defines the gRPC querier service.
type UnimplementedMsgServer ¶
type UnimplementedMsgServer struct{}
UnimplementedMsgServer must be embedded to have forward compatible implementations.
NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.
func (UnimplementedMsgServer) MigrateAccount ¶
func (UnimplementedMsgServer) MigrateAccount(context.Context, *MsgMigrateAccount) (*MsgMigrateAccountResponse, error)
func (UnimplementedMsgServer) NonAtomicExec ¶
func (UnimplementedMsgServer) NonAtomicExec(context.Context, *MsgNonAtomicExec) (*MsgNonAtomicExecResponse, error)
func (UnimplementedMsgServer) UpdateParams ¶
func (UnimplementedMsgServer) UpdateParams(context.Context, *MsgUpdateParams) (*MsgUpdateParamsResponse, error)
type UnimplementedQueryServer ¶
type UnimplementedQueryServer struct{}
UnimplementedQueryServer must be embedded to have forward compatible implementations.
NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.
func (UnimplementedQueryServer) Account ¶
func (UnimplementedQueryServer) Account(context.Context, *QueryAccountRequest) (*QueryAccountResponse, error)
func (UnimplementedQueryServer) AccountAddressByID ¶
func (UnimplementedQueryServer) AccountAddressByID(context.Context, *QueryAccountAddressByIDRequest) (*QueryAccountAddressByIDResponse, error)
func (UnimplementedQueryServer) AccountInfo ¶ added in v0.2.2
func (UnimplementedQueryServer) AccountInfo(context.Context, *QueryAccountInfoRequest) (*QueryAccountInfoResponse, 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) ModuleAccountByName ¶ added in v0.2.2
func (UnimplementedQueryServer) ModuleAccountByName(context.Context, *QueryModuleAccountByNameRequest) (*QueryModuleAccountByNameResponse, error)
func (UnimplementedQueryServer) ModuleAccounts ¶
func (UnimplementedQueryServer) ModuleAccounts(context.Context, *QueryModuleAccountsRequest) (*QueryModuleAccountsResponse, error)
func (UnimplementedQueryServer) Params ¶
func (UnimplementedQueryServer) Params(context.Context, *QueryParamsRequest) (*QueryParamsResponse, error)
type UnsafeMsgServer ¶
type UnsafeMsgServer interface {
// contains filtered or unexported methods
}
UnsafeMsgServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to MsgServer will result in compilation errors.
type UnsafeQueryServer ¶
type UnsafeQueryServer interface {
// contains filtered or unexported methods
}
UnsafeQueryServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to QueryServer will result in compilation errors.