@exponent-labs/klend-idl 0.9.25 → 0.9.26

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 (436) hide show
  1. package/build/accounts/GlobalConfig.d.ts +27 -0
  2. package/build/accounts/GlobalConfig.js +112 -0
  3. package/build/accounts/GlobalConfig.js.map +1 -0
  4. package/build/accounts/LendingMarket.d.ts +94 -12
  5. package/build/accounts/LendingMarket.js +219 -27
  6. package/build/accounts/LendingMarket.js.map +1 -1
  7. package/build/accounts/Obligation.d.ts +34 -12
  8. package/build/accounts/Obligation.js +86 -27
  9. package/build/accounts/Obligation.js.map +1 -1
  10. package/build/accounts/ReferrerState.d.ts +1 -3
  11. package/build/accounts/ReferrerState.js +24 -9
  12. package/build/accounts/ReferrerState.js.map +1 -1
  13. package/build/accounts/ReferrerTokenState.d.ts +1 -3
  14. package/build/accounts/ReferrerTokenState.js +20 -8
  15. package/build/accounts/ReferrerTokenState.js.map +1 -1
  16. package/build/accounts/Reserve.d.ts +4 -3
  17. package/build/accounts/Reserve.js +25 -9
  18. package/build/accounts/Reserve.js.map +1 -1
  19. package/build/accounts/ShortUrl.d.ts +1 -3
  20. package/build/accounts/ShortUrl.js +24 -9
  21. package/build/accounts/ShortUrl.js.map +1 -1
  22. package/build/accounts/UserMetadata.d.ts +1 -3
  23. package/build/accounts/UserMetadata.js +20 -8
  24. package/build/accounts/UserMetadata.js.map +1 -1
  25. package/build/accounts/UserState.d.ts +1 -3
  26. package/build/accounts/UserState.js +20 -8
  27. package/build/accounts/UserState.js.map +1 -1
  28. package/build/accounts/WithdrawTicket.d.ts +49 -0
  29. package/build/accounts/WithdrawTicket.js +158 -0
  30. package/build/accounts/WithdrawTicket.js.map +1 -0
  31. package/build/accounts/index.d.ts +4 -0
  32. package/build/accounts/index.js +5 -1
  33. package/build/accounts/index.js.map +1 -1
  34. package/build/errors/anchor.js +2 -2
  35. package/build/errors/anchor.js.map +1 -1
  36. package/build/errors/custom.d.ts +605 -13
  37. package/build/errors/custom.js +1064 -27
  38. package/build/errors/custom.js.map +1 -1
  39. package/build/errors/index.js +19 -10
  40. package/build/errors/index.js.map +1 -1
  41. package/build/index.d.ts +2 -3
  42. package/build/index.js +20 -14
  43. package/build/index.js.map +1 -1
  44. package/build/instructions/abortObligationOwnershipTransfer.d.ts +7 -0
  45. package/build/instructions/abortObligationOwnershipTransfer.js +21 -0
  46. package/build/instructions/abortObligationOwnershipTransfer.js.map +1 -0
  47. package/build/instructions/acceptObligationOwnership.d.ts +7 -0
  48. package/build/instructions/acceptObligationOwnership.js +21 -0
  49. package/build/instructions/acceptObligationOwnership.js.map +1 -0
  50. package/build/instructions/approveObligationOwnershipTransfer.d.ts +9 -0
  51. package/build/instructions/approveObligationOwnershipTransfer.js +23 -0
  52. package/build/instructions/approveObligationOwnershipTransfer.js.map +1 -0
  53. package/build/instructions/borrowObligationLiquidity.d.ts +1 -1
  54. package/build/instructions/borrowObligationLiquidity.js +28 -11
  55. package/build/instructions/borrowObligationLiquidity.js.map +1 -1
  56. package/build/instructions/borrowObligationLiquidityV2.js +45 -15
  57. package/build/instructions/borrowObligationLiquidityV2.js.map +1 -1
  58. package/build/instructions/calculateCtokenExchangeRate.d.ts +5 -0
  59. package/build/instructions/calculateCtokenExchangeRate.js +15 -0
  60. package/build/instructions/calculateCtokenExchangeRate.js.map +1 -0
  61. package/build/instructions/cancelWithdrawTicket.d.ts +19 -0
  62. package/build/instructions/cancelWithdrawTicket.js +87 -0
  63. package/build/instructions/cancelWithdrawTicket.js.map +1 -0
  64. package/build/instructions/cloneReserveConfig.d.ts +14 -0
  65. package/build/instructions/cloneReserveConfig.js +70 -0
  66. package/build/instructions/cloneReserveConfig.js.map +1 -0
  67. package/build/instructions/deleteReferrerStateAndShortUrl.js +1 -2
  68. package/build/instructions/deleteReferrerStateAndShortUrl.js.map +1 -1
  69. package/build/instructions/depositAndWithdraw.d.ts +51 -0
  70. package/build/instructions/depositAndWithdraw.js +202 -0
  71. package/build/instructions/depositAndWithdraw.js.map +1 -0
  72. package/build/instructions/depositObligationCollateral.js +19 -9
  73. package/build/instructions/depositObligationCollateral.js.map +1 -1
  74. package/build/instructions/depositObligationCollateralV2.d.ts +25 -0
  75. package/build/instructions/depositObligationCollateralV2.js +109 -0
  76. package/build/instructions/depositObligationCollateralV2.js.map +1 -0
  77. package/build/instructions/depositReserveLiquidity.js +20 -10
  78. package/build/instructions/depositReserveLiquidity.js.map +1 -1
  79. package/build/instructions/depositReserveLiquidityAndObligationCollateral.d.ts +1 -1
  80. package/build/instructions/depositReserveLiquidityAndObligationCollateral.js +28 -15
  81. package/build/instructions/depositReserveLiquidityAndObligationCollateral.js.map +1 -1
  82. package/build/instructions/depositReserveLiquidityAndObligationCollateralV2.js +45 -15
  83. package/build/instructions/depositReserveLiquidityAndObligationCollateralV2.js.map +1 -1
  84. package/build/instructions/enqueueToWithdraw.d.ts +26 -0
  85. package/build/instructions/enqueueToWithdraw.js +113 -0
  86. package/build/instructions/enqueueToWithdraw.js.map +1 -0
  87. package/build/instructions/fillBorrowOrder.d.ts +25 -0
  88. package/build/instructions/fillBorrowOrder.js +82 -0
  89. package/build/instructions/fillBorrowOrder.js.map +1 -0
  90. package/build/instructions/fillBorrowOrderV2.d.ts +29 -0
  91. package/build/instructions/fillBorrowOrderV2.js +122 -0
  92. package/build/instructions/fillBorrowOrderV2.js.map +1 -0
  93. package/build/instructions/flashBorrowReserveLiquidity.d.ts +2 -2
  94. package/build/instructions/flashBorrowReserveLiquidity.js +28 -11
  95. package/build/instructions/flashBorrowReserveLiquidity.js.map +1 -1
  96. package/build/instructions/flashRepayReserveLiquidity.d.ts +2 -2
  97. package/build/instructions/flashRepayReserveLiquidity.js +32 -12
  98. package/build/instructions/flashRepayReserveLiquidity.js.map +1 -1
  99. package/build/instructions/idlMissingTypes.d.ts +3 -2
  100. package/build/instructions/idlMissingTypes.js +26 -12
  101. package/build/instructions/idlMissingTypes.js.map +1 -1
  102. package/build/instructions/index.d.ts +61 -3
  103. package/build/instructions/index.js +62 -3
  104. package/build/instructions/index.js.map +1 -1
  105. package/build/instructions/initFarmsForReserve.d.ts +1 -0
  106. package/build/instructions/initFarmsForReserve.js +25 -10
  107. package/build/instructions/initFarmsForReserve.js.map +1 -1
  108. package/build/instructions/initGlobalConfig.d.ts +10 -0
  109. package/build/instructions/initGlobalConfig.js +24 -0
  110. package/build/instructions/initGlobalConfig.js.map +1 -0
  111. package/build/instructions/initLendingMarket.d.ts +1 -0
  112. package/build/instructions/initLendingMarket.js +27 -10
  113. package/build/instructions/initLendingMarket.js.map +1 -1
  114. package/build/instructions/initObligation.js +19 -9
  115. package/build/instructions/initObligation.js.map +1 -1
  116. package/build/instructions/initObligationFarmsForReserve.js +20 -10
  117. package/build/instructions/initObligationFarmsForReserve.js.map +1 -1
  118. package/build/instructions/initReferrerStateAndShortUrl.js +19 -9
  119. package/build/instructions/initReferrerStateAndShortUrl.js.map +1 -1
  120. package/build/instructions/initReferrerTokenState.d.ts +2 -5
  121. package/build/instructions/initReferrerTokenState.js +4 -33
  122. package/build/instructions/initReferrerTokenState.js.map +1 -1
  123. package/build/instructions/initReserve.d.ts +3 -1
  124. package/build/instructions/initReserve.js +12 -3
  125. package/build/instructions/initReserve.js.map +1 -1
  126. package/build/instructions/initUserMetadata.d.ts +1 -1
  127. package/build/instructions/initUserMetadata.js +27 -14
  128. package/build/instructions/initUserMetadata.js.map +1 -1
  129. package/build/instructions/initiateObligationOwnershipTransfer.d.ts +11 -0
  130. package/build/instructions/initiateObligationOwnershipTransfer.js +61 -0
  131. package/build/instructions/initiateObligationOwnershipTransfer.js.map +1 -0
  132. package/build/instructions/liquidateObligationAndRedeemReserveCollateral.js +21 -11
  133. package/build/instructions/liquidateObligationAndRedeemReserveCollateral.js.map +1 -1
  134. package/build/instructions/liquidateObligationAndRedeemReserveCollateralV2.d.ts +42 -0
  135. package/build/instructions/liquidateObligationAndRedeemReserveCollateralV2.js +172 -0
  136. package/build/instructions/liquidateObligationAndRedeemReserveCollateralV2.js.map +1 -0
  137. package/build/instructions/markObligationForDeleveraging.d.ts +12 -0
  138. package/build/instructions/markObligationForDeleveraging.js +62 -0
  139. package/build/instructions/markObligationForDeleveraging.js.map +1 -0
  140. package/build/instructions/recoverInvalidTicketCollateral.d.ts +20 -0
  141. package/build/instructions/recoverInvalidTicketCollateral.js +89 -0
  142. package/build/instructions/recoverInvalidTicketCollateral.js.map +1 -0
  143. package/build/instructions/redeemFees.js +2 -3
  144. package/build/instructions/redeemFees.js.map +1 -1
  145. package/build/instructions/redeemReserveCollateral.js +20 -10
  146. package/build/instructions/redeemReserveCollateral.js.map +1 -1
  147. package/build/instructions/refreshObligation.js +1 -2
  148. package/build/instructions/refreshObligation.js.map +1 -1
  149. package/build/instructions/refreshObligationFarmsForReserve.d.ts +8 -6
  150. package/build/instructions/refreshObligationFarmsForReserve.js +42 -16
  151. package/build/instructions/refreshObligationFarmsForReserve.js.map +1 -1
  152. package/build/instructions/refreshReserve.d.ts +4 -4
  153. package/build/instructions/refreshReserve.js +12 -14
  154. package/build/instructions/refreshReserve.js.map +1 -1
  155. package/build/instructions/refreshReservesBatch.js +19 -9
  156. package/build/instructions/refreshReservesBatch.js.map +1 -1
  157. package/build/instructions/repayAndWithdrawAndRedeem.d.ts +46 -0
  158. package/build/instructions/repayAndWithdrawAndRedeem.js +177 -0
  159. package/build/instructions/repayAndWithdrawAndRedeem.js.map +1 -0
  160. package/build/instructions/repayObligationLiquidity.js +20 -10
  161. package/build/instructions/repayObligationLiquidity.js.map +1 -1
  162. package/build/instructions/repayObligationLiquidityV2.js +50 -16
  163. package/build/instructions/repayObligationLiquidityV2.js.map +1 -1
  164. package/build/instructions/requestElevationGroup.js +19 -9
  165. package/build/instructions/requestElevationGroup.js.map +1 -1
  166. package/build/instructions/rolloverFixedTermBorrow.d.ts +25 -0
  167. package/build/instructions/rolloverFixedTermBorrow.js +76 -0
  168. package/build/instructions/rolloverFixedTermBorrow.js.map +1 -0
  169. package/build/instructions/seedDepositOnInitReserve.d.ts +11 -0
  170. package/build/instructions/seedDepositOnInitReserve.js +37 -0
  171. package/build/instructions/seedDepositOnInitReserve.js.map +1 -0
  172. package/build/instructions/setBorrowOrder.d.ts +20 -0
  173. package/build/instructions/setBorrowOrder.js +76 -0
  174. package/build/instructions/setBorrowOrder.js.map +1 -0
  175. package/build/instructions/setBorrowOrderV2.d.ts +21 -0
  176. package/build/instructions/setBorrowOrderV2.js +78 -0
  177. package/build/instructions/setBorrowOrderV2.js.map +1 -0
  178. package/build/instructions/setObligationOrder.d.ts +13 -0
  179. package/build/instructions/setObligationOrder.js +62 -0
  180. package/build/instructions/setObligationOrder.js.map +1 -0
  181. package/build/instructions/socializeLoss.d.ts +1 -1
  182. package/build/instructions/socializeLoss.js +20 -10
  183. package/build/instructions/socializeLoss.js.map +1 -1
  184. package/build/instructions/socializeLossV2.d.ts +22 -0
  185. package/build/instructions/socializeLossV2.js +94 -0
  186. package/build/instructions/socializeLossV2.js.map +1 -0
  187. package/build/instructions/topupReserveRewards.d.ts +16 -0
  188. package/build/instructions/topupReserveRewards.js +73 -0
  189. package/build/instructions/topupReserveRewards.js.map +1 -0
  190. package/build/instructions/updateGlobalConfig.d.ts +13 -0
  191. package/build/instructions/updateGlobalConfig.js +66 -0
  192. package/build/instructions/updateGlobalConfig.js.map +1 -0
  193. package/build/instructions/updateGlobalConfigAdmin.d.ts +7 -0
  194. package/build/instructions/updateGlobalConfigAdmin.js +21 -0
  195. package/build/instructions/updateGlobalConfigAdmin.js.map +1 -0
  196. package/build/instructions/updateLendingMarket.d.ts +2 -1
  197. package/build/instructions/updateLendingMarket.js +29 -11
  198. package/build/instructions/updateLendingMarket.js.map +1 -1
  199. package/build/instructions/updateLendingMarketOwner.d.ts +1 -0
  200. package/build/instructions/updateLendingMarketOwner.js +6 -2
  201. package/build/instructions/updateLendingMarketOwner.js.map +1 -1
  202. package/build/instructions/updateObligationConfig.d.ts +15 -0
  203. package/build/instructions/updateObligationConfig.js +71 -0
  204. package/build/instructions/updateObligationConfig.js.map +1 -0
  205. package/build/instructions/updateReserveConfig.d.ts +6 -4
  206. package/build/instructions/updateReserveConfig.js +34 -13
  207. package/build/instructions/updateReserveConfig.js.map +1 -1
  208. package/build/instructions/withdrawObligationCollateral.js +20 -10
  209. package/build/instructions/withdrawObligationCollateral.js.map +1 -1
  210. package/build/instructions/withdrawObligationCollateralAndRedeemReserveCollateral.d.ts +1 -1
  211. package/build/instructions/withdrawObligationCollateralAndRedeemReserveCollateral.js +28 -15
  212. package/build/instructions/withdrawObligationCollateralAndRedeemReserveCollateral.js.map +1 -1
  213. package/build/instructions/withdrawObligationCollateralAndRedeemReserveCollateralV2.js +40 -14
  214. package/build/instructions/withdrawObligationCollateralAndRedeemReserveCollateralV2.js.map +1 -1
  215. package/build/instructions/withdrawObligationCollateralV2.d.ts +25 -0
  216. package/build/instructions/withdrawObligationCollateralV2.js +109 -0
  217. package/build/instructions/withdrawObligationCollateralV2.js.map +1 -0
  218. package/build/instructions/withdrawProtocolFee.d.ts +3 -2
  219. package/build/instructions/withdrawProtocolFee.js +25 -14
  220. package/build/instructions/withdrawProtocolFee.js.map +1 -1
  221. package/build/instructions/withdrawQueuedLiquidity.d.ts +23 -0
  222. package/build/instructions/withdrawQueuedLiquidity.js +80 -0
  223. package/build/instructions/withdrawQueuedLiquidity.js.map +1 -0
  224. package/build/instructions/withdrawReferrerFees.js +2 -3
  225. package/build/instructions/withdrawReferrerFees.js.map +1 -1
  226. package/build/kamino_lending.d.ts +5753 -2295
  227. package/build/kamino_lending.js +5 -3936
  228. package/build/kamino_lending.js.map +1 -1
  229. package/build/kamino_lending.json +1856 -645
  230. package/build/types/AssetTier.js +21 -11
  231. package/build/types/AssetTier.js.map +1 -1
  232. package/build/types/BigFractionBytes.d.ts +2 -1
  233. package/build/types/BigFractionBytes.js +21 -8
  234. package/build/types/BigFractionBytes.js.map +1 -1
  235. package/build/types/BorrowOrder.d.ts +83 -0
  236. package/build/types/BorrowOrder.js +164 -0
  237. package/build/types/BorrowOrder.js.map +1 -0
  238. package/build/types/BorrowOrderConfigArgs.d.ts +42 -0
  239. package/build/types/BorrowOrderConfigArgs.js +107 -0
  240. package/build/types/BorrowOrderConfigArgs.js.map +1 -0
  241. package/build/types/BorrowRateCurve.js +17 -7
  242. package/build/types/BorrowRateCurve.js.map +1 -1
  243. package/build/types/CurvePoint.d.ts +2 -1
  244. package/build/types/CurvePoint.js +17 -7
  245. package/build/types/CurvePoint.js.map +1 -1
  246. package/build/types/ElevationGroup.d.ts +2 -1
  247. package/build/types/ElevationGroup.js +17 -7
  248. package/build/types/ElevationGroup.js.map +1 -1
  249. package/build/types/ExchangeRateWithDecimals.d.ts +27 -0
  250. package/build/types/ExchangeRateWithDecimals.js +82 -0
  251. package/build/types/ExchangeRateWithDecimals.js.map +1 -0
  252. package/build/types/FeeCalculation.js +25 -12
  253. package/build/types/FeeCalculation.js.map +1 -1
  254. package/build/types/FixedTermBorrowRolloverConfig.d.ts +47 -0
  255. package/build/types/FixedTermBorrowRolloverConfig.js +114 -0
  256. package/build/types/FixedTermBorrowRolloverConfig.js.map +1 -0
  257. package/build/types/InitObligationArgs.d.ts +2 -1
  258. package/build/types/InitObligationArgs.js +17 -7
  259. package/build/types/InitObligationArgs.js.map +1 -1
  260. package/build/types/LastUpdate.d.ts +12 -6
  261. package/build/types/LastUpdate.js +36 -14
  262. package/build/types/LastUpdate.js.map +1 -1
  263. package/build/types/ObligationCollateral.js +17 -7
  264. package/build/types/ObligationCollateral.js.map +1 -1
  265. package/build/types/ObligationLiquidity.d.ts +29 -5
  266. package/build/types/ObligationLiquidity.js +42 -15
  267. package/build/types/ObligationLiquidity.js.map +1 -1
  268. package/build/types/ObligationOrder.d.ts +57 -0
  269. package/build/types/ObligationOrder.js +127 -0
  270. package/build/types/ObligationOrder.js.map +1 -0
  271. package/build/types/PriceHeuristic.js +17 -7
  272. package/build/types/PriceHeuristic.js.map +1 -1
  273. package/build/types/ProgressCallbackType.d.ts +31 -0
  274. package/build/types/ProgressCallbackType.js +108 -0
  275. package/build/types/ProgressCallbackType.js.map +1 -0
  276. package/build/types/PythConfiguration.js +17 -7
  277. package/build/types/PythConfiguration.js.map +1 -1
  278. package/build/types/ReserveCollateral.js +17 -7
  279. package/build/types/ReserveCollateral.js.map +1 -1
  280. package/build/types/ReserveConfig.d.ts +87 -32
  281. package/build/types/ReserveConfig.js +139 -51
  282. package/build/types/ReserveConfig.js.map +1 -1
  283. package/build/types/ReserveConfigCustomizationArgs.d.ts +42 -0
  284. package/build/types/ReserveConfigCustomizationArgs.js +106 -0
  285. package/build/types/ReserveConfigCustomizationArgs.js.map +1 -0
  286. package/build/types/ReserveFarmKind.js +21 -11
  287. package/build/types/ReserveFarmKind.js.map +1 -1
  288. package/build/types/ReserveFees.d.ts +5 -5
  289. package/build/types/ReserveFees.js +24 -14
  290. package/build/types/ReserveFees.js.map +1 -1
  291. package/build/types/ReserveLiquidity.d.ts +20 -15
  292. package/build/types/ReserveLiquidity.js +46 -29
  293. package/build/types/ReserveLiquidity.js.map +1 -1
  294. package/build/types/ReserveStatus.js +21 -11
  295. package/build/types/ReserveStatus.js.map +1 -1
  296. package/build/types/ScopeConfiguration.js +17 -7
  297. package/build/types/ScopeConfiguration.js.map +1 -1
  298. package/build/types/SwitchboardConfiguration.js +17 -7
  299. package/build/types/SwitchboardConfiguration.js.map +1 -1
  300. package/build/types/TokenInfo.js +17 -7
  301. package/build/types/TokenInfo.js.map +1 -1
  302. package/build/types/UpdateConfigMode.d.ts +232 -63
  303. package/build/types/UpdateConfigMode.js +433 -110
  304. package/build/types/UpdateConfigMode.js.map +1 -1
  305. package/build/types/UpdateGlobalConfigMode.d.ts +31 -0
  306. package/build/types/UpdateGlobalConfigMode.js +108 -0
  307. package/build/types/UpdateGlobalConfigMode.js.map +1 -0
  308. package/build/types/UpdateLendingMarketConfigValue.d.ts +20 -0
  309. package/build/types/UpdateLendingMarketConfigValue.js +53 -11
  310. package/build/types/UpdateLendingMarketConfigValue.js.map +1 -1
  311. package/build/types/UpdateLendingMarketMode.d.ts +400 -23
  312. package/build/types/UpdateLendingMarketMode.js +752 -46
  313. package/build/types/UpdateLendingMarketMode.js.map +1 -1
  314. package/build/types/UpdateObligationConfigMode.d.ts +83 -0
  315. package/build/types/UpdateObligationConfigMode.js +204 -0
  316. package/build/types/UpdateObligationConfigMode.js.map +1 -0
  317. package/build/types/WithdrawQueue.d.ts +32 -0
  318. package/build/types/WithdrawQueue.js +93 -0
  319. package/build/types/WithdrawQueue.js.map +1 -0
  320. package/build/types/WithdrawalCaps.js +17 -7
  321. package/build/types/WithdrawalCaps.js.map +1 -1
  322. package/build/types/index.d.ts +32 -10
  323. package/build/types/index.js +38 -10
  324. package/build/types/index.js.map +1 -1
  325. package/package.json +3 -2
  326. package/scripts/generate-idl-module.mjs +18 -0
  327. package/scripts/patch-optional-accounts.mjs +98 -0
  328. package/scripts/verify-idl-provenance.mjs +16 -0
  329. package/src/accounts/GlobalConfig.ts +113 -0
  330. package/src/accounts/LendingMarket.ts +300 -29
  331. package/src/accounts/Obligation.ts +111 -26
  332. package/src/accounts/ReferrerState.ts +11 -4
  333. package/src/accounts/ReferrerTokenState.ts +6 -3
  334. package/src/accounts/Reserve.ts +10 -2
  335. package/src/accounts/ShortUrl.ts +15 -4
  336. package/src/accounts/UserMetadata.ts +6 -3
  337. package/src/accounts/UserState.ts +24 -8
  338. package/src/accounts/WithdrawTicket.ts +173 -0
  339. package/src/accounts/index.ts +4 -0
  340. package/src/errors/custom.ts +1177 -24
  341. package/src/index.ts +2 -4
  342. package/src/instructions/abortObligationOwnershipTransfer.ts +30 -0
  343. package/src/instructions/acceptObligationOwnership.ts +30 -0
  344. package/src/instructions/approveObligationOwnershipTransfer.ts +34 -0
  345. package/src/instructions/borrowObligationLiquidity.ts +18 -5
  346. package/src/instructions/borrowObligationLiquidityV2.ts +30 -9
  347. package/src/instructions/calculateCtokenExchangeRate.ts +22 -0
  348. package/src/instructions/cancelWithdrawTicket.ts +77 -0
  349. package/src/instructions/cloneReserveConfig.ts +56 -0
  350. package/src/instructions/deleteReferrerStateAndShortUrl.ts +4 -1
  351. package/src/instructions/depositAndWithdraw.ts +229 -0
  352. package/src/instructions/depositObligationCollateral.ts +3 -2
  353. package/src/instructions/depositObligationCollateralV2.ts +110 -0
  354. package/src/instructions/depositReserveLiquidity.ts +4 -3
  355. package/src/instructions/depositReserveLiquidityAndObligationCollateral.ts +18 -9
  356. package/src/instructions/depositReserveLiquidityAndObligationCollateralV2.ts +31 -14
  357. package/src/instructions/enqueueToWithdraw.ts +113 -0
  358. package/src/instructions/fillBorrowOrder.ts +114 -0
  359. package/src/instructions/fillBorrowOrderV2.ts +128 -0
  360. package/src/instructions/flashBorrowReserveLiquidity.ts +19 -6
  361. package/src/instructions/flashRepayReserveLiquidity.ts +23 -7
  362. package/src/instructions/idlMissingTypes.ts +17 -9
  363. package/src/instructions/index.ts +118 -6
  364. package/src/instructions/initFarmsForReserve.ts +11 -3
  365. package/src/instructions/initGlobalConfig.ts +36 -0
  366. package/src/instructions/initLendingMarket.ts +13 -3
  367. package/src/instructions/initObligation.ts +3 -2
  368. package/src/instructions/initObligationFarmsForReserve.ts +5 -3
  369. package/src/instructions/initReferrerStateAndShortUrl.ts +4 -2
  370. package/src/instructions/initReferrerTokenState.ts +6 -16
  371. package/src/instructions/initReserve.ts +21 -3
  372. package/src/instructions/initUserMetadata.ts +18 -8
  373. package/src/instructions/initiateObligationOwnershipTransfer.ts +44 -0
  374. package/src/instructions/liquidateObligationAndRedeemReserveCollateral.ts +7 -5
  375. package/src/instructions/liquidateObligationAndRedeemReserveCollateralV2.ts +191 -0
  376. package/src/instructions/markObligationForDeleveraging.ts +46 -0
  377. package/src/instructions/recoverInvalidTicketCollateral.ts +80 -0
  378. package/src/instructions/redeemFees.ts +8 -2
  379. package/src/instructions/redeemReserveCollateral.ts +4 -3
  380. package/src/instructions/refreshObligation.ts +7 -1
  381. package/src/instructions/refreshObligationFarmsForReserve.ts +35 -15
  382. package/src/instructions/refreshReserve.ts +27 -17
  383. package/src/instructions/refreshReservesBatch.ts +7 -2
  384. package/src/instructions/repayAndWithdrawAndRedeem.ts +199 -0
  385. package/src/instructions/repayObligationLiquidity.ts +4 -3
  386. package/src/instructions/repayObligationLiquidityV2.ts +35 -10
  387. package/src/instructions/requestElevationGroup.ts +4 -2
  388. package/src/instructions/rolloverFixedTermBorrow.ts +108 -0
  389. package/src/instructions/seedDepositOnInitReserve.ts +50 -0
  390. package/src/instructions/setBorrowOrder.ts +66 -0
  391. package/src/instructions/setBorrowOrderV2.ts +69 -0
  392. package/src/instructions/setObligationOrder.ts +45 -0
  393. package/src/instructions/socializeLoss.ts +5 -4
  394. package/src/instructions/socializeLossV2.ts +92 -0
  395. package/src/instructions/topupReserveRewards.ts +60 -0
  396. package/src/instructions/updateGlobalConfig.ts +53 -0
  397. package/src/instructions/updateGlobalConfigAdmin.ts +30 -0
  398. package/src/instructions/updateLendingMarket.ts +15 -5
  399. package/src/instructions/updateLendingMarketOwner.ts +10 -1
  400. package/src/instructions/updateObligationConfig.ts +65 -0
  401. package/src/instructions/updateReserveConfig.ts +27 -10
  402. package/src/instructions/withdrawObligationCollateral.ts +4 -3
  403. package/src/instructions/withdrawObligationCollateralAndRedeemReserveCollateral.ts +18 -9
  404. package/src/instructions/withdrawObligationCollateralAndRedeemReserveCollateralV2.ts +26 -13
  405. package/src/instructions/withdrawObligationCollateralV2.ts +110 -0
  406. package/src/instructions/withdrawProtocolFee.ts +12 -9
  407. package/src/instructions/withdrawQueuedLiquidity.ts +110 -0
  408. package/src/instructions/withdrawReferrerFees.ts +8 -2
  409. package/src/kamino_lending.json +1856 -645
  410. package/src/kamino_lending.ts +5558 -6034
  411. package/src/types/BigFractionBytes.ts +9 -1
  412. package/src/types/BorrowOrder.ts +168 -0
  413. package/src/types/BorrowOrderConfigArgs.ts +96 -0
  414. package/src/types/BorrowRateCurve.ts +10 -3
  415. package/src/types/CurvePoint.ts +7 -1
  416. package/src/types/ElevationGroup.ts +2 -1
  417. package/src/types/ExchangeRateWithDecimals.ts +64 -0
  418. package/src/types/FeeCalculation.ts +9 -2
  419. package/src/types/FixedTermBorrowRolloverConfig.ts +110 -0
  420. package/src/types/InitObligationArgs.ts +3 -0
  421. package/src/types/LastUpdate.ts +26 -10
  422. package/src/types/ObligationLiquidity.ts +43 -10
  423. package/src/types/ObligationOrder.ts +121 -0
  424. package/src/types/ProgressCallbackType.ts +90 -0
  425. package/src/types/ReserveConfig.ts +169 -62
  426. package/src/types/ReserveConfigCustomizationArgs.ts +96 -0
  427. package/src/types/ReserveFees.ts +9 -9
  428. package/src/types/ReserveLiquidity.ts +38 -28
  429. package/src/types/UpdateConfigMode.ts +507 -117
  430. package/src/types/UpdateGlobalConfigMode.ts +90 -0
  431. package/src/types/UpdateLendingMarketConfigValue.ts +43 -0
  432. package/src/types/UpdateLendingMarketMode.ts +912 -41
  433. package/src/types/UpdateObligationConfigMode.ts +210 -0
  434. package/src/types/WithdrawQueue.ts +85 -0
  435. package/src/types/index.ts +175 -34
  436. package/src/types/AssetTier.ts +0 -116
@@ -15,13 +15,23 @@ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (
15
15
  }) : function(o, v) {
16
16
  o["default"] = v;
17
17
  });
18
- var __importStar = (this && this.__importStar) || function (mod) {
19
- if (mod && mod.__esModule) return mod;
20
- var result = {};
21
- if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
22
- __setModuleDefault(result, mod);
23
- return result;
24
- };
18
+ var __importStar = (this && this.__importStar) || (function () {
19
+ var ownKeys = function(o) {
20
+ ownKeys = Object.getOwnPropertyNames || function (o) {
21
+ var ar = [];
22
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
23
+ return ar;
24
+ };
25
+ return ownKeys(o);
26
+ };
27
+ return function (mod) {
28
+ if (mod && mod.__esModule) return mod;
29
+ var result = {};
30
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
31
+ __setModuleDefault(result, mod);
32
+ return result;
33
+ };
34
+ })();
25
35
  var __importDefault = (this && this.__importDefault) || function (mod) {
26
36
  return (mod && mod.__esModule) ? mod : { "default": mod };
27
37
  };
@@ -1 +1 @@
1
- {"version":3,"file":"TokenInfo.js","sourceRoot":"","sources":["../../src/types/TokenInfo.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;AACA,kDAAsB,CAAC,wDAAwD;AAC/E,gDAAiC,CAAC,wDAAwD;AAC1F,wDAAyC;AA8BzC,MAAa,SAAS;IACX,IAAI,CAAe;IACnB,SAAS,CAAsB;IAC/B,oBAAoB,CAAI;IACxB,kBAAkB,CAAI;IACtB,iBAAiB,CAAI;IACrB,kBAAkB,CAA0B;IAC5C,wBAAwB,CAAgC;IACxD,iBAAiB,CAAyB;IAC1C,eAAe,CAAQ;IACvB,QAAQ,CAAe;IACvB,OAAO,CAAW;IAE3B,YAAY,MAAuB;QACjC,IAAI,CAAC,IAAI,GAAG,MAAM,CAAC,IAAI,CAAA;QACvB,IAAI,CAAC,SAAS,GAAG,IAAI,KAAK,CAAC,cAAc,CAAC,EAAE,GAAG,MAAM,CAAC,SAAS,EAAE,CAAC,CAAA;QAClE,IAAI,CAAC,oBAAoB,GAAG,MAAM,CAAC,oBAAoB,CAAA;QACvD,IAAI,CAAC,kBAAkB,GAAG,MAAM,CAAC,kBAAkB,CAAA;QACnD,IAAI,CAAC,iBAAiB,GAAG,MAAM,CAAC,iBAAiB,CAAA;QACjD,IAAI,CAAC,kBAAkB,GAAG,IAAI,KAAK,CAAC,kBAAkB,CAAC;YACrD,GAAG,MAAM,CAAC,kBAAkB;SAC7B,CAAC,CAAA;QACF,IAAI,CAAC,wBAAwB,GAAG,IAAI,KAAK,CAAC,wBAAwB,CAAC;YACjE,GAAG,MAAM,CAAC,wBAAwB;SACnC,CAA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,eAAE,CAAC,GAAG,CAAC,iBAAiB,CAAC;YAChD,kBAAkB,EAAE,KAAK,CAAC,kBAAkB,CAAC,QAAQ,CACnD,GAAG,CAAC,kBAAkB,CACvB;YACD,wBAAwB,EAAE,KAAK,CAAC,wBAAwB,CAAC,QAAQ,CAC/D,GAAG,CAAC,wBAAwB,CAC7B;YACD,iBAAiB,EAAE,KAAK,CAAC,iBAAiB,CAAC,QAAQ,CACjD,GAAG,CAAC,iBAAiB,CACtB;YACD,eAAe,EAAE,GAAG,CAAC,eAAe;YACpC,QAAQ,EAAE,GAAG,CAAC,QAAQ;YACtB,OAAO,EAAE,GAAG,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,IAAI,eAAE,CAAC,IAAI,CAAC,CAAC;SACjD,CAAC,CAAA;IACJ,CAAC;IAED,WAAW;QACT,OAAO,SAAS,CAAC,WAAW,CAAC,IAAI,CAAC,CAAA;IACpC,CAAC;CACF;AA1ID,8BA0IC"}
@@ -65,17 +65,17 @@ export declare class UpdateProtocolTakeRate {
65
65
  UpdateProtocolTakeRate: {};
66
66
  };
67
67
  }
68
- export interface UpdateFeesBorrowFeeJSON {
69
- kind: "UpdateFeesBorrowFee";
68
+ export interface UpdateFeesOriginationFeeJSON {
69
+ kind: "UpdateFeesOriginationFee";
70
70
  }
71
- export declare class UpdateFeesBorrowFee {
71
+ export declare class UpdateFeesOriginationFee {
72
72
  static readonly discriminator = 5;
73
- static readonly kind = "UpdateFeesBorrowFee";
73
+ static readonly kind = "UpdateFeesOriginationFee";
74
74
  readonly discriminator = 5;
75
- readonly kind = "UpdateFeesBorrowFee";
76
- toJSON(): UpdateFeesBorrowFeeJSON;
75
+ readonly kind = "UpdateFeesOriginationFee";
76
+ toJSON(): UpdateFeesOriginationFeeJSON;
77
77
  toEncodable(): {
78
- UpdateFeesBorrowFee: {};
78
+ UpdateFeesOriginationFee: {};
79
79
  };
80
80
  }
81
81
  export interface UpdateFeesFlashLoanFeeJSON {
@@ -91,17 +91,17 @@ export declare class UpdateFeesFlashLoanFee {
91
91
  UpdateFeesFlashLoanFee: {};
92
92
  };
93
93
  }
94
- export interface UpdateFeesReferralFeeBpsJSON {
95
- kind: "UpdateFeesReferralFeeBps";
94
+ export interface DeprecatedUpdateFeesReferralFeeBpsJSON {
95
+ kind: "DeprecatedUpdateFeesReferralFeeBps";
96
96
  }
97
- export declare class UpdateFeesReferralFeeBps {
97
+ export declare class DeprecatedUpdateFeesReferralFeeBps {
98
98
  static readonly discriminator = 7;
99
- static readonly kind = "UpdateFeesReferralFeeBps";
99
+ static readonly kind = "DeprecatedUpdateFeesReferralFeeBps";
100
100
  readonly discriminator = 7;
101
- readonly kind = "UpdateFeesReferralFeeBps";
102
- toJSON(): UpdateFeesReferralFeeBpsJSON;
101
+ readonly kind = "DeprecatedUpdateFeesReferralFeeBps";
102
+ toJSON(): DeprecatedUpdateFeesReferralFeeBpsJSON;
103
103
  toEncodable(): {
104
- UpdateFeesReferralFeeBps: {};
104
+ DeprecatedUpdateFeesReferralFeeBps: {};
105
105
  };
106
106
  }
107
107
  export interface UpdateDepositLimitJSON {
@@ -312,17 +312,17 @@ export declare class UpdateBorrowRateCurve {
312
312
  UpdateBorrowRateCurve: {};
313
313
  };
314
314
  }
315
- export interface UpdateEntireReserveConfigJSON {
316
- kind: "UpdateEntireReserveConfig";
315
+ export interface DeprecatedUpdateEntireReserveConfigJSON {
316
+ kind: "DeprecatedUpdateEntireReserveConfig";
317
317
  }
318
- export declare class UpdateEntireReserveConfig {
318
+ export declare class DeprecatedUpdateEntireReserveConfig {
319
319
  static readonly discriminator = 24;
320
- static readonly kind = "UpdateEntireReserveConfig";
320
+ static readonly kind = "DeprecatedUpdateEntireReserveConfig";
321
321
  readonly discriminator = 24;
322
- readonly kind = "UpdateEntireReserveConfig";
323
- toJSON(): UpdateEntireReserveConfigJSON;
322
+ readonly kind = "DeprecatedUpdateEntireReserveConfig";
323
+ toJSON(): DeprecatedUpdateEntireReserveConfigJSON;
324
324
  toEncodable(): {
325
- UpdateEntireReserveConfig: {};
325
+ DeprecatedUpdateEntireReserveConfig: {};
326
326
  };
327
327
  }
328
328
  export interface UpdateDebtWithdrawalCapJSON {
@@ -351,30 +351,30 @@ export declare class UpdateDepositWithdrawalCap {
351
351
  UpdateDepositWithdrawalCap: {};
352
352
  };
353
353
  }
354
- export interface UpdateDebtWithdrawalCapCurrentTotalJSON {
355
- kind: "UpdateDebtWithdrawalCapCurrentTotal";
354
+ export interface DeprecatedUpdateDebtWithdrawalCapCurrentTotalJSON {
355
+ kind: "DeprecatedUpdateDebtWithdrawalCapCurrentTotal";
356
356
  }
357
- export declare class UpdateDebtWithdrawalCapCurrentTotal {
357
+ export declare class DeprecatedUpdateDebtWithdrawalCapCurrentTotal {
358
358
  static readonly discriminator = 27;
359
- static readonly kind = "UpdateDebtWithdrawalCapCurrentTotal";
359
+ static readonly kind = "DeprecatedUpdateDebtWithdrawalCapCurrentTotal";
360
360
  readonly discriminator = 27;
361
- readonly kind = "UpdateDebtWithdrawalCapCurrentTotal";
362
- toJSON(): UpdateDebtWithdrawalCapCurrentTotalJSON;
361
+ readonly kind = "DeprecatedUpdateDebtWithdrawalCapCurrentTotal";
362
+ toJSON(): DeprecatedUpdateDebtWithdrawalCapCurrentTotalJSON;
363
363
  toEncodable(): {
364
- UpdateDebtWithdrawalCapCurrentTotal: {};
364
+ DeprecatedUpdateDebtWithdrawalCapCurrentTotal: {};
365
365
  };
366
366
  }
367
- export interface UpdateDepositWithdrawalCapCurrentTotalJSON {
368
- kind: "UpdateDepositWithdrawalCapCurrentTotal";
367
+ export interface DeprecatedUpdateDepositWithdrawalCapCurrentTotalJSON {
368
+ kind: "DeprecatedUpdateDepositWithdrawalCapCurrentTotal";
369
369
  }
370
- export declare class UpdateDepositWithdrawalCapCurrentTotal {
370
+ export declare class DeprecatedUpdateDepositWithdrawalCapCurrentTotal {
371
371
  static readonly discriminator = 28;
372
- static readonly kind = "UpdateDepositWithdrawalCapCurrentTotal";
372
+ static readonly kind = "DeprecatedUpdateDepositWithdrawalCapCurrentTotal";
373
373
  readonly discriminator = 28;
374
- readonly kind = "UpdateDepositWithdrawalCapCurrentTotal";
375
- toJSON(): UpdateDepositWithdrawalCapCurrentTotalJSON;
374
+ readonly kind = "DeprecatedUpdateDepositWithdrawalCapCurrentTotal";
375
+ toJSON(): DeprecatedUpdateDepositWithdrawalCapCurrentTotalJSON;
376
376
  toEncodable(): {
377
- UpdateDepositWithdrawalCapCurrentTotal: {};
377
+ DeprecatedUpdateDepositWithdrawalCapCurrentTotal: {};
378
378
  };
379
379
  }
380
380
  export interface UpdateBadDebtLiquidationBonusBpsJSON {
@@ -403,17 +403,17 @@ export declare class UpdateMinLiquidationBonusBps {
403
403
  UpdateMinLiquidationBonusBps: {};
404
404
  };
405
405
  }
406
- export interface DeleveragingMarginCallPeriodJSON {
407
- kind: "DeleveragingMarginCallPeriod";
406
+ export interface UpdateDeleveragingMarginCallPeriodJSON {
407
+ kind: "UpdateDeleveragingMarginCallPeriod";
408
408
  }
409
- export declare class DeleveragingMarginCallPeriod {
409
+ export declare class UpdateDeleveragingMarginCallPeriod {
410
410
  static readonly discriminator = 31;
411
- static readonly kind = "DeleveragingMarginCallPeriod";
411
+ static readonly kind = "UpdateDeleveragingMarginCallPeriod";
412
412
  readonly discriminator = 31;
413
- readonly kind = "DeleveragingMarginCallPeriod";
414
- toJSON(): DeleveragingMarginCallPeriodJSON;
413
+ readonly kind = "UpdateDeleveragingMarginCallPeriod";
414
+ toJSON(): UpdateDeleveragingMarginCallPeriodJSON;
415
415
  toEncodable(): {
416
- DeleveragingMarginCallPeriod: {};
416
+ UpdateDeleveragingMarginCallPeriod: {};
417
417
  };
418
418
  }
419
419
  export interface UpdateBorrowFactorJSON {
@@ -429,17 +429,17 @@ export declare class UpdateBorrowFactor {
429
429
  UpdateBorrowFactor: {};
430
430
  };
431
431
  }
432
- export interface UpdateAssetTierJSON {
433
- kind: "UpdateAssetTier";
432
+ export interface DeprecatedUpdateAssetTierJSON {
433
+ kind: "DeprecatedUpdateAssetTier";
434
434
  }
435
- export declare class UpdateAssetTier {
435
+ export declare class DeprecatedUpdateAssetTier {
436
436
  static readonly discriminator = 33;
437
- static readonly kind = "UpdateAssetTier";
437
+ static readonly kind = "DeprecatedUpdateAssetTier";
438
438
  readonly discriminator = 33;
439
- readonly kind = "UpdateAssetTier";
440
- toJSON(): UpdateAssetTierJSON;
439
+ readonly kind = "DeprecatedUpdateAssetTier";
440
+ toJSON(): DeprecatedUpdateAssetTierJSON;
441
441
  toEncodable(): {
442
- UpdateAssetTier: {};
442
+ DeprecatedUpdateAssetTier: {};
443
443
  };
444
444
  }
445
445
  export interface UpdateElevationGroupJSON {
@@ -455,17 +455,17 @@ export declare class UpdateElevationGroup {
455
455
  UpdateElevationGroup: {};
456
456
  };
457
457
  }
458
- export interface DeleveragingThresholdSlotsPerBpsJSON {
459
- kind: "DeleveragingThresholdSlotsPerBps";
458
+ export interface UpdateDeleveragingThresholdDecreaseBpsPerDayJSON {
459
+ kind: "UpdateDeleveragingThresholdDecreaseBpsPerDay";
460
460
  }
461
- export declare class DeleveragingThresholdSlotsPerBps {
461
+ export declare class UpdateDeleveragingThresholdDecreaseBpsPerDay {
462
462
  static readonly discriminator = 35;
463
- static readonly kind = "DeleveragingThresholdSlotsPerBps";
463
+ static readonly kind = "UpdateDeleveragingThresholdDecreaseBpsPerDay";
464
464
  readonly discriminator = 35;
465
- readonly kind = "DeleveragingThresholdSlotsPerBps";
466
- toJSON(): DeleveragingThresholdSlotsPerBpsJSON;
465
+ readonly kind = "UpdateDeleveragingThresholdDecreaseBpsPerDay";
466
+ toJSON(): UpdateDeleveragingThresholdDecreaseBpsPerDayJSON;
467
467
  toEncodable(): {
468
- DeleveragingThresholdSlotsPerBps: {};
468
+ UpdateDeleveragingThresholdDecreaseBpsPerDay: {};
469
469
  };
470
470
  }
471
471
  export interface DeprecatedUpdateMultiplierSideBoostJSON {
@@ -546,17 +546,17 @@ export declare class UpdateDisableUsageAsCollateralOutsideEmode {
546
546
  UpdateDisableUsageAsCollateralOutsideEmode: {};
547
547
  };
548
548
  }
549
- export interface UpdateBlockBorrowingAboveUtilizationJSON {
550
- kind: "UpdateBlockBorrowingAboveUtilization";
549
+ export interface UpdateBlockBorrowingAboveUtilizationPctJSON {
550
+ kind: "UpdateBlockBorrowingAboveUtilizationPct";
551
551
  }
552
- export declare class UpdateBlockBorrowingAboveUtilization {
552
+ export declare class UpdateBlockBorrowingAboveUtilizationPct {
553
553
  static readonly discriminator = 42;
554
- static readonly kind = "UpdateBlockBorrowingAboveUtilization";
554
+ static readonly kind = "UpdateBlockBorrowingAboveUtilizationPct";
555
555
  readonly discriminator = 42;
556
- readonly kind = "UpdateBlockBorrowingAboveUtilization";
557
- toJSON(): UpdateBlockBorrowingAboveUtilizationJSON;
556
+ readonly kind = "UpdateBlockBorrowingAboveUtilizationPct";
557
+ toJSON(): UpdateBlockBorrowingAboveUtilizationPctJSON;
558
558
  toEncodable(): {
559
- UpdateBlockBorrowingAboveUtilization: {};
559
+ UpdateBlockBorrowingAboveUtilizationPct: {};
560
560
  };
561
561
  }
562
562
  export interface UpdateBlockPriceUsageJSON {
@@ -611,6 +611,175 @@ export declare class UpdateHostFixedInterestRateBps {
611
611
  UpdateHostFixedInterestRateBps: {};
612
612
  };
613
613
  }
614
+ export interface UpdateAutodeleverageEnabledJSON {
615
+ kind: "UpdateAutodeleverageEnabled";
616
+ }
617
+ export declare class UpdateAutodeleverageEnabled {
618
+ static readonly discriminator = 47;
619
+ static readonly kind = "UpdateAutodeleverageEnabled";
620
+ readonly discriminator = 47;
621
+ readonly kind = "UpdateAutodeleverageEnabled";
622
+ toJSON(): UpdateAutodeleverageEnabledJSON;
623
+ toEncodable(): {
624
+ UpdateAutodeleverageEnabled: {};
625
+ };
626
+ }
627
+ export interface UpdateDeleveragingBonusIncreaseBpsPerDayJSON {
628
+ kind: "UpdateDeleveragingBonusIncreaseBpsPerDay";
629
+ }
630
+ export declare class UpdateDeleveragingBonusIncreaseBpsPerDay {
631
+ static readonly discriminator = 48;
632
+ static readonly kind = "UpdateDeleveragingBonusIncreaseBpsPerDay";
633
+ readonly discriminator = 48;
634
+ readonly kind = "UpdateDeleveragingBonusIncreaseBpsPerDay";
635
+ toJSON(): UpdateDeleveragingBonusIncreaseBpsPerDayJSON;
636
+ toEncodable(): {
637
+ UpdateDeleveragingBonusIncreaseBpsPerDay: {};
638
+ };
639
+ }
640
+ export interface UpdateProtocolOrderExecutionFeeJSON {
641
+ kind: "UpdateProtocolOrderExecutionFee";
642
+ }
643
+ export declare class UpdateProtocolOrderExecutionFee {
644
+ static readonly discriminator = 49;
645
+ static readonly kind = "UpdateProtocolOrderExecutionFee";
646
+ readonly discriminator = 49;
647
+ readonly kind = "UpdateProtocolOrderExecutionFee";
648
+ toJSON(): UpdateProtocolOrderExecutionFeeJSON;
649
+ toEncodable(): {
650
+ UpdateProtocolOrderExecutionFee: {};
651
+ };
652
+ }
653
+ export interface UpdateProposerAuthorityLockJSON {
654
+ kind: "UpdateProposerAuthorityLock";
655
+ }
656
+ export declare class UpdateProposerAuthorityLock {
657
+ static readonly discriminator = 50;
658
+ static readonly kind = "UpdateProposerAuthorityLock";
659
+ readonly discriminator = 50;
660
+ readonly kind = "UpdateProposerAuthorityLock";
661
+ toJSON(): UpdateProposerAuthorityLockJSON;
662
+ toEncodable(): {
663
+ UpdateProposerAuthorityLock: {};
664
+ };
665
+ }
666
+ export interface UpdateMinDeleveragingBonusBpsJSON {
667
+ kind: "UpdateMinDeleveragingBonusBps";
668
+ }
669
+ export declare class UpdateMinDeleveragingBonusBps {
670
+ static readonly discriminator = 51;
671
+ static readonly kind = "UpdateMinDeleveragingBonusBps";
672
+ readonly discriminator = 51;
673
+ readonly kind = "UpdateMinDeleveragingBonusBps";
674
+ toJSON(): UpdateMinDeleveragingBonusBpsJSON;
675
+ toEncodable(): {
676
+ UpdateMinDeleveragingBonusBps: {};
677
+ };
678
+ }
679
+ export interface UpdateBlockCTokenUsageJSON {
680
+ kind: "UpdateBlockCTokenUsage";
681
+ }
682
+ export declare class UpdateBlockCTokenUsage {
683
+ static readonly discriminator = 52;
684
+ static readonly kind = "UpdateBlockCTokenUsage";
685
+ readonly discriminator = 52;
686
+ readonly kind = "UpdateBlockCTokenUsage";
687
+ toJSON(): UpdateBlockCTokenUsageJSON;
688
+ toEncodable(): {
689
+ UpdateBlockCTokenUsage: {};
690
+ };
691
+ }
692
+ export interface UpdateDebtMaturityTimestampJSON {
693
+ kind: "UpdateDebtMaturityTimestamp";
694
+ }
695
+ export declare class UpdateDebtMaturityTimestamp {
696
+ static readonly discriminator = 53;
697
+ static readonly kind = "UpdateDebtMaturityTimestamp";
698
+ readonly discriminator = 53;
699
+ readonly kind = "UpdateDebtMaturityTimestamp";
700
+ toJSON(): UpdateDebtMaturityTimestampJSON;
701
+ toEncodable(): {
702
+ UpdateDebtMaturityTimestamp: {};
703
+ };
704
+ }
705
+ export interface UpdateDebtTermSecondsJSON {
706
+ kind: "UpdateDebtTermSeconds";
707
+ }
708
+ export declare class UpdateDebtTermSeconds {
709
+ static readonly discriminator = 54;
710
+ static readonly kind = "UpdateDebtTermSeconds";
711
+ readonly discriminator = 54;
712
+ readonly kind = "UpdateDebtTermSeconds";
713
+ toJSON(): UpdateDebtTermSecondsJSON;
714
+ toEncodable(): {
715
+ UpdateDebtTermSeconds: {};
716
+ };
717
+ }
718
+ export interface UpdateEarlyRepayRemainingInterestPctJSON {
719
+ kind: "UpdateEarlyRepayRemainingInterestPct";
720
+ }
721
+ export declare class UpdateEarlyRepayRemainingInterestPct {
722
+ static readonly discriminator = 55;
723
+ static readonly kind = "UpdateEarlyRepayRemainingInterestPct";
724
+ readonly discriminator = 55;
725
+ readonly kind = "UpdateEarlyRepayRemainingInterestPct";
726
+ toJSON(): UpdateEarlyRepayRemainingInterestPctJSON;
727
+ toEncodable(): {
728
+ UpdateEarlyRepayRemainingInterestPct: {};
729
+ };
730
+ }
731
+ export interface UpdateReserveEmergencyModeJSON {
732
+ kind: "UpdateReserveEmergencyMode";
733
+ }
734
+ export declare class UpdateReserveEmergencyMode {
735
+ static readonly discriminator = 56;
736
+ static readonly kind = "UpdateReserveEmergencyMode";
737
+ readonly discriminator = 56;
738
+ readonly kind = "UpdateReserveEmergencyMode";
739
+ toJSON(): UpdateReserveEmergencyModeJSON;
740
+ toEncodable(): {
741
+ UpdateReserveEmergencyMode: {};
742
+ };
743
+ }
744
+ export interface UpdateRewardsAmountPerAccrualUnitJSON {
745
+ kind: "UpdateRewardsAmountPerAccrualUnit";
746
+ }
747
+ export declare class UpdateRewardsAmountPerAccrualUnit {
748
+ static readonly discriminator = 57;
749
+ static readonly kind = "UpdateRewardsAmountPerAccrualUnit";
750
+ readonly discriminator = 57;
751
+ readonly kind = "UpdateRewardsAmountPerAccrualUnit";
752
+ toJSON(): UpdateRewardsAmountPerAccrualUnitJSON;
753
+ toEncodable(): {
754
+ UpdateRewardsAmountPerAccrualUnit: {};
755
+ };
756
+ }
757
+ export interface UpdateReservePermissionedOpsJSON {
758
+ kind: "UpdateReservePermissionedOps";
759
+ }
760
+ export declare class UpdateReservePermissionedOps {
761
+ static readonly discriminator = 58;
762
+ static readonly kind = "UpdateReservePermissionedOps";
763
+ readonly discriminator = 58;
764
+ readonly kind = "UpdateReservePermissionedOps";
765
+ toJSON(): UpdateReservePermissionedOpsJSON;
766
+ toEncodable(): {
767
+ UpdateReservePermissionedOps: {};
768
+ };
769
+ }
770
+ export interface UpdateInterestRateBasisJSON {
771
+ kind: "UpdateInterestRateBasis";
772
+ }
773
+ export declare class UpdateInterestRateBasis {
774
+ static readonly discriminator = 59;
775
+ static readonly kind = "UpdateInterestRateBasis";
776
+ readonly discriminator = 59;
777
+ readonly kind = "UpdateInterestRateBasis";
778
+ toJSON(): UpdateInterestRateBasisJSON;
779
+ toEncodable(): {
780
+ UpdateInterestRateBasis: {};
781
+ };
782
+ }
614
783
  export declare function fromDecoded(obj: any): types.UpdateConfigModeKind;
615
784
  export declare function fromJSON(obj: types.UpdateConfigModeJSON): types.UpdateConfigModeKind;
616
785
  export declare function layout(property?: string): borsh.EnumLayout<unknown>;