@peddles/sdk 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 (124) hide show
  1. package/CLAUDE_PROMPT.md +159 -0
  2. package/LICENSE +21 -0
  3. package/README.md +186 -0
  4. package/dist/abis.d.ts +19 -0
  5. package/dist/abis.d.ts.map +1 -0
  6. package/dist/abis.generated.d.ts +2029 -0
  7. package/dist/abis.generated.d.ts.map +1 -0
  8. package/dist/abis.generated.js +2723 -0
  9. package/dist/abis.generated.js.map +1 -0
  10. package/dist/abis.js +19 -0
  11. package/dist/abis.js.map +1 -0
  12. package/dist/artDex.d.ts +937 -0
  13. package/dist/artDex.d.ts.map +1 -0
  14. package/dist/artDex.js +155 -0
  15. package/dist/artDex.js.map +1 -0
  16. package/dist/client.d.ts +10 -0
  17. package/dist/client.d.ts.map +1 -0
  18. package/dist/client.js +2 -0
  19. package/dist/client.js.map +1 -0
  20. package/dist/clog.d.ts +75 -0
  21. package/dist/clog.d.ts.map +1 -0
  22. package/dist/clog.js +91 -0
  23. package/dist/clog.js.map +1 -0
  24. package/dist/clogInflow.d.ts +136 -0
  25. package/dist/clogInflow.d.ts.map +1 -0
  26. package/dist/clogInflow.js +177 -0
  27. package/dist/clogInflow.js.map +1 -0
  28. package/dist/deployments.d.ts +30 -0
  29. package/dist/deployments.d.ts.map +1 -0
  30. package/dist/deployments.generated.d.ts +92 -0
  31. package/dist/deployments.generated.d.ts.map +1 -0
  32. package/dist/deployments.generated.js +93 -0
  33. package/dist/deployments.generated.js.map +1 -0
  34. package/dist/deployments.js +52 -0
  35. package/dist/deployments.js.map +1 -0
  36. package/dist/feeSplit.d.ts +54 -0
  37. package/dist/feeSplit.d.ts.map +1 -0
  38. package/dist/feeSplit.js +69 -0
  39. package/dist/feeSplit.js.map +1 -0
  40. package/dist/feeTerms.d.ts +46 -0
  41. package/dist/feeTerms.d.ts.map +1 -0
  42. package/dist/feeTerms.js +80 -0
  43. package/dist/feeTerms.js.map +1 -0
  44. package/dist/index.d.ts +102 -0
  45. package/dist/index.d.ts.map +1 -0
  46. package/dist/index.js +108 -0
  47. package/dist/index.js.map +1 -0
  48. package/dist/launch/abi.generated.d.ts +2667 -0
  49. package/dist/launch/abi.generated.d.ts.map +1 -0
  50. package/dist/launch/abi.generated.js +2472 -0
  51. package/dist/launch/abi.generated.js.map +1 -0
  52. package/dist/launch/addresses.d.ts +24 -0
  53. package/dist/launch/addresses.d.ts.map +1 -0
  54. package/dist/launch/addresses.js +35 -0
  55. package/dist/launch/addresses.js.map +1 -0
  56. package/dist/launch/feeTerms.d.ts +52 -0
  57. package/dist/launch/feeTerms.d.ts.map +1 -0
  58. package/dist/launch/feeTerms.js +72 -0
  59. package/dist/launch/feeTerms.js.map +1 -0
  60. package/dist/launch/index.d.ts +33 -0
  61. package/dist/launch/index.d.ts.map +1 -0
  62. package/dist/launch/index.js +24 -0
  63. package/dist/launch/index.js.map +1 -0
  64. package/dist/launch/revert.d.ts +23 -0
  65. package/dist/launch/revert.d.ts.map +1 -0
  66. package/dist/launch/revert.js +169 -0
  67. package/dist/launch/revert.js.map +1 -0
  68. package/dist/launch/salt.d.ts +90 -0
  69. package/dist/launch/salt.d.ts.map +1 -0
  70. package/dist/launch/salt.js +153 -0
  71. package/dist/launch/salt.js.map +1 -0
  72. package/dist/launch/stockCall.d.ts +122 -0
  73. package/dist/launch/stockCall.d.ts.map +1 -0
  74. package/dist/launch/stockCall.js +144 -0
  75. package/dist/launch/stockCall.js.map +1 -0
  76. package/dist/launch/tickMath.d.ts +39 -0
  77. package/dist/launch/tickMath.d.ts.map +1 -0
  78. package/dist/launch/tickMath.js +109 -0
  79. package/dist/launch/tickMath.js.map +1 -0
  80. package/dist/launch/variants.d.ts +64 -0
  81. package/dist/launch/variants.d.ts.map +1 -0
  82. package/dist/launch/variants.js +131 -0
  83. package/dist/launch/variants.js.map +1 -0
  84. package/dist/launch/wethCall.d.ts +133 -0
  85. package/dist/launch/wethCall.d.ts.map +1 -0
  86. package/dist/launch/wethCall.js +173 -0
  87. package/dist/launch/wethCall.js.map +1 -0
  88. package/dist/launch/wethPlan.d.ts +71 -0
  89. package/dist/launch/wethPlan.d.ts.map +1 -0
  90. package/dist/launch/wethPlan.js +146 -0
  91. package/dist/launch/wethPlan.js.map +1 -0
  92. package/dist/perps/abi.generated.d.ts +794 -0
  93. package/dist/perps/abi.generated.d.ts.map +1 -0
  94. package/dist/perps/abi.generated.js +738 -0
  95. package/dist/perps/abi.generated.js.map +1 -0
  96. package/dist/perps/index.d.ts +160 -0
  97. package/dist/perps/index.d.ts.map +1 -0
  98. package/dist/perps/index.js +147 -0
  99. package/dist/perps/index.js.map +1 -0
  100. package/package.json +105 -0
  101. package/src/abis.generated.ts +2738 -0
  102. package/src/abis.ts +35 -0
  103. package/src/artDex.ts +254 -0
  104. package/src/client.ts +10 -0
  105. package/src/clog.ts +171 -0
  106. package/src/clogInflow.ts +217 -0
  107. package/src/deployments.generated.ts +98 -0
  108. package/src/deployments.ts +60 -0
  109. package/src/feeSplit.ts +76 -0
  110. package/src/feeTerms.ts +137 -0
  111. package/src/index.ts +233 -0
  112. package/src/launch/abi.generated.ts +2481 -0
  113. package/src/launch/addresses.ts +58 -0
  114. package/src/launch/feeTerms.ts +93 -0
  115. package/src/launch/index.ts +93 -0
  116. package/src/launch/revert.ts +188 -0
  117. package/src/launch/salt.ts +216 -0
  118. package/src/launch/stockCall.ts +223 -0
  119. package/src/launch/tickMath.ts +139 -0
  120. package/src/launch/variants.ts +183 -0
  121. package/src/launch/wethCall.ts +240 -0
  122. package/src/launch/wethPlan.ts +257 -0
  123. package/src/perps/abi.generated.ts +741 -0
  124. package/src/perps/index.ts +263 -0
@@ -0,0 +1,2738 @@
1
+ // GENERATED FILE — DO NOT EDIT.
2
+ // Written by script/generate-abis.mjs from contracts/out/<File>.sol/<Contract>.json.
3
+ // Re-run it after `forge build` and commit the result.
4
+
5
+ /** `PeddlesFactoryV20` — launch types, their declared economics, and CREATE2 address quoting. */
6
+ export const factoryAbi = [
7
+ {
8
+ "type": "function",
9
+ "name": "variantAllocation",
10
+ "inputs": [
11
+ {
12
+ "name": "variant",
13
+ "type": "uint8"
14
+ }
15
+ ],
16
+ "outputs": [
17
+ {
18
+ "name": "",
19
+ "type": "tuple",
20
+ "components": [
21
+ {
22
+ "name": "liquidityBps",
23
+ "type": "uint16"
24
+ },
25
+ {
26
+ "name": "airdropBps",
27
+ "type": "uint16"
28
+ },
29
+ {
30
+ "name": "vestingBps",
31
+ "type": "uint16"
32
+ },
33
+ {
34
+ "name": "burnBps",
35
+ "type": "uint16"
36
+ },
37
+ {
38
+ "name": "clogBps",
39
+ "type": "uint16"
40
+ },
41
+ {
42
+ "name": "clogSliceBps",
43
+ "type": "uint16"
44
+ },
45
+ {
46
+ "name": "clogMinInterval",
47
+ "type": "uint64"
48
+ }
49
+ ]
50
+ }
51
+ ],
52
+ "stateMutability": "view"
53
+ },
54
+ {
55
+ "type": "function",
56
+ "name": "variantInfo",
57
+ "inputs": [
58
+ {
59
+ "name": "variant",
60
+ "type": "uint8"
61
+ }
62
+ ],
63
+ "outputs": [
64
+ {
65
+ "name": "codePointer",
66
+ "type": "address"
67
+ },
68
+ {
69
+ "name": "creationCodeHash",
70
+ "type": "bytes32"
71
+ },
72
+ {
73
+ "name": "enabled",
74
+ "type": "bool"
75
+ }
76
+ ],
77
+ "stateMutability": "view"
78
+ },
79
+ {
80
+ "type": "function",
81
+ "name": "isVariantSupported",
82
+ "inputs": [
83
+ {
84
+ "name": "variant",
85
+ "type": "uint8"
86
+ }
87
+ ],
88
+ "outputs": [
89
+ {
90
+ "name": "",
91
+ "type": "bool"
92
+ }
93
+ ],
94
+ "stateMutability": "view"
95
+ },
96
+ {
97
+ "type": "function",
98
+ "name": "getPeddlesAddress",
99
+ "inputs": [
100
+ {
101
+ "name": "variant",
102
+ "type": "uint8"
103
+ },
104
+ {
105
+ "name": "sender",
106
+ "type": "address"
107
+ },
108
+ {
109
+ "name": "salt",
110
+ "type": "bytes32"
111
+ }
112
+ ],
113
+ "outputs": [
114
+ {
115
+ "name": "token",
116
+ "type": "address"
117
+ }
118
+ ],
119
+ "stateMutability": "view"
120
+ },
121
+ {
122
+ "type": "function",
123
+ "name": "TOKEN_CREATION_CODE_HASH",
124
+ "inputs": [],
125
+ "outputs": [
126
+ {
127
+ "name": "",
128
+ "type": "bytes32"
129
+ }
130
+ ],
131
+ "stateMutability": "view"
132
+ },
133
+ {
134
+ "type": "function",
135
+ "name": "VARIANT_ASSET",
136
+ "inputs": [],
137
+ "outputs": [
138
+ {
139
+ "name": "",
140
+ "type": "uint8"
141
+ }
142
+ ],
143
+ "stateMutability": "view"
144
+ },
145
+ {
146
+ "type": "function",
147
+ "name": "VARIANT_CLOG",
148
+ "inputs": [],
149
+ "outputs": [
150
+ {
151
+ "name": "",
152
+ "type": "uint8"
153
+ }
154
+ ],
155
+ "stateMutability": "view"
156
+ }
157
+ ] as const;
158
+
159
+ /** `PeddlesClogVault` — the marketing allocation, sold in capped slices. Proceeds stay in the vault until the creator withdraws them. */
160
+ export const clogVaultAbi = [
161
+ {
162
+ "type": "function",
163
+ "name": "token",
164
+ "inputs": [],
165
+ "outputs": [
166
+ {
167
+ "name": "",
168
+ "type": "address"
169
+ }
170
+ ],
171
+ "stateMutability": "view"
172
+ },
173
+ {
174
+ "type": "function",
175
+ "name": "creator",
176
+ "inputs": [],
177
+ "outputs": [
178
+ {
179
+ "name": "",
180
+ "type": "address"
181
+ }
182
+ ],
183
+ "stateMutability": "view"
184
+ },
185
+ {
186
+ "type": "function",
187
+ "name": "router",
188
+ "inputs": [],
189
+ "outputs": [
190
+ {
191
+ "name": "",
192
+ "type": "address"
193
+ }
194
+ ],
195
+ "stateMutability": "view"
196
+ },
197
+ {
198
+ "type": "function",
199
+ "name": "sliceCap",
200
+ "inputs": [],
201
+ "outputs": [
202
+ {
203
+ "name": "",
204
+ "type": "uint256"
205
+ }
206
+ ],
207
+ "stateMutability": "view"
208
+ },
209
+ {
210
+ "type": "function",
211
+ "name": "minInterval",
212
+ "inputs": [],
213
+ "outputs": [
214
+ {
215
+ "name": "",
216
+ "type": "uint64"
217
+ }
218
+ ],
219
+ "stateMutability": "view"
220
+ },
221
+ {
222
+ "type": "function",
223
+ "name": "lastRelease",
224
+ "inputs": [],
225
+ "outputs": [
226
+ {
227
+ "name": "",
228
+ "type": "uint64"
229
+ }
230
+ ],
231
+ "stateMutability": "view"
232
+ },
233
+ {
234
+ "type": "function",
235
+ "name": "totalSold",
236
+ "inputs": [],
237
+ "outputs": [
238
+ {
239
+ "name": "",
240
+ "type": "uint256"
241
+ }
242
+ ],
243
+ "stateMutability": "view"
244
+ },
245
+ {
246
+ "type": "function",
247
+ "name": "previewRelease",
248
+ "inputs": [],
249
+ "outputs": [
250
+ {
251
+ "name": "amountIn",
252
+ "type": "uint256"
253
+ },
254
+ {
255
+ "name": "readyAt",
256
+ "type": "uint64"
257
+ }
258
+ ],
259
+ "stateMutability": "view"
260
+ },
261
+ {
262
+ "type": "function",
263
+ "name": "release",
264
+ "inputs": [
265
+ {
266
+ "name": "minOut",
267
+ "type": "uint256"
268
+ }
269
+ ],
270
+ "outputs": [
271
+ {
272
+ "name": "out",
273
+ "type": "uint256"
274
+ }
275
+ ],
276
+ "stateMutability": "nonpayable"
277
+ },
278
+ {
279
+ "type": "function",
280
+ "name": "releaseFloorX18",
281
+ "inputs": [],
282
+ "outputs": [
283
+ {
284
+ "name": "",
285
+ "type": "uint256"
286
+ }
287
+ ],
288
+ "stateMutability": "view"
289
+ },
290
+ {
291
+ "type": "function",
292
+ "name": "setReleaseFloor",
293
+ "inputs": [
294
+ {
295
+ "name": "floorX18",
296
+ "type": "uint256"
297
+ }
298
+ ],
299
+ "outputs": [],
300
+ "stateMutability": "nonpayable"
301
+ },
302
+ {
303
+ "type": "function",
304
+ "name": "withdrawProceeds",
305
+ "inputs": [
306
+ {
307
+ "name": "to",
308
+ "type": "address"
309
+ }
310
+ ],
311
+ "outputs": [
312
+ {
313
+ "name": "amount",
314
+ "type": "uint256"
315
+ }
316
+ ],
317
+ "stateMutability": "nonpayable"
318
+ },
319
+ {
320
+ "type": "function",
321
+ "name": "escapeOpened",
322
+ "inputs": [],
323
+ "outputs": [
324
+ {
325
+ "name": "",
326
+ "type": "bool"
327
+ }
328
+ ],
329
+ "stateMutability": "view"
330
+ },
331
+ {
332
+ "type": "function",
333
+ "name": "escape",
334
+ "inputs": [],
335
+ "outputs": [
336
+ {
337
+ "name": "amount",
338
+ "type": "uint256"
339
+ }
340
+ ],
341
+ "stateMutability": "nonpayable"
342
+ },
343
+ {
344
+ "type": "function",
345
+ "name": "sweepStray",
346
+ "inputs": [
347
+ {
348
+ "name": "asset",
349
+ "type": "address"
350
+ }
351
+ ],
352
+ "outputs": [
353
+ {
354
+ "name": "amount",
355
+ "type": "uint256"
356
+ }
357
+ ],
358
+ "stateMutability": "nonpayable"
359
+ },
360
+ {
361
+ "type": "event",
362
+ "name": "Released",
363
+ "inputs": [
364
+ {
365
+ "name": "tokensIn",
366
+ "type": "uint256",
367
+ "indexed": false
368
+ },
369
+ {
370
+ "name": "quoteOut",
371
+ "type": "uint256",
372
+ "indexed": false
373
+ },
374
+ {
375
+ "name": "to",
376
+ "type": "address",
377
+ "indexed": true
378
+ }
379
+ ],
380
+ "anonymous": false
381
+ },
382
+ {
383
+ "type": "event",
384
+ "name": "ProceedsWithdrawn",
385
+ "inputs": [
386
+ {
387
+ "name": "to",
388
+ "type": "address",
389
+ "indexed": true
390
+ },
391
+ {
392
+ "name": "amount",
393
+ "type": "uint256",
394
+ "indexed": false
395
+ }
396
+ ],
397
+ "anonymous": false
398
+ },
399
+ {
400
+ "type": "event",
401
+ "name": "ReleaseFloorSet",
402
+ "inputs": [
403
+ {
404
+ "name": "floorX18",
405
+ "type": "uint256",
406
+ "indexed": false
407
+ }
408
+ ],
409
+ "anonymous": false
410
+ },
411
+ {
412
+ "type": "event",
413
+ "name": "Escaped",
414
+ "inputs": [
415
+ {
416
+ "name": "tokensOut",
417
+ "type": "uint256",
418
+ "indexed": false
419
+ },
420
+ {
421
+ "name": "to",
422
+ "type": "address",
423
+ "indexed": true
424
+ }
425
+ ],
426
+ "anonymous": false
427
+ },
428
+ {
429
+ "type": "event",
430
+ "name": "StraySwept",
431
+ "inputs": [
432
+ {
433
+ "name": "asset",
434
+ "type": "address",
435
+ "indexed": true
436
+ },
437
+ {
438
+ "name": "amount",
439
+ "type": "uint256",
440
+ "indexed": false
441
+ },
442
+ {
443
+ "name": "to",
444
+ "type": "address",
445
+ "indexed": true
446
+ }
447
+ ],
448
+ "anonymous": false
449
+ }
450
+ ] as const;
451
+
452
+ /** `PeddlesClogVaultFactory` — where a launch's clog vault lives. */
453
+ export const clogVaultFactoryAbi = [
454
+ {
455
+ "type": "function",
456
+ "name": "vaultOf",
457
+ "inputs": [
458
+ {
459
+ "name": "",
460
+ "type": "address"
461
+ },
462
+ {
463
+ "name": "",
464
+ "type": "address"
465
+ }
466
+ ],
467
+ "outputs": [
468
+ {
469
+ "name": "",
470
+ "type": "address"
471
+ }
472
+ ],
473
+ "stateMutability": "view"
474
+ }
475
+ ] as const;
476
+
477
+ /** ERC-20, narrowed to what a launch read needs (taken from `PeddlesTokenV20`; the shapes are the standard ones). */
478
+ export const erc20Abi = [
479
+ {
480
+ "type": "function",
481
+ "name": "name",
482
+ "inputs": [],
483
+ "outputs": [
484
+ {
485
+ "name": "",
486
+ "type": "string"
487
+ }
488
+ ],
489
+ "stateMutability": "view"
490
+ },
491
+ {
492
+ "type": "function",
493
+ "name": "symbol",
494
+ "inputs": [],
495
+ "outputs": [
496
+ {
497
+ "name": "",
498
+ "type": "string"
499
+ }
500
+ ],
501
+ "stateMutability": "view"
502
+ },
503
+ {
504
+ "type": "function",
505
+ "name": "decimals",
506
+ "inputs": [],
507
+ "outputs": [
508
+ {
509
+ "name": "",
510
+ "type": "uint8"
511
+ }
512
+ ],
513
+ "stateMutability": "view"
514
+ },
515
+ {
516
+ "type": "function",
517
+ "name": "totalSupply",
518
+ "inputs": [],
519
+ "outputs": [
520
+ {
521
+ "name": "",
522
+ "type": "uint256"
523
+ }
524
+ ],
525
+ "stateMutability": "view"
526
+ },
527
+ {
528
+ "type": "function",
529
+ "name": "balanceOf",
530
+ "inputs": [
531
+ {
532
+ "name": "account",
533
+ "type": "address"
534
+ }
535
+ ],
536
+ "outputs": [
537
+ {
538
+ "name": "",
539
+ "type": "uint256"
540
+ }
541
+ ],
542
+ "stateMutability": "view"
543
+ }
544
+ ] as const;
545
+
546
+ /** `PeddlesTokenV20` — the launched token's holder-rewards binding. */
547
+ export const tokenV20Abi = [
548
+ {
549
+ "type": "function",
550
+ "name": "holderRewards",
551
+ "inputs": [],
552
+ "outputs": [
553
+ {
554
+ "name": "",
555
+ "type": "address"
556
+ }
557
+ ],
558
+ "stateMutability": "view"
559
+ },
560
+ {
561
+ "type": "function",
562
+ "name": "HOLDER_NOTIFY_GAS",
563
+ "inputs": [],
564
+ "outputs": [
565
+ {
566
+ "name": "",
567
+ "type": "uint256"
568
+ }
569
+ ],
570
+ "stateMutability": "view"
571
+ },
572
+ {
573
+ "type": "error",
574
+ "name": "NotifyGasTooLow",
575
+ "inputs": []
576
+ }
577
+ ] as const;
578
+
579
+ /** `PeddlesFeeHook` — every launch pool's permanent terms and the rates they imply. */
580
+ export const feeHookAbi = [
581
+ {
582
+ "type": "function",
583
+ "name": "poolConfig",
584
+ "inputs": [
585
+ {
586
+ "name": "poolId",
587
+ "type": "bytes32"
588
+ }
589
+ ],
590
+ "outputs": [
591
+ {
592
+ "name": "",
593
+ "type": "tuple",
594
+ "components": [
595
+ {
596
+ "name": "quote",
597
+ "type": "address"
598
+ },
599
+ {
600
+ "name": "creatorTaxBps",
601
+ "type": "uint16"
602
+ },
603
+ {
604
+ "name": "excessToCreatorBps",
605
+ "type": "uint16"
606
+ },
607
+ {
608
+ "name": "registered",
609
+ "type": "bool"
610
+ },
611
+ {
612
+ "name": "token",
613
+ "type": "address"
614
+ },
615
+ {
616
+ "name": "startBlock",
617
+ "type": "uint32"
618
+ },
619
+ {
620
+ "name": "sniperWindow",
621
+ "type": "uint32"
622
+ },
623
+ {
624
+ "name": "creator",
625
+ "type": "address"
626
+ },
627
+ {
628
+ "name": "creatorPayout",
629
+ "type": "address"
630
+ },
631
+ {
632
+ "name": "rewards",
633
+ "type": "address"
634
+ }
635
+ ]
636
+ }
637
+ ],
638
+ "stateMutability": "view"
639
+ },
640
+ {
641
+ "type": "function",
642
+ "name": "totalFeeBps",
643
+ "inputs": [
644
+ {
645
+ "name": "poolId",
646
+ "type": "bytes32"
647
+ }
648
+ ],
649
+ "outputs": [
650
+ {
651
+ "name": "",
652
+ "type": "uint256"
653
+ }
654
+ ],
655
+ "stateMutability": "view"
656
+ },
657
+ {
658
+ "type": "function",
659
+ "name": "sniperBlocksRemaining",
660
+ "inputs": [
661
+ {
662
+ "name": "poolId",
663
+ "type": "bytes32"
664
+ }
665
+ ],
666
+ "outputs": [
667
+ {
668
+ "name": "",
669
+ "type": "uint256"
670
+ }
671
+ ],
672
+ "stateMutability": "view"
673
+ },
674
+ {
675
+ "type": "function",
676
+ "name": "holderRewardsFactory",
677
+ "inputs": [],
678
+ "outputs": [
679
+ {
680
+ "name": "",
681
+ "type": "address"
682
+ }
683
+ ],
684
+ "stateMutability": "view"
685
+ },
686
+ {
687
+ "type": "function",
688
+ "name": "PLATFORM_FEE_BPS",
689
+ "inputs": [],
690
+ "outputs": [
691
+ {
692
+ "name": "",
693
+ "type": "uint16"
694
+ }
695
+ ],
696
+ "stateMutability": "view"
697
+ },
698
+ {
699
+ "type": "function",
700
+ "name": "CREATOR_FEE_BPS",
701
+ "inputs": [],
702
+ "outputs": [
703
+ {
704
+ "name": "",
705
+ "type": "uint16"
706
+ }
707
+ ],
708
+ "stateMutability": "view"
709
+ },
710
+ {
711
+ "type": "function",
712
+ "name": "MIN_CREATOR_TAX_BPS",
713
+ "inputs": [],
714
+ "outputs": [
715
+ {
716
+ "name": "",
717
+ "type": "uint16"
718
+ }
719
+ ],
720
+ "stateMutability": "view"
721
+ },
722
+ {
723
+ "type": "function",
724
+ "name": "MAX_CREATOR_TAX_BPS",
725
+ "inputs": [],
726
+ "outputs": [
727
+ {
728
+ "name": "",
729
+ "type": "uint16"
730
+ }
731
+ ],
732
+ "stateMutability": "view"
733
+ },
734
+ {
735
+ "type": "event",
736
+ "name": "PoolRegistered",
737
+ "inputs": [
738
+ {
739
+ "name": "poolId",
740
+ "type": "bytes32",
741
+ "indexed": true
742
+ },
743
+ {
744
+ "name": "token",
745
+ "type": "address",
746
+ "indexed": true
747
+ },
748
+ {
749
+ "name": "quote",
750
+ "type": "address",
751
+ "indexed": true
752
+ },
753
+ {
754
+ "name": "creator",
755
+ "type": "address",
756
+ "indexed": false
757
+ },
758
+ {
759
+ "name": "creatorTaxBps",
760
+ "type": "uint16",
761
+ "indexed": false
762
+ },
763
+ {
764
+ "name": "excessToCreatorBps",
765
+ "type": "uint16",
766
+ "indexed": false
767
+ },
768
+ {
769
+ "name": "rewards",
770
+ "type": "address",
771
+ "indexed": false
772
+ }
773
+ ],
774
+ "anonymous": false
775
+ },
776
+ {
777
+ "type": "event",
778
+ "name": "FeeAccrued",
779
+ "inputs": [
780
+ {
781
+ "name": "poolId",
782
+ "type": "bytes32",
783
+ "indexed": true
784
+ },
785
+ {
786
+ "name": "quote",
787
+ "type": "address",
788
+ "indexed": true
789
+ },
790
+ {
791
+ "name": "platform",
792
+ "type": "uint256",
793
+ "indexed": false
794
+ },
795
+ {
796
+ "name": "creator",
797
+ "type": "uint256",
798
+ "indexed": false
799
+ },
800
+ {
801
+ "name": "holders",
802
+ "type": "uint256",
803
+ "indexed": false
804
+ },
805
+ {
806
+ "name": "viaBefore",
807
+ "type": "bool",
808
+ "indexed": false
809
+ }
810
+ ],
811
+ "anonymous": false
812
+ },
813
+ {
814
+ "type": "event",
815
+ "name": "SniperFeeAccrued",
816
+ "inputs": [
817
+ {
818
+ "name": "poolId",
819
+ "type": "bytes32",
820
+ "indexed": true
821
+ },
822
+ {
823
+ "name": "quote",
824
+ "type": "address",
825
+ "indexed": true
826
+ },
827
+ {
828
+ "name": "toLiquidity",
829
+ "type": "uint256",
830
+ "indexed": false
831
+ },
832
+ {
833
+ "name": "toCreator",
834
+ "type": "uint256",
835
+ "indexed": false
836
+ },
837
+ {
838
+ "name": "toPlatform",
839
+ "type": "uint256",
840
+ "indexed": false
841
+ },
842
+ {
843
+ "name": "viaBefore",
844
+ "type": "bool",
845
+ "indexed": false
846
+ }
847
+ ],
848
+ "anonymous": false
849
+ }
850
+ ] as const;
851
+
852
+ /** `PeddlesStockLaunchpad` — a stock-paired coin's pool id and the hook it is registered with. */
853
+ export const stockLaunchpadAbi = [
854
+ {
855
+ "type": "function",
856
+ "name": "coins",
857
+ "inputs": [
858
+ {
859
+ "name": "",
860
+ "type": "address"
861
+ }
862
+ ],
863
+ "outputs": [
864
+ {
865
+ "name": "creator",
866
+ "type": "address"
867
+ },
868
+ {
869
+ "name": "quote",
870
+ "type": "address"
871
+ },
872
+ {
873
+ "name": "poolId",
874
+ "type": "bytes32"
875
+ },
876
+ {
877
+ "name": "positionId",
878
+ "type": "uint256"
879
+ },
880
+ {
881
+ "name": "createdAt",
882
+ "type": "uint64"
883
+ },
884
+ {
885
+ "name": "tokenIsCurrency0",
886
+ "type": "bool"
887
+ }
888
+ ],
889
+ "stateMutability": "view"
890
+ },
891
+ {
892
+ "type": "function",
893
+ "name": "feeHook",
894
+ "inputs": [],
895
+ "outputs": [
896
+ {
897
+ "name": "",
898
+ "type": "address"
899
+ }
900
+ ],
901
+ "stateMutability": "view"
902
+ }
903
+ ] as const;
904
+
905
+ /** `PeddlesHolderRewards` — a launched coin holder rewards (the dust exit and the eligible-supply floor). */
906
+ export const holderRewardsAbi = [
907
+ {
908
+ "type": "function",
909
+ "name": "token",
910
+ "inputs": [],
911
+ "outputs": [
912
+ {
913
+ "name": "",
914
+ "type": "address"
915
+ }
916
+ ],
917
+ "stateMutability": "view"
918
+ },
919
+ {
920
+ "type": "function",
921
+ "name": "quote",
922
+ "inputs": [],
923
+ "outputs": [
924
+ {
925
+ "name": "",
926
+ "type": "address"
927
+ }
928
+ ],
929
+ "stateMutability": "view"
930
+ },
931
+ {
932
+ "type": "function",
933
+ "name": "claim",
934
+ "inputs": [],
935
+ "outputs": [
936
+ {
937
+ "name": "amount",
938
+ "type": "uint256"
939
+ }
940
+ ],
941
+ "stateMutability": "nonpayable"
942
+ },
943
+ {
944
+ "type": "function",
945
+ "name": "minEligibleSupply",
946
+ "inputs": [],
947
+ "outputs": [
948
+ {
949
+ "name": "",
950
+ "type": "uint256"
951
+ }
952
+ ],
953
+ "stateMutability": "view"
954
+ },
955
+ {
956
+ "type": "function",
957
+ "name": "sweepableDust",
958
+ "inputs": [],
959
+ "outputs": [
960
+ {
961
+ "name": "",
962
+ "type": "uint256"
963
+ }
964
+ ],
965
+ "stateMutability": "view"
966
+ },
967
+ {
968
+ "type": "function",
969
+ "name": "sweepDust",
970
+ "inputs": [],
971
+ "outputs": [
972
+ {
973
+ "name": "amount",
974
+ "type": "uint256"
975
+ }
976
+ ],
977
+ "stateMutability": "nonpayable"
978
+ }
979
+ ] as const;
980
+
981
+ /** `PeddlesNFTFactory` — collection provenance. */
982
+ export const nftFactoryAbi = [
983
+ {
984
+ "type": "function",
985
+ "name": "isPeddlesCollection",
986
+ "inputs": [
987
+ {
988
+ "name": "",
989
+ "type": "address"
990
+ }
991
+ ],
992
+ "outputs": [
993
+ {
994
+ "name": "",
995
+ "type": "bool"
996
+ }
997
+ ],
998
+ "stateMutability": "view"
999
+ },
1000
+ {
1001
+ "type": "function",
1002
+ "name": "isGraduationOperator",
1003
+ "inputs": [
1004
+ {
1005
+ "name": "operator",
1006
+ "type": "address"
1007
+ }
1008
+ ],
1009
+ "outputs": [
1010
+ {
1011
+ "name": "",
1012
+ "type": "bool"
1013
+ }
1014
+ ],
1015
+ "stateMutability": "view"
1016
+ }
1017
+ ] as const;
1018
+
1019
+ /** `PeddlesArtCollection` — the holder-fee binding and the graduation latch (bonding collections expose the same selectors). */
1020
+ export const nftCollectionAbi = [
1021
+ {
1022
+ "type": "function",
1023
+ "name": "owner",
1024
+ "inputs": [],
1025
+ "outputs": [
1026
+ {
1027
+ "name": "",
1028
+ "type": "address"
1029
+ }
1030
+ ],
1031
+ "stateMutability": "view"
1032
+ },
1033
+ {
1034
+ "type": "function",
1035
+ "name": "holderRewards",
1036
+ "inputs": [],
1037
+ "outputs": [
1038
+ {
1039
+ "name": "",
1040
+ "type": "address"
1041
+ }
1042
+ ],
1043
+ "stateMutability": "view"
1044
+ },
1045
+ {
1046
+ "type": "function",
1047
+ "name": "setHolderRewards",
1048
+ "inputs": [
1049
+ {
1050
+ "name": "distributor",
1051
+ "type": "address"
1052
+ }
1053
+ ],
1054
+ "outputs": [],
1055
+ "stateMutability": "nonpayable"
1056
+ },
1057
+ {
1058
+ "type": "function",
1059
+ "name": "graduationReady",
1060
+ "inputs": [],
1061
+ "outputs": [
1062
+ {
1063
+ "name": "",
1064
+ "type": "bool"
1065
+ }
1066
+ ],
1067
+ "stateMutability": "view"
1068
+ },
1069
+ {
1070
+ "type": "function",
1071
+ "name": "graduated",
1072
+ "inputs": [],
1073
+ "outputs": [
1074
+ {
1075
+ "name": "",
1076
+ "type": "bool"
1077
+ }
1078
+ ],
1079
+ "stateMutability": "view"
1080
+ },
1081
+ {
1082
+ "type": "function",
1083
+ "name": "graduatedToken",
1084
+ "inputs": [],
1085
+ "outputs": [
1086
+ {
1087
+ "name": "",
1088
+ "type": "address"
1089
+ }
1090
+ ],
1091
+ "stateMutability": "view"
1092
+ },
1093
+ {
1094
+ "type": "function",
1095
+ "name": "balanceOf",
1096
+ "inputs": [
1097
+ {
1098
+ "name": "account",
1099
+ "type": "address"
1100
+ }
1101
+ ],
1102
+ "outputs": [
1103
+ {
1104
+ "name": "",
1105
+ "type": "uint256"
1106
+ }
1107
+ ],
1108
+ "stateMutability": "view"
1109
+ }
1110
+ ] as const;
1111
+
1112
+ /** `PeddlesNftFeeDistributorFactory` — one canonical fee distributor per collection (CREATE2, ownerless). */
1113
+ export const nftFeeDistributorFactoryAbi = [
1114
+ {
1115
+ "type": "function",
1116
+ "name": "predict",
1117
+ "inputs": [
1118
+ {
1119
+ "name": "collection",
1120
+ "type": "address"
1121
+ }
1122
+ ],
1123
+ "outputs": [
1124
+ {
1125
+ "name": "",
1126
+ "type": "address"
1127
+ }
1128
+ ],
1129
+ "stateMutability": "view"
1130
+ },
1131
+ {
1132
+ "type": "function",
1133
+ "name": "create",
1134
+ "inputs": [
1135
+ {
1136
+ "name": "collection",
1137
+ "type": "address"
1138
+ }
1139
+ ],
1140
+ "outputs": [
1141
+ {
1142
+ "name": "distributor",
1143
+ "type": "address"
1144
+ }
1145
+ ],
1146
+ "stateMutability": "nonpayable"
1147
+ },
1148
+ {
1149
+ "type": "function",
1150
+ "name": "distributorOf",
1151
+ "inputs": [
1152
+ {
1153
+ "name": "",
1154
+ "type": "address"
1155
+ }
1156
+ ],
1157
+ "outputs": [
1158
+ {
1159
+ "name": "",
1160
+ "type": "address"
1161
+ }
1162
+ ],
1163
+ "stateMutability": "view"
1164
+ },
1165
+ {
1166
+ "type": "function",
1167
+ "name": "isDistributor",
1168
+ "inputs": [
1169
+ {
1170
+ "name": "",
1171
+ "type": "address"
1172
+ }
1173
+ ],
1174
+ "outputs": [
1175
+ {
1176
+ "name": "",
1177
+ "type": "bool"
1178
+ }
1179
+ ],
1180
+ "stateMutability": "view"
1181
+ },
1182
+ {
1183
+ "type": "event",
1184
+ "name": "DistributorCreated",
1185
+ "inputs": [
1186
+ {
1187
+ "name": "collection",
1188
+ "type": "address",
1189
+ "indexed": true
1190
+ },
1191
+ {
1192
+ "name": "distributor",
1193
+ "type": "address",
1194
+ "indexed": true
1195
+ }
1196
+ ],
1197
+ "anonymous": false
1198
+ }
1199
+ ] as const;
1200
+
1201
+ /** `PeddlesNftFeeDistributor` — an Art->DEX launch split of the creator streams between the collection owner and NFT holders. */
1202
+ export const nftFeeDistributorAbi = [
1203
+ {
1204
+ "type": "function",
1205
+ "name": "collection",
1206
+ "inputs": [],
1207
+ "outputs": [
1208
+ {
1209
+ "name": "",
1210
+ "type": "address"
1211
+ }
1212
+ ],
1213
+ "stateMutability": "view"
1214
+ },
1215
+ {
1216
+ "type": "function",
1217
+ "name": "quote",
1218
+ "inputs": [],
1219
+ "outputs": [
1220
+ {
1221
+ "name": "",
1222
+ "type": "address"
1223
+ }
1224
+ ],
1225
+ "stateMutability": "view"
1226
+ },
1227
+ {
1228
+ "type": "function",
1229
+ "name": "token",
1230
+ "inputs": [],
1231
+ "outputs": [
1232
+ {
1233
+ "name": "",
1234
+ "type": "address"
1235
+ }
1236
+ ],
1237
+ "stateMutability": "view"
1238
+ },
1239
+ {
1240
+ "type": "function",
1241
+ "name": "holderShareBps",
1242
+ "inputs": [],
1243
+ "outputs": [
1244
+ {
1245
+ "name": "",
1246
+ "type": "uint16"
1247
+ }
1248
+ ],
1249
+ "stateMutability": "view"
1250
+ },
1251
+ {
1252
+ "type": "function",
1253
+ "name": "assetsInitialized",
1254
+ "inputs": [],
1255
+ "outputs": [
1256
+ {
1257
+ "name": "",
1258
+ "type": "bool"
1259
+ }
1260
+ ],
1261
+ "stateMutability": "view"
1262
+ },
1263
+ {
1264
+ "type": "function",
1265
+ "name": "pending",
1266
+ "inputs": [
1267
+ {
1268
+ "name": "holder",
1269
+ "type": "address"
1270
+ }
1271
+ ],
1272
+ "outputs": [
1273
+ {
1274
+ "name": "pendingQuote",
1275
+ "type": "uint256"
1276
+ },
1277
+ {
1278
+ "name": "pendingToken",
1279
+ "type": "uint256"
1280
+ }
1281
+ ],
1282
+ "stateMutability": "view"
1283
+ },
1284
+ {
1285
+ "type": "function",
1286
+ "name": "sharesOf",
1287
+ "inputs": [
1288
+ {
1289
+ "name": "",
1290
+ "type": "address"
1291
+ }
1292
+ ],
1293
+ "outputs": [
1294
+ {
1295
+ "name": "",
1296
+ "type": "uint256"
1297
+ }
1298
+ ],
1299
+ "stateMutability": "view"
1300
+ },
1301
+ {
1302
+ "type": "function",
1303
+ "name": "totalShares",
1304
+ "inputs": [],
1305
+ "outputs": [
1306
+ {
1307
+ "name": "",
1308
+ "type": "uint256"
1309
+ }
1310
+ ],
1311
+ "stateMutability": "view"
1312
+ },
1313
+ {
1314
+ "type": "function",
1315
+ "name": "mirrorComplete",
1316
+ "inputs": [],
1317
+ "outputs": [
1318
+ {
1319
+ "name": "",
1320
+ "type": "bool"
1321
+ }
1322
+ ],
1323
+ "stateMutability": "view"
1324
+ },
1325
+ {
1326
+ "type": "function",
1327
+ "name": "creatorShareOwed",
1328
+ "inputs": [],
1329
+ "outputs": [
1330
+ {
1331
+ "name": "quoteAmount",
1332
+ "type": "uint256"
1333
+ },
1334
+ {
1335
+ "name": "tokenAmount",
1336
+ "type": "uint256"
1337
+ }
1338
+ ],
1339
+ "stateMutability": "view"
1340
+ },
1341
+ {
1342
+ "type": "function",
1343
+ "name": "owedToHolders",
1344
+ "inputs": [],
1345
+ "outputs": [
1346
+ {
1347
+ "name": "quoteOwed",
1348
+ "type": "uint256"
1349
+ },
1350
+ {
1351
+ "name": "tokenOwed",
1352
+ "type": "uint256"
1353
+ }
1354
+ ],
1355
+ "stateMutability": "view"
1356
+ },
1357
+ {
1358
+ "type": "function",
1359
+ "name": "claim",
1360
+ "inputs": [],
1361
+ "outputs": [
1362
+ {
1363
+ "name": "quoteAmount",
1364
+ "type": "uint256"
1365
+ },
1366
+ {
1367
+ "name": "tokenAmount",
1368
+ "type": "uint256"
1369
+ }
1370
+ ],
1371
+ "stateMutability": "nonpayable"
1372
+ },
1373
+ {
1374
+ "type": "function",
1375
+ "name": "claimCreatorShare",
1376
+ "inputs": [
1377
+ {
1378
+ "name": "to",
1379
+ "type": "address"
1380
+ }
1381
+ ],
1382
+ "outputs": [
1383
+ {
1384
+ "name": "quoteAmount",
1385
+ "type": "uint256"
1386
+ },
1387
+ {
1388
+ "name": "tokenAmount",
1389
+ "type": "uint256"
1390
+ }
1391
+ ],
1392
+ "stateMutability": "nonpayable"
1393
+ },
1394
+ {
1395
+ "type": "function",
1396
+ "name": "syncAccount",
1397
+ "inputs": [
1398
+ {
1399
+ "name": "account",
1400
+ "type": "address"
1401
+ }
1402
+ ],
1403
+ "outputs": [],
1404
+ "stateMutability": "nonpayable"
1405
+ },
1406
+ {
1407
+ "type": "function",
1408
+ "name": "syncAccounts",
1409
+ "inputs": [
1410
+ {
1411
+ "name": "accounts",
1412
+ "type": "address[]"
1413
+ }
1414
+ ],
1415
+ "outputs": [],
1416
+ "stateMutability": "nonpayable"
1417
+ },
1418
+ {
1419
+ "type": "function",
1420
+ "name": "harvestTokenHolderRewards",
1421
+ "inputs": [],
1422
+ "outputs": [],
1423
+ "stateMutability": "nonpayable"
1424
+ },
1425
+ {
1426
+ "type": "event",
1427
+ "name": "AssetsInitialized",
1428
+ "inputs": [
1429
+ {
1430
+ "name": "quote",
1431
+ "type": "address",
1432
+ "indexed": true
1433
+ },
1434
+ {
1435
+ "name": "token",
1436
+ "type": "address",
1437
+ "indexed": true
1438
+ },
1439
+ {
1440
+ "name": "tokenHolderRewards",
1441
+ "type": "address",
1442
+ "indexed": true
1443
+ },
1444
+ {
1445
+ "name": "holderShareBps",
1446
+ "type": "uint16",
1447
+ "indexed": false
1448
+ }
1449
+ ],
1450
+ "anonymous": false
1451
+ },
1452
+ {
1453
+ "type": "event",
1454
+ "name": "RewardsReceived",
1455
+ "inputs": [
1456
+ {
1457
+ "name": "asset",
1458
+ "type": "address",
1459
+ "indexed": true
1460
+ },
1461
+ {
1462
+ "name": "amount",
1463
+ "type": "uint256",
1464
+ "indexed": false
1465
+ },
1466
+ {
1467
+ "name": "toCreator",
1468
+ "type": "uint256",
1469
+ "indexed": false
1470
+ },
1471
+ {
1472
+ "name": "undistributed",
1473
+ "type": "uint256",
1474
+ "indexed": false
1475
+ }
1476
+ ],
1477
+ "anonymous": false
1478
+ },
1479
+ {
1480
+ "type": "event",
1481
+ "name": "Claimed",
1482
+ "inputs": [
1483
+ {
1484
+ "name": "holder",
1485
+ "type": "address",
1486
+ "indexed": true
1487
+ },
1488
+ {
1489
+ "name": "quoteAmount",
1490
+ "type": "uint256",
1491
+ "indexed": false
1492
+ },
1493
+ {
1494
+ "name": "tokenAmount",
1495
+ "type": "uint256",
1496
+ "indexed": false
1497
+ }
1498
+ ],
1499
+ "anonymous": false
1500
+ },
1501
+ {
1502
+ "type": "event",
1503
+ "name": "CreatorShareClaimed",
1504
+ "inputs": [
1505
+ {
1506
+ "name": "to",
1507
+ "type": "address",
1508
+ "indexed": true
1509
+ },
1510
+ {
1511
+ "name": "quoteAmount",
1512
+ "type": "uint256",
1513
+ "indexed": false
1514
+ },
1515
+ {
1516
+ "name": "tokenAmount",
1517
+ "type": "uint256",
1518
+ "indexed": false
1519
+ }
1520
+ ],
1521
+ "anonymous": false
1522
+ }
1523
+ ] as const;
1524
+
1525
+ /** `PeddlesNFTBondingGraduationOrchestratorV20` — a collection launches its WETH-paired coin (`graduateAndBuy`; a plain launch passes 0, 0, 0). */
1526
+ export const nftBondingGraduationOrchestratorAbi = [
1527
+ {
1528
+ "type": "function",
1529
+ "name": "graduateAndBuy",
1530
+ "inputs": [
1531
+ {
1532
+ "name": "input",
1533
+ "type": "tuple",
1534
+ "components": [
1535
+ {
1536
+ "name": "collection",
1537
+ "type": "address"
1538
+ },
1539
+ {
1540
+ "name": "variant",
1541
+ "type": "uint8"
1542
+ },
1543
+ {
1544
+ "name": "salt",
1545
+ "type": "bytes32"
1546
+ },
1547
+ {
1548
+ "name": "params",
1549
+ "type": "bytes"
1550
+ },
1551
+ {
1552
+ "name": "initCalls",
1553
+ "type": "bytes[]"
1554
+ },
1555
+ {
1556
+ "name": "vaultInput",
1557
+ "type": "tuple",
1558
+ "components": [
1559
+ {
1560
+ "name": "token",
1561
+ "type": "address"
1562
+ },
1563
+ {
1564
+ "name": "creator",
1565
+ "type": "address"
1566
+ },
1567
+ {
1568
+ "name": "liquidityBps",
1569
+ "type": "uint16"
1570
+ },
1571
+ {
1572
+ "name": "airdropBps",
1573
+ "type": "uint16"
1574
+ },
1575
+ {
1576
+ "name": "vestingBps",
1577
+ "type": "uint16"
1578
+ },
1579
+ {
1580
+ "name": "burnBps",
1581
+ "type": "uint16"
1582
+ },
1583
+ {
1584
+ "name": "vaultBps",
1585
+ "type": "uint16"
1586
+ },
1587
+ {
1588
+ "name": "clogBps",
1589
+ "type": "uint16"
1590
+ },
1591
+ {
1592
+ "name": "airdropEnabled",
1593
+ "type": "bool"
1594
+ },
1595
+ {
1596
+ "name": "liquidityAmount",
1597
+ "type": "uint256"
1598
+ },
1599
+ {
1600
+ "name": "airdropAmount",
1601
+ "type": "uint256"
1602
+ },
1603
+ {
1604
+ "name": "vestingAmount",
1605
+ "type": "uint256"
1606
+ },
1607
+ {
1608
+ "name": "burnAmount",
1609
+ "type": "uint256"
1610
+ },
1611
+ {
1612
+ "name": "vestingStart",
1613
+ "type": "uint64"
1614
+ },
1615
+ {
1616
+ "name": "vestingCliff",
1617
+ "type": "uint64"
1618
+ },
1619
+ {
1620
+ "name": "vestingDuration",
1621
+ "type": "uint64"
1622
+ },
1623
+ {
1624
+ "name": "airdropStartsAt",
1625
+ "type": "uint64"
1626
+ },
1627
+ {
1628
+ "name": "airdropEpochLength",
1629
+ "type": "uint32"
1630
+ },
1631
+ {
1632
+ "name": "airdropEpochCount",
1633
+ "type": "uint16"
1634
+ },
1635
+ {
1636
+ "name": "burnStartsAt",
1637
+ "type": "uint64"
1638
+ },
1639
+ {
1640
+ "name": "burnEpochLength",
1641
+ "type": "uint32"
1642
+ },
1643
+ {
1644
+ "name": "firstBurnBps",
1645
+ "type": "uint16"
1646
+ },
1647
+ {
1648
+ "name": "minVoteBps",
1649
+ "type": "uint16"
1650
+ },
1651
+ {
1652
+ "name": "maxVoteBps",
1653
+ "type": "uint16"
1654
+ },
1655
+ {
1656
+ "name": "defaultVoteBps",
1657
+ "type": "uint16"
1658
+ },
1659
+ {
1660
+ "name": "quoteToken",
1661
+ "type": "address"
1662
+ },
1663
+ {
1664
+ "name": "poolManager",
1665
+ "type": "address"
1666
+ },
1667
+ {
1668
+ "name": "positionManager",
1669
+ "type": "address"
1670
+ },
1671
+ {
1672
+ "name": "hook",
1673
+ "type": "address"
1674
+ },
1675
+ {
1676
+ "name": "liquidityManager",
1677
+ "type": "address"
1678
+ },
1679
+ {
1680
+ "name": "airdropPublisher",
1681
+ "type": "address"
1682
+ },
1683
+ {
1684
+ "name": "fee",
1685
+ "type": "uint24"
1686
+ },
1687
+ {
1688
+ "name": "tickSpacing",
1689
+ "type": "int24"
1690
+ }
1691
+ ]
1692
+ },
1693
+ {
1694
+ "name": "creatorTaxBps",
1695
+ "type": "uint16"
1696
+ },
1697
+ {
1698
+ "name": "excessToCreatorBps",
1699
+ "type": "uint16"
1700
+ },
1701
+ {
1702
+ "name": "factoryValue",
1703
+ "type": "uint256"
1704
+ },
1705
+ {
1706
+ "name": "amountPeddles",
1707
+ "type": "uint256"
1708
+ },
1709
+ {
1710
+ "name": "sqrtPriceX96",
1711
+ "type": "uint160"
1712
+ },
1713
+ {
1714
+ "name": "tickLower",
1715
+ "type": "int24"
1716
+ },
1717
+ {
1718
+ "name": "tickUpper",
1719
+ "type": "int24"
1720
+ },
1721
+ {
1722
+ "name": "liquidity",
1723
+ "type": "uint256"
1724
+ }
1725
+ ]
1726
+ },
1727
+ {
1728
+ "name": "holderShareBps",
1729
+ "type": "uint16"
1730
+ },
1731
+ {
1732
+ "name": "devBuyValue",
1733
+ "type": "uint256"
1734
+ },
1735
+ {
1736
+ "name": "minTokensOut",
1737
+ "type": "uint256"
1738
+ }
1739
+ ],
1740
+ "outputs": [
1741
+ {
1742
+ "name": "token",
1743
+ "type": "address"
1744
+ },
1745
+ {
1746
+ "name": "vaults",
1747
+ "type": "tuple",
1748
+ "components": [
1749
+ {
1750
+ "name": "liquidityVault",
1751
+ "type": "address"
1752
+ },
1753
+ {
1754
+ "name": "airdropVault",
1755
+ "type": "address"
1756
+ },
1757
+ {
1758
+ "name": "vestingVault",
1759
+ "type": "address"
1760
+ },
1761
+ {
1762
+ "name": "burnVault",
1763
+ "type": "address"
1764
+ }
1765
+ ]
1766
+ },
1767
+ {
1768
+ "name": "poolId",
1769
+ "type": "bytes32"
1770
+ },
1771
+ {
1772
+ "name": "positionId",
1773
+ "type": "uint256"
1774
+ },
1775
+ {
1776
+ "name": "tokensOut",
1777
+ "type": "uint256"
1778
+ }
1779
+ ],
1780
+ "stateMutability": "payable"
1781
+ },
1782
+ {
1783
+ "type": "function",
1784
+ "name": "nftFeeDistributorFactory",
1785
+ "inputs": [],
1786
+ "outputs": [
1787
+ {
1788
+ "name": "",
1789
+ "type": "address"
1790
+ }
1791
+ ],
1792
+ "stateMutability": "view"
1793
+ },
1794
+ {
1795
+ "type": "function",
1796
+ "name": "launchFee",
1797
+ "inputs": [],
1798
+ "outputs": [
1799
+ {
1800
+ "name": "",
1801
+ "type": "uint256"
1802
+ }
1803
+ ],
1804
+ "stateMutability": "view"
1805
+ },
1806
+ {
1807
+ "type": "function",
1808
+ "name": "maxLaunchFee",
1809
+ "inputs": [],
1810
+ "outputs": [
1811
+ {
1812
+ "name": "",
1813
+ "type": "uint256"
1814
+ }
1815
+ ],
1816
+ "stateMutability": "view"
1817
+ },
1818
+ {
1819
+ "type": "function",
1820
+ "name": "launchFeeTreasury",
1821
+ "inputs": [],
1822
+ "outputs": [
1823
+ {
1824
+ "name": "",
1825
+ "type": "address"
1826
+ }
1827
+ ],
1828
+ "stateMutability": "view"
1829
+ },
1830
+ {
1831
+ "type": "function",
1832
+ "name": "setLaunchFee",
1833
+ "inputs": [
1834
+ {
1835
+ "name": "next",
1836
+ "type": "uint256"
1837
+ }
1838
+ ],
1839
+ "outputs": [],
1840
+ "stateMutability": "nonpayable"
1841
+ },
1842
+ {
1843
+ "type": "event",
1844
+ "name": "NFTBondingGraduatedV20",
1845
+ "inputs": [
1846
+ {
1847
+ "name": "collection",
1848
+ "type": "address",
1849
+ "indexed": true
1850
+ },
1851
+ {
1852
+ "name": "creator",
1853
+ "type": "address",
1854
+ "indexed": true
1855
+ },
1856
+ {
1857
+ "name": "token",
1858
+ "type": "address",
1859
+ "indexed": true
1860
+ },
1861
+ {
1862
+ "name": "liquidityVault",
1863
+ "type": "address",
1864
+ "indexed": false
1865
+ },
1866
+ {
1867
+ "name": "airdropVault",
1868
+ "type": "address",
1869
+ "indexed": false
1870
+ },
1871
+ {
1872
+ "name": "vestingVault",
1873
+ "type": "address",
1874
+ "indexed": false
1875
+ },
1876
+ {
1877
+ "name": "burnVault",
1878
+ "type": "address",
1879
+ "indexed": false
1880
+ },
1881
+ {
1882
+ "name": "creatorTaxBps",
1883
+ "type": "uint16",
1884
+ "indexed": false
1885
+ },
1886
+ {
1887
+ "name": "excessToCreatorBps",
1888
+ "type": "uint16",
1889
+ "indexed": false
1890
+ },
1891
+ {
1892
+ "name": "poolId",
1893
+ "type": "bytes32",
1894
+ "indexed": false
1895
+ },
1896
+ {
1897
+ "name": "positionId",
1898
+ "type": "uint256",
1899
+ "indexed": false
1900
+ }
1901
+ ],
1902
+ "anonymous": false
1903
+ },
1904
+ {
1905
+ "type": "event",
1906
+ "name": "HolderFeesCommitted",
1907
+ "inputs": [
1908
+ {
1909
+ "name": "collection",
1910
+ "type": "address",
1911
+ "indexed": true
1912
+ },
1913
+ {
1914
+ "name": "token",
1915
+ "type": "address",
1916
+ "indexed": true
1917
+ },
1918
+ {
1919
+ "name": "distributor",
1920
+ "type": "address",
1921
+ "indexed": true
1922
+ },
1923
+ {
1924
+ "name": "poolId",
1925
+ "type": "bytes32",
1926
+ "indexed": false
1927
+ },
1928
+ {
1929
+ "name": "holderShareBps",
1930
+ "type": "uint16",
1931
+ "indexed": false
1932
+ }
1933
+ ],
1934
+ "anonymous": false
1935
+ },
1936
+ {
1937
+ "type": "event",
1938
+ "name": "DevBought",
1939
+ "inputs": [
1940
+ {
1941
+ "name": "token",
1942
+ "type": "address",
1943
+ "indexed": true
1944
+ },
1945
+ {
1946
+ "name": "buyer",
1947
+ "type": "address",
1948
+ "indexed": true
1949
+ },
1950
+ {
1951
+ "name": "ethIn",
1952
+ "type": "uint256",
1953
+ "indexed": false
1954
+ },
1955
+ {
1956
+ "name": "tokensOut",
1957
+ "type": "uint256",
1958
+ "indexed": false
1959
+ }
1960
+ ],
1961
+ "anonymous": false
1962
+ },
1963
+ {
1964
+ "type": "event",
1965
+ "name": "LaunchFeePaid",
1966
+ "inputs": [
1967
+ {
1968
+ "name": "payer",
1969
+ "type": "address",
1970
+ "indexed": true
1971
+ },
1972
+ {
1973
+ "name": "amount",
1974
+ "type": "uint256",
1975
+ "indexed": false
1976
+ }
1977
+ ],
1978
+ "anonymous": false
1979
+ },
1980
+ {
1981
+ "type": "event",
1982
+ "name": "LaunchFeeUpdated",
1983
+ "inputs": [
1984
+ {
1985
+ "name": "launchFee",
1986
+ "type": "uint256",
1987
+ "indexed": false
1988
+ }
1989
+ ],
1990
+ "anonymous": false
1991
+ }
1992
+ ] as const;
1993
+
1994
+ /** `PeddlesNftStockGraduationOrchestrator` — a collection launches its stock-paired coin, directly with terms or by consented relay. */
1995
+ export const nftStockGraduationOrchestratorAbi = [
1996
+ {
1997
+ "type": "function",
1998
+ "name": "graduateToStockWithTerms",
1999
+ "inputs": [
2000
+ {
2001
+ "name": "g",
2002
+ "type": "tuple",
2003
+ "components": [
2004
+ {
2005
+ "name": "collection",
2006
+ "type": "address"
2007
+ },
2008
+ {
2009
+ "name": "name",
2010
+ "type": "string"
2011
+ },
2012
+ {
2013
+ "name": "symbol",
2014
+ "type": "string"
2015
+ },
2016
+ {
2017
+ "name": "quote",
2018
+ "type": "address"
2019
+ },
2020
+ {
2021
+ "name": "creatorTaxBps",
2022
+ "type": "uint16"
2023
+ },
2024
+ {
2025
+ "name": "excessToCreatorBps",
2026
+ "type": "uint16"
2027
+ },
2028
+ {
2029
+ "name": "holderShareBps",
2030
+ "type": "uint16"
2031
+ },
2032
+ {
2033
+ "name": "devBuyQuoteIn",
2034
+ "type": "uint256"
2035
+ },
2036
+ {
2037
+ "name": "minTokensOut",
2038
+ "type": "uint256"
2039
+ }
2040
+ ]
2041
+ }
2042
+ ],
2043
+ "outputs": [
2044
+ {
2045
+ "name": "token",
2046
+ "type": "address"
2047
+ },
2048
+ {
2049
+ "name": "tokensOut",
2050
+ "type": "uint256"
2051
+ }
2052
+ ],
2053
+ "stateMutability": "payable"
2054
+ },
2055
+ {
2056
+ "type": "function",
2057
+ "name": "graduateToStock",
2058
+ "inputs": [
2059
+ {
2060
+ "name": "collection",
2061
+ "type": "address"
2062
+ },
2063
+ {
2064
+ "name": "name",
2065
+ "type": "string"
2066
+ },
2067
+ {
2068
+ "name": "symbol",
2069
+ "type": "string"
2070
+ },
2071
+ {
2072
+ "name": "quote",
2073
+ "type": "address"
2074
+ },
2075
+ {
2076
+ "name": "holdersBps",
2077
+ "type": "uint16"
2078
+ }
2079
+ ],
2080
+ "outputs": [
2081
+ {
2082
+ "name": "token",
2083
+ "type": "address"
2084
+ }
2085
+ ],
2086
+ "stateMutability": "payable"
2087
+ },
2088
+ {
2089
+ "type": "function",
2090
+ "name": "setStockGraduationOptIn",
2091
+ "inputs": [
2092
+ {
2093
+ "name": "collection",
2094
+ "type": "address"
2095
+ },
2096
+ {
2097
+ "name": "paramsHash",
2098
+ "type": "bytes32"
2099
+ }
2100
+ ],
2101
+ "outputs": [],
2102
+ "stateMutability": "nonpayable"
2103
+ },
2104
+ {
2105
+ "type": "function",
2106
+ "name": "stockGraduationOptIn",
2107
+ "inputs": [
2108
+ {
2109
+ "name": "",
2110
+ "type": "address"
2111
+ }
2112
+ ],
2113
+ "outputs": [
2114
+ {
2115
+ "name": "",
2116
+ "type": "bytes32"
2117
+ }
2118
+ ],
2119
+ "stateMutability": "view"
2120
+ },
2121
+ {
2122
+ "type": "function",
2123
+ "name": "relayParamsHash",
2124
+ "inputs": [
2125
+ {
2126
+ "name": "collection",
2127
+ "type": "address"
2128
+ },
2129
+ {
2130
+ "name": "name",
2131
+ "type": "string"
2132
+ },
2133
+ {
2134
+ "name": "symbol",
2135
+ "type": "string"
2136
+ },
2137
+ {
2138
+ "name": "quote",
2139
+ "type": "address"
2140
+ },
2141
+ {
2142
+ "name": "holdersBps",
2143
+ "type": "uint16"
2144
+ }
2145
+ ],
2146
+ "outputs": [
2147
+ {
2148
+ "name": "",
2149
+ "type": "bytes32"
2150
+ }
2151
+ ],
2152
+ "stateMutability": "view"
2153
+ },
2154
+ {
2155
+ "type": "function",
2156
+ "name": "distributorOf",
2157
+ "inputs": [
2158
+ {
2159
+ "name": "",
2160
+ "type": "address"
2161
+ }
2162
+ ],
2163
+ "outputs": [
2164
+ {
2165
+ "name": "",
2166
+ "type": "address"
2167
+ }
2168
+ ],
2169
+ "stateMutability": "view"
2170
+ },
2171
+ {
2172
+ "type": "function",
2173
+ "name": "nftFeeDistributorFactory",
2174
+ "inputs": [],
2175
+ "outputs": [
2176
+ {
2177
+ "name": "",
2178
+ "type": "address"
2179
+ }
2180
+ ],
2181
+ "stateMutability": "view"
2182
+ },
2183
+ {
2184
+ "type": "event",
2185
+ "name": "NftGraduatedToStock",
2186
+ "inputs": [
2187
+ {
2188
+ "name": "collection",
2189
+ "type": "address",
2190
+ "indexed": true
2191
+ },
2192
+ {
2193
+ "name": "token",
2194
+ "type": "address",
2195
+ "indexed": true
2196
+ },
2197
+ {
2198
+ "name": "quote",
2199
+ "type": "address",
2200
+ "indexed": true
2201
+ },
2202
+ {
2203
+ "name": "liquidityVault",
2204
+ "type": "address",
2205
+ "indexed": false
2206
+ },
2207
+ {
2208
+ "name": "burnVault",
2209
+ "type": "address",
2210
+ "indexed": false
2211
+ }
2212
+ ],
2213
+ "anonymous": false
2214
+ },
2215
+ {
2216
+ "type": "event",
2217
+ "name": "HolderFeesCommitted",
2218
+ "inputs": [
2219
+ {
2220
+ "name": "collection",
2221
+ "type": "address",
2222
+ "indexed": true
2223
+ },
2224
+ {
2225
+ "name": "token",
2226
+ "type": "address",
2227
+ "indexed": true
2228
+ },
2229
+ {
2230
+ "name": "distributor",
2231
+ "type": "address",
2232
+ "indexed": true
2233
+ },
2234
+ {
2235
+ "name": "poolId",
2236
+ "type": "bytes32",
2237
+ "indexed": false
2238
+ },
2239
+ {
2240
+ "name": "holderShareBps",
2241
+ "type": "uint16",
2242
+ "indexed": false
2243
+ }
2244
+ ],
2245
+ "anonymous": false
2246
+ },
2247
+ {
2248
+ "type": "event",
2249
+ "name": "DevBought",
2250
+ "inputs": [
2251
+ {
2252
+ "name": "token",
2253
+ "type": "address",
2254
+ "indexed": true
2255
+ },
2256
+ {
2257
+ "name": "buyer",
2258
+ "type": "address",
2259
+ "indexed": true
2260
+ },
2261
+ {
2262
+ "name": "quoteIn",
2263
+ "type": "uint256",
2264
+ "indexed": false
2265
+ },
2266
+ {
2267
+ "name": "tokensOut",
2268
+ "type": "uint256",
2269
+ "indexed": false
2270
+ }
2271
+ ],
2272
+ "anonymous": false
2273
+ },
2274
+ {
2275
+ "type": "event",
2276
+ "name": "StockGraduationOptInSet",
2277
+ "inputs": [
2278
+ {
2279
+ "name": "collection",
2280
+ "type": "address",
2281
+ "indexed": true
2282
+ },
2283
+ {
2284
+ "name": "collectionOwner",
2285
+ "type": "address",
2286
+ "indexed": true
2287
+ },
2288
+ {
2289
+ "name": "paramsHash",
2290
+ "type": "bytes32",
2291
+ "indexed": false
2292
+ }
2293
+ ],
2294
+ "anonymous": false
2295
+ }
2296
+ ] as const;
2297
+
2298
+ /** `PeddlesV4LiquidityExecutor` — the pool id of a WETH-paired launch. */
2299
+ export const liquidityExecutorAbi = [
2300
+ {
2301
+ "type": "function",
2302
+ "name": "poolIdFor",
2303
+ "inputs": [
2304
+ {
2305
+ "name": "token",
2306
+ "type": "address"
2307
+ }
2308
+ ],
2309
+ "outputs": [
2310
+ {
2311
+ "name": "",
2312
+ "type": "bytes32"
2313
+ }
2314
+ ],
2315
+ "stateMutability": "view"
2316
+ },
2317
+ {
2318
+ "type": "function",
2319
+ "name": "hook",
2320
+ "inputs": [],
2321
+ "outputs": [
2322
+ {
2323
+ "name": "",
2324
+ "type": "address"
2325
+ }
2326
+ ],
2327
+ "stateMutability": "view"
2328
+ }
2329
+ ] as const;
2330
+
2331
+ /** `PeddlesRouteSwapRouter` — buy or sell any launch with the native asset of its chain through caller-supplied v4 hops (docs/PAY_WITH_ETH.md). Quote by `eth_call`ing the same function from the buyer with `minTokensOut = 0`. */
2332
+ export const routeSwapRouterAbi = [
2333
+ {
2334
+ "type": "function",
2335
+ "name": "buyWithNative",
2336
+ "inputs": [
2337
+ {
2338
+ "name": "token",
2339
+ "type": "address"
2340
+ },
2341
+ {
2342
+ "name": "hops",
2343
+ "type": "tuple[]",
2344
+ "components": [
2345
+ {
2346
+ "name": "key",
2347
+ "type": "tuple",
2348
+ "components": [
2349
+ {
2350
+ "name": "currency0",
2351
+ "type": "address"
2352
+ },
2353
+ {
2354
+ "name": "currency1",
2355
+ "type": "address"
2356
+ },
2357
+ {
2358
+ "name": "fee",
2359
+ "type": "uint24"
2360
+ },
2361
+ {
2362
+ "name": "tickSpacing",
2363
+ "type": "int24"
2364
+ },
2365
+ {
2366
+ "name": "hooks",
2367
+ "type": "address"
2368
+ }
2369
+ ]
2370
+ },
2371
+ {
2372
+ "name": "zeroForOne",
2373
+ "type": "bool"
2374
+ }
2375
+ ]
2376
+ },
2377
+ {
2378
+ "name": "minTokensOut",
2379
+ "type": "uint256"
2380
+ },
2381
+ {
2382
+ "name": "to",
2383
+ "type": "address"
2384
+ },
2385
+ {
2386
+ "name": "deadline",
2387
+ "type": "uint256"
2388
+ }
2389
+ ],
2390
+ "outputs": [
2391
+ {
2392
+ "name": "tokenOut",
2393
+ "type": "uint256"
2394
+ }
2395
+ ],
2396
+ "stateMutability": "payable"
2397
+ },
2398
+ {
2399
+ "type": "function",
2400
+ "name": "sellForNative",
2401
+ "inputs": [
2402
+ {
2403
+ "name": "token",
2404
+ "type": "address"
2405
+ },
2406
+ {
2407
+ "name": "amountIn",
2408
+ "type": "uint256"
2409
+ },
2410
+ {
2411
+ "name": "hops",
2412
+ "type": "tuple[]",
2413
+ "components": [
2414
+ {
2415
+ "name": "key",
2416
+ "type": "tuple",
2417
+ "components": [
2418
+ {
2419
+ "name": "currency0",
2420
+ "type": "address"
2421
+ },
2422
+ {
2423
+ "name": "currency1",
2424
+ "type": "address"
2425
+ },
2426
+ {
2427
+ "name": "fee",
2428
+ "type": "uint24"
2429
+ },
2430
+ {
2431
+ "name": "tickSpacing",
2432
+ "type": "int24"
2433
+ },
2434
+ {
2435
+ "name": "hooks",
2436
+ "type": "address"
2437
+ }
2438
+ ]
2439
+ },
2440
+ {
2441
+ "name": "zeroForOne",
2442
+ "type": "bool"
2443
+ }
2444
+ ]
2445
+ },
2446
+ {
2447
+ "name": "minNativeOut",
2448
+ "type": "uint256"
2449
+ },
2450
+ {
2451
+ "name": "to",
2452
+ "type": "address"
2453
+ },
2454
+ {
2455
+ "name": "deadline",
2456
+ "type": "uint256"
2457
+ }
2458
+ ],
2459
+ "outputs": [
2460
+ {
2461
+ "name": "nativeOut",
2462
+ "type": "uint256"
2463
+ }
2464
+ ],
2465
+ "stateMutability": "nonpayable"
2466
+ },
2467
+ {
2468
+ "type": "function",
2469
+ "name": "sweepStray",
2470
+ "inputs": [
2471
+ {
2472
+ "name": "asset",
2473
+ "type": "address"
2474
+ }
2475
+ ],
2476
+ "outputs": [
2477
+ {
2478
+ "name": "amount",
2479
+ "type": "uint256"
2480
+ }
2481
+ ],
2482
+ "stateMutability": "nonpayable"
2483
+ },
2484
+ {
2485
+ "type": "function",
2486
+ "name": "WETH",
2487
+ "inputs": [],
2488
+ "outputs": [
2489
+ {
2490
+ "name": "",
2491
+ "type": "address"
2492
+ }
2493
+ ],
2494
+ "stateMutability": "view"
2495
+ },
2496
+ {
2497
+ "type": "function",
2498
+ "name": "nativeScale",
2499
+ "inputs": [],
2500
+ "outputs": [
2501
+ {
2502
+ "name": "",
2503
+ "type": "uint256"
2504
+ }
2505
+ ],
2506
+ "stateMutability": "view"
2507
+ },
2508
+ {
2509
+ "type": "function",
2510
+ "name": "launchpad",
2511
+ "inputs": [],
2512
+ "outputs": [
2513
+ {
2514
+ "name": "",
2515
+ "type": "address"
2516
+ }
2517
+ ],
2518
+ "stateMutability": "view"
2519
+ },
2520
+ {
2521
+ "type": "function",
2522
+ "name": "poolManager",
2523
+ "inputs": [],
2524
+ "outputs": [
2525
+ {
2526
+ "name": "",
2527
+ "type": "address"
2528
+ }
2529
+ ],
2530
+ "stateMutability": "view"
2531
+ },
2532
+ {
2533
+ "type": "function",
2534
+ "name": "stockSwapRouter",
2535
+ "inputs": [],
2536
+ "outputs": [
2537
+ {
2538
+ "name": "",
2539
+ "type": "address"
2540
+ }
2541
+ ],
2542
+ "stateMutability": "view"
2543
+ },
2544
+ {
2545
+ "type": "function",
2546
+ "name": "v4SwapRouter",
2547
+ "inputs": [],
2548
+ "outputs": [
2549
+ {
2550
+ "name": "",
2551
+ "type": "address"
2552
+ }
2553
+ ],
2554
+ "stateMutability": "view"
2555
+ },
2556
+ {
2557
+ "type": "function",
2558
+ "name": "treasury",
2559
+ "inputs": [],
2560
+ "outputs": [
2561
+ {
2562
+ "name": "",
2563
+ "type": "address"
2564
+ }
2565
+ ],
2566
+ "stateMutability": "view"
2567
+ },
2568
+ {
2569
+ "type": "event",
2570
+ "name": "BoughtWithNative",
2571
+ "inputs": [
2572
+ {
2573
+ "name": "payer",
2574
+ "type": "address",
2575
+ "indexed": true
2576
+ },
2577
+ {
2578
+ "name": "token",
2579
+ "type": "address",
2580
+ "indexed": true
2581
+ },
2582
+ {
2583
+ "name": "nativeIn",
2584
+ "type": "uint256",
2585
+ "indexed": false
2586
+ },
2587
+ {
2588
+ "name": "tokenOut",
2589
+ "type": "uint256",
2590
+ "indexed": false
2591
+ },
2592
+ {
2593
+ "name": "to",
2594
+ "type": "address",
2595
+ "indexed": false
2596
+ }
2597
+ ],
2598
+ "anonymous": false
2599
+ },
2600
+ {
2601
+ "type": "event",
2602
+ "name": "SoldForNative",
2603
+ "inputs": [
2604
+ {
2605
+ "name": "payer",
2606
+ "type": "address",
2607
+ "indexed": true
2608
+ },
2609
+ {
2610
+ "name": "token",
2611
+ "type": "address",
2612
+ "indexed": true
2613
+ },
2614
+ {
2615
+ "name": "tokenIn",
2616
+ "type": "uint256",
2617
+ "indexed": false
2618
+ },
2619
+ {
2620
+ "name": "nativeOut",
2621
+ "type": "uint256",
2622
+ "indexed": false
2623
+ },
2624
+ {
2625
+ "name": "to",
2626
+ "type": "address",
2627
+ "indexed": false
2628
+ }
2629
+ ],
2630
+ "anonymous": false
2631
+ },
2632
+ {
2633
+ "type": "event",
2634
+ "name": "NativeRefunded",
2635
+ "inputs": [
2636
+ {
2637
+ "name": "payer",
2638
+ "type": "address",
2639
+ "indexed": true
2640
+ },
2641
+ {
2642
+ "name": "amount",
2643
+ "type": "uint256",
2644
+ "indexed": false
2645
+ }
2646
+ ],
2647
+ "anonymous": false
2648
+ },
2649
+ {
2650
+ "type": "event",
2651
+ "name": "QuoteRefunded",
2652
+ "inputs": [
2653
+ {
2654
+ "name": "payer",
2655
+ "type": "address",
2656
+ "indexed": true
2657
+ },
2658
+ {
2659
+ "name": "quote",
2660
+ "type": "address",
2661
+ "indexed": true
2662
+ },
2663
+ {
2664
+ "name": "amount",
2665
+ "type": "uint256",
2666
+ "indexed": false
2667
+ }
2668
+ ],
2669
+ "anonymous": false
2670
+ },
2671
+ {
2672
+ "type": "event",
2673
+ "name": "StraySwept",
2674
+ "inputs": [
2675
+ {
2676
+ "name": "asset",
2677
+ "type": "address",
2678
+ "indexed": true
2679
+ },
2680
+ {
2681
+ "name": "to",
2682
+ "type": "address",
2683
+ "indexed": true
2684
+ },
2685
+ {
2686
+ "name": "amount",
2687
+ "type": "uint256",
2688
+ "indexed": false
2689
+ }
2690
+ ],
2691
+ "anonymous": false
2692
+ },
2693
+ {
2694
+ "type": "error",
2695
+ "name": "BadPath",
2696
+ "inputs": []
2697
+ },
2698
+ {
2699
+ "type": "error",
2700
+ "name": "PartialFill",
2701
+ "inputs": []
2702
+ },
2703
+ {
2704
+ "type": "error",
2705
+ "name": "Slippage",
2706
+ "inputs": []
2707
+ },
2708
+ {
2709
+ "type": "error",
2710
+ "name": "NoOutput",
2711
+ "inputs": []
2712
+ },
2713
+ {
2714
+ "type": "error",
2715
+ "name": "Expired",
2716
+ "inputs": []
2717
+ },
2718
+ {
2719
+ "type": "error",
2720
+ "name": "InvalidAmount",
2721
+ "inputs": []
2722
+ },
2723
+ {
2724
+ "type": "error",
2725
+ "name": "InvalidAddress",
2726
+ "inputs": []
2727
+ },
2728
+ {
2729
+ "type": "error",
2730
+ "name": "NativeNotAllowed",
2731
+ "inputs": []
2732
+ },
2733
+ {
2734
+ "type": "error",
2735
+ "name": "NothingToSweep",
2736
+ "inputs": []
2737
+ }
2738
+ ] as const;