Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Processor = evm.Contract.Processor(initialize, evm.FuncSetGasRatio.WithHandler(setGasRatio), evm.FuncGetGasRatio.WithHandler(getGasRatio), evm.FuncSendTransaction.WithHandler(applyTransaction), evm.FuncGetBalance.WithHandler(getBalance), evm.FuncCallContract.WithHandler(callContract), evm.FuncEstimateGas.WithHandler(estimateGas), evm.FuncGetNonce.WithHandler(getNonce), evm.FuncGetReceipt.WithHandler(getReceipt), evm.FuncGetCode.WithHandler(getCode), evm.FuncGetBlockNumber.WithHandler(getBlockNumber), evm.FuncGetBlockByNumber.WithHandler(getBlockByNumber), evm.FuncGetBlockByHash.WithHandler(getBlockByHash), evm.FuncGetTransactionByHash.WithHandler(getTransactionByHash), evm.FuncGetTransactionByBlockHashAndIndex.WithHandler(getTransactionByBlockHashAndIndex), evm.FuncGetTransactionByBlockNumberAndIndex.WithHandler(getTransactionByBlockNumberAndIndex), evm.FuncGetTransactionCountByBlockHash.WithHandler(getTransactionCountByBlockHash), evm.FuncGetTransactionCountByBlockNumber.WithHandler(getTransactionCountByBlockNumber), evm.FuncGetStorage.WithHandler(getStorage), evm.FuncGetLogs.WithHandler(getLogs), evm.FuncGetChainID.WithHandler(getChainID), evm.FuncOpenBlockContext.WithHandler(openBlockContext), evm.FuncCloseBlockContext.WithHandler(closeBlockContext), )
Functions ¶
func GetGasRatio ¶
func GetGasRatio(state kv.KVStoreReader) util.Ratio32
Types ¶
Click to show internal directories.
Click to hide internal directories.