@orbs-network/spot-react 0.0.22 → 0.0.24

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.
@@ -1,647 +0,0 @@
1
- declare const _default: [
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
- "name": "_wm",
17
- "type": "address",
18
- "internalType": "address"
19
- }
20
- ],
21
- "stateMutability": "nonpayable"
22
- },
23
- {
24
- "type": "receive",
25
- "stateMutability": "payable"
26
- },
27
- {
28
- "type": "function",
29
- "name": "cosigner",
30
- "inputs": [],
31
- "outputs": [
32
- {
33
- "name": "",
34
- "type": "address",
35
- "internalType": "address"
36
- }
37
- ],
38
- "stateMutability": "view"
39
- },
40
- {
41
- "type": "function",
42
- "name": "epochs",
43
- "inputs": [
44
- {
45
- "name": "",
46
- "type": "bytes32",
47
- "internalType": "bytes32"
48
- }
49
- ],
50
- "outputs": [
51
- {
52
- "name": "",
53
- "type": "uint256",
54
- "internalType": "uint256"
55
- }
56
- ],
57
- "stateMutability": "view"
58
- },
59
- {
60
- "type": "function",
61
- "name": "executeWithCallback",
62
- "inputs": [
63
- {
64
- "name": "co",
65
- "type": "tuple",
66
- "internalType": "struct CosignedOrder",
67
- "components": [
68
- {
69
- "name": "order",
70
- "type": "tuple",
71
- "internalType": "struct Order",
72
- "components": [
73
- {
74
- "name": "reactor",
75
- "type": "address",
76
- "internalType": "address"
77
- },
78
- {
79
- "name": "executor",
80
- "type": "address",
81
- "internalType": "address"
82
- },
83
- {
84
- "name": "exchange",
85
- "type": "tuple",
86
- "internalType": "struct Exchange",
87
- "components": [
88
- {
89
- "name": "adapter",
90
- "type": "address",
91
- "internalType": "address"
92
- },
93
- {
94
- "name": "ref",
95
- "type": "address",
96
- "internalType": "address"
97
- },
98
- {
99
- "name": "share",
100
- "type": "uint32",
101
- "internalType": "uint32"
102
- },
103
- {
104
- "name": "data",
105
- "type": "bytes",
106
- "internalType": "bytes"
107
- }
108
- ]
109
- },
110
- {
111
- "name": "swapper",
112
- "type": "address",
113
- "internalType": "address"
114
- },
115
- {
116
- "name": "nonce",
117
- "type": "uint256",
118
- "internalType": "uint256"
119
- },
120
- {
121
- "name": "deadline",
122
- "type": "uint256",
123
- "internalType": "uint256"
124
- },
125
- {
126
- "name": "chainid",
127
- "type": "uint256",
128
- "internalType": "uint256"
129
- },
130
- {
131
- "name": "exclusivity",
132
- "type": "uint32",
133
- "internalType": "uint32"
134
- },
135
- {
136
- "name": "epoch",
137
- "type": "uint32",
138
- "internalType": "uint32"
139
- },
140
- {
141
- "name": "slippage",
142
- "type": "uint32",
143
- "internalType": "uint32"
144
- },
145
- {
146
- "name": "freshness",
147
- "type": "uint32",
148
- "internalType": "uint32"
149
- },
150
- {
151
- "name": "input",
152
- "type": "tuple",
153
- "internalType": "struct Input",
154
- "components": [
155
- {
156
- "name": "token",
157
- "type": "address",
158
- "internalType": "address"
159
- },
160
- {
161
- "name": "amount",
162
- "type": "uint256",
163
- "internalType": "uint256"
164
- },
165
- {
166
- "name": "maxAmount",
167
- "type": "uint256",
168
- "internalType": "uint256"
169
- }
170
- ]
171
- },
172
- {
173
- "name": "output",
174
- "type": "tuple",
175
- "internalType": "struct Output",
176
- "components": [
177
- {
178
- "name": "token",
179
- "type": "address",
180
- "internalType": "address"
181
- },
182
- {
183
- "name": "limit",
184
- "type": "uint256",
185
- "internalType": "uint256"
186
- },
187
- {
188
- "name": "stop",
189
- "type": "uint256",
190
- "internalType": "uint256"
191
- },
192
- {
193
- "name": "recipient",
194
- "type": "address",
195
- "internalType": "address"
196
- }
197
- ]
198
- }
199
- ]
200
- },
201
- {
202
- "name": "signature",
203
- "type": "bytes",
204
- "internalType": "bytes"
205
- },
206
- {
207
- "name": "cosignatureData",
208
- "type": "tuple",
209
- "internalType": "struct Cosignature",
210
- "components": [
211
- {
212
- "name": "cosigner",
213
- "type": "address",
214
- "internalType": "address"
215
- },
216
- {
217
- "name": "reactor",
218
- "type": "address",
219
- "internalType": "address"
220
- },
221
- {
222
- "name": "chainid",
223
- "type": "uint256",
224
- "internalType": "uint256"
225
- },
226
- {
227
- "name": "timestamp",
228
- "type": "uint256",
229
- "internalType": "uint256"
230
- },
231
- {
232
- "name": "input",
233
- "type": "tuple",
234
- "internalType": "struct CosignedValue",
235
- "components": [
236
- {
237
- "name": "token",
238
- "type": "address",
239
- "internalType": "address"
240
- },
241
- {
242
- "name": "value",
243
- "type": "uint256",
244
- "internalType": "uint256"
245
- },
246
- {
247
- "name": "decimals",
248
- "type": "uint8",
249
- "internalType": "uint8"
250
- }
251
- ]
252
- },
253
- {
254
- "name": "output",
255
- "type": "tuple",
256
- "internalType": "struct CosignedValue",
257
- "components": [
258
- {
259
- "name": "token",
260
- "type": "address",
261
- "internalType": "address"
262
- },
263
- {
264
- "name": "value",
265
- "type": "uint256",
266
- "internalType": "uint256"
267
- },
268
- {
269
- "name": "decimals",
270
- "type": "uint8",
271
- "internalType": "uint8"
272
- }
273
- ]
274
- }
275
- ]
276
- },
277
- {
278
- "name": "cosignature",
279
- "type": "bytes",
280
- "internalType": "bytes"
281
- }
282
- ]
283
- },
284
- {
285
- "name": "x",
286
- "type": "tuple",
287
- "internalType": "struct Execution",
288
- "components": [
289
- {
290
- "name": "minAmountOut",
291
- "type": "uint256",
292
- "internalType": "uint256"
293
- },
294
- {
295
- "name": "fee",
296
- "type": "tuple",
297
- "internalType": "struct Output",
298
- "components": [
299
- {
300
- "name": "token",
301
- "type": "address",
302
- "internalType": "address"
303
- },
304
- {
305
- "name": "limit",
306
- "type": "uint256",
307
- "internalType": "uint256"
308
- },
309
- {
310
- "name": "stop",
311
- "type": "uint256",
312
- "internalType": "uint256"
313
- },
314
- {
315
- "name": "recipient",
316
- "type": "address",
317
- "internalType": "address"
318
- }
319
- ]
320
- },
321
- {
322
- "name": "data",
323
- "type": "bytes",
324
- "internalType": "bytes"
325
- }
326
- ]
327
- }
328
- ],
329
- "outputs": [],
330
- "stateMutability": "payable"
331
- },
332
- {
333
- "type": "function",
334
- "name": "pause",
335
- "inputs": [],
336
- "outputs": [],
337
- "stateMutability": "nonpayable"
338
- },
339
- {
340
- "type": "function",
341
- "name": "paused",
342
- "inputs": [],
343
- "outputs": [
344
- {
345
- "name": "",
346
- "type": "bool",
347
- "internalType": "bool"
348
- }
349
- ],
350
- "stateMutability": "view"
351
- },
352
- {
353
- "type": "function",
354
- "name": "repermit",
355
- "inputs": [],
356
- "outputs": [
357
- {
358
- "name": "",
359
- "type": "address",
360
- "internalType": "address"
361
- }
362
- ],
363
- "stateMutability": "view"
364
- },
365
- {
366
- "type": "function",
367
- "name": "unpause",
368
- "inputs": [],
369
- "outputs": [],
370
- "stateMutability": "nonpayable"
371
- },
372
- {
373
- "type": "function",
374
- "name": "wm",
375
- "inputs": [],
376
- "outputs": [
377
- {
378
- "name": "",
379
- "type": "address",
380
- "internalType": "address"
381
- }
382
- ],
383
- "stateMutability": "view"
384
- },
385
- {
386
- "type": "event",
387
- "name": "Fill",
388
- "inputs": [
389
- {
390
- "name": "hash",
391
- "type": "bytes32",
392
- "indexed": true,
393
- "internalType": "bytes32"
394
- },
395
- {
396
- "name": "executor",
397
- "type": "address",
398
- "indexed": true,
399
- "internalType": "address"
400
- },
401
- {
402
- "name": "swapper",
403
- "type": "address",
404
- "indexed": true,
405
- "internalType": "address"
406
- },
407
- {
408
- "name": "epoch",
409
- "type": "uint256",
410
- "indexed": false,
411
- "internalType": "uint256"
412
- }
413
- ],
414
- "anonymous": false
415
- },
416
- {
417
- "type": "event",
418
- "name": "Paused",
419
- "inputs": [
420
- {
421
- "name": "account",
422
- "type": "address",
423
- "indexed": false,
424
- "internalType": "address"
425
- }
426
- ],
427
- "anonymous": false
428
- },
429
- {
430
- "type": "event",
431
- "name": "Unpaused",
432
- "inputs": [
433
- {
434
- "name": "account",
435
- "type": "address",
436
- "indexed": false,
437
- "internalType": "address"
438
- }
439
- ],
440
- "anonymous": false
441
- },
442
- {
443
- "type": "error",
444
- "name": "CosignedExceedsStop",
445
- "inputs": []
446
- },
447
- {
448
- "type": "error",
449
- "name": "EnforcedPause",
450
- "inputs": []
451
- },
452
- {
453
- "type": "error",
454
- "name": "ExpectedPause",
455
- "inputs": []
456
- },
457
- {
458
- "type": "error",
459
- "name": "FailedCall",
460
- "inputs": []
461
- },
462
- {
463
- "type": "error",
464
- "name": "FutureCosignatureTimestamp",
465
- "inputs": []
466
- },
467
- {
468
- "type": "error",
469
- "name": "InsufficientBalance",
470
- "inputs": [
471
- {
472
- "name": "balance",
473
- "type": "uint256",
474
- "internalType": "uint256"
475
- },
476
- {
477
- "name": "needed",
478
- "type": "uint256",
479
- "internalType": "uint256"
480
- }
481
- ]
482
- },
483
- {
484
- "type": "error",
485
- "name": "InvalidCosignature",
486
- "inputs": []
487
- },
488
- {
489
- "type": "error",
490
- "name": "InvalidCosignatureChainid",
491
- "inputs": []
492
- },
493
- {
494
- "type": "error",
495
- "name": "InvalidCosignatureCosigner",
496
- "inputs": []
497
- },
498
- {
499
- "type": "error",
500
- "name": "InvalidCosignatureInputToken",
501
- "inputs": []
502
- },
503
- {
504
- "type": "error",
505
- "name": "InvalidCosignatureOutputToken",
506
- "inputs": []
507
- },
508
- {
509
- "type": "error",
510
- "name": "InvalidCosignatureReactor",
511
- "inputs": []
512
- },
513
- {
514
- "type": "error",
515
- "name": "InvalidCosignatureZeroInputValue",
516
- "inputs": []
517
- },
518
- {
519
- "type": "error",
520
- "name": "InvalidCosignatureZeroOutputValue",
521
- "inputs": []
522
- },
523
- {
524
- "type": "error",
525
- "name": "InvalidEpoch",
526
- "inputs": []
527
- },
528
- {
529
- "type": "error",
530
- "name": "InvalidFreshness",
531
- "inputs": []
532
- },
533
- {
534
- "type": "error",
535
- "name": "InvalidFreshnessVsEpoch",
536
- "inputs": []
537
- },
538
- {
539
- "type": "error",
540
- "name": "InvalidOrderAdapterZero",
541
- "inputs": []
542
- },
543
- {
544
- "type": "error",
545
- "name": "InvalidOrderChainid",
546
- "inputs": []
547
- },
548
- {
549
- "type": "error",
550
- "name": "InvalidOrderDeadlineExpired",
551
- "inputs": []
552
- },
553
- {
554
- "type": "error",
555
- "name": "InvalidOrderExchangeShareBps",
556
- "inputs": []
557
- },
558
- {
559
- "type": "error",
560
- "name": "InvalidOrderExecutorZero",
561
- "inputs": []
562
- },
563
- {
564
- "type": "error",
565
- "name": "InvalidOrderInputAmountGtMax",
566
- "inputs": []
567
- },
568
- {
569
- "type": "error",
570
- "name": "InvalidOrderInputAmountZero",
571
- "inputs": []
572
- },
573
- {
574
- "type": "error",
575
- "name": "InvalidOrderInputTokenZero",
576
- "inputs": []
577
- },
578
- {
579
- "type": "error",
580
- "name": "InvalidOrderOutputLimitGtStop",
581
- "inputs": []
582
- },
583
- {
584
- "type": "error",
585
- "name": "InvalidOrderOutputRecipientZero",
586
- "inputs": []
587
- },
588
- {
589
- "type": "error",
590
- "name": "InvalidOrderReactorMismatch",
591
- "inputs": []
592
- },
593
- {
594
- "type": "error",
595
- "name": "InvalidOrderReactorZero",
596
- "inputs": []
597
- },
598
- {
599
- "type": "error",
600
- "name": "InvalidOrderSameToken",
601
- "inputs": []
602
- },
603
- {
604
- "type": "error",
605
- "name": "InvalidOrderSlippageTooHigh",
606
- "inputs": []
607
- },
608
- {
609
- "type": "error",
610
- "name": "InvalidOrderSwapperZero",
611
- "inputs": []
612
- },
613
- {
614
- "type": "error",
615
- "name": "InvalidSender",
616
- "inputs": []
617
- },
618
- {
619
- "type": "error",
620
- "name": "NotAllowed",
621
- "inputs": []
622
- },
623
- {
624
- "type": "error",
625
- "name": "ReentrancyGuardReentrantCall",
626
- "inputs": []
627
- },
628
- {
629
- "type": "error",
630
- "name": "SafeERC20FailedOperation",
631
- "inputs": [
632
- {
633
- "name": "token",
634
- "type": "address",
635
- "internalType": "address"
636
- }
637
- ]
638
- },
639
- {
640
- "type": "error",
641
- "name": "StaleCosignature",
642
- "inputs": []
643
- }
644
- ]
645
- ;
646
-
647
- export default _default;