@huma-finance/widgets 0.0.73-beta.922 → 0.0.73-beta.939
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/.env.example +3 -3
- package/{.eslintrc.js → .eslintrc.cjs} +1 -2
- package/.prettierrc.json +16 -0
- package/API.md +1 -1
- package/dist/index.js +220452 -11016
- package/dist/src/components/ApolloWrapper.d.ts +4 -0
- package/dist/src/components/ApproveAllowanceModal.d.ts +13 -0
- package/dist/src/components/ApproveAllowanceModalV2.d.ts +14 -0
- package/dist/src/components/BottomButton.d.ts +9 -0
- package/dist/src/components/ChainSupportProvider.d.ts +2 -0
- package/dist/src/components/ChooseAmountModal.d.ts +23 -0
- package/dist/src/components/ConfirmTransferModal.d.ts +19 -0
- package/dist/src/components/CreditLine/approve/1-ApproveAllowance.d.ts +9 -0
- package/dist/src/components/CreditLine/approve/2-Success.d.ts +8 -0
- package/dist/src/components/CreditLine/approve/index.d.ts +20 -0
- package/dist/src/components/CreditLine/autoPaybackV2/1-ApproveAllowance.d.ts +8 -0
- package/dist/src/components/CreditLine/autoPaybackV2/2-Success.d.ts +6 -0
- package/dist/src/components/CreditLine/autoPaybackV2/index.d.ts +15 -0
- package/dist/src/components/CreditLine/borrow/1-Evaluation.d.ts +8 -0
- package/dist/src/components/CreditLine/borrow/2-ChooseAmount.d.ts +8 -0
- package/dist/src/components/CreditLine/borrow/3-ApproveAllowance.d.ts +7 -0
- package/dist/src/components/CreditLine/borrow/4-Transfer.d.ts +7 -0
- package/dist/src/components/CreditLine/borrow/5-Success.d.ts +10 -0
- package/dist/src/components/CreditLine/borrow/6-Notifications.d.ts +6 -0
- package/dist/src/components/CreditLine/borrow/index.d.ts +19 -0
- package/dist/src/components/CreditLine/borrowV2/1-ChooseAmount.d.ts +9 -0
- package/dist/src/components/CreditLine/borrowV2/2-ApproveAllowance.d.ts +8 -0
- package/dist/src/components/CreditLine/borrowV2/3-Transfer.d.ts +7 -0
- package/dist/src/components/CreditLine/borrowV2/4-Success.d.ts +10 -0
- package/dist/src/components/CreditLine/borrowV2/5-Notifications.d.ts +6 -0
- package/dist/src/components/CreditLine/borrowV2/index.d.ts +15 -0
- package/dist/src/components/CreditLine/payment/1-ChooseAmount.d.ts +9 -0
- package/dist/src/components/CreditLine/payment/2-ApproveAllowance.d.ts +7 -0
- package/dist/src/components/CreditLine/payment/3-Transfer.d.ts +7 -0
- package/dist/src/components/CreditLine/payment/4-Success.d.ts +8 -0
- package/dist/src/components/CreditLine/payment/index.d.ts +17 -0
- package/dist/src/components/CreditLine/paymentV2/1-ChooseAmount.d.ts +11 -0
- package/dist/src/components/CreditLine/paymentV2/2-ApproveAllowance.d.ts +8 -0
- package/dist/src/components/CreditLine/paymentV2/3-Transfer.d.ts +8 -0
- package/dist/src/components/CreditLine/paymentV2/4-Success.d.ts +8 -0
- package/dist/src/components/CreditLine/paymentV2/index.d.ts +15 -0
- package/dist/src/components/CreditLine/solanaBorrow/1-ChooseAmount.d.ts +9 -0
- package/dist/src/components/CreditLine/solanaBorrow/2-Transfer.d.ts +7 -0
- package/dist/src/components/CreditLine/solanaBorrow/3-Done.d.ts +10 -0
- package/dist/src/components/CreditLine/solanaBorrow/index.d.ts +17 -0
- package/dist/src/components/CreditLine/solanaPayment/1-ChooseAmount.d.ts +9 -0
- package/dist/src/components/CreditLine/solanaPayment/2-Transfer.d.ts +7 -0
- package/dist/src/components/CreditLine/solanaPayment/3-Done.d.ts +8 -0
- package/dist/src/components/CreditLine/solanaPayment/index.d.ts +14 -0
- package/dist/src/components/CreditLine/supplyFLC/1-ApproveAllowance.d.ts +10 -0
- package/dist/src/components/CreditLine/supplyFLC/2-Transfer.d.ts +10 -0
- package/dist/src/components/CreditLine/supplyFLC/3-Success.d.ts +10 -0
- package/dist/src/components/CreditLine/supplyFLC/index.d.ts +15 -0
- package/dist/src/components/ErrorModal.d.ts +12 -0
- package/dist/src/components/HumaLoading.d.ts +7 -0
- package/dist/src/components/HumaSnackBar.d.ts +10 -0
- package/dist/src/components/InputAmountModal.d.ts +18 -0
- package/dist/src/components/InvoiceFactoring/borrow/1-Evaluation.d.ts +8 -0
- package/dist/src/components/InvoiceFactoring/borrow/2-ChooseAmount.d.ts +8 -0
- package/dist/src/components/InvoiceFactoring/borrow/3-ConfirmTransfer.d.ts +2 -0
- package/dist/src/components/InvoiceFactoring/borrow/4-ApproveNFT.d.ts +8 -0
- package/dist/src/components/InvoiceFactoring/borrow/5-Transfer.d.ts +8 -0
- package/dist/src/components/InvoiceFactoring/borrow/6-Success.d.ts +6 -0
- package/dist/src/components/InvoiceFactoring/borrow/index.d.ts +20 -0
- package/dist/src/components/InvoiceFactoring/payment/1-ChooseAmount.d.ts +8 -0
- package/dist/src/components/InvoiceFactoring/payment/2-ApproveAllowance.d.ts +7 -0
- package/dist/src/components/InvoiceFactoring/payment/3-Transfer.d.ts +7 -0
- package/dist/src/components/InvoiceFactoring/payment/4-Success.d.ts +8 -0
- package/dist/src/components/InvoiceFactoring/payment/index.d.ts +17 -0
- package/dist/src/components/Lend/addRedemptionV2/1-ChooseTranche.d.ts +8 -0
- package/dist/src/components/Lend/addRedemptionV2/2-ChooseAmount.d.ts +10 -0
- package/dist/src/components/Lend/addRedemptionV2/3-Transfer.d.ts +10 -0
- package/dist/src/components/Lend/addRedemptionV2/4-Done.d.ts +6 -0
- package/dist/src/components/Lend/addRedemptionV2/index.d.ts +23 -0
- package/dist/src/components/Lend/cancelRedemptionV2 /1-Transfer.d.ts +10 -0
- package/dist/src/components/Lend/cancelRedemptionV2 /2-Done.d.ts +10 -0
- package/dist/src/components/Lend/cancelRedemptionV2 /index.d.ts +22 -0
- package/dist/src/components/Lend/components/ApproveLenderBase.d.ts +14 -0
- package/dist/src/components/Lend/components/PersonaEvaluation.d.ts +17 -0
- package/dist/src/components/Lend/components/SecuritizeEvaluation.d.ts +8 -0
- package/dist/src/components/Lend/solanaAddRedemption/1-ChooseTranche.d.ts +8 -0
- package/dist/src/components/Lend/solanaAddRedemption/2-ChooseAmount.d.ts +11 -0
- package/dist/src/components/Lend/solanaAddRedemption/3-Transfer.d.ts +8 -0
- package/dist/src/components/Lend/solanaAddRedemption/4-Done.d.ts +8 -0
- package/dist/src/components/Lend/solanaAddRedemption/index.d.ts +19 -0
- package/dist/src/components/Lend/solanaCancelRedemption/1-ChooseTranche.d.ts +8 -0
- package/dist/src/components/Lend/solanaCancelRedemption/2-Transfer.d.ts +11 -0
- package/dist/src/components/Lend/solanaCancelRedemption/3-Done.d.ts +11 -0
- package/dist/src/components/Lend/solanaCancelRedemption/index.d.ts +16 -0
- package/dist/src/components/Lend/solanaEnableAutoRedemption/1-ApproveAllowance.d.ts +7 -0
- package/dist/src/components/Lend/solanaEnableAutoRedemption/2-Transfer.d.ts +9 -0
- package/dist/src/components/Lend/solanaEnableAutoRedemption/3-Success.d.ts +10 -0
- package/dist/src/components/Lend/solanaEnableAutoRedemption/index.d.ts +18 -0
- package/dist/src/components/Lend/solanaSupply/1-Evaluation.d.ts +12 -0
- package/dist/src/components/Lend/solanaSupply/2-ApproveLender.d.ts +10 -0
- package/dist/src/components/Lend/solanaSupply/3-ChooseTranche.d.ts +9 -0
- package/dist/src/components/Lend/solanaSupply/4-ChooseAmount.d.ts +13 -0
- package/dist/src/components/Lend/solanaSupply/5-ApproveAllowance.d.ts +7 -0
- package/dist/src/components/Lend/solanaSupply/6-Transfer.d.ts +11 -0
- package/dist/src/components/Lend/solanaSupply/7-Success.d.ts +12 -0
- package/dist/src/components/Lend/solanaSupply/8-PointsEarned.d.ts +11 -0
- package/dist/src/components/Lend/solanaSupply/index.d.ts +24 -0
- package/dist/src/components/Lend/solanaWithdraw/1-ConfirmTransfer.d.ts +9 -0
- package/dist/src/components/Lend/solanaWithdraw/2-Transfer.d.ts +9 -0
- package/dist/src/components/Lend/solanaWithdraw/3-Done.d.ts +10 -0
- package/dist/src/components/Lend/solanaWithdraw/index.d.ts +25 -0
- package/dist/src/components/Lend/stellarSupply/1-Evaluation.d.ts +4 -0
- package/dist/src/components/Lend/stellarSupply/2-ChooseTranche.d.ts +9 -0
- package/dist/src/components/Lend/stellarSupply/3-ChooseAmount.d.ts +12 -0
- package/dist/src/components/Lend/stellarSupply/4-Transfer.d.ts +8 -0
- package/dist/src/components/Lend/stellarSupply/5-Success.d.ts +10 -0
- package/dist/src/components/Lend/stellarSupply/index.d.ts +22 -0
- package/dist/src/components/Lend/supply/1-Evaluation/EvaluationEA.d.ts +8 -0
- package/dist/src/components/Lend/supply/1-Evaluation/EvaluationKYC.d.ts +8 -0
- package/dist/src/components/Lend/supply/1-Evaluation/index.d.ts +9 -0
- package/dist/src/components/Lend/supply/2-ChooseAmount.d.ts +11 -0
- package/dist/src/components/Lend/supply/3-ApproveAllowance.d.ts +7 -0
- package/dist/src/components/Lend/supply/4-Transfer.d.ts +7 -0
- package/dist/src/components/Lend/supply/5-Success.d.ts +9 -0
- package/dist/src/components/Lend/supply/6-Notifications.d.ts +6 -0
- package/dist/src/components/Lend/supply/index.d.ts +17 -0
- package/dist/src/components/Lend/supplyV2/1-ChooseTranche.d.ts +9 -0
- package/dist/src/components/Lend/supplyV2/2-Evaluation.d.ts +12 -0
- package/dist/src/components/Lend/supplyV2/3-ApproveLender.d.ts +10 -0
- package/dist/src/components/Lend/supplyV2/4-ChooseAmount.d.ts +14 -0
- package/dist/src/components/Lend/supplyV2/5-ApproveAllowance.d.ts +7 -0
- package/dist/src/components/Lend/supplyV2/6-Transfer.d.ts +11 -0
- package/dist/src/components/Lend/supplyV2/7-Success.d.ts +13 -0
- package/dist/src/components/Lend/supplyV2/8-Notifications.d.ts +8 -0
- package/dist/src/components/Lend/supplyV2/index.d.ts +23 -0
- package/dist/src/components/Lend/withdraw/1-CheckWithdrawble.d.ts +8 -0
- package/dist/src/components/Lend/withdraw/2-ChooseAmount.d.ts +10 -0
- package/dist/src/components/Lend/withdraw/3-Transfer.d.ts +7 -0
- package/dist/src/components/Lend/withdraw/4-Success.d.ts +8 -0
- package/dist/src/components/Lend/withdraw/index.d.ts +17 -0
- package/dist/src/components/Lend/withdrawV2/1-ConfirmTransfer.d.ts +11 -0
- package/dist/src/components/Lend/withdrawV2/2-Transfer.d.ts +9 -0
- package/dist/src/components/Lend/withdrawV2/3-Done.d.ts +10 -0
- package/dist/src/components/Lend/withdrawV2/index.d.ts +17 -0
- package/dist/src/components/LoadingModal.d.ts +9 -0
- package/dist/src/components/Notifi/NotifiContextWrapper.d.ts +7 -0
- package/dist/src/components/Notifi/NotifiSubscriptionModal.d.ts +7 -0
- package/dist/src/components/NumericFormatCustom.d.ts +14 -0
- package/dist/src/components/PointsEarned.d.ts +10 -0
- package/dist/src/components/ReceivableBackedCreditLine/borrow/1-ChooseAmount.d.ts +10 -0
- package/dist/src/components/ReceivableBackedCreditLine/borrow/2-ApproveAllowance.d.ts +8 -0
- package/dist/src/components/ReceivableBackedCreditLine/borrow/3-ApproveReceivable.d.ts +8 -0
- package/dist/src/components/ReceivableBackedCreditLine/borrow/4-Transfer.d.ts +8 -0
- package/dist/src/components/ReceivableBackedCreditLine/borrow/5-Success.d.ts +10 -0
- package/dist/src/components/ReceivableBackedCreditLine/borrow/6-Notifications.d.ts +6 -0
- package/dist/src/components/ReceivableBackedCreditLine/borrow/index.d.ts +17 -0
- package/dist/src/components/ReceivableBackedCreditLine/payment/1-ChoosePaymentType.d.ts +8 -0
- package/dist/src/components/ReceivableBackedCreditLine/payment/2-ChooseAmount.d.ts +12 -0
- package/dist/src/components/ReceivableBackedCreditLine/payment/3-ApproveAllowance.d.ts +10 -0
- package/dist/src/components/ReceivableBackedCreditLine/payment/4-CreateReceivable.d.ts +9 -0
- package/dist/src/components/ReceivableBackedCreditLine/payment/5-ApproveReceivable.d.ts +8 -0
- package/dist/src/components/ReceivableBackedCreditLine/payment/6-Transfer.d.ts +14 -0
- package/dist/src/components/ReceivableBackedCreditLine/payment/7-Success.d.ts +12 -0
- package/dist/src/components/ReceivableBackedCreditLine/payment/index.d.ts +21 -0
- package/dist/src/components/SignIn.d.ts +6 -0
- package/dist/src/components/SolanaErrorModal.d.ts +13 -0
- package/dist/src/components/SolanaTxDoneModal.d.ts +12 -0
- package/dist/src/components/SolanaTxSendModal.d.ts +12 -0
- package/dist/src/components/SolanaViewOnExplorer.d.ts +8 -0
- package/dist/src/components/StellarTxDoneModal.d.ts +12 -0
- package/dist/src/components/StellarTxSendModal.d.ts +8 -0
- package/dist/src/components/StellarViewOnExplorer.d.ts +8 -0
- package/dist/src/components/StreamFactoring/borrow/1-Evaluation.d.ts +9 -0
- package/dist/src/components/StreamFactoring/borrow/2-ChooseAmount.d.ts +8 -0
- package/dist/src/components/StreamFactoring/borrow/3-ConfirmTransfer.d.ts +2 -0
- package/dist/src/components/StreamFactoring/borrow/4-ApproveAllowance.d.ts +7 -0
- package/dist/src/components/StreamFactoring/borrow/5-Permit.d.ts +10 -0
- package/dist/src/components/StreamFactoring/borrow/6-Transfer.d.ts +7 -0
- package/dist/src/components/StreamFactoring/borrow/7-Success.d.ts +6 -0
- package/dist/src/components/StreamFactoring/borrow/index.d.ts +13 -0
- package/dist/src/components/StreamFactoring/payment/ChooseAmount.d.ts +8 -0
- package/dist/src/components/StreamFactoring/payment/Success.d.ts +8 -0
- package/dist/src/components/StreamFactoring/payment/Transfer.d.ts +7 -0
- package/dist/src/components/StreamFactoring/payment/index.d.ts +10 -0
- package/dist/src/components/SuperfluidFactoring/index.d.ts +12 -0
- package/dist/src/components/TxDoneModal.d.ts +9 -0
- package/dist/src/components/TxSendModal.d.ts +13 -0
- package/dist/src/components/TxSendModalV2.d.ts +13 -0
- package/dist/src/components/ViewOnExplorer.d.ts +6 -0
- package/dist/src/components/WidgetWrapper.d.ts +11 -0
- package/dist/src/components/WrapperModal.d.ts +8 -0
- package/dist/src/components/buttons/TableActionButton.d.ts +8 -0
- package/dist/src/components/buttons/index.d.ts +1 -0
- package/dist/src/components/humaModal/HumaModal.d.ts +13 -0
- package/dist/src/components/humaModal/HumaModalHeader.d.ts +12 -0
- package/dist/src/components/humaModal/index.d.ts +2 -0
- package/dist/src/components/icons/index.d.ts +23 -0
- package/dist/src/components/images/index.d.ts +3 -0
- package/dist/src/cosmos/CreditLineBorrow.fixture.d.ts +2 -0
- package/dist/src/cosmos/CreditLinePayment.fixture.d.ts +2 -0
- package/dist/src/cosmos/InvoiceFactoringBorrow.fixture.d.ts +2 -0
- package/dist/src/cosmos/InvoiceFactoringPayment.fixture.d.ts +2 -0
- package/dist/src/cosmos/LendSupply.fixture.d.ts +2 -0
- package/dist/src/cosmos/LendWithdraw.fixture.d.ts +2 -0
- package/dist/src/cosmos/SDKTesting.fixture.d.ts +2 -0
- package/dist/src/cosmos/SuperfluidFactoringBorrow.fixture.d.ts +2 -0
- package/dist/src/cosmos/WalletWrapper.d.ts +3 -0
- package/dist/src/cosmos/utils/index.d.ts +18 -0
- package/dist/src/hooks/useEA.d.ts +8 -0
- package/dist/src/hooks/useElementDimensions.d.ts +5 -0
- package/dist/src/hooks/useNotifi.d.ts +10 -0
- package/dist/src/hooks/useRedux.d.ts +6 -0
- package/dist/src/index.d.ts +385 -0
- package/dist/src/reportWebVitals.d.ts +3 -0
- package/dist/src/setupTests.d.ts +0 -0
- package/dist/src/store/index.d.ts +10 -0
- package/dist/src/store/widgets.reducers.d.ts +56 -0
- package/dist/src/store/widgets.selectors.d.ts +2 -0
- package/dist/src/store/widgets.store.d.ts +59 -0
- package/dist/src/theme/breakpoints.d.ts +5 -0
- package/dist/src/theme/components.d.ts +2 -0
- package/dist/src/theme/coreThemeConstants.d.ts +18 -0
- package/dist/src/theme/cssMixins.d.ts +20 -0
- package/dist/src/theme/hooks/useGetSizes.d.ts +12 -0
- package/dist/src/theme/index.d.ts +2 -0
- package/dist/src/theme/palette.d.ts +53 -0
- package/dist/src/theme/shape.d.ts +2 -0
- package/dist/src/theme/theme.types.d.ts +71 -0
- package/dist/src/theme/typography.d.ts +2 -0
- package/dist/vite.config.d.ts +2 -0
- package/package.json +21 -34
- package/src/components/Lend/components/ApproveLenderBase.tsx +6 -3
- package/src/components/Lend/components/PersonaEvaluation.tsx +5 -2
- package/src/components/Lend/components/SecuritizeEvaluation.tsx +5 -2
- package/src/components/Lend/solanaSupply/6-Transfer.tsx +1 -1
- package/src/components/Lend/solanaSupply/8-PointsEarned.tsx +6 -2
- package/src/components/Lend/supply/1-Evaluation/EvaluationKYC.tsx +5 -2
- package/src/components/Lend/supplyV2/2-Evaluation.tsx +2 -2
- package/src/components/Lend/supplyV2/3-ApproveLender.tsx +1 -1
- package/src/components/Lend/supplyV2/6-Transfer.tsx +1 -2
- package/src/components/Lend/supplyV2/index.tsx +1 -1
- package/src/components/Notifi/NotifiContextWrapper.tsx +3 -3
- package/src/components/PointsEarned.tsx +3 -3
- package/src/components/icons/index.tsx +21 -21
- package/src/cosmos/InvoiceFactoringBorrow.fixture.tsx +1 -1
- package/src/cosmos/SuperfluidFactoringBorrow.fixture.tsx +2 -4
- package/src/cosmos/utils/index.ts +4 -2
- package/src/hooks/useEA.ts +1 -2
- package/src/hooks/useNotifi.ts +1 -1
- package/src/index.tsx +4 -7
- package/tsconfig.json +20 -17
- package/vite-env.d.ts +2 -0
- package/vite.config.ts +48 -0
- package/webpack.cosmos.js +1 -1
- package/.prettierrc.js +0 -16
- package/babel.config.js +0 -15
- package/config-overrides.js +0 -9
- package/dist/cjs/index.cjs +0 -11779
- package/dist/cjs/index.cjs.map +0 -1
- package/dist/index.d.ts +0 -758
- package/dist/index.js.map +0 -1
- package/public/favicon.ico +0 -0
- package/public/index.html +0 -40
- package/public/logo192.png +0 -0
- package/public/logo512.png +0 -0
- package/public/manifest.json +0 -25
- package/public/robots.txt +0 -3
- package/rollup.config.js +0 -81
- package/src/cosmos/utils/env.ts +0 -6
- package/src/react-app-env.d.ts +0 -1
package/dist/index.d.ts
DELETED
|
@@ -1,758 +0,0 @@
|
|
|
1
|
-
import * as _emotion_react_jsx_runtime from '@emotion/react/jsx-runtime';
|
|
2
|
-
import { JsonRpcProvider } from '@ethersproject/providers';
|
|
3
|
-
import { Provider } from '@web3-react/types';
|
|
4
|
-
import { POOL_NAME, POOL_TYPE, SolanaPoolInfo, TrancheType, CloseModalOptions, StellarPoolInfo } from '@huma-finance/shared';
|
|
5
|
-
import { BigNumberish, BigNumber } from 'ethers';
|
|
6
|
-
import { SolanaPoolState, LenderStateAccount, StellarPoolState } from '@huma-finance/web-shared';
|
|
7
|
-
import { Mint } from '@solana/spl-token';
|
|
8
|
-
import React from 'react';
|
|
9
|
-
|
|
10
|
-
/**
|
|
11
|
-
* Credit line pool approve allowance props
|
|
12
|
-
* @typedef {Object} CreditLineApproveProps
|
|
13
|
-
* @property {POOL_NAME} poolName The name of the pool.
|
|
14
|
-
* @property {POOL_TYPE} poolType The type of the pool.
|
|
15
|
-
* @property {BigNumberish|undefined} amount The amount to approve.
|
|
16
|
-
* @property {function():void} handleClose Function to notify to close the widget modal when user clicks the 'x' close button.
|
|
17
|
-
* @property {function((number|undefined)):void|undefined} handleSuccess Optional function to notify that the credit line pool approve allowance action is successful.
|
|
18
|
-
*/
|
|
19
|
-
type CreditLineApproveProps = {
|
|
20
|
-
poolName: keyof typeof POOL_NAME;
|
|
21
|
-
poolType: keyof typeof POOL_TYPE;
|
|
22
|
-
amount?: BigNumberish;
|
|
23
|
-
handleClose: () => void;
|
|
24
|
-
handleSuccess?: (blockNumber?: number) => void;
|
|
25
|
-
};
|
|
26
|
-
|
|
27
|
-
/**
|
|
28
|
-
* Auto payback props V2
|
|
29
|
-
* @typedef {Object} AutoPaybackPropsV2
|
|
30
|
-
* @property {POOL_NAME} poolName The name of the pool.
|
|
31
|
-
* @property {function():void} handleClose Function to notify to close the widget modal when user clicks the 'x' close button.
|
|
32
|
-
* @property {function((number|undefined)):void|undefined} handleSuccess Optional function to notify that the credit line pool borrow action is successful.
|
|
33
|
-
*/
|
|
34
|
-
interface AutoPaybackPropsV2 {
|
|
35
|
-
poolName: keyof typeof POOL_NAME;
|
|
36
|
-
handleClose: () => void;
|
|
37
|
-
handleSuccess?: (blockNumber?: number) => void;
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
/**
|
|
41
|
-
* Credit line pool borrow props
|
|
42
|
-
* @typedef {Object} CreditLineBorrowProps
|
|
43
|
-
* @property {POOL_NAME} poolName The name of the pool.
|
|
44
|
-
* @property {POOL_TYPE} poolType The type of the pool.
|
|
45
|
-
* @property {function():void} handleClose Function to notify to close the widget modal when user clicks the 'x' close button.
|
|
46
|
-
* @property {function():void|undefined} handleApprove Optional function to notify when user is approved successfully to borrow again pool.
|
|
47
|
-
* @property {function((number|undefined)):void|undefined} handleSuccess Optional function to notify that the credit line pool borrow action is successful.
|
|
48
|
-
*/
|
|
49
|
-
interface CreditLineBorrowProps {
|
|
50
|
-
poolName: keyof typeof POOL_NAME;
|
|
51
|
-
poolType: keyof typeof POOL_TYPE;
|
|
52
|
-
handleClose: () => void;
|
|
53
|
-
handleApprove?: () => void;
|
|
54
|
-
handleSuccess?: (blockNumber?: number) => void;
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
/**
|
|
58
|
-
* Credit line pool borrow props V2
|
|
59
|
-
* @typedef {Object} CreditLineBorrowPropsV2
|
|
60
|
-
* @property {POOL_NAME} poolName The name of the pool.
|
|
61
|
-
* @property {function():void} handleClose Function to notify to close the widget modal when user clicks the 'x' close button.
|
|
62
|
-
* @property {function((number|undefined)):void|undefined} handleSuccess Optional function to notify that the credit line pool borrow action is successful.
|
|
63
|
-
*/
|
|
64
|
-
interface CreditLineBorrowPropsV2 {
|
|
65
|
-
poolName: keyof typeof POOL_NAME;
|
|
66
|
-
handleClose: () => void;
|
|
67
|
-
handleSuccess?: (blockNumber?: number) => void;
|
|
68
|
-
}
|
|
69
|
-
|
|
70
|
-
/**
|
|
71
|
-
* Credit line pool payment props
|
|
72
|
-
* @typedef {Object} CreditLinePaymentProps
|
|
73
|
-
* @property {POOL_NAME} poolName The name of the pool.
|
|
74
|
-
* @property {POOL_TYPE} poolType The type of the pool.
|
|
75
|
-
* @property {function():void} handleClose Function to notify to close the widget modal when user clicks the 'x' close button.
|
|
76
|
-
* @property {function((number|undefined)):void|undefined} handleSuccess Optional function to notify that the credit line pool payment action is successful.
|
|
77
|
-
*/
|
|
78
|
-
type CreditLinePaymentProps = {
|
|
79
|
-
poolName: keyof typeof POOL_NAME;
|
|
80
|
-
poolType: keyof typeof POOL_TYPE;
|
|
81
|
-
handleClose: () => void;
|
|
82
|
-
handleSuccess?: (blockNumber?: number) => void;
|
|
83
|
-
};
|
|
84
|
-
|
|
85
|
-
/**
|
|
86
|
-
* Credit line pool payment props V2
|
|
87
|
-
* @typedef {Object} CreditLinePaymentPropsV2
|
|
88
|
-
* @property {POOL_NAME} poolName The name of the pool.
|
|
89
|
-
* @property {function():void} handleClose Function to notify to close the widget modal when user clicks the 'x' close button.
|
|
90
|
-
* @property {function((number|undefined)):void|undefined} handleSuccess Optional function to notify that the credit line pool payment action is successful.
|
|
91
|
-
*/
|
|
92
|
-
type CreditLinePaymentPropsV2 = {
|
|
93
|
-
poolName: keyof typeof POOL_NAME;
|
|
94
|
-
handleClose: () => void;
|
|
95
|
-
handleSuccess?: (blockNumber?: number) => void;
|
|
96
|
-
};
|
|
97
|
-
|
|
98
|
-
/**
|
|
99
|
-
* Lend pool supply props
|
|
100
|
-
* @typedef {Object} SolanaBorrowProps
|
|
101
|
-
* @property {SolanaPoolInfo} poolInfo The metadata of the pool.
|
|
102
|
-
* @property {SolanaPoolState} poolState The current state config of the pool. * @property {function():void} handleClose Function to notify to close the widget modal when user clicks the 'x' close button.
|
|
103
|
-
* @property {function():void|undefined} handleSuccess Optional function to notify that the lending pool supply action is successful.
|
|
104
|
-
*/
|
|
105
|
-
interface SolanaBorrowProps {
|
|
106
|
-
poolInfo: SolanaPoolInfo;
|
|
107
|
-
poolState: SolanaPoolState;
|
|
108
|
-
handleClose: () => void;
|
|
109
|
-
handleSuccess?: () => void;
|
|
110
|
-
}
|
|
111
|
-
|
|
112
|
-
/**
|
|
113
|
-
* Lend pool supply props
|
|
114
|
-
* @typedef {Object} SolanaPaymentProps
|
|
115
|
-
* @property {SolanaPoolInfo} poolInfo The metadata of the pool.
|
|
116
|
-
* @property {function():void|undefined} handleSuccess Optional function to notify that the lending pool supply action is successful.
|
|
117
|
-
*/
|
|
118
|
-
interface SolanaPaymentProps {
|
|
119
|
-
poolInfo: SolanaPoolInfo;
|
|
120
|
-
handleClose: () => void;
|
|
121
|
-
handleSuccess?: () => void;
|
|
122
|
-
}
|
|
123
|
-
|
|
124
|
-
/**
|
|
125
|
-
* Supply first loss cover props
|
|
126
|
-
* @typedef {Object} SupplyFirstLossCoverProps
|
|
127
|
-
* @property {POOL_NAME} poolName The name of the pool.
|
|
128
|
-
* @property {function():void} handleClose Function to notify to close the widget modal when user clicks the 'x' close button.
|
|
129
|
-
* @property {function((number|undefined)):void|undefined} handleSuccess Optional function to notify that the credit line pool borrow action is successful.
|
|
130
|
-
*/
|
|
131
|
-
interface SupplyFirstLossCoverProps {
|
|
132
|
-
poolName: keyof typeof POOL_NAME;
|
|
133
|
-
handleClose: () => void;
|
|
134
|
-
handleSuccess?: (blockNumber?: number) => void;
|
|
135
|
-
}
|
|
136
|
-
|
|
137
|
-
/**
|
|
138
|
-
* Invoice factoring pool borrow props
|
|
139
|
-
* @typedef {Object} InvoiceFactoringBorrowProps
|
|
140
|
-
* @property {POOL_NAME} poolName The name of the pool.
|
|
141
|
-
* @property {POOL_TYPE} poolType The type of the pool.
|
|
142
|
-
* @property {string|BigNumber} tokenId The NFT token id representing invoice.
|
|
143
|
-
* @property {function():void} handleClose Function to notify to close the widget modal when user clicks the 'x' close button.
|
|
144
|
-
* @property {function((number|undefined)):void|undefined} handleSuccess Optional function to notify that the invoice pool borrow action is successful.
|
|
145
|
-
*/
|
|
146
|
-
interface InvoiceFactoringBorrowProps {
|
|
147
|
-
poolName: keyof typeof POOL_NAME;
|
|
148
|
-
poolType: keyof typeof POOL_TYPE;
|
|
149
|
-
tokenId: string | BigNumber;
|
|
150
|
-
handleClose: () => void;
|
|
151
|
-
handleSuccess?: (blockNumber?: number) => void;
|
|
152
|
-
}
|
|
153
|
-
|
|
154
|
-
/**
|
|
155
|
-
* Invoice factoring pool payment props
|
|
156
|
-
* @typedef {Object} InvoiceFactoringPaymentProps
|
|
157
|
-
* @property {POOL_NAME} poolName The name of the pool.
|
|
158
|
-
* @property {POOL_TYPE} poolType The type of the pool.
|
|
159
|
-
* @property {function():void} handleClose Function to notify to close the widget modal when user clicks the 'x' close button.
|
|
160
|
-
* @property {function((number|undefined)):void|undefined} handleSuccess Optional function to notify that the invoice pool payment action is successful.
|
|
161
|
-
*/
|
|
162
|
-
type InvoiceFactoringPaymentProps = {
|
|
163
|
-
poolName: keyof typeof POOL_NAME;
|
|
164
|
-
poolType: keyof typeof POOL_TYPE;
|
|
165
|
-
handleClose: () => void;
|
|
166
|
-
handleSuccess?: (blockNumber?: number) => void;
|
|
167
|
-
};
|
|
168
|
-
|
|
169
|
-
/**
|
|
170
|
-
* Lend pool add redemption props
|
|
171
|
-
* @typedef {Object} AddRedemptionPropsV2
|
|
172
|
-
* @property {POOL_NAME} poolName The name of the pool.
|
|
173
|
-
* @property {POOL_NTrancheTypeAME} tranche The tranche type.
|
|
174
|
-
* @property {function():void} handleClose Function to notify to close the widget modal when user clicks the 'x' close button.
|
|
175
|
-
* @property {function((number|undefined)):void|undefined} handleSuccess Optional function to notify that the lending pool withdraw action is successful.
|
|
176
|
-
*/
|
|
177
|
-
type AddRedemptionPropsV2 = {
|
|
178
|
-
poolName: keyof typeof POOL_NAME;
|
|
179
|
-
tranche?: TrancheType;
|
|
180
|
-
handleClose: () => void;
|
|
181
|
-
handleSuccess?: (blockNumber?: number) => void;
|
|
182
|
-
};
|
|
183
|
-
|
|
184
|
-
/**
|
|
185
|
-
* Lend pool cancel redemption request props
|
|
186
|
-
* @typedef {Object} CancelRedemptionPropsV2
|
|
187
|
-
* @property {POOL_NAME} poolName The name of the pool.
|
|
188
|
-
* @property {TrancheType} trancheType The type of the tranche.
|
|
189
|
-
* @property {function():void} handleClose Function to notify to close the widget modal when user clicks the 'x' close button.
|
|
190
|
-
* @property {function((number|undefined)):void|undefined} handleSuccess Optional function to notify that the lending pool withdraw action is successful.
|
|
191
|
-
*/
|
|
192
|
-
type CancelRedemptionPropsV2 = {
|
|
193
|
-
poolName: keyof typeof POOL_NAME;
|
|
194
|
-
trancheType: TrancheType;
|
|
195
|
-
handleClose: () => void;
|
|
196
|
-
handleSuccess?: (blockNumber?: number) => void;
|
|
197
|
-
};
|
|
198
|
-
|
|
199
|
-
/**
|
|
200
|
-
* Lend pool supply props
|
|
201
|
-
* @typedef {Object} SolanaLendAddRedemptionProps
|
|
202
|
-
* @property {SolanaPoolInfo} poolInfo The metadata of the pool.
|
|
203
|
-
* @property {SolanaPoolState} poolState The current state config of the pool. * @property {function():void} handleClose Function to notify to close the widget modal when user clicks the 'x' close button.
|
|
204
|
-
* @property {POOL_NTrancheTypeAME} tranche The tranche type.
|
|
205
|
-
* @property {function():void|undefined} handleSuccess Optional function to notify that the lending pool supply action is successful.
|
|
206
|
-
*/
|
|
207
|
-
interface SolanaLendAddRedemptionProps {
|
|
208
|
-
poolInfo: SolanaPoolInfo;
|
|
209
|
-
poolState: SolanaPoolState;
|
|
210
|
-
tranche?: TrancheType;
|
|
211
|
-
handleClose: () => void;
|
|
212
|
-
handleSuccess?: () => void;
|
|
213
|
-
}
|
|
214
|
-
|
|
215
|
-
/**
|
|
216
|
-
* Lend pool supply props
|
|
217
|
-
* @typedef {Object} SolanaLendCancelRedemptionProps
|
|
218
|
-
* @property {SolanaPoolInfo} poolInfo The metadata of the pool.
|
|
219
|
-
* @property {SolanaPoolState} poolState The current state config of the pool. * @property {function():void} handleClose Function to notify to close the widget modal when user clicks the 'x' close button.
|
|
220
|
-
* @property {function():void|undefined} handleSuccess Optional function to notify that the lending pool supply action is successful.
|
|
221
|
-
*/
|
|
222
|
-
interface SolanaLendCancelRedemptionProps {
|
|
223
|
-
poolInfo: SolanaPoolInfo;
|
|
224
|
-
tranche?: TrancheType;
|
|
225
|
-
handleClose: () => void;
|
|
226
|
-
handleSuccess?: () => void;
|
|
227
|
-
}
|
|
228
|
-
|
|
229
|
-
/**
|
|
230
|
-
* Lend pool supply props
|
|
231
|
-
* @typedef {Object} SolanaEnableAutoRedemptionProps
|
|
232
|
-
* @property {SolanaPoolInfo} poolInfo The metadata of the pool.
|
|
233
|
-
* @property {SolanaPoolState} poolState The current state config of the pool.
|
|
234
|
-
* @property {function((CloseModalOptions|undefined)):void} handleClose Function to notify to close the widget modal when user clicks the 'x' close button.
|
|
235
|
-
* @property {function():void|undefined} handleSuccess Optional function to notify that the lending pool supply action is successful.
|
|
236
|
-
*/
|
|
237
|
-
interface SolanaEnableAutoRedemptionProps {
|
|
238
|
-
poolInfo: SolanaPoolInfo;
|
|
239
|
-
poolState: SolanaPoolState;
|
|
240
|
-
handleClose: (options?: CloseModalOptions) => void;
|
|
241
|
-
handleSuccess?: () => void;
|
|
242
|
-
}
|
|
243
|
-
|
|
244
|
-
/**
|
|
245
|
-
* Lend pool supply props
|
|
246
|
-
* @typedef {Object} SolanaLendSupplyProps
|
|
247
|
-
* @property {SolanaPoolInfo} poolInfo The metadata of the pool.
|
|
248
|
-
* @property {SolanaPoolState} poolState The current state config of the pool.
|
|
249
|
-
* @param {string} documentHash The subscription file hash.
|
|
250
|
-
* @property {function((CloseModalOptions|undefined)):void} handleClose Function to notify to close the widget modal when user clicks the 'x' close button.
|
|
251
|
-
* @property {function():void|undefined} handleSuccess Optional function to notify that the lending pool supply action is successful.
|
|
252
|
-
*/
|
|
253
|
-
interface SolanaLendSupplyProps {
|
|
254
|
-
poolInfo: SolanaPoolInfo;
|
|
255
|
-
poolState: SolanaPoolState;
|
|
256
|
-
documentHash: string;
|
|
257
|
-
handleClose: (options?: CloseModalOptions) => void;
|
|
258
|
-
handleSuccess?: () => void;
|
|
259
|
-
}
|
|
260
|
-
|
|
261
|
-
/**
|
|
262
|
-
* Solana lend pool withdraw props
|
|
263
|
-
* @typedef {Object} SolanaLendWithdrawProps
|
|
264
|
-
* @property {SolanaPoolInfo} poolInfo The metadata of the pool.
|
|
265
|
-
* @property {SolanaPoolState} poolState The current state config of the pool.
|
|
266
|
-
* @property {LenderStateAccount} lenderStateAccount The lender state account of the user.
|
|
267
|
-
* @property {Mint} trancheMintAccount The mint account of the tranche.
|
|
268
|
-
* @property {TrancheType} trancheType The type of the tranche.
|
|
269
|
-
* @property {function():void} handleClose Function to notify to close the widget modal when user clicks the 'x' close button.
|
|
270
|
-
* @property {function((number|undefined)):void|undefined} handleSuccess Optional function to notify that the lending pool withdraw action is successful.
|
|
271
|
-
*/
|
|
272
|
-
type SolanaLendWithdrawProps = {
|
|
273
|
-
poolInfo: SolanaPoolInfo;
|
|
274
|
-
poolState: SolanaPoolState;
|
|
275
|
-
lenderStateAccount: LenderStateAccount;
|
|
276
|
-
trancheMintAccount: Mint;
|
|
277
|
-
trancheType: TrancheType;
|
|
278
|
-
handleClose: () => void;
|
|
279
|
-
handleSuccess?: (blockNumber?: number) => void;
|
|
280
|
-
};
|
|
281
|
-
|
|
282
|
-
/**
|
|
283
|
-
* Lend pool supply props
|
|
284
|
-
* @typedef {Object} StellarLendSupplyProps
|
|
285
|
-
* @property {StellarPoolInfo} poolInfo The metadata of the pool.
|
|
286
|
-
* @property {StellarPoolState} poolState The current state config of the pool.
|
|
287
|
-
* @property {function((CloseModalOptions|undefined)):void} handleClose Function to notify to close the widget modal when user clicks the 'x' close button.
|
|
288
|
-
* @property {function():void|undefined} handleSuccess Optional function to notify that the lending pool supply action is successful.
|
|
289
|
-
*/
|
|
290
|
-
interface StellarLendSupplyProps {
|
|
291
|
-
poolInfo: StellarPoolInfo;
|
|
292
|
-
poolState: StellarPoolState;
|
|
293
|
-
handleClose: (options?: CloseModalOptions) => void;
|
|
294
|
-
handleSuccess?: () => void;
|
|
295
|
-
}
|
|
296
|
-
|
|
297
|
-
/**
|
|
298
|
-
* Lend pool supply props
|
|
299
|
-
* @typedef {Object} LendSupplyProps
|
|
300
|
-
* @property {POOL_NAME} poolName The name of the pool.
|
|
301
|
-
* @property {POOL_TYPE} poolType The type of the pool.
|
|
302
|
-
* @property {function():void} handleClose Function to notify to close the widget modal when user clicks the 'x' close button.
|
|
303
|
-
* @property {function((number|undefined)):void|undefined} handleSuccess Optional function to notify that the lending pool supply action is successful.
|
|
304
|
-
*/
|
|
305
|
-
interface LendSupplyProps {
|
|
306
|
-
poolName: keyof typeof POOL_NAME;
|
|
307
|
-
poolType: keyof typeof POOL_TYPE;
|
|
308
|
-
handleClose: () => void;
|
|
309
|
-
handleSuccess?: (blockNumber?: number) => void;
|
|
310
|
-
}
|
|
311
|
-
|
|
312
|
-
interface Campaign {
|
|
313
|
-
id: string;
|
|
314
|
-
campaignGroupId: string;
|
|
315
|
-
}
|
|
316
|
-
/**
|
|
317
|
-
* Lend pool supply props
|
|
318
|
-
* @typedef {Object} LendSupplyPropsV2
|
|
319
|
-
* @property {POOL_NAME} poolName The name of the pool.
|
|
320
|
-
* @property {Campaign} campaign The campaign info.
|
|
321
|
-
* @param {string} documentHash The subscription file hash.
|
|
322
|
-
* @property {function((CloseModalOptions|undefined)):void} handleClose Function to notify to close the widget modal when user clicks the 'x' close button.
|
|
323
|
-
* @property {function((number|undefined)):void|undefined} handleSuccess Optional function to notify that the lending pool supply action is successful.
|
|
324
|
-
*/
|
|
325
|
-
interface LendSupplyPropsV2 {
|
|
326
|
-
poolName: keyof typeof POOL_NAME;
|
|
327
|
-
campaign?: Campaign;
|
|
328
|
-
documentHash: string;
|
|
329
|
-
handleClose: (options?: CloseModalOptions) => void;
|
|
330
|
-
handleSuccess?: (blockNumber?: number) => void;
|
|
331
|
-
}
|
|
332
|
-
|
|
333
|
-
/**
|
|
334
|
-
* Lend pool withdraw props
|
|
335
|
-
* @typedef {Object} LendWithdrawProps
|
|
336
|
-
* @property {POOL_NAME} poolName The name of the pool.
|
|
337
|
-
* @property {POOL_TYPE} poolType The type of the pool.
|
|
338
|
-
* @property {function():void} handleClose Function to notify to close the widget modal when user clicks the 'x' close button.
|
|
339
|
-
* @property {function((number|undefined)):void|undefined} handleSuccess Optional function to notify that the lending pool withdraw action is successful.
|
|
340
|
-
*/
|
|
341
|
-
type LendWithdrawProps = {
|
|
342
|
-
poolName: keyof typeof POOL_NAME;
|
|
343
|
-
poolType: keyof typeof POOL_TYPE;
|
|
344
|
-
handleClose: () => void;
|
|
345
|
-
handleSuccess?: (blockNumber?: number) => void;
|
|
346
|
-
};
|
|
347
|
-
|
|
348
|
-
/**
|
|
349
|
-
* Lend pool withdraw props
|
|
350
|
-
* @typedef {Object} LendWithdrawPropsV2
|
|
351
|
-
* @property {POOL_NAME} poolName The name of the pool.
|
|
352
|
-
* @property {TrancheType} trancheType The type of the tranche.
|
|
353
|
-
* @property {function():void} handleClose Function to notify to close the widget modal when user clicks the 'x' close button.
|
|
354
|
-
* @property {function((number|undefined)):void|undefined} handleSuccess Optional function to notify that the lending pool withdraw action is successful.
|
|
355
|
-
*/
|
|
356
|
-
type LendWithdrawPropsV2 = {
|
|
357
|
-
poolName: keyof typeof POOL_NAME;
|
|
358
|
-
trancheType: TrancheType;
|
|
359
|
-
handleClose: () => void;
|
|
360
|
-
handleSuccess?: (blockNumber?: number) => void;
|
|
361
|
-
};
|
|
362
|
-
|
|
363
|
-
/**
|
|
364
|
-
* Receivable backed credit line pool borrow props V2
|
|
365
|
-
* @typedef {Object} ReceivableBackedCreditLineBorrowPropsV2
|
|
366
|
-
* @property {POOL_NAME} poolName The name of the pool.
|
|
367
|
-
* @property {tokenId} tokenId The receivable token id.
|
|
368
|
-
* @property {function():void} handleClose Function to notify to close the widget modal when user clicks the 'x' close button.
|
|
369
|
-
* @property {function((number|undefined)):void|undefined} handleSuccess Optional function to notify that the credit line pool borrow action is successful.
|
|
370
|
-
*/
|
|
371
|
-
interface ReceivableBackedCreditLineBorrowPropsV2 {
|
|
372
|
-
poolName: keyof typeof POOL_NAME;
|
|
373
|
-
tokenId: string;
|
|
374
|
-
handleClose: () => void;
|
|
375
|
-
handleSuccess?: (blockNumber?: number) => void;
|
|
376
|
-
}
|
|
377
|
-
|
|
378
|
-
/**
|
|
379
|
-
* Credit line pool payment props V2
|
|
380
|
-
* @typedef {Object} CreditLinePaymentPropsV2
|
|
381
|
-
* @property {POOL_NAME} poolName The name of the pool.
|
|
382
|
-
* @property {tokenId} tokenID The receivable token id.
|
|
383
|
-
* @property {function():void} handleClose Function to notify to close the widget modal when user clicks the 'x' close button.
|
|
384
|
-
* @property {function((number|undefined)):void|undefined} handleSuccess Optional function to notify that the credit line pool payment action is successful.
|
|
385
|
-
*/
|
|
386
|
-
type ReceivableBackedCreditLinePaymentPropsV2 = {
|
|
387
|
-
poolName: keyof typeof POOL_NAME;
|
|
388
|
-
tokenId: string;
|
|
389
|
-
handleClose: () => void;
|
|
390
|
-
handleSuccess?: (blockNumber?: number) => void;
|
|
391
|
-
};
|
|
392
|
-
|
|
393
|
-
type Props = {
|
|
394
|
-
chainId: number | undefined;
|
|
395
|
-
children?: any;
|
|
396
|
-
};
|
|
397
|
-
declare function NotifiContextWrapper({ chainId, children, }: Props): React.ReactElement | null;
|
|
398
|
-
|
|
399
|
-
/**
|
|
400
|
-
* Mapping of your JSON-RPC connections indexed by chainId
|
|
401
|
-
* @typedef {Object} JsonRpcConnectionMap
|
|
402
|
-
* @property {Object.<number, string|Array<string>|JsonRpcProvider|Array<JsonRpcProvider>>} chainId Chain id to map the JSON-RPC URL/URLs or JsonRpcProvider/JsonRpcProviders
|
|
403
|
-
*/
|
|
404
|
-
type JsonRpcConnectionMap = {
|
|
405
|
-
[chainId: number]: string | string[] | JsonRpcProvider | JsonRpcProvider[];
|
|
406
|
-
};
|
|
407
|
-
/**
|
|
408
|
-
* Object representing the props passed to web3 provider
|
|
409
|
-
* @typedef {Object} WidgetProps
|
|
410
|
-
* @property {desiredChainId|undefined} desiredChainId Optional desired chain id, will trigger the switch network action if different from the current chain id
|
|
411
|
-
* @property {JsonRpcConnectionMap|undefined} jsonRpcUrlMap Optional mapping of your JSON-RPC connections indexed by chainId
|
|
412
|
-
* @property {Eip1193Provider|JsonRpcProvider} provider EIP-1193 provider or JsonRpc Provider
|
|
413
|
-
*/
|
|
414
|
-
type WidgetProps = {
|
|
415
|
-
handleClose?: () => void;
|
|
416
|
-
desiredChainId?: number;
|
|
417
|
-
jsonRpcUrlMap?: JsonRpcConnectionMap;
|
|
418
|
-
provider: Provider | JsonRpcProvider;
|
|
419
|
-
};
|
|
420
|
-
/**
|
|
421
|
-
* Invoice factoring pool borrow widget props
|
|
422
|
-
* @typedef {Object} InvoiceFactoringBorrowWidgetProps
|
|
423
|
-
* @property {InvoiceFactoringBorrowProps} InvoiceFactoringBorrowProps - Invoice factoring pool borrow props.
|
|
424
|
-
* @property {WidgetProps} WidgetProps - Widget general props.
|
|
425
|
-
*/
|
|
426
|
-
type InvoiceFactoringBorrowWidgetProps = InvoiceFactoringBorrowProps & WidgetProps;
|
|
427
|
-
/**
|
|
428
|
-
* Invoice factoring borrow widget
|
|
429
|
-
*
|
|
430
|
-
* @param {InvoiceFactoringBorrowWidgetProps} props - The invoice factoring pool borrow widget props.
|
|
431
|
-
* @returns Invoice factoring pool borrow widget component
|
|
432
|
-
*/
|
|
433
|
-
declare function InvoiceFactoringBorrowWidget(props: InvoiceFactoringBorrowWidgetProps): _emotion_react_jsx_runtime.JSX.Element;
|
|
434
|
-
/**
|
|
435
|
-
* Invoice factoring pool payment widget props
|
|
436
|
-
* @typedef {Object} InvoiceFactoringPaymentWidgetProps
|
|
437
|
-
* @property {InvoiceFactoringPaymentProps} InvoiceFactoringPaymentProps - Invoice factoring pool payment props.
|
|
438
|
-
* @property {WidgetProps} WidgetProps - Widget general props.
|
|
439
|
-
*/
|
|
440
|
-
type InvoiceFactoringPaymentWidgetProps = InvoiceFactoringPaymentProps & WidgetProps;
|
|
441
|
-
/**
|
|
442
|
-
* Invoice factoring payment widget
|
|
443
|
-
*
|
|
444
|
-
* @param {InvoiceFactoringPaymentWidgetProps} props - The invoice factoring pool payment widget props.
|
|
445
|
-
* @returns Invoice factoring pool payment widget component
|
|
446
|
-
*/
|
|
447
|
-
declare function InvoiceFactoringPaymentWidget(props: InvoiceFactoringPaymentWidgetProps): _emotion_react_jsx_runtime.JSX.Element;
|
|
448
|
-
/**
|
|
449
|
-
* Credit line pool borrow widget props
|
|
450
|
-
* @typedef {Object} CreditLineBorrowWidgetProps
|
|
451
|
-
* @property {CreditLineBorrowProps} CreditLineBorrowProps - Credit line pool borrow props.
|
|
452
|
-
* @property {WidgetProps} WidgetProps - Widget general props.
|
|
453
|
-
*/
|
|
454
|
-
type CreditLineBorrowWidgetProps = CreditLineBorrowProps & WidgetProps;
|
|
455
|
-
/**
|
|
456
|
-
* Credit line borrow widget
|
|
457
|
-
*
|
|
458
|
-
* @param {CreditLineBorrowWidgetProps} props - The credit line pool borrow widget props.
|
|
459
|
-
* @returns Credit line pool borrow widget component
|
|
460
|
-
*/
|
|
461
|
-
declare function CreditLineBorrowWidget(props: CreditLineBorrowWidgetProps): _emotion_react_jsx_runtime.JSX.Element;
|
|
462
|
-
/**
|
|
463
|
-
* Credit line pool borrow widget props V2
|
|
464
|
-
* @typedef {Object} CreditLineBorrowWidgetPropsV2
|
|
465
|
-
* @property {CreditLineBorrowPropsV2} CreditLineBorrowPropsV2 - Credit line pool borrow props V2.
|
|
466
|
-
* @property {WidgetProps} WidgetProps - Widget general props.
|
|
467
|
-
*/
|
|
468
|
-
type CreditLineBorrowWidgetPropsV2 = CreditLineBorrowPropsV2 & WidgetProps;
|
|
469
|
-
/**
|
|
470
|
-
* Credit line borrow widget V2
|
|
471
|
-
*
|
|
472
|
-
* @param {CreditLineBorrowWidgetPropsV2} props - The credit line pool borrow widget props V2.
|
|
473
|
-
* @returns Credit line pool borrow widget component V2
|
|
474
|
-
*/
|
|
475
|
-
declare function CreditLineBorrowWidgetV2(props: CreditLineBorrowWidgetPropsV2): _emotion_react_jsx_runtime.JSX.Element;
|
|
476
|
-
/**
|
|
477
|
-
* Credit line pool payment widget props
|
|
478
|
-
* @typedef {Object} CreditLinePaymentWidgetProps
|
|
479
|
-
* @property {CreditLinePaymentProps} CreditLinePaymentProps - Credit line pool payment props.
|
|
480
|
-
* @property {WidgetProps} WidgetProps - Widget general props.
|
|
481
|
-
*/
|
|
482
|
-
type CreditLinePaymentWidgetProps = CreditLinePaymentProps & WidgetProps;
|
|
483
|
-
/**
|
|
484
|
-
* Credit line payment widget
|
|
485
|
-
*
|
|
486
|
-
* @param {CreditLinePaymentWidgetProps} props - The credit line pool payment widget props.
|
|
487
|
-
* @returns Credit line pool payment widget component
|
|
488
|
-
*/
|
|
489
|
-
declare function CreditLinePaymentWidget(props: CreditLinePaymentWidgetProps): _emotion_react_jsx_runtime.JSX.Element;
|
|
490
|
-
/**
|
|
491
|
-
* Credit line pool payment widget props V2
|
|
492
|
-
* @typedef {Object} CreditLinePaymentWidgetPropsV2
|
|
493
|
-
* @property {CreditLinePaymentPropsV2} CreditLinePaymentPropsV2 - Credit line pool payment props V2.
|
|
494
|
-
* @property {WidgetProps} WidgetProps - Widget general props.
|
|
495
|
-
*/
|
|
496
|
-
type CreditLinePaymentWidgetPropsV2 = CreditLinePaymentPropsV2 & WidgetProps;
|
|
497
|
-
/**
|
|
498
|
-
* Credit line payment widget V2
|
|
499
|
-
*
|
|
500
|
-
* @param {CreditLinePaymentWidgetPropsV2} props - The credit line pool payment widget props V2.
|
|
501
|
-
* @returns Credit line pool payment widget component V2
|
|
502
|
-
*/
|
|
503
|
-
declare function CreditLinePaymentWidgetV2(props: CreditLinePaymentWidgetPropsV2): _emotion_react_jsx_runtime.JSX.Element;
|
|
504
|
-
/**
|
|
505
|
-
* Credit line allowance approval widget props
|
|
506
|
-
* @typedef {Object} CreditLinePaymentWidgetProps
|
|
507
|
-
* @property {CreditLineApproveProps} CreditLineApproveProps - Credit line allowance approve props.
|
|
508
|
-
* @property {WidgetProps} WidgetProps - Widget general props.
|
|
509
|
-
*/
|
|
510
|
-
type CreditLineApproveWidgetProps = CreditLineApproveProps & WidgetProps;
|
|
511
|
-
/**
|
|
512
|
-
* Credit line allowance approve widget to top up a pool's ERC20 token allowance.
|
|
513
|
-
* To be used when re-enabling autopay and other pool actions that require allowance.
|
|
514
|
-
*
|
|
515
|
-
* @param {CreditLineApproveWidgetProps} props - The credit line pool approve widget props.
|
|
516
|
-
* @returns Credit line pool approve widget component
|
|
517
|
-
*/
|
|
518
|
-
declare function CreditLineApproveWidget(props: CreditLineApproveWidgetProps): _emotion_react_jsx_runtime.JSX.Element;
|
|
519
|
-
/**
|
|
520
|
-
* Lend pool supply widget props
|
|
521
|
-
* @typedef {Object} LendSupplyWidgetProps
|
|
522
|
-
* @property {LendSupplyProps} LendSupplyProps - Lend pool supply props.
|
|
523
|
-
* @property {WidgetProps} WidgetProps - Widget general props.
|
|
524
|
-
*/
|
|
525
|
-
type LendSupplyWidgetProps = LendSupplyProps & WidgetProps;
|
|
526
|
-
/**
|
|
527
|
-
* Lend supply widget
|
|
528
|
-
*
|
|
529
|
-
* @param {LendSupplyWidgetProps} props - The lend pool supply widget props.
|
|
530
|
-
* @returns Lend pool supply widget component
|
|
531
|
-
*/
|
|
532
|
-
declare function LendSupplyWidget(props: LendSupplyWidgetProps): _emotion_react_jsx_runtime.JSX.Element;
|
|
533
|
-
/**
|
|
534
|
-
* Lend pool supply widget props V2
|
|
535
|
-
* @typedef {Object} LendSupplyWidgetPropsV2
|
|
536
|
-
* @property {LendSupplyPropsV2} LendSupplyPropsV2 - Lend pool supply props V2.
|
|
537
|
-
* @property {WidgetProps} WidgetProps - Widget general props.
|
|
538
|
-
*/
|
|
539
|
-
type LendSupplyWidgetPropsV2 = LendSupplyPropsV2 & WidgetProps;
|
|
540
|
-
/**
|
|
541
|
-
* Lend supply widget V2
|
|
542
|
-
*
|
|
543
|
-
* @param {LendSupplyWidgetPropsV2} props - The lend pool supply widget props V2.
|
|
544
|
-
* @returns Lend pool supply widget component V2
|
|
545
|
-
*/
|
|
546
|
-
declare function LendSupplyWidgetV2(props: LendSupplyWidgetPropsV2): _emotion_react_jsx_runtime.JSX.Element;
|
|
547
|
-
/**
|
|
548
|
-
* Lend pool withdraw widget props
|
|
549
|
-
* @typedef {Object} LendWithdrawWidgetProps
|
|
550
|
-
* @property {LendWithdrawProps} LendWithdrawProps - Lend pool withdraw props.
|
|
551
|
-
* @property {WidgetProps} WidgetProps - Widget general props.
|
|
552
|
-
*/
|
|
553
|
-
type LendWithdrawWidgetProps = LendWithdrawProps & WidgetProps;
|
|
554
|
-
/**
|
|
555
|
-
* Lend withdraw widget
|
|
556
|
-
*
|
|
557
|
-
* @param {LendWithdrawWidgetProps} props The lend pool withdraw widget props
|
|
558
|
-
* @returns Lend pool withdraw widget component
|
|
559
|
-
*/
|
|
560
|
-
declare function LendWithdrawWidget(props: LendWithdrawWidgetProps): _emotion_react_jsx_runtime.JSX.Element;
|
|
561
|
-
/**
|
|
562
|
-
* Lend pool supply widget props V2
|
|
563
|
-
* @typedef {Object} LendWithdrawWidgetPropsV2
|
|
564
|
-
* @property {LendWithdrawPropsV2} LendSupplyPropsV2 - Lend pool supply props V2.
|
|
565
|
-
* @property {WidgetProps} WidgetProps - Widget general props.
|
|
566
|
-
*/
|
|
567
|
-
type LendWithdrawWidgetPropsV2 = LendWithdrawPropsV2 & WidgetProps;
|
|
568
|
-
/**
|
|
569
|
-
* Lend withdraw widget V2
|
|
570
|
-
*
|
|
571
|
-
* @param {LendWithdrawWidgetPropsV2} props - The lend pool supply widget props V2.
|
|
572
|
-
* @returns Lend pool supply widget component V2
|
|
573
|
-
*/
|
|
574
|
-
declare function LendWithdrawWidgetV2(props: LendWithdrawWidgetPropsV2): _emotion_react_jsx_runtime.JSX.Element;
|
|
575
|
-
/**
|
|
576
|
-
* Lend pool add redemption widget props V2
|
|
577
|
-
* @typedef {Object} AddRedemptionWidgetPropsV2
|
|
578
|
-
* @property {AddRedemptionWidgetPropsV2} AddRedemptionWidgetPropsV2 - Lend pool add redemption props V2.
|
|
579
|
-
* @property {WidgetProps} WidgetProps - Widget general props.
|
|
580
|
-
*/
|
|
581
|
-
type AddRedemptionWidgetPropsV2 = AddRedemptionPropsV2 & WidgetProps;
|
|
582
|
-
/**
|
|
583
|
-
* Add redemption widget V2
|
|
584
|
-
*
|
|
585
|
-
* @param {AddRedemptionWidgetPropsV2} props - The lend pool add redemption widget props V2.
|
|
586
|
-
* @returns Lend pool add redemption widget component V2
|
|
587
|
-
*/
|
|
588
|
-
declare function AddRedemptionWidgetV2(props: AddRedemptionWidgetPropsV2): _emotion_react_jsx_runtime.JSX.Element;
|
|
589
|
-
/**
|
|
590
|
-
* Lend pool cancel redemption widget props V2
|
|
591
|
-
* @typedef {Object} CancelRedemptionWidgetPropsV2
|
|
592
|
-
* @property {CancelRedemptionWidgetPropsV2} CancelRedemptionWidgetPropsV2 - Lend pool cancel redemption props V2.
|
|
593
|
-
* @property {WidgetProps} WidgetProps - Widget general props.
|
|
594
|
-
*/
|
|
595
|
-
type CancelRedemptionWidgetPropsV2 = CancelRedemptionPropsV2 & WidgetProps;
|
|
596
|
-
/**
|
|
597
|
-
* Cancel redemption widget V2
|
|
598
|
-
*
|
|
599
|
-
* @param {CancelRedemptionWidgetPropsV2} props - The lend pool cancel redemption widget props V2.
|
|
600
|
-
* @returns Lend pool cancel redemption widget component V2
|
|
601
|
-
*/
|
|
602
|
-
declare function CancelRedemptionWidgetV2(props: CancelRedemptionWidgetPropsV2): _emotion_react_jsx_runtime.JSX.Element;
|
|
603
|
-
/**
|
|
604
|
-
* Supply first loss cover widget props
|
|
605
|
-
* @typedef {Object} SupplyFirstLossCoverWidgetProps
|
|
606
|
-
* @property {SupplyFirstLossCover} SupplyFirstLossCover - Supply first loss cover props.
|
|
607
|
-
* @property {WidgetProps} WidgetProps - Widget general props.
|
|
608
|
-
*/
|
|
609
|
-
type SupplyFirstLossCoverWidgetProps = SupplyFirstLossCoverProps & WidgetProps;
|
|
610
|
-
/**
|
|
611
|
-
* Supply first loss cover widget
|
|
612
|
-
*
|
|
613
|
-
* @param {SupplyFirstLossCoverWidgetProps} props - The supply first loss cover widget props.
|
|
614
|
-
* @returns Supply first loss cover widget component
|
|
615
|
-
*/
|
|
616
|
-
declare function SupplyFirstLossCoverWidget(props: SupplyFirstLossCoverWidgetProps): _emotion_react_jsx_runtime.JSX.Element;
|
|
617
|
-
/**
|
|
618
|
-
* Superfluid factoring widget
|
|
619
|
-
*
|
|
620
|
-
* @param {WidgetProps} props - The superfluid factoring widget props.
|
|
621
|
-
* @returns Superfluid factoring widget component
|
|
622
|
-
*/
|
|
623
|
-
declare function SuperfluidFactoringWidget(props: WidgetProps): _emotion_react_jsx_runtime.JSX.Element;
|
|
624
|
-
/**
|
|
625
|
-
* Auto payback widget props V2
|
|
626
|
-
* @typedef {Object} AutoPaybackWidgetPropsV2
|
|
627
|
-
* @property {AutoPayback} AutoPayback - Auto payback props V2.
|
|
628
|
-
* @property {WidgetProps} WidgetProps - Widget general props.
|
|
629
|
-
*/
|
|
630
|
-
type AutoPaybackWidgetPropsV2 = AutoPaybackPropsV2 & WidgetProps;
|
|
631
|
-
/**
|
|
632
|
-
* Supply first loss cover widget
|
|
633
|
-
*
|
|
634
|
-
* @param {SupplyFirstLossCoverWidgetProps} props - The supply first loss cover widget props.
|
|
635
|
-
* @returns Supply first loss cover widget component
|
|
636
|
-
*/
|
|
637
|
-
declare function AutoPaybackWidgetV2(props: AutoPaybackWidgetPropsV2): _emotion_react_jsx_runtime.JSX.Element;
|
|
638
|
-
/**
|
|
639
|
-
* Receivable backed credit line pool borrow widget props V2
|
|
640
|
-
* @typedef {Object} ReceivableBackedCreditLineBorrowWidgetPropsV2
|
|
641
|
-
* @property {ReceivableBackedCreditLineBorrowPropsV2} ReceivableBackedCreditLineBorrowPropsV2 - Receivable backed credit line pool borrow props V2.
|
|
642
|
-
* @property {WidgetProps} WidgetProps - Widget general props.
|
|
643
|
-
*/
|
|
644
|
-
type ReceivableBackedCreditLineBorrowWidgetPropsV2 = ReceivableBackedCreditLineBorrowPropsV2 & WidgetProps;
|
|
645
|
-
/**
|
|
646
|
-
* Receivable backed credit line borrow widget V2
|
|
647
|
-
*
|
|
648
|
-
* @param {ReceivableBackedCreditLineBorrowWidgetPropsV2} props - The receivable backed credit line pool borrow widget props V2.
|
|
649
|
-
* @returns Receivable backed credit line pool borrow widget component V2
|
|
650
|
-
*/
|
|
651
|
-
declare function ReceivableBackedCreditLineBorrowWidgetV2(props: ReceivableBackedCreditLineBorrowWidgetPropsV2): _emotion_react_jsx_runtime.JSX.Element;
|
|
652
|
-
/**
|
|
653
|
-
* Receivable backed credit line pool payment widget props V2
|
|
654
|
-
* @typedef {Object} ReceivableBackedCreditLinePaymentWidgetPropsV2
|
|
655
|
-
* @property {ReceivableBackedCreditLinePaymentPropsV2} ReceivableBackedCreditLinePaymentPropsV2 - Receivable backed credit line pool payment props V2.
|
|
656
|
-
* @property {WidgetProps} WidgetProps - Widget general props.
|
|
657
|
-
*/
|
|
658
|
-
type ReceivableBackedCreditLinePaymentWidgetPropsV2 = ReceivableBackedCreditLinePaymentPropsV2 & WidgetProps;
|
|
659
|
-
/**
|
|
660
|
-
* Receivable backed credit line payment widget V2
|
|
661
|
-
*
|
|
662
|
-
* @param {ReceivableBackedCreditLinePaymentWidgetPropsV2} props - The receivable backed credit line pool payment widget props V2.
|
|
663
|
-
* @returns Receivable backed credit line pool payment widget component V2
|
|
664
|
-
*/
|
|
665
|
-
declare function ReceivableBackedCreditLinePaymentWidgetV2(props: ReceivableBackedCreditLinePaymentWidgetPropsV2): _emotion_react_jsx_runtime.JSX.Element;
|
|
666
|
-
/**
|
|
667
|
-
* Object representing the props passed to Solana widgets
|
|
668
|
-
* @typedef {Object} GenericWidgetProps
|
|
669
|
-
*/
|
|
670
|
-
type GenericWidgetProps = {
|
|
671
|
-
handleClose?: () => void;
|
|
672
|
-
};
|
|
673
|
-
/**
|
|
674
|
-
* Lend pool supply widget props for Solana pools
|
|
675
|
-
* @typedef {Object} SolanaLendSupplyWidgetProps
|
|
676
|
-
*/
|
|
677
|
-
type SolanaLendSupplyWidgetProps = SolanaLendSupplyProps & GenericWidgetProps;
|
|
678
|
-
/**
|
|
679
|
-
* Lend pool supply widget for Solana pools
|
|
680
|
-
*
|
|
681
|
-
* @param {SolanaLendSupplyWidgetProps} props - Widget props
|
|
682
|
-
*/
|
|
683
|
-
declare function SolanaLendSupplyWidget(props: SolanaLendSupplyWidgetProps): _emotion_react_jsx_runtime.JSX.Element;
|
|
684
|
-
/**
|
|
685
|
-
* Lend pool supply widget props for Solana pools
|
|
686
|
-
* @typedef {Object} SolanaLendAddRedemptionWidgetProps
|
|
687
|
-
*/
|
|
688
|
-
type SolanaLendAddRedemptionWidgetProps = SolanaLendAddRedemptionProps & GenericWidgetProps;
|
|
689
|
-
/**
|
|
690
|
-
* Lend pool supply widget for Solana pools
|
|
691
|
-
*
|
|
692
|
-
* @param {SolanaLendAddRedemptionWidgetProps} props - Widget props
|
|
693
|
-
*/
|
|
694
|
-
declare function SolanaLendAddRedemptionWidget(props: SolanaLendAddRedemptionWidgetProps): _emotion_react_jsx_runtime.JSX.Element;
|
|
695
|
-
/**
|
|
696
|
-
* Lend pool supply widget props for Solana pools
|
|
697
|
-
* @typedef {Object} SolanaLendCancelRedemptionWidgetProps
|
|
698
|
-
*/
|
|
699
|
-
type SolanaLendCancelRedemptionWidgetProps = SolanaLendCancelRedemptionProps & GenericWidgetProps;
|
|
700
|
-
/**
|
|
701
|
-
* Lend pool supply widget for Solana pools
|
|
702
|
-
*
|
|
703
|
-
* @param {SolanaLendCancelRedemptionWidgetProps} props - Widget props
|
|
704
|
-
*/
|
|
705
|
-
declare function SolanaLendCancelRedemptionWidget(props: SolanaLendCancelRedemptionWidgetProps): _emotion_react_jsx_runtime.JSX.Element;
|
|
706
|
-
/**
|
|
707
|
-
* Lend pool supply widget props for Solana pools
|
|
708
|
-
* @typedef {Object} SolanaBorrowWidgetProps
|
|
709
|
-
*/
|
|
710
|
-
type SolanaBorrowWidgetProps = SolanaBorrowProps & GenericWidgetProps;
|
|
711
|
-
/**
|
|
712
|
-
* Lend pool supply widget for Solana pools
|
|
713
|
-
*
|
|
714
|
-
* @param {SolanaBorrowWidgetProps} props - Widget props
|
|
715
|
-
*/
|
|
716
|
-
declare function SolanaBorrowWidget(props: SolanaBorrowWidgetProps): _emotion_react_jsx_runtime.JSX.Element;
|
|
717
|
-
/**
|
|
718
|
-
* Lend pool supply widget props for Solana pools
|
|
719
|
-
* @typedef {Object} SolanaPaymentWidgetProps
|
|
720
|
-
*/
|
|
721
|
-
type SolanaPaymentWidgetProps = SolanaPaymentProps & GenericWidgetProps;
|
|
722
|
-
/**
|
|
723
|
-
* Lend pool supply widget for Solana pools
|
|
724
|
-
*
|
|
725
|
-
* @param {SolanaPaymentWidgetProps} props - Widget props
|
|
726
|
-
*/
|
|
727
|
-
declare function SolanaPaymentWidget(props: SolanaPaymentWidgetProps): _emotion_react_jsx_runtime.JSX.Element;
|
|
728
|
-
/**
|
|
729
|
-
* Solana lend withdraw widget
|
|
730
|
-
*
|
|
731
|
-
* @param {SolanaLendWithdrawProps} props - The solana lend pool withdraw widget props.
|
|
732
|
-
* @returns Solana lend pool withdraw widget component
|
|
733
|
-
*/
|
|
734
|
-
declare function SolanaLendWithdrawWidget(props: SolanaLendWithdrawProps): _emotion_react_jsx_runtime.JSX.Element;
|
|
735
|
-
/**
|
|
736
|
-
* Lend pool supply widget props for Stellar pools
|
|
737
|
-
* @typedef {Object} StellarLendSupplyWidgetProps
|
|
738
|
-
*/
|
|
739
|
-
type StellarLendSupplyWidgetProps = StellarLendSupplyProps & GenericWidgetProps;
|
|
740
|
-
/**
|
|
741
|
-
* Lend pool supply widget for Stellar pools
|
|
742
|
-
*
|
|
743
|
-
* @param {StellarLendSupplyWidgetProps} props - Widget props
|
|
744
|
-
*/
|
|
745
|
-
declare function StellarLendSupplyWidget(props: StellarLendSupplyWidgetProps): _emotion_react_jsx_runtime.JSX.Element;
|
|
746
|
-
/**
|
|
747
|
-
* Lend pool supply widget props for Solana pools
|
|
748
|
-
* @typedef {Object} SolanaEnableAutoRedemptionWidgetProps
|
|
749
|
-
*/
|
|
750
|
-
type SolanaEnableAutoRedemptionWidgetProps = SolanaEnableAutoRedemptionProps & GenericWidgetProps;
|
|
751
|
-
/**
|
|
752
|
-
* Lend pool supply widget for Solana pools
|
|
753
|
-
*
|
|
754
|
-
* @param {SolanaEnableAutoRedemptionWidgetProps} props - Widget props
|
|
755
|
-
*/
|
|
756
|
-
declare function SolanaEnableAutoRedemptionWidget(props: SolanaEnableAutoRedemptionWidgetProps): _emotion_react_jsx_runtime.JSX.Element;
|
|
757
|
-
|
|
758
|
-
export { AddRedemptionWidgetV2, AutoPaybackWidgetV2, CancelRedemptionWidgetV2, CreditLineApproveWidget, CreditLineBorrowWidget, CreditLineBorrowWidgetV2, CreditLinePaymentWidget, CreditLinePaymentWidgetV2, InvoiceFactoringBorrowWidget, InvoiceFactoringPaymentWidget, LendSupplyWidget, LendSupplyWidgetV2, LendWithdrawWidget, LendWithdrawWidgetV2, NotifiContextWrapper, ReceivableBackedCreditLineBorrowWidgetV2, ReceivableBackedCreditLinePaymentWidgetV2, SolanaBorrowWidget, SolanaEnableAutoRedemptionWidget, SolanaLendAddRedemptionWidget, SolanaLendCancelRedemptionWidget, SolanaLendSupplyWidget, SolanaLendWithdrawWidget, SolanaPaymentWidget, StellarLendSupplyWidget, SuperfluidFactoringWidget, SupplyFirstLossCoverWidget };
|