@gearbox-protocol/sdk 3.0.0-vfour.303 → 3.0.0-vfour.304
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.
|
@@ -274,7 +274,7 @@ class CreditAccountsService extends import_base.SDKConstruct {
|
|
|
274
274
|
void 0
|
|
275
275
|
);
|
|
276
276
|
const calls = [
|
|
277
|
-
...priceUpdates,
|
|
277
|
+
...operation === "close" ? [] : priceUpdates,
|
|
278
278
|
...routerCloseResult.calls,
|
|
279
279
|
...this.#prepareDisableQuotas(ca),
|
|
280
280
|
...this.#prepareDecreaseDebt(ca),
|
|
@@ -325,7 +325,7 @@ class CreditAccountsService extends import_base.SDKConstruct {
|
|
|
325
325
|
ca.creditManager
|
|
326
326
|
);
|
|
327
327
|
const calls = [
|
|
328
|
-
...priceUpdates,
|
|
328
|
+
...operation === "close" ? [] : priceUpdates,
|
|
329
329
|
...this.#prepareAddCollateral(ca.creditFacade, addCollateral, permits),
|
|
330
330
|
...this.#prepareDisableQuotas(ca),
|
|
331
331
|
...this.#prepareDecreaseDebt(ca),
|
|
@@ -280,7 +280,7 @@ class CreditAccountsService extends SDKConstruct {
|
|
|
280
280
|
void 0
|
|
281
281
|
);
|
|
282
282
|
const calls = [
|
|
283
|
-
...priceUpdates,
|
|
283
|
+
...operation === "close" ? [] : priceUpdates,
|
|
284
284
|
...routerCloseResult.calls,
|
|
285
285
|
...this.#prepareDisableQuotas(ca),
|
|
286
286
|
...this.#prepareDecreaseDebt(ca),
|
|
@@ -331,7 +331,7 @@ class CreditAccountsService extends SDKConstruct {
|
|
|
331
331
|
ca.creditManager
|
|
332
332
|
);
|
|
333
333
|
const calls = [
|
|
334
|
-
...priceUpdates,
|
|
334
|
+
...operation === "close" ? [] : priceUpdates,
|
|
335
335
|
...this.#prepareAddCollateral(ca.creditFacade, addCollateral, permits),
|
|
336
336
|
...this.#prepareDisableQuotas(ca),
|
|
337
337
|
...this.#prepareDecreaseDebt(ca),
|