@kasufinance/kasu-sdk 1.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (219) hide show
  1. package/.eslintignore +3 -0
  2. package/.eslintrc.json +90 -0
  3. package/.github/workflows/ci.yml +0 -0
  4. package/.github/workflows/main.yml +43 -0
  5. package/.prettierignore +3 -0
  6. package/.prettierrc +28 -0
  7. package/abis/IClearingCoordinator.abi.json +410 -0
  8. package/abis/IERC20Metadata.abi.json +224 -0
  9. package/abis/IFeeManager.abi.json +66 -0
  10. package/abis/IKSULocking.abi.json +754 -0
  11. package/abis/IKasuAllowList.abi.json +455 -0
  12. package/abis/IKasuController.abi.json +423 -0
  13. package/abis/IKasuNFTs.abi.json +1523 -0
  14. package/abis/IKsuPrice.abi.json +15 -0
  15. package/abis/ILendingPool.abi.json +1431 -0
  16. package/abis/ILendingPoolFactory.abi.json +97 -0
  17. package/abis/ILendingPoolManager.abi.json +1347 -0
  18. package/abis/ILendingPoolTranche.abi.json +1317 -0
  19. package/abis/IPriceFeed.abi.json +1 -0
  20. package/abis/ISystemVariables.abi.json +431 -0
  21. package/abis/IUserLoyaltyRewards.abi.json +288 -0
  22. package/abis/IUserManager.abi.json +321 -0
  23. package/abis/KSULockBonus.abi.json +91 -0
  24. package/abis/KasuPoolExternalTVL.abi.json +812 -0
  25. package/abis/Swapper.abi.json +146 -0
  26. package/copy-abi.ps1 +15 -0
  27. package/dist/bundle.cjs.js +21646 -0
  28. package/dist/bundle.esm.js +21644 -0
  29. package/dist/contracts/IClearingCoordinatorAbi.d.ts +169 -0
  30. package/dist/contracts/IClearingCoordinatorAbi.js +1 -0
  31. package/dist/contracts/IERC20MetadataAbi.d.ts +162 -0
  32. package/dist/contracts/IERC20MetadataAbi.js +1 -0
  33. package/dist/contracts/IFeeManagerAbi.d.ts +96 -0
  34. package/dist/contracts/IFeeManagerAbi.js +1 -0
  35. package/dist/contracts/IKSULockingAbi.d.ts +466 -0
  36. package/dist/contracts/IKSULockingAbi.js +1 -0
  37. package/dist/contracts/IKasuAllowListAbi.d.ts +304 -0
  38. package/dist/contracts/IKasuAllowListAbi.js +1 -0
  39. package/dist/contracts/IKasuControllerAbi.d.ts +309 -0
  40. package/dist/contracts/IKasuControllerAbi.js +1 -0
  41. package/dist/contracts/IKasuNFTsAbi.d.ts +1121 -0
  42. package/dist/contracts/IKasuNFTsAbi.js +1 -0
  43. package/dist/contracts/IKsuPriceAbi.d.ts +42 -0
  44. package/dist/contracts/IKsuPriceAbi.js +1 -0
  45. package/dist/contracts/ILendingPoolAbi.d.ts +968 -0
  46. package/dist/contracts/ILendingPoolAbi.js +1 -0
  47. package/dist/contracts/ILendingPoolFactoryAbi.d.ts +103 -0
  48. package/dist/contracts/ILendingPoolFactoryAbi.js +1 -0
  49. package/dist/contracts/ILendingPoolManagerAbi.d.ts +779 -0
  50. package/dist/contracts/ILendingPoolManagerAbi.js +1 -0
  51. package/dist/contracts/ILendingPoolTrancheAbi.d.ts +752 -0
  52. package/dist/contracts/ILendingPoolTrancheAbi.js +1 -0
  53. package/dist/contracts/ISystemVariablesAbi.d.ts +378 -0
  54. package/dist/contracts/ISystemVariablesAbi.js +1 -0
  55. package/dist/contracts/IUserLoyaltyRewardsAbi.d.ts +248 -0
  56. package/dist/contracts/IUserLoyaltyRewardsAbi.js +1 -0
  57. package/dist/contracts/IUserManagerAbi.d.ts +270 -0
  58. package/dist/contracts/IUserManagerAbi.js +1 -0
  59. package/dist/contracts/KSULockBonusAbi.d.ts +61 -0
  60. package/dist/contracts/KSULockBonusAbi.js +1 -0
  61. package/dist/contracts/KasuPoolExternalTVLAbi.d.ts +411 -0
  62. package/dist/contracts/KasuPoolExternalTVLAbi.js +1 -0
  63. package/dist/contracts/SwapperAbi.d.ts +120 -0
  64. package/dist/contracts/SwapperAbi.js +1 -0
  65. package/dist/contracts/common.d.ts +21 -0
  66. package/dist/contracts/common.js +1 -0
  67. package/dist/contracts/factories/IClearingCoordinatorAbi__factory.d.ts +320 -0
  68. package/dist/contracts/factories/IClearingCoordinatorAbi__factory.js +423 -0
  69. package/dist/contracts/factories/IERC20MetadataAbi__factory.d.ts +178 -0
  70. package/dist/contracts/factories/IERC20MetadataAbi__factory.js +237 -0
  71. package/dist/contracts/factories/IFeeManagerAbi__factory.d.ts +59 -0
  72. package/dist/contracts/factories/IFeeManagerAbi__factory.js +79 -0
  73. package/dist/contracts/factories/IKSULockingAbi__factory.d.ts +588 -0
  74. package/dist/contracts/factories/IKSULockingAbi__factory.js +767 -0
  75. package/dist/contracts/factories/IKasuAllowListAbi__factory.d.ts +354 -0
  76. package/dist/contracts/factories/IKasuAllowListAbi__factory.js +468 -0
  77. package/dist/contracts/factories/IKasuControllerAbi__factory.d.ts +339 -0
  78. package/dist/contracts/factories/IKasuControllerAbi__factory.js +436 -0
  79. package/dist/contracts/factories/IKasuNFTsAbi__factory.d.ts +1629 -0
  80. package/dist/contracts/factories/IKasuNFTsAbi__factory.js +2108 -0
  81. package/dist/contracts/factories/IKsuPriceAbi__factory.d.ts +18 -0
  82. package/dist/contracts/factories/IKsuPriceAbi__factory.js +28 -0
  83. package/dist/contracts/factories/ILendingPoolAbi__factory.d.ts +1109 -0
  84. package/dist/contracts/factories/ILendingPoolAbi__factory.js +1444 -0
  85. package/dist/contracts/factories/ILendingPoolFactoryAbi__factory.d.ts +81 -0
  86. package/dist/contracts/factories/ILendingPoolFactoryAbi__factory.js +110 -0
  87. package/dist/contracts/factories/ILendingPoolManagerAbi__factory.d.ts +1045 -0
  88. package/dist/contracts/factories/ILendingPoolManagerAbi__factory.js +1360 -0
  89. package/dist/contracts/factories/ILendingPoolTrancheAbi__factory.d.ts +1015 -0
  90. package/dist/contracts/factories/ILendingPoolTrancheAbi__factory.js +1330 -0
  91. package/dist/contracts/factories/ISystemVariablesAbi__factory.d.ts +338 -0
  92. package/dist/contracts/factories/ISystemVariablesAbi__factory.js +444 -0
  93. package/dist/contracts/factories/IUserLoyaltyRewardsAbi__factory.d.ts +230 -0
  94. package/dist/contracts/factories/IUserLoyaltyRewardsAbi__factory.js +301 -0
  95. package/dist/contracts/factories/IUserManagerAbi__factory.d.ts +250 -0
  96. package/dist/contracts/factories/IUserManagerAbi__factory.js +334 -0
  97. package/dist/contracts/factories/KSULockBonusAbi__factory.d.ts +76 -0
  98. package/dist/contracts/factories/KSULockBonusAbi__factory.js +104 -0
  99. package/dist/contracts/factories/KasuPoolExternalTVLAbi__factory.d.ts +631 -0
  100. package/dist/contracts/factories/KasuPoolExternalTVLAbi__factory.js +825 -0
  101. package/dist/contracts/factories/SwapperAbi__factory.d.ts +120 -0
  102. package/dist/contracts/factories/SwapperAbi__factory.js +159 -0
  103. package/dist/contracts/factories/index.d.ts +18 -0
  104. package/dist/contracts/factories/index.js +21 -0
  105. package/dist/contracts/index.d.ts +37 -0
  106. package/dist/contracts/index.js +19 -0
  107. package/dist/index.d.ts +17 -0
  108. package/dist/index.js +16 -0
  109. package/dist/sdk-config.d.ts +22 -0
  110. package/dist/sdk-config.js +9 -0
  111. package/dist/services/DataService/data-service.d.ts +37 -0
  112. package/dist/services/DataService/data-service.js +586 -0
  113. package/dist/services/DataService/directus-types.d.ts +187 -0
  114. package/dist/services/DataService/directus-types.js +1 -0
  115. package/dist/services/DataService/queries.d.ts +7 -0
  116. package/dist/services/DataService/queries.js +158 -0
  117. package/dist/services/DataService/subgraph-types.d.ts +95 -0
  118. package/dist/services/DataService/subgraph-types.js +1 -0
  119. package/dist/services/DataService/types.d.ts +169 -0
  120. package/dist/services/DataService/types.js +1 -0
  121. package/dist/services/Locking/locking.d.ts +61 -0
  122. package/dist/services/Locking/locking.js +344 -0
  123. package/dist/services/Locking/queries.d.ts +10 -0
  124. package/dist/services/Locking/queries.js +108 -0
  125. package/dist/services/Locking/types.d.ts +117 -0
  126. package/dist/services/Locking/types.js +1 -0
  127. package/dist/services/Portfolio/portfolio.d.ts +22 -0
  128. package/dist/services/Portfolio/portfolio.js +325 -0
  129. package/dist/services/Portfolio/queries.d.ts +2 -0
  130. package/dist/services/Portfolio/queries.js +164 -0
  131. package/dist/services/Portfolio/types.d.ts +206 -0
  132. package/dist/services/Portfolio/types.js +1 -0
  133. package/dist/services/Swapper/swapper.d.ts +11 -0
  134. package/dist/services/Swapper/swapper.js +97 -0
  135. package/dist/services/Swapper/types.d.ts +51 -0
  136. package/dist/services/Swapper/types.js +1 -0
  137. package/dist/services/UserLending/helper.d.ts +2 -0
  138. package/dist/services/UserLending/helper.js +16 -0
  139. package/dist/services/UserLending/queries.d.ts +8 -0
  140. package/dist/services/UserLending/queries.js +188 -0
  141. package/dist/services/UserLending/subgraph-types.d.ts +147 -0
  142. package/dist/services/UserLending/subgraph-types.js +6 -0
  143. package/dist/services/UserLending/types.d.ts +102 -0
  144. package/dist/services/UserLending/types.js +13 -0
  145. package/dist/services/UserLending/user-lending.d.ts +55 -0
  146. package/dist/services/UserLending/user-lending.js +490 -0
  147. package/dist/services/shared.d.ts +1 -0
  148. package/dist/services/shared.js +11 -0
  149. package/dist/tests/sample.test.d.ts +1 -0
  150. package/dist/tests/sample.test.js +32 -0
  151. package/index.ts +2 -0
  152. package/jest-config.ts +9 -0
  153. package/jest.config.js +8 -0
  154. package/package.json +49 -0
  155. package/rollup.config.js +45 -0
  156. package/src/contracts/IClearingCoordinatorAbi.ts +406 -0
  157. package/src/contracts/IERC20MetadataAbi.ts +364 -0
  158. package/src/contracts/IFeeManagerAbi.ts +182 -0
  159. package/src/contracts/IKSULockingAbi.ts +965 -0
  160. package/src/contracts/IKasuAllowListAbi.ts +605 -0
  161. package/src/contracts/IKasuControllerAbi.ts +703 -0
  162. package/src/contracts/IKasuNFTsAbi.ts +2744 -0
  163. package/src/contracts/IKsuPriceAbi.ts +87 -0
  164. package/src/contracts/ILendingPoolAbi.ts +2081 -0
  165. package/src/contracts/ILendingPoolFactoryAbi.ts +161 -0
  166. package/src/contracts/ILendingPoolManagerAbi.ts +1917 -0
  167. package/src/contracts/ILendingPoolTrancheAbi.ts +1911 -0
  168. package/src/contracts/ISystemVariablesAbi.ts +908 -0
  169. package/src/contracts/IUserLoyaltyRewardsAbi.ts +544 -0
  170. package/src/contracts/IUserManagerAbi.ts +612 -0
  171. package/src/contracts/KSULockBonusAbi.ts +124 -0
  172. package/src/contracts/KasuPoolExternalTVLAbi.ts +1071 -0
  173. package/src/contracts/SwapperAbi.ts +266 -0
  174. package/src/contracts/common.ts +44 -0
  175. package/src/contracts/factories/IClearingCoordinatorAbi__factory.ts +438 -0
  176. package/src/contracts/factories/IERC20MetadataAbi__factory.ts +248 -0
  177. package/src/contracts/factories/IFeeManagerAbi__factory.ts +90 -0
  178. package/src/contracts/factories/IKSULockingAbi__factory.ts +778 -0
  179. package/src/contracts/factories/IKasuAllowListAbi__factory.ts +479 -0
  180. package/src/contracts/factories/IKasuControllerAbi__factory.ts +447 -0
  181. package/src/contracts/factories/IKasuNFTsAbi__factory.ts +2116 -0
  182. package/src/contracts/factories/IKsuPriceAbi__factory.ts +36 -0
  183. package/src/contracts/factories/ILendingPoolAbi__factory.ts +1455 -0
  184. package/src/contracts/factories/ILendingPoolFactoryAbi__factory.ts +125 -0
  185. package/src/contracts/factories/ILendingPoolManagerAbi__factory.ts +1375 -0
  186. package/src/contracts/factories/ILendingPoolTrancheAbi__factory.ts +1345 -0
  187. package/src/contracts/factories/ISystemVariablesAbi__factory.ts +455 -0
  188. package/src/contracts/factories/IUserLoyaltyRewardsAbi__factory.ts +316 -0
  189. package/src/contracts/factories/IUserManagerAbi__factory.ts +345 -0
  190. package/src/contracts/factories/KSULockBonusAbi__factory.ts +115 -0
  191. package/src/contracts/factories/KasuPoolExternalTVLAbi__factory.ts +840 -0
  192. package/src/contracts/factories/SwapperAbi__factory.ts +167 -0
  193. package/src/contracts/factories/index.ts +21 -0
  194. package/src/contracts/index.ts +40 -0
  195. package/src/index.ts +27 -0
  196. package/src/sdk-config.ts +35 -0
  197. package/src/services/DataService/data-service.ts +1017 -0
  198. package/src/services/DataService/directus-types.ts +199 -0
  199. package/src/services/DataService/queries.ts +165 -0
  200. package/src/services/DataService/subgraph-types.ts +104 -0
  201. package/src/services/DataService/types.ts +184 -0
  202. package/src/services/Locking/locking.ts +541 -0
  203. package/src/services/Locking/queries.ts +118 -0
  204. package/src/services/Locking/types.ts +141 -0
  205. package/src/services/Portfolio/portfolio.ts +593 -0
  206. package/src/services/Portfolio/queries.ts +166 -0
  207. package/src/services/Portfolio/types.ts +220 -0
  208. package/src/services/Swapper/swapper.ts +158 -0
  209. package/src/services/Swapper/types.ts +54 -0
  210. package/src/services/UserLending/helper.ts +28 -0
  211. package/src/services/UserLending/queries.ts +196 -0
  212. package/src/services/UserLending/subgraph-types.ts +173 -0
  213. package/src/services/UserLending/types.ts +123 -0
  214. package/src/services/UserLending/user-lending.ts +933 -0
  215. package/src/services/shared.ts +11 -0
  216. package/src/tests/sample.test.ts +44 -0
  217. package/tsconfig.json +27 -0
  218. package/tsconfig.tsbuildinfo +1 -0
  219. package/versioner.sh +6 -0
@@ -0,0 +1,1360 @@
1
+ /* Autogenerated file. Do not edit manually. */
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ import { Contract, utils } from "ethers";
5
+ const _abi = [
6
+ {
7
+ type: "constructor",
8
+ inputs: [
9
+ {
10
+ name: "fixedTermDeposit_",
11
+ type: "address",
12
+ internalType: "contract IFixedTermDeposit",
13
+ },
14
+ {
15
+ name: "underlyingAsset_",
16
+ type: "address",
17
+ internalType: "address",
18
+ },
19
+ {
20
+ name: "controller_",
21
+ type: "address",
22
+ internalType: "contract IKasuController",
23
+ },
24
+ {
25
+ name: "weth_",
26
+ type: "address",
27
+ internalType: "contract IWETH9",
28
+ },
29
+ {
30
+ name: "swapper_",
31
+ type: "address",
32
+ internalType: "contract ISwapper",
33
+ },
34
+ ],
35
+ stateMutability: "nonpayable",
36
+ },
37
+ {
38
+ type: "function",
39
+ name: "addLendingPoolTrancheFixedTermDeposit",
40
+ inputs: [
41
+ {
42
+ name: "lendingPool",
43
+ type: "address",
44
+ internalType: "address",
45
+ },
46
+ {
47
+ name: "tranche",
48
+ type: "address",
49
+ internalType: "address",
50
+ },
51
+ {
52
+ name: "epochLockDuration",
53
+ type: "uint256",
54
+ internalType: "uint256",
55
+ },
56
+ {
57
+ name: "epochInterestRate",
58
+ type: "uint256",
59
+ internalType: "uint256",
60
+ },
61
+ {
62
+ name: "whitelistedOnly",
63
+ type: "bool",
64
+ internalType: "bool",
65
+ },
66
+ ],
67
+ outputs: [
68
+ {
69
+ name: "",
70
+ type: "uint256",
71
+ internalType: "uint256",
72
+ },
73
+ ],
74
+ stateMutability: "nonpayable",
75
+ },
76
+ {
77
+ type: "function",
78
+ name: "batchForceWithdrawals",
79
+ inputs: [
80
+ {
81
+ name: "lendingPool",
82
+ type: "address",
83
+ internalType: "address",
84
+ },
85
+ {
86
+ name: "input",
87
+ type: "tuple[]",
88
+ internalType: "struct ForceWithdrawalInput[]",
89
+ components: [
90
+ {
91
+ name: "tranche",
92
+ type: "address",
93
+ internalType: "address",
94
+ },
95
+ {
96
+ name: "user",
97
+ type: "address",
98
+ internalType: "address",
99
+ },
100
+ {
101
+ name: "sharesToWithdraw",
102
+ type: "uint256",
103
+ internalType: "uint256",
104
+ },
105
+ ],
106
+ },
107
+ ],
108
+ outputs: [
109
+ {
110
+ name: "wNftIDs",
111
+ type: "uint256[]",
112
+ internalType: "uint256[]",
113
+ },
114
+ ],
115
+ stateMutability: "nonpayable",
116
+ },
117
+ {
118
+ type: "function",
119
+ name: "cancelDepositRequest",
120
+ inputs: [
121
+ {
122
+ name: "lendingPool",
123
+ type: "address",
124
+ internalType: "address",
125
+ },
126
+ {
127
+ name: "dNftID",
128
+ type: "uint256",
129
+ internalType: "uint256",
130
+ },
131
+ ],
132
+ outputs: [],
133
+ stateMutability: "nonpayable",
134
+ },
135
+ {
136
+ type: "function",
137
+ name: "cancelFixedTermDepositWithdrawalRequest",
138
+ inputs: [
139
+ {
140
+ name: "lendingPool",
141
+ type: "address",
142
+ internalType: "address",
143
+ },
144
+ {
145
+ name: "fixedTermDepositId",
146
+ type: "uint256",
147
+ internalType: "uint256",
148
+ },
149
+ ],
150
+ outputs: [],
151
+ stateMutability: "nonpayable",
152
+ },
153
+ {
154
+ type: "function",
155
+ name: "cancelWithdrawalRequest",
156
+ inputs: [
157
+ {
158
+ name: "lendingPool",
159
+ type: "address",
160
+ internalType: "address",
161
+ },
162
+ {
163
+ name: "wNftID",
164
+ type: "uint256",
165
+ internalType: "uint256",
166
+ },
167
+ ],
168
+ outputs: [],
169
+ stateMutability: "nonpayable",
170
+ },
171
+ {
172
+ type: "function",
173
+ name: "claimRepaidLoss",
174
+ inputs: [
175
+ {
176
+ name: "lendingPool",
177
+ type: "address",
178
+ internalType: "address",
179
+ },
180
+ {
181
+ name: "tranche",
182
+ type: "address",
183
+ internalType: "address",
184
+ },
185
+ {
186
+ name: "lossId",
187
+ type: "uint256",
188
+ internalType: "uint256",
189
+ },
190
+ ],
191
+ outputs: [
192
+ {
193
+ name: "claimedAmount",
194
+ type: "uint256",
195
+ internalType: "uint256",
196
+ },
197
+ ],
198
+ stateMutability: "nonpayable",
199
+ },
200
+ {
201
+ type: "function",
202
+ name: "createPool",
203
+ inputs: [
204
+ {
205
+ name: "createPoolConfig",
206
+ type: "tuple",
207
+ internalType: "struct CreatePoolConfig",
208
+ components: [
209
+ {
210
+ name: "poolName",
211
+ type: "string",
212
+ internalType: "string",
213
+ },
214
+ {
215
+ name: "poolSymbol",
216
+ type: "string",
217
+ internalType: "string",
218
+ },
219
+ {
220
+ name: "targetExcessLiquidityPercentage",
221
+ type: "uint256",
222
+ internalType: "uint256",
223
+ },
224
+ {
225
+ name: "minExcessLiquidityPercentage",
226
+ type: "uint256",
227
+ internalType: "uint256",
228
+ },
229
+ {
230
+ name: "tranches",
231
+ type: "tuple[]",
232
+ internalType: "struct CreateTrancheConfig[]",
233
+ components: [
234
+ {
235
+ name: "ratio",
236
+ type: "uint256",
237
+ internalType: "uint256",
238
+ },
239
+ {
240
+ name: "interestRate",
241
+ type: "uint256",
242
+ internalType: "uint256",
243
+ },
244
+ {
245
+ name: "minDepositAmount",
246
+ type: "uint256",
247
+ internalType: "uint256",
248
+ },
249
+ {
250
+ name: "maxDepositAmount",
251
+ type: "uint256",
252
+ internalType: "uint256",
253
+ },
254
+ ],
255
+ },
256
+ {
257
+ name: "poolAdmin",
258
+ type: "address",
259
+ internalType: "address",
260
+ },
261
+ {
262
+ name: "drawRecipient",
263
+ type: "address",
264
+ internalType: "address",
265
+ },
266
+ {
267
+ name: "desiredDrawAmount",
268
+ type: "uint256",
269
+ internalType: "uint256",
270
+ },
271
+ ],
272
+ },
273
+ ],
274
+ outputs: [
275
+ {
276
+ name: "lendingPoolDeployment",
277
+ type: "tuple",
278
+ internalType: "struct LendingPoolDeployment",
279
+ components: [
280
+ {
281
+ name: "lendingPool",
282
+ type: "address",
283
+ internalType: "address",
284
+ },
285
+ {
286
+ name: "pendingPool",
287
+ type: "address",
288
+ internalType: "address",
289
+ },
290
+ {
291
+ name: "tranches",
292
+ type: "address[]",
293
+ internalType: "address[]",
294
+ },
295
+ ],
296
+ },
297
+ ],
298
+ stateMutability: "nonpayable",
299
+ },
300
+ {
301
+ type: "function",
302
+ name: "depositFirstLossCapital",
303
+ inputs: [
304
+ {
305
+ name: "lendingPool",
306
+ type: "address",
307
+ internalType: "address",
308
+ },
309
+ {
310
+ name: "amount",
311
+ type: "uint256",
312
+ internalType: "uint256",
313
+ },
314
+ ],
315
+ outputs: [],
316
+ stateMutability: "nonpayable",
317
+ },
318
+ {
319
+ type: "function",
320
+ name: "doClearing",
321
+ inputs: [
322
+ {
323
+ name: "lendingPool",
324
+ type: "address",
325
+ internalType: "address",
326
+ },
327
+ {
328
+ name: "targetEpoch",
329
+ type: "uint256",
330
+ internalType: "uint256",
331
+ },
332
+ {
333
+ name: "fixedTermDepositBatchSize",
334
+ type: "uint256",
335
+ internalType: "uint256",
336
+ },
337
+ {
338
+ name: "priorityCalculationBatchSize",
339
+ type: "uint256",
340
+ internalType: "uint256",
341
+ },
342
+ {
343
+ name: "acceptRequestsBatchSize",
344
+ type: "uint256",
345
+ internalType: "uint256",
346
+ },
347
+ {
348
+ name: "clearingConfigOverride",
349
+ type: "tuple",
350
+ internalType: "struct ClearingConfiguration",
351
+ components: [
352
+ {
353
+ name: "drawAmount",
354
+ type: "uint256",
355
+ internalType: "uint256",
356
+ },
357
+ {
358
+ name: "trancheDesiredRatios",
359
+ type: "uint256[]",
360
+ internalType: "uint256[]",
361
+ },
362
+ {
363
+ name: "maxExcessPercentage",
364
+ type: "uint256",
365
+ internalType: "uint256",
366
+ },
367
+ {
368
+ name: "minExcessPercentage",
369
+ type: "uint256",
370
+ internalType: "uint256",
371
+ },
372
+ ],
373
+ },
374
+ {
375
+ name: "isConfigOverridden",
376
+ type: "bool",
377
+ internalType: "bool",
378
+ },
379
+ ],
380
+ outputs: [],
381
+ stateMutability: "nonpayable",
382
+ },
383
+ {
384
+ type: "function",
385
+ name: "endFixedTermDeposit",
386
+ inputs: [
387
+ {
388
+ name: "lendingPool",
389
+ type: "address",
390
+ internalType: "address",
391
+ },
392
+ {
393
+ name: "fixedTermDepositId",
394
+ type: "uint256",
395
+ internalType: "uint256",
396
+ },
397
+ {
398
+ name: "arrayIndex",
399
+ type: "uint256",
400
+ internalType: "uint256",
401
+ },
402
+ ],
403
+ outputs: [],
404
+ stateMutability: "nonpayable",
405
+ },
406
+ {
407
+ type: "function",
408
+ name: "forceCancelDepositRequest",
409
+ inputs: [
410
+ {
411
+ name: "lendingPool",
412
+ type: "address",
413
+ internalType: "address",
414
+ },
415
+ {
416
+ name: "dNftID",
417
+ type: "uint256",
418
+ internalType: "uint256",
419
+ },
420
+ ],
421
+ outputs: [],
422
+ stateMutability: "nonpayable",
423
+ },
424
+ {
425
+ type: "function",
426
+ name: "forceCancelWithdrawalRequest",
427
+ inputs: [
428
+ {
429
+ name: "lendingPool",
430
+ type: "address",
431
+ internalType: "address",
432
+ },
433
+ {
434
+ name: "wNftID",
435
+ type: "uint256",
436
+ internalType: "uint256",
437
+ },
438
+ ],
439
+ outputs: [],
440
+ stateMutability: "nonpayable",
441
+ },
442
+ {
443
+ type: "function",
444
+ name: "forceImmediateWithdrawal",
445
+ inputs: [
446
+ {
447
+ name: "lendingPool",
448
+ type: "address",
449
+ internalType: "address",
450
+ },
451
+ {
452
+ name: "tranche",
453
+ type: "address",
454
+ internalType: "address",
455
+ },
456
+ {
457
+ name: "user",
458
+ type: "address",
459
+ internalType: "address",
460
+ },
461
+ {
462
+ name: "sharesToWithdraw",
463
+ type: "uint256",
464
+ internalType: "uint256",
465
+ },
466
+ ],
467
+ outputs: [
468
+ {
469
+ name: "",
470
+ type: "uint256",
471
+ internalType: "uint256",
472
+ },
473
+ ],
474
+ stateMutability: "nonpayable",
475
+ },
476
+ {
477
+ type: "function",
478
+ name: "initialize",
479
+ inputs: [
480
+ {
481
+ name: "lendingPoolFactory_",
482
+ type: "address",
483
+ internalType: "contract ILendingPoolFactory",
484
+ },
485
+ {
486
+ name: "kasuAllowList_",
487
+ type: "address",
488
+ internalType: "contract IKasuAllowList",
489
+ },
490
+ {
491
+ name: "userManager_",
492
+ type: "address",
493
+ internalType: "contract IUserManager",
494
+ },
495
+ {
496
+ name: "clearingCoordinator_",
497
+ type: "address",
498
+ internalType: "contract IClearingCoordinator",
499
+ },
500
+ ],
501
+ outputs: [],
502
+ stateMutability: "nonpayable",
503
+ },
504
+ {
505
+ type: "function",
506
+ name: "isLendingPool",
507
+ inputs: [
508
+ {
509
+ name: "lendingPool",
510
+ type: "address",
511
+ internalType: "address",
512
+ },
513
+ ],
514
+ outputs: [
515
+ {
516
+ name: "",
517
+ type: "bool",
518
+ internalType: "bool",
519
+ },
520
+ ],
521
+ stateMutability: "view",
522
+ },
523
+ {
524
+ type: "function",
525
+ name: "lendingPools",
526
+ inputs: [
527
+ {
528
+ name: "",
529
+ type: "address",
530
+ internalType: "address",
531
+ },
532
+ ],
533
+ outputs: [
534
+ {
535
+ name: "lendingPool",
536
+ type: "address",
537
+ internalType: "address",
538
+ },
539
+ {
540
+ name: "pendingPool",
541
+ type: "address",
542
+ internalType: "address",
543
+ },
544
+ ],
545
+ stateMutability: "view",
546
+ },
547
+ {
548
+ type: "function",
549
+ name: "lockDepositForFixedTerm",
550
+ inputs: [
551
+ {
552
+ name: "lendingPool",
553
+ type: "address",
554
+ internalType: "address",
555
+ },
556
+ {
557
+ name: "tranche",
558
+ type: "address",
559
+ internalType: "address",
560
+ },
561
+ {
562
+ name: "amount",
563
+ type: "uint256",
564
+ internalType: "uint256",
565
+ },
566
+ {
567
+ name: "fixedTermConfigId",
568
+ type: "uint256",
569
+ internalType: "uint256",
570
+ },
571
+ ],
572
+ outputs: [],
573
+ stateMutability: "nonpayable",
574
+ },
575
+ {
576
+ type: "function",
577
+ name: "repayLoss",
578
+ inputs: [
579
+ {
580
+ name: "lendingPool",
581
+ type: "address",
582
+ internalType: "address",
583
+ },
584
+ {
585
+ name: "tranche",
586
+ type: "address",
587
+ internalType: "address",
588
+ },
589
+ {
590
+ name: "lossId",
591
+ type: "uint256",
592
+ internalType: "uint256",
593
+ },
594
+ {
595
+ name: "amount",
596
+ type: "uint256",
597
+ internalType: "uint256",
598
+ },
599
+ ],
600
+ outputs: [],
601
+ stateMutability: "nonpayable",
602
+ },
603
+ {
604
+ type: "function",
605
+ name: "repayOwedFunds",
606
+ inputs: [
607
+ {
608
+ name: "lendingPool",
609
+ type: "address",
610
+ internalType: "address",
611
+ },
612
+ {
613
+ name: "amount",
614
+ type: "uint256",
615
+ internalType: "uint256",
616
+ },
617
+ {
618
+ name: "repaymentAddress",
619
+ type: "address",
620
+ internalType: "address",
621
+ },
622
+ ],
623
+ outputs: [],
624
+ stateMutability: "nonpayable",
625
+ },
626
+ {
627
+ type: "function",
628
+ name: "reportLoss",
629
+ inputs: [
630
+ {
631
+ name: "lendingPool",
632
+ type: "address",
633
+ internalType: "address",
634
+ },
635
+ {
636
+ name: "amount",
637
+ type: "uint256",
638
+ internalType: "uint256",
639
+ },
640
+ {
641
+ name: "doMintLossTokens",
642
+ type: "bool",
643
+ internalType: "bool",
644
+ },
645
+ ],
646
+ outputs: [
647
+ {
648
+ name: "lossId",
649
+ type: "uint256",
650
+ internalType: "uint256",
651
+ },
652
+ ],
653
+ stateMutability: "nonpayable",
654
+ },
655
+ {
656
+ type: "function",
657
+ name: "requestDeposit",
658
+ inputs: [
659
+ {
660
+ name: "lendingPool",
661
+ type: "address",
662
+ internalType: "address",
663
+ },
664
+ {
665
+ name: "tranche",
666
+ type: "address",
667
+ internalType: "address",
668
+ },
669
+ {
670
+ name: "maxAmount",
671
+ type: "uint256",
672
+ internalType: "uint256",
673
+ },
674
+ {
675
+ name: "swapData",
676
+ type: "bytes",
677
+ internalType: "bytes",
678
+ },
679
+ {
680
+ name: "fixedTermConfigId",
681
+ type: "uint256",
682
+ internalType: "uint256",
683
+ },
684
+ {
685
+ name: "depositData",
686
+ type: "bytes",
687
+ internalType: "bytes",
688
+ },
689
+ ],
690
+ outputs: [
691
+ {
692
+ name: "dNftID",
693
+ type: "uint256",
694
+ internalType: "uint256",
695
+ },
696
+ ],
697
+ stateMutability: "payable",
698
+ },
699
+ {
700
+ type: "function",
701
+ name: "requestDepositWithKyc",
702
+ inputs: [
703
+ {
704
+ name: "lendingPool",
705
+ type: "address",
706
+ internalType: "address",
707
+ },
708
+ {
709
+ name: "tranche",
710
+ type: "address",
711
+ internalType: "address",
712
+ },
713
+ {
714
+ name: "maxAmount",
715
+ type: "uint256",
716
+ internalType: "uint256",
717
+ },
718
+ {
719
+ name: "swapData",
720
+ type: "bytes",
721
+ internalType: "bytes",
722
+ },
723
+ {
724
+ name: "fixedTermConfigId",
725
+ type: "uint256",
726
+ internalType: "uint256",
727
+ },
728
+ {
729
+ name: "depositData",
730
+ type: "bytes",
731
+ internalType: "bytes",
732
+ },
733
+ {
734
+ name: "kycData",
735
+ type: "tuple",
736
+ internalType: "struct KycData",
737
+ components: [
738
+ {
739
+ name: "blockExpiration",
740
+ type: "uint256",
741
+ internalType: "uint256",
742
+ },
743
+ {
744
+ name: "signature",
745
+ type: "bytes",
746
+ internalType: "bytes",
747
+ },
748
+ ],
749
+ },
750
+ ],
751
+ outputs: [
752
+ {
753
+ name: "dNftID",
754
+ type: "uint256",
755
+ internalType: "uint256",
756
+ },
757
+ ],
758
+ stateMutability: "payable",
759
+ },
760
+ {
761
+ type: "function",
762
+ name: "requestFixedTermDepositWithdrawal",
763
+ inputs: [
764
+ {
765
+ name: "lendingPool",
766
+ type: "address",
767
+ internalType: "address",
768
+ },
769
+ {
770
+ name: "fixedTermDepositId",
771
+ type: "uint256",
772
+ internalType: "uint256",
773
+ },
774
+ ],
775
+ outputs: [],
776
+ stateMutability: "nonpayable",
777
+ },
778
+ {
779
+ type: "function",
780
+ name: "requestWithdrawal",
781
+ inputs: [
782
+ {
783
+ name: "lendingPool",
784
+ type: "address",
785
+ internalType: "address",
786
+ },
787
+ {
788
+ name: "tranche",
789
+ type: "address",
790
+ internalType: "address",
791
+ },
792
+ {
793
+ name: "amount",
794
+ type: "uint256",
795
+ internalType: "uint256",
796
+ },
797
+ ],
798
+ outputs: [
799
+ {
800
+ name: "wNftID",
801
+ type: "uint256",
802
+ internalType: "uint256",
803
+ },
804
+ ],
805
+ stateMutability: "nonpayable",
806
+ },
807
+ {
808
+ type: "function",
809
+ name: "stopLendingPool",
810
+ inputs: [
811
+ {
812
+ name: "lendingPool",
813
+ type: "address",
814
+ internalType: "address",
815
+ },
816
+ ],
817
+ outputs: [],
818
+ stateMutability: "nonpayable",
819
+ },
820
+ {
821
+ type: "function",
822
+ name: "updateDesiredDrawAmount",
823
+ inputs: [
824
+ {
825
+ name: "lendingPool",
826
+ type: "address",
827
+ internalType: "address",
828
+ },
829
+ {
830
+ name: "amount",
831
+ type: "uint256",
832
+ internalType: "uint256",
833
+ },
834
+ ],
835
+ outputs: [],
836
+ stateMutability: "nonpayable",
837
+ },
838
+ {
839
+ type: "function",
840
+ name: "updateDrawRecipient",
841
+ inputs: [
842
+ {
843
+ name: "lendingPool",
844
+ type: "address",
845
+ internalType: "address",
846
+ },
847
+ {
848
+ name: "drawRecipient",
849
+ type: "address",
850
+ internalType: "address",
851
+ },
852
+ ],
853
+ outputs: [],
854
+ stateMutability: "nonpayable",
855
+ },
856
+ {
857
+ type: "function",
858
+ name: "updateFixedTermDepositAllowlist",
859
+ inputs: [
860
+ {
861
+ name: "lendingPool",
862
+ type: "address",
863
+ internalType: "address",
864
+ },
865
+ {
866
+ name: "configId",
867
+ type: "uint256",
868
+ internalType: "uint256",
869
+ },
870
+ {
871
+ name: "users",
872
+ type: "address[]",
873
+ internalType: "address[]",
874
+ },
875
+ {
876
+ name: "isAllowedList",
877
+ type: "bool[]",
878
+ internalType: "bool[]",
879
+ },
880
+ ],
881
+ outputs: [],
882
+ stateMutability: "nonpayable",
883
+ },
884
+ {
885
+ type: "function",
886
+ name: "updateLendingPoolTrancheFixedInterestStatus",
887
+ inputs: [
888
+ {
889
+ name: "lendingPool",
890
+ type: "address",
891
+ internalType: "address",
892
+ },
893
+ {
894
+ name: "fixedTermConfigId",
895
+ type: "uint256",
896
+ internalType: "uint256",
897
+ },
898
+ {
899
+ name: "fixedTermDepositStatus",
900
+ type: "uint8",
901
+ internalType: "enum FixedTermDepositStatus",
902
+ },
903
+ ],
904
+ outputs: [],
905
+ stateMutability: "nonpayable",
906
+ },
907
+ {
908
+ type: "function",
909
+ name: "updateLendingPoolWithdrawalConfiguration",
910
+ inputs: [
911
+ {
912
+ name: "lendingPool",
913
+ type: "address",
914
+ internalType: "address",
915
+ },
916
+ {
917
+ name: "withdrawalConfiguration",
918
+ type: "tuple",
919
+ internalType: "struct LendingPoolWithdrawalConfiguration",
920
+ components: [
921
+ {
922
+ name: "requestEpochsInAdvance",
923
+ type: "uint128",
924
+ internalType: "uint128",
925
+ },
926
+ {
927
+ name: "cancelRequestEpochsInAdvance",
928
+ type: "uint128",
929
+ internalType: "uint128",
930
+ },
931
+ ],
932
+ },
933
+ ],
934
+ outputs: [],
935
+ stateMutability: "nonpayable",
936
+ },
937
+ {
938
+ type: "function",
939
+ name: "updateMaximumDepositAmount",
940
+ inputs: [
941
+ {
942
+ name: "lendingPool",
943
+ type: "address",
944
+ internalType: "address",
945
+ },
946
+ {
947
+ name: "tranche",
948
+ type: "address",
949
+ internalType: "address",
950
+ },
951
+ {
952
+ name: "maximumDepositAmount",
953
+ type: "uint256",
954
+ internalType: "uint256",
955
+ },
956
+ ],
957
+ outputs: [],
958
+ stateMutability: "nonpayable",
959
+ },
960
+ {
961
+ type: "function",
962
+ name: "updateMinimumDepositAmount",
963
+ inputs: [
964
+ {
965
+ name: "lendingPool",
966
+ type: "address",
967
+ internalType: "address",
968
+ },
969
+ {
970
+ name: "tranche",
971
+ type: "address",
972
+ internalType: "address",
973
+ },
974
+ {
975
+ name: "minimumDepositAmount",
976
+ type: "uint256",
977
+ internalType: "uint256",
978
+ },
979
+ ],
980
+ outputs: [],
981
+ stateMutability: "nonpayable",
982
+ },
983
+ {
984
+ type: "function",
985
+ name: "updateMinimumExcessLiquidityPercentage",
986
+ inputs: [
987
+ {
988
+ name: "lendingPool",
989
+ type: "address",
990
+ internalType: "address",
991
+ },
992
+ {
993
+ name: "minimumExcessLiquidityPercentage",
994
+ type: "uint256",
995
+ internalType: "uint256",
996
+ },
997
+ ],
998
+ outputs: [],
999
+ stateMutability: "nonpayable",
1000
+ },
1001
+ {
1002
+ type: "function",
1003
+ name: "updateTargetExcessLiquidityPercentage",
1004
+ inputs: [
1005
+ {
1006
+ name: "lendingPool",
1007
+ type: "address",
1008
+ internalType: "address",
1009
+ },
1010
+ {
1011
+ name: "targetExcessLiquidityPercentage",
1012
+ type: "uint256",
1013
+ internalType: "uint256",
1014
+ },
1015
+ ],
1016
+ outputs: [],
1017
+ stateMutability: "nonpayable",
1018
+ },
1019
+ {
1020
+ type: "function",
1021
+ name: "updateTrancheDesiredRatios",
1022
+ inputs: [
1023
+ {
1024
+ name: "lendingPool",
1025
+ type: "address",
1026
+ internalType: "address",
1027
+ },
1028
+ {
1029
+ name: "desiredRatios",
1030
+ type: "uint256[]",
1031
+ internalType: "uint256[]",
1032
+ },
1033
+ ],
1034
+ outputs: [],
1035
+ stateMutability: "nonpayable",
1036
+ },
1037
+ {
1038
+ type: "function",
1039
+ name: "updateTrancheInterestRate",
1040
+ inputs: [
1041
+ {
1042
+ name: "lendingPool",
1043
+ type: "address",
1044
+ internalType: "address",
1045
+ },
1046
+ {
1047
+ name: "tranche",
1048
+ type: "address",
1049
+ internalType: "address",
1050
+ },
1051
+ {
1052
+ name: "interestRate",
1053
+ type: "uint256",
1054
+ internalType: "uint256",
1055
+ },
1056
+ ],
1057
+ outputs: [],
1058
+ stateMutability: "nonpayable",
1059
+ },
1060
+ {
1061
+ type: "function",
1062
+ name: "updateTrancheInterestRateChangeEpochDelay",
1063
+ inputs: [
1064
+ {
1065
+ name: "lendingPool",
1066
+ type: "address",
1067
+ internalType: "address",
1068
+ },
1069
+ {
1070
+ name: "epochDelay",
1071
+ type: "uint256",
1072
+ internalType: "uint256",
1073
+ },
1074
+ ],
1075
+ outputs: [],
1076
+ stateMutability: "nonpayable",
1077
+ },
1078
+ {
1079
+ type: "function",
1080
+ name: "withdrawFirstLossCapital",
1081
+ inputs: [
1082
+ {
1083
+ name: "lendingPool",
1084
+ type: "address",
1085
+ internalType: "address",
1086
+ },
1087
+ {
1088
+ name: "withdrawAmount",
1089
+ type: "uint256",
1090
+ internalType: "uint256",
1091
+ },
1092
+ {
1093
+ name: "withdrawAddress",
1094
+ type: "address",
1095
+ internalType: "address",
1096
+ },
1097
+ ],
1098
+ outputs: [],
1099
+ stateMutability: "nonpayable",
1100
+ },
1101
+ {
1102
+ type: "event",
1103
+ name: "DepositDataAdded",
1104
+ inputs: [
1105
+ {
1106
+ name: "lendingPool",
1107
+ type: "address",
1108
+ indexed: true,
1109
+ internalType: "address",
1110
+ },
1111
+ {
1112
+ name: "dNftID",
1113
+ type: "uint256",
1114
+ indexed: true,
1115
+ internalType: "uint256",
1116
+ },
1117
+ {
1118
+ name: "data",
1119
+ type: "bytes",
1120
+ indexed: false,
1121
+ internalType: "bytes",
1122
+ },
1123
+ ],
1124
+ anonymous: false,
1125
+ },
1126
+ {
1127
+ type: "event",
1128
+ name: "Initialized",
1129
+ inputs: [
1130
+ {
1131
+ name: "version",
1132
+ type: "uint64",
1133
+ indexed: false,
1134
+ internalType: "uint64",
1135
+ },
1136
+ ],
1137
+ anonymous: false,
1138
+ },
1139
+ {
1140
+ type: "error",
1141
+ name: "AccessControlUnauthorizedAccount",
1142
+ inputs: [
1143
+ {
1144
+ name: "account",
1145
+ type: "address",
1146
+ internalType: "address",
1147
+ },
1148
+ {
1149
+ name: "neededRole",
1150
+ type: "bytes32",
1151
+ internalType: "bytes32",
1152
+ },
1153
+ ],
1154
+ },
1155
+ {
1156
+ type: "error",
1157
+ name: "AddressEmptyCode",
1158
+ inputs: [
1159
+ {
1160
+ name: "target",
1161
+ type: "address",
1162
+ internalType: "address",
1163
+ },
1164
+ ],
1165
+ },
1166
+ {
1167
+ type: "error",
1168
+ name: "AddressInsufficientBalance",
1169
+ inputs: [
1170
+ {
1171
+ name: "account",
1172
+ type: "address",
1173
+ internalType: "address",
1174
+ },
1175
+ ],
1176
+ },
1177
+ {
1178
+ type: "error",
1179
+ name: "ClearingIsPending",
1180
+ inputs: [],
1181
+ },
1182
+ {
1183
+ type: "error",
1184
+ name: "ConfigurationAddressZero",
1185
+ inputs: [],
1186
+ },
1187
+ {
1188
+ type: "error",
1189
+ name: "FailedInnerCall",
1190
+ inputs: [],
1191
+ },
1192
+ {
1193
+ type: "error",
1194
+ name: "InsufficientOutputAmount",
1195
+ inputs: [
1196
+ {
1197
+ name: "amountOut",
1198
+ type: "uint256",
1199
+ internalType: "uint256",
1200
+ },
1201
+ {
1202
+ name: "minAmountOut",
1203
+ type: "uint256",
1204
+ internalType: "uint256",
1205
+ },
1206
+ ],
1207
+ },
1208
+ {
1209
+ type: "error",
1210
+ name: "InvalidArrayLength",
1211
+ inputs: [],
1212
+ },
1213
+ {
1214
+ type: "error",
1215
+ name: "InvalidInitialization",
1216
+ inputs: [],
1217
+ },
1218
+ {
1219
+ type: "error",
1220
+ name: "InvalidLendingPool",
1221
+ inputs: [
1222
+ {
1223
+ name: "lendingPool",
1224
+ type: "address",
1225
+ internalType: "address",
1226
+ },
1227
+ ],
1228
+ },
1229
+ {
1230
+ type: "error",
1231
+ name: "InvalidTranche",
1232
+ inputs: [
1233
+ {
1234
+ name: "lendingPool",
1235
+ type: "address",
1236
+ internalType: "address",
1237
+ },
1238
+ {
1239
+ name: "tranche",
1240
+ type: "address",
1241
+ internalType: "address",
1242
+ },
1243
+ ],
1244
+ },
1245
+ {
1246
+ type: "error",
1247
+ name: "LendingPoolIsNotStopped",
1248
+ inputs: [],
1249
+ },
1250
+ {
1251
+ type: "error",
1252
+ name: "LendingPoolIsStopped",
1253
+ inputs: [],
1254
+ },
1255
+ {
1256
+ type: "error",
1257
+ name: "NotInitializing",
1258
+ inputs: [],
1259
+ },
1260
+ {
1261
+ type: "error",
1262
+ name: "OnlyClearingCoordinator",
1263
+ inputs: [],
1264
+ },
1265
+ {
1266
+ type: "error",
1267
+ name: "OnlyFixedTermDeposit",
1268
+ inputs: [],
1269
+ },
1270
+ {
1271
+ type: "error",
1272
+ name: "OnlyLendingPoolManager",
1273
+ inputs: [],
1274
+ },
1275
+ {
1276
+ type: "error",
1277
+ name: "OnlyOwnLendingPool",
1278
+ inputs: [
1279
+ {
1280
+ name: "sender",
1281
+ type: "address",
1282
+ internalType: "address",
1283
+ },
1284
+ {
1285
+ name: "ownLendingPool",
1286
+ type: "address",
1287
+ internalType: "address",
1288
+ },
1289
+ ],
1290
+ },
1291
+ {
1292
+ type: "error",
1293
+ name: "OnlyOwnPendingPool",
1294
+ inputs: [
1295
+ {
1296
+ name: "sender",
1297
+ type: "address",
1298
+ internalType: "address",
1299
+ },
1300
+ {
1301
+ name: "ownPendingPool",
1302
+ type: "address",
1303
+ internalType: "address",
1304
+ },
1305
+ ],
1306
+ },
1307
+ {
1308
+ type: "error",
1309
+ name: "SafeERC20FailedOperation",
1310
+ inputs: [
1311
+ {
1312
+ name: "token",
1313
+ type: "address",
1314
+ internalType: "address",
1315
+ },
1316
+ ],
1317
+ },
1318
+ {
1319
+ type: "error",
1320
+ name: "UserBlocked",
1321
+ inputs: [
1322
+ {
1323
+ name: "user",
1324
+ type: "address",
1325
+ internalType: "address",
1326
+ },
1327
+ ],
1328
+ },
1329
+ {
1330
+ type: "error",
1331
+ name: "UserNotInAllowList",
1332
+ inputs: [
1333
+ {
1334
+ name: "user",
1335
+ type: "address",
1336
+ internalType: "address",
1337
+ },
1338
+ ],
1339
+ },
1340
+ {
1341
+ type: "error",
1342
+ name: "UserNotKycd",
1343
+ inputs: [
1344
+ {
1345
+ name: "user",
1346
+ type: "address",
1347
+ internalType: "address",
1348
+ },
1349
+ ],
1350
+ },
1351
+ ];
1352
+ export class ILendingPoolManagerAbi__factory {
1353
+ static createInterface() {
1354
+ return new utils.Interface(_abi);
1355
+ }
1356
+ static connect(address, signerOrProvider) {
1357
+ return new Contract(address, _abi, signerOrProvider);
1358
+ }
1359
+ }
1360
+ ILendingPoolManagerAbi__factory.abi = _abi;