Documentation
¶
Overview ¶
Code generated by protoc-gen-go-pulsar. DO NOT EDIT.
Index ¶
- Variables
- type TxResult
- func (*TxResult) Descriptor() ([]byte, []int)deprecated
- func (x *TxResult) GetCumulativeGasUsed() uint64
- func (x *TxResult) GetEthTxIndex() int32
- func (x *TxResult) GetFailed() bool
- func (x *TxResult) GetGasUsed() uint64
- func (x *TxResult) GetHeight() int64
- func (x *TxResult) GetMsgIndex() uint32
- func (x *TxResult) GetTxIndex() uint32
- func (*TxResult) ProtoMessage()
- func (x *TxResult) ProtoReflect() protoreflect.Message
- func (x *TxResult) Reset()
- func (x *TxResult) String() string
Constants ¶
This section is empty.
Variables ¶
View Source
var File_cosmos_evm_server_v1_indexer_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type TxResult ¶
type TxResult struct {
// height of the blockchain
Height int64 `protobuf:"varint,1,opt,name=height,proto3" json:"height,omitempty"`
// tx_index of the cosmos transaction
TxIndex uint32 `protobuf:"varint,2,opt,name=tx_index,json=txIndex,proto3" json:"tx_index,omitempty"`
// msg_index in a batch transaction
MsgIndex uint32 `protobuf:"varint,3,opt,name=msg_index,json=msgIndex,proto3" json:"msg_index,omitempty"`
// eth_tx_index is the index in the list of valid eth tx in the block,
// aka. the transaction list returned by eth_getBlock api.
EthTxIndex int32 `protobuf:"varint,4,opt,name=eth_tx_index,json=ethTxIndex,proto3" json:"eth_tx_index,omitempty"`
// failed is true if the eth transaction did not go succeed
Failed bool `protobuf:"varint,5,opt,name=failed,proto3" json:"failed,omitempty"`
// gas_used by the transaction. If it exceeds the block gas limit,
// it's set to gas limit, which is what's actually deducted by ante handler.
GasUsed uint64 `protobuf:"varint,6,opt,name=gas_used,json=gasUsed,proto3" json:"gas_used,omitempty"`
// cumulative_gas_used specifies the cumulated amount of gas used for all
// processed messages within the current batch transaction.
CumulativeGasUsed uint64 `protobuf:"varint,7,opt,name=cumulative_gas_used,json=cumulativeGasUsed,proto3" json:"cumulative_gas_used,omitempty"`
// contains filtered or unexported fields
}
TxResult is the value stored in eth tx indexer
func (*TxResult) Descriptor
deprecated
func (*TxResult) GetCumulativeGasUsed ¶
func (*TxResult) GetEthTxIndex ¶
func (*TxResult) GetGasUsed ¶
func (*TxResult) GetMsgIndex ¶
func (*TxResult) GetTxIndex ¶
func (*TxResult) ProtoMessage ¶
func (*TxResult) ProtoMessage()
func (*TxResult) ProtoReflect ¶
func (x *TxResult) ProtoReflect() protoreflect.Message
Click to show internal directories.
Click to hide internal directories.