@gearbox-protocol/deploy-tools 4.61.20 → 4.61.22
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 +97 -53
- package/package.json +2 -2
package/dist/index.mjs
CHANGED
|
@@ -9008,54 +9008,6 @@ var require_token = __commonJS({
|
|
|
9008
9008
|
reserve: false
|
|
9009
9009
|
}
|
|
9010
9010
|
],
|
|
9011
|
-
eBTC: [
|
|
9012
|
-
{
|
|
9013
|
-
symbol: "eBTC/BTC",
|
|
9014
|
-
dataId: "eBTC/WBTC",
|
|
9015
|
-
address: "0x91A8ebFA78c3F0c8a39477294f3AD739f2392163",
|
|
9016
|
-
priceFeed: "0x8F56f60759BB0C321830926977be7e33717fbCf7",
|
|
9017
|
-
reserve: false
|
|
9018
|
-
},
|
|
9019
|
-
{
|
|
9020
|
-
symbol: "LBTC",
|
|
9021
|
-
dataId: "LBTC",
|
|
9022
|
-
address: exports2.tokenDataByNetwork.Mainnet.LBTC,
|
|
9023
|
-
priceFeed: "0x2C8283B502E390D83a68AC7A07ecbB75133fbF78",
|
|
9024
|
-
reserve: true
|
|
9025
|
-
}
|
|
9026
|
-
],
|
|
9027
|
-
PT_eBTC_26DEC2024: [
|
|
9028
|
-
{
|
|
9029
|
-
symbol: "eBTC",
|
|
9030
|
-
dataId: "eBTC",
|
|
9031
|
-
address: exports2.tokenDataByNetwork.Mainnet.eBTC,
|
|
9032
|
-
priceFeed: "0x8F56f60759BB0C321830926977be7e33717fbCf7",
|
|
9033
|
-
reserve: false
|
|
9034
|
-
},
|
|
9035
|
-
{
|
|
9036
|
-
symbol: "LBTC",
|
|
9037
|
-
dataId: "LBTC",
|
|
9038
|
-
address: exports2.tokenDataByNetwork.Mainnet.LBTC,
|
|
9039
|
-
priceFeed: "0x2C8283B502E390D83a68AC7A07ecbB75133fbF78",
|
|
9040
|
-
reserve: true
|
|
9041
|
-
}
|
|
9042
|
-
],
|
|
9043
|
-
PT_LBTC_27MAR2025: [
|
|
9044
|
-
{
|
|
9045
|
-
symbol: "LBTC",
|
|
9046
|
-
dataId: "LBTC",
|
|
9047
|
-
address: exports2.tokenDataByNetwork.Mainnet.LBTC,
|
|
9048
|
-
priceFeed: "0xd7396fA3aFB9833293Ce2149EEb3Dbf5380B1e0D",
|
|
9049
|
-
reserve: false
|
|
9050
|
-
},
|
|
9051
|
-
{
|
|
9052
|
-
symbol: "LBTC",
|
|
9053
|
-
dataId: "LBTC",
|
|
9054
|
-
address: exports2.tokenDataByNetwork.Mainnet.LBTC,
|
|
9055
|
-
priceFeed: "0x2C8283B502E390D83a68AC7A07ecbB75133fbF78",
|
|
9056
|
-
reserve: true
|
|
9057
|
-
}
|
|
9058
|
-
],
|
|
9059
9011
|
stkcvxcrvUSDUSDC: [
|
|
9060
9012
|
{
|
|
9061
9013
|
symbol: "crvUSD",
|
|
@@ -9096,6 +9048,67 @@ var require_token = __commonJS({
|
|
|
9096
9048
|
priceFeed: "0xa0b9387f0a74eCB9AC1a3BFE4Ada0E001ffE006b",
|
|
9097
9049
|
reserve: true
|
|
9098
9050
|
}
|
|
9051
|
+
],
|
|
9052
|
+
eBTC: [
|
|
9053
|
+
{
|
|
9054
|
+
symbol: "eBTC/BTC",
|
|
9055
|
+
dataId: "eBTC/WBTC",
|
|
9056
|
+
address: "0x91A8ebFA78c3F0c8a39477294f3AD739f2392163",
|
|
9057
|
+
priceFeed: "0x8F56f60759BB0C321830926977be7e33717fbCf7",
|
|
9058
|
+
reserve: false
|
|
9059
|
+
},
|
|
9060
|
+
{
|
|
9061
|
+
symbol: "LBTC",
|
|
9062
|
+
dataId: "LBTC",
|
|
9063
|
+
address: exports2.tokenDataByNetwork.Mainnet.LBTC,
|
|
9064
|
+
priceFeed: "0x2C8283B502E390D83a68AC7A07ecbB75133fbF78",
|
|
9065
|
+
reserve: true
|
|
9066
|
+
}
|
|
9067
|
+
],
|
|
9068
|
+
PT_eBTC_26DEC2024: [
|
|
9069
|
+
{
|
|
9070
|
+
symbol: "BTC",
|
|
9071
|
+
dataId: "BTC",
|
|
9072
|
+
address: exports2.tokenDataByNetwork.Mainnet.WBTC,
|
|
9073
|
+
priceFeed: "0x744CB10cdf5eeaAE371df375c0367e83045F17DC",
|
|
9074
|
+
reserve: true
|
|
9075
|
+
}
|
|
9076
|
+
],
|
|
9077
|
+
PT_LBTC_27MAR2025: [
|
|
9078
|
+
{
|
|
9079
|
+
symbol: "BTC",
|
|
9080
|
+
dataId: "BTC",
|
|
9081
|
+
address: exports2.tokenDataByNetwork.Mainnet.WBTC,
|
|
9082
|
+
priceFeed: "0x744CB10cdf5eeaAE371df375c0367e83045F17DC",
|
|
9083
|
+
reserve: true
|
|
9084
|
+
}
|
|
9085
|
+
],
|
|
9086
|
+
PT_sUSDe_26DEC2024: [
|
|
9087
|
+
{
|
|
9088
|
+
symbol: "USDe",
|
|
9089
|
+
dataId: "USDe",
|
|
9090
|
+
address: exports2.tokenDataByNetwork.Mainnet.USDe,
|
|
9091
|
+
priceFeed: "0x8A58F957B99E1ED6B3DF20F267a6d5a6dd8e3513",
|
|
9092
|
+
reserve: true
|
|
9093
|
+
}
|
|
9094
|
+
],
|
|
9095
|
+
PT_eETH_26DEC2024: [
|
|
9096
|
+
{
|
|
9097
|
+
symbol: "ETH",
|
|
9098
|
+
dataId: "ETH",
|
|
9099
|
+
address: exports2.tokenDataByNetwork.Mainnet.WETH,
|
|
9100
|
+
priceFeed: "0xB7552ef2A3Db35be75fe1C83BCB99edd2C8A9AAa",
|
|
9101
|
+
reserve: true
|
|
9102
|
+
}
|
|
9103
|
+
],
|
|
9104
|
+
PT_ezETH_26DEC2024: [
|
|
9105
|
+
{
|
|
9106
|
+
symbol: "ETH",
|
|
9107
|
+
dataId: "ETH",
|
|
9108
|
+
address: exports2.tokenDataByNetwork.Mainnet.WETH,
|
|
9109
|
+
priceFeed: "0xB7552ef2A3Db35be75fe1C83BCB99edd2C8A9AAa",
|
|
9110
|
+
reserve: true
|
|
9111
|
+
}
|
|
9099
9112
|
]
|
|
9100
9113
|
},
|
|
9101
9114
|
Arbitrum: {
|
|
@@ -9149,10 +9162,10 @@ var require_token = __commonJS({
|
|
|
9149
9162
|
return exports2.tokenSymbolByAddress[address.toLowerCase()];
|
|
9150
9163
|
}
|
|
9151
9164
|
exports2.getTokenSymbol = getTokenSymbol;
|
|
9152
|
-
function
|
|
9165
|
+
function getTokenSymbolOrTicker2(address) {
|
|
9153
9166
|
return exports2.tokenSymbolByAddress[address.toLowerCase()] || exports2.tickerSymbolByAddress[address.toLowerCase()];
|
|
9154
9167
|
}
|
|
9155
|
-
exports2.getTokenSymbolOrTicker =
|
|
9168
|
+
exports2.getTokenSymbolOrTicker = getTokenSymbolOrTicker2;
|
|
9156
9169
|
function getTokenSymbolOrETH(address) {
|
|
9157
9170
|
if (address.toLowerCase() === exports2.ETH_ADDRESS.toLowerCase())
|
|
9158
9171
|
return "ETH";
|
|
@@ -50555,6 +50568,7 @@ var require_audits = __commonJS({
|
|
|
50555
50568
|
Auditor3["SigmaPrime"] = "Sigma Prime";
|
|
50556
50569
|
Auditor3["Decurity"] = "Decurity";
|
|
50557
50570
|
Auditor3["Pessimistic"] = "Pessimistic";
|
|
50571
|
+
Auditor3["Watchpug"] = "Watchpug";
|
|
50558
50572
|
})(Auditor2 || (exports2.Auditor = Auditor2 = {}));
|
|
50559
50573
|
exports2.auditReports = {
|
|
50560
50574
|
"2022_Oct_Chainsec": {
|
|
@@ -50642,6 +50656,16 @@ var require_audits = __commonJS({
|
|
|
50642
50656
|
auditor: Auditor2.Decurity,
|
|
50643
50657
|
revision: "2024 Aug",
|
|
50644
50658
|
reportLink: "https://github.com/Gearbox-protocol/security/blob/main/audits/2024%20Aug%20-%20Decurity_Gearbox_Pendle_Mellow.pdf"
|
|
50659
|
+
},
|
|
50660
|
+
"2024_Oct_Decurity_SKY": {
|
|
50661
|
+
auditor: Auditor2.Decurity,
|
|
50662
|
+
revision: "2024 Oct",
|
|
50663
|
+
reportLink: "https://github.com/Gearbox-protocol/security/blob/main/audits/2024%20Oct%20-%20Decurity_Gearbox_SKY_integration.pdf"
|
|
50664
|
+
},
|
|
50665
|
+
"2024_Oct_Watchpug_Pendle": {
|
|
50666
|
+
auditor: Auditor2.Watchpug,
|
|
50667
|
+
revision: "2024 Oct",
|
|
50668
|
+
reportLink: "https://github.com/Gearbox-protocol/security/blob/main/audits/2024%20Oct%20-%20Watchpug_Pendle_oracle.pdf"
|
|
50645
50669
|
}
|
|
50646
50670
|
};
|
|
50647
50671
|
exports2.audits = {
|
|
@@ -50738,6 +50762,16 @@ var require_audits = __commonJS({
|
|
|
50738
50762
|
type: "commit",
|
|
50739
50763
|
commit: "247e7b69cb39f736358de8b0ec6b7f36bc8ec53f",
|
|
50740
50764
|
report: exports2.auditReports["2024_Aug_Decurity_Pendle_Mellow"]
|
|
50765
|
+
},
|
|
50766
|
+
{
|
|
50767
|
+
type: "commit",
|
|
50768
|
+
commit: "7ca0f2196d643e3196f78204db9400f91c1d5c5a",
|
|
50769
|
+
report: exports2.auditReports["2024_Oct_Decurity_SKY"]
|
|
50770
|
+
},
|
|
50771
|
+
{
|
|
50772
|
+
type: "commit",
|
|
50773
|
+
commit: "e3e558df565f3541ca90a2afd40d9e76eded2fa9",
|
|
50774
|
+
report: exports2.auditReports["2024_Oct_Decurity_SKY"]
|
|
50741
50775
|
}
|
|
50742
50776
|
],
|
|
50743
50777
|
governance: [
|
|
@@ -50779,6 +50813,16 @@ var require_audits = __commonJS({
|
|
|
50779
50813
|
type: "commit",
|
|
50780
50814
|
commit: "e2357489a6f39d9f1862f854e6ef66f894adc63e",
|
|
50781
50815
|
report: exports2.auditReports["2024_Aug_Decurity_Pendle_Mellow"]
|
|
50816
|
+
},
|
|
50817
|
+
{
|
|
50818
|
+
type: "commit",
|
|
50819
|
+
commit: "593aba9c41c374152e1fa57101f186a58e79c6c3",
|
|
50820
|
+
report: exports2.auditReports["2024_Oct_Watchpug_Pendle"]
|
|
50821
|
+
},
|
|
50822
|
+
{
|
|
50823
|
+
type: "commit",
|
|
50824
|
+
commit: "38b3a3461143af50d14c0b34f163ad3e774ade6f",
|
|
50825
|
+
report: exports2.auditReports["2024_Oct_Decurity_SKY"]
|
|
50782
50826
|
}
|
|
50783
50827
|
]
|
|
50784
50828
|
};
|
|
@@ -329073,7 +329117,7 @@ var parseAddressArray = (humanName) => (parameter) => {
|
|
|
329073
329117
|
};
|
|
329074
329118
|
};
|
|
329075
329119
|
function getParsedToken(address) {
|
|
329076
|
-
let symbol = import_sdk_gov10.
|
|
329120
|
+
let symbol = (0, import_sdk_gov10.getTokenSymbolOrTicker)(address);
|
|
329077
329121
|
let isCreate2;
|
|
329078
329122
|
if (!symbol) {
|
|
329079
329123
|
const pool = container.addressTree.getContract(address);
|
|
@@ -329100,7 +329144,7 @@ var parseToken = (humanName) => (parameter) => {
|
|
|
329100
329144
|
};
|
|
329101
329145
|
};
|
|
329102
329146
|
var parseTokenAmount = (token, humanName) => (parameter) => {
|
|
329103
|
-
const symbol = import_sdk_gov10.
|
|
329147
|
+
const symbol = (0, import_sdk_gov10.getTokenSymbolOrTicker)(token);
|
|
329104
329148
|
if (!symbol) {
|
|
329105
329149
|
throw new Error(`unknown token ${token}`);
|
|
329106
329150
|
}
|
|
@@ -332751,7 +332795,7 @@ function getRenderer(opts) {
|
|
|
332751
332795
|
}
|
|
332752
332796
|
|
|
332753
332797
|
// package.json
|
|
332754
|
-
var version2 = "4.61.
|
|
332798
|
+
var version2 = "4.61.22";
|
|
332755
332799
|
|
|
332756
332800
|
// src/version.ts
|
|
332757
332801
|
var version_default = version2;
|
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": "4.61.
|
|
4
|
+
"version": "4.61.22",
|
|
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-gov": "^2.
|
|
47
|
+
"@gearbox-protocol/sdk-gov": "^2.26.1",
|
|
48
48
|
"@types/lodash-es": "^4.17.12",
|
|
49
49
|
"@types/node": "^22.9.0",
|
|
50
50
|
"@types/react": "^18.3.12",
|