@sherwoodagent/cli 0.81.0 → 0.82.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (63) hide show
  1. package/dist/{abis-OLIDCWDS.js → abis-ZQ6I3S6L.js} +2 -4
  2. package/dist/{addresses-EF5OQSKV.js → addresses-FGJ4I4IG.js} +3 -3
  3. package/dist/{agent-VLYILEUP.js → agent-QUINV725.js} +7 -7
  4. package/dist/{chat-ANE3SNHH.js → chat-5TUHBSIA.js} +8 -8
  5. package/dist/{chunk-QK3FUTVI.js → chunk-27XY2HXV.js} +5 -5
  6. package/dist/{chunk-VJKZDHH3.js → chunk-3TLKNRZV.js} +10 -9
  7. package/dist/chunk-3TLKNRZV.js.map +1 -0
  8. package/dist/{chunk-RFJSV3EZ.js → chunk-4KJUX5SS.js} +5 -5
  9. package/dist/{chunk-K2NEFUEP.js → chunk-54CLRBPB.js} +5 -5
  10. package/dist/{chunk-QSYLZA4Z.js → chunk-6BVA4RIH.js} +2 -2
  11. package/dist/{chunk-WUYJ7AS6.js → chunk-76DLC7CM.js} +3 -3
  12. package/dist/{chunk-BJ4G3TPP.js → chunk-EPQR6PJ4.js} +2 -2
  13. package/dist/{chunk-54WMDJTL.js → chunk-LZEV772I.js} +386 -5
  14. package/dist/chunk-LZEV772I.js.map +1 -0
  15. package/dist/{chunk-Z7GRB3OQ.js → chunk-MC5QEPW3.js} +6 -6
  16. package/dist/{chunk-XW6NDXBA.js → chunk-PMRYC6SF.js} +12 -12
  17. package/dist/{chunk-XW6NDXBA.js.map → chunk-PMRYC6SF.js.map} +1 -1
  18. package/dist/{chunk-XDWYX5ZM.js → chunk-UHGWEJ24.js} +2 -2
  19. package/dist/{chunk-TU655ZTV.js → chunk-XSP64L7L.js} +1102 -480
  20. package/dist/chunk-XSP64L7L.js.map +1 -0
  21. package/dist/{chunk-UO4UITOY.js → chunk-Y6XOH23Y.js} +28 -7
  22. package/dist/chunk-Y6XOH23Y.js.map +1 -0
  23. package/dist/{client-25LF2O4P.js → client-VNSFNDF4.js} +3 -3
  24. package/dist/{eas-HHMRO37P.js → eas-PJ3Y4NDB.js} +6 -6
  25. package/dist/{governor-AL2XUGBE.js → governor-4ASVLOCI.js} +6 -6
  26. package/dist/index.js +4832 -4574
  27. package/dist/index.js.map +1 -1
  28. package/dist/{network-R45QDUYO.js → network-RI54LT2Y.js} +2 -2
  29. package/dist/{price-QO22NF5Q.js → price-JX2LFKFW.js} +6 -6
  30. package/dist/{providers-ALMXBRNW.js → providers-F6MNPMR4.js} +4 -4
  31. package/dist/{research-IFMAQWCH.js → research-5ZJTRILJ.js} +7 -7
  32. package/dist/{session-BE52OSEV.js → session-AXLPYJHX.js} +10 -10
  33. package/dist/{trade-YNQVWUYZ.js → trade-BZM7K2F4.js} +15 -15
  34. package/dist/{vault-KE5TKCSY.js → vault-AWQBFD4C.js} +8 -8
  35. package/dist/{xmtp-M2OBCCNR.js → xmtp-M74BRF3G.js} +6 -6
  36. package/package.json +1 -1
  37. package/dist/chunk-54WMDJTL.js.map +0 -1
  38. package/dist/chunk-TU655ZTV.js.map +0 -1
  39. package/dist/chunk-UO4UITOY.js.map +0 -1
  40. package/dist/chunk-VJKZDHH3.js.map +0 -1
  41. /package/dist/{abis-OLIDCWDS.js.map → abis-ZQ6I3S6L.js.map} +0 -0
  42. /package/dist/{addresses-EF5OQSKV.js.map → addresses-FGJ4I4IG.js.map} +0 -0
  43. /package/dist/{agent-VLYILEUP.js.map → agent-QUINV725.js.map} +0 -0
  44. /package/dist/{chat-ANE3SNHH.js.map → chat-5TUHBSIA.js.map} +0 -0
  45. /package/dist/{chunk-QK3FUTVI.js.map → chunk-27XY2HXV.js.map} +0 -0
  46. /package/dist/{chunk-RFJSV3EZ.js.map → chunk-4KJUX5SS.js.map} +0 -0
  47. /package/dist/{chunk-K2NEFUEP.js.map → chunk-54CLRBPB.js.map} +0 -0
  48. /package/dist/{chunk-QSYLZA4Z.js.map → chunk-6BVA4RIH.js.map} +0 -0
  49. /package/dist/{chunk-WUYJ7AS6.js.map → chunk-76DLC7CM.js.map} +0 -0
  50. /package/dist/{chunk-BJ4G3TPP.js.map → chunk-EPQR6PJ4.js.map} +0 -0
  51. /package/dist/{chunk-Z7GRB3OQ.js.map → chunk-MC5QEPW3.js.map} +0 -0
  52. /package/dist/{chunk-XDWYX5ZM.js.map → chunk-UHGWEJ24.js.map} +0 -0
  53. /package/dist/{client-25LF2O4P.js.map → client-VNSFNDF4.js.map} +0 -0
  54. /package/dist/{eas-HHMRO37P.js.map → eas-PJ3Y4NDB.js.map} +0 -0
  55. /package/dist/{governor-AL2XUGBE.js.map → governor-4ASVLOCI.js.map} +0 -0
  56. /package/dist/{network-R45QDUYO.js.map → network-RI54LT2Y.js.map} +0 -0
  57. /package/dist/{price-QO22NF5Q.js.map → price-JX2LFKFW.js.map} +0 -0
  58. /package/dist/{providers-ALMXBRNW.js.map → providers-F6MNPMR4.js.map} +0 -0
  59. /package/dist/{research-IFMAQWCH.js.map → research-5ZJTRILJ.js.map} +0 -0
  60. /package/dist/{session-BE52OSEV.js.map → session-AXLPYJHX.js.map} +0 -0
  61. /package/dist/{trade-YNQVWUYZ.js.map → trade-BZM7K2F4.js.map} +0 -0
  62. /package/dist/{vault-KE5TKCSY.js.map → vault-AWQBFD4C.js.map} +0 -0
  63. /package/dist/{xmtp-M2OBCCNR.js.map → xmtp-M74BRF3G.js.map} +0 -0
@@ -35,6 +35,13 @@ var SYNDICATE_VAULT_ABI = [
35
35
  inputs: [],
36
36
  outputs: [{ name: "", type: "string" }]
37
37
  },
38
+ {
39
+ name: "aboveHighWaterMark",
40
+ type: "function",
41
+ stateMutability: "view",
42
+ inputs: [],
43
+ outputs: [{ name: "", type: "uint256" }]
44
+ },
38
45
  {
39
46
  name: "activeStrategyAdapter",
40
47
  type: "function",
@@ -125,6 +132,20 @@ var SYNDICATE_VAULT_ABI = [
125
132
  inputs: [],
126
133
  outputs: [{ name: "", type: "uint48" }]
127
134
  },
135
+ {
136
+ name: "collectResidue",
137
+ type: "function",
138
+ stateMutability: "nonpayable",
139
+ inputs: [{ name: "strategy", type: "address" }],
140
+ outputs: [{ name: "collected", type: "uint256" }]
141
+ },
142
+ {
143
+ name: "consumeManagementAccrual",
144
+ type: "function",
145
+ stateMutability: "nonpayable",
146
+ inputs: [],
147
+ outputs: [{ name: "assetSeconds", type: "uint256" }]
148
+ },
128
149
  {
129
150
  name: "convertToAssets",
130
151
  type: "function",
@@ -181,6 +202,20 @@ var SYNDICATE_VAULT_ABI = [
181
202
  inputs: [{ name: "assets", type: "uint256" }, { name: "receiver", type: "address" }],
182
203
  outputs: [{ name: "", type: "uint256" }]
183
204
  },
205
+ {
206
+ name: "depositNav",
207
+ type: "function",
208
+ stateMutability: "view",
209
+ inputs: [],
210
+ outputs: [{ name: "", type: "uint256" }]
211
+ },
212
+ {
213
+ name: "depositsLocked",
214
+ type: "function",
215
+ stateMutability: "view",
216
+ inputs: [],
217
+ outputs: [{ name: "", type: "bool" }]
218
+ },
184
219
  {
185
220
  name: "eip712Domain",
186
221
  type: "function",
@@ -209,7 +244,9 @@ var SYNDICATE_VAULT_ABI = [
209
244
  { name: "data", type: "bytes" },
210
245
  { name: "value", type: "uint256" }
211
246
  ]
212
- }
247
+ },
248
+ { name: "callCaps", type: "uint256[]" },
249
+ { name: "maxNetOutflow", type: "uint256" }
213
250
  ],
214
251
  outputs: []
215
252
  },
@@ -255,6 +292,13 @@ var SYNDICATE_VAULT_ABI = [
255
292
  inputs: [],
256
293
  outputs: [{ name: "", type: "address" }]
257
294
  },
295
+ {
296
+ name: "highWaterPricePerShare",
297
+ type: "function",
298
+ stateMutability: "view",
299
+ inputs: [],
300
+ outputs: [{ name: "", type: "uint256" }]
301
+ },
258
302
  {
259
303
  name: "initialize",
260
304
  type: "function",
@@ -277,6 +321,13 @@ var SYNDICATE_VAULT_ABI = [
277
321
  ],
278
322
  outputs: []
279
323
  },
324
+ {
325
+ name: "isAccruingManagementFee",
326
+ type: "function",
327
+ stateMutability: "view",
328
+ inputs: [],
329
+ outputs: [{ name: "", type: "bool" }]
330
+ },
280
331
  {
281
332
  name: "isAgent",
282
333
  type: "function",
@@ -291,6 +342,20 @@ var SYNDICATE_VAULT_ABI = [
291
342
  inputs: [{ name: "depositor", type: "address" }],
292
343
  outputs: [{ name: "", type: "bool" }]
293
344
  },
345
+ {
346
+ name: "isPrivilegedBatchTarget",
347
+ type: "function",
348
+ stateMutability: "view",
349
+ inputs: [{ name: "target", type: "address" }],
350
+ outputs: [{ name: "", type: "bool" }]
351
+ },
352
+ {
353
+ name: "managementAssetSeconds",
354
+ type: "function",
355
+ stateMutability: "view",
356
+ inputs: [],
357
+ outputs: [{ name: "", type: "uint256" }]
358
+ },
294
359
  {
295
360
  name: "managementFeeBps",
296
361
  type: "function",
@@ -326,6 +391,13 @@ var SYNDICATE_VAULT_ABI = [
326
391
  inputs: [{ name: "owner_", type: "address" }],
327
392
  outputs: [{ name: "", type: "uint256" }]
328
393
  },
394
+ {
395
+ name: "minBufferBps",
396
+ type: "function",
397
+ stateMutability: "view",
398
+ inputs: [],
399
+ outputs: [{ name: "", type: "uint16" }]
400
+ },
329
401
  {
330
402
  name: "mint",
331
403
  type: "function",
@@ -430,6 +502,13 @@ var SYNDICATE_VAULT_ABI = [
430
502
  inputs: [{ name: "assets", type: "uint256" }],
431
503
  outputs: [{ name: "", type: "uint256" }]
432
504
  },
505
+ {
506
+ name: "pricePerShare",
507
+ type: "function",
508
+ stateMutability: "view",
509
+ inputs: [],
510
+ outputs: [{ name: "", type: "uint256" }]
511
+ },
433
512
  {
434
513
  name: "proxiableUUID",
435
514
  type: "function",
@@ -437,6 +516,20 @@ var SYNDICATE_VAULT_ABI = [
437
516
  inputs: [],
438
517
  outputs: [{ name: "", type: "bytes32" }]
439
518
  },
519
+ {
520
+ name: "pruneUnvaluedMark",
521
+ type: "function",
522
+ stateMutability: "nonpayable",
523
+ inputs: [{ name: "strategy", type: "address" }],
524
+ outputs: []
525
+ },
526
+ {
527
+ name: "ratchetHighWaterMark",
528
+ type: "function",
529
+ stateMutability: "nonpayable",
530
+ inputs: [],
531
+ outputs: []
532
+ },
440
533
  {
441
534
  name: "redeem",
442
535
  type: "function",
@@ -462,6 +555,13 @@ var SYNDICATE_VAULT_ABI = [
462
555
  inputs: [{ name: "agentId", type: "uint256" }, { name: "agentAddress", type: "address" }],
463
556
  outputs: []
464
557
  },
558
+ {
559
+ name: "releaseUnconvertible",
560
+ type: "function",
561
+ stateMutability: "nonpayable",
562
+ inputs: [{ name: "strategy", type: "address" }],
563
+ outputs: [{ name: "collected", type: "uint256" }]
564
+ },
465
565
  {
466
566
  name: "removeAgent",
467
567
  type: "function",
@@ -540,6 +640,36 @@ var SYNDICATE_VAULT_ABI = [
540
640
  inputs: [{ name: "newOwner", type: "address" }],
541
641
  outputs: []
542
642
  },
643
+ {
644
+ name: "runSandbox",
645
+ type: "function",
646
+ stateMutability: "nonpayable",
647
+ inputs: [
648
+ { name: "pid", type: "uint256" },
649
+ {
650
+ name: "calls",
651
+ type: "tuple[]",
652
+ components: [{ name: "target", type: "address" }, { name: "data", type: "bytes" }]
653
+ },
654
+ { name: "declaredTokens", type: "address[]" },
655
+ { name: "funding", type: "uint256" }
656
+ ],
657
+ outputs: [{ name: "sandbox", type: "address" }]
658
+ },
659
+ {
660
+ name: "sandboxImplementation",
661
+ type: "function",
662
+ stateMutability: "view",
663
+ inputs: [],
664
+ outputs: [{ name: "", type: "address" }]
665
+ },
666
+ {
667
+ name: "sandboxOf",
668
+ type: "function",
669
+ stateMutability: "view",
670
+ inputs: [{ name: "pid", type: "uint256" }],
671
+ outputs: [{ name: "", type: "address" }]
672
+ },
543
673
  {
544
674
  name: "setAgentFeeBps",
545
675
  type: "function",
@@ -547,6 +677,20 @@ var SYNDICATE_VAULT_ABI = [
547
677
  inputs: [{ name: "bps", type: "uint256" }],
548
678
  outputs: []
549
679
  },
680
+ {
681
+ name: "setExecutorImpl",
682
+ type: "function",
683
+ stateMutability: "nonpayable",
684
+ inputs: [{ name: "newImpl", type: "address" }],
685
+ outputs: []
686
+ },
687
+ {
688
+ name: "setMinBufferBps",
689
+ type: "function",
690
+ stateMutability: "nonpayable",
691
+ inputs: [{ name: "bps", type: "uint16" }],
692
+ outputs: []
693
+ },
550
694
  {
551
695
  name: "setOpenDeposits",
552
696
  type: "function",
@@ -554,6 +698,13 @@ var SYNDICATE_VAULT_ABI = [
554
698
  inputs: [{ name: "open", type: "bool" }],
555
699
  outputs: []
556
700
  },
701
+ {
702
+ name: "setSandboxImplementation",
703
+ type: "function",
704
+ stateMutability: "nonpayable",
705
+ inputs: [{ name: "impl", type: "address" }],
706
+ outputs: []
707
+ },
557
708
  {
558
709
  name: "setWithdrawalQueue",
559
710
  type: "function",
@@ -580,17 +731,17 @@ var SYNDICATE_VAULT_ABI = [
580
731
  outputs: []
581
732
  },
582
733
  {
583
- name: "strategyBurn",
734
+ name: "spendableFee",
584
735
  type: "function",
585
- stateMutability: "nonpayable",
586
- inputs: [{ name: "shares", type: "uint256" }],
587
- outputs: []
736
+ stateMutability: "view",
737
+ inputs: [{ name: "asset_", type: "address" }],
738
+ outputs: [{ name: "", type: "uint256" }]
588
739
  },
589
740
  {
590
- name: "strategyMint",
741
+ name: "startManagementAccrual",
591
742
  type: "function",
592
743
  stateMutability: "nonpayable",
593
- inputs: [{ name: "to", type: "address" }, { name: "shares", type: "uint256" }],
744
+ inputs: [],
594
745
  outputs: []
595
746
  },
596
747
  {
@@ -703,6 +854,15 @@ var SYNDICATE_VAULT_ABI = [
703
854
  { name: "value", type: "uint256", indexed: false }
704
855
  ]
705
856
  },
857
+ {
858
+ name: "CohortShareRouted",
859
+ type: "event",
860
+ inputs: [
861
+ { name: "strategy", type: "address", indexed: true },
862
+ { name: "pid", type: "uint256", indexed: true },
863
+ { name: "assets", type: "uint256", indexed: false }
864
+ ]
865
+ },
706
866
  {
707
867
  name: "DelegateChanged",
708
868
  type: "event",
@@ -751,6 +911,14 @@ var SYNDICATE_VAULT_ABI = [
751
911
  inputs: [{ name: "depositor", type: "address", indexed: true }]
752
912
  },
753
913
  { name: "EIP712DomainChanged", type: "event", inputs: [] },
914
+ {
915
+ name: "ExecutorImplSet",
916
+ type: "event",
917
+ inputs: [
918
+ { name: "oldImpl", type: "address", indexed: false },
919
+ { name: "newImpl", type: "address", indexed: false }
920
+ ]
921
+ },
754
922
  {
755
923
  name: "GovernorBatchExecuted",
756
924
  type: "event",
@@ -759,11 +927,21 @@ var SYNDICATE_VAULT_ABI = [
759
927
  { name: "callCount", type: "uint256", indexed: false }
760
928
  ]
761
929
  },
930
+ {
931
+ name: "HighWaterMarkUpdated",
932
+ type: "event",
933
+ inputs: [{ name: "pricePerShare", type: "uint256", indexed: false }]
934
+ },
762
935
  {
763
936
  name: "Initialized",
764
937
  type: "event",
765
938
  inputs: [{ name: "version", type: "uint64", indexed: false }]
766
939
  },
940
+ {
941
+ name: "MinBufferUpdated",
942
+ type: "event",
943
+ inputs: [{ name: "bps", type: "uint16", indexed: false }]
944
+ },
767
945
  {
768
946
  name: "OpenDepositsUpdated",
769
947
  type: "event",
@@ -791,6 +969,44 @@ var SYNDICATE_VAULT_ABI = [
791
969
  { name: "shares", type: "uint256", indexed: false }
792
970
  ]
793
971
  },
972
+ {
973
+ name: "ResidueCleared",
974
+ type: "event",
975
+ inputs: [
976
+ { name: "strategy", type: "address", indexed: true },
977
+ { name: "collected", type: "uint256", indexed: false }
978
+ ]
979
+ },
980
+ {
981
+ name: "ResidueOutstanding",
982
+ type: "event",
983
+ inputs: [
984
+ { name: "strategy", type: "address", indexed: true },
985
+ { name: "outstanding", type: "uint256", indexed: false }
986
+ ]
987
+ },
988
+ {
989
+ name: "ResidueUnvalued",
990
+ type: "event",
991
+ inputs: [
992
+ { name: "strategy", type: "address", indexed: true },
993
+ { name: "unvalued", type: "bool", indexed: false }
994
+ ]
995
+ },
996
+ {
997
+ name: "SandboxImplementationSet",
998
+ type: "event",
999
+ inputs: [{ name: "implementation", type: "address", indexed: true }]
1000
+ },
1001
+ {
1002
+ name: "SandboxRun",
1003
+ type: "event",
1004
+ inputs: [
1005
+ { name: "pid", type: "uint256", indexed: true },
1006
+ { name: "sandbox", type: "address", indexed: true },
1007
+ { name: "funding", type: "uint256", indexed: false }
1008
+ ]
1009
+ },
794
1010
  {
795
1011
  name: "Transfer",
796
1012
  type: "event",
@@ -832,11 +1048,37 @@ var SYNDICATE_VAULT_ABI = [
832
1048
  { name: "AgentFeeTooHigh", type: "error", inputs: [] },
833
1049
  { name: "AgentNotActive", type: "error", inputs: [] },
834
1050
  { name: "AmountExceedsBalance", type: "error", inputs: [] },
1051
+ { name: "BufferBreached", type: "error", inputs: [] },
1052
+ { name: "BufferTooHigh", type: "error", inputs: [] },
835
1053
  { name: "CannotRescueAsset", type: "error", inputs: [] },
836
1054
  { name: "CheckpointUnorderedInsertion", type: "error", inputs: [] },
837
1055
  { name: "DepositorAlreadyApproved", type: "error", inputs: [] },
838
1056
  { name: "DepositorNotApproved", type: "error", inputs: [] },
839
1057
  { name: "DepositsLocked", type: "error", inputs: [] },
1058
+ {
1059
+ name: "DisallowedBatchCallee",
1060
+ type: "error",
1061
+ inputs: [{ name: "target", type: "address" }]
1062
+ },
1063
+ {
1064
+ name: "DisallowedBatchTarget",
1065
+ type: "error",
1066
+ inputs: [{ name: "target", type: "address" }]
1067
+ },
1068
+ {
1069
+ name: "DisallowedTransferFromSource",
1070
+ type: "error",
1071
+ inputs: [{ name: "target", type: "address" }, { name: "from", type: "address" }]
1072
+ },
1073
+ {
1074
+ name: "DisallowedTransferTarget",
1075
+ type: "error",
1076
+ inputs: [
1077
+ { name: "target", type: "address" },
1078
+ { name: "selector", type: "bytes4" },
1079
+ { name: "recipient", type: "address" }
1080
+ ]
1081
+ },
840
1082
  { name: "ECDSAInvalidSignature", type: "error", inputs: [] },
841
1083
  {
842
1084
  name: "ECDSAInvalidSignatureLength",
@@ -931,6 +1173,7 @@ var SYNDICATE_VAULT_ABI = [
931
1173
  { name: "ExecutorCodehashMismatch", type: "error", inputs: [] },
932
1174
  { name: "ExpectedPause", type: "error", inputs: [] },
933
1175
  { name: "FailedCall", type: "error", inputs: [] },
1176
+ { name: "FailedDeployment", type: "error", inputs: [] },
934
1177
  { name: "GovernorNotSet", type: "error", inputs: [] },
935
1178
  {
936
1179
  name: "InsufficientBalance",
@@ -950,8 +1193,14 @@ var SYNDICATE_VAULT_ABI = [
950
1193
  { name: "InvalidExecutorImpl", type: "error", inputs: [] },
951
1194
  { name: "InvalidInitialization", type: "error", inputs: [] },
952
1195
  { name: "InvalidOwner", type: "error", inputs: [] },
1196
+ { name: "MalformedCall", type: "error", inputs: [] },
1197
+ {
1198
+ name: "MaxNetOutflowExceeded",
1199
+ type: "error",
1200
+ inputs: [{ name: "netOutflow", type: "uint256" }, { name: "cap", type: "uint256" }]
1201
+ },
1202
+ { name: "NoOpenProposal", type: "error", inputs: [] },
953
1203
  { name: "NotActiveAgent", type: "error", inputs: [] },
954
- { name: "NotActiveStrategy", type: "error", inputs: [] },
955
1204
  { name: "NotAgentOwner", type: "error", inputs: [] },
956
1205
  { name: "NotApprovedDepositor", type: "error", inputs: [] },
957
1206
  { name: "NotFactory", type: "error", inputs: [] },
@@ -978,8 +1227,16 @@ var SYNDICATE_VAULT_ABI = [
978
1227
  type: "error",
979
1228
  inputs: [{ name: "token", type: "address" }]
980
1229
  },
981
- { name: "SharesLocked", type: "error", inputs: [] },
1230
+ { name: "SandboxAlreadyMinted", type: "error", inputs: [{ name: "pid", type: "uint256" }] },
1231
+ {
1232
+ name: "SandboxFundingExceedsCeiling",
1233
+ type: "error",
1234
+ inputs: [{ name: "funding", type: "uint256" }, { name: "ceiling", type: "uint256" }]
1235
+ },
1236
+ { name: "SandboxImplementationAlreadySet", type: "error", inputs: [] },
1237
+ { name: "SandboxNotConfigured", type: "error", inputs: [] },
982
1238
  { name: "SimulationFailed", type: "error", inputs: [] },
1239
+ { name: "TierRegistryUnresolved", type: "error", inputs: [] },
983
1240
  { name: "TransferFailed", type: "error", inputs: [] },
984
1241
  { name: "UUPSUnauthorizedCallContext", type: "error", inputs: [] },
985
1242
  {
@@ -987,6 +1244,12 @@ var SYNDICATE_VAULT_ABI = [
987
1244
  type: "error",
988
1245
  inputs: [{ name: "slot", type: "bytes32" }]
989
1246
  },
1247
+ {
1248
+ name: "UnrecognizedAssetSelector",
1249
+ type: "error",
1250
+ inputs: [{ name: "selector", type: "bytes4" }]
1251
+ },
1252
+ { name: "UnvaluedLockStillActive", type: "error", inputs: [] },
990
1253
  {
991
1254
  name: "VotesExpiredSignature",
992
1255
  type: "error",
@@ -995,7 +1258,8 @@ var SYNDICATE_VAULT_ABI = [
995
1258
  { name: "WithdrawalQueueAlreadySet", type: "error", inputs: [] },
996
1259
  { name: "WithdrawalQueueNotSet", type: "error", inputs: [] },
997
1260
  { name: "ZeroAddress", type: "error", inputs: [] },
998
- { name: "ZeroAssets", type: "error", inputs: [] }
1261
+ { name: "ZeroAssets", type: "error", inputs: [] },
1262
+ { name: "ZeroShares", type: "error", inputs: [] }
999
1263
  ];
1000
1264
  var UNISWAP_QUOTER_V2_ABI = [
1001
1265
  {
@@ -1169,6 +1433,13 @@ var SYNDICATE_FACTORY_ABI = [
1169
1433
  inputs: [],
1170
1434
  outputs: [{ name: "", type: "address" }]
1171
1435
  },
1436
+ {
1437
+ name: "bondEscrow",
1438
+ type: "function",
1439
+ stateMutability: "view",
1440
+ inputs: [],
1441
+ outputs: [{ name: "", type: "address" }]
1442
+ },
1172
1443
  {
1173
1444
  name: "createSyndicate",
1174
1445
  type: "function",
@@ -1232,6 +1503,13 @@ var SYNDICATE_FACTORY_ABI = [
1232
1503
  inputs: [],
1233
1504
  outputs: [{ name: "", type: "address" }]
1234
1505
  },
1506
+ {
1507
+ name: "exposureLedger",
1508
+ type: "function",
1509
+ stateMutability: "view",
1510
+ inputs: [],
1511
+ outputs: [{ name: "", type: "address" }]
1512
+ },
1235
1513
  {
1236
1514
  name: "getActiveSyndicates",
1237
1515
  type: "function",
@@ -1306,12 +1584,20 @@ var SYNDICATE_FACTORY_ABI = [
1306
1584
  { name: "beacon", type: "address" },
1307
1585
  { name: "protocolConfig", type: "address" },
1308
1586
  { name: "managementFeeBps", type: "uint256" },
1309
- { name: "guardianRegistry", type: "address" }
1587
+ { name: "guardianRegistry", type: "address" },
1588
+ { name: "tierRegistry", type: "address" }
1310
1589
  ]
1311
1590
  }
1312
1591
  ],
1313
1592
  outputs: []
1314
1593
  },
1594
+ {
1595
+ name: "isFactoryGovernor",
1596
+ type: "function",
1597
+ stateMutability: "view",
1598
+ inputs: [{ name: "governor", type: "address" }],
1599
+ outputs: [{ name: "", type: "bool" }]
1600
+ },
1315
1601
  {
1316
1602
  name: "isSubdomainAvailable",
1317
1603
  type: "function",
@@ -1333,13 +1619,6 @@ var SYNDICATE_FACTORY_ABI = [
1333
1619
  inputs: [],
1334
1620
  outputs: [{ name: "", type: "address" }]
1335
1621
  },
1336
- {
1337
- name: "priceRouter",
1338
- type: "function",
1339
- stateMutability: "view",
1340
- inputs: [],
1341
- outputs: [{ name: "", type: "address" }]
1342
- },
1343
1622
  {
1344
1623
  name: "protocolConfig",
1345
1624
  type: "function",
@@ -1354,6 +1633,20 @@ var SYNDICATE_FACTORY_ABI = [
1354
1633
  inputs: [],
1355
1634
  outputs: [{ name: "", type: "bytes32" }]
1356
1635
  },
1636
+ {
1637
+ name: "pushExecutor",
1638
+ type: "function",
1639
+ stateMutability: "nonpayable",
1640
+ inputs: [{ name: "vault", type: "address" }],
1641
+ outputs: []
1642
+ },
1643
+ {
1644
+ name: "pushWiring",
1645
+ type: "function",
1646
+ stateMutability: "nonpayable",
1647
+ inputs: [{ name: "governor", type: "address" }],
1648
+ outputs: []
1649
+ },
1357
1650
  {
1358
1651
  name: "renounceOwnership",
1359
1652
  type: "function",
@@ -1368,6 +1661,13 @@ var SYNDICATE_FACTORY_ABI = [
1368
1661
  inputs: [{ name: "vault", type: "address" }, { name: "newOwner", type: "address" }],
1369
1662
  outputs: []
1370
1663
  },
1664
+ {
1665
+ name: "sandboxImpl",
1666
+ type: "function",
1667
+ stateMutability: "view",
1668
+ inputs: [],
1669
+ outputs: [{ name: "", type: "address" }]
1670
+ },
1371
1671
  {
1372
1672
  name: "setBeacon",
1373
1673
  type: "function",
@@ -1375,6 +1675,13 @@ var SYNDICATE_FACTORY_ABI = [
1375
1675
  inputs: [{ name: "newBeacon", type: "address" }],
1376
1676
  outputs: []
1377
1677
  },
1678
+ {
1679
+ name: "setBondEscrow",
1680
+ type: "function",
1681
+ stateMutability: "nonpayable",
1682
+ inputs: [{ name: "newEscrow", type: "address" }],
1683
+ outputs: []
1684
+ },
1378
1685
  {
1379
1686
  name: "setCreationFee",
1380
1687
  type: "function",
@@ -1393,6 +1700,20 @@ var SYNDICATE_FACTORY_ABI = [
1393
1700
  inputs: [{ name: "newRegistrar", type: "address" }],
1394
1701
  outputs: []
1395
1702
  },
1703
+ {
1704
+ name: "setExecutorImpl",
1705
+ type: "function",
1706
+ stateMutability: "nonpayable",
1707
+ inputs: [{ name: "newExecutorImpl", type: "address" }],
1708
+ outputs: []
1709
+ },
1710
+ {
1711
+ name: "setExposureLedger",
1712
+ type: "function",
1713
+ stateMutability: "nonpayable",
1714
+ inputs: [{ name: "newLedger", type: "address" }],
1715
+ outputs: []
1716
+ },
1396
1717
  {
1397
1718
  name: "setGuardianRegistry",
1398
1719
  type: "function",
@@ -1432,17 +1753,24 @@ var SYNDICATE_FACTORY_ABI = [
1432
1753
  outputs: []
1433
1754
  },
1434
1755
  {
1435
- name: "setPriceRouter",
1756
+ name: "setProtocolConfig",
1436
1757
  type: "function",
1437
1758
  stateMutability: "nonpayable",
1438
- inputs: [{ name: "newRouter", type: "address" }],
1759
+ inputs: [{ name: "newConfig", type: "address" }],
1439
1760
  outputs: []
1440
1761
  },
1441
1762
  {
1442
- name: "setProtocolConfig",
1763
+ name: "setSandboxImpl",
1443
1764
  type: "function",
1444
1765
  stateMutability: "nonpayable",
1445
- inputs: [{ name: "newConfig", type: "address" }],
1766
+ inputs: [{ name: "newImpl", type: "address" }],
1767
+ outputs: []
1768
+ },
1769
+ {
1770
+ name: "setTierRegistry",
1771
+ type: "function",
1772
+ stateMutability: "nonpayable",
1773
+ inputs: [{ name: "newRegistry", type: "address" }],
1446
1774
  outputs: []
1447
1775
  },
1448
1776
  {
@@ -1489,11 +1817,18 @@ var SYNDICATE_FACTORY_ABI = [
1489
1817
  ]
1490
1818
  },
1491
1819
  {
1492
- name: "transferOwnership",
1820
+ name: "tierRegistry",
1493
1821
  type: "function",
1494
- stateMutability: "nonpayable",
1495
- inputs: [{ name: "newOwner", type: "address" }],
1496
- outputs: []
1822
+ stateMutability: "view",
1823
+ inputs: [],
1824
+ outputs: [{ name: "", type: "address" }]
1825
+ },
1826
+ {
1827
+ name: "transferOwnership",
1828
+ type: "function",
1829
+ stateMutability: "nonpayable",
1830
+ inputs: [{ name: "newOwner", type: "address" }],
1831
+ outputs: []
1497
1832
  },
1498
1833
  {
1499
1834
  name: "updateMetadata",
@@ -1545,6 +1880,14 @@ var SYNDICATE_FACTORY_ABI = [
1545
1880
  { name: "newBeacon", type: "address", indexed: true }
1546
1881
  ]
1547
1882
  },
1883
+ {
1884
+ name: "BondEscrowSet",
1885
+ type: "event",
1886
+ inputs: [
1887
+ { name: "oldEscrow", type: "address", indexed: true },
1888
+ { name: "newEscrow", type: "address", indexed: true }
1889
+ ]
1890
+ },
1548
1891
  {
1549
1892
  name: "CreationFeeUpdated",
1550
1893
  type: "event",
@@ -1570,6 +1913,30 @@ var SYNDICATE_FACTORY_ABI = [
1570
1913
  { name: "subdomain", type: "string", indexed: false }
1571
1914
  ]
1572
1915
  },
1916
+ {
1917
+ name: "ExecutorImplUpdated",
1918
+ type: "event",
1919
+ inputs: [
1920
+ { name: "oldImpl", type: "address", indexed: false },
1921
+ { name: "newImpl", type: "address", indexed: false }
1922
+ ]
1923
+ },
1924
+ {
1925
+ name: "ExecutorPushed",
1926
+ type: "event",
1927
+ inputs: [
1928
+ { name: "vault", type: "address", indexed: true },
1929
+ { name: "executorImpl", type: "address", indexed: true }
1930
+ ]
1931
+ },
1932
+ {
1933
+ name: "ExposureLedgerSet",
1934
+ type: "event",
1935
+ inputs: [
1936
+ { name: "oldLedger", type: "address", indexed: true },
1937
+ { name: "newLedger", type: "address", indexed: true }
1938
+ ]
1939
+ },
1573
1940
  {
1574
1941
  name: "GovernorDeployed",
1575
1942
  type: "event",
@@ -1623,11 +1990,6 @@ var SYNDICATE_FACTORY_ABI = [
1623
1990
  { name: "newOwner", type: "address", indexed: true }
1624
1991
  ]
1625
1992
  },
1626
- {
1627
- name: "PriceRouterUpdated",
1628
- type: "event",
1629
- inputs: [{ name: "router", type: "address", indexed: true }]
1630
- },
1631
1993
  {
1632
1994
  name: "ProtocolConfigUpdated",
1633
1995
  type: "event",
@@ -1636,6 +1998,14 @@ var SYNDICATE_FACTORY_ABI = [
1636
1998
  { name: "newConfig", type: "address", indexed: true }
1637
1999
  ]
1638
2000
  },
2001
+ {
2002
+ name: "SandboxImplSet",
2003
+ type: "event",
2004
+ inputs: [
2005
+ { name: "oldImpl", type: "address", indexed: true },
2006
+ { name: "newImpl", type: "address", indexed: true }
2007
+ ]
2008
+ },
1639
2009
  {
1640
2010
  name: "SyndicateCreated",
1641
2011
  type: "event",
@@ -1652,6 +2022,14 @@ var SYNDICATE_FACTORY_ABI = [
1652
2022
  type: "event",
1653
2023
  inputs: [{ name: "id", type: "uint256", indexed: true }]
1654
2024
  },
2025
+ {
2026
+ name: "TierRegistrySet",
2027
+ type: "event",
2028
+ inputs: [
2029
+ { name: "oldRegistry", type: "address", indexed: true },
2030
+ { name: "newRegistry", type: "address", indexed: true }
2031
+ ]
2032
+ },
1655
2033
  {
1656
2034
  name: "Upgraded",
1657
2035
  type: "event",
@@ -1678,6 +2056,11 @@ var SYNDICATE_FACTORY_ABI = [
1678
2056
  { name: "newImpl", type: "address", indexed: true }
1679
2057
  ]
1680
2058
  },
2059
+ {
2060
+ name: "WiringPushed",
2061
+ type: "event",
2062
+ inputs: [{ name: "governor", type: "address", indexed: true }]
2063
+ },
1681
2064
  {
1682
2065
  name: "WithdrawalQueueDeployed",
1683
2066
  type: "event",
@@ -1703,11 +2086,13 @@ var SYNDICATE_FACTORY_ABI = [
1703
2086
  { name: "InvalidGuardianRegistry", type: "error", inputs: [] },
1704
2087
  { name: "InvalidInitialization", type: "error", inputs: [] },
1705
2088
  { name: "InvalidProtocolConfig", type: "error", inputs: [] },
2089
+ { name: "InvalidSandboxImpl", type: "error", inputs: [] },
1706
2090
  { name: "InvalidSyndicateConfig", type: "error", inputs: [] },
1707
2091
  { name: "InvalidVaultImpl", type: "error", inputs: [] },
1708
2092
  { name: "ManagementFeeTooHigh", type: "error", inputs: [] },
1709
2093
  { name: "NotAgentOwner", type: "error", inputs: [] },
1710
2094
  { name: "NotCreator", type: "error", inputs: [] },
2095
+ { name: "NotFactoryGovernor", type: "error", inputs: [] },
1711
2096
  { name: "NotInitializing", type: "error", inputs: [] },
1712
2097
  { name: "NotVaultOwnerOrCreator", type: "error", inputs: [] },
1713
2098
  { name: "OwnableInvalidOwner", type: "error", inputs: [{ name: "owner", type: "address" }] },
@@ -1728,6 +2113,7 @@ var SYNDICATE_FACTORY_ABI = [
1728
2113
  { name: "StrategyActive", type: "error", inputs: [] },
1729
2114
  { name: "SubdomainTaken", type: "error", inputs: [] },
1730
2115
  { name: "SubdomainTooShort", type: "error", inputs: [] },
2116
+ { name: "TierRegistryNotWired", type: "error", inputs: [] },
1731
2117
  { name: "UUPSUnauthorizedCallContext", type: "error", inputs: [] },
1732
2118
  {
1733
2119
  name: "UUPSUnsupportedProxiableUUID",
@@ -1742,39 +2128,49 @@ var SYNDICATE_FACTORY_ABI = [
1742
2128
  ];
1743
2129
  var PROTOCOL_CONFIG_ABI = [
1744
2130
  {
1745
- name: "MAX_GUARDIAN_FEE_BPS",
2131
+ name: "MIN_PROTOCOL_MAX_STRATEGY_DURATION",
1746
2132
  type: "function",
1747
2133
  stateMutability: "view",
1748
2134
  inputs: [],
1749
2135
  outputs: [{ name: "", type: "uint256" }]
1750
2136
  },
1751
2137
  {
1752
- name: "MAX_PROTOCOL_FEE_BPS",
2138
+ name: "acceptOwnership",
1753
2139
  type: "function",
1754
- stateMutability: "view",
2140
+ stateMutability: "nonpayable",
1755
2141
  inputs: [],
1756
- outputs: [{ name: "", type: "uint256" }]
2142
+ outputs: []
1757
2143
  },
1758
2144
  {
1759
- name: "acceptOwnership",
2145
+ name: "guardiansFeeRecipient",
1760
2146
  type: "function",
1761
- stateMutability: "nonpayable",
2147
+ stateMutability: "view",
1762
2148
  inputs: [],
1763
- outputs: []
2149
+ outputs: [{ name: "", type: "address" }]
1764
2150
  },
1765
2151
  {
1766
- name: "guardianFeeBps",
2152
+ name: "maxStrategyDuration",
1767
2153
  type: "function",
1768
2154
  stateMutability: "view",
1769
2155
  inputs: [],
1770
2156
  outputs: [{ name: "", type: "uint256" }]
1771
2157
  },
1772
2158
  {
1773
- name: "guardiansFeeRecipient",
2159
+ name: "mgmtSplit",
1774
2160
  type: "function",
1775
2161
  stateMutability: "view",
1776
2162
  inputs: [],
1777
- outputs: [{ name: "", type: "address" }]
2163
+ outputs: [
2164
+ {
2165
+ name: "",
2166
+ type: "tuple",
2167
+ components: [
2168
+ { name: "agentBps", type: "uint16" },
2169
+ { name: "protocolBps", type: "uint16" },
2170
+ { name: "guardianBps", type: "uint16" }
2171
+ ]
2172
+ }
2173
+ ]
1778
2174
  },
1779
2175
  {
1780
2176
  name: "owner",
@@ -1791,11 +2187,22 @@ var PROTOCOL_CONFIG_ABI = [
1791
2187
  outputs: [{ name: "", type: "address" }]
1792
2188
  },
1793
2189
  {
1794
- name: "protocolFeeBps",
2190
+ name: "perfSplit",
1795
2191
  type: "function",
1796
2192
  stateMutability: "view",
1797
2193
  inputs: [],
1798
- outputs: [{ name: "", type: "uint256" }]
2194
+ outputs: [
2195
+ {
2196
+ name: "",
2197
+ type: "tuple",
2198
+ components: [
2199
+ { name: "agentBps", type: "uint16" },
2200
+ { name: "protocolBps", type: "uint16" },
2201
+ { name: "guardianBps", type: "uint16" },
2202
+ { name: "ownerBps", type: "uint16" }
2203
+ ]
2204
+ }
2205
+ ]
1799
2206
  },
1800
2207
  {
1801
2208
  name: "protocolFeeRecipient",
@@ -1812,24 +2219,52 @@ var PROTOCOL_CONFIG_ABI = [
1812
2219
  outputs: []
1813
2220
  },
1814
2221
  {
1815
- name: "setGuardianFeeBps",
2222
+ name: "setGuardiansFeeRecipient",
2223
+ type: "function",
2224
+ stateMutability: "nonpayable",
2225
+ inputs: [{ name: "newRecipient", type: "address" }],
2226
+ outputs: []
2227
+ },
2228
+ {
2229
+ name: "setMaxStrategyDuration",
1816
2230
  type: "function",
1817
2231
  stateMutability: "nonpayable",
1818
2232
  inputs: [{ name: "newValue", type: "uint256" }],
1819
2233
  outputs: []
1820
2234
  },
1821
2235
  {
1822
- name: "setGuardiansFeeRecipient",
2236
+ name: "setMgmtSplit",
1823
2237
  type: "function",
1824
2238
  stateMutability: "nonpayable",
1825
- inputs: [{ name: "newRecipient", type: "address" }],
2239
+ inputs: [
2240
+ {
2241
+ name: "s",
2242
+ type: "tuple",
2243
+ components: [
2244
+ { name: "agentBps", type: "uint16" },
2245
+ { name: "protocolBps", type: "uint16" },
2246
+ { name: "guardianBps", type: "uint16" }
2247
+ ]
2248
+ }
2249
+ ],
1826
2250
  outputs: []
1827
2251
  },
1828
2252
  {
1829
- name: "setProtocolFeeBps",
2253
+ name: "setPerfSplit",
1830
2254
  type: "function",
1831
2255
  stateMutability: "nonpayable",
1832
- inputs: [{ name: "newValue", type: "uint256" }],
2256
+ inputs: [
2257
+ {
2258
+ name: "s",
2259
+ type: "tuple",
2260
+ components: [
2261
+ { name: "agentBps", type: "uint16" },
2262
+ { name: "protocolBps", type: "uint16" },
2263
+ { name: "guardianBps", type: "uint16" },
2264
+ { name: "ownerBps", type: "uint16" }
2265
+ ]
2266
+ }
2267
+ ],
1833
2268
  outputs: []
1834
2269
  },
1835
2270
  {
@@ -1854,6 +2289,15 @@ var PROTOCOL_CONFIG_ABI = [
1854
2289
  { name: "newRecipient", type: "address", indexed: true }
1855
2290
  ]
1856
2291
  },
2292
+ {
2293
+ name: "MgmtSplitSet",
2294
+ type: "event",
2295
+ inputs: [
2296
+ { name: "agentBps", type: "uint16", indexed: false },
2297
+ { name: "protocolBps", type: "uint16", indexed: false },
2298
+ { name: "guardianBps", type: "uint16", indexed: false }
2299
+ ]
2300
+ },
1857
2301
  {
1858
2302
  name: "OwnershipTransferStarted",
1859
2303
  type: "event",
@@ -1879,6 +2323,16 @@ var PROTOCOL_CONFIG_ABI = [
1879
2323
  { name: "newValue", type: "uint256", indexed: false }
1880
2324
  ]
1881
2325
  },
2326
+ {
2327
+ name: "PerfSplitSet",
2328
+ type: "event",
2329
+ inputs: [
2330
+ { name: "agentBps", type: "uint16", indexed: false },
2331
+ { name: "protocolBps", type: "uint16", indexed: false },
2332
+ { name: "guardianBps", type: "uint16", indexed: false },
2333
+ { name: "ownerBps", type: "uint16", indexed: false }
2334
+ ]
2335
+ },
1882
2336
  {
1883
2337
  name: "ProtocolFeeRecipientSet",
1884
2338
  type: "event",
@@ -1887,10 +2341,9 @@ var PROTOCOL_CONFIG_ABI = [
1887
2341
  { name: "newRecipient", type: "address", indexed: true }
1888
2342
  ]
1889
2343
  },
1890
- { name: "InvalidGuardianFeeBps", type: "error", inputs: [] },
1891
- { name: "InvalidGuardiansFeeRecipient", type: "error", inputs: [] },
1892
- { name: "InvalidProtocolFeeBps", type: "error", inputs: [] },
1893
- { name: "InvalidProtocolFeeRecipient", type: "error", inputs: [] },
2344
+ { name: "InvalidMaxStrategyDuration", type: "error", inputs: [] },
2345
+ { name: "InvalidMgmtSplit", type: "error", inputs: [] },
2346
+ { name: "InvalidPerfSplit", type: "error", inputs: [] },
1894
2347
  { name: "OwnableInvalidOwner", type: "error", inputs: [{ name: "owner", type: "address" }] },
1895
2348
  {
1896
2349
  name: "OwnableUnauthorizedAccount",
@@ -2186,6 +2639,13 @@ var SYNDICATE_GOVERNOR_ABI = [
2186
2639
  inputs: [],
2187
2640
  outputs: [{ name: "", type: "uint256" }]
2188
2641
  },
2642
+ {
2643
+ name: "MAX_STAMP_DRAWDOWN_BPS",
2644
+ type: "function",
2645
+ stateMutability: "view",
2646
+ inputs: [],
2647
+ outputs: [{ name: "", type: "uint256" }]
2648
+ },
2189
2649
  {
2190
2650
  name: "MAX_VETO_THRESHOLD_BPS",
2191
2651
  type: "function",
@@ -2263,6 +2723,13 @@ var SYNDICATE_GOVERNOR_ABI = [
2263
2723
  inputs: [],
2264
2724
  outputs: [{ name: "", type: "bytes32" }]
2265
2725
  },
2726
+ {
2727
+ name: "PARAM_MAX_CAPITAL_BPS",
2728
+ type: "function",
2729
+ stateMutability: "view",
2730
+ inputs: [],
2731
+ outputs: [{ name: "", type: "bytes32" }]
2732
+ },
2266
2733
  {
2267
2734
  name: "PARAM_MAX_CO_PROPOSERS",
2268
2735
  type: "function",
@@ -2291,6 +2758,13 @@ var SYNDICATE_GOVERNOR_ABI = [
2291
2758
  inputs: [],
2292
2759
  outputs: [{ name: "", type: "bytes32" }]
2293
2760
  },
2761
+ {
2762
+ name: "PARAM_TIER2_CALL_CAP_BPS",
2763
+ type: "function",
2764
+ stateMutability: "view",
2765
+ inputs: [],
2766
+ outputs: [{ name: "", type: "bytes32" }]
2767
+ },
2294
2768
  {
2295
2769
  name: "PARAM_VETO_THRESHOLD_BPS",
2296
2770
  type: "function",
@@ -2312,6 +2786,13 @@ var SYNDICATE_GOVERNOR_ABI = [
2312
2786
  inputs: [{ name: "proposalId", type: "uint256" }],
2313
2787
  outputs: []
2314
2788
  },
2789
+ {
2790
+ name: "bondEscrow",
2791
+ type: "function",
2792
+ stateMutability: "view",
2793
+ inputs: [],
2794
+ outputs: [{ name: "", type: "address" }]
2795
+ },
2315
2796
  {
2316
2797
  name: "cancelEmergencySettle",
2317
2798
  type: "function",
@@ -2333,6 +2814,13 @@ var SYNDICATE_GOVERNOR_ABI = [
2333
2814
  inputs: [{ name: "vault", type: "address" }, { name: "token", type: "address" }],
2334
2815
  outputs: []
2335
2816
  },
2817
+ {
2818
+ name: "collaborationDeadline",
2819
+ type: "function",
2820
+ stateMutability: "view",
2821
+ inputs: [{ name: "", type: "uint256" }],
2822
+ outputs: [{ name: "", type: "uint256" }]
2823
+ },
2336
2824
  {
2337
2825
  name: "emergencyCancel",
2338
2826
  type: "function",
@@ -2365,6 +2853,13 @@ var SYNDICATE_GOVERNOR_ABI = [
2365
2853
  inputs: [{ name: "proposalId", type: "uint256" }],
2366
2854
  outputs: []
2367
2855
  },
2856
+ {
2857
+ name: "exposureLedger",
2858
+ type: "function",
2859
+ stateMutability: "view",
2860
+ inputs: [],
2861
+ outputs: [{ name: "", type: "address" }]
2862
+ },
2368
2863
  {
2369
2864
  name: "factory",
2370
2865
  type: "function",
@@ -2409,6 +2904,16 @@ var SYNDICATE_GOVERNOR_ABI = [
2409
2904
  inputs: [],
2410
2905
  outputs: [{ name: "", type: "uint256" }]
2411
2906
  },
2907
+ {
2908
+ name: "getCallCaps",
2909
+ type: "function",
2910
+ stateMutability: "view",
2911
+ inputs: [{ name: "proposalId", type: "uint256" }],
2912
+ outputs: [
2913
+ { name: "executeCallCaps", type: "uint256[]" },
2914
+ { name: "settlementCallCaps", type: "uint256[]" }
2915
+ ]
2916
+ },
2412
2917
  {
2413
2918
  name: "getCapitalSnapshot",
2414
2919
  type: "function",
@@ -2436,6 +2941,13 @@ var SYNDICATE_GOVERNOR_ABI = [
2436
2941
  inputs: [],
2437
2942
  outputs: [{ name: "", type: "uint256" }]
2438
2943
  },
2944
+ {
2945
+ name: "getEffectiveMaxCapital",
2946
+ type: "function",
2947
+ stateMutability: "view",
2948
+ inputs: [{ name: "proposalId", type: "uint256" }],
2949
+ outputs: [{ name: "", type: "uint256" }]
2950
+ },
2439
2951
  {
2440
2952
  name: "getExecuteCalls",
2441
2953
  type: "function",
@@ -2476,6 +2988,13 @@ var SYNDICATE_GOVERNOR_ABI = [
2476
2988
  }
2477
2989
  ]
2478
2990
  },
2991
+ {
2992
+ name: "getPpsSnapshot",
2993
+ type: "function",
2994
+ stateMutability: "view",
2995
+ inputs: [{ name: "proposalId", type: "uint256" }],
2996
+ outputs: [{ name: "ppsAtExecute", type: "uint256" }, { name: "recorded", type: "bool" }]
2997
+ },
2479
2998
  {
2480
2999
  name: "getProposal",
2481
3000
  type: "function",
@@ -2503,11 +3022,35 @@ var SYNDICATE_GOVERNOR_ABI = [
2503
3022
  { name: "executedAt", type: "uint256" },
2504
3023
  { name: "state", type: "uint8" },
2505
3024
  { name: "vetoThresholdBps", type: "uint256" },
2506
- { name: "snapshotProtocolFeeBps", type: "uint256" },
2507
3025
  { name: "snapshotProtocolFeeRecipient", type: "address" },
2508
- { name: "snapshotGuardianFeeBps", type: "uint256" },
2509
3026
  { name: "snapshotGuardiansFeeRecipient", type: "address" },
2510
- { name: "selfManagesFees", type: "bool" }
3027
+ { name: "maxCapital", type: "uint256" },
3028
+ { name: "maxDrawdownBps", type: "uint16" },
3029
+ { name: "envelopeTier", type: "uint8" },
3030
+ { name: "requiredCoverage", type: "uint256" },
3031
+ { name: "proposerBondWood", type: "uint256" },
3032
+ { name: "proposerBondEscrow", type: "address" },
3033
+ {
3034
+ name: "snapshotMgmtSplit",
3035
+ type: "tuple",
3036
+ components: [
3037
+ { name: "agentBps", type: "uint16" },
3038
+ { name: "protocolBps", type: "uint16" },
3039
+ { name: "guardianBps", type: "uint16" }
3040
+ ]
3041
+ },
3042
+ {
3043
+ name: "snapshotPerfSplit",
3044
+ type: "tuple",
3045
+ components: [
3046
+ { name: "agentBps", type: "uint16" },
3047
+ { name: "protocolBps", type: "uint16" },
3048
+ { name: "guardianBps", type: "uint16" },
3049
+ { name: "ownerBps", type: "uint16" }
3050
+ ]
3051
+ },
3052
+ { name: "proposerBondLedger", type: "address" },
3053
+ { name: "effectiveMaxCapital", type: "uint256" }
2511
3054
  ]
2512
3055
  }
2513
3056
  ]
@@ -2519,6 +3062,13 @@ var SYNDICATE_GOVERNOR_ABI = [
2519
3062
  inputs: [{ name: "proposalId", type: "uint256" }],
2520
3063
  outputs: [{ name: "", type: "uint8" }]
2521
3064
  },
3065
+ {
3066
+ name: "getProposalTier",
3067
+ type: "function",
3068
+ stateMutability: "view",
3069
+ inputs: [{ name: "proposalId", type: "uint256" }],
3070
+ outputs: [{ name: "", type: "uint8" }]
3071
+ },
2522
3072
  {
2523
3073
  name: "getProposalView",
2524
3074
  type: "function",
@@ -2531,11 +3081,28 @@ var SYNDICATE_GOVERNOR_ABI = [
2531
3081
  components: [
2532
3082
  { name: "voteEnd", type: "uint256" },
2533
3083
  { name: "reviewEnd", type: "uint256" },
2534
- { name: "vault", type: "address" }
3084
+ { name: "vault", type: "address" },
3085
+ { name: "executeBy", type: "uint256" },
3086
+ { name: "strategyDuration", type: "uint256" },
3087
+ { name: "executedAt", type: "uint256" }
2535
3088
  ]
2536
3089
  }
2537
3090
  ]
2538
3091
  },
3092
+ {
3093
+ name: "getRequiredCoverage",
3094
+ type: "function",
3095
+ stateMutability: "view",
3096
+ inputs: [{ name: "proposalId", type: "uint256" }],
3097
+ outputs: [{ name: "", type: "uint256" }]
3098
+ },
3099
+ {
3100
+ name: "getRiskEnvelope",
3101
+ type: "function",
3102
+ stateMutability: "view",
3103
+ inputs: [{ name: "proposalId", type: "uint256" }],
3104
+ outputs: [{ name: "maxCapital", type: "uint256" }, { name: "maxDrawdownBps", type: "uint16" }]
3105
+ },
2539
3106
  {
2540
3107
  name: "getSettlementCalls",
2541
3108
  type: "function",
@@ -2583,6 +3150,7 @@ var SYNDICATE_GOVERNOR_ABI = [
2583
3150
  { name: "guardianRegistry_", type: "address" },
2584
3151
  { name: "protocolConfig_", type: "address" },
2585
3152
  { name: "factory_", type: "address" },
3153
+ { name: "tierRegistry_", type: "address" },
2586
3154
  {
2587
3155
  name: "params_",
2588
3156
  type: "tuple",
@@ -2601,6 +3169,13 @@ var SYNDICATE_GOVERNOR_ABI = [
2601
3169
  ],
2602
3170
  outputs: []
2603
3171
  },
3172
+ {
3173
+ name: "maxCapitalBps",
3174
+ type: "function",
3175
+ stateMutability: "view",
3176
+ inputs: [],
3177
+ outputs: [{ name: "", type: "uint256" }]
3178
+ },
2604
3179
  {
2605
3180
  name: "openProposalCount",
2606
3181
  type: "function",
@@ -2608,6 +3183,13 @@ var SYNDICATE_GOVERNOR_ABI = [
2608
3183
  inputs: [],
2609
3184
  outputs: [{ name: "", type: "uint256" }]
2610
3185
  },
3186
+ {
3187
+ name: "outstandingEscrow",
3188
+ type: "function",
3189
+ stateMutability: "view",
3190
+ inputs: [{ name: "vault", type: "address" }, { name: "token", type: "address" }],
3191
+ outputs: [{ name: "", type: "uint256" }]
3192
+ },
2611
3193
  {
2612
3194
  name: "proposalCount",
2613
3195
  type: "function",
@@ -2624,6 +3206,11 @@ var SYNDICATE_GOVERNOR_ABI = [
2624
3206
  { name: "strategy", type: "address" },
2625
3207
  { name: "metadataURI", type: "string" },
2626
3208
  { name: "strategyDuration", type: "uint256" },
3209
+ {
3210
+ name: "envelope",
3211
+ type: "tuple",
3212
+ components: [{ name: "maxCapital", type: "uint256" }, { name: "maxDrawdownBps", type: "uint16" }]
3213
+ },
2627
3214
  {
2628
3215
  name: "executeCalls",
2629
3216
  type: "tuple[]",
@@ -2633,6 +3220,7 @@ var SYNDICATE_GOVERNOR_ABI = [
2633
3220
  { name: "value", type: "uint256" }
2634
3221
  ]
2635
3222
  },
3223
+ { name: "executeCallCaps", type: "uint256[]" },
2636
3224
  {
2637
3225
  name: "settlementCalls",
2638
3226
  type: "tuple[]",
@@ -2642,6 +3230,7 @@ var SYNDICATE_GOVERNOR_ABI = [
2642
3230
  { name: "value", type: "uint256" }
2643
3231
  ]
2644
3232
  },
3233
+ { name: "settlementCallCaps", type: "uint256[]" },
2645
3234
  {
2646
3235
  name: "coProposers",
2647
3236
  type: "tuple[]",
@@ -2651,46 +3240,150 @@ var SYNDICATE_GOVERNOR_ABI = [
2651
3240
  outputs: [{ name: "proposalId", type: "uint256" }]
2652
3241
  },
2653
3242
  {
2654
- name: "protocolConfig",
2655
- type: "function",
2656
- stateMutability: "view",
2657
- inputs: [],
2658
- outputs: [{ name: "", type: "address" }]
2659
- },
2660
- {
2661
- name: "rejectCollaboration",
2662
- type: "function",
2663
- stateMutability: "nonpayable",
2664
- inputs: [{ name: "proposalId", type: "uint256" }],
2665
- outputs: []
2666
- },
2667
- {
2668
- name: "resolveProposalState",
2669
- type: "function",
2670
- stateMutability: "nonpayable",
2671
- inputs: [{ name: "proposalId", type: "uint256" }],
2672
- outputs: []
2673
- },
2674
- {
2675
- name: "setCollaborationWindow",
2676
- type: "function",
2677
- stateMutability: "nonpayable",
2678
- inputs: [{ name: "newValue", type: "uint256" }],
2679
- outputs: []
2680
- },
2681
- {
2682
- name: "setCooldownPeriod",
2683
- type: "function",
2684
- stateMutability: "nonpayable",
2685
- inputs: [{ name: "newValue", type: "uint256" }],
2686
- outputs: []
2687
- },
2688
- {
2689
- name: "setExecutionWindow",
3243
+ name: "proposeWithSandbox",
2690
3244
  type: "function",
2691
3245
  stateMutability: "nonpayable",
2692
- inputs: [{ name: "newValue", type: "uint256" }],
2693
- outputs: []
3246
+ inputs: [
3247
+ {
3248
+ name: "sandbox",
3249
+ type: "tuple",
3250
+ components: [
3251
+ { name: "funding", type: "uint256" },
3252
+ {
3253
+ name: "calls",
3254
+ type: "tuple[]",
3255
+ components: [{ name: "target", type: "address" }, { name: "data", type: "bytes" }]
3256
+ },
3257
+ { name: "declaredTokens", type: "address[]" }
3258
+ ]
3259
+ },
3260
+ { name: "vault", type: "address" },
3261
+ { name: "strategy", type: "address" },
3262
+ { name: "metadataURI", type: "string" },
3263
+ { name: "strategyDuration", type: "uint256" },
3264
+ {
3265
+ name: "envelope",
3266
+ type: "tuple",
3267
+ components: [{ name: "maxCapital", type: "uint256" }, { name: "maxDrawdownBps", type: "uint16" }]
3268
+ },
3269
+ {
3270
+ name: "executeCalls",
3271
+ type: "tuple[]",
3272
+ components: [
3273
+ { name: "target", type: "address" },
3274
+ { name: "data", type: "bytes" },
3275
+ { name: "value", type: "uint256" }
3276
+ ]
3277
+ },
3278
+ { name: "executeCallCaps", type: "uint256[]" },
3279
+ {
3280
+ name: "settlementCalls",
3281
+ type: "tuple[]",
3282
+ components: [
3283
+ { name: "target", type: "address" },
3284
+ { name: "data", type: "bytes" },
3285
+ { name: "value", type: "uint256" }
3286
+ ]
3287
+ },
3288
+ { name: "settlementCallCaps", type: "uint256[]" },
3289
+ {
3290
+ name: "coProposers",
3291
+ type: "tuple[]",
3292
+ components: [{ name: "agent", type: "address" }, { name: "splitBps", type: "uint256" }]
3293
+ }
3294
+ ],
3295
+ outputs: [{ name: "proposalId", type: "uint256" }]
3296
+ },
3297
+ {
3298
+ name: "protocolConfig",
3299
+ type: "function",
3300
+ stateMutability: "view",
3301
+ inputs: [],
3302
+ outputs: [{ name: "", type: "address" }]
3303
+ },
3304
+ {
3305
+ name: "reclaimProposerBond",
3306
+ type: "function",
3307
+ stateMutability: "nonpayable",
3308
+ inputs: [{ name: "proposalId", type: "uint256" }],
3309
+ outputs: []
3310
+ },
3311
+ {
3312
+ name: "rejectCollaboration",
3313
+ type: "function",
3314
+ stateMutability: "nonpayable",
3315
+ inputs: [{ name: "proposalId", type: "uint256" }],
3316
+ outputs: []
3317
+ },
3318
+ {
3319
+ name: "resolveProposalState",
3320
+ type: "function",
3321
+ stateMutability: "nonpayable",
3322
+ inputs: [{ name: "proposalId", type: "uint256" }],
3323
+ outputs: []
3324
+ },
3325
+ {
3326
+ name: "sandboxPayload",
3327
+ type: "function",
3328
+ stateMutability: "view",
3329
+ inputs: [{ name: "proposalId", type: "uint256" }],
3330
+ outputs: [
3331
+ {
3332
+ name: "payload",
3333
+ type: "tuple",
3334
+ components: [
3335
+ { name: "funding", type: "uint256" },
3336
+ {
3337
+ name: "calls",
3338
+ type: "tuple[]",
3339
+ components: [{ name: "target", type: "address" }, { name: "data", type: "bytes" }]
3340
+ },
3341
+ { name: "declaredTokens", type: "address[]" }
3342
+ ]
3343
+ }
3344
+ ]
3345
+ },
3346
+ {
3347
+ name: "setBondEscrow",
3348
+ type: "function",
3349
+ stateMutability: "nonpayable",
3350
+ inputs: [{ name: "newEscrow", type: "address" }],
3351
+ outputs: []
3352
+ },
3353
+ {
3354
+ name: "setCollaborationWindow",
3355
+ type: "function",
3356
+ stateMutability: "nonpayable",
3357
+ inputs: [{ name: "newValue", type: "uint256" }],
3358
+ outputs: []
3359
+ },
3360
+ {
3361
+ name: "setCooldownPeriod",
3362
+ type: "function",
3363
+ stateMutability: "nonpayable",
3364
+ inputs: [{ name: "newValue", type: "uint256" }],
3365
+ outputs: []
3366
+ },
3367
+ {
3368
+ name: "setExecutionWindow",
3369
+ type: "function",
3370
+ stateMutability: "nonpayable",
3371
+ inputs: [{ name: "newValue", type: "uint256" }],
3372
+ outputs: []
3373
+ },
3374
+ {
3375
+ name: "setExposureLedger",
3376
+ type: "function",
3377
+ stateMutability: "nonpayable",
3378
+ inputs: [{ name: "newLedger", type: "address" }],
3379
+ outputs: []
3380
+ },
3381
+ {
3382
+ name: "setMaxCapitalBps",
3383
+ type: "function",
3384
+ stateMutability: "nonpayable",
3385
+ inputs: [{ name: "newValue", type: "uint256" }],
3386
+ outputs: []
2694
3387
  },
2695
3388
  {
2696
3389
  name: "setMaxCoProposers",
@@ -2727,6 +3420,20 @@ var SYNDICATE_GOVERNOR_ABI = [
2727
3420
  inputs: [{ name: "newConfig", type: "address" }],
2728
3421
  outputs: []
2729
3422
  },
3423
+ {
3424
+ name: "setTier2CallCapBps",
3425
+ type: "function",
3426
+ stateMutability: "nonpayable",
3427
+ inputs: [{ name: "newValue", type: "uint256" }],
3428
+ outputs: []
3429
+ },
3430
+ {
3431
+ name: "setTierRegistry",
3432
+ type: "function",
3433
+ stateMutability: "nonpayable",
3434
+ inputs: [{ name: "newRegistry", type: "address" }],
3435
+ outputs: []
3436
+ },
2730
3437
  {
2731
3438
  name: "setVetoThresholdBps",
2732
3439
  type: "function",
@@ -2748,6 +3455,34 @@ var SYNDICATE_GOVERNOR_ABI = [
2748
3455
  inputs: [{ name: "proposalId", type: "uint256" }],
2749
3456
  outputs: []
2750
3457
  },
3458
+ {
3459
+ name: "stateOf",
3460
+ type: "function",
3461
+ stateMutability: "view",
3462
+ inputs: [{ name: "proposalId", type: "uint256" }],
3463
+ outputs: [{ name: "", type: "uint8" }]
3464
+ },
3465
+ {
3466
+ name: "strategyOf",
3467
+ type: "function",
3468
+ stateMutability: "view",
3469
+ inputs: [{ name: "proposalId", type: "uint256" }],
3470
+ outputs: [{ name: "", type: "address" }]
3471
+ },
3472
+ {
3473
+ name: "tier2CallCapBps",
3474
+ type: "function",
3475
+ stateMutability: "view",
3476
+ inputs: [],
3477
+ outputs: [{ name: "", type: "uint256" }]
3478
+ },
3479
+ {
3480
+ name: "tierRegistry",
3481
+ type: "function",
3482
+ stateMutability: "view",
3483
+ inputs: [],
3484
+ outputs: [{ name: "", type: "address" }]
3485
+ },
2751
3486
  {
2752
3487
  name: "unclaimedFees",
2753
3488
  type: "function",
@@ -2787,6 +3522,14 @@ var SYNDICATE_GOVERNOR_ABI = [
2787
3522
  inputs: [{ name: "proposalId", type: "uint256" }, { name: "support", type: "uint8" }],
2788
3523
  outputs: []
2789
3524
  },
3525
+ {
3526
+ name: "BondEscrowSet",
3527
+ type: "event",
3528
+ inputs: [
3529
+ { name: "oldEscrow", type: "address", indexed: true },
3530
+ { name: "newEscrow", type: "address", indexed: true }
3531
+ ]
3532
+ },
2790
3533
  {
2791
3534
  name: "CollaborationApproved",
2792
3535
  type: "event",
@@ -2823,6 +3566,25 @@ var SYNDICATE_GOVERNOR_ABI = [
2823
3566
  { name: "splitsBps", type: "uint256[]", indexed: false }
2824
3567
  ]
2825
3568
  },
3569
+ {
3570
+ name: "CoverageSettleFailed",
3571
+ type: "event",
3572
+ inputs: [
3573
+ { name: "proposalId", type: "uint256", indexed: true },
3574
+ { name: "ledger", type: "address", indexed: true }
3575
+ ]
3576
+ },
3577
+ {
3578
+ name: "EffectiveMaxCapitalSet",
3579
+ type: "event",
3580
+ inputs: [
3581
+ { name: "proposalId", type: "uint256", indexed: true },
3582
+ { name: "declaredMaxCapital", type: "uint256", indexed: false },
3583
+ { name: "effectiveMaxCapital", type: "uint256", indexed: false },
3584
+ { name: "coverageRaisedUsd", type: "uint256", indexed: false },
3585
+ { name: "requiredCoverageUsd", type: "uint256", indexed: false }
3586
+ ]
3587
+ },
2826
3588
  {
2827
3589
  name: "EmergencySettleCancelled",
2828
3590
  type: "event",
@@ -2859,6 +3621,14 @@ var SYNDICATE_GOVERNOR_ABI = [
2859
3621
  { name: "customCallCount", type: "uint256", indexed: false }
2860
3622
  ]
2861
3623
  },
3624
+ {
3625
+ name: "ExposureLedgerSet",
3626
+ type: "event",
3627
+ inputs: [
3628
+ { name: "oldLedger", type: "address", indexed: true },
3629
+ { name: "newLedger", type: "address", indexed: true }
3630
+ ]
3631
+ },
2862
3632
  {
2863
3633
  name: "FeeClaimed",
2864
3634
  type: "event",
@@ -2877,6 +3647,16 @@ var SYNDICATE_GOVERNOR_ABI = [
2877
3647
  { name: "clamped", type: "uint256", indexed: true }
2878
3648
  ]
2879
3649
  },
3650
+ {
3651
+ name: "FeeEscrowCapped",
3652
+ type: "event",
3653
+ inputs: [
3654
+ { name: "recipient", type: "address", indexed: true },
3655
+ { name: "token", type: "address", indexed: true },
3656
+ { name: "charged", type: "uint256", indexed: false },
3657
+ { name: "escrowed", type: "uint256", indexed: false }
3658
+ ]
3659
+ },
2880
3660
  {
2881
3661
  name: "FeeTransferFailed",
2882
3662
  type: "event",
@@ -2909,6 +3689,16 @@ var SYNDICATE_GOVERNOR_ABI = [
2909
3689
  type: "event",
2910
3690
  inputs: [{ name: "version", type: "uint64", indexed: false }]
2911
3691
  },
3692
+ {
3693
+ name: "ManagementFeeCharged",
3694
+ type: "event",
3695
+ inputs: [
3696
+ { name: "proposalId", type: "uint256", indexed: true },
3697
+ { name: "asset", type: "address", indexed: true },
3698
+ { name: "amount", type: "uint256", indexed: false },
3699
+ { name: "assetSeconds", type: "uint256", indexed: false }
3700
+ ]
3701
+ },
2912
3702
  {
2913
3703
  name: "ParameterChangeFinalized",
2914
3704
  type: "event",
@@ -2918,6 +3708,16 @@ var SYNDICATE_GOVERNOR_ABI = [
2918
3708
  { name: "newValue", type: "uint256", indexed: false }
2919
3709
  ]
2920
3710
  },
3711
+ {
3712
+ name: "PerformanceFeeCharged",
3713
+ type: "event",
3714
+ inputs: [
3715
+ { name: "proposalId", type: "uint256", indexed: true },
3716
+ { name: "asset", type: "address", indexed: true },
3717
+ { name: "amount", type: "uint256", indexed: false },
3718
+ { name: "aboveMark", type: "uint256", indexed: false }
3719
+ ]
3720
+ },
2921
3721
  {
2922
3722
  name: "ProposalCancelled",
2923
3723
  type: "event",
@@ -2968,6 +3768,32 @@ var SYNDICATE_GOVERNOR_ABI = [
2968
3768
  { name: "vetoedBy", type: "address", indexed: true }
2969
3769
  ]
2970
3770
  },
3771
+ {
3772
+ name: "ProposerBondForfeitureAcknowledged",
3773
+ type: "event",
3774
+ inputs: [
3775
+ { name: "proposalId", type: "uint256", indexed: true },
3776
+ { name: "amount", type: "uint256", indexed: false }
3777
+ ]
3778
+ },
3779
+ {
3780
+ name: "SandboxPayloadStored",
3781
+ type: "event",
3782
+ inputs: [
3783
+ { name: "proposalId", type: "uint256", indexed: true },
3784
+ { name: "funding", type: "uint256", indexed: false },
3785
+ { name: "callCount", type: "uint256", indexed: false },
3786
+ { name: "tokenCount", type: "uint256", indexed: false }
3787
+ ]
3788
+ },
3789
+ {
3790
+ name: "TierRegistrySet",
3791
+ type: "event",
3792
+ inputs: [
3793
+ { name: "oldRegistry", type: "address", indexed: true },
3794
+ { name: "newRegistry", type: "address", indexed: true }
3795
+ ]
3796
+ },
2971
3797
  {
2972
3798
  name: "VaultAdded",
2973
3799
  type: "event",
@@ -2990,34 +3816,53 @@ var SYNDICATE_GOVERNOR_ABI = [
2990
3816
  },
2991
3817
  { name: "AlreadyApproved", type: "error", inputs: [] },
2992
3818
  { name: "AlreadyVoted", type: "error", inputs: [] },
3819
+ { name: "CallCapsExceedMaxCapital", type: "error", inputs: [] },
3820
+ { name: "CallCapsLengthMismatch", type: "error", inputs: [] },
2993
3821
  { name: "CancelNotAllowedNearQuorum", type: "error", inputs: [] },
3822
+ { name: "ChallengeWindowOpen", type: "error", inputs: [] },
2994
3823
  { name: "CoProposerShareUnderflow", type: "error", inputs: [] },
2995
3824
  { name: "CollaborationExpired", type: "error", inputs: [] },
2996
3825
  { name: "CooldownNotElapsed", type: "error", inputs: [] },
3826
+ { name: "CoverageRegressed", type: "error", inputs: [] },
3827
+ {
3828
+ name: "DisallowedBatchTarget",
3829
+ type: "error",
3830
+ inputs: [{ name: "target", type: "address" }]
3831
+ },
2997
3832
  { name: "DuplicateCoProposer", type: "error", inputs: [] },
3833
+ { name: "DuplicateSandboxToken", type: "error", inputs: [{ name: "token", type: "address" }] },
2998
3834
  { name: "EmergencyNotProposed", type: "error", inputs: [] },
2999
3835
  { name: "EmergencySettleBlocked", type: "error", inputs: [] },
3000
3836
  { name: "EmergencySettleNotReady", type: "error", inputs: [] },
3001
3837
  { name: "EmptyExecuteCalls", type: "error", inputs: [] },
3838
+ { name: "EmptySandboxCalls", type: "error", inputs: [] },
3002
3839
  { name: "EmptySettlementCalls", type: "error", inputs: [] },
3003
3840
  { name: "ExecutionWindowExpired", type: "error", inputs: [] },
3841
+ { name: "ExposureLedgerUnset", type: "error", inputs: [] },
3004
3842
  { name: "InvalidCollaborationWindow", type: "error", inputs: [] },
3005
3843
  { name: "InvalidCooldownPeriod", type: "error", inputs: [] },
3844
+ { name: "InvalidDrawdown", type: "error", inputs: [] },
3006
3845
  { name: "InvalidExecutionWindow", type: "error", inputs: [] },
3007
3846
  { name: "InvalidGuardianFeeBps", type: "error", inputs: [] },
3008
3847
  { name: "InvalidGuardiansFeeRecipient", type: "error", inputs: [] },
3009
3848
  { name: "InvalidInitialization", type: "error", inputs: [] },
3849
+ { name: "InvalidMaxCapitalBps", type: "error", inputs: [] },
3010
3850
  { name: "InvalidMaxCoProposers", type: "error", inputs: [] },
3011
3851
  { name: "InvalidMaxPerformanceFeeBps", type: "error", inputs: [] },
3012
3852
  { name: "InvalidProtocolFeeBps", type: "error", inputs: [] },
3013
3853
  { name: "InvalidProtocolFeeRecipient", type: "error", inputs: [] },
3014
3854
  { name: "InvalidSplits", type: "error", inputs: [] },
3015
3855
  { name: "InvalidStrategyDurationBounds", type: "error", inputs: [] },
3856
+ { name: "InvalidTier2CallCapBps", type: "error", inputs: [] },
3016
3857
  { name: "InvalidVault", type: "error", inputs: [] },
3017
3858
  { name: "InvalidVetoThresholdBps", type: "error", inputs: [] },
3018
3859
  { name: "InvalidVotingPeriod", type: "error", inputs: [] },
3019
3860
  { name: "LeadSplitTooLow", type: "error", inputs: [] },
3861
+ { name: "LedgerEscrowMismatch", type: "error", inputs: [] },
3862
+ { name: "MaxCapitalCeilingRegressed", type: "error", inputs: [] },
3863
+ { name: "MaxCapitalExceedsCeiling", type: "error", inputs: [] },
3020
3864
  { name: "MetadataURITooLong", type: "error", inputs: [] },
3865
+ { name: "NoBondToReclaim", type: "error", inputs: [] },
3021
3866
  { name: "NoVotingPower", type: "error", inputs: [] },
3022
3867
  { name: "NotAuthorized", type: "error", inputs: [] },
3023
3868
  { name: "NotCoProposer", type: "error", inputs: [] },
@@ -3037,19 +3882,55 @@ var SYNDICATE_GOVERNOR_ABI = [
3037
3882
  { name: "ProposalNotCancellable", type: "error", inputs: [] },
3038
3883
  { name: "ProposalNotExecuted", type: "error", inputs: [] },
3039
3884
  { name: "ProposalNotFound", type: "error", inputs: [] },
3885
+ { name: "ProposalNotTerminal", type: "error", inputs: [] },
3040
3886
  { name: "Reentrancy", type: "error", inputs: [] },
3041
3887
  { name: "RegistryNotSet", type: "error", inputs: [] },
3888
+ {
3889
+ name: "SandboxFundingExceedsMaxCapital",
3890
+ type: "error",
3891
+ inputs: [{ name: "funding", type: "uint256" }, { name: "maxCapital", type: "uint256" }]
3892
+ },
3893
+ { name: "SandboxNotAvailable", type: "error", inputs: [{ name: "vault", type: "address" }] },
3894
+ {
3895
+ name: "SandboxProposalIdMismatch",
3896
+ type: "error",
3897
+ inputs: [{ name: "expected", type: "uint256" }, { name: "actual", type: "uint256" }]
3898
+ },
3899
+ {
3900
+ name: "SettlePriceBelowFloor",
3901
+ type: "error",
3902
+ inputs: [{ name: "ppsNow", type: "uint256" }, { name: "ppsFloor", type: "uint256" }]
3903
+ },
3904
+ {
3905
+ name: "SettlementBelowDrawdownFloor",
3906
+ type: "error",
3907
+ inputs: [{ name: "realized", type: "uint256" }, { name: "floor", type: "uint256" }]
3908
+ },
3042
3909
  { name: "SplitTooLow", type: "error", inputs: [] },
3043
3910
  { name: "StrategyAlreadyActive", type: "error", inputs: [] },
3044
3911
  { name: "StrategyDurationNotElapsed", type: "error", inputs: [] },
3045
3912
  { name: "StrategyDurationTooLong", type: "error", inputs: [] },
3046
3913
  { name: "StrategyDurationTooShort", type: "error", inputs: [] },
3914
+ { name: "StrategyProposerMismatch", type: "error", inputs: [] },
3915
+ { name: "StrategyVaultMismatch", type: "error", inputs: [] },
3916
+ {
3917
+ name: "Tier2CallCapExceedsCeiling",
3918
+ type: "error",
3919
+ inputs: [{ name: "index", type: "uint256" }]
3920
+ },
3921
+ { name: "TierRegistryNotWired", type: "error", inputs: [] },
3922
+ { name: "TierRegressed", type: "error", inputs: [] },
3047
3923
  { name: "TooManyCalls", type: "error", inputs: [] },
3048
3924
  { name: "TooManyCoProposers", type: "error", inputs: [] },
3925
+ { name: "TooManySandboxTokens", type: "error", inputs: [] },
3049
3926
  { name: "VaultAlreadyRegistered", type: "error", inputs: [] },
3050
3927
  { name: "VaultHasOpenProposal", type: "error", inputs: [] },
3051
3928
  { name: "VaultNotRegistered", type: "error", inputs: [] },
3052
- { name: "ZeroAddress", type: "error", inputs: [] }
3929
+ { name: "VaultProposalActive", type: "error", inputs: [] },
3930
+ { name: "ZeroAddress", type: "error", inputs: [] },
3931
+ { name: "ZeroMaxCapital", type: "error", inputs: [] },
3932
+ { name: "ZeroSandboxFunding", type: "error", inputs: [] },
3933
+ { name: "ZeroSandboxTarget", type: "error", inputs: [{ name: "index", type: "uint256" }] }
3053
3934
  ];
3054
3935
  var SCHEMA_REGISTRY_ABI = [
3055
3936
  {
@@ -3081,6 +3962,20 @@ var BASE_STRATEGY_ABI = [
3081
3962
  inputs: [],
3082
3963
  outputs: [{ name: "", type: "bool" }]
3083
3964
  },
3965
+ {
3966
+ name: "hasUndeliveredValue",
3967
+ type: "function",
3968
+ stateMutability: "view",
3969
+ inputs: [],
3970
+ outputs: [{ name: "", type: "bool" }]
3971
+ },
3972
+ {
3973
+ name: "hasUnvaluedResidue",
3974
+ type: "function",
3975
+ stateMutability: "view",
3976
+ inputs: [],
3977
+ outputs: [{ name: "", type: "bool" }]
3978
+ },
3084
3979
  {
3085
3980
  name: "initialize",
3086
3981
  type: "function",
@@ -3100,43 +3995,26 @@ var BASE_STRATEGY_ABI = [
3100
3995
  outputs: [{ name: "", type: "string" }]
3101
3996
  },
3102
3997
  {
3103
- name: "positions",
3104
- type: "function",
3105
- stateMutability: "view",
3106
- inputs: [],
3107
- outputs: [
3108
- {
3109
- name: "",
3110
- type: "tuple[]",
3111
- components: [
3112
- { name: "venue", type: "address" },
3113
- { name: "kind", type: "bytes32" },
3114
- { name: "ref", type: "bytes" }
3115
- ]
3116
- }
3117
- ]
3118
- },
3119
- {
3120
- name: "proposer",
3998
+ name: "proposer",
3121
3999
  type: "function",
3122
4000
  stateMutability: "view",
3123
4001
  inputs: [],
3124
4002
  outputs: [{ name: "", type: "address" }]
3125
4003
  },
4004
+ { name: "settle", type: "function", stateMutability: "nonpayable", inputs: [], outputs: [] },
3126
4005
  {
3127
- name: "selfManagesFees",
4006
+ name: "state",
3128
4007
  type: "function",
3129
4008
  stateMutability: "view",
3130
4009
  inputs: [],
3131
- outputs: [{ name: "", type: "bool" }]
4010
+ outputs: [{ name: "", type: "uint8" }]
3132
4011
  },
3133
- { name: "settle", type: "function", stateMutability: "nonpayable", inputs: [], outputs: [] },
3134
4012
  {
3135
- name: "state",
4013
+ name: "undeliveredValue",
3136
4014
  type: "function",
3137
4015
  stateMutability: "view",
3138
4016
  inputs: [],
3139
- outputs: [{ name: "", type: "uint8" }]
4017
+ outputs: [{ name: "", type: "uint256" }]
3140
4018
  },
3141
4019
  {
3142
4020
  name: "updateParams",
@@ -3155,424 +4033,100 @@ var BASE_STRATEGY_ABI = [
3155
4033
  { name: "AlreadyExecuted", type: "error", inputs: [] },
3156
4034
  { name: "AlreadyInitialized", type: "error", inputs: [] },
3157
4035
  { name: "AlreadySettled", type: "error", inputs: [] },
4036
+ { name: "NotActiveProposalStrategy", type: "error", inputs: [] },
3158
4037
  { name: "NotExecuted", type: "error", inputs: [] },
3159
4038
  { name: "NotProposer", type: "error", inputs: [] },
3160
4039
  { name: "NotVault", type: "error", inputs: [] },
4040
+ { name: "ProposerNoLongerAgent", type: "error", inputs: [] },
3161
4041
  { name: "ZeroAddress", type: "error", inputs: [] }
3162
4042
  ];
3163
- var HYPERLIQUID_PERP_STRATEGY_ABI = [
3164
- {
3165
- name: "asset",
3166
- type: "function",
3167
- stateMutability: "view",
3168
- inputs: [],
3169
- outputs: [{ name: "", type: "address" }]
3170
- },
3171
- {
3172
- name: "assetTraded",
3173
- type: "function",
3174
- stateMutability: "view",
3175
- inputs: [{ name: "", type: "uint32" }],
3176
- outputs: [{ name: "", type: "bool" }]
3177
- },
4043
+ var PORTFOLIO_STRATEGY_ABI = [
3178
4044
  {
3179
- name: "cumulativeSwept",
4045
+ name: "BPS_DENOMINATOR",
3180
4046
  type: "function",
3181
4047
  stateMutability: "view",
3182
4048
  inputs: [],
3183
4049
  outputs: [{ name: "", type: "uint256" }]
3184
4050
  },
3185
4051
  {
3186
- name: "depositAmount",
4052
+ name: "MAX_BASKET_SIZE",
3187
4053
  type: "function",
3188
4054
  stateMutability: "view",
3189
4055
  inputs: [],
3190
4056
  outputs: [{ name: "", type: "uint256" }]
3191
4057
  },
3192
- { name: "execute", type: "function", stateMutability: "nonpayable", inputs: [], outputs: [] },
3193
- {
3194
- name: "executed",
3195
- type: "function",
3196
- stateMutability: "view",
3197
- inputs: [],
3198
- outputs: [{ name: "", type: "bool" }]
3199
- },
3200
- {
3201
- name: "finalizeForHyperCore",
3202
- type: "function",
3203
- stateMutability: "nonpayable",
3204
- inputs: [
3205
- { name: "token", type: "uint64" },
3206
- { name: "variant", type: "uint8" },
3207
- { name: "createNonce", type: "uint64" }
3208
- ],
3209
- outputs: []
3210
- },
3211
- {
3212
- name: "getMarginSummary",
3213
- type: "function",
3214
- stateMutability: "view",
3215
- inputs: [],
3216
- outputs: [
3217
- {
3218
- name: "summary",
3219
- type: "tuple",
3220
- components: [
3221
- { name: "accountValue", type: "int64" },
3222
- { name: "marginUsed", type: "uint64" },
3223
- { name: "ntlPos", type: "uint64" },
3224
- { name: "rawUsd", type: "int64" }
3225
- ]
3226
- }
3227
- ]
3228
- },
3229
- {
3230
- name: "getPosition",
3231
- type: "function",
3232
- stateMutability: "view",
3233
- inputs: [],
3234
- outputs: [
3235
- {
3236
- name: "pos",
3237
- type: "tuple",
3238
- components: [
3239
- { name: "szi", type: "int64" },
3240
- { name: "entryNtl", type: "uint64" },
3241
- { name: "isolatedRawUsd", type: "int64" },
3242
- { name: "leverage", type: "uint32" },
3243
- { name: "isIsolated", type: "bool" }
3244
- ]
3245
- }
3246
- ]
3247
- },
3248
- {
3249
- name: "getSpotBalance",
3250
- type: "function",
3251
- stateMutability: "view",
3252
- inputs: [],
3253
- outputs: [
3254
- {
3255
- name: "balance",
3256
- type: "tuple",
3257
- components: [
3258
- { name: "total", type: "uint64" },
3259
- { name: "hold", type: "uint64" },
3260
- { name: "entryNtl", type: "uint64" }
3261
- ]
3262
- }
3263
- ]
3264
- },
3265
- {
3266
- name: "hasActiveStopLoss",
3267
- type: "function",
3268
- stateMutability: "view",
3269
- inputs: [],
3270
- outputs: [{ name: "", type: "bool" }]
3271
- },
3272
4058
  {
3273
- name: "hyperCoreFinalized",
3274
- type: "function",
3275
- stateMutability: "view",
3276
- inputs: [],
3277
- outputs: [{ name: "", type: "bool" }]
3278
- },
3279
- {
3280
- name: "inFlightToHc",
4059
+ name: "MAX_CUMULATIVE_DECAY_BPS",
3281
4060
  type: "function",
3282
4061
  stateMutability: "view",
3283
4062
  inputs: [],
3284
4063
  outputs: [{ name: "", type: "uint256" }]
3285
4064
  },
3286
4065
  {
3287
- name: "initialize",
3288
- type: "function",
3289
- stateMutability: "nonpayable",
3290
- inputs: [
3291
- { name: "vault_", type: "address" },
3292
- { name: "proposer_", type: "address" },
3293
- { name: "data", type: "bytes" }
3294
- ],
3295
- outputs: []
3296
- },
3297
- {
3298
- name: "initiateReturn",
3299
- type: "function",
3300
- stateMutability: "nonpayable",
3301
- inputs: [],
3302
- outputs: []
3303
- },
3304
- {
3305
- name: "lastRecoverBlock",
4066
+ name: "MAX_PUSH_PRICE_AGE",
3306
4067
  type: "function",
3307
4068
  stateMutability: "view",
3308
4069
  inputs: [],
3309
4070
  outputs: [{ name: "", type: "uint256" }]
3310
4071
  },
3311
4072
  {
3312
- name: "lastTradeReset",
4073
+ name: "MAX_PUSH_PRICE_AGE_CAP",
3313
4074
  type: "function",
3314
4075
  stateMutability: "view",
3315
4076
  inputs: [],
3316
4077
  outputs: [{ name: "", type: "uint256" }]
3317
4078
  },
3318
4079
  {
3319
- name: "leverage",
3320
- type: "function",
3321
- stateMutability: "view",
3322
- inputs: [],
3323
- outputs: [{ name: "", type: "uint32" }]
3324
- },
3325
- {
3326
- name: "maxPositionSize",
4080
+ name: "MAX_SLIPPAGE_CEILING_BPS",
3327
4081
  type: "function",
3328
4082
  stateMutability: "view",
3329
4083
  inputs: [],
3330
4084
  outputs: [{ name: "", type: "uint256" }]
3331
4085
  },
3332
4086
  {
3333
- name: "maxTradesPerDay",
3334
- type: "function",
3335
- stateMutability: "view",
3336
- inputs: [],
3337
- outputs: [{ name: "", type: "uint32" }]
3338
- },
3339
- {
3340
- name: "moveSpotToPerp",
3341
- type: "function",
3342
- stateMutability: "nonpayable",
3343
- inputs: [],
3344
- outputs: []
3345
- },
3346
- {
3347
- name: "name",
3348
- type: "function",
3349
- stateMutability: "pure",
3350
- inputs: [],
3351
- outputs: [{ name: "", type: "string" }]
3352
- },
3353
- {
3354
- name: "perpAssetIndex",
3355
- type: "function",
3356
- stateMutability: "view",
3357
- inputs: [],
3358
- outputs: [{ name: "", type: "uint32" }]
3359
- },
3360
- {
3361
- name: "positions",
3362
- type: "function",
3363
- stateMutability: "view",
3364
- inputs: [],
3365
- outputs: [
3366
- {
3367
- name: "ps",
3368
- type: "tuple[]",
3369
- components: [
3370
- { name: "venue", type: "address" },
3371
- { name: "kind", type: "bytes32" },
3372
- { name: "ref", type: "bytes" }
3373
- ]
3374
- }
3375
- ]
3376
- },
3377
- {
3378
- name: "proposer",
3379
- type: "function",
3380
- stateMutability: "view",
3381
- inputs: [],
3382
- outputs: [{ name: "", type: "address" }]
3383
- },
3384
- {
3385
- name: "recoverHcResiduals",
3386
- type: "function",
3387
- stateMutability: "nonpayable",
3388
- inputs: [],
3389
- outputs: []
3390
- },
3391
- {
3392
- name: "returnsInitiated",
3393
- type: "function",
3394
- stateMutability: "view",
3395
- inputs: [],
3396
- outputs: [{ name: "", type: "bool" }]
3397
- },
3398
- {
3399
- name: "returnsInitiatedBlock",
4087
+ name: "MAX_STALE_SLIPPAGE_BPS",
3400
4088
  type: "function",
3401
4089
  stateMutability: "view",
3402
4090
  inputs: [],
3403
4091
  outputs: [{ name: "", type: "uint256" }]
3404
4092
  },
3405
4093
  {
3406
- name: "selfManagesFees",
3407
- type: "function",
3408
- stateMutability: "view",
3409
- inputs: [],
3410
- outputs: [{ name: "", type: "bool" }]
3411
- },
3412
- { name: "settle", type: "function", stateMutability: "nonpayable", inputs: [], outputs: [] },
3413
- {
3414
- name: "settled",
3415
- type: "function",
3416
- stateMutability: "view",
3417
- inputs: [],
3418
- outputs: [{ name: "", type: "bool" }]
3419
- },
3420
- {
3421
- name: "state",
3422
- type: "function",
3423
- stateMutability: "view",
3424
- inputs: [],
3425
- outputs: [{ name: "", type: "uint8" }]
3426
- },
3427
- {
3428
- name: "sweepToVault",
3429
- type: "function",
3430
- stateMutability: "nonpayable",
3431
- inputs: [],
3432
- outputs: []
3433
- },
3434
- {
3435
- name: "tradedAssets",
3436
- type: "function",
3437
- stateMutability: "view",
3438
- inputs: [{ name: "", type: "uint256" }],
3439
- outputs: [{ name: "", type: "uint32" }]
3440
- },
3441
- {
3442
- name: "tradesToday",
3443
- type: "function",
3444
- stateMutability: "view",
3445
- inputs: [],
3446
- outputs: [{ name: "", type: "uint32" }]
3447
- },
3448
- {
3449
- name: "updateParams",
3450
- type: "function",
3451
- stateMutability: "nonpayable",
3452
- inputs: [{ name: "data", type: "bytes" }],
3453
- outputs: []
3454
- },
3455
- {
3456
- name: "vault",
3457
- type: "function",
3458
- stateMutability: "view",
3459
- inputs: [],
3460
- outputs: [{ name: "", type: "address" }]
3461
- },
3462
- {
3463
- name: "FundsParked",
3464
- type: "event",
3465
- inputs: [{ name: "amount", type: "uint256", indexed: false }]
3466
- },
3467
- {
3468
- name: "FundsSwept",
3469
- type: "event",
3470
- inputs: [{ name: "amount", type: "uint256", indexed: false }]
3471
- },
3472
- {
3473
- name: "HyperCoreFinalized",
3474
- type: "event",
3475
- inputs: [
3476
- { name: "token", type: "uint64", indexed: false },
3477
- { name: "variant", type: "uint8", indexed: false },
3478
- { name: "createNonce", type: "uint64", indexed: false }
3479
- ]
3480
- },
3481
- {
3482
- name: "PositionClosed",
3483
- type: "event",
3484
- inputs: [
3485
- { name: "asset", type: "uint32", indexed: false },
3486
- { name: "limitPx", type: "uint64", indexed: false },
3487
- { name: "sz", type: "uint64", indexed: false }
3488
- ]
3489
- },
3490
- {
3491
- name: "PositionOpened",
3492
- type: "event",
3493
- inputs: [
3494
- { name: "asset", type: "uint32", indexed: false },
3495
- { name: "isBuy", type: "bool", indexed: false },
3496
- { name: "limitPx", type: "uint64", indexed: false },
3497
- { name: "sz", type: "uint64", indexed: false },
3498
- { name: "leverage", type: "uint32", indexed: false }
3499
- ]
3500
- },
3501
- { name: "ReturnsInitiated", type: "event", inputs: [] },
3502
- { name: "Settled", type: "event", inputs: [] },
3503
- {
3504
- name: "StopLossUpdated",
3505
- type: "event",
3506
- inputs: [{ name: "triggerPx", type: "uint64", indexed: false }]
3507
- },
3508
- { name: "AccountMarginSummaryPrecompileCallFailed", type: "error", inputs: [] },
3509
- { name: "AlreadyExecuted", type: "error", inputs: [] },
3510
- { name: "AlreadyFinalized", type: "error", inputs: [] },
3511
- { name: "AlreadyInitialized", type: "error", inputs: [] },
3512
- { name: "AlreadySettled", type: "error", inputs: [] },
3513
- { name: "DepositAmountTooLarge", type: "error", inputs: [] },
3514
- { name: "InvalidAction", type: "error", inputs: [] },
3515
- { name: "InvalidAmount", type: "error", inputs: [] },
3516
- { name: "MaxTradesExceeded", type: "error", inputs: [] },
3517
- { name: "NotAuthorized", type: "error", inputs: [] },
3518
- { name: "NotExecuted", type: "error", inputs: [] },
3519
- { name: "NotProposer", type: "error", inputs: [] },
3520
- { name: "NotSweepable", type: "error", inputs: [] },
3521
- { name: "NotVault", type: "error", inputs: [] },
3522
- { name: "Position2PrecompileCallFailed", type: "error", inputs: [] },
3523
- {
3524
- name: "PositionTooLarge",
3525
- type: "error",
3526
- inputs: [{ name: "actual", type: "uint256" }, { name: "max", type: "uint256" }]
3527
- },
3528
- { name: "ReturnsNotInitiated", type: "error", inputs: [] },
3529
- {
3530
- name: "SafeERC20FailedOperation",
3531
- type: "error",
3532
- inputs: [{ name: "token", type: "address" }]
3533
- },
3534
- { name: "SettleTooSoon", type: "error", inputs: [] },
3535
- { name: "SpotBalancePrecompileCallFailed", type: "error", inputs: [] },
3536
- { name: "ZeroAddress", type: "error", inputs: [] }
3537
- ];
3538
- var PORTFOLIO_STRATEGY_ABI = [
3539
- {
3540
- name: "BPS_DENOMINATOR",
4094
+ name: "MIN_PUSH_PRICE_AGE",
3541
4095
  type: "function",
3542
4096
  stateMutability: "view",
3543
4097
  inputs: [],
3544
4098
  outputs: [{ name: "", type: "uint256" }]
3545
4099
  },
3546
4100
  {
3547
- name: "MAX_BASKET_SIZE",
4101
+ name: "MIN_SLIPPAGE_BPS",
3548
4102
  type: "function",
3549
4103
  stateMutability: "view",
3550
4104
  inputs: [],
3551
4105
  outputs: [{ name: "", type: "uint256" }]
3552
4106
  },
3553
4107
  {
3554
- name: "MAX_PUSH_PRICE_AGE",
4108
+ name: "PRICE_ANCHOR_MAX_AGE_AT_EXECUTE",
3555
4109
  type: "function",
3556
4110
  stateMutability: "view",
3557
4111
  inputs: [],
3558
4112
  outputs: [{ name: "", type: "uint256" }]
3559
4113
  },
3560
4114
  {
3561
- name: "MAX_PUSH_PRICE_AGE_CAP",
4115
+ name: "PRICE_PRECISION",
3562
4116
  type: "function",
3563
4117
  stateMutability: "view",
3564
4118
  inputs: [],
3565
4119
  outputs: [{ name: "", type: "uint256" }]
3566
4120
  },
3567
4121
  {
3568
- name: "MIN_PUSH_PRICE_AGE",
4122
+ name: "STALE_PRICE_SLIPPAGE_BPS",
3569
4123
  type: "function",
3570
4124
  stateMutability: "view",
3571
4125
  inputs: [],
3572
4126
  outputs: [{ name: "", type: "uint256" }]
3573
4127
  },
3574
4128
  {
3575
- name: "PRICE_PRECISION",
4129
+ name: "STALE_WIDEN_PERIOD",
3576
4130
  type: "function",
3577
4131
  stateMutability: "view",
3578
4132
  inputs: [],
@@ -3606,6 +4160,13 @@ var PORTFOLIO_STRATEGY_ABI = [
3606
4160
  inputs: [],
3607
4161
  outputs: [{ name: "", type: "address" }]
3608
4162
  },
4163
+ {
4164
+ name: "cumulativeDecayBps",
4165
+ type: "function",
4166
+ stateMutability: "view",
4167
+ inputs: [],
4168
+ outputs: [{ name: "", type: "uint256" }]
4169
+ },
3609
4170
  { name: "execute", type: "function", stateMutability: "nonpayable", inputs: [], outputs: [] },
3610
4171
  {
3611
4172
  name: "executed",
@@ -3614,6 +4175,13 @@ var PORTFOLIO_STRATEGY_ABI = [
3614
4175
  inputs: [],
3615
4176
  outputs: [{ name: "", type: "bool" }]
3616
4177
  },
4178
+ {
4179
+ name: "feedIdOf",
4180
+ type: "function",
4181
+ stateMutability: "view",
4182
+ inputs: [{ name: "index", type: "uint256" }],
4183
+ outputs: [{ name: "", type: "bytes32" }]
4184
+ },
3617
4185
  {
3618
4186
  name: "getAllocations",
3619
4187
  type: "function",
@@ -3653,6 +4221,20 @@ var PORTFOLIO_STRATEGY_ABI = [
3653
4221
  inputs: [],
3654
4222
  outputs: [{ name: "", type: "uint8[]" }]
3655
4223
  },
4224
+ {
4225
+ name: "hasUndeliveredValue",
4226
+ type: "function",
4227
+ stateMutability: "view",
4228
+ inputs: [],
4229
+ outputs: [{ name: "", type: "bool" }]
4230
+ },
4231
+ {
4232
+ name: "hasUnvaluedResidue",
4233
+ type: "function",
4234
+ stateMutability: "view",
4235
+ inputs: [],
4236
+ outputs: [{ name: "", type: "bool" }]
4237
+ },
3656
4238
  {
3657
4239
  name: "initialize",
3658
4240
  type: "function",
@@ -3679,21 +4261,11 @@ var PORTFOLIO_STRATEGY_ABI = [
3679
4261
  outputs: [{ name: "", type: "string" }]
3680
4262
  },
3681
4263
  {
3682
- name: "positions",
4264
+ name: "priceAnchorOf",
3683
4265
  type: "function",
3684
4266
  stateMutability: "view",
3685
- inputs: [],
3686
- outputs: [
3687
- {
3688
- name: "",
3689
- type: "tuple[]",
3690
- components: [
3691
- { name: "venue", type: "address" },
3692
- { name: "kind", type: "bytes32" },
3693
- { name: "ref", type: "bytes" }
3694
- ]
3695
- }
3696
- ]
4267
+ inputs: [{ name: "index", type: "uint256" }],
4268
+ outputs: [{ name: "price", type: "uint256" }, { name: "recordedAt", type: "uint256" }]
3697
4269
  },
3698
4270
  {
3699
4271
  name: "proposer",
@@ -3716,13 +4288,6 @@ var PORTFOLIO_STRATEGY_ABI = [
3716
4288
  inputs: [{ name: "priceReports", type: "bytes[]" }],
3717
4289
  outputs: []
3718
4290
  },
3719
- {
3720
- name: "selfManagesFees",
3721
- type: "function",
3722
- stateMutability: "view",
3723
- inputs: [],
3724
- outputs: [{ name: "", type: "bool" }]
3725
- },
3726
4291
  { name: "settle", type: "function", stateMutability: "nonpayable", inputs: [], outputs: [] },
3727
4292
  {
3728
4293
  name: "state",
@@ -3731,6 +4296,13 @@ var PORTFOLIO_STRATEGY_ABI = [
3731
4296
  inputs: [],
3732
4297
  outputs: [{ name: "", type: "uint8" }]
3733
4298
  },
4299
+ {
4300
+ name: "submitPriceReports",
4301
+ type: "function",
4302
+ stateMutability: "nonpayable",
4303
+ inputs: [{ name: "signedReports", type: "bytes[]" }],
4304
+ outputs: []
4305
+ },
3734
4306
  {
3735
4307
  name: "swapAdapter",
3736
4308
  type: "function",
@@ -3745,6 +4317,13 @@ var PORTFOLIO_STRATEGY_ABI = [
3745
4317
  inputs: [],
3746
4318
  outputs: [{ name: "", type: "uint256" }]
3747
4319
  },
4320
+ {
4321
+ name: "undeliveredValue",
4322
+ type: "function",
4323
+ stateMutability: "view",
4324
+ inputs: [],
4325
+ outputs: [{ name: "", type: "uint256" }]
4326
+ },
3748
4327
  {
3749
4328
  name: "updateParams",
3750
4329
  type: "function",
@@ -3759,6 +4338,14 @@ var PORTFOLIO_STRATEGY_ABI = [
3759
4338
  inputs: [],
3760
4339
  outputs: [{ name: "", type: "address" }]
3761
4340
  },
4341
+ {
4342
+ name: "PriceAnchorsRefreshed",
4343
+ type: "event",
4344
+ inputs: [
4345
+ { name: "caller", type: "address", indexed: true },
4346
+ { name: "submittedAt", type: "uint256", indexed: false }
4347
+ ]
4348
+ },
3762
4349
  {
3763
4350
  name: "Rebalanced",
3764
4351
  type: "event",
@@ -3793,10 +4380,22 @@ var PORTFOLIO_STRATEGY_ABI = [
3793
4380
  { name: "newWeights", type: "uint256[]", indexed: false }
3794
4381
  ]
3795
4382
  },
4383
+ {
4384
+ name: "AdapterCannotQuoteInDataStreamsMode",
4385
+ type: "error",
4386
+ inputs: [{ name: "swapAdapter", type: "address" }]
4387
+ },
4388
+ {
4389
+ name: "AdapterNotAllowed",
4390
+ type: "error",
4391
+ inputs: [{ name: "swapAdapter", type: "address" }, { name: "registry", type: "address" }]
4392
+ },
3796
4393
  { name: "AlreadyExecuted", type: "error", inputs: [] },
3797
4394
  { name: "AlreadyInitialized", type: "error", inputs: [] },
3798
4395
  { name: "AlreadySettled", type: "error", inputs: [] },
4396
+ { name: "DecayBudgetExhausted", type: "error", inputs: [] },
3799
4397
  { name: "DuplicateToken", type: "error", inputs: [{ name: "token", type: "address" }] },
4398
+ { name: "IndexOutOfRange", type: "error", inputs: [{ name: "index", type: "uint256" }] },
3800
4399
  { name: "InvalidAmount", type: "error", inputs: [] },
3801
4400
  { name: "InvalidFeedId", type: "error", inputs: [] },
3802
4401
  { name: "InvalidPriceAge", type: "error", inputs: [] },
@@ -3804,11 +4403,34 @@ var PORTFOLIO_STRATEGY_ABI = [
3804
4403
  { name: "InvalidSlippage", type: "error", inputs: [] },
3805
4404
  { name: "InvalidWeights", type: "error", inputs: [] },
3806
4405
  { name: "LengthMismatch", type: "error", inputs: [] },
4406
+ { name: "NotActiveProposalStrategy", type: "error", inputs: [] },
3807
4407
  { name: "NotExecuted", type: "error", inputs: [] },
3808
4408
  { name: "NotProposer", type: "error", inputs: [] },
3809
4409
  { name: "NotVault", type: "error", inputs: [] },
4410
+ {
4411
+ name: "PriceAnchorMissingOrStale",
4412
+ type: "error",
4413
+ inputs: [{ name: "index", type: "uint256" }]
4414
+ },
4415
+ {
4416
+ name: "PriceSourceNotAllowed",
4417
+ type: "error",
4418
+ inputs: [{ name: "priceSource", type: "address" }, { name: "registry", type: "address" }]
4419
+ },
4420
+ {
4421
+ name: "PriceSourceNotPairedWithToken",
4422
+ type: "error",
4423
+ inputs: [
4424
+ { name: "token", type: "address" },
4425
+ { name: "priceSource", type: "bytes32" },
4426
+ { name: "registry", type: "address" }
4427
+ ]
4428
+ },
4429
+ { name: "ProposerNoLongerAgent", type: "error", inputs: [] },
4430
+ { name: "PushModeNeedsNoReports", type: "error", inputs: [] },
3810
4431
  { name: "QuoteUnavailable", type: "error", inputs: [] },
3811
4432
  { name: "RebalancingInProgress", type: "error", inputs: [] },
4433
+ { name: "RoutesFrozen", type: "error", inputs: [] },
3812
4434
  {
3813
4435
  name: "SafeERC20FailedOperation",
3814
4436
  type: "error",
@@ -3816,6 +4438,7 @@ var PORTFOLIO_STRATEGY_ABI = [
3816
4438
  },
3817
4439
  { name: "StalePrice", type: "error", inputs: [] },
3818
4440
  { name: "SwapFailed", type: "error", inputs: [] },
4441
+ { name: "TierRegistryUnresolved", type: "error", inputs: [] },
3819
4442
  { name: "TooManyTokens", type: "error", inputs: [] },
3820
4443
  {
3821
4444
  name: "WrongFeedId",
@@ -3859,8 +4482,7 @@ export {
3859
4482
  SYNDICATE_GOVERNOR_ABI,
3860
4483
  SCHEMA_REGISTRY_ABI,
3861
4484
  BASE_STRATEGY_ABI,
3862
- HYPERLIQUID_PERP_STRATEGY_ABI,
3863
4485
  PORTFOLIO_STRATEGY_ABI,
3864
4486
  SYNTHRA_QUOTER_ABI
3865
4487
  };
3866
- //# sourceMappingURL=chunk-TU655ZTV.js.map
4488
+ //# sourceMappingURL=chunk-XSP64L7L.js.map