mirror of
https://gitlab.com/pulsechaincom/go-pulse.git
synced 2024-12-26 13:18:22 +00:00
f76cc6699e
* Cleaned up VM execution. VM run now takes a context * ADDMOD/MULMOD - removed incorrect cast
9 lines
187 B
Go
9 lines
187 B
Go
package vm
|
|
|
|
type VirtualMachine interface {
|
|
Env() Environment
|
|
Run(context *Context, data []byte) ([]byte, error)
|
|
Printf(string, ...interface{}) VirtualMachine
|
|
Endl() VirtualMachine
|
|
}
|