aboutsummaryrefslogtreecommitdiff
path: root/plugin/evm/factory.go
diff options
context:
space:
mode:
authorDeterminant <tederminant@gmail.com>2020-08-13 21:11:56 -0400
committerDeterminant <tederminant@gmail.com>2020-08-13 21:11:56 -0400
commit88cc3698b3663972cd9b60faf5c14a7e1bbee965 (patch)
treeaafa80495750987f144607bd4b71154a365e7a3b /plugin/evm/factory.go
parent1bb314f767785fe617c3c5efeca1a64127339506 (diff)
WIP: X-to-C transfer
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,
+ }
+}