aboutsummaryrefslogtreecommitdiffstats
path: root/vm/virtual_machine.go
blob: 23ac4878f69c1b9b4a1954e7d31354456b8599ec (plain) (blame)
1
2
3
4
5
6
7
8
9
10
package vm

import "math/big"

type VirtualMachine interface {
    Env() Environment
    Run(me, caller ContextRef, code []byte, value, gas, price *big.Int, data []byte) ([]byte, error)
    Printf(string, ...interface{}) VirtualMachine
    Endl() VirtualMachine
}