go-ethereum/vm/virtual_machine.go

12 lines
265 B
Go
Raw Normal View History

2014-10-18 06:31:20 -05:00
package vm
import "math/big"
type VirtualMachine interface {
Env() Environment
Run(me, caller ClosureRef, code []byte, value, gas, price *big.Int, data []byte) ([]byte, error)
Depth() int
2014-10-14 06:37:26 -05:00
Printf(string, ...interface{}) VirtualMachine
Endl() VirtualMachine
}