@gearbox-protocol/deploy-tools 5.10.2 → 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 -11
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -415364,16 +415364,12 @@ async function executeJSON({
|
|
|
415364
415364
|
cacheTime: 0
|
|
415365
415365
|
}).extend(testActions({ mode: "anvil" }));
|
|
415366
415366
|
const marketConfigurator = txs[0].to;
|
|
415367
|
-
|
|
415368
|
-
|
|
415369
|
-
|
|
415370
|
-
|
|
415371
|
-
|
|
415372
|
-
|
|
415373
|
-
tx0K,
|
|
415374
|
-
t: typeof txs
|
|
415375
|
-
});
|
|
415376
|
-
log_default.debug("Market configurator: ", marketConfigurator);
|
|
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}`);
|
|
415377
415373
|
const owner = await client.readContract({
|
|
415378
415374
|
address: marketConfigurator,
|
|
415379
415375
|
abi: parseAbi(["function admin() view returns (address)"]),
|
|
@@ -415658,7 +415654,7 @@ function getRenderer(opts) {
|
|
|
415658
415654
|
var package_default = {
|
|
415659
415655
|
name: "@gearbox-protocol/deploy-tools",
|
|
415660
415656
|
description: "Gearbox deploy tools",
|
|
415661
|
-
version: "5.10.
|
|
415657
|
+
version: "5.10.3",
|
|
415662
415658
|
homepage: "https://gearbox.fi",
|
|
415663
415659
|
keywords: [
|
|
415664
415660
|
"gearbox"
|