@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,876 @@
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": "cosignInValue",
44
+ "inputs": [],
45
+ "outputs": [
46
+ {
47
+ "name": "",
48
+ "type": "uint256",
49
+ "internalType": "uint256"
50
+ }
51
+ ],
52
+ "stateMutability": "view"
53
+ },
54
+ {
55
+ "type": "function",
56
+ "name": "cosignOutValue",
57
+ "inputs": [],
58
+ "outputs": [
59
+ {
60
+ "name": "",
61
+ "type": "uint256",
62
+ "internalType": "uint256"
63
+ }
64
+ ],
65
+ "stateMutability": "view"
66
+ },
67
+ {
68
+ "type": "function",
69
+ "name": "excludeArtifacts",
70
+ "inputs": [],
71
+ "outputs": [
72
+ {
73
+ "name": "excludedArtifacts_",
74
+ "type": "string[]",
75
+ "internalType": "string[]"
76
+ }
77
+ ],
78
+ "stateMutability": "view"
79
+ },
80
+ {
81
+ "type": "function",
82
+ "name": "excludeContracts",
83
+ "inputs": [],
84
+ "outputs": [
85
+ {
86
+ "name": "excludedContracts_",
87
+ "type": "address[]",
88
+ "internalType": "address[]"
89
+ }
90
+ ],
91
+ "stateMutability": "view"
92
+ },
93
+ {
94
+ "type": "function",
95
+ "name": "excludeSelectors",
96
+ "inputs": [],
97
+ "outputs": [
98
+ {
99
+ "name": "excludedSelectors_",
100
+ "type": "tuple[]",
101
+ "internalType": "struct StdInvariant.FuzzSelector[]",
102
+ "components": [
103
+ {
104
+ "name": "addr",
105
+ "type": "address",
106
+ "internalType": "address"
107
+ },
108
+ {
109
+ "name": "selectors",
110
+ "type": "bytes4[]",
111
+ "internalType": "bytes4[]"
112
+ }
113
+ ]
114
+ }
115
+ ],
116
+ "stateMutability": "view"
117
+ },
118
+ {
119
+ "type": "function",
120
+ "name": "excludeSenders",
121
+ "inputs": [],
122
+ "outputs": [
123
+ {
124
+ "name": "excludedSenders_",
125
+ "type": "address[]",
126
+ "internalType": "address[]"
127
+ }
128
+ ],
129
+ "stateMutability": "view"
130
+ },
131
+ {
132
+ "type": "function",
133
+ "name": "executor",
134
+ "inputs": [],
135
+ "outputs": [
136
+ {
137
+ "name": "",
138
+ "type": "address",
139
+ "internalType": "address"
140
+ }
141
+ ],
142
+ "stateMutability": "view"
143
+ },
144
+ {
145
+ "type": "function",
146
+ "name": "failed",
147
+ "inputs": [],
148
+ "outputs": [
149
+ {
150
+ "name": "",
151
+ "type": "bool",
152
+ "internalType": "bool"
153
+ }
154
+ ],
155
+ "stateMutability": "view"
156
+ },
157
+ {
158
+ "type": "function",
159
+ "name": "freshness",
160
+ "inputs": [],
161
+ "outputs": [
162
+ {
163
+ "name": "",
164
+ "type": "uint32",
165
+ "internalType": "uint32"
166
+ }
167
+ ],
168
+ "stateMutability": "view"
169
+ },
170
+ {
171
+ "type": "function",
172
+ "name": "inAmount",
173
+ "inputs": [],
174
+ "outputs": [
175
+ {
176
+ "name": "",
177
+ "type": "uint256",
178
+ "internalType": "uint256"
179
+ }
180
+ ],
181
+ "stateMutability": "view"
182
+ },
183
+ {
184
+ "type": "function",
185
+ "name": "inMax",
186
+ "inputs": [],
187
+ "outputs": [
188
+ {
189
+ "name": "",
190
+ "type": "uint256",
191
+ "internalType": "uint256"
192
+ }
193
+ ],
194
+ "stateMutability": "view"
195
+ },
196
+ {
197
+ "type": "function",
198
+ "name": "inToken",
199
+ "inputs": [],
200
+ "outputs": [
201
+ {
202
+ "name": "",
203
+ "type": "address",
204
+ "internalType": "address"
205
+ }
206
+ ],
207
+ "stateMutability": "view"
208
+ },
209
+ {
210
+ "type": "function",
211
+ "name": "other",
212
+ "inputs": [],
213
+ "outputs": [
214
+ {
215
+ "name": "",
216
+ "type": "address",
217
+ "internalType": "address"
218
+ }
219
+ ],
220
+ "stateMutability": "view"
221
+ },
222
+ {
223
+ "type": "function",
224
+ "name": "outAmount",
225
+ "inputs": [],
226
+ "outputs": [
227
+ {
228
+ "name": "",
229
+ "type": "uint256",
230
+ "internalType": "uint256"
231
+ }
232
+ ],
233
+ "stateMutability": "view"
234
+ },
235
+ {
236
+ "type": "function",
237
+ "name": "outMax",
238
+ "inputs": [],
239
+ "outputs": [
240
+ {
241
+ "name": "",
242
+ "type": "uint256",
243
+ "internalType": "uint256"
244
+ }
245
+ ],
246
+ "stateMutability": "view"
247
+ },
248
+ {
249
+ "type": "function",
250
+ "name": "outToken",
251
+ "inputs": [],
252
+ "outputs": [
253
+ {
254
+ "name": "",
255
+ "type": "address",
256
+ "internalType": "address"
257
+ }
258
+ ],
259
+ "stateMutability": "view"
260
+ },
261
+ {
262
+ "type": "function",
263
+ "name": "reactor",
264
+ "inputs": [],
265
+ "outputs": [
266
+ {
267
+ "name": "",
268
+ "type": "address",
269
+ "internalType": "address"
270
+ }
271
+ ],
272
+ "stateMutability": "view"
273
+ },
274
+ {
275
+ "type": "function",
276
+ "name": "recipient",
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": "repermit",
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": "setUp",
303
+ "inputs": [],
304
+ "outputs": [],
305
+ "stateMutability": "nonpayable"
306
+ },
307
+ {
308
+ "type": "function",
309
+ "name": "signer",
310
+ "inputs": [],
311
+ "outputs": [
312
+ {
313
+ "name": "",
314
+ "type": "address",
315
+ "internalType": "address"
316
+ }
317
+ ],
318
+ "stateMutability": "view"
319
+ },
320
+ {
321
+ "type": "function",
322
+ "name": "signerPK",
323
+ "inputs": [],
324
+ "outputs": [
325
+ {
326
+ "name": "",
327
+ "type": "uint256",
328
+ "internalType": "uint256"
329
+ }
330
+ ],
331
+ "stateMutability": "view"
332
+ },
333
+ {
334
+ "type": "function",
335
+ "name": "slippage",
336
+ "inputs": [],
337
+ "outputs": [
338
+ {
339
+ "name": "",
340
+ "type": "uint32",
341
+ "internalType": "uint32"
342
+ }
343
+ ],
344
+ "stateMutability": "view"
345
+ },
346
+ {
347
+ "type": "function",
348
+ "name": "swapper",
349
+ "inputs": [],
350
+ "outputs": [
351
+ {
352
+ "name": "",
353
+ "type": "address",
354
+ "internalType": "address"
355
+ }
356
+ ],
357
+ "stateMutability": "view"
358
+ },
359
+ {
360
+ "type": "function",
361
+ "name": "targetArtifactSelectors",
362
+ "inputs": [],
363
+ "outputs": [
364
+ {
365
+ "name": "targetedArtifactSelectors_",
366
+ "type": "tuple[]",
367
+ "internalType": "struct StdInvariant.FuzzArtifactSelector[]",
368
+ "components": [
369
+ {
370
+ "name": "artifact",
371
+ "type": "string",
372
+ "internalType": "string"
373
+ },
374
+ {
375
+ "name": "selectors",
376
+ "type": "bytes4[]",
377
+ "internalType": "bytes4[]"
378
+ }
379
+ ]
380
+ }
381
+ ],
382
+ "stateMutability": "view"
383
+ },
384
+ {
385
+ "type": "function",
386
+ "name": "targetArtifacts",
387
+ "inputs": [],
388
+ "outputs": [
389
+ {
390
+ "name": "targetedArtifacts_",
391
+ "type": "string[]",
392
+ "internalType": "string[]"
393
+ }
394
+ ],
395
+ "stateMutability": "view"
396
+ },
397
+ {
398
+ "type": "function",
399
+ "name": "targetContracts",
400
+ "inputs": [],
401
+ "outputs": [
402
+ {
403
+ "name": "targetedContracts_",
404
+ "type": "address[]",
405
+ "internalType": "address[]"
406
+ }
407
+ ],
408
+ "stateMutability": "view"
409
+ },
410
+ {
411
+ "type": "function",
412
+ "name": "targetInterfaces",
413
+ "inputs": [],
414
+ "outputs": [
415
+ {
416
+ "name": "targetedInterfaces_",
417
+ "type": "tuple[]",
418
+ "internalType": "struct StdInvariant.FuzzInterface[]",
419
+ "components": [
420
+ {
421
+ "name": "addr",
422
+ "type": "address",
423
+ "internalType": "address"
424
+ },
425
+ {
426
+ "name": "artifacts",
427
+ "type": "string[]",
428
+ "internalType": "string[]"
429
+ }
430
+ ]
431
+ }
432
+ ],
433
+ "stateMutability": "view"
434
+ },
435
+ {
436
+ "type": "function",
437
+ "name": "targetSelectors",
438
+ "inputs": [],
439
+ "outputs": [
440
+ {
441
+ "name": "targetedSelectors_",
442
+ "type": "tuple[]",
443
+ "internalType": "struct StdInvariant.FuzzSelector[]",
444
+ "components": [
445
+ {
446
+ "name": "addr",
447
+ "type": "address",
448
+ "internalType": "address"
449
+ },
450
+ {
451
+ "name": "selectors",
452
+ "type": "bytes4[]",
453
+ "internalType": "bytes4[]"
454
+ }
455
+ ]
456
+ }
457
+ ],
458
+ "stateMutability": "view"
459
+ },
460
+ {
461
+ "type": "function",
462
+ "name": "targetSenders",
463
+ "inputs": [],
464
+ "outputs": [
465
+ {
466
+ "name": "targetedSenders_",
467
+ "type": "address[]",
468
+ "internalType": "address[]"
469
+ }
470
+ ],
471
+ "stateMutability": "view"
472
+ },
473
+ {
474
+ "type": "function",
475
+ "name": "token",
476
+ "inputs": [],
477
+ "outputs": [
478
+ {
479
+ "name": "",
480
+ "type": "address",
481
+ "internalType": "contract ERC20Mock"
482
+ }
483
+ ],
484
+ "stateMutability": "view"
485
+ },
486
+ {
487
+ "type": "function",
488
+ "name": "token2",
489
+ "inputs": [],
490
+ "outputs": [
491
+ {
492
+ "name": "",
493
+ "type": "address",
494
+ "internalType": "contract ERC20Mock"
495
+ }
496
+ ],
497
+ "stateMutability": "view"
498
+ },
499
+ {
500
+ "type": "function",
501
+ "name": "wm",
502
+ "inputs": [],
503
+ "outputs": [
504
+ {
505
+ "name": "",
506
+ "type": "address",
507
+ "internalType": "address"
508
+ }
509
+ ],
510
+ "stateMutability": "view"
511
+ },
512
+ {
513
+ "type": "event",
514
+ "name": "log",
515
+ "inputs": [
516
+ {
517
+ "name": "",
518
+ "type": "string",
519
+ "indexed": false,
520
+ "internalType": "string"
521
+ }
522
+ ],
523
+ "anonymous": false
524
+ },
525
+ {
526
+ "type": "event",
527
+ "name": "log_address",
528
+ "inputs": [
529
+ {
530
+ "name": "",
531
+ "type": "address",
532
+ "indexed": false,
533
+ "internalType": "address"
534
+ }
535
+ ],
536
+ "anonymous": false
537
+ },
538
+ {
539
+ "type": "event",
540
+ "name": "log_array",
541
+ "inputs": [
542
+ {
543
+ "name": "val",
544
+ "type": "uint256[]",
545
+ "indexed": false,
546
+ "internalType": "uint256[]"
547
+ }
548
+ ],
549
+ "anonymous": false
550
+ },
551
+ {
552
+ "type": "event",
553
+ "name": "log_array",
554
+ "inputs": [
555
+ {
556
+ "name": "val",
557
+ "type": "int256[]",
558
+ "indexed": false,
559
+ "internalType": "int256[]"
560
+ }
561
+ ],
562
+ "anonymous": false
563
+ },
564
+ {
565
+ "type": "event",
566
+ "name": "log_array",
567
+ "inputs": [
568
+ {
569
+ "name": "val",
570
+ "type": "address[]",
571
+ "indexed": false,
572
+ "internalType": "address[]"
573
+ }
574
+ ],
575
+ "anonymous": false
576
+ },
577
+ {
578
+ "type": "event",
579
+ "name": "log_bytes",
580
+ "inputs": [
581
+ {
582
+ "name": "",
583
+ "type": "bytes",
584
+ "indexed": false,
585
+ "internalType": "bytes"
586
+ }
587
+ ],
588
+ "anonymous": false
589
+ },
590
+ {
591
+ "type": "event",
592
+ "name": "log_bytes32",
593
+ "inputs": [
594
+ {
595
+ "name": "",
596
+ "type": "bytes32",
597
+ "indexed": false,
598
+ "internalType": "bytes32"
599
+ }
600
+ ],
601
+ "anonymous": false
602
+ },
603
+ {
604
+ "type": "event",
605
+ "name": "log_int",
606
+ "inputs": [
607
+ {
608
+ "name": "",
609
+ "type": "int256",
610
+ "indexed": false,
611
+ "internalType": "int256"
612
+ }
613
+ ],
614
+ "anonymous": false
615
+ },
616
+ {
617
+ "type": "event",
618
+ "name": "log_named_address",
619
+ "inputs": [
620
+ {
621
+ "name": "key",
622
+ "type": "string",
623
+ "indexed": false,
624
+ "internalType": "string"
625
+ },
626
+ {
627
+ "name": "val",
628
+ "type": "address",
629
+ "indexed": false,
630
+ "internalType": "address"
631
+ }
632
+ ],
633
+ "anonymous": false
634
+ },
635
+ {
636
+ "type": "event",
637
+ "name": "log_named_array",
638
+ "inputs": [
639
+ {
640
+ "name": "key",
641
+ "type": "string",
642
+ "indexed": false,
643
+ "internalType": "string"
644
+ },
645
+ {
646
+ "name": "val",
647
+ "type": "uint256[]",
648
+ "indexed": false,
649
+ "internalType": "uint256[]"
650
+ }
651
+ ],
652
+ "anonymous": false
653
+ },
654
+ {
655
+ "type": "event",
656
+ "name": "log_named_array",
657
+ "inputs": [
658
+ {
659
+ "name": "key",
660
+ "type": "string",
661
+ "indexed": false,
662
+ "internalType": "string"
663
+ },
664
+ {
665
+ "name": "val",
666
+ "type": "int256[]",
667
+ "indexed": false,
668
+ "internalType": "int256[]"
669
+ }
670
+ ],
671
+ "anonymous": false
672
+ },
673
+ {
674
+ "type": "event",
675
+ "name": "log_named_array",
676
+ "inputs": [
677
+ {
678
+ "name": "key",
679
+ "type": "string",
680
+ "indexed": false,
681
+ "internalType": "string"
682
+ },
683
+ {
684
+ "name": "val",
685
+ "type": "address[]",
686
+ "indexed": false,
687
+ "internalType": "address[]"
688
+ }
689
+ ],
690
+ "anonymous": false
691
+ },
692
+ {
693
+ "type": "event",
694
+ "name": "log_named_bytes",
695
+ "inputs": [
696
+ {
697
+ "name": "key",
698
+ "type": "string",
699
+ "indexed": false,
700
+ "internalType": "string"
701
+ },
702
+ {
703
+ "name": "val",
704
+ "type": "bytes",
705
+ "indexed": false,
706
+ "internalType": "bytes"
707
+ }
708
+ ],
709
+ "anonymous": false
710
+ },
711
+ {
712
+ "type": "event",
713
+ "name": "log_named_bytes32",
714
+ "inputs": [
715
+ {
716
+ "name": "key",
717
+ "type": "string",
718
+ "indexed": false,
719
+ "internalType": "string"
720
+ },
721
+ {
722
+ "name": "val",
723
+ "type": "bytes32",
724
+ "indexed": false,
725
+ "internalType": "bytes32"
726
+ }
727
+ ],
728
+ "anonymous": false
729
+ },
730
+ {
731
+ "type": "event",
732
+ "name": "log_named_decimal_int",
733
+ "inputs": [
734
+ {
735
+ "name": "key",
736
+ "type": "string",
737
+ "indexed": false,
738
+ "internalType": "string"
739
+ },
740
+ {
741
+ "name": "val",
742
+ "type": "int256",
743
+ "indexed": false,
744
+ "internalType": "int256"
745
+ },
746
+ {
747
+ "name": "decimals",
748
+ "type": "uint256",
749
+ "indexed": false,
750
+ "internalType": "uint256"
751
+ }
752
+ ],
753
+ "anonymous": false
754
+ },
755
+ {
756
+ "type": "event",
757
+ "name": "log_named_decimal_uint",
758
+ "inputs": [
759
+ {
760
+ "name": "key",
761
+ "type": "string",
762
+ "indexed": false,
763
+ "internalType": "string"
764
+ },
765
+ {
766
+ "name": "val",
767
+ "type": "uint256",
768
+ "indexed": false,
769
+ "internalType": "uint256"
770
+ },
771
+ {
772
+ "name": "decimals",
773
+ "type": "uint256",
774
+ "indexed": false,
775
+ "internalType": "uint256"
776
+ }
777
+ ],
778
+ "anonymous": false
779
+ },
780
+ {
781
+ "type": "event",
782
+ "name": "log_named_int",
783
+ "inputs": [
784
+ {
785
+ "name": "key",
786
+ "type": "string",
787
+ "indexed": false,
788
+ "internalType": "string"
789
+ },
790
+ {
791
+ "name": "val",
792
+ "type": "int256",
793
+ "indexed": false,
794
+ "internalType": "int256"
795
+ }
796
+ ],
797
+ "anonymous": false
798
+ },
799
+ {
800
+ "type": "event",
801
+ "name": "log_named_string",
802
+ "inputs": [
803
+ {
804
+ "name": "key",
805
+ "type": "string",
806
+ "indexed": false,
807
+ "internalType": "string"
808
+ },
809
+ {
810
+ "name": "val",
811
+ "type": "string",
812
+ "indexed": false,
813
+ "internalType": "string"
814
+ }
815
+ ],
816
+ "anonymous": false
817
+ },
818
+ {
819
+ "type": "event",
820
+ "name": "log_named_uint",
821
+ "inputs": [
822
+ {
823
+ "name": "key",
824
+ "type": "string",
825
+ "indexed": false,
826
+ "internalType": "string"
827
+ },
828
+ {
829
+ "name": "val",
830
+ "type": "uint256",
831
+ "indexed": false,
832
+ "internalType": "uint256"
833
+ }
834
+ ],
835
+ "anonymous": false
836
+ },
837
+ {
838
+ "type": "event",
839
+ "name": "log_string",
840
+ "inputs": [
841
+ {
842
+ "name": "",
843
+ "type": "string",
844
+ "indexed": false,
845
+ "internalType": "string"
846
+ }
847
+ ],
848
+ "anonymous": false
849
+ },
850
+ {
851
+ "type": "event",
852
+ "name": "log_uint",
853
+ "inputs": [
854
+ {
855
+ "name": "",
856
+ "type": "uint256",
857
+ "indexed": false,
858
+ "internalType": "uint256"
859
+ }
860
+ ],
861
+ "anonymous": false
862
+ },
863
+ {
864
+ "type": "event",
865
+ "name": "logs",
866
+ "inputs": [
867
+ {
868
+ "name": "",
869
+ "type": "bytes",
870
+ "indexed": false,
871
+ "internalType": "bytes"
872
+ }
873
+ ],
874
+ "anonymous": false
875
+ }
876
+ ]