aboutsummaryrefslogtreecommitdiff
path: root/plugin/evm/factory.go
diff options
context:
space:
mode:
Diffstat (limited to 'plugin/evm/factory.go')
-rw-r--r--plugin/evm/factory.go12
1 files changed, 10 insertions, 2 deletions
diff --git a/plugin/evm/factory.go b/plugin/evm/factory.go
index a4c0eca..31a617a 100644
--- a/plugin/evm/factory.go
+++ b/plugin/evm/factory.go
@@ -13,7 +13,15 @@ var (
)
// Factory ...
-type Factory struct{}
+type Factory struct {
+ AVA ids.ID
+ Fee uint64
+}
// New ...
-func (f *Factory) New() interface{} { return &VM{} }
+func (f *Factory) New() interface{} {
+ return &VM{
+ avaxAssetID: f.AVA,
+ txFee: f.Fee,
+ }
+}