@gearbox-protocol/deploy-tools 5.58.2 → 5.59.0
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 +138 -11
- package/package.json +7 -7
package/dist/index.mjs
CHANGED
|
@@ -4480,7 +4480,7 @@ var init_size = __esm({
|
|
|
4480
4480
|
var version2;
|
|
4481
4481
|
var init_version2 = __esm({
|
|
4482
4482
|
"../../node_modules/viem/_esm/errors/version.js"() {
|
|
4483
|
-
version2 = "2.
|
|
4483
|
+
version2 = "2.39.0";
|
|
4484
4484
|
}
|
|
4485
4485
|
});
|
|
4486
4486
|
|
|
@@ -121893,6 +121893,7 @@ var require_allowance_module2 = __commonJS({
|
|
|
121893
121893
|
"204": "0xAA46724893dedD72658219405185Fb0Fc91e091C",
|
|
121894
121894
|
"288": "0xAA46724893dedD72658219405185Fb0Fc91e091C",
|
|
121895
121895
|
"988": "0xAA46724893dedD72658219405185Fb0Fc91e091C",
|
|
121896
|
+
"999": "0xAA46724893dedD72658219405185Fb0Fc91e091C",
|
|
121896
121897
|
"3338": "0xAA46724893dedD72658219405185Fb0Fc91e091C",
|
|
121897
121898
|
"3637": "0xAA46724893dedD72658219405185Fb0Fc91e091C",
|
|
121898
121899
|
"9745": "0xAA46724893dedD72658219405185Fb0Fc91e091C",
|
|
@@ -231703,7 +231704,7 @@ async function getStorageAt(client, { address, blockNumber: blockNumber2, blockT
|
|
|
231703
231704
|
// ../../node_modules/viem/_esm/actions/public/getTransaction.js
|
|
231704
231705
|
init_transaction();
|
|
231705
231706
|
init_toHex();
|
|
231706
|
-
async function getTransaction(client, { blockHash, blockNumber: blockNumber2, blockTag: blockTag_, hash: hash4, index: index2 }) {
|
|
231707
|
+
async function getTransaction(client, { blockHash, blockNumber: blockNumber2, blockTag: blockTag_, hash: hash4, index: index2, sender, nonce }) {
|
|
231707
231708
|
const blockTag2 = blockTag_ || "latest";
|
|
231708
231709
|
const blockNumberHex = blockNumber2 !== void 0 ? numberToHex(blockNumber2) : void 0;
|
|
231709
231710
|
let transaction = null;
|
|
@@ -231717,11 +231718,16 @@ async function getTransaction(client, { blockHash, blockNumber: blockNumber2, bl
|
|
|
231717
231718
|
method: "eth_getTransactionByBlockHashAndIndex",
|
|
231718
231719
|
params: [blockHash, numberToHex(index2)]
|
|
231719
231720
|
}, { dedupe: true });
|
|
231720
|
-
} else if (blockNumberHex || blockTag2) {
|
|
231721
|
+
} else if ((blockNumberHex || blockTag2) && typeof index2 === "number") {
|
|
231721
231722
|
transaction = await client.request({
|
|
231722
231723
|
method: "eth_getTransactionByBlockNumberAndIndex",
|
|
231723
231724
|
params: [blockNumberHex || blockTag2, numberToHex(index2)]
|
|
231724
231725
|
}, { dedupe: Boolean(blockNumberHex) });
|
|
231726
|
+
} else if (sender && typeof nonce === "number") {
|
|
231727
|
+
transaction = await client.request({
|
|
231728
|
+
method: "eth_getTransactionBySenderAndNonce",
|
|
231729
|
+
params: [sender, numberToHex(nonce)]
|
|
231730
|
+
}, { dedupe: true });
|
|
231725
231731
|
}
|
|
231726
231732
|
if (!transaction)
|
|
231727
231733
|
throw new TransactionNotFoundError({
|
|
@@ -234879,6 +234885,7 @@ __export(chains_exports, {
|
|
|
234879
234885
|
hederaPreviewnet: () => hederaPreviewnet,
|
|
234880
234886
|
hederaTestnet: () => hederaTestnet,
|
|
234881
234887
|
hela: () => hela,
|
|
234888
|
+
heliosTestnet: () => heliosTestnet,
|
|
234882
234889
|
hemi: () => hemi,
|
|
234883
234890
|
hemiSepolia: () => hemiSepolia,
|
|
234884
234891
|
holesky: () => holesky,
|
|
@@ -235074,6 +235081,7 @@ __export(chains_exports, {
|
|
|
235074
235081
|
polygonZkEvmTestnet: () => polygonZkEvmTestnet,
|
|
235075
235082
|
polynomial: () => polynomial,
|
|
235076
235083
|
polynomialSepolia: () => polynomialSepolia,
|
|
235084
|
+
potos: () => potos,
|
|
235077
235085
|
premiumBlockTestnet: () => premiumBlockTestnet,
|
|
235078
235086
|
pulsechain: () => pulsechain,
|
|
235079
235087
|
pulsechainV4: () => pulsechainV4,
|
|
@@ -235128,6 +235136,7 @@ __export(chains_exports, {
|
|
|
235128
235136
|
shimmer: () => shimmer,
|
|
235129
235137
|
shimmerTestnet: () => shimmerTestnet,
|
|
235130
235138
|
sidraChain: () => sidraChain,
|
|
235139
|
+
silentData: () => silentData,
|
|
235131
235140
|
silicon: () => silicon,
|
|
235132
235141
|
siliconSepolia: () => siliconSepolia,
|
|
235133
235142
|
sixProtocol: () => sixProtocol,
|
|
@@ -235249,6 +235258,8 @@ __export(chains_exports, {
|
|
|
235249
235258
|
xaiTestnet: () => xaiTestnet,
|
|
235250
235259
|
xdc: () => xdc,
|
|
235251
235260
|
xdcTestnet: () => xdcTestnet,
|
|
235261
|
+
xoneMainnet: () => xoneMainnet,
|
|
235262
|
+
xoneTestnet: () => xoneTestnet,
|
|
235252
235263
|
xphereMainnet: () => xphereMainnet,
|
|
235253
235264
|
xphereTestnet: () => xphereTestnet,
|
|
235254
235265
|
xrOne: () => xrOne,
|
|
@@ -236217,7 +236228,7 @@ var anvil = /* @__PURE__ */ defineChain({
|
|
|
236217
236228
|
var sourceId3 = 42161;
|
|
236218
236229
|
var apeChain = /* @__PURE__ */ defineChain({
|
|
236219
236230
|
id: 33139,
|
|
236220
|
-
name: "
|
|
236231
|
+
name: "ApeChain",
|
|
236221
236232
|
nativeCurrency: {
|
|
236222
236233
|
name: "ApeCoin",
|
|
236223
236234
|
symbol: "APE",
|
|
@@ -242239,6 +242250,30 @@ var hela = /* @__PURE__ */ defineChain({
|
|
|
242239
242250
|
testnet: false
|
|
242240
242251
|
});
|
|
242241
242252
|
|
|
242253
|
+
// ../../node_modules/viem/_esm/chains/definitions/heliosTestnet.js
|
|
242254
|
+
var heliosTestnet = /* @__PURE__ */ defineChain({
|
|
242255
|
+
id: 42e3,
|
|
242256
|
+
name: "Helios Testnet",
|
|
242257
|
+
network: "helios-testnet",
|
|
242258
|
+
nativeCurrency: {
|
|
242259
|
+
symbol: "HLS",
|
|
242260
|
+
name: "Helios",
|
|
242261
|
+
decimals: 18
|
|
242262
|
+
},
|
|
242263
|
+
rpcUrls: {
|
|
242264
|
+
default: {
|
|
242265
|
+
http: ["https://testnet1.helioschainlabs.org"]
|
|
242266
|
+
}
|
|
242267
|
+
},
|
|
242268
|
+
blockExplorers: {
|
|
242269
|
+
default: {
|
|
242270
|
+
name: "Helios Testnet Explorer",
|
|
242271
|
+
url: "https://explorer.helioschainlabs.org/"
|
|
242272
|
+
}
|
|
242273
|
+
},
|
|
242274
|
+
testnet: true
|
|
242275
|
+
});
|
|
242276
|
+
|
|
242242
242277
|
// ../../node_modules/viem/_esm/chains/definitions/hemi.js
|
|
242243
242278
|
var hemi = /* @__PURE__ */ defineChain({
|
|
242244
242279
|
id: 43111,
|
|
@@ -247478,6 +247513,29 @@ var polynomialSepolia = /* @__PURE__ */ defineChain({
|
|
|
247478
247513
|
}
|
|
247479
247514
|
});
|
|
247480
247515
|
|
|
247516
|
+
// ../../node_modules/viem/_esm/chains/definitions/potos.js
|
|
247517
|
+
var potos = /* @__PURE__ */ defineChain({
|
|
247518
|
+
id: 60603,
|
|
247519
|
+
name: "POTOS Mainnet",
|
|
247520
|
+
nativeCurrency: {
|
|
247521
|
+
decimals: 18,
|
|
247522
|
+
name: "POTOS Token",
|
|
247523
|
+
symbol: "POT"
|
|
247524
|
+
},
|
|
247525
|
+
rpcUrls: {
|
|
247526
|
+
default: {
|
|
247527
|
+
http: ["https://rpc.potos.hk"]
|
|
247528
|
+
}
|
|
247529
|
+
},
|
|
247530
|
+
blockExplorers: {
|
|
247531
|
+
default: {
|
|
247532
|
+
name: "POTOS Mainnet explorer",
|
|
247533
|
+
url: "https://scan.potos.hk"
|
|
247534
|
+
}
|
|
247535
|
+
},
|
|
247536
|
+
testnet: false
|
|
247537
|
+
});
|
|
247538
|
+
|
|
247481
247539
|
// ../../node_modules/viem/_esm/chains/definitions/premiumBlock.js
|
|
247482
247540
|
var premiumBlockTestnet = /* @__PURE__ */ defineChain({
|
|
247483
247541
|
id: 23023,
|
|
@@ -248895,6 +248953,25 @@ var sidraChain = /* @__PURE__ */ defineChain({
|
|
|
248895
248953
|
}
|
|
248896
248954
|
});
|
|
248897
248955
|
|
|
248956
|
+
// ../../node_modules/viem/_esm/chains/definitions/silentdata.js
|
|
248957
|
+
var silentData = /* @__PURE__ */ defineChain({
|
|
248958
|
+
id: 380929,
|
|
248959
|
+
name: "Silent Data Mainnet",
|
|
248960
|
+
nativeCurrency: { name: "Ether", symbol: "ETH", decimals: 18 },
|
|
248961
|
+
rpcUrls: {
|
|
248962
|
+
default: {
|
|
248963
|
+
http: ["https://mainnet.silentdata.com"]
|
|
248964
|
+
}
|
|
248965
|
+
},
|
|
248966
|
+
blockExplorers: {
|
|
248967
|
+
default: {
|
|
248968
|
+
name: "Silent Data Mainnet Explorer",
|
|
248969
|
+
url: "https://explorer-mainnet.rollup.silentdata.com"
|
|
248970
|
+
}
|
|
248971
|
+
},
|
|
248972
|
+
testnet: false
|
|
248973
|
+
});
|
|
248974
|
+
|
|
248898
248975
|
// ../../node_modules/viem/_esm/chains/definitions/silicon.js
|
|
248899
248976
|
var silicon = /* @__PURE__ */ defineChain({
|
|
248900
248977
|
id: 2355,
|
|
@@ -251938,6 +252015,56 @@ var xLayerTestnet = /* @__PURE__ */ defineChain({
|
|
|
251938
252015
|
testnet: true
|
|
251939
252016
|
});
|
|
251940
252017
|
|
|
252018
|
+
// ../../node_modules/viem/_esm/chains/definitions/xoneMainnet.js
|
|
252019
|
+
var xoneMainnet = /* @__PURE__ */ defineChain({
|
|
252020
|
+
id: 3721,
|
|
252021
|
+
name: "Xone Chain Mainnet",
|
|
252022
|
+
nativeCurrency: {
|
|
252023
|
+
decimals: 18,
|
|
252024
|
+
name: "XOC",
|
|
252025
|
+
symbol: "XOC"
|
|
252026
|
+
},
|
|
252027
|
+
rpcUrls: {
|
|
252028
|
+
default: { http: ["https://rpc.xone.org"] }
|
|
252029
|
+
},
|
|
252030
|
+
blockExplorers: {
|
|
252031
|
+
default: {
|
|
252032
|
+
name: "Xone Mainnet Explorer",
|
|
252033
|
+
url: "https://xonescan.com",
|
|
252034
|
+
apiUrl: "http://api.xonescan.com/api"
|
|
252035
|
+
}
|
|
252036
|
+
},
|
|
252037
|
+
testnet: false
|
|
252038
|
+
});
|
|
252039
|
+
|
|
252040
|
+
// ../../node_modules/viem/_esm/chains/definitions/xoneTestnet.js
|
|
252041
|
+
var xoneTestnet = /* @__PURE__ */ defineChain({
|
|
252042
|
+
id: 33772211,
|
|
252043
|
+
name: "Xone Chain Testnet",
|
|
252044
|
+
nativeCurrency: {
|
|
252045
|
+
decimals: 18,
|
|
252046
|
+
name: "XOC",
|
|
252047
|
+
symbol: "XOC"
|
|
252048
|
+
},
|
|
252049
|
+
rpcUrls: {
|
|
252050
|
+
default: {
|
|
252051
|
+
http: [
|
|
252052
|
+
"https://rpc-testnet.xone.org",
|
|
252053
|
+
"https://rpc-testnet.xone.plus",
|
|
252054
|
+
"https://rpc-testnet.knight.center"
|
|
252055
|
+
]
|
|
252056
|
+
}
|
|
252057
|
+
},
|
|
252058
|
+
blockExplorers: {
|
|
252059
|
+
default: {
|
|
252060
|
+
name: "Xone Testnet Explorer",
|
|
252061
|
+
url: "https://testnet.xonescan.com",
|
|
252062
|
+
apiUrl: "http://api.testnet.xonescan.com/api"
|
|
252063
|
+
}
|
|
252064
|
+
},
|
|
252065
|
+
testnet: true
|
|
252066
|
+
});
|
|
252067
|
+
|
|
251941
252068
|
// ../../node_modules/viem/_esm/chains/definitions/xphereMainnet.js
|
|
251942
252069
|
var xphereMainnet = /* @__PURE__ */ defineChain({
|
|
251943
252070
|
id: 20250217,
|
|
@@ -310549,7 +310676,7 @@ function getRenderer(opts) {
|
|
|
310549
310676
|
var package_default = {
|
|
310550
310677
|
name: "@gearbox-protocol/deploy-tools",
|
|
310551
310678
|
description: "Gearbox deploy tools",
|
|
310552
|
-
version: "5.
|
|
310679
|
+
version: "5.59.0",
|
|
310553
310680
|
homepage: "https://gearbox.fi",
|
|
310554
310681
|
keywords: [
|
|
310555
310682
|
"gearbox"
|
|
@@ -310589,17 +310716,17 @@ var package_default = {
|
|
|
310589
310716
|
"@gearbox-protocol/deploy-tools-node": "0.0.0",
|
|
310590
310717
|
"@gearbox-protocol/deploy-tools-shared": "0.0.0",
|
|
310591
310718
|
"@gearbox-protocol/deploy-tools-types": "0.0.0",
|
|
310592
|
-
"@gearbox-protocol/sdk": "10.
|
|
310719
|
+
"@gearbox-protocol/sdk": "10.10.1",
|
|
310593
310720
|
"@gearbox-protocol/sdk-gov": "2.34.0-next.114",
|
|
310594
310721
|
"@types/lodash-es": "^4.17.12",
|
|
310595
|
-
"@types/node": "^24.10.
|
|
310596
|
-
"@types/react": "^19.2.
|
|
310597
|
-
"@types/react-dom": "^19.2.
|
|
310722
|
+
"@types/node": "^24.10.1",
|
|
310723
|
+
"@types/react": "^19.2.3",
|
|
310724
|
+
"@types/react-dom": "^19.2.3",
|
|
310598
310725
|
abitype: "^1.1.1",
|
|
310599
310726
|
chalk: "^5.6.2",
|
|
310600
310727
|
commander: "^14.0.2",
|
|
310601
310728
|
"date-fns": "^4.1.0",
|
|
310602
|
-
esbuild: "^0.
|
|
310729
|
+
esbuild: "^0.27.0",
|
|
310603
310730
|
"lodash-es": "^4.17.21",
|
|
310604
310731
|
"p-retry": "^7.0.0",
|
|
310605
310732
|
pino: "^10.0.0",
|
|
@@ -310609,7 +310736,7 @@ var package_default = {
|
|
|
310609
310736
|
"react-dom": "^19.2.0",
|
|
310610
310737
|
table: "^6.9.0",
|
|
310611
310738
|
tsx: "^4.20.6",
|
|
310612
|
-
viem: "^2.
|
|
310739
|
+
viem: "^2.39.0",
|
|
310613
310740
|
yaml: "^2.8.1",
|
|
310614
310741
|
zod: "^4.1.12"
|
|
310615
310742
|
}
|
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.
|
|
4
|
+
"version": "5.59.0",
|
|
5
5
|
"homepage": "https://gearbox.fi",
|
|
6
6
|
"keywords": [
|
|
7
7
|
"gearbox"
|
|
@@ -41,17 +41,17 @@
|
|
|
41
41
|
"@gearbox-protocol/deploy-tools-node": "0.0.0",
|
|
42
42
|
"@gearbox-protocol/deploy-tools-shared": "0.0.0",
|
|
43
43
|
"@gearbox-protocol/deploy-tools-types": "0.0.0",
|
|
44
|
-
"@gearbox-protocol/sdk": "10.
|
|
44
|
+
"@gearbox-protocol/sdk": "10.10.1",
|
|
45
45
|
"@gearbox-protocol/sdk-gov": "2.34.0-next.114",
|
|
46
46
|
"@types/lodash-es": "^4.17.12",
|
|
47
|
-
"@types/node": "^24.10.
|
|
48
|
-
"@types/react": "^19.2.
|
|
49
|
-
"@types/react-dom": "^19.2.
|
|
47
|
+
"@types/node": "^24.10.1",
|
|
48
|
+
"@types/react": "^19.2.3",
|
|
49
|
+
"@types/react-dom": "^19.2.3",
|
|
50
50
|
"abitype": "^1.1.1",
|
|
51
51
|
"chalk": "^5.6.2",
|
|
52
52
|
"commander": "^14.0.2",
|
|
53
53
|
"date-fns": "^4.1.0",
|
|
54
|
-
"esbuild": "^0.
|
|
54
|
+
"esbuild": "^0.27.0",
|
|
55
55
|
"lodash-es": "^4.17.21",
|
|
56
56
|
"p-retry": "^7.0.0",
|
|
57
57
|
"pino": "^10.0.0",
|
|
@@ -61,7 +61,7 @@
|
|
|
61
61
|
"react-dom": "^19.2.0",
|
|
62
62
|
"table": "^6.9.0",
|
|
63
63
|
"tsx": "^4.20.6",
|
|
64
|
-
"viem": "^2.
|
|
64
|
+
"viem": "^2.39.0",
|
|
65
65
|
"yaml": "^2.8.1",
|
|
66
66
|
"zod": "^4.1.12"
|
|
67
67
|
}
|