@sherwoodagent/cli 0.83.0 → 0.84.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.
- package/dist/{abis-ZQ6I3S6L.js → abis-WVW2EBI3.js} +2 -2
- package/dist/{addresses-MS6BB7AB.js → addresses-LFYVOPOH.js} +3 -3
- package/dist/{agent-I6AUSTZG.js → agent-TBLC3WNJ.js} +7 -7
- package/dist/{chat-5SI7K5FA.js → chat-UZ3BBEXV.js} +8 -8
- package/dist/{chunk-MRUTBOMZ.js → chunk-45FELUWY.js} +2 -2
- package/dist/{chunk-UK2G5AZG.js → chunk-56YYNNNQ.js} +5 -5
- package/dist/{chunk-N5RIB6ZZ.js → chunk-6DRNSZ2Z.js} +41 -5
- package/dist/chunk-6DRNSZ2Z.js.map +1 -0
- package/dist/{chunk-ZTR2GPZO.js → chunk-BOC7VB5B.js} +36 -5
- package/dist/chunk-BOC7VB5B.js.map +1 -0
- package/dist/{chunk-I7TMY7AS.js → chunk-DNRIKCJ5.js} +85 -31
- package/dist/chunk-DNRIKCJ5.js.map +1 -0
- package/dist/{chunk-XSP64L7L.js → chunk-F3MDCUGO.js} +4 -368
- package/dist/chunk-F3MDCUGO.js.map +1 -0
- package/dist/{chunk-5O3KO7ZI.js → chunk-JUVXLTL2.js} +56 -5
- package/dist/chunk-JUVXLTL2.js.map +1 -0
- package/dist/{chunk-7ILOT3SI.js → chunk-KVB5P2OE.js} +2 -2
- package/dist/{chunk-I7NXKJCG.js → chunk-MQ55QOGD.js} +5 -5
- package/dist/{chunk-ZEZQM42M.js → chunk-NCFN66ZH.js} +39 -6
- package/dist/chunk-NCFN66ZH.js.map +1 -0
- package/dist/{chunk-ZW2VKCFZ.js → chunk-PVTZMRC6.js} +34 -2
- package/dist/chunk-PVTZMRC6.js.map +1 -0
- package/dist/{chunk-5BYJ3TGZ.js → chunk-QRMZRAMG.js} +20 -4
- package/dist/chunk-QRMZRAMG.js.map +1 -0
- package/dist/{chunk-4BMAFJKO.js → chunk-SNR5R5TO.js} +6 -6
- package/dist/{client-Z7LNEG2F.js → client-3SE632Q2.js} +3 -3
- package/dist/{eas-DWBT332K.js → eas-QPKX6A5A.js} +12 -6
- package/dist/{governor-ZVNTHHML.js → governor-7QKGNHMR.js} +12 -6
- package/dist/index.js +2183 -1305
- package/dist/index.js.map +1 -1
- package/dist/{network-HCFCNZUI.js → network-FEHRFDPJ.js} +6 -2
- package/dist/{price-GEUCSTO4.js → price-SVF25X4O.js} +6 -6
- package/dist/{providers-PWUJ2AR7.js → providers-BMOHHVUN.js} +4 -4
- package/dist/{research-SW6PLO32.js → research-YSNJ5HTM.js} +15 -12
- package/dist/research-YSNJ5HTM.js.map +1 -0
- package/dist/{session-6RSOG5NE.js → session-RMAIFRS6.js} +44 -13
- package/dist/session-RMAIFRS6.js.map +1 -0
- package/dist/{trade-45JPCKGP.js → trade-YPLTIS56.js} +21 -21
- package/dist/trade-YPLTIS56.js.map +1 -0
- package/dist/{vault-GAIOZZPC.js → vault-UCFFOOTS.js} +8 -8
- package/dist/{xmtp-A2KIQWGA.js → xmtp-S7IGTIMZ.js} +6 -6
- package/package.json +6 -3
- package/scripts/pin-xmtp-bindings.cjs +26 -10
- package/dist/chunk-5BYJ3TGZ.js.map +0 -1
- package/dist/chunk-5O3KO7ZI.js.map +0 -1
- package/dist/chunk-I7TMY7AS.js.map +0 -1
- package/dist/chunk-N5RIB6ZZ.js.map +0 -1
- package/dist/chunk-XSP64L7L.js.map +0 -1
- package/dist/chunk-ZEZQM42M.js.map +0 -1
- package/dist/chunk-ZTR2GPZO.js.map +0 -1
- package/dist/chunk-ZW2VKCFZ.js.map +0 -1
- package/dist/research-SW6PLO32.js.map +0 -1
- package/dist/session-6RSOG5NE.js.map +0 -1
- package/dist/trade-45JPCKGP.js.map +0 -1
- /package/dist/{abis-ZQ6I3S6L.js.map → abis-WVW2EBI3.js.map} +0 -0
- /package/dist/{addresses-MS6BB7AB.js.map → addresses-LFYVOPOH.js.map} +0 -0
- /package/dist/{agent-I6AUSTZG.js.map → agent-TBLC3WNJ.js.map} +0 -0
- /package/dist/{chat-5SI7K5FA.js.map → chat-UZ3BBEXV.js.map} +0 -0
- /package/dist/{chunk-MRUTBOMZ.js.map → chunk-45FELUWY.js.map} +0 -0
- /package/dist/{chunk-UK2G5AZG.js.map → chunk-56YYNNNQ.js.map} +0 -0
- /package/dist/{chunk-7ILOT3SI.js.map → chunk-KVB5P2OE.js.map} +0 -0
- /package/dist/{chunk-I7NXKJCG.js.map → chunk-MQ55QOGD.js.map} +0 -0
- /package/dist/{chunk-4BMAFJKO.js.map → chunk-SNR5R5TO.js.map} +0 -0
- /package/dist/{client-Z7LNEG2F.js.map → client-3SE632Q2.js.map} +0 -0
- /package/dist/{eas-DWBT332K.js.map → eas-QPKX6A5A.js.map} +0 -0
- /package/dist/{governor-ZVNTHHML.js.map → governor-7QKGNHMR.js.map} +0 -0
- /package/dist/{network-HCFCNZUI.js.map → network-FEHRFDPJ.js.map} +0 -0
- /package/dist/{price-GEUCSTO4.js.map → price-SVF25X4O.js.map} +0 -0
- /package/dist/{providers-PWUJ2AR7.js.map → providers-BMOHHVUN.js.map} +0 -0
- /package/dist/{vault-GAIOZZPC.js.map → vault-UCFFOOTS.js.map} +0 -0
- /package/dist/{xmtp-A2KIQWGA.js.map → xmtp-S7IGTIMZ.js.map} +0 -0
|
@@ -132,13 +132,6 @@ var SYNDICATE_VAULT_ABI = [
|
|
|
132
132
|
inputs: [],
|
|
133
133
|
outputs: [{ name: "", type: "uint48" }]
|
|
134
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
135
|
{
|
|
143
136
|
name: "consumeManagementAccrual",
|
|
144
137
|
type: "function",
|
|
@@ -202,20 +195,6 @@ var SYNDICATE_VAULT_ABI = [
|
|
|
202
195
|
inputs: [{ name: "assets", type: "uint256" }, { name: "receiver", type: "address" }],
|
|
203
196
|
outputs: [{ name: "", type: "uint256" }]
|
|
204
197
|
},
|
|
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
|
-
},
|
|
219
198
|
{
|
|
220
199
|
name: "eip712Domain",
|
|
221
200
|
type: "function",
|
|
@@ -516,13 +495,6 @@ var SYNDICATE_VAULT_ABI = [
|
|
|
516
495
|
inputs: [],
|
|
517
496
|
outputs: [{ name: "", type: "bytes32" }]
|
|
518
497
|
},
|
|
519
|
-
{
|
|
520
|
-
name: "pruneUnvaluedMark",
|
|
521
|
-
type: "function",
|
|
522
|
-
stateMutability: "nonpayable",
|
|
523
|
-
inputs: [{ name: "strategy", type: "address" }],
|
|
524
|
-
outputs: []
|
|
525
|
-
},
|
|
526
498
|
{
|
|
527
499
|
name: "ratchetHighWaterMark",
|
|
528
500
|
type: "function",
|
|
@@ -555,13 +527,6 @@ var SYNDICATE_VAULT_ABI = [
|
|
|
555
527
|
inputs: [{ name: "agentId", type: "uint256" }, { name: "agentAddress", type: "address" }],
|
|
556
528
|
outputs: []
|
|
557
529
|
},
|
|
558
|
-
{
|
|
559
|
-
name: "releaseUnconvertible",
|
|
560
|
-
type: "function",
|
|
561
|
-
stateMutability: "nonpayable",
|
|
562
|
-
inputs: [{ name: "strategy", type: "address" }],
|
|
563
|
-
outputs: [{ name: "collected", type: "uint256" }]
|
|
564
|
-
},
|
|
565
530
|
{
|
|
566
531
|
name: "removeAgent",
|
|
567
532
|
type: "function",
|
|
@@ -640,36 +605,6 @@ var SYNDICATE_VAULT_ABI = [
|
|
|
640
605
|
inputs: [{ name: "newOwner", type: "address" }],
|
|
641
606
|
outputs: []
|
|
642
607
|
},
|
|
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
|
-
},
|
|
673
608
|
{
|
|
674
609
|
name: "setAgentFeeBps",
|
|
675
610
|
type: "function",
|
|
@@ -698,13 +633,6 @@ var SYNDICATE_VAULT_ABI = [
|
|
|
698
633
|
inputs: [{ name: "open", type: "bool" }],
|
|
699
634
|
outputs: []
|
|
700
635
|
},
|
|
701
|
-
{
|
|
702
|
-
name: "setSandboxImplementation",
|
|
703
|
-
type: "function",
|
|
704
|
-
stateMutability: "nonpayable",
|
|
705
|
-
inputs: [{ name: "impl", type: "address" }],
|
|
706
|
-
outputs: []
|
|
707
|
-
},
|
|
708
636
|
{
|
|
709
637
|
name: "setWithdrawalQueue",
|
|
710
638
|
type: "function",
|
|
@@ -854,15 +782,6 @@ var SYNDICATE_VAULT_ABI = [
|
|
|
854
782
|
{ name: "value", type: "uint256", indexed: false }
|
|
855
783
|
]
|
|
856
784
|
},
|
|
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
|
-
},
|
|
866
785
|
{
|
|
867
786
|
name: "DelegateChanged",
|
|
868
787
|
type: "event",
|
|
@@ -969,44 +888,6 @@ var SYNDICATE_VAULT_ABI = [
|
|
|
969
888
|
{ name: "shares", type: "uint256", indexed: false }
|
|
970
889
|
]
|
|
971
890
|
},
|
|
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
|
-
},
|
|
1010
891
|
{
|
|
1011
892
|
name: "Transfer",
|
|
1012
893
|
type: "event",
|
|
@@ -1173,7 +1054,6 @@ var SYNDICATE_VAULT_ABI = [
|
|
|
1173
1054
|
{ name: "ExecutorCodehashMismatch", type: "error", inputs: [] },
|
|
1174
1055
|
{ name: "ExpectedPause", type: "error", inputs: [] },
|
|
1175
1056
|
{ name: "FailedCall", type: "error", inputs: [] },
|
|
1176
|
-
{ name: "FailedDeployment", type: "error", inputs: [] },
|
|
1177
1057
|
{ name: "GovernorNotSet", type: "error", inputs: [] },
|
|
1178
1058
|
{
|
|
1179
1059
|
name: "InsufficientBalance",
|
|
@@ -1227,16 +1107,7 @@ var SYNDICATE_VAULT_ABI = [
|
|
|
1227
1107
|
type: "error",
|
|
1228
1108
|
inputs: [{ name: "token", type: "address" }]
|
|
1229
1109
|
},
|
|
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: [] },
|
|
1238
1110
|
{ name: "SimulationFailed", type: "error", inputs: [] },
|
|
1239
|
-
{ name: "TierRegistryUnresolved", type: "error", inputs: [] },
|
|
1240
1111
|
{ name: "TransferFailed", type: "error", inputs: [] },
|
|
1241
1112
|
{ name: "UUPSUnauthorizedCallContext", type: "error", inputs: [] },
|
|
1242
1113
|
{
|
|
@@ -1249,7 +1120,6 @@ var SYNDICATE_VAULT_ABI = [
|
|
|
1249
1120
|
type: "error",
|
|
1250
1121
|
inputs: [{ name: "selector", type: "bytes4" }]
|
|
1251
1122
|
},
|
|
1252
|
-
{ name: "UnvaluedLockStillActive", type: "error", inputs: [] },
|
|
1253
1123
|
{
|
|
1254
1124
|
name: "VotesExpiredSignature",
|
|
1255
1125
|
type: "error",
|
|
@@ -1258,8 +1128,7 @@ var SYNDICATE_VAULT_ABI = [
|
|
|
1258
1128
|
{ name: "WithdrawalQueueAlreadySet", type: "error", inputs: [] },
|
|
1259
1129
|
{ name: "WithdrawalQueueNotSet", type: "error", inputs: [] },
|
|
1260
1130
|
{ name: "ZeroAddress", type: "error", inputs: [] },
|
|
1261
|
-
{ name: "ZeroAssets", type: "error", inputs: [] }
|
|
1262
|
-
{ name: "ZeroShares", type: "error", inputs: [] }
|
|
1131
|
+
{ name: "ZeroAssets", type: "error", inputs: [] }
|
|
1263
1132
|
];
|
|
1264
1133
|
var UNISWAP_QUOTER_V2_ABI = [
|
|
1265
1134
|
{
|
|
@@ -1584,8 +1453,7 @@ var SYNDICATE_FACTORY_ABI = [
|
|
|
1584
1453
|
{ name: "beacon", type: "address" },
|
|
1585
1454
|
{ name: "protocolConfig", type: "address" },
|
|
1586
1455
|
{ name: "managementFeeBps", type: "uint256" },
|
|
1587
|
-
{ name: "guardianRegistry", type: "address" }
|
|
1588
|
-
{ name: "tierRegistry", type: "address" }
|
|
1456
|
+
{ name: "guardianRegistry", type: "address" }
|
|
1589
1457
|
]
|
|
1590
1458
|
}
|
|
1591
1459
|
],
|
|
@@ -1661,13 +1529,6 @@ var SYNDICATE_FACTORY_ABI = [
|
|
|
1661
1529
|
inputs: [{ name: "vault", type: "address" }, { name: "newOwner", type: "address" }],
|
|
1662
1530
|
outputs: []
|
|
1663
1531
|
},
|
|
1664
|
-
{
|
|
1665
|
-
name: "sandboxImpl",
|
|
1666
|
-
type: "function",
|
|
1667
|
-
stateMutability: "view",
|
|
1668
|
-
inputs: [],
|
|
1669
|
-
outputs: [{ name: "", type: "address" }]
|
|
1670
|
-
},
|
|
1671
1532
|
{
|
|
1672
1533
|
name: "setBeacon",
|
|
1673
1534
|
type: "function",
|
|
@@ -1759,13 +1620,6 @@ var SYNDICATE_FACTORY_ABI = [
|
|
|
1759
1620
|
inputs: [{ name: "newConfig", type: "address" }],
|
|
1760
1621
|
outputs: []
|
|
1761
1622
|
},
|
|
1762
|
-
{
|
|
1763
|
-
name: "setSandboxImpl",
|
|
1764
|
-
type: "function",
|
|
1765
|
-
stateMutability: "nonpayable",
|
|
1766
|
-
inputs: [{ name: "newImpl", type: "address" }],
|
|
1767
|
-
outputs: []
|
|
1768
|
-
},
|
|
1769
1623
|
{
|
|
1770
1624
|
name: "setTierRegistry",
|
|
1771
1625
|
type: "function",
|
|
@@ -1998,14 +1852,6 @@ var SYNDICATE_FACTORY_ABI = [
|
|
|
1998
1852
|
{ name: "newConfig", type: "address", indexed: true }
|
|
1999
1853
|
]
|
|
2000
1854
|
},
|
|
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
|
-
},
|
|
2009
1855
|
{
|
|
2010
1856
|
name: "SyndicateCreated",
|
|
2011
1857
|
type: "event",
|
|
@@ -2086,7 +1932,6 @@ var SYNDICATE_FACTORY_ABI = [
|
|
|
2086
1932
|
{ name: "InvalidGuardianRegistry", type: "error", inputs: [] },
|
|
2087
1933
|
{ name: "InvalidInitialization", type: "error", inputs: [] },
|
|
2088
1934
|
{ name: "InvalidProtocolConfig", type: "error", inputs: [] },
|
|
2089
|
-
{ name: "InvalidSandboxImpl", type: "error", inputs: [] },
|
|
2090
1935
|
{ name: "InvalidSyndicateConfig", type: "error", inputs: [] },
|
|
2091
1936
|
{ name: "InvalidVaultImpl", type: "error", inputs: [] },
|
|
2092
1937
|
{ name: "ManagementFeeTooHigh", type: "error", inputs: [] },
|
|
@@ -2113,7 +1958,6 @@ var SYNDICATE_FACTORY_ABI = [
|
|
|
2113
1958
|
{ name: "StrategyActive", type: "error", inputs: [] },
|
|
2114
1959
|
{ name: "SubdomainTaken", type: "error", inputs: [] },
|
|
2115
1960
|
{ name: "SubdomainTooShort", type: "error", inputs: [] },
|
|
2116
|
-
{ name: "TierRegistryNotWired", type: "error", inputs: [] },
|
|
2117
1961
|
{ name: "UUPSUnauthorizedCallContext", type: "error", inputs: [] },
|
|
2118
1962
|
{
|
|
2119
1963
|
name: "UUPSUnsupportedProxiableUUID",
|
|
@@ -2639,13 +2483,6 @@ var SYNDICATE_GOVERNOR_ABI = [
|
|
|
2639
2483
|
inputs: [],
|
|
2640
2484
|
outputs: [{ name: "", type: "uint256" }]
|
|
2641
2485
|
},
|
|
2642
|
-
{
|
|
2643
|
-
name: "MAX_STAMP_DRAWDOWN_BPS",
|
|
2644
|
-
type: "function",
|
|
2645
|
-
stateMutability: "view",
|
|
2646
|
-
inputs: [],
|
|
2647
|
-
outputs: [{ name: "", type: "uint256" }]
|
|
2648
|
-
},
|
|
2649
2486
|
{
|
|
2650
2487
|
name: "MAX_VETO_THRESHOLD_BPS",
|
|
2651
2488
|
type: "function",
|
|
@@ -2988,13 +2825,6 @@ var SYNDICATE_GOVERNOR_ABI = [
|
|
|
2988
2825
|
}
|
|
2989
2826
|
]
|
|
2990
2827
|
},
|
|
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
|
-
},
|
|
2998
2828
|
{
|
|
2999
2829
|
name: "getProposal",
|
|
3000
2830
|
type: "function",
|
|
@@ -3150,7 +2980,6 @@ var SYNDICATE_GOVERNOR_ABI = [
|
|
|
3150
2980
|
{ name: "guardianRegistry_", type: "address" },
|
|
3151
2981
|
{ name: "protocolConfig_", type: "address" },
|
|
3152
2982
|
{ name: "factory_", type: "address" },
|
|
3153
|
-
{ name: "tierRegistry_", type: "address" },
|
|
3154
2983
|
{
|
|
3155
2984
|
name: "params_",
|
|
3156
2985
|
type: "tuple",
|
|
@@ -3239,61 +3068,6 @@ var SYNDICATE_GOVERNOR_ABI = [
|
|
|
3239
3068
|
],
|
|
3240
3069
|
outputs: [{ name: "proposalId", type: "uint256" }]
|
|
3241
3070
|
},
|
|
3242
|
-
{
|
|
3243
|
-
name: "proposeWithSandbox",
|
|
3244
|
-
type: "function",
|
|
3245
|
-
stateMutability: "nonpayable",
|
|
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
3071
|
{
|
|
3298
3072
|
name: "protocolConfig",
|
|
3299
3073
|
type: "function",
|
|
@@ -3322,27 +3096,6 @@ var SYNDICATE_GOVERNOR_ABI = [
|
|
|
3322
3096
|
inputs: [{ name: "proposalId", type: "uint256" }],
|
|
3323
3097
|
outputs: []
|
|
3324
3098
|
},
|
|
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
3099
|
{
|
|
3347
3100
|
name: "setBondEscrow",
|
|
3348
3101
|
type: "function",
|
|
@@ -3776,16 +3529,6 @@ var SYNDICATE_GOVERNOR_ABI = [
|
|
|
3776
3529
|
{ name: "amount", type: "uint256", indexed: false }
|
|
3777
3530
|
]
|
|
3778
3531
|
},
|
|
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
3532
|
{
|
|
3790
3533
|
name: "TierRegistrySet",
|
|
3791
3534
|
type: "event",
|
|
@@ -3830,12 +3573,10 @@ var SYNDICATE_GOVERNOR_ABI = [
|
|
|
3830
3573
|
inputs: [{ name: "target", type: "address" }]
|
|
3831
3574
|
},
|
|
3832
3575
|
{ name: "DuplicateCoProposer", type: "error", inputs: [] },
|
|
3833
|
-
{ name: "DuplicateSandboxToken", type: "error", inputs: [{ name: "token", type: "address" }] },
|
|
3834
3576
|
{ name: "EmergencyNotProposed", type: "error", inputs: [] },
|
|
3835
3577
|
{ name: "EmergencySettleBlocked", type: "error", inputs: [] },
|
|
3836
3578
|
{ name: "EmergencySettleNotReady", type: "error", inputs: [] },
|
|
3837
3579
|
{ name: "EmptyExecuteCalls", type: "error", inputs: [] },
|
|
3838
|
-
{ name: "EmptySandboxCalls", type: "error", inputs: [] },
|
|
3839
3580
|
{ name: "EmptySettlementCalls", type: "error", inputs: [] },
|
|
3840
3581
|
{ name: "ExecutionWindowExpired", type: "error", inputs: [] },
|
|
3841
3582
|
{ name: "ExposureLedgerUnset", type: "error", inputs: [] },
|
|
@@ -3885,22 +3626,6 @@ var SYNDICATE_GOVERNOR_ABI = [
|
|
|
3885
3626
|
{ name: "ProposalNotTerminal", type: "error", inputs: [] },
|
|
3886
3627
|
{ name: "Reentrancy", type: "error", inputs: [] },
|
|
3887
3628
|
{ 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
3629
|
{
|
|
3905
3630
|
name: "SettlementBelowDrawdownFloor",
|
|
3906
3631
|
type: "error",
|
|
@@ -3918,19 +3643,15 @@ var SYNDICATE_GOVERNOR_ABI = [
|
|
|
3918
3643
|
type: "error",
|
|
3919
3644
|
inputs: [{ name: "index", type: "uint256" }]
|
|
3920
3645
|
},
|
|
3921
|
-
{ name: "TierRegistryNotWired", type: "error", inputs: [] },
|
|
3922
3646
|
{ name: "TierRegressed", type: "error", inputs: [] },
|
|
3923
3647
|
{ name: "TooManyCalls", type: "error", inputs: [] },
|
|
3924
3648
|
{ name: "TooManyCoProposers", type: "error", inputs: [] },
|
|
3925
|
-
{ name: "TooManySandboxTokens", type: "error", inputs: [] },
|
|
3926
3649
|
{ name: "VaultAlreadyRegistered", type: "error", inputs: [] },
|
|
3927
3650
|
{ name: "VaultHasOpenProposal", type: "error", inputs: [] },
|
|
3928
3651
|
{ name: "VaultNotRegistered", type: "error", inputs: [] },
|
|
3929
3652
|
{ name: "VaultProposalActive", type: "error", inputs: [] },
|
|
3930
3653
|
{ 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" }] }
|
|
3654
|
+
{ name: "ZeroMaxCapital", type: "error", inputs: [] }
|
|
3934
3655
|
];
|
|
3935
3656
|
var SCHEMA_REGISTRY_ABI = [
|
|
3936
3657
|
{
|
|
@@ -3962,20 +3683,6 @@ var BASE_STRATEGY_ABI = [
|
|
|
3962
3683
|
inputs: [],
|
|
3963
3684
|
outputs: [{ name: "", type: "bool" }]
|
|
3964
3685
|
},
|
|
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
|
-
},
|
|
3979
3686
|
{
|
|
3980
3687
|
name: "initialize",
|
|
3981
3688
|
type: "function",
|
|
@@ -4009,13 +3716,6 @@ var BASE_STRATEGY_ABI = [
|
|
|
4009
3716
|
inputs: [],
|
|
4010
3717
|
outputs: [{ name: "", type: "uint8" }]
|
|
4011
3718
|
},
|
|
4012
|
-
{
|
|
4013
|
-
name: "undeliveredValue",
|
|
4014
|
-
type: "function",
|
|
4015
|
-
stateMutability: "view",
|
|
4016
|
-
inputs: [],
|
|
4017
|
-
outputs: [{ name: "", type: "uint256" }]
|
|
4018
|
-
},
|
|
4019
3719
|
{
|
|
4020
3720
|
name: "updateParams",
|
|
4021
3721
|
type: "function",
|
|
@@ -4104,13 +3804,6 @@ var PORTFOLIO_STRATEGY_ABI = [
|
|
|
4104
3804
|
inputs: [],
|
|
4105
3805
|
outputs: [{ name: "", type: "uint256" }]
|
|
4106
3806
|
},
|
|
4107
|
-
{
|
|
4108
|
-
name: "PRICE_ANCHOR_MAX_AGE_AT_EXECUTE",
|
|
4109
|
-
type: "function",
|
|
4110
|
-
stateMutability: "view",
|
|
4111
|
-
inputs: [],
|
|
4112
|
-
outputs: [{ name: "", type: "uint256" }]
|
|
4113
|
-
},
|
|
4114
3807
|
{
|
|
4115
3808
|
name: "PRICE_PRECISION",
|
|
4116
3809
|
type: "function",
|
|
@@ -4175,13 +3868,6 @@ var PORTFOLIO_STRATEGY_ABI = [
|
|
|
4175
3868
|
inputs: [],
|
|
4176
3869
|
outputs: [{ name: "", type: "bool" }]
|
|
4177
3870
|
},
|
|
4178
|
-
{
|
|
4179
|
-
name: "feedIdOf",
|
|
4180
|
-
type: "function",
|
|
4181
|
-
stateMutability: "view",
|
|
4182
|
-
inputs: [{ name: "index", type: "uint256" }],
|
|
4183
|
-
outputs: [{ name: "", type: "bytes32" }]
|
|
4184
|
-
},
|
|
4185
3871
|
{
|
|
4186
3872
|
name: "getAllocations",
|
|
4187
3873
|
type: "function",
|
|
@@ -4221,20 +3907,6 @@ var PORTFOLIO_STRATEGY_ABI = [
|
|
|
4221
3907
|
inputs: [],
|
|
4222
3908
|
outputs: [{ name: "", type: "uint8[]" }]
|
|
4223
3909
|
},
|
|
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
|
-
},
|
|
4238
3910
|
{
|
|
4239
3911
|
name: "initialize",
|
|
4240
3912
|
type: "function",
|
|
@@ -4260,13 +3932,6 @@ var PORTFOLIO_STRATEGY_ABI = [
|
|
|
4260
3932
|
inputs: [],
|
|
4261
3933
|
outputs: [{ name: "", type: "string" }]
|
|
4262
3934
|
},
|
|
4263
|
-
{
|
|
4264
|
-
name: "priceAnchorOf",
|
|
4265
|
-
type: "function",
|
|
4266
|
-
stateMutability: "view",
|
|
4267
|
-
inputs: [{ name: "index", type: "uint256" }],
|
|
4268
|
-
outputs: [{ name: "price", type: "uint256" }, { name: "recordedAt", type: "uint256" }]
|
|
4269
|
-
},
|
|
4270
3935
|
{
|
|
4271
3936
|
name: "proposer",
|
|
4272
3937
|
type: "function",
|
|
@@ -4296,13 +3961,6 @@ var PORTFOLIO_STRATEGY_ABI = [
|
|
|
4296
3961
|
inputs: [],
|
|
4297
3962
|
outputs: [{ name: "", type: "uint8" }]
|
|
4298
3963
|
},
|
|
4299
|
-
{
|
|
4300
|
-
name: "submitPriceReports",
|
|
4301
|
-
type: "function",
|
|
4302
|
-
stateMutability: "nonpayable",
|
|
4303
|
-
inputs: [{ name: "signedReports", type: "bytes[]" }],
|
|
4304
|
-
outputs: []
|
|
4305
|
-
},
|
|
4306
3964
|
{
|
|
4307
3965
|
name: "swapAdapter",
|
|
4308
3966
|
type: "function",
|
|
@@ -4317,13 +3975,6 @@ var PORTFOLIO_STRATEGY_ABI = [
|
|
|
4317
3975
|
inputs: [],
|
|
4318
3976
|
outputs: [{ name: "", type: "uint256" }]
|
|
4319
3977
|
},
|
|
4320
|
-
{
|
|
4321
|
-
name: "undeliveredValue",
|
|
4322
|
-
type: "function",
|
|
4323
|
-
stateMutability: "view",
|
|
4324
|
-
inputs: [],
|
|
4325
|
-
outputs: [{ name: "", type: "uint256" }]
|
|
4326
|
-
},
|
|
4327
3978
|
{
|
|
4328
3979
|
name: "updateParams",
|
|
4329
3980
|
type: "function",
|
|
@@ -4338,14 +3989,6 @@ var PORTFOLIO_STRATEGY_ABI = [
|
|
|
4338
3989
|
inputs: [],
|
|
4339
3990
|
outputs: [{ name: "", type: "address" }]
|
|
4340
3991
|
},
|
|
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
|
-
},
|
|
4349
3992
|
{
|
|
4350
3993
|
name: "Rebalanced",
|
|
4351
3994
|
type: "event",
|
|
@@ -4395,7 +4038,6 @@ var PORTFOLIO_STRATEGY_ABI = [
|
|
|
4395
4038
|
{ name: "AlreadySettled", type: "error", inputs: [] },
|
|
4396
4039
|
{ name: "DecayBudgetExhausted", type: "error", inputs: [] },
|
|
4397
4040
|
{ name: "DuplicateToken", type: "error", inputs: [{ name: "token", type: "address" }] },
|
|
4398
|
-
{ name: "IndexOutOfRange", type: "error", inputs: [{ name: "index", type: "uint256" }] },
|
|
4399
4041
|
{ name: "InvalidAmount", type: "error", inputs: [] },
|
|
4400
4042
|
{ name: "InvalidFeedId", type: "error", inputs: [] },
|
|
4401
4043
|
{ name: "InvalidPriceAge", type: "error", inputs: [] },
|
|
@@ -4407,11 +4049,6 @@ var PORTFOLIO_STRATEGY_ABI = [
|
|
|
4407
4049
|
{ name: "NotExecuted", type: "error", inputs: [] },
|
|
4408
4050
|
{ name: "NotProposer", type: "error", inputs: [] },
|
|
4409
4051
|
{ name: "NotVault", type: "error", inputs: [] },
|
|
4410
|
-
{
|
|
4411
|
-
name: "PriceAnchorMissingOrStale",
|
|
4412
|
-
type: "error",
|
|
4413
|
-
inputs: [{ name: "index", type: "uint256" }]
|
|
4414
|
-
},
|
|
4415
4052
|
{
|
|
4416
4053
|
name: "PriceSourceNotAllowed",
|
|
4417
4054
|
type: "error",
|
|
@@ -4427,7 +4064,6 @@ var PORTFOLIO_STRATEGY_ABI = [
|
|
|
4427
4064
|
]
|
|
4428
4065
|
},
|
|
4429
4066
|
{ name: "ProposerNoLongerAgent", type: "error", inputs: [] },
|
|
4430
|
-
{ name: "PushModeNeedsNoReports", type: "error", inputs: [] },
|
|
4431
4067
|
{ name: "QuoteUnavailable", type: "error", inputs: [] },
|
|
4432
4068
|
{ name: "RebalancingInProgress", type: "error", inputs: [] },
|
|
4433
4069
|
{ name: "RoutesFrozen", type: "error", inputs: [] },
|
|
@@ -4485,4 +4121,4 @@ export {
|
|
|
4485
4121
|
PORTFOLIO_STRATEGY_ABI,
|
|
4486
4122
|
SYNTHRA_QUOTER_ABI
|
|
4487
4123
|
};
|
|
4488
|
-
//# sourceMappingURL=chunk-
|
|
4124
|
+
//# sourceMappingURL=chunk-F3MDCUGO.js.map
|