github.com/MetalBlockchain/metalgo@v1.11.9/vms/propertyfx/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 propertyfx 5 6 import ( 7 "github.com/MetalBlockchain/metalgo/ids" 8 "github.com/MetalBlockchain/metalgo/vms/fx" 9 ) 10 11 const Name = "propertyfx" 12 13 var ( 14 _ fx.Factory = (*Factory)(nil) 15 16 // ID that this Fx uses when labeled 17 ID = ids.ID{'p', 'r', 'o', 'p', 'e', 'r', 't', 'y', 'f', 'x'} 18 ) 19 20 type Factory struct{} 21 22 func (*Factory) New() any { 23 return &Fx{} 24 }