@exponent-labs/klend-idl 0.9.24 → 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.
- package/build/accounts/GlobalConfig.d.ts +27 -0
- package/build/accounts/GlobalConfig.js +112 -0
- package/build/accounts/GlobalConfig.js.map +1 -0
- package/build/accounts/LendingMarket.d.ts +93 -9
- package/build/accounts/LendingMarket.js +202 -20
- package/build/accounts/LendingMarket.js.map +1 -1
- package/build/accounts/Obligation.d.ts +33 -9
- package/build/accounts/Obligation.js +69 -20
- package/build/accounts/Obligation.js.map +1 -1
- package/build/accounts/ReferrerState.js +7 -2
- package/build/accounts/ReferrerState.js.map +1 -1
- package/build/accounts/ReferrerTokenState.js +3 -1
- package/build/accounts/ReferrerTokenState.js.map +1 -1
- package/build/accounts/Reserve.d.ts +3 -0
- package/build/accounts/Reserve.js +8 -2
- package/build/accounts/Reserve.js.map +1 -1
- package/build/accounts/ShortUrl.js +7 -2
- package/build/accounts/ShortUrl.js.map +1 -1
- package/build/accounts/UserMetadata.js +3 -1
- package/build/accounts/UserMetadata.js.map +1 -1
- package/build/accounts/UserState.js +3 -1
- package/build/accounts/UserState.js.map +1 -1
- package/build/accounts/WithdrawTicket.d.ts +49 -0
- package/build/accounts/WithdrawTicket.js +158 -0
- package/build/accounts/WithdrawTicket.js.map +1 -0
- package/build/accounts/index.d.ts +4 -0
- package/build/accounts/index.js +5 -1
- package/build/accounts/index.js.map +1 -1
- package/build/errors/custom.d.ts +605 -13
- package/build/errors/custom.js +1063 -26
- package/build/errors/custom.js.map +1 -1
- package/build/index.d.ts +2 -3
- package/build/index.js +3 -7
- package/build/index.js.map +1 -1
- package/build/instructions/abortObligationOwnershipTransfer.d.ts +7 -0
- package/build/instructions/abortObligationOwnershipTransfer.js +21 -0
- package/build/instructions/abortObligationOwnershipTransfer.js.map +1 -0
- package/build/instructions/acceptObligationOwnership.d.ts +7 -0
- package/build/instructions/acceptObligationOwnership.js +21 -0
- package/build/instructions/acceptObligationOwnership.js.map +1 -0
- package/build/instructions/approveObligationOwnershipTransfer.d.ts +9 -0
- package/build/instructions/approveObligationOwnershipTransfer.js +23 -0
- package/build/instructions/approveObligationOwnershipTransfer.js.map +1 -0
- package/build/instructions/borrowObligationLiquidity.d.ts +1 -1
- package/build/instructions/borrowObligationLiquidity.js +9 -2
- package/build/instructions/borrowObligationLiquidity.js.map +1 -1
- package/build/instructions/borrowObligationLiquidityV2.js +26 -6
- package/build/instructions/borrowObligationLiquidityV2.js.map +1 -1
- package/build/instructions/calculateCtokenExchangeRate.d.ts +5 -0
- package/build/instructions/calculateCtokenExchangeRate.js +15 -0
- package/build/instructions/calculateCtokenExchangeRate.js.map +1 -0
- package/build/instructions/cancelWithdrawTicket.d.ts +19 -0
- package/build/instructions/cancelWithdrawTicket.js +87 -0
- package/build/instructions/cancelWithdrawTicket.js.map +1 -0
- package/build/instructions/cloneReserveConfig.d.ts +14 -0
- package/build/instructions/cloneReserveConfig.js +70 -0
- package/build/instructions/cloneReserveConfig.js.map +1 -0
- package/build/instructions/deleteReferrerStateAndShortUrl.js.map +1 -1
- package/build/instructions/depositAndWithdraw.d.ts +51 -0
- package/build/instructions/depositAndWithdraw.js +202 -0
- package/build/instructions/depositAndWithdraw.js.map +1 -0
- package/build/instructions/depositObligationCollateral.js.map +1 -1
- package/build/instructions/depositObligationCollateralV2.d.ts +25 -0
- package/build/instructions/depositObligationCollateralV2.js +109 -0
- package/build/instructions/depositObligationCollateralV2.js.map +1 -0
- package/build/instructions/depositReserveLiquidity.js +1 -1
- package/build/instructions/depositReserveLiquidity.js.map +1 -1
- package/build/instructions/depositReserveLiquidityAndObligationCollateral.d.ts +1 -1
- package/build/instructions/depositReserveLiquidityAndObligationCollateral.js +9 -6
- package/build/instructions/depositReserveLiquidityAndObligationCollateral.js.map +1 -1
- package/build/instructions/depositReserveLiquidityAndObligationCollateralV2.js +26 -6
- package/build/instructions/depositReserveLiquidityAndObligationCollateralV2.js.map +1 -1
- package/build/instructions/enqueueToWithdraw.d.ts +26 -0
- package/build/instructions/enqueueToWithdraw.js +113 -0
- package/build/instructions/enqueueToWithdraw.js.map +1 -0
- package/build/instructions/fillBorrowOrder.d.ts +25 -0
- package/build/instructions/fillBorrowOrder.js +82 -0
- package/build/instructions/fillBorrowOrder.js.map +1 -0
- package/build/instructions/fillBorrowOrderV2.d.ts +29 -0
- package/build/instructions/fillBorrowOrderV2.js +122 -0
- package/build/instructions/fillBorrowOrderV2.js.map +1 -0
- package/build/instructions/flashBorrowReserveLiquidity.d.ts +2 -2
- package/build/instructions/flashBorrowReserveLiquidity.js +9 -2
- package/build/instructions/flashBorrowReserveLiquidity.js.map +1 -1
- package/build/instructions/flashRepayReserveLiquidity.d.ts +2 -2
- package/build/instructions/flashRepayReserveLiquidity.js +13 -3
- package/build/instructions/flashRepayReserveLiquidity.js.map +1 -1
- package/build/instructions/idlMissingTypes.d.ts +3 -2
- package/build/instructions/idlMissingTypes.js +7 -3
- package/build/instructions/idlMissingTypes.js.map +1 -1
- package/build/instructions/index.d.ts +61 -3
- package/build/instructions/index.js +62 -3
- package/build/instructions/index.js.map +1 -1
- package/build/instructions/initFarmsForReserve.d.ts +1 -0
- package/build/instructions/initFarmsForReserve.js +6 -1
- package/build/instructions/initFarmsForReserve.js.map +1 -1
- package/build/instructions/initGlobalConfig.d.ts +10 -0
- package/build/instructions/initGlobalConfig.js +24 -0
- package/build/instructions/initGlobalConfig.js.map +1 -0
- package/build/instructions/initLendingMarket.d.ts +1 -0
- package/build/instructions/initLendingMarket.js +8 -1
- package/build/instructions/initLendingMarket.js.map +1 -1
- package/build/instructions/initObligation.js.map +1 -1
- package/build/instructions/initObligationFarmsForReserve.js +1 -1
- package/build/instructions/initObligationFarmsForReserve.js.map +1 -1
- package/build/instructions/initReferrerStateAndShortUrl.js.map +1 -1
- package/build/instructions/initReferrerTokenState.d.ts +2 -5
- package/build/instructions/initReferrerTokenState.js +3 -42
- package/build/instructions/initReferrerTokenState.js.map +1 -1
- package/build/instructions/initReserve.d.ts +3 -1
- package/build/instructions/initReserve.js +11 -1
- package/build/instructions/initReserve.js.map +1 -1
- package/build/instructions/initUserMetadata.d.ts +1 -1
- package/build/instructions/initUserMetadata.js +8 -5
- package/build/instructions/initUserMetadata.js.map +1 -1
- package/build/instructions/initiateObligationOwnershipTransfer.d.ts +11 -0
- package/build/instructions/initiateObligationOwnershipTransfer.js +61 -0
- package/build/instructions/initiateObligationOwnershipTransfer.js.map +1 -0
- package/build/instructions/liquidateObligationAndRedeemReserveCollateral.js +2 -2
- package/build/instructions/liquidateObligationAndRedeemReserveCollateral.js.map +1 -1
- package/build/instructions/liquidateObligationAndRedeemReserveCollateralV2.d.ts +42 -0
- package/build/instructions/liquidateObligationAndRedeemReserveCollateralV2.js +172 -0
- package/build/instructions/liquidateObligationAndRedeemReserveCollateralV2.js.map +1 -0
- package/build/instructions/markObligationForDeleveraging.d.ts +12 -0
- package/build/instructions/markObligationForDeleveraging.js +62 -0
- package/build/instructions/markObligationForDeleveraging.js.map +1 -0
- package/build/instructions/recoverInvalidTicketCollateral.d.ts +20 -0
- package/build/instructions/recoverInvalidTicketCollateral.js +89 -0
- package/build/instructions/recoverInvalidTicketCollateral.js.map +1 -0
- package/build/instructions/redeemFees.js +1 -1
- package/build/instructions/redeemFees.js.map +1 -1
- package/build/instructions/redeemReserveCollateral.js +1 -1
- package/build/instructions/redeemReserveCollateral.js.map +1 -1
- package/build/instructions/refreshObligation.js.map +1 -1
- package/build/instructions/refreshObligationFarmsForReserve.d.ts +8 -6
- package/build/instructions/refreshObligationFarmsForReserve.js +23 -7
- package/build/instructions/refreshObligationFarmsForReserve.js.map +1 -1
- package/build/instructions/refreshReserve.d.ts +4 -4
- package/build/instructions/refreshReserve.js +11 -12
- package/build/instructions/refreshReserve.js.map +1 -1
- package/build/instructions/refreshReservesBatch.js.map +1 -1
- package/build/instructions/repayAndWithdrawAndRedeem.d.ts +46 -0
- package/build/instructions/repayAndWithdrawAndRedeem.js +177 -0
- package/build/instructions/repayAndWithdrawAndRedeem.js.map +1 -0
- package/build/instructions/repayObligationLiquidity.js +1 -1
- package/build/instructions/repayObligationLiquidity.js.map +1 -1
- package/build/instructions/repayObligationLiquidityV2.js +31 -7
- package/build/instructions/repayObligationLiquidityV2.js.map +1 -1
- package/build/instructions/requestElevationGroup.js.map +1 -1
- package/build/instructions/rolloverFixedTermBorrow.d.ts +25 -0
- package/build/instructions/rolloverFixedTermBorrow.js +76 -0
- package/build/instructions/rolloverFixedTermBorrow.js.map +1 -0
- package/build/instructions/seedDepositOnInitReserve.d.ts +11 -0
- package/build/instructions/seedDepositOnInitReserve.js +37 -0
- package/build/instructions/seedDepositOnInitReserve.js.map +1 -0
- package/build/instructions/setBorrowOrder.d.ts +20 -0
- package/build/instructions/setBorrowOrder.js +76 -0
- package/build/instructions/setBorrowOrder.js.map +1 -0
- package/build/instructions/setBorrowOrderV2.d.ts +21 -0
- package/build/instructions/setBorrowOrderV2.js +78 -0
- package/build/instructions/setBorrowOrderV2.js.map +1 -0
- package/build/instructions/setObligationOrder.d.ts +13 -0
- package/build/instructions/setObligationOrder.js +62 -0
- package/build/instructions/setObligationOrder.js.map +1 -0
- package/build/instructions/socializeLoss.d.ts +1 -1
- package/build/instructions/socializeLoss.js +1 -1
- package/build/instructions/socializeLoss.js.map +1 -1
- package/build/instructions/socializeLossV2.d.ts +22 -0
- package/build/instructions/socializeLossV2.js +94 -0
- package/build/instructions/socializeLossV2.js.map +1 -0
- package/build/instructions/topupReserveRewards.d.ts +16 -0
- package/build/instructions/topupReserveRewards.js +73 -0
- package/build/instructions/topupReserveRewards.js.map +1 -0
- package/build/instructions/updateGlobalConfig.d.ts +13 -0
- package/build/instructions/updateGlobalConfig.js +66 -0
- package/build/instructions/updateGlobalConfig.js.map +1 -0
- package/build/instructions/updateGlobalConfigAdmin.d.ts +7 -0
- package/build/instructions/updateGlobalConfigAdmin.js +21 -0
- package/build/instructions/updateGlobalConfigAdmin.js.map +1 -0
- package/build/instructions/updateLendingMarket.d.ts +2 -1
- package/build/instructions/updateLendingMarket.js +10 -2
- package/build/instructions/updateLendingMarket.js.map +1 -1
- package/build/instructions/updateLendingMarketOwner.d.ts +1 -0
- package/build/instructions/updateLendingMarketOwner.js +5 -0
- package/build/instructions/updateLendingMarketOwner.js.map +1 -1
- package/build/instructions/updateObligationConfig.d.ts +15 -0
- package/build/instructions/updateObligationConfig.js +71 -0
- package/build/instructions/updateObligationConfig.js.map +1 -0
- package/build/instructions/updateReserveConfig.d.ts +6 -4
- package/build/instructions/updateReserveConfig.js +15 -4
- package/build/instructions/updateReserveConfig.js.map +1 -1
- package/build/instructions/withdrawObligationCollateral.js +1 -1
- package/build/instructions/withdrawObligationCollateral.js.map +1 -1
- package/build/instructions/withdrawObligationCollateralAndRedeemReserveCollateral.d.ts +1 -1
- package/build/instructions/withdrawObligationCollateralAndRedeemReserveCollateral.js +9 -6
- package/build/instructions/withdrawObligationCollateralAndRedeemReserveCollateral.js.map +1 -1
- package/build/instructions/withdrawObligationCollateralAndRedeemReserveCollateralV2.js +21 -5
- package/build/instructions/withdrawObligationCollateralAndRedeemReserveCollateralV2.js.map +1 -1
- package/build/instructions/withdrawObligationCollateralV2.d.ts +25 -0
- package/build/instructions/withdrawObligationCollateralV2.js +109 -0
- package/build/instructions/withdrawObligationCollateralV2.js.map +1 -0
- package/build/instructions/withdrawProtocolFee.d.ts +3 -2
- package/build/instructions/withdrawProtocolFee.js +6 -5
- package/build/instructions/withdrawProtocolFee.js.map +1 -1
- package/build/instructions/withdrawQueuedLiquidity.d.ts +23 -0
- package/build/instructions/withdrawQueuedLiquidity.js +80 -0
- package/build/instructions/withdrawQueuedLiquidity.js.map +1 -0
- package/build/instructions/withdrawReferrerFees.js +1 -1
- package/build/instructions/withdrawReferrerFees.js.map +1 -1
- package/build/kamino_lending.d.ts +5753 -2295
- package/build/kamino_lending.js +5 -3936
- package/build/kamino_lending.js.map +1 -1
- package/build/kamino_lending.json +1856 -645
- package/build/types/BigFractionBytes.d.ts +2 -1
- package/build/types/BigFractionBytes.js +4 -1
- package/build/types/BigFractionBytes.js.map +1 -1
- package/build/types/BorrowOrder.d.ts +83 -0
- package/build/types/BorrowOrder.js +164 -0
- package/build/types/BorrowOrder.js.map +1 -0
- package/build/types/BorrowOrderConfigArgs.d.ts +42 -0
- package/build/types/BorrowOrderConfigArgs.js +107 -0
- package/build/types/BorrowOrderConfigArgs.js.map +1 -0
- package/build/types/BorrowRateCurve.js.map +1 -1
- package/build/types/CurvePoint.d.ts +2 -1
- package/build/types/CurvePoint.js.map +1 -1
- package/build/types/ElevationGroup.d.ts +2 -1
- package/build/types/ElevationGroup.js.map +1 -1
- package/build/types/ExchangeRateWithDecimals.d.ts +27 -0
- package/build/types/ExchangeRateWithDecimals.js +82 -0
- package/build/types/ExchangeRateWithDecimals.js.map +1 -0
- package/build/types/FeeCalculation.js +4 -1
- package/build/types/FeeCalculation.js.map +1 -1
- package/build/types/FixedTermBorrowRolloverConfig.d.ts +47 -0
- package/build/types/FixedTermBorrowRolloverConfig.js +114 -0
- package/build/types/FixedTermBorrowRolloverConfig.js.map +1 -0
- package/build/types/InitObligationArgs.d.ts +2 -1
- package/build/types/InitObligationArgs.js.map +1 -1
- package/build/types/LastUpdate.d.ts +12 -6
- package/build/types/LastUpdate.js +19 -7
- package/build/types/LastUpdate.js.map +1 -1
- package/build/types/ObligationLiquidity.d.ts +29 -5
- package/build/types/ObligationLiquidity.js +25 -8
- package/build/types/ObligationLiquidity.js.map +1 -1
- package/build/types/ObligationOrder.d.ts +57 -0
- package/build/types/ObligationOrder.js +127 -0
- package/build/types/ObligationOrder.js.map +1 -0
- package/build/types/ProgressCallbackType.d.ts +31 -0
- package/build/types/ProgressCallbackType.js +108 -0
- package/build/types/ProgressCallbackType.js.map +1 -0
- package/build/types/ReserveConfig.d.ts +87 -32
- package/build/types/ReserveConfig.js +122 -44
- package/build/types/ReserveConfig.js.map +1 -1
- package/build/types/ReserveConfigCustomizationArgs.d.ts +42 -0
- package/build/types/ReserveConfigCustomizationArgs.js +106 -0
- package/build/types/ReserveConfigCustomizationArgs.js.map +1 -0
- package/build/types/ReserveFees.d.ts +5 -5
- package/build/types/ReserveFees.js +7 -7
- package/build/types/ReserveFees.js.map +1 -1
- package/build/types/ReserveLiquidity.d.ts +20 -15
- package/build/types/ReserveLiquidity.js +29 -22
- package/build/types/ReserveLiquidity.js.map +1 -1
- package/build/types/UpdateConfigMode.d.ts +232 -63
- package/build/types/UpdateConfigMode.js +413 -100
- package/build/types/UpdateConfigMode.js.map +1 -1
- package/build/types/UpdateGlobalConfigMode.d.ts +31 -0
- package/build/types/UpdateGlobalConfigMode.js +108 -0
- package/build/types/UpdateGlobalConfigMode.js.map +1 -0
- package/build/types/UpdateLendingMarketConfigValue.d.ts +20 -0
- package/build/types/UpdateLendingMarketConfigValue.js +33 -1
- package/build/types/UpdateLendingMarketConfigValue.js.map +1 -1
- package/build/types/UpdateLendingMarketMode.d.ts +400 -23
- package/build/types/UpdateLendingMarketMode.js +732 -36
- package/build/types/UpdateLendingMarketMode.js.map +1 -1
- package/build/types/UpdateObligationConfigMode.d.ts +83 -0
- package/build/types/UpdateObligationConfigMode.js +204 -0
- package/build/types/UpdateObligationConfigMode.js.map +1 -0
- package/build/types/WithdrawQueue.d.ts +32 -0
- package/build/types/WithdrawQueue.js +93 -0
- package/build/types/WithdrawQueue.js.map +1 -0
- package/build/types/index.d.ts +32 -10
- package/build/types/index.js +21 -3
- package/build/types/index.js.map +1 -1
- package/package.json +3 -2
- package/scripts/generate-idl-module.mjs +18 -0
- package/scripts/patch-optional-accounts.mjs +98 -0
- package/scripts/verify-idl-provenance.mjs +16 -0
- package/src/accounts/GlobalConfig.ts +113 -0
- package/src/accounts/LendingMarket.ts +300 -29
- package/src/accounts/Obligation.ts +111 -26
- package/src/accounts/ReferrerState.ts +11 -4
- package/src/accounts/ReferrerTokenState.ts +6 -3
- package/src/accounts/Reserve.ts +10 -2
- package/src/accounts/ShortUrl.ts +15 -4
- package/src/accounts/UserMetadata.ts +6 -3
- package/src/accounts/UserState.ts +24 -8
- package/src/accounts/WithdrawTicket.ts +173 -0
- package/src/accounts/index.ts +4 -0
- package/src/errors/custom.ts +1177 -24
- package/src/index.ts +2 -4
- package/src/instructions/abortObligationOwnershipTransfer.ts +30 -0
- package/src/instructions/acceptObligationOwnership.ts +30 -0
- package/src/instructions/approveObligationOwnershipTransfer.ts +34 -0
- package/src/instructions/borrowObligationLiquidity.ts +18 -5
- package/src/instructions/borrowObligationLiquidityV2.ts +30 -9
- package/src/instructions/calculateCtokenExchangeRate.ts +22 -0
- package/src/instructions/cancelWithdrawTicket.ts +77 -0
- package/src/instructions/cloneReserveConfig.ts +56 -0
- package/src/instructions/deleteReferrerStateAndShortUrl.ts +4 -1
- package/src/instructions/depositAndWithdraw.ts +229 -0
- package/src/instructions/depositObligationCollateral.ts +3 -2
- package/src/instructions/depositObligationCollateralV2.ts +110 -0
- package/src/instructions/depositReserveLiquidity.ts +4 -3
- package/src/instructions/depositReserveLiquidityAndObligationCollateral.ts +18 -9
- package/src/instructions/depositReserveLiquidityAndObligationCollateralV2.ts +31 -14
- package/src/instructions/enqueueToWithdraw.ts +113 -0
- package/src/instructions/fillBorrowOrder.ts +114 -0
- package/src/instructions/fillBorrowOrderV2.ts +128 -0
- package/src/instructions/flashBorrowReserveLiquidity.ts +19 -6
- package/src/instructions/flashRepayReserveLiquidity.ts +23 -7
- package/src/instructions/idlMissingTypes.ts +17 -9
- package/src/instructions/index.ts +118 -6
- package/src/instructions/initFarmsForReserve.ts +11 -3
- package/src/instructions/initGlobalConfig.ts +36 -0
- package/src/instructions/initLendingMarket.ts +13 -3
- package/src/instructions/initObligation.ts +3 -2
- package/src/instructions/initObligationFarmsForReserve.ts +5 -3
- package/src/instructions/initReferrerStateAndShortUrl.ts +4 -2
- package/src/instructions/initReferrerTokenState.ts +6 -16
- package/src/instructions/initReserve.ts +21 -3
- package/src/instructions/initUserMetadata.ts +18 -8
- package/src/instructions/initiateObligationOwnershipTransfer.ts +44 -0
- package/src/instructions/liquidateObligationAndRedeemReserveCollateral.ts +7 -5
- package/src/instructions/liquidateObligationAndRedeemReserveCollateralV2.ts +191 -0
- package/src/instructions/markObligationForDeleveraging.ts +46 -0
- package/src/instructions/recoverInvalidTicketCollateral.ts +80 -0
- package/src/instructions/redeemFees.ts +8 -2
- package/src/instructions/redeemReserveCollateral.ts +4 -3
- package/src/instructions/refreshObligation.ts +7 -1
- package/src/instructions/refreshObligationFarmsForReserve.ts +35 -15
- package/src/instructions/refreshReserve.ts +27 -17
- package/src/instructions/refreshReservesBatch.ts +7 -2
- package/src/instructions/repayAndWithdrawAndRedeem.ts +199 -0
- package/src/instructions/repayObligationLiquidity.ts +4 -3
- package/src/instructions/repayObligationLiquidityV2.ts +35 -10
- package/src/instructions/requestElevationGroup.ts +4 -2
- package/src/instructions/rolloverFixedTermBorrow.ts +108 -0
- package/src/instructions/seedDepositOnInitReserve.ts +50 -0
- package/src/instructions/setBorrowOrder.ts +66 -0
- package/src/instructions/setBorrowOrderV2.ts +69 -0
- package/src/instructions/setObligationOrder.ts +45 -0
- package/src/instructions/socializeLoss.ts +5 -4
- package/src/instructions/socializeLossV2.ts +92 -0
- package/src/instructions/topupReserveRewards.ts +60 -0
- package/src/instructions/updateGlobalConfig.ts +53 -0
- package/src/instructions/updateGlobalConfigAdmin.ts +30 -0
- package/src/instructions/updateLendingMarket.ts +15 -5
- package/src/instructions/updateLendingMarketOwner.ts +10 -1
- package/src/instructions/updateObligationConfig.ts +65 -0
- package/src/instructions/updateReserveConfig.ts +27 -10
- package/src/instructions/withdrawObligationCollateral.ts +4 -3
- package/src/instructions/withdrawObligationCollateralAndRedeemReserveCollateral.ts +18 -9
- package/src/instructions/withdrawObligationCollateralAndRedeemReserveCollateralV2.ts +26 -13
- package/src/instructions/withdrawObligationCollateralV2.ts +110 -0
- package/src/instructions/withdrawProtocolFee.ts +12 -9
- package/src/instructions/withdrawQueuedLiquidity.ts +110 -0
- package/src/instructions/withdrawReferrerFees.ts +8 -2
- package/src/kamino_lending.json +1856 -645
- package/src/kamino_lending.ts +5558 -6034
- package/src/types/BigFractionBytes.ts +9 -1
- package/src/types/BorrowOrder.ts +168 -0
- package/src/types/BorrowOrderConfigArgs.ts +96 -0
- package/src/types/BorrowRateCurve.ts +10 -3
- package/src/types/CurvePoint.ts +7 -1
- package/src/types/ElevationGroup.ts +2 -1
- package/src/types/ExchangeRateWithDecimals.ts +64 -0
- package/src/types/FeeCalculation.ts +9 -2
- package/src/types/FixedTermBorrowRolloverConfig.ts +110 -0
- package/src/types/InitObligationArgs.ts +3 -0
- package/src/types/LastUpdate.ts +26 -10
- package/src/types/ObligationLiquidity.ts +43 -10
- package/src/types/ObligationOrder.ts +121 -0
- package/src/types/ProgressCallbackType.ts +90 -0
- package/src/types/ReserveConfig.ts +169 -62
- package/src/types/ReserveConfigCustomizationArgs.ts +96 -0
- package/src/types/ReserveFees.ts +9 -9
- package/src/types/ReserveLiquidity.ts +38 -28
- package/src/types/UpdateConfigMode.ts +507 -117
- package/src/types/UpdateGlobalConfigMode.ts +90 -0
- package/src/types/UpdateLendingMarketConfigValue.ts +43 -0
- package/src/types/UpdateLendingMarketMode.ts +912 -41
- package/src/types/UpdateObligationConfigMode.ts +210 -0
- package/src/types/WithdrawQueue.ts +85 -0
- package/src/types/index.ts +175 -34
- package/src/types/AssetTier.ts +0 -116
|
@@ -33,7 +33,8 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
33
33
|
};
|
|
34
34
|
})();
|
|
35
35
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
36
|
-
exports.UpdateHostFixedInterestRateBps = exports.UpdateBorrowLimitsInElevationGroupAgainstThisReserve = exports.UpdateBorrowLimitOutsideElevationGroup = exports.UpdateBlockPriceUsage = exports.
|
|
36
|
+
exports.UpdateProtocolOrderExecutionFee = exports.UpdateDeleveragingBonusIncreaseBpsPerDay = exports.UpdateAutodeleverageEnabled = exports.UpdateHostFixedInterestRateBps = exports.UpdateBorrowLimitsInElevationGroupAgainstThisReserve = exports.UpdateBorrowLimitOutsideElevationGroup = exports.UpdateBlockPriceUsage = exports.UpdateBlockBorrowingAboveUtilizationPct = exports.UpdateDisableUsageAsCollateralOutsideEmode = exports.UpdateFarmDebt = exports.UpdateFarmCollateral = exports.UpdateReserveStatus = exports.DeprecatedUpdateMultiplierTagBoost = exports.DeprecatedUpdateMultiplierSideBoost = exports.UpdateDeleveragingThresholdDecreaseBpsPerDay = exports.UpdateElevationGroup = exports.DeprecatedUpdateAssetTier = exports.UpdateBorrowFactor = exports.UpdateDeleveragingMarginCallPeriod = exports.UpdateMinLiquidationBonusBps = exports.UpdateBadDebtLiquidationBonusBps = exports.DeprecatedUpdateDepositWithdrawalCapCurrentTotal = exports.DeprecatedUpdateDebtWithdrawalCapCurrentTotal = exports.UpdateDepositWithdrawalCap = exports.UpdateDebtWithdrawalCap = exports.DeprecatedUpdateEntireReserveConfig = exports.UpdateBorrowRateCurve = exports.UpdateSwitchboardTwapFeed = exports.UpdateSwitchboardFeed = exports.UpdatePythPrice = exports.UpdateScopePriceFeed = exports.UpdateTokenInfoTwapMaxAge = exports.UpdateTokenInfoPriceMaxAge = exports.UpdateTokenInfoName = exports.UpdateTokenInfoScopeChain = exports.UpdateTokenInfoScopeTwap = exports.UpdateTokenInfoTwapDivergence = exports.UpdateTokenInfoExpHeuristic = exports.UpdateTokenInfoUpperHeuristic = exports.UpdateTokenInfoLowerHeuristic = exports.UpdateBorrowLimit = exports.UpdateDepositLimit = exports.DeprecatedUpdateFeesReferralFeeBps = exports.UpdateFeesFlashLoanFee = exports.UpdateFeesOriginationFee = exports.UpdateProtocolTakeRate = exports.UpdateProtocolLiquidationFee = exports.UpdateLiquidationThresholdPct = exports.UpdateMaxLiquidationBonusBps = exports.UpdateLoanToValuePct = void 0;
|
|
37
|
+
exports.UpdateInterestRateBasis = exports.UpdateReservePermissionedOps = exports.UpdateRewardsAmountPerAccrualUnit = exports.UpdateReserveEmergencyMode = exports.UpdateEarlyRepayRemainingInterestPct = exports.UpdateDebtTermSeconds = exports.UpdateDebtMaturityTimestamp = exports.UpdateBlockCTokenUsage = exports.UpdateMinDeleveragingBonusBps = exports.UpdateProposerAuthorityLock = void 0;
|
|
37
38
|
exports.fromDecoded = fromDecoded;
|
|
38
39
|
exports.fromJSON = fromJSON;
|
|
39
40
|
exports.layout = layout;
|
|
@@ -123,23 +124,23 @@ class UpdateProtocolTakeRate {
|
|
|
123
124
|
}
|
|
124
125
|
}
|
|
125
126
|
exports.UpdateProtocolTakeRate = UpdateProtocolTakeRate;
|
|
126
|
-
class
|
|
127
|
+
class UpdateFeesOriginationFee {
|
|
127
128
|
static discriminator = 5;
|
|
128
|
-
static kind = "
|
|
129
|
+
static kind = "UpdateFeesOriginationFee";
|
|
129
130
|
discriminator = 5;
|
|
130
|
-
kind = "
|
|
131
|
+
kind = "UpdateFeesOriginationFee";
|
|
131
132
|
toJSON() {
|
|
132
133
|
return {
|
|
133
|
-
kind: "
|
|
134
|
+
kind: "UpdateFeesOriginationFee",
|
|
134
135
|
};
|
|
135
136
|
}
|
|
136
137
|
toEncodable() {
|
|
137
138
|
return {
|
|
138
|
-
|
|
139
|
+
UpdateFeesOriginationFee: {},
|
|
139
140
|
};
|
|
140
141
|
}
|
|
141
142
|
}
|
|
142
|
-
exports.
|
|
143
|
+
exports.UpdateFeesOriginationFee = UpdateFeesOriginationFee;
|
|
143
144
|
class UpdateFeesFlashLoanFee {
|
|
144
145
|
static discriminator = 6;
|
|
145
146
|
static kind = "UpdateFeesFlashLoanFee";
|
|
@@ -157,23 +158,23 @@ class UpdateFeesFlashLoanFee {
|
|
|
157
158
|
}
|
|
158
159
|
}
|
|
159
160
|
exports.UpdateFeesFlashLoanFee = UpdateFeesFlashLoanFee;
|
|
160
|
-
class
|
|
161
|
+
class DeprecatedUpdateFeesReferralFeeBps {
|
|
161
162
|
static discriminator = 7;
|
|
162
|
-
static kind = "
|
|
163
|
+
static kind = "DeprecatedUpdateFeesReferralFeeBps";
|
|
163
164
|
discriminator = 7;
|
|
164
|
-
kind = "
|
|
165
|
+
kind = "DeprecatedUpdateFeesReferralFeeBps";
|
|
165
166
|
toJSON() {
|
|
166
167
|
return {
|
|
167
|
-
kind: "
|
|
168
|
+
kind: "DeprecatedUpdateFeesReferralFeeBps",
|
|
168
169
|
};
|
|
169
170
|
}
|
|
170
171
|
toEncodable() {
|
|
171
172
|
return {
|
|
172
|
-
|
|
173
|
+
DeprecatedUpdateFeesReferralFeeBps: {},
|
|
173
174
|
};
|
|
174
175
|
}
|
|
175
176
|
}
|
|
176
|
-
exports.
|
|
177
|
+
exports.DeprecatedUpdateFeesReferralFeeBps = DeprecatedUpdateFeesReferralFeeBps;
|
|
177
178
|
class UpdateDepositLimit {
|
|
178
179
|
static discriminator = 8;
|
|
179
180
|
static kind = "UpdateDepositLimit";
|
|
@@ -446,23 +447,23 @@ class UpdateBorrowRateCurve {
|
|
|
446
447
|
}
|
|
447
448
|
}
|
|
448
449
|
exports.UpdateBorrowRateCurve = UpdateBorrowRateCurve;
|
|
449
|
-
class
|
|
450
|
+
class DeprecatedUpdateEntireReserveConfig {
|
|
450
451
|
static discriminator = 24;
|
|
451
|
-
static kind = "
|
|
452
|
+
static kind = "DeprecatedUpdateEntireReserveConfig";
|
|
452
453
|
discriminator = 24;
|
|
453
|
-
kind = "
|
|
454
|
+
kind = "DeprecatedUpdateEntireReserveConfig";
|
|
454
455
|
toJSON() {
|
|
455
456
|
return {
|
|
456
|
-
kind: "
|
|
457
|
+
kind: "DeprecatedUpdateEntireReserveConfig",
|
|
457
458
|
};
|
|
458
459
|
}
|
|
459
460
|
toEncodable() {
|
|
460
461
|
return {
|
|
461
|
-
|
|
462
|
+
DeprecatedUpdateEntireReserveConfig: {},
|
|
462
463
|
};
|
|
463
464
|
}
|
|
464
465
|
}
|
|
465
|
-
exports.
|
|
466
|
+
exports.DeprecatedUpdateEntireReserveConfig = DeprecatedUpdateEntireReserveConfig;
|
|
466
467
|
class UpdateDebtWithdrawalCap {
|
|
467
468
|
static discriminator = 25;
|
|
468
469
|
static kind = "UpdateDebtWithdrawalCap";
|
|
@@ -497,40 +498,40 @@ class UpdateDepositWithdrawalCap {
|
|
|
497
498
|
}
|
|
498
499
|
}
|
|
499
500
|
exports.UpdateDepositWithdrawalCap = UpdateDepositWithdrawalCap;
|
|
500
|
-
class
|
|
501
|
+
class DeprecatedUpdateDebtWithdrawalCapCurrentTotal {
|
|
501
502
|
static discriminator = 27;
|
|
502
|
-
static kind = "
|
|
503
|
+
static kind = "DeprecatedUpdateDebtWithdrawalCapCurrentTotal";
|
|
503
504
|
discriminator = 27;
|
|
504
|
-
kind = "
|
|
505
|
+
kind = "DeprecatedUpdateDebtWithdrawalCapCurrentTotal";
|
|
505
506
|
toJSON() {
|
|
506
507
|
return {
|
|
507
|
-
kind: "
|
|
508
|
+
kind: "DeprecatedUpdateDebtWithdrawalCapCurrentTotal",
|
|
508
509
|
};
|
|
509
510
|
}
|
|
510
511
|
toEncodable() {
|
|
511
512
|
return {
|
|
512
|
-
|
|
513
|
+
DeprecatedUpdateDebtWithdrawalCapCurrentTotal: {},
|
|
513
514
|
};
|
|
514
515
|
}
|
|
515
516
|
}
|
|
516
|
-
exports.
|
|
517
|
-
class
|
|
517
|
+
exports.DeprecatedUpdateDebtWithdrawalCapCurrentTotal = DeprecatedUpdateDebtWithdrawalCapCurrentTotal;
|
|
518
|
+
class DeprecatedUpdateDepositWithdrawalCapCurrentTotal {
|
|
518
519
|
static discriminator = 28;
|
|
519
|
-
static kind = "
|
|
520
|
+
static kind = "DeprecatedUpdateDepositWithdrawalCapCurrentTotal";
|
|
520
521
|
discriminator = 28;
|
|
521
|
-
kind = "
|
|
522
|
+
kind = "DeprecatedUpdateDepositWithdrawalCapCurrentTotal";
|
|
522
523
|
toJSON() {
|
|
523
524
|
return {
|
|
524
|
-
kind: "
|
|
525
|
+
kind: "DeprecatedUpdateDepositWithdrawalCapCurrentTotal",
|
|
525
526
|
};
|
|
526
527
|
}
|
|
527
528
|
toEncodable() {
|
|
528
529
|
return {
|
|
529
|
-
|
|
530
|
+
DeprecatedUpdateDepositWithdrawalCapCurrentTotal: {},
|
|
530
531
|
};
|
|
531
532
|
}
|
|
532
533
|
}
|
|
533
|
-
exports.
|
|
534
|
+
exports.DeprecatedUpdateDepositWithdrawalCapCurrentTotal = DeprecatedUpdateDepositWithdrawalCapCurrentTotal;
|
|
534
535
|
class UpdateBadDebtLiquidationBonusBps {
|
|
535
536
|
static discriminator = 29;
|
|
536
537
|
static kind = "UpdateBadDebtLiquidationBonusBps";
|
|
@@ -565,23 +566,23 @@ class UpdateMinLiquidationBonusBps {
|
|
|
565
566
|
}
|
|
566
567
|
}
|
|
567
568
|
exports.UpdateMinLiquidationBonusBps = UpdateMinLiquidationBonusBps;
|
|
568
|
-
class
|
|
569
|
+
class UpdateDeleveragingMarginCallPeriod {
|
|
569
570
|
static discriminator = 31;
|
|
570
|
-
static kind = "
|
|
571
|
+
static kind = "UpdateDeleveragingMarginCallPeriod";
|
|
571
572
|
discriminator = 31;
|
|
572
|
-
kind = "
|
|
573
|
+
kind = "UpdateDeleveragingMarginCallPeriod";
|
|
573
574
|
toJSON() {
|
|
574
575
|
return {
|
|
575
|
-
kind: "
|
|
576
|
+
kind: "UpdateDeleveragingMarginCallPeriod",
|
|
576
577
|
};
|
|
577
578
|
}
|
|
578
579
|
toEncodable() {
|
|
579
580
|
return {
|
|
580
|
-
|
|
581
|
+
UpdateDeleveragingMarginCallPeriod: {},
|
|
581
582
|
};
|
|
582
583
|
}
|
|
583
584
|
}
|
|
584
|
-
exports.
|
|
585
|
+
exports.UpdateDeleveragingMarginCallPeriod = UpdateDeleveragingMarginCallPeriod;
|
|
585
586
|
class UpdateBorrowFactor {
|
|
586
587
|
static discriminator = 32;
|
|
587
588
|
static kind = "UpdateBorrowFactor";
|
|
@@ -599,23 +600,23 @@ class UpdateBorrowFactor {
|
|
|
599
600
|
}
|
|
600
601
|
}
|
|
601
602
|
exports.UpdateBorrowFactor = UpdateBorrowFactor;
|
|
602
|
-
class
|
|
603
|
+
class DeprecatedUpdateAssetTier {
|
|
603
604
|
static discriminator = 33;
|
|
604
|
-
static kind = "
|
|
605
|
+
static kind = "DeprecatedUpdateAssetTier";
|
|
605
606
|
discriminator = 33;
|
|
606
|
-
kind = "
|
|
607
|
+
kind = "DeprecatedUpdateAssetTier";
|
|
607
608
|
toJSON() {
|
|
608
609
|
return {
|
|
609
|
-
kind: "
|
|
610
|
+
kind: "DeprecatedUpdateAssetTier",
|
|
610
611
|
};
|
|
611
612
|
}
|
|
612
613
|
toEncodable() {
|
|
613
614
|
return {
|
|
614
|
-
|
|
615
|
+
DeprecatedUpdateAssetTier: {},
|
|
615
616
|
};
|
|
616
617
|
}
|
|
617
618
|
}
|
|
618
|
-
exports.
|
|
619
|
+
exports.DeprecatedUpdateAssetTier = DeprecatedUpdateAssetTier;
|
|
619
620
|
class UpdateElevationGroup {
|
|
620
621
|
static discriminator = 34;
|
|
621
622
|
static kind = "UpdateElevationGroup";
|
|
@@ -633,23 +634,23 @@ class UpdateElevationGroup {
|
|
|
633
634
|
}
|
|
634
635
|
}
|
|
635
636
|
exports.UpdateElevationGroup = UpdateElevationGroup;
|
|
636
|
-
class
|
|
637
|
+
class UpdateDeleveragingThresholdDecreaseBpsPerDay {
|
|
637
638
|
static discriminator = 35;
|
|
638
|
-
static kind = "
|
|
639
|
+
static kind = "UpdateDeleveragingThresholdDecreaseBpsPerDay";
|
|
639
640
|
discriminator = 35;
|
|
640
|
-
kind = "
|
|
641
|
+
kind = "UpdateDeleveragingThresholdDecreaseBpsPerDay";
|
|
641
642
|
toJSON() {
|
|
642
643
|
return {
|
|
643
|
-
kind: "
|
|
644
|
+
kind: "UpdateDeleveragingThresholdDecreaseBpsPerDay",
|
|
644
645
|
};
|
|
645
646
|
}
|
|
646
647
|
toEncodable() {
|
|
647
648
|
return {
|
|
648
|
-
|
|
649
|
+
UpdateDeleveragingThresholdDecreaseBpsPerDay: {},
|
|
649
650
|
};
|
|
650
651
|
}
|
|
651
652
|
}
|
|
652
|
-
exports.
|
|
653
|
+
exports.UpdateDeleveragingThresholdDecreaseBpsPerDay = UpdateDeleveragingThresholdDecreaseBpsPerDay;
|
|
653
654
|
class DeprecatedUpdateMultiplierSideBoost {
|
|
654
655
|
static discriminator = 36;
|
|
655
656
|
static kind = "DeprecatedUpdateMultiplierSideBoost";
|
|
@@ -752,23 +753,23 @@ class UpdateDisableUsageAsCollateralOutsideEmode {
|
|
|
752
753
|
}
|
|
753
754
|
}
|
|
754
755
|
exports.UpdateDisableUsageAsCollateralOutsideEmode = UpdateDisableUsageAsCollateralOutsideEmode;
|
|
755
|
-
class
|
|
756
|
+
class UpdateBlockBorrowingAboveUtilizationPct {
|
|
756
757
|
static discriminator = 42;
|
|
757
|
-
static kind = "
|
|
758
|
+
static kind = "UpdateBlockBorrowingAboveUtilizationPct";
|
|
758
759
|
discriminator = 42;
|
|
759
|
-
kind = "
|
|
760
|
+
kind = "UpdateBlockBorrowingAboveUtilizationPct";
|
|
760
761
|
toJSON() {
|
|
761
762
|
return {
|
|
762
|
-
kind: "
|
|
763
|
+
kind: "UpdateBlockBorrowingAboveUtilizationPct",
|
|
763
764
|
};
|
|
764
765
|
}
|
|
765
766
|
toEncodable() {
|
|
766
767
|
return {
|
|
767
|
-
|
|
768
|
+
UpdateBlockBorrowingAboveUtilizationPct: {},
|
|
768
769
|
};
|
|
769
770
|
}
|
|
770
771
|
}
|
|
771
|
-
exports.
|
|
772
|
+
exports.UpdateBlockBorrowingAboveUtilizationPct = UpdateBlockBorrowingAboveUtilizationPct;
|
|
772
773
|
class UpdateBlockPriceUsage {
|
|
773
774
|
static discriminator = 43;
|
|
774
775
|
static kind = "UpdateBlockPriceUsage";
|
|
@@ -837,6 +838,227 @@ class UpdateHostFixedInterestRateBps {
|
|
|
837
838
|
}
|
|
838
839
|
}
|
|
839
840
|
exports.UpdateHostFixedInterestRateBps = UpdateHostFixedInterestRateBps;
|
|
841
|
+
class UpdateAutodeleverageEnabled {
|
|
842
|
+
static discriminator = 47;
|
|
843
|
+
static kind = "UpdateAutodeleverageEnabled";
|
|
844
|
+
discriminator = 47;
|
|
845
|
+
kind = "UpdateAutodeleverageEnabled";
|
|
846
|
+
toJSON() {
|
|
847
|
+
return {
|
|
848
|
+
kind: "UpdateAutodeleverageEnabled",
|
|
849
|
+
};
|
|
850
|
+
}
|
|
851
|
+
toEncodable() {
|
|
852
|
+
return {
|
|
853
|
+
UpdateAutodeleverageEnabled: {},
|
|
854
|
+
};
|
|
855
|
+
}
|
|
856
|
+
}
|
|
857
|
+
exports.UpdateAutodeleverageEnabled = UpdateAutodeleverageEnabled;
|
|
858
|
+
class UpdateDeleveragingBonusIncreaseBpsPerDay {
|
|
859
|
+
static discriminator = 48;
|
|
860
|
+
static kind = "UpdateDeleveragingBonusIncreaseBpsPerDay";
|
|
861
|
+
discriminator = 48;
|
|
862
|
+
kind = "UpdateDeleveragingBonusIncreaseBpsPerDay";
|
|
863
|
+
toJSON() {
|
|
864
|
+
return {
|
|
865
|
+
kind: "UpdateDeleveragingBonusIncreaseBpsPerDay",
|
|
866
|
+
};
|
|
867
|
+
}
|
|
868
|
+
toEncodable() {
|
|
869
|
+
return {
|
|
870
|
+
UpdateDeleveragingBonusIncreaseBpsPerDay: {},
|
|
871
|
+
};
|
|
872
|
+
}
|
|
873
|
+
}
|
|
874
|
+
exports.UpdateDeleveragingBonusIncreaseBpsPerDay = UpdateDeleveragingBonusIncreaseBpsPerDay;
|
|
875
|
+
class UpdateProtocolOrderExecutionFee {
|
|
876
|
+
static discriminator = 49;
|
|
877
|
+
static kind = "UpdateProtocolOrderExecutionFee";
|
|
878
|
+
discriminator = 49;
|
|
879
|
+
kind = "UpdateProtocolOrderExecutionFee";
|
|
880
|
+
toJSON() {
|
|
881
|
+
return {
|
|
882
|
+
kind: "UpdateProtocolOrderExecutionFee",
|
|
883
|
+
};
|
|
884
|
+
}
|
|
885
|
+
toEncodable() {
|
|
886
|
+
return {
|
|
887
|
+
UpdateProtocolOrderExecutionFee: {},
|
|
888
|
+
};
|
|
889
|
+
}
|
|
890
|
+
}
|
|
891
|
+
exports.UpdateProtocolOrderExecutionFee = UpdateProtocolOrderExecutionFee;
|
|
892
|
+
class UpdateProposerAuthorityLock {
|
|
893
|
+
static discriminator = 50;
|
|
894
|
+
static kind = "UpdateProposerAuthorityLock";
|
|
895
|
+
discriminator = 50;
|
|
896
|
+
kind = "UpdateProposerAuthorityLock";
|
|
897
|
+
toJSON() {
|
|
898
|
+
return {
|
|
899
|
+
kind: "UpdateProposerAuthorityLock",
|
|
900
|
+
};
|
|
901
|
+
}
|
|
902
|
+
toEncodable() {
|
|
903
|
+
return {
|
|
904
|
+
UpdateProposerAuthorityLock: {},
|
|
905
|
+
};
|
|
906
|
+
}
|
|
907
|
+
}
|
|
908
|
+
exports.UpdateProposerAuthorityLock = UpdateProposerAuthorityLock;
|
|
909
|
+
class UpdateMinDeleveragingBonusBps {
|
|
910
|
+
static discriminator = 51;
|
|
911
|
+
static kind = "UpdateMinDeleveragingBonusBps";
|
|
912
|
+
discriminator = 51;
|
|
913
|
+
kind = "UpdateMinDeleveragingBonusBps";
|
|
914
|
+
toJSON() {
|
|
915
|
+
return {
|
|
916
|
+
kind: "UpdateMinDeleveragingBonusBps",
|
|
917
|
+
};
|
|
918
|
+
}
|
|
919
|
+
toEncodable() {
|
|
920
|
+
return {
|
|
921
|
+
UpdateMinDeleveragingBonusBps: {},
|
|
922
|
+
};
|
|
923
|
+
}
|
|
924
|
+
}
|
|
925
|
+
exports.UpdateMinDeleveragingBonusBps = UpdateMinDeleveragingBonusBps;
|
|
926
|
+
class UpdateBlockCTokenUsage {
|
|
927
|
+
static discriminator = 52;
|
|
928
|
+
static kind = "UpdateBlockCTokenUsage";
|
|
929
|
+
discriminator = 52;
|
|
930
|
+
kind = "UpdateBlockCTokenUsage";
|
|
931
|
+
toJSON() {
|
|
932
|
+
return {
|
|
933
|
+
kind: "UpdateBlockCTokenUsage",
|
|
934
|
+
};
|
|
935
|
+
}
|
|
936
|
+
toEncodable() {
|
|
937
|
+
return {
|
|
938
|
+
UpdateBlockCTokenUsage: {},
|
|
939
|
+
};
|
|
940
|
+
}
|
|
941
|
+
}
|
|
942
|
+
exports.UpdateBlockCTokenUsage = UpdateBlockCTokenUsage;
|
|
943
|
+
class UpdateDebtMaturityTimestamp {
|
|
944
|
+
static discriminator = 53;
|
|
945
|
+
static kind = "UpdateDebtMaturityTimestamp";
|
|
946
|
+
discriminator = 53;
|
|
947
|
+
kind = "UpdateDebtMaturityTimestamp";
|
|
948
|
+
toJSON() {
|
|
949
|
+
return {
|
|
950
|
+
kind: "UpdateDebtMaturityTimestamp",
|
|
951
|
+
};
|
|
952
|
+
}
|
|
953
|
+
toEncodable() {
|
|
954
|
+
return {
|
|
955
|
+
UpdateDebtMaturityTimestamp: {},
|
|
956
|
+
};
|
|
957
|
+
}
|
|
958
|
+
}
|
|
959
|
+
exports.UpdateDebtMaturityTimestamp = UpdateDebtMaturityTimestamp;
|
|
960
|
+
class UpdateDebtTermSeconds {
|
|
961
|
+
static discriminator = 54;
|
|
962
|
+
static kind = "UpdateDebtTermSeconds";
|
|
963
|
+
discriminator = 54;
|
|
964
|
+
kind = "UpdateDebtTermSeconds";
|
|
965
|
+
toJSON() {
|
|
966
|
+
return {
|
|
967
|
+
kind: "UpdateDebtTermSeconds",
|
|
968
|
+
};
|
|
969
|
+
}
|
|
970
|
+
toEncodable() {
|
|
971
|
+
return {
|
|
972
|
+
UpdateDebtTermSeconds: {},
|
|
973
|
+
};
|
|
974
|
+
}
|
|
975
|
+
}
|
|
976
|
+
exports.UpdateDebtTermSeconds = UpdateDebtTermSeconds;
|
|
977
|
+
class UpdateEarlyRepayRemainingInterestPct {
|
|
978
|
+
static discriminator = 55;
|
|
979
|
+
static kind = "UpdateEarlyRepayRemainingInterestPct";
|
|
980
|
+
discriminator = 55;
|
|
981
|
+
kind = "UpdateEarlyRepayRemainingInterestPct";
|
|
982
|
+
toJSON() {
|
|
983
|
+
return {
|
|
984
|
+
kind: "UpdateEarlyRepayRemainingInterestPct",
|
|
985
|
+
};
|
|
986
|
+
}
|
|
987
|
+
toEncodable() {
|
|
988
|
+
return {
|
|
989
|
+
UpdateEarlyRepayRemainingInterestPct: {},
|
|
990
|
+
};
|
|
991
|
+
}
|
|
992
|
+
}
|
|
993
|
+
exports.UpdateEarlyRepayRemainingInterestPct = UpdateEarlyRepayRemainingInterestPct;
|
|
994
|
+
class UpdateReserveEmergencyMode {
|
|
995
|
+
static discriminator = 56;
|
|
996
|
+
static kind = "UpdateReserveEmergencyMode";
|
|
997
|
+
discriminator = 56;
|
|
998
|
+
kind = "UpdateReserveEmergencyMode";
|
|
999
|
+
toJSON() {
|
|
1000
|
+
return {
|
|
1001
|
+
kind: "UpdateReserveEmergencyMode",
|
|
1002
|
+
};
|
|
1003
|
+
}
|
|
1004
|
+
toEncodable() {
|
|
1005
|
+
return {
|
|
1006
|
+
UpdateReserveEmergencyMode: {},
|
|
1007
|
+
};
|
|
1008
|
+
}
|
|
1009
|
+
}
|
|
1010
|
+
exports.UpdateReserveEmergencyMode = UpdateReserveEmergencyMode;
|
|
1011
|
+
class UpdateRewardsAmountPerAccrualUnit {
|
|
1012
|
+
static discriminator = 57;
|
|
1013
|
+
static kind = "UpdateRewardsAmountPerAccrualUnit";
|
|
1014
|
+
discriminator = 57;
|
|
1015
|
+
kind = "UpdateRewardsAmountPerAccrualUnit";
|
|
1016
|
+
toJSON() {
|
|
1017
|
+
return {
|
|
1018
|
+
kind: "UpdateRewardsAmountPerAccrualUnit",
|
|
1019
|
+
};
|
|
1020
|
+
}
|
|
1021
|
+
toEncodable() {
|
|
1022
|
+
return {
|
|
1023
|
+
UpdateRewardsAmountPerAccrualUnit: {},
|
|
1024
|
+
};
|
|
1025
|
+
}
|
|
1026
|
+
}
|
|
1027
|
+
exports.UpdateRewardsAmountPerAccrualUnit = UpdateRewardsAmountPerAccrualUnit;
|
|
1028
|
+
class UpdateReservePermissionedOps {
|
|
1029
|
+
static discriminator = 58;
|
|
1030
|
+
static kind = "UpdateReservePermissionedOps";
|
|
1031
|
+
discriminator = 58;
|
|
1032
|
+
kind = "UpdateReservePermissionedOps";
|
|
1033
|
+
toJSON() {
|
|
1034
|
+
return {
|
|
1035
|
+
kind: "UpdateReservePermissionedOps",
|
|
1036
|
+
};
|
|
1037
|
+
}
|
|
1038
|
+
toEncodable() {
|
|
1039
|
+
return {
|
|
1040
|
+
UpdateReservePermissionedOps: {},
|
|
1041
|
+
};
|
|
1042
|
+
}
|
|
1043
|
+
}
|
|
1044
|
+
exports.UpdateReservePermissionedOps = UpdateReservePermissionedOps;
|
|
1045
|
+
class UpdateInterestRateBasis {
|
|
1046
|
+
static discriminator = 59;
|
|
1047
|
+
static kind = "UpdateInterestRateBasis";
|
|
1048
|
+
discriminator = 59;
|
|
1049
|
+
kind = "UpdateInterestRateBasis";
|
|
1050
|
+
toJSON() {
|
|
1051
|
+
return {
|
|
1052
|
+
kind: "UpdateInterestRateBasis",
|
|
1053
|
+
};
|
|
1054
|
+
}
|
|
1055
|
+
toEncodable() {
|
|
1056
|
+
return {
|
|
1057
|
+
UpdateInterestRateBasis: {},
|
|
1058
|
+
};
|
|
1059
|
+
}
|
|
1060
|
+
}
|
|
1061
|
+
exports.UpdateInterestRateBasis = UpdateInterestRateBasis;
|
|
840
1062
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
841
1063
|
function fromDecoded(obj) {
|
|
842
1064
|
if (typeof obj !== "object") {
|
|
@@ -857,14 +1079,14 @@ function fromDecoded(obj) {
|
|
|
857
1079
|
if ("UpdateProtocolTakeRate" in obj) {
|
|
858
1080
|
return new UpdateProtocolTakeRate();
|
|
859
1081
|
}
|
|
860
|
-
if ("
|
|
861
|
-
return new
|
|
1082
|
+
if ("UpdateFeesOriginationFee" in obj) {
|
|
1083
|
+
return new UpdateFeesOriginationFee();
|
|
862
1084
|
}
|
|
863
1085
|
if ("UpdateFeesFlashLoanFee" in obj) {
|
|
864
1086
|
return new UpdateFeesFlashLoanFee();
|
|
865
1087
|
}
|
|
866
|
-
if ("
|
|
867
|
-
return new
|
|
1088
|
+
if ("DeprecatedUpdateFeesReferralFeeBps" in obj) {
|
|
1089
|
+
return new DeprecatedUpdateFeesReferralFeeBps();
|
|
868
1090
|
}
|
|
869
1091
|
if ("UpdateDepositLimit" in obj) {
|
|
870
1092
|
return new UpdateDepositLimit();
|
|
@@ -914,8 +1136,8 @@ function fromDecoded(obj) {
|
|
|
914
1136
|
if ("UpdateBorrowRateCurve" in obj) {
|
|
915
1137
|
return new UpdateBorrowRateCurve();
|
|
916
1138
|
}
|
|
917
|
-
if ("
|
|
918
|
-
return new
|
|
1139
|
+
if ("DeprecatedUpdateEntireReserveConfig" in obj) {
|
|
1140
|
+
return new DeprecatedUpdateEntireReserveConfig();
|
|
919
1141
|
}
|
|
920
1142
|
if ("UpdateDebtWithdrawalCap" in obj) {
|
|
921
1143
|
return new UpdateDebtWithdrawalCap();
|
|
@@ -923,11 +1145,11 @@ function fromDecoded(obj) {
|
|
|
923
1145
|
if ("UpdateDepositWithdrawalCap" in obj) {
|
|
924
1146
|
return new UpdateDepositWithdrawalCap();
|
|
925
1147
|
}
|
|
926
|
-
if ("
|
|
927
|
-
return new
|
|
1148
|
+
if ("DeprecatedUpdateDebtWithdrawalCapCurrentTotal" in obj) {
|
|
1149
|
+
return new DeprecatedUpdateDebtWithdrawalCapCurrentTotal();
|
|
928
1150
|
}
|
|
929
|
-
if ("
|
|
930
|
-
return new
|
|
1151
|
+
if ("DeprecatedUpdateDepositWithdrawalCapCurrentTotal" in obj) {
|
|
1152
|
+
return new DeprecatedUpdateDepositWithdrawalCapCurrentTotal();
|
|
931
1153
|
}
|
|
932
1154
|
if ("UpdateBadDebtLiquidationBonusBps" in obj) {
|
|
933
1155
|
return new UpdateBadDebtLiquidationBonusBps();
|
|
@@ -935,20 +1157,20 @@ function fromDecoded(obj) {
|
|
|
935
1157
|
if ("UpdateMinLiquidationBonusBps" in obj) {
|
|
936
1158
|
return new UpdateMinLiquidationBonusBps();
|
|
937
1159
|
}
|
|
938
|
-
if ("
|
|
939
|
-
return new
|
|
1160
|
+
if ("UpdateDeleveragingMarginCallPeriod" in obj) {
|
|
1161
|
+
return new UpdateDeleveragingMarginCallPeriod();
|
|
940
1162
|
}
|
|
941
1163
|
if ("UpdateBorrowFactor" in obj) {
|
|
942
1164
|
return new UpdateBorrowFactor();
|
|
943
1165
|
}
|
|
944
|
-
if ("
|
|
945
|
-
return new
|
|
1166
|
+
if ("DeprecatedUpdateAssetTier" in obj) {
|
|
1167
|
+
return new DeprecatedUpdateAssetTier();
|
|
946
1168
|
}
|
|
947
1169
|
if ("UpdateElevationGroup" in obj) {
|
|
948
1170
|
return new UpdateElevationGroup();
|
|
949
1171
|
}
|
|
950
|
-
if ("
|
|
951
|
-
return new
|
|
1172
|
+
if ("UpdateDeleveragingThresholdDecreaseBpsPerDay" in obj) {
|
|
1173
|
+
return new UpdateDeleveragingThresholdDecreaseBpsPerDay();
|
|
952
1174
|
}
|
|
953
1175
|
if ("DeprecatedUpdateMultiplierSideBoost" in obj) {
|
|
954
1176
|
return new DeprecatedUpdateMultiplierSideBoost();
|
|
@@ -968,8 +1190,8 @@ function fromDecoded(obj) {
|
|
|
968
1190
|
if ("UpdateDisableUsageAsCollateralOutsideEmode" in obj) {
|
|
969
1191
|
return new UpdateDisableUsageAsCollateralOutsideEmode();
|
|
970
1192
|
}
|
|
971
|
-
if ("
|
|
972
|
-
return new
|
|
1193
|
+
if ("UpdateBlockBorrowingAboveUtilizationPct" in obj) {
|
|
1194
|
+
return new UpdateBlockBorrowingAboveUtilizationPct();
|
|
973
1195
|
}
|
|
974
1196
|
if ("UpdateBlockPriceUsage" in obj) {
|
|
975
1197
|
return new UpdateBlockPriceUsage();
|
|
@@ -983,6 +1205,45 @@ function fromDecoded(obj) {
|
|
|
983
1205
|
if ("UpdateHostFixedInterestRateBps" in obj) {
|
|
984
1206
|
return new UpdateHostFixedInterestRateBps();
|
|
985
1207
|
}
|
|
1208
|
+
if ("UpdateAutodeleverageEnabled" in obj) {
|
|
1209
|
+
return new UpdateAutodeleverageEnabled();
|
|
1210
|
+
}
|
|
1211
|
+
if ("UpdateDeleveragingBonusIncreaseBpsPerDay" in obj) {
|
|
1212
|
+
return new UpdateDeleveragingBonusIncreaseBpsPerDay();
|
|
1213
|
+
}
|
|
1214
|
+
if ("UpdateProtocolOrderExecutionFee" in obj) {
|
|
1215
|
+
return new UpdateProtocolOrderExecutionFee();
|
|
1216
|
+
}
|
|
1217
|
+
if ("UpdateProposerAuthorityLock" in obj) {
|
|
1218
|
+
return new UpdateProposerAuthorityLock();
|
|
1219
|
+
}
|
|
1220
|
+
if ("UpdateMinDeleveragingBonusBps" in obj) {
|
|
1221
|
+
return new UpdateMinDeleveragingBonusBps();
|
|
1222
|
+
}
|
|
1223
|
+
if ("UpdateBlockCTokenUsage" in obj) {
|
|
1224
|
+
return new UpdateBlockCTokenUsage();
|
|
1225
|
+
}
|
|
1226
|
+
if ("UpdateDebtMaturityTimestamp" in obj) {
|
|
1227
|
+
return new UpdateDebtMaturityTimestamp();
|
|
1228
|
+
}
|
|
1229
|
+
if ("UpdateDebtTermSeconds" in obj) {
|
|
1230
|
+
return new UpdateDebtTermSeconds();
|
|
1231
|
+
}
|
|
1232
|
+
if ("UpdateEarlyRepayRemainingInterestPct" in obj) {
|
|
1233
|
+
return new UpdateEarlyRepayRemainingInterestPct();
|
|
1234
|
+
}
|
|
1235
|
+
if ("UpdateReserveEmergencyMode" in obj) {
|
|
1236
|
+
return new UpdateReserveEmergencyMode();
|
|
1237
|
+
}
|
|
1238
|
+
if ("UpdateRewardsAmountPerAccrualUnit" in obj) {
|
|
1239
|
+
return new UpdateRewardsAmountPerAccrualUnit();
|
|
1240
|
+
}
|
|
1241
|
+
if ("UpdateReservePermissionedOps" in obj) {
|
|
1242
|
+
return new UpdateReservePermissionedOps();
|
|
1243
|
+
}
|
|
1244
|
+
if ("UpdateInterestRateBasis" in obj) {
|
|
1245
|
+
return new UpdateInterestRateBasis();
|
|
1246
|
+
}
|
|
986
1247
|
throw new Error("Invalid enum object");
|
|
987
1248
|
}
|
|
988
1249
|
function fromJSON(obj) {
|
|
@@ -1002,14 +1263,14 @@ function fromJSON(obj) {
|
|
|
1002
1263
|
case "UpdateProtocolTakeRate": {
|
|
1003
1264
|
return new UpdateProtocolTakeRate();
|
|
1004
1265
|
}
|
|
1005
|
-
case "
|
|
1006
|
-
return new
|
|
1266
|
+
case "UpdateFeesOriginationFee": {
|
|
1267
|
+
return new UpdateFeesOriginationFee();
|
|
1007
1268
|
}
|
|
1008
1269
|
case "UpdateFeesFlashLoanFee": {
|
|
1009
1270
|
return new UpdateFeesFlashLoanFee();
|
|
1010
1271
|
}
|
|
1011
|
-
case "
|
|
1012
|
-
return new
|
|
1272
|
+
case "DeprecatedUpdateFeesReferralFeeBps": {
|
|
1273
|
+
return new DeprecatedUpdateFeesReferralFeeBps();
|
|
1013
1274
|
}
|
|
1014
1275
|
case "UpdateDepositLimit": {
|
|
1015
1276
|
return new UpdateDepositLimit();
|
|
@@ -1059,8 +1320,8 @@ function fromJSON(obj) {
|
|
|
1059
1320
|
case "UpdateBorrowRateCurve": {
|
|
1060
1321
|
return new UpdateBorrowRateCurve();
|
|
1061
1322
|
}
|
|
1062
|
-
case "
|
|
1063
|
-
return new
|
|
1323
|
+
case "DeprecatedUpdateEntireReserveConfig": {
|
|
1324
|
+
return new DeprecatedUpdateEntireReserveConfig();
|
|
1064
1325
|
}
|
|
1065
1326
|
case "UpdateDebtWithdrawalCap": {
|
|
1066
1327
|
return new UpdateDebtWithdrawalCap();
|
|
@@ -1068,11 +1329,11 @@ function fromJSON(obj) {
|
|
|
1068
1329
|
case "UpdateDepositWithdrawalCap": {
|
|
1069
1330
|
return new UpdateDepositWithdrawalCap();
|
|
1070
1331
|
}
|
|
1071
|
-
case "
|
|
1072
|
-
return new
|
|
1332
|
+
case "DeprecatedUpdateDebtWithdrawalCapCurrentTotal": {
|
|
1333
|
+
return new DeprecatedUpdateDebtWithdrawalCapCurrentTotal();
|
|
1073
1334
|
}
|
|
1074
|
-
case "
|
|
1075
|
-
return new
|
|
1335
|
+
case "DeprecatedUpdateDepositWithdrawalCapCurrentTotal": {
|
|
1336
|
+
return new DeprecatedUpdateDepositWithdrawalCapCurrentTotal();
|
|
1076
1337
|
}
|
|
1077
1338
|
case "UpdateBadDebtLiquidationBonusBps": {
|
|
1078
1339
|
return new UpdateBadDebtLiquidationBonusBps();
|
|
@@ -1080,20 +1341,20 @@ function fromJSON(obj) {
|
|
|
1080
1341
|
case "UpdateMinLiquidationBonusBps": {
|
|
1081
1342
|
return new UpdateMinLiquidationBonusBps();
|
|
1082
1343
|
}
|
|
1083
|
-
case "
|
|
1084
|
-
return new
|
|
1344
|
+
case "UpdateDeleveragingMarginCallPeriod": {
|
|
1345
|
+
return new UpdateDeleveragingMarginCallPeriod();
|
|
1085
1346
|
}
|
|
1086
1347
|
case "UpdateBorrowFactor": {
|
|
1087
1348
|
return new UpdateBorrowFactor();
|
|
1088
1349
|
}
|
|
1089
|
-
case "
|
|
1090
|
-
return new
|
|
1350
|
+
case "DeprecatedUpdateAssetTier": {
|
|
1351
|
+
return new DeprecatedUpdateAssetTier();
|
|
1091
1352
|
}
|
|
1092
1353
|
case "UpdateElevationGroup": {
|
|
1093
1354
|
return new UpdateElevationGroup();
|
|
1094
1355
|
}
|
|
1095
|
-
case "
|
|
1096
|
-
return new
|
|
1356
|
+
case "UpdateDeleveragingThresholdDecreaseBpsPerDay": {
|
|
1357
|
+
return new UpdateDeleveragingThresholdDecreaseBpsPerDay();
|
|
1097
1358
|
}
|
|
1098
1359
|
case "DeprecatedUpdateMultiplierSideBoost": {
|
|
1099
1360
|
return new DeprecatedUpdateMultiplierSideBoost();
|
|
@@ -1113,8 +1374,8 @@ function fromJSON(obj) {
|
|
|
1113
1374
|
case "UpdateDisableUsageAsCollateralOutsideEmode": {
|
|
1114
1375
|
return new UpdateDisableUsageAsCollateralOutsideEmode();
|
|
1115
1376
|
}
|
|
1116
|
-
case "
|
|
1117
|
-
return new
|
|
1377
|
+
case "UpdateBlockBorrowingAboveUtilizationPct": {
|
|
1378
|
+
return new UpdateBlockBorrowingAboveUtilizationPct();
|
|
1118
1379
|
}
|
|
1119
1380
|
case "UpdateBlockPriceUsage": {
|
|
1120
1381
|
return new UpdateBlockPriceUsage();
|
|
@@ -1128,6 +1389,45 @@ function fromJSON(obj) {
|
|
|
1128
1389
|
case "UpdateHostFixedInterestRateBps": {
|
|
1129
1390
|
return new UpdateHostFixedInterestRateBps();
|
|
1130
1391
|
}
|
|
1392
|
+
case "UpdateAutodeleverageEnabled": {
|
|
1393
|
+
return new UpdateAutodeleverageEnabled();
|
|
1394
|
+
}
|
|
1395
|
+
case "UpdateDeleveragingBonusIncreaseBpsPerDay": {
|
|
1396
|
+
return new UpdateDeleveragingBonusIncreaseBpsPerDay();
|
|
1397
|
+
}
|
|
1398
|
+
case "UpdateProtocolOrderExecutionFee": {
|
|
1399
|
+
return new UpdateProtocolOrderExecutionFee();
|
|
1400
|
+
}
|
|
1401
|
+
case "UpdateProposerAuthorityLock": {
|
|
1402
|
+
return new UpdateProposerAuthorityLock();
|
|
1403
|
+
}
|
|
1404
|
+
case "UpdateMinDeleveragingBonusBps": {
|
|
1405
|
+
return new UpdateMinDeleveragingBonusBps();
|
|
1406
|
+
}
|
|
1407
|
+
case "UpdateBlockCTokenUsage": {
|
|
1408
|
+
return new UpdateBlockCTokenUsage();
|
|
1409
|
+
}
|
|
1410
|
+
case "UpdateDebtMaturityTimestamp": {
|
|
1411
|
+
return new UpdateDebtMaturityTimestamp();
|
|
1412
|
+
}
|
|
1413
|
+
case "UpdateDebtTermSeconds": {
|
|
1414
|
+
return new UpdateDebtTermSeconds();
|
|
1415
|
+
}
|
|
1416
|
+
case "UpdateEarlyRepayRemainingInterestPct": {
|
|
1417
|
+
return new UpdateEarlyRepayRemainingInterestPct();
|
|
1418
|
+
}
|
|
1419
|
+
case "UpdateReserveEmergencyMode": {
|
|
1420
|
+
return new UpdateReserveEmergencyMode();
|
|
1421
|
+
}
|
|
1422
|
+
case "UpdateRewardsAmountPerAccrualUnit": {
|
|
1423
|
+
return new UpdateRewardsAmountPerAccrualUnit();
|
|
1424
|
+
}
|
|
1425
|
+
case "UpdateReservePermissionedOps": {
|
|
1426
|
+
return new UpdateReservePermissionedOps();
|
|
1427
|
+
}
|
|
1428
|
+
case "UpdateInterestRateBasis": {
|
|
1429
|
+
return new UpdateInterestRateBasis();
|
|
1430
|
+
}
|
|
1131
1431
|
}
|
|
1132
1432
|
}
|
|
1133
1433
|
function layout(property) {
|
|
@@ -1137,9 +1437,9 @@ function layout(property) {
|
|
|
1137
1437
|
borsh.struct([], "UpdateLiquidationThresholdPct"),
|
|
1138
1438
|
borsh.struct([], "UpdateProtocolLiquidationFee"),
|
|
1139
1439
|
borsh.struct([], "UpdateProtocolTakeRate"),
|
|
1140
|
-
borsh.struct([], "
|
|
1440
|
+
borsh.struct([], "UpdateFeesOriginationFee"),
|
|
1141
1441
|
borsh.struct([], "UpdateFeesFlashLoanFee"),
|
|
1142
|
-
borsh.struct([], "
|
|
1442
|
+
borsh.struct([], "DeprecatedUpdateFeesReferralFeeBps"),
|
|
1143
1443
|
borsh.struct([], "UpdateDepositLimit"),
|
|
1144
1444
|
borsh.struct([], "UpdateBorrowLimit"),
|
|
1145
1445
|
borsh.struct([], "UpdateTokenInfoLowerHeuristic"),
|
|
@@ -1156,29 +1456,42 @@ function layout(property) {
|
|
|
1156
1456
|
borsh.struct([], "UpdateSwitchboardFeed"),
|
|
1157
1457
|
borsh.struct([], "UpdateSwitchboardTwapFeed"),
|
|
1158
1458
|
borsh.struct([], "UpdateBorrowRateCurve"),
|
|
1159
|
-
borsh.struct([], "
|
|
1459
|
+
borsh.struct([], "DeprecatedUpdateEntireReserveConfig"),
|
|
1160
1460
|
borsh.struct([], "UpdateDebtWithdrawalCap"),
|
|
1161
1461
|
borsh.struct([], "UpdateDepositWithdrawalCap"),
|
|
1162
|
-
borsh.struct([], "
|
|
1163
|
-
borsh.struct([], "
|
|
1462
|
+
borsh.struct([], "DeprecatedUpdateDebtWithdrawalCapCurrentTotal"),
|
|
1463
|
+
borsh.struct([], "DeprecatedUpdateDepositWithdrawalCapCurrentTotal"),
|
|
1164
1464
|
borsh.struct([], "UpdateBadDebtLiquidationBonusBps"),
|
|
1165
1465
|
borsh.struct([], "UpdateMinLiquidationBonusBps"),
|
|
1166
|
-
borsh.struct([], "
|
|
1466
|
+
borsh.struct([], "UpdateDeleveragingMarginCallPeriod"),
|
|
1167
1467
|
borsh.struct([], "UpdateBorrowFactor"),
|
|
1168
|
-
borsh.struct([], "
|
|
1468
|
+
borsh.struct([], "DeprecatedUpdateAssetTier"),
|
|
1169
1469
|
borsh.struct([], "UpdateElevationGroup"),
|
|
1170
|
-
borsh.struct([], "
|
|
1470
|
+
borsh.struct([], "UpdateDeleveragingThresholdDecreaseBpsPerDay"),
|
|
1171
1471
|
borsh.struct([], "DeprecatedUpdateMultiplierSideBoost"),
|
|
1172
1472
|
borsh.struct([], "DeprecatedUpdateMultiplierTagBoost"),
|
|
1173
1473
|
borsh.struct([], "UpdateReserveStatus"),
|
|
1174
1474
|
borsh.struct([], "UpdateFarmCollateral"),
|
|
1175
1475
|
borsh.struct([], "UpdateFarmDebt"),
|
|
1176
1476
|
borsh.struct([], "UpdateDisableUsageAsCollateralOutsideEmode"),
|
|
1177
|
-
borsh.struct([], "
|
|
1477
|
+
borsh.struct([], "UpdateBlockBorrowingAboveUtilizationPct"),
|
|
1178
1478
|
borsh.struct([], "UpdateBlockPriceUsage"),
|
|
1179
1479
|
borsh.struct([], "UpdateBorrowLimitOutsideElevationGroup"),
|
|
1180
1480
|
borsh.struct([], "UpdateBorrowLimitsInElevationGroupAgainstThisReserve"),
|
|
1181
1481
|
borsh.struct([], "UpdateHostFixedInterestRateBps"),
|
|
1482
|
+
borsh.struct([], "UpdateAutodeleverageEnabled"),
|
|
1483
|
+
borsh.struct([], "UpdateDeleveragingBonusIncreaseBpsPerDay"),
|
|
1484
|
+
borsh.struct([], "UpdateProtocolOrderExecutionFee"),
|
|
1485
|
+
borsh.struct([], "UpdateProposerAuthorityLock"),
|
|
1486
|
+
borsh.struct([], "UpdateMinDeleveragingBonusBps"),
|
|
1487
|
+
borsh.struct([], "UpdateBlockCTokenUsage"),
|
|
1488
|
+
borsh.struct([], "UpdateDebtMaturityTimestamp"),
|
|
1489
|
+
borsh.struct([], "UpdateDebtTermSeconds"),
|
|
1490
|
+
borsh.struct([], "UpdateEarlyRepayRemainingInterestPct"),
|
|
1491
|
+
borsh.struct([], "UpdateReserveEmergencyMode"),
|
|
1492
|
+
borsh.struct([], "UpdateRewardsAmountPerAccrualUnit"),
|
|
1493
|
+
borsh.struct([], "UpdateReservePermissionedOps"),
|
|
1494
|
+
borsh.struct([], "UpdateInterestRateBasis"),
|
|
1182
1495
|
]);
|
|
1183
1496
|
if (property !== undefined) {
|
|
1184
1497
|
return ret.replicate(property);
|