@kamino-finance/klend-sdk 7.1.4-beta.0 → 7.1.5

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 (241) hide show
  1. package/dist/@codegen/klend/accounts/LendingMarket.d.ts +3 -144
  2. package/dist/@codegen/klend/accounts/LendingMarket.d.ts.map +1 -1
  3. package/dist/@codegen/klend/accounts/LendingMarket.js +3 -105
  4. package/dist/@codegen/klend/accounts/LendingMarket.js.map +1 -1
  5. package/dist/@codegen/klend/accounts/Obligation.d.ts +15 -30
  6. package/dist/@codegen/klend/accounts/Obligation.d.ts.map +1 -1
  7. package/dist/@codegen/klend/accounts/Obligation.js +21 -31
  8. package/dist/@codegen/klend/accounts/Obligation.js.map +1 -1
  9. package/dist/@codegen/klend/accounts/Reserve.d.ts +0 -6
  10. package/dist/@codegen/klend/accounts/Reserve.d.ts.map +1 -1
  11. package/dist/@codegen/klend/accounts/Reserve.js +2 -9
  12. package/dist/@codegen/klend/accounts/Reserve.js.map +1 -1
  13. package/dist/@codegen/klend/accounts/UserState.d.ts +75 -0
  14. package/dist/@codegen/klend/accounts/UserState.d.ts.map +1 -1
  15. package/dist/@codegen/klend/accounts/UserState.js +25 -0
  16. package/dist/@codegen/klend/accounts/UserState.js.map +1 -1
  17. package/dist/@codegen/klend/accounts/index.d.ts +0 -6
  18. package/dist/@codegen/klend/accounts/index.d.ts.map +1 -1
  19. package/dist/@codegen/klend/accounts/index.js +1 -7
  20. package/dist/@codegen/klend/accounts/index.js.map +1 -1
  21. package/dist/@codegen/klend/errors/custom.d.ts +2 -226
  22. package/dist/@codegen/klend/errors/custom.d.ts.map +1 -1
  23. package/dist/@codegen/klend/errors/custom.js +3 -396
  24. package/dist/@codegen/klend/errors/custom.js.map +1 -1
  25. package/dist/@codegen/klend/instructions/idlMissingTypes.d.ts +2 -1
  26. package/dist/@codegen/klend/instructions/idlMissingTypes.d.ts.map +1 -1
  27. package/dist/@codegen/klend/instructions/idlMissingTypes.js +2 -6
  28. package/dist/@codegen/klend/instructions/idlMissingTypes.js.map +1 -1
  29. package/dist/@codegen/klend/instructions/index.d.ts +0 -16
  30. package/dist/@codegen/klend/instructions/index.d.ts.map +1 -1
  31. package/dist/@codegen/klend/instructions/index.js +1 -18
  32. package/dist/@codegen/klend/instructions/index.js.map +1 -1
  33. package/dist/@codegen/klend/instructions/initReserve.d.ts +1 -1
  34. package/dist/@codegen/klend/instructions/initReserve.d.ts.map +1 -1
  35. package/dist/@codegen/klend/instructions/initReserve.js +5 -1
  36. package/dist/@codegen/klend/instructions/initReserve.js.map +1 -1
  37. package/dist/@codegen/klend/instructions/liquidateObligationAndRedeemReserveCollateral.js +1 -1
  38. package/dist/@codegen/klend/instructions/updateGlobalConfig.d.ts +1 -1
  39. package/dist/@codegen/klend/instructions/updateGlobalConfig.d.ts.map +1 -1
  40. package/dist/@codegen/klend/instructions/updateGlobalConfig.js +0 -1
  41. package/dist/@codegen/klend/instructions/updateGlobalConfig.js.map +1 -1
  42. package/dist/@codegen/klend/instructions/updateReserveConfig.d.ts +1 -1
  43. package/dist/@codegen/klend/instructions/updateReserveConfig.d.ts.map +1 -1
  44. package/dist/@codegen/klend/instructions/updateReserveConfig.js +0 -1
  45. package/dist/@codegen/klend/instructions/updateReserveConfig.js.map +1 -1
  46. package/dist/@codegen/klend/instructions/withdrawObligationCollateral.js +1 -1
  47. package/dist/@codegen/klend/instructions/withdrawObligationCollateralV2.js +1 -1
  48. package/dist/@codegen/klend/types/AssetTier.d.ts +45 -0
  49. package/dist/@codegen/klend/types/AssetTier.d.ts.map +1 -0
  50. package/dist/@codegen/klend/types/AssetTier.js +132 -0
  51. package/dist/@codegen/klend/types/AssetTier.js.map +1 -0
  52. package/dist/@codegen/klend/types/ObligationLiquidity.d.ts +5 -35
  53. package/dist/@codegen/klend/types/ObligationLiquidity.d.ts.map +1 -1
  54. package/dist/@codegen/klend/types/ObligationLiquidity.js +7 -17
  55. package/dist/@codegen/klend/types/ObligationLiquidity.js.map +1 -1
  56. package/dist/@codegen/klend/types/ObligationOrder.d.ts +4 -4
  57. package/dist/@codegen/klend/types/ObligationOrder.js +2 -2
  58. package/dist/@codegen/klend/types/ReserveConfig.d.ts +29 -141
  59. package/dist/@codegen/klend/types/ReserveConfig.d.ts.map +1 -1
  60. package/dist/@codegen/klend/types/ReserveConfig.js +25 -89
  61. package/dist/@codegen/klend/types/ReserveConfig.js.map +1 -1
  62. package/dist/@codegen/klend/types/ReserveFees.d.ts +8 -8
  63. package/dist/@codegen/klend/types/ReserveFees.d.ts.map +1 -1
  64. package/dist/@codegen/klend/types/ReserveFees.js +8 -8
  65. package/dist/@codegen/klend/types/ReserveFees.js.map +1 -1
  66. package/dist/@codegen/klend/types/ReserveLiquidity.d.ts +8 -26
  67. package/dist/@codegen/klend/types/ReserveLiquidity.d.ts.map +1 -1
  68. package/dist/@codegen/klend/types/ReserveLiquidity.js +8 -14
  69. package/dist/@codegen/klend/types/ReserveLiquidity.js.map +1 -1
  70. package/dist/@codegen/klend/types/UpdateConfigMode.d.ts +14 -92
  71. package/dist/@codegen/klend/types/UpdateConfigMode.d.ts.map +1 -1
  72. package/dist/@codegen/klend/types/UpdateConfigMode.js +23 -168
  73. package/dist/@codegen/klend/types/UpdateConfigMode.js.map +1 -1
  74. package/dist/@codegen/klend/types/UpdateLendingMarketMode.d.ts +0 -130
  75. package/dist/@codegen/klend/types/UpdateLendingMarketMode.d.ts.map +1 -1
  76. package/dist/@codegen/klend/types/UpdateLendingMarketMode.js +1 -241
  77. package/dist/@codegen/klend/types/UpdateLendingMarketMode.js.map +1 -1
  78. package/dist/@codegen/klend/types/index.d.ts +8 -10
  79. package/dist/@codegen/klend/types/index.d.ts.map +1 -1
  80. package/dist/@codegen/klend/types/index.js +3 -7
  81. package/dist/@codegen/klend/types/index.js.map +1 -1
  82. package/dist/@codegen/klend/zero_padding/ObligationZP.d.ts +4 -9
  83. package/dist/@codegen/klend/zero_padding/ObligationZP.d.ts.map +1 -1
  84. package/dist/@codegen/klend/zero_padding/ObligationZP.js +13 -22
  85. package/dist/@codegen/klend/zero_padding/ObligationZP.js.map +1 -1
  86. package/dist/classes/action.d.ts +3 -30
  87. package/dist/classes/action.d.ts.map +1 -1
  88. package/dist/classes/action.js +10 -364
  89. package/dist/classes/action.js.map +1 -1
  90. package/dist/classes/manager.d.ts +3 -2
  91. package/dist/classes/manager.d.ts.map +1 -1
  92. package/dist/classes/manager.js +3 -12
  93. package/dist/classes/manager.js.map +1 -1
  94. package/dist/classes/market.d.ts +2 -6
  95. package/dist/classes/market.d.ts.map +1 -1
  96. package/dist/classes/market.js +6 -26
  97. package/dist/classes/market.js.map +1 -1
  98. package/dist/classes/obligation.js +1 -1
  99. package/dist/classes/obligation.js.map +1 -1
  100. package/dist/classes/reserve.d.ts.map +1 -1
  101. package/dist/classes/reserve.js +7 -13
  102. package/dist/classes/reserve.js.map +1 -1
  103. package/dist/classes/unstakingPool.d.ts +3 -20
  104. package/dist/classes/unstakingPool.d.ts.map +1 -1
  105. package/dist/classes/unstakingPool.js +8 -62
  106. package/dist/classes/unstakingPool.js.map +1 -1
  107. package/dist/classes/vault.d.ts +2 -1
  108. package/dist/classes/vault.d.ts.map +1 -1
  109. package/dist/classes/vault.js +59 -38
  110. package/dist/classes/vault.js.map +1 -1
  111. package/dist/idl/klend.json +293 -2186
  112. package/dist/lending_operations/index.d.ts +0 -1
  113. package/dist/lending_operations/index.d.ts.map +1 -1
  114. package/dist/lending_operations/index.js +0 -1
  115. package/dist/lending_operations/index.js.map +1 -1
  116. package/dist/manager/client_kamino_manager.js +9 -12
  117. package/dist/manager/client_kamino_manager.js.map +1 -1
  118. package/dist/utils/ata.d.ts +10 -1
  119. package/dist/utils/ata.d.ts.map +1 -1
  120. package/dist/utils/ata.js +47 -0
  121. package/dist/utils/ata.js.map +1 -1
  122. package/dist/utils/managerTypes.d.ts.map +1 -1
  123. package/dist/utils/managerTypes.js +4 -9
  124. package/dist/utils/managerTypes.js.map +1 -1
  125. package/dist/utils/seeds.d.ts +14 -10
  126. package/dist/utils/seeds.d.ts.map +1 -1
  127. package/dist/utils/seeds.js +22 -25
  128. package/dist/utils/seeds.js.map +1 -1
  129. package/package.json +1 -1
  130. package/src/@codegen/klend/accounts/LendingMarket.ts +5 -210
  131. package/src/@codegen/klend/accounts/Obligation.ts +31 -53
  132. package/src/@codegen/klend/accounts/Reserve.ts +2 -13
  133. package/src/@codegen/klend/accounts/UserState.ts +75 -0
  134. package/src/@codegen/klend/accounts/index.ts +0 -6
  135. package/src/@codegen/klend/errors/custom.ts +2 -427
  136. package/src/@codegen/klend/instructions/idlMissingTypes.ts +4 -7
  137. package/src/@codegen/klend/instructions/index.ts +0 -34
  138. package/src/@codegen/klend/instructions/initReserve.ts +6 -2
  139. package/src/@codegen/klend/instructions/liquidateObligationAndRedeemReserveCollateral.ts +1 -1
  140. package/src/@codegen/klend/instructions/updateGlobalConfig.ts +1 -2
  141. package/src/@codegen/klend/instructions/updateReserveConfig.ts +1 -2
  142. package/src/@codegen/klend/instructions/withdrawObligationCollateral.ts +1 -1
  143. package/src/@codegen/klend/instructions/withdrawObligationCollateralV2.ts +1 -1
  144. package/src/@codegen/klend/types/AssetTier.ts +119 -0
  145. package/src/@codegen/klend/types/ObligationLiquidity.ts +9 -39
  146. package/src/@codegen/klend/types/ObligationOrder.ts +4 -4
  147. package/src/@codegen/klend/types/ReserveConfig.ts +39 -171
  148. package/src/@codegen/klend/types/ReserveFees.ts +12 -12
  149. package/src/@codegen/klend/types/ReserveLiquidity.ts +12 -30
  150. package/src/@codegen/klend/types/UpdateConfigMode.ts +26 -206
  151. package/src/@codegen/klend/types/UpdateLendingMarketMode.ts +0 -300
  152. package/src/@codegen/klend/types/index.ts +16 -45
  153. package/src/@codegen/klend/zero_padding/ObligationZP.ts +13 -22
  154. package/src/classes/action.ts +8 -577
  155. package/src/classes/manager.ts +7 -13
  156. package/src/classes/market.ts +5 -36
  157. package/src/classes/obligation.ts +1 -1
  158. package/src/classes/reserve.ts +8 -13
  159. package/src/classes/unstakingPool.ts +6 -83
  160. package/src/classes/vault.ts +75 -54
  161. package/src/idl/klend.json +294 -2187
  162. package/src/lending_operations/index.ts +0 -1
  163. package/src/manager/client_kamino_manager.ts +9 -13
  164. package/src/utils/ata.ts +79 -0
  165. package/src/utils/managerTypes.ts +4 -9
  166. package/src/utils/seeds.ts +26 -28
  167. package/dist/@codegen/klend/accounts/PoolState.d.ts +0 -53
  168. package/dist/@codegen/klend/accounts/PoolState.d.ts.map +0 -1
  169. package/dist/@codegen/klend/accounts/PoolState.js +0 -167
  170. package/dist/@codegen/klend/accounts/PoolState.js.map +0 -1
  171. package/dist/@codegen/klend/accounts/UnstakeTicket.d.ts +0 -41
  172. package/dist/@codegen/klend/accounts/UnstakeTicket.d.ts.map +0 -1
  173. package/dist/@codegen/klend/accounts/UnstakeTicket.js +0 -143
  174. package/dist/@codegen/klend/accounts/UnstakeTicket.js.map +0 -1
  175. package/dist/@codegen/klend/accounts/WithdrawTicket.d.ts +0 -132
  176. package/dist/@codegen/klend/accounts/WithdrawTicket.d.ts.map +0 -1
  177. package/dist/@codegen/klend/accounts/WithdrawTicket.js +0 -191
  178. package/dist/@codegen/klend/accounts/WithdrawTicket.js.map +0 -1
  179. package/dist/@codegen/klend/instructions/enqueueToWithdraw.d.ts +0 -39
  180. package/dist/@codegen/klend/instructions/enqueueToWithdraw.d.ts.map +0 -1
  181. package/dist/@codegen/klend/instructions/enqueueToWithdraw.js +0 -67
  182. package/dist/@codegen/klend/instructions/enqueueToWithdraw.js.map +0 -1
  183. package/dist/@codegen/klend/instructions/fillBorrowOrder.d.ts +0 -36
  184. package/dist/@codegen/klend/instructions/fillBorrowOrder.d.ts.map +0 -1
  185. package/dist/@codegen/klend/instructions/fillBorrowOrder.js +0 -49
  186. package/dist/@codegen/klend/instructions/fillBorrowOrder.js.map +0 -1
  187. package/dist/@codegen/klend/instructions/recoverInvalidTicketCollateral.d.ts +0 -47
  188. package/dist/@codegen/klend/instructions/recoverInvalidTicketCollateral.d.ts.map +0 -1
  189. package/dist/@codegen/klend/instructions/recoverInvalidTicketCollateral.js +0 -66
  190. package/dist/@codegen/klend/instructions/recoverInvalidTicketCollateral.js.map +0 -1
  191. package/dist/@codegen/klend/instructions/setBorrowOrder.d.ts +0 -31
  192. package/dist/@codegen/klend/instructions/setBorrowOrder.d.ts.map +0 -1
  193. package/dist/@codegen/klend/instructions/setBorrowOrder.js +0 -64
  194. package/dist/@codegen/klend/instructions/setBorrowOrder.js.map +0 -1
  195. package/dist/@codegen/klend/instructions/unstakeLstCollateralEnd.d.ts +0 -53
  196. package/dist/@codegen/klend/instructions/unstakeLstCollateralEnd.d.ts.map +0 -1
  197. package/dist/@codegen/klend/instructions/unstakeLstCollateralEnd.js +0 -190
  198. package/dist/@codegen/klend/instructions/unstakeLstCollateralEnd.js.map +0 -1
  199. package/dist/@codegen/klend/instructions/unstakeLstCollateralStart.d.ts +0 -70
  200. package/dist/@codegen/klend/instructions/unstakeLstCollateralStart.d.ts.map +0 -1
  201. package/dist/@codegen/klend/instructions/unstakeLstCollateralStart.js +0 -261
  202. package/dist/@codegen/klend/instructions/unstakeLstCollateralStart.js.map +0 -1
  203. package/dist/@codegen/klend/instructions/withdrawObligationUsol.d.ts +0 -41
  204. package/dist/@codegen/klend/instructions/withdrawObligationUsol.d.ts.map +0 -1
  205. package/dist/@codegen/klend/instructions/withdrawObligationUsol.js +0 -135
  206. package/dist/@codegen/klend/instructions/withdrawObligationUsol.js.map +0 -1
  207. package/dist/@codegen/klend/instructions/withdrawQueuedLiquidity.d.ts +0 -51
  208. package/dist/@codegen/klend/instructions/withdrawQueuedLiquidity.d.ts.map +0 -1
  209. package/dist/@codegen/klend/instructions/withdrawQueuedLiquidity.js +0 -28
  210. package/dist/@codegen/klend/instructions/withdrawQueuedLiquidity.js.map +0 -1
  211. package/dist/@codegen/klend/types/BorrowOrder.d.ts +0 -192
  212. package/dist/@codegen/klend/types/BorrowOrder.d.ts.map +0 -1
  213. package/dist/@codegen/klend/types/BorrowOrder.js +0 -194
  214. package/dist/@codegen/klend/types/BorrowOrder.js.map +0 -1
  215. package/dist/@codegen/klend/types/BorrowOrderConfigArgs.d.ts +0 -39
  216. package/dist/@codegen/klend/types/BorrowOrderConfigArgs.d.ts.map +0 -1
  217. package/dist/@codegen/klend/types/BorrowOrderConfigArgs.js +0 -100
  218. package/dist/@codegen/klend/types/BorrowOrderConfigArgs.js.map +0 -1
  219. package/dist/@codegen/klend/types/WithdrawQueue.d.ts +0 -64
  220. package/dist/@codegen/klend/types/WithdrawQueue.d.ts.map +0 -1
  221. package/dist/@codegen/klend/types/WithdrawQueue.js +0 -104
  222. package/dist/@codegen/klend/types/WithdrawQueue.js.map +0 -1
  223. package/dist/lending_operations/unstake_lst_collateral.d.ts +0 -12
  224. package/dist/lending_operations/unstake_lst_collateral.d.ts.map +0 -1
  225. package/dist/lending_operations/unstake_lst_collateral.js +0 -104
  226. package/dist/lending_operations/unstake_lst_collateral.js.map +0 -1
  227. package/src/@codegen/klend/accounts/PoolState.ts +0 -192
  228. package/src/@codegen/klend/accounts/UnstakeTicket.ts +0 -160
  229. package/src/@codegen/klend/accounts/WithdrawTicket.ts +0 -256
  230. package/src/@codegen/klend/instructions/enqueueToWithdraw.ts +0 -89
  231. package/src/@codegen/klend/instructions/fillBorrowOrder.ts +0 -96
  232. package/src/@codegen/klend/instructions/recoverInvalidTicketCollateral.ts +0 -96
  233. package/src/@codegen/klend/instructions/setBorrowOrder.ts +0 -77
  234. package/src/@codegen/klend/instructions/unstakeLstCollateralEnd.ts +0 -251
  235. package/src/@codegen/klend/instructions/unstakeLstCollateralStart.ts +0 -353
  236. package/src/@codegen/klend/instructions/withdrawObligationUsol.ts +0 -168
  237. package/src/@codegen/klend/instructions/withdrawQueuedLiquidity.ts +0 -92
  238. package/src/@codegen/klend/types/BorrowOrder.ts +0 -267
  239. package/src/@codegen/klend/types/BorrowOrderConfigArgs.ts +0 -87
  240. package/src/@codegen/klend/types/WithdrawQueue.ts +0 -117
  241. package/src/lending_operations/unstake_lst_collateral.ts +0 -174
@@ -579,236 +579,6 @@ export class UpdateObligationOrderCreationEnabled {
579
579
  }
580
580
  }
581
581
 
582
- export interface UpdateMatureReserveDebtLiquidationEnabledJSON {
583
- kind: "UpdateMatureReserveDebtLiquidationEnabled"
584
- }
585
-
586
- export class UpdateMatureReserveDebtLiquidationEnabled {
587
- static readonly discriminator = 25
588
- static readonly kind = "UpdateMatureReserveDebtLiquidationEnabled"
589
- readonly discriminator = 25
590
- readonly kind = "UpdateMatureReserveDebtLiquidationEnabled"
591
-
592
- toJSON(): UpdateMatureReserveDebtLiquidationEnabledJSON {
593
- return {
594
- kind: "UpdateMatureReserveDebtLiquidationEnabled",
595
- }
596
- }
597
-
598
- toEncodable() {
599
- return {
600
- UpdateMatureReserveDebtLiquidationEnabled: {},
601
- }
602
- }
603
- }
604
-
605
- export interface UpdateObligationBorrowDebtTermLiquidationEnabledJSON {
606
- kind: "UpdateObligationBorrowDebtTermLiquidationEnabled"
607
- }
608
-
609
- export class UpdateObligationBorrowDebtTermLiquidationEnabled {
610
- static readonly discriminator = 26
611
- static readonly kind = "UpdateObligationBorrowDebtTermLiquidationEnabled"
612
- readonly discriminator = 26
613
- readonly kind = "UpdateObligationBorrowDebtTermLiquidationEnabled"
614
-
615
- toJSON(): UpdateObligationBorrowDebtTermLiquidationEnabledJSON {
616
- return {
617
- kind: "UpdateObligationBorrowDebtTermLiquidationEnabled",
618
- }
619
- }
620
-
621
- toEncodable() {
622
- return {
623
- UpdateObligationBorrowDebtTermLiquidationEnabled: {},
624
- }
625
- }
626
- }
627
-
628
- export interface UpdateProposerAuthorityJSON {
629
- kind: "UpdateProposerAuthority"
630
- }
631
-
632
- export class UpdateProposerAuthority {
633
- static readonly discriminator = 27
634
- static readonly kind = "UpdateProposerAuthority"
635
- readonly discriminator = 27
636
- readonly kind = "UpdateProposerAuthority"
637
-
638
- toJSON(): UpdateProposerAuthorityJSON {
639
- return {
640
- kind: "UpdateProposerAuthority",
641
- }
642
- }
643
-
644
- toEncodable() {
645
- return {
646
- UpdateProposerAuthority: {},
647
- }
648
- }
649
- }
650
-
651
- export interface UpdateBorrowOrderCreationEnabledJSON {
652
- kind: "UpdateBorrowOrderCreationEnabled"
653
- }
654
-
655
- export class UpdateBorrowOrderCreationEnabled {
656
- static readonly discriminator = 28
657
- static readonly kind = "UpdateBorrowOrderCreationEnabled"
658
- readonly discriminator = 28
659
- readonly kind = "UpdateBorrowOrderCreationEnabled"
660
-
661
- toJSON(): UpdateBorrowOrderCreationEnabledJSON {
662
- return {
663
- kind: "UpdateBorrowOrderCreationEnabled",
664
- }
665
- }
666
-
667
- toEncodable() {
668
- return {
669
- UpdateBorrowOrderCreationEnabled: {},
670
- }
671
- }
672
- }
673
-
674
- export interface UpdateBorrowOrderExecutionEnabledJSON {
675
- kind: "UpdateBorrowOrderExecutionEnabled"
676
- }
677
-
678
- export class UpdateBorrowOrderExecutionEnabled {
679
- static readonly discriminator = 29
680
- static readonly kind = "UpdateBorrowOrderExecutionEnabled"
681
- readonly discriminator = 29
682
- readonly kind = "UpdateBorrowOrderExecutionEnabled"
683
-
684
- toJSON(): UpdateBorrowOrderExecutionEnabledJSON {
685
- return {
686
- kind: "UpdateBorrowOrderExecutionEnabled",
687
- }
688
- }
689
-
690
- toEncodable() {
691
- return {
692
- UpdateBorrowOrderExecutionEnabled: {},
693
- }
694
- }
695
- }
696
-
697
- export interface UpdatePriceTriggeredLiquidationDisabledJSON {
698
- kind: "UpdatePriceTriggeredLiquidationDisabled"
699
- }
700
-
701
- export class UpdatePriceTriggeredLiquidationDisabled {
702
- static readonly discriminator = 30
703
- static readonly kind = "UpdatePriceTriggeredLiquidationDisabled"
704
- readonly discriminator = 30
705
- readonly kind = "UpdatePriceTriggeredLiquidationDisabled"
706
-
707
- toJSON(): UpdatePriceTriggeredLiquidationDisabledJSON {
708
- return {
709
- kind: "UpdatePriceTriggeredLiquidationDisabled",
710
- }
711
- }
712
-
713
- toEncodable() {
714
- return {
715
- UpdatePriceTriggeredLiquidationDisabled: {},
716
- }
717
- }
718
- }
719
-
720
- export interface UpdateWithdrawTicketIssuanceEnabledJSON {
721
- kind: "UpdateWithdrawTicketIssuanceEnabled"
722
- }
723
-
724
- export class UpdateWithdrawTicketIssuanceEnabled {
725
- static readonly discriminator = 31
726
- static readonly kind = "UpdateWithdrawTicketIssuanceEnabled"
727
- readonly discriminator = 31
728
- readonly kind = "UpdateWithdrawTicketIssuanceEnabled"
729
-
730
- toJSON(): UpdateWithdrawTicketIssuanceEnabledJSON {
731
- return {
732
- kind: "UpdateWithdrawTicketIssuanceEnabled",
733
- }
734
- }
735
-
736
- toEncodable() {
737
- return {
738
- UpdateWithdrawTicketIssuanceEnabled: {},
739
- }
740
- }
741
- }
742
-
743
- export interface UpdateWithdrawTicketRedemptionEnabledJSON {
744
- kind: "UpdateWithdrawTicketRedemptionEnabled"
745
- }
746
-
747
- export class UpdateWithdrawTicketRedemptionEnabled {
748
- static readonly discriminator = 32
749
- static readonly kind = "UpdateWithdrawTicketRedemptionEnabled"
750
- readonly discriminator = 32
751
- readonly kind = "UpdateWithdrawTicketRedemptionEnabled"
752
-
753
- toJSON(): UpdateWithdrawTicketRedemptionEnabledJSON {
754
- return {
755
- kind: "UpdateWithdrawTicketRedemptionEnabled",
756
- }
757
- }
758
-
759
- toEncodable() {
760
- return {
761
- UpdateWithdrawTicketRedemptionEnabled: {},
762
- }
763
- }
764
- }
765
-
766
- export interface UpdateMinWithdrawQueuedLiquidityValueJSON {
767
- kind: "UpdateMinWithdrawQueuedLiquidityValue"
768
- }
769
-
770
- export class UpdateMinWithdrawQueuedLiquidityValue {
771
- static readonly discriminator = 33
772
- static readonly kind = "UpdateMinWithdrawQueuedLiquidityValue"
773
- readonly discriminator = 33
774
- readonly kind = "UpdateMinWithdrawQueuedLiquidityValue"
775
-
776
- toJSON(): UpdateMinWithdrawQueuedLiquidityValueJSON {
777
- return {
778
- kind: "UpdateMinWithdrawQueuedLiquidityValue",
779
- }
780
- }
781
-
782
- toEncodable() {
783
- return {
784
- UpdateMinWithdrawQueuedLiquidityValue: {},
785
- }
786
- }
787
- }
788
-
789
- export interface UpdateUnstakingPoolStateJSON {
790
- kind: "UpdateUnstakingPoolState"
791
- }
792
-
793
- export class UpdateUnstakingPoolState {
794
- static readonly discriminator = 34
795
- static readonly kind = "UpdateUnstakingPoolState"
796
- readonly discriminator = 34
797
- readonly kind = "UpdateUnstakingPoolState"
798
-
799
- toJSON(): UpdateUnstakingPoolStateJSON {
800
- return {
801
- kind: "UpdateUnstakingPoolState",
802
- }
803
- }
804
-
805
- toEncodable() {
806
- return {
807
- UpdateUnstakingPoolState: {},
808
- }
809
- }
810
- }
811
-
812
582
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
813
583
  export function fromDecoded(obj: any): types.UpdateLendingMarketModeKind {
814
584
  if (typeof obj !== "object") {
@@ -890,36 +660,6 @@ export function fromDecoded(obj: any): types.UpdateLendingMarketModeKind {
890
660
  if ("UpdateObligationOrderCreationEnabled" in obj) {
891
661
  return new UpdateObligationOrderCreationEnabled()
892
662
  }
893
- if ("UpdateMatureReserveDebtLiquidationEnabled" in obj) {
894
- return new UpdateMatureReserveDebtLiquidationEnabled()
895
- }
896
- if ("UpdateObligationBorrowDebtTermLiquidationEnabled" in obj) {
897
- return new UpdateObligationBorrowDebtTermLiquidationEnabled()
898
- }
899
- if ("UpdateProposerAuthority" in obj) {
900
- return new UpdateProposerAuthority()
901
- }
902
- if ("UpdateBorrowOrderCreationEnabled" in obj) {
903
- return new UpdateBorrowOrderCreationEnabled()
904
- }
905
- if ("UpdateBorrowOrderExecutionEnabled" in obj) {
906
- return new UpdateBorrowOrderExecutionEnabled()
907
- }
908
- if ("UpdatePriceTriggeredLiquidationDisabled" in obj) {
909
- return new UpdatePriceTriggeredLiquidationDisabled()
910
- }
911
- if ("UpdateWithdrawTicketIssuanceEnabled" in obj) {
912
- return new UpdateWithdrawTicketIssuanceEnabled()
913
- }
914
- if ("UpdateWithdrawTicketRedemptionEnabled" in obj) {
915
- return new UpdateWithdrawTicketRedemptionEnabled()
916
- }
917
- if ("UpdateMinWithdrawQueuedLiquidityValue" in obj) {
918
- return new UpdateMinWithdrawQueuedLiquidityValue()
919
- }
920
- if ("UpdateUnstakingPoolState" in obj) {
921
- return new UpdateUnstakingPoolState()
922
- }
923
663
 
924
664
  throw new Error("Invalid enum object")
925
665
  }
@@ -1003,36 +743,6 @@ export function fromJSON(
1003
743
  case "UpdateObligationOrderCreationEnabled": {
1004
744
  return new UpdateObligationOrderCreationEnabled()
1005
745
  }
1006
- case "UpdateMatureReserveDebtLiquidationEnabled": {
1007
- return new UpdateMatureReserveDebtLiquidationEnabled()
1008
- }
1009
- case "UpdateObligationBorrowDebtTermLiquidationEnabled": {
1010
- return new UpdateObligationBorrowDebtTermLiquidationEnabled()
1011
- }
1012
- case "UpdateProposerAuthority": {
1013
- return new UpdateProposerAuthority()
1014
- }
1015
- case "UpdateBorrowOrderCreationEnabled": {
1016
- return new UpdateBorrowOrderCreationEnabled()
1017
- }
1018
- case "UpdateBorrowOrderExecutionEnabled": {
1019
- return new UpdateBorrowOrderExecutionEnabled()
1020
- }
1021
- case "UpdatePriceTriggeredLiquidationDisabled": {
1022
- return new UpdatePriceTriggeredLiquidationDisabled()
1023
- }
1024
- case "UpdateWithdrawTicketIssuanceEnabled": {
1025
- return new UpdateWithdrawTicketIssuanceEnabled()
1026
- }
1027
- case "UpdateWithdrawTicketRedemptionEnabled": {
1028
- return new UpdateWithdrawTicketRedemptionEnabled()
1029
- }
1030
- case "UpdateMinWithdrawQueuedLiquidityValue": {
1031
- return new UpdateMinWithdrawQueuedLiquidityValue()
1032
- }
1033
- case "UpdateUnstakingPoolState": {
1034
- return new UpdateUnstakingPoolState()
1035
- }
1036
746
  }
1037
747
  }
1038
748
 
@@ -1063,16 +773,6 @@ export function layout(property?: string) {
1063
773
  borsh.struct([], "UpdateObligationOrderExecutionEnabled"),
1064
774
  borsh.struct([], "UpdateImmutableFlag"),
1065
775
  borsh.struct([], "UpdateObligationOrderCreationEnabled"),
1066
- borsh.struct([], "UpdateMatureReserveDebtLiquidationEnabled"),
1067
- borsh.struct([], "UpdateObligationBorrowDebtTermLiquidationEnabled"),
1068
- borsh.struct([], "UpdateProposerAuthority"),
1069
- borsh.struct([], "UpdateBorrowOrderCreationEnabled"),
1070
- borsh.struct([], "UpdateBorrowOrderExecutionEnabled"),
1071
- borsh.struct([], "UpdatePriceTriggeredLiquidationDisabled"),
1072
- borsh.struct([], "UpdateWithdrawTicketIssuanceEnabled"),
1073
- borsh.struct([], "UpdateWithdrawTicketRedemptionEnabled"),
1074
- borsh.struct([], "UpdateMinWithdrawQueuedLiquidityValue"),
1075
- borsh.struct([], "UpdateUnstakingPoolState"),
1076
776
  ])
1077
777
  if (property !== undefined) {
1078
778
  return ret.replicate(property)
@@ -2,15 +2,11 @@ import * as UpdateConfigMode from "./UpdateConfigMode"
2
2
  import * as UpdateLendingMarketConfigValue from "./UpdateLendingMarketConfigValue"
3
3
  import * as UpdateLendingMarketMode from "./UpdateLendingMarketMode"
4
4
  import * as UpdateGlobalConfigMode from "./UpdateGlobalConfigMode"
5
+ import * as AssetTier from "./AssetTier"
5
6
  import * as FeeCalculation from "./FeeCalculation"
6
7
  import * as ReserveFarmKind from "./ReserveFarmKind"
7
8
  import * as ReserveStatus from "./ReserveStatus"
8
9
 
9
- export { BorrowOrderConfigArgs } from "./BorrowOrderConfigArgs"
10
- export type {
11
- BorrowOrderConfigArgsFields,
12
- BorrowOrderConfigArgsJSON,
13
- } from "./BorrowOrderConfigArgs"
14
10
  export { UpdateConfigMode }
15
11
 
16
12
  export type UpdateConfigModeKind =
@@ -19,7 +15,7 @@ export type UpdateConfigModeKind =
19
15
  | UpdateConfigMode.UpdateLiquidationThresholdPct
20
16
  | UpdateConfigMode.UpdateProtocolLiquidationFee
21
17
  | UpdateConfigMode.UpdateProtocolTakeRate
22
- | UpdateConfigMode.UpdateFeesOriginationFee
18
+ | UpdateConfigMode.UpdateFeesBorrowFee
23
19
  | UpdateConfigMode.UpdateFeesFlashLoanFee
24
20
  | UpdateConfigMode.DeprecatedUpdateFeesReferralFeeBps
25
21
  | UpdateConfigMode.UpdateDepositLimit
@@ -47,7 +43,7 @@ export type UpdateConfigModeKind =
47
43
  | UpdateConfigMode.UpdateMinLiquidationBonusBps
48
44
  | UpdateConfigMode.UpdateDeleveragingMarginCallPeriod
49
45
  | UpdateConfigMode.UpdateBorrowFactor
50
- | UpdateConfigMode.DeprecatedUpdateAssetTier
46
+ | UpdateConfigMode.UpdateAssetTier
51
47
  | UpdateConfigMode.UpdateElevationGroup
52
48
  | UpdateConfigMode.UpdateDeleveragingThresholdDecreaseBpsPerDay
53
49
  | UpdateConfigMode.DeprecatedUpdateMultiplierSideBoost
@@ -64,19 +60,13 @@ export type UpdateConfigModeKind =
64
60
  | UpdateConfigMode.UpdateAutodeleverageEnabled
65
61
  | UpdateConfigMode.UpdateDeleveragingBonusIncreaseBpsPerDay
66
62
  | UpdateConfigMode.UpdateProtocolOrderExecutionFee
67
- | UpdateConfigMode.UpdateDebtMaturityTimestamp
68
- | UpdateConfigMode.UpdateDebtTermSeconds
69
- | UpdateConfigMode.UpdateProposerAuthorityLock
70
- | UpdateConfigMode.UpdateMinDeleveragingBonusBps
71
- | UpdateConfigMode.UpdateCanUnstakeLstCollateral
72
- | UpdateConfigMode.UpdateLtvLamportsMargin
73
63
  export type UpdateConfigModeJSON =
74
64
  | UpdateConfigMode.UpdateLoanToValuePctJSON
75
65
  | UpdateConfigMode.UpdateMaxLiquidationBonusBpsJSON
76
66
  | UpdateConfigMode.UpdateLiquidationThresholdPctJSON
77
67
  | UpdateConfigMode.UpdateProtocolLiquidationFeeJSON
78
68
  | UpdateConfigMode.UpdateProtocolTakeRateJSON
79
- | UpdateConfigMode.UpdateFeesOriginationFeeJSON
69
+ | UpdateConfigMode.UpdateFeesBorrowFeeJSON
80
70
  | UpdateConfigMode.UpdateFeesFlashLoanFeeJSON
81
71
  | UpdateConfigMode.DeprecatedUpdateFeesReferralFeeBpsJSON
82
72
  | UpdateConfigMode.UpdateDepositLimitJSON
@@ -104,7 +94,7 @@ export type UpdateConfigModeJSON =
104
94
  | UpdateConfigMode.UpdateMinLiquidationBonusBpsJSON
105
95
  | UpdateConfigMode.UpdateDeleveragingMarginCallPeriodJSON
106
96
  | UpdateConfigMode.UpdateBorrowFactorJSON
107
- | UpdateConfigMode.DeprecatedUpdateAssetTierJSON
97
+ | UpdateConfigMode.UpdateAssetTierJSON
108
98
  | UpdateConfigMode.UpdateElevationGroupJSON
109
99
  | UpdateConfigMode.UpdateDeleveragingThresholdDecreaseBpsPerDayJSON
110
100
  | UpdateConfigMode.DeprecatedUpdateMultiplierSideBoostJSON
@@ -121,12 +111,6 @@ export type UpdateConfigModeJSON =
121
111
  | UpdateConfigMode.UpdateAutodeleverageEnabledJSON
122
112
  | UpdateConfigMode.UpdateDeleveragingBonusIncreaseBpsPerDayJSON
123
113
  | UpdateConfigMode.UpdateProtocolOrderExecutionFeeJSON
124
- | UpdateConfigMode.UpdateDebtMaturityTimestampJSON
125
- | UpdateConfigMode.UpdateDebtTermSecondsJSON
126
- | UpdateConfigMode.UpdateProposerAuthorityLockJSON
127
- | UpdateConfigMode.UpdateMinDeleveragingBonusBpsJSON
128
- | UpdateConfigMode.UpdateCanUnstakeLstCollateralJSON
129
- | UpdateConfigMode.UpdateLtvLamportsMarginJSON
130
114
 
131
115
  export { UpdateLendingMarketConfigValue }
132
116
 
@@ -179,16 +163,6 @@ export type UpdateLendingMarketModeKind =
179
163
  | UpdateLendingMarketMode.UpdateObligationOrderExecutionEnabled
180
164
  | UpdateLendingMarketMode.UpdateImmutableFlag
181
165
  | UpdateLendingMarketMode.UpdateObligationOrderCreationEnabled
182
- | UpdateLendingMarketMode.UpdateMatureReserveDebtLiquidationEnabled
183
- | UpdateLendingMarketMode.UpdateObligationBorrowDebtTermLiquidationEnabled
184
- | UpdateLendingMarketMode.UpdateProposerAuthority
185
- | UpdateLendingMarketMode.UpdateBorrowOrderCreationEnabled
186
- | UpdateLendingMarketMode.UpdateBorrowOrderExecutionEnabled
187
- | UpdateLendingMarketMode.UpdatePriceTriggeredLiquidationDisabled
188
- | UpdateLendingMarketMode.UpdateWithdrawTicketIssuanceEnabled
189
- | UpdateLendingMarketMode.UpdateWithdrawTicketRedemptionEnabled
190
- | UpdateLendingMarketMode.UpdateMinWithdrawQueuedLiquidityValue
191
- | UpdateLendingMarketMode.UpdateUnstakingPoolState
192
166
  export type UpdateLendingMarketModeJSON =
193
167
  | UpdateLendingMarketMode.UpdateOwnerJSON
194
168
  | UpdateLendingMarketMode.UpdateEmergencyModeJSON
@@ -215,16 +189,6 @@ export type UpdateLendingMarketModeJSON =
215
189
  | UpdateLendingMarketMode.UpdateObligationOrderExecutionEnabledJSON
216
190
  | UpdateLendingMarketMode.UpdateImmutableFlagJSON
217
191
  | UpdateLendingMarketMode.UpdateObligationOrderCreationEnabledJSON
218
- | UpdateLendingMarketMode.UpdateMatureReserveDebtLiquidationEnabledJSON
219
- | UpdateLendingMarketMode.UpdateObligationBorrowDebtTermLiquidationEnabledJSON
220
- | UpdateLendingMarketMode.UpdateProposerAuthorityJSON
221
- | UpdateLendingMarketMode.UpdateBorrowOrderCreationEnabledJSON
222
- | UpdateLendingMarketMode.UpdateBorrowOrderExecutionEnabledJSON
223
- | UpdateLendingMarketMode.UpdatePriceTriggeredLiquidationDisabledJSON
224
- | UpdateLendingMarketMode.UpdateWithdrawTicketIssuanceEnabledJSON
225
- | UpdateLendingMarketMode.UpdateWithdrawTicketRedemptionEnabledJSON
226
- | UpdateLendingMarketMode.UpdateMinWithdrawQueuedLiquidityValueJSON
227
- | UpdateLendingMarketMode.UpdateUnstakingPoolStateJSON
228
192
 
229
193
  export { UpdateGlobalConfigMode }
230
194
 
@@ -239,8 +203,6 @@ export { LastUpdate } from "./LastUpdate"
239
203
  export type { LastUpdateFields, LastUpdateJSON } from "./LastUpdate"
240
204
  export { ElevationGroup } from "./ElevationGroup"
241
205
  export type { ElevationGroupFields, ElevationGroupJSON } from "./ElevationGroup"
242
- export { BorrowOrder } from "./BorrowOrder"
243
- export type { BorrowOrderFields, BorrowOrderJSON } from "./BorrowOrder"
244
206
  export { InitObligationArgs } from "./InitObligationArgs"
245
207
  export type {
246
208
  InitObligationArgsFields,
@@ -261,6 +223,17 @@ export type {
261
223
  ObligationOrderFields,
262
224
  ObligationOrderJSON,
263
225
  } from "./ObligationOrder"
226
+ export { AssetTier }
227
+
228
+ export type AssetTierKind =
229
+ | AssetTier.Regular
230
+ | AssetTier.IsolatedCollateral
231
+ | AssetTier.IsolatedDebt
232
+ export type AssetTierJSON =
233
+ | AssetTier.RegularJSON
234
+ | AssetTier.IsolatedCollateralJSON
235
+ | AssetTier.IsolatedDebtJSON
236
+
264
237
  export { BigFractionBytes } from "./BigFractionBytes"
265
238
  export type {
266
239
  BigFractionBytesFields,
@@ -310,8 +283,6 @@ export type ReserveStatusJSON =
310
283
  | ReserveStatus.ObsoleteJSON
311
284
  | ReserveStatus.HiddenJSON
312
285
 
313
- export { WithdrawQueue } from "./WithdrawQueue"
314
- export type { WithdrawQueueFields, WithdrawQueueJSON } from "./WithdrawQueue"
315
286
  export { WithdrawalCaps } from "./WithdrawalCaps"
316
287
  export type { WithdrawalCapsFields, WithdrawalCapsJSON } from "./WithdrawalCaps"
317
288
  export { PriceHeuristic } from "./PriceHeuristic"
@@ -43,7 +43,9 @@ export class ObligationZP {
43
43
  /** The dangerous borrow value at the weighted average liquidation threshold (scaled fraction) */
44
44
  readonly unhealthyBorrowValueSf: BN
45
45
  /** The asset tier of the deposits */
46
- readonly paddingDeprecatedAssetTiers: Array<number>
46
+ readonly depositsAssetTiers: Array<number>
47
+ /** The asset tier of the borrows */
48
+ readonly borrowsAssetTiers: Array<number>
47
49
  /** The elevation group id the obligation opted into. */
48
50
  readonly elevationGroup: number
49
51
  /** The number of obsolete reserves the obligation has a deposit in */
@@ -74,14 +76,7 @@ export class ObligationZP {
74
76
  * Owner-defined, liquidator-executed orders applicable to this obligation.
75
77
  * Typical use-cases would be a stop-loss and a take-profit (possibly co-existing).
76
78
  */
77
- readonly obligationOrders: Array<types.ObligationOrder>
78
- /**
79
- * Owner-defined, permissionlessly-executed borrow order applicable to this obligation.
80
- * Non-zeroed only on a newly-initialized fixed-rate, fixed-term obligation.
81
- */
82
- readonly borrowOrder: types.BorrowOrder
83
- /** The unstaking ticket pubkey for LST position closing */
84
- readonly unstakeTicket: Address
79
+ readonly orders: Array<types.ObligationOrder>
85
80
  readonly padding3: Array<BN> = new Array(0)
86
81
 
87
82
  static readonly layout = borsh.struct<ObligationZP>([
@@ -97,7 +92,8 @@ export class ObligationZP {
97
92
  borsh.u128("borrowedAssetsMarketValueSf"),
98
93
  borsh.u128("allowedBorrowValueSf"),
99
94
  borsh.u128("unhealthyBorrowValueSf"),
100
- borsh.array(borsh.u8(), 13, "paddingDeprecatedAssetTiers"),
95
+ borsh.array(borsh.u8(), 8, "depositsAssetTiers"),
96
+ borsh.array(borsh.u8(), 5, "borrowsAssetTiers"),
101
97
  borsh.u8("elevationGroup"),
102
98
  borsh.u8("numOfObsoleteDepositReserves"),
103
99
  borsh.u8("hasDebt"),
@@ -109,10 +105,7 @@ export class ObligationZP {
109
105
  borsh.array(borsh.u8(), 4, "reserved"),
110
106
  borsh.u64("highestBorrowFactorPct"),
111
107
  borsh.u64("autodeleverageMarginCallStartedTimestamp"),
112
- borsh.array(types.ObligationOrder.layout(), 2, "obligationOrders"),
113
- types.BorrowOrder.layout("borrowOrder"),
114
- borshAddress("unstakeTicket"),
115
- borsh.array(borsh.u64(), 69, "padding3"),
108
+ borsh.array(types.ObligationOrder.layout(), 2, "orders"),
116
109
  ])
117
110
 
118
111
  constructor(fields: ObligationFields) {
@@ -134,7 +127,8 @@ export class ObligationZP {
134
127
  this.borrowedAssetsMarketValueSf = fields.borrowedAssetsMarketValueSf
135
128
  this.allowedBorrowValueSf = fields.allowedBorrowValueSf
136
129
  this.unhealthyBorrowValueSf = fields.unhealthyBorrowValueSf
137
- this.paddingDeprecatedAssetTiers = fields.paddingDeprecatedAssetTiers
130
+ this.depositsAssetTiers = fields.depositsAssetTiers
131
+ this.borrowsAssetTiers = fields.borrowsAssetTiers
138
132
  this.elevationGroup = fields.elevationGroup
139
133
  this.numOfObsoleteDepositReserves = fields.numOfObsoleteDepositReserves
140
134
  this.hasDebt = fields.hasDebt
@@ -147,11 +141,9 @@ export class ObligationZP {
147
141
  this.highestBorrowFactorPct = fields.highestBorrowFactorPct
148
142
  this.autodeleverageMarginCallStartedTimestamp =
149
143
  fields.autodeleverageMarginCallStartedTimestamp
150
- this.obligationOrders = fields.obligationOrders.map(
144
+ this.orders = fields.orders.map(
151
145
  (item) => new types.ObligationOrder({ ...item })
152
146
  )
153
- this.borrowOrder = new types.BorrowOrder({ ...fields.borrowOrder })
154
- this.unstakeTicket = fields.unstakeTicket
155
147
  this.padding3 = new Array<BN>(0);
156
148
  }
157
149
 
@@ -220,7 +212,8 @@ export class ObligationZP {
220
212
  borrowedAssetsMarketValueSf: dec.borrowedAssetsMarketValueSf,
221
213
  allowedBorrowValueSf: dec.allowedBorrowValueSf,
222
214
  unhealthyBorrowValueSf: dec.unhealthyBorrowValueSf,
223
- paddingDeprecatedAssetTiers: dec.paddingDeprecatedAssetTiers,
215
+ depositsAssetTiers: dec.depositsAssetTiers,
216
+ borrowsAssetTiers: dec.borrowsAssetTiers,
224
217
  elevationGroup: dec.elevationGroup,
225
218
  numOfObsoleteDepositReserves: dec.numOfObsoleteDepositReserves,
226
219
  hasDebt: dec.hasDebt,
@@ -233,13 +226,11 @@ export class ObligationZP {
233
226
  highestBorrowFactorPct: dec.highestBorrowFactorPct,
234
227
  autodeleverageMarginCallStartedTimestamp:
235
228
  dec.autodeleverageMarginCallStartedTimestamp,
236
- obligationOrders: dec.obligationOrders.map(
229
+ orders: dec.orders.map(
237
230
  (
238
231
  item: any /* eslint-disable-line @typescript-eslint/no-explicit-any */
239
232
  ) => types.ObligationOrder.fromDecoded(item)
240
233
  ),
241
- borrowOrder: dec.borrowOrder,
242
- unstakeTicket: dec.unstakeTicket,
243
234
  padding3: [],
244
235
  })
245
236
  }