aboutsummaryrefslogblamecommitdiffstats
path: root/vm/virtual_machine.go
blob: 3b6f98ab2e36159db7473e52fdc2a474baf76d55 (plain) (tree)
1
2
3
4
5
6
7
8
9
          
 

                 

                               
                                                                                                        

                                                     
 
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)
    Printf(string, ...interface{}) VirtualMachine
    Endl() VirtualMachine
}