@orbs-network/spot 0.0.10 → 0.0.12

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 (117) hide show
  1. package/README.md +7 -9
  2. package/out/00_DeployWM.s.sol/DeployWM.json +1 -1
  3. package/out/{01_UpdateWMWhitelist.s.sol → 00_UpdateWMWhitelist.s.sol}/UpdateWMWhitelist.json +1 -1
  4. package/out/{02_DeployRepermit.s.sol → 01_DeployRepermit.s.sol}/DeployRepermit.json +1 -1
  5. package/out/02_DeployCosigner.s.sol/DeployCosigner.abi.json +28 -0
  6. package/out/02_DeployCosigner.s.sol/DeployCosigner.json +1 -0
  7. package/out/03_DeployReactor.s.sol/DeployReactor.json +1 -1
  8. package/out/04_DeployExecutor.s.sol/DeployExecutor.json +1 -1
  9. package/out/05_DeployDefaultExchange.s.sol/DeployDefaultExchange.json +1 -1
  10. package/out/05_DeployP2Exchange.s.sol/DeployP2Exchange.json +1 -1
  11. package/out/06_DeployRefinery.s.sol/DeployRefinery.json +1 -1
  12. package/out/07_CheckOrder.s.sol/AlwaysValid1271.json +1 -1
  13. package/out/07_CheckOrder.s.sol/CheckOrder.json +1 -1
  14. package/out/AbstractSigner.sol/AbstractSigner.abi.json +1 -0
  15. package/out/AbstractSigner.sol/AbstractSigner.json +1 -0
  16. package/out/BaseTest.sol/BaseTest.json +1 -1
  17. package/out/Constants.sol/Constants.json +1 -1
  18. package/out/CosignatureLib.sol/CosignatureLib.json +1 -1
  19. package/out/CosignatureLib.t.sol/CosignatureLibTest.json +1 -1
  20. package/out/Cosigner.sol/Cosigner.abi.json +283 -0
  21. package/out/Cosigner.sol/Cosigner.json +1 -0
  22. package/out/Cosigner.t.sol/CosignerTest.abi.json +935 -0
  23. package/out/Cosigner.t.sol/CosignerTest.json +1 -0
  24. package/out/Cosigner.t.sol/CosignerWrapper.abi.json +307 -0
  25. package/out/Cosigner.t.sol/CosignerWrapper.json +1 -0
  26. package/out/CosignerIntegration.t.sol/CosignerIntegrationTest.abi.json +1024 -0
  27. package/out/CosignerIntegration.t.sol/CosignerIntegrationTest.json +1 -0
  28. package/out/DefaultDexAdapter.sol/DefaultDexAdapter.abi.json +3 -3
  29. package/out/DefaultDexAdapter.sol/DefaultDexAdapter.json +1 -1
  30. package/out/DefaultDexAdapter.t.sol/DefaultDexAdapterTest.json +1 -1
  31. package/out/ERC20Mock.sol/ERC20Mock.json +1 -1
  32. package/out/ERC20Mock6Decimals.sol/ERC20Mock6Decimals.json +1 -1
  33. package/out/EpochLib.sol/EpochLib.json +1 -1
  34. package/out/EpochLib.t.sol/EpochLibTest.json +1 -1
  35. package/out/ExclusivityOverrideLib.sol/ExclusivityOverrideLib.json +1 -1
  36. package/out/ExclusivityOverrideLib.t.sol/ExclusivityCaller.json +1 -1
  37. package/out/ExclusivityOverrideLib.t.sol/ExclusivityLibTest.json +1 -1
  38. package/out/Executor.sol/Executor.abi.json +32 -6
  39. package/out/Executor.sol/Executor.json +1 -1
  40. package/out/Executor.t.sol/ExecutorTest.abi.json +28 -0
  41. package/out/Executor.t.sol/ExecutorTest.json +1 -1
  42. package/out/IEIP712.sol/IEIP712.json +1 -1
  43. package/out/IERC165.sol/IERC165.json +1 -1
  44. package/out/IExchangeAdapter.sol/IExchangeAdapter.abi.json +3 -3
  45. package/out/IExchangeAdapter.sol/IExchangeAdapter.json +1 -1
  46. package/out/IPermit2.sol/IPermit2.json +1 -1
  47. package/out/IReactor.sol/IReactor.abi.json +3 -3
  48. package/out/IReactor.sol/IReactor.json +1 -1
  49. package/out/IReactorCallback.sol/IReactorCallback.abi.json +3 -3
  50. package/out/IReactorCallback.sol/IReactorCallback.json +1 -1
  51. package/out/IWM.sol/IWM.json +1 -1
  52. package/out/Math.sol/Math.json +1 -1
  53. package/out/MockDexRouter.sol/MockDexRouter.json +1 -1
  54. package/out/MockPermit2.sol/MockPermit2.json +1 -1
  55. package/out/MockReactor.sol/MockReactor.abi.json +34 -27
  56. package/out/MockReactor.sol/MockReactor.json +1 -1
  57. package/out/Multicall3Lib.sol/Multicall3Lib.json +1 -1
  58. package/out/OrderLib.sol/OrderLib.json +1 -1
  59. package/out/OrderReactor.E2E.t.sol/OrderReactorE2ETest.abi.json +7 -0
  60. package/out/OrderReactor.E2E.t.sol/OrderReactorE2ETest.json +1 -1
  61. package/out/OrderReactor.sol/OrderReactor.abi.json +3 -3
  62. package/out/OrderReactor.sol/OrderReactor.json +1 -1
  63. package/out/OrderReactorPause.t.sol/OrderReactorPauseTest.json +1 -1
  64. package/out/OrderReactorPause.t.sol/SimpleCallback.abi.json +3 -3
  65. package/out/OrderReactorPause.t.sol/SimpleCallback.json +1 -1
  66. package/out/OrderValidationLib.Fuzz.t.sol/OrderValidationLibFuzzTest.json +1 -1
  67. package/out/OrderValidationLib.sol/OrderValidationLib.json +1 -1
  68. package/out/OrderValidationLib.t.sol/OrderValidationLibTest.abi.json +7 -0
  69. package/out/OrderValidationLib.t.sol/OrderValidationLibTest.json +1 -1
  70. package/out/P2DexAdapter.sol/P2DexAdapter.abi.json +3 -3
  71. package/out/P2DexAdapter.sol/P2DexAdapter.json +1 -1
  72. package/out/P2DexAdapter.t.sol/P2DexAdapterTest.json +1 -1
  73. package/out/RePermit.sol/RePermit.json +1 -1
  74. package/out/RePermit.t.sol/RePermitTest.json +1 -1
  75. package/out/RePermitLib.sol/RePermitLib.json +1 -1
  76. package/out/Refinery.sol/Refinery.json +1 -1
  77. package/out/Refinery.t.sol/RefineryTest.json +1 -1
  78. package/out/ResolutionLib.Fuzz.t.sol/ResolutionLibFuzzTest.json +1 -1
  79. package/out/ResolutionLib.sol/ResolutionLib.json +1 -1
  80. package/out/ResolutionLib.t.sol/ResolutionLibTest.json +1 -1
  81. package/out/SafeCast.sol/SafeCast.json +1 -1
  82. package/out/SettlementLib.sol/SettlementLib.abi.json +26 -0
  83. package/out/SettlementLib.sol/SettlementLib.json +1 -1
  84. package/out/SettlementLib.t.sol/SettlementLibTest.abi.json +7 -0
  85. package/out/SettlementLib.t.sol/SettlementLibTest.json +1 -1
  86. package/out/SettlementLib.t.sol/SettlementWrapper.abi.json +3 -3
  87. package/out/SettlementLib.t.sol/SettlementWrapper.json +1 -1
  88. package/out/SignedMath.sol/SignedMath.json +1 -1
  89. package/out/StdError.sol/stdError.json +1 -1
  90. package/out/SurplusLib.sol/SurplusLib.json +1 -1
  91. package/out/SurplusLib.t.sol/SurplusHarness.json +1 -1
  92. package/out/SurplusLib.t.sol/SurplusLibTest.json +1 -1
  93. package/out/SwapAdapter.sol/SwapAdapterMock.abi.json +3 -3
  94. package/out/SwapAdapter.sol/SwapAdapterMock.json +1 -1
  95. package/out/TokenLib.sol/TokenLib.json +1 -1
  96. package/out/TokenLib.t.sol/TokenLibHarness.abi.json +108 -0
  97. package/out/TokenLib.t.sol/TokenLibHarness.json +1 -0
  98. package/out/TokenLib.t.sol/TokenLibTest.abi.json +591 -0
  99. package/out/TokenLib.t.sol/TokenLibTest.json +1 -0
  100. package/out/USDTMock.sol/USDTMock.json +1 -1
  101. package/out/WM.sol/WM.json +1 -1
  102. package/out/WM.t.sol/WMTest.json +1 -1
  103. package/out/WMAllowed.sol/WMAllowed.json +1 -1
  104. package/out/build-info/20f563941fc0a849.json +1 -0
  105. package/out/build-info/41e657f703fce171.json +1 -0
  106. package/out/build-info/{f16f669db7eddfe3.json → 4e0fd3e97fb8c77e.json} +1 -1
  107. package/out/build-info/50d4a161d830da98.json +1 -0
  108. package/out/build-info/5ea14177d8c08770.json +1 -0
  109. package/out/build-info/6633b6f1d6f4bfa2.json +1 -0
  110. package/out/build-info/{e0a36e520084dd42.json → c70ba923379ddca4.json} +1 -1
  111. package/out/build-info/dbc5b333069e50a4.json +1 -0
  112. package/package.json +1 -1
  113. package/script/input/config.json +11 -11
  114. package/script/input/order.json +8 -6
  115. package/script/input/legacy-config.json +0 -80
  116. /package/out/{01_UpdateWMWhitelist.s.sol → 00_UpdateWMWhitelist.s.sol}/UpdateWMWhitelist.abi.json +0 -0
  117. /package/out/{02_DeployRepermit.s.sol → 01_DeployRepermit.s.sol}/DeployRepermit.abi.json +0 -0
@@ -0,0 +1,1024 @@
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": "approvedSigner",
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": "approvedSignerPK",
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": "cosignInValue",
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": "cosignOutValue",
70
+ "inputs": [],
71
+ "outputs": [
72
+ {
73
+ "name": "",
74
+ "type": "uint256",
75
+ "internalType": "uint256"
76
+ }
77
+ ],
78
+ "stateMutability": "view"
79
+ },
80
+ {
81
+ "type": "function",
82
+ "name": "cosignerContract",
83
+ "inputs": [],
84
+ "outputs": [
85
+ {
86
+ "name": "",
87
+ "type": "address",
88
+ "internalType": "contract Cosigner"
89
+ }
90
+ ],
91
+ "stateMutability": "view"
92
+ },
93
+ {
94
+ "type": "function",
95
+ "name": "excludeArtifacts",
96
+ "inputs": [],
97
+ "outputs": [
98
+ {
99
+ "name": "excludedArtifacts_",
100
+ "type": "string[]",
101
+ "internalType": "string[]"
102
+ }
103
+ ],
104
+ "stateMutability": "view"
105
+ },
106
+ {
107
+ "type": "function",
108
+ "name": "excludeContracts",
109
+ "inputs": [],
110
+ "outputs": [
111
+ {
112
+ "name": "excludedContracts_",
113
+ "type": "address[]",
114
+ "internalType": "address[]"
115
+ }
116
+ ],
117
+ "stateMutability": "view"
118
+ },
119
+ {
120
+ "type": "function",
121
+ "name": "excludeSelectors",
122
+ "inputs": [],
123
+ "outputs": [
124
+ {
125
+ "name": "excludedSelectors_",
126
+ "type": "tuple[]",
127
+ "internalType": "struct StdInvariant.FuzzSelector[]",
128
+ "components": [
129
+ {
130
+ "name": "addr",
131
+ "type": "address",
132
+ "internalType": "address"
133
+ },
134
+ {
135
+ "name": "selectors",
136
+ "type": "bytes4[]",
137
+ "internalType": "bytes4[]"
138
+ }
139
+ ]
140
+ }
141
+ ],
142
+ "stateMutability": "view"
143
+ },
144
+ {
145
+ "type": "function",
146
+ "name": "excludeSenders",
147
+ "inputs": [],
148
+ "outputs": [
149
+ {
150
+ "name": "excludedSenders_",
151
+ "type": "address[]",
152
+ "internalType": "address[]"
153
+ }
154
+ ],
155
+ "stateMutability": "view"
156
+ },
157
+ {
158
+ "type": "function",
159
+ "name": "executor",
160
+ "inputs": [],
161
+ "outputs": [
162
+ {
163
+ "name": "",
164
+ "type": "address",
165
+ "internalType": "address"
166
+ }
167
+ ],
168
+ "stateMutability": "view"
169
+ },
170
+ {
171
+ "type": "function",
172
+ "name": "failed",
173
+ "inputs": [],
174
+ "outputs": [
175
+ {
176
+ "name": "",
177
+ "type": "bool",
178
+ "internalType": "bool"
179
+ }
180
+ ],
181
+ "stateMutability": "view"
182
+ },
183
+ {
184
+ "type": "function",
185
+ "name": "freshness",
186
+ "inputs": [],
187
+ "outputs": [
188
+ {
189
+ "name": "",
190
+ "type": "uint32",
191
+ "internalType": "uint32"
192
+ }
193
+ ],
194
+ "stateMutability": "view"
195
+ },
196
+ {
197
+ "type": "function",
198
+ "name": "inAmount",
199
+ "inputs": [],
200
+ "outputs": [
201
+ {
202
+ "name": "",
203
+ "type": "uint256",
204
+ "internalType": "uint256"
205
+ }
206
+ ],
207
+ "stateMutability": "view"
208
+ },
209
+ {
210
+ "type": "function",
211
+ "name": "inMax",
212
+ "inputs": [],
213
+ "outputs": [
214
+ {
215
+ "name": "",
216
+ "type": "uint256",
217
+ "internalType": "uint256"
218
+ }
219
+ ],
220
+ "stateMutability": "view"
221
+ },
222
+ {
223
+ "type": "function",
224
+ "name": "inToken",
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": "other",
238
+ "inputs": [],
239
+ "outputs": [
240
+ {
241
+ "name": "",
242
+ "type": "address",
243
+ "internalType": "address"
244
+ }
245
+ ],
246
+ "stateMutability": "view"
247
+ },
248
+ {
249
+ "type": "function",
250
+ "name": "outAmount",
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": "outMax",
264
+ "inputs": [],
265
+ "outputs": [
266
+ {
267
+ "name": "",
268
+ "type": "uint256",
269
+ "internalType": "uint256"
270
+ }
271
+ ],
272
+ "stateMutability": "view"
273
+ },
274
+ {
275
+ "type": "function",
276
+ "name": "outToken",
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": "owner",
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": "reactor",
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": "recipient",
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": "repermit",
329
+ "inputs": [],
330
+ "outputs": [
331
+ {
332
+ "name": "",
333
+ "type": "address",
334
+ "internalType": "address"
335
+ }
336
+ ],
337
+ "stateMutability": "view"
338
+ },
339
+ {
340
+ "type": "function",
341
+ "name": "setUp",
342
+ "inputs": [],
343
+ "outputs": [],
344
+ "stateMutability": "nonpayable"
345
+ },
346
+ {
347
+ "type": "function",
348
+ "name": "signer",
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": "signerPK",
362
+ "inputs": [],
363
+ "outputs": [
364
+ {
365
+ "name": "",
366
+ "type": "uint256",
367
+ "internalType": "uint256"
368
+ }
369
+ ],
370
+ "stateMutability": "view"
371
+ },
372
+ {
373
+ "type": "function",
374
+ "name": "slippage",
375
+ "inputs": [],
376
+ "outputs": [
377
+ {
378
+ "name": "",
379
+ "type": "uint32",
380
+ "internalType": "uint32"
381
+ }
382
+ ],
383
+ "stateMutability": "view"
384
+ },
385
+ {
386
+ "type": "function",
387
+ "name": "swapper",
388
+ "inputs": [],
389
+ "outputs": [
390
+ {
391
+ "name": "",
392
+ "type": "address",
393
+ "internalType": "address"
394
+ }
395
+ ],
396
+ "stateMutability": "view"
397
+ },
398
+ {
399
+ "type": "function",
400
+ "name": "targetArtifactSelectors",
401
+ "inputs": [],
402
+ "outputs": [
403
+ {
404
+ "name": "targetedArtifactSelectors_",
405
+ "type": "tuple[]",
406
+ "internalType": "struct StdInvariant.FuzzArtifactSelector[]",
407
+ "components": [
408
+ {
409
+ "name": "artifact",
410
+ "type": "string",
411
+ "internalType": "string"
412
+ },
413
+ {
414
+ "name": "selectors",
415
+ "type": "bytes4[]",
416
+ "internalType": "bytes4[]"
417
+ }
418
+ ]
419
+ }
420
+ ],
421
+ "stateMutability": "view"
422
+ },
423
+ {
424
+ "type": "function",
425
+ "name": "targetArtifacts",
426
+ "inputs": [],
427
+ "outputs": [
428
+ {
429
+ "name": "targetedArtifacts_",
430
+ "type": "string[]",
431
+ "internalType": "string[]"
432
+ }
433
+ ],
434
+ "stateMutability": "view"
435
+ },
436
+ {
437
+ "type": "function",
438
+ "name": "targetContracts",
439
+ "inputs": [],
440
+ "outputs": [
441
+ {
442
+ "name": "targetedContracts_",
443
+ "type": "address[]",
444
+ "internalType": "address[]"
445
+ }
446
+ ],
447
+ "stateMutability": "view"
448
+ },
449
+ {
450
+ "type": "function",
451
+ "name": "targetInterfaces",
452
+ "inputs": [],
453
+ "outputs": [
454
+ {
455
+ "name": "targetedInterfaces_",
456
+ "type": "tuple[]",
457
+ "internalType": "struct StdInvariant.FuzzInterface[]",
458
+ "components": [
459
+ {
460
+ "name": "addr",
461
+ "type": "address",
462
+ "internalType": "address"
463
+ },
464
+ {
465
+ "name": "artifacts",
466
+ "type": "string[]",
467
+ "internalType": "string[]"
468
+ }
469
+ ]
470
+ }
471
+ ],
472
+ "stateMutability": "view"
473
+ },
474
+ {
475
+ "type": "function",
476
+ "name": "targetSelectors",
477
+ "inputs": [],
478
+ "outputs": [
479
+ {
480
+ "name": "targetedSelectors_",
481
+ "type": "tuple[]",
482
+ "internalType": "struct StdInvariant.FuzzSelector[]",
483
+ "components": [
484
+ {
485
+ "name": "addr",
486
+ "type": "address",
487
+ "internalType": "address"
488
+ },
489
+ {
490
+ "name": "selectors",
491
+ "type": "bytes4[]",
492
+ "internalType": "bytes4[]"
493
+ }
494
+ ]
495
+ }
496
+ ],
497
+ "stateMutability": "view"
498
+ },
499
+ {
500
+ "type": "function",
501
+ "name": "targetSenders",
502
+ "inputs": [],
503
+ "outputs": [
504
+ {
505
+ "name": "targetedSenders_",
506
+ "type": "address[]",
507
+ "internalType": "address[]"
508
+ }
509
+ ],
510
+ "stateMutability": "view"
511
+ },
512
+ {
513
+ "type": "function",
514
+ "name": "test_integration_cosigner_contract_validates_with_CosignatureLib",
515
+ "inputs": [],
516
+ "outputs": [],
517
+ "stateMutability": "nonpayable"
518
+ },
519
+ {
520
+ "type": "function",
521
+ "name": "test_integration_erc1271_returns_magic_value_for_valid_signature",
522
+ "inputs": [],
523
+ "outputs": [],
524
+ "stateMutability": "view"
525
+ },
526
+ {
527
+ "type": "function",
528
+ "name": "test_integration_erc1271_reverts_for_unapproved_signature",
529
+ "inputs": [],
530
+ "outputs": [],
531
+ "stateMutability": "nonpayable"
532
+ },
533
+ {
534
+ "type": "function",
535
+ "name": "test_integration_multiple_cosigner_contracts_independent",
536
+ "inputs": [],
537
+ "outputs": [],
538
+ "stateMutability": "nonpayable"
539
+ },
540
+ {
541
+ "type": "function",
542
+ "name": "test_integration_ownership_transfer_does_not_affect_signers",
543
+ "inputs": [],
544
+ "outputs": [],
545
+ "stateMutability": "view"
546
+ },
547
+ {
548
+ "type": "function",
549
+ "name": "test_integration_revoked_signer_cannot_sign",
550
+ "inputs": [],
551
+ "outputs": [],
552
+ "stateMutability": "nonpayable"
553
+ },
554
+ {
555
+ "type": "function",
556
+ "name": "test_integration_signer_expires_after_deadline",
557
+ "inputs": [],
558
+ "outputs": [],
559
+ "stateMutability": "nonpayable"
560
+ },
561
+ {
562
+ "type": "function",
563
+ "name": "token",
564
+ "inputs": [],
565
+ "outputs": [
566
+ {
567
+ "name": "",
568
+ "type": "address",
569
+ "internalType": "contract ERC20Mock"
570
+ }
571
+ ],
572
+ "stateMutability": "view"
573
+ },
574
+ {
575
+ "type": "function",
576
+ "name": "token2",
577
+ "inputs": [],
578
+ "outputs": [
579
+ {
580
+ "name": "",
581
+ "type": "address",
582
+ "internalType": "contract ERC20Mock"
583
+ }
584
+ ],
585
+ "stateMutability": "view"
586
+ },
587
+ {
588
+ "type": "function",
589
+ "name": "wm",
590
+ "inputs": [],
591
+ "outputs": [
592
+ {
593
+ "name": "",
594
+ "type": "address",
595
+ "internalType": "address"
596
+ }
597
+ ],
598
+ "stateMutability": "view"
599
+ },
600
+ {
601
+ "type": "event",
602
+ "name": "log",
603
+ "inputs": [
604
+ {
605
+ "name": "",
606
+ "type": "string",
607
+ "indexed": false,
608
+ "internalType": "string"
609
+ }
610
+ ],
611
+ "anonymous": false
612
+ },
613
+ {
614
+ "type": "event",
615
+ "name": "log_address",
616
+ "inputs": [
617
+ {
618
+ "name": "",
619
+ "type": "address",
620
+ "indexed": false,
621
+ "internalType": "address"
622
+ }
623
+ ],
624
+ "anonymous": false
625
+ },
626
+ {
627
+ "type": "event",
628
+ "name": "log_array",
629
+ "inputs": [
630
+ {
631
+ "name": "val",
632
+ "type": "uint256[]",
633
+ "indexed": false,
634
+ "internalType": "uint256[]"
635
+ }
636
+ ],
637
+ "anonymous": false
638
+ },
639
+ {
640
+ "type": "event",
641
+ "name": "log_array",
642
+ "inputs": [
643
+ {
644
+ "name": "val",
645
+ "type": "int256[]",
646
+ "indexed": false,
647
+ "internalType": "int256[]"
648
+ }
649
+ ],
650
+ "anonymous": false
651
+ },
652
+ {
653
+ "type": "event",
654
+ "name": "log_array",
655
+ "inputs": [
656
+ {
657
+ "name": "val",
658
+ "type": "address[]",
659
+ "indexed": false,
660
+ "internalType": "address[]"
661
+ }
662
+ ],
663
+ "anonymous": false
664
+ },
665
+ {
666
+ "type": "event",
667
+ "name": "log_bytes",
668
+ "inputs": [
669
+ {
670
+ "name": "",
671
+ "type": "bytes",
672
+ "indexed": false,
673
+ "internalType": "bytes"
674
+ }
675
+ ],
676
+ "anonymous": false
677
+ },
678
+ {
679
+ "type": "event",
680
+ "name": "log_bytes32",
681
+ "inputs": [
682
+ {
683
+ "name": "",
684
+ "type": "bytes32",
685
+ "indexed": false,
686
+ "internalType": "bytes32"
687
+ }
688
+ ],
689
+ "anonymous": false
690
+ },
691
+ {
692
+ "type": "event",
693
+ "name": "log_int",
694
+ "inputs": [
695
+ {
696
+ "name": "",
697
+ "type": "int256",
698
+ "indexed": false,
699
+ "internalType": "int256"
700
+ }
701
+ ],
702
+ "anonymous": false
703
+ },
704
+ {
705
+ "type": "event",
706
+ "name": "log_named_address",
707
+ "inputs": [
708
+ {
709
+ "name": "key",
710
+ "type": "string",
711
+ "indexed": false,
712
+ "internalType": "string"
713
+ },
714
+ {
715
+ "name": "val",
716
+ "type": "address",
717
+ "indexed": false,
718
+ "internalType": "address"
719
+ }
720
+ ],
721
+ "anonymous": false
722
+ },
723
+ {
724
+ "type": "event",
725
+ "name": "log_named_array",
726
+ "inputs": [
727
+ {
728
+ "name": "key",
729
+ "type": "string",
730
+ "indexed": false,
731
+ "internalType": "string"
732
+ },
733
+ {
734
+ "name": "val",
735
+ "type": "uint256[]",
736
+ "indexed": false,
737
+ "internalType": "uint256[]"
738
+ }
739
+ ],
740
+ "anonymous": false
741
+ },
742
+ {
743
+ "type": "event",
744
+ "name": "log_named_array",
745
+ "inputs": [
746
+ {
747
+ "name": "key",
748
+ "type": "string",
749
+ "indexed": false,
750
+ "internalType": "string"
751
+ },
752
+ {
753
+ "name": "val",
754
+ "type": "int256[]",
755
+ "indexed": false,
756
+ "internalType": "int256[]"
757
+ }
758
+ ],
759
+ "anonymous": false
760
+ },
761
+ {
762
+ "type": "event",
763
+ "name": "log_named_array",
764
+ "inputs": [
765
+ {
766
+ "name": "key",
767
+ "type": "string",
768
+ "indexed": false,
769
+ "internalType": "string"
770
+ },
771
+ {
772
+ "name": "val",
773
+ "type": "address[]",
774
+ "indexed": false,
775
+ "internalType": "address[]"
776
+ }
777
+ ],
778
+ "anonymous": false
779
+ },
780
+ {
781
+ "type": "event",
782
+ "name": "log_named_bytes",
783
+ "inputs": [
784
+ {
785
+ "name": "key",
786
+ "type": "string",
787
+ "indexed": false,
788
+ "internalType": "string"
789
+ },
790
+ {
791
+ "name": "val",
792
+ "type": "bytes",
793
+ "indexed": false,
794
+ "internalType": "bytes"
795
+ }
796
+ ],
797
+ "anonymous": false
798
+ },
799
+ {
800
+ "type": "event",
801
+ "name": "log_named_bytes32",
802
+ "inputs": [
803
+ {
804
+ "name": "key",
805
+ "type": "string",
806
+ "indexed": false,
807
+ "internalType": "string"
808
+ },
809
+ {
810
+ "name": "val",
811
+ "type": "bytes32",
812
+ "indexed": false,
813
+ "internalType": "bytes32"
814
+ }
815
+ ],
816
+ "anonymous": false
817
+ },
818
+ {
819
+ "type": "event",
820
+ "name": "log_named_decimal_int",
821
+ "inputs": [
822
+ {
823
+ "name": "key",
824
+ "type": "string",
825
+ "indexed": false,
826
+ "internalType": "string"
827
+ },
828
+ {
829
+ "name": "val",
830
+ "type": "int256",
831
+ "indexed": false,
832
+ "internalType": "int256"
833
+ },
834
+ {
835
+ "name": "decimals",
836
+ "type": "uint256",
837
+ "indexed": false,
838
+ "internalType": "uint256"
839
+ }
840
+ ],
841
+ "anonymous": false
842
+ },
843
+ {
844
+ "type": "event",
845
+ "name": "log_named_decimal_uint",
846
+ "inputs": [
847
+ {
848
+ "name": "key",
849
+ "type": "string",
850
+ "indexed": false,
851
+ "internalType": "string"
852
+ },
853
+ {
854
+ "name": "val",
855
+ "type": "uint256",
856
+ "indexed": false,
857
+ "internalType": "uint256"
858
+ },
859
+ {
860
+ "name": "decimals",
861
+ "type": "uint256",
862
+ "indexed": false,
863
+ "internalType": "uint256"
864
+ }
865
+ ],
866
+ "anonymous": false
867
+ },
868
+ {
869
+ "type": "event",
870
+ "name": "log_named_int",
871
+ "inputs": [
872
+ {
873
+ "name": "key",
874
+ "type": "string",
875
+ "indexed": false,
876
+ "internalType": "string"
877
+ },
878
+ {
879
+ "name": "val",
880
+ "type": "int256",
881
+ "indexed": false,
882
+ "internalType": "int256"
883
+ }
884
+ ],
885
+ "anonymous": false
886
+ },
887
+ {
888
+ "type": "event",
889
+ "name": "log_named_string",
890
+ "inputs": [
891
+ {
892
+ "name": "key",
893
+ "type": "string",
894
+ "indexed": false,
895
+ "internalType": "string"
896
+ },
897
+ {
898
+ "name": "val",
899
+ "type": "string",
900
+ "indexed": false,
901
+ "internalType": "string"
902
+ }
903
+ ],
904
+ "anonymous": false
905
+ },
906
+ {
907
+ "type": "event",
908
+ "name": "log_named_uint",
909
+ "inputs": [
910
+ {
911
+ "name": "key",
912
+ "type": "string",
913
+ "indexed": false,
914
+ "internalType": "string"
915
+ },
916
+ {
917
+ "name": "val",
918
+ "type": "uint256",
919
+ "indexed": false,
920
+ "internalType": "uint256"
921
+ }
922
+ ],
923
+ "anonymous": false
924
+ },
925
+ {
926
+ "type": "event",
927
+ "name": "log_string",
928
+ "inputs": [
929
+ {
930
+ "name": "",
931
+ "type": "string",
932
+ "indexed": false,
933
+ "internalType": "string"
934
+ }
935
+ ],
936
+ "anonymous": false
937
+ },
938
+ {
939
+ "type": "event",
940
+ "name": "log_uint",
941
+ "inputs": [
942
+ {
943
+ "name": "",
944
+ "type": "uint256",
945
+ "indexed": false,
946
+ "internalType": "uint256"
947
+ }
948
+ ],
949
+ "anonymous": false
950
+ },
951
+ {
952
+ "type": "event",
953
+ "name": "logs",
954
+ "inputs": [
955
+ {
956
+ "name": "",
957
+ "type": "bytes",
958
+ "indexed": false,
959
+ "internalType": "bytes"
960
+ }
961
+ ],
962
+ "anonymous": false
963
+ },
964
+ {
965
+ "type": "error",
966
+ "name": "FutureCosignatureTimestamp",
967
+ "inputs": []
968
+ },
969
+ {
970
+ "type": "error",
971
+ "name": "InvalidCosignature",
972
+ "inputs": []
973
+ },
974
+ {
975
+ "type": "error",
976
+ "name": "InvalidCosignatureChainid",
977
+ "inputs": []
978
+ },
979
+ {
980
+ "type": "error",
981
+ "name": "InvalidCosignatureCosigner",
982
+ "inputs": []
983
+ },
984
+ {
985
+ "type": "error",
986
+ "name": "InvalidCosignatureInputToken",
987
+ "inputs": []
988
+ },
989
+ {
990
+ "type": "error",
991
+ "name": "InvalidCosignatureOutputToken",
992
+ "inputs": []
993
+ },
994
+ {
995
+ "type": "error",
996
+ "name": "InvalidCosignatureReactor",
997
+ "inputs": []
998
+ },
999
+ {
1000
+ "type": "error",
1001
+ "name": "InvalidCosignatureZeroInputValue",
1002
+ "inputs": []
1003
+ },
1004
+ {
1005
+ "type": "error",
1006
+ "name": "InvalidCosignatureZeroOutputValue",
1007
+ "inputs": []
1008
+ },
1009
+ {
1010
+ "type": "error",
1011
+ "name": "InvalidFreshness",
1012
+ "inputs": []
1013
+ },
1014
+ {
1015
+ "type": "error",
1016
+ "name": "InvalidFreshnessVsEpoch",
1017
+ "inputs": []
1018
+ },
1019
+ {
1020
+ "type": "error",
1021
+ "name": "StaleCosignature",
1022
+ "inputs": []
1023
+ }
1024
+ ]