@centurion_project/universal-router-sdk 5.9.4 → 5.9.5

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.
@@ -0,0 +1,745 @@
1
+ {
2
+ "_centurionProvenance": {
3
+ "package": "@uniswap/universal-router@2.1.0",
4
+ "sourceArtifact": "@uniswap/universal-router/artifacts/contracts/UniversalRouter.sol/UniversalRouter.json",
5
+ "sourceArtifactSha256": "3ff3421cddf08eeaa154dcbdaa9ea4dcc24e6496c3aa583655ebd5e9b44a788e"
6
+ },
7
+ "abi": [
8
+ {
9
+ "inputs": [
10
+ {
11
+ "components": [
12
+ {
13
+ "internalType": "address",
14
+ "name": "permit2",
15
+ "type": "address"
16
+ },
17
+ {
18
+ "internalType": "address",
19
+ "name": "weth9",
20
+ "type": "address"
21
+ },
22
+ {
23
+ "internalType": "address",
24
+ "name": "v2Factory",
25
+ "type": "address"
26
+ },
27
+ {
28
+ "internalType": "address",
29
+ "name": "v3Factory",
30
+ "type": "address"
31
+ },
32
+ {
33
+ "internalType": "bytes32",
34
+ "name": "pairInitCodeHash",
35
+ "type": "bytes32"
36
+ },
37
+ {
38
+ "internalType": "bytes32",
39
+ "name": "poolInitCodeHash",
40
+ "type": "bytes32"
41
+ },
42
+ {
43
+ "internalType": "address",
44
+ "name": "v4PoolManager",
45
+ "type": "address"
46
+ },
47
+ {
48
+ "internalType": "address",
49
+ "name": "v3NFTPositionManager",
50
+ "type": "address"
51
+ },
52
+ {
53
+ "internalType": "address",
54
+ "name": "v4PositionManager",
55
+ "type": "address"
56
+ },
57
+ {
58
+ "internalType": "address",
59
+ "name": "spokePool",
60
+ "type": "address"
61
+ }
62
+ ],
63
+ "internalType": "struct RouterParameters",
64
+ "name": "params",
65
+ "type": "tuple"
66
+ }
67
+ ],
68
+ "stateMutability": "nonpayable",
69
+ "type": "constructor"
70
+ },
71
+ {
72
+ "inputs": [
73
+ {
74
+ "internalType": "address",
75
+ "name": "target",
76
+ "type": "address"
77
+ }
78
+ ],
79
+ "name": "AddressEmptyCode",
80
+ "type": "error"
81
+ },
82
+ {
83
+ "inputs": [
84
+ {
85
+ "internalType": "address",
86
+ "name": "account",
87
+ "type": "address"
88
+ }
89
+ ],
90
+ "name": "AddressInsufficientBalance",
91
+ "type": "error"
92
+ },
93
+ {
94
+ "inputs": [],
95
+ "name": "BalanceTooLow",
96
+ "type": "error"
97
+ },
98
+ {
99
+ "inputs": [],
100
+ "name": "ContractLocked",
101
+ "type": "error"
102
+ },
103
+ {
104
+ "inputs": [
105
+ {
106
+ "internalType": "Currency",
107
+ "name": "currency",
108
+ "type": "address"
109
+ }
110
+ ],
111
+ "name": "DeltaNotNegative",
112
+ "type": "error"
113
+ },
114
+ {
115
+ "inputs": [
116
+ {
117
+ "internalType": "Currency",
118
+ "name": "currency",
119
+ "type": "address"
120
+ }
121
+ ],
122
+ "name": "DeltaNotPositive",
123
+ "type": "error"
124
+ },
125
+ {
126
+ "inputs": [],
127
+ "name": "ECDSAInvalidSignature",
128
+ "type": "error"
129
+ },
130
+ {
131
+ "inputs": [
132
+ {
133
+ "internalType": "uint256",
134
+ "name": "length",
135
+ "type": "uint256"
136
+ }
137
+ ],
138
+ "name": "ECDSAInvalidSignatureLength",
139
+ "type": "error"
140
+ },
141
+ {
142
+ "inputs": [
143
+ {
144
+ "internalType": "bytes32",
145
+ "name": "s",
146
+ "type": "bytes32"
147
+ }
148
+ ],
149
+ "name": "ECDSAInvalidSignatureS",
150
+ "type": "error"
151
+ },
152
+ {
153
+ "inputs": [],
154
+ "name": "ETHNotAccepted",
155
+ "type": "error"
156
+ },
157
+ {
158
+ "inputs": [
159
+ {
160
+ "internalType": "uint256",
161
+ "name": "commandIndex",
162
+ "type": "uint256"
163
+ },
164
+ {
165
+ "internalType": "bytes",
166
+ "name": "message",
167
+ "type": "bytes"
168
+ }
169
+ ],
170
+ "name": "ExecutionFailed",
171
+ "type": "error"
172
+ },
173
+ {
174
+ "inputs": [],
175
+ "name": "FailedInnerCall",
176
+ "type": "error"
177
+ },
178
+ {
179
+ "inputs": [],
180
+ "name": "FromAddressIsNotOwner",
181
+ "type": "error"
182
+ },
183
+ {
184
+ "inputs": [],
185
+ "name": "InputLengthMismatch",
186
+ "type": "error"
187
+ },
188
+ {
189
+ "inputs": [],
190
+ "name": "InsufficientBalance",
191
+ "type": "error"
192
+ },
193
+ {
194
+ "inputs": [],
195
+ "name": "InsufficientETH",
196
+ "type": "error"
197
+ },
198
+ {
199
+ "inputs": [],
200
+ "name": "InsufficientToken",
201
+ "type": "error"
202
+ },
203
+ {
204
+ "inputs": [
205
+ {
206
+ "internalType": "bytes4",
207
+ "name": "action",
208
+ "type": "bytes4"
209
+ }
210
+ ],
211
+ "name": "InvalidAction",
212
+ "type": "error"
213
+ },
214
+ {
215
+ "inputs": [],
216
+ "name": "InvalidBips",
217
+ "type": "error"
218
+ },
219
+ {
220
+ "inputs": [
221
+ {
222
+ "internalType": "uint256",
223
+ "name": "commandType",
224
+ "type": "uint256"
225
+ }
226
+ ],
227
+ "name": "InvalidCommandType",
228
+ "type": "error"
229
+ },
230
+ {
231
+ "inputs": [],
232
+ "name": "InvalidEthSender",
233
+ "type": "error"
234
+ },
235
+ {
236
+ "inputs": [],
237
+ "name": "InvalidHopSlippageLength",
238
+ "type": "error"
239
+ },
240
+ {
241
+ "inputs": [],
242
+ "name": "InvalidPath",
243
+ "type": "error"
244
+ },
245
+ {
246
+ "inputs": [],
247
+ "name": "InvalidReserves",
248
+ "type": "error"
249
+ },
250
+ {
251
+ "inputs": [],
252
+ "name": "InvalidShortString",
253
+ "type": "error"
254
+ },
255
+ {
256
+ "inputs": [],
257
+ "name": "LengthMismatch",
258
+ "type": "error"
259
+ },
260
+ {
261
+ "inputs": [],
262
+ "name": "NonceAlreadyUsed",
263
+ "type": "error"
264
+ },
265
+ {
266
+ "inputs": [
267
+ {
268
+ "internalType": "uint256",
269
+ "name": "tokenId",
270
+ "type": "uint256"
271
+ }
272
+ ],
273
+ "name": "NotAuthorizedForToken",
274
+ "type": "error"
275
+ },
276
+ {
277
+ "inputs": [],
278
+ "name": "NotPoolManager",
279
+ "type": "error"
280
+ },
281
+ {
282
+ "inputs": [],
283
+ "name": "OnlyMintAllowed",
284
+ "type": "error"
285
+ },
286
+ {
287
+ "inputs": [
288
+ {
289
+ "internalType": "address",
290
+ "name": "token",
291
+ "type": "address"
292
+ }
293
+ ],
294
+ "name": "SafeERC20FailedOperation",
295
+ "type": "error"
296
+ },
297
+ {
298
+ "inputs": [],
299
+ "name": "SliceOutOfBounds",
300
+ "type": "error"
301
+ },
302
+ {
303
+ "inputs": [
304
+ {
305
+ "internalType": "string",
306
+ "name": "str",
307
+ "type": "string"
308
+ }
309
+ ],
310
+ "name": "StringTooLong",
311
+ "type": "error"
312
+ },
313
+ {
314
+ "inputs": [],
315
+ "name": "TransactionDeadlinePassed",
316
+ "type": "error"
317
+ },
318
+ {
319
+ "inputs": [],
320
+ "name": "UnsafeCast",
321
+ "type": "error"
322
+ },
323
+ {
324
+ "inputs": [
325
+ {
326
+ "internalType": "uint256",
327
+ "name": "action",
328
+ "type": "uint256"
329
+ }
330
+ ],
331
+ "name": "UnsupportedAction",
332
+ "type": "error"
333
+ },
334
+ {
335
+ "inputs": [],
336
+ "name": "V2InvalidPath",
337
+ "type": "error"
338
+ },
339
+ {
340
+ "inputs": [],
341
+ "name": "V2TooLittleReceived",
342
+ "type": "error"
343
+ },
344
+ {
345
+ "inputs": [],
346
+ "name": "V2TooMuchRequested",
347
+ "type": "error"
348
+ },
349
+ {
350
+ "inputs": [],
351
+ "name": "V3InvalidAmountOut",
352
+ "type": "error"
353
+ },
354
+ {
355
+ "inputs": [],
356
+ "name": "V3InvalidCaller",
357
+ "type": "error"
358
+ },
359
+ {
360
+ "inputs": [],
361
+ "name": "V3InvalidSwap",
362
+ "type": "error"
363
+ },
364
+ {
365
+ "inputs": [],
366
+ "name": "V3TooLittleReceived",
367
+ "type": "error"
368
+ },
369
+ {
370
+ "inputs": [],
371
+ "name": "V3TooMuchRequested",
372
+ "type": "error"
373
+ },
374
+ {
375
+ "inputs": [
376
+ {
377
+ "internalType": "uint256",
378
+ "name": "minAmountOutReceived",
379
+ "type": "uint256"
380
+ },
381
+ {
382
+ "internalType": "uint256",
383
+ "name": "amountReceived",
384
+ "type": "uint256"
385
+ }
386
+ ],
387
+ "name": "V4TooLittleReceived",
388
+ "type": "error"
389
+ },
390
+ {
391
+ "inputs": [
392
+ {
393
+ "internalType": "uint256",
394
+ "name": "hopIndex",
395
+ "type": "uint256"
396
+ },
397
+ {
398
+ "internalType": "uint256",
399
+ "name": "maxPrice",
400
+ "type": "uint256"
401
+ },
402
+ {
403
+ "internalType": "uint256",
404
+ "name": "price",
405
+ "type": "uint256"
406
+ }
407
+ ],
408
+ "name": "V4TooLittleReceivedPerHop",
409
+ "type": "error"
410
+ },
411
+ {
412
+ "inputs": [
413
+ {
414
+ "internalType": "uint256",
415
+ "name": "maxAmountInRequested",
416
+ "type": "uint256"
417
+ },
418
+ {
419
+ "internalType": "uint256",
420
+ "name": "amountRequested",
421
+ "type": "uint256"
422
+ }
423
+ ],
424
+ "name": "V4TooMuchRequested",
425
+ "type": "error"
426
+ },
427
+ {
428
+ "inputs": [
429
+ {
430
+ "internalType": "uint256",
431
+ "name": "hopIndex",
432
+ "type": "uint256"
433
+ },
434
+ {
435
+ "internalType": "uint256",
436
+ "name": "maxPrice",
437
+ "type": "uint256"
438
+ },
439
+ {
440
+ "internalType": "uint256",
441
+ "name": "price",
442
+ "type": "uint256"
443
+ }
444
+ ],
445
+ "name": "V4TooMuchRequestedPerHop",
446
+ "type": "error"
447
+ },
448
+ {
449
+ "anonymous": false,
450
+ "inputs": [],
451
+ "name": "EIP712DomainChanged",
452
+ "type": "event"
453
+ },
454
+ {
455
+ "inputs": [],
456
+ "name": "SPOKE_POOL",
457
+ "outputs": [
458
+ {
459
+ "internalType": "contract IV3SpokePool",
460
+ "name": "",
461
+ "type": "address"
462
+ }
463
+ ],
464
+ "stateMutability": "view",
465
+ "type": "function"
466
+ },
467
+ {
468
+ "inputs": [],
469
+ "name": "V3_POSITION_MANAGER",
470
+ "outputs": [
471
+ {
472
+ "internalType": "contract INonfungiblePositionManager",
473
+ "name": "",
474
+ "type": "address"
475
+ }
476
+ ],
477
+ "stateMutability": "view",
478
+ "type": "function"
479
+ },
480
+ {
481
+ "inputs": [],
482
+ "name": "V4_POSITION_MANAGER",
483
+ "outputs": [
484
+ {
485
+ "internalType": "contract IPositionManager",
486
+ "name": "",
487
+ "type": "address"
488
+ }
489
+ ],
490
+ "stateMutability": "view",
491
+ "type": "function"
492
+ },
493
+ {
494
+ "inputs": [],
495
+ "name": "eip712Domain",
496
+ "outputs": [
497
+ {
498
+ "internalType": "bytes1",
499
+ "name": "fields",
500
+ "type": "bytes1"
501
+ },
502
+ {
503
+ "internalType": "string",
504
+ "name": "name",
505
+ "type": "string"
506
+ },
507
+ {
508
+ "internalType": "string",
509
+ "name": "version",
510
+ "type": "string"
511
+ },
512
+ {
513
+ "internalType": "uint256",
514
+ "name": "chainId",
515
+ "type": "uint256"
516
+ },
517
+ {
518
+ "internalType": "address",
519
+ "name": "verifyingContract",
520
+ "type": "address"
521
+ },
522
+ {
523
+ "internalType": "bytes32",
524
+ "name": "salt",
525
+ "type": "bytes32"
526
+ },
527
+ {
528
+ "internalType": "uint256[]",
529
+ "name": "extensions",
530
+ "type": "uint256[]"
531
+ }
532
+ ],
533
+ "stateMutability": "view",
534
+ "type": "function"
535
+ },
536
+ {
537
+ "inputs": [
538
+ {
539
+ "internalType": "bytes",
540
+ "name": "commands",
541
+ "type": "bytes"
542
+ },
543
+ {
544
+ "internalType": "bytes[]",
545
+ "name": "inputs",
546
+ "type": "bytes[]"
547
+ }
548
+ ],
549
+ "name": "execute",
550
+ "outputs": [],
551
+ "stateMutability": "payable",
552
+ "type": "function"
553
+ },
554
+ {
555
+ "inputs": [
556
+ {
557
+ "internalType": "bytes",
558
+ "name": "commands",
559
+ "type": "bytes"
560
+ },
561
+ {
562
+ "internalType": "bytes[]",
563
+ "name": "inputs",
564
+ "type": "bytes[]"
565
+ },
566
+ {
567
+ "internalType": "uint256",
568
+ "name": "deadline",
569
+ "type": "uint256"
570
+ }
571
+ ],
572
+ "name": "execute",
573
+ "outputs": [],
574
+ "stateMutability": "payable",
575
+ "type": "function"
576
+ },
577
+ {
578
+ "inputs": [
579
+ {
580
+ "internalType": "bytes",
581
+ "name": "commands",
582
+ "type": "bytes"
583
+ },
584
+ {
585
+ "internalType": "bytes[]",
586
+ "name": "inputs",
587
+ "type": "bytes[]"
588
+ },
589
+ {
590
+ "internalType": "bytes32",
591
+ "name": "intent",
592
+ "type": "bytes32"
593
+ },
594
+ {
595
+ "internalType": "bytes32",
596
+ "name": "data",
597
+ "type": "bytes32"
598
+ },
599
+ {
600
+ "internalType": "bool",
601
+ "name": "verifySender",
602
+ "type": "bool"
603
+ },
604
+ {
605
+ "internalType": "bytes32",
606
+ "name": "nonce",
607
+ "type": "bytes32"
608
+ },
609
+ {
610
+ "internalType": "bytes",
611
+ "name": "signature",
612
+ "type": "bytes"
613
+ },
614
+ {
615
+ "internalType": "uint256",
616
+ "name": "deadline",
617
+ "type": "uint256"
618
+ }
619
+ ],
620
+ "name": "executeSigned",
621
+ "outputs": [],
622
+ "stateMutability": "payable",
623
+ "type": "function"
624
+ },
625
+ {
626
+ "inputs": [],
627
+ "name": "msgSender",
628
+ "outputs": [
629
+ {
630
+ "internalType": "address",
631
+ "name": "",
632
+ "type": "address"
633
+ }
634
+ ],
635
+ "stateMutability": "view",
636
+ "type": "function"
637
+ },
638
+ {
639
+ "inputs": [
640
+ {
641
+ "internalType": "address",
642
+ "name": "user",
643
+ "type": "address"
644
+ },
645
+ {
646
+ "internalType": "bytes32",
647
+ "name": "nonce",
648
+ "type": "bytes32"
649
+ }
650
+ ],
651
+ "name": "noncesUsed",
652
+ "outputs": [
653
+ {
654
+ "internalType": "bool",
655
+ "name": "used",
656
+ "type": "bool"
657
+ }
658
+ ],
659
+ "stateMutability": "view",
660
+ "type": "function"
661
+ },
662
+ {
663
+ "inputs": [],
664
+ "name": "poolManager",
665
+ "outputs": [
666
+ {
667
+ "internalType": "contract IPoolManager",
668
+ "name": "",
669
+ "type": "address"
670
+ }
671
+ ],
672
+ "stateMutability": "view",
673
+ "type": "function"
674
+ },
675
+ {
676
+ "inputs": [],
677
+ "name": "signedRouteContext",
678
+ "outputs": [
679
+ {
680
+ "internalType": "address",
681
+ "name": "signer",
682
+ "type": "address"
683
+ },
684
+ {
685
+ "internalType": "bytes32",
686
+ "name": "intent",
687
+ "type": "bytes32"
688
+ },
689
+ {
690
+ "internalType": "bytes32",
691
+ "name": "data",
692
+ "type": "bytes32"
693
+ }
694
+ ],
695
+ "stateMutability": "view",
696
+ "type": "function"
697
+ },
698
+ {
699
+ "inputs": [
700
+ {
701
+ "internalType": "int256",
702
+ "name": "amount0Delta",
703
+ "type": "int256"
704
+ },
705
+ {
706
+ "internalType": "int256",
707
+ "name": "amount1Delta",
708
+ "type": "int256"
709
+ },
710
+ {
711
+ "internalType": "bytes",
712
+ "name": "data",
713
+ "type": "bytes"
714
+ }
715
+ ],
716
+ "name": "uniswapV3SwapCallback",
717
+ "outputs": [],
718
+ "stateMutability": "nonpayable",
719
+ "type": "function"
720
+ },
721
+ {
722
+ "inputs": [
723
+ {
724
+ "internalType": "bytes",
725
+ "name": "data",
726
+ "type": "bytes"
727
+ }
728
+ ],
729
+ "name": "unlockCallback",
730
+ "outputs": [
731
+ {
732
+ "internalType": "bytes",
733
+ "name": "",
734
+ "type": "bytes"
735
+ }
736
+ ],
737
+ "stateMutability": "nonpayable",
738
+ "type": "function"
739
+ },
740
+ {
741
+ "stateMutability": "payable",
742
+ "type": "receive"
743
+ }
744
+ ]
745
+ }