diff options
Diffstat (limited to 'core/vm/sqlvm/common')
-rw-r--r-- | core/vm/sqlvm/common/context.go | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/core/vm/sqlvm/common/context.go b/core/vm/sqlvm/common/context.go new file mode 100644 index 000000000..7c4305e3e --- /dev/null +++ b/core/vm/sqlvm/common/context.go @@ -0,0 +1,11 @@ +package common + +import "github.com/dexon-foundation/dexon/core/vm" + +// Context holds SQL VM required params. +type Context struct { + vm.Context + + StateDB vm.StateDB + Contract *vm.Contract +} |