Documentation
¶
Overview ¶
Code generated by protoc-gen-go-pulsar. DO NOT EDIT.
Code generated by protoc-gen-go-pulsar. DO NOT EDIT.
Index ¶
- Variables
- type EthAccount
- func (*EthAccount) Descriptor() ([]byte, []int)deprecated
- func (x *EthAccount) GetBaseAccount() *v1beta1.BaseAccount
- func (x *EthAccount) GetCodeHash() string
- func (*EthAccount) ProtoMessage()
- func (x *EthAccount) ProtoReflect() protoreflect.Message
- func (x *EthAccount) Reset()
- func (x *EthAccount) String() string
- 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_eth_types_v1_account_proto protoreflect.FileDescriptor
View Source
var File_eth_types_v1_indexer_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type EthAccount ¶
type EthAccount struct {
// base_account is an authtypes.BaseAccount
BaseAccount *v1beta1.BaseAccount `protobuf:"bytes,1,opt,name=base_account,json=baseAccount,proto3" json:"base_account,omitempty"`
// code_hash is the hash calculated from the code contents
CodeHash string `protobuf:"bytes,2,opt,name=code_hash,json=codeHash,proto3" json:"code_hash,omitempty"`
// contains filtered or unexported fields
}
EthAccount implements the authtypes.AccountI interface and embeds an authtypes.BaseAccount type. It is compatible with the auth AccountKeeper.
func (*EthAccount) Descriptor
deprecated
func (*EthAccount) Descriptor() ([]byte, []int)
Deprecated: Use EthAccount.ProtoReflect.Descriptor instead.
func (*EthAccount) GetBaseAccount ¶
func (x *EthAccount) GetBaseAccount() *v1beta1.BaseAccount
func (*EthAccount) GetCodeHash ¶
func (x *EthAccount) GetCodeHash() string
func (*EthAccount) ProtoMessage ¶
func (*EthAccount) ProtoMessage()
func (*EthAccount) ProtoReflect ¶
func (x *EthAccount) ProtoReflect() protoreflect.Message
func (*EthAccount) Reset ¶
func (x *EthAccount) Reset()
func (*EthAccount) String ¶
func (x *EthAccount) String() string
type TxResult ¶
type TxResult struct {
// height of the blockchain
Height int64 `protobuf:"varint,1,opt,name=height,proto3" json:"height,omitempty"`
// tx_index is the index of the block transaction. It is not the index of an
// "internal 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. Said
// another way, it is the index of 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 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.