@gearbox-protocol/deploy-tools 5.21.3 → 5.21.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.
- package/dist/index.mjs +12 -8
- package/package.json +2 -2
package/dist/index.mjs
CHANGED
|
@@ -385749,20 +385749,24 @@ var PriceOracleBaseContract = class extends BaseContract {
|
|
|
385749
385749
|
const price = node?.answer?.price;
|
|
385750
385750
|
if (reserve) {
|
|
385751
385751
|
this.reservePriceFeeds.upsert(token, ref);
|
|
385752
|
-
if (price) {
|
|
385752
|
+
if (price !== void 0) {
|
|
385753
385753
|
this.reservePrices.upsert(token, price);
|
|
385754
|
-
}
|
|
385754
|
+
}
|
|
385755
|
+
if (!price) {
|
|
385755
385756
|
this.logger?.warn(
|
|
385756
|
-
|
|
385757
|
+
node ?? {},
|
|
385758
|
+
`answer not found for reserve price feed ${this.labelAddress(priceFeed)}`
|
|
385757
385759
|
);
|
|
385758
385760
|
}
|
|
385759
385761
|
} else {
|
|
385760
385762
|
this.mainPriceFeeds.upsert(token, ref);
|
|
385761
|
-
if (price) {
|
|
385763
|
+
if (price !== void 0) {
|
|
385762
385764
|
this.mainPrices.upsert(token, price);
|
|
385763
|
-
}
|
|
385765
|
+
}
|
|
385766
|
+
if (!price) {
|
|
385764
385767
|
this.logger?.warn(
|
|
385765
|
-
|
|
385768
|
+
node ?? {},
|
|
385769
|
+
`answer not found for main price feed ${this.labelAddress(priceFeed)}`
|
|
385766
385770
|
);
|
|
385767
385771
|
}
|
|
385768
385772
|
}
|
|
@@ -419027,7 +419031,7 @@ function getRenderer(opts) {
|
|
|
419027
419031
|
var package_default = {
|
|
419028
419032
|
name: "@gearbox-protocol/deploy-tools",
|
|
419029
419033
|
description: "Gearbox deploy tools",
|
|
419030
|
-
version: "5.21.
|
|
419034
|
+
version: "5.21.4",
|
|
419031
419035
|
homepage: "https://gearbox.fi",
|
|
419032
419036
|
keywords: [
|
|
419033
419037
|
"gearbox"
|
|
@@ -419070,7 +419074,7 @@ var package_default = {
|
|
|
419070
419074
|
"@gearbox-protocol/deploy-tools-node": "0.0.0",
|
|
419071
419075
|
"@gearbox-protocol/deploy-tools-shared": "0.0.0",
|
|
419072
419076
|
"@gearbox-protocol/deploy-tools-types": "0.0.0",
|
|
419073
|
-
"@gearbox-protocol/sdk": "3.0.0-vfour.
|
|
419077
|
+
"@gearbox-protocol/sdk": "3.0.0-vfour.318",
|
|
419074
419078
|
"@gearbox-protocol/sdk-gov": "^2.36.6",
|
|
419075
419079
|
"@types/lodash-es": "^4.17.12",
|
|
419076
419080
|
"@types/node": "^22.13.10",
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gearbox-protocol/deploy-tools",
|
|
3
3
|
"description": "Gearbox deploy tools",
|
|
4
|
-
"version": "5.21.
|
|
4
|
+
"version": "5.21.4",
|
|
5
5
|
"homepage": "https://gearbox.fi",
|
|
6
6
|
"keywords": [
|
|
7
7
|
"gearbox"
|
|
@@ -44,7 +44,7 @@
|
|
|
44
44
|
"@gearbox-protocol/deploy-tools-node": "0.0.0",
|
|
45
45
|
"@gearbox-protocol/deploy-tools-shared": "0.0.0",
|
|
46
46
|
"@gearbox-protocol/deploy-tools-types": "0.0.0",
|
|
47
|
-
"@gearbox-protocol/sdk": "3.0.0-vfour.
|
|
47
|
+
"@gearbox-protocol/sdk": "3.0.0-vfour.318",
|
|
48
48
|
"@gearbox-protocol/sdk-gov": "^2.36.6",
|
|
49
49
|
"@types/lodash-es": "^4.17.12",
|
|
50
50
|
"@types/node": "^22.13.10",
|