@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,1130 @@
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": "test_resolveOutAmount_ok",
711
+ "inputs": [],
712
+ "outputs": [],
713
+ "stateMutability": "nonpayable"
714
+ },
715
+ {
716
+ "type": "function",
717
+ "name": "test_resolveOutAmount_revert_cosigned_exceeds_max",
718
+ "inputs": [],
719
+ "outputs": [],
720
+ "stateMutability": "nonpayable"
721
+ },
722
+ {
723
+ "type": "function",
724
+ "name": "token",
725
+ "inputs": [],
726
+ "outputs": [
727
+ {
728
+ "name": "",
729
+ "type": "address",
730
+ "internalType": "contract ERC20Mock"
731
+ }
732
+ ],
733
+ "stateMutability": "view"
734
+ },
735
+ {
736
+ "type": "function",
737
+ "name": "token2",
738
+ "inputs": [],
739
+ "outputs": [
740
+ {
741
+ "name": "",
742
+ "type": "address",
743
+ "internalType": "contract ERC20Mock"
744
+ }
745
+ ],
746
+ "stateMutability": "view"
747
+ },
748
+ {
749
+ "type": "function",
750
+ "name": "wm",
751
+ "inputs": [],
752
+ "outputs": [
753
+ {
754
+ "name": "",
755
+ "type": "address",
756
+ "internalType": "address"
757
+ }
758
+ ],
759
+ "stateMutability": "view"
760
+ },
761
+ {
762
+ "type": "event",
763
+ "name": "log",
764
+ "inputs": [
765
+ {
766
+ "name": "",
767
+ "type": "string",
768
+ "indexed": false,
769
+ "internalType": "string"
770
+ }
771
+ ],
772
+ "anonymous": false
773
+ },
774
+ {
775
+ "type": "event",
776
+ "name": "log_address",
777
+ "inputs": [
778
+ {
779
+ "name": "",
780
+ "type": "address",
781
+ "indexed": false,
782
+ "internalType": "address"
783
+ }
784
+ ],
785
+ "anonymous": false
786
+ },
787
+ {
788
+ "type": "event",
789
+ "name": "log_array",
790
+ "inputs": [
791
+ {
792
+ "name": "val",
793
+ "type": "uint256[]",
794
+ "indexed": false,
795
+ "internalType": "uint256[]"
796
+ }
797
+ ],
798
+ "anonymous": false
799
+ },
800
+ {
801
+ "type": "event",
802
+ "name": "log_array",
803
+ "inputs": [
804
+ {
805
+ "name": "val",
806
+ "type": "int256[]",
807
+ "indexed": false,
808
+ "internalType": "int256[]"
809
+ }
810
+ ],
811
+ "anonymous": false
812
+ },
813
+ {
814
+ "type": "event",
815
+ "name": "log_array",
816
+ "inputs": [
817
+ {
818
+ "name": "val",
819
+ "type": "address[]",
820
+ "indexed": false,
821
+ "internalType": "address[]"
822
+ }
823
+ ],
824
+ "anonymous": false
825
+ },
826
+ {
827
+ "type": "event",
828
+ "name": "log_bytes",
829
+ "inputs": [
830
+ {
831
+ "name": "",
832
+ "type": "bytes",
833
+ "indexed": false,
834
+ "internalType": "bytes"
835
+ }
836
+ ],
837
+ "anonymous": false
838
+ },
839
+ {
840
+ "type": "event",
841
+ "name": "log_bytes32",
842
+ "inputs": [
843
+ {
844
+ "name": "",
845
+ "type": "bytes32",
846
+ "indexed": false,
847
+ "internalType": "bytes32"
848
+ }
849
+ ],
850
+ "anonymous": false
851
+ },
852
+ {
853
+ "type": "event",
854
+ "name": "log_int",
855
+ "inputs": [
856
+ {
857
+ "name": "",
858
+ "type": "int256",
859
+ "indexed": false,
860
+ "internalType": "int256"
861
+ }
862
+ ],
863
+ "anonymous": false
864
+ },
865
+ {
866
+ "type": "event",
867
+ "name": "log_named_address",
868
+ "inputs": [
869
+ {
870
+ "name": "key",
871
+ "type": "string",
872
+ "indexed": false,
873
+ "internalType": "string"
874
+ },
875
+ {
876
+ "name": "val",
877
+ "type": "address",
878
+ "indexed": false,
879
+ "internalType": "address"
880
+ }
881
+ ],
882
+ "anonymous": false
883
+ },
884
+ {
885
+ "type": "event",
886
+ "name": "log_named_array",
887
+ "inputs": [
888
+ {
889
+ "name": "key",
890
+ "type": "string",
891
+ "indexed": false,
892
+ "internalType": "string"
893
+ },
894
+ {
895
+ "name": "val",
896
+ "type": "uint256[]",
897
+ "indexed": false,
898
+ "internalType": "uint256[]"
899
+ }
900
+ ],
901
+ "anonymous": false
902
+ },
903
+ {
904
+ "type": "event",
905
+ "name": "log_named_array",
906
+ "inputs": [
907
+ {
908
+ "name": "key",
909
+ "type": "string",
910
+ "indexed": false,
911
+ "internalType": "string"
912
+ },
913
+ {
914
+ "name": "val",
915
+ "type": "int256[]",
916
+ "indexed": false,
917
+ "internalType": "int256[]"
918
+ }
919
+ ],
920
+ "anonymous": false
921
+ },
922
+ {
923
+ "type": "event",
924
+ "name": "log_named_array",
925
+ "inputs": [
926
+ {
927
+ "name": "key",
928
+ "type": "string",
929
+ "indexed": false,
930
+ "internalType": "string"
931
+ },
932
+ {
933
+ "name": "val",
934
+ "type": "address[]",
935
+ "indexed": false,
936
+ "internalType": "address[]"
937
+ }
938
+ ],
939
+ "anonymous": false
940
+ },
941
+ {
942
+ "type": "event",
943
+ "name": "log_named_bytes",
944
+ "inputs": [
945
+ {
946
+ "name": "key",
947
+ "type": "string",
948
+ "indexed": false,
949
+ "internalType": "string"
950
+ },
951
+ {
952
+ "name": "val",
953
+ "type": "bytes",
954
+ "indexed": false,
955
+ "internalType": "bytes"
956
+ }
957
+ ],
958
+ "anonymous": false
959
+ },
960
+ {
961
+ "type": "event",
962
+ "name": "log_named_bytes32",
963
+ "inputs": [
964
+ {
965
+ "name": "key",
966
+ "type": "string",
967
+ "indexed": false,
968
+ "internalType": "string"
969
+ },
970
+ {
971
+ "name": "val",
972
+ "type": "bytes32",
973
+ "indexed": false,
974
+ "internalType": "bytes32"
975
+ }
976
+ ],
977
+ "anonymous": false
978
+ },
979
+ {
980
+ "type": "event",
981
+ "name": "log_named_decimal_int",
982
+ "inputs": [
983
+ {
984
+ "name": "key",
985
+ "type": "string",
986
+ "indexed": false,
987
+ "internalType": "string"
988
+ },
989
+ {
990
+ "name": "val",
991
+ "type": "int256",
992
+ "indexed": false,
993
+ "internalType": "int256"
994
+ },
995
+ {
996
+ "name": "decimals",
997
+ "type": "uint256",
998
+ "indexed": false,
999
+ "internalType": "uint256"
1000
+ }
1001
+ ],
1002
+ "anonymous": false
1003
+ },
1004
+ {
1005
+ "type": "event",
1006
+ "name": "log_named_decimal_uint",
1007
+ "inputs": [
1008
+ {
1009
+ "name": "key",
1010
+ "type": "string",
1011
+ "indexed": false,
1012
+ "internalType": "string"
1013
+ },
1014
+ {
1015
+ "name": "val",
1016
+ "type": "uint256",
1017
+ "indexed": false,
1018
+ "internalType": "uint256"
1019
+ },
1020
+ {
1021
+ "name": "decimals",
1022
+ "type": "uint256",
1023
+ "indexed": false,
1024
+ "internalType": "uint256"
1025
+ }
1026
+ ],
1027
+ "anonymous": false
1028
+ },
1029
+ {
1030
+ "type": "event",
1031
+ "name": "log_named_int",
1032
+ "inputs": [
1033
+ {
1034
+ "name": "key",
1035
+ "type": "string",
1036
+ "indexed": false,
1037
+ "internalType": "string"
1038
+ },
1039
+ {
1040
+ "name": "val",
1041
+ "type": "int256",
1042
+ "indexed": false,
1043
+ "internalType": "int256"
1044
+ }
1045
+ ],
1046
+ "anonymous": false
1047
+ },
1048
+ {
1049
+ "type": "event",
1050
+ "name": "log_named_string",
1051
+ "inputs": [
1052
+ {
1053
+ "name": "key",
1054
+ "type": "string",
1055
+ "indexed": false,
1056
+ "internalType": "string"
1057
+ },
1058
+ {
1059
+ "name": "val",
1060
+ "type": "string",
1061
+ "indexed": false,
1062
+ "internalType": "string"
1063
+ }
1064
+ ],
1065
+ "anonymous": false
1066
+ },
1067
+ {
1068
+ "type": "event",
1069
+ "name": "log_named_uint",
1070
+ "inputs": [
1071
+ {
1072
+ "name": "key",
1073
+ "type": "string",
1074
+ "indexed": false,
1075
+ "internalType": "string"
1076
+ },
1077
+ {
1078
+ "name": "val",
1079
+ "type": "uint256",
1080
+ "indexed": false,
1081
+ "internalType": "uint256"
1082
+ }
1083
+ ],
1084
+ "anonymous": false
1085
+ },
1086
+ {
1087
+ "type": "event",
1088
+ "name": "log_string",
1089
+ "inputs": [
1090
+ {
1091
+ "name": "",
1092
+ "type": "string",
1093
+ "indexed": false,
1094
+ "internalType": "string"
1095
+ }
1096
+ ],
1097
+ "anonymous": false
1098
+ },
1099
+ {
1100
+ "type": "event",
1101
+ "name": "log_uint",
1102
+ "inputs": [
1103
+ {
1104
+ "name": "",
1105
+ "type": "uint256",
1106
+ "indexed": false,
1107
+ "internalType": "uint256"
1108
+ }
1109
+ ],
1110
+ "anonymous": false
1111
+ },
1112
+ {
1113
+ "type": "event",
1114
+ "name": "logs",
1115
+ "inputs": [
1116
+ {
1117
+ "name": "",
1118
+ "type": "bytes",
1119
+ "indexed": false,
1120
+ "internalType": "bytes"
1121
+ }
1122
+ ],
1123
+ "anonymous": false
1124
+ },
1125
+ {
1126
+ "type": "error",
1127
+ "name": "CosignedMaxAmount",
1128
+ "inputs": []
1129
+ }
1130
+ ]