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