@cardano-sdk/core 0.18.0 → 0.19.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/Cardano/types/ProtocolParameters.d.ts +12 -6
- package/dist/cjs/Cardano/types/ProtocolParameters.d.ts.map +1 -1
- package/dist/cjs/Cardano/util/computeImplicitCoin.d.ts +1 -0
- package/dist/cjs/Cardano/util/computeImplicitCoin.d.ts.map +1 -1
- package/dist/cjs/Cardano/util/computeImplicitCoin.js +2 -1
- package/dist/cjs/Cardano/util/computeImplicitCoin.js.map +1 -1
- package/dist/cjs/Serialization/CBOR/CborReader.js +1 -1
- package/dist/cjs/Serialization/CBOR/CborReader.js.map +1 -1
- package/dist/cjs/Serialization/Common/ExUnits.d.ts +16 -0
- package/dist/cjs/Serialization/Common/ExUnits.d.ts.map +1 -0
- package/dist/cjs/Serialization/Common/ExUnits.js +79 -0
- package/dist/cjs/Serialization/Common/ExUnits.js.map +1 -0
- package/dist/cjs/Serialization/Common/ProtocolVersion.d.ts +15 -0
- package/dist/cjs/Serialization/Common/ProtocolVersion.d.ts.map +1 -0
- package/dist/cjs/Serialization/Common/ProtocolVersion.js +74 -0
- package/dist/cjs/Serialization/Common/ProtocolVersion.js.map +1 -0
- package/dist/cjs/Serialization/Common/UnitInterval.d.ts +2 -0
- package/dist/cjs/Serialization/Common/UnitInterval.d.ts.map +1 -1
- package/dist/cjs/Serialization/Common/UnitInterval.js +13 -0
- package/dist/cjs/Serialization/Common/UnitInterval.js.map +1 -1
- package/dist/cjs/Serialization/Common/index.d.ts +2 -0
- package/dist/cjs/Serialization/Common/index.d.ts.map +1 -1
- package/dist/cjs/Serialization/Common/index.js +2 -0
- package/dist/cjs/Serialization/Common/index.js.map +1 -1
- package/dist/cjs/Serialization/Update/Costmdls/CostModel.d.ts +12 -0
- package/dist/cjs/Serialization/Update/Costmdls/CostModel.d.ts.map +1 -0
- package/dist/cjs/Serialization/Update/Costmdls/CostModel.js +101 -0
- package/dist/cjs/Serialization/Update/Costmdls/CostModel.js.map +1 -0
- package/dist/cjs/Serialization/Update/Costmdls/Costmdls.d.ts +17 -0
- package/dist/cjs/Serialization/Update/Costmdls/Costmdls.d.ts.map +1 -0
- package/dist/cjs/Serialization/Update/Costmdls/Costmdls.js +148 -0
- package/dist/cjs/Serialization/Update/Costmdls/Costmdls.js.map +1 -0
- package/dist/cjs/Serialization/Update/Costmdls/index.d.ts +3 -0
- package/dist/cjs/Serialization/Update/Costmdls/index.d.ts.map +1 -0
- package/dist/cjs/Serialization/Update/Costmdls/index.js +19 -0
- package/dist/cjs/Serialization/Update/Costmdls/index.js.map +1 -0
- package/dist/cjs/Serialization/Update/ExUnitPrices.d.ts +16 -0
- package/dist/cjs/Serialization/Update/ExUnitPrices.d.ts.map +1 -0
- package/dist/cjs/Serialization/Update/ExUnitPrices.js +81 -0
- package/dist/cjs/Serialization/Update/ExUnitPrices.js.map +1 -0
- package/dist/cjs/Serialization/Update/ProposedProtocolParameterUpdates.d.ts +16 -0
- package/dist/cjs/Serialization/Update/ProposedProtocolParameterUpdates.d.ts.map +1 -0
- package/dist/cjs/Serialization/Update/ProposedProtocolParameterUpdates.js +96 -0
- package/dist/cjs/Serialization/Update/ProposedProtocolParameterUpdates.js.map +1 -0
- package/dist/cjs/Serialization/Update/ProtocolParamUpdate.d.ts +61 -0
- package/dist/cjs/Serialization/Update/ProtocolParamUpdate.d.ts.map +1 -0
- package/dist/cjs/Serialization/Update/ProtocolParamUpdate.js +526 -0
- package/dist/cjs/Serialization/Update/ProtocolParamUpdate.js.map +1 -0
- package/dist/cjs/Serialization/Update/Update.d.ts +16 -0
- package/dist/cjs/Serialization/Update/Update.d.ts.map +1 -0
- package/dist/cjs/Serialization/Update/Update.js +101 -0
- package/dist/cjs/Serialization/Update/Update.js.map +1 -0
- package/dist/cjs/Serialization/Update/index.d.ts +6 -0
- package/dist/cjs/Serialization/Update/index.d.ts.map +1 -0
- package/dist/cjs/Serialization/Update/index.js +22 -0
- package/dist/cjs/Serialization/Update/index.js.map +1 -0
- package/dist/cjs/Serialization/index.d.ts +1 -0
- package/dist/cjs/Serialization/index.d.ts.map +1 -1
- package/dist/cjs/Serialization/index.js +1 -0
- package/dist/cjs/Serialization/index.js.map +1 -1
- package/dist/cjs/tsconfig.tsbuildinfo +1 -1
- package/dist/esm/Cardano/types/ProtocolParameters.d.ts +12 -6
- package/dist/esm/Cardano/types/ProtocolParameters.d.ts.map +1 -1
- package/dist/esm/Cardano/util/computeImplicitCoin.d.ts +1 -0
- package/dist/esm/Cardano/util/computeImplicitCoin.d.ts.map +1 -1
- package/dist/esm/Cardano/util/computeImplicitCoin.js +2 -1
- package/dist/esm/Cardano/util/computeImplicitCoin.js.map +1 -1
- package/dist/esm/Serialization/CBOR/CborReader.js +1 -1
- package/dist/esm/Serialization/CBOR/CborReader.js.map +1 -1
- package/dist/esm/Serialization/Common/ExUnits.d.ts +16 -0
- package/dist/esm/Serialization/Common/ExUnits.d.ts.map +1 -0
- package/dist/esm/Serialization/Common/ExUnits.js +75 -0
- package/dist/esm/Serialization/Common/ExUnits.js.map +1 -0
- package/dist/esm/Serialization/Common/ProtocolVersion.d.ts +15 -0
- package/dist/esm/Serialization/Common/ProtocolVersion.d.ts.map +1 -0
- package/dist/esm/Serialization/Common/ProtocolVersion.js +70 -0
- package/dist/esm/Serialization/Common/ProtocolVersion.js.map +1 -0
- package/dist/esm/Serialization/Common/UnitInterval.d.ts +2 -0
- package/dist/esm/Serialization/Common/UnitInterval.d.ts.map +1 -1
- package/dist/esm/Serialization/Common/UnitInterval.js +10 -0
- package/dist/esm/Serialization/Common/UnitInterval.js.map +1 -1
- package/dist/esm/Serialization/Common/index.d.ts +2 -0
- package/dist/esm/Serialization/Common/index.d.ts.map +1 -1
- package/dist/esm/Serialization/Common/index.js +2 -0
- package/dist/esm/Serialization/Common/index.js.map +1 -1
- package/dist/esm/Serialization/Update/Costmdls/CostModel.d.ts +12 -0
- package/dist/esm/Serialization/Update/Costmdls/CostModel.d.ts.map +1 -0
- package/dist/esm/Serialization/Update/Costmdls/CostModel.js +74 -0
- package/dist/esm/Serialization/Update/Costmdls/CostModel.js.map +1 -0
- package/dist/esm/Serialization/Update/Costmdls/Costmdls.d.ts +17 -0
- package/dist/esm/Serialization/Update/Costmdls/Costmdls.d.ts.map +1 -0
- package/dist/esm/Serialization/Update/Costmdls/Costmdls.js +121 -0
- package/dist/esm/Serialization/Update/Costmdls/Costmdls.js.map +1 -0
- package/dist/esm/Serialization/Update/Costmdls/index.d.ts +3 -0
- package/dist/esm/Serialization/Update/Costmdls/index.d.ts.map +1 -0
- package/dist/esm/Serialization/Update/Costmdls/index.js +3 -0
- package/dist/esm/Serialization/Update/Costmdls/index.js.map +1 -0
- package/dist/esm/Serialization/Update/ExUnitPrices.d.ts +16 -0
- package/dist/esm/Serialization/Update/ExUnitPrices.d.ts.map +1 -0
- package/dist/esm/Serialization/Update/ExUnitPrices.js +74 -0
- package/dist/esm/Serialization/Update/ExUnitPrices.js.map +1 -0
- package/dist/esm/Serialization/Update/ProposedProtocolParameterUpdates.d.ts +16 -0
- package/dist/esm/Serialization/Update/ProposedProtocolParameterUpdates.d.ts.map +1 -0
- package/dist/esm/Serialization/Update/ProposedProtocolParameterUpdates.js +69 -0
- package/dist/esm/Serialization/Update/ProposedProtocolParameterUpdates.js.map +1 -0
- package/dist/esm/Serialization/Update/ProtocolParamUpdate.d.ts +61 -0
- package/dist/esm/Serialization/Update/ProtocolParamUpdate.d.ts.map +1 -0
- package/dist/esm/Serialization/Update/ProtocolParamUpdate.js +522 -0
- package/dist/esm/Serialization/Update/ProtocolParamUpdate.js.map +1 -0
- package/dist/esm/Serialization/Update/Update.d.ts +16 -0
- package/dist/esm/Serialization/Update/Update.d.ts.map +1 -0
- package/dist/esm/Serialization/Update/Update.js +74 -0
- package/dist/esm/Serialization/Update/Update.js.map +1 -0
- package/dist/esm/Serialization/Update/index.d.ts +6 -0
- package/dist/esm/Serialization/Update/index.d.ts.map +1 -0
- package/dist/esm/Serialization/Update/index.js +6 -0
- package/dist/esm/Serialization/Update/index.js.map +1 -0
- package/dist/esm/Serialization/index.d.ts +1 -0
- package/dist/esm/Serialization/index.d.ts.map +1 -1
- package/dist/esm/Serialization/index.js +1 -0
- package/dist/esm/Serialization/index.js.map +1 -1
- package/dist/esm/tsconfig.tsbuildinfo +1 -1
- package/package.json +4 -3
|
@@ -0,0 +1,526 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (receiver, state, kind, f) {
|
|
3
|
+
if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a getter");
|
|
4
|
+
if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot read private member from an object whose class did not declare it");
|
|
5
|
+
return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
|
|
6
|
+
};
|
|
7
|
+
var __classPrivateFieldSet = (this && this.__classPrivateFieldSet) || function (receiver, state, value, kind, f) {
|
|
8
|
+
if (kind === "m") throw new TypeError("Private method is not writable");
|
|
9
|
+
if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a setter");
|
|
10
|
+
if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot write private member to an object whose class did not declare it");
|
|
11
|
+
return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;
|
|
12
|
+
};
|
|
13
|
+
var _ProtocolParamUpdate_instances, _ProtocolParamUpdate_minFeeA, _ProtocolParamUpdate_minFeeB, _ProtocolParamUpdate_maxBlockBodySize, _ProtocolParamUpdate_maxTxSize, _ProtocolParamUpdate_maxBlockHeaderSize, _ProtocolParamUpdate_keyDeposit, _ProtocolParamUpdate_poolDeposit, _ProtocolParamUpdate_maxEpoch, _ProtocolParamUpdate_nOpt, _ProtocolParamUpdate_poolPledgeInfluence, _ProtocolParamUpdate_expansionRate, _ProtocolParamUpdate_treasuryGrowthRate, _ProtocolParamUpdate_d, _ProtocolParamUpdate_extraEntropy, _ProtocolParamUpdate_protocolVersion, _ProtocolParamUpdate_minPoolCost, _ProtocolParamUpdate_adaPerUtxoByte, _ProtocolParamUpdate_costModels, _ProtocolParamUpdate_executionCosts, _ProtocolParamUpdate_maxTxExUnits, _ProtocolParamUpdate_maxBlockExUnits, _ProtocolParamUpdate_maxValueSize, _ProtocolParamUpdate_collateralPercentage, _ProtocolParamUpdate_maxCollateralInputs, _ProtocolParamUpdate_originalBytes, _ProtocolParamUpdate_getMapSize;
|
|
14
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
|
+
exports.ProtocolParamUpdate = void 0;
|
|
16
|
+
const CBOR_1 = require("../CBOR");
|
|
17
|
+
const Costmdls_1 = require("./Costmdls");
|
|
18
|
+
const ExUnitPrices_1 = require("./ExUnitPrices");
|
|
19
|
+
const Common_1 = require("../Common");
|
|
20
|
+
const util_1 = require("@cardano-sdk/util");
|
|
21
|
+
class ProtocolParamUpdate {
|
|
22
|
+
constructor() {
|
|
23
|
+
_ProtocolParamUpdate_instances.add(this);
|
|
24
|
+
_ProtocolParamUpdate_minFeeA.set(this, void 0);
|
|
25
|
+
_ProtocolParamUpdate_minFeeB.set(this, void 0);
|
|
26
|
+
_ProtocolParamUpdate_maxBlockBodySize.set(this, void 0);
|
|
27
|
+
_ProtocolParamUpdate_maxTxSize.set(this, void 0);
|
|
28
|
+
_ProtocolParamUpdate_maxBlockHeaderSize.set(this, void 0);
|
|
29
|
+
_ProtocolParamUpdate_keyDeposit.set(this, void 0);
|
|
30
|
+
_ProtocolParamUpdate_poolDeposit.set(this, void 0);
|
|
31
|
+
_ProtocolParamUpdate_maxEpoch.set(this, void 0);
|
|
32
|
+
_ProtocolParamUpdate_nOpt.set(this, void 0);
|
|
33
|
+
_ProtocolParamUpdate_poolPledgeInfluence.set(this, void 0);
|
|
34
|
+
_ProtocolParamUpdate_expansionRate.set(this, void 0);
|
|
35
|
+
_ProtocolParamUpdate_treasuryGrowthRate.set(this, void 0);
|
|
36
|
+
_ProtocolParamUpdate_d.set(this, void 0);
|
|
37
|
+
_ProtocolParamUpdate_extraEntropy.set(this, void 0);
|
|
38
|
+
_ProtocolParamUpdate_protocolVersion.set(this, void 0);
|
|
39
|
+
_ProtocolParamUpdate_minPoolCost.set(this, void 0);
|
|
40
|
+
_ProtocolParamUpdate_adaPerUtxoByte.set(this, void 0);
|
|
41
|
+
_ProtocolParamUpdate_costModels.set(this, void 0);
|
|
42
|
+
_ProtocolParamUpdate_executionCosts.set(this, void 0);
|
|
43
|
+
_ProtocolParamUpdate_maxTxExUnits.set(this, void 0);
|
|
44
|
+
_ProtocolParamUpdate_maxBlockExUnits.set(this, void 0);
|
|
45
|
+
_ProtocolParamUpdate_maxValueSize.set(this, void 0);
|
|
46
|
+
_ProtocolParamUpdate_collateralPercentage.set(this, void 0);
|
|
47
|
+
_ProtocolParamUpdate_maxCollateralInputs.set(this, void 0);
|
|
48
|
+
_ProtocolParamUpdate_originalBytes.set(this, undefined);
|
|
49
|
+
}
|
|
50
|
+
toCbor() {
|
|
51
|
+
const writer = new CBOR_1.CborWriter();
|
|
52
|
+
if (__classPrivateFieldGet(this, _ProtocolParamUpdate_originalBytes, "f"))
|
|
53
|
+
return __classPrivateFieldGet(this, _ProtocolParamUpdate_originalBytes, "f");
|
|
54
|
+
writer.writeStartMap(__classPrivateFieldGet(this, _ProtocolParamUpdate_instances, "m", _ProtocolParamUpdate_getMapSize).call(this));
|
|
55
|
+
if (__classPrivateFieldGet(this, _ProtocolParamUpdate_minFeeA, "f")) {
|
|
56
|
+
writer.writeInt(0n);
|
|
57
|
+
writer.writeInt(__classPrivateFieldGet(this, _ProtocolParamUpdate_minFeeA, "f"));
|
|
58
|
+
}
|
|
59
|
+
if (__classPrivateFieldGet(this, _ProtocolParamUpdate_minFeeB, "f")) {
|
|
60
|
+
writer.writeInt(1n);
|
|
61
|
+
writer.writeInt(__classPrivateFieldGet(this, _ProtocolParamUpdate_minFeeB, "f"));
|
|
62
|
+
}
|
|
63
|
+
if (__classPrivateFieldGet(this, _ProtocolParamUpdate_maxBlockBodySize, "f")) {
|
|
64
|
+
writer.writeInt(2n);
|
|
65
|
+
writer.writeInt(__classPrivateFieldGet(this, _ProtocolParamUpdate_maxBlockBodySize, "f"));
|
|
66
|
+
}
|
|
67
|
+
if (__classPrivateFieldGet(this, _ProtocolParamUpdate_maxTxSize, "f")) {
|
|
68
|
+
writer.writeInt(3n);
|
|
69
|
+
writer.writeInt(__classPrivateFieldGet(this, _ProtocolParamUpdate_maxTxSize, "f"));
|
|
70
|
+
}
|
|
71
|
+
if (__classPrivateFieldGet(this, _ProtocolParamUpdate_maxBlockHeaderSize, "f")) {
|
|
72
|
+
writer.writeInt(4n);
|
|
73
|
+
writer.writeInt(__classPrivateFieldGet(this, _ProtocolParamUpdate_maxBlockHeaderSize, "f"));
|
|
74
|
+
}
|
|
75
|
+
if (__classPrivateFieldGet(this, _ProtocolParamUpdate_keyDeposit, "f")) {
|
|
76
|
+
writer.writeInt(5n);
|
|
77
|
+
writer.writeInt(__classPrivateFieldGet(this, _ProtocolParamUpdate_keyDeposit, "f"));
|
|
78
|
+
}
|
|
79
|
+
if (__classPrivateFieldGet(this, _ProtocolParamUpdate_poolDeposit, "f")) {
|
|
80
|
+
writer.writeInt(6n);
|
|
81
|
+
writer.writeInt(__classPrivateFieldGet(this, _ProtocolParamUpdate_poolDeposit, "f"));
|
|
82
|
+
}
|
|
83
|
+
if (__classPrivateFieldGet(this, _ProtocolParamUpdate_maxEpoch, "f")) {
|
|
84
|
+
writer.writeInt(7n);
|
|
85
|
+
writer.writeInt(__classPrivateFieldGet(this, _ProtocolParamUpdate_maxEpoch, "f"));
|
|
86
|
+
}
|
|
87
|
+
if (__classPrivateFieldGet(this, _ProtocolParamUpdate_nOpt, "f")) {
|
|
88
|
+
writer.writeInt(8n);
|
|
89
|
+
writer.writeInt(__classPrivateFieldGet(this, _ProtocolParamUpdate_nOpt, "f"));
|
|
90
|
+
}
|
|
91
|
+
if (__classPrivateFieldGet(this, _ProtocolParamUpdate_poolPledgeInfluence, "f")) {
|
|
92
|
+
writer.writeInt(9n);
|
|
93
|
+
writer.writeEncodedValue(Buffer.from(__classPrivateFieldGet(this, _ProtocolParamUpdate_poolPledgeInfluence, "f").toCbor(), 'hex'));
|
|
94
|
+
}
|
|
95
|
+
if (__classPrivateFieldGet(this, _ProtocolParamUpdate_expansionRate, "f")) {
|
|
96
|
+
writer.writeInt(10n);
|
|
97
|
+
writer.writeEncodedValue(Buffer.from(__classPrivateFieldGet(this, _ProtocolParamUpdate_expansionRate, "f").toCbor(), 'hex'));
|
|
98
|
+
}
|
|
99
|
+
if (__classPrivateFieldGet(this, _ProtocolParamUpdate_treasuryGrowthRate, "f")) {
|
|
100
|
+
writer.writeInt(11n);
|
|
101
|
+
writer.writeEncodedValue(Buffer.from(__classPrivateFieldGet(this, _ProtocolParamUpdate_treasuryGrowthRate, "f").toCbor(), 'hex'));
|
|
102
|
+
}
|
|
103
|
+
if (__classPrivateFieldGet(this, _ProtocolParamUpdate_d, "f")) {
|
|
104
|
+
writer.writeInt(12n);
|
|
105
|
+
writer.writeEncodedValue(Buffer.from(__classPrivateFieldGet(this, _ProtocolParamUpdate_d, "f").toCbor(), 'hex'));
|
|
106
|
+
}
|
|
107
|
+
if (__classPrivateFieldGet(this, _ProtocolParamUpdate_extraEntropy, "f")) {
|
|
108
|
+
writer.writeInt(13n);
|
|
109
|
+
writer.writeStartArray(2);
|
|
110
|
+
writer.writeInt(1);
|
|
111
|
+
writer.writeByteString(Buffer.from(__classPrivateFieldGet(this, _ProtocolParamUpdate_extraEntropy, "f"), 'hex'));
|
|
112
|
+
}
|
|
113
|
+
if (__classPrivateFieldGet(this, _ProtocolParamUpdate_protocolVersion, "f")) {
|
|
114
|
+
writer.writeInt(14n);
|
|
115
|
+
writer.writeEncodedValue(Buffer.from(__classPrivateFieldGet(this, _ProtocolParamUpdate_protocolVersion, "f").toCbor(), 'hex'));
|
|
116
|
+
}
|
|
117
|
+
if (__classPrivateFieldGet(this, _ProtocolParamUpdate_minPoolCost, "f")) {
|
|
118
|
+
writer.writeInt(16n);
|
|
119
|
+
writer.writeInt(__classPrivateFieldGet(this, _ProtocolParamUpdate_minPoolCost, "f"));
|
|
120
|
+
}
|
|
121
|
+
if (__classPrivateFieldGet(this, _ProtocolParamUpdate_adaPerUtxoByte, "f")) {
|
|
122
|
+
writer.writeInt(17n);
|
|
123
|
+
writer.writeInt(__classPrivateFieldGet(this, _ProtocolParamUpdate_adaPerUtxoByte, "f"));
|
|
124
|
+
}
|
|
125
|
+
if (__classPrivateFieldGet(this, _ProtocolParamUpdate_costModels, "f")) {
|
|
126
|
+
writer.writeInt(18n);
|
|
127
|
+
writer.writeEncodedValue(Buffer.from(__classPrivateFieldGet(this, _ProtocolParamUpdate_costModels, "f").toCbor(), 'hex'));
|
|
128
|
+
}
|
|
129
|
+
if (__classPrivateFieldGet(this, _ProtocolParamUpdate_executionCosts, "f")) {
|
|
130
|
+
writer.writeInt(19n);
|
|
131
|
+
writer.writeEncodedValue(Buffer.from(__classPrivateFieldGet(this, _ProtocolParamUpdate_executionCosts, "f").toCbor(), 'hex'));
|
|
132
|
+
}
|
|
133
|
+
if (__classPrivateFieldGet(this, _ProtocolParamUpdate_maxTxExUnits, "f")) {
|
|
134
|
+
writer.writeInt(20n);
|
|
135
|
+
writer.writeEncodedValue(Buffer.from(__classPrivateFieldGet(this, _ProtocolParamUpdate_maxTxExUnits, "f").toCbor(), 'hex'));
|
|
136
|
+
}
|
|
137
|
+
if (__classPrivateFieldGet(this, _ProtocolParamUpdate_maxBlockExUnits, "f")) {
|
|
138
|
+
writer.writeInt(21n);
|
|
139
|
+
writer.writeEncodedValue(Buffer.from(__classPrivateFieldGet(this, _ProtocolParamUpdate_maxBlockExUnits, "f").toCbor(), 'hex'));
|
|
140
|
+
}
|
|
141
|
+
if (__classPrivateFieldGet(this, _ProtocolParamUpdate_maxValueSize, "f")) {
|
|
142
|
+
writer.writeInt(22n);
|
|
143
|
+
writer.writeInt(__classPrivateFieldGet(this, _ProtocolParamUpdate_maxValueSize, "f"));
|
|
144
|
+
}
|
|
145
|
+
if (__classPrivateFieldGet(this, _ProtocolParamUpdate_collateralPercentage, "f")) {
|
|
146
|
+
writer.writeInt(23n);
|
|
147
|
+
writer.writeInt(__classPrivateFieldGet(this, _ProtocolParamUpdate_collateralPercentage, "f"));
|
|
148
|
+
}
|
|
149
|
+
if (__classPrivateFieldGet(this, _ProtocolParamUpdate_maxCollateralInputs, "f")) {
|
|
150
|
+
writer.writeInt(24n);
|
|
151
|
+
writer.writeInt(__classPrivateFieldGet(this, _ProtocolParamUpdate_maxCollateralInputs, "f"));
|
|
152
|
+
}
|
|
153
|
+
return writer.encodeAsHex();
|
|
154
|
+
}
|
|
155
|
+
static fromCbor(cbor) {
|
|
156
|
+
const reader = new CBOR_1.CborReader(cbor);
|
|
157
|
+
const params = new ProtocolParamUpdate();
|
|
158
|
+
reader.readStartMap();
|
|
159
|
+
while (reader.peekState() !== CBOR_1.CborReaderState.EndMap) {
|
|
160
|
+
const key = reader.readInt();
|
|
161
|
+
switch (key) {
|
|
162
|
+
case 0n:
|
|
163
|
+
__classPrivateFieldSet(params, _ProtocolParamUpdate_minFeeA, reader.readInt(), "f");
|
|
164
|
+
break;
|
|
165
|
+
case 1n:
|
|
166
|
+
__classPrivateFieldSet(params, _ProtocolParamUpdate_minFeeB, reader.readInt(), "f");
|
|
167
|
+
break;
|
|
168
|
+
case 2n:
|
|
169
|
+
__classPrivateFieldSet(params, _ProtocolParamUpdate_maxBlockBodySize, Number(reader.readInt()), "f");
|
|
170
|
+
break;
|
|
171
|
+
case 3n:
|
|
172
|
+
__classPrivateFieldSet(params, _ProtocolParamUpdate_maxTxSize, Number(reader.readInt()), "f");
|
|
173
|
+
break;
|
|
174
|
+
case 4n:
|
|
175
|
+
__classPrivateFieldSet(params, _ProtocolParamUpdate_maxBlockHeaderSize, Number(reader.readInt()), "f");
|
|
176
|
+
break;
|
|
177
|
+
case 5n:
|
|
178
|
+
__classPrivateFieldSet(params, _ProtocolParamUpdate_keyDeposit, reader.readInt(), "f");
|
|
179
|
+
break;
|
|
180
|
+
case 6n:
|
|
181
|
+
__classPrivateFieldSet(params, _ProtocolParamUpdate_poolDeposit, reader.readInt(), "f");
|
|
182
|
+
break;
|
|
183
|
+
case 7n:
|
|
184
|
+
__classPrivateFieldSet(params, _ProtocolParamUpdate_maxEpoch, Number(reader.readInt()), "f");
|
|
185
|
+
break;
|
|
186
|
+
case 8n:
|
|
187
|
+
__classPrivateFieldSet(params, _ProtocolParamUpdate_nOpt, Number(reader.readInt()), "f");
|
|
188
|
+
break;
|
|
189
|
+
case 9n:
|
|
190
|
+
__classPrivateFieldSet(params, _ProtocolParamUpdate_poolPledgeInfluence, Common_1.UnitInterval.fromCbor(util_1.HexBlob.fromBytes(reader.readEncodedValue())), "f");
|
|
191
|
+
break;
|
|
192
|
+
case 10n:
|
|
193
|
+
__classPrivateFieldSet(params, _ProtocolParamUpdate_expansionRate, Common_1.UnitInterval.fromCbor(util_1.HexBlob.fromBytes(reader.readEncodedValue())), "f");
|
|
194
|
+
break;
|
|
195
|
+
case 11n:
|
|
196
|
+
__classPrivateFieldSet(params, _ProtocolParamUpdate_treasuryGrowthRate, Common_1.UnitInterval.fromCbor(util_1.HexBlob.fromBytes(reader.readEncodedValue())), "f");
|
|
197
|
+
break;
|
|
198
|
+
case 12n:
|
|
199
|
+
__classPrivateFieldSet(params, _ProtocolParamUpdate_d, Common_1.UnitInterval.fromCbor(util_1.HexBlob.fromBytes(reader.readEncodedValue())), "f");
|
|
200
|
+
break;
|
|
201
|
+
case 13n:
|
|
202
|
+
reader.readStartArray();
|
|
203
|
+
reader.readEncodedValue();
|
|
204
|
+
__classPrivateFieldSet(params, _ProtocolParamUpdate_extraEntropy, util_1.HexBlob.fromBytes(reader.readByteString()), "f");
|
|
205
|
+
reader.readEndArray();
|
|
206
|
+
break;
|
|
207
|
+
case 14n:
|
|
208
|
+
__classPrivateFieldSet(params, _ProtocolParamUpdate_protocolVersion, Common_1.ProtocolVersion.fromCbor(util_1.HexBlob.fromBytes(reader.readEncodedValue())), "f");
|
|
209
|
+
break;
|
|
210
|
+
case 16n:
|
|
211
|
+
__classPrivateFieldSet(params, _ProtocolParamUpdate_minPoolCost, reader.readInt(), "f");
|
|
212
|
+
break;
|
|
213
|
+
case 17n:
|
|
214
|
+
__classPrivateFieldSet(params, _ProtocolParamUpdate_adaPerUtxoByte, reader.readInt(), "f");
|
|
215
|
+
break;
|
|
216
|
+
case 18n:
|
|
217
|
+
__classPrivateFieldSet(params, _ProtocolParamUpdate_costModels, Costmdls_1.Costmdls.fromCbor(util_1.HexBlob.fromBytes(reader.readEncodedValue())), "f");
|
|
218
|
+
break;
|
|
219
|
+
case 19n:
|
|
220
|
+
__classPrivateFieldSet(params, _ProtocolParamUpdate_executionCosts, ExUnitPrices_1.ExUnitPrices.fromCbor(util_1.HexBlob.fromBytes(reader.readEncodedValue())), "f");
|
|
221
|
+
break;
|
|
222
|
+
case 20n:
|
|
223
|
+
__classPrivateFieldSet(params, _ProtocolParamUpdate_maxTxExUnits, Common_1.ExUnits.fromCbor(util_1.HexBlob.fromBytes(reader.readEncodedValue())), "f");
|
|
224
|
+
break;
|
|
225
|
+
case 21n:
|
|
226
|
+
__classPrivateFieldSet(params, _ProtocolParamUpdate_maxBlockExUnits, Common_1.ExUnits.fromCbor(util_1.HexBlob.fromBytes(reader.readEncodedValue())), "f");
|
|
227
|
+
break;
|
|
228
|
+
case 22n:
|
|
229
|
+
__classPrivateFieldSet(params, _ProtocolParamUpdate_maxValueSize, Number(reader.readInt()), "f");
|
|
230
|
+
break;
|
|
231
|
+
case 23n:
|
|
232
|
+
__classPrivateFieldSet(params, _ProtocolParamUpdate_collateralPercentage, Number(reader.readInt()), "f");
|
|
233
|
+
break;
|
|
234
|
+
case 24n:
|
|
235
|
+
__classPrivateFieldSet(params, _ProtocolParamUpdate_maxCollateralInputs, Number(reader.readInt()), "f");
|
|
236
|
+
break;
|
|
237
|
+
}
|
|
238
|
+
}
|
|
239
|
+
reader.readEndMap();
|
|
240
|
+
__classPrivateFieldSet(params, _ProtocolParamUpdate_originalBytes, cbor, "f");
|
|
241
|
+
return params;
|
|
242
|
+
}
|
|
243
|
+
toCore() {
|
|
244
|
+
return {
|
|
245
|
+
coinsPerUtxoByte: __classPrivateFieldGet(this, _ProtocolParamUpdate_adaPerUtxoByte, "f") ? Number(__classPrivateFieldGet(this, _ProtocolParamUpdate_adaPerUtxoByte, "f")) : undefined,
|
|
246
|
+
collateralPercentage: __classPrivateFieldGet(this, _ProtocolParamUpdate_collateralPercentage, "f"),
|
|
247
|
+
costModels: __classPrivateFieldGet(this, _ProtocolParamUpdate_costModels, "f")?.toCore(),
|
|
248
|
+
decentralizationParameter: __classPrivateFieldGet(this, _ProtocolParamUpdate_d, "f") ? __classPrivateFieldGet(this, _ProtocolParamUpdate_d, "f").toFloat().toString() : undefined,
|
|
249
|
+
desiredNumberOfPools: __classPrivateFieldGet(this, _ProtocolParamUpdate_nOpt, "f"),
|
|
250
|
+
extraEntropy: __classPrivateFieldGet(this, _ProtocolParamUpdate_extraEntropy, "f"),
|
|
251
|
+
maxBlockBodySize: __classPrivateFieldGet(this, _ProtocolParamUpdate_maxBlockBodySize, "f"),
|
|
252
|
+
maxBlockHeaderSize: __classPrivateFieldGet(this, _ProtocolParamUpdate_maxBlockHeaderSize, "f"),
|
|
253
|
+
maxCollateralInputs: __classPrivateFieldGet(this, _ProtocolParamUpdate_maxCollateralInputs, "f"),
|
|
254
|
+
maxExecutionUnitsPerBlock: __classPrivateFieldGet(this, _ProtocolParamUpdate_maxBlockExUnits, "f")?.toCore(),
|
|
255
|
+
maxExecutionUnitsPerTransaction: __classPrivateFieldGet(this, _ProtocolParamUpdate_maxTxExUnits, "f")?.toCore(),
|
|
256
|
+
maxTxSize: __classPrivateFieldGet(this, _ProtocolParamUpdate_maxTxSize, "f") ? Number(__classPrivateFieldGet(this, _ProtocolParamUpdate_maxTxSize, "f")) : undefined,
|
|
257
|
+
maxValueSize: __classPrivateFieldGet(this, _ProtocolParamUpdate_maxValueSize, "f"),
|
|
258
|
+
minFeeCoefficient: __classPrivateFieldGet(this, _ProtocolParamUpdate_minFeeA, "f") ? Number(__classPrivateFieldGet(this, _ProtocolParamUpdate_minFeeA, "f")) : undefined,
|
|
259
|
+
minFeeConstant: __classPrivateFieldGet(this, _ProtocolParamUpdate_minFeeB, "f") ? Number(__classPrivateFieldGet(this, _ProtocolParamUpdate_minFeeB, "f")) : undefined,
|
|
260
|
+
minPoolCost: __classPrivateFieldGet(this, _ProtocolParamUpdate_minPoolCost, "f") ? Number(__classPrivateFieldGet(this, _ProtocolParamUpdate_minPoolCost, "f")) : undefined,
|
|
261
|
+
monetaryExpansion: __classPrivateFieldGet(this, _ProtocolParamUpdate_expansionRate, "f") ? __classPrivateFieldGet(this, _ProtocolParamUpdate_expansionRate, "f").toFloat().toString() : undefined,
|
|
262
|
+
poolDeposit: __classPrivateFieldGet(this, _ProtocolParamUpdate_poolDeposit, "f") ? Number(__classPrivateFieldGet(this, _ProtocolParamUpdate_poolDeposit, "f")) : undefined,
|
|
263
|
+
poolInfluence: __classPrivateFieldGet(this, _ProtocolParamUpdate_poolPledgeInfluence, "f") ? __classPrivateFieldGet(this, _ProtocolParamUpdate_poolPledgeInfluence, "f").toFloat().toString() : undefined,
|
|
264
|
+
poolRetirementEpochBound: __classPrivateFieldGet(this, _ProtocolParamUpdate_maxEpoch, "f"),
|
|
265
|
+
prices: __classPrivateFieldGet(this, _ProtocolParamUpdate_executionCosts, "f")?.toCore(),
|
|
266
|
+
protocolVersion: __classPrivateFieldGet(this, _ProtocolParamUpdate_protocolVersion, "f")?.toCore(),
|
|
267
|
+
stakeKeyDeposit: __classPrivateFieldGet(this, _ProtocolParamUpdate_keyDeposit, "f") ? Number(__classPrivateFieldGet(this, _ProtocolParamUpdate_keyDeposit, "f")) : undefined,
|
|
268
|
+
treasuryExpansion: __classPrivateFieldGet(this, _ProtocolParamUpdate_treasuryGrowthRate, "f") ? __classPrivateFieldGet(this, _ProtocolParamUpdate_treasuryGrowthRate, "f").toFloat().toString() : undefined
|
|
269
|
+
};
|
|
270
|
+
}
|
|
271
|
+
static fromCore(parametersUpdate) {
|
|
272
|
+
const params = new ProtocolParamUpdate();
|
|
273
|
+
__classPrivateFieldSet(params, _ProtocolParamUpdate_minFeeA, parametersUpdate.minFeeCoefficient ? BigInt(parametersUpdate.minFeeCoefficient) : undefined, "f");
|
|
274
|
+
__classPrivateFieldSet(params, _ProtocolParamUpdate_maxBlockBodySize, parametersUpdate.maxBlockBodySize, "f");
|
|
275
|
+
__classPrivateFieldSet(params, _ProtocolParamUpdate_minFeeB, parametersUpdate.minFeeConstant ? BigInt(parametersUpdate.minFeeConstant) : undefined, "f");
|
|
276
|
+
__classPrivateFieldSet(params, _ProtocolParamUpdate_maxBlockHeaderSize, parametersUpdate.maxBlockHeaderSize, "f");
|
|
277
|
+
__classPrivateFieldSet(params, _ProtocolParamUpdate_keyDeposit, parametersUpdate.stakeKeyDeposit ? BigInt(parametersUpdate.stakeKeyDeposit) : undefined, "f");
|
|
278
|
+
__classPrivateFieldSet(params, _ProtocolParamUpdate_poolDeposit, parametersUpdate.poolDeposit ? BigInt(parametersUpdate.poolDeposit) : undefined, "f");
|
|
279
|
+
__classPrivateFieldSet(params, _ProtocolParamUpdate_maxEpoch, parametersUpdate.poolRetirementEpochBound, "f");
|
|
280
|
+
__classPrivateFieldSet(params, _ProtocolParamUpdate_nOpt, parametersUpdate.desiredNumberOfPools, "f");
|
|
281
|
+
__classPrivateFieldSet(params, _ProtocolParamUpdate_poolPledgeInfluence, Common_1.UnitInterval.fromFloat(Number(parametersUpdate.poolInfluence)), "f");
|
|
282
|
+
__classPrivateFieldSet(params, _ProtocolParamUpdate_expansionRate, Common_1.UnitInterval.fromFloat(Number(parametersUpdate.monetaryExpansion)), "f");
|
|
283
|
+
__classPrivateFieldSet(params, _ProtocolParamUpdate_treasuryGrowthRate, Common_1.UnitInterval.fromFloat(Number(parametersUpdate.treasuryExpansion)), "f");
|
|
284
|
+
__classPrivateFieldSet(params, _ProtocolParamUpdate_d, Common_1.UnitInterval.fromFloat(Number(parametersUpdate.decentralizationParameter)), "f");
|
|
285
|
+
__classPrivateFieldSet(params, _ProtocolParamUpdate_minPoolCost, parametersUpdate.minPoolCost ? BigInt(parametersUpdate.minPoolCost) : undefined, "f");
|
|
286
|
+
__classPrivateFieldSet(params, _ProtocolParamUpdate_protocolVersion, parametersUpdate.protocolVersion
|
|
287
|
+
? Common_1.ProtocolVersion.fromCore(parametersUpdate.protocolVersion)
|
|
288
|
+
: undefined, "f");
|
|
289
|
+
__classPrivateFieldSet(params, _ProtocolParamUpdate_maxValueSize, parametersUpdate.maxValueSize, "f");
|
|
290
|
+
__classPrivateFieldSet(params, _ProtocolParamUpdate_maxTxSize, parametersUpdate.maxTxSize, "f");
|
|
291
|
+
__classPrivateFieldSet(params, _ProtocolParamUpdate_collateralPercentage, parametersUpdate.collateralPercentage, "f");
|
|
292
|
+
__classPrivateFieldSet(params, _ProtocolParamUpdate_maxCollateralInputs, parametersUpdate.maxCollateralInputs, "f");
|
|
293
|
+
__classPrivateFieldSet(params, _ProtocolParamUpdate_extraEntropy, parametersUpdate.extraEntropy ? (0, util_1.HexBlob)(parametersUpdate.extraEntropy) : undefined, "f");
|
|
294
|
+
__classPrivateFieldSet(params, _ProtocolParamUpdate_costModels, parametersUpdate.costModels ? Costmdls_1.Costmdls.fromCore(parametersUpdate.costModels) : undefined, "f");
|
|
295
|
+
__classPrivateFieldSet(params, _ProtocolParamUpdate_executionCosts, parametersUpdate.prices ? ExUnitPrices_1.ExUnitPrices.fromCore(parametersUpdate.prices) : undefined, "f");
|
|
296
|
+
__classPrivateFieldSet(params, _ProtocolParamUpdate_maxTxExUnits, parametersUpdate.maxExecutionUnitsPerTransaction
|
|
297
|
+
? Common_1.ExUnits.fromCore(parametersUpdate.maxExecutionUnitsPerTransaction)
|
|
298
|
+
: undefined, "f");
|
|
299
|
+
__classPrivateFieldSet(params, _ProtocolParamUpdate_maxBlockExUnits, parametersUpdate.maxExecutionUnitsPerBlock
|
|
300
|
+
? Common_1.ExUnits.fromCore(parametersUpdate.maxExecutionUnitsPerBlock)
|
|
301
|
+
: undefined, "f");
|
|
302
|
+
__classPrivateFieldSet(params, _ProtocolParamUpdate_adaPerUtxoByte, parametersUpdate.coinsPerUtxoByte ? BigInt(parametersUpdate.coinsPerUtxoByte) : undefined, "f");
|
|
303
|
+
return params;
|
|
304
|
+
}
|
|
305
|
+
setMinFeeA(minFeeA) {
|
|
306
|
+
__classPrivateFieldSet(this, _ProtocolParamUpdate_minFeeA, minFeeA, "f");
|
|
307
|
+
}
|
|
308
|
+
minFeeA() {
|
|
309
|
+
return __classPrivateFieldGet(this, _ProtocolParamUpdate_minFeeA, "f");
|
|
310
|
+
}
|
|
311
|
+
setMinFeeB(minFeeB) {
|
|
312
|
+
__classPrivateFieldSet(this, _ProtocolParamUpdate_minFeeB, minFeeB, "f");
|
|
313
|
+
__classPrivateFieldSet(this, _ProtocolParamUpdate_originalBytes, undefined, "f");
|
|
314
|
+
}
|
|
315
|
+
minFeeB() {
|
|
316
|
+
return __classPrivateFieldGet(this, _ProtocolParamUpdate_minFeeB, "f");
|
|
317
|
+
}
|
|
318
|
+
setMaxBlockBodySize(maxBlockBodySize) {
|
|
319
|
+
__classPrivateFieldSet(this, _ProtocolParamUpdate_maxBlockBodySize, maxBlockBodySize, "f");
|
|
320
|
+
__classPrivateFieldSet(this, _ProtocolParamUpdate_originalBytes, undefined, "f");
|
|
321
|
+
}
|
|
322
|
+
maxBlockBodySize() {
|
|
323
|
+
return __classPrivateFieldGet(this, _ProtocolParamUpdate_maxBlockBodySize, "f");
|
|
324
|
+
}
|
|
325
|
+
setMaxTxSize(maxTxSize) {
|
|
326
|
+
__classPrivateFieldSet(this, _ProtocolParamUpdate_maxTxSize, maxTxSize, "f");
|
|
327
|
+
__classPrivateFieldSet(this, _ProtocolParamUpdate_originalBytes, undefined, "f");
|
|
328
|
+
}
|
|
329
|
+
maxTxSize() {
|
|
330
|
+
return __classPrivateFieldGet(this, _ProtocolParamUpdate_maxTxSize, "f");
|
|
331
|
+
}
|
|
332
|
+
setMaxBlockHeaderSize(maxBlockHeaderSize) {
|
|
333
|
+
__classPrivateFieldSet(this, _ProtocolParamUpdate_maxBlockHeaderSize, maxBlockHeaderSize, "f");
|
|
334
|
+
__classPrivateFieldSet(this, _ProtocolParamUpdate_originalBytes, undefined, "f");
|
|
335
|
+
}
|
|
336
|
+
maxBlockHeaderSize() {
|
|
337
|
+
return __classPrivateFieldGet(this, _ProtocolParamUpdate_maxBlockHeaderSize, "f");
|
|
338
|
+
}
|
|
339
|
+
setKeyDeposit(keyDeposit) {
|
|
340
|
+
__classPrivateFieldSet(this, _ProtocolParamUpdate_keyDeposit, keyDeposit, "f");
|
|
341
|
+
__classPrivateFieldSet(this, _ProtocolParamUpdate_originalBytes, undefined, "f");
|
|
342
|
+
}
|
|
343
|
+
keyDeposit() {
|
|
344
|
+
return __classPrivateFieldGet(this, _ProtocolParamUpdate_keyDeposit, "f");
|
|
345
|
+
}
|
|
346
|
+
setPoolDeposit(poolDeposit) {
|
|
347
|
+
__classPrivateFieldSet(this, _ProtocolParamUpdate_poolDeposit, poolDeposit, "f");
|
|
348
|
+
__classPrivateFieldSet(this, _ProtocolParamUpdate_originalBytes, undefined, "f");
|
|
349
|
+
}
|
|
350
|
+
poolDeposit() {
|
|
351
|
+
return __classPrivateFieldGet(this, _ProtocolParamUpdate_poolDeposit, "f");
|
|
352
|
+
}
|
|
353
|
+
setMaxEpoch(maxEpoch) {
|
|
354
|
+
__classPrivateFieldSet(this, _ProtocolParamUpdate_maxEpoch, maxEpoch, "f");
|
|
355
|
+
__classPrivateFieldSet(this, _ProtocolParamUpdate_originalBytes, undefined, "f");
|
|
356
|
+
}
|
|
357
|
+
maxEpoch() {
|
|
358
|
+
return __classPrivateFieldGet(this, _ProtocolParamUpdate_maxEpoch, "f");
|
|
359
|
+
}
|
|
360
|
+
setNOpt(nOpt) {
|
|
361
|
+
__classPrivateFieldSet(this, _ProtocolParamUpdate_nOpt, nOpt, "f");
|
|
362
|
+
__classPrivateFieldSet(this, _ProtocolParamUpdate_originalBytes, undefined, "f");
|
|
363
|
+
}
|
|
364
|
+
nOpt() {
|
|
365
|
+
return __classPrivateFieldGet(this, _ProtocolParamUpdate_nOpt, "f");
|
|
366
|
+
}
|
|
367
|
+
setPoolPledgeInfluence(poolPledgeInfluence) {
|
|
368
|
+
__classPrivateFieldSet(this, _ProtocolParamUpdate_poolPledgeInfluence, poolPledgeInfluence, "f");
|
|
369
|
+
__classPrivateFieldSet(this, _ProtocolParamUpdate_originalBytes, undefined, "f");
|
|
370
|
+
}
|
|
371
|
+
poolPledgeInfluence() {
|
|
372
|
+
return __classPrivateFieldGet(this, _ProtocolParamUpdate_poolPledgeInfluence, "f");
|
|
373
|
+
}
|
|
374
|
+
setExpansionRate(expansionRate) {
|
|
375
|
+
__classPrivateFieldSet(this, _ProtocolParamUpdate_expansionRate, expansionRate, "f");
|
|
376
|
+
__classPrivateFieldSet(this, _ProtocolParamUpdate_originalBytes, undefined, "f");
|
|
377
|
+
}
|
|
378
|
+
expansionRate() {
|
|
379
|
+
return __classPrivateFieldGet(this, _ProtocolParamUpdate_expansionRate, "f");
|
|
380
|
+
}
|
|
381
|
+
setTreasuryGrowthRate(treasuryGrowthRate) {
|
|
382
|
+
__classPrivateFieldSet(this, _ProtocolParamUpdate_treasuryGrowthRate, treasuryGrowthRate, "f");
|
|
383
|
+
__classPrivateFieldSet(this, _ProtocolParamUpdate_originalBytes, undefined, "f");
|
|
384
|
+
}
|
|
385
|
+
treasuryGrowthRate() {
|
|
386
|
+
return __classPrivateFieldGet(this, _ProtocolParamUpdate_treasuryGrowthRate, "f");
|
|
387
|
+
}
|
|
388
|
+
setD(d) {
|
|
389
|
+
__classPrivateFieldSet(this, _ProtocolParamUpdate_d, d, "f");
|
|
390
|
+
__classPrivateFieldSet(this, _ProtocolParamUpdate_originalBytes, undefined, "f");
|
|
391
|
+
}
|
|
392
|
+
d() {
|
|
393
|
+
return __classPrivateFieldGet(this, _ProtocolParamUpdate_d, "f");
|
|
394
|
+
}
|
|
395
|
+
setExtraEntropy(extraEntropy) {
|
|
396
|
+
__classPrivateFieldSet(this, _ProtocolParamUpdate_extraEntropy, extraEntropy, "f");
|
|
397
|
+
__classPrivateFieldSet(this, _ProtocolParamUpdate_originalBytes, undefined, "f");
|
|
398
|
+
}
|
|
399
|
+
extraEntropy() {
|
|
400
|
+
return __classPrivateFieldGet(this, _ProtocolParamUpdate_extraEntropy, "f");
|
|
401
|
+
}
|
|
402
|
+
setProtocolVersion(protocolVersion) {
|
|
403
|
+
__classPrivateFieldSet(this, _ProtocolParamUpdate_protocolVersion, protocolVersion, "f");
|
|
404
|
+
__classPrivateFieldSet(this, _ProtocolParamUpdate_originalBytes, undefined, "f");
|
|
405
|
+
}
|
|
406
|
+
protocolVersion() {
|
|
407
|
+
return __classPrivateFieldGet(this, _ProtocolParamUpdate_protocolVersion, "f");
|
|
408
|
+
}
|
|
409
|
+
setMinPoolCost(minPoolCost) {
|
|
410
|
+
__classPrivateFieldSet(this, _ProtocolParamUpdate_minPoolCost, minPoolCost, "f");
|
|
411
|
+
__classPrivateFieldSet(this, _ProtocolParamUpdate_originalBytes, undefined, "f");
|
|
412
|
+
}
|
|
413
|
+
minPoolCost() {
|
|
414
|
+
return __classPrivateFieldGet(this, _ProtocolParamUpdate_minPoolCost, "f");
|
|
415
|
+
}
|
|
416
|
+
setAdaPerUtxoByte(adaPerUtxoByte) {
|
|
417
|
+
__classPrivateFieldSet(this, _ProtocolParamUpdate_adaPerUtxoByte, adaPerUtxoByte, "f");
|
|
418
|
+
__classPrivateFieldSet(this, _ProtocolParamUpdate_originalBytes, undefined, "f");
|
|
419
|
+
}
|
|
420
|
+
adaPerUtxoByte() {
|
|
421
|
+
return __classPrivateFieldGet(this, _ProtocolParamUpdate_adaPerUtxoByte, "f");
|
|
422
|
+
}
|
|
423
|
+
setCostModels(costModels) {
|
|
424
|
+
__classPrivateFieldSet(this, _ProtocolParamUpdate_costModels, costModels, "f");
|
|
425
|
+
__classPrivateFieldSet(this, _ProtocolParamUpdate_originalBytes, undefined, "f");
|
|
426
|
+
}
|
|
427
|
+
costModels() {
|
|
428
|
+
return __classPrivateFieldGet(this, _ProtocolParamUpdate_costModels, "f");
|
|
429
|
+
}
|
|
430
|
+
setExecutionCosts(executionCosts) {
|
|
431
|
+
__classPrivateFieldSet(this, _ProtocolParamUpdate_executionCosts, executionCosts, "f");
|
|
432
|
+
__classPrivateFieldSet(this, _ProtocolParamUpdate_originalBytes, undefined, "f");
|
|
433
|
+
}
|
|
434
|
+
executionCosts() {
|
|
435
|
+
return __classPrivateFieldGet(this, _ProtocolParamUpdate_executionCosts, "f");
|
|
436
|
+
}
|
|
437
|
+
setMaxTxExUnits(maxTxExUnits) {
|
|
438
|
+
__classPrivateFieldSet(this, _ProtocolParamUpdate_maxTxExUnits, maxTxExUnits, "f");
|
|
439
|
+
__classPrivateFieldSet(this, _ProtocolParamUpdate_originalBytes, undefined, "f");
|
|
440
|
+
}
|
|
441
|
+
maxTxExUnits() {
|
|
442
|
+
return __classPrivateFieldGet(this, _ProtocolParamUpdate_maxTxExUnits, "f");
|
|
443
|
+
}
|
|
444
|
+
setMaxBlockExUnits(maxBlockExUnits) {
|
|
445
|
+
__classPrivateFieldSet(this, _ProtocolParamUpdate_maxBlockExUnits, maxBlockExUnits, "f");
|
|
446
|
+
__classPrivateFieldSet(this, _ProtocolParamUpdate_originalBytes, undefined, "f");
|
|
447
|
+
}
|
|
448
|
+
maxBlockExUnits() {
|
|
449
|
+
return __classPrivateFieldGet(this, _ProtocolParamUpdate_maxBlockExUnits, "f");
|
|
450
|
+
}
|
|
451
|
+
setMaxValueSize(maxValueSize) {
|
|
452
|
+
__classPrivateFieldSet(this, _ProtocolParamUpdate_maxValueSize, maxValueSize, "f");
|
|
453
|
+
__classPrivateFieldSet(this, _ProtocolParamUpdate_originalBytes, undefined, "f");
|
|
454
|
+
}
|
|
455
|
+
maxValueSize() {
|
|
456
|
+
return __classPrivateFieldGet(this, _ProtocolParamUpdate_maxValueSize, "f");
|
|
457
|
+
}
|
|
458
|
+
setCollateralPercentage(collateralPercentage) {
|
|
459
|
+
__classPrivateFieldSet(this, _ProtocolParamUpdate_collateralPercentage, collateralPercentage, "f");
|
|
460
|
+
__classPrivateFieldSet(this, _ProtocolParamUpdate_originalBytes, undefined, "f");
|
|
461
|
+
}
|
|
462
|
+
collateralPercentage() {
|
|
463
|
+
return __classPrivateFieldGet(this, _ProtocolParamUpdate_collateralPercentage, "f");
|
|
464
|
+
}
|
|
465
|
+
setMaxCollateralInputs(maxCollateralInputs) {
|
|
466
|
+
__classPrivateFieldSet(this, _ProtocolParamUpdate_maxCollateralInputs, maxCollateralInputs, "f");
|
|
467
|
+
__classPrivateFieldSet(this, _ProtocolParamUpdate_originalBytes, undefined, "f");
|
|
468
|
+
}
|
|
469
|
+
maxCollateralInputs() {
|
|
470
|
+
return __classPrivateFieldGet(this, _ProtocolParamUpdate_maxCollateralInputs, "f");
|
|
471
|
+
}
|
|
472
|
+
}
|
|
473
|
+
exports.ProtocolParamUpdate = ProtocolParamUpdate;
|
|
474
|
+
_ProtocolParamUpdate_minFeeA = new WeakMap(), _ProtocolParamUpdate_minFeeB = new WeakMap(), _ProtocolParamUpdate_maxBlockBodySize = new WeakMap(), _ProtocolParamUpdate_maxTxSize = new WeakMap(), _ProtocolParamUpdate_maxBlockHeaderSize = new WeakMap(), _ProtocolParamUpdate_keyDeposit = new WeakMap(), _ProtocolParamUpdate_poolDeposit = new WeakMap(), _ProtocolParamUpdate_maxEpoch = new WeakMap(), _ProtocolParamUpdate_nOpt = new WeakMap(), _ProtocolParamUpdate_poolPledgeInfluence = new WeakMap(), _ProtocolParamUpdate_expansionRate = new WeakMap(), _ProtocolParamUpdate_treasuryGrowthRate = new WeakMap(), _ProtocolParamUpdate_d = new WeakMap(), _ProtocolParamUpdate_extraEntropy = new WeakMap(), _ProtocolParamUpdate_protocolVersion = new WeakMap(), _ProtocolParamUpdate_minPoolCost = new WeakMap(), _ProtocolParamUpdate_adaPerUtxoByte = new WeakMap(), _ProtocolParamUpdate_costModels = new WeakMap(), _ProtocolParamUpdate_executionCosts = new WeakMap(), _ProtocolParamUpdate_maxTxExUnits = new WeakMap(), _ProtocolParamUpdate_maxBlockExUnits = new WeakMap(), _ProtocolParamUpdate_maxValueSize = new WeakMap(), _ProtocolParamUpdate_collateralPercentage = new WeakMap(), _ProtocolParamUpdate_maxCollateralInputs = new WeakMap(), _ProtocolParamUpdate_originalBytes = new WeakMap(), _ProtocolParamUpdate_instances = new WeakSet(), _ProtocolParamUpdate_getMapSize = function _ProtocolParamUpdate_getMapSize() {
|
|
475
|
+
let mapSize = 0;
|
|
476
|
+
if (__classPrivateFieldGet(this, _ProtocolParamUpdate_minFeeA, "f"))
|
|
477
|
+
++mapSize;
|
|
478
|
+
if (__classPrivateFieldGet(this, _ProtocolParamUpdate_minFeeB, "f"))
|
|
479
|
+
++mapSize;
|
|
480
|
+
if (__classPrivateFieldGet(this, _ProtocolParamUpdate_maxBlockBodySize, "f"))
|
|
481
|
+
++mapSize;
|
|
482
|
+
if (__classPrivateFieldGet(this, _ProtocolParamUpdate_maxTxSize, "f"))
|
|
483
|
+
++mapSize;
|
|
484
|
+
if (__classPrivateFieldGet(this, _ProtocolParamUpdate_maxBlockHeaderSize, "f"))
|
|
485
|
+
++mapSize;
|
|
486
|
+
if (__classPrivateFieldGet(this, _ProtocolParamUpdate_keyDeposit, "f"))
|
|
487
|
+
++mapSize;
|
|
488
|
+
if (__classPrivateFieldGet(this, _ProtocolParamUpdate_poolDeposit, "f"))
|
|
489
|
+
++mapSize;
|
|
490
|
+
if (__classPrivateFieldGet(this, _ProtocolParamUpdate_maxEpoch, "f"))
|
|
491
|
+
++mapSize;
|
|
492
|
+
if (__classPrivateFieldGet(this, _ProtocolParamUpdate_nOpt, "f"))
|
|
493
|
+
++mapSize;
|
|
494
|
+
if (__classPrivateFieldGet(this, _ProtocolParamUpdate_poolPledgeInfluence, "f"))
|
|
495
|
+
++mapSize;
|
|
496
|
+
if (__classPrivateFieldGet(this, _ProtocolParamUpdate_expansionRate, "f"))
|
|
497
|
+
++mapSize;
|
|
498
|
+
if (__classPrivateFieldGet(this, _ProtocolParamUpdate_treasuryGrowthRate, "f"))
|
|
499
|
+
++mapSize;
|
|
500
|
+
if (__classPrivateFieldGet(this, _ProtocolParamUpdate_d, "f"))
|
|
501
|
+
++mapSize;
|
|
502
|
+
if (__classPrivateFieldGet(this, _ProtocolParamUpdate_extraEntropy, "f"))
|
|
503
|
+
++mapSize;
|
|
504
|
+
if (__classPrivateFieldGet(this, _ProtocolParamUpdate_protocolVersion, "f"))
|
|
505
|
+
++mapSize;
|
|
506
|
+
if (__classPrivateFieldGet(this, _ProtocolParamUpdate_minPoolCost, "f"))
|
|
507
|
+
++mapSize;
|
|
508
|
+
if (__classPrivateFieldGet(this, _ProtocolParamUpdate_adaPerUtxoByte, "f"))
|
|
509
|
+
++mapSize;
|
|
510
|
+
if (__classPrivateFieldGet(this, _ProtocolParamUpdate_costModels, "f"))
|
|
511
|
+
++mapSize;
|
|
512
|
+
if (__classPrivateFieldGet(this, _ProtocolParamUpdate_executionCosts, "f"))
|
|
513
|
+
++mapSize;
|
|
514
|
+
if (__classPrivateFieldGet(this, _ProtocolParamUpdate_maxTxExUnits, "f"))
|
|
515
|
+
++mapSize;
|
|
516
|
+
if (__classPrivateFieldGet(this, _ProtocolParamUpdate_maxBlockExUnits, "f"))
|
|
517
|
+
++mapSize;
|
|
518
|
+
if (__classPrivateFieldGet(this, _ProtocolParamUpdate_maxValueSize, "f"))
|
|
519
|
+
++mapSize;
|
|
520
|
+
if (__classPrivateFieldGet(this, _ProtocolParamUpdate_collateralPercentage, "f"))
|
|
521
|
+
++mapSize;
|
|
522
|
+
if (__classPrivateFieldGet(this, _ProtocolParamUpdate_maxCollateralInputs, "f"))
|
|
523
|
+
++mapSize;
|
|
524
|
+
return mapSize;
|
|
525
|
+
};
|
|
526
|
+
//# sourceMappingURL=ProtocolParamUpdate.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ProtocolParamUpdate.js","sourceRoot":"","sources":["../../../../src/Serialization/Update/ProtocolParamUpdate.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAEA,kCAAkE;AAClE,yCAAsC;AACtC,iDAA8C;AAC9C,sCAAmE;AACnE,4CAA4C;AAO5C,MAAa,mBAAmB;IAAhC;;QACE,+CAAuC;QACvC,+CAAuC;QACvC,wDAAsC;QACtC,iDAA+B;QAC/B,0DAAwC;QACxC,kDAA0C;QAC1C,mDAA2C;QAC3C,gDAA8B;QAC9B,4CAA0B;QAC1B,2DAA+C;QAC/C,qDAAyC;QACzC,0DAA8C;QAC9C,yCAA6B;QAC7B,oDAAmC;QACnC,uDAA8C;QAC9C,mDAA2C;QAC3C,sDAA8C;QAC9C,kDAAkC;QAClC,sDAA0C;QAC1C,oDAAmC;QACnC,uDAAsC;QACtC,oDAAkC;QAClC,4DAA0C;QAC1C,2DAAyC;QACzC,6CAAsC,SAAS,EAAC;IAk4BlD,CAAC;IA13BC,MAAM;QACJ,MAAM,MAAM,GAAG,IAAI,iBAAU,EAAE,CAAC;QAEhC,IAAI,uBAAA,IAAI,0CAAe;YAAE,OAAO,uBAAA,IAAI,0CAAe,CAAC;QA0BpD,MAAM,CAAC,aAAa,CAAC,uBAAA,IAAI,uEAAY,MAAhB,IAAI,CAAc,CAAC,CAAC;QAEzC,IAAI,uBAAA,IAAI,oCAAS,EAAE;YACjB,MAAM,CAAC,QAAQ,CAAC,EAAE,CAAC,CAAC;YACpB,MAAM,CAAC,QAAQ,CAAC,uBAAA,IAAI,oCAAS,CAAC,CAAC;S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AC;IACrC,IAAI,uBAAA,IAAI,wCAAa;QAAE,EAAE,OAAO,CAAC;IACjC,IAAI,uBAAA,IAAI,2CAAgB;QAAE,EAAE,OAAO,CAAC;IACpC,IAAI,uBAAA,IAAI,uCAAY;QAAE,EAAE,OAAO,CAAC;IAChC,IAAI,uBAAA,IAAI,2CAAgB;QAAE,EAAE,OAAO,CAAC;IACpC,IAAI,uBAAA,IAAI,yCAAc;QAAE,EAAE,OAAO,CAAC;IAClC,IAAI,uBAAA,IAAI,4CAAiB;QAAE,EAAE,OAAO,CAAC;IACrC,IAAI,uBAAA,IAAI,yCAAc;QAAE,EAAE,OAAO,CAAC;IAClC,IAAI,uBAAA,IAAI,iDAAsB;QAAE,EAAE,OAAO,CAAC;IAC1C,IAAI,uBAAA,IAAI,gDAAqB;QAAE,EAAE,OAAO,CAAC;IAEzC,OAAO,OAAO,CAAC;AACjB,CAAC"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import * as Cardano from '../../Cardano';
|
|
2
|
+
import { HexBlob } from '@cardano-sdk/util';
|
|
3
|
+
import { ProposedProtocolParameterUpdates } from './ProposedProtocolParameterUpdates';
|
|
4
|
+
export declare class Update {
|
|
5
|
+
#private;
|
|
6
|
+
constructor(updates: ProposedProtocolParameterUpdates, epoch: Cardano.EpochNo);
|
|
7
|
+
toCbor(): HexBlob;
|
|
8
|
+
static fromCbor(cbor: HexBlob): Update;
|
|
9
|
+
toCore(): Cardano.Update;
|
|
10
|
+
static fromCore(update: Cardano.Update): Update;
|
|
11
|
+
epoch(): Cardano.EpochNo;
|
|
12
|
+
setEpoch(epoch: Cardano.EpochNo): void;
|
|
13
|
+
proposedProtocolParameterUpdates(): ProposedProtocolParameterUpdates;
|
|
14
|
+
setProposedProtocolParameterUpdates(updates: ProposedProtocolParameterUpdates): void;
|
|
15
|
+
}
|
|
16
|
+
//# sourceMappingURL=Update.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Update.d.ts","sourceRoot":"","sources":["../../../../src/Serialization/Update/Update.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,OAAO,MAAM,eAAe,CAAC;AAEzC,OAAO,EAAE,OAAO,EAAwB,MAAM,mBAAmB,CAAC;AAClE,OAAO,EAAE,gCAAgC,EAAE,MAAM,oCAAoC,CAAC;AAStF,qBAAa,MAAM;;gBAYL,OAAO,EAAE,gCAAgC,EAAE,KAAK,EAAE,OAAO,CAAC,OAAO;IAU7E,MAAM,IAAI,OAAO;IAqBjB,MAAM,CAAC,QAAQ,CAAC,IAAI,EAAE,OAAO,GAAG,MAAM;IA2BtC,MAAM,IAAI,OAAO,CAAC,MAAM;IAYxB,MAAM,CAAC,QAAQ,CAAC,MAAM,EAAE,OAAO,CAAC,MAAM;IAYtC,KAAK,IAAI,OAAO,CAAC,OAAO;IASxB,QAAQ,CAAC,KAAK,EAAE,OAAO,CAAC,OAAO,GAAG,IAAI;IAUtC,gCAAgC,IAAI,gCAAgC;IASpE,mCAAmC,CAAC,OAAO,EAAE,gCAAgC,GAAG,IAAI;CAIrF"}
|