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