@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,516 @@
1
+ [
2
+ {
3
+ "type": "constructor",
4
+ "inputs": [
5
+ {
6
+ "name": "_repermit",
7
+ "type": "address",
8
+ "internalType": "address"
9
+ },
10
+ {
11
+ "name": "_cosigner",
12
+ "type": "address",
13
+ "internalType": "address"
14
+ }
15
+ ],
16
+ "stateMutability": "nonpayable"
17
+ },
18
+ {
19
+ "type": "receive",
20
+ "stateMutability": "payable"
21
+ },
22
+ {
23
+ "type": "function",
24
+ "name": "cosigner",
25
+ "inputs": [],
26
+ "outputs": [
27
+ {
28
+ "name": "",
29
+ "type": "address",
30
+ "internalType": "address"
31
+ }
32
+ ],
33
+ "stateMutability": "view"
34
+ },
35
+ {
36
+ "type": "function",
37
+ "name": "epochs",
38
+ "inputs": [
39
+ {
40
+ "name": "",
41
+ "type": "bytes32",
42
+ "internalType": "bytes32"
43
+ }
44
+ ],
45
+ "outputs": [
46
+ {
47
+ "name": "",
48
+ "type": "uint256",
49
+ "internalType": "uint256"
50
+ }
51
+ ],
52
+ "stateMutability": "view"
53
+ },
54
+ {
55
+ "type": "function",
56
+ "name": "executeWithCallback",
57
+ "inputs": [
58
+ {
59
+ "name": "co",
60
+ "type": "tuple",
61
+ "internalType": "struct CosignedOrder",
62
+ "components": [
63
+ {
64
+ "name": "order",
65
+ "type": "tuple",
66
+ "internalType": "struct Order",
67
+ "components": [
68
+ {
69
+ "name": "reactor",
70
+ "type": "address",
71
+ "internalType": "address"
72
+ },
73
+ {
74
+ "name": "executor",
75
+ "type": "address",
76
+ "internalType": "address"
77
+ },
78
+ {
79
+ "name": "exchange",
80
+ "type": "tuple",
81
+ "internalType": "struct Exchange",
82
+ "components": [
83
+ {
84
+ "name": "adapter",
85
+ "type": "address",
86
+ "internalType": "address"
87
+ },
88
+ {
89
+ "name": "ref",
90
+ "type": "address",
91
+ "internalType": "address"
92
+ },
93
+ {
94
+ "name": "share",
95
+ "type": "uint32",
96
+ "internalType": "uint32"
97
+ },
98
+ {
99
+ "name": "data",
100
+ "type": "bytes",
101
+ "internalType": "bytes"
102
+ }
103
+ ]
104
+ },
105
+ {
106
+ "name": "swapper",
107
+ "type": "address",
108
+ "internalType": "address"
109
+ },
110
+ {
111
+ "name": "nonce",
112
+ "type": "uint256",
113
+ "internalType": "uint256"
114
+ },
115
+ {
116
+ "name": "deadline",
117
+ "type": "uint256",
118
+ "internalType": "uint256"
119
+ },
120
+ {
121
+ "name": "chainid",
122
+ "type": "uint256",
123
+ "internalType": "uint256"
124
+ },
125
+ {
126
+ "name": "exclusivity",
127
+ "type": "uint32",
128
+ "internalType": "uint32"
129
+ },
130
+ {
131
+ "name": "epoch",
132
+ "type": "uint32",
133
+ "internalType": "uint32"
134
+ },
135
+ {
136
+ "name": "slippage",
137
+ "type": "uint32",
138
+ "internalType": "uint32"
139
+ },
140
+ {
141
+ "name": "freshness",
142
+ "type": "uint32",
143
+ "internalType": "uint32"
144
+ },
145
+ {
146
+ "name": "input",
147
+ "type": "tuple",
148
+ "internalType": "struct Input",
149
+ "components": [
150
+ {
151
+ "name": "token",
152
+ "type": "address",
153
+ "internalType": "address"
154
+ },
155
+ {
156
+ "name": "amount",
157
+ "type": "uint256",
158
+ "internalType": "uint256"
159
+ },
160
+ {
161
+ "name": "maxAmount",
162
+ "type": "uint256",
163
+ "internalType": "uint256"
164
+ }
165
+ ]
166
+ },
167
+ {
168
+ "name": "output",
169
+ "type": "tuple",
170
+ "internalType": "struct Output",
171
+ "components": [
172
+ {
173
+ "name": "token",
174
+ "type": "address",
175
+ "internalType": "address"
176
+ },
177
+ {
178
+ "name": "amount",
179
+ "type": "uint256",
180
+ "internalType": "uint256"
181
+ },
182
+ {
183
+ "name": "maxAmount",
184
+ "type": "uint256",
185
+ "internalType": "uint256"
186
+ },
187
+ {
188
+ "name": "recipient",
189
+ "type": "address",
190
+ "internalType": "address"
191
+ }
192
+ ]
193
+ }
194
+ ]
195
+ },
196
+ {
197
+ "name": "signature",
198
+ "type": "bytes",
199
+ "internalType": "bytes"
200
+ },
201
+ {
202
+ "name": "cosignatureData",
203
+ "type": "tuple",
204
+ "internalType": "struct Cosignature",
205
+ "components": [
206
+ {
207
+ "name": "cosigner",
208
+ "type": "address",
209
+ "internalType": "address"
210
+ },
211
+ {
212
+ "name": "reactor",
213
+ "type": "address",
214
+ "internalType": "address"
215
+ },
216
+ {
217
+ "name": "chainid",
218
+ "type": "uint256",
219
+ "internalType": "uint256"
220
+ },
221
+ {
222
+ "name": "timestamp",
223
+ "type": "uint256",
224
+ "internalType": "uint256"
225
+ },
226
+ {
227
+ "name": "input",
228
+ "type": "tuple",
229
+ "internalType": "struct CosignedValue",
230
+ "components": [
231
+ {
232
+ "name": "token",
233
+ "type": "address",
234
+ "internalType": "address"
235
+ },
236
+ {
237
+ "name": "value",
238
+ "type": "uint256",
239
+ "internalType": "uint256"
240
+ },
241
+ {
242
+ "name": "decimals",
243
+ "type": "uint8",
244
+ "internalType": "uint8"
245
+ }
246
+ ]
247
+ },
248
+ {
249
+ "name": "output",
250
+ "type": "tuple",
251
+ "internalType": "struct CosignedValue",
252
+ "components": [
253
+ {
254
+ "name": "token",
255
+ "type": "address",
256
+ "internalType": "address"
257
+ },
258
+ {
259
+ "name": "value",
260
+ "type": "uint256",
261
+ "internalType": "uint256"
262
+ },
263
+ {
264
+ "name": "decimals",
265
+ "type": "uint8",
266
+ "internalType": "uint8"
267
+ }
268
+ ]
269
+ }
270
+ ]
271
+ },
272
+ {
273
+ "name": "cosignature",
274
+ "type": "bytes",
275
+ "internalType": "bytes"
276
+ }
277
+ ]
278
+ },
279
+ {
280
+ "name": "x",
281
+ "type": "tuple",
282
+ "internalType": "struct Execution",
283
+ "components": [
284
+ {
285
+ "name": "minAmountOut",
286
+ "type": "uint256",
287
+ "internalType": "uint256"
288
+ },
289
+ {
290
+ "name": "fee",
291
+ "type": "tuple",
292
+ "internalType": "struct Output",
293
+ "components": [
294
+ {
295
+ "name": "token",
296
+ "type": "address",
297
+ "internalType": "address"
298
+ },
299
+ {
300
+ "name": "amount",
301
+ "type": "uint256",
302
+ "internalType": "uint256"
303
+ },
304
+ {
305
+ "name": "maxAmount",
306
+ "type": "uint256",
307
+ "internalType": "uint256"
308
+ },
309
+ {
310
+ "name": "recipient",
311
+ "type": "address",
312
+ "internalType": "address"
313
+ }
314
+ ]
315
+ },
316
+ {
317
+ "name": "data",
318
+ "type": "bytes",
319
+ "internalType": "bytes"
320
+ }
321
+ ]
322
+ }
323
+ ],
324
+ "outputs": [],
325
+ "stateMutability": "payable"
326
+ },
327
+ {
328
+ "type": "function",
329
+ "name": "repermit",
330
+ "inputs": [],
331
+ "outputs": [
332
+ {
333
+ "name": "",
334
+ "type": "address",
335
+ "internalType": "address"
336
+ }
337
+ ],
338
+ "stateMutability": "view"
339
+ },
340
+ {
341
+ "type": "event",
342
+ "name": "Fill",
343
+ "inputs": [
344
+ {
345
+ "name": "hash",
346
+ "type": "bytes32",
347
+ "indexed": true,
348
+ "internalType": "bytes32"
349
+ },
350
+ {
351
+ "name": "executor",
352
+ "type": "address",
353
+ "indexed": true,
354
+ "internalType": "address"
355
+ },
356
+ {
357
+ "name": "swapper",
358
+ "type": "address",
359
+ "indexed": true,
360
+ "internalType": "address"
361
+ },
362
+ {
363
+ "name": "epoch",
364
+ "type": "uint256",
365
+ "indexed": false,
366
+ "internalType": "uint256"
367
+ }
368
+ ],
369
+ "anonymous": false
370
+ },
371
+ {
372
+ "type": "error",
373
+ "name": "CosignedMaxAmount",
374
+ "inputs": []
375
+ },
376
+ {
377
+ "type": "error",
378
+ "name": "FutureCosignatureTimestamp",
379
+ "inputs": []
380
+ },
381
+ {
382
+ "type": "error",
383
+ "name": "InvalidCosignature",
384
+ "inputs": []
385
+ },
386
+ {
387
+ "type": "error",
388
+ "name": "InvalidCosignatureChainid",
389
+ "inputs": []
390
+ },
391
+ {
392
+ "type": "error",
393
+ "name": "InvalidCosignatureCosigner",
394
+ "inputs": []
395
+ },
396
+ {
397
+ "type": "error",
398
+ "name": "InvalidCosignatureInputToken",
399
+ "inputs": []
400
+ },
401
+ {
402
+ "type": "error",
403
+ "name": "InvalidCosignatureOutputToken",
404
+ "inputs": []
405
+ },
406
+ {
407
+ "type": "error",
408
+ "name": "InvalidCosignatureReactor",
409
+ "inputs": []
410
+ },
411
+ {
412
+ "type": "error",
413
+ "name": "InvalidCosignatureZeroInputValue",
414
+ "inputs": []
415
+ },
416
+ {
417
+ "type": "error",
418
+ "name": "InvalidCosignatureZeroOutputValue",
419
+ "inputs": []
420
+ },
421
+ {
422
+ "type": "error",
423
+ "name": "InvalidEpoch",
424
+ "inputs": []
425
+ },
426
+ {
427
+ "type": "error",
428
+ "name": "InvalidFreshness",
429
+ "inputs": []
430
+ },
431
+ {
432
+ "type": "error",
433
+ "name": "InvalidFreshnessVsEpoch",
434
+ "inputs": []
435
+ },
436
+ {
437
+ "type": "error",
438
+ "name": "InvalidOrderAdapterZero",
439
+ "inputs": []
440
+ },
441
+ {
442
+ "type": "error",
443
+ "name": "InvalidOrderChainid",
444
+ "inputs": []
445
+ },
446
+ {
447
+ "type": "error",
448
+ "name": "InvalidOrderDeadlineExpired",
449
+ "inputs": []
450
+ },
451
+ {
452
+ "type": "error",
453
+ "name": "InvalidOrderExchangeShareBps",
454
+ "inputs": []
455
+ },
456
+ {
457
+ "type": "error",
458
+ "name": "InvalidOrderExecutorZero",
459
+ "inputs": []
460
+ },
461
+ {
462
+ "type": "error",
463
+ "name": "InvalidOrderInputAmountGtMax",
464
+ "inputs": []
465
+ },
466
+ {
467
+ "type": "error",
468
+ "name": "InvalidOrderInputAmountZero",
469
+ "inputs": []
470
+ },
471
+ {
472
+ "type": "error",
473
+ "name": "InvalidOrderInputTokenZero",
474
+ "inputs": []
475
+ },
476
+ {
477
+ "type": "error",
478
+ "name": "InvalidOrderOutputAmountGtMax",
479
+ "inputs": []
480
+ },
481
+ {
482
+ "type": "error",
483
+ "name": "InvalidOrderOutputRecipientZero",
484
+ "inputs": []
485
+ },
486
+ {
487
+ "type": "error",
488
+ "name": "InvalidOrderReactorMismatch",
489
+ "inputs": []
490
+ },
491
+ {
492
+ "type": "error",
493
+ "name": "InvalidOrderReactorZero",
494
+ "inputs": []
495
+ },
496
+ {
497
+ "type": "error",
498
+ "name": "InvalidOrderSlippageTooHigh",
499
+ "inputs": []
500
+ },
501
+ {
502
+ "type": "error",
503
+ "name": "InvalidOrderSwapperZero",
504
+ "inputs": []
505
+ },
506
+ {
507
+ "type": "error",
508
+ "name": "InvalidSender",
509
+ "inputs": []
510
+ },
511
+ {
512
+ "type": "error",
513
+ "name": "StaleCosignature",
514
+ "inputs": []
515
+ }
516
+ ]