@parabolicfamily/mcp 0.1.7 → 0.2.0

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 (80) hide show
  1. package/README.md +91 -12
  2. package/abi/ParabolicAggregatorRouter.json +2259 -0
  3. package/abi/ParabolicLaunchFactoryV2.json +2542 -0
  4. package/abi/ParabolicPairProbe.json +429 -0
  5. package/abi/ParabolicRouterV2.json +1171 -0
  6. package/abi/ParabolicSessionModule.json +1955 -0
  7. package/abi/deployments.json +258 -0
  8. package/dist/abi.d.ts +3 -1
  9. package/dist/abi.js +3 -1
  10. package/dist/abi.js.map +1 -1
  11. package/dist/chain.d.ts +12 -1
  12. package/dist/chain.js +13 -4
  13. package/dist/chain.js.map +1 -1
  14. package/dist/chains.d.ts +17 -10
  15. package/dist/chains.js +25 -13
  16. package/dist/chains.js.map +1 -1
  17. package/dist/coins.d.ts +38 -3
  18. package/dist/coins.js +54 -4
  19. package/dist/coins.js.map +1 -1
  20. package/dist/config.d.ts +36 -11
  21. package/dist/config.js +98 -20
  22. package/dist/config.js.map +1 -1
  23. package/dist/curve.d.ts +2 -1
  24. package/dist/curve.js +2 -1
  25. package/dist/curve.js.map +1 -1
  26. package/dist/deployed.d.ts +80 -0
  27. package/dist/deployed.js +95 -0
  28. package/dist/deployed.js.map +1 -0
  29. package/dist/docs.d.ts +13 -0
  30. package/dist/docs.js +75 -14
  31. package/dist/docs.js.map +1 -1
  32. package/dist/parabolic.d.ts +120 -3
  33. package/dist/parabolic.js +309 -41
  34. package/dist/parabolic.js.map +1 -1
  35. package/dist/quote-unit.d.ts +77 -0
  36. package/dist/quote-unit.js +143 -0
  37. package/dist/quote-unit.js.map +1 -0
  38. package/dist/referrals.d.ts +77 -0
  39. package/dist/referrals.js +55 -0
  40. package/dist/referrals.js.map +1 -0
  41. package/dist/restapi.d.ts +23 -0
  42. package/dist/restapi.js +60 -4
  43. package/dist/restapi.js.map +1 -1
  44. package/dist/routed.d.ts +389 -0
  45. package/dist/routed.js +413 -0
  46. package/dist/routed.js.map +1 -0
  47. package/dist/server.d.ts +1 -1
  48. package/dist/server.js +117 -10
  49. package/dist/server.js.map +1 -1
  50. package/dist/subgraph.d.ts +18 -6
  51. package/dist/subgraph.js +13 -1
  52. package/dist/subgraph.js.map +1 -1
  53. package/dist/ticker.d.ts +97 -0
  54. package/dist/ticker.js +109 -0
  55. package/dist/ticker.js.map +1 -0
  56. package/dist/tx.d.ts +6 -0
  57. package/dist/tx.js +12 -2
  58. package/dist/tx.js.map +1 -1
  59. package/dist/venues.d.ts +49 -0
  60. package/dist/venues.js +44 -0
  61. package/dist/venues.js.map +1 -0
  62. package/package.json +2 -2
  63. package/src/abi.ts +3 -1
  64. package/src/chain.ts +19 -4
  65. package/src/chains.ts +37 -17
  66. package/src/coins.ts +67 -5
  67. package/src/config.ts +112 -22
  68. package/src/curve.ts +2 -1
  69. package/src/deployed.ts +128 -0
  70. package/src/docs.ts +78 -15
  71. package/src/parabolic.ts +323 -42
  72. package/src/quote-unit.ts +194 -0
  73. package/src/referrals.ts +61 -0
  74. package/src/restapi.ts +66 -4
  75. package/src/routed.ts +499 -0
  76. package/src/server.ts +154 -10
  77. package/src/subgraph.ts +22 -4
  78. package/src/ticker.ts +148 -0
  79. package/src/tx.ts +13 -2
  80. package/src/venues.ts +93 -0
@@ -0,0 +1,1955 @@
1
+ [
2
+ {
3
+ "type": "constructor",
4
+ "inputs": [
5
+ {
6
+ "name": "initialOwner",
7
+ "type": "address",
8
+ "internalType": "address"
9
+ },
10
+ {
11
+ "name": "guardian_",
12
+ "type": "address",
13
+ "internalType": "address"
14
+ },
15
+ {
16
+ "name": "permit2_",
17
+ "type": "address",
18
+ "internalType": "address"
19
+ },
20
+ {
21
+ "name": "parabolicFactory_",
22
+ "type": "address",
23
+ "internalType": "address"
24
+ },
25
+ {
26
+ "name": "parabolicHook_",
27
+ "type": "address",
28
+ "internalType": "address"
29
+ },
30
+ {
31
+ "name": "universalRouter_",
32
+ "type": "address",
33
+ "internalType": "address"
34
+ },
35
+ {
36
+ "name": "aggregatorRouter_",
37
+ "type": "address",
38
+ "internalType": "address"
39
+ },
40
+ {
41
+ "name": "weth_",
42
+ "type": "address",
43
+ "internalType": "address"
44
+ },
45
+ {
46
+ "name": "usdcView_",
47
+ "type": "address",
48
+ "internalType": "address"
49
+ },
50
+ {
51
+ "name": "parabolicFactoryV2_",
52
+ "type": "address",
53
+ "internalType": "address"
54
+ },
55
+ {
56
+ "name": "parabolicHookV2_",
57
+ "type": "address",
58
+ "internalType": "address"
59
+ }
60
+ ],
61
+ "stateMutability": "nonpayable"
62
+ },
63
+ {
64
+ "type": "receive",
65
+ "stateMutability": "payable"
66
+ },
67
+ {
68
+ "type": "function",
69
+ "name": "ASSET_CAPS_TYPEHASH",
70
+ "inputs": [],
71
+ "outputs": [
72
+ {
73
+ "name": "",
74
+ "type": "bytes32",
75
+ "internalType": "bytes32"
76
+ }
77
+ ],
78
+ "stateMutability": "view"
79
+ },
80
+ {
81
+ "type": "function",
82
+ "name": "GRANT_AUTH_TYPEHASH",
83
+ "inputs": [],
84
+ "outputs": [
85
+ {
86
+ "name": "",
87
+ "type": "bytes32",
88
+ "internalType": "bytes32"
89
+ }
90
+ ],
91
+ "stateMutability": "view"
92
+ },
93
+ {
94
+ "type": "function",
95
+ "name": "MAX_GRANT_TERM",
96
+ "inputs": [],
97
+ "outputs": [
98
+ {
99
+ "name": "",
100
+ "type": "uint256",
101
+ "internalType": "uint256"
102
+ }
103
+ ],
104
+ "stateMutability": "view"
105
+ },
106
+ {
107
+ "type": "function",
108
+ "name": "NATIVE_PER_USDC_UNIT",
109
+ "inputs": [],
110
+ "outputs": [
111
+ {
112
+ "name": "",
113
+ "type": "uint256",
114
+ "internalType": "uint256"
115
+ }
116
+ ],
117
+ "stateMutability": "view"
118
+ },
119
+ {
120
+ "type": "function",
121
+ "name": "ORDER_TYPEHASH",
122
+ "inputs": [],
123
+ "outputs": [
124
+ {
125
+ "name": "",
126
+ "type": "bytes32",
127
+ "internalType": "bytes32"
128
+ }
129
+ ],
130
+ "stateMutability": "view"
131
+ },
132
+ {
133
+ "type": "function",
134
+ "name": "PRICE_SCALE",
135
+ "inputs": [],
136
+ "outputs": [
137
+ {
138
+ "name": "",
139
+ "type": "uint256",
140
+ "internalType": "uint256"
141
+ }
142
+ ],
143
+ "stateMutability": "view"
144
+ },
145
+ {
146
+ "type": "function",
147
+ "name": "acceptOwnership",
148
+ "inputs": [],
149
+ "outputs": [],
150
+ "stateMutability": "nonpayable"
151
+ },
152
+ {
153
+ "type": "function",
154
+ "name": "aggregatorRouter",
155
+ "inputs": [],
156
+ "outputs": [
157
+ {
158
+ "name": "",
159
+ "type": "address",
160
+ "internalType": "address"
161
+ }
162
+ ],
163
+ "stateMutability": "view"
164
+ },
165
+ {
166
+ "type": "function",
167
+ "name": "cancel",
168
+ "inputs": [
169
+ {
170
+ "name": "nonce",
171
+ "type": "uint256",
172
+ "internalType": "uint256"
173
+ }
174
+ ],
175
+ "outputs": [],
176
+ "stateMutability": "nonpayable"
177
+ },
178
+ {
179
+ "type": "function",
180
+ "name": "cancelled",
181
+ "inputs": [
182
+ {
183
+ "name": "user",
184
+ "type": "address",
185
+ "internalType": "address"
186
+ },
187
+ {
188
+ "name": "nonce",
189
+ "type": "uint256",
190
+ "internalType": "uint256"
191
+ }
192
+ ],
193
+ "outputs": [
194
+ {
195
+ "name": "",
196
+ "type": "bool",
197
+ "internalType": "bool"
198
+ }
199
+ ],
200
+ "stateMutability": "view"
201
+ },
202
+ {
203
+ "type": "function",
204
+ "name": "capsOf",
205
+ "inputs": [
206
+ {
207
+ "name": "user",
208
+ "type": "address",
209
+ "internalType": "address"
210
+ },
211
+ {
212
+ "name": "asset",
213
+ "type": "address",
214
+ "internalType": "address"
215
+ }
216
+ ],
217
+ "outputs": [
218
+ {
219
+ "name": "",
220
+ "type": "tuple",
221
+ "internalType": "struct Caps",
222
+ "components": [
223
+ {
224
+ "name": "perTrade",
225
+ "type": "uint128",
226
+ "internalType": "uint128"
227
+ },
228
+ {
229
+ "name": "perDay",
230
+ "type": "uint128",
231
+ "internalType": "uint128"
232
+ }
233
+ ]
234
+ }
235
+ ],
236
+ "stateMutability": "view"
237
+ },
238
+ {
239
+ "type": "function",
240
+ "name": "clearCopyPosition",
241
+ "inputs": [
242
+ {
243
+ "name": "token",
244
+ "type": "address",
245
+ "internalType": "address"
246
+ }
247
+ ],
248
+ "outputs": [],
249
+ "stateMutability": "nonpayable"
250
+ },
251
+ {
252
+ "type": "function",
253
+ "name": "copyPositions",
254
+ "inputs": [
255
+ {
256
+ "name": "user",
257
+ "type": "address",
258
+ "internalType": "address"
259
+ },
260
+ {
261
+ "name": "token",
262
+ "type": "address",
263
+ "internalType": "address"
264
+ }
265
+ ],
266
+ "outputs": [
267
+ {
268
+ "name": "quoteAsset",
269
+ "type": "address",
270
+ "internalType": "address"
271
+ },
272
+ {
273
+ "name": "tokens",
274
+ "type": "uint128",
275
+ "internalType": "uint128"
276
+ },
277
+ {
278
+ "name": "cost",
279
+ "type": "uint128",
280
+ "internalType": "uint128"
281
+ }
282
+ ],
283
+ "stateMutability": "view"
284
+ },
285
+ {
286
+ "type": "function",
287
+ "name": "eip712Domain",
288
+ "inputs": [],
289
+ "outputs": [
290
+ {
291
+ "name": "fields",
292
+ "type": "bytes1",
293
+ "internalType": "bytes1"
294
+ },
295
+ {
296
+ "name": "name",
297
+ "type": "string",
298
+ "internalType": "string"
299
+ },
300
+ {
301
+ "name": "version",
302
+ "type": "string",
303
+ "internalType": "string"
304
+ },
305
+ {
306
+ "name": "chainId",
307
+ "type": "uint256",
308
+ "internalType": "uint256"
309
+ },
310
+ {
311
+ "name": "verifyingContract",
312
+ "type": "address",
313
+ "internalType": "address"
314
+ },
315
+ {
316
+ "name": "salt",
317
+ "type": "bytes32",
318
+ "internalType": "bytes32"
319
+ },
320
+ {
321
+ "name": "extensions",
322
+ "type": "uint256[]",
323
+ "internalType": "uint256[]"
324
+ }
325
+ ],
326
+ "stateMutability": "view"
327
+ },
328
+ {
329
+ "type": "function",
330
+ "name": "execute",
331
+ "inputs": [
332
+ {
333
+ "name": "o",
334
+ "type": "tuple",
335
+ "internalType": "struct Order",
336
+ "components": [
337
+ {
338
+ "name": "user",
339
+ "type": "address",
340
+ "internalType": "address"
341
+ },
342
+ {
343
+ "name": "kind",
344
+ "type": "uint8",
345
+ "internalType": "enum OrderKind"
346
+ },
347
+ {
348
+ "name": "token",
349
+ "type": "address",
350
+ "internalType": "address"
351
+ },
352
+ {
353
+ "name": "quoteAsset",
354
+ "type": "address",
355
+ "internalType": "address"
356
+ },
357
+ {
358
+ "name": "amount",
359
+ "type": "uint256",
360
+ "internalType": "uint256"
361
+ },
362
+ {
363
+ "name": "priceBound",
364
+ "type": "uint256",
365
+ "internalType": "uint256"
366
+ },
367
+ {
368
+ "name": "maxMarketCap",
369
+ "type": "uint256",
370
+ "internalType": "uint256"
371
+ },
372
+ {
373
+ "name": "mirrorBps",
374
+ "type": "uint16",
375
+ "internalType": "uint16"
376
+ },
377
+ {
378
+ "name": "minReturnBps",
379
+ "type": "uint16",
380
+ "internalType": "uint16"
381
+ },
382
+ {
383
+ "name": "maxFills",
384
+ "type": "uint32",
385
+ "internalType": "uint32"
386
+ },
387
+ {
388
+ "name": "minInterval",
389
+ "type": "uint32",
390
+ "internalType": "uint32"
391
+ },
392
+ {
393
+ "name": "validUntil",
394
+ "type": "uint64",
395
+ "internalType": "uint64"
396
+ },
397
+ {
398
+ "name": "epoch",
399
+ "type": "uint32",
400
+ "internalType": "uint32"
401
+ },
402
+ {
403
+ "name": "nonce",
404
+ "type": "uint256",
405
+ "internalType": "uint256"
406
+ }
407
+ ]
408
+ },
409
+ {
410
+ "name": "userSig",
411
+ "type": "bytes",
412
+ "internalType": "bytes"
413
+ },
414
+ {
415
+ "name": "r",
416
+ "type": "tuple",
417
+ "internalType": "struct Route",
418
+ "components": [
419
+ {
420
+ "name": "target",
421
+ "type": "uint8",
422
+ "internalType": "enum Target"
423
+ },
424
+ {
425
+ "name": "token",
426
+ "type": "address",
427
+ "internalType": "address"
428
+ },
429
+ {
430
+ "name": "curve",
431
+ "type": "address",
432
+ "internalType": "address"
433
+ },
434
+ {
435
+ "name": "venue",
436
+ "type": "address",
437
+ "internalType": "address"
438
+ },
439
+ {
440
+ "name": "pool",
441
+ "type": "tuple",
442
+ "internalType": "struct PoolArgs",
443
+ "components": [
444
+ {
445
+ "name": "fee",
446
+ "type": "uint24",
447
+ "internalType": "uint24"
448
+ },
449
+ {
450
+ "name": "tickSpacing",
451
+ "type": "int24",
452
+ "internalType": "int24"
453
+ },
454
+ {
455
+ "name": "hooks",
456
+ "type": "address",
457
+ "internalType": "address"
458
+ }
459
+ ]
460
+ },
461
+ {
462
+ "name": "voucher",
463
+ "type": "tuple",
464
+ "internalType": "struct FeeVoucher",
465
+ "components": [
466
+ {
467
+ "name": "wallet",
468
+ "type": "address",
469
+ "internalType": "address"
470
+ },
471
+ {
472
+ "name": "feeBps",
473
+ "type": "uint16",
474
+ "internalType": "uint16"
475
+ },
476
+ {
477
+ "name": "expiry",
478
+ "type": "uint64",
479
+ "internalType": "uint64"
480
+ },
481
+ {
482
+ "name": "chainId",
483
+ "type": "uint256",
484
+ "internalType": "uint256"
485
+ }
486
+ ]
487
+ },
488
+ {
489
+ "name": "voucherSig",
490
+ "type": "bytes",
491
+ "internalType": "bytes"
492
+ },
493
+ {
494
+ "name": "deadline",
495
+ "type": "uint64",
496
+ "internalType": "uint64"
497
+ },
498
+ {
499
+ "name": "amount",
500
+ "type": "uint256",
501
+ "internalType": "uint256"
502
+ }
503
+ ]
504
+ },
505
+ {
506
+ "name": "minOut",
507
+ "type": "uint256",
508
+ "internalType": "uint256"
509
+ }
510
+ ],
511
+ "outputs": [
512
+ {
513
+ "name": "out",
514
+ "type": "uint256",
515
+ "internalType": "uint256"
516
+ }
517
+ ],
518
+ "stateMutability": "nonpayable"
519
+ },
520
+ {
521
+ "type": "function",
522
+ "name": "filled",
523
+ "inputs": [
524
+ {
525
+ "name": "orderHash",
526
+ "type": "bytes32",
527
+ "internalType": "bytes32"
528
+ }
529
+ ],
530
+ "outputs": [
531
+ {
532
+ "name": "",
533
+ "type": "uint32",
534
+ "internalType": "uint32"
535
+ }
536
+ ],
537
+ "stateMutability": "view"
538
+ },
539
+ {
540
+ "type": "function",
541
+ "name": "grantAuthDigest",
542
+ "inputs": [
543
+ {
544
+ "name": "user",
545
+ "type": "address",
546
+ "internalType": "address"
547
+ },
548
+ {
549
+ "name": "g",
550
+ "type": "tuple",
551
+ "internalType": "struct Grant",
552
+ "components": [
553
+ {
554
+ "name": "executor",
555
+ "type": "address",
556
+ "internalType": "address"
557
+ },
558
+ {
559
+ "name": "expiry",
560
+ "type": "uint64",
561
+ "internalType": "uint64"
562
+ },
563
+ {
564
+ "name": "epoch",
565
+ "type": "uint32",
566
+ "internalType": "uint32"
567
+ },
568
+ {
569
+ "name": "maxSnipeTaxBps",
570
+ "type": "uint16",
571
+ "internalType": "uint16"
572
+ },
573
+ {
574
+ "name": "venueMask",
575
+ "type": "uint8",
576
+ "internalType": "uint8"
577
+ }
578
+ ]
579
+ },
580
+ {
581
+ "name": "caps",
582
+ "type": "tuple[]",
583
+ "internalType": "struct AssetCaps[]",
584
+ "components": [
585
+ {
586
+ "name": "asset",
587
+ "type": "address",
588
+ "internalType": "address"
589
+ },
590
+ {
591
+ "name": "perTrade",
592
+ "type": "uint128",
593
+ "internalType": "uint128"
594
+ },
595
+ {
596
+ "name": "perDay",
597
+ "type": "uint128",
598
+ "internalType": "uint128"
599
+ }
600
+ ]
601
+ },
602
+ {
603
+ "name": "nonce",
604
+ "type": "uint256",
605
+ "internalType": "uint256"
606
+ },
607
+ {
608
+ "name": "deadline",
609
+ "type": "uint256",
610
+ "internalType": "uint256"
611
+ }
612
+ ],
613
+ "outputs": [
614
+ {
615
+ "name": "",
616
+ "type": "bytes32",
617
+ "internalType": "bytes32"
618
+ }
619
+ ],
620
+ "stateMutability": "view"
621
+ },
622
+ {
623
+ "type": "function",
624
+ "name": "grantNonces",
625
+ "inputs": [
626
+ {
627
+ "name": "user",
628
+ "type": "address",
629
+ "internalType": "address"
630
+ }
631
+ ],
632
+ "outputs": [
633
+ {
634
+ "name": "",
635
+ "type": "uint256",
636
+ "internalType": "uint256"
637
+ }
638
+ ],
639
+ "stateMutability": "view"
640
+ },
641
+ {
642
+ "type": "function",
643
+ "name": "grants",
644
+ "inputs": [
645
+ {
646
+ "name": "user",
647
+ "type": "address",
648
+ "internalType": "address"
649
+ }
650
+ ],
651
+ "outputs": [
652
+ {
653
+ "name": "",
654
+ "type": "tuple",
655
+ "internalType": "struct Grant",
656
+ "components": [
657
+ {
658
+ "name": "executor",
659
+ "type": "address",
660
+ "internalType": "address"
661
+ },
662
+ {
663
+ "name": "expiry",
664
+ "type": "uint64",
665
+ "internalType": "uint64"
666
+ },
667
+ {
668
+ "name": "epoch",
669
+ "type": "uint32",
670
+ "internalType": "uint32"
671
+ },
672
+ {
673
+ "name": "maxSnipeTaxBps",
674
+ "type": "uint16",
675
+ "internalType": "uint16"
676
+ },
677
+ {
678
+ "name": "venueMask",
679
+ "type": "uint8",
680
+ "internalType": "uint8"
681
+ }
682
+ ]
683
+ }
684
+ ],
685
+ "stateMutability": "view"
686
+ },
687
+ {
688
+ "type": "function",
689
+ "name": "guardian",
690
+ "inputs": [],
691
+ "outputs": [
692
+ {
693
+ "name": "",
694
+ "type": "address",
695
+ "internalType": "address"
696
+ }
697
+ ],
698
+ "stateMutability": "view"
699
+ },
700
+ {
701
+ "type": "function",
702
+ "name": "isBuy",
703
+ "inputs": [
704
+ {
705
+ "name": "k",
706
+ "type": "uint8",
707
+ "internalType": "enum OrderKind"
708
+ }
709
+ ],
710
+ "outputs": [
711
+ {
712
+ "name": "",
713
+ "type": "bool",
714
+ "internalType": "bool"
715
+ }
716
+ ],
717
+ "stateMutability": "pure"
718
+ },
719
+ {
720
+ "type": "function",
721
+ "name": "lastFill",
722
+ "inputs": [
723
+ {
724
+ "name": "orderHash",
725
+ "type": "bytes32",
726
+ "internalType": "bytes32"
727
+ }
728
+ ],
729
+ "outputs": [
730
+ {
731
+ "name": "",
732
+ "type": "uint64",
733
+ "internalType": "uint64"
734
+ }
735
+ ],
736
+ "stateMutability": "view"
737
+ },
738
+ {
739
+ "type": "function",
740
+ "name": "orderHash",
741
+ "inputs": [
742
+ {
743
+ "name": "o",
744
+ "type": "tuple",
745
+ "internalType": "struct Order",
746
+ "components": [
747
+ {
748
+ "name": "user",
749
+ "type": "address",
750
+ "internalType": "address"
751
+ },
752
+ {
753
+ "name": "kind",
754
+ "type": "uint8",
755
+ "internalType": "enum OrderKind"
756
+ },
757
+ {
758
+ "name": "token",
759
+ "type": "address",
760
+ "internalType": "address"
761
+ },
762
+ {
763
+ "name": "quoteAsset",
764
+ "type": "address",
765
+ "internalType": "address"
766
+ },
767
+ {
768
+ "name": "amount",
769
+ "type": "uint256",
770
+ "internalType": "uint256"
771
+ },
772
+ {
773
+ "name": "priceBound",
774
+ "type": "uint256",
775
+ "internalType": "uint256"
776
+ },
777
+ {
778
+ "name": "maxMarketCap",
779
+ "type": "uint256",
780
+ "internalType": "uint256"
781
+ },
782
+ {
783
+ "name": "mirrorBps",
784
+ "type": "uint16",
785
+ "internalType": "uint16"
786
+ },
787
+ {
788
+ "name": "minReturnBps",
789
+ "type": "uint16",
790
+ "internalType": "uint16"
791
+ },
792
+ {
793
+ "name": "maxFills",
794
+ "type": "uint32",
795
+ "internalType": "uint32"
796
+ },
797
+ {
798
+ "name": "minInterval",
799
+ "type": "uint32",
800
+ "internalType": "uint32"
801
+ },
802
+ {
803
+ "name": "validUntil",
804
+ "type": "uint64",
805
+ "internalType": "uint64"
806
+ },
807
+ {
808
+ "name": "epoch",
809
+ "type": "uint32",
810
+ "internalType": "uint32"
811
+ },
812
+ {
813
+ "name": "nonce",
814
+ "type": "uint256",
815
+ "internalType": "uint256"
816
+ }
817
+ ]
818
+ }
819
+ ],
820
+ "outputs": [
821
+ {
822
+ "name": "",
823
+ "type": "bytes32",
824
+ "internalType": "bytes32"
825
+ }
826
+ ],
827
+ "stateMutability": "view"
828
+ },
829
+ {
830
+ "type": "function",
831
+ "name": "owner",
832
+ "inputs": [],
833
+ "outputs": [
834
+ {
835
+ "name": "",
836
+ "type": "address",
837
+ "internalType": "address"
838
+ }
839
+ ],
840
+ "stateMutability": "view"
841
+ },
842
+ {
843
+ "type": "function",
844
+ "name": "parabolicFactory",
845
+ "inputs": [],
846
+ "outputs": [
847
+ {
848
+ "name": "",
849
+ "type": "address",
850
+ "internalType": "address"
851
+ }
852
+ ],
853
+ "stateMutability": "view"
854
+ },
855
+ {
856
+ "type": "function",
857
+ "name": "parabolicFactoryV2",
858
+ "inputs": [],
859
+ "outputs": [
860
+ {
861
+ "name": "",
862
+ "type": "address",
863
+ "internalType": "address"
864
+ }
865
+ ],
866
+ "stateMutability": "view"
867
+ },
868
+ {
869
+ "type": "function",
870
+ "name": "parabolicHook",
871
+ "inputs": [],
872
+ "outputs": [
873
+ {
874
+ "name": "",
875
+ "type": "address",
876
+ "internalType": "address"
877
+ }
878
+ ],
879
+ "stateMutability": "view"
880
+ },
881
+ {
882
+ "type": "function",
883
+ "name": "parabolicHookV2",
884
+ "inputs": [],
885
+ "outputs": [
886
+ {
887
+ "name": "",
888
+ "type": "address",
889
+ "internalType": "address"
890
+ }
891
+ ],
892
+ "stateMutability": "view"
893
+ },
894
+ {
895
+ "type": "function",
896
+ "name": "paused",
897
+ "inputs": [],
898
+ "outputs": [
899
+ {
900
+ "name": "",
901
+ "type": "bool",
902
+ "internalType": "bool"
903
+ }
904
+ ],
905
+ "stateMutability": "view"
906
+ },
907
+ {
908
+ "type": "function",
909
+ "name": "pendingOwner",
910
+ "inputs": [],
911
+ "outputs": [
912
+ {
913
+ "name": "",
914
+ "type": "address",
915
+ "internalType": "address"
916
+ }
917
+ ],
918
+ "stateMutability": "view"
919
+ },
920
+ {
921
+ "type": "function",
922
+ "name": "permit2",
923
+ "inputs": [],
924
+ "outputs": [
925
+ {
926
+ "name": "",
927
+ "type": "address",
928
+ "internalType": "address"
929
+ }
930
+ ],
931
+ "stateMutability": "view"
932
+ },
933
+ {
934
+ "type": "function",
935
+ "name": "renounceOwnership",
936
+ "inputs": [],
937
+ "outputs": [],
938
+ "stateMutability": "view"
939
+ },
940
+ {
941
+ "type": "function",
942
+ "name": "revoke",
943
+ "inputs": [],
944
+ "outputs": [],
945
+ "stateMutability": "nonpayable"
946
+ },
947
+ {
948
+ "type": "function",
949
+ "name": "setGrant",
950
+ "inputs": [
951
+ {
952
+ "name": "g",
953
+ "type": "tuple",
954
+ "internalType": "struct Grant",
955
+ "components": [
956
+ {
957
+ "name": "executor",
958
+ "type": "address",
959
+ "internalType": "address"
960
+ },
961
+ {
962
+ "name": "expiry",
963
+ "type": "uint64",
964
+ "internalType": "uint64"
965
+ },
966
+ {
967
+ "name": "epoch",
968
+ "type": "uint32",
969
+ "internalType": "uint32"
970
+ },
971
+ {
972
+ "name": "maxSnipeTaxBps",
973
+ "type": "uint16",
974
+ "internalType": "uint16"
975
+ },
976
+ {
977
+ "name": "venueMask",
978
+ "type": "uint8",
979
+ "internalType": "uint8"
980
+ }
981
+ ]
982
+ },
983
+ {
984
+ "name": "caps",
985
+ "type": "tuple[]",
986
+ "internalType": "struct AssetCaps[]",
987
+ "components": [
988
+ {
989
+ "name": "asset",
990
+ "type": "address",
991
+ "internalType": "address"
992
+ },
993
+ {
994
+ "name": "perTrade",
995
+ "type": "uint128",
996
+ "internalType": "uint128"
997
+ },
998
+ {
999
+ "name": "perDay",
1000
+ "type": "uint128",
1001
+ "internalType": "uint128"
1002
+ }
1003
+ ]
1004
+ }
1005
+ ],
1006
+ "outputs": [],
1007
+ "stateMutability": "nonpayable"
1008
+ },
1009
+ {
1010
+ "type": "function",
1011
+ "name": "setGrantBySig",
1012
+ "inputs": [
1013
+ {
1014
+ "name": "user",
1015
+ "type": "address",
1016
+ "internalType": "address"
1017
+ },
1018
+ {
1019
+ "name": "g",
1020
+ "type": "tuple",
1021
+ "internalType": "struct Grant",
1022
+ "components": [
1023
+ {
1024
+ "name": "executor",
1025
+ "type": "address",
1026
+ "internalType": "address"
1027
+ },
1028
+ {
1029
+ "name": "expiry",
1030
+ "type": "uint64",
1031
+ "internalType": "uint64"
1032
+ },
1033
+ {
1034
+ "name": "epoch",
1035
+ "type": "uint32",
1036
+ "internalType": "uint32"
1037
+ },
1038
+ {
1039
+ "name": "maxSnipeTaxBps",
1040
+ "type": "uint16",
1041
+ "internalType": "uint16"
1042
+ },
1043
+ {
1044
+ "name": "venueMask",
1045
+ "type": "uint8",
1046
+ "internalType": "uint8"
1047
+ }
1048
+ ]
1049
+ },
1050
+ {
1051
+ "name": "caps",
1052
+ "type": "tuple[]",
1053
+ "internalType": "struct AssetCaps[]",
1054
+ "components": [
1055
+ {
1056
+ "name": "asset",
1057
+ "type": "address",
1058
+ "internalType": "address"
1059
+ },
1060
+ {
1061
+ "name": "perTrade",
1062
+ "type": "uint128",
1063
+ "internalType": "uint128"
1064
+ },
1065
+ {
1066
+ "name": "perDay",
1067
+ "type": "uint128",
1068
+ "internalType": "uint128"
1069
+ }
1070
+ ]
1071
+ },
1072
+ {
1073
+ "name": "deadline",
1074
+ "type": "uint256",
1075
+ "internalType": "uint256"
1076
+ },
1077
+ {
1078
+ "name": "sig",
1079
+ "type": "bytes",
1080
+ "internalType": "bytes"
1081
+ }
1082
+ ],
1083
+ "outputs": [],
1084
+ "stateMutability": "nonpayable"
1085
+ },
1086
+ {
1087
+ "type": "function",
1088
+ "name": "setGuardian",
1089
+ "inputs": [
1090
+ {
1091
+ "name": "g",
1092
+ "type": "address",
1093
+ "internalType": "address"
1094
+ }
1095
+ ],
1096
+ "outputs": [],
1097
+ "stateMutability": "nonpayable"
1098
+ },
1099
+ {
1100
+ "type": "function",
1101
+ "name": "setPaused",
1102
+ "inputs": [
1103
+ {
1104
+ "name": "p",
1105
+ "type": "bool",
1106
+ "internalType": "bool"
1107
+ }
1108
+ ],
1109
+ "outputs": [],
1110
+ "stateMutability": "nonpayable"
1111
+ },
1112
+ {
1113
+ "type": "function",
1114
+ "name": "spentOnDay",
1115
+ "inputs": [
1116
+ {
1117
+ "name": "user",
1118
+ "type": "address",
1119
+ "internalType": "address"
1120
+ },
1121
+ {
1122
+ "name": "asset",
1123
+ "type": "address",
1124
+ "internalType": "address"
1125
+ },
1126
+ {
1127
+ "name": "day",
1128
+ "type": "uint256",
1129
+ "internalType": "uint256"
1130
+ }
1131
+ ],
1132
+ "outputs": [
1133
+ {
1134
+ "name": "spent",
1135
+ "type": "uint256",
1136
+ "internalType": "uint256"
1137
+ }
1138
+ ],
1139
+ "stateMutability": "view"
1140
+ },
1141
+ {
1142
+ "type": "function",
1143
+ "name": "transferOwnership",
1144
+ "inputs": [
1145
+ {
1146
+ "name": "newOwner",
1147
+ "type": "address",
1148
+ "internalType": "address"
1149
+ }
1150
+ ],
1151
+ "outputs": [],
1152
+ "stateMutability": "nonpayable"
1153
+ },
1154
+ {
1155
+ "type": "function",
1156
+ "name": "universalRouter",
1157
+ "inputs": [],
1158
+ "outputs": [
1159
+ {
1160
+ "name": "",
1161
+ "type": "address",
1162
+ "internalType": "address"
1163
+ }
1164
+ ],
1165
+ "stateMutability": "view"
1166
+ },
1167
+ {
1168
+ "type": "function",
1169
+ "name": "usdcView",
1170
+ "inputs": [],
1171
+ "outputs": [
1172
+ {
1173
+ "name": "",
1174
+ "type": "address",
1175
+ "internalType": "address"
1176
+ }
1177
+ ],
1178
+ "stateMutability": "view"
1179
+ },
1180
+ {
1181
+ "type": "function",
1182
+ "name": "weth",
1183
+ "inputs": [],
1184
+ "outputs": [
1185
+ {
1186
+ "name": "",
1187
+ "type": "address",
1188
+ "internalType": "address"
1189
+ }
1190
+ ],
1191
+ "stateMutability": "view"
1192
+ },
1193
+ {
1194
+ "type": "event",
1195
+ "name": "CapsSet",
1196
+ "inputs": [
1197
+ {
1198
+ "name": "user",
1199
+ "type": "address",
1200
+ "indexed": true,
1201
+ "internalType": "address"
1202
+ },
1203
+ {
1204
+ "name": "asset",
1205
+ "type": "address",
1206
+ "indexed": true,
1207
+ "internalType": "address"
1208
+ },
1209
+ {
1210
+ "name": "perTrade",
1211
+ "type": "uint128",
1212
+ "indexed": false,
1213
+ "internalType": "uint128"
1214
+ },
1215
+ {
1216
+ "name": "perDay",
1217
+ "type": "uint128",
1218
+ "indexed": false,
1219
+ "internalType": "uint128"
1220
+ }
1221
+ ],
1222
+ "anonymous": false
1223
+ },
1224
+ {
1225
+ "type": "event",
1226
+ "name": "CopyPositionSet",
1227
+ "inputs": [
1228
+ {
1229
+ "name": "user",
1230
+ "type": "address",
1231
+ "indexed": true,
1232
+ "internalType": "address"
1233
+ },
1234
+ {
1235
+ "name": "token",
1236
+ "type": "address",
1237
+ "indexed": true,
1238
+ "internalType": "address"
1239
+ },
1240
+ {
1241
+ "name": "quoteAsset",
1242
+ "type": "address",
1243
+ "indexed": false,
1244
+ "internalType": "address"
1245
+ },
1246
+ {
1247
+ "name": "tokens",
1248
+ "type": "uint128",
1249
+ "indexed": false,
1250
+ "internalType": "uint128"
1251
+ },
1252
+ {
1253
+ "name": "cost",
1254
+ "type": "uint128",
1255
+ "indexed": false,
1256
+ "internalType": "uint128"
1257
+ }
1258
+ ],
1259
+ "anonymous": false
1260
+ },
1261
+ {
1262
+ "type": "event",
1263
+ "name": "EIP712DomainChanged",
1264
+ "inputs": [],
1265
+ "anonymous": false
1266
+ },
1267
+ {
1268
+ "type": "event",
1269
+ "name": "GrantSet",
1270
+ "inputs": [
1271
+ {
1272
+ "name": "user",
1273
+ "type": "address",
1274
+ "indexed": true,
1275
+ "internalType": "address"
1276
+ },
1277
+ {
1278
+ "name": "executor",
1279
+ "type": "address",
1280
+ "indexed": true,
1281
+ "internalType": "address"
1282
+ },
1283
+ {
1284
+ "name": "expiry",
1285
+ "type": "uint64",
1286
+ "indexed": false,
1287
+ "internalType": "uint64"
1288
+ },
1289
+ {
1290
+ "name": "epoch",
1291
+ "type": "uint32",
1292
+ "indexed": false,
1293
+ "internalType": "uint32"
1294
+ },
1295
+ {
1296
+ "name": "maxSnipeTaxBps",
1297
+ "type": "uint16",
1298
+ "indexed": false,
1299
+ "internalType": "uint16"
1300
+ },
1301
+ {
1302
+ "name": "venueMask",
1303
+ "type": "uint8",
1304
+ "indexed": false,
1305
+ "internalType": "uint8"
1306
+ }
1307
+ ],
1308
+ "anonymous": false
1309
+ },
1310
+ {
1311
+ "type": "event",
1312
+ "name": "GuardianSet",
1313
+ "inputs": [
1314
+ {
1315
+ "name": "guardian",
1316
+ "type": "address",
1317
+ "indexed": false,
1318
+ "internalType": "address"
1319
+ }
1320
+ ],
1321
+ "anonymous": false
1322
+ },
1323
+ {
1324
+ "type": "event",
1325
+ "name": "OrderCancelled",
1326
+ "inputs": [
1327
+ {
1328
+ "name": "user",
1329
+ "type": "address",
1330
+ "indexed": true,
1331
+ "internalType": "address"
1332
+ },
1333
+ {
1334
+ "name": "nonce",
1335
+ "type": "uint256",
1336
+ "indexed": false,
1337
+ "internalType": "uint256"
1338
+ }
1339
+ ],
1340
+ "anonymous": false
1341
+ },
1342
+ {
1343
+ "type": "event",
1344
+ "name": "OrderFilled",
1345
+ "inputs": [
1346
+ {
1347
+ "name": "orderHash",
1348
+ "type": "bytes32",
1349
+ "indexed": true,
1350
+ "internalType": "bytes32"
1351
+ },
1352
+ {
1353
+ "name": "user",
1354
+ "type": "address",
1355
+ "indexed": true,
1356
+ "internalType": "address"
1357
+ },
1358
+ {
1359
+ "name": "kind",
1360
+ "type": "uint8",
1361
+ "indexed": false,
1362
+ "internalType": "uint8"
1363
+ },
1364
+ {
1365
+ "name": "token",
1366
+ "type": "address",
1367
+ "indexed": true,
1368
+ "internalType": "address"
1369
+ },
1370
+ {
1371
+ "name": "quoteAsset",
1372
+ "type": "address",
1373
+ "indexed": false,
1374
+ "internalType": "address"
1375
+ },
1376
+ {
1377
+ "name": "amountIn",
1378
+ "type": "uint256",
1379
+ "indexed": false,
1380
+ "internalType": "uint256"
1381
+ },
1382
+ {
1383
+ "name": "amountOut",
1384
+ "type": "uint256",
1385
+ "indexed": false,
1386
+ "internalType": "uint256"
1387
+ },
1388
+ {
1389
+ "name": "fillNumber",
1390
+ "type": "uint32",
1391
+ "indexed": false,
1392
+ "internalType": "uint32"
1393
+ },
1394
+ {
1395
+ "name": "target",
1396
+ "type": "uint8",
1397
+ "indexed": false,
1398
+ "internalType": "uint8"
1399
+ }
1400
+ ],
1401
+ "anonymous": false
1402
+ },
1403
+ {
1404
+ "type": "event",
1405
+ "name": "OwnershipTransferStarted",
1406
+ "inputs": [
1407
+ {
1408
+ "name": "previousOwner",
1409
+ "type": "address",
1410
+ "indexed": true,
1411
+ "internalType": "address"
1412
+ },
1413
+ {
1414
+ "name": "newOwner",
1415
+ "type": "address",
1416
+ "indexed": true,
1417
+ "internalType": "address"
1418
+ }
1419
+ ],
1420
+ "anonymous": false
1421
+ },
1422
+ {
1423
+ "type": "event",
1424
+ "name": "OwnershipTransferred",
1425
+ "inputs": [
1426
+ {
1427
+ "name": "previousOwner",
1428
+ "type": "address",
1429
+ "indexed": true,
1430
+ "internalType": "address"
1431
+ },
1432
+ {
1433
+ "name": "newOwner",
1434
+ "type": "address",
1435
+ "indexed": true,
1436
+ "internalType": "address"
1437
+ }
1438
+ ],
1439
+ "anonymous": false
1440
+ },
1441
+ {
1442
+ "type": "event",
1443
+ "name": "Paused",
1444
+ "inputs": [
1445
+ {
1446
+ "name": "paused",
1447
+ "type": "bool",
1448
+ "indexed": false,
1449
+ "internalType": "bool"
1450
+ },
1451
+ {
1452
+ "name": "by",
1453
+ "type": "address",
1454
+ "indexed": false,
1455
+ "internalType": "address"
1456
+ }
1457
+ ],
1458
+ "anonymous": false
1459
+ },
1460
+ {
1461
+ "type": "event",
1462
+ "name": "Revoked",
1463
+ "inputs": [
1464
+ {
1465
+ "name": "user",
1466
+ "type": "address",
1467
+ "indexed": true,
1468
+ "internalType": "address"
1469
+ },
1470
+ {
1471
+ "name": "newEpoch",
1472
+ "type": "uint32",
1473
+ "indexed": false,
1474
+ "internalType": "uint32"
1475
+ }
1476
+ ],
1477
+ "anonymous": false
1478
+ },
1479
+ {
1480
+ "type": "error",
1481
+ "name": "AmountTooLarge",
1482
+ "inputs": []
1483
+ },
1484
+ {
1485
+ "type": "error",
1486
+ "name": "BadGrantExpiry",
1487
+ "inputs": [
1488
+ {
1489
+ "name": "expiry",
1490
+ "type": "uint64",
1491
+ "internalType": "uint64"
1492
+ }
1493
+ ]
1494
+ },
1495
+ {
1496
+ "type": "error",
1497
+ "name": "BadSignature",
1498
+ "inputs": []
1499
+ },
1500
+ {
1501
+ "type": "error",
1502
+ "name": "CopyFloor",
1503
+ "inputs": [
1504
+ {
1505
+ "name": "quoteOut",
1506
+ "type": "uint256",
1507
+ "internalType": "uint256"
1508
+ },
1509
+ {
1510
+ "name": "floor",
1511
+ "type": "uint256",
1512
+ "internalType": "uint256"
1513
+ }
1514
+ ]
1515
+ },
1516
+ {
1517
+ "type": "error",
1518
+ "name": "CurveMismatch",
1519
+ "inputs": [
1520
+ {
1521
+ "name": "expected",
1522
+ "type": "address",
1523
+ "internalType": "address"
1524
+ },
1525
+ {
1526
+ "name": "given",
1527
+ "type": "address",
1528
+ "internalType": "address"
1529
+ }
1530
+ ]
1531
+ },
1532
+ {
1533
+ "type": "error",
1534
+ "name": "DeadlinePassed",
1535
+ "inputs": []
1536
+ },
1537
+ {
1538
+ "type": "error",
1539
+ "name": "FillTooLarge",
1540
+ "inputs": [
1541
+ {
1542
+ "name": "fill",
1543
+ "type": "uint256",
1544
+ "internalType": "uint256"
1545
+ },
1546
+ {
1547
+ "name": "signed",
1548
+ "type": "uint256",
1549
+ "internalType": "uint256"
1550
+ }
1551
+ ]
1552
+ },
1553
+ {
1554
+ "type": "error",
1555
+ "name": "FullyFilled",
1556
+ "inputs": []
1557
+ },
1558
+ {
1559
+ "type": "error",
1560
+ "name": "GrantExpired",
1561
+ "inputs": []
1562
+ },
1563
+ {
1564
+ "type": "error",
1565
+ "name": "InexactInput",
1566
+ "inputs": [
1567
+ {
1568
+ "name": "expected",
1569
+ "type": "uint256",
1570
+ "internalType": "uint256"
1571
+ },
1572
+ {
1573
+ "name": "received",
1574
+ "type": "uint256",
1575
+ "internalType": "uint256"
1576
+ }
1577
+ ]
1578
+ },
1579
+ {
1580
+ "type": "error",
1581
+ "name": "InsufficientOutput",
1582
+ "inputs": [
1583
+ {
1584
+ "name": "actual",
1585
+ "type": "uint256",
1586
+ "internalType": "uint256"
1587
+ },
1588
+ {
1589
+ "name": "minimum",
1590
+ "type": "uint256",
1591
+ "internalType": "uint256"
1592
+ }
1593
+ ]
1594
+ },
1595
+ {
1596
+ "type": "error",
1597
+ "name": "InvalidOrder",
1598
+ "inputs": []
1599
+ },
1600
+ {
1601
+ "type": "error",
1602
+ "name": "InvalidShortString",
1603
+ "inputs": []
1604
+ },
1605
+ {
1606
+ "type": "error",
1607
+ "name": "ModulePaused",
1608
+ "inputs": []
1609
+ },
1610
+ {
1611
+ "type": "error",
1612
+ "name": "NativeTransferFailed",
1613
+ "inputs": [
1614
+ {
1615
+ "name": "to",
1616
+ "type": "address",
1617
+ "internalType": "address"
1618
+ }
1619
+ ]
1620
+ },
1621
+ {
1622
+ "type": "error",
1623
+ "name": "NoAggregator",
1624
+ "inputs": []
1625
+ },
1626
+ {
1627
+ "type": "error",
1628
+ "name": "NoDirectDeposits",
1629
+ "inputs": []
1630
+ },
1631
+ {
1632
+ "type": "error",
1633
+ "name": "NotCopied",
1634
+ "inputs": [
1635
+ {
1636
+ "name": "token",
1637
+ "type": "address",
1638
+ "internalType": "address"
1639
+ },
1640
+ {
1641
+ "name": "held",
1642
+ "type": "uint256",
1643
+ "internalType": "uint256"
1644
+ },
1645
+ {
1646
+ "name": "wanted",
1647
+ "type": "uint256",
1648
+ "internalType": "uint256"
1649
+ }
1650
+ ]
1651
+ },
1652
+ {
1653
+ "type": "error",
1654
+ "name": "NotExecutor",
1655
+ "inputs": []
1656
+ },
1657
+ {
1658
+ "type": "error",
1659
+ "name": "NotGuardian",
1660
+ "inputs": []
1661
+ },
1662
+ {
1663
+ "type": "error",
1664
+ "name": "NotInPool",
1665
+ "inputs": [
1666
+ {
1667
+ "name": "phase",
1668
+ "type": "uint8",
1669
+ "internalType": "enum GraduationPhase"
1670
+ }
1671
+ ]
1672
+ },
1673
+ {
1674
+ "type": "error",
1675
+ "name": "NotOnCurve",
1676
+ "inputs": [
1677
+ {
1678
+ "name": "phase",
1679
+ "type": "uint8",
1680
+ "internalType": "enum GraduationPhase"
1681
+ }
1682
+ ]
1683
+ },
1684
+ {
1685
+ "type": "error",
1686
+ "name": "NotOurCoin",
1687
+ "inputs": [
1688
+ {
1689
+ "name": "token",
1690
+ "type": "address",
1691
+ "internalType": "address"
1692
+ }
1693
+ ]
1694
+ },
1695
+ {
1696
+ "type": "error",
1697
+ "name": "OrderExpired",
1698
+ "inputs": []
1699
+ },
1700
+ {
1701
+ "type": "error",
1702
+ "name": "OrderIsCancelled",
1703
+ "inputs": []
1704
+ },
1705
+ {
1706
+ "type": "error",
1707
+ "name": "OwnableInvalidOwner",
1708
+ "inputs": [
1709
+ {
1710
+ "name": "owner",
1711
+ "type": "address",
1712
+ "internalType": "address"
1713
+ }
1714
+ ]
1715
+ },
1716
+ {
1717
+ "type": "error",
1718
+ "name": "OwnableUnauthorizedAccount",
1719
+ "inputs": [
1720
+ {
1721
+ "name": "account",
1722
+ "type": "address",
1723
+ "internalType": "address"
1724
+ }
1725
+ ]
1726
+ },
1727
+ {
1728
+ "type": "error",
1729
+ "name": "PerDayCap",
1730
+ "inputs": [
1731
+ {
1732
+ "name": "wouldSpend",
1733
+ "type": "uint256",
1734
+ "internalType": "uint256"
1735
+ },
1736
+ {
1737
+ "name": "cap",
1738
+ "type": "uint256",
1739
+ "internalType": "uint256"
1740
+ }
1741
+ ]
1742
+ },
1743
+ {
1744
+ "type": "error",
1745
+ "name": "PerTradeCap",
1746
+ "inputs": [
1747
+ {
1748
+ "name": "amount",
1749
+ "type": "uint256",
1750
+ "internalType": "uint256"
1751
+ },
1752
+ {
1753
+ "name": "cap",
1754
+ "type": "uint256",
1755
+ "internalType": "uint256"
1756
+ }
1757
+ ]
1758
+ },
1759
+ {
1760
+ "type": "error",
1761
+ "name": "PoolKeyMismatch",
1762
+ "inputs": []
1763
+ },
1764
+ {
1765
+ "type": "error",
1766
+ "name": "PriceBound",
1767
+ "inputs": [
1768
+ {
1769
+ "name": "price",
1770
+ "type": "uint256",
1771
+ "internalType": "uint256"
1772
+ },
1773
+ {
1774
+ "name": "bound",
1775
+ "type": "uint256",
1776
+ "internalType": "uint256"
1777
+ }
1778
+ ]
1779
+ },
1780
+ {
1781
+ "type": "error",
1782
+ "name": "QuoteMismatch",
1783
+ "inputs": [
1784
+ {
1785
+ "name": "venueQuote",
1786
+ "type": "address",
1787
+ "internalType": "address"
1788
+ },
1789
+ {
1790
+ "name": "orderQuote",
1791
+ "type": "address",
1792
+ "internalType": "address"
1793
+ }
1794
+ ]
1795
+ },
1796
+ {
1797
+ "type": "error",
1798
+ "name": "ReentrancyGuardReentrantCall",
1799
+ "inputs": []
1800
+ },
1801
+ {
1802
+ "type": "error",
1803
+ "name": "RenounceDisabled",
1804
+ "inputs": []
1805
+ },
1806
+ {
1807
+ "type": "error",
1808
+ "name": "Residual",
1809
+ "inputs": [
1810
+ {
1811
+ "name": "asset",
1812
+ "type": "address",
1813
+ "internalType": "address"
1814
+ },
1815
+ {
1816
+ "name": "before",
1817
+ "type": "uint256",
1818
+ "internalType": "uint256"
1819
+ },
1820
+ {
1821
+ "name": "afterCall",
1822
+ "type": "uint256",
1823
+ "internalType": "uint256"
1824
+ }
1825
+ ]
1826
+ },
1827
+ {
1828
+ "type": "error",
1829
+ "name": "SafeCastOverflowedUintDowncast",
1830
+ "inputs": [
1831
+ {
1832
+ "name": "bits",
1833
+ "type": "uint8",
1834
+ "internalType": "uint8"
1835
+ },
1836
+ {
1837
+ "name": "value",
1838
+ "type": "uint256",
1839
+ "internalType": "uint256"
1840
+ }
1841
+ ]
1842
+ },
1843
+ {
1844
+ "type": "error",
1845
+ "name": "SafeERC20FailedOperation",
1846
+ "inputs": [
1847
+ {
1848
+ "name": "token",
1849
+ "type": "address",
1850
+ "internalType": "address"
1851
+ }
1852
+ ]
1853
+ },
1854
+ {
1855
+ "type": "error",
1856
+ "name": "SignatureExpired",
1857
+ "inputs": []
1858
+ },
1859
+ {
1860
+ "type": "error",
1861
+ "name": "SnipeTaxAbove",
1862
+ "inputs": [
1863
+ {
1864
+ "name": "current",
1865
+ "type": "uint256",
1866
+ "internalType": "uint256"
1867
+ },
1868
+ {
1869
+ "name": "maximum",
1870
+ "type": "uint256",
1871
+ "internalType": "uint256"
1872
+ }
1873
+ ]
1874
+ },
1875
+ {
1876
+ "type": "error",
1877
+ "name": "StaleEpoch",
1878
+ "inputs": [
1879
+ {
1880
+ "name": "given",
1881
+ "type": "uint32",
1882
+ "internalType": "uint32"
1883
+ },
1884
+ {
1885
+ "name": "current",
1886
+ "type": "uint32",
1887
+ "internalType": "uint32"
1888
+ }
1889
+ ]
1890
+ },
1891
+ {
1892
+ "type": "error",
1893
+ "name": "StringTooLong",
1894
+ "inputs": [
1895
+ {
1896
+ "name": "str",
1897
+ "type": "string",
1898
+ "internalType": "string"
1899
+ }
1900
+ ]
1901
+ },
1902
+ {
1903
+ "type": "error",
1904
+ "name": "TargetNotAllowed",
1905
+ "inputs": [
1906
+ {
1907
+ "name": "target",
1908
+ "type": "uint8",
1909
+ "internalType": "enum Target"
1910
+ }
1911
+ ]
1912
+ },
1913
+ {
1914
+ "type": "error",
1915
+ "name": "TokenMismatch",
1916
+ "inputs": [
1917
+ {
1918
+ "name": "expected",
1919
+ "type": "address",
1920
+ "internalType": "address"
1921
+ },
1922
+ {
1923
+ "name": "given",
1924
+ "type": "address",
1925
+ "internalType": "address"
1926
+ }
1927
+ ]
1928
+ },
1929
+ {
1930
+ "type": "error",
1931
+ "name": "TokenRequired",
1932
+ "inputs": []
1933
+ },
1934
+ {
1935
+ "type": "error",
1936
+ "name": "TooSoon",
1937
+ "inputs": [
1938
+ {
1939
+ "name": "nextAt",
1940
+ "type": "uint256",
1941
+ "internalType": "uint256"
1942
+ }
1943
+ ]
1944
+ },
1945
+ {
1946
+ "type": "error",
1947
+ "name": "ZeroAddress",
1948
+ "inputs": []
1949
+ },
1950
+ {
1951
+ "type": "error",
1952
+ "name": "ZeroAmount",
1953
+ "inputs": []
1954
+ }
1955
+ ]