@orbs-network/spot 1.9.2 → 1.9.4

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 (159) hide show
  1. package/README.md +20 -13
  2. package/{script/input/config.json → config.json} +54 -10
  3. package/index.js +8 -3
  4. package/out/00_DeployWM.s.sol/DeployWM.json +1 -1
  5. package/out/00_UpdateWMWhitelist.s.sol/UpdateWMWhitelist.json +1 -1
  6. package/out/01_DeployRepermit.s.sol/DeployRepermit.json +1 -1
  7. package/out/02_DeployCosigner.s.sol/DeployCosigner.json +1 -1
  8. package/out/03_DeployReactor.s.sol/DeployReactor.json +1 -1
  9. package/out/04_DeployExecutor.s.sol/DeployExecutor.json +1 -1
  10. package/out/05_DeployRefinery.s.sol/DeployRefinery.json +1 -1
  11. package/out/{06_DeployDefaultExchange.s.sol/DeployDefaultExchange.abi.json → 06_DeployDefaultAdapter.s.sol/DeployDefaultAdapter.abi.json} +1 -1
  12. package/out/06_DeployDefaultAdapter.s.sol/DeployDefaultAdapter.json +1 -0
  13. package/out/{06_DeployParaswapExchange.s.sol/DeployParaswapExchange.abi.json → 06_DeployDelegatingAdapter.s.sol/DeployDelegatingAdapter.abi.json} +1 -1
  14. package/out/06_DeployDelegatingAdapter.s.sol/DeployDelegatingAdapter.json +1 -0
  15. package/out/{06_DeployP2Exchange.s.sol/DeployP2Exchange.abi.json → 06_DeployP2Adapter.s.sol/DeployP2Adapter.abi.json} +1 -1
  16. package/out/06_DeployP2Adapter.s.sol/DeployP2Adapter.json +1 -0
  17. package/out/06_DeployParaswapAdapter.s.sol/DeployParaswapAdapter.abi.json +28 -0
  18. package/out/06_DeployParaswapAdapter.s.sol/DeployParaswapAdapter.json +1 -0
  19. package/out/06_DeployUniversalAdapter.s.sol/DeployUniversalAdapter.abi.json +28 -0
  20. package/out/06_DeployUniversalAdapter.s.sol/DeployUniversalAdapter.json +1 -0
  21. package/out/BaseTest.sol/BaseTest.abi.json +26 -13
  22. package/out/BaseTest.sol/BaseTest.json +1 -1
  23. package/out/Constants.sol/Constants.json +1 -1
  24. package/out/CosignatureLib.sol/CosignatureLib.abi.json +10 -0
  25. package/out/CosignatureLib.sol/CosignatureLib.json +1 -1
  26. package/out/CosignatureLib.t.sol/CosignatureLibTest.abi.json +125 -16
  27. package/out/CosignatureLib.t.sol/CosignatureLibTest.json +1 -1
  28. package/out/Cosigner.sol/Cosigner.abi.json +12 -115
  29. package/out/Cosigner.sol/Cosigner.json +1 -1
  30. package/out/Cosigner.t.sol/CosignerTest.abi.json +30 -154
  31. package/out/Cosigner.t.sol/CosignerTest.json +1 -1
  32. package/out/Cosigner.t.sol/CosignerWrapper.abi.json +12 -115
  33. package/out/Cosigner.t.sol/CosignerWrapper.json +1 -1
  34. package/out/CosignerIntegration.t.sol/CosignerIntegrationTest.abi.json +49 -33
  35. package/out/CosignerIntegration.t.sol/CosignerIntegrationTest.json +1 -1
  36. package/out/DefaultDexAdapter.sol/DefaultDexAdapter.abi.json +105 -4
  37. package/out/DefaultDexAdapter.sol/DefaultDexAdapter.json +1 -1
  38. package/out/DefaultDexAdapter.t.sol/DefaultDexAdapterTest.abi.json +33 -13
  39. package/out/DefaultDexAdapter.t.sol/DefaultDexAdapterTest.json +1 -1
  40. package/out/DelegatingAdapter.sol/DelegatingAdapter.abi.json +402 -0
  41. package/out/DelegatingAdapter.sol/DelegatingAdapter.json +1 -0
  42. package/out/DelegatingAdapter.t.sol/DelegatingAdapterTest.abi.json +916 -0
  43. package/out/DelegatingAdapter.t.sol/DelegatingAdapterTest.json +1 -0
  44. package/out/DelegatingAdapter.t.sol/MockDelegateTarget.abi.json +22 -0
  45. package/out/DelegatingAdapter.t.sol/MockDelegateTarget.json +1 -0
  46. package/out/ERC20Mock.sol/ERC20Mock.json +1 -1
  47. package/out/ERC20Mock6Decimals.sol/ERC20Mock6Decimals.json +1 -1
  48. package/out/EpochLib.sol/EpochLib.json +1 -1
  49. package/out/EpochLib.t.sol/EpochLibTest.json +1 -1
  50. package/out/ExclusivityOverrideLib.sol/ExclusivityOverrideLib.json +1 -1
  51. package/out/ExclusivityOverrideLib.t.sol/ExclusivityCaller.json +1 -1
  52. package/out/ExclusivityOverrideLib.t.sol/ExclusivityLibTest.abi.json +26 -13
  53. package/out/ExclusivityOverrideLib.t.sol/ExclusivityLibTest.json +1 -1
  54. package/out/Executor.sol/Executor.abi.json +200 -13
  55. package/out/Executor.sol/Executor.json +1 -1
  56. package/out/Executor.t.sol/ExecutorTest.abi.json +26 -13
  57. package/out/Executor.t.sol/ExecutorTest.json +1 -1
  58. package/out/FeeOnTransferERC20Mock.sol/FeeOnTransferERC20Mock.json +1 -1
  59. package/out/{07_CheckOrder.s.sol/AlwaysValid1271.abi.json → ICommitteeSync.sol/ICommitteeSync.abi.json} +9 -9
  60. package/out/ICommitteeSync.sol/ICommitteeSync.json +1 -0
  61. package/out/IEIP712.sol/IEIP712.json +1 -1
  62. package/out/IExchangeAdapter.sol/IExchangeAdapter.abi.json +105 -4
  63. package/out/IExchangeAdapter.sol/IExchangeAdapter.json +1 -1
  64. package/out/IParaswapAugustus.sol/IParaswapAugustus.json +1 -1
  65. package/out/IPermit2.sol/IPermit2.json +1 -1
  66. package/out/IReactor.sol/IReactor.abi.json +100 -4
  67. package/out/IReactor.sol/IReactor.json +1 -1
  68. package/out/IReactorCallback.sol/IReactorCallback.abi.json +100 -4
  69. package/out/IReactorCallback.sol/IReactorCallback.json +1 -1
  70. package/out/IWM.sol/IWM.json +1 -1
  71. package/out/IWrappedNative.sol/IWrappedNative.abi.json +22 -0
  72. package/out/IWrappedNative.sol/IWrappedNative.json +1 -0
  73. package/out/MockCommitteeSync.sol/MockCommitteeSync.abi.json +67 -0
  74. package/out/MockCommitteeSync.sol/MockCommitteeSync.json +1 -0
  75. package/out/MockDexRouter.sol/MockDexRouter.json +1 -1
  76. package/out/MockParaswap.sol/MockParaswapAugustus.json +1 -1
  77. package/out/MockParaswap.sol/MockTokenTransferProxy.json +1 -1
  78. package/out/MockPermit2.sol/MockPermit2.json +1 -1
  79. package/out/MockReactor.sol/MockReactor.abi.json +200 -8
  80. package/out/MockReactor.sol/MockReactor.json +1 -1
  81. package/out/Multicall3Lib.sol/Multicall3Lib.json +1 -1
  82. package/out/OrderLib.sol/OrderLib.json +1 -1
  83. package/out/OrderReactor.E2E.t.sol/OrderReactorE2ETest.abi.json +27 -14
  84. package/out/OrderReactor.E2E.t.sol/OrderReactorE2ETest.json +1 -1
  85. package/out/OrderReactor.sol/OrderReactor.abi.json +130 -14
  86. package/out/OrderReactor.sol/OrderReactor.json +1 -1
  87. package/out/OrderReactorPause.t.sol/OrderReactorPauseTest.abi.json +26 -13
  88. package/out/OrderReactorPause.t.sol/OrderReactorPauseTest.json +1 -1
  89. package/out/OrderReactorPause.t.sol/SimpleCallback.abi.json +100 -4
  90. package/out/OrderReactorPause.t.sol/SimpleCallback.json +1 -1
  91. package/out/OrderValidationLib.Fuzz.t.sol/OrderValidationLibFuzzTest.abi.json +136 -22
  92. package/out/OrderValidationLib.Fuzz.t.sol/OrderValidationLibFuzzTest.json +1 -1
  93. package/out/OrderValidationLib.sol/OrderValidationLib.abi.json +15 -5
  94. package/out/OrderValidationLib.sol/OrderValidationLib.json +1 -1
  95. package/out/OrderValidationLib.t.sol/OrderValidationLibTest.abi.json +160 -30
  96. package/out/OrderValidationLib.t.sol/OrderValidationLibTest.json +1 -1
  97. package/out/P2DexAdapter.sol/P2DexAdapter.abi.json +105 -4
  98. package/out/P2DexAdapter.sol/P2DexAdapter.json +1 -1
  99. package/out/P2DexAdapter.t.sol/P2DexAdapterTest.abi.json +33 -13
  100. package/out/P2DexAdapter.t.sol/P2DexAdapterTest.json +1 -1
  101. package/out/ParaswapDexAdapter.sol/ParaswapDexAdapter.abi.json +105 -4
  102. package/out/ParaswapDexAdapter.sol/ParaswapDexAdapter.json +1 -1
  103. package/out/ParaswapDexAdapter.t.sol/ParaswapDexAdapterTest.abi.json +33 -13
  104. package/out/ParaswapDexAdapter.t.sol/ParaswapDexAdapterTest.json +1 -1
  105. package/out/RePermit.sol/RePermit.json +1 -1
  106. package/out/RePermit.t.sol/RePermitTest.abi.json +26 -13
  107. package/out/RePermit.t.sol/RePermitTest.json +1 -1
  108. package/out/RePermitLib.sol/RePermitLib.json +1 -1
  109. package/out/Refinery.sol/Refinery.json +1 -1
  110. package/out/Refinery.t.sol/PayableTarget.json +1 -1
  111. package/out/Refinery.t.sol/RefineryTest.abi.json +26 -13
  112. package/out/Refinery.t.sol/RefineryTest.json +1 -1
  113. package/out/ResolutionLib.Fuzz.t.sol/ResolutionLibFuzzTest.abi.json +122 -18
  114. package/out/ResolutionLib.Fuzz.t.sol/ResolutionLibFuzzTest.json +1 -1
  115. package/out/ResolutionLib.sol/ResolutionLib.abi.json +1 -1
  116. package/out/ResolutionLib.sol/ResolutionLib.json +1 -1
  117. package/out/ResolutionLib.t.sol/ResolutionLibTest.abi.json +133 -20
  118. package/out/ResolutionLib.t.sol/ResolutionLibTest.json +1 -1
  119. package/out/SettlementLib.sol/SettlementLib.json +1 -1
  120. package/out/SettlementLib.t.sol/SettlementLibTest.abi.json +26 -13
  121. package/out/SettlementLib.t.sol/SettlementLibTest.json +1 -1
  122. package/out/SettlementLib.t.sol/SettlementWrapper.abi.json +100 -4
  123. package/out/SettlementLib.t.sol/SettlementWrapper.json +1 -1
  124. package/out/Settler.sol/Settler.abi.json +454 -0
  125. package/out/Settler.sol/Settler.json +1 -0
  126. package/out/Settler.t.sol/SettlerTest.abi.json +995 -0
  127. package/out/Settler.t.sol/SettlerTest.json +1 -0
  128. package/out/StdError.sol/stdError.json +1 -1
  129. package/out/SurplusLib.sol/SurplusLib.json +1 -1
  130. package/out/SurplusLib.t.sol/SurplusHarness.json +1 -1
  131. package/out/SurplusLib.t.sol/SurplusLibTest.json +1 -1
  132. package/out/SwapAdapter.sol/SwapAdapterMock.abi.json +100 -9
  133. package/out/SwapAdapter.sol/SwapAdapterMock.json +1 -1
  134. package/out/TokenLib.sol/TokenLib.json +1 -1
  135. package/out/TokenLib.t.sol/TokenLibHarness.json +1 -1
  136. package/out/TokenLib.t.sol/TokenLibTest.json +1 -1
  137. package/out/USDTMock.sol/USDTMock.json +1 -1
  138. package/out/UniversalAdapter.sol/UniversalAdapter.abi.json +429 -0
  139. package/out/UniversalAdapter.sol/UniversalAdapter.json +1 -0
  140. package/out/UniversalAdapter.t.sol/UniversalAdapterTest.abi.json +930 -0
  141. package/out/UniversalAdapter.t.sol/UniversalAdapterTest.json +1 -0
  142. package/out/WM.sol/WM.json +1 -1
  143. package/out/WM.t.sol/WMTest.abi.json +26 -13
  144. package/out/WM.t.sol/WMTest.json +1 -1
  145. package/out/WMAllowed.sol/WMAllowed.json +1 -1
  146. package/out/WrappedNativeMock.sol/WrappedNativeMock.abi.json +360 -0
  147. package/out/WrappedNativeMock.sol/WrappedNativeMock.json +1 -0
  148. package/out/build-info/{42633f5ef75c0db8.json → 621c6e28e002a5dd.json} +1 -1
  149. package/out/build-info/{a2626b343b46f44e.json → 7683d39d37ddee4a.json} +1 -1
  150. package/package.json +2 -1
  151. package/script/input/cosignature.skeleton.json +0 -1
  152. package/script/input/repermit.skeleton.json +12 -2
  153. package/out/06_DeployDefaultExchange.s.sol/DeployDefaultExchange.json +0 -1
  154. package/out/06_DeployP2Exchange.s.sol/DeployP2Exchange.json +0 -1
  155. package/out/06_DeployParaswapExchange.s.sol/DeployParaswapExchange.json +0 -1
  156. package/out/07_CheckOrder.s.sol/AlwaysValid1271.json +0 -1
  157. package/out/07_CheckOrder.s.sol/CheckOrder.abi.json +0 -78
  158. package/out/07_CheckOrder.s.sol/CheckOrder.json +0 -1
  159. package/script/input/order.json +0 -63
@@ -0,0 +1,916 @@
1
+ [
2
+ {
3
+ "type": "function",
4
+ "name": "IS_TEST",
5
+ "inputs": [],
6
+ "outputs": [
7
+ {
8
+ "name": "",
9
+ "type": "bool",
10
+ "internalType": "bool"
11
+ }
12
+ ],
13
+ "stateMutability": "view"
14
+ },
15
+ {
16
+ "type": "function",
17
+ "name": "adapter",
18
+ "inputs": [],
19
+ "outputs": [
20
+ {
21
+ "name": "",
22
+ "type": "address",
23
+ "internalType": "address"
24
+ }
25
+ ],
26
+ "stateMutability": "view"
27
+ },
28
+ {
29
+ "type": "function",
30
+ "name": "adapterUut",
31
+ "inputs": [],
32
+ "outputs": [
33
+ {
34
+ "name": "",
35
+ "type": "address",
36
+ "internalType": "contract DelegatingAdapter"
37
+ }
38
+ ],
39
+ "stateMutability": "view"
40
+ },
41
+ {
42
+ "type": "function",
43
+ "name": "cosignInValue",
44
+ "inputs": [],
45
+ "outputs": [
46
+ {
47
+ "name": "",
48
+ "type": "uint256",
49
+ "internalType": "uint256"
50
+ }
51
+ ],
52
+ "stateMutability": "view"
53
+ },
54
+ {
55
+ "type": "function",
56
+ "name": "cosignOutValue",
57
+ "inputs": [],
58
+ "outputs": [
59
+ {
60
+ "name": "",
61
+ "type": "uint256",
62
+ "internalType": "uint256"
63
+ }
64
+ ],
65
+ "stateMutability": "view"
66
+ },
67
+ {
68
+ "type": "function",
69
+ "name": "excludeArtifacts",
70
+ "inputs": [],
71
+ "outputs": [
72
+ {
73
+ "name": "excludedArtifacts_",
74
+ "type": "string[]",
75
+ "internalType": "string[]"
76
+ }
77
+ ],
78
+ "stateMutability": "view"
79
+ },
80
+ {
81
+ "type": "function",
82
+ "name": "excludeContracts",
83
+ "inputs": [],
84
+ "outputs": [
85
+ {
86
+ "name": "excludedContracts_",
87
+ "type": "address[]",
88
+ "internalType": "address[]"
89
+ }
90
+ ],
91
+ "stateMutability": "view"
92
+ },
93
+ {
94
+ "type": "function",
95
+ "name": "excludeSelectors",
96
+ "inputs": [],
97
+ "outputs": [
98
+ {
99
+ "name": "excludedSelectors_",
100
+ "type": "tuple[]",
101
+ "internalType": "struct StdInvariant.FuzzSelector[]",
102
+ "components": [
103
+ {
104
+ "name": "addr",
105
+ "type": "address",
106
+ "internalType": "address"
107
+ },
108
+ {
109
+ "name": "selectors",
110
+ "type": "bytes4[]",
111
+ "internalType": "bytes4[]"
112
+ }
113
+ ]
114
+ }
115
+ ],
116
+ "stateMutability": "view"
117
+ },
118
+ {
119
+ "type": "function",
120
+ "name": "excludeSenders",
121
+ "inputs": [],
122
+ "outputs": [
123
+ {
124
+ "name": "excludedSenders_",
125
+ "type": "address[]",
126
+ "internalType": "address[]"
127
+ }
128
+ ],
129
+ "stateMutability": "view"
130
+ },
131
+ {
132
+ "type": "function",
133
+ "name": "executor",
134
+ "inputs": [],
135
+ "outputs": [
136
+ {
137
+ "name": "",
138
+ "type": "address",
139
+ "internalType": "address"
140
+ }
141
+ ],
142
+ "stateMutability": "view"
143
+ },
144
+ {
145
+ "type": "function",
146
+ "name": "failed",
147
+ "inputs": [],
148
+ "outputs": [
149
+ {
150
+ "name": "",
151
+ "type": "bool",
152
+ "internalType": "bool"
153
+ }
154
+ ],
155
+ "stateMutability": "view"
156
+ },
157
+ {
158
+ "type": "function",
159
+ "name": "freshness",
160
+ "inputs": [],
161
+ "outputs": [
162
+ {
163
+ "name": "",
164
+ "type": "uint32",
165
+ "internalType": "uint32"
166
+ }
167
+ ],
168
+ "stateMutability": "view"
169
+ },
170
+ {
171
+ "type": "function",
172
+ "name": "inAmount",
173
+ "inputs": [],
174
+ "outputs": [
175
+ {
176
+ "name": "",
177
+ "type": "uint256",
178
+ "internalType": "uint256"
179
+ }
180
+ ],
181
+ "stateMutability": "view"
182
+ },
183
+ {
184
+ "type": "function",
185
+ "name": "inMax",
186
+ "inputs": [],
187
+ "outputs": [
188
+ {
189
+ "name": "",
190
+ "type": "uint256",
191
+ "internalType": "uint256"
192
+ }
193
+ ],
194
+ "stateMutability": "view"
195
+ },
196
+ {
197
+ "type": "function",
198
+ "name": "inToken",
199
+ "inputs": [],
200
+ "outputs": [
201
+ {
202
+ "name": "",
203
+ "type": "address",
204
+ "internalType": "address"
205
+ }
206
+ ],
207
+ "stateMutability": "view"
208
+ },
209
+ {
210
+ "type": "function",
211
+ "name": "other",
212
+ "inputs": [],
213
+ "outputs": [
214
+ {
215
+ "name": "",
216
+ "type": "address",
217
+ "internalType": "address"
218
+ }
219
+ ],
220
+ "stateMutability": "view"
221
+ },
222
+ {
223
+ "type": "function",
224
+ "name": "outAmount",
225
+ "inputs": [],
226
+ "outputs": [
227
+ {
228
+ "name": "",
229
+ "type": "uint256",
230
+ "internalType": "uint256"
231
+ }
232
+ ],
233
+ "stateMutability": "view"
234
+ },
235
+ {
236
+ "type": "function",
237
+ "name": "outToken",
238
+ "inputs": [],
239
+ "outputs": [
240
+ {
241
+ "name": "",
242
+ "type": "address",
243
+ "internalType": "address"
244
+ }
245
+ ],
246
+ "stateMutability": "view"
247
+ },
248
+ {
249
+ "type": "function",
250
+ "name": "reactor",
251
+ "inputs": [],
252
+ "outputs": [
253
+ {
254
+ "name": "",
255
+ "type": "address",
256
+ "internalType": "address"
257
+ }
258
+ ],
259
+ "stateMutability": "view"
260
+ },
261
+ {
262
+ "type": "function",
263
+ "name": "recipient",
264
+ "inputs": [],
265
+ "outputs": [
266
+ {
267
+ "name": "",
268
+ "type": "address",
269
+ "internalType": "address"
270
+ }
271
+ ],
272
+ "stateMutability": "view"
273
+ },
274
+ {
275
+ "type": "function",
276
+ "name": "repermit",
277
+ "inputs": [],
278
+ "outputs": [
279
+ {
280
+ "name": "",
281
+ "type": "address",
282
+ "internalType": "address"
283
+ }
284
+ ],
285
+ "stateMutability": "view"
286
+ },
287
+ {
288
+ "type": "function",
289
+ "name": "setUp",
290
+ "inputs": [],
291
+ "outputs": [],
292
+ "stateMutability": "nonpayable"
293
+ },
294
+ {
295
+ "type": "function",
296
+ "name": "signer",
297
+ "inputs": [],
298
+ "outputs": [
299
+ {
300
+ "name": "",
301
+ "type": "address",
302
+ "internalType": "address"
303
+ }
304
+ ],
305
+ "stateMutability": "view"
306
+ },
307
+ {
308
+ "type": "function",
309
+ "name": "signerPK",
310
+ "inputs": [],
311
+ "outputs": [
312
+ {
313
+ "name": "",
314
+ "type": "uint256",
315
+ "internalType": "uint256"
316
+ }
317
+ ],
318
+ "stateMutability": "view"
319
+ },
320
+ {
321
+ "type": "function",
322
+ "name": "slippage",
323
+ "inputs": [],
324
+ "outputs": [
325
+ {
326
+ "name": "",
327
+ "type": "uint32",
328
+ "internalType": "uint32"
329
+ }
330
+ ],
331
+ "stateMutability": "view"
332
+ },
333
+ {
334
+ "type": "function",
335
+ "name": "swapper",
336
+ "inputs": [],
337
+ "outputs": [
338
+ {
339
+ "name": "",
340
+ "type": "address",
341
+ "internalType": "address"
342
+ }
343
+ ],
344
+ "stateMutability": "view"
345
+ },
346
+ {
347
+ "type": "function",
348
+ "name": "target",
349
+ "inputs": [],
350
+ "outputs": [
351
+ {
352
+ "name": "",
353
+ "type": "address",
354
+ "internalType": "contract MockDelegateTarget"
355
+ }
356
+ ],
357
+ "stateMutability": "view"
358
+ },
359
+ {
360
+ "type": "function",
361
+ "name": "targetArtifactSelectors",
362
+ "inputs": [],
363
+ "outputs": [
364
+ {
365
+ "name": "targetedArtifactSelectors_",
366
+ "type": "tuple[]",
367
+ "internalType": "struct StdInvariant.FuzzArtifactSelector[]",
368
+ "components": [
369
+ {
370
+ "name": "artifact",
371
+ "type": "string",
372
+ "internalType": "string"
373
+ },
374
+ {
375
+ "name": "selectors",
376
+ "type": "bytes4[]",
377
+ "internalType": "bytes4[]"
378
+ }
379
+ ]
380
+ }
381
+ ],
382
+ "stateMutability": "view"
383
+ },
384
+ {
385
+ "type": "function",
386
+ "name": "targetArtifacts",
387
+ "inputs": [],
388
+ "outputs": [
389
+ {
390
+ "name": "targetedArtifacts_",
391
+ "type": "string[]",
392
+ "internalType": "string[]"
393
+ }
394
+ ],
395
+ "stateMutability": "view"
396
+ },
397
+ {
398
+ "type": "function",
399
+ "name": "targetContracts",
400
+ "inputs": [],
401
+ "outputs": [
402
+ {
403
+ "name": "targetedContracts_",
404
+ "type": "address[]",
405
+ "internalType": "address[]"
406
+ }
407
+ ],
408
+ "stateMutability": "view"
409
+ },
410
+ {
411
+ "type": "function",
412
+ "name": "targetInterfaces",
413
+ "inputs": [],
414
+ "outputs": [
415
+ {
416
+ "name": "targetedInterfaces_",
417
+ "type": "tuple[]",
418
+ "internalType": "struct StdInvariant.FuzzInterface[]",
419
+ "components": [
420
+ {
421
+ "name": "addr",
422
+ "type": "address",
423
+ "internalType": "address"
424
+ },
425
+ {
426
+ "name": "artifacts",
427
+ "type": "string[]",
428
+ "internalType": "string[]"
429
+ }
430
+ ]
431
+ }
432
+ ],
433
+ "stateMutability": "view"
434
+ },
435
+ {
436
+ "type": "function",
437
+ "name": "targetSelectors",
438
+ "inputs": [],
439
+ "outputs": [
440
+ {
441
+ "name": "targetedSelectors_",
442
+ "type": "tuple[]",
443
+ "internalType": "struct StdInvariant.FuzzSelector[]",
444
+ "components": [
445
+ {
446
+ "name": "addr",
447
+ "type": "address",
448
+ "internalType": "address"
449
+ },
450
+ {
451
+ "name": "selectors",
452
+ "type": "bytes4[]",
453
+ "internalType": "bytes4[]"
454
+ }
455
+ ]
456
+ }
457
+ ],
458
+ "stateMutability": "view"
459
+ },
460
+ {
461
+ "type": "function",
462
+ "name": "targetSenders",
463
+ "inputs": [],
464
+ "outputs": [
465
+ {
466
+ "name": "targetedSenders_",
467
+ "type": "address[]",
468
+ "internalType": "address[]"
469
+ }
470
+ ],
471
+ "stateMutability": "view"
472
+ },
473
+ {
474
+ "type": "function",
475
+ "name": "test_delegateSwap_success",
476
+ "inputs": [],
477
+ "outputs": [],
478
+ "stateMutability": "nonpayable"
479
+ },
480
+ {
481
+ "type": "function",
482
+ "name": "test_swap_reverts_invalid_target",
483
+ "inputs": [],
484
+ "outputs": [],
485
+ "stateMutability": "nonpayable"
486
+ },
487
+ {
488
+ "type": "function",
489
+ "name": "token",
490
+ "inputs": [],
491
+ "outputs": [
492
+ {
493
+ "name": "",
494
+ "type": "address",
495
+ "internalType": "contract ERC20Mock"
496
+ }
497
+ ],
498
+ "stateMutability": "view"
499
+ },
500
+ {
501
+ "type": "function",
502
+ "name": "token2",
503
+ "inputs": [],
504
+ "outputs": [
505
+ {
506
+ "name": "",
507
+ "type": "address",
508
+ "internalType": "contract ERC20Mock"
509
+ }
510
+ ],
511
+ "stateMutability": "view"
512
+ },
513
+ {
514
+ "type": "function",
515
+ "name": "triggerLower",
516
+ "inputs": [],
517
+ "outputs": [
518
+ {
519
+ "name": "",
520
+ "type": "uint256",
521
+ "internalType": "uint256"
522
+ }
523
+ ],
524
+ "stateMutability": "view"
525
+ },
526
+ {
527
+ "type": "function",
528
+ "name": "triggerUpper",
529
+ "inputs": [],
530
+ "outputs": [
531
+ {
532
+ "name": "",
533
+ "type": "uint256",
534
+ "internalType": "uint256"
535
+ }
536
+ ],
537
+ "stateMutability": "view"
538
+ },
539
+ {
540
+ "type": "function",
541
+ "name": "wm",
542
+ "inputs": [],
543
+ "outputs": [
544
+ {
545
+ "name": "",
546
+ "type": "address",
547
+ "internalType": "address"
548
+ }
549
+ ],
550
+ "stateMutability": "view"
551
+ },
552
+ {
553
+ "type": "event",
554
+ "name": "log",
555
+ "inputs": [
556
+ {
557
+ "name": "",
558
+ "type": "string",
559
+ "indexed": false,
560
+ "internalType": "string"
561
+ }
562
+ ],
563
+ "anonymous": false
564
+ },
565
+ {
566
+ "type": "event",
567
+ "name": "log_address",
568
+ "inputs": [
569
+ {
570
+ "name": "",
571
+ "type": "address",
572
+ "indexed": false,
573
+ "internalType": "address"
574
+ }
575
+ ],
576
+ "anonymous": false
577
+ },
578
+ {
579
+ "type": "event",
580
+ "name": "log_array",
581
+ "inputs": [
582
+ {
583
+ "name": "val",
584
+ "type": "uint256[]",
585
+ "indexed": false,
586
+ "internalType": "uint256[]"
587
+ }
588
+ ],
589
+ "anonymous": false
590
+ },
591
+ {
592
+ "type": "event",
593
+ "name": "log_array",
594
+ "inputs": [
595
+ {
596
+ "name": "val",
597
+ "type": "int256[]",
598
+ "indexed": false,
599
+ "internalType": "int256[]"
600
+ }
601
+ ],
602
+ "anonymous": false
603
+ },
604
+ {
605
+ "type": "event",
606
+ "name": "log_array",
607
+ "inputs": [
608
+ {
609
+ "name": "val",
610
+ "type": "address[]",
611
+ "indexed": false,
612
+ "internalType": "address[]"
613
+ }
614
+ ],
615
+ "anonymous": false
616
+ },
617
+ {
618
+ "type": "event",
619
+ "name": "log_bytes",
620
+ "inputs": [
621
+ {
622
+ "name": "",
623
+ "type": "bytes",
624
+ "indexed": false,
625
+ "internalType": "bytes"
626
+ }
627
+ ],
628
+ "anonymous": false
629
+ },
630
+ {
631
+ "type": "event",
632
+ "name": "log_bytes32",
633
+ "inputs": [
634
+ {
635
+ "name": "",
636
+ "type": "bytes32",
637
+ "indexed": false,
638
+ "internalType": "bytes32"
639
+ }
640
+ ],
641
+ "anonymous": false
642
+ },
643
+ {
644
+ "type": "event",
645
+ "name": "log_int",
646
+ "inputs": [
647
+ {
648
+ "name": "",
649
+ "type": "int256",
650
+ "indexed": false,
651
+ "internalType": "int256"
652
+ }
653
+ ],
654
+ "anonymous": false
655
+ },
656
+ {
657
+ "type": "event",
658
+ "name": "log_named_address",
659
+ "inputs": [
660
+ {
661
+ "name": "key",
662
+ "type": "string",
663
+ "indexed": false,
664
+ "internalType": "string"
665
+ },
666
+ {
667
+ "name": "val",
668
+ "type": "address",
669
+ "indexed": false,
670
+ "internalType": "address"
671
+ }
672
+ ],
673
+ "anonymous": false
674
+ },
675
+ {
676
+ "type": "event",
677
+ "name": "log_named_array",
678
+ "inputs": [
679
+ {
680
+ "name": "key",
681
+ "type": "string",
682
+ "indexed": false,
683
+ "internalType": "string"
684
+ },
685
+ {
686
+ "name": "val",
687
+ "type": "uint256[]",
688
+ "indexed": false,
689
+ "internalType": "uint256[]"
690
+ }
691
+ ],
692
+ "anonymous": false
693
+ },
694
+ {
695
+ "type": "event",
696
+ "name": "log_named_array",
697
+ "inputs": [
698
+ {
699
+ "name": "key",
700
+ "type": "string",
701
+ "indexed": false,
702
+ "internalType": "string"
703
+ },
704
+ {
705
+ "name": "val",
706
+ "type": "int256[]",
707
+ "indexed": false,
708
+ "internalType": "int256[]"
709
+ }
710
+ ],
711
+ "anonymous": false
712
+ },
713
+ {
714
+ "type": "event",
715
+ "name": "log_named_array",
716
+ "inputs": [
717
+ {
718
+ "name": "key",
719
+ "type": "string",
720
+ "indexed": false,
721
+ "internalType": "string"
722
+ },
723
+ {
724
+ "name": "val",
725
+ "type": "address[]",
726
+ "indexed": false,
727
+ "internalType": "address[]"
728
+ }
729
+ ],
730
+ "anonymous": false
731
+ },
732
+ {
733
+ "type": "event",
734
+ "name": "log_named_bytes",
735
+ "inputs": [
736
+ {
737
+ "name": "key",
738
+ "type": "string",
739
+ "indexed": false,
740
+ "internalType": "string"
741
+ },
742
+ {
743
+ "name": "val",
744
+ "type": "bytes",
745
+ "indexed": false,
746
+ "internalType": "bytes"
747
+ }
748
+ ],
749
+ "anonymous": false
750
+ },
751
+ {
752
+ "type": "event",
753
+ "name": "log_named_bytes32",
754
+ "inputs": [
755
+ {
756
+ "name": "key",
757
+ "type": "string",
758
+ "indexed": false,
759
+ "internalType": "string"
760
+ },
761
+ {
762
+ "name": "val",
763
+ "type": "bytes32",
764
+ "indexed": false,
765
+ "internalType": "bytes32"
766
+ }
767
+ ],
768
+ "anonymous": false
769
+ },
770
+ {
771
+ "type": "event",
772
+ "name": "log_named_decimal_int",
773
+ "inputs": [
774
+ {
775
+ "name": "key",
776
+ "type": "string",
777
+ "indexed": false,
778
+ "internalType": "string"
779
+ },
780
+ {
781
+ "name": "val",
782
+ "type": "int256",
783
+ "indexed": false,
784
+ "internalType": "int256"
785
+ },
786
+ {
787
+ "name": "decimals",
788
+ "type": "uint256",
789
+ "indexed": false,
790
+ "internalType": "uint256"
791
+ }
792
+ ],
793
+ "anonymous": false
794
+ },
795
+ {
796
+ "type": "event",
797
+ "name": "log_named_decimal_uint",
798
+ "inputs": [
799
+ {
800
+ "name": "key",
801
+ "type": "string",
802
+ "indexed": false,
803
+ "internalType": "string"
804
+ },
805
+ {
806
+ "name": "val",
807
+ "type": "uint256",
808
+ "indexed": false,
809
+ "internalType": "uint256"
810
+ },
811
+ {
812
+ "name": "decimals",
813
+ "type": "uint256",
814
+ "indexed": false,
815
+ "internalType": "uint256"
816
+ }
817
+ ],
818
+ "anonymous": false
819
+ },
820
+ {
821
+ "type": "event",
822
+ "name": "log_named_int",
823
+ "inputs": [
824
+ {
825
+ "name": "key",
826
+ "type": "string",
827
+ "indexed": false,
828
+ "internalType": "string"
829
+ },
830
+ {
831
+ "name": "val",
832
+ "type": "int256",
833
+ "indexed": false,
834
+ "internalType": "int256"
835
+ }
836
+ ],
837
+ "anonymous": false
838
+ },
839
+ {
840
+ "type": "event",
841
+ "name": "log_named_string",
842
+ "inputs": [
843
+ {
844
+ "name": "key",
845
+ "type": "string",
846
+ "indexed": false,
847
+ "internalType": "string"
848
+ },
849
+ {
850
+ "name": "val",
851
+ "type": "string",
852
+ "indexed": false,
853
+ "internalType": "string"
854
+ }
855
+ ],
856
+ "anonymous": false
857
+ },
858
+ {
859
+ "type": "event",
860
+ "name": "log_named_uint",
861
+ "inputs": [
862
+ {
863
+ "name": "key",
864
+ "type": "string",
865
+ "indexed": false,
866
+ "internalType": "string"
867
+ },
868
+ {
869
+ "name": "val",
870
+ "type": "uint256",
871
+ "indexed": false,
872
+ "internalType": "uint256"
873
+ }
874
+ ],
875
+ "anonymous": false
876
+ },
877
+ {
878
+ "type": "event",
879
+ "name": "log_string",
880
+ "inputs": [
881
+ {
882
+ "name": "",
883
+ "type": "string",
884
+ "indexed": false,
885
+ "internalType": "string"
886
+ }
887
+ ],
888
+ "anonymous": false
889
+ },
890
+ {
891
+ "type": "event",
892
+ "name": "log_uint",
893
+ "inputs": [
894
+ {
895
+ "name": "",
896
+ "type": "uint256",
897
+ "indexed": false,
898
+ "internalType": "uint256"
899
+ }
900
+ ],
901
+ "anonymous": false
902
+ },
903
+ {
904
+ "type": "event",
905
+ "name": "logs",
906
+ "inputs": [
907
+ {
908
+ "name": "",
909
+ "type": "bytes",
910
+ "indexed": false,
911
+ "internalType": "bytes"
912
+ }
913
+ ],
914
+ "anonymous": false
915
+ }
916
+ ]