github.com/MetalBlockchain/metalgo@v1.11.9/vms/avm/config/config.go (about) 1 // Copyright (C) 2019-2024, Ava Labs, Inc. All rights reserved. 2 // See the file LICENSE for licensing terms. 3 4 package config 5 6 import "time" 7 8 // Struct collecting all the foundational parameters of the AVM 9 type Config struct { 10 // Fee that is burned by every non-asset creating transaction 11 TxFee uint64 12 13 // Fee that must be burned by every asset creating transaction 14 CreateAssetTxFee uint64 15 16 // Time of the E network upgrade 17 EUpgradeTime time.Time 18 } 19 20 func (c *Config) IsEActivated(timestamp time.Time) bool { 21 return !timestamp.Before(c.EUpgradeTime) 22 }