go-ethereum/vm/virtual_machine.go

11 lines
252 B
Go
Raw Normal View History

2014-10-18 14:31:20 +03: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)
2014-10-14 14:37:26 +03:00
Printf(string, ...interface{}) VirtualMachine
Endl() VirtualMachine
}