diff options
author | Determinant <[email protected]> | 2020-08-13 21:11:56 -0400 |
---|---|---|
committer | Determinant <[email protected]> | 2020-08-13 21:11:56 -0400 |
commit | 88cc3698b3663972cd9b60faf5c14a7e1bbee965 (patch) | |
tree | aafa80495750987f144607bd4b71154a365e7a3b /plugin/evm/factory.go | |
parent | 1bb314f767785fe617c3c5efeca1a64127339506 (diff) |
WIP: X-to-C transfer
Diffstat (limited to 'plugin/evm/factory.go')
-rw-r--r-- | plugin/evm/factory.go | 12 |
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, + } +} |