Documentation
¶
Index ¶
- Variables
- type ExtraEIPs
- func (*ExtraEIPs) Descriptor() ([]byte, []int)
- func (m *ExtraEIPs) GetEIPs() []int64
- func (m *ExtraEIPs) Marshal() (dAtA []byte, err error)
- func (m *ExtraEIPs) MarshalTo(dAtA []byte) (int, error)
- func (m *ExtraEIPs) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ExtraEIPs) ProtoMessage()
- func (m *ExtraEIPs) Reset()
- func (m *ExtraEIPs) Size() (n int)
- func (m *ExtraEIPs) String() string
- func (m *ExtraEIPs) Unmarshal(dAtA []byte) error
- func (m *ExtraEIPs) XXX_DiscardUnknown()
- func (m *ExtraEIPs) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ExtraEIPs) XXX_Merge(src proto.Message)
- func (m *ExtraEIPs) XXX_Size() int
- func (m *ExtraEIPs) XXX_Unmarshal(b []byte) error
- type TransactionV4Logs
- func (*TransactionV4Logs) Descriptor() ([]byte, []int)
- func (m *TransactionV4Logs) GetHash() string
- func (m *TransactionV4Logs) GetV4Logs() []*V4Log
- func (m *TransactionV4Logs) Marshal() (dAtA []byte, err error)
- func (m *TransactionV4Logs) MarshalTo(dAtA []byte) (int, error)
- func (m *TransactionV4Logs) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*TransactionV4Logs) ProtoMessage()
- func (m *TransactionV4Logs) Reset()
- func (m *TransactionV4Logs) Size() (n int)
- func (m *TransactionV4Logs) String() string
- func (m *TransactionV4Logs) Unmarshal(dAtA []byte) error
- func (m *TransactionV4Logs) XXX_DiscardUnknown()
- func (m *TransactionV4Logs) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TransactionV4Logs) XXX_Merge(src proto.Message)
- func (m *TransactionV4Logs) XXX_Size() int
- func (m *TransactionV4Logs) XXX_Unmarshal(b []byte) error
- type V4AccessTuple
- func (*V4AccessTuple) Descriptor() ([]byte, []int)
- func (m *V4AccessTuple) Marshal() (dAtA []byte, err error)
- func (m *V4AccessTuple) MarshalTo(dAtA []byte) (int, error)
- func (m *V4AccessTuple) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*V4AccessTuple) ProtoMessage()
- func (m *V4AccessTuple) Reset()
- func (m *V4AccessTuple) Size() (n int)
- func (m *V4AccessTuple) String() string
- func (m *V4AccessTuple) Unmarshal(dAtA []byte) error
- func (m *V4AccessTuple) XXX_DiscardUnknown()
- func (m *V4AccessTuple) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *V4AccessTuple) XXX_Merge(src proto.Message)
- func (m *V4AccessTuple) XXX_Size() int
- func (m *V4AccessTuple) XXX_Unmarshal(b []byte) error
- type V4ChainConfig
- func (*V4ChainConfig) Descriptor() ([]byte, []int)
- func (m *V4ChainConfig) GetDAOForkSupport() bool
- func (m *V4ChainConfig) GetEIP150Hash() string
- func (m *V4ChainConfig) Marshal() (dAtA []byte, err error)
- func (m *V4ChainConfig) MarshalTo(dAtA []byte) (int, error)
- func (m *V4ChainConfig) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*V4ChainConfig) ProtoMessage()
- func (m *V4ChainConfig) Reset()
- func (m *V4ChainConfig) Size() (n int)
- func (m *V4ChainConfig) String() string
- func (m *V4ChainConfig) Unmarshal(dAtA []byte) error
- func (m *V4ChainConfig) XXX_DiscardUnknown()
- func (m *V4ChainConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *V4ChainConfig) XXX_Merge(src proto.Message)
- func (m *V4ChainConfig) XXX_Size() int
- func (m *V4ChainConfig) XXX_Unmarshal(b []byte) error
- type V4Log
- func (*V4Log) Descriptor() ([]byte, []int)
- func (m *V4Log) GetAddress() string
- func (m *V4Log) GetBlockHash() string
- func (m *V4Log) GetBlockNumber() uint64
- func (m *V4Log) GetData() []byte
- func (m *V4Log) GetIndex() uint64
- func (m *V4Log) GetRemoved() bool
- func (m *V4Log) GetTopics() []string
- func (m *V4Log) GetTxHash() string
- func (m *V4Log) GetTxIndex() uint64
- func (m *V4Log) Marshal() (dAtA []byte, err error)
- func (m *V4Log) MarshalTo(dAtA []byte) (int, error)
- func (m *V4Log) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*V4Log) ProtoMessage()
- func (m *V4Log) Reset()
- func (m *V4Log) Size() (n int)
- func (m *V4Log) String() string
- func (m *V4Log) Unmarshal(dAtA []byte) error
- func (m *V4Log) XXX_DiscardUnknown()
- func (m *V4Log) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *V4Log) XXX_Merge(src proto.Message)
- func (m *V4Log) XXX_Size() int
- func (m *V4Log) XXX_Unmarshal(b []byte) error
- type V4Params
- func (*V4Params) Descriptor() ([]byte, []int)
- func (m *V4Params) GetAllowUnprotectedTxs() bool
- func (m *V4Params) GetEnableCall() bool
- func (m *V4Params) GetEnableCreate() bool
- func (m *V4Params) GetEvmDenom() string
- func (m *V4Params) GetExtraEIPs() ExtraEIPs
- func (m *V4Params) GetV4ChainConfig() V4ChainConfig
- func (m *V4Params) Marshal() (dAtA []byte, err error)
- func (m *V4Params) MarshalTo(dAtA []byte) (int, error)
- func (m *V4Params) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*V4Params) ProtoMessage()
- func (m *V4Params) Reset()
- func (m *V4Params) Size() (n int)
- func (m *V4Params) String() string
- func (m *V4Params) Unmarshal(dAtA []byte) error
- func (m *V4Params) XXX_DiscardUnknown()
- func (m *V4Params) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *V4Params) XXX_Merge(src proto.Message)
- func (m *V4Params) XXX_Size() int
- func (m *V4Params) XXX_Unmarshal(b []byte) error
- type V4State
- func (*V4State) Descriptor() ([]byte, []int)
- func (m *V4State) GetKey() string
- func (m *V4State) GetValue() string
- func (m *V4State) Marshal() (dAtA []byte, err error)
- func (m *V4State) MarshalTo(dAtA []byte) (int, error)
- func (m *V4State) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*V4State) ProtoMessage()
- func (m *V4State) Reset()
- func (m *V4State) Size() (n int)
- func (m *V4State) String() string
- func (m *V4State) Unmarshal(dAtA []byte) error
- func (m *V4State) XXX_DiscardUnknown()
- func (m *V4State) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *V4State) XXX_Merge(src proto.Message)
- func (m *V4State) XXX_Size() int
- func (m *V4State) XXX_Unmarshal(b []byte) error
- type V4TraceConfig
- func (*V4TraceConfig) Descriptor() ([]byte, []int)
- func (m *V4TraceConfig) GetDebug() bool
- func (m *V4TraceConfig) GetDisableStack() bool
- func (m *V4TraceConfig) GetDisableStorage() bool
- func (m *V4TraceConfig) GetEnableMemory() bool
- func (m *V4TraceConfig) GetEnableReturnData() bool
- func (m *V4TraceConfig) GetLimit() int32
- func (m *V4TraceConfig) GetOverrides() *V4ChainConfig
- func (m *V4TraceConfig) GetReexec() uint64
- func (m *V4TraceConfig) GetTimeout() string
- func (m *V4TraceConfig) GetTracer() string
- func (m *V4TraceConfig) GetTracerJsonConfig() string
- func (m *V4TraceConfig) Marshal() (dAtA []byte, err error)
- func (m *V4TraceConfig) MarshalTo(dAtA []byte) (int, error)
- func (m *V4TraceConfig) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*V4TraceConfig) ProtoMessage()
- func (m *V4TraceConfig) Reset()
- func (m *V4TraceConfig) Size() (n int)
- func (m *V4TraceConfig) String() string
- func (m *V4TraceConfig) Unmarshal(dAtA []byte) error
- func (m *V4TraceConfig) XXX_DiscardUnknown()
- func (m *V4TraceConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *V4TraceConfig) XXX_Merge(src proto.Message)
- func (m *V4TraceConfig) XXX_Size() int
- func (m *V4TraceConfig) XXX_Unmarshal(b []byte) error
- type V4TxResult
- func (*V4TxResult) Descriptor() ([]byte, []int)
- func (m *V4TxResult) Marshal() (dAtA []byte, err error)
- func (m *V4TxResult) MarshalTo(dAtA []byte) (int, error)
- func (m *V4TxResult) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*V4TxResult) ProtoMessage()
- func (m *V4TxResult) Reset()
- func (m *V4TxResult) Size() (n int)
- func (m *V4TxResult) String() string
- func (m *V4TxResult) Unmarshal(dAtA []byte) error
- func (m *V4TxResult) XXX_DiscardUnknown()
- func (m *V4TxResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *V4TxResult) XXX_Merge(src proto.Message)
- func (m *V4TxResult) XXX_Size() int
- func (m *V4TxResult) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
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) MarshalToSizedBuffer ¶
func (*ExtraEIPs) ProtoMessage ¶
func (*ExtraEIPs) ProtoMessage()
func (*ExtraEIPs) XXX_DiscardUnknown ¶
func (m *ExtraEIPs) XXX_DiscardUnknown()
func (*ExtraEIPs) XXX_Marshal ¶
func (*ExtraEIPs) XXX_Unmarshal ¶
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) 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 *cosmossdk_io_math.Int `` /* 159-byte string literal not displayed */
// dao_fork_block corresponds to TheDAO hard-fork switch block (nil no fork)
DAOForkBlock *cosmossdk_io_math.Int `` /* 154-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 *cosmossdk_io_math.Int `` /* 147-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 *cosmossdk_io_math.Int `` /* 147-byte string literal not displayed */
// eip158_block: EIP158 HF block
EIP158Block *cosmossdk_io_math.Int `` /* 147-byte string literal not displayed */
// byzantium_block: Byzantium switch block (nil no fork, 0 = already on byzantium)
ByzantiumBlock *cosmossdk_io_math.Int `` /* 159-byte string literal not displayed */
// constantinople_block: Constantinople switch block (nil no fork, 0 = already activated)
ConstantinopleBlock *cosmossdk_io_math.Int `` /* 179-byte string literal not displayed */
// petersburg_block: Petersburg switch block (nil same as Constantinople)
PetersburgBlock *cosmossdk_io_math.Int `` /* 164-byte string literal not displayed */
// istanbul_block: Istanbul switch block (nil no fork, 0 = already on istanbul)
IstanbulBlock *cosmossdk_io_math.Int `` /* 156-byte string literal not displayed */
// muir_glacier_block: Eip-2384 (bomb delay) switch block (nil no fork, 0 = already activated)
MuirGlacierBlock *cosmossdk_io_math.Int `` /* 171-byte string literal not displayed */
// berlin_block: Berlin switch block (nil = no fork, 0 = already on berlin)
BerlinBlock *cosmossdk_io_math.Int `` /* 148-byte string literal not displayed */
// london_block: London switch block (nil = no fork, 0 = already on london)
LondonBlock *cosmossdk_io_math.Int `` /* 148-byte string literal not displayed */
// arrow_glacier_block: Eip-4345 (bomb delay) switch block (nil = no fork, 0 = already activated)
ArrowGlacierBlock *cosmossdk_io_math.Int `` /* 175-byte string literal not displayed */
// gray_glacier_block: EIP-5133 (bomb delay) switch block (nil = no fork, 0 = already activated)
GrayGlacierBlock *cosmossdk_io_math.Int `` /* 171-byte string literal not displayed */
// merge_netsplit_block: Virtual fork after The Merge to use as a network splitter
MergeNetsplitBlock *cosmossdk_io_math.Int `` /* 179-byte string literal not displayed */
// shanghai_block switch block (nil = no fork, 0 = already on shanghai)
ShanghaiBlock *cosmossdk_io_math.Int `` /* 156-byte string literal not displayed */
// cancun_block switch block (nil = no fork, 0 = already on cancun)
CancunBlock *cosmossdk_io_math.Int `` /* 148-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) 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) GetAddress ¶
func (*V4Log) GetBlockHash ¶
func (*V4Log) GetBlockNumber ¶
func (*V4Log) GetRemoved ¶
func (*V4Log) GetTxIndex ¶
func (*V4Log) ProtoMessage ¶
func (*V4Log) ProtoMessage()
func (*V4Log) XXX_DiscardUnknown ¶
func (m *V4Log) XXX_DiscardUnknown()
func (*V4Log) XXX_Marshal ¶
func (*V4Log) XXX_Unmarshal ¶
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) GetAllowUnprotectedTxs ¶
func (*V4Params) GetEnableCall ¶
func (*V4Params) GetEnableCreate ¶
func (*V4Params) GetEvmDenom ¶
func (*V4Params) GetExtraEIPs ¶
func (*V4Params) GetV4ChainConfig ¶
func (m *V4Params) GetV4ChainConfig() V4ChainConfig
func (*V4Params) MarshalToSizedBuffer ¶
func (*V4Params) ProtoMessage ¶
func (*V4Params) ProtoMessage()
func (*V4Params) XXX_DiscardUnknown ¶
func (m *V4Params) XXX_DiscardUnknown()
func (*V4Params) XXX_Marshal ¶
func (*V4Params) XXX_Unmarshal ¶
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) MarshalToSizedBuffer ¶
func (*V4State) ProtoMessage ¶
func (*V4State) ProtoMessage()
func (*V4State) XXX_DiscardUnknown ¶
func (m *V4State) XXX_DiscardUnknown()
func (*V4State) XXX_Marshal ¶
func (*V4State) XXX_Unmarshal ¶
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) 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) 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