@0dotxyz/p0-ts-sdk 2.10.0-alpha.1 → 2.10.0

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.
@@ -650,6 +650,8 @@ interface KaminoReserveConfig {
650
650
  * Absent on reserves serialized before this field existed — treated as `Legacy`.
651
651
  */
652
652
  interestRateBasis?: number;
653
+ /** Nonzero while the reserve is in emergency mode; marginfi then gives its collateral zero initial weight */
654
+ emergencyMode: number;
653
655
  /** Maximum deposit limit of liquidity in native units, u64::MAX for inf */
654
656
  depositLimit: BN;
655
657
  /** Maximum amount borrowed, u64::MAX for inf, 0 to disable borrows (protected deposits) */
@@ -719,6 +721,8 @@ interface KaminoReserveConfigJSON {
719
721
  hostFixedInterestRateBps: number;
720
722
  /** `KaminoInterestRateBasis` as a raw u8; missing on older DTOs (= Legacy) */
721
723
  interestRateBasis?: number;
724
+ /** Missing on older DTOs (= not in emergency) */
725
+ emergencyMode?: number;
722
726
  depositLimit: string;
723
727
  borrowLimit: string;
724
728
  borrowRateCurve: KaminoBorrowRateCurveJSON;
@@ -650,6 +650,8 @@ interface KaminoReserveConfig {
650
650
  * Absent on reserves serialized before this field existed — treated as `Legacy`.
651
651
  */
652
652
  interestRateBasis?: number;
653
+ /** Nonzero while the reserve is in emergency mode; marginfi then gives its collateral zero initial weight */
654
+ emergencyMode: number;
653
655
  /** Maximum deposit limit of liquidity in native units, u64::MAX for inf */
654
656
  depositLimit: BN;
655
657
  /** Maximum amount borrowed, u64::MAX for inf, 0 to disable borrows (protected deposits) */
@@ -719,6 +721,8 @@ interface KaminoReserveConfigJSON {
719
721
  hostFixedInterestRateBps: number;
720
722
  /** `KaminoInterestRateBasis` as a raw u8; missing on older DTOs (= Legacy) */
721
723
  interestRateBasis?: number;
724
+ /** Missing on older DTOs (= not in emergency) */
725
+ emergencyMode?: number;
722
726
  depositLimit: string;
723
727
  borrowLimit: string;
724
728
  borrowRateCurve: KaminoBorrowRateCurveJSON;