@kamino-finance/klend-sdk 2.10.6
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/README.md +85 -0
- package/dist/classes/action.d.ts +154 -0
- package/dist/classes/action.js +1505 -0
- package/dist/classes/action.js.map +1 -0
- package/dist/classes/curve.d.ts +15 -0
- package/dist/classes/curve.js +32 -0
- package/dist/classes/curve.js.map +1 -0
- package/dist/classes/fraction.d.ts +23 -0
- package/dist/classes/fraction.js +60 -0
- package/dist/classes/fraction.js.map +1 -0
- package/dist/classes/index.d.ts +8 -0
- package/dist/classes/index.js +25 -0
- package/dist/classes/index.js.map +1 -0
- package/dist/classes/jupiterPerps.d.ts +2 -0
- package/dist/classes/jupiterPerps.js +25 -0
- package/dist/classes/jupiterPerps.js.map +1 -0
- package/dist/classes/market.d.ts +140 -0
- package/dist/classes/market.js +901 -0
- package/dist/classes/market.js.map +1 -0
- package/dist/classes/obligation.d.ts +170 -0
- package/dist/classes/obligation.js +610 -0
- package/dist/classes/obligation.js.map +1 -0
- package/dist/classes/reserve.d.ts +161 -0
- package/dist/classes/reserve.js +474 -0
- package/dist/classes/reserve.js.map +1 -0
- package/dist/classes/shared.d.ts +41 -0
- package/dist/classes/shared.js +10 -0
- package/dist/classes/shared.js.map +1 -0
- package/dist/classes/utils.d.ts +40 -0
- package/dist/classes/utils.js +129 -0
- package/dist/classes/utils.js.map +1 -0
- package/dist/idl.json +4102 -0
- package/dist/idl_codegen/accounts/LendingMarket.d.ts +153 -0
- package/dist/idl_codegen/accounts/LendingMarket.js +204 -0
- package/dist/idl_codegen/accounts/LendingMarket.js.map +1 -0
- package/dist/idl_codegen/accounts/Obligation.d.ts +139 -0
- package/dist/idl_codegen/accounts/Obligation.js +193 -0
- package/dist/idl_codegen/accounts/Obligation.js.map +1 -0
- package/dist/idl_codegen/accounts/ReferrerState.d.ts +22 -0
- package/dist/idl_codegen/accounts/ReferrerState.js +101 -0
- package/dist/idl_codegen/accounts/ReferrerState.js.map +1 -0
- package/dist/idl_codegen/accounts/ReferrerTokenState.d.ts +51 -0
- package/dist/idl_codegen/accounts/ReferrerTokenState.js +126 -0
- package/dist/idl_codegen/accounts/ReferrerTokenState.js.map +1 -0
- package/dist/idl_codegen/accounts/Reserve.d.ts +72 -0
- package/dist/idl_codegen/accounts/Reserve.js +156 -0
- package/dist/idl_codegen/accounts/Reserve.js.map +1 -0
- package/dist/idl_codegen/accounts/ShortUrl.d.ts +22 -0
- package/dist/idl_codegen/accounts/ShortUrl.js +101 -0
- package/dist/idl_codegen/accounts/ShortUrl.js.map +1 -0
- package/dist/idl_codegen/accounts/UserMetadata.d.ts +48 -0
- package/dist/idl_codegen/accounts/UserMetadata.js +126 -0
- package/dist/idl_codegen/accounts/UserMetadata.js.map +1 -0
- package/dist/idl_codegen/accounts/UserState.d.ts +143 -0
- package/dist/idl_codegen/accounts/UserState.js +180 -0
- package/dist/idl_codegen/accounts/UserState.js.map +1 -0
- package/dist/idl_codegen/accounts/index.d.ts +16 -0
- package/dist/idl_codegen/accounts/index.js +20 -0
- package/dist/idl_codegen/accounts/index.js.map +1 -0
- package/dist/idl_codegen/errors/anchor.d.ts +434 -0
- package/dist/idl_codegen/errors/anchor.js +713 -0
- package/dist/idl_codegen/errors/anchor.js.map +1 -0
- package/dist/idl_codegen/errors/custom.d.ts +730 -0
- package/dist/idl_codegen/errors/custom.js +1194 -0
- package/dist/idl_codegen/errors/custom.js.map +1 -0
- package/dist/idl_codegen/errors/index.d.ts +5 -0
- package/dist/idl_codegen/errors/index.js +71 -0
- package/dist/idl_codegen/errors/index.js.map +1 -0
- package/dist/idl_codegen/instructions/borrowObligationLiquidity.d.ts +20 -0
- package/dist/idl_codegen/instructions/borrowObligationLiquidity.js +75 -0
- package/dist/idl_codegen/instructions/borrowObligationLiquidity.js.map +1 -0
- package/dist/idl_codegen/instructions/deleteReferrerStateAndShortUrl.d.ts +9 -0
- package/dist/idl_codegen/instructions/deleteReferrerStateAndShortUrl.js +20 -0
- package/dist/idl_codegen/instructions/deleteReferrerStateAndShortUrl.js.map +1 -0
- package/dist/idl_codegen/instructions/depositObligationCollateral.d.ts +17 -0
- package/dist/idl_codegen/instructions/depositObligationCollateral.js +64 -0
- package/dist/idl_codegen/instructions/depositObligationCollateral.js.map +1 -0
- package/dist/idl_codegen/instructions/depositReserveLiquidity.d.ts +19 -0
- package/dist/idl_codegen/instructions/depositReserveLiquidity.js +74 -0
- package/dist/idl_codegen/instructions/depositReserveLiquidity.js.map +1 -0
- package/dist/idl_codegen/instructions/depositReserveLiquidityAndObligationCollateral.d.ts +21 -0
- package/dist/idl_codegen/instructions/depositReserveLiquidityAndObligationCollateral.js +80 -0
- package/dist/idl_codegen/instructions/depositReserveLiquidityAndObligationCollateral.js.map +1 -0
- package/dist/idl_codegen/instructions/flashBorrowReserveLiquidity.d.ts +20 -0
- package/dist/idl_codegen/instructions/flashBorrowReserveLiquidity.js +75 -0
- package/dist/idl_codegen/instructions/flashBorrowReserveLiquidity.js.map +1 -0
- package/dist/idl_codegen/instructions/flashRepayReserveLiquidity.d.ts +21 -0
- package/dist/idl_codegen/instructions/flashRepayReserveLiquidity.js +75 -0
- package/dist/idl_codegen/instructions/flashRepayReserveLiquidity.js.map +1 -0
- package/dist/idl_codegen/instructions/idlMissingTypes.d.ts +18 -0
- package/dist/idl_codegen/instructions/idlMissingTypes.js +62 -0
- package/dist/idl_codegen/instructions/idlMissingTypes.js.map +1 -0
- package/dist/idl_codegen/instructions/index.d.ts +66 -0
- package/dist/idl_codegen/instructions/index.js +70 -0
- package/dist/idl_codegen/instructions/index.js.map +1 -0
- package/dist/idl_codegen/instructions/initFarmsForReserve.d.ts +19 -0
- package/dist/idl_codegen/instructions/initFarmsForReserve.js +63 -0
- package/dist/idl_codegen/instructions/initFarmsForReserve.js.map +1 -0
- package/dist/idl_codegen/instructions/initLendingMarket.d.ts +13 -0
- package/dist/idl_codegen/instructions/initLendingMarket.js +55 -0
- package/dist/idl_codegen/instructions/initLendingMarket.js.map +1 -0
- package/dist/idl_codegen/instructions/initObligation.d.ts +19 -0
- package/dist/idl_codegen/instructions/initObligation.js +55 -0
- package/dist/idl_codegen/instructions/initObligation.js.map +1 -0
- package/dist/idl_codegen/instructions/initObligationFarmsForReserve.d.ts +20 -0
- package/dist/idl_codegen/instructions/initObligationFarmsForReserve.js +60 -0
- package/dist/idl_codegen/instructions/initObligationFarmsForReserve.js.map +1 -0
- package/dist/idl_codegen/instructions/initReferrerStateAndShortUrl.d.ts +14 -0
- package/dist/idl_codegen/instructions/initReferrerStateAndShortUrl.js +54 -0
- package/dist/idl_codegen/instructions/initReferrerStateAndShortUrl.js.map +1 -0
- package/dist/idl_codegen/instructions/initReferrerTokenState.d.ts +14 -0
- package/dist/idl_codegen/instructions/initReferrerTokenState.js +50 -0
- package/dist/idl_codegen/instructions/initReferrerTokenState.js.map +1 -0
- package/dist/idl_codegen/instructions/initReserve.d.ts +16 -0
- package/dist/idl_codegen/instructions/initReserve.js +47 -0
- package/dist/idl_codegen/instructions/initReserve.js.map +1 -0
- package/dist/idl_codegen/instructions/initUserMetadata.d.ts +14 -0
- package/dist/idl_codegen/instructions/initUserMetadata.js +54 -0
- package/dist/idl_codegen/instructions/initUserMetadata.js.map +1 -0
- package/dist/idl_codegen/instructions/liquidateObligationAndRedeemReserveCollateral.d.ts +27 -0
- package/dist/idl_codegen/instructions/liquidateObligationAndRedeemReserveCollateral.js +102 -0
- package/dist/idl_codegen/instructions/liquidateObligationAndRedeemReserveCollateral.js.map +1 -0
- package/dist/idl_codegen/instructions/redeemFees.d.ts +10 -0
- package/dist/idl_codegen/instructions/redeemFees.js +33 -0
- package/dist/idl_codegen/instructions/redeemFees.js.map +1 -0
- package/dist/idl_codegen/instructions/redeemReserveCollateral.d.ts +19 -0
- package/dist/idl_codegen/instructions/redeemReserveCollateral.js +78 -0
- package/dist/idl_codegen/instructions/redeemReserveCollateral.js.map +1 -0
- package/dist/idl_codegen/instructions/refreshObligation.d.ts +6 -0
- package/dist/idl_codegen/instructions/refreshObligation.js +17 -0
- package/dist/idl_codegen/instructions/refreshObligation.js.map +1 -0
- package/dist/idl_codegen/instructions/refreshObligationFarmsForReserve.d.ts +19 -0
- package/dist/idl_codegen/instructions/refreshObligationFarmsForReserve.js +63 -0
- package/dist/idl_codegen/instructions/refreshObligationFarmsForReserve.js.map +1 -0
- package/dist/idl_codegen/instructions/refreshReserve.d.ts +10 -0
- package/dist/idl_codegen/instructions/refreshReserve.js +29 -0
- package/dist/idl_codegen/instructions/refreshReserve.js.map +1 -0
- package/dist/idl_codegen/instructions/repayObligationLiquidity.d.ts +17 -0
- package/dist/idl_codegen/instructions/repayObligationLiquidity.js +60 -0
- package/dist/idl_codegen/instructions/repayObligationLiquidity.js.map +1 -0
- package/dist/idl_codegen/instructions/requestElevationGroup.d.ts +11 -0
- package/dist/idl_codegen/instructions/requestElevationGroup.js +47 -0
- package/dist/idl_codegen/instructions/requestElevationGroup.js.map +1 -0
- package/dist/idl_codegen/instructions/socializeLoss.d.ts +14 -0
- package/dist/idl_codegen/instructions/socializeLoss.js +53 -0
- package/dist/idl_codegen/instructions/socializeLoss.js.map +1 -0
- package/dist/idl_codegen/instructions/updateEntireReserveConfig.d.ts +13 -0
- package/dist/idl_codegen/instructions/updateEntireReserveConfig.js +51 -0
- package/dist/idl_codegen/instructions/updateEntireReserveConfig.js.map +1 -0
- package/dist/idl_codegen/instructions/updateLendingMarket.d.ts +12 -0
- package/dist/idl_codegen/instructions/updateLendingMarket.js +50 -0
- package/dist/idl_codegen/instructions/updateLendingMarket.js.map +1 -0
- package/dist/idl_codegen/instructions/updateLendingMarketOwner.d.ts +6 -0
- package/dist/idl_codegen/instructions/updateLendingMarketOwner.js +21 -0
- package/dist/idl_codegen/instructions/updateLendingMarketOwner.js.map +1 -0
- package/dist/idl_codegen/instructions/updateReserveConfig.d.ts +13 -0
- package/dist/idl_codegen/instructions/updateReserveConfig.js +51 -0
- package/dist/idl_codegen/instructions/updateReserveConfig.js.map +1 -0
- package/dist/idl_codegen/instructions/updateSingleReserveConfig.d.ts +13 -0
- package/dist/idl_codegen/instructions/updateSingleReserveConfig.js +51 -0
- package/dist/idl_codegen/instructions/updateSingleReserveConfig.js.map +1 -0
- package/dist/idl_codegen/instructions/withdrawObligationCollateral.d.ts +18 -0
- package/dist/idl_codegen/instructions/withdrawObligationCollateral.js +69 -0
- package/dist/idl_codegen/instructions/withdrawObligationCollateral.js.map +1 -0
- package/dist/idl_codegen/instructions/withdrawObligationCollateralAndRedeemReserveCollateral.d.ts +21 -0
- package/dist/idl_codegen/instructions/withdrawObligationCollateralAndRedeemReserveCollateral.js +84 -0
- package/dist/idl_codegen/instructions/withdrawObligationCollateralAndRedeemReserveCollateral.js.map +1 -0
- package/dist/idl_codegen/instructions/withdrawProtocolFee.d.ts +16 -0
- package/dist/idl_codegen/instructions/withdrawProtocolFee.js +59 -0
- package/dist/idl_codegen/instructions/withdrawProtocolFee.js.map +1 -0
- package/dist/idl_codegen/instructions/withdrawReferrerFees.d.ts +12 -0
- package/dist/idl_codegen/instructions/withdrawReferrerFees.js +35 -0
- package/dist/idl_codegen/instructions/withdrawReferrerFees.js.map +1 -0
- package/dist/idl_codegen/programId.d.ts +4 -0
- package/dist/idl_codegen/programId.js +13 -0
- package/dist/idl_codegen/programId.js.map +1 -0
- package/dist/idl_codegen/types/AssetTier.d.ts +44 -0
- package/dist/idl_codegen/types/AssetTier.js +128 -0
- package/dist/idl_codegen/types/AssetTier.js.map +1 -0
- package/dist/idl_codegen/types/BigFractionBytes.d.ts +27 -0
- package/dist/idl_codegen/types/BigFractionBytes.js +73 -0
- package/dist/idl_codegen/types/BigFractionBytes.js.map +1 -0
- package/dist/idl_codegen/types/BorrowRateCurve.d.ts +27 -0
- package/dist/idl_codegen/types/BorrowRateCurve.js +62 -0
- package/dist/idl_codegen/types/BorrowRateCurve.js.map +1 -0
- package/dist/idl_codegen/types/CurvePoint.d.ts +26 -0
- package/dist/idl_codegen/types/CurvePoint.js +66 -0
- package/dist/idl_codegen/types/CurvePoint.js.map +1 -0
- package/dist/idl_codegen/types/ElevationGroup.d.ts +52 -0
- package/dist/idl_codegen/types/ElevationGroup.js +103 -0
- package/dist/idl_codegen/types/ElevationGroup.js.map +1 -0
- package/dist/idl_codegen/types/FeeCalculation.d.ts +31 -0
- package/dist/idl_codegen/types/FeeCalculation.js +102 -0
- package/dist/idl_codegen/types/FeeCalculation.js.map +1 -0
- package/dist/idl_codegen/types/InitObligationArgs.d.ts +26 -0
- package/dist/idl_codegen/types/InitObligationArgs.js +66 -0
- package/dist/idl_codegen/types/InitObligationArgs.js.map +1 -0
- package/dist/idl_codegen/types/LastUpdate.d.ts +47 -0
- package/dist/idl_codegen/types/LastUpdate.js +86 -0
- package/dist/idl_codegen/types/LastUpdate.js.map +1 -0
- package/dist/idl_codegen/types/ObligationCollateral.d.ts +48 -0
- package/dist/idl_codegen/types/ObligationCollateral.js +87 -0
- package/dist/idl_codegen/types/ObligationCollateral.js.map +1 -0
- package/dist/idl_codegen/types/ObligationLiquidity.d.ts +75 -0
- package/dist/idl_codegen/types/ObligationLiquidity.js +107 -0
- package/dist/idl_codegen/types/ObligationLiquidity.js.map +1 -0
- package/dist/idl_codegen/types/PriceHeuristic.d.ts +41 -0
- package/dist/idl_codegen/types/PriceHeuristic.js +75 -0
- package/dist/idl_codegen/types/PriceHeuristic.js.map +1 -0
- package/dist/idl_codegen/types/PythConfiguration.d.ts +25 -0
- package/dist/idl_codegen/types/PythConfiguration.js +62 -0
- package/dist/idl_codegen/types/PythConfiguration.js.map +1 -0
- package/dist/idl_codegen/types/ReserveCollateral.d.ts +53 -0
- package/dist/idl_codegen/types/ReserveCollateral.js +93 -0
- package/dist/idl_codegen/types/ReserveCollateral.js.map +1 -0
- package/dist/idl_codegen/types/ReserveConfig.d.ts +304 -0
- package/dist/idl_codegen/types/ReserveConfig.js +209 -0
- package/dist/idl_codegen/types/ReserveConfig.js.map +1 -0
- package/dist/idl_codegen/types/ReserveFarmKind.d.ts +31 -0
- package/dist/idl_codegen/types/ReserveFarmKind.js +102 -0
- package/dist/idl_codegen/types/ReserveFarmKind.js.map +1 -0
- package/dist/idl_codegen/types/ReserveFees.d.ts +78 -0
- package/dist/idl_codegen/types/ReserveFees.js +86 -0
- package/dist/idl_codegen/types/ReserveFees.js.map +1 -0
- package/dist/idl_codegen/types/ReserveLiquidity.d.ts +173 -0
- package/dist/idl_codegen/types/ReserveLiquidity.js +166 -0
- package/dist/idl_codegen/types/ReserveLiquidity.js.map +1 -0
- package/dist/idl_codegen/types/ReserveStatus.d.ts +44 -0
- package/dist/idl_codegen/types/ReserveStatus.js +128 -0
- package/dist/idl_codegen/types/ReserveStatus.js.map +1 -0
- package/dist/idl_codegen/types/ScopeConfiguration.d.ts +41 -0
- package/dist/idl_codegen/types/ScopeConfiguration.js +76 -0
- package/dist/idl_codegen/types/ScopeConfiguration.js.map +1 -0
- package/dist/idl_codegen/types/SwitchboardConfiguration.d.ts +30 -0
- package/dist/idl_codegen/types/SwitchboardConfiguration.js +67 -0
- package/dist/idl_codegen/types/SwitchboardConfiguration.js.map +1 -0
- package/dist/idl_codegen/types/TokenInfo.d.ts +109 -0
- package/dist/idl_codegen/types/TokenInfo.js +116 -0
- package/dist/idl_codegen/types/TokenInfo.js.map +1 -0
- package/dist/idl_codegen/types/UpdateConfigMode.d.ts +538 -0
- package/dist/idl_codegen/types/UpdateConfigMode.js +1116 -0
- package/dist/idl_codegen/types/UpdateConfigMode.js.map +1 -0
- package/dist/idl_codegen/types/UpdateLendingMarketConfigValue.d.ts +155 -0
- package/dist/idl_codegen/types/UpdateLendingMarketConfigValue.js +273 -0
- package/dist/idl_codegen/types/UpdateLendingMarketConfigValue.js.map +1 -0
- package/dist/idl_codegen/types/UpdateLendingMarketMode.d.ts +200 -0
- package/dist/idl_codegen/types/UpdateLendingMarketMode.js +440 -0
- package/dist/idl_codegen/types/UpdateLendingMarketMode.js.map +1 -0
- package/dist/idl_codegen/types/WithdrawalCaps.d.ts +38 -0
- package/dist/idl_codegen/types/WithdrawalCaps.js +86 -0
- package/dist/idl_codegen/types/WithdrawalCaps.js.map +1 -0
- package/dist/idl_codegen/types/index.d.ts +65 -0
- package/dist/idl_codegen/types/index.js +77 -0
- package/dist/idl_codegen/types/index.js.map +1 -0
- package/dist/idl_codegen/zero_padding/ObligationZP.d.ts +53 -0
- package/dist/idl_codegen/zero_padding/ObligationZP.js +140 -0
- package/dist/idl_codegen/zero_padding/ObligationZP.js.map +1 -0
- package/dist/idl_codegen/zero_padding/index.d.ts +1 -0
- package/dist/idl_codegen/zero_padding/index.js +6 -0
- package/dist/idl_codegen/zero_padding/index.js.map +1 -0
- package/dist/idl_codegen_jupiter_perps/accounts/Pool.d.ts +48 -0
- package/dist/idl_codegen_jupiter_perps/accounts/Pool.js +144 -0
- package/dist/idl_codegen_jupiter_perps/accounts/Pool.js.map +1 -0
- package/dist/idl_codegen_jupiter_perps/accounts/index.d.ts +2 -0
- package/dist/idl_codegen_jupiter_perps/accounts/index.js +6 -0
- package/dist/idl_codegen_jupiter_perps/accounts/index.js.map +1 -0
- package/dist/idl_codegen_jupiter_perps/programId.d.ts +3 -0
- package/dist/idl_codegen_jupiter_perps/programId.js +9 -0
- package/dist/idl_codegen_jupiter_perps/programId.js.map +1 -0
- package/dist/idl_codegen_jupiter_perps/types/Fees.d.ts +62 -0
- package/dist/idl_codegen_jupiter_perps/types/Fees.js +115 -0
- package/dist/idl_codegen_jupiter_perps/types/Fees.js.map +1 -0
- package/dist/idl_codegen_jupiter_perps/types/Limit.d.ts +32 -0
- package/dist/idl_codegen_jupiter_perps/types/Limit.js +75 -0
- package/dist/idl_codegen_jupiter_perps/types/Limit.js.map +1 -0
- package/dist/idl_codegen_jupiter_perps/types/PoolApr.d.ts +32 -0
- package/dist/idl_codegen_jupiter_perps/types/PoolApr.js +75 -0
- package/dist/idl_codegen_jupiter_perps/types/PoolApr.js.map +1 -0
- package/dist/idl_codegen_jupiter_perps/types/index.d.ts +6 -0
- package/dist/idl_codegen_jupiter_perps/types/index.js +10 -0
- package/dist/idl_codegen_jupiter_perps/types/index.js.map +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +18 -0
- package/dist/index.js.map +1 -0
- package/dist/lending_operations/index.d.ts +2 -0
- package/dist/lending_operations/index.js +19 -0
- package/dist/lending_operations/index.js.map +1 -0
- package/dist/lending_operations/repay_with_collateral_calcs.d.ts +5 -0
- package/dist/lending_operations/repay_with_collateral_calcs.js +26 -0
- package/dist/lending_operations/repay_with_collateral_calcs.js.map +1 -0
- package/dist/lending_operations/repay_with_collateral_operations.d.ts +47 -0
- package/dist/lending_operations/repay_with_collateral_operations.js +163 -0
- package/dist/lending_operations/repay_with_collateral_operations.js.map +1 -0
- package/dist/leverage/calcs.d.ts +132 -0
- package/dist/leverage/calcs.js +291 -0
- package/dist/leverage/calcs.js.map +1 -0
- package/dist/leverage/index.d.ts +4 -0
- package/dist/leverage/index.js +21 -0
- package/dist/leverage/index.js.map +1 -0
- package/dist/leverage/instructions.d.ts +43 -0
- package/dist/leverage/instructions.js +103 -0
- package/dist/leverage/instructions.js.map +1 -0
- package/dist/leverage/operations.d.ts +231 -0
- package/dist/leverage/operations.js +1058 -0
- package/dist/leverage/operations.js.map +1 -0
- package/dist/leverage/utils.d.ts +22 -0
- package/dist/leverage/utils.js +144 -0
- package/dist/leverage/utils.js.map +1 -0
- package/dist/lib.d.ts +9 -0
- package/dist/lib.js +26 -0
- package/dist/lib.js.map +1 -0
- package/dist/referrals/index.d.ts +2 -0
- package/dist/referrals/index.js +19 -0
- package/dist/referrals/index.js.map +1 -0
- package/dist/referrals/instructions.d.ts +16 -0
- package/dist/referrals/instructions.js +76 -0
- package/dist/referrals/instructions.js.map +1 -0
- package/dist/referrals/operations.d.ts +97 -0
- package/dist/referrals/operations.js +258 -0
- package/dist/referrals/operations.js.map +1 -0
- package/dist/utils/ObligationType.d.ts +49 -0
- package/dist/utils/ObligationType.js +129 -0
- package/dist/utils/ObligationType.js.map +1 -0
- package/dist/utils/api.d.ts +6 -0
- package/dist/utils/api.js +61 -0
- package/dist/utils/api.js.map +1 -0
- package/dist/utils/ata.d.ts +25 -0
- package/dist/utils/ata.js +155 -0
- package/dist/utils/ata.js.map +1 -0
- package/dist/utils/constants.d.ts +48 -0
- package/dist/utils/constants.js +75 -0
- package/dist/utils/constants.js.map +1 -0
- package/dist/utils/idl.d.ts +2 -0
- package/dist/utils/idl.js +9 -0
- package/dist/utils/idl.js.map +1 -0
- package/dist/utils/index.d.ts +14 -0
- package/dist/utils/index.js +31 -0
- package/dist/utils/index.js.map +1 -0
- package/dist/utils/instruction.d.ts +22 -0
- package/dist/utils/instruction.js +202 -0
- package/dist/utils/instruction.js.map +1 -0
- package/dist/utils/kamino.d.ts +3 -0
- package/dist/utils/kamino.js +45 -0
- package/dist/utils/kamino.js.map +1 -0
- package/dist/utils/layout.d.ts +13 -0
- package/dist/utils/layout.js +123 -0
- package/dist/utils/layout.js.map +1 -0
- package/dist/utils/lookupTable.d.ts +5 -0
- package/dist/utils/lookupTable.js +57 -0
- package/dist/utils/lookupTable.js.map +1 -0
- package/dist/utils/oracle.d.ts +51 -0
- package/dist/utils/oracle.js +295 -0
- package/dist/utils/oracle.js.map +1 -0
- package/dist/utils/pubkey.d.ts +74 -0
- package/dist/utils/pubkey.js +229 -0
- package/dist/utils/pubkey.js.map +1 -0
- package/dist/utils/seeds.d.ts +122 -0
- package/dist/utils/seeds.js +153 -0
- package/dist/utils/seeds.js.map +1 -0
- package/dist/utils/slots.d.ts +18 -0
- package/dist/utils/slots.js +32 -0
- package/dist/utils/slots.js.map +1 -0
- package/dist/utils/syncNative.d.ts +10 -0
- package/dist/utils/syncNative.js +46 -0
- package/dist/utils/syncNative.js.map +1 -0
- package/dist/utils/userMetadata.d.ts +15 -0
- package/dist/utils/userMetadata.js +259 -0
- package/dist/utils/userMetadata.js.map +1 -0
- package/package.json +94 -0
|
@@ -0,0 +1,538 @@
|
|
|
1
|
+
import * as types from "../types";
|
|
2
|
+
import * as borsh from "@coral-xyz/borsh";
|
|
3
|
+
export interface UpdateLoanToValuePctJSON {
|
|
4
|
+
kind: "UpdateLoanToValuePct";
|
|
5
|
+
}
|
|
6
|
+
export declare class UpdateLoanToValuePct {
|
|
7
|
+
static readonly discriminator = 0;
|
|
8
|
+
static readonly kind = "UpdateLoanToValuePct";
|
|
9
|
+
readonly discriminator = 0;
|
|
10
|
+
readonly kind = "UpdateLoanToValuePct";
|
|
11
|
+
toJSON(): UpdateLoanToValuePctJSON;
|
|
12
|
+
toEncodable(): {
|
|
13
|
+
UpdateLoanToValuePct: {};
|
|
14
|
+
};
|
|
15
|
+
}
|
|
16
|
+
export interface UpdateMaxLiquidationBonusBpsJSON {
|
|
17
|
+
kind: "UpdateMaxLiquidationBonusBps";
|
|
18
|
+
}
|
|
19
|
+
export declare class UpdateMaxLiquidationBonusBps {
|
|
20
|
+
static readonly discriminator = 1;
|
|
21
|
+
static readonly kind = "UpdateMaxLiquidationBonusBps";
|
|
22
|
+
readonly discriminator = 1;
|
|
23
|
+
readonly kind = "UpdateMaxLiquidationBonusBps";
|
|
24
|
+
toJSON(): UpdateMaxLiquidationBonusBpsJSON;
|
|
25
|
+
toEncodable(): {
|
|
26
|
+
UpdateMaxLiquidationBonusBps: {};
|
|
27
|
+
};
|
|
28
|
+
}
|
|
29
|
+
export interface UpdateLiquidationThresholdPctJSON {
|
|
30
|
+
kind: "UpdateLiquidationThresholdPct";
|
|
31
|
+
}
|
|
32
|
+
export declare class UpdateLiquidationThresholdPct {
|
|
33
|
+
static readonly discriminator = 2;
|
|
34
|
+
static readonly kind = "UpdateLiquidationThresholdPct";
|
|
35
|
+
readonly discriminator = 2;
|
|
36
|
+
readonly kind = "UpdateLiquidationThresholdPct";
|
|
37
|
+
toJSON(): UpdateLiquidationThresholdPctJSON;
|
|
38
|
+
toEncodable(): {
|
|
39
|
+
UpdateLiquidationThresholdPct: {};
|
|
40
|
+
};
|
|
41
|
+
}
|
|
42
|
+
export interface UpdateProtocolLiquidationFeeJSON {
|
|
43
|
+
kind: "UpdateProtocolLiquidationFee";
|
|
44
|
+
}
|
|
45
|
+
export declare class UpdateProtocolLiquidationFee {
|
|
46
|
+
static readonly discriminator = 3;
|
|
47
|
+
static readonly kind = "UpdateProtocolLiquidationFee";
|
|
48
|
+
readonly discriminator = 3;
|
|
49
|
+
readonly kind = "UpdateProtocolLiquidationFee";
|
|
50
|
+
toJSON(): UpdateProtocolLiquidationFeeJSON;
|
|
51
|
+
toEncodable(): {
|
|
52
|
+
UpdateProtocolLiquidationFee: {};
|
|
53
|
+
};
|
|
54
|
+
}
|
|
55
|
+
export interface UpdateProtocolTakeRateJSON {
|
|
56
|
+
kind: "UpdateProtocolTakeRate";
|
|
57
|
+
}
|
|
58
|
+
export declare class UpdateProtocolTakeRate {
|
|
59
|
+
static readonly discriminator = 4;
|
|
60
|
+
static readonly kind = "UpdateProtocolTakeRate";
|
|
61
|
+
readonly discriminator = 4;
|
|
62
|
+
readonly kind = "UpdateProtocolTakeRate";
|
|
63
|
+
toJSON(): UpdateProtocolTakeRateJSON;
|
|
64
|
+
toEncodable(): {
|
|
65
|
+
UpdateProtocolTakeRate: {};
|
|
66
|
+
};
|
|
67
|
+
}
|
|
68
|
+
export interface UpdateFeesBorrowFeeJSON {
|
|
69
|
+
kind: "UpdateFeesBorrowFee";
|
|
70
|
+
}
|
|
71
|
+
export declare class UpdateFeesBorrowFee {
|
|
72
|
+
static readonly discriminator = 5;
|
|
73
|
+
static readonly kind = "UpdateFeesBorrowFee";
|
|
74
|
+
readonly discriminator = 5;
|
|
75
|
+
readonly kind = "UpdateFeesBorrowFee";
|
|
76
|
+
toJSON(): UpdateFeesBorrowFeeJSON;
|
|
77
|
+
toEncodable(): {
|
|
78
|
+
UpdateFeesBorrowFee: {};
|
|
79
|
+
};
|
|
80
|
+
}
|
|
81
|
+
export interface UpdateFeesFlashLoanFeeJSON {
|
|
82
|
+
kind: "UpdateFeesFlashLoanFee";
|
|
83
|
+
}
|
|
84
|
+
export declare class UpdateFeesFlashLoanFee {
|
|
85
|
+
static readonly discriminator = 6;
|
|
86
|
+
static readonly kind = "UpdateFeesFlashLoanFee";
|
|
87
|
+
readonly discriminator = 6;
|
|
88
|
+
readonly kind = "UpdateFeesFlashLoanFee";
|
|
89
|
+
toJSON(): UpdateFeesFlashLoanFeeJSON;
|
|
90
|
+
toEncodable(): {
|
|
91
|
+
UpdateFeesFlashLoanFee: {};
|
|
92
|
+
};
|
|
93
|
+
}
|
|
94
|
+
export interface UpdateFeesReferralFeeBpsJSON {
|
|
95
|
+
kind: "UpdateFeesReferralFeeBps";
|
|
96
|
+
}
|
|
97
|
+
export declare class UpdateFeesReferralFeeBps {
|
|
98
|
+
static readonly discriminator = 7;
|
|
99
|
+
static readonly kind = "UpdateFeesReferralFeeBps";
|
|
100
|
+
readonly discriminator = 7;
|
|
101
|
+
readonly kind = "UpdateFeesReferralFeeBps";
|
|
102
|
+
toJSON(): UpdateFeesReferralFeeBpsJSON;
|
|
103
|
+
toEncodable(): {
|
|
104
|
+
UpdateFeesReferralFeeBps: {};
|
|
105
|
+
};
|
|
106
|
+
}
|
|
107
|
+
export interface UpdateDepositLimitJSON {
|
|
108
|
+
kind: "UpdateDepositLimit";
|
|
109
|
+
}
|
|
110
|
+
export declare class UpdateDepositLimit {
|
|
111
|
+
static readonly discriminator = 8;
|
|
112
|
+
static readonly kind = "UpdateDepositLimit";
|
|
113
|
+
readonly discriminator = 8;
|
|
114
|
+
readonly kind = "UpdateDepositLimit";
|
|
115
|
+
toJSON(): UpdateDepositLimitJSON;
|
|
116
|
+
toEncodable(): {
|
|
117
|
+
UpdateDepositLimit: {};
|
|
118
|
+
};
|
|
119
|
+
}
|
|
120
|
+
export interface UpdateBorrowLimitJSON {
|
|
121
|
+
kind: "UpdateBorrowLimit";
|
|
122
|
+
}
|
|
123
|
+
export declare class UpdateBorrowLimit {
|
|
124
|
+
static readonly discriminator = 9;
|
|
125
|
+
static readonly kind = "UpdateBorrowLimit";
|
|
126
|
+
readonly discriminator = 9;
|
|
127
|
+
readonly kind = "UpdateBorrowLimit";
|
|
128
|
+
toJSON(): UpdateBorrowLimitJSON;
|
|
129
|
+
toEncodable(): {
|
|
130
|
+
UpdateBorrowLimit: {};
|
|
131
|
+
};
|
|
132
|
+
}
|
|
133
|
+
export interface UpdateTokenInfoLowerHeuristicJSON {
|
|
134
|
+
kind: "UpdateTokenInfoLowerHeuristic";
|
|
135
|
+
}
|
|
136
|
+
export declare class UpdateTokenInfoLowerHeuristic {
|
|
137
|
+
static readonly discriminator = 10;
|
|
138
|
+
static readonly kind = "UpdateTokenInfoLowerHeuristic";
|
|
139
|
+
readonly discriminator = 10;
|
|
140
|
+
readonly kind = "UpdateTokenInfoLowerHeuristic";
|
|
141
|
+
toJSON(): UpdateTokenInfoLowerHeuristicJSON;
|
|
142
|
+
toEncodable(): {
|
|
143
|
+
UpdateTokenInfoLowerHeuristic: {};
|
|
144
|
+
};
|
|
145
|
+
}
|
|
146
|
+
export interface UpdateTokenInfoUpperHeuristicJSON {
|
|
147
|
+
kind: "UpdateTokenInfoUpperHeuristic";
|
|
148
|
+
}
|
|
149
|
+
export declare class UpdateTokenInfoUpperHeuristic {
|
|
150
|
+
static readonly discriminator = 11;
|
|
151
|
+
static readonly kind = "UpdateTokenInfoUpperHeuristic";
|
|
152
|
+
readonly discriminator = 11;
|
|
153
|
+
readonly kind = "UpdateTokenInfoUpperHeuristic";
|
|
154
|
+
toJSON(): UpdateTokenInfoUpperHeuristicJSON;
|
|
155
|
+
toEncodable(): {
|
|
156
|
+
UpdateTokenInfoUpperHeuristic: {};
|
|
157
|
+
};
|
|
158
|
+
}
|
|
159
|
+
export interface UpdateTokenInfoExpHeuristicJSON {
|
|
160
|
+
kind: "UpdateTokenInfoExpHeuristic";
|
|
161
|
+
}
|
|
162
|
+
export declare class UpdateTokenInfoExpHeuristic {
|
|
163
|
+
static readonly discriminator = 12;
|
|
164
|
+
static readonly kind = "UpdateTokenInfoExpHeuristic";
|
|
165
|
+
readonly discriminator = 12;
|
|
166
|
+
readonly kind = "UpdateTokenInfoExpHeuristic";
|
|
167
|
+
toJSON(): UpdateTokenInfoExpHeuristicJSON;
|
|
168
|
+
toEncodable(): {
|
|
169
|
+
UpdateTokenInfoExpHeuristic: {};
|
|
170
|
+
};
|
|
171
|
+
}
|
|
172
|
+
export interface UpdateTokenInfoTwapDivergenceJSON {
|
|
173
|
+
kind: "UpdateTokenInfoTwapDivergence";
|
|
174
|
+
}
|
|
175
|
+
export declare class UpdateTokenInfoTwapDivergence {
|
|
176
|
+
static readonly discriminator = 13;
|
|
177
|
+
static readonly kind = "UpdateTokenInfoTwapDivergence";
|
|
178
|
+
readonly discriminator = 13;
|
|
179
|
+
readonly kind = "UpdateTokenInfoTwapDivergence";
|
|
180
|
+
toJSON(): UpdateTokenInfoTwapDivergenceJSON;
|
|
181
|
+
toEncodable(): {
|
|
182
|
+
UpdateTokenInfoTwapDivergence: {};
|
|
183
|
+
};
|
|
184
|
+
}
|
|
185
|
+
export interface UpdateTokenInfoScopeTwapJSON {
|
|
186
|
+
kind: "UpdateTokenInfoScopeTwap";
|
|
187
|
+
}
|
|
188
|
+
export declare class UpdateTokenInfoScopeTwap {
|
|
189
|
+
static readonly discriminator = 14;
|
|
190
|
+
static readonly kind = "UpdateTokenInfoScopeTwap";
|
|
191
|
+
readonly discriminator = 14;
|
|
192
|
+
readonly kind = "UpdateTokenInfoScopeTwap";
|
|
193
|
+
toJSON(): UpdateTokenInfoScopeTwapJSON;
|
|
194
|
+
toEncodable(): {
|
|
195
|
+
UpdateTokenInfoScopeTwap: {};
|
|
196
|
+
};
|
|
197
|
+
}
|
|
198
|
+
export interface UpdateTokenInfoScopeChainJSON {
|
|
199
|
+
kind: "UpdateTokenInfoScopeChain";
|
|
200
|
+
}
|
|
201
|
+
export declare class UpdateTokenInfoScopeChain {
|
|
202
|
+
static readonly discriminator = 15;
|
|
203
|
+
static readonly kind = "UpdateTokenInfoScopeChain";
|
|
204
|
+
readonly discriminator = 15;
|
|
205
|
+
readonly kind = "UpdateTokenInfoScopeChain";
|
|
206
|
+
toJSON(): UpdateTokenInfoScopeChainJSON;
|
|
207
|
+
toEncodable(): {
|
|
208
|
+
UpdateTokenInfoScopeChain: {};
|
|
209
|
+
};
|
|
210
|
+
}
|
|
211
|
+
export interface UpdateTokenInfoNameJSON {
|
|
212
|
+
kind: "UpdateTokenInfoName";
|
|
213
|
+
}
|
|
214
|
+
export declare class UpdateTokenInfoName {
|
|
215
|
+
static readonly discriminator = 16;
|
|
216
|
+
static readonly kind = "UpdateTokenInfoName";
|
|
217
|
+
readonly discriminator = 16;
|
|
218
|
+
readonly kind = "UpdateTokenInfoName";
|
|
219
|
+
toJSON(): UpdateTokenInfoNameJSON;
|
|
220
|
+
toEncodable(): {
|
|
221
|
+
UpdateTokenInfoName: {};
|
|
222
|
+
};
|
|
223
|
+
}
|
|
224
|
+
export interface UpdateTokenInfoPriceMaxAgeJSON {
|
|
225
|
+
kind: "UpdateTokenInfoPriceMaxAge";
|
|
226
|
+
}
|
|
227
|
+
export declare class UpdateTokenInfoPriceMaxAge {
|
|
228
|
+
static readonly discriminator = 17;
|
|
229
|
+
static readonly kind = "UpdateTokenInfoPriceMaxAge";
|
|
230
|
+
readonly discriminator = 17;
|
|
231
|
+
readonly kind = "UpdateTokenInfoPriceMaxAge";
|
|
232
|
+
toJSON(): UpdateTokenInfoPriceMaxAgeJSON;
|
|
233
|
+
toEncodable(): {
|
|
234
|
+
UpdateTokenInfoPriceMaxAge: {};
|
|
235
|
+
};
|
|
236
|
+
}
|
|
237
|
+
export interface UpdateTokenInfoTwapMaxAgeJSON {
|
|
238
|
+
kind: "UpdateTokenInfoTwapMaxAge";
|
|
239
|
+
}
|
|
240
|
+
export declare class UpdateTokenInfoTwapMaxAge {
|
|
241
|
+
static readonly discriminator = 18;
|
|
242
|
+
static readonly kind = "UpdateTokenInfoTwapMaxAge";
|
|
243
|
+
readonly discriminator = 18;
|
|
244
|
+
readonly kind = "UpdateTokenInfoTwapMaxAge";
|
|
245
|
+
toJSON(): UpdateTokenInfoTwapMaxAgeJSON;
|
|
246
|
+
toEncodable(): {
|
|
247
|
+
UpdateTokenInfoTwapMaxAge: {};
|
|
248
|
+
};
|
|
249
|
+
}
|
|
250
|
+
export interface UpdateScopePriceFeedJSON {
|
|
251
|
+
kind: "UpdateScopePriceFeed";
|
|
252
|
+
}
|
|
253
|
+
export declare class UpdateScopePriceFeed {
|
|
254
|
+
static readonly discriminator = 19;
|
|
255
|
+
static readonly kind = "UpdateScopePriceFeed";
|
|
256
|
+
readonly discriminator = 19;
|
|
257
|
+
readonly kind = "UpdateScopePriceFeed";
|
|
258
|
+
toJSON(): UpdateScopePriceFeedJSON;
|
|
259
|
+
toEncodable(): {
|
|
260
|
+
UpdateScopePriceFeed: {};
|
|
261
|
+
};
|
|
262
|
+
}
|
|
263
|
+
export interface UpdatePythPriceJSON {
|
|
264
|
+
kind: "UpdatePythPrice";
|
|
265
|
+
}
|
|
266
|
+
export declare class UpdatePythPrice {
|
|
267
|
+
static readonly discriminator = 20;
|
|
268
|
+
static readonly kind = "UpdatePythPrice";
|
|
269
|
+
readonly discriminator = 20;
|
|
270
|
+
readonly kind = "UpdatePythPrice";
|
|
271
|
+
toJSON(): UpdatePythPriceJSON;
|
|
272
|
+
toEncodable(): {
|
|
273
|
+
UpdatePythPrice: {};
|
|
274
|
+
};
|
|
275
|
+
}
|
|
276
|
+
export interface UpdateSwitchboardFeedJSON {
|
|
277
|
+
kind: "UpdateSwitchboardFeed";
|
|
278
|
+
}
|
|
279
|
+
export declare class UpdateSwitchboardFeed {
|
|
280
|
+
static readonly discriminator = 21;
|
|
281
|
+
static readonly kind = "UpdateSwitchboardFeed";
|
|
282
|
+
readonly discriminator = 21;
|
|
283
|
+
readonly kind = "UpdateSwitchboardFeed";
|
|
284
|
+
toJSON(): UpdateSwitchboardFeedJSON;
|
|
285
|
+
toEncodable(): {
|
|
286
|
+
UpdateSwitchboardFeed: {};
|
|
287
|
+
};
|
|
288
|
+
}
|
|
289
|
+
export interface UpdateSwitchboardTwapFeedJSON {
|
|
290
|
+
kind: "UpdateSwitchboardTwapFeed";
|
|
291
|
+
}
|
|
292
|
+
export declare class UpdateSwitchboardTwapFeed {
|
|
293
|
+
static readonly discriminator = 22;
|
|
294
|
+
static readonly kind = "UpdateSwitchboardTwapFeed";
|
|
295
|
+
readonly discriminator = 22;
|
|
296
|
+
readonly kind = "UpdateSwitchboardTwapFeed";
|
|
297
|
+
toJSON(): UpdateSwitchboardTwapFeedJSON;
|
|
298
|
+
toEncodable(): {
|
|
299
|
+
UpdateSwitchboardTwapFeed: {};
|
|
300
|
+
};
|
|
301
|
+
}
|
|
302
|
+
export interface UpdateBorrowRateCurveJSON {
|
|
303
|
+
kind: "UpdateBorrowRateCurve";
|
|
304
|
+
}
|
|
305
|
+
export declare class UpdateBorrowRateCurve {
|
|
306
|
+
static readonly discriminator = 23;
|
|
307
|
+
static readonly kind = "UpdateBorrowRateCurve";
|
|
308
|
+
readonly discriminator = 23;
|
|
309
|
+
readonly kind = "UpdateBorrowRateCurve";
|
|
310
|
+
toJSON(): UpdateBorrowRateCurveJSON;
|
|
311
|
+
toEncodable(): {
|
|
312
|
+
UpdateBorrowRateCurve: {};
|
|
313
|
+
};
|
|
314
|
+
}
|
|
315
|
+
export interface UpdateEntireReserveConfigJSON {
|
|
316
|
+
kind: "UpdateEntireReserveConfig";
|
|
317
|
+
}
|
|
318
|
+
export declare class UpdateEntireReserveConfig {
|
|
319
|
+
static readonly discriminator = 24;
|
|
320
|
+
static readonly kind = "UpdateEntireReserveConfig";
|
|
321
|
+
readonly discriminator = 24;
|
|
322
|
+
readonly kind = "UpdateEntireReserveConfig";
|
|
323
|
+
toJSON(): UpdateEntireReserveConfigJSON;
|
|
324
|
+
toEncodable(): {
|
|
325
|
+
UpdateEntireReserveConfig: {};
|
|
326
|
+
};
|
|
327
|
+
}
|
|
328
|
+
export interface UpdateDebtWithdrawalCapJSON {
|
|
329
|
+
kind: "UpdateDebtWithdrawalCap";
|
|
330
|
+
}
|
|
331
|
+
export declare class UpdateDebtWithdrawalCap {
|
|
332
|
+
static readonly discriminator = 25;
|
|
333
|
+
static readonly kind = "UpdateDebtWithdrawalCap";
|
|
334
|
+
readonly discriminator = 25;
|
|
335
|
+
readonly kind = "UpdateDebtWithdrawalCap";
|
|
336
|
+
toJSON(): UpdateDebtWithdrawalCapJSON;
|
|
337
|
+
toEncodable(): {
|
|
338
|
+
UpdateDebtWithdrawalCap: {};
|
|
339
|
+
};
|
|
340
|
+
}
|
|
341
|
+
export interface UpdateDepositWithdrawalCapJSON {
|
|
342
|
+
kind: "UpdateDepositWithdrawalCap";
|
|
343
|
+
}
|
|
344
|
+
export declare class UpdateDepositWithdrawalCap {
|
|
345
|
+
static readonly discriminator = 26;
|
|
346
|
+
static readonly kind = "UpdateDepositWithdrawalCap";
|
|
347
|
+
readonly discriminator = 26;
|
|
348
|
+
readonly kind = "UpdateDepositWithdrawalCap";
|
|
349
|
+
toJSON(): UpdateDepositWithdrawalCapJSON;
|
|
350
|
+
toEncodable(): {
|
|
351
|
+
UpdateDepositWithdrawalCap: {};
|
|
352
|
+
};
|
|
353
|
+
}
|
|
354
|
+
export interface UpdateDebtWithdrawalCapCurrentTotalJSON {
|
|
355
|
+
kind: "UpdateDebtWithdrawalCapCurrentTotal";
|
|
356
|
+
}
|
|
357
|
+
export declare class UpdateDebtWithdrawalCapCurrentTotal {
|
|
358
|
+
static readonly discriminator = 27;
|
|
359
|
+
static readonly kind = "UpdateDebtWithdrawalCapCurrentTotal";
|
|
360
|
+
readonly discriminator = 27;
|
|
361
|
+
readonly kind = "UpdateDebtWithdrawalCapCurrentTotal";
|
|
362
|
+
toJSON(): UpdateDebtWithdrawalCapCurrentTotalJSON;
|
|
363
|
+
toEncodable(): {
|
|
364
|
+
UpdateDebtWithdrawalCapCurrentTotal: {};
|
|
365
|
+
};
|
|
366
|
+
}
|
|
367
|
+
export interface UpdateDepositWithdrawalCapCurrentTotalJSON {
|
|
368
|
+
kind: "UpdateDepositWithdrawalCapCurrentTotal";
|
|
369
|
+
}
|
|
370
|
+
export declare class UpdateDepositWithdrawalCapCurrentTotal {
|
|
371
|
+
static readonly discriminator = 28;
|
|
372
|
+
static readonly kind = "UpdateDepositWithdrawalCapCurrentTotal";
|
|
373
|
+
readonly discriminator = 28;
|
|
374
|
+
readonly kind = "UpdateDepositWithdrawalCapCurrentTotal";
|
|
375
|
+
toJSON(): UpdateDepositWithdrawalCapCurrentTotalJSON;
|
|
376
|
+
toEncodable(): {
|
|
377
|
+
UpdateDepositWithdrawalCapCurrentTotal: {};
|
|
378
|
+
};
|
|
379
|
+
}
|
|
380
|
+
export interface UpdateBadDebtLiquidationBonusBpsJSON {
|
|
381
|
+
kind: "UpdateBadDebtLiquidationBonusBps";
|
|
382
|
+
}
|
|
383
|
+
export declare class UpdateBadDebtLiquidationBonusBps {
|
|
384
|
+
static readonly discriminator = 29;
|
|
385
|
+
static readonly kind = "UpdateBadDebtLiquidationBonusBps";
|
|
386
|
+
readonly discriminator = 29;
|
|
387
|
+
readonly kind = "UpdateBadDebtLiquidationBonusBps";
|
|
388
|
+
toJSON(): UpdateBadDebtLiquidationBonusBpsJSON;
|
|
389
|
+
toEncodable(): {
|
|
390
|
+
UpdateBadDebtLiquidationBonusBps: {};
|
|
391
|
+
};
|
|
392
|
+
}
|
|
393
|
+
export interface UpdateMinLiquidationBonusBpsJSON {
|
|
394
|
+
kind: "UpdateMinLiquidationBonusBps";
|
|
395
|
+
}
|
|
396
|
+
export declare class UpdateMinLiquidationBonusBps {
|
|
397
|
+
static readonly discriminator = 30;
|
|
398
|
+
static readonly kind = "UpdateMinLiquidationBonusBps";
|
|
399
|
+
readonly discriminator = 30;
|
|
400
|
+
readonly kind = "UpdateMinLiquidationBonusBps";
|
|
401
|
+
toJSON(): UpdateMinLiquidationBonusBpsJSON;
|
|
402
|
+
toEncodable(): {
|
|
403
|
+
UpdateMinLiquidationBonusBps: {};
|
|
404
|
+
};
|
|
405
|
+
}
|
|
406
|
+
export interface DeleveragingMarginCallPeriodJSON {
|
|
407
|
+
kind: "DeleveragingMarginCallPeriod";
|
|
408
|
+
}
|
|
409
|
+
export declare class DeleveragingMarginCallPeriod {
|
|
410
|
+
static readonly discriminator = 31;
|
|
411
|
+
static readonly kind = "DeleveragingMarginCallPeriod";
|
|
412
|
+
readonly discriminator = 31;
|
|
413
|
+
readonly kind = "DeleveragingMarginCallPeriod";
|
|
414
|
+
toJSON(): DeleveragingMarginCallPeriodJSON;
|
|
415
|
+
toEncodable(): {
|
|
416
|
+
DeleveragingMarginCallPeriod: {};
|
|
417
|
+
};
|
|
418
|
+
}
|
|
419
|
+
export interface UpdateBorrowFactorJSON {
|
|
420
|
+
kind: "UpdateBorrowFactor";
|
|
421
|
+
}
|
|
422
|
+
export declare class UpdateBorrowFactor {
|
|
423
|
+
static readonly discriminator = 32;
|
|
424
|
+
static readonly kind = "UpdateBorrowFactor";
|
|
425
|
+
readonly discriminator = 32;
|
|
426
|
+
readonly kind = "UpdateBorrowFactor";
|
|
427
|
+
toJSON(): UpdateBorrowFactorJSON;
|
|
428
|
+
toEncodable(): {
|
|
429
|
+
UpdateBorrowFactor: {};
|
|
430
|
+
};
|
|
431
|
+
}
|
|
432
|
+
export interface UpdateAssetTierJSON {
|
|
433
|
+
kind: "UpdateAssetTier";
|
|
434
|
+
}
|
|
435
|
+
export declare class UpdateAssetTier {
|
|
436
|
+
static readonly discriminator = 33;
|
|
437
|
+
static readonly kind = "UpdateAssetTier";
|
|
438
|
+
readonly discriminator = 33;
|
|
439
|
+
readonly kind = "UpdateAssetTier";
|
|
440
|
+
toJSON(): UpdateAssetTierJSON;
|
|
441
|
+
toEncodable(): {
|
|
442
|
+
UpdateAssetTier: {};
|
|
443
|
+
};
|
|
444
|
+
}
|
|
445
|
+
export interface UpdateElevationGroupJSON {
|
|
446
|
+
kind: "UpdateElevationGroup";
|
|
447
|
+
}
|
|
448
|
+
export declare class UpdateElevationGroup {
|
|
449
|
+
static readonly discriminator = 34;
|
|
450
|
+
static readonly kind = "UpdateElevationGroup";
|
|
451
|
+
readonly discriminator = 34;
|
|
452
|
+
readonly kind = "UpdateElevationGroup";
|
|
453
|
+
toJSON(): UpdateElevationGroupJSON;
|
|
454
|
+
toEncodable(): {
|
|
455
|
+
UpdateElevationGroup: {};
|
|
456
|
+
};
|
|
457
|
+
}
|
|
458
|
+
export interface DeleveragingThresholdSlotsPerBpsJSON {
|
|
459
|
+
kind: "DeleveragingThresholdSlotsPerBps";
|
|
460
|
+
}
|
|
461
|
+
export declare class DeleveragingThresholdSlotsPerBps {
|
|
462
|
+
static readonly discriminator = 35;
|
|
463
|
+
static readonly kind = "DeleveragingThresholdSlotsPerBps";
|
|
464
|
+
readonly discriminator = 35;
|
|
465
|
+
readonly kind = "DeleveragingThresholdSlotsPerBps";
|
|
466
|
+
toJSON(): DeleveragingThresholdSlotsPerBpsJSON;
|
|
467
|
+
toEncodable(): {
|
|
468
|
+
DeleveragingThresholdSlotsPerBps: {};
|
|
469
|
+
};
|
|
470
|
+
}
|
|
471
|
+
export interface UpdateMultiplierSideBoostJSON {
|
|
472
|
+
kind: "UpdateMultiplierSideBoost";
|
|
473
|
+
}
|
|
474
|
+
export declare class UpdateMultiplierSideBoost {
|
|
475
|
+
static readonly discriminator = 36;
|
|
476
|
+
static readonly kind = "UpdateMultiplierSideBoost";
|
|
477
|
+
readonly discriminator = 36;
|
|
478
|
+
readonly kind = "UpdateMultiplierSideBoost";
|
|
479
|
+
toJSON(): UpdateMultiplierSideBoostJSON;
|
|
480
|
+
toEncodable(): {
|
|
481
|
+
UpdateMultiplierSideBoost: {};
|
|
482
|
+
};
|
|
483
|
+
}
|
|
484
|
+
export interface UpdateMultiplierTagBoostJSON {
|
|
485
|
+
kind: "UpdateMultiplierTagBoost";
|
|
486
|
+
}
|
|
487
|
+
export declare class UpdateMultiplierTagBoost {
|
|
488
|
+
static readonly discriminator = 37;
|
|
489
|
+
static readonly kind = "UpdateMultiplierTagBoost";
|
|
490
|
+
readonly discriminator = 37;
|
|
491
|
+
readonly kind = "UpdateMultiplierTagBoost";
|
|
492
|
+
toJSON(): UpdateMultiplierTagBoostJSON;
|
|
493
|
+
toEncodable(): {
|
|
494
|
+
UpdateMultiplierTagBoost: {};
|
|
495
|
+
};
|
|
496
|
+
}
|
|
497
|
+
export interface UpdateReserveStatusJSON {
|
|
498
|
+
kind: "UpdateReserveStatus";
|
|
499
|
+
}
|
|
500
|
+
export declare class UpdateReserveStatus {
|
|
501
|
+
static readonly discriminator = 38;
|
|
502
|
+
static readonly kind = "UpdateReserveStatus";
|
|
503
|
+
readonly discriminator = 38;
|
|
504
|
+
readonly kind = "UpdateReserveStatus";
|
|
505
|
+
toJSON(): UpdateReserveStatusJSON;
|
|
506
|
+
toEncodable(): {
|
|
507
|
+
UpdateReserveStatus: {};
|
|
508
|
+
};
|
|
509
|
+
}
|
|
510
|
+
export interface UpdateFarmCollateralJSON {
|
|
511
|
+
kind: "UpdateFarmCollateral";
|
|
512
|
+
}
|
|
513
|
+
export declare class UpdateFarmCollateral {
|
|
514
|
+
static readonly discriminator = 39;
|
|
515
|
+
static readonly kind = "UpdateFarmCollateral";
|
|
516
|
+
readonly discriminator = 39;
|
|
517
|
+
readonly kind = "UpdateFarmCollateral";
|
|
518
|
+
toJSON(): UpdateFarmCollateralJSON;
|
|
519
|
+
toEncodable(): {
|
|
520
|
+
UpdateFarmCollateral: {};
|
|
521
|
+
};
|
|
522
|
+
}
|
|
523
|
+
export interface UpdateFarmDebtJSON {
|
|
524
|
+
kind: "UpdateFarmDebt";
|
|
525
|
+
}
|
|
526
|
+
export declare class UpdateFarmDebt {
|
|
527
|
+
static readonly discriminator = 40;
|
|
528
|
+
static readonly kind = "UpdateFarmDebt";
|
|
529
|
+
readonly discriminator = 40;
|
|
530
|
+
readonly kind = "UpdateFarmDebt";
|
|
531
|
+
toJSON(): UpdateFarmDebtJSON;
|
|
532
|
+
toEncodable(): {
|
|
533
|
+
UpdateFarmDebt: {};
|
|
534
|
+
};
|
|
535
|
+
}
|
|
536
|
+
export declare function fromDecoded(obj: any): types.UpdateConfigModeKind;
|
|
537
|
+
export declare function fromJSON(obj: types.UpdateConfigModeJSON): types.UpdateConfigModeKind;
|
|
538
|
+
export declare function layout(property?: string): borsh.EnumLayout<unknown>;
|