aboutsummaryrefslogblamecommitdiff
path: root/plugin/evm/factory.go
blob: 4fe6047876ec271075579027cc3894ef3993f4d9 (plain) (tree)
1
2
3
4
5
6
7





                                                     
                                              







                                               
                     
                  
 

          

                                     
                             

         
// (c) 2019-2020, Ava Labs, Inc. All rights reserved.
// See the file LICENSE for licensing terms.

package evm

import (
	"github.com/ava-labs/avalanche-go/ids"
)

// ID this VM should be referenced by
var (
	ID = ids.NewID([32]byte{'e', 'v', 'm'})
)

// Factory ...
type Factory struct {
	Fee uint64
}

// New ...
func (f *Factory) New() interface{} {
	return &VM{
		txFee: f.Fee,
	}
}