@gearbox-protocol/deploy-tools 5.9.13 → 5.9.15
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 +7 -4
- package/package.json +2 -2
package/dist/index.mjs
CHANGED
|
@@ -366321,7 +366321,7 @@ var GaugeContract = class extends BaseContract {
|
|
|
366321
366321
|
quotaParams: this.quotaParams.entries().reduce(
|
|
366322
366322
|
(acc, [address, params]) => ({
|
|
366323
366323
|
...acc,
|
|
366324
|
-
[address]: {
|
|
366324
|
+
[this.labelAddress(address)]: {
|
|
366325
366325
|
minRate: percentFmt(params.minRate, raw),
|
|
366326
366326
|
maxRate: percentFmt(params.maxRate, raw),
|
|
366327
366327
|
totalVotesLpSide: params.totalVotesLpSide / WAD,
|
|
@@ -374034,14 +374034,16 @@ var AbstractPriceFeedContract = class extends BaseContract {
|
|
|
374034
374034
|
#underlyingPriceFeeds;
|
|
374035
374035
|
#skipCheck;
|
|
374036
374036
|
hasLowerBoundCap = false;
|
|
374037
|
+
description;
|
|
374037
374038
|
constructor(sdk, args) {
|
|
374038
374039
|
super(sdk, {
|
|
374039
374040
|
abi: args.abi,
|
|
374040
374041
|
addr: args.baseParams.addr,
|
|
374041
|
-
name: args.name,
|
|
374042
|
+
name: args.name + (args.description ? ` ${args.description}` : ""),
|
|
374042
374043
|
contractType: args.baseParams.contractType,
|
|
374043
374044
|
version: args.baseParams.version
|
|
374044
374045
|
});
|
|
374046
|
+
this.description = args.description;
|
|
374045
374047
|
this.#decimals = args.decimals;
|
|
374046
374048
|
this.#updatable = args.updatable;
|
|
374047
374049
|
this.#skipCheck = args.skipCheck;
|
|
@@ -374088,6 +374090,7 @@ var AbstractPriceFeedContract = class extends BaseContract {
|
|
|
374088
374090
|
stateHuman(raw = true) {
|
|
374089
374091
|
return {
|
|
374090
374092
|
...super.stateHuman(raw),
|
|
374093
|
+
description: this.description,
|
|
374091
374094
|
contractType: this.priceFeedType,
|
|
374092
374095
|
skipCheck: this.skipCheck,
|
|
374093
374096
|
pricefeeds: this.underlyingPriceFeeds.map((f) => f.stateHuman(raw))
|
|
@@ -411079,7 +411082,7 @@ function getRenderer(opts) {
|
|
|
411079
411082
|
var package_default = {
|
|
411080
411083
|
name: "@gearbox-protocol/deploy-tools",
|
|
411081
411084
|
description: "Gearbox deploy tools",
|
|
411082
|
-
version: "5.9.
|
|
411085
|
+
version: "5.9.15",
|
|
411083
411086
|
homepage: "https://gearbox.fi",
|
|
411084
411087
|
keywords: [
|
|
411085
411088
|
"gearbox"
|
|
@@ -411122,7 +411125,7 @@ var package_default = {
|
|
|
411122
411125
|
"@gearbox-protocol/deploy-tools-node": "0.0.0",
|
|
411123
411126
|
"@gearbox-protocol/deploy-tools-shared": "0.0.0",
|
|
411124
411127
|
"@gearbox-protocol/deploy-tools-types": "0.0.0",
|
|
411125
|
-
"@gearbox-protocol/sdk": "3.0.0-vfour.
|
|
411128
|
+
"@gearbox-protocol/sdk": "3.0.0-vfour.225",
|
|
411126
411129
|
"@gearbox-protocol/sdk-gov": "^2.34.0",
|
|
411127
411130
|
"@types/lodash-es": "^4.17.12",
|
|
411128
411131
|
"@types/node": "^22.12.0",
|
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.9.
|
|
4
|
+
"version": "5.9.15",
|
|
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.225",
|
|
48
48
|
"@gearbox-protocol/sdk-gov": "^2.34.0",
|
|
49
49
|
"@types/lodash-es": "^4.17.12",
|
|
50
50
|
"@types/node": "^22.12.0",
|