Documentation
¶
Index ¶
- Constants
- Variables
- func ConvertAddressesFromProto(addresses [][]byte) []evmtypes.Address
- func ConvertCallMsgFromProto(protoMsg *CallMsg) (*evmtypes.CallMsg, error)
- func ConvertExpressionsFromProto(protoExpressions []*Expression) ([]query.Expression, error)
- func ConvertFilterFromProto(protoFilter *FilterQuery) (evmtypes.FilterQuery, error)
- func ConvertGasConfigFromProto(gasConfig *GasConfig) *evmtypes.GasConfig
- func ConvertHashedValueComparatorsFromProto(protoHashedValueComparators []*HashValueComparator) []evmprimitives.HashedValueComparator
- func ConvertHashesFromProto(hashes [][]byte) []evmtypes.Hash
- func ConvertHeadFromProto(head *Head) (evmtypes.Head, error)
- func ConvertLPFilterFromProto(protoFilter *LPFilter) (evmtypes.LPFilterQuery, error)
- func ConvertLogsFromProto(protoLogs []*Log) []*evmtypes.Log
- func ConvertReceiptFromProto(protoReceipt *Receipt) (*evmtypes.Receipt, error)
- func ConvertSubmitTransactionRequestFromProto(txRequest *SubmitTransactionRequest) evmtypes.SubmitTransactionRequest
- func ConvertTopicsFromProto(protoTopics []*Topics) [][]evmtypes.Hash
- func ConvertTransactionFromProto(protoTx *Transaction) (*evmtypes.Transaction, error)
- func ConvertTxStatusFromProto(txStatus TxStatus) evmtypes.TransactionStatus
- func RegisterEVMServer(s grpc.ServiceRegistrar, srv EVMServer)
- type And
- type BalanceAtReply
- type BalanceAtRequest
- func (*BalanceAtRequest) Descriptor() ([]byte, []int)deprecated
- func (x *BalanceAtRequest) GetAccount() []byte
- func (x *BalanceAtRequest) GetBlockNumber() *pb.BigInt
- func (*BalanceAtRequest) ProtoMessage()
- func (x *BalanceAtRequest) ProtoReflect() protoreflect.Message
- func (x *BalanceAtRequest) Reset()
- func (x *BalanceAtRequest) String() string
- type BooleanExpression
- func (*BooleanExpression) Descriptor() ([]byte, []int)deprecated
- func (x *BooleanExpression) GetBooleanOperator() chain_common.BooleanOperator
- func (x *BooleanExpression) GetExpression() []*Expression
- func (*BooleanExpression) ProtoMessage()
- func (x *BooleanExpression) ProtoReflect() protoreflect.Message
- func (x *BooleanExpression) Reset()
- func (x *BooleanExpression) String() string
- type CalculateTransactionFeeReply
- func (*CalculateTransactionFeeReply) Descriptor() ([]byte, []int)deprecated
- func (x *CalculateTransactionFeeReply) GetTransactionFee() *pb.BigInt
- func (*CalculateTransactionFeeReply) ProtoMessage()
- func (x *CalculateTransactionFeeReply) ProtoReflect() protoreflect.Message
- func (x *CalculateTransactionFeeReply) Reset()
- func (x *CalculateTransactionFeeReply) String() string
- type CalculateTransactionFeeRequest
- func (*CalculateTransactionFeeRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CalculateTransactionFeeRequest) GetGasInfo() *ReceiptGasInfo
- func (*CalculateTransactionFeeRequest) ProtoMessage()
- func (x *CalculateTransactionFeeRequest) ProtoReflect() protoreflect.Message
- func (x *CalculateTransactionFeeRequest) Reset()
- func (x *CalculateTransactionFeeRequest) String() string
- type CallContractReply
- type CallContractRequest
- func (*CallContractRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CallContractRequest) GetBlockNumber() *pb.BigInt
- func (x *CallContractRequest) GetCall() *CallMsg
- func (*CallContractRequest) ProtoMessage()
- func (x *CallContractRequest) ProtoReflect() protoreflect.Message
- func (x *CallContractRequest) Reset()
- func (x *CallContractRequest) String() string
- type CallMsg
- func (*CallMsg) Descriptor() ([]byte, []int)deprecated
- func (x *CallMsg) GetData() []byte
- func (x *CallMsg) GetFrom() []byte
- func (x *CallMsg) GetTo() []byte
- func (*CallMsg) ProtoMessage()
- func (x *CallMsg) ProtoReflect() protoreflect.Message
- func (x *CallMsg) Reset()
- func (x *CallMsg) String() string
- type EVMClient
- type EVMServer
- type EstimateGasReply
- type EstimateGasRequest
- func (*EstimateGasRequest) Descriptor() ([]byte, []int)deprecated
- func (x *EstimateGasRequest) GetMsg() *CallMsg
- func (*EstimateGasRequest) ProtoMessage()
- func (x *EstimateGasRequest) ProtoReflect() protoreflect.Message
- func (x *EstimateGasRequest) Reset()
- func (x *EstimateGasRequest) String() string
- type EventByTopic
- func (*EventByTopic) Descriptor() ([]byte, []int)deprecated
- func (x *EventByTopic) GetHashedValueComparers() []*HashValueComparator
- func (x *EventByTopic) GetTopic() uint64
- func (*EventByTopic) ProtoMessage()
- func (x *EventByTopic) ProtoReflect() protoreflect.Message
- func (x *EventByTopic) Reset()
- func (x *EventByTopic) String() string
- type EventByWord
- func (*EventByWord) Descriptor() ([]byte, []int)deprecated
- func (x *EventByWord) GetHashedValueComparers() []*HashValueComparator
- func (x *EventByWord) GetWordIndex() uint32
- func (*EventByWord) ProtoMessage()
- func (x *EventByWord) ProtoReflect() protoreflect.Message
- func (x *EventByWord) Reset()
- func (x *EventByWord) String() string
- type Expression
- func (*Expression) Descriptor() ([]byte, []int)deprecated
- func (x *Expression) GetBooleanExpression() *BooleanExpression
- func (x *Expression) GetEvaluator() isExpression_Evaluator
- func (x *Expression) GetPrimitive() *Primitive
- func (*Expression) ProtoMessage()
- func (x *Expression) ProtoReflect() protoreflect.Message
- func (x *Expression) Reset()
- func (x *Expression) String() string
- type Expression_BooleanExpression
- type Expression_Primitive
- type FilterLogsReply
- type FilterLogsRequest
- func (*FilterLogsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *FilterLogsRequest) GetFilterQuery() *FilterQuery
- func (*FilterLogsRequest) ProtoMessage()
- func (x *FilterLogsRequest) ProtoReflect() protoreflect.Message
- func (x *FilterLogsRequest) Reset()
- func (x *FilterLogsRequest) String() string
- type FilterQuery
- func (*FilterQuery) Descriptor() ([]byte, []int)deprecated
- func (x *FilterQuery) GetAddresses() [][]byte
- func (x *FilterQuery) GetBlockHash() []byte
- func (x *FilterQuery) GetFromBlock() *pb.BigInt
- func (x *FilterQuery) GetToBlock() *pb.BigInt
- func (x *FilterQuery) GetTopics() []*Topics
- func (*FilterQuery) ProtoMessage()
- func (x *FilterQuery) ProtoReflect() protoreflect.Message
- func (x *FilterQuery) Reset()
- func (x *FilterQuery) String() string
- type GasConfig
- type GetForwarderForEOAReply
- func (*GetForwarderForEOAReply) Descriptor() ([]byte, []int)deprecated
- func (x *GetForwarderForEOAReply) GetAddr() []byte
- func (*GetForwarderForEOAReply) ProtoMessage()
- func (x *GetForwarderForEOAReply) ProtoReflect() protoreflect.Message
- func (x *GetForwarderForEOAReply) Reset()
- func (x *GetForwarderForEOAReply) String() string
- type GetForwarderForEOARequest
- func (*GetForwarderForEOARequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetForwarderForEOARequest) GetAddr() []byte
- func (x *GetForwarderForEOARequest) GetAggr() []byte
- func (x *GetForwarderForEOARequest) GetPluginType() string
- func (*GetForwarderForEOARequest) ProtoMessage()
- func (x *GetForwarderForEOARequest) ProtoReflect() protoreflect.Message
- func (x *GetForwarderForEOARequest) Reset()
- func (x *GetForwarderForEOARequest) String() string
- type GetTransactionByHashReply
- func (*GetTransactionByHashReply) Descriptor() ([]byte, []int)deprecated
- func (x *GetTransactionByHashReply) GetTransaction() *Transaction
- func (*GetTransactionByHashReply) ProtoMessage()
- func (x *GetTransactionByHashReply) ProtoReflect() protoreflect.Message
- func (x *GetTransactionByHashReply) Reset()
- func (x *GetTransactionByHashReply) String() string
- type GetTransactionByHashRequest
- func (*GetTransactionByHashRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetTransactionByHashRequest) GetHash() []byte
- func (*GetTransactionByHashRequest) ProtoMessage()
- func (x *GetTransactionByHashRequest) ProtoReflect() protoreflect.Message
- func (x *GetTransactionByHashRequest) Reset()
- func (x *GetTransactionByHashRequest) String() string
- type GetTransactionFeeReply
- func (*GetTransactionFeeReply) Descriptor() ([]byte, []int)deprecated
- func (x *GetTransactionFeeReply) GetTransactionFee() *pb.BigInt
- func (*GetTransactionFeeReply) ProtoMessage()
- func (x *GetTransactionFeeReply) ProtoReflect() protoreflect.Message
- func (x *GetTransactionFeeReply) Reset()
- func (x *GetTransactionFeeReply) String() string
- type GetTransactionFeeRequest
- func (*GetTransactionFeeRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetTransactionFeeRequest) GetTransactionId() string
- func (*GetTransactionFeeRequest) ProtoMessage()
- func (x *GetTransactionFeeRequest) ProtoReflect() protoreflect.Message
- func (x *GetTransactionFeeRequest) Reset()
- func (x *GetTransactionFeeRequest) String() string
- type GetTransactionReceiptReply
- func (*GetTransactionReceiptReply) Descriptor() ([]byte, []int)deprecated
- func (x *GetTransactionReceiptReply) GetReceipt() *Receipt
- func (*GetTransactionReceiptReply) ProtoMessage()
- func (x *GetTransactionReceiptReply) ProtoReflect() protoreflect.Message
- func (x *GetTransactionReceiptReply) Reset()
- func (x *GetTransactionReceiptReply) String() string
- type GetTransactionReceiptRequest
- func (*GetTransactionReceiptRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetTransactionReceiptRequest) GetHash() []byte
- func (*GetTransactionReceiptRequest) ProtoMessage()
- func (x *GetTransactionReceiptRequest) ProtoReflect() protoreflect.Message
- func (x *GetTransactionReceiptRequest) Reset()
- func (x *GetTransactionReceiptRequest) String() string
- type GetTransactionStatusReply
- func (*GetTransactionStatusReply) Descriptor() ([]byte, []int)deprecated
- func (x *GetTransactionStatusReply) GetTransactionStatus() TransactionStatus
- func (*GetTransactionStatusReply) ProtoMessage()
- func (x *GetTransactionStatusReply) ProtoReflect() protoreflect.Message
- func (x *GetTransactionStatusReply) Reset()
- func (x *GetTransactionStatusReply) String() string
- type GetTransactionStatusRequest
- func (*GetTransactionStatusRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetTransactionStatusRequest) GetTransactionId() string
- func (*GetTransactionStatusRequest) ProtoMessage()
- func (x *GetTransactionStatusRequest) ProtoReflect() protoreflect.Message
- func (x *GetTransactionStatusRequest) Reset()
- func (x *GetTransactionStatusRequest) String() string
- type HashValueComparator
- func (*HashValueComparator) Descriptor() ([]byte, []int)deprecated
- func (x *HashValueComparator) GetOperator() chain_common.ComparisonOperator
- func (x *HashValueComparator) GetValues() [][]byte
- func (*HashValueComparator) ProtoMessage()
- func (x *HashValueComparator) ProtoReflect() protoreflect.Message
- func (x *HashValueComparator) Reset()
- func (x *HashValueComparator) String() string
- type Head
- func (*Head) Descriptor() ([]byte, []int)deprecated
- func (x *Head) GetBlockNumber() *pb.BigInt
- func (x *Head) GetHash() []byte
- func (x *Head) GetParentHash() []byte
- func (x *Head) GetTimestamp() uint64
- func (*Head) ProtoMessage()
- func (x *Head) ProtoReflect() protoreflect.Message
- func (x *Head) Reset()
- func (x *Head) String() string
- type LPFilter
- func (*LPFilter) Descriptor() ([]byte, []int)deprecated
- func (x *LPFilter) GetAddresses() [][]byte
- func (x *LPFilter) GetEventSigs() [][]byte
- func (x *LPFilter) GetLogsPerBlock() uint64
- func (x *LPFilter) GetMaxLogsKept() uint64
- func (x *LPFilter) GetName() string
- func (x *LPFilter) GetRetentionTime() int64
- func (x *LPFilter) GetTopic2() [][]byte
- func (x *LPFilter) GetTopic3() [][]byte
- func (x *LPFilter) GetTopic4() [][]byte
- func (*LPFilter) ProtoMessage()
- func (x *LPFilter) ProtoReflect() protoreflect.Message
- func (x *LPFilter) Reset()
- func (x *LPFilter) String() string
- type LatestAndFinalizedHeadReply
- func (*LatestAndFinalizedHeadReply) Descriptor() ([]byte, []int)deprecated
- func (x *LatestAndFinalizedHeadReply) GetFinalized() *Head
- func (x *LatestAndFinalizedHeadReply) GetLatest() *Head
- func (*LatestAndFinalizedHeadReply) ProtoMessage()
- func (x *LatestAndFinalizedHeadReply) ProtoReflect() protoreflect.Message
- func (x *LatestAndFinalizedHeadReply) Reset()
- func (x *LatestAndFinalizedHeadReply) String() string
- type Log
- func (*Log) Descriptor() ([]byte, []int)deprecated
- func (x *Log) GetAddress() []byte
- func (x *Log) GetBlockHash() []byte
- func (x *Log) GetBlockNumber() *pb.BigInt
- func (x *Log) GetData() []byte
- func (x *Log) GetEventSig() []byte
- func (x *Log) GetIndex() uint32
- func (x *Log) GetRemoved() bool
- func (x *Log) GetTopics() [][]byte
- func (x *Log) GetTxHash() []byte
- func (x *Log) GetTxIndex() uint32
- func (*Log) ProtoMessage()
- func (x *Log) ProtoReflect() protoreflect.Message
- func (x *Log) Reset()
- func (x *Log) String() string
- type Or
- type Primitive
- func (*Primitive) Descriptor() ([]byte, []int)deprecated
- func (x *Primitive) GetContractAddress() []byte
- func (x *Primitive) GetEventByTopic() *EventByTopic
- func (x *Primitive) GetEventByWord() *EventByWord
- func (x *Primitive) GetEventSig() []byte
- func (x *Primitive) GetGeneralPrimitive() *chain_common.Primitive
- func (x *Primitive) GetPrimitive() isPrimitive_Primitive
- func (*Primitive) ProtoMessage()
- func (x *Primitive) ProtoReflect() protoreflect.Message
- func (x *Primitive) Reset()
- func (x *Primitive) String() string
- type Primitive_ContractAddress
- type Primitive_EventByTopic
- type Primitive_EventByWord
- type Primitive_EventSig
- type Primitive_GeneralPrimitive
- type QueryTrackedLogsReply
- func (*QueryTrackedLogsReply) Descriptor() ([]byte, []int)deprecated
- func (x *QueryTrackedLogsReply) GetLogs() []*Log
- func (*QueryTrackedLogsReply) ProtoMessage()
- func (x *QueryTrackedLogsReply) ProtoReflect() protoreflect.Message
- func (x *QueryTrackedLogsReply) Reset()
- func (x *QueryTrackedLogsReply) String() string
- type QueryTrackedLogsRequest
- func (*QueryTrackedLogsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *QueryTrackedLogsRequest) GetConfidenceLevel() chain_common.Confidence
- func (x *QueryTrackedLogsRequest) GetExpression() []*Expression
- func (x *QueryTrackedLogsRequest) GetLimitAndSort() *chain_common.LimitAndSort
- func (*QueryTrackedLogsRequest) ProtoMessage()
- func (x *QueryTrackedLogsRequest) ProtoReflect() protoreflect.Message
- func (x *QueryTrackedLogsRequest) Reset()
- func (x *QueryTrackedLogsRequest) String() string
- type Receipt
- func (*Receipt) Descriptor() ([]byte, []int)deprecated
- func (x *Receipt) GetBlockHash() []byte
- func (x *Receipt) GetBlockNumber() *pb.BigInt
- func (x *Receipt) GetContractAddress() []byte
- func (x *Receipt) GetEffectiveGasPrice() *pb.BigInt
- func (x *Receipt) GetGasUsed() uint64
- func (x *Receipt) GetLogs() []*Log
- func (x *Receipt) GetStatus() uint64
- func (x *Receipt) GetTxHash() []byte
- func (x *Receipt) GetTxIndex() uint64
- func (*Receipt) ProtoMessage()
- func (x *Receipt) ProtoReflect() protoreflect.Message
- func (x *Receipt) Reset()
- func (x *Receipt) String() string
- type ReceiptGasInfo
- func (*ReceiptGasInfo) Descriptor() ([]byte, []int)deprecated
- func (x *ReceiptGasInfo) GetEffectiveGasPrice() *pb.BigInt
- func (x *ReceiptGasInfo) GetGasUsed() uint64
- func (*ReceiptGasInfo) ProtoMessage()
- func (x *ReceiptGasInfo) ProtoReflect() protoreflect.Message
- func (x *ReceiptGasInfo) Reset()
- func (x *ReceiptGasInfo) String() string
- type RegisterLogTrackingRequest
- func (*RegisterLogTrackingRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RegisterLogTrackingRequest) GetFilter() *LPFilter
- func (*RegisterLogTrackingRequest) ProtoMessage()
- func (x *RegisterLogTrackingRequest) ProtoReflect() protoreflect.Message
- func (x *RegisterLogTrackingRequest) Reset()
- func (x *RegisterLogTrackingRequest) String() string
- type SubmitTransactionReply
- func (*SubmitTransactionReply) Descriptor() ([]byte, []int)deprecated
- func (x *SubmitTransactionReply) GetTxHash() []byte
- func (x *SubmitTransactionReply) GetTxStatus() TxStatus
- func (*SubmitTransactionReply) ProtoMessage()
- func (x *SubmitTransactionReply) ProtoReflect() protoreflect.Message
- func (x *SubmitTransactionReply) Reset()
- func (x *SubmitTransactionReply) String() string
- type SubmitTransactionRequest
- func (*SubmitTransactionRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SubmitTransactionRequest) GetData() []byte
- func (x *SubmitTransactionRequest) GetGasConfig() *GasConfig
- func (x *SubmitTransactionRequest) GetTo() []byte
- func (*SubmitTransactionRequest) ProtoMessage()
- func (x *SubmitTransactionRequest) ProtoReflect() protoreflect.Message
- func (x *SubmitTransactionRequest) Reset()
- func (x *SubmitTransactionRequest) String() string
- type Topics
- type Transaction
- func (*Transaction) Descriptor() ([]byte, []int)deprecated
- func (x *Transaction) GetData() []byte
- func (x *Transaction) GetGas() uint64
- func (x *Transaction) GetGasPrice() *pb.BigInt
- func (x *Transaction) GetHash() []byte
- func (x *Transaction) GetNonce() uint64
- func (x *Transaction) GetTo() []byte
- func (x *Transaction) GetValue() *pb.BigInt
- func (*Transaction) ProtoMessage()
- func (x *Transaction) ProtoReflect() protoreflect.Message
- func (x *Transaction) Reset()
- func (x *Transaction) String() string
- type TransactionStatus
- func (TransactionStatus) Descriptor() protoreflect.EnumDescriptor
- func (x TransactionStatus) Enum() *TransactionStatus
- func (TransactionStatus) EnumDescriptor() ([]byte, []int)deprecated
- func (x TransactionStatus) Number() protoreflect.EnumNumber
- func (x TransactionStatus) String() string
- func (TransactionStatus) Type() protoreflect.EnumType
- type TxStatus
- type UnimplementedEVMServer
- func (UnimplementedEVMServer) BalanceAt(context.Context, *BalanceAtRequest) (*BalanceAtReply, error)
- func (UnimplementedEVMServer) CalculateTransactionFee(context.Context, *CalculateTransactionFeeRequest) (*CalculateTransactionFeeReply, error)
- func (UnimplementedEVMServer) CallContract(context.Context, *CallContractRequest) (*CallContractReply, error)
- func (UnimplementedEVMServer) EstimateGas(context.Context, *EstimateGasRequest) (*EstimateGasReply, error)
- func (UnimplementedEVMServer) FilterLogs(context.Context, *FilterLogsRequest) (*FilterLogsReply, error)
- func (UnimplementedEVMServer) GetForwarderForEOA(context.Context, *GetForwarderForEOARequest) (*GetForwarderForEOAReply, error)
- func (UnimplementedEVMServer) GetTransactionByHash(context.Context, *GetTransactionByHashRequest) (*GetTransactionByHashReply, error)
- func (UnimplementedEVMServer) GetTransactionFee(context.Context, *GetTransactionFeeRequest) (*GetTransactionFeeReply, error)
- func (UnimplementedEVMServer) GetTransactionReceipt(context.Context, *GetTransactionReceiptRequest) (*GetTransactionReceiptReply, error)
- func (UnimplementedEVMServer) GetTransactionStatus(context.Context, *GetTransactionStatusRequest) (*GetTransactionStatusReply, error)
- func (UnimplementedEVMServer) LatestAndFinalizedHead(context.Context, *emptypb.Empty) (*LatestAndFinalizedHeadReply, error)
- func (UnimplementedEVMServer) QueryTrackedLogs(context.Context, *QueryTrackedLogsRequest) (*QueryTrackedLogsReply, error)
- func (UnimplementedEVMServer) RegisterLogTracking(context.Context, *RegisterLogTrackingRequest) (*emptypb.Empty, error)
- func (UnimplementedEVMServer) SubmitTransaction(context.Context, *SubmitTransactionRequest) (*SubmitTransactionReply, error)
- func (UnimplementedEVMServer) UnregisterLogTracking(context.Context, *UnregisterLogTrackingRequest) (*emptypb.Empty, error)
- type UnregisterLogTrackingRequest
- func (*UnregisterLogTrackingRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UnregisterLogTrackingRequest) GetFilterName() string
- func (*UnregisterLogTrackingRequest) ProtoMessage()
- func (x *UnregisterLogTrackingRequest) ProtoReflect() protoreflect.Message
- func (x *UnregisterLogTrackingRequest) Reset()
- func (x *UnregisterLogTrackingRequest) String() string
- type UnsafeEVMServer
Constants ¶
const ( EVM_GetTransactionFee_FullMethodName = "/loop.evm.EVM/GetTransactionFee" EVM_CallContract_FullMethodName = "/loop.evm.EVM/CallContract" EVM_FilterLogs_FullMethodName = "/loop.evm.EVM/FilterLogs" EVM_BalanceAt_FullMethodName = "/loop.evm.EVM/BalanceAt" EVM_EstimateGas_FullMethodName = "/loop.evm.EVM/EstimateGas" EVM_GetTransactionByHash_FullMethodName = "/loop.evm.EVM/GetTransactionByHash" EVM_GetTransactionReceipt_FullMethodName = "/loop.evm.EVM/GetTransactionReceipt" EVM_LatestAndFinalizedHead_FullMethodName = "/loop.evm.EVM/LatestAndFinalizedHead" EVM_QueryTrackedLogs_FullMethodName = "/loop.evm.EVM/QueryTrackedLogs" EVM_RegisterLogTracking_FullMethodName = "/loop.evm.EVM/RegisterLogTracking" EVM_UnregisterLogTracking_FullMethodName = "/loop.evm.EVM/UnregisterLogTracking" EVM_GetTransactionStatus_FullMethodName = "/loop.evm.EVM/GetTransactionStatus" EVM_SubmitTransaction_FullMethodName = "/loop.evm.EVM/SubmitTransaction" EVM_CalculateTransactionFee_FullMethodName = "/loop.evm.EVM/CalculateTransactionFee" EVM_GetForwarderForEOA_FullMethodName = "/loop.evm.EVM/GetForwarderForEOA" )
Variables ¶
var ( TxStatus_name = map[int32]string{ 0: "TX_FATAL", 1: "TX_REVERTED", 2: "TX_SUCCESS", } TxStatus_value = map[string]int32{ "TX_FATAL": 0, "TX_REVERTED": 1, "TX_SUCCESS": 2, } )
Enum value maps for TxStatus.
var ( TransactionStatus_name = map[int32]string{ 0: "TRANSACTION_STATUS_UNKNOWN", 1: "TRANSACTION_STATUS_PENDING", 2: "TRANSACTION_STATUS_UNCONFIRMED", 3: "TRANSACTION_STATUS_FINALIZED", 4: "TRANSACTION_STATUS_FAILED", 5: "TRANSACTION_STATUS_FATAL", } TransactionStatus_value = map[string]int32{ "TRANSACTION_STATUS_UNKNOWN": 0, "TRANSACTION_STATUS_PENDING": 1, "TRANSACTION_STATUS_UNCONFIRMED": 2, "TRANSACTION_STATUS_FINALIZED": 3, "TRANSACTION_STATUS_FAILED": 4, "TRANSACTION_STATUS_FATAL": 5, } )
Enum value maps for TransactionStatus.
var EVM_ServiceDesc = grpc.ServiceDesc{ ServiceName: "loop.evm.EVM", HandlerType: (*EVMServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "GetTransactionFee", Handler: _EVM_GetTransactionFee_Handler, }, { MethodName: "CallContract", Handler: _EVM_CallContract_Handler, }, { MethodName: "FilterLogs", Handler: _EVM_FilterLogs_Handler, }, { MethodName: "BalanceAt", Handler: _EVM_BalanceAt_Handler, }, { MethodName: "EstimateGas", Handler: _EVM_EstimateGas_Handler, }, { MethodName: "GetTransactionByHash", Handler: _EVM_GetTransactionByHash_Handler, }, { MethodName: "GetTransactionReceipt", Handler: _EVM_GetTransactionReceipt_Handler, }, { MethodName: "LatestAndFinalizedHead", Handler: _EVM_LatestAndFinalizedHead_Handler, }, { MethodName: "QueryTrackedLogs", Handler: _EVM_QueryTrackedLogs_Handler, }, { MethodName: "RegisterLogTracking", Handler: _EVM_RegisterLogTracking_Handler, }, { MethodName: "UnregisterLogTracking", Handler: _EVM_UnregisterLogTracking_Handler, }, { MethodName: "GetTransactionStatus", Handler: _EVM_GetTransactionStatus_Handler, }, { MethodName: "SubmitTransaction", Handler: _EVM_SubmitTransaction_Handler, }, { MethodName: "CalculateTransactionFee", Handler: _EVM_CalculateTransactionFee_Handler, }, { MethodName: "GetForwarderForEOA", Handler: _EVM_GetForwarderForEOA_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "evm.proto", }
EVM_ServiceDesc is the grpc.ServiceDesc for EVM service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var File_evm_proto protoreflect.FileDescriptor
Functions ¶
func ConvertCallMsgFromProto ¶
func ConvertExpressionsFromProto ¶
func ConvertExpressionsFromProto(protoExpressions []*Expression) ([]query.Expression, error)
func ConvertFilterFromProto ¶
func ConvertFilterFromProto(protoFilter *FilterQuery) (evmtypes.FilterQuery, error)
func ConvertHashedValueComparatorsFromProto ¶
func ConvertHashedValueComparatorsFromProto(protoHashedValueComparators []*HashValueComparator) []evmprimitives.HashedValueComparator
func ConvertHashesFromProto ¶
func ConvertLPFilterFromProto ¶
func ConvertLPFilterFromProto(protoFilter *LPFilter) (evmtypes.LPFilterQuery, error)
func ConvertLogsFromProto ¶
func ConvertReceiptFromProto ¶
func ConvertSubmitTransactionRequestFromProto ¶
func ConvertSubmitTransactionRequestFromProto(txRequest *SubmitTransactionRequest) evmtypes.SubmitTransactionRequest
func ConvertTopicsFromProto ¶
func ConvertTransactionFromProto ¶
func ConvertTransactionFromProto(protoTx *Transaction) (*evmtypes.Transaction, error)
func ConvertTxStatusFromProto ¶
func ConvertTxStatusFromProto(txStatus TxStatus) evmtypes.TransactionStatus
func RegisterEVMServer ¶
func RegisterEVMServer(s grpc.ServiceRegistrar, srv EVMServer)
Types ¶
type And ¶
type And struct {
Expr []*Expression `protobuf:"bytes,1,rep,name=expr,proto3" json:"expr,omitempty"`
// contains filtered or unexported fields
}
func (*And) Descriptor
deprecated
func (*And) GetExpr ¶
func (x *And) GetExpr() []*Expression
func (*And) ProtoMessage ¶
func (*And) ProtoMessage()
func (*And) ProtoReflect ¶
func (x *And) ProtoReflect() protoreflect.Message
type BalanceAtReply ¶
type BalanceAtReply struct {
Balance *pb.BigInt `protobuf:"bytes,1,opt,name=balance,proto3" json:"balance,omitempty"` // Balance of the account in wei (10^-18 eth)
// contains filtered or unexported fields
}
func (*BalanceAtReply) Descriptor
deprecated
func (*BalanceAtReply) Descriptor() ([]byte, []int)
Deprecated: Use BalanceAtReply.ProtoReflect.Descriptor instead.
func (*BalanceAtReply) GetBalance ¶
func (x *BalanceAtReply) GetBalance() *pb.BigInt
func (*BalanceAtReply) ProtoMessage ¶
func (*BalanceAtReply) ProtoMessage()
func (*BalanceAtReply) ProtoReflect ¶
func (x *BalanceAtReply) ProtoReflect() protoreflect.Message
func (*BalanceAtReply) Reset ¶
func (x *BalanceAtReply) Reset()
func (*BalanceAtReply) String ¶
func (x *BalanceAtReply) String() string
type BalanceAtRequest ¶
type BalanceAtRequest struct {
Account []byte `protobuf:"bytes,1,opt,name=account,proto3" json:"account,omitempty"` // in evm address [20]byte fix-sized array format
BlockNumber *pb.BigInt `protobuf:"bytes,2,opt,name=block_number,json=blockNumber,proto3" json:"block_number,omitempty"`
// contains filtered or unexported fields
}
func (*BalanceAtRequest) Descriptor
deprecated
func (*BalanceAtRequest) Descriptor() ([]byte, []int)
Deprecated: Use BalanceAtRequest.ProtoReflect.Descriptor instead.
func (*BalanceAtRequest) GetAccount ¶
func (x *BalanceAtRequest) GetAccount() []byte
func (*BalanceAtRequest) GetBlockNumber ¶
func (x *BalanceAtRequest) GetBlockNumber() *pb.BigInt
func (*BalanceAtRequest) ProtoMessage ¶
func (*BalanceAtRequest) ProtoMessage()
func (*BalanceAtRequest) ProtoReflect ¶
func (x *BalanceAtRequest) ProtoReflect() protoreflect.Message
func (*BalanceAtRequest) Reset ¶
func (x *BalanceAtRequest) Reset()
func (*BalanceAtRequest) String ¶
func (x *BalanceAtRequest) String() string
type BooleanExpression ¶
type BooleanExpression struct {
BooleanOperator chain_common.BooleanOperator `` /* 146-byte string literal not displayed */
Expression []*Expression `protobuf:"bytes,2,rep,name=expression,proto3" json:"expression,omitempty"`
// contains filtered or unexported fields
}
func (*BooleanExpression) Descriptor
deprecated
func (*BooleanExpression) Descriptor() ([]byte, []int)
Deprecated: Use BooleanExpression.ProtoReflect.Descriptor instead.
func (*BooleanExpression) GetBooleanOperator ¶
func (x *BooleanExpression) GetBooleanOperator() chain_common.BooleanOperator
func (*BooleanExpression) GetExpression ¶
func (x *BooleanExpression) GetExpression() []*Expression
func (*BooleanExpression) ProtoMessage ¶
func (*BooleanExpression) ProtoMessage()
func (*BooleanExpression) ProtoReflect ¶
func (x *BooleanExpression) ProtoReflect() protoreflect.Message
func (*BooleanExpression) Reset ¶
func (x *BooleanExpression) Reset()
func (*BooleanExpression) String ¶
func (x *BooleanExpression) String() string
type CalculateTransactionFeeReply ¶
type CalculateTransactionFeeReply struct {
TransactionFee *pb.BigInt `protobuf:"bytes,1,opt,name=transaction_fee,json=transactionFee,proto3" json:"transaction_fee,omitempty"`
// contains filtered or unexported fields
}
func (*CalculateTransactionFeeReply) Descriptor
deprecated
func (*CalculateTransactionFeeReply) Descriptor() ([]byte, []int)
Deprecated: Use CalculateTransactionFeeReply.ProtoReflect.Descriptor instead.
func (*CalculateTransactionFeeReply) GetTransactionFee ¶
func (x *CalculateTransactionFeeReply) GetTransactionFee() *pb.BigInt
func (*CalculateTransactionFeeReply) ProtoMessage ¶
func (*CalculateTransactionFeeReply) ProtoMessage()
func (*CalculateTransactionFeeReply) ProtoReflect ¶
func (x *CalculateTransactionFeeReply) ProtoReflect() protoreflect.Message
func (*CalculateTransactionFeeReply) Reset ¶
func (x *CalculateTransactionFeeReply) Reset()
func (*CalculateTransactionFeeReply) String ¶
func (x *CalculateTransactionFeeReply) String() string
type CalculateTransactionFeeRequest ¶
type CalculateTransactionFeeRequest struct {
GasInfo *ReceiptGasInfo `protobuf:"bytes,1,opt,name=gas_info,json=gasInfo,proto3" json:"gas_info,omitempty"`
// contains filtered or unexported fields
}
func (*CalculateTransactionFeeRequest) Descriptor
deprecated
func (*CalculateTransactionFeeRequest) Descriptor() ([]byte, []int)
Deprecated: Use CalculateTransactionFeeRequest.ProtoReflect.Descriptor instead.
func (*CalculateTransactionFeeRequest) GetGasInfo ¶
func (x *CalculateTransactionFeeRequest) GetGasInfo() *ReceiptGasInfo
func (*CalculateTransactionFeeRequest) ProtoMessage ¶
func (*CalculateTransactionFeeRequest) ProtoMessage()
func (*CalculateTransactionFeeRequest) ProtoReflect ¶
func (x *CalculateTransactionFeeRequest) ProtoReflect() protoreflect.Message
func (*CalculateTransactionFeeRequest) Reset ¶
func (x *CalculateTransactionFeeRequest) Reset()
func (*CalculateTransactionFeeRequest) String ¶
func (x *CalculateTransactionFeeRequest) String() string
type CallContractReply ¶
type CallContractReply struct {
Data []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` // solidity-spec abi encoded bytes
// contains filtered or unexported fields
}
func (*CallContractReply) Descriptor
deprecated
func (*CallContractReply) Descriptor() ([]byte, []int)
Deprecated: Use CallContractReply.ProtoReflect.Descriptor instead.
func (*CallContractReply) GetData ¶
func (x *CallContractReply) GetData() []byte
func (*CallContractReply) ProtoMessage ¶
func (*CallContractReply) ProtoMessage()
func (*CallContractReply) ProtoReflect ¶
func (x *CallContractReply) ProtoReflect() protoreflect.Message
func (*CallContractReply) Reset ¶
func (x *CallContractReply) Reset()
func (*CallContractReply) String ¶
func (x *CallContractReply) String() string
type CallContractRequest ¶
type CallContractRequest struct {
Call *CallMsg `protobuf:"bytes,1,opt,name=call,proto3" json:"call,omitempty"`
BlockNumber *pb.BigInt `protobuf:"bytes,2,opt,name=block_number,json=blockNumber,proto3" json:"block_number,omitempty"`
// contains filtered or unexported fields
}
CallContractRequest has arguments for reading a contract as specified in the call message at a block height defined by blockNumber where: blockNumber :
nil (default) or (-2) → use the latest mined block (“latest”) FinalizedBlockNumber(-3) → last finalized block (“finalized”)
Any positive value is treated as an explicit block height.
func (*CallContractRequest) Descriptor
deprecated
func (*CallContractRequest) Descriptor() ([]byte, []int)
Deprecated: Use CallContractRequest.ProtoReflect.Descriptor instead.
func (*CallContractRequest) GetBlockNumber ¶
func (x *CallContractRequest) GetBlockNumber() *pb.BigInt
func (*CallContractRequest) GetCall ¶
func (x *CallContractRequest) GetCall() *CallMsg
func (*CallContractRequest) ProtoMessage ¶
func (*CallContractRequest) ProtoMessage()
func (*CallContractRequest) ProtoReflect ¶
func (x *CallContractRequest) ProtoReflect() protoreflect.Message
func (*CallContractRequest) Reset ¶
func (x *CallContractRequest) Reset()
func (*CallContractRequest) String ¶
func (x *CallContractRequest) String() string
type CallMsg ¶
type CallMsg struct {
From []byte `protobuf:"bytes,1,opt,name=from,proto3" json:"from,omitempty"` // sender address in evm address [20]byte fix-sized array format
To []byte `protobuf:"bytes,2,opt,name=to,proto3" json:"to,omitempty"` // contract address in evm address [20]byte fix-sized array format
Data []byte `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"` // solidity-spec abi encoded bytes
// contains filtered or unexported fields
}
represents simplified evm-style CallMsg
func (*CallMsg) Descriptor
deprecated
func (*CallMsg) ProtoMessage ¶
func (*CallMsg) ProtoMessage()
func (*CallMsg) ProtoReflect ¶
func (x *CallMsg) ProtoReflect() protoreflect.Message
type EVMClient ¶
type EVMClient interface {
GetTransactionFee(ctx context.Context, in *GetTransactionFeeRequest, opts ...grpc.CallOption) (*GetTransactionFeeReply, error)
CallContract(ctx context.Context, in *CallContractRequest, opts ...grpc.CallOption) (*CallContractReply, error)
FilterLogs(ctx context.Context, in *FilterLogsRequest, opts ...grpc.CallOption) (*FilterLogsReply, error)
BalanceAt(ctx context.Context, in *BalanceAtRequest, opts ...grpc.CallOption) (*BalanceAtReply, error)
EstimateGas(ctx context.Context, in *EstimateGasRequest, opts ...grpc.CallOption) (*EstimateGasReply, error)
GetTransactionByHash(ctx context.Context, in *GetTransactionByHashRequest, opts ...grpc.CallOption) (*GetTransactionByHashReply, error)
GetTransactionReceipt(ctx context.Context, in *GetTransactionReceiptRequest, opts ...grpc.CallOption) (*GetTransactionReceiptReply, error)
LatestAndFinalizedHead(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*LatestAndFinalizedHeadReply, error)
QueryTrackedLogs(ctx context.Context, in *QueryTrackedLogsRequest, opts ...grpc.CallOption) (*QueryTrackedLogsReply, error)
RegisterLogTracking(ctx context.Context, in *RegisterLogTrackingRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
UnregisterLogTracking(ctx context.Context, in *UnregisterLogTrackingRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
GetTransactionStatus(ctx context.Context, in *GetTransactionStatusRequest, opts ...grpc.CallOption) (*GetTransactionStatusReply, error)
SubmitTransaction(ctx context.Context, in *SubmitTransactionRequest, opts ...grpc.CallOption) (*SubmitTransactionReply, error)
CalculateTransactionFee(ctx context.Context, in *CalculateTransactionFeeRequest, opts ...grpc.CallOption) (*CalculateTransactionFeeReply, error)
GetForwarderForEOA(ctx context.Context, in *GetForwarderForEOARequest, opts ...grpc.CallOption) (*GetForwarderForEOAReply, error)
}
EVMClient is the client API for EVM 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 NewEVMClient ¶
func NewEVMClient(cc grpc.ClientConnInterface) EVMClient
type EVMServer ¶
type EVMServer interface {
GetTransactionFee(context.Context, *GetTransactionFeeRequest) (*GetTransactionFeeReply, error)
CallContract(context.Context, *CallContractRequest) (*CallContractReply, error)
FilterLogs(context.Context, *FilterLogsRequest) (*FilterLogsReply, error)
BalanceAt(context.Context, *BalanceAtRequest) (*BalanceAtReply, error)
EstimateGas(context.Context, *EstimateGasRequest) (*EstimateGasReply, error)
GetTransactionByHash(context.Context, *GetTransactionByHashRequest) (*GetTransactionByHashReply, error)
GetTransactionReceipt(context.Context, *GetTransactionReceiptRequest) (*GetTransactionReceiptReply, error)
LatestAndFinalizedHead(context.Context, *emptypb.Empty) (*LatestAndFinalizedHeadReply, error)
QueryTrackedLogs(context.Context, *QueryTrackedLogsRequest) (*QueryTrackedLogsReply, error)
RegisterLogTracking(context.Context, *RegisterLogTrackingRequest) (*emptypb.Empty, error)
UnregisterLogTracking(context.Context, *UnregisterLogTrackingRequest) (*emptypb.Empty, error)
GetTransactionStatus(context.Context, *GetTransactionStatusRequest) (*GetTransactionStatusReply, error)
SubmitTransaction(context.Context, *SubmitTransactionRequest) (*SubmitTransactionReply, error)
CalculateTransactionFee(context.Context, *CalculateTransactionFeeRequest) (*CalculateTransactionFeeReply, error)
GetForwarderForEOA(context.Context, *GetForwarderForEOARequest) (*GetForwarderForEOAReply, error)
// contains filtered or unexported methods
}
EVMServer is the server API for EVM service. All implementations must embed UnimplementedEVMServer for forward compatibility.
type EstimateGasReply ¶
type EstimateGasReply struct {
Gas uint64 `protobuf:"varint,1,opt,name=gas,proto3" json:"gas,omitempty"` // estimated amount of gas in gas units, needed for tx execution
// contains filtered or unexported fields
}
func (*EstimateGasReply) Descriptor
deprecated
func (*EstimateGasReply) Descriptor() ([]byte, []int)
Deprecated: Use EstimateGasReply.ProtoReflect.Descriptor instead.
func (*EstimateGasReply) GetGas ¶
func (x *EstimateGasReply) GetGas() uint64
func (*EstimateGasReply) ProtoMessage ¶
func (*EstimateGasReply) ProtoMessage()
func (*EstimateGasReply) ProtoReflect ¶
func (x *EstimateGasReply) ProtoReflect() protoreflect.Message
func (*EstimateGasReply) Reset ¶
func (x *EstimateGasReply) Reset()
func (*EstimateGasReply) String ¶
func (x *EstimateGasReply) String() string
type EstimateGasRequest ¶
type EstimateGasRequest struct {
Msg *CallMsg `protobuf:"bytes,1,opt,name=msg,proto3" json:"msg,omitempty"` // simulates tx execution returns approximate amount of gas units needed
// contains filtered or unexported fields
}
func (*EstimateGasRequest) Descriptor
deprecated
func (*EstimateGasRequest) Descriptor() ([]byte, []int)
Deprecated: Use EstimateGasRequest.ProtoReflect.Descriptor instead.
func (*EstimateGasRequest) GetMsg ¶
func (x *EstimateGasRequest) GetMsg() *CallMsg
func (*EstimateGasRequest) ProtoMessage ¶
func (*EstimateGasRequest) ProtoMessage()
func (*EstimateGasRequest) ProtoReflect ¶
func (x *EstimateGasRequest) ProtoReflect() protoreflect.Message
func (*EstimateGasRequest) Reset ¶
func (x *EstimateGasRequest) Reset()
func (*EstimateGasRequest) String ¶
func (x *EstimateGasRequest) String() string
type EventByTopic ¶
type EventByTopic struct {
Topic uint64 `protobuf:"varint,1,opt,name=topic,proto3" json:"topic,omitempty"`
HashedValueComparers []*HashValueComparator `protobuf:"bytes,2,rep,name=hashed_value_comparers,json=hashedValueComparers,proto3" json:"hashed_value_comparers,omitempty"`
// contains filtered or unexported fields
}
func (*EventByTopic) Descriptor
deprecated
func (*EventByTopic) Descriptor() ([]byte, []int)
Deprecated: Use EventByTopic.ProtoReflect.Descriptor instead.
func (*EventByTopic) GetHashedValueComparers ¶
func (x *EventByTopic) GetHashedValueComparers() []*HashValueComparator
func (*EventByTopic) GetTopic ¶
func (x *EventByTopic) GetTopic() uint64
func (*EventByTopic) ProtoMessage ¶
func (*EventByTopic) ProtoMessage()
func (*EventByTopic) ProtoReflect ¶
func (x *EventByTopic) ProtoReflect() protoreflect.Message
func (*EventByTopic) Reset ¶
func (x *EventByTopic) Reset()
func (*EventByTopic) String ¶
func (x *EventByTopic) String() string
type EventByWord ¶
type EventByWord struct {
WordIndex uint32 `protobuf:"varint,1,opt,name=word_index,json=wordIndex,proto3" json:"word_index,omitempty"`
HashedValueComparers []*HashValueComparator `protobuf:"bytes,2,rep,name=hashed_value_comparers,json=hashedValueComparers,proto3" json:"hashed_value_comparers,omitempty"`
// contains filtered or unexported fields
}
func (*EventByWord) Descriptor
deprecated
func (*EventByWord) Descriptor() ([]byte, []int)
Deprecated: Use EventByWord.ProtoReflect.Descriptor instead.
func (*EventByWord) GetHashedValueComparers ¶
func (x *EventByWord) GetHashedValueComparers() []*HashValueComparator
func (*EventByWord) GetWordIndex ¶
func (x *EventByWord) GetWordIndex() uint32
func (*EventByWord) ProtoMessage ¶
func (*EventByWord) ProtoMessage()
func (*EventByWord) ProtoReflect ¶
func (x *EventByWord) ProtoReflect() protoreflect.Message
func (*EventByWord) Reset ¶
func (x *EventByWord) Reset()
func (*EventByWord) String ¶
func (x *EventByWord) String() string
type Expression ¶
type Expression struct {
// Types that are valid to be assigned to Evaluator:
//
// *Expression_Primitive
// *Expression_BooleanExpression
Evaluator isExpression_Evaluator `protobuf_oneof:"evaluator"`
// contains filtered or unexported fields
}
func ConvertExpressionsToProto ¶
func ConvertExpressionsToProto(expressions []query.Expression) ([]*Expression, error)
func (*Expression) Descriptor
deprecated
func (*Expression) Descriptor() ([]byte, []int)
Deprecated: Use Expression.ProtoReflect.Descriptor instead.
func (*Expression) GetBooleanExpression ¶
func (x *Expression) GetBooleanExpression() *BooleanExpression
func (*Expression) GetEvaluator ¶
func (x *Expression) GetEvaluator() isExpression_Evaluator
func (*Expression) GetPrimitive ¶
func (x *Expression) GetPrimitive() *Primitive
func (*Expression) ProtoMessage ¶
func (*Expression) ProtoMessage()
func (*Expression) ProtoReflect ¶
func (x *Expression) ProtoReflect() protoreflect.Message
func (*Expression) Reset ¶
func (x *Expression) Reset()
func (*Expression) String ¶
func (x *Expression) String() string
type Expression_BooleanExpression ¶
type Expression_BooleanExpression struct {
BooleanExpression *BooleanExpression `protobuf:"bytes,2,opt,name=boolean_expression,json=booleanExpression,proto3,oneof"`
}
type Expression_Primitive ¶
type Expression_Primitive struct {
Primitive *Primitive `protobuf:"bytes,1,opt,name=primitive,proto3,oneof"`
}
type FilterLogsReply ¶
type FilterLogsReply struct {
Logs []*Log `protobuf:"bytes,1,rep,name=logs,proto3" json:"logs,omitempty"`
// contains filtered or unexported fields
}
func (*FilterLogsReply) Descriptor
deprecated
func (*FilterLogsReply) Descriptor() ([]byte, []int)
Deprecated: Use FilterLogsReply.ProtoReflect.Descriptor instead.
func (*FilterLogsReply) GetLogs ¶
func (x *FilterLogsReply) GetLogs() []*Log
func (*FilterLogsReply) ProtoMessage ¶
func (*FilterLogsReply) ProtoMessage()
func (*FilterLogsReply) ProtoReflect ¶
func (x *FilterLogsReply) ProtoReflect() protoreflect.Message
func (*FilterLogsReply) Reset ¶
func (x *FilterLogsReply) Reset()
func (*FilterLogsReply) String ¶
func (x *FilterLogsReply) String() string
type FilterLogsRequest ¶
type FilterLogsRequest struct {
FilterQuery *FilterQuery `protobuf:"bytes,1,opt,name=filter_query,json=filterQuery,proto3" json:"filter_query,omitempty"`
// contains filtered or unexported fields
}
func (*FilterLogsRequest) Descriptor
deprecated
func (*FilterLogsRequest) Descriptor() ([]byte, []int)
Deprecated: Use FilterLogsRequest.ProtoReflect.Descriptor instead.
func (*FilterLogsRequest) GetFilterQuery ¶
func (x *FilterLogsRequest) GetFilterQuery() *FilterQuery
func (*FilterLogsRequest) ProtoMessage ¶
func (*FilterLogsRequest) ProtoMessage()
func (*FilterLogsRequest) ProtoReflect ¶
func (x *FilterLogsRequest) ProtoReflect() protoreflect.Message
func (*FilterLogsRequest) Reset ¶
func (x *FilterLogsRequest) Reset()
func (*FilterLogsRequest) String ¶
func (x *FilterLogsRequest) String() string
type FilterQuery ¶
type FilterQuery struct {
BlockHash []byte `protobuf:"bytes,1,opt,name=block_hash,json=blockHash,proto3" json:"block_hash,omitempty"` // exact block (cant use from/to), in [32]byte fix-sized array format
FromBlock *pb.BigInt `protobuf:"bytes,2,opt,name=fromBlock,proto3" json:"fromBlock,omitempty"` // start block range
ToBlock *pb.BigInt `protobuf:"bytes,3,opt,name=toBlock,proto3" json:"toBlock,omitempty"` // end block range
Addresses [][]byte `protobuf:"bytes,4,rep,name=addresses,proto3" json:"addresses,omitempty"` // contract(s) to filter logs from in evm address [20]byte fix-sized array format
Topics []*Topics `protobuf:"bytes,5,rep,name=topics,proto3" json:"topics,omitempty"` // filter log by event signature and indexed args
// contains filtered or unexported fields
}
represents evm-style filter query
func ConvertFilterToProto ¶
func ConvertFilterToProto(filter evmtypes.FilterQuery) *FilterQuery
func (*FilterQuery) Descriptor
deprecated
func (*FilterQuery) Descriptor() ([]byte, []int)
Deprecated: Use FilterQuery.ProtoReflect.Descriptor instead.
func (*FilterQuery) GetAddresses ¶
func (x *FilterQuery) GetAddresses() [][]byte
func (*FilterQuery) GetBlockHash ¶
func (x *FilterQuery) GetBlockHash() []byte
func (*FilterQuery) GetFromBlock ¶
func (x *FilterQuery) GetFromBlock() *pb.BigInt
func (*FilterQuery) GetToBlock ¶
func (x *FilterQuery) GetToBlock() *pb.BigInt
func (*FilterQuery) GetTopics ¶
func (x *FilterQuery) GetTopics() []*Topics
func (*FilterQuery) ProtoMessage ¶
func (*FilterQuery) ProtoMessage()
func (*FilterQuery) ProtoReflect ¶
func (x *FilterQuery) ProtoReflect() protoreflect.Message
func (*FilterQuery) Reset ¶
func (x *FilterQuery) Reset()
func (*FilterQuery) String ¶
func (x *FilterQuery) String() string
type GasConfig ¶
type GasConfig struct {
GasLimit uint64 `protobuf:"varint,1,opt,name=gas_limit,json=gasLimit,proto3" json:"gas_limit,omitempty"`
// contains filtered or unexported fields
}
func ConvertGasConfigToProto ¶
func (*GasConfig) Descriptor
deprecated
func (*GasConfig) GetGasLimit ¶
func (*GasConfig) ProtoMessage ¶
func (*GasConfig) ProtoMessage()
func (*GasConfig) ProtoReflect ¶
func (x *GasConfig) ProtoReflect() protoreflect.Message
type GetForwarderForEOAReply ¶
type GetForwarderForEOAReply struct {
Addr []byte `protobuf:"bytes,1,opt,name=addr,proto3" json:"addr,omitempty"` // forwarder address in evm address [20]byte fix-sized array format.
// contains filtered or unexported fields
}
func (*GetForwarderForEOAReply) Descriptor
deprecated
func (*GetForwarderForEOAReply) Descriptor() ([]byte, []int)
Deprecated: Use GetForwarderForEOAReply.ProtoReflect.Descriptor instead.
func (*GetForwarderForEOAReply) GetAddr ¶
func (x *GetForwarderForEOAReply) GetAddr() []byte
func (*GetForwarderForEOAReply) ProtoMessage ¶
func (*GetForwarderForEOAReply) ProtoMessage()
func (*GetForwarderForEOAReply) ProtoReflect ¶
func (x *GetForwarderForEOAReply) ProtoReflect() protoreflect.Message
func (*GetForwarderForEOAReply) Reset ¶
func (x *GetForwarderForEOAReply) Reset()
func (*GetForwarderForEOAReply) String ¶
func (x *GetForwarderForEOAReply) String() string
type GetForwarderForEOARequest ¶
type GetForwarderForEOARequest struct {
Addr []byte `protobuf:"bytes,1,opt,name=addr,proto3" json:"addr,omitempty"` // eoa address in evm address [20]byte fix-sized array format. Required.
Aggr []byte `protobuf:"bytes,2,opt,name=aggr,proto3" json:"aggr,omitempty"` // aggregator address in evm address [20]byte fix-sized array format. Can be empty; if set, forwarder is searched among ocr2 aggregators based on the plugin_type.
PluginType string `protobuf:"bytes,3,opt,name=plugin_type,json=pluginType,proto3" json:"plugin_type,omitempty"` // type of plugin to be used when searching for a forwarder. Can be empty; suggested values to use - pkg/types.OCR2PluginType.
// contains filtered or unexported fields
}
func (*GetForwarderForEOARequest) Descriptor
deprecated
func (*GetForwarderForEOARequest) Descriptor() ([]byte, []int)
Deprecated: Use GetForwarderForEOARequest.ProtoReflect.Descriptor instead.
func (*GetForwarderForEOARequest) GetAddr ¶
func (x *GetForwarderForEOARequest) GetAddr() []byte
func (*GetForwarderForEOARequest) GetAggr ¶
func (x *GetForwarderForEOARequest) GetAggr() []byte
func (*GetForwarderForEOARequest) GetPluginType ¶
func (x *GetForwarderForEOARequest) GetPluginType() string
func (*GetForwarderForEOARequest) ProtoMessage ¶
func (*GetForwarderForEOARequest) ProtoMessage()
func (*GetForwarderForEOARequest) ProtoReflect ¶
func (x *GetForwarderForEOARequest) ProtoReflect() protoreflect.Message
func (*GetForwarderForEOARequest) Reset ¶
func (x *GetForwarderForEOARequest) Reset()
func (*GetForwarderForEOARequest) String ¶
func (x *GetForwarderForEOARequest) String() string
type GetTransactionByHashReply ¶
type GetTransactionByHashReply struct {
Transaction *Transaction `protobuf:"bytes,1,opt,name=transaction,proto3" json:"transaction,omitempty"`
// contains filtered or unexported fields
}
func (*GetTransactionByHashReply) Descriptor
deprecated
func (*GetTransactionByHashReply) Descriptor() ([]byte, []int)
Deprecated: Use GetTransactionByHashReply.ProtoReflect.Descriptor instead.
func (*GetTransactionByHashReply) GetTransaction ¶
func (x *GetTransactionByHashReply) GetTransaction() *Transaction
func (*GetTransactionByHashReply) ProtoMessage ¶
func (*GetTransactionByHashReply) ProtoMessage()
func (*GetTransactionByHashReply) ProtoReflect ¶
func (x *GetTransactionByHashReply) ProtoReflect() protoreflect.Message
func (*GetTransactionByHashReply) Reset ¶
func (x *GetTransactionByHashReply) Reset()
func (*GetTransactionByHashReply) String ¶
func (x *GetTransactionByHashReply) String() string
type GetTransactionByHashRequest ¶
type GetTransactionByHashRequest struct {
Hash []byte `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempty"` // in [32]byte fix-sized array format
// contains filtered or unexported fields
}
func (*GetTransactionByHashRequest) Descriptor
deprecated
func (*GetTransactionByHashRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetTransactionByHashRequest.ProtoReflect.Descriptor instead.
func (*GetTransactionByHashRequest) GetHash ¶
func (x *GetTransactionByHashRequest) GetHash() []byte
func (*GetTransactionByHashRequest) ProtoMessage ¶
func (*GetTransactionByHashRequest) ProtoMessage()
func (*GetTransactionByHashRequest) ProtoReflect ¶
func (x *GetTransactionByHashRequest) ProtoReflect() protoreflect.Message
func (*GetTransactionByHashRequest) Reset ¶
func (x *GetTransactionByHashRequest) Reset()
func (*GetTransactionByHashRequest) String ¶
func (x *GetTransactionByHashRequest) String() string
type GetTransactionFeeReply ¶
type GetTransactionFeeReply struct {
TransactionFee *pb.BigInt `protobuf:"bytes,1,opt,name=transaction_fee,json=transactionFee,proto3" json:"transaction_fee,omitempty"` // transaction fee is the cost of transaction execution in Wei
// contains filtered or unexported fields
}
GetTransactionFeeReply has return arguments for github.com/smartcontractkit/chainlink-common/pkg/types.EVMService.GetTransactionFee.
func (*GetTransactionFeeReply) Descriptor
deprecated
func (*GetTransactionFeeReply) Descriptor() ([]byte, []int)
Deprecated: Use GetTransactionFeeReply.ProtoReflect.Descriptor instead.
func (*GetTransactionFeeReply) GetTransactionFee ¶
func (x *GetTransactionFeeReply) GetTransactionFee() *pb.BigInt
func (*GetTransactionFeeReply) ProtoMessage ¶
func (*GetTransactionFeeReply) ProtoMessage()
func (*GetTransactionFeeReply) ProtoReflect ¶
func (x *GetTransactionFeeReply) ProtoReflect() protoreflect.Message
func (*GetTransactionFeeReply) Reset ¶
func (x *GetTransactionFeeReply) Reset()
func (*GetTransactionFeeReply) String ¶
func (x *GetTransactionFeeReply) String() string
type GetTransactionFeeRequest ¶
type GetTransactionFeeRequest struct {
TransactionId string `protobuf:"bytes,1,opt,name=transaction_id,json=transactionId,proto3" json:"transaction_id,omitempty"` // idempotency key used when transaction was submitted
// contains filtered or unexported fields
}
GetTransactionFeeRequest has arguments for github.com/smartcontractkit/chainlink-common/pkg/types.EVMService.GetTransactionFee.
func (*GetTransactionFeeRequest) Descriptor
deprecated
func (*GetTransactionFeeRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetTransactionFeeRequest.ProtoReflect.Descriptor instead.
func (*GetTransactionFeeRequest) GetTransactionId ¶
func (x *GetTransactionFeeRequest) GetTransactionId() string
func (*GetTransactionFeeRequest) ProtoMessage ¶
func (*GetTransactionFeeRequest) ProtoMessage()
func (*GetTransactionFeeRequest) ProtoReflect ¶
func (x *GetTransactionFeeRequest) ProtoReflect() protoreflect.Message
func (*GetTransactionFeeRequest) Reset ¶
func (x *GetTransactionFeeRequest) Reset()
func (*GetTransactionFeeRequest) String ¶
func (x *GetTransactionFeeRequest) String() string
type GetTransactionReceiptReply ¶
type GetTransactionReceiptReply struct {
Receipt *Receipt `protobuf:"bytes,1,opt,name=receipt,proto3" json:"receipt,omitempty"`
// contains filtered or unexported fields
}
func (*GetTransactionReceiptReply) Descriptor
deprecated
func (*GetTransactionReceiptReply) Descriptor() ([]byte, []int)
Deprecated: Use GetTransactionReceiptReply.ProtoReflect.Descriptor instead.
func (*GetTransactionReceiptReply) GetReceipt ¶
func (x *GetTransactionReceiptReply) GetReceipt() *Receipt
func (*GetTransactionReceiptReply) ProtoMessage ¶
func (*GetTransactionReceiptReply) ProtoMessage()
func (*GetTransactionReceiptReply) ProtoReflect ¶
func (x *GetTransactionReceiptReply) ProtoReflect() protoreflect.Message
func (*GetTransactionReceiptReply) Reset ¶
func (x *GetTransactionReceiptReply) Reset()
func (*GetTransactionReceiptReply) String ¶
func (x *GetTransactionReceiptReply) String() string
type GetTransactionReceiptRequest ¶
type GetTransactionReceiptRequest struct {
Hash []byte `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempty"` // in [32]byte fix-sized array format
// contains filtered or unexported fields
}
func (*GetTransactionReceiptRequest) Descriptor
deprecated
func (*GetTransactionReceiptRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetTransactionReceiptRequest.ProtoReflect.Descriptor instead.
func (*GetTransactionReceiptRequest) GetHash ¶
func (x *GetTransactionReceiptRequest) GetHash() []byte
func (*GetTransactionReceiptRequest) ProtoMessage ¶
func (*GetTransactionReceiptRequest) ProtoMessage()
func (*GetTransactionReceiptRequest) ProtoReflect ¶
func (x *GetTransactionReceiptRequest) ProtoReflect() protoreflect.Message
func (*GetTransactionReceiptRequest) Reset ¶
func (x *GetTransactionReceiptRequest) Reset()
func (*GetTransactionReceiptRequest) String ¶
func (x *GetTransactionReceiptRequest) String() string
type GetTransactionStatusReply ¶
type GetTransactionStatusReply struct {
TransactionStatus TransactionStatus `` /* 145-byte string literal not displayed */
// contains filtered or unexported fields
}
func (*GetTransactionStatusReply) Descriptor
deprecated
func (*GetTransactionStatusReply) Descriptor() ([]byte, []int)
Deprecated: Use GetTransactionStatusReply.ProtoReflect.Descriptor instead.
func (*GetTransactionStatusReply) GetTransactionStatus ¶
func (x *GetTransactionStatusReply) GetTransactionStatus() TransactionStatus
func (*GetTransactionStatusReply) ProtoMessage ¶
func (*GetTransactionStatusReply) ProtoMessage()
func (*GetTransactionStatusReply) ProtoReflect ¶
func (x *GetTransactionStatusReply) ProtoReflect() protoreflect.Message
func (*GetTransactionStatusReply) Reset ¶
func (x *GetTransactionStatusReply) Reset()
func (*GetTransactionStatusReply) String ¶
func (x *GetTransactionStatusReply) String() string
type GetTransactionStatusRequest ¶
type GetTransactionStatusRequest struct {
TransactionId string `protobuf:"bytes,1,opt,name=transaction_id,json=transactionId,proto3" json:"transaction_id,omitempty"`
// contains filtered or unexported fields
}
func (*GetTransactionStatusRequest) Descriptor
deprecated
func (*GetTransactionStatusRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetTransactionStatusRequest.ProtoReflect.Descriptor instead.
func (*GetTransactionStatusRequest) GetTransactionId ¶
func (x *GetTransactionStatusRequest) GetTransactionId() string
func (*GetTransactionStatusRequest) ProtoMessage ¶
func (*GetTransactionStatusRequest) ProtoMessage()
func (*GetTransactionStatusRequest) ProtoReflect ¶
func (x *GetTransactionStatusRequest) ProtoReflect() protoreflect.Message
func (*GetTransactionStatusRequest) Reset ¶
func (x *GetTransactionStatusRequest) Reset()
func (*GetTransactionStatusRequest) String ¶
func (x *GetTransactionStatusRequest) String() string
type HashValueComparator ¶
type HashValueComparator struct {
Values [][]byte `protobuf:"bytes,1,rep,name=values,proto3" json:"values,omitempty"` // in [32]byte fix-sized array format
Operator chain_common.ComparisonOperator `protobuf:"varint,2,opt,name=operator,proto3,enum=loop.chain.common.ComparisonOperator" json:"operator,omitempty"`
// contains filtered or unexported fields
}
func ConvertHashedValueComparatorsToProto ¶
func ConvertHashedValueComparatorsToProto(hashedValueComparators []evmprimitives.HashedValueComparator) []*HashValueComparator
func (*HashValueComparator) Descriptor
deprecated
func (*HashValueComparator) Descriptor() ([]byte, []int)
Deprecated: Use HashValueComparator.ProtoReflect.Descriptor instead.
func (*HashValueComparator) GetOperator ¶
func (x *HashValueComparator) GetOperator() chain_common.ComparisonOperator
func (*HashValueComparator) GetValues ¶
func (x *HashValueComparator) GetValues() [][]byte
func (*HashValueComparator) ProtoMessage ¶
func (*HashValueComparator) ProtoMessage()
func (*HashValueComparator) ProtoReflect ¶
func (x *HashValueComparator) ProtoReflect() protoreflect.Message
func (*HashValueComparator) Reset ¶
func (x *HashValueComparator) Reset()
func (*HashValueComparator) String ¶
func (x *HashValueComparator) String() string
type Head ¶
type Head struct {
Timestamp uint64 `protobuf:"varint,1,opt,name=timestamp,proto3" json:"timestamp,omitempty"` // unix timestamp
BlockNumber *pb.BigInt `protobuf:"bytes,2,opt,name=block_number,json=blockNumber,proto3" json:"block_number,omitempty"`
Hash []byte `protobuf:"bytes,3,opt,name=hash,proto3" json:"hash,omitempty"` // in [32]byte fix-sized array format
ParentHash []byte `protobuf:"bytes,4,opt,name=parent_hash,json=parentHash,proto3" json:"parent_hash,omitempty"` // in [32]byte fix-sized array format
// contains filtered or unexported fields
}
func ConvertHeadToProto ¶
func (*Head) Descriptor
deprecated
func (*Head) GetBlockNumber ¶
func (*Head) GetParentHash ¶
func (*Head) GetTimestamp ¶
func (*Head) ProtoMessage ¶
func (*Head) ProtoMessage()
func (*Head) ProtoReflect ¶
func (x *Head) ProtoReflect() protoreflect.Message
type LPFilter ¶
type LPFilter struct {
MaxLogsKept uint64 `protobuf:"varint,1,opt,name=max_logs_kept,json=maxLogsKept,proto3" json:"max_logs_kept,omitempty"` // maximum number of logs to retain ( 0 = unlimited )
RetentionTime int64 `protobuf:"varint,2,opt,name=retention_time,json=retentionTime,proto3" json:"retention_time,omitempty"` // maximum amount of time to retain logs in seconds
LogsPerBlock uint64 `protobuf:"varint,3,opt,name=logs_per_block,json=logsPerBlock,proto3" json:"logs_per_block,omitempty"` // rate limit ( maximum # of logs per block, 0 = unlimited )
Name string `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"` // filter name, has to persist for removing filter
Addresses [][]byte `protobuf:"bytes,5,rep,name=addresses,proto3" json:"addresses,omitempty"` // list of addresses to include in evm address [20]byte fix-sized array format
EventSigs [][]byte `protobuf:"bytes,6,rep,name=event_sigs,json=eventSigs,proto3" json:"event_sigs,omitempty"` // list of possible signatures (aka topic1), in [32]byte fix-sized array format
Topic2 [][]byte `protobuf:"bytes,7,rep,name=topic2,proto3" json:"topic2,omitempty"` // list of possible values for topic2, in [32]byte fix-sized array format
Topic3 [][]byte `protobuf:"bytes,8,rep,name=topic3,proto3" json:"topic3,omitempty"` // list of possible values for topic3, in [32]byte fix-sized array format
Topic4 [][]byte `protobuf:"bytes,9,rep,name=topic4,proto3" json:"topic4,omitempty"` // list of possible values for topic4, in [32]byte fix-sized array format
// contains filtered or unexported fields
}
represents filter for polling and caching logs
func ConvertLPFilterToProto ¶
func ConvertLPFilterToProto(filter evmtypes.LPFilterQuery) *LPFilter
func (*LPFilter) Descriptor
deprecated
func (*LPFilter) GetAddresses ¶
func (*LPFilter) GetEventSigs ¶
func (*LPFilter) GetLogsPerBlock ¶
func (*LPFilter) GetMaxLogsKept ¶
func (*LPFilter) GetRetentionTime ¶
func (*LPFilter) ProtoMessage ¶
func (*LPFilter) ProtoMessage()
func (*LPFilter) ProtoReflect ¶
func (x *LPFilter) ProtoReflect() protoreflect.Message
type LatestAndFinalizedHeadReply ¶
type LatestAndFinalizedHeadReply struct {
Latest *Head `protobuf:"bytes,1,opt,name=latest,proto3" json:"latest,omitempty"`
Finalized *Head `protobuf:"bytes,2,opt,name=finalized,proto3" json:"finalized,omitempty"`
// contains filtered or unexported fields
}
----- Request/Reply Wrappers -----
func (*LatestAndFinalizedHeadReply) Descriptor
deprecated
func (*LatestAndFinalizedHeadReply) Descriptor() ([]byte, []int)
Deprecated: Use LatestAndFinalizedHeadReply.ProtoReflect.Descriptor instead.
func (*LatestAndFinalizedHeadReply) GetFinalized ¶
func (x *LatestAndFinalizedHeadReply) GetFinalized() *Head
func (*LatestAndFinalizedHeadReply) GetLatest ¶
func (x *LatestAndFinalizedHeadReply) GetLatest() *Head
func (*LatestAndFinalizedHeadReply) ProtoMessage ¶
func (*LatestAndFinalizedHeadReply) ProtoMessage()
func (*LatestAndFinalizedHeadReply) ProtoReflect ¶
func (x *LatestAndFinalizedHeadReply) ProtoReflect() protoreflect.Message
func (*LatestAndFinalizedHeadReply) Reset ¶
func (x *LatestAndFinalizedHeadReply) Reset()
func (*LatestAndFinalizedHeadReply) String ¶
func (x *LatestAndFinalizedHeadReply) String() string
type Log ¶
type Log struct {
Address []byte `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` // address of the contract emitted the log in evm address [20]byte fix-sized array format
Topics [][]byte `protobuf:"bytes,2,rep,name=topics,proto3" json:"topics,omitempty"` // indexed log fields, in [32]byte fix-sized array format
TxHash []byte `protobuf:"bytes,3,opt,name=tx_hash,json=txHash,proto3" json:"tx_hash,omitempty"` // hash of the transaction containing the log, in [32]byte fix-sized array format
BlockHash []byte `protobuf:"bytes,4,opt,name=block_hash,json=blockHash,proto3" json:"block_hash,omitempty"` // hash of the block containing the log, in [32]byte fix-sized array format
Data []byte `protobuf:"bytes,5,opt,name=data,proto3" json:"data,omitempty"` // solidity-spec abi encoded log Data
EventSig []byte `protobuf:"bytes,6,opt,name=eventSig,proto3" json:"eventSig,omitempty"` // keccak256 of event signature, in [32]byte fix-sized array format
BlockNumber *pb.BigInt `protobuf:"bytes,7,opt,name=block_number,json=blockNumber,proto3" json:"block_number,omitempty"` // block number containing the log
TxIndex uint32 `protobuf:"varint,8,opt,name=tx_index,json=txIndex,proto3" json:"tx_index,omitempty"` // index of transaction emmited the log
Index uint32 `protobuf:"varint,9,opt,name=index,proto3" json:"index,omitempty"` // index of the Log within the intire block
Removed bool `protobuf:"varint,10,opt,name=removed,proto3" json:"removed,omitempty"` // flag if the log was removed during reorg
// contains filtered or unexported fields
}
represents evm-style log
func ConvertLogToProto ¶
func ConvertLogsToProto ¶
func (*Log) Descriptor
deprecated
func (*Log) GetAddress ¶
func (*Log) GetBlockHash ¶
func (*Log) GetBlockNumber ¶
func (*Log) GetEventSig ¶
func (*Log) GetRemoved ¶
func (*Log) GetTxIndex ¶
func (*Log) ProtoMessage ¶
func (*Log) ProtoMessage()
func (*Log) ProtoReflect ¶
func (x *Log) ProtoReflect() protoreflect.Message
type Or ¶
type Or struct {
Expr []*Expression `protobuf:"bytes,1,rep,name=expr,proto3" json:"expr,omitempty"`
// contains filtered or unexported fields
}
func (*Or) Descriptor
deprecated
func (*Or) GetExpr ¶
func (x *Or) GetExpr() []*Expression
func (*Or) ProtoMessage ¶
func (*Or) ProtoMessage()
func (*Or) ProtoReflect ¶
func (x *Or) ProtoReflect() protoreflect.Message
type Primitive ¶
type Primitive struct {
// Types that are valid to be assigned to Primitive:
//
// *Primitive_GeneralPrimitive
// *Primitive_ContractAddress
// *Primitive_EventSig
// *Primitive_EventByWord
// *Primitive_EventByTopic
Primitive isPrimitive_Primitive `protobuf_oneof:"primitive"`
// contains filtered or unexported fields
}
evm-style primitives can be used in combination with general primitives for querying tracked logs
func (*Primitive) Descriptor
deprecated
func (*Primitive) GetContractAddress ¶
func (*Primitive) GetEventByTopic ¶
func (x *Primitive) GetEventByTopic() *EventByTopic
func (*Primitive) GetEventByWord ¶
func (x *Primitive) GetEventByWord() *EventByWord
func (*Primitive) GetEventSig ¶
func (*Primitive) GetGeneralPrimitive ¶
func (x *Primitive) GetGeneralPrimitive() *chain_common.Primitive
func (*Primitive) GetPrimitive ¶
func (x *Primitive) GetPrimitive() isPrimitive_Primitive
func (*Primitive) ProtoMessage ¶
func (*Primitive) ProtoMessage()
func (*Primitive) ProtoReflect ¶
func (x *Primitive) ProtoReflect() protoreflect.Message
type Primitive_ContractAddress ¶
type Primitive_ContractAddress struct {
ContractAddress []byte `protobuf:"bytes,2,opt,name=contract_address,json=contractAddress,proto3,oneof"` // in evm address [20]byte fix-sized array format
}
type Primitive_EventByTopic ¶
type Primitive_EventByTopic struct {
EventByTopic *EventByTopic `protobuf:"bytes,5,opt,name=event_by_topic,json=eventByTopic,proto3,oneof"`
}
type Primitive_EventByWord ¶
type Primitive_EventByWord struct {
EventByWord *EventByWord `protobuf:"bytes,4,opt,name=event_by_word,json=eventByWord,proto3,oneof"`
}
type Primitive_EventSig ¶
type Primitive_EventSig struct {
EventSig []byte `protobuf:"bytes,3,opt,name=event_sig,json=eventSig,proto3,oneof"` // // in [32]byte fix-sized array format
}
type Primitive_GeneralPrimitive ¶
type Primitive_GeneralPrimitive struct {
GeneralPrimitive *chain_common.Primitive `protobuf:"bytes,1,opt,name=general_primitive,json=generalPrimitive,proto3,oneof"`
}
type QueryTrackedLogsReply ¶
type QueryTrackedLogsReply struct {
Logs []*Log `protobuf:"bytes,1,rep,name=logs,proto3" json:"logs,omitempty"`
// contains filtered or unexported fields
}
func (*QueryTrackedLogsReply) Descriptor
deprecated
func (*QueryTrackedLogsReply) Descriptor() ([]byte, []int)
Deprecated: Use QueryTrackedLogsReply.ProtoReflect.Descriptor instead.
func (*QueryTrackedLogsReply) GetLogs ¶
func (x *QueryTrackedLogsReply) GetLogs() []*Log
func (*QueryTrackedLogsReply) ProtoMessage ¶
func (*QueryTrackedLogsReply) ProtoMessage()
func (*QueryTrackedLogsReply) ProtoReflect ¶
func (x *QueryTrackedLogsReply) ProtoReflect() protoreflect.Message
func (*QueryTrackedLogsReply) Reset ¶
func (x *QueryTrackedLogsReply) Reset()
func (*QueryTrackedLogsReply) String ¶
func (x *QueryTrackedLogsReply) String() string
type QueryTrackedLogsRequest ¶
type QueryTrackedLogsRequest struct {
Expression []*Expression `protobuf:"bytes,1,rep,name=expression,proto3" json:"expression,omitempty"`
LimitAndSort *chain_common.LimitAndSort `protobuf:"bytes,2,opt,name=limit_and_sort,json=limitAndSort,proto3" json:"limit_and_sort,omitempty"`
ConfidenceLevel chain_common.Confidence `` /* 141-byte string literal not displayed */
// contains filtered or unexported fields
}
func (*QueryTrackedLogsRequest) Descriptor
deprecated
func (*QueryTrackedLogsRequest) Descriptor() ([]byte, []int)
Deprecated: Use QueryTrackedLogsRequest.ProtoReflect.Descriptor instead.
func (*QueryTrackedLogsRequest) GetConfidenceLevel ¶
func (x *QueryTrackedLogsRequest) GetConfidenceLevel() chain_common.Confidence
func (*QueryTrackedLogsRequest) GetExpression ¶
func (x *QueryTrackedLogsRequest) GetExpression() []*Expression
func (*QueryTrackedLogsRequest) GetLimitAndSort ¶
func (x *QueryTrackedLogsRequest) GetLimitAndSort() *chain_common.LimitAndSort
func (*QueryTrackedLogsRequest) ProtoMessage ¶
func (*QueryTrackedLogsRequest) ProtoMessage()
func (*QueryTrackedLogsRequest) ProtoReflect ¶
func (x *QueryTrackedLogsRequest) ProtoReflect() protoreflect.Message
func (*QueryTrackedLogsRequest) Reset ¶
func (x *QueryTrackedLogsRequest) Reset()
func (*QueryTrackedLogsRequest) String ¶
func (x *QueryTrackedLogsRequest) String() string
type Receipt ¶
type Receipt struct {
Status uint64 `protobuf:"varint,1,opt,name=status,proto3" json:"status,omitempty"` // 1 for success 0 for failure
GasUsed uint64 `protobuf:"varint,2,opt,name=gas_used,json=gasUsed,proto3" json:"gas_used,omitempty"` // gas used by this transaction (in gas units)
TxIndex uint64 `protobuf:"varint,3,opt,name=tx_index,json=txIndex,proto3" json:"tx_index,omitempty"` // index of the transaction inside of the block
BlockHash []byte `protobuf:"bytes,4,opt,name=block_hash,json=blockHash,proto3" json:"block_hash,omitempty"` // block hash containing the transaction
Logs []*Log `protobuf:"bytes,6,rep,name=logs,proto3" json:"logs,omitempty"` // logs emitted by this transaction
TxHash []byte `protobuf:"bytes,7,opt,name=tx_hash,json=txHash,proto3" json:"tx_hash,omitempty"` // hash of the transaction this receipt is for, in [32]byte fix-sized array format
EffectiveGasPrice *pb.BigInt `protobuf:"bytes,8,opt,name=effective_gas_price,json=effectiveGasPrice,proto3" json:"effective_gas_price,omitempty"` // actual gas price paid in wei (include after EIP-1559)
BlockNumber *pb.BigInt `protobuf:"bytes,9,opt,name=block_number,json=blockNumber,proto3" json:"block_number,omitempty"` // block number containing the transaction
ContractAddress []byte `protobuf:"bytes,10,opt,name=contract_address,json=contractAddress,proto3" json:"contract_address,omitempty"` // address of the contract if this transaction created one in evm address [20]byte fix-sized array format
// contains filtered or unexported fields
}
represents evm-style receipt
func ConvertReceiptToProto ¶
func (*Receipt) Descriptor
deprecated
func (*Receipt) GetBlockHash ¶
func (*Receipt) GetBlockNumber ¶
func (*Receipt) GetContractAddress ¶
func (*Receipt) GetEffectiveGasPrice ¶
func (*Receipt) GetGasUsed ¶
func (*Receipt) GetTxIndex ¶
func (*Receipt) ProtoMessage ¶
func (*Receipt) ProtoMessage()
func (*Receipt) ProtoReflect ¶
func (x *Receipt) ProtoReflect() protoreflect.Message
type ReceiptGasInfo ¶
type ReceiptGasInfo struct {
GasUsed uint64 `protobuf:"varint,1,opt,name=gas_used,json=gasUsed,proto3" json:"gas_used,omitempty"` // gas used by this transaction (in gas units)
EffectiveGasPrice *pb.BigInt `protobuf:"bytes,2,opt,name=effective_gas_price,json=effectiveGasPrice,proto3" json:"effective_gas_price,omitempty"` // actual gas price paid in wei (include after EIP-1559)
// contains filtered or unexported fields
}
represents evm-style receipt
func (*ReceiptGasInfo) Descriptor
deprecated
func (*ReceiptGasInfo) Descriptor() ([]byte, []int)
Deprecated: Use ReceiptGasInfo.ProtoReflect.Descriptor instead.
func (*ReceiptGasInfo) GetEffectiveGasPrice ¶
func (x *ReceiptGasInfo) GetEffectiveGasPrice() *pb.BigInt
func (*ReceiptGasInfo) GetGasUsed ¶
func (x *ReceiptGasInfo) GetGasUsed() uint64
func (*ReceiptGasInfo) ProtoMessage ¶
func (*ReceiptGasInfo) ProtoMessage()
func (*ReceiptGasInfo) ProtoReflect ¶
func (x *ReceiptGasInfo) ProtoReflect() protoreflect.Message
func (*ReceiptGasInfo) Reset ¶
func (x *ReceiptGasInfo) Reset()
func (*ReceiptGasInfo) String ¶
func (x *ReceiptGasInfo) String() string
type RegisterLogTrackingRequest ¶
type RegisterLogTrackingRequest struct {
Filter *LPFilter `protobuf:"bytes,1,opt,name=filter,proto3" json:"filter,omitempty"`
// contains filtered or unexported fields
}
func (*RegisterLogTrackingRequest) Descriptor
deprecated
func (*RegisterLogTrackingRequest) Descriptor() ([]byte, []int)
Deprecated: Use RegisterLogTrackingRequest.ProtoReflect.Descriptor instead.
func (*RegisterLogTrackingRequest) GetFilter ¶
func (x *RegisterLogTrackingRequest) GetFilter() *LPFilter
func (*RegisterLogTrackingRequest) ProtoMessage ¶
func (*RegisterLogTrackingRequest) ProtoMessage()
func (*RegisterLogTrackingRequest) ProtoReflect ¶
func (x *RegisterLogTrackingRequest) ProtoReflect() protoreflect.Message
func (*RegisterLogTrackingRequest) Reset ¶
func (x *RegisterLogTrackingRequest) Reset()
func (*RegisterLogTrackingRequest) String ¶
func (x *RegisterLogTrackingRequest) String() string
type SubmitTransactionReply ¶
type SubmitTransactionReply struct {
TxHash []byte `protobuf:"bytes,1,opt,name=txHash,proto3" json:"txHash,omitempty"`
TxStatus TxStatus `protobuf:"varint,2,opt,name=txStatus,proto3,enum=loop.evm.TxStatus" json:"txStatus,omitempty"`
// contains filtered or unexported fields
}
func (*SubmitTransactionReply) Descriptor
deprecated
func (*SubmitTransactionReply) Descriptor() ([]byte, []int)
Deprecated: Use SubmitTransactionReply.ProtoReflect.Descriptor instead.
func (*SubmitTransactionReply) GetTxHash ¶
func (x *SubmitTransactionReply) GetTxHash() []byte
func (*SubmitTransactionReply) GetTxStatus ¶
func (x *SubmitTransactionReply) GetTxStatus() TxStatus
func (*SubmitTransactionReply) ProtoMessage ¶
func (*SubmitTransactionReply) ProtoMessage()
func (*SubmitTransactionReply) ProtoReflect ¶
func (x *SubmitTransactionReply) ProtoReflect() protoreflect.Message
func (*SubmitTransactionReply) Reset ¶
func (x *SubmitTransactionReply) Reset()
func (*SubmitTransactionReply) String ¶
func (x *SubmitTransactionReply) String() string
type SubmitTransactionRequest ¶
type SubmitTransactionRequest struct {
To []byte `protobuf:"bytes,1,opt,name=to,proto3" json:"to,omitempty"`
Data []byte `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"`
GasConfig *GasConfig `protobuf:"bytes,3,opt,name=gas_config,json=gasConfig,proto3,oneof" json:"gas_config,omitempty"`
// contains filtered or unexported fields
}
func (*SubmitTransactionRequest) Descriptor
deprecated
func (*SubmitTransactionRequest) Descriptor() ([]byte, []int)
Deprecated: Use SubmitTransactionRequest.ProtoReflect.Descriptor instead.
func (*SubmitTransactionRequest) GetData ¶
func (x *SubmitTransactionRequest) GetData() []byte
func (*SubmitTransactionRequest) GetGasConfig ¶
func (x *SubmitTransactionRequest) GetGasConfig() *GasConfig
func (*SubmitTransactionRequest) GetTo ¶
func (x *SubmitTransactionRequest) GetTo() []byte
func (*SubmitTransactionRequest) ProtoMessage ¶
func (*SubmitTransactionRequest) ProtoMessage()
func (*SubmitTransactionRequest) ProtoReflect ¶
func (x *SubmitTransactionRequest) ProtoReflect() protoreflect.Message
func (*SubmitTransactionRequest) Reset ¶
func (x *SubmitTransactionRequest) Reset()
func (*SubmitTransactionRequest) String ¶
func (x *SubmitTransactionRequest) String() string
type Topics ¶
type Topics struct {
Topic [][]byte `protobuf:"bytes,1,rep,name=topic,proto3" json:"topic,omitempty"` // in [32]byte fix-sized array format
// contains filtered or unexported fields
}
func (*Topics) Descriptor
deprecated
func (*Topics) ProtoMessage ¶
func (*Topics) ProtoMessage()
func (*Topics) ProtoReflect ¶
func (x *Topics) ProtoReflect() protoreflect.Message
type Transaction ¶
type Transaction struct {
Nonce uint64 `protobuf:"varint,1,opt,name=nonce,proto3" json:"nonce,omitempty"` // number of txs sent from sender
Gas uint64 `protobuf:"varint,2,opt,name=gas,proto3" json:"gas,omitempty"` // max gas allowed per execution (in gas units)
To []byte `protobuf:"bytes,3,opt,name=to,proto3" json:"to,omitempty"` // recipient address in evm address [20]byte fix-sized array format
Data []byte `protobuf:"bytes,4,opt,name=data,proto3" json:"data,omitempty"` // solidity-spec abi encoded input data for function call payload
Hash []byte `protobuf:"bytes,5,opt,name=hash,proto3" json:"hash,omitempty"` // transaction hash, in [32]byte fix-sized array format
Value *pb.BigInt `protobuf:"bytes,6,opt,name=value,proto3" json:"value,omitempty"` // amount of eth sent in wei
GasPrice *pb.BigInt `protobuf:"bytes,7,opt,name=gas_price,json=gasPrice,proto3" json:"gas_price,omitempty"` // price for a single gas unit in wei
// contains filtered or unexported fields
}
represents evm-style transaction
func ConvertTransactionToProto ¶
func ConvertTransactionToProto(tx *evmtypes.Transaction) (*Transaction, error)
func (*Transaction) Descriptor
deprecated
func (*Transaction) Descriptor() ([]byte, []int)
Deprecated: Use Transaction.ProtoReflect.Descriptor instead.
func (*Transaction) GetData ¶
func (x *Transaction) GetData() []byte
func (*Transaction) GetGas ¶
func (x *Transaction) GetGas() uint64
func (*Transaction) GetGasPrice ¶
func (x *Transaction) GetGasPrice() *pb.BigInt
func (*Transaction) GetHash ¶
func (x *Transaction) GetHash() []byte
func (*Transaction) GetNonce ¶
func (x *Transaction) GetNonce() uint64
func (*Transaction) GetTo ¶
func (x *Transaction) GetTo() []byte
func (*Transaction) GetValue ¶
func (x *Transaction) GetValue() *pb.BigInt
func (*Transaction) ProtoMessage ¶
func (*Transaction) ProtoMessage()
func (*Transaction) ProtoReflect ¶
func (x *Transaction) ProtoReflect() protoreflect.Message
func (*Transaction) Reset ¶
func (x *Transaction) Reset()
func (*Transaction) String ¶
func (x *Transaction) String() string
type TransactionStatus ¶
type TransactionStatus int32
TransactionStatus is an enum for the status of a transaction. This should always be a 1-1 mapping to: github.com/smartcontractkit/chainlink-common/pkg/types.TransactionStatus.
const ( TransactionStatus_TRANSACTION_STATUS_UNKNOWN TransactionStatus = 0 TransactionStatus_TRANSACTION_STATUS_PENDING TransactionStatus = 1 TransactionStatus_TRANSACTION_STATUS_UNCONFIRMED TransactionStatus = 2 TransactionStatus_TRANSACTION_STATUS_FINALIZED TransactionStatus = 3 TransactionStatus_TRANSACTION_STATUS_FAILED TransactionStatus = 4 TransactionStatus_TRANSACTION_STATUS_FATAL TransactionStatus = 5 )
func (TransactionStatus) Descriptor ¶
func (TransactionStatus) Descriptor() protoreflect.EnumDescriptor
func (TransactionStatus) Enum ¶
func (x TransactionStatus) Enum() *TransactionStatus
func (TransactionStatus) EnumDescriptor
deprecated
func (TransactionStatus) EnumDescriptor() ([]byte, []int)
Deprecated: Use TransactionStatus.Descriptor instead.
func (TransactionStatus) Number ¶
func (x TransactionStatus) Number() protoreflect.EnumNumber
func (TransactionStatus) String ¶
func (x TransactionStatus) String() string
func (TransactionStatus) Type ¶
func (TransactionStatus) Type() protoreflect.EnumType
type TxStatus ¶
type TxStatus int32
func ConvertTxStatusToProto ¶
func ConvertTxStatusToProto(txStatus evmtypes.TransactionStatus) TxStatus
func (TxStatus) Descriptor ¶
func (TxStatus) Descriptor() protoreflect.EnumDescriptor
func (TxStatus) EnumDescriptor
deprecated
func (TxStatus) Number ¶
func (x TxStatus) Number() protoreflect.EnumNumber
func (TxStatus) Type ¶
func (TxStatus) Type() protoreflect.EnumType
type UnimplementedEVMServer ¶
type UnimplementedEVMServer struct{}
UnimplementedEVMServer must be embedded to have forward compatible implementations.
NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.
func (UnimplementedEVMServer) BalanceAt ¶
func (UnimplementedEVMServer) BalanceAt(context.Context, *BalanceAtRequest) (*BalanceAtReply, error)
func (UnimplementedEVMServer) CalculateTransactionFee ¶
func (UnimplementedEVMServer) CalculateTransactionFee(context.Context, *CalculateTransactionFeeRequest) (*CalculateTransactionFeeReply, error)
func (UnimplementedEVMServer) CallContract ¶
func (UnimplementedEVMServer) CallContract(context.Context, *CallContractRequest) (*CallContractReply, error)
func (UnimplementedEVMServer) EstimateGas ¶
func (UnimplementedEVMServer) EstimateGas(context.Context, *EstimateGasRequest) (*EstimateGasReply, error)
func (UnimplementedEVMServer) FilterLogs ¶
func (UnimplementedEVMServer) FilterLogs(context.Context, *FilterLogsRequest) (*FilterLogsReply, error)
func (UnimplementedEVMServer) GetForwarderForEOA ¶
func (UnimplementedEVMServer) GetForwarderForEOA(context.Context, *GetForwarderForEOARequest) (*GetForwarderForEOAReply, error)
func (UnimplementedEVMServer) GetTransactionByHash ¶
func (UnimplementedEVMServer) GetTransactionByHash(context.Context, *GetTransactionByHashRequest) (*GetTransactionByHashReply, error)
func (UnimplementedEVMServer) GetTransactionFee ¶
func (UnimplementedEVMServer) GetTransactionFee(context.Context, *GetTransactionFeeRequest) (*GetTransactionFeeReply, error)
func (UnimplementedEVMServer) GetTransactionReceipt ¶
func (UnimplementedEVMServer) GetTransactionReceipt(context.Context, *GetTransactionReceiptRequest) (*GetTransactionReceiptReply, error)
func (UnimplementedEVMServer) GetTransactionStatus ¶
func (UnimplementedEVMServer) GetTransactionStatus(context.Context, *GetTransactionStatusRequest) (*GetTransactionStatusReply, error)
func (UnimplementedEVMServer) LatestAndFinalizedHead ¶
func (UnimplementedEVMServer) LatestAndFinalizedHead(context.Context, *emptypb.Empty) (*LatestAndFinalizedHeadReply, error)
func (UnimplementedEVMServer) QueryTrackedLogs ¶
func (UnimplementedEVMServer) QueryTrackedLogs(context.Context, *QueryTrackedLogsRequest) (*QueryTrackedLogsReply, error)
func (UnimplementedEVMServer) RegisterLogTracking ¶
func (UnimplementedEVMServer) RegisterLogTracking(context.Context, *RegisterLogTrackingRequest) (*emptypb.Empty, error)
func (UnimplementedEVMServer) SubmitTransaction ¶
func (UnimplementedEVMServer) SubmitTransaction(context.Context, *SubmitTransactionRequest) (*SubmitTransactionReply, error)
func (UnimplementedEVMServer) UnregisterLogTracking ¶
func (UnimplementedEVMServer) UnregisterLogTracking(context.Context, *UnregisterLogTrackingRequest) (*emptypb.Empty, error)
type UnregisterLogTrackingRequest ¶
type UnregisterLogTrackingRequest struct {
FilterName string `protobuf:"bytes,1,opt,name=filter_name,json=filterName,proto3" json:"filter_name,omitempty"`
// contains filtered or unexported fields
}
func (*UnregisterLogTrackingRequest) Descriptor
deprecated
func (*UnregisterLogTrackingRequest) Descriptor() ([]byte, []int)
Deprecated: Use UnregisterLogTrackingRequest.ProtoReflect.Descriptor instead.
func (*UnregisterLogTrackingRequest) GetFilterName ¶
func (x *UnregisterLogTrackingRequest) GetFilterName() string
func (*UnregisterLogTrackingRequest) ProtoMessage ¶
func (*UnregisterLogTrackingRequest) ProtoMessage()
func (*UnregisterLogTrackingRequest) ProtoReflect ¶
func (x *UnregisterLogTrackingRequest) ProtoReflect() protoreflect.Message
func (*UnregisterLogTrackingRequest) Reset ¶
func (x *UnregisterLogTrackingRequest) Reset()
func (*UnregisterLogTrackingRequest) String ¶
func (x *UnregisterLogTrackingRequest) String() string
type UnsafeEVMServer ¶
type UnsafeEVMServer interface {
// contains filtered or unexported methods
}
UnsafeEVMServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to EVMServer will result in compilation errors.