@@ -15,21 +15,21 @@ public class NetworkConfig {
1515 private BigInteger totalLovelace ;
1616 private BigInteger poolDepositInLovelace ;
1717 private long expectedSlotsPerEpoch ;
18- private BigInteger mainnetShelleyInitialReserves ;
19- private BigInteger mainnetShelleyInitialTreasury ;
20- private BigInteger mainnetShelleyInitialUtxo ;
18+ private BigInteger shelleyInitialReserves ;
19+ private BigInteger shelleyInitialTreasury ;
20+ private BigInteger shelleyInitialUtxo ;
2121 private int genesisConfigSecurityParameter ;
22- private int mainnetShelleyStartEpoch ;
23- private int mainnetAllegraHardforkEpoch ;
24- private int mainnetVasilHardforkEpoch ;
25- private BigInteger mainnetBootstrapAddressAmount ;
22+ private int shelleyStartEpoch ;
23+ private int allegraHardforkEpoch ;
24+ private int vasilHardforkEpoch ;
25+ private BigInteger bootstrapAddressAmount ;
2626 private double activeSlotCoefficient ;
2727 private long randomnessStabilisationWindow ;
28- private BigDecimal mainnetShelleyStartDecentralisation ;
29- private BigDecimal mainnetShelleyStartTreasuryGrowRate ;
30- private BigDecimal mainnetShelleyStartMonetaryExpandRate ;
31- private int mainnetShelleyStartOptimalPoolCount ;
32- private BigDecimal mainnetShelleyStartPoolOwnerInfluence ;
28+ private BigDecimal shelleyStartDecentralisation ;
29+ private BigDecimal shelleyStartTreasuryGrowRate ;
30+ private BigDecimal shelleyStartMonetaryExpandRate ;
31+ private int shelleyStartOptimalPoolCount ;
32+ private BigDecimal shelleyStartPoolOwnerInfluence ;
3333
3434 public static final int MAINNET_NETWORK_MAGIC = 764824073 ;
3535 public static final int PREPROD_NETWORK_MAGIC = 1 ;
@@ -42,21 +42,21 @@ public static NetworkConfig getMainnetConfig() {
4242 .totalLovelace (new BigInteger ("45000000000000000" ))
4343 .poolDepositInLovelace (BigInteger .valueOf (500000000 ))
4444 .expectedSlotsPerEpoch (432000 )
45- .mainnetShelleyInitialReserves (new BigInteger ("13888022852926644" ))
46- .mainnetShelleyInitialTreasury (new BigInteger ("0" ))
47- .mainnetShelleyInitialUtxo (new BigInteger ("31111977147073356" ))
45+ .shelleyInitialReserves (new BigInteger ("13888022852926644" ))
46+ .shelleyInitialTreasury (new BigInteger ("0" ))
47+ .shelleyInitialUtxo (new BigInteger ("31111977147073356" ))
4848 .genesisConfigSecurityParameter (2160 )
49- .mainnetShelleyStartEpoch (208 )
50- .mainnetAllegraHardforkEpoch (236 )
51- .mainnetVasilHardforkEpoch (365 )
52- .mainnetBootstrapAddressAmount (new BigInteger ("318200635000000" ))
49+ .shelleyStartEpoch (208 )
50+ .allegraHardforkEpoch (236 )
51+ .vasilHardforkEpoch (365 )
52+ .bootstrapAddressAmount (new BigInteger ("318200635000000" ))
5353 .activeSlotCoefficient (0.05 )
5454 .randomnessStabilisationWindow (172800 )
55- .mainnetShelleyStartDecentralisation (BigDecimal .valueOf (1.0 ))
56- .mainnetShelleyStartTreasuryGrowRate (BigDecimal .valueOf (0.2 ))
57- .mainnetShelleyStartMonetaryExpandRate (BigDecimal .valueOf (0.003 ))
58- .mainnetShelleyStartOptimalPoolCount (150 )
59- .mainnetShelleyStartPoolOwnerInfluence (BigDecimal .valueOf (0.03 ))
55+ .shelleyStartDecentralisation (BigDecimal .valueOf (1.0 ))
56+ .shelleyStartTreasuryGrowRate (BigDecimal .valueOf (0.2 ))
57+ .shelleyStartMonetaryExpandRate (BigDecimal .valueOf (0.003 ))
58+ .shelleyStartOptimalPoolCount (150 )
59+ .shelleyStartPoolOwnerInfluence (BigDecimal .valueOf (0.03 ))
6060 .build ();
6161 }
6262
@@ -66,21 +66,21 @@ public static NetworkConfig getPreprodConfig() {
6666 .totalLovelace (new BigInteger ("45000000000000000" ))
6767 .poolDepositInLovelace (BigInteger .valueOf (500000000 ))
6868 .expectedSlotsPerEpoch (432000 )
69- .mainnetShelleyInitialReserves (new BigInteger ("14991000000000000" ))
70- .mainnetShelleyInitialTreasury (new BigInteger ("9000000000000" ))
71- .mainnetShelleyInitialUtxo (new BigInteger ("30009000000000000" ))
69+ .shelleyInitialReserves (new BigInteger ("14991000000000000" ))
70+ .shelleyInitialTreasury (new BigInteger ("9000000000000" ))
71+ .shelleyInitialUtxo (new BigInteger ("30009000000000000" ))
7272 .genesisConfigSecurityParameter (2160 )
73- .mainnetShelleyStartEpoch (4 )
74- .mainnetAllegraHardforkEpoch (5 )
75- .mainnetVasilHardforkEpoch (12 )
76- .mainnetBootstrapAddressAmount (new BigInteger ("0" ))
73+ .shelleyStartEpoch (4 )
74+ .allegraHardforkEpoch (5 )
75+ .vasilHardforkEpoch (12 )
76+ .bootstrapAddressAmount (new BigInteger ("0" ))
7777 .activeSlotCoefficient (0.05 )
7878 .randomnessStabilisationWindow (172800 ) // (4 * GENESIS_CONFIG_SECURITY_PARAMETER) / ACTIVE_SLOT_COEFFICIENT
79- .mainnetShelleyStartDecentralisation (BigDecimal .valueOf (1.0 ))
80- .mainnetShelleyStartTreasuryGrowRate (BigDecimal .valueOf (0.2 ))
81- .mainnetShelleyStartMonetaryExpandRate (BigDecimal .valueOf (0.003 ))
82- .mainnetShelleyStartOptimalPoolCount (150 )
83- .mainnetShelleyStartPoolOwnerInfluence (BigDecimal .valueOf (0.03 ))
79+ .shelleyStartDecentralisation (BigDecimal .valueOf (1.0 ))
80+ .shelleyStartTreasuryGrowRate (BigDecimal .valueOf (0.2 ))
81+ .shelleyStartMonetaryExpandRate (BigDecimal .valueOf (0.003 ))
82+ .shelleyStartOptimalPoolCount (150 )
83+ .shelleyStartPoolOwnerInfluence (BigDecimal .valueOf (0.03 ))
8484 .build ();
8585 }
8686
@@ -90,21 +90,21 @@ public static NetworkConfig getPreviewConfig() {
9090 .totalLovelace (new BigInteger ("45000000000000000" ))
9191 .poolDepositInLovelace (BigInteger .valueOf (500000000 ))
9292 .expectedSlotsPerEpoch (86400 )
93- .mainnetShelleyInitialReserves (new BigInteger ("14991000000000000" ))
94- .mainnetShelleyInitialTreasury (new BigInteger ("9000000000000" ))
95- .mainnetShelleyInitialUtxo (new BigInteger ("30009000000000000" ))
93+ .shelleyInitialReserves (new BigInteger ("14991000000000000" ))
94+ .shelleyInitialTreasury (new BigInteger ("9000000000000" ))
95+ .shelleyInitialUtxo (new BigInteger ("30009000000000000" ))
9696 .genesisConfigSecurityParameter (432 )
97- .mainnetShelleyStartEpoch (1 )
98- .mainnetAllegraHardforkEpoch (1 )
99- .mainnetVasilHardforkEpoch (3 )
100- .mainnetBootstrapAddressAmount (new BigInteger ("0" ))
97+ .shelleyStartEpoch (1 )
98+ .allegraHardforkEpoch (1 )
99+ .vasilHardforkEpoch (3 )
100+ .bootstrapAddressAmount (new BigInteger ("0" ))
101101 .activeSlotCoefficient (0.05 )
102102 .randomnessStabilisationWindow (34560 ) // (4 * GENESIS_CONFIG_SECURITY_PARAMETER) / ACTIVE_SLOT_COEFFICIENT
103- .mainnetShelleyStartDecentralisation (BigDecimal .valueOf (1.0 ))
104- .mainnetShelleyStartTreasuryGrowRate (BigDecimal .valueOf (0.2 ))
105- .mainnetShelleyStartMonetaryExpandRate (BigDecimal .valueOf (0.003 ))
106- .mainnetShelleyStartOptimalPoolCount (150 )
107- .mainnetShelleyStartPoolOwnerInfluence (BigDecimal .valueOf (0.03 ))
103+ .shelleyStartDecentralisation (BigDecimal .valueOf (1.0 ))
104+ .shelleyStartTreasuryGrowRate (BigDecimal .valueOf (0.2 ))
105+ .shelleyStartMonetaryExpandRate (BigDecimal .valueOf (0.003 ))
106+ .shelleyStartOptimalPoolCount (150 )
107+ .shelleyStartPoolOwnerInfluence (BigDecimal .valueOf (0.03 ))
108108 .build ();
109109 }
110110
@@ -114,21 +114,21 @@ public static NetworkConfig getSanchonetConfig() {
114114 .totalLovelace (new BigInteger ("45000000000000000" ))
115115 .poolDepositInLovelace (BigInteger .valueOf (500000000 ))
116116 .expectedSlotsPerEpoch (86400 )
117- .mainnetShelleyInitialReserves (new BigInteger ("14991000000000000" ))
118- .mainnetShelleyInitialTreasury (new BigInteger ("9000000000000" ))
119- .mainnetShelleyInitialUtxo (new BigInteger ("30009000000000000" ))
117+ .shelleyInitialReserves (new BigInteger ("14991000000000000" ))
118+ .shelleyInitialTreasury (new BigInteger ("9000000000000" ))
119+ .shelleyInitialUtxo (new BigInteger ("30009000000000000" ))
120120 .genesisConfigSecurityParameter (432 )
121- .mainnetShelleyStartEpoch (1 )
122- .mainnetAllegraHardforkEpoch (1 )
123- .mainnetVasilHardforkEpoch (3 )
124- .mainnetBootstrapAddressAmount (new BigInteger ("0" ))
121+ .shelleyStartEpoch (1 )
122+ .allegraHardforkEpoch (1 )
123+ .vasilHardforkEpoch (3 )
124+ .bootstrapAddressAmount (new BigInteger ("0" ))
125125 .activeSlotCoefficient (0.05 )
126126 .randomnessStabilisationWindow (34560 ) // (4 * GENESIS_CONFIG_SECURITY_PARAMETER) / ACTIVE_SLOT_COEFFICIENT
127- .mainnetShelleyStartDecentralisation (BigDecimal .valueOf (1.0 ))
128- .mainnetShelleyStartTreasuryGrowRate (BigDecimal .valueOf (0.2 ))
129- .mainnetShelleyStartMonetaryExpandRate (BigDecimal .valueOf (0.003 ))
130- .mainnetShelleyStartOptimalPoolCount (150 )
131- .mainnetShelleyStartPoolOwnerInfluence (BigDecimal .valueOf (0.03 ))
127+ .shelleyStartDecentralisation (BigDecimal .valueOf (1.0 ))
128+ .shelleyStartTreasuryGrowRate (BigDecimal .valueOf (0.2 ))
129+ .shelleyStartMonetaryExpandRate (BigDecimal .valueOf (0.003 ))
130+ .shelleyStartOptimalPoolCount (150 )
131+ .shelleyStartPoolOwnerInfluence (BigDecimal .valueOf (0.03 ))
132132 .build ();
133133 }
134134
0 commit comments