Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EVMConfig ¶
type EVMConfig struct { ChainConfig *params.ChainConfig Difficulty *big.Int Origin common.Address Coinbase common.Address BlockNumber *big.Int Time *big.Int GasLimit uint64 GasPrice *big.Int Value *big.Int Debug bool EVMConfig vm.Config BaseFee *big.Int State *state.StateDB GetHashFn func(n uint64) common.Hash }
type LEVM ¶
Lonely EVM,封装了调用evm的方法。
func (*LEVM) Call ¶
func (levm *LEVM) Call(from string, contractAddress string, data string, gas uint64, value *big.Int) ([]byte, uint64, error)
调用合约
Click to show internal directories.
Click to hide internal directories.