@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,1011 @@
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": "adapterMock",
44
+ "inputs": [],
45
+ "outputs": [
46
+ {
47
+ "name": "",
48
+ "type": "address",
49
+ "internalType": "contract SwapAdapterMock"
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": "reactorMock",
303
+ "inputs": [],
304
+ "outputs": [
305
+ {
306
+ "name": "",
307
+ "type": "address",
308
+ "internalType": "contract MockReactor"
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": "ref",
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": "refShare",
342
+ "inputs": [],
343
+ "outputs": [
344
+ {
345
+ "name": "",
346
+ "type": "uint16",
347
+ "internalType": "uint16"
348
+ }
349
+ ],
350
+ "stateMutability": "view"
351
+ },
352
+ {
353
+ "type": "function",
354
+ "name": "repermit",
355
+ "inputs": [],
356
+ "outputs": [
357
+ {
358
+ "name": "",
359
+ "type": "address",
360
+ "internalType": "address"
361
+ }
362
+ ],
363
+ "stateMutability": "view"
364
+ },
365
+ {
366
+ "type": "function",
367
+ "name": "setUp",
368
+ "inputs": [],
369
+ "outputs": [],
370
+ "stateMutability": "nonpayable"
371
+ },
372
+ {
373
+ "type": "function",
374
+ "name": "signer",
375
+ "inputs": [],
376
+ "outputs": [
377
+ {
378
+ "name": "",
379
+ "type": "address",
380
+ "internalType": "address"
381
+ }
382
+ ],
383
+ "stateMutability": "view"
384
+ },
385
+ {
386
+ "type": "function",
387
+ "name": "signerPK",
388
+ "inputs": [],
389
+ "outputs": [
390
+ {
391
+ "name": "",
392
+ "type": "uint256",
393
+ "internalType": "uint256"
394
+ }
395
+ ],
396
+ "stateMutability": "view"
397
+ },
398
+ {
399
+ "type": "function",
400
+ "name": "slippage",
401
+ "inputs": [],
402
+ "outputs": [
403
+ {
404
+ "name": "",
405
+ "type": "uint32",
406
+ "internalType": "uint32"
407
+ }
408
+ ],
409
+ "stateMutability": "view"
410
+ },
411
+ {
412
+ "type": "function",
413
+ "name": "swapper",
414
+ "inputs": [],
415
+ "outputs": [
416
+ {
417
+ "name": "",
418
+ "type": "address",
419
+ "internalType": "address"
420
+ }
421
+ ],
422
+ "stateMutability": "view"
423
+ },
424
+ {
425
+ "type": "function",
426
+ "name": "targetArtifactSelectors",
427
+ "inputs": [],
428
+ "outputs": [
429
+ {
430
+ "name": "targetedArtifactSelectors_",
431
+ "type": "tuple[]",
432
+ "internalType": "struct StdInvariant.FuzzArtifactSelector[]",
433
+ "components": [
434
+ {
435
+ "name": "artifact",
436
+ "type": "string",
437
+ "internalType": "string"
438
+ },
439
+ {
440
+ "name": "selectors",
441
+ "type": "bytes4[]",
442
+ "internalType": "bytes4[]"
443
+ }
444
+ ]
445
+ }
446
+ ],
447
+ "stateMutability": "view"
448
+ },
449
+ {
450
+ "type": "function",
451
+ "name": "targetArtifacts",
452
+ "inputs": [],
453
+ "outputs": [
454
+ {
455
+ "name": "targetedArtifacts_",
456
+ "type": "string[]",
457
+ "internalType": "string[]"
458
+ }
459
+ ],
460
+ "stateMutability": "view"
461
+ },
462
+ {
463
+ "type": "function",
464
+ "name": "targetContracts",
465
+ "inputs": [],
466
+ "outputs": [
467
+ {
468
+ "name": "targetedContracts_",
469
+ "type": "address[]",
470
+ "internalType": "address[]"
471
+ }
472
+ ],
473
+ "stateMutability": "view"
474
+ },
475
+ {
476
+ "type": "function",
477
+ "name": "targetInterfaces",
478
+ "inputs": [],
479
+ "outputs": [
480
+ {
481
+ "name": "targetedInterfaces_",
482
+ "type": "tuple[]",
483
+ "internalType": "struct StdInvariant.FuzzInterface[]",
484
+ "components": [
485
+ {
486
+ "name": "addr",
487
+ "type": "address",
488
+ "internalType": "address"
489
+ },
490
+ {
491
+ "name": "artifacts",
492
+ "type": "string[]",
493
+ "internalType": "string[]"
494
+ }
495
+ ]
496
+ }
497
+ ],
498
+ "stateMutability": "view"
499
+ },
500
+ {
501
+ "type": "function",
502
+ "name": "targetSelectors",
503
+ "inputs": [],
504
+ "outputs": [
505
+ {
506
+ "name": "targetedSelectors_",
507
+ "type": "tuple[]",
508
+ "internalType": "struct StdInvariant.FuzzSelector[]",
509
+ "components": [
510
+ {
511
+ "name": "addr",
512
+ "type": "address",
513
+ "internalType": "address"
514
+ },
515
+ {
516
+ "name": "selectors",
517
+ "type": "bytes4[]",
518
+ "internalType": "bytes4[]"
519
+ }
520
+ ]
521
+ }
522
+ ],
523
+ "stateMutability": "view"
524
+ },
525
+ {
526
+ "type": "function",
527
+ "name": "targetSenders",
528
+ "inputs": [],
529
+ "outputs": [
530
+ {
531
+ "name": "targetedSenders_",
532
+ "type": "address[]",
533
+ "internalType": "address[]"
534
+ }
535
+ ],
536
+ "stateMutability": "view"
537
+ },
538
+ {
539
+ "type": "function",
540
+ "name": "test_e2e_execute_callback_and_surplus",
541
+ "inputs": [],
542
+ "outputs": [],
543
+ "stateMutability": "nonpayable"
544
+ },
545
+ {
546
+ "type": "function",
547
+ "name": "test_execute_forwards_to_reactor_with_callback",
548
+ "inputs": [],
549
+ "outputs": [],
550
+ "stateMutability": "nonpayable"
551
+ },
552
+ {
553
+ "type": "function",
554
+ "name": "test_execute_reverts_when_not_allowed",
555
+ "inputs": [],
556
+ "outputs": [],
557
+ "stateMutability": "nonpayable"
558
+ },
559
+ {
560
+ "type": "function",
561
+ "name": "test_execution_with_gas_fee_fields",
562
+ "inputs": [],
563
+ "outputs": [],
564
+ "stateMutability": "nonpayable"
565
+ },
566
+ {
567
+ "type": "function",
568
+ "name": "test_reactorCallback_allows_single_output_to_non_swapper",
569
+ "inputs": [],
570
+ "outputs": [],
571
+ "stateMutability": "nonpayable"
572
+ },
573
+ {
574
+ "type": "function",
575
+ "name": "test_reactorCallback_executes_multicall_and_sets_erc20_approval",
576
+ "inputs": [],
577
+ "outputs": [],
578
+ "stateMutability": "nonpayable"
579
+ },
580
+ {
581
+ "type": "function",
582
+ "name": "test_reactorCallback_handles_eth_output_and_sends_to_reactor",
583
+ "inputs": [],
584
+ "outputs": [],
585
+ "stateMutability": "nonpayable"
586
+ },
587
+ {
588
+ "type": "function",
589
+ "name": "test_reactorCallback_handles_usdt_like_tokens_forceApprove_exact",
590
+ "inputs": [],
591
+ "outputs": [],
592
+ "stateMutability": "nonpayable"
593
+ },
594
+ {
595
+ "type": "function",
596
+ "name": "test_reactorCallback_onlyReactor",
597
+ "inputs": [],
598
+ "outputs": [],
599
+ "stateMutability": "nonpayable"
600
+ },
601
+ {
602
+ "type": "function",
603
+ "name": "test_reactorCallback_transfers_delta_to_swapper_when_outAmountSwapper_greater",
604
+ "inputs": [],
605
+ "outputs": [],
606
+ "stateMutability": "nonpayable"
607
+ },
608
+ {
609
+ "type": "function",
610
+ "name": "token",
611
+ "inputs": [],
612
+ "outputs": [
613
+ {
614
+ "name": "",
615
+ "type": "address",
616
+ "internalType": "contract ERC20Mock"
617
+ }
618
+ ],
619
+ "stateMutability": "view"
620
+ },
621
+ {
622
+ "type": "function",
623
+ "name": "token2",
624
+ "inputs": [],
625
+ "outputs": [
626
+ {
627
+ "name": "",
628
+ "type": "address",
629
+ "internalType": "contract ERC20Mock"
630
+ }
631
+ ],
632
+ "stateMutability": "view"
633
+ },
634
+ {
635
+ "type": "function",
636
+ "name": "wm",
637
+ "inputs": [],
638
+ "outputs": [
639
+ {
640
+ "name": "",
641
+ "type": "address",
642
+ "internalType": "address"
643
+ }
644
+ ],
645
+ "stateMutability": "view"
646
+ },
647
+ {
648
+ "type": "event",
649
+ "name": "log",
650
+ "inputs": [
651
+ {
652
+ "name": "",
653
+ "type": "string",
654
+ "indexed": false,
655
+ "internalType": "string"
656
+ }
657
+ ],
658
+ "anonymous": false
659
+ },
660
+ {
661
+ "type": "event",
662
+ "name": "log_address",
663
+ "inputs": [
664
+ {
665
+ "name": "",
666
+ "type": "address",
667
+ "indexed": false,
668
+ "internalType": "address"
669
+ }
670
+ ],
671
+ "anonymous": false
672
+ },
673
+ {
674
+ "type": "event",
675
+ "name": "log_array",
676
+ "inputs": [
677
+ {
678
+ "name": "val",
679
+ "type": "uint256[]",
680
+ "indexed": false,
681
+ "internalType": "uint256[]"
682
+ }
683
+ ],
684
+ "anonymous": false
685
+ },
686
+ {
687
+ "type": "event",
688
+ "name": "log_array",
689
+ "inputs": [
690
+ {
691
+ "name": "val",
692
+ "type": "int256[]",
693
+ "indexed": false,
694
+ "internalType": "int256[]"
695
+ }
696
+ ],
697
+ "anonymous": false
698
+ },
699
+ {
700
+ "type": "event",
701
+ "name": "log_array",
702
+ "inputs": [
703
+ {
704
+ "name": "val",
705
+ "type": "address[]",
706
+ "indexed": false,
707
+ "internalType": "address[]"
708
+ }
709
+ ],
710
+ "anonymous": false
711
+ },
712
+ {
713
+ "type": "event",
714
+ "name": "log_bytes",
715
+ "inputs": [
716
+ {
717
+ "name": "",
718
+ "type": "bytes",
719
+ "indexed": false,
720
+ "internalType": "bytes"
721
+ }
722
+ ],
723
+ "anonymous": false
724
+ },
725
+ {
726
+ "type": "event",
727
+ "name": "log_bytes32",
728
+ "inputs": [
729
+ {
730
+ "name": "",
731
+ "type": "bytes32",
732
+ "indexed": false,
733
+ "internalType": "bytes32"
734
+ }
735
+ ],
736
+ "anonymous": false
737
+ },
738
+ {
739
+ "type": "event",
740
+ "name": "log_int",
741
+ "inputs": [
742
+ {
743
+ "name": "",
744
+ "type": "int256",
745
+ "indexed": false,
746
+ "internalType": "int256"
747
+ }
748
+ ],
749
+ "anonymous": false
750
+ },
751
+ {
752
+ "type": "event",
753
+ "name": "log_named_address",
754
+ "inputs": [
755
+ {
756
+ "name": "key",
757
+ "type": "string",
758
+ "indexed": false,
759
+ "internalType": "string"
760
+ },
761
+ {
762
+ "name": "val",
763
+ "type": "address",
764
+ "indexed": false,
765
+ "internalType": "address"
766
+ }
767
+ ],
768
+ "anonymous": false
769
+ },
770
+ {
771
+ "type": "event",
772
+ "name": "log_named_array",
773
+ "inputs": [
774
+ {
775
+ "name": "key",
776
+ "type": "string",
777
+ "indexed": false,
778
+ "internalType": "string"
779
+ },
780
+ {
781
+ "name": "val",
782
+ "type": "uint256[]",
783
+ "indexed": false,
784
+ "internalType": "uint256[]"
785
+ }
786
+ ],
787
+ "anonymous": false
788
+ },
789
+ {
790
+ "type": "event",
791
+ "name": "log_named_array",
792
+ "inputs": [
793
+ {
794
+ "name": "key",
795
+ "type": "string",
796
+ "indexed": false,
797
+ "internalType": "string"
798
+ },
799
+ {
800
+ "name": "val",
801
+ "type": "int256[]",
802
+ "indexed": false,
803
+ "internalType": "int256[]"
804
+ }
805
+ ],
806
+ "anonymous": false
807
+ },
808
+ {
809
+ "type": "event",
810
+ "name": "log_named_array",
811
+ "inputs": [
812
+ {
813
+ "name": "key",
814
+ "type": "string",
815
+ "indexed": false,
816
+ "internalType": "string"
817
+ },
818
+ {
819
+ "name": "val",
820
+ "type": "address[]",
821
+ "indexed": false,
822
+ "internalType": "address[]"
823
+ }
824
+ ],
825
+ "anonymous": false
826
+ },
827
+ {
828
+ "type": "event",
829
+ "name": "log_named_bytes",
830
+ "inputs": [
831
+ {
832
+ "name": "key",
833
+ "type": "string",
834
+ "indexed": false,
835
+ "internalType": "string"
836
+ },
837
+ {
838
+ "name": "val",
839
+ "type": "bytes",
840
+ "indexed": false,
841
+ "internalType": "bytes"
842
+ }
843
+ ],
844
+ "anonymous": false
845
+ },
846
+ {
847
+ "type": "event",
848
+ "name": "log_named_bytes32",
849
+ "inputs": [
850
+ {
851
+ "name": "key",
852
+ "type": "string",
853
+ "indexed": false,
854
+ "internalType": "string"
855
+ },
856
+ {
857
+ "name": "val",
858
+ "type": "bytes32",
859
+ "indexed": false,
860
+ "internalType": "bytes32"
861
+ }
862
+ ],
863
+ "anonymous": false
864
+ },
865
+ {
866
+ "type": "event",
867
+ "name": "log_named_decimal_int",
868
+ "inputs": [
869
+ {
870
+ "name": "key",
871
+ "type": "string",
872
+ "indexed": false,
873
+ "internalType": "string"
874
+ },
875
+ {
876
+ "name": "val",
877
+ "type": "int256",
878
+ "indexed": false,
879
+ "internalType": "int256"
880
+ },
881
+ {
882
+ "name": "decimals",
883
+ "type": "uint256",
884
+ "indexed": false,
885
+ "internalType": "uint256"
886
+ }
887
+ ],
888
+ "anonymous": false
889
+ },
890
+ {
891
+ "type": "event",
892
+ "name": "log_named_decimal_uint",
893
+ "inputs": [
894
+ {
895
+ "name": "key",
896
+ "type": "string",
897
+ "indexed": false,
898
+ "internalType": "string"
899
+ },
900
+ {
901
+ "name": "val",
902
+ "type": "uint256",
903
+ "indexed": false,
904
+ "internalType": "uint256"
905
+ },
906
+ {
907
+ "name": "decimals",
908
+ "type": "uint256",
909
+ "indexed": false,
910
+ "internalType": "uint256"
911
+ }
912
+ ],
913
+ "anonymous": false
914
+ },
915
+ {
916
+ "type": "event",
917
+ "name": "log_named_int",
918
+ "inputs": [
919
+ {
920
+ "name": "key",
921
+ "type": "string",
922
+ "indexed": false,
923
+ "internalType": "string"
924
+ },
925
+ {
926
+ "name": "val",
927
+ "type": "int256",
928
+ "indexed": false,
929
+ "internalType": "int256"
930
+ }
931
+ ],
932
+ "anonymous": false
933
+ },
934
+ {
935
+ "type": "event",
936
+ "name": "log_named_string",
937
+ "inputs": [
938
+ {
939
+ "name": "key",
940
+ "type": "string",
941
+ "indexed": false,
942
+ "internalType": "string"
943
+ },
944
+ {
945
+ "name": "val",
946
+ "type": "string",
947
+ "indexed": false,
948
+ "internalType": "string"
949
+ }
950
+ ],
951
+ "anonymous": false
952
+ },
953
+ {
954
+ "type": "event",
955
+ "name": "log_named_uint",
956
+ "inputs": [
957
+ {
958
+ "name": "key",
959
+ "type": "string",
960
+ "indexed": false,
961
+ "internalType": "string"
962
+ },
963
+ {
964
+ "name": "val",
965
+ "type": "uint256",
966
+ "indexed": false,
967
+ "internalType": "uint256"
968
+ }
969
+ ],
970
+ "anonymous": false
971
+ },
972
+ {
973
+ "type": "event",
974
+ "name": "log_string",
975
+ "inputs": [
976
+ {
977
+ "name": "",
978
+ "type": "string",
979
+ "indexed": false,
980
+ "internalType": "string"
981
+ }
982
+ ],
983
+ "anonymous": false
984
+ },
985
+ {
986
+ "type": "event",
987
+ "name": "log_uint",
988
+ "inputs": [
989
+ {
990
+ "name": "",
991
+ "type": "uint256",
992
+ "indexed": false,
993
+ "internalType": "uint256"
994
+ }
995
+ ],
996
+ "anonymous": false
997
+ },
998
+ {
999
+ "type": "event",
1000
+ "name": "logs",
1001
+ "inputs": [
1002
+ {
1003
+ "name": "",
1004
+ "type": "bytes",
1005
+ "indexed": false,
1006
+ "internalType": "bytes"
1007
+ }
1008
+ ],
1009
+ "anonymous": false
1010
+ }
1011
+ ]