@b3dotfun/sdk 0.0.1-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.
- package/README.md +345 -0
- package/constants/chains/b3Chain.js +2 -0
- package/dist/cjs/anyspend/abis/abi-usdc-base.d.ts +1074 -0
- package/dist/cjs/anyspend/abis/abi-usdc-base.js +602 -0
- package/dist/cjs/anyspend/abis/erc20-staking.d.ts +540 -0
- package/dist/cjs/anyspend/abis/erc20-staking.js +301 -0
- package/dist/cjs/anyspend/constants/index.d.ts +28 -0
- package/dist/cjs/anyspend/constants/index.js +72 -0
- package/dist/cjs/anyspend/index.d.ts +13 -0
- package/dist/cjs/anyspend/index.js +35 -0
- package/dist/cjs/anyspend/react/components/AnySpend.d.ts +22 -0
- package/dist/cjs/anyspend/react/components/AnySpend.js +700 -0
- package/dist/cjs/anyspend/react/components/AnySpendBuySpin.d.ts +9 -0
- package/dist/cjs/anyspend/react/components/AnySpendBuySpin.js +333 -0
- package/dist/cjs/anyspend/react/components/AnySpendCustom.d.ts +22 -0
- package/dist/cjs/anyspend/react/components/AnySpendCustom.js +399 -0
- package/dist/cjs/anyspend/react/components/AnySpendNFT.d.ts +8 -0
- package/dist/cjs/anyspend/react/components/AnySpendNFT.js +31 -0
- package/dist/cjs/anyspend/react/components/AnySpendNFTButton.d.ts +7 -0
- package/dist/cjs/anyspend/react/components/AnySpendNFTButton.js +19 -0
- package/dist/cjs/anyspend/react/components/AnySpendStakeB3.d.ts +8 -0
- package/dist/cjs/anyspend/react/components/AnySpendStakeB3.js +269 -0
- package/dist/cjs/anyspend/react/components/AnySpendTournament.d.ts +27 -0
- package/dist/cjs/anyspend/react/components/AnySpendTournament.js +21 -0
- package/dist/cjs/anyspend/react/components/common/ChainTokenIcon.d.ts +5 -0
- package/dist/cjs/anyspend/react/components/common/ChainTokenIcon.js +7 -0
- package/dist/cjs/anyspend/react/components/common/HowItWorks.d.ts +10 -0
- package/dist/cjs/anyspend/react/components/common/HowItWorks.js +7 -0
- package/dist/cjs/anyspend/react/components/common/OrderDetails.d.ts +14 -0
- package/dist/cjs/anyspend/react/components/common/OrderDetails.js +391 -0
- package/dist/cjs/anyspend/react/components/common/OrderHistory.d.ts +7 -0
- package/dist/cjs/anyspend/react/components/common/OrderHistory.js +24 -0
- package/dist/cjs/anyspend/react/components/common/OrderHistoryItem.d.ts +8 -0
- package/dist/cjs/anyspend/react/components/common/OrderHistoryItem.js +38 -0
- package/dist/cjs/anyspend/react/components/common/OrderStatus.d.ts +4 -0
- package/dist/cjs/anyspend/react/components/common/OrderStatus.js +14 -0
- package/dist/cjs/anyspend/react/components/common/OrderToken.d.ts +11 -0
- package/dist/cjs/anyspend/react/components/common/OrderToken.js +59 -0
- package/dist/cjs/anyspend/react/components/common/OrderTokenAmount.d.ts +18 -0
- package/dist/cjs/anyspend/react/components/common/OrderTokenAmount.js +50 -0
- package/dist/cjs/anyspend/react/components/common/PanelOnramp.d.ts +4 -0
- package/dist/cjs/anyspend/react/components/common/PanelOnramp.js +46 -0
- package/dist/cjs/anyspend/react/components/common/PanelOnrampPayment.d.ts +29 -0
- package/dist/cjs/anyspend/react/components/common/PanelOnrampPayment.js +124 -0
- package/dist/cjs/anyspend/react/components/common/PaymentMethodIcons.d.ts +1 -0
- package/dist/cjs/anyspend/react/components/common/PaymentMethodIcons.js +15 -0
- package/dist/cjs/anyspend/react/components/common/PaymentOneClick.d.ts +7 -0
- package/dist/cjs/anyspend/react/components/common/PaymentOneClick.js +27 -0
- package/dist/cjs/anyspend/react/components/common/PaymentOptions.d.ts +1 -0
- package/dist/cjs/anyspend/react/components/common/PaymentOptions.js +7 -0
- package/dist/cjs/anyspend/react/components/common/PaymentStripeWeb2.d.ts +8 -0
- package/dist/cjs/anyspend/react/components/common/PaymentStripeWeb2.js +153 -0
- package/dist/cjs/anyspend/react/components/common/PaymentVendorUI.d.ts +8 -0
- package/dist/cjs/anyspend/react/components/common/PaymentVendorUI.js +23 -0
- package/dist/cjs/anyspend/react/components/common/TokenBalance.d.ts +6 -0
- package/dist/cjs/anyspend/react/components/common/TokenBalance.js +21 -0
- package/dist/cjs/anyspend/react/components/icons/EthIcon.d.ts +3 -0
- package/dist/cjs/anyspend/react/components/icons/EthIcon.js +7 -0
- package/dist/cjs/anyspend/react/components/icons/SolIcon.d.ts +3 -0
- package/dist/cjs/anyspend/react/components/icons/SolIcon.js +7 -0
- package/dist/cjs/anyspend/react/components/icons/USDCIcon.d.ts +3 -0
- package/dist/cjs/anyspend/react/components/icons/USDCIcon.js +7 -0
- package/dist/cjs/anyspend/react/components/modals/EnterRecipientModal.d.ts +6 -0
- package/dist/cjs/anyspend/react/components/modals/EnterRecipientModal.js +21 -0
- package/dist/cjs/anyspend/react/hooks/index.d.ts +13 -0
- package/dist/cjs/anyspend/react/hooks/index.js +29 -0
- package/dist/cjs/anyspend/react/hooks/useAnyspendCreateOnrampOrder.d.ts +39 -0
- package/dist/cjs/anyspend/react/hooks/useAnyspendCreateOnrampOrder.js +83 -0
- package/dist/cjs/anyspend/react/hooks/useAnyspendCreateOrder.d.ts +34 -0
- package/dist/cjs/anyspend/react/hooks/useAnyspendCreateOrder.js +68 -0
- package/dist/cjs/anyspend/react/hooks/useAnyspendOrderAndTransactions.d.ts +706 -0
- package/dist/cjs/anyspend/react/hooks/useAnyspendOrderAndTransactions.js +37 -0
- package/dist/cjs/anyspend/react/hooks/useAnyspendOrderHistory.d.ts +634 -0
- package/dist/cjs/anyspend/react/hooks/useAnyspendOrderHistory.js +20 -0
- package/dist/cjs/anyspend/react/hooks/useAnyspendQuote.d.ts +23 -0
- package/dist/cjs/anyspend/react/hooks/useAnyspendQuote.js +52 -0
- package/dist/cjs/anyspend/react/hooks/useAnyspendSendPermitData.d.ts +16 -0
- package/dist/cjs/anyspend/react/hooks/useAnyspendSendPermitData.js +39 -0
- package/dist/cjs/anyspend/react/hooks/useAnyspendTokens.d.ts +23 -0
- package/dist/cjs/anyspend/react/hooks/useAnyspendTokens.js +18 -0
- package/dist/cjs/anyspend/react/hooks/useCoinbaseOnrampOptions.d.ts +48 -0
- package/dist/cjs/anyspend/react/hooks/useCoinbaseOnrampOptions.js +19 -0
- package/dist/cjs/anyspend/react/hooks/useGeoOnrampOptions.d.ts +40 -0
- package/dist/cjs/anyspend/react/hooks/useGeoOnrampOptions.js +53 -0
- package/dist/cjs/anyspend/react/hooks/useGetGeo.d.ts +16 -0
- package/dist/cjs/anyspend/react/hooks/useGetGeo.js +15 -0
- package/dist/cjs/anyspend/react/hooks/usePermitData.d.ts +92 -0
- package/dist/cjs/anyspend/react/hooks/usePermitData.js +158 -0
- package/dist/cjs/anyspend/react/hooks/useStripeClientSecret.d.ts +6 -0
- package/dist/cjs/anyspend/react/hooks/useStripeClientSecret.js +18 -0
- package/dist/cjs/anyspend/react/hooks/useStripeSupport.d.ts +10 -0
- package/dist/cjs/anyspend/react/hooks/useStripeSupport.js +20 -0
- package/dist/cjs/anyspend/react/providers/AnyspendProvider.d.ts +27 -0
- package/dist/cjs/anyspend/react/providers/AnyspendProvider.js +42 -0
- package/dist/cjs/anyspend/services/anyspend.d.ts +372 -0
- package/dist/cjs/anyspend/services/anyspend.js +126 -0
- package/dist/cjs/anyspend/types/chain.d.ts +26 -0
- package/dist/cjs/anyspend/types/chain.js +8 -0
- package/dist/cjs/anyspend/types/custom.d.ts +130 -0
- package/dist/cjs/anyspend/types/custom.js +19 -0
- package/dist/cjs/anyspend/types/globalWallet.d.ts +18 -0
- package/dist/cjs/anyspend/types/globalWallet.js +10 -0
- package/dist/cjs/anyspend/types/index.d.ts +13 -0
- package/dist/cjs/anyspend/types/index.js +29 -0
- package/dist/cjs/anyspend/types/nft.d.ts +267 -0
- package/dist/cjs/anyspend/types/nft.js +36 -0
- package/dist/cjs/anyspend/types/onramp.d.ts +25 -0
- package/dist/cjs/anyspend/types/onramp.js +17 -0
- package/dist/cjs/anyspend/types/order.d.ts +1771 -0
- package/dist/cjs/anyspend/types/order.js +85 -0
- package/dist/cjs/anyspend/types/permit.d.ts +21 -0
- package/dist/cjs/anyspend/types/permit.js +11 -0
- package/dist/cjs/anyspend/types/relay.d.ts +10 -0
- package/dist/cjs/anyspend/types/relay.js +12 -0
- package/dist/cjs/anyspend/types/req-res/createOrder.d.ts +4113 -0
- package/dist/cjs/anyspend/types/req-res/createOrder.js +60 -0
- package/dist/cjs/anyspend/types/req-res/getCoinbaseOnrampOptions.d.ts +120 -0
- package/dist/cjs/anyspend/types/req-res/getCoinbaseOnrampOptions.js +31 -0
- package/dist/cjs/anyspend/types/req-res/getOrderAndTransactions.d.ts +3129 -0
- package/dist/cjs/anyspend/types/req-res/getOrderAndTransactions.js +23 -0
- package/dist/cjs/anyspend/types/req-res/getOrderByCreator.d.ts +28 -0
- package/dist/cjs/anyspend/types/req-res/getOrderByCreator.js +11 -0
- package/dist/cjs/anyspend/types/req-res/getOrderHistory.d.ts +2278 -0
- package/dist/cjs/anyspend/types/req-res/getOrderHistory.js +11 -0
- package/dist/cjs/anyspend/types/req-res/getQuote.d.ts +253 -0
- package/dist/cjs/anyspend/types/req-res/getQuote.js +46 -0
- package/dist/cjs/anyspend/types/req-res/getTokenList.d.ts +63 -0
- package/dist/cjs/anyspend/types/req-res/getTokenList.js +18 -0
- package/dist/cjs/anyspend/types/req-res/index.d.ts +8 -0
- package/dist/cjs/anyspend/types/req-res/index.js +24 -0
- package/dist/cjs/anyspend/types/req-res/sendPermitData.d.ts +66 -0
- package/dist/cjs/anyspend/types/req-res/sendPermitData.js +11 -0
- package/dist/cjs/anyspend/types/req-res/stripe.d.ts +0 -0
- package/dist/cjs/anyspend/types/req-res/stripe.js +1 -0
- package/dist/cjs/anyspend/types/swap.d.ts +119 -0
- package/dist/cjs/anyspend/types/swap.js +13 -0
- package/dist/cjs/anyspend/types/token.d.ts +34 -0
- package/dist/cjs/anyspend/types/token.js +14 -0
- package/dist/cjs/anyspend/types/tournament.d.ts +174 -0
- package/dist/cjs/anyspend/types/tournament.js +24 -0
- package/dist/cjs/anyspend/types/transaction.d.ts +84 -0
- package/dist/cjs/anyspend/types/transaction.js +34 -0
- package/dist/cjs/anyspend/utils/address.d.ts +4 -0
- package/dist/cjs/anyspend/utils/address.js +29 -0
- package/dist/cjs/anyspend/utils/chain.d.ts +25 -0
- package/dist/cjs/anyspend/utils/chain.js +294 -0
- package/dist/cjs/anyspend/utils/format.d.ts +6 -0
- package/dist/cjs/anyspend/utils/format.js +59 -0
- package/dist/cjs/anyspend/utils/index.d.ts +8 -0
- package/dist/cjs/anyspend/utils/index.js +24 -0
- package/dist/cjs/anyspend/utils/json.d.ts +1 -0
- package/dist/cjs/anyspend/utils/json.js +6 -0
- package/dist/cjs/anyspend/utils/number.d.ts +13 -0
- package/dist/cjs/anyspend/utils/number.js +90 -0
- package/dist/cjs/anyspend/utils/orderPayload.d.ts +127 -0
- package/dist/cjs/anyspend/utils/orderPayload.js +56 -0
- package/dist/cjs/anyspend/utils/string.d.ts +1 -0
- package/dist/cjs/anyspend/utils/string.js +9 -0
- package/dist/cjs/anyspend/utils/token.d.ts +7 -0
- package/dist/cjs/anyspend/utils/token.js +73 -0
- package/dist/cjs/generated/chain-networks.json +483 -0
- package/dist/cjs/global-account/app.d.ts +4 -0
- package/dist/cjs/global-account/app.js +65 -0
- package/dist/cjs/global-account/app.native.d.ts +5 -0
- package/dist/cjs/global-account/app.native.js +90 -0
- package/dist/cjs/global-account/bsmnt.d.ts +4 -0
- package/dist/cjs/global-account/bsmnt.js +69 -0
- package/dist/cjs/global-account/bsmnt.native.d.ts +5 -0
- package/dist/cjs/global-account/bsmnt.native.js +93 -0
- package/dist/cjs/global-account/index.d.ts +9 -0
- package/dist/cjs/global-account/index.js +27 -0
- package/dist/cjs/global-account/index.native.d.ts +3 -0
- package/dist/cjs/global-account/index.native.js +18 -0
- package/dist/cjs/global-account/react/components/AccountAssets/AccountAssets.d.ts +7 -0
- package/dist/cjs/global-account/react/components/AccountAssets/AccountAssets.js +13 -0
- package/dist/cjs/global-account/react/components/B3DynamicModal.d.ts +1 -0
- package/dist/cjs/global-account/react/components/B3DynamicModal.js +92 -0
- package/dist/cjs/global-account/react/components/B3Provider.d.ts +53 -0
- package/dist/cjs/global-account/react/components/B3Provider.js +118 -0
- package/dist/cjs/global-account/react/components/B3Provider.native.d.ts +46 -0
- package/dist/cjs/global-account/react/components/B3Provider.native.js +76 -0
- package/dist/cjs/global-account/react/components/ManageAccount/ManageAccount.d.ts +11 -0
- package/dist/cjs/global-account/react/components/ManageAccount/ManageAccount.js +85 -0
- package/dist/cjs/global-account/react/components/MintButton/MintButton.d.ts +17 -0
- package/dist/cjs/global-account/react/components/MintButton/MintButton.js +51 -0
- package/dist/cjs/global-account/react/components/ProfileAvatar.d.ts +0 -0
- package/dist/cjs/global-account/react/components/ProfileAvatar.js +127 -0
- package/dist/cjs/global-account/react/components/RelayKitProviderWrapper.d.ts +4 -0
- package/dist/cjs/global-account/react/components/RelayKitProviderWrapper.js +29 -0
- package/dist/cjs/global-account/react/components/RequestPermissions/RequestPermissions.d.ts +6 -0
- package/dist/cjs/global-account/react/components/RequestPermissions/RequestPermissions.js +83 -0
- package/dist/cjs/global-account/react/components/RequestPermissions/RequestPermissionsButton.d.ts +11 -0
- package/dist/cjs/global-account/react/components/RequestPermissions/RequestPermissionsButton.js +26 -0
- package/dist/cjs/global-account/react/components/SignInWithB3/SignInWithB3.d.ts +10 -0
- package/dist/cjs/global-account/react/components/SignInWithB3/SignInWithB3.js +45 -0
- package/dist/cjs/global-account/react/components/SignInWithB3/SignInWithB3Flow.d.ts +6 -0
- package/dist/cjs/global-account/react/components/SignInWithB3/SignInWithB3Flow.js +203 -0
- package/dist/cjs/global-account/react/components/SignInWithB3/SignInWithB3Privy.d.ts +11 -0
- package/dist/cjs/global-account/react/components/SignInWithB3/SignInWithB3Privy.js +51 -0
- package/dist/cjs/global-account/react/components/SignInWithB3/components/AuthButton.d.ts +5 -0
- package/dist/cjs/global-account/react/components/SignInWithB3/components/AuthButton.js +9 -0
- package/dist/cjs/global-account/react/components/SignInWithB3/components/PermissionItem.d.ts +10 -0
- package/dist/cjs/global-account/react/components/SignInWithB3/components/PermissionItem.js +8 -0
- package/dist/cjs/global-account/react/components/SignInWithB3/components/WalletRow.d.ts +6 -0
- package/dist/cjs/global-account/react/components/SignInWithB3/components/WalletRow.js +9 -0
- package/dist/cjs/global-account/react/components/SignInWithB3/steps/LoginStep.d.ts +24 -0
- package/dist/cjs/global-account/react/components/SignInWithB3/steps/LoginStep.js +89 -0
- package/dist/cjs/global-account/react/components/SignInWithB3/steps/LoginStepCustom.d.ts +14 -0
- package/dist/cjs/global-account/react/components/SignInWithB3/steps/LoginStepCustom.js +76 -0
- package/dist/cjs/global-account/react/components/SignInWithB3/utils/signInUtils.d.ts +17 -0
- package/dist/cjs/global-account/react/components/SignInWithB3/utils/signInUtils.js +56 -0
- package/dist/cjs/global-account/react/components/StyleRoot.d.ts +4 -0
- package/dist/cjs/global-account/react/components/StyleRoot.js +10 -0
- package/dist/cjs/global-account/react/components/Transak/TransakModal.d.ts +1 -0
- package/dist/cjs/global-account/react/components/Transak/TransakModal.js +113 -0
- package/dist/cjs/global-account/react/components/custom/Button.d.ts +12 -0
- package/dist/cjs/global-account/react/components/custom/Button.js +36 -0
- package/dist/cjs/global-account/react/components/custom/ClientOnly.d.ts +7 -0
- package/dist/cjs/global-account/react/components/custom/ClientOnly.js +13 -0
- package/dist/cjs/global-account/react/components/custom/CopyToClipboard.d.ts +7 -0
- package/dist/cjs/global-account/react/components/custom/CopyToClipboard.js +21 -0
- package/dist/cjs/global-account/react/components/custom/StaggeredFadeLoader.d.ts +4 -0
- package/dist/cjs/global-account/react/components/custom/StaggeredFadeLoader.js +24 -0
- package/dist/cjs/global-account/react/components/custom/WalletConnectorIcon.d.ts +4 -0
- package/dist/cjs/global-account/react/components/custom/WalletConnectorIcon.js +27 -0
- package/dist/cjs/global-account/react/components/magicui/AnimatedLottie.d.ts +13 -0
- package/dist/cjs/global-account/react/components/magicui/AnimatedLottie.js +93 -0
- package/dist/cjs/global-account/react/components/ui/Loading.d.ts +7 -0
- package/dist/cjs/global-account/react/components/ui/Loading.js +18 -0
- package/dist/cjs/global-account/react/components/ui/ShinyButton.d.ts +14 -0
- package/dist/cjs/global-account/react/components/ui/ShinyButton.js +29 -0
- package/dist/cjs/global-account/react/components/ui/TabSystem.d.ts +30 -0
- package/dist/cjs/global-account/react/components/ui/TabSystem.js +86 -0
- package/dist/cjs/global-account/react/components/ui/Tabs.d.ts +9 -0
- package/dist/cjs/global-account/react/components/ui/Tabs.js +53 -0
- package/dist/cjs/global-account/react/components/ui/badge.d.ts +9 -0
- package/dist/cjs/global-account/react/components/ui/badge.js +24 -0
- package/dist/cjs/global-account/react/components/ui/button.d.ts +11 -0
- package/dist/cjs/global-account/react/components/ui/button.js +72 -0
- package/dist/cjs/global-account/react/components/ui/command.d.ts +82 -0
- package/dist/cjs/global-account/react/components/ui/command.js +74 -0
- package/dist/cjs/global-account/react/components/ui/dialog.d.ts +30 -0
- package/dist/cjs/global-account/react/components/ui/dialog.js +71 -0
- package/dist/cjs/global-account/react/components/ui/drawer.d.ts +22 -0
- package/dist/cjs/global-account/react/components/ui/drawer.js +71 -0
- package/dist/cjs/global-account/react/components/ui/glare-card-rounded.d.ts +4 -0
- package/dist/cjs/global-account/react/components/ui/glare-card-rounded.js +146 -0
- package/dist/cjs/global-account/react/components/ui/glare-card.d.ts +4 -0
- package/dist/cjs/global-account/react/components/ui/glare-card.js +108 -0
- package/dist/cjs/global-account/react/components/ui/input.d.ts +5 -0
- package/dist/cjs/global-account/react/components/ui/input.js +46 -0
- package/dist/cjs/global-account/react/components/ui/popover.d.ts +6 -0
- package/dist/cjs/global-account/react/components/ui/popover.js +52 -0
- package/dist/cjs/global-account/react/components/ui/scroll-area.d.ts +5 -0
- package/dist/cjs/global-account/react/components/ui/scroll-area.js +47 -0
- package/dist/cjs/global-account/react/components/ui/skeleton.d.ts +2 -0
- package/dist/cjs/global-account/react/components/ui/skeleton.js +8 -0
- package/dist/cjs/global-account/react/components/ui/text-loop.d.ts +11 -0
- package/dist/cjs/global-account/react/components/ui/text-loop.js +29 -0
- package/dist/cjs/global-account/react/components/ui/text-shimmer.d.ts +10 -0
- package/dist/cjs/global-account/react/components/ui/text-shimmer.js +22 -0
- package/dist/cjs/global-account/react/components/ui/tooltip.d.ts +7 -0
- package/dist/cjs/global-account/react/components/ui/tooltip.js +50 -0
- package/dist/cjs/global-account/react/components/ui/transition-panel.d.ts +14 -0
- package/dist/cjs/global-account/react/components/ui/transition-panel.js +10 -0
- package/dist/cjs/global-account/react/hooks/useAccountAssets.d.ts +3 -0
- package/dist/cjs/global-account/react/hooks/useAccountAssets.js +35 -0
- package/dist/cjs/global-account/react/hooks/useAccountWallet.d.ts +18 -0
- package/dist/cjs/global-account/react/hooks/useAccountWallet.js +70 -0
- package/dist/cjs/global-account/react/hooks/useAddTWSessionKey.d.ts +21 -0
- package/dist/cjs/global-account/react/hooks/useAddTWSessionKey.js +56 -0
- package/dist/cjs/global-account/react/hooks/useAuthentication.d.ts +10 -0
- package/dist/cjs/global-account/react/hooks/useAuthentication.js +123 -0
- package/dist/cjs/global-account/react/hooks/useB3BalanceFromAddresses.d.ts +15 -0
- package/dist/cjs/global-account/react/hooks/useB3BalanceFromAddresses.js +70 -0
- package/dist/cjs/global-account/react/hooks/useBestTransactionPath.d.ts +41 -0
- package/dist/cjs/global-account/react/hooks/useBestTransactionPath.js +150 -0
- package/dist/cjs/global-account/react/hooks/useBsmntProfile.d.ts +4 -0
- package/dist/cjs/global-account/react/hooks/useBsmntProfile.js +13 -0
- package/dist/cjs/global-account/react/hooks/useChainSwitchWithAction.d.ts +5 -0
- package/dist/cjs/global-account/react/hooks/useChainSwitchWithAction.js +73 -0
- package/dist/cjs/global-account/react/hooks/useClaim.d.ts +16 -0
- package/dist/cjs/global-account/react/hooks/useClaim.js +50 -0
- package/dist/cjs/global-account/react/hooks/useConnect.d.ts +9 -0
- package/dist/cjs/global-account/react/hooks/useConnect.js +52 -0
- package/dist/cjs/global-account/react/hooks/useExchangeRate.d.ts +12 -0
- package/dist/cjs/global-account/react/hooks/useExchangeRate.js +30 -0
- package/dist/cjs/global-account/react/hooks/useGetAllTWSigners.d.ts +30 -0
- package/dist/cjs/global-account/react/hooks/useGetAllTWSigners.js +77 -0
- package/dist/cjs/global-account/react/hooks/useGetGeo.d.ts +17 -0
- package/dist/cjs/global-account/react/hooks/useGetGeo.js +20 -0
- package/dist/cjs/global-account/react/hooks/useHandleConnectWithPrivy.d.ts +11 -0
- package/dist/cjs/global-account/react/hooks/useHandleConnectWithPrivy.js +69 -0
- package/dist/cjs/global-account/react/hooks/useHasMounted.d.ts +1 -0
- package/dist/cjs/global-account/react/hooks/useHasMounted.js +11 -0
- package/dist/cjs/global-account/react/hooks/useIsMobile.d.ts +2 -0
- package/dist/cjs/global-account/react/hooks/useIsMobile.js +8 -0
- package/dist/cjs/global-account/react/hooks/useIsomorphicLayoutEffect.d.ts +2 -0
- package/dist/cjs/global-account/react/hooks/useIsomorphicLayoutEffect.js +5 -0
- package/dist/cjs/global-account/react/hooks/useMediaQuery.d.ts +6 -0
- package/dist/cjs/global-account/react/hooks/useMediaQuery.js +47 -0
- package/dist/cjs/global-account/react/hooks/useNativeBalance.d.ts +22 -0
- package/dist/cjs/global-account/react/hooks/useNativeBalance.js +76 -0
- package/dist/cjs/global-account/react/hooks/useOnchainName.d.ts +19 -0
- package/dist/cjs/global-account/react/hooks/useOnchainName.js +193 -0
- package/dist/cjs/global-account/react/hooks/useOneBalance.d.ts +26 -0
- package/dist/cjs/global-account/react/hooks/useOneBalance.js +69 -0
- package/dist/cjs/global-account/react/hooks/useQueryB3.d.ts +25 -0
- package/dist/cjs/global-account/react/hooks/useQueryB3.js +40 -0
- package/dist/cjs/global-account/react/hooks/useQueryBSMNT.d.ts +25 -0
- package/dist/cjs/global-account/react/hooks/useQueryBSMNT.js +40 -0
- package/dist/cjs/global-account/react/hooks/useRemoveSessionKey.d.ts +16 -0
- package/dist/cjs/global-account/react/hooks/useRemoveSessionKey.js +49 -0
- package/dist/cjs/global-account/react/hooks/useRouter.d.ts +14 -0
- package/dist/cjs/global-account/react/hooks/useRouter.js +78 -0
- package/dist/cjs/global-account/react/hooks/useSearchParamsSSR.d.ts +2 -0
- package/dist/cjs/global-account/react/hooks/useSearchParamsSSR.js +31 -0
- package/dist/cjs/global-account/react/hooks/useSiwe.d.ts +4 -0
- package/dist/cjs/global-account/react/hooks/useSiwe.js +38 -0
- package/dist/cjs/global-account/react/hooks/useTokenBalance.d.ts +12 -0
- package/dist/cjs/global-account/react/hooks/useTokenBalance.js +64 -0
- package/dist/cjs/global-account/react/hooks/useTokenBalancesByChain.d.ts +22 -0
- package/dist/cjs/global-account/react/hooks/useTokenBalancesByChain.js +58 -0
- package/dist/cjs/global-account/react/hooks/useTokenData.d.ts +9 -0
- package/dist/cjs/global-account/react/hooks/useTokenData.js +47 -0
- package/dist/cjs/global-account/react/hooks/useTokenFromUrl.d.ts +17 -0
- package/dist/cjs/global-account/react/hooks/useTokenFromUrl.js +30 -0
- package/dist/cjs/global-account/react/hooks/useTokenPrice.d.ts +17 -0
- package/dist/cjs/global-account/react/hooks/useTokenPrice.js +48 -0
- package/dist/cjs/global-account/react/hooks/useTokenPriceWithFallback.d.ts +15 -0
- package/dist/cjs/global-account/react/hooks/useTokenPriceWithFallback.js +34 -0
- package/dist/cjs/global-account/react/hooks/useTokensFromAddress.d.ts +54 -0
- package/dist/cjs/global-account/react/hooks/useTokensFromAddress.js +51 -0
- package/dist/cjs/global-account/react/hooks/useURLParams.d.ts +8 -0
- package/dist/cjs/global-account/react/hooks/useURLParams.js +38 -0
- package/dist/cjs/global-account/react/stores/useAuthStore.d.ts +26 -0
- package/dist/cjs/global-account/react/stores/useAuthStore.js +39 -0
- package/dist/cjs/global-account/react/stores/useModalStore.d.ts +267 -0
- package/dist/cjs/global-account/react/stores/useModalStore.js +36 -0
- package/dist/cjs/global-account/server.d.ts +8 -0
- package/dist/cjs/global-account/server.js +26 -0
- package/dist/cjs/global-account/types/b3-api.d.ts +3 -0
- package/dist/cjs/global-account/types/b3-api.js +41 -0
- package/dist/cjs/global-account/types/b3-api.types.d.ts +51 -0
- package/dist/cjs/global-account/types/b3-api.types.js +4 -0
- package/dist/cjs/global-account/types/chain-networks.d.ts +44 -0
- package/dist/cjs/global-account/types/chain-networks.js +48 -0
- package/dist/cjs/global-account/types/feature-flags.d.ts +8 -0
- package/dist/cjs/global-account/types/feature-flags.js +10 -0
- package/dist/cjs/global-account/types/permissions.d.ts +21 -0
- package/dist/cjs/global-account/types/permissions.js +2 -0
- package/dist/cjs/global-account/types/reservoir.types.d.ts +89 -0
- package/dist/cjs/global-account/types/reservoir.types.js +2 -0
- package/dist/cjs/global-account/types/simplehash.types.d.ts +292 -0
- package/dist/cjs/global-account/types/simplehash.types.js +2 -0
- package/dist/cjs/global-account/types.d.ts +19 -0
- package/dist/cjs/global-account/types.js +2 -0
- package/dist/cjs/shared/constants/chains/b3Chain.d.ts +144 -0
- package/dist/cjs/shared/constants/chains/b3Chain.js +167 -0
- package/dist/cjs/shared/constants/chains/chainPlatformMap.d.ts +24 -0
- package/dist/cjs/shared/constants/chains/chainPlatformMap.js +47 -0
- package/dist/cjs/shared/constants/chains/supported.d.ts +53 -0
- package/dist/cjs/shared/constants/chains/supported.js +31 -0
- package/dist/cjs/shared/constants/index.d.ts +15 -0
- package/dist/cjs/shared/constants/index.js +21 -0
- package/dist/cjs/shared/thirdweb/generated/@tanstack/react-query.gen.d.ts +11494 -0
- package/dist/cjs/shared/thirdweb/generated/@tanstack/react-query.gen.js +1355 -0
- package/dist/cjs/shared/thirdweb/generated/client.gen.d.ts +12 -0
- package/dist/cjs/shared/thirdweb/generated/client.gen.js +6 -0
- package/dist/cjs/shared/thirdweb/generated/index.d.ts +2 -0
- package/dist/cjs/shared/thirdweb/generated/index.js +19 -0
- package/dist/cjs/shared/thirdweb/generated/sdk.gen.d.ts +1448 -0
- package/dist/cjs/shared/thirdweb/generated/sdk.gen.js +1037 -0
- package/dist/cjs/shared/thirdweb/generated/types.gen.d.ts +4159 -0
- package/dist/cjs/shared/thirdweb/generated/types.gen.js +3 -0
- package/dist/cjs/shared/thirdweb/initiateClient.d.ts +1 -0
- package/dist/cjs/shared/thirdweb/initiateClient.js +27 -0
- package/dist/cjs/shared/thirdweb/openapi-ts.config.d.ts +2 -0
- package/dist/cjs/shared/thirdweb/openapi-ts.config.js +8 -0
- package/dist/cjs/shared/utils/b3Ens.d.ts +5 -0
- package/dist/cjs/shared/utils/b3Ens.js +27 -0
- package/dist/cjs/shared/utils/centerTruncate.d.ts +1 -0
- package/dist/cjs/shared/utils/centerTruncate.js +14 -0
- package/dist/cjs/shared/utils/chain-transformers.d.ts +5 -0
- package/dist/cjs/shared/utils/chain-transformers.js +50 -0
- package/dist/cjs/shared/utils/chains.d.ts +6 -0
- package/dist/cjs/shared/utils/chains.js +38 -0
- package/dist/cjs/shared/utils/cn.d.ts +2 -0
- package/dist/cjs/shared/utils/cn.js +8 -0
- package/dist/cjs/shared/utils/colors.d.ts +2 -0
- package/dist/cjs/shared/utils/colors.js +33 -0
- package/dist/cjs/shared/utils/cookies.d.ts +3 -0
- package/dist/cjs/shared/utils/cookies.js +17 -0
- package/dist/cjs/shared/utils/debug.d.ts +4 -0
- package/dist/cjs/shared/utils/debug.js +20 -0
- package/dist/cjs/shared/utils/fetchBalances.d.ts +16 -0
- package/dist/cjs/shared/utils/fetchBalances.js +64 -0
- package/dist/cjs/shared/utils/fetchBsmntProfile.d.ts +1 -0
- package/dist/cjs/shared/utils/fetchBsmntProfile.js +26 -0
- package/dist/cjs/shared/utils/formatAddress.d.ts +2 -0
- package/dist/cjs/shared/utils/formatAddress.js +19 -0
- package/dist/cjs/shared/utils/formatNumber.d.ts +7 -0
- package/dist/cjs/shared/utils/formatNumber.js +49 -0
- package/dist/cjs/shared/utils/index.d.ts +2 -0
- package/dist/cjs/shared/utils/index.js +23 -0
- package/dist/cjs/shared/utils/insights.d.ts +7 -0
- package/dist/cjs/shared/utils/insights.js +388 -0
- package/dist/cjs/shared/utils/ipfs.d.ts +12 -0
- package/dist/cjs/shared/utils/ipfs.js +32 -0
- package/dist/cjs/shared/utils/number.d.ts +11 -0
- package/dist/cjs/shared/utils/number.js +110 -0
- package/dist/cjs/shared/utils/payment.utils.d.ts +5 -0
- package/dist/cjs/shared/utils/payment.utils.js +36 -0
- package/dist/cjs/shared/utils/simplehash.d.ts +12 -0
- package/dist/cjs/shared/utils/simplehash.js +308 -0
- package/dist/cjs/shared/utils/sprinter.d.ts +1 -0
- package/dist/cjs/shared/utils/sprinter.js +15 -0
- package/dist/cjs/shared/utils/thirdweb-insights.d.ts +105 -0
- package/dist/cjs/shared/utils/thirdweb-insights.js +200 -0
- package/dist/cjs/shared/utils/thirdweb.d.ts +1 -0
- package/dist/cjs/shared/utils/thirdweb.js +11 -0
- package/dist/cjs/styles/index.d.ts +20 -0
- package/dist/cjs/styles/index.js +22 -0
- package/dist/esm/anyspend/abis/abi-usdc-base.d.ts +1074 -0
- package/dist/esm/anyspend/abis/abi-usdc-base.js +599 -0
- package/dist/esm/anyspend/abis/erc20-staking.d.ts +540 -0
- package/dist/esm/anyspend/abis/erc20-staking.js +298 -0
- package/dist/esm/anyspend/constants/index.d.ts +28 -0
- package/dist/esm/anyspend/constants/index.js +69 -0
- package/dist/esm/anyspend/index.d.ts +13 -0
- package/dist/esm/anyspend/index.js +19 -0
- package/dist/esm/anyspend/react/components/AnySpend.d.ts +22 -0
- package/dist/esm/anyspend/react/components/AnySpend.js +693 -0
- package/dist/esm/anyspend/react/components/AnySpendBuySpin.d.ts +9 -0
- package/dist/esm/anyspend/react/components/AnySpendBuySpin.js +327 -0
- package/dist/esm/anyspend/react/components/AnySpendCustom.d.ts +22 -0
- package/dist/esm/anyspend/react/components/AnySpendCustom.js +393 -0
- package/dist/esm/anyspend/react/components/AnySpendNFT.d.ts +8 -0
- package/dist/esm/anyspend/react/components/AnySpendNFT.js +25 -0
- package/dist/esm/anyspend/react/components/AnySpendNFTButton.d.ts +7 -0
- package/dist/esm/anyspend/react/components/AnySpendNFTButton.js +16 -0
- package/dist/esm/anyspend/react/components/AnySpendStakeB3.d.ts +8 -0
- package/dist/esm/anyspend/react/components/AnySpendStakeB3.js +263 -0
- package/dist/esm/anyspend/react/components/AnySpendTournament.d.ts +27 -0
- package/dist/esm/anyspend/react/components/AnySpendTournament.js +15 -0
- package/dist/esm/anyspend/react/components/common/ChainTokenIcon.d.ts +5 -0
- package/dist/esm/anyspend/react/components/common/ChainTokenIcon.js +4 -0
- package/dist/esm/anyspend/react/components/common/HowItWorks.d.ts +10 -0
- package/dist/esm/anyspend/react/components/common/HowItWorks.js +4 -0
- package/dist/esm/anyspend/react/components/common/OrderDetails.d.ts +14 -0
- package/dist/esm/anyspend/react/components/common/OrderDetails.js +385 -0
- package/dist/esm/anyspend/react/components/common/OrderHistory.d.ts +7 -0
- package/dist/esm/anyspend/react/components/common/OrderHistory.js +18 -0
- package/dist/esm/anyspend/react/components/common/OrderHistoryItem.d.ts +8 -0
- package/dist/esm/anyspend/react/components/common/OrderHistoryItem.js +32 -0
- package/dist/esm/anyspend/react/components/common/OrderStatus.d.ts +4 -0
- package/dist/esm/anyspend/react/components/common/OrderStatus.js +11 -0
- package/dist/esm/anyspend/react/components/common/OrderToken.d.ts +11 -0
- package/dist/esm/anyspend/react/components/common/OrderToken.js +56 -0
- package/dist/esm/anyspend/react/components/common/OrderTokenAmount.d.ts +18 -0
- package/dist/esm/anyspend/react/components/common/OrderTokenAmount.js +47 -0
- package/dist/esm/anyspend/react/components/common/PanelOnramp.d.ts +4 -0
- package/dist/esm/anyspend/react/components/common/PanelOnramp.js +40 -0
- package/dist/esm/anyspend/react/components/common/PanelOnrampPayment.d.ts +29 -0
- package/dist/esm/anyspend/react/components/common/PanelOnrampPayment.js +118 -0
- package/dist/esm/anyspend/react/components/common/PaymentMethodIcons.d.ts +1 -0
- package/dist/esm/anyspend/react/components/common/PaymentMethodIcons.js +12 -0
- package/dist/esm/anyspend/react/components/common/PaymentOneClick.d.ts +7 -0
- package/dist/esm/anyspend/react/components/common/PaymentOneClick.js +21 -0
- package/dist/esm/anyspend/react/components/common/PaymentOptions.d.ts +1 -0
- package/dist/esm/anyspend/react/components/common/PaymentOptions.js +4 -0
- package/dist/esm/anyspend/react/components/common/PaymentStripeWeb2.d.ts +8 -0
- package/dist/esm/anyspend/react/components/common/PaymentStripeWeb2.js +147 -0
- package/dist/esm/anyspend/react/components/common/PaymentVendorUI.d.ts +8 -0
- package/dist/esm/anyspend/react/components/common/PaymentVendorUI.js +17 -0
- package/dist/esm/anyspend/react/components/common/TokenBalance.d.ts +6 -0
- package/dist/esm/anyspend/react/components/common/TokenBalance.js +18 -0
- package/dist/esm/anyspend/react/components/icons/EthIcon.d.ts +3 -0
- package/dist/esm/anyspend/react/components/icons/EthIcon.js +4 -0
- package/dist/esm/anyspend/react/components/icons/SolIcon.d.ts +3 -0
- package/dist/esm/anyspend/react/components/icons/SolIcon.js +4 -0
- package/dist/esm/anyspend/react/components/icons/USDCIcon.d.ts +3 -0
- package/dist/esm/anyspend/react/components/icons/USDCIcon.js +4 -0
- package/dist/esm/anyspend/react/components/modals/EnterRecipientModal.d.ts +6 -0
- package/dist/esm/anyspend/react/components/modals/EnterRecipientModal.js +15 -0
- package/dist/esm/anyspend/react/hooks/index.d.ts +13 -0
- package/dist/esm/anyspend/react/hooks/index.js +13 -0
- package/dist/esm/anyspend/react/hooks/useAnyspendCreateOnrampOrder.d.ts +39 -0
- package/dist/esm/anyspend/react/hooks/useAnyspendCreateOnrampOrder.js +80 -0
- package/dist/esm/anyspend/react/hooks/useAnyspendCreateOrder.d.ts +34 -0
- package/dist/esm/anyspend/react/hooks/useAnyspendCreateOrder.js +65 -0
- package/dist/esm/anyspend/react/hooks/useAnyspendOrderAndTransactions.d.ts +706 -0
- package/dist/esm/anyspend/react/hooks/useAnyspendOrderAndTransactions.js +31 -0
- package/dist/esm/anyspend/react/hooks/useAnyspendOrderHistory.d.ts +634 -0
- package/dist/esm/anyspend/react/hooks/useAnyspendOrderHistory.js +17 -0
- package/dist/esm/anyspend/react/hooks/useAnyspendQuote.d.ts +23 -0
- package/dist/esm/anyspend/react/hooks/useAnyspendQuote.js +49 -0
- package/dist/esm/anyspend/react/hooks/useAnyspendSendPermitData.d.ts +16 -0
- package/dist/esm/anyspend/react/hooks/useAnyspendSendPermitData.js +36 -0
- package/dist/esm/anyspend/react/hooks/useAnyspendTokens.d.ts +23 -0
- package/dist/esm/anyspend/react/hooks/useAnyspendTokens.js +15 -0
- package/dist/esm/anyspend/react/hooks/useCoinbaseOnrampOptions.d.ts +48 -0
- package/dist/esm/anyspend/react/hooks/useCoinbaseOnrampOptions.js +16 -0
- package/dist/esm/anyspend/react/hooks/useGeoOnrampOptions.d.ts +40 -0
- package/dist/esm/anyspend/react/hooks/useGeoOnrampOptions.js +50 -0
- package/dist/esm/anyspend/react/hooks/useGetGeo.d.ts +16 -0
- package/dist/esm/anyspend/react/hooks/useGetGeo.js +12 -0
- package/dist/esm/anyspend/react/hooks/usePermitData.d.ts +92 -0
- package/dist/esm/anyspend/react/hooks/usePermitData.js +154 -0
- package/dist/esm/anyspend/react/hooks/useStripeClientSecret.d.ts +6 -0
- package/dist/esm/anyspend/react/hooks/useStripeClientSecret.js +15 -0
- package/dist/esm/anyspend/react/hooks/useStripeSupport.d.ts +10 -0
- package/dist/esm/anyspend/react/hooks/useStripeSupport.js +17 -0
- package/dist/esm/anyspend/react/providers/AnyspendProvider.d.ts +27 -0
- package/dist/esm/anyspend/react/providers/AnyspendProvider.js +38 -0
- package/dist/esm/anyspend/services/anyspend.d.ts +372 -0
- package/dist/esm/anyspend/services/anyspend.js +120 -0
- package/dist/esm/anyspend/types/chain.d.ts +26 -0
- package/dist/esm/anyspend/types/chain.js +5 -0
- package/dist/esm/anyspend/types/custom.d.ts +130 -0
- package/dist/esm/anyspend/types/custom.js +13 -0
- package/dist/esm/anyspend/types/globalWallet.d.ts +18 -0
- package/dist/esm/anyspend/types/globalWallet.js +7 -0
- package/dist/esm/anyspend/types/index.d.ts +13 -0
- package/dist/esm/anyspend/types/index.js +13 -0
- package/dist/esm/anyspend/types/nft.d.ts +267 -0
- package/dist/esm/anyspend/types/nft.js +33 -0
- package/dist/esm/anyspend/types/onramp.d.ts +25 -0
- package/dist/esm/anyspend/types/onramp.js +14 -0
- package/dist/esm/anyspend/types/order.d.ts +1771 -0
- package/dist/esm/anyspend/types/order.js +82 -0
- package/dist/esm/anyspend/types/permit.d.ts +21 -0
- package/dist/esm/anyspend/types/permit.js +8 -0
- package/dist/esm/anyspend/types/relay.d.ts +10 -0
- package/dist/esm/anyspend/types/relay.js +9 -0
- package/dist/esm/anyspend/types/req-res/createOrder.d.ts +4113 -0
- package/dist/esm/anyspend/types/req-res/createOrder.js +57 -0
- package/dist/esm/anyspend/types/req-res/getCoinbaseOnrampOptions.d.ts +120 -0
- package/dist/esm/anyspend/types/req-res/getCoinbaseOnrampOptions.js +28 -0
- package/dist/esm/anyspend/types/req-res/getOrderAndTransactions.d.ts +3129 -0
- package/dist/esm/anyspend/types/req-res/getOrderAndTransactions.js +20 -0
- package/dist/esm/anyspend/types/req-res/getOrderByCreator.d.ts +28 -0
- package/dist/esm/anyspend/types/req-res/getOrderByCreator.js +8 -0
- package/dist/esm/anyspend/types/req-res/getOrderHistory.d.ts +2278 -0
- package/dist/esm/anyspend/types/req-res/getOrderHistory.js +8 -0
- package/dist/esm/anyspend/types/req-res/getQuote.d.ts +253 -0
- package/dist/esm/anyspend/types/req-res/getQuote.js +43 -0
- package/dist/esm/anyspend/types/req-res/getTokenList.d.ts +63 -0
- package/dist/esm/anyspend/types/req-res/getTokenList.js +15 -0
- package/dist/esm/anyspend/types/req-res/index.d.ts +8 -0
- package/dist/esm/anyspend/types/req-res/index.js +8 -0
- package/dist/esm/anyspend/types/req-res/sendPermitData.d.ts +66 -0
- package/dist/esm/anyspend/types/req-res/sendPermitData.js +8 -0
- package/dist/esm/anyspend/types/req-res/stripe.d.ts +0 -0
- package/dist/esm/anyspend/types/req-res/stripe.js +1 -0
- package/dist/esm/anyspend/types/swap.d.ts +119 -0
- package/dist/esm/anyspend/types/swap.js +10 -0
- package/dist/esm/anyspend/types/token.d.ts +34 -0
- package/dist/esm/anyspend/types/token.js +11 -0
- package/dist/esm/anyspend/types/tournament.d.ts +174 -0
- package/dist/esm/anyspend/types/tournament.js +21 -0
- package/dist/esm/anyspend/types/transaction.d.ts +84 -0
- package/dist/esm/anyspend/types/transaction.js +31 -0
- package/dist/esm/anyspend/utils/address.d.ts +4 -0
- package/dist/esm/anyspend/utils/address.js +23 -0
- package/dist/esm/anyspend/utils/chain.d.ts +25 -0
- package/dist/esm/anyspend/utils/chain.js +271 -0
- package/dist/esm/anyspend/utils/format.d.ts +6 -0
- package/dist/esm/anyspend/utils/format.js +54 -0
- package/dist/esm/anyspend/utils/index.d.ts +8 -0
- package/dist/esm/anyspend/utils/index.js +8 -0
- package/dist/esm/anyspend/utils/json.d.ts +1 -0
- package/dist/esm/anyspend/utils/json.js +3 -0
- package/dist/esm/anyspend/utils/number.d.ts +13 -0
- package/dist/esm/anyspend/utils/number.js +79 -0
- package/dist/esm/anyspend/utils/orderPayload.d.ts +127 -0
- package/dist/esm/anyspend/utils/orderPayload.js +51 -0
- package/dist/esm/anyspend/utils/string.d.ts +1 -0
- package/dist/esm/anyspend/utils/string.js +5 -0
- package/dist/esm/anyspend/utils/token.d.ts +7 -0
- package/dist/esm/anyspend/utils/token.js +65 -0
- package/dist/esm/generated/chain-networks.json +483 -0
- package/dist/esm/global-account/app.d.ts +4 -0
- package/dist/esm/global-account/app.js +57 -0
- package/dist/esm/global-account/app.native.d.ts +5 -0
- package/dist/esm/global-account/app.native.js +83 -0
- package/dist/esm/global-account/bsmnt.d.ts +4 -0
- package/dist/esm/global-account/bsmnt.js +61 -0
- package/dist/esm/global-account/bsmnt.native.d.ts +5 -0
- package/dist/esm/global-account/bsmnt.native.js +86 -0
- package/dist/esm/global-account/index.d.ts +9 -0
- package/dist/esm/global-account/index.js +11 -0
- package/dist/esm/global-account/index.native.d.ts +3 -0
- package/dist/esm/global-account/index.native.js +11 -0
- package/dist/esm/global-account/react/components/AccountAssets/AccountAssets.d.ts +7 -0
- package/dist/esm/global-account/react/components/AccountAssets/AccountAssets.js +10 -0
- package/dist/esm/global-account/react/components/B3DynamicModal.d.ts +1 -0
- package/dist/esm/global-account/react/components/B3DynamicModal.js +86 -0
- package/dist/esm/global-account/react/components/B3Provider.d.ts +53 -0
- package/dist/esm/global-account/react/components/B3Provider.js +109 -0
- package/dist/esm/global-account/react/components/B3Provider.native.d.ts +46 -0
- package/dist/esm/global-account/react/components/B3Provider.native.js +70 -0
- package/dist/esm/global-account/react/components/ManageAccount/ManageAccount.d.ts +11 -0
- package/dist/esm/global-account/react/components/ManageAccount/ManageAccount.js +79 -0
- package/dist/esm/global-account/react/components/MintButton/MintButton.d.ts +17 -0
- package/dist/esm/global-account/react/components/MintButton/MintButton.js +48 -0
- package/dist/esm/global-account/react/components/ProfileAvatar.d.ts +0 -0
- package/dist/esm/global-account/react/components/ProfileAvatar.js +127 -0
- package/dist/esm/global-account/react/components/RelayKitProviderWrapper.d.ts +4 -0
- package/dist/esm/global-account/react/components/RelayKitProviderWrapper.js +26 -0
- package/dist/esm/global-account/react/components/RequestPermissions/RequestPermissions.d.ts +6 -0
- package/dist/esm/global-account/react/components/RequestPermissions/RequestPermissions.js +77 -0
- package/dist/esm/global-account/react/components/RequestPermissions/RequestPermissionsButton.d.ts +11 -0
- package/dist/esm/global-account/react/components/RequestPermissions/RequestPermissionsButton.js +23 -0
- package/dist/esm/global-account/react/components/SignInWithB3/SignInWithB3.d.ts +10 -0
- package/dist/esm/global-account/react/components/SignInWithB3/SignInWithB3.js +39 -0
- package/dist/esm/global-account/react/components/SignInWithB3/SignInWithB3Flow.d.ts +6 -0
- package/dist/esm/global-account/react/components/SignInWithB3/SignInWithB3Flow.js +200 -0
- package/dist/esm/global-account/react/components/SignInWithB3/SignInWithB3Privy.d.ts +11 -0
- package/dist/esm/global-account/react/components/SignInWithB3/SignInWithB3Privy.js +45 -0
- package/dist/esm/global-account/react/components/SignInWithB3/components/AuthButton.d.ts +5 -0
- package/dist/esm/global-account/react/components/SignInWithB3/components/AuthButton.js +6 -0
- package/dist/esm/global-account/react/components/SignInWithB3/components/PermissionItem.d.ts +10 -0
- package/dist/esm/global-account/react/components/SignInWithB3/components/PermissionItem.js +5 -0
- package/dist/esm/global-account/react/components/SignInWithB3/components/WalletRow.d.ts +6 -0
- package/dist/esm/global-account/react/components/SignInWithB3/components/WalletRow.js +6 -0
- package/dist/esm/global-account/react/components/SignInWithB3/steps/LoginStep.d.ts +24 -0
- package/dist/esm/global-account/react/components/SignInWithB3/steps/LoginStep.js +82 -0
- package/dist/esm/global-account/react/components/SignInWithB3/steps/LoginStepCustom.d.ts +14 -0
- package/dist/esm/global-account/react/components/SignInWithB3/steps/LoginStepCustom.js +70 -0
- package/dist/esm/global-account/react/components/SignInWithB3/utils/signInUtils.d.ts +17 -0
- package/dist/esm/global-account/react/components/SignInWithB3/utils/signInUtils.js +50 -0
- package/dist/esm/global-account/react/components/StyleRoot.d.ts +4 -0
- package/dist/esm/global-account/react/components/StyleRoot.js +7 -0
- package/dist/esm/global-account/react/components/Transak/TransakModal.d.ts +1 -0
- package/dist/esm/global-account/react/components/Transak/TransakModal.js +107 -0
- package/dist/esm/global-account/react/components/custom/Button.d.ts +12 -0
- package/dist/esm/global-account/react/components/custom/Button.js +32 -0
- package/dist/esm/global-account/react/components/custom/ClientOnly.d.ts +7 -0
- package/dist/esm/global-account/react/components/custom/ClientOnly.js +10 -0
- package/dist/esm/global-account/react/components/custom/CopyToClipboard.d.ts +7 -0
- package/dist/esm/global-account/react/components/custom/CopyToClipboard.js +18 -0
- package/dist/esm/global-account/react/components/custom/StaggeredFadeLoader.d.ts +4 -0
- package/dist/esm/global-account/react/components/custom/StaggeredFadeLoader.js +21 -0
- package/dist/esm/global-account/react/components/custom/WalletConnectorIcon.d.ts +4 -0
- package/dist/esm/global-account/react/components/custom/WalletConnectorIcon.js +24 -0
- package/dist/esm/global-account/react/components/magicui/AnimatedLottie.d.ts +13 -0
- package/dist/esm/global-account/react/components/magicui/AnimatedLottie.js +58 -0
- package/dist/esm/global-account/react/components/ui/Loading.d.ts +7 -0
- package/dist/esm/global-account/react/components/ui/Loading.js +15 -0
- package/dist/esm/global-account/react/components/ui/ShinyButton.d.ts +14 -0
- package/dist/esm/global-account/react/components/ui/ShinyButton.js +24 -0
- package/dist/esm/global-account/react/components/ui/TabSystem.d.ts +30 -0
- package/dist/esm/global-account/react/components/ui/TabSystem.js +46 -0
- package/dist/esm/global-account/react/components/ui/Tabs.d.ts +9 -0
- package/dist/esm/global-account/react/components/ui/Tabs.js +13 -0
- package/dist/esm/global-account/react/components/ui/badge.d.ts +9 -0
- package/dist/esm/global-account/react/components/ui/badge.js +20 -0
- package/dist/esm/global-account/react/components/ui/button.d.ts +11 -0
- package/dist/esm/global-account/react/components/ui/button.js +35 -0
- package/dist/esm/global-account/react/components/ui/command.d.ts +82 -0
- package/dist/esm/global-account/react/components/ui/command.js +30 -0
- package/dist/esm/global-account/react/components/ui/dialog.d.ts +30 -0
- package/dist/esm/global-account/react/components/ui/dialog.js +26 -0
- package/dist/esm/global-account/react/components/ui/drawer.d.ts +22 -0
- package/dist/esm/global-account/react/components/ui/drawer.js +26 -0
- package/dist/esm/global-account/react/components/ui/glare-card-rounded.d.ts +4 -0
- package/dist/esm/global-account/react/components/ui/glare-card-rounded.js +142 -0
- package/dist/esm/global-account/react/components/ui/glare-card.d.ts +4 -0
- package/dist/esm/global-account/react/components/ui/glare-card.js +104 -0
- package/dist/esm/global-account/react/components/ui/input.d.ts +5 -0
- package/dist/esm/global-account/react/components/ui/input.js +10 -0
- package/dist/esm/global-account/react/components/ui/popover.d.ts +6 -0
- package/dist/esm/global-account/react/components/ui/popover.js +11 -0
- package/dist/esm/global-account/react/components/ui/scroll-area.d.ts +5 -0
- package/dist/esm/global-account/react/components/ui/scroll-area.js +10 -0
- package/dist/esm/global-account/react/components/ui/skeleton.d.ts +2 -0
- package/dist/esm/global-account/react/components/ui/skeleton.js +6 -0
- package/dist/esm/global-account/react/components/ui/text-loop.d.ts +11 -0
- package/dist/esm/global-account/react/components/ui/text-loop.js +26 -0
- package/dist/esm/global-account/react/components/ui/text-shimmer.d.ts +10 -0
- package/dist/esm/global-account/react/components/ui/text-shimmer.js +19 -0
- package/dist/esm/global-account/react/components/ui/tooltip.d.ts +7 -0
- package/dist/esm/global-account/react/components/ui/tooltip.js +11 -0
- package/dist/esm/global-account/react/components/ui/transition-panel.d.ts +14 -0
- package/dist/esm/global-account/react/components/ui/transition-panel.js +7 -0
- package/dist/esm/global-account/react/hooks/useAccountAssets.d.ts +3 -0
- package/dist/esm/global-account/react/hooks/useAccountAssets.js +32 -0
- package/dist/esm/global-account/react/hooks/useAccountWallet.d.ts +18 -0
- package/dist/esm/global-account/react/hooks/useAccountWallet.js +67 -0
- package/dist/esm/global-account/react/hooks/useAddTWSessionKey.d.ts +21 -0
- package/dist/esm/global-account/react/hooks/useAddTWSessionKey.js +50 -0
- package/dist/esm/global-account/react/hooks/useAuthentication.d.ts +10 -0
- package/dist/esm/global-account/react/hooks/useAuthentication.js +117 -0
- package/dist/esm/global-account/react/hooks/useB3BalanceFromAddresses.d.ts +15 -0
- package/dist/esm/global-account/react/hooks/useB3BalanceFromAddresses.js +67 -0
- package/dist/esm/global-account/react/hooks/useBestTransactionPath.d.ts +41 -0
- package/dist/esm/global-account/react/hooks/useBestTransactionPath.js +147 -0
- package/dist/esm/global-account/react/hooks/useBsmntProfile.d.ts +4 -0
- package/dist/esm/global-account/react/hooks/useBsmntProfile.js +9 -0
- package/dist/esm/global-account/react/hooks/useChainSwitchWithAction.d.ts +5 -0
- package/dist/esm/global-account/react/hooks/useChainSwitchWithAction.js +70 -0
- package/dist/esm/global-account/react/hooks/useClaim.d.ts +16 -0
- package/dist/esm/global-account/react/hooks/useClaim.js +46 -0
- package/dist/esm/global-account/react/hooks/useConnect.d.ts +9 -0
- package/dist/esm/global-account/react/hooks/useConnect.js +49 -0
- package/dist/esm/global-account/react/hooks/useExchangeRate.d.ts +12 -0
- package/dist/esm/global-account/react/hooks/useExchangeRate.js +27 -0
- package/dist/esm/global-account/react/hooks/useGetAllTWSigners.d.ts +30 -0
- package/dist/esm/global-account/react/hooks/useGetAllTWSigners.js +71 -0
- package/dist/esm/global-account/react/hooks/useGetGeo.d.ts +17 -0
- package/dist/esm/global-account/react/hooks/useGetGeo.js +18 -0
- package/dist/esm/global-account/react/hooks/useHandleConnectWithPrivy.d.ts +11 -0
- package/dist/esm/global-account/react/hooks/useHandleConnectWithPrivy.js +66 -0
- package/dist/esm/global-account/react/hooks/useHasMounted.d.ts +1 -0
- package/dist/esm/global-account/react/hooks/useHasMounted.js +8 -0
- package/dist/esm/global-account/react/hooks/useIsMobile.d.ts +2 -0
- package/dist/esm/global-account/react/hooks/useIsMobile.js +6 -0
- package/dist/esm/global-account/react/hooks/useIsomorphicLayoutEffect.d.ts +2 -0
- package/dist/esm/global-account/react/hooks/useIsomorphicLayoutEffect.js +2 -0
- package/dist/esm/global-account/react/hooks/useMediaQuery.d.ts +6 -0
- package/dist/esm/global-account/react/hooks/useMediaQuery.js +44 -0
- package/dist/esm/global-account/react/hooks/useNativeBalance.d.ts +22 -0
- package/dist/esm/global-account/react/hooks/useNativeBalance.js +72 -0
- package/dist/esm/global-account/react/hooks/useOnchainName.d.ts +19 -0
- package/dist/esm/global-account/react/hooks/useOnchainName.js +187 -0
- package/dist/esm/global-account/react/hooks/useOneBalance.d.ts +26 -0
- package/dist/esm/global-account/react/hooks/useOneBalance.js +65 -0
- package/dist/esm/global-account/react/hooks/useQueryB3.d.ts +25 -0
- package/dist/esm/global-account/react/hooks/useQueryB3.js +34 -0
- package/dist/esm/global-account/react/hooks/useQueryBSMNT.d.ts +25 -0
- package/dist/esm/global-account/react/hooks/useQueryBSMNT.js +34 -0
- package/dist/esm/global-account/react/hooks/useRemoveSessionKey.d.ts +16 -0
- package/dist/esm/global-account/react/hooks/useRemoveSessionKey.js +43 -0
- package/dist/esm/global-account/react/hooks/useRouter.d.ts +14 -0
- package/dist/esm/global-account/react/hooks/useRouter.js +75 -0
- package/dist/esm/global-account/react/hooks/useSearchParamsSSR.d.ts +2 -0
- package/dist/esm/global-account/react/hooks/useSearchParamsSSR.js +27 -0
- package/dist/esm/global-account/react/hooks/useSiwe.d.ts +4 -0
- package/dist/esm/global-account/react/hooks/useSiwe.js +32 -0
- package/dist/esm/global-account/react/hooks/useTokenBalance.d.ts +12 -0
- package/dist/esm/global-account/react/hooks/useTokenBalance.js +61 -0
- package/dist/esm/global-account/react/hooks/useTokenBalancesByChain.d.ts +22 -0
- package/dist/esm/global-account/react/hooks/useTokenBalancesByChain.js +55 -0
- package/dist/esm/global-account/react/hooks/useTokenData.d.ts +9 -0
- package/dist/esm/global-account/react/hooks/useTokenData.js +44 -0
- package/dist/esm/global-account/react/hooks/useTokenFromUrl.d.ts +17 -0
- package/dist/esm/global-account/react/hooks/useTokenFromUrl.js +27 -0
- package/dist/esm/global-account/react/hooks/useTokenPrice.d.ts +17 -0
- package/dist/esm/global-account/react/hooks/useTokenPrice.js +45 -0
- package/dist/esm/global-account/react/hooks/useTokenPriceWithFallback.d.ts +15 -0
- package/dist/esm/global-account/react/hooks/useTokenPriceWithFallback.js +31 -0
- package/dist/esm/global-account/react/hooks/useTokensFromAddress.d.ts +54 -0
- package/dist/esm/global-account/react/hooks/useTokensFromAddress.js +45 -0
- package/dist/esm/global-account/react/hooks/useURLParams.d.ts +8 -0
- package/dist/esm/global-account/react/hooks/useURLParams.js +32 -0
- package/dist/esm/global-account/react/stores/useAuthStore.d.ts +26 -0
- package/dist/esm/global-account/react/stores/useAuthStore.js +36 -0
- package/dist/esm/global-account/react/stores/useModalStore.d.ts +267 -0
- package/dist/esm/global-account/react/stores/useModalStore.js +33 -0
- package/dist/esm/global-account/server.d.ts +8 -0
- package/dist/esm/global-account/server.js +22 -0
- package/dist/esm/global-account/types/b3-api.d.ts +3 -0
- package/dist/esm/global-account/types/b3-api.js +3 -0
- package/dist/esm/global-account/types/b3-api.types.d.ts +51 -0
- package/dist/esm/global-account/types/b3-api.types.js +3 -0
- package/dist/esm/global-account/types/chain-networks.d.ts +44 -0
- package/dist/esm/global-account/types/chain-networks.js +45 -0
- package/dist/esm/global-account/types/feature-flags.d.ts +8 -0
- package/dist/esm/global-account/types/feature-flags.js +7 -0
- package/dist/esm/global-account/types/permissions.d.ts +21 -0
- package/dist/esm/global-account/types/permissions.js +1 -0
- package/dist/esm/global-account/types/reservoir.types.d.ts +89 -0
- package/dist/esm/global-account/types/reservoir.types.js +1 -0
- package/dist/esm/global-account/types/simplehash.types.d.ts +292 -0
- package/dist/esm/global-account/types/simplehash.types.js +1 -0
- package/dist/esm/global-account/types.d.ts +19 -0
- package/dist/esm/global-account/types.js +1 -0
- package/dist/esm/shared/constants/chains/b3Chain.d.ts +144 -0
- package/dist/esm/shared/constants/chains/b3Chain.js +161 -0
- package/dist/esm/shared/constants/chains/chainPlatformMap.d.ts +24 -0
- package/dist/esm/shared/constants/chains/chainPlatformMap.js +43 -0
- package/dist/esm/shared/constants/chains/supported.d.ts +53 -0
- package/dist/esm/shared/constants/chains/supported.js +25 -0
- package/dist/esm/shared/constants/index.d.ts +15 -0
- package/dist/esm/shared/constants/index.js +18 -0
- package/dist/esm/shared/thirdweb/generated/@tanstack/react-query.gen.d.ts +11494 -0
- package/dist/esm/shared/thirdweb/generated/@tanstack/react-query.gen.js +1225 -0
- package/dist/esm/shared/thirdweb/generated/client.gen.d.ts +12 -0
- package/dist/esm/shared/thirdweb/generated/client.gen.js +3 -0
- package/dist/esm/shared/thirdweb/generated/index.d.ts +2 -0
- package/dist/esm/shared/thirdweb/generated/index.js +3 -0
- package/dist/esm/shared/thirdweb/generated/sdk.gen.d.ts +1448 -0
- package/dist/esm/shared/thirdweb/generated/sdk.gen.js +995 -0
- package/dist/esm/shared/thirdweb/generated/types.gen.d.ts +4159 -0
- package/dist/esm/shared/thirdweb/generated/types.gen.js +2 -0
- package/dist/esm/shared/thirdweb/initiateClient.d.ts +1 -0
- package/dist/esm/shared/thirdweb/initiateClient.js +25 -0
- package/dist/esm/shared/thirdweb/openapi-ts.config.d.ts +2 -0
- package/dist/esm/shared/thirdweb/openapi-ts.config.js +6 -0
- package/dist/esm/shared/utils/b3Ens.d.ts +5 -0
- package/dist/esm/shared/utils/b3Ens.js +23 -0
- package/dist/esm/shared/utils/centerTruncate.d.ts +1 -0
- package/dist/esm/shared/utils/centerTruncate.js +11 -0
- package/dist/esm/shared/utils/chain-transformers.d.ts +5 -0
- package/dist/esm/shared/utils/chain-transformers.js +46 -0
- package/dist/esm/shared/utils/chains.d.ts +6 -0
- package/dist/esm/shared/utils/chains.js +31 -0
- package/dist/esm/shared/utils/cn.d.ts +2 -0
- package/dist/esm/shared/utils/cn.js +5 -0
- package/dist/esm/shared/utils/colors.d.ts +2 -0
- package/dist/esm/shared/utils/colors.js +29 -0
- package/dist/esm/shared/utils/cookies.d.ts +3 -0
- package/dist/esm/shared/utils/cookies.js +12 -0
- package/dist/esm/shared/utils/debug.d.ts +4 -0
- package/dist/esm/shared/utils/debug.js +13 -0
- package/dist/esm/shared/utils/fetchBalances.d.ts +16 -0
- package/dist/esm/shared/utils/fetchBalances.js +60 -0
- package/dist/esm/shared/utils/fetchBsmntProfile.d.ts +1 -0
- package/dist/esm/shared/utils/fetchBsmntProfile.js +23 -0
- package/dist/esm/shared/utils/formatAddress.d.ts +2 -0
- package/dist/esm/shared/utils/formatAddress.js +14 -0
- package/dist/esm/shared/utils/formatNumber.d.ts +7 -0
- package/dist/esm/shared/utils/formatNumber.js +45 -0
- package/dist/esm/shared/utils/index.d.ts +2 -0
- package/dist/esm/shared/utils/index.js +6 -0
- package/dist/esm/shared/utils/insights.d.ts +7 -0
- package/dist/esm/shared/utils/insights.js +381 -0
- package/dist/esm/shared/utils/ipfs.d.ts +12 -0
- package/dist/esm/shared/utils/ipfs.js +29 -0
- package/dist/esm/shared/utils/number.d.ts +11 -0
- package/dist/esm/shared/utils/number.js +102 -0
- package/dist/esm/shared/utils/payment.utils.d.ts +5 -0
- package/dist/esm/shared/utils/payment.utils.js +30 -0
- package/dist/esm/shared/utils/simplehash.d.ts +12 -0
- package/dist/esm/shared/utils/simplehash.js +286 -0
- package/dist/esm/shared/utils/sprinter.d.ts +1 -0
- package/dist/esm/shared/utils/sprinter.js +11 -0
- package/dist/esm/shared/utils/thirdweb-insights.d.ts +105 -0
- package/dist/esm/shared/utils/thirdweb-insights.js +192 -0
- package/dist/esm/shared/utils/thirdweb.d.ts +1 -0
- package/dist/esm/shared/utils/thirdweb.js +8 -0
- package/dist/esm/styles/index.d.ts +20 -0
- package/dist/esm/styles/index.js +20 -0
- package/dist/styles/index.css +1 -0
- package/dist/types/anyspend/abis/abi-usdc-base.d.ts +1074 -0
- package/dist/types/anyspend/abis/erc20-staking.d.ts +540 -0
- package/dist/types/anyspend/constants/index.d.ts +28 -0
- package/dist/types/anyspend/index.d.ts +13 -0
- package/dist/types/anyspend/react/components/AnySpend.d.ts +22 -0
- package/dist/types/anyspend/react/components/AnySpendBuySpin.d.ts +9 -0
- package/dist/types/anyspend/react/components/AnySpendCustom.d.ts +22 -0
- package/dist/types/anyspend/react/components/AnySpendNFT.d.ts +8 -0
- package/dist/types/anyspend/react/components/AnySpendNFTButton.d.ts +7 -0
- package/dist/types/anyspend/react/components/AnySpendStakeB3.d.ts +8 -0
- package/dist/types/anyspend/react/components/AnySpendTournament.d.ts +27 -0
- package/dist/types/anyspend/react/components/common/ChainTokenIcon.d.ts +5 -0
- package/dist/types/anyspend/react/components/common/HowItWorks.d.ts +10 -0
- package/dist/types/anyspend/react/components/common/OrderDetails.d.ts +14 -0
- package/dist/types/anyspend/react/components/common/OrderHistory.d.ts +7 -0
- package/dist/types/anyspend/react/components/common/OrderHistoryItem.d.ts +8 -0
- package/dist/types/anyspend/react/components/common/OrderStatus.d.ts +4 -0
- package/dist/types/anyspend/react/components/common/OrderToken.d.ts +11 -0
- package/dist/types/anyspend/react/components/common/OrderTokenAmount.d.ts +18 -0
- package/dist/types/anyspend/react/components/common/PanelOnramp.d.ts +4 -0
- package/dist/types/anyspend/react/components/common/PanelOnrampPayment.d.ts +29 -0
- package/dist/types/anyspend/react/components/common/PaymentMethodIcons.d.ts +1 -0
- package/dist/types/anyspend/react/components/common/PaymentOneClick.d.ts +7 -0
- package/dist/types/anyspend/react/components/common/PaymentOptions.d.ts +1 -0
- package/dist/types/anyspend/react/components/common/PaymentStripeWeb2.d.ts +8 -0
- package/dist/types/anyspend/react/components/common/PaymentVendorUI.d.ts +8 -0
- package/dist/types/anyspend/react/components/common/TokenBalance.d.ts +6 -0
- package/dist/types/anyspend/react/components/icons/EthIcon.d.ts +3 -0
- package/dist/types/anyspend/react/components/icons/SolIcon.d.ts +3 -0
- package/dist/types/anyspend/react/components/icons/USDCIcon.d.ts +3 -0
- package/dist/types/anyspend/react/components/modals/EnterRecipientModal.d.ts +6 -0
- package/dist/types/anyspend/react/hooks/index.d.ts +13 -0
- package/dist/types/anyspend/react/hooks/useAnyspendCreateOnrampOrder.d.ts +39 -0
- package/dist/types/anyspend/react/hooks/useAnyspendCreateOrder.d.ts +34 -0
- package/dist/types/anyspend/react/hooks/useAnyspendOrderAndTransactions.d.ts +706 -0
- package/dist/types/anyspend/react/hooks/useAnyspendOrderHistory.d.ts +634 -0
- package/dist/types/anyspend/react/hooks/useAnyspendQuote.d.ts +23 -0
- package/dist/types/anyspend/react/hooks/useAnyspendSendPermitData.d.ts +16 -0
- package/dist/types/anyspend/react/hooks/useAnyspendTokens.d.ts +23 -0
- package/dist/types/anyspend/react/hooks/useCoinbaseOnrampOptions.d.ts +48 -0
- package/dist/types/anyspend/react/hooks/useGeoOnrampOptions.d.ts +40 -0
- package/dist/types/anyspend/react/hooks/useGetGeo.d.ts +16 -0
- package/dist/types/anyspend/react/hooks/usePermitData.d.ts +92 -0
- package/dist/types/anyspend/react/hooks/useStripeClientSecret.d.ts +6 -0
- package/dist/types/anyspend/react/hooks/useStripeSupport.d.ts +10 -0
- package/dist/types/anyspend/react/providers/AnyspendProvider.d.ts +27 -0
- package/dist/types/anyspend/services/anyspend.d.ts +372 -0
- package/dist/types/anyspend/types/chain.d.ts +26 -0
- package/dist/types/anyspend/types/custom.d.ts +130 -0
- package/dist/types/anyspend/types/globalWallet.d.ts +18 -0
- package/dist/types/anyspend/types/index.d.ts +13 -0
- package/dist/types/anyspend/types/nft.d.ts +267 -0
- package/dist/types/anyspend/types/onramp.d.ts +25 -0
- package/dist/types/anyspend/types/order.d.ts +1771 -0
- package/dist/types/anyspend/types/permit.d.ts +21 -0
- package/dist/types/anyspend/types/relay.d.ts +10 -0
- package/dist/types/anyspend/types/req-res/createOrder.d.ts +4113 -0
- package/dist/types/anyspend/types/req-res/getCoinbaseOnrampOptions.d.ts +120 -0
- package/dist/types/anyspend/types/req-res/getOrderAndTransactions.d.ts +3129 -0
- package/dist/types/anyspend/types/req-res/getOrderByCreator.d.ts +28 -0
- package/dist/types/anyspend/types/req-res/getOrderHistory.d.ts +2278 -0
- package/dist/types/anyspend/types/req-res/getQuote.d.ts +253 -0
- package/dist/types/anyspend/types/req-res/getTokenList.d.ts +63 -0
- package/dist/types/anyspend/types/req-res/index.d.ts +8 -0
- package/dist/types/anyspend/types/req-res/sendPermitData.d.ts +66 -0
- package/dist/types/anyspend/types/req-res/stripe.d.ts +0 -0
- package/dist/types/anyspend/types/swap.d.ts +119 -0
- package/dist/types/anyspend/types/token.d.ts +34 -0
- package/dist/types/anyspend/types/tournament.d.ts +174 -0
- package/dist/types/anyspend/types/transaction.d.ts +84 -0
- package/dist/types/anyspend/utils/address.d.ts +4 -0
- package/dist/types/anyspend/utils/chain.d.ts +25 -0
- package/dist/types/anyspend/utils/format.d.ts +6 -0
- package/dist/types/anyspend/utils/index.d.ts +8 -0
- package/dist/types/anyspend/utils/json.d.ts +1 -0
- package/dist/types/anyspend/utils/number.d.ts +13 -0
- package/dist/types/anyspend/utils/orderPayload.d.ts +127 -0
- package/dist/types/anyspend/utils/string.d.ts +1 -0
- package/dist/types/anyspend/utils/token.d.ts +7 -0
- package/dist/types/global-account/app.d.ts +4 -0
- package/dist/types/global-account/app.native.d.ts +5 -0
- package/dist/types/global-account/bsmnt.d.ts +4 -0
- package/dist/types/global-account/bsmnt.native.d.ts +5 -0
- package/dist/types/global-account/index.d.ts +9 -0
- package/dist/types/global-account/index.native.d.ts +3 -0
- package/dist/types/global-account/react/components/AccountAssets/AccountAssets.d.ts +7 -0
- package/dist/types/global-account/react/components/B3DynamicModal.d.ts +1 -0
- package/dist/types/global-account/react/components/B3Provider.d.ts +53 -0
- package/dist/types/global-account/react/components/B3Provider.native.d.ts +46 -0
- package/dist/types/global-account/react/components/ManageAccount/ManageAccount.d.ts +11 -0
- package/dist/types/global-account/react/components/MintButton/MintButton.d.ts +17 -0
- package/dist/types/global-account/react/components/ProfileAvatar.d.ts +0 -0
- package/dist/types/global-account/react/components/RelayKitProviderWrapper.d.ts +4 -0
- package/dist/types/global-account/react/components/RequestPermissions/RequestPermissions.d.ts +6 -0
- package/dist/types/global-account/react/components/RequestPermissions/RequestPermissionsButton.d.ts +11 -0
- package/dist/types/global-account/react/components/SignInWithB3/SignInWithB3.d.ts +10 -0
- package/dist/types/global-account/react/components/SignInWithB3/SignInWithB3Flow.d.ts +6 -0
- package/dist/types/global-account/react/components/SignInWithB3/SignInWithB3Privy.d.ts +11 -0
- package/dist/types/global-account/react/components/SignInWithB3/components/AuthButton.d.ts +5 -0
- package/dist/types/global-account/react/components/SignInWithB3/components/PermissionItem.d.ts +10 -0
- package/dist/types/global-account/react/components/SignInWithB3/components/WalletRow.d.ts +6 -0
- package/dist/types/global-account/react/components/SignInWithB3/steps/LoginStep.d.ts +24 -0
- package/dist/types/global-account/react/components/SignInWithB3/steps/LoginStepCustom.d.ts +14 -0
- package/dist/types/global-account/react/components/SignInWithB3/utils/signInUtils.d.ts +17 -0
- package/dist/types/global-account/react/components/StyleRoot.d.ts +4 -0
- package/dist/types/global-account/react/components/Transak/TransakModal.d.ts +1 -0
- package/dist/types/global-account/react/components/custom/Button.d.ts +12 -0
- package/dist/types/global-account/react/components/custom/ClientOnly.d.ts +7 -0
- package/dist/types/global-account/react/components/custom/CopyToClipboard.d.ts +7 -0
- package/dist/types/global-account/react/components/custom/StaggeredFadeLoader.d.ts +4 -0
- package/dist/types/global-account/react/components/custom/WalletConnectorIcon.d.ts +4 -0
- package/dist/types/global-account/react/components/magicui/AnimatedLottie.d.ts +13 -0
- package/dist/types/global-account/react/components/ui/Loading.d.ts +7 -0
- package/dist/types/global-account/react/components/ui/ShinyButton.d.ts +14 -0
- package/dist/types/global-account/react/components/ui/TabSystem.d.ts +30 -0
- package/dist/types/global-account/react/components/ui/Tabs.d.ts +9 -0
- package/dist/types/global-account/react/components/ui/badge.d.ts +9 -0
- package/dist/types/global-account/react/components/ui/button.d.ts +11 -0
- package/dist/types/global-account/react/components/ui/command.d.ts +82 -0
- package/dist/types/global-account/react/components/ui/dialog.d.ts +30 -0
- package/dist/types/global-account/react/components/ui/drawer.d.ts +22 -0
- package/dist/types/global-account/react/components/ui/glare-card-rounded.d.ts +4 -0
- package/dist/types/global-account/react/components/ui/glare-card.d.ts +4 -0
- package/dist/types/global-account/react/components/ui/input.d.ts +5 -0
- package/dist/types/global-account/react/components/ui/popover.d.ts +6 -0
- package/dist/types/global-account/react/components/ui/scroll-area.d.ts +5 -0
- package/dist/types/global-account/react/components/ui/skeleton.d.ts +2 -0
- package/dist/types/global-account/react/components/ui/text-loop.d.ts +11 -0
- package/dist/types/global-account/react/components/ui/text-shimmer.d.ts +10 -0
- package/dist/types/global-account/react/components/ui/tooltip.d.ts +7 -0
- package/dist/types/global-account/react/components/ui/transition-panel.d.ts +14 -0
- package/dist/types/global-account/react/hooks/useAccountAssets.d.ts +3 -0
- package/dist/types/global-account/react/hooks/useAccountWallet.d.ts +18 -0
- package/dist/types/global-account/react/hooks/useAddTWSessionKey.d.ts +21 -0
- package/dist/types/global-account/react/hooks/useAuthentication.d.ts +10 -0
- package/dist/types/global-account/react/hooks/useB3BalanceFromAddresses.d.ts +15 -0
- package/dist/types/global-account/react/hooks/useBestTransactionPath.d.ts +41 -0
- package/dist/types/global-account/react/hooks/useBsmntProfile.d.ts +4 -0
- package/dist/types/global-account/react/hooks/useChainSwitchWithAction.d.ts +5 -0
- package/dist/types/global-account/react/hooks/useClaim.d.ts +16 -0
- package/dist/types/global-account/react/hooks/useConnect.d.ts +9 -0
- package/dist/types/global-account/react/hooks/useExchangeRate.d.ts +12 -0
- package/dist/types/global-account/react/hooks/useGetAllTWSigners.d.ts +30 -0
- package/dist/types/global-account/react/hooks/useGetGeo.d.ts +17 -0
- package/dist/types/global-account/react/hooks/useHandleConnectWithPrivy.d.ts +11 -0
- package/dist/types/global-account/react/hooks/useHasMounted.d.ts +1 -0
- package/dist/types/global-account/react/hooks/useIsMobile.d.ts +2 -0
- package/dist/types/global-account/react/hooks/useIsomorphicLayoutEffect.d.ts +2 -0
- package/dist/types/global-account/react/hooks/useMediaQuery.d.ts +6 -0
- package/dist/types/global-account/react/hooks/useNativeBalance.d.ts +22 -0
- package/dist/types/global-account/react/hooks/useOnchainName.d.ts +19 -0
- package/dist/types/global-account/react/hooks/useOneBalance.d.ts +26 -0
- package/dist/types/global-account/react/hooks/useQueryB3.d.ts +25 -0
- package/dist/types/global-account/react/hooks/useQueryBSMNT.d.ts +25 -0
- package/dist/types/global-account/react/hooks/useRemoveSessionKey.d.ts +16 -0
- package/dist/types/global-account/react/hooks/useRouter.d.ts +14 -0
- package/dist/types/global-account/react/hooks/useSearchParamsSSR.d.ts +2 -0
- package/dist/types/global-account/react/hooks/useSiwe.d.ts +4 -0
- package/dist/types/global-account/react/hooks/useTokenBalance.d.ts +12 -0
- package/dist/types/global-account/react/hooks/useTokenBalancesByChain.d.ts +22 -0
- package/dist/types/global-account/react/hooks/useTokenData.d.ts +9 -0
- package/dist/types/global-account/react/hooks/useTokenFromUrl.d.ts +17 -0
- package/dist/types/global-account/react/hooks/useTokenPrice.d.ts +17 -0
- package/dist/types/global-account/react/hooks/useTokenPriceWithFallback.d.ts +15 -0
- package/dist/types/global-account/react/hooks/useTokensFromAddress.d.ts +54 -0
- package/dist/types/global-account/react/hooks/useURLParams.d.ts +8 -0
- package/dist/types/global-account/react/stores/useAuthStore.d.ts +26 -0
- package/dist/types/global-account/react/stores/useModalStore.d.ts +267 -0
- package/dist/types/global-account/server.d.ts +8 -0
- package/dist/types/global-account/types/b3-api.d.ts +3 -0
- package/dist/types/global-account/types/b3-api.types.d.ts +51 -0
- package/dist/types/global-account/types/chain-networks.d.ts +44 -0
- package/dist/types/global-account/types/feature-flags.d.ts +8 -0
- package/dist/types/global-account/types/permissions.d.ts +21 -0
- package/dist/types/global-account/types/reservoir.types.d.ts +89 -0
- package/dist/types/global-account/types/simplehash.types.d.ts +292 -0
- package/dist/types/global-account/types.d.ts +19 -0
- package/dist/types/shared/constants/chains/b3Chain.d.ts +144 -0
- package/dist/types/shared/constants/chains/chainPlatformMap.d.ts +24 -0
- package/dist/types/shared/constants/chains/supported.d.ts +53 -0
- package/dist/types/shared/constants/index.d.ts +15 -0
- package/dist/types/shared/thirdweb/generated/@tanstack/react-query.gen.d.ts +11494 -0
- package/dist/types/shared/thirdweb/generated/client.gen.d.ts +12 -0
- package/dist/types/shared/thirdweb/generated/index.d.ts +2 -0
- package/dist/types/shared/thirdweb/generated/sdk.gen.d.ts +1448 -0
- package/dist/types/shared/thirdweb/generated/types.gen.d.ts +4159 -0
- package/dist/types/shared/thirdweb/initiateClient.d.ts +1 -0
- package/dist/types/shared/thirdweb/openapi-ts.config.d.ts +2 -0
- package/dist/types/shared/utils/b3Ens.d.ts +5 -0
- package/dist/types/shared/utils/centerTruncate.d.ts +1 -0
- package/dist/types/shared/utils/chain-transformers.d.ts +5 -0
- package/dist/types/shared/utils/chains.d.ts +6 -0
- package/dist/types/shared/utils/cn.d.ts +2 -0
- package/dist/types/shared/utils/colors.d.ts +2 -0
- package/dist/types/shared/utils/cookies.d.ts +3 -0
- package/dist/types/shared/utils/debug.d.ts +4 -0
- package/dist/types/shared/utils/fetchBalances.d.ts +16 -0
- package/dist/types/shared/utils/fetchBsmntProfile.d.ts +1 -0
- package/dist/types/shared/utils/formatAddress.d.ts +2 -0
- package/dist/types/shared/utils/formatNumber.d.ts +7 -0
- package/dist/types/shared/utils/index.d.ts +2 -0
- package/dist/types/shared/utils/insights.d.ts +7 -0
- package/dist/types/shared/utils/ipfs.d.ts +12 -0
- package/dist/types/shared/utils/number.d.ts +11 -0
- package/dist/types/shared/utils/payment.utils.d.ts +5 -0
- package/dist/types/shared/utils/simplehash.d.ts +12 -0
- package/dist/types/shared/utils/sprinter.d.ts +1 -0
- package/dist/types/shared/utils/thirdweb-insights.d.ts +105 -0
- package/dist/types/shared/utils/thirdweb.d.ts +1 -0
- package/dist/types/styles/index.d.ts +20 -0
- package/package.json +340 -0
- package/src/anyspend/abis/abi-usdc-base.ts +600 -0
- package/src/anyspend/abis/erc20-staking.ts +299 -0
- package/src/anyspend/constants/index.ts +88 -0
- package/src/anyspend/index.ts +24 -0
- package/src/anyspend/react/components/AnySpend.tsx +1144 -0
- package/src/anyspend/react/components/AnySpendBuySpin.tsx +623 -0
- package/src/anyspend/react/components/AnySpendCustom.tsx +812 -0
- package/src/anyspend/react/components/AnySpendNFT.tsx +134 -0
- package/src/anyspend/react/components/AnySpendNFTButton.tsx +33 -0
- package/src/anyspend/react/components/AnySpendStakeB3.tsx +491 -0
- package/src/anyspend/react/components/AnySpendTournament.tsx +109 -0
- package/src/anyspend/react/components/common/ChainTokenIcon.tsx +18 -0
- package/src/anyspend/react/components/common/HowItWorks.tsx +37 -0
- package/src/anyspend/react/components/common/OrderDetails.tsx +1195 -0
- package/src/anyspend/react/components/common/OrderHistory.tsx +64 -0
- package/src/anyspend/react/components/common/OrderHistoryItem.tsx +189 -0
- package/src/anyspend/react/components/common/OrderStatus.tsx +39 -0
- package/src/anyspend/react/components/common/OrderToken.tsx +132 -0
- package/src/anyspend/react/components/common/OrderTokenAmount.tsx +168 -0
- package/src/anyspend/react/components/common/PanelOnramp.tsx +108 -0
- package/src/anyspend/react/components/common/PanelOnrampPayment.tsx +354 -0
- package/src/anyspend/react/components/common/PaymentMethodIcons.tsx +22 -0
- package/src/anyspend/react/components/common/PaymentOneClick.tsx +42 -0
- package/src/anyspend/react/components/common/PaymentOptions.tsx +36 -0
- package/src/anyspend/react/components/common/PaymentStripeWeb2.tsx +368 -0
- package/src/anyspend/react/components/common/PaymentVendorUI.tsx +26 -0
- package/src/anyspend/react/components/common/TokenBalance.tsx +63 -0
- package/src/anyspend/react/components/icons/EthIcon.tsx +31 -0
- package/src/anyspend/react/components/icons/SolIcon.tsx +39 -0
- package/src/anyspend/react/components/icons/USDCIcon.tsx +19 -0
- package/src/anyspend/react/components/modals/EnterRecipientModal.tsx +50 -0
- package/src/anyspend/react/hooks/index.ts +13 -0
- package/src/anyspend/react/hooks/useAnyspendCreateOnrampOrder.ts +131 -0
- package/src/anyspend/react/hooks/useAnyspendCreateOrder.ts +102 -0
- package/src/anyspend/react/hooks/useAnyspendOrderAndTransactions.ts +36 -0
- package/src/anyspend/react/hooks/useAnyspendOrderHistory.ts +29 -0
- package/src/anyspend/react/hooks/useAnyspendQuote.ts +58 -0
- package/src/anyspend/react/hooks/useAnyspendSendPermitData.ts +38 -0
- package/src/anyspend/react/hooks/useAnyspendTokens.ts +24 -0
- package/src/anyspend/react/hooks/useCoinbaseOnrampOptions.ts +21 -0
- package/src/anyspend/react/hooks/useGeoOnrampOptions.ts +58 -0
- package/src/anyspend/react/hooks/useGetGeo.ts +31 -0
- package/src/anyspend/react/hooks/usePermitData.ts +183 -0
- package/src/anyspend/react/hooks/useStripeClientSecret.ts +20 -0
- package/src/anyspend/react/hooks/useStripeSupport.ts +22 -0
- package/src/anyspend/react/providers/AnyspendProvider.tsx +45 -0
- package/src/anyspend/services/anyspend.ts +191 -0
- package/src/anyspend/types/chain.ts +30 -0
- package/src/anyspend/types/custom.ts +17 -0
- package/src/anyspend/types/globalWallet.ts +9 -0
- package/src/anyspend/types/index.ts +14 -0
- package/src/anyspend/types/nft.ts +50 -0
- package/src/anyspend/types/onramp.ts +15 -0
- package/src/anyspend/types/order.ts +94 -0
- package/src/anyspend/types/permit.ts +10 -0
- package/src/anyspend/types/relay.ts +13 -0
- package/src/anyspend/types/req-res/createOrder.ts +66 -0
- package/src/anyspend/types/req-res/getCoinbaseOnrampOptions.ts +34 -0
- package/src/anyspend/types/req-res/getOrderAndTransactions.ts +23 -0
- package/src/anyspend/types/req-res/getOrderByCreator.ts +9 -0
- package/src/anyspend/types/req-res/getOrderHistory.ts +9 -0
- package/src/anyspend/types/req-res/getQuote.ts +60 -0
- package/src/anyspend/types/req-res/getTokenList.ts +18 -0
- package/src/anyspend/types/req-res/index.ts +8 -0
- package/src/anyspend/types/req-res/sendPermitData.ts +10 -0
- package/src/anyspend/types/req-res/stripe.ts +0 -0
- package/src/anyspend/types/swap.ts +12 -0
- package/src/anyspend/types/token.ts +13 -0
- package/src/anyspend/types/tournament.ts +26 -0
- package/src/anyspend/types/transaction.ts +39 -0
- package/src/anyspend/utils/address.ts +25 -0
- package/src/anyspend/utils/chain.ts +342 -0
- package/src/anyspend/utils/format.ts +64 -0
- package/src/anyspend/utils/index.ts +8 -0
- package/src/anyspend/utils/json.ts +3 -0
- package/src/anyspend/utils/number.ts +93 -0
- package/src/anyspend/utils/orderPayload.ts +63 -0
- package/src/anyspend/utils/string.ts +4 -0
- package/src/anyspend/utils/token.ts +72 -0
- package/src/generated/chain-networks.json +483 -0
- package/src/global-account/app.native.ts +105 -0
- package/src/global-account/app.ts +68 -0
- package/src/global-account/bsmnt.native.ts +108 -0
- package/src/global-account/bsmnt.ts +73 -0
- package/src/global-account/index.native.ts +17 -0
- package/src/global-account/index.ts +17 -0
- package/src/global-account/react/components/AccountAssets/AccountAssets.tsx +48 -0
- package/src/global-account/react/components/B3DynamicModal.tsx +118 -0
- package/src/global-account/react/components/B3Provider.native.tsx +141 -0
- package/src/global-account/react/components/B3Provider.tsx +201 -0
- package/src/global-account/react/components/ManageAccount/ManageAccount.tsx +242 -0
- package/src/global-account/react/components/MintButton/MintButton.tsx +83 -0
- package/src/global-account/react/components/ProfileAvatar.tsx +138 -0
- package/src/global-account/react/components/RelayKitProviderWrapper.tsx +34 -0
- package/src/global-account/react/components/RequestPermissions/RequestPermissions.tsx +167 -0
- package/src/global-account/react/components/RequestPermissions/RequestPermissionsButton.tsx +51 -0
- package/src/global-account/react/components/SignInWithB3/SignInWithB3.tsx +93 -0
- package/src/global-account/react/components/SignInWithB3/SignInWithB3Flow.tsx +255 -0
- package/src/global-account/react/components/SignInWithB3/SignInWithB3Privy.tsx +60 -0
- package/src/global-account/react/components/SignInWithB3/components/AuthButton.tsx +23 -0
- package/src/global-account/react/components/SignInWithB3/components/PermissionItem.tsx +22 -0
- package/src/global-account/react/components/SignInWithB3/components/WalletRow.tsx +32 -0
- package/src/global-account/react/components/SignInWithB3/steps/LoginStep.tsx +135 -0
- package/src/global-account/react/components/SignInWithB3/steps/LoginStepCustom.tsx +148 -0
- package/src/global-account/react/components/SignInWithB3/utils/signInUtils.ts +70 -0
- package/src/global-account/react/components/StyleRoot.tsx +12 -0
- package/src/global-account/react/components/Transak/TransakModal.tsx +134 -0
- package/src/global-account/react/components/custom/Button.tsx +54 -0
- package/src/global-account/react/components/custom/ClientOnly.tsx +20 -0
- package/src/global-account/react/components/custom/CopyToClipboard.tsx +47 -0
- package/src/global-account/react/components/custom/StaggeredFadeLoader.tsx +43 -0
- package/src/global-account/react/components/custom/WalletConnectorIcon.tsx +32 -0
- package/src/global-account/react/components/magicui/AnimatedLottie.tsx +106 -0
- package/src/global-account/react/components/ui/Loading.tsx +27 -0
- package/src/global-account/react/components/ui/ShinyButton.tsx +82 -0
- package/src/global-account/react/components/ui/TabSystem.tsx +157 -0
- package/src/global-account/react/components/ui/Tabs.tsx +56 -0
- package/src/global-account/react/components/ui/badge.tsx +30 -0
- package/src/global-account/react/components/ui/button.tsx +57 -0
- package/src/global-account/react/components/ui/command.tsx +140 -0
- package/src/global-account/react/components/ui/dialog.tsx +131 -0
- package/src/global-account/react/components/ui/drawer.tsx +97 -0
- package/src/global-account/react/components/ui/glare-card-rounded.tsx +182 -0
- package/src/global-account/react/components/ui/glare-card.tsx +138 -0
- package/src/global-account/react/components/ui/input.tsx +25 -0
- package/src/global-account/react/components/ui/popover.tsx +34 -0
- package/src/global-account/react/components/ui/scroll-area.tsx +40 -0
- package/src/global-account/react/components/ui/skeleton.tsx +7 -0
- package/src/global-account/react/components/ui/text-loop.tsx +61 -0
- package/src/global-account/react/components/ui/text-shimmer.tsx +47 -0
- package/src/global-account/react/components/ui/tooltip.tsx +34 -0
- package/src/global-account/react/components/ui/transition-panel.tsx +38 -0
- package/src/global-account/react/hooks/useAccountAssets.ts +34 -0
- package/src/global-account/react/hooks/useAccountWallet.tsx +110 -0
- package/src/global-account/react/hooks/useAddTWSessionKey.tsx +85 -0
- package/src/global-account/react/hooks/useAuthentication.ts +127 -0
- package/src/global-account/react/hooks/useB3BalanceFromAddresses.ts +91 -0
- package/src/global-account/react/hooks/useBestTransactionPath.tsx +202 -0
- package/src/global-account/react/hooks/useBsmntProfile.ts +14 -0
- package/src/global-account/react/hooks/useChainSwitchWithAction.ts +79 -0
- package/src/global-account/react/hooks/useClaim.tsx +66 -0
- package/src/global-account/react/hooks/useConnect.tsx +60 -0
- package/src/global-account/react/hooks/useExchangeRate.tsx +43 -0
- package/src/global-account/react/hooks/useGetAllTWSigners.tsx +139 -0
- package/src/global-account/react/hooks/useGetGeo.tsx +40 -0
- package/src/global-account/react/hooks/useHandleConnectWithPrivy.tsx +78 -0
- package/src/global-account/react/hooks/useHasMounted.ts +11 -0
- package/src/global-account/react/hooks/useIsMobile.tsx +9 -0
- package/src/global-account/react/hooks/useIsomorphicLayoutEffect.tsx +3 -0
- package/src/global-account/react/hooks/useMediaQuery.tsx +60 -0
- package/src/global-account/react/hooks/useNativeBalance.tsx +90 -0
- package/src/global-account/react/hooks/useOnchainName.tsx +198 -0
- package/src/global-account/react/hooks/useOneBalance.tsx +95 -0
- package/src/global-account/react/hooks/useQueryB3.ts +72 -0
- package/src/global-account/react/hooks/useQueryBSMNT.ts +72 -0
- package/src/global-account/react/hooks/useRemoveSessionKey.tsx +69 -0
- package/src/global-account/react/hooks/useRouter.tsx +103 -0
- package/src/global-account/react/hooks/useSearchParamsSSR.tsx +34 -0
- package/src/global-account/react/hooks/useSiwe.tsx +39 -0
- package/src/global-account/react/hooks/useTokenBalance.tsx +85 -0
- package/src/global-account/react/hooks/useTokenBalancesByChain.tsx +93 -0
- package/src/global-account/react/hooks/useTokenData.ts +56 -0
- package/src/global-account/react/hooks/useTokenFromUrl.tsx +46 -0
- package/src/global-account/react/hooks/useTokenPrice.tsx +85 -0
- package/src/global-account/react/hooks/useTokenPriceWithFallback.tsx +58 -0
- package/src/global-account/react/hooks/useTokensFromAddress.ts +118 -0
- package/src/global-account/react/hooks/useURLParams.ts +43 -0
- package/src/global-account/react/stores/useAuthStore.ts +64 -0
- package/src/global-account/react/stores/useModalStore.ts +325 -0
- package/src/global-account/server.ts +23 -0
- package/src/global-account/types/b3-api.ts +4 -0
- package/src/global-account/types/b3-api.types.ts +83 -0
- package/src/global-account/types/chain-networks.ts +54 -0
- package/src/global-account/types/feature-flags.ts +13 -0
- package/src/global-account/types/permissions.ts +24 -0
- package/src/global-account/types/react-timeago.d.ts +18 -0
- package/src/global-account/types/reservoir.types.ts +94 -0
- package/src/global-account/types/simplehash.types.ts +301 -0
- package/src/global-account/types.ts +24 -0
- package/src/shared/constants/chains/b3Chain.ts +177 -0
- package/src/shared/constants/chains/chainPlatformMap.ts +47 -0
- package/src/shared/constants/chains/supported.ts +33 -0
- package/src/shared/constants/index.ts +26 -0
- package/src/shared/thirdweb/generated/@tanstack/react-query.gen.ts +1363 -0
- package/src/shared/thirdweb/generated/client.gen.ts +16 -0
- package/src/shared/thirdweb/generated/index.ts +3 -0
- package/src/shared/thirdweb/generated/sdk.gen.ts +1051 -0
- package/src/shared/thirdweb/generated/types.gen.ts +4349 -0
- package/src/shared/thirdweb/initiateClient.ts +30 -0
- package/src/shared/thirdweb/insight-service.json +12664 -0
- package/src/shared/thirdweb/openapi-ts.config.ts +7 -0
- package/src/shared/utils/b3Ens.ts +28 -0
- package/src/shared/utils/centerTruncate.ts +12 -0
- package/src/shared/utils/chain-transformers.ts +51 -0
- package/src/shared/utils/chains.ts +38 -0
- package/src/shared/utils/cn.ts +6 -0
- package/src/shared/utils/colors.ts +33 -0
- package/src/shared/utils/cookies.ts +13 -0
- package/src/shared/utils/debug.ts +17 -0
- package/src/shared/utils/fetchBalances.ts +89 -0
- package/src/shared/utils/fetchBsmntProfile.ts +29 -0
- package/src/shared/utils/formatAddress.ts +16 -0
- package/src/shared/utils/formatNumber.ts +43 -0
- package/src/shared/utils/index.ts +7 -0
- package/src/shared/utils/insights.ts +409 -0
- package/src/shared/utils/ipfs.ts +33 -0
- package/src/shared/utils/number.ts +142 -0
- package/src/shared/utils/payment.utils.ts +34 -0
- package/src/shared/utils/simplehash.ts +372 -0
- package/src/shared/utils/sprinter.ts +14 -0
- package/src/shared/utils/thirdweb-insights.ts +338 -0
- package/src/shared/utils/thirdweb.ts +11 -0
- package/src/styles/index.css +279 -0
- package/src/styles/index.ts +24 -0
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
import { OrderStatus, OrderType } from "../../anyspend/types";
|
|
2
|
+
export const getStatusDisplay = (order) => {
|
|
3
|
+
switch (order.status) {
|
|
4
|
+
case OrderStatus.ScanningDepositTransaction:
|
|
5
|
+
return {
|
|
6
|
+
text: order.onrampMetadata ? "Awaiting Payment" : "Awaiting Deposit",
|
|
7
|
+
status: "processing"
|
|
8
|
+
};
|
|
9
|
+
case OrderStatus.WaitingStripePayment:
|
|
10
|
+
return {
|
|
11
|
+
text: "Awaiting Payment",
|
|
12
|
+
status: "processing"
|
|
13
|
+
};
|
|
14
|
+
case OrderStatus.ObtainToken:
|
|
15
|
+
return { text: "Obtaining Token", status: "processing" };
|
|
16
|
+
case OrderStatus.ObtainFailed:
|
|
17
|
+
return { text: "Obtain Token Failed", status: "failure" };
|
|
18
|
+
case OrderStatus.Expired:
|
|
19
|
+
return { text: "Order Expired", status: "failure" };
|
|
20
|
+
case OrderStatus.SendingTokenFromVault:
|
|
21
|
+
return { text: "Sending Token", status: "processing" };
|
|
22
|
+
case OrderStatus.Relay:
|
|
23
|
+
return { text: "Executing Order", status: "processing" };
|
|
24
|
+
case OrderStatus.Executed: {
|
|
25
|
+
const text = order.type === OrderType.Swap
|
|
26
|
+
? "Swap Complete"
|
|
27
|
+
: order.type === OrderType.MintNFT
|
|
28
|
+
? "NFT Minted"
|
|
29
|
+
: order.type === OrderType.JoinTournament
|
|
30
|
+
? "Tournament Joined"
|
|
31
|
+
: order.type === OrderType.FundTournament
|
|
32
|
+
? "Tournament Funded"
|
|
33
|
+
: "Order Complete";
|
|
34
|
+
return { text, status: "success" };
|
|
35
|
+
}
|
|
36
|
+
case OrderStatus.Refunding:
|
|
37
|
+
return { text: "Order Refunding", status: "processing" };
|
|
38
|
+
case OrderStatus.Refunded:
|
|
39
|
+
return { text: "Order Refunded", status: "failure" };
|
|
40
|
+
case OrderStatus.Failure:
|
|
41
|
+
return { text: "Order Failure", status: "failure" };
|
|
42
|
+
default:
|
|
43
|
+
throw new Error("Invalid order status");
|
|
44
|
+
}
|
|
45
|
+
};
|
|
46
|
+
export const getErrorDisplay = (errorDetails) => {
|
|
47
|
+
switch (errorDetails) {
|
|
48
|
+
case "SLIPPAGE":
|
|
49
|
+
return "The order failed due to price movement exceeding slippage tolerance";
|
|
50
|
+
default: {
|
|
51
|
+
return "The order failed. Please try again or contact support";
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function stringify(value: any): string;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import Big from "big.js";
|
|
2
|
+
export declare function divpowToBig(n: string | number | bigint, decimals: number): Big;
|
|
3
|
+
export declare function mulpowToBig(s: string, multiplier?: number): Big;
|
|
4
|
+
export declare function truncateValue(value: string, decimals: number): string;
|
|
5
|
+
export declare const inputRegex: RegExp;
|
|
6
|
+
export declare function escapeRegExp(string: string): string;
|
|
7
|
+
/**
|
|
8
|
+
* Round up a number to the nearest multiple of 0.01 USDC, which is 10^4 USDC base units
|
|
9
|
+
* @param value - The number to round up
|
|
10
|
+
* @returns The rounded number
|
|
11
|
+
* For example, roundUpUSDCBaseAmountToNearest("2663988") = "2670000"
|
|
12
|
+
*/
|
|
13
|
+
export declare function roundUpUSDCBaseAmountToNearest(value: string): string;
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
import Big from "big.js";
|
|
2
|
+
import { parseUnits } from "viem";
|
|
3
|
+
// Configure Big.js to use exponential notation only for very large/small numbers
|
|
4
|
+
Big.PE = 40; // Precision for exponential notation (higher = less use of exponential)
|
|
5
|
+
// Convert a token amount to a human-readable decimal
|
|
6
|
+
// n = "10000000000000000000", decimals = 9 => "10.0" (10 tokens with 9 decimals)
|
|
7
|
+
export function divpowToBig(n, decimals) {
|
|
8
|
+
const value = new Big(n.toString());
|
|
9
|
+
const divisor = new Big(10).pow(decimals);
|
|
10
|
+
return value.div(divisor);
|
|
11
|
+
}
|
|
12
|
+
// Convert a human-readable decimal to a token amount
|
|
13
|
+
// s = "0.000000000000001", multiplier = 18 => 1000 (0.000000000000001 ETH with 18 decimals = 1000 wei)
|
|
14
|
+
export function mulpowToBig(s, multiplier = 18) {
|
|
15
|
+
if (!s || s === "") {
|
|
16
|
+
return new Big(0);
|
|
17
|
+
}
|
|
18
|
+
// Parse the string into wei/atomic units
|
|
19
|
+
const atomicUnits = parseUnits(truncateValue(s, multiplier), multiplier).toString();
|
|
20
|
+
// Return the number of atomic units
|
|
21
|
+
return new Big(atomicUnits);
|
|
22
|
+
}
|
|
23
|
+
export function truncateValue(value, decimals) {
|
|
24
|
+
if (!value || value === "") {
|
|
25
|
+
return "0";
|
|
26
|
+
}
|
|
27
|
+
// Special case for decimal-only input
|
|
28
|
+
if (value === ".")
|
|
29
|
+
return "0";
|
|
30
|
+
// Handle case where value starts with decimal point
|
|
31
|
+
if (value.startsWith(".")) {
|
|
32
|
+
value = "0" + value;
|
|
33
|
+
}
|
|
34
|
+
const parts = value.split(/\./);
|
|
35
|
+
if (parts.length > 1) {
|
|
36
|
+
// Remove leading zeros from whole part
|
|
37
|
+
parts[0] = parts[0].replace(/^0+(?=\d)/, "");
|
|
38
|
+
if (parts[0] === "")
|
|
39
|
+
parts[0] = "0"; // If whole part is empty, set to '0'
|
|
40
|
+
// Limit decimal part to specified number of places
|
|
41
|
+
parts[1] = parts[1].slice(0, decimals);
|
|
42
|
+
// Remove trailing zeros from decimal part
|
|
43
|
+
parts[1] = parts[1].replace(/0+$/, "");
|
|
44
|
+
// Special case for very small numbers where all digits get truncated
|
|
45
|
+
if (parts[1] === "" || parts[1].match(/^0+$/)) {
|
|
46
|
+
return parts[0];
|
|
47
|
+
}
|
|
48
|
+
// If the decimal part is empty after processing, return just the whole part
|
|
49
|
+
if (parts[1] === "") {
|
|
50
|
+
return parts[0];
|
|
51
|
+
}
|
|
52
|
+
const res = `${parts[0]}.${parts[1]}`;
|
|
53
|
+
return res;
|
|
54
|
+
}
|
|
55
|
+
// For numbers without a decimal part
|
|
56
|
+
const cleanValue = value.replace(/^0+(?=\d)/, ""); // Remove leading zeros.
|
|
57
|
+
return cleanValue || "0"; // Return '0' if the result is an empty string
|
|
58
|
+
}
|
|
59
|
+
export const inputRegex = RegExp(`^\\d*(?:\\\\[.])?\\d*$`); // match escaped "." characters via in a non-capturing group
|
|
60
|
+
export function escapeRegExp(string) {
|
|
61
|
+
return string.replace(/[.*+?^${}()|[\]\\]/g, "\\$&"); // $& means the whole matched string
|
|
62
|
+
}
|
|
63
|
+
/**
|
|
64
|
+
* Round up a number to the nearest multiple of 0.01 USDC, which is 10^4 USDC base units
|
|
65
|
+
* @param value - The number to round up
|
|
66
|
+
* @returns The rounded number
|
|
67
|
+
* For example, roundUpUSDCBaseAmountToNearest("2663988") = "2670000"
|
|
68
|
+
*/
|
|
69
|
+
export function roundUpUSDCBaseAmountToNearest(value) {
|
|
70
|
+
const divisor = new Big(10).pow(4); // Round to nearest 10,000
|
|
71
|
+
const srcAmountBig = new Big(value);
|
|
72
|
+
const remainder = srcAmountBig.mod(divisor);
|
|
73
|
+
// If remainder is already 0 (exactly divisible by 10^4), return the original amount
|
|
74
|
+
if (remainder.eq(0)) {
|
|
75
|
+
return value;
|
|
76
|
+
}
|
|
77
|
+
const res = srcAmountBig.plus(divisor.minus(remainder)).toString();
|
|
78
|
+
return res;
|
|
79
|
+
}
|
|
@@ -0,0 +1,127 @@
|
|
|
1
|
+
import { Nft, OrderType, Token, Tournament } from "../../anyspend/types";
|
|
2
|
+
export type OrderParams = {
|
|
3
|
+
orderType: OrderType;
|
|
4
|
+
srcToken: Token;
|
|
5
|
+
dstToken: Token;
|
|
6
|
+
expectedDstAmount?: string;
|
|
7
|
+
nft?: Nft & {
|
|
8
|
+
price: string;
|
|
9
|
+
};
|
|
10
|
+
tournament?: Tournament & {
|
|
11
|
+
contractAddress: string;
|
|
12
|
+
entryPriceOrFundAmount: string;
|
|
13
|
+
};
|
|
14
|
+
payload?: any;
|
|
15
|
+
};
|
|
16
|
+
export declare const buildPayload: (orderType: OrderType, params: OrderParams) => any;
|
|
17
|
+
export declare const buildMetadata: (orderType: OrderType, params: OrderParams) => {
|
|
18
|
+
srcToken: {
|
|
19
|
+
symbol: string;
|
|
20
|
+
chainId: number;
|
|
21
|
+
address: string;
|
|
22
|
+
name: string;
|
|
23
|
+
decimals: number;
|
|
24
|
+
metadata: {
|
|
25
|
+
logoURI?: string | undefined;
|
|
26
|
+
};
|
|
27
|
+
};
|
|
28
|
+
dstToken: {
|
|
29
|
+
symbol: string;
|
|
30
|
+
chainId: number;
|
|
31
|
+
address: string;
|
|
32
|
+
name: string;
|
|
33
|
+
decimals: number;
|
|
34
|
+
metadata: {
|
|
35
|
+
logoURI?: string | undefined;
|
|
36
|
+
};
|
|
37
|
+
};
|
|
38
|
+
} | {
|
|
39
|
+
nft: (({
|
|
40
|
+
name: string;
|
|
41
|
+
type: import("../../anyspend/types").NftType.ERC721;
|
|
42
|
+
contractAddress: string;
|
|
43
|
+
description: string;
|
|
44
|
+
imageUrl: string;
|
|
45
|
+
} | {
|
|
46
|
+
name: string;
|
|
47
|
+
type: import("../../anyspend/types").NftType.ERC1155;
|
|
48
|
+
contractAddress: string;
|
|
49
|
+
description: string;
|
|
50
|
+
imageUrl: string;
|
|
51
|
+
tokenId: number;
|
|
52
|
+
}) & {
|
|
53
|
+
price: string;
|
|
54
|
+
}) | undefined;
|
|
55
|
+
srcToken: {
|
|
56
|
+
symbol: string;
|
|
57
|
+
chainId: number;
|
|
58
|
+
address: string;
|
|
59
|
+
name: string;
|
|
60
|
+
decimals: number;
|
|
61
|
+
metadata: {
|
|
62
|
+
logoURI?: string | undefined;
|
|
63
|
+
};
|
|
64
|
+
};
|
|
65
|
+
dstToken: {
|
|
66
|
+
symbol: string;
|
|
67
|
+
chainId: number;
|
|
68
|
+
address: string;
|
|
69
|
+
name: string;
|
|
70
|
+
decimals: number;
|
|
71
|
+
metadata: {
|
|
72
|
+
logoURI?: string | undefined;
|
|
73
|
+
};
|
|
74
|
+
};
|
|
75
|
+
} | {
|
|
76
|
+
tournament: ({
|
|
77
|
+
name: string;
|
|
78
|
+
description: string;
|
|
79
|
+
imageUrl: string;
|
|
80
|
+
slug: string;
|
|
81
|
+
} & {
|
|
82
|
+
contractAddress: string;
|
|
83
|
+
entryPriceOrFundAmount: string;
|
|
84
|
+
}) | undefined;
|
|
85
|
+
srcToken: {
|
|
86
|
+
symbol: string;
|
|
87
|
+
chainId: number;
|
|
88
|
+
address: string;
|
|
89
|
+
name: string;
|
|
90
|
+
decimals: number;
|
|
91
|
+
metadata: {
|
|
92
|
+
logoURI?: string | undefined;
|
|
93
|
+
};
|
|
94
|
+
};
|
|
95
|
+
dstToken: {
|
|
96
|
+
symbol: string;
|
|
97
|
+
chainId: number;
|
|
98
|
+
address: string;
|
|
99
|
+
name: string;
|
|
100
|
+
decimals: number;
|
|
101
|
+
metadata: {
|
|
102
|
+
logoURI?: string | undefined;
|
|
103
|
+
};
|
|
104
|
+
};
|
|
105
|
+
} | {
|
|
106
|
+
action: any;
|
|
107
|
+
srcToken: {
|
|
108
|
+
symbol: string;
|
|
109
|
+
chainId: number;
|
|
110
|
+
address: string;
|
|
111
|
+
name: string;
|
|
112
|
+
decimals: number;
|
|
113
|
+
metadata: {
|
|
114
|
+
logoURI?: string | undefined;
|
|
115
|
+
};
|
|
116
|
+
};
|
|
117
|
+
dstToken: {
|
|
118
|
+
symbol: string;
|
|
119
|
+
chainId: number;
|
|
120
|
+
address: string;
|
|
121
|
+
name: string;
|
|
122
|
+
decimals: number;
|
|
123
|
+
metadata: {
|
|
124
|
+
logoURI?: string | undefined;
|
|
125
|
+
};
|
|
126
|
+
};
|
|
127
|
+
};
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import { OrderType } from "../../anyspend/types";
|
|
2
|
+
import { normalizeAddress } from "../../anyspend/utils";
|
|
3
|
+
export const buildPayload = (orderType, params) => {
|
|
4
|
+
const { nft, tournament, payload, expectedDstAmount } = params;
|
|
5
|
+
switch (orderType) {
|
|
6
|
+
case OrderType.Swap:
|
|
7
|
+
return {
|
|
8
|
+
expectedDstAmount,
|
|
9
|
+
actualDstAmount: null
|
|
10
|
+
};
|
|
11
|
+
case OrderType.MintNFT:
|
|
12
|
+
return {
|
|
13
|
+
contractAddress: nft ? normalizeAddress(nft.contractAddress) : "",
|
|
14
|
+
nftPrice: nft?.price || ""
|
|
15
|
+
};
|
|
16
|
+
case OrderType.JoinTournament:
|
|
17
|
+
return {
|
|
18
|
+
contractAddress: tournament?.contractAddress,
|
|
19
|
+
entryPrice: tournament?.entryPriceOrFundAmount
|
|
20
|
+
};
|
|
21
|
+
case OrderType.FundTournament:
|
|
22
|
+
return {
|
|
23
|
+
contractAddress: tournament?.contractAddress,
|
|
24
|
+
fundAmount: tournament?.entryPriceOrFundAmount
|
|
25
|
+
};
|
|
26
|
+
case OrderType.Custom:
|
|
27
|
+
return { ...payload };
|
|
28
|
+
default:
|
|
29
|
+
throw new Error(`Invalid order type: ${orderType}`);
|
|
30
|
+
}
|
|
31
|
+
};
|
|
32
|
+
export const buildMetadata = (orderType, params) => {
|
|
33
|
+
const { srcToken, dstToken, nft, tournament, payload } = params;
|
|
34
|
+
const baseMetadata = {
|
|
35
|
+
srcToken,
|
|
36
|
+
dstToken
|
|
37
|
+
};
|
|
38
|
+
switch (orderType) {
|
|
39
|
+
case OrderType.Swap:
|
|
40
|
+
return { ...baseMetadata };
|
|
41
|
+
case OrderType.MintNFT:
|
|
42
|
+
return { ...baseMetadata, nft };
|
|
43
|
+
case OrderType.JoinTournament:
|
|
44
|
+
case OrderType.FundTournament:
|
|
45
|
+
return { ...baseMetadata, tournament };
|
|
46
|
+
case OrderType.Custom:
|
|
47
|
+
return { ...baseMetadata, action: payload.action };
|
|
48
|
+
default:
|
|
49
|
+
throw new Error(`Invalid order type: ${orderType}`);
|
|
50
|
+
}
|
|
51
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const capitalizeFirstLetter: (stringToCapitalize: string) => string;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { Token } from "../../anyspend/types";
|
|
2
|
+
export declare function isNativeToken(address: string): boolean;
|
|
3
|
+
export declare function getSolanaToken(): Token;
|
|
4
|
+
export declare function getEthToken(chainId: number): Token;
|
|
5
|
+
export declare function getPolToken(): Token;
|
|
6
|
+
export declare function getBnbToken(): Token;
|
|
7
|
+
export declare function getAvaxToken(): Token;
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
import { avalanche, bsc, polygon } from "viem/chains";
|
|
2
|
+
import { RELAY_ETH_ADDRESS, RELAY_SOL_ADDRESS, RELAY_SOLANA_MAINNET_CHAIN_ID } from "../../anyspend/constants";
|
|
3
|
+
export function isNativeToken(address) {
|
|
4
|
+
return address.toLowerCase() === RELAY_ETH_ADDRESS || address.toLowerCase() === RELAY_SOL_ADDRESS;
|
|
5
|
+
}
|
|
6
|
+
export function getSolanaToken() {
|
|
7
|
+
return {
|
|
8
|
+
chainId: RELAY_SOLANA_MAINNET_CHAIN_ID,
|
|
9
|
+
address: RELAY_SOL_ADDRESS,
|
|
10
|
+
symbol: "SOL",
|
|
11
|
+
name: "Solana",
|
|
12
|
+
decimals: 9,
|
|
13
|
+
metadata: {
|
|
14
|
+
logoURI: "https://assets.relay.link/icons/square/792703809/light.png"
|
|
15
|
+
}
|
|
16
|
+
};
|
|
17
|
+
}
|
|
18
|
+
export function getEthToken(chainId) {
|
|
19
|
+
return {
|
|
20
|
+
chainId: chainId,
|
|
21
|
+
address: RELAY_ETH_ADDRESS,
|
|
22
|
+
symbol: "ETH",
|
|
23
|
+
name: "Ethereum",
|
|
24
|
+
decimals: 18,
|
|
25
|
+
metadata: {
|
|
26
|
+
logoURI: "https://assets.relay.link/icons/square/1/light.png"
|
|
27
|
+
}
|
|
28
|
+
};
|
|
29
|
+
}
|
|
30
|
+
export function getPolToken() {
|
|
31
|
+
return {
|
|
32
|
+
chainId: polygon.id,
|
|
33
|
+
address: RELAY_ETH_ADDRESS,
|
|
34
|
+
symbol: "POL",
|
|
35
|
+
name: "Polygon",
|
|
36
|
+
decimals: 18,
|
|
37
|
+
metadata: {
|
|
38
|
+
logoURI: "https://s2.coinmarketcap.com/static/img/coins/64x64/28321.png"
|
|
39
|
+
}
|
|
40
|
+
};
|
|
41
|
+
}
|
|
42
|
+
export function getBnbToken() {
|
|
43
|
+
return {
|
|
44
|
+
chainId: bsc.id,
|
|
45
|
+
address: RELAY_ETH_ADDRESS,
|
|
46
|
+
symbol: "BNB",
|
|
47
|
+
name: "BNB",
|
|
48
|
+
decimals: 18,
|
|
49
|
+
metadata: {
|
|
50
|
+
logoURI: "https://s2.coinmarketcap.com/static/img/coins/64x64/1839.png"
|
|
51
|
+
}
|
|
52
|
+
};
|
|
53
|
+
}
|
|
54
|
+
export function getAvaxToken() {
|
|
55
|
+
return {
|
|
56
|
+
chainId: avalanche.id,
|
|
57
|
+
address: RELAY_ETH_ADDRESS,
|
|
58
|
+
symbol: "AVAX",
|
|
59
|
+
name: "AVAX",
|
|
60
|
+
decimals: 18,
|
|
61
|
+
metadata: {
|
|
62
|
+
logoURI: "https://s2.coinmarketcap.com/static/img/coins/64x64/5805.png"
|
|
63
|
+
}
|
|
64
|
+
};
|
|
65
|
+
}
|