@pendle/core-v2 6.9.0 → 6.10.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (110) hide show
  1. package/build/artifacts/contracts/interfaces/IPPTLooper.sol/IPPTLooper.dbg.json +1 -1
  2. package/build/artifacts/contracts/interfaces/IPPTLooper.sol/IPPTLooper.json +244 -249
  3. package/build/artifacts/contracts/interfaces/IPPTLooper.sol/IPPTLooperEIP712Types.dbg.json +1 -1
  4. package/build/artifacts/contracts/pt-looping/PTLooperBase.sol/PTLooperBase.dbg.json +1 -1
  5. package/build/artifacts/contracts/pt-looping/PTLooperBase.sol/PTLooperBase.json +244 -249
  6. package/build/artifacts/contracts/pt-looping/PTLooperEIP712TypesEncodeDataLib.sol/PTLooperEIP712TypesEncodeDataLib.dbg.json +1 -1
  7. package/build/artifacts/contracts/pt-looping/PTLooperEIP712TypesEncodeDataLib.sol/PTLooperEIP712TypesEncodeDataLib.json +2 -2
  8. package/build/artifacts/contracts/pt-looping/PendlePTLooper.sol/PendlePTLooper.dbg.json +1 -1
  9. package/build/artifacts/contracts/pt-looping/PendlePTLooper.sol/PendlePTLooper.json +246 -251
  10. package/build/artifacts/contracts/pt-looping/money-market/BaseMoneyMarket.sol/BaseMoneyMarket.dbg.json +1 -1
  11. package/build/artifacts/contracts/pt-looping/money-market/BaseMoneyMarketView.sol/BaseMoneyMarketView.dbg.json +1 -1
  12. package/build/artifacts/contracts/pt-looping/money-market/implementations/aave/AaveMoneyMarket.sol/AaveMoneyMarket.dbg.json +1 -1
  13. package/build/artifacts/contracts/pt-looping/money-market/implementations/aave/AaveMoneyMarket.sol/AaveMoneyMarket.json +2 -2
  14. package/build/artifacts/contracts/pt-looping/money-market/implementations/aave/AaveMoneyMarketView.sol/AaveMoneyMarketView.dbg.json +1 -1
  15. package/build/artifacts/contracts/pt-looping/money-market/implementations/aave/AaveMoneyMarketView.sol/AaveMoneyMarketView.json +2 -2
  16. package/build/artifacts/contracts/pt-looping/money-market/implementations/aave-v4/AaveV4MMPayloadLib.sol/AaveV4MMPayloadLib.dbg.json +4 -0
  17. package/build/artifacts/contracts/pt-looping/money-market/implementations/aave-v4/AaveV4MMPayloadLib.sol/AaveV4MMPayloadLib.json +10 -0
  18. package/build/artifacts/contracts/pt-looping/money-market/implementations/aave-v4/AaveV4MoneyMarket.sol/AaveV4MoneyMarket.dbg.json +4 -0
  19. package/build/artifacts/contracts/pt-looping/money-market/implementations/aave-v4/AaveV4MoneyMarket.sol/AaveV4MoneyMarket.json +615 -0
  20. package/build/artifacts/contracts/pt-looping/money-market/implementations/aave-v4/AaveV4MoneyMarketView.sol/AaveV4MoneyMarketView.dbg.json +4 -0
  21. package/build/artifacts/contracts/pt-looping/money-market/implementations/aave-v4/AaveV4MoneyMarketView.sol/AaveV4MoneyMarketView.json +280 -0
  22. package/build/artifacts/contracts/pt-looping/money-market/implementations/aave-v4/dependencies/IAaveOracle.sol/IAaveOracle.dbg.json +4 -0
  23. package/build/artifacts/contracts/pt-looping/money-market/implementations/aave-v4/dependencies/IAaveOracle.sol/IAaveOracle.json +30 -0
  24. package/build/artifacts/contracts/pt-looping/money-market/implementations/aave-v4/dependencies/IHubBase.sol/IHubBase.dbg.json +4 -0
  25. package/build/artifacts/contracts/pt-looping/money-market/implementations/aave-v4/dependencies/IHubBase.sol/IHubBase.json +322 -0
  26. package/build/artifacts/contracts/pt-looping/money-market/implementations/aave-v4/dependencies/ISpoke.sol/ISpoke.dbg.json +4 -0
  27. package/build/artifacts/contracts/pt-looping/money-market/implementations/aave-v4/dependencies/ISpoke.sol/ISpoke.json +398 -0
  28. package/build/artifacts/contracts/pt-looping/money-market/implementations/euler/EulerMMPayloadLib.sol/EulerMMPayloadLib.dbg.json +4 -0
  29. package/build/artifacts/contracts/pt-looping/money-market/implementations/euler/EulerMMPayloadLib.sol/EulerMMPayloadLib.json +10 -0
  30. package/build/artifacts/contracts/pt-looping/money-market/implementations/euler/EulerMoneyMarket.sol/EulerMoneyMarket.dbg.json +4 -0
  31. package/build/artifacts/contracts/pt-looping/money-market/implementations/euler/EulerMoneyMarket.sol/EulerMoneyMarket.json +651 -0
  32. package/build/artifacts/contracts/pt-looping/money-market/implementations/euler/EulerMoneyMarketView.sol/EulerMoneyMarketView.dbg.json +4 -0
  33. package/build/artifacts/contracts/pt-looping/money-market/implementations/euler/EulerMoneyMarketView.sol/EulerMoneyMarketView.json +298 -0
  34. package/build/artifacts/contracts/pt-looping/money-market/implementations/euler/dependencies/IEthereumVaultConnector.sol/IEVC.dbg.json +4 -0
  35. package/build/artifacts/contracts/pt-looping/money-market/implementations/euler/dependencies/IEthereumVaultConnector.sol/IEVC.json +959 -0
  36. package/build/artifacts/contracts/pt-looping/money-market/implementations/euler/dependencies/IEulerFactory.sol/IEulerFactory.dbg.json +4 -0
  37. package/build/artifacts/contracts/pt-looping/money-market/implementations/euler/dependencies/IEulerFactory.sol/IEulerFactory.json +30 -0
  38. package/build/artifacts/contracts/pt-looping/money-market/implementations/euler/dependencies/IEulerPriceOracle.sol/IEulerPriceOracle.dbg.json +4 -0
  39. package/build/artifacts/contracts/pt-looping/money-market/implementations/euler/dependencies/IEulerPriceOracle.sol/IEulerPriceOracle.json +53 -0
  40. package/build/artifacts/contracts/pt-looping/money-market/implementations/euler/dependencies/IEulerVault.sol/AmountCapLib.dbg.json +4 -0
  41. package/build/artifacts/contracts/pt-looping/money-market/implementations/euler/dependencies/IEulerVault.sol/AmountCapLib.json +10 -0
  42. package/build/artifacts/contracts/pt-looping/money-market/implementations/euler/dependencies/IEulerVault.sol/IEulerVault.dbg.json +4 -0
  43. package/build/artifacts/contracts/pt-looping/money-market/implementations/euler/dependencies/IEulerVault.sol/IEulerVault.json +933 -0
  44. package/build/artifacts/contracts/pt-looping/money-market/implementations/morpho/MorphoBlueMoneyMarket.sol/MorphoBlueMoneyMarket.dbg.json +1 -1
  45. package/build/artifacts/contracts/pt-looping/money-market/implementations/morpho/MorphoBlueMoneyMarket.sol/MorphoBlueMoneyMarket.json +2 -2
  46. package/build/artifacts/contracts/pt-looping/money-market/implementations/morpho/MorphoBlueMoneyMarketView.sol/MorphoBlueMoneyMarketView.dbg.json +1 -1
  47. package/build/artifacts/contracts/pt-looping/money-market/implementations/morpho/MorphoBlueMoneyMarketView.sol/MorphoBlueMoneyMarketView.json +2 -2
  48. package/build/artifacts/contracts/router/swap-aggregator/OKXScaleHelper.sol/IOKXDexRouter.dbg.json +1 -1
  49. package/build/artifacts/contracts/router/swap-aggregator/OKXScaleHelper.sol/OKXScaleHelper.dbg.json +1 -1
  50. package/build/artifacts/contracts/router/swap-aggregator/PendleSwap.sol/IKyberScalingHelper.dbg.json +1 -1
  51. package/build/artifacts/contracts/router/swap-aggregator/PendleSwap.sol/IOdosRouterV2.dbg.json +1 -1
  52. package/build/artifacts/contracts/router/swap-aggregator/PendleSwap.sol/PendleSwap.dbg.json +1 -1
  53. package/build/artifacts/contracts/router/swap-aggregator/PendleSwap.sol/PendleSwap.json +2 -2
  54. package/contracts/interfaces/IPPTLooper.sol +2 -4
  55. package/contracts/pt-looping/PTLooperEIP712TypesEncodeDataLib.sol +6 -6
  56. package/contracts/pt-looping/PendlePTLooper.sol +4 -2
  57. package/contracts/pt-looping/money-market/implementations/aave-v4/AaveV4MMPayloadLib.sol +20 -0
  58. package/contracts/pt-looping/money-market/implementations/aave-v4/AaveV4MoneyMarket.sol +85 -0
  59. package/contracts/pt-looping/money-market/implementations/aave-v4/AaveV4MoneyMarketView.sol +180 -0
  60. package/contracts/pt-looping/money-market/implementations/aave-v4/dependencies/IAaveOracle.sol +12 -0
  61. package/contracts/pt-looping/money-market/implementations/aave-v4/dependencies/IHubBase.sol +72 -0
  62. package/contracts/pt-looping/money-market/implementations/aave-v4/dependencies/ISpoke.sol +88 -0
  63. package/contracts/pt-looping/money-market/implementations/euler/EulerMMPayloadLib.sol +25 -0
  64. package/contracts/pt-looping/money-market/implementations/euler/EulerMoneyMarket.sol +104 -0
  65. package/contracts/pt-looping/money-market/implementations/euler/EulerMoneyMarketView.sol +105 -0
  66. package/contracts/pt-looping/money-market/implementations/euler/dependencies/IEthereumVaultConnector.sol +432 -0
  67. package/contracts/pt-looping/money-market/implementations/euler/dependencies/IEulerFactory.sol +10 -0
  68. package/contracts/pt-looping/money-market/implementations/euler/dependencies/IEulerPriceOracle.sol +26 -0
  69. package/contracts/pt-looping/money-market/implementations/euler/dependencies/IEulerVault.sol +149 -0
  70. package/contracts/router/swap-aggregator/OKXScaleHelper.sol +3 -0
  71. package/deployments/143-core.json +4 -1
  72. package/deployments/42161-core.json +4 -1
  73. package/deployments/4663-core.json +48 -0
  74. package/deployments/4663-offchain-helper.json +12 -0
  75. package/package.json +1 -1
  76. package/typechain-types/AaveV4MoneyMarket.ts +573 -0
  77. package/typechain-types/AaveV4MoneyMarketView.ts +362 -0
  78. package/typechain-types/EulerMoneyMarket.ts +599 -0
  79. package/typechain-types/EulerMoneyMarketView.ts +375 -0
  80. package/typechain-types/IAaveOracle.ts +17 -149
  81. package/typechain-types/IEVC.ts +1647 -0
  82. package/typechain-types/IEulerFactory.ts +94 -0
  83. package/typechain-types/IEulerPriceOracle.ts +123 -0
  84. package/typechain-types/IEulerVault.ts +1298 -0
  85. package/typechain-types/IHubBase.ts +452 -0
  86. package/typechain-types/IPPTLooper.ts +68 -68
  87. package/typechain-types/ISpoke.ts +577 -0
  88. package/typechain-types/PTLooperBase.ts +68 -68
  89. package/typechain-types/PendlePTLooper.ts +68 -68
  90. package/typechain-types/factories/AaveMoneyMarketView__factory.ts +1 -1
  91. package/typechain-types/factories/AaveMoneyMarket__factory.ts +1 -1
  92. package/typechain-types/factories/AaveV4MoneyMarketView__factory.ts +349 -0
  93. package/typechain-types/factories/AaveV4MoneyMarket__factory.ts +673 -0
  94. package/typechain-types/factories/EulerMoneyMarketView__factory.ts +371 -0
  95. package/typechain-types/factories/EulerMoneyMarket__factory.ts +720 -0
  96. package/typechain-types/factories/IAaveOracle__factory.ts +3 -93
  97. package/typechain-types/factories/IEVC__factory.ts +968 -0
  98. package/typechain-types/factories/IEulerFactory__factory.ts +42 -0
  99. package/typechain-types/factories/IEulerPriceOracle__factory.ts +68 -0
  100. package/typechain-types/factories/IEulerVault__factory.ts +945 -0
  101. package/typechain-types/factories/IHubBase__factory.ts +334 -0
  102. package/typechain-types/factories/IPPTLooper__factory.ts +243 -248
  103. package/typechain-types/factories/ISpoke__factory.ts +407 -0
  104. package/typechain-types/factories/MorphoBlueMoneyMarketView__factory.ts +1 -1
  105. package/typechain-types/factories/MorphoBlueMoneyMarket__factory.ts +1 -1
  106. package/typechain-types/factories/PTLooperBase__factory.ts +243 -248
  107. package/typechain-types/factories/PendlePTLooper__factory.ts +244 -249
  108. package/typechain-types/factories/PendleSwap__factory.ts +1 -1
  109. package/typechain-types/hardhat.d.ts +99 -0
  110. package/typechain-types/index.ts +22 -2
@@ -0,0 +1,968 @@
1
+ /* Autogenerated file. Do not edit manually. */
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+
5
+ import { Contract, Signer, utils } from "ethers";
6
+ import { Provider } from "@ethersproject/providers";
7
+ import type { IEVC, IEVCInterface } from "../IEVC";
8
+
9
+ const _abi = [
10
+ {
11
+ inputs: [],
12
+ name: "areChecksDeferred",
13
+ outputs: [
14
+ {
15
+ internalType: "bool",
16
+ name: "",
17
+ type: "bool",
18
+ },
19
+ ],
20
+ stateMutability: "view",
21
+ type: "function",
22
+ },
23
+ {
24
+ inputs: [],
25
+ name: "areChecksInProgress",
26
+ outputs: [
27
+ {
28
+ internalType: "bool",
29
+ name: "",
30
+ type: "bool",
31
+ },
32
+ ],
33
+ stateMutability: "view",
34
+ type: "function",
35
+ },
36
+ {
37
+ inputs: [
38
+ {
39
+ components: [
40
+ {
41
+ internalType: "address",
42
+ name: "targetContract",
43
+ type: "address",
44
+ },
45
+ {
46
+ internalType: "address",
47
+ name: "onBehalfOfAccount",
48
+ type: "address",
49
+ },
50
+ {
51
+ internalType: "uint256",
52
+ name: "value",
53
+ type: "uint256",
54
+ },
55
+ {
56
+ internalType: "bytes",
57
+ name: "data",
58
+ type: "bytes",
59
+ },
60
+ ],
61
+ internalType: "struct IEVC.BatchItem[]",
62
+ name: "items",
63
+ type: "tuple[]",
64
+ },
65
+ ],
66
+ name: "batch",
67
+ outputs: [],
68
+ stateMutability: "payable",
69
+ type: "function",
70
+ },
71
+ {
72
+ inputs: [
73
+ {
74
+ components: [
75
+ {
76
+ internalType: "address",
77
+ name: "targetContract",
78
+ type: "address",
79
+ },
80
+ {
81
+ internalType: "address",
82
+ name: "onBehalfOfAccount",
83
+ type: "address",
84
+ },
85
+ {
86
+ internalType: "uint256",
87
+ name: "value",
88
+ type: "uint256",
89
+ },
90
+ {
91
+ internalType: "bytes",
92
+ name: "data",
93
+ type: "bytes",
94
+ },
95
+ ],
96
+ internalType: "struct IEVC.BatchItem[]",
97
+ name: "items",
98
+ type: "tuple[]",
99
+ },
100
+ ],
101
+ name: "batchRevert",
102
+ outputs: [],
103
+ stateMutability: "payable",
104
+ type: "function",
105
+ },
106
+ {
107
+ inputs: [
108
+ {
109
+ components: [
110
+ {
111
+ internalType: "address",
112
+ name: "targetContract",
113
+ type: "address",
114
+ },
115
+ {
116
+ internalType: "address",
117
+ name: "onBehalfOfAccount",
118
+ type: "address",
119
+ },
120
+ {
121
+ internalType: "uint256",
122
+ name: "value",
123
+ type: "uint256",
124
+ },
125
+ {
126
+ internalType: "bytes",
127
+ name: "data",
128
+ type: "bytes",
129
+ },
130
+ ],
131
+ internalType: "struct IEVC.BatchItem[]",
132
+ name: "items",
133
+ type: "tuple[]",
134
+ },
135
+ ],
136
+ name: "batchSimulation",
137
+ outputs: [
138
+ {
139
+ components: [
140
+ {
141
+ internalType: "bool",
142
+ name: "success",
143
+ type: "bool",
144
+ },
145
+ {
146
+ internalType: "bytes",
147
+ name: "result",
148
+ type: "bytes",
149
+ },
150
+ ],
151
+ internalType: "struct IEVC.BatchItemResult[]",
152
+ name: "batchItemsResult",
153
+ type: "tuple[]",
154
+ },
155
+ {
156
+ components: [
157
+ {
158
+ internalType: "address",
159
+ name: "checkedAddress",
160
+ type: "address",
161
+ },
162
+ {
163
+ internalType: "bool",
164
+ name: "isValid",
165
+ type: "bool",
166
+ },
167
+ {
168
+ internalType: "bytes",
169
+ name: "result",
170
+ type: "bytes",
171
+ },
172
+ ],
173
+ internalType: "struct IEVC.StatusCheckResult[]",
174
+ name: "accountsStatusCheckResult",
175
+ type: "tuple[]",
176
+ },
177
+ {
178
+ components: [
179
+ {
180
+ internalType: "address",
181
+ name: "checkedAddress",
182
+ type: "address",
183
+ },
184
+ {
185
+ internalType: "bool",
186
+ name: "isValid",
187
+ type: "bool",
188
+ },
189
+ {
190
+ internalType: "bytes",
191
+ name: "result",
192
+ type: "bytes",
193
+ },
194
+ ],
195
+ internalType: "struct IEVC.StatusCheckResult[]",
196
+ name: "vaultsStatusCheckResult",
197
+ type: "tuple[]",
198
+ },
199
+ ],
200
+ stateMutability: "payable",
201
+ type: "function",
202
+ },
203
+ {
204
+ inputs: [
205
+ {
206
+ internalType: "address",
207
+ name: "targetContract",
208
+ type: "address",
209
+ },
210
+ {
211
+ internalType: "address",
212
+ name: "onBehalfOfAccount",
213
+ type: "address",
214
+ },
215
+ {
216
+ internalType: "uint256",
217
+ name: "value",
218
+ type: "uint256",
219
+ },
220
+ {
221
+ internalType: "bytes",
222
+ name: "data",
223
+ type: "bytes",
224
+ },
225
+ ],
226
+ name: "call",
227
+ outputs: [
228
+ {
229
+ internalType: "bytes",
230
+ name: "result",
231
+ type: "bytes",
232
+ },
233
+ ],
234
+ stateMutability: "payable",
235
+ type: "function",
236
+ },
237
+ {
238
+ inputs: [
239
+ {
240
+ internalType: "address",
241
+ name: "targetCollateral",
242
+ type: "address",
243
+ },
244
+ {
245
+ internalType: "address",
246
+ name: "onBehalfOfAccount",
247
+ type: "address",
248
+ },
249
+ {
250
+ internalType: "uint256",
251
+ name: "value",
252
+ type: "uint256",
253
+ },
254
+ {
255
+ internalType: "bytes",
256
+ name: "data",
257
+ type: "bytes",
258
+ },
259
+ ],
260
+ name: "controlCollateral",
261
+ outputs: [
262
+ {
263
+ internalType: "bytes",
264
+ name: "result",
265
+ type: "bytes",
266
+ },
267
+ ],
268
+ stateMutability: "payable",
269
+ type: "function",
270
+ },
271
+ {
272
+ inputs: [
273
+ {
274
+ internalType: "address",
275
+ name: "account",
276
+ type: "address",
277
+ },
278
+ {
279
+ internalType: "address",
280
+ name: "vault",
281
+ type: "address",
282
+ },
283
+ ],
284
+ name: "disableCollateral",
285
+ outputs: [],
286
+ stateMutability: "payable",
287
+ type: "function",
288
+ },
289
+ {
290
+ inputs: [
291
+ {
292
+ internalType: "address",
293
+ name: "account",
294
+ type: "address",
295
+ },
296
+ ],
297
+ name: "disableController",
298
+ outputs: [],
299
+ stateMutability: "payable",
300
+ type: "function",
301
+ },
302
+ {
303
+ inputs: [
304
+ {
305
+ internalType: "address",
306
+ name: "account",
307
+ type: "address",
308
+ },
309
+ {
310
+ internalType: "address",
311
+ name: "vault",
312
+ type: "address",
313
+ },
314
+ ],
315
+ name: "enableCollateral",
316
+ outputs: [],
317
+ stateMutability: "payable",
318
+ type: "function",
319
+ },
320
+ {
321
+ inputs: [
322
+ {
323
+ internalType: "address",
324
+ name: "account",
325
+ type: "address",
326
+ },
327
+ {
328
+ internalType: "address",
329
+ name: "vault",
330
+ type: "address",
331
+ },
332
+ ],
333
+ name: "enableController",
334
+ outputs: [],
335
+ stateMutability: "payable",
336
+ type: "function",
337
+ },
338
+ {
339
+ inputs: [
340
+ {
341
+ internalType: "address",
342
+ name: "account",
343
+ type: "address",
344
+ },
345
+ ],
346
+ name: "forgiveAccountStatusCheck",
347
+ outputs: [],
348
+ stateMutability: "payable",
349
+ type: "function",
350
+ },
351
+ {
352
+ inputs: [],
353
+ name: "forgiveVaultStatusCheck",
354
+ outputs: [],
355
+ stateMutability: "payable",
356
+ type: "function",
357
+ },
358
+ {
359
+ inputs: [
360
+ {
361
+ internalType: "address",
362
+ name: "account",
363
+ type: "address",
364
+ },
365
+ ],
366
+ name: "getAccountOwner",
367
+ outputs: [
368
+ {
369
+ internalType: "address",
370
+ name: "",
371
+ type: "address",
372
+ },
373
+ ],
374
+ stateMutability: "view",
375
+ type: "function",
376
+ },
377
+ {
378
+ inputs: [
379
+ {
380
+ internalType: "address",
381
+ name: "account",
382
+ type: "address",
383
+ },
384
+ ],
385
+ name: "getAddressPrefix",
386
+ outputs: [
387
+ {
388
+ internalType: "bytes19",
389
+ name: "",
390
+ type: "bytes19",
391
+ },
392
+ ],
393
+ stateMutability: "pure",
394
+ type: "function",
395
+ },
396
+ {
397
+ inputs: [
398
+ {
399
+ internalType: "address",
400
+ name: "account",
401
+ type: "address",
402
+ },
403
+ ],
404
+ name: "getCollaterals",
405
+ outputs: [
406
+ {
407
+ internalType: "address[]",
408
+ name: "",
409
+ type: "address[]",
410
+ },
411
+ ],
412
+ stateMutability: "view",
413
+ type: "function",
414
+ },
415
+ {
416
+ inputs: [
417
+ {
418
+ internalType: "address",
419
+ name: "account",
420
+ type: "address",
421
+ },
422
+ ],
423
+ name: "getControllers",
424
+ outputs: [
425
+ {
426
+ internalType: "address[]",
427
+ name: "",
428
+ type: "address[]",
429
+ },
430
+ ],
431
+ stateMutability: "view",
432
+ type: "function",
433
+ },
434
+ {
435
+ inputs: [
436
+ {
437
+ internalType: "address",
438
+ name: "controllerToCheck",
439
+ type: "address",
440
+ },
441
+ ],
442
+ name: "getCurrentOnBehalfOfAccount",
443
+ outputs: [
444
+ {
445
+ internalType: "address",
446
+ name: "onBehalfOfAccount",
447
+ type: "address",
448
+ },
449
+ {
450
+ internalType: "bool",
451
+ name: "controllerEnabled",
452
+ type: "bool",
453
+ },
454
+ ],
455
+ stateMutability: "view",
456
+ type: "function",
457
+ },
458
+ {
459
+ inputs: [
460
+ {
461
+ internalType: "address",
462
+ name: "account",
463
+ type: "address",
464
+ },
465
+ ],
466
+ name: "getLastAccountStatusCheckTimestamp",
467
+ outputs: [
468
+ {
469
+ internalType: "uint256",
470
+ name: "",
471
+ type: "uint256",
472
+ },
473
+ ],
474
+ stateMutability: "view",
475
+ type: "function",
476
+ },
477
+ {
478
+ inputs: [
479
+ {
480
+ internalType: "bytes19",
481
+ name: "addressPrefix",
482
+ type: "bytes19",
483
+ },
484
+ {
485
+ internalType: "uint256",
486
+ name: "nonceNamespace",
487
+ type: "uint256",
488
+ },
489
+ ],
490
+ name: "getNonce",
491
+ outputs: [
492
+ {
493
+ internalType: "uint256",
494
+ name: "nonce",
495
+ type: "uint256",
496
+ },
497
+ ],
498
+ stateMutability: "view",
499
+ type: "function",
500
+ },
501
+ {
502
+ inputs: [
503
+ {
504
+ internalType: "bytes19",
505
+ name: "addressPrefix",
506
+ type: "bytes19",
507
+ },
508
+ {
509
+ internalType: "address",
510
+ name: "operator",
511
+ type: "address",
512
+ },
513
+ ],
514
+ name: "getOperator",
515
+ outputs: [
516
+ {
517
+ internalType: "uint256",
518
+ name: "operatorBitField",
519
+ type: "uint256",
520
+ },
521
+ ],
522
+ stateMutability: "view",
523
+ type: "function",
524
+ },
525
+ {
526
+ inputs: [],
527
+ name: "getRawExecutionContext",
528
+ outputs: [
529
+ {
530
+ internalType: "uint256",
531
+ name: "context",
532
+ type: "uint256",
533
+ },
534
+ ],
535
+ stateMutability: "view",
536
+ type: "function",
537
+ },
538
+ {
539
+ inputs: [
540
+ {
541
+ internalType: "address",
542
+ name: "account",
543
+ type: "address",
544
+ },
545
+ {
546
+ internalType: "address",
547
+ name: "otherAccount",
548
+ type: "address",
549
+ },
550
+ ],
551
+ name: "haveCommonOwner",
552
+ outputs: [
553
+ {
554
+ internalType: "bool",
555
+ name: "",
556
+ type: "bool",
557
+ },
558
+ ],
559
+ stateMutability: "pure",
560
+ type: "function",
561
+ },
562
+ {
563
+ inputs: [
564
+ {
565
+ internalType: "address",
566
+ name: "account",
567
+ type: "address",
568
+ },
569
+ {
570
+ internalType: "address",
571
+ name: "operator",
572
+ type: "address",
573
+ },
574
+ ],
575
+ name: "isAccountOperatorAuthorized",
576
+ outputs: [
577
+ {
578
+ internalType: "bool",
579
+ name: "authorized",
580
+ type: "bool",
581
+ },
582
+ ],
583
+ stateMutability: "view",
584
+ type: "function",
585
+ },
586
+ {
587
+ inputs: [
588
+ {
589
+ internalType: "address",
590
+ name: "account",
591
+ type: "address",
592
+ },
593
+ ],
594
+ name: "isAccountStatusCheckDeferred",
595
+ outputs: [
596
+ {
597
+ internalType: "bool",
598
+ name: "",
599
+ type: "bool",
600
+ },
601
+ ],
602
+ stateMutability: "view",
603
+ type: "function",
604
+ },
605
+ {
606
+ inputs: [
607
+ {
608
+ internalType: "address",
609
+ name: "account",
610
+ type: "address",
611
+ },
612
+ {
613
+ internalType: "address",
614
+ name: "vault",
615
+ type: "address",
616
+ },
617
+ ],
618
+ name: "isCollateralEnabled",
619
+ outputs: [
620
+ {
621
+ internalType: "bool",
622
+ name: "",
623
+ type: "bool",
624
+ },
625
+ ],
626
+ stateMutability: "view",
627
+ type: "function",
628
+ },
629
+ {
630
+ inputs: [],
631
+ name: "isControlCollateralInProgress",
632
+ outputs: [
633
+ {
634
+ internalType: "bool",
635
+ name: "",
636
+ type: "bool",
637
+ },
638
+ ],
639
+ stateMutability: "view",
640
+ type: "function",
641
+ },
642
+ {
643
+ inputs: [
644
+ {
645
+ internalType: "address",
646
+ name: "account",
647
+ type: "address",
648
+ },
649
+ {
650
+ internalType: "address",
651
+ name: "vault",
652
+ type: "address",
653
+ },
654
+ ],
655
+ name: "isControllerEnabled",
656
+ outputs: [
657
+ {
658
+ internalType: "bool",
659
+ name: "",
660
+ type: "bool",
661
+ },
662
+ ],
663
+ stateMutability: "view",
664
+ type: "function",
665
+ },
666
+ {
667
+ inputs: [
668
+ {
669
+ internalType: "bytes19",
670
+ name: "addressPrefix",
671
+ type: "bytes19",
672
+ },
673
+ ],
674
+ name: "isLockdownMode",
675
+ outputs: [
676
+ {
677
+ internalType: "bool",
678
+ name: "",
679
+ type: "bool",
680
+ },
681
+ ],
682
+ stateMutability: "view",
683
+ type: "function",
684
+ },
685
+ {
686
+ inputs: [],
687
+ name: "isOperatorAuthenticated",
688
+ outputs: [
689
+ {
690
+ internalType: "bool",
691
+ name: "",
692
+ type: "bool",
693
+ },
694
+ ],
695
+ stateMutability: "view",
696
+ type: "function",
697
+ },
698
+ {
699
+ inputs: [
700
+ {
701
+ internalType: "bytes19",
702
+ name: "addressPrefix",
703
+ type: "bytes19",
704
+ },
705
+ ],
706
+ name: "isPermitDisabledMode",
707
+ outputs: [
708
+ {
709
+ internalType: "bool",
710
+ name: "",
711
+ type: "bool",
712
+ },
713
+ ],
714
+ stateMutability: "view",
715
+ type: "function",
716
+ },
717
+ {
718
+ inputs: [],
719
+ name: "isSimulationInProgress",
720
+ outputs: [
721
+ {
722
+ internalType: "bool",
723
+ name: "",
724
+ type: "bool",
725
+ },
726
+ ],
727
+ stateMutability: "view",
728
+ type: "function",
729
+ },
730
+ {
731
+ inputs: [
732
+ {
733
+ internalType: "address",
734
+ name: "vault",
735
+ type: "address",
736
+ },
737
+ ],
738
+ name: "isVaultStatusCheckDeferred",
739
+ outputs: [
740
+ {
741
+ internalType: "bool",
742
+ name: "",
743
+ type: "bool",
744
+ },
745
+ ],
746
+ stateMutability: "view",
747
+ type: "function",
748
+ },
749
+ {
750
+ inputs: [
751
+ {
752
+ internalType: "address",
753
+ name: "signer",
754
+ type: "address",
755
+ },
756
+ {
757
+ internalType: "address",
758
+ name: "sender",
759
+ type: "address",
760
+ },
761
+ {
762
+ internalType: "uint256",
763
+ name: "nonceNamespace",
764
+ type: "uint256",
765
+ },
766
+ {
767
+ internalType: "uint256",
768
+ name: "nonce",
769
+ type: "uint256",
770
+ },
771
+ {
772
+ internalType: "uint256",
773
+ name: "deadline",
774
+ type: "uint256",
775
+ },
776
+ {
777
+ internalType: "uint256",
778
+ name: "value",
779
+ type: "uint256",
780
+ },
781
+ {
782
+ internalType: "bytes",
783
+ name: "data",
784
+ type: "bytes",
785
+ },
786
+ {
787
+ internalType: "bytes",
788
+ name: "signature",
789
+ type: "bytes",
790
+ },
791
+ ],
792
+ name: "permit",
793
+ outputs: [],
794
+ stateMutability: "payable",
795
+ type: "function",
796
+ },
797
+ {
798
+ inputs: [
799
+ {
800
+ internalType: "address",
801
+ name: "account",
802
+ type: "address",
803
+ },
804
+ {
805
+ internalType: "uint8",
806
+ name: "index1",
807
+ type: "uint8",
808
+ },
809
+ {
810
+ internalType: "uint8",
811
+ name: "index2",
812
+ type: "uint8",
813
+ },
814
+ ],
815
+ name: "reorderCollaterals",
816
+ outputs: [],
817
+ stateMutability: "payable",
818
+ type: "function",
819
+ },
820
+ {
821
+ inputs: [
822
+ {
823
+ internalType: "address",
824
+ name: "account",
825
+ type: "address",
826
+ },
827
+ ],
828
+ name: "requireAccountAndVaultStatusCheck",
829
+ outputs: [],
830
+ stateMutability: "payable",
831
+ type: "function",
832
+ },
833
+ {
834
+ inputs: [
835
+ {
836
+ internalType: "address",
837
+ name: "account",
838
+ type: "address",
839
+ },
840
+ ],
841
+ name: "requireAccountStatusCheck",
842
+ outputs: [],
843
+ stateMutability: "payable",
844
+ type: "function",
845
+ },
846
+ {
847
+ inputs: [],
848
+ name: "requireVaultStatusCheck",
849
+ outputs: [],
850
+ stateMutability: "payable",
851
+ type: "function",
852
+ },
853
+ {
854
+ inputs: [
855
+ {
856
+ internalType: "address",
857
+ name: "account",
858
+ type: "address",
859
+ },
860
+ {
861
+ internalType: "address",
862
+ name: "operator",
863
+ type: "address",
864
+ },
865
+ {
866
+ internalType: "bool",
867
+ name: "authorized",
868
+ type: "bool",
869
+ },
870
+ ],
871
+ name: "setAccountOperator",
872
+ outputs: [],
873
+ stateMutability: "payable",
874
+ type: "function",
875
+ },
876
+ {
877
+ inputs: [
878
+ {
879
+ internalType: "bytes19",
880
+ name: "addressPrefix",
881
+ type: "bytes19",
882
+ },
883
+ {
884
+ internalType: "bool",
885
+ name: "enabled",
886
+ type: "bool",
887
+ },
888
+ ],
889
+ name: "setLockdownMode",
890
+ outputs: [],
891
+ stateMutability: "payable",
892
+ type: "function",
893
+ },
894
+ {
895
+ inputs: [
896
+ {
897
+ internalType: "bytes19",
898
+ name: "addressPrefix",
899
+ type: "bytes19",
900
+ },
901
+ {
902
+ internalType: "uint256",
903
+ name: "nonceNamespace",
904
+ type: "uint256",
905
+ },
906
+ {
907
+ internalType: "uint256",
908
+ name: "nonce",
909
+ type: "uint256",
910
+ },
911
+ ],
912
+ name: "setNonce",
913
+ outputs: [],
914
+ stateMutability: "payable",
915
+ type: "function",
916
+ },
917
+ {
918
+ inputs: [
919
+ {
920
+ internalType: "bytes19",
921
+ name: "addressPrefix",
922
+ type: "bytes19",
923
+ },
924
+ {
925
+ internalType: "address",
926
+ name: "operator",
927
+ type: "address",
928
+ },
929
+ {
930
+ internalType: "uint256",
931
+ name: "operatorBitField",
932
+ type: "uint256",
933
+ },
934
+ ],
935
+ name: "setOperator",
936
+ outputs: [],
937
+ stateMutability: "payable",
938
+ type: "function",
939
+ },
940
+ {
941
+ inputs: [
942
+ {
943
+ internalType: "bytes19",
944
+ name: "addressPrefix",
945
+ type: "bytes19",
946
+ },
947
+ {
948
+ internalType: "bool",
949
+ name: "enabled",
950
+ type: "bool",
951
+ },
952
+ ],
953
+ name: "setPermitDisabledMode",
954
+ outputs: [],
955
+ stateMutability: "payable",
956
+ type: "function",
957
+ },
958
+ ];
959
+
960
+ export class IEVC__factory {
961
+ static readonly abi = _abi;
962
+ static createInterface(): IEVCInterface {
963
+ return new utils.Interface(_abi) as IEVCInterface;
964
+ }
965
+ static connect(address: string, signerOrProvider: Signer | Provider): IEVC {
966
+ return new Contract(address, _abi, signerOrProvider) as IEVC;
967
+ }
968
+ }