@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
@@ -1,447 +1,184 @@
1
1
  export const BondkitTokenABI = [
2
- {
3
- inputs: [],
4
- stateMutability: "nonpayable",
5
- type: "constructor",
6
- },
7
- {
8
- inputs: [],
9
- name: "CalculatedEthOutIsZero",
10
- type: "error",
11
- },
2
+ { inputs: [], stateMutability: "nonpayable", type: "constructor" },
3
+ { inputs: [], name: "CalculatedTradingTokenOutIsZero", type: "error" },
12
4
  {
13
5
  inputs: [
14
- {
15
- internalType: "uint256",
16
- name: "required",
17
- type: "uint256",
18
- },
19
- {
20
- internalType: "uint256",
21
- name: "available",
22
- type: "uint256",
23
- },
6
+ { internalType: "uint256", name: "required", type: "uint256" },
7
+ { internalType: "uint256", name: "available", type: "uint256" },
24
8
  ],
25
9
  name: "CurveReserveInsufficient",
26
10
  type: "error",
27
11
  },
28
12
  {
29
13
  inputs: [
30
- {
31
- internalType: "uint256",
32
- name: "currentRaised",
33
- type: "uint256",
34
- },
35
- {
36
- internalType: "uint256",
37
- name: "threshold",
38
- type: "uint256",
39
- },
14
+ { internalType: "uint256", name: "currentRaised", type: "uint256" },
15
+ { internalType: "uint256", name: "threshold", type: "uint256" },
40
16
  ],
41
17
  name: "DexTriggerThresholdNotMet",
42
18
  type: "error",
43
19
  },
44
20
  {
45
21
  inputs: [
46
- {
47
- internalType: "address",
48
- name: "spender",
49
- type: "address",
50
- },
51
- {
52
- internalType: "uint256",
53
- name: "allowance",
54
- type: "uint256",
55
- },
56
- {
57
- internalType: "uint256",
58
- name: "needed",
59
- type: "uint256",
60
- },
22
+ { internalType: "address", name: "spender", type: "address" },
23
+ { internalType: "uint256", name: "allowance", type: "uint256" },
24
+ { internalType: "uint256", name: "needed", type: "uint256" },
61
25
  ],
62
26
  name: "ERC20InsufficientAllowance",
63
27
  type: "error",
64
28
  },
65
29
  {
66
30
  inputs: [
67
- {
68
- internalType: "address",
69
- name: "sender",
70
- type: "address",
71
- },
72
- {
73
- internalType: "uint256",
74
- name: "balance",
75
- type: "uint256",
76
- },
77
- {
78
- internalType: "uint256",
79
- name: "needed",
80
- type: "uint256",
81
- },
31
+ { internalType: "address", name: "sender", type: "address" },
32
+ { internalType: "uint256", name: "balance", type: "uint256" },
33
+ { internalType: "uint256", name: "needed", type: "uint256" },
82
34
  ],
83
35
  name: "ERC20InsufficientBalance",
84
36
  type: "error",
85
37
  },
86
38
  {
87
- inputs: [
88
- {
89
- internalType: "address",
90
- name: "approver",
91
- type: "address",
92
- },
93
- ],
39
+ inputs: [{ internalType: "address", name: "approver", type: "address" }],
94
40
  name: "ERC20InvalidApprover",
95
41
  type: "error",
96
42
  },
97
43
  {
98
- inputs: [
99
- {
100
- internalType: "address",
101
- name: "receiver",
102
- type: "address",
103
- },
104
- ],
44
+ inputs: [{ internalType: "address", name: "receiver", type: "address" }],
105
45
  name: "ERC20InvalidReceiver",
106
46
  type: "error",
107
47
  },
48
+ { inputs: [{ internalType: "address", name: "sender", type: "address" }], name: "ERC20InvalidSender", type: "error" },
108
49
  {
109
- inputs: [
110
- {
111
- internalType: "address",
112
- name: "sender",
113
- type: "address",
114
- },
115
- ],
116
- name: "ERC20InvalidSender",
117
- type: "error",
118
- },
119
- {
120
- inputs: [
121
- {
122
- internalType: "address",
123
- name: "spender",
124
- type: "address",
125
- },
126
- ],
50
+ inputs: [{ internalType: "address", name: "spender", type: "address" }],
127
51
  name: "ERC20InvalidSpender",
128
52
  type: "error",
129
53
  },
130
- {
131
- inputs: [],
132
- name: "EthAmountMustBePositive",
133
- type: "error",
134
- },
135
- {
136
- inputs: [],
137
- name: "EthForCurveMustBePositive",
138
- type: "error",
139
- },
140
- {
141
- inputs: [
142
- {
143
- internalType: "address",
144
- name: "recipient",
145
- type: "address",
146
- },
147
- ],
148
- name: "EthTransferFailed",
149
- type: "error",
150
- },
151
- {
152
- inputs: [],
153
- name: "ExpectedBondingPhase",
154
- type: "error",
155
- },
156
- {
157
- inputs: [],
158
- name: "FeeRecipientLPSplitPayoutFailed",
159
- type: "error",
160
- },
161
- {
162
- inputs: [],
163
- name: "FeeTransferFailed",
164
- type: "error",
165
- },
166
54
  {
167
55
  inputs: [
168
- {
169
- internalType: "uint256",
170
- name: "available",
171
- type: "uint256",
172
- },
56
+ { internalType: "address", name: "owner", type: "address" },
57
+ { internalType: "uint256", name: "required", type: "uint256" },
58
+ { internalType: "uint256", name: "available", type: "uint256" },
173
59
  ],
174
- name: "InsufficientEthForLiquidity",
60
+ name: "InsufficientTokenBalance",
175
61
  type: "error",
176
62
  },
177
63
  {
178
- inputs: [
179
- {
180
- internalType: "address",
181
- name: "owner",
182
- type: "address",
183
- },
184
- {
185
- internalType: "uint256",
186
- name: "required",
187
- type: "uint256",
188
- },
189
- {
190
- internalType: "uint256",
191
- name: "available",
192
- type: "uint256",
193
- },
194
- ],
195
- name: "InsufficientTokenBalance",
64
+ inputs: [{ internalType: "uint256", name: "available", type: "uint256" }],
65
+ name: "InsufficientTradingTokenForLiquidity",
196
66
  type: "error",
197
67
  },
198
68
  {
199
- inputs: [
200
- {
201
- internalType: "uint256",
202
- name: "value",
203
- type: "uint256",
204
- },
205
- ],
69
+ inputs: [{ internalType: "uint256", name: "value", type: "uint256" }],
206
70
  name: "InvalidCurveExponent",
207
71
  type: "error",
208
72
  },
209
73
  {
210
74
  inputs: [
211
- {
212
- internalType: "enum Status",
213
- name: "currentPhase",
214
- type: "uint8",
215
- },
216
- {
217
- internalType: "enum Status",
218
- name: "requiredPhase",
219
- type: "uint8",
220
- },
75
+ { internalType: "uint8", name: "currentPhase", type: "uint8" },
76
+ { internalType: "uint8", name: "requiredPhase", type: "uint8" },
221
77
  ],
222
78
  name: "InvalidPhaseForAction",
223
79
  type: "error",
224
80
  },
81
+ { inputs: [], name: "NoTokensForLiquidity", type: "error" },
82
+ { inputs: [{ internalType: "address", name: "owner", type: "address" }], name: "OwnableInvalidOwner", type: "error" },
225
83
  {
226
- inputs: [],
227
- name: "NoTokensForLiquidity",
228
- type: "error",
229
- },
230
- {
231
- inputs: [
232
- {
233
- internalType: "address",
234
- name: "owner",
235
- type: "address",
236
- },
237
- ],
238
- name: "OwnableInvalidOwner",
239
- type: "error",
240
- },
241
- {
242
- inputs: [
243
- {
244
- internalType: "address",
245
- name: "account",
246
- type: "address",
247
- },
248
- ],
84
+ inputs: [{ internalType: "address", name: "account", type: "address" }],
249
85
  name: "OwnableUnauthorizedAccount",
250
86
  type: "error",
251
87
  },
252
88
  {
253
89
  inputs: [
254
- {
255
- internalType: "uint256",
256
- name: "x",
257
- type: "uint256",
258
- },
259
- {
260
- internalType: "uint256",
261
- name: "y",
262
- type: "uint256",
263
- },
90
+ { internalType: "uint256", name: "x", type: "uint256" },
91
+ { internalType: "uint256", name: "y", type: "uint256" },
264
92
  ],
265
93
  name: "PRBMath_MulDiv18_Overflow",
266
94
  type: "error",
267
95
  },
268
96
  {
269
97
  inputs: [
270
- {
271
- internalType: "uint256",
272
- name: "x",
273
- type: "uint256",
274
- },
275
- {
276
- internalType: "uint256",
277
- name: "y",
278
- type: "uint256",
279
- },
280
- {
281
- internalType: "uint256",
282
- name: "denominator",
283
- type: "uint256",
284
- },
98
+ { internalType: "uint256", name: "x", type: "uint256" },
99
+ { internalType: "uint256", name: "y", type: "uint256" },
100
+ { internalType: "uint256", name: "denominator", type: "uint256" },
285
101
  ],
286
102
  name: "PRBMath_MulDiv_Overflow",
287
103
  type: "error",
288
104
  },
289
105
  {
290
- inputs: [
291
- {
292
- internalType: "UD60x18",
293
- name: "x",
294
- type: "uint256",
295
- },
296
- ],
106
+ inputs: [{ internalType: "UD60x18", name: "x", type: "uint256" }],
297
107
  name: "PRBMath_UD60x18_Exp2_InputTooBig",
298
108
  type: "error",
299
109
  },
300
110
  {
301
- inputs: [
302
- {
303
- internalType: "UD60x18",
304
- name: "x",
305
- type: "uint256",
306
- },
307
- ],
111
+ inputs: [{ internalType: "UD60x18", name: "x", type: "uint256" }],
308
112
  name: "PRBMath_UD60x18_Log_InputTooSmall",
309
113
  type: "error",
310
114
  },
311
- {
312
- inputs: [],
313
- name: "ReentrancyGuardReentrantCall",
314
- type: "error",
315
- },
115
+ { inputs: [], name: "ReentrancyGuardReentrantCall", type: "error" },
316
116
  {
317
117
  inputs: [
318
- {
319
- internalType: "uint256",
320
- name: "ethToUser",
321
- type: "uint256",
322
- },
323
- {
324
- internalType: "uint256",
325
- name: "minEthOut",
326
- type: "uint256",
327
- },
118
+ { internalType: "uint256", name: "tokensToMint", type: "uint256" },
119
+ { internalType: "uint256", name: "minTokensOut", type: "uint256" },
328
120
  ],
329
- name: "SlippageProtectionEth",
121
+ name: "SlippageProtectionTokens",
330
122
  type: "error",
331
123
  },
332
124
  {
333
125
  inputs: [
334
- {
335
- internalType: "uint256",
336
- name: "tokensToMint",
337
- type: "uint256",
338
- },
339
- {
340
- internalType: "uint256",
341
- name: "minTokensOut",
342
- type: "uint256",
343
- },
126
+ { internalType: "uint256", name: "tradingTokenToUser", type: "uint256" },
127
+ { internalType: "uint256", name: "minTradingTokenOut", type: "uint256" },
344
128
  ],
345
- name: "SlippageProtectionTokens",
346
- type: "error",
347
- },
348
- {
349
- inputs: [],
350
- name: "TokenAmountMustBePositive",
129
+ name: "SlippageProtectionTradingToken",
351
130
  type: "error",
352
131
  },
132
+ { inputs: [], name: "TokenAmountMustBePositive", type: "error" },
133
+ { inputs: [], name: "TradingDisabledDexPhaseActive", type: "error" },
134
+ { inputs: [], name: "TradingTokenAmountMustBePositive", type: "error" },
135
+ { inputs: [], name: "TradingTokenForCurveMustBePositive", type: "error" },
353
136
  {
354
- inputs: [],
355
- name: "TradingDisabledDexPhaseActive",
137
+ inputs: [{ internalType: "address", name: "recipient", type: "address" }],
138
+ name: "TradingTokenTransferFailed",
356
139
  type: "error",
357
140
  },
358
141
  {
359
- inputs: [
360
- {
361
- internalType: "uint256",
362
- name: "value",
363
- type: "uint256",
364
- },
365
- ],
142
+ inputs: [{ internalType: "uint256", name: "value", type: "uint256" }],
366
143
  name: "ValidationInvalidAggressivenessFactor",
367
144
  type: "error",
368
145
  },
369
146
  {
370
- inputs: [
371
- {
372
- internalType: "address",
373
- name: "providedAddress",
374
- type: "address",
375
- },
376
- ],
147
+ inputs: [{ internalType: "address", name: "providedAddress", type: "address" }],
377
148
  name: "ValidationInvalidFeeRecipientAddress",
378
149
  type: "error",
379
150
  },
380
151
  {
381
- inputs: [
382
- {
383
- internalType: "uint256",
384
- name: "value",
385
- type: "uint256",
386
- },
387
- ],
152
+ inputs: [{ internalType: "uint256", name: "value", type: "uint256" }],
388
153
  name: "ValidationInvalidFinalTokenSupply",
389
154
  type: "error",
390
155
  },
391
156
  {
392
- inputs: [
393
- {
394
- internalType: "uint256",
395
- name: "value",
396
- type: "uint256",
397
- },
398
- ],
157
+ inputs: [{ internalType: "uint256", name: "value", type: "uint256" }],
399
158
  name: "ValidationInvalidLPSplitRatio",
400
159
  type: "error",
401
160
  },
402
161
  {
403
- inputs: [
404
- {
405
- internalType: "address",
406
- name: "providedAddress",
407
- type: "address",
408
- },
409
- ],
162
+ inputs: [{ internalType: "address", name: "providedAddress", type: "address" }],
410
163
  name: "ValidationInvalidMigrationAdminAddress",
411
164
  type: "error",
412
165
  },
413
166
  {
414
- inputs: [
415
- {
416
- internalType: "address",
417
- name: "providedAddress",
418
- type: "address",
419
- },
420
- ],
421
- name: "ValidationInvalidRouterAddress",
167
+ inputs: [{ internalType: "uint24", name: "value", type: "uint24" }],
168
+ name: "ValidationInvalidV4PoolFee",
169
+ type: "error",
170
+ },
171
+ {
172
+ inputs: [{ internalType: "int24", name: "value", type: "int24" }],
173
+ name: "ValidationInvalidV4TickSpacing",
422
174
  type: "error",
423
175
  },
424
176
  {
425
177
  anonymous: false,
426
178
  inputs: [
427
- {
428
- indexed: true,
429
- internalType: "address",
430
- name: "owner",
431
- type: "address",
432
- },
433
- {
434
- indexed: true,
435
- internalType: "address",
436
- name: "spender",
437
- type: "address",
438
- },
439
- {
440
- indexed: false,
441
- internalType: "uint256",
442
- name: "value",
443
- type: "uint256",
444
- },
179
+ { indexed: true, internalType: "address", name: "owner", type: "address" },
180
+ { indexed: true, internalType: "address", name: "spender", type: "address" },
181
+ { indexed: false, internalType: "uint256", name: "value", type: "uint256" },
445
182
  ],
446
183
  name: "Approval",
447
184
  type: "event",
@@ -449,42 +186,12 @@ export const BondkitTokenABI = [
449
186
  {
450
187
  anonymous: false,
451
188
  inputs: [
452
- {
453
- indexed: true,
454
- internalType: "address",
455
- name: "payer",
456
- type: "address",
457
- },
458
- {
459
- indexed: true,
460
- internalType: "address",
461
- name: "recipient",
462
- type: "address",
463
- },
464
- {
465
- indexed: false,
466
- internalType: "uint256",
467
- name: "ethIn",
468
- type: "uint256",
469
- },
470
- {
471
- indexed: false,
472
- internalType: "uint256",
473
- name: "tokensOut",
474
- type: "uint256",
475
- },
476
- {
477
- indexed: false,
478
- internalType: "uint256",
479
- name: "fee",
480
- type: "uint256",
481
- },
482
- {
483
- indexed: false,
484
- internalType: "uint256",
485
- name: "totalEthRaisedBonding",
486
- type: "uint256",
487
- },
189
+ { indexed: true, internalType: "address", name: "payer", type: "address" },
190
+ { indexed: true, internalType: "address", name: "recipient", type: "address" },
191
+ { indexed: false, internalType: "uint256", name: "tradingTokenIn", type: "uint256" },
192
+ { indexed: false, internalType: "uint256", name: "tokensOut", type: "uint256" },
193
+ { indexed: false, internalType: "uint256", name: "fee", type: "uint256" },
194
+ { indexed: false, internalType: "uint256", name: "totalRaisedBonding", type: "uint256" },
488
195
  ],
489
196
  name: "BondingCurveBuy",
490
197
  type: "event",
@@ -492,36 +199,11 @@ export const BondkitTokenABI = [
492
199
  {
493
200
  anonymous: false,
494
201
  inputs: [
495
- {
496
- indexed: true,
497
- internalType: "address",
498
- name: "seller",
499
- type: "address",
500
- },
501
- {
502
- indexed: false,
503
- internalType: "uint256",
504
- name: "tokensIn",
505
- type: "uint256",
506
- },
507
- {
508
- indexed: false,
509
- internalType: "uint256",
510
- name: "ethOut",
511
- type: "uint256",
512
- },
513
- {
514
- indexed: false,
515
- internalType: "uint256",
516
- name: "fee",
517
- type: "uint256",
518
- },
519
- {
520
- indexed: false,
521
- internalType: "uint256",
522
- name: "totalEthRaisedBonding",
523
- type: "uint256",
524
- },
202
+ { indexed: true, internalType: "address", name: "seller", type: "address" },
203
+ { indexed: false, internalType: "uint256", name: "tokensIn", type: "uint256" },
204
+ { indexed: false, internalType: "uint256", name: "tradingTokenOut", type: "uint256" },
205
+ { indexed: false, internalType: "uint256", name: "fee", type: "uint256" },
206
+ { indexed: false, internalType: "uint256", name: "totalRaisedBonding", type: "uint256" },
525
207
  ],
526
208
  name: "BondingCurveSell",
527
209
  type: "event",
@@ -529,54 +211,15 @@ export const BondkitTokenABI = [
529
211
  {
530
212
  anonymous: false,
531
213
  inputs: [
532
- {
533
- indexed: true,
534
- internalType: "address",
535
- name: "initializer",
536
- type: "address",
537
- },
538
- {
539
- indexed: false,
540
- internalType: "string",
541
- name: "name",
542
- type: "string",
543
- },
544
- {
545
- indexed: false,
546
- internalType: "string",
547
- name: "symbol",
548
- type: "string",
549
- },
550
- {
551
- indexed: false,
552
- internalType: "address",
553
- name: "feeRecipient",
554
- type: "address",
555
- },
556
- {
557
- indexed: false,
558
- internalType: "uint256",
559
- name: "finalTokenSupply",
560
- type: "uint256",
561
- },
562
- {
563
- indexed: false,
564
- internalType: "uint8",
565
- name: "aggressivenessFactor",
566
- type: "uint8",
567
- },
568
- {
569
- indexed: false,
570
- internalType: "uint256",
571
- name: "lpSplitRatioFeeRecipientBps",
572
- type: "uint256",
573
- },
574
- {
575
- indexed: false,
576
- internalType: "uint256",
577
- name: "targetEth",
578
- type: "uint256",
579
- },
214
+ { indexed: true, internalType: "address", name: "initializer", type: "address" },
215
+ { indexed: false, internalType: "string", name: "name", type: "string" },
216
+ { indexed: false, internalType: "string", name: "symbol", type: "string" },
217
+ { indexed: false, internalType: "address", name: "feeRecipient", type: "address" },
218
+ { indexed: false, internalType: "uint256", name: "finalTokenSupply", type: "uint256" },
219
+ { indexed: false, internalType: "uint8", name: "aggressivenessFactor", type: "uint8" },
220
+ { indexed: false, internalType: "uint256", name: "lpSplitRatioFeeRecipientBps", type: "uint256" },
221
+ { indexed: false, internalType: "uint256", name: "targetAmount", type: "uint256" },
222
+ { indexed: false, internalType: "address", name: "tradingToken", type: "address" },
580
223
  ],
581
224
  name: "BondkitTokenInitialized",
582
225
  type: "event",
@@ -584,24 +227,9 @@ export const BondkitTokenABI = [
584
227
  {
585
228
  anonymous: false,
586
229
  inputs: [
587
- {
588
- indexed: false,
589
- internalType: "uint256",
590
- name: "ethForLp",
591
- type: "uint256",
592
- },
593
- {
594
- indexed: false,
595
- internalType: "uint256",
596
- name: "tokensForLp",
597
- type: "uint256",
598
- },
599
- {
600
- indexed: false,
601
- internalType: "uint256",
602
- name: "ethForFeeRecipient",
603
- type: "uint256",
604
- },
230
+ { indexed: false, internalType: "uint256", name: "tradingTokenForLp", type: "uint256" },
231
+ { indexed: false, internalType: "uint256", name: "tokensForLp", type: "uint256" },
232
+ { indexed: false, internalType: "uint256", name: "tradingTokenForFeeRecipient", type: "uint256" },
605
233
  ],
606
234
  name: "BondkitTokenMigrated",
607
235
  type: "event",
@@ -609,18 +237,17 @@ export const BondkitTokenABI = [
609
237
  {
610
238
  anonymous: false,
611
239
  inputs: [
612
- {
613
- indexed: true,
614
- internalType: "address",
615
- name: "previousOwner",
616
- type: "address",
617
- },
618
- {
619
- indexed: true,
620
- internalType: "address",
621
- name: "newOwner",
622
- type: "address",
623
- },
240
+ { indexed: true, internalType: "address", name: "splitter", type: "address" },
241
+ { indexed: false, internalType: "uint256", name: "amount", type: "uint256" },
242
+ ],
243
+ name: "FeesSentToSplitter",
244
+ type: "event",
245
+ },
246
+ {
247
+ anonymous: false,
248
+ inputs: [
249
+ { indexed: true, internalType: "address", name: "previousOwner", type: "address" },
250
+ { indexed: true, internalType: "address", name: "newOwner", type: "address" },
624
251
  ],
625
252
  name: "OwnershipTransferred",
626
253
  type: "event",
@@ -628,102 +255,71 @@ export const BondkitTokenABI = [
628
255
  {
629
256
  anonymous: false,
630
257
  inputs: [
631
- {
632
- indexed: true,
633
- internalType: "address",
634
- name: "from",
635
- type: "address",
636
- },
637
- {
638
- indexed: true,
639
- internalType: "address",
640
- name: "to",
641
- type: "address",
642
- },
643
- {
644
- indexed: false,
645
- internalType: "uint256",
646
- name: "value",
647
- type: "uint256",
648
- },
258
+ { indexed: true, internalType: "address", name: "splitter", type: "address" },
259
+ { indexed: false, internalType: "bool", name: "isEnabled", type: "bool" },
260
+ ],
261
+ name: "SplitterConfigured",
262
+ type: "event",
263
+ },
264
+ {
265
+ anonymous: false,
266
+ inputs: [
267
+ { indexed: true, internalType: "address", name: "from", type: "address" },
268
+ { indexed: true, internalType: "address", name: "to", type: "address" },
269
+ { indexed: false, internalType: "uint256", name: "value", type: "uint256" },
649
270
  ],
650
271
  name: "Transfer",
651
272
  type: "event",
652
273
  },
653
274
  {
275
+ anonymous: false,
654
276
  inputs: [
655
- {
656
- internalType: "address",
657
- name: "owner",
658
- type: "address",
659
- },
660
- {
661
- internalType: "address",
662
- name: "spender",
663
- type: "address",
664
- },
277
+ { indexed: true, internalType: "bytes32", name: "poolId", type: "bytes32" },
278
+ { indexed: true, internalType: "address", name: "hook", type: "address" },
279
+ { indexed: false, internalType: "uint24", name: "fee", type: "uint24" },
280
+ { indexed: false, internalType: "int24", name: "tickSpacing", type: "int24" },
665
281
  ],
666
- name: "allowance",
667
- outputs: [
668
- {
669
- internalType: "uint256",
670
- name: "",
671
- type: "uint256",
672
- },
282
+ name: "V4PoolConfigured",
283
+ type: "event",
284
+ },
285
+ {
286
+ inputs: [
287
+ { internalType: "address", name: "owner", type: "address" },
288
+ { internalType: "address", name: "spender", type: "address" },
673
289
  ],
290
+ name: "allowance",
291
+ outputs: [{ internalType: "uint256", name: "", type: "uint256" }],
674
292
  stateMutability: "view",
675
293
  type: "function",
676
294
  },
677
295
  {
678
296
  inputs: [
679
- {
680
- internalType: "address",
681
- name: "spender",
682
- type: "address",
683
- },
684
- {
685
- internalType: "uint256",
686
- name: "value",
687
- type: "uint256",
688
- },
297
+ { internalType: "address", name: "spender", type: "address" },
298
+ { internalType: "uint256", name: "value", type: "uint256" },
689
299
  ],
690
300
  name: "approve",
691
- outputs: [
692
- {
693
- internalType: "bool",
694
- name: "",
695
- type: "bool",
696
- },
697
- ],
301
+ outputs: [{ internalType: "bool", name: "", type: "bool" }],
698
302
  stateMutability: "nonpayable",
699
303
  type: "function",
700
304
  },
701
305
  {
702
- inputs: [
703
- {
704
- internalType: "address",
705
- name: "account",
706
- type: "address",
707
- },
708
- ],
306
+ inputs: [{ internalType: "address", name: "account", type: "address" }],
709
307
  name: "balanceOf",
710
- outputs: [
711
- {
712
- internalType: "uint256",
713
- name: "",
714
- type: "uint256",
715
- },
716
- ],
308
+ outputs: [{ internalType: "uint256", name: "", type: "uint256" }],
309
+ stateMutability: "view",
310
+ type: "function",
311
+ },
312
+ {
313
+ inputs: [],
314
+ name: "bondingPhaseSplitter",
315
+ outputs: [{ internalType: "address", name: "", type: "address" }],
717
316
  stateMutability: "view",
718
317
  type: "function",
719
318
  },
720
319
  {
721
320
  inputs: [
722
- {
723
- internalType: "uint256",
724
- name: "_minTokensOut",
725
- type: "uint256",
726
- },
321
+ { internalType: "uint256", name: "_amount", type: "uint256" },
322
+ { internalType: "uint256", name: "_minTokensOut", type: "uint256" },
727
323
  ],
728
324
  name: "buy",
729
325
  outputs: [],
@@ -732,16 +328,9 @@ export const BondkitTokenABI = [
732
328
  },
733
329
  {
734
330
  inputs: [
735
- {
736
- internalType: "address",
737
- name: "_recipient",
738
- type: "address",
739
- },
740
- {
741
- internalType: "uint256",
742
- name: "_minTokensOut",
743
- type: "uint256",
744
- },
331
+ { internalType: "address", name: "_recipient", type: "address" },
332
+ { internalType: "uint256", name: "_amount", type: "uint256" },
333
+ { internalType: "uint256", name: "_minTokensOut", type: "uint256" },
745
334
  ],
746
335
  name: "buyFor",
747
336
  outputs: [],
@@ -750,104 +339,61 @@ export const BondkitTokenABI = [
750
339
  },
751
340
  {
752
341
  inputs: [],
753
- name: "circulatingSupply",
342
+ name: "checkV4PoolState",
754
343
  outputs: [
755
- {
756
- internalType: "uint256",
757
- name: "",
758
- type: "uint256",
759
- },
344
+ { internalType: "bool", name: "initialized", type: "bool" },
345
+ { internalType: "bytes32", name: "poolId", type: "bytes32" },
346
+ { internalType: "address", name: "hookAddress", type: "address" },
760
347
  ],
761
348
  stateMutability: "view",
762
349
  type: "function",
763
350
  },
351
+ {
352
+ inputs: [],
353
+ name: "circulatingSupply",
354
+ outputs: [{ internalType: "uint256", name: "", type: "uint256" }],
355
+ stateMutability: "view",
356
+ type: "function",
357
+ },
764
358
  {
765
359
  inputs: [],
766
360
  name: "currentStatus",
767
- outputs: [
768
- {
769
- internalType: "enum Status",
770
- name: "",
771
- type: "uint8",
772
- },
773
- ],
361
+ outputs: [{ internalType: "enum Status", name: "", type: "uint8" }],
774
362
  stateMutability: "view",
775
363
  type: "function",
776
364
  },
777
365
  {
778
366
  inputs: [],
779
367
  name: "decimals",
780
- outputs: [
781
- {
782
- internalType: "uint8",
783
- name: "",
784
- type: "uint8",
785
- },
786
- ],
368
+ outputs: [{ internalType: "uint8", name: "", type: "uint8" }],
787
369
  stateMutability: "view",
788
370
  type: "function",
789
371
  },
790
372
  {
791
373
  inputs: [],
792
374
  name: "feeRecipient",
793
- outputs: [
794
- {
795
- internalType: "address",
796
- name: "",
797
- type: "address",
798
- },
799
- ],
375
+ outputs: [{ internalType: "address", name: "", type: "address" }],
800
376
  stateMutability: "view",
801
377
  type: "function",
802
378
  },
803
379
  {
804
380
  inputs: [],
805
381
  name: "finalTokenSupply",
806
- outputs: [
807
- {
808
- internalType: "uint256",
809
- name: "",
810
- type: "uint256",
811
- },
812
- ],
382
+ outputs: [{ internalType: "uint256", name: "", type: "uint256" }],
813
383
  stateMutability: "view",
814
384
  type: "function",
815
385
  },
816
386
  {
817
- inputs: [
818
- {
819
- internalType: "uint256",
820
- name: "_tokenAmount",
821
- type: "uint256",
822
- },
823
- ],
824
- name: "getAmountOfEthToSell",
825
- outputs: [
826
- {
827
- internalType: "uint256",
828
- name: "ethToUser",
829
- type: "uint256",
830
- },
831
- ],
387
+ inputs: [{ internalType: "uint256", name: "_tradingTokenAmount", type: "uint256" }],
388
+ name: "getAmountOfTokensToBuy",
389
+ outputs: [{ internalType: "uint256", name: "tokensToMint", type: "uint256" }],
832
390
  stateMutability: "view",
833
391
  type: "function",
834
392
  },
835
393
  {
836
- inputs: [
837
- {
838
- internalType: "uint256",
839
- name: "_ethAmount",
840
- type: "uint256",
841
- },
842
- ],
843
- name: "getAmountOfTokensToBuy",
844
- outputs: [
845
- {
846
- internalType: "uint256",
847
- name: "tokensToMint",
848
- type: "uint256",
849
- },
850
- ],
394
+ inputs: [{ internalType: "uint256", name: "_tokenAmount", type: "uint256" }],
395
+ name: "getAmountOfTradingTokensToSell",
396
+ outputs: [{ internalType: "uint256", name: "tradingTokenToUser", type: "uint256" }],
851
397
  stateMutability: "view",
852
398
  type: "function",
853
399
  },
@@ -855,16 +401,8 @@ export const BondkitTokenABI = [
855
401
  inputs: [],
856
402
  name: "getBondingCurveConfig",
857
403
  outputs: [
858
- {
859
- internalType: "uint256",
860
- name: "num",
861
- type: "uint256",
862
- },
863
- {
864
- internalType: "uint256",
865
- name: "den",
866
- type: "uint256",
867
- },
404
+ { internalType: "uint256", name: "num", type: "uint256" },
405
+ { internalType: "uint256", name: "den", type: "uint256" },
868
406
  ],
869
407
  stateMutability: "view",
870
408
  type: "function",
@@ -873,21 +411,9 @@ export const BondkitTokenABI = [
873
411
  inputs: [],
874
412
  name: "getBondingProgressPercent",
875
413
  outputs: [
876
- {
877
- internalType: "uint256",
878
- name: "progressBps",
879
- type: "uint256",
880
- },
881
- {
882
- internalType: "uint256",
883
- name: "raised",
884
- type: "uint256",
885
- },
886
- {
887
- internalType: "uint256",
888
- name: "threshold",
889
- type: "uint256",
890
- },
414
+ { internalType: "uint256", name: "progressBps", type: "uint256" },
415
+ { internalType: "uint256", name: "raised", type: "uint256" },
416
+ { internalType: "uint256", name: "threshold", type: "uint256" },
891
417
  ],
892
418
  stateMutability: "view",
893
419
  type: "function",
@@ -895,201 +421,130 @@ export const BondkitTokenABI = [
895
421
  {
896
422
  inputs: [],
897
423
  name: "getCurrentBondingCurvePricePerToken",
898
- outputs: [
899
- {
900
- internalType: "uint256",
901
- name: "currentPriceWei",
902
- type: "uint256",
903
- },
904
- ],
424
+ outputs: [{ internalType: "uint256", name: "currentPriceWei", type: "uint256" }],
905
425
  stateMutability: "view",
906
426
  type: "function",
907
427
  },
908
428
  {
909
429
  inputs: [],
910
430
  name: "getCurrentPhase",
911
- outputs: [
912
- {
913
- internalType: "string",
914
- name: "phase",
915
- type: "string",
916
- },
917
- ],
431
+ outputs: [{ internalType: "string", name: "phase", type: "string" }],
918
432
  stateMutability: "view",
919
433
  type: "function",
920
434
  },
921
435
  {
922
436
  inputs: [],
923
437
  name: "getCurrentStatusEnum",
924
- outputs: [
925
- {
926
- internalType: "enum Status",
927
- name: "",
928
- type: "uint8",
929
- },
930
- ],
438
+ outputs: [{ internalType: "enum Status", name: "", type: "uint8" }],
931
439
  stateMutability: "view",
932
440
  type: "function",
933
441
  },
934
442
  {
935
443
  inputs: [],
936
444
  name: "getFeeRecipient",
937
- outputs: [
938
- {
939
- internalType: "address",
940
- name: "",
941
- type: "address",
942
- },
943
- ],
445
+ outputs: [{ internalType: "address", name: "", type: "address" }],
944
446
  stateMutability: "view",
945
447
  type: "function",
946
448
  },
947
449
  {
948
450
  inputs: [],
949
451
  name: "getLPSplitRatioFeeRecipientBps",
950
- outputs: [
951
- {
952
- internalType: "uint256",
953
- name: "",
954
- type: "uint256",
955
- },
956
- ],
452
+ outputs: [{ internalType: "uint256", name: "", type: "uint256" }],
957
453
  stateMutability: "view",
958
454
  type: "function",
959
455
  },
960
456
  {
961
457
  inputs: [
962
- {
963
- internalType: "uint256",
964
- name: "_startIndex",
965
- type: "uint256",
966
- },
967
- {
968
- internalType: "uint256",
969
- name: "_count",
970
- type: "uint256",
971
- },
458
+ { internalType: "uint256", name: "_startIndex", type: "uint256" },
459
+ { internalType: "uint256", name: "_count", type: "uint256" },
972
460
  ],
973
461
  name: "getPaginatedHolders",
974
462
  outputs: [
975
- {
976
- internalType: "address[]",
977
- name: "holders",
978
- type: "address[]",
979
- },
980
- {
981
- internalType: "uint256[]",
982
- name: "balances",
983
- type: "uint256[]",
984
- },
463
+ { internalType: "address[]", name: "holders", type: "address[]" },
464
+ { internalType: "uint256[]", name: "balances", type: "uint256[]" },
985
465
  ],
986
466
  stateMutability: "view",
987
467
  type: "function",
988
468
  },
989
469
  {
990
470
  inputs: [],
991
- name: "getTargetEth",
471
+ name: "getSplitterInfo",
992
472
  outputs: [
993
- {
994
- internalType: "uint256",
995
- name: "",
996
- type: "uint256",
997
- },
473
+ { internalType: "address", name: "splitter", type: "address" },
474
+ { internalType: "bool", name: "isEnabled", type: "bool" },
998
475
  ],
999
476
  stateMutability: "view",
1000
477
  type: "function",
1001
478
  },
1002
479
  {
1003
480
  inputs: [],
1004
- name: "getUniswapV2Router",
481
+ name: "getTargetAmount",
482
+ outputs: [{ internalType: "uint256", name: "", type: "uint256" }],
483
+ stateMutability: "view",
484
+ type: "function",
485
+ },
486
+ {
487
+ inputs: [],
488
+ name: "getTradingToken",
489
+ outputs: [{ internalType: "address", name: "", type: "address" }],
490
+ stateMutability: "view",
491
+ type: "function",
492
+ },
493
+ {
494
+ inputs: [{ internalType: "address", name: "user", type: "address" }],
495
+ name: "getUserQuote",
1005
496
  outputs: [
1006
- {
1007
- internalType: "address",
1008
- name: "",
1009
- type: "address",
1010
- },
497
+ { internalType: "uint256", name: "balance", type: "uint256" },
498
+ { internalType: "uint256", name: "tokensFor1TradingToken", type: "uint256" },
499
+ { internalType: "uint256", name: "tradingTokenFor1Token", type: "uint256" },
1011
500
  ],
1012
501
  stateMutability: "view",
1013
502
  type: "function",
1014
503
  },
1015
504
  {
1016
- inputs: [
1017
- {
1018
- internalType: "address",
1019
- name: "user",
1020
- type: "address",
1021
- },
1022
- ],
1023
- name: "getUserQuote",
505
+ inputs: [],
506
+ name: "getV4Config",
1024
507
  outputs: [
1025
- {
1026
- internalType: "uint256",
1027
- name: "balance",
1028
- type: "uint256",
1029
- },
1030
- {
1031
- internalType: "uint256",
1032
- name: "tokensFor1Eth",
1033
- type: "uint256",
1034
- },
1035
- {
1036
- internalType: "uint256",
1037
- name: "ethFor1Token",
1038
- type: "uint256",
1039
- },
508
+ { internalType: "address", name: "hook", type: "address" },
509
+ { internalType: "uint24", name: "fee", type: "uint24" },
510
+ { internalType: "int24", name: "tickSpacing", type: "int24" },
511
+ { internalType: "bytes32", name: "poolId", type: "bytes32" },
1040
512
  ],
1041
513
  stateMutability: "view",
1042
514
  type: "function",
1043
515
  },
516
+ {
517
+ inputs: [],
518
+ name: "getV4PoolId",
519
+ outputs: [{ internalType: "bytes32", name: "", type: "bytes32" }],
520
+ stateMutability: "view",
521
+ type: "function",
522
+ },
523
+ {
524
+ inputs: [],
525
+ name: "getV4PoolManager",
526
+ outputs: [{ internalType: "address", name: "", type: "address" }],
527
+ stateMutability: "view",
528
+ type: "function",
529
+ },
1044
530
  {
1045
531
  inputs: [
1046
532
  {
1047
533
  components: [
1048
- {
1049
- internalType: "string",
1050
- name: "name",
1051
- type: "string",
1052
- },
1053
- {
1054
- internalType: "string",
1055
- name: "symbol",
1056
- type: "string",
1057
- },
1058
- {
1059
- internalType: "address",
1060
- name: "feeRecipient",
1061
- type: "address",
1062
- },
1063
- {
1064
- internalType: "uint256",
1065
- name: "finalTokenSupply",
1066
- type: "uint256",
1067
- },
1068
- {
1069
- internalType: "uint8",
1070
- name: "aggressivenessFactor",
1071
- type: "uint8",
1072
- },
1073
- {
1074
- internalType: "uint256",
1075
- name: "lpSplitRatioFeeRecipientBps",
1076
- type: "uint256",
1077
- },
1078
- {
1079
- internalType: "uint256",
1080
- name: "targetEth",
1081
- type: "uint256",
1082
- },
1083
- {
1084
- internalType: "address",
1085
- name: "uniswapV2RouterAddress",
1086
- type: "address",
1087
- },
1088
- {
1089
- internalType: "address",
1090
- name: "migrationAdminAddress",
1091
- type: "address",
1092
- },
534
+ { internalType: "string", name: "name", type: "string" },
535
+ { internalType: "string", name: "symbol", type: "string" },
536
+ { internalType: "address", name: "feeRecipient", type: "address" },
537
+ { internalType: "uint256", name: "finalTokenSupply", type: "uint256" },
538
+ { internalType: "uint8", name: "aggressivenessFactor", type: "uint8" },
539
+ { internalType: "uint256", name: "lpSplitRatioFeeRecipientBps", type: "uint256" },
540
+ { internalType: "uint256", name: "targetAmount", type: "uint256" },
541
+ { internalType: "address", name: "tradingToken", type: "address" },
542
+ { internalType: "address", name: "migrationAdminAddress", type: "address" },
543
+ { internalType: "address", name: "bondingPhaseSplitter", type: "address" },
544
+ { internalType: "address", name: "v4PoolManager", type: "address" },
545
+ { internalType: "address", name: "v4Hook", type: "address" },
546
+ { internalType: "uint24", name: "v4PoolFee", type: "uint24" },
547
+ { internalType: "int24", name: "v4TickSpacing", type: "int24" },
1093
548
  ],
1094
549
  internalType: "struct BondkitTokenConfigLib.Config",
1095
550
  name: "_config",
@@ -1097,94 +552,44 @@ export const BondkitTokenABI = [
1097
552
  },
1098
553
  ],
1099
554
  name: "initialize",
1100
- outputs: [
1101
- {
1102
- internalType: "bool",
1103
- name: "success",
1104
- type: "bool",
1105
- },
1106
- ],
555
+ outputs: [{ internalType: "bool", name: "success", type: "bool" }],
1107
556
  stateMutability: "nonpayable",
1108
557
  type: "function",
1109
558
  },
1110
559
  {
1111
560
  inputs: [],
1112
561
  name: "lpSplitRatioFeeRecipientBps",
1113
- outputs: [
1114
- {
1115
- internalType: "uint256",
1116
- name: "",
1117
- type: "uint256",
1118
- },
1119
- ],
562
+ outputs: [{ internalType: "uint256", name: "", type: "uint256" }],
1120
563
  stateMutability: "view",
1121
564
  type: "function",
1122
565
  },
1123
- {
1124
- inputs: [],
1125
- name: "migrateToDex",
1126
- outputs: [],
1127
- stateMutability: "nonpayable",
1128
- type: "function",
1129
- },
566
+ { inputs: [], name: "migrateToDex", outputs: [], stateMutability: "nonpayable", type: "function" },
1130
567
  {
1131
568
  inputs: [],
1132
569
  name: "name",
1133
- outputs: [
1134
- {
1135
- internalType: "string",
1136
- name: "",
1137
- type: "string",
1138
- },
1139
- ],
570
+ outputs: [{ internalType: "string", name: "", type: "string" }],
1140
571
  stateMutability: "view",
1141
572
  type: "function",
1142
573
  },
1143
574
  {
1144
575
  inputs: [],
1145
576
  name: "owner",
1146
- outputs: [
1147
- {
1148
- internalType: "address",
1149
- name: "",
1150
- type: "address",
1151
- },
1152
- ],
577
+ outputs: [{ internalType: "address", name: "", type: "address" }],
1153
578
  stateMutability: "view",
1154
579
  type: "function",
1155
580
  },
1156
- {
1157
- inputs: [],
1158
- name: "renounceOwnership",
1159
- outputs: [],
1160
- stateMutability: "nonpayable",
1161
- type: "function",
1162
- },
581
+ { inputs: [], name: "renounceOwnership", outputs: [], stateMutability: "nonpayable", type: "function" },
1163
582
  {
1164
583
  inputs: [],
1165
584
  name: "scaledCurveExponent",
1166
- outputs: [
1167
- {
1168
- internalType: "UD60x18",
1169
- name: "",
1170
- type: "uint256",
1171
- },
1172
- ],
585
+ outputs: [{ internalType: "UD60x18", name: "", type: "uint256" }],
1173
586
  stateMutability: "view",
1174
587
  type: "function",
1175
588
  },
1176
589
  {
1177
590
  inputs: [
1178
- {
1179
- internalType: "uint256",
1180
- name: "_tokenAmount",
1181
- type: "uint256",
1182
- },
1183
- {
1184
- internalType: "uint256",
1185
- name: "_minEthOut",
1186
- type: "uint256",
1187
- },
591
+ { internalType: "uint256", name: "_tokenAmount", type: "uint256" },
592
+ { internalType: "uint256", name: "_minTradingTokenOut", type: "uint256" },
1188
593
  ],
1189
594
  name: "sell",
1190
595
  outputs: [],
@@ -1194,136 +599,107 @@ export const BondkitTokenABI = [
1194
599
  {
1195
600
  inputs: [],
1196
601
  name: "symbol",
1197
- outputs: [
1198
- {
1199
- internalType: "string",
1200
- name: "",
1201
- type: "string",
1202
- },
1203
- ],
602
+ outputs: [{ internalType: "string", name: "", type: "string" }],
1204
603
  stateMutability: "view",
1205
604
  type: "function",
1206
605
  },
1207
606
  {
1208
607
  inputs: [],
1209
- name: "targetEth",
1210
- outputs: [
1211
- {
1212
- internalType: "uint256",
1213
- name: "",
1214
- type: "uint256",
1215
- },
1216
- ],
608
+ name: "targetAmount",
609
+ outputs: [{ internalType: "uint256", name: "", type: "uint256" }],
1217
610
  stateMutability: "view",
1218
611
  type: "function",
1219
612
  },
1220
613
  {
1221
614
  inputs: [],
1222
- name: "totalEthRaisedBonding",
1223
- outputs: [
1224
- {
1225
- internalType: "uint256",
1226
- name: "",
1227
- type: "uint256",
1228
- },
1229
- ],
615
+ name: "totalRaisedBonding",
616
+ outputs: [{ internalType: "uint256", name: "", type: "uint256" }],
1230
617
  stateMutability: "view",
1231
618
  type: "function",
1232
619
  },
1233
620
  {
1234
621
  inputs: [],
1235
622
  name: "totalSupply",
1236
- outputs: [
1237
- {
1238
- internalType: "uint256",
1239
- name: "",
1240
- type: "uint256",
1241
- },
1242
- ],
623
+ outputs: [{ internalType: "uint256", name: "", type: "uint256" }],
624
+ stateMutability: "view",
625
+ type: "function",
626
+ },
627
+ {
628
+ inputs: [],
629
+ name: "tradingToken",
630
+ outputs: [{ internalType: "address", name: "", type: "address" }],
1243
631
  stateMutability: "view",
1244
632
  type: "function",
1245
633
  },
1246
634
  {
1247
635
  inputs: [
1248
- {
1249
- internalType: "address",
1250
- name: "to",
1251
- type: "address",
1252
- },
1253
- {
1254
- internalType: "uint256",
1255
- name: "value",
1256
- type: "uint256",
1257
- },
636
+ { internalType: "address", name: "to", type: "address" },
637
+ { internalType: "uint256", name: "value", type: "uint256" },
1258
638
  ],
1259
639
  name: "transfer",
1260
- outputs: [
1261
- {
1262
- internalType: "bool",
1263
- name: "",
1264
- type: "bool",
1265
- },
1266
- ],
640
+ outputs: [{ internalType: "bool", name: "", type: "bool" }],
1267
641
  stateMutability: "nonpayable",
1268
642
  type: "function",
1269
643
  },
1270
644
  {
1271
645
  inputs: [
1272
- {
1273
- internalType: "address",
1274
- name: "from",
1275
- type: "address",
1276
- },
1277
- {
1278
- internalType: "address",
1279
- name: "to",
1280
- type: "address",
1281
- },
1282
- {
1283
- internalType: "uint256",
1284
- name: "value",
1285
- type: "uint256",
1286
- },
646
+ { internalType: "address", name: "from", type: "address" },
647
+ { internalType: "address", name: "to", type: "address" },
648
+ { internalType: "uint256", name: "value", type: "uint256" },
1287
649
  ],
1288
650
  name: "transferFrom",
1289
- outputs: [
1290
- {
1291
- internalType: "bool",
1292
- name: "",
1293
- type: "bool",
1294
- },
1295
- ],
651
+ outputs: [{ internalType: "bool", name: "", type: "bool" }],
1296
652
  stateMutability: "nonpayable",
1297
653
  type: "function",
1298
654
  },
1299
655
  {
1300
- inputs: [
1301
- {
1302
- internalType: "address",
1303
- name: "newOwner",
1304
- type: "address",
1305
- },
1306
- ],
656
+ inputs: [{ internalType: "address", name: "newOwner", type: "address" }],
1307
657
  name: "transferOwnership",
1308
658
  outputs: [],
1309
659
  stateMutability: "nonpayable",
1310
660
  type: "function",
1311
661
  },
662
+ {
663
+ inputs: [{ internalType: "address", name: "_bondingPhaseSplitter", type: "address" }],
664
+ name: "updateSplitter",
665
+ outputs: [],
666
+ stateMutability: "nonpayable",
667
+ type: "function",
668
+ },
1312
669
  {
1313
670
  inputs: [],
1314
- name: "uniswapV2Router",
1315
- outputs: [
1316
- {
1317
- internalType: "contract IUniswapV2Router02",
1318
- name: "",
1319
- type: "address",
1320
- },
1321
- ],
671
+ name: "v4Hook",
672
+ outputs: [{ internalType: "address", name: "", type: "address" }],
1322
673
  stateMutability: "view",
1323
674
  type: "function",
1324
675
  },
1325
676
  {
1326
- stateMutability: "payable",
1327
- type: "receive",
677
+ inputs: [],
678
+ name: "v4PoolFee",
679
+ outputs: [{ internalType: "uint24", name: "", type: "uint24" }],
680
+ stateMutability: "view",
681
+ type: "function",
682
+ },
683
+ {
684
+ inputs: [],
685
+ name: "v4PoolId",
686
+ outputs: [{ internalType: "bytes32", name: "", type: "bytes32" }],
687
+ stateMutability: "view",
688
+ type: "function",
689
+ },
690
+ {
691
+ inputs: [],
692
+ name: "v4PoolManager",
693
+ outputs: [{ internalType: "contract IPoolManager", name: "", type: "address" }],
694
+ stateMutability: "view",
695
+ type: "function",
696
+ },
697
+ {
698
+ inputs: [],
699
+ name: "v4TickSpacing",
700
+ outputs: [{ internalType: "int24", name: "", type: "int24" }],
701
+ stateMutability: "view",
702
+ type: "function",
1328
703
  },
704
+ { stateMutability: "payable", type: "receive" },
1329
705
  ];