@parabolicfamily/mcp 0.1.8 → 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 (63) hide show
  1. package/README.md +55 -10
  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 +21 -16
  16. package/dist/chains.js.map +1 -1
  17. package/dist/config.d.ts +36 -11
  18. package/dist/config.js +98 -20
  19. package/dist/config.js.map +1 -1
  20. package/dist/deployed.d.ts +80 -0
  21. package/dist/deployed.js +95 -0
  22. package/dist/deployed.js.map +1 -0
  23. package/dist/docs.d.ts +13 -0
  24. package/dist/docs.js +68 -12
  25. package/dist/docs.js.map +1 -1
  26. package/dist/parabolic.d.ts +17 -0
  27. package/dist/parabolic.js +55 -8
  28. package/dist/parabolic.js.map +1 -1
  29. package/dist/quote-unit.js +49 -28
  30. package/dist/quote-unit.js.map +1 -1
  31. package/dist/referrals.d.ts +77 -0
  32. package/dist/referrals.js +55 -0
  33. package/dist/referrals.js.map +1 -0
  34. package/dist/restapi.d.ts +4 -3
  35. package/dist/restapi.js +19 -4
  36. package/dist/restapi.js.map +1 -1
  37. package/dist/routed.d.ts +389 -0
  38. package/dist/routed.js +413 -0
  39. package/dist/routed.js.map +1 -0
  40. package/dist/server.d.ts +1 -1
  41. package/dist/server.js +84 -6
  42. package/dist/server.js.map +1 -1
  43. package/dist/tx.d.ts +6 -0
  44. package/dist/tx.js +12 -2
  45. package/dist/tx.js.map +1 -1
  46. package/dist/venues.d.ts +49 -0
  47. package/dist/venues.js +44 -0
  48. package/dist/venues.js.map +1 -0
  49. package/package.json +1 -1
  50. package/src/abi.ts +3 -1
  51. package/src/chain.ts +19 -4
  52. package/src/chains.ts +33 -20
  53. package/src/config.ts +112 -22
  54. package/src/deployed.ts +128 -0
  55. package/src/docs.ts +70 -12
  56. package/src/parabolic.ts +59 -8
  57. package/src/quote-unit.ts +47 -6
  58. package/src/referrals.ts +61 -0
  59. package/src/restapi.ts +18 -4
  60. package/src/routed.ts +499 -0
  61. package/src/server.ts +116 -6
  62. package/src/tx.ts +13 -2
  63. package/src/venues.ts +93 -0
@@ -0,0 +1,429 @@
1
+ [
2
+ {
3
+ "type": "constructor",
4
+ "inputs": [
5
+ {
6
+ "name": "graduationGuard_",
7
+ "type": "address",
8
+ "internalType": "contract ParabolicGraduationGuard"
9
+ }
10
+ ],
11
+ "stateMutability": "nonpayable"
12
+ },
13
+ {
14
+ "type": "function",
15
+ "name": "MAX_PAIR_DECIMALS",
16
+ "inputs": [],
17
+ "outputs": [
18
+ {
19
+ "name": "",
20
+ "type": "uint8",
21
+ "internalType": "uint8"
22
+ }
23
+ ],
24
+ "stateMutability": "view"
25
+ },
26
+ {
27
+ "type": "function",
28
+ "name": "MIN_PAIR_DECIMALS",
29
+ "inputs": [],
30
+ "outputs": [
31
+ {
32
+ "name": "",
33
+ "type": "uint8",
34
+ "internalType": "uint8"
35
+ }
36
+ ],
37
+ "stateMutability": "view"
38
+ },
39
+ {
40
+ "type": "function",
41
+ "name": "MIN_THRESHOLD_UNITS",
42
+ "inputs": [],
43
+ "outputs": [
44
+ {
45
+ "name": "",
46
+ "type": "uint256",
47
+ "internalType": "uint256"
48
+ }
49
+ ],
50
+ "stateMutability": "view"
51
+ },
52
+ {
53
+ "type": "function",
54
+ "name": "SUPPLY_DIVISOR",
55
+ "inputs": [],
56
+ "outputs": [
57
+ {
58
+ "name": "",
59
+ "type": "uint256",
60
+ "internalType": "uint256"
61
+ }
62
+ ],
63
+ "stateMutability": "view"
64
+ },
65
+ {
66
+ "type": "function",
67
+ "name": "approveFactory",
68
+ "inputs": [
69
+ {
70
+ "name": "pairToken",
71
+ "type": "address",
72
+ "internalType": "address"
73
+ },
74
+ {
75
+ "name": "amount",
76
+ "type": "uint256",
77
+ "internalType": "uint256"
78
+ }
79
+ ],
80
+ "outputs": [],
81
+ "stateMutability": "nonpayable"
82
+ },
83
+ {
84
+ "type": "function",
85
+ "name": "checkTerms",
86
+ "inputs": [
87
+ {
88
+ "name": "pairToken",
89
+ "type": "address",
90
+ "internalType": "address"
91
+ },
92
+ {
93
+ "name": "supply",
94
+ "type": "uint256",
95
+ "internalType": "uint256"
96
+ },
97
+ {
98
+ "name": "curveFeeBps",
99
+ "type": "uint256",
100
+ "internalType": "uint256"
101
+ },
102
+ {
103
+ "name": "tickSpacing",
104
+ "type": "int24",
105
+ "internalType": "int24"
106
+ },
107
+ {
108
+ "name": "graduationThreshold",
109
+ "type": "uint256",
110
+ "internalType": "uint256"
111
+ },
112
+ {
113
+ "name": "seedTopUp",
114
+ "type": "uint256",
115
+ "internalType": "uint256"
116
+ }
117
+ ],
118
+ "outputs": [
119
+ {
120
+ "name": "decimals",
121
+ "type": "uint8",
122
+ "internalType": "uint8"
123
+ },
124
+ {
125
+ "name": "phantomQuote",
126
+ "type": "uint256",
127
+ "internalType": "uint256"
128
+ },
129
+ {
130
+ "name": "pairIsProxy",
131
+ "type": "bool",
132
+ "internalType": "bool"
133
+ }
134
+ ],
135
+ "stateMutability": "view"
136
+ },
137
+ {
138
+ "type": "function",
139
+ "name": "delegates",
140
+ "inputs": [
141
+ {
142
+ "name": "target",
143
+ "type": "address",
144
+ "internalType": "address"
145
+ }
146
+ ],
147
+ "outputs": [
148
+ {
149
+ "name": "found",
150
+ "type": "bool",
151
+ "internalType": "bool"
152
+ }
153
+ ],
154
+ "stateMutability": "view"
155
+ },
156
+ {
157
+ "type": "function",
158
+ "name": "factory",
159
+ "inputs": [],
160
+ "outputs": [
161
+ {
162
+ "name": "",
163
+ "type": "address",
164
+ "internalType": "address"
165
+ }
166
+ ],
167
+ "stateMutability": "view"
168
+ },
169
+ {
170
+ "type": "function",
171
+ "name": "graduationGuard",
172
+ "inputs": [],
173
+ "outputs": [
174
+ {
175
+ "name": "",
176
+ "type": "address",
177
+ "internalType": "contract ParabolicGraduationGuard"
178
+ }
179
+ ],
180
+ "stateMutability": "view"
181
+ },
182
+ {
183
+ "type": "function",
184
+ "name": "pairDecimals",
185
+ "inputs": [
186
+ {
187
+ "name": "pairToken",
188
+ "type": "address",
189
+ "internalType": "address"
190
+ }
191
+ ],
192
+ "outputs": [
193
+ {
194
+ "name": "",
195
+ "type": "uint8",
196
+ "internalType": "uint8"
197
+ }
198
+ ],
199
+ "stateMutability": "view"
200
+ },
201
+ {
202
+ "type": "function",
203
+ "name": "phantomFor",
204
+ "inputs": [
205
+ {
206
+ "name": "graduationThreshold",
207
+ "type": "uint256",
208
+ "internalType": "uint256"
209
+ }
210
+ ],
211
+ "outputs": [
212
+ {
213
+ "name": "",
214
+ "type": "uint256",
215
+ "internalType": "uint256"
216
+ }
217
+ ],
218
+ "stateMutability": "pure"
219
+ },
220
+ {
221
+ "type": "function",
222
+ "name": "pullAndProbe",
223
+ "inputs": [
224
+ {
225
+ "name": "pairToken",
226
+ "type": "address",
227
+ "internalType": "address"
228
+ },
229
+ {
230
+ "name": "amount",
231
+ "type": "uint256",
232
+ "internalType": "uint256"
233
+ },
234
+ {
235
+ "name": "topUp",
236
+ "type": "uint256",
237
+ "internalType": "uint256"
238
+ }
239
+ ],
240
+ "outputs": [],
241
+ "stateMutability": "nonpayable"
242
+ },
243
+ {
244
+ "type": "function",
245
+ "name": "seedAmounts",
246
+ "inputs": [
247
+ {
248
+ "name": "token",
249
+ "type": "address",
250
+ "internalType": "address"
251
+ },
252
+ {
253
+ "name": "pairToken",
254
+ "type": "address",
255
+ "internalType": "address"
256
+ },
257
+ {
258
+ "name": "tickSpacing",
259
+ "type": "int24",
260
+ "internalType": "int24"
261
+ },
262
+ {
263
+ "name": "phantomQuote",
264
+ "type": "uint256",
265
+ "internalType": "uint256"
266
+ },
267
+ {
268
+ "name": "sweptQuote",
269
+ "type": "uint256",
270
+ "internalType": "uint256"
271
+ },
272
+ {
273
+ "name": "sweptTokens",
274
+ "type": "uint256",
275
+ "internalType": "uint256"
276
+ },
277
+ {
278
+ "name": "topUp",
279
+ "type": "uint256",
280
+ "internalType": "uint256"
281
+ }
282
+ ],
283
+ "outputs": [
284
+ {
285
+ "name": "poolTokens",
286
+ "type": "uint256",
287
+ "internalType": "uint256"
288
+ },
289
+ {
290
+ "name": "topUpCoins",
291
+ "type": "uint256",
292
+ "internalType": "uint256"
293
+ }
294
+ ],
295
+ "stateMutability": "view"
296
+ },
297
+ {
298
+ "type": "function",
299
+ "name": "thresholdBounds",
300
+ "inputs": [
301
+ {
302
+ "name": "pairToken",
303
+ "type": "address",
304
+ "internalType": "address"
305
+ },
306
+ {
307
+ "name": "decimals",
308
+ "type": "uint8",
309
+ "internalType": "uint8"
310
+ }
311
+ ],
312
+ "outputs": [
313
+ {
314
+ "name": "min",
315
+ "type": "uint256",
316
+ "internalType": "uint256"
317
+ },
318
+ {
319
+ "name": "max",
320
+ "type": "uint256",
321
+ "internalType": "uint256"
322
+ }
323
+ ],
324
+ "stateMutability": "view"
325
+ },
326
+ {
327
+ "type": "function",
328
+ "name": "wired",
329
+ "inputs": [],
330
+ "outputs": [
331
+ {
332
+ "name": "",
333
+ "type": "bool",
334
+ "internalType": "bool"
335
+ }
336
+ ],
337
+ "stateMutability": "view"
338
+ },
339
+ {
340
+ "type": "error",
341
+ "name": "CurveNotQuotable",
342
+ "inputs": []
343
+ },
344
+ {
345
+ "type": "error",
346
+ "name": "GraduationSeedNotViable",
347
+ "inputs": []
348
+ },
349
+ {
350
+ "type": "error",
351
+ "name": "NotFactory",
352
+ "inputs": []
353
+ },
354
+ {
355
+ "type": "error",
356
+ "name": "NothingToGraduate",
357
+ "inputs": []
358
+ },
359
+ {
360
+ "type": "error",
361
+ "name": "PairDecimals",
362
+ "inputs": [
363
+ {
364
+ "name": "decimals",
365
+ "type": "uint8",
366
+ "internalType": "uint8"
367
+ }
368
+ ]
369
+ },
370
+ {
371
+ "type": "error",
372
+ "name": "PairProbeFailed",
373
+ "inputs": [
374
+ {
375
+ "name": "leg",
376
+ "type": "uint8",
377
+ "internalType": "uint8"
378
+ },
379
+ {
380
+ "name": "expected",
381
+ "type": "uint256",
382
+ "internalType": "uint256"
383
+ },
384
+ {
385
+ "name": "received",
386
+ "type": "uint256",
387
+ "internalType": "uint256"
388
+ }
389
+ ]
390
+ },
391
+ {
392
+ "type": "error",
393
+ "name": "SafeERC20FailedOperation",
394
+ "inputs": [
395
+ {
396
+ "name": "token",
397
+ "type": "address",
398
+ "internalType": "address"
399
+ }
400
+ ]
401
+ },
402
+ {
403
+ "type": "error",
404
+ "name": "SeedTopUpTooLarge",
405
+ "inputs": [
406
+ {
407
+ "name": "max",
408
+ "type": "uint256",
409
+ "internalType": "uint256"
410
+ }
411
+ ]
412
+ },
413
+ {
414
+ "type": "error",
415
+ "name": "ThresholdOutOfBounds",
416
+ "inputs": [
417
+ {
418
+ "name": "min",
419
+ "type": "uint256",
420
+ "internalType": "uint256"
421
+ },
422
+ {
423
+ "name": "max",
424
+ "type": "uint256",
425
+ "internalType": "uint256"
426
+ }
427
+ ]
428
+ }
429
+ ]