@gearbox-protocol/periphery-v3 1.0.8 → 1.0.9
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.
|
@@ -540,8 +540,14 @@ contract DataCompressorV3_00 is IDataCompressorV3_00, ContractsRegisterTrait, Li
|
|
|
540
540
|
unchecked {
|
|
541
541
|
for (uint256 i; i < len; ++i) {
|
|
542
542
|
quotas[i].token = quotaTokens[i];
|
|
543
|
-
(
|
|
544
|
-
|
|
543
|
+
(
|
|
544
|
+
quotas[i].rate,
|
|
545
|
+
,
|
|
546
|
+
quotas[i].quotaIncreaseFee,
|
|
547
|
+
quotas[i].totalQuoted,
|
|
548
|
+
quotas[i].limit,
|
|
549
|
+
quotas[i].isActive
|
|
550
|
+
) = pqk.getTokenQuotaParams(quotaTokens[i]);
|
|
545
551
|
}
|
|
546
552
|
}
|
|
547
553
|
}
|
|
@@ -567,8 +573,14 @@ contract DataCompressorV3_00 is IDataCompressorV3_00, ContractsRegisterTrait, Li
|
|
|
567
573
|
address token = quotaTokens[j];
|
|
568
574
|
quotaParams.token = token;
|
|
569
575
|
|
|
570
|
-
(
|
|
571
|
-
|
|
576
|
+
(
|
|
577
|
+
quotaParams.rate,
|
|
578
|
+
,
|
|
579
|
+
quotaParams.quotaIncreaseFee,
|
|
580
|
+
quotaParams.totalQuoted,
|
|
581
|
+
quotaParams.limit,
|
|
582
|
+
quotaParams.isActive
|
|
583
|
+
) = pqk.getTokenQuotaParams(token);
|
|
572
584
|
|
|
573
585
|
(
|
|
574
586
|
quotaParams.minRate,
|
package/contracts/data/Types.sol
CHANGED
|
@@ -24,6 +24,7 @@ struct QuotaInfo {
|
|
|
24
24
|
uint16 quotaIncreaseFee;
|
|
25
25
|
uint96 totalQuoted;
|
|
26
26
|
uint96 limit;
|
|
27
|
+
bool isActive;
|
|
27
28
|
}
|
|
28
29
|
|
|
29
30
|
struct ContractAdapter {
|
|
@@ -151,6 +152,7 @@ struct GaugeQuotaParams {
|
|
|
151
152
|
uint16 quotaIncreaseFee;
|
|
152
153
|
uint96 totalQuoted;
|
|
153
154
|
uint96 limit;
|
|
155
|
+
bool isActive;
|
|
154
156
|
}
|
|
155
157
|
|
|
156
158
|
struct GaugeInfo {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gearbox-protocol/periphery-v3",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.9",
|
|
4
4
|
"main": "index.js",
|
|
5
5
|
"repository": "git@github.com:Gearbox-protocol/periphery-v3.git",
|
|
6
6
|
"author": "Mikael <26343374+0xmikko@users.noreply.github.com>",
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
"@commitlint/cli": "^17.6.3",
|
|
19
19
|
"@commitlint/config-conventional": "17.6.0",
|
|
20
20
|
"@gearbox-protocol/core-v2": "1.19.0-base.14",
|
|
21
|
-
"@gearbox-protocol/core-v3": "^1.
|
|
21
|
+
"@gearbox-protocol/core-v3": "^1.39.0",
|
|
22
22
|
"@gearbox-protocol/oracles-v3": "^1.7.2",
|
|
23
23
|
"@gearbox-protocol/sdk-gov": "^1.5.10",
|
|
24
24
|
"@openzeppelin/contracts": "4.8.3",
|