typesv1

package
v2.11.0 Latest Latest
Warning

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

Go to latest
Published: Feb 10, 2026 License: BSD-2-Clause Imports: 11 Imported by: 0

Documentation

Overview

Code generated by protoc-gen-go-pulsar. DO NOT EDIT.

Code generated by protoc-gen-go-pulsar. DO NOT EDIT.

Index

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) Descriptor() ([]byte, []int)

Deprecated: Use TxResult.ProtoReflect.Descriptor instead.

func (*TxResult) GetCumulativeGasUsed

func (x *TxResult) GetCumulativeGasUsed() uint64

func (*TxResult) GetEthTxIndex

func (x *TxResult) GetEthTxIndex() int32

func (*TxResult) GetFailed

func (x *TxResult) GetFailed() bool

func (*TxResult) GetGasUsed

func (x *TxResult) GetGasUsed() uint64

func (*TxResult) GetHeight

func (x *TxResult) GetHeight() int64

func (*TxResult) GetMsgIndex

func (x *TxResult) GetMsgIndex() uint32

func (*TxResult) GetTxIndex

func (x *TxResult) GetTxIndex() uint32

func (*TxResult) ProtoMessage

func (*TxResult) ProtoMessage()

func (*TxResult) ProtoReflect

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

func (*TxResult) Reset

func (x *TxResult) Reset()

func (*TxResult) String

func (x *TxResult) String() string

Jump to

Keyboard shortcuts

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