@gearbox-protocol/deploy-tools 5.45.2 → 5.45.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 +5 -3
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -446391,13 +446391,15 @@ function defillamaTest() {
|
|
|
446391
446391
|
args: [addressProvider]
|
|
446392
446392
|
});
|
|
446393
446393
|
log_default.info(`deployed defillama compressor at ${address}`);
|
|
446394
|
+
const mcs = sdk.marketRegister.marketConfigurators.map((mc) => mc.address);
|
|
446395
|
+
log_default.info(`got ${mcs.length} market configurators: ${mcs.join(", ")}`);
|
|
446394
446396
|
const result = {};
|
|
446395
446397
|
try {
|
|
446396
446398
|
result.poolsGas = await sdk.provider.publicClient.estimateContractGas({
|
|
446397
446399
|
abi: DefillamaCompressorAbi,
|
|
446398
446400
|
address,
|
|
446399
446401
|
functionName: "getPools",
|
|
446400
|
-
args: [
|
|
446402
|
+
args: [mcs]
|
|
446401
446403
|
});
|
|
446402
446404
|
} catch (e) {
|
|
446403
446405
|
log_default.error(`error estimating pools gas: ${e}`);
|
|
@@ -446408,7 +446410,7 @@ function defillamaTest() {
|
|
|
446408
446410
|
address,
|
|
446409
446411
|
abi: DefillamaCompressorAbi,
|
|
446410
446412
|
functionName: "getPools",
|
|
446411
|
-
args: [
|
|
446413
|
+
args: [mcs],
|
|
446412
446414
|
// @ts-expect-error
|
|
446413
446415
|
gas
|
|
446414
446416
|
});
|
|
@@ -446732,7 +446734,7 @@ function getRenderer(opts) {
|
|
|
446732
446734
|
var package_default = {
|
|
446733
446735
|
name: "@gearbox-protocol/deploy-tools",
|
|
446734
446736
|
description: "Gearbox deploy tools",
|
|
446735
|
-
version: "5.45.
|
|
446737
|
+
version: "5.45.3",
|
|
446736
446738
|
homepage: "https://gearbox.fi",
|
|
446737
446739
|
keywords: [
|
|
446738
446740
|
"gearbox"
|