@stas-b-woof/compound-react 0.0.2 → 1.0.1
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 +3 -5
- package/dist/cjs/_main_.d.ts +7 -0
- package/dist/cjs/_main_.js +106 -0
- package/dist/{src → cjs}/actions/useActionBuilder.d.ts +0 -1
- package/dist/cjs/actions/useActionBuilder.js +14 -0
- package/dist/{src → cjs}/actions/useActionsBuilder.d.ts +0 -1
- package/dist/cjs/actions/useActionsBuilder.js +14 -0
- package/dist/{src → cjs}/actions/useBorrow.d.ts +0 -1
- package/dist/cjs/actions/useBorrow.js +17 -0
- package/dist/{src → cjs}/actions/usePermitsBuilder.d.ts +0 -1
- package/dist/cjs/actions/usePermitsBuilder.js +14 -0
- package/dist/cjs/actions/usePopulatePermit.d.ts +8 -0
- package/dist/cjs/actions/usePopulatePermit.js +19 -0
- package/dist/{src → cjs}/actions/useRepay.d.ts +0 -1
- package/dist/cjs/actions/useRepay.js +17 -0
- package/dist/{src → cjs}/actions/useSupply.d.ts +0 -1
- package/dist/cjs/actions/useSupply.js +17 -0
- package/dist/{src → cjs}/actions/useWithdraw.d.ts +0 -1
- package/dist/cjs/actions/useWithdraw.js +17 -0
- package/dist/{src → cjs}/actions.d.ts +1 -2
- package/dist/cjs/actions.js +19 -0
- package/dist/cjs/execution/usePopulateTransaction.d.ts +8 -0
- package/dist/cjs/execution/usePopulateTransaction.js +19 -0
- package/dist/cjs/execution/useSendTransaction.d.ts +7 -0
- package/dist/cjs/execution/useSendTransaction.js +17 -0
- package/dist/cjs/execution/useWaitForTransaction.d.ts +5 -0
- package/dist/cjs/execution/useWaitForTransaction.js +17 -0
- package/dist/cjs/execution.d.ts +3 -0
- package/dist/cjs/execution.js +9 -0
- package/dist/{src → cjs}/fetchers/useAccountBasics.d.ts +1 -2
- package/dist/cjs/fetchers/useAccountBasics.js +38 -0
- package/dist/{src → cjs}/fetchers/useAccountCollateralBalance.d.ts +1 -2
- package/dist/cjs/fetchers/useAccountCollateralBalance.js +42 -0
- package/dist/{src → cjs}/fetchers/useAccountLiquidatable.d.ts +1 -2
- package/dist/cjs/fetchers/useAccountLiquidatable.js +35 -0
- package/dist/{src → cjs}/fetchers/useAccountSupplyBalance.d.ts +1 -2
- package/dist/cjs/fetchers/useAccountSupplyBalance.js +38 -0
- package/dist/{src → cjs}/fetchers/useAssetInfo.d.ts +3 -4
- package/dist/cjs/fetchers/useAssetInfo.js +38 -0
- package/dist/{src → cjs}/fetchers/useAssetInfoByAddress.d.ts +1 -2
- package/dist/cjs/fetchers/useAssetInfoByAddress.js +38 -0
- package/dist/{src → cjs}/fetchers/useAssetSupport.d.ts +3 -4
- package/dist/cjs/fetchers/useAssetSupport.js +38 -0
- package/dist/{src → cjs}/fetchers/useBaseAssetReserves.d.ts +1 -2
- package/dist/cjs/fetchers/useBaseAssetReserves.js +34 -0
- package/dist/{src → cjs}/fetchers/useBaseTokenAddress.d.ts +1 -2
- package/dist/cjs/fetchers/useBaseTokenAddress.js +34 -0
- package/dist/{src → cjs}/fetchers/useBaseTokenPriceFeedAddress.d.ts +1 -2
- package/dist/cjs/fetchers/useBaseTokenPriceFeedAddress.js +34 -0
- package/dist/{src → cjs}/fetchers/useBorrowBalance.d.ts +1 -2
- package/dist/cjs/fetchers/useBorrowBalance.js +38 -0
- package/dist/{src → cjs}/fetchers/useBorrowKink.d.ts +1 -2
- package/dist/cjs/fetchers/useBorrowKink.js +34 -0
- package/dist/{src → cjs}/fetchers/useBorrowPerSecondInterestRateBase.d.ts +1 -2
- package/dist/cjs/fetchers/useBorrowPerSecondInterestRateBase.js +34 -0
- package/dist/{src → cjs}/fetchers/useBorrowPerSecondInterestRateSlopeHigh.d.ts +1 -2
- package/dist/cjs/fetchers/useBorrowPerSecondInterestRateSlopeHigh.js +34 -0
- package/dist/{src → cjs}/fetchers/useBorrowPerSecondInterestRateSlopeLow.d.ts +1 -2
- package/dist/cjs/fetchers/useBorrowPerSecondInterestRateSlopeLow.js +34 -0
- package/dist/{src → cjs}/fetchers/useBorrowRate.d.ts +4 -4
- package/dist/cjs/fetchers/useBorrowRate.js +39 -0
- package/dist/{src → cjs}/fetchers/useCollateralQuote.d.ts +4 -5
- package/dist/cjs/fetchers/useCollateralQuote.js +42 -0
- package/dist/{src → cjs}/fetchers/useCollateralReserves.d.ts +1 -2
- package/dist/cjs/fetchers/useCollateralReserves.js +38 -0
- package/dist/{src → cjs}/fetchers/useCollateralSupply.d.ts +1 -2
- package/dist/cjs/fetchers/useCollateralSupply.js +38 -0
- package/dist/{src → cjs}/fetchers/useCollateralsCount.d.ts +1 -2
- package/dist/cjs/fetchers/useCollateralsCount.js +34 -0
- package/dist/{src → cjs}/fetchers/useCometDecimals.d.ts +1 -2
- package/dist/cjs/fetchers/useCometDecimals.js +34 -0
- package/dist/{src → cjs}/fetchers/useFetchers.d.ts +26 -59
- package/dist/cjs/fetchers/useFetchers.js +15 -0
- package/dist/{src → cjs}/fetchers/useLiquidatorPoints.d.ts +1 -2
- package/dist/cjs/fetchers/useLiquidatorPoints.js +38 -0
- package/dist/{src → cjs}/fetchers/useManagerAllowed.d.ts +1 -2
- package/dist/cjs/fetchers/useManagerAllowed.js +42 -0
- package/dist/{src → cjs}/fetchers/useMarket.d.ts +5 -4
- package/dist/cjs/fetchers/useMarket.js +40 -0
- package/dist/{src → cjs}/fetchers/useMarketName.d.ts +1 -2
- package/dist/cjs/fetchers/useMarketName.js +34 -0
- package/dist/{src → cjs}/fetchers/useMarketSymbol.d.ts +1 -2
- package/dist/cjs/fetchers/useMarketSymbol.js +34 -0
- package/dist/{src → cjs}/fetchers/useMarketVersion.d.ts +1 -2
- package/dist/cjs/fetchers/useMarketVersion.js +34 -0
- package/dist/{src → cjs}/fetchers/useMinimalLoanAmount.d.ts +1 -2
- package/dist/cjs/fetchers/useMinimalLoanAmount.js +34 -0
- package/dist/{src → cjs}/fetchers/useSupplyKink.d.ts +1 -2
- package/dist/cjs/fetchers/useSupplyKink.js +34 -0
- package/dist/{src → cjs}/fetchers/useSupplyPerSecondInterestRateBase.d.ts +1 -2
- package/dist/cjs/fetchers/useSupplyPerSecondInterestRateBase.js +34 -0
- package/dist/{src → cjs}/fetchers/useSupplyPerSecondInterestRateSlopeHigh.d.ts +1 -2
- package/dist/cjs/fetchers/useSupplyPerSecondInterestRateSlopeHigh.js +34 -0
- package/dist/{src → cjs}/fetchers/useSupplyPerSecondInterestRateSlopeLow.d.ts +1 -2
- package/dist/cjs/fetchers/useSupplyPerSecondInterestRateSlopeLow.js +34 -0
- package/dist/{src → cjs}/fetchers/useSupplyRate.d.ts +4 -5
- package/dist/cjs/fetchers/useSupplyRate.js +38 -0
- package/dist/{src → cjs}/fetchers/useTotalBorrow.d.ts +1 -2
- package/dist/cjs/fetchers/useTotalBorrow.js +34 -0
- package/dist/{src → cjs}/fetchers/useTotalSupply.d.ts +1 -2
- package/dist/cjs/fetchers/useTotalSupply.js +34 -0
- package/dist/{src → cjs}/fetchers/useTotalsBasic.d.ts +1 -2
- package/dist/cjs/fetchers/useTotalsBasic.js +34 -0
- package/dist/{src → cjs}/fetchers/useUserNonce.d.ts +1 -2
- package/dist/cjs/fetchers/useUserNonce.js +38 -0
- package/dist/{src → cjs}/fetchers/useUtilization.d.ts +1 -2
- package/dist/cjs/fetchers/useUtilization.js +34 -0
- package/dist/{src → cjs}/fetchers.d.ts +0 -7
- package/dist/cjs/fetchers.js +120 -0
- package/dist/{src → cjs}/injection.d.ts +0 -1
- package/dist/cjs/injection.js +16 -0
- package/dist/cjs/package.json +1 -0
- package/dist/{src → cjs}/useCompound.d.ts +2 -3
- package/dist/cjs/useCompound.js +26 -0
- package/dist/{src → cjs}/utils.d.ts +0 -1
- package/dist/cjs/utils.js +41 -0
- package/dist/{src → cjs}/validation/useValidation.d.ts +1 -2
- package/dist/cjs/validation/useValidation.js +50 -0
- package/dist/{src → cjs}/validation.d.ts +0 -1
- package/dist/cjs/validation.js +6 -0
- package/dist/esm/_main_.d.ts +7 -0
- package/dist/esm/_main_.js +7 -0
- package/dist/esm/actions/useActionBuilder.d.ts +5 -0
- package/dist/{src → esm}/actions/useActionBuilder.js +0 -1
- package/dist/esm/actions/useActionsBuilder.d.ts +5 -0
- package/dist/{src → esm}/actions/useActionsBuilder.js +0 -1
- package/dist/esm/actions/useBorrow.d.ts +5 -0
- package/dist/{src → esm}/actions/useBorrow.js +0 -1
- package/dist/esm/actions/usePermitsBuilder.d.ts +5 -0
- package/dist/{src → esm}/actions/usePermitsBuilder.js +0 -1
- package/dist/esm/actions/usePopulatePermit.d.ts +8 -0
- package/dist/{src/actions/useEarn.js → esm/actions/usePopulatePermit.js} +6 -5
- package/dist/esm/actions/useRepay.d.ts +5 -0
- package/dist/{src → esm}/actions/useRepay.js +0 -1
- package/dist/esm/actions/useSupply.d.ts +5 -0
- package/dist/{src → esm}/actions/useSupply.js +0 -1
- package/dist/esm/actions/useWithdraw.d.ts +5 -0
- package/dist/{src → esm}/actions/useWithdraw.js +0 -1
- package/dist/esm/actions.d.ts +8 -0
- package/dist/{src → esm}/actions.js +1 -2
- package/dist/esm/execution/usePopulateTransaction.d.ts +8 -0
- package/dist/esm/execution/usePopulateTransaction.js +16 -0
- package/dist/esm/execution/useSendTransaction.d.ts +7 -0
- package/dist/{src → esm}/execution/useSendTransaction.js +0 -1
- package/dist/esm/execution/useWaitForTransaction.d.ts +5 -0
- package/dist/esm/execution/useWaitForTransaction.js +14 -0
- package/dist/esm/execution.d.ts +3 -0
- package/dist/esm/execution.js +3 -0
- package/dist/esm/fetchers/useAccountBasics.d.ts +14 -0
- package/dist/{src → esm}/fetchers/useAccountBasics.js +1 -1
- package/dist/esm/fetchers/useAccountCollateralBalance.d.ts +16 -0
- package/dist/{src → esm}/fetchers/useAccountCollateralBalance.js +1 -1
- package/dist/esm/fetchers/useAccountLiquidatable.d.ts +12 -0
- package/dist/{src → esm}/fetchers/useAccountLiquidatable.js +1 -1
- package/dist/esm/fetchers/useAccountSupplyBalance.d.ts +14 -0
- package/dist/{src → esm}/fetchers/useAccountSupplyBalance.js +1 -1
- package/dist/esm/fetchers/useAssetInfo.d.ts +14 -0
- package/dist/{src → esm}/fetchers/useAssetInfo.js +3 -3
- package/dist/esm/fetchers/useAssetInfoByAddress.d.ts +14 -0
- package/dist/{src → esm}/fetchers/useAssetInfoByAddress.js +1 -1
- package/dist/esm/fetchers/useAssetSupport.d.ts +14 -0
- package/dist/{src → esm}/fetchers/useAssetSupport.js +3 -3
- package/dist/esm/fetchers/useBaseAssetReserves.d.ts +12 -0
- package/dist/{src → esm}/fetchers/useBaseAssetReserves.js +1 -1
- package/dist/esm/fetchers/useBaseTokenAddress.d.ts +12 -0
- package/dist/{src → esm}/fetchers/useBaseTokenAddress.js +1 -1
- package/dist/esm/fetchers/useBaseTokenPriceFeedAddress.d.ts +12 -0
- package/dist/{src → esm}/fetchers/useBaseTokenPriceFeedAddress.js +1 -1
- package/dist/esm/fetchers/useBorrowBalance.d.ts +14 -0
- package/dist/{src → esm}/fetchers/useBorrowBalance.js +1 -1
- package/dist/esm/fetchers/useBorrowKink.d.ts +12 -0
- package/dist/{src → esm}/fetchers/useBorrowKink.js +1 -1
- package/dist/esm/fetchers/useBorrowPerSecondInterestRateBase.d.ts +12 -0
- package/dist/{src → esm}/fetchers/useBorrowPerSecondInterestRateBase.js +1 -1
- package/dist/esm/fetchers/useBorrowPerSecondInterestRateSlopeHigh.d.ts +12 -0
- package/dist/{src → esm}/fetchers/useBorrowPerSecondInterestRateSlopeHigh.js +1 -1
- package/dist/esm/fetchers/useBorrowPerSecondInterestRateSlopeLow.d.ts +12 -0
- package/dist/{src → esm}/fetchers/useBorrowPerSecondInterestRateSlopeLow.js +1 -1
- package/dist/esm/fetchers/useBorrowRate.d.ts +15 -0
- package/dist/{src → esm}/fetchers/useBorrowRate.js +3 -2
- package/dist/esm/fetchers/useCollateralQuote.d.ts +16 -0
- package/dist/{src → esm}/fetchers/useCollateralQuote.js +1 -1
- package/dist/esm/fetchers/useCollateralReserves.d.ts +14 -0
- package/dist/{src → esm}/fetchers/useCollateralReserves.js +1 -1
- package/dist/esm/fetchers/useCollateralSupply.d.ts +14 -0
- package/dist/{src → esm}/fetchers/useCollateralSupply.js +1 -1
- package/dist/esm/fetchers/useCollateralsCount.d.ts +12 -0
- package/dist/{src → esm}/fetchers/useCollateralsCount.js +1 -1
- package/dist/esm/fetchers/useCometDecimals.d.ts +12 -0
- package/dist/{src → esm}/fetchers/useCometDecimals.js +1 -1
- package/dist/esm/fetchers/useFetchers.d.ts +41 -0
- package/dist/{src → esm}/fetchers/useFetchers.js +0 -1
- package/dist/esm/fetchers/useLiquidatorPoints.d.ts +14 -0
- package/dist/{src → esm}/fetchers/useLiquidatorPoints.js +1 -1
- package/dist/esm/fetchers/useManagerAllowed.d.ts +16 -0
- package/dist/{src → esm}/fetchers/useManagerAllowed.js +1 -1
- package/dist/esm/fetchers/useMarket.d.ts +16 -0
- package/dist/{src → esm}/fetchers/useMarket.js +10 -3
- package/dist/esm/fetchers/useMarketName.d.ts +12 -0
- package/dist/{src → esm}/fetchers/useMarketName.js +1 -1
- package/dist/esm/fetchers/useMarketSymbol.d.ts +12 -0
- package/dist/{src → esm}/fetchers/useMarketSymbol.js +1 -1
- package/dist/esm/fetchers/useMarketVersion.d.ts +12 -0
- package/dist/{src → esm}/fetchers/useMarketVersion.js +1 -1
- package/dist/esm/fetchers/useMinimalLoanAmount.d.ts +12 -0
- package/dist/{src → esm}/fetchers/useMinimalLoanAmount.js +1 -1
- package/dist/esm/fetchers/useSupplyKink.d.ts +12 -0
- package/dist/{src → esm}/fetchers/useSupplyKink.js +1 -1
- package/dist/esm/fetchers/useSupplyPerSecondInterestRateBase.d.ts +12 -0
- package/dist/{src → esm}/fetchers/useSupplyPerSecondInterestRateBase.js +1 -1
- package/dist/esm/fetchers/useSupplyPerSecondInterestRateSlopeHigh.d.ts +12 -0
- package/dist/{src → esm}/fetchers/useSupplyPerSecondInterestRateSlopeHigh.js +1 -1
- package/dist/esm/fetchers/useSupplyPerSecondInterestRateSlopeLow.d.ts +12 -0
- package/dist/{src → esm}/fetchers/useSupplyPerSecondInterestRateSlopeLow.js +1 -1
- package/dist/esm/fetchers/useSupplyRate.d.ts +14 -0
- package/dist/{src → esm}/fetchers/useSupplyRate.js +2 -2
- package/dist/esm/fetchers/useTotalBorrow.d.ts +12 -0
- package/dist/{src → esm}/fetchers/useTotalBorrow.js +1 -1
- package/dist/esm/fetchers/useTotalSupply.d.ts +12 -0
- package/dist/{src → esm}/fetchers/useTotalSupply.js +1 -1
- package/dist/esm/fetchers/useTotalsBasic.d.ts +12 -0
- package/dist/{src → esm}/fetchers/useTotalsBasic.js +1 -1
- package/dist/esm/fetchers/useUserNonce.d.ts +14 -0
- package/dist/{src → esm}/fetchers/useUserNonce.js +1 -1
- package/dist/esm/fetchers/useUtilization.d.ts +12 -0
- package/dist/{src → esm}/fetchers/useUtilization.js +1 -1
- package/dist/esm/fetchers.d.ts +39 -0
- package/dist/{src → esm}/fetchers.js +0 -7
- package/dist/esm/injection.d.ts +11 -0
- package/dist/{src → esm}/injection.js +0 -1
- package/dist/esm/useCompound.d.ts +11 -0
- package/dist/{src → esm}/useCompound.js +2 -3
- package/dist/esm/utils.d.ts +2 -0
- package/dist/{src → esm}/utils.js +0 -5
- package/dist/esm/validation/useValidation.d.ts +15 -0
- package/dist/{src → esm}/validation/useValidation.js +1 -1
- package/dist/esm/validation.d.ts +1 -0
- package/dist/{src → esm}/validation.js +0 -1
- package/package.json +28 -9
- package/dist/src/_main_.d.ts +0 -8
- package/dist/src/_main_.d.ts.map +0 -1
- package/dist/src/_main_.js +0 -8
- package/dist/src/_main_.js.map +0 -1
- package/dist/src/actions/useActionBuilder.d.ts.map +0 -1
- package/dist/src/actions/useActionBuilder.js.map +0 -1
- package/dist/src/actions/useActionsBuilder.d.ts.map +0 -1
- package/dist/src/actions/useActionsBuilder.js.map +0 -1
- package/dist/src/actions/useBorrow.d.ts.map +0 -1
- package/dist/src/actions/useBorrow.js.map +0 -1
- package/dist/src/actions/useEarn.d.ts +0 -6
- package/dist/src/actions/useEarn.d.ts.map +0 -1
- package/dist/src/actions/useEarn.js.map +0 -1
- package/dist/src/actions/usePermitsBuilder.d.ts.map +0 -1
- package/dist/src/actions/usePermitsBuilder.js.map +0 -1
- package/dist/src/actions/useRepay.d.ts.map +0 -1
- package/dist/src/actions/useRepay.js.map +0 -1
- package/dist/src/actions/useSupply.d.ts.map +0 -1
- package/dist/src/actions/useSupply.js.map +0 -1
- package/dist/src/actions/useWithdraw.d.ts.map +0 -1
- package/dist/src/actions/useWithdraw.js.map +0 -1
- package/dist/src/actions.d.ts.map +0 -1
- package/dist/src/actions.js.map +0 -1
- package/dist/src/execution/useSendTransaction.d.ts +0 -7
- package/dist/src/execution/useSendTransaction.d.ts.map +0 -1
- package/dist/src/execution/useSendTransaction.js.map +0 -1
- package/dist/src/execution.d.ts +0 -2
- package/dist/src/execution.d.ts.map +0 -1
- package/dist/src/execution.js +0 -2
- package/dist/src/execution.js.map +0 -1
- package/dist/src/fetchers/useAccountBasics.d.ts.map +0 -1
- package/dist/src/fetchers/useAccountBasics.js.map +0 -1
- package/dist/src/fetchers/useAccountCollateralBalance.d.ts.map +0 -1
- package/dist/src/fetchers/useAccountCollateralBalance.js.map +0 -1
- package/dist/src/fetchers/useAccountLiquidatable.d.ts.map +0 -1
- package/dist/src/fetchers/useAccountLiquidatable.js.map +0 -1
- package/dist/src/fetchers/useAccountSupplyBalance.d.ts.map +0 -1
- package/dist/src/fetchers/useAccountSupplyBalance.js.map +0 -1
- package/dist/src/fetchers/useAssetInfo.d.ts.map +0 -1
- package/dist/src/fetchers/useAssetInfo.js.map +0 -1
- package/dist/src/fetchers/useAssetInfoByAddress.d.ts.map +0 -1
- package/dist/src/fetchers/useAssetInfoByAddress.js.map +0 -1
- package/dist/src/fetchers/useAssetSupport.d.ts.map +0 -1
- package/dist/src/fetchers/useAssetSupport.js.map +0 -1
- package/dist/src/fetchers/useBaseAssetReserves.d.ts.map +0 -1
- package/dist/src/fetchers/useBaseAssetReserves.js.map +0 -1
- package/dist/src/fetchers/useBaseTokenAddress.d.ts.map +0 -1
- package/dist/src/fetchers/useBaseTokenAddress.js.map +0 -1
- package/dist/src/fetchers/useBaseTokenPriceFeedAddress.d.ts.map +0 -1
- package/dist/src/fetchers/useBaseTokenPriceFeedAddress.js.map +0 -1
- package/dist/src/fetchers/useBaseTrackingBorrowSpeed.d.ts +0 -13
- package/dist/src/fetchers/useBaseTrackingBorrowSpeed.d.ts.map +0 -1
- package/dist/src/fetchers/useBaseTrackingBorrowSpeed.js +0 -30
- package/dist/src/fetchers/useBaseTrackingBorrowSpeed.js.map +0 -1
- package/dist/src/fetchers/useBaseTrackingSupplySpeed.d.ts +0 -13
- package/dist/src/fetchers/useBaseTrackingSupplySpeed.d.ts.map +0 -1
- package/dist/src/fetchers/useBaseTrackingSupplySpeed.js +0 -30
- package/dist/src/fetchers/useBaseTrackingSupplySpeed.js.map +0 -1
- package/dist/src/fetchers/useBorrowBalance.d.ts.map +0 -1
- package/dist/src/fetchers/useBorrowBalance.js.map +0 -1
- package/dist/src/fetchers/useBorrowKink.d.ts.map +0 -1
- package/dist/src/fetchers/useBorrowKink.js.map +0 -1
- package/dist/src/fetchers/useBorrowPerSecondInterestRateBase.d.ts.map +0 -1
- package/dist/src/fetchers/useBorrowPerSecondInterestRateBase.js.map +0 -1
- package/dist/src/fetchers/useBorrowPerSecondInterestRateSlopeHigh.d.ts.map +0 -1
- package/dist/src/fetchers/useBorrowPerSecondInterestRateSlopeHigh.js.map +0 -1
- package/dist/src/fetchers/useBorrowPerSecondInterestRateSlopeLow.d.ts.map +0 -1
- package/dist/src/fetchers/useBorrowPerSecondInterestRateSlopeLow.js.map +0 -1
- package/dist/src/fetchers/useBorrowRate.d.ts.map +0 -1
- package/dist/src/fetchers/useBorrowRate.js.map +0 -1
- package/dist/src/fetchers/useCollateralQuote.d.ts.map +0 -1
- package/dist/src/fetchers/useCollateralQuote.js.map +0 -1
- package/dist/src/fetchers/useCollateralReserves.d.ts.map +0 -1
- package/dist/src/fetchers/useCollateralReserves.js.map +0 -1
- package/dist/src/fetchers/useCollateralSupply.d.ts.map +0 -1
- package/dist/src/fetchers/useCollateralSupply.js.map +0 -1
- package/dist/src/fetchers/useCollateralsCount.d.ts.map +0 -1
- package/dist/src/fetchers/useCollateralsCount.js.map +0 -1
- package/dist/src/fetchers/useCometDecimals.d.ts.map +0 -1
- package/dist/src/fetchers/useCometDecimals.js.map +0 -1
- package/dist/src/fetchers/useFetchers.d.ts.map +0 -1
- package/dist/src/fetchers/useFetchers.js.map +0 -1
- package/dist/src/fetchers/useLiquidatorPoints.d.ts.map +0 -1
- package/dist/src/fetchers/useLiquidatorPoints.js.map +0 -1
- package/dist/src/fetchers/useManagerAllowed.d.ts.map +0 -1
- package/dist/src/fetchers/useManagerAllowed.js.map +0 -1
- package/dist/src/fetchers/useMarket.d.ts.map +0 -1
- package/dist/src/fetchers/useMarket.js.map +0 -1
- package/dist/src/fetchers/useMarketName.d.ts.map +0 -1
- package/dist/src/fetchers/useMarketName.js.map +0 -1
- package/dist/src/fetchers/useMarketSymbol.d.ts.map +0 -1
- package/dist/src/fetchers/useMarketSymbol.js.map +0 -1
- package/dist/src/fetchers/useMarketVersion.d.ts.map +0 -1
- package/dist/src/fetchers/useMarketVersion.js.map +0 -1
- package/dist/src/fetchers/useMinimalLoanAmount.d.ts.map +0 -1
- package/dist/src/fetchers/useMinimalLoanAmount.js.map +0 -1
- package/dist/src/fetchers/usePosition.d.ts +0 -17
- package/dist/src/fetchers/usePosition.d.ts.map +0 -1
- package/dist/src/fetchers/usePosition.js +0 -32
- package/dist/src/fetchers/usePosition.js.map +0 -1
- package/dist/src/fetchers/useRewardAccrued.d.ts +0 -15
- package/dist/src/fetchers/useRewardAccrued.d.ts.map +0 -1
- package/dist/src/fetchers/useRewardAccrued.js +0 -34
- package/dist/src/fetchers/useRewardAccrued.js.map +0 -1
- package/dist/src/fetchers/useRewardOwed.d.ts +0 -17
- package/dist/src/fetchers/useRewardOwed.d.ts.map +0 -1
- package/dist/src/fetchers/useRewardOwed.js +0 -38
- package/dist/src/fetchers/useRewardOwed.js.map +0 -1
- package/dist/src/fetchers/useSupplyKink.d.ts.map +0 -1
- package/dist/src/fetchers/useSupplyKink.js.map +0 -1
- package/dist/src/fetchers/useSupplyPerSecondInterestRateBase.d.ts.map +0 -1
- package/dist/src/fetchers/useSupplyPerSecondInterestRateBase.js.map +0 -1
- package/dist/src/fetchers/useSupplyPerSecondInterestRateSlopeHigh.d.ts.map +0 -1
- package/dist/src/fetchers/useSupplyPerSecondInterestRateSlopeHigh.js.map +0 -1
- package/dist/src/fetchers/useSupplyPerSecondInterestRateSlopeLow.d.ts.map +0 -1
- package/dist/src/fetchers/useSupplyPerSecondInterestRateSlopeLow.js.map +0 -1
- package/dist/src/fetchers/useSupplyRate.d.ts.map +0 -1
- package/dist/src/fetchers/useSupplyRate.js.map +0 -1
- package/dist/src/fetchers/useTotalBorrow.d.ts.map +0 -1
- package/dist/src/fetchers/useTotalBorrow.js.map +0 -1
- package/dist/src/fetchers/useTotalSupply.d.ts.map +0 -1
- package/dist/src/fetchers/useTotalSupply.js.map +0 -1
- package/dist/src/fetchers/useTotalsBasic.d.ts.map +0 -1
- package/dist/src/fetchers/useTotalsBasic.js.map +0 -1
- package/dist/src/fetchers/useTrackingIndexScale.d.ts +0 -13
- package/dist/src/fetchers/useTrackingIndexScale.d.ts.map +0 -1
- package/dist/src/fetchers/useTrackingIndexScale.js +0 -30
- package/dist/src/fetchers/useTrackingIndexScale.js.map +0 -1
- package/dist/src/fetchers/useUserNonce.d.ts.map +0 -1
- package/dist/src/fetchers/useUserNonce.js.map +0 -1
- package/dist/src/fetchers/useUtilization.d.ts.map +0 -1
- package/dist/src/fetchers/useUtilization.js.map +0 -1
- package/dist/src/fetchers.d.ts.map +0 -1
- package/dist/src/fetchers.js.map +0 -1
- package/dist/src/injection.d.ts.map +0 -1
- package/dist/src/injection.js.map +0 -1
- package/dist/src/useCompound.d.ts.map +0 -1
- package/dist/src/useCompound.js.map +0 -1
- package/dist/src/utils.d.ts.map +0 -1
- package/dist/src/utils.js.map +0 -1
- package/dist/src/validation/useValidation.d.ts.map +0 -1
- package/dist/src/validation/useValidation.js.map +0 -1
- package/dist/src/validation.d.ts.map +0 -1
- package/dist/src/validation.js.map +0 -1
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export { type UseActionBuilderCallback, type UseActionBuilderCallbackResult, type UseActionBuilderCallbackArgs, useActionBuilder, } from './actions/useActionBuilder.js';
|
|
2
|
+
export { type UseActionsBuilderCallback, type UseActionsBuilderCallbackArgs, type UseActionsBuilderCallbackResult, useActionsBuilder, } from './actions/useActionsBuilder.js';
|
|
3
|
+
export { type UseBorrowMutationArgs, type UseBorrowMutationResult, useBorrow, } from './actions/useBorrow.js';
|
|
4
|
+
export { type UsePermitsBuilderCallback, type UsePermitsBuilderCallbackArgs, type UsePermitsBuilderCallbackResult, usePermitsBuilder, } from './actions/usePermitsBuilder.js';
|
|
5
|
+
export { type UseRepayMutationArgs, type UseRepayMutationResult, useRepay, } from './actions/useRepay.js';
|
|
6
|
+
export { type UseSupplyMutationArgs, type UseSupplyMutationResult, useSupply, } from './actions/useSupply.js';
|
|
7
|
+
export { type UseWithdrawMutationArgs, type UseWithdrawMutationResult, useWithdraw, } from './actions/useWithdraw.js';
|
|
8
|
+
export { type UsePopulatePermitArgs, type UsePopulatePermitResult, type UsePopulatePermitVariables, usePopulatePermit, } from './actions/usePopulatePermit.js';
|
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
export { useActionBuilder, } from './actions/useActionBuilder.js';
|
|
2
2
|
export { useActionsBuilder, } from './actions/useActionsBuilder.js';
|
|
3
3
|
export { useBorrow, } from './actions/useBorrow.js';
|
|
4
|
-
export { useEarn, } from './actions/useEarn.js';
|
|
5
4
|
export { usePermitsBuilder, } from './actions/usePermitsBuilder.js';
|
|
6
5
|
export { useRepay, } from './actions/useRepay.js';
|
|
7
6
|
export { useSupply, } from './actions/useSupply.js';
|
|
8
7
|
export { useWithdraw, } from './actions/useWithdraw.js';
|
|
9
|
-
|
|
8
|
+
export { usePopulatePermit, } from './actions/usePopulatePermit.js';
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { type DefaultError, type UseMutationResult } from "@tanstack/react-query";
|
|
2
|
+
import { type TransactionType, type DefaultTransactionType, type PopulateTransactionResult, type PopulateTransactionArgs, type Optional } from "@stas-b-woof/compound";
|
|
3
|
+
export type UsePopulateTransactionArgs<T extends TransactionType = DefaultTransactionType> = {
|
|
4
|
+
transactionType?: Optional<T>;
|
|
5
|
+
};
|
|
6
|
+
export type UsePopulateTransactionVariables<T extends TransactionType = DefaultTransactionType> = (Omit<PopulateTransactionArgs<T>, 'client'>);
|
|
7
|
+
export type UsePopulateTransactionResult<T extends TransactionType = DefaultTransactionType> = (UseMutationResult<PopulateTransactionResult<T>, DefaultError, UsePopulateTransactionVariables<T>>);
|
|
8
|
+
export declare function usePopulateTransaction<T extends TransactionType = DefaultTransactionType>(args?: UsePopulateTransactionArgs<T>): UsePopulateTransactionResult<T>;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { useCompound } from "../useCompound.js";
|
|
2
|
+
import { useMutation, } from "@tanstack/react-query";
|
|
3
|
+
import { populateTransaction, } from "@stas-b-woof/compound";
|
|
4
|
+
export function usePopulateTransaction(args) {
|
|
5
|
+
const { transactionType, } = args ?? {};
|
|
6
|
+
const { client } = useCompound();
|
|
7
|
+
return useMutation({
|
|
8
|
+
mutationFn: (args) => {
|
|
9
|
+
return populateTransaction({
|
|
10
|
+
client: client,
|
|
11
|
+
transactionType: transactionType,
|
|
12
|
+
...args,
|
|
13
|
+
});
|
|
14
|
+
}
|
|
15
|
+
});
|
|
16
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { type SendLegacyTransactionArgs, type SendGaslessTransactionArgs, type SendEip1559TransactionArgs, type OneOf } from "@stas-b-woof/compound";
|
|
2
|
+
export type UseSendTransactionMutationArgs = OneOf<[
|
|
3
|
+
Omit<SendLegacyTransactionArgs, 'client'>,
|
|
4
|
+
Omit<SendGaslessTransactionArgs, 'client'>,
|
|
5
|
+
Omit<SendEip1559TransactionArgs, 'client'>
|
|
6
|
+
]>;
|
|
7
|
+
export declare function useSendTransaction(): import("@tanstack/react-query").UseMutationResult<`0x${string}`, Error, import("@stas-b-woof/compound").XOR<import("@stas-b-woof/compound").XOR<Omit<SendLegacyTransactionArgs, "client">, Omit<SendGaslessTransactionArgs, "client">>, Omit<SendEip1559TransactionArgs, "client">>, unknown>;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { type DefaultError, type UseMutationResult } from "@tanstack/react-query";
|
|
2
|
+
import { type WaitForTransactionArgs, type WaitForTransactionResult } from "@stas-b-woof/compound";
|
|
3
|
+
export type UseWaitForTransactionVariables = Omit<WaitForTransactionArgs, 'client'>;
|
|
4
|
+
export type UseWaitForTransactionResult = (UseMutationResult<WaitForTransactionResult, DefaultError, UseWaitForTransactionVariables>);
|
|
5
|
+
export declare function useWaitForTransaction(): UseWaitForTransactionResult;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { useMutation } from "@tanstack/react-query";
|
|
2
|
+
import { waitForTransaction, } from "@stas-b-woof/compound";
|
|
3
|
+
import { useCompound } from "../useCompound.js";
|
|
4
|
+
export function useWaitForTransaction() {
|
|
5
|
+
const { client } = useCompound();
|
|
6
|
+
return useMutation({
|
|
7
|
+
mutationFn: (args) => {
|
|
8
|
+
return waitForTransaction({
|
|
9
|
+
client: client,
|
|
10
|
+
...args,
|
|
11
|
+
});
|
|
12
|
+
}
|
|
13
|
+
});
|
|
14
|
+
}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
export { type UseSendTransactionMutationArgs, useSendTransaction, } from './execution/useSendTransaction.js';
|
|
2
|
+
export { type UsePopulateTransactionVariables, type UsePopulateTransactionArgs, type UsePopulateTransactionResult, usePopulateTransaction, } from './execution/usePopulateTransaction.js';
|
|
3
|
+
export { type UseWaitForTransactionResult, type UseWaitForTransactionVariables, useWaitForTransaction, } from './execution/useWaitForTransaction.js';
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { type UseQueryResult } from "@tanstack/react-query";
|
|
2
|
+
import { type Address, type Optional, type Block, getAccountBasics } from "@stas-b-woof/compound";
|
|
3
|
+
export type ToAccountBasicsQueryKeyArgs = {
|
|
4
|
+
market?: Optional<Address>;
|
|
5
|
+
account?: Optional<Address>;
|
|
6
|
+
block?: Optional<Block>;
|
|
7
|
+
};
|
|
8
|
+
export declare function toAccountBasicsQueryKey(args: ToAccountBasicsQueryKeyArgs): readonly ["useAccountBasics", "market" | `0x${string}`, `0x${string}` | "account", string];
|
|
9
|
+
export type UseAccountBasicsArgs = {
|
|
10
|
+
market?: Optional<Address>;
|
|
11
|
+
account?: Optional<Address>;
|
|
12
|
+
block?: Optional<Block>;
|
|
13
|
+
};
|
|
14
|
+
export declare function useAccountBasics(args?: Optional<UseAccountBasicsArgs>): UseQueryResult<Awaited<ReturnType<typeof getAccountBasics>>>;
|
|
@@ -4,6 +4,7 @@ import { asserts, getAccountBasics, } from "@stas-b-woof/compound";
|
|
|
4
4
|
export function toAccountBasicsQueryKey(args) {
|
|
5
5
|
const { market, account, block } = args;
|
|
6
6
|
return [
|
|
7
|
+
'useAccountBasics',
|
|
7
8
|
`${market ?? 'market'}`,
|
|
8
9
|
`${account ?? 'account'}`,
|
|
9
10
|
`${block ?? 'block'}`,
|
|
@@ -31,4 +32,3 @@ export function useAccountBasics(args) {
|
|
|
31
32
|
enabled: market !== undefined && account !== undefined,
|
|
32
33
|
});
|
|
33
34
|
}
|
|
34
|
-
//# sourceMappingURL=useAccountBasics.js.map
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { type UseQueryResult } from "@tanstack/react-query";
|
|
2
|
+
import { type Address, type Optional, type Block, getAccountCollateralBalance } from "@stas-b-woof/compound";
|
|
3
|
+
export type ToAccountCollateralBalanceQueryKeyArgs = {
|
|
4
|
+
market?: Optional<Address>;
|
|
5
|
+
account?: Optional<Address>;
|
|
6
|
+
asset?: Optional<Address>;
|
|
7
|
+
block?: Optional<Block>;
|
|
8
|
+
};
|
|
9
|
+
export declare function toAccountCollateralBalanceQueryKey(args: ToAccountCollateralBalanceQueryKeyArgs): readonly ["useAccountCollateralBalance", "market" | `0x${string}`, `0x${string}` | "account", `0x${string}` | "asset", string];
|
|
10
|
+
export type UseAccountCollateralBalanceArgs = {
|
|
11
|
+
market?: Optional<Address>;
|
|
12
|
+
account?: Optional<Address>;
|
|
13
|
+
asset?: Optional<Address>;
|
|
14
|
+
block?: Optional<Block>;
|
|
15
|
+
};
|
|
16
|
+
export declare function useAccountCollateralBalance(args?: Optional<UseAccountCollateralBalanceArgs>): UseQueryResult<Awaited<ReturnType<typeof getAccountCollateralBalance>>>;
|
|
@@ -4,6 +4,7 @@ import { asserts, getAccountCollateralBalance, } from "@stas-b-woof/compound";
|
|
|
4
4
|
export function toAccountCollateralBalanceQueryKey(args) {
|
|
5
5
|
const { market, account, asset, block } = args;
|
|
6
6
|
return [
|
|
7
|
+
'useAccountCollateralBalance',
|
|
7
8
|
`${market ?? 'market'}`,
|
|
8
9
|
`${account ?? 'account'}`,
|
|
9
10
|
`${asset ?? 'asset'}`,
|
|
@@ -35,4 +36,3 @@ export function useAccountCollateralBalance(args) {
|
|
|
35
36
|
enabled: market !== undefined && account !== undefined && asset !== undefined,
|
|
36
37
|
});
|
|
37
38
|
}
|
|
38
|
-
//# sourceMappingURL=useAccountCollateralBalance.js.map
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { type UseQueryResult } from "@tanstack/react-query";
|
|
2
|
+
import { type Address, type Optional, checkIsAccountLiquidatable } from "@stas-b-woof/compound";
|
|
3
|
+
export type ToAccountLiquidatableQueryKeyArgs = {
|
|
4
|
+
market?: Optional<Address>;
|
|
5
|
+
account?: Optional<Address>;
|
|
6
|
+
};
|
|
7
|
+
export declare function toAccountLiquidatableQueryKey(args: ToAccountLiquidatableQueryKeyArgs): readonly ["useAccountLiquidatable", "market" | `0x${string}`, `0x${string}` | "account"];
|
|
8
|
+
export type UseAccountLiquidatableArgs = {
|
|
9
|
+
market?: Optional<Address>;
|
|
10
|
+
account?: Optional<Address>;
|
|
11
|
+
};
|
|
12
|
+
export declare function useAccountLiquidatable(args?: Optional<UseAccountLiquidatableArgs>): UseQueryResult<Awaited<ReturnType<typeof checkIsAccountLiquidatable>>>;
|
|
@@ -4,6 +4,7 @@ import { asserts, checkIsAccountLiquidatable, } from "@stas-b-woof/compound";
|
|
|
4
4
|
export function toAccountLiquidatableQueryKey(args) {
|
|
5
5
|
const { market, account } = args;
|
|
6
6
|
return [
|
|
7
|
+
'useAccountLiquidatable',
|
|
7
8
|
`${market ?? 'market'}`,
|
|
8
9
|
`${account ?? 'account'}`,
|
|
9
10
|
];
|
|
@@ -28,4 +29,3 @@ export function useAccountLiquidatable(args) {
|
|
|
28
29
|
enabled: market !== undefined && account !== undefined,
|
|
29
30
|
});
|
|
30
31
|
}
|
|
31
|
-
//# sourceMappingURL=useAccountLiquidatable.js.map
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { type UseQueryResult } from "@tanstack/react-query";
|
|
2
|
+
import { type Address, type Optional, type Block, getAccountSupplyBalance } from "@stas-b-woof/compound";
|
|
3
|
+
export type ToAccountSupplyBalanceQueryKeyArgs = {
|
|
4
|
+
market?: Optional<Address>;
|
|
5
|
+
account?: Optional<Address>;
|
|
6
|
+
block?: Optional<Block>;
|
|
7
|
+
};
|
|
8
|
+
export declare function toAccountSupplyBalanceQueryKey(args: ToAccountSupplyBalanceQueryKeyArgs): readonly ["useAccountSupplyBalance", "market" | `0x${string}`, `0x${string}` | "account", string];
|
|
9
|
+
export type UseAccountSupplyBalanceArgs = {
|
|
10
|
+
market?: Optional<Address>;
|
|
11
|
+
account?: Optional<Address>;
|
|
12
|
+
block?: Optional<Block>;
|
|
13
|
+
};
|
|
14
|
+
export declare function useAccountSupplyBalance(args?: Optional<UseAccountSupplyBalanceArgs>): UseQueryResult<Awaited<ReturnType<typeof getAccountSupplyBalance>>>;
|
|
@@ -4,6 +4,7 @@ import { asserts, getAccountSupplyBalance, } from "@stas-b-woof/compound";
|
|
|
4
4
|
export function toAccountSupplyBalanceQueryKey(args) {
|
|
5
5
|
const { market, account, block } = args;
|
|
6
6
|
return [
|
|
7
|
+
'useAccountSupplyBalance',
|
|
7
8
|
`${market ?? 'market'}`,
|
|
8
9
|
`${account ?? 'account'}`,
|
|
9
10
|
`${block ?? 'block'}`,
|
|
@@ -31,4 +32,3 @@ export function useAccountSupplyBalance(args) {
|
|
|
31
32
|
enabled: market !== undefined && account !== undefined,
|
|
32
33
|
});
|
|
33
34
|
}
|
|
34
|
-
//# sourceMappingURL=useAccountSupplyBalance.js.map
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { type UseQueryResult } from "@tanstack/react-query";
|
|
2
|
+
import { type Address, type Optional, type Block, getAssetInfoByIndex } from "@stas-b-woof/compound";
|
|
3
|
+
export type ToAssetInfoQueryKeyArgs = {
|
|
4
|
+
market?: Optional<Address>;
|
|
5
|
+
index?: Optional<number>;
|
|
6
|
+
block?: Optional<Block>;
|
|
7
|
+
};
|
|
8
|
+
export declare function toAssetInfoQueryKey(args: ToAssetInfoQueryKeyArgs): readonly ["useAssetInfo", "market" | `0x${string}`, `${number}` | "index", string];
|
|
9
|
+
export type UseAssetInfoArgs = {
|
|
10
|
+
market?: Optional<Address>;
|
|
11
|
+
index?: Optional<number>;
|
|
12
|
+
block?: Optional<Block>;
|
|
13
|
+
};
|
|
14
|
+
export declare function useAssetInfo(args?: Optional<UseAssetInfoArgs>): UseQueryResult<Awaited<ReturnType<typeof getAssetInfoByIndex>>>;
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import { useCompound } from "../useCompound.js";
|
|
2
2
|
import { useQuery } from "@tanstack/react-query";
|
|
3
|
-
import { asserts,
|
|
3
|
+
import { asserts, getAssetInfoByIndex, } from "@stas-b-woof/compound";
|
|
4
4
|
export function toAssetInfoQueryKey(args) {
|
|
5
5
|
const { market, index, block } = args;
|
|
6
6
|
return [
|
|
7
|
+
'useAssetInfo',
|
|
7
8
|
`${market ?? 'market'}`,
|
|
8
9
|
`${index ?? 'index'}`,
|
|
9
10
|
`${block ?? 'block'}`,
|
|
@@ -21,7 +22,7 @@ export function useAssetInfo(args) {
|
|
|
21
22
|
queryFn: () => {
|
|
22
23
|
asserts(market, 'Market address must be defined');
|
|
23
24
|
asserts(index, 'Index must be defined');
|
|
24
|
-
return
|
|
25
|
+
return getAssetInfoByIndex({
|
|
25
26
|
client: client,
|
|
26
27
|
market: market,
|
|
27
28
|
index: index,
|
|
@@ -31,4 +32,3 @@ export function useAssetInfo(args) {
|
|
|
31
32
|
enabled: market !== undefined && index !== undefined,
|
|
32
33
|
});
|
|
33
34
|
}
|
|
34
|
-
//# sourceMappingURL=useAssetInfo.js.map
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { type UseQueryResult } from "@tanstack/react-query";
|
|
2
|
+
import { type Address, type Optional, type Block, getAssetInfoByAddress } from "@stas-b-woof/compound";
|
|
3
|
+
export type ToAssetInfoByAddressQueryKeyArgs = {
|
|
4
|
+
market?: Optional<Address>;
|
|
5
|
+
asset?: Optional<Address>;
|
|
6
|
+
block?: Optional<Block>;
|
|
7
|
+
};
|
|
8
|
+
export declare function toAssetInfoByAddressQueryKey(args: ToAssetInfoByAddressQueryKeyArgs): readonly ["useAssetInfoByAddress", "market" | `0x${string}`, `0x${string}` | "asset", string];
|
|
9
|
+
export type UseAssetInfoByAddressArgs = {
|
|
10
|
+
market?: Optional<Address>;
|
|
11
|
+
asset?: Optional<Address>;
|
|
12
|
+
block?: Optional<Block>;
|
|
13
|
+
};
|
|
14
|
+
export declare function useAssetInfoByAddress(args?: Optional<UseAssetInfoByAddressArgs>): UseQueryResult<Awaited<ReturnType<typeof getAssetInfoByAddress>>>;
|
|
@@ -4,6 +4,7 @@ import { asserts, getAssetInfoByAddress, } from "@stas-b-woof/compound";
|
|
|
4
4
|
export function toAssetInfoByAddressQueryKey(args) {
|
|
5
5
|
const { market, asset, block } = args;
|
|
6
6
|
return [
|
|
7
|
+
'useAssetInfoByAddress',
|
|
7
8
|
`${market ?? 'market'}`,
|
|
8
9
|
`${asset ?? 'asset'}`,
|
|
9
10
|
`${block ?? 'block'}`,
|
|
@@ -31,4 +32,3 @@ export function useAssetInfoByAddress(args) {
|
|
|
31
32
|
enabled: market !== undefined && asset !== undefined,
|
|
32
33
|
});
|
|
33
34
|
}
|
|
34
|
-
//# sourceMappingURL=useAssetInfoByAddress.js.map
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { type UseQueryResult } from "@tanstack/react-query";
|
|
2
|
+
import { type Address, type Optional, type Block, checkIsAssetSupported } from "@stas-b-woof/compound";
|
|
3
|
+
export type ToAssetSupportQueryKeyArgs = {
|
|
4
|
+
market?: Optional<Address>;
|
|
5
|
+
asset?: Optional<Address>;
|
|
6
|
+
block?: Optional<Block>;
|
|
7
|
+
};
|
|
8
|
+
export declare function toAssetSupportQueryKey(args: ToAssetSupportQueryKeyArgs): readonly ["useAssetSupport", "market" | `0x${string}`, `0x${string}` | "asset", string];
|
|
9
|
+
export type UseAssetSupportArgs = {
|
|
10
|
+
market?: Optional<Address>;
|
|
11
|
+
asset?: Optional<Address>;
|
|
12
|
+
block?: Optional<Block>;
|
|
13
|
+
};
|
|
14
|
+
export declare function useAssetSupport(args?: Optional<UseAssetSupportArgs>): UseQueryResult<Awaited<ReturnType<typeof checkIsAssetSupported>>>;
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import { useCompound } from "../useCompound.js";
|
|
2
2
|
import { useQuery } from "@tanstack/react-query";
|
|
3
|
-
import { asserts,
|
|
3
|
+
import { asserts, checkIsAssetSupported, } from "@stas-b-woof/compound";
|
|
4
4
|
export function toAssetSupportQueryKey(args) {
|
|
5
5
|
const { market, asset, block } = args;
|
|
6
6
|
return [
|
|
7
|
+
'useAssetSupport',
|
|
7
8
|
`${market ?? 'market'}`,
|
|
8
9
|
`${asset ?? 'asset'}`,
|
|
9
10
|
`${block ?? 'block'}`,
|
|
@@ -21,7 +22,7 @@ export function useAssetSupport(args) {
|
|
|
21
22
|
queryFn: () => {
|
|
22
23
|
asserts(market, 'Market address must be defined');
|
|
23
24
|
asserts(asset, 'Asset address must be defined');
|
|
24
|
-
return
|
|
25
|
+
return checkIsAssetSupported({
|
|
25
26
|
client: client,
|
|
26
27
|
market: market,
|
|
27
28
|
asset: asset,
|
|
@@ -31,4 +32,3 @@ export function useAssetSupport(args) {
|
|
|
31
32
|
enabled: market !== undefined && asset !== undefined,
|
|
32
33
|
});
|
|
33
34
|
}
|
|
34
|
-
//# sourceMappingURL=useAssetSupport.js.map
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { type UseQueryResult } from "@tanstack/react-query";
|
|
2
|
+
import { type Address, type Optional, type Block, getBaseAssetReserves } from "@stas-b-woof/compound";
|
|
3
|
+
export type ToBaseAssetReservesQueryKeyArgs = {
|
|
4
|
+
market?: Optional<Address>;
|
|
5
|
+
block?: Optional<Block>;
|
|
6
|
+
};
|
|
7
|
+
export declare function toBaseAssetReservesQueryKey(args: ToBaseAssetReservesQueryKeyArgs): readonly ["useBaseAssetReserves", "market" | `0x${string}`, string];
|
|
8
|
+
export type UseBaseAssetReservesArgs = {
|
|
9
|
+
market?: Optional<Address>;
|
|
10
|
+
block?: Optional<Block>;
|
|
11
|
+
};
|
|
12
|
+
export declare function useBaseAssetReserves(args?: Optional<UseBaseAssetReservesArgs>): UseQueryResult<Awaited<ReturnType<typeof getBaseAssetReserves>>>;
|
|
@@ -4,6 +4,7 @@ import { asserts, getBaseAssetReserves, } from "@stas-b-woof/compound";
|
|
|
4
4
|
export function toBaseAssetReservesQueryKey(args) {
|
|
5
5
|
const { market, block } = args;
|
|
6
6
|
return [
|
|
7
|
+
'useBaseAssetReserves',
|
|
7
8
|
`${market ?? 'market'}`,
|
|
8
9
|
`${block ?? 'block'}`,
|
|
9
10
|
];
|
|
@@ -27,4 +28,3 @@ export function useBaseAssetReserves(args) {
|
|
|
27
28
|
enabled: market !== undefined,
|
|
28
29
|
});
|
|
29
30
|
}
|
|
30
|
-
//# sourceMappingURL=useBaseAssetReserves.js.map
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { type UseQueryResult } from "@tanstack/react-query";
|
|
2
|
+
import { type Address, type Optional, type Block, getBaseTokenAddress } from "@stas-b-woof/compound";
|
|
3
|
+
export type ToBaseTokenAddressQueryKeyArgs = {
|
|
4
|
+
market?: Optional<Address>;
|
|
5
|
+
block?: Optional<Block>;
|
|
6
|
+
};
|
|
7
|
+
export declare function toBaseTokenAddressQueryKey(args: ToBaseTokenAddressQueryKeyArgs): readonly ["useBaseTokenAddress", "market" | `0x${string}`, string];
|
|
8
|
+
export type UseBaseTokenAddressArgs = {
|
|
9
|
+
market?: Optional<Address>;
|
|
10
|
+
block?: Optional<Block>;
|
|
11
|
+
};
|
|
12
|
+
export declare function useBaseTokenAddress(args?: Optional<UseBaseTokenAddressArgs>): UseQueryResult<Awaited<ReturnType<typeof getBaseTokenAddress>>>;
|
|
@@ -4,6 +4,7 @@ import { asserts, getBaseTokenAddress, } from "@stas-b-woof/compound";
|
|
|
4
4
|
export function toBaseTokenAddressQueryKey(args) {
|
|
5
5
|
const { market, block } = args;
|
|
6
6
|
return [
|
|
7
|
+
'useBaseTokenAddress',
|
|
7
8
|
`${market ?? 'market'}`,
|
|
8
9
|
`${block ?? 'block'}`,
|
|
9
10
|
];
|
|
@@ -27,4 +28,3 @@ export function useBaseTokenAddress(args) {
|
|
|
27
28
|
enabled: market !== undefined,
|
|
28
29
|
});
|
|
29
30
|
}
|
|
30
|
-
//# sourceMappingURL=useBaseTokenAddress.js.map
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { type UseQueryResult } from "@tanstack/react-query";
|
|
2
|
+
import { type Address, type Optional, type Block, getBaseTokenPriceFeedAddress } from "@stas-b-woof/compound";
|
|
3
|
+
export type ToBaseTokenPriceFeedAddressQueryKeyArgs = {
|
|
4
|
+
market?: Optional<Address>;
|
|
5
|
+
block?: Optional<Block>;
|
|
6
|
+
};
|
|
7
|
+
export declare function toBaseTokenPriceFeedAddressQueryKey(args: ToBaseTokenPriceFeedAddressQueryKeyArgs): readonly ["useBaseTokenPriceFeedAddress", "market" | `0x${string}`, string];
|
|
8
|
+
export type UseBaseTokenPriceFeedAddressArgs = {
|
|
9
|
+
market?: Optional<Address>;
|
|
10
|
+
block?: Optional<Block>;
|
|
11
|
+
};
|
|
12
|
+
export declare function useBaseTokenPriceFeedAddress(args?: Optional<UseBaseTokenPriceFeedAddressArgs>): UseQueryResult<Awaited<ReturnType<typeof getBaseTokenPriceFeedAddress>>>;
|
|
@@ -4,6 +4,7 @@ import { asserts, getBaseTokenPriceFeedAddress, } from "@stas-b-woof/compound";
|
|
|
4
4
|
export function toBaseTokenPriceFeedAddressQueryKey(args) {
|
|
5
5
|
const { market, block } = args;
|
|
6
6
|
return [
|
|
7
|
+
'useBaseTokenPriceFeedAddress',
|
|
7
8
|
`${market ?? 'market'}`,
|
|
8
9
|
`${block ?? 'block'}`,
|
|
9
10
|
];
|
|
@@ -27,4 +28,3 @@ export function useBaseTokenPriceFeedAddress(args) {
|
|
|
27
28
|
enabled: market !== undefined,
|
|
28
29
|
});
|
|
29
30
|
}
|
|
30
|
-
//# sourceMappingURL=useBaseTokenPriceFeedAddress.js.map
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { type UseQueryResult } from "@tanstack/react-query";
|
|
2
|
+
import { type Address, type Optional, type Block, getBorrowBalanceOf } from "@stas-b-woof/compound";
|
|
3
|
+
export type ToBorrowBalanceQueryKeyArgs = {
|
|
4
|
+
market?: Optional<Address>;
|
|
5
|
+
account?: Optional<Address>;
|
|
6
|
+
block?: Optional<Block>;
|
|
7
|
+
};
|
|
8
|
+
export declare function toBorrowBalanceQueryKey(args: ToBorrowBalanceQueryKeyArgs): readonly ["useBorrowBalance", "market" | `0x${string}`, `0x${string}` | "account", string];
|
|
9
|
+
export type UseBorrowBalanceArgs = {
|
|
10
|
+
market?: Optional<Address>;
|
|
11
|
+
account?: Optional<Address>;
|
|
12
|
+
block?: Optional<Block>;
|
|
13
|
+
};
|
|
14
|
+
export declare function useBorrowBalance(args?: Optional<UseBorrowBalanceArgs>): UseQueryResult<Awaited<ReturnType<typeof getBorrowBalanceOf>>>;
|
|
@@ -4,6 +4,7 @@ import { asserts, getBorrowBalanceOf, } from "@stas-b-woof/compound";
|
|
|
4
4
|
export function toBorrowBalanceQueryKey(args) {
|
|
5
5
|
const { market, account, block } = args;
|
|
6
6
|
return [
|
|
7
|
+
'useBorrowBalance',
|
|
7
8
|
`${market ?? 'market'}`,
|
|
8
9
|
`${account ?? 'account'}`,
|
|
9
10
|
`${block ?? 'block'}`,
|
|
@@ -31,4 +32,3 @@ export function useBorrowBalance(args) {
|
|
|
31
32
|
enabled: market !== undefined && account !== undefined,
|
|
32
33
|
});
|
|
33
34
|
}
|
|
34
|
-
//# sourceMappingURL=useBorrowBalance.js.map
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { type UseQueryResult } from "@tanstack/react-query";
|
|
2
|
+
import { type Address, type Optional, type Block, getBorrowKink } from "@stas-b-woof/compound";
|
|
3
|
+
export type ToBorrowKinkQueryKeyArgs = {
|
|
4
|
+
market?: Optional<Address>;
|
|
5
|
+
block?: Optional<Block>;
|
|
6
|
+
};
|
|
7
|
+
export declare function toBorrowKinkQueryKey(args: ToBorrowKinkQueryKeyArgs): readonly ["useBorrowKink", "market" | `0x${string}`, string];
|
|
8
|
+
export type UseBorrowKinkArgs = {
|
|
9
|
+
market?: Optional<Address>;
|
|
10
|
+
block?: Optional<Block>;
|
|
11
|
+
};
|
|
12
|
+
export declare function useBorrowKink(args?: Optional<UseBorrowKinkArgs>): UseQueryResult<Awaited<ReturnType<typeof getBorrowKink>>>;
|
|
@@ -4,6 +4,7 @@ import { asserts, getBorrowKink, } from "@stas-b-woof/compound";
|
|
|
4
4
|
export function toBorrowKinkQueryKey(args) {
|
|
5
5
|
const { market, block } = args;
|
|
6
6
|
return [
|
|
7
|
+
'useBorrowKink',
|
|
7
8
|
`${market ?? 'market'}`,
|
|
8
9
|
`${block ?? 'block'}`,
|
|
9
10
|
];
|
|
@@ -27,4 +28,3 @@ export function useBorrowKink(args) {
|
|
|
27
28
|
enabled: market !== undefined,
|
|
28
29
|
});
|
|
29
30
|
}
|
|
30
|
-
//# sourceMappingURL=useBorrowKink.js.map
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { type UseQueryResult } from "@tanstack/react-query";
|
|
2
|
+
import { type Address, type Optional, type Block, getBorrowPerSecondInterestRateBase } from "@stas-b-woof/compound";
|
|
3
|
+
export type ToBorrowPerSecondInterestRateBaseQueryKeyArgs = {
|
|
4
|
+
market?: Optional<Address>;
|
|
5
|
+
block?: Optional<Block>;
|
|
6
|
+
};
|
|
7
|
+
export declare function toBorrowPerSecondInterestRateBaseQueryKey(args: ToBorrowPerSecondInterestRateBaseQueryKeyArgs): readonly ["useBorrowPerSecondInterestRateBase", "market" | `0x${string}`, string];
|
|
8
|
+
export type UseBorrowPerSecondInterestRateBaseArgs = {
|
|
9
|
+
market?: Optional<Address>;
|
|
10
|
+
block?: Optional<Block>;
|
|
11
|
+
};
|
|
12
|
+
export declare function useBorrowPerSecondInterestRateBase(args?: Optional<UseBorrowPerSecondInterestRateBaseArgs>): UseQueryResult<Awaited<ReturnType<typeof getBorrowPerSecondInterestRateBase>>>;
|
|
@@ -4,6 +4,7 @@ import { asserts, getBorrowPerSecondInterestRateBase, } from "@stas-b-woof/compo
|
|
|
4
4
|
export function toBorrowPerSecondInterestRateBaseQueryKey(args) {
|
|
5
5
|
const { market, block } = args;
|
|
6
6
|
return [
|
|
7
|
+
'useBorrowPerSecondInterestRateBase',
|
|
7
8
|
`${market ?? 'market'}`,
|
|
8
9
|
`${block ?? 'block'}`,
|
|
9
10
|
];
|
|
@@ -27,4 +28,3 @@ export function useBorrowPerSecondInterestRateBase(args) {
|
|
|
27
28
|
enabled: market !== undefined,
|
|
28
29
|
});
|
|
29
30
|
}
|
|
30
|
-
//# sourceMappingURL=useBorrowPerSecondInterestRateBase.js.map
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { type UseQueryResult } from "@tanstack/react-query";
|
|
2
|
+
import { type Address, type Optional, type Block, getBorrowPerSecondInterestRateSlopeHigh } from "@stas-b-woof/compound";
|
|
3
|
+
export type ToBorrowPerSecondInterestRateSlopeHighQueryKeyArgs = {
|
|
4
|
+
market?: Optional<Address>;
|
|
5
|
+
block?: Optional<Block>;
|
|
6
|
+
};
|
|
7
|
+
export declare function toBorrowPerSecondInterestRateSlopeHighQueryKey(args: ToBorrowPerSecondInterestRateSlopeHighQueryKeyArgs): readonly ["useBorrowPerSecondInterestRateSlopeHigh", "market" | `0x${string}`, string];
|
|
8
|
+
export type UseBorrowPerSecondInterestRateSlopeHighArgs = {
|
|
9
|
+
market?: Optional<Address>;
|
|
10
|
+
block?: Optional<Block>;
|
|
11
|
+
};
|
|
12
|
+
export declare function useBorrowPerSecondInterestRateSlopeHigh(args?: Optional<UseBorrowPerSecondInterestRateSlopeHighArgs>): UseQueryResult<Awaited<ReturnType<typeof getBorrowPerSecondInterestRateSlopeHigh>>>;
|
|
@@ -4,6 +4,7 @@ import { asserts, getBorrowPerSecondInterestRateSlopeHigh, } from "@stas-b-woof/
|
|
|
4
4
|
export function toBorrowPerSecondInterestRateSlopeHighQueryKey(args) {
|
|
5
5
|
const { market, block } = args;
|
|
6
6
|
return [
|
|
7
|
+
'useBorrowPerSecondInterestRateSlopeHigh',
|
|
7
8
|
`${market ?? 'market'}`,
|
|
8
9
|
`${block ?? 'block'}`,
|
|
9
10
|
];
|
|
@@ -27,4 +28,3 @@ export function useBorrowPerSecondInterestRateSlopeHigh(args) {
|
|
|
27
28
|
enabled: market !== undefined,
|
|
28
29
|
});
|
|
29
30
|
}
|
|
30
|
-
//# sourceMappingURL=useBorrowPerSecondInterestRateSlopeHigh.js.map
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { type UseQueryResult } from "@tanstack/react-query";
|
|
2
|
+
import { type Address, type Optional, type Block, getBorrowPerSecondInterestRateSlopeLow } from "@stas-b-woof/compound";
|
|
3
|
+
export type ToBorrowPerSecondInterestRateSlopeLowQueryKeyArgs = {
|
|
4
|
+
market?: Optional<Address>;
|
|
5
|
+
block?: Optional<Block>;
|
|
6
|
+
};
|
|
7
|
+
export declare function toBorrowPerSecondInterestRateSlopeLowQueryKey(args: ToBorrowPerSecondInterestRateSlopeLowQueryKeyArgs): readonly ["useBorrowPerSecondInterestRateSlopeLow", "market" | `0x${string}`, string];
|
|
8
|
+
export type UseBorrowPerSecondInterestRateSlopeLowArgs = {
|
|
9
|
+
market?: Optional<Address>;
|
|
10
|
+
block?: Optional<Block>;
|
|
11
|
+
};
|
|
12
|
+
export declare function useBorrowPerSecondInterestRateSlopeLow(args?: Optional<UseBorrowPerSecondInterestRateSlopeLowArgs>): UseQueryResult<Awaited<ReturnType<typeof getBorrowPerSecondInterestRateSlopeLow>>>;
|
|
@@ -4,6 +4,7 @@ import { asserts, getBorrowPerSecondInterestRateSlopeLow, } from "@stas-b-woof/c
|
|
|
4
4
|
export function toBorrowPerSecondInterestRateSlopeLowQueryKey(args) {
|
|
5
5
|
const { market, block } = args;
|
|
6
6
|
return [
|
|
7
|
+
'useBorrowPerSecondInterestRateSlopeLow',
|
|
7
8
|
`${market ?? 'market'}`,
|
|
8
9
|
`${block ?? 'block'}`,
|
|
9
10
|
];
|
|
@@ -27,4 +28,3 @@ export function useBorrowPerSecondInterestRateSlopeLow(args) {
|
|
|
27
28
|
enabled: market !== undefined,
|
|
28
29
|
});
|
|
29
30
|
}
|
|
30
|
-
//# sourceMappingURL=useBorrowPerSecondInterestRateSlopeLow.js.map
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { type UseQueryResult } from "@tanstack/react-query";
|
|
2
|
+
import { BigDecimal } from "@stas-b-woof/compound/utils";
|
|
3
|
+
import { type Address, type Optional, type Block, getBorrowRate } from "@stas-b-woof/compound";
|
|
4
|
+
export type ToBorrowRateQueryKeyArgs = {
|
|
5
|
+
market?: Optional<Address>;
|
|
6
|
+
utilization?: Optional<BigDecimal>;
|
|
7
|
+
block?: Optional<Block>;
|
|
8
|
+
};
|
|
9
|
+
export declare function toBorrowRateQueryKey(args: ToBorrowRateQueryKeyArgs): readonly ["useBorrowRate", "market" | `0x${string}`, string, string];
|
|
10
|
+
export type UseBorrowRateArgs = {
|
|
11
|
+
market?: Optional<Address>;
|
|
12
|
+
utilization?: Optional<BigDecimal>;
|
|
13
|
+
block?: Optional<Block>;
|
|
14
|
+
};
|
|
15
|
+
export declare function useBorrowRate(args?: Optional<UseBorrowRateArgs>): UseQueryResult<Awaited<ReturnType<typeof getBorrowRate>>>;
|
|
@@ -1,16 +1,18 @@
|
|
|
1
1
|
import { useCompound } from "../useCompound.js";
|
|
2
2
|
import { useQuery } from "@tanstack/react-query";
|
|
3
|
+
import { BigDecimal } from "@stas-b-woof/compound/utils";
|
|
3
4
|
import { asserts, getBorrowRate, } from "@stas-b-woof/compound";
|
|
4
5
|
export function toBorrowRateQueryKey(args) {
|
|
5
6
|
const { market, utilization, block } = args;
|
|
6
7
|
return [
|
|
8
|
+
'useBorrowRate',
|
|
7
9
|
`${market ?? 'market'}`,
|
|
8
10
|
`${utilization ?? 'utilization'}`,
|
|
9
11
|
`${block ?? 'block'}`,
|
|
10
12
|
];
|
|
11
13
|
}
|
|
12
14
|
export function useBorrowRate(args) {
|
|
13
|
-
const { market, utilization, block } = args ?? {};
|
|
15
|
+
const { market, utilization, block, } = args ?? {};
|
|
14
16
|
const { client } = useCompound();
|
|
15
17
|
return useQuery({
|
|
16
18
|
queryKey: toBorrowRateQueryKey({
|
|
@@ -31,4 +33,3 @@ export function useBorrowRate(args) {
|
|
|
31
33
|
enabled: market !== undefined && utilization !== undefined,
|
|
32
34
|
});
|
|
33
35
|
}
|
|
34
|
-
//# sourceMappingURL=useBorrowRate.js.map
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { type UseQueryResult } from "@tanstack/react-query";
|
|
2
|
+
import { type Address, type Optional, type Block, type Amount, getCollateralQuote } from "@stas-b-woof/compound";
|
|
3
|
+
export type ToCollateralQuoteQueryKeyArgs = {
|
|
4
|
+
market?: Optional<Address>;
|
|
5
|
+
asset?: Optional<Address>;
|
|
6
|
+
baseAmount?: Optional<Amount>;
|
|
7
|
+
block?: Optional<Block>;
|
|
8
|
+
};
|
|
9
|
+
export declare function toCollateralQuoteQueryKey(args: ToCollateralQuoteQueryKeyArgs): readonly ["useCollateralQuote", "market" | `0x${string}`, `0x${string}` | "asset", string, string];
|
|
10
|
+
export type UseCollateralQuoteArgs = {
|
|
11
|
+
market?: Optional<Address>;
|
|
12
|
+
asset?: Optional<Address>;
|
|
13
|
+
baseAmount?: Optional<Amount>;
|
|
14
|
+
block?: Optional<Block>;
|
|
15
|
+
};
|
|
16
|
+
export declare function useCollateralQuote(args?: Optional<UseCollateralQuoteArgs>): UseQueryResult<Awaited<ReturnType<typeof getCollateralQuote>>>;
|
|
@@ -4,6 +4,7 @@ import { asserts, getCollateralQuote, } from "@stas-b-woof/compound";
|
|
|
4
4
|
export function toCollateralQuoteQueryKey(args) {
|
|
5
5
|
const { market, asset, baseAmount, block } = args;
|
|
6
6
|
return [
|
|
7
|
+
'useCollateralQuote',
|
|
7
8
|
`${market ?? 'market'}`,
|
|
8
9
|
`${asset ?? 'asset'}`,
|
|
9
10
|
`${baseAmount ?? 'baseAmount'}`,
|
|
@@ -35,4 +36,3 @@ export function useCollateralQuote(args) {
|
|
|
35
36
|
enabled: market !== undefined && asset !== undefined && baseAmount !== undefined,
|
|
36
37
|
});
|
|
37
38
|
}
|
|
38
|
-
//# sourceMappingURL=useCollateralQuote.js.map
|