@vechain/vechain-kit 2.9.0 → 2.10.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +91 -41
- package/dist/assets/index.cjs +1 -1
- package/dist/assets/index.d.cts +1 -1
- package/dist/assets/index.d.mts +1 -1
- package/dist/assets/index.mjs +1 -1
- package/dist/{assets-BL24r-Yp.mjs → assets-C0RHiZ9a.mjs} +3 -3
- package/dist/{assets-BL24r-Yp.mjs.map → assets-C0RHiZ9a.mjs.map} +1 -1
- package/dist/{assets-DNJsQD7_.cjs → assets-CZs6EVH8.cjs} +2 -2
- package/dist/{assets-DNJsQD7_.cjs.map → assets-CZs6EVH8.cjs.map} +1 -1
- package/dist/{index-DXwqcSci.d.cts → index-BjQrND59.d.mts} +4 -4
- package/dist/{index-DXwqcSci.d.cts.map → index-BjQrND59.d.mts.map} +1 -1
- package/dist/{index-BYfc-9J5.d.mts → index-C8Uj8ple.d.cts} +1 -1
- package/dist/{index-BYfc-9J5.d.mts.map → index-C8Uj8ple.d.cts.map} +1 -1
- package/dist/{index-B93L_AT2.d.mts → index-Gsp1h6d7.d.mts} +265 -74
- package/dist/index-Gsp1h6d7.d.mts.map +1 -0
- package/dist/{index-QQ-9cIOs.d.cts → index-aWHEC3vV.d.cts} +379 -190
- package/dist/index-aWHEC3vV.d.cts.map +1 -0
- package/dist/index.cjs +10 -10
- 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 +10 -10
- package/dist/index.mjs.map +1 -1
- package/dist/utils/index.cjs +1 -1
- package/dist/utils/index.d.cts +3 -3
- package/dist/utils/index.d.mts +3 -3
- package/dist/utils/index.mjs +1 -1
- package/dist/utils-C4gc1L9t.cjs +2 -0
- package/dist/utils-C4gc1L9t.cjs.map +1 -0
- package/dist/utils-DPIscp9_.mjs +2 -0
- package/dist/utils-DPIscp9_.mjs.map +1 -0
- package/package.json +2 -2
- package/dist/index-B93L_AT2.d.mts.map +0 -1
- package/dist/index-QQ-9cIOs.d.cts.map +0 -1
- package/dist/utils-B1rpHKZq.mjs +0 -2
- package/dist/utils-B1rpHKZq.mjs.map +0 -1
- package/dist/utils-D0w5dcVX.cjs +0 -2
- package/dist/utils-D0w5dcVX.cjs.map +0 -1
|
@@ -1,8 +1,8 @@
|
|
|
1
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
|
-
import * as
|
|
5
|
-
import * as
|
|
4
|
+
import * as react_jsx_runtime0 from "react/jsx-runtime";
|
|
5
|
+
import * as _vechain_sdk_network0 from "@vechain/sdk-network";
|
|
6
6
|
import { CompressedBlockDetail, EventLogs, FilterEventLogsOptions, ThorClient, ThorClient as ThorClient$1, TransactionReceipt } from "@vechain/sdk-network";
|
|
7
7
|
import { LoginMethodOrderOption, OAuthProviderType, SignTypedDataParams, User, WalletListEntry, useMfaEnrollment, usePrivy, useSetWalletRecovery } from "@privy-io/react-auth";
|
|
8
8
|
import * as _vechain_sdk_core0 from "@vechain/sdk-core";
|
|
@@ -11,16 +11,16 @@ 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_query8 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
|
|
19
|
+
import * as _tanstack_query_core2 from "@tanstack/query-core";
|
|
20
|
+
import { Abi, ContractEventName, ContractFunctionParameters, MulticallParameters, MulticallReturnType, decodeEventLog } from "viem";
|
|
20
21
|
import { Account } from "viem/accounts";
|
|
21
22
|
import * as abitype0 from "abitype";
|
|
22
23
|
import { AbiParametersToPrimitiveTypes, ExtractAbiFunction, ExtractAbiFunctionNames } from "abitype";
|
|
23
|
-
import { Abi, ContractEventName, ContractFunctionParameters, MulticallParameters, MulticallReturnType, decodeEventLog } from "viem";
|
|
24
24
|
import { UseFormRegister } from "react-hook-form";
|
|
25
25
|
|
|
26
26
|
//#region src/config/network.d.ts
|
|
@@ -54,7 +54,7 @@ declare const genesises: {
|
|
|
54
54
|
readonly main: CompressedBlockDetail;
|
|
55
55
|
readonly test: CompressedBlockDetail;
|
|
56
56
|
readonly solo: CompressedBlockDetail;
|
|
57
|
-
which(gid: string): "
|
|
57
|
+
which(gid: string): "test" | "main" | "solo" | undefined;
|
|
58
58
|
};
|
|
59
59
|
//#endregion
|
|
60
60
|
//#region src/config/index.d.ts
|
|
@@ -559,6 +559,13 @@ type LoginMethodOrder = {
|
|
|
559
559
|
method: AlwaysAvailableMethods | (VechainKitProviderProps['privy'] extends undefined ? never : PrivyDependentMethods);
|
|
560
560
|
gridColumn?: number;
|
|
561
561
|
allowedApps?: string[];
|
|
562
|
+
/**
|
|
563
|
+
* Mark this method as the recommended primary CTA — filled inverted
|
|
564
|
+
* surface + RecommendedDot. If no entry sets `isPrimary`, the kit falls
|
|
565
|
+
* back to highlighting the first visible method automatically. The
|
|
566
|
+
* `more` method is never primary (it's a footer link).
|
|
567
|
+
*/
|
|
568
|
+
isPrimary?: boolean;
|
|
562
569
|
};
|
|
563
570
|
type LegalDocumentOptions = {
|
|
564
571
|
privacyPolicy?: LegalDocument[];
|
|
@@ -730,7 +737,7 @@ declare const useVeChainKitConfig: () => VeChainKitConfig;
|
|
|
730
737
|
* ```
|
|
731
738
|
*/
|
|
732
739
|
declare const useAppConfig: () => AppConfig;
|
|
733
|
-
declare const VeChainKitProvider: (props: Omit<VechainKitProviderProps, "queryClient">) =>
|
|
740
|
+
declare const VeChainKitProvider: (props: Omit<VechainKitProviderProps, "queryClient">) => react_jsx_runtime0.JSX.Element;
|
|
734
741
|
//#endregion
|
|
735
742
|
//#region src/providers/PrivyWalletProvider.d.ts
|
|
736
743
|
interface PrivyWalletProviderContextType {
|
|
@@ -773,7 +780,7 @@ declare const PrivyWalletProvider: ({
|
|
|
773
780
|
delegatorUrl?: string;
|
|
774
781
|
delegateAllTransactions: boolean;
|
|
775
782
|
genericDelegator?: boolean;
|
|
776
|
-
}) =>
|
|
783
|
+
}) => react_jsx_runtime0.JSX.Element;
|
|
777
784
|
declare const usePrivyWalletProvider: () => PrivyWalletProviderContextType;
|
|
778
785
|
//#endregion
|
|
779
786
|
//#region src/providers/VechainKitThemeProvider.d.ts
|
|
@@ -791,7 +798,7 @@ declare const VechainKitThemeProvider: ({
|
|
|
791
798
|
children,
|
|
792
799
|
darkMode,
|
|
793
800
|
theme: customTheme
|
|
794
|
-
}: Props$42) =>
|
|
801
|
+
}: Props$42) => react_jsx_runtime0.JSX.Element;
|
|
795
802
|
//#endregion
|
|
796
803
|
//#region src/providers/LegalDocumentsProvider.d.ts
|
|
797
804
|
type Props$41 = {
|
|
@@ -807,7 +814,7 @@ type LegalDocumentsContextType = {
|
|
|
807
814
|
declare const useLegalDocuments: () => LegalDocumentsContextType;
|
|
808
815
|
declare const LegalDocumentsProvider: ({
|
|
809
816
|
children
|
|
810
|
-
}: Props$41) =>
|
|
817
|
+
}: Props$41) => react_jsx_runtime0.JSX.Element;
|
|
811
818
|
//#endregion
|
|
812
819
|
//#region src/components/ConnectModal/ConnectModal.d.ts
|
|
813
820
|
type Props$40 = {
|
|
@@ -848,7 +855,7 @@ declare const ConnectModal: ({
|
|
|
848
855
|
onClose,
|
|
849
856
|
initialContent,
|
|
850
857
|
preventAutoClose
|
|
851
|
-
}: Props$40) =>
|
|
858
|
+
}: Props$40) => react_jsx_runtime0.JSX.Element;
|
|
852
859
|
//#endregion
|
|
853
860
|
//#region src/components/ConnectModal/Contents/MainContent.d.ts
|
|
854
861
|
type Props$39 = {
|
|
@@ -856,7 +863,7 @@ type Props$39 = {
|
|
|
856
863
|
};
|
|
857
864
|
declare const MainContent: ({
|
|
858
865
|
setCurrentContent
|
|
859
|
-
}: Props$39) =>
|
|
866
|
+
}: Props$39) => react_jsx_runtime0.JSX.Element;
|
|
860
867
|
//#endregion
|
|
861
868
|
//#region src/components/ConnectModal/Contents/LoadingContent.d.ts
|
|
862
869
|
type LoadingContentProps = {
|
|
@@ -885,7 +892,7 @@ declare const LoadingContent: ({
|
|
|
885
892
|
onGoBack,
|
|
886
893
|
showBackButton,
|
|
887
894
|
providerIcon
|
|
888
|
-
}: LoadingContentProps) =>
|
|
895
|
+
}: LoadingContentProps) => react_jsx_runtime0.JSX.Element;
|
|
889
896
|
//#endregion
|
|
890
897
|
//#region src/components/ConnectModal/Contents/ErrorContent.d.ts
|
|
891
898
|
type ErrorContentProps = {
|
|
@@ -906,7 +913,7 @@ declare const ErrorContent: ({
|
|
|
906
913
|
onClose,
|
|
907
914
|
onTryAgain,
|
|
908
915
|
onGoBack
|
|
909
|
-
}: ErrorContentProps) =>
|
|
916
|
+
}: ErrorContentProps) => react_jsx_runtime0.JSX.Element;
|
|
910
917
|
//#endregion
|
|
911
918
|
//#region src/components/ConnectModal/Contents/EcosystemContent.d.ts
|
|
912
919
|
type Props$38 = {
|
|
@@ -922,7 +929,7 @@ declare const EcosystemContent: ({
|
|
|
922
929
|
isLoading,
|
|
923
930
|
setCurrentContent,
|
|
924
931
|
showBackButton
|
|
925
|
-
}: Props$38) =>
|
|
932
|
+
}: Props$38) => react_jsx_runtime0.JSX.Element;
|
|
926
933
|
//#endregion
|
|
927
934
|
//#region src/components/ConnectModal/Contents/MoreOptionsContent.d.ts
|
|
928
935
|
type Props$37 = {
|
|
@@ -934,7 +941,7 @@ declare const MoreOptionsContent: ({
|
|
|
934
941
|
onClose,
|
|
935
942
|
setCurrentContent,
|
|
936
943
|
showBackButton
|
|
937
|
-
}: Props$37) =>
|
|
944
|
+
}: Props$37) => react_jsx_runtime0.JSX.Element;
|
|
938
945
|
//#endregion
|
|
939
946
|
//#region src/components/ConnectModal/Components/ConnectionButton.d.ts
|
|
940
947
|
interface ConnectionButtonProps {
|
|
@@ -964,10 +971,17 @@ declare const ConnectionButton: ({
|
|
|
964
971
|
style,
|
|
965
972
|
variant,
|
|
966
973
|
iconWidth
|
|
967
|
-
}: ConnectionButtonProps) =>
|
|
974
|
+
}: ConnectionButtonProps) => react_jsx_runtime0.JSX.Element;
|
|
968
975
|
//#endregion
|
|
969
976
|
//#region src/components/ConnectModal/Components/EmailLoginButton.d.ts
|
|
970
|
-
|
|
977
|
+
/**
|
|
978
|
+
* Inline email input + OTP modal flow. Requires a host-supplied privy
|
|
979
|
+
* prop because VeChain's own Privy app has email disabled, so the
|
|
980
|
+
* whitelabel cross-app host can't accept email-based logins. When
|
|
981
|
+
* the consumer dApp has no privy, useLoginModalContent hides this
|
|
982
|
+
* button entirely.
|
|
983
|
+
*/
|
|
984
|
+
declare const EmailLoginButton: () => react_jsx_runtime0.JSX.Element;
|
|
971
985
|
//#endregion
|
|
972
986
|
//#region src/components/ConnectModal/Components/VeChainLoginButton.d.ts
|
|
973
987
|
type Props$36 = {
|
|
@@ -979,7 +993,7 @@ declare const VeChainLoginButton: ({
|
|
|
979
993
|
isDark,
|
|
980
994
|
gridColumn,
|
|
981
995
|
setCurrentContent
|
|
982
|
-
}: Props$36) =>
|
|
996
|
+
}: Props$36) => react_jsx_runtime0.JSX.Element;
|
|
983
997
|
//#endregion
|
|
984
998
|
//#region src/components/ConnectModal/Components/EcosystemButton.d.ts
|
|
985
999
|
type Props$35 = {
|
|
@@ -993,7 +1007,7 @@ declare const EcosystemButton: ({
|
|
|
993
1007
|
appsInfo,
|
|
994
1008
|
isLoading,
|
|
995
1009
|
setCurrentContent
|
|
996
|
-
}: Props$35) =>
|
|
1010
|
+
}: Props$35) => react_jsx_runtime0.JSX.Element;
|
|
997
1011
|
//#endregion
|
|
998
1012
|
//#region src/components/ConnectModal/Components/PrivyButton.d.ts
|
|
999
1013
|
type Props$34 = {
|
|
@@ -1005,30 +1019,37 @@ declare const PrivyButton: ({
|
|
|
1005
1019
|
isDark,
|
|
1006
1020
|
onViewMoreLogin,
|
|
1007
1021
|
gridColumn
|
|
1008
|
-
}: Props$34) =>
|
|
1022
|
+
}: Props$34) => react_jsx_runtime0.JSX.Element;
|
|
1009
1023
|
//#endregion
|
|
1010
1024
|
//#region src/components/ConnectModal/Components/LoginWithGoogleButton.d.ts
|
|
1011
1025
|
type Props$33 = {
|
|
1012
1026
|
isDark: boolean;
|
|
1013
1027
|
gridColumn?: number;
|
|
1028
|
+
/** When true, render as the recommended primary CTA. See VeWorldButton. */
|
|
1029
|
+
isPrimary?: boolean;
|
|
1014
1030
|
};
|
|
1015
|
-
/** Secondary outline button
|
|
1031
|
+
/** Secondary outline button by default; recommended primary when `isPrimary`. */
|
|
1016
1032
|
declare const LoginWithGoogleButton: ({
|
|
1017
1033
|
isDark,
|
|
1018
|
-
gridColumn
|
|
1019
|
-
|
|
1034
|
+
gridColumn,
|
|
1035
|
+
isPrimary
|
|
1036
|
+
}: Props$33) => react_jsx_runtime0.JSX.Element;
|
|
1020
1037
|
//#endregion
|
|
1021
1038
|
//#region src/components/ConnectModal/Components/LoginWithAppleButton.d.ts
|
|
1022
1039
|
type Props$32 = {
|
|
1023
1040
|
isDark: boolean;
|
|
1024
1041
|
gridColumn?: number;
|
|
1042
|
+
/** When true, render as the recommended primary CTA. See VeWorldButton. */
|
|
1043
|
+
isPrimary?: boolean;
|
|
1025
1044
|
};
|
|
1026
|
-
/** Secondary outline
|
|
1027
|
-
* flips to match the
|
|
1045
|
+
/** Secondary outline by default; recommended primary when `isPrimary`. The
|
|
1046
|
+
* Apple glyph flips to match the surface (text color on outline, inverted
|
|
1047
|
+
* on the filled primary). */
|
|
1028
1048
|
declare const LoginWithAppleButton: ({
|
|
1029
1049
|
isDark,
|
|
1030
|
-
gridColumn
|
|
1031
|
-
|
|
1050
|
+
gridColumn,
|
|
1051
|
+
isPrimary
|
|
1052
|
+
}: Props$32) => react_jsx_runtime0.JSX.Element;
|
|
1032
1053
|
//#endregion
|
|
1033
1054
|
//#region src/components/ConnectModal/Components/PasskeyLoginButton.d.ts
|
|
1034
1055
|
type Props$31 = {
|
|
@@ -1040,7 +1061,7 @@ declare const PasskeyLoginButton: ({
|
|
|
1040
1061
|
isDark,
|
|
1041
1062
|
gridColumn,
|
|
1042
1063
|
setCurrentContent
|
|
1043
|
-
}: Props$31) =>
|
|
1064
|
+
}: Props$31) => react_jsx_runtime0.JSX.Element;
|
|
1044
1065
|
//#endregion
|
|
1045
1066
|
//#region src/components/ConnectModal/Components/DappKitButton.d.ts
|
|
1046
1067
|
type Props$30 = {
|
|
@@ -1050,7 +1071,7 @@ type Props$30 = {
|
|
|
1050
1071
|
declare const DappKitButton: ({
|
|
1051
1072
|
isDark,
|
|
1052
1073
|
gridColumn
|
|
1053
|
-
}: Props$30) =>
|
|
1074
|
+
}: Props$30) => react_jsx_runtime0.JSX.Element;
|
|
1054
1075
|
//#endregion
|
|
1055
1076
|
//#region src/components/ConnectModal/Components/VeChainWithPrivyLoginButton.d.ts
|
|
1056
1077
|
type Props$29 = {
|
|
@@ -1060,38 +1081,40 @@ type Props$29 = {
|
|
|
1060
1081
|
declare const VeChainWithPrivyLoginButton: ({
|
|
1061
1082
|
isDark,
|
|
1062
1083
|
gridColumn
|
|
1063
|
-
}: Props$29) =>
|
|
1084
|
+
}: Props$29) => react_jsx_runtime0.JSX.Element;
|
|
1064
1085
|
//#endregion
|
|
1065
1086
|
//#region src/components/ConnectModal/Components/LoginWithGithubButton.d.ts
|
|
1066
1087
|
type Props$28 = {
|
|
1067
1088
|
isDark: boolean;
|
|
1068
1089
|
gridColumn?: number;
|
|
1090
|
+
/** When true, render as the recommended primary CTA. See VeWorldButton. */
|
|
1091
|
+
isPrimary?: boolean;
|
|
1069
1092
|
};
|
|
1070
1093
|
declare const LoginWithGithubButton: ({
|
|
1071
1094
|
isDark,
|
|
1072
|
-
gridColumn
|
|
1073
|
-
|
|
1095
|
+
gridColumn,
|
|
1096
|
+
isPrimary
|
|
1097
|
+
}: Props$28) => react_jsx_runtime0.JSX.Element;
|
|
1074
1098
|
//#endregion
|
|
1075
1099
|
//#region src/components/ConnectModal/Components/VeWorldButton.d.ts
|
|
1076
1100
|
type Props$27 = {
|
|
1077
1101
|
isDark: boolean;
|
|
1078
1102
|
gridColumn?: number;
|
|
1079
1103
|
setCurrentContent: React$1.Dispatch<React$1.SetStateAction<ConnectModalContentsTypes>>;
|
|
1104
|
+
/**
|
|
1105
|
+
* When true, render as the recommended primary CTA: filled inverted
|
|
1106
|
+
* surface + RecommendedDot. When false, render as an outline secondary.
|
|
1107
|
+
* The stack flips this on the first visible login method, so VeWorld
|
|
1108
|
+
* is primary only when it's first in `loginMethods`.
|
|
1109
|
+
*/
|
|
1110
|
+
isPrimary?: boolean;
|
|
1080
1111
|
};
|
|
1081
|
-
/**
|
|
1082
|
-
* Primary CTA — VeWorld brand-locked surface. Always inverted contrast
|
|
1083
|
-
* against the modal: dark in light mode, white in dark mode.
|
|
1084
|
-
*
|
|
1085
|
-
* Intentionally does NOT consume `theme.buttons.primaryButton.{bg,color}`
|
|
1086
|
-
* — devs who themed their primary button (e.g. brand blue) shouldn't end
|
|
1087
|
-
* up with a blue VeWorld button. The VeWorld logo + label have to stay
|
|
1088
|
-
* recognisable.
|
|
1089
|
-
*/
|
|
1090
1112
|
declare const VeWorldButton: ({
|
|
1091
1113
|
isDark,
|
|
1092
1114
|
gridColumn,
|
|
1093
|
-
setCurrentContent
|
|
1094
|
-
|
|
1115
|
+
setCurrentContent,
|
|
1116
|
+
isPrimary
|
|
1117
|
+
}: Props$27) => react_jsx_runtime0.JSX.Element;
|
|
1095
1118
|
//#endregion
|
|
1096
1119
|
//#region src/components/ConnectModal/Components/Sync2Button.d.ts
|
|
1097
1120
|
type Props$26 = {
|
|
@@ -1103,7 +1126,7 @@ declare const Sync2Button: ({
|
|
|
1103
1126
|
isDark,
|
|
1104
1127
|
gridColumn,
|
|
1105
1128
|
setCurrentContent
|
|
1106
|
-
}: Props$26) =>
|
|
1129
|
+
}: Props$26) => react_jsx_runtime0.JSX.Element;
|
|
1107
1130
|
//#endregion
|
|
1108
1131
|
//#region src/components/ConnectModal/Components/WalletConnectButton.d.ts
|
|
1109
1132
|
type Props$25 = {
|
|
@@ -1115,7 +1138,7 @@ declare const WalletConnectButton: ({
|
|
|
1115
1138
|
isDark,
|
|
1116
1139
|
gridColumn,
|
|
1117
1140
|
setCurrentContent
|
|
1118
|
-
}: Props$25) =>
|
|
1141
|
+
}: Props$25) => react_jsx_runtime0.JSX.Element;
|
|
1119
1142
|
//#endregion
|
|
1120
1143
|
//#region src/components/ConnectModal/ConnectPopover.d.ts
|
|
1121
1144
|
type ConnectPopoverProps = {
|
|
@@ -1125,7 +1148,7 @@ type ConnectPopoverProps = {
|
|
|
1125
1148
|
declare const ConnectPopover: ({
|
|
1126
1149
|
isLoading,
|
|
1127
1150
|
buttonStyle
|
|
1128
|
-
}: ConnectPopoverProps) =>
|
|
1151
|
+
}: ConnectPopoverProps) => react_jsx_runtime0.JSX.Element;
|
|
1129
1152
|
//#endregion
|
|
1130
1153
|
//#region src/components/WalletButton/types.d.ts
|
|
1131
1154
|
type WalletDisplayVariant = 'icon' | 'iconAndDomain' | 'iconDomainAndAddress' | 'iconDomainAndAssets';
|
|
@@ -1144,10 +1167,10 @@ declare const WalletButton: ({
|
|
|
1144
1167
|
buttonStyle,
|
|
1145
1168
|
connectionVariant,
|
|
1146
1169
|
label
|
|
1147
|
-
}: WalletButtonProps) =>
|
|
1170
|
+
}: WalletButtonProps) => react_jsx_runtime0.JSX.Element;
|
|
1148
1171
|
//#endregion
|
|
1149
1172
|
//#region src/components/WalletButton/SocialIcons.d.ts
|
|
1150
|
-
declare const SocialIcons: () =>
|
|
1173
|
+
declare const SocialIcons: () => react_jsx_runtime0.JSX.Element;
|
|
1151
1174
|
//#endregion
|
|
1152
1175
|
//#region src/components/TransactionModal/TransactionModal.d.ts
|
|
1153
1176
|
type TransactionModalProps = {
|
|
@@ -1177,7 +1200,7 @@ declare const TransactionModal: ({
|
|
|
1177
1200
|
txReceipt,
|
|
1178
1201
|
txError,
|
|
1179
1202
|
onTryAgain
|
|
1180
|
-
}: TransactionModalProps) =>
|
|
1203
|
+
}: TransactionModalProps) => react_jsx_runtime0.JSX.Element | null;
|
|
1181
1204
|
//#endregion
|
|
1182
1205
|
//#region src/components/TransactionModal/Components/ShareButtons.d.ts
|
|
1183
1206
|
type Props$24 = {
|
|
@@ -1187,7 +1210,7 @@ type Props$24 = {
|
|
|
1187
1210
|
};
|
|
1188
1211
|
declare const ShareButtons: ({
|
|
1189
1212
|
description
|
|
1190
|
-
}: Props$24) =>
|
|
1213
|
+
}: Props$24) => react_jsx_runtime0.JSX.Element;
|
|
1191
1214
|
//#endregion
|
|
1192
1215
|
//#region src/components/TransactionModal/TransactionModalContent.d.ts
|
|
1193
1216
|
declare const TransactionModalContent: ({
|
|
@@ -1197,7 +1220,7 @@ declare const TransactionModalContent: ({
|
|
|
1197
1220
|
txReceipt,
|
|
1198
1221
|
txError,
|
|
1199
1222
|
onClose
|
|
1200
|
-
}: Omit<TransactionModalProps, "isOpen">) =>
|
|
1223
|
+
}: Omit<TransactionModalProps, "isOpen">) => react_jsx_runtime0.JSX.Element;
|
|
1201
1224
|
//#endregion
|
|
1202
1225
|
//#region src/components/TransactionToast/TransactionToast.d.ts
|
|
1203
1226
|
type TransactionToastProps = {
|
|
@@ -1217,7 +1240,7 @@ declare const TransactionToast: ({
|
|
|
1217
1240
|
txError,
|
|
1218
1241
|
onTryAgain,
|
|
1219
1242
|
description
|
|
1220
|
-
}: TransactionToastProps) =>
|
|
1243
|
+
}: TransactionToastProps) => react_jsx_runtime0.JSX.Element | null;
|
|
1221
1244
|
//#endregion
|
|
1222
1245
|
//#region src/components/AccountModal/Contents/Account/AccountMainContent.d.ts
|
|
1223
1246
|
type Props$23 = {
|
|
@@ -1233,12 +1256,12 @@ declare const AccountMainContent: ({
|
|
|
1233
1256
|
wallet,
|
|
1234
1257
|
onClose,
|
|
1235
1258
|
switchFeedback
|
|
1236
|
-
}: Props$23) =>
|
|
1259
|
+
}: Props$23) => react_jsx_runtime0.JSX.Element;
|
|
1237
1260
|
//#endregion
|
|
1238
1261
|
//#region src/hooks/api/privy/useFetchAppInfo.d.ts
|
|
1239
1262
|
declare const fetchPrivyAppInfo: (appId: string) => Promise<PrivyAppInfo>;
|
|
1240
1263
|
declare const getPrivyAppInfoQueryKey: (appIds: string | string[]) => string[];
|
|
1241
|
-
declare const useFetchAppInfo: (appIds: string | string[]) =>
|
|
1264
|
+
declare const useFetchAppInfo: (appIds: string | string[]) => _tanstack_react_query8.UseQueryResult<{
|
|
1242
1265
|
[k: string]: {
|
|
1243
1266
|
website: string | undefined;
|
|
1244
1267
|
id: string;
|
|
@@ -1259,7 +1282,7 @@ declare const useFetchAppInfo: (appIds: string | string[]) => _tanstack_react_qu
|
|
|
1259
1282
|
//#endregion
|
|
1260
1283
|
//#region src/hooks/api/privy/useFetchPrivyStatus.d.ts
|
|
1261
1284
|
declare const fetchPrivyStatus: () => Promise<string>;
|
|
1262
|
-
declare const useFetchPrivyStatus: () =>
|
|
1285
|
+
declare const useFetchPrivyStatus: () => _tanstack_react_query8.UseQueryResult<string, Error>;
|
|
1263
1286
|
//#endregion
|
|
1264
1287
|
//#region src/hooks/api/vetDomains/useVechainDomain.d.ts
|
|
1265
1288
|
interface VeChainDomainResult {
|
|
@@ -1269,11 +1292,11 @@ interface VeChainDomainResult {
|
|
|
1269
1292
|
isPrimaryDomain: boolean;
|
|
1270
1293
|
}
|
|
1271
1294
|
declare const getVechainDomainQueryKey: (addressOrDomain?: string | null) => (string | null | undefined)[];
|
|
1272
|
-
declare const useVechainDomain: (addressOrDomain?: string | null) =>
|
|
1295
|
+
declare const useVechainDomain: (addressOrDomain?: string | null) => _tanstack_react_query8.UseQueryResult<VeChainDomainResult, Error>;
|
|
1273
1296
|
//#endregion
|
|
1274
1297
|
//#region src/hooks/api/vetDomains/useEnsRecordExists.d.ts
|
|
1275
1298
|
declare const getEnsRecordExistsQueryKey: (name: string) => string[];
|
|
1276
|
-
declare const useEnsRecordExists: (name: string) =>
|
|
1299
|
+
declare const useEnsRecordExists: (name: string) => _tanstack_react_query8.UseQueryResult<boolean, Error>;
|
|
1277
1300
|
//#endregion
|
|
1278
1301
|
//#region src/hooks/api/vetDomains/useClaimVeWorldSubdomain.d.ts
|
|
1279
1302
|
type useClaimVeWorldSubdomainProps = {
|
|
@@ -1335,7 +1358,7 @@ declare const getIsDomainProtectedQueryKey: (domain?: string) => (string | undef
|
|
|
1335
1358
|
* @param {boolean} [enabled=true] - Flag to enable or disable the hook.
|
|
1336
1359
|
* @returns The result of the useQuery hook, with the protection status.
|
|
1337
1360
|
*/
|
|
1338
|
-
declare const useIsDomainProtected: (domain?: string, enabled?: boolean) =>
|
|
1361
|
+
declare const useIsDomainProtected: (domain?: string, enabled?: boolean) => _tanstack_react_query8.UseQueryResult<boolean, Error>;
|
|
1339
1362
|
//#endregion
|
|
1340
1363
|
//#region src/hooks/api/vetDomains/useGetDomainsOfAddress.d.ts
|
|
1341
1364
|
declare const DomainSchema: z.ZodObject<{
|
|
@@ -1363,7 +1386,7 @@ declare const getDomainsOfAddressQueryKey: (address?: string, parentDomain?: str
|
|
|
1363
1386
|
* @param parentDomain The parent domain (e.g., "veworld.vet")
|
|
1364
1387
|
* @returns The domains owned by the address
|
|
1365
1388
|
*/
|
|
1366
|
-
declare const useGetDomainsOfAddress: (address?: string, parentDomain?: string) =>
|
|
1389
|
+
declare const useGetDomainsOfAddress: (address?: string, parentDomain?: string) => _tanstack_react_query8.UseQueryResult<{
|
|
1367
1390
|
domains: {
|
|
1368
1391
|
name: string;
|
|
1369
1392
|
}[];
|
|
@@ -1376,7 +1399,7 @@ declare const getAvatarQueryKey: (name: string, networkType: NETWORK_TYPE) => st
|
|
|
1376
1399
|
* @param name - The VET domain name
|
|
1377
1400
|
* @returns The resolved avatar URL
|
|
1378
1401
|
*/
|
|
1379
|
-
declare const useGetAvatar: (name: string) =>
|
|
1402
|
+
declare const useGetAvatar: (name: string) => _tanstack_react_query8.UseQueryResult<string | null, Error>;
|
|
1380
1403
|
//#endregion
|
|
1381
1404
|
//#region src/hooks/api/vetDomains/useGetTextRecords.d.ts
|
|
1382
1405
|
/**
|
|
@@ -1388,7 +1411,7 @@ declare const useGetAvatar: (name: string) => _tanstack_react_query29.UseQueryRe
|
|
|
1388
1411
|
*/
|
|
1389
1412
|
declare const getTextRecords: (nodeUrl: string, network: NETWORK_TYPE, domain?: string) => Promise<TextRecords>;
|
|
1390
1413
|
declare const getTextRecordsQueryKey: (domain?: string, network?: NETWORK_TYPE) => (string | undefined)[];
|
|
1391
|
-
declare const useGetTextRecords: (domain?: string) =>
|
|
1414
|
+
declare const useGetTextRecords: (domain?: string) => _tanstack_react_query8.UseQueryResult<TextRecords, Error>;
|
|
1392
1415
|
//#endregion
|
|
1393
1416
|
//#region src/hooks/api/vetDomains/useUpdateTextRecord.d.ts
|
|
1394
1417
|
type UpdateTextRecordVariables = {
|
|
@@ -1421,7 +1444,7 @@ declare const getResolverAddressQueryKey: (domain?: string) => (string | undefin
|
|
|
1421
1444
|
* @param domain The domain to get resolver for
|
|
1422
1445
|
* @returns The resolver address for the domain
|
|
1423
1446
|
*/
|
|
1424
|
-
declare const useGetResolverAddress: (domain?: string) =>
|
|
1447
|
+
declare const useGetResolverAddress: (domain?: string) => _tanstack_react_query8.UseQueryResult<`0x${string}`, unknown>;
|
|
1425
1448
|
//#endregion
|
|
1426
1449
|
//#region src/hooks/api/vetDomains/useGetAvatarOfAddress.d.ts
|
|
1427
1450
|
declare const getAvatarOfAddressQueryKey: (address?: string) => (string | undefined)[];
|
|
@@ -1431,7 +1454,7 @@ declare const getAvatarOfAddressQueryKey: (address?: string) => (string | undefi
|
|
|
1431
1454
|
* @param address The owner's address
|
|
1432
1455
|
* @returns The avatar URL for the address's primary domain
|
|
1433
1456
|
*/
|
|
1434
|
-
declare const useGetAvatarOfAddress: (address?: string) =>
|
|
1457
|
+
declare const useGetAvatarOfAddress: (address?: string) => _tanstack_react_query8.UseQueryResult<string, Error>;
|
|
1435
1458
|
//#endregion
|
|
1436
1459
|
//#region src/hooks/api/vetDomains/useGetAvatarLegacy.d.ts
|
|
1437
1460
|
/**
|
|
@@ -1448,7 +1471,7 @@ declare const getAvatarLegacyQueryKey: (name: string, networkType: NETWORK_TYPE)
|
|
|
1448
1471
|
* @param name - The VET domain name
|
|
1449
1472
|
* @returns The resolved avatar URL
|
|
1450
1473
|
*/
|
|
1451
|
-
declare const useGetAvatarLegacy: (name: string) =>
|
|
1474
|
+
declare const useGetAvatarLegacy: (name: string) => _tanstack_react_query8.UseQueryResult<string | null, Error>;
|
|
1452
1475
|
//#endregion
|
|
1453
1476
|
//#region src/hooks/api/vetDomains/useUnsetDomain.d.ts
|
|
1454
1477
|
type useUnsetDomainProps = {
|
|
@@ -1565,7 +1588,7 @@ declare const getCurrentAllocationsRoundIdQueryKey: (address: string) => string[
|
|
|
1565
1588
|
* Hook to get the current roundId of allocations voting
|
|
1566
1589
|
* @returns the current roundId of allocations voting
|
|
1567
1590
|
*/
|
|
1568
|
-
declare const useCurrentAllocationsRoundId: () =>
|
|
1591
|
+
declare const useCurrentAllocationsRoundId: () => _tanstack_react_query8.UseQueryResult<string, unknown>;
|
|
1569
1592
|
//#endregion
|
|
1570
1593
|
//#region src/hooks/api/wallet/useCustomTokens.d.ts
|
|
1571
1594
|
declare const useCustomTokens: () => {
|
|
@@ -1578,7 +1601,7 @@ declare const useCustomTokens: () => {
|
|
|
1578
1601
|
//#endregion
|
|
1579
1602
|
//#region src/hooks/api/wallet/useGetB3trBalance.d.ts
|
|
1580
1603
|
declare const getB3trBalanceQueryKey: (address?: string) => (string | undefined)[];
|
|
1581
|
-
declare const useGetB3trBalance: (address?: string) =>
|
|
1604
|
+
declare const useGetB3trBalance: (address?: string) => _tanstack_react_query8.UseQueryResult<{
|
|
1582
1605
|
original: string;
|
|
1583
1606
|
scaled: string;
|
|
1584
1607
|
formatted: string;
|
|
@@ -1587,7 +1610,7 @@ declare const useGetB3trBalance: (address?: string) => _tanstack_react_query29.U
|
|
|
1587
1610
|
//#region src/hooks/api/wallet/useGetCustomTokenBalances.d.ts
|
|
1588
1611
|
type TokenWithBalance = CustomTokenInfo & TokenBalance;
|
|
1589
1612
|
declare const getCustomTokenBalanceQueryKey: (tokenAddress?: string, address?: string, decimals?: number) => (string | number | undefined)[];
|
|
1590
|
-
declare const useGetCustomTokenBalances: (address?: string) =>
|
|
1613
|
+
declare const useGetCustomTokenBalances: (address?: string) => _tanstack_react_query8.UseQueryResult<{
|
|
1591
1614
|
original: string;
|
|
1592
1615
|
scaled: string;
|
|
1593
1616
|
formatted: string;
|
|
@@ -1600,14 +1623,14 @@ declare const useGetCustomTokenBalances: (address?: string) => _tanstack_react_q
|
|
|
1600
1623
|
//#region src/hooks/api/wallet/useGetCustomTokenInfo.d.ts
|
|
1601
1624
|
declare const getTokenInfo: (tokenAddress: string, networkUrl: string) => Promise<CustomTokenInfo>;
|
|
1602
1625
|
declare const getCustomTokenInfoQueryKey: (tokenAddress: string) => string[];
|
|
1603
|
-
declare const useGetCustomTokenInfo: (tokenAddress: string) =>
|
|
1626
|
+
declare const useGetCustomTokenInfo: (tokenAddress: string) => _tanstack_react_query8.UseQueryResult<CustomTokenInfo, Error>;
|
|
1604
1627
|
//#endregion
|
|
1605
1628
|
//#region src/hooks/api/wallet/useGetErc20Balance.d.ts
|
|
1606
1629
|
declare const getErc20BalanceQueryKey: (tokenAddress: string, address?: string) => (string | undefined)[];
|
|
1607
1630
|
type UseGetErc20BalanceOptions = {
|
|
1608
1631
|
enabled?: boolean;
|
|
1609
1632
|
};
|
|
1610
|
-
declare const useGetErc20Balance: (tokenAddress: string, address?: string, options?: UseGetErc20BalanceOptions) =>
|
|
1633
|
+
declare const useGetErc20Balance: (tokenAddress: string, address?: string, options?: UseGetErc20BalanceOptions) => _tanstack_react_query8.UseQueryResult<{
|
|
1611
1634
|
original: string;
|
|
1612
1635
|
scaled: string;
|
|
1613
1636
|
formatted: string;
|
|
@@ -1624,7 +1647,7 @@ declare const PRICE_FEED_IDS: {
|
|
|
1624
1647
|
type SupportedToken = keyof typeof PRICE_FEED_IDS;
|
|
1625
1648
|
declare const getTokenUsdPrice: (thor: ThorClient, token: SupportedToken, network: NETWORK_TYPE) => Promise<number>;
|
|
1626
1649
|
declare const getTokenUsdPriceQueryKey: (token: SupportedToken) => string[];
|
|
1627
|
-
declare const useGetTokenUsdPrice: (token: SupportedToken) =>
|
|
1650
|
+
declare const useGetTokenUsdPrice: (token: SupportedToken) => _tanstack_react_query8.UseQueryResult<number, Error>;
|
|
1628
1651
|
//#endregion
|
|
1629
1652
|
//#region src/hooks/api/wallet/useOraclePriceChanges24h.d.ts
|
|
1630
1653
|
type PricePoint = {
|
|
@@ -1645,7 +1668,7 @@ type PriceChanges24h = Partial<Record<SupportedToken, number>>;
|
|
|
1645
1668
|
* `useTokenPriceHistory24h`, the portfolio chart) all derive from this single
|
|
1646
1669
|
* query so we never run the same RPC scan twice in a session.
|
|
1647
1670
|
*/
|
|
1648
|
-
declare const useOracleHistory24h: () =>
|
|
1671
|
+
declare const useOracleHistory24h: () => _tanstack_react_query8.UseQueryResult<OracleHistory24h, Error>;
|
|
1649
1672
|
declare const useOraclePriceChanges24h: () => {
|
|
1650
1673
|
data: Partial<Record<"B3TR" | "VET" | "VTHO" | "GBP" | "EUR", number>>;
|
|
1651
1674
|
};
|
|
@@ -1663,7 +1686,7 @@ declare const usePortfolioPriceHistory24h: (address?: string) => {
|
|
|
1663
1686
|
//#endregion
|
|
1664
1687
|
//#region src/hooks/api/wallet/useGetVot3Balance.d.ts
|
|
1665
1688
|
declare const getVot3BalanceQueryKey: (address?: string) => (string | undefined)[];
|
|
1666
|
-
declare const useGetVot3Balance: (address?: string) =>
|
|
1689
|
+
declare const useGetVot3Balance: (address?: string) => _tanstack_react_query8.UseQueryResult<{
|
|
1667
1690
|
original: string;
|
|
1668
1691
|
scaled: string;
|
|
1669
1692
|
formatted: string;
|
|
@@ -1682,7 +1705,7 @@ declare const getIsPersonQueryKey: (user: string, networkType: NETWORK_TYPE) =>
|
|
|
1682
1705
|
* @param user - The user address.
|
|
1683
1706
|
* @returns The isPerson status.
|
|
1684
1707
|
*/
|
|
1685
|
-
declare const useIsPerson: (user?: string | null) =>
|
|
1708
|
+
declare const useIsPerson: (user?: string | null) => _tanstack_react_query8.UseQueryResult<boolean, Error>;
|
|
1686
1709
|
//#endregion
|
|
1687
1710
|
//#region src/hooks/api/wallet/useMostVotedAppsInRound.d.ts
|
|
1688
1711
|
type XApp = {
|
|
@@ -1720,7 +1743,7 @@ declare const useRefreshMetadata: (domain: string, address: string) => {
|
|
|
1720
1743
|
//#endregion
|
|
1721
1744
|
//#region src/hooks/api/wallet/useRoundXApps.d.ts
|
|
1722
1745
|
declare const getRoundXAppsQueryKey: (roundId: string, networkType: NETWORK_TYPE) => unknown[];
|
|
1723
|
-
declare const useRoundXApps: (roundId?: string) =>
|
|
1746
|
+
declare const useRoundXApps: (roundId?: string) => _tanstack_react_query8.UseQueryResult<{
|
|
1724
1747
|
id: string;
|
|
1725
1748
|
teamWalletAddress: `0x${string}`;
|
|
1726
1749
|
name: string;
|
|
@@ -1834,7 +1857,7 @@ type XAppMetadata = {
|
|
|
1834
1857
|
* @returns The metadata of the xApp see {@link XAppMetadata}
|
|
1835
1858
|
*/
|
|
1836
1859
|
declare const getXAppMetadata: (uri: string, networkType: NETWORK_TYPE) => Promise<XAppMetadata | undefined>;
|
|
1837
|
-
declare const useXAppMetadata: (xAppId: string) =>
|
|
1860
|
+
declare const useXAppMetadata: (xAppId: string) => _tanstack_react_query8.UseQueryResult<XAppMetadata | undefined, Error>;
|
|
1838
1861
|
//#endregion
|
|
1839
1862
|
//#region src/hooks/api/wallet/useXAppShares.d.ts
|
|
1840
1863
|
/**
|
|
@@ -1849,7 +1872,7 @@ declare const getXAppsSharesQueryKey: (roundId?: number | string) => (string | n
|
|
|
1849
1872
|
* @returns the shares (% of allocation pool) for the xApps in the round { allocated: number, unallocated: number }
|
|
1850
1873
|
*
|
|
1851
1874
|
*/
|
|
1852
|
-
declare const useXAppsShares: (apps: string[], roundId?: string) =>
|
|
1875
|
+
declare const useXAppsShares: (apps: string[], roundId?: string) => _tanstack_react_query8.UseQueryResult<{
|
|
1853
1876
|
app: string;
|
|
1854
1877
|
share: number;
|
|
1855
1878
|
unallocatedShare: number;
|
|
@@ -1871,7 +1894,7 @@ declare const getIpfsMetadataQueryKey: (networkType: NETWORK_TYPE, ipfsUri?: str
|
|
|
1871
1894
|
* @param ipfsUri - The IPFS URI
|
|
1872
1895
|
* @returns The metadata from IPFS
|
|
1873
1896
|
*/
|
|
1874
|
-
declare const useIpfsMetadata: <T$1>(ipfsUri?: string, parseJson?: boolean) =>
|
|
1897
|
+
declare const useIpfsMetadata: <T$1>(ipfsUri?: string, parseJson?: boolean) => _tanstack_react_query8.UseQueryResult<_tanstack_react_query8.NoInfer<T$1>, Error>;
|
|
1875
1898
|
//#endregion
|
|
1876
1899
|
//#region src/hooks/api/ipfs/useIpfsImage.d.ts
|
|
1877
1900
|
interface IpfsImage {
|
|
@@ -1898,14 +1921,14 @@ declare const getIpfsImageQueryKey: (networkType: NETWORK_TYPE, imageIpfsUri?: n
|
|
|
1898
1921
|
* @param imageIpfsUri - The IPFS URI of the NFT media
|
|
1899
1922
|
* @returns The NFT media
|
|
1900
1923
|
*/
|
|
1901
|
-
declare const useIpfsImage: (imageIpfsUri?: null | string) =>
|
|
1924
|
+
declare const useIpfsImage: (imageIpfsUri?: null | string) => _tanstack_react_query8.UseQueryResult<IpfsImage, Error>;
|
|
1902
1925
|
/**
|
|
1903
1926
|
* Custom hook to fetch a list of IPFS images.
|
|
1904
1927
|
*
|
|
1905
1928
|
* @param imageIpfsUriList - An array of IPFS URIs for the images.
|
|
1906
1929
|
* @returns An array of queries for each IPFS image URI.
|
|
1907
1930
|
*/
|
|
1908
|
-
declare const useIpfsImageList: (imageIpfsUriList: string[]) =>
|
|
1931
|
+
declare const useIpfsImageList: (imageIpfsUriList: string[]) => _tanstack_react_query8.UseQueryResult<IpfsImage, Error>[];
|
|
1909
1932
|
//#endregion
|
|
1910
1933
|
//#region src/hooks/api/ipfs/useIpfsMetadatas.d.ts
|
|
1911
1934
|
/**
|
|
@@ -1913,7 +1936,7 @@ declare const useIpfsImageList: (imageIpfsUriList: string[]) => _tanstack_react_
|
|
|
1913
1936
|
* @param ipfsUris - The IPFS URIs
|
|
1914
1937
|
* @returns The metadata from IPFS for each URI
|
|
1915
1938
|
*/
|
|
1916
|
-
declare const useIpfsMetadatas: <T$1>(ipfsUris: string[], parseJson?: boolean) =>
|
|
1939
|
+
declare const useIpfsMetadatas: <T$1>(ipfsUris: string[], parseJson?: boolean) => _tanstack_react_query8.UseQueryResult<T$1, Error>[];
|
|
1917
1940
|
//#endregion
|
|
1918
1941
|
//#region src/hooks/api/ipfs/useUploadImages.d.ts
|
|
1919
1942
|
declare const imageCompressionOptions: Options;
|
|
@@ -2094,7 +2117,7 @@ declare const useSwapTransaction: (params: SwapParams | null, quote: SwapQuote |
|
|
|
2094
2117
|
executeSwap: () => Promise<void>;
|
|
2095
2118
|
isTransactionPending: boolean;
|
|
2096
2119
|
isWaitingForWalletConfirmation: boolean;
|
|
2097
|
-
txReceipt:
|
|
2120
|
+
txReceipt: _vechain_sdk_network0.TransactionReceipt | null;
|
|
2098
2121
|
status: TransactionStatus;
|
|
2099
2122
|
resetStatus: () => void;
|
|
2100
2123
|
error: TransactionStatusErrorType | undefined;
|
|
@@ -2172,7 +2195,7 @@ declare const useTransferHistory: (address?: string, {
|
|
|
2172
2195
|
isFetching: boolean;
|
|
2173
2196
|
isFetchingNextPage: boolean;
|
|
2174
2197
|
hasNextPage: boolean;
|
|
2175
|
-
fetchNextPage: (options?:
|
|
2198
|
+
fetchNextPage: (options?: _tanstack_react_query8.FetchNextPageOptions) => Promise<_tanstack_react_query8.InfiniteQueryObserverResult<_tanstack_react_query8.InfiniteData<{
|
|
2176
2199
|
items: TransferHistoryItem[];
|
|
2177
2200
|
hasNext: boolean;
|
|
2178
2201
|
}, unknown>, Error>>;
|
|
@@ -2189,7 +2212,7 @@ declare const useTokenTransferHistory: (address?: string, tokenAddress?: string
|
|
|
2189
2212
|
isFetching: boolean;
|
|
2190
2213
|
isFetchingNextPage: boolean;
|
|
2191
2214
|
hasNextPage: boolean;
|
|
2192
|
-
fetchNextPage: (options?:
|
|
2215
|
+
fetchNextPage: (options?: _tanstack_query_core2.FetchNextPageOptions) => Promise<_tanstack_query_core2.InfiniteQueryObserverResult<_tanstack_query_core2.InfiniteData<{
|
|
2193
2216
|
items: TransferHistoryItem[];
|
|
2194
2217
|
hasNext: boolean;
|
|
2195
2218
|
}, unknown>, Error>>;
|
|
@@ -2331,7 +2354,7 @@ declare const useOwnedNfts: (address?: string) => {
|
|
|
2331
2354
|
isFetching: boolean;
|
|
2332
2355
|
isFetchingNextPage: boolean;
|
|
2333
2356
|
hasNextPage: boolean;
|
|
2334
|
-
fetchNextPage: (options?:
|
|
2357
|
+
fetchNextPage: (options?: _tanstack_react_query8.FetchNextPageOptions) => Promise<_tanstack_react_query8.InfiniteQueryObserverResult<_tanstack_react_query8.InfiniteData<OwnedNftsPage, unknown>, Error>>;
|
|
2335
2358
|
isUnsupportedNetwork: boolean;
|
|
2336
2359
|
error: Error | null;
|
|
2337
2360
|
};
|
|
@@ -2363,7 +2386,7 @@ declare const useOwnedNftsFiltered: (address?: string) => {
|
|
|
2363
2386
|
isFetching: boolean;
|
|
2364
2387
|
isFetchingNextPage: boolean;
|
|
2365
2388
|
hasNextPage: boolean;
|
|
2366
|
-
fetchNextPage: (options?:
|
|
2389
|
+
fetchNextPage: (options?: _tanstack_query_core2.FetchNextPageOptions) => Promise<_tanstack_query_core2.InfiniteQueryObserverResult<_tanstack_query_core2.InfiniteData<{
|
|
2367
2390
|
items: OwnedNft[];
|
|
2368
2391
|
hasNext: boolean;
|
|
2369
2392
|
}, unknown>, Error>>;
|
|
@@ -2404,7 +2427,7 @@ declare const ConnectModalProvider: ({
|
|
|
2404
2427
|
children
|
|
2405
2428
|
}: {
|
|
2406
2429
|
children: ReactNode;
|
|
2407
|
-
}) =>
|
|
2430
|
+
}) => react_jsx_runtime0.JSX.Element;
|
|
2408
2431
|
//#endregion
|
|
2409
2432
|
//#region src/hooks/modals/useAccountModal.d.ts
|
|
2410
2433
|
declare const useAccountModal: () => {
|
|
@@ -2416,7 +2439,7 @@ declare const AccountModalProvider: ({
|
|
|
2416
2439
|
children
|
|
2417
2440
|
}: {
|
|
2418
2441
|
children: ReactNode;
|
|
2419
|
-
}) =>
|
|
2442
|
+
}) => react_jsx_runtime0.JSX.Element;
|
|
2420
2443
|
//#endregion
|
|
2421
2444
|
//#region src/hooks/modals/useTransactionModal.d.ts
|
|
2422
2445
|
declare const useTransactionModal: () => {
|
|
@@ -2428,7 +2451,7 @@ declare const TransactionModalProvider: ({
|
|
|
2428
2451
|
children
|
|
2429
2452
|
}: {
|
|
2430
2453
|
children: ReactNode;
|
|
2431
|
-
}) =>
|
|
2454
|
+
}) => react_jsx_runtime0.JSX.Element;
|
|
2432
2455
|
//#endregion
|
|
2433
2456
|
//#region src/hooks/modals/useTransactionToast.d.ts
|
|
2434
2457
|
declare const useTransactionToast: () => {
|
|
@@ -2440,7 +2463,7 @@ declare const TransactionToastProvider: ({
|
|
|
2440
2463
|
children
|
|
2441
2464
|
}: {
|
|
2442
2465
|
children: ReactNode;
|
|
2443
|
-
}) =>
|
|
2466
|
+
}) => react_jsx_runtime0.JSX.Element;
|
|
2444
2467
|
//#endregion
|
|
2445
2468
|
//#region src/hooks/modals/useWalletModal.d.ts
|
|
2446
2469
|
declare const useWalletModal: () => {
|
|
@@ -2452,7 +2475,7 @@ declare const WalletModalProvider: ({
|
|
|
2452
2475
|
children
|
|
2453
2476
|
}: {
|
|
2454
2477
|
children: ReactNode;
|
|
2455
|
-
}) =>
|
|
2478
|
+
}) => react_jsx_runtime0.JSX.Element;
|
|
2456
2479
|
//#endregion
|
|
2457
2480
|
//#region src/hooks/modals/useChooseNameModal.d.ts
|
|
2458
2481
|
declare const useChooseNameModal: () => {
|
|
@@ -2464,7 +2487,7 @@ declare const ChooseNameModalProvider: ({
|
|
|
2464
2487
|
children
|
|
2465
2488
|
}: {
|
|
2466
2489
|
children: ReactNode;
|
|
2467
|
-
}) =>
|
|
2490
|
+
}) => react_jsx_runtime0.JSX.Element;
|
|
2468
2491
|
//#endregion
|
|
2469
2492
|
//#region src/hooks/modals/useSendTokenModal.d.ts
|
|
2470
2493
|
declare const useSendTokenModal: () => {
|
|
@@ -2476,7 +2499,7 @@ declare const SendTokenModalProvider: ({
|
|
|
2476
2499
|
children
|
|
2477
2500
|
}: {
|
|
2478
2501
|
children: ReactNode;
|
|
2479
|
-
}) =>
|
|
2502
|
+
}) => react_jsx_runtime0.JSX.Element;
|
|
2480
2503
|
//#endregion
|
|
2481
2504
|
//#region src/hooks/modals/useSwapTokenModal.d.ts
|
|
2482
2505
|
type SwapTokenModalOptions = {
|
|
@@ -2493,7 +2516,7 @@ declare const SwapTokenModalProvider: ({
|
|
|
2493
2516
|
children
|
|
2494
2517
|
}: {
|
|
2495
2518
|
children: ReactNode;
|
|
2496
|
-
}) =>
|
|
2519
|
+
}) => react_jsx_runtime0.JSX.Element;
|
|
2497
2520
|
//#endregion
|
|
2498
2521
|
//#region src/hooks/modals/useExploreEcosystemModal.d.ts
|
|
2499
2522
|
declare const useExploreEcosystemModal: () => {
|
|
@@ -2505,7 +2528,7 @@ declare const ExploreEcosystemModalProvider: ({
|
|
|
2505
2528
|
children
|
|
2506
2529
|
}: {
|
|
2507
2530
|
children: ReactNode;
|
|
2508
|
-
}) =>
|
|
2531
|
+
}) => react_jsx_runtime0.JSX.Element;
|
|
2509
2532
|
//#endregion
|
|
2510
2533
|
//#region src/hooks/modals/useNotificationsModal.d.ts
|
|
2511
2534
|
declare const useNotificationsModal: () => {
|
|
@@ -2517,7 +2540,7 @@ declare const NotificationsModalProvider: ({
|
|
|
2517
2540
|
children
|
|
2518
2541
|
}: {
|
|
2519
2542
|
children: ReactNode;
|
|
2520
|
-
}) =>
|
|
2543
|
+
}) => react_jsx_runtime0.JSX.Element;
|
|
2521
2544
|
//#endregion
|
|
2522
2545
|
//#region src/hooks/modals/useFAQModal.d.ts
|
|
2523
2546
|
declare const useFAQModal: () => {
|
|
@@ -2529,7 +2552,7 @@ declare const FAQModalProvider: ({
|
|
|
2529
2552
|
children
|
|
2530
2553
|
}: {
|
|
2531
2554
|
children: ReactNode;
|
|
2532
|
-
}) =>
|
|
2555
|
+
}) => react_jsx_runtime0.JSX.Element;
|
|
2533
2556
|
//#endregion
|
|
2534
2557
|
//#region src/hooks/modals/useAccountCustomizationModal.d.ts
|
|
2535
2558
|
declare const useAccountCustomizationModal: () => {
|
|
@@ -2541,7 +2564,7 @@ declare const AccountCustomizationModalProvider: ({
|
|
|
2541
2564
|
children
|
|
2542
2565
|
}: {
|
|
2543
2566
|
children: ReactNode;
|
|
2544
|
-
}) =>
|
|
2567
|
+
}) => react_jsx_runtime0.JSX.Element;
|
|
2545
2568
|
//#endregion
|
|
2546
2569
|
//#region src/hooks/modals/useReceiveModal.d.ts
|
|
2547
2570
|
declare const useReceiveModal: () => {
|
|
@@ -2553,7 +2576,7 @@ declare const ReceiveModalProvider: ({
|
|
|
2553
2576
|
children
|
|
2554
2577
|
}: {
|
|
2555
2578
|
children: ReactNode;
|
|
2556
|
-
}) =>
|
|
2579
|
+
}) => react_jsx_runtime0.JSX.Element;
|
|
2557
2580
|
//#endregion
|
|
2558
2581
|
//#region src/hooks/modals/useLoginModalContent.d.ts
|
|
2559
2582
|
type LoginModalContentConfig = {
|
|
@@ -2583,7 +2606,7 @@ declare const UpgradeSmartAccountModalProvider: ({
|
|
|
2583
2606
|
children
|
|
2584
2607
|
}: {
|
|
2585
2608
|
children: ReactNode;
|
|
2586
|
-
}) =>
|
|
2609
|
+
}) => react_jsx_runtime0.JSX.Element;
|
|
2587
2610
|
//#endregion
|
|
2588
2611
|
//#region src/hooks/modals/useProfileModal.d.ts
|
|
2589
2612
|
declare const useProfileModal: () => {
|
|
@@ -2595,7 +2618,7 @@ declare const ProfileModalProvider: ({
|
|
|
2595
2618
|
children
|
|
2596
2619
|
}: {
|
|
2597
2620
|
children: ReactNode;
|
|
2598
|
-
}) =>
|
|
2621
|
+
}) => react_jsx_runtime0.JSX.Element;
|
|
2599
2622
|
//#endregion
|
|
2600
2623
|
//#region src/hooks/modals/useAccountModalOptions.d.ts
|
|
2601
2624
|
declare const useAccountModalOptions: () => {
|
|
@@ -2613,7 +2636,7 @@ declare const SettingsModalProvider: ({
|
|
|
2613
2636
|
children
|
|
2614
2637
|
}: {
|
|
2615
2638
|
children: ReactNode;
|
|
2616
|
-
}) =>
|
|
2639
|
+
}) => react_jsx_runtime0.JSX.Element;
|
|
2617
2640
|
//#endregion
|
|
2618
2641
|
//#region src/hooks/notifications/types.d.ts
|
|
2619
2642
|
type NotificationAction = {
|
|
@@ -2692,9 +2715,30 @@ declare const useLoginWithOAuth: () => {
|
|
|
2692
2715
|
}: OAuthOptions) => Promise<void>;
|
|
2693
2716
|
};
|
|
2694
2717
|
//#endregion
|
|
2718
|
+
//#region src/providers/PrivyCrossAppProvider.d.ts
|
|
2719
|
+
/**
|
|
2720
|
+
* Login methods that requester apps can pre-select on the whitelabel
|
|
2721
|
+
* cross-app-connect host. When passed, the host skips its provider picker
|
|
2722
|
+
* and jumps straight into the matching flow.
|
|
2723
|
+
*
|
|
2724
|
+
* Matches the providers enabled in VeChain's Privy dashboard. Email is
|
|
2725
|
+
* intentionally excluded -- VeChain has email disabled, so the host
|
|
2726
|
+
* doesn't surface it. Farcaster is included but currently shows a
|
|
2727
|
+
* "coming soon" placeholder on the host (SIWF flow not yet wired).
|
|
2728
|
+
*/
|
|
2729
|
+
type CrossAppLoginIntent = 'google' | 'apple' | 'twitter' | 'discord' | 'github' | 'tiktok' | 'line' | 'phone' | 'farcaster';
|
|
2730
|
+
//#endregion
|
|
2695
2731
|
//#region src/hooks/login/useLoginWithVeChain.d.ts
|
|
2732
|
+
type UseLoginWithVeChainOptions = {
|
|
2733
|
+
/**
|
|
2734
|
+
* Pre-select a login method on the VeChain whitelabel connect page.
|
|
2735
|
+
* When set, the user skips the provider picker and jumps straight into
|
|
2736
|
+
* the matching OAuth flow (or email form for `'email'`).
|
|
2737
|
+
*/
|
|
2738
|
+
intent?: CrossAppLoginIntent;
|
|
2739
|
+
};
|
|
2696
2740
|
declare const useLoginWithVeChain: () => {
|
|
2697
|
-
login: () => Promise<void>;
|
|
2741
|
+
login: (options?: UseLoginWithVeChainOptions) => Promise<void>;
|
|
2698
2742
|
};
|
|
2699
2743
|
//#endregion
|
|
2700
2744
|
//#region src/hooks/login/useConnectWithDappKitSource.d.ts
|
|
@@ -2759,7 +2803,7 @@ declare const fetchAppHubApps: () => Promise<AppHubApp[]>;
|
|
|
2759
2803
|
* );
|
|
2760
2804
|
* ```
|
|
2761
2805
|
*/
|
|
2762
|
-
declare const useAppHubApps: () =>
|
|
2806
|
+
declare const useAppHubApps: () => _tanstack_react_query8.UseQueryResult<AppHubApp[], Error>;
|
|
2763
2807
|
//#endregion
|
|
2764
2808
|
//#region src/utils/constants.d.ts
|
|
2765
2809
|
/** Tokens that cannot be swapped or transferred (e.g. governance voting tokens) */
|
|
@@ -2787,6 +2831,15 @@ declare const ENV: {
|
|
|
2787
2831
|
readonly isProduction: boolean;
|
|
2788
2832
|
};
|
|
2789
2833
|
declare const getGenericDelegatorUrl: () => "https://mainnet.delegator.vechain.org/api/v1/" | "https://testnet.delegator.vechain.org/api/v1/";
|
|
2834
|
+
/**
|
|
2835
|
+
* VeChain-sponsored fee-delegator endpoint used by kit-managed onboarding
|
|
2836
|
+
* transactions (claim a VET domain, set a primary name, update profile
|
|
2837
|
+
* text records, etc.) so first-time users with no gas tokens can still
|
|
2838
|
+
* complete these flows. VeChain pays the gas via the configured
|
|
2839
|
+
* sponsor.vechain.energy endpoint; consumer dApps don't need to set up
|
|
2840
|
+
* their own fee delegation to support these kit features.
|
|
2841
|
+
*/
|
|
2842
|
+
declare const getKitSponsoredDelegatorUrl: () => "https://sponsor.vechain.energy/by/1060" | "https://sponsor-testnet.vechain.energy/by/221";
|
|
2790
2843
|
type PrivyEcosystemApp = {
|
|
2791
2844
|
id: string;
|
|
2792
2845
|
name: string;
|
|
@@ -3114,7 +3167,7 @@ declare const useCallClause: <TAbi extends Abi, TMethod extends ExtractAbiFuncti
|
|
|
3114
3167
|
method: TMethod;
|
|
3115
3168
|
args: AbiParametersToPrimitiveTypes<ExtractViewFunction<TAbi, TMethod>["inputs"], "inputs">;
|
|
3116
3169
|
queryOptions?: Omit<UseQueryOptions<ViewFunctionResult<TAbi, TMethod>, unknown, TData, ReturnType<typeof getCallClauseQueryKeyWithArgs<TAbi, TMethod>>>, "queryKey" | "queryFn">;
|
|
3117
|
-
}) =>
|
|
3170
|
+
}) => _tanstack_react_query8.UseQueryResult<_tanstack_react_query8.NoInfer<TData>, unknown>;
|
|
3118
3171
|
declare const useMultipleClausesCall: <contracts extends readonly ContractFunctionParameters[], allowFailure extends boolean = false>({
|
|
3119
3172
|
thor,
|
|
3120
3173
|
calls,
|
|
@@ -3125,7 +3178,7 @@ declare const useMultipleClausesCall: <contracts extends readonly ContractFuncti
|
|
|
3125
3178
|
calls: MultipleClausesCallParameters<contracts, allowFailure>;
|
|
3126
3179
|
queryKey: string[];
|
|
3127
3180
|
enabled?: boolean;
|
|
3128
|
-
}) =>
|
|
3181
|
+
}) => _tanstack_react_query8.UseQueryResult<_tanstack_react_query8.NoInfer<MultipleClausesCallReturnType<contracts, false>>, Error>;
|
|
3129
3182
|
//#endregion
|
|
3130
3183
|
//#region src/hooks/utils/useCurrency.d.ts
|
|
3131
3184
|
/**
|
|
@@ -3249,7 +3302,7 @@ declare const useEvents: <T$1 extends Abi, K extends ContractEventName<T$1>, R>(
|
|
|
3249
3302
|
filterParams,
|
|
3250
3303
|
mapResponse,
|
|
3251
3304
|
nodeUrl
|
|
3252
|
-
}: UseEventsParams<T$1, K, R>) =>
|
|
3305
|
+
}: UseEventsParams<T$1, K, R>) => _tanstack_react_query8.UseQueryResult<R[], Error>;
|
|
3253
3306
|
//#endregion
|
|
3254
3307
|
//#region src/hooks/utils/useBuildClauses.d.ts
|
|
3255
3308
|
interface BuildClausesParams {
|
|
@@ -3348,10 +3401,103 @@ declare const useCrossAppConnectionCache: () => {
|
|
|
3348
3401
|
};
|
|
3349
3402
|
//#endregion
|
|
3350
3403
|
//#region src/hooks/generic-delegator/useGenericDelegator.d.ts
|
|
3404
|
+
/**
|
|
3405
|
+
* Safety multiplier applied on top of the locally-estimated gas to absorb
|
|
3406
|
+
* variance between simulation and on-chain execution. Mirrors VeWorld
|
|
3407
|
+
* mobile's heuristic.
|
|
3408
|
+
*/
|
|
3409
|
+
declare const GENERIC_DELEGATOR_GAS_SAFETY_MULTIPLIER = 1.1;
|
|
3410
|
+
/**
|
|
3411
|
+
* Fixed gas cost for the extra transfer clause that pays the generic
|
|
3412
|
+
* delegator's deposit account. VET transfers are bare value transfers
|
|
3413
|
+
* (~21k), ERC-20 transfers (VTHO, B3TR) are ~50-55k depending on the
|
|
3414
|
+
* recipient cold/warm state.
|
|
3415
|
+
*/
|
|
3416
|
+
declare const GENERIC_DELEGATOR_FEE_PAYER_OVERHEAD_GAS: Record<GasTokenType, number>;
|
|
3417
|
+
/**
|
|
3418
|
+
* Gas overhead added on top of the raw user-clause estimate to account for
|
|
3419
|
+
* the smart-account `executeWithAuthorization` / `executeBatchWithAuthorization`
|
|
3420
|
+
* wrapper (signature verification, calldata decoding, per-clause dispatch).
|
|
3421
|
+
*/
|
|
3422
|
+
declare const GENERIC_DELEGATOR_WRAPPER_OVERHEAD_GAS: Record<number, number>;
|
|
3351
3423
|
declare const estimateGas: (signerAddress: string, genericDelegatorUrl: string, clauses: any[], token: GasTokenType, speed: TransactionSpeed) => Promise<any>;
|
|
3352
3424
|
declare const getDepositAccount: (genericDelegatorUrl: string) => Promise<DepositAccount>;
|
|
3353
3425
|
declare const delegateAuthorized: (encodedSignedTx: string, origin: string, token: GasTokenType, genericDelegatorUrl: string) => Promise<any>;
|
|
3354
3426
|
declare const estimateAndBuildTxBody: (clauses: TransactionClause[], thor: ThorClient, randomTransactionUser: Wallet, isDelegated: boolean) => Promise<_vechain_sdk_core0.TransactionBody>;
|
|
3427
|
+
/**
|
|
3428
|
+
* Hard timeout (ms) applied to the local Thor gas estimation. Stops the
|
|
3429
|
+
* fee-estimation UI from hanging if the node is slow or unreachable.
|
|
3430
|
+
*/
|
|
3431
|
+
declare const GENERIC_DELEGATOR_LOCAL_ESTIMATE_TIMEOUT_MS = 6000;
|
|
3432
|
+
/**
|
|
3433
|
+
* Run the local Thor gas estimation for the user's raw clauses (caller =
|
|
3434
|
+
* smart account) and return the gas-token-agnostic total: raw gas + wrapper
|
|
3435
|
+
* overhead, padded by the safety multiplier. Returns `null` if the
|
|
3436
|
+
* simulation reverts, times out, or returns a non-positive number — the
|
|
3437
|
+
* caller should then fall back to a delegator-derived estimate.
|
|
3438
|
+
*
|
|
3439
|
+
* The output is independent of the gas token, so callers iterating over
|
|
3440
|
+
* a token-priority list should call this once and reuse the result.
|
|
3441
|
+
*/
|
|
3442
|
+
declare const computeCorrectedTotalGasNoFeePayer: ({
|
|
3443
|
+
thor,
|
|
3444
|
+
clauses,
|
|
3445
|
+
smartAccountAddress,
|
|
3446
|
+
version,
|
|
3447
|
+
timeoutMs
|
|
3448
|
+
}: {
|
|
3449
|
+
thor: ThorClient;
|
|
3450
|
+
clauses: TransactionClause[];
|
|
3451
|
+
smartAccountAddress: string;
|
|
3452
|
+
version: number;
|
|
3453
|
+
timeoutMs?: number;
|
|
3454
|
+
}) => Promise<number | null>;
|
|
3455
|
+
/**
|
|
3456
|
+
* Convert a gas number (without the fee-payer transfer overhead) into the
|
|
3457
|
+
* gas-token amount required to cover the transaction, using the per-gas
|
|
3458
|
+
* rate returned by the delegator's `/estimate/clauses` response (which is
|
|
3459
|
+
* accurate even when the absolute gas number from the same response is
|
|
3460
|
+
* not). Adds the gas-token-specific fee-payer transfer overhead.
|
|
3461
|
+
*/
|
|
3462
|
+
declare const convertGasToGasTokenAmount: ({
|
|
3463
|
+
totalGasNoFeePayer,
|
|
3464
|
+
gasToken,
|
|
3465
|
+
estimationResponse
|
|
3466
|
+
}: {
|
|
3467
|
+
totalGasNoFeePayer: number;
|
|
3468
|
+
gasToken: GasTokenType;
|
|
3469
|
+
estimationResponse: EstimationResponse;
|
|
3470
|
+
}) => number;
|
|
3471
|
+
/**
|
|
3472
|
+
* Compute the gas-token amount the smart account must transfer to the
|
|
3473
|
+
* generic delegator's deposit account to cover the transaction.
|
|
3474
|
+
*
|
|
3475
|
+
* The delegator's `/estimate/clauses` endpoint simulates the user's raw
|
|
3476
|
+
* clauses as if executed directly by the smart account, with no
|
|
3477
|
+
* `executeWithAuthorization` wrapper and no embedded-wallet signature, so
|
|
3478
|
+
* it under-estimates (and for NFT-heavy clauses can revert outright). We
|
|
3479
|
+
* trust its **rate** information (the gas-token-per-gas ratio is just a
|
|
3480
|
+
* market price and doesn't depend on the gas amount) but recompute the
|
|
3481
|
+
* gas number locally — including the wrapper overhead, fee-payer overhead,
|
|
3482
|
+
* and a 10% safety multiplier — and reapply the rate.
|
|
3483
|
+
*/
|
|
3484
|
+
declare const computeCorrectedGasTokenCost: ({
|
|
3485
|
+
thor,
|
|
3486
|
+
clauses,
|
|
3487
|
+
smartAccountAddress,
|
|
3488
|
+
version,
|
|
3489
|
+
estimationResponse,
|
|
3490
|
+
gasToken,
|
|
3491
|
+
timeoutMs
|
|
3492
|
+
}: {
|
|
3493
|
+
thor: ThorClient;
|
|
3494
|
+
clauses: TransactionClause[];
|
|
3495
|
+
smartAccountAddress: string;
|
|
3496
|
+
version: number;
|
|
3497
|
+
estimationResponse: EstimationResponse;
|
|
3498
|
+
gasToken: GasTokenType;
|
|
3499
|
+
timeoutMs?: number;
|
|
3500
|
+
}) => Promise<number>;
|
|
3355
3501
|
/**
|
|
3356
3502
|
* Sign the final transaction with the given private key and signature
|
|
3357
3503
|
* returned by the generic delegator.
|
|
@@ -3401,7 +3547,7 @@ declare const useGenericDelegatorFeeEstimation: ({
|
|
|
3401
3547
|
tokens,
|
|
3402
3548
|
sendingAmount,
|
|
3403
3549
|
sendingTokenSymbol
|
|
3404
|
-
}: useGenericDelegatorFeeEstimationParams) =>
|
|
3550
|
+
}: useGenericDelegatorFeeEstimationParams) => _tanstack_react_query8.UseQueryResult<EstimationResponse & {
|
|
3405
3551
|
usedToken: string;
|
|
3406
3552
|
}, Error>;
|
|
3407
3553
|
//#endregion
|
|
@@ -3415,7 +3561,7 @@ declare const useEstimateAllTokens: ({
|
|
|
3415
3561
|
clauses,
|
|
3416
3562
|
tokens,
|
|
3417
3563
|
enabled
|
|
3418
|
-
}: UseEstimateAllTokensParams) =>
|
|
3564
|
+
}: UseEstimateAllTokensParams) => _tanstack_react_query8.UseQueryResult<Record<GasTokenType, {
|
|
3419
3565
|
cost: number;
|
|
3420
3566
|
loading: boolean;
|
|
3421
3567
|
error?: string;
|
|
@@ -3432,7 +3578,7 @@ declare const getAccountBalanceQueryKey: (address?: string) => (string | undefin
|
|
|
3432
3578
|
* @param address The address of the account to get the balance for
|
|
3433
3579
|
* @returns The account balance
|
|
3434
3580
|
*/
|
|
3435
|
-
declare const useAccountBalance: (address?: string) =>
|
|
3581
|
+
declare const useAccountBalance: (address?: string) => _tanstack_react_query8.UseQueryResult<{
|
|
3436
3582
|
balance: string;
|
|
3437
3583
|
energy: string;
|
|
3438
3584
|
}, Error>;
|
|
@@ -3445,7 +3591,7 @@ declare const getAccountImplementationAddressQueryKey: (version?: number, networ
|
|
|
3445
3591
|
* @param version - The version of the smart account implementation
|
|
3446
3592
|
* @returns The address of the smart account implementation
|
|
3447
3593
|
*/
|
|
3448
|
-
declare const useAccountImplementationAddress: (version?: number) =>
|
|
3594
|
+
declare const useAccountImplementationAddress: (version?: number) => _tanstack_react_query8.UseQueryResult<string, Error>;
|
|
3449
3595
|
//#endregion
|
|
3450
3596
|
//#region src/hooks/thor/smartAccounts/useCurrentAccountImplementationVersion.d.ts
|
|
3451
3597
|
declare const getCurrentAccountImplementationVersion: (thor: ThorClient, networkType?: NETWORK_TYPE) => Promise<number>;
|
|
@@ -3454,7 +3600,7 @@ declare const getCurrentAccountImplementationVersionQueryKey: (networkType?: NET
|
|
|
3454
3600
|
* Get the current account implementation version used by the smart account factory
|
|
3455
3601
|
* @returns The current account implementation version
|
|
3456
3602
|
*/
|
|
3457
|
-
declare const useCurrentAccountImplementationVersion: () =>
|
|
3603
|
+
declare const useCurrentAccountImplementationVersion: () => _tanstack_react_query8.UseQueryResult<number, Error>;
|
|
3458
3604
|
//#endregion
|
|
3459
3605
|
//#region src/hooks/thor/smartAccounts/useGetAccountAddress.d.ts
|
|
3460
3606
|
declare const getAccountAddress: (thor: ThorClient, ownerAddress?: string, networkType?: NETWORK_TYPE) => Promise<string>;
|
|
@@ -3464,7 +3610,7 @@ declare const getAccountAddressQueryKey: (ownerAddress?: string, networkType?: N
|
|
|
3464
3610
|
* @param ownerAddress - The address of the owner of the smart account
|
|
3465
3611
|
* @returns The address of the smart account
|
|
3466
3612
|
*/
|
|
3467
|
-
declare const useGetAccountAddress: (ownerAddress?: string) =>
|
|
3613
|
+
declare const useGetAccountAddress: (ownerAddress?: string) => _tanstack_react_query8.UseQueryResult<string, Error>;
|
|
3468
3614
|
//#endregion
|
|
3469
3615
|
//#region src/hooks/thor/smartAccounts/useGetAccountVersion.d.ts
|
|
3470
3616
|
declare const getAccountVersionQueryKey: (accountAddress: string, ownerAddress: string, networkType: NETWORK_TYPE) => unknown[];
|
|
@@ -3474,7 +3620,7 @@ declare const getAccountVersionQueryKey: (accountAddress: string, ownerAddress:
|
|
|
3474
3620
|
* @param ownerAddress - The address of the owner of the smart account
|
|
3475
3621
|
* @returns The version of the smart account
|
|
3476
3622
|
*/
|
|
3477
|
-
declare const useGetAccountVersion: (accountAddress: string, ownerAddress: string) =>
|
|
3623
|
+
declare const useGetAccountVersion: (accountAddress: string, ownerAddress: string) => _tanstack_react_query8.UseQueryResult<{
|
|
3478
3624
|
version: number;
|
|
3479
3625
|
isDeployed: boolean;
|
|
3480
3626
|
}, unknown>;
|
|
@@ -3487,7 +3633,7 @@ declare const getHasV1SmartAccountQueryKey: (ownerAddress?: string, networkType?
|
|
|
3487
3633
|
* @param ownerAddress - The address of the owner of the smart account
|
|
3488
3634
|
* @returns True if the smart account has a v1 smart account, false otherwise
|
|
3489
3635
|
*/
|
|
3490
|
-
declare const useHasV1SmartAccount: (ownerAddress?: string) =>
|
|
3636
|
+
declare const useHasV1SmartAccount: (ownerAddress?: string) => _tanstack_react_query8.UseQueryResult<boolean, Error>;
|
|
3491
3637
|
//#endregion
|
|
3492
3638
|
//#region src/hooks/thor/smartAccounts/useIsSmartAccountDeployed.d.ts
|
|
3493
3639
|
declare const getIsDeployed: (thor: ThorClient, accountAddress?: string) => Promise<boolean>;
|
|
@@ -3496,7 +3642,7 @@ declare const getIsDeployedQueryKey: (contractAddress?: string) => (string | und
|
|
|
3496
3642
|
* Check if a smart account is deployed
|
|
3497
3643
|
* @returns True if the smart account is deployed, false otherwise
|
|
3498
3644
|
*/
|
|
3499
|
-
declare const useIsSmartAccountDeployed: (accountAddress?: string) =>
|
|
3645
|
+
declare const useIsSmartAccountDeployed: (accountAddress?: string) => _tanstack_react_query8.UseQueryResult<boolean, Error>;
|
|
3500
3646
|
//#endregion
|
|
3501
3647
|
//#region src/hooks/thor/smartAccounts/useRefreshFactoryQueries.d.ts
|
|
3502
3648
|
/**
|
|
@@ -3529,7 +3675,7 @@ declare const getSmartAccount: (thor: ThorClient, network: NETWORK_TYPE, ownerAd
|
|
|
3529
3675
|
isDeployed: boolean;
|
|
3530
3676
|
}>;
|
|
3531
3677
|
declare const getSmartAccountQueryKey: (ownerAddress?: string) => (string | undefined)[];
|
|
3532
|
-
declare const useSmartAccount: (ownerAddress?: string) =>
|
|
3678
|
+
declare const useSmartAccount: (ownerAddress?: string) => _tanstack_react_query8.UseQueryResult<{
|
|
3533
3679
|
address: undefined;
|
|
3534
3680
|
isDeployed?: undefined;
|
|
3535
3681
|
} | {
|
|
@@ -3547,7 +3693,7 @@ declare const getUpgradeRequiredQueryKey: (accountAddress: string, ownerAddress:
|
|
|
3547
3693
|
* @param targetVersion - The version of the smart account to check for
|
|
3548
3694
|
* @returns True if the smart account needs an upgrade, false otherwise
|
|
3549
3695
|
*/
|
|
3550
|
-
declare const useUpgradeRequired: (accountAddress: string, ownerAddress: string, targetVersion: number) =>
|
|
3696
|
+
declare const useUpgradeRequired: (accountAddress: string, ownerAddress: string, targetVersion: number) => _tanstack_react_query8.UseQueryResult<boolean, Error>;
|
|
3551
3697
|
//#endregion
|
|
3552
3698
|
//#region src/hooks/thor/smartAccounts/useUpgradeRequiredForAccount.d.ts
|
|
3553
3699
|
declare const getUpgradeRequiredForAccount: (thor: ThorClient, contractAddress: string, targetVersion: number, networkType: NETWORK_TYPE) => Promise<boolean>;
|
|
@@ -3558,7 +3704,7 @@ declare const getUpgradeRequiredForAccountQueryKey: (contractAddress: string, ta
|
|
|
3558
3704
|
* @param targetVersion - The target version of the smart account
|
|
3559
3705
|
* @returns True if the smart account needs an upgrade, false otherwise
|
|
3560
3706
|
*/
|
|
3561
|
-
declare const useUpgradeRequiredForAccount: (contractAddress: string, targetVersion: number) =>
|
|
3707
|
+
declare const useUpgradeRequiredForAccount: (contractAddress: string, targetVersion: number) => _tanstack_react_query8.UseQueryResult<boolean, Error>;
|
|
3562
3708
|
//#endregion
|
|
3563
3709
|
//#region src/hooks/thor/smartAccounts/useUpgradeSmartAccount.d.ts
|
|
3564
3710
|
type UseUpgradeSmartAccountVersionProps = {
|
|
@@ -3583,7 +3729,7 @@ declare const currentBlockQueryKey: () => string[];
|
|
|
3583
3729
|
* Fetches the current block from the blockchain. The block is refetched every 10 seconds.
|
|
3584
3730
|
* @returns the current block
|
|
3585
3731
|
*/
|
|
3586
|
-
declare const useCurrentBlock: () =>
|
|
3732
|
+
declare const useCurrentBlock: () => _tanstack_react_query8.UseQueryResult<_vechain_sdk_network0.ExpandedBlockDetail, Error>;
|
|
3587
3733
|
//#endregion
|
|
3588
3734
|
//#region src/hooks/thor/blocks/useGetChainId.d.ts
|
|
3589
3735
|
declare const getChainId: (thor: ThorClient) => Promise<string>;
|
|
@@ -3592,7 +3738,7 @@ declare const getChainIdQueryKey: () => string[];
|
|
|
3592
3738
|
* Get the chain id
|
|
3593
3739
|
* @returns The chain id
|
|
3594
3740
|
*/
|
|
3595
|
-
declare const useGetChainId: () =>
|
|
3741
|
+
declare const useGetChainId: () => _tanstack_react_query8.UseQueryResult<string, Error>;
|
|
3596
3742
|
//#endregion
|
|
3597
3743
|
//#region src/hooks/thor/logs/logUtils.d.ts
|
|
3598
3744
|
/**
|
|
@@ -3857,7 +4003,7 @@ declare const useBuildTransaction: <ClausesParams>({
|
|
|
3857
4003
|
sendTransaction: (props: ClausesParams) => Promise<void>;
|
|
3858
4004
|
isTransactionPending: boolean;
|
|
3859
4005
|
isWaitingForWalletConfirmation: boolean;
|
|
3860
|
-
txReceipt:
|
|
4006
|
+
txReceipt: _vechain_sdk_network0.TransactionReceipt | null;
|
|
3861
4007
|
status: TransactionStatus;
|
|
3862
4008
|
resetStatus: () => void;
|
|
3863
4009
|
error?: TransactionStatusErrorType;
|
|
@@ -3872,7 +4018,7 @@ declare const txReceiptQueryKey: (txId: string) => string[];
|
|
|
3872
4018
|
* @param blockTimeout Optional timeout in milliseconds to stop polling for receipt
|
|
3873
4019
|
* @returns Query result containing the transaction receipt
|
|
3874
4020
|
*/
|
|
3875
|
-
declare const useTxReceipt: (txId: string, blockTimeout?: number) =>
|
|
4021
|
+
declare const useTxReceipt: (txId: string, blockTimeout?: number) => _tanstack_react_query8.UseQueryResult<_vechain_sdk_network0.TransactionReceipt, Error>;
|
|
3876
4022
|
//#endregion
|
|
3877
4023
|
//#region src/hooks/thor/transactions/useGasEstimate.d.ts
|
|
3878
4024
|
declare const useGasEstimate: (thor: ThorClient, clauses: TransactionClause[], caller: string, options?: {
|
|
@@ -3910,7 +4056,7 @@ declare const SendTokenContent: ({
|
|
|
3910
4056
|
initialAmount,
|
|
3911
4057
|
initialToAddressOrDomain,
|
|
3912
4058
|
onBack: parentOnBack
|
|
3913
|
-
}: SendTokenContentProps) =>
|
|
4059
|
+
}: SendTokenContentProps) => react_jsx_runtime0.JSX.Element;
|
|
3914
4060
|
//#endregion
|
|
3915
4061
|
//#region src/components/AccountModal/Contents/SendToken/SendTokenSummaryContent.d.ts
|
|
3916
4062
|
type SendTokenSummaryContentProps = {
|
|
@@ -3930,7 +4076,7 @@ declare const SendTokenSummaryContent: ({
|
|
|
3930
4076
|
amount,
|
|
3931
4077
|
selectedToken,
|
|
3932
4078
|
formattedTotalAmount
|
|
3933
|
-
}: SendTokenSummaryContentProps) =>
|
|
4079
|
+
}: SendTokenSummaryContentProps) => react_jsx_runtime0.JSX.Element;
|
|
3934
4080
|
//#endregion
|
|
3935
4081
|
//#region src/components/AccountModal/Contents/SendToken/SelectTokenContent.d.ts
|
|
3936
4082
|
type Props$20 = {
|
|
@@ -3951,7 +4097,7 @@ declare const SelectTokenContent: ({
|
|
|
3951
4097
|
onBack,
|
|
3952
4098
|
showAllTokens,
|
|
3953
4099
|
excludedTokenSymbols
|
|
3954
|
-
}: Props$20) =>
|
|
4100
|
+
}: Props$20) => react_jsx_runtime0.JSX.Element;
|
|
3955
4101
|
//#endregion
|
|
3956
4102
|
//#region src/components/AccountModal/Contents/Receive/ReceiveTokenContent.d.ts
|
|
3957
4103
|
type ReceiveTokenContentProps = {
|
|
@@ -3961,7 +4107,7 @@ type ReceiveTokenContentProps = {
|
|
|
3961
4107
|
declare const ReceiveTokenContent: ({
|
|
3962
4108
|
setCurrentContent,
|
|
3963
4109
|
onBack
|
|
3964
|
-
}: ReceiveTokenContentProps) =>
|
|
4110
|
+
}: ReceiveTokenContentProps) => react_jsx_runtime0.JSX.Element;
|
|
3965
4111
|
//#endregion
|
|
3966
4112
|
//#region src/components/AccountModal/Contents/Swap/SwapTokenContent.d.ts
|
|
3967
4113
|
type SwapTokenContentProps = {
|
|
@@ -3975,7 +4121,7 @@ declare const SwapTokenContent: ({
|
|
|
3975
4121
|
fromTokenAddress,
|
|
3976
4122
|
toTokenAddress,
|
|
3977
4123
|
onBack
|
|
3978
|
-
}: SwapTokenContentProps) =>
|
|
4124
|
+
}: SwapTokenContentProps) => react_jsx_runtime0.JSX.Element;
|
|
3979
4125
|
//#endregion
|
|
3980
4126
|
//#region src/components/AccountModal/Contents/ChooseName/ChooseNameContent.d.ts
|
|
3981
4127
|
type ChooseNameContentProps = {
|
|
@@ -3987,7 +4133,7 @@ declare const ChooseNameContent: ({
|
|
|
3987
4133
|
setCurrentContent,
|
|
3988
4134
|
onBack,
|
|
3989
4135
|
initialContentSource
|
|
3990
|
-
}: ChooseNameContentProps) =>
|
|
4136
|
+
}: ChooseNameContentProps) => react_jsx_runtime0.JSX.Element;
|
|
3991
4137
|
//#endregion
|
|
3992
4138
|
//#region src/components/AccountModal/Contents/ChooseName/ChooseNameSearchContent.d.ts
|
|
3993
4139
|
type ChooseNameSearchContentProps = {
|
|
@@ -3999,7 +4145,7 @@ declare const ChooseNameSearchContent: ({
|
|
|
3999
4145
|
name: initialName,
|
|
4000
4146
|
setCurrentContent,
|
|
4001
4147
|
initialContentSource
|
|
4002
|
-
}: ChooseNameSearchContentProps) =>
|
|
4148
|
+
}: ChooseNameSearchContentProps) => react_jsx_runtime0.JSX.Element;
|
|
4003
4149
|
//#endregion
|
|
4004
4150
|
//#region src/components/AccountModal/Contents/ChooseName/ChooseNameSummaryContent.d.ts
|
|
4005
4151
|
type ChooseNameSummaryContentProps = {
|
|
@@ -4017,7 +4163,7 @@ declare const ChooseNameSummaryContent: ({
|
|
|
4017
4163
|
isOwnDomain,
|
|
4018
4164
|
isUnsetting,
|
|
4019
4165
|
initialContentSource
|
|
4020
|
-
}: ChooseNameSummaryContentProps) =>
|
|
4166
|
+
}: ChooseNameSummaryContentProps) => react_jsx_runtime0.JSX.Element;
|
|
4021
4167
|
//#endregion
|
|
4022
4168
|
//#region src/components/AccountModal/Contents/FAQ/FAQContent.d.ts
|
|
4023
4169
|
type FAQContentProps = {
|
|
@@ -4027,7 +4173,7 @@ type FAQContentProps = {
|
|
|
4027
4173
|
declare const FAQContent: ({
|
|
4028
4174
|
onGoBack,
|
|
4029
4175
|
showLanguageSelector
|
|
4030
|
-
}: FAQContentProps) =>
|
|
4176
|
+
}: FAQContentProps) => react_jsx_runtime0.JSX.Element;
|
|
4031
4177
|
//#endregion
|
|
4032
4178
|
//#region src/components/AccountModal/Contents/Profile/Customization/CustomizationContent.d.ts
|
|
4033
4179
|
type AccountCustomizationContentProps = {
|
|
@@ -4037,7 +4183,7 @@ type AccountCustomizationContentProps = {
|
|
|
4037
4183
|
declare const CustomizationContent: ({
|
|
4038
4184
|
setCurrentContent,
|
|
4039
4185
|
initialContentSource
|
|
4040
|
-
}: AccountCustomizationContentProps) =>
|
|
4186
|
+
}: AccountCustomizationContentProps) => react_jsx_runtime0.JSX.Element;
|
|
4041
4187
|
//#endregion
|
|
4042
4188
|
//#region src/components/AccountModal/Contents/Profile/Customization/CustomizationSummaryContent.d.ts
|
|
4043
4189
|
type CustomizationSummaryContentProps = {
|
|
@@ -4056,7 +4202,7 @@ declare const CustomizationSummaryContent: ({
|
|
|
4056
4202
|
setCurrentContent,
|
|
4057
4203
|
changes,
|
|
4058
4204
|
onDoneRedirectContent
|
|
4059
|
-
}: CustomizationSummaryContentProps) =>
|
|
4205
|
+
}: CustomizationSummaryContentProps) => react_jsx_runtime0.JSX.Element;
|
|
4060
4206
|
//#endregion
|
|
4061
4207
|
//#region src/components/AccountModal/Contents/Profile/ProfileContent.d.ts
|
|
4062
4208
|
type ProfileContentProps = {
|
|
@@ -4070,7 +4216,7 @@ declare const ProfileContent: ({
|
|
|
4070
4216
|
setCurrentContent,
|
|
4071
4217
|
onLogoutSuccess,
|
|
4072
4218
|
switchFeedback
|
|
4073
|
-
}: ProfileContentProps) =>
|
|
4219
|
+
}: ProfileContentProps) => react_jsx_runtime0.JSX.Element;
|
|
4074
4220
|
//#endregion
|
|
4075
4221
|
//#region src/components/AccountModal/Contents/UpgradeSmartAccount/UpgradeSmartAccountContent.d.ts
|
|
4076
4222
|
type UpgradeSmartAccountContentProps = {
|
|
@@ -4082,7 +4228,7 @@ declare const UpgradeSmartAccountContent: ({
|
|
|
4082
4228
|
setCurrentContent,
|
|
4083
4229
|
handleClose,
|
|
4084
4230
|
initialContent
|
|
4085
|
-
}: UpgradeSmartAccountContentProps) =>
|
|
4231
|
+
}: UpgradeSmartAccountContentProps) => react_jsx_runtime0.JSX.Element;
|
|
4086
4232
|
//#endregion
|
|
4087
4233
|
//#region src/components/AccountModal/Contents/Assets/AssetsContent.d.ts
|
|
4088
4234
|
type AssetsContentProps = {
|
|
@@ -4090,7 +4236,7 @@ type AssetsContentProps = {
|
|
|
4090
4236
|
};
|
|
4091
4237
|
declare const AssetsContent: ({
|
|
4092
4238
|
setCurrentContent
|
|
4093
|
-
}: AssetsContentProps) =>
|
|
4239
|
+
}: AssetsContentProps) => react_jsx_runtime0.JSX.Element;
|
|
4094
4240
|
//#endregion
|
|
4095
4241
|
//#region src/components/AccountModal/Contents/Assets/ManageCustomTokenContent.d.ts
|
|
4096
4242
|
type ManageCustomTokenContentProps = {
|
|
@@ -4098,7 +4244,7 @@ type ManageCustomTokenContentProps = {
|
|
|
4098
4244
|
};
|
|
4099
4245
|
declare const ManageCustomTokenContent: ({
|
|
4100
4246
|
setCurrentContent
|
|
4101
|
-
}: ManageCustomTokenContentProps) =>
|
|
4247
|
+
}: ManageCustomTokenContentProps) => react_jsx_runtime0.JSX.Element;
|
|
4102
4248
|
//#endregion
|
|
4103
4249
|
//#region src/components/AccountModal/Contents/Bridge/BridgeContent.d.ts
|
|
4104
4250
|
type Props$19 = {
|
|
@@ -4106,7 +4252,7 @@ type Props$19 = {
|
|
|
4106
4252
|
};
|
|
4107
4253
|
declare const BridgeContent: ({
|
|
4108
4254
|
setCurrentContent
|
|
4109
|
-
}: Props$19) =>
|
|
4255
|
+
}: Props$19) => react_jsx_runtime0.JSX.Element;
|
|
4110
4256
|
//#endregion
|
|
4111
4257
|
//#region src/components/AccountModal/Contents/KitSettings/ChangeCurrencyContent.d.ts
|
|
4112
4258
|
type ChangeCurrencyContentProps = {
|
|
@@ -4114,7 +4260,7 @@ type ChangeCurrencyContentProps = {
|
|
|
4114
4260
|
};
|
|
4115
4261
|
declare const ChangeCurrencyContent: ({
|
|
4116
4262
|
setCurrentContent
|
|
4117
|
-
}: ChangeCurrencyContentProps) =>
|
|
4263
|
+
}: ChangeCurrencyContentProps) => react_jsx_runtime0.JSX.Element;
|
|
4118
4264
|
//#endregion
|
|
4119
4265
|
//#region src/components/AccountModal/Contents/KitSettings/LanguageSettingsContent.d.ts
|
|
4120
4266
|
type Props$18 = {
|
|
@@ -4122,7 +4268,7 @@ type Props$18 = {
|
|
|
4122
4268
|
};
|
|
4123
4269
|
declare const LanguageSettingsContent: ({
|
|
4124
4270
|
setCurrentContent
|
|
4125
|
-
}: Props$18) =>
|
|
4271
|
+
}: Props$18) => react_jsx_runtime0.JSX.Element;
|
|
4126
4272
|
//#endregion
|
|
4127
4273
|
//#region src/components/AccountModal/Contents/KitSettings/GasTokenSettingsContent.d.ts
|
|
4128
4274
|
type Props$17 = {
|
|
@@ -4130,7 +4276,7 @@ type Props$17 = {
|
|
|
4130
4276
|
};
|
|
4131
4277
|
declare const GasTokenSettingsContent: ({
|
|
4132
4278
|
setCurrentContent
|
|
4133
|
-
}: Props$17) =>
|
|
4279
|
+
}: Props$17) => react_jsx_runtime0.JSX.Element;
|
|
4134
4280
|
//#endregion
|
|
4135
4281
|
//#region src/components/AccountModal/Contents/KitSettings/SettingsContent.d.ts
|
|
4136
4282
|
type SettingsContentProps = {
|
|
@@ -4140,7 +4286,7 @@ type SettingsContentProps = {
|
|
|
4140
4286
|
declare const SettingsContent: ({
|
|
4141
4287
|
setCurrentContent,
|
|
4142
4288
|
onLogoutSuccess
|
|
4143
|
-
}: SettingsContentProps) =>
|
|
4289
|
+
}: SettingsContentProps) => react_jsx_runtime0.JSX.Element;
|
|
4144
4290
|
//#endregion
|
|
4145
4291
|
//#region src/components/AccountModal/Contents/TermsAndPrivacy/TermsAndPrivacyContent.d.ts
|
|
4146
4292
|
type TermsAndPrivacyContentProps = {
|
|
@@ -4148,7 +4294,7 @@ type TermsAndPrivacyContentProps = {
|
|
|
4148
4294
|
};
|
|
4149
4295
|
declare const TermsAndPrivacyContent: ({
|
|
4150
4296
|
onGoBack
|
|
4151
|
-
}: TermsAndPrivacyContentProps) =>
|
|
4297
|
+
}: TermsAndPrivacyContentProps) => react_jsx_runtime0.JSX.Element;
|
|
4152
4298
|
//#endregion
|
|
4153
4299
|
//#region src/components/AccountModal/Contents/DisconnectConfirmation/DisconnectConfirmContent.d.ts
|
|
4154
4300
|
type DisconnectConfirmContentProps = {
|
|
@@ -4164,7 +4310,7 @@ declare const DisconnectConfirmContent: ({
|
|
|
4164
4310
|
onClose,
|
|
4165
4311
|
showCloseButton,
|
|
4166
4312
|
text
|
|
4167
|
-
}: DisconnectConfirmContentProps) =>
|
|
4313
|
+
}: DisconnectConfirmContentProps) => react_jsx_runtime0.JSX.Element;
|
|
4168
4314
|
//#endregion
|
|
4169
4315
|
//#region src/components/AccountModal/Contents/SelectWallet/SelectWalletContent.d.ts
|
|
4170
4316
|
type Props$16 = {
|
|
@@ -4177,7 +4323,7 @@ declare const SelectWalletContent: ({
|
|
|
4177
4323
|
setCurrentContent,
|
|
4178
4324
|
returnTo,
|
|
4179
4325
|
onLogoutSuccess: _onLogoutSuccess
|
|
4180
|
-
}: Props$16) =>
|
|
4326
|
+
}: Props$16) => react_jsx_runtime0.JSX.Element;
|
|
4181
4327
|
//#endregion
|
|
4182
4328
|
//#region src/components/AccountModal/Contents/SelectWallet/RemoveWalletConfirmContent.d.ts
|
|
4183
4329
|
type RemoveWalletConfirmContentProps = {
|
|
@@ -4193,7 +4339,7 @@ declare const RemoveWalletConfirmContent: ({
|
|
|
4193
4339
|
onConfirm,
|
|
4194
4340
|
onBack,
|
|
4195
4341
|
onClose
|
|
4196
|
-
}: RemoveWalletConfirmContentProps) =>
|
|
4342
|
+
}: RemoveWalletConfirmContentProps) => react_jsx_runtime0.JSX.Element;
|
|
4197
4343
|
//#endregion
|
|
4198
4344
|
//#region src/components/AccountModal/Contents/TokenDetail/TokenDetailContent.d.ts
|
|
4199
4345
|
type TokenDetailContentProps = {
|
|
@@ -4203,7 +4349,7 @@ type TokenDetailContentProps = {
|
|
|
4203
4349
|
declare const TokenDetailContent: ({
|
|
4204
4350
|
setCurrentContent,
|
|
4205
4351
|
token
|
|
4206
|
-
}: TokenDetailContentProps) =>
|
|
4352
|
+
}: TokenDetailContentProps) => react_jsx_runtime0.JSX.Element;
|
|
4207
4353
|
//#endregion
|
|
4208
4354
|
//#region src/components/AccountModal/Contents/NftDetail/NftDetailContent.d.ts
|
|
4209
4355
|
type NftDetailContentProps = {
|
|
@@ -4215,7 +4361,7 @@ declare const NftDetailContent: ({
|
|
|
4215
4361
|
setCurrentContent,
|
|
4216
4362
|
nft,
|
|
4217
4363
|
onBack
|
|
4218
|
-
}: NftDetailContentProps) =>
|
|
4364
|
+
}: NftDetailContentProps) => react_jsx_runtime0.JSX.Element;
|
|
4219
4365
|
//#endregion
|
|
4220
4366
|
//#region src/components/AccountModal/Contents/NftCollection/NftCollectionContent.d.ts
|
|
4221
4367
|
type NftCollectionContentProps = {
|
|
@@ -4227,7 +4373,7 @@ declare const NftCollectionContent: ({
|
|
|
4227
4373
|
setCurrentContent,
|
|
4228
4374
|
collectionAddress,
|
|
4229
4375
|
onBack
|
|
4230
|
-
}: NftCollectionContentProps) =>
|
|
4376
|
+
}: NftCollectionContentProps) => react_jsx_runtime0.JSX.Element;
|
|
4231
4377
|
//#endregion
|
|
4232
4378
|
//#region src/components/AccountModal/Contents/SendNft/SendNftContent.d.ts
|
|
4233
4379
|
type SendNftContentProps = {
|
|
@@ -4245,7 +4391,7 @@ declare const SendNftContent: ({
|
|
|
4245
4391
|
imageUrl,
|
|
4246
4392
|
initialToAddressOrDomain,
|
|
4247
4393
|
onBack
|
|
4248
|
-
}: SendNftContentProps) =>
|
|
4394
|
+
}: SendNftContentProps) => react_jsx_runtime0.JSX.Element;
|
|
4249
4395
|
//#endregion
|
|
4250
4396
|
//#region src/components/AccountModal/Contents/SendNft/SendNftSummaryContent.d.ts
|
|
4251
4397
|
type SendNftSummaryContentProps = {
|
|
@@ -4265,7 +4411,7 @@ declare const SendNftSummaryContent: ({
|
|
|
4265
4411
|
toAddressOrDomain,
|
|
4266
4412
|
resolvedDomain,
|
|
4267
4413
|
resolvedAddress
|
|
4268
|
-
}: SendNftSummaryContentProps) =>
|
|
4414
|
+
}: SendNftSummaryContentProps) => react_jsx_runtime0.JSX.Element;
|
|
4269
4415
|
//#endregion
|
|
4270
4416
|
//#region src/components/AccountModal/Contents/TransactionHistory/TransactionHistoryContent.d.ts
|
|
4271
4417
|
type TransactionHistoryContentProps = {
|
|
@@ -4280,7 +4426,7 @@ declare const TransactionHistoryContent: ({
|
|
|
4280
4426
|
setCurrentContent,
|
|
4281
4427
|
tokenFilter,
|
|
4282
4428
|
onBack
|
|
4283
|
-
}: TransactionHistoryContentProps) =>
|
|
4429
|
+
}: TransactionHistoryContentProps) => react_jsx_runtime0.JSX.Element;
|
|
4284
4430
|
//#endregion
|
|
4285
4431
|
//#region src/components/AccountModal/Contents/TransactionHistory/TransactionDetailContent.d.ts
|
|
4286
4432
|
type TransactionDetailContentProps = {
|
|
@@ -4292,7 +4438,7 @@ declare const TransactionDetailContent: ({
|
|
|
4292
4438
|
setCurrentContent,
|
|
4293
4439
|
item,
|
|
4294
4440
|
onBack
|
|
4295
|
-
}: TransactionDetailContentProps) =>
|
|
4441
|
+
}: TransactionDetailContentProps) => react_jsx_runtime0.JSX.Element;
|
|
4296
4442
|
//#endregion
|
|
4297
4443
|
//#region src/components/AccountModal/Contents/Ecosystem/Components/CategoryFilterSection.d.ts
|
|
4298
4444
|
type CategoryFilter = string | null;
|
|
@@ -4445,7 +4591,7 @@ declare const AccountModal: ({
|
|
|
4445
4591
|
isOpen,
|
|
4446
4592
|
onClose,
|
|
4447
4593
|
initialContent
|
|
4448
|
-
}: Props$15) =>
|
|
4594
|
+
}: Props$15) => react_jsx_runtime0.JSX.Element;
|
|
4449
4595
|
//#endregion
|
|
4450
4596
|
//#region src/components/AccountModal/Components/AccountDetailsButton.d.ts
|
|
4451
4597
|
interface AccountDetailsButtonProps {
|
|
@@ -4467,7 +4613,7 @@ declare const AccountDetailsButton: ({
|
|
|
4467
4613
|
onClick,
|
|
4468
4614
|
leftImage,
|
|
4469
4615
|
isActive
|
|
4470
|
-
}: AccountDetailsButtonProps) =>
|
|
4616
|
+
}: AccountDetailsButtonProps) => react_jsx_runtime0.JSX.Element;
|
|
4471
4617
|
//#endregion
|
|
4472
4618
|
//#region src/components/AccountModal/Components/ActionButton.d.ts
|
|
4473
4619
|
type ActionButtonProps = {
|
|
@@ -4509,7 +4655,7 @@ declare const ActionButton: ({
|
|
|
4509
4655
|
extraContent,
|
|
4510
4656
|
dataTestId,
|
|
4511
4657
|
variant
|
|
4512
|
-
}: ActionButtonProps) =>
|
|
4658
|
+
}: ActionButtonProps) => react_jsx_runtime0.JSX.Element;
|
|
4513
4659
|
//#endregion
|
|
4514
4660
|
//#region src/components/AccountModal/Components/AccountSelector.d.ts
|
|
4515
4661
|
type Props$14 = {
|
|
@@ -4529,7 +4675,7 @@ declare const AccountSelector: ({
|
|
|
4529
4675
|
onClose,
|
|
4530
4676
|
mt,
|
|
4531
4677
|
style
|
|
4532
|
-
}: Props$14) =>
|
|
4678
|
+
}: Props$14) => react_jsx_runtime0.JSX.Element;
|
|
4533
4679
|
//#endregion
|
|
4534
4680
|
//#region src/components/AccountModal/Components/BalanceSection.d.ts
|
|
4535
4681
|
declare const BalanceSection: ({
|
|
@@ -4540,7 +4686,7 @@ declare const BalanceSection: ({
|
|
|
4540
4686
|
mb?: number;
|
|
4541
4687
|
mt?: number;
|
|
4542
4688
|
onAssetsClick?: () => void;
|
|
4543
|
-
}) =>
|
|
4689
|
+
}) => react_jsx_runtime0.JSX.Element;
|
|
4544
4690
|
//#endregion
|
|
4545
4691
|
//#region src/components/AccountModal/Components/QuickActionsSection.d.ts
|
|
4546
4692
|
type Props$13 = {
|
|
@@ -4550,7 +4696,7 @@ type Props$13 = {
|
|
|
4550
4696
|
declare const QuickActionsSection: ({
|
|
4551
4697
|
mt,
|
|
4552
4698
|
setCurrentContent
|
|
4553
|
-
}: Props$13) =>
|
|
4699
|
+
}: Props$13) => react_jsx_runtime0.JSX.Element | null;
|
|
4554
4700
|
//#endregion
|
|
4555
4701
|
//#region src/components/AccountModal/Components/Alerts/FeatureAnnouncementCard.d.ts
|
|
4556
4702
|
type FeatureAnnouncementCardProps = {
|
|
@@ -4558,16 +4704,16 @@ type FeatureAnnouncementCardProps = {
|
|
|
4558
4704
|
};
|
|
4559
4705
|
declare const FeatureAnnouncementCard: ({
|
|
4560
4706
|
setCurrentContent
|
|
4561
|
-
}: FeatureAnnouncementCardProps) =>
|
|
4707
|
+
}: FeatureAnnouncementCardProps) => react_jsx_runtime0.JSX.Element;
|
|
4562
4708
|
//#endregion
|
|
4563
4709
|
//#region src/components/AccountModal/Components/Alerts/ExchangeWarningAlert.d.ts
|
|
4564
|
-
declare const ExchangeWarningAlert: () =>
|
|
4710
|
+
declare const ExchangeWarningAlert: () => react_jsx_runtime0.JSX.Element;
|
|
4565
4711
|
//#endregion
|
|
4566
4712
|
//#region src/components/AccountModal/Components/Alerts/DomainRequiredAlert.d.ts
|
|
4567
|
-
declare const DomainRequiredAlert: () =>
|
|
4713
|
+
declare const DomainRequiredAlert: () => react_jsx_runtime0.JSX.Element;
|
|
4568
4714
|
//#endregion
|
|
4569
4715
|
//#region src/components/AccountModal/Components/CrossAppConnectionSecurityCard.d.ts
|
|
4570
|
-
declare const CrossAppConnectionSecurityCard: () =>
|
|
4716
|
+
declare const CrossAppConnectionSecurityCard: () => react_jsx_runtime0.JSX.Element;
|
|
4571
4717
|
//#endregion
|
|
4572
4718
|
//#region src/components/common/ModalBackButton.d.ts
|
|
4573
4719
|
type BackButtonProps = {
|
|
@@ -4576,7 +4722,7 @@ type BackButtonProps = {
|
|
|
4576
4722
|
declare const ModalBackButton: ({
|
|
4577
4723
|
onClick,
|
|
4578
4724
|
...props
|
|
4579
|
-
}: BackButtonProps) =>
|
|
4725
|
+
}: BackButtonProps) => react_jsx_runtime0.JSX.Element;
|
|
4580
4726
|
//#endregion
|
|
4581
4727
|
//#region src/components/common/AddressDisplay.d.ts
|
|
4582
4728
|
type Props$12 = {
|
|
@@ -4594,13 +4740,13 @@ declare const AddressDisplay: ({
|
|
|
4594
4740
|
showHumanAddress,
|
|
4595
4741
|
setCurrentContent,
|
|
4596
4742
|
onLogout
|
|
4597
|
-
}: Props$12) =>
|
|
4743
|
+
}: Props$12) => react_jsx_runtime0.JSX.Element;
|
|
4598
4744
|
//#endregion
|
|
4599
4745
|
//#region src/components/common/VersionFooter.d.ts
|
|
4600
4746
|
type Props$11 = {} & Omit<StackProps, 'dangerouslySetInnerHTML'>;
|
|
4601
4747
|
declare const VersionFooter: ({
|
|
4602
4748
|
...props
|
|
4603
|
-
}: Props$11) =>
|
|
4749
|
+
}: Props$11) => react_jsx_runtime0.JSX.Element;
|
|
4604
4750
|
//#endregion
|
|
4605
4751
|
//#region src/components/common/StickyHeaderContainer.d.ts
|
|
4606
4752
|
type Props$10 = {
|
|
@@ -4611,7 +4757,7 @@ declare const useStickyHeaderContext: () => {
|
|
|
4611
4757
|
};
|
|
4612
4758
|
declare const StickyHeaderContainer: ({
|
|
4613
4759
|
children
|
|
4614
|
-
}: Props$10) =>
|
|
4760
|
+
}: Props$10) => react_jsx_runtime0.JSX.Element;
|
|
4615
4761
|
//#endregion
|
|
4616
4762
|
//#region src/components/common/StickyFooterContainer.d.ts
|
|
4617
4763
|
type Props$9 = {
|
|
@@ -4619,7 +4765,7 @@ type Props$9 = {
|
|
|
4619
4765
|
};
|
|
4620
4766
|
declare const StickyFooterContainer: ({
|
|
4621
4767
|
children
|
|
4622
|
-
}: Props$9) =>
|
|
4768
|
+
}: Props$9) => react_jsx_runtime0.JSX.Element;
|
|
4623
4769
|
//#endregion
|
|
4624
4770
|
//#region src/components/common/BaseModal.d.ts
|
|
4625
4771
|
type BaseModalProps = {
|
|
@@ -4668,7 +4814,7 @@ declare const BaseModal: ({
|
|
|
4668
4814
|
mobileMaxHeight,
|
|
4669
4815
|
desktopMinHeight,
|
|
4670
4816
|
desktopMaxHeight
|
|
4671
|
-
}: BaseModalProps) =>
|
|
4817
|
+
}: BaseModalProps) => react_jsx_runtime0.JSX.Element;
|
|
4672
4818
|
//#endregion
|
|
4673
4819
|
//#region src/components/common/AssetButton.d.ts
|
|
4674
4820
|
type AssetButtonProps = ButtonProps & {
|
|
@@ -4689,7 +4835,7 @@ declare const AssetButton: ({
|
|
|
4689
4835
|
onClick,
|
|
4690
4836
|
priceChange24hPct,
|
|
4691
4837
|
...buttonProps
|
|
4692
|
-
}: AssetButtonProps) =>
|
|
4838
|
+
}: AssetButtonProps) => react_jsx_runtime0.JSX.Element;
|
|
4693
4839
|
//#endregion
|
|
4694
4840
|
//#region src/components/common/AddressDisplayCard.d.ts
|
|
4695
4841
|
type AddressDisplayCardProps = {
|
|
@@ -4709,7 +4855,7 @@ declare const AddressDisplayCard: ({
|
|
|
4709
4855
|
hideAddress,
|
|
4710
4856
|
balance,
|
|
4711
4857
|
tokenAddress
|
|
4712
|
-
}: AddressDisplayCardProps) =>
|
|
4858
|
+
}: AddressDisplayCardProps) => react_jsx_runtime0.JSX.Element;
|
|
4713
4859
|
//#endregion
|
|
4714
4860
|
//#region src/components/common/ModalFAQButton.d.ts
|
|
4715
4861
|
type FAQButtonProps = {
|
|
@@ -4718,13 +4864,13 @@ type FAQButtonProps = {
|
|
|
4718
4864
|
declare const ModalFAQButton: ({
|
|
4719
4865
|
onClick,
|
|
4720
4866
|
...props
|
|
4721
|
-
}: FAQButtonProps) =>
|
|
4867
|
+
}: FAQButtonProps) => react_jsx_runtime0.JSX.Element;
|
|
4722
4868
|
//#endregion
|
|
4723
4869
|
//#region src/components/common/ScrollToTopWrapper.d.ts
|
|
4724
4870
|
declare const ScrollToTopWrapper: ({
|
|
4725
4871
|
children,
|
|
4726
4872
|
...props
|
|
4727
|
-
}: StackProps) =>
|
|
4873
|
+
}: StackProps) => react_jsx_runtime0.JSX.Element;
|
|
4728
4874
|
//#endregion
|
|
4729
4875
|
//#region src/components/common/AccountAvatar.d.ts
|
|
4730
4876
|
type AccountAvatarProps = {
|
|
@@ -4734,7 +4880,7 @@ type AccountAvatarProps = {
|
|
|
4734
4880
|
declare const AccountAvatar: ({
|
|
4735
4881
|
wallet,
|
|
4736
4882
|
props
|
|
4737
|
-
}: AccountAvatarProps) =>
|
|
4883
|
+
}: AccountAvatarProps) => react_jsx_runtime0.JSX.Element;
|
|
4738
4884
|
//#endregion
|
|
4739
4885
|
//#region src/components/common/TransactionButtonAndStatus.d.ts
|
|
4740
4886
|
type TransactionButtonAndStatusProps = {
|
|
@@ -4776,7 +4922,7 @@ declare const TransactionButtonAndStatus: ({
|
|
|
4776
4922
|
isLoadingGasEstimation,
|
|
4777
4923
|
showGasEstimationError,
|
|
4778
4924
|
context
|
|
4779
|
-
}: TransactionButtonAndStatusProps) =>
|
|
4925
|
+
}: TransactionButtonAndStatusProps) => react_jsx_runtime0.JSX.Element;
|
|
4780
4926
|
//#endregion
|
|
4781
4927
|
//#region src/components/common/ModalNotificationButton.d.ts
|
|
4782
4928
|
type NotificationButtonProps = {
|
|
@@ -4787,7 +4933,7 @@ declare const ModalNotificationButton: ({
|
|
|
4787
4933
|
onClick,
|
|
4788
4934
|
hasUnreadNotifications,
|
|
4789
4935
|
...props
|
|
4790
|
-
}: NotificationButtonProps) =>
|
|
4936
|
+
}: NotificationButtonProps) => react_jsx_runtime0.JSX.Element;
|
|
4791
4937
|
//#endregion
|
|
4792
4938
|
//#region src/components/common/GasFeeSummary.d.ts
|
|
4793
4939
|
interface GasFeeSummaryProps {
|
|
@@ -4823,7 +4969,7 @@ declare const GasFeeTokenSelector: ({
|
|
|
4823
4969
|
availableTokens,
|
|
4824
4970
|
tokenEstimations,
|
|
4825
4971
|
walletAddress
|
|
4826
|
-
}: GasFeeTokenSelectorProps) =>
|
|
4972
|
+
}: GasFeeTokenSelectorProps) => react_jsx_runtime0.JSX.Element;
|
|
4827
4973
|
//#endregion
|
|
4828
4974
|
//#region src/components/common/InlineFeedback.d.ts
|
|
4829
4975
|
type Props$8 = {
|
|
@@ -4835,7 +4981,7 @@ declare const InlineFeedback: ({
|
|
|
4835
4981
|
message,
|
|
4836
4982
|
duration,
|
|
4837
4983
|
onClose
|
|
4838
|
-
}: Props$8) =>
|
|
4984
|
+
}: Props$8) => react_jsx_runtime0.JSX.Element;
|
|
4839
4985
|
//#endregion
|
|
4840
4986
|
//#region src/components/common/WalletSwitchFeedback.d.ts
|
|
4841
4987
|
type Props$7 = {
|
|
@@ -4852,7 +4998,7 @@ type Props$7 = {
|
|
|
4852
4998
|
*/
|
|
4853
4999
|
declare const WalletSwitchFeedback: ({
|
|
4854
5000
|
showFeedback
|
|
4855
|
-
}: Props$7) =>
|
|
5001
|
+
}: Props$7) => react_jsx_runtime0.JSX.Element | null;
|
|
4856
5002
|
//#endregion
|
|
4857
5003
|
//#region src/components/common/PriceChangeBadge.d.ts
|
|
4858
5004
|
type Props$6 = TextProps & {
|
|
@@ -4863,7 +5009,7 @@ declare const PriceChangeBadge: ({
|
|
|
4863
5009
|
valuePct,
|
|
4864
5010
|
showSuffix,
|
|
4865
5011
|
...textProps
|
|
4866
|
-
}: Props$6) =>
|
|
5012
|
+
}: Props$6) => react_jsx_runtime0.JSX.Element | null;
|
|
4867
5013
|
//#endregion
|
|
4868
5014
|
//#region src/components/common/AddressOrDomainLabel.d.ts
|
|
4869
5015
|
type Props$5 = TextProps & {
|
|
@@ -4880,7 +5026,7 @@ declare const AddressOrDomainLabel: ({
|
|
|
4880
5026
|
headLen,
|
|
4881
5027
|
tailLen,
|
|
4882
5028
|
...textProps
|
|
4883
|
-
}: Props$5) =>
|
|
5029
|
+
}: Props$5) => react_jsx_runtime0.JSX.Element;
|
|
4884
5030
|
//#endregion
|
|
4885
5031
|
//#region src/components/common/CopyIconButton.d.ts
|
|
4886
5032
|
type Props$4 = Omit<IconButtonProps, 'aria-label' | 'icon' | 'onClick'> & {
|
|
@@ -4893,7 +5039,7 @@ declare const CopyIconButton: ({
|
|
|
4893
5039
|
size,
|
|
4894
5040
|
variant,
|
|
4895
5041
|
...rest
|
|
4896
|
-
}: Props$4) =>
|
|
5042
|
+
}: Props$4) => react_jsx_runtime0.JSX.Element;
|
|
4897
5043
|
//#endregion
|
|
4898
5044
|
//#region src/components/common/PriceChart.d.ts
|
|
4899
5045
|
type Props$3 = BoxProps & {
|
|
@@ -4920,7 +5066,50 @@ declare const PriceChart: ({
|
|
|
4920
5066
|
interactive,
|
|
4921
5067
|
formatValue,
|
|
4922
5068
|
...boxProps
|
|
4923
|
-
}: Props$3) =>
|
|
5069
|
+
}: Props$3) => react_jsx_runtime0.JSX.Element | null;
|
|
5070
|
+
//#endregion
|
|
5071
|
+
//#region src/components/common/StatusScreen.d.ts
|
|
5072
|
+
type Status = 'success' | 'error';
|
|
5073
|
+
type StatusScreenProps = {
|
|
5074
|
+
status: Status;
|
|
5075
|
+
/** Heading rendered in the modal header. */
|
|
5076
|
+
title: string;
|
|
5077
|
+
/** Optional supporting copy under the badge. */
|
|
5078
|
+
description?: string;
|
|
5079
|
+
/** Override the default icon (`LuCircleCheckBig` for success,
|
|
5080
|
+
* `LuTriangleAlert` for error). */
|
|
5081
|
+
icon?: IconType | ReactNode;
|
|
5082
|
+
/** Slot for primary CTAs (Done / Try again, …). */
|
|
5083
|
+
actions: ReactNode;
|
|
5084
|
+
/** Optional extra slot under the body — e.g. a "Share on socials" row. */
|
|
5085
|
+
bodyExtras?: ReactNode;
|
|
5086
|
+
/** Optional explorer link rendered below the actions. */
|
|
5087
|
+
footerExtras?: ReactNode;
|
|
5088
|
+
/** Hide the close button (used while a tx is still pending). */
|
|
5089
|
+
hideCloseButton?: boolean;
|
|
5090
|
+
};
|
|
5091
|
+
/**
|
|
5092
|
+
* Shared visual scaffold for end-of-flow status screens — success after a
|
|
5093
|
+
* transaction confirms, error after one fails. Replaces the four
|
|
5094
|
+
* almost-duplicate "100px LuCircleCheck" / "100px LuCircleAlert" surfaces
|
|
5095
|
+
* that used to live in AccountModal, TransactionModal and
|
|
5096
|
+
* UpgradeSmartAccountModal.
|
|
5097
|
+
*
|
|
5098
|
+
* Visual: a soft tinted disc (~88px) holds the status icon (~44px solid),
|
|
5099
|
+
* with a one-shot framer-motion entrance — the disc fades + scales from
|
|
5100
|
+
* 0.92, the icon springs in. No looping animation: the screen should feel
|
|
5101
|
+
* polished, not chatty.
|
|
5102
|
+
*/
|
|
5103
|
+
declare const StatusScreen: ({
|
|
5104
|
+
status,
|
|
5105
|
+
title,
|
|
5106
|
+
description,
|
|
5107
|
+
icon,
|
|
5108
|
+
actions,
|
|
5109
|
+
bodyExtras,
|
|
5110
|
+
footerExtras,
|
|
5111
|
+
hideCloseButton
|
|
5112
|
+
}: StatusScreenProps) => react_jsx_runtime0.JSX.Element;
|
|
4924
5113
|
//#endregion
|
|
4925
5114
|
//#region src/components/UpgradeSmartAccountModal/Contents/SuccessfulOperationContent.d.ts
|
|
4926
5115
|
type SuccessfulOperationContentProps = {
|
|
@@ -4950,7 +5139,7 @@ declare const UpgradeSmartAccountModal: ({
|
|
|
4950
5139
|
isOpen,
|
|
4951
5140
|
onClose,
|
|
4952
5141
|
style
|
|
4953
|
-
}: Props$2) =>
|
|
5142
|
+
}: Props$2) => react_jsx_runtime0.JSX.Element;
|
|
4954
5143
|
//#endregion
|
|
4955
5144
|
//#region src/components/LegalDocumentsModal/LegalDocumentsModal.d.ts
|
|
4956
5145
|
type Props$1 = {
|
|
@@ -4965,7 +5154,7 @@ declare const LegalDocumentsModal: ({
|
|
|
4965
5154
|
onAgree,
|
|
4966
5155
|
handleLogout,
|
|
4967
5156
|
onlyOptionalDocuments
|
|
4968
|
-
}: Props$1) =>
|
|
5157
|
+
}: Props$1) => react_jsx_runtime0.JSX.Element;
|
|
4969
5158
|
//#endregion
|
|
4970
5159
|
//#region src/components/LegalDocumentsModal/Components/LegalDocumentItem.d.ts
|
|
4971
5160
|
type Props = {
|
|
@@ -4977,7 +5166,7 @@ declare const LegalDocumentItem: ({
|
|
|
4977
5166
|
document,
|
|
4978
5167
|
register,
|
|
4979
5168
|
isText
|
|
4980
|
-
}: Props) =>
|
|
5169
|
+
}: Props) => react_jsx_runtime0.JSX.Element;
|
|
4981
5170
|
//#endregion
|
|
4982
5171
|
//#region src/providers/ModalProvider.d.ts
|
|
4983
5172
|
type AccountModalOptions = {
|
|
@@ -5012,7 +5201,7 @@ declare const ModalProvider: ({
|
|
|
5012
5201
|
children
|
|
5013
5202
|
}: {
|
|
5014
5203
|
children: ReactNode;
|
|
5015
|
-
}) =>
|
|
5204
|
+
}) => react_jsx_runtime0.JSX.Element;
|
|
5016
5205
|
//#endregion
|
|
5017
|
-
export { SendNftContentProps as $, NftMetadata as $a, useLegalDocuments as $c, fetchAppHubApps as $i, getConfig as $l, UseEstimateAllTokensParams as $n, useRefreshBalances as $o, executeMultipleClausesCall as $r, getAvatarQueryKey as $s, useGasEstimate as $t, useStickyHeaderContext as A, SendTokenModalProvider as Aa, ConnectPopover as Ac, formatTokenBalance as Ai, GasTokenSelection as Al, useSmartAccount as An, MAX_IMAGE_SIZE as Ao, useCurrentCurrency as Ar, useCustomTokens as As, CustomizationContent as At, AccountSelector as B, AccountModalProvider as Ba, PrivyButton as Bc, PrivyEcosystemApp as Bi, EnhancedClause as Bl, useGetAccountVersion as Bn, XAppMetadata as Bo, getWindowOrigin as Br, useUnsetDomain as Bs, ReceiveTokenContent as Bt, ScrollToTopWrapper as C, useFAQModal as Ca, ShareButtons as Cc, validateIpfsUri as Ci, TransactionCost as Cl, useUpgradeRequiredForAccount as Cn, useSingleImageUpload as Co, decodeEventLog$1 as Cr, getTokenInfo as Cs, UpgradeSmartAccountContent as Ct, BaseModal as D, useExploreEcosystemModal as Da, WalletButton as Dc, leftPadWithZeros as Di, GasTokenEstimate as Dl, SmartAccountReturnType as Dn, useUploadImages as Do, useIsPWA as Dr, useGetCustomTokenBalances as Ds, CustomizationSummaryContent as Dt, AssetButton as E, ExploreEcosystemModalProvider as Ea, SocialIcons as Ec, isValidAddress as Ei, formatGasCost as El, useUpgradeRequired as En, imageCompressionOptions as Eo, useScrollToTop as Er, getCustomTokenBalanceQueryKey as Es, ProfileContentProps as Et, DomainRequiredAlert as F, useWalletModal as Fa, VeChainWithPrivyLoginButton as Fc, isZero as Fi, CURRENCY as Fl, useIsSmartAccountDeployed as Fn, getIpfsMetadata as Fo, useCallClause as Fr, useTokensWithValues as Fs, ChooseNameSearchContentProps as Ft, SwitchFeedback as G, useNftMetadata as Ga, MoreOptionsContent as Gc, VECHAIN_KIT_COOKIES_CONFIG as Gi, PrivyLoginMethod as Gl, getCurrentAccountImplementationVersionQueryKey as Gn, StoredWallet as Go, safeQuerySelector as Gr, useGetAvatarOfAddress as Gs, ThorClient$1 as Gt, AccountDetailsButton as H, ConnectModalProvider as Ha, VeChainLoginButton as Hc, TOKEN_LOGOS as Hi, ExecuteWithAuthorizationSignData as Hl, getAccountAddressQueryKey as Hn, useXAppMetadata as Ho, isBrowser as Hr, getAvatarLegacyQueryKey as Hs, SelectTokenContent as Ht, ExchangeWarningAlert as I, TransactionToastProvider as Ia, DappKitButton as Ic, DEFAULT_GAS_TOKEN_PREFERENCES as Ii, CURRENCY_SYMBOLS as Il, getHasV1SmartAccount as In, getIpfsMetadataQueryKey as Io, useMultipleClausesCall as Ir, ExchangeRates as Is, ChooseNameContent as It, TransactionHistoryContent as J, useNftBlacklist as Ja, LoadingContent as Jc, VECHAIN_PRIVY_APP_ID as Ji, TransactionStatus as Jl, getAccountImplementationAddressQueryKey as Jn, UseWalletReturnType as Jo, MultipleClausesCallParameters as Jr, buildClauses as Js, useMfaEnrollment as Jt, TransactionDetailContent as K, useOwnedNftsFiltered as Ka, EcosystemContent as Kc, VECHAIN_KIT_STORAGE_KEYS as Ki, SmartAccount as Kl, useCurrentAccountImplementationVersion as Kn, useWalletStorage as Ko, safeWindowOpen as Kr, getResolverAddressQueryKey as Ks, useDAppKitWallet as Kt, FeatureAnnouncementCard as L, useTransactionToast as La, PasskeyLoginButton as Lc, DEFAULT_PRIVY_ECOSYSTEM_APPS as Li, ConnectionSource as Ll, getHasV1SmartAccountQueryKey as Ln, useIpfsMetadata as Lo, copyToClipboard as Lr, useTokenPrices as Ls, ChooseNameContentProps as Lt, AddressDisplay as M, ChooseNameModalProvider as Ma, Sync2Button as Mc, humanAddress as Mi, TransactionSpeed as Ml, useRefreshFactoryQueries as Mn, getIpfsImageQueryKey as Mo, useCurrency as Mr, useCurrentAllocationsRoundId as Ms, ChooseNameSummaryContent as Mt, ModalBackButton as N, useChooseNameModal as Na, VeWorldButton as Nc, humanDomain as Ni, ENS_TEXT_RECORDS as Nl, getIsDeployed as Nn, useIpfsImage as No, getCallClauseQueryKey as Nr, useTotalBalance as Ns, ChooseNameSummaryContentProps as Nt, StickyFooterContainer as O, SwapTokenModalProvider as Oa, WalletButtonProps as Oc, regexPattern as Oi, GasTokenInfo as Ol, getSmartAccount as On, useIpfsMetadatas as Oo, useGetNodeUrl as Or, getB3trBalanceQueryKey as Os, CustomizationSummaryContentProps as Ot, CrossAppConnectionSecurityCard as P, WalletModalProvider as Pa, LoginWithGithubButton as Pc, humanNumber as Pi, TextRecords as Pl, getIsDeployedQueryKey as Pn, useIpfsImageList as Po, getCallClauseQueryKeyWithArgs as Pr, TokenWithValue as Ps, ChooseNameSearchContent as Pt, SendNftContent as Q, NftAttribute as Qa, LegalDocumentsProvider as Qc, AppHubApp as Qi, AppConfig as Ql, useAccountBalance as Qn, useRefreshMetadata as Qo, executeCallClause as Qr, useGetTextRecords as Qs, VECHAIN_KIT_QUERY_KEYS as Qt, QuickActionsSection as R, TransactionModalProvider as Ra, LoginWithAppleButton as Rc, ENV as Ri, CrossAppConnectionCache as Rl, useHasV1SmartAccount as Rn, getXAppsSharesQueryKey as Ro, getDocumentTitle as Rr, WalletTokenBalance as Rs, SwapTokenContent as Rt, AccountAvatar as S, FAQModalProvider as Sa, TransactionModalContent as Sc, uploadBlobToIPFS as Si, Rate as Sl, getUpgradeRequiredForAccountQueryKey as Sn, useSwapTransaction as So, UseEventsParams as Sr, getCustomTokenInfoQueryKey as Ss, AssetsContentProps as St, AddressDisplayCard as T, useNotificationsModal as Ta, TransactionModalProps as Tc, compareListOfAddresses as Ti, calculateTotalCost as Tl, getUpgradeRequiredQueryKey as Tn, compressImages as To, useEvents as Tr, TokenWithBalance as Ts, ProfileContent as Tt, AccountModal as U, useConnectModal as Ua, EmailLoginButton as Uc, TOKEN_LOGO_COMPONENTS as Ui, NFTMediaType as Ul, useGetAccountAddress as Un, UseSwitchWalletReturnType as Uo, isOnline as Ur, useGetAvatarLegacy as Us, SendTokenSummaryContent as Ut, ActionButton as V, useAccountModal as Va, EcosystemButton as Vc, SUPPORTED_GAS_TOKENS as Vi, ExecuteBatchWithAuthorizationSignData as Vl, getAccountAddress as Vn, getXAppMetadata as Vo, hasNavigator as Vr, getAvatarLegacy as Vs, ReceiveTokenContentProps as Vt, AccountModalContentTypes as W, useNftCollectionName as Wa, ConnectionButton as Wc, TogglePassportCheck as Wi, PrivyAppInfo as Wl, getCurrentAccountImplementationVersion as Wn, useSwitchWallet as Wo, removeLocalStorageItem as Wr, getAvatarOfAddressQueryKey as Ws, SendTokenContent as Wt, SendNftSummaryContent as X, useOwnedNfts as Xa, ConnectModal as Xc, getGenericDelegatorUrl as Xi, VePassportUserStatus as Xl, getAccountBalance as Xn, getRoundXAppsQueryKey as Xo, ViewFunctionResult as Xr, getTextRecords as Xs, useSetWalletRecovery as Xt, TransactionHistoryContentProps as Y, getOwnedNftsQueryKey as Ya, MainContent as Yc, getENV as Yi, TransactionStatusErrorType as Yl, useAccountImplementationAddress as Yn, useWallet as Yo, MultipleClausesCallReturnType as Yr, useUpdateTextRecord as Ys, usePrivy as Yt, SendNftSummaryContentProps as Z, IndexerNft as Za, ConnectModalContentsTypes as Zc, notFoundImage as Zi, Wallet as Zl, getAccountBalanceQueryKey as Zn, useRoundXApps as Zo, buildCallClauses as Zr, getTextRecordsQueryKey as Zs, useThor as Zt, GasFeeTokenSelector as _, useLoginModalContent as _a, fetchPrivyAppInfo as _c, gmNfts as _i, LegalDocumentType as _l, useGetChainId as _n, TransferEventType as _o, BuildClausesParams as _r, getTokenUsdPriceQueryKey as _s, ChangeCurrencyContentProps as _t, LegalDocumentItem as a, useLoginWithPasskey as aa, useGetDomainsOfAddress as ac, normalize as ai, AccountQuickAction as al, useTransferVET as an, LpPositionToken as ao, delegateAuthorized as ar, getVot3BalanceQueryKey as as, TokenDetailContentProps as at, TransactionButtonAndStatus as b, AccountCustomizationModalProvider as ba, AccountMainContent as bc, resolveMediaTypeFromMimeType as bi, EstimatedGas as bl, useUpgradeSmartAccount as bn, VTHO_TOKEN_ADDRESS as bo, useBuildClauses as br, getErc20BalanceQueryKey as bs, ManageCustomTokenContentProps as bt, UpgradeSmartAccountModal as c, useNotificationAlerts as ca, buildVetDomainClauses as cc, isRejectionError as ci, VeChainKitConfig as cl, buildERC20Clauses as cn, useNavigatorPosition as co, getDepositAccount as cr, OracleHistory24h as cs, SelectWalletContent as ct, PriceChart as d, useSettingsModal as da, getEnsRecordExistsQueryKey as dc, EconomicNodeStrengthLevelToName as di, VechainKitProviderProps as dl, useSendTransaction as dn, useStargatePositions as do, useCrossAppConnectionCache as dr, useOracleHistory24h as ds, TermsAndPrivacyContent as dt, getAppHubAppsQueryKey as ea, useGetAvatar as ec, isValidUrl as ei, VechainKitThemeProvider as el, txReceiptQueryKey as en, OwnedNft as eo, useEstimateAllTokens as er, MostVotedAppsInRoundReturnType as es, NftCollectionContent as et, CopyIconButton as f, useAccountModalOptions as fa, useEnsRecordExists as fc, MinXNodeLevel as fi, useAppConfig as fl, GetEventsProps as fn, useTokenTransferHistory as fo, EcosystemShortcut as fr, useOraclePriceChanges24h as fs, SettingsContent as ft, InlineFeedback as g, useUpgradeSmartAccountModal as ga, useFetchPrivyStatus as gc, buildQueryString as gi, LegalDocumentSource as gl, getChainIdQueryKey as gn, TransferDirection as go, useLocalStorage as gr, getTokenUsdPrice as gs, ChangeCurrencyContent as gt, WalletSwitchFeedback as h, UpgradeSmartAccountModalProvider as ha, fetchPrivyStatus as hc, allNodeStrengthLevelToName as hi, LegalDocumentAgreement as hl, getChainId as hn, IndexerTransfer as ho, LocalStorageKey as hr, SupportedToken as hs, LanguageSettingsContent as ht, DAppKitWalletButton as i, useLoginWithOAuth as ia, getDomainsOfAddressQueryKey as ic, isValid as ii, usePrivyWalletProvider as il, buildVETClauses as in, LpPosition as io, decodeRawTx as ir, useIsPerson as is, TokenDetailContent as it, VersionFooter as j, useSendTokenModal as ja, WalletConnectButton as jc, getPicassoImage as ji, GasTokenType as jl, useRefreshSmartAccountQueries as jn, getIpfsImage as jo, useCurrentLanguage as jr, getCurrentAllocationsRoundIdQueryKey as js, FAQContent as jt, StickyHeaderContainer as k, useSwapTokenModal as ka, WalletDisplayVariant as kc, randomTransactionUser as ki, GasTokenPreferences as kl, getSmartAccountQueryKey as kn, IpfsImage as ko, useFeatureAnnouncement as kr, useGetB3trBalance as ks, AccountCustomizationContentProps as kt, UpgradeSmartAccountModalContentsTypes as l, useNotifications as la, useClaimVetDomain as lc, simpleHash as li, VeChainKitContext as ll, useTransferERC20 as ln, StargatePosition as lo, signVip191Transaction as lr, PriceChanges24h as ls, DisconnectConfirmContent as lt, PriceChangeBadge as m, useProfileModal as ma, useVechainDomain as mc, XNodeStrengthLevelToName as mi, EnrichedLegalDocument as ml, getEventLogs as mn, useTransferHistory as mo, useSyncableLocalStorage as mr, PRICE_FEED_IDS as ms, GasTokenSettingsContent as mt, ModalProvider as n, useConnectWithDappKitSource as na, DomainsResponse as nc, compare as ni, PrivyWalletProvider as nl, BuildTransactionProps as nn, JuicyPositionResult as no, useGenericDelegatorFeeEstimationParams as nr, useMostVotedAppsInRound as ns, NftDetailContent as nt, LegalDocumentsModal as o, useSignTypedData as oa, getIsDomainProtectedQueryKey as oc, removePrefix as oi, LegalDocument as ol, buildERC721Clauses as on, useBetterSwapLpPositions as oo, estimateAndBuildTxBody as or, useGetVot3Balance as os, RemoveWalletConfirmContent as ot, AddressOrDomainLabel as p, ProfileModalProvider as pa, getVechainDomainQueryKey as pc, NodeStrengthLevelToImage as pi, useVeChainKitConfig as pl, getAllEventLogs as pn, getTransferHistoryQueryKey as po, useEcosystemShortcuts as pr, useTokenPriceHistory24h as ps, SettingsContentProps as pt, TransactionDetailContentProps as q, getNftBlacklistQueryKey as qa, ErrorContent as qc, VECHAIN_KIT_TERMS_CONFIG as qi, TokenBalance as ql, getAccountImplementationAddress as qn, useWalletMetadata as qo, setLocalStorageItem as qr, useGetResolverAddress as qs, useDAppKitWalletModal as qt, useModal as r, useLoginWithVeChain as ra, getDomainsOfAddress as rc, isInvalid as ri, PrivyWalletProviderContextType as rl, useBuildTransaction as rn, useJuicyPosition as ro, useGasTokenSelection as rr, getIsPersonQueryKey as rs, NftDetailContentProps as rt, LegalDocumentsModalContentsTypes as s, useSignMessage as sa, useIsDomainProtected as sc, validate as si, LegalDocumentOptions as sl, useTransferERC721 as sn, NavigatorPosition as so, estimateGas as sr, usePortfolioPriceHistory24h as ss, RemoveWalletConfirmContentProps as st, AccountModalOptions as t, useAppHubApps as ta, Domain as tc, addPrefix as ti, useVechainKitThemeConfig as tl, useTxReceipt as tn, JuicyAssetPosition as to, useGenericDelegatorFeeEstimation as tr, XApp as ts, NftCollectionContentProps as tt, UpgradeSmartAccountModalStyle as u, SettingsModalProvider as ua, useClaimVeWorldSubdomain as uc, TIME as ui, VeChainKitProvider as ul, UseSendTransactionReturnValue as un, StargatePositionsResult as uo, useGenericDelegator as ur, PricePoint as us, DisconnectConfirmContentProps as ut, GasFeeSummary as v, ReceiveModalProvider as va, getPrivyAppInfoQueryKey as vc, xNodeToGMstartingLevel as vi, CostLevel as vl, currentBlockQueryKey as vn, TransferHistoryItem as vo, buildBatchAuthorizationTypedData as vr, useGetTokenUsdPrice as vs, BridgeContent as vt, ModalFAQButton as w, NotificationsModalProvider as wa, TransactionModal as wc, compareAddresses as wi, VthoPerGasAtSpeed as wl, getUpgradeRequired as wn, UploadedImage as wo, getEventsKey as wr, useGetCustomTokenInfo as ws, UpgradeSmartAccountContentProps as wt, TransactionButtonAndStatusProps as x, useAccountCustomizationModal as xa, TransactionToast as xc, toIPFSURL as xi, EstimationResponse as xl, getUpgradeRequiredForAccount as xn, useSwapQuotes as xo, GetEventsKeyParams as xr, useGetErc20Balance as xs, AssetsContent as xt, ModalNotificationButton as y, useReceiveModal as ya, useFetchAppInfo as yc, convertUriToUrl as yi, DepositAccount as yl, useCurrentBlock as yn, VET_TOKEN_SENTINEL as yo, buildSingleAuthorizationTypedData as yr, UseGetErc20BalanceOptions as ys, ManageCustomTokenContent as yt, BalanceSection as z, useTransactionModal as za, LoginWithGoogleButton as zc, NON_TRANSFERABLE_TOKEN_SYMBOLS as zi, ENSRecords as zl, getAccountVersionQueryKey as zn, useXAppsShares as zo, getLocalStorageItem as zr, useTokenBalances as zs, SwapTokenContentProps as zt };
|
|
5018
|
-
//# sourceMappingURL=index-
|
|
5206
|
+
export { SendNftSummaryContentProps as $, useAccountModal as $a, EcosystemButton as $c, TogglePassportCheck as $i, ExecuteBatchWithAuthorizationSignData as $l, getAccountBalanceQueryKey as $n, getXAppMetadata as $o, removeLocalStorageItem as $r, getAvatarLegacy as $s, useThor as $t, StickyFooterContainer as A, ReceiveModalProvider as Aa, getPrivyAppInfoQueryKey as Ac, toIPFSURL as Ai, CostLevel as Al, getSmartAccount as An, TransferHistoryItem as Ao, GetEventsKeyParams as Ar, useGetTokenUsdPrice as As, CustomizationSummaryContentProps as At, QuickActionsSection as B, SwapTokenModalProvider as Ba, WalletButtonProps as Bc, getPicassoImage as Bi, GasTokenInfo as Bl, useHasV1SmartAccount as Bn, useIpfsMetadatas as Bo, useCurrentLanguage as Br, getB3trBalanceQueryKey as Bs, SwapTokenContent as Bt, TransactionButtonAndStatusProps as C, useSettingsModal as Ca, getEnsRecordExistsQueryKey as Cc, XNodeStrengthLevelToName as Ci, VechainKitProviderProps as Cl, getUpgradeRequiredForAccount as Cn, useStargatePositions as Co, useSyncableLocalStorage as Cr, useOracleHistory24h as Cs, AssetsContent as Ct, AddressDisplayCard as D, UpgradeSmartAccountModalProvider as Da, fetchPrivyStatus as Dc, xNodeToGMstartingLevel as Di, LegalDocumentAgreement as Dl, getUpgradeRequiredQueryKey as Dn, IndexerTransfer as Do, buildBatchAuthorizationTypedData as Dr, SupportedToken as Ds, ProfileContent as Dt, ModalFAQButton as E, useProfileModal as Ea, useVechainDomain as Ec, gmNfts as Ei, EnrichedLegalDocument as El, getUpgradeRequired as En, useTransferHistory as Eo, BuildClausesParams as Er, PRICE_FEED_IDS as Es, UpgradeSmartAccountContentProps as Et, ModalBackButton as F, useFAQModal as Fa, ShareButtons as Fc, isValidAddress as Fi, TransactionCost as Fl, getIsDeployed as Fn, useSingleImageUpload as Fo, useScrollToTop as Fr, getTokenInfo as Fs, ChooseNameSummaryContentProps as Ft, AccountModal as G, useChooseNameModal as Ga, VeWorldButton as Gc, DEFAULT_GAS_TOKEN_PREFERENCES as Gi, ENS_TEXT_RECORDS as Gl, useGetAccountAddress as Gn, useIpfsImage as Go, useMultipleClausesCall as Gr, useTotalBalance as Gs, SendTokenSummaryContent as Gt, AccountSelector as H, SendTokenModalProvider as Ha, ConnectPopover as Hc, humanDomain as Hi, GasTokenSelection as Hl, useGetAccountVersion as Hn, MAX_IMAGE_SIZE as Ho, getCallClauseQueryKey as Hr, useCustomTokens as Hs, ReceiveTokenContent as Ht, CrossAppConnectionSecurityCard as I, NotificationsModalProvider as Ia, TransactionModal as Ic, leftPadWithZeros as Ii, VthoPerGasAtSpeed as Il, getIsDeployedQueryKey as In, UploadedImage as Io, useIsPWA as Ir, useGetCustomTokenInfo as Is, ChooseNameSearchContent as It, TransactionDetailContent as J, TransactionToastProvider as Ja, DappKitButton as Jc, NON_TRANSFERABLE_TOKEN_SYMBOLS as Ji, CURRENCY_SYMBOLS as Jl, useCurrentAccountImplementationVersion as Jn, getIpfsMetadataQueryKey as Jo, getLocalStorageItem as Jr, ExchangeRates as Js, useDAppKitWallet as Jt, AccountModalContentTypes as K, WalletModalProvider as Ka, LoginWithGithubButton as Kc, DEFAULT_PRIVY_ECOSYSTEM_APPS as Ki, TextRecords as Kl, getCurrentAccountImplementationVersion as Kn, useIpfsImageList as Ko, copyToClipboard as Kr, TokenWithValue as Ks, SendTokenContent as Kt, DomainRequiredAlert as L, useNotificationsModal as La, TransactionModalProps as Lc, regexPattern as Li, calculateTotalCost as Ll, useIsSmartAccountDeployed as Ln, compressImages as Lo, useGetNodeUrl as Lr, TokenWithBalance as Ls, ChooseNameSearchContentProps as Lt, useStickyHeaderContext as M, AccountCustomizationModalProvider as Ma, AccountMainContent as Mc, validateIpfsUri as Mi, EstimatedGas as Ml, useSmartAccount as Mn, VTHO_TOKEN_ADDRESS as Mo, decodeEventLog$1 as Mr, getErc20BalanceQueryKey as Ms, CustomizationContent as Mt, VersionFooter as N, useAccountCustomizationModal as Na, TransactionToast as Nc, compareAddresses as Ni, EstimationResponse as Nl, useRefreshSmartAccountQueries as Nn, useSwapQuotes as No, getEventsKey as Nr, useGetErc20Balance as Ns, FAQContent as Nt, AssetButton as O, useUpgradeSmartAccountModal as Oa, useFetchPrivyStatus as Oc, convertUriToUrl as Oi, LegalDocumentSource as Ol, useUpgradeRequired as On, TransferDirection as Oo, buildSingleAuthorizationTypedData as Or, getTokenUsdPrice as Os, ProfileContentProps as Ot, AddressDisplay as P, FAQModalProvider as Pa, TransactionModalContent as Pc, compareListOfAddresses as Pi, Rate as Pl, useRefreshFactoryQueries as Pn, useSwapTransaction as Po, useEvents as Pr, getCustomTokenInfoQueryKey as Ps, ChooseNameSummaryContent as Pt, SendNftSummaryContent as Q, AccountModalProvider as Qa, PrivyButton as Qc, TOKEN_LOGO_COMPONENTS as Qi, EnhancedClause as Ql, getAccountBalance as Qn, XAppMetadata as Qo, isOnline as Qr, useUnsetDomain as Qs, useSetWalletRecovery as Qt, ExchangeWarningAlert as R, ExploreEcosystemModalProvider as Ra, SocialIcons as Rc, randomTransactionUser as Ri, formatGasCost as Rl, getHasV1SmartAccount as Rn, imageCompressionOptions as Ro, useFeatureAnnouncement as Rr, getCustomTokenBalanceQueryKey as Rs, ChooseNameContent as Rt, TransactionButtonAndStatus as S, SettingsModalProvider as Sa, useClaimVeWorldSubdomain as Sc, NodeStrengthLevelToImage as Si, VeChainKitProvider as Sl, useUpgradeSmartAccount as Sn, StargatePositionsResult as So, useEcosystemShortcuts as Sr, PricePoint as Ss, ManageCustomTokenContentProps as St, ScrollToTopWrapper as T, ProfileModalProvider as Ta, getVechainDomainQueryKey as Tc, buildQueryString as Ti, useVeChainKitConfig as Tl, useUpgradeRequiredForAccount as Tn, getTransferHistoryQueryKey as To, useLocalStorage as Tr, useTokenPriceHistory24h as Ts, UpgradeSmartAccountContent as Tt, ActionButton as U, useSendTokenModal as Ua, WalletConnectButton as Uc, humanNumber as Ui, GasTokenType as Ul, getAccountAddress as Un, getIpfsImage as Uo, getCallClauseQueryKeyWithArgs as Ur, getCurrentAllocationsRoundIdQueryKey as Us, ReceiveTokenContentProps as Ut, BalanceSection as V, useSwapTokenModal as Va, WalletDisplayVariant as Vc, humanAddress as Vi, GasTokenPreferences as Vl, getAccountVersionQueryKey as Vn, IpfsImage as Vo, useCurrency as Vr, useGetB3trBalance as Vs, SwapTokenContentProps as Vt, AccountDetailsButton as W, ChooseNameModalProvider as Wa, Sync2Button as Wc, isZero as Wi, TransactionSpeed as Wl, getAccountAddressQueryKey as Wn, getIpfsImageQueryKey as Wo, useCallClause as Wr, useCurrentAllocationsRoundId as Ws, SelectTokenContent as Wt, TransactionHistoryContent as X, TransactionModalProvider as Xa, LoginWithAppleButton as Xc, SUPPORTED_GAS_TOKENS as Xi, CrossAppConnectionCache as Xl, getAccountImplementationAddressQueryKey as Xn, getXAppsSharesQueryKey as Xo, hasNavigator as Xr, WalletTokenBalance as Xs, useMfaEnrollment as Xt, TransactionDetailContentProps as Y, useTransactionToast as Ya, PasskeyLoginButton as Yc, PrivyEcosystemApp as Yi, ConnectionSource as Yl, getAccountImplementationAddress as Yn, useIpfsMetadata as Yo, getWindowOrigin as Yr, useTokenPrices as Ys, useDAppKitWalletModal as Yt, TransactionHistoryContentProps as Z, useTransactionModal as Za, LoginWithGoogleButton as Zc, TOKEN_LOGOS as Zi, ENSRecords as Zl, useAccountImplementationAddress as Zn, useXAppsShares as Zo, isBrowser as Zr, useTokenBalances as Zs, usePrivy as Zt, WalletSwitchFeedback as _, useLoginWithPasskey as _a, useGetDomainsOfAddress as _c, isRejectionError as _i, AccountQuickAction as _l, getChainId as _n, LpPositionToken as _o, getDepositAccount as _r, getVot3BalanceQueryKey as _s, LanguageSettingsContent as _t, LegalDocumentItem as a, getGenericDelegatorUrl as aa, useGetResolverAddress as ac, ViewFunctionResult as ai, ErrorContent as al, useBuildTransaction as an, getNftBlacklistQueryKey as ao, useGasTokenSelection as ar, useWalletMetadata as as, NftDetailContentProps as at, TokenBalance as au, GasFeeSummary as b, useNotificationAlerts as ba, buildVetDomainClauses as bc, EconomicNodeStrengthLevelToName as bi, VeChainKitConfig as bl, currentBlockQueryKey as bn, useNavigatorPosition as bo, useCrossAppConnectionCache as br, OracleHistory24h as bs, BridgeContent as bt, UpgradeSmartAccountModal as c, AppHubApp as ca, getTextRecords as cc, executeMultipleClausesCall as ci, ConnectModal as cl, buildERC721Clauses as cn, useOwnedNfts as co, GENERIC_DELEGATOR_LOCAL_ESTIMATE_TIMEOUT_MS as cr, getRoundXAppsQueryKey as cs, RemoveWalletConfirmContent as ct, VePassportUserStatus as cu, StatusScreen as d, useAppHubApps as da, getAvatarQueryKey as dc, compare as di, useLegalDocuments as dl, useTransferERC20 as dn, NftMetadata as do, computeCorrectedTotalGasNoFeePayer as dr, useRefreshBalances as ds, DisconnectConfirmContent as dt, getConfig as du, VECHAIN_KIT_COOKIES_CONFIG as ea, getAvatarLegacyQueryKey as ec, safeQuerySelector as ei, VeChainLoginButton as el, VECHAIN_KIT_QUERY_KEYS as en, ConnectModalProvider as eo, useAccountBalance as er, useXAppMetadata as es, SendNftContent as et, ExecuteWithAuthorizationSignData as eu, StatusScreenProps as f, useConnectWithDappKitSource as fa, useGetAvatar as fc, isInvalid as fi, VechainKitThemeProvider as fl, UseSendTransactionReturnValue as fn, OwnedNft as fo, convertGasToGasTokenAmount as fr, MostVotedAppsInRoundReturnType as fs, DisconnectConfirmContentProps as ft, PriceChangeBadge as g, useLoginWithOAuth as ga, getDomainsOfAddressQueryKey as gc, validate as gi, usePrivyWalletProvider as gl, getEventLogs as gn, LpPosition as go, estimateGas as gr, useIsPerson as gs, GasTokenSettingsContent as gt, AddressOrDomainLabel as h, CrossAppLoginIntent as ha, getDomainsOfAddress as hc, removePrefix as hi, PrivyWalletProviderContextType as hl, getAllEventLogs as hn, useJuicyPosition as ho, estimateAndBuildTxBody as hr, getIsPersonQueryKey as hs, SettingsContentProps as ht, DAppKitWalletButton as i, getENV as ia, getResolverAddressQueryKey as ic, MultipleClausesCallReturnType as ii, EcosystemContent as il, BuildTransactionProps as in, useOwnedNftsFiltered as io, useGenericDelegatorFeeEstimationParams as ir, useWalletStorage as is, NftDetailContent as it, SmartAccount as iu, StickyHeaderContainer as j, useReceiveModal as ja, useFetchAppInfo as jc, uploadBlobToIPFS as ji, DepositAccount as jl, getSmartAccountQueryKey as jn, VET_TOKEN_SENTINEL as jo, UseEventsParams as jr, UseGetErc20BalanceOptions as js, AccountCustomizationContentProps as jt, BaseModal as k, useLoginModalContent as ka, fetchPrivyAppInfo as kc, resolveMediaTypeFromMimeType as ki, LegalDocumentType as kl, SmartAccountReturnType as kn, TransferEventType as ko, useBuildClauses as kr, getTokenUsdPriceQueryKey as ks, CustomizationSummaryContent as kt, UpgradeSmartAccountModalContentsTypes as l, fetchAppHubApps as la, getTextRecordsQueryKey as lc, isValidUrl as li, ConnectModalContentsTypes as ll, useTransferERC721 as ln, IndexerNft as lo, GENERIC_DELEGATOR_WRAPPER_OVERHEAD_GAS as lr, useRoundXApps as ls, RemoveWalletConfirmContentProps as lt, Wallet as lu, CopyIconButton as m, useLoginWithVeChain as ma, DomainsResponse as mc, normalize as mi, PrivyWalletProvider as ml, GetEventsProps as mn, JuicyPositionResult as mo, delegateAuthorized as mr, useMostVotedAppsInRound as ms, SettingsContent as mt, ModalProvider as n, VECHAIN_KIT_TERMS_CONFIG as na, getAvatarOfAddressQueryKey as nc, setLocalStorageItem as ni, ConnectionButton as nl, txReceiptQueryKey as nn, useNftCollectionName as no, useEstimateAllTokens as nr, useSwitchWallet as ns, NftCollectionContent as nt, PrivyAppInfo as nu, LegalDocumentsModal as o, getKitSponsoredDelegatorUrl as oa, buildClauses as oc, buildCallClauses as oi, LoadingContent as ol, buildVETClauses as on, useNftBlacklist as oo, GENERIC_DELEGATOR_FEE_PAYER_OVERHEAD_GAS as or, UseWalletReturnType as os, TokenDetailContent as ot, TransactionStatus as ou, PriceChart as p, UseLoginWithVeChainOptions as pa, Domain as pc, isValid as pi, useVechainKitThemeConfig as pl, useSendTransaction as pn, JuicyAssetPosition as po, decodeRawTx as pr, XApp as ps, TermsAndPrivacyContent as pt, SwitchFeedback as q, useWalletModal as qa, VeChainWithPrivyLoginButton as qc, ENV as qi, CURRENCY as ql, getCurrentAccountImplementationVersionQueryKey as qn, getIpfsMetadata as qo, getDocumentTitle as qr, useTokensWithValues as qs, ThorClient$1 as qt, useModal as r, VECHAIN_PRIVY_APP_ID as ra, useGetAvatarOfAddress as rc, MultipleClausesCallParameters as ri, MoreOptionsContent as rl, useTxReceipt as rn, useNftMetadata as ro, useGenericDelegatorFeeEstimation as rr, StoredWallet as rs, NftCollectionContentProps as rt, PrivyLoginMethod as ru, LegalDocumentsModalContentsTypes as s, notFoundImage as sa, useUpdateTextRecord as sc, executeCallClause as si, MainContent as sl, useTransferVET as sn, getOwnedNftsQueryKey as so, GENERIC_DELEGATOR_GAS_SAFETY_MULTIPLIER as sr, useWallet as ss, TokenDetailContentProps as st, TransactionStatusErrorType as su, AccountModalOptions as t, VECHAIN_KIT_STORAGE_KEYS as ta, useGetAvatarLegacy as tc, safeWindowOpen as ti, EmailLoginButton as tl, useGasEstimate as tn, useConnectModal as to, UseEstimateAllTokensParams as tr, UseSwitchWalletReturnType as ts, SendNftContentProps as tt, NFTMediaType as tu, UpgradeSmartAccountModalStyle as u, getAppHubAppsQueryKey as ua, useGetTextRecords as uc, addPrefix as ui, LegalDocumentsProvider as ul, buildERC20Clauses as un, NftAttribute as uo, computeCorrectedGasTokenCost as ur, useRefreshMetadata as us, SelectWalletContent as ut, AppConfig as uu, InlineFeedback as v, useSignTypedData as va, getIsDomainProtectedQueryKey as vc, simpleHash as vi, LegalDocument as vl, getChainIdQueryKey as vn, useBetterSwapLpPositions as vo, signVip191Transaction as vr, useGetVot3Balance as vs, ChangeCurrencyContent as vt, AccountAvatar as w, useAccountModalOptions as wa, useEnsRecordExists as wc, allNodeStrengthLevelToName as wi, useAppConfig as wl, getUpgradeRequiredForAccountQueryKey as wn, useTokenTransferHistory as wo, LocalStorageKey as wr, useOraclePriceChanges24h as ws, AssetsContentProps as wt, ModalNotificationButton as x, useNotifications as xa, useClaimVetDomain as xc, MinXNodeLevel as xi, VeChainKitContext as xl, useCurrentBlock as xn, StargatePosition as xo, EcosystemShortcut as xr, PriceChanges24h as xs, ManageCustomTokenContent as xt, GasFeeTokenSelector as y, useSignMessage as ya, useIsDomainProtected as yc, TIME as yi, LegalDocumentOptions as yl, useGetChainId as yn, NavigatorPosition as yo, useGenericDelegator as yr, usePortfolioPriceHistory24h as ys, ChangeCurrencyContentProps as yt, FeatureAnnouncementCard as z, useExploreEcosystemModal as za, WalletButton as zc, formatTokenBalance as zi, GasTokenEstimate as zl, getHasV1SmartAccountQueryKey as zn, useUploadImages as zo, useCurrentCurrency as zr, useGetCustomTokenBalances as zs, ChooseNameContentProps as zt };
|
|
5207
|
+
//# sourceMappingURL=index-aWHEC3vV.d.cts.map
|