@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,1034 @@
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": "test_cant_execute_if_not_allowed",
476
+ "inputs": [],
477
+ "outputs": [],
478
+ "stateMutability": "nonpayable"
479
+ },
480
+ {
481
+ "type": "function",
482
+ "name": "test_cant_transfer_if_not_allowed",
483
+ "inputs": [],
484
+ "outputs": [],
485
+ "stateMutability": "nonpayable"
486
+ },
487
+ {
488
+ "type": "function",
489
+ "name": "test_event_refined_erc20",
490
+ "inputs": [],
491
+ "outputs": [],
492
+ "stateMutability": "nonpayable"
493
+ },
494
+ {
495
+ "type": "function",
496
+ "name": "test_event_refined_eth",
497
+ "inputs": [],
498
+ "outputs": [],
499
+ "stateMutability": "nonpayable"
500
+ },
501
+ {
502
+ "type": "function",
503
+ "name": "test_execute",
504
+ "inputs": [],
505
+ "outputs": [],
506
+ "stateMutability": "nonpayable"
507
+ },
508
+ {
509
+ "type": "function",
510
+ "name": "test_execute_call_failure_allowFailure_false_reverts",
511
+ "inputs": [],
512
+ "outputs": [],
513
+ "stateMutability": "nonpayable"
514
+ },
515
+ {
516
+ "type": "function",
517
+ "name": "test_execute_call_failure_allowFailure_true_does_not_revert",
518
+ "inputs": [],
519
+ "outputs": [],
520
+ "stateMutability": "nonpayable"
521
+ },
522
+ {
523
+ "type": "function",
524
+ "name": "test_execute_empty_calls_ok",
525
+ "inputs": [],
526
+ "outputs": [],
527
+ "stateMutability": "nonpayable"
528
+ },
529
+ {
530
+ "type": "function",
531
+ "name": "test_no_event_when_amount_zero_erc20",
532
+ "inputs": [],
533
+ "outputs": [],
534
+ "stateMutability": "nonpayable"
535
+ },
536
+ {
537
+ "type": "function",
538
+ "name": "test_no_event_when_amount_zero_eth",
539
+ "inputs": [],
540
+ "outputs": [],
541
+ "stateMutability": "nonpayable"
542
+ },
543
+ {
544
+ "type": "function",
545
+ "name": "test_receive",
546
+ "inputs": [],
547
+ "outputs": [],
548
+ "stateMutability": "nonpayable"
549
+ },
550
+ {
551
+ "type": "function",
552
+ "name": "test_transfer_erc20",
553
+ "inputs": [],
554
+ "outputs": [],
555
+ "stateMutability": "nonpayable"
556
+ },
557
+ {
558
+ "type": "function",
559
+ "name": "test_transfer_erc20_bps_full",
560
+ "inputs": [],
561
+ "outputs": [],
562
+ "stateMutability": "nonpayable"
563
+ },
564
+ {
565
+ "type": "function",
566
+ "name": "test_transfer_erc20_bps_zero_noop",
567
+ "inputs": [],
568
+ "outputs": [],
569
+ "stateMutability": "nonpayable"
570
+ },
571
+ {
572
+ "type": "function",
573
+ "name": "test_transfer_erc20_zero_balance",
574
+ "inputs": [],
575
+ "outputs": [],
576
+ "stateMutability": "nonpayable"
577
+ },
578
+ {
579
+ "type": "function",
580
+ "name": "test_transfer_eth",
581
+ "inputs": [],
582
+ "outputs": [],
583
+ "stateMutability": "nonpayable"
584
+ },
585
+ {
586
+ "type": "function",
587
+ "name": "test_transfer_eth_bps_full",
588
+ "inputs": [],
589
+ "outputs": [],
590
+ "stateMutability": "nonpayable"
591
+ },
592
+ {
593
+ "type": "function",
594
+ "name": "test_transfer_eth_bps_zero_noop",
595
+ "inputs": [],
596
+ "outputs": [],
597
+ "stateMutability": "nonpayable"
598
+ },
599
+ {
600
+ "type": "function",
601
+ "name": "test_transfer_eth_zero_balance",
602
+ "inputs": [],
603
+ "outputs": [],
604
+ "stateMutability": "nonpayable"
605
+ },
606
+ {
607
+ "type": "function",
608
+ "name": "token",
609
+ "inputs": [],
610
+ "outputs": [
611
+ {
612
+ "name": "",
613
+ "type": "address",
614
+ "internalType": "contract ERC20Mock"
615
+ }
616
+ ],
617
+ "stateMutability": "view"
618
+ },
619
+ {
620
+ "type": "function",
621
+ "name": "token2",
622
+ "inputs": [],
623
+ "outputs": [
624
+ {
625
+ "name": "",
626
+ "type": "address",
627
+ "internalType": "contract ERC20Mock"
628
+ }
629
+ ],
630
+ "stateMutability": "view"
631
+ },
632
+ {
633
+ "type": "function",
634
+ "name": "wm",
635
+ "inputs": [],
636
+ "outputs": [
637
+ {
638
+ "name": "",
639
+ "type": "address",
640
+ "internalType": "address"
641
+ }
642
+ ],
643
+ "stateMutability": "view"
644
+ },
645
+ {
646
+ "type": "event",
647
+ "name": "Refined",
648
+ "inputs": [
649
+ {
650
+ "name": "token",
651
+ "type": "address",
652
+ "indexed": true,
653
+ "internalType": "address"
654
+ },
655
+ {
656
+ "name": "recipient",
657
+ "type": "address",
658
+ "indexed": true,
659
+ "internalType": "address"
660
+ },
661
+ {
662
+ "name": "amount",
663
+ "type": "uint256",
664
+ "indexed": false,
665
+ "internalType": "uint256"
666
+ }
667
+ ],
668
+ "anonymous": false
669
+ },
670
+ {
671
+ "type": "event",
672
+ "name": "log",
673
+ "inputs": [
674
+ {
675
+ "name": "",
676
+ "type": "string",
677
+ "indexed": false,
678
+ "internalType": "string"
679
+ }
680
+ ],
681
+ "anonymous": false
682
+ },
683
+ {
684
+ "type": "event",
685
+ "name": "log_address",
686
+ "inputs": [
687
+ {
688
+ "name": "",
689
+ "type": "address",
690
+ "indexed": false,
691
+ "internalType": "address"
692
+ }
693
+ ],
694
+ "anonymous": false
695
+ },
696
+ {
697
+ "type": "event",
698
+ "name": "log_array",
699
+ "inputs": [
700
+ {
701
+ "name": "val",
702
+ "type": "uint256[]",
703
+ "indexed": false,
704
+ "internalType": "uint256[]"
705
+ }
706
+ ],
707
+ "anonymous": false
708
+ },
709
+ {
710
+ "type": "event",
711
+ "name": "log_array",
712
+ "inputs": [
713
+ {
714
+ "name": "val",
715
+ "type": "int256[]",
716
+ "indexed": false,
717
+ "internalType": "int256[]"
718
+ }
719
+ ],
720
+ "anonymous": false
721
+ },
722
+ {
723
+ "type": "event",
724
+ "name": "log_array",
725
+ "inputs": [
726
+ {
727
+ "name": "val",
728
+ "type": "address[]",
729
+ "indexed": false,
730
+ "internalType": "address[]"
731
+ }
732
+ ],
733
+ "anonymous": false
734
+ },
735
+ {
736
+ "type": "event",
737
+ "name": "log_bytes",
738
+ "inputs": [
739
+ {
740
+ "name": "",
741
+ "type": "bytes",
742
+ "indexed": false,
743
+ "internalType": "bytes"
744
+ }
745
+ ],
746
+ "anonymous": false
747
+ },
748
+ {
749
+ "type": "event",
750
+ "name": "log_bytes32",
751
+ "inputs": [
752
+ {
753
+ "name": "",
754
+ "type": "bytes32",
755
+ "indexed": false,
756
+ "internalType": "bytes32"
757
+ }
758
+ ],
759
+ "anonymous": false
760
+ },
761
+ {
762
+ "type": "event",
763
+ "name": "log_int",
764
+ "inputs": [
765
+ {
766
+ "name": "",
767
+ "type": "int256",
768
+ "indexed": false,
769
+ "internalType": "int256"
770
+ }
771
+ ],
772
+ "anonymous": false
773
+ },
774
+ {
775
+ "type": "event",
776
+ "name": "log_named_address",
777
+ "inputs": [
778
+ {
779
+ "name": "key",
780
+ "type": "string",
781
+ "indexed": false,
782
+ "internalType": "string"
783
+ },
784
+ {
785
+ "name": "val",
786
+ "type": "address",
787
+ "indexed": false,
788
+ "internalType": "address"
789
+ }
790
+ ],
791
+ "anonymous": false
792
+ },
793
+ {
794
+ "type": "event",
795
+ "name": "log_named_array",
796
+ "inputs": [
797
+ {
798
+ "name": "key",
799
+ "type": "string",
800
+ "indexed": false,
801
+ "internalType": "string"
802
+ },
803
+ {
804
+ "name": "val",
805
+ "type": "uint256[]",
806
+ "indexed": false,
807
+ "internalType": "uint256[]"
808
+ }
809
+ ],
810
+ "anonymous": false
811
+ },
812
+ {
813
+ "type": "event",
814
+ "name": "log_named_array",
815
+ "inputs": [
816
+ {
817
+ "name": "key",
818
+ "type": "string",
819
+ "indexed": false,
820
+ "internalType": "string"
821
+ },
822
+ {
823
+ "name": "val",
824
+ "type": "int256[]",
825
+ "indexed": false,
826
+ "internalType": "int256[]"
827
+ }
828
+ ],
829
+ "anonymous": false
830
+ },
831
+ {
832
+ "type": "event",
833
+ "name": "log_named_array",
834
+ "inputs": [
835
+ {
836
+ "name": "key",
837
+ "type": "string",
838
+ "indexed": false,
839
+ "internalType": "string"
840
+ },
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_named_bytes",
853
+ "inputs": [
854
+ {
855
+ "name": "key",
856
+ "type": "string",
857
+ "indexed": false,
858
+ "internalType": "string"
859
+ },
860
+ {
861
+ "name": "val",
862
+ "type": "bytes",
863
+ "indexed": false,
864
+ "internalType": "bytes"
865
+ }
866
+ ],
867
+ "anonymous": false
868
+ },
869
+ {
870
+ "type": "event",
871
+ "name": "log_named_bytes32",
872
+ "inputs": [
873
+ {
874
+ "name": "key",
875
+ "type": "string",
876
+ "indexed": false,
877
+ "internalType": "string"
878
+ },
879
+ {
880
+ "name": "val",
881
+ "type": "bytes32",
882
+ "indexed": false,
883
+ "internalType": "bytes32"
884
+ }
885
+ ],
886
+ "anonymous": false
887
+ },
888
+ {
889
+ "type": "event",
890
+ "name": "log_named_decimal_int",
891
+ "inputs": [
892
+ {
893
+ "name": "key",
894
+ "type": "string",
895
+ "indexed": false,
896
+ "internalType": "string"
897
+ },
898
+ {
899
+ "name": "val",
900
+ "type": "int256",
901
+ "indexed": false,
902
+ "internalType": "int256"
903
+ },
904
+ {
905
+ "name": "decimals",
906
+ "type": "uint256",
907
+ "indexed": false,
908
+ "internalType": "uint256"
909
+ }
910
+ ],
911
+ "anonymous": false
912
+ },
913
+ {
914
+ "type": "event",
915
+ "name": "log_named_decimal_uint",
916
+ "inputs": [
917
+ {
918
+ "name": "key",
919
+ "type": "string",
920
+ "indexed": false,
921
+ "internalType": "string"
922
+ },
923
+ {
924
+ "name": "val",
925
+ "type": "uint256",
926
+ "indexed": false,
927
+ "internalType": "uint256"
928
+ },
929
+ {
930
+ "name": "decimals",
931
+ "type": "uint256",
932
+ "indexed": false,
933
+ "internalType": "uint256"
934
+ }
935
+ ],
936
+ "anonymous": false
937
+ },
938
+ {
939
+ "type": "event",
940
+ "name": "log_named_int",
941
+ "inputs": [
942
+ {
943
+ "name": "key",
944
+ "type": "string",
945
+ "indexed": false,
946
+ "internalType": "string"
947
+ },
948
+ {
949
+ "name": "val",
950
+ "type": "int256",
951
+ "indexed": false,
952
+ "internalType": "int256"
953
+ }
954
+ ],
955
+ "anonymous": false
956
+ },
957
+ {
958
+ "type": "event",
959
+ "name": "log_named_string",
960
+ "inputs": [
961
+ {
962
+ "name": "key",
963
+ "type": "string",
964
+ "indexed": false,
965
+ "internalType": "string"
966
+ },
967
+ {
968
+ "name": "val",
969
+ "type": "string",
970
+ "indexed": false,
971
+ "internalType": "string"
972
+ }
973
+ ],
974
+ "anonymous": false
975
+ },
976
+ {
977
+ "type": "event",
978
+ "name": "log_named_uint",
979
+ "inputs": [
980
+ {
981
+ "name": "key",
982
+ "type": "string",
983
+ "indexed": false,
984
+ "internalType": "string"
985
+ },
986
+ {
987
+ "name": "val",
988
+ "type": "uint256",
989
+ "indexed": false,
990
+ "internalType": "uint256"
991
+ }
992
+ ],
993
+ "anonymous": false
994
+ },
995
+ {
996
+ "type": "event",
997
+ "name": "log_string",
998
+ "inputs": [
999
+ {
1000
+ "name": "",
1001
+ "type": "string",
1002
+ "indexed": false,
1003
+ "internalType": "string"
1004
+ }
1005
+ ],
1006
+ "anonymous": false
1007
+ },
1008
+ {
1009
+ "type": "event",
1010
+ "name": "log_uint",
1011
+ "inputs": [
1012
+ {
1013
+ "name": "",
1014
+ "type": "uint256",
1015
+ "indexed": false,
1016
+ "internalType": "uint256"
1017
+ }
1018
+ ],
1019
+ "anonymous": false
1020
+ },
1021
+ {
1022
+ "type": "event",
1023
+ "name": "logs",
1024
+ "inputs": [
1025
+ {
1026
+ "name": "",
1027
+ "type": "bytes",
1028
+ "indexed": false,
1029
+ "internalType": "bytes"
1030
+ }
1031
+ ],
1032
+ "anonymous": false
1033
+ }
1034
+ ]