@haven-fi/solauto-sdk 1.0.123 → 1.0.124
Sign up to get free protection for your applications and to get access to all the features.
@@ -420,7 +420,7 @@ class SolautoMarginfiClient extends solautoClient_1.SolautoClient {
|
|
420
420
|
const supplyPrice = constants_1.PRICES[(freshState?.supply.mint ?? web3_js_1.PublicKey.default).toString()].price;
|
421
421
|
const debtPrice = constants_1.PRICES[(freshState?.debt.mint ?? web3_js_1.PublicKey.default).toString()].price;
|
422
422
|
console.log("Supply price: ", supplyPrice);
|
423
|
-
console.log("Debt price: ",
|
423
|
+
console.log("Debt price: ", debtPrice);
|
424
424
|
console.log("Fresh state", freshState);
|
425
425
|
console.log("Liq threshold bps:", freshState.liqUtilizationRateBps);
|
426
426
|
console.log("Liq utilization rate bps:", freshState.liqUtilizationRateBps);
|
package/package.json
CHANGED
@@ -632,7 +632,7 @@ export class SolautoMarginfiClient extends SolautoClient {
|
|
632
632
|
const supplyPrice = PRICES[(freshState?.supply.mint ?? PublicKey.default).toString()].price;
|
633
633
|
const debtPrice = PRICES[(freshState?.debt.mint ?? PublicKey.default).toString()].price;
|
634
634
|
console.log("Supply price: ", supplyPrice);
|
635
|
-
console.log("Debt price: ",
|
635
|
+
console.log("Debt price: ", debtPrice);
|
636
636
|
console.log("Fresh state", freshState);
|
637
637
|
console.log("Liq threshold bps:", freshState.liqUtilizationRateBps);
|
638
638
|
console.log("Liq utilization rate bps:", freshState.liqUtilizationRateBps);
|