Versions in this module Expand all Collapse all v3 v3.0.1 Dec 26, 2023 Changes in this version + var ErrIntrinsicGasOverflow = fmt.Errorf("overflow in intrinsic gas calculation") type EthManagerRuntime + func (r *EthManagerRuntime) Call(context protocol.TxSimContext, parameters map[string][]byte) *commonPb.ContractResult + func (r *EthManagerRuntime) EstimateGas(context protocol.TxSimContext, parameters map[string][]byte) *commonPb.ContractResult v3.0.0 Dec 23, 2022 Changes in this version + var ContractName = syscontract.SystemContract_ETHEREUM.String() + var ErrInsufficientFunds = errors.New("insufficient funds for gas * price + value") + type EthManagerRuntime struct + func (r *EthManagerRuntime) BalanceOf(context protocol.TxSimContext, parameters map[string][]byte) ([]byte, error) + func (r *EthManagerRuntime) Decimals(context protocol.TxSimContext, _ map[string][]byte) ([]byte, error) + func (r *EthManagerRuntime) GetAccount(context protocol.TxSimContext, parameters map[string][]byte) ([]byte, error) + func (r *EthManagerRuntime) GetAccountList(context protocol.TxSimContext, _ map[string][]byte) ([]byte, error) + func (r *EthManagerRuntime) Mint(context protocol.TxSimContext, parameters map[string][]byte) ([]byte, []*commonPb.ContractEvent, error) + func (r *EthManagerRuntime) Name(context protocol.TxSimContext, _ map[string][]byte) ([]byte, error) + func (r *EthManagerRuntime) Nonce(context protocol.TxSimContext, parameters map[string][]byte) ([]byte, error) + func (r *EthManagerRuntime) Register(context protocol.TxSimContext, parameters map[string][]byte) ([]byte, error) + func (r *EthManagerRuntime) Symbol(context protocol.TxSimContext, _ map[string][]byte) ([]byte, error) + func (r *EthManagerRuntime) TotalSupply(context protocol.TxSimContext, _ map[string][]byte) ([]byte, error) + func (r *EthManagerRuntime) Transfer(context protocol.TxSimContext, parameters map[string][]byte) ([]byte, error) + func (r *EthManagerRuntime) Unpack(context protocol.TxSimContext, parameters map[string][]byte) *commonPb.ContractResult + func (r *EthManagerRuntime) Unregister(context protocol.TxSimContext, parameters map[string][]byte) ([]byte, error) + type Manager struct + func NewManager(log protocol.Logger) *Manager