@reflectmoney/stable.ts 1.1.3 → 1.1.4

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.
Files changed (174) hide show
  1. package/dist/classes/ApiClient.d.ts +56 -0
  2. package/dist/classes/PdaClient.d.ts +131 -0
  3. package/dist/classes/Reflect.d.ts +7 -0
  4. package/dist/classes/ReflectKeeper.d.ts +105 -0
  5. package/dist/classes/ReflectTokenisedBond.d.ts +75 -0
  6. package/dist/classes/Stablecoin.d.ts +219 -0
  7. package/dist/classes/index.d.ts +4 -0
  8. package/dist/constants/drift.d.ts +6 -0
  9. package/dist/constants/index.d.ts +8 -0
  10. package/dist/constants/jupiter.d.ts +4 -0
  11. package/dist/constants/lookupTables.d.ts +4 -0
  12. package/dist/constants/lst.d.ts +3 -0
  13. package/dist/constants/pyth.d.ts +1 -0
  14. package/dist/constants/usdc.d.ts +6 -0
  15. package/dist/constants/wsol.d.ts +6 -0
  16. package/dist/errors/ReflectError.d.ts +4 -0
  17. package/dist/generated/reflect_main/accounts/DriftJlpController.d.ts +114 -0
  18. package/dist/generated/reflect_main/accounts/DriftLstController.d.ts +108 -0
  19. package/dist/generated/reflect_main/accounts/DriftUsdcController.d.ts +126 -0
  20. package/dist/generated/reflect_main/accounts/Main.d.ts +110 -0
  21. package/dist/generated/reflect_main/accounts/PerpMarket.d.ts +226 -0
  22. package/dist/generated/reflect_main/accounts/PrelaunchOracle.d.ts +130 -0
  23. package/dist/generated/reflect_main/accounts/PythLazerOracle.d.ts +124 -0
  24. package/dist/generated/reflect_main/accounts/RebalanceLst.d.ts +111 -0
  25. package/dist/generated/reflect_main/accounts/SpotMarket.d.ts +377 -0
  26. package/dist/generated/reflect_main/accounts/User.d.ts +221 -0
  27. package/dist/generated/reflect_main/accounts/UserPermissions.d.ts +106 -0
  28. package/dist/generated/reflect_main/accounts/UserStats.d.ts +211 -0
  29. package/dist/generated/reflect_main/accounts/index.d.ts +38 -0
  30. package/dist/generated/reflect_main/errors/index.d.ts +969 -0
  31. package/dist/generated/reflect_main/index.d.ts +19 -0
  32. package/dist/generated/reflect_main/instructions/addLstDrift.d.ts +49 -0
  33. package/dist/generated/reflect_main/instructions/addSubAccount.d.ts +54 -0
  34. package/dist/generated/reflect_main/instructions/captureSpreadDrift.d.ts +66 -0
  35. package/dist/generated/reflect_main/instructions/captureSpreadDriftS1.d.ts +58 -0
  36. package/dist/generated/reflect_main/instructions/createAdminAccount.d.ts +51 -0
  37. package/dist/generated/reflect_main/instructions/createUserStatsAccount.d.ts +52 -0
  38. package/dist/generated/reflect_main/instructions/depositDrift.d.ts +73 -0
  39. package/dist/generated/reflect_main/instructions/freezeProgram.d.ts +54 -0
  40. package/dist/generated/reflect_main/instructions/freezeProtocolAction.d.ts +55 -0
  41. package/dist/generated/reflect_main/instructions/freezeStrategyAction.d.ts +58 -0
  42. package/dist/generated/reflect_main/instructions/index.d.ts +34 -0
  43. package/dist/generated/reflect_main/instructions/initDriftAccountsS1.d.ts +54 -0
  44. package/dist/generated/reflect_main/instructions/initDriftControllerS1.d.ts +58 -0
  45. package/dist/generated/reflect_main/instructions/initDriftControllerS3.d.ts +58 -0
  46. package/dist/generated/reflect_main/instructions/initMain.d.ts +43 -0
  47. package/dist/generated/reflect_main/instructions/mintDriftS1.d.ts +86 -0
  48. package/dist/generated/reflect_main/instructions/mintDriftS3.d.ts +86 -0
  49. package/dist/generated/reflect_main/instructions/processSwapDeposit.d.ts +69 -0
  50. package/dist/generated/reflect_main/instructions/processSwapWithdraw.d.ts +69 -0
  51. package/dist/generated/reflect_main/instructions/redeemDriftS1.d.ts +87 -0
  52. package/dist/generated/reflect_main/instructions/redeemDriftS3.d.ts +87 -0
  53. package/dist/generated/reflect_main/instructions/settlePnl.d.ts +55 -0
  54. package/dist/generated/reflect_main/instructions/settlePnlMulti.d.ts +65 -0
  55. package/dist/generated/reflect_main/instructions/suspendSplProtocol.d.ts +54 -0
  56. package/dist/generated/reflect_main/instructions/suspendSplStrategy.d.ts +56 -0
  57. package/dist/generated/reflect_main/instructions/swapOrca.d.ts +81 -0
  58. package/dist/generated/reflect_main/instructions/swapOrcaTwoHop.d.ts +101 -0
  59. package/dist/generated/reflect_main/instructions/updateActionRoleProtocol.d.ts +58 -0
  60. package/dist/generated/reflect_main/instructions/updateActionRoleStrategy.d.ts +60 -0
  61. package/dist/generated/reflect_main/instructions/updateAttenuation.d.ts +57 -0
  62. package/dist/generated/reflect_main/instructions/updateCap.d.ts +55 -0
  63. package/dist/generated/reflect_main/instructions/updateRebalanceSlippage.d.ts +55 -0
  64. package/dist/generated/reflect_main/instructions/updateRecipients.d.ts +56 -0
  65. package/dist/generated/reflect_main/instructions/updateRoleHolderProtocol.d.ts +60 -0
  66. package/dist/generated/reflect_main/instructions/updateRoleHolderStrategy.d.ts +60 -0
  67. package/dist/generated/reflect_main/types/AMM.d.ts +102 -0
  68. package/dist/generated/reflect_main/types/AccKey.d.ts +15 -0
  69. package/dist/generated/reflect_main/types/AccessControl.d.ts +18 -0
  70. package/dist/generated/reflect_main/types/AccessMap.d.ts +17 -0
  71. package/dist/generated/reflect_main/types/Action.d.ts +35 -0
  72. package/dist/generated/reflect_main/types/ActionMapping.d.ts +19 -0
  73. package/dist/generated/reflect_main/types/AssetTier.d.ts +23 -0
  74. package/dist/generated/reflect_main/types/Attenuation.d.ts +16 -0
  75. package/dist/generated/reflect_main/types/BalanceType.d.ts +20 -0
  76. package/dist/generated/reflect_main/types/Capture.d.ts +17 -0
  77. package/dist/generated/reflect_main/types/ContractTier.d.ts +24 -0
  78. package/dist/generated/reflect_main/types/ContractType.d.ts +20 -0
  79. package/dist/generated/reflect_main/types/CorpAction.d.ts +19 -0
  80. package/dist/generated/reflect_main/types/CustodyInfo.d.ts +20 -0
  81. package/dist/generated/reflect_main/types/DirectionCollateral.d.ts +20 -0
  82. package/dist/generated/reflect_main/types/DirectionPosition.d.ts +20 -0
  83. package/dist/generated/reflect_main/types/DriftControllerBase.d.ts +15 -0
  84. package/dist/generated/reflect_main/types/DriftJlpControllerFixedAccounts.d.ts +18 -0
  85. package/dist/generated/reflect_main/types/DriftLstData.d.ts +17 -0
  86. package/dist/generated/reflect_main/types/Ema.d.ts +17 -0
  87. package/dist/generated/reflect_main/types/Externals.d.ts +16 -0
  88. package/dist/generated/reflect_main/types/FlowControl.d.ts +17 -0
  89. package/dist/generated/reflect_main/types/HistoricalIndexData.d.ts +19 -0
  90. package/dist/generated/reflect_main/types/HistoricalOracleData.d.ts +20 -0
  91. package/dist/generated/reflect_main/types/Holding.d.ts +21 -0
  92. package/dist/generated/reflect_main/types/Holdings.d.ts +17 -0
  93. package/dist/generated/reflect_main/types/InsuranceClaim.d.ts +19 -0
  94. package/dist/generated/reflect_main/types/InsuranceFund.d.ts +24 -0
  95. package/dist/generated/reflect_main/types/JlpRebalanceSettings.d.ts +15 -0
  96. package/dist/generated/reflect_main/types/KillSwitch.d.ts +15 -0
  97. package/dist/generated/reflect_main/types/LevelRoles.d.ts +16 -0
  98. package/dist/generated/reflect_main/types/MarketStatus.d.ts +27 -0
  99. package/dist/generated/reflect_main/types/MarketType.d.ts +20 -0
  100. package/dist/generated/reflect_main/types/ModifyOrderParams.d.ts +32 -0
  101. package/dist/generated/reflect_main/types/ModifyOrderPolicy.d.ts +20 -0
  102. package/dist/generated/reflect_main/types/Movements.d.ts +19 -0
  103. package/dist/generated/reflect_main/types/OracleGuardRails.d.ts +18 -0
  104. package/dist/generated/reflect_main/types/OracleSource.d.ts +34 -0
  105. package/dist/generated/reflect_main/types/OracleValidity.d.ts +25 -0
  106. package/dist/generated/reflect_main/types/Order.d.ts +43 -0
  107. package/dist/generated/reflect_main/types/OrderDirection.d.ts +20 -0
  108. package/dist/generated/reflect_main/types/OrderParams.d.ts +36 -0
  109. package/dist/generated/reflect_main/types/OrderStatus.d.ts +22 -0
  110. package/dist/generated/reflect_main/types/OrderTriggerCondition.d.ts +22 -0
  111. package/dist/generated/reflect_main/types/OrderType.d.ts +23 -0
  112. package/dist/generated/reflect_main/types/PermissionLevel.d.ts +45 -0
  113. package/dist/generated/reflect_main/types/PerpHedge.d.ts +17 -0
  114. package/dist/generated/reflect_main/types/PerpPosition.d.ts +29 -0
  115. package/dist/generated/reflect_main/types/PoolBalance.d.ts +17 -0
  116. package/dist/generated/reflect_main/types/Position.d.ts +20 -0
  117. package/dist/generated/reflect_main/types/PositionDirection.d.ts +20 -0
  118. package/dist/generated/reflect_main/types/PositionDrift.d.ts +18 -0
  119. package/dist/generated/reflect_main/types/PostOnlyParam.d.ts +22 -0
  120. package/dist/generated/reflect_main/types/Price.d.ts +41 -0
  121. package/dist/generated/reflect_main/types/PriceComp.d.ts +19 -0
  122. package/dist/generated/reflect_main/types/PriceDivergenceGuardRails.d.ts +16 -0
  123. package/dist/generated/reflect_main/types/PriceInfo.d.ts +21 -0
  124. package/dist/generated/reflect_main/types/PriceStatus.d.ts +22 -0
  125. package/dist/generated/reflect_main/types/PriceType.d.ts +20 -0
  126. package/dist/generated/reflect_main/types/Program.d.ts +19 -0
  127. package/dist/generated/reflect_main/types/ProgramStatus.d.ts +20 -0
  128. package/dist/generated/reflect_main/types/Recipient.d.ts +17 -0
  129. package/dist/generated/reflect_main/types/Recipients.d.ts +17 -0
  130. package/dist/generated/reflect_main/types/Role.d.ts +25 -0
  131. package/dist/generated/reflect_main/types/ShiftCollateral.d.ts +19 -0
  132. package/dist/generated/reflect_main/types/ShiftPosition.d.ts +17 -0
  133. package/dist/generated/reflect_main/types/ShortHolding.d.ts +17 -0
  134. package/dist/generated/reflect_main/types/SplBase.d.ts +17 -0
  135. package/dist/generated/reflect_main/types/SplMain.d.ts +22 -0
  136. package/dist/generated/reflect_main/types/Spls.d.ts +17 -0
  137. package/dist/generated/reflect_main/types/SpotBalanceType.d.ts +20 -0
  138. package/dist/generated/reflect_main/types/SpotPosition.d.ts +23 -0
  139. package/dist/generated/reflect_main/types/Status.d.ts +21 -0
  140. package/dist/generated/reflect_main/types/Strategy.d.ts +32 -0
  141. package/dist/generated/reflect_main/types/StrategyPadding.d.ts +15 -0
  142. package/dist/generated/reflect_main/types/StrategyRoleEntry.d.ts +17 -0
  143. package/dist/generated/reflect_main/types/SubAccount.d.ts +17 -0
  144. package/dist/generated/reflect_main/types/Update.d.ts +20 -0
  145. package/dist/generated/reflect_main/types/UserFees.d.ts +20 -0
  146. package/dist/generated/reflect_main/types/ValidityGuardRails.d.ts +18 -0
  147. package/dist/generated/reflect_main/types/index.d.ts +80 -0
  148. package/dist/generated/reflect_tokenised_bonds/accounts/Admin.d.ts +99 -0
  149. package/dist/generated/reflect_tokenised_bonds/accounts/Config.d.ts +106 -0
  150. package/dist/generated/reflect_tokenised_bonds/accounts/Vault.d.ts +114 -0
  151. package/dist/generated/reflect_tokenised_bonds/accounts/index.d.ts +11 -0
  152. package/dist/generated/reflect_tokenised_bonds/errors/index.d.ts +144 -0
  153. package/dist/generated/reflect_tokenised_bonds/index.d.ts +19 -0
  154. package/dist/generated/reflect_tokenised_bonds/instructions/createVault.d.ts +50 -0
  155. package/dist/generated/reflect_tokenised_bonds/instructions/deposit.d.ts +62 -0
  156. package/dist/generated/reflect_tokenised_bonds/instructions/index.d.ts +4 -0
  157. package/dist/generated/reflect_tokenised_bonds/instructions/initialize.d.ts +43 -0
  158. package/dist/generated/reflect_tokenised_bonds/instructions/withdraw.d.ts +62 -0
  159. package/dist/generated/reflect_tokenised_bonds/types/DepositArgs.d.ts +17 -0
  160. package/dist/generated/reflect_tokenised_bonds/types/Permissions.d.ts +21 -0
  161. package/dist/generated/reflect_tokenised_bonds/types/WithdrawArgs.d.ts +16 -0
  162. package/dist/generated/reflect_tokenised_bonds/types/index.d.ts +3 -0
  163. package/dist/helpers/getOrcaQuote.d.ts +3 -0
  164. package/dist/idl/perpetuals.d.ts +5771 -0
  165. package/dist/index.d.ts +9 -0
  166. package/dist/stablecoins/LstStablecoin.d.ts +103 -0
  167. package/dist/stablecoins/UsdcPlusStablecoin.d.ts +86 -0
  168. package/dist/stablecoins/UsdjStablecoin.d.ts +1 -0
  169. package/dist/stablecoins/index.d.ts +3 -0
  170. package/dist/types/api.d.ts +1172 -0
  171. package/dist/types/api.js +6 -0
  172. package/dist/types/index.d.ts +81 -0
  173. package/dist/types/index.js +2 -0
  174. package/package.json +1 -1
@@ -0,0 +1,9 @@
1
+ export * from "./stablecoins";
2
+ export * from "./classes";
3
+ export * from "./types";
4
+ export { PROGRAM_ID as DELTA_NEUTRAL_PROGRAM_ID, } from "./generated/reflect_main";
5
+ export { PROGRAM_ID as TOKENISED_BONDS_PROGRAM_ID, } from "./generated/reflect_tokenised_bonds";
6
+ export * from "./generated/reflect_main/accounts";
7
+ export * from "./generated/reflect_main/errors";
8
+ export * from "./generated/reflect_main/instructions";
9
+ export * from "./generated/reflect_main/types";
@@ -0,0 +1,103 @@
1
+ import { Stablecoin } from "../classes/Stablecoin";
2
+ import { Connection, PublicKey, TransactionInstruction } from "@solana/web3.js";
3
+ import { DriftLstController } from "../generated/reflect_main";
4
+ import BN from "bn.js";
5
+ import { Collateral } from "../types";
6
+ /**
7
+ * LST (Liquid Staking Token) Delta-Neutral Stablecoin implementation.
8
+ * Extends the base Stablecoin class to provide LST-specific functionality
9
+ * including delta-neutral strategies with perpetual hedging.
10
+ *
11
+ * This stablecoin allows users to mint stablecoins against LST collateral
12
+ * while maintaining delta-neutral exposure through perpetual futures hedging.
13
+ * Strategy ID: 2
14
+ */
15
+ export declare class LstStablecoin extends Stablecoin<DriftLstController> {
16
+ private tokenisedBondsClient;
17
+ /**
18
+ * Creates a new LST Stablecoin instance.
19
+ *
20
+ * @param connection - Solana connection instance for RPC communication
21
+ * @param stablecoinMintOverride - Optional override for the stablecoin mint address
22
+ * @param collateralMintsOverride - Optional override for collateral mint addresses
23
+ */
24
+ constructor(connection: Connection, stablecoinMintOverride?: PublicKey, collateralMintsOverride?: Collateral[]);
25
+ /**
26
+ * Loads the LST controller data from the blockchain.
27
+ * Updates the stablecoin mint and LST mapping information.
28
+ */
29
+ load(): Promise<void>;
30
+ /**
31
+ * Initializes the LST stablecoin with the specified parameters.
32
+ * Sets up the controller with cap, mint, and recipient information.
33
+ *
34
+ * @param signer - Public key of the signer/initializer
35
+ * @param cap - Maximum supply cap as a BN
36
+ * @param mint - Public key of the stablecoin mint
37
+ * @param recipientAddresses - Array of recipient public keys for fee distribution
38
+ * @param recipientCuts - Array of fee cuts (percentages) corresponding to each recipient
39
+ * @returns Promise resolving to an array of TransactionInstruction objects
40
+ */
41
+ initialize(signer: PublicKey, cap: BN, mint: PublicKey, recipientAddresses: PublicKey[], recipientCuts: number[]): Promise<TransactionInstruction[]>;
42
+ /**
43
+ * Constructs the required accounts for LST mint/redeem transactions.
44
+ *
45
+ * @param signer - Public key of the transaction signer
46
+ * @param lst - Public key of the LST being used as collateral
47
+ * @returns Promise resolving to the constructed accounts object of type T
48
+ */
49
+ constructAccounts<T>(signer: PublicKey, lst?: PublicKey): Promise<T>;
50
+ /**
51
+ * Constructs remaining accounts for LST transactions.
52
+ * Includes USDC spot market, SOL oracle, and SOL perpetual market accounts.
53
+ *
54
+ * @returns Promise resolving to an array of AccountMeta objects
55
+ */
56
+ constructRemainingAccounts(): Promise<{
57
+ pubkey: PublicKey;
58
+ isWritable: boolean;
59
+ isSigner: boolean;
60
+ }[]>;
61
+ /**
62
+ * Creates a mint instruction for the LST stablecoin.
63
+ *
64
+ * @param signer - Public key of the signer
65
+ * @param amount - Amount of LST to deposit
66
+ * @param minimumReceived - Minimum amount of stablecoins to receive (slippage protection)
67
+ * @param lst - Public key of the LST being used as collateral
68
+ * @returns Promise resolving to an array containing a single TransactionInstruction
69
+ */
70
+ mint(signer: PublicKey, amount: BN | number, minimumReceived: number | BN, lst: PublicKey): Promise<TransactionInstruction[]>;
71
+ /**
72
+ * Creates a redeem instruction for the LST-backed stablecoin.
73
+ *
74
+ * @param signer - Public key of the signer
75
+ * @param amount - Amount of stablecoin to redeem
76
+ * @param minimumReceived - Minimum amount of LST to receive (slippage protection)
77
+ * @param lst - Public key of the LST being used as collateral
78
+ * @returns Promise resolving to an array containing a single TransactionInstruction
79
+ */
80
+ redeem(signer: PublicKey, amount: BN | number, minimumReceived: number | BN, lst: PublicKey): Promise<TransactionInstruction[]>;
81
+ /**
82
+ * Creates a rebalance instruction for the LST stablecoin.
83
+ * Currently returns an empty instruction, as the rebalance is unnecessary.
84
+ *
85
+ * @returns Promise resolving to an array containing a single, empty TransactionInstruction.
86
+ */
87
+ rebalance(): Promise<TransactionInstruction[]>;
88
+ /**
89
+ * Whitelists a new collateral for the LST stablecoin.
90
+ *
91
+ * @param signer - Public key of the admin
92
+ * @param mint - Public key of the collateral mint to whitelist
93
+ * @returns Promise resolving to an array containing a single TransactionInstruction
94
+ */
95
+ whitelistCollateral(signer: PublicKey, mint: PublicKey): Promise<TransactionInstruction[]>;
96
+ /**
97
+ * Gets the USD exchange rate for the LST-backed stablecoin.
98
+ *
99
+ * @returns Promise resolving to the USD exchange rate as a number
100
+ */
101
+ getBaseUsdExchangeRate(): Promise<number>;
102
+ getReceiptUsdExchangeRate(): Promise<number>;
103
+ }
@@ -0,0 +1,86 @@
1
+ import { Stablecoin } from "../classes/Stablecoin";
2
+ import { AccountMeta, Connection, PublicKey, TransactionInstruction } from "@solana/web3.js";
3
+ import { DriftUsdcController } from "../generated/reflect_main";
4
+ import BN from "bn.js";
5
+ /**
6
+ * USDC+ Stablecoin implementation for the Reflect protocol.
7
+ * Extends the base Stablecoin class to provide USDC-specific functionality
8
+ * including initialization, minting, redemption, and rebalancing operations.
9
+ */
10
+ export declare class UsdcPlusStablecoin extends Stablecoin<DriftUsdcController> {
11
+ /**
12
+ * Creates a new USDC+ Stablecoin instance.
13
+ *
14
+ * @param connection - Solana connection instance for RPC communication
15
+ * @param stablecoinMintOverride - Optional override for the stablecoin mint address
16
+ */
17
+ constructor(connection: Connection, stablecoinMintOverride?: PublicKey);
18
+ /**
19
+ * Loads the USDC+ controller data from the blockchain.
20
+ * Updates the stablecoin mint and strategy information.
21
+ */
22
+ load(): Promise<void>;
23
+ /**
24
+ * Initializes the USDC stablecoin with the specified parameters.
25
+ * Creates receipt tokens, initializes vault, and initializes the stablecoin.
26
+ *
27
+ * @param signer - Public key of the signer/initializer
28
+ * @param mint - Public key of the mint to be used for the stablecoin
29
+ * @param cap - Maximum supply cap as a BN (Big Number)
30
+ * @param recipientAddresses - Array of recipient public keys for fee distribution
31
+ * @param recipientCuts - Array of fee cuts (percentages) corresponding to each recipient
32
+ * @returns Promise resolving to an array of TransactionInstruction objects
33
+ */
34
+ initialize(signer: PublicKey, mint: PublicKey, cap: BN, recipientAddresses: PublicKey[], recipientCuts: number[]): Promise<TransactionInstruction[]>;
35
+ /**
36
+ * Initializes the stablecoin drift account for the USDC+ controller.
37
+ *
38
+ * @param signer - Public key of the signer/initializer
39
+ * @returns Promise resolving to a TransactionInstruction
40
+ */
41
+ initializeStablecoinDriftAccount(signer: PublicKey): Promise<TransactionInstruction>;
42
+ /**
43
+ * Constructs the required accounts for the InitDriftControllerS1 instruction.
44
+ *
45
+ * @param signer - Public key of the signer
46
+ * @returns Promise resolving to the constructed accounts object of type T
47
+ */
48
+ constructAccounts<T>(signer: PublicKey): Promise<T>;
49
+ /**
50
+ * Constructs remaining accounts for transactions.
51
+ * Currently returns an empty array as no additional accounts are needed.
52
+ *
53
+ * @returns Promise resolving to an empty array of AccountMeta objects
54
+ */
55
+ constructRemainingAccounts(): Promise<AccountMeta[]>;
56
+ /**
57
+ * Creates a mint instruction for the USDC+ stablecoin.
58
+ *
59
+ * @param signer - Public key of the signer
60
+ * @param amount - Amount of USDC to deposit
61
+ * @param minimumReceived - Minimum amount of USDC+ stablecoins to receive (slippage protection)
62
+ * @returns Promise resolving to an array containing a single TransactionInstruction
63
+ */
64
+ mint(signer: PublicKey, amount: BN | number, minimumReceived: BN | number): Promise<TransactionInstruction[]>;
65
+ /**
66
+ * Creates a redeem instruction for the USDC stablecoin.
67
+ * Currently returns a placeholder instruction - implementation needed.
68
+ *
69
+ * @returns Promise resolving to an array containing a single TransactionInstruction
70
+ */
71
+ redeem(signer: PublicKey, amount: BN | number, minimumReceived: BN | number): Promise<TransactionInstruction[]>;
72
+ /**
73
+ * Creates a rebalance instruction for the USDC+ stablecoin.
74
+ * Currently returns an empty instruction, as the rebalance is unnecessary.
75
+ *
76
+ * @returns Promise resolving to an array containing a single, empty TransactionInstruction.
77
+ */
78
+ rebalance(): Promise<TransactionInstruction[]>;
79
+ /**
80
+ * Gets the USD exchange rate for the USDC+ stablecoin.
81
+ *
82
+ * @returns Promise resolving to the USD exchange rate as a number
83
+ */
84
+ getBaseUsdExchangeRate(): Promise<number>;
85
+ getReceiptUsdExchangeRate(): Promise<number>;
86
+ }
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,3 @@
1
+ export * from "./UsdjStablecoin";
2
+ export * from "./LstStablecoin";
3
+ export * from "./UsdcPlusStablecoin";