types

package
v0.22.13 Latest Latest
Warning

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

Go to latest
Published: Jun 24, 2024 License: LGPL-3.0 Imports: 7 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidLengthEvm        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowEvm          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupEvm = fmt.Errorf("proto: unexpected end of group")
)

Functions

This section is empty.

Types

type ExtraEIPs

type ExtraEIPs struct {
	// eips defines the additional EIPs for the vm.Config
	EIPs []int64 `protobuf:"varint,1,rep,packed,name=eips,proto3" json:"eips,omitempty" yaml:"eips"`
}

ExtraEIPs represents extra EIPs for the vm.Config

func (*ExtraEIPs) Descriptor

func (*ExtraEIPs) Descriptor() ([]byte, []int)

func (*ExtraEIPs) GetEIPs

func (m *ExtraEIPs) GetEIPs() []int64

func (*ExtraEIPs) Marshal

func (m *ExtraEIPs) Marshal() (dAtA []byte, err error)

func (*ExtraEIPs) MarshalTo

func (m *ExtraEIPs) MarshalTo(dAtA []byte) (int, error)

func (*ExtraEIPs) MarshalToSizedBuffer

func (m *ExtraEIPs) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ExtraEIPs) ProtoMessage

func (*ExtraEIPs) ProtoMessage()

func (*ExtraEIPs) Reset

func (m *ExtraEIPs) Reset()

func (*ExtraEIPs) Size

func (m *ExtraEIPs) Size() (n int)

func (*ExtraEIPs) String

func (m *ExtraEIPs) String() string

func (*ExtraEIPs) Unmarshal

func (m *ExtraEIPs) Unmarshal(dAtA []byte) error

func (*ExtraEIPs) XXX_DiscardUnknown

func (m *ExtraEIPs) XXX_DiscardUnknown()

func (*ExtraEIPs) XXX_Marshal

func (m *ExtraEIPs) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ExtraEIPs) XXX_Merge

func (m *ExtraEIPs) XXX_Merge(src proto.Message)

func (*ExtraEIPs) XXX_Size

func (m *ExtraEIPs) XXX_Size() int

func (*ExtraEIPs) XXX_Unmarshal

func (m *ExtraEIPs) XXX_Unmarshal(b []byte) error

type TransactionV4Logs

type TransactionV4Logs struct {
	// hash of the transaction
	Hash string `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempty"`
	// V4Logs is an array of V4Logs for the given transaction hash
	V4Logs []*V4Log `protobuf:"bytes,2,rep,name=V4Logs,proto3" json:"V4Logs,omitempty"`
}

TransactionV4Logs define the V4Logs generated from a transaction execution with a given hash. It it used for import/export data as transactions are not persisted on blockchain V4State after an upgrade.

func (*TransactionV4Logs) Descriptor

func (*TransactionV4Logs) Descriptor() ([]byte, []int)

func (*TransactionV4Logs) GetHash

func (m *TransactionV4Logs) GetHash() string

func (*TransactionV4Logs) GetV4Logs

func (m *TransactionV4Logs) GetV4Logs() []*V4Log

func (*TransactionV4Logs) Marshal

func (m *TransactionV4Logs) Marshal() (dAtA []byte, err error)

func (*TransactionV4Logs) MarshalTo

func (m *TransactionV4Logs) MarshalTo(dAtA []byte) (int, error)

func (*TransactionV4Logs) MarshalToSizedBuffer

func (m *TransactionV4Logs) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*TransactionV4Logs) ProtoMessage

func (*TransactionV4Logs) ProtoMessage()

func (*TransactionV4Logs) Reset

func (m *TransactionV4Logs) Reset()

func (*TransactionV4Logs) Size

func (m *TransactionV4Logs) Size() (n int)

func (*TransactionV4Logs) String

func (m *TransactionV4Logs) String() string

func (*TransactionV4Logs) Unmarshal

func (m *TransactionV4Logs) Unmarshal(dAtA []byte) error

func (*TransactionV4Logs) XXX_DiscardUnknown

func (m *TransactionV4Logs) XXX_DiscardUnknown()

func (*TransactionV4Logs) XXX_Marshal

func (m *TransactionV4Logs) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*TransactionV4Logs) XXX_Merge

func (m *TransactionV4Logs) XXX_Merge(src proto.Message)

func (*TransactionV4Logs) XXX_Size

func (m *TransactionV4Logs) XXX_Size() int

func (*TransactionV4Logs) XXX_Unmarshal

func (m *TransactionV4Logs) XXX_Unmarshal(b []byte) error

type V4AccessTuple

type V4AccessTuple struct {
	// address is a hex formatted ethereum address
	Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
	// storage_keys are hex formatted hashes of the storage keys
	StorageKeys []string `protobuf:"bytes,2,rep,name=storage_keys,json=storageKeys,proto3" json:"storageKeys"`
}

V4AccessTuple is the element type of an access list.

func (*V4AccessTuple) Descriptor

func (*V4AccessTuple) Descriptor() ([]byte, []int)

func (*V4AccessTuple) Marshal

func (m *V4AccessTuple) Marshal() (dAtA []byte, err error)

func (*V4AccessTuple) MarshalTo

func (m *V4AccessTuple) MarshalTo(dAtA []byte) (int, error)

func (*V4AccessTuple) MarshalToSizedBuffer

func (m *V4AccessTuple) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*V4AccessTuple) ProtoMessage

func (*V4AccessTuple) ProtoMessage()

func (*V4AccessTuple) Reset

func (m *V4AccessTuple) Reset()

func (*V4AccessTuple) Size

func (m *V4AccessTuple) Size() (n int)

func (*V4AccessTuple) String

func (m *V4AccessTuple) String() string

func (*V4AccessTuple) Unmarshal

func (m *V4AccessTuple) Unmarshal(dAtA []byte) error

func (*V4AccessTuple) XXX_DiscardUnknown

func (m *V4AccessTuple) XXX_DiscardUnknown()

func (*V4AccessTuple) XXX_Marshal

func (m *V4AccessTuple) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*V4AccessTuple) XXX_Merge

func (m *V4AccessTuple) XXX_Merge(src proto.Message)

func (*V4AccessTuple) XXX_Size

func (m *V4AccessTuple) XXX_Size() int

func (*V4AccessTuple) XXX_Unmarshal

func (m *V4AccessTuple) XXX_Unmarshal(b []byte) error

type V4ChainConfig

type V4ChainConfig struct {
	// homestead_block switch (nil no fork, 0 = already homestead)
	HomesteadBlock *github_com_cosmos_cosmos_sdk_types.Int `` /* 176-byte string literal not displayed */
	// dao_fork_block corresponds to TheDAO hard-fork switch block (nil no fork)
	DAOForkBlock *github_com_cosmos_cosmos_sdk_types.Int `` /* 171-byte string literal not displayed */
	// dao_fork_support defines whether the nodes supports or opposes the DAO hard-fork
	DAOForkSupport bool `` /* 130-byte string literal not displayed */
	// eip150_block: EIP150 implements the Gas price changes
	// (https://github.com/ethereum/EIPs/issues/150) EIP150 HF block (nil no fork)
	EIP150Block *github_com_cosmos_cosmos_sdk_types.Int `` /* 164-byte string literal not displayed */
	// eip150_hash: EIP150 HF hash (needed for header only clients as only gas pricing changed)
	EIP150Hash string `protobuf:"bytes,5,opt,name=eip150_hash,json=eip150Hash,proto3" json:"eip150_hash,omitempty" yaml:"byzantium_block"`
	// eip155_block: EIP155Block HF block
	EIP155Block *github_com_cosmos_cosmos_sdk_types.Int `` /* 164-byte string literal not displayed */
	// eip158_block: EIP158 HF block
	EIP158Block *github_com_cosmos_cosmos_sdk_types.Int `` /* 164-byte string literal not displayed */
	// byzantium_block: Byzantium switch block (nil no fork, 0 = already on byzantium)
	ByzantiumBlock *github_com_cosmos_cosmos_sdk_types.Int `` /* 176-byte string literal not displayed */
	// constantinople_block: Constantinople switch block (nil no fork, 0 = already activated)
	ConstantinopleBlock *github_com_cosmos_cosmos_sdk_types.Int `` /* 196-byte string literal not displayed */
	// petersburg_block: Petersburg switch block (nil same as Constantinople)
	PetersburgBlock *github_com_cosmos_cosmos_sdk_types.Int `` /* 181-byte string literal not displayed */
	// istanbul_block: Istanbul switch block (nil no fork, 0 = already on istanbul)
	IstanbulBlock *github_com_cosmos_cosmos_sdk_types.Int `` /* 173-byte string literal not displayed */
	// muir_glacier_block: Eip-2384 (bomb delay) switch block (nil no fork, 0 = already activated)
	MuirGlacierBlock *github_com_cosmos_cosmos_sdk_types.Int `` /* 188-byte string literal not displayed */
	// berlin_block: Berlin switch block (nil = no fork, 0 = already on berlin)
	BerlinBlock *github_com_cosmos_cosmos_sdk_types.Int `` /* 165-byte string literal not displayed */
	// london_block: London switch block (nil = no fork, 0 = already on london)
	LondonBlock *github_com_cosmos_cosmos_sdk_types.Int `` /* 165-byte string literal not displayed */
	// arrow_glacier_block: Eip-4345 (bomb delay) switch block (nil = no fork, 0 = already activated)
	ArrowGlacierBlock *github_com_cosmos_cosmos_sdk_types.Int `` /* 192-byte string literal not displayed */
	// gray_glacier_block: EIP-5133 (bomb delay) switch block (nil = no fork, 0 = already activated)
	GrayGlacierBlock *github_com_cosmos_cosmos_sdk_types.Int `` /* 188-byte string literal not displayed */
	// merge_netsplit_block: Virtual fork after The Merge to use as a network splitter
	MergeNetsplitBlock *github_com_cosmos_cosmos_sdk_types.Int `` /* 196-byte string literal not displayed */
	// shanghai_block switch block (nil = no fork, 0 = already on shanghai)
	ShanghaiBlock *github_com_cosmos_cosmos_sdk_types.Int `` /* 173-byte string literal not displayed */
	// cancun_block switch block (nil = no fork, 0 = already on cancun)
	CancunBlock *github_com_cosmos_cosmos_sdk_types.Int `` /* 165-byte string literal not displayed */
}

V4ChainConfig defines the Ethereum V4ChainConfig parameters using *sdk.Int values instead of *big.Int.

func (*V4ChainConfig) Descriptor

func (*V4ChainConfig) Descriptor() ([]byte, []int)

func (*V4ChainConfig) GetDAOForkSupport

func (m *V4ChainConfig) GetDAOForkSupport() bool

func (*V4ChainConfig) GetEIP150Hash

func (m *V4ChainConfig) GetEIP150Hash() string

func (*V4ChainConfig) Marshal

func (m *V4ChainConfig) Marshal() (dAtA []byte, err error)

func (*V4ChainConfig) MarshalTo

func (m *V4ChainConfig) MarshalTo(dAtA []byte) (int, error)

func (*V4ChainConfig) MarshalToSizedBuffer

func (m *V4ChainConfig) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*V4ChainConfig) ProtoMessage

func (*V4ChainConfig) ProtoMessage()

func (*V4ChainConfig) Reset

func (m *V4ChainConfig) Reset()

func (*V4ChainConfig) Size

func (m *V4ChainConfig) Size() (n int)

func (*V4ChainConfig) String

func (m *V4ChainConfig) String() string

func (*V4ChainConfig) Unmarshal

func (m *V4ChainConfig) Unmarshal(dAtA []byte) error

func (*V4ChainConfig) XXX_DiscardUnknown

func (m *V4ChainConfig) XXX_DiscardUnknown()

func (*V4ChainConfig) XXX_Marshal

func (m *V4ChainConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*V4ChainConfig) XXX_Merge

func (m *V4ChainConfig) XXX_Merge(src proto.Message)

func (*V4ChainConfig) XXX_Size

func (m *V4ChainConfig) XXX_Size() int

func (*V4ChainConfig) XXX_Unmarshal

func (m *V4ChainConfig) XXX_Unmarshal(b []byte) error

type V4Log

type V4Log struct {
	// address of the contract that generated the event
	Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
	// topics is a list of topics provided by the contract.
	Topics []string `protobuf:"bytes,2,rep,name=topics,proto3" json:"topics,omitempty"`
	// data which is supplied by the contract, usually ABI-encoded
	Data []byte `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"`
	// block_number of the block in which the transaction was included
	BlockNumber uint64 `protobuf:"varint,4,opt,name=block_number,json=blockNumber,proto3" json:"blockNumber"`
	// tx_hash is the transaction hash
	TxHash string `protobuf:"bytes,5,opt,name=tx_hash,json=txHash,proto3" json:"transactionHash"`
	// tx_index of the transaction in the block
	TxIndex uint64 `protobuf:"varint,6,opt,name=tx_index,json=txIndex,proto3" json:"transactionIndex"`
	// block_hash of the block in which the transaction was included
	BlockHash string `protobuf:"bytes,7,opt,name=block_hash,json=blockHash,proto3" json:"blockHash"`
	// index of the V4Log in the block
	Index uint64 `protobuf:"varint,8,opt,name=index,proto3" json:"V4LogIndex"`
	// removed is true if this V4Log was reverted due to a chain
	// reorganisation. You must pay attention to this field if you receive V4Logs
	// through a filter query.
	Removed bool `protobuf:"varint,9,opt,name=removed,proto3" json:"removed,omitempty"`
}

V4Log represents an protobuf compatible Ethereum V4Log that defines a contract V4Log event. These events are generated by the V4Log opcode and stored/indexed by the node.

NOTE: address, topics and data are consensus fields. The rest of the fields are derived, i.e. filled in by the nodes, but not secured by consensus.

func (*V4Log) Descriptor

func (*V4Log) Descriptor() ([]byte, []int)

func (*V4Log) GetAddress

func (m *V4Log) GetAddress() string

func (*V4Log) GetBlockHash

func (m *V4Log) GetBlockHash() string

func (*V4Log) GetBlockNumber

func (m *V4Log) GetBlockNumber() uint64

func (*V4Log) GetData

func (m *V4Log) GetData() []byte

func (*V4Log) GetIndex

func (m *V4Log) GetIndex() uint64

func (*V4Log) GetRemoved

func (m *V4Log) GetRemoved() bool

func (*V4Log) GetTopics

func (m *V4Log) GetTopics() []string

func (*V4Log) GetTxHash

func (m *V4Log) GetTxHash() string

func (*V4Log) GetTxIndex

func (m *V4Log) GetTxIndex() uint64

func (*V4Log) Marshal

func (m *V4Log) Marshal() (dAtA []byte, err error)

func (*V4Log) MarshalTo

func (m *V4Log) MarshalTo(dAtA []byte) (int, error)

func (*V4Log) MarshalToSizedBuffer

func (m *V4Log) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*V4Log) ProtoMessage

func (*V4Log) ProtoMessage()

func (*V4Log) Reset

func (m *V4Log) Reset()

func (*V4Log) Size

func (m *V4Log) Size() (n int)

func (*V4Log) String

func (m *V4Log) String() string

func (*V4Log) Unmarshal

func (m *V4Log) Unmarshal(dAtA []byte) error

func (*V4Log) XXX_DiscardUnknown

func (m *V4Log) XXX_DiscardUnknown()

func (*V4Log) XXX_Marshal

func (m *V4Log) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*V4Log) XXX_Merge

func (m *V4Log) XXX_Merge(src proto.Message)

func (*V4Log) XXX_Size

func (m *V4Log) XXX_Size() int

func (*V4Log) XXX_Unmarshal

func (m *V4Log) XXX_Unmarshal(b []byte) error

type V4Params

type V4Params struct {
	// evm_denom represents the token denomination used to run the EVM V4State
	// transitions.
	EvmDenom string `protobuf:"bytes,1,opt,name=evm_denom,json=evmDenom,proto3" json:"evm_denom,omitempty" yaml:"evm_denom"`
	// enable_create toggles V4State transitions that use the vm.Create function
	EnableCreate bool `protobuf:"varint,2,opt,name=enable_create,json=enableCreate,proto3" json:"enable_create,omitempty" yaml:"enable_create"`
	// enable_call toggles V4State transitions that use the vm.Call function
	EnableCall bool `protobuf:"varint,3,opt,name=enable_call,json=enableCall,proto3" json:"enable_call,omitempty" yaml:"enable_call"`
	// extra_eips defines the additional EIPs for the vm.Config
	ExtraEIPs ExtraEIPs `protobuf:"bytes,4,opt,name=extra_eips,json=extraEips,proto3" json:"extra_eips" yaml:"extra_eips"`
	// chain_config defines the EVM chain configuration parameters
	V4ChainConfig V4ChainConfig `protobuf:"bytes,5,opt,name=chain_config,json=V4ChainConfig,proto3" json:"chain_config" yaml:"chain_config"`
	// allow_unprotected_txs defines if replay-protected (i.e non EIP155
	// signed) transactions can be executed on the V4State machine.
	AllowUnprotectedTxs bool `protobuf:"varint,6,opt,name=allow_unprotected_txs,json=allowUnprotectedTxs,proto3" json:"allow_unprotected_txs,omitempty"`
}

V4Params defines the EVM module parameters

func (*V4Params) Descriptor

func (*V4Params) Descriptor() ([]byte, []int)

func (*V4Params) GetAllowUnprotectedTxs

func (m *V4Params) GetAllowUnprotectedTxs() bool

func (*V4Params) GetEnableCall

func (m *V4Params) GetEnableCall() bool

func (*V4Params) GetEnableCreate

func (m *V4Params) GetEnableCreate() bool

func (*V4Params) GetEvmDenom

func (m *V4Params) GetEvmDenom() string

func (*V4Params) GetExtraEIPs

func (m *V4Params) GetExtraEIPs() ExtraEIPs

func (*V4Params) GetV4ChainConfig

func (m *V4Params) GetV4ChainConfig() V4ChainConfig

func (*V4Params) Marshal

func (m *V4Params) Marshal() (dAtA []byte, err error)

func (*V4Params) MarshalTo

func (m *V4Params) MarshalTo(dAtA []byte) (int, error)

func (*V4Params) MarshalToSizedBuffer

func (m *V4Params) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*V4Params) ProtoMessage

func (*V4Params) ProtoMessage()

func (*V4Params) Reset

func (m *V4Params) Reset()

func (*V4Params) Size

func (m *V4Params) Size() (n int)

func (*V4Params) String

func (m *V4Params) String() string

func (*V4Params) Unmarshal

func (m *V4Params) Unmarshal(dAtA []byte) error

func (*V4Params) XXX_DiscardUnknown

func (m *V4Params) XXX_DiscardUnknown()

func (*V4Params) XXX_Marshal

func (m *V4Params) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*V4Params) XXX_Merge

func (m *V4Params) XXX_Merge(src proto.Message)

func (*V4Params) XXX_Size

func (m *V4Params) XXX_Size() int

func (*V4Params) XXX_Unmarshal

func (m *V4Params) XXX_Unmarshal(b []byte) error

type V4State

type V4State struct {
	// key is the stored key
	Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	// value is the stored value for the given key
	Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
}

V4State represents a single Storage key value pair item.

func (*V4State) Descriptor

func (*V4State) Descriptor() ([]byte, []int)

func (*V4State) GetKey

func (m *V4State) GetKey() string

func (*V4State) GetValue

func (m *V4State) GetValue() string

func (*V4State) Marshal

func (m *V4State) Marshal() (dAtA []byte, err error)

func (*V4State) MarshalTo

func (m *V4State) MarshalTo(dAtA []byte) (int, error)

func (*V4State) MarshalToSizedBuffer

func (m *V4State) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*V4State) ProtoMessage

func (*V4State) ProtoMessage()

func (*V4State) Reset

func (m *V4State) Reset()

func (*V4State) Size

func (m *V4State) Size() (n int)

func (*V4State) String

func (m *V4State) String() string

func (*V4State) Unmarshal

func (m *V4State) Unmarshal(dAtA []byte) error

func (*V4State) XXX_DiscardUnknown

func (m *V4State) XXX_DiscardUnknown()

func (*V4State) XXX_Marshal

func (m *V4State) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*V4State) XXX_Merge

func (m *V4State) XXX_Merge(src proto.Message)

func (*V4State) XXX_Size

func (m *V4State) XXX_Size() int

func (*V4State) XXX_Unmarshal

func (m *V4State) XXX_Unmarshal(b []byte) error

type V4TraceConfig

type V4TraceConfig struct {
	// tracer is a custom javascript tracer
	Tracer string `protobuf:"bytes,1,opt,name=tracer,proto3" json:"tracer,omitempty"`
	// timeout overrides the default timeout of 5 seconds for JavaScript-based tracing
	// calls
	Timeout string `protobuf:"bytes,2,opt,name=timeout,proto3" json:"timeout,omitempty"`
	// reexec defines the number of blocks the tracer is willing to go back
	Reexec uint64 `protobuf:"varint,3,opt,name=reexec,proto3" json:"reexec,omitempty"`
	// disable_stack switches stack capture
	DisableStack bool `protobuf:"varint,5,opt,name=disable_stack,json=disableStack,proto3" json:"disableStack"`
	// disable_storage switches storage capture
	DisableStorage bool `protobuf:"varint,6,opt,name=disable_storage,json=disableStorage,proto3" json:"disableStorage"`
	// debug can be used to print output during capture end
	Debug bool `protobuf:"varint,8,opt,name=debug,proto3" json:"debug,omitempty"`
	// limit defines the maximum length of output, but zero means unlimited
	Limit int32 `protobuf:"varint,9,opt,name=limit,proto3" json:"limit,omitempty"`
	// overrides can be used to execute a trace using future fork rules
	Overrides *V4ChainConfig `protobuf:"bytes,10,opt,name=overrides,proto3" json:"overrides,omitempty"`
	// enable_memory switches memory capture
	EnableMemory bool `protobuf:"varint,11,opt,name=enable_memory,json=enableMemory,proto3" json:"enableMemory"`
	// enable_return_data switches the capture of return data
	EnableReturnData bool `protobuf:"varint,12,opt,name=enable_return_data,json=enableReturnData,proto3" json:"enableReturnData"`
	// tracer_json_config configures the tracer using a JSON string
	TracerJsonConfig string `protobuf:"bytes,13,opt,name=tracer_json_config,json=tracerJsonConfig,proto3" json:"tracerConfig"`
}

V4TraceConfig holds extra parameters to trace functions.

func (*V4TraceConfig) Descriptor

func (*V4TraceConfig) Descriptor() ([]byte, []int)

func (*V4TraceConfig) GetDebug

func (m *V4TraceConfig) GetDebug() bool

func (*V4TraceConfig) GetDisableStack

func (m *V4TraceConfig) GetDisableStack() bool

func (*V4TraceConfig) GetDisableStorage

func (m *V4TraceConfig) GetDisableStorage() bool

func (*V4TraceConfig) GetEnableMemory

func (m *V4TraceConfig) GetEnableMemory() bool

func (*V4TraceConfig) GetEnableReturnData

func (m *V4TraceConfig) GetEnableReturnData() bool

func (*V4TraceConfig) GetLimit

func (m *V4TraceConfig) GetLimit() int32

func (*V4TraceConfig) GetOverrides

func (m *V4TraceConfig) GetOverrides() *V4ChainConfig

func (*V4TraceConfig) GetReexec

func (m *V4TraceConfig) GetReexec() uint64

func (*V4TraceConfig) GetTimeout

func (m *V4TraceConfig) GetTimeout() string

func (*V4TraceConfig) GetTracer

func (m *V4TraceConfig) GetTracer() string

func (*V4TraceConfig) GetTracerJsonConfig

func (m *V4TraceConfig) GetTracerJsonConfig() string

func (*V4TraceConfig) Marshal

func (m *V4TraceConfig) Marshal() (dAtA []byte, err error)

func (*V4TraceConfig) MarshalTo

func (m *V4TraceConfig) MarshalTo(dAtA []byte) (int, error)

func (*V4TraceConfig) MarshalToSizedBuffer

func (m *V4TraceConfig) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*V4TraceConfig) ProtoMessage

func (*V4TraceConfig) ProtoMessage()

func (*V4TraceConfig) Reset

func (m *V4TraceConfig) Reset()

func (*V4TraceConfig) Size

func (m *V4TraceConfig) Size() (n int)

func (*V4TraceConfig) String

func (m *V4TraceConfig) String() string

func (*V4TraceConfig) Unmarshal

func (m *V4TraceConfig) Unmarshal(dAtA []byte) error

func (*V4TraceConfig) XXX_DiscardUnknown

func (m *V4TraceConfig) XXX_DiscardUnknown()

func (*V4TraceConfig) XXX_Marshal

func (m *V4TraceConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*V4TraceConfig) XXX_Merge

func (m *V4TraceConfig) XXX_Merge(src proto.Message)

func (*V4TraceConfig) XXX_Size

func (m *V4TraceConfig) XXX_Size() int

func (*V4TraceConfig) XXX_Unmarshal

func (m *V4TraceConfig) XXX_Unmarshal(b []byte) error

type V4TxResult

type V4TxResult struct {
	// contract_address contains the ethereum address of the created contract (if
	// any). If the V4State transition is an evm.Call, the contract address will be
	// empty.
	ContractAddress string `` /* 130-byte string literal not displayed */
	// bloom represents the bloom filter bytes
	Bloom []byte `protobuf:"bytes,2,opt,name=bloom,proto3" json:"bloom,omitempty"`
	// tx_V4Logs contains the transaction hash and the proto-compatible ethereum
	// V4Logs.
	TxV4Logs TransactionV4Logs `protobuf:"bytes,3,opt,name=tx_V4Logs,json=txV4Logs,proto3" json:"tx_V4Logs" yaml:"tx_V4Logs"`
	// ret defines the bytes from the execution.
	Ret []byte `protobuf:"bytes,4,opt,name=ret,proto3" json:"ret,omitempty"`
	// reverted flag is set to true when the call has been reverted
	Reverted bool `protobuf:"varint,5,opt,name=reverted,proto3" json:"reverted,omitempty"`
	// gas_used notes the amount of gas consumed while execution
	GasUsed uint64 `protobuf:"varint,6,opt,name=gas_used,json=gasUsed,proto3" json:"gas_used,omitempty"`
}

V4TxResult stores results of Tx execution.

func (*V4TxResult) Descriptor

func (*V4TxResult) Descriptor() ([]byte, []int)

func (*V4TxResult) Marshal

func (m *V4TxResult) Marshal() (dAtA []byte, err error)

func (*V4TxResult) MarshalTo

func (m *V4TxResult) MarshalTo(dAtA []byte) (int, error)

func (*V4TxResult) MarshalToSizedBuffer

func (m *V4TxResult) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*V4TxResult) ProtoMessage

func (*V4TxResult) ProtoMessage()

func (*V4TxResult) Reset

func (m *V4TxResult) Reset()

func (*V4TxResult) Size

func (m *V4TxResult) Size() (n int)

func (*V4TxResult) String

func (m *V4TxResult) String() string

func (*V4TxResult) Unmarshal

func (m *V4TxResult) Unmarshal(dAtA []byte) error

func (*V4TxResult) XXX_DiscardUnknown

func (m *V4TxResult) XXX_DiscardUnknown()

func (*V4TxResult) XXX_Marshal

func (m *V4TxResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*V4TxResult) XXX_Merge

func (m *V4TxResult) XXX_Merge(src proto.Message)

func (*V4TxResult) XXX_Size

func (m *V4TxResult) XXX_Size() int

func (*V4TxResult) XXX_Unmarshal

func (m *V4TxResult) XXX_Unmarshal(b []byte) error

Jump to

Keyboard shortcuts

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