Versions in this module Expand all Collapse all v3 v3.0.1 Dec 26, 2023 v3.0.0 Dec 23, 2022 Changes in this version + func GetInstructionsTable() [opcodes.MaxOpCodesCount]opCodeInstruction + func Load() + type ClosureExecute func(ClosureParam) ([]byte, error) + type ClosureParam struct + CallData []byte + CallValue *evmutils.Int + ContractAddress *evmutils.Int + ContractCode []byte + ContractHash *evmutils.Int + CreateSalt *evmutils.Int + GasRemaining *evmutils.Int + OpCode opcodes.OpCode + VM interface{} + type ConstOpGasCostSetting [opcodes.MaxOpCodesCount]uint64 + type DynamicGasCostSetting struct + EXPBytesCost uint64 + LogByteCost uint64 + MemoryByteCost uint64 + SHA3ByteCost uint64 + type GasSetting struct + ActionConstCost [opcodes.MaxOpCodesCount]uint64 + DynamicCost DynamicGasCostSetting + NewAccountCost uint64 + func DefaultGasSetting() *GasSetting + type IInstructions interface + ExecuteContract func(isCreate bool) ([]byte, uint64, []byte, []byte, error) + ExitOpCode func() opcodes.OpCode + GetGasLeft func() uint64 + GetPcCountAndTimeUsed func() (uint64, int64) + IsReadOnly func() bool + SetGasLimit func(uint64) + SetReadOnly func() + func New(vm interface{}, stack *stack.Stack, memory *memory.Memory, ...) IInstructions Other modules containing this package chainmaker.org/chainmaker/vm-evm/v2