@orbs-network/spot 1.10.0 → 2.0.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/README.md +20 -13
- package/{script/input/config.json → config.json} +54 -6
- package/index.js +8 -3
- package/out/02_DeployCosigner.s.sol/DeployCosigner.json +1 -1
- package/out/03_DeployReactor.s.sol/DeployReactor.json +1 -1
- package/out/04_DeployExecutor.s.sol/DeployExecutor.json +1 -1
- package/out/06_DeployDefaultAdapter.s.sol/DeployDefaultAdapter.json +1 -1
- package/out/06_DeployDelegatingAdapter.s.sol/DeployDelegatingAdapter.json +1 -1
- package/out/06_DeployP2Adapter.s.sol/DeployP2Adapter.json +1 -1
- package/out/06_DeployParaswapAdapter.s.sol/DeployParaswapAdapter.json +1 -1
- package/out/06_DeployUniversalAdapter.s.sol/DeployUniversalAdapter.json +1 -1
- package/out/BaseTest.sol/BaseTest.abi.json +26 -13
- package/out/BaseTest.sol/BaseTest.json +1 -1
- package/out/CosignatureLib.sol/CosignatureLib.abi.json +10 -0
- package/out/CosignatureLib.sol/CosignatureLib.json +1 -1
- package/out/CosignatureLib.t.sol/CosignatureLibTest.abi.json +125 -16
- package/out/CosignatureLib.t.sol/CosignatureLibTest.json +1 -1
- package/out/Cosigner.sol/Cosigner.abi.json +12 -115
- package/out/Cosigner.sol/Cosigner.json +1 -1
- package/out/Cosigner.t.sol/CosignerTest.abi.json +30 -154
- package/out/Cosigner.t.sol/CosignerTest.json +1 -1
- package/out/Cosigner.t.sol/CosignerWrapper.abi.json +12 -115
- package/out/Cosigner.t.sol/CosignerWrapper.json +1 -1
- package/out/CosignerIntegration.t.sol/CosignerIntegrationTest.abi.json +49 -33
- package/out/CosignerIntegration.t.sol/CosignerIntegrationTest.json +1 -1
- package/out/DefaultDexAdapter.sol/DefaultDexAdapter.abi.json +105 -4
- package/out/DefaultDexAdapter.sol/DefaultDexAdapter.json +1 -1
- package/out/DefaultDexAdapter.t.sol/DefaultDexAdapterTest.abi.json +33 -13
- package/out/DefaultDexAdapter.t.sol/DefaultDexAdapterTest.json +1 -1
- package/out/DelegatingAdapter.sol/DelegatingAdapter.json +1 -1
- package/out/DelegatingAdapter.t.sol/DelegatingAdapterTest.json +1 -1
- package/out/DelegatingAdapter.t.sol/MockDelegateTarget.json +1 -1
- package/out/ExclusivityOverrideLib.t.sol/ExclusivityCaller.json +1 -1
- package/out/ExclusivityOverrideLib.t.sol/ExclusivityLibTest.abi.json +26 -13
- package/out/ExclusivityOverrideLib.t.sol/ExclusivityLibTest.json +1 -1
- package/out/Executor.sol/Executor.abi.json +200 -13
- package/out/Executor.sol/Executor.json +1 -1
- package/out/Executor.t.sol/ExecutorTest.abi.json +26 -13
- package/out/Executor.t.sol/ExecutorTest.json +1 -1
- package/out/ICommitteeSync.sol/ICommitteeSync.json +1 -1
- package/out/IExchangeAdapter.sol/IExchangeAdapter.abi.json +105 -4
- package/out/IExchangeAdapter.sol/IExchangeAdapter.json +1 -1
- package/out/IReactor.sol/IReactor.abi.json +100 -4
- package/out/IReactor.sol/IReactor.json +1 -1
- package/out/IReactorCallback.sol/IReactorCallback.abi.json +100 -4
- package/out/IReactorCallback.sol/IReactorCallback.json +1 -1
- package/out/IWrappedNative.sol/IWrappedNative.json +1 -1
- package/out/MockCommitteeSync.sol/MockCommitteeSync.json +1 -1
- package/out/MockReactor.sol/MockReactor.abi.json +200 -8
- package/out/MockReactor.sol/MockReactor.json +1 -1
- package/out/OrderLib.sol/OrderLib.json +1 -1
- package/out/OrderReactor.E2E.t.sol/OrderReactorE2ETest.abi.json +27 -14
- package/out/OrderReactor.E2E.t.sol/OrderReactorE2ETest.json +1 -1
- package/out/OrderReactor.sol/OrderReactor.abi.json +130 -14
- package/out/OrderReactor.sol/OrderReactor.json +1 -1
- package/out/OrderReactorPause.t.sol/OrderReactorPauseTest.abi.json +26 -13
- package/out/OrderReactorPause.t.sol/OrderReactorPauseTest.json +1 -1
- package/out/OrderReactorPause.t.sol/SimpleCallback.abi.json +100 -4
- package/out/OrderReactorPause.t.sol/SimpleCallback.json +1 -1
- package/out/OrderValidationLib.Fuzz.t.sol/OrderValidationLibFuzzTest.abi.json +136 -22
- package/out/OrderValidationLib.Fuzz.t.sol/OrderValidationLibFuzzTest.json +1 -1
- package/out/OrderValidationLib.sol/OrderValidationLib.abi.json +15 -5
- package/out/OrderValidationLib.sol/OrderValidationLib.json +1 -1
- package/out/OrderValidationLib.t.sol/OrderValidationLibTest.abi.json +160 -30
- package/out/OrderValidationLib.t.sol/OrderValidationLibTest.json +1 -1
- package/out/P2DexAdapter.sol/P2DexAdapter.abi.json +105 -4
- package/out/P2DexAdapter.sol/P2DexAdapter.json +1 -1
- package/out/P2DexAdapter.t.sol/P2DexAdapterTest.abi.json +33 -13
- package/out/P2DexAdapter.t.sol/P2DexAdapterTest.json +1 -1
- package/out/ParaswapDexAdapter.sol/ParaswapDexAdapter.abi.json +105 -4
- package/out/ParaswapDexAdapter.sol/ParaswapDexAdapter.json +1 -1
- package/out/ParaswapDexAdapter.t.sol/ParaswapDexAdapterTest.abi.json +33 -13
- package/out/ParaswapDexAdapter.t.sol/ParaswapDexAdapterTest.json +1 -1
- package/out/RePermit.t.sol/RePermitTest.abi.json +26 -13
- package/out/RePermit.t.sol/RePermitTest.json +1 -1
- package/out/Refinery.t.sol/PayableTarget.json +1 -1
- package/out/Refinery.t.sol/RefineryTest.abi.json +26 -13
- package/out/Refinery.t.sol/RefineryTest.json +1 -1
- package/out/ResolutionLib.Fuzz.t.sol/ResolutionLibFuzzTest.abi.json +122 -18
- package/out/ResolutionLib.Fuzz.t.sol/ResolutionLibFuzzTest.json +1 -1
- package/out/ResolutionLib.sol/ResolutionLib.abi.json +1 -1
- package/out/ResolutionLib.sol/ResolutionLib.json +1 -1
- package/out/ResolutionLib.t.sol/ResolutionLibTest.abi.json +133 -20
- package/out/ResolutionLib.t.sol/ResolutionLibTest.json +1 -1
- package/out/SettlementLib.sol/SettlementLib.json +1 -1
- package/out/SettlementLib.t.sol/SettlementLibTest.abi.json +26 -13
- package/out/SettlementLib.t.sol/SettlementLibTest.json +1 -1
- package/out/SettlementLib.t.sol/SettlementWrapper.abi.json +100 -4
- package/out/SettlementLib.t.sol/SettlementWrapper.json +1 -1
- package/out/Settler.sol/Settler.json +1 -1
- package/out/Settler.t.sol/SettlerTest.json +1 -1
- package/out/SwapAdapter.sol/SwapAdapterMock.abi.json +100 -9
- package/out/SwapAdapter.sol/SwapAdapterMock.json +1 -1
- package/out/UniversalAdapter.sol/UniversalAdapter.json +1 -1
- package/out/UniversalAdapter.t.sol/UniversalAdapterTest.json +1 -1
- package/out/WM.t.sol/WMTest.abi.json +26 -13
- package/out/WM.t.sol/WMTest.json +1 -1
- package/out/WrappedNativeMock.sol/WrappedNativeMock.json +1 -1
- package/out/build-info/{12dff9362aac7f9c.json → 4e40b5549a3a794d.json} +1 -1
- package/package.json +2 -1
- package/script/input/cosignature.skeleton.json +0 -1
- package/script/input/repermit.skeleton.json +12 -2
- package/script/input/order.json +0 -63
|
@@ -1 +1 @@
|
|
|
1
|
-
{"abi":[{"type":"error","name":"
|
|
1
|
+
{"abi":[{"type":"error","name":"NotTriggered","inputs":[]}],"bytecode":{"object":"0x60556032600b8282823980515f1a607314602657634e487b7160e01b5f525f60045260245ffd5b305f52607381538281f3fe730000000000000000000000000000000000000000301460806040525f5ffdfea2646970667358221220d90c2ac4a4adf51b9ff0acfe72715a905a4e2d700da4e4782322b3a7e6df931764736f6c634300081b0033","sourceMap":"355:2035:89:-:0;;;;;;;;;;;;;;;-1:-1:-1;;;355:2035:89;;;;;;;;;;;;;;;;;","linkReferences":{}},"deployedBytecode":{"object":"0x730000000000000000000000000000000000000000301460806040525f5ffdfea2646970667358221220d90c2ac4a4adf51b9ff0acfe72715a905a4e2d700da4e4782322b3a7e6df931764736f6c634300081b0033","sourceMap":"355:2035:89:-:0;;;;;;;;","linkReferences":{}},"methodIdentifiers":{},"rawMetadata":"{\"compiler\":{\"version\":\"0.8.27+commit.40a35a09\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[],\"name\":\"NotTriggered\",\"type\":\"error\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{},\"title\":\"Order resolution library\",\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"notice\":\"Computes minimum output amounts from cosigned prices with slippage protection\",\"version\":1}},\"settings\":{\"compilationTarget\":{\"src/lib/ResolutionLib.sol\":\"ResolutionLib\"},\"evmVersion\":\"prague\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":1000000},\"remappings\":[\":@openzeppelin/contracts/=lib/openzeppelin-contracts/contracts/\",\":ds-test/=lib/forge-std/lib/ds-test/src/\",\":erc4626-tests/=lib/openzeppelin-contracts/lib/erc4626-tests/\",\":forge-std/=lib/forge-std/src/\",\":halmos-cheatcodes/=lib/openzeppelin-contracts/lib/halmos-cheatcodes/src/\",\":openzeppelin-contracts/=lib/openzeppelin-contracts/contracts/\"]},\"sources\":{\"lib/openzeppelin-contracts/contracts/utils/Panic.sol\":{\"keccak256\":\"0xf7fe324703a64fc51702311dc51562d5cb1497734f074e4f483bfb6717572d7a\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://c6a5ff4f9fd8649b7ee20800b7fa387d3465bd77cf20c2d1068cd5c98e1ed57a\",\"dweb:/ipfs/QmVSaVJf9FXFhdYEYeCEfjMVHrxDh5qL4CGkxdMWpQCrqG\"]},\"lib/openzeppelin-contracts/contracts/utils/math/Math.sol\":{\"keccak256\":\"0xfa5997d334f4daa83930d1d8944cc30f7d971ec40871511b6f8958ac9a59b911\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://3f34169ec4ff5bcea97b2a8dfcb03fafcf2d53b44b84d09bd87ece3c819380bb\",\"dweb:/ipfs/QmV8NLr6DhskCMMYuLfvJzgAJX9DLXY69gdoGTXM18UguB\"]},\"lib/openzeppelin-contracts/contracts/utils/math/SafeCast.sol\":{\"keccak256\":\"0x195533c86d0ef72bcc06456a4f66a9b941f38eb403739b00f21fd7c1abd1ae54\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://b1d578337048cad08c1c03041cca5978eff5428aa130c781b271ad9e5566e1f8\",\"dweb:/ipfs/QmPFKL2r9CBsMwmUqqdcFPfHZB2qcs9g1HDrPxzWSxomvy\"]},\"src/Constants.sol\":{\"keccak256\":\"0x2e75daa84011ba34b45ca5612bac4c13adf030162b17b1993c0c2f3df31199a2\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://6eb900f937161693038c08a7fc543f34451c4ab9e2e97b72f0b7dc0b74657ae8\",\"dweb:/ipfs/QmSZRZTNfuxy7HXYKjMCmsS3mqbxprPxjyG8Fyzv3jmbdo\"]},\"src/Structs.sol\":{\"keccak256\":\"0xa48471c41240783de81364f66f0ed0ce976a9f6c496bfe0351dda602cc6cafcc\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://f49887cd0a32d9bd61033c145e1e537cf961e9e386cd318c24dfd7d89e8ab0d3\",\"dweb:/ipfs/QmeBFGcnMPor54WYeJrBp7JpjU2PxeC4qdjxw2fLATKmYf\"]},\"src/lib/ResolutionLib.sol\":{\"keccak256\":\"0x7c8616376f77be973b6ac924c4dff5435b50d5c9ed9f66ecd9af49250cf7fcc1\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://fbf3b4278aec2d4fd856fad20e1ef649c2929f944fa48f5bfce7c2fc8bf06d0c\",\"dweb:/ipfs/QmUzvg9AJwYqSUpigo65Nn8z4Kz95F2swnorL9zyXHe2aq\"]}},\"version\":1}","metadata":{"compiler":{"version":"0.8.27+commit.40a35a09"},"language":"Solidity","output":{"abi":[{"inputs":[],"type":"error","name":"NotTriggered"}],"devdoc":{"kind":"dev","methods":{},"version":1},"userdoc":{"kind":"user","methods":{},"version":1}},"settings":{"remappings":["@openzeppelin/contracts/=lib/openzeppelin-contracts/contracts/","ds-test/=lib/forge-std/lib/ds-test/src/","erc4626-tests/=lib/openzeppelin-contracts/lib/erc4626-tests/","forge-std/=lib/forge-std/src/","halmos-cheatcodes/=lib/openzeppelin-contracts/lib/halmos-cheatcodes/src/","openzeppelin-contracts/=lib/openzeppelin-contracts/contracts/"],"optimizer":{"enabled":true,"runs":1000000},"metadata":{"bytecodeHash":"ipfs"},"compilationTarget":{"src/lib/ResolutionLib.sol":"ResolutionLib"},"evmVersion":"prague","libraries":{}},"sources":{"lib/openzeppelin-contracts/contracts/utils/Panic.sol":{"keccak256":"0xf7fe324703a64fc51702311dc51562d5cb1497734f074e4f483bfb6717572d7a","urls":["bzz-raw://c6a5ff4f9fd8649b7ee20800b7fa387d3465bd77cf20c2d1068cd5c98e1ed57a","dweb:/ipfs/QmVSaVJf9FXFhdYEYeCEfjMVHrxDh5qL4CGkxdMWpQCrqG"],"license":"MIT"},"lib/openzeppelin-contracts/contracts/utils/math/Math.sol":{"keccak256":"0xfa5997d334f4daa83930d1d8944cc30f7d971ec40871511b6f8958ac9a59b911","urls":["bzz-raw://3f34169ec4ff5bcea97b2a8dfcb03fafcf2d53b44b84d09bd87ece3c819380bb","dweb:/ipfs/QmV8NLr6DhskCMMYuLfvJzgAJX9DLXY69gdoGTXM18UguB"],"license":"MIT"},"lib/openzeppelin-contracts/contracts/utils/math/SafeCast.sol":{"keccak256":"0x195533c86d0ef72bcc06456a4f66a9b941f38eb403739b00f21fd7c1abd1ae54","urls":["bzz-raw://b1d578337048cad08c1c03041cca5978eff5428aa130c781b271ad9e5566e1f8","dweb:/ipfs/QmPFKL2r9CBsMwmUqqdcFPfHZB2qcs9g1HDrPxzWSxomvy"],"license":"MIT"},"src/Constants.sol":{"keccak256":"0x2e75daa84011ba34b45ca5612bac4c13adf030162b17b1993c0c2f3df31199a2","urls":["bzz-raw://6eb900f937161693038c08a7fc543f34451c4ab9e2e97b72f0b7dc0b74657ae8","dweb:/ipfs/QmSZRZTNfuxy7HXYKjMCmsS3mqbxprPxjyG8Fyzv3jmbdo"],"license":"MIT"},"src/Structs.sol":{"keccak256":"0xa48471c41240783de81364f66f0ed0ce976a9f6c496bfe0351dda602cc6cafcc","urls":["bzz-raw://f49887cd0a32d9bd61033c145e1e537cf961e9e386cd318c24dfd7d89e8ab0d3","dweb:/ipfs/QmeBFGcnMPor54WYeJrBp7JpjU2PxeC4qdjxw2fLATKmYf"],"license":"MIT"},"src/lib/ResolutionLib.sol":{"keccak256":"0x7c8616376f77be973b6ac924c4dff5435b50d5c9ed9f66ecd9af49250cf7fcc1","urls":["bzz-raw://fbf3b4278aec2d4fd856fad20e1ef649c2929f944fa48f5bfce7c2fc8bf06d0c","dweb:/ipfs/QmUzvg9AJwYqSUpigo65Nn8z4Kz95F2swnorL9zyXHe2aq"],"license":"MIT"}},"version":1},"id":89}
|
|
@@ -86,6 +86,11 @@
|
|
|
86
86
|
"type": "uint256",
|
|
87
87
|
"internalType": "uint256"
|
|
88
88
|
},
|
|
89
|
+
{
|
|
90
|
+
"name": "start",
|
|
91
|
+
"type": "uint256",
|
|
92
|
+
"internalType": "uint256"
|
|
93
|
+
},
|
|
89
94
|
{
|
|
90
95
|
"name": "deadline",
|
|
91
96
|
"type": "uint256",
|
|
@@ -154,7 +159,12 @@
|
|
|
154
159
|
"internalType": "uint256"
|
|
155
160
|
},
|
|
156
161
|
{
|
|
157
|
-
"name": "
|
|
162
|
+
"name": "triggerLower",
|
|
163
|
+
"type": "uint256",
|
|
164
|
+
"internalType": "uint256"
|
|
165
|
+
},
|
|
166
|
+
{
|
|
167
|
+
"name": "triggerUpper",
|
|
158
168
|
"type": "uint256",
|
|
159
169
|
"internalType": "uint256"
|
|
160
170
|
},
|
|
@@ -173,7 +183,78 @@
|
|
|
173
183
|
"internalType": "bytes"
|
|
174
184
|
},
|
|
175
185
|
{
|
|
176
|
-
"name": "
|
|
186
|
+
"name": "trigger",
|
|
187
|
+
"type": "tuple",
|
|
188
|
+
"internalType": "struct Cosignature",
|
|
189
|
+
"components": [
|
|
190
|
+
{
|
|
191
|
+
"name": "cosigner",
|
|
192
|
+
"type": "address",
|
|
193
|
+
"internalType": "address"
|
|
194
|
+
},
|
|
195
|
+
{
|
|
196
|
+
"name": "reactor",
|
|
197
|
+
"type": "address",
|
|
198
|
+
"internalType": "address"
|
|
199
|
+
},
|
|
200
|
+
{
|
|
201
|
+
"name": "chainid",
|
|
202
|
+
"type": "uint256",
|
|
203
|
+
"internalType": "uint256"
|
|
204
|
+
},
|
|
205
|
+
{
|
|
206
|
+
"name": "timestamp",
|
|
207
|
+
"type": "uint256",
|
|
208
|
+
"internalType": "uint256"
|
|
209
|
+
},
|
|
210
|
+
{
|
|
211
|
+
"name": "input",
|
|
212
|
+
"type": "tuple",
|
|
213
|
+
"internalType": "struct CosignedValue",
|
|
214
|
+
"components": [
|
|
215
|
+
{
|
|
216
|
+
"name": "token",
|
|
217
|
+
"type": "address",
|
|
218
|
+
"internalType": "address"
|
|
219
|
+
},
|
|
220
|
+
{
|
|
221
|
+
"name": "value",
|
|
222
|
+
"type": "uint256",
|
|
223
|
+
"internalType": "uint256"
|
|
224
|
+
},
|
|
225
|
+
{
|
|
226
|
+
"name": "decimals",
|
|
227
|
+
"type": "uint8",
|
|
228
|
+
"internalType": "uint8"
|
|
229
|
+
}
|
|
230
|
+
]
|
|
231
|
+
},
|
|
232
|
+
{
|
|
233
|
+
"name": "output",
|
|
234
|
+
"type": "tuple",
|
|
235
|
+
"internalType": "struct CosignedValue",
|
|
236
|
+
"components": [
|
|
237
|
+
{
|
|
238
|
+
"name": "token",
|
|
239
|
+
"type": "address",
|
|
240
|
+
"internalType": "address"
|
|
241
|
+
},
|
|
242
|
+
{
|
|
243
|
+
"name": "value",
|
|
244
|
+
"type": "uint256",
|
|
245
|
+
"internalType": "uint256"
|
|
246
|
+
},
|
|
247
|
+
{
|
|
248
|
+
"name": "decimals",
|
|
249
|
+
"type": "uint8",
|
|
250
|
+
"internalType": "uint8"
|
|
251
|
+
}
|
|
252
|
+
]
|
|
253
|
+
}
|
|
254
|
+
]
|
|
255
|
+
},
|
|
256
|
+
{
|
|
257
|
+
"name": "current",
|
|
177
258
|
"type": "tuple",
|
|
178
259
|
"internalType": "struct Cosignature",
|
|
179
260
|
"components": [
|
|
@@ -244,7 +325,12 @@
|
|
|
244
325
|
]
|
|
245
326
|
},
|
|
246
327
|
{
|
|
247
|
-
"name": "
|
|
328
|
+
"name": "triggerCosignature",
|
|
329
|
+
"type": "bytes",
|
|
330
|
+
"internalType": "bytes"
|
|
331
|
+
},
|
|
332
|
+
{
|
|
333
|
+
"name": "currentCosignature",
|
|
248
334
|
"type": "bytes",
|
|
249
335
|
"internalType": "bytes"
|
|
250
336
|
}
|
|
@@ -454,19 +540,6 @@
|
|
|
454
540
|
],
|
|
455
541
|
"stateMutability": "view"
|
|
456
542
|
},
|
|
457
|
-
{
|
|
458
|
-
"type": "function",
|
|
459
|
-
"name": "outMax",
|
|
460
|
-
"inputs": [],
|
|
461
|
-
"outputs": [
|
|
462
|
-
{
|
|
463
|
-
"name": "",
|
|
464
|
-
"type": "uint256",
|
|
465
|
-
"internalType": "uint256"
|
|
466
|
-
}
|
|
467
|
-
],
|
|
468
|
-
"stateMutability": "view"
|
|
469
|
-
},
|
|
470
543
|
{
|
|
471
544
|
"type": "function",
|
|
472
545
|
"name": "outToken",
|
|
@@ -708,21 +781,35 @@
|
|
|
708
781
|
},
|
|
709
782
|
{
|
|
710
783
|
"type": "function",
|
|
711
|
-
"name": "
|
|
784
|
+
"name": "test_resolveOutAmount_revert_trigger_not_hit",
|
|
712
785
|
"inputs": [],
|
|
713
786
|
"outputs": [],
|
|
714
787
|
"stateMutability": "nonpayable"
|
|
715
788
|
},
|
|
716
789
|
{
|
|
717
790
|
"type": "function",
|
|
718
|
-
"name": "
|
|
791
|
+
"name": "test_resolveOutAmount_revert_trigger_not_hit_with_lower_only",
|
|
719
792
|
"inputs": [],
|
|
720
793
|
"outputs": [],
|
|
721
794
|
"stateMutability": "nonpayable"
|
|
722
795
|
},
|
|
723
796
|
{
|
|
724
797
|
"type": "function",
|
|
725
|
-
"name": "
|
|
798
|
+
"name": "test_resolveOutAmount_revert_trigger_not_hit_with_upper_only",
|
|
799
|
+
"inputs": [],
|
|
800
|
+
"outputs": [],
|
|
801
|
+
"stateMutability": "nonpayable"
|
|
802
|
+
},
|
|
803
|
+
{
|
|
804
|
+
"type": "function",
|
|
805
|
+
"name": "test_resolveOutAmount_trigger_boundary_values_pass",
|
|
806
|
+
"inputs": [],
|
|
807
|
+
"outputs": [],
|
|
808
|
+
"stateMutability": "nonpayable"
|
|
809
|
+
},
|
|
810
|
+
{
|
|
811
|
+
"type": "function",
|
|
812
|
+
"name": "test_resolveOutAmount_trigger_uses_trigger_not_current",
|
|
726
813
|
"inputs": [],
|
|
727
814
|
"outputs": [],
|
|
728
815
|
"stateMutability": "nonpayable"
|
|
@@ -753,6 +840,32 @@
|
|
|
753
840
|
],
|
|
754
841
|
"stateMutability": "view"
|
|
755
842
|
},
|
|
843
|
+
{
|
|
844
|
+
"type": "function",
|
|
845
|
+
"name": "triggerLower",
|
|
846
|
+
"inputs": [],
|
|
847
|
+
"outputs": [
|
|
848
|
+
{
|
|
849
|
+
"name": "",
|
|
850
|
+
"type": "uint256",
|
|
851
|
+
"internalType": "uint256"
|
|
852
|
+
}
|
|
853
|
+
],
|
|
854
|
+
"stateMutability": "view"
|
|
855
|
+
},
|
|
856
|
+
{
|
|
857
|
+
"type": "function",
|
|
858
|
+
"name": "triggerUpper",
|
|
859
|
+
"inputs": [],
|
|
860
|
+
"outputs": [
|
|
861
|
+
{
|
|
862
|
+
"name": "",
|
|
863
|
+
"type": "uint256",
|
|
864
|
+
"internalType": "uint256"
|
|
865
|
+
}
|
|
866
|
+
],
|
|
867
|
+
"stateMutability": "view"
|
|
868
|
+
},
|
|
756
869
|
{
|
|
757
870
|
"type": "function",
|
|
758
871
|
"name": "wm",
|
|
@@ -1132,7 +1245,7 @@
|
|
|
1132
1245
|
},
|
|
1133
1246
|
{
|
|
1134
1247
|
"type": "error",
|
|
1135
|
-
"name": "
|
|
1248
|
+
"name": "NotTriggered",
|
|
1136
1249
|
"inputs": []
|
|
1137
1250
|
}
|
|
1138
1251
|
]
|