@vechain/vechain-kit 2.8.2 → 2.10.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/assets/index.cjs +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-B7W1mM8I.d.mts → index-BvuXDx6d.d.mts} +4 -4
- package/dist/{index-B7W1mM8I.d.mts.map → index-BvuXDx6d.d.mts.map} +1 -1
- package/dist/{index-BJC0UjWs.d.mts → index-DqmXn4Mz.d.mts} +584 -181
- package/dist/index-DqmXn4Mz.d.mts.map +1 -0
- package/dist/{index-CakR5Xyt.d.cts → index-lFyi52Xi.d.cts} +471 -70
- package/dist/index-lFyi52Xi.d.cts.map +1 -0
- package/dist/index.cjs +10 -10
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +2 -2
- 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 +2 -2
- 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-BJC0UjWs.d.mts.map +0 -1
- package/dist/index-CakR5Xyt.d.cts.map +0 -1
- package/dist/utils-DJKLAzLP.cjs +0 -2
- package/dist/utils-DJKLAzLP.cjs.map +0 -1
- package/dist/utils-KYzX9d5n.mjs +0 -2
- package/dist/utils-KYzX9d5n.mjs.map +0 -1
|
@@ -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_query11 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
|
|
@@ -96,6 +96,7 @@ type AppConfig = {
|
|
|
96
96
|
navigatorRegistryContractAddress: string;
|
|
97
97
|
betterSwapFactoryAddress: string;
|
|
98
98
|
juicyPoolAddress: string;
|
|
99
|
+
nftBlacklistContractAddress?: string;
|
|
99
100
|
vetDomainAvatarUrl: string;
|
|
100
101
|
nodeUrl: string;
|
|
101
102
|
indexerUrl: string;
|
|
@@ -558,6 +559,13 @@ type LoginMethodOrder = {
|
|
|
558
559
|
method: AlwaysAvailableMethods | (VechainKitProviderProps['privy'] extends undefined ? never : PrivyDependentMethods);
|
|
559
560
|
gridColumn?: number;
|
|
560
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;
|
|
561
569
|
};
|
|
562
570
|
type LegalDocumentOptions = {
|
|
563
571
|
privacyPolicy?: LegalDocument[];
|
|
@@ -966,6 +974,13 @@ declare const ConnectionButton: ({
|
|
|
966
974
|
}: ConnectionButtonProps) => react_jsx_runtime0.JSX.Element;
|
|
967
975
|
//#endregion
|
|
968
976
|
//#region src/components/ConnectModal/Components/EmailLoginButton.d.ts
|
|
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
|
+
*/
|
|
969
984
|
declare const EmailLoginButton: () => react_jsx_runtime0.JSX.Element;
|
|
970
985
|
//#endregion
|
|
971
986
|
//#region src/components/ConnectModal/Components/VeChainLoginButton.d.ts
|
|
@@ -1010,23 +1025,30 @@ declare const PrivyButton: ({
|
|
|
1010
1025
|
type Props$33 = {
|
|
1011
1026
|
isDark: boolean;
|
|
1012
1027
|
gridColumn?: number;
|
|
1028
|
+
/** When true, render as the recommended primary CTA. See VeWorldButton. */
|
|
1029
|
+
isPrimary?: boolean;
|
|
1013
1030
|
};
|
|
1014
|
-
/** Secondary outline button
|
|
1031
|
+
/** Secondary outline button by default; recommended primary when `isPrimary`. */
|
|
1015
1032
|
declare const LoginWithGoogleButton: ({
|
|
1016
1033
|
isDark,
|
|
1017
|
-
gridColumn
|
|
1034
|
+
gridColumn,
|
|
1035
|
+
isPrimary
|
|
1018
1036
|
}: Props$33) => react_jsx_runtime0.JSX.Element;
|
|
1019
1037
|
//#endregion
|
|
1020
1038
|
//#region src/components/ConnectModal/Components/LoginWithAppleButton.d.ts
|
|
1021
1039
|
type Props$32 = {
|
|
1022
1040
|
isDark: boolean;
|
|
1023
1041
|
gridColumn?: number;
|
|
1042
|
+
/** When true, render as the recommended primary CTA. See VeWorldButton. */
|
|
1043
|
+
isPrimary?: boolean;
|
|
1024
1044
|
};
|
|
1025
|
-
/** Secondary outline
|
|
1026
|
-
* 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). */
|
|
1027
1048
|
declare const LoginWithAppleButton: ({
|
|
1028
1049
|
isDark,
|
|
1029
|
-
gridColumn
|
|
1050
|
+
gridColumn,
|
|
1051
|
+
isPrimary
|
|
1030
1052
|
}: Props$32) => react_jsx_runtime0.JSX.Element;
|
|
1031
1053
|
//#endregion
|
|
1032
1054
|
//#region src/components/ConnectModal/Components/PasskeyLoginButton.d.ts
|
|
@@ -1065,10 +1087,13 @@ declare const VeChainWithPrivyLoginButton: ({
|
|
|
1065
1087
|
type Props$28 = {
|
|
1066
1088
|
isDark: boolean;
|
|
1067
1089
|
gridColumn?: number;
|
|
1090
|
+
/** When true, render as the recommended primary CTA. See VeWorldButton. */
|
|
1091
|
+
isPrimary?: boolean;
|
|
1068
1092
|
};
|
|
1069
1093
|
declare const LoginWithGithubButton: ({
|
|
1070
1094
|
isDark,
|
|
1071
|
-
gridColumn
|
|
1095
|
+
gridColumn,
|
|
1096
|
+
isPrimary
|
|
1072
1097
|
}: Props$28) => react_jsx_runtime0.JSX.Element;
|
|
1073
1098
|
//#endregion
|
|
1074
1099
|
//#region src/components/ConnectModal/Components/VeWorldButton.d.ts
|
|
@@ -1076,20 +1101,19 @@ type Props$27 = {
|
|
|
1076
1101
|
isDark: boolean;
|
|
1077
1102
|
gridColumn?: number;
|
|
1078
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;
|
|
1079
1111
|
};
|
|
1080
|
-
/**
|
|
1081
|
-
* Primary CTA — VeWorld brand-locked surface. Always inverted contrast
|
|
1082
|
-
* against the modal: dark in light mode, white in dark mode.
|
|
1083
|
-
*
|
|
1084
|
-
* Intentionally does NOT consume `theme.buttons.primaryButton.{bg,color}`
|
|
1085
|
-
* — devs who themed their primary button (e.g. brand blue) shouldn't end
|
|
1086
|
-
* up with a blue VeWorld button. The VeWorld logo + label have to stay
|
|
1087
|
-
* recognisable.
|
|
1088
|
-
*/
|
|
1089
1112
|
declare const VeWorldButton: ({
|
|
1090
1113
|
isDark,
|
|
1091
1114
|
gridColumn,
|
|
1092
|
-
setCurrentContent
|
|
1115
|
+
setCurrentContent,
|
|
1116
|
+
isPrimary
|
|
1093
1117
|
}: Props$27) => react_jsx_runtime0.JSX.Element;
|
|
1094
1118
|
//#endregion
|
|
1095
1119
|
//#region src/components/ConnectModal/Components/Sync2Button.d.ts
|
|
@@ -1237,7 +1261,7 @@ declare const AccountMainContent: ({
|
|
|
1237
1261
|
//#region src/hooks/api/privy/useFetchAppInfo.d.ts
|
|
1238
1262
|
declare const fetchPrivyAppInfo: (appId: string) => Promise<PrivyAppInfo>;
|
|
1239
1263
|
declare const getPrivyAppInfoQueryKey: (appIds: string | string[]) => string[];
|
|
1240
|
-
declare const useFetchAppInfo: (appIds: string | string[]) =>
|
|
1264
|
+
declare const useFetchAppInfo: (appIds: string | string[]) => _tanstack_react_query11.UseQueryResult<{
|
|
1241
1265
|
[k: string]: {
|
|
1242
1266
|
website: string | undefined;
|
|
1243
1267
|
id: string;
|
|
@@ -1258,7 +1282,7 @@ declare const useFetchAppInfo: (appIds: string | string[]) => _tanstack_react_qu
|
|
|
1258
1282
|
//#endregion
|
|
1259
1283
|
//#region src/hooks/api/privy/useFetchPrivyStatus.d.ts
|
|
1260
1284
|
declare const fetchPrivyStatus: () => Promise<string>;
|
|
1261
|
-
declare const useFetchPrivyStatus: () =>
|
|
1285
|
+
declare const useFetchPrivyStatus: () => _tanstack_react_query11.UseQueryResult<string, Error>;
|
|
1262
1286
|
//#endregion
|
|
1263
1287
|
//#region src/hooks/api/vetDomains/useVechainDomain.d.ts
|
|
1264
1288
|
interface VeChainDomainResult {
|
|
@@ -1268,11 +1292,11 @@ interface VeChainDomainResult {
|
|
|
1268
1292
|
isPrimaryDomain: boolean;
|
|
1269
1293
|
}
|
|
1270
1294
|
declare const getVechainDomainQueryKey: (addressOrDomain?: string | null) => (string | null | undefined)[];
|
|
1271
|
-
declare const useVechainDomain: (addressOrDomain?: string | null) =>
|
|
1295
|
+
declare const useVechainDomain: (addressOrDomain?: string | null) => _tanstack_react_query11.UseQueryResult<VeChainDomainResult, Error>;
|
|
1272
1296
|
//#endregion
|
|
1273
1297
|
//#region src/hooks/api/vetDomains/useEnsRecordExists.d.ts
|
|
1274
1298
|
declare const getEnsRecordExistsQueryKey: (name: string) => string[];
|
|
1275
|
-
declare const useEnsRecordExists: (name: string) =>
|
|
1299
|
+
declare const useEnsRecordExists: (name: string) => _tanstack_react_query11.UseQueryResult<boolean, Error>;
|
|
1276
1300
|
//#endregion
|
|
1277
1301
|
//#region src/hooks/api/vetDomains/useClaimVeWorldSubdomain.d.ts
|
|
1278
1302
|
type useClaimVeWorldSubdomainProps = {
|
|
@@ -1334,7 +1358,7 @@ declare const getIsDomainProtectedQueryKey: (domain?: string) => (string | undef
|
|
|
1334
1358
|
* @param {boolean} [enabled=true] - Flag to enable or disable the hook.
|
|
1335
1359
|
* @returns The result of the useQuery hook, with the protection status.
|
|
1336
1360
|
*/
|
|
1337
|
-
declare const useIsDomainProtected: (domain?: string, enabled?: boolean) =>
|
|
1361
|
+
declare const useIsDomainProtected: (domain?: string, enabled?: boolean) => _tanstack_react_query11.UseQueryResult<boolean, Error>;
|
|
1338
1362
|
//#endregion
|
|
1339
1363
|
//#region src/hooks/api/vetDomains/useGetDomainsOfAddress.d.ts
|
|
1340
1364
|
declare const DomainSchema: z.ZodObject<{
|
|
@@ -1362,7 +1386,7 @@ declare const getDomainsOfAddressQueryKey: (address?: string, parentDomain?: str
|
|
|
1362
1386
|
* @param parentDomain The parent domain (e.g., "veworld.vet")
|
|
1363
1387
|
* @returns The domains owned by the address
|
|
1364
1388
|
*/
|
|
1365
|
-
declare const useGetDomainsOfAddress: (address?: string, parentDomain?: string) =>
|
|
1389
|
+
declare const useGetDomainsOfAddress: (address?: string, parentDomain?: string) => _tanstack_react_query11.UseQueryResult<{
|
|
1366
1390
|
domains: {
|
|
1367
1391
|
name: string;
|
|
1368
1392
|
}[];
|
|
@@ -1375,7 +1399,7 @@ declare const getAvatarQueryKey: (name: string, networkType: NETWORK_TYPE) => st
|
|
|
1375
1399
|
* @param name - The VET domain name
|
|
1376
1400
|
* @returns The resolved avatar URL
|
|
1377
1401
|
*/
|
|
1378
|
-
declare const useGetAvatar: (name: string) =>
|
|
1402
|
+
declare const useGetAvatar: (name: string) => _tanstack_react_query11.UseQueryResult<string | null, Error>;
|
|
1379
1403
|
//#endregion
|
|
1380
1404
|
//#region src/hooks/api/vetDomains/useGetTextRecords.d.ts
|
|
1381
1405
|
/**
|
|
@@ -1387,7 +1411,7 @@ declare const useGetAvatar: (name: string) => _tanstack_react_query8.UseQueryRes
|
|
|
1387
1411
|
*/
|
|
1388
1412
|
declare const getTextRecords: (nodeUrl: string, network: NETWORK_TYPE, domain?: string) => Promise<TextRecords>;
|
|
1389
1413
|
declare const getTextRecordsQueryKey: (domain?: string, network?: NETWORK_TYPE) => (string | undefined)[];
|
|
1390
|
-
declare const useGetTextRecords: (domain?: string) =>
|
|
1414
|
+
declare const useGetTextRecords: (domain?: string) => _tanstack_react_query11.UseQueryResult<TextRecords, Error>;
|
|
1391
1415
|
//#endregion
|
|
1392
1416
|
//#region src/hooks/api/vetDomains/useUpdateTextRecord.d.ts
|
|
1393
1417
|
type UpdateTextRecordVariables = {
|
|
@@ -1420,7 +1444,7 @@ declare const getResolverAddressQueryKey: (domain?: string) => (string | undefin
|
|
|
1420
1444
|
* @param domain The domain to get resolver for
|
|
1421
1445
|
* @returns The resolver address for the domain
|
|
1422
1446
|
*/
|
|
1423
|
-
declare const useGetResolverAddress: (domain?: string) =>
|
|
1447
|
+
declare const useGetResolverAddress: (domain?: string) => _tanstack_react_query11.UseQueryResult<`0x${string}`, unknown>;
|
|
1424
1448
|
//#endregion
|
|
1425
1449
|
//#region src/hooks/api/vetDomains/useGetAvatarOfAddress.d.ts
|
|
1426
1450
|
declare const getAvatarOfAddressQueryKey: (address?: string) => (string | undefined)[];
|
|
@@ -1430,7 +1454,7 @@ declare const getAvatarOfAddressQueryKey: (address?: string) => (string | undefi
|
|
|
1430
1454
|
* @param address The owner's address
|
|
1431
1455
|
* @returns The avatar URL for the address's primary domain
|
|
1432
1456
|
*/
|
|
1433
|
-
declare const useGetAvatarOfAddress: (address?: string) =>
|
|
1457
|
+
declare const useGetAvatarOfAddress: (address?: string) => _tanstack_react_query11.UseQueryResult<string, Error>;
|
|
1434
1458
|
//#endregion
|
|
1435
1459
|
//#region src/hooks/api/vetDomains/useGetAvatarLegacy.d.ts
|
|
1436
1460
|
/**
|
|
@@ -1447,7 +1471,7 @@ declare const getAvatarLegacyQueryKey: (name: string, networkType: NETWORK_TYPE)
|
|
|
1447
1471
|
* @param name - The VET domain name
|
|
1448
1472
|
* @returns The resolved avatar URL
|
|
1449
1473
|
*/
|
|
1450
|
-
declare const useGetAvatarLegacy: (name: string) =>
|
|
1474
|
+
declare const useGetAvatarLegacy: (name: string) => _tanstack_react_query11.UseQueryResult<string | null, Error>;
|
|
1451
1475
|
//#endregion
|
|
1452
1476
|
//#region src/hooks/api/vetDomains/useUnsetDomain.d.ts
|
|
1453
1477
|
type useUnsetDomainProps = {
|
|
@@ -1564,7 +1588,7 @@ declare const getCurrentAllocationsRoundIdQueryKey: (address: string) => string[
|
|
|
1564
1588
|
* Hook to get the current roundId of allocations voting
|
|
1565
1589
|
* @returns the current roundId of allocations voting
|
|
1566
1590
|
*/
|
|
1567
|
-
declare const useCurrentAllocationsRoundId: () =>
|
|
1591
|
+
declare const useCurrentAllocationsRoundId: () => _tanstack_react_query11.UseQueryResult<string, unknown>;
|
|
1568
1592
|
//#endregion
|
|
1569
1593
|
//#region src/hooks/api/wallet/useCustomTokens.d.ts
|
|
1570
1594
|
declare const useCustomTokens: () => {
|
|
@@ -1577,7 +1601,7 @@ declare const useCustomTokens: () => {
|
|
|
1577
1601
|
//#endregion
|
|
1578
1602
|
//#region src/hooks/api/wallet/useGetB3trBalance.d.ts
|
|
1579
1603
|
declare const getB3trBalanceQueryKey: (address?: string) => (string | undefined)[];
|
|
1580
|
-
declare const useGetB3trBalance: (address?: string) =>
|
|
1604
|
+
declare const useGetB3trBalance: (address?: string) => _tanstack_react_query11.UseQueryResult<{
|
|
1581
1605
|
original: string;
|
|
1582
1606
|
scaled: string;
|
|
1583
1607
|
formatted: string;
|
|
@@ -1586,7 +1610,7 @@ declare const useGetB3trBalance: (address?: string) => _tanstack_react_query8.Us
|
|
|
1586
1610
|
//#region src/hooks/api/wallet/useGetCustomTokenBalances.d.ts
|
|
1587
1611
|
type TokenWithBalance = CustomTokenInfo & TokenBalance;
|
|
1588
1612
|
declare const getCustomTokenBalanceQueryKey: (tokenAddress?: string, address?: string, decimals?: number) => (string | number | undefined)[];
|
|
1589
|
-
declare const useGetCustomTokenBalances: (address?: string) =>
|
|
1613
|
+
declare const useGetCustomTokenBalances: (address?: string) => _tanstack_react_query11.UseQueryResult<{
|
|
1590
1614
|
original: string;
|
|
1591
1615
|
scaled: string;
|
|
1592
1616
|
formatted: string;
|
|
@@ -1599,14 +1623,14 @@ declare const useGetCustomTokenBalances: (address?: string) => _tanstack_react_q
|
|
|
1599
1623
|
//#region src/hooks/api/wallet/useGetCustomTokenInfo.d.ts
|
|
1600
1624
|
declare const getTokenInfo: (tokenAddress: string, networkUrl: string) => Promise<CustomTokenInfo>;
|
|
1601
1625
|
declare const getCustomTokenInfoQueryKey: (tokenAddress: string) => string[];
|
|
1602
|
-
declare const useGetCustomTokenInfo: (tokenAddress: string) =>
|
|
1626
|
+
declare const useGetCustomTokenInfo: (tokenAddress: string) => _tanstack_react_query11.UseQueryResult<CustomTokenInfo, Error>;
|
|
1603
1627
|
//#endregion
|
|
1604
1628
|
//#region src/hooks/api/wallet/useGetErc20Balance.d.ts
|
|
1605
1629
|
declare const getErc20BalanceQueryKey: (tokenAddress: string, address?: string) => (string | undefined)[];
|
|
1606
1630
|
type UseGetErc20BalanceOptions = {
|
|
1607
1631
|
enabled?: boolean;
|
|
1608
1632
|
};
|
|
1609
|
-
declare const useGetErc20Balance: (tokenAddress: string, address?: string, options?: UseGetErc20BalanceOptions) =>
|
|
1633
|
+
declare const useGetErc20Balance: (tokenAddress: string, address?: string, options?: UseGetErc20BalanceOptions) => _tanstack_react_query11.UseQueryResult<{
|
|
1610
1634
|
original: string;
|
|
1611
1635
|
scaled: string;
|
|
1612
1636
|
formatted: string;
|
|
@@ -1623,7 +1647,7 @@ declare const PRICE_FEED_IDS: {
|
|
|
1623
1647
|
type SupportedToken = keyof typeof PRICE_FEED_IDS;
|
|
1624
1648
|
declare const getTokenUsdPrice: (thor: ThorClient, token: SupportedToken, network: NETWORK_TYPE) => Promise<number>;
|
|
1625
1649
|
declare const getTokenUsdPriceQueryKey: (token: SupportedToken) => string[];
|
|
1626
|
-
declare const useGetTokenUsdPrice: (token: SupportedToken) =>
|
|
1650
|
+
declare const useGetTokenUsdPrice: (token: SupportedToken) => _tanstack_react_query11.UseQueryResult<number, Error>;
|
|
1627
1651
|
//#endregion
|
|
1628
1652
|
//#region src/hooks/api/wallet/useOraclePriceChanges24h.d.ts
|
|
1629
1653
|
type PricePoint = {
|
|
@@ -1644,7 +1668,7 @@ type PriceChanges24h = Partial<Record<SupportedToken, number>>;
|
|
|
1644
1668
|
* `useTokenPriceHistory24h`, the portfolio chart) all derive from this single
|
|
1645
1669
|
* query so we never run the same RPC scan twice in a session.
|
|
1646
1670
|
*/
|
|
1647
|
-
declare const useOracleHistory24h: () =>
|
|
1671
|
+
declare const useOracleHistory24h: () => _tanstack_react_query11.UseQueryResult<OracleHistory24h, Error>;
|
|
1648
1672
|
declare const useOraclePriceChanges24h: () => {
|
|
1649
1673
|
data: Partial<Record<"B3TR" | "VET" | "VTHO" | "GBP" | "EUR", number>>;
|
|
1650
1674
|
};
|
|
@@ -1662,7 +1686,7 @@ declare const usePortfolioPriceHistory24h: (address?: string) => {
|
|
|
1662
1686
|
//#endregion
|
|
1663
1687
|
//#region src/hooks/api/wallet/useGetVot3Balance.d.ts
|
|
1664
1688
|
declare const getVot3BalanceQueryKey: (address?: string) => (string | undefined)[];
|
|
1665
|
-
declare const useGetVot3Balance: (address?: string) =>
|
|
1689
|
+
declare const useGetVot3Balance: (address?: string) => _tanstack_react_query11.UseQueryResult<{
|
|
1666
1690
|
original: string;
|
|
1667
1691
|
scaled: string;
|
|
1668
1692
|
formatted: string;
|
|
@@ -1681,7 +1705,7 @@ declare const getIsPersonQueryKey: (user: string, networkType: NETWORK_TYPE) =>
|
|
|
1681
1705
|
* @param user - The user address.
|
|
1682
1706
|
* @returns The isPerson status.
|
|
1683
1707
|
*/
|
|
1684
|
-
declare const useIsPerson: (user?: string | null) =>
|
|
1708
|
+
declare const useIsPerson: (user?: string | null) => _tanstack_react_query11.UseQueryResult<boolean, Error>;
|
|
1685
1709
|
//#endregion
|
|
1686
1710
|
//#region src/hooks/api/wallet/useMostVotedAppsInRound.d.ts
|
|
1687
1711
|
type XApp = {
|
|
@@ -1719,7 +1743,7 @@ declare const useRefreshMetadata: (domain: string, address: string) => {
|
|
|
1719
1743
|
//#endregion
|
|
1720
1744
|
//#region src/hooks/api/wallet/useRoundXApps.d.ts
|
|
1721
1745
|
declare const getRoundXAppsQueryKey: (roundId: string, networkType: NETWORK_TYPE) => unknown[];
|
|
1722
|
-
declare const useRoundXApps: (roundId?: string) =>
|
|
1746
|
+
declare const useRoundXApps: (roundId?: string) => _tanstack_react_query11.UseQueryResult<{
|
|
1723
1747
|
id: string;
|
|
1724
1748
|
teamWalletAddress: `0x${string}`;
|
|
1725
1749
|
name: string;
|
|
@@ -1833,7 +1857,7 @@ type XAppMetadata = {
|
|
|
1833
1857
|
* @returns The metadata of the xApp see {@link XAppMetadata}
|
|
1834
1858
|
*/
|
|
1835
1859
|
declare const getXAppMetadata: (uri: string, networkType: NETWORK_TYPE) => Promise<XAppMetadata | undefined>;
|
|
1836
|
-
declare const useXAppMetadata: (xAppId: string) =>
|
|
1860
|
+
declare const useXAppMetadata: (xAppId: string) => _tanstack_react_query11.UseQueryResult<XAppMetadata | undefined, Error>;
|
|
1837
1861
|
//#endregion
|
|
1838
1862
|
//#region src/hooks/api/wallet/useXAppShares.d.ts
|
|
1839
1863
|
/**
|
|
@@ -1848,7 +1872,7 @@ declare const getXAppsSharesQueryKey: (roundId?: number | string) => (string | n
|
|
|
1848
1872
|
* @returns the shares (% of allocation pool) for the xApps in the round { allocated: number, unallocated: number }
|
|
1849
1873
|
*
|
|
1850
1874
|
*/
|
|
1851
|
-
declare const useXAppsShares: (apps: string[], roundId?: string) =>
|
|
1875
|
+
declare const useXAppsShares: (apps: string[], roundId?: string) => _tanstack_react_query11.UseQueryResult<{
|
|
1852
1876
|
app: string;
|
|
1853
1877
|
share: number;
|
|
1854
1878
|
unallocatedShare: number;
|
|
@@ -1870,7 +1894,7 @@ declare const getIpfsMetadataQueryKey: (networkType: NETWORK_TYPE, ipfsUri?: str
|
|
|
1870
1894
|
* @param ipfsUri - The IPFS URI
|
|
1871
1895
|
* @returns The metadata from IPFS
|
|
1872
1896
|
*/
|
|
1873
|
-
declare const useIpfsMetadata: <T$1>(ipfsUri?: string, parseJson?: boolean) =>
|
|
1897
|
+
declare const useIpfsMetadata: <T$1>(ipfsUri?: string, parseJson?: boolean) => _tanstack_react_query11.UseQueryResult<_tanstack_react_query11.NoInfer<T$1>, Error>;
|
|
1874
1898
|
//#endregion
|
|
1875
1899
|
//#region src/hooks/api/ipfs/useIpfsImage.d.ts
|
|
1876
1900
|
interface IpfsImage {
|
|
@@ -1897,14 +1921,14 @@ declare const getIpfsImageQueryKey: (networkType: NETWORK_TYPE, imageIpfsUri?: n
|
|
|
1897
1921
|
* @param imageIpfsUri - The IPFS URI of the NFT media
|
|
1898
1922
|
* @returns The NFT media
|
|
1899
1923
|
*/
|
|
1900
|
-
declare const useIpfsImage: (imageIpfsUri?: null | string) =>
|
|
1924
|
+
declare const useIpfsImage: (imageIpfsUri?: null | string) => _tanstack_react_query11.UseQueryResult<IpfsImage, Error>;
|
|
1901
1925
|
/**
|
|
1902
1926
|
* Custom hook to fetch a list of IPFS images.
|
|
1903
1927
|
*
|
|
1904
1928
|
* @param imageIpfsUriList - An array of IPFS URIs for the images.
|
|
1905
1929
|
* @returns An array of queries for each IPFS image URI.
|
|
1906
1930
|
*/
|
|
1907
|
-
declare const useIpfsImageList: (imageIpfsUriList: string[]) =>
|
|
1931
|
+
declare const useIpfsImageList: (imageIpfsUriList: string[]) => _tanstack_react_query11.UseQueryResult<IpfsImage, Error>[];
|
|
1908
1932
|
//#endregion
|
|
1909
1933
|
//#region src/hooks/api/ipfs/useIpfsMetadatas.d.ts
|
|
1910
1934
|
/**
|
|
@@ -1912,7 +1936,7 @@ declare const useIpfsImageList: (imageIpfsUriList: string[]) => _tanstack_react_
|
|
|
1912
1936
|
* @param ipfsUris - The IPFS URIs
|
|
1913
1937
|
* @returns The metadata from IPFS for each URI
|
|
1914
1938
|
*/
|
|
1915
|
-
declare const useIpfsMetadatas: <T$1>(ipfsUris: string[], parseJson?: boolean) =>
|
|
1939
|
+
declare const useIpfsMetadatas: <T$1>(ipfsUris: string[], parseJson?: boolean) => _tanstack_react_query11.UseQueryResult<T$1, Error>[];
|
|
1916
1940
|
//#endregion
|
|
1917
1941
|
//#region src/hooks/api/ipfs/useUploadImages.d.ts
|
|
1918
1942
|
declare const imageCompressionOptions: Options;
|
|
@@ -2171,7 +2195,7 @@ declare const useTransferHistory: (address?: string, {
|
|
|
2171
2195
|
isFetching: boolean;
|
|
2172
2196
|
isFetchingNextPage: boolean;
|
|
2173
2197
|
hasNextPage: boolean;
|
|
2174
|
-
fetchNextPage: (options?:
|
|
2198
|
+
fetchNextPage: (options?: _tanstack_react_query11.FetchNextPageOptions) => Promise<_tanstack_react_query11.InfiniteQueryObserverResult<_tanstack_react_query11.InfiniteData<{
|
|
2175
2199
|
items: TransferHistoryItem[];
|
|
2176
2200
|
hasNext: boolean;
|
|
2177
2201
|
}, unknown>, Error>>;
|
|
@@ -2188,7 +2212,7 @@ declare const useTokenTransferHistory: (address?: string, tokenAddress?: string
|
|
|
2188
2212
|
isFetching: boolean;
|
|
2189
2213
|
isFetchingNextPage: boolean;
|
|
2190
2214
|
hasNextPage: boolean;
|
|
2191
|
-
fetchNextPage: (options?:
|
|
2215
|
+
fetchNextPage: (options?: _tanstack_query_core2.FetchNextPageOptions) => Promise<_tanstack_query_core2.InfiniteQueryObserverResult<_tanstack_query_core2.InfiniteData<{
|
|
2192
2216
|
items: TransferHistoryItem[];
|
|
2193
2217
|
hasNext: boolean;
|
|
2194
2218
|
}, unknown>, Error>>;
|
|
@@ -2281,6 +2305,118 @@ type JuicyPositionResult = {
|
|
|
2281
2305
|
};
|
|
2282
2306
|
declare const useJuicyPosition: (address?: string) => JuicyPositionResult;
|
|
2283
2307
|
//#endregion
|
|
2308
|
+
//#region src/hooks/api/nfts/types.d.ts
|
|
2309
|
+
type IndexerNft = {
|
|
2310
|
+
id?: string;
|
|
2311
|
+
contractAddress: string;
|
|
2312
|
+
tokenId: string;
|
|
2313
|
+
owner?: string;
|
|
2314
|
+
txId?: string;
|
|
2315
|
+
blockNumber?: number;
|
|
2316
|
+
blockId?: string;
|
|
2317
|
+
blockTimestamp?: number;
|
|
2318
|
+
};
|
|
2319
|
+
type OwnedNft = {
|
|
2320
|
+
id: string;
|
|
2321
|
+
collectionAddress: string;
|
|
2322
|
+
tokenId: string;
|
|
2323
|
+
lastTransferTimestamp?: number;
|
|
2324
|
+
lastTransferTxId?: string;
|
|
2325
|
+
};
|
|
2326
|
+
type NftAttribute = {
|
|
2327
|
+
trait_type?: string;
|
|
2328
|
+
value?: string | number | boolean;
|
|
2329
|
+
display_type?: string;
|
|
2330
|
+
};
|
|
2331
|
+
type NftMetadata = {
|
|
2332
|
+
name?: string;
|
|
2333
|
+
description?: string;
|
|
2334
|
+
image?: string;
|
|
2335
|
+
external_url?: string;
|
|
2336
|
+
animation_url?: string;
|
|
2337
|
+
attributes?: NftAttribute[];
|
|
2338
|
+
};
|
|
2339
|
+
//#endregion
|
|
2340
|
+
//#region src/hooks/api/nfts/useOwnedNfts.d.ts
|
|
2341
|
+
type OwnedNftsPage = {
|
|
2342
|
+
items: OwnedNft[];
|
|
2343
|
+
hasNext: boolean;
|
|
2344
|
+
};
|
|
2345
|
+
declare const getOwnedNftsQueryKey: (address?: string, networkType?: NETWORK_TYPE) => (string | undefined)[];
|
|
2346
|
+
/**
|
|
2347
|
+
* Lists NFTs owned by an address using the indexer at
|
|
2348
|
+
* `GET ${indexerUrl}/nfts?address=<addr>&page=<n>`, returning
|
|
2349
|
+
* `{ data: IndexerNft[], pagination?: { hasNext?: boolean } }`.
|
|
2350
|
+
*/
|
|
2351
|
+
declare const useOwnedNfts: (address?: string) => {
|
|
2352
|
+
items: OwnedNft[];
|
|
2353
|
+
isLoading: boolean;
|
|
2354
|
+
isFetching: boolean;
|
|
2355
|
+
isFetchingNextPage: boolean;
|
|
2356
|
+
hasNextPage: boolean;
|
|
2357
|
+
fetchNextPage: (options?: _tanstack_react_query11.FetchNextPageOptions) => Promise<_tanstack_react_query11.InfiniteQueryObserverResult<_tanstack_react_query11.InfiniteData<OwnedNftsPage, unknown>, Error>>;
|
|
2358
|
+
isUnsupportedNetwork: boolean;
|
|
2359
|
+
error: Error | null;
|
|
2360
|
+
};
|
|
2361
|
+
//#endregion
|
|
2362
|
+
//#region src/hooks/api/nfts/useNftBlacklist.d.ts
|
|
2363
|
+
declare const getNftBlacklistQueryKey: (networkType: string, blacklistAddress?: string, collections?: string[]) => (string | null)[];
|
|
2364
|
+
/**
|
|
2365
|
+
* Reads `isBlacklisted(address)` on the on-chain blacklist contract for each
|
|
2366
|
+
* unique collection. Returns a Set of lowercased collection addresses that are
|
|
2367
|
+
* blacklisted. If the network has no blacklist contract configured, returns
|
|
2368
|
+
* an empty Set (everything passes).
|
|
2369
|
+
*/
|
|
2370
|
+
declare const useNftBlacklist: (collectionAddresses: string[]) => {
|
|
2371
|
+
blacklist: Set<string>;
|
|
2372
|
+
isLoading: boolean;
|
|
2373
|
+
error: Error | null;
|
|
2374
|
+
};
|
|
2375
|
+
//#endregion
|
|
2376
|
+
//#region src/hooks/api/nfts/useOwnedNftsFiltered.d.ts
|
|
2377
|
+
/**
|
|
2378
|
+
* Composes useOwnedNfts + useNftBlacklist: returns the user's NFTs with any
|
|
2379
|
+
* collection blacklisted by the on-chain registry removed.
|
|
2380
|
+
*/
|
|
2381
|
+
declare const useOwnedNftsFiltered: (address?: string) => {
|
|
2382
|
+
items: OwnedNft[];
|
|
2383
|
+
rawItems: OwnedNft[];
|
|
2384
|
+
isLoading: boolean;
|
|
2385
|
+
isBlacklistLoading: boolean;
|
|
2386
|
+
isFetching: boolean;
|
|
2387
|
+
isFetchingNextPage: boolean;
|
|
2388
|
+
hasNextPage: boolean;
|
|
2389
|
+
fetchNextPage: (options?: _tanstack_query_core2.FetchNextPageOptions) => Promise<_tanstack_query_core2.InfiniteQueryObserverResult<_tanstack_query_core2.InfiniteData<{
|
|
2390
|
+
items: OwnedNft[];
|
|
2391
|
+
hasNext: boolean;
|
|
2392
|
+
}, unknown>, Error>>;
|
|
2393
|
+
isUnsupportedNetwork: boolean;
|
|
2394
|
+
error: Error | null;
|
|
2395
|
+
};
|
|
2396
|
+
//#endregion
|
|
2397
|
+
//#region src/hooks/api/nfts/useNftMetadata.d.ts
|
|
2398
|
+
/**
|
|
2399
|
+
* Resolves the on-chain `tokenURI` for an ERC721 token, then fetches & parses
|
|
2400
|
+
* its JSON metadata from IPFS (or any HTTP gateway).
|
|
2401
|
+
*/
|
|
2402
|
+
declare const useNftMetadata: (collectionAddress?: string, tokenId?: string) => {
|
|
2403
|
+
tokenURI: string | undefined;
|
|
2404
|
+
metadata: NftMetadata | undefined;
|
|
2405
|
+
isLoading: boolean;
|
|
2406
|
+
error: {} | null;
|
|
2407
|
+
};
|
|
2408
|
+
//#endregion
|
|
2409
|
+
//#region src/hooks/api/nfts/useNftCollectionName.d.ts
|
|
2410
|
+
/**
|
|
2411
|
+
* Reads ERC721 `name()` for a collection. Returns undefined while loading or
|
|
2412
|
+
* if the contract doesn't implement it (some collections don't).
|
|
2413
|
+
*/
|
|
2414
|
+
declare const useNftCollectionName: (collectionAddress?: string) => {
|
|
2415
|
+
name: string | undefined;
|
|
2416
|
+
isLoading: boolean;
|
|
2417
|
+
error: unknown;
|
|
2418
|
+
};
|
|
2419
|
+
//#endregion
|
|
2284
2420
|
//#region src/hooks/modals/useConnectModal.d.ts
|
|
2285
2421
|
declare const useConnectModal: () => {
|
|
2286
2422
|
open: (initialContent?: ConnectModalContentsTypes) => void;
|
|
@@ -2579,9 +2715,30 @@ declare const useLoginWithOAuth: () => {
|
|
|
2579
2715
|
}: OAuthOptions) => Promise<void>;
|
|
2580
2716
|
};
|
|
2581
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
|
|
2582
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
|
+
};
|
|
2583
2740
|
declare const useLoginWithVeChain: () => {
|
|
2584
|
-
login: () => Promise<void>;
|
|
2741
|
+
login: (options?: UseLoginWithVeChainOptions) => Promise<void>;
|
|
2585
2742
|
};
|
|
2586
2743
|
//#endregion
|
|
2587
2744
|
//#region src/hooks/login/useConnectWithDappKitSource.d.ts
|
|
@@ -2646,7 +2803,7 @@ declare const fetchAppHubApps: () => Promise<AppHubApp[]>;
|
|
|
2646
2803
|
* );
|
|
2647
2804
|
* ```
|
|
2648
2805
|
*/
|
|
2649
|
-
declare const useAppHubApps: () =>
|
|
2806
|
+
declare const useAppHubApps: () => _tanstack_react_query11.UseQueryResult<AppHubApp[], Error>;
|
|
2650
2807
|
//#endregion
|
|
2651
2808
|
//#region src/utils/constants.d.ts
|
|
2652
2809
|
/** Tokens that cannot be swapped or transferred (e.g. governance voting tokens) */
|
|
@@ -2674,6 +2831,15 @@ declare const ENV: {
|
|
|
2674
2831
|
readonly isProduction: boolean;
|
|
2675
2832
|
};
|
|
2676
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";
|
|
2677
2843
|
type PrivyEcosystemApp = {
|
|
2678
2844
|
id: string;
|
|
2679
2845
|
name: string;
|
|
@@ -3001,7 +3167,7 @@ declare const useCallClause: <TAbi extends Abi, TMethod extends ExtractAbiFuncti
|
|
|
3001
3167
|
method: TMethod;
|
|
3002
3168
|
args: AbiParametersToPrimitiveTypes<ExtractViewFunction<TAbi, TMethod>["inputs"], "inputs">;
|
|
3003
3169
|
queryOptions?: Omit<UseQueryOptions<ViewFunctionResult<TAbi, TMethod>, unknown, TData, ReturnType<typeof getCallClauseQueryKeyWithArgs<TAbi, TMethod>>>, "queryKey" | "queryFn">;
|
|
3004
|
-
}) =>
|
|
3170
|
+
}) => _tanstack_react_query11.UseQueryResult<_tanstack_react_query11.NoInfer<TData>, unknown>;
|
|
3005
3171
|
declare const useMultipleClausesCall: <contracts extends readonly ContractFunctionParameters[], allowFailure extends boolean = false>({
|
|
3006
3172
|
thor,
|
|
3007
3173
|
calls,
|
|
@@ -3012,7 +3178,7 @@ declare const useMultipleClausesCall: <contracts extends readonly ContractFuncti
|
|
|
3012
3178
|
calls: MultipleClausesCallParameters<contracts, allowFailure>;
|
|
3013
3179
|
queryKey: string[];
|
|
3014
3180
|
enabled?: boolean;
|
|
3015
|
-
}) =>
|
|
3181
|
+
}) => _tanstack_react_query11.UseQueryResult<_tanstack_react_query11.NoInfer<MultipleClausesCallReturnType<contracts, false>>, Error>;
|
|
3016
3182
|
//#endregion
|
|
3017
3183
|
//#region src/hooks/utils/useCurrency.d.ts
|
|
3018
3184
|
/**
|
|
@@ -3136,7 +3302,7 @@ declare const useEvents: <T$1 extends Abi, K extends ContractEventName<T$1>, R>(
|
|
|
3136
3302
|
filterParams,
|
|
3137
3303
|
mapResponse,
|
|
3138
3304
|
nodeUrl
|
|
3139
|
-
}: UseEventsParams<T$1, K, R>) =>
|
|
3305
|
+
}: UseEventsParams<T$1, K, R>) => _tanstack_react_query11.UseQueryResult<R[], Error>;
|
|
3140
3306
|
//#endregion
|
|
3141
3307
|
//#region src/hooks/utils/useBuildClauses.d.ts
|
|
3142
3308
|
interface BuildClausesParams {
|
|
@@ -3235,10 +3401,103 @@ declare const useCrossAppConnectionCache: () => {
|
|
|
3235
3401
|
};
|
|
3236
3402
|
//#endregion
|
|
3237
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>;
|
|
3238
3423
|
declare const estimateGas: (signerAddress: string, genericDelegatorUrl: string, clauses: any[], token: GasTokenType, speed: TransactionSpeed) => Promise<any>;
|
|
3239
3424
|
declare const getDepositAccount: (genericDelegatorUrl: string) => Promise<DepositAccount>;
|
|
3240
3425
|
declare const delegateAuthorized: (encodedSignedTx: string, origin: string, token: GasTokenType, genericDelegatorUrl: string) => Promise<any>;
|
|
3241
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>;
|
|
3242
3501
|
/**
|
|
3243
3502
|
* Sign the final transaction with the given private key and signature
|
|
3244
3503
|
* returned by the generic delegator.
|
|
@@ -3288,7 +3547,7 @@ declare const useGenericDelegatorFeeEstimation: ({
|
|
|
3288
3547
|
tokens,
|
|
3289
3548
|
sendingAmount,
|
|
3290
3549
|
sendingTokenSymbol
|
|
3291
|
-
}: useGenericDelegatorFeeEstimationParams) =>
|
|
3550
|
+
}: useGenericDelegatorFeeEstimationParams) => _tanstack_react_query11.UseQueryResult<EstimationResponse & {
|
|
3292
3551
|
usedToken: string;
|
|
3293
3552
|
}, Error>;
|
|
3294
3553
|
//#endregion
|
|
@@ -3302,7 +3561,7 @@ declare const useEstimateAllTokens: ({
|
|
|
3302
3561
|
clauses,
|
|
3303
3562
|
tokens,
|
|
3304
3563
|
enabled
|
|
3305
|
-
}: UseEstimateAllTokensParams) =>
|
|
3564
|
+
}: UseEstimateAllTokensParams) => _tanstack_react_query11.UseQueryResult<Record<GasTokenType, {
|
|
3306
3565
|
cost: number;
|
|
3307
3566
|
loading: boolean;
|
|
3308
3567
|
error?: string;
|
|
@@ -3319,7 +3578,7 @@ declare const getAccountBalanceQueryKey: (address?: string) => (string | undefin
|
|
|
3319
3578
|
* @param address The address of the account to get the balance for
|
|
3320
3579
|
* @returns The account balance
|
|
3321
3580
|
*/
|
|
3322
|
-
declare const useAccountBalance: (address?: string) =>
|
|
3581
|
+
declare const useAccountBalance: (address?: string) => _tanstack_react_query11.UseQueryResult<{
|
|
3323
3582
|
balance: string;
|
|
3324
3583
|
energy: string;
|
|
3325
3584
|
}, Error>;
|
|
@@ -3332,7 +3591,7 @@ declare const getAccountImplementationAddressQueryKey: (version?: number, networ
|
|
|
3332
3591
|
* @param version - The version of the smart account implementation
|
|
3333
3592
|
* @returns The address of the smart account implementation
|
|
3334
3593
|
*/
|
|
3335
|
-
declare const useAccountImplementationAddress: (version?: number) =>
|
|
3594
|
+
declare const useAccountImplementationAddress: (version?: number) => _tanstack_react_query11.UseQueryResult<string, Error>;
|
|
3336
3595
|
//#endregion
|
|
3337
3596
|
//#region src/hooks/thor/smartAccounts/useCurrentAccountImplementationVersion.d.ts
|
|
3338
3597
|
declare const getCurrentAccountImplementationVersion: (thor: ThorClient, networkType?: NETWORK_TYPE) => Promise<number>;
|
|
@@ -3341,7 +3600,7 @@ declare const getCurrentAccountImplementationVersionQueryKey: (networkType?: NET
|
|
|
3341
3600
|
* Get the current account implementation version used by the smart account factory
|
|
3342
3601
|
* @returns The current account implementation version
|
|
3343
3602
|
*/
|
|
3344
|
-
declare const useCurrentAccountImplementationVersion: () =>
|
|
3603
|
+
declare const useCurrentAccountImplementationVersion: () => _tanstack_react_query11.UseQueryResult<number, Error>;
|
|
3345
3604
|
//#endregion
|
|
3346
3605
|
//#region src/hooks/thor/smartAccounts/useGetAccountAddress.d.ts
|
|
3347
3606
|
declare const getAccountAddress: (thor: ThorClient, ownerAddress?: string, networkType?: NETWORK_TYPE) => Promise<string>;
|
|
@@ -3351,7 +3610,7 @@ declare const getAccountAddressQueryKey: (ownerAddress?: string, networkType?: N
|
|
|
3351
3610
|
* @param ownerAddress - The address of the owner of the smart account
|
|
3352
3611
|
* @returns The address of the smart account
|
|
3353
3612
|
*/
|
|
3354
|
-
declare const useGetAccountAddress: (ownerAddress?: string) =>
|
|
3613
|
+
declare const useGetAccountAddress: (ownerAddress?: string) => _tanstack_react_query11.UseQueryResult<string, Error>;
|
|
3355
3614
|
//#endregion
|
|
3356
3615
|
//#region src/hooks/thor/smartAccounts/useGetAccountVersion.d.ts
|
|
3357
3616
|
declare const getAccountVersionQueryKey: (accountAddress: string, ownerAddress: string, networkType: NETWORK_TYPE) => unknown[];
|
|
@@ -3361,7 +3620,7 @@ declare const getAccountVersionQueryKey: (accountAddress: string, ownerAddress:
|
|
|
3361
3620
|
* @param ownerAddress - The address of the owner of the smart account
|
|
3362
3621
|
* @returns The version of the smart account
|
|
3363
3622
|
*/
|
|
3364
|
-
declare const useGetAccountVersion: (accountAddress: string, ownerAddress: string) =>
|
|
3623
|
+
declare const useGetAccountVersion: (accountAddress: string, ownerAddress: string) => _tanstack_react_query11.UseQueryResult<{
|
|
3365
3624
|
version: number;
|
|
3366
3625
|
isDeployed: boolean;
|
|
3367
3626
|
}, unknown>;
|
|
@@ -3374,7 +3633,7 @@ declare const getHasV1SmartAccountQueryKey: (ownerAddress?: string, networkType?
|
|
|
3374
3633
|
* @param ownerAddress - The address of the owner of the smart account
|
|
3375
3634
|
* @returns True if the smart account has a v1 smart account, false otherwise
|
|
3376
3635
|
*/
|
|
3377
|
-
declare const useHasV1SmartAccount: (ownerAddress?: string) =>
|
|
3636
|
+
declare const useHasV1SmartAccount: (ownerAddress?: string) => _tanstack_react_query11.UseQueryResult<boolean, Error>;
|
|
3378
3637
|
//#endregion
|
|
3379
3638
|
//#region src/hooks/thor/smartAccounts/useIsSmartAccountDeployed.d.ts
|
|
3380
3639
|
declare const getIsDeployed: (thor: ThorClient, accountAddress?: string) => Promise<boolean>;
|
|
@@ -3383,7 +3642,7 @@ declare const getIsDeployedQueryKey: (contractAddress?: string) => (string | und
|
|
|
3383
3642
|
* Check if a smart account is deployed
|
|
3384
3643
|
* @returns True if the smart account is deployed, false otherwise
|
|
3385
3644
|
*/
|
|
3386
|
-
declare const useIsSmartAccountDeployed: (accountAddress?: string) =>
|
|
3645
|
+
declare const useIsSmartAccountDeployed: (accountAddress?: string) => _tanstack_react_query11.UseQueryResult<boolean, Error>;
|
|
3387
3646
|
//#endregion
|
|
3388
3647
|
//#region src/hooks/thor/smartAccounts/useRefreshFactoryQueries.d.ts
|
|
3389
3648
|
/**
|
|
@@ -3416,7 +3675,7 @@ declare const getSmartAccount: (thor: ThorClient, network: NETWORK_TYPE, ownerAd
|
|
|
3416
3675
|
isDeployed: boolean;
|
|
3417
3676
|
}>;
|
|
3418
3677
|
declare const getSmartAccountQueryKey: (ownerAddress?: string) => (string | undefined)[];
|
|
3419
|
-
declare const useSmartAccount: (ownerAddress?: string) =>
|
|
3678
|
+
declare const useSmartAccount: (ownerAddress?: string) => _tanstack_react_query11.UseQueryResult<{
|
|
3420
3679
|
address: undefined;
|
|
3421
3680
|
isDeployed?: undefined;
|
|
3422
3681
|
} | {
|
|
@@ -3434,7 +3693,7 @@ declare const getUpgradeRequiredQueryKey: (accountAddress: string, ownerAddress:
|
|
|
3434
3693
|
* @param targetVersion - The version of the smart account to check for
|
|
3435
3694
|
* @returns True if the smart account needs an upgrade, false otherwise
|
|
3436
3695
|
*/
|
|
3437
|
-
declare const useUpgradeRequired: (accountAddress: string, ownerAddress: string, targetVersion: number) =>
|
|
3696
|
+
declare const useUpgradeRequired: (accountAddress: string, ownerAddress: string, targetVersion: number) => _tanstack_react_query11.UseQueryResult<boolean, Error>;
|
|
3438
3697
|
//#endregion
|
|
3439
3698
|
//#region src/hooks/thor/smartAccounts/useUpgradeRequiredForAccount.d.ts
|
|
3440
3699
|
declare const getUpgradeRequiredForAccount: (thor: ThorClient, contractAddress: string, targetVersion: number, networkType: NETWORK_TYPE) => Promise<boolean>;
|
|
@@ -3445,7 +3704,7 @@ declare const getUpgradeRequiredForAccountQueryKey: (contractAddress: string, ta
|
|
|
3445
3704
|
* @param targetVersion - The target version of the smart account
|
|
3446
3705
|
* @returns True if the smart account needs an upgrade, false otherwise
|
|
3447
3706
|
*/
|
|
3448
|
-
declare const useUpgradeRequiredForAccount: (contractAddress: string, targetVersion: number) =>
|
|
3707
|
+
declare const useUpgradeRequiredForAccount: (contractAddress: string, targetVersion: number) => _tanstack_react_query11.UseQueryResult<boolean, Error>;
|
|
3449
3708
|
//#endregion
|
|
3450
3709
|
//#region src/hooks/thor/smartAccounts/useUpgradeSmartAccount.d.ts
|
|
3451
3710
|
type UseUpgradeSmartAccountVersionProps = {
|
|
@@ -3470,7 +3729,7 @@ declare const currentBlockQueryKey: () => string[];
|
|
|
3470
3729
|
* Fetches the current block from the blockchain. The block is refetched every 10 seconds.
|
|
3471
3730
|
* @returns the current block
|
|
3472
3731
|
*/
|
|
3473
|
-
declare const useCurrentBlock: () =>
|
|
3732
|
+
declare const useCurrentBlock: () => _tanstack_react_query11.UseQueryResult<_vechain_sdk_network0.ExpandedBlockDetail, Error>;
|
|
3474
3733
|
//#endregion
|
|
3475
3734
|
//#region src/hooks/thor/blocks/useGetChainId.d.ts
|
|
3476
3735
|
declare const getChainId: (thor: ThorClient) => Promise<string>;
|
|
@@ -3479,7 +3738,7 @@ declare const getChainIdQueryKey: () => string[];
|
|
|
3479
3738
|
* Get the chain id
|
|
3480
3739
|
* @returns The chain id
|
|
3481
3740
|
*/
|
|
3482
|
-
declare const useGetChainId: () =>
|
|
3741
|
+
declare const useGetChainId: () => _tanstack_react_query11.UseQueryResult<string, Error>;
|
|
3483
3742
|
//#endregion
|
|
3484
3743
|
//#region src/hooks/thor/logs/logUtils.d.ts
|
|
3485
3744
|
/**
|
|
@@ -3662,6 +3921,31 @@ declare const useTransferERC20: ({
|
|
|
3662
3921
|
onError
|
|
3663
3922
|
}: useTransferERC20Props) => useTransferERC20ReturnValue;
|
|
3664
3923
|
//#endregion
|
|
3924
|
+
//#region src/hooks/thor/transactions/useTransferERC721.d.ts
|
|
3925
|
+
type UseTransferERC721Props = {
|
|
3926
|
+
fromAddress: string;
|
|
3927
|
+
receiverAddress: string;
|
|
3928
|
+
collectionAddress: string;
|
|
3929
|
+
tokenId: string;
|
|
3930
|
+
collectionName?: string;
|
|
3931
|
+
onSuccess?: () => void;
|
|
3932
|
+
onError?: (error?: string) => void;
|
|
3933
|
+
};
|
|
3934
|
+
type UseTransferERC721ReturnValue = {
|
|
3935
|
+
sendTransaction: () => Promise<void>;
|
|
3936
|
+
clauses: EnhancedClause[];
|
|
3937
|
+
} & Omit<UseSendTransactionReturnValue, 'sendTransaction'>;
|
|
3938
|
+
declare const buildERC721Clauses: (fromAddress: string, receiverAddress: string, collectionAddress: string, tokenId: string, collectionName?: string) => EnhancedClause[];
|
|
3939
|
+
declare const useTransferERC721: ({
|
|
3940
|
+
fromAddress,
|
|
3941
|
+
receiverAddress,
|
|
3942
|
+
collectionAddress,
|
|
3943
|
+
tokenId,
|
|
3944
|
+
collectionName,
|
|
3945
|
+
onSuccess,
|
|
3946
|
+
onError
|
|
3947
|
+
}: UseTransferERC721Props) => UseTransferERC721ReturnValue;
|
|
3948
|
+
//#endregion
|
|
3665
3949
|
//#region src/hooks/thor/transactions/useTransferVET.d.ts
|
|
3666
3950
|
type useTransferVETProps = {
|
|
3667
3951
|
fromAddress: string;
|
|
@@ -3734,7 +4018,7 @@ declare const txReceiptQueryKey: (txId: string) => string[];
|
|
|
3734
4018
|
* @param blockTimeout Optional timeout in milliseconds to stop polling for receipt
|
|
3735
4019
|
* @returns Query result containing the transaction receipt
|
|
3736
4020
|
*/
|
|
3737
|
-
declare const useTxReceipt: (txId: string, blockTimeout?: number) =>
|
|
4021
|
+
declare const useTxReceipt: (txId: string, blockTimeout?: number) => _tanstack_react_query11.UseQueryResult<_vechain_sdk_network0.TransactionReceipt, Error>;
|
|
3738
4022
|
//#endregion
|
|
3739
4023
|
//#region src/hooks/thor/transactions/useGasEstimate.d.ts
|
|
3740
4024
|
declare const useGasEstimate: (thor: ThorClient, clauses: TransactionClause[], caller: string, options?: {
|
|
@@ -4067,6 +4351,68 @@ declare const TokenDetailContent: ({
|
|
|
4067
4351
|
token
|
|
4068
4352
|
}: TokenDetailContentProps) => react_jsx_runtime0.JSX.Element;
|
|
4069
4353
|
//#endregion
|
|
4354
|
+
//#region src/components/AccountModal/Contents/NftDetail/NftDetailContent.d.ts
|
|
4355
|
+
type NftDetailContentProps = {
|
|
4356
|
+
setCurrentContent: React.Dispatch<React.SetStateAction<AccountModalContentTypes>>;
|
|
4357
|
+
nft: OwnedNft;
|
|
4358
|
+
onBack?: () => void;
|
|
4359
|
+
};
|
|
4360
|
+
declare const NftDetailContent: ({
|
|
4361
|
+
setCurrentContent,
|
|
4362
|
+
nft,
|
|
4363
|
+
onBack
|
|
4364
|
+
}: NftDetailContentProps) => react_jsx_runtime0.JSX.Element;
|
|
4365
|
+
//#endregion
|
|
4366
|
+
//#region src/components/AccountModal/Contents/NftCollection/NftCollectionContent.d.ts
|
|
4367
|
+
type NftCollectionContentProps = {
|
|
4368
|
+
setCurrentContent: React.Dispatch<React.SetStateAction<AccountModalContentTypes>>;
|
|
4369
|
+
collectionAddress: string;
|
|
4370
|
+
onBack?: () => void;
|
|
4371
|
+
};
|
|
4372
|
+
declare const NftCollectionContent: ({
|
|
4373
|
+
setCurrentContent,
|
|
4374
|
+
collectionAddress,
|
|
4375
|
+
onBack
|
|
4376
|
+
}: NftCollectionContentProps) => react_jsx_runtime0.JSX.Element;
|
|
4377
|
+
//#endregion
|
|
4378
|
+
//#region src/components/AccountModal/Contents/SendNft/SendNftContent.d.ts
|
|
4379
|
+
type SendNftContentProps = {
|
|
4380
|
+
setCurrentContent: React$1.Dispatch<React$1.SetStateAction<AccountModalContentTypes>>;
|
|
4381
|
+
nft: OwnedNft;
|
|
4382
|
+
collectionName?: string;
|
|
4383
|
+
imageUrl?: string;
|
|
4384
|
+
initialToAddressOrDomain?: string;
|
|
4385
|
+
onBack?: () => void;
|
|
4386
|
+
};
|
|
4387
|
+
declare const SendNftContent: ({
|
|
4388
|
+
setCurrentContent,
|
|
4389
|
+
nft,
|
|
4390
|
+
collectionName,
|
|
4391
|
+
imageUrl,
|
|
4392
|
+
initialToAddressOrDomain,
|
|
4393
|
+
onBack
|
|
4394
|
+
}: SendNftContentProps) => react_jsx_runtime0.JSX.Element;
|
|
4395
|
+
//#endregion
|
|
4396
|
+
//#region src/components/AccountModal/Contents/SendNft/SendNftSummaryContent.d.ts
|
|
4397
|
+
type SendNftSummaryContentProps = {
|
|
4398
|
+
setCurrentContent: React$1.Dispatch<React$1.SetStateAction<AccountModalContentTypes>>;
|
|
4399
|
+
nft: OwnedNft;
|
|
4400
|
+
collectionName?: string;
|
|
4401
|
+
imageUrl?: string;
|
|
4402
|
+
toAddressOrDomain: string;
|
|
4403
|
+
resolvedDomain?: string;
|
|
4404
|
+
resolvedAddress?: string;
|
|
4405
|
+
};
|
|
4406
|
+
declare const SendNftSummaryContent: ({
|
|
4407
|
+
setCurrentContent,
|
|
4408
|
+
nft,
|
|
4409
|
+
collectionName,
|
|
4410
|
+
imageUrl,
|
|
4411
|
+
toAddressOrDomain,
|
|
4412
|
+
resolvedDomain,
|
|
4413
|
+
resolvedAddress
|
|
4414
|
+
}: SendNftSummaryContentProps) => react_jsx_runtime0.JSX.Element;
|
|
4415
|
+
//#endregion
|
|
4070
4416
|
//#region src/components/AccountModal/Contents/TransactionHistory/TransactionHistoryContent.d.ts
|
|
4071
4417
|
type TransactionHistoryContentProps = {
|
|
4072
4418
|
setCurrentContent: React.Dispatch<React.SetStateAction<AccountModalContentTypes>>;
|
|
@@ -4188,9 +4534,21 @@ type AccountModalContentTypes = 'main' | 'settings' | 'profile' | {
|
|
|
4188
4534
|
} | {
|
|
4189
4535
|
type: 'send-token-summary';
|
|
4190
4536
|
props: SendTokenSummaryContentProps;
|
|
4537
|
+
} | {
|
|
4538
|
+
type: 'send-nft';
|
|
4539
|
+
props: SendNftContentProps;
|
|
4540
|
+
} | {
|
|
4541
|
+
type: 'send-nft-summary';
|
|
4542
|
+
props: SendNftSummaryContentProps;
|
|
4191
4543
|
} | {
|
|
4192
4544
|
type: 'token-detail';
|
|
4193
4545
|
props: TokenDetailContentProps;
|
|
4546
|
+
} | {
|
|
4547
|
+
type: 'nft-detail';
|
|
4548
|
+
props: NftDetailContentProps;
|
|
4549
|
+
} | {
|
|
4550
|
+
type: 'nft-collection';
|
|
4551
|
+
props: NftCollectionContentProps;
|
|
4194
4552
|
} | {
|
|
4195
4553
|
type: 'transaction-history';
|
|
4196
4554
|
props: TransactionHistoryContentProps;
|
|
@@ -4710,6 +5068,49 @@ declare const PriceChart: ({
|
|
|
4710
5068
|
...boxProps
|
|
4711
5069
|
}: Props$3) => react_jsx_runtime0.JSX.Element | null;
|
|
4712
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;
|
|
5113
|
+
//#endregion
|
|
4713
5114
|
//#region src/components/UpgradeSmartAccountModal/Contents/SuccessfulOperationContent.d.ts
|
|
4714
5115
|
type SuccessfulOperationContentProps = {
|
|
4715
5116
|
setCurrentContent: React.Dispatch<React.SetStateAction<UpgradeSmartAccountModalContentsTypes>>;
|
|
@@ -4802,5 +5203,5 @@ declare const ModalProvider: ({
|
|
|
4802
5203
|
children: ReactNode;
|
|
4803
5204
|
}) => react_jsx_runtime0.JSX.Element;
|
|
4804
5205
|
//#endregion
|
|
4805
|
-
export { RemoveWalletConfirmContentProps as $, VTHO_TOKEN_ADDRESS as $a, EstimatedGas as $c, useNotifications as $i, signVip191Transaction as $n, getErc20BalanceQueryKey as $o, simpleHash as $r, AccountMainContent as $s, useTransferERC20 as $t, useStickyHeaderContext as A, AccountModalProvider as Aa, ConnectModalContentsTypes as Ac, PrivyEcosystemApp as Ai, Wallet as Al, useGetAccountVersion as An, useRoundXApps as Ao, getWindowOrigin as Ar, getTextRecordsQueryKey as As, SwapTokenContent as At, AccountSelector as B, NavigatorPosition as Ba, LegalDocumentOptions as Bc, getGenericDelegatorUrl as Bi, getAccountBalance as Bn, usePortfolioPriceHistory24h as Bo, ViewFunctionResult as Br, useIsDomainProtected as Bs, useMfaEnrollment as Bt, ScrollToTopWrapper as C, useChooseNameModal as Ca, ConnectionButton as Cc, humanDomain as Ci, PrivyAppInfo as Cl, getIsDeployed as Cn, useSwitchWallet as Co, getCallClauseQueryKey as Cr, getAvatarOfAddressQueryKey as Cs, FAQContent as Ct, BaseModal as D, useTransactionToast as Da, LoadingContent as Dc, DEFAULT_PRIVY_ECOSYSTEM_APPS as Di, TransactionStatus as Dl, getHasV1SmartAccountQueryKey as Dn, UseWalletReturnType as Do, copyToClipboard as Dr, buildClauses as Ds, ChooseNameSearchContentProps as Dt, AssetButton as E, TransactionToastProvider as Ea, ErrorContent as Ec, DEFAULT_GAS_TOKEN_PREFERENCES as Ei, TokenBalance as El, getHasV1SmartAccount as En, useWalletMetadata as Eo, useMultipleClausesCall as Er, useGetResolverAddress as Es, ChooseNameSearchContent as Et, DomainRequiredAlert as F, JuicyPositionResult as Fa, PrivyWalletProvider as Fc, VECHAIN_KIT_COOKIES_CONFIG as Fi, getCurrentAccountImplementationVersionQueryKey as Fn, useMostVotedAppsInRound as Fo, safeQuerySelector as Fr, DomainsResponse as Fs, SendTokenSummaryContent as Ft, SwitchFeedback as G, useTokenTransferHistory as Ga, useAppConfig as Gc, useAppHubApps as Gi, useGenericDelegatorFeeEstimation as Gn, useOraclePriceChanges24h as Go, addPrefix as Gr, useEnsRecordExists as Gs, useGasEstimate as Gt, AccountDetailsButton as H, StargatePosition as Ha, VeChainKitContext as Hc, AppHubApp as Hi, useAccountBalance as Hn, PriceChanges24h as Ho, executeCallClause as Hr, useClaimVetDomain as Hs, useSetWalletRecovery as Ht, ExchangeWarningAlert as I, useJuicyPosition as Ia, PrivyWalletProviderContextType as Ic, VECHAIN_KIT_STORAGE_KEYS as Ii, useCurrentAccountImplementationVersion as In, getIsPersonQueryKey as Io, safeWindowOpen as Ir, getDomainsOfAddress as Is, SendTokenContent as It, TransactionHistoryContent as J, IndexerTransfer as Ja, LegalDocumentAgreement as Jc, useLoginWithOAuth as Ji, decodeRawTx as Jn, SupportedToken as Jo, isValid as Jr, fetchPrivyStatus as Js, BuildTransactionProps as Jt, TransactionDetailContent as K, getTransferHistoryQueryKey as Ka, useVeChainKitConfig as Kc, useConnectWithDappKitSource as Ki, useGenericDelegatorFeeEstimationParams as Kn, useTokenPriceHistory24h as Ko, compare as Kr, getVechainDomainQueryKey as Ks, txReceiptQueryKey as Kt, FeatureAnnouncementCard as L, LpPosition as La, usePrivyWalletProvider as Lc, VECHAIN_KIT_TERMS_CONFIG as Li, getAccountImplementationAddress as Ln, useIsPerson as Lo, setLocalStorageItem as Lr, getDomainsOfAddressQueryKey as Ls, ThorClient$1 as Lt, AddressDisplay as M, ConnectModalProvider as Ma, useLegalDocuments as Mc, TOKEN_LOGOS as Mi, getConfig as Ml, getAccountAddressQueryKey as Mn, useRefreshBalances as Mo, isBrowser as Mr, getAvatarQueryKey as Ms, ReceiveTokenContent as Mt, ModalBackButton as N, useConnectModal as Na, VechainKitThemeProvider as Nc, TOKEN_LOGO_COMPONENTS as Ni, useGetAccountAddress as Nn, MostVotedAppsInRoundReturnType as No, isOnline as Nr, useGetAvatar as Ns, ReceiveTokenContentProps as Nt, StickyFooterContainer as O, TransactionModalProvider as Oa, MainContent as Oc, ENV as Oi, TransactionStatusErrorType as Ol, useHasV1SmartAccount as On, useWallet as Oo, getDocumentTitle as Or, useUpdateTextRecord as Os, ChooseNameContent as Ot, CrossAppConnectionSecurityCard as P, JuicyAssetPosition as Pa, useVechainKitThemeConfig as Pc, TogglePassportCheck as Pi, getCurrentAccountImplementationVersion as Pn, XApp as Po, removeLocalStorageItem as Pr, Domain as Ps, SelectTokenContent as Pt, RemoveWalletConfirmContent as Q, VET_TOKEN_SENTINEL as Qa, DepositAccount as Qc, useNotificationAlerts as Qi, getDepositAccount as Qn, UseGetErc20BalanceOptions as Qo, isRejectionError as Qr, useFetchAppInfo as Qs, buildERC20Clauses as Qt, QuickActionsSection as R, LpPositionToken as Ra, AccountQuickAction as Rc, VECHAIN_PRIVY_APP_ID as Ri, getAccountImplementationAddressQueryKey as Rn, getVot3BalanceQueryKey as Ro, MultipleClausesCallParameters as Rr, useGetDomainsOfAddress as Rs, useDAppKitWallet as Rt, AccountAvatar as S, ChooseNameModalProvider as Sa, EmailLoginButton as Sc, humanAddress as Si, NFTMediaType as Sl, useRefreshFactoryQueries as Sn, UseSwitchWalletReturnType as So, useCurrency as Sr, useGetAvatarLegacy as Ss, CustomizationContent as St, AddressDisplayCard as T, useWalletModal as Ta, EcosystemContent as Tc, isZero as Ti, SmartAccount as Tl, useIsSmartAccountDeployed as Tn, useWalletStorage as To, useCallClause as Tr, getResolverAddressQueryKey as Ts, ChooseNameSummaryContentProps as Tt, AccountModal as U, StargatePositionsResult as Ua, VeChainKitProvider as Uc, fetchAppHubApps as Ui, UseEstimateAllTokensParams as Un, PricePoint as Uo, executeMultipleClausesCall as Ur, useClaimVeWorldSubdomain as Us, useThor as Ut, ActionButton as V, useNavigatorPosition as Va, VeChainKitConfig as Vc, notFoundImage as Vi, getAccountBalanceQueryKey as Vn, OracleHistory24h as Vo, buildCallClauses as Vr, buildVetDomainClauses as Vs, usePrivy as Vt, AccountModalContentTypes as W, useStargatePositions as Wa, VechainKitProviderProps as Wc, getAppHubAppsQueryKey as Wi, useEstimateAllTokens as Wn, useOracleHistory24h as Wo, isValidUrl as Wr, getEnsRecordExistsQueryKey as Ws, VECHAIN_KIT_QUERY_KEYS as Wt, TokenDetailContent as X, TransferEventType as Xa, LegalDocumentType as Xc, useSignTypedData as Xi, estimateAndBuildTxBody as Xn, getTokenUsdPriceQueryKey as Xo, removePrefix as Xr, fetchPrivyAppInfo as Xs, buildVETClauses as Xt, TransactionHistoryContentProps as Y, TransferDirection as Ya, LegalDocumentSource as Yc, useLoginWithPasskey as Yi, delegateAuthorized as Yn, getTokenUsdPrice as Yo, normalize as Yr, useFetchPrivyStatus as Ys, useBuildTransaction as Yt, TokenDetailContentProps as Z, TransferHistoryItem as Za, CostLevel as Zc, useSignMessage as Zi, estimateGas as Zn, useGetTokenUsdPrice as Zo, validate as Zr, getPrivyAppInfoQueryKey as Zs, useTransferVET as Zt, GasFeeTokenSelector as _, useExploreEcosystemModal as _a, LoginWithAppleButton as _c, leftPadWithZeros as _i, CrossAppConnectionCache as _l, SmartAccountReturnType as _n, getXAppsSharesQueryKey as _o, useIsPWA as _r, WalletTokenBalance as _s, ProfileContent as _t, LegalDocumentItem as a, UpgradeSmartAccountModalProvider as aa, SocialIcons as ac, allNodeStrengthLevelToName as ai, formatGasCost as al, getChainId as an, imageCompressionOptions as ao, LocalStorageKey as ar, getCustomTokenBalanceQueryKey as as, SettingsContentProps as at, TransactionButtonAndStatus as b, SendTokenModalProvider as ba, EcosystemButton as bc, formatTokenBalance as bi, ExecuteBatchWithAuthorizationSignData as bl, useSmartAccount as bn, getXAppMetadata as bo, useCurrentCurrency as br, getAvatarLegacy as bs, CustomizationSummaryContentProps as bt, UpgradeSmartAccountModal as c, ReceiveModalProvider as ca, WalletDisplayVariant as cc, xNodeToGMstartingLevel as ci, GasTokenPreferences as cl, currentBlockQueryKey as cn, IpfsImage as co, buildBatchAuthorizationTypedData as cr, useGetB3trBalance as cs, ChangeCurrencyContent as ct, PriceChart as d, useAccountCustomizationModal as da, Sync2Button as dc, toIPFSURL as di, TransactionSpeed as dl, getUpgradeRequiredForAccount as dn, getIpfsImageQueryKey as do, GetEventsKeyParams as dr, useCurrentAllocationsRoundId as ds, ManageCustomTokenContent as dt, SettingsModalProvider as ea, TransactionToast as ec, TIME as ei, EstimationResponse as el, UseSendTransactionReturnValue as en, useSwapQuotes as eo, useGenericDelegator as er, useGetErc20Balance as es, SelectWalletContent as et, CopyIconButton as f, FAQModalProvider as fa, VeWorldButton as fc, uploadBlobToIPFS as fi, ENS_TEXT_RECORDS as fl, getUpgradeRequiredForAccountQueryKey as fn, useIpfsImage as fo, UseEventsParams as fr, useTotalBalance as fs, ManageCustomTokenContentProps as ft, InlineFeedback as g, ExploreEcosystemModalProvider as ga, PasskeyLoginButton as gc, isValidAddress as gi, ConnectionSource as gl, useUpgradeRequired as gn, useIpfsMetadata as go, useScrollToTop as gr, useTokenPrices as gs, UpgradeSmartAccountContentProps as gt, WalletSwitchFeedback as h, useNotificationsModal as ha, DappKitButton as hc, compareListOfAddresses as hi, CURRENCY_SYMBOLS as hl, getUpgradeRequiredQueryKey as hn, getIpfsMetadataQueryKey as ho, useEvents as hr, ExchangeRates as hs, UpgradeSmartAccountContent as ht, DAppKitWalletButton as i, useProfileModal as ia, TransactionModalProps as ic, XNodeStrengthLevelToName as ii, calculateTotalCost as il, getEventLogs as in, compressImages as io, useSyncableLocalStorage as ir, TokenWithBalance as is, SettingsContent as it, VersionFooter as j, useAccountModal as ja, LegalDocumentsProvider as jc, SUPPORTED_GAS_TOKENS as ji, AppConfig as jl, getAccountAddress as jn, useRefreshMetadata as jo, hasNavigator as jr, useGetTextRecords as js, SwapTokenContentProps as jt, StickyHeaderContainer as k, useTransactionModal as ka, ConnectModal as kc, NON_TRANSFERABLE_TOKEN_SYMBOLS as ki, VePassportUserStatus as kl, getAccountVersionQueryKey as kn, getRoundXAppsQueryKey as ko, getLocalStorageItem as kr, getTextRecords as ks, ChooseNameContentProps as kt, UpgradeSmartAccountModalContentsTypes as l, useReceiveModal as la, ConnectPopover as lc, convertUriToUrl as li, GasTokenSelection as ll, useCurrentBlock as ln, MAX_IMAGE_SIZE as lo, buildSingleAuthorizationTypedData as lr, useCustomTokens as ls, ChangeCurrencyContentProps as lt, PriceChangeBadge as m, NotificationsModalProvider as ma, VeChainWithPrivyLoginButton as mc, compareAddresses as mi, CURRENCY as ml, getUpgradeRequired as mn, getIpfsMetadata as mo, getEventsKey as mr, useTokensWithValues as ms, AssetsContentProps as mt, ModalProvider as n, useAccountModalOptions as na, ShareButtons as nc, MinXNodeLevel as ni, TransactionCost as nl, GetEventsProps as nn, useSingleImageUpload as no, EcosystemShortcut as nr, getTokenInfo as ns, DisconnectConfirmContentProps as nt, LegalDocumentsModal as o, useUpgradeSmartAccountModal as oa, WalletButton as oc, buildQueryString as oi, GasTokenEstimate as ol, getChainIdQueryKey as on, useUploadImages as oo, useLocalStorage as or, useGetCustomTokenBalances as os, GasTokenSettingsContent as ot, AddressOrDomainLabel as p, useFAQModal as pa, LoginWithGithubButton as pc, validateIpfsUri as pi, TextRecords as pl, useUpgradeRequiredForAccount as pn, useIpfsImageList as po, decodeEventLog$1 as pr, TokenWithValue as ps, AssetsContent as pt, TransactionDetailContentProps as q, useTransferHistory as qa, EnrichedLegalDocument as qc, useLoginWithVeChain as qi, useGasTokenSelection as qn, PRICE_FEED_IDS as qo, isInvalid as qr, useVechainDomain as qs, useTxReceipt as qt, useModal as r, ProfileModalProvider as ra, TransactionModal as rc, NodeStrengthLevelToImage as ri, VthoPerGasAtSpeed as rl, getAllEventLogs as rn, UploadedImage as ro, useEcosystemShortcuts as rr, useGetCustomTokenInfo as rs, TermsAndPrivacyContent as rt, LegalDocumentsModalContentsTypes as s, useLoginModalContent as sa, WalletButtonProps as sc, gmNfts as si, GasTokenInfo as sl, useGetChainId as sn, useIpfsMetadatas as so, BuildClausesParams as sr, getB3trBalanceQueryKey as ss, LanguageSettingsContent as st, AccountModalOptions as t, useSettingsModal as ta, TransactionModalContent as tc, EconomicNodeStrengthLevelToName as ti, Rate as tl, useSendTransaction as tn, useSwapTransaction as to, useCrossAppConnectionCache as tr, getCustomTokenInfoQueryKey as ts, DisconnectConfirmContent as tt, UpgradeSmartAccountModalStyle as u, AccountCustomizationModalProvider as ua, WalletConnectButton as uc, resolveMediaTypeFromMimeType as ui, GasTokenType as ul, useUpgradeSmartAccount as un, getIpfsImage as uo, useBuildClauses as ur, getCurrentAllocationsRoundIdQueryKey as us, BridgeContent as ut, GasFeeSummary as v, SwapTokenModalProvider as va, LoginWithGoogleButton as vc, regexPattern as vi, ENSRecords as vl, getSmartAccount as vn, useXAppsShares as vo, useGetNodeUrl as vr, useTokenBalances as vs, ProfileContentProps as vt, ModalFAQButton as w, WalletModalProvider as wa, MoreOptionsContent as wc, humanNumber as wi, PrivyLoginMethod as wl, getIsDeployedQueryKey as wn, StoredWallet as wo, getCallClauseQueryKeyWithArgs as wr, useGetAvatarOfAddress as ws, ChooseNameSummaryContent as wt, TransactionButtonAndStatusProps as x, useSendTokenModal as xa, VeChainLoginButton as xc, getPicassoImage as xi, ExecuteWithAuthorizationSignData as xl, useRefreshSmartAccountQueries as xn, useXAppMetadata as xo, useCurrentLanguage as xr, getAvatarLegacyQueryKey as xs, AccountCustomizationContentProps as xt, ModalNotificationButton as y, useSwapTokenModal as ya, PrivyButton as yc, randomTransactionUser as yi, EnhancedClause as yl, getSmartAccountQueryKey as yn, XAppMetadata as yo, useFeatureAnnouncement as yr, useUnsetDomain as ys, CustomizationSummaryContent as yt, BalanceSection as z, useBetterSwapLpPositions as za, LegalDocument as zc, getENV as zi, useAccountImplementationAddress as zn, useGetVot3Balance as zo, MultipleClausesCallReturnType as zr, getIsDomainProtectedQueryKey as zs, useDAppKitWalletModal as zt };
|
|
4806
|
-
//# sourceMappingURL=index-
|
|
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-lFyi52Xi.d.cts.map
|