@orbs-network/spot 1.9.3 → 1.9.4

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 (159) hide show
  1. package/README.md +20 -13
  2. package/{script/input/config.json → config.json} +18 -6
  3. package/index.js +8 -3
  4. package/out/00_DeployWM.s.sol/DeployWM.json +1 -1
  5. package/out/00_UpdateWMWhitelist.s.sol/UpdateWMWhitelist.json +1 -1
  6. package/out/01_DeployRepermit.s.sol/DeployRepermit.json +1 -1
  7. package/out/02_DeployCosigner.s.sol/DeployCosigner.json +1 -1
  8. package/out/03_DeployReactor.s.sol/DeployReactor.json +1 -1
  9. package/out/04_DeployExecutor.s.sol/DeployExecutor.json +1 -1
  10. package/out/05_DeployRefinery.s.sol/DeployRefinery.json +1 -1
  11. package/out/{06_DeployDefaultExchange.s.sol/DeployDefaultExchange.abi.json → 06_DeployDefaultAdapter.s.sol/DeployDefaultAdapter.abi.json} +1 -1
  12. package/out/06_DeployDefaultAdapter.s.sol/DeployDefaultAdapter.json +1 -0
  13. package/out/{06_DeployParaswapExchange.s.sol/DeployParaswapExchange.abi.json → 06_DeployDelegatingAdapter.s.sol/DeployDelegatingAdapter.abi.json} +1 -1
  14. package/out/06_DeployDelegatingAdapter.s.sol/DeployDelegatingAdapter.json +1 -0
  15. package/out/{06_DeployP2Exchange.s.sol/DeployP2Exchange.abi.json → 06_DeployP2Adapter.s.sol/DeployP2Adapter.abi.json} +1 -1
  16. package/out/06_DeployP2Adapter.s.sol/DeployP2Adapter.json +1 -0
  17. package/out/06_DeployParaswapAdapter.s.sol/DeployParaswapAdapter.abi.json +28 -0
  18. package/out/06_DeployParaswapAdapter.s.sol/DeployParaswapAdapter.json +1 -0
  19. package/out/06_DeployUniversalAdapter.s.sol/DeployUniversalAdapter.abi.json +28 -0
  20. package/out/06_DeployUniversalAdapter.s.sol/DeployUniversalAdapter.json +1 -0
  21. package/out/BaseTest.sol/BaseTest.abi.json +26 -13
  22. package/out/BaseTest.sol/BaseTest.json +1 -1
  23. package/out/Constants.sol/Constants.json +1 -1
  24. package/out/CosignatureLib.sol/CosignatureLib.abi.json +10 -0
  25. package/out/CosignatureLib.sol/CosignatureLib.json +1 -1
  26. package/out/CosignatureLib.t.sol/CosignatureLibTest.abi.json +125 -16
  27. package/out/CosignatureLib.t.sol/CosignatureLibTest.json +1 -1
  28. package/out/Cosigner.sol/Cosigner.abi.json +12 -115
  29. package/out/Cosigner.sol/Cosigner.json +1 -1
  30. package/out/Cosigner.t.sol/CosignerTest.abi.json +30 -154
  31. package/out/Cosigner.t.sol/CosignerTest.json +1 -1
  32. package/out/Cosigner.t.sol/CosignerWrapper.abi.json +12 -115
  33. package/out/Cosigner.t.sol/CosignerWrapper.json +1 -1
  34. package/out/CosignerIntegration.t.sol/CosignerIntegrationTest.abi.json +49 -33
  35. package/out/CosignerIntegration.t.sol/CosignerIntegrationTest.json +1 -1
  36. package/out/DefaultDexAdapter.sol/DefaultDexAdapter.abi.json +105 -4
  37. package/out/DefaultDexAdapter.sol/DefaultDexAdapter.json +1 -1
  38. package/out/DefaultDexAdapter.t.sol/DefaultDexAdapterTest.abi.json +33 -13
  39. package/out/DefaultDexAdapter.t.sol/DefaultDexAdapterTest.json +1 -1
  40. package/out/DelegatingAdapter.sol/DelegatingAdapter.abi.json +402 -0
  41. package/out/DelegatingAdapter.sol/DelegatingAdapter.json +1 -0
  42. package/out/DelegatingAdapter.t.sol/DelegatingAdapterTest.abi.json +916 -0
  43. package/out/DelegatingAdapter.t.sol/DelegatingAdapterTest.json +1 -0
  44. package/out/DelegatingAdapter.t.sol/MockDelegateTarget.abi.json +22 -0
  45. package/out/DelegatingAdapter.t.sol/MockDelegateTarget.json +1 -0
  46. package/out/ERC20Mock.sol/ERC20Mock.json +1 -1
  47. package/out/ERC20Mock6Decimals.sol/ERC20Mock6Decimals.json +1 -1
  48. package/out/EpochLib.sol/EpochLib.json +1 -1
  49. package/out/EpochLib.t.sol/EpochLibTest.json +1 -1
  50. package/out/ExclusivityOverrideLib.sol/ExclusivityOverrideLib.json +1 -1
  51. package/out/ExclusivityOverrideLib.t.sol/ExclusivityCaller.json +1 -1
  52. package/out/ExclusivityOverrideLib.t.sol/ExclusivityLibTest.abi.json +26 -13
  53. package/out/ExclusivityOverrideLib.t.sol/ExclusivityLibTest.json +1 -1
  54. package/out/Executor.sol/Executor.abi.json +200 -13
  55. package/out/Executor.sol/Executor.json +1 -1
  56. package/out/Executor.t.sol/ExecutorTest.abi.json +26 -13
  57. package/out/Executor.t.sol/ExecutorTest.json +1 -1
  58. package/out/FeeOnTransferERC20Mock.sol/FeeOnTransferERC20Mock.json +1 -1
  59. package/out/{07_CheckOrder.s.sol/AlwaysValid1271.abi.json → ICommitteeSync.sol/ICommitteeSync.abi.json} +9 -9
  60. package/out/ICommitteeSync.sol/ICommitteeSync.json +1 -0
  61. package/out/IEIP712.sol/IEIP712.json +1 -1
  62. package/out/IExchangeAdapter.sol/IExchangeAdapter.abi.json +105 -4
  63. package/out/IExchangeAdapter.sol/IExchangeAdapter.json +1 -1
  64. package/out/IParaswapAugustus.sol/IParaswapAugustus.json +1 -1
  65. package/out/IPermit2.sol/IPermit2.json +1 -1
  66. package/out/IReactor.sol/IReactor.abi.json +100 -4
  67. package/out/IReactor.sol/IReactor.json +1 -1
  68. package/out/IReactorCallback.sol/IReactorCallback.abi.json +100 -4
  69. package/out/IReactorCallback.sol/IReactorCallback.json +1 -1
  70. package/out/IWM.sol/IWM.json +1 -1
  71. package/out/IWrappedNative.sol/IWrappedNative.abi.json +22 -0
  72. package/out/IWrappedNative.sol/IWrappedNative.json +1 -0
  73. package/out/MockCommitteeSync.sol/MockCommitteeSync.abi.json +67 -0
  74. package/out/MockCommitteeSync.sol/MockCommitteeSync.json +1 -0
  75. package/out/MockDexRouter.sol/MockDexRouter.json +1 -1
  76. package/out/MockParaswap.sol/MockParaswapAugustus.json +1 -1
  77. package/out/MockParaswap.sol/MockTokenTransferProxy.json +1 -1
  78. package/out/MockPermit2.sol/MockPermit2.json +1 -1
  79. package/out/MockReactor.sol/MockReactor.abi.json +200 -8
  80. package/out/MockReactor.sol/MockReactor.json +1 -1
  81. package/out/Multicall3Lib.sol/Multicall3Lib.json +1 -1
  82. package/out/OrderLib.sol/OrderLib.json +1 -1
  83. package/out/OrderReactor.E2E.t.sol/OrderReactorE2ETest.abi.json +27 -14
  84. package/out/OrderReactor.E2E.t.sol/OrderReactorE2ETest.json +1 -1
  85. package/out/OrderReactor.sol/OrderReactor.abi.json +130 -14
  86. package/out/OrderReactor.sol/OrderReactor.json +1 -1
  87. package/out/OrderReactorPause.t.sol/OrderReactorPauseTest.abi.json +26 -13
  88. package/out/OrderReactorPause.t.sol/OrderReactorPauseTest.json +1 -1
  89. package/out/OrderReactorPause.t.sol/SimpleCallback.abi.json +100 -4
  90. package/out/OrderReactorPause.t.sol/SimpleCallback.json +1 -1
  91. package/out/OrderValidationLib.Fuzz.t.sol/OrderValidationLibFuzzTest.abi.json +136 -22
  92. package/out/OrderValidationLib.Fuzz.t.sol/OrderValidationLibFuzzTest.json +1 -1
  93. package/out/OrderValidationLib.sol/OrderValidationLib.abi.json +15 -5
  94. package/out/OrderValidationLib.sol/OrderValidationLib.json +1 -1
  95. package/out/OrderValidationLib.t.sol/OrderValidationLibTest.abi.json +160 -30
  96. package/out/OrderValidationLib.t.sol/OrderValidationLibTest.json +1 -1
  97. package/out/P2DexAdapter.sol/P2DexAdapter.abi.json +105 -4
  98. package/out/P2DexAdapter.sol/P2DexAdapter.json +1 -1
  99. package/out/P2DexAdapter.t.sol/P2DexAdapterTest.abi.json +33 -13
  100. package/out/P2DexAdapter.t.sol/P2DexAdapterTest.json +1 -1
  101. package/out/ParaswapDexAdapter.sol/ParaswapDexAdapter.abi.json +105 -4
  102. package/out/ParaswapDexAdapter.sol/ParaswapDexAdapter.json +1 -1
  103. package/out/ParaswapDexAdapter.t.sol/ParaswapDexAdapterTest.abi.json +33 -13
  104. package/out/ParaswapDexAdapter.t.sol/ParaswapDexAdapterTest.json +1 -1
  105. package/out/RePermit.sol/RePermit.json +1 -1
  106. package/out/RePermit.t.sol/RePermitTest.abi.json +26 -13
  107. package/out/RePermit.t.sol/RePermitTest.json +1 -1
  108. package/out/RePermitLib.sol/RePermitLib.json +1 -1
  109. package/out/Refinery.sol/Refinery.json +1 -1
  110. package/out/Refinery.t.sol/PayableTarget.json +1 -1
  111. package/out/Refinery.t.sol/RefineryTest.abi.json +26 -13
  112. package/out/Refinery.t.sol/RefineryTest.json +1 -1
  113. package/out/ResolutionLib.Fuzz.t.sol/ResolutionLibFuzzTest.abi.json +122 -18
  114. package/out/ResolutionLib.Fuzz.t.sol/ResolutionLibFuzzTest.json +1 -1
  115. package/out/ResolutionLib.sol/ResolutionLib.abi.json +1 -1
  116. package/out/ResolutionLib.sol/ResolutionLib.json +1 -1
  117. package/out/ResolutionLib.t.sol/ResolutionLibTest.abi.json +133 -20
  118. package/out/ResolutionLib.t.sol/ResolutionLibTest.json +1 -1
  119. package/out/SettlementLib.sol/SettlementLib.json +1 -1
  120. package/out/SettlementLib.t.sol/SettlementLibTest.abi.json +26 -13
  121. package/out/SettlementLib.t.sol/SettlementLibTest.json +1 -1
  122. package/out/SettlementLib.t.sol/SettlementWrapper.abi.json +100 -4
  123. package/out/SettlementLib.t.sol/SettlementWrapper.json +1 -1
  124. package/out/Settler.sol/Settler.abi.json +454 -0
  125. package/out/Settler.sol/Settler.json +1 -0
  126. package/out/Settler.t.sol/SettlerTest.abi.json +995 -0
  127. package/out/Settler.t.sol/SettlerTest.json +1 -0
  128. package/out/StdError.sol/stdError.json +1 -1
  129. package/out/SurplusLib.sol/SurplusLib.json +1 -1
  130. package/out/SurplusLib.t.sol/SurplusHarness.json +1 -1
  131. package/out/SurplusLib.t.sol/SurplusLibTest.json +1 -1
  132. package/out/SwapAdapter.sol/SwapAdapterMock.abi.json +100 -9
  133. package/out/SwapAdapter.sol/SwapAdapterMock.json +1 -1
  134. package/out/TokenLib.sol/TokenLib.json +1 -1
  135. package/out/TokenLib.t.sol/TokenLibHarness.json +1 -1
  136. package/out/TokenLib.t.sol/TokenLibTest.json +1 -1
  137. package/out/USDTMock.sol/USDTMock.json +1 -1
  138. package/out/UniversalAdapter.sol/UniversalAdapter.abi.json +429 -0
  139. package/out/UniversalAdapter.sol/UniversalAdapter.json +1 -0
  140. package/out/UniversalAdapter.t.sol/UniversalAdapterTest.abi.json +930 -0
  141. package/out/UniversalAdapter.t.sol/UniversalAdapterTest.json +1 -0
  142. package/out/WM.sol/WM.json +1 -1
  143. package/out/WM.t.sol/WMTest.abi.json +26 -13
  144. package/out/WM.t.sol/WMTest.json +1 -1
  145. package/out/WMAllowed.sol/WMAllowed.json +1 -1
  146. package/out/WrappedNativeMock.sol/WrappedNativeMock.abi.json +360 -0
  147. package/out/WrappedNativeMock.sol/WrappedNativeMock.json +1 -0
  148. package/out/build-info/{42633f5ef75c0db8.json → 621c6e28e002a5dd.json} +1 -1
  149. package/out/build-info/{a2626b343b46f44e.json → 7683d39d37ddee4a.json} +1 -1
  150. package/package.json +2 -1
  151. package/script/input/cosignature.skeleton.json +0 -1
  152. package/script/input/repermit.skeleton.json +12 -2
  153. package/out/06_DeployDefaultExchange.s.sol/DeployDefaultExchange.json +0 -1
  154. package/out/06_DeployP2Exchange.s.sol/DeployP2Exchange.json +0 -1
  155. package/out/06_DeployParaswapExchange.s.sol/DeployParaswapExchange.json +0 -1
  156. package/out/07_CheckOrder.s.sol/AlwaysValid1271.json +0 -1
  157. package/out/07_CheckOrder.s.sol/CheckOrder.abi.json +0 -78
  158. package/out/07_CheckOrder.s.sol/CheckOrder.json +0 -1
  159. package/script/input/order.json +0 -63
@@ -0,0 +1,454 @@
1
+ [
2
+ {
3
+ "type": "constructor",
4
+ "inputs": [
5
+ {
6
+ "name": "_repermit",
7
+ "type": "address",
8
+ "internalType": "address"
9
+ },
10
+ {
11
+ "name": "_wrappedNative",
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": "repermit",
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": "swap",
38
+ "inputs": [
39
+ {
40
+ "name": "co",
41
+ "type": "tuple",
42
+ "internalType": "struct CosignedOrder",
43
+ "components": [
44
+ {
45
+ "name": "order",
46
+ "type": "tuple",
47
+ "internalType": "struct Order",
48
+ "components": [
49
+ {
50
+ "name": "reactor",
51
+ "type": "address",
52
+ "internalType": "address"
53
+ },
54
+ {
55
+ "name": "executor",
56
+ "type": "address",
57
+ "internalType": "address"
58
+ },
59
+ {
60
+ "name": "exchange",
61
+ "type": "tuple",
62
+ "internalType": "struct Exchange",
63
+ "components": [
64
+ {
65
+ "name": "adapter",
66
+ "type": "address",
67
+ "internalType": "address"
68
+ },
69
+ {
70
+ "name": "ref",
71
+ "type": "address",
72
+ "internalType": "address"
73
+ },
74
+ {
75
+ "name": "share",
76
+ "type": "uint32",
77
+ "internalType": "uint32"
78
+ },
79
+ {
80
+ "name": "data",
81
+ "type": "bytes",
82
+ "internalType": "bytes"
83
+ }
84
+ ]
85
+ },
86
+ {
87
+ "name": "swapper",
88
+ "type": "address",
89
+ "internalType": "address"
90
+ },
91
+ {
92
+ "name": "nonce",
93
+ "type": "uint256",
94
+ "internalType": "uint256"
95
+ },
96
+ {
97
+ "name": "start",
98
+ "type": "uint256",
99
+ "internalType": "uint256"
100
+ },
101
+ {
102
+ "name": "deadline",
103
+ "type": "uint256",
104
+ "internalType": "uint256"
105
+ },
106
+ {
107
+ "name": "chainid",
108
+ "type": "uint256",
109
+ "internalType": "uint256"
110
+ },
111
+ {
112
+ "name": "exclusivity",
113
+ "type": "uint32",
114
+ "internalType": "uint32"
115
+ },
116
+ {
117
+ "name": "epoch",
118
+ "type": "uint32",
119
+ "internalType": "uint32"
120
+ },
121
+ {
122
+ "name": "slippage",
123
+ "type": "uint32",
124
+ "internalType": "uint32"
125
+ },
126
+ {
127
+ "name": "freshness",
128
+ "type": "uint32",
129
+ "internalType": "uint32"
130
+ },
131
+ {
132
+ "name": "input",
133
+ "type": "tuple",
134
+ "internalType": "struct Input",
135
+ "components": [
136
+ {
137
+ "name": "token",
138
+ "type": "address",
139
+ "internalType": "address"
140
+ },
141
+ {
142
+ "name": "amount",
143
+ "type": "uint256",
144
+ "internalType": "uint256"
145
+ },
146
+ {
147
+ "name": "maxAmount",
148
+ "type": "uint256",
149
+ "internalType": "uint256"
150
+ }
151
+ ]
152
+ },
153
+ {
154
+ "name": "output",
155
+ "type": "tuple",
156
+ "internalType": "struct Output",
157
+ "components": [
158
+ {
159
+ "name": "token",
160
+ "type": "address",
161
+ "internalType": "address"
162
+ },
163
+ {
164
+ "name": "limit",
165
+ "type": "uint256",
166
+ "internalType": "uint256"
167
+ },
168
+ {
169
+ "name": "triggerLower",
170
+ "type": "uint256",
171
+ "internalType": "uint256"
172
+ },
173
+ {
174
+ "name": "triggerUpper",
175
+ "type": "uint256",
176
+ "internalType": "uint256"
177
+ },
178
+ {
179
+ "name": "recipient",
180
+ "type": "address",
181
+ "internalType": "address"
182
+ }
183
+ ]
184
+ }
185
+ ]
186
+ },
187
+ {
188
+ "name": "signature",
189
+ "type": "bytes",
190
+ "internalType": "bytes"
191
+ },
192
+ {
193
+ "name": "trigger",
194
+ "type": "tuple",
195
+ "internalType": "struct Cosignature",
196
+ "components": [
197
+ {
198
+ "name": "cosigner",
199
+ "type": "address",
200
+ "internalType": "address"
201
+ },
202
+ {
203
+ "name": "reactor",
204
+ "type": "address",
205
+ "internalType": "address"
206
+ },
207
+ {
208
+ "name": "chainid",
209
+ "type": "uint256",
210
+ "internalType": "uint256"
211
+ },
212
+ {
213
+ "name": "timestamp",
214
+ "type": "uint256",
215
+ "internalType": "uint256"
216
+ },
217
+ {
218
+ "name": "input",
219
+ "type": "tuple",
220
+ "internalType": "struct CosignedValue",
221
+ "components": [
222
+ {
223
+ "name": "token",
224
+ "type": "address",
225
+ "internalType": "address"
226
+ },
227
+ {
228
+ "name": "value",
229
+ "type": "uint256",
230
+ "internalType": "uint256"
231
+ },
232
+ {
233
+ "name": "decimals",
234
+ "type": "uint8",
235
+ "internalType": "uint8"
236
+ }
237
+ ]
238
+ },
239
+ {
240
+ "name": "output",
241
+ "type": "tuple",
242
+ "internalType": "struct CosignedValue",
243
+ "components": [
244
+ {
245
+ "name": "token",
246
+ "type": "address",
247
+ "internalType": "address"
248
+ },
249
+ {
250
+ "name": "value",
251
+ "type": "uint256",
252
+ "internalType": "uint256"
253
+ },
254
+ {
255
+ "name": "decimals",
256
+ "type": "uint8",
257
+ "internalType": "uint8"
258
+ }
259
+ ]
260
+ }
261
+ ]
262
+ },
263
+ {
264
+ "name": "current",
265
+ "type": "tuple",
266
+ "internalType": "struct Cosignature",
267
+ "components": [
268
+ {
269
+ "name": "cosigner",
270
+ "type": "address",
271
+ "internalType": "address"
272
+ },
273
+ {
274
+ "name": "reactor",
275
+ "type": "address",
276
+ "internalType": "address"
277
+ },
278
+ {
279
+ "name": "chainid",
280
+ "type": "uint256",
281
+ "internalType": "uint256"
282
+ },
283
+ {
284
+ "name": "timestamp",
285
+ "type": "uint256",
286
+ "internalType": "uint256"
287
+ },
288
+ {
289
+ "name": "input",
290
+ "type": "tuple",
291
+ "internalType": "struct CosignedValue",
292
+ "components": [
293
+ {
294
+ "name": "token",
295
+ "type": "address",
296
+ "internalType": "address"
297
+ },
298
+ {
299
+ "name": "value",
300
+ "type": "uint256",
301
+ "internalType": "uint256"
302
+ },
303
+ {
304
+ "name": "decimals",
305
+ "type": "uint8",
306
+ "internalType": "uint8"
307
+ }
308
+ ]
309
+ },
310
+ {
311
+ "name": "output",
312
+ "type": "tuple",
313
+ "internalType": "struct CosignedValue",
314
+ "components": [
315
+ {
316
+ "name": "token",
317
+ "type": "address",
318
+ "internalType": "address"
319
+ },
320
+ {
321
+ "name": "value",
322
+ "type": "uint256",
323
+ "internalType": "uint256"
324
+ },
325
+ {
326
+ "name": "decimals",
327
+ "type": "uint8",
328
+ "internalType": "uint8"
329
+ }
330
+ ]
331
+ }
332
+ ]
333
+ },
334
+ {
335
+ "name": "triggerCosignature",
336
+ "type": "bytes",
337
+ "internalType": "bytes"
338
+ },
339
+ {
340
+ "name": "currentCosignature",
341
+ "type": "bytes",
342
+ "internalType": "bytes"
343
+ }
344
+ ]
345
+ },
346
+ {
347
+ "name": "x",
348
+ "type": "tuple",
349
+ "internalType": "struct Execution",
350
+ "components": [
351
+ {
352
+ "name": "minAmountOut",
353
+ "type": "uint256",
354
+ "internalType": "uint256"
355
+ },
356
+ {
357
+ "name": "fees",
358
+ "type": "tuple[]",
359
+ "internalType": "struct Output[]",
360
+ "components": [
361
+ {
362
+ "name": "token",
363
+ "type": "address",
364
+ "internalType": "address"
365
+ },
366
+ {
367
+ "name": "limit",
368
+ "type": "uint256",
369
+ "internalType": "uint256"
370
+ },
371
+ {
372
+ "name": "triggerLower",
373
+ "type": "uint256",
374
+ "internalType": "uint256"
375
+ },
376
+ {
377
+ "name": "triggerUpper",
378
+ "type": "uint256",
379
+ "internalType": "uint256"
380
+ },
381
+ {
382
+ "name": "recipient",
383
+ "type": "address",
384
+ "internalType": "address"
385
+ }
386
+ ]
387
+ },
388
+ {
389
+ "name": "target",
390
+ "type": "address",
391
+ "internalType": "address"
392
+ },
393
+ {
394
+ "name": "data",
395
+ "type": "bytes",
396
+ "internalType": "bytes"
397
+ }
398
+ ]
399
+ }
400
+ ],
401
+ "outputs": [],
402
+ "stateMutability": "nonpayable"
403
+ },
404
+ {
405
+ "type": "function",
406
+ "name": "wrappedNative",
407
+ "inputs": [],
408
+ "outputs": [
409
+ {
410
+ "name": "",
411
+ "type": "address",
412
+ "internalType": "address"
413
+ }
414
+ ],
415
+ "stateMutability": "view"
416
+ },
417
+ {
418
+ "type": "error",
419
+ "name": "FailedCall",
420
+ "inputs": []
421
+ },
422
+ {
423
+ "type": "error",
424
+ "name": "InsufficientBalance",
425
+ "inputs": [
426
+ {
427
+ "name": "balance",
428
+ "type": "uint256",
429
+ "internalType": "uint256"
430
+ },
431
+ {
432
+ "name": "needed",
433
+ "type": "uint256",
434
+ "internalType": "uint256"
435
+ }
436
+ ]
437
+ },
438
+ {
439
+ "type": "error",
440
+ "name": "InvalidTarget",
441
+ "inputs": []
442
+ },
443
+ {
444
+ "type": "error",
445
+ "name": "SafeERC20FailedOperation",
446
+ "inputs": [
447
+ {
448
+ "name": "token",
449
+ "type": "address",
450
+ "internalType": "address"
451
+ }
452
+ ]
453
+ }
454
+ ]