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