@usdu-finance/usdu-core 0.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 (107) hide show
  1. package/.claude/settings.local.json +12 -0
  2. package/.env.example +6 -0
  3. package/.prettierrc.json +7 -0
  4. package/LICENSE +674 -0
  5. package/README.md +244 -0
  6. package/contracts/curve/CurveAdapterV1.sol +310 -0
  7. package/contracts/curve/CurveAdapterV1_1.sol +198 -0
  8. package/contracts/curve/helpers/ICurveStableSwapNG.json +566 -0
  9. package/contracts/curve/helpers/ICurveStableSwapNG.sol +177 -0
  10. package/contracts/deploy/VaultDeployer.sol +110 -0
  11. package/contracts/morpho/MorphoAdapterV1.sol +255 -0
  12. package/contracts/morpho/MorphoAdapterV1_1.sol +137 -0
  13. package/contracts/morpho/MorphoAdapterV1_2.sol +126 -0
  14. package/contracts/morpho/helpers/AggregatorV3Interface.sol +24 -0
  15. package/contracts/morpho/helpers/ChainlinkDataFeedLib.sol +36 -0
  16. package/contracts/morpho/helpers/ConstantsLib.sol +20 -0
  17. package/contracts/morpho/helpers/ErrorsLib.sol +17 -0
  18. package/contracts/morpho/helpers/IERC4626.sol +6 -0
  19. package/contracts/morpho/helpers/IMetaMorphoV1_1.sol +229 -0
  20. package/contracts/morpho/helpers/IMetaMorphoV1_1Factory.sol +32 -0
  21. package/contracts/morpho/helpers/IMorpho.sol +361 -0
  22. package/contracts/morpho/helpers/IMorphoCallbacks.sol +52 -0
  23. package/contracts/morpho/helpers/IMorphoChainlinkOracleV2.sol +39 -0
  24. package/contracts/morpho/helpers/IMorphoChainlinkOracleV2Factory.sol +56 -0
  25. package/contracts/morpho/helpers/IOracle.sol +15 -0
  26. package/contracts/morpho/helpers/MarketParamsLib.sol +21 -0
  27. package/contracts/morpho/helpers/MathLib.sol +45 -0
  28. package/contracts/morpho/helpers/Morpho.sol.bak +517 -0
  29. package/contracts/morpho/helpers/MorphoChainlinkOracleV2.sol +157 -0
  30. package/contracts/morpho/helpers/PendingLib.sol +47 -0
  31. package/contracts/morpho/helpers/SharesMathLib.sol +45 -0
  32. package/contracts/morpho/helpers/VaultLib.sol +18 -0
  33. package/contracts/reward/RewardDistributionV1.sol +110 -0
  34. package/contracts/reward/RewardRouterV0.sol +63 -0
  35. package/contracts/reward/Rewards.example.json +72 -0
  36. package/contracts/stablecoin/IStablecoin.sol +211 -0
  37. package/contracts/stablecoin/IStablecoinMetadata.sol +27 -0
  38. package/contracts/stablecoin/IStablecoinModifier.sol +52 -0
  39. package/contracts/stablecoin/Stablecoin.sol +376 -0
  40. package/contracts/stablecoin/libraries/ConstantsLib.sol +13 -0
  41. package/contracts/stablecoin/libraries/ErrorsLib.sol +45 -0
  42. package/contracts/stablecoin/libraries/EventsLib.sol +74 -0
  43. package/contracts/stablecoin/libraries/PendingLib.sol +38 -0
  44. package/contracts/vault/VaultAdapterRecoverV1.sol +29 -0
  45. package/contracts/vault/VaultAdapterV1.sol +126 -0
  46. package/dist/index.d.mts +16154 -0
  47. package/dist/index.d.ts +16154 -0
  48. package/dist/index.js +21134 -0
  49. package/dist/index.mjs +21061 -0
  50. package/docs/CoreVault: Integration of new Markets.md +197 -0
  51. package/docs/CoreVault: SupplyQueue.md +11 -0
  52. package/docs/Markets USDC Vault.md +35 -0
  53. package/docs/Markets USDU Vault.md +89 -0
  54. package/docs/Markets WETH Vault.md +35 -0
  55. package/docs/Overview.drawio +117 -0
  56. package/exports/abis/curve/CurveAdapterV1.ts +599 -0
  57. package/exports/abis/curve/CurveAdapterV1_1.ts +609 -0
  58. package/exports/abis/curve/CurveAdapterV1_2.ts +721 -0
  59. package/exports/abis/curve/helper/ICurveStableSwapNG.ts +1589 -0
  60. package/exports/abis/morpho/MorphoAdapterV1.ts +516 -0
  61. package/exports/abis/morpho/MorphoAdapterV1_1.ts +489 -0
  62. package/exports/abis/morpho/MorphoAdapterV1_2.ts +459 -0
  63. package/exports/abis/morpho/helper/AggregatorV3Interface.ts +113 -0
  64. package/exports/abis/morpho/helper/IMetaMorphoV1_1.ts +1483 -0
  65. package/exports/abis/morpho/helper/IMetaMorphoV1_1Base.ts +607 -0
  66. package/exports/abis/morpho/helper/IMetaMorphoV1_1StaticTyping.ts +696 -0
  67. package/exports/abis/morpho/helper/IMorpho.ts +1024 -0
  68. package/exports/abis/morpho/helper/IMorphoBase.ts +886 -0
  69. package/exports/abis/morpho/helper/IMorphoChainlinkOracleV2.ts +132 -0
  70. package/exports/abis/morpho/helper/IMorphoChainlinkOracleV2Factory.ts +109 -0
  71. package/exports/abis/morpho/helper/IMorphoFlashLoanCallback.ts +20 -0
  72. package/exports/abis/morpho/helper/IMorphoLiquidateCallback.ts +20 -0
  73. package/exports/abis/morpho/helper/IMorphoRepayCallback.ts +20 -0
  74. package/exports/abis/morpho/helper/IMorphoStaticTyping.ts +1003 -0
  75. package/exports/abis/morpho/helper/IMorphoSupplyCallback.ts +20 -0
  76. package/exports/abis/morpho/helper/IMorphoSupplyCollateralCallback.ts +20 -0
  77. package/exports/abis/morpho/helper/IMulticall.ts +21 -0
  78. package/exports/abis/morpho/helper/IOracle.ts +15 -0
  79. package/exports/abis/morpho/helper/IOwnable.ts +55 -0
  80. package/exports/abis/morpho/helper/MorphoChainlinkOracleV2.ts +188 -0
  81. package/exports/abis/openzeppelin/ERC20.ts +310 -0
  82. package/exports/abis/openzeppelin/ERC20Permit.ts +520 -0
  83. package/exports/abis/openzeppelin/IERC20.ts +185 -0
  84. package/exports/abis/openzeppelin/IERC20Metadata.ts +224 -0
  85. package/exports/abis/openzeppelin/IERC20Permit.ts +77 -0
  86. package/exports/abis/openzeppelin/IERC4626.ts +614 -0
  87. package/exports/abis/reward/RewardDistributionV1.ts +246 -0
  88. package/exports/abis/stablecoin/ErrorsLib.ts +114 -0
  89. package/exports/abis/stablecoin/EventsLib.ts +372 -0
  90. package/exports/abis/stablecoin/IStablecoin.ts +642 -0
  91. package/exports/abis/stablecoin/IStablecoinMetadata.ts +856 -0
  92. package/exports/abis/stablecoin/IStablecoinModifier.ts +15 -0
  93. package/exports/abis/stablecoin/Stablecoin.ts +1922 -0
  94. package/exports/abis/termmax/ITermMaxVault.ts +2335 -0
  95. package/exports/abis/vault/VaultAdapterRecoverV1.ts +490 -0
  96. package/exports/abis/vault/VaultAdapterV1.ts +459 -0
  97. package/exports/address.config.ts +113 -0
  98. package/exports/address.types.ts +130 -0
  99. package/exports/index.ts +61 -0
  100. package/hardhat.config.ts +231 -0
  101. package/helper/store.args.ts +17 -0
  102. package/helper/wallet.info.ts +3 -0
  103. package/helper/wallet.ts +41 -0
  104. package/install-macos.sh +46 -0
  105. package/package.json +73 -0
  106. package/tsconfig.json +15 -0
  107. package/tsup.config.ts +10 -0
@@ -0,0 +1,520 @@
1
+ export const ERC20Permit_ABI = [
2
+ {
3
+ inputs: [],
4
+ name: 'ECDSAInvalidSignature',
5
+ type: 'error',
6
+ },
7
+ {
8
+ inputs: [
9
+ {
10
+ internalType: 'uint256',
11
+ name: 'length',
12
+ type: 'uint256',
13
+ },
14
+ ],
15
+ name: 'ECDSAInvalidSignatureLength',
16
+ type: 'error',
17
+ },
18
+ {
19
+ inputs: [
20
+ {
21
+ internalType: 'bytes32',
22
+ name: 's',
23
+ type: 'bytes32',
24
+ },
25
+ ],
26
+ name: 'ECDSAInvalidSignatureS',
27
+ type: 'error',
28
+ },
29
+ {
30
+ inputs: [
31
+ {
32
+ internalType: 'address',
33
+ name: 'spender',
34
+ type: 'address',
35
+ },
36
+ {
37
+ internalType: 'uint256',
38
+ name: 'allowance',
39
+ type: 'uint256',
40
+ },
41
+ {
42
+ internalType: 'uint256',
43
+ name: 'needed',
44
+ type: 'uint256',
45
+ },
46
+ ],
47
+ name: 'ERC20InsufficientAllowance',
48
+ type: 'error',
49
+ },
50
+ {
51
+ inputs: [
52
+ {
53
+ internalType: 'address',
54
+ name: 'sender',
55
+ type: 'address',
56
+ },
57
+ {
58
+ internalType: 'uint256',
59
+ name: 'balance',
60
+ type: 'uint256',
61
+ },
62
+ {
63
+ internalType: 'uint256',
64
+ name: 'needed',
65
+ type: 'uint256',
66
+ },
67
+ ],
68
+ name: 'ERC20InsufficientBalance',
69
+ type: 'error',
70
+ },
71
+ {
72
+ inputs: [
73
+ {
74
+ internalType: 'address',
75
+ name: 'approver',
76
+ type: 'address',
77
+ },
78
+ ],
79
+ name: 'ERC20InvalidApprover',
80
+ type: 'error',
81
+ },
82
+ {
83
+ inputs: [
84
+ {
85
+ internalType: 'address',
86
+ name: 'receiver',
87
+ type: 'address',
88
+ },
89
+ ],
90
+ name: 'ERC20InvalidReceiver',
91
+ type: 'error',
92
+ },
93
+ {
94
+ inputs: [
95
+ {
96
+ internalType: 'address',
97
+ name: 'sender',
98
+ type: 'address',
99
+ },
100
+ ],
101
+ name: 'ERC20InvalidSender',
102
+ type: 'error',
103
+ },
104
+ {
105
+ inputs: [
106
+ {
107
+ internalType: 'address',
108
+ name: 'spender',
109
+ type: 'address',
110
+ },
111
+ ],
112
+ name: 'ERC20InvalidSpender',
113
+ type: 'error',
114
+ },
115
+ {
116
+ inputs: [
117
+ {
118
+ internalType: 'uint256',
119
+ name: 'deadline',
120
+ type: 'uint256',
121
+ },
122
+ ],
123
+ name: 'ERC2612ExpiredSignature',
124
+ type: 'error',
125
+ },
126
+ {
127
+ inputs: [
128
+ {
129
+ internalType: 'address',
130
+ name: 'signer',
131
+ type: 'address',
132
+ },
133
+ {
134
+ internalType: 'address',
135
+ name: 'owner',
136
+ type: 'address',
137
+ },
138
+ ],
139
+ name: 'ERC2612InvalidSigner',
140
+ type: 'error',
141
+ },
142
+ {
143
+ inputs: [
144
+ {
145
+ internalType: 'address',
146
+ name: 'account',
147
+ type: 'address',
148
+ },
149
+ {
150
+ internalType: 'uint256',
151
+ name: 'currentNonce',
152
+ type: 'uint256',
153
+ },
154
+ ],
155
+ name: 'InvalidAccountNonce',
156
+ type: 'error',
157
+ },
158
+ {
159
+ inputs: [],
160
+ name: 'InvalidShortString',
161
+ type: 'error',
162
+ },
163
+ {
164
+ inputs: [
165
+ {
166
+ internalType: 'string',
167
+ name: 'str',
168
+ type: 'string',
169
+ },
170
+ ],
171
+ name: 'StringTooLong',
172
+ type: 'error',
173
+ },
174
+ {
175
+ anonymous: false,
176
+ inputs: [
177
+ {
178
+ indexed: true,
179
+ internalType: 'address',
180
+ name: 'owner',
181
+ type: 'address',
182
+ },
183
+ {
184
+ indexed: true,
185
+ internalType: 'address',
186
+ name: 'spender',
187
+ type: 'address',
188
+ },
189
+ {
190
+ indexed: false,
191
+ internalType: 'uint256',
192
+ name: 'value',
193
+ type: 'uint256',
194
+ },
195
+ ],
196
+ name: 'Approval',
197
+ type: 'event',
198
+ },
199
+ {
200
+ anonymous: false,
201
+ inputs: [],
202
+ name: 'EIP712DomainChanged',
203
+ type: 'event',
204
+ },
205
+ {
206
+ anonymous: false,
207
+ inputs: [
208
+ {
209
+ indexed: true,
210
+ internalType: 'address',
211
+ name: 'from',
212
+ type: 'address',
213
+ },
214
+ {
215
+ indexed: true,
216
+ internalType: 'address',
217
+ name: 'to',
218
+ type: 'address',
219
+ },
220
+ {
221
+ indexed: false,
222
+ internalType: 'uint256',
223
+ name: 'value',
224
+ type: 'uint256',
225
+ },
226
+ ],
227
+ name: 'Transfer',
228
+ type: 'event',
229
+ },
230
+ {
231
+ inputs: [],
232
+ name: 'DOMAIN_SEPARATOR',
233
+ outputs: [
234
+ {
235
+ internalType: 'bytes32',
236
+ name: '',
237
+ type: 'bytes32',
238
+ },
239
+ ],
240
+ stateMutability: 'view',
241
+ type: 'function',
242
+ },
243
+ {
244
+ inputs: [
245
+ {
246
+ internalType: 'address',
247
+ name: 'owner',
248
+ type: 'address',
249
+ },
250
+ {
251
+ internalType: 'address',
252
+ name: 'spender',
253
+ type: 'address',
254
+ },
255
+ ],
256
+ name: 'allowance',
257
+ outputs: [
258
+ {
259
+ internalType: 'uint256',
260
+ name: '',
261
+ type: 'uint256',
262
+ },
263
+ ],
264
+ stateMutability: 'view',
265
+ type: 'function',
266
+ },
267
+ {
268
+ inputs: [
269
+ {
270
+ internalType: 'address',
271
+ name: 'spender',
272
+ type: 'address',
273
+ },
274
+ {
275
+ internalType: 'uint256',
276
+ name: 'value',
277
+ type: 'uint256',
278
+ },
279
+ ],
280
+ name: 'approve',
281
+ outputs: [
282
+ {
283
+ internalType: 'bool',
284
+ name: '',
285
+ type: 'bool',
286
+ },
287
+ ],
288
+ stateMutability: 'nonpayable',
289
+ type: 'function',
290
+ },
291
+ {
292
+ inputs: [
293
+ {
294
+ internalType: 'address',
295
+ name: 'account',
296
+ type: 'address',
297
+ },
298
+ ],
299
+ name: 'balanceOf',
300
+ outputs: [
301
+ {
302
+ internalType: 'uint256',
303
+ name: '',
304
+ type: 'uint256',
305
+ },
306
+ ],
307
+ stateMutability: 'view',
308
+ type: 'function',
309
+ },
310
+ {
311
+ inputs: [],
312
+ name: 'decimals',
313
+ outputs: [
314
+ {
315
+ internalType: 'uint8',
316
+ name: '',
317
+ type: 'uint8',
318
+ },
319
+ ],
320
+ stateMutability: 'view',
321
+ type: 'function',
322
+ },
323
+ {
324
+ inputs: [],
325
+ name: 'eip712Domain',
326
+ outputs: [
327
+ {
328
+ internalType: 'bytes1',
329
+ name: 'fields',
330
+ type: 'bytes1',
331
+ },
332
+ {
333
+ internalType: 'string',
334
+ name: 'name',
335
+ type: 'string',
336
+ },
337
+ {
338
+ internalType: 'string',
339
+ name: 'version',
340
+ type: 'string',
341
+ },
342
+ {
343
+ internalType: 'uint256',
344
+ name: 'chainId',
345
+ type: 'uint256',
346
+ },
347
+ {
348
+ internalType: 'address',
349
+ name: 'verifyingContract',
350
+ type: 'address',
351
+ },
352
+ {
353
+ internalType: 'bytes32',
354
+ name: 'salt',
355
+ type: 'bytes32',
356
+ },
357
+ {
358
+ internalType: 'uint256[]',
359
+ name: 'extensions',
360
+ type: 'uint256[]',
361
+ },
362
+ ],
363
+ stateMutability: 'view',
364
+ type: 'function',
365
+ },
366
+ {
367
+ inputs: [],
368
+ name: 'name',
369
+ outputs: [
370
+ {
371
+ internalType: 'string',
372
+ name: '',
373
+ type: 'string',
374
+ },
375
+ ],
376
+ stateMutability: 'view',
377
+ type: 'function',
378
+ },
379
+ {
380
+ inputs: [
381
+ {
382
+ internalType: 'address',
383
+ name: 'owner',
384
+ type: 'address',
385
+ },
386
+ ],
387
+ name: 'nonces',
388
+ outputs: [
389
+ {
390
+ internalType: 'uint256',
391
+ name: '',
392
+ type: 'uint256',
393
+ },
394
+ ],
395
+ stateMutability: 'view',
396
+ type: 'function',
397
+ },
398
+ {
399
+ inputs: [
400
+ {
401
+ internalType: 'address',
402
+ name: 'owner',
403
+ type: 'address',
404
+ },
405
+ {
406
+ internalType: 'address',
407
+ name: 'spender',
408
+ type: 'address',
409
+ },
410
+ {
411
+ internalType: 'uint256',
412
+ name: 'value',
413
+ type: 'uint256',
414
+ },
415
+ {
416
+ internalType: 'uint256',
417
+ name: 'deadline',
418
+ type: 'uint256',
419
+ },
420
+ {
421
+ internalType: 'uint8',
422
+ name: 'v',
423
+ type: 'uint8',
424
+ },
425
+ {
426
+ internalType: 'bytes32',
427
+ name: 'r',
428
+ type: 'bytes32',
429
+ },
430
+ {
431
+ internalType: 'bytes32',
432
+ name: 's',
433
+ type: 'bytes32',
434
+ },
435
+ ],
436
+ name: 'permit',
437
+ outputs: [],
438
+ stateMutability: 'nonpayable',
439
+ type: 'function',
440
+ },
441
+ {
442
+ inputs: [],
443
+ name: 'symbol',
444
+ outputs: [
445
+ {
446
+ internalType: 'string',
447
+ name: '',
448
+ type: 'string',
449
+ },
450
+ ],
451
+ stateMutability: 'view',
452
+ type: 'function',
453
+ },
454
+ {
455
+ inputs: [],
456
+ name: 'totalSupply',
457
+ outputs: [
458
+ {
459
+ internalType: 'uint256',
460
+ name: '',
461
+ type: 'uint256',
462
+ },
463
+ ],
464
+ stateMutability: 'view',
465
+ type: 'function',
466
+ },
467
+ {
468
+ inputs: [
469
+ {
470
+ internalType: 'address',
471
+ name: 'to',
472
+ type: 'address',
473
+ },
474
+ {
475
+ internalType: 'uint256',
476
+ name: 'value',
477
+ type: 'uint256',
478
+ },
479
+ ],
480
+ name: 'transfer',
481
+ outputs: [
482
+ {
483
+ internalType: 'bool',
484
+ name: '',
485
+ type: 'bool',
486
+ },
487
+ ],
488
+ stateMutability: 'nonpayable',
489
+ type: 'function',
490
+ },
491
+ {
492
+ inputs: [
493
+ {
494
+ internalType: 'address',
495
+ name: 'from',
496
+ type: 'address',
497
+ },
498
+ {
499
+ internalType: 'address',
500
+ name: 'to',
501
+ type: 'address',
502
+ },
503
+ {
504
+ internalType: 'uint256',
505
+ name: 'value',
506
+ type: 'uint256',
507
+ },
508
+ ],
509
+ name: 'transferFrom',
510
+ outputs: [
511
+ {
512
+ internalType: 'bool',
513
+ name: '',
514
+ type: 'bool',
515
+ },
516
+ ],
517
+ stateMutability: 'nonpayable',
518
+ type: 'function',
519
+ },
520
+ ] as const;
@@ -0,0 +1,185 @@
1
+ export const IERC20_ABI = [
2
+ {
3
+ anonymous: false,
4
+ inputs: [
5
+ {
6
+ indexed: true,
7
+ internalType: 'address',
8
+ name: 'owner',
9
+ type: 'address',
10
+ },
11
+ {
12
+ indexed: true,
13
+ internalType: 'address',
14
+ name: 'spender',
15
+ type: 'address',
16
+ },
17
+ {
18
+ indexed: false,
19
+ internalType: 'uint256',
20
+ name: 'value',
21
+ type: 'uint256',
22
+ },
23
+ ],
24
+ name: 'Approval',
25
+ type: 'event',
26
+ },
27
+ {
28
+ anonymous: false,
29
+ inputs: [
30
+ {
31
+ indexed: true,
32
+ internalType: 'address',
33
+ name: 'from',
34
+ type: 'address',
35
+ },
36
+ {
37
+ indexed: true,
38
+ internalType: 'address',
39
+ name: 'to',
40
+ type: 'address',
41
+ },
42
+ {
43
+ indexed: false,
44
+ internalType: 'uint256',
45
+ name: 'value',
46
+ type: 'uint256',
47
+ },
48
+ ],
49
+ name: 'Transfer',
50
+ type: 'event',
51
+ },
52
+ {
53
+ inputs: [
54
+ {
55
+ internalType: 'address',
56
+ name: 'owner',
57
+ type: 'address',
58
+ },
59
+ {
60
+ internalType: 'address',
61
+ name: 'spender',
62
+ type: 'address',
63
+ },
64
+ ],
65
+ name: 'allowance',
66
+ outputs: [
67
+ {
68
+ internalType: 'uint256',
69
+ name: '',
70
+ type: 'uint256',
71
+ },
72
+ ],
73
+ stateMutability: 'view',
74
+ type: 'function',
75
+ },
76
+ {
77
+ inputs: [
78
+ {
79
+ internalType: 'address',
80
+ name: 'spender',
81
+ type: 'address',
82
+ },
83
+ {
84
+ internalType: 'uint256',
85
+ name: 'value',
86
+ type: 'uint256',
87
+ },
88
+ ],
89
+ name: 'approve',
90
+ outputs: [
91
+ {
92
+ internalType: 'bool',
93
+ name: '',
94
+ type: 'bool',
95
+ },
96
+ ],
97
+ stateMutability: 'nonpayable',
98
+ type: 'function',
99
+ },
100
+ {
101
+ inputs: [
102
+ {
103
+ internalType: 'address',
104
+ name: 'account',
105
+ type: 'address',
106
+ },
107
+ ],
108
+ name: 'balanceOf',
109
+ outputs: [
110
+ {
111
+ internalType: 'uint256',
112
+ name: '',
113
+ type: 'uint256',
114
+ },
115
+ ],
116
+ stateMutability: 'view',
117
+ type: 'function',
118
+ },
119
+ {
120
+ inputs: [],
121
+ name: 'totalSupply',
122
+ outputs: [
123
+ {
124
+ internalType: 'uint256',
125
+ name: '',
126
+ type: 'uint256',
127
+ },
128
+ ],
129
+ stateMutability: 'view',
130
+ type: 'function',
131
+ },
132
+ {
133
+ inputs: [
134
+ {
135
+ internalType: 'address',
136
+ name: 'to',
137
+ type: 'address',
138
+ },
139
+ {
140
+ internalType: 'uint256',
141
+ name: 'value',
142
+ type: 'uint256',
143
+ },
144
+ ],
145
+ name: 'transfer',
146
+ outputs: [
147
+ {
148
+ internalType: 'bool',
149
+ name: '',
150
+ type: 'bool',
151
+ },
152
+ ],
153
+ stateMutability: 'nonpayable',
154
+ type: 'function',
155
+ },
156
+ {
157
+ inputs: [
158
+ {
159
+ internalType: 'address',
160
+ name: 'from',
161
+ type: 'address',
162
+ },
163
+ {
164
+ internalType: 'address',
165
+ name: 'to',
166
+ type: 'address',
167
+ },
168
+ {
169
+ internalType: 'uint256',
170
+ name: 'value',
171
+ type: 'uint256',
172
+ },
173
+ ],
174
+ name: 'transferFrom',
175
+ outputs: [
176
+ {
177
+ internalType: 'bool',
178
+ name: '',
179
+ type: 'bool',
180
+ },
181
+ ],
182
+ stateMutability: 'nonpayable',
183
+ type: 'function',
184
+ },
185
+ ] as const;