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

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.
@@ -1320,6 +1320,7 @@ interface DriftSpotMarketJSON {
1320
1320
  insuranceFund: {
1321
1321
  totalFactor: number;
1322
1322
  };
1323
+ poolId: number;
1323
1324
  }
1324
1325
 
1325
1326
  interface FeeStructure {
@@ -1570,6 +1571,7 @@ interface DriftSpotMarket {
1570
1571
  insuranceFund: {
1571
1572
  totalFactor: number;
1572
1573
  };
1574
+ poolId: number;
1573
1575
  }
1574
1576
  declare enum DriftSpotBalanceType {
1575
1577
  DEPOSIT = "deposit",
@@ -1602,4 +1604,4 @@ type DriftRewardsJSON = {
1602
1604
  spotPosition: SpotPositionJSON;
1603
1605
  };
1604
1606
 
1605
- export { type PriceHeuristicJSON as $, type ReserveLiquidityFields as A, type ReserveCollateralFields as B, type CurvePointFields as C, type DriftSpotMarket as D, type ReserveConfigFields as E, type FeedResponse as F, type ReserveFeesFields as G, type HistoricalOracleData as H, type InsuranceFund as I, type BorrowRateCurveFields as J, type PriceHeuristicFields as K, type ScopeConfigurationFields as L, type SwitchboardConfigurationFields as M, type PythConfigurationFields as N, type ObligationRaw as O, type PoolBalance as P, type ReserveLiquidityJSON as Q, type ReserveRaw as R, type SpotPosition as S, type TokenInfoFields$1 as T, type ReserveCollateralJSON as U, type ReserveConfigJSON as V, type WithdrawalCapsFields as W, type ReserveFeesJSON as X, type BorrowRateCurveJSON as Y, type CurvePointJSON as Z, type TokenInfoJSON$1 as _, type DriftRewards as a, type ScopeConfigurationJSON as a0, type SwitchboardConfigurationJSON as a1, type PythConfigurationJSON as a2, type WithdrawalCapsJSON as a3, type ObligationLiquidityJSON as a4, type ObligationCollateralJSON as a5, type ObligationOrderJSON as a6, type ObligationCollateralFields as a7, type ObligationLiquidityFields as a8, type ObligationOrderFields as a9, type LastUpdateFields as aa, type BigFractionBytesFields as ab, type LastUpdateJSON as ac, type BigFractionBytesJSON as ad, type RewardPerTimeUnitPointFields as ae, type RewardScheduleCurveFields as af, type RewardScheduleCurveJSON as ag, type RewardPerTimeUnitPointJSON as ah, type UserFeesJSON as ai, type UserFeesFields as aj, isSpotBalanceTypeVariant as ak, type FeeTier as al, type FeeTierJSON as am, type OrderFillerRewardStructure as an, type OrderFillerRewardStructureJSON as ao, type PriceDivergenceGuardRails as ap, type PriceDivergenceGuardRailsJSON as aq, type ValidityGuardRails as ar, type ValidityGuardRailsJSON as as, type HistoricalOracleDataJSON as at, type HistoricalIndexDataJSON as au, type PoolBalanceJSON as av, type InsuranceFundJSON as aw, SpotBalanceType as ax, type SpotPositionJSON as ay, type FarmStateRaw as b, type DriftUser as c, type DriftUserStats as d, type ReserveJSON as e, type ObligationJSON as f, type FarmStateJSON as g, type DriftSpotMarketJSON as h, type DriftUserJSON as i, type DriftUserStatsJSON as j, type RewardInfoFields as k, type HistoricalIndexData as l, type FeeStructureJSON as m, type OracleGuardRailsJSON as n, type FeeStructure as o, type OracleGuardRails as p, type DriftRewardsJSON as q, DriftSpotBalanceType as r, SWITCHBOARD_ONDEMANDE_PRICE_PRECISION as s, type CurrentResult as t, type OracleSubmission as u, type PullFeedAccountData as v, type CrossbarSimulatePayload as w, switchboardAccountCoder as x, getSwitchboardProgram as y, decodeSwitchboardPullFeedData as z };
1607
+ export { type PriceHeuristicJSON as $, type ReserveLiquidityFields as A, type ReserveCollateralFields as B, type CurvePointFields as C, type DriftSpotMarket as D, type ReserveConfigFields as E, type FeedResponse as F, type ReserveFeesFields as G, type HistoricalOracleData as H, type InsuranceFund as I, type BorrowRateCurveFields as J, type PriceHeuristicFields as K, type ScopeConfigurationFields as L, type SwitchboardConfigurationFields as M, type PythConfigurationFields as N, type ObligationRaw as O, type PoolBalance as P, type ReserveLiquidityJSON as Q, type ReserveRaw as R, type SpotPosition as S, type TokenInfoFields$1 as T, type ReserveCollateralJSON as U, type ReserveConfigJSON as V, type WithdrawalCapsFields as W, type ReserveFeesJSON as X, type BorrowRateCurveJSON as Y, type CurvePointJSON as Z, type TokenInfoJSON$1 as _, type DriftRewards as a, type ScopeConfigurationJSON as a0, type SwitchboardConfigurationJSON as a1, type PythConfigurationJSON as a2, type WithdrawalCapsJSON as a3, type ObligationLiquidityJSON as a4, type ObligationCollateralJSON as a5, type ObligationOrderJSON as a6, type ObligationCollateralFields as a7, type ObligationLiquidityFields as a8, type ObligationOrderFields as a9, type LastUpdateFields as aa, type BigFractionBytesFields as ab, type LastUpdateJSON as ac, type BigFractionBytesJSON as ad, type RewardPerTimeUnitPointFields as ae, type RewardScheduleCurveFields as af, type RewardScheduleCurveJSON as ag, type RewardPerTimeUnitPointJSON as ah, type UserFeesJSON as ai, type UserFeesFields as aj, isSpotBalanceTypeVariant as ak, type FeeTier as al, type FeeTierJSON as am, type OrderFillerRewardStructure as an, type OrderFillerRewardStructureJSON as ao, type PriceDivergenceGuardRails as ap, type PriceDivergenceGuardRailsJSON as aq, type ValidityGuardRails as ar, type ValidityGuardRailsJSON as as, type HistoricalOracleDataJSON as at, type HistoricalIndexDataJSON as au, type PoolBalanceJSON as av, type InsuranceFundJSON as aw, SpotBalanceType as ax, type SpotPositionJSON as ay, type FarmStateRaw as b, type DriftUser as c, type DriftUserStats as d, type ReserveJSON as e, type ObligationJSON as f, type FarmStateJSON as g, type DriftSpotMarketJSON as h, type DriftUserJSON as i, type DriftRewardsJSON as j, type DriftUserStatsJSON as k, type RewardInfoFields as l, type HistoricalIndexData as m, type FeeStructureJSON as n, type OracleGuardRailsJSON as o, type FeeStructure as p, type OracleGuardRails as q, DriftSpotBalanceType as r, SWITCHBOARD_ONDEMANDE_PRICE_PRECISION as s, type CurrentResult as t, type OracleSubmission as u, type PullFeedAccountData as v, type CrossbarSimulatePayload as w, switchboardAccountCoder as x, getSwitchboardProgram as y, decodeSwitchboardPullFeedData as z };
@@ -1320,6 +1320,7 @@ interface DriftSpotMarketJSON {
1320
1320
  insuranceFund: {
1321
1321
  totalFactor: number;
1322
1322
  };
1323
+ poolId: number;
1323
1324
  }
1324
1325
 
1325
1326
  interface FeeStructure {
@@ -1570,6 +1571,7 @@ interface DriftSpotMarket {
1570
1571
  insuranceFund: {
1571
1572
  totalFactor: number;
1572
1573
  };
1574
+ poolId: number;
1573
1575
  }
1574
1576
  declare enum DriftSpotBalanceType {
1575
1577
  DEPOSIT = "deposit",
@@ -1602,4 +1604,4 @@ type DriftRewardsJSON = {
1602
1604
  spotPosition: SpotPositionJSON;
1603
1605
  };
1604
1606
 
1605
- export { type PriceHeuristicJSON as $, type ReserveLiquidityFields as A, type ReserveCollateralFields as B, type CurvePointFields as C, type DriftSpotMarket as D, type ReserveConfigFields as E, type FeedResponse as F, type ReserveFeesFields as G, type HistoricalOracleData as H, type InsuranceFund as I, type BorrowRateCurveFields as J, type PriceHeuristicFields as K, type ScopeConfigurationFields as L, type SwitchboardConfigurationFields as M, type PythConfigurationFields as N, type ObligationRaw as O, type PoolBalance as P, type ReserveLiquidityJSON as Q, type ReserveRaw as R, type SpotPosition as S, type TokenInfoFields$1 as T, type ReserveCollateralJSON as U, type ReserveConfigJSON as V, type WithdrawalCapsFields as W, type ReserveFeesJSON as X, type BorrowRateCurveJSON as Y, type CurvePointJSON as Z, type TokenInfoJSON$1 as _, type DriftRewards as a, type ScopeConfigurationJSON as a0, type SwitchboardConfigurationJSON as a1, type PythConfigurationJSON as a2, type WithdrawalCapsJSON as a3, type ObligationLiquidityJSON as a4, type ObligationCollateralJSON as a5, type ObligationOrderJSON as a6, type ObligationCollateralFields as a7, type ObligationLiquidityFields as a8, type ObligationOrderFields as a9, type LastUpdateFields as aa, type BigFractionBytesFields as ab, type LastUpdateJSON as ac, type BigFractionBytesJSON as ad, type RewardPerTimeUnitPointFields as ae, type RewardScheduleCurveFields as af, type RewardScheduleCurveJSON as ag, type RewardPerTimeUnitPointJSON as ah, type UserFeesJSON as ai, type UserFeesFields as aj, isSpotBalanceTypeVariant as ak, type FeeTier as al, type FeeTierJSON as am, type OrderFillerRewardStructure as an, type OrderFillerRewardStructureJSON as ao, type PriceDivergenceGuardRails as ap, type PriceDivergenceGuardRailsJSON as aq, type ValidityGuardRails as ar, type ValidityGuardRailsJSON as as, type HistoricalOracleDataJSON as at, type HistoricalIndexDataJSON as au, type PoolBalanceJSON as av, type InsuranceFundJSON as aw, SpotBalanceType as ax, type SpotPositionJSON as ay, type FarmStateRaw as b, type DriftUser as c, type DriftUserStats as d, type ReserveJSON as e, type ObligationJSON as f, type FarmStateJSON as g, type DriftSpotMarketJSON as h, type DriftUserJSON as i, type DriftUserStatsJSON as j, type RewardInfoFields as k, type HistoricalIndexData as l, type FeeStructureJSON as m, type OracleGuardRailsJSON as n, type FeeStructure as o, type OracleGuardRails as p, type DriftRewardsJSON as q, DriftSpotBalanceType as r, SWITCHBOARD_ONDEMANDE_PRICE_PRECISION as s, type CurrentResult as t, type OracleSubmission as u, type PullFeedAccountData as v, type CrossbarSimulatePayload as w, switchboardAccountCoder as x, getSwitchboardProgram as y, decodeSwitchboardPullFeedData as z };
1607
+ export { type PriceHeuristicJSON as $, type ReserveLiquidityFields as A, type ReserveCollateralFields as B, type CurvePointFields as C, type DriftSpotMarket as D, type ReserveConfigFields as E, type FeedResponse as F, type ReserveFeesFields as G, type HistoricalOracleData as H, type InsuranceFund as I, type BorrowRateCurveFields as J, type PriceHeuristicFields as K, type ScopeConfigurationFields as L, type SwitchboardConfigurationFields as M, type PythConfigurationFields as N, type ObligationRaw as O, type PoolBalance as P, type ReserveLiquidityJSON as Q, type ReserveRaw as R, type SpotPosition as S, type TokenInfoFields$1 as T, type ReserveCollateralJSON as U, type ReserveConfigJSON as V, type WithdrawalCapsFields as W, type ReserveFeesJSON as X, type BorrowRateCurveJSON as Y, type CurvePointJSON as Z, type TokenInfoJSON$1 as _, type DriftRewards as a, type ScopeConfigurationJSON as a0, type SwitchboardConfigurationJSON as a1, type PythConfigurationJSON as a2, type WithdrawalCapsJSON as a3, type ObligationLiquidityJSON as a4, type ObligationCollateralJSON as a5, type ObligationOrderJSON as a6, type ObligationCollateralFields as a7, type ObligationLiquidityFields as a8, type ObligationOrderFields as a9, type LastUpdateFields as aa, type BigFractionBytesFields as ab, type LastUpdateJSON as ac, type BigFractionBytesJSON as ad, type RewardPerTimeUnitPointFields as ae, type RewardScheduleCurveFields as af, type RewardScheduleCurveJSON as ag, type RewardPerTimeUnitPointJSON as ah, type UserFeesJSON as ai, type UserFeesFields as aj, isSpotBalanceTypeVariant as ak, type FeeTier as al, type FeeTierJSON as am, type OrderFillerRewardStructure as an, type OrderFillerRewardStructureJSON as ao, type PriceDivergenceGuardRails as ap, type PriceDivergenceGuardRailsJSON as aq, type ValidityGuardRails as ar, type ValidityGuardRailsJSON as as, type HistoricalOracleDataJSON as at, type HistoricalIndexDataJSON as au, type PoolBalanceJSON as av, type InsuranceFundJSON as aw, SpotBalanceType as ax, type SpotPositionJSON as ay, type FarmStateRaw as b, type DriftUser as c, type DriftUserStats as d, type ReserveJSON as e, type ObligationJSON as f, type FarmStateJSON as g, type DriftSpotMarketJSON as h, type DriftUserJSON as i, type DriftRewardsJSON as j, type DriftUserStatsJSON as k, type RewardInfoFields as l, type HistoricalIndexData as m, type FeeStructureJSON as n, type OracleGuardRailsJSON as o, type FeeStructure as p, type OracleGuardRails as q, DriftSpotBalanceType as r, SWITCHBOARD_ONDEMANDE_PRICE_PRECISION as s, type CurrentResult as t, type OracleSubmission as u, type PullFeedAccountData as v, type CrossbarSimulatePayload as w, switchboardAccountCoder as x, getSwitchboardProgram as y, decodeSwitchboardPullFeedData as z };