Documentation ¶
Overview ¶
package evmlight provides the `evmlight` contract, which allows to run EVM code
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Contract = coreutil.NewContract("evmlight", "evmlight smart contract")
View Source
var Processor = Contract.Processor(initialize, append( evminternal.ManagementHandlers, evm.FuncMintBlock.WithHandler(mintBlock), 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), )...)
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.