modulev1

package
v0.16.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 10, 2024 License: GPL-3.0 Imports: 15 Imported by: 1

Documentation

Index

Constants

View Source
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

View Source
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.

View Source
var File_sonr_identity_module_v1_module_proto protoreflect.FileDescriptor
View Source
var File_sonr_identity_module_v1_state_proto protoreflect.FileDescriptor
View Source
var File_sonr_identity_module_v1_state_query_proto protoreflect.FileDescriptor
View Source
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) Descriptor() ([]byte, []int)

Deprecated: Use Account.ProtoReflect.Descriptor instead.

func (*Account) GetAddress

func (x *Account) GetAddress() string

func (*Account) GetChainId

func (x *Account) GetChainId() string

func (*Account) GetCoinType

func (x *Account) GetCoinType() CoinType

func (*Account) GetController

func (x *Account) GetController() string

func (*Account) GetNetwork

func (x *Account) GetNetwork() string

func (*Account) GetPublicKey

func (x *Account) GetPublicKey() []byte

func (*Account) GetSequence

func (x *Account) GetSequence() uint64

func (*Account) ProtoMessage

func (*Account) ProtoMessage()

func (*Account) ProtoReflect

func (x *Account) ProtoReflect() protoreflect.Message

func (*Account) Reset

func (x *Account) Reset()

func (*Account) String

func (x *Account) String() string

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

type AccountIterator struct {
	ormtable.Iterator
}

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 (AccumulatorControllerKeyIndexKey) WithControllerKey

func (this AccumulatorControllerKeyIndexKey) WithControllerKey(controller string, key string) AccumulatorControllerKeyIndexKey

type AccumulatorIndexIndexKey

type AccumulatorIndexIndexKey struct {
	// contains filtered or unexported fields
}

func (AccumulatorIndexIndexKey) WithIndex

type AccumulatorIndexKey

type AccumulatorIndexKey interface {
	// contains filtered or unexported methods
}

type AccumulatorIterator

type AccumulatorIterator struct {
	ormtable.Iterator
}

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

type BlockchainIndexKey

type BlockchainIndexKey interface {
	// contains filtered or unexported methods
}

type BlockchainIterator

type BlockchainIterator struct {
	ormtable.Iterator
}

func (BlockchainIterator) Value

func (i BlockchainIterator) Value() (*Blockchain, error)

type BlockchainNameIndexKey

type BlockchainNameIndexKey struct {
	// contains filtered or unexported fields
}

func (BlockchainNameIndexKey) WithName

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) Enum

func (x CoinType) Enum() *CoinType

func (CoinType) EnumDescriptor deprecated

func (CoinType) EnumDescriptor() ([]byte, []int)

Deprecated: Use CoinType.Descriptor instead.

func (CoinType) Number

func (x CoinType) Number() protoreflect.EnumNumber

func (CoinType) String

func (x CoinType) String() string

func (CoinType) Type

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

type ControllerIndexKey

type ControllerIndexKey interface {
	// contains filtered or unexported methods
}

type ControllerIpnsIndexKey

type ControllerIpnsIndexKey struct {
	// contains filtered or unexported fields
}

func (ControllerIpnsIndexKey) WithIpns

type ControllerIterator

type ControllerIterator struct {
	ormtable.Iterator
}

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 (*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 (*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 (*GetAccountByPublicKeyRequest) Reset

func (x *GetAccountByPublicKeyRequest) Reset()

func (*GetAccountByPublicKeyRequest) 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 (*GetAccountByPublicKeyResponse) Reset

func (x *GetAccountByPublicKeyResponse) Reset()

func (*GetAccountByPublicKeyResponse) 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 (*GetAccumulatorByControllerKeyRequest) ProtoMessage

func (*GetAccumulatorByControllerKeyRequest) ProtoMessage()

func (*GetAccumulatorByControllerKeyRequest) ProtoReflect

func (*GetAccumulatorByControllerKeyRequest) Reset

func (*GetAccumulatorByControllerKeyRequest) 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 (*GetAccumulatorByControllerKeyResponse) ProtoMessage

func (*GetAccumulatorByControllerKeyResponse) ProtoMessage()

func (*GetAccumulatorByControllerKeyResponse) ProtoReflect

func (*GetAccumulatorByControllerKeyResponse) Reset

func (*GetAccumulatorByControllerKeyResponse) 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 (*GetBlockchainByChainIdRequest) Reset

func (x *GetBlockchainByChainIdRequest) Reset()

func (*GetBlockchainByChainIdRequest) 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 (*GetBlockchainByChainIdResponse) ProtoMessage

func (*GetBlockchainByChainIdResponse) ProtoMessage()

func (*GetBlockchainByChainIdResponse) ProtoReflect

func (*GetBlockchainByChainIdResponse) Reset

func (x *GetBlockchainByChainIdResponse) Reset()

func (*GetBlockchainByChainIdResponse) 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 (*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 (*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 (*GetControllerByAddressRequest) Reset

func (x *GetControllerByAddressRequest) Reset()

func (*GetControllerByAddressRequest) 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 (*GetControllerByAddressResponse) ProtoMessage

func (*GetControllerByAddressResponse) ProtoMessage()

func (*GetControllerByAddressResponse) ProtoReflect

func (*GetControllerByAddressResponse) Reset

func (x *GetControllerByAddressResponse) Reset()

func (*GetControllerByAddressResponse) 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 (*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 (*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 (*GetControllerByPeerIdRequest) Reset

func (x *GetControllerByPeerIdRequest) Reset()

func (*GetControllerByPeerIdRequest) 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 (*GetControllerByPeerIdResponse) ProtoMessage

func (*GetControllerByPeerIdResponse) ProtoMessage()

func (*GetControllerByPeerIdResponse) ProtoReflect

func (*GetControllerByPeerIdResponse) Reset

func (x *GetControllerByPeerIdResponse) Reset()

func (*GetControllerByPeerIdResponse) 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 (*GetControllerByPublicKeyRequest) Reset

func (*GetControllerByPublicKeyRequest) 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 (*GetControllerByPublicKeyResponse) ProtoMessage

func (*GetControllerByPublicKeyResponse) ProtoMessage()

func (*GetControllerByPublicKeyResponse) ProtoReflect

func (*GetControllerByPublicKeyResponse) Reset

func (*GetControllerByPublicKeyResponse) 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 (*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 (*ListAccountRequest_IndexKey) GetKey

func (m *ListAccountRequest_IndexKey) GetKey() isListAccountRequest_IndexKey_Key

func (*ListAccountRequest_IndexKey) GetPublicKey

func (*ListAccountRequest_IndexKey) GetSequence

func (*ListAccountRequest_IndexKey) ProtoMessage

func (*ListAccountRequest_IndexKey) ProtoMessage()

func (*ListAccountRequest_IndexKey) ProtoReflect

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 (*ListAccountRequest_IndexKey_Address) ProtoMessage

func (*ListAccountRequest_IndexKey_Address) ProtoMessage()

func (*ListAccountRequest_IndexKey_Address) ProtoReflect

func (*ListAccountRequest_IndexKey_Address) Reset

func (*ListAccountRequest_IndexKey_Address) 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 (*ListAccountRequest_IndexKey_PublicKey) Reset

func (*ListAccountRequest_IndexKey_PublicKey) 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 (*ListAccountRequest_IndexKey_Sequence) ProtoMessage

func (*ListAccountRequest_IndexKey_Sequence) ProtoMessage()

func (*ListAccountRequest_IndexKey_Sequence) ProtoReflect

func (*ListAccountRequest_IndexKey_Sequence) Reset

func (*ListAccountRequest_IndexKey_Sequence) 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 (*ListAccountRequest_RangeQuery) GetTo

func (*ListAccountRequest_RangeQuery) ProtoMessage

func (*ListAccountRequest_RangeQuery) ProtoMessage()

func (*ListAccountRequest_RangeQuery) ProtoReflect

func (*ListAccountRequest_RangeQuery) Reset

func (x *ListAccountRequest_RangeQuery) Reset()

func (*ListAccountRequest_RangeQuery) 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 (*ListAccumulatorRequest) GetQuery

func (m *ListAccumulatorRequest) GetQuery() isListAccumulatorRequest_Query

func (*ListAccumulatorRequest) GetRangeQuery

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 (*ListAccumulatorRequest_IndexKey) GetIndex

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 (*ListAccumulatorRequest_IndexKey) Reset

func (*ListAccumulatorRequest_IndexKey) 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

Deprecated: Use ListAccumulatorRequest_IndexKey_ControllerKey.ProtoReflect.Descriptor instead.

func (*ListAccumulatorRequest_IndexKey_ControllerKey) GetController

func (*ListAccumulatorRequest_IndexKey_ControllerKey) GetKey

func (*ListAccumulatorRequest_IndexKey_ControllerKey) ProtoMessage

func (*ListAccumulatorRequest_IndexKey_ControllerKey) ProtoReflect

func (*ListAccumulatorRequest_IndexKey_ControllerKey) Reset

func (*ListAccumulatorRequest_IndexKey_ControllerKey) 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 (*ListAccumulatorRequest_IndexKey_Index) ProtoMessage

func (*ListAccumulatorRequest_IndexKey_Index) ProtoMessage()

func (*ListAccumulatorRequest_IndexKey_Index) ProtoReflect

func (*ListAccumulatorRequest_IndexKey_Index) Reset

func (*ListAccumulatorRequest_IndexKey_Index) 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 (*ListAccumulatorRequest_RangeQuery) GetTo

func (*ListAccumulatorRequest_RangeQuery) ProtoMessage

func (*ListAccumulatorRequest_RangeQuery) ProtoMessage()

func (*ListAccumulatorRequest_RangeQuery) ProtoReflect

func (*ListAccumulatorRequest_RangeQuery) Reset

func (*ListAccumulatorRequest_RangeQuery) 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 (*ListBlockchainRequest) GetQuery

func (m *ListBlockchainRequest) GetQuery() isListBlockchainRequest_Query

func (*ListBlockchainRequest) GetRangeQuery

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 (*ListBlockchainRequest_IndexKey) GetIndex

func (*ListBlockchainRequest_IndexKey) GetKey

func (m *ListBlockchainRequest_IndexKey) GetKey() isListBlockchainRequest_IndexKey_Key

func (*ListBlockchainRequest_IndexKey) GetName

func (*ListBlockchainRequest_IndexKey) ProtoMessage

func (*ListBlockchainRequest_IndexKey) ProtoMessage()

func (*ListBlockchainRequest_IndexKey) ProtoReflect

func (*ListBlockchainRequest_IndexKey) Reset

func (x *ListBlockchainRequest_IndexKey) Reset()

func (*ListBlockchainRequest_IndexKey) 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 (*ListBlockchainRequest_IndexKey_ChainId) ProtoMessage

func (*ListBlockchainRequest_IndexKey_ChainId) ProtoReflect

func (*ListBlockchainRequest_IndexKey_ChainId) Reset

func (*ListBlockchainRequest_IndexKey_ChainId) 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 (*ListBlockchainRequest_IndexKey_Index) ProtoMessage

func (*ListBlockchainRequest_IndexKey_Index) ProtoMessage()

func (*ListBlockchainRequest_IndexKey_Index) ProtoReflect

func (*ListBlockchainRequest_IndexKey_Index) Reset

func (*ListBlockchainRequest_IndexKey_Index) 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 (*ListBlockchainRequest_IndexKey_Name) ProtoMessage

func (*ListBlockchainRequest_IndexKey_Name) ProtoMessage()

func (*ListBlockchainRequest_IndexKey_Name) ProtoReflect

func (*ListBlockchainRequest_IndexKey_Name) Reset

func (*ListBlockchainRequest_IndexKey_Name) 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 (*ListBlockchainRequest_RangeQuery) GetTo

func (*ListBlockchainRequest_RangeQuery) ProtoMessage

func (*ListBlockchainRequest_RangeQuery) ProtoMessage()

func (*ListBlockchainRequest_RangeQuery) ProtoReflect

func (*ListBlockchainRequest_RangeQuery) Reset

func (*ListBlockchainRequest_RangeQuery) 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 (*ListControllerRequest) GetQuery

func (m *ListControllerRequest) GetQuery() isListControllerRequest_Query

func (*ListControllerRequest) GetRangeQuery

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 (*ListControllerRequest_IndexKey) GetIpns

func (*ListControllerRequest_IndexKey) GetKey

func (m *ListControllerRequest_IndexKey) GetKey() isListControllerRequest_IndexKey_Key

func (*ListControllerRequest_IndexKey) GetPeerId

func (*ListControllerRequest_IndexKey) GetPublicKey

func (*ListControllerRequest_IndexKey) GetSequence

func (*ListControllerRequest_IndexKey) ProtoMessage

func (*ListControllerRequest_IndexKey) ProtoMessage()

func (*ListControllerRequest_IndexKey) ProtoReflect

func (*ListControllerRequest_IndexKey) Reset

func (x *ListControllerRequest_IndexKey) Reset()

func (*ListControllerRequest_IndexKey) 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 (*ListControllerRequest_IndexKey_Address) ProtoMessage

func (*ListControllerRequest_IndexKey_Address) ProtoReflect

func (*ListControllerRequest_IndexKey_Address) Reset

func (*ListControllerRequest_IndexKey_Address) 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 (*ListControllerRequest_IndexKey_Ipns) ProtoMessage

func (*ListControllerRequest_IndexKey_Ipns) ProtoMessage()

func (*ListControllerRequest_IndexKey_Ipns) ProtoReflect

func (*ListControllerRequest_IndexKey_Ipns) Reset

func (*ListControllerRequest_IndexKey_Ipns) 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 (*ListControllerRequest_IndexKey_PeerId) ProtoMessage

func (*ListControllerRequest_IndexKey_PeerId) ProtoMessage()

func (*ListControllerRequest_IndexKey_PeerId) ProtoReflect

func (*ListControllerRequest_IndexKey_PeerId) Reset

func (*ListControllerRequest_IndexKey_PeerId) 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) ProtoReflect

func (*ListControllerRequest_IndexKey_PublicKey) Reset

func (*ListControllerRequest_IndexKey_PublicKey) 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 (*ListControllerRequest_IndexKey_Sequence) ProtoMessage

func (*ListControllerRequest_IndexKey_Sequence) ProtoReflect

func (*ListControllerRequest_IndexKey_Sequence) Reset

func (*ListControllerRequest_IndexKey_Sequence) 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 (*ListControllerRequest_RangeQuery) GetTo

func (*ListControllerRequest_RangeQuery) ProtoMessage

func (*ListControllerRequest_RangeQuery) ProtoMessage()

func (*ListControllerRequest_RangeQuery) ProtoReflect

func (*ListControllerRequest_RangeQuery) Reset

func (*ListControllerRequest_RangeQuery) 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) Descriptor() ([]byte, []int)

Deprecated: Use Module.ProtoReflect.Descriptor instead.

func (*Module) GetAuthority

func (x *Module) GetAuthority() string

func (*Module) ProtoMessage

func (*Module) ProtoMessage()

func (*Module) ProtoReflect

func (x *Module) ProtoReflect() protoreflect.Message

func (*Module) Reset

func (x *Module) Reset()

func (*Module) String

func (x *Module) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use State.ProtoReflect.Descriptor instead.

func (*State) ProtoMessage

func (*State) ProtoMessage()

func (*State) ProtoReflect

func (x *State) ProtoReflect() protoreflect.Message

func (*State) Reset

func (x *State) Reset()

func (*State) String

func (x *State) String() string

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.

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) GetAccountByAddress

func (UnimplementedStateQueryServiceServer) GetAccumulator

func (UnimplementedStateQueryServiceServer) GetBlockchain

func (UnimplementedStateQueryServiceServer) GetBlockchainByName

func (UnimplementedStateQueryServiceServer) GetController

func (UnimplementedStateQueryServiceServer) GetControllerByIpns

func (UnimplementedStateQueryServiceServer) ListAccount

func (UnimplementedStateQueryServiceServer) ListAccumulator

func (UnimplementedStateQueryServiceServer) ListBlockchain

func (UnimplementedStateQueryServiceServer) ListController

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL