aboutsummaryrefslogtreecommitdiff
path: root/plugin/evm/factory.go
diff options
context:
space:
mode:
authorStephenButtolph <[email protected]>2020-04-15 00:10:02 -0400
committerStephenButtolph <[email protected]>2020-04-15 00:10:02 -0400
commitc344c77d2924cde119efaeb57b4d3e33049e7896 (patch)
treeba641c086b70617dac0dcaad8c0b28965585f4b4 /plugin/evm/factory.go
parent895d39227cee283699f2602861386e96f554ea95 (diff)
Added the EVM as a plugin
Diffstat (limited to 'plugin/evm/factory.go')
-rw-r--r--plugin/evm/factory.go19
1 files changed, 19 insertions, 0 deletions
diff --git a/plugin/evm/factory.go b/plugin/evm/factory.go
new file mode 100644
index 0000000..a4c0eca
--- /dev/null
+++ b/plugin/evm/factory.go
@@ -0,0 +1,19 @@
+// (c) 2019-2020, Ava Labs, Inc. All rights reserved.
+// See the file LICENSE for licensing terms.
+
+package evm
+
+import (
+ "github.com/ava-labs/gecko/ids"
+)
+
+// ID this VM should be referenced by
+var (
+ ID = ids.NewID([32]byte{'e', 'v', 'm'})
+)
+
+// Factory ...
+type Factory struct{}
+
+// New ...
+func (f *Factory) New() interface{} { return &VM{} }