@haven-fi/solauto-sdk 1.0.169 → 1.0.170
Sign up to get free protection for your applications and to get access to all the features.
@@ -111,9 +111,9 @@ class SolautoMarginfiClient extends solautoClient_1.SolautoClient {
|
|
111
111
|
}, {
|
112
112
|
mint: this.debtMint,
|
113
113
|
});
|
114
|
-
this.maxLtvBps = maxLtv;
|
115
|
-
this.liqThresholdBps = liqThreshold;
|
116
|
-
return [
|
114
|
+
this.maxLtvBps = (0, numberUtils_1.toBps)(maxLtv);
|
115
|
+
this.liqThresholdBps = (0, numberUtils_1.toBps)(liqThreshold);
|
116
|
+
return [this.maxLtvBps, this.liqThresholdBps];
|
117
117
|
}
|
118
118
|
}
|
119
119
|
marginfiAccountInitialize() {
|
package/package.json
CHANGED
@@ -227,9 +227,9 @@ export class SolautoMarginfiClient extends SolautoClient {
|
|
227
227
|
mint: this.debtMint,
|
228
228
|
}
|
229
229
|
);
|
230
|
-
this.maxLtvBps = maxLtv;
|
231
|
-
this.liqThresholdBps = liqThreshold;
|
232
|
-
return [
|
230
|
+
this.maxLtvBps = toBps(maxLtv);
|
231
|
+
this.liqThresholdBps = toBps(liqThreshold);
|
232
|
+
return [this.maxLtvBps, this.liqThresholdBps];
|
233
233
|
}
|
234
234
|
}
|
235
235
|
|