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