@huma-finance/widgets 0.0.35 → 0.0.36

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (178) hide show
  1. package/.env.example +2 -2
  2. package/.eslintignore +2 -2
  3. package/.eslintrc.js +64 -64
  4. package/.prettierignore +4 -4
  5. package/.prettierrc.js +16 -16
  6. package/API.md +332 -332
  7. package/LICENSE +660 -660
  8. package/README.md +48 -48
  9. package/babel.config.js +15 -15
  10. package/config-overrides.js +9 -9
  11. package/cosmos.config.json +7 -7
  12. package/cypress/e2e/01-invoice-factoring-borrow.test.ts +62 -62
  13. package/cypress/support/e2e.ts +76 -76
  14. package/cypress/support/ethereum.ts +142 -142
  15. package/cypress/tsconfig.json +9 -9
  16. package/cypress/utils/index.ts +54 -54
  17. package/cypress.config.ts +20 -20
  18. package/dist/cjs/index.cjs +1646 -1226
  19. package/dist/cjs/index.cjs.map +1 -1
  20. package/dist/index.d.ts +227 -195
  21. package/dist/index.js +1648 -1229
  22. package/dist/index.js.map +1 -1
  23. package/jsdoc2md.json +20 -20
  24. package/package.json +5 -4
  25. package/public/index.html +40 -40
  26. package/public/manifest.json +25 -25
  27. package/public/robots.txt +3 -3
  28. package/rollup.config.js +81 -81
  29. package/src/components/Activity.tsx +128 -132
  30. package/src/components/ApolloWrapper.tsx +15 -15
  31. package/src/components/ApproveAllowanceModal.tsx +138 -124
  32. package/src/components/BottomButton.tsx +33 -33
  33. package/src/components/ChainNotSupportedModal.tsx +33 -33
  34. package/src/components/ChooseAmountModal.tsx +322 -322
  35. package/src/components/ConfirmTransferModal.tsx +153 -153
  36. package/src/components/CreditLine/approve/1-ApproveAllowance.tsx +34 -0
  37. package/src/components/CreditLine/approve/2-Success.tsx +43 -0
  38. package/src/components/CreditLine/approve/index.tsx +85 -0
  39. package/src/components/CreditLine/borrow/1-Evaluation.tsx +157 -157
  40. package/src/components/CreditLine/borrow/2-ChooseAmount.tsx +74 -68
  41. package/src/components/CreditLine/borrow/{4-ApproveAllowance.tsx → 3-ApproveAllowance.tsx} +29 -29
  42. package/src/components/CreditLine/borrow/{3-Transfer.tsx → 4-Transfer.tsx} +34 -44
  43. package/src/components/CreditLine/borrow/5-Success.tsx +38 -38
  44. package/src/components/CreditLine/borrow/6-Notifications.tsx +10 -10
  45. package/src/components/CreditLine/borrow/index.tsx +136 -136
  46. package/src/components/CreditLine/payment/1-ChooseAmount.tsx +67 -67
  47. package/src/components/CreditLine/payment/2-ApproveAllowance.tsx +23 -23
  48. package/src/components/CreditLine/payment/3-Transfer.tsx +34 -34
  49. package/src/components/CreditLine/payment/4-Success.tsx +39 -39
  50. package/src/components/CreditLine/payment/index.tsx +94 -94
  51. package/src/components/ErrorModal.tsx +136 -136
  52. package/src/components/Factoring/FactoredList.tsx +143 -143
  53. package/src/components/Factoring/UpcomingList.tsx +90 -90
  54. package/src/components/Factoring/index.ts +2 -2
  55. package/src/components/HumaLoading.tsx +68 -68
  56. package/src/components/HumaSnackBar.tsx +60 -60
  57. package/src/components/HumaTable.tsx +203 -158
  58. package/src/components/InvoiceFactoring/borrow/1-Evaluation.tsx +49 -49
  59. package/src/components/InvoiceFactoring/borrow/2-ChooseAmount.tsx +88 -88
  60. package/src/components/InvoiceFactoring/borrow/3-ConfirmTransfer.tsx +37 -37
  61. package/src/components/InvoiceFactoring/borrow/4-ApproveNFT.tsx +55 -55
  62. package/src/components/InvoiceFactoring/borrow/5-Transfer.tsx +34 -34
  63. package/src/components/InvoiceFactoring/borrow/6-Success.tsx +20 -20
  64. package/src/components/InvoiceFactoring/borrow/index.tsx +94 -94
  65. package/src/components/InvoiceFactoring/payment/1-ChooseAmount.tsx +67 -67
  66. package/src/components/InvoiceFactoring/payment/2-ApproveAllowance.tsx +23 -23
  67. package/src/components/InvoiceFactoring/payment/3-Transfer.tsx +34 -34
  68. package/src/components/InvoiceFactoring/payment/4-Success.tsx +23 -23
  69. package/src/components/InvoiceFactoring/payment/index.tsx +86 -86
  70. package/src/components/Lend/supply/1-Evaluation/EvaluationEA.tsx +90 -90
  71. package/src/components/Lend/supply/1-Evaluation/EvaluationKYC.tsx +319 -286
  72. package/src/components/Lend/supply/1-Evaluation/index.tsx +31 -31
  73. package/src/components/Lend/supply/2-ChooseAmount.tsx +69 -69
  74. package/src/components/Lend/supply/3-ApproveAllowance.tsx +25 -25
  75. package/src/components/Lend/supply/4-Transfer.tsx +32 -32
  76. package/src/components/Lend/supply/5-Success.tsx +60 -60
  77. package/src/components/Lend/supply/6-Notifications.tsx +10 -10
  78. package/src/components/Lend/supply/index.tsx +167 -167
  79. package/src/components/Lend/withdraw/1-CheckWithdrawble.tsx +73 -73
  80. package/src/components/Lend/withdraw/2-ChooseAmount.tsx +50 -50
  81. package/src/components/Lend/withdraw/3-Transfer.tsx +32 -32
  82. package/src/components/Lend/withdraw/4-Success.tsx +49 -49
  83. package/src/components/Lend/withdraw/index.tsx +101 -101
  84. package/src/components/LoadingModal.tsx +49 -49
  85. package/src/components/Notifi/NotifiSubscriptionModal.tsx +268 -264
  86. package/src/components/StreamFactoring/borrow/1-Evaluation.tsx +55 -55
  87. package/src/components/StreamFactoring/borrow/2-ChooseAmount.tsx +127 -127
  88. package/src/components/StreamFactoring/borrow/3-ConfirmTransfer.tsx +42 -42
  89. package/src/components/StreamFactoring/borrow/4-ApproveAllowance.tsx +33 -33
  90. package/src/components/StreamFactoring/borrow/5-Permit.tsx +144 -144
  91. package/src/components/StreamFactoring/borrow/6-Transfer.tsx +37 -37
  92. package/src/components/StreamFactoring/borrow/7-Success.tsx +20 -20
  93. package/src/components/StreamFactoring/borrow/index.tsx +94 -94
  94. package/src/components/StreamFactoring/payment/ChooseAmount.tsx +54 -54
  95. package/src/components/StreamFactoring/payment/Success.tsx +23 -23
  96. package/src/components/StreamFactoring/payment/Transfer.tsx +34 -34
  97. package/src/components/StreamFactoring/payment/index.tsx +66 -66
  98. package/src/components/SuperfluidFactoring/SuperfluidFactoredList.tsx +69 -70
  99. package/src/components/SuperfluidFactoring/SuperfluidUpcomingList.tsx +166 -167
  100. package/src/components/SuperfluidFactoring/index.tsx +85 -85
  101. package/src/components/TxDoneModal.tsx +85 -85
  102. package/src/components/TxSendModal.tsx +59 -59
  103. package/src/components/ViewOnExplorer.tsx +23 -26
  104. package/src/components/WidgetWrapper.tsx +74 -74
  105. package/src/components/WrapperModal.tsx +54 -54
  106. package/src/components/buttons/TableActionButton.tsx +36 -36
  107. package/src/components/buttons/index.ts +1 -1
  108. package/src/components/humaModal/HumaModal.tsx +68 -68
  109. package/src/components/humaModal/HumaModalHeader.tsx +70 -70
  110. package/src/components/humaModal/index.tsx +2 -2
  111. package/src/components/icons/approve-lender.svg +58 -58
  112. package/src/components/icons/auto-payback.svg +139 -139
  113. package/src/components/icons/check-circle.svg +3 -3
  114. package/src/components/icons/check-green.svg +3 -3
  115. package/src/components/icons/check.svg +10 -10
  116. package/src/components/icons/donut.svg +904 -904
  117. package/src/components/icons/ellipse.svg +3 -3
  118. package/src/components/icons/huma-full.svg +22 -22
  119. package/src/components/icons/huma.svg +15 -15
  120. package/src/components/icons/index.tsx +93 -93
  121. package/src/components/icons/loader.svg +229 -229
  122. package/src/components/icons/metamask.svg +31 -31
  123. package/src/components/icons/polygon.svg +16 -16
  124. package/src/components/icons/receipt.svg +3 -3
  125. package/src/components/icons/separator.svg +3 -3
  126. package/src/components/icons/sorry.svg +17 -17
  127. package/src/components/icons/usdc.svg +5 -5
  128. package/src/components/icons/wallet-connect.svg +11 -11
  129. package/src/components/images/index.ts +3 -3
  130. package/src/cosmos/CreditLineBorrow.fixture.tsx +86 -86
  131. package/src/cosmos/CreditLinePayment.fixture.tsx +50 -50
  132. package/src/cosmos/InvoiceFactoringBorrow.fixture.tsx +111 -111
  133. package/src/cosmos/InvoiceFactoringPayment.fixture.tsx +67 -67
  134. package/src/cosmos/LendSupply.fixture.tsx +75 -75
  135. package/src/cosmos/LendWithdraw.fixture.tsx +43 -43
  136. package/src/cosmos/SDKTesting.fixture.tsx +616 -616
  137. package/src/cosmos/SuperfluidFactoringBorrow.fixture.tsx +15 -15
  138. package/src/cosmos/WalletWrapper.tsx +52 -52
  139. package/src/cosmos/abis/InvoiceNFT.json +644 -644
  140. package/src/cosmos/abis/ReceivableFactoringPool.json +1529 -1529
  141. package/src/cosmos/utils/env.ts +6 -6
  142. package/src/cosmos/utils/index.ts +169 -169
  143. package/src/fonts/Recoleta/Recoleta-Black.otf +0 -0
  144. package/src/fonts/Recoleta/Recoleta-Bold.otf +0 -0
  145. package/src/fonts/Recoleta/Recoleta-Light.otf +0 -0
  146. package/src/fonts/Recoleta/Recoleta-Medium.otf +0 -0
  147. package/src/fonts/Recoleta/Recoleta-Regular.otf +0 -0
  148. package/src/fonts/Recoleta/Recoleta-RegularDEMO.otf +0 -0
  149. package/src/fonts/Recoleta/Recoleta-SemiBold.otf +0 -0
  150. package/src/fonts/Recoleta/Recoleta-Thin.otf +0 -0
  151. package/src/hooks/useEA.ts +53 -53
  152. package/src/hooks/useElementDimensions.ts +30 -0
  153. package/src/hooks/useNotifi.ts +71 -71
  154. package/src/hooks/useRedux.ts +6 -6
  155. package/src/index.css +61 -61
  156. package/src/index.tsx +283 -301
  157. package/src/react-app-env.d.ts +1 -1
  158. package/src/reportWebVitals.ts +15 -15
  159. package/src/setupTests.ts +6 -6
  160. package/src/store/index.ts +27 -27
  161. package/src/store/widgets.reducers.ts +120 -120
  162. package/src/store/widgets.selectors.ts +3 -3
  163. package/src/store/widgets.store.ts +55 -55
  164. package/src/theme/breakpoints.ts +10 -10
  165. package/src/theme/components.ts +70 -70
  166. package/src/theme/coreThemeConstants.ts +29 -29
  167. package/src/theme/cssMixins.ts +92 -92
  168. package/src/theme/hooks/useGetSizes.ts +31 -31
  169. package/src/theme/index.ts +24 -24
  170. package/src/theme/palette.ts +150 -150
  171. package/src/theme/shape.ts +7 -7
  172. package/src/theme/theme.types.ts +80 -80
  173. package/src/theme/typography.ts +117 -117
  174. package/src/utilTypes.d.ts +30 -31
  175. package/src/utils/env.ts +10 -10
  176. package/tsconfig.build.json +7 -7
  177. package/tsconfig.json +32 -32
  178. package/webpack.cosmos.js +54 -54
package/API.md CHANGED
@@ -1,332 +1,332 @@
1
- ## Functions
2
-
3
- <dl>
4
- <dt><a href="#InvoiceFactoringBorrowWidget">InvoiceFactoringBorrowWidget(props)</a> ⇒</dt>
5
- <dd><p>Invoice factoring borrow widget</p></dd>
6
- <dt><a href="#InvoiceFactoringPaymentWidget">InvoiceFactoringPaymentWidget(props)</a> ⇒</dt>
7
- <dd><p>Invoice factoring payment widget</p></dd>
8
- <dt><a href="#CreditLineBorrowWidget">CreditLineBorrowWidget(props)</a> ⇒</dt>
9
- <dd><p>Credit line borrow widget</p></dd>
10
- <dt><a href="#CreditLinePaymentWidget">CreditLinePaymentWidget(props)</a> ⇒</dt>
11
- <dd><p>Credit line payment widget</p></dd>
12
- <dt><a href="#LendSupplyWidget">LendSupplyWidget(props)</a> ⇒</dt>
13
- <dd><p>Lend supply widget</p></dd>
14
- <dt><a href="#LendWithdrawWidget">LendWithdrawWidget(props)</a> ⇒</dt>
15
- <dd><p>Lend withdraw widget</p></dd>
16
- <dt><a href="#SuperfluidFactoringWidget">SuperfluidFactoringWidget(props)</a> ⇒</dt>
17
- <dd><p>Superfluid factoring widget</p></dd>
18
- </dl>
19
-
20
- ## Typedefs
21
-
22
- <dl>
23
- <dt><a href="#CreditLineBorrowProps">CreditLineBorrowProps</a> : <code>Object</code></dt>
24
- <dd><p>Credit line pool borrow props</p></dd>
25
- <dt><a href="#CreditLinePaymentProps">CreditLinePaymentProps</a> : <code>Object</code></dt>
26
- <dd><p>Credit line pool payment props</p></dd>
27
- <dt><a href="#InvoiceFactoringBorrowProps">InvoiceFactoringBorrowProps</a> : <code>Object</code></dt>
28
- <dd><p>Invoice factoring pool borrow props</p></dd>
29
- <dt><a href="#InvoiceFactoringPaymentProps">InvoiceFactoringPaymentProps</a> : <code>Object</code></dt>
30
- <dd><p>Invoice factoring pool payment props</p></dd>
31
- <dt><a href="#LendSupplyProps">LendSupplyProps</a> : <code>Object</code></dt>
32
- <dd><p>Lend pool supply props</p></dd>
33
- <dt><a href="#LendWithdrawProps">LendWithdrawProps</a> : <code>Object</code></dt>
34
- <dd><p>Lend pool withdraw props</p></dd>
35
- <dt><a href="#JsonRpcConnectionMap">JsonRpcConnectionMap</a> : <code>Object</code></dt>
36
- <dd><p>Mapping of your JSON-RPC connections indexed by chainId</p></dd>
37
- <dt><a href="#WidgetProps">WidgetProps</a> : <code>Object</code></dt>
38
- <dd><p>Object representing the props passed to web3 provider</p></dd>
39
- <dt><a href="#InvoiceFactoringBorrowWidgetProps">InvoiceFactoringBorrowWidgetProps</a> : <code>Object</code></dt>
40
- <dd><p>Invoice factoring pool borrow widget props</p></dd>
41
- <dt><a href="#InvoiceFactoringPaymentWidgetProps">InvoiceFactoringPaymentWidgetProps</a> : <code>Object</code></dt>
42
- <dd><p>Invoice factoring pool payment widget props</p></dd>
43
- <dt><a href="#CreditLineBorrowWidgetProps">CreditLineBorrowWidgetProps</a> : <code>Object</code></dt>
44
- <dd><p>Credit line pool borrow widget props</p></dd>
45
- <dt><a href="#CreditLinePaymentWidgetProps">CreditLinePaymentWidgetProps</a> : <code>Object</code></dt>
46
- <dd><p>Credit line pool payment widget props</p></dd>
47
- <dt><a href="#LendSupplyWidgetProps">LendSupplyWidgetProps</a> : <code>Object</code></dt>
48
- <dd><p>Lend pool supply widget props</p></dd>
49
- <dt><a href="#LendWithdrawWidgetProps">LendWithdrawWidgetProps</a> : <code>Object</code></dt>
50
- <dd><p>Lend pool withdraw widget props</p></dd>
51
- </dl>
52
-
53
- <a name="InvoiceFactoringBorrowWidget"></a>
54
-
55
- ## InvoiceFactoringBorrowWidget(props) ⇒
56
- <p>Invoice factoring borrow widget</p>
57
-
58
- **Kind**: global function
59
- **Returns**: <p>Invoice factoring pool borrow widget component</p>
60
-
61
- | Param | Type | Description |
62
- | --- | --- | --- |
63
- | props | [<code>InvoiceFactoringBorrowProps</code>](#InvoiceFactoringBorrowProps) \| [<code>WidgetProps</code>](#WidgetProps) | <p>The invoice factoring pool borrow widget props.</p> |
64
-
65
- <a name="InvoiceFactoringPaymentWidget"></a>
66
-
67
- ## InvoiceFactoringPaymentWidget(props) ⇒
68
- <p>Invoice factoring payment widget</p>
69
-
70
- **Kind**: global function
71
- **Returns**: <p>Invoice factoring pool payment widget component</p>
72
-
73
- | Param | Type | Description |
74
- | --- | --- | --- |
75
- | props | [<code>InvoiceFactoringPaymentProps</code>](#InvoiceFactoringPaymentProps) \| [<code>WidgetProps</code>](#WidgetProps) | <p>The invoice factoring pool payment widget props.</p> |
76
-
77
- <a name="CreditLineBorrowWidget"></a>
78
-
79
- ## CreditLineBorrowWidget(props) ⇒
80
- <p>Credit line borrow widget</p>
81
-
82
- **Kind**: global function
83
- **Returns**: <p>Credit line pool borrow widget component</p>
84
-
85
- | Param | Type | Description |
86
- | --- | --- | --- |
87
- | props | [<code>CreditLineBorrowProps</code>](#CreditLineBorrowProps) \| [<code>WidgetProps</code>](#WidgetProps) | <p>The credit line pool borrow widget props.</p> |
88
-
89
- <a name="CreditLinePaymentWidget"></a>
90
-
91
- ## CreditLinePaymentWidget(props) ⇒
92
- <p>Credit line payment widget</p>
93
-
94
- **Kind**: global function
95
- **Returns**: <p>Credit line pool payment widget component</p>
96
-
97
- | Param | Type | Description |
98
- | --- | --- | --- |
99
- | props | [<code>CreditLinePaymentProps</code>](#CreditLinePaymentProps) \| [<code>WidgetProps</code>](#WidgetProps) | <p>The credit line pool payment widget props.</p> |
100
-
101
- <a name="LendSupplyWidget"></a>
102
-
103
- ## LendSupplyWidget(props) ⇒
104
- <p>Lend supply widget</p>
105
-
106
- **Kind**: global function
107
- **Returns**: <p>Lend pool supply widget component</p>
108
-
109
- | Param | Type | Description |
110
- | --- | --- | --- |
111
- | props | [<code>LendSupplyProps</code>](#LendSupplyProps) \| [<code>WidgetProps</code>](#WidgetProps) | <p>The lend pool supply widget props.</p> |
112
-
113
- <a name="LendWithdrawWidget"></a>
114
-
115
- ## LendWithdrawWidget(props) ⇒
116
- <p>Lend withdraw widget</p>
117
-
118
- **Kind**: global function
119
- **Returns**: <p>Lend pool withdraw widget component</p>
120
-
121
- | Param | Type | Description |
122
- | --- | --- | --- |
123
- | props | [<code>LendWithdrawProps</code>](#LendWithdrawProps) \| [<code>WidgetProps</code>](#WidgetProps) | <p>The lend pool withdraw widget props</p> |
124
-
125
- <a name="SuperfluidFactoringWidget"></a>
126
-
127
- ## SuperfluidFactoringWidget(props) ⇒
128
- <p>Superfluid factoring widget</p>
129
-
130
- **Kind**: global function
131
- **Returns**: <p>Superfluid factoring widget component</p>
132
-
133
- | Param | Type | Description |
134
- | --- | --- | --- |
135
- | props | [<code>WidgetProps</code>](#WidgetProps) | <p>The superfluid factoring widget props.</p> |
136
-
137
- <a name="CreditLineBorrowProps"></a>
138
-
139
- ## CreditLineBorrowProps : <code>Object</code>
140
- <p>Credit line pool borrow props</p>
141
-
142
- **Kind**: global typedef
143
- **Properties**
144
-
145
- | Name | Type | Description |
146
- | --- | --- | --- |
147
- | poolName | <code>POOL\_NAME</code> | <p>The name of the pool.</p> |
148
- | poolType | <code>POOL\_TYPE</code> | <p>The type of the pool.</p> |
149
- | handleClose | <code>function</code> | <p>Function to notify to close the widget modal when user clicks the 'x' close button.</p> |
150
- | handleApprove | <code>function</code> | <p>Optional function to notify when user is approved successfully to borrow again pool.</p> |
151
- | handleSuccess | <code>function</code> | <p>Optional function to notify that the credit line pool borrow action is successful.</p> |
152
-
153
- <a name="CreditLinePaymentProps"></a>
154
-
155
- ## CreditLinePaymentProps : <code>Object</code>
156
- <p>Credit line pool payment props</p>
157
-
158
- **Kind**: global typedef
159
- **Properties**
160
-
161
- | Name | Type | Description |
162
- | --- | --- | --- |
163
- | poolName | <code>POOL\_NAME</code> | <p>The name of the pool.</p> |
164
- | poolType | <code>POOL\_TYPE</code> | <p>The type of the pool.</p> |
165
- | handleClose | <code>function</code> | <p>Function to notify to close the widget modal when user clicks the 'x' close button.</p> |
166
- | handleSuccess | <code>function</code> | <p>Optional function to notify that the credit line pool payment action is successful.</p> |
167
-
168
- <a name="InvoiceFactoringBorrowProps"></a>
169
-
170
- ## InvoiceFactoringBorrowProps : <code>Object</code>
171
- <p>Invoice factoring pool borrow props</p>
172
-
173
- **Kind**: global typedef
174
- **Properties**
175
-
176
- | Name | Type | Description |
177
- | --- | --- | --- |
178
- | poolName | <code>POOL\_NAME</code> | <p>The name of the pool.</p> |
179
- | poolType | <code>POOL\_TYPE</code> | <p>The type of the pool.</p> |
180
- | tokenId | <code>string</code> \| <code>BigNumber</code> | <p>The NFT token id representing invoice.</p> |
181
- | handleClose | <code>function</code> | <p>Function to notify to close the widget modal when user clicks the 'x' close button.</p> |
182
- | handleSuccess | <code>function</code> | <p>Optional function to notify that the invoice pool borrow action is successful.</p> |
183
-
184
- <a name="InvoiceFactoringPaymentProps"></a>
185
-
186
- ## InvoiceFactoringPaymentProps : <code>Object</code>
187
- <p>Invoice factoring pool payment props</p>
188
-
189
- **Kind**: global typedef
190
- **Properties**
191
-
192
- | Name | Type | Description |
193
- | --- | --- | --- |
194
- | poolName | <code>POOL\_NAME</code> | <p>The name of the pool.</p> |
195
- | poolType | <code>POOL\_TYPE</code> | <p>The type of the pool.</p> |
196
- | handleClose | <code>function</code> | <p>Function to notify to close the widget modal when user clicks the 'x' close button.</p> |
197
- | handleSuccess | <code>function</code> | <p>Optional function to notify that the invoice pool payment action is successful.</p> |
198
-
199
- <a name="LendSupplyProps"></a>
200
-
201
- ## LendSupplyProps : <code>Object</code>
202
- <p>Lend pool supply props</p>
203
-
204
- **Kind**: global typedef
205
- **Properties**
206
-
207
- | Name | Type | Description |
208
- | --- | --- | --- |
209
- | poolName | <code>POOL\_NAME</code> | <p>The name of the pool.</p> |
210
- | poolType | <code>POOL\_TYPE</code> | <p>The type of the pool.</p> |
211
- | handleClose | <code>function</code> | <p>Function to notify to close the widget modal when user clicks the 'x' close button.</p> |
212
- | handleSuccess | <code>function</code> | <p>Optional function to notify that the lending pool supply action is successful.</p> |
213
-
214
- <a name="LendWithdrawProps"></a>
215
-
216
- ## LendWithdrawProps : <code>Object</code>
217
- <p>Lend pool withdraw props</p>
218
-
219
- **Kind**: global typedef
220
- **Properties**
221
-
222
- | Name | Type | Description |
223
- | --- | --- | --- |
224
- | poolName | <code>POOL\_NAME</code> | <p>The name of the pool.</p> |
225
- | poolType | <code>POOL\_TYPE</code> | <p>The type of the pool.</p> |
226
- | handleClose | <code>function</code> | <p>Function to notify to close the widget modal when user clicks the 'x' close button.</p> |
227
- | handleSuccess | <code>function</code> | <p>Optional function to notify that the lending pool withdraw action is successful.</p> |
228
-
229
- <a name="JsonRpcConnectionMap"></a>
230
-
231
- ## JsonRpcConnectionMap : <code>Object</code>
232
- <p>Mapping of your JSON-RPC connections indexed by chainId</p>
233
-
234
- **Kind**: global typedef
235
- **Properties**
236
-
237
- | Name | Type | Description |
238
- | --- | --- | --- |
239
- | chainId | <code>Object.&lt;number, (string\|Array.&lt;string&gt;\|JsonRpcProvider\|Array.&lt;JsonRpcProvider&gt;)&gt;</code> | <p>Chain id to map the JSON-RPC URL/URLs or JsonRpcProvider/JsonRpcProviders</p> |
240
-
241
- <a name="WidgetProps"></a>
242
-
243
- ## WidgetProps : <code>Object</code>
244
- <p>Object representing the props passed to web3 provider</p>
245
-
246
- **Kind**: global typedef
247
- **Properties**
248
-
249
- | Name | Type | Description |
250
- | --- | --- | --- |
251
- | desiredChainId | <code>desiredChainId</code> \| <code>undefined</code> | <p>Optional desired chain id, will trigger the switch network action if different from the current chain id</p> |
252
- | jsonRpcUrlMap | [<code>JsonRpcConnectionMap</code>](#JsonRpcConnectionMap) \| <code>undefined</code> | <p>Optional mapping of your JSON-RPC connections indexed by chainId</p> |
253
- | provider | <code>Eip1193Provider</code> \| <code>JsonRpcProvider</code> \| <code>null</code> \| <code>undefined</code> | <p>Optional EIP-1193 provider or JsonRpc Provider</p> |
254
-
255
- <a name="InvoiceFactoringBorrowWidgetProps"></a>
256
-
257
- ## InvoiceFactoringBorrowWidgetProps : <code>Object</code>
258
- <p>Invoice factoring pool borrow widget props</p>
259
-
260
- **Kind**: global typedef
261
- **Properties**
262
-
263
- | Name | Type | Description |
264
- | --- | --- | --- |
265
- | InvoiceFactoringBorrowProps | [<code>InvoiceFactoringBorrowProps</code>](#InvoiceFactoringBorrowProps) | <p>Invoice factoring pool borrow props.</p> |
266
- | WidgetProps | [<code>WidgetProps</code>](#WidgetProps) | <p>Widget general props.</p> |
267
-
268
- <a name="InvoiceFactoringPaymentWidgetProps"></a>
269
-
270
- ## InvoiceFactoringPaymentWidgetProps : <code>Object</code>
271
- <p>Invoice factoring pool payment widget props</p>
272
-
273
- **Kind**: global typedef
274
- **Properties**
275
-
276
- | Name | Type | Description |
277
- | --- | --- | --- |
278
- | InvoiceFactoringPaymentProps | [<code>InvoiceFactoringPaymentProps</code>](#InvoiceFactoringPaymentProps) | <p>Invoice factoring pool payment props.</p> |
279
- | WidgetProps | [<code>WidgetProps</code>](#WidgetProps) | <p>Widget general props.</p> |
280
-
281
- <a name="CreditLineBorrowWidgetProps"></a>
282
-
283
- ## CreditLineBorrowWidgetProps : <code>Object</code>
284
- <p>Credit line pool borrow widget props</p>
285
-
286
- **Kind**: global typedef
287
- **Properties**
288
-
289
- | Name | Type | Description |
290
- | --- | --- | --- |
291
- | CreditLineBorrowProps | [<code>CreditLineBorrowProps</code>](#CreditLineBorrowProps) | <p>Credit line pool borrow props.</p> |
292
- | WidgetProps | [<code>WidgetProps</code>](#WidgetProps) | <p>Widget general props.</p> |
293
-
294
- <a name="CreditLinePaymentWidgetProps"></a>
295
-
296
- ## CreditLinePaymentWidgetProps : <code>Object</code>
297
- <p>Credit line pool payment widget props</p>
298
-
299
- **Kind**: global typedef
300
- **Properties**
301
-
302
- | Name | Type | Description |
303
- | --- | --- | --- |
304
- | CreditLinePaymentProps | [<code>CreditLinePaymentProps</code>](#CreditLinePaymentProps) | <p>Credit line pool payment props.</p> |
305
- | WidgetProps | [<code>WidgetProps</code>](#WidgetProps) | <p>Widget general props.</p> |
306
-
307
- <a name="LendSupplyWidgetProps"></a>
308
-
309
- ## LendSupplyWidgetProps : <code>Object</code>
310
- <p>Lend pool supply widget props</p>
311
-
312
- **Kind**: global typedef
313
- **Properties**
314
-
315
- | Name | Type | Description |
316
- | --- | --- | --- |
317
- | LendSupplyProps | [<code>LendSupplyProps</code>](#LendSupplyProps) | <p>Lend pool supply props.</p> |
318
- | WidgetProps | [<code>WidgetProps</code>](#WidgetProps) | <p>Widget general props.</p> |
319
-
320
- <a name="LendWithdrawWidgetProps"></a>
321
-
322
- ## LendWithdrawWidgetProps : <code>Object</code>
323
- <p>Lend pool withdraw widget props</p>
324
-
325
- **Kind**: global typedef
326
- **Properties**
327
-
328
- | Name | Type | Description |
329
- | --- | --- | --- |
330
- | LendWithdrawProps | [<code>LendWithdrawProps</code>](#LendWithdrawProps) | <p>Lend pool withdraw props.</p> |
331
- | WidgetProps | [<code>WidgetProps</code>](#WidgetProps) | <p>Widget general props.</p> |
332
-
1
+ ## Functions
2
+
3
+ <dl>
4
+ <dt><a href="#InvoiceFactoringBorrowWidget">InvoiceFactoringBorrowWidget(props)</a> ⇒</dt>
5
+ <dd><p>Invoice factoring borrow widget</p></dd>
6
+ <dt><a href="#InvoiceFactoringPaymentWidget">InvoiceFactoringPaymentWidget(props)</a> ⇒</dt>
7
+ <dd><p>Invoice factoring payment widget</p></dd>
8
+ <dt><a href="#CreditLineBorrowWidget">CreditLineBorrowWidget(props)</a> ⇒</dt>
9
+ <dd><p>Credit line borrow widget</p></dd>
10
+ <dt><a href="#CreditLinePaymentWidget">CreditLinePaymentWidget(props)</a> ⇒</dt>
11
+ <dd><p>Credit line payment widget</p></dd>
12
+ <dt><a href="#LendSupplyWidget">LendSupplyWidget(props)</a> ⇒</dt>
13
+ <dd><p>Lend supply widget</p></dd>
14
+ <dt><a href="#LendWithdrawWidget">LendWithdrawWidget(props)</a> ⇒</dt>
15
+ <dd><p>Lend withdraw widget</p></dd>
16
+ <dt><a href="#SuperfluidFactoringWidget">SuperfluidFactoringWidget(props)</a> ⇒</dt>
17
+ <dd><p>Superfluid factoring widget</p></dd>
18
+ </dl>
19
+
20
+ ## Typedefs
21
+
22
+ <dl>
23
+ <dt><a href="#CreditLineBorrowProps">CreditLineBorrowProps</a> : <code>Object</code></dt>
24
+ <dd><p>Credit line pool borrow props</p></dd>
25
+ <dt><a href="#CreditLinePaymentProps">CreditLinePaymentProps</a> : <code>Object</code></dt>
26
+ <dd><p>Credit line pool payment props</p></dd>
27
+ <dt><a href="#InvoiceFactoringBorrowProps">InvoiceFactoringBorrowProps</a> : <code>Object</code></dt>
28
+ <dd><p>Invoice factoring pool borrow props</p></dd>
29
+ <dt><a href="#InvoiceFactoringPaymentProps">InvoiceFactoringPaymentProps</a> : <code>Object</code></dt>
30
+ <dd><p>Invoice factoring pool payment props</p></dd>
31
+ <dt><a href="#LendSupplyProps">LendSupplyProps</a> : <code>Object</code></dt>
32
+ <dd><p>Lend pool supply props</p></dd>
33
+ <dt><a href="#LendWithdrawProps">LendWithdrawProps</a> : <code>Object</code></dt>
34
+ <dd><p>Lend pool withdraw props</p></dd>
35
+ <dt><a href="#JsonRpcConnectionMap">JsonRpcConnectionMap</a> : <code>Object</code></dt>
36
+ <dd><p>Mapping of your JSON-RPC connections indexed by chainId</p></dd>
37
+ <dt><a href="#WidgetProps">WidgetProps</a> : <code>Object</code></dt>
38
+ <dd><p>Object representing the props passed to web3 provider</p></dd>
39
+ <dt><a href="#InvoiceFactoringBorrowWidgetProps">InvoiceFactoringBorrowWidgetProps</a> : <code>Object</code></dt>
40
+ <dd><p>Invoice factoring pool borrow widget props</p></dd>
41
+ <dt><a href="#InvoiceFactoringPaymentWidgetProps">InvoiceFactoringPaymentWidgetProps</a> : <code>Object</code></dt>
42
+ <dd><p>Invoice factoring pool payment widget props</p></dd>
43
+ <dt><a href="#CreditLineBorrowWidgetProps">CreditLineBorrowWidgetProps</a> : <code>Object</code></dt>
44
+ <dd><p>Credit line pool borrow widget props</p></dd>
45
+ <dt><a href="#CreditLinePaymentWidgetProps">CreditLinePaymentWidgetProps</a> : <code>Object</code></dt>
46
+ <dd><p>Credit line pool payment widget props</p></dd>
47
+ <dt><a href="#LendSupplyWidgetProps">LendSupplyWidgetProps</a> : <code>Object</code></dt>
48
+ <dd><p>Lend pool supply widget props</p></dd>
49
+ <dt><a href="#LendWithdrawWidgetProps">LendWithdrawWidgetProps</a> : <code>Object</code></dt>
50
+ <dd><p>Lend pool withdraw widget props</p></dd>
51
+ </dl>
52
+
53
+ <a name="InvoiceFactoringBorrowWidget"></a>
54
+
55
+ ## InvoiceFactoringBorrowWidget(props) ⇒
56
+ <p>Invoice factoring borrow widget</p>
57
+
58
+ **Kind**: global function
59
+ **Returns**: <p>Invoice factoring pool borrow widget component</p>
60
+
61
+ | Param | Type | Description |
62
+ | --- | --- | --- |
63
+ | props | [<code>InvoiceFactoringBorrowProps</code>](#InvoiceFactoringBorrowProps) \| [<code>WidgetProps</code>](#WidgetProps) | <p>The invoice factoring pool borrow widget props.</p> |
64
+
65
+ <a name="InvoiceFactoringPaymentWidget"></a>
66
+
67
+ ## InvoiceFactoringPaymentWidget(props) ⇒
68
+ <p>Invoice factoring payment widget</p>
69
+
70
+ **Kind**: global function
71
+ **Returns**: <p>Invoice factoring pool payment widget component</p>
72
+
73
+ | Param | Type | Description |
74
+ | --- | --- | --- |
75
+ | props | [<code>InvoiceFactoringPaymentProps</code>](#InvoiceFactoringPaymentProps) \| [<code>WidgetProps</code>](#WidgetProps) | <p>The invoice factoring pool payment widget props.</p> |
76
+
77
+ <a name="CreditLineBorrowWidget"></a>
78
+
79
+ ## CreditLineBorrowWidget(props) ⇒
80
+ <p>Credit line borrow widget</p>
81
+
82
+ **Kind**: global function
83
+ **Returns**: <p>Credit line pool borrow widget component</p>
84
+
85
+ | Param | Type | Description |
86
+ | --- | --- | --- |
87
+ | props | [<code>CreditLineBorrowProps</code>](#CreditLineBorrowProps) \| [<code>WidgetProps</code>](#WidgetProps) | <p>The credit line pool borrow widget props.</p> |
88
+
89
+ <a name="CreditLinePaymentWidget"></a>
90
+
91
+ ## CreditLinePaymentWidget(props) ⇒
92
+ <p>Credit line payment widget</p>
93
+
94
+ **Kind**: global function
95
+ **Returns**: <p>Credit line pool payment widget component</p>
96
+
97
+ | Param | Type | Description |
98
+ | --- | --- | --- |
99
+ | props | [<code>CreditLinePaymentProps</code>](#CreditLinePaymentProps) \| [<code>WidgetProps</code>](#WidgetProps) | <p>The credit line pool payment widget props.</p> |
100
+
101
+ <a name="LendSupplyWidget"></a>
102
+
103
+ ## LendSupplyWidget(props) ⇒
104
+ <p>Lend supply widget</p>
105
+
106
+ **Kind**: global function
107
+ **Returns**: <p>Lend pool supply widget component</p>
108
+
109
+ | Param | Type | Description |
110
+ | --- | --- | --- |
111
+ | props | [<code>LendSupplyProps</code>](#LendSupplyProps) \| [<code>WidgetProps</code>](#WidgetProps) | <p>The lend pool supply widget props.</p> |
112
+
113
+ <a name="LendWithdrawWidget"></a>
114
+
115
+ ## LendWithdrawWidget(props) ⇒
116
+ <p>Lend withdraw widget</p>
117
+
118
+ **Kind**: global function
119
+ **Returns**: <p>Lend pool withdraw widget component</p>
120
+
121
+ | Param | Type | Description |
122
+ | --- | --- | --- |
123
+ | props | [<code>LendWithdrawProps</code>](#LendWithdrawProps) \| [<code>WidgetProps</code>](#WidgetProps) | <p>The lend pool withdraw widget props</p> |
124
+
125
+ <a name="SuperfluidFactoringWidget"></a>
126
+
127
+ ## SuperfluidFactoringWidget(props) ⇒
128
+ <p>Superfluid factoring widget</p>
129
+
130
+ **Kind**: global function
131
+ **Returns**: <p>Superfluid factoring widget component</p>
132
+
133
+ | Param | Type | Description |
134
+ | --- | --- | --- |
135
+ | props | [<code>WidgetProps</code>](#WidgetProps) | <p>The superfluid factoring widget props.</p> |
136
+
137
+ <a name="CreditLineBorrowProps"></a>
138
+
139
+ ## CreditLineBorrowProps : <code>Object</code>
140
+ <p>Credit line pool borrow props</p>
141
+
142
+ **Kind**: global typedef
143
+ **Properties**
144
+
145
+ | Name | Type | Description |
146
+ | --- | --- | --- |
147
+ | poolName | <code>POOL\_NAME</code> | <p>The name of the pool.</p> |
148
+ | poolType | <code>POOL\_TYPE</code> | <p>The type of the pool.</p> |
149
+ | handleClose | <code>function</code> | <p>Function to notify to close the widget modal when user clicks the 'x' close button.</p> |
150
+ | handleApprove | <code>function</code> | <p>Optional function to notify when user is approved successfully to borrow again pool.</p> |
151
+ | handleSuccess | <code>function</code> | <p>Optional function to notify that the credit line pool borrow action is successful.</p> |
152
+
153
+ <a name="CreditLinePaymentProps"></a>
154
+
155
+ ## CreditLinePaymentProps : <code>Object</code>
156
+ <p>Credit line pool payment props</p>
157
+
158
+ **Kind**: global typedef
159
+ **Properties**
160
+
161
+ | Name | Type | Description |
162
+ | --- | --- | --- |
163
+ | poolName | <code>POOL\_NAME</code> | <p>The name of the pool.</p> |
164
+ | poolType | <code>POOL\_TYPE</code> | <p>The type of the pool.</p> |
165
+ | handleClose | <code>function</code> | <p>Function to notify to close the widget modal when user clicks the 'x' close button.</p> |
166
+ | handleSuccess | <code>function</code> | <p>Optional function to notify that the credit line pool payment action is successful.</p> |
167
+
168
+ <a name="InvoiceFactoringBorrowProps"></a>
169
+
170
+ ## InvoiceFactoringBorrowProps : <code>Object</code>
171
+ <p>Invoice factoring pool borrow props</p>
172
+
173
+ **Kind**: global typedef
174
+ **Properties**
175
+
176
+ | Name | Type | Description |
177
+ | --- | --- | --- |
178
+ | poolName | <code>POOL\_NAME</code> | <p>The name of the pool.</p> |
179
+ | poolType | <code>POOL\_TYPE</code> | <p>The type of the pool.</p> |
180
+ | tokenId | <code>string</code> \| <code>BigNumber</code> | <p>The NFT token id representing invoice.</p> |
181
+ | handleClose | <code>function</code> | <p>Function to notify to close the widget modal when user clicks the 'x' close button.</p> |
182
+ | handleSuccess | <code>function</code> | <p>Optional function to notify that the invoice pool borrow action is successful.</p> |
183
+
184
+ <a name="InvoiceFactoringPaymentProps"></a>
185
+
186
+ ## InvoiceFactoringPaymentProps : <code>Object</code>
187
+ <p>Invoice factoring pool payment props</p>
188
+
189
+ **Kind**: global typedef
190
+ **Properties**
191
+
192
+ | Name | Type | Description |
193
+ | --- | --- | --- |
194
+ | poolName | <code>POOL\_NAME</code> | <p>The name of the pool.</p> |
195
+ | poolType | <code>POOL\_TYPE</code> | <p>The type of the pool.</p> |
196
+ | handleClose | <code>function</code> | <p>Function to notify to close the widget modal when user clicks the 'x' close button.</p> |
197
+ | handleSuccess | <code>function</code> | <p>Optional function to notify that the invoice pool payment action is successful.</p> |
198
+
199
+ <a name="LendSupplyProps"></a>
200
+
201
+ ## LendSupplyProps : <code>Object</code>
202
+ <p>Lend pool supply props</p>
203
+
204
+ **Kind**: global typedef
205
+ **Properties**
206
+
207
+ | Name | Type | Description |
208
+ | --- | --- | --- |
209
+ | poolName | <code>POOL\_NAME</code> | <p>The name of the pool.</p> |
210
+ | poolType | <code>POOL\_TYPE</code> | <p>The type of the pool.</p> |
211
+ | handleClose | <code>function</code> | <p>Function to notify to close the widget modal when user clicks the 'x' close button.</p> |
212
+ | handleSuccess | <code>function</code> | <p>Optional function to notify that the lending pool supply action is successful.</p> |
213
+
214
+ <a name="LendWithdrawProps"></a>
215
+
216
+ ## LendWithdrawProps : <code>Object</code>
217
+ <p>Lend pool withdraw props</p>
218
+
219
+ **Kind**: global typedef
220
+ **Properties**
221
+
222
+ | Name | Type | Description |
223
+ | --- | --- | --- |
224
+ | poolName | <code>POOL\_NAME</code> | <p>The name of the pool.</p> |
225
+ | poolType | <code>POOL\_TYPE</code> | <p>The type of the pool.</p> |
226
+ | handleClose | <code>function</code> | <p>Function to notify to close the widget modal when user clicks the 'x' close button.</p> |
227
+ | handleSuccess | <code>function</code> | <p>Optional function to notify that the lending pool withdraw action is successful.</p> |
228
+
229
+ <a name="JsonRpcConnectionMap"></a>
230
+
231
+ ## JsonRpcConnectionMap : <code>Object</code>
232
+ <p>Mapping of your JSON-RPC connections indexed by chainId</p>
233
+
234
+ **Kind**: global typedef
235
+ **Properties**
236
+
237
+ | Name | Type | Description |
238
+ | --- | --- | --- |
239
+ | chainId | <code>Object.&lt;number, (string\|Array.&lt;string&gt;\|JsonRpcProvider\|Array.&lt;JsonRpcProvider&gt;)&gt;</code> | <p>Chain id to map the JSON-RPC URL/URLs or JsonRpcProvider/JsonRpcProviders</p> |
240
+
241
+ <a name="WidgetProps"></a>
242
+
243
+ ## WidgetProps : <code>Object</code>
244
+ <p>Object representing the props passed to web3 provider</p>
245
+
246
+ **Kind**: global typedef
247
+ **Properties**
248
+
249
+ | Name | Type | Description |
250
+ | --- | --- | --- |
251
+ | desiredChainId | <code>desiredChainId</code> \| <code>undefined</code> | <p>Optional desired chain id, will trigger the switch network action if different from the current chain id</p> |
252
+ | jsonRpcUrlMap | [<code>JsonRpcConnectionMap</code>](#JsonRpcConnectionMap) \| <code>undefined</code> | <p>Optional mapping of your JSON-RPC connections indexed by chainId</p> |
253
+ | provider | <code>Eip1193Provider</code> \| <code>JsonRpcProvider</code> \| <code>null</code> \| <code>undefined</code> | <p>Optional EIP-1193 provider or JsonRpc Provider</p> |
254
+
255
+ <a name="InvoiceFactoringBorrowWidgetProps"></a>
256
+
257
+ ## InvoiceFactoringBorrowWidgetProps : <code>Object</code>
258
+ <p>Invoice factoring pool borrow widget props</p>
259
+
260
+ **Kind**: global typedef
261
+ **Properties**
262
+
263
+ | Name | Type | Description |
264
+ | --- | --- | --- |
265
+ | InvoiceFactoringBorrowProps | [<code>InvoiceFactoringBorrowProps</code>](#InvoiceFactoringBorrowProps) | <p>Invoice factoring pool borrow props.</p> |
266
+ | WidgetProps | [<code>WidgetProps</code>](#WidgetProps) | <p>Widget general props.</p> |
267
+
268
+ <a name="InvoiceFactoringPaymentWidgetProps"></a>
269
+
270
+ ## InvoiceFactoringPaymentWidgetProps : <code>Object</code>
271
+ <p>Invoice factoring pool payment widget props</p>
272
+
273
+ **Kind**: global typedef
274
+ **Properties**
275
+
276
+ | Name | Type | Description |
277
+ | --- | --- | --- |
278
+ | InvoiceFactoringPaymentProps | [<code>InvoiceFactoringPaymentProps</code>](#InvoiceFactoringPaymentProps) | <p>Invoice factoring pool payment props.</p> |
279
+ | WidgetProps | [<code>WidgetProps</code>](#WidgetProps) | <p>Widget general props.</p> |
280
+
281
+ <a name="CreditLineBorrowWidgetProps"></a>
282
+
283
+ ## CreditLineBorrowWidgetProps : <code>Object</code>
284
+ <p>Credit line pool borrow widget props</p>
285
+
286
+ **Kind**: global typedef
287
+ **Properties**
288
+
289
+ | Name | Type | Description |
290
+ | --- | --- | --- |
291
+ | CreditLineBorrowProps | [<code>CreditLineBorrowProps</code>](#CreditLineBorrowProps) | <p>Credit line pool borrow props.</p> |
292
+ | WidgetProps | [<code>WidgetProps</code>](#WidgetProps) | <p>Widget general props.</p> |
293
+
294
+ <a name="CreditLinePaymentWidgetProps"></a>
295
+
296
+ ## CreditLinePaymentWidgetProps : <code>Object</code>
297
+ <p>Credit line pool payment widget props</p>
298
+
299
+ **Kind**: global typedef
300
+ **Properties**
301
+
302
+ | Name | Type | Description |
303
+ | --- | --- | --- |
304
+ | CreditLinePaymentProps | [<code>CreditLinePaymentProps</code>](#CreditLinePaymentProps) | <p>Credit line pool payment props.</p> |
305
+ | WidgetProps | [<code>WidgetProps</code>](#WidgetProps) | <p>Widget general props.</p> |
306
+
307
+ <a name="LendSupplyWidgetProps"></a>
308
+
309
+ ## LendSupplyWidgetProps : <code>Object</code>
310
+ <p>Lend pool supply widget props</p>
311
+
312
+ **Kind**: global typedef
313
+ **Properties**
314
+
315
+ | Name | Type | Description |
316
+ | --- | --- | --- |
317
+ | LendSupplyProps | [<code>LendSupplyProps</code>](#LendSupplyProps) | <p>Lend pool supply props.</p> |
318
+ | WidgetProps | [<code>WidgetProps</code>](#WidgetProps) | <p>Widget general props.</p> |
319
+
320
+ <a name="LendWithdrawWidgetProps"></a>
321
+
322
+ ## LendWithdrawWidgetProps : <code>Object</code>
323
+ <p>Lend pool withdraw widget props</p>
324
+
325
+ **Kind**: global typedef
326
+ **Properties**
327
+
328
+ | Name | Type | Description |
329
+ | --- | --- | --- |
330
+ | LendWithdrawProps | [<code>LendWithdrawProps</code>](#LendWithdrawProps) | <p>Lend pool withdraw props.</p> |
331
+ | WidgetProps | [<code>WidgetProps</code>](#WidgetProps) | <p>Widget general props.</p> |
332
+