@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,1154 @@
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": "callResolve",
44
+ "inputs": [
45
+ {
46
+ "name": "co",
47
+ "type": "tuple",
48
+ "internalType": "struct CosignedOrder",
49
+ "components": [
50
+ {
51
+ "name": "order",
52
+ "type": "tuple",
53
+ "internalType": "struct Order",
54
+ "components": [
55
+ {
56
+ "name": "reactor",
57
+ "type": "address",
58
+ "internalType": "address"
59
+ },
60
+ {
61
+ "name": "executor",
62
+ "type": "address",
63
+ "internalType": "address"
64
+ },
65
+ {
66
+ "name": "exchange",
67
+ "type": "tuple",
68
+ "internalType": "struct Exchange",
69
+ "components": [
70
+ {
71
+ "name": "adapter",
72
+ "type": "address",
73
+ "internalType": "address"
74
+ },
75
+ {
76
+ "name": "ref",
77
+ "type": "address",
78
+ "internalType": "address"
79
+ },
80
+ {
81
+ "name": "share",
82
+ "type": "uint32",
83
+ "internalType": "uint32"
84
+ },
85
+ {
86
+ "name": "data",
87
+ "type": "bytes",
88
+ "internalType": "bytes"
89
+ }
90
+ ]
91
+ },
92
+ {
93
+ "name": "swapper",
94
+ "type": "address",
95
+ "internalType": "address"
96
+ },
97
+ {
98
+ "name": "nonce",
99
+ "type": "uint256",
100
+ "internalType": "uint256"
101
+ },
102
+ {
103
+ "name": "deadline",
104
+ "type": "uint256",
105
+ "internalType": "uint256"
106
+ },
107
+ {
108
+ "name": "chainid",
109
+ "type": "uint256",
110
+ "internalType": "uint256"
111
+ },
112
+ {
113
+ "name": "exclusivity",
114
+ "type": "uint32",
115
+ "internalType": "uint32"
116
+ },
117
+ {
118
+ "name": "epoch",
119
+ "type": "uint32",
120
+ "internalType": "uint32"
121
+ },
122
+ {
123
+ "name": "slippage",
124
+ "type": "uint32",
125
+ "internalType": "uint32"
126
+ },
127
+ {
128
+ "name": "freshness",
129
+ "type": "uint32",
130
+ "internalType": "uint32"
131
+ },
132
+ {
133
+ "name": "input",
134
+ "type": "tuple",
135
+ "internalType": "struct Input",
136
+ "components": [
137
+ {
138
+ "name": "token",
139
+ "type": "address",
140
+ "internalType": "address"
141
+ },
142
+ {
143
+ "name": "amount",
144
+ "type": "uint256",
145
+ "internalType": "uint256"
146
+ },
147
+ {
148
+ "name": "maxAmount",
149
+ "type": "uint256",
150
+ "internalType": "uint256"
151
+ }
152
+ ]
153
+ },
154
+ {
155
+ "name": "output",
156
+ "type": "tuple",
157
+ "internalType": "struct Output",
158
+ "components": [
159
+ {
160
+ "name": "token",
161
+ "type": "address",
162
+ "internalType": "address"
163
+ },
164
+ {
165
+ "name": "amount",
166
+ "type": "uint256",
167
+ "internalType": "uint256"
168
+ },
169
+ {
170
+ "name": "maxAmount",
171
+ "type": "uint256",
172
+ "internalType": "uint256"
173
+ },
174
+ {
175
+ "name": "recipient",
176
+ "type": "address",
177
+ "internalType": "address"
178
+ }
179
+ ]
180
+ }
181
+ ]
182
+ },
183
+ {
184
+ "name": "signature",
185
+ "type": "bytes",
186
+ "internalType": "bytes"
187
+ },
188
+ {
189
+ "name": "cosignatureData",
190
+ "type": "tuple",
191
+ "internalType": "struct Cosignature",
192
+ "components": [
193
+ {
194
+ "name": "cosigner",
195
+ "type": "address",
196
+ "internalType": "address"
197
+ },
198
+ {
199
+ "name": "reactor",
200
+ "type": "address",
201
+ "internalType": "address"
202
+ },
203
+ {
204
+ "name": "chainid",
205
+ "type": "uint256",
206
+ "internalType": "uint256"
207
+ },
208
+ {
209
+ "name": "timestamp",
210
+ "type": "uint256",
211
+ "internalType": "uint256"
212
+ },
213
+ {
214
+ "name": "input",
215
+ "type": "tuple",
216
+ "internalType": "struct CosignedValue",
217
+ "components": [
218
+ {
219
+ "name": "token",
220
+ "type": "address",
221
+ "internalType": "address"
222
+ },
223
+ {
224
+ "name": "value",
225
+ "type": "uint256",
226
+ "internalType": "uint256"
227
+ },
228
+ {
229
+ "name": "decimals",
230
+ "type": "uint8",
231
+ "internalType": "uint8"
232
+ }
233
+ ]
234
+ },
235
+ {
236
+ "name": "output",
237
+ "type": "tuple",
238
+ "internalType": "struct CosignedValue",
239
+ "components": [
240
+ {
241
+ "name": "token",
242
+ "type": "address",
243
+ "internalType": "address"
244
+ },
245
+ {
246
+ "name": "value",
247
+ "type": "uint256",
248
+ "internalType": "uint256"
249
+ },
250
+ {
251
+ "name": "decimals",
252
+ "type": "uint8",
253
+ "internalType": "uint8"
254
+ }
255
+ ]
256
+ }
257
+ ]
258
+ },
259
+ {
260
+ "name": "cosignature",
261
+ "type": "bytes",
262
+ "internalType": "bytes"
263
+ }
264
+ ]
265
+ }
266
+ ],
267
+ "outputs": [
268
+ {
269
+ "name": "",
270
+ "type": "uint256",
271
+ "internalType": "uint256"
272
+ }
273
+ ],
274
+ "stateMutability": "pure"
275
+ },
276
+ {
277
+ "type": "function",
278
+ "name": "cosignInValue",
279
+ "inputs": [],
280
+ "outputs": [
281
+ {
282
+ "name": "",
283
+ "type": "uint256",
284
+ "internalType": "uint256"
285
+ }
286
+ ],
287
+ "stateMutability": "view"
288
+ },
289
+ {
290
+ "type": "function",
291
+ "name": "cosignOutValue",
292
+ "inputs": [],
293
+ "outputs": [
294
+ {
295
+ "name": "",
296
+ "type": "uint256",
297
+ "internalType": "uint256"
298
+ }
299
+ ],
300
+ "stateMutability": "view"
301
+ },
302
+ {
303
+ "type": "function",
304
+ "name": "excludeArtifacts",
305
+ "inputs": [],
306
+ "outputs": [
307
+ {
308
+ "name": "excludedArtifacts_",
309
+ "type": "string[]",
310
+ "internalType": "string[]"
311
+ }
312
+ ],
313
+ "stateMutability": "view"
314
+ },
315
+ {
316
+ "type": "function",
317
+ "name": "excludeContracts",
318
+ "inputs": [],
319
+ "outputs": [
320
+ {
321
+ "name": "excludedContracts_",
322
+ "type": "address[]",
323
+ "internalType": "address[]"
324
+ }
325
+ ],
326
+ "stateMutability": "view"
327
+ },
328
+ {
329
+ "type": "function",
330
+ "name": "excludeSelectors",
331
+ "inputs": [],
332
+ "outputs": [
333
+ {
334
+ "name": "excludedSelectors_",
335
+ "type": "tuple[]",
336
+ "internalType": "struct StdInvariant.FuzzSelector[]",
337
+ "components": [
338
+ {
339
+ "name": "addr",
340
+ "type": "address",
341
+ "internalType": "address"
342
+ },
343
+ {
344
+ "name": "selectors",
345
+ "type": "bytes4[]",
346
+ "internalType": "bytes4[]"
347
+ }
348
+ ]
349
+ }
350
+ ],
351
+ "stateMutability": "view"
352
+ },
353
+ {
354
+ "type": "function",
355
+ "name": "excludeSenders",
356
+ "inputs": [],
357
+ "outputs": [
358
+ {
359
+ "name": "excludedSenders_",
360
+ "type": "address[]",
361
+ "internalType": "address[]"
362
+ }
363
+ ],
364
+ "stateMutability": "view"
365
+ },
366
+ {
367
+ "type": "function",
368
+ "name": "executor",
369
+ "inputs": [],
370
+ "outputs": [
371
+ {
372
+ "name": "",
373
+ "type": "address",
374
+ "internalType": "address"
375
+ }
376
+ ],
377
+ "stateMutability": "view"
378
+ },
379
+ {
380
+ "type": "function",
381
+ "name": "failed",
382
+ "inputs": [],
383
+ "outputs": [
384
+ {
385
+ "name": "",
386
+ "type": "bool",
387
+ "internalType": "bool"
388
+ }
389
+ ],
390
+ "stateMutability": "view"
391
+ },
392
+ {
393
+ "type": "function",
394
+ "name": "freshness",
395
+ "inputs": [],
396
+ "outputs": [
397
+ {
398
+ "name": "",
399
+ "type": "uint32",
400
+ "internalType": "uint32"
401
+ }
402
+ ],
403
+ "stateMutability": "view"
404
+ },
405
+ {
406
+ "type": "function",
407
+ "name": "inAmount",
408
+ "inputs": [],
409
+ "outputs": [
410
+ {
411
+ "name": "",
412
+ "type": "uint256",
413
+ "internalType": "uint256"
414
+ }
415
+ ],
416
+ "stateMutability": "view"
417
+ },
418
+ {
419
+ "type": "function",
420
+ "name": "inMax",
421
+ "inputs": [],
422
+ "outputs": [
423
+ {
424
+ "name": "",
425
+ "type": "uint256",
426
+ "internalType": "uint256"
427
+ }
428
+ ],
429
+ "stateMutability": "view"
430
+ },
431
+ {
432
+ "type": "function",
433
+ "name": "inToken",
434
+ "inputs": [],
435
+ "outputs": [
436
+ {
437
+ "name": "",
438
+ "type": "address",
439
+ "internalType": "address"
440
+ }
441
+ ],
442
+ "stateMutability": "view"
443
+ },
444
+ {
445
+ "type": "function",
446
+ "name": "other",
447
+ "inputs": [],
448
+ "outputs": [
449
+ {
450
+ "name": "",
451
+ "type": "address",
452
+ "internalType": "address"
453
+ }
454
+ ],
455
+ "stateMutability": "view"
456
+ },
457
+ {
458
+ "type": "function",
459
+ "name": "outAmount",
460
+ "inputs": [],
461
+ "outputs": [
462
+ {
463
+ "name": "",
464
+ "type": "uint256",
465
+ "internalType": "uint256"
466
+ }
467
+ ],
468
+ "stateMutability": "view"
469
+ },
470
+ {
471
+ "type": "function",
472
+ "name": "outMax",
473
+ "inputs": [],
474
+ "outputs": [
475
+ {
476
+ "name": "",
477
+ "type": "uint256",
478
+ "internalType": "uint256"
479
+ }
480
+ ],
481
+ "stateMutability": "view"
482
+ },
483
+ {
484
+ "type": "function",
485
+ "name": "outToken",
486
+ "inputs": [],
487
+ "outputs": [
488
+ {
489
+ "name": "",
490
+ "type": "address",
491
+ "internalType": "address"
492
+ }
493
+ ],
494
+ "stateMutability": "view"
495
+ },
496
+ {
497
+ "type": "function",
498
+ "name": "reactor",
499
+ "inputs": [],
500
+ "outputs": [
501
+ {
502
+ "name": "",
503
+ "type": "address",
504
+ "internalType": "address"
505
+ }
506
+ ],
507
+ "stateMutability": "view"
508
+ },
509
+ {
510
+ "type": "function",
511
+ "name": "recipient",
512
+ "inputs": [],
513
+ "outputs": [
514
+ {
515
+ "name": "",
516
+ "type": "address",
517
+ "internalType": "address"
518
+ }
519
+ ],
520
+ "stateMutability": "view"
521
+ },
522
+ {
523
+ "type": "function",
524
+ "name": "repermit",
525
+ "inputs": [],
526
+ "outputs": [
527
+ {
528
+ "name": "",
529
+ "type": "address",
530
+ "internalType": "address"
531
+ }
532
+ ],
533
+ "stateMutability": "view"
534
+ },
535
+ {
536
+ "type": "function",
537
+ "name": "setUp",
538
+ "inputs": [],
539
+ "outputs": [],
540
+ "stateMutability": "nonpayable"
541
+ },
542
+ {
543
+ "type": "function",
544
+ "name": "signer",
545
+ "inputs": [],
546
+ "outputs": [
547
+ {
548
+ "name": "",
549
+ "type": "address",
550
+ "internalType": "address"
551
+ }
552
+ ],
553
+ "stateMutability": "view"
554
+ },
555
+ {
556
+ "type": "function",
557
+ "name": "signerPK",
558
+ "inputs": [],
559
+ "outputs": [
560
+ {
561
+ "name": "",
562
+ "type": "uint256",
563
+ "internalType": "uint256"
564
+ }
565
+ ],
566
+ "stateMutability": "view"
567
+ },
568
+ {
569
+ "type": "function",
570
+ "name": "slippage",
571
+ "inputs": [],
572
+ "outputs": [
573
+ {
574
+ "name": "",
575
+ "type": "uint32",
576
+ "internalType": "uint32"
577
+ }
578
+ ],
579
+ "stateMutability": "view"
580
+ },
581
+ {
582
+ "type": "function",
583
+ "name": "swapper",
584
+ "inputs": [],
585
+ "outputs": [
586
+ {
587
+ "name": "",
588
+ "type": "address",
589
+ "internalType": "address"
590
+ }
591
+ ],
592
+ "stateMutability": "view"
593
+ },
594
+ {
595
+ "type": "function",
596
+ "name": "targetArtifactSelectors",
597
+ "inputs": [],
598
+ "outputs": [
599
+ {
600
+ "name": "targetedArtifactSelectors_",
601
+ "type": "tuple[]",
602
+ "internalType": "struct StdInvariant.FuzzArtifactSelector[]",
603
+ "components": [
604
+ {
605
+ "name": "artifact",
606
+ "type": "string",
607
+ "internalType": "string"
608
+ },
609
+ {
610
+ "name": "selectors",
611
+ "type": "bytes4[]",
612
+ "internalType": "bytes4[]"
613
+ }
614
+ ]
615
+ }
616
+ ],
617
+ "stateMutability": "view"
618
+ },
619
+ {
620
+ "type": "function",
621
+ "name": "targetArtifacts",
622
+ "inputs": [],
623
+ "outputs": [
624
+ {
625
+ "name": "targetedArtifacts_",
626
+ "type": "string[]",
627
+ "internalType": "string[]"
628
+ }
629
+ ],
630
+ "stateMutability": "view"
631
+ },
632
+ {
633
+ "type": "function",
634
+ "name": "targetContracts",
635
+ "inputs": [],
636
+ "outputs": [
637
+ {
638
+ "name": "targetedContracts_",
639
+ "type": "address[]",
640
+ "internalType": "address[]"
641
+ }
642
+ ],
643
+ "stateMutability": "view"
644
+ },
645
+ {
646
+ "type": "function",
647
+ "name": "targetInterfaces",
648
+ "inputs": [],
649
+ "outputs": [
650
+ {
651
+ "name": "targetedInterfaces_",
652
+ "type": "tuple[]",
653
+ "internalType": "struct StdInvariant.FuzzInterface[]",
654
+ "components": [
655
+ {
656
+ "name": "addr",
657
+ "type": "address",
658
+ "internalType": "address"
659
+ },
660
+ {
661
+ "name": "artifacts",
662
+ "type": "string[]",
663
+ "internalType": "string[]"
664
+ }
665
+ ]
666
+ }
667
+ ],
668
+ "stateMutability": "view"
669
+ },
670
+ {
671
+ "type": "function",
672
+ "name": "targetSelectors",
673
+ "inputs": [],
674
+ "outputs": [
675
+ {
676
+ "name": "targetedSelectors_",
677
+ "type": "tuple[]",
678
+ "internalType": "struct StdInvariant.FuzzSelector[]",
679
+ "components": [
680
+ {
681
+ "name": "addr",
682
+ "type": "address",
683
+ "internalType": "address"
684
+ },
685
+ {
686
+ "name": "selectors",
687
+ "type": "bytes4[]",
688
+ "internalType": "bytes4[]"
689
+ }
690
+ ]
691
+ }
692
+ ],
693
+ "stateMutability": "view"
694
+ },
695
+ {
696
+ "type": "function",
697
+ "name": "targetSenders",
698
+ "inputs": [],
699
+ "outputs": [
700
+ {
701
+ "name": "targetedSenders_",
702
+ "type": "address[]",
703
+ "internalType": "address[]"
704
+ }
705
+ ],
706
+ "stateMutability": "view"
707
+ },
708
+ {
709
+ "type": "function",
710
+ "name": "testFuzz_resolveOutAmount_bounds",
711
+ "inputs": [
712
+ {
713
+ "name": "inAmount",
714
+ "type": "uint256",
715
+ "internalType": "uint256"
716
+ },
717
+ {
718
+ "name": "limit",
719
+ "type": "uint256",
720
+ "internalType": "uint256"
721
+ },
722
+ {
723
+ "name": "maxOut",
724
+ "type": "uint256",
725
+ "internalType": "uint256"
726
+ },
727
+ {
728
+ "name": "inputValue",
729
+ "type": "uint256",
730
+ "internalType": "uint256"
731
+ },
732
+ {
733
+ "name": "outputValue",
734
+ "type": "uint256",
735
+ "internalType": "uint256"
736
+ },
737
+ {
738
+ "name": "slippage",
739
+ "type": "uint256",
740
+ "internalType": "uint256"
741
+ }
742
+ ],
743
+ "outputs": [],
744
+ "stateMutability": "nonpayable"
745
+ },
746
+ {
747
+ "type": "function",
748
+ "name": "token",
749
+ "inputs": [],
750
+ "outputs": [
751
+ {
752
+ "name": "",
753
+ "type": "address",
754
+ "internalType": "contract ERC20Mock"
755
+ }
756
+ ],
757
+ "stateMutability": "view"
758
+ },
759
+ {
760
+ "type": "function",
761
+ "name": "token2",
762
+ "inputs": [],
763
+ "outputs": [
764
+ {
765
+ "name": "",
766
+ "type": "address",
767
+ "internalType": "contract ERC20Mock"
768
+ }
769
+ ],
770
+ "stateMutability": "view"
771
+ },
772
+ {
773
+ "type": "function",
774
+ "name": "wm",
775
+ "inputs": [],
776
+ "outputs": [
777
+ {
778
+ "name": "",
779
+ "type": "address",
780
+ "internalType": "address"
781
+ }
782
+ ],
783
+ "stateMutability": "view"
784
+ },
785
+ {
786
+ "type": "event",
787
+ "name": "log",
788
+ "inputs": [
789
+ {
790
+ "name": "",
791
+ "type": "string",
792
+ "indexed": false,
793
+ "internalType": "string"
794
+ }
795
+ ],
796
+ "anonymous": false
797
+ },
798
+ {
799
+ "type": "event",
800
+ "name": "log_address",
801
+ "inputs": [
802
+ {
803
+ "name": "",
804
+ "type": "address",
805
+ "indexed": false,
806
+ "internalType": "address"
807
+ }
808
+ ],
809
+ "anonymous": false
810
+ },
811
+ {
812
+ "type": "event",
813
+ "name": "log_array",
814
+ "inputs": [
815
+ {
816
+ "name": "val",
817
+ "type": "uint256[]",
818
+ "indexed": false,
819
+ "internalType": "uint256[]"
820
+ }
821
+ ],
822
+ "anonymous": false
823
+ },
824
+ {
825
+ "type": "event",
826
+ "name": "log_array",
827
+ "inputs": [
828
+ {
829
+ "name": "val",
830
+ "type": "int256[]",
831
+ "indexed": false,
832
+ "internalType": "int256[]"
833
+ }
834
+ ],
835
+ "anonymous": false
836
+ },
837
+ {
838
+ "type": "event",
839
+ "name": "log_array",
840
+ "inputs": [
841
+ {
842
+ "name": "val",
843
+ "type": "address[]",
844
+ "indexed": false,
845
+ "internalType": "address[]"
846
+ }
847
+ ],
848
+ "anonymous": false
849
+ },
850
+ {
851
+ "type": "event",
852
+ "name": "log_bytes",
853
+ "inputs": [
854
+ {
855
+ "name": "",
856
+ "type": "bytes",
857
+ "indexed": false,
858
+ "internalType": "bytes"
859
+ }
860
+ ],
861
+ "anonymous": false
862
+ },
863
+ {
864
+ "type": "event",
865
+ "name": "log_bytes32",
866
+ "inputs": [
867
+ {
868
+ "name": "",
869
+ "type": "bytes32",
870
+ "indexed": false,
871
+ "internalType": "bytes32"
872
+ }
873
+ ],
874
+ "anonymous": false
875
+ },
876
+ {
877
+ "type": "event",
878
+ "name": "log_int",
879
+ "inputs": [
880
+ {
881
+ "name": "",
882
+ "type": "int256",
883
+ "indexed": false,
884
+ "internalType": "int256"
885
+ }
886
+ ],
887
+ "anonymous": false
888
+ },
889
+ {
890
+ "type": "event",
891
+ "name": "log_named_address",
892
+ "inputs": [
893
+ {
894
+ "name": "key",
895
+ "type": "string",
896
+ "indexed": false,
897
+ "internalType": "string"
898
+ },
899
+ {
900
+ "name": "val",
901
+ "type": "address",
902
+ "indexed": false,
903
+ "internalType": "address"
904
+ }
905
+ ],
906
+ "anonymous": false
907
+ },
908
+ {
909
+ "type": "event",
910
+ "name": "log_named_array",
911
+ "inputs": [
912
+ {
913
+ "name": "key",
914
+ "type": "string",
915
+ "indexed": false,
916
+ "internalType": "string"
917
+ },
918
+ {
919
+ "name": "val",
920
+ "type": "uint256[]",
921
+ "indexed": false,
922
+ "internalType": "uint256[]"
923
+ }
924
+ ],
925
+ "anonymous": false
926
+ },
927
+ {
928
+ "type": "event",
929
+ "name": "log_named_array",
930
+ "inputs": [
931
+ {
932
+ "name": "key",
933
+ "type": "string",
934
+ "indexed": false,
935
+ "internalType": "string"
936
+ },
937
+ {
938
+ "name": "val",
939
+ "type": "int256[]",
940
+ "indexed": false,
941
+ "internalType": "int256[]"
942
+ }
943
+ ],
944
+ "anonymous": false
945
+ },
946
+ {
947
+ "type": "event",
948
+ "name": "log_named_array",
949
+ "inputs": [
950
+ {
951
+ "name": "key",
952
+ "type": "string",
953
+ "indexed": false,
954
+ "internalType": "string"
955
+ },
956
+ {
957
+ "name": "val",
958
+ "type": "address[]",
959
+ "indexed": false,
960
+ "internalType": "address[]"
961
+ }
962
+ ],
963
+ "anonymous": false
964
+ },
965
+ {
966
+ "type": "event",
967
+ "name": "log_named_bytes",
968
+ "inputs": [
969
+ {
970
+ "name": "key",
971
+ "type": "string",
972
+ "indexed": false,
973
+ "internalType": "string"
974
+ },
975
+ {
976
+ "name": "val",
977
+ "type": "bytes",
978
+ "indexed": false,
979
+ "internalType": "bytes"
980
+ }
981
+ ],
982
+ "anonymous": false
983
+ },
984
+ {
985
+ "type": "event",
986
+ "name": "log_named_bytes32",
987
+ "inputs": [
988
+ {
989
+ "name": "key",
990
+ "type": "string",
991
+ "indexed": false,
992
+ "internalType": "string"
993
+ },
994
+ {
995
+ "name": "val",
996
+ "type": "bytes32",
997
+ "indexed": false,
998
+ "internalType": "bytes32"
999
+ }
1000
+ ],
1001
+ "anonymous": false
1002
+ },
1003
+ {
1004
+ "type": "event",
1005
+ "name": "log_named_decimal_int",
1006
+ "inputs": [
1007
+ {
1008
+ "name": "key",
1009
+ "type": "string",
1010
+ "indexed": false,
1011
+ "internalType": "string"
1012
+ },
1013
+ {
1014
+ "name": "val",
1015
+ "type": "int256",
1016
+ "indexed": false,
1017
+ "internalType": "int256"
1018
+ },
1019
+ {
1020
+ "name": "decimals",
1021
+ "type": "uint256",
1022
+ "indexed": false,
1023
+ "internalType": "uint256"
1024
+ }
1025
+ ],
1026
+ "anonymous": false
1027
+ },
1028
+ {
1029
+ "type": "event",
1030
+ "name": "log_named_decimal_uint",
1031
+ "inputs": [
1032
+ {
1033
+ "name": "key",
1034
+ "type": "string",
1035
+ "indexed": false,
1036
+ "internalType": "string"
1037
+ },
1038
+ {
1039
+ "name": "val",
1040
+ "type": "uint256",
1041
+ "indexed": false,
1042
+ "internalType": "uint256"
1043
+ },
1044
+ {
1045
+ "name": "decimals",
1046
+ "type": "uint256",
1047
+ "indexed": false,
1048
+ "internalType": "uint256"
1049
+ }
1050
+ ],
1051
+ "anonymous": false
1052
+ },
1053
+ {
1054
+ "type": "event",
1055
+ "name": "log_named_int",
1056
+ "inputs": [
1057
+ {
1058
+ "name": "key",
1059
+ "type": "string",
1060
+ "indexed": false,
1061
+ "internalType": "string"
1062
+ },
1063
+ {
1064
+ "name": "val",
1065
+ "type": "int256",
1066
+ "indexed": false,
1067
+ "internalType": "int256"
1068
+ }
1069
+ ],
1070
+ "anonymous": false
1071
+ },
1072
+ {
1073
+ "type": "event",
1074
+ "name": "log_named_string",
1075
+ "inputs": [
1076
+ {
1077
+ "name": "key",
1078
+ "type": "string",
1079
+ "indexed": false,
1080
+ "internalType": "string"
1081
+ },
1082
+ {
1083
+ "name": "val",
1084
+ "type": "string",
1085
+ "indexed": false,
1086
+ "internalType": "string"
1087
+ }
1088
+ ],
1089
+ "anonymous": false
1090
+ },
1091
+ {
1092
+ "type": "event",
1093
+ "name": "log_named_uint",
1094
+ "inputs": [
1095
+ {
1096
+ "name": "key",
1097
+ "type": "string",
1098
+ "indexed": false,
1099
+ "internalType": "string"
1100
+ },
1101
+ {
1102
+ "name": "val",
1103
+ "type": "uint256",
1104
+ "indexed": false,
1105
+ "internalType": "uint256"
1106
+ }
1107
+ ],
1108
+ "anonymous": false
1109
+ },
1110
+ {
1111
+ "type": "event",
1112
+ "name": "log_string",
1113
+ "inputs": [
1114
+ {
1115
+ "name": "",
1116
+ "type": "string",
1117
+ "indexed": false,
1118
+ "internalType": "string"
1119
+ }
1120
+ ],
1121
+ "anonymous": false
1122
+ },
1123
+ {
1124
+ "type": "event",
1125
+ "name": "log_uint",
1126
+ "inputs": [
1127
+ {
1128
+ "name": "",
1129
+ "type": "uint256",
1130
+ "indexed": false,
1131
+ "internalType": "uint256"
1132
+ }
1133
+ ],
1134
+ "anonymous": false
1135
+ },
1136
+ {
1137
+ "type": "event",
1138
+ "name": "logs",
1139
+ "inputs": [
1140
+ {
1141
+ "name": "",
1142
+ "type": "bytes",
1143
+ "indexed": false,
1144
+ "internalType": "bytes"
1145
+ }
1146
+ ],
1147
+ "anonymous": false
1148
+ },
1149
+ {
1150
+ "type": "error",
1151
+ "name": "CosignedMaxAmount",
1152
+ "inputs": []
1153
+ }
1154
+ ]