Documentation ¶
Index ¶
- Constants
- Variables
- func RegisterStateQueryServiceServer(s grpc.ServiceRegistrar, srv StateQueryServiceServer)
- type Account
- func (*Account) Descriptor() ([]byte, []int)deprecated
- func (x *Account) GetAddress() string
- func (x *Account) GetChainId() string
- func (x *Account) GetCoinType() CoinType
- func (x *Account) GetController() string
- func (x *Account) GetNetwork() string
- func (x *Account) GetPublicKey() []byte
- func (x *Account) GetSequence() uint64
- func (*Account) ProtoMessage()
- func (x *Account) ProtoReflect() protoreflect.Message
- func (x *Account) Reset()
- func (x *Account) String() string
- type AccountAddressIndexKey
- type AccountIndexKey
- type AccountIterator
- type AccountPrimaryKey
- type AccountPublicKeyIndexKey
- type AccountSequenceIndexKey
- type AccountTable
- type Accumulator
- func (*Accumulator) Descriptor() ([]byte, []int)deprecated
- func (x *Accumulator) GetController() string
- func (x *Accumulator) GetIndex() uint64
- func (x *Accumulator) GetKey() string
- func (x *Accumulator) GetValue() string
- func (*Accumulator) ProtoMessage()
- func (x *Accumulator) ProtoReflect() protoreflect.Message
- func (x *Accumulator) Reset()
- func (x *Accumulator) String() string
- type AccumulatorControllerKeyIndexKey
- type AccumulatorIndexIndexKey
- type AccumulatorIndexKey
- type AccumulatorIterator
- type AccumulatorPrimaryKey
- type AccumulatorTable
- type Blockchain
- func (*Blockchain) Descriptor() ([]byte, []int)deprecated
- func (x *Blockchain) GetChainCode() uint32
- func (x *Blockchain) GetChainId() string
- func (x *Blockchain) GetChannelId() string
- func (x *Blockchain) GetDenoms() []string
- func (x *Blockchain) GetDidMethod() string
- func (x *Blockchain) GetHrp() string
- func (x *Blockchain) GetIndex() uint64
- func (x *Blockchain) GetName() string
- func (*Blockchain) ProtoMessage()
- func (x *Blockchain) ProtoReflect() protoreflect.Message
- func (x *Blockchain) Reset()
- func (x *Blockchain) String() string
- type BlockchainChainIdIndexKey
- type BlockchainIndexIndexKey
- type BlockchainIndexKey
- type BlockchainIterator
- type BlockchainNameIndexKey
- type BlockchainPrimaryKey
- type BlockchainTable
- type CoinType
- type Controller
- func (*Controller) Descriptor() ([]byte, []int)deprecated
- func (x *Controller) GetAccumulatorKey() []byte
- func (x *Controller) GetAddress() string
- func (x *Controller) GetChainId() string
- func (x *Controller) GetIpns() string
- func (x *Controller) GetNetwork() string
- func (x *Controller) GetPeerId() string
- func (x *Controller) GetPublicKey() []byte
- func (x *Controller) GetSequence() uint64
- func (*Controller) ProtoMessage()
- func (x *Controller) ProtoReflect() protoreflect.Message
- func (x *Controller) Reset()
- func (x *Controller) String() string
- type ControllerAddressIndexKey
- type ControllerIndexKey
- type ControllerIpnsIndexKey
- type ControllerIterator
- type ControllerPeerIdIndexKey
- type ControllerPrimaryKey
- type ControllerPublicKeyIndexKey
- type ControllerSequenceIndexKey
- type ControllerTable
- type GetAccountByAddressRequest
- func (*GetAccountByAddressRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetAccountByAddressRequest) GetAddress() string
- func (*GetAccountByAddressRequest) ProtoMessage()
- func (x *GetAccountByAddressRequest) ProtoReflect() protoreflect.Message
- func (x *GetAccountByAddressRequest) Reset()
- func (x *GetAccountByAddressRequest) String() string
- type GetAccountByAddressResponse
- func (*GetAccountByAddressResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetAccountByAddressResponse) GetValue() *Account
- func (*GetAccountByAddressResponse) ProtoMessage()
- func (x *GetAccountByAddressResponse) ProtoReflect() protoreflect.Message
- func (x *GetAccountByAddressResponse) Reset()
- func (x *GetAccountByAddressResponse) String() string
- type GetAccountByPublicKeyRequest
- func (*GetAccountByPublicKeyRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetAccountByPublicKeyRequest) GetPublicKey() []byte
- func (*GetAccountByPublicKeyRequest) ProtoMessage()
- func (x *GetAccountByPublicKeyRequest) ProtoReflect() protoreflect.Message
- func (x *GetAccountByPublicKeyRequest) Reset()
- func (x *GetAccountByPublicKeyRequest) String() string
- type GetAccountByPublicKeyResponse
- func (*GetAccountByPublicKeyResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetAccountByPublicKeyResponse) GetValue() *Account
- func (*GetAccountByPublicKeyResponse) ProtoMessage()
- func (x *GetAccountByPublicKeyResponse) ProtoReflect() protoreflect.Message
- func (x *GetAccountByPublicKeyResponse) Reset()
- func (x *GetAccountByPublicKeyResponse) String() string
- type GetAccountRequest
- type GetAccountResponse
- func (*GetAccountResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetAccountResponse) GetValue() *Account
- func (*GetAccountResponse) ProtoMessage()
- func (x *GetAccountResponse) ProtoReflect() protoreflect.Message
- func (x *GetAccountResponse) Reset()
- func (x *GetAccountResponse) String() string
- type GetAccumulatorByControllerKeyRequest
- func (*GetAccumulatorByControllerKeyRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetAccumulatorByControllerKeyRequest) GetController() string
- func (x *GetAccumulatorByControllerKeyRequest) GetKey() string
- func (*GetAccumulatorByControllerKeyRequest) ProtoMessage()
- func (x *GetAccumulatorByControllerKeyRequest) ProtoReflect() protoreflect.Message
- func (x *GetAccumulatorByControllerKeyRequest) Reset()
- func (x *GetAccumulatorByControllerKeyRequest) String() string
- type GetAccumulatorByControllerKeyResponse
- func (*GetAccumulatorByControllerKeyResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetAccumulatorByControllerKeyResponse) GetValue() *Accumulator
- func (*GetAccumulatorByControllerKeyResponse) ProtoMessage()
- func (x *GetAccumulatorByControllerKeyResponse) ProtoReflect() protoreflect.Message
- func (x *GetAccumulatorByControllerKeyResponse) Reset()
- func (x *GetAccumulatorByControllerKeyResponse) String() string
- type GetAccumulatorRequest
- func (*GetAccumulatorRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetAccumulatorRequest) GetIndex() uint64
- func (*GetAccumulatorRequest) ProtoMessage()
- func (x *GetAccumulatorRequest) ProtoReflect() protoreflect.Message
- func (x *GetAccumulatorRequest) Reset()
- func (x *GetAccumulatorRequest) String() string
- type GetAccumulatorResponse
- func (*GetAccumulatorResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetAccumulatorResponse) GetValue() *Accumulator
- func (*GetAccumulatorResponse) ProtoMessage()
- func (x *GetAccumulatorResponse) ProtoReflect() protoreflect.Message
- func (x *GetAccumulatorResponse) Reset()
- func (x *GetAccumulatorResponse) String() string
- type GetBlockchainByChainIdRequest
- func (*GetBlockchainByChainIdRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetBlockchainByChainIdRequest) GetChainId() string
- func (*GetBlockchainByChainIdRequest) ProtoMessage()
- func (x *GetBlockchainByChainIdRequest) ProtoReflect() protoreflect.Message
- func (x *GetBlockchainByChainIdRequest) Reset()
- func (x *GetBlockchainByChainIdRequest) String() string
- type GetBlockchainByChainIdResponse
- func (*GetBlockchainByChainIdResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetBlockchainByChainIdResponse) GetValue() *Blockchain
- func (*GetBlockchainByChainIdResponse) ProtoMessage()
- func (x *GetBlockchainByChainIdResponse) ProtoReflect() protoreflect.Message
- func (x *GetBlockchainByChainIdResponse) Reset()
- func (x *GetBlockchainByChainIdResponse) String() string
- type GetBlockchainByNameRequest
- func (*GetBlockchainByNameRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetBlockchainByNameRequest) GetName() string
- func (*GetBlockchainByNameRequest) ProtoMessage()
- func (x *GetBlockchainByNameRequest) ProtoReflect() protoreflect.Message
- func (x *GetBlockchainByNameRequest) Reset()
- func (x *GetBlockchainByNameRequest) String() string
- type GetBlockchainByNameResponse
- func (*GetBlockchainByNameResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetBlockchainByNameResponse) GetValue() *Blockchain
- func (*GetBlockchainByNameResponse) ProtoMessage()
- func (x *GetBlockchainByNameResponse) ProtoReflect() protoreflect.Message
- func (x *GetBlockchainByNameResponse) Reset()
- func (x *GetBlockchainByNameResponse) String() string
- type GetBlockchainRequest
- func (*GetBlockchainRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetBlockchainRequest) GetIndex() uint64
- func (*GetBlockchainRequest) ProtoMessage()
- func (x *GetBlockchainRequest) ProtoReflect() protoreflect.Message
- func (x *GetBlockchainRequest) Reset()
- func (x *GetBlockchainRequest) String() string
- type GetBlockchainResponse
- func (*GetBlockchainResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetBlockchainResponse) GetValue() *Blockchain
- func (*GetBlockchainResponse) ProtoMessage()
- func (x *GetBlockchainResponse) ProtoReflect() protoreflect.Message
- func (x *GetBlockchainResponse) Reset()
- func (x *GetBlockchainResponse) String() string
- type GetControllerByAddressRequest
- func (*GetControllerByAddressRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetControllerByAddressRequest) GetAddress() string
- func (*GetControllerByAddressRequest) ProtoMessage()
- func (x *GetControllerByAddressRequest) ProtoReflect() protoreflect.Message
- func (x *GetControllerByAddressRequest) Reset()
- func (x *GetControllerByAddressRequest) String() string
- type GetControllerByAddressResponse
- func (*GetControllerByAddressResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetControllerByAddressResponse) GetValue() *Controller
- func (*GetControllerByAddressResponse) ProtoMessage()
- func (x *GetControllerByAddressResponse) ProtoReflect() protoreflect.Message
- func (x *GetControllerByAddressResponse) Reset()
- func (x *GetControllerByAddressResponse) String() string
- type GetControllerByIpnsRequest
- func (*GetControllerByIpnsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetControllerByIpnsRequest) GetIpns() string
- func (*GetControllerByIpnsRequest) ProtoMessage()
- func (x *GetControllerByIpnsRequest) ProtoReflect() protoreflect.Message
- func (x *GetControllerByIpnsRequest) Reset()
- func (x *GetControllerByIpnsRequest) String() string
- type GetControllerByIpnsResponse
- func (*GetControllerByIpnsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetControllerByIpnsResponse) GetValue() *Controller
- func (*GetControllerByIpnsResponse) ProtoMessage()
- func (x *GetControllerByIpnsResponse) ProtoReflect() protoreflect.Message
- func (x *GetControllerByIpnsResponse) Reset()
- func (x *GetControllerByIpnsResponse) String() string
- type GetControllerByPeerIdRequest
- func (*GetControllerByPeerIdRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetControllerByPeerIdRequest) GetPeerId() string
- func (*GetControllerByPeerIdRequest) ProtoMessage()
- func (x *GetControllerByPeerIdRequest) ProtoReflect() protoreflect.Message
- func (x *GetControllerByPeerIdRequest) Reset()
- func (x *GetControllerByPeerIdRequest) String() string
- type GetControllerByPeerIdResponse
- func (*GetControllerByPeerIdResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetControllerByPeerIdResponse) GetValue() *Controller
- func (*GetControllerByPeerIdResponse) ProtoMessage()
- func (x *GetControllerByPeerIdResponse) ProtoReflect() protoreflect.Message
- func (x *GetControllerByPeerIdResponse) Reset()
- func (x *GetControllerByPeerIdResponse) String() string
- type GetControllerByPublicKeyRequest
- func (*GetControllerByPublicKeyRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetControllerByPublicKeyRequest) GetPublicKey() []byte
- func (*GetControllerByPublicKeyRequest) ProtoMessage()
- func (x *GetControllerByPublicKeyRequest) ProtoReflect() protoreflect.Message
- func (x *GetControllerByPublicKeyRequest) Reset()
- func (x *GetControllerByPublicKeyRequest) String() string
- type GetControllerByPublicKeyResponse
- func (*GetControllerByPublicKeyResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetControllerByPublicKeyResponse) GetValue() *Controller
- func (*GetControllerByPublicKeyResponse) ProtoMessage()
- func (x *GetControllerByPublicKeyResponse) ProtoReflect() protoreflect.Message
- func (x *GetControllerByPublicKeyResponse) Reset()
- func (x *GetControllerByPublicKeyResponse) String() string
- type GetControllerRequest
- func (*GetControllerRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetControllerRequest) GetSequence() uint64
- func (*GetControllerRequest) ProtoMessage()
- func (x *GetControllerRequest) ProtoReflect() protoreflect.Message
- func (x *GetControllerRequest) Reset()
- func (x *GetControllerRequest) String() string
- type GetControllerResponse
- func (*GetControllerResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetControllerResponse) GetValue() *Controller
- func (*GetControllerResponse) ProtoMessage()
- func (x *GetControllerResponse) ProtoReflect() protoreflect.Message
- func (x *GetControllerResponse) Reset()
- func (x *GetControllerResponse) String() string
- type ListAccountRequest
- func (*ListAccountRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListAccountRequest) GetPagination() *v1beta1.PageRequest
- func (x *ListAccountRequest) GetPrefixQuery() *ListAccountRequest_IndexKey
- func (m *ListAccountRequest) GetQuery() isListAccountRequest_Query
- func (x *ListAccountRequest) GetRangeQuery() *ListAccountRequest_RangeQuery
- func (*ListAccountRequest) ProtoMessage()
- func (x *ListAccountRequest) ProtoReflect() protoreflect.Message
- func (x *ListAccountRequest) Reset()
- func (x *ListAccountRequest) String() string
- type ListAccountRequest_IndexKey
- func (*ListAccountRequest_IndexKey) Descriptor() ([]byte, []int)deprecated
- func (x *ListAccountRequest_IndexKey) GetAddress() *ListAccountRequest_IndexKey_Address
- func (m *ListAccountRequest_IndexKey) GetKey() isListAccountRequest_IndexKey_Key
- func (x *ListAccountRequest_IndexKey) GetPublicKey() *ListAccountRequest_IndexKey_PublicKey
- func (x *ListAccountRequest_IndexKey) GetSequence() *ListAccountRequest_IndexKey_Sequence
- func (*ListAccountRequest_IndexKey) ProtoMessage()
- func (x *ListAccountRequest_IndexKey) ProtoReflect() protoreflect.Message
- func (x *ListAccountRequest_IndexKey) Reset()
- func (x *ListAccountRequest_IndexKey) String() string
- type ListAccountRequest_IndexKey_Address
- func (*ListAccountRequest_IndexKey_Address) Descriptor() ([]byte, []int)deprecated
- func (x *ListAccountRequest_IndexKey_Address) GetAddress() string
- func (*ListAccountRequest_IndexKey_Address) ProtoMessage()
- func (x *ListAccountRequest_IndexKey_Address) ProtoReflect() protoreflect.Message
- func (x *ListAccountRequest_IndexKey_Address) Reset()
- func (x *ListAccountRequest_IndexKey_Address) String() string
- type ListAccountRequest_IndexKey_Address_
- type ListAccountRequest_IndexKey_PublicKey
- func (*ListAccountRequest_IndexKey_PublicKey) Descriptor() ([]byte, []int)deprecated
- func (x *ListAccountRequest_IndexKey_PublicKey) GetPublicKey() []byte
- func (*ListAccountRequest_IndexKey_PublicKey) ProtoMessage()
- func (x *ListAccountRequest_IndexKey_PublicKey) ProtoReflect() protoreflect.Message
- func (x *ListAccountRequest_IndexKey_PublicKey) Reset()
- func (x *ListAccountRequest_IndexKey_PublicKey) String() string
- type ListAccountRequest_IndexKey_PublicKey_
- type ListAccountRequest_IndexKey_Sequence
- func (*ListAccountRequest_IndexKey_Sequence) Descriptor() ([]byte, []int)deprecated
- func (x *ListAccountRequest_IndexKey_Sequence) GetSequence() uint64
- func (*ListAccountRequest_IndexKey_Sequence) ProtoMessage()
- func (x *ListAccountRequest_IndexKey_Sequence) ProtoReflect() protoreflect.Message
- func (x *ListAccountRequest_IndexKey_Sequence) Reset()
- func (x *ListAccountRequest_IndexKey_Sequence) String() string
- type ListAccountRequest_IndexKey_Sequence_
- type ListAccountRequest_PrefixQuery
- type ListAccountRequest_RangeQuery
- func (*ListAccountRequest_RangeQuery) Descriptor() ([]byte, []int)deprecated
- func (x *ListAccountRequest_RangeQuery) GetFrom() *ListAccountRequest_IndexKey
- func (x *ListAccountRequest_RangeQuery) GetTo() *ListAccountRequest_IndexKey
- func (*ListAccountRequest_RangeQuery) ProtoMessage()
- func (x *ListAccountRequest_RangeQuery) ProtoReflect() protoreflect.Message
- func (x *ListAccountRequest_RangeQuery) Reset()
- func (x *ListAccountRequest_RangeQuery) String() string
- type ListAccountRequest_RangeQuery_
- type ListAccountResponse
- func (*ListAccountResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListAccountResponse) GetPagination() *v1beta1.PageResponse
- func (x *ListAccountResponse) GetValues() []*Account
- func (*ListAccountResponse) ProtoMessage()
- func (x *ListAccountResponse) ProtoReflect() protoreflect.Message
- func (x *ListAccountResponse) Reset()
- func (x *ListAccountResponse) String() string
- type ListAccumulatorRequest
- func (*ListAccumulatorRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListAccumulatorRequest) GetPagination() *v1beta1.PageRequest
- func (x *ListAccumulatorRequest) GetPrefixQuery() *ListAccumulatorRequest_IndexKey
- func (m *ListAccumulatorRequest) GetQuery() isListAccumulatorRequest_Query
- func (x *ListAccumulatorRequest) GetRangeQuery() *ListAccumulatorRequest_RangeQuery
- func (*ListAccumulatorRequest) ProtoMessage()
- func (x *ListAccumulatorRequest) ProtoReflect() protoreflect.Message
- func (x *ListAccumulatorRequest) Reset()
- func (x *ListAccumulatorRequest) String() string
- type ListAccumulatorRequest_IndexKey
- func (*ListAccumulatorRequest_IndexKey) Descriptor() ([]byte, []int)deprecated
- func (x *ListAccumulatorRequest_IndexKey) GetControllerKey() *ListAccumulatorRequest_IndexKey_ControllerKey
- func (x *ListAccumulatorRequest_IndexKey) GetIndex() *ListAccumulatorRequest_IndexKey_Index
- func (m *ListAccumulatorRequest_IndexKey) GetKey() isListAccumulatorRequest_IndexKey_Key
- func (*ListAccumulatorRequest_IndexKey) ProtoMessage()
- func (x *ListAccumulatorRequest_IndexKey) ProtoReflect() protoreflect.Message
- func (x *ListAccumulatorRequest_IndexKey) Reset()
- func (x *ListAccumulatorRequest_IndexKey) String() string
- type ListAccumulatorRequest_IndexKey_ControllerKey
- func (*ListAccumulatorRequest_IndexKey_ControllerKey) Descriptor() ([]byte, []int)deprecated
- func (x *ListAccumulatorRequest_IndexKey_ControllerKey) GetController() string
- func (x *ListAccumulatorRequest_IndexKey_ControllerKey) GetKey() string
- func (*ListAccumulatorRequest_IndexKey_ControllerKey) ProtoMessage()
- func (x *ListAccumulatorRequest_IndexKey_ControllerKey) ProtoReflect() protoreflect.Message
- func (x *ListAccumulatorRequest_IndexKey_ControllerKey) Reset()
- func (x *ListAccumulatorRequest_IndexKey_ControllerKey) String() string
- type ListAccumulatorRequest_IndexKey_ControllerKey_
- type ListAccumulatorRequest_IndexKey_Index
- func (*ListAccumulatorRequest_IndexKey_Index) Descriptor() ([]byte, []int)deprecated
- func (x *ListAccumulatorRequest_IndexKey_Index) GetIndex() uint64
- func (*ListAccumulatorRequest_IndexKey_Index) ProtoMessage()
- func (x *ListAccumulatorRequest_IndexKey_Index) ProtoReflect() protoreflect.Message
- func (x *ListAccumulatorRequest_IndexKey_Index) Reset()
- func (x *ListAccumulatorRequest_IndexKey_Index) String() string
- type ListAccumulatorRequest_IndexKey_Index_
- type ListAccumulatorRequest_PrefixQuery
- type ListAccumulatorRequest_RangeQuery
- func (*ListAccumulatorRequest_RangeQuery) Descriptor() ([]byte, []int)deprecated
- func (x *ListAccumulatorRequest_RangeQuery) GetFrom() *ListAccumulatorRequest_IndexKey
- func (x *ListAccumulatorRequest_RangeQuery) GetTo() *ListAccumulatorRequest_IndexKey
- func (*ListAccumulatorRequest_RangeQuery) ProtoMessage()
- func (x *ListAccumulatorRequest_RangeQuery) ProtoReflect() protoreflect.Message
- func (x *ListAccumulatorRequest_RangeQuery) Reset()
- func (x *ListAccumulatorRequest_RangeQuery) String() string
- type ListAccumulatorRequest_RangeQuery_
- type ListAccumulatorResponse
- func (*ListAccumulatorResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListAccumulatorResponse) GetPagination() *v1beta1.PageResponse
- func (x *ListAccumulatorResponse) GetValues() []*Accumulator
- func (*ListAccumulatorResponse) ProtoMessage()
- func (x *ListAccumulatorResponse) ProtoReflect() protoreflect.Message
- func (x *ListAccumulatorResponse) Reset()
- func (x *ListAccumulatorResponse) String() string
- type ListBlockchainRequest
- func (*ListBlockchainRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListBlockchainRequest) GetPagination() *v1beta1.PageRequest
- func (x *ListBlockchainRequest) GetPrefixQuery() *ListBlockchainRequest_IndexKey
- func (m *ListBlockchainRequest) GetQuery() isListBlockchainRequest_Query
- func (x *ListBlockchainRequest) GetRangeQuery() *ListBlockchainRequest_RangeQuery
- func (*ListBlockchainRequest) ProtoMessage()
- func (x *ListBlockchainRequest) ProtoReflect() protoreflect.Message
- func (x *ListBlockchainRequest) Reset()
- func (x *ListBlockchainRequest) String() string
- type ListBlockchainRequest_IndexKey
- func (*ListBlockchainRequest_IndexKey) Descriptor() ([]byte, []int)deprecated
- func (x *ListBlockchainRequest_IndexKey) GetChainId() *ListBlockchainRequest_IndexKey_ChainId
- func (x *ListBlockchainRequest_IndexKey) GetIndex() *ListBlockchainRequest_IndexKey_Index
- func (m *ListBlockchainRequest_IndexKey) GetKey() isListBlockchainRequest_IndexKey_Key
- func (x *ListBlockchainRequest_IndexKey) GetName() *ListBlockchainRequest_IndexKey_Name
- func (*ListBlockchainRequest_IndexKey) ProtoMessage()
- func (x *ListBlockchainRequest_IndexKey) ProtoReflect() protoreflect.Message
- func (x *ListBlockchainRequest_IndexKey) Reset()
- func (x *ListBlockchainRequest_IndexKey) String() string
- type ListBlockchainRequest_IndexKey_ChainId
- func (*ListBlockchainRequest_IndexKey_ChainId) Descriptor() ([]byte, []int)deprecated
- func (x *ListBlockchainRequest_IndexKey_ChainId) GetChainId() string
- func (*ListBlockchainRequest_IndexKey_ChainId) ProtoMessage()
- func (x *ListBlockchainRequest_IndexKey_ChainId) ProtoReflect() protoreflect.Message
- func (x *ListBlockchainRequest_IndexKey_ChainId) Reset()
- func (x *ListBlockchainRequest_IndexKey_ChainId) String() string
- type ListBlockchainRequest_IndexKey_ChainId_
- type ListBlockchainRequest_IndexKey_Index
- func (*ListBlockchainRequest_IndexKey_Index) Descriptor() ([]byte, []int)deprecated
- func (x *ListBlockchainRequest_IndexKey_Index) GetIndex() uint64
- func (*ListBlockchainRequest_IndexKey_Index) ProtoMessage()
- func (x *ListBlockchainRequest_IndexKey_Index) ProtoReflect() protoreflect.Message
- func (x *ListBlockchainRequest_IndexKey_Index) Reset()
- func (x *ListBlockchainRequest_IndexKey_Index) String() string
- type ListBlockchainRequest_IndexKey_Index_
- type ListBlockchainRequest_IndexKey_Name
- func (*ListBlockchainRequest_IndexKey_Name) Descriptor() ([]byte, []int)deprecated
- func (x *ListBlockchainRequest_IndexKey_Name) GetName() string
- func (*ListBlockchainRequest_IndexKey_Name) ProtoMessage()
- func (x *ListBlockchainRequest_IndexKey_Name) ProtoReflect() protoreflect.Message
- func (x *ListBlockchainRequest_IndexKey_Name) Reset()
- func (x *ListBlockchainRequest_IndexKey_Name) String() string
- type ListBlockchainRequest_IndexKey_Name_
- type ListBlockchainRequest_PrefixQuery
- type ListBlockchainRequest_RangeQuery
- func (*ListBlockchainRequest_RangeQuery) Descriptor() ([]byte, []int)deprecated
- func (x *ListBlockchainRequest_RangeQuery) GetFrom() *ListBlockchainRequest_IndexKey
- func (x *ListBlockchainRequest_RangeQuery) GetTo() *ListBlockchainRequest_IndexKey
- func (*ListBlockchainRequest_RangeQuery) ProtoMessage()
- func (x *ListBlockchainRequest_RangeQuery) ProtoReflect() protoreflect.Message
- func (x *ListBlockchainRequest_RangeQuery) Reset()
- func (x *ListBlockchainRequest_RangeQuery) String() string
- type ListBlockchainRequest_RangeQuery_
- type ListBlockchainResponse
- func (*ListBlockchainResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListBlockchainResponse) GetPagination() *v1beta1.PageResponse
- func (x *ListBlockchainResponse) GetValues() []*Blockchain
- func (*ListBlockchainResponse) ProtoMessage()
- func (x *ListBlockchainResponse) ProtoReflect() protoreflect.Message
- func (x *ListBlockchainResponse) Reset()
- func (x *ListBlockchainResponse) String() string
- type ListControllerRequest
- func (*ListControllerRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListControllerRequest) GetPagination() *v1beta1.PageRequest
- func (x *ListControllerRequest) GetPrefixQuery() *ListControllerRequest_IndexKey
- func (m *ListControllerRequest) GetQuery() isListControllerRequest_Query
- func (x *ListControllerRequest) GetRangeQuery() *ListControllerRequest_RangeQuery
- func (*ListControllerRequest) ProtoMessage()
- func (x *ListControllerRequest) ProtoReflect() protoreflect.Message
- func (x *ListControllerRequest) Reset()
- func (x *ListControllerRequest) String() string
- type ListControllerRequest_IndexKey
- func (*ListControllerRequest_IndexKey) Descriptor() ([]byte, []int)deprecated
- func (x *ListControllerRequest_IndexKey) GetAddress() *ListControllerRequest_IndexKey_Address
- func (x *ListControllerRequest_IndexKey) GetIpns() *ListControllerRequest_IndexKey_Ipns
- func (m *ListControllerRequest_IndexKey) GetKey() isListControllerRequest_IndexKey_Key
- func (x *ListControllerRequest_IndexKey) GetPeerId() *ListControllerRequest_IndexKey_PeerId
- func (x *ListControllerRequest_IndexKey) GetPublicKey() *ListControllerRequest_IndexKey_PublicKey
- func (x *ListControllerRequest_IndexKey) GetSequence() *ListControllerRequest_IndexKey_Sequence
- func (*ListControllerRequest_IndexKey) ProtoMessage()
- func (x *ListControllerRequest_IndexKey) ProtoReflect() protoreflect.Message
- func (x *ListControllerRequest_IndexKey) Reset()
- func (x *ListControllerRequest_IndexKey) String() string
- type ListControllerRequest_IndexKey_Address
- func (*ListControllerRequest_IndexKey_Address) Descriptor() ([]byte, []int)deprecated
- func (x *ListControllerRequest_IndexKey_Address) GetAddress() string
- func (*ListControllerRequest_IndexKey_Address) ProtoMessage()
- func (x *ListControllerRequest_IndexKey_Address) ProtoReflect() protoreflect.Message
- func (x *ListControllerRequest_IndexKey_Address) Reset()
- func (x *ListControllerRequest_IndexKey_Address) String() string
- type ListControllerRequest_IndexKey_Address_
- type ListControllerRequest_IndexKey_Ipns
- func (*ListControllerRequest_IndexKey_Ipns) Descriptor() ([]byte, []int)deprecated
- func (x *ListControllerRequest_IndexKey_Ipns) GetIpns() string
- func (*ListControllerRequest_IndexKey_Ipns) ProtoMessage()
- func (x *ListControllerRequest_IndexKey_Ipns) ProtoReflect() protoreflect.Message
- func (x *ListControllerRequest_IndexKey_Ipns) Reset()
- func (x *ListControllerRequest_IndexKey_Ipns) String() string
- type ListControllerRequest_IndexKey_Ipns_
- type ListControllerRequest_IndexKey_PeerId
- func (*ListControllerRequest_IndexKey_PeerId) Descriptor() ([]byte, []int)deprecated
- func (x *ListControllerRequest_IndexKey_PeerId) GetPeerId() string
- func (*ListControllerRequest_IndexKey_PeerId) ProtoMessage()
- func (x *ListControllerRequest_IndexKey_PeerId) ProtoReflect() protoreflect.Message
- func (x *ListControllerRequest_IndexKey_PeerId) Reset()
- func (x *ListControllerRequest_IndexKey_PeerId) String() string
- type ListControllerRequest_IndexKey_PeerId_
- type ListControllerRequest_IndexKey_PublicKey
- func (*ListControllerRequest_IndexKey_PublicKey) Descriptor() ([]byte, []int)deprecated
- func (x *ListControllerRequest_IndexKey_PublicKey) GetPublicKey() []byte
- func (*ListControllerRequest_IndexKey_PublicKey) ProtoMessage()
- func (x *ListControllerRequest_IndexKey_PublicKey) ProtoReflect() protoreflect.Message
- func (x *ListControllerRequest_IndexKey_PublicKey) Reset()
- func (x *ListControllerRequest_IndexKey_PublicKey) String() string
- type ListControllerRequest_IndexKey_PublicKey_
- type ListControllerRequest_IndexKey_Sequence
- func (*ListControllerRequest_IndexKey_Sequence) Descriptor() ([]byte, []int)deprecated
- func (x *ListControllerRequest_IndexKey_Sequence) GetSequence() uint64
- func (*ListControllerRequest_IndexKey_Sequence) ProtoMessage()
- func (x *ListControllerRequest_IndexKey_Sequence) ProtoReflect() protoreflect.Message
- func (x *ListControllerRequest_IndexKey_Sequence) Reset()
- func (x *ListControllerRequest_IndexKey_Sequence) String() string
- type ListControllerRequest_IndexKey_Sequence_
- type ListControllerRequest_PrefixQuery
- type ListControllerRequest_RangeQuery
- func (*ListControllerRequest_RangeQuery) Descriptor() ([]byte, []int)deprecated
- func (x *ListControllerRequest_RangeQuery) GetFrom() *ListControllerRequest_IndexKey
- func (x *ListControllerRequest_RangeQuery) GetTo() *ListControllerRequest_IndexKey
- func (*ListControllerRequest_RangeQuery) ProtoMessage()
- func (x *ListControllerRequest_RangeQuery) ProtoReflect() protoreflect.Message
- func (x *ListControllerRequest_RangeQuery) Reset()
- func (x *ListControllerRequest_RangeQuery) String() string
- type ListControllerRequest_RangeQuery_
- type ListControllerResponse
- func (*ListControllerResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListControllerResponse) GetPagination() *v1beta1.PageResponse
- func (x *ListControllerResponse) GetValues() []*Controller
- func (*ListControllerResponse) ProtoMessage()
- func (x *ListControllerResponse) ProtoReflect() protoreflect.Message
- func (x *ListControllerResponse) Reset()
- func (x *ListControllerResponse) String() string
- type Module
- type State
- type StateQueryServiceClient
- type StateQueryServiceServer
- type StateStore
- type UnimplementedStateQueryServiceServer
- func (UnimplementedStateQueryServiceServer) GetAccount(context.Context, *GetAccountRequest) (*GetAccountResponse, error)
- func (UnimplementedStateQueryServiceServer) GetAccountByAddress(context.Context, *GetAccountByAddressRequest) (*GetAccountByAddressResponse, error)
- func (UnimplementedStateQueryServiceServer) GetAccountByPublicKey(context.Context, *GetAccountByPublicKeyRequest) (*GetAccountByPublicKeyResponse, error)
- func (UnimplementedStateQueryServiceServer) GetAccumulator(context.Context, *GetAccumulatorRequest) (*GetAccumulatorResponse, error)
- func (UnimplementedStateQueryServiceServer) GetAccumulatorByControllerKey(context.Context, *GetAccumulatorByControllerKeyRequest) (*GetAccumulatorByControllerKeyResponse, error)
- func (UnimplementedStateQueryServiceServer) GetBlockchain(context.Context, *GetBlockchainRequest) (*GetBlockchainResponse, error)
- func (UnimplementedStateQueryServiceServer) GetBlockchainByChainId(context.Context, *GetBlockchainByChainIdRequest) (*GetBlockchainByChainIdResponse, error)
- func (UnimplementedStateQueryServiceServer) GetBlockchainByName(context.Context, *GetBlockchainByNameRequest) (*GetBlockchainByNameResponse, error)
- func (UnimplementedStateQueryServiceServer) GetController(context.Context, *GetControllerRequest) (*GetControllerResponse, error)
- func (UnimplementedStateQueryServiceServer) GetControllerByAddress(context.Context, *GetControllerByAddressRequest) (*GetControllerByAddressResponse, error)
- func (UnimplementedStateQueryServiceServer) GetControllerByIpns(context.Context, *GetControllerByIpnsRequest) (*GetControllerByIpnsResponse, error)
- func (UnimplementedStateQueryServiceServer) GetControllerByPeerId(context.Context, *GetControllerByPeerIdRequest) (*GetControllerByPeerIdResponse, error)
- func (UnimplementedStateQueryServiceServer) GetControllerByPublicKey(context.Context, *GetControllerByPublicKeyRequest) (*GetControllerByPublicKeyResponse, error)
- func (UnimplementedStateQueryServiceServer) ListAccount(context.Context, *ListAccountRequest) (*ListAccountResponse, error)
- func (UnimplementedStateQueryServiceServer) ListAccumulator(context.Context, *ListAccumulatorRequest) (*ListAccumulatorResponse, error)
- func (UnimplementedStateQueryServiceServer) ListBlockchain(context.Context, *ListBlockchainRequest) (*ListBlockchainResponse, error)
- func (UnimplementedStateQueryServiceServer) ListController(context.Context, *ListControllerRequest) (*ListControllerResponse, error)
- type UnsafeStateQueryServiceServer
Constants ¶
const ( StateQueryService_GetAccount_FullMethodName = "/sonr.identity.module.v1.StateQueryService/GetAccount" StateQueryService_GetAccountByAddress_FullMethodName = "/sonr.identity.module.v1.StateQueryService/GetAccountByAddress" StateQueryService_GetAccountByPublicKey_FullMethodName = "/sonr.identity.module.v1.StateQueryService/GetAccountByPublicKey" StateQueryService_ListAccount_FullMethodName = "/sonr.identity.module.v1.StateQueryService/ListAccount" StateQueryService_GetBlockchain_FullMethodName = "/sonr.identity.module.v1.StateQueryService/GetBlockchain" StateQueryService_GetBlockchainByChainId_FullMethodName = "/sonr.identity.module.v1.StateQueryService/GetBlockchainByChainId" StateQueryService_GetBlockchainByName_FullMethodName = "/sonr.identity.module.v1.StateQueryService/GetBlockchainByName" StateQueryService_ListBlockchain_FullMethodName = "/sonr.identity.module.v1.StateQueryService/ListBlockchain" StateQueryService_GetAccumulator_FullMethodName = "/sonr.identity.module.v1.StateQueryService/GetAccumulator" StateQueryService_GetAccumulatorByControllerKey_FullMethodName = "/sonr.identity.module.v1.StateQueryService/GetAccumulatorByControllerKey" StateQueryService_ListAccumulator_FullMethodName = "/sonr.identity.module.v1.StateQueryService/ListAccumulator" StateQueryService_GetController_FullMethodName = "/sonr.identity.module.v1.StateQueryService/GetController" StateQueryService_GetControllerByAddress_FullMethodName = "/sonr.identity.module.v1.StateQueryService/GetControllerByAddress" StateQueryService_GetControllerByPublicKey_FullMethodName = "/sonr.identity.module.v1.StateQueryService/GetControllerByPublicKey" StateQueryService_GetControllerByPeerId_FullMethodName = "/sonr.identity.module.v1.StateQueryService/GetControllerByPeerId" StateQueryService_GetControllerByIpns_FullMethodName = "/sonr.identity.module.v1.StateQueryService/GetControllerByIpns" StateQueryService_ListController_FullMethodName = "/sonr.identity.module.v1.StateQueryService/ListController" )
Variables ¶
var ( CoinType_name = map[int32]string{ 0: "COIN_TYPE_UNSPECIFIED", 1: "COIN_TYPE_ATOM", 2: "COIN_TYPE_AXELAR", 3: "COIN_TYPE_BITCOIN", 4: "COIN_TYPE_ETHEREUM", 5: "COIN_TYPE_EVMOS", 6: "COIN_TYPE_FILECOIN", 7: "COIN_TYPE_JUNO", 8: "COIN_TYPE_OSMO", 9: "COIN_TYPE_SOLANA", 10: "COIN_TYPE_SONR", 11: "COIN_TYPE_STARGAZE", } CoinType_value = map[string]int32{ "COIN_TYPE_UNSPECIFIED": 0, "COIN_TYPE_ATOM": 1, "COIN_TYPE_AXELAR": 2, "COIN_TYPE_BITCOIN": 3, "COIN_TYPE_ETHEREUM": 4, "COIN_TYPE_EVMOS": 5, "COIN_TYPE_FILECOIN": 6, "COIN_TYPE_JUNO": 7, "COIN_TYPE_OSMO": 8, "COIN_TYPE_SOLANA": 9, "COIN_TYPE_SONR": 10, "COIN_TYPE_STARGAZE": 11, } )
Enum value maps for CoinType.
var File_sonr_identity_module_v1_module_proto protoreflect.FileDescriptor
var File_sonr_identity_module_v1_state_proto protoreflect.FileDescriptor
var File_sonr_identity_module_v1_state_query_proto protoreflect.FileDescriptor
var StateQueryService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "sonr.identity.module.v1.StateQueryService", HandlerType: (*StateQueryServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "GetAccount", Handler: _StateQueryService_GetAccount_Handler, }, { MethodName: "GetAccountByAddress", Handler: _StateQueryService_GetAccountByAddress_Handler, }, { MethodName: "GetAccountByPublicKey", Handler: _StateQueryService_GetAccountByPublicKey_Handler, }, { MethodName: "ListAccount", Handler: _StateQueryService_ListAccount_Handler, }, { MethodName: "GetBlockchain", Handler: _StateQueryService_GetBlockchain_Handler, }, { MethodName: "GetBlockchainByChainId", Handler: _StateQueryService_GetBlockchainByChainId_Handler, }, { MethodName: "GetBlockchainByName", Handler: _StateQueryService_GetBlockchainByName_Handler, }, { MethodName: "ListBlockchain", Handler: _StateQueryService_ListBlockchain_Handler, }, { MethodName: "GetAccumulator", Handler: _StateQueryService_GetAccumulator_Handler, }, { MethodName: "GetAccumulatorByControllerKey", Handler: _StateQueryService_GetAccumulatorByControllerKey_Handler, }, { MethodName: "ListAccumulator", Handler: _StateQueryService_ListAccumulator_Handler, }, { MethodName: "GetController", Handler: _StateQueryService_GetController_Handler, }, { MethodName: "GetControllerByAddress", Handler: _StateQueryService_GetControllerByAddress_Handler, }, { MethodName: "GetControllerByPublicKey", Handler: _StateQueryService_GetControllerByPublicKey_Handler, }, { MethodName: "GetControllerByPeerId", Handler: _StateQueryService_GetControllerByPeerId_Handler, }, { MethodName: "GetControllerByIpns", Handler: _StateQueryService_GetControllerByIpns_Handler, }, { MethodName: "ListController", Handler: _StateQueryService_ListController_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "sonr/identity/module/v1/state_query.proto", }
StateQueryService_ServiceDesc is the grpc.ServiceDesc for StateQueryService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterStateQueryServiceServer ¶
func RegisterStateQueryServiceServer(s grpc.ServiceRegistrar, srv StateQueryServiceServer)
Types ¶
type Account ¶
type Account struct { Sequence uint64 `protobuf:"varint,1,opt,name=sequence,proto3" json:"sequence,omitempty"` Controller string `protobuf:"bytes,2,opt,name=controller,proto3" json:"controller,omitempty"` CoinType CoinType `protobuf:"varint,3,opt,name=coin_type,json=coinType,proto3,enum=sonr.identity.module.v1.CoinType" json:"coin_type,omitempty"` PublicKey []byte `protobuf:"bytes,4,opt,name=public_key,json=publicKey,proto3" json:"public_key,omitempty"` Network string `protobuf:"bytes,5,opt,name=network,proto3" json:"network,omitempty"` Address string `protobuf:"bytes,6,opt,name=address,proto3" json:"address,omitempty"` ChainId string `protobuf:"bytes,7,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty"` // contains filtered or unexported fields }
Account is the root sonr account table which contains all sub-identities.
func (*Account) Descriptor
deprecated
func (*Account) GetAddress ¶
func (*Account) GetChainId ¶
func (*Account) GetCoinType ¶
func (*Account) GetController ¶
func (*Account) GetNetwork ¶
func (*Account) GetPublicKey ¶
func (*Account) GetSequence ¶
func (*Account) ProtoMessage ¶
func (*Account) ProtoMessage()
func (*Account) ProtoReflect ¶
func (x *Account) ProtoReflect() protoreflect.Message
type AccountAddressIndexKey ¶
type AccountAddressIndexKey struct {
// contains filtered or unexported fields
}
func (AccountAddressIndexKey) WithAddress ¶
func (this AccountAddressIndexKey) WithAddress(address string) AccountAddressIndexKey
type AccountIndexKey ¶
type AccountIndexKey interface {
// contains filtered or unexported methods
}
type AccountIterator ¶
func (AccountIterator) Value ¶
func (i AccountIterator) Value() (*Account, error)
type AccountPrimaryKey ¶
type AccountPrimaryKey = AccountSequenceIndexKey
primary key starting index..
type AccountPublicKeyIndexKey ¶
type AccountPublicKeyIndexKey struct {
// contains filtered or unexported fields
}
func (AccountPublicKeyIndexKey) WithPublicKey ¶
func (this AccountPublicKeyIndexKey) WithPublicKey(public_key []byte) AccountPublicKeyIndexKey
type AccountSequenceIndexKey ¶
type AccountSequenceIndexKey struct {
// contains filtered or unexported fields
}
func (AccountSequenceIndexKey) WithSequence ¶
func (this AccountSequenceIndexKey) WithSequence(sequence uint64) AccountSequenceIndexKey
type AccountTable ¶
type AccountTable interface { Insert(ctx context.Context, account *Account) error InsertReturningSequence(ctx context.Context, account *Account) (uint64, error) LastInsertedSequence(ctx context.Context) (uint64, error) Update(ctx context.Context, account *Account) error Save(ctx context.Context, account *Account) error Delete(ctx context.Context, account *Account) error Has(ctx context.Context, sequence uint64) (found bool, err error) // Get returns nil and an error which responds true to ormerrors.IsNotFound() if the record was not found. Get(ctx context.Context, sequence uint64) (*Account, error) HasByAddress(ctx context.Context, address string) (found bool, err error) // GetByAddress returns nil and an error which responds true to ormerrors.IsNotFound() if the record was not found. GetByAddress(ctx context.Context, address string) (*Account, error) HasByPublicKey(ctx context.Context, public_key []byte) (found bool, err error) // GetByPublicKey returns nil and an error which responds true to ormerrors.IsNotFound() if the record was not found. GetByPublicKey(ctx context.Context, public_key []byte) (*Account, error) List(ctx context.Context, prefixKey AccountIndexKey, opts ...ormlist.Option) (AccountIterator, error) ListRange(ctx context.Context, from, to AccountIndexKey, opts ...ormlist.Option) (AccountIterator, error) DeleteBy(ctx context.Context, prefixKey AccountIndexKey) error DeleteRange(ctx context.Context, from, to AccountIndexKey) error // contains filtered or unexported methods }
func NewAccountTable ¶
func NewAccountTable(db ormtable.Schema) (AccountTable, error)
type Accumulator ¶
type Accumulator struct { Index uint64 `protobuf:"varint,1,opt,name=index,proto3" json:"index,omitempty"` Controller string `protobuf:"bytes,2,opt,name=controller,proto3" json:"controller,omitempty"` Key string `protobuf:"bytes,3,opt,name=key,proto3" json:"key,omitempty"` Value string `protobuf:"bytes,4,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
Identifier is a psuedo-anonomyous representation of a unique id on the Sonr blockchain. Used as authorizer to the underlying wallet interface.
func (*Accumulator) Descriptor
deprecated
func (*Accumulator) Descriptor() ([]byte, []int)
Deprecated: Use Accumulator.ProtoReflect.Descriptor instead.
func (*Accumulator) GetController ¶
func (x *Accumulator) GetController() string
func (*Accumulator) GetIndex ¶
func (x *Accumulator) GetIndex() uint64
func (*Accumulator) GetKey ¶
func (x *Accumulator) GetKey() string
func (*Accumulator) GetValue ¶
func (x *Accumulator) GetValue() string
func (*Accumulator) ProtoMessage ¶
func (*Accumulator) ProtoMessage()
func (*Accumulator) ProtoReflect ¶
func (x *Accumulator) ProtoReflect() protoreflect.Message
func (*Accumulator) Reset ¶
func (x *Accumulator) Reset()
func (*Accumulator) String ¶
func (x *Accumulator) String() string
type AccumulatorControllerKeyIndexKey ¶
type AccumulatorControllerKeyIndexKey struct {
// contains filtered or unexported fields
}
func (AccumulatorControllerKeyIndexKey) WithController ¶
func (this AccumulatorControllerKeyIndexKey) WithController(controller string) AccumulatorControllerKeyIndexKey
func (AccumulatorControllerKeyIndexKey) WithControllerKey ¶
func (this AccumulatorControllerKeyIndexKey) WithControllerKey(controller string, key string) AccumulatorControllerKeyIndexKey
type AccumulatorIndexIndexKey ¶
type AccumulatorIndexIndexKey struct {
// contains filtered or unexported fields
}
func (AccumulatorIndexIndexKey) WithIndex ¶
func (this AccumulatorIndexIndexKey) WithIndex(index uint64) AccumulatorIndexIndexKey
type AccumulatorIndexKey ¶
type AccumulatorIndexKey interface {
// contains filtered or unexported methods
}
type AccumulatorIterator ¶
func (AccumulatorIterator) Value ¶
func (i AccumulatorIterator) Value() (*Accumulator, error)
type AccumulatorPrimaryKey ¶
type AccumulatorPrimaryKey = AccumulatorIndexIndexKey
primary key starting index..
type AccumulatorTable ¶
type AccumulatorTable interface { Insert(ctx context.Context, accumulator *Accumulator) error InsertReturningIndex(ctx context.Context, accumulator *Accumulator) (uint64, error) LastInsertedSequence(ctx context.Context) (uint64, error) Update(ctx context.Context, accumulator *Accumulator) error Save(ctx context.Context, accumulator *Accumulator) error Delete(ctx context.Context, accumulator *Accumulator) error Has(ctx context.Context, index uint64) (found bool, err error) // Get returns nil and an error which responds true to ormerrors.IsNotFound() if the record was not found. Get(ctx context.Context, index uint64) (*Accumulator, error) HasByControllerKey(ctx context.Context, controller string, key string) (found bool, err error) // GetByControllerKey returns nil and an error which responds true to ormerrors.IsNotFound() if the record was not found. GetByControllerKey(ctx context.Context, controller string, key string) (*Accumulator, error) List(ctx context.Context, prefixKey AccumulatorIndexKey, opts ...ormlist.Option) (AccumulatorIterator, error) ListRange(ctx context.Context, from, to AccumulatorIndexKey, opts ...ormlist.Option) (AccumulatorIterator, error) DeleteBy(ctx context.Context, prefixKey AccumulatorIndexKey) error DeleteRange(ctx context.Context, from, to AccumulatorIndexKey) error // contains filtered or unexported methods }
func NewAccumulatorTable ¶
func NewAccumulatorTable(db ormtable.Schema) (AccumulatorTable, error)
type Blockchain ¶
type Blockchain struct { Index uint64 `protobuf:"varint,1,opt,name=index,proto3" json:"index,omitempty"` ChainId string `protobuf:"bytes,2,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty"` ChainCode uint32 `protobuf:"varint,3,opt,name=chain_code,json=chainCode,proto3" json:"chain_code,omitempty"` Name string `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"` Hrp string `protobuf:"bytes,5,opt,name=hrp,proto3" json:"hrp,omitempty"` DidMethod string `protobuf:"bytes,6,opt,name=did_method,json=didMethod,proto3" json:"did_method,omitempty"` Denoms []string `protobuf:"bytes,7,rep,name=denoms,proto3" json:"denoms,omitempty"` ChannelId string `protobuf:"bytes,8,opt,name=channel_id,json=channelId,proto3" json:"channel_id,omitempty"` // contains filtered or unexported fields }
Blockchain is the configuration table for connected blockchains
func (*Blockchain) Descriptor
deprecated
func (*Blockchain) Descriptor() ([]byte, []int)
Deprecated: Use Blockchain.ProtoReflect.Descriptor instead.
func (*Blockchain) GetChainCode ¶
func (x *Blockchain) GetChainCode() uint32
func (*Blockchain) GetChainId ¶
func (x *Blockchain) GetChainId() string
func (*Blockchain) GetChannelId ¶
func (x *Blockchain) GetChannelId() string
func (*Blockchain) GetDenoms ¶
func (x *Blockchain) GetDenoms() []string
func (*Blockchain) GetDidMethod ¶
func (x *Blockchain) GetDidMethod() string
func (*Blockchain) GetHrp ¶
func (x *Blockchain) GetHrp() string
func (*Blockchain) GetIndex ¶
func (x *Blockchain) GetIndex() uint64
func (*Blockchain) GetName ¶
func (x *Blockchain) GetName() string
func (*Blockchain) ProtoMessage ¶
func (*Blockchain) ProtoMessage()
func (*Blockchain) ProtoReflect ¶
func (x *Blockchain) ProtoReflect() protoreflect.Message
func (*Blockchain) Reset ¶
func (x *Blockchain) Reset()
func (*Blockchain) String ¶
func (x *Blockchain) String() string
type BlockchainChainIdIndexKey ¶
type BlockchainChainIdIndexKey struct {
// contains filtered or unexported fields
}
func (BlockchainChainIdIndexKey) WithChainId ¶
func (this BlockchainChainIdIndexKey) WithChainId(chain_id string) BlockchainChainIdIndexKey
type BlockchainIndexIndexKey ¶
type BlockchainIndexIndexKey struct {
// contains filtered or unexported fields
}
func (BlockchainIndexIndexKey) WithIndex ¶
func (this BlockchainIndexIndexKey) WithIndex(index uint64) BlockchainIndexIndexKey
type BlockchainIndexKey ¶
type BlockchainIndexKey interface {
// contains filtered or unexported methods
}
type BlockchainIterator ¶
func (BlockchainIterator) Value ¶
func (i BlockchainIterator) Value() (*Blockchain, error)
type BlockchainNameIndexKey ¶
type BlockchainNameIndexKey struct {
// contains filtered or unexported fields
}
func (BlockchainNameIndexKey) WithName ¶
func (this BlockchainNameIndexKey) WithName(name string) BlockchainNameIndexKey
type BlockchainPrimaryKey ¶
type BlockchainPrimaryKey = BlockchainIndexIndexKey
primary key starting index..
type BlockchainTable ¶
type BlockchainTable interface { Insert(ctx context.Context, blockchain *Blockchain) error InsertReturningIndex(ctx context.Context, blockchain *Blockchain) (uint64, error) LastInsertedSequence(ctx context.Context) (uint64, error) Update(ctx context.Context, blockchain *Blockchain) error Save(ctx context.Context, blockchain *Blockchain) error Delete(ctx context.Context, blockchain *Blockchain) error Has(ctx context.Context, index uint64) (found bool, err error) // Get returns nil and an error which responds true to ormerrors.IsNotFound() if the record was not found. Get(ctx context.Context, index uint64) (*Blockchain, error) HasByChainId(ctx context.Context, chain_id string) (found bool, err error) // GetByChainId returns nil and an error which responds true to ormerrors.IsNotFound() if the record was not found. GetByChainId(ctx context.Context, chain_id string) (*Blockchain, error) HasByName(ctx context.Context, name string) (found bool, err error) // GetByName returns nil and an error which responds true to ormerrors.IsNotFound() if the record was not found. GetByName(ctx context.Context, name string) (*Blockchain, error) List(ctx context.Context, prefixKey BlockchainIndexKey, opts ...ormlist.Option) (BlockchainIterator, error) ListRange(ctx context.Context, from, to BlockchainIndexKey, opts ...ormlist.Option) (BlockchainIterator, error) DeleteBy(ctx context.Context, prefixKey BlockchainIndexKey) error DeleteRange(ctx context.Context, from, to BlockchainIndexKey) error // contains filtered or unexported methods }
func NewBlockchainTable ¶
func NewBlockchainTable(db ormtable.Schema) (BlockchainTable, error)
type CoinType ¶
type CoinType int32
CoinType is the BIP-0044 coin type for each supported coin.
const ( // Bitcoins coin type is 0 CoinType_COIN_TYPE_UNSPECIFIED CoinType = 0 // Testnet coin type is 1 CoinType_COIN_TYPE_ATOM CoinType = 1 // Litecoin coin type is 2 CoinType_COIN_TYPE_AXELAR CoinType = 2 // Dogecoin coin type is 3 CoinType_COIN_TYPE_BITCOIN CoinType = 3 // Ethereum coin type is 60 CoinType_COIN_TYPE_ETHEREUM CoinType = 4 // Sonr coin type is 703 CoinType_COIN_TYPE_EVMOS CoinType = 5 // Cosmos coin type is 118 CoinType_COIN_TYPE_FILECOIN CoinType = 6 // Filecoin coin type is 461 CoinType_COIN_TYPE_JUNO CoinType = 7 // Handshake coin type is 5353 CoinType_COIN_TYPE_OSMO CoinType = 8 // Solana coin type is 501 CoinType_COIN_TYPE_SOLANA CoinType = 9 // Ripple coin type is 144 CoinType_COIN_TYPE_SONR CoinType = 10 // Stargaze coin type is 1001 CoinType_COIN_TYPE_STARGAZE CoinType = 11 )
func (CoinType) Descriptor ¶
func (CoinType) Descriptor() protoreflect.EnumDescriptor
func (CoinType) EnumDescriptor
deprecated
func (CoinType) Number ¶
func (x CoinType) Number() protoreflect.EnumNumber
func (CoinType) Type ¶
func (CoinType) Type() protoreflect.EnumType
type Controller ¶
type Controller struct { Sequence uint64 `protobuf:"varint,1,opt,name=sequence,proto3" json:"sequence,omitempty"` PeerId string `protobuf:"bytes,2,opt,name=peer_id,json=peerId,proto3" json:"peer_id,omitempty"` Address string `protobuf:"bytes,3,opt,name=address,proto3" json:"address,omitempty"` PublicKey []byte `protobuf:"bytes,4,opt,name=public_key,json=publicKey,proto3" json:"public_key,omitempty"` Ipns string `protobuf:"bytes,5,opt,name=ipns,proto3" json:"ipns,omitempty"` AccumulatorKey []byte `protobuf:"bytes,6,opt,name=accumulator_key,json=accumulatorKey,proto3" json:"accumulator_key,omitempty"` Network string `protobuf:"bytes,7,opt,name=network,proto3" json:"network,omitempty"` ChainId string `protobuf:"bytes,8,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty"` // contains filtered or unexported fields }
Controller is the root sonr controller table which contains all sub-identities.
func (*Controller) Descriptor
deprecated
func (*Controller) Descriptor() ([]byte, []int)
Deprecated: Use Controller.ProtoReflect.Descriptor instead.
func (*Controller) GetAccumulatorKey ¶
func (x *Controller) GetAccumulatorKey() []byte
func (*Controller) GetAddress ¶
func (x *Controller) GetAddress() string
func (*Controller) GetChainId ¶
func (x *Controller) GetChainId() string
func (*Controller) GetIpns ¶
func (x *Controller) GetIpns() string
func (*Controller) GetNetwork ¶
func (x *Controller) GetNetwork() string
func (*Controller) GetPeerId ¶
func (x *Controller) GetPeerId() string
func (*Controller) GetPublicKey ¶
func (x *Controller) GetPublicKey() []byte
func (*Controller) GetSequence ¶
func (x *Controller) GetSequence() uint64
func (*Controller) ProtoMessage ¶
func (*Controller) ProtoMessage()
func (*Controller) ProtoReflect ¶
func (x *Controller) ProtoReflect() protoreflect.Message
func (*Controller) Reset ¶
func (x *Controller) Reset()
func (*Controller) String ¶
func (x *Controller) String() string
type ControllerAddressIndexKey ¶
type ControllerAddressIndexKey struct {
// contains filtered or unexported fields
}
func (ControllerAddressIndexKey) WithAddress ¶
func (this ControllerAddressIndexKey) WithAddress(address string) ControllerAddressIndexKey
type ControllerIndexKey ¶
type ControllerIndexKey interface {
// contains filtered or unexported methods
}
type ControllerIpnsIndexKey ¶
type ControllerIpnsIndexKey struct {
// contains filtered or unexported fields
}
func (ControllerIpnsIndexKey) WithIpns ¶
func (this ControllerIpnsIndexKey) WithIpns(ipns string) ControllerIpnsIndexKey
type ControllerIterator ¶
func (ControllerIterator) Value ¶
func (i ControllerIterator) Value() (*Controller, error)
type ControllerPeerIdIndexKey ¶
type ControllerPeerIdIndexKey struct {
// contains filtered or unexported fields
}
func (ControllerPeerIdIndexKey) WithPeerId ¶
func (this ControllerPeerIdIndexKey) WithPeerId(peer_id string) ControllerPeerIdIndexKey
type ControllerPrimaryKey ¶
type ControllerPrimaryKey = ControllerSequenceIndexKey
primary key starting index..
type ControllerPublicKeyIndexKey ¶
type ControllerPublicKeyIndexKey struct {
// contains filtered or unexported fields
}
func (ControllerPublicKeyIndexKey) WithPublicKey ¶
func (this ControllerPublicKeyIndexKey) WithPublicKey(public_key []byte) ControllerPublicKeyIndexKey
type ControllerSequenceIndexKey ¶
type ControllerSequenceIndexKey struct {
// contains filtered or unexported fields
}
func (ControllerSequenceIndexKey) WithSequence ¶
func (this ControllerSequenceIndexKey) WithSequence(sequence uint64) ControllerSequenceIndexKey
type ControllerTable ¶
type ControllerTable interface { Insert(ctx context.Context, controller *Controller) error InsertReturningSequence(ctx context.Context, controller *Controller) (uint64, error) LastInsertedSequence(ctx context.Context) (uint64, error) Update(ctx context.Context, controller *Controller) error Save(ctx context.Context, controller *Controller) error Delete(ctx context.Context, controller *Controller) error Has(ctx context.Context, sequence uint64) (found bool, err error) // Get returns nil and an error which responds true to ormerrors.IsNotFound() if the record was not found. Get(ctx context.Context, sequence uint64) (*Controller, error) HasByAddress(ctx context.Context, address string) (found bool, err error) // GetByAddress returns nil and an error which responds true to ormerrors.IsNotFound() if the record was not found. GetByAddress(ctx context.Context, address string) (*Controller, error) HasByPublicKey(ctx context.Context, public_key []byte) (found bool, err error) // GetByPublicKey returns nil and an error which responds true to ormerrors.IsNotFound() if the record was not found. GetByPublicKey(ctx context.Context, public_key []byte) (*Controller, error) HasByPeerId(ctx context.Context, peer_id string) (found bool, err error) // GetByPeerId returns nil and an error which responds true to ormerrors.IsNotFound() if the record was not found. GetByPeerId(ctx context.Context, peer_id string) (*Controller, error) HasByIpns(ctx context.Context, ipns string) (found bool, err error) // GetByIpns returns nil and an error which responds true to ormerrors.IsNotFound() if the record was not found. GetByIpns(ctx context.Context, ipns string) (*Controller, error) List(ctx context.Context, prefixKey ControllerIndexKey, opts ...ormlist.Option) (ControllerIterator, error) ListRange(ctx context.Context, from, to ControllerIndexKey, opts ...ormlist.Option) (ControllerIterator, error) DeleteBy(ctx context.Context, prefixKey ControllerIndexKey) error DeleteRange(ctx context.Context, from, to ControllerIndexKey) error // contains filtered or unexported methods }
func NewControllerTable ¶
func NewControllerTable(db ormtable.Schema) (ControllerTable, error)
type GetAccountByAddressRequest ¶
type GetAccountByAddressRequest struct { Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` // contains filtered or unexported fields }
GetAccountByAddressRequest is the StateQuery/GetAccountByAddressRequest request type.
func (*GetAccountByAddressRequest) Descriptor
deprecated
func (*GetAccountByAddressRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetAccountByAddressRequest.ProtoReflect.Descriptor instead.
func (*GetAccountByAddressRequest) GetAddress ¶
func (x *GetAccountByAddressRequest) GetAddress() string
func (*GetAccountByAddressRequest) ProtoMessage ¶
func (*GetAccountByAddressRequest) ProtoMessage()
func (*GetAccountByAddressRequest) ProtoReflect ¶
func (x *GetAccountByAddressRequest) ProtoReflect() protoreflect.Message
func (*GetAccountByAddressRequest) Reset ¶
func (x *GetAccountByAddressRequest) Reset()
func (*GetAccountByAddressRequest) String ¶
func (x *GetAccountByAddressRequest) String() string
type GetAccountByAddressResponse ¶
type GetAccountByAddressResponse struct { Value *Account `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
GetAccountByAddressResponse is the StateQuery/GetAccountByAddressResponse response type.
func (*GetAccountByAddressResponse) Descriptor
deprecated
func (*GetAccountByAddressResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetAccountByAddressResponse.ProtoReflect.Descriptor instead.
func (*GetAccountByAddressResponse) GetValue ¶
func (x *GetAccountByAddressResponse) GetValue() *Account
func (*GetAccountByAddressResponse) ProtoMessage ¶
func (*GetAccountByAddressResponse) ProtoMessage()
func (*GetAccountByAddressResponse) ProtoReflect ¶
func (x *GetAccountByAddressResponse) ProtoReflect() protoreflect.Message
func (*GetAccountByAddressResponse) Reset ¶
func (x *GetAccountByAddressResponse) Reset()
func (*GetAccountByAddressResponse) String ¶
func (x *GetAccountByAddressResponse) String() string
type GetAccountByPublicKeyRequest ¶
type GetAccountByPublicKeyRequest struct { PublicKey []byte `protobuf:"bytes,1,opt,name=public_key,json=publicKey,proto3" json:"public_key,omitempty"` // contains filtered or unexported fields }
GetAccountByPublicKeyRequest is the StateQuery/GetAccountByPublicKeyRequest request type.
func (*GetAccountByPublicKeyRequest) Descriptor
deprecated
func (*GetAccountByPublicKeyRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetAccountByPublicKeyRequest.ProtoReflect.Descriptor instead.
func (*GetAccountByPublicKeyRequest) GetPublicKey ¶
func (x *GetAccountByPublicKeyRequest) GetPublicKey() []byte
func (*GetAccountByPublicKeyRequest) ProtoMessage ¶
func (*GetAccountByPublicKeyRequest) ProtoMessage()
func (*GetAccountByPublicKeyRequest) ProtoReflect ¶
func (x *GetAccountByPublicKeyRequest) ProtoReflect() protoreflect.Message
func (*GetAccountByPublicKeyRequest) Reset ¶
func (x *GetAccountByPublicKeyRequest) Reset()
func (*GetAccountByPublicKeyRequest) String ¶
func (x *GetAccountByPublicKeyRequest) String() string
type GetAccountByPublicKeyResponse ¶
type GetAccountByPublicKeyResponse struct { Value *Account `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
GetAccountByPublicKeyResponse is the StateQuery/GetAccountByPublicKeyResponse response type.
func (*GetAccountByPublicKeyResponse) Descriptor
deprecated
func (*GetAccountByPublicKeyResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetAccountByPublicKeyResponse.ProtoReflect.Descriptor instead.
func (*GetAccountByPublicKeyResponse) GetValue ¶
func (x *GetAccountByPublicKeyResponse) GetValue() *Account
func (*GetAccountByPublicKeyResponse) ProtoMessage ¶
func (*GetAccountByPublicKeyResponse) ProtoMessage()
func (*GetAccountByPublicKeyResponse) ProtoReflect ¶
func (x *GetAccountByPublicKeyResponse) ProtoReflect() protoreflect.Message
func (*GetAccountByPublicKeyResponse) Reset ¶
func (x *GetAccountByPublicKeyResponse) Reset()
func (*GetAccountByPublicKeyResponse) String ¶
func (x *GetAccountByPublicKeyResponse) String() string
type GetAccountRequest ¶
type GetAccountRequest struct { // sequence specifies the value of the sequence field in the primary key. Sequence uint64 `protobuf:"varint,1,opt,name=sequence,proto3" json:"sequence,omitempty"` // contains filtered or unexported fields }
GetAccountRequest is the StateQuery/GetAccountRequest request type.
func (*GetAccountRequest) Descriptor
deprecated
func (*GetAccountRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetAccountRequest.ProtoReflect.Descriptor instead.
func (*GetAccountRequest) GetSequence ¶
func (x *GetAccountRequest) GetSequence() uint64
func (*GetAccountRequest) ProtoMessage ¶
func (*GetAccountRequest) ProtoMessage()
func (*GetAccountRequest) ProtoReflect ¶
func (x *GetAccountRequest) ProtoReflect() protoreflect.Message
func (*GetAccountRequest) Reset ¶
func (x *GetAccountRequest) Reset()
func (*GetAccountRequest) String ¶
func (x *GetAccountRequest) String() string
type GetAccountResponse ¶
type GetAccountResponse struct { // value is the response value. Value *Account `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
GetAccountResponse is the StateQuery/GetAccountResponse response type.
func (*GetAccountResponse) Descriptor
deprecated
func (*GetAccountResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetAccountResponse.ProtoReflect.Descriptor instead.
func (*GetAccountResponse) GetValue ¶
func (x *GetAccountResponse) GetValue() *Account
func (*GetAccountResponse) ProtoMessage ¶
func (*GetAccountResponse) ProtoMessage()
func (*GetAccountResponse) ProtoReflect ¶
func (x *GetAccountResponse) ProtoReflect() protoreflect.Message
func (*GetAccountResponse) Reset ¶
func (x *GetAccountResponse) Reset()
func (*GetAccountResponse) String ¶
func (x *GetAccountResponse) String() string
type GetAccumulatorByControllerKeyRequest ¶
type GetAccumulatorByControllerKeyRequest struct { Controller string `protobuf:"bytes,1,opt,name=controller,proto3" json:"controller,omitempty"` Key string `protobuf:"bytes,2,opt,name=key,proto3" json:"key,omitempty"` // contains filtered or unexported fields }
GetAccumulatorByControllerKeyRequest is the StateQuery/GetAccumulatorByControllerKeyRequest request type.
func (*GetAccumulatorByControllerKeyRequest) Descriptor
deprecated
func (*GetAccumulatorByControllerKeyRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetAccumulatorByControllerKeyRequest.ProtoReflect.Descriptor instead.
func (*GetAccumulatorByControllerKeyRequest) GetController ¶
func (x *GetAccumulatorByControllerKeyRequest) GetController() string
func (*GetAccumulatorByControllerKeyRequest) GetKey ¶
func (x *GetAccumulatorByControllerKeyRequest) GetKey() string
func (*GetAccumulatorByControllerKeyRequest) ProtoMessage ¶
func (*GetAccumulatorByControllerKeyRequest) ProtoMessage()
func (*GetAccumulatorByControllerKeyRequest) ProtoReflect ¶
func (x *GetAccumulatorByControllerKeyRequest) ProtoReflect() protoreflect.Message
func (*GetAccumulatorByControllerKeyRequest) Reset ¶
func (x *GetAccumulatorByControllerKeyRequest) Reset()
func (*GetAccumulatorByControllerKeyRequest) String ¶
func (x *GetAccumulatorByControllerKeyRequest) String() string
type GetAccumulatorByControllerKeyResponse ¶
type GetAccumulatorByControllerKeyResponse struct { Value *Accumulator `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
GetAccumulatorByControllerKeyResponse is the StateQuery/GetAccumulatorByControllerKeyResponse response type.
func (*GetAccumulatorByControllerKeyResponse) Descriptor
deprecated
func (*GetAccumulatorByControllerKeyResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetAccumulatorByControllerKeyResponse.ProtoReflect.Descriptor instead.
func (*GetAccumulatorByControllerKeyResponse) GetValue ¶
func (x *GetAccumulatorByControllerKeyResponse) GetValue() *Accumulator
func (*GetAccumulatorByControllerKeyResponse) ProtoMessage ¶
func (*GetAccumulatorByControllerKeyResponse) ProtoMessage()
func (*GetAccumulatorByControllerKeyResponse) ProtoReflect ¶
func (x *GetAccumulatorByControllerKeyResponse) ProtoReflect() protoreflect.Message
func (*GetAccumulatorByControllerKeyResponse) Reset ¶
func (x *GetAccumulatorByControllerKeyResponse) Reset()
func (*GetAccumulatorByControllerKeyResponse) String ¶
func (x *GetAccumulatorByControllerKeyResponse) String() string
type GetAccumulatorRequest ¶
type GetAccumulatorRequest struct { // index specifies the value of the index field in the primary key. Index uint64 `protobuf:"varint,1,opt,name=index,proto3" json:"index,omitempty"` // contains filtered or unexported fields }
GetAccumulatorRequest is the StateQuery/GetAccumulatorRequest request type.
func (*GetAccumulatorRequest) Descriptor
deprecated
func (*GetAccumulatorRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetAccumulatorRequest.ProtoReflect.Descriptor instead.
func (*GetAccumulatorRequest) GetIndex ¶
func (x *GetAccumulatorRequest) GetIndex() uint64
func (*GetAccumulatorRequest) ProtoMessage ¶
func (*GetAccumulatorRequest) ProtoMessage()
func (*GetAccumulatorRequest) ProtoReflect ¶
func (x *GetAccumulatorRequest) ProtoReflect() protoreflect.Message
func (*GetAccumulatorRequest) Reset ¶
func (x *GetAccumulatorRequest) Reset()
func (*GetAccumulatorRequest) String ¶
func (x *GetAccumulatorRequest) String() string
type GetAccumulatorResponse ¶
type GetAccumulatorResponse struct { // value is the response value. Value *Accumulator `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
GetAccumulatorResponse is the StateQuery/GetAccumulatorResponse response type.
func (*GetAccumulatorResponse) Descriptor
deprecated
func (*GetAccumulatorResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetAccumulatorResponse.ProtoReflect.Descriptor instead.
func (*GetAccumulatorResponse) GetValue ¶
func (x *GetAccumulatorResponse) GetValue() *Accumulator
func (*GetAccumulatorResponse) ProtoMessage ¶
func (*GetAccumulatorResponse) ProtoMessage()
func (*GetAccumulatorResponse) ProtoReflect ¶
func (x *GetAccumulatorResponse) ProtoReflect() protoreflect.Message
func (*GetAccumulatorResponse) Reset ¶
func (x *GetAccumulatorResponse) Reset()
func (*GetAccumulatorResponse) String ¶
func (x *GetAccumulatorResponse) String() string
type GetBlockchainByChainIdRequest ¶
type GetBlockchainByChainIdRequest struct { ChainId string `protobuf:"bytes,1,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty"` // contains filtered or unexported fields }
GetBlockchainByChainIdRequest is the StateQuery/GetBlockchainByChainIdRequest request type.
func (*GetBlockchainByChainIdRequest) Descriptor
deprecated
func (*GetBlockchainByChainIdRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetBlockchainByChainIdRequest.ProtoReflect.Descriptor instead.
func (*GetBlockchainByChainIdRequest) GetChainId ¶
func (x *GetBlockchainByChainIdRequest) GetChainId() string
func (*GetBlockchainByChainIdRequest) ProtoMessage ¶
func (*GetBlockchainByChainIdRequest) ProtoMessage()
func (*GetBlockchainByChainIdRequest) ProtoReflect ¶
func (x *GetBlockchainByChainIdRequest) ProtoReflect() protoreflect.Message
func (*GetBlockchainByChainIdRequest) Reset ¶
func (x *GetBlockchainByChainIdRequest) Reset()
func (*GetBlockchainByChainIdRequest) String ¶
func (x *GetBlockchainByChainIdRequest) String() string
type GetBlockchainByChainIdResponse ¶
type GetBlockchainByChainIdResponse struct { Value *Blockchain `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
GetBlockchainByChainIdResponse is the StateQuery/GetBlockchainByChainIdResponse response type.
func (*GetBlockchainByChainIdResponse) Descriptor
deprecated
func (*GetBlockchainByChainIdResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetBlockchainByChainIdResponse.ProtoReflect.Descriptor instead.
func (*GetBlockchainByChainIdResponse) GetValue ¶
func (x *GetBlockchainByChainIdResponse) GetValue() *Blockchain
func (*GetBlockchainByChainIdResponse) ProtoMessage ¶
func (*GetBlockchainByChainIdResponse) ProtoMessage()
func (*GetBlockchainByChainIdResponse) ProtoReflect ¶
func (x *GetBlockchainByChainIdResponse) ProtoReflect() protoreflect.Message
func (*GetBlockchainByChainIdResponse) Reset ¶
func (x *GetBlockchainByChainIdResponse) Reset()
func (*GetBlockchainByChainIdResponse) String ¶
func (x *GetBlockchainByChainIdResponse) String() string
type GetBlockchainByNameRequest ¶
type GetBlockchainByNameRequest struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
GetBlockchainByNameRequest is the StateQuery/GetBlockchainByNameRequest request type.
func (*GetBlockchainByNameRequest) Descriptor
deprecated
func (*GetBlockchainByNameRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetBlockchainByNameRequest.ProtoReflect.Descriptor instead.
func (*GetBlockchainByNameRequest) GetName ¶
func (x *GetBlockchainByNameRequest) GetName() string
func (*GetBlockchainByNameRequest) ProtoMessage ¶
func (*GetBlockchainByNameRequest) ProtoMessage()
func (*GetBlockchainByNameRequest) ProtoReflect ¶
func (x *GetBlockchainByNameRequest) ProtoReflect() protoreflect.Message
func (*GetBlockchainByNameRequest) Reset ¶
func (x *GetBlockchainByNameRequest) Reset()
func (*GetBlockchainByNameRequest) String ¶
func (x *GetBlockchainByNameRequest) String() string
type GetBlockchainByNameResponse ¶
type GetBlockchainByNameResponse struct { Value *Blockchain `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
GetBlockchainByNameResponse is the StateQuery/GetBlockchainByNameResponse response type.
func (*GetBlockchainByNameResponse) Descriptor
deprecated
func (*GetBlockchainByNameResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetBlockchainByNameResponse.ProtoReflect.Descriptor instead.
func (*GetBlockchainByNameResponse) GetValue ¶
func (x *GetBlockchainByNameResponse) GetValue() *Blockchain
func (*GetBlockchainByNameResponse) ProtoMessage ¶
func (*GetBlockchainByNameResponse) ProtoMessage()
func (*GetBlockchainByNameResponse) ProtoReflect ¶
func (x *GetBlockchainByNameResponse) ProtoReflect() protoreflect.Message
func (*GetBlockchainByNameResponse) Reset ¶
func (x *GetBlockchainByNameResponse) Reset()
func (*GetBlockchainByNameResponse) String ¶
func (x *GetBlockchainByNameResponse) String() string
type GetBlockchainRequest ¶
type GetBlockchainRequest struct { // index specifies the value of the index field in the primary key. Index uint64 `protobuf:"varint,1,opt,name=index,proto3" json:"index,omitempty"` // contains filtered or unexported fields }
GetBlockchainRequest is the StateQuery/GetBlockchainRequest request type.
func (*GetBlockchainRequest) Descriptor
deprecated
func (*GetBlockchainRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetBlockchainRequest.ProtoReflect.Descriptor instead.
func (*GetBlockchainRequest) GetIndex ¶
func (x *GetBlockchainRequest) GetIndex() uint64
func (*GetBlockchainRequest) ProtoMessage ¶
func (*GetBlockchainRequest) ProtoMessage()
func (*GetBlockchainRequest) ProtoReflect ¶
func (x *GetBlockchainRequest) ProtoReflect() protoreflect.Message
func (*GetBlockchainRequest) Reset ¶
func (x *GetBlockchainRequest) Reset()
func (*GetBlockchainRequest) String ¶
func (x *GetBlockchainRequest) String() string
type GetBlockchainResponse ¶
type GetBlockchainResponse struct { // value is the response value. Value *Blockchain `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
GetBlockchainResponse is the StateQuery/GetBlockchainResponse response type.
func (*GetBlockchainResponse) Descriptor
deprecated
func (*GetBlockchainResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetBlockchainResponse.ProtoReflect.Descriptor instead.
func (*GetBlockchainResponse) GetValue ¶
func (x *GetBlockchainResponse) GetValue() *Blockchain
func (*GetBlockchainResponse) ProtoMessage ¶
func (*GetBlockchainResponse) ProtoMessage()
func (*GetBlockchainResponse) ProtoReflect ¶
func (x *GetBlockchainResponse) ProtoReflect() protoreflect.Message
func (*GetBlockchainResponse) Reset ¶
func (x *GetBlockchainResponse) Reset()
func (*GetBlockchainResponse) String ¶
func (x *GetBlockchainResponse) String() string
type GetControllerByAddressRequest ¶
type GetControllerByAddressRequest struct { Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` // contains filtered or unexported fields }
GetControllerByAddressRequest is the StateQuery/GetControllerByAddressRequest request type.
func (*GetControllerByAddressRequest) Descriptor
deprecated
func (*GetControllerByAddressRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetControllerByAddressRequest.ProtoReflect.Descriptor instead.
func (*GetControllerByAddressRequest) GetAddress ¶
func (x *GetControllerByAddressRequest) GetAddress() string
func (*GetControllerByAddressRequest) ProtoMessage ¶
func (*GetControllerByAddressRequest) ProtoMessage()
func (*GetControllerByAddressRequest) ProtoReflect ¶
func (x *GetControllerByAddressRequest) ProtoReflect() protoreflect.Message
func (*GetControllerByAddressRequest) Reset ¶
func (x *GetControllerByAddressRequest) Reset()
func (*GetControllerByAddressRequest) String ¶
func (x *GetControllerByAddressRequest) String() string
type GetControllerByAddressResponse ¶
type GetControllerByAddressResponse struct { Value *Controller `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
GetControllerByAddressResponse is the StateQuery/GetControllerByAddressResponse response type.
func (*GetControllerByAddressResponse) Descriptor
deprecated
func (*GetControllerByAddressResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetControllerByAddressResponse.ProtoReflect.Descriptor instead.
func (*GetControllerByAddressResponse) GetValue ¶
func (x *GetControllerByAddressResponse) GetValue() *Controller
func (*GetControllerByAddressResponse) ProtoMessage ¶
func (*GetControllerByAddressResponse) ProtoMessage()
func (*GetControllerByAddressResponse) ProtoReflect ¶
func (x *GetControllerByAddressResponse) ProtoReflect() protoreflect.Message
func (*GetControllerByAddressResponse) Reset ¶
func (x *GetControllerByAddressResponse) Reset()
func (*GetControllerByAddressResponse) String ¶
func (x *GetControllerByAddressResponse) String() string
type GetControllerByIpnsRequest ¶
type GetControllerByIpnsRequest struct { Ipns string `protobuf:"bytes,1,opt,name=ipns,proto3" json:"ipns,omitempty"` // contains filtered or unexported fields }
GetControllerByIpnsRequest is the StateQuery/GetControllerByIpnsRequest request type.
func (*GetControllerByIpnsRequest) Descriptor
deprecated
func (*GetControllerByIpnsRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetControllerByIpnsRequest.ProtoReflect.Descriptor instead.
func (*GetControllerByIpnsRequest) GetIpns ¶
func (x *GetControllerByIpnsRequest) GetIpns() string
func (*GetControllerByIpnsRequest) ProtoMessage ¶
func (*GetControllerByIpnsRequest) ProtoMessage()
func (*GetControllerByIpnsRequest) ProtoReflect ¶
func (x *GetControllerByIpnsRequest) ProtoReflect() protoreflect.Message
func (*GetControllerByIpnsRequest) Reset ¶
func (x *GetControllerByIpnsRequest) Reset()
func (*GetControllerByIpnsRequest) String ¶
func (x *GetControllerByIpnsRequest) String() string
type GetControllerByIpnsResponse ¶
type GetControllerByIpnsResponse struct { Value *Controller `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
GetControllerByIpnsResponse is the StateQuery/GetControllerByIpnsResponse response type.
func (*GetControllerByIpnsResponse) Descriptor
deprecated
func (*GetControllerByIpnsResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetControllerByIpnsResponse.ProtoReflect.Descriptor instead.
func (*GetControllerByIpnsResponse) GetValue ¶
func (x *GetControllerByIpnsResponse) GetValue() *Controller
func (*GetControllerByIpnsResponse) ProtoMessage ¶
func (*GetControllerByIpnsResponse) ProtoMessage()
func (*GetControllerByIpnsResponse) ProtoReflect ¶
func (x *GetControllerByIpnsResponse) ProtoReflect() protoreflect.Message
func (*GetControllerByIpnsResponse) Reset ¶
func (x *GetControllerByIpnsResponse) Reset()
func (*GetControllerByIpnsResponse) String ¶
func (x *GetControllerByIpnsResponse) String() string
type GetControllerByPeerIdRequest ¶
type GetControllerByPeerIdRequest struct { PeerId string `protobuf:"bytes,1,opt,name=peer_id,json=peerId,proto3" json:"peer_id,omitempty"` // contains filtered or unexported fields }
GetControllerByPeerIdRequest is the StateQuery/GetControllerByPeerIdRequest request type.
func (*GetControllerByPeerIdRequest) Descriptor
deprecated
func (*GetControllerByPeerIdRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetControllerByPeerIdRequest.ProtoReflect.Descriptor instead.
func (*GetControllerByPeerIdRequest) GetPeerId ¶
func (x *GetControllerByPeerIdRequest) GetPeerId() string
func (*GetControllerByPeerIdRequest) ProtoMessage ¶
func (*GetControllerByPeerIdRequest) ProtoMessage()
func (*GetControllerByPeerIdRequest) ProtoReflect ¶
func (x *GetControllerByPeerIdRequest) ProtoReflect() protoreflect.Message
func (*GetControllerByPeerIdRequest) Reset ¶
func (x *GetControllerByPeerIdRequest) Reset()
func (*GetControllerByPeerIdRequest) String ¶
func (x *GetControllerByPeerIdRequest) String() string
type GetControllerByPeerIdResponse ¶
type GetControllerByPeerIdResponse struct { Value *Controller `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
GetControllerByPeerIdResponse is the StateQuery/GetControllerByPeerIdResponse response type.
func (*GetControllerByPeerIdResponse) Descriptor
deprecated
func (*GetControllerByPeerIdResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetControllerByPeerIdResponse.ProtoReflect.Descriptor instead.
func (*GetControllerByPeerIdResponse) GetValue ¶
func (x *GetControllerByPeerIdResponse) GetValue() *Controller
func (*GetControllerByPeerIdResponse) ProtoMessage ¶
func (*GetControllerByPeerIdResponse) ProtoMessage()
func (*GetControllerByPeerIdResponse) ProtoReflect ¶
func (x *GetControllerByPeerIdResponse) ProtoReflect() protoreflect.Message
func (*GetControllerByPeerIdResponse) Reset ¶
func (x *GetControllerByPeerIdResponse) Reset()
func (*GetControllerByPeerIdResponse) String ¶
func (x *GetControllerByPeerIdResponse) String() string
type GetControllerByPublicKeyRequest ¶
type GetControllerByPublicKeyRequest struct { PublicKey []byte `protobuf:"bytes,1,opt,name=public_key,json=publicKey,proto3" json:"public_key,omitempty"` // contains filtered or unexported fields }
GetControllerByPublicKeyRequest is the StateQuery/GetControllerByPublicKeyRequest request type.
func (*GetControllerByPublicKeyRequest) Descriptor
deprecated
func (*GetControllerByPublicKeyRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetControllerByPublicKeyRequest.ProtoReflect.Descriptor instead.
func (*GetControllerByPublicKeyRequest) GetPublicKey ¶
func (x *GetControllerByPublicKeyRequest) GetPublicKey() []byte
func (*GetControllerByPublicKeyRequest) ProtoMessage ¶
func (*GetControllerByPublicKeyRequest) ProtoMessage()
func (*GetControllerByPublicKeyRequest) ProtoReflect ¶
func (x *GetControllerByPublicKeyRequest) ProtoReflect() protoreflect.Message
func (*GetControllerByPublicKeyRequest) Reset ¶
func (x *GetControllerByPublicKeyRequest) Reset()
func (*GetControllerByPublicKeyRequest) String ¶
func (x *GetControllerByPublicKeyRequest) String() string
type GetControllerByPublicKeyResponse ¶
type GetControllerByPublicKeyResponse struct { Value *Controller `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
GetControllerByPublicKeyResponse is the StateQuery/GetControllerByPublicKeyResponse response type.
func (*GetControllerByPublicKeyResponse) Descriptor
deprecated
func (*GetControllerByPublicKeyResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetControllerByPublicKeyResponse.ProtoReflect.Descriptor instead.
func (*GetControllerByPublicKeyResponse) GetValue ¶
func (x *GetControllerByPublicKeyResponse) GetValue() *Controller
func (*GetControllerByPublicKeyResponse) ProtoMessage ¶
func (*GetControllerByPublicKeyResponse) ProtoMessage()
func (*GetControllerByPublicKeyResponse) ProtoReflect ¶
func (x *GetControllerByPublicKeyResponse) ProtoReflect() protoreflect.Message
func (*GetControllerByPublicKeyResponse) Reset ¶
func (x *GetControllerByPublicKeyResponse) Reset()
func (*GetControllerByPublicKeyResponse) String ¶
func (x *GetControllerByPublicKeyResponse) String() string
type GetControllerRequest ¶
type GetControllerRequest struct { // sequence specifies the value of the sequence field in the primary key. Sequence uint64 `protobuf:"varint,1,opt,name=sequence,proto3" json:"sequence,omitempty"` // contains filtered or unexported fields }
GetControllerRequest is the StateQuery/GetControllerRequest request type.
func (*GetControllerRequest) Descriptor
deprecated
func (*GetControllerRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetControllerRequest.ProtoReflect.Descriptor instead.
func (*GetControllerRequest) GetSequence ¶
func (x *GetControllerRequest) GetSequence() uint64
func (*GetControllerRequest) ProtoMessage ¶
func (*GetControllerRequest) ProtoMessage()
func (*GetControllerRequest) ProtoReflect ¶
func (x *GetControllerRequest) ProtoReflect() protoreflect.Message
func (*GetControllerRequest) Reset ¶
func (x *GetControllerRequest) Reset()
func (*GetControllerRequest) String ¶
func (x *GetControllerRequest) String() string
type GetControllerResponse ¶
type GetControllerResponse struct { // value is the response value. Value *Controller `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
GetControllerResponse is the StateQuery/GetControllerResponse response type.
func (*GetControllerResponse) Descriptor
deprecated
func (*GetControllerResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetControllerResponse.ProtoReflect.Descriptor instead.
func (*GetControllerResponse) GetValue ¶
func (x *GetControllerResponse) GetValue() *Controller
func (*GetControllerResponse) ProtoMessage ¶
func (*GetControllerResponse) ProtoMessage()
func (*GetControllerResponse) ProtoReflect ¶
func (x *GetControllerResponse) ProtoReflect() protoreflect.Message
func (*GetControllerResponse) Reset ¶
func (x *GetControllerResponse) Reset()
func (*GetControllerResponse) String ¶
func (x *GetControllerResponse) String() string
type ListAccountRequest ¶
type ListAccountRequest struct { // query specifies the type of query - either a prefix or range query. // // Types that are assignable to Query: // // *ListAccountRequest_PrefixQuery // *ListAccountRequest_RangeQuery_ Query isListAccountRequest_Query `protobuf_oneof:"query"` // pagination specifies optional pagination parameters. Pagination *v1beta1.PageRequest `protobuf:"bytes,3,opt,name=pagination,proto3" json:"pagination,omitempty"` // contains filtered or unexported fields }
ListAccountRequest is the StateQuery/ListAccountRequest request type.
func (*ListAccountRequest) Descriptor
deprecated
func (*ListAccountRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListAccountRequest.ProtoReflect.Descriptor instead.
func (*ListAccountRequest) GetPagination ¶
func (x *ListAccountRequest) GetPagination() *v1beta1.PageRequest
func (*ListAccountRequest) GetPrefixQuery ¶
func (x *ListAccountRequest) GetPrefixQuery() *ListAccountRequest_IndexKey
func (*ListAccountRequest) GetQuery ¶
func (m *ListAccountRequest) GetQuery() isListAccountRequest_Query
func (*ListAccountRequest) GetRangeQuery ¶
func (x *ListAccountRequest) GetRangeQuery() *ListAccountRequest_RangeQuery
func (*ListAccountRequest) ProtoMessage ¶
func (*ListAccountRequest) ProtoMessage()
func (*ListAccountRequest) ProtoReflect ¶
func (x *ListAccountRequest) ProtoReflect() protoreflect.Message
func (*ListAccountRequest) Reset ¶
func (x *ListAccountRequest) Reset()
func (*ListAccountRequest) String ¶
func (x *ListAccountRequest) String() string
type ListAccountRequest_IndexKey ¶
type ListAccountRequest_IndexKey struct { // key specifies the index key value. // // Types that are assignable to Key: // // *ListAccountRequest_IndexKey_Sequence_ // *ListAccountRequest_IndexKey_Address_ // *ListAccountRequest_IndexKey_PublicKey_ Key isListAccountRequest_IndexKey_Key `protobuf_oneof:"key"` // contains filtered or unexported fields }
IndexKey specifies the value of an index key to use in prefix and range queries.
func (*ListAccountRequest_IndexKey) Descriptor
deprecated
func (*ListAccountRequest_IndexKey) Descriptor() ([]byte, []int)
Deprecated: Use ListAccountRequest_IndexKey.ProtoReflect.Descriptor instead.
func (*ListAccountRequest_IndexKey) GetAddress ¶
func (x *ListAccountRequest_IndexKey) GetAddress() *ListAccountRequest_IndexKey_Address
func (*ListAccountRequest_IndexKey) GetKey ¶
func (m *ListAccountRequest_IndexKey) GetKey() isListAccountRequest_IndexKey_Key
func (*ListAccountRequest_IndexKey) GetPublicKey ¶
func (x *ListAccountRequest_IndexKey) GetPublicKey() *ListAccountRequest_IndexKey_PublicKey
func (*ListAccountRequest_IndexKey) GetSequence ¶
func (x *ListAccountRequest_IndexKey) GetSequence() *ListAccountRequest_IndexKey_Sequence
func (*ListAccountRequest_IndexKey) ProtoMessage ¶
func (*ListAccountRequest_IndexKey) ProtoMessage()
func (*ListAccountRequest_IndexKey) ProtoReflect ¶
func (x *ListAccountRequest_IndexKey) ProtoReflect() protoreflect.Message
func (*ListAccountRequest_IndexKey) Reset ¶
func (x *ListAccountRequest_IndexKey) Reset()
func (*ListAccountRequest_IndexKey) String ¶
func (x *ListAccountRequest_IndexKey) String() string
type ListAccountRequest_IndexKey_Address ¶
type ListAccountRequest_IndexKey_Address struct { // address is the value of the address field in the index. // It can be omitted to query for all valid values of that field in this segment of the index. Address *string `protobuf:"bytes,1,opt,name=address,proto3,oneof" json:"address,omitempty"` // contains filtered or unexported fields }
func (*ListAccountRequest_IndexKey_Address) Descriptor
deprecated
func (*ListAccountRequest_IndexKey_Address) Descriptor() ([]byte, []int)
Deprecated: Use ListAccountRequest_IndexKey_Address.ProtoReflect.Descriptor instead.
func (*ListAccountRequest_IndexKey_Address) GetAddress ¶
func (x *ListAccountRequest_IndexKey_Address) GetAddress() string
func (*ListAccountRequest_IndexKey_Address) ProtoMessage ¶
func (*ListAccountRequest_IndexKey_Address) ProtoMessage()
func (*ListAccountRequest_IndexKey_Address) ProtoReflect ¶
func (x *ListAccountRequest_IndexKey_Address) ProtoReflect() protoreflect.Message
func (*ListAccountRequest_IndexKey_Address) Reset ¶
func (x *ListAccountRequest_IndexKey_Address) Reset()
func (*ListAccountRequest_IndexKey_Address) String ¶
func (x *ListAccountRequest_IndexKey_Address) String() string
type ListAccountRequest_IndexKey_Address_ ¶
type ListAccountRequest_IndexKey_Address_ struct { // address specifies the value of the Address index key to use in the query. Address *ListAccountRequest_IndexKey_Address `protobuf:"bytes,2,opt,name=address,proto3,oneof"` }
type ListAccountRequest_IndexKey_PublicKey ¶
type ListAccountRequest_IndexKey_PublicKey struct { // public_key is the value of the public_key field in the index. // It can be omitted to query for all valid values of that field in this segment of the index. PublicKey []byte `protobuf:"bytes,1,opt,name=public_key,json=publicKey,proto3,oneof" json:"public_key,omitempty"` // contains filtered or unexported fields }
func (*ListAccountRequest_IndexKey_PublicKey) Descriptor
deprecated
func (*ListAccountRequest_IndexKey_PublicKey) Descriptor() ([]byte, []int)
Deprecated: Use ListAccountRequest_IndexKey_PublicKey.ProtoReflect.Descriptor instead.
func (*ListAccountRequest_IndexKey_PublicKey) GetPublicKey ¶
func (x *ListAccountRequest_IndexKey_PublicKey) GetPublicKey() []byte
func (*ListAccountRequest_IndexKey_PublicKey) ProtoMessage ¶
func (*ListAccountRequest_IndexKey_PublicKey) ProtoMessage()
func (*ListAccountRequest_IndexKey_PublicKey) ProtoReflect ¶
func (x *ListAccountRequest_IndexKey_PublicKey) ProtoReflect() protoreflect.Message
func (*ListAccountRequest_IndexKey_PublicKey) Reset ¶
func (x *ListAccountRequest_IndexKey_PublicKey) Reset()
func (*ListAccountRequest_IndexKey_PublicKey) String ¶
func (x *ListAccountRequest_IndexKey_PublicKey) String() string
type ListAccountRequest_IndexKey_PublicKey_ ¶
type ListAccountRequest_IndexKey_PublicKey_ struct { // public_key specifies the value of the PublicKey index key to use in the query. PublicKey *ListAccountRequest_IndexKey_PublicKey `protobuf:"bytes,3,opt,name=public_key,json=publicKey,proto3,oneof"` }
type ListAccountRequest_IndexKey_Sequence ¶
type ListAccountRequest_IndexKey_Sequence struct { // sequence is the value of the sequence field in the index. // It can be omitted to query for all valid values of that field in this segment of the index. Sequence *uint64 `protobuf:"varint,1,opt,name=sequence,proto3,oneof" json:"sequence,omitempty"` // contains filtered or unexported fields }
func (*ListAccountRequest_IndexKey_Sequence) Descriptor
deprecated
func (*ListAccountRequest_IndexKey_Sequence) Descriptor() ([]byte, []int)
Deprecated: Use ListAccountRequest_IndexKey_Sequence.ProtoReflect.Descriptor instead.
func (*ListAccountRequest_IndexKey_Sequence) GetSequence ¶
func (x *ListAccountRequest_IndexKey_Sequence) GetSequence() uint64
func (*ListAccountRequest_IndexKey_Sequence) ProtoMessage ¶
func (*ListAccountRequest_IndexKey_Sequence) ProtoMessage()
func (*ListAccountRequest_IndexKey_Sequence) ProtoReflect ¶
func (x *ListAccountRequest_IndexKey_Sequence) ProtoReflect() protoreflect.Message
func (*ListAccountRequest_IndexKey_Sequence) Reset ¶
func (x *ListAccountRequest_IndexKey_Sequence) Reset()
func (*ListAccountRequest_IndexKey_Sequence) String ¶
func (x *ListAccountRequest_IndexKey_Sequence) String() string
type ListAccountRequest_IndexKey_Sequence_ ¶
type ListAccountRequest_IndexKey_Sequence_ struct { // sequence specifies the value of the Sequence index key to use in the query. Sequence *ListAccountRequest_IndexKey_Sequence `protobuf:"bytes,1,opt,name=sequence,proto3,oneof"` }
type ListAccountRequest_PrefixQuery ¶
type ListAccountRequest_PrefixQuery struct { // prefix_query specifies the index key value to use for the prefix query. PrefixQuery *ListAccountRequest_IndexKey `protobuf:"bytes,1,opt,name=prefix_query,json=prefixQuery,proto3,oneof"` }
type ListAccountRequest_RangeQuery ¶
type ListAccountRequest_RangeQuery struct { // from is the index key to use for the start of the range query. // To query from the start of an index, specify an index key for that index with empty values. From *ListAccountRequest_IndexKey `protobuf:"bytes,1,opt,name=from,proto3" json:"from,omitempty"` // to is the index key to use for the end of the range query. // The index key type MUST be the same as the index key type used for from. // To query from to the end of an index it can be omitted. To *ListAccountRequest_IndexKey `protobuf:"bytes,2,opt,name=to,proto3" json:"to,omitempty"` // contains filtered or unexported fields }
RangeQuery specifies the from/to index keys for a range query.
func (*ListAccountRequest_RangeQuery) Descriptor
deprecated
func (*ListAccountRequest_RangeQuery) Descriptor() ([]byte, []int)
Deprecated: Use ListAccountRequest_RangeQuery.ProtoReflect.Descriptor instead.
func (*ListAccountRequest_RangeQuery) GetFrom ¶
func (x *ListAccountRequest_RangeQuery) GetFrom() *ListAccountRequest_IndexKey
func (*ListAccountRequest_RangeQuery) GetTo ¶
func (x *ListAccountRequest_RangeQuery) GetTo() *ListAccountRequest_IndexKey
func (*ListAccountRequest_RangeQuery) ProtoMessage ¶
func (*ListAccountRequest_RangeQuery) ProtoMessage()
func (*ListAccountRequest_RangeQuery) ProtoReflect ¶
func (x *ListAccountRequest_RangeQuery) ProtoReflect() protoreflect.Message
func (*ListAccountRequest_RangeQuery) Reset ¶
func (x *ListAccountRequest_RangeQuery) Reset()
func (*ListAccountRequest_RangeQuery) String ¶
func (x *ListAccountRequest_RangeQuery) String() string
type ListAccountRequest_RangeQuery_ ¶
type ListAccountRequest_RangeQuery_ struct { // range_query specifies the index key from/to values to use for the range query. RangeQuery *ListAccountRequest_RangeQuery `protobuf:"bytes,2,opt,name=range_query,json=rangeQuery,proto3,oneof"` }
type ListAccountResponse ¶
type ListAccountResponse struct { // values are the results of the query. Values []*Account `protobuf:"bytes,1,rep,name=values,proto3" json:"values,omitempty"` // pagination is the pagination response. Pagination *v1beta1.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"` // contains filtered or unexported fields }
ListAccountResponse is the StateQuery/ListAccountResponse response type.
func (*ListAccountResponse) Descriptor
deprecated
func (*ListAccountResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListAccountResponse.ProtoReflect.Descriptor instead.
func (*ListAccountResponse) GetPagination ¶
func (x *ListAccountResponse) GetPagination() *v1beta1.PageResponse
func (*ListAccountResponse) GetValues ¶
func (x *ListAccountResponse) GetValues() []*Account
func (*ListAccountResponse) ProtoMessage ¶
func (*ListAccountResponse) ProtoMessage()
func (*ListAccountResponse) ProtoReflect ¶
func (x *ListAccountResponse) ProtoReflect() protoreflect.Message
func (*ListAccountResponse) Reset ¶
func (x *ListAccountResponse) Reset()
func (*ListAccountResponse) String ¶
func (x *ListAccountResponse) String() string
type ListAccumulatorRequest ¶
type ListAccumulatorRequest struct { // query specifies the type of query - either a prefix or range query. // // Types that are assignable to Query: // // *ListAccumulatorRequest_PrefixQuery // *ListAccumulatorRequest_RangeQuery_ Query isListAccumulatorRequest_Query `protobuf_oneof:"query"` // pagination specifies optional pagination parameters. Pagination *v1beta1.PageRequest `protobuf:"bytes,3,opt,name=pagination,proto3" json:"pagination,omitempty"` // contains filtered or unexported fields }
ListAccumulatorRequest is the StateQuery/ListAccumulatorRequest request type.
func (*ListAccumulatorRequest) Descriptor
deprecated
func (*ListAccumulatorRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListAccumulatorRequest.ProtoReflect.Descriptor instead.
func (*ListAccumulatorRequest) GetPagination ¶
func (x *ListAccumulatorRequest) GetPagination() *v1beta1.PageRequest
func (*ListAccumulatorRequest) GetPrefixQuery ¶
func (x *ListAccumulatorRequest) GetPrefixQuery() *ListAccumulatorRequest_IndexKey
func (*ListAccumulatorRequest) GetQuery ¶
func (m *ListAccumulatorRequest) GetQuery() isListAccumulatorRequest_Query
func (*ListAccumulatorRequest) GetRangeQuery ¶
func (x *ListAccumulatorRequest) GetRangeQuery() *ListAccumulatorRequest_RangeQuery
func (*ListAccumulatorRequest) ProtoMessage ¶
func (*ListAccumulatorRequest) ProtoMessage()
func (*ListAccumulatorRequest) ProtoReflect ¶
func (x *ListAccumulatorRequest) ProtoReflect() protoreflect.Message
func (*ListAccumulatorRequest) Reset ¶
func (x *ListAccumulatorRequest) Reset()
func (*ListAccumulatorRequest) String ¶
func (x *ListAccumulatorRequest) String() string
type ListAccumulatorRequest_IndexKey ¶
type ListAccumulatorRequest_IndexKey struct { // key specifies the index key value. // // Types that are assignable to Key: // // *ListAccumulatorRequest_IndexKey_Index_ // *ListAccumulatorRequest_IndexKey_ControllerKey_ Key isListAccumulatorRequest_IndexKey_Key `protobuf_oneof:"key"` // contains filtered or unexported fields }
IndexKey specifies the value of an index key to use in prefix and range queries.
func (*ListAccumulatorRequest_IndexKey) Descriptor
deprecated
func (*ListAccumulatorRequest_IndexKey) Descriptor() ([]byte, []int)
Deprecated: Use ListAccumulatorRequest_IndexKey.ProtoReflect.Descriptor instead.
func (*ListAccumulatorRequest_IndexKey) GetControllerKey ¶
func (x *ListAccumulatorRequest_IndexKey) GetControllerKey() *ListAccumulatorRequest_IndexKey_ControllerKey
func (*ListAccumulatorRequest_IndexKey) GetIndex ¶
func (x *ListAccumulatorRequest_IndexKey) GetIndex() *ListAccumulatorRequest_IndexKey_Index
func (*ListAccumulatorRequest_IndexKey) GetKey ¶
func (m *ListAccumulatorRequest_IndexKey) GetKey() isListAccumulatorRequest_IndexKey_Key
func (*ListAccumulatorRequest_IndexKey) ProtoMessage ¶
func (*ListAccumulatorRequest_IndexKey) ProtoMessage()
func (*ListAccumulatorRequest_IndexKey) ProtoReflect ¶
func (x *ListAccumulatorRequest_IndexKey) ProtoReflect() protoreflect.Message
func (*ListAccumulatorRequest_IndexKey) Reset ¶
func (x *ListAccumulatorRequest_IndexKey) Reset()
func (*ListAccumulatorRequest_IndexKey) String ¶
func (x *ListAccumulatorRequest_IndexKey) String() string
type ListAccumulatorRequest_IndexKey_ControllerKey ¶
type ListAccumulatorRequest_IndexKey_ControllerKey struct { // controller is the value of the controller field in the index. // It can be omitted to query for all valid values of that field in this segment of the index. Controller *string `protobuf:"bytes,1,opt,name=controller,proto3,oneof" json:"controller,omitempty"` // key is the value of the key field in the index. // It can be omitted to query for all valid values of that field in this segment of the index. Key *string `protobuf:"bytes,2,opt,name=key,proto3,oneof" json:"key,omitempty"` // contains filtered or unexported fields }
func (*ListAccumulatorRequest_IndexKey_ControllerKey) Descriptor
deprecated
func (*ListAccumulatorRequest_IndexKey_ControllerKey) Descriptor() ([]byte, []int)
Deprecated: Use ListAccumulatorRequest_IndexKey_ControllerKey.ProtoReflect.Descriptor instead.
func (*ListAccumulatorRequest_IndexKey_ControllerKey) GetController ¶
func (x *ListAccumulatorRequest_IndexKey_ControllerKey) GetController() string
func (*ListAccumulatorRequest_IndexKey_ControllerKey) GetKey ¶
func (x *ListAccumulatorRequest_IndexKey_ControllerKey) GetKey() string
func (*ListAccumulatorRequest_IndexKey_ControllerKey) ProtoMessage ¶
func (*ListAccumulatorRequest_IndexKey_ControllerKey) ProtoMessage()
func (*ListAccumulatorRequest_IndexKey_ControllerKey) ProtoReflect ¶
func (x *ListAccumulatorRequest_IndexKey_ControllerKey) ProtoReflect() protoreflect.Message
func (*ListAccumulatorRequest_IndexKey_ControllerKey) Reset ¶
func (x *ListAccumulatorRequest_IndexKey_ControllerKey) Reset()
func (*ListAccumulatorRequest_IndexKey_ControllerKey) String ¶
func (x *ListAccumulatorRequest_IndexKey_ControllerKey) String() string
type ListAccumulatorRequest_IndexKey_ControllerKey_ ¶
type ListAccumulatorRequest_IndexKey_ControllerKey_ struct { // controller_key specifies the value of the ControllerKey index key to use in the query. ControllerKey *ListAccumulatorRequest_IndexKey_ControllerKey `protobuf:"bytes,2,opt,name=controller_key,json=controllerKey,proto3,oneof"` }
type ListAccumulatorRequest_IndexKey_Index ¶
type ListAccumulatorRequest_IndexKey_Index struct { // index is the value of the index field in the index. // It can be omitted to query for all valid values of that field in this segment of the index. Index *uint64 `protobuf:"varint,1,opt,name=index,proto3,oneof" json:"index,omitempty"` // contains filtered or unexported fields }
func (*ListAccumulatorRequest_IndexKey_Index) Descriptor
deprecated
func (*ListAccumulatorRequest_IndexKey_Index) Descriptor() ([]byte, []int)
Deprecated: Use ListAccumulatorRequest_IndexKey_Index.ProtoReflect.Descriptor instead.
func (*ListAccumulatorRequest_IndexKey_Index) GetIndex ¶
func (x *ListAccumulatorRequest_IndexKey_Index) GetIndex() uint64
func (*ListAccumulatorRequest_IndexKey_Index) ProtoMessage ¶
func (*ListAccumulatorRequest_IndexKey_Index) ProtoMessage()
func (*ListAccumulatorRequest_IndexKey_Index) ProtoReflect ¶
func (x *ListAccumulatorRequest_IndexKey_Index) ProtoReflect() protoreflect.Message
func (*ListAccumulatorRequest_IndexKey_Index) Reset ¶
func (x *ListAccumulatorRequest_IndexKey_Index) Reset()
func (*ListAccumulatorRequest_IndexKey_Index) String ¶
func (x *ListAccumulatorRequest_IndexKey_Index) String() string
type ListAccumulatorRequest_IndexKey_Index_ ¶
type ListAccumulatorRequest_IndexKey_Index_ struct { // index specifies the value of the Index index key to use in the query. Index *ListAccumulatorRequest_IndexKey_Index `protobuf:"bytes,1,opt,name=index,proto3,oneof"` }
type ListAccumulatorRequest_PrefixQuery ¶
type ListAccumulatorRequest_PrefixQuery struct { // prefix_query specifies the index key value to use for the prefix query. PrefixQuery *ListAccumulatorRequest_IndexKey `protobuf:"bytes,1,opt,name=prefix_query,json=prefixQuery,proto3,oneof"` }
type ListAccumulatorRequest_RangeQuery ¶
type ListAccumulatorRequest_RangeQuery struct { // from is the index key to use for the start of the range query. // To query from the start of an index, specify an index key for that index with empty values. From *ListAccumulatorRequest_IndexKey `protobuf:"bytes,1,opt,name=from,proto3" json:"from,omitempty"` // to is the index key to use for the end of the range query. // The index key type MUST be the same as the index key type used for from. // To query from to the end of an index it can be omitted. To *ListAccumulatorRequest_IndexKey `protobuf:"bytes,2,opt,name=to,proto3" json:"to,omitempty"` // contains filtered or unexported fields }
RangeQuery specifies the from/to index keys for a range query.
func (*ListAccumulatorRequest_RangeQuery) Descriptor
deprecated
func (*ListAccumulatorRequest_RangeQuery) Descriptor() ([]byte, []int)
Deprecated: Use ListAccumulatorRequest_RangeQuery.ProtoReflect.Descriptor instead.
func (*ListAccumulatorRequest_RangeQuery) GetFrom ¶
func (x *ListAccumulatorRequest_RangeQuery) GetFrom() *ListAccumulatorRequest_IndexKey
func (*ListAccumulatorRequest_RangeQuery) GetTo ¶
func (x *ListAccumulatorRequest_RangeQuery) GetTo() *ListAccumulatorRequest_IndexKey
func (*ListAccumulatorRequest_RangeQuery) ProtoMessage ¶
func (*ListAccumulatorRequest_RangeQuery) ProtoMessage()
func (*ListAccumulatorRequest_RangeQuery) ProtoReflect ¶
func (x *ListAccumulatorRequest_RangeQuery) ProtoReflect() protoreflect.Message
func (*ListAccumulatorRequest_RangeQuery) Reset ¶
func (x *ListAccumulatorRequest_RangeQuery) Reset()
func (*ListAccumulatorRequest_RangeQuery) String ¶
func (x *ListAccumulatorRequest_RangeQuery) String() string
type ListAccumulatorRequest_RangeQuery_ ¶
type ListAccumulatorRequest_RangeQuery_ struct { // range_query specifies the index key from/to values to use for the range query. RangeQuery *ListAccumulatorRequest_RangeQuery `protobuf:"bytes,2,opt,name=range_query,json=rangeQuery,proto3,oneof"` }
type ListAccumulatorResponse ¶
type ListAccumulatorResponse struct { // values are the results of the query. Values []*Accumulator `protobuf:"bytes,1,rep,name=values,proto3" json:"values,omitempty"` // pagination is the pagination response. Pagination *v1beta1.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"` // contains filtered or unexported fields }
ListAccumulatorResponse is the StateQuery/ListAccumulatorResponse response type.
func (*ListAccumulatorResponse) Descriptor
deprecated
func (*ListAccumulatorResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListAccumulatorResponse.ProtoReflect.Descriptor instead.
func (*ListAccumulatorResponse) GetPagination ¶
func (x *ListAccumulatorResponse) GetPagination() *v1beta1.PageResponse
func (*ListAccumulatorResponse) GetValues ¶
func (x *ListAccumulatorResponse) GetValues() []*Accumulator
func (*ListAccumulatorResponse) ProtoMessage ¶
func (*ListAccumulatorResponse) ProtoMessage()
func (*ListAccumulatorResponse) ProtoReflect ¶
func (x *ListAccumulatorResponse) ProtoReflect() protoreflect.Message
func (*ListAccumulatorResponse) Reset ¶
func (x *ListAccumulatorResponse) Reset()
func (*ListAccumulatorResponse) String ¶
func (x *ListAccumulatorResponse) String() string
type ListBlockchainRequest ¶
type ListBlockchainRequest struct { // query specifies the type of query - either a prefix or range query. // // Types that are assignable to Query: // // *ListBlockchainRequest_PrefixQuery // *ListBlockchainRequest_RangeQuery_ Query isListBlockchainRequest_Query `protobuf_oneof:"query"` // pagination specifies optional pagination parameters. Pagination *v1beta1.PageRequest `protobuf:"bytes,3,opt,name=pagination,proto3" json:"pagination,omitempty"` // contains filtered or unexported fields }
ListBlockchainRequest is the StateQuery/ListBlockchainRequest request type.
func (*ListBlockchainRequest) Descriptor
deprecated
func (*ListBlockchainRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListBlockchainRequest.ProtoReflect.Descriptor instead.
func (*ListBlockchainRequest) GetPagination ¶
func (x *ListBlockchainRequest) GetPagination() *v1beta1.PageRequest
func (*ListBlockchainRequest) GetPrefixQuery ¶
func (x *ListBlockchainRequest) GetPrefixQuery() *ListBlockchainRequest_IndexKey
func (*ListBlockchainRequest) GetQuery ¶
func (m *ListBlockchainRequest) GetQuery() isListBlockchainRequest_Query
func (*ListBlockchainRequest) GetRangeQuery ¶
func (x *ListBlockchainRequest) GetRangeQuery() *ListBlockchainRequest_RangeQuery
func (*ListBlockchainRequest) ProtoMessage ¶
func (*ListBlockchainRequest) ProtoMessage()
func (*ListBlockchainRequest) ProtoReflect ¶
func (x *ListBlockchainRequest) ProtoReflect() protoreflect.Message
func (*ListBlockchainRequest) Reset ¶
func (x *ListBlockchainRequest) Reset()
func (*ListBlockchainRequest) String ¶
func (x *ListBlockchainRequest) String() string
type ListBlockchainRequest_IndexKey ¶
type ListBlockchainRequest_IndexKey struct { // key specifies the index key value. // // Types that are assignable to Key: // // *ListBlockchainRequest_IndexKey_Index_ // *ListBlockchainRequest_IndexKey_ChainId_ // *ListBlockchainRequest_IndexKey_Name_ Key isListBlockchainRequest_IndexKey_Key `protobuf_oneof:"key"` // contains filtered or unexported fields }
IndexKey specifies the value of an index key to use in prefix and range queries.
func (*ListBlockchainRequest_IndexKey) Descriptor
deprecated
func (*ListBlockchainRequest_IndexKey) Descriptor() ([]byte, []int)
Deprecated: Use ListBlockchainRequest_IndexKey.ProtoReflect.Descriptor instead.
func (*ListBlockchainRequest_IndexKey) GetChainId ¶
func (x *ListBlockchainRequest_IndexKey) GetChainId() *ListBlockchainRequest_IndexKey_ChainId
func (*ListBlockchainRequest_IndexKey) GetIndex ¶
func (x *ListBlockchainRequest_IndexKey) GetIndex() *ListBlockchainRequest_IndexKey_Index
func (*ListBlockchainRequest_IndexKey) GetKey ¶
func (m *ListBlockchainRequest_IndexKey) GetKey() isListBlockchainRequest_IndexKey_Key
func (*ListBlockchainRequest_IndexKey) GetName ¶
func (x *ListBlockchainRequest_IndexKey) GetName() *ListBlockchainRequest_IndexKey_Name
func (*ListBlockchainRequest_IndexKey) ProtoMessage ¶
func (*ListBlockchainRequest_IndexKey) ProtoMessage()
func (*ListBlockchainRequest_IndexKey) ProtoReflect ¶
func (x *ListBlockchainRequest_IndexKey) ProtoReflect() protoreflect.Message
func (*ListBlockchainRequest_IndexKey) Reset ¶
func (x *ListBlockchainRequest_IndexKey) Reset()
func (*ListBlockchainRequest_IndexKey) String ¶
func (x *ListBlockchainRequest_IndexKey) String() string
type ListBlockchainRequest_IndexKey_ChainId ¶
type ListBlockchainRequest_IndexKey_ChainId struct { // chain_id is the value of the chain_id field in the index. // It can be omitted to query for all valid values of that field in this segment of the index. ChainId *string `protobuf:"bytes,1,opt,name=chain_id,json=chainId,proto3,oneof" json:"chain_id,omitempty"` // contains filtered or unexported fields }
func (*ListBlockchainRequest_IndexKey_ChainId) Descriptor
deprecated
func (*ListBlockchainRequest_IndexKey_ChainId) Descriptor() ([]byte, []int)
Deprecated: Use ListBlockchainRequest_IndexKey_ChainId.ProtoReflect.Descriptor instead.
func (*ListBlockchainRequest_IndexKey_ChainId) GetChainId ¶
func (x *ListBlockchainRequest_IndexKey_ChainId) GetChainId() string
func (*ListBlockchainRequest_IndexKey_ChainId) ProtoMessage ¶
func (*ListBlockchainRequest_IndexKey_ChainId) ProtoMessage()
func (*ListBlockchainRequest_IndexKey_ChainId) ProtoReflect ¶
func (x *ListBlockchainRequest_IndexKey_ChainId) ProtoReflect() protoreflect.Message
func (*ListBlockchainRequest_IndexKey_ChainId) Reset ¶
func (x *ListBlockchainRequest_IndexKey_ChainId) Reset()
func (*ListBlockchainRequest_IndexKey_ChainId) String ¶
func (x *ListBlockchainRequest_IndexKey_ChainId) String() string
type ListBlockchainRequest_IndexKey_ChainId_ ¶
type ListBlockchainRequest_IndexKey_ChainId_ struct { // chain_id specifies the value of the ChainId index key to use in the query. ChainId *ListBlockchainRequest_IndexKey_ChainId `protobuf:"bytes,2,opt,name=chain_id,json=chainId,proto3,oneof"` }
type ListBlockchainRequest_IndexKey_Index ¶
type ListBlockchainRequest_IndexKey_Index struct { // index is the value of the index field in the index. // It can be omitted to query for all valid values of that field in this segment of the index. Index *uint64 `protobuf:"varint,1,opt,name=index,proto3,oneof" json:"index,omitempty"` // contains filtered or unexported fields }
func (*ListBlockchainRequest_IndexKey_Index) Descriptor
deprecated
func (*ListBlockchainRequest_IndexKey_Index) Descriptor() ([]byte, []int)
Deprecated: Use ListBlockchainRequest_IndexKey_Index.ProtoReflect.Descriptor instead.
func (*ListBlockchainRequest_IndexKey_Index) GetIndex ¶
func (x *ListBlockchainRequest_IndexKey_Index) GetIndex() uint64
func (*ListBlockchainRequest_IndexKey_Index) ProtoMessage ¶
func (*ListBlockchainRequest_IndexKey_Index) ProtoMessage()
func (*ListBlockchainRequest_IndexKey_Index) ProtoReflect ¶
func (x *ListBlockchainRequest_IndexKey_Index) ProtoReflect() protoreflect.Message
func (*ListBlockchainRequest_IndexKey_Index) Reset ¶
func (x *ListBlockchainRequest_IndexKey_Index) Reset()
func (*ListBlockchainRequest_IndexKey_Index) String ¶
func (x *ListBlockchainRequest_IndexKey_Index) String() string
type ListBlockchainRequest_IndexKey_Index_ ¶
type ListBlockchainRequest_IndexKey_Index_ struct { // index specifies the value of the Index index key to use in the query. Index *ListBlockchainRequest_IndexKey_Index `protobuf:"bytes,1,opt,name=index,proto3,oneof"` }
type ListBlockchainRequest_IndexKey_Name ¶
type ListBlockchainRequest_IndexKey_Name struct { // name is the value of the name field in the index. // It can be omitted to query for all valid values of that field in this segment of the index. Name *string `protobuf:"bytes,1,opt,name=name,proto3,oneof" json:"name,omitempty"` // contains filtered or unexported fields }
func (*ListBlockchainRequest_IndexKey_Name) Descriptor
deprecated
func (*ListBlockchainRequest_IndexKey_Name) Descriptor() ([]byte, []int)
Deprecated: Use ListBlockchainRequest_IndexKey_Name.ProtoReflect.Descriptor instead.
func (*ListBlockchainRequest_IndexKey_Name) GetName ¶
func (x *ListBlockchainRequest_IndexKey_Name) GetName() string
func (*ListBlockchainRequest_IndexKey_Name) ProtoMessage ¶
func (*ListBlockchainRequest_IndexKey_Name) ProtoMessage()
func (*ListBlockchainRequest_IndexKey_Name) ProtoReflect ¶
func (x *ListBlockchainRequest_IndexKey_Name) ProtoReflect() protoreflect.Message
func (*ListBlockchainRequest_IndexKey_Name) Reset ¶
func (x *ListBlockchainRequest_IndexKey_Name) Reset()
func (*ListBlockchainRequest_IndexKey_Name) String ¶
func (x *ListBlockchainRequest_IndexKey_Name) String() string
type ListBlockchainRequest_IndexKey_Name_ ¶
type ListBlockchainRequest_IndexKey_Name_ struct { // name specifies the value of the Name index key to use in the query. Name *ListBlockchainRequest_IndexKey_Name `protobuf:"bytes,3,opt,name=name,proto3,oneof"` }
type ListBlockchainRequest_PrefixQuery ¶
type ListBlockchainRequest_PrefixQuery struct { // prefix_query specifies the index key value to use for the prefix query. PrefixQuery *ListBlockchainRequest_IndexKey `protobuf:"bytes,1,opt,name=prefix_query,json=prefixQuery,proto3,oneof"` }
type ListBlockchainRequest_RangeQuery ¶
type ListBlockchainRequest_RangeQuery struct { // from is the index key to use for the start of the range query. // To query from the start of an index, specify an index key for that index with empty values. From *ListBlockchainRequest_IndexKey `protobuf:"bytes,1,opt,name=from,proto3" json:"from,omitempty"` // to is the index key to use for the end of the range query. // The index key type MUST be the same as the index key type used for from. // To query from to the end of an index it can be omitted. To *ListBlockchainRequest_IndexKey `protobuf:"bytes,2,opt,name=to,proto3" json:"to,omitempty"` // contains filtered or unexported fields }
RangeQuery specifies the from/to index keys for a range query.
func (*ListBlockchainRequest_RangeQuery) Descriptor
deprecated
func (*ListBlockchainRequest_RangeQuery) Descriptor() ([]byte, []int)
Deprecated: Use ListBlockchainRequest_RangeQuery.ProtoReflect.Descriptor instead.
func (*ListBlockchainRequest_RangeQuery) GetFrom ¶
func (x *ListBlockchainRequest_RangeQuery) GetFrom() *ListBlockchainRequest_IndexKey
func (*ListBlockchainRequest_RangeQuery) GetTo ¶
func (x *ListBlockchainRequest_RangeQuery) GetTo() *ListBlockchainRequest_IndexKey
func (*ListBlockchainRequest_RangeQuery) ProtoMessage ¶
func (*ListBlockchainRequest_RangeQuery) ProtoMessage()
func (*ListBlockchainRequest_RangeQuery) ProtoReflect ¶
func (x *ListBlockchainRequest_RangeQuery) ProtoReflect() protoreflect.Message
func (*ListBlockchainRequest_RangeQuery) Reset ¶
func (x *ListBlockchainRequest_RangeQuery) Reset()
func (*ListBlockchainRequest_RangeQuery) String ¶
func (x *ListBlockchainRequest_RangeQuery) String() string
type ListBlockchainRequest_RangeQuery_ ¶
type ListBlockchainRequest_RangeQuery_ struct { // range_query specifies the index key from/to values to use for the range query. RangeQuery *ListBlockchainRequest_RangeQuery `protobuf:"bytes,2,opt,name=range_query,json=rangeQuery,proto3,oneof"` }
type ListBlockchainResponse ¶
type ListBlockchainResponse struct { // values are the results of the query. Values []*Blockchain `protobuf:"bytes,1,rep,name=values,proto3" json:"values,omitempty"` // pagination is the pagination response. Pagination *v1beta1.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"` // contains filtered or unexported fields }
ListBlockchainResponse is the StateQuery/ListBlockchainResponse response type.
func (*ListBlockchainResponse) Descriptor
deprecated
func (*ListBlockchainResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListBlockchainResponse.ProtoReflect.Descriptor instead.
func (*ListBlockchainResponse) GetPagination ¶
func (x *ListBlockchainResponse) GetPagination() *v1beta1.PageResponse
func (*ListBlockchainResponse) GetValues ¶
func (x *ListBlockchainResponse) GetValues() []*Blockchain
func (*ListBlockchainResponse) ProtoMessage ¶
func (*ListBlockchainResponse) ProtoMessage()
func (*ListBlockchainResponse) ProtoReflect ¶
func (x *ListBlockchainResponse) ProtoReflect() protoreflect.Message
func (*ListBlockchainResponse) Reset ¶
func (x *ListBlockchainResponse) Reset()
func (*ListBlockchainResponse) String ¶
func (x *ListBlockchainResponse) String() string
type ListControllerRequest ¶
type ListControllerRequest struct { // query specifies the type of query - either a prefix or range query. // // Types that are assignable to Query: // // *ListControllerRequest_PrefixQuery // *ListControllerRequest_RangeQuery_ Query isListControllerRequest_Query `protobuf_oneof:"query"` // pagination specifies optional pagination parameters. Pagination *v1beta1.PageRequest `protobuf:"bytes,3,opt,name=pagination,proto3" json:"pagination,omitempty"` // contains filtered or unexported fields }
ListControllerRequest is the StateQuery/ListControllerRequest request type.
func (*ListControllerRequest) Descriptor
deprecated
func (*ListControllerRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListControllerRequest.ProtoReflect.Descriptor instead.
func (*ListControllerRequest) GetPagination ¶
func (x *ListControllerRequest) GetPagination() *v1beta1.PageRequest
func (*ListControllerRequest) GetPrefixQuery ¶
func (x *ListControllerRequest) GetPrefixQuery() *ListControllerRequest_IndexKey
func (*ListControllerRequest) GetQuery ¶
func (m *ListControllerRequest) GetQuery() isListControllerRequest_Query
func (*ListControllerRequest) GetRangeQuery ¶
func (x *ListControllerRequest) GetRangeQuery() *ListControllerRequest_RangeQuery
func (*ListControllerRequest) ProtoMessage ¶
func (*ListControllerRequest) ProtoMessage()
func (*ListControllerRequest) ProtoReflect ¶
func (x *ListControllerRequest) ProtoReflect() protoreflect.Message
func (*ListControllerRequest) Reset ¶
func (x *ListControllerRequest) Reset()
func (*ListControllerRequest) String ¶
func (x *ListControllerRequest) String() string
type ListControllerRequest_IndexKey ¶
type ListControllerRequest_IndexKey struct { // key specifies the index key value. // // Types that are assignable to Key: // // *ListControllerRequest_IndexKey_Sequence_ // *ListControllerRequest_IndexKey_Address_ // *ListControllerRequest_IndexKey_PublicKey_ // *ListControllerRequest_IndexKey_PeerId_ // *ListControllerRequest_IndexKey_Ipns_ Key isListControllerRequest_IndexKey_Key `protobuf_oneof:"key"` // contains filtered or unexported fields }
IndexKey specifies the value of an index key to use in prefix and range queries.
func (*ListControllerRequest_IndexKey) Descriptor
deprecated
func (*ListControllerRequest_IndexKey) Descriptor() ([]byte, []int)
Deprecated: Use ListControllerRequest_IndexKey.ProtoReflect.Descriptor instead.
func (*ListControllerRequest_IndexKey) GetAddress ¶
func (x *ListControllerRequest_IndexKey) GetAddress() *ListControllerRequest_IndexKey_Address
func (*ListControllerRequest_IndexKey) GetIpns ¶
func (x *ListControllerRequest_IndexKey) GetIpns() *ListControllerRequest_IndexKey_Ipns
func (*ListControllerRequest_IndexKey) GetKey ¶
func (m *ListControllerRequest_IndexKey) GetKey() isListControllerRequest_IndexKey_Key
func (*ListControllerRequest_IndexKey) GetPeerId ¶
func (x *ListControllerRequest_IndexKey) GetPeerId() *ListControllerRequest_IndexKey_PeerId
func (*ListControllerRequest_IndexKey) GetPublicKey ¶
func (x *ListControllerRequest_IndexKey) GetPublicKey() *ListControllerRequest_IndexKey_PublicKey
func (*ListControllerRequest_IndexKey) GetSequence ¶
func (x *ListControllerRequest_IndexKey) GetSequence() *ListControllerRequest_IndexKey_Sequence
func (*ListControllerRequest_IndexKey) ProtoMessage ¶
func (*ListControllerRequest_IndexKey) ProtoMessage()
func (*ListControllerRequest_IndexKey) ProtoReflect ¶
func (x *ListControllerRequest_IndexKey) ProtoReflect() protoreflect.Message
func (*ListControllerRequest_IndexKey) Reset ¶
func (x *ListControllerRequest_IndexKey) Reset()
func (*ListControllerRequest_IndexKey) String ¶
func (x *ListControllerRequest_IndexKey) String() string
type ListControllerRequest_IndexKey_Address ¶
type ListControllerRequest_IndexKey_Address struct { // address is the value of the address field in the index. // It can be omitted to query for all valid values of that field in this segment of the index. Address *string `protobuf:"bytes,1,opt,name=address,proto3,oneof" json:"address,omitempty"` // contains filtered or unexported fields }
func (*ListControllerRequest_IndexKey_Address) Descriptor
deprecated
func (*ListControllerRequest_IndexKey_Address) Descriptor() ([]byte, []int)
Deprecated: Use ListControllerRequest_IndexKey_Address.ProtoReflect.Descriptor instead.
func (*ListControllerRequest_IndexKey_Address) GetAddress ¶
func (x *ListControllerRequest_IndexKey_Address) GetAddress() string
func (*ListControllerRequest_IndexKey_Address) ProtoMessage ¶
func (*ListControllerRequest_IndexKey_Address) ProtoMessage()
func (*ListControllerRequest_IndexKey_Address) ProtoReflect ¶
func (x *ListControllerRequest_IndexKey_Address) ProtoReflect() protoreflect.Message
func (*ListControllerRequest_IndexKey_Address) Reset ¶
func (x *ListControllerRequest_IndexKey_Address) Reset()
func (*ListControllerRequest_IndexKey_Address) String ¶
func (x *ListControllerRequest_IndexKey_Address) String() string
type ListControllerRequest_IndexKey_Address_ ¶
type ListControllerRequest_IndexKey_Address_ struct { // address specifies the value of the Address index key to use in the query. Address *ListControllerRequest_IndexKey_Address `protobuf:"bytes,2,opt,name=address,proto3,oneof"` }
type ListControllerRequest_IndexKey_Ipns ¶
type ListControllerRequest_IndexKey_Ipns struct { // ipns is the value of the ipns field in the index. // It can be omitted to query for all valid values of that field in this segment of the index. Ipns *string `protobuf:"bytes,1,opt,name=ipns,proto3,oneof" json:"ipns,omitempty"` // contains filtered or unexported fields }
func (*ListControllerRequest_IndexKey_Ipns) Descriptor
deprecated
func (*ListControllerRequest_IndexKey_Ipns) Descriptor() ([]byte, []int)
Deprecated: Use ListControllerRequest_IndexKey_Ipns.ProtoReflect.Descriptor instead.
func (*ListControllerRequest_IndexKey_Ipns) GetIpns ¶
func (x *ListControllerRequest_IndexKey_Ipns) GetIpns() string
func (*ListControllerRequest_IndexKey_Ipns) ProtoMessage ¶
func (*ListControllerRequest_IndexKey_Ipns) ProtoMessage()
func (*ListControllerRequest_IndexKey_Ipns) ProtoReflect ¶
func (x *ListControllerRequest_IndexKey_Ipns) ProtoReflect() protoreflect.Message
func (*ListControllerRequest_IndexKey_Ipns) Reset ¶
func (x *ListControllerRequest_IndexKey_Ipns) Reset()
func (*ListControllerRequest_IndexKey_Ipns) String ¶
func (x *ListControllerRequest_IndexKey_Ipns) String() string
type ListControllerRequest_IndexKey_Ipns_ ¶
type ListControllerRequest_IndexKey_Ipns_ struct { // ipns specifies the value of the Ipns index key to use in the query. Ipns *ListControllerRequest_IndexKey_Ipns `protobuf:"bytes,5,opt,name=ipns,proto3,oneof"` }
type ListControllerRequest_IndexKey_PeerId ¶
type ListControllerRequest_IndexKey_PeerId struct { // peer_id is the value of the peer_id field in the index. // It can be omitted to query for all valid values of that field in this segment of the index. PeerId *string `protobuf:"bytes,1,opt,name=peer_id,json=peerId,proto3,oneof" json:"peer_id,omitempty"` // contains filtered or unexported fields }
func (*ListControllerRequest_IndexKey_PeerId) Descriptor
deprecated
func (*ListControllerRequest_IndexKey_PeerId) Descriptor() ([]byte, []int)
Deprecated: Use ListControllerRequest_IndexKey_PeerId.ProtoReflect.Descriptor instead.
func (*ListControllerRequest_IndexKey_PeerId) GetPeerId ¶
func (x *ListControllerRequest_IndexKey_PeerId) GetPeerId() string
func (*ListControllerRequest_IndexKey_PeerId) ProtoMessage ¶
func (*ListControllerRequest_IndexKey_PeerId) ProtoMessage()
func (*ListControllerRequest_IndexKey_PeerId) ProtoReflect ¶
func (x *ListControllerRequest_IndexKey_PeerId) ProtoReflect() protoreflect.Message
func (*ListControllerRequest_IndexKey_PeerId) Reset ¶
func (x *ListControllerRequest_IndexKey_PeerId) Reset()
func (*ListControllerRequest_IndexKey_PeerId) String ¶
func (x *ListControllerRequest_IndexKey_PeerId) String() string
type ListControllerRequest_IndexKey_PeerId_ ¶
type ListControllerRequest_IndexKey_PeerId_ struct { // peer_id specifies the value of the PeerId index key to use in the query. PeerId *ListControllerRequest_IndexKey_PeerId `protobuf:"bytes,4,opt,name=peer_id,json=peerId,proto3,oneof"` }
type ListControllerRequest_IndexKey_PublicKey ¶
type ListControllerRequest_IndexKey_PublicKey struct { // public_key is the value of the public_key field in the index. // It can be omitted to query for all valid values of that field in this segment of the index. PublicKey []byte `protobuf:"bytes,1,opt,name=public_key,json=publicKey,proto3,oneof" json:"public_key,omitempty"` // contains filtered or unexported fields }
func (*ListControllerRequest_IndexKey_PublicKey) Descriptor
deprecated
func (*ListControllerRequest_IndexKey_PublicKey) Descriptor() ([]byte, []int)
Deprecated: Use ListControllerRequest_IndexKey_PublicKey.ProtoReflect.Descriptor instead.
func (*ListControllerRequest_IndexKey_PublicKey) GetPublicKey ¶
func (x *ListControllerRequest_IndexKey_PublicKey) GetPublicKey() []byte
func (*ListControllerRequest_IndexKey_PublicKey) ProtoMessage ¶
func (*ListControllerRequest_IndexKey_PublicKey) ProtoMessage()
func (*ListControllerRequest_IndexKey_PublicKey) ProtoReflect ¶
func (x *ListControllerRequest_IndexKey_PublicKey) ProtoReflect() protoreflect.Message
func (*ListControllerRequest_IndexKey_PublicKey) Reset ¶
func (x *ListControllerRequest_IndexKey_PublicKey) Reset()
func (*ListControllerRequest_IndexKey_PublicKey) String ¶
func (x *ListControllerRequest_IndexKey_PublicKey) String() string
type ListControllerRequest_IndexKey_PublicKey_ ¶
type ListControllerRequest_IndexKey_PublicKey_ struct { // public_key specifies the value of the PublicKey index key to use in the query. PublicKey *ListControllerRequest_IndexKey_PublicKey `protobuf:"bytes,3,opt,name=public_key,json=publicKey,proto3,oneof"` }
type ListControllerRequest_IndexKey_Sequence ¶
type ListControllerRequest_IndexKey_Sequence struct { // sequence is the value of the sequence field in the index. // It can be omitted to query for all valid values of that field in this segment of the index. Sequence *uint64 `protobuf:"varint,1,opt,name=sequence,proto3,oneof" json:"sequence,omitempty"` // contains filtered or unexported fields }
func (*ListControllerRequest_IndexKey_Sequence) Descriptor
deprecated
func (*ListControllerRequest_IndexKey_Sequence) Descriptor() ([]byte, []int)
Deprecated: Use ListControllerRequest_IndexKey_Sequence.ProtoReflect.Descriptor instead.
func (*ListControllerRequest_IndexKey_Sequence) GetSequence ¶
func (x *ListControllerRequest_IndexKey_Sequence) GetSequence() uint64
func (*ListControllerRequest_IndexKey_Sequence) ProtoMessage ¶
func (*ListControllerRequest_IndexKey_Sequence) ProtoMessage()
func (*ListControllerRequest_IndexKey_Sequence) ProtoReflect ¶
func (x *ListControllerRequest_IndexKey_Sequence) ProtoReflect() protoreflect.Message
func (*ListControllerRequest_IndexKey_Sequence) Reset ¶
func (x *ListControllerRequest_IndexKey_Sequence) Reset()
func (*ListControllerRequest_IndexKey_Sequence) String ¶
func (x *ListControllerRequest_IndexKey_Sequence) String() string
type ListControllerRequest_IndexKey_Sequence_ ¶
type ListControllerRequest_IndexKey_Sequence_ struct { // sequence specifies the value of the Sequence index key to use in the query. Sequence *ListControllerRequest_IndexKey_Sequence `protobuf:"bytes,1,opt,name=sequence,proto3,oneof"` }
type ListControllerRequest_PrefixQuery ¶
type ListControllerRequest_PrefixQuery struct { // prefix_query specifies the index key value to use for the prefix query. PrefixQuery *ListControllerRequest_IndexKey `protobuf:"bytes,1,opt,name=prefix_query,json=prefixQuery,proto3,oneof"` }
type ListControllerRequest_RangeQuery ¶
type ListControllerRequest_RangeQuery struct { // from is the index key to use for the start of the range query. // To query from the start of an index, specify an index key for that index with empty values. From *ListControllerRequest_IndexKey `protobuf:"bytes,1,opt,name=from,proto3" json:"from,omitempty"` // to is the index key to use for the end of the range query. // The index key type MUST be the same as the index key type used for from. // To query from to the end of an index it can be omitted. To *ListControllerRequest_IndexKey `protobuf:"bytes,2,opt,name=to,proto3" json:"to,omitempty"` // contains filtered or unexported fields }
RangeQuery specifies the from/to index keys for a range query.
func (*ListControllerRequest_RangeQuery) Descriptor
deprecated
func (*ListControllerRequest_RangeQuery) Descriptor() ([]byte, []int)
Deprecated: Use ListControllerRequest_RangeQuery.ProtoReflect.Descriptor instead.
func (*ListControllerRequest_RangeQuery) GetFrom ¶
func (x *ListControllerRequest_RangeQuery) GetFrom() *ListControllerRequest_IndexKey
func (*ListControllerRequest_RangeQuery) GetTo ¶
func (x *ListControllerRequest_RangeQuery) GetTo() *ListControllerRequest_IndexKey
func (*ListControllerRequest_RangeQuery) ProtoMessage ¶
func (*ListControllerRequest_RangeQuery) ProtoMessage()
func (*ListControllerRequest_RangeQuery) ProtoReflect ¶
func (x *ListControllerRequest_RangeQuery) ProtoReflect() protoreflect.Message
func (*ListControllerRequest_RangeQuery) Reset ¶
func (x *ListControllerRequest_RangeQuery) Reset()
func (*ListControllerRequest_RangeQuery) String ¶
func (x *ListControllerRequest_RangeQuery) String() string
type ListControllerRequest_RangeQuery_ ¶
type ListControllerRequest_RangeQuery_ struct { // range_query specifies the index key from/to values to use for the range query. RangeQuery *ListControllerRequest_RangeQuery `protobuf:"bytes,2,opt,name=range_query,json=rangeQuery,proto3,oneof"` }
type ListControllerResponse ¶
type ListControllerResponse struct { // values are the results of the query. Values []*Controller `protobuf:"bytes,1,rep,name=values,proto3" json:"values,omitempty"` // pagination is the pagination response. Pagination *v1beta1.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"` // contains filtered or unexported fields }
ListControllerResponse is the StateQuery/ListControllerResponse response type.
func (*ListControllerResponse) Descriptor
deprecated
func (*ListControllerResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListControllerResponse.ProtoReflect.Descriptor instead.
func (*ListControllerResponse) GetPagination ¶
func (x *ListControllerResponse) GetPagination() *v1beta1.PageResponse
func (*ListControllerResponse) GetValues ¶
func (x *ListControllerResponse) GetValues() []*Controller
func (*ListControllerResponse) ProtoMessage ¶
func (*ListControllerResponse) ProtoMessage()
func (*ListControllerResponse) ProtoReflect ¶
func (x *ListControllerResponse) ProtoReflect() protoreflect.Message
func (*ListControllerResponse) Reset ¶
func (x *ListControllerResponse) Reset()
func (*ListControllerResponse) String ¶
func (x *ListControllerResponse) String() string
type Module ¶
type Module struct { // authority defines the custom module authority. // if not set, defaults to the governance module. Authority string `protobuf:"bytes,1,opt,name=authority,proto3" json:"authority,omitempty"` // contains filtered or unexported fields }
Module is the app config object of the module. Learn more: https://docs.cosmos.network/main/building-modules/depinject
func (*Module) Descriptor
deprecated
func (*Module) GetAuthority ¶
func (*Module) ProtoMessage ¶
func (*Module) ProtoMessage()
func (*Module) ProtoReflect ¶
func (x *Module) ProtoReflect() protoreflect.Message
type State ¶
type State struct {
// contains filtered or unexported fields
}
Module is the app config object of the module. Learn more: https://docs.cosmos.network/main/building-modules/depinject
func (*State) Descriptor
deprecated
func (*State) ProtoMessage ¶
func (*State) ProtoMessage()
func (*State) ProtoReflect ¶
func (x *State) ProtoReflect() protoreflect.Message
type StateQueryServiceClient ¶
type StateQueryServiceClient interface { // Get queries the Account table by its primary key. GetAccount(ctx context.Context, in *GetAccountRequest, opts ...grpc.CallOption) (*GetAccountResponse, error) // GetAccountByAddress queries the Account table by its Address index GetAccountByAddress(ctx context.Context, in *GetAccountByAddressRequest, opts ...grpc.CallOption) (*GetAccountByAddressResponse, error) // GetAccountByPublicKey queries the Account table by its PublicKey index GetAccountByPublicKey(ctx context.Context, in *GetAccountByPublicKeyRequest, opts ...grpc.CallOption) (*GetAccountByPublicKeyResponse, error) // ListAccount queries the Account table using prefix and range queries against defined indexes. ListAccount(ctx context.Context, in *ListAccountRequest, opts ...grpc.CallOption) (*ListAccountResponse, error) // Get queries the Blockchain table by its primary key. GetBlockchain(ctx context.Context, in *GetBlockchainRequest, opts ...grpc.CallOption) (*GetBlockchainResponse, error) // GetBlockchainByChainId queries the Blockchain table by its ChainId index GetBlockchainByChainId(ctx context.Context, in *GetBlockchainByChainIdRequest, opts ...grpc.CallOption) (*GetBlockchainByChainIdResponse, error) // GetBlockchainByName queries the Blockchain table by its Name index GetBlockchainByName(ctx context.Context, in *GetBlockchainByNameRequest, opts ...grpc.CallOption) (*GetBlockchainByNameResponse, error) // ListBlockchain queries the Blockchain table using prefix and range queries against defined indexes. ListBlockchain(ctx context.Context, in *ListBlockchainRequest, opts ...grpc.CallOption) (*ListBlockchainResponse, error) // Get queries the Accumulator table by its primary key. GetAccumulator(ctx context.Context, in *GetAccumulatorRequest, opts ...grpc.CallOption) (*GetAccumulatorResponse, error) // GetAccumulatorByControllerKey queries the Accumulator table by its ControllerKey index GetAccumulatorByControllerKey(ctx context.Context, in *GetAccumulatorByControllerKeyRequest, opts ...grpc.CallOption) (*GetAccumulatorByControllerKeyResponse, error) // ListAccumulator queries the Accumulator table using prefix and range queries against defined indexes. ListAccumulator(ctx context.Context, in *ListAccumulatorRequest, opts ...grpc.CallOption) (*ListAccumulatorResponse, error) // Get queries the Controller table by its primary key. GetController(ctx context.Context, in *GetControllerRequest, opts ...grpc.CallOption) (*GetControllerResponse, error) // GetControllerByAddress queries the Controller table by its Address index GetControllerByAddress(ctx context.Context, in *GetControllerByAddressRequest, opts ...grpc.CallOption) (*GetControllerByAddressResponse, error) // GetControllerByPublicKey queries the Controller table by its PublicKey index GetControllerByPublicKey(ctx context.Context, in *GetControllerByPublicKeyRequest, opts ...grpc.CallOption) (*GetControllerByPublicKeyResponse, error) // GetControllerByPeerId queries the Controller table by its PeerId index GetControllerByPeerId(ctx context.Context, in *GetControllerByPeerIdRequest, opts ...grpc.CallOption) (*GetControllerByPeerIdResponse, error) // GetControllerByIpns queries the Controller table by its Ipns index GetControllerByIpns(ctx context.Context, in *GetControllerByIpnsRequest, opts ...grpc.CallOption) (*GetControllerByIpnsResponse, error) // ListController queries the Controller table using prefix and range queries against defined indexes. ListController(ctx context.Context, in *ListControllerRequest, opts ...grpc.CallOption) (*ListControllerResponse, error) }
StateQueryServiceClient is the client API for StateQueryService 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 NewStateQueryServiceClient ¶
func NewStateQueryServiceClient(cc grpc.ClientConnInterface) StateQueryServiceClient
type StateQueryServiceServer ¶
type StateQueryServiceServer interface { // Get queries the Account table by its primary key. GetAccount(context.Context, *GetAccountRequest) (*GetAccountResponse, error) // GetAccountByAddress queries the Account table by its Address index GetAccountByAddress(context.Context, *GetAccountByAddressRequest) (*GetAccountByAddressResponse, error) // GetAccountByPublicKey queries the Account table by its PublicKey index GetAccountByPublicKey(context.Context, *GetAccountByPublicKeyRequest) (*GetAccountByPublicKeyResponse, error) // ListAccount queries the Account table using prefix and range queries against defined indexes. ListAccount(context.Context, *ListAccountRequest) (*ListAccountResponse, error) // Get queries the Blockchain table by its primary key. GetBlockchain(context.Context, *GetBlockchainRequest) (*GetBlockchainResponse, error) // GetBlockchainByChainId queries the Blockchain table by its ChainId index GetBlockchainByChainId(context.Context, *GetBlockchainByChainIdRequest) (*GetBlockchainByChainIdResponse, error) // GetBlockchainByName queries the Blockchain table by its Name index GetBlockchainByName(context.Context, *GetBlockchainByNameRequest) (*GetBlockchainByNameResponse, error) // ListBlockchain queries the Blockchain table using prefix and range queries against defined indexes. ListBlockchain(context.Context, *ListBlockchainRequest) (*ListBlockchainResponse, error) // Get queries the Accumulator table by its primary key. GetAccumulator(context.Context, *GetAccumulatorRequest) (*GetAccumulatorResponse, error) // GetAccumulatorByControllerKey queries the Accumulator table by its ControllerKey index GetAccumulatorByControllerKey(context.Context, *GetAccumulatorByControllerKeyRequest) (*GetAccumulatorByControllerKeyResponse, error) // ListAccumulator queries the Accumulator table using prefix and range queries against defined indexes. ListAccumulator(context.Context, *ListAccumulatorRequest) (*ListAccumulatorResponse, error) // Get queries the Controller table by its primary key. GetController(context.Context, *GetControllerRequest) (*GetControllerResponse, error) // GetControllerByAddress queries the Controller table by its Address index GetControllerByAddress(context.Context, *GetControllerByAddressRequest) (*GetControllerByAddressResponse, error) // GetControllerByPublicKey queries the Controller table by its PublicKey index GetControllerByPublicKey(context.Context, *GetControllerByPublicKeyRequest) (*GetControllerByPublicKeyResponse, error) // GetControllerByPeerId queries the Controller table by its PeerId index GetControllerByPeerId(context.Context, *GetControllerByPeerIdRequest) (*GetControllerByPeerIdResponse, error) // GetControllerByIpns queries the Controller table by its Ipns index GetControllerByIpns(context.Context, *GetControllerByIpnsRequest) (*GetControllerByIpnsResponse, error) // ListController queries the Controller table using prefix and range queries against defined indexes. ListController(context.Context, *ListControllerRequest) (*ListControllerResponse, error) // contains filtered or unexported methods }
StateQueryServiceServer is the server API for StateQueryService service. All implementations must embed UnimplementedStateQueryServiceServer for forward compatibility
type StateStore ¶
type StateStore interface { AccountTable() AccountTable BlockchainTable() BlockchainTable AccumulatorTable() AccumulatorTable ControllerTable() ControllerTable // contains filtered or unexported methods }
func NewStateStore ¶
func NewStateStore(db ormtable.Schema) (StateStore, error)
type UnimplementedStateQueryServiceServer ¶
type UnimplementedStateQueryServiceServer struct { }
UnimplementedStateQueryServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedStateQueryServiceServer) GetAccount ¶
func (UnimplementedStateQueryServiceServer) GetAccount(context.Context, *GetAccountRequest) (*GetAccountResponse, error)
func (UnimplementedStateQueryServiceServer) GetAccountByAddress ¶
func (UnimplementedStateQueryServiceServer) GetAccountByAddress(context.Context, *GetAccountByAddressRequest) (*GetAccountByAddressResponse, error)
func (UnimplementedStateQueryServiceServer) GetAccountByPublicKey ¶
func (UnimplementedStateQueryServiceServer) GetAccountByPublicKey(context.Context, *GetAccountByPublicKeyRequest) (*GetAccountByPublicKeyResponse, error)
func (UnimplementedStateQueryServiceServer) GetAccumulator ¶
func (UnimplementedStateQueryServiceServer) GetAccumulator(context.Context, *GetAccumulatorRequest) (*GetAccumulatorResponse, error)
func (UnimplementedStateQueryServiceServer) GetAccumulatorByControllerKey ¶
func (UnimplementedStateQueryServiceServer) GetAccumulatorByControllerKey(context.Context, *GetAccumulatorByControllerKeyRequest) (*GetAccumulatorByControllerKeyResponse, error)
func (UnimplementedStateQueryServiceServer) GetBlockchain ¶
func (UnimplementedStateQueryServiceServer) GetBlockchain(context.Context, *GetBlockchainRequest) (*GetBlockchainResponse, error)
func (UnimplementedStateQueryServiceServer) GetBlockchainByChainId ¶
func (UnimplementedStateQueryServiceServer) GetBlockchainByChainId(context.Context, *GetBlockchainByChainIdRequest) (*GetBlockchainByChainIdResponse, error)
func (UnimplementedStateQueryServiceServer) GetBlockchainByName ¶
func (UnimplementedStateQueryServiceServer) GetBlockchainByName(context.Context, *GetBlockchainByNameRequest) (*GetBlockchainByNameResponse, error)
func (UnimplementedStateQueryServiceServer) GetController ¶
func (UnimplementedStateQueryServiceServer) GetController(context.Context, *GetControllerRequest) (*GetControllerResponse, error)
func (UnimplementedStateQueryServiceServer) GetControllerByAddress ¶
func (UnimplementedStateQueryServiceServer) GetControllerByAddress(context.Context, *GetControllerByAddressRequest) (*GetControllerByAddressResponse, error)
func (UnimplementedStateQueryServiceServer) GetControllerByIpns ¶
func (UnimplementedStateQueryServiceServer) GetControllerByIpns(context.Context, *GetControllerByIpnsRequest) (*GetControllerByIpnsResponse, error)
func (UnimplementedStateQueryServiceServer) GetControllerByPeerId ¶
func (UnimplementedStateQueryServiceServer) GetControllerByPeerId(context.Context, *GetControllerByPeerIdRequest) (*GetControllerByPeerIdResponse, error)
func (UnimplementedStateQueryServiceServer) GetControllerByPublicKey ¶
func (UnimplementedStateQueryServiceServer) GetControllerByPublicKey(context.Context, *GetControllerByPublicKeyRequest) (*GetControllerByPublicKeyResponse, error)
func (UnimplementedStateQueryServiceServer) ListAccount ¶
func (UnimplementedStateQueryServiceServer) ListAccount(context.Context, *ListAccountRequest) (*ListAccountResponse, error)
func (UnimplementedStateQueryServiceServer) ListAccumulator ¶
func (UnimplementedStateQueryServiceServer) ListAccumulator(context.Context, *ListAccumulatorRequest) (*ListAccumulatorResponse, error)
func (UnimplementedStateQueryServiceServer) ListBlockchain ¶
func (UnimplementedStateQueryServiceServer) ListBlockchain(context.Context, *ListBlockchainRequest) (*ListBlockchainResponse, error)
func (UnimplementedStateQueryServiceServer) ListController ¶
func (UnimplementedStateQueryServiceServer) ListController(context.Context, *ListControllerRequest) (*ListControllerResponse, error)
type UnsafeStateQueryServiceServer ¶
type UnsafeStateQueryServiceServer interface {
// contains filtered or unexported methods
}
UnsafeStateQueryServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to StateQueryServiceServer will result in compilation errors.