Documentation
¶
Index ¶
- Variables
- func ConvertCallMsgFromProto(protoMsg *CallMsg) (*evmtypes.CallMsg, error)
- func ConvertFilterFromProto(protoFilter *FilterQuery) (evmtypes.FilterQuery, error)
- func ConvertHeaderFromProto(protoHeader *Header) (evmtypes.Header, error)
- func ConvertLPFilterFromProto(protoFilter *LPFilter) (evmtypes.LPFilterQuery, error)
- func ConvertLogsFromProto(protoLogs []*Log) ([]*evmtypes.Log, error)
- func ConvertReceiptFromProto(protoReceipt *Receipt) (*evmtypes.Receipt, error)
- func ConvertTopicsFromProto(protoTopics []*Topics) ([][]evmtypes.Hash, error)
- func ConvertTransactionFromProto(protoTx *Transaction) (*evmtypes.Transaction, error)
- 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 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 ConfidenceLevel
- func (ConfidenceLevel) Descriptor() protoreflect.EnumDescriptor
- func (x ConfidenceLevel) Enum() *ConfidenceLevel
- func (ConfidenceLevel) EnumDescriptor() ([]byte, []int)deprecated
- func (x ConfidenceLevel) Number() protoreflect.EnumNumber
- func (x ConfidenceLevel) String() string
- func (ConfidenceLevel) Type() protoreflect.EnumType
- 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 FilterLogTriggerRequest
- func (*FilterLogTriggerRequest) Descriptor() ([]byte, []int)deprecated
- func (x *FilterLogTriggerRequest) GetAddresses() [][]byte
- func (x *FilterLogTriggerRequest) GetConfidence() ConfidenceLevel
- func (x *FilterLogTriggerRequest) GetTopics() []*TopicValues
- func (*FilterLogTriggerRequest) ProtoMessage()
- func (x *FilterLogTriggerRequest) ProtoReflect() protoreflect.Message
- func (x *FilterLogTriggerRequest) Reset()
- func (x *FilterLogTriggerRequest) String() string
- 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 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 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 Header
- func (*Header) Descriptor() ([]byte, []int)deprecated
- func (x *Header) GetBlockNumber() *pb.BigInt
- func (x *Header) GetHash() []byte
- func (x *Header) GetParentHash() []byte
- func (x *Header) GetTimestamp() uint64
- func (*Header) ProtoMessage()
- func (x *Header) ProtoReflect() protoreflect.Message
- func (x *Header) Reset()
- func (x *Header) String() string
- type HeaderByNumberReply
- func (*HeaderByNumberReply) Descriptor() ([]byte, []int)deprecated
- func (x *HeaderByNumberReply) GetHeader() *Header
- func (*HeaderByNumberReply) ProtoMessage()
- func (x *HeaderByNumberReply) ProtoReflect() protoreflect.Message
- func (x *HeaderByNumberReply) Reset()
- func (x *HeaderByNumberReply) String() string
- type HeaderByNumberRequest
- func (*HeaderByNumberRequest) Descriptor() ([]byte, []int)deprecated
- func (x *HeaderByNumberRequest) GetBlockNumber() *pb.BigInt
- func (*HeaderByNumberRequest) ProtoMessage()
- func (x *HeaderByNumberRequest) ProtoReflect() protoreflect.Message
- func (x *HeaderByNumberRequest) Reset()
- func (x *HeaderByNumberRequest) 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 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 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 ReceiverContractExecutionStatus
- func (ReceiverContractExecutionStatus) Descriptor() protoreflect.EnumDescriptor
- func (x ReceiverContractExecutionStatus) Enum() *ReceiverContractExecutionStatus
- func (ReceiverContractExecutionStatus) EnumDescriptor() ([]byte, []int)deprecated
- func (x ReceiverContractExecutionStatus) Number() protoreflect.EnumNumber
- func (x ReceiverContractExecutionStatus) String() string
- func (ReceiverContractExecutionStatus) Type() protoreflect.EnumType
- 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 TopicValues
- 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 TxStatus
- 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 WriteReportReply
- func (*WriteReportReply) Descriptor() ([]byte, []int)deprecated
- func (x *WriteReportReply) GetErrorMessage() string
- func (x *WriteReportReply) GetReceiverContractExecutionStatus() ReceiverContractExecutionStatus
- func (x *WriteReportReply) GetTransactionFee() *pb.BigInt
- func (x *WriteReportReply) GetTxHash() []byte
- func (x *WriteReportReply) GetTxStatus() TxStatus
- func (*WriteReportReply) ProtoMessage()
- func (x *WriteReportReply) ProtoReflect() protoreflect.Message
- func (x *WriteReportReply) Reset()
- func (x *WriteReportReply) String() string
- type WriteReportRequest
- func (*WriteReportRequest) Descriptor() ([]byte, []int)deprecated
- func (x *WriteReportRequest) GetGasConfig() *GasConfig
- func (x *WriteReportRequest) GetReceiver() []byte
- func (x *WriteReportRequest) GetReport() *sdk.ReportResponse
- func (*WriteReportRequest) ProtoMessage()
- func (x *WriteReportRequest) ProtoReflect() protoreflect.Message
- func (x *WriteReportRequest) Reset()
- func (x *WriteReportRequest) String() string
Constants ¶
This section is empty.
Variables ¶
var ( ConfidenceLevel_name = map[int32]string{ 0: "CONFIDENCE_LEVEL_SAFE", 1: "CONFIDENCE_LEVEL_LATEST", 2: "CONFIDENCE_LEVEL_FINALIZED", } ConfidenceLevel_value = map[string]int32{ "CONFIDENCE_LEVEL_SAFE": 0, "CONFIDENCE_LEVEL_LATEST": 1, "CONFIDENCE_LEVEL_FINALIZED": 2, } )
Enum value maps for ConfidenceLevel.
var ( ReceiverContractExecutionStatus_name = map[int32]string{ 0: "RECEIVER_CONTRACT_EXECUTION_STATUS_SUCCESS", 1: "RECEIVER_CONTRACT_EXECUTION_STATUS_REVERTED", } ReceiverContractExecutionStatus_value = map[string]int32{ "RECEIVER_CONTRACT_EXECUTION_STATUS_SUCCESS": 0, "RECEIVER_CONTRACT_EXECUTION_STATUS_REVERTED": 1, } )
Enum value maps for ReceiverContractExecutionStatus.
var ( TxStatus_name = map[int32]string{ 0: "TX_STATUS_FATAL", 1: "TX_STATUS_REVERTED", 2: "TX_STATUS_SUCCESS", } TxStatus_value = map[string]int32{ "TX_STATUS_FATAL": 0, "TX_STATUS_REVERTED": 1, "TX_STATUS_SUCCESS": 2, } )
Enum value maps for TxStatus.
var File_capabilities_blockchain_evm_v1alpha_client_proto protoreflect.FileDescriptor
Functions ¶
func ConvertCallMsgFromProto ¶
func ConvertFilterFromProto ¶
func ConvertFilterFromProto(protoFilter *FilterQuery) (evmtypes.FilterQuery, error)
func ConvertHeaderFromProto ¶ added in v0.9.4
func ConvertLPFilterFromProto ¶
func ConvertLPFilterFromProto(protoFilter *LPFilter) (evmtypes.LPFilterQuery, error)
func ConvertReceiptFromProto ¶
func ConvertTopicsFromProto ¶
func ConvertTransactionFromProto ¶
func ConvertTransactionFromProto(protoTx *Transaction) (*evmtypes.Transaction, error)
Types ¶
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 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 ConfidenceLevel ¶
type ConfidenceLevel int32
const ( ConfidenceLevel_CONFIDENCE_LEVEL_SAFE ConfidenceLevel = 0 ConfidenceLevel_CONFIDENCE_LEVEL_LATEST ConfidenceLevel = 1 ConfidenceLevel_CONFIDENCE_LEVEL_FINALIZED ConfidenceLevel = 2 )
func (ConfidenceLevel) Descriptor ¶
func (ConfidenceLevel) Descriptor() protoreflect.EnumDescriptor
func (ConfidenceLevel) Enum ¶
func (x ConfidenceLevel) Enum() *ConfidenceLevel
func (ConfidenceLevel) EnumDescriptor
deprecated
func (ConfidenceLevel) EnumDescriptor() ([]byte, []int)
Deprecated: Use ConfidenceLevel.Descriptor instead.
func (ConfidenceLevel) Number ¶
func (x ConfidenceLevel) Number() protoreflect.EnumNumber
func (ConfidenceLevel) String ¶
func (x ConfidenceLevel) String() string
func (ConfidenceLevel) Type ¶
func (ConfidenceLevel) Type() protoreflect.EnumType
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 FilterLogTriggerRequest ¶
type FilterLogTriggerRequest struct {
Addresses [][]byte `protobuf:"bytes,1,rep,name=addresses,proto3" json:"addresses,omitempty"` // list of addresses to include in evm address [20]byte fix-sized array format, at least one address is required
// TopicValues is a fixed 4 length array of possible values for any topic where:
// a) the first element is an array of the event signatures (keccak256 of the event name and indexed args types), it has to have at least one value
// b) the second element is an array of possible values for the first indexed argument, can be empty
// c) the third element is an array of possible values for the second indexed argument, can be empty
// d) the fourth element is an array of possible values for the third indexed argument, can be empty
Topics []*TopicValues `protobuf:"bytes,2,rep,name=topics,proto3" json:"topics,omitempty"`
Confidence ConfidenceLevel `` // optional, defaults to "SAFE"
/* 131-byte string literal not displayed */
// contains filtered or unexported fields
}
func (*FilterLogTriggerRequest) Descriptor
deprecated
func (*FilterLogTriggerRequest) Descriptor() ([]byte, []int)
Deprecated: Use FilterLogTriggerRequest.ProtoReflect.Descriptor instead.
func (*FilterLogTriggerRequest) GetAddresses ¶
func (x *FilterLogTriggerRequest) GetAddresses() [][]byte
func (*FilterLogTriggerRequest) GetConfidence ¶
func (x *FilterLogTriggerRequest) GetConfidence() ConfidenceLevel
func (*FilterLogTriggerRequest) GetTopics ¶
func (x *FilterLogTriggerRequest) GetTopics() []*TopicValues
func (*FilterLogTriggerRequest) ProtoMessage ¶
func (*FilterLogTriggerRequest) ProtoMessage()
func (*FilterLogTriggerRequest) ProtoReflect ¶
func (x *FilterLogTriggerRequest) ProtoReflect() protoreflect.Message
func (*FilterLogTriggerRequest) Reset ¶
func (x *FilterLogTriggerRequest) Reset()
func (*FilterLogTriggerRequest) String ¶
func (x *FilterLogTriggerRequest) String() string
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=from_block,json=fromBlock,proto3" json:"from_block,omitempty"` // start block range
ToBlock *pb.BigInt `protobuf:"bytes,3,opt,name=to_block,json=toBlock,proto3" json:"to_block,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, error)
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 (*GasConfig) Descriptor
deprecated
func (*GasConfig) GetGasLimit ¶
func (*GasConfig) ProtoMessage ¶
func (*GasConfig) ProtoMessage()
func (*GasConfig) ProtoReflect ¶
func (x *GasConfig) ProtoReflect() protoreflect.Message
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 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 Header ¶ added in v0.9.0
type Header 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 ConvertHeaderToProto ¶ added in v0.9.0
func (*Header) Descriptor
deprecated
added in
v0.9.0
func (*Header) GetBlockNumber ¶ added in v0.9.0
func (*Header) GetParentHash ¶ added in v0.9.0
func (*Header) GetTimestamp ¶ added in v0.9.0
func (*Header) ProtoMessage ¶ added in v0.9.0
func (*Header) ProtoMessage()
func (*Header) ProtoReflect ¶ added in v0.9.0
func (x *Header) ProtoReflect() protoreflect.Message
type HeaderByNumberReply ¶ added in v0.9.0
type HeaderByNumberReply struct {
Header *Header `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"`
// contains filtered or unexported fields
}
func (*HeaderByNumberReply) Descriptor
deprecated
added in
v0.9.0
func (*HeaderByNumberReply) Descriptor() ([]byte, []int)
Deprecated: Use HeaderByNumberReply.ProtoReflect.Descriptor instead.
func (*HeaderByNumberReply) GetHeader ¶ added in v0.9.0
func (x *HeaderByNumberReply) GetHeader() *Header
func (*HeaderByNumberReply) ProtoMessage ¶ added in v0.9.0
func (*HeaderByNumberReply) ProtoMessage()
func (*HeaderByNumberReply) ProtoReflect ¶ added in v0.9.0
func (x *HeaderByNumberReply) ProtoReflect() protoreflect.Message
func (*HeaderByNumberReply) Reset ¶ added in v0.9.0
func (x *HeaderByNumberReply) Reset()
func (*HeaderByNumberReply) String ¶ added in v0.9.0
func (x *HeaderByNumberReply) String() string
type HeaderByNumberRequest ¶ added in v0.9.0
type HeaderByNumberRequest struct {
BlockNumber *pb.BigInt `protobuf:"bytes,1,opt,name=block_number,json=blockNumber,proto3" json:"block_number,omitempty"`
// contains filtered or unexported fields
}
----- Request/Reply Wrappers -----
func (*HeaderByNumberRequest) Descriptor
deprecated
added in
v0.9.0
func (*HeaderByNumberRequest) Descriptor() ([]byte, []int)
Deprecated: Use HeaderByNumberRequest.ProtoReflect.Descriptor instead.
func (*HeaderByNumberRequest) GetBlockNumber ¶ added in v0.9.0
func (x *HeaderByNumberRequest) GetBlockNumber() *pb.BigInt
func (*HeaderByNumberRequest) ProtoMessage ¶ added in v0.9.0
func (*HeaderByNumberRequest) ProtoMessage()
func (*HeaderByNumberRequest) ProtoReflect ¶ added in v0.9.0
func (x *HeaderByNumberRequest) ProtoReflect() protoreflect.Message
func (*HeaderByNumberRequest) Reset ¶ added in v0.9.0
func (x *HeaderByNumberRequest) Reset()
func (*HeaderByNumberRequest) String ¶ added in v0.9.0
func (x *HeaderByNumberRequest) String() string
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
}
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 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=event_sig,json=eventSig,proto3" json:"event_sig,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 (*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 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 ReceiverContractExecutionStatus ¶
type ReceiverContractExecutionStatus int32
const ( ReceiverContractExecutionStatus_RECEIVER_CONTRACT_EXECUTION_STATUS_SUCCESS ReceiverContractExecutionStatus = 0 ReceiverContractExecutionStatus_RECEIVER_CONTRACT_EXECUTION_STATUS_REVERTED ReceiverContractExecutionStatus = 1 )
func (ReceiverContractExecutionStatus) Descriptor ¶
func (ReceiverContractExecutionStatus) Descriptor() protoreflect.EnumDescriptor
func (ReceiverContractExecutionStatus) Enum ¶
func (x ReceiverContractExecutionStatus) Enum() *ReceiverContractExecutionStatus
func (ReceiverContractExecutionStatus) EnumDescriptor
deprecated
func (ReceiverContractExecutionStatus) EnumDescriptor() ([]byte, []int)
Deprecated: Use ReceiverContractExecutionStatus.Descriptor instead.
func (ReceiverContractExecutionStatus) Number ¶
func (x ReceiverContractExecutionStatus) Number() protoreflect.EnumNumber
func (ReceiverContractExecutionStatus) String ¶
func (x ReceiverContractExecutionStatus) String() string
func (ReceiverContractExecutionStatus) Type ¶
func (ReceiverContractExecutionStatus) Type() protoreflect.EnumType
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 TopicValues ¶
type TopicValues struct {
Values [][]byte `protobuf:"bytes,1,rep,name=values,proto3" json:"values,omitempty"` // list of possible values for any topic, in [32]byte fix-sized array format
// contains filtered or unexported fields
}
func (*TopicValues) Descriptor
deprecated
func (*TopicValues) Descriptor() ([]byte, []int)
Deprecated: Use TopicValues.ProtoReflect.Descriptor instead.
func (*TopicValues) GetValues ¶
func (x *TopicValues) GetValues() [][]byte
func (*TopicValues) ProtoMessage ¶
func (*TopicValues) ProtoMessage()
func (*TopicValues) ProtoReflect ¶
func (x *TopicValues) ProtoReflect() protoreflect.Message
func (*TopicValues) Reset ¶
func (x *TopicValues) Reset()
func (*TopicValues) String ¶
func (x *TopicValues) 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 TxStatus ¶
type TxStatus int32
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 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 WriteReportReply ¶
type WriteReportReply struct {
TxStatus TxStatus `` /* 136-byte string literal not displayed */
ReceiverContractExecutionStatus *ReceiverContractExecutionStatus `` /* 238-byte string literal not displayed */
TxHash []byte `protobuf:"bytes,3,opt,name=tx_hash,json=txHash,proto3,oneof" json:"tx_hash,omitempty"`
TransactionFee *pb.BigInt `protobuf:"bytes,4,opt,name=transaction_fee,json=transactionFee,proto3,oneof" json:"transaction_fee,omitempty"`
ErrorMessage *string `protobuf:"bytes,5,opt,name=error_message,json=errorMessage,proto3,oneof" json:"error_message,omitempty"`
// contains filtered or unexported fields
}
func (*WriteReportReply) Descriptor
deprecated
func (*WriteReportReply) Descriptor() ([]byte, []int)
Deprecated: Use WriteReportReply.ProtoReflect.Descriptor instead.
func (*WriteReportReply) GetErrorMessage ¶
func (x *WriteReportReply) GetErrorMessage() string
func (*WriteReportReply) GetReceiverContractExecutionStatus ¶
func (x *WriteReportReply) GetReceiverContractExecutionStatus() ReceiverContractExecutionStatus
func (*WriteReportReply) GetTransactionFee ¶
func (x *WriteReportReply) GetTransactionFee() *pb.BigInt
func (*WriteReportReply) GetTxHash ¶
func (x *WriteReportReply) GetTxHash() []byte
func (*WriteReportReply) GetTxStatus ¶
func (x *WriteReportReply) GetTxStatus() TxStatus
func (*WriteReportReply) ProtoMessage ¶
func (*WriteReportReply) ProtoMessage()
func (*WriteReportReply) ProtoReflect ¶
func (x *WriteReportReply) ProtoReflect() protoreflect.Message
func (*WriteReportReply) Reset ¶
func (x *WriteReportReply) Reset()
func (*WriteReportReply) String ¶
func (x *WriteReportReply) String() string
type WriteReportRequest ¶
type WriteReportRequest struct {
Receiver []byte `protobuf:"bytes,1,opt,name=receiver,proto3" json:"receiver,omitempty"`
Report *sdk.ReportResponse `protobuf:"bytes,2,opt,name=report,proto3" json:"report,omitempty"`
GasConfig *GasConfig `protobuf:"bytes,3,opt,name=gas_config,json=gasConfig,proto3,oneof" json:"gas_config,omitempty"`
// contains filtered or unexported fields
}
func (*WriteReportRequest) Descriptor
deprecated
func (*WriteReportRequest) Descriptor() ([]byte, []int)
Deprecated: Use WriteReportRequest.ProtoReflect.Descriptor instead.
func (*WriteReportRequest) GetGasConfig ¶
func (x *WriteReportRequest) GetGasConfig() *GasConfig
func (*WriteReportRequest) GetReceiver ¶
func (x *WriteReportRequest) GetReceiver() []byte
func (*WriteReportRequest) GetReport ¶
func (x *WriteReportRequest) GetReport() *sdk.ReportResponse
func (*WriteReportRequest) ProtoMessage ¶
func (*WriteReportRequest) ProtoMessage()
func (*WriteReportRequest) ProtoReflect ¶
func (x *WriteReportRequest) ProtoReflect() protoreflect.Message
func (*WriteReportRequest) Reset ¶
func (x *WriteReportRequest) Reset()
func (*WriteReportRequest) String ¶
func (x *WriteReportRequest) String() string