Versions in this module Expand all Collapse all v24 v24.4.12 Dec 5, 2024 v24.4.11 Nov 29, 2024 v24.4.10 Nov 27, 2024 v24.4.9 Nov 27, 2024 v24.4.8 Nov 26, 2024 v24.4.7 Nov 26, 2024 v24.4.6 Nov 26, 2024 v24.4.5 Oct 28, 2024 v24.4.4 Oct 22, 2024 v24.4.3 Oct 22, 2024 Changes in this version + const ColdAccountAccessCostEIP2929 + const ColdSloadCostEIP2929 + const GasExtStep + const GasFastStep + const GasFastestStep + const GasMidStep + const GasQuickStep + const GasSlowStep + const WarmStorageReadCostEIP2929 + var ErrCodeStoreOutOfGas = errors.New("contract creation code storage out of gas") + var ErrContractAddressCollision = errors.New("contract address collision") + var ErrDepth = errors.New("max call depth exceeded") + var ErrExecutionReverted = errors.New("execution reverted") + var ErrGasUintOverflow = errors.New("gas uint64 overflow") + var ErrInsufficientBalance = errors.New("insufficient balance for transfer") + var ErrInvalidJump = errors.New("invalid jump destination") + var ErrMaxCodeSizeExceeded = errors.New("max code size exceeded") + var ErrNoCompatibleInterpreter = errors.New("no compatible interpreter") + var ErrOutOfGas = errors.New("out of gas") + var ErrReadOnlyValueTransfer = errors.New("VM in read-only mode. Value transfer prohibited.") + var ErrReturnDataOutOfBounds = errors.New("return data out of bounds") + var ErrWriteProtection = errors.New("write protection") + var PrecompiledAddressesBerlin []common.Address + var PrecompiledAddressesByzantium []common.Address + var PrecompiledAddressesHomestead []common.Address + var PrecompiledAddressesIstanbul []common.Address + var PrecompiledContractsBLS = map[common.Address]PrecompiledContract + var PrecompiledContractsBerlin = map[common.Address]PrecompiledContract + var PrecompiledContractsByzantium = map[common.Address]PrecompiledContract + var PrecompiledContractsHomestead = map[common.Address]PrecompiledContract + var PrecompiledContractsIstanbul = map[common.Address]PrecompiledContract + var QuorumPrecompiledContracts = map[common.Address]QuorumPrecompiledContract + func ActivateableEips() []string + func ActivePrecompiles(rules params.Rules) []common.Address + func EnableEIP(eipNum int, jt *JumpTable) error + func NewMarkdownLogger(cfg *LogConfig, writer io.Writer) *mdLogger + func RunPrecompiledContract(p PrecompiledContract, input []byte, suppliedGas uint64) (ret []byte, remainingGas uint64, err error) + func RunQuorumPrecompiledContract(evm *EVM, p QuorumPrecompiledContract, input []byte, suppliedGas uint64) (ret []byte, remainingGas uint64, err error) + func ValidEip(eipNum int) bool + func WriteLogs(writer io.Writer, logs []*types.Log) + func WriteTrace(writer io.Writer, logs []StructLog) + type AccessListTracer struct + func NewAccessListTracer(acl types.AccessList, from, to common.Address, precompiles []common.Address) *AccessListTracer + func (*AccessListTracer) CaptureEnd(output []byte, gasUsed uint64, t time.Duration, err error) + func (*AccessListTracer) CaptureFault(env *EVM, pc uint64, op OpCode, gas, cost uint64, scope *ScopeContext, ...) + func (a *AccessListTracer) AccessList() types.AccessList + func (a *AccessListTracer) CaptureStart(env *EVM, from common.Address, to common.Address, create bool, input []byte, ...) + func (a *AccessListTracer) CaptureState(env *EVM, pc uint64, op OpCode, gas, cost uint64, scope *ScopeContext, ...) + func (a *AccessListTracer) Equal(other *AccessListTracer) bool + type AccountExtraDataStateGetter interface + GetManagedParties func(addr common.Address) ([]string, error) + GetPrivacyMetadata func(addr common.Address) (*state.PrivacyMetadata, error) + type AccountExtraDataStateSetter interface + SetManagedParties func(addr common.Address, managedParties []string) + SetPrivacyMetadata func(addr common.Address, pm *state.PrivacyMetadata) + type AccountRef common.Address + func (ar AccountRef) Address() common.Address + type AffectedReason byte + const Creation + const MessageCall + type BlockContext struct + BlockNumber *big.Int + CanTransfer CanTransferFunc + Coinbase common.Address + Difficulty *big.Int + GasLimit uint64 + GetHash GetHashFunc + Time *big.Int + Transfer TransferFunc + type CallContext interface + Call func(env *EVM, me ContractRef, addr common.Address, data []byte, ...) ([]byte, error) + CallCode func(env *EVM, me ContractRef, addr common.Address, data []byte, ...) ([]byte, error) + Create func(env *EVM, me ContractRef, data []byte, gas, value *big.Int) ([]byte, common.Address, error) + DelegateCall func(env *EVM, me ContractRef, addr common.Address, data []byte, gas *big.Int) ([]byte, error) + type CanTransferFunc func(StateDB, common.Address, *big.Int) bool + type Config struct + ApplyOnPartyOverride *types.PrivateStateIdentifier + Debug bool + EVMInterpreter string + EWASMInterpreter string + EnablePreimageRecording bool + ExtraEips []int + JumpTable [256]*operation + NoRecursion bool + Tracer Tracer + type Contract struct + CallerAddress common.Address + Code []byte + CodeAddr *common.Address + CodeHash common.Hash + Gas uint64 + Input []byte + func NewContract(caller ContractRef, object ContractRef, value *big.Int, gas uint64) *Contract + func (c *Contract) Address() common.Address + func (c *Contract) AsDelegate() *Contract + func (c *Contract) Caller() common.Address + func (c *Contract) GetByte(n uint64) byte + func (c *Contract) GetOp(n uint64) OpCode + func (c *Contract) SetCallCode(addr *common.Address, hash common.Hash, code []byte) + func (c *Contract) SetCodeOptionalHash(addr *common.Address, codeAndHash *codeAndHash) + func (c *Contract) UseGas(gas uint64) (ok bool) + func (c *Contract) Value() *big.Int + type ContractRef interface + Address func() common.Address + type EVM struct + Context BlockContext + InnerApply func(innerTx *types.Transaction) error + InnerPrivateReceipt *types.Receipt + StateDB StateDB + func NewEVM(blockCtx BlockContext, txCtx TxContext, statedb, privateState StateDB, ...) *EVM + func (evm *EVM) AffectedContracts() []common.Address + func (evm *EVM) CalculateMerkleRoot() (common.Hash, error) + func (evm *EVM) Call(caller ContractRef, addr common.Address, input []byte, gas uint64, ...) (ret []byte, leftOverGas uint64, err error) + func (evm *EVM) CallCode(caller ContractRef, addr common.Address, input []byte, gas uint64, ...) (ret []byte, leftOverGas uint64, err error) + func (evm *EVM) Cancel() + func (evm *EVM) Cancelled() bool + func (evm *EVM) ChainConfig() *params.ChainConfig + func (evm *EVM) Create(caller ContractRef, code []byte, gas uint64, value *big.Int) (ret []byte, contractAddr common.Address, leftOverGas uint64, err error) + func (evm *EVM) Create2(caller ContractRef, code []byte, gas uint64, endowment *big.Int, ...) (ret []byte, contractAddr common.Address, leftOverGas uint64, err error) + func (evm *EVM) CreatedContracts() []common.Address + func (evm *EVM) DelegateCall(caller ContractRef, addr common.Address, input []byte, gas uint64) (ret []byte, leftOverGas uint64, err error) + func (evm *EVM) Depth() int + func (evm *EVM) Interpreter() Interpreter + func (evm *EVM) Pop() + func (evm *EVM) PrivateState() PrivateState + func (evm *EVM) PublicState() PublicState + func (evm *EVM) Push(statedb StateDB) + func (evm *EVM) Reset(txCtx TxContext, statedb StateDB, privateStateDB StateDB) + func (evm *EVM) RevertToSnapshot(snapshot int) + func (evm *EVM) SetCurrentTX(tx *types.Transaction) + func (evm *EVM) SetTxPrivacyMetadata(pm *types.PrivacyMetadata) + func (evm *EVM) StaticCall(caller ContractRef, addr common.Address, input []byte, gas uint64) (ret []byte, leftOverGas uint64, err error) + type EVMInterpreter struct + func NewEVMInterpreter(evm *EVM, cfg Config) *EVMInterpreter + func (in *EVMInterpreter) CanRun(code []byte) bool + func (in *EVMInterpreter) Run(contract *Contract, input []byte, readOnly bool) (ret []byte, err error) + type ErrInvalidOpCode struct + func (e *ErrInvalidOpCode) Error() string + type ErrStackOverflow struct + func (e *ErrStackOverflow) Error() string + type ErrStackUnderflow struct + func (e *ErrStackUnderflow) Error() string + type GetHashFunc func(uint64) common.Hash + type Interpreter interface + CanRun func([]byte) bool + Run func(contract *Contract, input []byte, static bool) ([]byte, error) + type JSONLogger struct + func NewJSONLogger(cfg *LogConfig, writer io.Writer) *JSONLogger + func (l *JSONLogger) CaptureEnd(output []byte, gasUsed uint64, t time.Duration, err error) + func (l *JSONLogger) CaptureFault(*EVM, uint64, OpCode, uint64, uint64, *ScopeContext, int, error) + func (l *JSONLogger) CaptureStart(env *EVM, from, to common.Address, create bool, input []byte, gas uint64, ...) + func (l *JSONLogger) CaptureState(env *EVM, pc uint64, op OpCode, gas, cost uint64, scope *ScopeContext, ...) + type JumpTable [256]*operation + type LogConfig struct + Debug bool + DisableMemory bool + DisableReturnData bool + DisableStack bool + DisableStorage bool + Limit int + Overrides *params.ChainConfig + type Memory struct + func NewMemory() *Memory + func (m *Memory) Data() []byte + func (m *Memory) GetCopy(offset, size int64) (cpy []byte) + func (m *Memory) GetPtr(offset, size int64) []byte + func (m *Memory) Len() int + func (m *Memory) Print() + func (m *Memory) Resize(size uint64) + func (m *Memory) Set(offset, size uint64, value []byte) + func (m *Memory) Set32(offset uint64, val *uint256.Int) + type MinimalApiState interface + Error func() error + GetBalance func(addr common.Address) *big.Int + GetCode func(addr common.Address) []byte + GetCodeHash func(common.Address) common.Hash + GetNonce func(addr common.Address) uint64 + GetProof func(common.Address) ([][]byte, error) + GetRLPEncodedStateObject func(addr common.Address) ([]byte, error) + GetState func(a common.Address, b common.Hash) common.Hash + GetStorageProof func(common.Address, common.Hash) ([][]byte, error) + SetBalance func(addr common.Address, balance *big.Int) + SetCode func(common.Address, []byte) + SetNonce func(addr common.Address, nonce uint64) + SetState func(common.Address, common.Hash, common.Hash) + SetStorage func(addr common.Address, storage map[common.Hash]common.Hash) + StorageTrie func(addr common.Address) state.Trie + type MockAccountExtraDataStateGetter struct + func NewMockAccountExtraDataStateGetter(ctrl *gomock.Controller) *MockAccountExtraDataStateGetter + func (m *MockAccountExtraDataStateGetter) EXPECT() *MockAccountExtraDataStateGetterMockRecorder + func (m *MockAccountExtraDataStateGetter) GetManagedParties(addr common.Address) ([]string, error) + func (m *MockAccountExtraDataStateGetter) GetPrivacyMetadata(addr common.Address) (*state.PrivacyMetadata, error) + type MockAccountExtraDataStateGetterMockRecorder struct + func (mr *MockAccountExtraDataStateGetterMockRecorder) GetManagedParties(addr interface{}) *gomock.Call + func (mr *MockAccountExtraDataStateGetterMockRecorder) GetPrivacyMetadata(addr interface{}) *gomock.Call + type MockAccountExtraDataStateSetter struct + func NewMockAccountExtraDataStateSetter(ctrl *gomock.Controller) *MockAccountExtraDataStateSetter + func (m *MockAccountExtraDataStateSetter) EXPECT() *MockAccountExtraDataStateSetterMockRecorder + func (m *MockAccountExtraDataStateSetter) SetManagedParties(addr common.Address, managedParties []string) + func (m *MockAccountExtraDataStateSetter) SetPrivacyMetadata(addr common.Address, pm *state.PrivacyMetadata) + type MockAccountExtraDataStateSetterMockRecorder struct + func (mr *MockAccountExtraDataStateSetterMockRecorder) SetManagedParties(addr, managedParties interface{}) *gomock.Call + func (mr *MockAccountExtraDataStateSetterMockRecorder) SetPrivacyMetadata(addr, pm interface{}) *gomock.Call + type MockCallContext struct + func NewMockCallContext(ctrl *gomock.Controller) *MockCallContext + func (m *MockCallContext) Call(env *EVM, me ContractRef, addr common.Address, data []byte, ...) ([]byte, error) + func (m *MockCallContext) CallCode(env *EVM, me ContractRef, addr common.Address, data []byte, ...) ([]byte, error) + func (m *MockCallContext) Create(env *EVM, me ContractRef, data []byte, gas, value *big.Int) ([]byte, common.Address, error) + func (m *MockCallContext) DelegateCall(env *EVM, me ContractRef, addr common.Address, data []byte, gas *big.Int) ([]byte, error) + func (m *MockCallContext) EXPECT() *MockCallContextMockRecorder + type MockCallContextMockRecorder struct + func (mr *MockCallContextMockRecorder) Call(env, me, addr, data, gas, value interface{}) *gomock.Call + func (mr *MockCallContextMockRecorder) CallCode(env, me, addr, data, gas, value interface{}) *gomock.Call + func (mr *MockCallContextMockRecorder) Create(env, me, data, gas, value interface{}) *gomock.Call + func (mr *MockCallContextMockRecorder) DelegateCall(env, me, addr, data, gas interface{}) *gomock.Call + type MockMinimalApiState struct + func NewMockMinimalApiState(ctrl *gomock.Controller) *MockMinimalApiState + func (m *MockMinimalApiState) EXPECT() *MockMinimalApiStateMockRecorder + func (m *MockMinimalApiState) Error() error + func (m *MockMinimalApiState) GetBalance(addr common.Address) *big.Int + func (m *MockMinimalApiState) GetCode(addr common.Address) []byte + func (m *MockMinimalApiState) GetCodeHash(arg0 common.Address) common.Hash + func (m *MockMinimalApiState) GetManagedParties(addr common.Address) ([]string, error) + func (m *MockMinimalApiState) GetNonce(addr common.Address) uint64 + func (m *MockMinimalApiState) GetPrivacyMetadata(addr common.Address) (*state.PrivacyMetadata, error) + func (m *MockMinimalApiState) GetProof(arg0 common.Address) ([][]byte, error) + func (m *MockMinimalApiState) GetRLPEncodedStateObject(addr common.Address) ([]byte, error) + func (m *MockMinimalApiState) GetState(a common.Address, b common.Hash) common.Hash + func (m *MockMinimalApiState) GetStorageProof(arg0 common.Address, arg1 common.Hash) ([][]byte, error) + func (m *MockMinimalApiState) SetBalance(addr common.Address, balance *big.Int) + func (m *MockMinimalApiState) SetCode(arg0 common.Address, arg1 []byte) + func (m *MockMinimalApiState) SetNonce(addr common.Address, nonce uint64) + func (m *MockMinimalApiState) SetState(arg0 common.Address, arg1, arg2 common.Hash) + func (m *MockMinimalApiState) SetStorage(addr common.Address, storage map[common.Hash]common.Hash) + func (m *MockMinimalApiState) StorageTrie(addr common.Address) state.Trie + type MockMinimalApiStateMockRecorder struct + func (mr *MockMinimalApiStateMockRecorder) Error() *gomock.Call + func (mr *MockMinimalApiStateMockRecorder) GetBalance(addr interface{}) *gomock.Call + func (mr *MockMinimalApiStateMockRecorder) GetCode(addr interface{}) *gomock.Call + func (mr *MockMinimalApiStateMockRecorder) GetCodeHash(arg0 interface{}) *gomock.Call + func (mr *MockMinimalApiStateMockRecorder) GetManagedParties(addr interface{}) *gomock.Call + func (mr *MockMinimalApiStateMockRecorder) GetNonce(addr interface{}) *gomock.Call + func (mr *MockMinimalApiStateMockRecorder) GetPrivacyMetadata(addr interface{}) *gomock.Call + func (mr *MockMinimalApiStateMockRecorder) GetProof(arg0 interface{}) *gomock.Call + func (mr *MockMinimalApiStateMockRecorder) GetRLPEncodedStateObject(addr interface{}) *gomock.Call + func (mr *MockMinimalApiStateMockRecorder) GetState(a, b interface{}) *gomock.Call + func (mr *MockMinimalApiStateMockRecorder) GetStorageProof(arg0, arg1 interface{}) *gomock.Call + func (mr *MockMinimalApiStateMockRecorder) SetBalance(addr, balance interface{}) *gomock.Call + func (mr *MockMinimalApiStateMockRecorder) SetCode(arg0, arg1 interface{}) *gomock.Call + func (mr *MockMinimalApiStateMockRecorder) SetNonce(addr, nonce interface{}) *gomock.Call + func (mr *MockMinimalApiStateMockRecorder) SetState(arg0, arg1, arg2 interface{}) *gomock.Call + func (mr *MockMinimalApiStateMockRecorder) SetStorage(addr, storage interface{}) *gomock.Call + func (mr *MockMinimalApiStateMockRecorder) StorageTrie(addr interface{}) *gomock.Call + type MockStateDB struct + func NewMockStateDB(ctrl *gomock.Controller) *MockStateDB + func (m *MockStateDB) AddAddressToAccessList(addr common.Address) + func (m *MockStateDB) AddBalance(arg0 common.Address, arg1 *big.Int) + func (m *MockStateDB) AddLog(arg0 *types.Log) + func (m *MockStateDB) AddPreimage(arg0 common.Hash, arg1 []byte) + func (m *MockStateDB) AddRefund(arg0 uint64) + func (m *MockStateDB) AddSlotToAccessList(addr common.Address, slot common.Hash) + func (m *MockStateDB) AddressInAccessList(addr common.Address) bool + func (m *MockStateDB) CreateAccount(arg0 common.Address) + func (m *MockStateDB) EXPECT() *MockStateDBMockRecorder + func (m *MockStateDB) Empty(arg0 common.Address) bool + func (m *MockStateDB) Error() error + func (m *MockStateDB) Exist(arg0 common.Address) bool + func (m *MockStateDB) ForEachStorage(arg0 common.Address, arg1 func(common.Hash, common.Hash) bool) error + func (m *MockStateDB) GetBalance(addr common.Address) *big.Int + func (m *MockStateDB) GetCode(addr common.Address) []byte + func (m *MockStateDB) GetCodeHash(arg0 common.Address) common.Hash + func (m *MockStateDB) GetCodeSize(arg0 common.Address) int + func (m *MockStateDB) GetCommittedState(arg0 common.Address, arg1 common.Hash) common.Hash + func (m *MockStateDB) GetManagedParties(addr common.Address) ([]string, error) + func (m *MockStateDB) GetNonce(addr common.Address) uint64 + func (m *MockStateDB) GetPrivacyMetadata(addr common.Address) (*state.PrivacyMetadata, error) + func (m *MockStateDB) GetProof(arg0 common.Address) ([][]byte, error) + func (m *MockStateDB) GetRLPEncodedStateObject(addr common.Address) ([]byte, error) + func (m *MockStateDB) GetRefund() uint64 + func (m *MockStateDB) GetState(a common.Address, b common.Hash) common.Hash + func (m *MockStateDB) GetStorageProof(arg0 common.Address, arg1 common.Hash) ([][]byte, error) + func (m *MockStateDB) HasSuicided(arg0 common.Address) bool + func (m *MockStateDB) PrepareAccessList(sender common.Address, dest *common.Address, precompiles []common.Address, ...) + func (m *MockStateDB) RevertToSnapshot(arg0 int) + func (m *MockStateDB) SetBalance(addr common.Address, balance *big.Int) + func (m *MockStateDB) SetCode(arg0 common.Address, arg1 []byte) + func (m *MockStateDB) SetManagedParties(addr common.Address, managedParties []string) + func (m *MockStateDB) SetNonce(addr common.Address, nonce uint64) + func (m *MockStateDB) SetPrivacyMetadata(addr common.Address, pm *state.PrivacyMetadata) + func (m *MockStateDB) SetState(arg0 common.Address, arg1, arg2 common.Hash) + func (m *MockStateDB) SetStorage(addr common.Address, storage map[common.Hash]common.Hash) + func (m *MockStateDB) SlotInAccessList(addr common.Address, slot common.Hash) (bool, bool) + func (m *MockStateDB) Snapshot() int + func (m *MockStateDB) StorageTrie(addr common.Address) state.Trie + func (m *MockStateDB) SubBalance(arg0 common.Address, arg1 *big.Int) + func (m *MockStateDB) SubRefund(arg0 uint64) + func (m *MockStateDB) Suicide(arg0 common.Address) bool + type MockStateDBMockRecorder struct + func (mr *MockStateDBMockRecorder) AddAddressToAccessList(addr interface{}) *gomock.Call + func (mr *MockStateDBMockRecorder) AddBalance(arg0, arg1 interface{}) *gomock.Call + func (mr *MockStateDBMockRecorder) AddLog(arg0 interface{}) *gomock.Call + func (mr *MockStateDBMockRecorder) AddPreimage(arg0, arg1 interface{}) *gomock.Call + func (mr *MockStateDBMockRecorder) AddRefund(arg0 interface{}) *gomock.Call + func (mr *MockStateDBMockRecorder) AddSlotToAccessList(addr, slot interface{}) *gomock.Call + func (mr *MockStateDBMockRecorder) AddressInAccessList(addr interface{}) *gomock.Call + func (mr *MockStateDBMockRecorder) CreateAccount(arg0 interface{}) *gomock.Call + func (mr *MockStateDBMockRecorder) Empty(arg0 interface{}) *gomock.Call + func (mr *MockStateDBMockRecorder) Error() *gomock.Call + func (mr *MockStateDBMockRecorder) Exist(arg0 interface{}) *gomock.Call + func (mr *MockStateDBMockRecorder) ForEachStorage(arg0, arg1 interface{}) *gomock.Call + func (mr *MockStateDBMockRecorder) GetBalance(addr interface{}) *gomock.Call + func (mr *MockStateDBMockRecorder) GetCode(addr interface{}) *gomock.Call + func (mr *MockStateDBMockRecorder) GetCodeHash(arg0 interface{}) *gomock.Call + func (mr *MockStateDBMockRecorder) GetCodeSize(arg0 interface{}) *gomock.Call + func (mr *MockStateDBMockRecorder) GetCommittedState(arg0, arg1 interface{}) *gomock.Call + func (mr *MockStateDBMockRecorder) GetManagedParties(addr interface{}) *gomock.Call + func (mr *MockStateDBMockRecorder) GetNonce(addr interface{}) *gomock.Call + func (mr *MockStateDBMockRecorder) GetPrivacyMetadata(addr interface{}) *gomock.Call + func (mr *MockStateDBMockRecorder) GetProof(arg0 interface{}) *gomock.Call + func (mr *MockStateDBMockRecorder) GetRLPEncodedStateObject(addr interface{}) *gomock.Call + func (mr *MockStateDBMockRecorder) GetRefund() *gomock.Call + func (mr *MockStateDBMockRecorder) GetState(a, b interface{}) *gomock.Call + func (mr *MockStateDBMockRecorder) GetStorageProof(arg0, arg1 interface{}) *gomock.Call + func (mr *MockStateDBMockRecorder) HasSuicided(arg0 interface{}) *gomock.Call + func (mr *MockStateDBMockRecorder) RevertToSnapshot(arg0 interface{}) *gomock.Call + func (mr *MockStateDBMockRecorder) SetBalance(addr, balance interface{}) *gomock.Call + func (mr *MockStateDBMockRecorder) SetCode(arg0, arg1 interface{}) *gomock.Call + func (mr *MockStateDBMockRecorder) SetManagedParties(addr, managedParties interface{}) *gomock.Call + func (mr *MockStateDBMockRecorder) SetNonce(addr, nonce interface{}) *gomock.Call + func (mr *MockStateDBMockRecorder) SetPrivacyMetadata(addr, pm interface{}) *gomock.Call + func (mr *MockStateDBMockRecorder) SetState(arg0, arg1, arg2 interface{}) *gomock.Call + func (mr *MockStateDBMockRecorder) SetStorage(addr, storage interface{}) *gomock.Call + func (mr *MockStateDBMockRecorder) SlotInAccessList(addr, slot interface{}) *gomock.Call + func (mr *MockStateDBMockRecorder) Snapshot() *gomock.Call + func (mr *MockStateDBMockRecorder) StorageTrie(addr interface{}) *gomock.Call + func (mr *MockStateDBMockRecorder) SubBalance(arg0, arg1 interface{}) *gomock.Call + func (mr *MockStateDBMockRecorder) SubRefund(arg0 interface{}) *gomock.Call + func (mr *MockStateDBMockRecorder) Suicide(arg0 interface{}) *gomock.Call + type OpCode byte + const ADD + const ADDMOD + const ADDRESS + const AND + const BALANCE + const BLOCKHASH + const BYTE + const CALL + const CALLCODE + const CALLDATACOPY + const CALLDATALOAD + const CALLDATASIZE + const CALLER + const CALLVALUE + const CHAINID + const CODECOPY + const CODESIZE + const COINBASE + const CREATE + const CREATE2 + const DELEGATECALL + const DIFFICULTY + const DIV + const DUP + const DUP1 + const DUP10 + const DUP11 + const DUP12 + const DUP13 + const DUP14 + const DUP15 + const DUP16 + const DUP2 + const DUP3 + const DUP4 + const DUP5 + const DUP6 + const DUP7 + const DUP8 + const DUP9 + const EQ + const EXP + const EXTCODECOPY + const EXTCODEHASH + const EXTCODESIZE + const GAS + const GASLIMIT + const GASPRICE + const GT + const ISZERO + const JUMP + const JUMPDEST + const JUMPI + const LOG0 + const LOG1 + const LOG2 + const LOG3 + const LOG4 + const LT + const MLOAD + const MOD + const MSIZE + const MSTORE + const MSTORE8 + const MUL + const MULMOD + const NOT + const NUMBER + const OR + const ORIGIN + const PC + const POP + const PUSH + const PUSH1 + const PUSH10 + const PUSH11 + const PUSH12 + const PUSH13 + const PUSH14 + const PUSH15 + const PUSH16 + const PUSH17 + const PUSH18 + const PUSH19 + const PUSH2 + const PUSH20 + const PUSH21 + const PUSH22 + const PUSH23 + const PUSH24 + const PUSH25 + const PUSH26 + const PUSH27 + const PUSH28 + const PUSH29 + const PUSH3 + const PUSH30 + const PUSH31 + const PUSH32 + const PUSH4 + const PUSH5 + const PUSH6 + const PUSH7 + const PUSH8 + const PUSH9 + const RETURN + const RETURNDATACOPY + const RETURNDATASIZE + const REVERT + const SAR + const SDIV + const SELFBALANCE + const SELFDESTRUCT + const SGT + const SHA3 + const SHL + const SHR + const SIGNEXTEND + const SLOAD + const SLT + const SMOD + const SSTORE + const STATICCALL + const STOP + const SUB + const SWAP + const SWAP1 + const SWAP10 + const SWAP11 + const SWAP12 + const SWAP13 + const SWAP14 + const SWAP15 + const SWAP16 + const SWAP2 + const SWAP3 + const SWAP4 + const SWAP5 + const SWAP6 + const SWAP7 + const SWAP8 + const SWAP9 + const TIMESTAMP + const XOR + func StringToOp(str string) OpCode + func (op OpCode) IsPush() bool + func (op OpCode) IsStaticJump() bool + func (op OpCode) String() string + type PrecompiledContract interface + RequiredGas func(input []byte) uint64 + Run func(input []byte) ([]byte, error) + type PrivateState StateDB + type PublicState StateDB + type QuorumPrecompiledContract interface + RequiredGas func(input []byte) uint64 + Run func(evm *EVM, input []byte) ([]byte, error) + type ScopeContext struct + Contract *Contract + Memory *Memory + Stack *Stack + type Stack struct + func (st *Stack) Back(n int) *uint256.Int + func (st *Stack) Data() []uint256.Int + func (st *Stack) Print() + type StateDB interface + AddAddressToAccessList func(addr common.Address) + AddBalance func(common.Address, *big.Int) + AddLog func(*types.Log) + AddPreimage func(common.Hash, []byte) + AddRefund func(uint64) + AddSlotToAccessList func(addr common.Address, slot common.Hash) + AddressInAccessList func(addr common.Address) bool + CreateAccount func(common.Address) + Empty func(common.Address) bool + Exist func(common.Address) bool + ForEachStorage func(common.Address, func(common.Hash, common.Hash) bool) error + GetCodeSize func(common.Address) int + GetCommittedState func(common.Address, common.Hash) common.Hash + GetRefund func() uint64 + HasSuicided func(common.Address) bool + PrepareAccessList func(sender common.Address, dest *common.Address, precompiles []common.Address, ...) + RevertToSnapshot func(int) + SlotInAccessList func(addr common.Address, slot common.Hash) (addressOk bool, slotOk bool) + Snapshot func() int + SubBalance func(common.Address, *big.Int) + SubRefund func(uint64) + Suicide func(common.Address) bool + type Storage map[common.Hash]common.Hash + func (s Storage) Copy() Storage + type StructLog struct + Depth int + Err error + Gas uint64 + GasCost uint64 + Memory []byte + MemorySize int + Op OpCode + Pc uint64 + RefundCounter uint64 + ReturnData []byte + Stack []*big.Int + Storage map[common.Hash]common.Hash + func (s *StructLog) ErrorString() string + func (s *StructLog) OpName() string + func (s *StructLog) UnmarshalJSON(input []byte) error + func (s StructLog) MarshalJSON() ([]byte, error) + type StructLogger struct + func NewStructLogger(cfg *LogConfig) *StructLogger + func (l *StructLogger) CaptureEnd(output []byte, gasUsed uint64, t time.Duration, err error) + func (l *StructLogger) CaptureFault(env *EVM, pc uint64, op OpCode, gas, cost uint64, scope *ScopeContext, ...) + func (l *StructLogger) CaptureStart(env *EVM, from common.Address, to common.Address, create bool, input []byte, ...) + func (l *StructLogger) CaptureState(env *EVM, pc uint64, op OpCode, gas, cost uint64, scope *ScopeContext, ...) + func (l *StructLogger) Error() error + func (l *StructLogger) Output() []byte + func (l *StructLogger) StructLogs() []StructLog + type Tracer interface + CaptureEnd func(output []byte, gasUsed uint64, t time.Duration, err error) + CaptureFault func(env *EVM, pc uint64, op OpCode, gas, cost uint64, scope *ScopeContext, ...) + CaptureStart func(env *EVM, from common.Address, to common.Address, create bool, input []byte, ...) + CaptureState func(env *EVM, pc uint64, op OpCode, gas, cost uint64, scope *ScopeContext, ...) + type TransferFunc func(StateDB, common.Address, common.Address, *big.Int) + type TxContext struct + GasPrice *big.Int + Origin common.Address