@b3dotfun/sdk 0.0.29 → 0.0.30-alpha.1

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 (126) hide show
  1. package/dist/cjs/anyspend/constants/index.d.ts +1 -0
  2. package/dist/cjs/anyspend/constants/index.js +2 -1
  3. package/dist/cjs/anyspend/react/components/AnySpend.js +2 -2
  4. package/dist/cjs/anyspend/react/components/AnySpendBondKit.d.ts +1 -1
  5. package/dist/cjs/anyspend/react/components/AnySpendBondKit.js +23 -24
  6. package/dist/cjs/anyspend/react/components/AnySpendBuySpin.js +2 -1
  7. package/dist/cjs/anyspend/react/components/AnySpendCustom.js +1 -1
  8. package/dist/cjs/anyspend/react/components/AnySpendStakeB3.js +2 -1
  9. package/dist/cjs/anyspend/react/components/AnyspendDepositHype.d.ts +4 -2
  10. package/dist/cjs/anyspend/react/components/AnyspendDepositHype.js +17 -10
  11. package/dist/cjs/anyspend/react/components/common/ConnectWalletPayment.js +9 -1
  12. package/dist/cjs/anyspend/react/components/common/CryptoPaymentMethod.js +124 -41
  13. package/dist/cjs/anyspend/react/components/common/OrderDetails.js +6 -3
  14. package/dist/cjs/anyspend/react/components/common/OrderDetailsCollapsible.js +6 -4
  15. package/dist/cjs/anyspend/react/components/common/OrderStatus.d.ts +2 -0
  16. package/dist/cjs/anyspend/react/components/common/OrderStatus.js +2 -2
  17. package/dist/cjs/anyspend/react/components/common/OrderTokenAmount.js +1 -1
  18. package/dist/cjs/anyspend/react/components/common/PanelOnramp.d.ts +2 -1
  19. package/dist/cjs/anyspend/react/components/common/PanelOnramp.js +2 -2
  20. package/dist/cjs/anyspend/react/components/common/PaySection.js +6 -4
  21. package/dist/cjs/anyspend/react/hooks/useAnyspendFlow.d.ts +2 -1
  22. package/dist/cjs/anyspend/react/hooks/useAnyspendFlow.js +34 -3
  23. package/dist/cjs/anyspend/react/hooks/useSigMint.d.ts +1 -1
  24. package/dist/cjs/bondkit/abis/BondkitTokenABI.d.ts +62 -17
  25. package/dist/cjs/bondkit/abis/BondkitTokenABI.js +41 -9
  26. package/dist/cjs/bondkit/abis/BondkitTokenFactoryABI.d.ts +0 -25
  27. package/dist/cjs/bondkit/abis/BondkitTokenFactoryABI.js +0 -9
  28. package/dist/cjs/bondkit/constants.js +1 -1
  29. package/dist/cjs/global-account/react/components/LinkAccount/LinkAccount.js +28 -15
  30. package/dist/cjs/global-account/react/components/ManageAccount/ManageAccount.js +1 -1
  31. package/dist/cjs/global-account/react/hooks/useB3BalanceFromAddresses.js +2 -1
  32. package/dist/cjs/global-account/react/hooks/useNativeBalance.js +2 -1
  33. package/dist/cjs/global-account/react/hooks/useUnifiedChainSwitchAndExecute.d.ts +1 -0
  34. package/dist/cjs/global-account/react/hooks/useUnifiedChainSwitchAndExecute.js +1 -0
  35. package/dist/cjs/global-account/react/stores/useModalStore.d.ts +4 -2
  36. package/dist/cjs/shared/constants/chains/b3Chain.d.ts +2 -2
  37. package/dist/cjs/shared/constants/chains/supported.d.ts +4 -4
  38. package/dist/cjs/shared/constants/index.d.ts +1 -0
  39. package/dist/cjs/shared/constants/index.js +2 -1
  40. package/dist/esm/anyspend/constants/index.d.ts +1 -0
  41. package/dist/esm/anyspend/constants/index.js +1 -0
  42. package/dist/esm/anyspend/react/components/AnySpend.js +2 -2
  43. package/dist/esm/anyspend/react/components/AnySpendBondKit.d.ts +1 -1
  44. package/dist/esm/anyspend/react/components/AnySpendBondKit.js +23 -24
  45. package/dist/esm/anyspend/react/components/AnySpendBuySpin.js +2 -1
  46. package/dist/esm/anyspend/react/components/AnySpendCustom.js +1 -1
  47. package/dist/esm/anyspend/react/components/AnySpendStakeB3.js +2 -1
  48. package/dist/esm/anyspend/react/components/AnyspendDepositHype.d.ts +4 -2
  49. package/dist/esm/anyspend/react/components/AnyspendDepositHype.js +19 -12
  50. package/dist/esm/anyspend/react/components/common/ConnectWalletPayment.js +6 -1
  51. package/dist/esm/anyspend/react/components/common/CryptoPaymentMethod.js +126 -43
  52. package/dist/esm/anyspend/react/components/common/OrderDetails.js +7 -4
  53. package/dist/esm/anyspend/react/components/common/OrderDetailsCollapsible.js +7 -5
  54. package/dist/esm/anyspend/react/components/common/OrderStatus.d.ts +2 -0
  55. package/dist/esm/anyspend/react/components/common/OrderStatus.js +2 -2
  56. package/dist/esm/anyspend/react/components/common/OrderTokenAmount.js +1 -1
  57. package/dist/esm/anyspend/react/components/common/PanelOnramp.d.ts +2 -1
  58. package/dist/esm/anyspend/react/components/common/PanelOnramp.js +2 -2
  59. package/dist/esm/anyspend/react/components/common/PaySection.js +7 -5
  60. package/dist/esm/anyspend/react/hooks/useAnyspendFlow.d.ts +2 -1
  61. package/dist/esm/anyspend/react/hooks/useAnyspendFlow.js +35 -4
  62. package/dist/esm/anyspend/react/hooks/useSigMint.d.ts +1 -1
  63. package/dist/esm/bondkit/abis/BondkitTokenABI.d.ts +62 -17
  64. package/dist/esm/bondkit/abis/BondkitTokenABI.js +41 -9
  65. package/dist/esm/bondkit/abis/BondkitTokenFactoryABI.d.ts +0 -25
  66. package/dist/esm/bondkit/abis/BondkitTokenFactoryABI.js +0 -9
  67. package/dist/esm/bondkit/constants.js +1 -1
  68. package/dist/esm/global-account/react/components/LinkAccount/LinkAccount.js +28 -15
  69. package/dist/esm/global-account/react/components/ManageAccount/ManageAccount.js +1 -1
  70. package/dist/esm/global-account/react/hooks/useB3BalanceFromAddresses.js +2 -1
  71. package/dist/esm/global-account/react/hooks/useNativeBalance.js +2 -1
  72. package/dist/esm/global-account/react/hooks/useUnifiedChainSwitchAndExecute.d.ts +1 -0
  73. package/dist/esm/global-account/react/hooks/useUnifiedChainSwitchAndExecute.js +1 -0
  74. package/dist/esm/global-account/react/stores/useModalStore.d.ts +4 -2
  75. package/dist/esm/shared/constants/chains/b3Chain.d.ts +2 -2
  76. package/dist/esm/shared/constants/chains/supported.d.ts +4 -4
  77. package/dist/esm/shared/constants/index.d.ts +1 -0
  78. package/dist/esm/shared/constants/index.js +1 -0
  79. package/dist/styles/index.css +1 -1
  80. package/dist/types/anyspend/constants/index.d.ts +1 -0
  81. package/dist/types/anyspend/react/components/AnySpendBondKit.d.ts +1 -1
  82. package/dist/types/anyspend/react/components/AnyspendDepositHype.d.ts +4 -2
  83. package/dist/types/anyspend/react/components/common/OrderStatus.d.ts +2 -0
  84. package/dist/types/anyspend/react/components/common/PanelOnramp.d.ts +2 -1
  85. package/dist/types/anyspend/react/hooks/useAnyspendFlow.d.ts +2 -1
  86. package/dist/types/anyspend/react/hooks/useSigMint.d.ts +1 -1
  87. package/dist/types/bondkit/abis/BondkitTokenABI.d.ts +62 -17
  88. package/dist/types/bondkit/abis/BondkitTokenFactoryABI.d.ts +0 -25
  89. package/dist/types/global-account/react/hooks/useUnifiedChainSwitchAndExecute.d.ts +1 -0
  90. package/dist/types/global-account/react/stores/useModalStore.d.ts +4 -2
  91. package/dist/types/shared/constants/chains/b3Chain.d.ts +2 -2
  92. package/dist/types/shared/constants/chains/supported.d.ts +4 -4
  93. package/dist/types/shared/constants/index.d.ts +1 -0
  94. package/package.json +1 -1
  95. package/src/anyspend/constants/index.ts +2 -0
  96. package/src/anyspend/react/components/AnySpend.tsx +2 -1
  97. package/src/anyspend/react/components/AnySpendBondKit.tsx +28 -28
  98. package/src/anyspend/react/components/AnySpendBuySpin.tsx +2 -1
  99. package/src/anyspend/react/components/AnySpendCustom.tsx +1 -1
  100. package/src/anyspend/react/components/AnySpendStakeB3.tsx +2 -1
  101. package/src/anyspend/react/components/AnyspendDepositHype.tsx +143 -130
  102. package/src/anyspend/react/components/common/ConnectWalletPayment.tsx +9 -0
  103. package/src/anyspend/react/components/common/CryptoPaymentMethod.tsx +243 -104
  104. package/src/anyspend/react/components/common/OrderDetails.tsx +7 -3
  105. package/src/anyspend/react/components/common/OrderDetailsCollapsible.tsx +10 -4
  106. package/src/anyspend/react/components/common/OrderStatus.tsx +9 -2
  107. package/src/anyspend/react/components/common/OrderTokenAmount.tsx +2 -2
  108. package/src/anyspend/react/components/common/PanelOnramp.tsx +3 -1
  109. package/src/anyspend/react/components/common/PaySection.tsx +10 -8
  110. package/src/anyspend/react/hooks/useAnyspendFlow.ts +41 -3
  111. package/src/bondkit/abis/BondkitTokenABI.ts +41 -9
  112. package/src/bondkit/abis/BondkitTokenFactoryABI.ts +0 -9
  113. package/src/bondkit/constants.ts +1 -1
  114. package/src/global-account/react/components/LinkAccount/LinkAccount.tsx +26 -10
  115. package/src/global-account/react/components/ManageAccount/ManageAccount.tsx +5 -1
  116. package/src/global-account/react/hooks/useB3BalanceFromAddresses.ts +2 -1
  117. package/src/global-account/react/hooks/useNativeBalance.tsx +2 -1
  118. package/src/global-account/react/hooks/useUnifiedChainSwitchAndExecute.ts +1 -0
  119. package/src/global-account/react/stores/useModalStore.ts +4 -2
  120. package/src/shared/constants/index.ts +2 -0
  121. package/dist/cjs/anyspend/abis/bondKit.d.ts +0 -35
  122. package/dist/cjs/anyspend/abis/bondKit.js +0 -29
  123. package/dist/esm/anyspend/abis/bondKit.d.ts +0 -35
  124. package/dist/esm/anyspend/abis/bondKit.js +0 -26
  125. package/dist/types/anyspend/abis/bondKit.d.ts +0 -35
  126. package/src/anyspend/abis/bondKit.ts +0 -26
@@ -286,14 +286,6 @@ export declare const BondkitTokenABI: readonly [{
286
286
  }];
287
287
  readonly name: "ValidationInvalidLPSplitRatio";
288
288
  readonly type: "error";
289
- }, {
290
- readonly inputs: readonly [{
291
- readonly internalType: "address";
292
- readonly name: "providedAddress";
293
- readonly type: "address";
294
- }];
295
- readonly name: "ValidationInvalidMigrationAdminAddress";
296
- readonly type: "error";
297
289
  }, {
298
290
  readonly inputs: readonly [{
299
291
  readonly internalType: "uint24";
@@ -330,6 +322,21 @@ export declare const BondkitTokenABI: readonly [{
330
322
  }];
331
323
  readonly name: "Approval";
332
324
  readonly type: "event";
325
+ }, {
326
+ readonly anonymous: false;
327
+ readonly inputs: readonly [{
328
+ readonly indexed: true;
329
+ readonly internalType: "address";
330
+ readonly name: "previousAdmin";
331
+ readonly type: "address";
332
+ }, {
333
+ readonly indexed: true;
334
+ readonly internalType: "address";
335
+ readonly name: "newAdmin";
336
+ readonly type: "address";
337
+ }];
338
+ readonly name: "B3AdminUpdated";
339
+ readonly type: "event";
333
340
  }, {
334
341
  readonly anonymous: false;
335
342
  readonly inputs: readonly [{
@@ -465,6 +472,21 @@ export declare const BondkitTokenABI: readonly [{
465
472
  }];
466
473
  readonly name: "BondkitTokenMigrated";
467
474
  readonly type: "event";
475
+ }, {
476
+ readonly anonymous: false;
477
+ readonly inputs: readonly [{
478
+ readonly indexed: false;
479
+ readonly internalType: "uint256";
480
+ readonly name: "totalRaisedBonding";
481
+ readonly type: "uint256";
482
+ }, {
483
+ readonly indexed: false;
484
+ readonly internalType: "uint256";
485
+ readonly name: "targetAmount";
486
+ readonly type: "uint256";
487
+ }];
488
+ readonly name: "DexTriggerThresholdMet";
489
+ readonly type: "event";
468
490
  }, {
469
491
  readonly anonymous: false;
470
492
  readonly inputs: readonly [{
@@ -591,6 +613,16 @@ export declare const BondkitTokenABI: readonly [{
591
613
  }];
592
614
  readonly stateMutability: "nonpayable";
593
615
  readonly type: "function";
616
+ }, {
617
+ readonly inputs: readonly [];
618
+ readonly name: "b3Admin";
619
+ readonly outputs: readonly [{
620
+ readonly internalType: "address";
621
+ readonly name: "";
622
+ readonly type: "address";
623
+ }];
624
+ readonly stateMutability: "view";
625
+ readonly type: "function";
594
626
  }, {
595
627
  readonly inputs: readonly [{
596
628
  readonly internalType: "address";
@@ -627,7 +659,7 @@ export declare const BondkitTokenABI: readonly [{
627
659
  }];
628
660
  readonly name: "buy";
629
661
  readonly outputs: readonly [];
630
- readonly stateMutability: "payable";
662
+ readonly stateMutability: "nonpayable";
631
663
  readonly type: "function";
632
664
  }, {
633
665
  readonly inputs: readonly [{
@@ -645,7 +677,7 @@ export declare const BondkitTokenABI: readonly [{
645
677
  }];
646
678
  readonly name: "buyFor";
647
679
  readonly outputs: readonly [];
648
- readonly stateMutability: "payable";
680
+ readonly stateMutability: "nonpayable";
649
681
  readonly type: "function";
650
682
  }, {
651
683
  readonly inputs: readonly [];
@@ -743,6 +775,16 @@ export declare const BondkitTokenABI: readonly [{
743
775
  }];
744
776
  readonly stateMutability: "view";
745
777
  readonly type: "function";
778
+ }, {
779
+ readonly inputs: readonly [];
780
+ readonly name: "getB3Admin";
781
+ readonly outputs: readonly [{
782
+ readonly internalType: "address";
783
+ readonly name: "";
784
+ readonly type: "address";
785
+ }];
786
+ readonly stateMutability: "view";
787
+ readonly type: "function";
746
788
  }, {
747
789
  readonly inputs: readonly [];
748
790
  readonly name: "getBondingCurveConfig";
@@ -979,10 +1021,6 @@ export declare const BondkitTokenABI: readonly [{
979
1021
  readonly internalType: "address";
980
1022
  readonly name: "tradingToken";
981
1023
  readonly type: "address";
982
- }, {
983
- readonly internalType: "address";
984
- readonly name: "migrationAdminAddress";
985
- readonly type: "address";
986
1024
  }, {
987
1025
  readonly internalType: "address";
988
1026
  readonly name: "bondingPhaseSplitter";
@@ -1182,6 +1220,16 @@ export declare const BondkitTokenABI: readonly [{
1182
1220
  readonly outputs: readonly [];
1183
1221
  readonly stateMutability: "nonpayable";
1184
1222
  readonly type: "function";
1223
+ }, {
1224
+ readonly inputs: readonly [{
1225
+ readonly internalType: "address";
1226
+ readonly name: "_newAdmin";
1227
+ readonly type: "address";
1228
+ }];
1229
+ readonly name: "updateB3Admin";
1230
+ readonly outputs: readonly [];
1231
+ readonly stateMutability: "nonpayable";
1232
+ readonly type: "function";
1185
1233
  }, {
1186
1234
  readonly inputs: readonly [{
1187
1235
  readonly internalType: "address";
@@ -1242,7 +1290,4 @@ export declare const BondkitTokenABI: readonly [{
1242
1290
  }];
1243
1291
  readonly stateMutability: "view";
1244
1292
  readonly type: "function";
1245
- }, {
1246
- readonly stateMutability: "payable";
1247
- readonly type: "receive";
1248
1293
  }];
@@ -161,11 +161,6 @@ exports.BondkitTokenABI = [
161
161
  name: "ValidationInvalidLPSplitRatio",
162
162
  type: "error",
163
163
  },
164
- {
165
- inputs: [{ internalType: "address", name: "providedAddress", type: "address" }],
166
- name: "ValidationInvalidMigrationAdminAddress",
167
- type: "error",
168
- },
169
164
  {
170
165
  inputs: [{ internalType: "uint24", name: "value", type: "uint24" }],
171
166
  name: "ValidationInvalidV4PoolFee",
@@ -186,6 +181,15 @@ exports.BondkitTokenABI = [
186
181
  name: "Approval",
187
182
  type: "event",
188
183
  },
184
+ {
185
+ anonymous: false,
186
+ inputs: [
187
+ { indexed: true, internalType: "address", name: "previousAdmin", type: "address" },
188
+ { indexed: true, internalType: "address", name: "newAdmin", type: "address" },
189
+ ],
190
+ name: "B3AdminUpdated",
191
+ type: "event",
192
+ },
189
193
  {
190
194
  anonymous: false,
191
195
  inputs: [
@@ -237,6 +241,15 @@ exports.BondkitTokenABI = [
237
241
  name: "BondkitTokenMigrated",
238
242
  type: "event",
239
243
  },
244
+ {
245
+ anonymous: false,
246
+ inputs: [
247
+ { indexed: false, internalType: "uint256", name: "totalRaisedBonding", type: "uint256" },
248
+ { indexed: false, internalType: "uint256", name: "targetAmount", type: "uint256" },
249
+ ],
250
+ name: "DexTriggerThresholdMet",
251
+ type: "event",
252
+ },
240
253
  {
241
254
  anonymous: false,
242
255
  inputs: [
@@ -305,6 +318,13 @@ exports.BondkitTokenABI = [
305
318
  stateMutability: "nonpayable",
306
319
  type: "function",
307
320
  },
321
+ {
322
+ inputs: [],
323
+ name: "b3Admin",
324
+ outputs: [{ internalType: "address", name: "", type: "address" }],
325
+ stateMutability: "view",
326
+ type: "function",
327
+ },
308
328
  {
309
329
  inputs: [{ internalType: "address", name: "account", type: "address" }],
310
330
  name: "balanceOf",
@@ -326,7 +346,7 @@ exports.BondkitTokenABI = [
326
346
  ],
327
347
  name: "buy",
328
348
  outputs: [],
329
- stateMutability: "payable",
349
+ stateMutability: "nonpayable",
330
350
  type: "function",
331
351
  },
332
352
  {
@@ -337,7 +357,7 @@ exports.BondkitTokenABI = [
337
357
  ],
338
358
  name: "buyFor",
339
359
  outputs: [],
340
- stateMutability: "payable",
360
+ stateMutability: "nonpayable",
341
361
  type: "function",
342
362
  },
343
363
  {
@@ -400,6 +420,13 @@ exports.BondkitTokenABI = [
400
420
  stateMutability: "view",
401
421
  type: "function",
402
422
  },
423
+ {
424
+ inputs: [],
425
+ name: "getB3Admin",
426
+ outputs: [{ internalType: "address", name: "", type: "address" }],
427
+ stateMutability: "view",
428
+ type: "function",
429
+ },
403
430
  {
404
431
  inputs: [],
405
432
  name: "getBondingCurveConfig",
@@ -542,7 +569,6 @@ exports.BondkitTokenABI = [
542
569
  { internalType: "uint256", name: "lpSplitRatioFeeRecipientBps", type: "uint256" },
543
570
  { internalType: "uint256", name: "targetAmount", type: "uint256" },
544
571
  { internalType: "address", name: "tradingToken", type: "address" },
545
- { internalType: "address", name: "migrationAdminAddress", type: "address" },
546
572
  { internalType: "address", name: "bondingPhaseSplitter", type: "address" },
547
573
  { internalType: "address", name: "v4PoolManager", type: "address" },
548
574
  { internalType: "address", name: "v4Hook", type: "address" },
@@ -662,6 +688,13 @@ exports.BondkitTokenABI = [
662
688
  stateMutability: "nonpayable",
663
689
  type: "function",
664
690
  },
691
+ {
692
+ inputs: [{ internalType: "address", name: "_newAdmin", type: "address" }],
693
+ name: "updateB3Admin",
694
+ outputs: [],
695
+ stateMutability: "nonpayable",
696
+ type: "function",
697
+ },
665
698
  {
666
699
  inputs: [{ internalType: "address", name: "_bondingPhaseSplitter", type: "address" }],
667
700
  name: "updateSplitter",
@@ -704,5 +737,4 @@ exports.BondkitTokenABI = [
704
737
  stateMutability: "view",
705
738
  type: "function",
706
739
  },
707
- { stateMutability: "payable", type: "receive" },
708
740
  ];
@@ -106,14 +106,6 @@ export declare const BondkitTokenFactoryABI: readonly [{
106
106
  }];
107
107
  readonly name: "ValidationInvalidLPSplitRatio";
108
108
  readonly type: "error";
109
- }, {
110
- readonly inputs: readonly [{
111
- readonly internalType: "address";
112
- readonly name: "providedAddress";
113
- readonly type: "address";
114
- }];
115
- readonly name: "ValidationInvalidMigrationAdminAddress";
116
- readonly type: "error";
117
109
  }, {
118
110
  readonly inputs: readonly [{
119
111
  readonly internalType: "uint24";
@@ -157,11 +149,6 @@ export declare const BondkitTokenFactoryABI: readonly [{
157
149
  readonly internalType: "address";
158
150
  readonly name: "feeRecipient";
159
151
  readonly type: "address";
160
- }, {
161
- readonly indexed: false;
162
- readonly internalType: "address";
163
- readonly name: "migrationAdmin";
164
- readonly type: "address";
165
152
  }];
166
153
  readonly name: "BondkitTokenCreated";
167
154
  readonly type: "event";
@@ -259,10 +246,6 @@ export declare const BondkitTokenFactoryABI: readonly [{
259
246
  readonly internalType: "address";
260
247
  readonly name: "tradingToken";
261
248
  readonly type: "address";
262
- }, {
263
- readonly internalType: "address";
264
- readonly name: "migrationAdminAddress";
265
- readonly type: "address";
266
249
  }, {
267
250
  readonly internalType: "address";
268
251
  readonly name: "bondingPhaseSplitter";
@@ -350,10 +333,6 @@ export declare const BondkitTokenFactoryABI: readonly [{
350
333
  readonly internalType: "address";
351
334
  readonly name: "tradingToken";
352
335
  readonly type: "address";
353
- }, {
354
- readonly internalType: "address";
355
- readonly name: "migrationAdminAddress";
356
- readonly type: "address";
357
336
  }, {
358
337
  readonly internalType: "address";
359
338
  readonly name: "bondingPhaseSplitter";
@@ -461,10 +440,6 @@ export declare const BondkitTokenFactoryABI: readonly [{
461
440
  readonly internalType: "address";
462
441
  readonly name: "tradingToken";
463
442
  readonly type: "address";
464
- }, {
465
- readonly internalType: "address";
466
- readonly name: "migrationAdminAddress";
467
- readonly type: "address";
468
443
  }, {
469
444
  readonly internalType: "address";
470
445
  readonly name: "bondingPhaseSplitter";
@@ -60,11 +60,6 @@ exports.BondkitTokenFactoryABI = [
60
60
  name: "ValidationInvalidLPSplitRatio",
61
61
  type: "error",
62
62
  },
63
- {
64
- inputs: [{ internalType: "address", name: "providedAddress", type: "address" }],
65
- name: "ValidationInvalidMigrationAdminAddress",
66
- type: "error",
67
- },
68
63
  {
69
64
  inputs: [{ internalType: "uint24", name: "value", type: "uint24" }],
70
65
  name: "ValidationInvalidV4PoolFee",
@@ -83,7 +78,6 @@ exports.BondkitTokenFactoryABI = [
83
78
  { indexed: false, internalType: "string", name: "name", type: "string" },
84
79
  { indexed: false, internalType: "string", name: "symbol", type: "string" },
85
80
  { indexed: true, internalType: "address", name: "feeRecipient", type: "address" },
86
- { indexed: false, internalType: "address", name: "migrationAdmin", type: "address" },
87
81
  ],
88
82
  name: "BondkitTokenCreated",
89
83
  type: "event",
@@ -135,7 +129,6 @@ exports.BondkitTokenFactoryABI = [
135
129
  { internalType: "uint256", name: "lpSplitRatioFeeRecipientBps", type: "uint256" },
136
130
  { internalType: "uint256", name: "targetAmount", type: "uint256" },
137
131
  { internalType: "address", name: "tradingToken", type: "address" },
138
- { internalType: "address", name: "migrationAdminAddress", type: "address" },
139
132
  { internalType: "address", name: "bondingPhaseSplitter", type: "address" },
140
133
  { internalType: "address", name: "v4PoolManager", type: "address" },
141
134
  { internalType: "address", name: "v4Hook", type: "address" },
@@ -178,7 +171,6 @@ exports.BondkitTokenFactoryABI = [
178
171
  { internalType: "uint256", name: "lpSplitRatioFeeRecipientBps", type: "uint256" },
179
172
  { internalType: "uint256", name: "targetAmount", type: "uint256" },
180
173
  { internalType: "address", name: "tradingToken", type: "address" },
181
- { internalType: "address", name: "migrationAdminAddress", type: "address" },
182
174
  { internalType: "address", name: "bondingPhaseSplitter", type: "address" },
183
175
  { internalType: "address", name: "v4PoolManager", type: "address" },
184
176
  { internalType: "address", name: "v4Hook", type: "address" },
@@ -230,7 +222,6 @@ exports.BondkitTokenFactoryABI = [
230
222
  { internalType: "uint256", name: "lpSplitRatioFeeRecipientBps", type: "uint256" },
231
223
  { internalType: "uint256", name: "targetAmount", type: "uint256" },
232
224
  { internalType: "address", name: "tradingToken", type: "address" },
233
- { internalType: "address", name: "migrationAdminAddress", type: "address" },
234
225
  { internalType: "address", name: "bondingPhaseSplitter", type: "address" },
235
226
  { internalType: "address", name: "v4PoolManager", type: "address" },
236
227
  { internalType: "address", name: "v4Hook", type: "address" },
@@ -1,5 +1,5 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.BaseMainnetRpcUrl = exports.BaseBondkitTokenFactoryContractAddress = void 0;
4
- exports.BaseBondkitTokenFactoryContractAddress = "0x0ccA36e9BE8Fdf456dE4BC20b378B1560Aeb6653";
4
+ exports.BaseBondkitTokenFactoryContractAddress = "0x5d641bbB206d4B5585eCCd919F36270200A9A2Ad";
5
5
  exports.BaseMainnetRpcUrl = "https://base-rpc.publicnode.com";
@@ -2,6 +2,7 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.LinkAccount = LinkAccount;
4
4
  const jsx_runtime_1 = require("react/jsx-runtime");
5
+ const constants_1 = require("../../../../shared/constants");
5
6
  const thirdweb_1 = require("../../../../shared/utils/thirdweb");
6
7
  const lucide_react_1 = require("lucide-react");
7
8
  const react_1 = require("react");
@@ -97,6 +98,10 @@ function LinkAccount({ onSuccess: onSuccessCallback, onError, onClose, chain, pa
97
98
  client: thirdweb_1.client,
98
99
  strategy: "email",
99
100
  email,
101
+ ecosystem: {
102
+ id: constants_1.ecosystemWalletId,
103
+ partnerId: partnerId,
104
+ },
100
105
  });
101
106
  }
102
107
  else if (selectedMethod === "phone") {
@@ -104,6 +109,10 @@ function LinkAccount({ onSuccess: onSuccessCallback, onError, onClose, chain, pa
104
109
  client: thirdweb_1.client,
105
110
  strategy: "phone",
106
111
  phoneNumber: phone,
112
+ ecosystem: {
113
+ id: constants_1.ecosystemWalletId,
114
+ partnerId: partnerId,
115
+ },
107
116
  });
108
117
  }
109
118
  setOtpSent(true);
@@ -117,10 +126,12 @@ function LinkAccount({ onSuccess: onSuccessCallback, onError, onClose, chain, pa
117
126
  };
118
127
  const handleLinkAccount = async () => {
119
128
  if (!otp) {
129
+ console.error("No OTP entered");
120
130
  setError("Please enter the verification code");
121
131
  return;
122
132
  }
123
133
  try {
134
+ setOtpSent(false);
124
135
  setLinkingState(true, selectedMethod);
125
136
  setError(null);
126
137
  if (selectedMethod === "email") {
@@ -139,17 +150,12 @@ function LinkAccount({ onSuccess: onSuccessCallback, onError, onClose, chain, pa
139
150
  verificationCode: otp,
140
151
  }, mutationOptions);
141
152
  }
142
- onSuccess?.();
143
- onClose?.();
144
153
  }
145
154
  catch (error) {
146
155
  console.error("Error linking account:", error);
147
156
  setError(error instanceof Error ? error.message : "Failed to link account");
148
157
  onError?.(error);
149
158
  }
150
- finally {
151
- setLinkingState(false);
152
- }
153
159
  };
154
160
  const handleSocialLink = async (strategy) => {
155
161
  try {
@@ -200,17 +206,24 @@ function LinkAccount({ onSuccess: onSuccessCallback, onError, onClose, chain, pa
200
206
  setError(null);
201
207
  setLinkingState(false);
202
208
  }, [isLinking, setSelectedMethod, setEmail, setPhone, setOtp, setOtpSent, setError, setLinkingState]);
209
+ const handleFinishedLinking = (0, react_1.useCallback)((success) => {
210
+ if (success) {
211
+ onSuccess?.();
212
+ onClose?.();
213
+ }
214
+ setLinkingState(false);
215
+ navigateBack();
216
+ setB3ModalContentType({
217
+ type: "manageAccount",
218
+ activeTab: "settings",
219
+ setActiveTab: () => { },
220
+ chain,
221
+ partnerId,
222
+ });
223
+ }, [chain, navigateBack, partnerId, setB3ModalContentType, setLinkingState, onSuccess, onClose]);
203
224
  (0, react_1.useEffect)(() => {
204
225
  if (isLinking) {
205
- setLinkingState(false);
206
- navigateBack();
207
- setB3ModalContentType({
208
- type: "manageAccount",
209
- activeTab: "settings",
210
- setActiveTab: () => { },
211
- chain,
212
- partnerId,
213
- });
226
+ handleFinishedLinking(true);
214
227
  }
215
228
  // eslint-disable-next-line react-hooks/exhaustive-deps
216
229
  }, [profiles.length]);
@@ -224,5 +237,5 @@ function LinkAccount({ onSuccess: onSuccessCallback, onError, onClose, chain, pa
224
237
  else {
225
238
  handleSocialLink(method.id);
226
239
  }
227
- }, disabled: linkingMethod === method.id, children: isLinking && linkingMethod === method.id ? (0, jsx_runtime_1.jsx)(lucide_react_1.Loader2, { className: "animate-spin" }) : method.label }, method.id))), availableAuthMethods.length === 0 && ((0, jsx_runtime_1.jsx)("div", { className: "text-b3-foreground-muted py-8 text-center", children: "All available authentication methods have been connected" }))] })) : ((0, jsx_runtime_1.jsxs)("div", { className: "space-y-4", children: [selectedMethod === "email" && ((0, jsx_runtime_1.jsxs)("div", { className: "space-y-2", children: [(0, jsx_runtime_1.jsx)("label", { className: "text-b3-grey font-neue-montreal-medium text-sm", children: "Email Address" }), (0, jsx_runtime_1.jsx)("input", { type: "email", placeholder: "Enter your email", className: "bg-b3-line text-b3-grey font-neue-montreal-medium focus:ring-b3-primary-blue/20 w-full rounded-xl p-4 focus:outline-none focus:ring-2", value: email, onChange: e => setEmail(e.target.value), disabled: otpSent || (isLinking && linkingMethod === "email") })] })), selectedMethod === "phone" && ((0, jsx_runtime_1.jsxs)("div", { className: "space-y-2", children: [(0, jsx_runtime_1.jsx)("label", { className: "text-b3-grey font-neue-montreal-medium text-sm", children: "Phone Number" }), (0, jsx_runtime_1.jsx)("input", { type: "tel", placeholder: "Enter your phone number", className: "bg-b3-line text-b3-grey font-neue-montreal-medium focus:ring-b3-primary-blue/20 w-full rounded-xl p-4 focus:outline-none focus:ring-2", value: phone, onChange: e => setPhone(e.target.value), disabled: otpSent || (isLinking && linkingMethod === "phone") }), (0, jsx_runtime_1.jsx)("p", { className: "text-b3-foreground-muted font-neue-montreal-medium text-sm", children: "Include country code (e.g., +1 for US)" })] })), error && (0, jsx_runtime_1.jsx)("div", { className: "text-b3-negative font-neue-montreal-medium py-2 text-sm", children: error }), otpSent ? ((0, jsx_runtime_1.jsxs)("div", { className: "space-y-4", children: [(0, jsx_runtime_1.jsxs)("div", { className: "space-y-2", children: [(0, jsx_runtime_1.jsx)("label", { className: "text-b3-grey font-neue-montreal-medium text-sm", children: "Verification Code" }), (0, jsx_runtime_1.jsx)("input", { type: "text", placeholder: "Enter verification code", className: "bg-b3-line text-b3-grey font-neue-montreal-medium focus:ring-b3-primary-blue/20 w-full rounded-xl p-4 focus:outline-none focus:ring-2", value: otp, onChange: e => setOtp(e.target.value), disabled: isLinking && linkingMethod === selectedMethod })] }), (0, jsx_runtime_1.jsx)(button_1.Button, { className: "bg-b3-primary-blue hover:bg-b3-primary-blue/90 font-neue-montreal-semibold h-12 w-full text-white", onClick: handleLinkAccount, disabled: !otp || (isLinking && linkingMethod === selectedMethod), children: isLinking && linkingMethod === selectedMethod ? (0, jsx_runtime_1.jsx)(lucide_react_1.Loader2, { className: "animate-spin" }) : "Link Account" })] })) : ((0, jsx_runtime_1.jsx)(button_1.Button, { className: "bg-b3-primary-blue hover:bg-b3-primary-blue/90 font-neue-montreal-semibold h-12 w-full text-white", onClick: handleSendOTP, disabled: (!email && !phone) || (isLinking && linkingMethod === selectedMethod), children: isLinking && linkingMethod === selectedMethod ? ((0, jsx_runtime_1.jsx)(lucide_react_1.Loader2, { className: "animate-spin" })) : ("Send Verification Code") }))] }))] }));
240
+ }, disabled: linkingMethod === method.id, children: isLinking && linkingMethod === method.id ? (0, jsx_runtime_1.jsx)(lucide_react_1.Loader2, { className: "animate-spin" }) : method.label }, method.id))), availableAuthMethods.length === 0 && ((0, jsx_runtime_1.jsx)("div", { className: "text-b3-foreground-muted py-8 text-center", children: "All available authentication methods have been connected" }))] })) : ((0, jsx_runtime_1.jsxs)("div", { className: "space-y-4", children: [selectedMethod === "email" && ((0, jsx_runtime_1.jsxs)("div", { className: "space-y-2", children: [(0, jsx_runtime_1.jsx)("label", { className: "text-b3-grey font-neue-montreal-medium text-sm", children: "Email Address" }), (0, jsx_runtime_1.jsx)("input", { type: "email", placeholder: "Enter your email", className: "bg-b3-line text-b3-grey font-neue-montreal-medium focus:ring-b3-primary-blue/20 w-full rounded-xl p-4 focus:outline-none focus:ring-2", value: email, onChange: e => setEmail(e.target.value), disabled: otpSent || (isLinking && linkingMethod === "email") })] })), selectedMethod === "phone" && ((0, jsx_runtime_1.jsxs)("div", { className: "space-y-2", children: [(0, jsx_runtime_1.jsx)("label", { className: "text-b3-grey font-neue-montreal-medium text-sm", children: "Phone Number" }), (0, jsx_runtime_1.jsx)("input", { type: "tel", placeholder: "Enter your phone number", className: "bg-b3-line text-b3-grey font-neue-montreal-medium focus:ring-b3-primary-blue/20 w-full rounded-xl p-4 focus:outline-none focus:ring-2", value: phone, onChange: e => setPhone(e.target.value), disabled: otpSent || (isLinking && linkingMethod === "phone") }), (0, jsx_runtime_1.jsx)("p", { className: "text-b3-foreground-muted font-neue-montreal-medium text-sm", children: "Include country code (e.g., +1 for US)" })] })), error && (0, jsx_runtime_1.jsx)("div", { className: "text-b3-negative font-neue-montreal-medium py-2 text-sm", children: error }), otpSent ? ((0, jsx_runtime_1.jsxs)("div", { className: "space-y-4", children: [(0, jsx_runtime_1.jsxs)("div", { className: "space-y-2", children: [(0, jsx_runtime_1.jsx)("label", { className: "text-b3-grey font-neue-montreal-medium text-sm", children: "Verification Code" }), (0, jsx_runtime_1.jsx)("input", { type: "text", placeholder: "Enter verification code", className: "bg-b3-line text-b3-grey font-neue-montreal-medium focus:ring-b3-primary-blue/20 w-full rounded-xl p-4 focus:outline-none focus:ring-2", value: otp, onChange: e => setOtp(e.target.value) })] }), (0, jsx_runtime_1.jsx)(button_1.Button, { className: "bg-b3-primary-blue hover:bg-b3-primary-blue/90 font-neue-montreal-semibold h-12 w-full text-white", onClick: handleLinkAccount, children: "Link Account" })] })) : ((0, jsx_runtime_1.jsx)(button_1.Button, { className: "bg-b3-primary-blue hover:bg-b3-primary-blue/90 font-neue-montreal-semibold h-12 w-full text-white", onClick: handleSendOTP, disabled: (!email && !phone) || (isLinking && linkingMethod === selectedMethod), children: isLinking && linkingMethod === selectedMethod ? ((0, jsx_runtime_1.jsx)(lucide_react_1.Loader2, { className: "animate-spin" })) : ("Send Verification Code") }))] }))] }));
228
241
  }
@@ -140,5 +140,5 @@ function ManageAccount({ onLogout, onSwap: _onSwap, onDeposit: _onDeposit, chain
140
140
  if (["balance", "assets", "apps", "settings"].includes(tab)) {
141
141
  setActiveTab?.(tab);
142
142
  }
143
- }, children: [(0, jsx_runtime_1.jsxs)(react_1.TabsListPrimitive, { className: "font-neue-montreal-semibold text-b3-grey flex h-8 w-full items-start justify-start gap-8 border-0 text-xl md:p-4", children: [(0, jsx_runtime_1.jsx)(react_1.TabTriggerPrimitive, { value: "balance", className: "data-[state=active]:text-b3-primary-blue data-[state=active]:border-b-b3-primary-blue flex-none rounded-none border-0 p-0 pb-1 text-xl leading-none tracking-wide transition-colors data-[state=active]:border-b data-[state=active]:bg-white md:pb-4", children: "Overview" }), (0, jsx_runtime_1.jsx)(react_1.TabTriggerPrimitive, { value: "assets", className: "data-[state=active]:text-b3-primary-blue data-[state=active]:border-b-b3-primary-blue flex-none rounded-none border-0 p-0 pb-1 text-xl leading-none tracking-wide transition-colors data-[state=active]:border-b data-[state=active]:bg-white md:pb-4", children: "Mints" }), (0, jsx_runtime_1.jsx)(react_1.TabTriggerPrimitive, { value: "apps", className: "data-[state=active]:text-b3-primary-blue data-[state=active]:border-b-b3-primary-blue flex-none rounded-none border-0 p-0 pb-1 text-xl leading-none tracking-wide transition-colors data-[state=active]:border-b data-[state=active]:bg-white md:pb-4", children: "Apps" }), (0, jsx_runtime_1.jsx)(react_1.TabTriggerPrimitive, { value: "settings", className: "data-[state=active]:text-b3-primary-blue data-[state=active]:border-b-b3-primary-blue flex-none rounded-none border-0 p-0 pb-1 text-xl leading-none tracking-wide transition-colors data-[state=active]:border-b data-[state=active]:bg-white md:pb-4", children: "Settings" })] }), (0, jsx_runtime_1.jsx)(react_1.TabsContentPrimitive, { value: "balance", className: "pt-4 md:p-4", children: (0, jsx_runtime_1.jsx)(BalanceContent, {}) }), (0, jsx_runtime_1.jsx)(react_1.TabsContentPrimitive, { value: "assets", className: "pt-4 md:p-4", children: (0, jsx_runtime_1.jsx)(AssetsContent, {}) }), (0, jsx_runtime_1.jsx)(react_1.TabsContentPrimitive, { value: "apps", className: "pt-4 md:p-4", children: (0, jsx_runtime_1.jsx)(AppsContent, {}) }), (0, jsx_runtime_1.jsx)(react_1.TabsContentPrimitive, { value: "settings", className: "pt-4 md:p-4", children: (0, jsx_runtime_1.jsx)(SettingsContent, {}) })] }) }) }));
143
+ }, children: [(0, jsx_runtime_1.jsxs)(react_1.TabsListPrimitive, { className: "font-neue-montreal-semibold text-b3-grey flex h-8 w-full items-start justify-start gap-8 border-0 text-xl md:p-4", children: [(0, jsx_runtime_1.jsx)(react_1.TabTriggerPrimitive, { value: "balance", className: "data-[state=active]:text-b3-primary-blue data-[state=active]:border-b-b3-primary-blue flex-none rounded-none border-0 p-0 pb-1 text-xl leading-none tracking-wide transition-colors data-[state=active]:border-b data-[state=active]:bg-white md:pb-4", children: "Overview" }), (0, jsx_runtime_1.jsx)(react_1.TabTriggerPrimitive, { value: "assets", className: "data-[state=active]:text-b3-primary-blue data-[state=active]:border-b-b3-primary-blue flex-none rounded-none border-0 p-0 pb-1 text-xl leading-none tracking-wide transition-colors data-[state=active]:border-b data-[state=active]:bg-white md:pb-4", children: "Mints" }), (0, jsx_runtime_1.jsx)(react_1.TabTriggerPrimitive, { value: "settings", className: "data-[state=active]:text-b3-primary-blue data-[state=active]:border-b-b3-primary-blue flex-none rounded-none border-0 p-0 pb-1 text-xl leading-none tracking-wide transition-colors data-[state=active]:border-b data-[state=active]:bg-white md:pb-4", children: "Settings" })] }), (0, jsx_runtime_1.jsx)(react_1.TabsContentPrimitive, { value: "balance", className: "pt-4 md:p-4", children: (0, jsx_runtime_1.jsx)(BalanceContent, {}) }), (0, jsx_runtime_1.jsx)(react_1.TabsContentPrimitive, { value: "assets", className: "pt-4 md:p-4", children: (0, jsx_runtime_1.jsx)(AssetsContent, {}) }), (0, jsx_runtime_1.jsx)(react_1.TabsContentPrimitive, { value: "apps", className: "pt-4 md:p-4", children: (0, jsx_runtime_1.jsx)(AppsContent, {}) }), (0, jsx_runtime_1.jsx)(react_1.TabsContentPrimitive, { value: "settings", className: "pt-4 md:p-4", children: (0, jsx_runtime_1.jsx)(SettingsContent, {}) })] }) }) }));
144
144
  }
@@ -2,6 +2,7 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.useB3BalanceFromAddresses = useB3BalanceFromAddresses;
4
4
  const anyspend_1 = require("../../../anyspend");
5
+ const constants_1 = require("../../../shared/constants");
5
6
  const formatNumber_1 = require("../../../shared/utils/formatNumber");
6
7
  const react_query_1 = require("@tanstack/react-query");
7
8
  const viem_1 = require("viem");
@@ -20,7 +21,7 @@ const abi = [
20
21
  // Create a public client for Base
21
22
  const client = (0, viem_1.createPublicClient)({
22
23
  chain: chains_1.base,
23
- transport: (0, viem_1.http)(),
24
+ transport: (0, viem_1.http)(constants_1.PUBLIC_BASE_RPC_URL),
24
25
  });
25
26
  async function fetchB3Balances(addresses) {
26
27
  try {
@@ -2,6 +2,7 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.useNativeBalance = useNativeBalance;
4
4
  exports.useNativeBalanceFromRPC = useNativeBalanceFromRPC;
5
+ const constants_1 = require("../../../shared/constants");
5
6
  const supported_1 = require("../../../shared/constants/chains/supported");
6
7
  const formatNumber_1 = require("../../../shared/utils/formatNumber");
7
8
  const react_query_1 = require("@tanstack/react-query");
@@ -90,7 +91,7 @@ function useNativeBalanceFromRPC(address, chainId) {
90
91
  try {
91
92
  const publicClient = (0, viem_1.createPublicClient)({
92
93
  chain: chainId === 8333 ? supported_1.b3Mainnet : supported_1.b3Testnet,
93
- transport: (0, viem_1.http)(),
94
+ transport: (0, viem_1.http)(chainId === 8333 ? constants_1.PUBLIC_BASE_RPC_URL : undefined),
94
95
  });
95
96
  const balance = await publicClient.getBalance({
96
97
  address: address,
@@ -5,6 +5,7 @@ export interface UnifiedTransactionParams {
5
5
  }
6
6
  export declare function useUnifiedChainSwitchAndExecute(): {
7
7
  switchChainAndExecute: (targetChainId: number, params: UnifiedTransactionParams) => Promise<string | undefined>;
8
+ switchChainAndExecuteWithEOA: (targetChainId: number, params: UnifiedTransactionParams) => Promise<string | undefined>;
8
9
  isSwitchingOrExecuting: boolean;
9
10
  isActiveSmartWallet: boolean | undefined;
10
11
  isActiveEOAWallet: boolean | undefined;
@@ -164,6 +164,7 @@ function useUnifiedChainSwitchAndExecute() {
164
164
  }, [isActiveSmartWallet, isActiveEOAWallet, handleAASendTransaction, handleEOASwitchChainAndSendTransaction]);
165
165
  return {
166
166
  switchChainAndExecute,
167
+ switchChainAndExecuteWithEOA: handleEOASwitchChainAndSendTransaction,
167
168
  isSwitchingOrExecuting,
168
169
  isActiveSmartWallet,
169
170
  isActiveEOAWallet,
@@ -273,8 +273,8 @@ export interface AnySpendBondKitProps extends BaseModalProps {
273
273
  imageUrl?: string;
274
274
  /** Token name to display */
275
275
  tokenName?: string;
276
- /** Optional pre-filled ETH amount */
277
- ethAmount?: string;
276
+ /** Optional pre-filled B3 amount */
277
+ b3Amount?: string;
278
278
  /** Callback function called when purchase is successful */
279
279
  onSuccess?: (txHash?: string) => void;
280
280
  }
@@ -300,6 +300,8 @@ export interface AnySpendDepositHypeProps extends BaseModalProps {
300
300
  paymentType?: "crypto" | "fiat";
301
301
  /** Deposit contract address */
302
302
  depositContractAddress: string;
303
+ /** Main footer */
304
+ mainFooter?: React.ReactNode;
303
305
  /** Callback function called when the deposit is successful */
304
306
  onSuccess?: () => void;
305
307
  }
@@ -88,9 +88,9 @@ export declare const getViemChainConfig: (config: ChainNetworks) => {
88
88
  readonly rpc: string;
89
89
  readonly icon: {
90
90
  format: string;
91
- url: string;
92
- width: number;
93
91
  height: number;
92
+ width: number;
93
+ url: string;
94
94
  };
95
95
  };
96
96
  export declare const thirdwebB3Testnet: ThirdwebChain;
@@ -10,9 +10,9 @@ export declare const supportedChainNetworks: {
10
10
  testnet?: boolean | undefined;
11
11
  fees?: Record<string, any> | undefined;
12
12
  formatters?: Record<string, any> | undefined;
13
+ color?: string | undefined;
13
14
  testnetConfigID?: number | undefined;
14
15
  badge?: string | undefined;
15
- color?: string | undefined;
16
16
  enabledFeatures?: string[] | undefined;
17
17
  blockExplorers: {
18
18
  default: string;
@@ -35,13 +35,13 @@ export declare const supportedChainNetworks: {
35
35
  uri: string;
36
36
  }[];
37
37
  };
38
- _id: string | {};
39
38
  icon: {
40
39
  format: string;
41
- url: string;
42
- width: number;
43
40
  height: number;
41
+ width: number;
42
+ url: string;
44
43
  };
44
+ _id: string | {};
45
45
  }[];
46
46
  export declare const coingeckoChains: Record<number, {
47
47
  coingecko_id: string;
@@ -14,3 +14,4 @@ export declare const THIRDWEB_CLIENT_ID: string;
14
14
  export declare const CLIENT_APP_BUNDLE_ID: string;
15
15
  export declare const B3_AUTH_COOKIE_NAME = "b3-auth";
16
16
  export declare const ENS_GATEWAY_URL = "https://ens-gateway.b3.fun/";
17
+ export declare const PUBLIC_BASE_RPC_URL = "https://base-rpc.publicnode.com";
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ENS_GATEWAY_URL = exports.B3_AUTH_COOKIE_NAME = exports.CLIENT_APP_BUNDLE_ID = exports.THIRDWEB_CLIENT_ID = exports.THIRDWEB_SECRET_KEY = exports.tokenIcons = exports.ecosystemWalletId = exports.b3CoinIcon = exports.siteURL = void 0;
3
+ exports.PUBLIC_BASE_RPC_URL = exports.ENS_GATEWAY_URL = exports.B3_AUTH_COOKIE_NAME = exports.CLIENT_APP_BUNDLE_ID = exports.THIRDWEB_CLIENT_ID = exports.THIRDWEB_SECRET_KEY = exports.tokenIcons = exports.ecosystemWalletId = exports.b3CoinIcon = exports.siteURL = void 0;
4
4
  exports.siteURL = "https://basement.fun";
5
5
  exports.b3CoinIcon = "https://cdn.b3.fun/b3-coin-3d.png";
6
6
  exports.ecosystemWalletId = (process.env.NEXT_PUBLIC_THIRDWEB_ECOSYSTEM_ID ||
@@ -22,3 +22,4 @@ exports.THIRDWEB_CLIENT_ID = process.env.NEXT_PUBLIC_THIRDWEB_CLIENT_ID ||
22
22
  exports.CLIENT_APP_BUNDLE_ID = process.env.EXPO_PUBLIC_B3_BUNDLE_ID || "";
23
23
  exports.B3_AUTH_COOKIE_NAME = "b3-auth";
24
24
  exports.ENS_GATEWAY_URL = "https://ens-gateway.b3.fun/";
25
+ exports.PUBLIC_BASE_RPC_URL = "https://base-rpc.publicnode.com";
@@ -37,3 +37,4 @@ export declare const VENDOR_DISPLAY_NAMES: {
37
37
  readonly stripe: "Stripe";
38
38
  readonly unknown: "Unknown Vendor";
39
39
  };
40
+ export declare const DEPOSIT_HYPE_ACTION = "deposit_hype";
@@ -78,3 +78,4 @@ export const VENDOR_DISPLAY_NAMES = {
78
78
  stripe: "Stripe",
79
79
  unknown: "Unknown Vendor",
80
80
  };
81
+ export const DEPOSIT_HYPE_ACTION = "deposit_hype";