@wildcatfi/wildcat-sdk 1.0.15 → 2.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 (195) hide show
  1. package/README.md +88 -0
  2. package/dist/account.d.ts +42 -43
  3. package/dist/account.d.ts.map +1 -1
  4. package/dist/account.js +120 -95
  5. package/dist/account.js.map +1 -1
  6. package/dist/constants.d.ts +16 -8
  7. package/dist/constants.d.ts.map +1 -1
  8. package/dist/constants.js +30 -12
  9. package/dist/constants.js.map +1 -1
  10. package/dist/controller.d.ts +43 -11
  11. package/dist/controller.d.ts.map +1 -1
  12. package/dist/controller.js +119 -21
  13. package/dist/controller.js.map +1 -1
  14. package/dist/index.d.ts +17 -8
  15. package/dist/index.d.ts.map +1 -1
  16. package/dist/index.js +30 -8
  17. package/dist/index.js.map +1 -1
  18. package/dist/market.d.ts +107 -0
  19. package/dist/market.d.ts.map +1 -0
  20. package/dist/market.js +265 -0
  21. package/dist/market.js.map +1 -0
  22. package/dist/mockerc20factory.js +1 -1
  23. package/dist/mockerc20factory.js.map +1 -1
  24. package/dist/token.d.ts +3 -3
  25. package/dist/token.d.ts.map +1 -1
  26. package/dist/token.js +18 -18
  27. package/dist/token.js.map +1 -1
  28. package/dist/typechain/IERC20.d.ts +42 -1
  29. package/dist/typechain/IERC20.d.ts.map +1 -1
  30. package/dist/typechain/MarketLens.d.ts +705 -0
  31. package/dist/typechain/MarketLens.d.ts.map +1 -0
  32. package/dist/typechain/{mock/index.js → MarketLens.js} +1 -1
  33. package/dist/typechain/MarketLens.js.map +1 -0
  34. package/dist/typechain/MockArchControllerOwner.d.ts +130 -0
  35. package/dist/typechain/MockArchControllerOwner.d.ts.map +1 -0
  36. package/dist/typechain/{WildcatVaultController.js → MockArchControllerOwner.js} +1 -1
  37. package/dist/typechain/MockArchControllerOwner.js.map +1 -0
  38. package/dist/typechain/{mock/MockERC20Factory.d.ts → MockERC20Factory.d.ts} +4 -3
  39. package/dist/typechain/MockERC20Factory.d.ts.map +1 -0
  40. package/dist/typechain/MockERC20Factory.js.map +1 -0
  41. package/dist/typechain/WildcatArchController.d.ts +525 -0
  42. package/dist/typechain/WildcatArchController.d.ts.map +1 -0
  43. package/dist/typechain/{VaultLens.js → WildcatArchController.js} +1 -1
  44. package/dist/typechain/WildcatArchController.js.map +1 -0
  45. package/dist/typechain/WildcatMarket.d.ts +1060 -0
  46. package/dist/typechain/WildcatMarket.d.ts.map +1 -0
  47. package/dist/typechain/{DebtTokenBase.js → WildcatMarket.js} +1 -1
  48. package/dist/typechain/WildcatMarket.js.map +1 -0
  49. package/dist/typechain/WildcatMarketController.d.ts +437 -0
  50. package/dist/typechain/WildcatMarketController.d.ts.map +1 -0
  51. package/dist/typechain/{WildcatVaultFactory.js → WildcatMarketController.js} +1 -1
  52. package/dist/typechain/WildcatMarketController.js.map +1 -0
  53. package/dist/typechain/WildcatMarketControllerFactory.d.ts +375 -0
  54. package/dist/typechain/WildcatMarketControllerFactory.d.ts.map +1 -0
  55. package/dist/typechain/WildcatMarketControllerFactory.js +3 -0
  56. package/dist/typechain/WildcatMarketControllerFactory.js.map +1 -0
  57. package/dist/typechain/common.d.ts.map +1 -1
  58. package/dist/typechain/factories/IERC20__factory.d.ts +44 -0
  59. package/dist/typechain/factories/IERC20__factory.d.ts.map +1 -1
  60. package/dist/typechain/factories/IERC20__factory.js +57 -0
  61. package/dist/typechain/factories/IERC20__factory.js.map +1 -1
  62. package/dist/typechain/factories/MarketLens__factory.d.ts +3428 -0
  63. package/dist/typechain/factories/MarketLens__factory.d.ts.map +1 -0
  64. package/dist/typechain/factories/MarketLens__factory.js +4389 -0
  65. package/dist/typechain/factories/MarketLens__factory.js.map +1 -0
  66. package/dist/typechain/factories/MockArchControllerOwner__factory.d.ts +85 -0
  67. package/dist/typechain/factories/MockArchControllerOwner__factory.d.ts.map +1 -0
  68. package/dist/typechain/factories/MockArchControllerOwner__factory.js +118 -0
  69. package/dist/typechain/factories/MockArchControllerOwner__factory.js.map +1 -0
  70. package/dist/typechain/factories/MockERC20Factory__factory.d.ts +52 -0
  71. package/dist/typechain/factories/MockERC20Factory__factory.d.ts.map +1 -0
  72. package/dist/typechain/factories/MockERC20Factory__factory.js +75 -0
  73. package/dist/typechain/factories/MockERC20Factory__factory.js.map +1 -0
  74. package/dist/typechain/factories/WildcatArchController__factory.d.ts +536 -0
  75. package/dist/typechain/factories/WildcatArchController__factory.d.ts.map +1 -0
  76. package/dist/typechain/factories/WildcatArchController__factory.js +705 -0
  77. package/dist/typechain/factories/WildcatArchController__factory.js.map +1 -0
  78. package/dist/typechain/factories/WildcatMarketControllerFactory__factory.d.ts +431 -0
  79. package/dist/typechain/factories/WildcatMarketControllerFactory__factory.d.ts.map +1 -0
  80. package/dist/typechain/factories/WildcatMarketControllerFactory__factory.js +561 -0
  81. package/dist/typechain/factories/WildcatMarketControllerFactory__factory.js.map +1 -0
  82. package/dist/typechain/factories/WildcatMarketController__factory.d.ts +517 -0
  83. package/dist/typechain/factories/WildcatMarketController__factory.d.ts.map +1 -0
  84. package/dist/typechain/factories/WildcatMarketController__factory.js +677 -0
  85. package/dist/typechain/factories/WildcatMarketController__factory.js.map +1 -0
  86. package/dist/typechain/factories/{WildcatVaultToken__factory.d.ts → WildcatMarket__factory.d.ts} +640 -93
  87. package/dist/typechain/factories/{VaultLens__factory.d.ts.map → WildcatMarket__factory.d.ts.map} +1 -1
  88. package/dist/typechain/factories/{WildcatVaultToken__factory.js → WildcatMarket__factory.js} +795 -97
  89. package/dist/typechain/factories/WildcatMarket__factory.js.map +1 -0
  90. package/dist/typechain/factories/index.d.ts +7 -5
  91. package/dist/typechain/factories/index.d.ts.map +1 -1
  92. package/dist/typechain/factories/index.js +15 -24
  93. package/dist/typechain/factories/index.js.map +1 -1
  94. package/dist/typechain/index.d.ts +21 -9
  95. package/dist/typechain/index.d.ts.map +1 -1
  96. package/dist/typechain/index.js +29 -3
  97. package/dist/typechain/index.js.map +1 -1
  98. package/dist/utils/assert.d.ts +2 -0
  99. package/dist/utils/assert.d.ts.map +1 -0
  100. package/dist/utils/assert.js +16 -0
  101. package/dist/utils/assert.js.map +1 -0
  102. package/dist/utils/index.d.ts +5 -0
  103. package/dist/utils/index.d.ts.map +1 -0
  104. package/dist/utils/index.js +21 -0
  105. package/dist/utils/index.js.map +1 -0
  106. package/dist/utils/math.d.ts +5 -0
  107. package/dist/utils/math.d.ts.map +1 -0
  108. package/dist/utils/math.js +26 -0
  109. package/dist/utils/math.js.map +1 -0
  110. package/dist/{misc.d.ts → utils/misc.d.ts} +3 -0
  111. package/dist/utils/misc.d.ts.map +1 -0
  112. package/dist/{misc.js → utils/misc.js} +12 -1
  113. package/dist/utils/misc.js.map +1 -0
  114. package/dist/utils/type-parsers.d.ts +24 -0
  115. package/dist/utils/type-parsers.d.ts.map +1 -0
  116. package/dist/utils/type-parsers.js +21 -0
  117. package/dist/utils/type-parsers.js.map +1 -0
  118. package/dist/withdrawal-batch.d.ts +28 -0
  119. package/dist/withdrawal-batch.d.ts.map +1 -0
  120. package/dist/withdrawal-batch.js +45 -0
  121. package/dist/withdrawal-batch.js.map +1 -0
  122. package/dist/withdrawal-status.d.ts +53 -0
  123. package/dist/withdrawal-status.d.ts.map +1 -0
  124. package/dist/withdrawal-status.js +187 -0
  125. package/dist/withdrawal-status.js.map +1 -0
  126. package/package.json +3 -2
  127. package/dist/factory.d.ts +0 -28
  128. package/dist/factory.d.ts.map +0 -1
  129. package/dist/factory.js +0 -50
  130. package/dist/factory.js.map +0 -1
  131. package/dist/misc.d.ts.map +0 -1
  132. package/dist/misc.js.map +0 -1
  133. package/dist/typechain/DebtTokenBase.d.ts +0 -508
  134. package/dist/typechain/DebtTokenBase.d.ts.map +0 -1
  135. package/dist/typechain/DebtTokenBase.js.map +0 -1
  136. package/dist/typechain/VaultLens.d.ts +0 -338
  137. package/dist/typechain/VaultLens.d.ts.map +0 -1
  138. package/dist/typechain/VaultLens.js.map +0 -1
  139. package/dist/typechain/WildcatVaultController.d.ts +0 -331
  140. package/dist/typechain/WildcatVaultController.d.ts.map +0 -1
  141. package/dist/typechain/WildcatVaultController.js.map +0 -1
  142. package/dist/typechain/WildcatVaultFactory.d.ts +0 -161
  143. package/dist/typechain/WildcatVaultFactory.d.ts.map +0 -1
  144. package/dist/typechain/WildcatVaultFactory.js.map +0 -1
  145. package/dist/typechain/WildcatVaultToken.d.ts +0 -653
  146. package/dist/typechain/WildcatVaultToken.d.ts.map +0 -1
  147. package/dist/typechain/WildcatVaultToken.js +0 -3
  148. package/dist/typechain/WildcatVaultToken.js.map +0 -1
  149. package/dist/typechain/factories/VaultLens__factory.d.ts +0 -1540
  150. package/dist/typechain/factories/VaultLens__factory.js +0 -1981
  151. package/dist/typechain/factories/VaultLens__factory.js.map +0 -1
  152. package/dist/typechain/factories/WildcatVaultController__factory.d.ts +0 -440
  153. package/dist/typechain/factories/WildcatVaultController__factory.d.ts.map +0 -1
  154. package/dist/typechain/factories/WildcatVaultController__factory.js +0 -573
  155. package/dist/typechain/factories/WildcatVaultController__factory.js.map +0 -1
  156. package/dist/typechain/factories/WildcatVaultFactory__factory.d.ts +0 -225
  157. package/dist/typechain/factories/WildcatVaultFactory__factory.d.ts.map +0 -1
  158. package/dist/typechain/factories/WildcatVaultFactory__factory.js +0 -299
  159. package/dist/typechain/factories/WildcatVaultFactory__factory.js.map +0 -1
  160. package/dist/typechain/factories/WildcatVaultToken__factory.d.ts.map +0 -1
  161. package/dist/typechain/factories/WildcatVaultToken__factory.js.map +0 -1
  162. package/dist/typechain/factories/mock/ERC20__factory.d.ts +0 -237
  163. package/dist/typechain/factories/mock/ERC20__factory.d.ts.map +0 -1
  164. package/dist/typechain/factories/mock/ERC20__factory.js +0 -317
  165. package/dist/typechain/factories/mock/ERC20__factory.js.map +0 -1
  166. package/dist/typechain/factories/mock/MockERC20Factory__factory.d.ts +0 -65
  167. package/dist/typechain/factories/mock/MockERC20Factory__factory.d.ts.map +0 -1
  168. package/dist/typechain/factories/mock/MockERC20Factory__factory.js +0 -98
  169. package/dist/typechain/factories/mock/MockERC20Factory__factory.js.map +0 -1
  170. package/dist/typechain/factories/mock/MockERC20__factory.d.ts +0 -292
  171. package/dist/typechain/factories/mock/MockERC20__factory.d.ts.map +0 -1
  172. package/dist/typechain/factories/mock/MockERC20__factory.js +0 -394
  173. package/dist/typechain/factories/mock/MockERC20__factory.js.map +0 -1
  174. package/dist/typechain/factories/mock/index.d.ts +0 -4
  175. package/dist/typechain/factories/mock/index.d.ts.map +0 -1
  176. package/dist/typechain/factories/mock/index.js +0 -13
  177. package/dist/typechain/factories/mock/index.js.map +0 -1
  178. package/dist/typechain/mock/ERC20.d.ts +0 -207
  179. package/dist/typechain/mock/ERC20.d.ts.map +0 -1
  180. package/dist/typechain/mock/ERC20.js +0 -3
  181. package/dist/typechain/mock/ERC20.js.map +0 -1
  182. package/dist/typechain/mock/MockERC20.d.ts +0 -247
  183. package/dist/typechain/mock/MockERC20.d.ts.map +0 -1
  184. package/dist/typechain/mock/MockERC20.js +0 -3
  185. package/dist/typechain/mock/MockERC20.js.map +0 -1
  186. package/dist/typechain/mock/MockERC20Factory.d.ts.map +0 -1
  187. package/dist/typechain/mock/MockERC20Factory.js.map +0 -1
  188. package/dist/typechain/mock/index.d.ts +0 -4
  189. package/dist/typechain/mock/index.d.ts.map +0 -1
  190. package/dist/typechain/mock/index.js.map +0 -1
  191. package/dist/vault.d.ts +0 -89
  192. package/dist/vault.d.ts.map +0 -1
  193. package/dist/vault.js +0 -218
  194. package/dist/vault.js.map +0 -1
  195. /package/dist/typechain/{mock/MockERC20Factory.js → MockERC20Factory.js} +0 -0
@@ -3,14 +3,49 @@
3
3
  /* tslint:disable */
4
4
  /* eslint-disable */
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
- exports.WildcatVaultToken__factory = void 0;
6
+ exports.WildcatMarket__factory = void 0;
7
7
  const ethers_1 = require("ethers");
8
8
  const _abi = [
9
+ {
10
+ inputs: [],
11
+ name: "AccountBlacklisted",
12
+ type: "error",
13
+ },
14
+ {
15
+ inputs: [],
16
+ name: "AccountNotBlocked",
17
+ type: "error",
18
+ },
19
+ {
20
+ inputs: [],
21
+ name: "BadLaunchCode",
22
+ type: "error",
23
+ },
9
24
  {
10
25
  inputs: [],
11
26
  name: "BorrowAmountTooHigh",
12
27
  type: "error",
13
28
  },
29
+ {
30
+ inputs: [],
31
+ name: "BorrowFromClosedMarket",
32
+ type: "error",
33
+ },
34
+ {
35
+ inputs: [],
36
+ name: "CloseMarketInPenalizedDelinquency",
37
+ type: "error",
38
+ },
39
+ {
40
+ inputs: [],
41
+ name: "CloseMarketWithUnpaidWithdrawals",
42
+ type: "error",
43
+ },
44
+ {
45
+ inputs: [],
46
+ name: "DepositToClosedMarket",
47
+ type: "error",
48
+ },
14
49
  {
15
50
  inputs: [],
16
51
  name: "FeeSetWithoutRecipient",
@@ -18,27 +53,27 @@ const _abi = [
18
53
  },
19
54
  {
20
55
  inputs: [],
21
- name: "InsufficientCoverageForFeeWithdrawal",
56
+ name: "InsufficientReservesForFeeWithdrawal",
22
57
  type: "error",
23
58
  },
24
59
  {
25
60
  inputs: [],
26
- name: "InsufficientCoverageForNewLiquidityRatio",
61
+ name: "InsufficientReservesForNewLiquidityRatio",
27
62
  type: "error",
28
63
  },
29
64
  {
30
65
  inputs: [],
31
- name: "InterestFeeTooHigh",
66
+ name: "InsufficientReservesForOldLiquidityRatio",
32
67
  type: "error",
33
68
  },
34
69
  {
35
70
  inputs: [],
36
- name: "InterestRateTooHigh",
71
+ name: "InterestFeeTooHigh",
37
72
  type: "error",
38
73
  },
39
74
  {
40
75
  inputs: [],
41
- name: "LiquidityCoverageRatioTooHigh",
76
+ name: "InterestRateTooHigh",
42
77
  type: "error",
43
78
  },
44
79
  {
@@ -53,12 +88,12 @@ const _abi = [
53
88
  },
54
89
  {
55
90
  inputs: [],
56
- name: "NoReentrantCalls",
91
+ name: "NotApprovedBorrower",
57
92
  type: "error",
58
93
  },
59
94
  {
60
95
  inputs: [],
61
- name: "NotBorrower",
96
+ name: "NotApprovedLender",
62
97
  type: "error",
63
98
  },
64
99
  {
@@ -66,16 +101,56 @@ const _abi = [
66
101
  name: "NotController",
67
102
  type: "error",
68
103
  },
104
+ {
105
+ inputs: [],
106
+ name: "NotReversedOrStunning",
107
+ type: "error",
108
+ },
109
+ {
110
+ inputs: [],
111
+ name: "NullBurnAmount",
112
+ type: "error",
113
+ },
114
+ {
115
+ inputs: [],
116
+ name: "NullFeeAmount",
117
+ type: "error",
118
+ },
119
+ {
120
+ inputs: [],
121
+ name: "NullMintAmount",
122
+ type: "error",
123
+ },
69
124
  {
70
125
  inputs: [],
71
126
  name: "NullRepayAmount",
72
127
  type: "error",
73
128
  },
129
+ {
130
+ inputs: [],
131
+ name: "NullTransferAmount",
132
+ type: "error",
133
+ },
134
+ {
135
+ inputs: [],
136
+ name: "NullWithdrawalAmount",
137
+ type: "error",
138
+ },
74
139
  {
75
140
  inputs: [],
76
141
  name: "PenaltyFeeTooHigh",
77
142
  type: "error",
78
143
  },
144
+ {
145
+ inputs: [],
146
+ name: "RepayToClosedMarket",
147
+ type: "error",
148
+ },
149
+ {
150
+ inputs: [],
151
+ name: "ReserveRatioBipsTooHigh",
152
+ type: "error",
153
+ },
79
154
  {
80
155
  inputs: [],
81
156
  name: "UnknownNameQueryError",
@@ -86,38 +161,75 @@ const _abi = [
86
161
  name: "UnknownSymbolQueryError",
87
162
  type: "error",
88
163
  },
164
+ {
165
+ inputs: [],
166
+ name: "WithdrawalBatchNotExpired",
167
+ type: "error",
168
+ },
89
169
  {
90
170
  anonymous: false,
91
171
  inputs: [
92
172
  {
93
173
  indexed: false,
174
+ internalType: "uint256",
175
+ name: "annualInterestBipsUpdated",
176
+ type: "uint256",
177
+ },
178
+ ],
179
+ name: "AnnualInterestBipsUpdated",
180
+ type: "event",
181
+ },
182
+ {
183
+ anonymous: false,
184
+ inputs: [
185
+ {
186
+ indexed: true,
94
187
  internalType: "address",
95
- name: "",
188
+ name: "owner",
96
189
  type: "address",
97
190
  },
98
191
  {
99
- indexed: false,
192
+ indexed: true,
100
193
  internalType: "address",
101
- name: "",
194
+ name: "spender",
102
195
  type: "address",
103
196
  },
104
197
  {
105
198
  indexed: false,
106
199
  internalType: "uint256",
107
- name: "",
200
+ name: "value",
108
201
  type: "uint256",
109
202
  },
110
203
  ],
111
204
  name: "Approval",
112
205
  type: "event",
113
206
  },
207
+ {
208
+ anonymous: false,
209
+ inputs: [
210
+ {
211
+ indexed: true,
212
+ internalType: "address",
213
+ name: "account",
214
+ type: "address",
215
+ },
216
+ {
217
+ indexed: false,
218
+ internalType: "enum AuthRole",
219
+ name: "role",
220
+ type: "uint8",
221
+ },
222
+ ],
223
+ name: "AuthorizationStatusUpdated",
224
+ type: "event",
225
+ },
114
226
  {
115
227
  anonymous: false,
116
228
  inputs: [
117
229
  {
118
230
  indexed: false,
119
231
  internalType: "uint256",
120
- name: "",
232
+ name: "assetAmount",
121
233
  type: "uint256",
122
234
  },
123
235
  ],
@@ -127,10 +239,16 @@ const _abi = [
127
239
  {
128
240
  anonymous: false,
129
241
  inputs: [
242
+ {
243
+ indexed: true,
244
+ internalType: "address",
245
+ name: "from",
246
+ type: "address",
247
+ },
130
248
  {
131
249
  indexed: false,
132
250
  internalType: "uint256",
133
- name: "",
251
+ name: "assetAmount",
134
252
  type: "uint256",
135
253
  },
136
254
  ],
@@ -141,21 +259,21 @@ const _abi = [
141
259
  anonymous: false,
142
260
  inputs: [
143
261
  {
144
- indexed: false,
262
+ indexed: true,
145
263
  internalType: "address",
146
- name: "",
264
+ name: "account",
147
265
  type: "address",
148
266
  },
149
267
  {
150
268
  indexed: false,
151
269
  internalType: "uint256",
152
- name: "",
270
+ name: "assetAmount",
153
271
  type: "uint256",
154
272
  },
155
273
  {
156
274
  indexed: false,
157
275
  internalType: "uint256",
158
- name: "",
276
+ name: "scaledAmount",
159
277
  type: "uint256",
160
278
  },
161
279
  ],
@@ -168,7 +286,7 @@ const _abi = [
168
286
  {
169
287
  indexed: false,
170
288
  internalType: "uint256",
171
- name: "",
289
+ name: "assets",
172
290
  type: "uint256",
173
291
  },
174
292
  ],
@@ -181,11 +299,11 @@ const _abi = [
181
299
  {
182
300
  indexed: false,
183
301
  internalType: "uint256",
184
- name: "",
302
+ name: "timestamp",
185
303
  type: "uint256",
186
304
  },
187
305
  ],
188
- name: "MaxSupplyUpdated",
306
+ name: "MarketClosed",
189
307
  type: "event",
190
308
  },
191
309
  {
@@ -193,37 +311,112 @@ const _abi = [
193
311
  inputs: [
194
312
  {
195
313
  indexed: false,
314
+ internalType: "uint256",
315
+ name: "assets",
316
+ type: "uint256",
317
+ },
318
+ ],
319
+ name: "MaxTotalSupplyUpdated",
320
+ type: "event",
321
+ },
322
+ {
323
+ anonymous: false,
324
+ inputs: [
325
+ {
326
+ indexed: false,
327
+ internalType: "uint256",
328
+ name: "reserveRatioBipsUpdated",
329
+ type: "uint256",
330
+ },
331
+ ],
332
+ name: "ReserveRatioBipsUpdated",
333
+ type: "event",
334
+ },
335
+ {
336
+ anonymous: false,
337
+ inputs: [
338
+ {
339
+ indexed: true,
196
340
  internalType: "address",
197
- name: "",
341
+ name: "account",
198
342
  type: "address",
199
343
  },
200
344
  {
201
345
  indexed: false,
202
346
  internalType: "address",
203
- name: "",
347
+ name: "escrow",
204
348
  type: "address",
205
349
  },
206
350
  {
207
351
  indexed: false,
208
352
  internalType: "uint256",
209
- name: "",
353
+ name: "amount",
210
354
  type: "uint256",
211
355
  },
212
356
  ],
213
- name: "Transfer",
357
+ name: "SanctionedAccountAssetsSentToEscrow",
214
358
  type: "event",
215
359
  },
216
360
  {
217
361
  anonymous: false,
218
362
  inputs: [
363
+ {
364
+ indexed: true,
365
+ internalType: "address",
366
+ name: "account",
367
+ type: "address",
368
+ },
369
+ {
370
+ indexed: false,
371
+ internalType: "address",
372
+ name: "escrow",
373
+ type: "address",
374
+ },
375
+ {
376
+ indexed: false,
377
+ internalType: "uint32",
378
+ name: "expiry",
379
+ type: "uint32",
380
+ },
219
381
  {
220
382
  indexed: false,
221
383
  internalType: "uint256",
222
- name: "",
384
+ name: "amount",
385
+ type: "uint256",
386
+ },
387
+ ],
388
+ name: "SanctionedAccountWithdrawalSentToEscrow",
389
+ type: "event",
390
+ },
391
+ {
392
+ anonymous: false,
393
+ inputs: [
394
+ {
395
+ indexed: false,
396
+ internalType: "uint256",
397
+ name: "scaleFactor",
398
+ type: "uint256",
399
+ },
400
+ {
401
+ indexed: false,
402
+ internalType: "uint256",
403
+ name: "baseInterestRay",
404
+ type: "uint256",
405
+ },
406
+ {
407
+ indexed: false,
408
+ internalType: "uint256",
409
+ name: "delinquencyFeeRay",
410
+ type: "uint256",
411
+ },
412
+ {
413
+ indexed: false,
414
+ internalType: "uint256",
415
+ name: "protocolFee",
223
416
  type: "uint256",
224
417
  },
225
418
  ],
226
- name: "VaultClosed",
419
+ name: "ScaleFactorUpdated",
227
420
  type: "event",
228
421
  },
229
422
  {
@@ -231,33 +424,215 @@ const _abi = [
231
424
  inputs: [
232
425
  {
233
426
  indexed: false,
427
+ internalType: "uint256",
428
+ name: "scaleFactor",
429
+ type: "uint256",
430
+ },
431
+ {
432
+ indexed: false,
433
+ internalType: "bool",
434
+ name: "isDelinquent",
435
+ type: "bool",
436
+ },
437
+ ],
438
+ name: "StateUpdated",
439
+ type: "event",
440
+ },
441
+ {
442
+ anonymous: false,
443
+ inputs: [
444
+ {
445
+ indexed: true,
234
446
  internalType: "address",
235
- name: "",
447
+ name: "from",
448
+ type: "address",
449
+ },
450
+ {
451
+ indexed: true,
452
+ internalType: "address",
453
+ name: "to",
236
454
  type: "address",
237
455
  },
238
456
  {
239
457
  indexed: false,
240
458
  internalType: "uint256",
241
- name: "",
459
+ name: "value",
242
460
  type: "uint256",
243
461
  },
462
+ ],
463
+ name: "Transfer",
464
+ type: "event",
465
+ },
466
+ {
467
+ anonymous: false,
468
+ inputs: [
469
+ {
470
+ indexed: true,
471
+ internalType: "address",
472
+ name: "account",
473
+ type: "address",
474
+ },
244
475
  {
245
476
  indexed: false,
246
477
  internalType: "uint256",
247
- name: "",
478
+ name: "assetAmount",
479
+ type: "uint256",
480
+ },
481
+ {
482
+ indexed: false,
483
+ internalType: "uint256",
484
+ name: "scaledAmount",
248
485
  type: "uint256",
249
486
  },
250
487
  ],
251
488
  name: "Withdrawal",
252
489
  type: "event",
253
490
  },
491
+ {
492
+ anonymous: false,
493
+ inputs: [
494
+ {
495
+ indexed: true,
496
+ internalType: "uint256",
497
+ name: "expiry",
498
+ type: "uint256",
499
+ },
500
+ ],
501
+ name: "WithdrawalBatchClosed",
502
+ type: "event",
503
+ },
504
+ {
505
+ anonymous: false,
506
+ inputs: [
507
+ {
508
+ indexed: true,
509
+ internalType: "uint256",
510
+ name: "expiry",
511
+ type: "uint256",
512
+ },
513
+ ],
514
+ name: "WithdrawalBatchCreated",
515
+ type: "event",
516
+ },
517
+ {
518
+ anonymous: false,
519
+ inputs: [
520
+ {
521
+ indexed: true,
522
+ internalType: "uint256",
523
+ name: "expiry",
524
+ type: "uint256",
525
+ },
526
+ {
527
+ indexed: false,
528
+ internalType: "uint256",
529
+ name: "scaledTotalAmount",
530
+ type: "uint256",
531
+ },
532
+ {
533
+ indexed: false,
534
+ internalType: "uint256",
535
+ name: "scaledAmountBurned",
536
+ type: "uint256",
537
+ },
538
+ {
539
+ indexed: false,
540
+ internalType: "uint256",
541
+ name: "normalizedAmountPaid",
542
+ type: "uint256",
543
+ },
544
+ ],
545
+ name: "WithdrawalBatchExpired",
546
+ type: "event",
547
+ },
548
+ {
549
+ anonymous: false,
550
+ inputs: [
551
+ {
552
+ indexed: true,
553
+ internalType: "uint256",
554
+ name: "expiry",
555
+ type: "uint256",
556
+ },
557
+ {
558
+ indexed: false,
559
+ internalType: "uint256",
560
+ name: "scaledAmountBurned",
561
+ type: "uint256",
562
+ },
563
+ {
564
+ indexed: false,
565
+ internalType: "uint256",
566
+ name: "normalizedAmountPaid",
567
+ type: "uint256",
568
+ },
569
+ ],
570
+ name: "WithdrawalBatchPayment",
571
+ type: "event",
572
+ },
573
+ {
574
+ anonymous: false,
575
+ inputs: [
576
+ {
577
+ indexed: true,
578
+ internalType: "uint256",
579
+ name: "expiry",
580
+ type: "uint256",
581
+ },
582
+ {
583
+ indexed: true,
584
+ internalType: "address",
585
+ name: "account",
586
+ type: "address",
587
+ },
588
+ {
589
+ indexed: false,
590
+ internalType: "uint256",
591
+ name: "normalizedAmount",
592
+ type: "uint256",
593
+ },
594
+ ],
595
+ name: "WithdrawalExecuted",
596
+ type: "event",
597
+ },
598
+ {
599
+ anonymous: false,
600
+ inputs: [
601
+ {
602
+ indexed: true,
603
+ internalType: "uint256",
604
+ name: "expiry",
605
+ type: "uint256",
606
+ },
607
+ {
608
+ indexed: true,
609
+ internalType: "address",
610
+ name: "account",
611
+ type: "address",
612
+ },
613
+ {
614
+ indexed: false,
615
+ internalType: "uint256",
616
+ name: "scaledAmount",
617
+ type: "uint256",
618
+ },
619
+ {
620
+ indexed: false,
621
+ internalType: "uint256",
622
+ name: "normalizedAmount",
623
+ type: "uint256",
624
+ },
625
+ ],
626
+ name: "WithdrawalQueued",
627
+ type: "event",
628
+ },
254
629
  {
255
630
  inputs: [],
256
631
  name: "accruedProtocolFees",
257
632
  outputs: [
258
633
  {
259
634
  internalType: "uint256",
260
- name: "_accruedProtocolFees",
635
+ name: "",
261
636
  type: "uint256",
262
637
  },
263
638
  ],
@@ -398,7 +773,7 @@ const _abi = [
398
773
  },
399
774
  {
400
775
  inputs: [],
401
- name: "closeVault",
776
+ name: "closeMarket",
402
777
  outputs: [],
403
778
  stateMutability: "nonpayable",
404
779
  type: "function",
@@ -442,21 +817,51 @@ const _abi = [
442
817
  outputs: [
443
818
  {
444
819
  components: [
820
+ {
821
+ internalType: "bool",
822
+ name: "isClosed",
823
+ type: "bool",
824
+ },
445
825
  {
446
826
  internalType: "uint128",
447
827
  name: "maxTotalSupply",
448
828
  type: "uint128",
449
829
  },
830
+ {
831
+ internalType: "uint128",
832
+ name: "accruedProtocolFees",
833
+ type: "uint128",
834
+ },
835
+ {
836
+ internalType: "uint128",
837
+ name: "normalizedUnclaimedWithdrawals",
838
+ type: "uint128",
839
+ },
450
840
  {
451
841
  internalType: "uint104",
452
842
  name: "scaledTotalSupply",
453
843
  type: "uint104",
454
844
  },
845
+ {
846
+ internalType: "uint104",
847
+ name: "scaledPendingWithdrawals",
848
+ type: "uint104",
849
+ },
850
+ {
851
+ internalType: "uint32",
852
+ name: "pendingWithdrawalExpiry",
853
+ type: "uint32",
854
+ },
455
855
  {
456
856
  internalType: "bool",
457
857
  name: "isDelinquent",
458
858
  type: "bool",
459
859
  },
860
+ {
861
+ internalType: "uint32",
862
+ name: "timeDelinquent",
863
+ type: "uint32",
864
+ },
460
865
  {
461
866
  internalType: "uint16",
462
867
  name: "annualInterestBips",
@@ -464,14 +869,9 @@ const _abi = [
464
869
  },
465
870
  {
466
871
  internalType: "uint16",
467
- name: "liquidityCoverageRatio",
872
+ name: "reserveRatioBips",
468
873
  type: "uint16",
469
874
  },
470
- {
471
- internalType: "uint32",
472
- name: "timeDelinquent",
473
- type: "uint32",
474
- },
475
875
  {
476
876
  internalType: "uint112",
477
877
  name: "scaleFactor",
@@ -483,8 +883,8 @@ const _abi = [
483
883
  type: "uint32",
484
884
  },
485
885
  ],
486
- internalType: "struct VaultState",
487
- name: "",
886
+ internalType: "struct MarketState",
887
+ name: "state",
488
888
  type: "tuple",
489
889
  },
490
890
  ],
@@ -504,6 +904,32 @@ const _abi = [
504
904
  stateMutability: "view",
505
905
  type: "function",
506
906
  },
907
+ {
908
+ inputs: [],
909
+ name: "delinquencyFeeBips",
910
+ outputs: [
911
+ {
912
+ internalType: "uint256",
913
+ name: "",
914
+ type: "uint256",
915
+ },
916
+ ],
917
+ stateMutability: "view",
918
+ type: "function",
919
+ },
920
+ {
921
+ inputs: [],
922
+ name: "delinquencyGracePeriod",
923
+ outputs: [
924
+ {
925
+ internalType: "uint256",
926
+ name: "",
927
+ type: "uint256",
928
+ },
929
+ ],
930
+ stateMutability: "view",
931
+ type: "function",
932
+ },
507
933
  {
508
934
  inputs: [],
509
935
  name: "delinquentDebt",
@@ -524,11 +950,6 @@ const _abi = [
524
950
  name: "amount",
525
951
  type: "uint256",
526
952
  },
527
- {
528
- internalType: "address",
529
- name: "to",
530
- type: "address",
531
- },
532
953
  ],
533
954
  name: "deposit",
534
955
  outputs: [],
@@ -542,13 +963,58 @@ const _abi = [
542
963
  name: "amount",
543
964
  type: "uint256",
544
965
  },
966
+ ],
967
+ name: "depositUpTo",
968
+ outputs: [
969
+ {
970
+ internalType: "uint256",
971
+ name: "",
972
+ type: "uint256",
973
+ },
974
+ ],
975
+ stateMutability: "nonpayable",
976
+ type: "function",
977
+ },
978
+ {
979
+ inputs: [],
980
+ name: "effectiveBorrowerAPR",
981
+ outputs: [
982
+ {
983
+ internalType: "uint256",
984
+ name: "",
985
+ type: "uint256",
986
+ },
987
+ ],
988
+ stateMutability: "view",
989
+ type: "function",
990
+ },
991
+ {
992
+ inputs: [],
993
+ name: "effectiveLenderAPR",
994
+ outputs: [
995
+ {
996
+ internalType: "uint256",
997
+ name: "",
998
+ type: "uint256",
999
+ },
1000
+ ],
1001
+ stateMutability: "view",
1002
+ type: "function",
1003
+ },
1004
+ {
1005
+ inputs: [
545
1006
  {
546
1007
  internalType: "address",
547
- name: "to",
1008
+ name: "accountAddress",
548
1009
  type: "address",
549
1010
  },
1011
+ {
1012
+ internalType: "uint32",
1013
+ name: "expiry",
1014
+ type: "uint32",
1015
+ },
550
1016
  ],
551
- name: "depositUpTo",
1017
+ name: "executeWithdrawal",
552
1018
  outputs: [
553
1019
  {
554
1020
  internalType: "uint256",
@@ -573,34 +1039,74 @@ const _abi = [
573
1039
  type: "function",
574
1040
  },
575
1041
  {
576
- inputs: [],
577
- name: "gracePeriod",
1042
+ inputs: [
1043
+ {
1044
+ internalType: "address",
1045
+ name: "account",
1046
+ type: "address",
1047
+ },
1048
+ ],
1049
+ name: "getAccountRole",
578
1050
  outputs: [
579
1051
  {
580
- internalType: "uint256",
1052
+ internalType: "enum AuthRole",
581
1053
  name: "",
582
- type: "uint256",
1054
+ type: "uint8",
583
1055
  },
584
1056
  ],
585
1057
  stateMutability: "view",
586
1058
  type: "function",
587
1059
  },
588
1060
  {
589
- inputs: [],
590
- name: "interestFeeBips",
1061
+ inputs: [
1062
+ {
1063
+ internalType: "address",
1064
+ name: "accountAddress",
1065
+ type: "address",
1066
+ },
1067
+ {
1068
+ internalType: "uint32",
1069
+ name: "expiry",
1070
+ type: "uint32",
1071
+ },
1072
+ ],
1073
+ name: "getAccountWithdrawalStatus",
591
1074
  outputs: [
592
1075
  {
593
- internalType: "uint256",
1076
+ components: [
1077
+ {
1078
+ internalType: "uint104",
1079
+ name: "scaledAmount",
1080
+ type: "uint104",
1081
+ },
1082
+ {
1083
+ internalType: "uint128",
1084
+ name: "normalizedAmountWithdrawn",
1085
+ type: "uint128",
1086
+ },
1087
+ ],
1088
+ internalType: "struct AccountWithdrawalStatus",
594
1089
  name: "",
595
- type: "uint256",
1090
+ type: "tuple",
596
1091
  },
597
1092
  ],
598
1093
  stateMutability: "view",
599
1094
  type: "function",
600
1095
  },
601
1096
  {
602
- inputs: [],
603
- name: "lastAccruedProtocolFees",
1097
+ inputs: [
1098
+ {
1099
+ internalType: "address",
1100
+ name: "accountAddress",
1101
+ type: "address",
1102
+ },
1103
+ {
1104
+ internalType: "uint32",
1105
+ name: "expiry",
1106
+ type: "uint32",
1107
+ },
1108
+ ],
1109
+ name: "getAvailableWithdrawalAmount",
604
1110
  outputs: [
605
1111
  {
606
1112
  internalType: "uint256",
@@ -613,12 +1119,48 @@ const _abi = [
613
1119
  },
614
1120
  {
615
1121
  inputs: [],
616
- name: "liquidityCoverageRatio",
1122
+ name: "getUnpaidBatchExpiries",
617
1123
  outputs: [
618
1124
  {
619
- internalType: "uint256",
1125
+ internalType: "uint32[]",
620
1126
  name: "",
621
- type: "uint256",
1127
+ type: "uint32[]",
1128
+ },
1129
+ ],
1130
+ stateMutability: "view",
1131
+ type: "function",
1132
+ },
1133
+ {
1134
+ inputs: [
1135
+ {
1136
+ internalType: "uint32",
1137
+ name: "expiry",
1138
+ type: "uint32",
1139
+ },
1140
+ ],
1141
+ name: "getWithdrawalBatch",
1142
+ outputs: [
1143
+ {
1144
+ components: [
1145
+ {
1146
+ internalType: "uint104",
1147
+ name: "scaledTotalAmount",
1148
+ type: "uint104",
1149
+ },
1150
+ {
1151
+ internalType: "uint104",
1152
+ name: "scaledAmountBurned",
1153
+ type: "uint104",
1154
+ },
1155
+ {
1156
+ internalType: "uint128",
1157
+ name: "normalizedAmountPaid",
1158
+ type: "uint128",
1159
+ },
1160
+ ],
1161
+ internalType: "struct WithdrawalBatch",
1162
+ name: "",
1163
+ type: "tuple",
622
1164
  },
623
1165
  ],
624
1166
  stateMutability: "view",
@@ -664,21 +1206,21 @@ const _abi = [
664
1206
  type: "function",
665
1207
  },
666
1208
  {
667
- inputs: [],
668
- name: "outstandingDebt",
669
- outputs: [
1209
+ inputs: [
670
1210
  {
671
- internalType: "uint256",
672
- name: "",
673
- type: "uint256",
1211
+ internalType: "address",
1212
+ name: "accountAddress",
1213
+ type: "address",
674
1214
  },
675
1215
  ],
676
- stateMutability: "view",
1216
+ name: "nukeFromOrbit",
1217
+ outputs: [],
1218
+ stateMutability: "nonpayable",
677
1219
  type: "function",
678
1220
  },
679
1221
  {
680
1222
  inputs: [],
681
- name: "penaltyFeeBips",
1223
+ name: "outstandingDebt",
682
1224
  outputs: [
683
1225
  {
684
1226
  internalType: "uint256",
@@ -695,21 +1237,51 @@ const _abi = [
695
1237
  outputs: [
696
1238
  {
697
1239
  components: [
1240
+ {
1241
+ internalType: "bool",
1242
+ name: "isClosed",
1243
+ type: "bool",
1244
+ },
698
1245
  {
699
1246
  internalType: "uint128",
700
1247
  name: "maxTotalSupply",
701
1248
  type: "uint128",
702
1249
  },
1250
+ {
1251
+ internalType: "uint128",
1252
+ name: "accruedProtocolFees",
1253
+ type: "uint128",
1254
+ },
1255
+ {
1256
+ internalType: "uint128",
1257
+ name: "normalizedUnclaimedWithdrawals",
1258
+ type: "uint128",
1259
+ },
703
1260
  {
704
1261
  internalType: "uint104",
705
1262
  name: "scaledTotalSupply",
706
1263
  type: "uint104",
707
1264
  },
1265
+ {
1266
+ internalType: "uint104",
1267
+ name: "scaledPendingWithdrawals",
1268
+ type: "uint104",
1269
+ },
1270
+ {
1271
+ internalType: "uint32",
1272
+ name: "pendingWithdrawalExpiry",
1273
+ type: "uint32",
1274
+ },
708
1275
  {
709
1276
  internalType: "bool",
710
1277
  name: "isDelinquent",
711
1278
  type: "bool",
712
1279
  },
1280
+ {
1281
+ internalType: "uint32",
1282
+ name: "timeDelinquent",
1283
+ type: "uint32",
1284
+ },
713
1285
  {
714
1286
  internalType: "uint16",
715
1287
  name: "annualInterestBips",
@@ -717,14 +1289,9 @@ const _abi = [
717
1289
  },
718
1290
  {
719
1291
  internalType: "uint16",
720
- name: "liquidityCoverageRatio",
1292
+ name: "reserveRatioBips",
721
1293
  type: "uint16",
722
1294
  },
723
- {
724
- internalType: "uint32",
725
- name: "timeDelinquent",
726
- type: "uint32",
727
- },
728
1295
  {
729
1296
  internalType: "uint112",
730
1297
  name: "scaleFactor",
@@ -736,7 +1303,7 @@ const _abi = [
736
1303
  type: "uint32",
737
1304
  },
738
1305
  ],
739
- internalType: "struct VaultState",
1306
+ internalType: "struct MarketState",
740
1307
  name: "",
741
1308
  type: "tuple",
742
1309
  },
@@ -745,13 +1312,46 @@ const _abi = [
745
1312
  type: "function",
746
1313
  },
747
1314
  {
748
- inputs: [
1315
+ inputs: [],
1316
+ name: "processUnpaidWithdrawalBatch",
1317
+ outputs: [],
1318
+ stateMutability: "nonpayable",
1319
+ type: "function",
1320
+ },
1321
+ {
1322
+ inputs: [],
1323
+ name: "protocolFeeBips",
1324
+ outputs: [
749
1325
  {
750
1326
  internalType: "uint256",
751
1327
  name: "",
752
1328
  type: "uint256",
753
1329
  },
754
1330
  ],
1331
+ stateMutability: "view",
1332
+ type: "function",
1333
+ },
1334
+ {
1335
+ inputs: [
1336
+ {
1337
+ internalType: "uint256",
1338
+ name: "amount",
1339
+ type: "uint256",
1340
+ },
1341
+ ],
1342
+ name: "queueWithdrawal",
1343
+ outputs: [],
1344
+ stateMutability: "nonpayable",
1345
+ type: "function",
1346
+ },
1347
+ {
1348
+ inputs: [
1349
+ {
1350
+ internalType: "uint256",
1351
+ name: "amount",
1352
+ type: "uint256",
1353
+ },
1354
+ ],
755
1355
  name: "repay",
756
1356
  outputs: [],
757
1357
  stateMutability: "nonpayable",
@@ -771,6 +1371,19 @@ const _abi = [
771
1371
  stateMutability: "nonpayable",
772
1372
  type: "function",
773
1373
  },
1374
+ {
1375
+ inputs: [],
1376
+ name: "reserveRatioBips",
1377
+ outputs: [
1378
+ {
1379
+ internalType: "uint256",
1380
+ name: "",
1381
+ type: "uint256",
1382
+ },
1383
+ ],
1384
+ stateMutability: "view",
1385
+ type: "function",
1386
+ },
774
1387
  {
775
1388
  inputs: [],
776
1389
  name: "scaleFactor",
@@ -788,7 +1401,7 @@ const _abi = [
788
1401
  inputs: [
789
1402
  {
790
1403
  internalType: "address",
791
- name: "",
1404
+ name: "account",
792
1405
  type: "address",
793
1406
  },
794
1407
  ],
@@ -804,13 +1417,39 @@ const _abi = [
804
1417
  type: "function",
805
1418
  },
806
1419
  {
807
- inputs: [
1420
+ inputs: [],
1421
+ name: "scaledTotalSupply",
1422
+ outputs: [
808
1423
  {
809
1424
  internalType: "uint256",
810
- name: "_annualInterestBips",
1425
+ name: "",
811
1426
  type: "uint256",
812
1427
  },
813
1428
  ],
1429
+ stateMutability: "view",
1430
+ type: "function",
1431
+ },
1432
+ {
1433
+ inputs: [],
1434
+ name: "sentinel",
1435
+ outputs: [
1436
+ {
1437
+ internalType: "address",
1438
+ name: "",
1439
+ type: "address",
1440
+ },
1441
+ ],
1442
+ stateMutability: "view",
1443
+ type: "function",
1444
+ },
1445
+ {
1446
+ inputs: [
1447
+ {
1448
+ internalType: "uint16",
1449
+ name: "_annualInterestBips",
1450
+ type: "uint16",
1451
+ },
1452
+ ],
814
1453
  name: "setAnnualInterestBips",
815
1454
  outputs: [],
816
1455
  stateMutability: "nonpayable",
@@ -820,11 +1459,11 @@ const _abi = [
820
1459
  inputs: [
821
1460
  {
822
1461
  internalType: "uint256",
823
- name: "_liquidityCoverageRatio",
1462
+ name: "_maxTotalSupply",
824
1463
  type: "uint256",
825
1464
  },
826
1465
  ],
827
- name: "setLiquidityCoverageRatio",
1466
+ name: "setMaxTotalSupply",
828
1467
  outputs: [],
829
1468
  stateMutability: "nonpayable",
830
1469
  type: "function",
@@ -832,12 +1471,25 @@ const _abi = [
832
1471
  {
833
1472
  inputs: [
834
1473
  {
835
- internalType: "uint256",
836
- name: "_maxTotalSupply",
837
- type: "uint256",
1474
+ internalType: "uint16",
1475
+ name: "_reserveRatioBips",
1476
+ type: "uint16",
838
1477
  },
839
1478
  ],
840
- name: "setMaxTotalSupply",
1479
+ name: "setReserveRatioBips",
1480
+ outputs: [],
1481
+ stateMutability: "nonpayable",
1482
+ type: "function",
1483
+ },
1484
+ {
1485
+ inputs: [
1486
+ {
1487
+ internalType: "address",
1488
+ name: "accountAddress",
1489
+ type: "address",
1490
+ },
1491
+ ],
1492
+ name: "stunningReversal",
841
1493
  outputs: [],
842
1494
  stateMutability: "nonpayable",
843
1495
  type: "function",
@@ -870,7 +1522,7 @@ const _abi = [
870
1522
  },
871
1523
  {
872
1524
  inputs: [],
873
- name: "totalDebt",
1525
+ name: "totalDebts",
874
1526
  outputs: [
875
1527
  {
876
1528
  internalType: "uint256",
@@ -949,24 +1601,70 @@ const _abi = [
949
1601
  },
950
1602
  {
951
1603
  inputs: [
952
- {
953
- internalType: "uint256",
954
- name: "amount",
955
- type: "uint256",
956
- },
957
1604
  {
958
1605
  internalType: "address",
959
- name: "to",
1606
+ name: "_account",
960
1607
  type: "address",
961
1608
  },
1609
+ {
1610
+ internalType: "bool",
1611
+ name: "_isAuthorized",
1612
+ type: "bool",
1613
+ },
962
1614
  ],
963
- name: "withdraw",
1615
+ name: "updateAccountAuthorization",
964
1616
  outputs: [],
965
1617
  stateMutability: "nonpayable",
966
1618
  type: "function",
967
1619
  },
1620
+ {
1621
+ inputs: [],
1622
+ name: "updateState",
1623
+ outputs: [],
1624
+ stateMutability: "nonpayable",
1625
+ type: "function",
1626
+ },
1627
+ {
1628
+ inputs: [],
1629
+ name: "version",
1630
+ outputs: [
1631
+ {
1632
+ internalType: "string",
1633
+ name: "",
1634
+ type: "string",
1635
+ },
1636
+ ],
1637
+ stateMutability: "view",
1638
+ type: "function",
1639
+ },
1640
+ {
1641
+ inputs: [],
1642
+ name: "withdrawableProtocolFees",
1643
+ outputs: [
1644
+ {
1645
+ internalType: "uint128",
1646
+ name: "",
1647
+ type: "uint128",
1648
+ },
1649
+ ],
1650
+ stateMutability: "view",
1651
+ type: "function",
1652
+ },
1653
+ {
1654
+ inputs: [],
1655
+ name: "withdrawalBatchDuration",
1656
+ outputs: [
1657
+ {
1658
+ internalType: "uint256",
1659
+ name: "",
1660
+ type: "uint256",
1661
+ },
1662
+ ],
1663
+ stateMutability: "view",
1664
+ type: "function",
1665
+ },
968
1666
  ];
969
- class WildcatVaultToken__factory {
1667
+ class WildcatMarket__factory {
970
1668
  static createInterface() {
971
1669
  return new ethers_1.utils.Interface(_abi);
972
1670
  }
@@ -974,6 +1672,6 @@ class WildcatVaultToken__factory {
974
1672
  return new ethers_1.Contract(address, _abi, signerOrProvider);
975
1673
  }
976
1674
  }
977
- WildcatVaultToken__factory.abi = _abi;
978
- exports.WildcatVaultToken__factory = WildcatVaultToken__factory;
979
- //# sourceMappingURL=WildcatVaultToken__factory.js.map
1675
+ WildcatMarket__factory.abi = _abi;
1676
+ exports.WildcatMarket__factory = WildcatMarket__factory;
1677
+ //# sourceMappingURL=WildcatMarket__factory.js.map