@kamino-finance/klend-sdk 5.10.28-beta.1 → 5.11.0-beta.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.
Files changed (169) hide show
  1. package/dist/classes/action.d.ts +22 -14
  2. package/dist/classes/action.d.ts.map +1 -1
  3. package/dist/classes/action.js +585 -132
  4. package/dist/classes/action.js.map +1 -1
  5. package/dist/classes/index.d.ts +0 -3
  6. package/dist/classes/index.d.ts.map +1 -1
  7. package/dist/classes/index.js +0 -3
  8. package/dist/classes/index.js.map +1 -1
  9. package/dist/classes/manager.js +1 -1
  10. package/dist/classes/manager.js.map +1 -1
  11. package/dist/classes/obligation.d.ts +1 -6
  12. package/dist/classes/obligation.d.ts.map +1 -1
  13. package/dist/classes/obligation.js +2 -4
  14. package/dist/classes/obligation.js.map +1 -1
  15. package/dist/classes/types.d.ts +1 -13
  16. package/dist/classes/types.d.ts.map +1 -1
  17. package/dist/idl.json +71 -5
  18. package/dist/idl_codegen/accounts/Obligation.d.ts +6 -0
  19. package/dist/idl_codegen/accounts/Obligation.d.ts.map +1 -1
  20. package/dist/idl_codegen/accounts/Obligation.js +8 -1
  21. package/dist/idl_codegen/accounts/Obligation.js.map +1 -1
  22. package/dist/idl_codegen/errors/custom.d.ts +35 -3
  23. package/dist/idl_codegen/errors/custom.d.ts.map +1 -1
  24. package/dist/idl_codegen/errors/custom.js +61 -5
  25. package/dist/idl_codegen/errors/custom.js.map +1 -1
  26. package/dist/idl_codegen/instructions/repayAndWithdrawAndRedeem.d.ts +9 -0
  27. package/dist/idl_codegen/instructions/repayAndWithdrawAndRedeem.d.ts.map +1 -1
  28. package/dist/idl_codegen/instructions/repayAndWithdrawAndRedeem.js +22 -1
  29. package/dist/idl_codegen/instructions/repayAndWithdrawAndRedeem.js.map +1 -1
  30. package/dist/idl_codegen/instructions/withdrawObligationCollateralAndRedeemReserveCollateral.js +1 -1
  31. package/dist/idl_codegen/instructions/withdrawObligationCollateralAndRedeemReserveCollateral.js.map +1 -1
  32. package/dist/idl_codegen/instructions/withdrawObligationCollateralAndRedeemReserveCollateralV2.js +1 -1
  33. package/dist/idl_codegen/instructions/withdrawObligationCollateralAndRedeemReserveCollateralV2.js.map +1 -1
  34. package/dist/idl_codegen/zero_padding/ObligationZP.d.ts +2 -0
  35. package/dist/idl_codegen/zero_padding/ObligationZP.d.ts.map +1 -1
  36. package/dist/idl_codegen/zero_padding/ObligationZP.js +6 -1
  37. package/dist/idl_codegen/zero_padding/ObligationZP.js.map +1 -1
  38. package/dist/lending_operations/repay_with_collateral_operations.d.ts +3 -2
  39. package/dist/lending_operations/repay_with_collateral_operations.d.ts.map +1 -1
  40. package/dist/lending_operations/repay_with_collateral_operations.js +7 -6
  41. package/dist/lending_operations/repay_with_collateral_operations.js.map +1 -1
  42. package/dist/lending_operations/swap_collateral_operations.d.ts +5 -0
  43. package/dist/lending_operations/swap_collateral_operations.d.ts.map +1 -1
  44. package/dist/lending_operations/swap_collateral_operations.js +4 -2
  45. package/dist/lending_operations/swap_collateral_operations.js.map +1 -1
  46. package/dist/leverage/calcs.d.ts +1 -1
  47. package/dist/leverage/calcs.d.ts.map +1 -1
  48. package/dist/leverage/calcs.js +10 -12
  49. package/dist/leverage/calcs.js.map +1 -1
  50. package/dist/leverage/operations.d.ts +8 -8
  51. package/dist/leverage/operations.d.ts.map +1 -1
  52. package/dist/leverage/operations.js +27 -24
  53. package/dist/leverage/operations.js.map +1 -1
  54. package/dist/leverage/types.d.ts +4 -1
  55. package/dist/leverage/types.d.ts.map +1 -1
  56. package/dist/utils/seeds.d.ts +5 -0
  57. package/dist/utils/seeds.d.ts.map +1 -1
  58. package/dist/utils/seeds.js +10 -1
  59. package/dist/utils/seeds.js.map +1 -1
  60. package/dist/utils/userMetadata.d.ts.map +1 -1
  61. package/dist/utils/userMetadata.js +6 -9
  62. package/dist/utils/userMetadata.js.map +1 -1
  63. package/package.json +4 -4
  64. package/src/classes/action.ts +749 -146
  65. package/src/classes/index.ts +0 -3
  66. package/src/classes/manager.ts +1 -1
  67. package/src/classes/obligation.ts +4 -8
  68. package/src/classes/types.ts +1 -17
  69. package/src/client.ts +7 -3
  70. package/src/idl.json +71 -5
  71. package/src/idl_codegen/accounts/Obligation.ts +12 -1
  72. package/src/idl_codegen/errors/custom.ts +66 -4
  73. package/src/idl_codegen/instructions/repayAndWithdrawAndRedeem.ts +31 -1
  74. package/src/idl_codegen/instructions/withdrawObligationCollateralAndRedeemReserveCollateral.ts +1 -1
  75. package/src/idl_codegen/instructions/withdrawObligationCollateralAndRedeemReserveCollateralV2.ts +1 -1
  76. package/src/idl_codegen/zero_padding/ObligationZP.ts +6 -1
  77. package/src/lending_operations/repay_with_collateral_operations.ts +11 -3
  78. package/src/lending_operations/swap_collateral_operations.ts +11 -0
  79. package/src/leverage/calcs.ts +13 -16
  80. package/src/leverage/operations.ts +38 -11
  81. package/src/leverage/types.ts +4 -1
  82. package/src/utils/seeds.ts +13 -0
  83. package/src/utils/userMetadata.ts +19 -24
  84. package/dist/classes/stakePool.d.ts +0 -8
  85. package/dist/classes/stakePool.d.ts.map +0 -1
  86. package/dist/classes/stakePool.js +0 -18
  87. package/dist/classes/stakePool.js.map +0 -1
  88. package/dist/classes/standardStakePool.d.ts +0 -174
  89. package/dist/classes/standardStakePool.d.ts.map +0 -1
  90. package/dist/classes/standardStakePool.js +0 -275
  91. package/dist/classes/standardStakePool.js.map +0 -1
  92. package/dist/classes/unstakingPool.d.ts +0 -117
  93. package/dist/classes/unstakingPool.d.ts.map +0 -1
  94. package/dist/classes/unstakingPool.js +0 -448
  95. package/dist/classes/unstakingPool.js.map +0 -1
  96. package/dist/idl_codegen_unstaking_pool/accounts/PoolState.d.ts +0 -50
  97. package/dist/idl_codegen_unstaking_pool/accounts/PoolState.d.ts.map +0 -1
  98. package/dist/idl_codegen_unstaking_pool/accounts/PoolState.js +0 -156
  99. package/dist/idl_codegen_unstaking_pool/accounts/PoolState.js.map +0 -1
  100. package/dist/idl_codegen_unstaking_pool/accounts/index.d.ts +0 -3
  101. package/dist/idl_codegen_unstaking_pool/accounts/index.d.ts.map +0 -1
  102. package/dist/idl_codegen_unstaking_pool/accounts/index.js +0 -6
  103. package/dist/idl_codegen_unstaking_pool/accounts/index.js.map +0 -1
  104. package/dist/idl_codegen_unstaking_pool/errors/anchor.d.ts +0 -435
  105. package/dist/idl_codegen_unstaking_pool/errors/anchor.d.ts.map +0 -1
  106. package/dist/idl_codegen_unstaking_pool/errors/anchor.js +0 -767
  107. package/dist/idl_codegen_unstaking_pool/errors/anchor.js.map +0 -1
  108. package/dist/idl_codegen_unstaking_pool/errors/custom.d.ts +0 -163
  109. package/dist/idl_codegen_unstaking_pool/errors/custom.d.ts.map +0 -1
  110. package/dist/idl_codegen_unstaking_pool/errors/custom.js +0 -290
  111. package/dist/idl_codegen_unstaking_pool/errors/custom.js.map +0 -1
  112. package/dist/idl_codegen_unstaking_pool/errors/index.d.ts +0 -6
  113. package/dist/idl_codegen_unstaking_pool/errors/index.d.ts.map +0 -1
  114. package/dist/idl_codegen_unstaking_pool/errors/index.js +0 -75
  115. package/dist/idl_codegen_unstaking_pool/errors/index.js.map +0 -1
  116. package/dist/idl_codegen_unstaking_pool/instructions/burn.d.ts +0 -21
  117. package/dist/idl_codegen_unstaking_pool/instructions/burn.d.ts.map +0 -1
  118. package/dist/idl_codegen_unstaking_pool/instructions/burn.js +0 -73
  119. package/dist/idl_codegen_unstaking_pool/instructions/burn.js.map +0 -1
  120. package/dist/idl_codegen_unstaking_pool/instructions/collect.d.ts +0 -16
  121. package/dist/idl_codegen_unstaking_pool/instructions/collect.d.ts.map +0 -1
  122. package/dist/idl_codegen_unstaking_pool/instructions/collect.js +0 -29
  123. package/dist/idl_codegen_unstaking_pool/instructions/collect.js.map +0 -1
  124. package/dist/idl_codegen_unstaking_pool/instructions/index.d.ts +0 -11
  125. package/dist/idl_codegen_unstaking_pool/instructions/index.d.ts.map +0 -1
  126. package/dist/idl_codegen_unstaking_pool/instructions/index.js +0 -14
  127. package/dist/idl_codegen_unstaking_pool/instructions/index.js.map +0 -1
  128. package/dist/idl_codegen_unstaking_pool/instructions/initializePool.d.ts +0 -15
  129. package/dist/idl_codegen_unstaking_pool/instructions/initializePool.d.ts.map +0 -1
  130. package/dist/idl_codegen_unstaking_pool/instructions/initializePool.js +0 -28
  131. package/dist/idl_codegen_unstaking_pool/instructions/initializePool.js.map +0 -1
  132. package/dist/idl_codegen_unstaking_pool/instructions/mint.d.ts +0 -21
  133. package/dist/idl_codegen_unstaking_pool/instructions/mint.d.ts.map +0 -1
  134. package/dist/idl_codegen_unstaking_pool/instructions/mint.js +0 -77
  135. package/dist/idl_codegen_unstaking_pool/instructions/mint.js.map +0 -1
  136. package/dist/idl_codegen_unstaking_pool/instructions/updatePoolConfig.d.ts +0 -13
  137. package/dist/idl_codegen_unstaking_pool/instructions/updatePoolConfig.d.ts.map +0 -1
  138. package/dist/idl_codegen_unstaking_pool/instructions/updatePoolConfig.js +0 -58
  139. package/dist/idl_codegen_unstaking_pool/instructions/updatePoolConfig.js.map +0 -1
  140. package/dist/idl_codegen_unstaking_pool/programId.d.ts +0 -4
  141. package/dist/idl_codegen_unstaking_pool/programId.d.ts.map +0 -1
  142. package/dist/idl_codegen_unstaking_pool/programId.js +0 -9
  143. package/dist/idl_codegen_unstaking_pool/programId.js.map +0 -1
  144. package/dist/idl_codegen_unstaking_pool/types/PoolConfigField.d.ts +0 -32
  145. package/dist/idl_codegen_unstaking_pool/types/PoolConfigField.d.ts.map +0 -1
  146. package/dist/idl_codegen_unstaking_pool/types/PoolConfigField.js +0 -105
  147. package/dist/idl_codegen_unstaking_pool/types/PoolConfigField.js.map +0 -1
  148. package/dist/idl_codegen_unstaking_pool/types/index.d.ts +0 -5
  149. package/dist/idl_codegen_unstaking_pool/types/index.d.ts.map +0 -1
  150. package/dist/idl_codegen_unstaking_pool/types/index.js +0 -39
  151. package/dist/idl_codegen_unstaking_pool/types/index.js.map +0 -1
  152. package/src/classes/stakePool.ts +0 -21
  153. package/src/classes/standardStakePool.ts +0 -358
  154. package/src/classes/unstakingPool.ts +0 -577
  155. package/src/idl_codegen_unstaking_pool/accounts/PoolState.ts +0 -163
  156. package/src/idl_codegen_unstaking_pool/accounts/index.ts +0 -2
  157. package/src/idl_codegen_unstaking_pool/errors/anchor.ts +0 -764
  158. package/src/idl_codegen_unstaking_pool/errors/custom.ts +0 -288
  159. package/src/idl_codegen_unstaking_pool/errors/index.ts +0 -49
  160. package/src/idl_codegen_unstaking_pool/instructions/burn.ts +0 -60
  161. package/src/idl_codegen_unstaking_pool/instructions/collect.ts +0 -43
  162. package/src/idl_codegen_unstaking_pool/instructions/index.ts +0 -10
  163. package/src/idl_codegen_unstaking_pool/instructions/initializePool.ts +0 -41
  164. package/src/idl_codegen_unstaking_pool/instructions/mint.ts +0 -64
  165. package/src/idl_codegen_unstaking_pool/instructions/updatePoolConfig.ts +0 -40
  166. package/src/idl_codegen_unstaking_pool/programId.ts +0 -7
  167. package/src/idl_codegen_unstaking_pool/types/PoolConfigField.ts +0 -85
  168. package/src/idl_codegen_unstaking_pool/types/index.ts +0 -6
  169. package/src/idl_unstaking_pool.json +0 -456
@@ -1,6 +0,0 @@
1
- import * as PoolConfigField from './PoolConfigField';
2
-
3
- export { PoolConfigField };
4
-
5
- export type PoolConfigFieldKind = PoolConfigField.ActionAuthority | PoolConfigField.LookupTable;
6
- export type PoolConfigFieldJSON = PoolConfigField.ActionAuthorityJSON | PoolConfigField.LookupTableJSON;
@@ -1,456 +0,0 @@
1
- {
2
- "version": "0.1.0",
3
- "name": "unstaking_pool",
4
- "instructions": [
5
- {
6
- "name": "initializePool",
7
- "accounts": [
8
- {
9
- "name": "admin",
10
- "isMut": true,
11
- "isSigner": true
12
- },
13
- {
14
- "name": "poolState",
15
- "isMut": true,
16
- "isSigner": false
17
- },
18
- {
19
- "name": "unstakingSolMint",
20
- "isMut": true,
21
- "isSigner": false
22
- },
23
- {
24
- "name": "wsolMint",
25
- "isMut": false,
26
- "isSigner": false
27
- },
28
- {
29
- "name": "basePoolAuthority",
30
- "isMut": false,
31
- "isSigner": false
32
- },
33
- {
34
- "name": "wsolVault",
35
- "isMut": true,
36
- "isSigner": false
37
- },
38
- {
39
- "name": "systemProgram",
40
- "isMut": false,
41
- "isSigner": false
42
- },
43
- {
44
- "name": "rent",
45
- "isMut": false,
46
- "isSigner": false
47
- },
48
- {
49
- "name": "tokenProgram",
50
- "isMut": false,
51
- "isSigner": false
52
- },
53
- {
54
- "name": "associatedTokenProgram",
55
- "isMut": false,
56
- "isSigner": false
57
- }
58
- ],
59
- "args": []
60
- },
61
- {
62
- "name": "mint",
63
- "accounts": [
64
- {
65
- "name": "user",
66
- "isMut": true,
67
- "isSigner": true
68
- },
69
- {
70
- "name": "actionAuthority",
71
- "isMut": false,
72
- "isSigner": true
73
- },
74
- {
75
- "name": "userStakedSolToken",
76
- "isMut": true,
77
- "isSigner": false
78
- },
79
- {
80
- "name": "userUnstakingSolToken",
81
- "isMut": true,
82
- "isSigner": false
83
- },
84
- {
85
- "name": "stakedSolMint",
86
- "isMut": true,
87
- "isSigner": false
88
- },
89
- {
90
- "name": "poolState",
91
- "isMut": true,
92
- "isSigner": false
93
- },
94
- {
95
- "name": "unstakingSolMint",
96
- "isMut": true,
97
- "isSigner": false
98
- },
99
- {
100
- "name": "basePoolAuthority",
101
- "isMut": true,
102
- "isSigner": false
103
- },
104
- {
105
- "name": "systemProgram",
106
- "isMut": false,
107
- "isSigner": false
108
- },
109
- {
110
- "name": "unstakingSolTokenProgram",
111
- "isMut": false,
112
- "isSigner": false
113
- },
114
- {
115
- "name": "stakedSolTokenProgram",
116
- "isMut": false,
117
- "isSigner": false
118
- }
119
- ],
120
- "args": [
121
- {
122
- "name": "stakedSolToDeposit",
123
- "type": "u64"
124
- }
125
- ]
126
- },
127
- {
128
- "name": "collect",
129
- "accounts": [
130
- {
131
- "name": "payer",
132
- "isMut": true,
133
- "isSigner": true
134
- },
135
- {
136
- "name": "stakeAccount",
137
- "isMut": true,
138
- "isSigner": false
139
- },
140
- {
141
- "name": "poolState",
142
- "isMut": true,
143
- "isSigner": false
144
- },
145
- {
146
- "name": "basePoolAuthority",
147
- "isMut": true,
148
- "isSigner": false
149
- },
150
- {
151
- "name": "wsolVault",
152
- "isMut": true,
153
- "isSigner": false
154
- },
155
- {
156
- "name": "wsolMint",
157
- "isMut": false,
158
- "isSigner": false
159
- },
160
- {
161
- "name": "tokenProgram",
162
- "isMut": false,
163
- "isSigner": false
164
- },
165
- {
166
- "name": "systemProgram",
167
- "isMut": false,
168
- "isSigner": false
169
- },
170
- {
171
- "name": "clockProgramId",
172
- "isMut": false,
173
- "isSigner": false
174
- },
175
- {
176
- "name": "stakeProgramId",
177
- "isMut": false,
178
- "isSigner": false
179
- },
180
- {
181
- "name": "stakeHistoryProgramId",
182
- "isMut": false,
183
- "isSigner": false
184
- }
185
- ],
186
- "args": []
187
- },
188
- {
189
- "name": "burn",
190
- "accounts": [
191
- {
192
- "name": "user",
193
- "isMut": false,
194
- "isSigner": true
195
- },
196
- {
197
- "name": "userWsolToken",
198
- "isMut": true,
199
- "isSigner": false
200
- },
201
- {
202
- "name": "userUnstakingSolToken",
203
- "isMut": true,
204
- "isSigner": false
205
- },
206
- {
207
- "name": "wsolVault",
208
- "isMut": true,
209
- "isSigner": false
210
- },
211
- {
212
- "name": "wsolMint",
213
- "isMut": true,
214
- "isSigner": false
215
- },
216
- {
217
- "name": "poolState",
218
- "isMut": true,
219
- "isSigner": false
220
- },
221
- {
222
- "name": "unstakingSolMint",
223
- "isMut": true,
224
- "isSigner": false
225
- },
226
- {
227
- "name": "basePoolAuthority",
228
- "isMut": true,
229
- "isSigner": false
230
- },
231
- {
232
- "name": "systemProgram",
233
- "isMut": false,
234
- "isSigner": false
235
- },
236
- {
237
- "name": "unstakingSolTokenProgram",
238
- "isMut": false,
239
- "isSigner": false
240
- },
241
- {
242
- "name": "wsolTokenProgram",
243
- "isMut": false,
244
- "isSigner": false
245
- }
246
- ],
247
- "args": [
248
- {
249
- "name": "sharesToBurn",
250
- "type": "u64"
251
- }
252
- ]
253
- },
254
- {
255
- "name": "updatePoolConfig",
256
- "accounts": [
257
- {
258
- "name": "admin",
259
- "isMut": false,
260
- "isSigner": true
261
- },
262
- {
263
- "name": "poolState",
264
- "isMut": true,
265
- "isSigner": false
266
- }
267
- ],
268
- "args": [
269
- {
270
- "name": "entry",
271
- "type": {
272
- "defined": "PoolConfigField"
273
- }
274
- },
275
- {
276
- "name": "data",
277
- "type": "bytes"
278
- }
279
- ]
280
- }
281
- ],
282
- "accounts": [
283
- {
284
- "name": "PoolState",
285
- "type": {
286
- "kind": "struct",
287
- "fields": [
288
- {
289
- "name": "admin",
290
- "type": "publicKey"
291
- },
292
- {
293
- "name": "basePoolAuthority",
294
- "type": "publicKey"
295
- },
296
- {
297
- "name": "basePoolAuthorityBump",
298
- "type": "u64"
299
- },
300
- {
301
- "name": "unstakingSolMint",
302
- "type": "publicKey"
303
- },
304
- {
305
- "name": "wsolVault",
306
- "type": "publicKey"
307
- },
308
- {
309
- "name": "actionAuthority",
310
- "type": "publicKey"
311
- },
312
- {
313
- "name": "poolLookupTable",
314
- "type": "publicKey"
315
- },
316
- {
317
- "name": "sharesIssued",
318
- "type": "u64"
319
- },
320
- {
321
- "name": "wsolInVault",
322
- "type": "u64"
323
- },
324
- {
325
- "name": "padding0",
326
- "type": "u64"
327
- },
328
- {
329
- "name": "padding",
330
- "type": {
331
- "array": ["u128", 256]
332
- }
333
- }
334
- ]
335
- }
336
- }
337
- ],
338
- "types": [
339
- {
340
- "name": "PoolConfigField",
341
- "type": {
342
- "kind": "enum",
343
- "variants": [
344
- {
345
- "name": "ActionAuthority"
346
- },
347
- {
348
- "name": "LookupTable"
349
- }
350
- ]
351
- }
352
- }
353
- ],
354
- "errors": [
355
- {
356
- "code": 6000,
357
- "name": "IntegerOverflow",
358
- "msg": "IntegerOverflow"
359
- },
360
- {
361
- "code": 6001,
362
- "name": "StakePoolError",
363
- "msg": "Stake pool specific error"
364
- },
365
- {
366
- "code": 6002,
367
- "name": "InvalidStakePoolAccounts",
368
- "msg": "Passed stake pool accounts are not valid"
369
- },
370
- {
371
- "code": 6003,
372
- "name": "StakePoolDeserializeError",
373
- "msg": "Stake pool deserialization error"
374
- },
375
- {
376
- "code": 6004,
377
- "name": "InvalidStakePoolProgram",
378
- "msg": "Stake pool invalid program"
379
- },
380
- {
381
- "code": 6005,
382
- "name": "InvalidStakePoolSize",
383
- "msg": "Stake pool invalid size"
384
- },
385
- {
386
- "code": 6006,
387
- "name": "InvalidStakeAccountProgram",
388
- "msg": "Stake account invalid program"
389
- },
390
- {
391
- "code": 6007,
392
- "name": "InvalidStakeAccountSize",
393
- "msg": "Stake account invalid size"
394
- },
395
- {
396
- "code": 6008,
397
- "name": "InvalidStakeAccountCandidate",
398
- "msg": "Stake account candidates should be uninitialized accounts"
399
- },
400
- {
401
- "code": 6009,
402
- "name": "StakeAccountDeserializeError",
403
- "msg": "Stake account deserialization error"
404
- },
405
- {
406
- "code": 6010,
407
- "name": "UnexpectedSolToDestake",
408
- "msg": "Simulation and actual cpi call have different results for withdrawing sol from stake pool"
409
- },
410
- {
411
- "code": 6011,
412
- "name": "UnexpectedSolToCollect",
413
- "msg": "Simulation and actual cpi call have different results for collecting sol from stake account"
414
- },
415
- {
416
- "code": 6012,
417
- "name": "InvalidStakedSolProgram",
418
- "msg": "Staked sol program not support"
419
- },
420
- {
421
- "code": 6013,
422
- "name": "CannotDepositZeroStakedSol",
423
- "msg": "Cannot deposit 0 staked sol"
424
- },
425
- {
426
- "code": 6014,
427
- "name": "CannotMintZeroShares",
428
- "msg": "Cannot mint 0 shares"
429
- },
430
- {
431
- "code": 6015,
432
- "name": "CannotBurnZeroShares",
433
- "msg": "Cannot burn 0 shares"
434
- },
435
- {
436
- "code": 6016,
437
- "name": "CannotCollectZeroSol",
438
- "msg": "Cannot collect 0"
439
- },
440
- {
441
- "code": 6017,
442
- "name": "NotEnoughWsol",
443
- "msg": "Not enough wsol in vault"
444
- },
445
- {
446
- "code": 6018,
447
- "name": "NotEnoughSharesIssued",
448
- "msg": "Not enough shares issued"
449
- },
450
- {
451
- "code": 6019,
452
- "name": "NotEnoughStakedSolToDeposit",
453
- "msg": "Not enough staked sol to deposit (must be at least equivalent to minimum pool delegation)"
454
- }
455
- ]
456
- }