@orbs-network/spot 0.0.1 → 0.0.3

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 (204) hide show
  1. package/README.md +25 -22
  2. package/index.js +16 -0
  3. package/out/00_DeployWM.s.sol/DeployWM.abi.json +0 -7
  4. package/out/00_DeployWM.s.sol/DeployWM.json +1 -1
  5. package/out/01_UpdateWMWhitelist.s.sol/UpdateWMWhitelist.abi.json +0 -7
  6. package/out/01_UpdateWMWhitelist.s.sol/UpdateWMWhitelist.json +1 -1
  7. package/out/02_DeployRepermit.s.sol/DeployRepermit.abi.json +0 -7
  8. package/out/02_DeployRepermit.s.sol/DeployRepermit.json +1 -1
  9. package/out/03_DeployReactor.s.sol/DeployReactor.abi.json +0 -7
  10. package/out/03_DeployReactor.s.sol/DeployReactor.json +1 -1
  11. package/out/04_DeployExecutor.s.sol/DeployExecutor.abi.json +0 -7
  12. package/out/04_DeployExecutor.s.sol/DeployExecutor.json +1 -1
  13. package/out/05_DeployDefaultExchange.s.sol/DeployDefaultExchange.abi.json +0 -7
  14. package/out/05_DeployDefaultExchange.s.sol/DeployDefaultExchange.json +1 -1
  15. package/out/06_DeployRefinery.s.sol/DeployRefinery.abi.json +0 -7
  16. package/out/06_DeployRefinery.s.sol/DeployRefinery.json +1 -1
  17. package/out/{BaseScript.sol/BaseScript.abi.json → 07_CheckOrderSignature.s.sol/CheckOrderSignature.abi.json} +13 -2
  18. package/out/07_CheckOrderSignature.s.sol/CheckOrderSignature.json +1 -0
  19. package/out/Address.sol/Address.abi.json +13 -1
  20. package/out/Address.sol/Address.json +1 -1
  21. package/out/Base.sol/CommonBase.json +1 -1
  22. package/out/Base.sol/ScriptBase.json +1 -1
  23. package/out/Base.sol/TestBase.json +1 -1
  24. package/out/BaseTest.sol/BaseTest.abi.json +0 -13
  25. package/out/BaseTest.sol/BaseTest.json +1 -1
  26. package/out/Bytes.sol/Bytes.abi.json +1 -0
  27. package/out/Bytes.sol/Bytes.json +1 -0
  28. package/out/Constants.sol/Constants.json +1 -1
  29. package/out/Context.sol/Context.json +1 -1
  30. package/out/CosignatureLib.sol/CosignatureLib.json +1 -1
  31. package/out/CosignatureLib.t.sol/CosignatureLibTest.abi.json +9 -15
  32. package/out/CosignatureLib.t.sol/CosignatureLibTest.json +1 -1
  33. package/out/DefaultDexAdapter.sol/DefaultDexAdapter.abi.json +47 -4
  34. package/out/DefaultDexAdapter.sol/DefaultDexAdapter.json +1 -1
  35. package/out/DefaultDexAdapter.t.sol/DefaultDexAdapterTest.abi.json +0 -13
  36. package/out/DefaultDexAdapter.t.sol/DefaultDexAdapterTest.json +1 -1
  37. package/out/ECDSA.sol/ECDSA.abi.json +29 -1
  38. package/out/ECDSA.sol/ECDSA.json +1 -1
  39. package/out/EIP712.sol/EIP712.json +1 -1
  40. package/out/ERC20.sol/ERC20.abi.json +89 -67
  41. package/out/ERC20.sol/ERC20.json +1 -1
  42. package/out/ERC20Mock.sol/ERC20Mock.abi.json +89 -51
  43. package/out/ERC20Mock.sol/ERC20Mock.json +1 -1
  44. package/out/EpochLib.sol/EpochLib.json +1 -1
  45. package/out/EpochLib.t.sol/EpochLibTest.abi.json +31 -0
  46. package/out/EpochLib.t.sol/EpochLibTest.json +1 -1
  47. package/out/Errors.sol/Errors.abi.json +39 -0
  48. package/out/Errors.sol/Errors.json +1 -0
  49. package/out/ExclusivityOverrideLib.sol/ExclusivityOverrideLib.json +1 -1
  50. package/out/ExclusivityOverrideLib.t.sol/ExclusivityCaller.json +1 -1
  51. package/out/ExclusivityOverrideLib.t.sol/ExclusivityLibTest.abi.json +0 -13
  52. package/out/ExclusivityOverrideLib.t.sol/ExclusivityLibTest.json +1 -1
  53. package/out/Executor.sol/Executor.abi.json +69 -21
  54. package/out/Executor.sol/Executor.json +1 -1
  55. package/out/Executor.t.sol/ExecutorTest.abi.json +0 -13
  56. package/out/Executor.t.sol/ExecutorTest.json +1 -1
  57. package/out/IEIP712.sol/IEIP712.json +1 -1
  58. package/out/IERC1271.sol/IERC1271.json +1 -1
  59. package/out/IERC1363.sol/IERC1363.abi.json +373 -0
  60. package/out/IERC1363.sol/IERC1363.json +1 -0
  61. package/out/IERC165.sol/IERC165.abi.json +21 -0
  62. package/out/IERC165.sol/IERC165.json +1 -0
  63. package/out/IERC20.sol/IERC20.abi.json +3 -3
  64. package/out/IERC20.sol/IERC20.json +1 -1
  65. package/out/IERC20Metadata.sol/IERC20Metadata.abi.json +3 -3
  66. package/out/IERC20Metadata.sol/IERC20Metadata.json +1 -1
  67. package/out/IERC5267.sol/IERC5267.json +1 -1
  68. package/out/IERC7913.sol/IERC7913SignatureVerifier.abi.json +31 -0
  69. package/out/IERC7913.sol/IERC7913SignatureVerifier.json +1 -0
  70. package/out/IExchangeAdapter.sol/IExchangeAdapter.abi.json +4 -4
  71. package/out/IExchangeAdapter.sol/IExchangeAdapter.json +1 -1
  72. package/out/IMulticall3.sol/IMulticall3.json +1 -1
  73. package/out/IReactor.sol/IReactor.abi.json +4 -4
  74. package/out/IReactor.sol/IReactor.json +1 -1
  75. package/out/IReactorCallback.sol/IReactorCallback.abi.json +4 -4
  76. package/out/IReactorCallback.sol/IReactorCallback.json +1 -1
  77. package/out/IWM.sol/IWM.json +1 -1
  78. package/out/LowLevelCall.sol/LowLevelCall.abi.json +1 -0
  79. package/out/LowLevelCall.sol/LowLevelCall.json +1 -0
  80. package/out/Math.sol/Math.json +1 -1
  81. package/out/MessageHashUtils.sol/MessageHashUtils.abi.json +1 -0
  82. package/out/MessageHashUtils.sol/MessageHashUtils.json +1 -0
  83. package/out/MockDexRouter.sol/MockDexRouter.json +1 -1
  84. package/out/MockReactor.sol/MockReactor.abi.json +8 -8
  85. package/out/MockReactor.sol/MockReactor.json +1 -1
  86. package/out/Multicall3Lib.sol/Multicall3Lib.json +1 -1
  87. package/out/OrderLib.sol/OrderLib.json +1 -1
  88. package/out/OrderReactor.E2E.t.sol/OrderReactorE2ETest.abi.json +0 -13
  89. package/out/OrderReactor.E2E.t.sol/OrderReactorE2ETest.json +1 -1
  90. package/out/OrderReactor.sol/OrderReactor.abi.json +134 -6
  91. package/out/OrderReactor.sol/OrderReactor.json +1 -1
  92. package/out/OrderReactorPause.t.sol/OrderReactorPauseTest.abi.json +937 -0
  93. package/out/OrderReactorPause.t.sol/OrderReactorPauseTest.json +1 -0
  94. package/out/OrderReactorPause.t.sol/SimpleCallback.abi.json +285 -0
  95. package/out/OrderReactorPause.t.sol/SimpleCallback.json +1 -0
  96. package/out/OrderValidationLib.Fuzz.t.sol/OrderValidationLibFuzzTest.abi.json +8 -16
  97. package/out/OrderValidationLib.Fuzz.t.sol/OrderValidationLibFuzzTest.json +1 -1
  98. package/out/OrderValidationLib.sol/OrderValidationLib.abi.json +6 -1
  99. package/out/OrderValidationLib.sol/OrderValidationLib.json +1 -1
  100. package/out/OrderValidationLib.t.sol/OrderValidationLibTest.abi.json +29 -16
  101. package/out/OrderValidationLib.t.sol/OrderValidationLibTest.json +1 -1
  102. package/out/Ownable.sol/Ownable.abi.json +22 -0
  103. package/out/Ownable.sol/Ownable.json +1 -1
  104. package/out/Ownable2Step.sol/Ownable2Step.abi.json +22 -0
  105. package/out/Ownable2Step.sol/Ownable2Step.json +1 -1
  106. package/out/Panic.sol/Panic.abi.json +1 -0
  107. package/out/Panic.sol/Panic.json +1 -0
  108. package/out/Pausable.sol/Pausable.abi.json +51 -0
  109. package/out/Pausable.sol/Pausable.json +1 -0
  110. package/out/RePermit.sol/RePermit.abi.json +11 -0
  111. package/out/RePermit.sol/RePermit.json +1 -1
  112. package/out/RePermit.t.sol/RePermitTest.abi.json +0 -13
  113. package/out/RePermit.t.sol/RePermitTest.json +1 -1
  114. package/out/RePermitLib.sol/RePermitLib.json +1 -1
  115. package/out/ReentrancyGuard.sol/ReentrancyGuard.abi.json +7 -1
  116. package/out/ReentrancyGuard.sol/ReentrancyGuard.json +1 -1
  117. package/out/Refinery.sol/Refinery.abi.json +32 -0
  118. package/out/Refinery.sol/Refinery.json +1 -1
  119. package/out/Refinery.t.sol/RefineryTest.abi.json +0 -13
  120. package/out/Refinery.t.sol/RefineryTest.json +1 -1
  121. package/out/ResolutionLib.Fuzz.t.sol/ResolutionLibFuzzTest.abi.json +3 -16
  122. package/out/ResolutionLib.Fuzz.t.sol/ResolutionLibFuzzTest.json +1 -1
  123. package/out/ResolutionLib.sol/ResolutionLib.abi.json +1 -1
  124. package/out/ResolutionLib.sol/ResolutionLib.json +1 -1
  125. package/out/ResolutionLib.t.sol/ResolutionLibTest.abi.json +3 -16
  126. package/out/ResolutionLib.t.sol/ResolutionLibTest.json +1 -1
  127. package/out/SafeCast.sol/SafeCast.abi.json +56 -0
  128. package/out/SafeCast.sol/SafeCast.json +1 -0
  129. package/out/SafeERC20.sol/SafeERC20.abi.json +34 -1
  130. package/out/SafeERC20.sol/SafeERC20.json +1 -1
  131. package/out/Script.sol/Script.json +1 -1
  132. package/out/SettlementLib.sol/SettlementLib.json +1 -1
  133. package/out/SettlementLib.t.sol/SettlementLibTest.abi.json +0 -13
  134. package/out/SettlementLib.t.sol/SettlementLibTest.json +1 -1
  135. package/out/SettlementLib.t.sol/SettlementWrapper.abi.json +36 -4
  136. package/out/SettlementLib.t.sol/SettlementWrapper.json +1 -1
  137. package/out/ShortStrings.sol/ShortStrings.json +1 -1
  138. package/out/SignatureChecker.sol/SignatureChecker.json +1 -1
  139. package/out/SignedMath.sol/SignedMath.json +1 -1
  140. package/out/StdAssertions.sol/StdAssertions.json +1 -1
  141. package/out/StdChains.sol/StdChains.json +1 -1
  142. package/out/StdCheats.sol/StdCheats.json +1 -1
  143. package/out/StdCheats.sol/StdCheatsSafe.json +1 -1
  144. package/out/StdConstants.sol/StdConstants.json +1 -1
  145. package/out/StdError.sol/stdError.json +1 -1
  146. package/out/StdInvariant.sol/StdInvariant.json +1 -1
  147. package/out/StdJson.sol/stdJson.json +1 -1
  148. package/out/StdMath.sol/stdMath.json +1 -1
  149. package/out/StdStorage.sol/stdStorage.json +1 -1
  150. package/out/StdStorage.sol/stdStorageSafe.json +1 -1
  151. package/out/StdStyle.sol/StdStyle.json +1 -1
  152. package/out/StdToml.sol/stdToml.json +1 -1
  153. package/out/StdUtils.sol/StdUtils.json +1 -1
  154. package/out/StorageSlot.sol/StorageSlot.json +1 -1
  155. package/out/Strings.sol/Strings.abi.json +28 -1
  156. package/out/Strings.sol/Strings.json +1 -1
  157. package/out/SurplusLib.sol/SurplusLib.json +1 -1
  158. package/out/SurplusLib.t.sol/SurplusHarness.abi.json +99 -0
  159. package/out/SurplusLib.t.sol/SurplusHarness.json +1 -0
  160. package/out/SurplusLib.t.sol/SurplusLibTest.abi.json +649 -0
  161. package/out/SurplusLib.t.sol/SurplusLibTest.json +1 -0
  162. package/out/SwapAdapter.sol/SwapAdapterMock.abi.json +4 -4
  163. package/out/SwapAdapter.sol/SwapAdapterMock.json +1 -1
  164. package/out/Test.sol/Test.json +1 -1
  165. package/out/TokenLib.sol/TokenLib.json +1 -1
  166. package/out/USDTMock.sol/USDTMock.abi.json +88 -50
  167. package/out/USDTMock.sol/USDTMock.json +1 -1
  168. package/out/Vm.sol/Vm.json +1 -1
  169. package/out/Vm.sol/VmSafe.json +1 -1
  170. package/out/WM.sol/WM.abi.json +22 -0
  171. package/out/WM.sol/WM.json +1 -1
  172. package/out/WM.t.sol/WMTest.abi.json +0 -13
  173. package/out/WM.t.sol/WMTest.json +1 -1
  174. package/out/WMAllowed.sol/WMAllowed.abi.json +20 -0
  175. package/out/WMAllowed.sol/WMAllowed.json +1 -0
  176. package/out/build-info/037112f63429c300b44e96328184f05a.json +1 -0
  177. package/out/build-info/16de2dd5b443b11d72d219dfcd1709b9.json +1 -0
  178. package/out/build-info/50bc67b585dbea6ac87fe65f446e0ec8.json +1 -0
  179. package/out/build-info/59250f5d4903fd400804c8dcf9731df6.json +1 -0
  180. package/out/build-info/9c92abef5721c2db19a5f93602da1109.json +1 -0
  181. package/out/build-info/dc9b337f3ebd0040efbc89ac5318ff6e.json +1 -0
  182. package/out/build-info/e3089fca92b0a40eb41a6add475e1864.json +1 -0
  183. package/out/build-info/f3a0be9d4dbd4ae836db0c7e923178fd.json +1 -0
  184. package/out/build-info/ffa3efad6bfcb2b770c05c8e61943032.json +1 -0
  185. package/out/console.sol/console.json +1 -1
  186. package/out/draft-IERC6093.sol/IERC1155Errors.abi.json +104 -0
  187. package/out/draft-IERC6093.sol/IERC1155Errors.json +1 -0
  188. package/out/draft-IERC6093.sol/IERC20Errors.abi.json +88 -0
  189. package/out/draft-IERC6093.sol/IERC20Errors.json +1 -0
  190. package/out/draft-IERC6093.sol/IERC721Errors.abi.json +105 -0
  191. package/out/draft-IERC6093.sol/IERC721Errors.json +1 -0
  192. package/out/safeconsole.sol/safeconsole.json +1 -1
  193. package/package.json +6 -4
  194. package/script/input/config.json +8 -8
  195. package/script/input/order.json +61 -0
  196. package/script/input/repermit.skeleton.json +4 -4
  197. package/out/BaseScript.sol/BaseScript.json +0 -1
  198. package/out/IERC20Permit.sol/IERC20Permit.abi.json +0 -77
  199. package/out/IERC20Permit.sol/IERC20Permit.json +0 -1
  200. package/out/build-info/363db87197fc9814c7bfdf743fe3f032.json +0 -1
  201. package/out/build-info/58edb1e201d69cafa30a8647665617e6.json +0 -1
  202. package/out/build-info/73bd7c3e9ec8bc61cee51a6d313820a9.json +0 -1
  203. package/out/build-info/77f38a2f64e07d9cd0b3e2102d7863fd.json +0 -1
  204. package/out/build-info/c14311d7870724b723128a4d397b0f4c.json +0 -1
@@ -0,0 +1,937 @@
1
+ [
2
+ {
3
+ "type": "function",
4
+ "name": "IS_TEST",
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": "adapter",
18
+ "inputs": [],
19
+ "outputs": [
20
+ {
21
+ "name": "",
22
+ "type": "address",
23
+ "internalType": "address"
24
+ }
25
+ ],
26
+ "stateMutability": "view"
27
+ },
28
+ {
29
+ "type": "function",
30
+ "name": "allowedUser",
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": "notAllowedUser",
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": "other",
225
+ "inputs": [],
226
+ "outputs": [
227
+ {
228
+ "name": "",
229
+ "type": "address",
230
+ "internalType": "address"
231
+ }
232
+ ],
233
+ "stateMutability": "view"
234
+ },
235
+ {
236
+ "type": "function",
237
+ "name": "outAmount",
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": "outMax",
251
+ "inputs": [],
252
+ "outputs": [
253
+ {
254
+ "name": "",
255
+ "type": "uint256",
256
+ "internalType": "uint256"
257
+ }
258
+ ],
259
+ "stateMutability": "view"
260
+ },
261
+ {
262
+ "type": "function",
263
+ "name": "outToken",
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": "reactor",
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": "reactorUut",
290
+ "inputs": [],
291
+ "outputs": [
292
+ {
293
+ "name": "",
294
+ "type": "address",
295
+ "internalType": "contract OrderReactor"
296
+ }
297
+ ],
298
+ "stateMutability": "view"
299
+ },
300
+ {
301
+ "type": "function",
302
+ "name": "recipient",
303
+ "inputs": [],
304
+ "outputs": [
305
+ {
306
+ "name": "",
307
+ "type": "address",
308
+ "internalType": "address"
309
+ }
310
+ ],
311
+ "stateMutability": "view"
312
+ },
313
+ {
314
+ "type": "function",
315
+ "name": "repermit",
316
+ "inputs": [],
317
+ "outputs": [
318
+ {
319
+ "name": "",
320
+ "type": "address",
321
+ "internalType": "address"
322
+ }
323
+ ],
324
+ "stateMutability": "view"
325
+ },
326
+ {
327
+ "type": "function",
328
+ "name": "setUp",
329
+ "inputs": [],
330
+ "outputs": [],
331
+ "stateMutability": "nonpayable"
332
+ },
333
+ {
334
+ "type": "function",
335
+ "name": "signer",
336
+ "inputs": [],
337
+ "outputs": [
338
+ {
339
+ "name": "",
340
+ "type": "address",
341
+ "internalType": "address"
342
+ }
343
+ ],
344
+ "stateMutability": "view"
345
+ },
346
+ {
347
+ "type": "function",
348
+ "name": "signerPK",
349
+ "inputs": [],
350
+ "outputs": [
351
+ {
352
+ "name": "",
353
+ "type": "uint256",
354
+ "internalType": "uint256"
355
+ }
356
+ ],
357
+ "stateMutability": "view"
358
+ },
359
+ {
360
+ "type": "function",
361
+ "name": "slippage",
362
+ "inputs": [],
363
+ "outputs": [
364
+ {
365
+ "name": "",
366
+ "type": "uint32",
367
+ "internalType": "uint32"
368
+ }
369
+ ],
370
+ "stateMutability": "view"
371
+ },
372
+ {
373
+ "type": "function",
374
+ "name": "swapper",
375
+ "inputs": [],
376
+ "outputs": [
377
+ {
378
+ "name": "",
379
+ "type": "address",
380
+ "internalType": "address"
381
+ }
382
+ ],
383
+ "stateMutability": "view"
384
+ },
385
+ {
386
+ "type": "function",
387
+ "name": "targetArtifactSelectors",
388
+ "inputs": [],
389
+ "outputs": [
390
+ {
391
+ "name": "targetedArtifactSelectors_",
392
+ "type": "tuple[]",
393
+ "internalType": "struct StdInvariant.FuzzArtifactSelector[]",
394
+ "components": [
395
+ {
396
+ "name": "artifact",
397
+ "type": "string",
398
+ "internalType": "string"
399
+ },
400
+ {
401
+ "name": "selectors",
402
+ "type": "bytes4[]",
403
+ "internalType": "bytes4[]"
404
+ }
405
+ ]
406
+ }
407
+ ],
408
+ "stateMutability": "view"
409
+ },
410
+ {
411
+ "type": "function",
412
+ "name": "targetArtifacts",
413
+ "inputs": [],
414
+ "outputs": [
415
+ {
416
+ "name": "targetedArtifacts_",
417
+ "type": "string[]",
418
+ "internalType": "string[]"
419
+ }
420
+ ],
421
+ "stateMutability": "view"
422
+ },
423
+ {
424
+ "type": "function",
425
+ "name": "targetContracts",
426
+ "inputs": [],
427
+ "outputs": [
428
+ {
429
+ "name": "targetedContracts_",
430
+ "type": "address[]",
431
+ "internalType": "address[]"
432
+ }
433
+ ],
434
+ "stateMutability": "view"
435
+ },
436
+ {
437
+ "type": "function",
438
+ "name": "targetInterfaces",
439
+ "inputs": [],
440
+ "outputs": [
441
+ {
442
+ "name": "targetedInterfaces_",
443
+ "type": "tuple[]",
444
+ "internalType": "struct StdInvariant.FuzzInterface[]",
445
+ "components": [
446
+ {
447
+ "name": "addr",
448
+ "type": "address",
449
+ "internalType": "address"
450
+ },
451
+ {
452
+ "name": "artifacts",
453
+ "type": "string[]",
454
+ "internalType": "string[]"
455
+ }
456
+ ]
457
+ }
458
+ ],
459
+ "stateMutability": "view"
460
+ },
461
+ {
462
+ "type": "function",
463
+ "name": "targetSelectors",
464
+ "inputs": [],
465
+ "outputs": [
466
+ {
467
+ "name": "targetedSelectors_",
468
+ "type": "tuple[]",
469
+ "internalType": "struct StdInvariant.FuzzSelector[]",
470
+ "components": [
471
+ {
472
+ "name": "addr",
473
+ "type": "address",
474
+ "internalType": "address"
475
+ },
476
+ {
477
+ "name": "selectors",
478
+ "type": "bytes4[]",
479
+ "internalType": "bytes4[]"
480
+ }
481
+ ]
482
+ }
483
+ ],
484
+ "stateMutability": "view"
485
+ },
486
+ {
487
+ "type": "function",
488
+ "name": "targetSenders",
489
+ "inputs": [],
490
+ "outputs": [
491
+ {
492
+ "name": "targetedSenders_",
493
+ "type": "address[]",
494
+ "internalType": "address[]"
495
+ }
496
+ ],
497
+ "stateMutability": "view"
498
+ },
499
+ {
500
+ "type": "function",
501
+ "name": "test_executeWithCallback_reverts_when_paused",
502
+ "inputs": [],
503
+ "outputs": [],
504
+ "stateMutability": "nonpayable"
505
+ },
506
+ {
507
+ "type": "function",
508
+ "name": "test_pause_allowed_user_can_pause",
509
+ "inputs": [],
510
+ "outputs": [],
511
+ "stateMutability": "nonpayable"
512
+ },
513
+ {
514
+ "type": "function",
515
+ "name": "test_pause_reverts_when_not_allowed",
516
+ "inputs": [],
517
+ "outputs": [],
518
+ "stateMutability": "nonpayable"
519
+ },
520
+ {
521
+ "type": "function",
522
+ "name": "test_unpause_allowed_user_can_unpause",
523
+ "inputs": [],
524
+ "outputs": [],
525
+ "stateMutability": "nonpayable"
526
+ },
527
+ {
528
+ "type": "function",
529
+ "name": "test_unpause_reverts_when_not_allowed",
530
+ "inputs": [],
531
+ "outputs": [],
532
+ "stateMutability": "nonpayable"
533
+ },
534
+ {
535
+ "type": "function",
536
+ "name": "token",
537
+ "inputs": [],
538
+ "outputs": [
539
+ {
540
+ "name": "",
541
+ "type": "address",
542
+ "internalType": "contract ERC20Mock"
543
+ }
544
+ ],
545
+ "stateMutability": "view"
546
+ },
547
+ {
548
+ "type": "function",
549
+ "name": "token2",
550
+ "inputs": [],
551
+ "outputs": [
552
+ {
553
+ "name": "",
554
+ "type": "address",
555
+ "internalType": "contract ERC20Mock"
556
+ }
557
+ ],
558
+ "stateMutability": "view"
559
+ },
560
+ {
561
+ "type": "function",
562
+ "name": "wm",
563
+ "inputs": [],
564
+ "outputs": [
565
+ {
566
+ "name": "",
567
+ "type": "address",
568
+ "internalType": "address"
569
+ }
570
+ ],
571
+ "stateMutability": "view"
572
+ },
573
+ {
574
+ "type": "event",
575
+ "name": "log",
576
+ "inputs": [
577
+ {
578
+ "name": "",
579
+ "type": "string",
580
+ "indexed": false,
581
+ "internalType": "string"
582
+ }
583
+ ],
584
+ "anonymous": false
585
+ },
586
+ {
587
+ "type": "event",
588
+ "name": "log_address",
589
+ "inputs": [
590
+ {
591
+ "name": "",
592
+ "type": "address",
593
+ "indexed": false,
594
+ "internalType": "address"
595
+ }
596
+ ],
597
+ "anonymous": false
598
+ },
599
+ {
600
+ "type": "event",
601
+ "name": "log_array",
602
+ "inputs": [
603
+ {
604
+ "name": "val",
605
+ "type": "uint256[]",
606
+ "indexed": false,
607
+ "internalType": "uint256[]"
608
+ }
609
+ ],
610
+ "anonymous": false
611
+ },
612
+ {
613
+ "type": "event",
614
+ "name": "log_array",
615
+ "inputs": [
616
+ {
617
+ "name": "val",
618
+ "type": "int256[]",
619
+ "indexed": false,
620
+ "internalType": "int256[]"
621
+ }
622
+ ],
623
+ "anonymous": false
624
+ },
625
+ {
626
+ "type": "event",
627
+ "name": "log_array",
628
+ "inputs": [
629
+ {
630
+ "name": "val",
631
+ "type": "address[]",
632
+ "indexed": false,
633
+ "internalType": "address[]"
634
+ }
635
+ ],
636
+ "anonymous": false
637
+ },
638
+ {
639
+ "type": "event",
640
+ "name": "log_bytes",
641
+ "inputs": [
642
+ {
643
+ "name": "",
644
+ "type": "bytes",
645
+ "indexed": false,
646
+ "internalType": "bytes"
647
+ }
648
+ ],
649
+ "anonymous": false
650
+ },
651
+ {
652
+ "type": "event",
653
+ "name": "log_bytes32",
654
+ "inputs": [
655
+ {
656
+ "name": "",
657
+ "type": "bytes32",
658
+ "indexed": false,
659
+ "internalType": "bytes32"
660
+ }
661
+ ],
662
+ "anonymous": false
663
+ },
664
+ {
665
+ "type": "event",
666
+ "name": "log_int",
667
+ "inputs": [
668
+ {
669
+ "name": "",
670
+ "type": "int256",
671
+ "indexed": false,
672
+ "internalType": "int256"
673
+ }
674
+ ],
675
+ "anonymous": false
676
+ },
677
+ {
678
+ "type": "event",
679
+ "name": "log_named_address",
680
+ "inputs": [
681
+ {
682
+ "name": "key",
683
+ "type": "string",
684
+ "indexed": false,
685
+ "internalType": "string"
686
+ },
687
+ {
688
+ "name": "val",
689
+ "type": "address",
690
+ "indexed": false,
691
+ "internalType": "address"
692
+ }
693
+ ],
694
+ "anonymous": false
695
+ },
696
+ {
697
+ "type": "event",
698
+ "name": "log_named_array",
699
+ "inputs": [
700
+ {
701
+ "name": "key",
702
+ "type": "string",
703
+ "indexed": false,
704
+ "internalType": "string"
705
+ },
706
+ {
707
+ "name": "val",
708
+ "type": "uint256[]",
709
+ "indexed": false,
710
+ "internalType": "uint256[]"
711
+ }
712
+ ],
713
+ "anonymous": false
714
+ },
715
+ {
716
+ "type": "event",
717
+ "name": "log_named_array",
718
+ "inputs": [
719
+ {
720
+ "name": "key",
721
+ "type": "string",
722
+ "indexed": false,
723
+ "internalType": "string"
724
+ },
725
+ {
726
+ "name": "val",
727
+ "type": "int256[]",
728
+ "indexed": false,
729
+ "internalType": "int256[]"
730
+ }
731
+ ],
732
+ "anonymous": false
733
+ },
734
+ {
735
+ "type": "event",
736
+ "name": "log_named_array",
737
+ "inputs": [
738
+ {
739
+ "name": "key",
740
+ "type": "string",
741
+ "indexed": false,
742
+ "internalType": "string"
743
+ },
744
+ {
745
+ "name": "val",
746
+ "type": "address[]",
747
+ "indexed": false,
748
+ "internalType": "address[]"
749
+ }
750
+ ],
751
+ "anonymous": false
752
+ },
753
+ {
754
+ "type": "event",
755
+ "name": "log_named_bytes",
756
+ "inputs": [
757
+ {
758
+ "name": "key",
759
+ "type": "string",
760
+ "indexed": false,
761
+ "internalType": "string"
762
+ },
763
+ {
764
+ "name": "val",
765
+ "type": "bytes",
766
+ "indexed": false,
767
+ "internalType": "bytes"
768
+ }
769
+ ],
770
+ "anonymous": false
771
+ },
772
+ {
773
+ "type": "event",
774
+ "name": "log_named_bytes32",
775
+ "inputs": [
776
+ {
777
+ "name": "key",
778
+ "type": "string",
779
+ "indexed": false,
780
+ "internalType": "string"
781
+ },
782
+ {
783
+ "name": "val",
784
+ "type": "bytes32",
785
+ "indexed": false,
786
+ "internalType": "bytes32"
787
+ }
788
+ ],
789
+ "anonymous": false
790
+ },
791
+ {
792
+ "type": "event",
793
+ "name": "log_named_decimal_int",
794
+ "inputs": [
795
+ {
796
+ "name": "key",
797
+ "type": "string",
798
+ "indexed": false,
799
+ "internalType": "string"
800
+ },
801
+ {
802
+ "name": "val",
803
+ "type": "int256",
804
+ "indexed": false,
805
+ "internalType": "int256"
806
+ },
807
+ {
808
+ "name": "decimals",
809
+ "type": "uint256",
810
+ "indexed": false,
811
+ "internalType": "uint256"
812
+ }
813
+ ],
814
+ "anonymous": false
815
+ },
816
+ {
817
+ "type": "event",
818
+ "name": "log_named_decimal_uint",
819
+ "inputs": [
820
+ {
821
+ "name": "key",
822
+ "type": "string",
823
+ "indexed": false,
824
+ "internalType": "string"
825
+ },
826
+ {
827
+ "name": "val",
828
+ "type": "uint256",
829
+ "indexed": false,
830
+ "internalType": "uint256"
831
+ },
832
+ {
833
+ "name": "decimals",
834
+ "type": "uint256",
835
+ "indexed": false,
836
+ "internalType": "uint256"
837
+ }
838
+ ],
839
+ "anonymous": false
840
+ },
841
+ {
842
+ "type": "event",
843
+ "name": "log_named_int",
844
+ "inputs": [
845
+ {
846
+ "name": "key",
847
+ "type": "string",
848
+ "indexed": false,
849
+ "internalType": "string"
850
+ },
851
+ {
852
+ "name": "val",
853
+ "type": "int256",
854
+ "indexed": false,
855
+ "internalType": "int256"
856
+ }
857
+ ],
858
+ "anonymous": false
859
+ },
860
+ {
861
+ "type": "event",
862
+ "name": "log_named_string",
863
+ "inputs": [
864
+ {
865
+ "name": "key",
866
+ "type": "string",
867
+ "indexed": false,
868
+ "internalType": "string"
869
+ },
870
+ {
871
+ "name": "val",
872
+ "type": "string",
873
+ "indexed": false,
874
+ "internalType": "string"
875
+ }
876
+ ],
877
+ "anonymous": false
878
+ },
879
+ {
880
+ "type": "event",
881
+ "name": "log_named_uint",
882
+ "inputs": [
883
+ {
884
+ "name": "key",
885
+ "type": "string",
886
+ "indexed": false,
887
+ "internalType": "string"
888
+ },
889
+ {
890
+ "name": "val",
891
+ "type": "uint256",
892
+ "indexed": false,
893
+ "internalType": "uint256"
894
+ }
895
+ ],
896
+ "anonymous": false
897
+ },
898
+ {
899
+ "type": "event",
900
+ "name": "log_string",
901
+ "inputs": [
902
+ {
903
+ "name": "",
904
+ "type": "string",
905
+ "indexed": false,
906
+ "internalType": "string"
907
+ }
908
+ ],
909
+ "anonymous": false
910
+ },
911
+ {
912
+ "type": "event",
913
+ "name": "log_uint",
914
+ "inputs": [
915
+ {
916
+ "name": "",
917
+ "type": "uint256",
918
+ "indexed": false,
919
+ "internalType": "uint256"
920
+ }
921
+ ],
922
+ "anonymous": false
923
+ },
924
+ {
925
+ "type": "event",
926
+ "name": "logs",
927
+ "inputs": [
928
+ {
929
+ "name": "",
930
+ "type": "bytes",
931
+ "indexed": false,
932
+ "internalType": "bytes"
933
+ }
934
+ ],
935
+ "anonymous": false
936
+ }
937
+ ]