diff options
author | Stephen Buttolph <[email protected]> | 2020-04-16 11:38:38 -0400 |
---|---|---|
committer | GitHub <[email protected]> | 2020-04-16 11:38:38 -0400 |
commit | 6a76dcccc5c5d9686b35595d3f9ab3a6cefd0446 (patch) | |
tree | 24ef681a6c846ba58ce2b8db2fa436c10404172b /plugin/evm/factory.go | |
parent | 756aac82152ba5265f62d234d94a1926cf572b38 (diff) | |
parent | 7981c59502a99b6f7938a18b6ae5c3803cf0a794 (diff) |
Merge pull request #5 from ava-labs/revert-4-revert-2-plugin
Added the EVM as a plugin
Diffstat (limited to 'plugin/evm/factory.go')
-rw-r--r-- | plugin/evm/factory.go | 19 |
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{} } |