@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,1045 @@
1
+ import { Signer } from "ethers";
2
+ import type { Provider } from "@ethersproject/providers";
3
+ import type { ILendingPoolManagerAbi, ILendingPoolManagerAbiInterface } from "../ILendingPoolManagerAbi";
4
+ export declare class ILendingPoolManagerAbi__factory {
5
+ static readonly abi: readonly [{
6
+ readonly type: "constructor";
7
+ readonly inputs: readonly [{
8
+ readonly name: "fixedTermDeposit_";
9
+ readonly type: "address";
10
+ readonly internalType: "contract IFixedTermDeposit";
11
+ }, {
12
+ readonly name: "underlyingAsset_";
13
+ readonly type: "address";
14
+ readonly internalType: "address";
15
+ }, {
16
+ readonly name: "controller_";
17
+ readonly type: "address";
18
+ readonly internalType: "contract IKasuController";
19
+ }, {
20
+ readonly name: "weth_";
21
+ readonly type: "address";
22
+ readonly internalType: "contract IWETH9";
23
+ }, {
24
+ readonly name: "swapper_";
25
+ readonly type: "address";
26
+ readonly internalType: "contract ISwapper";
27
+ }];
28
+ readonly stateMutability: "nonpayable";
29
+ }, {
30
+ readonly type: "function";
31
+ readonly name: "addLendingPoolTrancheFixedTermDeposit";
32
+ readonly inputs: readonly [{
33
+ readonly name: "lendingPool";
34
+ readonly type: "address";
35
+ readonly internalType: "address";
36
+ }, {
37
+ readonly name: "tranche";
38
+ readonly type: "address";
39
+ readonly internalType: "address";
40
+ }, {
41
+ readonly name: "epochLockDuration";
42
+ readonly type: "uint256";
43
+ readonly internalType: "uint256";
44
+ }, {
45
+ readonly name: "epochInterestRate";
46
+ readonly type: "uint256";
47
+ readonly internalType: "uint256";
48
+ }, {
49
+ readonly name: "whitelistedOnly";
50
+ readonly type: "bool";
51
+ readonly internalType: "bool";
52
+ }];
53
+ readonly outputs: readonly [{
54
+ readonly name: "";
55
+ readonly type: "uint256";
56
+ readonly internalType: "uint256";
57
+ }];
58
+ readonly stateMutability: "nonpayable";
59
+ }, {
60
+ readonly type: "function";
61
+ readonly name: "batchForceWithdrawals";
62
+ readonly inputs: readonly [{
63
+ readonly name: "lendingPool";
64
+ readonly type: "address";
65
+ readonly internalType: "address";
66
+ }, {
67
+ readonly name: "input";
68
+ readonly type: "tuple[]";
69
+ readonly internalType: "struct ForceWithdrawalInput[]";
70
+ readonly components: readonly [{
71
+ readonly name: "tranche";
72
+ readonly type: "address";
73
+ readonly internalType: "address";
74
+ }, {
75
+ readonly name: "user";
76
+ readonly type: "address";
77
+ readonly internalType: "address";
78
+ }, {
79
+ readonly name: "sharesToWithdraw";
80
+ readonly type: "uint256";
81
+ readonly internalType: "uint256";
82
+ }];
83
+ }];
84
+ readonly outputs: readonly [{
85
+ readonly name: "wNftIDs";
86
+ readonly type: "uint256[]";
87
+ readonly internalType: "uint256[]";
88
+ }];
89
+ readonly stateMutability: "nonpayable";
90
+ }, {
91
+ readonly type: "function";
92
+ readonly name: "cancelDepositRequest";
93
+ readonly inputs: readonly [{
94
+ readonly name: "lendingPool";
95
+ readonly type: "address";
96
+ readonly internalType: "address";
97
+ }, {
98
+ readonly name: "dNftID";
99
+ readonly type: "uint256";
100
+ readonly internalType: "uint256";
101
+ }];
102
+ readonly outputs: readonly [];
103
+ readonly stateMutability: "nonpayable";
104
+ }, {
105
+ readonly type: "function";
106
+ readonly name: "cancelFixedTermDepositWithdrawalRequest";
107
+ readonly inputs: readonly [{
108
+ readonly name: "lendingPool";
109
+ readonly type: "address";
110
+ readonly internalType: "address";
111
+ }, {
112
+ readonly name: "fixedTermDepositId";
113
+ readonly type: "uint256";
114
+ readonly internalType: "uint256";
115
+ }];
116
+ readonly outputs: readonly [];
117
+ readonly stateMutability: "nonpayable";
118
+ }, {
119
+ readonly type: "function";
120
+ readonly name: "cancelWithdrawalRequest";
121
+ readonly inputs: readonly [{
122
+ readonly name: "lendingPool";
123
+ readonly type: "address";
124
+ readonly internalType: "address";
125
+ }, {
126
+ readonly name: "wNftID";
127
+ readonly type: "uint256";
128
+ readonly internalType: "uint256";
129
+ }];
130
+ readonly outputs: readonly [];
131
+ readonly stateMutability: "nonpayable";
132
+ }, {
133
+ readonly type: "function";
134
+ readonly name: "claimRepaidLoss";
135
+ readonly inputs: readonly [{
136
+ readonly name: "lendingPool";
137
+ readonly type: "address";
138
+ readonly internalType: "address";
139
+ }, {
140
+ readonly name: "tranche";
141
+ readonly type: "address";
142
+ readonly internalType: "address";
143
+ }, {
144
+ readonly name: "lossId";
145
+ readonly type: "uint256";
146
+ readonly internalType: "uint256";
147
+ }];
148
+ readonly outputs: readonly [{
149
+ readonly name: "claimedAmount";
150
+ readonly type: "uint256";
151
+ readonly internalType: "uint256";
152
+ }];
153
+ readonly stateMutability: "nonpayable";
154
+ }, {
155
+ readonly type: "function";
156
+ readonly name: "createPool";
157
+ readonly inputs: readonly [{
158
+ readonly name: "createPoolConfig";
159
+ readonly type: "tuple";
160
+ readonly internalType: "struct CreatePoolConfig";
161
+ readonly components: readonly [{
162
+ readonly name: "poolName";
163
+ readonly type: "string";
164
+ readonly internalType: "string";
165
+ }, {
166
+ readonly name: "poolSymbol";
167
+ readonly type: "string";
168
+ readonly internalType: "string";
169
+ }, {
170
+ readonly name: "targetExcessLiquidityPercentage";
171
+ readonly type: "uint256";
172
+ readonly internalType: "uint256";
173
+ }, {
174
+ readonly name: "minExcessLiquidityPercentage";
175
+ readonly type: "uint256";
176
+ readonly internalType: "uint256";
177
+ }, {
178
+ readonly name: "tranches";
179
+ readonly type: "tuple[]";
180
+ readonly internalType: "struct CreateTrancheConfig[]";
181
+ readonly components: readonly [{
182
+ readonly name: "ratio";
183
+ readonly type: "uint256";
184
+ readonly internalType: "uint256";
185
+ }, {
186
+ readonly name: "interestRate";
187
+ readonly type: "uint256";
188
+ readonly internalType: "uint256";
189
+ }, {
190
+ readonly name: "minDepositAmount";
191
+ readonly type: "uint256";
192
+ readonly internalType: "uint256";
193
+ }, {
194
+ readonly name: "maxDepositAmount";
195
+ readonly type: "uint256";
196
+ readonly internalType: "uint256";
197
+ }];
198
+ }, {
199
+ readonly name: "poolAdmin";
200
+ readonly type: "address";
201
+ readonly internalType: "address";
202
+ }, {
203
+ readonly name: "drawRecipient";
204
+ readonly type: "address";
205
+ readonly internalType: "address";
206
+ }, {
207
+ readonly name: "desiredDrawAmount";
208
+ readonly type: "uint256";
209
+ readonly internalType: "uint256";
210
+ }];
211
+ }];
212
+ readonly outputs: readonly [{
213
+ readonly name: "lendingPoolDeployment";
214
+ readonly type: "tuple";
215
+ readonly internalType: "struct LendingPoolDeployment";
216
+ readonly components: readonly [{
217
+ readonly name: "lendingPool";
218
+ readonly type: "address";
219
+ readonly internalType: "address";
220
+ }, {
221
+ readonly name: "pendingPool";
222
+ readonly type: "address";
223
+ readonly internalType: "address";
224
+ }, {
225
+ readonly name: "tranches";
226
+ readonly type: "address[]";
227
+ readonly internalType: "address[]";
228
+ }];
229
+ }];
230
+ readonly stateMutability: "nonpayable";
231
+ }, {
232
+ readonly type: "function";
233
+ readonly name: "depositFirstLossCapital";
234
+ readonly inputs: readonly [{
235
+ readonly name: "lendingPool";
236
+ readonly type: "address";
237
+ readonly internalType: "address";
238
+ }, {
239
+ readonly name: "amount";
240
+ readonly type: "uint256";
241
+ readonly internalType: "uint256";
242
+ }];
243
+ readonly outputs: readonly [];
244
+ readonly stateMutability: "nonpayable";
245
+ }, {
246
+ readonly type: "function";
247
+ readonly name: "doClearing";
248
+ readonly inputs: readonly [{
249
+ readonly name: "lendingPool";
250
+ readonly type: "address";
251
+ readonly internalType: "address";
252
+ }, {
253
+ readonly name: "targetEpoch";
254
+ readonly type: "uint256";
255
+ readonly internalType: "uint256";
256
+ }, {
257
+ readonly name: "fixedTermDepositBatchSize";
258
+ readonly type: "uint256";
259
+ readonly internalType: "uint256";
260
+ }, {
261
+ readonly name: "priorityCalculationBatchSize";
262
+ readonly type: "uint256";
263
+ readonly internalType: "uint256";
264
+ }, {
265
+ readonly name: "acceptRequestsBatchSize";
266
+ readonly type: "uint256";
267
+ readonly internalType: "uint256";
268
+ }, {
269
+ readonly name: "clearingConfigOverride";
270
+ readonly type: "tuple";
271
+ readonly internalType: "struct ClearingConfiguration";
272
+ readonly components: readonly [{
273
+ readonly name: "drawAmount";
274
+ readonly type: "uint256";
275
+ readonly internalType: "uint256";
276
+ }, {
277
+ readonly name: "trancheDesiredRatios";
278
+ readonly type: "uint256[]";
279
+ readonly internalType: "uint256[]";
280
+ }, {
281
+ readonly name: "maxExcessPercentage";
282
+ readonly type: "uint256";
283
+ readonly internalType: "uint256";
284
+ }, {
285
+ readonly name: "minExcessPercentage";
286
+ readonly type: "uint256";
287
+ readonly internalType: "uint256";
288
+ }];
289
+ }, {
290
+ readonly name: "isConfigOverridden";
291
+ readonly type: "bool";
292
+ readonly internalType: "bool";
293
+ }];
294
+ readonly outputs: readonly [];
295
+ readonly stateMutability: "nonpayable";
296
+ }, {
297
+ readonly type: "function";
298
+ readonly name: "endFixedTermDeposit";
299
+ readonly inputs: readonly [{
300
+ readonly name: "lendingPool";
301
+ readonly type: "address";
302
+ readonly internalType: "address";
303
+ }, {
304
+ readonly name: "fixedTermDepositId";
305
+ readonly type: "uint256";
306
+ readonly internalType: "uint256";
307
+ }, {
308
+ readonly name: "arrayIndex";
309
+ readonly type: "uint256";
310
+ readonly internalType: "uint256";
311
+ }];
312
+ readonly outputs: readonly [];
313
+ readonly stateMutability: "nonpayable";
314
+ }, {
315
+ readonly type: "function";
316
+ readonly name: "forceCancelDepositRequest";
317
+ readonly inputs: readonly [{
318
+ readonly name: "lendingPool";
319
+ readonly type: "address";
320
+ readonly internalType: "address";
321
+ }, {
322
+ readonly name: "dNftID";
323
+ readonly type: "uint256";
324
+ readonly internalType: "uint256";
325
+ }];
326
+ readonly outputs: readonly [];
327
+ readonly stateMutability: "nonpayable";
328
+ }, {
329
+ readonly type: "function";
330
+ readonly name: "forceCancelWithdrawalRequest";
331
+ readonly inputs: readonly [{
332
+ readonly name: "lendingPool";
333
+ readonly type: "address";
334
+ readonly internalType: "address";
335
+ }, {
336
+ readonly name: "wNftID";
337
+ readonly type: "uint256";
338
+ readonly internalType: "uint256";
339
+ }];
340
+ readonly outputs: readonly [];
341
+ readonly stateMutability: "nonpayable";
342
+ }, {
343
+ readonly type: "function";
344
+ readonly name: "forceImmediateWithdrawal";
345
+ readonly inputs: readonly [{
346
+ readonly name: "lendingPool";
347
+ readonly type: "address";
348
+ readonly internalType: "address";
349
+ }, {
350
+ readonly name: "tranche";
351
+ readonly type: "address";
352
+ readonly internalType: "address";
353
+ }, {
354
+ readonly name: "user";
355
+ readonly type: "address";
356
+ readonly internalType: "address";
357
+ }, {
358
+ readonly name: "sharesToWithdraw";
359
+ readonly type: "uint256";
360
+ readonly internalType: "uint256";
361
+ }];
362
+ readonly outputs: readonly [{
363
+ readonly name: "";
364
+ readonly type: "uint256";
365
+ readonly internalType: "uint256";
366
+ }];
367
+ readonly stateMutability: "nonpayable";
368
+ }, {
369
+ readonly type: "function";
370
+ readonly name: "initialize";
371
+ readonly inputs: readonly [{
372
+ readonly name: "lendingPoolFactory_";
373
+ readonly type: "address";
374
+ readonly internalType: "contract ILendingPoolFactory";
375
+ }, {
376
+ readonly name: "kasuAllowList_";
377
+ readonly type: "address";
378
+ readonly internalType: "contract IKasuAllowList";
379
+ }, {
380
+ readonly name: "userManager_";
381
+ readonly type: "address";
382
+ readonly internalType: "contract IUserManager";
383
+ }, {
384
+ readonly name: "clearingCoordinator_";
385
+ readonly type: "address";
386
+ readonly internalType: "contract IClearingCoordinator";
387
+ }];
388
+ readonly outputs: readonly [];
389
+ readonly stateMutability: "nonpayable";
390
+ }, {
391
+ readonly type: "function";
392
+ readonly name: "isLendingPool";
393
+ readonly inputs: readonly [{
394
+ readonly name: "lendingPool";
395
+ readonly type: "address";
396
+ readonly internalType: "address";
397
+ }];
398
+ readonly outputs: readonly [{
399
+ readonly name: "";
400
+ readonly type: "bool";
401
+ readonly internalType: "bool";
402
+ }];
403
+ readonly stateMutability: "view";
404
+ }, {
405
+ readonly type: "function";
406
+ readonly name: "lendingPools";
407
+ readonly inputs: readonly [{
408
+ readonly name: "";
409
+ readonly type: "address";
410
+ readonly internalType: "address";
411
+ }];
412
+ readonly outputs: readonly [{
413
+ readonly name: "lendingPool";
414
+ readonly type: "address";
415
+ readonly internalType: "address";
416
+ }, {
417
+ readonly name: "pendingPool";
418
+ readonly type: "address";
419
+ readonly internalType: "address";
420
+ }];
421
+ readonly stateMutability: "view";
422
+ }, {
423
+ readonly type: "function";
424
+ readonly name: "lockDepositForFixedTerm";
425
+ readonly inputs: readonly [{
426
+ readonly name: "lendingPool";
427
+ readonly type: "address";
428
+ readonly internalType: "address";
429
+ }, {
430
+ readonly name: "tranche";
431
+ readonly type: "address";
432
+ readonly internalType: "address";
433
+ }, {
434
+ readonly name: "amount";
435
+ readonly type: "uint256";
436
+ readonly internalType: "uint256";
437
+ }, {
438
+ readonly name: "fixedTermConfigId";
439
+ readonly type: "uint256";
440
+ readonly internalType: "uint256";
441
+ }];
442
+ readonly outputs: readonly [];
443
+ readonly stateMutability: "nonpayable";
444
+ }, {
445
+ readonly type: "function";
446
+ readonly name: "repayLoss";
447
+ readonly inputs: readonly [{
448
+ readonly name: "lendingPool";
449
+ readonly type: "address";
450
+ readonly internalType: "address";
451
+ }, {
452
+ readonly name: "tranche";
453
+ readonly type: "address";
454
+ readonly internalType: "address";
455
+ }, {
456
+ readonly name: "lossId";
457
+ readonly type: "uint256";
458
+ readonly internalType: "uint256";
459
+ }, {
460
+ readonly name: "amount";
461
+ readonly type: "uint256";
462
+ readonly internalType: "uint256";
463
+ }];
464
+ readonly outputs: readonly [];
465
+ readonly stateMutability: "nonpayable";
466
+ }, {
467
+ readonly type: "function";
468
+ readonly name: "repayOwedFunds";
469
+ readonly inputs: readonly [{
470
+ readonly name: "lendingPool";
471
+ readonly type: "address";
472
+ readonly internalType: "address";
473
+ }, {
474
+ readonly name: "amount";
475
+ readonly type: "uint256";
476
+ readonly internalType: "uint256";
477
+ }, {
478
+ readonly name: "repaymentAddress";
479
+ readonly type: "address";
480
+ readonly internalType: "address";
481
+ }];
482
+ readonly outputs: readonly [];
483
+ readonly stateMutability: "nonpayable";
484
+ }, {
485
+ readonly type: "function";
486
+ readonly name: "reportLoss";
487
+ readonly inputs: readonly [{
488
+ readonly name: "lendingPool";
489
+ readonly type: "address";
490
+ readonly internalType: "address";
491
+ }, {
492
+ readonly name: "amount";
493
+ readonly type: "uint256";
494
+ readonly internalType: "uint256";
495
+ }, {
496
+ readonly name: "doMintLossTokens";
497
+ readonly type: "bool";
498
+ readonly internalType: "bool";
499
+ }];
500
+ readonly outputs: readonly [{
501
+ readonly name: "lossId";
502
+ readonly type: "uint256";
503
+ readonly internalType: "uint256";
504
+ }];
505
+ readonly stateMutability: "nonpayable";
506
+ }, {
507
+ readonly type: "function";
508
+ readonly name: "requestDeposit";
509
+ readonly inputs: readonly [{
510
+ readonly name: "lendingPool";
511
+ readonly type: "address";
512
+ readonly internalType: "address";
513
+ }, {
514
+ readonly name: "tranche";
515
+ readonly type: "address";
516
+ readonly internalType: "address";
517
+ }, {
518
+ readonly name: "maxAmount";
519
+ readonly type: "uint256";
520
+ readonly internalType: "uint256";
521
+ }, {
522
+ readonly name: "swapData";
523
+ readonly type: "bytes";
524
+ readonly internalType: "bytes";
525
+ }, {
526
+ readonly name: "fixedTermConfigId";
527
+ readonly type: "uint256";
528
+ readonly internalType: "uint256";
529
+ }, {
530
+ readonly name: "depositData";
531
+ readonly type: "bytes";
532
+ readonly internalType: "bytes";
533
+ }];
534
+ readonly outputs: readonly [{
535
+ readonly name: "dNftID";
536
+ readonly type: "uint256";
537
+ readonly internalType: "uint256";
538
+ }];
539
+ readonly stateMutability: "payable";
540
+ }, {
541
+ readonly type: "function";
542
+ readonly name: "requestDepositWithKyc";
543
+ readonly inputs: readonly [{
544
+ readonly name: "lendingPool";
545
+ readonly type: "address";
546
+ readonly internalType: "address";
547
+ }, {
548
+ readonly name: "tranche";
549
+ readonly type: "address";
550
+ readonly internalType: "address";
551
+ }, {
552
+ readonly name: "maxAmount";
553
+ readonly type: "uint256";
554
+ readonly internalType: "uint256";
555
+ }, {
556
+ readonly name: "swapData";
557
+ readonly type: "bytes";
558
+ readonly internalType: "bytes";
559
+ }, {
560
+ readonly name: "fixedTermConfigId";
561
+ readonly type: "uint256";
562
+ readonly internalType: "uint256";
563
+ }, {
564
+ readonly name: "depositData";
565
+ readonly type: "bytes";
566
+ readonly internalType: "bytes";
567
+ }, {
568
+ readonly name: "kycData";
569
+ readonly type: "tuple";
570
+ readonly internalType: "struct KycData";
571
+ readonly components: readonly [{
572
+ readonly name: "blockExpiration";
573
+ readonly type: "uint256";
574
+ readonly internalType: "uint256";
575
+ }, {
576
+ readonly name: "signature";
577
+ readonly type: "bytes";
578
+ readonly internalType: "bytes";
579
+ }];
580
+ }];
581
+ readonly outputs: readonly [{
582
+ readonly name: "dNftID";
583
+ readonly type: "uint256";
584
+ readonly internalType: "uint256";
585
+ }];
586
+ readonly stateMutability: "payable";
587
+ }, {
588
+ readonly type: "function";
589
+ readonly name: "requestFixedTermDepositWithdrawal";
590
+ readonly inputs: readonly [{
591
+ readonly name: "lendingPool";
592
+ readonly type: "address";
593
+ readonly internalType: "address";
594
+ }, {
595
+ readonly name: "fixedTermDepositId";
596
+ readonly type: "uint256";
597
+ readonly internalType: "uint256";
598
+ }];
599
+ readonly outputs: readonly [];
600
+ readonly stateMutability: "nonpayable";
601
+ }, {
602
+ readonly type: "function";
603
+ readonly name: "requestWithdrawal";
604
+ readonly inputs: readonly [{
605
+ readonly name: "lendingPool";
606
+ readonly type: "address";
607
+ readonly internalType: "address";
608
+ }, {
609
+ readonly name: "tranche";
610
+ readonly type: "address";
611
+ readonly internalType: "address";
612
+ }, {
613
+ readonly name: "amount";
614
+ readonly type: "uint256";
615
+ readonly internalType: "uint256";
616
+ }];
617
+ readonly outputs: readonly [{
618
+ readonly name: "wNftID";
619
+ readonly type: "uint256";
620
+ readonly internalType: "uint256";
621
+ }];
622
+ readonly stateMutability: "nonpayable";
623
+ }, {
624
+ readonly type: "function";
625
+ readonly name: "stopLendingPool";
626
+ readonly inputs: readonly [{
627
+ readonly name: "lendingPool";
628
+ readonly type: "address";
629
+ readonly internalType: "address";
630
+ }];
631
+ readonly outputs: readonly [];
632
+ readonly stateMutability: "nonpayable";
633
+ }, {
634
+ readonly type: "function";
635
+ readonly name: "updateDesiredDrawAmount";
636
+ readonly inputs: readonly [{
637
+ readonly name: "lendingPool";
638
+ readonly type: "address";
639
+ readonly internalType: "address";
640
+ }, {
641
+ readonly name: "amount";
642
+ readonly type: "uint256";
643
+ readonly internalType: "uint256";
644
+ }];
645
+ readonly outputs: readonly [];
646
+ readonly stateMutability: "nonpayable";
647
+ }, {
648
+ readonly type: "function";
649
+ readonly name: "updateDrawRecipient";
650
+ readonly inputs: readonly [{
651
+ readonly name: "lendingPool";
652
+ readonly type: "address";
653
+ readonly internalType: "address";
654
+ }, {
655
+ readonly name: "drawRecipient";
656
+ readonly type: "address";
657
+ readonly internalType: "address";
658
+ }];
659
+ readonly outputs: readonly [];
660
+ readonly stateMutability: "nonpayable";
661
+ }, {
662
+ readonly type: "function";
663
+ readonly name: "updateFixedTermDepositAllowlist";
664
+ readonly inputs: readonly [{
665
+ readonly name: "lendingPool";
666
+ readonly type: "address";
667
+ readonly internalType: "address";
668
+ }, {
669
+ readonly name: "configId";
670
+ readonly type: "uint256";
671
+ readonly internalType: "uint256";
672
+ }, {
673
+ readonly name: "users";
674
+ readonly type: "address[]";
675
+ readonly internalType: "address[]";
676
+ }, {
677
+ readonly name: "isAllowedList";
678
+ readonly type: "bool[]";
679
+ readonly internalType: "bool[]";
680
+ }];
681
+ readonly outputs: readonly [];
682
+ readonly stateMutability: "nonpayable";
683
+ }, {
684
+ readonly type: "function";
685
+ readonly name: "updateLendingPoolTrancheFixedInterestStatus";
686
+ readonly inputs: readonly [{
687
+ readonly name: "lendingPool";
688
+ readonly type: "address";
689
+ readonly internalType: "address";
690
+ }, {
691
+ readonly name: "fixedTermConfigId";
692
+ readonly type: "uint256";
693
+ readonly internalType: "uint256";
694
+ }, {
695
+ readonly name: "fixedTermDepositStatus";
696
+ readonly type: "uint8";
697
+ readonly internalType: "enum FixedTermDepositStatus";
698
+ }];
699
+ readonly outputs: readonly [];
700
+ readonly stateMutability: "nonpayable";
701
+ }, {
702
+ readonly type: "function";
703
+ readonly name: "updateLendingPoolWithdrawalConfiguration";
704
+ readonly inputs: readonly [{
705
+ readonly name: "lendingPool";
706
+ readonly type: "address";
707
+ readonly internalType: "address";
708
+ }, {
709
+ readonly name: "withdrawalConfiguration";
710
+ readonly type: "tuple";
711
+ readonly internalType: "struct LendingPoolWithdrawalConfiguration";
712
+ readonly components: readonly [{
713
+ readonly name: "requestEpochsInAdvance";
714
+ readonly type: "uint128";
715
+ readonly internalType: "uint128";
716
+ }, {
717
+ readonly name: "cancelRequestEpochsInAdvance";
718
+ readonly type: "uint128";
719
+ readonly internalType: "uint128";
720
+ }];
721
+ }];
722
+ readonly outputs: readonly [];
723
+ readonly stateMutability: "nonpayable";
724
+ }, {
725
+ readonly type: "function";
726
+ readonly name: "updateMaximumDepositAmount";
727
+ readonly inputs: readonly [{
728
+ readonly name: "lendingPool";
729
+ readonly type: "address";
730
+ readonly internalType: "address";
731
+ }, {
732
+ readonly name: "tranche";
733
+ readonly type: "address";
734
+ readonly internalType: "address";
735
+ }, {
736
+ readonly name: "maximumDepositAmount";
737
+ readonly type: "uint256";
738
+ readonly internalType: "uint256";
739
+ }];
740
+ readonly outputs: readonly [];
741
+ readonly stateMutability: "nonpayable";
742
+ }, {
743
+ readonly type: "function";
744
+ readonly name: "updateMinimumDepositAmount";
745
+ readonly inputs: readonly [{
746
+ readonly name: "lendingPool";
747
+ readonly type: "address";
748
+ readonly internalType: "address";
749
+ }, {
750
+ readonly name: "tranche";
751
+ readonly type: "address";
752
+ readonly internalType: "address";
753
+ }, {
754
+ readonly name: "minimumDepositAmount";
755
+ readonly type: "uint256";
756
+ readonly internalType: "uint256";
757
+ }];
758
+ readonly outputs: readonly [];
759
+ readonly stateMutability: "nonpayable";
760
+ }, {
761
+ readonly type: "function";
762
+ readonly name: "updateMinimumExcessLiquidityPercentage";
763
+ readonly inputs: readonly [{
764
+ readonly name: "lendingPool";
765
+ readonly type: "address";
766
+ readonly internalType: "address";
767
+ }, {
768
+ readonly name: "minimumExcessLiquidityPercentage";
769
+ readonly type: "uint256";
770
+ readonly internalType: "uint256";
771
+ }];
772
+ readonly outputs: readonly [];
773
+ readonly stateMutability: "nonpayable";
774
+ }, {
775
+ readonly type: "function";
776
+ readonly name: "updateTargetExcessLiquidityPercentage";
777
+ readonly inputs: readonly [{
778
+ readonly name: "lendingPool";
779
+ readonly type: "address";
780
+ readonly internalType: "address";
781
+ }, {
782
+ readonly name: "targetExcessLiquidityPercentage";
783
+ readonly type: "uint256";
784
+ readonly internalType: "uint256";
785
+ }];
786
+ readonly outputs: readonly [];
787
+ readonly stateMutability: "nonpayable";
788
+ }, {
789
+ readonly type: "function";
790
+ readonly name: "updateTrancheDesiredRatios";
791
+ readonly inputs: readonly [{
792
+ readonly name: "lendingPool";
793
+ readonly type: "address";
794
+ readonly internalType: "address";
795
+ }, {
796
+ readonly name: "desiredRatios";
797
+ readonly type: "uint256[]";
798
+ readonly internalType: "uint256[]";
799
+ }];
800
+ readonly outputs: readonly [];
801
+ readonly stateMutability: "nonpayable";
802
+ }, {
803
+ readonly type: "function";
804
+ readonly name: "updateTrancheInterestRate";
805
+ readonly inputs: readonly [{
806
+ readonly name: "lendingPool";
807
+ readonly type: "address";
808
+ readonly internalType: "address";
809
+ }, {
810
+ readonly name: "tranche";
811
+ readonly type: "address";
812
+ readonly internalType: "address";
813
+ }, {
814
+ readonly name: "interestRate";
815
+ readonly type: "uint256";
816
+ readonly internalType: "uint256";
817
+ }];
818
+ readonly outputs: readonly [];
819
+ readonly stateMutability: "nonpayable";
820
+ }, {
821
+ readonly type: "function";
822
+ readonly name: "updateTrancheInterestRateChangeEpochDelay";
823
+ readonly inputs: readonly [{
824
+ readonly name: "lendingPool";
825
+ readonly type: "address";
826
+ readonly internalType: "address";
827
+ }, {
828
+ readonly name: "epochDelay";
829
+ readonly type: "uint256";
830
+ readonly internalType: "uint256";
831
+ }];
832
+ readonly outputs: readonly [];
833
+ readonly stateMutability: "nonpayable";
834
+ }, {
835
+ readonly type: "function";
836
+ readonly name: "withdrawFirstLossCapital";
837
+ readonly inputs: readonly [{
838
+ readonly name: "lendingPool";
839
+ readonly type: "address";
840
+ readonly internalType: "address";
841
+ }, {
842
+ readonly name: "withdrawAmount";
843
+ readonly type: "uint256";
844
+ readonly internalType: "uint256";
845
+ }, {
846
+ readonly name: "withdrawAddress";
847
+ readonly type: "address";
848
+ readonly internalType: "address";
849
+ }];
850
+ readonly outputs: readonly [];
851
+ readonly stateMutability: "nonpayable";
852
+ }, {
853
+ readonly type: "event";
854
+ readonly name: "DepositDataAdded";
855
+ readonly inputs: readonly [{
856
+ readonly name: "lendingPool";
857
+ readonly type: "address";
858
+ readonly indexed: true;
859
+ readonly internalType: "address";
860
+ }, {
861
+ readonly name: "dNftID";
862
+ readonly type: "uint256";
863
+ readonly indexed: true;
864
+ readonly internalType: "uint256";
865
+ }, {
866
+ readonly name: "data";
867
+ readonly type: "bytes";
868
+ readonly indexed: false;
869
+ readonly internalType: "bytes";
870
+ }];
871
+ readonly anonymous: false;
872
+ }, {
873
+ readonly type: "event";
874
+ readonly name: "Initialized";
875
+ readonly inputs: readonly [{
876
+ readonly name: "version";
877
+ readonly type: "uint64";
878
+ readonly indexed: false;
879
+ readonly internalType: "uint64";
880
+ }];
881
+ readonly anonymous: false;
882
+ }, {
883
+ readonly type: "error";
884
+ readonly name: "AccessControlUnauthorizedAccount";
885
+ readonly inputs: readonly [{
886
+ readonly name: "account";
887
+ readonly type: "address";
888
+ readonly internalType: "address";
889
+ }, {
890
+ readonly name: "neededRole";
891
+ readonly type: "bytes32";
892
+ readonly internalType: "bytes32";
893
+ }];
894
+ }, {
895
+ readonly type: "error";
896
+ readonly name: "AddressEmptyCode";
897
+ readonly inputs: readonly [{
898
+ readonly name: "target";
899
+ readonly type: "address";
900
+ readonly internalType: "address";
901
+ }];
902
+ }, {
903
+ readonly type: "error";
904
+ readonly name: "AddressInsufficientBalance";
905
+ readonly inputs: readonly [{
906
+ readonly name: "account";
907
+ readonly type: "address";
908
+ readonly internalType: "address";
909
+ }];
910
+ }, {
911
+ readonly type: "error";
912
+ readonly name: "ClearingIsPending";
913
+ readonly inputs: readonly [];
914
+ }, {
915
+ readonly type: "error";
916
+ readonly name: "ConfigurationAddressZero";
917
+ readonly inputs: readonly [];
918
+ }, {
919
+ readonly type: "error";
920
+ readonly name: "FailedInnerCall";
921
+ readonly inputs: readonly [];
922
+ }, {
923
+ readonly type: "error";
924
+ readonly name: "InsufficientOutputAmount";
925
+ readonly inputs: readonly [{
926
+ readonly name: "amountOut";
927
+ readonly type: "uint256";
928
+ readonly internalType: "uint256";
929
+ }, {
930
+ readonly name: "minAmountOut";
931
+ readonly type: "uint256";
932
+ readonly internalType: "uint256";
933
+ }];
934
+ }, {
935
+ readonly type: "error";
936
+ readonly name: "InvalidArrayLength";
937
+ readonly inputs: readonly [];
938
+ }, {
939
+ readonly type: "error";
940
+ readonly name: "InvalidInitialization";
941
+ readonly inputs: readonly [];
942
+ }, {
943
+ readonly type: "error";
944
+ readonly name: "InvalidLendingPool";
945
+ readonly inputs: readonly [{
946
+ readonly name: "lendingPool";
947
+ readonly type: "address";
948
+ readonly internalType: "address";
949
+ }];
950
+ }, {
951
+ readonly type: "error";
952
+ readonly name: "InvalidTranche";
953
+ readonly inputs: readonly [{
954
+ readonly name: "lendingPool";
955
+ readonly type: "address";
956
+ readonly internalType: "address";
957
+ }, {
958
+ readonly name: "tranche";
959
+ readonly type: "address";
960
+ readonly internalType: "address";
961
+ }];
962
+ }, {
963
+ readonly type: "error";
964
+ readonly name: "LendingPoolIsNotStopped";
965
+ readonly inputs: readonly [];
966
+ }, {
967
+ readonly type: "error";
968
+ readonly name: "LendingPoolIsStopped";
969
+ readonly inputs: readonly [];
970
+ }, {
971
+ readonly type: "error";
972
+ readonly name: "NotInitializing";
973
+ readonly inputs: readonly [];
974
+ }, {
975
+ readonly type: "error";
976
+ readonly name: "OnlyClearingCoordinator";
977
+ readonly inputs: readonly [];
978
+ }, {
979
+ readonly type: "error";
980
+ readonly name: "OnlyFixedTermDeposit";
981
+ readonly inputs: readonly [];
982
+ }, {
983
+ readonly type: "error";
984
+ readonly name: "OnlyLendingPoolManager";
985
+ readonly inputs: readonly [];
986
+ }, {
987
+ readonly type: "error";
988
+ readonly name: "OnlyOwnLendingPool";
989
+ readonly inputs: readonly [{
990
+ readonly name: "sender";
991
+ readonly type: "address";
992
+ readonly internalType: "address";
993
+ }, {
994
+ readonly name: "ownLendingPool";
995
+ readonly type: "address";
996
+ readonly internalType: "address";
997
+ }];
998
+ }, {
999
+ readonly type: "error";
1000
+ readonly name: "OnlyOwnPendingPool";
1001
+ readonly inputs: readonly [{
1002
+ readonly name: "sender";
1003
+ readonly type: "address";
1004
+ readonly internalType: "address";
1005
+ }, {
1006
+ readonly name: "ownPendingPool";
1007
+ readonly type: "address";
1008
+ readonly internalType: "address";
1009
+ }];
1010
+ }, {
1011
+ readonly type: "error";
1012
+ readonly name: "SafeERC20FailedOperation";
1013
+ readonly inputs: readonly [{
1014
+ readonly name: "token";
1015
+ readonly type: "address";
1016
+ readonly internalType: "address";
1017
+ }];
1018
+ }, {
1019
+ readonly type: "error";
1020
+ readonly name: "UserBlocked";
1021
+ readonly inputs: readonly [{
1022
+ readonly name: "user";
1023
+ readonly type: "address";
1024
+ readonly internalType: "address";
1025
+ }];
1026
+ }, {
1027
+ readonly type: "error";
1028
+ readonly name: "UserNotInAllowList";
1029
+ readonly inputs: readonly [{
1030
+ readonly name: "user";
1031
+ readonly type: "address";
1032
+ readonly internalType: "address";
1033
+ }];
1034
+ }, {
1035
+ readonly type: "error";
1036
+ readonly name: "UserNotKycd";
1037
+ readonly inputs: readonly [{
1038
+ readonly name: "user";
1039
+ readonly type: "address";
1040
+ readonly internalType: "address";
1041
+ }];
1042
+ }];
1043
+ static createInterface(): ILendingPoolManagerAbiInterface;
1044
+ static connect(address: string, signerOrProvider: Signer | Provider): ILendingPoolManagerAbi;
1045
+ }