@vechain/vechain-kit 2.7.0 → 2.8.0
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-BN8V0jxo.d.mts.map → index-BYfc-9J5.d.mts.map} +1 -1
- package/dist/{index-I8fe7GR2.d.cts → index-Bekk3wer.d.cts} +4 -4
- package/dist/{index-I8fe7GR2.d.cts.map → index-Bekk3wer.d.cts.map} +1 -1
- package/dist/{index-DDj5hY2R.d.mts → index-BvKpDLIo.d.mts} +604 -150
- package/dist/index-BvKpDLIo.d.mts.map +1 -0
- package/dist/{index-PnYdUmDr.d.cts → index-C4fIl4KD.d.cts} +583 -129
- package/dist/index-C4fIl4KD.d.cts.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,4 +1,4 @@
|
|
|
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_runtime1 from "react/jsx-runtime";
|
|
@@ -11,11 +11,12 @@ import { LogLevel, WalletSource } from "@vechain/dapp-kit";
|
|
|
11
11
|
import { WalletButton as DAppKitWalletButton, WalletConnectOptions, useThor, useWallet as useDAppKitWallet, useWalletModal as useDAppKitWalletModal } from "@vechain/dapp-kit-react";
|
|
12
12
|
import { CustomizedStyle, I18n, SourceInfo } from "@vechain/dapp-kit-ui";
|
|
13
13
|
import { IconType } from "react-icons";
|
|
14
|
-
import * as
|
|
14
|
+
import * as _tanstack_react_query37 from "@tanstack/react-query";
|
|
15
15
|
import { UseQueryOptions } from "@tanstack/react-query";
|
|
16
16
|
import { z } from "zod";
|
|
17
17
|
import { CustomTokenInfo } from "@vechain/contract-getters";
|
|
18
18
|
import { Options } from "browser-image-compression";
|
|
19
|
+
import * as _tanstack_query_core0 from "@tanstack/query-core";
|
|
19
20
|
import { Account } from "viem/accounts";
|
|
20
21
|
import * as abitype0 from "abitype";
|
|
21
22
|
import { AbiParametersToPrimitiveTypes, ExtractAbiFunction, ExtractAbiFunctionNames } from "abitype";
|
|
@@ -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_runtime1.JSX.Element;
|
|
779
789
|
declare const VechainKitThemeProvider: ({
|
|
780
790
|
children,
|
|
781
791
|
darkMode,
|
|
782
792
|
theme: customTheme
|
|
783
|
-
}: Props$
|
|
793
|
+
}: Props$42) => react_jsx_runtime1.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_runtime1.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_runtime1.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_runtime1.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_runtime1.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_runtime1.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_runtime1.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_runtime1.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_runtime1.JSX.Element
|
|
966
|
+
}: ConnectionButtonProps) => react_jsx_runtime1.JSX.Element;
|
|
915
967
|
//#endregion
|
|
916
968
|
//#region src/components/ConnectModal/Components/EmailLoginButton.d.ts
|
|
917
969
|
declare const EmailLoginButton: () => react_jsx_runtime1.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_runtime1.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_runtime1.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_runtime1.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_runtime1.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_runtime1.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,79 @@ declare const PasskeyLoginButton: ({
|
|
|
974
1039
|
isDark,
|
|
975
1040
|
gridColumn,
|
|
976
1041
|
setCurrentContent
|
|
977
|
-
}: Props$
|
|
1042
|
+
}: Props$31) => react_jsx_runtime1.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_runtime1.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_runtime1.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_runtime1.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 — filled with the theme's primary-button surface.
|
|
1082
|
+
* Devs that customise `theme.buttons.primaryButton.{bg,color}` automatically
|
|
1083
|
+
* restyle this button too.
|
|
1084
|
+
* Recommended-provider green dot in the trailing slot.
|
|
1085
|
+
*/
|
|
1086
|
+
declare const VeWorldButton: ({
|
|
1087
|
+
isDark,
|
|
1088
|
+
gridColumn,
|
|
1089
|
+
setCurrentContent
|
|
1090
|
+
}: Props$27) => react_jsx_runtime1.JSX.Element;
|
|
1091
|
+
//#endregion
|
|
1092
|
+
//#region src/components/ConnectModal/Components/Sync2Button.d.ts
|
|
1093
|
+
type Props$26 = {
|
|
1094
|
+
isDark: boolean;
|
|
1095
|
+
gridColumn?: number;
|
|
1096
|
+
setCurrentContent: React$1.Dispatch<React$1.SetStateAction<ConnectModalContentsTypes>>;
|
|
1097
|
+
};
|
|
1098
|
+
declare const Sync2Button: ({
|
|
1099
|
+
isDark,
|
|
1100
|
+
gridColumn,
|
|
1101
|
+
setCurrentContent
|
|
1102
|
+
}: Props$26) => react_jsx_runtime1.JSX.Element;
|
|
1103
|
+
//#endregion
|
|
1104
|
+
//#region src/components/ConnectModal/Components/WalletConnectButton.d.ts
|
|
1105
|
+
type Props$25 = {
|
|
1106
|
+
isDark: boolean;
|
|
1107
|
+
gridColumn?: number;
|
|
1108
|
+
setCurrentContent: React$1.Dispatch<React$1.SetStateAction<ConnectModalContentsTypes>>;
|
|
1109
|
+
};
|
|
1110
|
+
declare const WalletConnectButton: ({
|
|
1111
|
+
isDark,
|
|
1112
|
+
gridColumn,
|
|
1113
|
+
setCurrentContent
|
|
1114
|
+
}: Props$25) => react_jsx_runtime1.JSX.Element;
|
|
1008
1115
|
//#endregion
|
|
1009
1116
|
//#region src/components/ConnectModal/ConnectPopover.d.ts
|
|
1010
1117
|
type ConnectPopoverProps = {
|
|
@@ -1069,14 +1176,14 @@ declare const TransactionModal: ({
|
|
|
1069
1176
|
}: TransactionModalProps) => react_jsx_runtime1.JSX.Element | null;
|
|
1070
1177
|
//#endregion
|
|
1071
1178
|
//#region src/components/TransactionModal/Components/ShareButtons.d.ts
|
|
1072
|
-
type Props$
|
|
1179
|
+
type Props$24 = {
|
|
1073
1180
|
description: string;
|
|
1074
1181
|
url?: string;
|
|
1075
1182
|
facebookHashtag?: string;
|
|
1076
1183
|
};
|
|
1077
1184
|
declare const ShareButtons: ({
|
|
1078
1185
|
description
|
|
1079
|
-
}: Props$
|
|
1186
|
+
}: Props$24) => react_jsx_runtime1.JSX.Element;
|
|
1080
1187
|
//#endregion
|
|
1081
1188
|
//#region src/components/TransactionModal/TransactionModalContent.d.ts
|
|
1082
1189
|
declare const TransactionModalContent: ({
|
|
@@ -1109,7 +1216,7 @@ declare const TransactionToast: ({
|
|
|
1109
1216
|
}: TransactionToastProps) => react_jsx_runtime1.JSX.Element | null;
|
|
1110
1217
|
//#endregion
|
|
1111
1218
|
//#region src/components/AccountModal/Contents/Account/AccountMainContent.d.ts
|
|
1112
|
-
type Props$
|
|
1219
|
+
type Props$23 = {
|
|
1113
1220
|
setCurrentContent: React.Dispatch<React.SetStateAction<AccountModalContentTypes>>;
|
|
1114
1221
|
onClose: () => void;
|
|
1115
1222
|
wallet: Wallet;
|
|
@@ -1122,12 +1229,12 @@ declare const AccountMainContent: ({
|
|
|
1122
1229
|
wallet,
|
|
1123
1230
|
onClose,
|
|
1124
1231
|
switchFeedback
|
|
1125
|
-
}: Props$
|
|
1232
|
+
}: Props$23) => react_jsx_runtime1.JSX.Element;
|
|
1126
1233
|
//#endregion
|
|
1127
1234
|
//#region src/hooks/api/privy/useFetchAppInfo.d.ts
|
|
1128
1235
|
declare const fetchPrivyAppInfo: (appId: string) => Promise<PrivyAppInfo>;
|
|
1129
1236
|
declare const getPrivyAppInfoQueryKey: (appIds: string | string[]) => string[];
|
|
1130
|
-
declare const useFetchAppInfo: (appIds: string | string[]) =>
|
|
1237
|
+
declare const useFetchAppInfo: (appIds: string | string[]) => _tanstack_react_query37.UseQueryResult<{
|
|
1131
1238
|
[k: string]: {
|
|
1132
1239
|
website: string | undefined;
|
|
1133
1240
|
id: string;
|
|
@@ -1148,7 +1255,7 @@ declare const useFetchAppInfo: (appIds: string | string[]) => _tanstack_react_qu
|
|
|
1148
1255
|
//#endregion
|
|
1149
1256
|
//#region src/hooks/api/privy/useFetchPrivyStatus.d.ts
|
|
1150
1257
|
declare const fetchPrivyStatus: () => Promise<string>;
|
|
1151
|
-
declare const useFetchPrivyStatus: () =>
|
|
1258
|
+
declare const useFetchPrivyStatus: () => _tanstack_react_query37.UseQueryResult<string, Error>;
|
|
1152
1259
|
//#endregion
|
|
1153
1260
|
//#region src/hooks/api/vetDomains/useVechainDomain.d.ts
|
|
1154
1261
|
interface VeChainDomainResult {
|
|
@@ -1158,11 +1265,11 @@ interface VeChainDomainResult {
|
|
|
1158
1265
|
isPrimaryDomain: boolean;
|
|
1159
1266
|
}
|
|
1160
1267
|
declare const getVechainDomainQueryKey: (addressOrDomain?: string | null) => (string | null | undefined)[];
|
|
1161
|
-
declare const useVechainDomain: (addressOrDomain?: string | null) =>
|
|
1268
|
+
declare const useVechainDomain: (addressOrDomain?: string | null) => _tanstack_react_query37.UseQueryResult<VeChainDomainResult, Error>;
|
|
1162
1269
|
//#endregion
|
|
1163
1270
|
//#region src/hooks/api/vetDomains/useEnsRecordExists.d.ts
|
|
1164
1271
|
declare const getEnsRecordExistsQueryKey: (name: string) => string[];
|
|
1165
|
-
declare const useEnsRecordExists: (name: string) =>
|
|
1272
|
+
declare const useEnsRecordExists: (name: string) => _tanstack_react_query37.UseQueryResult<boolean, Error>;
|
|
1166
1273
|
//#endregion
|
|
1167
1274
|
//#region src/hooks/api/vetDomains/useClaimVeWorldSubdomain.d.ts
|
|
1168
1275
|
type useClaimVeWorldSubdomainProps = {
|
|
@@ -1224,7 +1331,7 @@ declare const getIsDomainProtectedQueryKey: (domain?: string) => (string | undef
|
|
|
1224
1331
|
* @param {boolean} [enabled=true] - Flag to enable or disable the hook.
|
|
1225
1332
|
* @returns The result of the useQuery hook, with the protection status.
|
|
1226
1333
|
*/
|
|
1227
|
-
declare const useIsDomainProtected: (domain?: string, enabled?: boolean) =>
|
|
1334
|
+
declare const useIsDomainProtected: (domain?: string, enabled?: boolean) => _tanstack_react_query37.UseQueryResult<boolean, Error>;
|
|
1228
1335
|
//#endregion
|
|
1229
1336
|
//#region src/hooks/api/vetDomains/useGetDomainsOfAddress.d.ts
|
|
1230
1337
|
declare const DomainSchema: z.ZodObject<{
|
|
@@ -1252,7 +1359,7 @@ declare const getDomainsOfAddressQueryKey: (address?: string, parentDomain?: str
|
|
|
1252
1359
|
* @param parentDomain The parent domain (e.g., "veworld.vet")
|
|
1253
1360
|
* @returns The domains owned by the address
|
|
1254
1361
|
*/
|
|
1255
|
-
declare const useGetDomainsOfAddress: (address?: string, parentDomain?: string) =>
|
|
1362
|
+
declare const useGetDomainsOfAddress: (address?: string, parentDomain?: string) => _tanstack_react_query37.UseQueryResult<{
|
|
1256
1363
|
domains: {
|
|
1257
1364
|
name: string;
|
|
1258
1365
|
}[];
|
|
@@ -1265,7 +1372,7 @@ declare const getAvatarQueryKey: (name: string, networkType: NETWORK_TYPE) => st
|
|
|
1265
1372
|
* @param name - The VET domain name
|
|
1266
1373
|
* @returns The resolved avatar URL
|
|
1267
1374
|
*/
|
|
1268
|
-
declare const useGetAvatar: (name: string) =>
|
|
1375
|
+
declare const useGetAvatar: (name: string) => _tanstack_react_query37.UseQueryResult<string | null, Error>;
|
|
1269
1376
|
//#endregion
|
|
1270
1377
|
//#region src/hooks/api/vetDomains/useGetTextRecords.d.ts
|
|
1271
1378
|
/**
|
|
@@ -1277,7 +1384,7 @@ declare const useGetAvatar: (name: string) => _tanstack_react_query8.UseQueryRes
|
|
|
1277
1384
|
*/
|
|
1278
1385
|
declare const getTextRecords: (nodeUrl: string, network: NETWORK_TYPE, domain?: string) => Promise<TextRecords>;
|
|
1279
1386
|
declare const getTextRecordsQueryKey: (domain?: string, network?: NETWORK_TYPE) => (string | undefined)[];
|
|
1280
|
-
declare const useGetTextRecords: (domain?: string) =>
|
|
1387
|
+
declare const useGetTextRecords: (domain?: string) => _tanstack_react_query37.UseQueryResult<TextRecords, Error>;
|
|
1281
1388
|
//#endregion
|
|
1282
1389
|
//#region src/hooks/api/vetDomains/useUpdateTextRecord.d.ts
|
|
1283
1390
|
type UpdateTextRecordVariables = {
|
|
@@ -1310,7 +1417,7 @@ declare const getResolverAddressQueryKey: (domain?: string) => (string | undefin
|
|
|
1310
1417
|
* @param domain The domain to get resolver for
|
|
1311
1418
|
* @returns The resolver address for the domain
|
|
1312
1419
|
*/
|
|
1313
|
-
declare const useGetResolverAddress: (domain?: string) =>
|
|
1420
|
+
declare const useGetResolverAddress: (domain?: string) => _tanstack_react_query37.UseQueryResult<`0x${string}`, unknown>;
|
|
1314
1421
|
//#endregion
|
|
1315
1422
|
//#region src/hooks/api/vetDomains/useGetAvatarOfAddress.d.ts
|
|
1316
1423
|
declare const getAvatarOfAddressQueryKey: (address?: string) => (string | undefined)[];
|
|
@@ -1320,7 +1427,7 @@ declare const getAvatarOfAddressQueryKey: (address?: string) => (string | undefi
|
|
|
1320
1427
|
* @param address The owner's address
|
|
1321
1428
|
* @returns The avatar URL for the address's primary domain
|
|
1322
1429
|
*/
|
|
1323
|
-
declare const useGetAvatarOfAddress: (address?: string) =>
|
|
1430
|
+
declare const useGetAvatarOfAddress: (address?: string) => _tanstack_react_query37.UseQueryResult<string, Error>;
|
|
1324
1431
|
//#endregion
|
|
1325
1432
|
//#region src/hooks/api/vetDomains/useGetAvatarLegacy.d.ts
|
|
1326
1433
|
/**
|
|
@@ -1337,7 +1444,7 @@ declare const getAvatarLegacyQueryKey: (name: string, networkType: NETWORK_TYPE)
|
|
|
1337
1444
|
* @param name - The VET domain name
|
|
1338
1445
|
* @returns The resolved avatar URL
|
|
1339
1446
|
*/
|
|
1340
|
-
declare const useGetAvatarLegacy: (name: string) =>
|
|
1447
|
+
declare const useGetAvatarLegacy: (name: string) => _tanstack_react_query37.UseQueryResult<string | null, Error>;
|
|
1341
1448
|
//#endregion
|
|
1342
1449
|
//#region src/hooks/api/vetDomains/useUnsetDomain.d.ts
|
|
1343
1450
|
type useUnsetDomainProps = {
|
|
@@ -1376,9 +1483,8 @@ type ExchangeRates = {
|
|
|
1376
1483
|
gbpUsdPrice: number;
|
|
1377
1484
|
};
|
|
1378
1485
|
declare const useTokenPrices: () => {
|
|
1379
|
-
prices:
|
|
1380
|
-
|
|
1381
|
-
};
|
|
1486
|
+
prices: Record<string, number>;
|
|
1487
|
+
priceChanges: Record<string, number>;
|
|
1382
1488
|
exchangeRates: ExchangeRates;
|
|
1383
1489
|
isLoading: boolean;
|
|
1384
1490
|
};
|
|
@@ -1388,6 +1494,7 @@ type TokenWithValue = WalletTokenBalance & {
|
|
|
1388
1494
|
priceUsd: number;
|
|
1389
1495
|
valueUsd: number;
|
|
1390
1496
|
valueInCurrency: number;
|
|
1497
|
+
priceChange24hPct?: number;
|
|
1391
1498
|
};
|
|
1392
1499
|
type UseTokensWithValuesProps = {
|
|
1393
1500
|
address?: string;
|
|
@@ -1399,6 +1506,7 @@ declare const useTokensWithValues: ({
|
|
|
1399
1506
|
priceUsd: number;
|
|
1400
1507
|
valueUsd: number;
|
|
1401
1508
|
valueInCurrency: number;
|
|
1509
|
+
priceChange24hPct: number;
|
|
1402
1510
|
address: string;
|
|
1403
1511
|
symbol: string;
|
|
1404
1512
|
balance: string;
|
|
@@ -1407,6 +1515,7 @@ declare const useTokensWithValues: ({
|
|
|
1407
1515
|
priceUsd: number;
|
|
1408
1516
|
valueUsd: number;
|
|
1409
1517
|
valueInCurrency: number;
|
|
1518
|
+
priceChange24hPct: number;
|
|
1410
1519
|
address: string;
|
|
1411
1520
|
symbol: string;
|
|
1412
1521
|
balance: string;
|
|
@@ -1415,6 +1524,7 @@ declare const useTokensWithValues: ({
|
|
|
1415
1524
|
priceUsd: number;
|
|
1416
1525
|
valueUsd: number;
|
|
1417
1526
|
valueInCurrency: number;
|
|
1527
|
+
priceChange24hPct: number;
|
|
1418
1528
|
address: string;
|
|
1419
1529
|
symbol: string;
|
|
1420
1530
|
balance: string;
|
|
@@ -1431,6 +1541,11 @@ declare const useTotalBalance: ({
|
|
|
1431
1541
|
}: UseTotalBalanceProps) => {
|
|
1432
1542
|
totalBalanceInCurrency: number;
|
|
1433
1543
|
totalBalanceUsd: number;
|
|
1544
|
+
liquidBalanceInCurrency: number;
|
|
1545
|
+
liquidBalanceUsd: number;
|
|
1546
|
+
stakingInCurrency: number;
|
|
1547
|
+
stakingUsd: number;
|
|
1548
|
+
priceChange24hPct: number | undefined;
|
|
1434
1549
|
formattedBalance: string;
|
|
1435
1550
|
isLoading: boolean;
|
|
1436
1551
|
hasAnyBalance: boolean;
|
|
@@ -1446,7 +1561,7 @@ declare const getCurrentAllocationsRoundIdQueryKey: (address: string) => string[
|
|
|
1446
1561
|
* Hook to get the current roundId of allocations voting
|
|
1447
1562
|
* @returns the current roundId of allocations voting
|
|
1448
1563
|
*/
|
|
1449
|
-
declare const useCurrentAllocationsRoundId: () =>
|
|
1564
|
+
declare const useCurrentAllocationsRoundId: () => _tanstack_react_query37.UseQueryResult<string, unknown>;
|
|
1450
1565
|
//#endregion
|
|
1451
1566
|
//#region src/hooks/api/wallet/useCustomTokens.d.ts
|
|
1452
1567
|
declare const useCustomTokens: () => {
|
|
@@ -1459,7 +1574,7 @@ declare const useCustomTokens: () => {
|
|
|
1459
1574
|
//#endregion
|
|
1460
1575
|
//#region src/hooks/api/wallet/useGetB3trBalance.d.ts
|
|
1461
1576
|
declare const getB3trBalanceQueryKey: (address?: string) => (string | undefined)[];
|
|
1462
|
-
declare const useGetB3trBalance: (address?: string) =>
|
|
1577
|
+
declare const useGetB3trBalance: (address?: string) => _tanstack_react_query37.UseQueryResult<{
|
|
1463
1578
|
original: string;
|
|
1464
1579
|
scaled: string;
|
|
1465
1580
|
formatted: string;
|
|
@@ -1468,7 +1583,7 @@ declare const useGetB3trBalance: (address?: string) => _tanstack_react_query8.Us
|
|
|
1468
1583
|
//#region src/hooks/api/wallet/useGetCustomTokenBalances.d.ts
|
|
1469
1584
|
type TokenWithBalance = CustomTokenInfo & TokenBalance;
|
|
1470
1585
|
declare const getCustomTokenBalanceQueryKey: (tokenAddress?: string, address?: string, decimals?: number) => (string | number | undefined)[];
|
|
1471
|
-
declare const useGetCustomTokenBalances: (address?: string) =>
|
|
1586
|
+
declare const useGetCustomTokenBalances: (address?: string) => _tanstack_react_query37.UseQueryResult<{
|
|
1472
1587
|
original: string;
|
|
1473
1588
|
scaled: string;
|
|
1474
1589
|
formatted: string;
|
|
@@ -1481,14 +1596,14 @@ declare const useGetCustomTokenBalances: (address?: string) => _tanstack_react_q
|
|
|
1481
1596
|
//#region src/hooks/api/wallet/useGetCustomTokenInfo.d.ts
|
|
1482
1597
|
declare const getTokenInfo: (tokenAddress: string, networkUrl: string) => Promise<CustomTokenInfo>;
|
|
1483
1598
|
declare const getCustomTokenInfoQueryKey: (tokenAddress: string) => string[];
|
|
1484
|
-
declare const useGetCustomTokenInfo: (tokenAddress: string) =>
|
|
1599
|
+
declare const useGetCustomTokenInfo: (tokenAddress: string) => _tanstack_react_query37.UseQueryResult<CustomTokenInfo, Error>;
|
|
1485
1600
|
//#endregion
|
|
1486
1601
|
//#region src/hooks/api/wallet/useGetErc20Balance.d.ts
|
|
1487
1602
|
declare const getErc20BalanceQueryKey: (tokenAddress: string, address?: string) => (string | undefined)[];
|
|
1488
1603
|
type UseGetErc20BalanceOptions = {
|
|
1489
1604
|
enabled?: boolean;
|
|
1490
1605
|
};
|
|
1491
|
-
declare const useGetErc20Balance: (tokenAddress: string, address?: string, options?: UseGetErc20BalanceOptions) =>
|
|
1606
|
+
declare const useGetErc20Balance: (tokenAddress: string, address?: string, options?: UseGetErc20BalanceOptions) => _tanstack_react_query37.UseQueryResult<{
|
|
1492
1607
|
original: string;
|
|
1493
1608
|
scaled: string;
|
|
1494
1609
|
formatted: string;
|
|
@@ -1505,11 +1620,46 @@ declare const PRICE_FEED_IDS: {
|
|
|
1505
1620
|
type SupportedToken = keyof typeof PRICE_FEED_IDS;
|
|
1506
1621
|
declare const getTokenUsdPrice: (thor: ThorClient, token: SupportedToken, network: NETWORK_TYPE) => Promise<number>;
|
|
1507
1622
|
declare const getTokenUsdPriceQueryKey: (token: SupportedToken) => string[];
|
|
1508
|
-
declare const useGetTokenUsdPrice: (token: SupportedToken) =>
|
|
1623
|
+
declare const useGetTokenUsdPrice: (token: SupportedToken) => _tanstack_react_query37.UseQueryResult<number, Error>;
|
|
1624
|
+
//#endregion
|
|
1625
|
+
//#region src/hooks/api/wallet/useOraclePriceChanges24h.d.ts
|
|
1626
|
+
type PricePoint = {
|
|
1627
|
+
timestamp: number;
|
|
1628
|
+
value: number;
|
|
1629
|
+
};
|
|
1630
|
+
type OracleHistory24h = {
|
|
1631
|
+
/** All emitted ValueUpdate observations per token, ascending by time. */
|
|
1632
|
+
history: Partial<Record<SupportedToken, PricePoint[]>>;
|
|
1633
|
+
/** Current spot value per token (USD). */
|
|
1634
|
+
latest: Partial<Record<SupportedToken, number>>;
|
|
1635
|
+
};
|
|
1636
|
+
type PriceChanges24h = Partial<Record<SupportedToken, number>>;
|
|
1637
|
+
/**
|
|
1638
|
+
* Shared 24h oracle scan: fetches every `ValueUpdate` emitted by
|
|
1639
|
+
* `OracleVechainEnergy` over the last day plus the current spot for each
|
|
1640
|
+
* supported feed. Multiple downstream hooks (`useOraclePriceChanges24h`,
|
|
1641
|
+
* `useTokenPriceHistory24h`, the portfolio chart) all derive from this single
|
|
1642
|
+
* query so we never run the same RPC scan twice in a session.
|
|
1643
|
+
*/
|
|
1644
|
+
declare const useOracleHistory24h: () => _tanstack_react_query37.UseQueryResult<OracleHistory24h, Error>;
|
|
1645
|
+
declare const useOraclePriceChanges24h: () => {
|
|
1646
|
+
data: Partial<Record<"B3TR" | "VET" | "VTHO" | "GBP" | "EUR", number>>;
|
|
1647
|
+
};
|
|
1648
|
+
/** Per-token sparkline points (ascending by timestamp). */
|
|
1649
|
+
declare const useTokenPriceHistory24h: (token?: SupportedToken) => {
|
|
1650
|
+
points: PricePoint[];
|
|
1651
|
+
isLoading: boolean;
|
|
1652
|
+
};
|
|
1653
|
+
//#endregion
|
|
1654
|
+
//#region src/hooks/api/wallet/usePortfolioPriceHistory24h.d.ts
|
|
1655
|
+
declare const usePortfolioPriceHistory24h: (address?: string) => {
|
|
1656
|
+
points: PricePoint[];
|
|
1657
|
+
isLoading: boolean;
|
|
1658
|
+
};
|
|
1509
1659
|
//#endregion
|
|
1510
1660
|
//#region src/hooks/api/wallet/useGetVot3Balance.d.ts
|
|
1511
1661
|
declare const getVot3BalanceQueryKey: (address?: string) => (string | undefined)[];
|
|
1512
|
-
declare const useGetVot3Balance: (address?: string) =>
|
|
1662
|
+
declare const useGetVot3Balance: (address?: string) => _tanstack_react_query37.UseQueryResult<{
|
|
1513
1663
|
original: string;
|
|
1514
1664
|
scaled: string;
|
|
1515
1665
|
formatted: string;
|
|
@@ -1528,7 +1678,7 @@ declare const getIsPersonQueryKey: (user: string, networkType: NETWORK_TYPE) =>
|
|
|
1528
1678
|
* @param user - The user address.
|
|
1529
1679
|
* @returns The isPerson status.
|
|
1530
1680
|
*/
|
|
1531
|
-
declare const useIsPerson: (user?: string | null) =>
|
|
1681
|
+
declare const useIsPerson: (user?: string | null) => _tanstack_react_query37.UseQueryResult<boolean, Error>;
|
|
1532
1682
|
//#endregion
|
|
1533
1683
|
//#region src/hooks/api/wallet/useMostVotedAppsInRound.d.ts
|
|
1534
1684
|
type XApp = {
|
|
@@ -1566,7 +1716,7 @@ declare const useRefreshMetadata: (domain: string, address: string) => {
|
|
|
1566
1716
|
//#endregion
|
|
1567
1717
|
//#region src/hooks/api/wallet/useRoundXApps.d.ts
|
|
1568
1718
|
declare const getRoundXAppsQueryKey: (roundId: string, networkType: NETWORK_TYPE) => unknown[];
|
|
1569
|
-
declare const useRoundXApps: (roundId?: string) =>
|
|
1719
|
+
declare const useRoundXApps: (roundId?: string) => _tanstack_react_query37.UseQueryResult<{
|
|
1570
1720
|
id: string;
|
|
1571
1721
|
teamWalletAddress: `0x${string}`;
|
|
1572
1722
|
name: string;
|
|
@@ -1680,7 +1830,7 @@ type XAppMetadata = {
|
|
|
1680
1830
|
* @returns The metadata of the xApp see {@link XAppMetadata}
|
|
1681
1831
|
*/
|
|
1682
1832
|
declare const getXAppMetadata: (uri: string, networkType: NETWORK_TYPE) => Promise<XAppMetadata | undefined>;
|
|
1683
|
-
declare const useXAppMetadata: (xAppId: string) =>
|
|
1833
|
+
declare const useXAppMetadata: (xAppId: string) => _tanstack_react_query37.UseQueryResult<XAppMetadata | undefined, Error>;
|
|
1684
1834
|
//#endregion
|
|
1685
1835
|
//#region src/hooks/api/wallet/useXAppShares.d.ts
|
|
1686
1836
|
/**
|
|
@@ -1695,7 +1845,7 @@ declare const getXAppsSharesQueryKey: (roundId?: number | string) => (string | n
|
|
|
1695
1845
|
* @returns the shares (% of allocation pool) for the xApps in the round { allocated: number, unallocated: number }
|
|
1696
1846
|
*
|
|
1697
1847
|
*/
|
|
1698
|
-
declare const useXAppsShares: (apps: string[], roundId?: string) =>
|
|
1848
|
+
declare const useXAppsShares: (apps: string[], roundId?: string) => _tanstack_react_query37.UseQueryResult<{
|
|
1699
1849
|
app: string;
|
|
1700
1850
|
share: number;
|
|
1701
1851
|
unallocatedShare: number;
|
|
@@ -1717,7 +1867,7 @@ declare const getIpfsMetadataQueryKey: (networkType: NETWORK_TYPE, ipfsUri?: str
|
|
|
1717
1867
|
* @param ipfsUri - The IPFS URI
|
|
1718
1868
|
* @returns The metadata from IPFS
|
|
1719
1869
|
*/
|
|
1720
|
-
declare const useIpfsMetadata: <T$1>(ipfsUri?: string, parseJson?: boolean) =>
|
|
1870
|
+
declare const useIpfsMetadata: <T$1>(ipfsUri?: string, parseJson?: boolean) => _tanstack_react_query37.UseQueryResult<_tanstack_react_query37.NoInfer<T$1>, Error>;
|
|
1721
1871
|
//#endregion
|
|
1722
1872
|
//#region src/hooks/api/ipfs/useIpfsImage.d.ts
|
|
1723
1873
|
interface IpfsImage {
|
|
@@ -1744,14 +1894,14 @@ declare const getIpfsImageQueryKey: (networkType: NETWORK_TYPE, imageIpfsUri?: n
|
|
|
1744
1894
|
* @param imageIpfsUri - The IPFS URI of the NFT media
|
|
1745
1895
|
* @returns The NFT media
|
|
1746
1896
|
*/
|
|
1747
|
-
declare const useIpfsImage: (imageIpfsUri?: null | string) =>
|
|
1897
|
+
declare const useIpfsImage: (imageIpfsUri?: null | string) => _tanstack_react_query37.UseQueryResult<IpfsImage, Error>;
|
|
1748
1898
|
/**
|
|
1749
1899
|
* Custom hook to fetch a list of IPFS images.
|
|
1750
1900
|
*
|
|
1751
1901
|
* @param imageIpfsUriList - An array of IPFS URIs for the images.
|
|
1752
1902
|
* @returns An array of queries for each IPFS image URI.
|
|
1753
1903
|
*/
|
|
1754
|
-
declare const useIpfsImageList: (imageIpfsUriList: string[]) =>
|
|
1904
|
+
declare const useIpfsImageList: (imageIpfsUriList: string[]) => _tanstack_react_query37.UseQueryResult<IpfsImage, Error>[];
|
|
1755
1905
|
//#endregion
|
|
1756
1906
|
//#region src/hooks/api/ipfs/useIpfsMetadatas.d.ts
|
|
1757
1907
|
/**
|
|
@@ -1759,12 +1909,12 @@ declare const useIpfsImageList: (imageIpfsUriList: string[]) => _tanstack_react_
|
|
|
1759
1909
|
* @param ipfsUris - The IPFS URIs
|
|
1760
1910
|
* @returns The metadata from IPFS for each URI
|
|
1761
1911
|
*/
|
|
1762
|
-
declare const useIpfsMetadatas: <T$1>(ipfsUris: string[], parseJson?: boolean) =>
|
|
1912
|
+
declare const useIpfsMetadatas: <T$1>(ipfsUris: string[], parseJson?: boolean) => _tanstack_react_query37.UseQueryResult<T$1, Error>[];
|
|
1763
1913
|
//#endregion
|
|
1764
1914
|
//#region src/hooks/api/ipfs/useUploadImages.d.ts
|
|
1765
1915
|
declare const imageCompressionOptions: Options;
|
|
1766
1916
|
declare const compressImages: (images: UploadedImage[]) => Promise<File[]>;
|
|
1767
|
-
type Props$
|
|
1917
|
+
type Props$22 = {
|
|
1768
1918
|
compressImages?: boolean;
|
|
1769
1919
|
defaultImages?: UploadedImage[];
|
|
1770
1920
|
};
|
|
@@ -1780,7 +1930,7 @@ type UploadedImage = {
|
|
|
1780
1930
|
declare const useUploadImages: ({
|
|
1781
1931
|
compressImages,
|
|
1782
1932
|
defaultImages
|
|
1783
|
-
}: Props$
|
|
1933
|
+
}: Props$22) => {
|
|
1784
1934
|
uploadedImages: UploadedImage[];
|
|
1785
1935
|
setUploadedImages: react0.Dispatch<react0.SetStateAction<UploadedImage[]>>;
|
|
1786
1936
|
onUpload: (acceptedFiles: File[], keepCurrent?: boolean) => Promise<void>;
|
|
@@ -1789,7 +1939,7 @@ declare const useUploadImages: ({
|
|
|
1789
1939
|
};
|
|
1790
1940
|
//#endregion
|
|
1791
1941
|
//#region src/hooks/api/ipfs/useSingleImageUpload.d.ts
|
|
1792
|
-
type Props$
|
|
1942
|
+
type Props$21 = {
|
|
1793
1943
|
compressImage?: boolean;
|
|
1794
1944
|
defaultImage?: UploadedImage;
|
|
1795
1945
|
};
|
|
@@ -1802,7 +1952,7 @@ type Props$19 = {
|
|
|
1802
1952
|
declare const useSingleImageUpload: ({
|
|
1803
1953
|
compressImage,
|
|
1804
1954
|
defaultImage
|
|
1805
|
-
}: Props$
|
|
1955
|
+
}: Props$21) => {
|
|
1806
1956
|
uploadedImage: UploadedImage | undefined;
|
|
1807
1957
|
setUploadedImage: react0.Dispatch<react0.SetStateAction<UploadedImage | undefined>>;
|
|
1808
1958
|
onUpload: (acceptedFile: File) => Promise<UploadedImage>;
|
|
@@ -1968,6 +2118,166 @@ type UnifiedSwapQuotesResult = {
|
|
|
1968
2118
|
*/
|
|
1969
2119
|
declare const useSwapQuotes: (fromToken: TokenWithValue | null, toToken: TokenWithValue | null, amountIn: string, userAddress: string, slippageTolerance?: number, enabled?: boolean) => UnifiedSwapQuotesResult;
|
|
1970
2120
|
//#endregion
|
|
2121
|
+
//#region src/hooks/api/transferHistory/types.d.ts
|
|
2122
|
+
type TransferDirection = 'sent' | 'received';
|
|
2123
|
+
type TransferEventType = 'VET' | 'FUNGIBLE_TOKEN' | 'NFT';
|
|
2124
|
+
type IndexerTransfer = {
|
|
2125
|
+
id: string;
|
|
2126
|
+
blockId: string;
|
|
2127
|
+
blockNumber: number;
|
|
2128
|
+
blockTimestamp: number;
|
|
2129
|
+
txId: string;
|
|
2130
|
+
from: string;
|
|
2131
|
+
to: string;
|
|
2132
|
+
value: string;
|
|
2133
|
+
tokenAddress?: string;
|
|
2134
|
+
tokenId?: string;
|
|
2135
|
+
topics: string[];
|
|
2136
|
+
eventType: TransferEventType;
|
|
2137
|
+
};
|
|
2138
|
+
type TransferHistoryItem = {
|
|
2139
|
+
id: string;
|
|
2140
|
+
txId: string;
|
|
2141
|
+
blockNumber: number;
|
|
2142
|
+
timestamp: number;
|
|
2143
|
+
direction: TransferDirection;
|
|
2144
|
+
from: string;
|
|
2145
|
+
to: string;
|
|
2146
|
+
tokenAddress: string | null;
|
|
2147
|
+
tokenSymbol: string;
|
|
2148
|
+
tokenDecimals: number;
|
|
2149
|
+
rawValue: string;
|
|
2150
|
+
amount: number;
|
|
2151
|
+
eventType: TransferEventType;
|
|
2152
|
+
};
|
|
2153
|
+
declare const VET_TOKEN_SENTINEL = "0x";
|
|
2154
|
+
declare const VTHO_TOKEN_ADDRESS = "0x0000000000000000000000000000456e65726779";
|
|
2155
|
+
//#endregion
|
|
2156
|
+
//#region src/hooks/api/transferHistory/useTransferHistory.d.ts
|
|
2157
|
+
declare const getTransferHistoryQueryKey: (address?: string, networkType?: string, tokenAddress?: string | null) => (string | undefined)[];
|
|
2158
|
+
type UseTransferHistoryOptions = {
|
|
2159
|
+
tokenAddress?: string | null;
|
|
2160
|
+
enabled?: boolean;
|
|
2161
|
+
};
|
|
2162
|
+
declare const useTransferHistory: (address?: string, {
|
|
2163
|
+
tokenAddress,
|
|
2164
|
+
enabled
|
|
2165
|
+
}?: UseTransferHistoryOptions) => {
|
|
2166
|
+
transfers: TransferHistoryItem[];
|
|
2167
|
+
isLoading: boolean;
|
|
2168
|
+
isFetching: boolean;
|
|
2169
|
+
isFetchingNextPage: boolean;
|
|
2170
|
+
hasNextPage: boolean;
|
|
2171
|
+
fetchNextPage: (options?: _tanstack_react_query37.FetchNextPageOptions) => Promise<_tanstack_react_query37.InfiniteQueryObserverResult<_tanstack_react_query37.InfiniteData<{
|
|
2172
|
+
items: TransferHistoryItem[];
|
|
2173
|
+
hasNext: boolean;
|
|
2174
|
+
}, unknown>, Error>>;
|
|
2175
|
+
isUnsupportedNetwork: boolean;
|
|
2176
|
+
error: Error | null;
|
|
2177
|
+
};
|
|
2178
|
+
//#endregion
|
|
2179
|
+
//#region src/hooks/api/transferHistory/useTokenTransferHistory.d.ts
|
|
2180
|
+
declare const useTokenTransferHistory: (address?: string, tokenAddress?: string | null, options?: {
|
|
2181
|
+
enabled?: boolean;
|
|
2182
|
+
}) => {
|
|
2183
|
+
transfers: TransferHistoryItem[];
|
|
2184
|
+
isLoading: boolean;
|
|
2185
|
+
isFetching: boolean;
|
|
2186
|
+
isFetchingNextPage: boolean;
|
|
2187
|
+
hasNextPage: boolean;
|
|
2188
|
+
fetchNextPage: (options?: _tanstack_query_core0.FetchNextPageOptions) => Promise<_tanstack_query_core0.InfiniteQueryObserverResult<_tanstack_query_core0.InfiniteData<{
|
|
2189
|
+
items: TransferHistoryItem[];
|
|
2190
|
+
hasNext: boolean;
|
|
2191
|
+
}, unknown>, Error>>;
|
|
2192
|
+
isUnsupportedNetwork: boolean;
|
|
2193
|
+
error: Error | null;
|
|
2194
|
+
};
|
|
2195
|
+
//#endregion
|
|
2196
|
+
//#region src/hooks/api/staking/useStargatePositions.d.ts
|
|
2197
|
+
type StargatePosition = {
|
|
2198
|
+
tokenId: string;
|
|
2199
|
+
levelId: number;
|
|
2200
|
+
vetAmountStaked: string;
|
|
2201
|
+
vetAmountFormatted: number;
|
|
2202
|
+
valueUsd: number;
|
|
2203
|
+
valueInCurrency: number;
|
|
2204
|
+
isDelegated: boolean;
|
|
2205
|
+
};
|
|
2206
|
+
type StargatePositionsResult = {
|
|
2207
|
+
positions: StargatePosition[];
|
|
2208
|
+
totalVet: number;
|
|
2209
|
+
totalValueUsd: number;
|
|
2210
|
+
totalValueInCurrency: number;
|
|
2211
|
+
isLoading: boolean;
|
|
2212
|
+
error: unknown;
|
|
2213
|
+
};
|
|
2214
|
+
declare const useStargatePositions: (address?: string) => StargatePositionsResult;
|
|
2215
|
+
//#endregion
|
|
2216
|
+
//#region src/hooks/api/staking/useNavigatorPosition.d.ts
|
|
2217
|
+
type NavigatorPosition = {
|
|
2218
|
+
isNavigator: boolean;
|
|
2219
|
+
isDelegated: boolean;
|
|
2220
|
+
stakedB3TR: number;
|
|
2221
|
+
stakedB3TRRaw: string;
|
|
2222
|
+
delegatedAmount: number;
|
|
2223
|
+
delegatedAmountRaw: string;
|
|
2224
|
+
navigatorAddress?: string;
|
|
2225
|
+
totalB3TR: number;
|
|
2226
|
+
totalValueUsd: number;
|
|
2227
|
+
totalValueInCurrency: number;
|
|
2228
|
+
isLoading: boolean;
|
|
2229
|
+
error: unknown;
|
|
2230
|
+
};
|
|
2231
|
+
declare const useNavigatorPosition: (address?: string) => NavigatorPosition;
|
|
2232
|
+
//#endregion
|
|
2233
|
+
//#region src/hooks/api/staking/useBetterSwapLpPositions.d.ts
|
|
2234
|
+
type LpPositionToken = {
|
|
2235
|
+
address: string;
|
|
2236
|
+
symbol: string;
|
|
2237
|
+
amount: number;
|
|
2238
|
+
};
|
|
2239
|
+
type LpPosition = {
|
|
2240
|
+
pairAddress: string;
|
|
2241
|
+
lpBalance: number;
|
|
2242
|
+
sharePct: number;
|
|
2243
|
+
token0: LpPositionToken;
|
|
2244
|
+
token1: LpPositionToken;
|
|
2245
|
+
valueUsd: number;
|
|
2246
|
+
valueInCurrency: number;
|
|
2247
|
+
};
|
|
2248
|
+
declare const useBetterSwapLpPositions: (address?: string) => {
|
|
2249
|
+
positions: LpPosition[];
|
|
2250
|
+
totalValueUsd: number;
|
|
2251
|
+
totalValueInCurrency: number;
|
|
2252
|
+
isLoading: boolean;
|
|
2253
|
+
error: Error | null;
|
|
2254
|
+
};
|
|
2255
|
+
//#endregion
|
|
2256
|
+
//#region src/hooks/api/staking/useJuicyPosition.d.ts
|
|
2257
|
+
type JuicyAssetPosition = {
|
|
2258
|
+
asset: string;
|
|
2259
|
+
symbol: string;
|
|
2260
|
+
decimals: number;
|
|
2261
|
+
amount: number;
|
|
2262
|
+
valueUsd: number;
|
|
2263
|
+
valueInCurrency: number;
|
|
2264
|
+
};
|
|
2265
|
+
type JuicyPositionResult = {
|
|
2266
|
+
supplied: JuicyAssetPosition[];
|
|
2267
|
+
borrowed: JuicyAssetPosition[];
|
|
2268
|
+
totalSuppliedUsd: number;
|
|
2269
|
+
totalSuppliedInCurrency: number;
|
|
2270
|
+
totalBorrowedUsd: number;
|
|
2271
|
+
totalBorrowedInCurrency: number;
|
|
2272
|
+
healthFactor: number | null;
|
|
2273
|
+
netValueUsd: number;
|
|
2274
|
+
netValueInCurrency: number;
|
|
2275
|
+
hasPosition: boolean;
|
|
2276
|
+
isLoading: boolean;
|
|
2277
|
+
error: unknown;
|
|
2278
|
+
};
|
|
2279
|
+
declare const useJuicyPosition: (address?: string) => JuicyPositionResult;
|
|
2280
|
+
//#endregion
|
|
1971
2281
|
//#region src/hooks/modals/useConnectModal.d.ts
|
|
1972
2282
|
declare const useConnectModal: () => {
|
|
1973
2283
|
open: (initialContent?: ConnectModalContentsTypes) => void;
|
|
@@ -2132,10 +2442,14 @@ declare const ReceiveModalProvider: ({
|
|
|
2132
2442
|
//#region src/hooks/modals/useLoginModalContent.d.ts
|
|
2133
2443
|
type LoginModalContentConfig = {
|
|
2134
2444
|
showGoogleLogin: boolean;
|
|
2445
|
+
showAppleLogin: boolean;
|
|
2135
2446
|
showEmailLogin: boolean;
|
|
2136
2447
|
showPasskey: boolean;
|
|
2137
2448
|
showVeChainLogin: boolean;
|
|
2138
2449
|
showDappKit: boolean;
|
|
2450
|
+
showVeWorld: boolean;
|
|
2451
|
+
showSync2: boolean;
|
|
2452
|
+
showWalletConnect: boolean;
|
|
2139
2453
|
showEcosystem: boolean;
|
|
2140
2454
|
showMoreLogin: boolean;
|
|
2141
2455
|
showGithubLogin: boolean;
|
|
@@ -2267,6 +2581,22 @@ declare const useLoginWithVeChain: () => {
|
|
|
2267
2581
|
login: () => Promise<void>;
|
|
2268
2582
|
};
|
|
2269
2583
|
//#endregion
|
|
2584
|
+
//#region src/hooks/login/useConnectWithDappKitSource.d.ts
|
|
2585
|
+
type SetCurrentContent = React.Dispatch<React.SetStateAction<ConnectModalContentsTypes>>;
|
|
2586
|
+
/**
|
|
2587
|
+
* Drives a dapp-kit wallet connection (setSource + connect) while reflecting
|
|
2588
|
+
* progress in the ConnectModal's local sub-content state (loading/error).
|
|
2589
|
+
*
|
|
2590
|
+
* Uses the legacy `connect()` API rather than `connectV2()` because:
|
|
2591
|
+
* - WalletConnect's signer throws "not implemented" for V2.
|
|
2592
|
+
* - The VeWorld desktop extension also rejects V2 ("Attempt failed").
|
|
2593
|
+
* V2 is only reliable inside the VeWorld mobile in-app browser, which is
|
|
2594
|
+
* handled separately in ModalProvider.
|
|
2595
|
+
*/
|
|
2596
|
+
declare const useConnectWithDappKitSource: (source: WalletSource, setCurrentContent: SetCurrentContent) => {
|
|
2597
|
+
connect: () => Promise<void>;
|
|
2598
|
+
};
|
|
2599
|
+
//#endregion
|
|
2270
2600
|
//#region src/components/AccountModal/Contents/Ecosystem/Components/CategoryLabel.d.ts
|
|
2271
2601
|
type AllowedCategories = 'defi' | 'games' | 'collectibles' | 'marketplaces' | 'utilities' | 'vebetter';
|
|
2272
2602
|
//#endregion
|
|
@@ -2313,7 +2643,7 @@ declare const fetchAppHubApps: () => Promise<AppHubApp[]>;
|
|
|
2313
2643
|
* );
|
|
2314
2644
|
* ```
|
|
2315
2645
|
*/
|
|
2316
|
-
declare const useAppHubApps: () =>
|
|
2646
|
+
declare const useAppHubApps: () => _tanstack_react_query37.UseQueryResult<AppHubApp[], Error>;
|
|
2317
2647
|
//#endregion
|
|
2318
2648
|
//#region src/utils/constants.d.ts
|
|
2319
2649
|
/** Tokens that cannot be swapped or transferred (e.g. governance voting tokens) */
|
|
@@ -2668,7 +2998,7 @@ declare const useCallClause: <TAbi extends Abi, TMethod extends ExtractAbiFuncti
|
|
|
2668
2998
|
method: TMethod;
|
|
2669
2999
|
args: AbiParametersToPrimitiveTypes<ExtractViewFunction<TAbi, TMethod>["inputs"], "inputs">;
|
|
2670
3000
|
queryOptions?: Omit<UseQueryOptions<ViewFunctionResult<TAbi, TMethod>, unknown, TData, ReturnType<typeof getCallClauseQueryKeyWithArgs<TAbi, TMethod>>>, "queryKey" | "queryFn">;
|
|
2671
|
-
}) =>
|
|
3001
|
+
}) => _tanstack_react_query37.UseQueryResult<_tanstack_react_query37.NoInfer<TData>, unknown>;
|
|
2672
3002
|
declare const useMultipleClausesCall: <contracts extends readonly ContractFunctionParameters[], allowFailure extends boolean = false>({
|
|
2673
3003
|
thor,
|
|
2674
3004
|
calls,
|
|
@@ -2679,7 +3009,7 @@ declare const useMultipleClausesCall: <contracts extends readonly ContractFuncti
|
|
|
2679
3009
|
calls: MultipleClausesCallParameters<contracts, allowFailure>;
|
|
2680
3010
|
queryKey: string[];
|
|
2681
3011
|
enabled?: boolean;
|
|
2682
|
-
}) =>
|
|
3012
|
+
}) => _tanstack_react_query37.UseQueryResult<_tanstack_react_query37.NoInfer<MultipleClausesCallReturnType<contracts, false>>, Error>;
|
|
2683
3013
|
//#endregion
|
|
2684
3014
|
//#region src/hooks/utils/useCurrency.d.ts
|
|
2685
3015
|
/**
|
|
@@ -2803,7 +3133,7 @@ declare const useEvents: <T$1 extends Abi, K extends ContractEventName<T$1>, R>(
|
|
|
2803
3133
|
filterParams,
|
|
2804
3134
|
mapResponse,
|
|
2805
3135
|
nodeUrl
|
|
2806
|
-
}: UseEventsParams<T$1, K, R>) =>
|
|
3136
|
+
}: UseEventsParams<T$1, K, R>) => _tanstack_react_query37.UseQueryResult<R[], Error>;
|
|
2807
3137
|
//#endregion
|
|
2808
3138
|
//#region src/hooks/utils/useBuildClauses.d.ts
|
|
2809
3139
|
interface BuildClausesParams {
|
|
@@ -2955,7 +3285,7 @@ declare const useGenericDelegatorFeeEstimation: ({
|
|
|
2955
3285
|
tokens,
|
|
2956
3286
|
sendingAmount,
|
|
2957
3287
|
sendingTokenSymbol
|
|
2958
|
-
}: useGenericDelegatorFeeEstimationParams) =>
|
|
3288
|
+
}: useGenericDelegatorFeeEstimationParams) => _tanstack_react_query37.UseQueryResult<EstimationResponse & {
|
|
2959
3289
|
usedToken: string;
|
|
2960
3290
|
}, Error>;
|
|
2961
3291
|
//#endregion
|
|
@@ -2969,7 +3299,7 @@ declare const useEstimateAllTokens: ({
|
|
|
2969
3299
|
clauses,
|
|
2970
3300
|
tokens,
|
|
2971
3301
|
enabled
|
|
2972
|
-
}: UseEstimateAllTokensParams) =>
|
|
3302
|
+
}: UseEstimateAllTokensParams) => _tanstack_react_query37.UseQueryResult<Record<GasTokenType, {
|
|
2973
3303
|
cost: number;
|
|
2974
3304
|
loading: boolean;
|
|
2975
3305
|
error?: string;
|
|
@@ -2986,7 +3316,7 @@ declare const getAccountBalanceQueryKey: (address?: string) => (string | undefin
|
|
|
2986
3316
|
* @param address The address of the account to get the balance for
|
|
2987
3317
|
* @returns The account balance
|
|
2988
3318
|
*/
|
|
2989
|
-
declare const useAccountBalance: (address?: string) =>
|
|
3319
|
+
declare const useAccountBalance: (address?: string) => _tanstack_react_query37.UseQueryResult<{
|
|
2990
3320
|
balance: string;
|
|
2991
3321
|
energy: string;
|
|
2992
3322
|
}, Error>;
|
|
@@ -2999,7 +3329,7 @@ declare const getAccountImplementationAddressQueryKey: (version?: number, networ
|
|
|
2999
3329
|
* @param version - The version of the smart account implementation
|
|
3000
3330
|
* @returns The address of the smart account implementation
|
|
3001
3331
|
*/
|
|
3002
|
-
declare const useAccountImplementationAddress: (version?: number) =>
|
|
3332
|
+
declare const useAccountImplementationAddress: (version?: number) => _tanstack_react_query37.UseQueryResult<string, Error>;
|
|
3003
3333
|
//#endregion
|
|
3004
3334
|
//#region src/hooks/thor/smartAccounts/useCurrentAccountImplementationVersion.d.ts
|
|
3005
3335
|
declare const getCurrentAccountImplementationVersion: (thor: ThorClient, networkType?: NETWORK_TYPE) => Promise<number>;
|
|
@@ -3008,7 +3338,7 @@ declare const getCurrentAccountImplementationVersionQueryKey: (networkType?: NET
|
|
|
3008
3338
|
* Get the current account implementation version used by the smart account factory
|
|
3009
3339
|
* @returns The current account implementation version
|
|
3010
3340
|
*/
|
|
3011
|
-
declare const useCurrentAccountImplementationVersion: () =>
|
|
3341
|
+
declare const useCurrentAccountImplementationVersion: () => _tanstack_react_query37.UseQueryResult<number, Error>;
|
|
3012
3342
|
//#endregion
|
|
3013
3343
|
//#region src/hooks/thor/smartAccounts/useGetAccountAddress.d.ts
|
|
3014
3344
|
declare const getAccountAddress: (thor: ThorClient, ownerAddress?: string, networkType?: NETWORK_TYPE) => Promise<string>;
|
|
@@ -3018,7 +3348,7 @@ declare const getAccountAddressQueryKey: (ownerAddress?: string, networkType?: N
|
|
|
3018
3348
|
* @param ownerAddress - The address of the owner of the smart account
|
|
3019
3349
|
* @returns The address of the smart account
|
|
3020
3350
|
*/
|
|
3021
|
-
declare const useGetAccountAddress: (ownerAddress?: string) =>
|
|
3351
|
+
declare const useGetAccountAddress: (ownerAddress?: string) => _tanstack_react_query37.UseQueryResult<string, Error>;
|
|
3022
3352
|
//#endregion
|
|
3023
3353
|
//#region src/hooks/thor/smartAccounts/useGetAccountVersion.d.ts
|
|
3024
3354
|
declare const getAccountVersionQueryKey: (accountAddress: string, ownerAddress: string, networkType: NETWORK_TYPE) => unknown[];
|
|
@@ -3028,7 +3358,7 @@ declare const getAccountVersionQueryKey: (accountAddress: string, ownerAddress:
|
|
|
3028
3358
|
* @param ownerAddress - The address of the owner of the smart account
|
|
3029
3359
|
* @returns The version of the smart account
|
|
3030
3360
|
*/
|
|
3031
|
-
declare const useGetAccountVersion: (accountAddress: string, ownerAddress: string) =>
|
|
3361
|
+
declare const useGetAccountVersion: (accountAddress: string, ownerAddress: string) => _tanstack_react_query37.UseQueryResult<{
|
|
3032
3362
|
version: number;
|
|
3033
3363
|
isDeployed: boolean;
|
|
3034
3364
|
}, unknown>;
|
|
@@ -3041,7 +3371,7 @@ declare const getHasV1SmartAccountQueryKey: (ownerAddress?: string, networkType?
|
|
|
3041
3371
|
* @param ownerAddress - The address of the owner of the smart account
|
|
3042
3372
|
* @returns True if the smart account has a v1 smart account, false otherwise
|
|
3043
3373
|
*/
|
|
3044
|
-
declare const useHasV1SmartAccount: (ownerAddress?: string) =>
|
|
3374
|
+
declare const useHasV1SmartAccount: (ownerAddress?: string) => _tanstack_react_query37.UseQueryResult<boolean, Error>;
|
|
3045
3375
|
//#endregion
|
|
3046
3376
|
//#region src/hooks/thor/smartAccounts/useIsSmartAccountDeployed.d.ts
|
|
3047
3377
|
declare const getIsDeployed: (thor: ThorClient, accountAddress?: string) => Promise<boolean>;
|
|
@@ -3050,7 +3380,7 @@ declare const getIsDeployedQueryKey: (contractAddress?: string) => (string | und
|
|
|
3050
3380
|
* Check if a smart account is deployed
|
|
3051
3381
|
* @returns True if the smart account is deployed, false otherwise
|
|
3052
3382
|
*/
|
|
3053
|
-
declare const useIsSmartAccountDeployed: (accountAddress?: string) =>
|
|
3383
|
+
declare const useIsSmartAccountDeployed: (accountAddress?: string) => _tanstack_react_query37.UseQueryResult<boolean, Error>;
|
|
3054
3384
|
//#endregion
|
|
3055
3385
|
//#region src/hooks/thor/smartAccounts/useRefreshFactoryQueries.d.ts
|
|
3056
3386
|
/**
|
|
@@ -3083,7 +3413,7 @@ declare const getSmartAccount: (thor: ThorClient, network: NETWORK_TYPE, ownerAd
|
|
|
3083
3413
|
isDeployed: boolean;
|
|
3084
3414
|
}>;
|
|
3085
3415
|
declare const getSmartAccountQueryKey: (ownerAddress?: string) => (string | undefined)[];
|
|
3086
|
-
declare const useSmartAccount: (ownerAddress?: string) =>
|
|
3416
|
+
declare const useSmartAccount: (ownerAddress?: string) => _tanstack_react_query37.UseQueryResult<{
|
|
3087
3417
|
address: undefined;
|
|
3088
3418
|
isDeployed?: undefined;
|
|
3089
3419
|
} | {
|
|
@@ -3101,7 +3431,7 @@ declare const getUpgradeRequiredQueryKey: (accountAddress: string, ownerAddress:
|
|
|
3101
3431
|
* @param targetVersion - The version of the smart account to check for
|
|
3102
3432
|
* @returns True if the smart account needs an upgrade, false otherwise
|
|
3103
3433
|
*/
|
|
3104
|
-
declare const useUpgradeRequired: (accountAddress: string, ownerAddress: string, targetVersion: number) =>
|
|
3434
|
+
declare const useUpgradeRequired: (accountAddress: string, ownerAddress: string, targetVersion: number) => _tanstack_react_query37.UseQueryResult<boolean, Error>;
|
|
3105
3435
|
//#endregion
|
|
3106
3436
|
//#region src/hooks/thor/smartAccounts/useUpgradeRequiredForAccount.d.ts
|
|
3107
3437
|
declare const getUpgradeRequiredForAccount: (thor: ThorClient, contractAddress: string, targetVersion: number, networkType: NETWORK_TYPE) => Promise<boolean>;
|
|
@@ -3112,7 +3442,7 @@ declare const getUpgradeRequiredForAccountQueryKey: (contractAddress: string, ta
|
|
|
3112
3442
|
* @param targetVersion - The target version of the smart account
|
|
3113
3443
|
* @returns True if the smart account needs an upgrade, false otherwise
|
|
3114
3444
|
*/
|
|
3115
|
-
declare const useUpgradeRequiredForAccount: (contractAddress: string, targetVersion: number) =>
|
|
3445
|
+
declare const useUpgradeRequiredForAccount: (contractAddress: string, targetVersion: number) => _tanstack_react_query37.UseQueryResult<boolean, Error>;
|
|
3116
3446
|
//#endregion
|
|
3117
3447
|
//#region src/hooks/thor/smartAccounts/useUpgradeSmartAccount.d.ts
|
|
3118
3448
|
type UseUpgradeSmartAccountVersionProps = {
|
|
@@ -3137,7 +3467,7 @@ declare const currentBlockQueryKey: () => string[];
|
|
|
3137
3467
|
* Fetches the current block from the blockchain. The block is refetched every 10 seconds.
|
|
3138
3468
|
* @returns the current block
|
|
3139
3469
|
*/
|
|
3140
|
-
declare const useCurrentBlock: () =>
|
|
3470
|
+
declare const useCurrentBlock: () => _tanstack_react_query37.UseQueryResult<_vechain_sdk_network0.ExpandedBlockDetail, Error>;
|
|
3141
3471
|
//#endregion
|
|
3142
3472
|
//#region src/hooks/thor/blocks/useGetChainId.d.ts
|
|
3143
3473
|
declare const getChainId: (thor: ThorClient) => Promise<string>;
|
|
@@ -3146,7 +3476,7 @@ declare const getChainIdQueryKey: () => string[];
|
|
|
3146
3476
|
* Get the chain id
|
|
3147
3477
|
* @returns The chain id
|
|
3148
3478
|
*/
|
|
3149
|
-
declare const useGetChainId: () =>
|
|
3479
|
+
declare const useGetChainId: () => _tanstack_react_query37.UseQueryResult<string, Error>;
|
|
3150
3480
|
//#endregion
|
|
3151
3481
|
//#region src/hooks/thor/logs/logUtils.d.ts
|
|
3152
3482
|
/**
|
|
@@ -3401,7 +3731,7 @@ declare const txReceiptQueryKey: (txId: string) => string[];
|
|
|
3401
3731
|
* @param blockTimeout Optional timeout in milliseconds to stop polling for receipt
|
|
3402
3732
|
* @returns Query result containing the transaction receipt
|
|
3403
3733
|
*/
|
|
3404
|
-
declare const useTxReceipt: (txId: string, blockTimeout?: number) =>
|
|
3734
|
+
declare const useTxReceipt: (txId: string, blockTimeout?: number) => _tanstack_react_query37.UseQueryResult<_vechain_sdk_network0.TransactionReceipt, Error>;
|
|
3405
3735
|
//#endregion
|
|
3406
3736
|
//#region src/hooks/thor/transactions/useGasEstimate.d.ts
|
|
3407
3737
|
declare const useGasEstimate: (thor: ThorClient, clauses: TransactionClause[], caller: string, options?: {
|
|
@@ -3462,7 +3792,7 @@ declare const SendTokenSummaryContent: ({
|
|
|
3462
3792
|
}: SendTokenSummaryContentProps) => react_jsx_runtime1.JSX.Element;
|
|
3463
3793
|
//#endregion
|
|
3464
3794
|
//#region src/components/AccountModal/Contents/SendToken/SelectTokenContent.d.ts
|
|
3465
|
-
type Props$
|
|
3795
|
+
type Props$20 = {
|
|
3466
3796
|
setCurrentContent: React.Dispatch<React.SetStateAction<AccountModalContentTypes>>;
|
|
3467
3797
|
onSelectToken: (token: TokenWithValue) => void;
|
|
3468
3798
|
onBack: () => void;
|
|
@@ -3480,27 +3810,31 @@ declare const SelectTokenContent: ({
|
|
|
3480
3810
|
onBack,
|
|
3481
3811
|
showAllTokens,
|
|
3482
3812
|
excludedTokenSymbols
|
|
3483
|
-
}: Props$
|
|
3813
|
+
}: Props$20) => react_jsx_runtime1.JSX.Element;
|
|
3484
3814
|
//#endregion
|
|
3485
3815
|
//#region src/components/AccountModal/Contents/Receive/ReceiveTokenContent.d.ts
|
|
3486
|
-
type
|
|
3816
|
+
type ReceiveTokenContentProps = {
|
|
3487
3817
|
setCurrentContent: React.Dispatch<React.SetStateAction<AccountModalContentTypes>>;
|
|
3818
|
+
onBack?: () => void;
|
|
3488
3819
|
};
|
|
3489
3820
|
declare const ReceiveTokenContent: ({
|
|
3490
|
-
setCurrentContent
|
|
3491
|
-
|
|
3821
|
+
setCurrentContent,
|
|
3822
|
+
onBack
|
|
3823
|
+
}: ReceiveTokenContentProps) => react_jsx_runtime1.JSX.Element;
|
|
3492
3824
|
//#endregion
|
|
3493
3825
|
//#region src/components/AccountModal/Contents/Swap/SwapTokenContent.d.ts
|
|
3494
|
-
type
|
|
3826
|
+
type SwapTokenContentProps = {
|
|
3495
3827
|
setCurrentContent: React$1.Dispatch<React$1.SetStateAction<AccountModalContentTypes>>;
|
|
3496
3828
|
fromTokenAddress?: string;
|
|
3497
3829
|
toTokenAddress?: string;
|
|
3830
|
+
onBack?: () => void;
|
|
3498
3831
|
};
|
|
3499
3832
|
declare const SwapTokenContent: ({
|
|
3500
3833
|
setCurrentContent,
|
|
3501
3834
|
fromTokenAddress,
|
|
3502
|
-
toTokenAddress
|
|
3503
|
-
|
|
3835
|
+
toTokenAddress,
|
|
3836
|
+
onBack
|
|
3837
|
+
}: SwapTokenContentProps) => react_jsx_runtime1.JSX.Element;
|
|
3504
3838
|
//#endregion
|
|
3505
3839
|
//#region src/components/AccountModal/Contents/ChooseName/ChooseNameContent.d.ts
|
|
3506
3840
|
type ChooseNameContentProps = {
|
|
@@ -3626,12 +3960,12 @@ declare const ManageCustomTokenContent: ({
|
|
|
3626
3960
|
}: ManageCustomTokenContentProps) => react_jsx_runtime1.JSX.Element;
|
|
3627
3961
|
//#endregion
|
|
3628
3962
|
//#region src/components/AccountModal/Contents/Bridge/BridgeContent.d.ts
|
|
3629
|
-
type Props$
|
|
3963
|
+
type Props$19 = {
|
|
3630
3964
|
setCurrentContent: React.Dispatch<React.SetStateAction<AccountModalContentTypes>>;
|
|
3631
3965
|
};
|
|
3632
3966
|
declare const BridgeContent: ({
|
|
3633
3967
|
setCurrentContent
|
|
3634
|
-
}: Props$
|
|
3968
|
+
}: Props$19) => react_jsx_runtime1.JSX.Element;
|
|
3635
3969
|
//#endregion
|
|
3636
3970
|
//#region src/components/AccountModal/Contents/KitSettings/ChangeCurrencyContent.d.ts
|
|
3637
3971
|
type ChangeCurrencyContentProps = {
|
|
@@ -3642,20 +3976,20 @@ declare const ChangeCurrencyContent: ({
|
|
|
3642
3976
|
}: ChangeCurrencyContentProps) => react_jsx_runtime1.JSX.Element;
|
|
3643
3977
|
//#endregion
|
|
3644
3978
|
//#region src/components/AccountModal/Contents/KitSettings/LanguageSettingsContent.d.ts
|
|
3645
|
-
type Props$
|
|
3979
|
+
type Props$18 = {
|
|
3646
3980
|
setCurrentContent: React.Dispatch<React.SetStateAction<AccountModalContentTypes>>;
|
|
3647
3981
|
};
|
|
3648
3982
|
declare const LanguageSettingsContent: ({
|
|
3649
3983
|
setCurrentContent
|
|
3650
|
-
}: Props$
|
|
3984
|
+
}: Props$18) => react_jsx_runtime1.JSX.Element;
|
|
3651
3985
|
//#endregion
|
|
3652
3986
|
//#region src/components/AccountModal/Contents/KitSettings/GasTokenSettingsContent.d.ts
|
|
3653
|
-
type Props$
|
|
3987
|
+
type Props$17 = {
|
|
3654
3988
|
setCurrentContent: React.Dispatch<React.SetStateAction<AccountModalContentTypes>>;
|
|
3655
3989
|
};
|
|
3656
3990
|
declare const GasTokenSettingsContent: ({
|
|
3657
3991
|
setCurrentContent
|
|
3658
|
-
}: Props$
|
|
3992
|
+
}: Props$17) => react_jsx_runtime1.JSX.Element;
|
|
3659
3993
|
//#endregion
|
|
3660
3994
|
//#region src/components/AccountModal/Contents/KitSettings/SettingsContent.d.ts
|
|
3661
3995
|
type SettingsContentProps = {
|
|
@@ -3692,7 +4026,7 @@ declare const DisconnectConfirmContent: ({
|
|
|
3692
4026
|
}: DisconnectConfirmContentProps) => react_jsx_runtime1.JSX.Element;
|
|
3693
4027
|
//#endregion
|
|
3694
4028
|
//#region src/components/AccountModal/Contents/SelectWallet/SelectWalletContent.d.ts
|
|
3695
|
-
type Props$
|
|
4029
|
+
type Props$16 = {
|
|
3696
4030
|
setCurrentContent: React.Dispatch<React.SetStateAction<AccountModalContentTypes>>;
|
|
3697
4031
|
onClose: () => void;
|
|
3698
4032
|
returnTo?: 'main' | 'profile';
|
|
@@ -3702,7 +4036,7 @@ declare const SelectWalletContent: ({
|
|
|
3702
4036
|
setCurrentContent,
|
|
3703
4037
|
returnTo,
|
|
3704
4038
|
onLogoutSuccess: _onLogoutSuccess
|
|
3705
|
-
}: Props$
|
|
4039
|
+
}: Props$16) => react_jsx_runtime1.JSX.Element;
|
|
3706
4040
|
//#endregion
|
|
3707
4041
|
//#region src/components/AccountModal/Contents/SelectWallet/RemoveWalletConfirmContent.d.ts
|
|
3708
4042
|
type RemoveWalletConfirmContentProps = {
|
|
@@ -3720,6 +4054,43 @@ declare const RemoveWalletConfirmContent: ({
|
|
|
3720
4054
|
onClose
|
|
3721
4055
|
}: RemoveWalletConfirmContentProps) => react_jsx_runtime1.JSX.Element;
|
|
3722
4056
|
//#endregion
|
|
4057
|
+
//#region src/components/AccountModal/Contents/TokenDetail/TokenDetailContent.d.ts
|
|
4058
|
+
type TokenDetailContentProps = {
|
|
4059
|
+
setCurrentContent: React.Dispatch<React.SetStateAction<AccountModalContentTypes>>;
|
|
4060
|
+
token: TokenWithValue;
|
|
4061
|
+
};
|
|
4062
|
+
declare const TokenDetailContent: ({
|
|
4063
|
+
setCurrentContent,
|
|
4064
|
+
token
|
|
4065
|
+
}: TokenDetailContentProps) => react_jsx_runtime1.JSX.Element;
|
|
4066
|
+
//#endregion
|
|
4067
|
+
//#region src/components/AccountModal/Contents/TransactionHistory/TransactionHistoryContent.d.ts
|
|
4068
|
+
type TransactionHistoryContentProps = {
|
|
4069
|
+
setCurrentContent: React.Dispatch<React.SetStateAction<AccountModalContentTypes>>;
|
|
4070
|
+
tokenFilter?: {
|
|
4071
|
+
address: string;
|
|
4072
|
+
symbol: string;
|
|
4073
|
+
};
|
|
4074
|
+
onBack?: () => void;
|
|
4075
|
+
};
|
|
4076
|
+
declare const TransactionHistoryContent: ({
|
|
4077
|
+
setCurrentContent,
|
|
4078
|
+
tokenFilter,
|
|
4079
|
+
onBack
|
|
4080
|
+
}: TransactionHistoryContentProps) => react_jsx_runtime1.JSX.Element;
|
|
4081
|
+
//#endregion
|
|
4082
|
+
//#region src/components/AccountModal/Contents/TransactionHistory/TransactionDetailContent.d.ts
|
|
4083
|
+
type TransactionDetailContentProps = {
|
|
4084
|
+
setCurrentContent: React.Dispatch<React.SetStateAction<AccountModalContentTypes>>;
|
|
4085
|
+
item: TransferHistoryItem;
|
|
4086
|
+
onBack?: () => void;
|
|
4087
|
+
};
|
|
4088
|
+
declare const TransactionDetailContent: ({
|
|
4089
|
+
setCurrentContent,
|
|
4090
|
+
item,
|
|
4091
|
+
onBack
|
|
4092
|
+
}: TransactionDetailContentProps) => react_jsx_runtime1.JSX.Element;
|
|
4093
|
+
//#endregion
|
|
3723
4094
|
//#region src/components/AccountModal/Contents/Ecosystem/Components/CategoryFilterSection.d.ts
|
|
3724
4095
|
type CategoryFilter = string | null;
|
|
3725
4096
|
//#endregion
|
|
@@ -3782,7 +4153,11 @@ type AccountModalContentTypes = 'main' | 'settings' | 'profile' | {
|
|
|
3782
4153
|
setCurrentContent: React.Dispatch<React.SetStateAction<AccountModalContentTypes>>;
|
|
3783
4154
|
fromTokenAddress?: string;
|
|
3784
4155
|
toTokenAddress?: string;
|
|
4156
|
+
onBack?: () => void;
|
|
3785
4157
|
};
|
|
4158
|
+
} | {
|
|
4159
|
+
type: 'receive-token';
|
|
4160
|
+
props: ReceiveTokenContentProps;
|
|
3786
4161
|
} | {
|
|
3787
4162
|
type: 'account-customization';
|
|
3788
4163
|
props: AccountCustomizationContentProps;
|
|
@@ -3810,6 +4185,15 @@ type AccountModalContentTypes = 'main' | 'settings' | 'profile' | {
|
|
|
3810
4185
|
} | {
|
|
3811
4186
|
type: 'send-token-summary';
|
|
3812
4187
|
props: SendTokenSummaryContentProps;
|
|
4188
|
+
} | {
|
|
4189
|
+
type: 'token-detail';
|
|
4190
|
+
props: TokenDetailContentProps;
|
|
4191
|
+
} | {
|
|
4192
|
+
type: 'transaction-history';
|
|
4193
|
+
props: TransactionHistoryContentProps;
|
|
4194
|
+
} | {
|
|
4195
|
+
type: 'transaction-detail';
|
|
4196
|
+
props: TransactionDetailContentProps;
|
|
3813
4197
|
} | {
|
|
3814
4198
|
type: 'choose-name';
|
|
3815
4199
|
props: ChooseNameContentProps;
|
|
@@ -3837,7 +4221,7 @@ type AccountModalContentTypes = 'main' | 'settings' | 'profile' | {
|
|
|
3837
4221
|
};
|
|
3838
4222
|
//#endregion
|
|
3839
4223
|
//#region src/components/AccountModal/AccountModal.d.ts
|
|
3840
|
-
type Props$
|
|
4224
|
+
type Props$15 = {
|
|
3841
4225
|
isOpen: boolean;
|
|
3842
4226
|
onClose: () => void;
|
|
3843
4227
|
initialContent?: AccountModalContentTypes;
|
|
@@ -3846,7 +4230,7 @@ declare const AccountModal: ({
|
|
|
3846
4230
|
isOpen,
|
|
3847
4231
|
onClose,
|
|
3848
4232
|
initialContent
|
|
3849
|
-
}: Props$
|
|
4233
|
+
}: Props$15) => react_jsx_runtime1.JSX.Element;
|
|
3850
4234
|
//#endregion
|
|
3851
4235
|
//#region src/components/AccountModal/Components/AccountDetailsButton.d.ts
|
|
3852
4236
|
interface AccountDetailsButtonProps {
|
|
@@ -3913,7 +4297,7 @@ declare const ActionButton: ({
|
|
|
3913
4297
|
}: ActionButtonProps) => react_jsx_runtime1.JSX.Element;
|
|
3914
4298
|
//#endregion
|
|
3915
4299
|
//#region src/components/AccountModal/Components/AccountSelector.d.ts
|
|
3916
|
-
type Props$
|
|
4300
|
+
type Props$14 = {
|
|
3917
4301
|
wallet: Wallet;
|
|
3918
4302
|
setCurrentContent: React.Dispatch<React.SetStateAction<AccountModalContentTypes>>;
|
|
3919
4303
|
size?: string;
|
|
@@ -3930,7 +4314,7 @@ declare const AccountSelector: ({
|
|
|
3930
4314
|
onClose,
|
|
3931
4315
|
mt,
|
|
3932
4316
|
style
|
|
3933
|
-
}: Props$
|
|
4317
|
+
}: Props$14) => react_jsx_runtime1.JSX.Element;
|
|
3934
4318
|
//#endregion
|
|
3935
4319
|
//#region src/components/AccountModal/Components/BalanceSection.d.ts
|
|
3936
4320
|
declare const BalanceSection: ({
|
|
@@ -3944,14 +4328,14 @@ declare const BalanceSection: ({
|
|
|
3944
4328
|
}) => react_jsx_runtime1.JSX.Element;
|
|
3945
4329
|
//#endregion
|
|
3946
4330
|
//#region src/components/AccountModal/Components/QuickActionsSection.d.ts
|
|
3947
|
-
type Props$
|
|
4331
|
+
type Props$13 = {
|
|
3948
4332
|
mt?: number;
|
|
3949
4333
|
setCurrentContent: React.Dispatch<React.SetStateAction<AccountModalContentTypes>>;
|
|
3950
4334
|
};
|
|
3951
4335
|
declare const QuickActionsSection: ({
|
|
3952
4336
|
mt,
|
|
3953
4337
|
setCurrentContent
|
|
3954
|
-
}: Props$
|
|
4338
|
+
}: Props$13) => react_jsx_runtime1.JSX.Element | null;
|
|
3955
4339
|
//#endregion
|
|
3956
4340
|
//#region src/components/AccountModal/Components/Alerts/FeatureAnnouncementCard.d.ts
|
|
3957
4341
|
type FeatureAnnouncementCardProps = {
|
|
@@ -3980,7 +4364,7 @@ declare const ModalBackButton: ({
|
|
|
3980
4364
|
}: BackButtonProps) => react_jsx_runtime1.JSX.Element;
|
|
3981
4365
|
//#endregion
|
|
3982
4366
|
//#region src/components/common/AddressDisplay.d.ts
|
|
3983
|
-
type Props$
|
|
4367
|
+
type Props$12 = {
|
|
3984
4368
|
wallet: Wallet;
|
|
3985
4369
|
label?: string;
|
|
3986
4370
|
style?: PropsOf<typeof VStack>;
|
|
@@ -3995,16 +4379,16 @@ declare const AddressDisplay: ({
|
|
|
3995
4379
|
showHumanAddress,
|
|
3996
4380
|
setCurrentContent,
|
|
3997
4381
|
onLogout
|
|
3998
|
-
}: Props$
|
|
4382
|
+
}: Props$12) => react_jsx_runtime1.JSX.Element;
|
|
3999
4383
|
//#endregion
|
|
4000
4384
|
//#region src/components/common/VersionFooter.d.ts
|
|
4001
|
-
type Props$
|
|
4385
|
+
type Props$11 = {} & Omit<StackProps, 'dangerouslySetInnerHTML'>;
|
|
4002
4386
|
declare const VersionFooter: ({
|
|
4003
4387
|
...props
|
|
4004
|
-
}: Props$
|
|
4388
|
+
}: Props$11) => react_jsx_runtime1.JSX.Element;
|
|
4005
4389
|
//#endregion
|
|
4006
4390
|
//#region src/components/common/StickyHeaderContainer.d.ts
|
|
4007
|
-
type Props$
|
|
4391
|
+
type Props$10 = {
|
|
4008
4392
|
children: React.ReactNode;
|
|
4009
4393
|
};
|
|
4010
4394
|
declare const useStickyHeaderContext: () => {
|
|
@@ -4012,15 +4396,15 @@ declare const useStickyHeaderContext: () => {
|
|
|
4012
4396
|
};
|
|
4013
4397
|
declare const StickyHeaderContainer: ({
|
|
4014
4398
|
children
|
|
4015
|
-
}: Props$
|
|
4399
|
+
}: Props$10) => react_jsx_runtime1.JSX.Element;
|
|
4016
4400
|
//#endregion
|
|
4017
4401
|
//#region src/components/common/StickyFooterContainer.d.ts
|
|
4018
|
-
type Props$
|
|
4402
|
+
type Props$9 = {
|
|
4019
4403
|
children: React.ReactNode;
|
|
4020
4404
|
};
|
|
4021
4405
|
declare const StickyFooterContainer: ({
|
|
4022
4406
|
children
|
|
4023
|
-
}: Props$
|
|
4407
|
+
}: Props$9) => react_jsx_runtime1.JSX.Element;
|
|
4024
4408
|
//#endregion
|
|
4025
4409
|
//#region src/components/common/BaseModal.d.ts
|
|
4026
4410
|
type BaseModalProps = {
|
|
@@ -4079,6 +4463,7 @@ type AssetButtonProps = ButtonProps & {
|
|
|
4079
4463
|
currentCurrency: CURRENCY;
|
|
4080
4464
|
isDisabled?: boolean;
|
|
4081
4465
|
onClick?: () => void;
|
|
4466
|
+
priceChange24hPct?: number;
|
|
4082
4467
|
};
|
|
4083
4468
|
declare const AssetButton: ({
|
|
4084
4469
|
symbol,
|
|
@@ -4087,6 +4472,7 @@ declare const AssetButton: ({
|
|
|
4087
4472
|
currentCurrency,
|
|
4088
4473
|
isDisabled,
|
|
4089
4474
|
onClick,
|
|
4475
|
+
priceChange24hPct,
|
|
4090
4476
|
...buttonProps
|
|
4091
4477
|
}: AssetButtonProps) => react_jsx_runtime1.JSX.Element;
|
|
4092
4478
|
//#endregion
|
|
@@ -4225,7 +4611,7 @@ declare const GasFeeTokenSelector: ({
|
|
|
4225
4611
|
}: GasFeeTokenSelectorProps) => react_jsx_runtime1.JSX.Element;
|
|
4226
4612
|
//#endregion
|
|
4227
4613
|
//#region src/components/common/InlineFeedback.d.ts
|
|
4228
|
-
type Props$
|
|
4614
|
+
type Props$8 = {
|
|
4229
4615
|
message: string;
|
|
4230
4616
|
duration?: number;
|
|
4231
4617
|
onClose?: () => void;
|
|
@@ -4234,10 +4620,10 @@ declare const InlineFeedback: ({
|
|
|
4234
4620
|
message,
|
|
4235
4621
|
duration,
|
|
4236
4622
|
onClose
|
|
4237
|
-
}: Props$
|
|
4623
|
+
}: Props$8) => react_jsx_runtime1.JSX.Element;
|
|
4238
4624
|
//#endregion
|
|
4239
4625
|
//#region src/components/common/WalletSwitchFeedback.d.ts
|
|
4240
|
-
type Props$
|
|
4626
|
+
type Props$7 = {
|
|
4241
4627
|
/**
|
|
4242
4628
|
* Show feedback flag passed via content props (desktop)
|
|
4243
4629
|
* If true, shows the feedback message
|
|
@@ -4251,6 +4637,74 @@ type Props$3 = {
|
|
|
4251
4637
|
*/
|
|
4252
4638
|
declare const WalletSwitchFeedback: ({
|
|
4253
4639
|
showFeedback
|
|
4640
|
+
}: Props$7) => react_jsx_runtime1.JSX.Element | null;
|
|
4641
|
+
//#endregion
|
|
4642
|
+
//#region src/components/common/PriceChangeBadge.d.ts
|
|
4643
|
+
type Props$6 = TextProps & {
|
|
4644
|
+
valuePct?: number;
|
|
4645
|
+
showSuffix?: boolean;
|
|
4646
|
+
};
|
|
4647
|
+
declare const PriceChangeBadge: ({
|
|
4648
|
+
valuePct,
|
|
4649
|
+
showSuffix,
|
|
4650
|
+
...textProps
|
|
4651
|
+
}: Props$6) => react_jsx_runtime1.JSX.Element | null;
|
|
4652
|
+
//#endregion
|
|
4653
|
+
//#region src/components/common/AddressOrDomainLabel.d.ts
|
|
4654
|
+
type Props$5 = TextProps & {
|
|
4655
|
+
address: string;
|
|
4656
|
+
/**
|
|
4657
|
+
* Characters to keep on each side of the address when it has no domain.
|
|
4658
|
+
* Defaults to 4/4 (e.g. `0xab12...cd34`).
|
|
4659
|
+
*/
|
|
4660
|
+
headLen?: number;
|
|
4661
|
+
tailLen?: number;
|
|
4662
|
+
};
|
|
4663
|
+
declare const AddressOrDomainLabel: ({
|
|
4664
|
+
address,
|
|
4665
|
+
headLen,
|
|
4666
|
+
tailLen,
|
|
4667
|
+
...textProps
|
|
4668
|
+
}: Props$5) => react_jsx_runtime1.JSX.Element;
|
|
4669
|
+
//#endregion
|
|
4670
|
+
//#region src/components/common/CopyIconButton.d.ts
|
|
4671
|
+
type Props$4 = Omit<IconButtonProps, 'aria-label' | 'icon' | 'onClick'> & {
|
|
4672
|
+
value: string;
|
|
4673
|
+
ariaLabel?: string;
|
|
4674
|
+
};
|
|
4675
|
+
declare const CopyIconButton: ({
|
|
4676
|
+
value,
|
|
4677
|
+
ariaLabel,
|
|
4678
|
+
size,
|
|
4679
|
+
variant,
|
|
4680
|
+
...rest
|
|
4681
|
+
}: Props$4) => react_jsx_runtime1.JSX.Element;
|
|
4682
|
+
//#endregion
|
|
4683
|
+
//#region src/components/common/PriceChart.d.ts
|
|
4684
|
+
type Props$3 = BoxProps & {
|
|
4685
|
+
points: PricePoint[];
|
|
4686
|
+
/** 'up' = green, 'down' = red, 'neutral' = muted. Defaults to 'neutral'. */
|
|
4687
|
+
tone?: 'up' | 'down' | 'neutral';
|
|
4688
|
+
/** Chart height in px. */
|
|
4689
|
+
chartHeight?: number;
|
|
4690
|
+
/** Overall opacity (useful as background underlay). Defaults to 1. */
|
|
4691
|
+
chartOpacity?: number;
|
|
4692
|
+
/** Stroke thickness in px. Defaults to 1.75. */
|
|
4693
|
+
strokeWidth?: number;
|
|
4694
|
+
/** Show a hover/touch tooltip with the value at the cursor. */
|
|
4695
|
+
interactive?: boolean;
|
|
4696
|
+
/** Format the numeric value shown in the tooltip. */
|
|
4697
|
+
formatValue?: (value: number) => string;
|
|
4698
|
+
};
|
|
4699
|
+
declare const PriceChart: ({
|
|
4700
|
+
points,
|
|
4701
|
+
tone,
|
|
4702
|
+
chartHeight,
|
|
4703
|
+
chartOpacity,
|
|
4704
|
+
strokeWidth,
|
|
4705
|
+
interactive,
|
|
4706
|
+
formatValue,
|
|
4707
|
+
...boxProps
|
|
4254
4708
|
}: Props$3) => react_jsx_runtime1.JSX.Element | null;
|
|
4255
4709
|
//#endregion
|
|
4256
4710
|
//#region src/components/UpgradeSmartAccountModal/Contents/SuccessfulOperationContent.d.ts
|
|
@@ -4345,5 +4799,5 @@ declare const ModalProvider: ({
|
|
|
4345
4799
|
children: ReactNode;
|
|
4346
4800
|
}) => react_jsx_runtime1.JSX.Element;
|
|
4347
4801
|
//#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 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 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 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 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 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 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-
|
|
4802
|
+
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 };
|
|
4803
|
+
//# sourceMappingURL=index-C4fIl4KD.d.cts.map
|