@b3dotfun/sdk 0.0.25-alpha.0 → 0.0.25-alpha.2

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 (32) hide show
  1. package/dist/cjs/bondkit/abis/BondkitTokenABI.d.ts +301 -73
  2. package/dist/cjs/bondkit/abis/BondkitTokenABI.js +296 -920
  3. package/dist/cjs/bondkit/abis/BondkitTokenFactoryABI.d.ts +253 -19
  4. package/dist/cjs/bondkit/abis/BondkitTokenFactoryABI.js +189 -370
  5. package/dist/cjs/bondkit/bondkitToken.d.ts +7 -4
  6. package/dist/cjs/bondkit/bondkitToken.js +85 -10
  7. package/dist/cjs/bondkit/constants.js +1 -1
  8. package/dist/cjs/bondkit/json_abis/BondkitABI.json +297 -913
  9. package/dist/cjs/bondkit/json_abis/BondkitFactoryABI.json +191 -368
  10. package/dist/cjs/bondkit/types.d.ts +7 -2
  11. package/dist/esm/bondkit/abis/BondkitTokenABI.d.ts +301 -73
  12. package/dist/esm/bondkit/abis/BondkitTokenABI.js +296 -920
  13. package/dist/esm/bondkit/abis/BondkitTokenFactoryABI.d.ts +253 -19
  14. package/dist/esm/bondkit/abis/BondkitTokenFactoryABI.js +189 -370
  15. package/dist/esm/bondkit/bondkitToken.d.ts +7 -4
  16. package/dist/esm/bondkit/bondkitToken.js +86 -11
  17. package/dist/esm/bondkit/constants.js +1 -1
  18. package/dist/esm/bondkit/json_abis/BondkitABI.json +297 -913
  19. package/dist/esm/bondkit/json_abis/BondkitFactoryABI.json +191 -368
  20. package/dist/esm/bondkit/types.d.ts +7 -2
  21. package/dist/types/bondkit/abis/BondkitTokenABI.d.ts +301 -73
  22. package/dist/types/bondkit/abis/BondkitTokenFactoryABI.d.ts +253 -19
  23. package/dist/types/bondkit/bondkitToken.d.ts +7 -4
  24. package/dist/types/bondkit/types.d.ts +7 -2
  25. package/package.json +1 -1
  26. package/src/bondkit/abis/BondkitTokenABI.ts +296 -920
  27. package/src/bondkit/abis/BondkitTokenFactoryABI.ts +189 -370
  28. package/src/bondkit/bondkitToken.ts +102 -14
  29. package/src/bondkit/constants.ts +1 -1
  30. package/src/bondkit/json_abis/BondkitABI.json +297 -913
  31. package/src/bondkit/json_abis/BondkitFactoryABI.json +191 -368
  32. package/src/bondkit/types.ts +7 -2
@@ -7,6 +7,14 @@ export declare const BondkitTokenFactoryABI: readonly [{
7
7
  readonly internalType: "address";
8
8
  readonly name: "_implementationAddress";
9
9
  readonly type: "address";
10
+ }, {
11
+ readonly internalType: "address";
12
+ readonly name: "_v4PoolManager";
13
+ readonly type: "address";
14
+ }, {
15
+ readonly internalType: "address";
16
+ readonly name: "_v4Hook";
17
+ readonly type: "address";
10
18
  }];
11
19
  readonly stateMutability: "nonpayable";
12
20
  readonly type: "constructor";
@@ -24,19 +32,15 @@ export declare const BondkitTokenFactoryABI: readonly [{
24
32
  readonly type: "error";
25
33
  }, {
26
34
  readonly inputs: readonly [];
27
- readonly name: "FailedDeployment";
35
+ readonly name: "ERC1167FailedCreateClone";
28
36
  readonly type: "error";
29
37
  }, {
30
38
  readonly inputs: readonly [{
31
- readonly internalType: "uint256";
32
- readonly name: "balance";
33
- readonly type: "uint256";
34
- }, {
35
- readonly internalType: "uint256";
36
- readonly name: "needed";
37
- readonly type: "uint256";
39
+ readonly internalType: "string";
40
+ readonly name: "reason";
41
+ readonly type: "string";
38
42
  }];
39
- readonly name: "InsufficientBalance";
43
+ readonly name: "InvalidConfigurationWithReason";
40
44
  readonly type: "error";
41
45
  }, {
42
46
  readonly inputs: readonly [{
@@ -62,6 +66,14 @@ export declare const BondkitTokenFactoryABI: readonly [{
62
66
  }];
63
67
  readonly name: "OwnableUnauthorizedAccount";
64
68
  readonly type: "error";
69
+ }, {
70
+ readonly inputs: readonly [{
71
+ readonly internalType: "address";
72
+ readonly name: "token";
73
+ readonly type: "address";
74
+ }];
75
+ readonly name: "TradingTokenNotAllowed";
76
+ readonly type: "error";
65
77
  }, {
66
78
  readonly inputs: readonly [{
67
79
  readonly internalType: "uint256";
@@ -104,11 +116,19 @@ export declare const BondkitTokenFactoryABI: readonly [{
104
116
  readonly type: "error";
105
117
  }, {
106
118
  readonly inputs: readonly [{
107
- readonly internalType: "address";
108
- readonly name: "providedAddress";
109
- readonly type: "address";
119
+ readonly internalType: "uint24";
120
+ readonly name: "value";
121
+ readonly type: "uint24";
122
+ }];
123
+ readonly name: "ValidationInvalidV4PoolFee";
124
+ readonly type: "error";
125
+ }, {
126
+ readonly inputs: readonly [{
127
+ readonly internalType: "int24";
128
+ readonly name: "value";
129
+ readonly type: "int24";
110
130
  }];
111
- readonly name: "ValidationInvalidRouterAddress";
131
+ readonly name: "ValidationInvalidV4TickSpacing";
112
132
  readonly type: "error";
113
133
  }, {
114
134
  readonly anonymous: false;
@@ -180,6 +200,26 @@ export declare const BondkitTokenFactoryABI: readonly [{
180
200
  }];
181
201
  readonly name: "OwnershipTransferred";
182
202
  readonly type: "event";
203
+ }, {
204
+ readonly inputs: readonly [];
205
+ readonly name: "ALLOWED_TRADING_TOKEN";
206
+ readonly outputs: readonly [{
207
+ readonly internalType: "address";
208
+ readonly name: "";
209
+ readonly type: "address";
210
+ }];
211
+ readonly stateMutability: "view";
212
+ readonly type: "function";
213
+ }, {
214
+ readonly inputs: readonly [];
215
+ readonly name: "bondingPhaseSplitter";
216
+ readonly outputs: readonly [{
217
+ readonly internalType: "address";
218
+ readonly name: "";
219
+ readonly type: "address";
220
+ }];
221
+ readonly stateMutability: "view";
222
+ readonly type: "function";
183
223
  }, {
184
224
  readonly inputs: readonly [{
185
225
  readonly internalType: "address";
@@ -213,16 +253,36 @@ export declare const BondkitTokenFactoryABI: readonly [{
213
253
  readonly type: "uint256";
214
254
  }, {
215
255
  readonly internalType: "uint256";
216
- readonly name: "targetEth";
256
+ readonly name: "targetAmount";
217
257
  readonly type: "uint256";
218
258
  }, {
219
259
  readonly internalType: "address";
220
- readonly name: "uniswapV2RouterAddress";
260
+ readonly name: "tradingToken";
221
261
  readonly type: "address";
222
262
  }, {
223
263
  readonly internalType: "address";
224
264
  readonly name: "migrationAdminAddress";
225
265
  readonly type: "address";
266
+ }, {
267
+ readonly internalType: "address";
268
+ readonly name: "bondingPhaseSplitter";
269
+ readonly type: "address";
270
+ }, {
271
+ readonly internalType: "address";
272
+ readonly name: "v4PoolManager";
273
+ readonly type: "address";
274
+ }, {
275
+ readonly internalType: "address";
276
+ readonly name: "v4Hook";
277
+ readonly type: "address";
278
+ }, {
279
+ readonly internalType: "uint24";
280
+ readonly name: "v4PoolFee";
281
+ readonly type: "uint24";
282
+ }, {
283
+ readonly internalType: "int24";
284
+ readonly name: "v4TickSpacing";
285
+ readonly type: "int24";
226
286
  }];
227
287
  readonly stateMutability: "view";
228
288
  readonly type: "function";
@@ -236,6 +296,26 @@ export declare const BondkitTokenFactoryABI: readonly [{
236
296
  }];
237
297
  readonly stateMutability: "view";
238
298
  readonly type: "function";
299
+ }, {
300
+ readonly inputs: readonly [];
301
+ readonly name: "defaultV4PoolFee";
302
+ readonly outputs: readonly [{
303
+ readonly internalType: "uint24";
304
+ readonly name: "";
305
+ readonly type: "uint24";
306
+ }];
307
+ readonly stateMutability: "view";
308
+ readonly type: "function";
309
+ }, {
310
+ readonly inputs: readonly [];
311
+ readonly name: "defaultV4TickSpacing";
312
+ readonly outputs: readonly [{
313
+ readonly internalType: "int24";
314
+ readonly name: "";
315
+ readonly type: "int24";
316
+ }];
317
+ readonly stateMutability: "view";
318
+ readonly type: "function";
239
319
  }, {
240
320
  readonly inputs: readonly [{
241
321
  readonly components: readonly [{
@@ -264,16 +344,36 @@ export declare const BondkitTokenFactoryABI: readonly [{
264
344
  readonly type: "uint256";
265
345
  }, {
266
346
  readonly internalType: "uint256";
267
- readonly name: "targetEth";
347
+ readonly name: "targetAmount";
268
348
  readonly type: "uint256";
269
349
  }, {
270
350
  readonly internalType: "address";
271
- readonly name: "uniswapV2RouterAddress";
351
+ readonly name: "tradingToken";
272
352
  readonly type: "address";
273
353
  }, {
274
354
  readonly internalType: "address";
275
355
  readonly name: "migrationAdminAddress";
276
356
  readonly type: "address";
357
+ }, {
358
+ readonly internalType: "address";
359
+ readonly name: "bondingPhaseSplitter";
360
+ readonly type: "address";
361
+ }, {
362
+ readonly internalType: "address";
363
+ readonly name: "v4PoolManager";
364
+ readonly type: "address";
365
+ }, {
366
+ readonly internalType: "address";
367
+ readonly name: "v4Hook";
368
+ readonly type: "address";
369
+ }, {
370
+ readonly internalType: "uint24";
371
+ readonly name: "v4PoolFee";
372
+ readonly type: "uint24";
373
+ }, {
374
+ readonly internalType: "int24";
375
+ readonly name: "v4TickSpacing";
376
+ readonly type: "int24";
277
377
  }];
278
378
  readonly internalType: "struct BondkitTokenConfigLib.Config";
279
379
  readonly name: "_config";
@@ -301,6 +401,26 @@ export declare const BondkitTokenFactoryABI: readonly [{
301
401
  }];
302
402
  readonly stateMutability: "view";
303
403
  readonly type: "function";
404
+ }, {
405
+ readonly inputs: readonly [];
406
+ readonly name: "dexPhaseSplitter";
407
+ readonly outputs: readonly [{
408
+ readonly internalType: "address";
409
+ readonly name: "";
410
+ readonly type: "address";
411
+ }];
412
+ readonly stateMutability: "view";
413
+ readonly type: "function";
414
+ }, {
415
+ readonly inputs: readonly [];
416
+ readonly name: "getAllowedTradingToken";
417
+ readonly outputs: readonly [{
418
+ readonly internalType: "address";
419
+ readonly name: "";
420
+ readonly type: "address";
421
+ }];
422
+ readonly stateMutability: "pure";
423
+ readonly type: "function";
304
424
  }, {
305
425
  readonly inputs: readonly [{
306
426
  readonly internalType: "address";
@@ -335,16 +455,36 @@ export declare const BondkitTokenFactoryABI: readonly [{
335
455
  readonly type: "uint256";
336
456
  }, {
337
457
  readonly internalType: "uint256";
338
- readonly name: "targetEth";
458
+ readonly name: "targetAmount";
339
459
  readonly type: "uint256";
340
460
  }, {
341
461
  readonly internalType: "address";
342
- readonly name: "uniswapV2RouterAddress";
462
+ readonly name: "tradingToken";
343
463
  readonly type: "address";
344
464
  }, {
345
465
  readonly internalType: "address";
346
466
  readonly name: "migrationAdminAddress";
347
467
  readonly type: "address";
468
+ }, {
469
+ readonly internalType: "address";
470
+ readonly name: "bondingPhaseSplitter";
471
+ readonly type: "address";
472
+ }, {
473
+ readonly internalType: "address";
474
+ readonly name: "v4PoolManager";
475
+ readonly type: "address";
476
+ }, {
477
+ readonly internalType: "address";
478
+ readonly name: "v4Hook";
479
+ readonly type: "address";
480
+ }, {
481
+ readonly internalType: "uint24";
482
+ readonly name: "v4PoolFee";
483
+ readonly type: "uint24";
484
+ }, {
485
+ readonly internalType: "int24";
486
+ readonly name: "v4TickSpacing";
487
+ readonly type: "int24";
348
488
  }];
349
489
  readonly internalType: "struct BondkitTokenConfigLib.Config";
350
490
  readonly name: "";
@@ -362,6 +502,20 @@ export declare const BondkitTokenFactoryABI: readonly [{
362
502
  }];
363
503
  readonly stateMutability: "view";
364
504
  readonly type: "function";
505
+ }, {
506
+ readonly inputs: readonly [{
507
+ readonly internalType: "address";
508
+ readonly name: "token";
509
+ readonly type: "address";
510
+ }];
511
+ readonly name: "isTradingTokenAllowed";
512
+ readonly outputs: readonly [{
513
+ readonly internalType: "bool";
514
+ readonly name: "";
515
+ readonly type: "bool";
516
+ }];
517
+ readonly stateMutability: "pure";
518
+ readonly type: "function";
365
519
  }, {
366
520
  readonly inputs: readonly [];
367
521
  readonly name: "owner";
@@ -378,6 +532,66 @@ export declare const BondkitTokenFactoryABI: readonly [{
378
532
  readonly outputs: readonly [];
379
533
  readonly stateMutability: "nonpayable";
380
534
  readonly type: "function";
535
+ }, {
536
+ readonly inputs: readonly [{
537
+ readonly internalType: "address";
538
+ readonly name: "_bondingPhaseSplitter";
539
+ readonly type: "address";
540
+ }];
541
+ readonly name: "setBondingPhaseSplitter";
542
+ readonly outputs: readonly [];
543
+ readonly stateMutability: "nonpayable";
544
+ readonly type: "function";
545
+ }, {
546
+ readonly inputs: readonly [{
547
+ readonly internalType: "uint24";
548
+ readonly name: "_defaultV4PoolFee";
549
+ readonly type: "uint24";
550
+ }];
551
+ readonly name: "setDefaultV4PoolFee";
552
+ readonly outputs: readonly [];
553
+ readonly stateMutability: "nonpayable";
554
+ readonly type: "function";
555
+ }, {
556
+ readonly inputs: readonly [{
557
+ readonly internalType: "int24";
558
+ readonly name: "_defaultV4TickSpacing";
559
+ readonly type: "int24";
560
+ }];
561
+ readonly name: "setDefaultV4TickSpacing";
562
+ readonly outputs: readonly [];
563
+ readonly stateMutability: "nonpayable";
564
+ readonly type: "function";
565
+ }, {
566
+ readonly inputs: readonly [{
567
+ readonly internalType: "address";
568
+ readonly name: "_dexPhaseSplitter";
569
+ readonly type: "address";
570
+ }];
571
+ readonly name: "setDexPhaseSplitter";
572
+ readonly outputs: readonly [];
573
+ readonly stateMutability: "nonpayable";
574
+ readonly type: "function";
575
+ }, {
576
+ readonly inputs: readonly [{
577
+ readonly internalType: "address";
578
+ readonly name: "_v4Hook";
579
+ readonly type: "address";
580
+ }];
581
+ readonly name: "setV4Hook";
582
+ readonly outputs: readonly [];
583
+ readonly stateMutability: "nonpayable";
584
+ readonly type: "function";
585
+ }, {
586
+ readonly inputs: readonly [{
587
+ readonly internalType: "address";
588
+ readonly name: "_v4PoolManager";
589
+ readonly type: "address";
590
+ }];
591
+ readonly name: "setV4PoolManager";
592
+ readonly outputs: readonly [];
593
+ readonly stateMutability: "nonpayable";
594
+ readonly type: "function";
381
595
  }, {
382
596
  readonly inputs: readonly [{
383
597
  readonly internalType: "address";
@@ -388,4 +602,24 @@ export declare const BondkitTokenFactoryABI: readonly [{
388
602
  readonly outputs: readonly [];
389
603
  readonly stateMutability: "nonpayable";
390
604
  readonly type: "function";
605
+ }, {
606
+ readonly inputs: readonly [];
607
+ readonly name: "v4Hook";
608
+ readonly outputs: readonly [{
609
+ readonly internalType: "address";
610
+ readonly name: "";
611
+ readonly type: "address";
612
+ }];
613
+ readonly stateMutability: "view";
614
+ readonly type: "function";
615
+ }, {
616
+ readonly inputs: readonly [];
617
+ readonly name: "v4PoolManager";
618
+ readonly outputs: readonly [{
619
+ readonly internalType: "address";
620
+ readonly name: "";
621
+ readonly type: "address";
622
+ }];
623
+ readonly stateMutability: "view";
624
+ readonly type: "function";
391
625
  }];