@sherwoodagent/cli 0.86.1 → 0.87.1
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-WVW2EBI3.js → abis-WJQ6IVYV.js} +2 -2
- package/dist/{agent-TBLC3WNJ.js → agent-FCGZL4GF.js} +7 -7
- package/dist/{chat-ETZSKQDI.js → chat-AKLYUJZV.js} +8 -8
- package/dist/{chunk-ZN2MHIB7.js → chunk-4ITTHKRX.js} +5 -5
- package/dist/{chunk-EVUKJ7CJ.js → chunk-6D3FNU75.js} +5 -5
- package/dist/{chunk-45FELUWY.js → chunk-6SAE2VDK.js} +2 -2
- package/dist/{chunk-EA65CDQH.js → chunk-BH3VTJ4F.js} +14 -23
- package/dist/chunk-BH3VTJ4F.js.map +1 -0
- package/dist/{chunk-QRMZRAMG.js → chunk-D4BSBW3Q.js} +221 -10
- package/dist/chunk-D4BSBW3Q.js.map +1 -0
- package/dist/{chunk-KVB5P2OE.js → chunk-EEI6FRTE.js} +2 -2
- package/dist/{chunk-IAM4VIU2.js → chunk-FWQESFFM.js} +18 -41
- package/dist/chunk-FWQESFFM.js.map +1 -0
- package/dist/{chunk-PVTZMRC6.js → chunk-G3FUEM5N.js} +2 -2
- package/dist/chunk-G3FUEM5N.js.map +1 -0
- package/dist/{chunk-YAS52NEF.js → chunk-G5MXVAFC.js} +18 -5
- package/dist/chunk-G5MXVAFC.js.map +1 -0
- package/dist/{chunk-F3MDCUGO.js → chunk-J2IZWAEW.js} +75 -227
- package/dist/chunk-J2IZWAEW.js.map +1 -0
- package/dist/{chunk-XPVXNG2K.js → chunk-N2E2Q5GL.js} +6 -6
- package/dist/{chunk-3IAZQMAW.js → chunk-QFGZQYZA.js} +29 -82
- package/dist/chunk-QFGZQYZA.js.map +1 -0
- package/dist/{chunk-OUYMZ5ZC.js → chunk-SI65QHTY.js} +5 -5
- package/dist/{chunk-6QBGTX2Q.js → chunk-VYCLG5DE.js} +264 -487
- package/dist/chunk-VYCLG5DE.js.map +1 -0
- package/dist/{client-3SE632Q2.js → client-PYFE6YQR.js} +3 -3
- package/dist/{eas-KMDAMLXW.js → eas-DV3Z7AT3.js} +6 -6
- package/dist/{governor-JNSWPJVQ.js → governor-QFBN6RYS.js} +8 -6
- package/dist/identity-M4TXM7EX.js +18 -0
- package/dist/index.js +352 -355
- package/dist/index.js.map +1 -1
- package/dist/{network-FEHRFDPJ.js → network-7445KSCF.js} +2 -2
- package/dist/{price-YNPYE2EO.js → price-EXZDYVDD.js} +6 -6
- package/dist/{providers-BMOHHVUN.js → providers-6UZKDFQD.js} +4 -4
- package/dist/{research-W74PNYPO.js → research-44GHYE4H.js} +7 -7
- package/dist/{session-HVRZ6AJM.js → session-45NQAHFI.js} +14 -12
- package/dist/session-45NQAHFI.js.map +1 -0
- package/dist/{trade-EOQY72L7.js → trade-FO52SP62.js} +15 -15
- package/dist/{vault-HWJQJW5U.js → vault-WWGSRNRP.js} +8 -8
- package/dist/{xmtp-KW73BGVO.js → xmtp-72IRK7JL.js} +6 -6
- package/package.json +1 -1
- package/dist/chunk-3IAZQMAW.js.map +0 -1
- package/dist/chunk-6QBGTX2Q.js.map +0 -1
- package/dist/chunk-EA65CDQH.js.map +0 -1
- package/dist/chunk-F3MDCUGO.js.map +0 -1
- package/dist/chunk-IAM4VIU2.js.map +0 -1
- package/dist/chunk-PVTZMRC6.js.map +0 -1
- package/dist/chunk-QRMZRAMG.js.map +0 -1
- package/dist/chunk-YAS52NEF.js.map +0 -1
- package/dist/identity-ATWV2O7Y.js +0 -15
- package/dist/session-HVRZ6AJM.js.map +0 -1
- /package/dist/{abis-WVW2EBI3.js.map → abis-WJQ6IVYV.js.map} +0 -0
- /package/dist/{agent-TBLC3WNJ.js.map → agent-FCGZL4GF.js.map} +0 -0
- /package/dist/{chat-ETZSKQDI.js.map → chat-AKLYUJZV.js.map} +0 -0
- /package/dist/{chunk-ZN2MHIB7.js.map → chunk-4ITTHKRX.js.map} +0 -0
- /package/dist/{chunk-EVUKJ7CJ.js.map → chunk-6D3FNU75.js.map} +0 -0
- /package/dist/{chunk-45FELUWY.js.map → chunk-6SAE2VDK.js.map} +0 -0
- /package/dist/{chunk-KVB5P2OE.js.map → chunk-EEI6FRTE.js.map} +0 -0
- /package/dist/{chunk-XPVXNG2K.js.map → chunk-N2E2Q5GL.js.map} +0 -0
- /package/dist/{chunk-OUYMZ5ZC.js.map → chunk-SI65QHTY.js.map} +0 -0
- /package/dist/{client-3SE632Q2.js.map → client-PYFE6YQR.js.map} +0 -0
- /package/dist/{eas-KMDAMLXW.js.map → eas-DV3Z7AT3.js.map} +0 -0
- /package/dist/{governor-JNSWPJVQ.js.map → governor-QFBN6RYS.js.map} +0 -0
- /package/dist/{identity-ATWV2O7Y.js.map → identity-M4TXM7EX.js.map} +0 -0
- /package/dist/{network-FEHRFDPJ.js.map → network-7445KSCF.js.map} +0 -0
- /package/dist/{price-YNPYE2EO.js.map → price-EXZDYVDD.js.map} +0 -0
- /package/dist/{providers-BMOHHVUN.js.map → providers-6UZKDFQD.js.map} +0 -0
- /package/dist/{research-W74PNYPO.js.map → research-44GHYE4H.js.map} +0 -0
- /package/dist/{trade-EOQY72L7.js.map → trade-FO52SP62.js.map} +0 -0
- /package/dist/{vault-HWJQJW5U.js.map → vault-WWGSRNRP.js.map} +0 -0
- /package/dist/{xmtp-KW73BGVO.js.map → xmtp-72IRK7JL.js.map} +0 -0
|
@@ -160,27 +160,6 @@ var SYNDICATE_VAULT_ABI = [
|
|
|
160
160
|
inputs: [],
|
|
161
161
|
outputs: [{ name: "", type: "uint8" }]
|
|
162
162
|
},
|
|
163
|
-
{
|
|
164
|
-
name: "delegate",
|
|
165
|
-
type: "function",
|
|
166
|
-
stateMutability: "nonpayable",
|
|
167
|
-
inputs: [{ name: "delegatee", type: "address" }],
|
|
168
|
-
outputs: []
|
|
169
|
-
},
|
|
170
|
-
{
|
|
171
|
-
name: "delegateBySig",
|
|
172
|
-
type: "function",
|
|
173
|
-
stateMutability: "nonpayable",
|
|
174
|
-
inputs: [
|
|
175
|
-
{ name: "delegatee", type: "address" },
|
|
176
|
-
{ name: "nonce", type: "uint256" },
|
|
177
|
-
{ name: "expiry", type: "uint256" },
|
|
178
|
-
{ name: "v", type: "uint8" },
|
|
179
|
-
{ name: "r", type: "bytes32" },
|
|
180
|
-
{ name: "s", type: "bytes32" }
|
|
181
|
-
],
|
|
182
|
-
outputs: []
|
|
183
|
-
},
|
|
184
163
|
{
|
|
185
164
|
name: "delegates",
|
|
186
165
|
type: "function",
|
|
@@ -195,6 +174,13 @@ var SYNDICATE_VAULT_ABI = [
|
|
|
195
174
|
inputs: [{ name: "assets", type: "uint256" }, { name: "receiver", type: "address" }],
|
|
196
175
|
outputs: [{ name: "", type: "uint256" }]
|
|
197
176
|
},
|
|
177
|
+
{
|
|
178
|
+
name: "depositsLocked",
|
|
179
|
+
type: "function",
|
|
180
|
+
stateMutability: "view",
|
|
181
|
+
inputs: [],
|
|
182
|
+
outputs: [{ name: "", type: "bool" }]
|
|
183
|
+
},
|
|
198
184
|
{
|
|
199
185
|
name: "eip712Domain",
|
|
200
186
|
type: "function",
|
|
@@ -321,13 +307,6 @@ var SYNDICATE_VAULT_ABI = [
|
|
|
321
307
|
inputs: [{ name: "depositor", type: "address" }],
|
|
322
308
|
outputs: [{ name: "", type: "bool" }]
|
|
323
309
|
},
|
|
324
|
-
{
|
|
325
|
-
name: "isPrivilegedBatchTarget",
|
|
326
|
-
type: "function",
|
|
327
|
-
stateMutability: "view",
|
|
328
|
-
inputs: [{ name: "target", type: "address" }],
|
|
329
|
-
outputs: [{ name: "", type: "bool" }]
|
|
330
|
-
},
|
|
331
310
|
{
|
|
332
311
|
name: "managementAssetSeconds",
|
|
333
312
|
type: "function",
|
|
@@ -346,7 +325,7 @@ var SYNDICATE_VAULT_ABI = [
|
|
|
346
325
|
name: "maxDeposit",
|
|
347
326
|
type: "function",
|
|
348
327
|
stateMutability: "view",
|
|
349
|
-
inputs: [{ name: "", type: "address" }],
|
|
328
|
+
inputs: [{ name: "receiver", type: "address" }],
|
|
350
329
|
outputs: [{ name: "", type: "uint256" }]
|
|
351
330
|
},
|
|
352
331
|
{
|
|
@@ -933,40 +912,10 @@ var SYNDICATE_VAULT_ABI = [
|
|
|
933
912
|
{ name: "BufferTooHigh", type: "error", inputs: [] },
|
|
934
913
|
{ name: "CannotRescueAsset", type: "error", inputs: [] },
|
|
935
914
|
{ name: "CheckpointUnorderedInsertion", type: "error", inputs: [] },
|
|
915
|
+
{ name: "DelegationDisabled", type: "error", inputs: [] },
|
|
936
916
|
{ name: "DepositorAlreadyApproved", type: "error", inputs: [] },
|
|
937
917
|
{ name: "DepositorNotApproved", type: "error", inputs: [] },
|
|
938
918
|
{ name: "DepositsLocked", type: "error", inputs: [] },
|
|
939
|
-
{
|
|
940
|
-
name: "DisallowedBatchCallee",
|
|
941
|
-
type: "error",
|
|
942
|
-
inputs: [{ name: "target", type: "address" }]
|
|
943
|
-
},
|
|
944
|
-
{
|
|
945
|
-
name: "DisallowedBatchTarget",
|
|
946
|
-
type: "error",
|
|
947
|
-
inputs: [{ name: "target", type: "address" }]
|
|
948
|
-
},
|
|
949
|
-
{
|
|
950
|
-
name: "DisallowedTransferFromSource",
|
|
951
|
-
type: "error",
|
|
952
|
-
inputs: [{ name: "target", type: "address" }, { name: "from", type: "address" }]
|
|
953
|
-
},
|
|
954
|
-
{
|
|
955
|
-
name: "DisallowedTransferTarget",
|
|
956
|
-
type: "error",
|
|
957
|
-
inputs: [
|
|
958
|
-
{ name: "target", type: "address" },
|
|
959
|
-
{ name: "selector", type: "bytes4" },
|
|
960
|
-
{ name: "recipient", type: "address" }
|
|
961
|
-
]
|
|
962
|
-
},
|
|
963
|
-
{ name: "ECDSAInvalidSignature", type: "error", inputs: [] },
|
|
964
|
-
{
|
|
965
|
-
name: "ECDSAInvalidSignatureLength",
|
|
966
|
-
type: "error",
|
|
967
|
-
inputs: [{ name: "length", type: "uint256" }]
|
|
968
|
-
},
|
|
969
|
-
{ name: "ECDSAInvalidSignatureS", type: "error", inputs: [{ name: "s", type: "bytes32" }] },
|
|
970
919
|
{
|
|
971
920
|
name: "ERC1967InvalidImplementation",
|
|
972
921
|
type: "error",
|
|
@@ -1073,13 +1022,18 @@ var SYNDICATE_VAULT_ABI = [
|
|
|
1073
1022
|
{ name: "InvalidExecutorImpl", type: "error", inputs: [] },
|
|
1074
1023
|
{ name: "InvalidInitialization", type: "error", inputs: [] },
|
|
1075
1024
|
{ name: "InvalidOwner", type: "error", inputs: [] },
|
|
1076
|
-
{ name: "
|
|
1025
|
+
{ name: "MalformedAssetCall", type: "error", inputs: [{ name: "selector", type: "bytes4" }] },
|
|
1077
1026
|
{
|
|
1078
1027
|
name: "MaxNetOutflowExceeded",
|
|
1079
1028
|
type: "error",
|
|
1080
1029
|
inputs: [{ name: "netOutflow", type: "uint256" }, { name: "cap", type: "uint256" }]
|
|
1081
1030
|
},
|
|
1082
1031
|
{ name: "NoOpenProposal", type: "error", inputs: [] },
|
|
1032
|
+
{
|
|
1033
|
+
name: "NotARegisteredStrategy",
|
|
1034
|
+
type: "error",
|
|
1035
|
+
inputs: [{ name: "target", type: "address" }]
|
|
1036
|
+
},
|
|
1083
1037
|
{ name: "NotActiveAgent", type: "error", inputs: [] },
|
|
1084
1038
|
{ name: "NotAgentOwner", type: "error", inputs: [] },
|
|
1085
1039
|
{ name: "NotApprovedDepositor", type: "error", inputs: [] },
|
|
@@ -1109,17 +1063,13 @@ var SYNDICATE_VAULT_ABI = [
|
|
|
1109
1063
|
},
|
|
1110
1064
|
{ name: "SimulationFailed", type: "error", inputs: [] },
|
|
1111
1065
|
{ name: "TransferFailed", type: "error", inputs: [] },
|
|
1066
|
+
{ name: "TransferFromNotVault", type: "error", inputs: [{ name: "from", type: "address" }] },
|
|
1112
1067
|
{ name: "UUPSUnauthorizedCallContext", type: "error", inputs: [] },
|
|
1113
1068
|
{
|
|
1114
1069
|
name: "UUPSUnsupportedProxiableUUID",
|
|
1115
1070
|
type: "error",
|
|
1116
1071
|
inputs: [{ name: "slot", type: "bytes32" }]
|
|
1117
1072
|
},
|
|
1118
|
-
{
|
|
1119
|
-
name: "UnrecognizedAssetSelector",
|
|
1120
|
-
type: "error",
|
|
1121
|
-
inputs: [{ name: "selector", type: "bytes4" }]
|
|
1122
|
-
},
|
|
1123
1073
|
{
|
|
1124
1074
|
name: "VotesExpiredSignature",
|
|
1125
1075
|
type: "error",
|
|
@@ -1128,7 +1078,8 @@ var SYNDICATE_VAULT_ABI = [
|
|
|
1128
1078
|
{ name: "WithdrawalQueueAlreadySet", type: "error", inputs: [] },
|
|
1129
1079
|
{ name: "WithdrawalQueueNotSet", type: "error", inputs: [] },
|
|
1130
1080
|
{ name: "ZeroAddress", type: "error", inputs: [] },
|
|
1131
|
-
{ name: "ZeroAssets", type: "error", inputs: [] }
|
|
1081
|
+
{ name: "ZeroAssets", type: "error", inputs: [] },
|
|
1082
|
+
{ name: "ZeroShares", type: "error", inputs: [] }
|
|
1132
1083
|
];
|
|
1133
1084
|
var UNISWAP_QUOTER_V2_ABI = [
|
|
1134
1085
|
{
|
|
@@ -1453,7 +1404,8 @@ var SYNDICATE_FACTORY_ABI = [
|
|
|
1453
1404
|
{ name: "beacon", type: "address" },
|
|
1454
1405
|
{ name: "protocolConfig", type: "address" },
|
|
1455
1406
|
{ name: "managementFeeBps", type: "uint256" },
|
|
1456
|
-
{ name: "guardianRegistry", type: "address" }
|
|
1407
|
+
{ name: "guardianRegistry", type: "address" },
|
|
1408
|
+
{ name: "tierRegistry", type: "address" }
|
|
1457
1409
|
]
|
|
1458
1410
|
}
|
|
1459
1411
|
],
|
|
@@ -1575,13 +1527,6 @@ var SYNDICATE_FACTORY_ABI = [
|
|
|
1575
1527
|
inputs: [{ name: "newLedger", type: "address" }],
|
|
1576
1528
|
outputs: []
|
|
1577
1529
|
},
|
|
1578
|
-
{
|
|
1579
|
-
name: "setGuardianRegistry",
|
|
1580
|
-
type: "function",
|
|
1581
|
-
stateMutability: "nonpayable",
|
|
1582
|
-
inputs: [{ name: "newRegistry", type: "address" }],
|
|
1583
|
-
outputs: []
|
|
1584
|
-
},
|
|
1585
1530
|
{
|
|
1586
1531
|
name: "setManagementFeeBps",
|
|
1587
1532
|
type: "function",
|
|
@@ -1799,14 +1744,6 @@ var SYNDICATE_FACTORY_ABI = [
|
|
|
1799
1744
|
{ name: "governor", type: "address", indexed: true }
|
|
1800
1745
|
]
|
|
1801
1746
|
},
|
|
1802
|
-
{
|
|
1803
|
-
name: "GuardianRegistrySet",
|
|
1804
|
-
type: "event",
|
|
1805
|
-
inputs: [
|
|
1806
|
-
{ name: "oldRegistry", type: "address", indexed: true },
|
|
1807
|
-
{ name: "newRegistry", type: "address", indexed: true }
|
|
1808
|
-
]
|
|
1809
|
-
},
|
|
1810
1747
|
{
|
|
1811
1748
|
name: "Initialized",
|
|
1812
1749
|
type: "event",
|
|
@@ -1949,7 +1886,6 @@ var SYNDICATE_FACTORY_ABI = [
|
|
|
1949
1886
|
{ name: "PreparedStakeNotFound", type: "error", inputs: [] },
|
|
1950
1887
|
{ name: "ProposalActive", type: "error", inputs: [] },
|
|
1951
1888
|
{ name: "ProposalsOpen", type: "error", inputs: [] },
|
|
1952
|
-
{ name: "RegistryFactoryMismatch", type: "error", inputs: [] },
|
|
1953
1889
|
{
|
|
1954
1890
|
name: "SafeERC20FailedOperation",
|
|
1955
1891
|
type: "error",
|
|
@@ -1958,6 +1894,7 @@ var SYNDICATE_FACTORY_ABI = [
|
|
|
1958
1894
|
{ name: "StrategyActive", type: "error", inputs: [] },
|
|
1959
1895
|
{ name: "SubdomainTaken", type: "error", inputs: [] },
|
|
1960
1896
|
{ name: "SubdomainTooShort", type: "error", inputs: [] },
|
|
1897
|
+
{ name: "TierRegistryNotWired", type: "error", inputs: [] },
|
|
1961
1898
|
{ name: "UUPSUnauthorizedCallContext", type: "error", inputs: [] },
|
|
1962
1899
|
{
|
|
1963
1900
|
name: "UUPSUnsupportedProxiableUUID",
|
|
@@ -2483,6 +2420,13 @@ var SYNDICATE_GOVERNOR_ABI = [
|
|
|
2483
2420
|
inputs: [],
|
|
2484
2421
|
outputs: [{ name: "", type: "uint256" }]
|
|
2485
2422
|
},
|
|
2423
|
+
{
|
|
2424
|
+
name: "MAX_STAMP_DRAWDOWN_BPS",
|
|
2425
|
+
type: "function",
|
|
2426
|
+
stateMutability: "view",
|
|
2427
|
+
inputs: [],
|
|
2428
|
+
outputs: [{ name: "", type: "uint256" }]
|
|
2429
|
+
},
|
|
2486
2430
|
{
|
|
2487
2431
|
name: "MAX_VETO_THRESHOLD_BPS",
|
|
2488
2432
|
type: "function",
|
|
@@ -2825,6 +2769,13 @@ var SYNDICATE_GOVERNOR_ABI = [
|
|
|
2825
2769
|
}
|
|
2826
2770
|
]
|
|
2827
2771
|
},
|
|
2772
|
+
{
|
|
2773
|
+
name: "getPpsSnapshot",
|
|
2774
|
+
type: "function",
|
|
2775
|
+
stateMutability: "view",
|
|
2776
|
+
inputs: [{ name: "proposalId", type: "uint256" }],
|
|
2777
|
+
outputs: [{ name: "ppsAtExecute", type: "uint256" }, { name: "recorded", type: "bool" }]
|
|
2778
|
+
},
|
|
2828
2779
|
{
|
|
2829
2780
|
name: "getProposal",
|
|
2830
2781
|
type: "function",
|
|
@@ -2842,9 +2793,7 @@ var SYNDICATE_GOVERNOR_ABI = [
|
|
|
2842
2793
|
{ name: "metadataURI", type: "string" },
|
|
2843
2794
|
{ name: "performanceFeeBps", type: "uint256" },
|
|
2844
2795
|
{ name: "strategyDuration", type: "uint256" },
|
|
2845
|
-
{ name: "votesFor", type: "uint256" },
|
|
2846
2796
|
{ name: "votesAgainst", type: "uint256" },
|
|
2847
|
-
{ name: "votesAbstain", type: "uint256" },
|
|
2848
2797
|
{ name: "snapshotTimestamp", type: "uint256" },
|
|
2849
2798
|
{ name: "voteEnd", type: "uint256" },
|
|
2850
2799
|
{ name: "reviewEnd", type: "uint256" },
|
|
@@ -2880,7 +2829,8 @@ var SYNDICATE_GOVERNOR_ABI = [
|
|
|
2880
2829
|
]
|
|
2881
2830
|
},
|
|
2882
2831
|
{ name: "proposerBondLedger", type: "address" },
|
|
2883
|
-
{ name: "effectiveMaxCapital", type: "uint256" }
|
|
2832
|
+
{ name: "effectiveMaxCapital", type: "uint256" },
|
|
2833
|
+
{ name: "votableSupply", type: "uint256" }
|
|
2884
2834
|
]
|
|
2885
2835
|
}
|
|
2886
2836
|
]
|
|
@@ -2980,6 +2930,7 @@ var SYNDICATE_GOVERNOR_ABI = [
|
|
|
2980
2930
|
{ name: "guardianRegistry_", type: "address" },
|
|
2981
2931
|
{ name: "protocolConfig_", type: "address" },
|
|
2982
2932
|
{ name: "factory_", type: "address" },
|
|
2933
|
+
{ name: "tierRegistry_", type: "address" },
|
|
2983
2934
|
{
|
|
2984
2935
|
name: "params_",
|
|
2985
2936
|
type: "tuple",
|
|
@@ -3319,14 +3270,6 @@ var SYNDICATE_GOVERNOR_ABI = [
|
|
|
3319
3270
|
{ name: "splitsBps", type: "uint256[]", indexed: false }
|
|
3320
3271
|
]
|
|
3321
3272
|
},
|
|
3322
|
-
{
|
|
3323
|
-
name: "CoverageSettleFailed",
|
|
3324
|
-
type: "event",
|
|
3325
|
-
inputs: [
|
|
3326
|
-
{ name: "proposalId", type: "uint256", indexed: true },
|
|
3327
|
-
{ name: "ledger", type: "address", indexed: true }
|
|
3328
|
-
]
|
|
3329
|
-
},
|
|
3330
3273
|
{
|
|
3331
3274
|
name: "EffectiveMaxCapitalSet",
|
|
3332
3275
|
type: "event",
|
|
@@ -3567,11 +3510,6 @@ var SYNDICATE_GOVERNOR_ABI = [
|
|
|
3567
3510
|
{ name: "CollaborationExpired", type: "error", inputs: [] },
|
|
3568
3511
|
{ name: "CooldownNotElapsed", type: "error", inputs: [] },
|
|
3569
3512
|
{ name: "CoverageRegressed", type: "error", inputs: [] },
|
|
3570
|
-
{
|
|
3571
|
-
name: "DisallowedBatchTarget",
|
|
3572
|
-
type: "error",
|
|
3573
|
-
inputs: [{ name: "target", type: "address" }]
|
|
3574
|
-
},
|
|
3575
3513
|
{ name: "DuplicateCoProposer", type: "error", inputs: [] },
|
|
3576
3514
|
{ name: "EmergencyNotProposed", type: "error", inputs: [] },
|
|
3577
3515
|
{ name: "EmergencySettleBlocked", type: "error", inputs: [] },
|
|
@@ -3600,11 +3538,17 @@ var SYNDICATE_GOVERNOR_ABI = [
|
|
|
3600
3538
|
{ name: "InvalidVotingPeriod", type: "error", inputs: [] },
|
|
3601
3539
|
{ name: "LeadSplitTooLow", type: "error", inputs: [] },
|
|
3602
3540
|
{ name: "LedgerEscrowMismatch", type: "error", inputs: [] },
|
|
3541
|
+
{ name: "MalformedAssetCall", type: "error", inputs: [{ name: "selector", type: "bytes4" }] },
|
|
3603
3542
|
{ name: "MaxCapitalCeilingRegressed", type: "error", inputs: [] },
|
|
3604
3543
|
{ name: "MaxCapitalExceedsCeiling", type: "error", inputs: [] },
|
|
3605
3544
|
{ name: "MetadataURITooLong", type: "error", inputs: [] },
|
|
3606
3545
|
{ name: "NoBondToReclaim", type: "error", inputs: [] },
|
|
3607
3546
|
{ name: "NoVotingPower", type: "error", inputs: [] },
|
|
3547
|
+
{
|
|
3548
|
+
name: "NotARegisteredStrategy",
|
|
3549
|
+
type: "error",
|
|
3550
|
+
inputs: [{ name: "target", type: "address" }]
|
|
3551
|
+
},
|
|
3608
3552
|
{ name: "NotAuthorized", type: "error", inputs: [] },
|
|
3609
3553
|
{ name: "NotCoProposer", type: "error", inputs: [] },
|
|
3610
3554
|
{ name: "NotDraftState", type: "error", inputs: [] },
|
|
@@ -3617,6 +3561,7 @@ var SYNDICATE_GOVERNOR_ABI = [
|
|
|
3617
3561
|
{ name: "NotVaultOwner", type: "error", inputs: [] },
|
|
3618
3562
|
{ name: "NotWithinVotingPeriod", type: "error", inputs: [] },
|
|
3619
3563
|
{ name: "OwnerBondInsufficient", type: "error", inputs: [] },
|
|
3564
|
+
{ name: "OwnerBondNotLive", type: "error", inputs: [] },
|
|
3620
3565
|
{ name: "ParamsFrozenDuringProposal", type: "error", inputs: [] },
|
|
3621
3566
|
{ name: "ProposalInDraft", type: "error", inputs: [] },
|
|
3622
3567
|
{ name: "ProposalNotApproved", type: "error", inputs: [] },
|
|
@@ -3627,25 +3572,30 @@ var SYNDICATE_GOVERNOR_ABI = [
|
|
|
3627
3572
|
{ name: "Reentrancy", type: "error", inputs: [] },
|
|
3628
3573
|
{ name: "RegistryNotSet", type: "error", inputs: [] },
|
|
3629
3574
|
{
|
|
3630
|
-
name: "
|
|
3575
|
+
name: "SettlePriceBelowFloor",
|
|
3631
3576
|
type: "error",
|
|
3632
|
-
inputs: [{ name: "
|
|
3577
|
+
inputs: [{ name: "ppsNow", type: "uint256" }, { name: "ppsFloor", type: "uint256" }]
|
|
3633
3578
|
},
|
|
3634
3579
|
{ name: "SplitTooLow", type: "error", inputs: [] },
|
|
3635
3580
|
{ name: "StrategyAlreadyActive", type: "error", inputs: [] },
|
|
3636
3581
|
{ name: "StrategyDurationNotElapsed", type: "error", inputs: [] },
|
|
3637
3582
|
{ name: "StrategyDurationTooLong", type: "error", inputs: [] },
|
|
3638
3583
|
{ name: "StrategyDurationTooShort", type: "error", inputs: [] },
|
|
3639
|
-
{
|
|
3640
|
-
|
|
3584
|
+
{
|
|
3585
|
+
name: "StrategyNotRegistered",
|
|
3586
|
+
type: "error",
|
|
3587
|
+
inputs: [{ name: "strategy", type: "address" }]
|
|
3588
|
+
},
|
|
3641
3589
|
{
|
|
3642
3590
|
name: "Tier2CallCapExceedsCeiling",
|
|
3643
3591
|
type: "error",
|
|
3644
3592
|
inputs: [{ name: "index", type: "uint256" }]
|
|
3645
3593
|
},
|
|
3594
|
+
{ name: "TierRegistryNotWired", type: "error", inputs: [] },
|
|
3646
3595
|
{ name: "TierRegressed", type: "error", inputs: [] },
|
|
3647
3596
|
{ name: "TooManyCalls", type: "error", inputs: [] },
|
|
3648
3597
|
{ name: "TooManyCoProposers", type: "error", inputs: [] },
|
|
3598
|
+
{ name: "TransferFromNotVault", type: "error", inputs: [{ name: "from", type: "address" }] },
|
|
3649
3599
|
{ name: "VaultAlreadyRegistered", type: "error", inputs: [] },
|
|
3650
3600
|
{ name: "VaultHasOpenProposal", type: "error", inputs: [] },
|
|
3651
3601
|
{ name: "VaultNotRegistered", type: "error", inputs: [] },
|
|
@@ -3708,6 +3658,13 @@ var BASE_STRATEGY_ABI = [
|
|
|
3708
3658
|
inputs: [],
|
|
3709
3659
|
outputs: [{ name: "", type: "address" }]
|
|
3710
3660
|
},
|
|
3661
|
+
{
|
|
3662
|
+
name: "rescueTo",
|
|
3663
|
+
type: "function",
|
|
3664
|
+
stateMutability: "nonpayable",
|
|
3665
|
+
inputs: [{ name: "token", type: "address" }],
|
|
3666
|
+
outputs: []
|
|
3667
|
+
},
|
|
3711
3668
|
{ name: "settle", type: "function", stateMutability: "nonpayable", inputs: [], outputs: [] },
|
|
3712
3669
|
{
|
|
3713
3670
|
name: "state",
|
|
@@ -3738,6 +3695,11 @@ var BASE_STRATEGY_ABI = [
|
|
|
3738
3695
|
{ name: "NotProposer", type: "error", inputs: [] },
|
|
3739
3696
|
{ name: "NotVault", type: "error", inputs: [] },
|
|
3740
3697
|
{ name: "ProposerNoLongerAgent", type: "error", inputs: [] },
|
|
3698
|
+
{
|
|
3699
|
+
name: "SafeERC20FailedOperation",
|
|
3700
|
+
type: "error",
|
|
3701
|
+
inputs: [{ name: "token", type: "address" }]
|
|
3702
|
+
},
|
|
3741
3703
|
{ name: "ZeroAddress", type: "error", inputs: [] }
|
|
3742
3704
|
];
|
|
3743
3705
|
var PORTFOLIO_STRATEGY_ABI = [
|
|
@@ -3755,13 +3717,6 @@ var PORTFOLIO_STRATEGY_ABI = [
|
|
|
3755
3717
|
inputs: [],
|
|
3756
3718
|
outputs: [{ name: "", type: "uint256" }]
|
|
3757
3719
|
},
|
|
3758
|
-
{
|
|
3759
|
-
name: "MAX_CUMULATIVE_DECAY_BPS",
|
|
3760
|
-
type: "function",
|
|
3761
|
-
stateMutability: "view",
|
|
3762
|
-
inputs: [],
|
|
3763
|
-
outputs: [{ name: "", type: "uint256" }]
|
|
3764
|
-
},
|
|
3765
3720
|
{
|
|
3766
3721
|
name: "MAX_PUSH_PRICE_AGE",
|
|
3767
3722
|
type: "function",
|
|
@@ -3769,13 +3724,6 @@ var PORTFOLIO_STRATEGY_ABI = [
|
|
|
3769
3724
|
inputs: [],
|
|
3770
3725
|
outputs: [{ name: "", type: "uint256" }]
|
|
3771
3726
|
},
|
|
3772
|
-
{
|
|
3773
|
-
name: "MAX_PUSH_PRICE_AGE_CAP",
|
|
3774
|
-
type: "function",
|
|
3775
|
-
stateMutability: "view",
|
|
3776
|
-
inputs: [],
|
|
3777
|
-
outputs: [{ name: "", type: "uint256" }]
|
|
3778
|
-
},
|
|
3779
3727
|
{
|
|
3780
3728
|
name: "MAX_SLIPPAGE_CEILING_BPS",
|
|
3781
3729
|
type: "function",
|
|
@@ -3783,20 +3731,6 @@ var PORTFOLIO_STRATEGY_ABI = [
|
|
|
3783
3731
|
inputs: [],
|
|
3784
3732
|
outputs: [{ name: "", type: "uint256" }]
|
|
3785
3733
|
},
|
|
3786
|
-
{
|
|
3787
|
-
name: "MAX_STALE_SLIPPAGE_BPS",
|
|
3788
|
-
type: "function",
|
|
3789
|
-
stateMutability: "view",
|
|
3790
|
-
inputs: [],
|
|
3791
|
-
outputs: [{ name: "", type: "uint256" }]
|
|
3792
|
-
},
|
|
3793
|
-
{
|
|
3794
|
-
name: "MIN_PUSH_PRICE_AGE",
|
|
3795
|
-
type: "function",
|
|
3796
|
-
stateMutability: "view",
|
|
3797
|
-
inputs: [],
|
|
3798
|
-
outputs: [{ name: "", type: "uint256" }]
|
|
3799
|
-
},
|
|
3800
3734
|
{
|
|
3801
3735
|
name: "MIN_SLIPPAGE_BPS",
|
|
3802
3736
|
type: "function",
|
|
@@ -3804,27 +3738,6 @@ var PORTFOLIO_STRATEGY_ABI = [
|
|
|
3804
3738
|
inputs: [],
|
|
3805
3739
|
outputs: [{ name: "", type: "uint256" }]
|
|
3806
3740
|
},
|
|
3807
|
-
{
|
|
3808
|
-
name: "PRICE_PRECISION",
|
|
3809
|
-
type: "function",
|
|
3810
|
-
stateMutability: "view",
|
|
3811
|
-
inputs: [],
|
|
3812
|
-
outputs: [{ name: "", type: "uint256" }]
|
|
3813
|
-
},
|
|
3814
|
-
{
|
|
3815
|
-
name: "STALE_PRICE_SLIPPAGE_BPS",
|
|
3816
|
-
type: "function",
|
|
3817
|
-
stateMutability: "view",
|
|
3818
|
-
inputs: [],
|
|
3819
|
-
outputs: [{ name: "", type: "uint256" }]
|
|
3820
|
-
},
|
|
3821
|
-
{
|
|
3822
|
-
name: "STALE_WIDEN_PERIOD",
|
|
3823
|
-
type: "function",
|
|
3824
|
-
stateMutability: "view",
|
|
3825
|
-
inputs: [],
|
|
3826
|
-
outputs: [{ name: "", type: "uint256" }]
|
|
3827
|
-
},
|
|
3828
3741
|
{
|
|
3829
3742
|
name: "allocationCount",
|
|
3830
3743
|
type: "function",
|
|
@@ -3839,27 +3752,6 @@ var PORTFOLIO_STRATEGY_ABI = [
|
|
|
3839
3752
|
inputs: [],
|
|
3840
3753
|
outputs: [{ name: "", type: "address" }]
|
|
3841
3754
|
},
|
|
3842
|
-
{
|
|
3843
|
-
name: "assetDecimals",
|
|
3844
|
-
type: "function",
|
|
3845
|
-
stateMutability: "view",
|
|
3846
|
-
inputs: [],
|
|
3847
|
-
outputs: [{ name: "", type: "uint8" }]
|
|
3848
|
-
},
|
|
3849
|
-
{
|
|
3850
|
-
name: "chainlinkVerifier",
|
|
3851
|
-
type: "function",
|
|
3852
|
-
stateMutability: "view",
|
|
3853
|
-
inputs: [],
|
|
3854
|
-
outputs: [{ name: "", type: "address" }]
|
|
3855
|
-
},
|
|
3856
|
-
{
|
|
3857
|
-
name: "cumulativeDecayBps",
|
|
3858
|
-
type: "function",
|
|
3859
|
-
stateMutability: "view",
|
|
3860
|
-
inputs: [],
|
|
3861
|
-
outputs: [{ name: "", type: "uint256" }]
|
|
3862
|
-
},
|
|
3863
3755
|
{ name: "execute", type: "function", stateMutability: "nonpayable", inputs: [], outputs: [] },
|
|
3864
3756
|
{
|
|
3865
3757
|
name: "executed",
|
|
@@ -3887,11 +3779,11 @@ var PORTFOLIO_STRATEGY_ABI = [
|
|
|
3887
3779
|
]
|
|
3888
3780
|
},
|
|
3889
3781
|
{
|
|
3890
|
-
name: "
|
|
3782
|
+
name: "getFeeds",
|
|
3891
3783
|
type: "function",
|
|
3892
3784
|
stateMutability: "view",
|
|
3893
3785
|
inputs: [],
|
|
3894
|
-
outputs: [{ name: "", type: "
|
|
3786
|
+
outputs: [{ name: "", type: "address[]" }]
|
|
3895
3787
|
},
|
|
3896
3788
|
{
|
|
3897
3789
|
name: "getSwapExtraData",
|
|
@@ -3900,13 +3792,6 @@ var PORTFOLIO_STRATEGY_ABI = [
|
|
|
3900
3792
|
inputs: [],
|
|
3901
3793
|
outputs: [{ name: "", type: "bytes[]" }]
|
|
3902
3794
|
},
|
|
3903
|
-
{
|
|
3904
|
-
name: "getTokenDecimals",
|
|
3905
|
-
type: "function",
|
|
3906
|
-
stateMutability: "view",
|
|
3907
|
-
inputs: [],
|
|
3908
|
-
outputs: [{ name: "", type: "uint8[]" }]
|
|
3909
|
-
},
|
|
3910
3795
|
{
|
|
3911
3796
|
name: "initialize",
|
|
3912
3797
|
type: "function",
|
|
@@ -3940,17 +3825,17 @@ var PORTFOLIO_STRATEGY_ABI = [
|
|
|
3940
3825
|
outputs: [{ name: "", type: "address" }]
|
|
3941
3826
|
},
|
|
3942
3827
|
{
|
|
3943
|
-
name: "
|
|
3828
|
+
name: "rebalanceDelta",
|
|
3944
3829
|
type: "function",
|
|
3945
3830
|
stateMutability: "nonpayable",
|
|
3946
3831
|
inputs: [],
|
|
3947
3832
|
outputs: []
|
|
3948
3833
|
},
|
|
3949
3834
|
{
|
|
3950
|
-
name: "
|
|
3835
|
+
name: "rescueTo",
|
|
3951
3836
|
type: "function",
|
|
3952
3837
|
stateMutability: "nonpayable",
|
|
3953
|
-
inputs: [{ name: "
|
|
3838
|
+
inputs: [{ name: "token", type: "address" }],
|
|
3954
3839
|
outputs: []
|
|
3955
3840
|
},
|
|
3956
3841
|
{ name: "settle", type: "function", stateMutability: "nonpayable", inputs: [], outputs: [] },
|
|
@@ -3989,18 +3874,6 @@ var PORTFOLIO_STRATEGY_ABI = [
|
|
|
3989
3874
|
inputs: [],
|
|
3990
3875
|
outputs: [{ name: "", type: "address" }]
|
|
3991
3876
|
},
|
|
3992
|
-
{
|
|
3993
|
-
name: "Rebalanced",
|
|
3994
|
-
type: "event",
|
|
3995
|
-
inputs: [
|
|
3996
|
-
{ name: "tokens", type: "address[]", indexed: false },
|
|
3997
|
-
{ name: "oldWeights", type: "uint256[]", indexed: false },
|
|
3998
|
-
{ name: "newWeights", type: "uint256[]", indexed: false },
|
|
3999
|
-
{ name: "oldBalances", type: "uint256[]", indexed: false },
|
|
4000
|
-
{ name: "newBalances", type: "uint256[]", indexed: false },
|
|
4001
|
-
{ name: "totalAssetValue", type: "uint256", indexed: false }
|
|
4002
|
-
]
|
|
4003
|
-
},
|
|
4004
3877
|
{
|
|
4005
3878
|
name: "RebalancedDelta",
|
|
4006
3879
|
type: "event",
|
|
@@ -4014,20 +3887,6 @@ var PORTFOLIO_STRATEGY_ABI = [
|
|
|
4014
3887
|
{ name: "swapsExecuted", type: "uint256", indexed: false }
|
|
4015
3888
|
]
|
|
4016
3889
|
},
|
|
4017
|
-
{
|
|
4018
|
-
name: "WeightsUpdated",
|
|
4019
|
-
type: "event",
|
|
4020
|
-
inputs: [
|
|
4021
|
-
{ name: "tokens", type: "address[]", indexed: false },
|
|
4022
|
-
{ name: "oldWeights", type: "uint256[]", indexed: false },
|
|
4023
|
-
{ name: "newWeights", type: "uint256[]", indexed: false }
|
|
4024
|
-
]
|
|
4025
|
-
},
|
|
4026
|
-
{
|
|
4027
|
-
name: "AdapterCannotQuoteInDataStreamsMode",
|
|
4028
|
-
type: "error",
|
|
4029
|
-
inputs: [{ name: "swapAdapter", type: "address" }]
|
|
4030
|
-
},
|
|
4031
3890
|
{
|
|
4032
3891
|
name: "AdapterNotAllowed",
|
|
4033
3892
|
type: "error",
|
|
@@ -4036,11 +3895,9 @@ var PORTFOLIO_STRATEGY_ABI = [
|
|
|
4036
3895
|
{ name: "AlreadyExecuted", type: "error", inputs: [] },
|
|
4037
3896
|
{ name: "AlreadyInitialized", type: "error", inputs: [] },
|
|
4038
3897
|
{ name: "AlreadySettled", type: "error", inputs: [] },
|
|
4039
|
-
{ name: "DecayBudgetExhausted", type: "error", inputs: [] },
|
|
4040
3898
|
{ name: "DuplicateToken", type: "error", inputs: [{ name: "token", type: "address" }] },
|
|
4041
3899
|
{ name: "InvalidAmount", type: "error", inputs: [] },
|
|
4042
|
-
{ name: "
|
|
4043
|
-
{ name: "InvalidPriceAge", type: "error", inputs: [] },
|
|
3900
|
+
{ name: "InvalidPrice", type: "error", inputs: [] },
|
|
4044
3901
|
{ name: "InvalidPriceDecimals", type: "error", inputs: [] },
|
|
4045
3902
|
{ name: "InvalidSlippage", type: "error", inputs: [] },
|
|
4046
3903
|
{ name: "InvalidWeights", type: "error", inputs: [] },
|
|
@@ -4064,8 +3921,7 @@ var PORTFOLIO_STRATEGY_ABI = [
|
|
|
4064
3921
|
]
|
|
4065
3922
|
},
|
|
4066
3923
|
{ name: "ProposerNoLongerAgent", type: "error", inputs: [] },
|
|
4067
|
-
{ name: "
|
|
4068
|
-
{ name: "RebalancingInProgress", type: "error", inputs: [] },
|
|
3924
|
+
{ name: "ReentrancyGuardReentrantCall", type: "error", inputs: [] },
|
|
4069
3925
|
{ name: "RoutesFrozen", type: "error", inputs: [] },
|
|
4070
3926
|
{
|
|
4071
3927
|
name: "SafeERC20FailedOperation",
|
|
@@ -4076,15 +3932,7 @@ var PORTFOLIO_STRATEGY_ABI = [
|
|
|
4076
3932
|
{ name: "SwapFailed", type: "error", inputs: [] },
|
|
4077
3933
|
{ name: "TierRegistryUnresolved", type: "error", inputs: [] },
|
|
4078
3934
|
{ name: "TooManyTokens", type: "error", inputs: [] },
|
|
4079
|
-
{
|
|
4080
|
-
name: "WrongFeedId",
|
|
4081
|
-
type: "error",
|
|
4082
|
-
inputs: [
|
|
4083
|
-
{ name: "index", type: "uint256" },
|
|
4084
|
-
{ name: "expected", type: "bytes32" },
|
|
4085
|
-
{ name: "actual", type: "bytes32" }
|
|
4086
|
-
]
|
|
4087
|
-
},
|
|
3935
|
+
{ name: "WeightsFrozen", type: "error", inputs: [] },
|
|
4088
3936
|
{ name: "ZeroAddress", type: "error", inputs: [] }
|
|
4089
3937
|
];
|
|
4090
3938
|
var SYNTHRA_QUOTER_ABI = [
|
|
@@ -4121,4 +3969,4 @@ export {
|
|
|
4121
3969
|
PORTFOLIO_STRATEGY_ABI,
|
|
4122
3970
|
SYNTHRA_QUOTER_ABI
|
|
4123
3971
|
};
|
|
4124
|
-
//# sourceMappingURL=chunk-
|
|
3972
|
+
//# sourceMappingURL=chunk-J2IZWAEW.js.map
|