@gearbox-protocol/deploy-tools 5.10.1 → 5.10.3
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 -3
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -415358,14 +415358,18 @@ async function executeJSON({
|
|
|
415358
415358
|
return;
|
|
415359
415359
|
}
|
|
415360
415360
|
log_default.debug(`found ${txs.length} transactions`);
|
|
415361
|
-
console.log(txs);
|
|
415362
415361
|
const client = createPublicClient({
|
|
415363
415362
|
transport: http(rpcURL),
|
|
415364
415363
|
pollingInterval: 50,
|
|
415365
415364
|
cacheTime: 0
|
|
415366
415365
|
}).extend(testActions({ mode: "anvil" }));
|
|
415367
415366
|
const marketConfigurator = txs[0].to;
|
|
415368
|
-
|
|
415367
|
+
if (!isAddress(marketConfigurator, { strict: false })) {
|
|
415368
|
+
throw new Error(
|
|
415369
|
+
`Market configurator "${marketConfigurator}" is not an address`
|
|
415370
|
+
);
|
|
415371
|
+
}
|
|
415372
|
+
log_default.debug(`Market configurator: ${marketConfigurator}`);
|
|
415369
415373
|
const owner = await client.readContract({
|
|
415370
415374
|
address: marketConfigurator,
|
|
415371
415375
|
abi: parseAbi(["function admin() view returns (address)"]),
|
|
@@ -415650,7 +415654,7 @@ function getRenderer(opts) {
|
|
|
415650
415654
|
var package_default = {
|
|
415651
415655
|
name: "@gearbox-protocol/deploy-tools",
|
|
415652
415656
|
description: "Gearbox deploy tools",
|
|
415653
|
-
version: "5.10.
|
|
415657
|
+
version: "5.10.3",
|
|
415654
415658
|
homepage: "https://gearbox.fi",
|
|
415655
415659
|
keywords: [
|
|
415656
415660
|
"gearbox"
|