@usdu-finance/usdu-core 0.0.2 → 0.0.4

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/index.js CHANGED
@@ -22,6 +22,9 @@ var exports_exports = {};
22
22
  __export(exports_exports, {
23
23
  ADDRESS: () => ADDRESS,
24
24
  AggregatorV3Interface_ABI: () => AggregatorV3Interface_ABI,
25
+ AragonDelayedAction_ABI: () => AragonDelayedAction_ABI,
26
+ AragonMultiSig_ABI: () => AragonMultiSig_ABI,
27
+ AragonVetoMultiSig_ABI: () => AragonVetoMultiSig_ABI,
25
28
  ChainMain: () => ChainMain,
26
29
  ChainSide: () => ChainSide,
27
30
  CurveAdapterV1_1_ABI: () => CurveAdapterV1_1_ABI,
@@ -117,6 +120,9 @@ var ADDRESS = {
117
120
  chainSelector: "5009297550715157269",
118
121
  // curator / DAO
119
122
  curator: "0x9fe66037c44236c87D9Ac8345F489b4413fDFf06",
123
+ aragonMultiSig: "0x369C21c8cB56C0211772F003c917b2807204BB4D",
124
+ aragonDelayedAction: "0x8E8Bec995809bF29712C89149603a8C48329aF51",
125
+ aragonVetoMultiSig: "0xF786531776903BaE94A1A4f4F17a0233dca5f9d5",
120
126
  // deployer and stable
121
127
  usduDeployer: "0x745211a1e1a58b2b11b932855b30d411c31e25d5",
122
128
  usduStable: "0xdde3ec717f220fc6a29d6a4be73f91da5b718e55",
@@ -236,6 +242,2064 @@ var SupportedChainsMap = {
236
242
  };
237
243
  var SupportedChainIds = Object.values(SupportedChains).map((chain) => chain.id);
238
244
 
245
+ // exports/abis/aragon/AragonMultiSig.ts
246
+ var AragonMultiSig_ABI = [
247
+ {
248
+ inputs: [
249
+ { internalType: "uint16", name: "limit", type: "uint16" },
250
+ { internalType: "uint256", name: "actual", type: "uint256" }
251
+ ],
252
+ name: "AddresslistLengthOutOfBounds",
253
+ type: "error"
254
+ },
255
+ { inputs: [], name: "AlreadyInitialized", type: "error" },
256
+ {
257
+ inputs: [
258
+ { internalType: "uint256", name: "proposalId", type: "uint256" },
259
+ { internalType: "address", name: "sender", type: "address" }
260
+ ],
261
+ name: "ApprovalCastForbidden",
262
+ type: "error"
263
+ },
264
+ {
265
+ inputs: [
266
+ { internalType: "address", name: "dao", type: "address" },
267
+ { internalType: "address", name: "where", type: "address" },
268
+ { internalType: "address", name: "who", type: "address" },
269
+ { internalType: "bytes32", name: "permissionId", type: "bytes32" }
270
+ ],
271
+ name: "DaoUnauthorized",
272
+ type: "error"
273
+ },
274
+ {
275
+ inputs: [
276
+ { internalType: "uint64", name: "limit", type: "uint64" },
277
+ { internalType: "uint64", name: "actual", type: "uint64" }
278
+ ],
279
+ name: "DateOutOfBounds",
280
+ type: "error"
281
+ },
282
+ { inputs: [], name: "DelegateCallFailed", type: "error" },
283
+ { inputs: [], name: "FunctionDeprecated", type: "error" },
284
+ { inputs: [{ internalType: "address", name: "member", type: "address" }], name: "InvalidAddresslistUpdate", type: "error" },
285
+ {
286
+ inputs: [
287
+ {
288
+ components: [
289
+ { internalType: "address", name: "target", type: "address" },
290
+ { internalType: "enum IPlugin.Operation", name: "operation", type: "uint8" }
291
+ ],
292
+ internalType: "struct IPlugin.TargetConfig",
293
+ name: "targetConfig",
294
+ type: "tuple"
295
+ }
296
+ ],
297
+ name: "InvalidTargetConfig",
298
+ type: "error"
299
+ },
300
+ {
301
+ inputs: [
302
+ { internalType: "uint16", name: "limit", type: "uint16" },
303
+ { internalType: "uint16", name: "actual", type: "uint16" }
304
+ ],
305
+ name: "MinApprovalsOutOfBounds",
306
+ type: "error"
307
+ },
308
+ { inputs: [{ internalType: "uint256", name: "proposalId", type: "uint256" }], name: "NonexistentProposal", type: "error" },
309
+ { inputs: [{ internalType: "uint256", name: "proposalId", type: "uint256" }], name: "ProposalAlreadyExists", type: "error" },
310
+ { inputs: [{ internalType: "address", name: "sender", type: "address" }], name: "ProposalCreationForbidden", type: "error" },
311
+ { inputs: [{ internalType: "uint256", name: "proposalId", type: "uint256" }], name: "ProposalExecutionForbidden", type: "error" },
312
+ {
313
+ anonymous: false,
314
+ inputs: [
315
+ { indexed: false, internalType: "address", name: "previousAdmin", type: "address" },
316
+ { indexed: false, internalType: "address", name: "newAdmin", type: "address" }
317
+ ],
318
+ name: "AdminChanged",
319
+ type: "event"
320
+ },
321
+ {
322
+ anonymous: false,
323
+ inputs: [
324
+ { indexed: true, internalType: "uint256", name: "proposalId", type: "uint256" },
325
+ { indexed: true, internalType: "address", name: "approver", type: "address" }
326
+ ],
327
+ name: "Approved",
328
+ type: "event"
329
+ },
330
+ {
331
+ anonymous: false,
332
+ inputs: [{ indexed: true, internalType: "address", name: "beacon", type: "address" }],
333
+ name: "BeaconUpgraded",
334
+ type: "event"
335
+ },
336
+ {
337
+ anonymous: false,
338
+ inputs: [{ indexed: false, internalType: "uint8", name: "version", type: "uint8" }],
339
+ name: "Initialized",
340
+ type: "event"
341
+ },
342
+ {
343
+ anonymous: false,
344
+ inputs: [{ indexed: false, internalType: "address[]", name: "members", type: "address[]" }],
345
+ name: "MembersAdded",
346
+ type: "event"
347
+ },
348
+ {
349
+ anonymous: false,
350
+ inputs: [{ indexed: false, internalType: "address[]", name: "members", type: "address[]" }],
351
+ name: "MembersRemoved",
352
+ type: "event"
353
+ },
354
+ {
355
+ anonymous: false,
356
+ inputs: [{ indexed: true, internalType: "address", name: "definingContract", type: "address" }],
357
+ name: "MembershipContractAnnounced",
358
+ type: "event"
359
+ },
360
+ {
361
+ anonymous: false,
362
+ inputs: [{ indexed: false, internalType: "bytes", name: "metadata", type: "bytes" }],
363
+ name: "MetadataSet",
364
+ type: "event"
365
+ },
366
+ {
367
+ anonymous: false,
368
+ inputs: [
369
+ { indexed: false, internalType: "bool", name: "onlyListed", type: "bool" },
370
+ { indexed: true, internalType: "uint16", name: "minApprovals", type: "uint16" }
371
+ ],
372
+ name: "MultisigSettingsUpdated",
373
+ type: "event"
374
+ },
375
+ {
376
+ anonymous: false,
377
+ inputs: [
378
+ { indexed: true, internalType: "uint256", name: "proposalId", type: "uint256" },
379
+ { indexed: true, internalType: "address", name: "creator", type: "address" },
380
+ { indexed: false, internalType: "uint64", name: "startDate", type: "uint64" },
381
+ { indexed: false, internalType: "uint64", name: "endDate", type: "uint64" },
382
+ { indexed: false, internalType: "bytes", name: "metadata", type: "bytes" },
383
+ {
384
+ components: [
385
+ { internalType: "address", name: "to", type: "address" },
386
+ { internalType: "uint256", name: "value", type: "uint256" },
387
+ { internalType: "bytes", name: "data", type: "bytes" }
388
+ ],
389
+ indexed: false,
390
+ internalType: "struct Action[]",
391
+ name: "actions",
392
+ type: "tuple[]"
393
+ },
394
+ { indexed: false, internalType: "uint256", name: "allowFailureMap", type: "uint256" }
395
+ ],
396
+ name: "ProposalCreated",
397
+ type: "event"
398
+ },
399
+ {
400
+ anonymous: false,
401
+ inputs: [{ indexed: true, internalType: "uint256", name: "proposalId", type: "uint256" }],
402
+ name: "ProposalExecuted",
403
+ type: "event"
404
+ },
405
+ {
406
+ anonymous: false,
407
+ inputs: [
408
+ {
409
+ components: [
410
+ { internalType: "address", name: "target", type: "address" },
411
+ { internalType: "enum IPlugin.Operation", name: "operation", type: "uint8" }
412
+ ],
413
+ indexed: false,
414
+ internalType: "struct IPlugin.TargetConfig",
415
+ name: "newTargetConfig",
416
+ type: "tuple"
417
+ }
418
+ ],
419
+ name: "TargetSet",
420
+ type: "event"
421
+ },
422
+ {
423
+ anonymous: false,
424
+ inputs: [{ indexed: true, internalType: "address", name: "implementation", type: "address" }],
425
+ name: "Upgraded",
426
+ type: "event"
427
+ },
428
+ {
429
+ inputs: [],
430
+ name: "CREATE_PROPOSAL_PERMISSION_ID",
431
+ outputs: [{ internalType: "bytes32", name: "", type: "bytes32" }],
432
+ stateMutability: "view",
433
+ type: "function"
434
+ },
435
+ {
436
+ inputs: [],
437
+ name: "EXECUTE_PROPOSAL_PERMISSION_ID",
438
+ outputs: [{ internalType: "bytes32", name: "", type: "bytes32" }],
439
+ stateMutability: "view",
440
+ type: "function"
441
+ },
442
+ {
443
+ inputs: [],
444
+ name: "SET_METADATA_PERMISSION_ID",
445
+ outputs: [{ internalType: "bytes32", name: "", type: "bytes32" }],
446
+ stateMutability: "view",
447
+ type: "function"
448
+ },
449
+ {
450
+ inputs: [],
451
+ name: "SET_TARGET_CONFIG_PERMISSION_ID",
452
+ outputs: [{ internalType: "bytes32", name: "", type: "bytes32" }],
453
+ stateMutability: "view",
454
+ type: "function"
455
+ },
456
+ {
457
+ inputs: [],
458
+ name: "UPDATE_MULTISIG_SETTINGS_PERMISSION_ID",
459
+ outputs: [{ internalType: "bytes32", name: "", type: "bytes32" }],
460
+ stateMutability: "view",
461
+ type: "function"
462
+ },
463
+ {
464
+ inputs: [],
465
+ name: "UPGRADE_PLUGIN_PERMISSION_ID",
466
+ outputs: [{ internalType: "bytes32", name: "", type: "bytes32" }],
467
+ stateMutability: "view",
468
+ type: "function"
469
+ },
470
+ {
471
+ inputs: [{ internalType: "address[]", name: "_members", type: "address[]" }],
472
+ name: "addAddresses",
473
+ outputs: [],
474
+ stateMutability: "nonpayable",
475
+ type: "function"
476
+ },
477
+ {
478
+ inputs: [],
479
+ name: "addresslistLength",
480
+ outputs: [{ internalType: "uint256", name: "", type: "uint256" }],
481
+ stateMutability: "view",
482
+ type: "function"
483
+ },
484
+ {
485
+ inputs: [{ internalType: "uint256", name: "_blockNumber", type: "uint256" }],
486
+ name: "addresslistLengthAtBlock",
487
+ outputs: [{ internalType: "uint256", name: "", type: "uint256" }],
488
+ stateMutability: "view",
489
+ type: "function"
490
+ },
491
+ {
492
+ inputs: [
493
+ { internalType: "uint256", name: "_proposalId", type: "uint256" },
494
+ { internalType: "bool", name: "_tryExecution", type: "bool" }
495
+ ],
496
+ name: "approve",
497
+ outputs: [],
498
+ stateMutability: "nonpayable",
499
+ type: "function"
500
+ },
501
+ {
502
+ inputs: [
503
+ { internalType: "uint256", name: "_proposalId", type: "uint256" },
504
+ { internalType: "address", name: "_account", type: "address" }
505
+ ],
506
+ name: "canApprove",
507
+ outputs: [{ internalType: "bool", name: "", type: "bool" }],
508
+ stateMutability: "view",
509
+ type: "function"
510
+ },
511
+ {
512
+ inputs: [{ internalType: "uint256", name: "_proposalId", type: "uint256" }],
513
+ name: "canExecute",
514
+ outputs: [{ internalType: "bool", name: "", type: "bool" }],
515
+ stateMutability: "view",
516
+ type: "function"
517
+ },
518
+ {
519
+ inputs: [
520
+ { internalType: "bytes", name: "_metadata", type: "bytes" },
521
+ {
522
+ components: [
523
+ { internalType: "address", name: "to", type: "address" },
524
+ { internalType: "uint256", name: "value", type: "uint256" },
525
+ { internalType: "bytes", name: "data", type: "bytes" }
526
+ ],
527
+ internalType: "struct Action[]",
528
+ name: "_actions",
529
+ type: "tuple[]"
530
+ },
531
+ { internalType: "uint64", name: "_startDate", type: "uint64" },
532
+ { internalType: "uint64", name: "_endDate", type: "uint64" },
533
+ { internalType: "bytes", name: "_data", type: "bytes" }
534
+ ],
535
+ name: "createProposal",
536
+ outputs: [{ internalType: "uint256", name: "proposalId", type: "uint256" }],
537
+ stateMutability: "nonpayable",
538
+ type: "function"
539
+ },
540
+ {
541
+ inputs: [
542
+ { internalType: "bytes", name: "_metadata", type: "bytes" },
543
+ {
544
+ components: [
545
+ { internalType: "address", name: "to", type: "address" },
546
+ { internalType: "uint256", name: "value", type: "uint256" },
547
+ { internalType: "bytes", name: "data", type: "bytes" }
548
+ ],
549
+ internalType: "struct Action[]",
550
+ name: "_actions",
551
+ type: "tuple[]"
552
+ },
553
+ { internalType: "uint256", name: "_allowFailureMap", type: "uint256" },
554
+ { internalType: "bool", name: "_approveProposal", type: "bool" },
555
+ { internalType: "bool", name: "_tryExecution", type: "bool" },
556
+ { internalType: "uint64", name: "_startDate", type: "uint64" },
557
+ { internalType: "uint64", name: "_endDate", type: "uint64" }
558
+ ],
559
+ name: "createProposal",
560
+ outputs: [{ internalType: "uint256", name: "proposalId", type: "uint256" }],
561
+ stateMutability: "nonpayable",
562
+ type: "function"
563
+ },
564
+ {
565
+ inputs: [],
566
+ name: "customProposalParamsABI",
567
+ outputs: [{ internalType: "string", name: "", type: "string" }],
568
+ stateMutability: "pure",
569
+ type: "function"
570
+ },
571
+ {
572
+ inputs: [],
573
+ name: "dao",
574
+ outputs: [{ internalType: "contract IDAO", name: "", type: "address" }],
575
+ stateMutability: "view",
576
+ type: "function"
577
+ },
578
+ {
579
+ inputs: [{ internalType: "uint256", name: "_proposalId", type: "uint256" }],
580
+ name: "execute",
581
+ outputs: [],
582
+ stateMutability: "nonpayable",
583
+ type: "function"
584
+ },
585
+ {
586
+ inputs: [],
587
+ name: "getCurrentTargetConfig",
588
+ outputs: [
589
+ {
590
+ components: [
591
+ { internalType: "address", name: "target", type: "address" },
592
+ { internalType: "enum IPlugin.Operation", name: "operation", type: "uint8" }
593
+ ],
594
+ internalType: "struct IPlugin.TargetConfig",
595
+ name: "",
596
+ type: "tuple"
597
+ }
598
+ ],
599
+ stateMutability: "view",
600
+ type: "function"
601
+ },
602
+ {
603
+ inputs: [],
604
+ name: "getMetadata",
605
+ outputs: [{ internalType: "bytes", name: "", type: "bytes" }],
606
+ stateMutability: "view",
607
+ type: "function"
608
+ },
609
+ {
610
+ inputs: [{ internalType: "uint256", name: "_proposalId", type: "uint256" }],
611
+ name: "getProposal",
612
+ outputs: [
613
+ { internalType: "bool", name: "executed", type: "bool" },
614
+ { internalType: "uint16", name: "approvals", type: "uint16" },
615
+ {
616
+ components: [
617
+ { internalType: "uint16", name: "minApprovals", type: "uint16" },
618
+ { internalType: "uint64", name: "snapshotBlock", type: "uint64" },
619
+ { internalType: "uint64", name: "startDate", type: "uint64" },
620
+ { internalType: "uint64", name: "endDate", type: "uint64" }
621
+ ],
622
+ internalType: "struct Multisig.ProposalParameters",
623
+ name: "parameters",
624
+ type: "tuple"
625
+ },
626
+ {
627
+ components: [
628
+ { internalType: "address", name: "to", type: "address" },
629
+ { internalType: "uint256", name: "value", type: "uint256" },
630
+ { internalType: "bytes", name: "data", type: "bytes" }
631
+ ],
632
+ internalType: "struct Action[]",
633
+ name: "actions",
634
+ type: "tuple[]"
635
+ },
636
+ { internalType: "uint256", name: "allowFailureMap", type: "uint256" },
637
+ {
638
+ components: [
639
+ { internalType: "address", name: "target", type: "address" },
640
+ { internalType: "enum IPlugin.Operation", name: "operation", type: "uint8" }
641
+ ],
642
+ internalType: "struct IPlugin.TargetConfig",
643
+ name: "targetConfig",
644
+ type: "tuple"
645
+ }
646
+ ],
647
+ stateMutability: "view",
648
+ type: "function"
649
+ },
650
+ {
651
+ inputs: [],
652
+ name: "getTargetConfig",
653
+ outputs: [
654
+ {
655
+ components: [
656
+ { internalType: "address", name: "target", type: "address" },
657
+ { internalType: "enum IPlugin.Operation", name: "operation", type: "uint8" }
658
+ ],
659
+ internalType: "struct IPlugin.TargetConfig",
660
+ name: "",
661
+ type: "tuple"
662
+ }
663
+ ],
664
+ stateMutability: "view",
665
+ type: "function"
666
+ },
667
+ {
668
+ inputs: [
669
+ { internalType: "uint256", name: "_proposalId", type: "uint256" },
670
+ { internalType: "address", name: "_account", type: "address" }
671
+ ],
672
+ name: "hasApproved",
673
+ outputs: [{ internalType: "bool", name: "", type: "bool" }],
674
+ stateMutability: "view",
675
+ type: "function"
676
+ },
677
+ {
678
+ inputs: [{ internalType: "uint256", name: "_proposalId", type: "uint256" }],
679
+ name: "hasSucceeded",
680
+ outputs: [{ internalType: "bool", name: "", type: "bool" }],
681
+ stateMutability: "view",
682
+ type: "function"
683
+ },
684
+ {
685
+ inputs: [],
686
+ name: "implementation",
687
+ outputs: [{ internalType: "address", name: "", type: "address" }],
688
+ stateMutability: "view",
689
+ type: "function"
690
+ },
691
+ {
692
+ inputs: [
693
+ { internalType: "contract IDAO", name: "_dao", type: "address" },
694
+ { internalType: "address[]", name: "_members", type: "address[]" },
695
+ {
696
+ components: [
697
+ { internalType: "bool", name: "onlyListed", type: "bool" },
698
+ { internalType: "uint16", name: "minApprovals", type: "uint16" }
699
+ ],
700
+ internalType: "struct Multisig.MultisigSettings",
701
+ name: "_multisigSettings",
702
+ type: "tuple"
703
+ },
704
+ {
705
+ components: [
706
+ { internalType: "address", name: "target", type: "address" },
707
+ { internalType: "enum IPlugin.Operation", name: "operation", type: "uint8" }
708
+ ],
709
+ internalType: "struct IPlugin.TargetConfig",
710
+ name: "_targetConfig",
711
+ type: "tuple"
712
+ },
713
+ { internalType: "bytes", name: "_pluginMetadata", type: "bytes" }
714
+ ],
715
+ name: "initialize",
716
+ outputs: [],
717
+ stateMutability: "nonpayable",
718
+ type: "function"
719
+ },
720
+ {
721
+ inputs: [
722
+ { internalType: "uint16", name: "_fromBuild", type: "uint16" },
723
+ { internalType: "bytes", name: "_initData", type: "bytes" }
724
+ ],
725
+ name: "initializeFrom",
726
+ outputs: [],
727
+ stateMutability: "nonpayable",
728
+ type: "function"
729
+ },
730
+ {
731
+ inputs: [{ internalType: "address", name: "_account", type: "address" }],
732
+ name: "isListed",
733
+ outputs: [{ internalType: "bool", name: "", type: "bool" }],
734
+ stateMutability: "view",
735
+ type: "function"
736
+ },
737
+ {
738
+ inputs: [
739
+ { internalType: "address", name: "_account", type: "address" },
740
+ { internalType: "uint256", name: "_blockNumber", type: "uint256" }
741
+ ],
742
+ name: "isListedAtBlock",
743
+ outputs: [{ internalType: "bool", name: "", type: "bool" }],
744
+ stateMutability: "view",
745
+ type: "function"
746
+ },
747
+ {
748
+ inputs: [{ internalType: "address", name: "_account", type: "address" }],
749
+ name: "isMember",
750
+ outputs: [{ internalType: "bool", name: "", type: "bool" }],
751
+ stateMutability: "view",
752
+ type: "function"
753
+ },
754
+ {
755
+ inputs: [],
756
+ name: "lastMultisigSettingsChange",
757
+ outputs: [{ internalType: "uint64", name: "", type: "uint64" }],
758
+ stateMutability: "view",
759
+ type: "function"
760
+ },
761
+ {
762
+ inputs: [],
763
+ name: "multisigSettings",
764
+ outputs: [
765
+ { internalType: "bool", name: "onlyListed", type: "bool" },
766
+ { internalType: "uint16", name: "minApprovals", type: "uint16" }
767
+ ],
768
+ stateMutability: "view",
769
+ type: "function"
770
+ },
771
+ {
772
+ inputs: [],
773
+ name: "pluginType",
774
+ outputs: [{ internalType: "enum IPlugin.PluginType", name: "", type: "uint8" }],
775
+ stateMutability: "pure",
776
+ type: "function"
777
+ },
778
+ {
779
+ inputs: [],
780
+ name: "proposalCount",
781
+ outputs: [{ internalType: "uint256", name: "", type: "uint256" }],
782
+ stateMutability: "view",
783
+ type: "function"
784
+ },
785
+ {
786
+ inputs: [],
787
+ name: "protocolVersion",
788
+ outputs: [{ internalType: "uint8[3]", name: "", type: "uint8[3]" }],
789
+ stateMutability: "pure",
790
+ type: "function"
791
+ },
792
+ {
793
+ inputs: [],
794
+ name: "proxiableUUID",
795
+ outputs: [{ internalType: "bytes32", name: "", type: "bytes32" }],
796
+ stateMutability: "view",
797
+ type: "function"
798
+ },
799
+ {
800
+ inputs: [{ internalType: "address[]", name: "_members", type: "address[]" }],
801
+ name: "removeAddresses",
802
+ outputs: [],
803
+ stateMutability: "nonpayable",
804
+ type: "function"
805
+ },
806
+ {
807
+ inputs: [{ internalType: "bytes", name: "_metadata", type: "bytes" }],
808
+ name: "setMetadata",
809
+ outputs: [],
810
+ stateMutability: "nonpayable",
811
+ type: "function"
812
+ },
813
+ {
814
+ inputs: [
815
+ {
816
+ components: [
817
+ { internalType: "address", name: "target", type: "address" },
818
+ { internalType: "enum IPlugin.Operation", name: "operation", type: "uint8" }
819
+ ],
820
+ internalType: "struct IPlugin.TargetConfig",
821
+ name: "_targetConfig",
822
+ type: "tuple"
823
+ }
824
+ ],
825
+ name: "setTargetConfig",
826
+ outputs: [],
827
+ stateMutability: "nonpayable",
828
+ type: "function"
829
+ },
830
+ {
831
+ inputs: [{ internalType: "bytes4", name: "_interfaceId", type: "bytes4" }],
832
+ name: "supportsInterface",
833
+ outputs: [{ internalType: "bool", name: "", type: "bool" }],
834
+ stateMutability: "view",
835
+ type: "function"
836
+ },
837
+ {
838
+ inputs: [
839
+ {
840
+ components: [
841
+ { internalType: "bool", name: "onlyListed", type: "bool" },
842
+ { internalType: "uint16", name: "minApprovals", type: "uint16" }
843
+ ],
844
+ internalType: "struct Multisig.MultisigSettings",
845
+ name: "_multisigSettings",
846
+ type: "tuple"
847
+ }
848
+ ],
849
+ name: "updateMultisigSettings",
850
+ outputs: [],
851
+ stateMutability: "nonpayable",
852
+ type: "function"
853
+ },
854
+ {
855
+ inputs: [{ internalType: "address", name: "newImplementation", type: "address" }],
856
+ name: "upgradeTo",
857
+ outputs: [],
858
+ stateMutability: "nonpayable",
859
+ type: "function"
860
+ },
861
+ {
862
+ inputs: [
863
+ { internalType: "address", name: "newImplementation", type: "address" },
864
+ { internalType: "bytes", name: "data", type: "bytes" }
865
+ ],
866
+ name: "upgradeToAndCall",
867
+ outputs: [],
868
+ stateMutability: "payable",
869
+ type: "function"
870
+ }
871
+ ];
872
+
873
+ // exports/abis/aragon/AragonDelayedAction.ts
874
+ var AragonDelayedAction_ABI = [
875
+ { inputs: [], name: "AlreadyInitialized", type: "error" },
876
+ { inputs: [{ internalType: "address", name: "body", type: "address" }], name: "BodyResultTypeNotSet", type: "error" },
877
+ {
878
+ inputs: [
879
+ { internalType: "address", name: "dao", type: "address" },
880
+ { internalType: "address", name: "where", type: "address" },
881
+ { internalType: "address", name: "who", type: "address" },
882
+ { internalType: "bytes32", name: "permissionId", type: "bytes32" }
883
+ ],
884
+ name: "DaoUnauthorized",
885
+ type: "error"
886
+ },
887
+ { inputs: [], name: "DelegateCallFailed", type: "error" },
888
+ {
889
+ inputs: [
890
+ { internalType: "uint256", name: "stageId", type: "uint256" },
891
+ { internalType: "address", name: "body", type: "address" }
892
+ ],
893
+ name: "DuplicateBodyAddress",
894
+ type: "error"
895
+ },
896
+ { inputs: [], name: "FunctionDeprecated", type: "error" },
897
+ { inputs: [], name: "InsufficientGas", type: "error" },
898
+ { inputs: [], name: "InterfaceNotSupported", type: "error" },
899
+ {
900
+ inputs: [
901
+ {
902
+ components: [
903
+ { internalType: "address", name: "target", type: "address" },
904
+ { internalType: "enum IPlugin.Operation", name: "operation", type: "uint8" }
905
+ ],
906
+ internalType: "struct IPlugin.TargetConfig",
907
+ name: "targetConfig",
908
+ type: "tuple"
909
+ }
910
+ ],
911
+ name: "InvalidTargetConfig",
912
+ type: "error"
913
+ },
914
+ { inputs: [{ internalType: "uint256", name: "proposalId", type: "uint256" }], name: "NonexistentProposal", type: "error" },
915
+ { inputs: [{ internalType: "uint256", name: "proposalId", type: "uint256" }], name: "ProposalAdvanceForbidden", type: "error" },
916
+ { inputs: [{ internalType: "uint256", name: "proposalId", type: "uint256" }], name: "ProposalAlreadyExists", type: "error" },
917
+ {
918
+ inputs: [
919
+ { internalType: "uint256", name: "proposalId", type: "uint256" },
920
+ { internalType: "uint16", name: "stageId", type: "uint16" }
921
+ ],
922
+ name: "ProposalCanNotBeCancelled",
923
+ type: "error"
924
+ },
925
+ {
926
+ inputs: [
927
+ { internalType: "uint256", name: "proposalId", type: "uint256" },
928
+ { internalType: "uint16", name: "stageId", type: "uint16" }
929
+ ],
930
+ name: "ProposalCanNotBeEdited",
931
+ type: "error"
932
+ },
933
+ { inputs: [{ internalType: "uint256", name: "proposalId", type: "uint256" }], name: "ProposalExecutionForbidden", type: "error" },
934
+ { inputs: [], name: "StageCountZero", type: "error" },
935
+ { inputs: [], name: "StageDurationsInvalid", type: "error" },
936
+ {
937
+ inputs: [
938
+ { internalType: "uint64", name: "currentStageId", type: "uint64" },
939
+ { internalType: "uint64", name: "reportedStageId", type: "uint64" }
940
+ ],
941
+ name: "StageIdInvalid",
942
+ type: "error"
943
+ },
944
+ { inputs: [], name: "StageThresholdsInvalid", type: "error" },
945
+ { inputs: [{ internalType: "uint64", name: "", type: "uint64" }], name: "StartDateInvalid", type: "error" },
946
+ { inputs: [], name: "Uint16MaxSizeExceeded", type: "error" },
947
+ {
948
+ inputs: [
949
+ { internalType: "uint256", name: "proposalId", type: "uint256" },
950
+ { internalType: "uint8", name: "currentState", type: "uint8" },
951
+ { internalType: "bytes32", name: "allowedStates", type: "bytes32" }
952
+ ],
953
+ name: "UnexpectedProposalState",
954
+ type: "error"
955
+ },
956
+ {
957
+ anonymous: false,
958
+ inputs: [
959
+ { indexed: false, internalType: "address", name: "previousAdmin", type: "address" },
960
+ { indexed: false, internalType: "address", name: "newAdmin", type: "address" }
961
+ ],
962
+ name: "AdminChanged",
963
+ type: "event"
964
+ },
965
+ {
966
+ anonymous: false,
967
+ inputs: [{ indexed: true, internalType: "address", name: "beacon", type: "address" }],
968
+ name: "BeaconUpgraded",
969
+ type: "event"
970
+ },
971
+ {
972
+ anonymous: false,
973
+ inputs: [{ indexed: false, internalType: "uint8", name: "version", type: "uint8" }],
974
+ name: "Initialized",
975
+ type: "event"
976
+ },
977
+ {
978
+ anonymous: false,
979
+ inputs: [{ indexed: false, internalType: "bytes", name: "metadata", type: "bytes" }],
980
+ name: "MetadataSet",
981
+ type: "event"
982
+ },
983
+ {
984
+ anonymous: false,
985
+ inputs: [
986
+ { indexed: true, internalType: "uint256", name: "proposalId", type: "uint256" },
987
+ { indexed: true, internalType: "uint16", name: "stageId", type: "uint16" },
988
+ { indexed: true, internalType: "address", name: "sender", type: "address" }
989
+ ],
990
+ name: "ProposalAdvanced",
991
+ type: "event"
992
+ },
993
+ {
994
+ anonymous: false,
995
+ inputs: [
996
+ { indexed: true, internalType: "uint256", name: "proposalId", type: "uint256" },
997
+ { indexed: true, internalType: "uint16", name: "stageId", type: "uint16" },
998
+ { indexed: true, internalType: "address", name: "sender", type: "address" }
999
+ ],
1000
+ name: "ProposalCanceled",
1001
+ type: "event"
1002
+ },
1003
+ {
1004
+ anonymous: false,
1005
+ inputs: [
1006
+ { indexed: true, internalType: "uint256", name: "proposalId", type: "uint256" },
1007
+ { indexed: true, internalType: "address", name: "creator", type: "address" },
1008
+ { indexed: false, internalType: "uint64", name: "startDate", type: "uint64" },
1009
+ { indexed: false, internalType: "uint64", name: "endDate", type: "uint64" },
1010
+ { indexed: false, internalType: "bytes", name: "metadata", type: "bytes" },
1011
+ {
1012
+ components: [
1013
+ { internalType: "address", name: "to", type: "address" },
1014
+ { internalType: "uint256", name: "value", type: "uint256" },
1015
+ { internalType: "bytes", name: "data", type: "bytes" }
1016
+ ],
1017
+ indexed: false,
1018
+ internalType: "struct Action[]",
1019
+ name: "actions",
1020
+ type: "tuple[]"
1021
+ },
1022
+ { indexed: false, internalType: "uint256", name: "allowFailureMap", type: "uint256" }
1023
+ ],
1024
+ name: "ProposalCreated",
1025
+ type: "event"
1026
+ },
1027
+ {
1028
+ anonymous: false,
1029
+ inputs: [
1030
+ { indexed: true, internalType: "uint256", name: "proposalId", type: "uint256" },
1031
+ { indexed: true, internalType: "uint16", name: "stageId", type: "uint16" },
1032
+ { indexed: true, internalType: "address", name: "sender", type: "address" },
1033
+ { indexed: false, internalType: "bytes", name: "metadata", type: "bytes" },
1034
+ {
1035
+ components: [
1036
+ { internalType: "address", name: "to", type: "address" },
1037
+ { internalType: "uint256", name: "value", type: "uint256" },
1038
+ { internalType: "bytes", name: "data", type: "bytes" }
1039
+ ],
1040
+ indexed: false,
1041
+ internalType: "struct Action[]",
1042
+ name: "actions",
1043
+ type: "tuple[]"
1044
+ }
1045
+ ],
1046
+ name: "ProposalEdited",
1047
+ type: "event"
1048
+ },
1049
+ {
1050
+ anonymous: false,
1051
+ inputs: [{ indexed: true, internalType: "uint256", name: "proposalId", type: "uint256" }],
1052
+ name: "ProposalExecuted",
1053
+ type: "event"
1054
+ },
1055
+ {
1056
+ anonymous: false,
1057
+ inputs: [
1058
+ { indexed: true, internalType: "uint256", name: "proposalId", type: "uint256" },
1059
+ { indexed: true, internalType: "uint16", name: "stageId", type: "uint16" },
1060
+ { indexed: true, internalType: "address", name: "body", type: "address" }
1061
+ ],
1062
+ name: "ProposalResultReported",
1063
+ type: "event"
1064
+ },
1065
+ {
1066
+ anonymous: false,
1067
+ inputs: [
1068
+ {
1069
+ components: [
1070
+ {
1071
+ components: [
1072
+ { internalType: "address", name: "addr", type: "address" },
1073
+ { internalType: "bool", name: "isManual", type: "bool" },
1074
+ { internalType: "bool", name: "tryAdvance", type: "bool" },
1075
+ { internalType: "enum StagedProposalProcessor.ResultType", name: "resultType", type: "uint8" }
1076
+ ],
1077
+ internalType: "struct StagedProposalProcessor.Body[]",
1078
+ name: "bodies",
1079
+ type: "tuple[]"
1080
+ },
1081
+ { internalType: "uint64", name: "maxAdvance", type: "uint64" },
1082
+ { internalType: "uint64", name: "minAdvance", type: "uint64" },
1083
+ { internalType: "uint64", name: "voteDuration", type: "uint64" },
1084
+ { internalType: "uint16", name: "approvalThreshold", type: "uint16" },
1085
+ { internalType: "uint16", name: "vetoThreshold", type: "uint16" },
1086
+ { internalType: "bool", name: "cancelable", type: "bool" },
1087
+ { internalType: "bool", name: "editable", type: "bool" }
1088
+ ],
1089
+ indexed: false,
1090
+ internalType: "struct StagedProposalProcessor.Stage[]",
1091
+ name: "stages",
1092
+ type: "tuple[]"
1093
+ }
1094
+ ],
1095
+ name: "StagesUpdated",
1096
+ type: "event"
1097
+ },
1098
+ {
1099
+ anonymous: false,
1100
+ inputs: [
1101
+ { indexed: true, internalType: "uint256", name: "proposalId", type: "uint256" },
1102
+ { indexed: true, internalType: "uint16", name: "stageId", type: "uint16" },
1103
+ { indexed: true, internalType: "address", name: "body", type: "address" },
1104
+ { indexed: false, internalType: "uint256", name: "bodyProposalId", type: "uint256" }
1105
+ ],
1106
+ name: "SubProposalCreated",
1107
+ type: "event"
1108
+ },
1109
+ {
1110
+ anonymous: false,
1111
+ inputs: [
1112
+ { indexed: true, internalType: "uint256", name: "proposalId", type: "uint256" },
1113
+ { indexed: true, internalType: "uint16", name: "stageId", type: "uint16" },
1114
+ { indexed: true, internalType: "address", name: "body", type: "address" },
1115
+ { indexed: false, internalType: "bytes", name: "reason", type: "bytes" }
1116
+ ],
1117
+ name: "SubProposalNotCreated",
1118
+ type: "event"
1119
+ },
1120
+ {
1121
+ anonymous: false,
1122
+ inputs: [
1123
+ {
1124
+ components: [
1125
+ { internalType: "address", name: "target", type: "address" },
1126
+ { internalType: "enum IPlugin.Operation", name: "operation", type: "uint8" }
1127
+ ],
1128
+ indexed: false,
1129
+ internalType: "struct IPlugin.TargetConfig",
1130
+ name: "newTargetConfig",
1131
+ type: "tuple"
1132
+ }
1133
+ ],
1134
+ name: "TargetSet",
1135
+ type: "event"
1136
+ },
1137
+ {
1138
+ anonymous: false,
1139
+ inputs: [{ indexed: true, internalType: "address", name: "forwarder", type: "address" }],
1140
+ name: "TrustedForwarderUpdated",
1141
+ type: "event"
1142
+ },
1143
+ {
1144
+ anonymous: false,
1145
+ inputs: [{ indexed: true, internalType: "address", name: "implementation", type: "address" }],
1146
+ name: "Upgraded",
1147
+ type: "event"
1148
+ },
1149
+ {
1150
+ inputs: [],
1151
+ name: "SET_METADATA_PERMISSION_ID",
1152
+ outputs: [{ internalType: "bytes32", name: "", type: "bytes32" }],
1153
+ stateMutability: "view",
1154
+ type: "function"
1155
+ },
1156
+ {
1157
+ inputs: [],
1158
+ name: "SET_TARGET_CONFIG_PERMISSION_ID",
1159
+ outputs: [{ internalType: "bytes32", name: "", type: "bytes32" }],
1160
+ stateMutability: "view",
1161
+ type: "function"
1162
+ },
1163
+ {
1164
+ inputs: [],
1165
+ name: "UPGRADE_PLUGIN_PERMISSION_ID",
1166
+ outputs: [{ internalType: "bytes32", name: "", type: "bytes32" }],
1167
+ stateMutability: "view",
1168
+ type: "function"
1169
+ },
1170
+ {
1171
+ inputs: [{ internalType: "uint256", name: "_proposalId", type: "uint256" }],
1172
+ name: "advanceProposal",
1173
+ outputs: [],
1174
+ stateMutability: "nonpayable",
1175
+ type: "function"
1176
+ },
1177
+ {
1178
+ inputs: [{ internalType: "uint256", name: "_proposalId", type: "uint256" }],
1179
+ name: "canExecute",
1180
+ outputs: [{ internalType: "bool", name: "", type: "bool" }],
1181
+ stateMutability: "view",
1182
+ type: "function"
1183
+ },
1184
+ {
1185
+ inputs: [{ internalType: "uint256", name: "_proposalId", type: "uint256" }],
1186
+ name: "canProposalAdvance",
1187
+ outputs: [{ internalType: "bool", name: "", type: "bool" }],
1188
+ stateMutability: "view",
1189
+ type: "function"
1190
+ },
1191
+ {
1192
+ inputs: [{ internalType: "uint256", name: "_proposalId", type: "uint256" }],
1193
+ name: "cancel",
1194
+ outputs: [],
1195
+ stateMutability: "nonpayable",
1196
+ type: "function"
1197
+ },
1198
+ {
1199
+ inputs: [
1200
+ { internalType: "bytes", name: "_metadata", type: "bytes" },
1201
+ {
1202
+ components: [
1203
+ { internalType: "address", name: "to", type: "address" },
1204
+ { internalType: "uint256", name: "value", type: "uint256" },
1205
+ { internalType: "bytes", name: "data", type: "bytes" }
1206
+ ],
1207
+ internalType: "struct Action[]",
1208
+ name: "_actions",
1209
+ type: "tuple[]"
1210
+ },
1211
+ { internalType: "uint128", name: "_allowFailureMap", type: "uint128" },
1212
+ { internalType: "uint64", name: "_startDate", type: "uint64" },
1213
+ { internalType: "bytes[][]", name: "_proposalParams", type: "bytes[][]" }
1214
+ ],
1215
+ name: "createProposal",
1216
+ outputs: [{ internalType: "uint256", name: "proposalId", type: "uint256" }],
1217
+ stateMutability: "nonpayable",
1218
+ type: "function"
1219
+ },
1220
+ {
1221
+ inputs: [
1222
+ { internalType: "bytes", name: "_metadata", type: "bytes" },
1223
+ {
1224
+ components: [
1225
+ { internalType: "address", name: "to", type: "address" },
1226
+ { internalType: "uint256", name: "value", type: "uint256" },
1227
+ { internalType: "bytes", name: "data", type: "bytes" }
1228
+ ],
1229
+ internalType: "struct Action[]",
1230
+ name: "_actions",
1231
+ type: "tuple[]"
1232
+ },
1233
+ { internalType: "uint64", name: "_startDate", type: "uint64" },
1234
+ { internalType: "uint64", name: "", type: "uint64" },
1235
+ { internalType: "bytes", name: "_data", type: "bytes" }
1236
+ ],
1237
+ name: "createProposal",
1238
+ outputs: [{ internalType: "uint256", name: "proposalId", type: "uint256" }],
1239
+ stateMutability: "nonpayable",
1240
+ type: "function"
1241
+ },
1242
+ {
1243
+ inputs: [],
1244
+ name: "customProposalParamsABI",
1245
+ outputs: [{ internalType: "string", name: "", type: "string" }],
1246
+ stateMutability: "pure",
1247
+ type: "function"
1248
+ },
1249
+ {
1250
+ inputs: [],
1251
+ name: "dao",
1252
+ outputs: [{ internalType: "contract IDAO", name: "", type: "address" }],
1253
+ stateMutability: "view",
1254
+ type: "function"
1255
+ },
1256
+ {
1257
+ inputs: [
1258
+ { internalType: "uint256", name: "_proposalId", type: "uint256" },
1259
+ { internalType: "bytes", name: "_metadata", type: "bytes" },
1260
+ {
1261
+ components: [
1262
+ { internalType: "address", name: "to", type: "address" },
1263
+ { internalType: "uint256", name: "value", type: "uint256" },
1264
+ { internalType: "bytes", name: "data", type: "bytes" }
1265
+ ],
1266
+ internalType: "struct Action[]",
1267
+ name: "_actions",
1268
+ type: "tuple[]"
1269
+ }
1270
+ ],
1271
+ name: "edit",
1272
+ outputs: [],
1273
+ stateMutability: "nonpayable",
1274
+ type: "function"
1275
+ },
1276
+ {
1277
+ inputs: [{ internalType: "uint256", name: "_proposalId", type: "uint256" }],
1278
+ name: "execute",
1279
+ outputs: [],
1280
+ stateMutability: "nonpayable",
1281
+ type: "function"
1282
+ },
1283
+ {
1284
+ inputs: [
1285
+ { internalType: "uint256", name: "_proposalId", type: "uint256" },
1286
+ { internalType: "uint16", name: "_stageId", type: "uint16" },
1287
+ { internalType: "address", name: "_body", type: "address" }
1288
+ ],
1289
+ name: "getBodyProposalId",
1290
+ outputs: [{ internalType: "uint256", name: "", type: "uint256" }],
1291
+ stateMutability: "view",
1292
+ type: "function"
1293
+ },
1294
+ {
1295
+ inputs: [
1296
+ { internalType: "uint256", name: "_proposalId", type: "uint256" },
1297
+ { internalType: "uint16", name: "_stageId", type: "uint16" },
1298
+ { internalType: "address", name: "_body", type: "address" }
1299
+ ],
1300
+ name: "getBodyResult",
1301
+ outputs: [{ internalType: "enum StagedProposalProcessor.ResultType", name: "", type: "uint8" }],
1302
+ stateMutability: "view",
1303
+ type: "function"
1304
+ },
1305
+ {
1306
+ inputs: [
1307
+ { internalType: "uint256", name: "_proposalId", type: "uint256" },
1308
+ { internalType: "uint16", name: "_stageId", type: "uint16" },
1309
+ { internalType: "uint256", name: "_index", type: "uint256" }
1310
+ ],
1311
+ name: "getCreateProposalParams",
1312
+ outputs: [{ internalType: "bytes", name: "", type: "bytes" }],
1313
+ stateMutability: "view",
1314
+ type: "function"
1315
+ },
1316
+ {
1317
+ inputs: [],
1318
+ name: "getCurrentConfigIndex",
1319
+ outputs: [{ internalType: "uint16", name: "", type: "uint16" }],
1320
+ stateMutability: "view",
1321
+ type: "function"
1322
+ },
1323
+ {
1324
+ inputs: [],
1325
+ name: "getCurrentTargetConfig",
1326
+ outputs: [
1327
+ {
1328
+ components: [
1329
+ { internalType: "address", name: "target", type: "address" },
1330
+ { internalType: "enum IPlugin.Operation", name: "operation", type: "uint8" }
1331
+ ],
1332
+ internalType: "struct IPlugin.TargetConfig",
1333
+ name: "",
1334
+ type: "tuple"
1335
+ }
1336
+ ],
1337
+ stateMutability: "view",
1338
+ type: "function"
1339
+ },
1340
+ {
1341
+ inputs: [],
1342
+ name: "getMetadata",
1343
+ outputs: [{ internalType: "bytes", name: "", type: "bytes" }],
1344
+ stateMutability: "view",
1345
+ type: "function"
1346
+ },
1347
+ {
1348
+ inputs: [{ internalType: "uint256", name: "_proposalId", type: "uint256" }],
1349
+ name: "getProposal",
1350
+ outputs: [
1351
+ {
1352
+ components: [
1353
+ { internalType: "uint128", name: "allowFailureMap", type: "uint128" },
1354
+ { internalType: "uint64", name: "lastStageTransition", type: "uint64" },
1355
+ { internalType: "uint16", name: "currentStage", type: "uint16" },
1356
+ { internalType: "uint16", name: "stageConfigIndex", type: "uint16" },
1357
+ { internalType: "bool", name: "executed", type: "bool" },
1358
+ { internalType: "bool", name: "canceled", type: "bool" },
1359
+ { internalType: "address", name: "creator", type: "address" },
1360
+ {
1361
+ components: [
1362
+ { internalType: "address", name: "to", type: "address" },
1363
+ { internalType: "uint256", name: "value", type: "uint256" },
1364
+ { internalType: "bytes", name: "data", type: "bytes" }
1365
+ ],
1366
+ internalType: "struct Action[]",
1367
+ name: "actions",
1368
+ type: "tuple[]"
1369
+ },
1370
+ {
1371
+ components: [
1372
+ { internalType: "address", name: "target", type: "address" },
1373
+ { internalType: "enum IPlugin.Operation", name: "operation", type: "uint8" }
1374
+ ],
1375
+ internalType: "struct IPlugin.TargetConfig",
1376
+ name: "targetConfig",
1377
+ type: "tuple"
1378
+ }
1379
+ ],
1380
+ internalType: "struct StagedProposalProcessor.Proposal",
1381
+ name: "",
1382
+ type: "tuple"
1383
+ }
1384
+ ],
1385
+ stateMutability: "view",
1386
+ type: "function"
1387
+ },
1388
+ {
1389
+ inputs: [
1390
+ { internalType: "uint256", name: "_proposalId", type: "uint256" },
1391
+ { internalType: "uint16", name: "_stageId", type: "uint16" }
1392
+ ],
1393
+ name: "getProposalTally",
1394
+ outputs: [
1395
+ { internalType: "uint256", name: "approvals", type: "uint256" },
1396
+ { internalType: "uint256", name: "vetoes", type: "uint256" }
1397
+ ],
1398
+ stateMutability: "view",
1399
+ type: "function"
1400
+ },
1401
+ {
1402
+ inputs: [{ internalType: "uint256", name: "_index", type: "uint256" }],
1403
+ name: "getStages",
1404
+ outputs: [
1405
+ {
1406
+ components: [
1407
+ {
1408
+ components: [
1409
+ { internalType: "address", name: "addr", type: "address" },
1410
+ { internalType: "bool", name: "isManual", type: "bool" },
1411
+ { internalType: "bool", name: "tryAdvance", type: "bool" },
1412
+ { internalType: "enum StagedProposalProcessor.ResultType", name: "resultType", type: "uint8" }
1413
+ ],
1414
+ internalType: "struct StagedProposalProcessor.Body[]",
1415
+ name: "bodies",
1416
+ type: "tuple[]"
1417
+ },
1418
+ { internalType: "uint64", name: "maxAdvance", type: "uint64" },
1419
+ { internalType: "uint64", name: "minAdvance", type: "uint64" },
1420
+ { internalType: "uint64", name: "voteDuration", type: "uint64" },
1421
+ { internalType: "uint16", name: "approvalThreshold", type: "uint16" },
1422
+ { internalType: "uint16", name: "vetoThreshold", type: "uint16" },
1423
+ { internalType: "bool", name: "cancelable", type: "bool" },
1424
+ { internalType: "bool", name: "editable", type: "bool" }
1425
+ ],
1426
+ internalType: "struct StagedProposalProcessor.Stage[]",
1427
+ name: "",
1428
+ type: "tuple[]"
1429
+ }
1430
+ ],
1431
+ stateMutability: "view",
1432
+ type: "function"
1433
+ },
1434
+ {
1435
+ inputs: [],
1436
+ name: "getTargetConfig",
1437
+ outputs: [
1438
+ {
1439
+ components: [
1440
+ { internalType: "address", name: "target", type: "address" },
1441
+ { internalType: "enum IPlugin.Operation", name: "operation", type: "uint8" }
1442
+ ],
1443
+ internalType: "struct IPlugin.TargetConfig",
1444
+ name: "",
1445
+ type: "tuple"
1446
+ }
1447
+ ],
1448
+ stateMutability: "view",
1449
+ type: "function"
1450
+ },
1451
+ {
1452
+ inputs: [],
1453
+ name: "getTrustedForwarder",
1454
+ outputs: [{ internalType: "address", name: "", type: "address" }],
1455
+ stateMutability: "view",
1456
+ type: "function"
1457
+ },
1458
+ {
1459
+ inputs: [{ internalType: "address", name: "_account", type: "address" }],
1460
+ name: "hasAdvancePermission",
1461
+ outputs: [{ internalType: "bool", name: "", type: "bool" }],
1462
+ stateMutability: "view",
1463
+ type: "function"
1464
+ },
1465
+ {
1466
+ inputs: [{ internalType: "address", name: "_account", type: "address" }],
1467
+ name: "hasExecutePermission",
1468
+ outputs: [{ internalType: "bool", name: "", type: "bool" }],
1469
+ stateMutability: "view",
1470
+ type: "function"
1471
+ },
1472
+ {
1473
+ inputs: [{ internalType: "uint256", name: "_proposalId", type: "uint256" }],
1474
+ name: "hasSucceeded",
1475
+ outputs: [{ internalType: "bool", name: "", type: "bool" }],
1476
+ stateMutability: "view",
1477
+ type: "function"
1478
+ },
1479
+ {
1480
+ inputs: [],
1481
+ name: "implementation",
1482
+ outputs: [{ internalType: "address", name: "", type: "address" }],
1483
+ stateMutability: "view",
1484
+ type: "function"
1485
+ },
1486
+ {
1487
+ inputs: [
1488
+ { internalType: "contract IDAO", name: "_dao", type: "address" },
1489
+ { internalType: "address", name: "_trustedForwarder", type: "address" },
1490
+ {
1491
+ components: [
1492
+ {
1493
+ components: [
1494
+ { internalType: "address", name: "addr", type: "address" },
1495
+ { internalType: "bool", name: "isManual", type: "bool" },
1496
+ { internalType: "bool", name: "tryAdvance", type: "bool" },
1497
+ { internalType: "enum StagedProposalProcessor.ResultType", name: "resultType", type: "uint8" }
1498
+ ],
1499
+ internalType: "struct StagedProposalProcessor.Body[]",
1500
+ name: "bodies",
1501
+ type: "tuple[]"
1502
+ },
1503
+ { internalType: "uint64", name: "maxAdvance", type: "uint64" },
1504
+ { internalType: "uint64", name: "minAdvance", type: "uint64" },
1505
+ { internalType: "uint64", name: "voteDuration", type: "uint64" },
1506
+ { internalType: "uint16", name: "approvalThreshold", type: "uint16" },
1507
+ { internalType: "uint16", name: "vetoThreshold", type: "uint16" },
1508
+ { internalType: "bool", name: "cancelable", type: "bool" },
1509
+ { internalType: "bool", name: "editable", type: "bool" }
1510
+ ],
1511
+ internalType: "struct StagedProposalProcessor.Stage[]",
1512
+ name: "_stages",
1513
+ type: "tuple[]"
1514
+ },
1515
+ { internalType: "bytes", name: "_pluginMetadata", type: "bytes" },
1516
+ {
1517
+ components: [
1518
+ { internalType: "address", name: "target", type: "address" },
1519
+ { internalType: "enum IPlugin.Operation", name: "operation", type: "uint8" }
1520
+ ],
1521
+ internalType: "struct IPlugin.TargetConfig",
1522
+ name: "_targetConfig",
1523
+ type: "tuple"
1524
+ }
1525
+ ],
1526
+ name: "initialize",
1527
+ outputs: [],
1528
+ stateMutability: "nonpayable",
1529
+ type: "function"
1530
+ },
1531
+ {
1532
+ inputs: [{ internalType: "address", name: "_forwarder", type: "address" }],
1533
+ name: "isTrustedForwarder",
1534
+ outputs: [{ internalType: "bool", name: "", type: "bool" }],
1535
+ stateMutability: "view",
1536
+ type: "function"
1537
+ },
1538
+ {
1539
+ inputs: [],
1540
+ name: "pluginType",
1541
+ outputs: [{ internalType: "enum IPlugin.PluginType", name: "", type: "uint8" }],
1542
+ stateMutability: "pure",
1543
+ type: "function"
1544
+ },
1545
+ {
1546
+ inputs: [],
1547
+ name: "proposalCount",
1548
+ outputs: [{ internalType: "uint256", name: "", type: "uint256" }],
1549
+ stateMutability: "view",
1550
+ type: "function"
1551
+ },
1552
+ {
1553
+ inputs: [],
1554
+ name: "protocolVersion",
1555
+ outputs: [{ internalType: "uint8[3]", name: "", type: "uint8[3]" }],
1556
+ stateMutability: "pure",
1557
+ type: "function"
1558
+ },
1559
+ {
1560
+ inputs: [],
1561
+ name: "proxiableUUID",
1562
+ outputs: [{ internalType: "bytes32", name: "", type: "bytes32" }],
1563
+ stateMutability: "view",
1564
+ type: "function"
1565
+ },
1566
+ {
1567
+ inputs: [
1568
+ { internalType: "uint256", name: "_proposalId", type: "uint256" },
1569
+ { internalType: "uint16", name: "_stageId", type: "uint16" },
1570
+ { internalType: "enum StagedProposalProcessor.ResultType", name: "_resultType", type: "uint8" },
1571
+ { internalType: "bool", name: "_tryAdvance", type: "bool" }
1572
+ ],
1573
+ name: "reportProposalResult",
1574
+ outputs: [],
1575
+ stateMutability: "nonpayable",
1576
+ type: "function"
1577
+ },
1578
+ {
1579
+ inputs: [{ internalType: "bytes", name: "_metadata", type: "bytes" }],
1580
+ name: "setMetadata",
1581
+ outputs: [],
1582
+ stateMutability: "nonpayable",
1583
+ type: "function"
1584
+ },
1585
+ {
1586
+ inputs: [
1587
+ {
1588
+ components: [
1589
+ { internalType: "address", name: "target", type: "address" },
1590
+ { internalType: "enum IPlugin.Operation", name: "operation", type: "uint8" }
1591
+ ],
1592
+ internalType: "struct IPlugin.TargetConfig",
1593
+ name: "_targetConfig",
1594
+ type: "tuple"
1595
+ }
1596
+ ],
1597
+ name: "setTargetConfig",
1598
+ outputs: [],
1599
+ stateMutability: "nonpayable",
1600
+ type: "function"
1601
+ },
1602
+ {
1603
+ inputs: [{ internalType: "address", name: "_forwarder", type: "address" }],
1604
+ name: "setTrustedForwarder",
1605
+ outputs: [],
1606
+ stateMutability: "nonpayable",
1607
+ type: "function"
1608
+ },
1609
+ {
1610
+ inputs: [{ internalType: "uint256", name: "_proposalId", type: "uint256" }],
1611
+ name: "state",
1612
+ outputs: [{ internalType: "enum StagedProposalProcessor.ProposalState", name: "", type: "uint8" }],
1613
+ stateMutability: "view",
1614
+ type: "function"
1615
+ },
1616
+ {
1617
+ inputs: [{ internalType: "bytes4", name: "_interfaceId", type: "bytes4" }],
1618
+ name: "supportsInterface",
1619
+ outputs: [{ internalType: "bool", name: "", type: "bool" }],
1620
+ stateMutability: "view",
1621
+ type: "function"
1622
+ },
1623
+ {
1624
+ inputs: [
1625
+ {
1626
+ components: [
1627
+ {
1628
+ components: [
1629
+ { internalType: "address", name: "addr", type: "address" },
1630
+ { internalType: "bool", name: "isManual", type: "bool" },
1631
+ { internalType: "bool", name: "tryAdvance", type: "bool" },
1632
+ { internalType: "enum StagedProposalProcessor.ResultType", name: "resultType", type: "uint8" }
1633
+ ],
1634
+ internalType: "struct StagedProposalProcessor.Body[]",
1635
+ name: "bodies",
1636
+ type: "tuple[]"
1637
+ },
1638
+ { internalType: "uint64", name: "maxAdvance", type: "uint64" },
1639
+ { internalType: "uint64", name: "minAdvance", type: "uint64" },
1640
+ { internalType: "uint64", name: "voteDuration", type: "uint64" },
1641
+ { internalType: "uint16", name: "approvalThreshold", type: "uint16" },
1642
+ { internalType: "uint16", name: "vetoThreshold", type: "uint16" },
1643
+ { internalType: "bool", name: "cancelable", type: "bool" },
1644
+ { internalType: "bool", name: "editable", type: "bool" }
1645
+ ],
1646
+ internalType: "struct StagedProposalProcessor.Stage[]",
1647
+ name: "_stages",
1648
+ type: "tuple[]"
1649
+ }
1650
+ ],
1651
+ name: "updateStages",
1652
+ outputs: [],
1653
+ stateMutability: "nonpayable",
1654
+ type: "function"
1655
+ },
1656
+ {
1657
+ inputs: [{ internalType: "address", name: "newImplementation", type: "address" }],
1658
+ name: "upgradeTo",
1659
+ outputs: [],
1660
+ stateMutability: "nonpayable",
1661
+ type: "function"
1662
+ },
1663
+ {
1664
+ inputs: [
1665
+ { internalType: "address", name: "newImplementation", type: "address" },
1666
+ { internalType: "bytes", name: "data", type: "bytes" }
1667
+ ],
1668
+ name: "upgradeToAndCall",
1669
+ outputs: [],
1670
+ stateMutability: "payable",
1671
+ type: "function"
1672
+ }
1673
+ ];
1674
+
1675
+ // exports/abis/aragon/AragonVetoMultiSig.ts
1676
+ var AragonVetoMultiSig_ABI = [
1677
+ {
1678
+ inputs: [
1679
+ { internalType: "uint16", name: "limit", type: "uint16" },
1680
+ { internalType: "uint256", name: "actual", type: "uint256" }
1681
+ ],
1682
+ name: "AddresslistLengthOutOfBounds",
1683
+ type: "error"
1684
+ },
1685
+ { inputs: [], name: "AlreadyInitialized", type: "error" },
1686
+ {
1687
+ inputs: [
1688
+ { internalType: "uint256", name: "proposalId", type: "uint256" },
1689
+ { internalType: "address", name: "sender", type: "address" }
1690
+ ],
1691
+ name: "ApprovalCastForbidden",
1692
+ type: "error"
1693
+ },
1694
+ {
1695
+ inputs: [
1696
+ { internalType: "address", name: "dao", type: "address" },
1697
+ { internalType: "address", name: "where", type: "address" },
1698
+ { internalType: "address", name: "who", type: "address" },
1699
+ { internalType: "bytes32", name: "permissionId", type: "bytes32" }
1700
+ ],
1701
+ name: "DaoUnauthorized",
1702
+ type: "error"
1703
+ },
1704
+ {
1705
+ inputs: [
1706
+ { internalType: "uint64", name: "limit", type: "uint64" },
1707
+ { internalType: "uint64", name: "actual", type: "uint64" }
1708
+ ],
1709
+ name: "DateOutOfBounds",
1710
+ type: "error"
1711
+ },
1712
+ { inputs: [], name: "DelegateCallFailed", type: "error" },
1713
+ { inputs: [], name: "FunctionDeprecated", type: "error" },
1714
+ { inputs: [{ internalType: "address", name: "member", type: "address" }], name: "InvalidAddresslistUpdate", type: "error" },
1715
+ {
1716
+ inputs: [
1717
+ {
1718
+ components: [
1719
+ { internalType: "address", name: "target", type: "address" },
1720
+ { internalType: "enum IPlugin.Operation", name: "operation", type: "uint8" }
1721
+ ],
1722
+ internalType: "struct IPlugin.TargetConfig",
1723
+ name: "targetConfig",
1724
+ type: "tuple"
1725
+ }
1726
+ ],
1727
+ name: "InvalidTargetConfig",
1728
+ type: "error"
1729
+ },
1730
+ {
1731
+ inputs: [
1732
+ { internalType: "uint16", name: "limit", type: "uint16" },
1733
+ { internalType: "uint16", name: "actual", type: "uint16" }
1734
+ ],
1735
+ name: "MinApprovalsOutOfBounds",
1736
+ type: "error"
1737
+ },
1738
+ { inputs: [{ internalType: "uint256", name: "proposalId", type: "uint256" }], name: "NonexistentProposal", type: "error" },
1739
+ { inputs: [{ internalType: "uint256", name: "proposalId", type: "uint256" }], name: "ProposalAlreadyExists", type: "error" },
1740
+ { inputs: [{ internalType: "address", name: "sender", type: "address" }], name: "ProposalCreationForbidden", type: "error" },
1741
+ { inputs: [{ internalType: "uint256", name: "proposalId", type: "uint256" }], name: "ProposalExecutionForbidden", type: "error" },
1742
+ {
1743
+ anonymous: false,
1744
+ inputs: [
1745
+ { indexed: false, internalType: "address", name: "previousAdmin", type: "address" },
1746
+ { indexed: false, internalType: "address", name: "newAdmin", type: "address" }
1747
+ ],
1748
+ name: "AdminChanged",
1749
+ type: "event"
1750
+ },
1751
+ {
1752
+ anonymous: false,
1753
+ inputs: [
1754
+ { indexed: true, internalType: "uint256", name: "proposalId", type: "uint256" },
1755
+ { indexed: true, internalType: "address", name: "approver", type: "address" }
1756
+ ],
1757
+ name: "Approved",
1758
+ type: "event"
1759
+ },
1760
+ {
1761
+ anonymous: false,
1762
+ inputs: [{ indexed: true, internalType: "address", name: "beacon", type: "address" }],
1763
+ name: "BeaconUpgraded",
1764
+ type: "event"
1765
+ },
1766
+ {
1767
+ anonymous: false,
1768
+ inputs: [{ indexed: false, internalType: "uint8", name: "version", type: "uint8" }],
1769
+ name: "Initialized",
1770
+ type: "event"
1771
+ },
1772
+ {
1773
+ anonymous: false,
1774
+ inputs: [{ indexed: false, internalType: "address[]", name: "members", type: "address[]" }],
1775
+ name: "MembersAdded",
1776
+ type: "event"
1777
+ },
1778
+ {
1779
+ anonymous: false,
1780
+ inputs: [{ indexed: false, internalType: "address[]", name: "members", type: "address[]" }],
1781
+ name: "MembersRemoved",
1782
+ type: "event"
1783
+ },
1784
+ {
1785
+ anonymous: false,
1786
+ inputs: [{ indexed: true, internalType: "address", name: "definingContract", type: "address" }],
1787
+ name: "MembershipContractAnnounced",
1788
+ type: "event"
1789
+ },
1790
+ {
1791
+ anonymous: false,
1792
+ inputs: [{ indexed: false, internalType: "bytes", name: "metadata", type: "bytes" }],
1793
+ name: "MetadataSet",
1794
+ type: "event"
1795
+ },
1796
+ {
1797
+ anonymous: false,
1798
+ inputs: [
1799
+ { indexed: false, internalType: "bool", name: "onlyListed", type: "bool" },
1800
+ { indexed: true, internalType: "uint16", name: "minApprovals", type: "uint16" }
1801
+ ],
1802
+ name: "MultisigSettingsUpdated",
1803
+ type: "event"
1804
+ },
1805
+ {
1806
+ anonymous: false,
1807
+ inputs: [
1808
+ { indexed: true, internalType: "uint256", name: "proposalId", type: "uint256" },
1809
+ { indexed: true, internalType: "address", name: "creator", type: "address" },
1810
+ { indexed: false, internalType: "uint64", name: "startDate", type: "uint64" },
1811
+ { indexed: false, internalType: "uint64", name: "endDate", type: "uint64" },
1812
+ { indexed: false, internalType: "bytes", name: "metadata", type: "bytes" },
1813
+ {
1814
+ components: [
1815
+ { internalType: "address", name: "to", type: "address" },
1816
+ { internalType: "uint256", name: "value", type: "uint256" },
1817
+ { internalType: "bytes", name: "data", type: "bytes" }
1818
+ ],
1819
+ indexed: false,
1820
+ internalType: "struct Action[]",
1821
+ name: "actions",
1822
+ type: "tuple[]"
1823
+ },
1824
+ { indexed: false, internalType: "uint256", name: "allowFailureMap", type: "uint256" }
1825
+ ],
1826
+ name: "ProposalCreated",
1827
+ type: "event"
1828
+ },
1829
+ {
1830
+ anonymous: false,
1831
+ inputs: [{ indexed: true, internalType: "uint256", name: "proposalId", type: "uint256" }],
1832
+ name: "ProposalExecuted",
1833
+ type: "event"
1834
+ },
1835
+ {
1836
+ anonymous: false,
1837
+ inputs: [
1838
+ {
1839
+ components: [
1840
+ { internalType: "address", name: "target", type: "address" },
1841
+ { internalType: "enum IPlugin.Operation", name: "operation", type: "uint8" }
1842
+ ],
1843
+ indexed: false,
1844
+ internalType: "struct IPlugin.TargetConfig",
1845
+ name: "newTargetConfig",
1846
+ type: "tuple"
1847
+ }
1848
+ ],
1849
+ name: "TargetSet",
1850
+ type: "event"
1851
+ },
1852
+ {
1853
+ anonymous: false,
1854
+ inputs: [{ indexed: true, internalType: "address", name: "implementation", type: "address" }],
1855
+ name: "Upgraded",
1856
+ type: "event"
1857
+ },
1858
+ {
1859
+ inputs: [],
1860
+ name: "CREATE_PROPOSAL_PERMISSION_ID",
1861
+ outputs: [{ internalType: "bytes32", name: "", type: "bytes32" }],
1862
+ stateMutability: "view",
1863
+ type: "function"
1864
+ },
1865
+ {
1866
+ inputs: [],
1867
+ name: "EXECUTE_PROPOSAL_PERMISSION_ID",
1868
+ outputs: [{ internalType: "bytes32", name: "", type: "bytes32" }],
1869
+ stateMutability: "view",
1870
+ type: "function"
1871
+ },
1872
+ {
1873
+ inputs: [],
1874
+ name: "SET_METADATA_PERMISSION_ID",
1875
+ outputs: [{ internalType: "bytes32", name: "", type: "bytes32" }],
1876
+ stateMutability: "view",
1877
+ type: "function"
1878
+ },
1879
+ {
1880
+ inputs: [],
1881
+ name: "SET_TARGET_CONFIG_PERMISSION_ID",
1882
+ outputs: [{ internalType: "bytes32", name: "", type: "bytes32" }],
1883
+ stateMutability: "view",
1884
+ type: "function"
1885
+ },
1886
+ {
1887
+ inputs: [],
1888
+ name: "UPDATE_MULTISIG_SETTINGS_PERMISSION_ID",
1889
+ outputs: [{ internalType: "bytes32", name: "", type: "bytes32" }],
1890
+ stateMutability: "view",
1891
+ type: "function"
1892
+ },
1893
+ {
1894
+ inputs: [],
1895
+ name: "UPGRADE_PLUGIN_PERMISSION_ID",
1896
+ outputs: [{ internalType: "bytes32", name: "", type: "bytes32" }],
1897
+ stateMutability: "view",
1898
+ type: "function"
1899
+ },
1900
+ {
1901
+ inputs: [{ internalType: "address[]", name: "_members", type: "address[]" }],
1902
+ name: "addAddresses",
1903
+ outputs: [],
1904
+ stateMutability: "nonpayable",
1905
+ type: "function"
1906
+ },
1907
+ {
1908
+ inputs: [],
1909
+ name: "addresslistLength",
1910
+ outputs: [{ internalType: "uint256", name: "", type: "uint256" }],
1911
+ stateMutability: "view",
1912
+ type: "function"
1913
+ },
1914
+ {
1915
+ inputs: [{ internalType: "uint256", name: "_blockNumber", type: "uint256" }],
1916
+ name: "addresslistLengthAtBlock",
1917
+ outputs: [{ internalType: "uint256", name: "", type: "uint256" }],
1918
+ stateMutability: "view",
1919
+ type: "function"
1920
+ },
1921
+ {
1922
+ inputs: [
1923
+ { internalType: "uint256", name: "_proposalId", type: "uint256" },
1924
+ { internalType: "bool", name: "_tryExecution", type: "bool" }
1925
+ ],
1926
+ name: "approve",
1927
+ outputs: [],
1928
+ stateMutability: "nonpayable",
1929
+ type: "function"
1930
+ },
1931
+ {
1932
+ inputs: [
1933
+ { internalType: "uint256", name: "_proposalId", type: "uint256" },
1934
+ { internalType: "address", name: "_account", type: "address" }
1935
+ ],
1936
+ name: "canApprove",
1937
+ outputs: [{ internalType: "bool", name: "", type: "bool" }],
1938
+ stateMutability: "view",
1939
+ type: "function"
1940
+ },
1941
+ {
1942
+ inputs: [{ internalType: "uint256", name: "_proposalId", type: "uint256" }],
1943
+ name: "canExecute",
1944
+ outputs: [{ internalType: "bool", name: "", type: "bool" }],
1945
+ stateMutability: "view",
1946
+ type: "function"
1947
+ },
1948
+ {
1949
+ inputs: [
1950
+ { internalType: "bytes", name: "_metadata", type: "bytes" },
1951
+ {
1952
+ components: [
1953
+ { internalType: "address", name: "to", type: "address" },
1954
+ { internalType: "uint256", name: "value", type: "uint256" },
1955
+ { internalType: "bytes", name: "data", type: "bytes" }
1956
+ ],
1957
+ internalType: "struct Action[]",
1958
+ name: "_actions",
1959
+ type: "tuple[]"
1960
+ },
1961
+ { internalType: "uint64", name: "_startDate", type: "uint64" },
1962
+ { internalType: "uint64", name: "_endDate", type: "uint64" },
1963
+ { internalType: "bytes", name: "_data", type: "bytes" }
1964
+ ],
1965
+ name: "createProposal",
1966
+ outputs: [{ internalType: "uint256", name: "proposalId", type: "uint256" }],
1967
+ stateMutability: "nonpayable",
1968
+ type: "function"
1969
+ },
1970
+ {
1971
+ inputs: [
1972
+ { internalType: "bytes", name: "_metadata", type: "bytes" },
1973
+ {
1974
+ components: [
1975
+ { internalType: "address", name: "to", type: "address" },
1976
+ { internalType: "uint256", name: "value", type: "uint256" },
1977
+ { internalType: "bytes", name: "data", type: "bytes" }
1978
+ ],
1979
+ internalType: "struct Action[]",
1980
+ name: "_actions",
1981
+ type: "tuple[]"
1982
+ },
1983
+ { internalType: "uint256", name: "_allowFailureMap", type: "uint256" },
1984
+ { internalType: "bool", name: "_approveProposal", type: "bool" },
1985
+ { internalType: "bool", name: "_tryExecution", type: "bool" },
1986
+ { internalType: "uint64", name: "_startDate", type: "uint64" },
1987
+ { internalType: "uint64", name: "_endDate", type: "uint64" }
1988
+ ],
1989
+ name: "createProposal",
1990
+ outputs: [{ internalType: "uint256", name: "proposalId", type: "uint256" }],
1991
+ stateMutability: "nonpayable",
1992
+ type: "function"
1993
+ },
1994
+ {
1995
+ inputs: [],
1996
+ name: "customProposalParamsABI",
1997
+ outputs: [{ internalType: "string", name: "", type: "string" }],
1998
+ stateMutability: "pure",
1999
+ type: "function"
2000
+ },
2001
+ {
2002
+ inputs: [],
2003
+ name: "dao",
2004
+ outputs: [{ internalType: "contract IDAO", name: "", type: "address" }],
2005
+ stateMutability: "view",
2006
+ type: "function"
2007
+ },
2008
+ {
2009
+ inputs: [{ internalType: "uint256", name: "_proposalId", type: "uint256" }],
2010
+ name: "execute",
2011
+ outputs: [],
2012
+ stateMutability: "nonpayable",
2013
+ type: "function"
2014
+ },
2015
+ {
2016
+ inputs: [],
2017
+ name: "getCurrentTargetConfig",
2018
+ outputs: [
2019
+ {
2020
+ components: [
2021
+ { internalType: "address", name: "target", type: "address" },
2022
+ { internalType: "enum IPlugin.Operation", name: "operation", type: "uint8" }
2023
+ ],
2024
+ internalType: "struct IPlugin.TargetConfig",
2025
+ name: "",
2026
+ type: "tuple"
2027
+ }
2028
+ ],
2029
+ stateMutability: "view",
2030
+ type: "function"
2031
+ },
2032
+ {
2033
+ inputs: [],
2034
+ name: "getMetadata",
2035
+ outputs: [{ internalType: "bytes", name: "", type: "bytes" }],
2036
+ stateMutability: "view",
2037
+ type: "function"
2038
+ },
2039
+ {
2040
+ inputs: [{ internalType: "uint256", name: "_proposalId", type: "uint256" }],
2041
+ name: "getProposal",
2042
+ outputs: [
2043
+ { internalType: "bool", name: "executed", type: "bool" },
2044
+ { internalType: "uint16", name: "approvals", type: "uint16" },
2045
+ {
2046
+ components: [
2047
+ { internalType: "uint16", name: "minApprovals", type: "uint16" },
2048
+ { internalType: "uint64", name: "snapshotBlock", type: "uint64" },
2049
+ { internalType: "uint64", name: "startDate", type: "uint64" },
2050
+ { internalType: "uint64", name: "endDate", type: "uint64" }
2051
+ ],
2052
+ internalType: "struct Multisig.ProposalParameters",
2053
+ name: "parameters",
2054
+ type: "tuple"
2055
+ },
2056
+ {
2057
+ components: [
2058
+ { internalType: "address", name: "to", type: "address" },
2059
+ { internalType: "uint256", name: "value", type: "uint256" },
2060
+ { internalType: "bytes", name: "data", type: "bytes" }
2061
+ ],
2062
+ internalType: "struct Action[]",
2063
+ name: "actions",
2064
+ type: "tuple[]"
2065
+ },
2066
+ { internalType: "uint256", name: "allowFailureMap", type: "uint256" },
2067
+ {
2068
+ components: [
2069
+ { internalType: "address", name: "target", type: "address" },
2070
+ { internalType: "enum IPlugin.Operation", name: "operation", type: "uint8" }
2071
+ ],
2072
+ internalType: "struct IPlugin.TargetConfig",
2073
+ name: "targetConfig",
2074
+ type: "tuple"
2075
+ }
2076
+ ],
2077
+ stateMutability: "view",
2078
+ type: "function"
2079
+ },
2080
+ {
2081
+ inputs: [],
2082
+ name: "getTargetConfig",
2083
+ outputs: [
2084
+ {
2085
+ components: [
2086
+ { internalType: "address", name: "target", type: "address" },
2087
+ { internalType: "enum IPlugin.Operation", name: "operation", type: "uint8" }
2088
+ ],
2089
+ internalType: "struct IPlugin.TargetConfig",
2090
+ name: "",
2091
+ type: "tuple"
2092
+ }
2093
+ ],
2094
+ stateMutability: "view",
2095
+ type: "function"
2096
+ },
2097
+ {
2098
+ inputs: [
2099
+ { internalType: "uint256", name: "_proposalId", type: "uint256" },
2100
+ { internalType: "address", name: "_account", type: "address" }
2101
+ ],
2102
+ name: "hasApproved",
2103
+ outputs: [{ internalType: "bool", name: "", type: "bool" }],
2104
+ stateMutability: "view",
2105
+ type: "function"
2106
+ },
2107
+ {
2108
+ inputs: [{ internalType: "uint256", name: "_proposalId", type: "uint256" }],
2109
+ name: "hasSucceeded",
2110
+ outputs: [{ internalType: "bool", name: "", type: "bool" }],
2111
+ stateMutability: "view",
2112
+ type: "function"
2113
+ },
2114
+ {
2115
+ inputs: [],
2116
+ name: "implementation",
2117
+ outputs: [{ internalType: "address", name: "", type: "address" }],
2118
+ stateMutability: "view",
2119
+ type: "function"
2120
+ },
2121
+ {
2122
+ inputs: [
2123
+ { internalType: "contract IDAO", name: "_dao", type: "address" },
2124
+ { internalType: "address[]", name: "_members", type: "address[]" },
2125
+ {
2126
+ components: [
2127
+ { internalType: "bool", name: "onlyListed", type: "bool" },
2128
+ { internalType: "uint16", name: "minApprovals", type: "uint16" }
2129
+ ],
2130
+ internalType: "struct Multisig.MultisigSettings",
2131
+ name: "_multisigSettings",
2132
+ type: "tuple"
2133
+ },
2134
+ {
2135
+ components: [
2136
+ { internalType: "address", name: "target", type: "address" },
2137
+ { internalType: "enum IPlugin.Operation", name: "operation", type: "uint8" }
2138
+ ],
2139
+ internalType: "struct IPlugin.TargetConfig",
2140
+ name: "_targetConfig",
2141
+ type: "tuple"
2142
+ },
2143
+ { internalType: "bytes", name: "_pluginMetadata", type: "bytes" }
2144
+ ],
2145
+ name: "initialize",
2146
+ outputs: [],
2147
+ stateMutability: "nonpayable",
2148
+ type: "function"
2149
+ },
2150
+ {
2151
+ inputs: [
2152
+ { internalType: "uint16", name: "_fromBuild", type: "uint16" },
2153
+ { internalType: "bytes", name: "_initData", type: "bytes" }
2154
+ ],
2155
+ name: "initializeFrom",
2156
+ outputs: [],
2157
+ stateMutability: "nonpayable",
2158
+ type: "function"
2159
+ },
2160
+ {
2161
+ inputs: [{ internalType: "address", name: "_account", type: "address" }],
2162
+ name: "isListed",
2163
+ outputs: [{ internalType: "bool", name: "", type: "bool" }],
2164
+ stateMutability: "view",
2165
+ type: "function"
2166
+ },
2167
+ {
2168
+ inputs: [
2169
+ { internalType: "address", name: "_account", type: "address" },
2170
+ { internalType: "uint256", name: "_blockNumber", type: "uint256" }
2171
+ ],
2172
+ name: "isListedAtBlock",
2173
+ outputs: [{ internalType: "bool", name: "", type: "bool" }],
2174
+ stateMutability: "view",
2175
+ type: "function"
2176
+ },
2177
+ {
2178
+ inputs: [{ internalType: "address", name: "_account", type: "address" }],
2179
+ name: "isMember",
2180
+ outputs: [{ internalType: "bool", name: "", type: "bool" }],
2181
+ stateMutability: "view",
2182
+ type: "function"
2183
+ },
2184
+ {
2185
+ inputs: [],
2186
+ name: "lastMultisigSettingsChange",
2187
+ outputs: [{ internalType: "uint64", name: "", type: "uint64" }],
2188
+ stateMutability: "view",
2189
+ type: "function"
2190
+ },
2191
+ {
2192
+ inputs: [],
2193
+ name: "multisigSettings",
2194
+ outputs: [
2195
+ { internalType: "bool", name: "onlyListed", type: "bool" },
2196
+ { internalType: "uint16", name: "minApprovals", type: "uint16" }
2197
+ ],
2198
+ stateMutability: "view",
2199
+ type: "function"
2200
+ },
2201
+ {
2202
+ inputs: [],
2203
+ name: "pluginType",
2204
+ outputs: [{ internalType: "enum IPlugin.PluginType", name: "", type: "uint8" }],
2205
+ stateMutability: "pure",
2206
+ type: "function"
2207
+ },
2208
+ {
2209
+ inputs: [],
2210
+ name: "proposalCount",
2211
+ outputs: [{ internalType: "uint256", name: "", type: "uint256" }],
2212
+ stateMutability: "view",
2213
+ type: "function"
2214
+ },
2215
+ {
2216
+ inputs: [],
2217
+ name: "protocolVersion",
2218
+ outputs: [{ internalType: "uint8[3]", name: "", type: "uint8[3]" }],
2219
+ stateMutability: "pure",
2220
+ type: "function"
2221
+ },
2222
+ {
2223
+ inputs: [],
2224
+ name: "proxiableUUID",
2225
+ outputs: [{ internalType: "bytes32", name: "", type: "bytes32" }],
2226
+ stateMutability: "view",
2227
+ type: "function"
2228
+ },
2229
+ {
2230
+ inputs: [{ internalType: "address[]", name: "_members", type: "address[]" }],
2231
+ name: "removeAddresses",
2232
+ outputs: [],
2233
+ stateMutability: "nonpayable",
2234
+ type: "function"
2235
+ },
2236
+ {
2237
+ inputs: [{ internalType: "bytes", name: "_metadata", type: "bytes" }],
2238
+ name: "setMetadata",
2239
+ outputs: [],
2240
+ stateMutability: "nonpayable",
2241
+ type: "function"
2242
+ },
2243
+ {
2244
+ inputs: [
2245
+ {
2246
+ components: [
2247
+ { internalType: "address", name: "target", type: "address" },
2248
+ { internalType: "enum IPlugin.Operation", name: "operation", type: "uint8" }
2249
+ ],
2250
+ internalType: "struct IPlugin.TargetConfig",
2251
+ name: "_targetConfig",
2252
+ type: "tuple"
2253
+ }
2254
+ ],
2255
+ name: "setTargetConfig",
2256
+ outputs: [],
2257
+ stateMutability: "nonpayable",
2258
+ type: "function"
2259
+ },
2260
+ {
2261
+ inputs: [{ internalType: "bytes4", name: "_interfaceId", type: "bytes4" }],
2262
+ name: "supportsInterface",
2263
+ outputs: [{ internalType: "bool", name: "", type: "bool" }],
2264
+ stateMutability: "view",
2265
+ type: "function"
2266
+ },
2267
+ {
2268
+ inputs: [
2269
+ {
2270
+ components: [
2271
+ { internalType: "bool", name: "onlyListed", type: "bool" },
2272
+ { internalType: "uint16", name: "minApprovals", type: "uint16" }
2273
+ ],
2274
+ internalType: "struct Multisig.MultisigSettings",
2275
+ name: "_multisigSettings",
2276
+ type: "tuple"
2277
+ }
2278
+ ],
2279
+ name: "updateMultisigSettings",
2280
+ outputs: [],
2281
+ stateMutability: "nonpayable",
2282
+ type: "function"
2283
+ },
2284
+ {
2285
+ inputs: [{ internalType: "address", name: "newImplementation", type: "address" }],
2286
+ name: "upgradeTo",
2287
+ outputs: [],
2288
+ stateMutability: "nonpayable",
2289
+ type: "function"
2290
+ },
2291
+ {
2292
+ inputs: [
2293
+ { internalType: "address", name: "newImplementation", type: "address" },
2294
+ { internalType: "bytes", name: "data", type: "bytes" }
2295
+ ],
2296
+ name: "upgradeToAndCall",
2297
+ outputs: [],
2298
+ stateMutability: "payable",
2299
+ type: "function"
2300
+ }
2301
+ ];
2302
+
239
2303
  // exports/abis/curve/CurveAdapterV1.ts
240
2304
  var CurveAdapterV1_ABI = [
241
2305
  {
@@ -21116,6 +23180,9 @@ var VaultAdapterV1_ABI = [
21116
23180
  0 && (module.exports = {
21117
23181
  ADDRESS,
21118
23182
  AggregatorV3Interface_ABI,
23183
+ AragonDelayedAction_ABI,
23184
+ AragonMultiSig_ABI,
23185
+ AragonVetoMultiSig_ABI,
21119
23186
  ChainMain,
21120
23187
  ChainSide,
21121
23188
  CurveAdapterV1_1_ABI,