github.com/ava-labs/avalanchego@v1.11.11/vms/secp256k1fx/factory.go (about)

     1  // Copyright (C) 2019-2024, Ava Labs, Inc. All rights reserved.
     2  // See the file LICENSE for licensing terms.
     3  
     4  package secp256k1fx
     5  
     6  import (
     7  	"github.com/ava-labs/avalanchego/ids"
     8  	"github.com/ava-labs/avalanchego/vms/fx"
     9  )
    10  
    11  const Name = "secp256k1fx"
    12  
    13  var (
    14  	_ fx.Factory = (*Factory)(nil)
    15  
    16  	// ID that this Fx uses when labeled
    17  	ID = ids.ID{'s', 'e', 'c', 'p', '2', '5', '6', 'k', '1', 'f', 'x'}
    18  )
    19  
    20  type Factory struct{}
    21  
    22  func (*Factory) New() any {
    23  	return &Fx{}
    24  }