@vechain/vechain-kit 2.7.0 → 2.8.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 +23 -1
- package/dist/assets/index.d.cts +1 -1
- package/dist/assets/index.d.mts +1 -1
- package/dist/{index-BN8V0jxo.d.mts → index-BYfc-9J5.d.mts} +4 -4
- package/dist/{index-I8fe7GR2.d.cts.map → index-BYfc-9J5.d.mts.map} +1 -1
- package/dist/{index-I8fe7GR2.d.cts → index-C8Uj8ple.d.cts} +4 -4
- package/dist/{index-BN8V0jxo.d.mts.map → index-C8Uj8ple.d.cts.map} +1 -1
- package/dist/{index-DDj5hY2R.d.mts → index-CR1vQAAH.d.cts} +602 -145
- package/dist/index-CR1vQAAH.d.cts.map +1 -0
- package/dist/{index-PnYdUmDr.d.cts → index-CirBvNlg.d.mts} +602 -145
- package/dist/index-CirBvNlg.d.mts.map +1 -0
- package/dist/index.cjs +14 -8
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +3 -3
- package/dist/index.d.mts +3 -3
- package/dist/index.mjs +14 -8
- package/dist/index.mjs.map +1 -1
- package/dist/utils/index.cjs +1 -1
- package/dist/utils/index.d.cts +2 -2
- package/dist/utils/index.d.mts +2 -2
- package/dist/utils/index.mjs +1 -1
- package/dist/utils-DJKLAzLP.cjs +2 -0
- package/dist/utils-DJKLAzLP.cjs.map +1 -0
- package/dist/utils-KYzX9d5n.mjs +2 -0
- package/dist/utils-KYzX9d5n.mjs.map +1 -0
- package/package.json +1 -1
- package/dist/index-DDj5hY2R.d.mts.map +0 -1
- package/dist/index-PnYdUmDr.d.cts.map +0 -1
- package/dist/utils-B3mmhtVy.cjs +0 -2
- package/dist/utils-B3mmhtVy.cjs.map +0 -1
- package/dist/utils-fXJ3K1K6.mjs +0 -2
- package/dist/utils-fXJ3K1K6.mjs.map +0 -1
|
@@ -1,26 +1,27 @@
|
|
|
1
|
-
import { ButtonProps, IconButtonProps, ImageProps, PropsOf, StackProps, ThemeTypings, VStack } from "@chakra-ui/react";
|
|
1
|
+
import { BoxProps, ButtonProps, IconButtonProps, ImageProps, PropsOf, StackProps, TextProps, ThemeTypings, VStack } from "@chakra-ui/react";
|
|
2
2
|
import * as react0 from "react";
|
|
3
3
|
import React$1, { ElementType, ReactElement, ReactNode } from "react";
|
|
4
4
|
import * as react_jsx_runtime3 from "react/jsx-runtime";
|
|
5
|
-
import { Account } from "viem/accounts";
|
|
6
|
-
import * as _vechain_sdk_core0 from "@vechain/sdk-core";
|
|
7
|
-
import { Address, Certificate, CertificateData, Clause, Revision, Transaction, TransactionClause } from "@vechain/sdk-core";
|
|
8
|
-
import { LoginMethodOrderOption, OAuthProviderType, SignTypedDataParams, User, WalletListEntry, useMfaEnrollment, usePrivy as usePrivy$1, useSetWalletRecovery } from "@privy-io/react-auth";
|
|
9
|
-
import { WalletButton as DAppKitWalletButton, WalletConnectOptions, useThor as useThor$1, useWallet as useDAppKitWallet, useWalletModal as useDAppKitWalletModal } from "@vechain/dapp-kit-react";
|
|
10
|
-
import * as _tanstack_react_query17 from "@tanstack/react-query";
|
|
11
|
-
import { UseQueryOptions } from "@tanstack/react-query";
|
|
12
|
-
import { CustomTokenInfo } from "@vechain/contract-getters";
|
|
13
|
-
import { Abi, ContractEventName, ContractFunctionParameters, MulticallParameters, MulticallReturnType, decodeEventLog } from "viem";
|
|
14
|
-
import { z } from "zod";
|
|
15
|
-
import { Options } from "browser-image-compression";
|
|
16
|
-
import { UseFormRegister } from "react-hook-form";
|
|
17
5
|
import * as _vechain_sdk_network0 from "@vechain/sdk-network";
|
|
18
6
|
import { CompressedBlockDetail, EventLogs, FilterEventLogsOptions, ThorClient, ThorClient as ThorClient$1, TransactionReceipt } from "@vechain/sdk-network";
|
|
7
|
+
import { LoginMethodOrderOption, OAuthProviderType, SignTypedDataParams, User, WalletListEntry, useMfaEnrollment, usePrivy, useSetWalletRecovery } from "@privy-io/react-auth";
|
|
8
|
+
import * as _vechain_sdk_core0 from "@vechain/sdk-core";
|
|
9
|
+
import { Address, Certificate, CertificateData, Clause, Revision, Transaction, TransactionClause } from "@vechain/sdk-core";
|
|
19
10
|
import { LogLevel, WalletSource } from "@vechain/dapp-kit";
|
|
11
|
+
import { WalletButton as DAppKitWalletButton, WalletConnectOptions, useThor, useWallet as useDAppKitWallet, useWalletModal as useDAppKitWalletModal } from "@vechain/dapp-kit-react";
|
|
20
12
|
import { CustomizedStyle, I18n, SourceInfo } from "@vechain/dapp-kit-ui";
|
|
21
13
|
import { IconType } from "react-icons";
|
|
14
|
+
import * as _tanstack_react_query8 from "@tanstack/react-query";
|
|
15
|
+
import { UseQueryOptions } from "@tanstack/react-query";
|
|
16
|
+
import { z } from "zod";
|
|
17
|
+
import { CustomTokenInfo } from "@vechain/contract-getters";
|
|
18
|
+
import { Options } from "browser-image-compression";
|
|
19
|
+
import * as _tanstack_query_core0 from "@tanstack/query-core";
|
|
20
|
+
import { Account } from "viem/accounts";
|
|
22
21
|
import * as abitype0 from "abitype";
|
|
23
22
|
import { AbiParametersToPrimitiveTypes, ExtractAbiFunction, ExtractAbiFunctionNames } from "abitype";
|
|
23
|
+
import { Abi, ContractEventName, ContractFunctionParameters, MulticallParameters, MulticallReturnType, decodeEventLog } from "viem";
|
|
24
|
+
import { UseFormRegister } from "react-hook-form";
|
|
24
25
|
|
|
25
26
|
//#region src/config/network.d.ts
|
|
26
27
|
/**
|
|
@@ -53,7 +54,7 @@ declare const genesises: {
|
|
|
53
54
|
readonly main: CompressedBlockDetail;
|
|
54
55
|
readonly test: CompressedBlockDetail;
|
|
55
56
|
readonly solo: CompressedBlockDetail;
|
|
56
|
-
which(gid: string): "
|
|
57
|
+
which(gid: string): "test" | "main" | "solo" | undefined;
|
|
57
58
|
};
|
|
58
59
|
//#endregion
|
|
59
60
|
//#region src/config/index.d.ts
|
|
@@ -89,6 +90,12 @@ type AppConfig = {
|
|
|
89
90
|
vetDomainsReverseRegistrarAddress: string;
|
|
90
91
|
vnsResolverAddress: string;
|
|
91
92
|
sassContractAddress: string;
|
|
93
|
+
vvetContractAddress: string;
|
|
94
|
+
stargateContractAddress: string;
|
|
95
|
+
stargateNftContractAddress: string;
|
|
96
|
+
navigatorRegistryContractAddress: string;
|
|
97
|
+
betterSwapFactoryAddress: string;
|
|
98
|
+
juicyPoolAddress: string;
|
|
92
99
|
vetDomainAvatarUrl: string;
|
|
93
100
|
nodeUrl: string;
|
|
94
101
|
indexerUrl: string;
|
|
@@ -379,6 +386,10 @@ interface ThemeTokens {
|
|
|
379
386
|
success: string;
|
|
380
387
|
error: string;
|
|
381
388
|
warning: string;
|
|
389
|
+
/** Brand accent. Used by the connect flow's spinner top arc, focus
|
|
390
|
+
* rings, "Waiting for signature…" headline, and the email submit
|
|
391
|
+
* link when the address is valid. */
|
|
392
|
+
accent: string;
|
|
382
393
|
};
|
|
383
394
|
buttons: {
|
|
384
395
|
button: {
|
|
@@ -459,6 +470,10 @@ interface ThemeTokens {
|
|
|
459
470
|
*/
|
|
460
471
|
interface VechainKitThemeConfig {
|
|
461
472
|
textColor?: string;
|
|
473
|
+
/** Brand accent. Used by the connect modal's spinner, focus rings, the
|
|
474
|
+
* "Waiting for signature…" headline, and the email submit link when the
|
|
475
|
+
* address is valid. Default: blue (`#3b82f6` light / `#60a5fa` dark). */
|
|
476
|
+
accent?: string;
|
|
462
477
|
overlay?: {
|
|
463
478
|
backgroundColor?: string;
|
|
464
479
|
blur?: string;
|
|
@@ -536,8 +551,8 @@ interface VechainKitThemeConfig {
|
|
|
536
551
|
}
|
|
537
552
|
//#endregion
|
|
538
553
|
//#region src/providers/VeChainKitProvider.d.ts
|
|
539
|
-
type AlwaysAvailableMethods = 'vechain' | 'dappkit' | 'ecosystem';
|
|
540
|
-
type PrivyDependentMethods = 'email' | 'google' | 'github' | 'passkey' | 'more';
|
|
554
|
+
type AlwaysAvailableMethods = 'vechain' | 'dappkit' | 'ecosystem' | 'veworld' | 'sync2' | 'wallet-connect';
|
|
555
|
+
type PrivyDependentMethods = 'email' | 'google' | 'apple' | 'github' | 'passkey' | 'more';
|
|
541
556
|
type AccountQuickAction = 'send' | 'swap' | 'receive';
|
|
542
557
|
type LoginMethodOrder = {
|
|
543
558
|
method: AlwaysAvailableMethods | (VechainKitProviderProps['privy'] extends undefined ? never : PrivyDependentMethods);
|
|
@@ -761,7 +776,7 @@ declare const PrivyWalletProvider: ({
|
|
|
761
776
|
declare const usePrivyWalletProvider: () => PrivyWalletProviderContextType;
|
|
762
777
|
//#endregion
|
|
763
778
|
//#region src/providers/VechainKitThemeProvider.d.ts
|
|
764
|
-
type Props$
|
|
779
|
+
type Props$42 = {
|
|
765
780
|
children: ReactNode;
|
|
766
781
|
darkMode?: boolean;
|
|
767
782
|
theme?: VechainKitThemeConfig;
|
|
@@ -771,19 +786,14 @@ declare const useVechainKitThemeConfig: () => {
|
|
|
771
786
|
tokens?: ThemeTokens;
|
|
772
787
|
themeConfig?: VechainKitThemeConfig;
|
|
773
788
|
};
|
|
774
|
-
declare const ColorModeSync: ({
|
|
775
|
-
darkMode
|
|
776
|
-
}: {
|
|
777
|
-
darkMode: boolean;
|
|
778
|
-
}) => react_jsx_runtime3.JSX.Element;
|
|
779
789
|
declare const VechainKitThemeProvider: ({
|
|
780
790
|
children,
|
|
781
791
|
darkMode,
|
|
782
792
|
theme: customTheme
|
|
783
|
-
}: Props$
|
|
793
|
+
}: Props$42) => react_jsx_runtime3.JSX.Element;
|
|
784
794
|
//#endregion
|
|
785
795
|
//#region src/providers/LegalDocumentsProvider.d.ts
|
|
786
|
-
type Props$
|
|
796
|
+
type Props$41 = {
|
|
787
797
|
children: Readonly<ReactNode>;
|
|
788
798
|
};
|
|
789
799
|
type LegalDocumentsContextType = {
|
|
@@ -796,10 +806,10 @@ type LegalDocumentsContextType = {
|
|
|
796
806
|
declare const useLegalDocuments: () => LegalDocumentsContextType;
|
|
797
807
|
declare const LegalDocumentsProvider: ({
|
|
798
808
|
children
|
|
799
|
-
}: Props$
|
|
809
|
+
}: Props$41) => react_jsx_runtime3.JSX.Element;
|
|
800
810
|
//#endregion
|
|
801
811
|
//#region src/components/ConnectModal/ConnectModal.d.ts
|
|
802
|
-
type Props$
|
|
812
|
+
type Props$40 = {
|
|
803
813
|
isOpen: boolean;
|
|
804
814
|
onClose: () => void;
|
|
805
815
|
initialContent?: ConnectModalContentsTypes;
|
|
@@ -826,21 +836,26 @@ type ConnectModalContentsTypes = 'main' | 'faq' | {
|
|
|
826
836
|
error: string;
|
|
827
837
|
onTryAgain: () => void;
|
|
828
838
|
};
|
|
839
|
+
} | {
|
|
840
|
+
type: 'more';
|
|
841
|
+
props: {
|
|
842
|
+
showBackButton?: boolean;
|
|
843
|
+
};
|
|
829
844
|
};
|
|
830
845
|
declare const ConnectModal: ({
|
|
831
846
|
isOpen,
|
|
832
847
|
onClose,
|
|
833
848
|
initialContent,
|
|
834
849
|
preventAutoClose
|
|
835
|
-
}: Props$
|
|
850
|
+
}: Props$40) => react_jsx_runtime3.JSX.Element;
|
|
836
851
|
//#endregion
|
|
837
852
|
//#region src/components/ConnectModal/Contents/MainContent.d.ts
|
|
838
|
-
type Props$
|
|
853
|
+
type Props$39 = {
|
|
839
854
|
setCurrentContent: React$1.Dispatch<React$1.SetStateAction<ConnectModalContentsTypes>>;
|
|
840
855
|
};
|
|
841
856
|
declare const MainContent: ({
|
|
842
857
|
setCurrentContent
|
|
843
|
-
}: Props$
|
|
858
|
+
}: Props$39) => react_jsx_runtime3.JSX.Element;
|
|
844
859
|
//#endregion
|
|
845
860
|
//#region src/components/ConnectModal/Contents/LoadingContent.d.ts
|
|
846
861
|
type LoadingContentProps = {
|
|
@@ -850,14 +865,25 @@ type LoadingContentProps = {
|
|
|
850
865
|
onClose: () => void;
|
|
851
866
|
onGoBack: () => void;
|
|
852
867
|
showBackButton?: boolean;
|
|
868
|
+
/**
|
|
869
|
+
* Icon to render inside the 64×64 spinner ring. Optional — when omitted
|
|
870
|
+
* the ring shows on its own.
|
|
871
|
+
*/
|
|
872
|
+
providerIcon?: ReactNode;
|
|
853
873
|
};
|
|
874
|
+
/**
|
|
875
|
+
* Centered 64×64 spinner ring (3px stroke, top arc coloured with --m-accent)
|
|
876
|
+
* with the provider icon centered inside. Below the ring: an accent-colored
|
|
877
|
+
* "Waiting for signature…" headline and the hint copy. A persistent Cancel
|
|
878
|
+
* link at the bottom returns the user where they came from.
|
|
879
|
+
*/
|
|
854
880
|
declare const LoadingContent: ({
|
|
855
881
|
loadingText,
|
|
856
882
|
title,
|
|
857
|
-
onTryAgain,
|
|
858
883
|
onClose,
|
|
859
884
|
onGoBack,
|
|
860
|
-
showBackButton
|
|
885
|
+
showBackButton,
|
|
886
|
+
providerIcon
|
|
861
887
|
}: LoadingContentProps) => react_jsx_runtime3.JSX.Element;
|
|
862
888
|
//#endregion
|
|
863
889
|
//#region src/components/ConnectModal/Contents/ErrorContent.d.ts
|
|
@@ -867,6 +893,13 @@ type ErrorContentProps = {
|
|
|
867
893
|
onTryAgain: () => void;
|
|
868
894
|
onGoBack: () => void;
|
|
869
895
|
};
|
|
896
|
+
/**
|
|
897
|
+
* Error view per spec:
|
|
898
|
+
* - 56×56 soft-red circle with an alert glyph
|
|
899
|
+
* - "Couldn't connect" headline at 18px Bold
|
|
900
|
+
* - Plain message body
|
|
901
|
+
* - Back (secondary) + Try again (primary) side-by-side
|
|
902
|
+
*/
|
|
870
903
|
declare const ErrorContent: ({
|
|
871
904
|
error,
|
|
872
905
|
onClose,
|
|
@@ -875,7 +908,7 @@ declare const ErrorContent: ({
|
|
|
875
908
|
}: ErrorContentProps) => react_jsx_runtime3.JSX.Element;
|
|
876
909
|
//#endregion
|
|
877
910
|
//#region src/components/ConnectModal/Contents/EcosystemContent.d.ts
|
|
878
|
-
type Props$
|
|
911
|
+
type Props$38 = {
|
|
879
912
|
onClose: () => void;
|
|
880
913
|
appsInfo: PrivyAppInfo[];
|
|
881
914
|
isLoading: boolean;
|
|
@@ -888,7 +921,19 @@ declare const EcosystemContent: ({
|
|
|
888
921
|
isLoading,
|
|
889
922
|
setCurrentContent,
|
|
890
923
|
showBackButton
|
|
891
|
-
}: Props$
|
|
924
|
+
}: Props$38) => react_jsx_runtime3.JSX.Element;
|
|
925
|
+
//#endregion
|
|
926
|
+
//#region src/components/ConnectModal/Contents/MoreOptionsContent.d.ts
|
|
927
|
+
type Props$37 = {
|
|
928
|
+
onClose: () => void;
|
|
929
|
+
setCurrentContent: React.Dispatch<React.SetStateAction<ConnectModalContentsTypes>>;
|
|
930
|
+
showBackButton?: boolean;
|
|
931
|
+
};
|
|
932
|
+
declare const MoreOptionsContent: ({
|
|
933
|
+
onClose,
|
|
934
|
+
setCurrentContent,
|
|
935
|
+
showBackButton
|
|
936
|
+
}: Props$37) => react_jsx_runtime3.JSX.Element;
|
|
892
937
|
//#endregion
|
|
893
938
|
//#region src/components/ConnectModal/Components/ConnectionButton.d.ts
|
|
894
939
|
interface ConnectionButtonProps {
|
|
@@ -902,6 +947,13 @@ interface ConnectionButtonProps {
|
|
|
902
947
|
variant?: string;
|
|
903
948
|
iconWidth?: string;
|
|
904
949
|
}
|
|
950
|
+
/**
|
|
951
|
+
* Login provider button — uses the three-slot layout from the design spec:
|
|
952
|
+
* [ 24px icon ] [ label flex=1 ] [ optional trailing slot ]
|
|
953
|
+
*
|
|
954
|
+
* - Height ~52px, padding 14px 18px, gap 14px
|
|
955
|
+
* - Icon-only mode (no `text`) keeps the legacy compact layout
|
|
956
|
+
*/
|
|
905
957
|
declare const ConnectionButton: ({
|
|
906
958
|
onClick,
|
|
907
959
|
text,
|
|
@@ -911,13 +963,13 @@ declare const ConnectionButton: ({
|
|
|
911
963
|
style,
|
|
912
964
|
variant,
|
|
913
965
|
iconWidth
|
|
914
|
-
}: ConnectionButtonProps) => react_jsx_runtime3.JSX.Element
|
|
966
|
+
}: ConnectionButtonProps) => react_jsx_runtime3.JSX.Element;
|
|
915
967
|
//#endregion
|
|
916
968
|
//#region src/components/ConnectModal/Components/EmailLoginButton.d.ts
|
|
917
969
|
declare const EmailLoginButton: () => react_jsx_runtime3.JSX.Element;
|
|
918
970
|
//#endregion
|
|
919
971
|
//#region src/components/ConnectModal/Components/VeChainLoginButton.d.ts
|
|
920
|
-
type Props$
|
|
972
|
+
type Props$36 = {
|
|
921
973
|
isDark: boolean;
|
|
922
974
|
gridColumn?: number;
|
|
923
975
|
setCurrentContent: React$1.Dispatch<React$1.SetStateAction<ConnectModalContentsTypes>>;
|
|
@@ -926,10 +978,10 @@ declare const VeChainLoginButton: ({
|
|
|
926
978
|
isDark,
|
|
927
979
|
gridColumn,
|
|
928
980
|
setCurrentContent
|
|
929
|
-
}: Props$
|
|
981
|
+
}: Props$36) => react_jsx_runtime3.JSX.Element;
|
|
930
982
|
//#endregion
|
|
931
983
|
//#region src/components/ConnectModal/Components/EcosystemButton.d.ts
|
|
932
|
-
type Props$
|
|
984
|
+
type Props$35 = {
|
|
933
985
|
isDark: boolean;
|
|
934
986
|
appsInfo: PrivyAppInfo[];
|
|
935
987
|
isLoading: boolean;
|
|
@@ -940,10 +992,10 @@ declare const EcosystemButton: ({
|
|
|
940
992
|
appsInfo,
|
|
941
993
|
isLoading,
|
|
942
994
|
setCurrentContent
|
|
943
|
-
}: Props$
|
|
995
|
+
}: Props$35) => react_jsx_runtime3.JSX.Element;
|
|
944
996
|
//#endregion
|
|
945
997
|
//#region src/components/ConnectModal/Components/PrivyButton.d.ts
|
|
946
|
-
type Props$
|
|
998
|
+
type Props$34 = {
|
|
947
999
|
isDark: boolean;
|
|
948
1000
|
onViewMoreLogin: () => void;
|
|
949
1001
|
gridColumn?: number;
|
|
@@ -952,20 +1004,33 @@ declare const PrivyButton: ({
|
|
|
952
1004
|
isDark,
|
|
953
1005
|
onViewMoreLogin,
|
|
954
1006
|
gridColumn
|
|
955
|
-
}: Props$
|
|
1007
|
+
}: Props$34) => react_jsx_runtime3.JSX.Element;
|
|
956
1008
|
//#endregion
|
|
957
1009
|
//#region src/components/ConnectModal/Components/LoginWithGoogleButton.d.ts
|
|
958
|
-
type Props$
|
|
1010
|
+
type Props$33 = {
|
|
959
1011
|
isDark: boolean;
|
|
960
1012
|
gridColumn?: number;
|
|
961
1013
|
};
|
|
1014
|
+
/** Secondary outline button — theme-driven stroke + row hover. */
|
|
962
1015
|
declare const LoginWithGoogleButton: ({
|
|
963
1016
|
isDark,
|
|
964
1017
|
gridColumn
|
|
965
|
-
}: Props$
|
|
1018
|
+
}: Props$33) => react_jsx_runtime3.JSX.Element;
|
|
1019
|
+
//#endregion
|
|
1020
|
+
//#region src/components/ConnectModal/Components/LoginWithAppleButton.d.ts
|
|
1021
|
+
type Props$32 = {
|
|
1022
|
+
isDark: boolean;
|
|
1023
|
+
gridColumn?: number;
|
|
1024
|
+
};
|
|
1025
|
+
/** Secondary outline button — theme-driven stroke + row hover. Apple glyph
|
|
1026
|
+
* flips to match the modal's text color so it stays legible across themes. */
|
|
1027
|
+
declare const LoginWithAppleButton: ({
|
|
1028
|
+
isDark,
|
|
1029
|
+
gridColumn
|
|
1030
|
+
}: Props$32) => react_jsx_runtime3.JSX.Element;
|
|
966
1031
|
//#endregion
|
|
967
1032
|
//#region src/components/ConnectModal/Components/PasskeyLoginButton.d.ts
|
|
968
|
-
type Props$
|
|
1033
|
+
type Props$31 = {
|
|
969
1034
|
isDark: boolean;
|
|
970
1035
|
gridColumn?: number;
|
|
971
1036
|
setCurrentContent: React$1.Dispatch<React$1.SetStateAction<ConnectModalContentsTypes>>;
|
|
@@ -974,37 +1039,82 @@ declare const PasskeyLoginButton: ({
|
|
|
974
1039
|
isDark,
|
|
975
1040
|
gridColumn,
|
|
976
1041
|
setCurrentContent
|
|
977
|
-
}: Props$
|
|
1042
|
+
}: Props$31) => react_jsx_runtime3.JSX.Element;
|
|
978
1043
|
//#endregion
|
|
979
1044
|
//#region src/components/ConnectModal/Components/DappKitButton.d.ts
|
|
980
|
-
type Props$
|
|
1045
|
+
type Props$30 = {
|
|
981
1046
|
isDark: boolean;
|
|
982
1047
|
gridColumn?: number;
|
|
983
1048
|
};
|
|
984
1049
|
declare const DappKitButton: ({
|
|
985
1050
|
isDark,
|
|
986
1051
|
gridColumn
|
|
987
|
-
}: Props$
|
|
1052
|
+
}: Props$30) => react_jsx_runtime3.JSX.Element;
|
|
988
1053
|
//#endregion
|
|
989
1054
|
//#region src/components/ConnectModal/Components/VeChainWithPrivyLoginButton.d.ts
|
|
990
|
-
type Props$
|
|
1055
|
+
type Props$29 = {
|
|
991
1056
|
isDark: boolean;
|
|
992
1057
|
gridColumn?: number;
|
|
993
1058
|
};
|
|
994
1059
|
declare const VeChainWithPrivyLoginButton: ({
|
|
995
1060
|
isDark,
|
|
996
1061
|
gridColumn
|
|
997
|
-
}: Props$
|
|
1062
|
+
}: Props$29) => react_jsx_runtime3.JSX.Element;
|
|
998
1063
|
//#endregion
|
|
999
1064
|
//#region src/components/ConnectModal/Components/LoginWithGithubButton.d.ts
|
|
1000
|
-
type Props$
|
|
1065
|
+
type Props$28 = {
|
|
1001
1066
|
isDark: boolean;
|
|
1002
1067
|
gridColumn?: number;
|
|
1003
1068
|
};
|
|
1004
1069
|
declare const LoginWithGithubButton: ({
|
|
1005
1070
|
isDark,
|
|
1006
1071
|
gridColumn
|
|
1007
|
-
}: Props$
|
|
1072
|
+
}: Props$28) => react_jsx_runtime3.JSX.Element;
|
|
1073
|
+
//#endregion
|
|
1074
|
+
//#region src/components/ConnectModal/Components/VeWorldButton.d.ts
|
|
1075
|
+
type Props$27 = {
|
|
1076
|
+
isDark: boolean;
|
|
1077
|
+
gridColumn?: number;
|
|
1078
|
+
setCurrentContent: React$1.Dispatch<React$1.SetStateAction<ConnectModalContentsTypes>>;
|
|
1079
|
+
};
|
|
1080
|
+
/**
|
|
1081
|
+
* Primary CTA — VeWorld brand-locked surface. Always inverted contrast
|
|
1082
|
+
* against the modal: dark in light mode, white in dark mode.
|
|
1083
|
+
*
|
|
1084
|
+
* Intentionally does NOT consume `theme.buttons.primaryButton.{bg,color}`
|
|
1085
|
+
* — devs who themed their primary button (e.g. brand blue) shouldn't end
|
|
1086
|
+
* up with a blue VeWorld button. The VeWorld logo + label have to stay
|
|
1087
|
+
* recognisable.
|
|
1088
|
+
*/
|
|
1089
|
+
declare const VeWorldButton: ({
|
|
1090
|
+
isDark,
|
|
1091
|
+
gridColumn,
|
|
1092
|
+
setCurrentContent
|
|
1093
|
+
}: Props$27) => react_jsx_runtime3.JSX.Element;
|
|
1094
|
+
//#endregion
|
|
1095
|
+
//#region src/components/ConnectModal/Components/Sync2Button.d.ts
|
|
1096
|
+
type Props$26 = {
|
|
1097
|
+
isDark: boolean;
|
|
1098
|
+
gridColumn?: number;
|
|
1099
|
+
setCurrentContent: React$1.Dispatch<React$1.SetStateAction<ConnectModalContentsTypes>>;
|
|
1100
|
+
};
|
|
1101
|
+
declare const Sync2Button: ({
|
|
1102
|
+
isDark,
|
|
1103
|
+
gridColumn,
|
|
1104
|
+
setCurrentContent
|
|
1105
|
+
}: Props$26) => react_jsx_runtime3.JSX.Element;
|
|
1106
|
+
//#endregion
|
|
1107
|
+
//#region src/components/ConnectModal/Components/WalletConnectButton.d.ts
|
|
1108
|
+
type Props$25 = {
|
|
1109
|
+
isDark: boolean;
|
|
1110
|
+
gridColumn?: number;
|
|
1111
|
+
setCurrentContent: React$1.Dispatch<React$1.SetStateAction<ConnectModalContentsTypes>>;
|
|
1112
|
+
};
|
|
1113
|
+
declare const WalletConnectButton: ({
|
|
1114
|
+
isDark,
|
|
1115
|
+
gridColumn,
|
|
1116
|
+
setCurrentContent
|
|
1117
|
+
}: Props$25) => react_jsx_runtime3.JSX.Element;
|
|
1008
1118
|
//#endregion
|
|
1009
1119
|
//#region src/components/ConnectModal/ConnectPopover.d.ts
|
|
1010
1120
|
type ConnectPopoverProps = {
|
|
@@ -1069,14 +1179,14 @@ declare const TransactionModal: ({
|
|
|
1069
1179
|
}: TransactionModalProps) => react_jsx_runtime3.JSX.Element | null;
|
|
1070
1180
|
//#endregion
|
|
1071
1181
|
//#region src/components/TransactionModal/Components/ShareButtons.d.ts
|
|
1072
|
-
type Props$
|
|
1182
|
+
type Props$24 = {
|
|
1073
1183
|
description: string;
|
|
1074
1184
|
url?: string;
|
|
1075
1185
|
facebookHashtag?: string;
|
|
1076
1186
|
};
|
|
1077
1187
|
declare const ShareButtons: ({
|
|
1078
1188
|
description
|
|
1079
|
-
}: Props$
|
|
1189
|
+
}: Props$24) => react_jsx_runtime3.JSX.Element;
|
|
1080
1190
|
//#endregion
|
|
1081
1191
|
//#region src/components/TransactionModal/TransactionModalContent.d.ts
|
|
1082
1192
|
declare const TransactionModalContent: ({
|
|
@@ -1109,7 +1219,7 @@ declare const TransactionToast: ({
|
|
|
1109
1219
|
}: TransactionToastProps) => react_jsx_runtime3.JSX.Element | null;
|
|
1110
1220
|
//#endregion
|
|
1111
1221
|
//#region src/components/AccountModal/Contents/Account/AccountMainContent.d.ts
|
|
1112
|
-
type Props$
|
|
1222
|
+
type Props$23 = {
|
|
1113
1223
|
setCurrentContent: React.Dispatch<React.SetStateAction<AccountModalContentTypes>>;
|
|
1114
1224
|
onClose: () => void;
|
|
1115
1225
|
wallet: Wallet;
|
|
@@ -1122,12 +1232,12 @@ declare const AccountMainContent: ({
|
|
|
1122
1232
|
wallet,
|
|
1123
1233
|
onClose,
|
|
1124
1234
|
switchFeedback
|
|
1125
|
-
}: Props$
|
|
1235
|
+
}: Props$23) => react_jsx_runtime3.JSX.Element;
|
|
1126
1236
|
//#endregion
|
|
1127
1237
|
//#region src/hooks/api/privy/useFetchAppInfo.d.ts
|
|
1128
1238
|
declare const fetchPrivyAppInfo: (appId: string) => Promise<PrivyAppInfo>;
|
|
1129
1239
|
declare const getPrivyAppInfoQueryKey: (appIds: string | string[]) => string[];
|
|
1130
|
-
declare const useFetchAppInfo: (appIds: string | string[]) =>
|
|
1240
|
+
declare const useFetchAppInfo: (appIds: string | string[]) => _tanstack_react_query8.UseQueryResult<{
|
|
1131
1241
|
[k: string]: {
|
|
1132
1242
|
website: string | undefined;
|
|
1133
1243
|
id: string;
|
|
@@ -1148,7 +1258,7 @@ declare const useFetchAppInfo: (appIds: string | string[]) => _tanstack_react_qu
|
|
|
1148
1258
|
//#endregion
|
|
1149
1259
|
//#region src/hooks/api/privy/useFetchPrivyStatus.d.ts
|
|
1150
1260
|
declare const fetchPrivyStatus: () => Promise<string>;
|
|
1151
|
-
declare const useFetchPrivyStatus: () =>
|
|
1261
|
+
declare const useFetchPrivyStatus: () => _tanstack_react_query8.UseQueryResult<string, Error>;
|
|
1152
1262
|
//#endregion
|
|
1153
1263
|
//#region src/hooks/api/vetDomains/useVechainDomain.d.ts
|
|
1154
1264
|
interface VeChainDomainResult {
|
|
@@ -1158,11 +1268,11 @@ interface VeChainDomainResult {
|
|
|
1158
1268
|
isPrimaryDomain: boolean;
|
|
1159
1269
|
}
|
|
1160
1270
|
declare const getVechainDomainQueryKey: (addressOrDomain?: string | null) => (string | null | undefined)[];
|
|
1161
|
-
declare const useVechainDomain: (addressOrDomain?: string | null) =>
|
|
1271
|
+
declare const useVechainDomain: (addressOrDomain?: string | null) => _tanstack_react_query8.UseQueryResult<VeChainDomainResult, Error>;
|
|
1162
1272
|
//#endregion
|
|
1163
1273
|
//#region src/hooks/api/vetDomains/useEnsRecordExists.d.ts
|
|
1164
1274
|
declare const getEnsRecordExistsQueryKey: (name: string) => string[];
|
|
1165
|
-
declare const useEnsRecordExists: (name: string) =>
|
|
1275
|
+
declare const useEnsRecordExists: (name: string) => _tanstack_react_query8.UseQueryResult<boolean, Error>;
|
|
1166
1276
|
//#endregion
|
|
1167
1277
|
//#region src/hooks/api/vetDomains/useClaimVeWorldSubdomain.d.ts
|
|
1168
1278
|
type useClaimVeWorldSubdomainProps = {
|
|
@@ -1224,7 +1334,7 @@ declare const getIsDomainProtectedQueryKey: (domain?: string) => (string | undef
|
|
|
1224
1334
|
* @param {boolean} [enabled=true] - Flag to enable or disable the hook.
|
|
1225
1335
|
* @returns The result of the useQuery hook, with the protection status.
|
|
1226
1336
|
*/
|
|
1227
|
-
declare const useIsDomainProtected: (domain?: string, enabled?: boolean) =>
|
|
1337
|
+
declare const useIsDomainProtected: (domain?: string, enabled?: boolean) => _tanstack_react_query8.UseQueryResult<boolean, Error>;
|
|
1228
1338
|
//#endregion
|
|
1229
1339
|
//#region src/hooks/api/vetDomains/useGetDomainsOfAddress.d.ts
|
|
1230
1340
|
declare const DomainSchema: z.ZodObject<{
|
|
@@ -1252,7 +1362,7 @@ declare const getDomainsOfAddressQueryKey: (address?: string, parentDomain?: str
|
|
|
1252
1362
|
* @param parentDomain The parent domain (e.g., "veworld.vet")
|
|
1253
1363
|
* @returns The domains owned by the address
|
|
1254
1364
|
*/
|
|
1255
|
-
declare const useGetDomainsOfAddress: (address?: string, parentDomain?: string) =>
|
|
1365
|
+
declare const useGetDomainsOfAddress: (address?: string, parentDomain?: string) => _tanstack_react_query8.UseQueryResult<{
|
|
1256
1366
|
domains: {
|
|
1257
1367
|
name: string;
|
|
1258
1368
|
}[];
|
|
@@ -1265,7 +1375,7 @@ declare const getAvatarQueryKey: (name: string, networkType: NETWORK_TYPE) => st
|
|
|
1265
1375
|
* @param name - The VET domain name
|
|
1266
1376
|
* @returns The resolved avatar URL
|
|
1267
1377
|
*/
|
|
1268
|
-
declare const useGetAvatar: (name: string) =>
|
|
1378
|
+
declare const useGetAvatar: (name: string) => _tanstack_react_query8.UseQueryResult<string | null, Error>;
|
|
1269
1379
|
//#endregion
|
|
1270
1380
|
//#region src/hooks/api/vetDomains/useGetTextRecords.d.ts
|
|
1271
1381
|
/**
|
|
@@ -1277,7 +1387,7 @@ declare const useGetAvatar: (name: string) => _tanstack_react_query17.UseQueryRe
|
|
|
1277
1387
|
*/
|
|
1278
1388
|
declare const getTextRecords: (nodeUrl: string, network: NETWORK_TYPE, domain?: string) => Promise<TextRecords>;
|
|
1279
1389
|
declare const getTextRecordsQueryKey: (domain?: string, network?: NETWORK_TYPE) => (string | undefined)[];
|
|
1280
|
-
declare const useGetTextRecords: (domain?: string) =>
|
|
1390
|
+
declare const useGetTextRecords: (domain?: string) => _tanstack_react_query8.UseQueryResult<TextRecords, Error>;
|
|
1281
1391
|
//#endregion
|
|
1282
1392
|
//#region src/hooks/api/vetDomains/useUpdateTextRecord.d.ts
|
|
1283
1393
|
type UpdateTextRecordVariables = {
|
|
@@ -1310,7 +1420,7 @@ declare const getResolverAddressQueryKey: (domain?: string) => (string | undefin
|
|
|
1310
1420
|
* @param domain The domain to get resolver for
|
|
1311
1421
|
* @returns The resolver address for the domain
|
|
1312
1422
|
*/
|
|
1313
|
-
declare const useGetResolverAddress: (domain?: string) =>
|
|
1423
|
+
declare const useGetResolverAddress: (domain?: string) => _tanstack_react_query8.UseQueryResult<`0x${string}`, unknown>;
|
|
1314
1424
|
//#endregion
|
|
1315
1425
|
//#region src/hooks/api/vetDomains/useGetAvatarOfAddress.d.ts
|
|
1316
1426
|
declare const getAvatarOfAddressQueryKey: (address?: string) => (string | undefined)[];
|
|
@@ -1320,7 +1430,7 @@ declare const getAvatarOfAddressQueryKey: (address?: string) => (string | undefi
|
|
|
1320
1430
|
* @param address The owner's address
|
|
1321
1431
|
* @returns The avatar URL for the address's primary domain
|
|
1322
1432
|
*/
|
|
1323
|
-
declare const useGetAvatarOfAddress: (address?: string) =>
|
|
1433
|
+
declare const useGetAvatarOfAddress: (address?: string) => _tanstack_react_query8.UseQueryResult<string, Error>;
|
|
1324
1434
|
//#endregion
|
|
1325
1435
|
//#region src/hooks/api/vetDomains/useGetAvatarLegacy.d.ts
|
|
1326
1436
|
/**
|
|
@@ -1337,7 +1447,7 @@ declare const getAvatarLegacyQueryKey: (name: string, networkType: NETWORK_TYPE)
|
|
|
1337
1447
|
* @param name - The VET domain name
|
|
1338
1448
|
* @returns The resolved avatar URL
|
|
1339
1449
|
*/
|
|
1340
|
-
declare const useGetAvatarLegacy: (name: string) =>
|
|
1450
|
+
declare const useGetAvatarLegacy: (name: string) => _tanstack_react_query8.UseQueryResult<string | null, Error>;
|
|
1341
1451
|
//#endregion
|
|
1342
1452
|
//#region src/hooks/api/vetDomains/useUnsetDomain.d.ts
|
|
1343
1453
|
type useUnsetDomainProps = {
|
|
@@ -1376,9 +1486,8 @@ type ExchangeRates = {
|
|
|
1376
1486
|
gbpUsdPrice: number;
|
|
1377
1487
|
};
|
|
1378
1488
|
declare const useTokenPrices: () => {
|
|
1379
|
-
prices:
|
|
1380
|
-
|
|
1381
|
-
};
|
|
1489
|
+
prices: Record<string, number>;
|
|
1490
|
+
priceChanges: Record<string, number>;
|
|
1382
1491
|
exchangeRates: ExchangeRates;
|
|
1383
1492
|
isLoading: boolean;
|
|
1384
1493
|
};
|
|
@@ -1388,6 +1497,7 @@ type TokenWithValue = WalletTokenBalance & {
|
|
|
1388
1497
|
priceUsd: number;
|
|
1389
1498
|
valueUsd: number;
|
|
1390
1499
|
valueInCurrency: number;
|
|
1500
|
+
priceChange24hPct?: number;
|
|
1391
1501
|
};
|
|
1392
1502
|
type UseTokensWithValuesProps = {
|
|
1393
1503
|
address?: string;
|
|
@@ -1399,6 +1509,7 @@ declare const useTokensWithValues: ({
|
|
|
1399
1509
|
priceUsd: number;
|
|
1400
1510
|
valueUsd: number;
|
|
1401
1511
|
valueInCurrency: number;
|
|
1512
|
+
priceChange24hPct: number;
|
|
1402
1513
|
address: string;
|
|
1403
1514
|
symbol: string;
|
|
1404
1515
|
balance: string;
|
|
@@ -1407,6 +1518,7 @@ declare const useTokensWithValues: ({
|
|
|
1407
1518
|
priceUsd: number;
|
|
1408
1519
|
valueUsd: number;
|
|
1409
1520
|
valueInCurrency: number;
|
|
1521
|
+
priceChange24hPct: number;
|
|
1410
1522
|
address: string;
|
|
1411
1523
|
symbol: string;
|
|
1412
1524
|
balance: string;
|
|
@@ -1415,6 +1527,7 @@ declare const useTokensWithValues: ({
|
|
|
1415
1527
|
priceUsd: number;
|
|
1416
1528
|
valueUsd: number;
|
|
1417
1529
|
valueInCurrency: number;
|
|
1530
|
+
priceChange24hPct: number;
|
|
1418
1531
|
address: string;
|
|
1419
1532
|
symbol: string;
|
|
1420
1533
|
balance: string;
|
|
@@ -1431,6 +1544,11 @@ declare const useTotalBalance: ({
|
|
|
1431
1544
|
}: UseTotalBalanceProps) => {
|
|
1432
1545
|
totalBalanceInCurrency: number;
|
|
1433
1546
|
totalBalanceUsd: number;
|
|
1547
|
+
liquidBalanceInCurrency: number;
|
|
1548
|
+
liquidBalanceUsd: number;
|
|
1549
|
+
stakingInCurrency: number;
|
|
1550
|
+
stakingUsd: number;
|
|
1551
|
+
priceChange24hPct: number | undefined;
|
|
1434
1552
|
formattedBalance: string;
|
|
1435
1553
|
isLoading: boolean;
|
|
1436
1554
|
hasAnyBalance: boolean;
|
|
@@ -1446,7 +1564,7 @@ declare const getCurrentAllocationsRoundIdQueryKey: (address: string) => string[
|
|
|
1446
1564
|
* Hook to get the current roundId of allocations voting
|
|
1447
1565
|
* @returns the current roundId of allocations voting
|
|
1448
1566
|
*/
|
|
1449
|
-
declare const useCurrentAllocationsRoundId: () =>
|
|
1567
|
+
declare const useCurrentAllocationsRoundId: () => _tanstack_react_query8.UseQueryResult<string, unknown>;
|
|
1450
1568
|
//#endregion
|
|
1451
1569
|
//#region src/hooks/api/wallet/useCustomTokens.d.ts
|
|
1452
1570
|
declare const useCustomTokens: () => {
|
|
@@ -1459,7 +1577,7 @@ declare const useCustomTokens: () => {
|
|
|
1459
1577
|
//#endregion
|
|
1460
1578
|
//#region src/hooks/api/wallet/useGetB3trBalance.d.ts
|
|
1461
1579
|
declare const getB3trBalanceQueryKey: (address?: string) => (string | undefined)[];
|
|
1462
|
-
declare const useGetB3trBalance: (address?: string) =>
|
|
1580
|
+
declare const useGetB3trBalance: (address?: string) => _tanstack_react_query8.UseQueryResult<{
|
|
1463
1581
|
original: string;
|
|
1464
1582
|
scaled: string;
|
|
1465
1583
|
formatted: string;
|
|
@@ -1468,7 +1586,7 @@ declare const useGetB3trBalance: (address?: string) => _tanstack_react_query17.U
|
|
|
1468
1586
|
//#region src/hooks/api/wallet/useGetCustomTokenBalances.d.ts
|
|
1469
1587
|
type TokenWithBalance = CustomTokenInfo & TokenBalance;
|
|
1470
1588
|
declare const getCustomTokenBalanceQueryKey: (tokenAddress?: string, address?: string, decimals?: number) => (string | number | undefined)[];
|
|
1471
|
-
declare const useGetCustomTokenBalances: (address?: string) =>
|
|
1589
|
+
declare const useGetCustomTokenBalances: (address?: string) => _tanstack_react_query8.UseQueryResult<{
|
|
1472
1590
|
original: string;
|
|
1473
1591
|
scaled: string;
|
|
1474
1592
|
formatted: string;
|
|
@@ -1479,16 +1597,16 @@ declare const useGetCustomTokenBalances: (address?: string) => _tanstack_react_q
|
|
|
1479
1597
|
}, Error>[];
|
|
1480
1598
|
//#endregion
|
|
1481
1599
|
//#region src/hooks/api/wallet/useGetCustomTokenInfo.d.ts
|
|
1482
|
-
declare const getTokenInfo
|
|
1600
|
+
declare const getTokenInfo: (tokenAddress: string, networkUrl: string) => Promise<CustomTokenInfo>;
|
|
1483
1601
|
declare const getCustomTokenInfoQueryKey: (tokenAddress: string) => string[];
|
|
1484
|
-
declare const useGetCustomTokenInfo: (tokenAddress: string) =>
|
|
1602
|
+
declare const useGetCustomTokenInfo: (tokenAddress: string) => _tanstack_react_query8.UseQueryResult<CustomTokenInfo, Error>;
|
|
1485
1603
|
//#endregion
|
|
1486
1604
|
//#region src/hooks/api/wallet/useGetErc20Balance.d.ts
|
|
1487
1605
|
declare const getErc20BalanceQueryKey: (tokenAddress: string, address?: string) => (string | undefined)[];
|
|
1488
1606
|
type UseGetErc20BalanceOptions = {
|
|
1489
1607
|
enabled?: boolean;
|
|
1490
1608
|
};
|
|
1491
|
-
declare const useGetErc20Balance: (tokenAddress: string, address?: string, options?: UseGetErc20BalanceOptions) =>
|
|
1609
|
+
declare const useGetErc20Balance: (tokenAddress: string, address?: string, options?: UseGetErc20BalanceOptions) => _tanstack_react_query8.UseQueryResult<{
|
|
1492
1610
|
original: string;
|
|
1493
1611
|
scaled: string;
|
|
1494
1612
|
formatted: string;
|
|
@@ -1505,11 +1623,46 @@ declare const PRICE_FEED_IDS: {
|
|
|
1505
1623
|
type SupportedToken = keyof typeof PRICE_FEED_IDS;
|
|
1506
1624
|
declare const getTokenUsdPrice: (thor: ThorClient, token: SupportedToken, network: NETWORK_TYPE) => Promise<number>;
|
|
1507
1625
|
declare const getTokenUsdPriceQueryKey: (token: SupportedToken) => string[];
|
|
1508
|
-
declare const useGetTokenUsdPrice: (token: SupportedToken) =>
|
|
1626
|
+
declare const useGetTokenUsdPrice: (token: SupportedToken) => _tanstack_react_query8.UseQueryResult<number, Error>;
|
|
1627
|
+
//#endregion
|
|
1628
|
+
//#region src/hooks/api/wallet/useOraclePriceChanges24h.d.ts
|
|
1629
|
+
type PricePoint = {
|
|
1630
|
+
timestamp: number;
|
|
1631
|
+
value: number;
|
|
1632
|
+
};
|
|
1633
|
+
type OracleHistory24h = {
|
|
1634
|
+
/** All emitted ValueUpdate observations per token, ascending by time. */
|
|
1635
|
+
history: Partial<Record<SupportedToken, PricePoint[]>>;
|
|
1636
|
+
/** Current spot value per token (USD). */
|
|
1637
|
+
latest: Partial<Record<SupportedToken, number>>;
|
|
1638
|
+
};
|
|
1639
|
+
type PriceChanges24h = Partial<Record<SupportedToken, number>>;
|
|
1640
|
+
/**
|
|
1641
|
+
* Shared 24h oracle scan: fetches every `ValueUpdate` emitted by
|
|
1642
|
+
* `OracleVechainEnergy` over the last day plus the current spot for each
|
|
1643
|
+
* supported feed. Multiple downstream hooks (`useOraclePriceChanges24h`,
|
|
1644
|
+
* `useTokenPriceHistory24h`, the portfolio chart) all derive from this single
|
|
1645
|
+
* query so we never run the same RPC scan twice in a session.
|
|
1646
|
+
*/
|
|
1647
|
+
declare const useOracleHistory24h: () => _tanstack_react_query8.UseQueryResult<OracleHistory24h, Error>;
|
|
1648
|
+
declare const useOraclePriceChanges24h: () => {
|
|
1649
|
+
data: Partial<Record<"B3TR" | "VET" | "VTHO" | "GBP" | "EUR", number>>;
|
|
1650
|
+
};
|
|
1651
|
+
/** Per-token sparkline points (ascending by timestamp). */
|
|
1652
|
+
declare const useTokenPriceHistory24h: (token?: SupportedToken) => {
|
|
1653
|
+
points: PricePoint[];
|
|
1654
|
+
isLoading: boolean;
|
|
1655
|
+
};
|
|
1656
|
+
//#endregion
|
|
1657
|
+
//#region src/hooks/api/wallet/usePortfolioPriceHistory24h.d.ts
|
|
1658
|
+
declare const usePortfolioPriceHistory24h: (address?: string) => {
|
|
1659
|
+
points: PricePoint[];
|
|
1660
|
+
isLoading: boolean;
|
|
1661
|
+
};
|
|
1509
1662
|
//#endregion
|
|
1510
1663
|
//#region src/hooks/api/wallet/useGetVot3Balance.d.ts
|
|
1511
1664
|
declare const getVot3BalanceQueryKey: (address?: string) => (string | undefined)[];
|
|
1512
|
-
declare const useGetVot3Balance: (address?: string) =>
|
|
1665
|
+
declare const useGetVot3Balance: (address?: string) => _tanstack_react_query8.UseQueryResult<{
|
|
1513
1666
|
original: string;
|
|
1514
1667
|
scaled: string;
|
|
1515
1668
|
formatted: string;
|
|
@@ -1528,7 +1681,7 @@ declare const getIsPersonQueryKey: (user: string, networkType: NETWORK_TYPE) =>
|
|
|
1528
1681
|
* @param user - The user address.
|
|
1529
1682
|
* @returns The isPerson status.
|
|
1530
1683
|
*/
|
|
1531
|
-
declare const useIsPerson: (user?: string | null) =>
|
|
1684
|
+
declare const useIsPerson: (user?: string | null) => _tanstack_react_query8.UseQueryResult<boolean, Error>;
|
|
1532
1685
|
//#endregion
|
|
1533
1686
|
//#region src/hooks/api/wallet/useMostVotedAppsInRound.d.ts
|
|
1534
1687
|
type XApp = {
|
|
@@ -1566,7 +1719,7 @@ declare const useRefreshMetadata: (domain: string, address: string) => {
|
|
|
1566
1719
|
//#endregion
|
|
1567
1720
|
//#region src/hooks/api/wallet/useRoundXApps.d.ts
|
|
1568
1721
|
declare const getRoundXAppsQueryKey: (roundId: string, networkType: NETWORK_TYPE) => unknown[];
|
|
1569
|
-
declare const useRoundXApps: (roundId?: string) =>
|
|
1722
|
+
declare const useRoundXApps: (roundId?: string) => _tanstack_react_query8.UseQueryResult<{
|
|
1570
1723
|
id: string;
|
|
1571
1724
|
teamWalletAddress: `0x${string}`;
|
|
1572
1725
|
name: string;
|
|
@@ -1597,7 +1750,7 @@ type UseWalletReturnType = {
|
|
|
1597
1750
|
};
|
|
1598
1751
|
disconnect: () => Promise<void>;
|
|
1599
1752
|
};
|
|
1600
|
-
declare const useWallet
|
|
1753
|
+
declare const useWallet: () => UseWalletReturnType;
|
|
1601
1754
|
//#endregion
|
|
1602
1755
|
//#region src/hooks/api/wallet/useWalletMetadata.d.ts
|
|
1603
1756
|
declare const useWalletMetadata: (address: string, networkType: NETWORK_TYPE) => {
|
|
@@ -1680,7 +1833,7 @@ type XAppMetadata = {
|
|
|
1680
1833
|
* @returns The metadata of the xApp see {@link XAppMetadata}
|
|
1681
1834
|
*/
|
|
1682
1835
|
declare const getXAppMetadata: (uri: string, networkType: NETWORK_TYPE) => Promise<XAppMetadata | undefined>;
|
|
1683
|
-
declare const useXAppMetadata: (xAppId: string) =>
|
|
1836
|
+
declare const useXAppMetadata: (xAppId: string) => _tanstack_react_query8.UseQueryResult<XAppMetadata | undefined, Error>;
|
|
1684
1837
|
//#endregion
|
|
1685
1838
|
//#region src/hooks/api/wallet/useXAppShares.d.ts
|
|
1686
1839
|
/**
|
|
@@ -1695,7 +1848,7 @@ declare const getXAppsSharesQueryKey: (roundId?: number | string) => (string | n
|
|
|
1695
1848
|
* @returns the shares (% of allocation pool) for the xApps in the round { allocated: number, unallocated: number }
|
|
1696
1849
|
*
|
|
1697
1850
|
*/
|
|
1698
|
-
declare const useXAppsShares: (apps: string[], roundId?: string) =>
|
|
1851
|
+
declare const useXAppsShares: (apps: string[], roundId?: string) => _tanstack_react_query8.UseQueryResult<{
|
|
1699
1852
|
app: string;
|
|
1700
1853
|
share: number;
|
|
1701
1854
|
unallocatedShare: number;
|
|
@@ -1717,7 +1870,7 @@ declare const getIpfsMetadataQueryKey: (networkType: NETWORK_TYPE, ipfsUri?: str
|
|
|
1717
1870
|
* @param ipfsUri - The IPFS URI
|
|
1718
1871
|
* @returns The metadata from IPFS
|
|
1719
1872
|
*/
|
|
1720
|
-
declare const useIpfsMetadata: <T$1>(ipfsUri?: string, parseJson?: boolean) =>
|
|
1873
|
+
declare const useIpfsMetadata: <T$1>(ipfsUri?: string, parseJson?: boolean) => _tanstack_react_query8.UseQueryResult<_tanstack_react_query8.NoInfer<T$1>, Error>;
|
|
1721
1874
|
//#endregion
|
|
1722
1875
|
//#region src/hooks/api/ipfs/useIpfsImage.d.ts
|
|
1723
1876
|
interface IpfsImage {
|
|
@@ -1744,14 +1897,14 @@ declare const getIpfsImageQueryKey: (networkType: NETWORK_TYPE, imageIpfsUri?: n
|
|
|
1744
1897
|
* @param imageIpfsUri - The IPFS URI of the NFT media
|
|
1745
1898
|
* @returns The NFT media
|
|
1746
1899
|
*/
|
|
1747
|
-
declare const useIpfsImage: (imageIpfsUri?: null | string) =>
|
|
1900
|
+
declare const useIpfsImage: (imageIpfsUri?: null | string) => _tanstack_react_query8.UseQueryResult<IpfsImage, Error>;
|
|
1748
1901
|
/**
|
|
1749
1902
|
* Custom hook to fetch a list of IPFS images.
|
|
1750
1903
|
*
|
|
1751
1904
|
* @param imageIpfsUriList - An array of IPFS URIs for the images.
|
|
1752
1905
|
* @returns An array of queries for each IPFS image URI.
|
|
1753
1906
|
*/
|
|
1754
|
-
declare const useIpfsImageList: (imageIpfsUriList: string[]) =>
|
|
1907
|
+
declare const useIpfsImageList: (imageIpfsUriList: string[]) => _tanstack_react_query8.UseQueryResult<IpfsImage, Error>[];
|
|
1755
1908
|
//#endregion
|
|
1756
1909
|
//#region src/hooks/api/ipfs/useIpfsMetadatas.d.ts
|
|
1757
1910
|
/**
|
|
@@ -1759,12 +1912,12 @@ declare const useIpfsImageList: (imageIpfsUriList: string[]) => _tanstack_react_
|
|
|
1759
1912
|
* @param ipfsUris - The IPFS URIs
|
|
1760
1913
|
* @returns The metadata from IPFS for each URI
|
|
1761
1914
|
*/
|
|
1762
|
-
declare const useIpfsMetadatas: <T$1>(ipfsUris: string[], parseJson?: boolean) =>
|
|
1915
|
+
declare const useIpfsMetadatas: <T$1>(ipfsUris: string[], parseJson?: boolean) => _tanstack_react_query8.UseQueryResult<T$1, Error>[];
|
|
1763
1916
|
//#endregion
|
|
1764
1917
|
//#region src/hooks/api/ipfs/useUploadImages.d.ts
|
|
1765
1918
|
declare const imageCompressionOptions: Options;
|
|
1766
1919
|
declare const compressImages: (images: UploadedImage[]) => Promise<File[]>;
|
|
1767
|
-
type Props$
|
|
1920
|
+
type Props$22 = {
|
|
1768
1921
|
compressImages?: boolean;
|
|
1769
1922
|
defaultImages?: UploadedImage[];
|
|
1770
1923
|
};
|
|
@@ -1780,7 +1933,7 @@ type UploadedImage = {
|
|
|
1780
1933
|
declare const useUploadImages: ({
|
|
1781
1934
|
compressImages,
|
|
1782
1935
|
defaultImages
|
|
1783
|
-
}: Props$
|
|
1936
|
+
}: Props$22) => {
|
|
1784
1937
|
uploadedImages: UploadedImage[];
|
|
1785
1938
|
setUploadedImages: react0.Dispatch<react0.SetStateAction<UploadedImage[]>>;
|
|
1786
1939
|
onUpload: (acceptedFiles: File[], keepCurrent?: boolean) => Promise<void>;
|
|
@@ -1789,7 +1942,7 @@ declare const useUploadImages: ({
|
|
|
1789
1942
|
};
|
|
1790
1943
|
//#endregion
|
|
1791
1944
|
//#region src/hooks/api/ipfs/useSingleImageUpload.d.ts
|
|
1792
|
-
type Props$
|
|
1945
|
+
type Props$21 = {
|
|
1793
1946
|
compressImage?: boolean;
|
|
1794
1947
|
defaultImage?: UploadedImage;
|
|
1795
1948
|
};
|
|
@@ -1802,7 +1955,7 @@ type Props$19 = {
|
|
|
1802
1955
|
declare const useSingleImageUpload: ({
|
|
1803
1956
|
compressImage,
|
|
1804
1957
|
defaultImage
|
|
1805
|
-
}: Props$
|
|
1958
|
+
}: Props$21) => {
|
|
1806
1959
|
uploadedImage: UploadedImage | undefined;
|
|
1807
1960
|
setUploadedImage: react0.Dispatch<react0.SetStateAction<UploadedImage | undefined>>;
|
|
1808
1961
|
onUpload: (acceptedFile: File) => Promise<UploadedImage>;
|
|
@@ -1968,6 +2121,166 @@ type UnifiedSwapQuotesResult = {
|
|
|
1968
2121
|
*/
|
|
1969
2122
|
declare const useSwapQuotes: (fromToken: TokenWithValue | null, toToken: TokenWithValue | null, amountIn: string, userAddress: string, slippageTolerance?: number, enabled?: boolean) => UnifiedSwapQuotesResult;
|
|
1970
2123
|
//#endregion
|
|
2124
|
+
//#region src/hooks/api/transferHistory/types.d.ts
|
|
2125
|
+
type TransferDirection = 'sent' | 'received';
|
|
2126
|
+
type TransferEventType = 'VET' | 'FUNGIBLE_TOKEN' | 'NFT';
|
|
2127
|
+
type IndexerTransfer = {
|
|
2128
|
+
id: string;
|
|
2129
|
+
blockId: string;
|
|
2130
|
+
blockNumber: number;
|
|
2131
|
+
blockTimestamp: number;
|
|
2132
|
+
txId: string;
|
|
2133
|
+
from: string;
|
|
2134
|
+
to: string;
|
|
2135
|
+
value: string;
|
|
2136
|
+
tokenAddress?: string;
|
|
2137
|
+
tokenId?: string;
|
|
2138
|
+
topics: string[];
|
|
2139
|
+
eventType: TransferEventType;
|
|
2140
|
+
};
|
|
2141
|
+
type TransferHistoryItem = {
|
|
2142
|
+
id: string;
|
|
2143
|
+
txId: string;
|
|
2144
|
+
blockNumber: number;
|
|
2145
|
+
timestamp: number;
|
|
2146
|
+
direction: TransferDirection;
|
|
2147
|
+
from: string;
|
|
2148
|
+
to: string;
|
|
2149
|
+
tokenAddress: string | null;
|
|
2150
|
+
tokenSymbol: string;
|
|
2151
|
+
tokenDecimals: number;
|
|
2152
|
+
rawValue: string;
|
|
2153
|
+
amount: number;
|
|
2154
|
+
eventType: TransferEventType;
|
|
2155
|
+
};
|
|
2156
|
+
declare const VET_TOKEN_SENTINEL = "0x";
|
|
2157
|
+
declare const VTHO_TOKEN_ADDRESS = "0x0000000000000000000000000000456e65726779";
|
|
2158
|
+
//#endregion
|
|
2159
|
+
//#region src/hooks/api/transferHistory/useTransferHistory.d.ts
|
|
2160
|
+
declare const getTransferHistoryQueryKey: (address?: string, networkType?: string, tokenAddress?: string | null) => (string | undefined)[];
|
|
2161
|
+
type UseTransferHistoryOptions = {
|
|
2162
|
+
tokenAddress?: string | null;
|
|
2163
|
+
enabled?: boolean;
|
|
2164
|
+
};
|
|
2165
|
+
declare const useTransferHistory: (address?: string, {
|
|
2166
|
+
tokenAddress,
|
|
2167
|
+
enabled
|
|
2168
|
+
}?: UseTransferHistoryOptions) => {
|
|
2169
|
+
transfers: TransferHistoryItem[];
|
|
2170
|
+
isLoading: boolean;
|
|
2171
|
+
isFetching: boolean;
|
|
2172
|
+
isFetchingNextPage: boolean;
|
|
2173
|
+
hasNextPage: boolean;
|
|
2174
|
+
fetchNextPage: (options?: _tanstack_react_query8.FetchNextPageOptions) => Promise<_tanstack_react_query8.InfiniteQueryObserverResult<_tanstack_react_query8.InfiniteData<{
|
|
2175
|
+
items: TransferHistoryItem[];
|
|
2176
|
+
hasNext: boolean;
|
|
2177
|
+
}, unknown>, Error>>;
|
|
2178
|
+
isUnsupportedNetwork: boolean;
|
|
2179
|
+
error: Error | null;
|
|
2180
|
+
};
|
|
2181
|
+
//#endregion
|
|
2182
|
+
//#region src/hooks/api/transferHistory/useTokenTransferHistory.d.ts
|
|
2183
|
+
declare const useTokenTransferHistory: (address?: string, tokenAddress?: string | null, options?: {
|
|
2184
|
+
enabled?: boolean;
|
|
2185
|
+
}) => {
|
|
2186
|
+
transfers: TransferHistoryItem[];
|
|
2187
|
+
isLoading: boolean;
|
|
2188
|
+
isFetching: boolean;
|
|
2189
|
+
isFetchingNextPage: boolean;
|
|
2190
|
+
hasNextPage: boolean;
|
|
2191
|
+
fetchNextPage: (options?: _tanstack_query_core0.FetchNextPageOptions) => Promise<_tanstack_query_core0.InfiniteQueryObserverResult<_tanstack_query_core0.InfiniteData<{
|
|
2192
|
+
items: TransferHistoryItem[];
|
|
2193
|
+
hasNext: boolean;
|
|
2194
|
+
}, unknown>, Error>>;
|
|
2195
|
+
isUnsupportedNetwork: boolean;
|
|
2196
|
+
error: Error | null;
|
|
2197
|
+
};
|
|
2198
|
+
//#endregion
|
|
2199
|
+
//#region src/hooks/api/staking/useStargatePositions.d.ts
|
|
2200
|
+
type StargatePosition = {
|
|
2201
|
+
tokenId: string;
|
|
2202
|
+
levelId: number;
|
|
2203
|
+
vetAmountStaked: string;
|
|
2204
|
+
vetAmountFormatted: number;
|
|
2205
|
+
valueUsd: number;
|
|
2206
|
+
valueInCurrency: number;
|
|
2207
|
+
isDelegated: boolean;
|
|
2208
|
+
};
|
|
2209
|
+
type StargatePositionsResult = {
|
|
2210
|
+
positions: StargatePosition[];
|
|
2211
|
+
totalVet: number;
|
|
2212
|
+
totalValueUsd: number;
|
|
2213
|
+
totalValueInCurrency: number;
|
|
2214
|
+
isLoading: boolean;
|
|
2215
|
+
error: unknown;
|
|
2216
|
+
};
|
|
2217
|
+
declare const useStargatePositions: (address?: string) => StargatePositionsResult;
|
|
2218
|
+
//#endregion
|
|
2219
|
+
//#region src/hooks/api/staking/useNavigatorPosition.d.ts
|
|
2220
|
+
type NavigatorPosition = {
|
|
2221
|
+
isNavigator: boolean;
|
|
2222
|
+
isDelegated: boolean;
|
|
2223
|
+
stakedB3TR: number;
|
|
2224
|
+
stakedB3TRRaw: string;
|
|
2225
|
+
delegatedAmount: number;
|
|
2226
|
+
delegatedAmountRaw: string;
|
|
2227
|
+
navigatorAddress?: string;
|
|
2228
|
+
totalB3TR: number;
|
|
2229
|
+
totalValueUsd: number;
|
|
2230
|
+
totalValueInCurrency: number;
|
|
2231
|
+
isLoading: boolean;
|
|
2232
|
+
error: unknown;
|
|
2233
|
+
};
|
|
2234
|
+
declare const useNavigatorPosition: (address?: string) => NavigatorPosition;
|
|
2235
|
+
//#endregion
|
|
2236
|
+
//#region src/hooks/api/staking/useBetterSwapLpPositions.d.ts
|
|
2237
|
+
type LpPositionToken = {
|
|
2238
|
+
address: string;
|
|
2239
|
+
symbol: string;
|
|
2240
|
+
amount: number;
|
|
2241
|
+
};
|
|
2242
|
+
type LpPosition = {
|
|
2243
|
+
pairAddress: string;
|
|
2244
|
+
lpBalance: number;
|
|
2245
|
+
sharePct: number;
|
|
2246
|
+
token0: LpPositionToken;
|
|
2247
|
+
token1: LpPositionToken;
|
|
2248
|
+
valueUsd: number;
|
|
2249
|
+
valueInCurrency: number;
|
|
2250
|
+
};
|
|
2251
|
+
declare const useBetterSwapLpPositions: (address?: string) => {
|
|
2252
|
+
positions: LpPosition[];
|
|
2253
|
+
totalValueUsd: number;
|
|
2254
|
+
totalValueInCurrency: number;
|
|
2255
|
+
isLoading: boolean;
|
|
2256
|
+
error: Error | null;
|
|
2257
|
+
};
|
|
2258
|
+
//#endregion
|
|
2259
|
+
//#region src/hooks/api/staking/useJuicyPosition.d.ts
|
|
2260
|
+
type JuicyAssetPosition = {
|
|
2261
|
+
asset: string;
|
|
2262
|
+
symbol: string;
|
|
2263
|
+
decimals: number;
|
|
2264
|
+
amount: number;
|
|
2265
|
+
valueUsd: number;
|
|
2266
|
+
valueInCurrency: number;
|
|
2267
|
+
};
|
|
2268
|
+
type JuicyPositionResult = {
|
|
2269
|
+
supplied: JuicyAssetPosition[];
|
|
2270
|
+
borrowed: JuicyAssetPosition[];
|
|
2271
|
+
totalSuppliedUsd: number;
|
|
2272
|
+
totalSuppliedInCurrency: number;
|
|
2273
|
+
totalBorrowedUsd: number;
|
|
2274
|
+
totalBorrowedInCurrency: number;
|
|
2275
|
+
healthFactor: number | null;
|
|
2276
|
+
netValueUsd: number;
|
|
2277
|
+
netValueInCurrency: number;
|
|
2278
|
+
hasPosition: boolean;
|
|
2279
|
+
isLoading: boolean;
|
|
2280
|
+
error: unknown;
|
|
2281
|
+
};
|
|
2282
|
+
declare const useJuicyPosition: (address?: string) => JuicyPositionResult;
|
|
2283
|
+
//#endregion
|
|
1971
2284
|
//#region src/hooks/modals/useConnectModal.d.ts
|
|
1972
2285
|
declare const useConnectModal: () => {
|
|
1973
2286
|
open: (initialContent?: ConnectModalContentsTypes) => void;
|
|
@@ -2132,10 +2445,14 @@ declare const ReceiveModalProvider: ({
|
|
|
2132
2445
|
//#region src/hooks/modals/useLoginModalContent.d.ts
|
|
2133
2446
|
type LoginModalContentConfig = {
|
|
2134
2447
|
showGoogleLogin: boolean;
|
|
2448
|
+
showAppleLogin: boolean;
|
|
2135
2449
|
showEmailLogin: boolean;
|
|
2136
2450
|
showPasskey: boolean;
|
|
2137
2451
|
showVeChainLogin: boolean;
|
|
2138
2452
|
showDappKit: boolean;
|
|
2453
|
+
showVeWorld: boolean;
|
|
2454
|
+
showSync2: boolean;
|
|
2455
|
+
showWalletConnect: boolean;
|
|
2139
2456
|
showEcosystem: boolean;
|
|
2140
2457
|
showMoreLogin: boolean;
|
|
2141
2458
|
showGithubLogin: boolean;
|
|
@@ -2248,7 +2565,7 @@ type UseSignTypedDataReturnValue = {
|
|
|
2248
2565
|
declare const useSignTypedData: () => UseSignTypedDataReturnValue;
|
|
2249
2566
|
//#endregion
|
|
2250
2567
|
//#region src/hooks/login/useLoginWithPasskey.d.ts
|
|
2251
|
-
declare const useLoginWithPasskey
|
|
2568
|
+
declare const useLoginWithPasskey: () => {
|
|
2252
2569
|
loginWithPasskey: () => Promise<void>;
|
|
2253
2570
|
};
|
|
2254
2571
|
//#endregion
|
|
@@ -2256,7 +2573,7 @@ declare const useLoginWithPasskey$1: () => {
|
|
|
2256
2573
|
interface OAuthOptions {
|
|
2257
2574
|
provider: OAuthProviderType;
|
|
2258
2575
|
}
|
|
2259
|
-
declare const useLoginWithOAuth
|
|
2576
|
+
declare const useLoginWithOAuth: () => {
|
|
2260
2577
|
initOAuth: ({
|
|
2261
2578
|
provider
|
|
2262
2579
|
}: OAuthOptions) => Promise<void>;
|
|
@@ -2267,6 +2584,22 @@ declare const useLoginWithVeChain: () => {
|
|
|
2267
2584
|
login: () => Promise<void>;
|
|
2268
2585
|
};
|
|
2269
2586
|
//#endregion
|
|
2587
|
+
//#region src/hooks/login/useConnectWithDappKitSource.d.ts
|
|
2588
|
+
type SetCurrentContent = React.Dispatch<React.SetStateAction<ConnectModalContentsTypes>>;
|
|
2589
|
+
/**
|
|
2590
|
+
* Drives a dapp-kit wallet connection (setSource + connect) while reflecting
|
|
2591
|
+
* progress in the ConnectModal's local sub-content state (loading/error).
|
|
2592
|
+
*
|
|
2593
|
+
* Uses the legacy `connect()` API rather than `connectV2()` because:
|
|
2594
|
+
* - WalletConnect's signer throws "not implemented" for V2.
|
|
2595
|
+
* - The VeWorld desktop extension also rejects V2 ("Attempt failed").
|
|
2596
|
+
* V2 is only reliable inside the VeWorld mobile in-app browser, which is
|
|
2597
|
+
* handled separately in ModalProvider.
|
|
2598
|
+
*/
|
|
2599
|
+
declare const useConnectWithDappKitSource: (source: WalletSource, setCurrentContent: SetCurrentContent) => {
|
|
2600
|
+
connect: () => Promise<void>;
|
|
2601
|
+
};
|
|
2602
|
+
//#endregion
|
|
2270
2603
|
//#region src/components/AccountModal/Contents/Ecosystem/Components/CategoryLabel.d.ts
|
|
2271
2604
|
type AllowedCategories = 'defi' | 'games' | 'collectibles' | 'marketplaces' | 'utilities' | 'vebetter';
|
|
2272
2605
|
//#endregion
|
|
@@ -2313,7 +2646,7 @@ declare const fetchAppHubApps: () => Promise<AppHubApp[]>;
|
|
|
2313
2646
|
* );
|
|
2314
2647
|
* ```
|
|
2315
2648
|
*/
|
|
2316
|
-
declare const useAppHubApps: () =>
|
|
2649
|
+
declare const useAppHubApps: () => _tanstack_react_query8.UseQueryResult<AppHubApp[], Error>;
|
|
2317
2650
|
//#endregion
|
|
2318
2651
|
//#region src/utils/constants.d.ts
|
|
2319
2652
|
/** Tokens that cannot be swapped or transferred (e.g. governance voting tokens) */
|
|
@@ -2668,7 +3001,7 @@ declare const useCallClause: <TAbi extends Abi, TMethod extends ExtractAbiFuncti
|
|
|
2668
3001
|
method: TMethod;
|
|
2669
3002
|
args: AbiParametersToPrimitiveTypes<ExtractViewFunction<TAbi, TMethod>["inputs"], "inputs">;
|
|
2670
3003
|
queryOptions?: Omit<UseQueryOptions<ViewFunctionResult<TAbi, TMethod>, unknown, TData, ReturnType<typeof getCallClauseQueryKeyWithArgs<TAbi, TMethod>>>, "queryKey" | "queryFn">;
|
|
2671
|
-
}) =>
|
|
3004
|
+
}) => _tanstack_react_query8.UseQueryResult<_tanstack_react_query8.NoInfer<TData>, unknown>;
|
|
2672
3005
|
declare const useMultipleClausesCall: <contracts extends readonly ContractFunctionParameters[], allowFailure extends boolean = false>({
|
|
2673
3006
|
thor,
|
|
2674
3007
|
calls,
|
|
@@ -2679,7 +3012,7 @@ declare const useMultipleClausesCall: <contracts extends readonly ContractFuncti
|
|
|
2679
3012
|
calls: MultipleClausesCallParameters<contracts, allowFailure>;
|
|
2680
3013
|
queryKey: string[];
|
|
2681
3014
|
enabled?: boolean;
|
|
2682
|
-
}) =>
|
|
3015
|
+
}) => _tanstack_react_query8.UseQueryResult<_tanstack_react_query8.NoInfer<MultipleClausesCallReturnType<contracts, false>>, Error>;
|
|
2683
3016
|
//#endregion
|
|
2684
3017
|
//#region src/hooks/utils/useCurrency.d.ts
|
|
2685
3018
|
/**
|
|
@@ -2803,7 +3136,7 @@ declare const useEvents: <T$1 extends Abi, K extends ContractEventName<T$1>, R>(
|
|
|
2803
3136
|
filterParams,
|
|
2804
3137
|
mapResponse,
|
|
2805
3138
|
nodeUrl
|
|
2806
|
-
}: UseEventsParams<T$1, K, R>) =>
|
|
3139
|
+
}: UseEventsParams<T$1, K, R>) => _tanstack_react_query8.UseQueryResult<R[], Error>;
|
|
2807
3140
|
//#endregion
|
|
2808
3141
|
//#region src/hooks/utils/useBuildClauses.d.ts
|
|
2809
3142
|
interface BuildClausesParams {
|
|
@@ -2955,7 +3288,7 @@ declare const useGenericDelegatorFeeEstimation: ({
|
|
|
2955
3288
|
tokens,
|
|
2956
3289
|
sendingAmount,
|
|
2957
3290
|
sendingTokenSymbol
|
|
2958
|
-
}: useGenericDelegatorFeeEstimationParams) =>
|
|
3291
|
+
}: useGenericDelegatorFeeEstimationParams) => _tanstack_react_query8.UseQueryResult<EstimationResponse & {
|
|
2959
3292
|
usedToken: string;
|
|
2960
3293
|
}, Error>;
|
|
2961
3294
|
//#endregion
|
|
@@ -2969,7 +3302,7 @@ declare const useEstimateAllTokens: ({
|
|
|
2969
3302
|
clauses,
|
|
2970
3303
|
tokens,
|
|
2971
3304
|
enabled
|
|
2972
|
-
}: UseEstimateAllTokensParams) =>
|
|
3305
|
+
}: UseEstimateAllTokensParams) => _tanstack_react_query8.UseQueryResult<Record<GasTokenType, {
|
|
2973
3306
|
cost: number;
|
|
2974
3307
|
loading: boolean;
|
|
2975
3308
|
error?: string;
|
|
@@ -2986,7 +3319,7 @@ declare const getAccountBalanceQueryKey: (address?: string) => (string | undefin
|
|
|
2986
3319
|
* @param address The address of the account to get the balance for
|
|
2987
3320
|
* @returns The account balance
|
|
2988
3321
|
*/
|
|
2989
|
-
declare const useAccountBalance: (address?: string) =>
|
|
3322
|
+
declare const useAccountBalance: (address?: string) => _tanstack_react_query8.UseQueryResult<{
|
|
2990
3323
|
balance: string;
|
|
2991
3324
|
energy: string;
|
|
2992
3325
|
}, Error>;
|
|
@@ -2999,7 +3332,7 @@ declare const getAccountImplementationAddressQueryKey: (version?: number, networ
|
|
|
2999
3332
|
* @param version - The version of the smart account implementation
|
|
3000
3333
|
* @returns The address of the smart account implementation
|
|
3001
3334
|
*/
|
|
3002
|
-
declare const useAccountImplementationAddress: (version?: number) =>
|
|
3335
|
+
declare const useAccountImplementationAddress: (version?: number) => _tanstack_react_query8.UseQueryResult<string, Error>;
|
|
3003
3336
|
//#endregion
|
|
3004
3337
|
//#region src/hooks/thor/smartAccounts/useCurrentAccountImplementationVersion.d.ts
|
|
3005
3338
|
declare const getCurrentAccountImplementationVersion: (thor: ThorClient, networkType?: NETWORK_TYPE) => Promise<number>;
|
|
@@ -3008,7 +3341,7 @@ declare const getCurrentAccountImplementationVersionQueryKey: (networkType?: NET
|
|
|
3008
3341
|
* Get the current account implementation version used by the smart account factory
|
|
3009
3342
|
* @returns The current account implementation version
|
|
3010
3343
|
*/
|
|
3011
|
-
declare const useCurrentAccountImplementationVersion: () =>
|
|
3344
|
+
declare const useCurrentAccountImplementationVersion: () => _tanstack_react_query8.UseQueryResult<number, Error>;
|
|
3012
3345
|
//#endregion
|
|
3013
3346
|
//#region src/hooks/thor/smartAccounts/useGetAccountAddress.d.ts
|
|
3014
3347
|
declare const getAccountAddress: (thor: ThorClient, ownerAddress?: string, networkType?: NETWORK_TYPE) => Promise<string>;
|
|
@@ -3018,7 +3351,7 @@ declare const getAccountAddressQueryKey: (ownerAddress?: string, networkType?: N
|
|
|
3018
3351
|
* @param ownerAddress - The address of the owner of the smart account
|
|
3019
3352
|
* @returns The address of the smart account
|
|
3020
3353
|
*/
|
|
3021
|
-
declare const useGetAccountAddress: (ownerAddress?: string) =>
|
|
3354
|
+
declare const useGetAccountAddress: (ownerAddress?: string) => _tanstack_react_query8.UseQueryResult<string, Error>;
|
|
3022
3355
|
//#endregion
|
|
3023
3356
|
//#region src/hooks/thor/smartAccounts/useGetAccountVersion.d.ts
|
|
3024
3357
|
declare const getAccountVersionQueryKey: (accountAddress: string, ownerAddress: string, networkType: NETWORK_TYPE) => unknown[];
|
|
@@ -3028,7 +3361,7 @@ declare const getAccountVersionQueryKey: (accountAddress: string, ownerAddress:
|
|
|
3028
3361
|
* @param ownerAddress - The address of the owner of the smart account
|
|
3029
3362
|
* @returns The version of the smart account
|
|
3030
3363
|
*/
|
|
3031
|
-
declare const useGetAccountVersion: (accountAddress: string, ownerAddress: string) =>
|
|
3364
|
+
declare const useGetAccountVersion: (accountAddress: string, ownerAddress: string) => _tanstack_react_query8.UseQueryResult<{
|
|
3032
3365
|
version: number;
|
|
3033
3366
|
isDeployed: boolean;
|
|
3034
3367
|
}, unknown>;
|
|
@@ -3041,7 +3374,7 @@ declare const getHasV1SmartAccountQueryKey: (ownerAddress?: string, networkType?
|
|
|
3041
3374
|
* @param ownerAddress - The address of the owner of the smart account
|
|
3042
3375
|
* @returns True if the smart account has a v1 smart account, false otherwise
|
|
3043
3376
|
*/
|
|
3044
|
-
declare const useHasV1SmartAccount: (ownerAddress?: string) =>
|
|
3377
|
+
declare const useHasV1SmartAccount: (ownerAddress?: string) => _tanstack_react_query8.UseQueryResult<boolean, Error>;
|
|
3045
3378
|
//#endregion
|
|
3046
3379
|
//#region src/hooks/thor/smartAccounts/useIsSmartAccountDeployed.d.ts
|
|
3047
3380
|
declare const getIsDeployed: (thor: ThorClient, accountAddress?: string) => Promise<boolean>;
|
|
@@ -3050,7 +3383,7 @@ declare const getIsDeployedQueryKey: (contractAddress?: string) => (string | und
|
|
|
3050
3383
|
* Check if a smart account is deployed
|
|
3051
3384
|
* @returns True if the smart account is deployed, false otherwise
|
|
3052
3385
|
*/
|
|
3053
|
-
declare const useIsSmartAccountDeployed: (accountAddress?: string) =>
|
|
3386
|
+
declare const useIsSmartAccountDeployed: (accountAddress?: string) => _tanstack_react_query8.UseQueryResult<boolean, Error>;
|
|
3054
3387
|
//#endregion
|
|
3055
3388
|
//#region src/hooks/thor/smartAccounts/useRefreshFactoryQueries.d.ts
|
|
3056
3389
|
/**
|
|
@@ -3083,7 +3416,7 @@ declare const getSmartAccount: (thor: ThorClient, network: NETWORK_TYPE, ownerAd
|
|
|
3083
3416
|
isDeployed: boolean;
|
|
3084
3417
|
}>;
|
|
3085
3418
|
declare const getSmartAccountQueryKey: (ownerAddress?: string) => (string | undefined)[];
|
|
3086
|
-
declare const useSmartAccount: (ownerAddress?: string) =>
|
|
3419
|
+
declare const useSmartAccount: (ownerAddress?: string) => _tanstack_react_query8.UseQueryResult<{
|
|
3087
3420
|
address: undefined;
|
|
3088
3421
|
isDeployed?: undefined;
|
|
3089
3422
|
} | {
|
|
@@ -3101,7 +3434,7 @@ declare const getUpgradeRequiredQueryKey: (accountAddress: string, ownerAddress:
|
|
|
3101
3434
|
* @param targetVersion - The version of the smart account to check for
|
|
3102
3435
|
* @returns True if the smart account needs an upgrade, false otherwise
|
|
3103
3436
|
*/
|
|
3104
|
-
declare const useUpgradeRequired: (accountAddress: string, ownerAddress: string, targetVersion: number) =>
|
|
3437
|
+
declare const useUpgradeRequired: (accountAddress: string, ownerAddress: string, targetVersion: number) => _tanstack_react_query8.UseQueryResult<boolean, Error>;
|
|
3105
3438
|
//#endregion
|
|
3106
3439
|
//#region src/hooks/thor/smartAccounts/useUpgradeRequiredForAccount.d.ts
|
|
3107
3440
|
declare const getUpgradeRequiredForAccount: (thor: ThorClient, contractAddress: string, targetVersion: number, networkType: NETWORK_TYPE) => Promise<boolean>;
|
|
@@ -3112,7 +3445,7 @@ declare const getUpgradeRequiredForAccountQueryKey: (contractAddress: string, ta
|
|
|
3112
3445
|
* @param targetVersion - The target version of the smart account
|
|
3113
3446
|
* @returns True if the smart account needs an upgrade, false otherwise
|
|
3114
3447
|
*/
|
|
3115
|
-
declare const useUpgradeRequiredForAccount: (contractAddress: string, targetVersion: number) =>
|
|
3448
|
+
declare const useUpgradeRequiredForAccount: (contractAddress: string, targetVersion: number) => _tanstack_react_query8.UseQueryResult<boolean, Error>;
|
|
3116
3449
|
//#endregion
|
|
3117
3450
|
//#region src/hooks/thor/smartAccounts/useUpgradeSmartAccount.d.ts
|
|
3118
3451
|
type UseUpgradeSmartAccountVersionProps = {
|
|
@@ -3137,7 +3470,7 @@ declare const currentBlockQueryKey: () => string[];
|
|
|
3137
3470
|
* Fetches the current block from the blockchain. The block is refetched every 10 seconds.
|
|
3138
3471
|
* @returns the current block
|
|
3139
3472
|
*/
|
|
3140
|
-
declare const useCurrentBlock: () =>
|
|
3473
|
+
declare const useCurrentBlock: () => _tanstack_react_query8.UseQueryResult<_vechain_sdk_network0.ExpandedBlockDetail, Error>;
|
|
3141
3474
|
//#endregion
|
|
3142
3475
|
//#region src/hooks/thor/blocks/useGetChainId.d.ts
|
|
3143
3476
|
declare const getChainId: (thor: ThorClient) => Promise<string>;
|
|
@@ -3146,7 +3479,7 @@ declare const getChainIdQueryKey: () => string[];
|
|
|
3146
3479
|
* Get the chain id
|
|
3147
3480
|
* @returns The chain id
|
|
3148
3481
|
*/
|
|
3149
|
-
declare const useGetChainId: () =>
|
|
3482
|
+
declare const useGetChainId: () => _tanstack_react_query8.UseQueryResult<string, Error>;
|
|
3150
3483
|
//#endregion
|
|
3151
3484
|
//#region src/hooks/thor/logs/logUtils.d.ts
|
|
3152
3485
|
/**
|
|
@@ -3401,7 +3734,7 @@ declare const txReceiptQueryKey: (txId: string) => string[];
|
|
|
3401
3734
|
* @param blockTimeout Optional timeout in milliseconds to stop polling for receipt
|
|
3402
3735
|
* @returns Query result containing the transaction receipt
|
|
3403
3736
|
*/
|
|
3404
|
-
declare const useTxReceipt: (txId: string, blockTimeout?: number) =>
|
|
3737
|
+
declare const useTxReceipt: (txId: string, blockTimeout?: number) => _tanstack_react_query8.UseQueryResult<_vechain_sdk_network0.TransactionReceipt, Error>;
|
|
3405
3738
|
//#endregion
|
|
3406
3739
|
//#region src/hooks/thor/transactions/useGasEstimate.d.ts
|
|
3407
3740
|
declare const useGasEstimate: (thor: ThorClient, clauses: TransactionClause[], caller: string, options?: {
|
|
@@ -3462,7 +3795,7 @@ declare const SendTokenSummaryContent: ({
|
|
|
3462
3795
|
}: SendTokenSummaryContentProps) => react_jsx_runtime3.JSX.Element;
|
|
3463
3796
|
//#endregion
|
|
3464
3797
|
//#region src/components/AccountModal/Contents/SendToken/SelectTokenContent.d.ts
|
|
3465
|
-
type Props$
|
|
3798
|
+
type Props$20 = {
|
|
3466
3799
|
setCurrentContent: React.Dispatch<React.SetStateAction<AccountModalContentTypes>>;
|
|
3467
3800
|
onSelectToken: (token: TokenWithValue) => void;
|
|
3468
3801
|
onBack: () => void;
|
|
@@ -3480,27 +3813,31 @@ declare const SelectTokenContent: ({
|
|
|
3480
3813
|
onBack,
|
|
3481
3814
|
showAllTokens,
|
|
3482
3815
|
excludedTokenSymbols
|
|
3483
|
-
}: Props$
|
|
3816
|
+
}: Props$20) => react_jsx_runtime3.JSX.Element;
|
|
3484
3817
|
//#endregion
|
|
3485
3818
|
//#region src/components/AccountModal/Contents/Receive/ReceiveTokenContent.d.ts
|
|
3486
|
-
type
|
|
3819
|
+
type ReceiveTokenContentProps = {
|
|
3487
3820
|
setCurrentContent: React.Dispatch<React.SetStateAction<AccountModalContentTypes>>;
|
|
3821
|
+
onBack?: () => void;
|
|
3488
3822
|
};
|
|
3489
3823
|
declare const ReceiveTokenContent: ({
|
|
3490
|
-
setCurrentContent
|
|
3491
|
-
|
|
3824
|
+
setCurrentContent,
|
|
3825
|
+
onBack
|
|
3826
|
+
}: ReceiveTokenContentProps) => react_jsx_runtime3.JSX.Element;
|
|
3492
3827
|
//#endregion
|
|
3493
3828
|
//#region src/components/AccountModal/Contents/Swap/SwapTokenContent.d.ts
|
|
3494
|
-
type
|
|
3829
|
+
type SwapTokenContentProps = {
|
|
3495
3830
|
setCurrentContent: React$1.Dispatch<React$1.SetStateAction<AccountModalContentTypes>>;
|
|
3496
3831
|
fromTokenAddress?: string;
|
|
3497
3832
|
toTokenAddress?: string;
|
|
3833
|
+
onBack?: () => void;
|
|
3498
3834
|
};
|
|
3499
3835
|
declare const SwapTokenContent: ({
|
|
3500
3836
|
setCurrentContent,
|
|
3501
3837
|
fromTokenAddress,
|
|
3502
|
-
toTokenAddress
|
|
3503
|
-
|
|
3838
|
+
toTokenAddress,
|
|
3839
|
+
onBack
|
|
3840
|
+
}: SwapTokenContentProps) => react_jsx_runtime3.JSX.Element;
|
|
3504
3841
|
//#endregion
|
|
3505
3842
|
//#region src/components/AccountModal/Contents/ChooseName/ChooseNameContent.d.ts
|
|
3506
3843
|
type ChooseNameContentProps = {
|
|
@@ -3626,12 +3963,12 @@ declare const ManageCustomTokenContent: ({
|
|
|
3626
3963
|
}: ManageCustomTokenContentProps) => react_jsx_runtime3.JSX.Element;
|
|
3627
3964
|
//#endregion
|
|
3628
3965
|
//#region src/components/AccountModal/Contents/Bridge/BridgeContent.d.ts
|
|
3629
|
-
type Props$
|
|
3966
|
+
type Props$19 = {
|
|
3630
3967
|
setCurrentContent: React.Dispatch<React.SetStateAction<AccountModalContentTypes>>;
|
|
3631
3968
|
};
|
|
3632
3969
|
declare const BridgeContent: ({
|
|
3633
3970
|
setCurrentContent
|
|
3634
|
-
}: Props$
|
|
3971
|
+
}: Props$19) => react_jsx_runtime3.JSX.Element;
|
|
3635
3972
|
//#endregion
|
|
3636
3973
|
//#region src/components/AccountModal/Contents/KitSettings/ChangeCurrencyContent.d.ts
|
|
3637
3974
|
type ChangeCurrencyContentProps = {
|
|
@@ -3642,20 +3979,20 @@ declare const ChangeCurrencyContent: ({
|
|
|
3642
3979
|
}: ChangeCurrencyContentProps) => react_jsx_runtime3.JSX.Element;
|
|
3643
3980
|
//#endregion
|
|
3644
3981
|
//#region src/components/AccountModal/Contents/KitSettings/LanguageSettingsContent.d.ts
|
|
3645
|
-
type Props$
|
|
3982
|
+
type Props$18 = {
|
|
3646
3983
|
setCurrentContent: React.Dispatch<React.SetStateAction<AccountModalContentTypes>>;
|
|
3647
3984
|
};
|
|
3648
3985
|
declare const LanguageSettingsContent: ({
|
|
3649
3986
|
setCurrentContent
|
|
3650
|
-
}: Props$
|
|
3987
|
+
}: Props$18) => react_jsx_runtime3.JSX.Element;
|
|
3651
3988
|
//#endregion
|
|
3652
3989
|
//#region src/components/AccountModal/Contents/KitSettings/GasTokenSettingsContent.d.ts
|
|
3653
|
-
type Props$
|
|
3990
|
+
type Props$17 = {
|
|
3654
3991
|
setCurrentContent: React.Dispatch<React.SetStateAction<AccountModalContentTypes>>;
|
|
3655
3992
|
};
|
|
3656
3993
|
declare const GasTokenSettingsContent: ({
|
|
3657
3994
|
setCurrentContent
|
|
3658
|
-
}: Props$
|
|
3995
|
+
}: Props$17) => react_jsx_runtime3.JSX.Element;
|
|
3659
3996
|
//#endregion
|
|
3660
3997
|
//#region src/components/AccountModal/Contents/KitSettings/SettingsContent.d.ts
|
|
3661
3998
|
type SettingsContentProps = {
|
|
@@ -3692,7 +4029,7 @@ declare const DisconnectConfirmContent: ({
|
|
|
3692
4029
|
}: DisconnectConfirmContentProps) => react_jsx_runtime3.JSX.Element;
|
|
3693
4030
|
//#endregion
|
|
3694
4031
|
//#region src/components/AccountModal/Contents/SelectWallet/SelectWalletContent.d.ts
|
|
3695
|
-
type Props$
|
|
4032
|
+
type Props$16 = {
|
|
3696
4033
|
setCurrentContent: React.Dispatch<React.SetStateAction<AccountModalContentTypes>>;
|
|
3697
4034
|
onClose: () => void;
|
|
3698
4035
|
returnTo?: 'main' | 'profile';
|
|
@@ -3702,7 +4039,7 @@ declare const SelectWalletContent: ({
|
|
|
3702
4039
|
setCurrentContent,
|
|
3703
4040
|
returnTo,
|
|
3704
4041
|
onLogoutSuccess: _onLogoutSuccess
|
|
3705
|
-
}: Props$
|
|
4042
|
+
}: Props$16) => react_jsx_runtime3.JSX.Element;
|
|
3706
4043
|
//#endregion
|
|
3707
4044
|
//#region src/components/AccountModal/Contents/SelectWallet/RemoveWalletConfirmContent.d.ts
|
|
3708
4045
|
type RemoveWalletConfirmContentProps = {
|
|
@@ -3720,6 +4057,43 @@ declare const RemoveWalletConfirmContent: ({
|
|
|
3720
4057
|
onClose
|
|
3721
4058
|
}: RemoveWalletConfirmContentProps) => react_jsx_runtime3.JSX.Element;
|
|
3722
4059
|
//#endregion
|
|
4060
|
+
//#region src/components/AccountModal/Contents/TokenDetail/TokenDetailContent.d.ts
|
|
4061
|
+
type TokenDetailContentProps = {
|
|
4062
|
+
setCurrentContent: React.Dispatch<React.SetStateAction<AccountModalContentTypes>>;
|
|
4063
|
+
token: TokenWithValue;
|
|
4064
|
+
};
|
|
4065
|
+
declare const TokenDetailContent: ({
|
|
4066
|
+
setCurrentContent,
|
|
4067
|
+
token
|
|
4068
|
+
}: TokenDetailContentProps) => react_jsx_runtime3.JSX.Element;
|
|
4069
|
+
//#endregion
|
|
4070
|
+
//#region src/components/AccountModal/Contents/TransactionHistory/TransactionHistoryContent.d.ts
|
|
4071
|
+
type TransactionHistoryContentProps = {
|
|
4072
|
+
setCurrentContent: React.Dispatch<React.SetStateAction<AccountModalContentTypes>>;
|
|
4073
|
+
tokenFilter?: {
|
|
4074
|
+
address: string;
|
|
4075
|
+
symbol: string;
|
|
4076
|
+
};
|
|
4077
|
+
onBack?: () => void;
|
|
4078
|
+
};
|
|
4079
|
+
declare const TransactionHistoryContent: ({
|
|
4080
|
+
setCurrentContent,
|
|
4081
|
+
tokenFilter,
|
|
4082
|
+
onBack
|
|
4083
|
+
}: TransactionHistoryContentProps) => react_jsx_runtime3.JSX.Element;
|
|
4084
|
+
//#endregion
|
|
4085
|
+
//#region src/components/AccountModal/Contents/TransactionHistory/TransactionDetailContent.d.ts
|
|
4086
|
+
type TransactionDetailContentProps = {
|
|
4087
|
+
setCurrentContent: React.Dispatch<React.SetStateAction<AccountModalContentTypes>>;
|
|
4088
|
+
item: TransferHistoryItem;
|
|
4089
|
+
onBack?: () => void;
|
|
4090
|
+
};
|
|
4091
|
+
declare const TransactionDetailContent: ({
|
|
4092
|
+
setCurrentContent,
|
|
4093
|
+
item,
|
|
4094
|
+
onBack
|
|
4095
|
+
}: TransactionDetailContentProps) => react_jsx_runtime3.JSX.Element;
|
|
4096
|
+
//#endregion
|
|
3723
4097
|
//#region src/components/AccountModal/Contents/Ecosystem/Components/CategoryFilterSection.d.ts
|
|
3724
4098
|
type CategoryFilter = string | null;
|
|
3725
4099
|
//#endregion
|
|
@@ -3782,7 +4156,11 @@ type AccountModalContentTypes = 'main' | 'settings' | 'profile' | {
|
|
|
3782
4156
|
setCurrentContent: React.Dispatch<React.SetStateAction<AccountModalContentTypes>>;
|
|
3783
4157
|
fromTokenAddress?: string;
|
|
3784
4158
|
toTokenAddress?: string;
|
|
4159
|
+
onBack?: () => void;
|
|
3785
4160
|
};
|
|
4161
|
+
} | {
|
|
4162
|
+
type: 'receive-token';
|
|
4163
|
+
props: ReceiveTokenContentProps;
|
|
3786
4164
|
} | {
|
|
3787
4165
|
type: 'account-customization';
|
|
3788
4166
|
props: AccountCustomizationContentProps;
|
|
@@ -3810,6 +4188,15 @@ type AccountModalContentTypes = 'main' | 'settings' | 'profile' | {
|
|
|
3810
4188
|
} | {
|
|
3811
4189
|
type: 'send-token-summary';
|
|
3812
4190
|
props: SendTokenSummaryContentProps;
|
|
4191
|
+
} | {
|
|
4192
|
+
type: 'token-detail';
|
|
4193
|
+
props: TokenDetailContentProps;
|
|
4194
|
+
} | {
|
|
4195
|
+
type: 'transaction-history';
|
|
4196
|
+
props: TransactionHistoryContentProps;
|
|
4197
|
+
} | {
|
|
4198
|
+
type: 'transaction-detail';
|
|
4199
|
+
props: TransactionDetailContentProps;
|
|
3813
4200
|
} | {
|
|
3814
4201
|
type: 'choose-name';
|
|
3815
4202
|
props: ChooseNameContentProps;
|
|
@@ -3837,7 +4224,7 @@ type AccountModalContentTypes = 'main' | 'settings' | 'profile' | {
|
|
|
3837
4224
|
};
|
|
3838
4225
|
//#endregion
|
|
3839
4226
|
//#region src/components/AccountModal/AccountModal.d.ts
|
|
3840
|
-
type Props$
|
|
4227
|
+
type Props$15 = {
|
|
3841
4228
|
isOpen: boolean;
|
|
3842
4229
|
onClose: () => void;
|
|
3843
4230
|
initialContent?: AccountModalContentTypes;
|
|
@@ -3846,7 +4233,7 @@ declare const AccountModal: ({
|
|
|
3846
4233
|
isOpen,
|
|
3847
4234
|
onClose,
|
|
3848
4235
|
initialContent
|
|
3849
|
-
}: Props$
|
|
4236
|
+
}: Props$15) => react_jsx_runtime3.JSX.Element;
|
|
3850
4237
|
//#endregion
|
|
3851
4238
|
//#region src/components/AccountModal/Components/AccountDetailsButton.d.ts
|
|
3852
4239
|
interface AccountDetailsButtonProps {
|
|
@@ -3913,7 +4300,7 @@ declare const ActionButton: ({
|
|
|
3913
4300
|
}: ActionButtonProps) => react_jsx_runtime3.JSX.Element;
|
|
3914
4301
|
//#endregion
|
|
3915
4302
|
//#region src/components/AccountModal/Components/AccountSelector.d.ts
|
|
3916
|
-
type Props$
|
|
4303
|
+
type Props$14 = {
|
|
3917
4304
|
wallet: Wallet;
|
|
3918
4305
|
setCurrentContent: React.Dispatch<React.SetStateAction<AccountModalContentTypes>>;
|
|
3919
4306
|
size?: string;
|
|
@@ -3930,7 +4317,7 @@ declare const AccountSelector: ({
|
|
|
3930
4317
|
onClose,
|
|
3931
4318
|
mt,
|
|
3932
4319
|
style
|
|
3933
|
-
}: Props$
|
|
4320
|
+
}: Props$14) => react_jsx_runtime3.JSX.Element;
|
|
3934
4321
|
//#endregion
|
|
3935
4322
|
//#region src/components/AccountModal/Components/BalanceSection.d.ts
|
|
3936
4323
|
declare const BalanceSection: ({
|
|
@@ -3944,14 +4331,14 @@ declare const BalanceSection: ({
|
|
|
3944
4331
|
}) => react_jsx_runtime3.JSX.Element;
|
|
3945
4332
|
//#endregion
|
|
3946
4333
|
//#region src/components/AccountModal/Components/QuickActionsSection.d.ts
|
|
3947
|
-
type Props$
|
|
4334
|
+
type Props$13 = {
|
|
3948
4335
|
mt?: number;
|
|
3949
4336
|
setCurrentContent: React.Dispatch<React.SetStateAction<AccountModalContentTypes>>;
|
|
3950
4337
|
};
|
|
3951
4338
|
declare const QuickActionsSection: ({
|
|
3952
4339
|
mt,
|
|
3953
4340
|
setCurrentContent
|
|
3954
|
-
}: Props$
|
|
4341
|
+
}: Props$13) => react_jsx_runtime3.JSX.Element | null;
|
|
3955
4342
|
//#endregion
|
|
3956
4343
|
//#region src/components/AccountModal/Components/Alerts/FeatureAnnouncementCard.d.ts
|
|
3957
4344
|
type FeatureAnnouncementCardProps = {
|
|
@@ -3980,7 +4367,7 @@ declare const ModalBackButton: ({
|
|
|
3980
4367
|
}: BackButtonProps) => react_jsx_runtime3.JSX.Element;
|
|
3981
4368
|
//#endregion
|
|
3982
4369
|
//#region src/components/common/AddressDisplay.d.ts
|
|
3983
|
-
type Props$
|
|
4370
|
+
type Props$12 = {
|
|
3984
4371
|
wallet: Wallet;
|
|
3985
4372
|
label?: string;
|
|
3986
4373
|
style?: PropsOf<typeof VStack>;
|
|
@@ -3995,16 +4382,16 @@ declare const AddressDisplay: ({
|
|
|
3995
4382
|
showHumanAddress,
|
|
3996
4383
|
setCurrentContent,
|
|
3997
4384
|
onLogout
|
|
3998
|
-
}: Props$
|
|
4385
|
+
}: Props$12) => react_jsx_runtime3.JSX.Element;
|
|
3999
4386
|
//#endregion
|
|
4000
4387
|
//#region src/components/common/VersionFooter.d.ts
|
|
4001
|
-
type Props$
|
|
4388
|
+
type Props$11 = {} & Omit<StackProps, 'dangerouslySetInnerHTML'>;
|
|
4002
4389
|
declare const VersionFooter: ({
|
|
4003
4390
|
...props
|
|
4004
|
-
}: Props$
|
|
4391
|
+
}: Props$11) => react_jsx_runtime3.JSX.Element;
|
|
4005
4392
|
//#endregion
|
|
4006
4393
|
//#region src/components/common/StickyHeaderContainer.d.ts
|
|
4007
|
-
type Props$
|
|
4394
|
+
type Props$10 = {
|
|
4008
4395
|
children: React.ReactNode;
|
|
4009
4396
|
};
|
|
4010
4397
|
declare const useStickyHeaderContext: () => {
|
|
@@ -4012,15 +4399,15 @@ declare const useStickyHeaderContext: () => {
|
|
|
4012
4399
|
};
|
|
4013
4400
|
declare const StickyHeaderContainer: ({
|
|
4014
4401
|
children
|
|
4015
|
-
}: Props$
|
|
4402
|
+
}: Props$10) => react_jsx_runtime3.JSX.Element;
|
|
4016
4403
|
//#endregion
|
|
4017
4404
|
//#region src/components/common/StickyFooterContainer.d.ts
|
|
4018
|
-
type Props$
|
|
4405
|
+
type Props$9 = {
|
|
4019
4406
|
children: React.ReactNode;
|
|
4020
4407
|
};
|
|
4021
4408
|
declare const StickyFooterContainer: ({
|
|
4022
4409
|
children
|
|
4023
|
-
}: Props$
|
|
4410
|
+
}: Props$9) => react_jsx_runtime3.JSX.Element;
|
|
4024
4411
|
//#endregion
|
|
4025
4412
|
//#region src/components/common/BaseModal.d.ts
|
|
4026
4413
|
type BaseModalProps = {
|
|
@@ -4079,6 +4466,7 @@ type AssetButtonProps = ButtonProps & {
|
|
|
4079
4466
|
currentCurrency: CURRENCY;
|
|
4080
4467
|
isDisabled?: boolean;
|
|
4081
4468
|
onClick?: () => void;
|
|
4469
|
+
priceChange24hPct?: number;
|
|
4082
4470
|
};
|
|
4083
4471
|
declare const AssetButton: ({
|
|
4084
4472
|
symbol,
|
|
@@ -4087,6 +4475,7 @@ declare const AssetButton: ({
|
|
|
4087
4475
|
currentCurrency,
|
|
4088
4476
|
isDisabled,
|
|
4089
4477
|
onClick,
|
|
4478
|
+
priceChange24hPct,
|
|
4090
4479
|
...buttonProps
|
|
4091
4480
|
}: AssetButtonProps) => react_jsx_runtime3.JSX.Element;
|
|
4092
4481
|
//#endregion
|
|
@@ -4225,7 +4614,7 @@ declare const GasFeeTokenSelector: ({
|
|
|
4225
4614
|
}: GasFeeTokenSelectorProps) => react_jsx_runtime3.JSX.Element;
|
|
4226
4615
|
//#endregion
|
|
4227
4616
|
//#region src/components/common/InlineFeedback.d.ts
|
|
4228
|
-
type Props$
|
|
4617
|
+
type Props$8 = {
|
|
4229
4618
|
message: string;
|
|
4230
4619
|
duration?: number;
|
|
4231
4620
|
onClose?: () => void;
|
|
@@ -4234,10 +4623,10 @@ declare const InlineFeedback: ({
|
|
|
4234
4623
|
message,
|
|
4235
4624
|
duration,
|
|
4236
4625
|
onClose
|
|
4237
|
-
}: Props$
|
|
4626
|
+
}: Props$8) => react_jsx_runtime3.JSX.Element;
|
|
4238
4627
|
//#endregion
|
|
4239
4628
|
//#region src/components/common/WalletSwitchFeedback.d.ts
|
|
4240
|
-
type Props$
|
|
4629
|
+
type Props$7 = {
|
|
4241
4630
|
/**
|
|
4242
4631
|
* Show feedback flag passed via content props (desktop)
|
|
4243
4632
|
* If true, shows the feedback message
|
|
@@ -4251,6 +4640,74 @@ type Props$3 = {
|
|
|
4251
4640
|
*/
|
|
4252
4641
|
declare const WalletSwitchFeedback: ({
|
|
4253
4642
|
showFeedback
|
|
4643
|
+
}: Props$7) => react_jsx_runtime3.JSX.Element | null;
|
|
4644
|
+
//#endregion
|
|
4645
|
+
//#region src/components/common/PriceChangeBadge.d.ts
|
|
4646
|
+
type Props$6 = TextProps & {
|
|
4647
|
+
valuePct?: number;
|
|
4648
|
+
showSuffix?: boolean;
|
|
4649
|
+
};
|
|
4650
|
+
declare const PriceChangeBadge: ({
|
|
4651
|
+
valuePct,
|
|
4652
|
+
showSuffix,
|
|
4653
|
+
...textProps
|
|
4654
|
+
}: Props$6) => react_jsx_runtime3.JSX.Element | null;
|
|
4655
|
+
//#endregion
|
|
4656
|
+
//#region src/components/common/AddressOrDomainLabel.d.ts
|
|
4657
|
+
type Props$5 = TextProps & {
|
|
4658
|
+
address: string;
|
|
4659
|
+
/**
|
|
4660
|
+
* Characters to keep on each side of the address when it has no domain.
|
|
4661
|
+
* Defaults to 4/4 (e.g. `0xab12...cd34`).
|
|
4662
|
+
*/
|
|
4663
|
+
headLen?: number;
|
|
4664
|
+
tailLen?: number;
|
|
4665
|
+
};
|
|
4666
|
+
declare const AddressOrDomainLabel: ({
|
|
4667
|
+
address,
|
|
4668
|
+
headLen,
|
|
4669
|
+
tailLen,
|
|
4670
|
+
...textProps
|
|
4671
|
+
}: Props$5) => react_jsx_runtime3.JSX.Element;
|
|
4672
|
+
//#endregion
|
|
4673
|
+
//#region src/components/common/CopyIconButton.d.ts
|
|
4674
|
+
type Props$4 = Omit<IconButtonProps, 'aria-label' | 'icon' | 'onClick'> & {
|
|
4675
|
+
value: string;
|
|
4676
|
+
ariaLabel?: string;
|
|
4677
|
+
};
|
|
4678
|
+
declare const CopyIconButton: ({
|
|
4679
|
+
value,
|
|
4680
|
+
ariaLabel,
|
|
4681
|
+
size,
|
|
4682
|
+
variant,
|
|
4683
|
+
...rest
|
|
4684
|
+
}: Props$4) => react_jsx_runtime3.JSX.Element;
|
|
4685
|
+
//#endregion
|
|
4686
|
+
//#region src/components/common/PriceChart.d.ts
|
|
4687
|
+
type Props$3 = BoxProps & {
|
|
4688
|
+
points: PricePoint[];
|
|
4689
|
+
/** 'up' = green, 'down' = red, 'neutral' = muted. Defaults to 'neutral'. */
|
|
4690
|
+
tone?: 'up' | 'down' | 'neutral';
|
|
4691
|
+
/** Chart height in px. */
|
|
4692
|
+
chartHeight?: number;
|
|
4693
|
+
/** Overall opacity (useful as background underlay). Defaults to 1. */
|
|
4694
|
+
chartOpacity?: number;
|
|
4695
|
+
/** Stroke thickness in px. Defaults to 1.75. */
|
|
4696
|
+
strokeWidth?: number;
|
|
4697
|
+
/** Show a hover/touch tooltip with the value at the cursor. */
|
|
4698
|
+
interactive?: boolean;
|
|
4699
|
+
/** Format the numeric value shown in the tooltip. */
|
|
4700
|
+
formatValue?: (value: number) => string;
|
|
4701
|
+
};
|
|
4702
|
+
declare const PriceChart: ({
|
|
4703
|
+
points,
|
|
4704
|
+
tone,
|
|
4705
|
+
chartHeight,
|
|
4706
|
+
chartOpacity,
|
|
4707
|
+
strokeWidth,
|
|
4708
|
+
interactive,
|
|
4709
|
+
formatValue,
|
|
4710
|
+
...boxProps
|
|
4254
4711
|
}: Props$3) => react_jsx_runtime3.JSX.Element | null;
|
|
4255
4712
|
//#endregion
|
|
4256
4713
|
//#region src/components/UpgradeSmartAccountModal/Contents/SuccessfulOperationContent.d.ts
|
|
@@ -4345,5 +4802,5 @@ declare const ModalProvider: ({
|
|
|
4345
4802
|
children: ReactNode;
|
|
4346
4803
|
}) => react_jsx_runtime3.JSX.Element;
|
|
4347
4804
|
//#endregion
|
|
4348
|
-
export { ChangeCurrencyContentProps as $, useRefreshBalances as $a, FAQModalProvider as $i, GetEventsKeyParams as $n, getIsDomainProtectedQueryKey as $o, toIPFSURL as $r, VeChainKitProvider as $s, getUpgradeRequiredForAccount as $t, CrossAppConnectionSecurityCard as A, MAX_IMAGE_SIZE as Aa, ExecuteBatchWithAuthorizationSignData as Ac, AppHubApp as Ai, useAccountBalance as An, useTokenPrices as Ao, executeCallClause as Ar, EcosystemButton as As, useSetWalletRecovery as At, AccountModalContentTypes as B, XAppMetadata as Ba, Wallet as Bc, useNotifications as Bi, getDepositAccount as Bn, useGetResolverAddress as Bo, isRejectionError as Br, LegalDocumentsProvider as Bs, buildERC20Clauses as Bt, BaseModal as C, useSingleImageUpload as Ca, TextRecords as Cc, VECHAIN_KIT_COOKIES_CONFIG as Ci, getCurrentAccountImplementationVersionQueryKey as Cn, useCustomTokens as Co, safeQuerySelector as Cr, ConnectPopover as Cs, SendTokenSummaryContent as Ct, VersionFooter as D, useUploadImages as Da, CrossAppConnectionCache as Dc, getENV as Di, useAccountImplementationAddress as Dn, TokenWithValue as Do, MultipleClausesCallReturnType as Dr, PasskeyLoginButton as Ds, useDAppKitWalletModal as Dt, useStickyHeaderContext as E, imageCompressionOptions as Ea, ConnectionSource as Ec, VECHAIN_PRIVY_APP_ID as Ei, getAccountImplementationAddressQueryKey as En, useTotalBalance as Eo, MultipleClausesCallParameters as Er, DappKitButton as Es, useDAppKitWallet as Et, BalanceSection as F, getIpfsMetadata as Fa, SmartAccount as Fc, useLoginWithOAuth$1 as Fi, useGasTokenSelection as Fn, getAvatarLegacyQueryKey as Fo, isInvalid as Fr, ErrorContent as Fs, useTxReceipt as Ft, DisconnectConfirmContent as G, StoredWallet as Ga, useProfileModal as Gi, useEcosystemShortcuts as Gn, useGetTextRecords as Go, NodeStrengthLevelToImage as Gr, PrivyWalletProvider as Gs, getAllEventLogs as Gt, RemoveWalletConfirmContent as H, useXAppMetadata as Ha, getConfig as Hc, useSettingsModal as Hi, useGenericDelegator as Hn, useUpdateTextRecord as Ho, TIME as Hr, ColorModeSync as Hs, UseSendTransactionReturnValue as Ht, AccountSelector as I, getIpfsMetadataQueryKey as Ia, TokenBalance as Ic, useLoginWithPasskey$1 as Ii, decodeRawTx as In, useGetAvatarLegacy as Io, isValid as Ir, LoadingContent as Is, BuildTransactionProps as It, SettingsContent as J, UseWalletReturnType as Ja, useLoginModalContent as Ji, useLocalStorage as Jn, Domain as Jo, buildQueryString as Jr, AccountQuickAction as Js, getChainIdQueryKey as Jt, DisconnectConfirmContentProps as K, useWalletStorage as Ka, UpgradeSmartAccountModalProvider as Ki, useSyncableLocalStorage as Kn, getAvatarQueryKey as Ko, XNodeStrengthLevelToName as Kr, PrivyWalletProviderContextType as Ks, getEventLogs as Kt, ActionButton as L, useIpfsMetadata as La, TransactionStatus as Lc, useSignTypedData as Li, delegateAuthorized as Ln, getAvatarOfAddressQueryKey as Lo, normalize as Lr, MainContent as Ls, useBuildTransaction as Lt, ExchangeWarningAlert as M, getIpfsImageQueryKey as Ma, NFTMediaType as Mc, getAppHubAppsQueryKey as Mi, useEstimateAllTokens as Mn, useTokenBalances as Mo, isValidUrl as Mr, EmailLoginButton as Ms, VECHAIN_KIT_QUERY_KEYS as Mt, FeatureAnnouncementCard as N, useIpfsImage as Na, PrivyAppInfo as Nc, useAppHubApps as Ni, useGenericDelegatorFeeEstimation as Nn, useUnsetDomain as No, addPrefix as Nr, ConnectionButton as Ns, useGasEstimate as Nt, AddressDisplay as O, useIpfsMetadatas as Oa, ENSRecords as Oc, getGenericDelegatorUrl as Oi, getAccountBalance as On, useTokensWithValues as Oo, ViewFunctionResult as Or, LoginWithGoogleButton as Os, useMfaEnrollment as Ot, QuickActionsSection as P, useIpfsImageList as Pa, PrivyLoginMethod as Pc, useLoginWithVeChain as Pi, useGenericDelegatorFeeEstimationParams as Pn, getAvatarLegacy as Po, compare as Pr, EcosystemContent as Ps, txReceiptQueryKey as Pt, ChangeCurrencyContent as Q, useRefreshMetadata as Qa, useAccountCustomizationModal as Qi, useBuildClauses as Qn, useGetDomainsOfAddress as Qo, resolveMediaTypeFromMimeType as Qr, VeChainKitContext as Qs, useUpgradeSmartAccount as Qt, AccountDetailsButton as R, getXAppsSharesQueryKey as Ra, TransactionStatusErrorType as Rc, useSignMessage as Ri, estimateAndBuildTxBody as Rn, useGetAvatarOfAddress as Ro, removePrefix as Rr, ConnectModal as Rs, buildVETClauses as Rt, AssetButton as S, useSwapTransaction as Sa, ENS_TEXT_RECORDS as Sc, TogglePassportCheck as Si, getCurrentAccountImplementationVersion as Sn, useGetB3trBalance as So, removeLocalStorageItem as Sr, WalletDisplayVariant as Ss, SelectTokenContent as St, StickyHeaderContainer as T, compressImages as Ta, CURRENCY_SYMBOLS as Tc, VECHAIN_KIT_TERMS_CONFIG as Ti, getAccountImplementationAddress as Tn, useCurrentAllocationsRoundId as To, setLocalStorageItem as Tr, VeChainWithPrivyLoginButton as Ts, ThorClient$1 as Tt, RemoveWalletConfirmContentProps as U, UseSwitchWalletReturnType as Ua, useAccountModalOptions as Ui, useCrossAppConnectionCache as Un, getTextRecords as Uo, EconomicNodeStrengthLevelToName as Ur, VechainKitThemeProvider as Us, useSendTransaction as Ut, SwitchFeedback as V, getXAppMetadata as Va, AppConfig as Vc, SettingsModalProvider as Vi, signVip191Transaction as Vn, buildClauses as Vo, simpleHash as Vr, useLegalDocuments as Vs, useTransferERC20 as Vt, SelectWalletContent as W, useSwitchWallet as Wa, ProfileModalProvider as Wi, EcosystemShortcut as Wn, getTextRecordsQueryKey as Wo, MinXNodeLevel as Wr, useVechainKitThemeConfig as Ws, GetEventsProps as Wt, GasTokenSettingsContent as X, getRoundXAppsQueryKey as Xa, useReceiveModal as Xi, buildBatchAuthorizationTypedData as Xn, getDomainsOfAddress as Xo, xNodeToGMstartingLevel as Xr, LegalDocumentOptions as Xs, currentBlockQueryKey as Xt, SettingsContentProps as Y, useWallet$1 as Ya, ReceiveModalProvider as Yi, BuildClausesParams as Yn, DomainsResponse as Yo, gmNfts as Yr, LegalDocument as Ys, useGetChainId as Yt, LanguageSettingsContent as Z, useRoundXApps as Za, AccountCustomizationModalProvider as Zi, buildSingleAuthorizationTypedData as Zn, getDomainsOfAddressQueryKey as Zo, convertUriToUrl as Zr, VeChainKitConfig as Zs, useCurrentBlock as Zt, TransactionButtonAndStatusProps as _, AccountModalProvider as _a, GasTokenInfo as _c, NON_TRANSFERABLE_TOKEN_SYMBOLS as _i, getAccountVersionQueryKey as _n, useGetCustomTokenInfo as _o, getLocalStorageItem as _r, TransactionModal as _s, ChooseNameSearchContentProps as _t, LegalDocumentItem as a, SwapTokenModalProvider as aa, LegalDocumentSource as ac, leftPadWithZeros as ai, SmartAccountReturnType as an, getVot3BalanceQueryKey as ao, useIsPWA as ar, useEnsRecordExists as as, UpgradeSmartAccountContent as at, ModalFAQButton as b, useConnectModal as ba, GasTokenType as bc, TOKEN_LOGOS as bi, getAccountAddressQueryKey as bn, useGetCustomTokenBalances as bo, isBrowser as br, WalletButton as bs, SwapTokenContent as bt, UpgradeSmartAccountModal as c, useSendTokenModal as ca, DepositAccount as cc, formatTokenBalance as ci, useSmartAccount as cn, SupportedToken as co, useCurrentCurrency as cr, fetchPrivyStatus as cs, ProfileContentProps as ct, WalletSwitchFeedback as d, WalletModalProvider as da, Rate as dc, humanDomain as di, getIsDeployed as dn, useGetTokenUsdPrice as do, getCallClauseQueryKey as dr, getPrivyAppInfoQueryKey as ds, AccountCustomizationContentProps as dt, useFAQModal as ea, VechainKitProviderProps as ec, uploadBlobToIPFS as ei, getUpgradeRequiredForAccountQueryKey as en, MostVotedAppsInRoundReturnType as eo, UseEventsParams as er, useIsDomainProtected as es, BridgeContent as et, InlineFeedback as f, useWalletModal as fa, TransactionCost as fc, humanNumber as fi, getIsDeployedQueryKey as fn, UseGetErc20BalanceOptions as fo, getCallClauseQueryKeyWithArgs as fr, useFetchAppInfo as fs, CustomizationContent as ft, TransactionButtonAndStatus as g, useTransactionModal as ga, GasTokenEstimate as gc, ENV as gi, useHasV1SmartAccount as gn, getTokenInfo$1 as go, getDocumentTitle as gr, ShareButtons as gs, ChooseNameSearchContent as gt, ModalNotificationButton as h, TransactionModalProvider as ha, formatGasCost as hc, DEFAULT_PRIVY_ECOSYSTEM_APPS as hi, getHasV1SmartAccountQueryKey as hn, getCustomTokenInfoQueryKey as ho, copyToClipboard as hr, TransactionModalContent as hs, ChooseNameSummaryContentProps as ht, DAppKitWalletButton as i, useExploreEcosystemModal as ia, LegalDocumentAgreement as ic, isValidAddress as ii, useUpgradeRequired as in, useIsPerson as io, useScrollToTop as ir, getEnsRecordExistsQueryKey as is, AssetsContentProps as it, DomainRequiredAlert as j, getIpfsImage as ja, ExecuteWithAuthorizationSignData as jc, fetchAppHubApps as ji, UseEstimateAllTokensParams as jn, WalletTokenBalance as jo, executeMultipleClausesCall as jr, VeChainLoginButton as js, useThor$1 as jt, ModalBackButton as k, IpfsImage as ka, EnhancedClause as kc, notFoundImage as ki, getAccountBalanceQueryKey as kn, ExchangeRates as ko, buildCallClauses as kr, PrivyButton as ks, usePrivy$1 as kt, UpgradeSmartAccountModalContentsTypes as l, ChooseNameModalProvider as la, EstimatedGas as lc, getPicassoImage as li, useRefreshSmartAccountQueries as ln, getTokenUsdPrice as lo, useCurrentLanguage as lr, useFetchPrivyStatus as ls, CustomizationSummaryContent as lt, GasFeeSummary as m, useTransactionToast as ma, calculateTotalCost as mc, DEFAULT_GAS_TOKEN_PREFERENCES as mi, getHasV1SmartAccount as mn, useGetErc20Balance as mo, useMultipleClausesCall as mr, TransactionToast as ms, ChooseNameSummaryContent as mt, ModalProvider as n, useNotificationsModal as na, useVeChainKitConfig as nc, compareAddresses as ni, getUpgradeRequired as nn, useMostVotedAppsInRound as no, getEventsKey as nr, useClaimVetDomain as ns, ManageCustomTokenContentProps as nt, LegalDocumentsModal as o, useSwapTokenModal as oa, LegalDocumentType as oc, regexPattern as oi, getSmartAccount as on, useGetVot3Balance as oo, useGetNodeUrl as or, getVechainDomainQueryKey as os, UpgradeSmartAccountContentProps as ot, GasFeeTokenSelector as p, TransactionToastProvider as pa, VthoPerGasAtSpeed as pc, isZero as pi, useIsSmartAccountDeployed as pn, getErc20BalanceQueryKey as po, useCallClause as pr, AccountMainContent as ps, FAQContent as pt, TermsAndPrivacyContent as q, useWalletMetadata as qa, useUpgradeSmartAccountModal as qi, LocalStorageKey as qn, useGetAvatar as qo, allNodeStrengthLevelToName as qr, usePrivyWalletProvider as qs, getChainId as qt, useModal as r, ExploreEcosystemModalProvider as ra, EnrichedLegalDocument as rc, compareListOfAddresses as ri, getUpgradeRequiredQueryKey as rn, getIsPersonQueryKey as ro, useEvents as rr, useClaimVeWorldSubdomain as rs, AssetsContent as rt, LegalDocumentsModalContentsTypes as s, SendTokenModalProvider as sa, CostLevel as sc, randomTransactionUser as si, getSmartAccountQueryKey as sn, PRICE_FEED_IDS as so, useFeatureAnnouncement as sr, useVechainDomain as ss, ProfileContent as st, AccountModalOptions as t, NotificationsModalProvider as ta, useAppConfig as tc, validateIpfsUri as ti, useUpgradeRequiredForAccount as tn, XApp as to, decodeEventLog$1 as tr, buildVetDomainClauses as ts, ManageCustomTokenContent as tt, UpgradeSmartAccountModalStyle as u, useChooseNameModal as ua, EstimationResponse as uc, humanAddress as ui, useRefreshFactoryQueries as un, getTokenUsdPriceQueryKey as uo, useCurrency as ur, fetchPrivyAppInfo as us, CustomizationSummaryContentProps as ut, AccountAvatar as v, useAccountModal as va, GasTokenPreferences as vc, PrivyEcosystemApp as vi, useGetAccountVersion as vn, TokenWithBalance as vo, getWindowOrigin as vr, TransactionModalProps as vs, ChooseNameContent as vt, StickyFooterContainer as w, UploadedImage as wa, CURRENCY as wc, VECHAIN_KIT_STORAGE_KEYS as wi, useCurrentAccountImplementationVersion as wn, getCurrentAllocationsRoundIdQueryKey as wo, safeWindowOpen as wr, LoginWithGithubButton as ws, SendTokenContent as wt, AddressDisplayCard as x, useSwapQuotes as xa, TransactionSpeed as xc, TOKEN_LOGO_COMPONENTS as xi, useGetAccountAddress as xn, getB3trBalanceQueryKey as xo, isOnline as xr, WalletButtonProps as xs, ReceiveTokenContent as xt, ScrollToTopWrapper as y, ConnectModalProvider as ya, GasTokenSelection as yc, SUPPORTED_GAS_TOKENS as yi, getAccountAddress as yn, getCustomTokenBalanceQueryKey as yo, hasNavigator as yr, SocialIcons as ys, ChooseNameContentProps as yt, AccountModal as z, useXAppsShares as za, VePassportUserStatus as zc, useNotificationAlerts as zi, estimateGas as zn, getResolverAddressQueryKey as zo, validate as zr, ConnectModalContentsTypes as zs, useTransferVET as zt };
|
|
4349
|
-
//# sourceMappingURL=index-
|
|
4805
|
+
export { RemoveWalletConfirmContentProps as $, VTHO_TOKEN_ADDRESS as $a, EstimatedGas as $c, useNotifications as $i, signVip191Transaction as $n, getErc20BalanceQueryKey as $o, simpleHash as $r, AccountMainContent as $s, useTransferERC20 as $t, useStickyHeaderContext as A, AccountModalProvider as Aa, ConnectModalContentsTypes as Ac, PrivyEcosystemApp as Ai, Wallet as Al, useGetAccountVersion as An, useRoundXApps as Ao, getWindowOrigin as Ar, getTextRecordsQueryKey as As, SwapTokenContent as At, AccountSelector as B, NavigatorPosition as Ba, LegalDocumentOptions as Bc, getGenericDelegatorUrl as Bi, getAccountBalance as Bn, usePortfolioPriceHistory24h as Bo, ViewFunctionResult as Br, useIsDomainProtected as Bs, useMfaEnrollment as Bt, ScrollToTopWrapper as C, useChooseNameModal as Ca, ConnectionButton as Cc, humanDomain as Ci, PrivyAppInfo as Cl, getIsDeployed as Cn, useSwitchWallet as Co, getCallClauseQueryKey as Cr, getAvatarOfAddressQueryKey as Cs, FAQContent as Ct, BaseModal as D, useTransactionToast as Da, LoadingContent as Dc, DEFAULT_PRIVY_ECOSYSTEM_APPS as Di, TransactionStatus as Dl, getHasV1SmartAccountQueryKey as Dn, UseWalletReturnType as Do, copyToClipboard as Dr, buildClauses as Ds, ChooseNameSearchContentProps as Dt, AssetButton as E, TransactionToastProvider as Ea, ErrorContent as Ec, DEFAULT_GAS_TOKEN_PREFERENCES as Ei, TokenBalance as El, getHasV1SmartAccount as En, useWalletMetadata as Eo, useMultipleClausesCall as Er, useGetResolverAddress as Es, ChooseNameSearchContent as Et, DomainRequiredAlert as F, JuicyPositionResult as Fa, PrivyWalletProvider as Fc, VECHAIN_KIT_COOKIES_CONFIG as Fi, getCurrentAccountImplementationVersionQueryKey as Fn, useMostVotedAppsInRound as Fo, safeQuerySelector as Fr, DomainsResponse as Fs, SendTokenSummaryContent as Ft, SwitchFeedback as G, useTokenTransferHistory as Ga, useAppConfig as Gc, useAppHubApps as Gi, useGenericDelegatorFeeEstimation as Gn, useOraclePriceChanges24h as Go, addPrefix as Gr, useEnsRecordExists as Gs, useGasEstimate as Gt, AccountDetailsButton as H, StargatePosition as Ha, VeChainKitContext as Hc, AppHubApp as Hi, useAccountBalance as Hn, PriceChanges24h as Ho, executeCallClause as Hr, useClaimVetDomain as Hs, useSetWalletRecovery as Ht, ExchangeWarningAlert as I, useJuicyPosition as Ia, PrivyWalletProviderContextType as Ic, VECHAIN_KIT_STORAGE_KEYS as Ii, useCurrentAccountImplementationVersion as In, getIsPersonQueryKey as Io, safeWindowOpen as Ir, getDomainsOfAddress as Is, SendTokenContent as It, TransactionHistoryContent as J, IndexerTransfer as Ja, LegalDocumentAgreement as Jc, useLoginWithOAuth as Ji, decodeRawTx as Jn, SupportedToken as Jo, isValid as Jr, fetchPrivyStatus as Js, BuildTransactionProps as Jt, TransactionDetailContent as K, getTransferHistoryQueryKey as Ka, useVeChainKitConfig as Kc, useConnectWithDappKitSource as Ki, useGenericDelegatorFeeEstimationParams as Kn, useTokenPriceHistory24h as Ko, compare as Kr, getVechainDomainQueryKey as Ks, txReceiptQueryKey as Kt, FeatureAnnouncementCard as L, LpPosition as La, usePrivyWalletProvider as Lc, VECHAIN_KIT_TERMS_CONFIG as Li, getAccountImplementationAddress as Ln, useIsPerson as Lo, setLocalStorageItem as Lr, getDomainsOfAddressQueryKey as Ls, ThorClient$1 as Lt, AddressDisplay as M, ConnectModalProvider as Ma, useLegalDocuments as Mc, TOKEN_LOGOS as Mi, getConfig as Ml, getAccountAddressQueryKey as Mn, useRefreshBalances as Mo, isBrowser as Mr, getAvatarQueryKey as Ms, ReceiveTokenContent as Mt, ModalBackButton as N, useConnectModal as Na, VechainKitThemeProvider as Nc, TOKEN_LOGO_COMPONENTS as Ni, useGetAccountAddress as Nn, MostVotedAppsInRoundReturnType as No, isOnline as Nr, useGetAvatar as Ns, ReceiveTokenContentProps as Nt, StickyFooterContainer as O, TransactionModalProvider as Oa, MainContent as Oc, ENV as Oi, TransactionStatusErrorType as Ol, useHasV1SmartAccount as On, useWallet as Oo, getDocumentTitle as Or, useUpdateTextRecord as Os, ChooseNameContent as Ot, CrossAppConnectionSecurityCard as P, JuicyAssetPosition as Pa, useVechainKitThemeConfig as Pc, TogglePassportCheck as Pi, getCurrentAccountImplementationVersion as Pn, XApp as Po, removeLocalStorageItem as Pr, Domain as Ps, SelectTokenContent as Pt, RemoveWalletConfirmContent as Q, VET_TOKEN_SENTINEL as Qa, DepositAccount as Qc, useNotificationAlerts as Qi, getDepositAccount as Qn, UseGetErc20BalanceOptions as Qo, isRejectionError as Qr, useFetchAppInfo as Qs, buildERC20Clauses as Qt, QuickActionsSection as R, LpPositionToken as Ra, AccountQuickAction as Rc, VECHAIN_PRIVY_APP_ID as Ri, getAccountImplementationAddressQueryKey as Rn, getVot3BalanceQueryKey as Ro, MultipleClausesCallParameters as Rr, useGetDomainsOfAddress as Rs, useDAppKitWallet as Rt, AccountAvatar as S, ChooseNameModalProvider as Sa, EmailLoginButton as Sc, humanAddress as Si, NFTMediaType as Sl, useRefreshFactoryQueries as Sn, UseSwitchWalletReturnType as So, useCurrency as Sr, useGetAvatarLegacy as Ss, CustomizationContent as St, AddressDisplayCard as T, useWalletModal as Ta, EcosystemContent as Tc, isZero as Ti, SmartAccount as Tl, useIsSmartAccountDeployed as Tn, useWalletStorage as To, useCallClause as Tr, getResolverAddressQueryKey as Ts, ChooseNameSummaryContentProps as Tt, AccountModal as U, StargatePositionsResult as Ua, VeChainKitProvider as Uc, fetchAppHubApps as Ui, UseEstimateAllTokensParams as Un, PricePoint as Uo, executeMultipleClausesCall as Ur, useClaimVeWorldSubdomain as Us, useThor as Ut, ActionButton as V, useNavigatorPosition as Va, VeChainKitConfig as Vc, notFoundImage as Vi, getAccountBalanceQueryKey as Vn, OracleHistory24h as Vo, buildCallClauses as Vr, buildVetDomainClauses as Vs, usePrivy as Vt, AccountModalContentTypes as W, useStargatePositions as Wa, VechainKitProviderProps as Wc, getAppHubAppsQueryKey as Wi, useEstimateAllTokens as Wn, useOracleHistory24h as Wo, isValidUrl as Wr, getEnsRecordExistsQueryKey as Ws, VECHAIN_KIT_QUERY_KEYS as Wt, TokenDetailContent as X, TransferEventType as Xa, LegalDocumentType as Xc, useSignTypedData as Xi, estimateAndBuildTxBody as Xn, getTokenUsdPriceQueryKey as Xo, removePrefix as Xr, fetchPrivyAppInfo as Xs, buildVETClauses as Xt, TransactionHistoryContentProps as Y, TransferDirection as Ya, LegalDocumentSource as Yc, useLoginWithPasskey as Yi, delegateAuthorized as Yn, getTokenUsdPrice as Yo, normalize as Yr, useFetchPrivyStatus as Ys, useBuildTransaction as Yt, TokenDetailContentProps as Z, TransferHistoryItem as Za, CostLevel as Zc, useSignMessage as Zi, estimateGas as Zn, useGetTokenUsdPrice as Zo, validate as Zr, getPrivyAppInfoQueryKey as Zs, useTransferVET as Zt, GasFeeTokenSelector as _, useExploreEcosystemModal as _a, LoginWithAppleButton as _c, leftPadWithZeros as _i, CrossAppConnectionCache as _l, SmartAccountReturnType as _n, getXAppsSharesQueryKey as _o, useIsPWA as _r, WalletTokenBalance as _s, ProfileContent as _t, LegalDocumentItem as a, UpgradeSmartAccountModalProvider as aa, SocialIcons as ac, allNodeStrengthLevelToName as ai, formatGasCost as al, getChainId as an, imageCompressionOptions as ao, LocalStorageKey as ar, getCustomTokenBalanceQueryKey as as, SettingsContentProps as at, TransactionButtonAndStatus as b, SendTokenModalProvider as ba, EcosystemButton as bc, formatTokenBalance as bi, ExecuteBatchWithAuthorizationSignData as bl, useSmartAccount as bn, getXAppMetadata as bo, useCurrentCurrency as br, getAvatarLegacy as bs, CustomizationSummaryContentProps as bt, UpgradeSmartAccountModal as c, ReceiveModalProvider as ca, WalletDisplayVariant as cc, xNodeToGMstartingLevel as ci, GasTokenPreferences as cl, currentBlockQueryKey as cn, IpfsImage as co, buildBatchAuthorizationTypedData as cr, useGetB3trBalance as cs, ChangeCurrencyContent as ct, PriceChart as d, useAccountCustomizationModal as da, Sync2Button as dc, toIPFSURL as di, TransactionSpeed as dl, getUpgradeRequiredForAccount as dn, getIpfsImageQueryKey as do, GetEventsKeyParams as dr, useCurrentAllocationsRoundId as ds, ManageCustomTokenContent as dt, SettingsModalProvider as ea, TransactionToast as ec, TIME as ei, EstimationResponse as el, UseSendTransactionReturnValue as en, useSwapQuotes as eo, useGenericDelegator as er, useGetErc20Balance as es, SelectWalletContent as et, CopyIconButton as f, FAQModalProvider as fa, VeWorldButton as fc, uploadBlobToIPFS as fi, ENS_TEXT_RECORDS as fl, getUpgradeRequiredForAccountQueryKey as fn, useIpfsImage as fo, UseEventsParams as fr, useTotalBalance as fs, ManageCustomTokenContentProps as ft, InlineFeedback as g, ExploreEcosystemModalProvider as ga, PasskeyLoginButton as gc, isValidAddress as gi, ConnectionSource as gl, useUpgradeRequired as gn, useIpfsMetadata as go, useScrollToTop as gr, useTokenPrices as gs, UpgradeSmartAccountContentProps as gt, WalletSwitchFeedback as h, useNotificationsModal as ha, DappKitButton as hc, compareListOfAddresses as hi, CURRENCY_SYMBOLS as hl, getUpgradeRequiredQueryKey as hn, getIpfsMetadataQueryKey as ho, useEvents as hr, ExchangeRates as hs, UpgradeSmartAccountContent as ht, DAppKitWalletButton as i, useProfileModal as ia, TransactionModalProps as ic, XNodeStrengthLevelToName as ii, calculateTotalCost as il, getEventLogs as in, compressImages as io, useSyncableLocalStorage as ir, TokenWithBalance as is, SettingsContent as it, VersionFooter as j, useAccountModal as ja, LegalDocumentsProvider as jc, SUPPORTED_GAS_TOKENS as ji, AppConfig as jl, getAccountAddress as jn, useRefreshMetadata as jo, hasNavigator as jr, useGetTextRecords as js, SwapTokenContentProps as jt, StickyHeaderContainer as k, useTransactionModal as ka, ConnectModal as kc, NON_TRANSFERABLE_TOKEN_SYMBOLS as ki, VePassportUserStatus as kl, getAccountVersionQueryKey as kn, getRoundXAppsQueryKey as ko, getLocalStorageItem as kr, getTextRecords as ks, ChooseNameContentProps as kt, UpgradeSmartAccountModalContentsTypes as l, useReceiveModal as la, ConnectPopover as lc, convertUriToUrl as li, GasTokenSelection as ll, useCurrentBlock as ln, MAX_IMAGE_SIZE as lo, buildSingleAuthorizationTypedData as lr, useCustomTokens as ls, ChangeCurrencyContentProps as lt, PriceChangeBadge as m, NotificationsModalProvider as ma, VeChainWithPrivyLoginButton as mc, compareAddresses as mi, CURRENCY as ml, getUpgradeRequired as mn, getIpfsMetadata as mo, getEventsKey as mr, useTokensWithValues as ms, AssetsContentProps as mt, ModalProvider as n, useAccountModalOptions as na, ShareButtons as nc, MinXNodeLevel as ni, TransactionCost as nl, GetEventsProps as nn, useSingleImageUpload as no, EcosystemShortcut as nr, getTokenInfo as ns, DisconnectConfirmContentProps as nt, LegalDocumentsModal as o, useUpgradeSmartAccountModal as oa, WalletButton as oc, buildQueryString as oi, GasTokenEstimate as ol, getChainIdQueryKey as on, useUploadImages as oo, useLocalStorage as or, useGetCustomTokenBalances as os, GasTokenSettingsContent as ot, AddressOrDomainLabel as p, useFAQModal as pa, LoginWithGithubButton as pc, validateIpfsUri as pi, TextRecords as pl, useUpgradeRequiredForAccount as pn, useIpfsImageList as po, decodeEventLog$1 as pr, TokenWithValue as ps, AssetsContent as pt, TransactionDetailContentProps as q, useTransferHistory as qa, EnrichedLegalDocument as qc, useLoginWithVeChain as qi, useGasTokenSelection as qn, PRICE_FEED_IDS as qo, isInvalid as qr, useVechainDomain as qs, useTxReceipt as qt, useModal as r, ProfileModalProvider as ra, TransactionModal as rc, NodeStrengthLevelToImage as ri, VthoPerGasAtSpeed as rl, getAllEventLogs as rn, UploadedImage as ro, useEcosystemShortcuts as rr, useGetCustomTokenInfo as rs, TermsAndPrivacyContent as rt, LegalDocumentsModalContentsTypes as s, useLoginModalContent as sa, WalletButtonProps as sc, gmNfts as si, GasTokenInfo as sl, useGetChainId as sn, useIpfsMetadatas as so, BuildClausesParams as sr, getB3trBalanceQueryKey as ss, LanguageSettingsContent as st, AccountModalOptions as t, useSettingsModal as ta, TransactionModalContent as tc, EconomicNodeStrengthLevelToName as ti, Rate as tl, useSendTransaction as tn, useSwapTransaction as to, useCrossAppConnectionCache as tr, getCustomTokenInfoQueryKey as ts, DisconnectConfirmContent as tt, UpgradeSmartAccountModalStyle as u, AccountCustomizationModalProvider as ua, WalletConnectButton as uc, resolveMediaTypeFromMimeType as ui, GasTokenType as ul, useUpgradeSmartAccount as un, getIpfsImage as uo, useBuildClauses as ur, getCurrentAllocationsRoundIdQueryKey as us, BridgeContent as ut, GasFeeSummary as v, SwapTokenModalProvider as va, LoginWithGoogleButton as vc, regexPattern as vi, ENSRecords as vl, getSmartAccount as vn, useXAppsShares as vo, useGetNodeUrl as vr, useTokenBalances as vs, ProfileContentProps as vt, ModalFAQButton as w, WalletModalProvider as wa, MoreOptionsContent as wc, humanNumber as wi, PrivyLoginMethod as wl, getIsDeployedQueryKey as wn, StoredWallet as wo, getCallClauseQueryKeyWithArgs as wr, useGetAvatarOfAddress as ws, ChooseNameSummaryContent as wt, TransactionButtonAndStatusProps as x, useSendTokenModal as xa, VeChainLoginButton as xc, getPicassoImage as xi, ExecuteWithAuthorizationSignData as xl, useRefreshSmartAccountQueries as xn, useXAppMetadata as xo, useCurrentLanguage as xr, getAvatarLegacyQueryKey as xs, AccountCustomizationContentProps as xt, ModalNotificationButton as y, useSwapTokenModal as ya, PrivyButton as yc, randomTransactionUser as yi, EnhancedClause as yl, getSmartAccountQueryKey as yn, XAppMetadata as yo, useFeatureAnnouncement as yr, useUnsetDomain as ys, CustomizationSummaryContent as yt, BalanceSection as z, useBetterSwapLpPositions as za, LegalDocument as zc, getENV as zi, useAccountImplementationAddress as zn, useGetVot3Balance as zo, MultipleClausesCallReturnType as zr, getIsDomainProtectedQueryKey as zs, useDAppKitWalletModal as zt };
|
|
4806
|
+
//# sourceMappingURL=index-CR1vQAAH.d.cts.map
|