@huma-finance/widgets 0.0.37 → 0.0.38-beta.0

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 (180) 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 +404 -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/jsdoc2md.json +20 -20
  19. package/package.json +5 -5
  20. package/public/index.html +40 -40
  21. package/public/manifest.json +25 -25
  22. package/public/robots.txt +3 -3
  23. package/rollup.config.js +81 -81
  24. package/src/components/Activity.tsx +128 -128
  25. package/src/components/ApolloWrapper.tsx +15 -15
  26. package/src/components/ApproveAllowanceModal.tsx +138 -138
  27. package/src/components/BottomButton.tsx +33 -33
  28. package/src/components/ChainNotSupportedModal.tsx +33 -33
  29. package/src/components/ChooseAmountModal.tsx +322 -322
  30. package/src/components/ConfirmTransferModal.tsx +153 -153
  31. package/src/components/CreditLine/approve/1-ApproveAllowance.tsx +34 -34
  32. package/src/components/CreditLine/approve/2-Success.tsx +43 -43
  33. package/src/components/CreditLine/approve/index.tsx +85 -85
  34. package/src/components/CreditLine/borrow/1-Evaluation.tsx +157 -157
  35. package/src/components/CreditLine/borrow/2-ChooseAmount.tsx +74 -74
  36. package/src/components/CreditLine/borrow/3-ApproveAllowance.tsx +29 -29
  37. package/src/components/CreditLine/borrow/4-Transfer.tsx +34 -34
  38. package/src/components/CreditLine/borrow/5-Success.tsx +38 -38
  39. package/src/components/CreditLine/borrow/6-Notifications.tsx +10 -10
  40. package/src/components/CreditLine/borrow/index.tsx +136 -136
  41. package/src/components/CreditLine/payment/1-ChooseAmount.tsx +67 -67
  42. package/src/components/CreditLine/payment/2-ApproveAllowance.tsx +23 -23
  43. package/src/components/CreditLine/payment/3-Transfer.tsx +34 -34
  44. package/src/components/CreditLine/payment/4-Success.tsx +39 -39
  45. package/src/components/CreditLine/payment/index.tsx +94 -94
  46. package/src/components/ErrorModal.tsx +136 -136
  47. package/src/components/Factoring/FactoredList.tsx +143 -143
  48. package/src/components/Factoring/UpcomingList.tsx +90 -90
  49. package/src/components/Factoring/index.ts +2 -2
  50. package/src/components/HumaLoading.tsx +68 -68
  51. package/src/components/HumaSnackBar.tsx +60 -60
  52. package/src/components/HumaTable.tsx +203 -203
  53. package/src/components/InvoiceFactoring/borrow/1-Evaluation.tsx +49 -49
  54. package/src/components/InvoiceFactoring/borrow/2-ChooseAmount.tsx +88 -88
  55. package/src/components/InvoiceFactoring/borrow/3-ConfirmTransfer.tsx +37 -37
  56. package/src/components/InvoiceFactoring/borrow/4-ApproveNFT.tsx +55 -55
  57. package/src/components/InvoiceFactoring/borrow/5-Transfer.tsx +34 -34
  58. package/src/components/InvoiceFactoring/borrow/6-Success.tsx +20 -20
  59. package/src/components/InvoiceFactoring/borrow/index.tsx +94 -94
  60. package/src/components/InvoiceFactoring/payment/1-ChooseAmount.tsx +67 -67
  61. package/src/components/InvoiceFactoring/payment/2-ApproveAllowance.tsx +23 -23
  62. package/src/components/InvoiceFactoring/payment/3-Transfer.tsx +34 -34
  63. package/src/components/InvoiceFactoring/payment/4-Success.tsx +23 -23
  64. package/src/components/InvoiceFactoring/payment/index.tsx +86 -86
  65. package/src/components/Lend/supply/1-Evaluation/EvaluationEA.tsx +90 -90
  66. package/src/components/Lend/supply/1-Evaluation/EvaluationKYC.tsx +319 -319
  67. package/src/components/Lend/supply/1-Evaluation/index.tsx +31 -31
  68. package/src/components/Lend/supply/2-ChooseAmount.tsx +69 -69
  69. package/src/components/Lend/supply/3-ApproveAllowance.tsx +25 -25
  70. package/src/components/Lend/supply/4-Transfer.tsx +32 -32
  71. package/src/components/Lend/supply/5-Success.tsx +60 -60
  72. package/src/components/Lend/supply/6-Notifications.tsx +10 -10
  73. package/src/components/Lend/supply/index.tsx +167 -167
  74. package/src/components/Lend/withdraw/1-CheckWithdrawble.tsx +73 -73
  75. package/src/components/Lend/withdraw/2-ChooseAmount.tsx +50 -50
  76. package/src/components/Lend/withdraw/3-Transfer.tsx +32 -32
  77. package/src/components/Lend/withdraw/4-Success.tsx +49 -49
  78. package/src/components/Lend/withdraw/index.tsx +101 -101
  79. package/src/components/LoadingModal.tsx +49 -49
  80. package/src/components/Notifi/NotifiSubscriptionModal.tsx +268 -268
  81. package/src/components/StreamFactoring/borrow/1-Evaluation.tsx +55 -55
  82. package/src/components/StreamFactoring/borrow/2-ChooseAmount.tsx +127 -127
  83. package/src/components/StreamFactoring/borrow/3-ConfirmTransfer.tsx +42 -42
  84. package/src/components/StreamFactoring/borrow/4-ApproveAllowance.tsx +33 -33
  85. package/src/components/StreamFactoring/borrow/5-Permit.tsx +144 -144
  86. package/src/components/StreamFactoring/borrow/6-Transfer.tsx +37 -37
  87. package/src/components/StreamFactoring/borrow/7-Success.tsx +20 -20
  88. package/src/components/StreamFactoring/borrow/index.tsx +94 -94
  89. package/src/components/StreamFactoring/payment/ChooseAmount.tsx +54 -54
  90. package/src/components/StreamFactoring/payment/Success.tsx +23 -23
  91. package/src/components/StreamFactoring/payment/Transfer.tsx +34 -34
  92. package/src/components/StreamFactoring/payment/index.tsx +66 -66
  93. package/src/components/SuperfluidFactoring/SuperfluidFactoredList.tsx +69 -69
  94. package/src/components/SuperfluidFactoring/SuperfluidUpcomingList.tsx +166 -166
  95. package/src/components/SuperfluidFactoring/index.tsx +85 -85
  96. package/src/components/TxDoneModal.tsx +85 -85
  97. package/src/components/TxSendModal.tsx +59 -59
  98. package/src/components/ViewOnExplorer.tsx +23 -23
  99. package/src/components/WidgetWrapper.tsx +74 -74
  100. package/src/components/WrapperModal.tsx +54 -54
  101. package/src/components/buttons/TableActionButton.tsx +36 -36
  102. package/src/components/buttons/index.ts +1 -1
  103. package/src/components/humaModal/HumaModal.tsx +68 -68
  104. package/src/components/humaModal/HumaModalHeader.tsx +70 -70
  105. package/src/components/humaModal/index.tsx +2 -2
  106. package/src/components/icons/approve-lender.svg +58 -58
  107. package/src/components/icons/auto-payback.svg +139 -139
  108. package/src/components/icons/check-circle.svg +3 -3
  109. package/src/components/icons/check-green.svg +3 -3
  110. package/src/components/icons/check.svg +10 -10
  111. package/src/components/icons/donut.svg +904 -904
  112. package/src/components/icons/ellipse.svg +3 -3
  113. package/src/components/icons/huma-full.svg +22 -22
  114. package/src/components/icons/huma.svg +15 -15
  115. package/src/components/icons/index.tsx +93 -93
  116. package/src/components/icons/loader.svg +229 -229
  117. package/src/components/icons/metamask.svg +31 -31
  118. package/src/components/icons/polygon.svg +16 -16
  119. package/src/components/icons/receipt.svg +3 -3
  120. package/src/components/icons/separator.svg +3 -3
  121. package/src/components/icons/sorry.svg +17 -17
  122. package/src/components/icons/usdc.svg +5 -5
  123. package/src/components/icons/wallet-connect.svg +11 -11
  124. package/src/components/images/index.ts +3 -3
  125. package/src/cosmos/CreditLineBorrow.fixture.tsx +86 -86
  126. package/src/cosmos/CreditLinePayment.fixture.tsx +50 -50
  127. package/src/cosmos/InvoiceFactoringBorrow.fixture.tsx +111 -111
  128. package/src/cosmos/InvoiceFactoringPayment.fixture.tsx +67 -67
  129. package/src/cosmos/LendSupply.fixture.tsx +75 -75
  130. package/src/cosmos/LendWithdraw.fixture.tsx +43 -43
  131. package/src/cosmos/SDKTesting.fixture.tsx +616 -616
  132. package/src/cosmos/SuperfluidFactoringBorrow.fixture.tsx +15 -15
  133. package/src/cosmos/WalletWrapper.tsx +52 -52
  134. package/src/cosmos/abis/InvoiceNFT.json +644 -644
  135. package/src/cosmos/abis/ReceivableFactoringPool.json +1529 -1529
  136. package/src/cosmos/utils/env.ts +6 -6
  137. package/src/cosmos/utils/index.ts +169 -169
  138. package/src/fonts/Recoleta/Recoleta-Black.otf +0 -0
  139. package/src/fonts/Recoleta/Recoleta-Bold.otf +0 -0
  140. package/src/fonts/Recoleta/Recoleta-Light.otf +0 -0
  141. package/src/fonts/Recoleta/Recoleta-Medium.otf +0 -0
  142. package/src/fonts/Recoleta/Recoleta-Regular.otf +0 -0
  143. package/src/fonts/Recoleta/Recoleta-RegularDEMO.otf +0 -0
  144. package/src/fonts/Recoleta/Recoleta-SemiBold.otf +0 -0
  145. package/src/fonts/Recoleta/Recoleta-Thin.otf +0 -0
  146. package/src/hooks/useEA.ts +53 -53
  147. package/src/hooks/useElementDimensions.ts +30 -30
  148. package/src/hooks/useNotifi.ts +71 -71
  149. package/src/hooks/useRedux.ts +6 -6
  150. package/src/index.css +61 -61
  151. package/src/index.tsx +283 -283
  152. package/src/react-app-env.d.ts +1 -1
  153. package/src/reportWebVitals.ts +15 -15
  154. package/src/setupTests.ts +6 -6
  155. package/src/store/index.ts +27 -27
  156. package/src/store/widgets.reducers.ts +120 -120
  157. package/src/store/widgets.selectors.ts +3 -3
  158. package/src/store/widgets.store.ts +55 -55
  159. package/src/theme/breakpoints.ts +10 -10
  160. package/src/theme/components.ts +70 -70
  161. package/src/theme/coreThemeConstants.ts +29 -29
  162. package/src/theme/cssMixins.ts +92 -92
  163. package/src/theme/hooks/useGetSizes.ts +31 -31
  164. package/src/theme/index.ts +24 -24
  165. package/src/theme/palette.ts +150 -150
  166. package/src/theme/shape.ts +7 -7
  167. package/src/theme/theme.types.ts +80 -80
  168. package/src/theme/typography.ts +117 -117
  169. package/src/utilTypes.d.ts +30 -30
  170. package/src/utils/env.ts +10 -10
  171. package/tsconfig.build.json +7 -7
  172. package/tsconfig.json +32 -32
  173. package/webpack.cosmos.js +54 -54
  174. package/dist/assets/output-15e10f9f.css +0 -44
  175. package/dist/cjs/assets/output-15e10f9f.css +0 -44
  176. package/dist/cjs/index.cjs +0 -7742
  177. package/dist/cjs/index.cjs.map +0 -1
  178. package/dist/index.d.ts +0 -246
  179. package/dist/index.js +0 -7696
  180. package/dist/index.js.map +0 -1
package/API.md CHANGED
@@ -1,332 +1,404 @@
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
+ ## Members
2
+
3
+ <dl>
4
+ <dt><a href="#ChainEnum">ChainEnum</a></dt>
5
+ <dd><p>Updates cy.visit() to include an injected window.ethereum provider.</p></dd>
6
+ </dl>
7
+
8
+ ## Functions
9
+
10
+ <dl>
11
+ <dt><a href="#InvoiceFactoringBorrowWidget">InvoiceFactoringBorrowWidget(props)</a> ⇒</dt>
12
+ <dd><p>Invoice factoring borrow widget</p></dd>
13
+ <dt><a href="#InvoiceFactoringPaymentWidget">InvoiceFactoringPaymentWidget(props)</a> ⇒</dt>
14
+ <dd><p>Invoice factoring payment widget</p></dd>
15
+ <dt><a href="#CreditLineBorrowWidget">CreditLineBorrowWidget(props)</a> ⇒</dt>
16
+ <dd><p>Credit line borrow widget</p></dd>
17
+ <dt><a href="#CreditLinePaymentWidget">CreditLinePaymentWidget(props)</a> ⇒</dt>
18
+ <dd><p>Credit line payment widget</p></dd>
19
+ <dt><a href="#CreditLineApproveWidget">CreditLineApproveWidget(props)</a> ⇒</dt>
20
+ <dd><p>Credit line allowance approve widget to top up a pool's ERC20 token allowance.
21
+ To be used when re-enabling autopay and other pool actions that require allowance.</p></dd>
22
+ <dt><a href="#LendSupplyWidget">LendSupplyWidget(props)</a> ⇒</dt>
23
+ <dd><p>Lend supply widget</p></dd>
24
+ <dt><a href="#LendWithdrawWidget">LendWithdrawWidget(props)</a> ⇒</dt>
25
+ <dd><p>Lend withdraw widget</p></dd>
26
+ <dt><a href="#SuperfluidFactoringWidget">SuperfluidFactoringWidget(props)</a> ⇒</dt>
27
+ <dd><p>Superfluid factoring widget</p></dd>
28
+ <dt><a href="#components">components()</a></dt>
29
+ <dd><p>This file can be used to override default props and styles on the various Material components
30
+ see: https://mui.com/customization/theme-components/</p></dd>
31
+ </dl>
32
+
33
+ ## Typedefs
34
+
35
+ <dl>
36
+ <dt><a href="#CreditLineApproveProps">CreditLineApproveProps</a> : <code>Object</code></dt>
37
+ <dd><p>Credit line pool approve allowance props</p></dd>
38
+ <dt><a href="#CreditLineBorrowProps">CreditLineBorrowProps</a> : <code>Object</code></dt>
39
+ <dd><p>Credit line pool borrow props</p></dd>
40
+ <dt><a href="#CreditLinePaymentProps">CreditLinePaymentProps</a> : <code>Object</code></dt>
41
+ <dd><p>Credit line pool payment props</p></dd>
42
+ <dt><a href="#InvoiceFactoringBorrowProps">InvoiceFactoringBorrowProps</a> : <code>Object</code></dt>
43
+ <dd><p>Invoice factoring pool borrow props</p></dd>
44
+ <dt><a href="#InvoiceFactoringPaymentProps">InvoiceFactoringPaymentProps</a> : <code>Object</code></dt>
45
+ <dd><p>Invoice factoring pool payment props</p></dd>
46
+ <dt><a href="#LendSupplyProps">LendSupplyProps</a> : <code>Object</code></dt>
47
+ <dd><p>Lend pool supply props</p></dd>
48
+ <dt><a href="#LendWithdrawProps">LendWithdrawProps</a> : <code>Object</code></dt>
49
+ <dd><p>Lend pool withdraw props</p></dd>
50
+ <dt><a href="#JsonRpcConnectionMap">JsonRpcConnectionMap</a> : <code>Object</code></dt>
51
+ <dd><p>Mapping of your JSON-RPC connections indexed by chainId</p></dd>
52
+ <dt><a href="#WidgetProps">WidgetProps</a> : <code>Object</code></dt>
53
+ <dd><p>Object representing the props passed to web3 provider</p></dd>
54
+ <dt><a href="#InvoiceFactoringBorrowWidgetProps">InvoiceFactoringBorrowWidgetProps</a> : <code>Object</code></dt>
55
+ <dd><p>Invoice factoring pool borrow widget props</p></dd>
56
+ <dt><a href="#InvoiceFactoringPaymentWidgetProps">InvoiceFactoringPaymentWidgetProps</a> : <code>Object</code></dt>
57
+ <dd><p>Invoice factoring pool payment widget props</p></dd>
58
+ <dt><a href="#CreditLineBorrowWidgetProps">CreditLineBorrowWidgetProps</a> : <code>Object</code></dt>
59
+ <dd><p>Credit line pool borrow widget props</p></dd>
60
+ <dt><a href="#CreditLinePaymentWidgetProps">CreditLinePaymentWidgetProps</a> : <code>Object</code></dt>
61
+ <dd><p>Credit line pool payment widget props</p></dd>
62
+ <dt><a href="#CreditLinePaymentWidgetProps">CreditLinePaymentWidgetProps</a> : <code>Object</code></dt>
63
+ <dd><p>Credit line allowance approval widget props</p></dd>
64
+ <dt><a href="#LendSupplyWidgetProps">LendSupplyWidgetProps</a> : <code>Object</code></dt>
65
+ <dd><p>Lend pool supply widget props</p></dd>
66
+ <dt><a href="#LendWithdrawWidgetProps">LendWithdrawWidgetProps</a> : <code>Object</code></dt>
67
+ <dd><p>Lend pool withdraw widget props</p></dd>
68
+ </dl>
69
+
70
+ <a name="ChainEnum"></a>
71
+
72
+ ## ChainEnum
73
+ <p>Updates cy.visit() to include an injected window.ethereum provider.</p>
74
+
75
+ **Kind**: global variable
76
+ <a name="InvoiceFactoringBorrowWidget"></a>
77
+
78
+ ## InvoiceFactoringBorrowWidget(props) ⇒
79
+ <p>Invoice factoring borrow widget</p>
80
+
81
+ **Kind**: global function
82
+ **Returns**: <p>Invoice factoring pool borrow widget component</p>
83
+
84
+ | Param | Type | Description |
85
+ | --- | --- | --- |
86
+ | props | [<code>InvoiceFactoringBorrowWidgetProps</code>](#InvoiceFactoringBorrowWidgetProps) | <p>The invoice factoring pool borrow widget props.</p> |
87
+
88
+ <a name="InvoiceFactoringPaymentWidget"></a>
89
+
90
+ ## InvoiceFactoringPaymentWidget(props) ⇒
91
+ <p>Invoice factoring payment widget</p>
92
+
93
+ **Kind**: global function
94
+ **Returns**: <p>Invoice factoring pool payment widget component</p>
95
+
96
+ | Param | Type | Description |
97
+ | --- | --- | --- |
98
+ | props | [<code>InvoiceFactoringPaymentWidgetProps</code>](#InvoiceFactoringPaymentWidgetProps) | <p>The invoice factoring pool payment widget props.</p> |
99
+
100
+ <a name="CreditLineBorrowWidget"></a>
101
+
102
+ ## CreditLineBorrowWidget(props) ⇒
103
+ <p>Credit line borrow widget</p>
104
+
105
+ **Kind**: global function
106
+ **Returns**: <p>Credit line pool borrow widget component</p>
107
+
108
+ | Param | Type | Description |
109
+ | --- | --- | --- |
110
+ | props | [<code>CreditLineBorrowWidgetProps</code>](#CreditLineBorrowWidgetProps) | <p>The credit line pool borrow widget props.</p> |
111
+
112
+ <a name="CreditLinePaymentWidget"></a>
113
+
114
+ ## CreditLinePaymentWidget(props) ⇒
115
+ <p>Credit line payment widget</p>
116
+
117
+ **Kind**: global function
118
+ **Returns**: <p>Credit line pool payment widget component</p>
119
+
120
+ | Param | Type | Description |
121
+ | --- | --- | --- |
122
+ | props | [<code>CreditLinePaymentWidgetProps</code>](#CreditLinePaymentWidgetProps) | <p>The credit line pool payment widget props.</p> |
123
+
124
+ <a name="CreditLineApproveWidget"></a>
125
+
126
+ ## CreditLineApproveWidget(props) ⇒
127
+ <p>Credit line allowance approve widget to top up a pool's ERC20 token allowance.
128
+ To be used when re-enabling autopay and other pool actions that require allowance.</p>
129
+
130
+ **Kind**: global function
131
+ **Returns**: <p>Credit line pool approve widget component</p>
132
+
133
+ | Param | Type | Description |
134
+ | --- | --- | --- |
135
+ | props | <code>CreditLineApproveWidgetProps</code> | <p>The credit line pool approve widget props.</p> |
136
+
137
+ <a name="LendSupplyWidget"></a>
138
+
139
+ ## LendSupplyWidget(props) ⇒
140
+ <p>Lend supply widget</p>
141
+
142
+ **Kind**: global function
143
+ **Returns**: <p>Lend pool supply widget component</p>
144
+
145
+ | Param | Type | Description |
146
+ | --- | --- | --- |
147
+ | props | [<code>LendSupplyWidgetProps</code>](#LendSupplyWidgetProps) | <p>The lend pool supply widget props.</p> |
148
+
149
+ <a name="LendWithdrawWidget"></a>
150
+
151
+ ## LendWithdrawWidget(props) ⇒
152
+ <p>Lend withdraw widget</p>
153
+
154
+ **Kind**: global function
155
+ **Returns**: <p>Lend pool withdraw widget component</p>
156
+
157
+ | Param | Type | Description |
158
+ | --- | --- | --- |
159
+ | props | [<code>LendWithdrawWidgetProps</code>](#LendWithdrawWidgetProps) | <p>The lend pool withdraw widget props</p> |
160
+
161
+ <a name="SuperfluidFactoringWidget"></a>
162
+
163
+ ## SuperfluidFactoringWidget(props) ⇒
164
+ <p>Superfluid factoring widget</p>
165
+
166
+ **Kind**: global function
167
+ **Returns**: <p>Superfluid factoring widget component</p>
168
+
169
+ | Param | Type | Description |
170
+ | --- | --- | --- |
171
+ | props | [<code>WidgetProps</code>](#WidgetProps) | <p>The superfluid factoring widget props.</p> |
172
+
173
+ <a name="components"></a>
174
+
175
+ ## components()
176
+ <p>This file can be used to override default props and styles on the various Material components
177
+ see: https://mui.com/customization/theme-components/</p>
178
+
179
+ **Kind**: global function
180
+ <a name="CreditLineApproveProps"></a>
181
+
182
+ ## CreditLineApproveProps : <code>Object</code>
183
+ <p>Credit line pool approve allowance props</p>
184
+
185
+ **Kind**: global typedef
186
+ **Properties**
187
+
188
+ | Name | Type | Description |
189
+ | --- | --- | --- |
190
+ | poolName | <code>POOL\_NAME</code> | <p>The name of the pool.</p> |
191
+ | poolType | <code>POOL\_TYPE</code> | <p>The type of the pool.</p> |
192
+ | amount | <code>BigNumberish</code> \| <code>undefined</code> | <p>The amount to approve.</p> |
193
+ | handleClose | <code>function</code> | <p>Function to notify to close the widget modal when user clicks the 'x' close button.</p> |
194
+ | handleSuccess | <code>function</code> | <p>Optional function to notify that the credit line pool approve allowance action is successful.</p> |
195
+
196
+ <a name="CreditLineBorrowProps"></a>
197
+
198
+ ## CreditLineBorrowProps : <code>Object</code>
199
+ <p>Credit line pool borrow props</p>
200
+
201
+ **Kind**: global typedef
202
+ **Properties**
203
+
204
+ | Name | Type | Description |
205
+ | --- | --- | --- |
206
+ | poolName | <code>POOL\_NAME</code> | <p>The name of the pool.</p> |
207
+ | poolType | <code>POOL\_TYPE</code> | <p>The type of the pool.</p> |
208
+ | handleClose | <code>function</code> | <p>Function to notify to close the widget modal when user clicks the 'x' close button.</p> |
209
+ | handleApprove | <code>function</code> | <p>Optional function to notify when user is approved successfully to borrow again pool.</p> |
210
+ | handleSuccess | <code>function</code> | <p>Optional function to notify that the credit line pool borrow action is successful.</p> |
211
+
212
+ <a name="CreditLinePaymentProps"></a>
213
+
214
+ ## CreditLinePaymentProps : <code>Object</code>
215
+ <p>Credit line pool payment props</p>
216
+
217
+ **Kind**: global typedef
218
+ **Properties**
219
+
220
+ | Name | Type | Description |
221
+ | --- | --- | --- |
222
+ | poolName | <code>POOL\_NAME</code> | <p>The name of the pool.</p> |
223
+ | poolType | <code>POOL\_TYPE</code> | <p>The type of the pool.</p> |
224
+ | handleClose | <code>function</code> | <p>Function to notify to close the widget modal when user clicks the 'x' close button.</p> |
225
+ | handleSuccess | <code>function</code> | <p>Optional function to notify that the credit line pool payment action is successful.</p> |
226
+
227
+ <a name="InvoiceFactoringBorrowProps"></a>
228
+
229
+ ## InvoiceFactoringBorrowProps : <code>Object</code>
230
+ <p>Invoice factoring pool borrow props</p>
231
+
232
+ **Kind**: global typedef
233
+ **Properties**
234
+
235
+ | Name | Type | Description |
236
+ | --- | --- | --- |
237
+ | poolName | <code>POOL\_NAME</code> | <p>The name of the pool.</p> |
238
+ | poolType | <code>POOL\_TYPE</code> | <p>The type of the pool.</p> |
239
+ | tokenId | <code>string</code> \| <code>BigNumber</code> | <p>The NFT token id representing invoice.</p> |
240
+ | handleClose | <code>function</code> | <p>Function to notify to close the widget modal when user clicks the 'x' close button.</p> |
241
+ | handleSuccess | <code>function</code> | <p>Optional function to notify that the invoice pool borrow action is successful.</p> |
242
+
243
+ <a name="InvoiceFactoringPaymentProps"></a>
244
+
245
+ ## InvoiceFactoringPaymentProps : <code>Object</code>
246
+ <p>Invoice factoring pool payment props</p>
247
+
248
+ **Kind**: global typedef
249
+ **Properties**
250
+
251
+ | Name | Type | Description |
252
+ | --- | --- | --- |
253
+ | poolName | <code>POOL\_NAME</code> | <p>The name of the pool.</p> |
254
+ | poolType | <code>POOL\_TYPE</code> | <p>The type of the pool.</p> |
255
+ | handleClose | <code>function</code> | <p>Function to notify to close the widget modal when user clicks the 'x' close button.</p> |
256
+ | handleSuccess | <code>function</code> | <p>Optional function to notify that the invoice pool payment action is successful.</p> |
257
+
258
+ <a name="LendSupplyProps"></a>
259
+
260
+ ## LendSupplyProps : <code>Object</code>
261
+ <p>Lend pool supply props</p>
262
+
263
+ **Kind**: global typedef
264
+ **Properties**
265
+
266
+ | Name | Type | Description |
267
+ | --- | --- | --- |
268
+ | poolName | <code>POOL\_NAME</code> | <p>The name of the pool.</p> |
269
+ | poolType | <code>POOL\_TYPE</code> | <p>The type of the pool.</p> |
270
+ | handleClose | <code>function</code> | <p>Function to notify to close the widget modal when user clicks the 'x' close button.</p> |
271
+ | handleSuccess | <code>function</code> | <p>Optional function to notify that the lending pool supply action is successful.</p> |
272
+
273
+ <a name="LendWithdrawProps"></a>
274
+
275
+ ## LendWithdrawProps : <code>Object</code>
276
+ <p>Lend pool withdraw props</p>
277
+
278
+ **Kind**: global typedef
279
+ **Properties**
280
+
281
+ | Name | Type | Description |
282
+ | --- | --- | --- |
283
+ | poolName | <code>POOL\_NAME</code> | <p>The name of the pool.</p> |
284
+ | poolType | <code>POOL\_TYPE</code> | <p>The type of the pool.</p> |
285
+ | handleClose | <code>function</code> | <p>Function to notify to close the widget modal when user clicks the 'x' close button.</p> |
286
+ | handleSuccess | <code>function</code> | <p>Optional function to notify that the lending pool withdraw action is successful.</p> |
287
+
288
+ <a name="JsonRpcConnectionMap"></a>
289
+
290
+ ## JsonRpcConnectionMap : <code>Object</code>
291
+ <p>Mapping of your JSON-RPC connections indexed by chainId</p>
292
+
293
+ **Kind**: global typedef
294
+ **Properties**
295
+
296
+ | Name | Type | Description |
297
+ | --- | --- | --- |
298
+ | 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> |
299
+
300
+ <a name="WidgetProps"></a>
301
+
302
+ ## WidgetProps : <code>Object</code>
303
+ <p>Object representing the props passed to web3 provider</p>
304
+
305
+ **Kind**: global typedef
306
+ **Properties**
307
+
308
+ | Name | Type | Description |
309
+ | --- | --- | --- |
310
+ | 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> |
311
+ | jsonRpcUrlMap | [<code>JsonRpcConnectionMap</code>](#JsonRpcConnectionMap) \| <code>undefined</code> | <p>Optional mapping of your JSON-RPC connections indexed by chainId</p> |
312
+ | provider | <code>Eip1193Provider</code> \| <code>JsonRpcProviderl</code> | <p>EIP-1193 provider or JsonRpc Provider</p> |
313
+
314
+ <a name="InvoiceFactoringBorrowWidgetProps"></a>
315
+
316
+ ## InvoiceFactoringBorrowWidgetProps : <code>Object</code>
317
+ <p>Invoice factoring pool borrow widget props</p>
318
+
319
+ **Kind**: global typedef
320
+ **Properties**
321
+
322
+ | Name | Type | Description |
323
+ | --- | --- | --- |
324
+ | InvoiceFactoringBorrowProps | [<code>InvoiceFactoringBorrowProps</code>](#InvoiceFactoringBorrowProps) | <p>Invoice factoring pool borrow props.</p> |
325
+ | WidgetProps | [<code>WidgetProps</code>](#WidgetProps) | <p>Widget general props.</p> |
326
+
327
+ <a name="InvoiceFactoringPaymentWidgetProps"></a>
328
+
329
+ ## InvoiceFactoringPaymentWidgetProps : <code>Object</code>
330
+ <p>Invoice factoring pool payment widget props</p>
331
+
332
+ **Kind**: global typedef
333
+ **Properties**
334
+
335
+ | Name | Type | Description |
336
+ | --- | --- | --- |
337
+ | InvoiceFactoringPaymentProps | [<code>InvoiceFactoringPaymentProps</code>](#InvoiceFactoringPaymentProps) | <p>Invoice factoring pool payment props.</p> |
338
+ | WidgetProps | [<code>WidgetProps</code>](#WidgetProps) | <p>Widget general props.</p> |
339
+
340
+ <a name="CreditLineBorrowWidgetProps"></a>
341
+
342
+ ## CreditLineBorrowWidgetProps : <code>Object</code>
343
+ <p>Credit line pool borrow widget props</p>
344
+
345
+ **Kind**: global typedef
346
+ **Properties**
347
+
348
+ | Name | Type | Description |
349
+ | --- | --- | --- |
350
+ | CreditLineBorrowProps | [<code>CreditLineBorrowProps</code>](#CreditLineBorrowProps) | <p>Credit line pool borrow props.</p> |
351
+ | WidgetProps | [<code>WidgetProps</code>](#WidgetProps) | <p>Widget general props.</p> |
352
+
353
+ <a name="CreditLinePaymentWidgetProps"></a>
354
+
355
+ ## CreditLinePaymentWidgetProps : <code>Object</code>
356
+ <p>Credit line pool payment widget props</p>
357
+
358
+ **Kind**: global typedef
359
+ **Properties**
360
+
361
+ | Name | Type | Description |
362
+ | --- | --- | --- |
363
+ | CreditLinePaymentProps | [<code>CreditLinePaymentProps</code>](#CreditLinePaymentProps) | <p>Credit line pool payment props.</p> |
364
+ | WidgetProps | [<code>WidgetProps</code>](#WidgetProps) | <p>Widget general props.</p> |
365
+
366
+ <a name="CreditLinePaymentWidgetProps"></a>
367
+
368
+ ## CreditLinePaymentWidgetProps : <code>Object</code>
369
+ <p>Credit line allowance approval widget props</p>
370
+
371
+ **Kind**: global typedef
372
+ **Properties**
373
+
374
+ | Name | Type | Description |
375
+ | --- | --- | --- |
376
+ | CreditLineApproveProps | [<code>CreditLineApproveProps</code>](#CreditLineApproveProps) | <p>Credit line allowance approve props.</p> |
377
+ | WidgetProps | [<code>WidgetProps</code>](#WidgetProps) | <p>Widget general props.</p> |
378
+
379
+ <a name="LendSupplyWidgetProps"></a>
380
+
381
+ ## LendSupplyWidgetProps : <code>Object</code>
382
+ <p>Lend pool supply widget props</p>
383
+
384
+ **Kind**: global typedef
385
+ **Properties**
386
+
387
+ | Name | Type | Description |
388
+ | --- | --- | --- |
389
+ | LendSupplyProps | [<code>LendSupplyProps</code>](#LendSupplyProps) | <p>Lend pool supply props.</p> |
390
+ | WidgetProps | [<code>WidgetProps</code>](#WidgetProps) | <p>Widget general props.</p> |
391
+
392
+ <a name="LendWithdrawWidgetProps"></a>
393
+
394
+ ## LendWithdrawWidgetProps : <code>Object</code>
395
+ <p>Lend pool withdraw widget props</p>
396
+
397
+ **Kind**: global typedef
398
+ **Properties**
399
+
400
+ | Name | Type | Description |
401
+ | --- | --- | --- |
402
+ | LendWithdrawProps | [<code>LendWithdrawProps</code>](#LendWithdrawProps) | <p>Lend pool withdraw props.</p> |
403
+ | WidgetProps | [<code>WidgetProps</code>](#WidgetProps) | <p>Widget general props.</p> |
404
+