@usdu-finance/usdu-core 0.0.1 → 0.0.3

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