aboutsummaryrefslogtreecommitdiffstats
path: root/vm/virtual_machine.go
blob: 5738075fb442bcc6a72a2ced4e59908937c0f58b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
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
    Printf(string, ...interface{}) VirtualMachine
    Endl() VirtualMachine
}