@gearbox-protocol/sdk 3.0.0-vfour.293 → 3.0.0-vfour.294
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.
|
@@ -251,7 +251,7 @@ class AccountOpener extends import_sdk.SDKConstruct {
|
|
|
251
251
|
totalUSD += market.priceOracle.convertToUSD(pool.underlying, diff);
|
|
252
252
|
}
|
|
253
253
|
}
|
|
254
|
-
totalUSD = totalUSD * import_sdk.PERCENTAGE_FACTOR /
|
|
254
|
+
totalUSD = totalUSD * import_sdk.PERCENTAGE_FACTOR / 8950n;
|
|
255
255
|
this.#logger?.debug(
|
|
256
256
|
`total USD to claim from faucet: ${(0, import_sdk.formatBN)(totalUSD, 8)}`
|
|
257
257
|
);
|
|
@@ -237,7 +237,7 @@ class AccountOpener extends SDKConstruct {
|
|
|
237
237
|
totalUSD += market.priceOracle.convertToUSD(pool.underlying, diff);
|
|
238
238
|
}
|
|
239
239
|
}
|
|
240
|
-
totalUSD = totalUSD * PERCENTAGE_FACTOR /
|
|
240
|
+
totalUSD = totalUSD * PERCENTAGE_FACTOR / 8950n;
|
|
241
241
|
this.#logger?.debug(
|
|
242
242
|
`total USD to claim from faucet: ${formatBN(totalUSD, 8)}`
|
|
243
243
|
);
|