@gearbox-protocol/periphery-v3 1.2.3 → 1.2.4
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.
|
@@ -415,7 +415,7 @@ contract DataCompressorV3_00 is IDataCompressorV3_00, ContractsRegisterTrait, Li
|
|
|
415
415
|
result.availableLiquidity = pool.availableLiquidity();
|
|
416
416
|
|
|
417
417
|
result.dieselRate_RAY = pool.convertToAssets(RAY);
|
|
418
|
-
result.linearCumulativeIndex = pool.
|
|
418
|
+
result.linearCumulativeIndex = pool.baseInterestIndex();
|
|
419
419
|
result.baseInterestRate = _getBaseInterestRate(address(pool));
|
|
420
420
|
result.underlying = pool.underlyingToken();
|
|
421
421
|
result.dieselToken = address(pool);
|
|
@@ -435,6 +435,7 @@ contract DataCompressorV3_00 is IDataCompressorV3_00, ContractsRegisterTrait, Li
|
|
|
435
435
|
|
|
436
436
|
unchecked {
|
|
437
437
|
for (uint256 i; i < len; ++i) {
|
|
438
|
+
console.log("i: ", i);
|
|
438
439
|
address creditManager = creditManagers[i];
|
|
439
440
|
result.creditManagerDebtParams[i] = CreditManagerDebtParams({
|
|
440
441
|
creditManager: creditManager,
|
|
@@ -14,7 +14,7 @@ import {NetworkDetector} from "@gearbox-protocol/sdk-gov/contracts/NetworkDetect
|
|
|
14
14
|
|
|
15
15
|
import "forge-std/console.sol";
|
|
16
16
|
|
|
17
|
-
address constant ap =
|
|
17
|
+
address constant ap = 0xfb78A83730aBd595A362645368D10fE5a20525a6;
|
|
18
18
|
|
|
19
19
|
contract DCTest {
|
|
20
20
|
DataCompressorV2_10 public dc2;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gearbox-protocol/periphery-v3",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.4",
|
|
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,10 +18,10 @@
|
|
|
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.39.
|
|
21
|
+
"@gearbox-protocol/core-v3": "^1.39.2",
|
|
22
|
+
"@gearbox-protocol/integrations-v3": "^1.16.0",
|
|
22
23
|
"@gearbox-protocol/oracles-v3": "^1.7.2",
|
|
23
24
|
"@gearbox-protocol/sdk-gov": "^1.5.10",
|
|
24
|
-
"@gearbox-protocol/integrations-v3": "^1.16.0",
|
|
25
25
|
"@openzeppelin/contracts": "4.8.3"
|
|
26
26
|
},
|
|
27
27
|
"dependencies": {
|