@sonarwatch/portfolio-plugins 0.8.30 → 0.8.32

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 (62) hide show
  1. package/CHANGELOG.md +8 -0
  2. package/package.json +2 -2
  3. package/src/index.js +1 -0
  4. package/src/index.js.map +1 -1
  5. package/src/orphanPlatorms.js +42 -0
  6. package/src/orphanPlatorms.js.map +1 -1
  7. package/src/plugins/aave/getLendingFetcherExecutor.js +2 -3
  8. package/src/plugins/aave/getLendingFetcherExecutor.js.map +1 -1
  9. package/src/plugins/aave/helpers.d.ts +1 -3
  10. package/src/plugins/aave/helpers.js +1 -27
  11. package/src/plugins/aave/helpers.js.map +1 -1
  12. package/src/plugins/aave/lendingPoolsJob.js +1 -4
  13. package/src/plugins/aave/lendingPoolsJob.js.map +1 -1
  14. package/src/plugins/curve/getPoolsTypes.d.ts +6 -2
  15. package/src/plugins/curve/getPoolsTypes.js.map +1 -1
  16. package/src/plugins/curve/getPositionsFetcher.js +9 -14
  17. package/src/plugins/curve/getPositionsFetcher.js.map +1 -1
  18. package/src/plugins/curve/helpers.d.ts +2 -2
  19. package/src/plugins/curve/helpers.js.map +1 -1
  20. package/src/plugins/curve/poolsJob.js +23 -1
  21. package/src/plugins/curve/poolsJob.js.map +1 -1
  22. package/src/plugins/curve/vestingEscrowFetcher.js +5 -4
  23. package/src/plugins/curve/vestingEscrowFetcher.js.map +1 -1
  24. package/src/plugins/curve/votingEscrowFetcher.js +2 -1
  25. package/src/plugins/curve/votingEscrowFetcher.js.map +1 -1
  26. package/src/plugins/maker/abis.d.ts +1692 -0
  27. package/src/plugins/maker/abis.js +1057 -1
  28. package/src/plugins/maker/abis.js.map +1 -1
  29. package/src/plugins/maker/constants.d.ts +5 -0
  30. package/src/plugins/maker/constants.js +6 -1
  31. package/src/plugins/maker/constants.js.map +1 -1
  32. package/src/plugins/maker/index.js +4 -2
  33. package/src/plugins/maker/index.js.map +1 -1
  34. package/src/plugins/maker/type.d.ts +19 -0
  35. package/src/plugins/maker/type.js +3 -0
  36. package/src/plugins/maker/type.js.map +1 -0
  37. package/src/plugins/maker/vaultsFetcher.d.ts +3 -0
  38. package/src/plugins/maker/vaultsFetcher.js +179 -0
  39. package/src/plugins/maker/vaultsFetcher.js.map +1 -0
  40. package/src/plugins/maker/vaultsJob.d.ts +3 -0
  41. package/src/plugins/maker/vaultsJob.js +78 -0
  42. package/src/plugins/maker/vaultsJob.js.map +1 -0
  43. package/src/plugins/top-tokens/forcedAddresses.js +7 -3
  44. package/src/plugins/top-tokens/forcedAddresses.js.map +1 -1
  45. package/src/utils/clients/getEvmWeb3V1Client.d.ts +3 -0
  46. package/src/utils/clients/getEvmWeb3V1Client.js +27 -0
  47. package/src/utils/clients/getEvmWeb3V1Client.js.map +1 -0
  48. package/src/utils/clients/index.d.ts +1 -0
  49. package/src/utils/clients/index.js +3 -1
  50. package/src/utils/clients/index.js.map +1 -1
  51. package/src/utils/evm/getDSA.d.ts +3 -0
  52. package/src/utils/evm/getDSA.js +17 -0
  53. package/src/utils/evm/getDSA.js.map +1 -0
  54. package/src/utils/misc/constants.d.ts +1 -0
  55. package/src/utils/misc/constants.js +5 -0
  56. package/src/utils/misc/constants.js.map +1 -0
  57. package/src/utils/misc/tokenPriceToAssetToken.d.ts +1 -1
  58. package/src/utils/misc/tokenPriceToAssetToken.js +4 -3
  59. package/src/utils/misc/tokenPriceToAssetToken.js.map +1 -1
  60. package/src/utils/misc/tokenPriceToAssetTokens.d.ts +1 -1
  61. package/src/utils/misc/tokenPriceToAssetTokens.js +4 -2
  62. package/src/utils/misc/tokenPriceToAssetTokens.js.map +1 -1
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.potAbi = void 0;
3
+ exports.ilkRegAbi = exports.vatAbi = exports.cdpManagerAbi = exports.proxyRegAbi = exports.potAbi = void 0;
4
4
  exports.potAbi = [
5
5
  {
6
6
  inputs: [{ internalType: 'address', name: 'vat_', type: 'address' }],
@@ -180,4 +180,1060 @@ exports.potAbi = [
180
180
  type: 'function',
181
181
  },
182
182
  ];
183
+ exports.proxyRegAbi = [
184
+ {
185
+ constant: false,
186
+ inputs: [],
187
+ name: 'build',
188
+ outputs: [{ name: 'proxy', type: 'address' }],
189
+ payable: false,
190
+ stateMutability: 'nonpayable',
191
+ type: 'function',
192
+ },
193
+ {
194
+ constant: true,
195
+ inputs: [{ name: '', type: 'address' }],
196
+ name: 'proxies',
197
+ outputs: [{ name: '', type: 'address' }],
198
+ payable: false,
199
+ stateMutability: 'view',
200
+ type: 'function',
201
+ },
202
+ {
203
+ constant: false,
204
+ inputs: [{ name: 'owner', type: 'address' }],
205
+ name: 'build',
206
+ outputs: [{ name: 'proxy', type: 'address' }],
207
+ payable: false,
208
+ stateMutability: 'nonpayable',
209
+ type: 'function',
210
+ },
211
+ {
212
+ inputs: [{ name: 'factory_', type: 'address' }],
213
+ payable: false,
214
+ stateMutability: 'nonpayable',
215
+ type: 'constructor',
216
+ },
217
+ ];
218
+ exports.cdpManagerAbi = [
219
+ {
220
+ inputs: [{ internalType: 'address', name: 'vat_', type: 'address' }],
221
+ payable: false,
222
+ stateMutability: 'nonpayable',
223
+ type: 'constructor',
224
+ },
225
+ {
226
+ anonymous: true,
227
+ inputs: [
228
+ { indexed: true, internalType: 'bytes4', name: 'sig', type: 'bytes4' },
229
+ { indexed: true, internalType: 'address', name: 'usr', type: 'address' },
230
+ { indexed: true, internalType: 'bytes32', name: 'arg1', type: 'bytes32' },
231
+ { indexed: true, internalType: 'bytes32', name: 'arg2', type: 'bytes32' },
232
+ { indexed: false, internalType: 'bytes', name: 'data', type: 'bytes' },
233
+ ],
234
+ name: 'LogNote',
235
+ type: 'event',
236
+ },
237
+ {
238
+ anonymous: false,
239
+ inputs: [
240
+ { indexed: true, internalType: 'address', name: 'usr', type: 'address' },
241
+ { indexed: true, internalType: 'address', name: 'own', type: 'address' },
242
+ { indexed: true, internalType: 'uint256', name: 'cdp', type: 'uint256' },
243
+ ],
244
+ name: 'NewCdp',
245
+ type: 'event',
246
+ },
247
+ {
248
+ constant: false,
249
+ inputs: [
250
+ { internalType: 'uint256', name: 'cdp', type: 'uint256' },
251
+ { internalType: 'address', name: 'usr', type: 'address' },
252
+ { internalType: 'uint256', name: 'ok', type: 'uint256' },
253
+ ],
254
+ name: 'cdpAllow',
255
+ outputs: [],
256
+ payable: false,
257
+ stateMutability: 'nonpayable',
258
+ type: 'function',
259
+ },
260
+ {
261
+ constant: true,
262
+ inputs: [
263
+ { internalType: 'address', name: '', type: 'address' },
264
+ { internalType: 'uint256', name: '', type: 'uint256' },
265
+ { internalType: 'address', name: '', type: 'address' },
266
+ ],
267
+ name: 'cdpCan',
268
+ outputs: [{ internalType: 'uint256', name: '', type: 'uint256' }],
269
+ payable: false,
270
+ stateMutability: 'view',
271
+ type: 'function',
272
+ },
273
+ {
274
+ constant: true,
275
+ inputs: [],
276
+ name: 'cdpi',
277
+ outputs: [{ internalType: 'uint256', name: '', type: 'uint256' }],
278
+ payable: false,
279
+ stateMutability: 'view',
280
+ type: 'function',
281
+ },
282
+ {
283
+ constant: true,
284
+ inputs: [{ internalType: 'address', name: '', type: 'address' }],
285
+ name: 'count',
286
+ outputs: [{ internalType: 'uint256', name: '', type: 'uint256' }],
287
+ payable: false,
288
+ stateMutability: 'view',
289
+ type: 'function',
290
+ },
291
+ {
292
+ constant: false,
293
+ inputs: [
294
+ { internalType: 'address', name: 'src', type: 'address' },
295
+ { internalType: 'uint256', name: 'cdp', type: 'uint256' },
296
+ ],
297
+ name: 'enter',
298
+ outputs: [],
299
+ payable: false,
300
+ stateMutability: 'nonpayable',
301
+ type: 'function',
302
+ },
303
+ {
304
+ constant: true,
305
+ inputs: [{ internalType: 'address', name: '', type: 'address' }],
306
+ name: 'first',
307
+ outputs: [{ internalType: 'uint256', name: '', type: 'uint256' }],
308
+ payable: false,
309
+ stateMutability: 'view',
310
+ type: 'function',
311
+ },
312
+ {
313
+ constant: false,
314
+ inputs: [
315
+ { internalType: 'bytes32', name: 'ilk', type: 'bytes32' },
316
+ { internalType: 'uint256', name: 'cdp', type: 'uint256' },
317
+ { internalType: 'address', name: 'dst', type: 'address' },
318
+ { internalType: 'uint256', name: 'wad', type: 'uint256' },
319
+ ],
320
+ name: 'flux',
321
+ outputs: [],
322
+ payable: false,
323
+ stateMutability: 'nonpayable',
324
+ type: 'function',
325
+ },
326
+ {
327
+ constant: false,
328
+ inputs: [
329
+ { internalType: 'uint256', name: 'cdp', type: 'uint256' },
330
+ { internalType: 'address', name: 'dst', type: 'address' },
331
+ { internalType: 'uint256', name: 'wad', type: 'uint256' },
332
+ ],
333
+ name: 'flux',
334
+ outputs: [],
335
+ payable: false,
336
+ stateMutability: 'nonpayable',
337
+ type: 'function',
338
+ },
339
+ {
340
+ constant: false,
341
+ inputs: [
342
+ { internalType: 'uint256', name: 'cdp', type: 'uint256' },
343
+ { internalType: 'int256', name: 'dink', type: 'int256' },
344
+ { internalType: 'int256', name: 'dart', type: 'int256' },
345
+ ],
346
+ name: 'frob',
347
+ outputs: [],
348
+ payable: false,
349
+ stateMutability: 'nonpayable',
350
+ type: 'function',
351
+ },
352
+ {
353
+ constant: false,
354
+ inputs: [
355
+ { internalType: 'uint256', name: 'cdp', type: 'uint256' },
356
+ { internalType: 'address', name: 'dst', type: 'address' },
357
+ ],
358
+ name: 'give',
359
+ outputs: [],
360
+ payable: false,
361
+ stateMutability: 'nonpayable',
362
+ type: 'function',
363
+ },
364
+ {
365
+ constant: true,
366
+ inputs: [{ internalType: 'uint256', name: '', type: 'uint256' }],
367
+ name: 'ilks',
368
+ outputs: [{ internalType: 'bytes32', name: '', type: 'bytes32' }],
369
+ payable: false,
370
+ stateMutability: 'view',
371
+ type: 'function',
372
+ },
373
+ {
374
+ constant: true,
375
+ inputs: [{ internalType: 'address', name: '', type: 'address' }],
376
+ name: 'last',
377
+ outputs: [{ internalType: 'uint256', name: '', type: 'uint256' }],
378
+ payable: false,
379
+ stateMutability: 'view',
380
+ type: 'function',
381
+ },
382
+ {
383
+ constant: true,
384
+ inputs: [{ internalType: 'uint256', name: '', type: 'uint256' }],
385
+ name: 'list',
386
+ outputs: [
387
+ { internalType: 'uint256', name: 'prev', type: 'uint256' },
388
+ { internalType: 'uint256', name: 'next', type: 'uint256' },
389
+ ],
390
+ payable: false,
391
+ stateMutability: 'view',
392
+ type: 'function',
393
+ },
394
+ {
395
+ constant: false,
396
+ inputs: [
397
+ { internalType: 'uint256', name: 'cdp', type: 'uint256' },
398
+ { internalType: 'address', name: 'dst', type: 'address' },
399
+ { internalType: 'uint256', name: 'rad', type: 'uint256' },
400
+ ],
401
+ name: 'move',
402
+ outputs: [],
403
+ payable: false,
404
+ stateMutability: 'nonpayable',
405
+ type: 'function',
406
+ },
407
+ {
408
+ constant: false,
409
+ inputs: [
410
+ { internalType: 'bytes32', name: 'ilk', type: 'bytes32' },
411
+ { internalType: 'address', name: 'usr', type: 'address' },
412
+ ],
413
+ name: 'open',
414
+ outputs: [{ internalType: 'uint256', name: '', type: 'uint256' }],
415
+ payable: false,
416
+ stateMutability: 'nonpayable',
417
+ type: 'function',
418
+ },
419
+ {
420
+ constant: true,
421
+ inputs: [{ internalType: 'uint256', name: '', type: 'uint256' }],
422
+ name: 'owns',
423
+ outputs: [{ internalType: 'address', name: '', type: 'address' }],
424
+ payable: false,
425
+ stateMutability: 'view',
426
+ type: 'function',
427
+ },
428
+ {
429
+ constant: false,
430
+ inputs: [
431
+ { internalType: 'uint256', name: 'cdp', type: 'uint256' },
432
+ { internalType: 'address', name: 'dst', type: 'address' },
433
+ ],
434
+ name: 'quit',
435
+ outputs: [],
436
+ payable: false,
437
+ stateMutability: 'nonpayable',
438
+ type: 'function',
439
+ },
440
+ {
441
+ constant: false,
442
+ inputs: [
443
+ { internalType: 'uint256', name: 'cdpSrc', type: 'uint256' },
444
+ { internalType: 'uint256', name: 'cdpDst', type: 'uint256' },
445
+ ],
446
+ name: 'shift',
447
+ outputs: [],
448
+ payable: false,
449
+ stateMutability: 'nonpayable',
450
+ type: 'function',
451
+ },
452
+ {
453
+ constant: false,
454
+ inputs: [
455
+ { internalType: 'address', name: 'usr', type: 'address' },
456
+ { internalType: 'uint256', name: 'ok', type: 'uint256' },
457
+ ],
458
+ name: 'urnAllow',
459
+ outputs: [],
460
+ payable: false,
461
+ stateMutability: 'nonpayable',
462
+ type: 'function',
463
+ },
464
+ {
465
+ constant: true,
466
+ inputs: [
467
+ { internalType: 'address', name: '', type: 'address' },
468
+ { internalType: 'address', name: '', type: 'address' },
469
+ ],
470
+ name: 'urnCan',
471
+ outputs: [{ internalType: 'uint256', name: '', type: 'uint256' }],
472
+ payable: false,
473
+ stateMutability: 'view',
474
+ type: 'function',
475
+ },
476
+ {
477
+ constant: true,
478
+ inputs: [{ internalType: 'uint256', name: '', type: 'uint256' }],
479
+ name: 'urns',
480
+ outputs: [{ internalType: 'address', name: '', type: 'address' }],
481
+ payable: false,
482
+ stateMutability: 'view',
483
+ type: 'function',
484
+ },
485
+ {
486
+ constant: true,
487
+ inputs: [],
488
+ name: 'vat',
489
+ outputs: [{ internalType: 'address', name: '', type: 'address' }],
490
+ payable: false,
491
+ stateMutability: 'view',
492
+ type: 'function',
493
+ },
494
+ ];
495
+ exports.vatAbi = [
496
+ {
497
+ inputs: [],
498
+ payable: false,
499
+ stateMutability: 'nonpayable',
500
+ type: 'constructor',
501
+ },
502
+ {
503
+ anonymous: true,
504
+ inputs: [
505
+ { indexed: true, internalType: 'bytes4', name: 'sig', type: 'bytes4' },
506
+ { indexed: true, internalType: 'bytes32', name: 'arg1', type: 'bytes32' },
507
+ { indexed: true, internalType: 'bytes32', name: 'arg2', type: 'bytes32' },
508
+ { indexed: true, internalType: 'bytes32', name: 'arg3', type: 'bytes32' },
509
+ { indexed: false, internalType: 'bytes', name: 'data', type: 'bytes' },
510
+ ],
511
+ name: 'LogNote',
512
+ type: 'event',
513
+ },
514
+ {
515
+ constant: true,
516
+ inputs: [],
517
+ name: 'Line',
518
+ outputs: [{ internalType: 'uint256', name: '', type: 'uint256' }],
519
+ payable: false,
520
+ stateMutability: 'view',
521
+ type: 'function',
522
+ },
523
+ {
524
+ constant: false,
525
+ inputs: [],
526
+ name: 'cage',
527
+ outputs: [],
528
+ payable: false,
529
+ stateMutability: 'nonpayable',
530
+ type: 'function',
531
+ },
532
+ {
533
+ constant: true,
534
+ inputs: [
535
+ { internalType: 'address', name: '', type: 'address' },
536
+ { internalType: 'address', name: '', type: 'address' },
537
+ ],
538
+ name: 'can',
539
+ outputs: [{ internalType: 'uint256', name: '', type: 'uint256' }],
540
+ payable: false,
541
+ stateMutability: 'view',
542
+ type: 'function',
543
+ },
544
+ {
545
+ constant: true,
546
+ inputs: [{ internalType: 'address', name: '', type: 'address' }],
547
+ name: 'dai',
548
+ outputs: [{ internalType: 'uint256', name: '', type: 'uint256' }],
549
+ payable: false,
550
+ stateMutability: 'view',
551
+ type: 'function',
552
+ },
553
+ {
554
+ constant: true,
555
+ inputs: [],
556
+ name: 'debt',
557
+ outputs: [{ internalType: 'uint256', name: '', type: 'uint256' }],
558
+ payable: false,
559
+ stateMutability: 'view',
560
+ type: 'function',
561
+ },
562
+ {
563
+ constant: false,
564
+ inputs: [{ internalType: 'address', name: 'usr', type: 'address' }],
565
+ name: 'deny',
566
+ outputs: [],
567
+ payable: false,
568
+ stateMutability: 'nonpayable',
569
+ type: 'function',
570
+ },
571
+ {
572
+ constant: false,
573
+ inputs: [
574
+ { internalType: 'bytes32', name: 'ilk', type: 'bytes32' },
575
+ { internalType: 'bytes32', name: 'what', type: 'bytes32' },
576
+ { internalType: 'uint256', name: 'data', type: 'uint256' },
577
+ ],
578
+ name: 'file',
579
+ outputs: [],
580
+ payable: false,
581
+ stateMutability: 'nonpayable',
582
+ type: 'function',
583
+ },
584
+ {
585
+ constant: false,
586
+ inputs: [
587
+ { internalType: 'bytes32', name: 'what', type: 'bytes32' },
588
+ { internalType: 'uint256', name: 'data', type: 'uint256' },
589
+ ],
590
+ name: 'file',
591
+ outputs: [],
592
+ payable: false,
593
+ stateMutability: 'nonpayable',
594
+ type: 'function',
595
+ },
596
+ {
597
+ constant: false,
598
+ inputs: [
599
+ { internalType: 'bytes32', name: 'ilk', type: 'bytes32' },
600
+ { internalType: 'address', name: 'src', type: 'address' },
601
+ { internalType: 'address', name: 'dst', type: 'address' },
602
+ { internalType: 'uint256', name: 'wad', type: 'uint256' },
603
+ ],
604
+ name: 'flux',
605
+ outputs: [],
606
+ payable: false,
607
+ stateMutability: 'nonpayable',
608
+ type: 'function',
609
+ },
610
+ {
611
+ constant: false,
612
+ inputs: [
613
+ { internalType: 'bytes32', name: 'i', type: 'bytes32' },
614
+ { internalType: 'address', name: 'u', type: 'address' },
615
+ { internalType: 'int256', name: 'rate', type: 'int256' },
616
+ ],
617
+ name: 'fold',
618
+ outputs: [],
619
+ payable: false,
620
+ stateMutability: 'nonpayable',
621
+ type: 'function',
622
+ },
623
+ {
624
+ constant: false,
625
+ inputs: [
626
+ { internalType: 'bytes32', name: 'ilk', type: 'bytes32' },
627
+ { internalType: 'address', name: 'src', type: 'address' },
628
+ { internalType: 'address', name: 'dst', type: 'address' },
629
+ { internalType: 'int256', name: 'dink', type: 'int256' },
630
+ { internalType: 'int256', name: 'dart', type: 'int256' },
631
+ ],
632
+ name: 'fork',
633
+ outputs: [],
634
+ payable: false,
635
+ stateMutability: 'nonpayable',
636
+ type: 'function',
637
+ },
638
+ {
639
+ constant: false,
640
+ inputs: [
641
+ { internalType: 'bytes32', name: 'i', type: 'bytes32' },
642
+ { internalType: 'address', name: 'u', type: 'address' },
643
+ { internalType: 'address', name: 'v', type: 'address' },
644
+ { internalType: 'address', name: 'w', type: 'address' },
645
+ { internalType: 'int256', name: 'dink', type: 'int256' },
646
+ { internalType: 'int256', name: 'dart', type: 'int256' },
647
+ ],
648
+ name: 'frob',
649
+ outputs: [],
650
+ payable: false,
651
+ stateMutability: 'nonpayable',
652
+ type: 'function',
653
+ },
654
+ {
655
+ constant: true,
656
+ inputs: [
657
+ { internalType: 'bytes32', name: '', type: 'bytes32' },
658
+ { internalType: 'address', name: '', type: 'address' },
659
+ ],
660
+ name: 'gem',
661
+ outputs: [{ internalType: 'uint256', name: '', type: 'uint256' }],
662
+ payable: false,
663
+ stateMutability: 'view',
664
+ type: 'function',
665
+ },
666
+ {
667
+ constant: false,
668
+ inputs: [
669
+ { internalType: 'bytes32', name: 'i', type: 'bytes32' },
670
+ { internalType: 'address', name: 'u', type: 'address' },
671
+ { internalType: 'address', name: 'v', type: 'address' },
672
+ { internalType: 'address', name: 'w', type: 'address' },
673
+ { internalType: 'int256', name: 'dink', type: 'int256' },
674
+ { internalType: 'int256', name: 'dart', type: 'int256' },
675
+ ],
676
+ name: 'grab',
677
+ outputs: [],
678
+ payable: false,
679
+ stateMutability: 'nonpayable',
680
+ type: 'function',
681
+ },
682
+ {
683
+ constant: false,
684
+ inputs: [{ internalType: 'uint256', name: 'rad', type: 'uint256' }],
685
+ name: 'heal',
686
+ outputs: [],
687
+ payable: false,
688
+ stateMutability: 'nonpayable',
689
+ type: 'function',
690
+ },
691
+ {
692
+ constant: false,
693
+ inputs: [{ internalType: 'address', name: 'usr', type: 'address' }],
694
+ name: 'hope',
695
+ outputs: [],
696
+ payable: false,
697
+ stateMutability: 'nonpayable',
698
+ type: 'function',
699
+ },
700
+ {
701
+ constant: true,
702
+ inputs: [{ internalType: 'bytes32', name: '', type: 'bytes32' }],
703
+ name: 'ilks',
704
+ outputs: [
705
+ { internalType: 'uint256', name: 'Art', type: 'uint256' },
706
+ { internalType: 'uint256', name: 'rate', type: 'uint256' },
707
+ { internalType: 'uint256', name: 'spot', type: 'uint256' },
708
+ { internalType: 'uint256', name: 'line', type: 'uint256' },
709
+ { internalType: 'uint256', name: 'dust', type: 'uint256' },
710
+ ],
711
+ payable: false,
712
+ stateMutability: 'view',
713
+ type: 'function',
714
+ },
715
+ {
716
+ constant: false,
717
+ inputs: [{ internalType: 'bytes32', name: 'ilk', type: 'bytes32' }],
718
+ name: 'init',
719
+ outputs: [],
720
+ payable: false,
721
+ stateMutability: 'nonpayable',
722
+ type: 'function',
723
+ },
724
+ {
725
+ constant: true,
726
+ inputs: [],
727
+ name: 'live',
728
+ outputs: [{ internalType: 'uint256', name: '', type: 'uint256' }],
729
+ payable: false,
730
+ stateMutability: 'view',
731
+ type: 'function',
732
+ },
733
+ {
734
+ constant: false,
735
+ inputs: [
736
+ { internalType: 'address', name: 'src', type: 'address' },
737
+ { internalType: 'address', name: 'dst', type: 'address' },
738
+ { internalType: 'uint256', name: 'rad', type: 'uint256' },
739
+ ],
740
+ name: 'move',
741
+ outputs: [],
742
+ payable: false,
743
+ stateMutability: 'nonpayable',
744
+ type: 'function',
745
+ },
746
+ {
747
+ constant: false,
748
+ inputs: [{ internalType: 'address', name: 'usr', type: 'address' }],
749
+ name: 'nope',
750
+ outputs: [],
751
+ payable: false,
752
+ stateMutability: 'nonpayable',
753
+ type: 'function',
754
+ },
755
+ {
756
+ constant: false,
757
+ inputs: [{ internalType: 'address', name: 'usr', type: 'address' }],
758
+ name: 'rely',
759
+ outputs: [],
760
+ payable: false,
761
+ stateMutability: 'nonpayable',
762
+ type: 'function',
763
+ },
764
+ {
765
+ constant: true,
766
+ inputs: [{ internalType: 'address', name: '', type: 'address' }],
767
+ name: 'sin',
768
+ outputs: [{ internalType: 'uint256', name: '', type: 'uint256' }],
769
+ payable: false,
770
+ stateMutability: 'view',
771
+ type: 'function',
772
+ },
773
+ {
774
+ constant: false,
775
+ inputs: [
776
+ { internalType: 'bytes32', name: 'ilk', type: 'bytes32' },
777
+ { internalType: 'address', name: 'usr', type: 'address' },
778
+ { internalType: 'int256', name: 'wad', type: 'int256' },
779
+ ],
780
+ name: 'slip',
781
+ outputs: [],
782
+ payable: false,
783
+ stateMutability: 'nonpayable',
784
+ type: 'function',
785
+ },
786
+ {
787
+ constant: false,
788
+ inputs: [
789
+ { internalType: 'address', name: 'u', type: 'address' },
790
+ { internalType: 'address', name: 'v', type: 'address' },
791
+ { internalType: 'uint256', name: 'rad', type: 'uint256' },
792
+ ],
793
+ name: 'suck',
794
+ outputs: [],
795
+ payable: false,
796
+ stateMutability: 'nonpayable',
797
+ type: 'function',
798
+ },
799
+ {
800
+ constant: true,
801
+ inputs: [
802
+ { internalType: 'bytes32', name: '', type: 'bytes32' },
803
+ { internalType: 'address', name: '', type: 'address' },
804
+ ],
805
+ name: 'urns',
806
+ outputs: [
807
+ { internalType: 'uint256', name: 'ink', type: 'uint256' },
808
+ { internalType: 'uint256', name: 'art', type: 'uint256' },
809
+ ],
810
+ payable: false,
811
+ stateMutability: 'view',
812
+ type: 'function',
813
+ },
814
+ {
815
+ constant: true,
816
+ inputs: [],
817
+ name: 'vice',
818
+ outputs: [{ internalType: 'uint256', name: '', type: 'uint256' }],
819
+ payable: false,
820
+ stateMutability: 'view',
821
+ type: 'function',
822
+ },
823
+ {
824
+ constant: true,
825
+ inputs: [{ internalType: 'address', name: '', type: 'address' }],
826
+ name: 'wards',
827
+ outputs: [{ internalType: 'uint256', name: '', type: 'uint256' }],
828
+ payable: false,
829
+ stateMutability: 'view',
830
+ type: 'function',
831
+ },
832
+ ];
833
+ exports.ilkRegAbi = [
834
+ {
835
+ inputs: [
836
+ { internalType: 'address', name: 'vat_', type: 'address' },
837
+ { internalType: 'address', name: 'dog_', type: 'address' },
838
+ { internalType: 'address', name: 'cat_', type: 'address' },
839
+ { internalType: 'address', name: 'spot_', type: 'address' },
840
+ ],
841
+ stateMutability: 'nonpayable',
842
+ type: 'constructor',
843
+ },
844
+ {
845
+ anonymous: false,
846
+ inputs: [
847
+ { indexed: false, internalType: 'bytes32', name: 'ilk', type: 'bytes32' },
848
+ ],
849
+ name: 'AddIlk',
850
+ type: 'event',
851
+ },
852
+ {
853
+ anonymous: false,
854
+ inputs: [
855
+ { indexed: false, internalType: 'address', name: 'usr', type: 'address' },
856
+ ],
857
+ name: 'Deny',
858
+ type: 'event',
859
+ },
860
+ {
861
+ anonymous: false,
862
+ inputs: [
863
+ {
864
+ indexed: false,
865
+ internalType: 'bytes32',
866
+ name: 'what',
867
+ type: 'bytes32',
868
+ },
869
+ {
870
+ indexed: false,
871
+ internalType: 'address',
872
+ name: 'data',
873
+ type: 'address',
874
+ },
875
+ ],
876
+ name: 'File',
877
+ type: 'event',
878
+ },
879
+ {
880
+ anonymous: false,
881
+ inputs: [
882
+ { indexed: false, internalType: 'bytes32', name: 'ilk', type: 'bytes32' },
883
+ {
884
+ indexed: false,
885
+ internalType: 'bytes32',
886
+ name: 'what',
887
+ type: 'bytes32',
888
+ },
889
+ {
890
+ indexed: false,
891
+ internalType: 'address',
892
+ name: 'data',
893
+ type: 'address',
894
+ },
895
+ ],
896
+ name: 'File',
897
+ type: 'event',
898
+ },
899
+ {
900
+ anonymous: false,
901
+ inputs: [
902
+ { indexed: false, internalType: 'bytes32', name: 'ilk', type: 'bytes32' },
903
+ {
904
+ indexed: false,
905
+ internalType: 'bytes32',
906
+ name: 'what',
907
+ type: 'bytes32',
908
+ },
909
+ {
910
+ indexed: false,
911
+ internalType: 'uint256',
912
+ name: 'data',
913
+ type: 'uint256',
914
+ },
915
+ ],
916
+ name: 'File',
917
+ type: 'event',
918
+ },
919
+ {
920
+ anonymous: false,
921
+ inputs: [
922
+ { indexed: false, internalType: 'bytes32', name: 'ilk', type: 'bytes32' },
923
+ {
924
+ indexed: false,
925
+ internalType: 'bytes32',
926
+ name: 'what',
927
+ type: 'bytes32',
928
+ },
929
+ { indexed: false, internalType: 'string', name: 'data', type: 'string' },
930
+ ],
931
+ name: 'File',
932
+ type: 'event',
933
+ },
934
+ {
935
+ anonymous: false,
936
+ inputs: [
937
+ { indexed: false, internalType: 'bytes32', name: 'ilk', type: 'bytes32' },
938
+ ],
939
+ name: 'NameError',
940
+ type: 'event',
941
+ },
942
+ {
943
+ anonymous: false,
944
+ inputs: [
945
+ { indexed: false, internalType: 'address', name: 'usr', type: 'address' },
946
+ ],
947
+ name: 'Rely',
948
+ type: 'event',
949
+ },
950
+ {
951
+ anonymous: false,
952
+ inputs: [
953
+ { indexed: false, internalType: 'bytes32', name: 'ilk', type: 'bytes32' },
954
+ ],
955
+ name: 'RemoveIlk',
956
+ type: 'event',
957
+ },
958
+ {
959
+ anonymous: false,
960
+ inputs: [
961
+ { indexed: false, internalType: 'bytes32', name: 'ilk', type: 'bytes32' },
962
+ ],
963
+ name: 'SymbolError',
964
+ type: 'event',
965
+ },
966
+ {
967
+ anonymous: false,
968
+ inputs: [
969
+ { indexed: false, internalType: 'bytes32', name: 'ilk', type: 'bytes32' },
970
+ ],
971
+ name: 'UpdateIlk',
972
+ type: 'event',
973
+ },
974
+ {
975
+ inputs: [{ internalType: 'address', name: 'adapter', type: 'address' }],
976
+ name: 'add',
977
+ outputs: [],
978
+ stateMutability: 'nonpayable',
979
+ type: 'function',
980
+ },
981
+ {
982
+ inputs: [],
983
+ name: 'cat',
984
+ outputs: [{ internalType: 'contract CatLike', name: '', type: 'address' }],
985
+ stateMutability: 'view',
986
+ type: 'function',
987
+ },
988
+ {
989
+ inputs: [{ internalType: 'bytes32', name: 'ilk', type: 'bytes32' }],
990
+ name: 'class',
991
+ outputs: [{ internalType: 'uint256', name: '', type: 'uint256' }],
992
+ stateMutability: 'view',
993
+ type: 'function',
994
+ },
995
+ {
996
+ inputs: [],
997
+ name: 'count',
998
+ outputs: [{ internalType: 'uint256', name: '', type: 'uint256' }],
999
+ stateMutability: 'view',
1000
+ type: 'function',
1001
+ },
1002
+ {
1003
+ inputs: [{ internalType: 'bytes32', name: 'ilk', type: 'bytes32' }],
1004
+ name: 'dec',
1005
+ outputs: [{ internalType: 'uint256', name: '', type: 'uint256' }],
1006
+ stateMutability: 'view',
1007
+ type: 'function',
1008
+ },
1009
+ {
1010
+ inputs: [{ internalType: 'address', name: 'usr', type: 'address' }],
1011
+ name: 'deny',
1012
+ outputs: [],
1013
+ stateMutability: 'nonpayable',
1014
+ type: 'function',
1015
+ },
1016
+ {
1017
+ inputs: [],
1018
+ name: 'dog',
1019
+ outputs: [{ internalType: 'contract DogLike', name: '', type: 'address' }],
1020
+ stateMutability: 'view',
1021
+ type: 'function',
1022
+ },
1023
+ {
1024
+ inputs: [
1025
+ { internalType: 'bytes32', name: 'ilk', type: 'bytes32' },
1026
+ { internalType: 'bytes32', name: 'what', type: 'bytes32' },
1027
+ { internalType: 'uint256', name: 'data', type: 'uint256' },
1028
+ ],
1029
+ name: 'file',
1030
+ outputs: [],
1031
+ stateMutability: 'nonpayable',
1032
+ type: 'function',
1033
+ },
1034
+ {
1035
+ inputs: [
1036
+ { internalType: 'bytes32', name: 'ilk', type: 'bytes32' },
1037
+ { internalType: 'bytes32', name: 'what', type: 'bytes32' },
1038
+ { internalType: 'string', name: 'data', type: 'string' },
1039
+ ],
1040
+ name: 'file',
1041
+ outputs: [],
1042
+ stateMutability: 'nonpayable',
1043
+ type: 'function',
1044
+ },
1045
+ {
1046
+ inputs: [
1047
+ { internalType: 'bytes32', name: 'what', type: 'bytes32' },
1048
+ { internalType: 'address', name: 'data', type: 'address' },
1049
+ ],
1050
+ name: 'file',
1051
+ outputs: [],
1052
+ stateMutability: 'nonpayable',
1053
+ type: 'function',
1054
+ },
1055
+ {
1056
+ inputs: [
1057
+ { internalType: 'bytes32', name: 'ilk', type: 'bytes32' },
1058
+ { internalType: 'bytes32', name: 'what', type: 'bytes32' },
1059
+ { internalType: 'address', name: 'data', type: 'address' },
1060
+ ],
1061
+ name: 'file',
1062
+ outputs: [],
1063
+ stateMutability: 'nonpayable',
1064
+ type: 'function',
1065
+ },
1066
+ {
1067
+ inputs: [{ internalType: 'bytes32', name: 'ilk', type: 'bytes32' }],
1068
+ name: 'gem',
1069
+ outputs: [{ internalType: 'address', name: '', type: 'address' }],
1070
+ stateMutability: 'view',
1071
+ type: 'function',
1072
+ },
1073
+ {
1074
+ inputs: [{ internalType: 'uint256', name: 'pos', type: 'uint256' }],
1075
+ name: 'get',
1076
+ outputs: [{ internalType: 'bytes32', name: '', type: 'bytes32' }],
1077
+ stateMutability: 'view',
1078
+ type: 'function',
1079
+ },
1080
+ {
1081
+ inputs: [{ internalType: 'bytes32', name: '', type: 'bytes32' }],
1082
+ name: 'ilkData',
1083
+ outputs: [
1084
+ { internalType: 'uint96', name: 'pos', type: 'uint96' },
1085
+ { internalType: 'address', name: 'join', type: 'address' },
1086
+ { internalType: 'address', name: 'gem', type: 'address' },
1087
+ { internalType: 'uint8', name: 'dec', type: 'uint8' },
1088
+ { internalType: 'uint96', name: 'class', type: 'uint96' },
1089
+ { internalType: 'address', name: 'pip', type: 'address' },
1090
+ { internalType: 'address', name: 'xlip', type: 'address' },
1091
+ { internalType: 'string', name: 'name', type: 'string' },
1092
+ { internalType: 'string', name: 'symbol', type: 'string' },
1093
+ ],
1094
+ stateMutability: 'view',
1095
+ type: 'function',
1096
+ },
1097
+ {
1098
+ inputs: [{ internalType: 'bytes32', name: 'ilk', type: 'bytes32' }],
1099
+ name: 'info',
1100
+ outputs: [
1101
+ { internalType: 'string', name: 'name', type: 'string' },
1102
+ { internalType: 'string', name: 'symbol', type: 'string' },
1103
+ { internalType: 'uint256', name: 'class', type: 'uint256' },
1104
+ { internalType: 'uint256', name: 'dec', type: 'uint256' },
1105
+ { internalType: 'address', name: 'gem', type: 'address' },
1106
+ { internalType: 'address', name: 'pip', type: 'address' },
1107
+ { internalType: 'address', name: 'join', type: 'address' },
1108
+ { internalType: 'address', name: 'xlip', type: 'address' },
1109
+ ],
1110
+ stateMutability: 'view',
1111
+ type: 'function',
1112
+ },
1113
+ {
1114
+ inputs: [{ internalType: 'bytes32', name: 'ilk', type: 'bytes32' }],
1115
+ name: 'join',
1116
+ outputs: [{ internalType: 'address', name: '', type: 'address' }],
1117
+ stateMutability: 'view',
1118
+ type: 'function',
1119
+ },
1120
+ {
1121
+ inputs: [],
1122
+ name: 'list',
1123
+ outputs: [{ internalType: 'bytes32[]', name: '', type: 'bytes32[]' }],
1124
+ stateMutability: 'view',
1125
+ type: 'function',
1126
+ },
1127
+ {
1128
+ inputs: [
1129
+ { internalType: 'uint256', name: 'start', type: 'uint256' },
1130
+ { internalType: 'uint256', name: 'end', type: 'uint256' },
1131
+ ],
1132
+ name: 'list',
1133
+ outputs: [{ internalType: 'bytes32[]', name: '', type: 'bytes32[]' }],
1134
+ stateMutability: 'view',
1135
+ type: 'function',
1136
+ },
1137
+ {
1138
+ inputs: [{ internalType: 'bytes32', name: 'ilk', type: 'bytes32' }],
1139
+ name: 'name',
1140
+ outputs: [{ internalType: 'string', name: '', type: 'string' }],
1141
+ stateMutability: 'view',
1142
+ type: 'function',
1143
+ },
1144
+ {
1145
+ inputs: [{ internalType: 'bytes32', name: 'ilk', type: 'bytes32' }],
1146
+ name: 'pip',
1147
+ outputs: [{ internalType: 'address', name: '', type: 'address' }],
1148
+ stateMutability: 'view',
1149
+ type: 'function',
1150
+ },
1151
+ {
1152
+ inputs: [{ internalType: 'bytes32', name: 'ilk', type: 'bytes32' }],
1153
+ name: 'pos',
1154
+ outputs: [{ internalType: 'uint256', name: '', type: 'uint256' }],
1155
+ stateMutability: 'view',
1156
+ type: 'function',
1157
+ },
1158
+ {
1159
+ inputs: [
1160
+ { internalType: 'bytes32', name: '_ilk', type: 'bytes32' },
1161
+ { internalType: 'address', name: '_join', type: 'address' },
1162
+ { internalType: 'address', name: '_gem', type: 'address' },
1163
+ { internalType: 'uint256', name: '_dec', type: 'uint256' },
1164
+ { internalType: 'uint256', name: '_class', type: 'uint256' },
1165
+ { internalType: 'address', name: '_pip', type: 'address' },
1166
+ { internalType: 'address', name: '_xlip', type: 'address' },
1167
+ { internalType: 'string', name: '_name', type: 'string' },
1168
+ { internalType: 'string', name: '_symbol', type: 'string' },
1169
+ ],
1170
+ name: 'put',
1171
+ outputs: [],
1172
+ stateMutability: 'nonpayable',
1173
+ type: 'function',
1174
+ },
1175
+ {
1176
+ inputs: [{ internalType: 'address', name: 'usr', type: 'address' }],
1177
+ name: 'rely',
1178
+ outputs: [],
1179
+ stateMutability: 'nonpayable',
1180
+ type: 'function',
1181
+ },
1182
+ {
1183
+ inputs: [{ internalType: 'bytes32', name: 'ilk', type: 'bytes32' }],
1184
+ name: 'remove',
1185
+ outputs: [],
1186
+ stateMutability: 'nonpayable',
1187
+ type: 'function',
1188
+ },
1189
+ {
1190
+ inputs: [{ internalType: 'bytes32', name: 'ilk', type: 'bytes32' }],
1191
+ name: 'removeAuth',
1192
+ outputs: [],
1193
+ stateMutability: 'nonpayable',
1194
+ type: 'function',
1195
+ },
1196
+ {
1197
+ inputs: [],
1198
+ name: 'spot',
1199
+ outputs: [{ internalType: 'contract SpotLike', name: '', type: 'address' }],
1200
+ stateMutability: 'view',
1201
+ type: 'function',
1202
+ },
1203
+ {
1204
+ inputs: [{ internalType: 'bytes32', name: 'ilk', type: 'bytes32' }],
1205
+ name: 'symbol',
1206
+ outputs: [{ internalType: 'string', name: '', type: 'string' }],
1207
+ stateMutability: 'view',
1208
+ type: 'function',
1209
+ },
1210
+ {
1211
+ inputs: [{ internalType: 'bytes32', name: 'ilk', type: 'bytes32' }],
1212
+ name: 'update',
1213
+ outputs: [],
1214
+ stateMutability: 'nonpayable',
1215
+ type: 'function',
1216
+ },
1217
+ {
1218
+ inputs: [],
1219
+ name: 'vat',
1220
+ outputs: [{ internalType: 'contract VatLike', name: '', type: 'address' }],
1221
+ stateMutability: 'view',
1222
+ type: 'function',
1223
+ },
1224
+ {
1225
+ inputs: [{ internalType: 'address', name: '', type: 'address' }],
1226
+ name: 'wards',
1227
+ outputs: [{ internalType: 'uint256', name: '', type: 'uint256' }],
1228
+ stateMutability: 'view',
1229
+ type: 'function',
1230
+ },
1231
+ {
1232
+ inputs: [{ internalType: 'bytes32', name: 'ilk', type: 'bytes32' }],
1233
+ name: 'xlip',
1234
+ outputs: [{ internalType: 'address', name: '', type: 'address' }],
1235
+ stateMutability: 'view',
1236
+ type: 'function',
1237
+ },
1238
+ ];
183
1239
  //# sourceMappingURL=abis.js.map