indexer

package
v0.2.8 Latest Latest
Warning

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

Go to latest
Published: Dec 18, 2024 License: MIT Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	GetVirtualTimelockAccountsResponse_Result_name = map[int32]string{
		0: "OK",
		1: "NOT_FOUND",
	}
	GetVirtualTimelockAccountsResponse_Result_value = map[string]int32{
		"OK":        0,
		"NOT_FOUND": 1,
	}
)

Enum value maps for GetVirtualTimelockAccountsResponse_Result.

View Source
var (
	GetVirtualDurableNonceResponse_Result_name = map[int32]string{
		0: "OK",
		1: "NOT_FOUND",
	}
	GetVirtualDurableNonceResponse_Result_value = map[string]int32{
		"OK":        0,
		"NOT_FOUND": 1,
	}
)

Enum value maps for GetVirtualDurableNonceResponse_Result.

View Source
var (
	GetVirtualRelayAccountResponse_Result_name = map[int32]string{
		0: "OK",
		1: "NOT_FOUND",
	}
	GetVirtualRelayAccountResponse_Result_value = map[string]int32{
		"OK":        0,
		"NOT_FOUND": 1,
	}
)

Enum value maps for GetVirtualRelayAccountResponse_Result.

View Source
var File_indexer_model_proto protoreflect.FileDescriptor
View Source
var File_indexer_vm_indexer_service_proto protoreflect.FileDescriptor
View Source
var Indexer_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "code.vm.v1.Indexer",
	HandlerType: (*IndexerServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "GetVirtualTimelockAccounts",
			Handler:    _Indexer_GetVirtualTimelockAccounts_Handler,
		},
		{
			MethodName: "GetVirtualDurableNonce",
			Handler:    _Indexer_GetVirtualDurableNonce_Handler,
		},
		{
			MethodName: "GetVirtualRelayAccount",
			Handler:    _Indexer_GetVirtualRelayAccount_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "indexer/vm_indexer_service.proto",
}

Indexer_ServiceDesc is the grpc.ServiceDesc for Indexer service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

Functions

func RegisterIndexerServer

func RegisterIndexerServer(s grpc.ServiceRegistrar, srv IndexerServer)

Types

type Address

type Address struct {
	Value []byte `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

func (*Address) Descriptor deprecated

func (*Address) Descriptor() ([]byte, []int)

Deprecated: Use Address.ProtoReflect.Descriptor instead.

func (*Address) GetValue

func (x *Address) GetValue() []byte

func (*Address) ProtoMessage

func (*Address) ProtoMessage()

func (*Address) ProtoReflect

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

func (*Address) Reset

func (x *Address) Reset()

func (*Address) String

func (x *Address) String() string

func (*Address) Validate

func (m *Address) Validate() error

Validate checks the field values on Address with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type AddressValidationError

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

AddressValidationError is the validation error returned by Address.Validate if the designated constraints aren't met.

func (AddressValidationError) Cause

func (e AddressValidationError) Cause() error

Cause function returns cause value.

func (AddressValidationError) Error

func (e AddressValidationError) Error() string

Error satisfies the builtin error interface

func (AddressValidationError) ErrorName

func (e AddressValidationError) ErrorName() string

ErrorName returns error name.

func (AddressValidationError) Field

func (e AddressValidationError) Field() string

Field function returns field value.

func (AddressValidationError) Key

func (e AddressValidationError) Key() bool

Key function returns key value.

func (AddressValidationError) Reason

func (e AddressValidationError) Reason() string

Reason function returns reason value.

type CompressedVirtualAccountStorage

type CompressedVirtualAccountStorage struct {
	Account *Address `protobuf:"bytes,1,opt,name=account,proto3" json:"account,omitempty"`
	Proof   *Proof   `protobuf:"bytes,2,opt,name=proof,proto3" json:"proof,omitempty"`
	// contains filtered or unexported fields
}

func (*CompressedVirtualAccountStorage) Descriptor deprecated

func (*CompressedVirtualAccountStorage) Descriptor() ([]byte, []int)

Deprecated: Use CompressedVirtualAccountStorage.ProtoReflect.Descriptor instead.

func (*CompressedVirtualAccountStorage) GetAccount

func (x *CompressedVirtualAccountStorage) GetAccount() *Address

func (*CompressedVirtualAccountStorage) GetProof

func (x *CompressedVirtualAccountStorage) GetProof() *Proof

func (*CompressedVirtualAccountStorage) ProtoMessage

func (*CompressedVirtualAccountStorage) ProtoMessage()

func (*CompressedVirtualAccountStorage) ProtoReflect

func (*CompressedVirtualAccountStorage) Reset

func (*CompressedVirtualAccountStorage) String

func (*CompressedVirtualAccountStorage) Validate

func (m *CompressedVirtualAccountStorage) Validate() error

Validate checks the field values on CompressedVirtualAccountStorage with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type CompressedVirtualAccountStorageValidationError

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

CompressedVirtualAccountStorageValidationError is the validation error returned by CompressedVirtualAccountStorage.Validate if the designated constraints aren't met.

func (CompressedVirtualAccountStorageValidationError) Cause

Cause function returns cause value.

func (CompressedVirtualAccountStorageValidationError) Error

Error satisfies the builtin error interface

func (CompressedVirtualAccountStorageValidationError) ErrorName

ErrorName returns error name.

func (CompressedVirtualAccountStorageValidationError) Field

Field function returns field value.

func (CompressedVirtualAccountStorageValidationError) Key

Key function returns key value.

func (CompressedVirtualAccountStorageValidationError) Reason

Reason function returns reason value.

type GetVirtualDurableNonceRequest

type GetVirtualDurableNonceRequest struct {
	VmAccount *Address `protobuf:"bytes,1,opt,name=vm_account,json=vmAccount,proto3" json:"vm_account,omitempty"`
	Address   *Address `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"`
	// contains filtered or unexported fields
}

func (*GetVirtualDurableNonceRequest) Descriptor deprecated

func (*GetVirtualDurableNonceRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetVirtualDurableNonceRequest.ProtoReflect.Descriptor instead.

func (*GetVirtualDurableNonceRequest) GetAddress

func (x *GetVirtualDurableNonceRequest) GetAddress() *Address

func (*GetVirtualDurableNonceRequest) GetVmAccount

func (x *GetVirtualDurableNonceRequest) GetVmAccount() *Address

func (*GetVirtualDurableNonceRequest) ProtoMessage

func (*GetVirtualDurableNonceRequest) ProtoMessage()

func (*GetVirtualDurableNonceRequest) ProtoReflect

func (*GetVirtualDurableNonceRequest) Reset

func (x *GetVirtualDurableNonceRequest) Reset()

func (*GetVirtualDurableNonceRequest) String

func (*GetVirtualDurableNonceRequest) Validate

func (m *GetVirtualDurableNonceRequest) Validate() error

Validate checks the field values on GetVirtualDurableNonceRequest with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type GetVirtualDurableNonceRequestValidationError

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

GetVirtualDurableNonceRequestValidationError is the validation error returned by GetVirtualDurableNonceRequest.Validate if the designated constraints aren't met.

func (GetVirtualDurableNonceRequestValidationError) Cause

Cause function returns cause value.

func (GetVirtualDurableNonceRequestValidationError) Error

Error satisfies the builtin error interface

func (GetVirtualDurableNonceRequestValidationError) ErrorName

ErrorName returns error name.

func (GetVirtualDurableNonceRequestValidationError) Field

Field function returns field value.

func (GetVirtualDurableNonceRequestValidationError) Key

Key function returns key value.

func (GetVirtualDurableNonceRequestValidationError) Reason

Reason function returns reason value.

type GetVirtualDurableNonceResponse

type GetVirtualDurableNonceResponse struct {
	Result GetVirtualDurableNonceResponse_Result   `protobuf:"varint,1,opt,name=result,proto3,enum=code.vm.v1.GetVirtualDurableNonceResponse_Result" json:"result,omitempty"`
	Item   *VirtualDurableNonceWithStorageMetadata `protobuf:"bytes,2,opt,name=item,proto3" json:"item,omitempty"`
	// contains filtered or unexported fields
}

func (*GetVirtualDurableNonceResponse) Descriptor deprecated

func (*GetVirtualDurableNonceResponse) Descriptor() ([]byte, []int)

Deprecated: Use GetVirtualDurableNonceResponse.ProtoReflect.Descriptor instead.

func (*GetVirtualDurableNonceResponse) GetItem

func (*GetVirtualDurableNonceResponse) GetResult

func (*GetVirtualDurableNonceResponse) ProtoMessage

func (*GetVirtualDurableNonceResponse) ProtoMessage()

func (*GetVirtualDurableNonceResponse) ProtoReflect

func (*GetVirtualDurableNonceResponse) Reset

func (x *GetVirtualDurableNonceResponse) Reset()

func (*GetVirtualDurableNonceResponse) String

func (*GetVirtualDurableNonceResponse) Validate

func (m *GetVirtualDurableNonceResponse) Validate() error

Validate checks the field values on GetVirtualDurableNonceResponse with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type GetVirtualDurableNonceResponseValidationError

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

GetVirtualDurableNonceResponseValidationError is the validation error returned by GetVirtualDurableNonceResponse.Validate if the designated constraints aren't met.

func (GetVirtualDurableNonceResponseValidationError) Cause

Cause function returns cause value.

func (GetVirtualDurableNonceResponseValidationError) Error

Error satisfies the builtin error interface

func (GetVirtualDurableNonceResponseValidationError) ErrorName

ErrorName returns error name.

func (GetVirtualDurableNonceResponseValidationError) Field

Field function returns field value.

func (GetVirtualDurableNonceResponseValidationError) Key

Key function returns key value.

func (GetVirtualDurableNonceResponseValidationError) Reason

Reason function returns reason value.

type GetVirtualDurableNonceResponse_Result

type GetVirtualDurableNonceResponse_Result int32
const (
	GetVirtualDurableNonceResponse_OK        GetVirtualDurableNonceResponse_Result = 0
	GetVirtualDurableNonceResponse_NOT_FOUND GetVirtualDurableNonceResponse_Result = 1
)

func (GetVirtualDurableNonceResponse_Result) Descriptor

func (GetVirtualDurableNonceResponse_Result) Enum

func (GetVirtualDurableNonceResponse_Result) EnumDescriptor deprecated

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

Deprecated: Use GetVirtualDurableNonceResponse_Result.Descriptor instead.

func (GetVirtualDurableNonceResponse_Result) Number

func (GetVirtualDurableNonceResponse_Result) String

func (GetVirtualDurableNonceResponse_Result) Type

type GetVirtualRelayAccountRequest

type GetVirtualRelayAccountRequest struct {
	VmAccount *Address `protobuf:"bytes,1,opt,name=vm_account,json=vmAccount,proto3" json:"vm_account,omitempty"`
	Address   *Address `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"`
	// contains filtered or unexported fields
}

func (*GetVirtualRelayAccountRequest) Descriptor deprecated

func (*GetVirtualRelayAccountRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetVirtualRelayAccountRequest.ProtoReflect.Descriptor instead.

func (*GetVirtualRelayAccountRequest) GetAddress

func (x *GetVirtualRelayAccountRequest) GetAddress() *Address

func (*GetVirtualRelayAccountRequest) GetVmAccount

func (x *GetVirtualRelayAccountRequest) GetVmAccount() *Address

func (*GetVirtualRelayAccountRequest) ProtoMessage

func (*GetVirtualRelayAccountRequest) ProtoMessage()

func (*GetVirtualRelayAccountRequest) ProtoReflect

func (*GetVirtualRelayAccountRequest) Reset

func (x *GetVirtualRelayAccountRequest) Reset()

func (*GetVirtualRelayAccountRequest) String

func (*GetVirtualRelayAccountRequest) Validate

func (m *GetVirtualRelayAccountRequest) Validate() error

Validate checks the field values on GetVirtualRelayAccountRequest with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type GetVirtualRelayAccountRequestValidationError

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

GetVirtualRelayAccountRequestValidationError is the validation error returned by GetVirtualRelayAccountRequest.Validate if the designated constraints aren't met.

func (GetVirtualRelayAccountRequestValidationError) Cause

Cause function returns cause value.

func (GetVirtualRelayAccountRequestValidationError) Error

Error satisfies the builtin error interface

func (GetVirtualRelayAccountRequestValidationError) ErrorName

ErrorName returns error name.

func (GetVirtualRelayAccountRequestValidationError) Field

Field function returns field value.

func (GetVirtualRelayAccountRequestValidationError) Key

Key function returns key value.

func (GetVirtualRelayAccountRequestValidationError) Reason

Reason function returns reason value.

type GetVirtualRelayAccountResponse

type GetVirtualRelayAccountResponse struct {
	Result GetVirtualRelayAccountResponse_Result   `protobuf:"varint,1,opt,name=result,proto3,enum=code.vm.v1.GetVirtualRelayAccountResponse_Result" json:"result,omitempty"`
	Item   *VirtualRelayAccountWithStorageMetadata `protobuf:"bytes,2,opt,name=item,proto3" json:"item,omitempty"`
	// contains filtered or unexported fields
}

func (*GetVirtualRelayAccountResponse) Descriptor deprecated

func (*GetVirtualRelayAccountResponse) Descriptor() ([]byte, []int)

Deprecated: Use GetVirtualRelayAccountResponse.ProtoReflect.Descriptor instead.

func (*GetVirtualRelayAccountResponse) GetItem

func (*GetVirtualRelayAccountResponse) GetResult

func (*GetVirtualRelayAccountResponse) ProtoMessage

func (*GetVirtualRelayAccountResponse) ProtoMessage()

func (*GetVirtualRelayAccountResponse) ProtoReflect

func (*GetVirtualRelayAccountResponse) Reset

func (x *GetVirtualRelayAccountResponse) Reset()

func (*GetVirtualRelayAccountResponse) String

func (*GetVirtualRelayAccountResponse) Validate

func (m *GetVirtualRelayAccountResponse) Validate() error

Validate checks the field values on GetVirtualRelayAccountResponse with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type GetVirtualRelayAccountResponseValidationError

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

GetVirtualRelayAccountResponseValidationError is the validation error returned by GetVirtualRelayAccountResponse.Validate if the designated constraints aren't met.

func (GetVirtualRelayAccountResponseValidationError) Cause

Cause function returns cause value.

func (GetVirtualRelayAccountResponseValidationError) Error

Error satisfies the builtin error interface

func (GetVirtualRelayAccountResponseValidationError) ErrorName

ErrorName returns error name.

func (GetVirtualRelayAccountResponseValidationError) Field

Field function returns field value.

func (GetVirtualRelayAccountResponseValidationError) Key

Key function returns key value.

func (GetVirtualRelayAccountResponseValidationError) Reason

Reason function returns reason value.

type GetVirtualRelayAccountResponse_Result

type GetVirtualRelayAccountResponse_Result int32
const (
	GetVirtualRelayAccountResponse_OK        GetVirtualRelayAccountResponse_Result = 0
	GetVirtualRelayAccountResponse_NOT_FOUND GetVirtualRelayAccountResponse_Result = 1
)

func (GetVirtualRelayAccountResponse_Result) Descriptor

func (GetVirtualRelayAccountResponse_Result) Enum

func (GetVirtualRelayAccountResponse_Result) EnumDescriptor deprecated

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

Deprecated: Use GetVirtualRelayAccountResponse_Result.Descriptor instead.

func (GetVirtualRelayAccountResponse_Result) Number

func (GetVirtualRelayAccountResponse_Result) String

func (GetVirtualRelayAccountResponse_Result) Type

type GetVirtualTimelockAccountsRequest

type GetVirtualTimelockAccountsRequest struct {
	VmAccount *Address `protobuf:"bytes,1,opt,name=vm_account,json=vmAccount,proto3" json:"vm_account,omitempty"`
	Owner     *Address `protobuf:"bytes,2,opt,name=owner,proto3" json:"owner,omitempty"`
	// contains filtered or unexported fields
}

func (*GetVirtualTimelockAccountsRequest) Descriptor deprecated

func (*GetVirtualTimelockAccountsRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetVirtualTimelockAccountsRequest.ProtoReflect.Descriptor instead.

func (*GetVirtualTimelockAccountsRequest) GetOwner

func (*GetVirtualTimelockAccountsRequest) GetVmAccount

func (x *GetVirtualTimelockAccountsRequest) GetVmAccount() *Address

func (*GetVirtualTimelockAccountsRequest) ProtoMessage

func (*GetVirtualTimelockAccountsRequest) ProtoMessage()

func (*GetVirtualTimelockAccountsRequest) ProtoReflect

func (*GetVirtualTimelockAccountsRequest) Reset

func (*GetVirtualTimelockAccountsRequest) String

func (*GetVirtualTimelockAccountsRequest) Validate

Validate checks the field values on GetVirtualTimelockAccountsRequest with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type GetVirtualTimelockAccountsRequestValidationError

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

GetVirtualTimelockAccountsRequestValidationError is the validation error returned by GetVirtualTimelockAccountsRequest.Validate if the designated constraints aren't met.

func (GetVirtualTimelockAccountsRequestValidationError) Cause

Cause function returns cause value.

func (GetVirtualTimelockAccountsRequestValidationError) Error

Error satisfies the builtin error interface

func (GetVirtualTimelockAccountsRequestValidationError) ErrorName

ErrorName returns error name.

func (GetVirtualTimelockAccountsRequestValidationError) Field

Field function returns field value.

func (GetVirtualTimelockAccountsRequestValidationError) Key

Key function returns key value.

func (GetVirtualTimelockAccountsRequestValidationError) Reason

Reason function returns reason value.

type GetVirtualTimelockAccountsResponse

type GetVirtualTimelockAccountsResponse struct {
	Result GetVirtualTimelockAccountsResponse_Result    `protobuf:"varint,1,opt,name=result,proto3,enum=code.vm.v1.GetVirtualTimelockAccountsResponse_Result" json:"result,omitempty"`
	Items  []*VirtualTimelockAccountWithStorageMetadata `protobuf:"bytes,2,rep,name=items,proto3" json:"items,omitempty"`
	// contains filtered or unexported fields
}

func (*GetVirtualTimelockAccountsResponse) Descriptor deprecated

func (*GetVirtualTimelockAccountsResponse) Descriptor() ([]byte, []int)

Deprecated: Use GetVirtualTimelockAccountsResponse.ProtoReflect.Descriptor instead.

func (*GetVirtualTimelockAccountsResponse) GetItems

func (*GetVirtualTimelockAccountsResponse) GetResult

func (*GetVirtualTimelockAccountsResponse) ProtoMessage

func (*GetVirtualTimelockAccountsResponse) ProtoMessage()

func (*GetVirtualTimelockAccountsResponse) ProtoReflect

func (*GetVirtualTimelockAccountsResponse) Reset

func (*GetVirtualTimelockAccountsResponse) String

func (*GetVirtualTimelockAccountsResponse) Validate

Validate checks the field values on GetVirtualTimelockAccountsResponse with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type GetVirtualTimelockAccountsResponseValidationError

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

GetVirtualTimelockAccountsResponseValidationError is the validation error returned by GetVirtualTimelockAccountsResponse.Validate if the designated constraints aren't met.

func (GetVirtualTimelockAccountsResponseValidationError) Cause

Cause function returns cause value.

func (GetVirtualTimelockAccountsResponseValidationError) Error

Error satisfies the builtin error interface

func (GetVirtualTimelockAccountsResponseValidationError) ErrorName

ErrorName returns error name.

func (GetVirtualTimelockAccountsResponseValidationError) Field

Field function returns field value.

func (GetVirtualTimelockAccountsResponseValidationError) Key

Key function returns key value.

func (GetVirtualTimelockAccountsResponseValidationError) Reason

Reason function returns reason value.

type GetVirtualTimelockAccountsResponse_Result

type GetVirtualTimelockAccountsResponse_Result int32
const (
	GetVirtualTimelockAccountsResponse_OK        GetVirtualTimelockAccountsResponse_Result = 0
	GetVirtualTimelockAccountsResponse_NOT_FOUND GetVirtualTimelockAccountsResponse_Result = 1
)

func (GetVirtualTimelockAccountsResponse_Result) Descriptor

func (GetVirtualTimelockAccountsResponse_Result) Enum

func (GetVirtualTimelockAccountsResponse_Result) EnumDescriptor deprecated

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

Deprecated: Use GetVirtualTimelockAccountsResponse_Result.Descriptor instead.

func (GetVirtualTimelockAccountsResponse_Result) Number

func (GetVirtualTimelockAccountsResponse_Result) String

func (GetVirtualTimelockAccountsResponse_Result) Type

type Hash

type Hash struct {
	Value []byte `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

func (*Hash) Descriptor deprecated

func (*Hash) Descriptor() ([]byte, []int)

Deprecated: Use Hash.ProtoReflect.Descriptor instead.

func (*Hash) GetValue

func (x *Hash) GetValue() []byte

func (*Hash) ProtoMessage

func (*Hash) ProtoMessage()

func (*Hash) ProtoReflect

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

func (*Hash) Reset

func (x *Hash) Reset()

func (*Hash) String

func (x *Hash) String() string

func (*Hash) Validate

func (m *Hash) Validate() error

Validate checks the field values on Hash with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type HashValidationError

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

HashValidationError is the validation error returned by Hash.Validate if the designated constraints aren't met.

func (HashValidationError) Cause

func (e HashValidationError) Cause() error

Cause function returns cause value.

func (HashValidationError) Error

func (e HashValidationError) Error() string

Error satisfies the builtin error interface

func (HashValidationError) ErrorName

func (e HashValidationError) ErrorName() string

ErrorName returns error name.

func (HashValidationError) Field

func (e HashValidationError) Field() string

Field function returns field value.

func (HashValidationError) Key

func (e HashValidationError) Key() bool

Key function returns key value.

func (HashValidationError) Reason

func (e HashValidationError) Reason() string

Reason function returns reason value.

type IndexerClient

type IndexerClient interface {
	// GetVirtualTimelockAccounts gets all virtual Timelock accounts for a given owner address
	GetVirtualTimelockAccounts(ctx context.Context, in *GetVirtualTimelockAccountsRequest, opts ...grpc.CallOption) (*GetVirtualTimelockAccountsResponse, error)
	// GetVirtualDurableNonce gets a virtual durable nonce for a given address
	GetVirtualDurableNonce(ctx context.Context, in *GetVirtualDurableNonceRequest, opts ...grpc.CallOption) (*GetVirtualDurableNonceResponse, error)
	// GetVirtualRelayAccount gets a virtual relay account for a given address
	GetVirtualRelayAccount(ctx context.Context, in *GetVirtualRelayAccountRequest, opts ...grpc.CallOption) (*GetVirtualRelayAccountResponse, error)
}

IndexerClient is the client API for Indexer service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

func NewIndexerClient

func NewIndexerClient(cc grpc.ClientConnInterface) IndexerClient

type IndexerServer

type IndexerServer interface {
	// GetVirtualTimelockAccounts gets all virtual Timelock accounts for a given owner address
	GetVirtualTimelockAccounts(context.Context, *GetVirtualTimelockAccountsRequest) (*GetVirtualTimelockAccountsResponse, error)
	// GetVirtualDurableNonce gets a virtual durable nonce for a given address
	GetVirtualDurableNonce(context.Context, *GetVirtualDurableNonceRequest) (*GetVirtualDurableNonceResponse, error)
	// GetVirtualRelayAccount gets a virtual relay account for a given address
	GetVirtualRelayAccount(context.Context, *GetVirtualRelayAccountRequest) (*GetVirtualRelayAccountResponse, error)
	// contains filtered or unexported methods
}

IndexerServer is the server API for Indexer service. All implementations must embed UnimplementedIndexerServer for forward compatibility

type MemoryVirtualAccountStorage

type MemoryVirtualAccountStorage struct {
	Account *Address `protobuf:"bytes,1,opt,name=account,proto3" json:"account,omitempty"`
	Index   uint32   `protobuf:"varint,2,opt,name=index,proto3" json:"index,omitempty"`
	// contains filtered or unexported fields
}

func (*MemoryVirtualAccountStorage) Descriptor deprecated

func (*MemoryVirtualAccountStorage) Descriptor() ([]byte, []int)

Deprecated: Use MemoryVirtualAccountStorage.ProtoReflect.Descriptor instead.

func (*MemoryVirtualAccountStorage) GetAccount

func (x *MemoryVirtualAccountStorage) GetAccount() *Address

func (*MemoryVirtualAccountStorage) GetIndex

func (x *MemoryVirtualAccountStorage) GetIndex() uint32

func (*MemoryVirtualAccountStorage) ProtoMessage

func (*MemoryVirtualAccountStorage) ProtoMessage()

func (*MemoryVirtualAccountStorage) ProtoReflect

func (*MemoryVirtualAccountStorage) Reset

func (x *MemoryVirtualAccountStorage) Reset()

func (*MemoryVirtualAccountStorage) String

func (x *MemoryVirtualAccountStorage) String() string

func (*MemoryVirtualAccountStorage) Validate

func (m *MemoryVirtualAccountStorage) Validate() error

Validate checks the field values on MemoryVirtualAccountStorage with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type MemoryVirtualAccountStorageValidationError

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

MemoryVirtualAccountStorageValidationError is the validation error returned by MemoryVirtualAccountStorage.Validate if the designated constraints aren't met.

func (MemoryVirtualAccountStorageValidationError) Cause

Cause function returns cause value.

func (MemoryVirtualAccountStorageValidationError) Error

Error satisfies the builtin error interface

func (MemoryVirtualAccountStorageValidationError) ErrorName

ErrorName returns error name.

func (MemoryVirtualAccountStorageValidationError) Field

Field function returns field value.

func (MemoryVirtualAccountStorageValidationError) Key

Key function returns key value.

func (MemoryVirtualAccountStorageValidationError) Reason

Reason function returns reason value.

type Proof

type Proof struct {
	Root           *Hash   `protobuf:"bytes,1,opt,name=root,proto3" json:"root,omitempty"`
	Proof          []*Hash `protobuf:"bytes,2,rep,name=proof,proto3" json:"proof,omitempty"`
	Leaf           *Hash   `protobuf:"bytes,3,opt,name=leaf,proto3" json:"leaf,omitempty"`
	ForLeafIndex   uint64  `protobuf:"varint,4,opt,name=for_leaf_index,json=forLeafIndex,proto3" json:"for_leaf_index,omitempty"`
	UntilLeafIndex uint64  `protobuf:"varint,5,opt,name=until_leaf_index,json=untilLeafIndex,proto3" json:"until_leaf_index,omitempty"`
	// contains filtered or unexported fields
}

func (*Proof) Descriptor deprecated

func (*Proof) Descriptor() ([]byte, []int)

Deprecated: Use Proof.ProtoReflect.Descriptor instead.

func (*Proof) GetForLeafIndex

func (x *Proof) GetForLeafIndex() uint64

func (*Proof) GetLeaf

func (x *Proof) GetLeaf() *Hash

func (*Proof) GetProof

func (x *Proof) GetProof() []*Hash

func (*Proof) GetRoot

func (x *Proof) GetRoot() *Hash

func (*Proof) GetUntilLeafIndex

func (x *Proof) GetUntilLeafIndex() uint64

func (*Proof) ProtoMessage

func (*Proof) ProtoMessage()

func (*Proof) ProtoReflect

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

func (*Proof) Reset

func (x *Proof) Reset()

func (*Proof) String

func (x *Proof) String() string

func (*Proof) Validate

func (m *Proof) Validate() error

Validate checks the field values on Proof with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type ProofValidationError

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

ProofValidationError is the validation error returned by Proof.Validate if the designated constraints aren't met.

func (ProofValidationError) Cause

func (e ProofValidationError) Cause() error

Cause function returns cause value.

func (ProofValidationError) Error

func (e ProofValidationError) Error() string

Error satisfies the builtin error interface

func (ProofValidationError) ErrorName

func (e ProofValidationError) ErrorName() string

ErrorName returns error name.

func (ProofValidationError) Field

func (e ProofValidationError) Field() string

Field function returns field value.

func (ProofValidationError) Key

func (e ProofValidationError) Key() bool

Key function returns key value.

func (ProofValidationError) Reason

func (e ProofValidationError) Reason() string

Reason function returns reason value.

type UnimplementedIndexerServer

type UnimplementedIndexerServer struct {
}

UnimplementedIndexerServer must be embedded to have forward compatible implementations.

type UnsafeIndexerServer

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

UnsafeIndexerServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to IndexerServer will result in compilation errors.

type VirtualAccountStorage

type VirtualAccountStorage struct {

	// Types that are assignable to Storage:
	//
	//	*VirtualAccountStorage_Memory
	//	*VirtualAccountStorage_Compressed
	Storage isVirtualAccountStorage_Storage `protobuf_oneof:"storage"`
	// contains filtered or unexported fields
}

func (*VirtualAccountStorage) Descriptor deprecated

func (*VirtualAccountStorage) Descriptor() ([]byte, []int)

Deprecated: Use VirtualAccountStorage.ProtoReflect.Descriptor instead.

func (*VirtualAccountStorage) GetCompressed

func (*VirtualAccountStorage) GetMemory

func (*VirtualAccountStorage) GetStorage

func (m *VirtualAccountStorage) GetStorage() isVirtualAccountStorage_Storage

func (*VirtualAccountStorage) ProtoMessage

func (*VirtualAccountStorage) ProtoMessage()

func (*VirtualAccountStorage) ProtoReflect

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

func (*VirtualAccountStorage) Reset

func (x *VirtualAccountStorage) Reset()

func (*VirtualAccountStorage) String

func (x *VirtualAccountStorage) String() string

func (*VirtualAccountStorage) Validate

func (m *VirtualAccountStorage) Validate() error

Validate checks the field values on VirtualAccountStorage with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type VirtualAccountStorageValidationError

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

VirtualAccountStorageValidationError is the validation error returned by VirtualAccountStorage.Validate if the designated constraints aren't met.

func (VirtualAccountStorageValidationError) Cause

Cause function returns cause value.

func (VirtualAccountStorageValidationError) Error

Error satisfies the builtin error interface

func (VirtualAccountStorageValidationError) ErrorName

ErrorName returns error name.

func (VirtualAccountStorageValidationError) Field

Field function returns field value.

func (VirtualAccountStorageValidationError) Key

Key function returns key value.

func (VirtualAccountStorageValidationError) Reason

Reason function returns reason value.

type VirtualAccountStorage_Compressed

type VirtualAccountStorage_Compressed struct {
	Compressed *CompressedVirtualAccountStorage `protobuf:"bytes,2,opt,name=compressed,proto3,oneof"`
}

type VirtualAccountStorage_Memory

type VirtualAccountStorage_Memory struct {
	Memory *MemoryVirtualAccountStorage `protobuf:"bytes,1,opt,name=memory,proto3,oneof"`
}

type VirtualDurableNonce

type VirtualDurableNonce struct {
	Address *Address `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
	Value   *Hash    `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

func (*VirtualDurableNonce) Descriptor deprecated

func (*VirtualDurableNonce) Descriptor() ([]byte, []int)

Deprecated: Use VirtualDurableNonce.ProtoReflect.Descriptor instead.

func (*VirtualDurableNonce) GetAddress

func (x *VirtualDurableNonce) GetAddress() *Address

func (*VirtualDurableNonce) GetValue added in v0.2.1

func (x *VirtualDurableNonce) GetValue() *Hash

func (*VirtualDurableNonce) ProtoMessage

func (*VirtualDurableNonce) ProtoMessage()

func (*VirtualDurableNonce) ProtoReflect

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

func (*VirtualDurableNonce) Reset

func (x *VirtualDurableNonce) Reset()

func (*VirtualDurableNonce) String

func (x *VirtualDurableNonce) String() string

func (*VirtualDurableNonce) Validate

func (m *VirtualDurableNonce) Validate() error

Validate checks the field values on VirtualDurableNonce with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type VirtualDurableNonceValidationError

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

VirtualDurableNonceValidationError is the validation error returned by VirtualDurableNonce.Validate if the designated constraints aren't met.

func (VirtualDurableNonceValidationError) Cause

Cause function returns cause value.

func (VirtualDurableNonceValidationError) Error

Error satisfies the builtin error interface

func (VirtualDurableNonceValidationError) ErrorName

ErrorName returns error name.

func (VirtualDurableNonceValidationError) Field

Field function returns field value.

func (VirtualDurableNonceValidationError) Key

Key function returns key value.

func (VirtualDurableNonceValidationError) Reason

Reason function returns reason value.

type VirtualDurableNonceWithStorageMetadata

type VirtualDurableNonceWithStorageMetadata struct {
	Account *VirtualDurableNonce   `protobuf:"bytes,1,opt,name=account,proto3" json:"account,omitempty"`
	Storage *VirtualAccountStorage `protobuf:"bytes,2,opt,name=storage,proto3" json:"storage,omitempty"`
	Slot    uint64                 `protobuf:"varint,3,opt,name=slot,proto3" json:"slot,omitempty"`
	// contains filtered or unexported fields
}

func (*VirtualDurableNonceWithStorageMetadata) Descriptor deprecated

func (*VirtualDurableNonceWithStorageMetadata) Descriptor() ([]byte, []int)

Deprecated: Use VirtualDurableNonceWithStorageMetadata.ProtoReflect.Descriptor instead.

func (*VirtualDurableNonceWithStorageMetadata) GetAccount

func (*VirtualDurableNonceWithStorageMetadata) GetSlot

func (*VirtualDurableNonceWithStorageMetadata) GetStorage

func (*VirtualDurableNonceWithStorageMetadata) ProtoMessage

func (*VirtualDurableNonceWithStorageMetadata) ProtoReflect

func (*VirtualDurableNonceWithStorageMetadata) Reset

func (*VirtualDurableNonceWithStorageMetadata) String

func (*VirtualDurableNonceWithStorageMetadata) Validate

Validate checks the field values on VirtualDurableNonceWithStorageMetadata with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type VirtualDurableNonceWithStorageMetadataValidationError

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

VirtualDurableNonceWithStorageMetadataValidationError is the validation error returned by VirtualDurableNonceWithStorageMetadata.Validate if the designated constraints aren't met.

func (VirtualDurableNonceWithStorageMetadataValidationError) Cause

Cause function returns cause value.

func (VirtualDurableNonceWithStorageMetadataValidationError) Error

Error satisfies the builtin error interface

func (VirtualDurableNonceWithStorageMetadataValidationError) ErrorName

ErrorName returns error name.

func (VirtualDurableNonceWithStorageMetadataValidationError) Field

Field function returns field value.

func (VirtualDurableNonceWithStorageMetadataValidationError) Key

Key function returns key value.

func (VirtualDurableNonceWithStorageMetadataValidationError) Reason

Reason function returns reason value.

type VirtualRelayAccount

type VirtualRelayAccount struct {
	Target      *Address `protobuf:"bytes,1,opt,name=target,proto3" json:"target,omitempty"`
	Destination *Address `protobuf:"bytes,2,opt,name=destination,proto3" json:"destination,omitempty"`
	// contains filtered or unexported fields
}

func (*VirtualRelayAccount) Descriptor deprecated

func (*VirtualRelayAccount) Descriptor() ([]byte, []int)

Deprecated: Use VirtualRelayAccount.ProtoReflect.Descriptor instead.

func (*VirtualRelayAccount) GetDestination

func (x *VirtualRelayAccount) GetDestination() *Address

func (*VirtualRelayAccount) GetTarget added in v0.2.0

func (x *VirtualRelayAccount) GetTarget() *Address

func (*VirtualRelayAccount) ProtoMessage

func (*VirtualRelayAccount) ProtoMessage()

func (*VirtualRelayAccount) ProtoReflect

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

func (*VirtualRelayAccount) Reset

func (x *VirtualRelayAccount) Reset()

func (*VirtualRelayAccount) String

func (x *VirtualRelayAccount) String() string

func (*VirtualRelayAccount) Validate

func (m *VirtualRelayAccount) Validate() error

Validate checks the field values on VirtualRelayAccount with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type VirtualRelayAccountValidationError

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

VirtualRelayAccountValidationError is the validation error returned by VirtualRelayAccount.Validate if the designated constraints aren't met.

func (VirtualRelayAccountValidationError) Cause

Cause function returns cause value.

func (VirtualRelayAccountValidationError) Error

Error satisfies the builtin error interface

func (VirtualRelayAccountValidationError) ErrorName

ErrorName returns error name.

func (VirtualRelayAccountValidationError) Field

Field function returns field value.

func (VirtualRelayAccountValidationError) Key

Key function returns key value.

func (VirtualRelayAccountValidationError) Reason

Reason function returns reason value.

type VirtualRelayAccountWithStorageMetadata

type VirtualRelayAccountWithStorageMetadata struct {
	Account *VirtualRelayAccount   `protobuf:"bytes,1,opt,name=account,proto3" json:"account,omitempty"`
	Storage *VirtualAccountStorage `protobuf:"bytes,2,opt,name=storage,proto3" json:"storage,omitempty"`
	Slot    uint64                 `protobuf:"varint,3,opt,name=slot,proto3" json:"slot,omitempty"`
	// contains filtered or unexported fields
}

func (*VirtualRelayAccountWithStorageMetadata) Descriptor deprecated

func (*VirtualRelayAccountWithStorageMetadata) Descriptor() ([]byte, []int)

Deprecated: Use VirtualRelayAccountWithStorageMetadata.ProtoReflect.Descriptor instead.

func (*VirtualRelayAccountWithStorageMetadata) GetAccount

func (*VirtualRelayAccountWithStorageMetadata) GetSlot

func (*VirtualRelayAccountWithStorageMetadata) GetStorage

func (*VirtualRelayAccountWithStorageMetadata) ProtoMessage

func (*VirtualRelayAccountWithStorageMetadata) ProtoReflect

func (*VirtualRelayAccountWithStorageMetadata) Reset

func (*VirtualRelayAccountWithStorageMetadata) String

func (*VirtualRelayAccountWithStorageMetadata) Validate

Validate checks the field values on VirtualRelayAccountWithStorageMetadata with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type VirtualRelayAccountWithStorageMetadataValidationError

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

VirtualRelayAccountWithStorageMetadataValidationError is the validation error returned by VirtualRelayAccountWithStorageMetadata.Validate if the designated constraints aren't met.

func (VirtualRelayAccountWithStorageMetadataValidationError) Cause

Cause function returns cause value.

func (VirtualRelayAccountWithStorageMetadataValidationError) Error

Error satisfies the builtin error interface

func (VirtualRelayAccountWithStorageMetadataValidationError) ErrorName

ErrorName returns error name.

func (VirtualRelayAccountWithStorageMetadataValidationError) Field

Field function returns field value.

func (VirtualRelayAccountWithStorageMetadataValidationError) Key

Key function returns key value.

func (VirtualRelayAccountWithStorageMetadataValidationError) Reason

Reason function returns reason value.

type VirtualTimelockAccount

type VirtualTimelockAccount struct {
	Owner        *Address `protobuf:"bytes,1,opt,name=owner,proto3" json:"owner,omitempty"`
	Nonce        *Hash    `protobuf:"bytes,2,opt,name=nonce,proto3" json:"nonce,omitempty"`
	TokenBump    uint32   `protobuf:"varint,3,opt,name=token_bump,json=tokenBump,proto3" json:"token_bump,omitempty"`
	UnlockBump   uint32   `protobuf:"varint,4,opt,name=unlock_bump,json=unlockBump,proto3" json:"unlock_bump,omitempty"`
	WithdrawBump uint32   `protobuf:"varint,5,opt,name=withdraw_bump,json=withdrawBump,proto3" json:"withdraw_bump,omitempty"`
	Balance      uint64   `protobuf:"varint,6,opt,name=balance,proto3" json:"balance,omitempty"`
	Bump         uint32   `protobuf:"varint,7,opt,name=bump,proto3" json:"bump,omitempty"`
	// contains filtered or unexported fields
}

func (*VirtualTimelockAccount) Descriptor deprecated

func (*VirtualTimelockAccount) Descriptor() ([]byte, []int)

Deprecated: Use VirtualTimelockAccount.ProtoReflect.Descriptor instead.

func (*VirtualTimelockAccount) GetBalance

func (x *VirtualTimelockAccount) GetBalance() uint64

func (*VirtualTimelockAccount) GetBump

func (x *VirtualTimelockAccount) GetBump() uint32

func (*VirtualTimelockAccount) GetNonce

func (x *VirtualTimelockAccount) GetNonce() *Hash

func (*VirtualTimelockAccount) GetOwner

func (x *VirtualTimelockAccount) GetOwner() *Address

func (*VirtualTimelockAccount) GetTokenBump

func (x *VirtualTimelockAccount) GetTokenBump() uint32

func (*VirtualTimelockAccount) GetUnlockBump

func (x *VirtualTimelockAccount) GetUnlockBump() uint32

func (*VirtualTimelockAccount) GetWithdrawBump

func (x *VirtualTimelockAccount) GetWithdrawBump() uint32

func (*VirtualTimelockAccount) ProtoMessage

func (*VirtualTimelockAccount) ProtoMessage()

func (*VirtualTimelockAccount) ProtoReflect

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

func (*VirtualTimelockAccount) Reset

func (x *VirtualTimelockAccount) Reset()

func (*VirtualTimelockAccount) String

func (x *VirtualTimelockAccount) String() string

func (*VirtualTimelockAccount) Validate

func (m *VirtualTimelockAccount) Validate() error

Validate checks the field values on VirtualTimelockAccount with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type VirtualTimelockAccountValidationError

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

VirtualTimelockAccountValidationError is the validation error returned by VirtualTimelockAccount.Validate if the designated constraints aren't met.

func (VirtualTimelockAccountValidationError) Cause

Cause function returns cause value.

func (VirtualTimelockAccountValidationError) Error

Error satisfies the builtin error interface

func (VirtualTimelockAccountValidationError) ErrorName

ErrorName returns error name.

func (VirtualTimelockAccountValidationError) Field

Field function returns field value.

func (VirtualTimelockAccountValidationError) Key

Key function returns key value.

func (VirtualTimelockAccountValidationError) Reason

Reason function returns reason value.

type VirtualTimelockAccountWithStorageMetadata

type VirtualTimelockAccountWithStorageMetadata struct {
	Account *VirtualTimelockAccount `protobuf:"bytes,1,opt,name=account,proto3" json:"account,omitempty"`
	Storage *VirtualAccountStorage  `protobuf:"bytes,2,opt,name=storage,proto3" json:"storage,omitempty"`
	Slot    uint64                  `protobuf:"varint,3,opt,name=slot,proto3" json:"slot,omitempty"`
	// contains filtered or unexported fields
}

func (*VirtualTimelockAccountWithStorageMetadata) Descriptor deprecated

func (*VirtualTimelockAccountWithStorageMetadata) Descriptor() ([]byte, []int)

Deprecated: Use VirtualTimelockAccountWithStorageMetadata.ProtoReflect.Descriptor instead.

func (*VirtualTimelockAccountWithStorageMetadata) GetAccount

func (*VirtualTimelockAccountWithStorageMetadata) GetSlot

func (*VirtualTimelockAccountWithStorageMetadata) GetStorage

func (*VirtualTimelockAccountWithStorageMetadata) ProtoMessage

func (*VirtualTimelockAccountWithStorageMetadata) ProtoReflect

func (*VirtualTimelockAccountWithStorageMetadata) Reset

func (*VirtualTimelockAccountWithStorageMetadata) String

func (*VirtualTimelockAccountWithStorageMetadata) Validate

Validate checks the field values on VirtualTimelockAccountWithStorageMetadata with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type VirtualTimelockAccountWithStorageMetadataValidationError

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

VirtualTimelockAccountWithStorageMetadataValidationError is the validation error returned by VirtualTimelockAccountWithStorageMetadata.Validate if the designated constraints aren't met.

func (VirtualTimelockAccountWithStorageMetadataValidationError) Cause

Cause function returns cause value.

func (VirtualTimelockAccountWithStorageMetadataValidationError) Error

Error satisfies the builtin error interface

func (VirtualTimelockAccountWithStorageMetadataValidationError) ErrorName

ErrorName returns error name.

func (VirtualTimelockAccountWithStorageMetadataValidationError) Field

Field function returns field value.

func (VirtualTimelockAccountWithStorageMetadataValidationError) Key

Key function returns key value.

func (VirtualTimelockAccountWithStorageMetadataValidationError) Reason

Reason function returns reason value.

Jump to

Keyboard shortcuts

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