@morpho-dev/router 0.7.1 → 0.7.2
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.
- package/dist/cli.js +151 -21
- package/dist/evm/bytecode/erc20.txt +1 -1
- package/dist/evm/bytecode/morpho.txt +1 -1
- package/dist/evm/bytecode/multicall3.txt +1 -1
- package/dist/evm/bytecode/oracle.txt +1 -1
- package/dist/evm/bytecode/vault.txt +1 -1
- package/dist/index.browser.d.mts +1009 -3
- package/dist/index.browser.d.mts.map +1 -1
- package/dist/index.browser.d.ts +1009 -3
- package/dist/index.browser.d.ts.map +1 -1
- package/dist/index.browser.js +73 -5
- package/dist/index.browser.js.map +1 -1
- package/dist/index.browser.mjs +73 -5
- package/dist/index.browser.mjs.map +1 -1
- package/dist/index.node.d.mts +1014 -7
- package/dist/index.node.d.mts.map +1 -1
- package/dist/index.node.d.ts +1014 -7
- package/dist/index.node.d.ts.map +1 -1
- package/dist/index.node.js +150 -19
- package/dist/index.node.js.map +1 -1
- package/dist/index.node.mjs +150 -19
- package/dist/index.node.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.browser.d.mts
CHANGED
|
@@ -34,9 +34,9 @@ declare const CollectorHealth: z.ZodObject<{
|
|
|
34
34
|
updated_at: z.ZodNullable<z.ZodString>;
|
|
35
35
|
lag: z.ZodNullable<z.ZodNumber>;
|
|
36
36
|
status: z.ZodEnum<{
|
|
37
|
+
unknown: "unknown";
|
|
37
38
|
live: "live";
|
|
38
39
|
lagging: "lagging";
|
|
39
|
-
unknown: "unknown";
|
|
40
40
|
}>;
|
|
41
41
|
initialized: z.ZodBoolean;
|
|
42
42
|
}, z.core.$strip>;
|
|
@@ -47,9 +47,9 @@ declare const CollectorsHealthResponse: z.ZodArray<z.ZodObject<{
|
|
|
47
47
|
updated_at: z.ZodNullable<z.ZodString>;
|
|
48
48
|
lag: z.ZodNullable<z.ZodNumber>;
|
|
49
49
|
status: z.ZodEnum<{
|
|
50
|
+
unknown: "unknown";
|
|
50
51
|
live: "live";
|
|
51
52
|
lagging: "lagging";
|
|
52
|
-
unknown: "unknown";
|
|
53
53
|
}>;
|
|
54
54
|
initialized: z.ZodBoolean;
|
|
55
55
|
}, z.core.$strip>>;
|
|
@@ -220,8 +220,1014 @@ declare const MetaMorphoFactory: readonly [{
|
|
|
220
220
|
}];
|
|
221
221
|
}];
|
|
222
222
|
type MetaMorphoFactory = typeof MetaMorphoFactory;
|
|
223
|
+
//#endregion
|
|
224
|
+
//#region src/core/Abi/MorphoV2.d.ts
|
|
225
|
+
declare const MorphoV2: readonly [{
|
|
226
|
+
readonly type: "constructor";
|
|
227
|
+
readonly stateMutability: "nonpayable";
|
|
228
|
+
readonly inputs: readonly [];
|
|
229
|
+
}, {
|
|
230
|
+
readonly name: "collateralOf";
|
|
231
|
+
readonly type: "function";
|
|
232
|
+
readonly stateMutability: "view";
|
|
233
|
+
readonly inputs: readonly [{
|
|
234
|
+
readonly type: "bytes32";
|
|
235
|
+
readonly name: "id";
|
|
236
|
+
}, {
|
|
237
|
+
readonly type: "address";
|
|
238
|
+
readonly name: "user";
|
|
239
|
+
}, {
|
|
240
|
+
readonly type: "address";
|
|
241
|
+
readonly name: "collateralToken";
|
|
242
|
+
}];
|
|
243
|
+
readonly outputs: readonly [{
|
|
244
|
+
readonly type: "uint256";
|
|
245
|
+
}];
|
|
246
|
+
}, {
|
|
247
|
+
readonly name: "consume";
|
|
248
|
+
readonly type: "function";
|
|
249
|
+
readonly stateMutability: "nonpayable";
|
|
250
|
+
readonly inputs: readonly [{
|
|
251
|
+
readonly type: "bytes32";
|
|
252
|
+
readonly name: "group";
|
|
253
|
+
}, {
|
|
254
|
+
readonly type: "uint256";
|
|
255
|
+
readonly name: "amount";
|
|
256
|
+
}];
|
|
257
|
+
readonly outputs: readonly [];
|
|
258
|
+
}, {
|
|
259
|
+
readonly name: "consumed";
|
|
260
|
+
readonly type: "function";
|
|
261
|
+
readonly stateMutability: "view";
|
|
262
|
+
readonly inputs: readonly [{
|
|
263
|
+
readonly type: "address";
|
|
264
|
+
readonly name: "user";
|
|
265
|
+
}, {
|
|
266
|
+
readonly type: "bytes32";
|
|
267
|
+
readonly name: "group";
|
|
268
|
+
}];
|
|
269
|
+
readonly outputs: readonly [{
|
|
270
|
+
readonly type: "uint256";
|
|
271
|
+
}];
|
|
272
|
+
}, {
|
|
273
|
+
readonly name: "debtOf";
|
|
274
|
+
readonly type: "function";
|
|
275
|
+
readonly stateMutability: "view";
|
|
276
|
+
readonly inputs: readonly [{
|
|
277
|
+
readonly type: "bytes32";
|
|
278
|
+
readonly name: "id";
|
|
279
|
+
}, {
|
|
280
|
+
readonly type: "address";
|
|
281
|
+
readonly name: "user";
|
|
282
|
+
}];
|
|
283
|
+
readonly outputs: readonly [{
|
|
284
|
+
readonly type: "uint256";
|
|
285
|
+
}];
|
|
286
|
+
}, {
|
|
287
|
+
readonly name: "defaultFees";
|
|
288
|
+
readonly type: "function";
|
|
289
|
+
readonly stateMutability: "view";
|
|
290
|
+
readonly inputs: readonly [{
|
|
291
|
+
readonly type: "address";
|
|
292
|
+
readonly name: "loanToken";
|
|
293
|
+
}, {
|
|
294
|
+
readonly type: "uint256";
|
|
295
|
+
readonly name: "index";
|
|
296
|
+
}];
|
|
297
|
+
readonly outputs: readonly [{
|
|
298
|
+
readonly type: "uint16";
|
|
299
|
+
}];
|
|
300
|
+
}, {
|
|
301
|
+
readonly name: "feeSetter";
|
|
302
|
+
readonly type: "function";
|
|
303
|
+
readonly stateMutability: "view";
|
|
304
|
+
readonly inputs: readonly [];
|
|
305
|
+
readonly outputs: readonly [{
|
|
306
|
+
readonly type: "address";
|
|
307
|
+
}];
|
|
308
|
+
}, {
|
|
309
|
+
readonly name: "fees";
|
|
310
|
+
readonly type: "function";
|
|
311
|
+
readonly stateMutability: "view";
|
|
312
|
+
readonly inputs: readonly [{
|
|
313
|
+
readonly type: "bytes32";
|
|
314
|
+
readonly name: "id";
|
|
315
|
+
}];
|
|
316
|
+
readonly outputs: readonly [{
|
|
317
|
+
readonly type: "uint16[6]";
|
|
318
|
+
}];
|
|
319
|
+
}, {
|
|
320
|
+
readonly name: "flashLoan";
|
|
321
|
+
readonly type: "function";
|
|
322
|
+
readonly stateMutability: "nonpayable";
|
|
323
|
+
readonly inputs: readonly [{
|
|
324
|
+
readonly type: "address";
|
|
325
|
+
readonly name: "token";
|
|
326
|
+
}, {
|
|
327
|
+
readonly type: "uint256";
|
|
328
|
+
readonly name: "assets";
|
|
329
|
+
}, {
|
|
330
|
+
readonly type: "address";
|
|
331
|
+
readonly name: "callback";
|
|
332
|
+
}, {
|
|
333
|
+
readonly type: "bytes";
|
|
334
|
+
readonly name: "data";
|
|
335
|
+
}];
|
|
336
|
+
readonly outputs: readonly [];
|
|
337
|
+
}, {
|
|
338
|
+
readonly name: "isHealthy";
|
|
339
|
+
readonly type: "function";
|
|
340
|
+
readonly stateMutability: "view";
|
|
341
|
+
readonly inputs: readonly [{
|
|
342
|
+
readonly type: "tuple";
|
|
343
|
+
readonly components: readonly [{
|
|
344
|
+
readonly type: "address";
|
|
345
|
+
readonly name: "loanToken";
|
|
346
|
+
}, {
|
|
347
|
+
readonly type: "tuple[]";
|
|
348
|
+
readonly components: readonly [{
|
|
349
|
+
readonly type: "address";
|
|
350
|
+
readonly name: "token";
|
|
351
|
+
}, {
|
|
352
|
+
readonly type: "uint256";
|
|
353
|
+
readonly name: "lltv";
|
|
354
|
+
}, {
|
|
355
|
+
readonly type: "address";
|
|
356
|
+
readonly name: "oracle";
|
|
357
|
+
}];
|
|
358
|
+
readonly name: "collaterals";
|
|
359
|
+
}, {
|
|
360
|
+
readonly type: "uint256";
|
|
361
|
+
readonly name: "maturity";
|
|
362
|
+
}];
|
|
363
|
+
readonly name: "obligation";
|
|
364
|
+
}, {
|
|
365
|
+
readonly type: "bytes32";
|
|
366
|
+
readonly name: "id";
|
|
367
|
+
}, {
|
|
368
|
+
readonly type: "address";
|
|
369
|
+
readonly name: "borrower";
|
|
370
|
+
}];
|
|
371
|
+
readonly outputs: readonly [{
|
|
372
|
+
readonly type: "bool";
|
|
373
|
+
}];
|
|
374
|
+
}, {
|
|
375
|
+
readonly name: "liquidate";
|
|
376
|
+
readonly type: "function";
|
|
377
|
+
readonly stateMutability: "nonpayable";
|
|
378
|
+
readonly inputs: readonly [{
|
|
379
|
+
readonly type: "tuple";
|
|
380
|
+
readonly components: readonly [{
|
|
381
|
+
readonly type: "address";
|
|
382
|
+
readonly name: "loanToken";
|
|
383
|
+
}, {
|
|
384
|
+
readonly type: "tuple[]";
|
|
385
|
+
readonly components: readonly [{
|
|
386
|
+
readonly type: "address";
|
|
387
|
+
readonly name: "token";
|
|
388
|
+
}, {
|
|
389
|
+
readonly type: "uint256";
|
|
390
|
+
readonly name: "lltv";
|
|
391
|
+
}, {
|
|
392
|
+
readonly type: "address";
|
|
393
|
+
readonly name: "oracle";
|
|
394
|
+
}];
|
|
395
|
+
readonly name: "collaterals";
|
|
396
|
+
}, {
|
|
397
|
+
readonly type: "uint256";
|
|
398
|
+
readonly name: "maturity";
|
|
399
|
+
}];
|
|
400
|
+
readonly name: "obligation";
|
|
401
|
+
}, {
|
|
402
|
+
readonly type: "tuple[]";
|
|
403
|
+
readonly components: readonly [{
|
|
404
|
+
readonly type: "uint256";
|
|
405
|
+
readonly name: "collateralIndex";
|
|
406
|
+
}, {
|
|
407
|
+
readonly type: "uint256";
|
|
408
|
+
readonly name: "repaid";
|
|
409
|
+
}, {
|
|
410
|
+
readonly type: "uint256";
|
|
411
|
+
readonly name: "seized";
|
|
412
|
+
}];
|
|
413
|
+
readonly name: "seizures";
|
|
414
|
+
}, {
|
|
415
|
+
readonly type: "address";
|
|
416
|
+
readonly name: "borrower";
|
|
417
|
+
}, {
|
|
418
|
+
readonly type: "bytes";
|
|
419
|
+
readonly name: "data";
|
|
420
|
+
}];
|
|
421
|
+
readonly outputs: readonly [{
|
|
422
|
+
readonly type: "tuple[]";
|
|
423
|
+
readonly components: readonly [{
|
|
424
|
+
readonly type: "uint256";
|
|
425
|
+
readonly name: "collateralIndex";
|
|
426
|
+
}, {
|
|
427
|
+
readonly type: "uint256";
|
|
428
|
+
readonly name: "repaid";
|
|
429
|
+
}, {
|
|
430
|
+
readonly type: "uint256";
|
|
431
|
+
readonly name: "seized";
|
|
432
|
+
}];
|
|
433
|
+
}];
|
|
434
|
+
}, {
|
|
435
|
+
readonly name: "multicall";
|
|
436
|
+
readonly type: "function";
|
|
437
|
+
readonly stateMutability: "nonpayable";
|
|
438
|
+
readonly inputs: readonly [{
|
|
439
|
+
readonly type: "bytes[]";
|
|
440
|
+
readonly name: "calls";
|
|
441
|
+
}];
|
|
442
|
+
readonly outputs: readonly [];
|
|
443
|
+
}, {
|
|
444
|
+
readonly name: "obligationCreated";
|
|
445
|
+
readonly type: "function";
|
|
446
|
+
readonly stateMutability: "view";
|
|
447
|
+
readonly inputs: readonly [{
|
|
448
|
+
readonly type: "bytes32";
|
|
449
|
+
readonly name: "id";
|
|
450
|
+
}];
|
|
451
|
+
readonly outputs: readonly [{
|
|
452
|
+
readonly type: "bool";
|
|
453
|
+
}];
|
|
454
|
+
}, {
|
|
455
|
+
readonly name: "obligationState";
|
|
456
|
+
readonly type: "function";
|
|
457
|
+
readonly stateMutability: "view";
|
|
458
|
+
readonly inputs: readonly [{
|
|
459
|
+
readonly type: "bytes32";
|
|
460
|
+
readonly name: "id";
|
|
461
|
+
}];
|
|
462
|
+
readonly outputs: readonly [{
|
|
463
|
+
readonly type: "uint128";
|
|
464
|
+
readonly name: "totalUnits";
|
|
465
|
+
}, {
|
|
466
|
+
readonly type: "uint128";
|
|
467
|
+
readonly name: "totalShares";
|
|
468
|
+
}, {
|
|
469
|
+
readonly type: "uint256";
|
|
470
|
+
readonly name: "withdrawable";
|
|
471
|
+
}, {
|
|
472
|
+
readonly type: "bool";
|
|
473
|
+
readonly name: "created";
|
|
474
|
+
}];
|
|
475
|
+
}, {
|
|
476
|
+
readonly name: "owner";
|
|
477
|
+
readonly type: "function";
|
|
478
|
+
readonly stateMutability: "view";
|
|
479
|
+
readonly inputs: readonly [];
|
|
480
|
+
readonly outputs: readonly [{
|
|
481
|
+
readonly type: "address";
|
|
482
|
+
}];
|
|
483
|
+
}, {
|
|
484
|
+
readonly name: "repay";
|
|
485
|
+
readonly type: "function";
|
|
486
|
+
readonly stateMutability: "nonpayable";
|
|
487
|
+
readonly inputs: readonly [{
|
|
488
|
+
readonly type: "tuple";
|
|
489
|
+
readonly components: readonly [{
|
|
490
|
+
readonly type: "address";
|
|
491
|
+
readonly name: "loanToken";
|
|
492
|
+
}, {
|
|
493
|
+
readonly type: "tuple[]";
|
|
494
|
+
readonly components: readonly [{
|
|
495
|
+
readonly type: "address";
|
|
496
|
+
readonly name: "token";
|
|
497
|
+
}, {
|
|
498
|
+
readonly type: "uint256";
|
|
499
|
+
readonly name: "lltv";
|
|
500
|
+
}, {
|
|
501
|
+
readonly type: "address";
|
|
502
|
+
readonly name: "oracle";
|
|
503
|
+
}];
|
|
504
|
+
readonly name: "collaterals";
|
|
505
|
+
}, {
|
|
506
|
+
readonly type: "uint256";
|
|
507
|
+
readonly name: "maturity";
|
|
508
|
+
}];
|
|
509
|
+
readonly name: "obligation";
|
|
510
|
+
}, {
|
|
511
|
+
readonly type: "uint256";
|
|
512
|
+
readonly name: "obligationUnits";
|
|
513
|
+
}, {
|
|
514
|
+
readonly type: "address";
|
|
515
|
+
readonly name: "onBehalf";
|
|
516
|
+
}];
|
|
517
|
+
readonly outputs: readonly [];
|
|
518
|
+
}, {
|
|
519
|
+
readonly name: "session";
|
|
520
|
+
readonly type: "function";
|
|
521
|
+
readonly stateMutability: "view";
|
|
522
|
+
readonly inputs: readonly [{
|
|
523
|
+
readonly type: "address";
|
|
524
|
+
readonly name: "user";
|
|
525
|
+
}];
|
|
526
|
+
readonly outputs: readonly [{
|
|
527
|
+
readonly type: "bytes32";
|
|
528
|
+
}];
|
|
529
|
+
}, {
|
|
530
|
+
readonly name: "setDefaultTradingFee";
|
|
531
|
+
readonly type: "function";
|
|
532
|
+
readonly stateMutability: "nonpayable";
|
|
533
|
+
readonly inputs: readonly [{
|
|
534
|
+
readonly type: "address";
|
|
535
|
+
readonly name: "loanToken";
|
|
536
|
+
}, {
|
|
537
|
+
readonly type: "uint256";
|
|
538
|
+
readonly name: "index";
|
|
539
|
+
}, {
|
|
540
|
+
readonly type: "uint256";
|
|
541
|
+
readonly name: "newTradingFee";
|
|
542
|
+
}];
|
|
543
|
+
readonly outputs: readonly [];
|
|
544
|
+
}, {
|
|
545
|
+
readonly name: "setFeeSetter";
|
|
546
|
+
readonly type: "function";
|
|
547
|
+
readonly stateMutability: "nonpayable";
|
|
548
|
+
readonly inputs: readonly [{
|
|
549
|
+
readonly type: "address";
|
|
550
|
+
readonly name: "newFeeSetter";
|
|
551
|
+
}];
|
|
552
|
+
readonly outputs: readonly [];
|
|
553
|
+
}, {
|
|
554
|
+
readonly name: "setObligationTradingFee";
|
|
555
|
+
readonly type: "function";
|
|
556
|
+
readonly stateMutability: "nonpayable";
|
|
557
|
+
readonly inputs: readonly [{
|
|
558
|
+
readonly type: "bytes32";
|
|
559
|
+
readonly name: "id";
|
|
560
|
+
}, {
|
|
561
|
+
readonly type: "uint256";
|
|
562
|
+
readonly name: "index";
|
|
563
|
+
}, {
|
|
564
|
+
readonly type: "uint256";
|
|
565
|
+
readonly name: "newTradingFee";
|
|
566
|
+
}];
|
|
567
|
+
readonly outputs: readonly [];
|
|
568
|
+
}, {
|
|
569
|
+
readonly name: "setOwner";
|
|
570
|
+
readonly type: "function";
|
|
571
|
+
readonly stateMutability: "nonpayable";
|
|
572
|
+
readonly inputs: readonly [{
|
|
573
|
+
readonly type: "address";
|
|
574
|
+
readonly name: "newOwner";
|
|
575
|
+
}];
|
|
576
|
+
readonly outputs: readonly [];
|
|
577
|
+
}, {
|
|
578
|
+
readonly name: "setTradingFeeRecipient";
|
|
579
|
+
readonly type: "function";
|
|
580
|
+
readonly stateMutability: "nonpayable";
|
|
581
|
+
readonly inputs: readonly [{
|
|
582
|
+
readonly type: "address";
|
|
583
|
+
readonly name: "recipient";
|
|
584
|
+
}];
|
|
585
|
+
readonly outputs: readonly [];
|
|
586
|
+
}, {
|
|
587
|
+
readonly name: "sharesOf";
|
|
588
|
+
readonly type: "function";
|
|
589
|
+
readonly stateMutability: "view";
|
|
590
|
+
readonly inputs: readonly [{
|
|
591
|
+
readonly type: "bytes32";
|
|
592
|
+
readonly name: "id";
|
|
593
|
+
}, {
|
|
594
|
+
readonly type: "address";
|
|
595
|
+
readonly name: "user";
|
|
596
|
+
}];
|
|
597
|
+
readonly outputs: readonly [{
|
|
598
|
+
readonly type: "uint256";
|
|
599
|
+
}];
|
|
600
|
+
}, {
|
|
601
|
+
readonly name: "shuffleSession";
|
|
602
|
+
readonly type: "function";
|
|
603
|
+
readonly stateMutability: "nonpayable";
|
|
604
|
+
readonly inputs: readonly [];
|
|
605
|
+
readonly outputs: readonly [];
|
|
606
|
+
}, {
|
|
607
|
+
readonly name: "supplyCollateral";
|
|
608
|
+
readonly type: "function";
|
|
609
|
+
readonly stateMutability: "nonpayable";
|
|
610
|
+
readonly inputs: readonly [{
|
|
611
|
+
readonly type: "tuple";
|
|
612
|
+
readonly components: readonly [{
|
|
613
|
+
readonly type: "address";
|
|
614
|
+
readonly name: "loanToken";
|
|
615
|
+
}, {
|
|
616
|
+
readonly type: "tuple[]";
|
|
617
|
+
readonly components: readonly [{
|
|
618
|
+
readonly type: "address";
|
|
619
|
+
readonly name: "token";
|
|
620
|
+
}, {
|
|
621
|
+
readonly type: "uint256";
|
|
622
|
+
readonly name: "lltv";
|
|
623
|
+
}, {
|
|
624
|
+
readonly type: "address";
|
|
625
|
+
readonly name: "oracle";
|
|
626
|
+
}];
|
|
627
|
+
readonly name: "collaterals";
|
|
628
|
+
}, {
|
|
629
|
+
readonly type: "uint256";
|
|
630
|
+
readonly name: "maturity";
|
|
631
|
+
}];
|
|
632
|
+
readonly name: "obligation";
|
|
633
|
+
}, {
|
|
634
|
+
readonly type: "address";
|
|
635
|
+
readonly name: "collateral";
|
|
636
|
+
}, {
|
|
637
|
+
readonly type: "uint256";
|
|
638
|
+
readonly name: "assets";
|
|
639
|
+
}, {
|
|
640
|
+
readonly type: "address";
|
|
641
|
+
readonly name: "onBehalf";
|
|
642
|
+
}];
|
|
643
|
+
readonly outputs: readonly [];
|
|
644
|
+
}, {
|
|
645
|
+
readonly name: "take";
|
|
646
|
+
readonly type: "function";
|
|
647
|
+
readonly stateMutability: "nonpayable";
|
|
648
|
+
readonly inputs: readonly [{
|
|
649
|
+
readonly type: "uint256";
|
|
650
|
+
readonly name: "buyerAssets";
|
|
651
|
+
}, {
|
|
652
|
+
readonly type: "uint256";
|
|
653
|
+
readonly name: "sellerAssets";
|
|
654
|
+
}, {
|
|
655
|
+
readonly type: "uint256";
|
|
656
|
+
readonly name: "obligationUnits";
|
|
657
|
+
}, {
|
|
658
|
+
readonly type: "uint256";
|
|
659
|
+
readonly name: "obligationShares";
|
|
660
|
+
}, {
|
|
661
|
+
readonly type: "address";
|
|
662
|
+
readonly name: "taker";
|
|
663
|
+
}, {
|
|
664
|
+
readonly type: "tuple";
|
|
665
|
+
readonly components: readonly [{
|
|
666
|
+
readonly type: "tuple";
|
|
667
|
+
readonly components: readonly [{
|
|
668
|
+
readonly type: "address";
|
|
669
|
+
readonly name: "loanToken";
|
|
670
|
+
}, {
|
|
671
|
+
readonly type: "tuple[]";
|
|
672
|
+
readonly components: readonly [{
|
|
673
|
+
readonly type: "address";
|
|
674
|
+
readonly name: "token";
|
|
675
|
+
}, {
|
|
676
|
+
readonly type: "uint256";
|
|
677
|
+
readonly name: "lltv";
|
|
678
|
+
}, {
|
|
679
|
+
readonly type: "address";
|
|
680
|
+
readonly name: "oracle";
|
|
681
|
+
}];
|
|
682
|
+
readonly name: "collaterals";
|
|
683
|
+
}, {
|
|
684
|
+
readonly type: "uint256";
|
|
685
|
+
readonly name: "maturity";
|
|
686
|
+
}];
|
|
687
|
+
readonly name: "obligation";
|
|
688
|
+
}, {
|
|
689
|
+
readonly type: "bool";
|
|
690
|
+
readonly name: "buy";
|
|
691
|
+
}, {
|
|
692
|
+
readonly type: "address";
|
|
693
|
+
readonly name: "maker";
|
|
694
|
+
}, {
|
|
695
|
+
readonly type: "uint256";
|
|
696
|
+
readonly name: "assets";
|
|
697
|
+
}, {
|
|
698
|
+
readonly type: "uint256";
|
|
699
|
+
readonly name: "obligationUnits";
|
|
700
|
+
}, {
|
|
701
|
+
readonly type: "uint256";
|
|
702
|
+
readonly name: "obligationShares";
|
|
703
|
+
}, {
|
|
704
|
+
readonly type: "uint256";
|
|
705
|
+
readonly name: "start";
|
|
706
|
+
}, {
|
|
707
|
+
readonly type: "uint256";
|
|
708
|
+
readonly name: "expiry";
|
|
709
|
+
}, {
|
|
710
|
+
readonly type: "uint256";
|
|
711
|
+
readonly name: "tick";
|
|
712
|
+
}, {
|
|
713
|
+
readonly type: "bytes32";
|
|
714
|
+
readonly name: "group";
|
|
715
|
+
}, {
|
|
716
|
+
readonly type: "bytes32";
|
|
717
|
+
readonly name: "session";
|
|
718
|
+
}, {
|
|
719
|
+
readonly type: "address";
|
|
720
|
+
readonly name: "callback";
|
|
721
|
+
}, {
|
|
722
|
+
readonly type: "bytes";
|
|
723
|
+
readonly name: "callbackData";
|
|
724
|
+
}];
|
|
725
|
+
readonly name: "offer";
|
|
726
|
+
}, {
|
|
727
|
+
readonly type: "tuple";
|
|
728
|
+
readonly components: readonly [{
|
|
729
|
+
readonly type: "uint8";
|
|
730
|
+
readonly name: "v";
|
|
731
|
+
}, {
|
|
732
|
+
readonly type: "bytes32";
|
|
733
|
+
readonly name: "r";
|
|
734
|
+
}, {
|
|
735
|
+
readonly type: "bytes32";
|
|
736
|
+
readonly name: "s";
|
|
737
|
+
}];
|
|
738
|
+
readonly name: "sig";
|
|
739
|
+
}, {
|
|
740
|
+
readonly type: "bytes32";
|
|
741
|
+
readonly name: "root";
|
|
742
|
+
}, {
|
|
743
|
+
readonly type: "bytes32[]";
|
|
744
|
+
readonly name: "proof";
|
|
745
|
+
}, {
|
|
746
|
+
readonly type: "address";
|
|
747
|
+
readonly name: "takerCallback";
|
|
748
|
+
}, {
|
|
749
|
+
readonly type: "bytes";
|
|
750
|
+
readonly name: "takerCallbackData";
|
|
751
|
+
}];
|
|
752
|
+
readonly outputs: readonly [{
|
|
753
|
+
readonly type: "uint256";
|
|
754
|
+
}, {
|
|
755
|
+
readonly type: "uint256";
|
|
756
|
+
}, {
|
|
757
|
+
readonly type: "uint256";
|
|
758
|
+
}, {
|
|
759
|
+
readonly type: "uint256";
|
|
760
|
+
}];
|
|
761
|
+
}, {
|
|
762
|
+
readonly name: "totalShares";
|
|
763
|
+
readonly type: "function";
|
|
764
|
+
readonly stateMutability: "view";
|
|
765
|
+
readonly inputs: readonly [{
|
|
766
|
+
readonly type: "bytes32";
|
|
767
|
+
readonly name: "id";
|
|
768
|
+
}];
|
|
769
|
+
readonly outputs: readonly [{
|
|
770
|
+
readonly type: "uint256";
|
|
771
|
+
}];
|
|
772
|
+
}, {
|
|
773
|
+
readonly name: "totalUnits";
|
|
774
|
+
readonly type: "function";
|
|
775
|
+
readonly stateMutability: "view";
|
|
776
|
+
readonly inputs: readonly [{
|
|
777
|
+
readonly type: "bytes32";
|
|
778
|
+
readonly name: "id";
|
|
779
|
+
}];
|
|
780
|
+
readonly outputs: readonly [{
|
|
781
|
+
readonly type: "uint256";
|
|
782
|
+
}];
|
|
783
|
+
}, {
|
|
784
|
+
readonly name: "touchObligation";
|
|
785
|
+
readonly type: "function";
|
|
786
|
+
readonly stateMutability: "nonpayable";
|
|
787
|
+
readonly inputs: readonly [{
|
|
788
|
+
readonly type: "tuple";
|
|
789
|
+
readonly components: readonly [{
|
|
790
|
+
readonly type: "address";
|
|
791
|
+
readonly name: "loanToken";
|
|
792
|
+
}, {
|
|
793
|
+
readonly type: "tuple[]";
|
|
794
|
+
readonly components: readonly [{
|
|
795
|
+
readonly type: "address";
|
|
796
|
+
readonly name: "token";
|
|
797
|
+
}, {
|
|
798
|
+
readonly type: "uint256";
|
|
799
|
+
readonly name: "lltv";
|
|
800
|
+
}, {
|
|
801
|
+
readonly type: "address";
|
|
802
|
+
readonly name: "oracle";
|
|
803
|
+
}];
|
|
804
|
+
readonly name: "collaterals";
|
|
805
|
+
}, {
|
|
806
|
+
readonly type: "uint256";
|
|
807
|
+
readonly name: "maturity";
|
|
808
|
+
}];
|
|
809
|
+
readonly name: "obligation";
|
|
810
|
+
}];
|
|
811
|
+
readonly outputs: readonly [{
|
|
812
|
+
readonly type: "bytes32";
|
|
813
|
+
}];
|
|
814
|
+
}, {
|
|
815
|
+
readonly name: "tradingFee";
|
|
816
|
+
readonly type: "function";
|
|
817
|
+
readonly stateMutability: "view";
|
|
818
|
+
readonly inputs: readonly [{
|
|
819
|
+
readonly type: "bytes32";
|
|
820
|
+
readonly name: "id";
|
|
821
|
+
}, {
|
|
822
|
+
readonly type: "uint256";
|
|
823
|
+
readonly name: "timeToMaturity";
|
|
824
|
+
}];
|
|
825
|
+
readonly outputs: readonly [{
|
|
826
|
+
readonly type: "uint256";
|
|
827
|
+
}];
|
|
828
|
+
}, {
|
|
829
|
+
readonly name: "tradingFeeRecipient";
|
|
830
|
+
readonly type: "function";
|
|
831
|
+
readonly stateMutability: "view";
|
|
832
|
+
readonly inputs: readonly [];
|
|
833
|
+
readonly outputs: readonly [{
|
|
834
|
+
readonly type: "address";
|
|
835
|
+
}];
|
|
836
|
+
}, {
|
|
837
|
+
readonly name: "withdraw";
|
|
838
|
+
readonly type: "function";
|
|
839
|
+
readonly stateMutability: "nonpayable";
|
|
840
|
+
readonly inputs: readonly [{
|
|
841
|
+
readonly type: "tuple";
|
|
842
|
+
readonly components: readonly [{
|
|
843
|
+
readonly type: "address";
|
|
844
|
+
readonly name: "loanToken";
|
|
845
|
+
}, {
|
|
846
|
+
readonly type: "tuple[]";
|
|
847
|
+
readonly components: readonly [{
|
|
848
|
+
readonly type: "address";
|
|
849
|
+
readonly name: "token";
|
|
850
|
+
}, {
|
|
851
|
+
readonly type: "uint256";
|
|
852
|
+
readonly name: "lltv";
|
|
853
|
+
}, {
|
|
854
|
+
readonly type: "address";
|
|
855
|
+
readonly name: "oracle";
|
|
856
|
+
}];
|
|
857
|
+
readonly name: "collaterals";
|
|
858
|
+
}, {
|
|
859
|
+
readonly type: "uint256";
|
|
860
|
+
readonly name: "maturity";
|
|
861
|
+
}];
|
|
862
|
+
readonly name: "obligation";
|
|
863
|
+
}, {
|
|
864
|
+
readonly type: "uint256";
|
|
865
|
+
readonly name: "obligationUnits";
|
|
866
|
+
}, {
|
|
867
|
+
readonly type: "uint256";
|
|
868
|
+
readonly name: "shares";
|
|
869
|
+
}, {
|
|
870
|
+
readonly type: "address";
|
|
871
|
+
readonly name: "onBehalf";
|
|
872
|
+
}];
|
|
873
|
+
readonly outputs: readonly [{
|
|
874
|
+
readonly type: "uint256";
|
|
875
|
+
}, {
|
|
876
|
+
readonly type: "uint256";
|
|
877
|
+
}];
|
|
878
|
+
}, {
|
|
879
|
+
readonly name: "withdrawCollateral";
|
|
880
|
+
readonly type: "function";
|
|
881
|
+
readonly stateMutability: "nonpayable";
|
|
882
|
+
readonly inputs: readonly [{
|
|
883
|
+
readonly type: "tuple";
|
|
884
|
+
readonly components: readonly [{
|
|
885
|
+
readonly type: "address";
|
|
886
|
+
readonly name: "loanToken";
|
|
887
|
+
}, {
|
|
888
|
+
readonly type: "tuple[]";
|
|
889
|
+
readonly components: readonly [{
|
|
890
|
+
readonly type: "address";
|
|
891
|
+
readonly name: "token";
|
|
892
|
+
}, {
|
|
893
|
+
readonly type: "uint256";
|
|
894
|
+
readonly name: "lltv";
|
|
895
|
+
}, {
|
|
896
|
+
readonly type: "address";
|
|
897
|
+
readonly name: "oracle";
|
|
898
|
+
}];
|
|
899
|
+
readonly name: "collaterals";
|
|
900
|
+
}, {
|
|
901
|
+
readonly type: "uint256";
|
|
902
|
+
readonly name: "maturity";
|
|
903
|
+
}];
|
|
904
|
+
readonly name: "obligation";
|
|
905
|
+
}, {
|
|
906
|
+
readonly type: "address";
|
|
907
|
+
readonly name: "collateral";
|
|
908
|
+
}, {
|
|
909
|
+
readonly type: "uint256";
|
|
910
|
+
readonly name: "assets";
|
|
911
|
+
}, {
|
|
912
|
+
readonly type: "address";
|
|
913
|
+
readonly name: "onBehalf";
|
|
914
|
+
}];
|
|
915
|
+
readonly outputs: readonly [];
|
|
916
|
+
}, {
|
|
917
|
+
readonly name: "withdrawable";
|
|
918
|
+
readonly type: "function";
|
|
919
|
+
readonly stateMutability: "view";
|
|
920
|
+
readonly inputs: readonly [{
|
|
921
|
+
readonly type: "bytes32";
|
|
922
|
+
readonly name: "id";
|
|
923
|
+
}];
|
|
924
|
+
readonly outputs: readonly [{
|
|
925
|
+
readonly type: "uint256";
|
|
926
|
+
}];
|
|
927
|
+
}, {
|
|
928
|
+
readonly name: "Constructor";
|
|
929
|
+
readonly type: "event";
|
|
930
|
+
readonly inputs: readonly [{
|
|
931
|
+
readonly type: "address";
|
|
932
|
+
readonly name: "owner";
|
|
933
|
+
readonly indexed: true;
|
|
934
|
+
}];
|
|
935
|
+
}, {
|
|
936
|
+
readonly name: "Consume";
|
|
937
|
+
readonly type: "event";
|
|
938
|
+
readonly inputs: readonly [{
|
|
939
|
+
readonly type: "address";
|
|
940
|
+
readonly name: "user";
|
|
941
|
+
readonly indexed: true;
|
|
942
|
+
}, {
|
|
943
|
+
readonly type: "bytes32";
|
|
944
|
+
readonly name: "group";
|
|
945
|
+
readonly indexed: true;
|
|
946
|
+
}, {
|
|
947
|
+
readonly type: "uint256";
|
|
948
|
+
readonly name: "amount";
|
|
949
|
+
}];
|
|
950
|
+
}, {
|
|
951
|
+
readonly name: "FlashLoan";
|
|
952
|
+
readonly type: "event";
|
|
953
|
+
readonly inputs: readonly [{
|
|
954
|
+
readonly type: "address";
|
|
955
|
+
readonly name: "caller";
|
|
956
|
+
readonly indexed: true;
|
|
957
|
+
}, {
|
|
958
|
+
readonly type: "address";
|
|
959
|
+
readonly name: "token";
|
|
960
|
+
readonly indexed: true;
|
|
961
|
+
}, {
|
|
962
|
+
readonly type: "uint256";
|
|
963
|
+
readonly name: "assets";
|
|
964
|
+
}];
|
|
965
|
+
}, {
|
|
966
|
+
readonly name: "Liquidate";
|
|
967
|
+
readonly type: "event";
|
|
968
|
+
readonly inputs: readonly [{
|
|
969
|
+
readonly type: "address";
|
|
970
|
+
readonly name: "caller";
|
|
971
|
+
readonly indexed: true;
|
|
972
|
+
}, {
|
|
973
|
+
readonly type: "bytes32";
|
|
974
|
+
readonly name: "id";
|
|
975
|
+
readonly indexed: true;
|
|
976
|
+
}, {
|
|
977
|
+
readonly type: "tuple[]";
|
|
978
|
+
readonly components: readonly [{
|
|
979
|
+
readonly type: "uint256";
|
|
980
|
+
readonly name: "collateralIndex";
|
|
981
|
+
}, {
|
|
982
|
+
readonly type: "uint256";
|
|
983
|
+
readonly name: "repaid";
|
|
984
|
+
}, {
|
|
985
|
+
readonly type: "uint256";
|
|
986
|
+
readonly name: "seized";
|
|
987
|
+
}];
|
|
988
|
+
readonly name: "seizures";
|
|
989
|
+
}, {
|
|
990
|
+
readonly type: "address";
|
|
991
|
+
readonly name: "borrower";
|
|
992
|
+
readonly indexed: true;
|
|
993
|
+
}, {
|
|
994
|
+
readonly type: "uint256";
|
|
995
|
+
readonly name: "totalRepaid";
|
|
996
|
+
}, {
|
|
997
|
+
readonly type: "uint256";
|
|
998
|
+
readonly name: "badDebt";
|
|
999
|
+
}];
|
|
1000
|
+
}, {
|
|
1001
|
+
readonly name: "ObligationCreated";
|
|
1002
|
+
readonly type: "event";
|
|
1003
|
+
readonly inputs: readonly [{
|
|
1004
|
+
readonly type: "bytes32";
|
|
1005
|
+
readonly name: "id";
|
|
1006
|
+
readonly indexed: true;
|
|
1007
|
+
}, {
|
|
1008
|
+
readonly type: "tuple";
|
|
1009
|
+
readonly components: readonly [{
|
|
1010
|
+
readonly type: "address";
|
|
1011
|
+
readonly name: "loanToken";
|
|
1012
|
+
}, {
|
|
1013
|
+
readonly type: "tuple[]";
|
|
1014
|
+
readonly components: readonly [{
|
|
1015
|
+
readonly type: "address";
|
|
1016
|
+
readonly name: "token";
|
|
1017
|
+
}, {
|
|
1018
|
+
readonly type: "uint256";
|
|
1019
|
+
readonly name: "lltv";
|
|
1020
|
+
}, {
|
|
1021
|
+
readonly type: "address";
|
|
1022
|
+
readonly name: "oracle";
|
|
1023
|
+
}];
|
|
1024
|
+
readonly name: "collaterals";
|
|
1025
|
+
}, {
|
|
1026
|
+
readonly type: "uint256";
|
|
1027
|
+
readonly name: "maturity";
|
|
1028
|
+
}];
|
|
1029
|
+
readonly name: "obligation";
|
|
1030
|
+
}];
|
|
1031
|
+
}, {
|
|
1032
|
+
readonly name: "Repay";
|
|
1033
|
+
readonly type: "event";
|
|
1034
|
+
readonly inputs: readonly [{
|
|
1035
|
+
readonly type: "address";
|
|
1036
|
+
readonly name: "caller";
|
|
1037
|
+
readonly indexed: true;
|
|
1038
|
+
}, {
|
|
1039
|
+
readonly type: "bytes32";
|
|
1040
|
+
readonly name: "id";
|
|
1041
|
+
readonly indexed: true;
|
|
1042
|
+
}, {
|
|
1043
|
+
readonly type: "uint256";
|
|
1044
|
+
readonly name: "obligationUnits";
|
|
1045
|
+
}, {
|
|
1046
|
+
readonly type: "address";
|
|
1047
|
+
readonly name: "onBehalf";
|
|
1048
|
+
readonly indexed: true;
|
|
1049
|
+
}];
|
|
1050
|
+
}, {
|
|
1051
|
+
readonly name: "SetDefaultTradingFee";
|
|
1052
|
+
readonly type: "event";
|
|
1053
|
+
readonly inputs: readonly [{
|
|
1054
|
+
readonly type: "address";
|
|
1055
|
+
readonly name: "loanToken";
|
|
1056
|
+
readonly indexed: true;
|
|
1057
|
+
}, {
|
|
1058
|
+
readonly type: "uint256";
|
|
1059
|
+
readonly name: "index";
|
|
1060
|
+
readonly indexed: true;
|
|
1061
|
+
}, {
|
|
1062
|
+
readonly type: "uint256";
|
|
1063
|
+
readonly name: "newTradingFee";
|
|
1064
|
+
}];
|
|
1065
|
+
}, {
|
|
1066
|
+
readonly name: "SetFeeSetter";
|
|
1067
|
+
readonly type: "event";
|
|
1068
|
+
readonly inputs: readonly [{
|
|
1069
|
+
readonly type: "address";
|
|
1070
|
+
readonly name: "feeSetter";
|
|
1071
|
+
readonly indexed: true;
|
|
1072
|
+
}];
|
|
1073
|
+
}, {
|
|
1074
|
+
readonly name: "SetObligationTradingFee";
|
|
1075
|
+
readonly type: "event";
|
|
1076
|
+
readonly inputs: readonly [{
|
|
1077
|
+
readonly type: "bytes32";
|
|
1078
|
+
readonly name: "id";
|
|
1079
|
+
readonly indexed: true;
|
|
1080
|
+
}, {
|
|
1081
|
+
readonly type: "uint256";
|
|
1082
|
+
readonly name: "index";
|
|
1083
|
+
readonly indexed: true;
|
|
1084
|
+
}, {
|
|
1085
|
+
readonly type: "uint256";
|
|
1086
|
+
readonly name: "newTradingFee";
|
|
1087
|
+
}];
|
|
1088
|
+
}, {
|
|
1089
|
+
readonly name: "SetOwner";
|
|
1090
|
+
readonly type: "event";
|
|
1091
|
+
readonly inputs: readonly [{
|
|
1092
|
+
readonly type: "address";
|
|
1093
|
+
readonly name: "owner";
|
|
1094
|
+
readonly indexed: true;
|
|
1095
|
+
}];
|
|
1096
|
+
}, {
|
|
1097
|
+
readonly name: "SetTradingFeeRecipient";
|
|
1098
|
+
readonly type: "event";
|
|
1099
|
+
readonly inputs: readonly [{
|
|
1100
|
+
readonly type: "address";
|
|
1101
|
+
readonly name: "recipient";
|
|
1102
|
+
readonly indexed: true;
|
|
1103
|
+
}];
|
|
1104
|
+
}, {
|
|
1105
|
+
readonly name: "ShuffleSession";
|
|
1106
|
+
readonly type: "event";
|
|
1107
|
+
readonly inputs: readonly [{
|
|
1108
|
+
readonly type: "address";
|
|
1109
|
+
readonly name: "user";
|
|
1110
|
+
readonly indexed: true;
|
|
1111
|
+
}, {
|
|
1112
|
+
readonly type: "bytes32";
|
|
1113
|
+
readonly name: "session";
|
|
1114
|
+
}];
|
|
1115
|
+
}, {
|
|
1116
|
+
readonly name: "SupplyCollateral";
|
|
1117
|
+
readonly type: "event";
|
|
1118
|
+
readonly inputs: readonly [{
|
|
1119
|
+
readonly type: "address";
|
|
1120
|
+
readonly name: "caller";
|
|
1121
|
+
}, {
|
|
1122
|
+
readonly type: "bytes32";
|
|
1123
|
+
readonly name: "id";
|
|
1124
|
+
readonly indexed: true;
|
|
1125
|
+
}, {
|
|
1126
|
+
readonly type: "address";
|
|
1127
|
+
readonly name: "collateral";
|
|
1128
|
+
readonly indexed: true;
|
|
1129
|
+
}, {
|
|
1130
|
+
readonly type: "uint256";
|
|
1131
|
+
readonly name: "assets";
|
|
1132
|
+
}, {
|
|
1133
|
+
readonly type: "address";
|
|
1134
|
+
readonly name: "onBehalf";
|
|
1135
|
+
readonly indexed: true;
|
|
1136
|
+
}];
|
|
1137
|
+
}, {
|
|
1138
|
+
readonly name: "Take";
|
|
1139
|
+
readonly type: "event";
|
|
1140
|
+
readonly inputs: readonly [{
|
|
1141
|
+
readonly type: "address";
|
|
1142
|
+
readonly name: "caller";
|
|
1143
|
+
}, {
|
|
1144
|
+
readonly type: "bytes32";
|
|
1145
|
+
readonly name: "id";
|
|
1146
|
+
readonly indexed: true;
|
|
1147
|
+
}, {
|
|
1148
|
+
readonly type: "address";
|
|
1149
|
+
readonly name: "maker";
|
|
1150
|
+
readonly indexed: true;
|
|
1151
|
+
}, {
|
|
1152
|
+
readonly type: "address";
|
|
1153
|
+
readonly name: "taker";
|
|
1154
|
+
readonly indexed: true;
|
|
1155
|
+
}, {
|
|
1156
|
+
readonly type: "bool";
|
|
1157
|
+
readonly name: "offerIsBuy";
|
|
1158
|
+
}, {
|
|
1159
|
+
readonly type: "uint256";
|
|
1160
|
+
readonly name: "buyerAssets";
|
|
1161
|
+
}, {
|
|
1162
|
+
readonly type: "uint256";
|
|
1163
|
+
readonly name: "sellerAssets";
|
|
1164
|
+
}, {
|
|
1165
|
+
readonly type: "uint256";
|
|
1166
|
+
readonly name: "obligationUnits";
|
|
1167
|
+
}, {
|
|
1168
|
+
readonly type: "uint256";
|
|
1169
|
+
readonly name: "obligationShares";
|
|
1170
|
+
}, {
|
|
1171
|
+
readonly type: "bool";
|
|
1172
|
+
readonly name: "buyerIsLender";
|
|
1173
|
+
}, {
|
|
1174
|
+
readonly type: "bool";
|
|
1175
|
+
readonly name: "sellerIsBorrower";
|
|
1176
|
+
}, {
|
|
1177
|
+
readonly type: "bytes32";
|
|
1178
|
+
readonly name: "group";
|
|
1179
|
+
}, {
|
|
1180
|
+
readonly type: "uint256";
|
|
1181
|
+
readonly name: "consumed";
|
|
1182
|
+
}];
|
|
1183
|
+
}, {
|
|
1184
|
+
readonly name: "Withdraw";
|
|
1185
|
+
readonly type: "event";
|
|
1186
|
+
readonly inputs: readonly [{
|
|
1187
|
+
readonly type: "address";
|
|
1188
|
+
readonly name: "caller";
|
|
1189
|
+
readonly indexed: true;
|
|
1190
|
+
}, {
|
|
1191
|
+
readonly type: "bytes32";
|
|
1192
|
+
readonly name: "id";
|
|
1193
|
+
readonly indexed: true;
|
|
1194
|
+
}, {
|
|
1195
|
+
readonly type: "uint256";
|
|
1196
|
+
readonly name: "obligationUnits";
|
|
1197
|
+
}, {
|
|
1198
|
+
readonly type: "uint256";
|
|
1199
|
+
readonly name: "shares";
|
|
1200
|
+
}, {
|
|
1201
|
+
readonly type: "address";
|
|
1202
|
+
readonly name: "onBehalf";
|
|
1203
|
+
readonly indexed: true;
|
|
1204
|
+
}];
|
|
1205
|
+
}, {
|
|
1206
|
+
readonly name: "WithdrawCollateral";
|
|
1207
|
+
readonly type: "event";
|
|
1208
|
+
readonly inputs: readonly [{
|
|
1209
|
+
readonly type: "address";
|
|
1210
|
+
readonly name: "caller";
|
|
1211
|
+
}, {
|
|
1212
|
+
readonly type: "bytes32";
|
|
1213
|
+
readonly name: "id";
|
|
1214
|
+
readonly indexed: true;
|
|
1215
|
+
}, {
|
|
1216
|
+
readonly type: "address";
|
|
1217
|
+
readonly name: "collateral";
|
|
1218
|
+
readonly indexed: true;
|
|
1219
|
+
}, {
|
|
1220
|
+
readonly type: "uint256";
|
|
1221
|
+
readonly name: "assets";
|
|
1222
|
+
}, {
|
|
1223
|
+
readonly type: "address";
|
|
1224
|
+
readonly name: "onBehalf";
|
|
1225
|
+
readonly indexed: true;
|
|
1226
|
+
}];
|
|
1227
|
+
}];
|
|
1228
|
+
type MorphoV2 = typeof MorphoV2;
|
|
223
1229
|
declare namespace index_d_exports {
|
|
224
|
-
export { ERC4626, MetaMorpho, MetaMorphoFactory, Morpho, Oracle$1 as Oracle };
|
|
1230
|
+
export { ERC4626, MetaMorpho, MetaMorphoFactory, Morpho, MorphoV2, Oracle$1 as Oracle };
|
|
225
1231
|
}
|
|
226
1232
|
declare const Oracle$1: readonly [{
|
|
227
1233
|
readonly type: "function";
|