@cometh/connect-react-hooks 0.1.0-dev.1 → 1.0.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/index.cjs +19 -19
- package/dist/index.d.cts +1803 -25
- package/dist/index.d.ts +1803 -25
- package/dist/index.js +19 -19
- package/package.json +2 -2
package/dist/index.d.cts
CHANGED
@@ -1,11 +1,17 @@
|
|
1
|
-
import
|
2
|
-
import {
|
3
|
-
import
|
1
|
+
import * as viem from 'viem';
|
2
|
+
import { Address, Transport, Chain, PublicClient, Hash, Hex, Abi, ContractFunctionName, ContractFunctionArgs, Account, DeriveChain, ContractFunctionParameters, GetChainParameter, GetValue, FormattedTransactionRequest, UnionOmit, SignableMessage } from 'viem';
|
3
|
+
import * as _cometh_connect_sdk_4337 from '@cometh/connect-sdk-4337';
|
4
|
+
import { createSafeSmartAccountParameters, ComethSmartAccountClient, ComethSafeSmartAccount, EnrichedOwner, Signer, webAuthnOptions, QRCodeOptions, IsRecoveryActiveParams, IsRecoveryActiveReturnType, RecoveryParamsResponse, GetRecoveryRequestParams, CancelRecoveryRequestParams } from '@cometh/connect-sdk-4337';
|
5
|
+
import { z, A, O, aQ, a8, aA, b } from './hydration-HsNFcW1O.js';
|
4
6
|
import React, { ReactNode } from 'react';
|
5
7
|
import { GetAccountParameter } from 'viem/_types/types/account';
|
6
8
|
import { Prettify } from 'viem/chains';
|
7
9
|
import { UnionEvaluate } from 'viem/types/utils';
|
8
10
|
import { UseQueryParameters } from 'wagmi/query';
|
11
|
+
import { TypedDataParameter, Abi as Abi$1, Address as Address$1 } from '../abi.js';
|
12
|
+
import * as permissionless_actions_smartAccount from 'permissionless/actions/smartAccount';
|
13
|
+
import * as viem__types_account_abstraction from 'viem/_types/account-abstraction';
|
14
|
+
import * as viem__types_utils_ccip from 'viem/_types/utils/ccip';
|
9
15
|
import { EstimateUserOperationGasParameters, EstimateUserOperationGasReturnType } from 'viem/account-abstraction';
|
10
16
|
|
11
17
|
type ConnectParameters = {
|
@@ -20,21 +26,26 @@ declare const useConnect: () => {
|
|
20
26
|
};
|
21
27
|
|
22
28
|
interface UseBaseQueryOptions<TQueryFnData = unknown, TError = z, TData = TQueryFnData, TQueryData = TQueryFnData, TQueryKey extends A = A> extends a8<TQueryFnData, TError, TData, TQueryData, TQueryKey> {
|
29
|
+
/**
|
30
|
+
* Set this to `false` to unsubscribe this observer from updates to the query cache.
|
31
|
+
* Defaults to `true`.
|
32
|
+
*/
|
33
|
+
subscribed?: boolean;
|
23
34
|
}
|
24
35
|
interface UseQueryOptions<TQueryFnData = unknown, TError = z, TData = TQueryFnData, TQueryKey extends A = A> extends O<UseBaseQueryOptions<TQueryFnData, TError, TData, TQueryFnData, TQueryKey>, 'suspense'> {
|
25
36
|
}
|
26
|
-
type UseBaseQueryResult<TData = unknown, TError = z> =
|
37
|
+
type UseBaseQueryResult<TData = unknown, TError = z> = aA<TData, TError>;
|
27
38
|
type UseQueryResult<TData = unknown, TError = z> = UseBaseQueryResult<TData, TError>;
|
28
|
-
interface UseMutationOptions<TData = unknown, TError = z, TVariables = void, TContext = unknown> extends O<
|
39
|
+
interface UseMutationOptions<TData = unknown, TError = z, TVariables = void, TContext = unknown> extends O<aQ<TData, TError, TVariables, TContext>, '_defaulted'> {
|
29
40
|
}
|
30
41
|
|
31
42
|
type NetworkParams = {
|
32
43
|
chain?: Chain;
|
33
44
|
bundlerUrl?: string;
|
34
45
|
paymasterUrl?: string;
|
35
|
-
|
46
|
+
publicClient?: PublicClient;
|
36
47
|
};
|
37
|
-
type OmitConfig<T> = Omit<T, "chain" | "paymasterUrl" | "bundlerUrl" | "
|
48
|
+
type OmitConfig<T> = Omit<T, "chain" | "paymasterUrl" | "bundlerUrl" | "publicClient"> & {
|
38
49
|
networksConfig: NetworkParams[];
|
39
50
|
};
|
40
51
|
type ConnectConfig = OmitConfig<createSafeSmartAccountParameters>;
|
@@ -532,12 +543,9 @@ type UseSignMessageReturn = QueryResultType & {
|
|
532
543
|
};
|
533
544
|
declare function useSignMessage(): UseSignMessageReturn;
|
534
545
|
|
535
|
-
type UseSetUpRecoveryModuleProps = SetUpRecoveryModuleParams;
|
536
|
-
type SetUpRecoveryModuleMutate = (variables: UseSetUpRecoveryModuleProps) => void;
|
537
|
-
type SetUpRecoveryModuleMutateAsync = (variables: UseSetUpRecoveryModuleProps) => Promise<Hex>;
|
538
546
|
type UseSetUpRecoveryModuleReturn = QueryResultType & {
|
539
|
-
setUpRecoveryModule:
|
540
|
-
setUpRecoveryModuleAsync:
|
547
|
+
setUpRecoveryModule: () => void;
|
548
|
+
setUpRecoveryModuleAsync: () => Promise<Hash>;
|
541
549
|
};
|
542
550
|
/**
|
543
551
|
* A custom hook for setting up a recovery module for a smart account.
|
@@ -565,11 +573,7 @@ type UseSetUpRecoveryModuleReturn = QueryResultType & {
|
|
565
573
|
*
|
566
574
|
* const handleSetUp = async () => {
|
567
575
|
* try {
|
568
|
-
* const result = await setUpRecoveryModuleAsync(
|
569
|
-
* passKeyName: 'myPassKey',
|
570
|
-
* publicClient,
|
571
|
-
* // other necessary parameters
|
572
|
-
* });
|
576
|
+
* const result = await setUpRecoveryModuleAsync();
|
573
577
|
* console.log('Recovery module set up successfully:', result);
|
574
578
|
* } catch (error) {
|
575
579
|
* console.error('Error setting up recovery module:', error);
|
@@ -621,9 +625,7 @@ type UseIsRecoveryActiveReturn = {
|
|
621
625
|
* import { useIsRecoveryActive } from "@/hooks/useIsRecoveryActive";
|
622
626
|
*
|
623
627
|
* export const RecoveryStatus = () => {
|
624
|
-
* const { data, isLoading, isError, error } = useIsRecoveryActive(
|
625
|
-
* publicClient,
|
626
|
-
* });
|
628
|
+
* const { data, isLoading, isError, error } = useIsRecoveryActive();
|
627
629
|
*
|
628
630
|
* if (isLoading) return <p>Loading recovery status...</p>;
|
629
631
|
* if (isError) return <p>Error: {error?.message}</p>;
|
@@ -667,9 +669,7 @@ type UseGetRecoveryRequestReturn = {
|
|
667
669
|
* import { useGetRecoveryRequest } from "@/hooks/useGetRecoveryRequest";
|
668
670
|
*
|
669
671
|
* export const RecoveryRequestStatus = () => {
|
670
|
-
* const { data, isLoading, isError, error } = useGetRecoveryRequest(
|
671
|
-
* publicClient
|
672
|
-
* });
|
672
|
+
* const { data, isLoading, isError, error } = useGetRecoveryRequest();
|
673
673
|
*
|
674
674
|
* if (isLoading) return <p>Loading recovery request status...</p>;
|
675
675
|
* if (isError) return <p>Error: {error?.message}</p>;
|
@@ -769,10 +769,1788 @@ declare function useCancelRecoveryRequest(): UseCancelRecoveryRequestReturn;
|
|
769
769
|
declare const useSwitchChain: () => {
|
770
770
|
switchChain: (params: {
|
771
771
|
chainId: number;
|
772
|
-
}) => void
|
772
|
+
}) => Promise<void | {
|
773
|
+
account: _cometh_connect_sdk_4337.ComethSafeSmartAccount;
|
774
|
+
batch?: {
|
775
|
+
multicall?: boolean | viem.Prettify<viem.MulticallBatchOptions> | undefined;
|
776
|
+
} | undefined;
|
777
|
+
cacheTime: number;
|
778
|
+
ccipRead?: false | {
|
779
|
+
request?: (parameters: viem.CcipRequestParameters) => Promise<viem__types_utils_ccip.CcipRequestReturnType>;
|
780
|
+
} | undefined;
|
781
|
+
chain: viem.Chain;
|
782
|
+
key: string;
|
783
|
+
name: string;
|
784
|
+
pollingInterval: number;
|
785
|
+
request: viem.EIP1193RequestFn<viem.BundlerRpcSchema>;
|
786
|
+
transport: viem.TransportConfig<string, viem.EIP1193RequestFn> & Record<string, any>;
|
787
|
+
type: string;
|
788
|
+
uid: string;
|
789
|
+
estimateUserOperationGas: <const calls extends readonly unknown[], accountOverride extends viem__types_account_abstraction.SmartAccount | undefined = undefined>(parameters: viem__types_account_abstraction.EstimateUserOperationGasParameters<_cometh_connect_sdk_4337.ComethSafeSmartAccount, accountOverride, calls>) => Promise<viem__types_account_abstraction.EstimateUserOperationGasReturnType<_cometh_connect_sdk_4337.ComethSafeSmartAccount, accountOverride>>;
|
790
|
+
getChainId: () => Promise<viem.GetChainIdReturnType>;
|
791
|
+
getSupportedEntryPoints: () => Promise<viem__types_account_abstraction.GetSupportedEntryPointsReturnType>;
|
792
|
+
getUserOperation: (parameters: viem__types_account_abstraction.GetUserOperationParameters) => Promise<viem__types_account_abstraction.GetUserOperationReturnType>;
|
793
|
+
getUserOperationReceipt: (parameters: viem__types_account_abstraction.GetUserOperationReceiptParameters) => Promise<viem__types_account_abstraction.GetUserOperationReceiptReturnType>;
|
794
|
+
prepareUserOperation: <const calls extends readonly unknown[], const request extends viem__types_account_abstraction.PrepareUserOperationRequest<_cometh_connect_sdk_4337.ComethSafeSmartAccount, accountOverride, calls>, accountOverride extends viem__types_account_abstraction.SmartAccount | undefined = undefined>(parameters: viem__types_account_abstraction.PrepareUserOperationParameters<_cometh_connect_sdk_4337.ComethSafeSmartAccount, accountOverride, calls, request>) => Promise<viem.UnionOmit<request, "parameters" | "calls"> & {
|
795
|
+
callData: viem.Hex;
|
796
|
+
paymasterAndData: viem__types_account_abstraction.DeriveEntryPointVersion<viem__types_account_abstraction.DeriveSmartAccount<_cometh_connect_sdk_4337.ComethSafeSmartAccount, accountOverride>> extends infer T_8 ? T_8 extends viem__types_account_abstraction.DeriveEntryPointVersion<viem__types_account_abstraction.DeriveSmartAccount<_cometh_connect_sdk_4337.ComethSafeSmartAccount, accountOverride>> ? T_8 extends "0.6" ? `0x${string}` : undefined : never : never;
|
797
|
+
sender: viem__types_account_abstraction.UserOperation["sender"];
|
798
|
+
} & (Extract<request["parameters"] extends readonly viem__types_account_abstraction.PrepareUserOperationParameterType[] ? request["parameters"][number] : "gas" | "nonce" | "fees" | "factory" | "paymaster" | "signature", "factory"> extends never ? {} : (viem__types_account_abstraction.DeriveEntryPointVersion<viem__types_account_abstraction.DeriveSmartAccount<_cometh_connect_sdk_4337.ComethSafeSmartAccount, accountOverride>> extends infer T_9 ? T_9 extends viem__types_account_abstraction.DeriveEntryPointVersion<viem__types_account_abstraction.DeriveSmartAccount<_cometh_connect_sdk_4337.ComethSafeSmartAccount, accountOverride>> ? T_9 extends "0.7" ? {
|
799
|
+
factory: viem__types_account_abstraction.UserOperation["factory"];
|
800
|
+
factoryData: viem__types_account_abstraction.UserOperation["factoryData"];
|
801
|
+
} : never : never : never) | (viem__types_account_abstraction.DeriveEntryPointVersion<viem__types_account_abstraction.DeriveSmartAccount<_cometh_connect_sdk_4337.ComethSafeSmartAccount, accountOverride>> extends infer T_10 ? T_10 extends viem__types_account_abstraction.DeriveEntryPointVersion<viem__types_account_abstraction.DeriveSmartAccount<_cometh_connect_sdk_4337.ComethSafeSmartAccount, accountOverride>> ? T_10 extends "0.6" ? {
|
802
|
+
initCode: viem__types_account_abstraction.UserOperation["initCode"];
|
803
|
+
} : never : never : never)) & (Extract<request["parameters"] extends readonly viem__types_account_abstraction.PrepareUserOperationParameterType[] ? request["parameters"][number] : "gas" | "nonce" | "fees" | "factory" | "paymaster" | "signature", "nonce"> extends never ? {} : {
|
804
|
+
nonce: viem__types_account_abstraction.UserOperation["nonce"];
|
805
|
+
}) & (Extract<request["parameters"] extends readonly viem__types_account_abstraction.PrepareUserOperationParameterType[] ? request["parameters"][number] : "gas" | "nonce" | "fees" | "factory" | "paymaster" | "signature", "fees"> extends never ? {} : {
|
806
|
+
maxFeePerGas: viem__types_account_abstraction.UserOperation["maxFeePerGas"];
|
807
|
+
maxPriorityFeePerGas: viem__types_account_abstraction.UserOperation["maxPriorityFeePerGas"];
|
808
|
+
}) & (Extract<request["parameters"] extends readonly viem__types_account_abstraction.PrepareUserOperationParameterType[] ? request["parameters"][number] : "gas" | "nonce" | "fees" | "factory" | "paymaster" | "signature", "gas"> extends never ? {} : (viem__types_account_abstraction.DeriveEntryPointVersion<viem__types_account_abstraction.DeriveSmartAccount<_cometh_connect_sdk_4337.ComethSafeSmartAccount, accountOverride>> extends infer T_11 ? T_11 extends viem__types_account_abstraction.DeriveEntryPointVersion<viem__types_account_abstraction.DeriveSmartAccount<_cometh_connect_sdk_4337.ComethSafeSmartAccount, accountOverride>> ? T_11 extends "0.7" ? {
|
809
|
+
callGasLimit: viem__types_account_abstraction.UserOperation["callGasLimit"];
|
810
|
+
preVerificationGas: viem__types_account_abstraction.UserOperation["preVerificationGas"];
|
811
|
+
verificationGasLimit: viem__types_account_abstraction.UserOperation["verificationGasLimit"];
|
812
|
+
paymasterPostOpGasLimit: viem__types_account_abstraction.UserOperation["paymasterPostOpGasLimit"];
|
813
|
+
paymasterVerificationGasLimit: viem__types_account_abstraction.UserOperation["paymasterVerificationGasLimit"];
|
814
|
+
} : never : never : never) | (viem__types_account_abstraction.DeriveEntryPointVersion<viem__types_account_abstraction.DeriveSmartAccount<_cometh_connect_sdk_4337.ComethSafeSmartAccount, accountOverride>> extends infer T_12 ? T_12 extends viem__types_account_abstraction.DeriveEntryPointVersion<viem__types_account_abstraction.DeriveSmartAccount<_cometh_connect_sdk_4337.ComethSafeSmartAccount, accountOverride>> ? T_12 extends "0.6" ? {
|
815
|
+
callGasLimit: viem__types_account_abstraction.UserOperation["callGasLimit"];
|
816
|
+
preVerificationGas: viem__types_account_abstraction.UserOperation["preVerificationGas"];
|
817
|
+
verificationGasLimit: viem__types_account_abstraction.UserOperation["verificationGasLimit"];
|
818
|
+
} : never : never : never)) & (Extract<request["parameters"] extends readonly viem__types_account_abstraction.PrepareUserOperationParameterType[] ? request["parameters"][number] : "gas" | "nonce" | "fees" | "factory" | "paymaster" | "signature", "paymaster"> extends never ? {} : (viem__types_account_abstraction.DeriveEntryPointVersion<viem__types_account_abstraction.DeriveSmartAccount<_cometh_connect_sdk_4337.ComethSafeSmartAccount, accountOverride>> extends infer T_13 ? T_13 extends viem__types_account_abstraction.DeriveEntryPointVersion<viem__types_account_abstraction.DeriveSmartAccount<_cometh_connect_sdk_4337.ComethSafeSmartAccount, accountOverride>> ? T_13 extends "0.7" ? {
|
819
|
+
paymaster: viem__types_account_abstraction.UserOperation["paymaster"];
|
820
|
+
paymasterData: viem__types_account_abstraction.UserOperation["paymasterData"];
|
821
|
+
paymasterPostOpGasLimit: viem__types_account_abstraction.UserOperation["paymasterPostOpGasLimit"];
|
822
|
+
paymasterVerificationGasLimit: viem__types_account_abstraction.UserOperation["paymasterVerificationGasLimit"];
|
823
|
+
} : never : never : never) | (viem__types_account_abstraction.DeriveEntryPointVersion<viem__types_account_abstraction.DeriveSmartAccount<_cometh_connect_sdk_4337.ComethSafeSmartAccount, accountOverride>> extends infer T_14 ? T_14 extends viem__types_account_abstraction.DeriveEntryPointVersion<viem__types_account_abstraction.DeriveSmartAccount<_cometh_connect_sdk_4337.ComethSafeSmartAccount, accountOverride>> ? T_14 extends "0.6" ? {
|
824
|
+
paymasterAndData: viem__types_account_abstraction.UserOperation["paymasterAndData"];
|
825
|
+
} : never : never : never)) & (Extract<request["parameters"] extends readonly viem__types_account_abstraction.PrepareUserOperationParameterType[] ? request["parameters"][number] : "gas" | "nonce" | "fees" | "factory" | "paymaster" | "signature", "signature"> extends never ? {} : {
|
826
|
+
signature: viem__types_account_abstraction.UserOperation["signature"];
|
827
|
+
}) extends infer T ? { [K in keyof T]: (viem.UnionOmit<request, "parameters" | "calls"> & {
|
828
|
+
callData: viem.Hex;
|
829
|
+
paymasterAndData: viem__types_account_abstraction.DeriveEntryPointVersion<viem__types_account_abstraction.DeriveSmartAccount<_cometh_connect_sdk_4337.ComethSafeSmartAccount, accountOverride>> extends infer T_1 ? T_1 extends viem__types_account_abstraction.DeriveEntryPointVersion<viem__types_account_abstraction.DeriveSmartAccount<_cometh_connect_sdk_4337.ComethSafeSmartAccount, accountOverride>> ? T_1 extends "0.6" ? `0x${string}` : undefined : never : never;
|
830
|
+
sender: viem__types_account_abstraction.UserOperation["sender"];
|
831
|
+
} & (Extract<request["parameters"] extends readonly viem__types_account_abstraction.PrepareUserOperationParameterType[] ? request["parameters"][number] : "gas" | "nonce" | "fees" | "factory" | "paymaster" | "signature", "factory"> extends never ? {} : (viem__types_account_abstraction.DeriveEntryPointVersion<viem__types_account_abstraction.DeriveSmartAccount<_cometh_connect_sdk_4337.ComethSafeSmartAccount, accountOverride>> extends infer T_2 ? T_2 extends viem__types_account_abstraction.DeriveEntryPointVersion<viem__types_account_abstraction.DeriveSmartAccount<_cometh_connect_sdk_4337.ComethSafeSmartAccount, accountOverride>> ? T_2 extends "0.7" ? {
|
832
|
+
factory: viem__types_account_abstraction.UserOperation["factory"];
|
833
|
+
factoryData: viem__types_account_abstraction.UserOperation["factoryData"];
|
834
|
+
} : never : never : never) | (viem__types_account_abstraction.DeriveEntryPointVersion<viem__types_account_abstraction.DeriveSmartAccount<_cometh_connect_sdk_4337.ComethSafeSmartAccount, accountOverride>> extends infer T_3 ? T_3 extends viem__types_account_abstraction.DeriveEntryPointVersion<viem__types_account_abstraction.DeriveSmartAccount<_cometh_connect_sdk_4337.ComethSafeSmartAccount, accountOverride>> ? T_3 extends "0.6" ? {
|
835
|
+
initCode: viem__types_account_abstraction.UserOperation["initCode"];
|
836
|
+
} : never : never : never)) & (Extract<request["parameters"] extends readonly viem__types_account_abstraction.PrepareUserOperationParameterType[] ? request["parameters"][number] : "gas" | "nonce" | "fees" | "factory" | "paymaster" | "signature", "nonce"> extends never ? {} : {
|
837
|
+
nonce: viem__types_account_abstraction.UserOperation["nonce"];
|
838
|
+
}) & (Extract<request["parameters"] extends readonly viem__types_account_abstraction.PrepareUserOperationParameterType[] ? request["parameters"][number] : "gas" | "nonce" | "fees" | "factory" | "paymaster" | "signature", "fees"> extends never ? {} : {
|
839
|
+
maxFeePerGas: viem__types_account_abstraction.UserOperation["maxFeePerGas"];
|
840
|
+
maxPriorityFeePerGas: viem__types_account_abstraction.UserOperation["maxPriorityFeePerGas"];
|
841
|
+
}) & (Extract<request["parameters"] extends readonly viem__types_account_abstraction.PrepareUserOperationParameterType[] ? request["parameters"][number] : "gas" | "nonce" | "fees" | "factory" | "paymaster" | "signature", "gas"> extends never ? {} : (viem__types_account_abstraction.DeriveEntryPointVersion<viem__types_account_abstraction.DeriveSmartAccount<_cometh_connect_sdk_4337.ComethSafeSmartAccount, accountOverride>> extends infer T_4 ? T_4 extends viem__types_account_abstraction.DeriveEntryPointVersion<viem__types_account_abstraction.DeriveSmartAccount<_cometh_connect_sdk_4337.ComethSafeSmartAccount, accountOverride>> ? T_4 extends "0.7" ? {
|
842
|
+
callGasLimit: viem__types_account_abstraction.UserOperation["callGasLimit"];
|
843
|
+
preVerificationGas: viem__types_account_abstraction.UserOperation["preVerificationGas"];
|
844
|
+
verificationGasLimit: viem__types_account_abstraction.UserOperation["verificationGasLimit"];
|
845
|
+
paymasterPostOpGasLimit: viem__types_account_abstraction.UserOperation["paymasterPostOpGasLimit"];
|
846
|
+
paymasterVerificationGasLimit: viem__types_account_abstraction.UserOperation["paymasterVerificationGasLimit"];
|
847
|
+
} : never : never : never) | (viem__types_account_abstraction.DeriveEntryPointVersion<viem__types_account_abstraction.DeriveSmartAccount<_cometh_connect_sdk_4337.ComethSafeSmartAccount, accountOverride>> extends infer T_5 ? T_5 extends viem__types_account_abstraction.DeriveEntryPointVersion<viem__types_account_abstraction.DeriveSmartAccount<_cometh_connect_sdk_4337.ComethSafeSmartAccount, accountOverride>> ? T_5 extends "0.6" ? {
|
848
|
+
callGasLimit: viem__types_account_abstraction.UserOperation["callGasLimit"];
|
849
|
+
preVerificationGas: viem__types_account_abstraction.UserOperation["preVerificationGas"];
|
850
|
+
verificationGasLimit: viem__types_account_abstraction.UserOperation["verificationGasLimit"];
|
851
|
+
} : never : never : never)) & (Extract<request["parameters"] extends readonly viem__types_account_abstraction.PrepareUserOperationParameterType[] ? request["parameters"][number] : "gas" | "nonce" | "fees" | "factory" | "paymaster" | "signature", "paymaster"> extends never ? {} : (viem__types_account_abstraction.DeriveEntryPointVersion<viem__types_account_abstraction.DeriveSmartAccount<_cometh_connect_sdk_4337.ComethSafeSmartAccount, accountOverride>> extends infer T_6 ? T_6 extends viem__types_account_abstraction.DeriveEntryPointVersion<viem__types_account_abstraction.DeriveSmartAccount<_cometh_connect_sdk_4337.ComethSafeSmartAccount, accountOverride>> ? T_6 extends "0.7" ? {
|
852
|
+
paymaster: viem__types_account_abstraction.UserOperation["paymaster"];
|
853
|
+
paymasterData: viem__types_account_abstraction.UserOperation["paymasterData"];
|
854
|
+
paymasterPostOpGasLimit: viem__types_account_abstraction.UserOperation["paymasterPostOpGasLimit"];
|
855
|
+
paymasterVerificationGasLimit: viem__types_account_abstraction.UserOperation["paymasterVerificationGasLimit"];
|
856
|
+
} : never : never : never) | (viem__types_account_abstraction.DeriveEntryPointVersion<viem__types_account_abstraction.DeriveSmartAccount<_cometh_connect_sdk_4337.ComethSafeSmartAccount, accountOverride>> extends infer T_7 ? T_7 extends viem__types_account_abstraction.DeriveEntryPointVersion<viem__types_account_abstraction.DeriveSmartAccount<_cometh_connect_sdk_4337.ComethSafeSmartAccount, accountOverride>> ? T_7 extends "0.6" ? {
|
857
|
+
paymasterAndData: viem__types_account_abstraction.UserOperation["paymasterAndData"];
|
858
|
+
} : never : never : never)) & (Extract<request["parameters"] extends readonly viem__types_account_abstraction.PrepareUserOperationParameterType[] ? request["parameters"][number] : "gas" | "nonce" | "fees" | "factory" | "paymaster" | "signature", "signature"> extends never ? {} : {
|
859
|
+
signature: viem__types_account_abstraction.UserOperation["signature"];
|
860
|
+
}))[K]; } : never>;
|
861
|
+
sendUserOperation: <const calls extends readonly unknown[], accountOverride extends viem__types_account_abstraction.SmartAccount | undefined = undefined>(parameters: viem__types_account_abstraction.SendUserOperationParameters<_cometh_connect_sdk_4337.ComethSafeSmartAccount, accountOverride, calls>) => Promise<viem__types_account_abstraction.SendUserOperationReturnType>;
|
862
|
+
waitForUserOperationReceipt: (parameters: viem__types_account_abstraction.WaitForUserOperationReceiptParameters) => Promise<viem__types_account_abstraction.WaitForUserOperationReceiptReturnType>;
|
863
|
+
sendTransaction: <TChainOverride extends viem.Chain | undefined = undefined, accountOverride extends viem__types_account_abstraction.SmartAccount | undefined = undefined, calls extends readonly unknown[] = readonly unknown[]>(args: viem.SendTransactionParameters<viem.Chain, _cometh_connect_sdk_4337.ComethSafeSmartAccount, TChainOverride> | viem__types_account_abstraction.SendUserOperationParameters<_cometh_connect_sdk_4337.ComethSafeSmartAccount, accountOverride, calls>) => Promise<viem.Hash>;
|
864
|
+
signMessage: (args: viem.SignMessageParameters<_cometh_connect_sdk_4337.ComethSafeSmartAccount>) => ReturnType<typeof permissionless_actions_smartAccount.signMessage>;
|
865
|
+
signTypedData: <const TTypedData extends {
|
866
|
+
[x: string]: readonly TypedDataParameter[];
|
867
|
+
[x: `string[${string}]`]: undefined;
|
868
|
+
[x: `function[${string}]`]: undefined;
|
869
|
+
[x: `address[${string}]`]: undefined;
|
870
|
+
[x: `bool[${string}]`]: undefined;
|
871
|
+
[x: `bytes[${string}]`]: undefined;
|
872
|
+
[x: `bytes1[${string}]`]: undefined;
|
873
|
+
[x: `bytes2[${string}]`]: undefined;
|
874
|
+
[x: `bytes3[${string}]`]: undefined;
|
875
|
+
[x: `bytes4[${string}]`]: undefined;
|
876
|
+
[x: `bytes5[${string}]`]: undefined;
|
877
|
+
[x: `bytes6[${string}]`]: undefined;
|
878
|
+
[x: `bytes7[${string}]`]: undefined;
|
879
|
+
[x: `bytes8[${string}]`]: undefined;
|
880
|
+
[x: `bytes9[${string}]`]: undefined;
|
881
|
+
[x: `bytes10[${string}]`]: undefined;
|
882
|
+
[x: `bytes11[${string}]`]: undefined;
|
883
|
+
[x: `bytes12[${string}]`]: undefined;
|
884
|
+
[x: `bytes13[${string}]`]: undefined;
|
885
|
+
[x: `bytes14[${string}]`]: undefined;
|
886
|
+
[x: `bytes15[${string}]`]: undefined;
|
887
|
+
[x: `bytes16[${string}]`]: undefined;
|
888
|
+
[x: `bytes17[${string}]`]: undefined;
|
889
|
+
[x: `bytes18[${string}]`]: undefined;
|
890
|
+
[x: `bytes19[${string}]`]: undefined;
|
891
|
+
[x: `bytes20[${string}]`]: undefined;
|
892
|
+
[x: `bytes21[${string}]`]: undefined;
|
893
|
+
[x: `bytes22[${string}]`]: undefined;
|
894
|
+
[x: `bytes23[${string}]`]: undefined;
|
895
|
+
[x: `bytes24[${string}]`]: undefined;
|
896
|
+
[x: `bytes25[${string}]`]: undefined;
|
897
|
+
[x: `bytes26[${string}]`]: undefined;
|
898
|
+
[x: `bytes27[${string}]`]: undefined;
|
899
|
+
[x: `bytes28[${string}]`]: undefined;
|
900
|
+
[x: `bytes29[${string}]`]: undefined;
|
901
|
+
[x: `bytes30[${string}]`]: undefined;
|
902
|
+
[x: `bytes31[${string}]`]: undefined;
|
903
|
+
[x: `bytes32[${string}]`]: undefined;
|
904
|
+
[x: `int[${string}]`]: undefined;
|
905
|
+
[x: `int8[${string}]`]: undefined;
|
906
|
+
[x: `int16[${string}]`]: undefined;
|
907
|
+
[x: `int24[${string}]`]: undefined;
|
908
|
+
[x: `int32[${string}]`]: undefined;
|
909
|
+
[x: `int40[${string}]`]: undefined;
|
910
|
+
[x: `int48[${string}]`]: undefined;
|
911
|
+
[x: `int56[${string}]`]: undefined;
|
912
|
+
[x: `int64[${string}]`]: undefined;
|
913
|
+
[x: `int72[${string}]`]: undefined;
|
914
|
+
[x: `int80[${string}]`]: undefined;
|
915
|
+
[x: `int88[${string}]`]: undefined;
|
916
|
+
[x: `int96[${string}]`]: undefined;
|
917
|
+
[x: `int104[${string}]`]: undefined;
|
918
|
+
[x: `int112[${string}]`]: undefined;
|
919
|
+
[x: `int120[${string}]`]: undefined;
|
920
|
+
[x: `int128[${string}]`]: undefined;
|
921
|
+
[x: `int136[${string}]`]: undefined;
|
922
|
+
[x: `int144[${string}]`]: undefined;
|
923
|
+
[x: `int152[${string}]`]: undefined;
|
924
|
+
[x: `int160[${string}]`]: undefined;
|
925
|
+
[x: `int168[${string}]`]: undefined;
|
926
|
+
[x: `int176[${string}]`]: undefined;
|
927
|
+
[x: `int184[${string}]`]: undefined;
|
928
|
+
[x: `int192[${string}]`]: undefined;
|
929
|
+
[x: `int200[${string}]`]: undefined;
|
930
|
+
[x: `int208[${string}]`]: undefined;
|
931
|
+
[x: `int216[${string}]`]: undefined;
|
932
|
+
[x: `int224[${string}]`]: undefined;
|
933
|
+
[x: `int232[${string}]`]: undefined;
|
934
|
+
[x: `int240[${string}]`]: undefined;
|
935
|
+
[x: `int248[${string}]`]: undefined;
|
936
|
+
[x: `int256[${string}]`]: undefined;
|
937
|
+
[x: `uint[${string}]`]: undefined;
|
938
|
+
[x: `uint8[${string}]`]: undefined;
|
939
|
+
[x: `uint16[${string}]`]: undefined;
|
940
|
+
[x: `uint24[${string}]`]: undefined;
|
941
|
+
[x: `uint32[${string}]`]: undefined;
|
942
|
+
[x: `uint40[${string}]`]: undefined;
|
943
|
+
[x: `uint48[${string}]`]: undefined;
|
944
|
+
[x: `uint56[${string}]`]: undefined;
|
945
|
+
[x: `uint64[${string}]`]: undefined;
|
946
|
+
[x: `uint72[${string}]`]: undefined;
|
947
|
+
[x: `uint80[${string}]`]: undefined;
|
948
|
+
[x: `uint88[${string}]`]: undefined;
|
949
|
+
[x: `uint96[${string}]`]: undefined;
|
950
|
+
[x: `uint104[${string}]`]: undefined;
|
951
|
+
[x: `uint112[${string}]`]: undefined;
|
952
|
+
[x: `uint120[${string}]`]: undefined;
|
953
|
+
[x: `uint128[${string}]`]: undefined;
|
954
|
+
[x: `uint136[${string}]`]: undefined;
|
955
|
+
[x: `uint144[${string}]`]: undefined;
|
956
|
+
[x: `uint152[${string}]`]: undefined;
|
957
|
+
[x: `uint160[${string}]`]: undefined;
|
958
|
+
[x: `uint168[${string}]`]: undefined;
|
959
|
+
[x: `uint176[${string}]`]: undefined;
|
960
|
+
[x: `uint184[${string}]`]: undefined;
|
961
|
+
[x: `uint192[${string}]`]: undefined;
|
962
|
+
[x: `uint200[${string}]`]: undefined;
|
963
|
+
[x: `uint208[${string}]`]: undefined;
|
964
|
+
[x: `uint216[${string}]`]: undefined;
|
965
|
+
[x: `uint224[${string}]`]: undefined;
|
966
|
+
[x: `uint232[${string}]`]: undefined;
|
967
|
+
[x: `uint240[${string}]`]: undefined;
|
968
|
+
[x: `uint248[${string}]`]: undefined;
|
969
|
+
[x: `uint256[${string}]`]: undefined;
|
970
|
+
string?: undefined;
|
971
|
+
address?: undefined;
|
972
|
+
bool?: undefined;
|
973
|
+
bytes?: undefined;
|
974
|
+
bytes1?: undefined;
|
975
|
+
bytes2?: undefined;
|
976
|
+
bytes3?: undefined;
|
977
|
+
bytes4?: undefined;
|
978
|
+
bytes5?: undefined;
|
979
|
+
bytes6?: undefined;
|
980
|
+
bytes7?: undefined;
|
981
|
+
bytes8?: undefined;
|
982
|
+
bytes9?: undefined;
|
983
|
+
bytes10?: undefined;
|
984
|
+
bytes11?: undefined;
|
985
|
+
bytes12?: undefined;
|
986
|
+
bytes13?: undefined;
|
987
|
+
bytes14?: undefined;
|
988
|
+
bytes15?: undefined;
|
989
|
+
bytes16?: undefined;
|
990
|
+
bytes17?: undefined;
|
991
|
+
bytes18?: undefined;
|
992
|
+
bytes19?: undefined;
|
993
|
+
bytes20?: undefined;
|
994
|
+
bytes21?: undefined;
|
995
|
+
bytes22?: undefined;
|
996
|
+
bytes23?: undefined;
|
997
|
+
bytes24?: undefined;
|
998
|
+
bytes25?: undefined;
|
999
|
+
bytes26?: undefined;
|
1000
|
+
bytes27?: undefined;
|
1001
|
+
bytes28?: undefined;
|
1002
|
+
bytes29?: undefined;
|
1003
|
+
bytes30?: undefined;
|
1004
|
+
bytes31?: undefined;
|
1005
|
+
bytes32?: undefined;
|
1006
|
+
int8?: undefined;
|
1007
|
+
int16?: undefined;
|
1008
|
+
int24?: undefined;
|
1009
|
+
int32?: undefined;
|
1010
|
+
int40?: undefined;
|
1011
|
+
int48?: undefined;
|
1012
|
+
int56?: undefined;
|
1013
|
+
int64?: undefined;
|
1014
|
+
int72?: undefined;
|
1015
|
+
int80?: undefined;
|
1016
|
+
int88?: undefined;
|
1017
|
+
int96?: undefined;
|
1018
|
+
int104?: undefined;
|
1019
|
+
int112?: undefined;
|
1020
|
+
int120?: undefined;
|
1021
|
+
int128?: undefined;
|
1022
|
+
int136?: undefined;
|
1023
|
+
int144?: undefined;
|
1024
|
+
int152?: undefined;
|
1025
|
+
int160?: undefined;
|
1026
|
+
int168?: undefined;
|
1027
|
+
int176?: undefined;
|
1028
|
+
int184?: undefined;
|
1029
|
+
int192?: undefined;
|
1030
|
+
int200?: undefined;
|
1031
|
+
int208?: undefined;
|
1032
|
+
int216?: undefined;
|
1033
|
+
int224?: undefined;
|
1034
|
+
int232?: undefined;
|
1035
|
+
int240?: undefined;
|
1036
|
+
int248?: undefined;
|
1037
|
+
int256?: undefined;
|
1038
|
+
uint8?: undefined;
|
1039
|
+
uint16?: undefined;
|
1040
|
+
uint24?: undefined;
|
1041
|
+
uint32?: undefined;
|
1042
|
+
uint40?: undefined;
|
1043
|
+
uint48?: undefined;
|
1044
|
+
uint56?: undefined;
|
1045
|
+
uint64?: undefined;
|
1046
|
+
uint72?: undefined;
|
1047
|
+
uint80?: undefined;
|
1048
|
+
uint88?: undefined;
|
1049
|
+
uint96?: undefined;
|
1050
|
+
uint104?: undefined;
|
1051
|
+
uint112?: undefined;
|
1052
|
+
uint120?: undefined;
|
1053
|
+
uint128?: undefined;
|
1054
|
+
uint136?: undefined;
|
1055
|
+
uint144?: undefined;
|
1056
|
+
uint152?: undefined;
|
1057
|
+
uint160?: undefined;
|
1058
|
+
uint168?: undefined;
|
1059
|
+
uint176?: undefined;
|
1060
|
+
uint184?: undefined;
|
1061
|
+
uint192?: undefined;
|
1062
|
+
uint200?: undefined;
|
1063
|
+
uint208?: undefined;
|
1064
|
+
uint216?: undefined;
|
1065
|
+
uint224?: undefined;
|
1066
|
+
uint232?: undefined;
|
1067
|
+
uint240?: undefined;
|
1068
|
+
uint248?: undefined;
|
1069
|
+
uint256?: undefined;
|
1070
|
+
} | {
|
1071
|
+
[key: string]: unknown;
|
1072
|
+
}, TPrimaryType extends string>(args: viem.SignTypedDataParameters<TTypedData, TPrimaryType, _cometh_connect_sdk_4337.ComethSafeSmartAccount>) => ReturnType<typeof permissionless_actions_smartAccount.signTypedData>;
|
1073
|
+
writeContract: <const TAbi extends Abi$1 | readonly unknown[], TFunctionName extends viem.ContractFunctionName<TAbi, "nonpayable" | "payable"> = viem.ContractFunctionName<TAbi, "nonpayable" | "payable">, TArgs extends viem.ContractFunctionArgs<TAbi, "nonpayable" | "payable", TFunctionName> = viem.ContractFunctionArgs<TAbi, "nonpayable" | "payable", TFunctionName>, TChainOverride extends viem.Chain | undefined = undefined>(args: viem.WriteContractParameters<TAbi, TFunctionName, TArgs, viem.Chain, _cometh_connect_sdk_4337.ComethSafeSmartAccount, TChainOverride>) => ReturnType<(client: viem.Client<viem.Transport, viem.Chain, _cometh_connect_sdk_4337.ComethSafeSmartAccount>, { abi, address, args, dataSuffix, functionName, ...request }: viem.WriteContractParameters<TAbi, TFunctionName, TArgs, viem.Chain, _cometh_connect_sdk_4337.ComethSafeSmartAccount, TChainOverride>) => Promise<viem.Hash>>;
|
1074
|
+
validateAddDevice: <TTransport extends viem.Transport>(args: {
|
1075
|
+
signer: _cometh_connect_sdk_4337.Signer;
|
1076
|
+
}) => Promise<viem.Hash>;
|
1077
|
+
setUpRecoveryModule: () => Promise<viem.Hash>;
|
1078
|
+
cancelRecoveryRequest: <TTransport extends viem.Transport>(args: {
|
1079
|
+
effectiveDelayAddress?: Address$1 | undefined;
|
1080
|
+
}) => Promise<viem.Hash>;
|
1081
|
+
isRecoveryActive: <TTransport extends viem.Transport>(args: {
|
1082
|
+
effectiveDelayAddress?: Address$1 | undefined;
|
1083
|
+
} | undefined) => Promise<_cometh_connect_sdk_4337.IsRecoveryActiveReturnType>;
|
1084
|
+
getRecoveryRequest: <TTransport extends viem.Transport>(args: {
|
1085
|
+
effectiveDelayAddress?: Address$1 | undefined;
|
1086
|
+
} | undefined) => Promise<_cometh_connect_sdk_4337.RecoveryParamsResponse | undefined>;
|
1087
|
+
verifySignature: <TTransport extends viem.Transport>(args: {
|
1088
|
+
message: string;
|
1089
|
+
signature: viem.Hex;
|
1090
|
+
}) => Promise<boolean>;
|
1091
|
+
getDelayModuleAddress: <TTransport extends viem.Transport>(args: {
|
1092
|
+
expiration: number;
|
1093
|
+
cooldown: number;
|
1094
|
+
}) => Promise<Address$1>;
|
1095
|
+
getGuardianAddress: <TTransport extends viem.Transport>(args: {
|
1096
|
+
delayModuleAddress: Address$1;
|
1097
|
+
}) => Promise<Address$1>;
|
1098
|
+
addGuardian: <TTransport extends viem.Transport>(args: {
|
1099
|
+
delayModuleAddress: Address$1;
|
1100
|
+
guardianAddress: Address$1;
|
1101
|
+
}) => Promise<viem.Hex>;
|
1102
|
+
disableGuardian: <TTransport extends viem.Transport>(args: {
|
1103
|
+
guardianAddress: Address$1;
|
1104
|
+
expiration?: number | undefined;
|
1105
|
+
cooldown?: number | undefined;
|
1106
|
+
}) => Promise<viem.Hex>;
|
1107
|
+
setupCustomDelayModule: <TTransport extends viem.Transport>(args: {
|
1108
|
+
guardianAddress: Address$1;
|
1109
|
+
expiration?: number | undefined;
|
1110
|
+
cooldown?: number | undefined;
|
1111
|
+
}) => Promise<viem.Hex>;
|
1112
|
+
setFallbackTo7579: () => Promise<viem.Hex>;
|
1113
|
+
is7579Installed: () => Promise<boolean>;
|
1114
|
+
addOwner: (args: {
|
1115
|
+
ownerToAdd: Address$1;
|
1116
|
+
}) => Promise<viem.Hash>;
|
1117
|
+
removeOwner: (args: {
|
1118
|
+
ownerToRemove: Address$1;
|
1119
|
+
}) => Promise<viem.Hash>;
|
1120
|
+
getOwners: () => Promise<readonly Address$1[]>;
|
1121
|
+
getEnrichedOwners: () => Promise<_cometh_connect_sdk_4337.EnrichedOwner[]>;
|
1122
|
+
extend: <const client extends {
|
1123
|
+
[x: string]: unknown;
|
1124
|
+
account?: undefined;
|
1125
|
+
batch?: undefined;
|
1126
|
+
cacheTime?: undefined;
|
1127
|
+
ccipRead?: undefined;
|
1128
|
+
chain?: undefined;
|
1129
|
+
key?: undefined;
|
1130
|
+
name?: undefined;
|
1131
|
+
pollingInterval?: undefined;
|
1132
|
+
request?: undefined;
|
1133
|
+
transport?: undefined;
|
1134
|
+
type?: undefined;
|
1135
|
+
uid?: undefined;
|
1136
|
+
} & viem.ExactPartial<Pick<viem.PublicActions<viem.Transport, viem.Chain, _cometh_connect_sdk_4337.ComethSafeSmartAccount>, "call" | "createContractEventFilter" | "createEventFilter" | "estimateContractGas" | "estimateGas" | "getBlock" | "getBlockNumber" | "getChainId" | "getContractEvents" | "getEnsText" | "getFilterChanges" | "getGasPrice" | "getLogs" | "getTransaction" | "getTransactionCount" | "getTransactionReceipt" | "prepareTransactionRequest" | "readContract" | "sendRawTransaction" | "simulateContract" | "uninstallFilter" | "watchBlockNumber" | "watchContractEvent"> & Pick<viem.WalletActions<viem.Chain, _cometh_connect_sdk_4337.ComethSafeSmartAccount>, "sendTransaction" | "writeContract">>>(fn: (client: viem.Client<viem.Transport, viem.Chain, _cometh_connect_sdk_4337.ComethSafeSmartAccount, viem.BundlerRpcSchema, viem__types_account_abstraction.BundlerActions<_cometh_connect_sdk_4337.ComethSafeSmartAccount> & {
|
1137
|
+
sendTransaction: <TChainOverride extends viem.Chain | undefined = undefined, accountOverride extends viem__types_account_abstraction.SmartAccount | undefined = undefined, calls extends readonly unknown[] = readonly unknown[]>(args: viem.SendTransactionParameters<viem.Chain, _cometh_connect_sdk_4337.ComethSafeSmartAccount, TChainOverride> | viem__types_account_abstraction.SendUserOperationParameters<_cometh_connect_sdk_4337.ComethSafeSmartAccount, accountOverride, calls>) => Promise<viem.Hash>;
|
1138
|
+
signMessage: (args: viem.SignMessageParameters<_cometh_connect_sdk_4337.ComethSafeSmartAccount>) => ReturnType<typeof permissionless_actions_smartAccount.signMessage>;
|
1139
|
+
signTypedData: <const TTypedData extends {
|
1140
|
+
[x: string]: readonly TypedDataParameter[];
|
1141
|
+
[x: `string[${string}]`]: undefined;
|
1142
|
+
[x: `function[${string}]`]: undefined;
|
1143
|
+
[x: `address[${string}]`]: undefined;
|
1144
|
+
[x: `bool[${string}]`]: undefined;
|
1145
|
+
[x: `bytes[${string}]`]: undefined;
|
1146
|
+
[x: `bytes1[${string}]`]: undefined;
|
1147
|
+
[x: `bytes2[${string}]`]: undefined;
|
1148
|
+
[x: `bytes3[${string}]`]: undefined;
|
1149
|
+
[x: `bytes4[${string}]`]: undefined;
|
1150
|
+
[x: `bytes5[${string}]`]: undefined;
|
1151
|
+
[x: `bytes6[${string}]`]: undefined;
|
1152
|
+
[x: `bytes7[${string}]`]: undefined;
|
1153
|
+
[x: `bytes8[${string}]`]: undefined;
|
1154
|
+
[x: `bytes9[${string}]`]: undefined;
|
1155
|
+
[x: `bytes10[${string}]`]: undefined;
|
1156
|
+
[x: `bytes11[${string}]`]: undefined;
|
1157
|
+
[x: `bytes12[${string}]`]: undefined;
|
1158
|
+
[x: `bytes13[${string}]`]: undefined;
|
1159
|
+
[x: `bytes14[${string}]`]: undefined;
|
1160
|
+
[x: `bytes15[${string}]`]: undefined;
|
1161
|
+
[x: `bytes16[${string}]`]: undefined;
|
1162
|
+
[x: `bytes17[${string}]`]: undefined;
|
1163
|
+
[x: `bytes18[${string}]`]: undefined;
|
1164
|
+
[x: `bytes19[${string}]`]: undefined;
|
1165
|
+
[x: `bytes20[${string}]`]: undefined;
|
1166
|
+
[x: `bytes21[${string}]`]: undefined;
|
1167
|
+
[x: `bytes22[${string}]`]: undefined;
|
1168
|
+
[x: `bytes23[${string}]`]: undefined;
|
1169
|
+
[x: `bytes24[${string}]`]: undefined;
|
1170
|
+
[x: `bytes25[${string}]`]: undefined;
|
1171
|
+
[x: `bytes26[${string}]`]: undefined;
|
1172
|
+
[x: `bytes27[${string}]`]: undefined;
|
1173
|
+
[x: `bytes28[${string}]`]: undefined;
|
1174
|
+
[x: `bytes29[${string}]`]: undefined;
|
1175
|
+
[x: `bytes30[${string}]`]: undefined;
|
1176
|
+
[x: `bytes31[${string}]`]: undefined;
|
1177
|
+
[x: `bytes32[${string}]`]: undefined;
|
1178
|
+
[x: `int[${string}]`]: undefined;
|
1179
|
+
[x: `int8[${string}]`]: undefined;
|
1180
|
+
[x: `int16[${string}]`]: undefined;
|
1181
|
+
[x: `int24[${string}]`]: undefined;
|
1182
|
+
[x: `int32[${string}]`]: undefined;
|
1183
|
+
[x: `int40[${string}]`]: undefined;
|
1184
|
+
[x: `int48[${string}]`]: undefined;
|
1185
|
+
[x: `int56[${string}]`]: undefined;
|
1186
|
+
[x: `int64[${string}]`]: undefined;
|
1187
|
+
[x: `int72[${string}]`]: undefined;
|
1188
|
+
[x: `int80[${string}]`]: undefined;
|
1189
|
+
[x: `int88[${string}]`]: undefined;
|
1190
|
+
[x: `int96[${string}]`]: undefined;
|
1191
|
+
[x: `int104[${string}]`]: undefined;
|
1192
|
+
[x: `int112[${string}]`]: undefined;
|
1193
|
+
[x: `int120[${string}]`]: undefined;
|
1194
|
+
[x: `int128[${string}]`]: undefined;
|
1195
|
+
[x: `int136[${string}]`]: undefined;
|
1196
|
+
[x: `int144[${string}]`]: undefined;
|
1197
|
+
[x: `int152[${string}]`]: undefined;
|
1198
|
+
[x: `int160[${string}]`]: undefined;
|
1199
|
+
[x: `int168[${string}]`]: undefined;
|
1200
|
+
[x: `int176[${string}]`]: undefined;
|
1201
|
+
[x: `int184[${string}]`]: undefined;
|
1202
|
+
[x: `int192[${string}]`]: undefined;
|
1203
|
+
[x: `int200[${string}]`]: undefined;
|
1204
|
+
[x: `int208[${string}]`]: undefined;
|
1205
|
+
[x: `int216[${string}]`]: undefined;
|
1206
|
+
[x: `int224[${string}]`]: undefined;
|
1207
|
+
[x: `int232[${string}]`]: undefined;
|
1208
|
+
[x: `int240[${string}]`]: undefined;
|
1209
|
+
[x: `int248[${string}]`]: undefined;
|
1210
|
+
[x: `int256[${string}]`]: undefined;
|
1211
|
+
[x: `uint[${string}]`]: undefined;
|
1212
|
+
[x: `uint8[${string}]`]: undefined;
|
1213
|
+
[x: `uint16[${string}]`]: undefined;
|
1214
|
+
[x: `uint24[${string}]`]: undefined;
|
1215
|
+
[x: `uint32[${string}]`]: undefined;
|
1216
|
+
[x: `uint40[${string}]`]: undefined;
|
1217
|
+
[x: `uint48[${string}]`]: undefined;
|
1218
|
+
[x: `uint56[${string}]`]: undefined;
|
1219
|
+
[x: `uint64[${string}]`]: undefined;
|
1220
|
+
[x: `uint72[${string}]`]: undefined;
|
1221
|
+
[x: `uint80[${string}]`]: undefined;
|
1222
|
+
[x: `uint88[${string}]`]: undefined;
|
1223
|
+
[x: `uint96[${string}]`]: undefined;
|
1224
|
+
[x: `uint104[${string}]`]: undefined;
|
1225
|
+
[x: `uint112[${string}]`]: undefined;
|
1226
|
+
[x: `uint120[${string}]`]: undefined;
|
1227
|
+
[x: `uint128[${string}]`]: undefined;
|
1228
|
+
[x: `uint136[${string}]`]: undefined;
|
1229
|
+
[x: `uint144[${string}]`]: undefined;
|
1230
|
+
[x: `uint152[${string}]`]: undefined;
|
1231
|
+
[x: `uint160[${string}]`]: undefined;
|
1232
|
+
[x: `uint168[${string}]`]: undefined;
|
1233
|
+
[x: `uint176[${string}]`]: undefined;
|
1234
|
+
[x: `uint184[${string}]`]: undefined;
|
1235
|
+
[x: `uint192[${string}]`]: undefined;
|
1236
|
+
[x: `uint200[${string}]`]: undefined;
|
1237
|
+
[x: `uint208[${string}]`]: undefined;
|
1238
|
+
[x: `uint216[${string}]`]: undefined;
|
1239
|
+
[x: `uint224[${string}]`]: undefined;
|
1240
|
+
[x: `uint232[${string}]`]: undefined;
|
1241
|
+
[x: `uint240[${string}]`]: undefined;
|
1242
|
+
[x: `uint248[${string}]`]: undefined;
|
1243
|
+
[x: `uint256[${string}]`]: undefined;
|
1244
|
+
string?: undefined;
|
1245
|
+
address?: undefined;
|
1246
|
+
bool?: undefined;
|
1247
|
+
bytes?: undefined;
|
1248
|
+
bytes1?: undefined;
|
1249
|
+
bytes2?: undefined;
|
1250
|
+
bytes3?: undefined;
|
1251
|
+
bytes4?: undefined;
|
1252
|
+
bytes5?: undefined;
|
1253
|
+
bytes6?: undefined;
|
1254
|
+
bytes7?: undefined;
|
1255
|
+
bytes8?: undefined;
|
1256
|
+
bytes9?: undefined;
|
1257
|
+
bytes10?: undefined;
|
1258
|
+
bytes11?: undefined;
|
1259
|
+
bytes12?: undefined;
|
1260
|
+
bytes13?: undefined;
|
1261
|
+
bytes14?: undefined;
|
1262
|
+
bytes15?: undefined;
|
1263
|
+
bytes16?: undefined;
|
1264
|
+
bytes17?: undefined;
|
1265
|
+
bytes18?: undefined;
|
1266
|
+
bytes19?: undefined;
|
1267
|
+
bytes20?: undefined;
|
1268
|
+
bytes21?: undefined;
|
1269
|
+
bytes22?: undefined;
|
1270
|
+
bytes23?: undefined;
|
1271
|
+
bytes24?: undefined;
|
1272
|
+
bytes25?: undefined;
|
1273
|
+
bytes26?: undefined;
|
1274
|
+
bytes27?: undefined;
|
1275
|
+
bytes28?: undefined;
|
1276
|
+
bytes29?: undefined;
|
1277
|
+
bytes30?: undefined;
|
1278
|
+
bytes31?: undefined;
|
1279
|
+
bytes32?: undefined;
|
1280
|
+
int8?: undefined;
|
1281
|
+
int16?: undefined;
|
1282
|
+
int24?: undefined;
|
1283
|
+
int32?: undefined;
|
1284
|
+
int40?: undefined;
|
1285
|
+
int48?: undefined;
|
1286
|
+
int56?: undefined;
|
1287
|
+
int64?: undefined;
|
1288
|
+
int72?: undefined;
|
1289
|
+
int80?: undefined;
|
1290
|
+
int88?: undefined;
|
1291
|
+
int96?: undefined;
|
1292
|
+
int104?: undefined;
|
1293
|
+
int112?: undefined;
|
1294
|
+
int120?: undefined;
|
1295
|
+
int128?: undefined;
|
1296
|
+
int136?: undefined;
|
1297
|
+
int144?: undefined;
|
1298
|
+
int152?: undefined;
|
1299
|
+
int160?: undefined;
|
1300
|
+
int168?: undefined;
|
1301
|
+
int176?: undefined;
|
1302
|
+
int184?: undefined;
|
1303
|
+
int192?: undefined;
|
1304
|
+
int200?: undefined;
|
1305
|
+
int208?: undefined;
|
1306
|
+
int216?: undefined;
|
1307
|
+
int224?: undefined;
|
1308
|
+
int232?: undefined;
|
1309
|
+
int240?: undefined;
|
1310
|
+
int248?: undefined;
|
1311
|
+
int256?: undefined;
|
1312
|
+
uint8?: undefined;
|
1313
|
+
uint16?: undefined;
|
1314
|
+
uint24?: undefined;
|
1315
|
+
uint32?: undefined;
|
1316
|
+
uint40?: undefined;
|
1317
|
+
uint48?: undefined;
|
1318
|
+
uint56?: undefined;
|
1319
|
+
uint64?: undefined;
|
1320
|
+
uint72?: undefined;
|
1321
|
+
uint80?: undefined;
|
1322
|
+
uint88?: undefined;
|
1323
|
+
uint96?: undefined;
|
1324
|
+
uint104?: undefined;
|
1325
|
+
uint112?: undefined;
|
1326
|
+
uint120?: undefined;
|
1327
|
+
uint128?: undefined;
|
1328
|
+
uint136?: undefined;
|
1329
|
+
uint144?: undefined;
|
1330
|
+
uint152?: undefined;
|
1331
|
+
uint160?: undefined;
|
1332
|
+
uint168?: undefined;
|
1333
|
+
uint176?: undefined;
|
1334
|
+
uint184?: undefined;
|
1335
|
+
uint192?: undefined;
|
1336
|
+
uint200?: undefined;
|
1337
|
+
uint208?: undefined;
|
1338
|
+
uint216?: undefined;
|
1339
|
+
uint224?: undefined;
|
1340
|
+
uint232?: undefined;
|
1341
|
+
uint240?: undefined;
|
1342
|
+
uint248?: undefined;
|
1343
|
+
uint256?: undefined;
|
1344
|
+
} | {
|
1345
|
+
[key: string]: unknown;
|
1346
|
+
}, TPrimaryType extends string>(args: viem.SignTypedDataParameters<TTypedData, TPrimaryType, _cometh_connect_sdk_4337.ComethSafeSmartAccount>) => ReturnType<typeof permissionless_actions_smartAccount.signTypedData>;
|
1347
|
+
writeContract: <const TAbi extends Abi$1 | readonly unknown[], TFunctionName extends viem.ContractFunctionName<TAbi, "nonpayable" | "payable"> = viem.ContractFunctionName<TAbi, "nonpayable" | "payable">, TArgs extends viem.ContractFunctionArgs<TAbi, "nonpayable" | "payable", TFunctionName> = viem.ContractFunctionArgs<TAbi, "nonpayable" | "payable", TFunctionName>, TChainOverride extends viem.Chain | undefined = undefined>(args: viem.WriteContractParameters<TAbi, TFunctionName, TArgs, viem.Chain, _cometh_connect_sdk_4337.ComethSafeSmartAccount, TChainOverride>) => ReturnType<(client: viem.Client<viem.Transport, viem.Chain, _cometh_connect_sdk_4337.ComethSafeSmartAccount>, { abi, address, args, dataSuffix, functionName, ...request }: viem.WriteContractParameters<TAbi, TFunctionName, TArgs, viem.Chain, _cometh_connect_sdk_4337.ComethSafeSmartAccount, TChainOverride>) => Promise<viem.Hash>>;
|
1348
|
+
} & {
|
1349
|
+
validateAddDevice: <TTransport extends viem.Transport>(args: {
|
1350
|
+
signer: _cometh_connect_sdk_4337.Signer;
|
1351
|
+
}) => Promise<viem.Hash>;
|
1352
|
+
setUpRecoveryModule: () => Promise<viem.Hash>;
|
1353
|
+
cancelRecoveryRequest: <TTransport extends viem.Transport>(args: {
|
1354
|
+
effectiveDelayAddress?: Address$1 | undefined;
|
1355
|
+
}) => Promise<viem.Hash>;
|
1356
|
+
isRecoveryActive: <TTransport extends viem.Transport>(args: {
|
1357
|
+
effectiveDelayAddress?: Address$1 | undefined;
|
1358
|
+
} | undefined) => Promise<_cometh_connect_sdk_4337.IsRecoveryActiveReturnType>;
|
1359
|
+
getRecoveryRequest: <TTransport extends viem.Transport>(args: {
|
1360
|
+
effectiveDelayAddress?: Address$1 | undefined;
|
1361
|
+
} | undefined) => Promise<_cometh_connect_sdk_4337.RecoveryParamsResponse | undefined>;
|
1362
|
+
verifySignature: <TTransport extends viem.Transport>(args: {
|
1363
|
+
message: string;
|
1364
|
+
signature: viem.Hex;
|
1365
|
+
}) => Promise<boolean>;
|
1366
|
+
getDelayModuleAddress: <TTransport extends viem.Transport>(args: {
|
1367
|
+
expiration: number;
|
1368
|
+
cooldown: number;
|
1369
|
+
}) => Promise<Address$1>;
|
1370
|
+
getGuardianAddress: <TTransport extends viem.Transport>(args: {
|
1371
|
+
delayModuleAddress: Address$1;
|
1372
|
+
}) => Promise<Address$1>;
|
1373
|
+
addGuardian: <TTransport extends viem.Transport>(args: {
|
1374
|
+
delayModuleAddress: Address$1;
|
1375
|
+
guardianAddress: Address$1;
|
1376
|
+
}) => Promise<viem.Hex>;
|
1377
|
+
disableGuardian: <TTransport extends viem.Transport>(args: {
|
1378
|
+
guardianAddress: Address$1;
|
1379
|
+
expiration?: number | undefined;
|
1380
|
+
cooldown?: number | undefined;
|
1381
|
+
}) => Promise<viem.Hex>;
|
1382
|
+
setupCustomDelayModule: <TTransport extends viem.Transport>(args: {
|
1383
|
+
guardianAddress: Address$1;
|
1384
|
+
expiration?: number | undefined;
|
1385
|
+
cooldown?: number | undefined;
|
1386
|
+
}) => Promise<viem.Hex>;
|
1387
|
+
setFallbackTo7579: () => Promise<viem.Hex>;
|
1388
|
+
is7579Installed: () => Promise<boolean>;
|
1389
|
+
} & {
|
1390
|
+
addOwner: (args: {
|
1391
|
+
ownerToAdd: Address$1;
|
1392
|
+
}) => Promise<viem.Hash>;
|
1393
|
+
removeOwner: (args: {
|
1394
|
+
ownerToRemove: Address$1;
|
1395
|
+
}) => Promise<viem.Hash>;
|
1396
|
+
getOwners: () => Promise<readonly Address$1[]>;
|
1397
|
+
getEnrichedOwners: () => Promise<_cometh_connect_sdk_4337.EnrichedOwner[]>;
|
1398
|
+
}>) => client) => viem.Client<viem.Transport, viem.Chain, _cometh_connect_sdk_4337.ComethSafeSmartAccount, viem.BundlerRpcSchema, { [K in keyof client]: client[K]; } & viem__types_account_abstraction.BundlerActions<_cometh_connect_sdk_4337.ComethSafeSmartAccount> & {
|
1399
|
+
sendTransaction: <TChainOverride_1 extends viem.Chain | undefined = undefined, accountOverride extends viem__types_account_abstraction.SmartAccount | undefined = undefined, calls extends readonly unknown[] = readonly unknown[]>(args: viem.SendTransactionParameters<viem.Chain, _cometh_connect_sdk_4337.ComethSafeSmartAccount, TChainOverride_1> | viem__types_account_abstraction.SendUserOperationParameters<_cometh_connect_sdk_4337.ComethSafeSmartAccount, accountOverride, calls>) => Promise<viem.Hash>;
|
1400
|
+
signMessage: (args: viem.SignMessageParameters<_cometh_connect_sdk_4337.ComethSafeSmartAccount>) => ReturnType<typeof permissionless_actions_smartAccount.signMessage>;
|
1401
|
+
signTypedData: <const TTypedData extends {
|
1402
|
+
[x: string]: readonly TypedDataParameter[];
|
1403
|
+
[x: `string[${string}]`]: undefined;
|
1404
|
+
[x: `function[${string}]`]: undefined;
|
1405
|
+
[x: `address[${string}]`]: undefined;
|
1406
|
+
[x: `bool[${string}]`]: undefined;
|
1407
|
+
[x: `bytes[${string}]`]: undefined;
|
1408
|
+
[x: `bytes1[${string}]`]: undefined;
|
1409
|
+
[x: `bytes2[${string}]`]: undefined;
|
1410
|
+
[x: `bytes3[${string}]`]: undefined;
|
1411
|
+
[x: `bytes4[${string}]`]: undefined;
|
1412
|
+
[x: `bytes5[${string}]`]: undefined;
|
1413
|
+
[x: `bytes6[${string}]`]: undefined;
|
1414
|
+
[x: `bytes7[${string}]`]: undefined;
|
1415
|
+
[x: `bytes8[${string}]`]: undefined;
|
1416
|
+
[x: `bytes9[${string}]`]: undefined;
|
1417
|
+
[x: `bytes10[${string}]`]: undefined;
|
1418
|
+
[x: `bytes11[${string}]`]: undefined;
|
1419
|
+
[x: `bytes12[${string}]`]: undefined;
|
1420
|
+
[x: `bytes13[${string}]`]: undefined;
|
1421
|
+
[x: `bytes14[${string}]`]: undefined;
|
1422
|
+
[x: `bytes15[${string}]`]: undefined;
|
1423
|
+
[x: `bytes16[${string}]`]: undefined;
|
1424
|
+
[x: `bytes17[${string}]`]: undefined;
|
1425
|
+
[x: `bytes18[${string}]`]: undefined;
|
1426
|
+
[x: `bytes19[${string}]`]: undefined;
|
1427
|
+
[x: `bytes20[${string}]`]: undefined;
|
1428
|
+
[x: `bytes21[${string}]`]: undefined;
|
1429
|
+
[x: `bytes22[${string}]`]: undefined;
|
1430
|
+
[x: `bytes23[${string}]`]: undefined;
|
1431
|
+
[x: `bytes24[${string}]`]: undefined;
|
1432
|
+
[x: `bytes25[${string}]`]: undefined;
|
1433
|
+
[x: `bytes26[${string}]`]: undefined;
|
1434
|
+
[x: `bytes27[${string}]`]: undefined;
|
1435
|
+
[x: `bytes28[${string}]`]: undefined;
|
1436
|
+
[x: `bytes29[${string}]`]: undefined;
|
1437
|
+
[x: `bytes30[${string}]`]: undefined;
|
1438
|
+
[x: `bytes31[${string}]`]: undefined;
|
1439
|
+
[x: `bytes32[${string}]`]: undefined;
|
1440
|
+
[x: `int[${string}]`]: undefined;
|
1441
|
+
[x: `int8[${string}]`]: undefined;
|
1442
|
+
[x: `int16[${string}]`]: undefined;
|
1443
|
+
[x: `int24[${string}]`]: undefined;
|
1444
|
+
[x: `int32[${string}]`]: undefined;
|
1445
|
+
[x: `int40[${string}]`]: undefined;
|
1446
|
+
[x: `int48[${string}]`]: undefined;
|
1447
|
+
[x: `int56[${string}]`]: undefined;
|
1448
|
+
[x: `int64[${string}]`]: undefined;
|
1449
|
+
[x: `int72[${string}]`]: undefined;
|
1450
|
+
[x: `int80[${string}]`]: undefined;
|
1451
|
+
[x: `int88[${string}]`]: undefined;
|
1452
|
+
[x: `int96[${string}]`]: undefined;
|
1453
|
+
[x: `int104[${string}]`]: undefined;
|
1454
|
+
[x: `int112[${string}]`]: undefined;
|
1455
|
+
[x: `int120[${string}]`]: undefined;
|
1456
|
+
[x: `int128[${string}]`]: undefined;
|
1457
|
+
[x: `int136[${string}]`]: undefined;
|
1458
|
+
[x: `int144[${string}]`]: undefined;
|
1459
|
+
[x: `int152[${string}]`]: undefined;
|
1460
|
+
[x: `int160[${string}]`]: undefined;
|
1461
|
+
[x: `int168[${string}]`]: undefined;
|
1462
|
+
[x: `int176[${string}]`]: undefined;
|
1463
|
+
[x: `int184[${string}]`]: undefined;
|
1464
|
+
[x: `int192[${string}]`]: undefined;
|
1465
|
+
[x: `int200[${string}]`]: undefined;
|
1466
|
+
[x: `int208[${string}]`]: undefined;
|
1467
|
+
[x: `int216[${string}]`]: undefined;
|
1468
|
+
[x: `int224[${string}]`]: undefined;
|
1469
|
+
[x: `int232[${string}]`]: undefined;
|
1470
|
+
[x: `int240[${string}]`]: undefined;
|
1471
|
+
[x: `int248[${string}]`]: undefined;
|
1472
|
+
[x: `int256[${string}]`]: undefined;
|
1473
|
+
[x: `uint[${string}]`]: undefined;
|
1474
|
+
[x: `uint8[${string}]`]: undefined;
|
1475
|
+
[x: `uint16[${string}]`]: undefined;
|
1476
|
+
[x: `uint24[${string}]`]: undefined;
|
1477
|
+
[x: `uint32[${string}]`]: undefined;
|
1478
|
+
[x: `uint40[${string}]`]: undefined;
|
1479
|
+
[x: `uint48[${string}]`]: undefined;
|
1480
|
+
[x: `uint56[${string}]`]: undefined;
|
1481
|
+
[x: `uint64[${string}]`]: undefined;
|
1482
|
+
[x: `uint72[${string}]`]: undefined;
|
1483
|
+
[x: `uint80[${string}]`]: undefined;
|
1484
|
+
[x: `uint88[${string}]`]: undefined;
|
1485
|
+
[x: `uint96[${string}]`]: undefined;
|
1486
|
+
[x: `uint104[${string}]`]: undefined;
|
1487
|
+
[x: `uint112[${string}]`]: undefined;
|
1488
|
+
[x: `uint120[${string}]`]: undefined;
|
1489
|
+
[x: `uint128[${string}]`]: undefined;
|
1490
|
+
[x: `uint136[${string}]`]: undefined;
|
1491
|
+
[x: `uint144[${string}]`]: undefined;
|
1492
|
+
[x: `uint152[${string}]`]: undefined;
|
1493
|
+
[x: `uint160[${string}]`]: undefined;
|
1494
|
+
[x: `uint168[${string}]`]: undefined;
|
1495
|
+
[x: `uint176[${string}]`]: undefined;
|
1496
|
+
[x: `uint184[${string}]`]: undefined;
|
1497
|
+
[x: `uint192[${string}]`]: undefined;
|
1498
|
+
[x: `uint200[${string}]`]: undefined;
|
1499
|
+
[x: `uint208[${string}]`]: undefined;
|
1500
|
+
[x: `uint216[${string}]`]: undefined;
|
1501
|
+
[x: `uint224[${string}]`]: undefined;
|
1502
|
+
[x: `uint232[${string}]`]: undefined;
|
1503
|
+
[x: `uint240[${string}]`]: undefined;
|
1504
|
+
[x: `uint248[${string}]`]: undefined;
|
1505
|
+
[x: `uint256[${string}]`]: undefined;
|
1506
|
+
string?: undefined;
|
1507
|
+
address?: undefined;
|
1508
|
+
bool?: undefined;
|
1509
|
+
bytes?: undefined;
|
1510
|
+
bytes1?: undefined;
|
1511
|
+
bytes2?: undefined;
|
1512
|
+
bytes3?: undefined;
|
1513
|
+
bytes4?: undefined;
|
1514
|
+
bytes5?: undefined;
|
1515
|
+
bytes6?: undefined;
|
1516
|
+
bytes7?: undefined;
|
1517
|
+
bytes8?: undefined;
|
1518
|
+
bytes9?: undefined;
|
1519
|
+
bytes10?: undefined;
|
1520
|
+
bytes11?: undefined;
|
1521
|
+
bytes12?: undefined;
|
1522
|
+
bytes13?: undefined;
|
1523
|
+
bytes14?: undefined;
|
1524
|
+
bytes15?: undefined;
|
1525
|
+
bytes16?: undefined;
|
1526
|
+
bytes17?: undefined;
|
1527
|
+
bytes18?: undefined;
|
1528
|
+
bytes19?: undefined;
|
1529
|
+
bytes20?: undefined;
|
1530
|
+
bytes21?: undefined;
|
1531
|
+
bytes22?: undefined;
|
1532
|
+
bytes23?: undefined;
|
1533
|
+
bytes24?: undefined;
|
1534
|
+
bytes25?: undefined;
|
1535
|
+
bytes26?: undefined;
|
1536
|
+
bytes27?: undefined;
|
1537
|
+
bytes28?: undefined;
|
1538
|
+
bytes29?: undefined;
|
1539
|
+
bytes30?: undefined;
|
1540
|
+
bytes31?: undefined;
|
1541
|
+
bytes32?: undefined;
|
1542
|
+
int8?: undefined;
|
1543
|
+
int16?: undefined;
|
1544
|
+
int24?: undefined;
|
1545
|
+
int32?: undefined;
|
1546
|
+
int40?: undefined;
|
1547
|
+
int48?: undefined;
|
1548
|
+
int56?: undefined;
|
1549
|
+
int64?: undefined;
|
1550
|
+
int72?: undefined;
|
1551
|
+
int80?: undefined;
|
1552
|
+
int88?: undefined;
|
1553
|
+
int96?: undefined;
|
1554
|
+
int104?: undefined;
|
1555
|
+
int112?: undefined;
|
1556
|
+
int120?: undefined;
|
1557
|
+
int128?: undefined;
|
1558
|
+
int136?: undefined;
|
1559
|
+
int144?: undefined;
|
1560
|
+
int152?: undefined;
|
1561
|
+
int160?: undefined;
|
1562
|
+
int168?: undefined;
|
1563
|
+
int176?: undefined;
|
1564
|
+
int184?: undefined;
|
1565
|
+
int192?: undefined;
|
1566
|
+
int200?: undefined;
|
1567
|
+
int208?: undefined;
|
1568
|
+
int216?: undefined;
|
1569
|
+
int224?: undefined;
|
1570
|
+
int232?: undefined;
|
1571
|
+
int240?: undefined;
|
1572
|
+
int248?: undefined;
|
1573
|
+
int256?: undefined;
|
1574
|
+
uint8?: undefined;
|
1575
|
+
uint16?: undefined;
|
1576
|
+
uint24?: undefined;
|
1577
|
+
uint32?: undefined;
|
1578
|
+
uint40?: undefined;
|
1579
|
+
uint48?: undefined;
|
1580
|
+
uint56?: undefined;
|
1581
|
+
uint64?: undefined;
|
1582
|
+
uint72?: undefined;
|
1583
|
+
uint80?: undefined;
|
1584
|
+
uint88?: undefined;
|
1585
|
+
uint96?: undefined;
|
1586
|
+
uint104?: undefined;
|
1587
|
+
uint112?: undefined;
|
1588
|
+
uint120?: undefined;
|
1589
|
+
uint128?: undefined;
|
1590
|
+
uint136?: undefined;
|
1591
|
+
uint144?: undefined;
|
1592
|
+
uint152?: undefined;
|
1593
|
+
uint160?: undefined;
|
1594
|
+
uint168?: undefined;
|
1595
|
+
uint176?: undefined;
|
1596
|
+
uint184?: undefined;
|
1597
|
+
uint192?: undefined;
|
1598
|
+
uint200?: undefined;
|
1599
|
+
uint208?: undefined;
|
1600
|
+
uint216?: undefined;
|
1601
|
+
uint224?: undefined;
|
1602
|
+
uint232?: undefined;
|
1603
|
+
uint240?: undefined;
|
1604
|
+
uint248?: undefined;
|
1605
|
+
uint256?: undefined;
|
1606
|
+
} | {
|
1607
|
+
[key: string]: unknown;
|
1608
|
+
}, TPrimaryType extends string>(args: viem.SignTypedDataParameters<TTypedData, TPrimaryType, _cometh_connect_sdk_4337.ComethSafeSmartAccount>) => ReturnType<typeof permissionless_actions_smartAccount.signTypedData>;
|
1609
|
+
writeContract: <const TAbi extends Abi$1 | readonly unknown[], TFunctionName extends viem.ContractFunctionName<TAbi, "nonpayable" | "payable"> = viem.ContractFunctionName<TAbi, "nonpayable" | "payable">, TArgs extends viem.ContractFunctionArgs<TAbi, "nonpayable" | "payable", TFunctionName> = viem.ContractFunctionArgs<TAbi, "nonpayable" | "payable", TFunctionName>, TChainOverride extends viem.Chain | undefined = undefined>(args: viem.WriteContractParameters<TAbi, TFunctionName, TArgs, viem.Chain, _cometh_connect_sdk_4337.ComethSafeSmartAccount, TChainOverride>) => ReturnType<(client: viem.Client<viem.Transport, viem.Chain, _cometh_connect_sdk_4337.ComethSafeSmartAccount>, { abi, address, args, dataSuffix, functionName, ...request }: viem.WriteContractParameters<TAbi, TFunctionName, TArgs, viem.Chain, _cometh_connect_sdk_4337.ComethSafeSmartAccount, TChainOverride>) => Promise<viem.Hash>>;
|
1610
|
+
} & {
|
1611
|
+
validateAddDevice: <TTransport extends viem.Transport>(args: {
|
1612
|
+
signer: _cometh_connect_sdk_4337.Signer;
|
1613
|
+
}) => Promise<viem.Hash>;
|
1614
|
+
setUpRecoveryModule: () => Promise<viem.Hash>;
|
1615
|
+
cancelRecoveryRequest: <TTransport extends viem.Transport>(args: {
|
1616
|
+
effectiveDelayAddress?: Address$1 | undefined;
|
1617
|
+
}) => Promise<viem.Hash>;
|
1618
|
+
isRecoveryActive: <TTransport extends viem.Transport>(args: {
|
1619
|
+
effectiveDelayAddress?: Address$1 | undefined;
|
1620
|
+
} | undefined) => Promise<_cometh_connect_sdk_4337.IsRecoveryActiveReturnType>;
|
1621
|
+
getRecoveryRequest: <TTransport extends viem.Transport>(args: {
|
1622
|
+
effectiveDelayAddress?: Address$1 | undefined;
|
1623
|
+
} | undefined) => Promise<_cometh_connect_sdk_4337.RecoveryParamsResponse | undefined>;
|
1624
|
+
verifySignature: <TTransport extends viem.Transport>(args: {
|
1625
|
+
message: string;
|
1626
|
+
signature: viem.Hex;
|
1627
|
+
}) => Promise<boolean>;
|
1628
|
+
getDelayModuleAddress: <TTransport extends viem.Transport>(args: {
|
1629
|
+
expiration: number;
|
1630
|
+
cooldown: number;
|
1631
|
+
}) => Promise<Address$1>;
|
1632
|
+
getGuardianAddress: <TTransport extends viem.Transport>(args: {
|
1633
|
+
delayModuleAddress: Address$1;
|
1634
|
+
}) => Promise<Address$1>;
|
1635
|
+
addGuardian: <TTransport extends viem.Transport>(args: {
|
1636
|
+
delayModuleAddress: Address$1;
|
1637
|
+
guardianAddress: Address$1;
|
1638
|
+
}) => Promise<viem.Hex>;
|
1639
|
+
disableGuardian: <TTransport extends viem.Transport>(args: {
|
1640
|
+
guardianAddress: Address$1;
|
1641
|
+
expiration?: number | undefined;
|
1642
|
+
cooldown?: number | undefined;
|
1643
|
+
}) => Promise<viem.Hex>;
|
1644
|
+
setupCustomDelayModule: <TTransport extends viem.Transport>(args: {
|
1645
|
+
guardianAddress: Address$1;
|
1646
|
+
expiration?: number | undefined;
|
1647
|
+
cooldown?: number | undefined;
|
1648
|
+
}) => Promise<viem.Hex>;
|
1649
|
+
setFallbackTo7579: () => Promise<viem.Hex>;
|
1650
|
+
is7579Installed: () => Promise<boolean>;
|
1651
|
+
} & {
|
1652
|
+
addOwner: (args: {
|
1653
|
+
ownerToAdd: Address$1;
|
1654
|
+
}) => Promise<viem.Hash>;
|
1655
|
+
removeOwner: (args: {
|
1656
|
+
ownerToRemove: Address$1;
|
1657
|
+
}) => Promise<viem.Hash>;
|
1658
|
+
getOwners: () => Promise<readonly Address$1[]>;
|
1659
|
+
getEnrichedOwners: () => Promise<_cometh_connect_sdk_4337.EnrichedOwner[]>;
|
1660
|
+
}>;
|
1661
|
+
} | null>;
|
773
1662
|
switchChainAsync: (params: {
|
774
1663
|
chainId: number;
|
775
|
-
}) => Promise<
|
1664
|
+
}) => Promise<{
|
1665
|
+
account: _cometh_connect_sdk_4337.ComethSafeSmartAccount;
|
1666
|
+
batch?: {
|
1667
|
+
multicall?: boolean | viem.Prettify<viem.MulticallBatchOptions> | undefined;
|
1668
|
+
} | undefined;
|
1669
|
+
cacheTime: number;
|
1670
|
+
ccipRead?: false | {
|
1671
|
+
request?: (parameters: viem.CcipRequestParameters) => Promise<viem__types_utils_ccip.CcipRequestReturnType>;
|
1672
|
+
} | undefined;
|
1673
|
+
chain: viem.Chain;
|
1674
|
+
key: string;
|
1675
|
+
name: string;
|
1676
|
+
pollingInterval: number;
|
1677
|
+
request: viem.EIP1193RequestFn<viem.BundlerRpcSchema>;
|
1678
|
+
transport: viem.TransportConfig<string, viem.EIP1193RequestFn> & Record<string, any>;
|
1679
|
+
type: string;
|
1680
|
+
uid: string;
|
1681
|
+
estimateUserOperationGas: <const calls extends readonly unknown[], accountOverride extends viem__types_account_abstraction.SmartAccount | undefined = undefined>(parameters: viem__types_account_abstraction.EstimateUserOperationGasParameters<_cometh_connect_sdk_4337.ComethSafeSmartAccount, accountOverride, calls>) => Promise<viem__types_account_abstraction.EstimateUserOperationGasReturnType<_cometh_connect_sdk_4337.ComethSafeSmartAccount, accountOverride>>;
|
1682
|
+
getChainId: () => Promise<viem.GetChainIdReturnType>;
|
1683
|
+
getSupportedEntryPoints: () => Promise<viem__types_account_abstraction.GetSupportedEntryPointsReturnType>;
|
1684
|
+
getUserOperation: (parameters: viem__types_account_abstraction.GetUserOperationParameters) => Promise<viem__types_account_abstraction.GetUserOperationReturnType>;
|
1685
|
+
getUserOperationReceipt: (parameters: viem__types_account_abstraction.GetUserOperationReceiptParameters) => Promise<viem__types_account_abstraction.GetUserOperationReceiptReturnType>;
|
1686
|
+
prepareUserOperation: <const calls extends readonly unknown[], const request extends viem__types_account_abstraction.PrepareUserOperationRequest<_cometh_connect_sdk_4337.ComethSafeSmartAccount, accountOverride, calls>, accountOverride extends viem__types_account_abstraction.SmartAccount | undefined = undefined>(parameters: viem__types_account_abstraction.PrepareUserOperationParameters<_cometh_connect_sdk_4337.ComethSafeSmartAccount, accountOverride, calls, request>) => Promise<viem.UnionOmit<request, "parameters" | "calls"> & {
|
1687
|
+
callData: viem.Hex;
|
1688
|
+
paymasterAndData: viem__types_account_abstraction.DeriveEntryPointVersion<viem__types_account_abstraction.DeriveSmartAccount<_cometh_connect_sdk_4337.ComethSafeSmartAccount, accountOverride>> extends infer T_8 ? T_8 extends viem__types_account_abstraction.DeriveEntryPointVersion<viem__types_account_abstraction.DeriveSmartAccount<_cometh_connect_sdk_4337.ComethSafeSmartAccount, accountOverride>> ? T_8 extends "0.6" ? `0x${string}` : undefined : never : never;
|
1689
|
+
sender: viem__types_account_abstraction.UserOperation["sender"];
|
1690
|
+
} & (Extract<request["parameters"] extends readonly viem__types_account_abstraction.PrepareUserOperationParameterType[] ? request["parameters"][number] : "gas" | "nonce" | "fees" | "factory" | "paymaster" | "signature", "factory"> extends never ? {} : (viem__types_account_abstraction.DeriveEntryPointVersion<viem__types_account_abstraction.DeriveSmartAccount<_cometh_connect_sdk_4337.ComethSafeSmartAccount, accountOverride>> extends infer T_9 ? T_9 extends viem__types_account_abstraction.DeriveEntryPointVersion<viem__types_account_abstraction.DeriveSmartAccount<_cometh_connect_sdk_4337.ComethSafeSmartAccount, accountOverride>> ? T_9 extends "0.7" ? {
|
1691
|
+
factory: viem__types_account_abstraction.UserOperation["factory"];
|
1692
|
+
factoryData: viem__types_account_abstraction.UserOperation["factoryData"];
|
1693
|
+
} : never : never : never) | (viem__types_account_abstraction.DeriveEntryPointVersion<viem__types_account_abstraction.DeriveSmartAccount<_cometh_connect_sdk_4337.ComethSafeSmartAccount, accountOverride>> extends infer T_10 ? T_10 extends viem__types_account_abstraction.DeriveEntryPointVersion<viem__types_account_abstraction.DeriveSmartAccount<_cometh_connect_sdk_4337.ComethSafeSmartAccount, accountOverride>> ? T_10 extends "0.6" ? {
|
1694
|
+
initCode: viem__types_account_abstraction.UserOperation["initCode"];
|
1695
|
+
} : never : never : never)) & (Extract<request["parameters"] extends readonly viem__types_account_abstraction.PrepareUserOperationParameterType[] ? request["parameters"][number] : "gas" | "nonce" | "fees" | "factory" | "paymaster" | "signature", "nonce"> extends never ? {} : {
|
1696
|
+
nonce: viem__types_account_abstraction.UserOperation["nonce"];
|
1697
|
+
}) & (Extract<request["parameters"] extends readonly viem__types_account_abstraction.PrepareUserOperationParameterType[] ? request["parameters"][number] : "gas" | "nonce" | "fees" | "factory" | "paymaster" | "signature", "fees"> extends never ? {} : {
|
1698
|
+
maxFeePerGas: viem__types_account_abstraction.UserOperation["maxFeePerGas"];
|
1699
|
+
maxPriorityFeePerGas: viem__types_account_abstraction.UserOperation["maxPriorityFeePerGas"];
|
1700
|
+
}) & (Extract<request["parameters"] extends readonly viem__types_account_abstraction.PrepareUserOperationParameterType[] ? request["parameters"][number] : "gas" | "nonce" | "fees" | "factory" | "paymaster" | "signature", "gas"> extends never ? {} : (viem__types_account_abstraction.DeriveEntryPointVersion<viem__types_account_abstraction.DeriveSmartAccount<_cometh_connect_sdk_4337.ComethSafeSmartAccount, accountOverride>> extends infer T_11 ? T_11 extends viem__types_account_abstraction.DeriveEntryPointVersion<viem__types_account_abstraction.DeriveSmartAccount<_cometh_connect_sdk_4337.ComethSafeSmartAccount, accountOverride>> ? T_11 extends "0.7" ? {
|
1701
|
+
callGasLimit: viem__types_account_abstraction.UserOperation["callGasLimit"];
|
1702
|
+
preVerificationGas: viem__types_account_abstraction.UserOperation["preVerificationGas"];
|
1703
|
+
verificationGasLimit: viem__types_account_abstraction.UserOperation["verificationGasLimit"];
|
1704
|
+
paymasterPostOpGasLimit: viem__types_account_abstraction.UserOperation["paymasterPostOpGasLimit"];
|
1705
|
+
paymasterVerificationGasLimit: viem__types_account_abstraction.UserOperation["paymasterVerificationGasLimit"];
|
1706
|
+
} : never : never : never) | (viem__types_account_abstraction.DeriveEntryPointVersion<viem__types_account_abstraction.DeriveSmartAccount<_cometh_connect_sdk_4337.ComethSafeSmartAccount, accountOverride>> extends infer T_12 ? T_12 extends viem__types_account_abstraction.DeriveEntryPointVersion<viem__types_account_abstraction.DeriveSmartAccount<_cometh_connect_sdk_4337.ComethSafeSmartAccount, accountOverride>> ? T_12 extends "0.6" ? {
|
1707
|
+
callGasLimit: viem__types_account_abstraction.UserOperation["callGasLimit"];
|
1708
|
+
preVerificationGas: viem__types_account_abstraction.UserOperation["preVerificationGas"];
|
1709
|
+
verificationGasLimit: viem__types_account_abstraction.UserOperation["verificationGasLimit"];
|
1710
|
+
} : never : never : never)) & (Extract<request["parameters"] extends readonly viem__types_account_abstraction.PrepareUserOperationParameterType[] ? request["parameters"][number] : "gas" | "nonce" | "fees" | "factory" | "paymaster" | "signature", "paymaster"> extends never ? {} : (viem__types_account_abstraction.DeriveEntryPointVersion<viem__types_account_abstraction.DeriveSmartAccount<_cometh_connect_sdk_4337.ComethSafeSmartAccount, accountOverride>> extends infer T_13 ? T_13 extends viem__types_account_abstraction.DeriveEntryPointVersion<viem__types_account_abstraction.DeriveSmartAccount<_cometh_connect_sdk_4337.ComethSafeSmartAccount, accountOverride>> ? T_13 extends "0.7" ? {
|
1711
|
+
paymaster: viem__types_account_abstraction.UserOperation["paymaster"];
|
1712
|
+
paymasterData: viem__types_account_abstraction.UserOperation["paymasterData"];
|
1713
|
+
paymasterPostOpGasLimit: viem__types_account_abstraction.UserOperation["paymasterPostOpGasLimit"];
|
1714
|
+
paymasterVerificationGasLimit: viem__types_account_abstraction.UserOperation["paymasterVerificationGasLimit"];
|
1715
|
+
} : never : never : never) | (viem__types_account_abstraction.DeriveEntryPointVersion<viem__types_account_abstraction.DeriveSmartAccount<_cometh_connect_sdk_4337.ComethSafeSmartAccount, accountOverride>> extends infer T_14 ? T_14 extends viem__types_account_abstraction.DeriveEntryPointVersion<viem__types_account_abstraction.DeriveSmartAccount<_cometh_connect_sdk_4337.ComethSafeSmartAccount, accountOverride>> ? T_14 extends "0.6" ? {
|
1716
|
+
paymasterAndData: viem__types_account_abstraction.UserOperation["paymasterAndData"];
|
1717
|
+
} : never : never : never)) & (Extract<request["parameters"] extends readonly viem__types_account_abstraction.PrepareUserOperationParameterType[] ? request["parameters"][number] : "gas" | "nonce" | "fees" | "factory" | "paymaster" | "signature", "signature"> extends never ? {} : {
|
1718
|
+
signature: viem__types_account_abstraction.UserOperation["signature"];
|
1719
|
+
}) extends infer T ? { [K in keyof T]: (viem.UnionOmit<request, "parameters" | "calls"> & {
|
1720
|
+
callData: viem.Hex;
|
1721
|
+
paymasterAndData: viem__types_account_abstraction.DeriveEntryPointVersion<viem__types_account_abstraction.DeriveSmartAccount<_cometh_connect_sdk_4337.ComethSafeSmartAccount, accountOverride>> extends infer T_1 ? T_1 extends viem__types_account_abstraction.DeriveEntryPointVersion<viem__types_account_abstraction.DeriveSmartAccount<_cometh_connect_sdk_4337.ComethSafeSmartAccount, accountOverride>> ? T_1 extends "0.6" ? `0x${string}` : undefined : never : never;
|
1722
|
+
sender: viem__types_account_abstraction.UserOperation["sender"];
|
1723
|
+
} & (Extract<request["parameters"] extends readonly viem__types_account_abstraction.PrepareUserOperationParameterType[] ? request["parameters"][number] : "gas" | "nonce" | "fees" | "factory" | "paymaster" | "signature", "factory"> extends never ? {} : (viem__types_account_abstraction.DeriveEntryPointVersion<viem__types_account_abstraction.DeriveSmartAccount<_cometh_connect_sdk_4337.ComethSafeSmartAccount, accountOverride>> extends infer T_2 ? T_2 extends viem__types_account_abstraction.DeriveEntryPointVersion<viem__types_account_abstraction.DeriveSmartAccount<_cometh_connect_sdk_4337.ComethSafeSmartAccount, accountOverride>> ? T_2 extends "0.7" ? {
|
1724
|
+
factory: viem__types_account_abstraction.UserOperation["factory"];
|
1725
|
+
factoryData: viem__types_account_abstraction.UserOperation["factoryData"];
|
1726
|
+
} : never : never : never) | (viem__types_account_abstraction.DeriveEntryPointVersion<viem__types_account_abstraction.DeriveSmartAccount<_cometh_connect_sdk_4337.ComethSafeSmartAccount, accountOverride>> extends infer T_3 ? T_3 extends viem__types_account_abstraction.DeriveEntryPointVersion<viem__types_account_abstraction.DeriveSmartAccount<_cometh_connect_sdk_4337.ComethSafeSmartAccount, accountOverride>> ? T_3 extends "0.6" ? {
|
1727
|
+
initCode: viem__types_account_abstraction.UserOperation["initCode"];
|
1728
|
+
} : never : never : never)) & (Extract<request["parameters"] extends readonly viem__types_account_abstraction.PrepareUserOperationParameterType[] ? request["parameters"][number] : "gas" | "nonce" | "fees" | "factory" | "paymaster" | "signature", "nonce"> extends never ? {} : {
|
1729
|
+
nonce: viem__types_account_abstraction.UserOperation["nonce"];
|
1730
|
+
}) & (Extract<request["parameters"] extends readonly viem__types_account_abstraction.PrepareUserOperationParameterType[] ? request["parameters"][number] : "gas" | "nonce" | "fees" | "factory" | "paymaster" | "signature", "fees"> extends never ? {} : {
|
1731
|
+
maxFeePerGas: viem__types_account_abstraction.UserOperation["maxFeePerGas"];
|
1732
|
+
maxPriorityFeePerGas: viem__types_account_abstraction.UserOperation["maxPriorityFeePerGas"];
|
1733
|
+
}) & (Extract<request["parameters"] extends readonly viem__types_account_abstraction.PrepareUserOperationParameterType[] ? request["parameters"][number] : "gas" | "nonce" | "fees" | "factory" | "paymaster" | "signature", "gas"> extends never ? {} : (viem__types_account_abstraction.DeriveEntryPointVersion<viem__types_account_abstraction.DeriveSmartAccount<_cometh_connect_sdk_4337.ComethSafeSmartAccount, accountOverride>> extends infer T_4 ? T_4 extends viem__types_account_abstraction.DeriveEntryPointVersion<viem__types_account_abstraction.DeriveSmartAccount<_cometh_connect_sdk_4337.ComethSafeSmartAccount, accountOverride>> ? T_4 extends "0.7" ? {
|
1734
|
+
callGasLimit: viem__types_account_abstraction.UserOperation["callGasLimit"];
|
1735
|
+
preVerificationGas: viem__types_account_abstraction.UserOperation["preVerificationGas"];
|
1736
|
+
verificationGasLimit: viem__types_account_abstraction.UserOperation["verificationGasLimit"];
|
1737
|
+
paymasterPostOpGasLimit: viem__types_account_abstraction.UserOperation["paymasterPostOpGasLimit"];
|
1738
|
+
paymasterVerificationGasLimit: viem__types_account_abstraction.UserOperation["paymasterVerificationGasLimit"];
|
1739
|
+
} : never : never : never) | (viem__types_account_abstraction.DeriveEntryPointVersion<viem__types_account_abstraction.DeriveSmartAccount<_cometh_connect_sdk_4337.ComethSafeSmartAccount, accountOverride>> extends infer T_5 ? T_5 extends viem__types_account_abstraction.DeriveEntryPointVersion<viem__types_account_abstraction.DeriveSmartAccount<_cometh_connect_sdk_4337.ComethSafeSmartAccount, accountOverride>> ? T_5 extends "0.6" ? {
|
1740
|
+
callGasLimit: viem__types_account_abstraction.UserOperation["callGasLimit"];
|
1741
|
+
preVerificationGas: viem__types_account_abstraction.UserOperation["preVerificationGas"];
|
1742
|
+
verificationGasLimit: viem__types_account_abstraction.UserOperation["verificationGasLimit"];
|
1743
|
+
} : never : never : never)) & (Extract<request["parameters"] extends readonly viem__types_account_abstraction.PrepareUserOperationParameterType[] ? request["parameters"][number] : "gas" | "nonce" | "fees" | "factory" | "paymaster" | "signature", "paymaster"> extends never ? {} : (viem__types_account_abstraction.DeriveEntryPointVersion<viem__types_account_abstraction.DeriveSmartAccount<_cometh_connect_sdk_4337.ComethSafeSmartAccount, accountOverride>> extends infer T_6 ? T_6 extends viem__types_account_abstraction.DeriveEntryPointVersion<viem__types_account_abstraction.DeriveSmartAccount<_cometh_connect_sdk_4337.ComethSafeSmartAccount, accountOverride>> ? T_6 extends "0.7" ? {
|
1744
|
+
paymaster: viem__types_account_abstraction.UserOperation["paymaster"];
|
1745
|
+
paymasterData: viem__types_account_abstraction.UserOperation["paymasterData"];
|
1746
|
+
paymasterPostOpGasLimit: viem__types_account_abstraction.UserOperation["paymasterPostOpGasLimit"];
|
1747
|
+
paymasterVerificationGasLimit: viem__types_account_abstraction.UserOperation["paymasterVerificationGasLimit"];
|
1748
|
+
} : never : never : never) | (viem__types_account_abstraction.DeriveEntryPointVersion<viem__types_account_abstraction.DeriveSmartAccount<_cometh_connect_sdk_4337.ComethSafeSmartAccount, accountOverride>> extends infer T_7 ? T_7 extends viem__types_account_abstraction.DeriveEntryPointVersion<viem__types_account_abstraction.DeriveSmartAccount<_cometh_connect_sdk_4337.ComethSafeSmartAccount, accountOverride>> ? T_7 extends "0.6" ? {
|
1749
|
+
paymasterAndData: viem__types_account_abstraction.UserOperation["paymasterAndData"];
|
1750
|
+
} : never : never : never)) & (Extract<request["parameters"] extends readonly viem__types_account_abstraction.PrepareUserOperationParameterType[] ? request["parameters"][number] : "gas" | "nonce" | "fees" | "factory" | "paymaster" | "signature", "signature"> extends never ? {} : {
|
1751
|
+
signature: viem__types_account_abstraction.UserOperation["signature"];
|
1752
|
+
}))[K]; } : never>;
|
1753
|
+
sendUserOperation: <const calls extends readonly unknown[], accountOverride extends viem__types_account_abstraction.SmartAccount | undefined = undefined>(parameters: viem__types_account_abstraction.SendUserOperationParameters<_cometh_connect_sdk_4337.ComethSafeSmartAccount, accountOverride, calls>) => Promise<viem__types_account_abstraction.SendUserOperationReturnType>;
|
1754
|
+
waitForUserOperationReceipt: (parameters: viem__types_account_abstraction.WaitForUserOperationReceiptParameters) => Promise<viem__types_account_abstraction.WaitForUserOperationReceiptReturnType>;
|
1755
|
+
sendTransaction: <TChainOverride extends viem.Chain | undefined = undefined, accountOverride extends viem__types_account_abstraction.SmartAccount | undefined = undefined, calls extends readonly unknown[] = readonly unknown[]>(args: viem.SendTransactionParameters<viem.Chain, _cometh_connect_sdk_4337.ComethSafeSmartAccount, TChainOverride> | viem__types_account_abstraction.SendUserOperationParameters<_cometh_connect_sdk_4337.ComethSafeSmartAccount, accountOverride, calls>) => Promise<viem.Hash>;
|
1756
|
+
signMessage: (args: viem.SignMessageParameters<_cometh_connect_sdk_4337.ComethSafeSmartAccount>) => ReturnType<typeof permissionless_actions_smartAccount.signMessage>;
|
1757
|
+
signTypedData: <const TTypedData extends {
|
1758
|
+
[x: string]: readonly TypedDataParameter[];
|
1759
|
+
[x: `string[${string}]`]: undefined;
|
1760
|
+
[x: `function[${string}]`]: undefined;
|
1761
|
+
[x: `address[${string}]`]: undefined;
|
1762
|
+
[x: `bool[${string}]`]: undefined;
|
1763
|
+
[x: `bytes[${string}]`]: undefined;
|
1764
|
+
[x: `bytes1[${string}]`]: undefined;
|
1765
|
+
[x: `bytes2[${string}]`]: undefined;
|
1766
|
+
[x: `bytes3[${string}]`]: undefined;
|
1767
|
+
[x: `bytes4[${string}]`]: undefined;
|
1768
|
+
[x: `bytes5[${string}]`]: undefined;
|
1769
|
+
[x: `bytes6[${string}]`]: undefined;
|
1770
|
+
[x: `bytes7[${string}]`]: undefined;
|
1771
|
+
[x: `bytes8[${string}]`]: undefined;
|
1772
|
+
[x: `bytes9[${string}]`]: undefined;
|
1773
|
+
[x: `bytes10[${string}]`]: undefined;
|
1774
|
+
[x: `bytes11[${string}]`]: undefined;
|
1775
|
+
[x: `bytes12[${string}]`]: undefined;
|
1776
|
+
[x: `bytes13[${string}]`]: undefined;
|
1777
|
+
[x: `bytes14[${string}]`]: undefined;
|
1778
|
+
[x: `bytes15[${string}]`]: undefined;
|
1779
|
+
[x: `bytes16[${string}]`]: undefined;
|
1780
|
+
[x: `bytes17[${string}]`]: undefined;
|
1781
|
+
[x: `bytes18[${string}]`]: undefined;
|
1782
|
+
[x: `bytes19[${string}]`]: undefined;
|
1783
|
+
[x: `bytes20[${string}]`]: undefined;
|
1784
|
+
[x: `bytes21[${string}]`]: undefined;
|
1785
|
+
[x: `bytes22[${string}]`]: undefined;
|
1786
|
+
[x: `bytes23[${string}]`]: undefined;
|
1787
|
+
[x: `bytes24[${string}]`]: undefined;
|
1788
|
+
[x: `bytes25[${string}]`]: undefined;
|
1789
|
+
[x: `bytes26[${string}]`]: undefined;
|
1790
|
+
[x: `bytes27[${string}]`]: undefined;
|
1791
|
+
[x: `bytes28[${string}]`]: undefined;
|
1792
|
+
[x: `bytes29[${string}]`]: undefined;
|
1793
|
+
[x: `bytes30[${string}]`]: undefined;
|
1794
|
+
[x: `bytes31[${string}]`]: undefined;
|
1795
|
+
[x: `bytes32[${string}]`]: undefined;
|
1796
|
+
[x: `int[${string}]`]: undefined;
|
1797
|
+
[x: `int8[${string}]`]: undefined;
|
1798
|
+
[x: `int16[${string}]`]: undefined;
|
1799
|
+
[x: `int24[${string}]`]: undefined;
|
1800
|
+
[x: `int32[${string}]`]: undefined;
|
1801
|
+
[x: `int40[${string}]`]: undefined;
|
1802
|
+
[x: `int48[${string}]`]: undefined;
|
1803
|
+
[x: `int56[${string}]`]: undefined;
|
1804
|
+
[x: `int64[${string}]`]: undefined;
|
1805
|
+
[x: `int72[${string}]`]: undefined;
|
1806
|
+
[x: `int80[${string}]`]: undefined;
|
1807
|
+
[x: `int88[${string}]`]: undefined;
|
1808
|
+
[x: `int96[${string}]`]: undefined;
|
1809
|
+
[x: `int104[${string}]`]: undefined;
|
1810
|
+
[x: `int112[${string}]`]: undefined;
|
1811
|
+
[x: `int120[${string}]`]: undefined;
|
1812
|
+
[x: `int128[${string}]`]: undefined;
|
1813
|
+
[x: `int136[${string}]`]: undefined;
|
1814
|
+
[x: `int144[${string}]`]: undefined;
|
1815
|
+
[x: `int152[${string}]`]: undefined;
|
1816
|
+
[x: `int160[${string}]`]: undefined;
|
1817
|
+
[x: `int168[${string}]`]: undefined;
|
1818
|
+
[x: `int176[${string}]`]: undefined;
|
1819
|
+
[x: `int184[${string}]`]: undefined;
|
1820
|
+
[x: `int192[${string}]`]: undefined;
|
1821
|
+
[x: `int200[${string}]`]: undefined;
|
1822
|
+
[x: `int208[${string}]`]: undefined;
|
1823
|
+
[x: `int216[${string}]`]: undefined;
|
1824
|
+
[x: `int224[${string}]`]: undefined;
|
1825
|
+
[x: `int232[${string}]`]: undefined;
|
1826
|
+
[x: `int240[${string}]`]: undefined;
|
1827
|
+
[x: `int248[${string}]`]: undefined;
|
1828
|
+
[x: `int256[${string}]`]: undefined;
|
1829
|
+
[x: `uint[${string}]`]: undefined;
|
1830
|
+
[x: `uint8[${string}]`]: undefined;
|
1831
|
+
[x: `uint16[${string}]`]: undefined;
|
1832
|
+
[x: `uint24[${string}]`]: undefined;
|
1833
|
+
[x: `uint32[${string}]`]: undefined;
|
1834
|
+
[x: `uint40[${string}]`]: undefined;
|
1835
|
+
[x: `uint48[${string}]`]: undefined;
|
1836
|
+
[x: `uint56[${string}]`]: undefined;
|
1837
|
+
[x: `uint64[${string}]`]: undefined;
|
1838
|
+
[x: `uint72[${string}]`]: undefined;
|
1839
|
+
[x: `uint80[${string}]`]: undefined;
|
1840
|
+
[x: `uint88[${string}]`]: undefined;
|
1841
|
+
[x: `uint96[${string}]`]: undefined;
|
1842
|
+
[x: `uint104[${string}]`]: undefined;
|
1843
|
+
[x: `uint112[${string}]`]: undefined;
|
1844
|
+
[x: `uint120[${string}]`]: undefined;
|
1845
|
+
[x: `uint128[${string}]`]: undefined;
|
1846
|
+
[x: `uint136[${string}]`]: undefined;
|
1847
|
+
[x: `uint144[${string}]`]: undefined;
|
1848
|
+
[x: `uint152[${string}]`]: undefined;
|
1849
|
+
[x: `uint160[${string}]`]: undefined;
|
1850
|
+
[x: `uint168[${string}]`]: undefined;
|
1851
|
+
[x: `uint176[${string}]`]: undefined;
|
1852
|
+
[x: `uint184[${string}]`]: undefined;
|
1853
|
+
[x: `uint192[${string}]`]: undefined;
|
1854
|
+
[x: `uint200[${string}]`]: undefined;
|
1855
|
+
[x: `uint208[${string}]`]: undefined;
|
1856
|
+
[x: `uint216[${string}]`]: undefined;
|
1857
|
+
[x: `uint224[${string}]`]: undefined;
|
1858
|
+
[x: `uint232[${string}]`]: undefined;
|
1859
|
+
[x: `uint240[${string}]`]: undefined;
|
1860
|
+
[x: `uint248[${string}]`]: undefined;
|
1861
|
+
[x: `uint256[${string}]`]: undefined;
|
1862
|
+
string?: undefined;
|
1863
|
+
address?: undefined;
|
1864
|
+
bool?: undefined;
|
1865
|
+
bytes?: undefined;
|
1866
|
+
bytes1?: undefined;
|
1867
|
+
bytes2?: undefined;
|
1868
|
+
bytes3?: undefined;
|
1869
|
+
bytes4?: undefined;
|
1870
|
+
bytes5?: undefined;
|
1871
|
+
bytes6?: undefined;
|
1872
|
+
bytes7?: undefined;
|
1873
|
+
bytes8?: undefined;
|
1874
|
+
bytes9?: undefined;
|
1875
|
+
bytes10?: undefined;
|
1876
|
+
bytes11?: undefined;
|
1877
|
+
bytes12?: undefined;
|
1878
|
+
bytes13?: undefined;
|
1879
|
+
bytes14?: undefined;
|
1880
|
+
bytes15?: undefined;
|
1881
|
+
bytes16?: undefined;
|
1882
|
+
bytes17?: undefined;
|
1883
|
+
bytes18?: undefined;
|
1884
|
+
bytes19?: undefined;
|
1885
|
+
bytes20?: undefined;
|
1886
|
+
bytes21?: undefined;
|
1887
|
+
bytes22?: undefined;
|
1888
|
+
bytes23?: undefined;
|
1889
|
+
bytes24?: undefined;
|
1890
|
+
bytes25?: undefined;
|
1891
|
+
bytes26?: undefined;
|
1892
|
+
bytes27?: undefined;
|
1893
|
+
bytes28?: undefined;
|
1894
|
+
bytes29?: undefined;
|
1895
|
+
bytes30?: undefined;
|
1896
|
+
bytes31?: undefined;
|
1897
|
+
bytes32?: undefined;
|
1898
|
+
int8?: undefined;
|
1899
|
+
int16?: undefined;
|
1900
|
+
int24?: undefined;
|
1901
|
+
int32?: undefined;
|
1902
|
+
int40?: undefined;
|
1903
|
+
int48?: undefined;
|
1904
|
+
int56?: undefined;
|
1905
|
+
int64?: undefined;
|
1906
|
+
int72?: undefined;
|
1907
|
+
int80?: undefined;
|
1908
|
+
int88?: undefined;
|
1909
|
+
int96?: undefined;
|
1910
|
+
int104?: undefined;
|
1911
|
+
int112?: undefined;
|
1912
|
+
int120?: undefined;
|
1913
|
+
int128?: undefined;
|
1914
|
+
int136?: undefined;
|
1915
|
+
int144?: undefined;
|
1916
|
+
int152?: undefined;
|
1917
|
+
int160?: undefined;
|
1918
|
+
int168?: undefined;
|
1919
|
+
int176?: undefined;
|
1920
|
+
int184?: undefined;
|
1921
|
+
int192?: undefined;
|
1922
|
+
int200?: undefined;
|
1923
|
+
int208?: undefined;
|
1924
|
+
int216?: undefined;
|
1925
|
+
int224?: undefined;
|
1926
|
+
int232?: undefined;
|
1927
|
+
int240?: undefined;
|
1928
|
+
int248?: undefined;
|
1929
|
+
int256?: undefined;
|
1930
|
+
uint8?: undefined;
|
1931
|
+
uint16?: undefined;
|
1932
|
+
uint24?: undefined;
|
1933
|
+
uint32?: undefined;
|
1934
|
+
uint40?: undefined;
|
1935
|
+
uint48?: undefined;
|
1936
|
+
uint56?: undefined;
|
1937
|
+
uint64?: undefined;
|
1938
|
+
uint72?: undefined;
|
1939
|
+
uint80?: undefined;
|
1940
|
+
uint88?: undefined;
|
1941
|
+
uint96?: undefined;
|
1942
|
+
uint104?: undefined;
|
1943
|
+
uint112?: undefined;
|
1944
|
+
uint120?: undefined;
|
1945
|
+
uint128?: undefined;
|
1946
|
+
uint136?: undefined;
|
1947
|
+
uint144?: undefined;
|
1948
|
+
uint152?: undefined;
|
1949
|
+
uint160?: undefined;
|
1950
|
+
uint168?: undefined;
|
1951
|
+
uint176?: undefined;
|
1952
|
+
uint184?: undefined;
|
1953
|
+
uint192?: undefined;
|
1954
|
+
uint200?: undefined;
|
1955
|
+
uint208?: undefined;
|
1956
|
+
uint216?: undefined;
|
1957
|
+
uint224?: undefined;
|
1958
|
+
uint232?: undefined;
|
1959
|
+
uint240?: undefined;
|
1960
|
+
uint248?: undefined;
|
1961
|
+
uint256?: undefined;
|
1962
|
+
} | {
|
1963
|
+
[key: string]: unknown;
|
1964
|
+
}, TPrimaryType extends string>(args: viem.SignTypedDataParameters<TTypedData, TPrimaryType, _cometh_connect_sdk_4337.ComethSafeSmartAccount>) => ReturnType<typeof permissionless_actions_smartAccount.signTypedData>;
|
1965
|
+
writeContract: <const TAbi extends Abi$1 | readonly unknown[], TFunctionName extends viem.ContractFunctionName<TAbi, "nonpayable" | "payable"> = viem.ContractFunctionName<TAbi, "nonpayable" | "payable">, TArgs extends viem.ContractFunctionArgs<TAbi, "nonpayable" | "payable", TFunctionName> = viem.ContractFunctionArgs<TAbi, "nonpayable" | "payable", TFunctionName>, TChainOverride extends viem.Chain | undefined = undefined>(args: viem.WriteContractParameters<TAbi, TFunctionName, TArgs, viem.Chain, _cometh_connect_sdk_4337.ComethSafeSmartAccount, TChainOverride>) => ReturnType<(client: viem.Client<viem.Transport, viem.Chain, _cometh_connect_sdk_4337.ComethSafeSmartAccount>, { abi, address, args, dataSuffix, functionName, ...request }: viem.WriteContractParameters<TAbi, TFunctionName, TArgs, viem.Chain, _cometh_connect_sdk_4337.ComethSafeSmartAccount, TChainOverride>) => Promise<viem.Hash>>;
|
1966
|
+
validateAddDevice: <TTransport extends viem.Transport>(args: {
|
1967
|
+
signer: _cometh_connect_sdk_4337.Signer;
|
1968
|
+
}) => Promise<viem.Hash>;
|
1969
|
+
setUpRecoveryModule: () => Promise<viem.Hash>;
|
1970
|
+
cancelRecoveryRequest: <TTransport extends viem.Transport>(args: {
|
1971
|
+
effectiveDelayAddress?: Address$1 | undefined;
|
1972
|
+
}) => Promise<viem.Hash>;
|
1973
|
+
isRecoveryActive: <TTransport extends viem.Transport>(args: {
|
1974
|
+
effectiveDelayAddress?: Address$1 | undefined;
|
1975
|
+
} | undefined) => Promise<_cometh_connect_sdk_4337.IsRecoveryActiveReturnType>;
|
1976
|
+
getRecoveryRequest: <TTransport extends viem.Transport>(args: {
|
1977
|
+
effectiveDelayAddress?: Address$1 | undefined;
|
1978
|
+
} | undefined) => Promise<_cometh_connect_sdk_4337.RecoveryParamsResponse | undefined>;
|
1979
|
+
verifySignature: <TTransport extends viem.Transport>(args: {
|
1980
|
+
message: string;
|
1981
|
+
signature: viem.Hex;
|
1982
|
+
}) => Promise<boolean>;
|
1983
|
+
getDelayModuleAddress: <TTransport extends viem.Transport>(args: {
|
1984
|
+
expiration: number;
|
1985
|
+
cooldown: number;
|
1986
|
+
}) => Promise<Address$1>;
|
1987
|
+
getGuardianAddress: <TTransport extends viem.Transport>(args: {
|
1988
|
+
delayModuleAddress: Address$1;
|
1989
|
+
}) => Promise<Address$1>;
|
1990
|
+
addGuardian: <TTransport extends viem.Transport>(args: {
|
1991
|
+
delayModuleAddress: Address$1;
|
1992
|
+
guardianAddress: Address$1;
|
1993
|
+
}) => Promise<viem.Hex>;
|
1994
|
+
disableGuardian: <TTransport extends viem.Transport>(args: {
|
1995
|
+
guardianAddress: Address$1;
|
1996
|
+
expiration?: number | undefined;
|
1997
|
+
cooldown?: number | undefined;
|
1998
|
+
}) => Promise<viem.Hex>;
|
1999
|
+
setupCustomDelayModule: <TTransport extends viem.Transport>(args: {
|
2000
|
+
guardianAddress: Address$1;
|
2001
|
+
expiration?: number | undefined;
|
2002
|
+
cooldown?: number | undefined;
|
2003
|
+
}) => Promise<viem.Hex>;
|
2004
|
+
setFallbackTo7579: () => Promise<viem.Hex>;
|
2005
|
+
is7579Installed: () => Promise<boolean>;
|
2006
|
+
addOwner: (args: {
|
2007
|
+
ownerToAdd: Address$1;
|
2008
|
+
}) => Promise<viem.Hash>;
|
2009
|
+
removeOwner: (args: {
|
2010
|
+
ownerToRemove: Address$1;
|
2011
|
+
}) => Promise<viem.Hash>;
|
2012
|
+
getOwners: () => Promise<readonly Address$1[]>;
|
2013
|
+
getEnrichedOwners: () => Promise<_cometh_connect_sdk_4337.EnrichedOwner[]>;
|
2014
|
+
extend: <const client extends {
|
2015
|
+
[x: string]: unknown;
|
2016
|
+
account?: undefined;
|
2017
|
+
batch?: undefined;
|
2018
|
+
cacheTime?: undefined;
|
2019
|
+
ccipRead?: undefined;
|
2020
|
+
chain?: undefined;
|
2021
|
+
key?: undefined;
|
2022
|
+
name?: undefined;
|
2023
|
+
pollingInterval?: undefined;
|
2024
|
+
request?: undefined;
|
2025
|
+
transport?: undefined;
|
2026
|
+
type?: undefined;
|
2027
|
+
uid?: undefined;
|
2028
|
+
} & viem.ExactPartial<Pick<viem.PublicActions<viem.Transport, viem.Chain, _cometh_connect_sdk_4337.ComethSafeSmartAccount>, "call" | "createContractEventFilter" | "createEventFilter" | "estimateContractGas" | "estimateGas" | "getBlock" | "getBlockNumber" | "getChainId" | "getContractEvents" | "getEnsText" | "getFilterChanges" | "getGasPrice" | "getLogs" | "getTransaction" | "getTransactionCount" | "getTransactionReceipt" | "prepareTransactionRequest" | "readContract" | "sendRawTransaction" | "simulateContract" | "uninstallFilter" | "watchBlockNumber" | "watchContractEvent"> & Pick<viem.WalletActions<viem.Chain, _cometh_connect_sdk_4337.ComethSafeSmartAccount>, "sendTransaction" | "writeContract">>>(fn: (client: viem.Client<viem.Transport, viem.Chain, _cometh_connect_sdk_4337.ComethSafeSmartAccount, viem.BundlerRpcSchema, viem__types_account_abstraction.BundlerActions<_cometh_connect_sdk_4337.ComethSafeSmartAccount> & {
|
2029
|
+
sendTransaction: <TChainOverride extends viem.Chain | undefined = undefined, accountOverride extends viem__types_account_abstraction.SmartAccount | undefined = undefined, calls extends readonly unknown[] = readonly unknown[]>(args: viem.SendTransactionParameters<viem.Chain, _cometh_connect_sdk_4337.ComethSafeSmartAccount, TChainOverride> | viem__types_account_abstraction.SendUserOperationParameters<_cometh_connect_sdk_4337.ComethSafeSmartAccount, accountOverride, calls>) => Promise<viem.Hash>;
|
2030
|
+
signMessage: (args: viem.SignMessageParameters<_cometh_connect_sdk_4337.ComethSafeSmartAccount>) => ReturnType<typeof permissionless_actions_smartAccount.signMessage>;
|
2031
|
+
signTypedData: <const TTypedData extends {
|
2032
|
+
[x: string]: readonly TypedDataParameter[];
|
2033
|
+
[x: `string[${string}]`]: undefined;
|
2034
|
+
[x: `function[${string}]`]: undefined;
|
2035
|
+
[x: `address[${string}]`]: undefined;
|
2036
|
+
[x: `bool[${string}]`]: undefined;
|
2037
|
+
[x: `bytes[${string}]`]: undefined;
|
2038
|
+
[x: `bytes1[${string}]`]: undefined;
|
2039
|
+
[x: `bytes2[${string}]`]: undefined;
|
2040
|
+
[x: `bytes3[${string}]`]: undefined;
|
2041
|
+
[x: `bytes4[${string}]`]: undefined;
|
2042
|
+
[x: `bytes5[${string}]`]: undefined;
|
2043
|
+
[x: `bytes6[${string}]`]: undefined;
|
2044
|
+
[x: `bytes7[${string}]`]: undefined;
|
2045
|
+
[x: `bytes8[${string}]`]: undefined;
|
2046
|
+
[x: `bytes9[${string}]`]: undefined;
|
2047
|
+
[x: `bytes10[${string}]`]: undefined;
|
2048
|
+
[x: `bytes11[${string}]`]: undefined;
|
2049
|
+
[x: `bytes12[${string}]`]: undefined;
|
2050
|
+
[x: `bytes13[${string}]`]: undefined;
|
2051
|
+
[x: `bytes14[${string}]`]: undefined;
|
2052
|
+
[x: `bytes15[${string}]`]: undefined;
|
2053
|
+
[x: `bytes16[${string}]`]: undefined;
|
2054
|
+
[x: `bytes17[${string}]`]: undefined;
|
2055
|
+
[x: `bytes18[${string}]`]: undefined;
|
2056
|
+
[x: `bytes19[${string}]`]: undefined;
|
2057
|
+
[x: `bytes20[${string}]`]: undefined;
|
2058
|
+
[x: `bytes21[${string}]`]: undefined;
|
2059
|
+
[x: `bytes22[${string}]`]: undefined;
|
2060
|
+
[x: `bytes23[${string}]`]: undefined;
|
2061
|
+
[x: `bytes24[${string}]`]: undefined;
|
2062
|
+
[x: `bytes25[${string}]`]: undefined;
|
2063
|
+
[x: `bytes26[${string}]`]: undefined;
|
2064
|
+
[x: `bytes27[${string}]`]: undefined;
|
2065
|
+
[x: `bytes28[${string}]`]: undefined;
|
2066
|
+
[x: `bytes29[${string}]`]: undefined;
|
2067
|
+
[x: `bytes30[${string}]`]: undefined;
|
2068
|
+
[x: `bytes31[${string}]`]: undefined;
|
2069
|
+
[x: `bytes32[${string}]`]: undefined;
|
2070
|
+
[x: `int[${string}]`]: undefined;
|
2071
|
+
[x: `int8[${string}]`]: undefined;
|
2072
|
+
[x: `int16[${string}]`]: undefined;
|
2073
|
+
[x: `int24[${string}]`]: undefined;
|
2074
|
+
[x: `int32[${string}]`]: undefined;
|
2075
|
+
[x: `int40[${string}]`]: undefined;
|
2076
|
+
[x: `int48[${string}]`]: undefined;
|
2077
|
+
[x: `int56[${string}]`]: undefined;
|
2078
|
+
[x: `int64[${string}]`]: undefined;
|
2079
|
+
[x: `int72[${string}]`]: undefined;
|
2080
|
+
[x: `int80[${string}]`]: undefined;
|
2081
|
+
[x: `int88[${string}]`]: undefined;
|
2082
|
+
[x: `int96[${string}]`]: undefined;
|
2083
|
+
[x: `int104[${string}]`]: undefined;
|
2084
|
+
[x: `int112[${string}]`]: undefined;
|
2085
|
+
[x: `int120[${string}]`]: undefined;
|
2086
|
+
[x: `int128[${string}]`]: undefined;
|
2087
|
+
[x: `int136[${string}]`]: undefined;
|
2088
|
+
[x: `int144[${string}]`]: undefined;
|
2089
|
+
[x: `int152[${string}]`]: undefined;
|
2090
|
+
[x: `int160[${string}]`]: undefined;
|
2091
|
+
[x: `int168[${string}]`]: undefined;
|
2092
|
+
[x: `int176[${string}]`]: undefined;
|
2093
|
+
[x: `int184[${string}]`]: undefined;
|
2094
|
+
[x: `int192[${string}]`]: undefined;
|
2095
|
+
[x: `int200[${string}]`]: undefined;
|
2096
|
+
[x: `int208[${string}]`]: undefined;
|
2097
|
+
[x: `int216[${string}]`]: undefined;
|
2098
|
+
[x: `int224[${string}]`]: undefined;
|
2099
|
+
[x: `int232[${string}]`]: undefined;
|
2100
|
+
[x: `int240[${string}]`]: undefined;
|
2101
|
+
[x: `int248[${string}]`]: undefined;
|
2102
|
+
[x: `int256[${string}]`]: undefined;
|
2103
|
+
[x: `uint[${string}]`]: undefined;
|
2104
|
+
[x: `uint8[${string}]`]: undefined;
|
2105
|
+
[x: `uint16[${string}]`]: undefined;
|
2106
|
+
[x: `uint24[${string}]`]: undefined;
|
2107
|
+
[x: `uint32[${string}]`]: undefined;
|
2108
|
+
[x: `uint40[${string}]`]: undefined;
|
2109
|
+
[x: `uint48[${string}]`]: undefined;
|
2110
|
+
[x: `uint56[${string}]`]: undefined;
|
2111
|
+
[x: `uint64[${string}]`]: undefined;
|
2112
|
+
[x: `uint72[${string}]`]: undefined;
|
2113
|
+
[x: `uint80[${string}]`]: undefined;
|
2114
|
+
[x: `uint88[${string}]`]: undefined;
|
2115
|
+
[x: `uint96[${string}]`]: undefined;
|
2116
|
+
[x: `uint104[${string}]`]: undefined;
|
2117
|
+
[x: `uint112[${string}]`]: undefined;
|
2118
|
+
[x: `uint120[${string}]`]: undefined;
|
2119
|
+
[x: `uint128[${string}]`]: undefined;
|
2120
|
+
[x: `uint136[${string}]`]: undefined;
|
2121
|
+
[x: `uint144[${string}]`]: undefined;
|
2122
|
+
[x: `uint152[${string}]`]: undefined;
|
2123
|
+
[x: `uint160[${string}]`]: undefined;
|
2124
|
+
[x: `uint168[${string}]`]: undefined;
|
2125
|
+
[x: `uint176[${string}]`]: undefined;
|
2126
|
+
[x: `uint184[${string}]`]: undefined;
|
2127
|
+
[x: `uint192[${string}]`]: undefined;
|
2128
|
+
[x: `uint200[${string}]`]: undefined;
|
2129
|
+
[x: `uint208[${string}]`]: undefined;
|
2130
|
+
[x: `uint216[${string}]`]: undefined;
|
2131
|
+
[x: `uint224[${string}]`]: undefined;
|
2132
|
+
[x: `uint232[${string}]`]: undefined;
|
2133
|
+
[x: `uint240[${string}]`]: undefined;
|
2134
|
+
[x: `uint248[${string}]`]: undefined;
|
2135
|
+
[x: `uint256[${string}]`]: undefined;
|
2136
|
+
string?: undefined;
|
2137
|
+
address?: undefined;
|
2138
|
+
bool?: undefined;
|
2139
|
+
bytes?: undefined;
|
2140
|
+
bytes1?: undefined;
|
2141
|
+
bytes2?: undefined;
|
2142
|
+
bytes3?: undefined;
|
2143
|
+
bytes4?: undefined;
|
2144
|
+
bytes5?: undefined;
|
2145
|
+
bytes6?: undefined;
|
2146
|
+
bytes7?: undefined;
|
2147
|
+
bytes8?: undefined;
|
2148
|
+
bytes9?: undefined;
|
2149
|
+
bytes10?: undefined;
|
2150
|
+
bytes11?: undefined;
|
2151
|
+
bytes12?: undefined;
|
2152
|
+
bytes13?: undefined;
|
2153
|
+
bytes14?: undefined;
|
2154
|
+
bytes15?: undefined;
|
2155
|
+
bytes16?: undefined;
|
2156
|
+
bytes17?: undefined;
|
2157
|
+
bytes18?: undefined;
|
2158
|
+
bytes19?: undefined;
|
2159
|
+
bytes20?: undefined;
|
2160
|
+
bytes21?: undefined;
|
2161
|
+
bytes22?: undefined;
|
2162
|
+
bytes23?: undefined;
|
2163
|
+
bytes24?: undefined;
|
2164
|
+
bytes25?: undefined;
|
2165
|
+
bytes26?: undefined;
|
2166
|
+
bytes27?: undefined;
|
2167
|
+
bytes28?: undefined;
|
2168
|
+
bytes29?: undefined;
|
2169
|
+
bytes30?: undefined;
|
2170
|
+
bytes31?: undefined;
|
2171
|
+
bytes32?: undefined;
|
2172
|
+
int8?: undefined;
|
2173
|
+
int16?: undefined;
|
2174
|
+
int24?: undefined;
|
2175
|
+
int32?: undefined;
|
2176
|
+
int40?: undefined;
|
2177
|
+
int48?: undefined;
|
2178
|
+
int56?: undefined;
|
2179
|
+
int64?: undefined;
|
2180
|
+
int72?: undefined;
|
2181
|
+
int80?: undefined;
|
2182
|
+
int88?: undefined;
|
2183
|
+
int96?: undefined;
|
2184
|
+
int104?: undefined;
|
2185
|
+
int112?: undefined;
|
2186
|
+
int120?: undefined;
|
2187
|
+
int128?: undefined;
|
2188
|
+
int136?: undefined;
|
2189
|
+
int144?: undefined;
|
2190
|
+
int152?: undefined;
|
2191
|
+
int160?: undefined;
|
2192
|
+
int168?: undefined;
|
2193
|
+
int176?: undefined;
|
2194
|
+
int184?: undefined;
|
2195
|
+
int192?: undefined;
|
2196
|
+
int200?: undefined;
|
2197
|
+
int208?: undefined;
|
2198
|
+
int216?: undefined;
|
2199
|
+
int224?: undefined;
|
2200
|
+
int232?: undefined;
|
2201
|
+
int240?: undefined;
|
2202
|
+
int248?: undefined;
|
2203
|
+
int256?: undefined;
|
2204
|
+
uint8?: undefined;
|
2205
|
+
uint16?: undefined;
|
2206
|
+
uint24?: undefined;
|
2207
|
+
uint32?: undefined;
|
2208
|
+
uint40?: undefined;
|
2209
|
+
uint48?: undefined;
|
2210
|
+
uint56?: undefined;
|
2211
|
+
uint64?: undefined;
|
2212
|
+
uint72?: undefined;
|
2213
|
+
uint80?: undefined;
|
2214
|
+
uint88?: undefined;
|
2215
|
+
uint96?: undefined;
|
2216
|
+
uint104?: undefined;
|
2217
|
+
uint112?: undefined;
|
2218
|
+
uint120?: undefined;
|
2219
|
+
uint128?: undefined;
|
2220
|
+
uint136?: undefined;
|
2221
|
+
uint144?: undefined;
|
2222
|
+
uint152?: undefined;
|
2223
|
+
uint160?: undefined;
|
2224
|
+
uint168?: undefined;
|
2225
|
+
uint176?: undefined;
|
2226
|
+
uint184?: undefined;
|
2227
|
+
uint192?: undefined;
|
2228
|
+
uint200?: undefined;
|
2229
|
+
uint208?: undefined;
|
2230
|
+
uint216?: undefined;
|
2231
|
+
uint224?: undefined;
|
2232
|
+
uint232?: undefined;
|
2233
|
+
uint240?: undefined;
|
2234
|
+
uint248?: undefined;
|
2235
|
+
uint256?: undefined;
|
2236
|
+
} | {
|
2237
|
+
[key: string]: unknown;
|
2238
|
+
}, TPrimaryType extends string>(args: viem.SignTypedDataParameters<TTypedData, TPrimaryType, _cometh_connect_sdk_4337.ComethSafeSmartAccount>) => ReturnType<typeof permissionless_actions_smartAccount.signTypedData>;
|
2239
|
+
writeContract: <const TAbi extends Abi$1 | readonly unknown[], TFunctionName extends viem.ContractFunctionName<TAbi, "nonpayable" | "payable"> = viem.ContractFunctionName<TAbi, "nonpayable" | "payable">, TArgs extends viem.ContractFunctionArgs<TAbi, "nonpayable" | "payable", TFunctionName> = viem.ContractFunctionArgs<TAbi, "nonpayable" | "payable", TFunctionName>, TChainOverride extends viem.Chain | undefined = undefined>(args: viem.WriteContractParameters<TAbi, TFunctionName, TArgs, viem.Chain, _cometh_connect_sdk_4337.ComethSafeSmartAccount, TChainOverride>) => ReturnType<(client: viem.Client<viem.Transport, viem.Chain, _cometh_connect_sdk_4337.ComethSafeSmartAccount>, { abi, address, args, dataSuffix, functionName, ...request }: viem.WriteContractParameters<TAbi, TFunctionName, TArgs, viem.Chain, _cometh_connect_sdk_4337.ComethSafeSmartAccount, TChainOverride>) => Promise<viem.Hash>>;
|
2240
|
+
} & {
|
2241
|
+
validateAddDevice: <TTransport extends viem.Transport>(args: {
|
2242
|
+
signer: _cometh_connect_sdk_4337.Signer;
|
2243
|
+
}) => Promise<viem.Hash>;
|
2244
|
+
setUpRecoveryModule: () => Promise<viem.Hash>;
|
2245
|
+
cancelRecoveryRequest: <TTransport extends viem.Transport>(args: {
|
2246
|
+
effectiveDelayAddress?: Address$1 | undefined;
|
2247
|
+
}) => Promise<viem.Hash>;
|
2248
|
+
isRecoveryActive: <TTransport extends viem.Transport>(args: {
|
2249
|
+
effectiveDelayAddress?: Address$1 | undefined;
|
2250
|
+
} | undefined) => Promise<_cometh_connect_sdk_4337.IsRecoveryActiveReturnType>;
|
2251
|
+
getRecoveryRequest: <TTransport extends viem.Transport>(args: {
|
2252
|
+
effectiveDelayAddress?: Address$1 | undefined;
|
2253
|
+
} | undefined) => Promise<_cometh_connect_sdk_4337.RecoveryParamsResponse | undefined>;
|
2254
|
+
verifySignature: <TTransport extends viem.Transport>(args: {
|
2255
|
+
message: string;
|
2256
|
+
signature: viem.Hex;
|
2257
|
+
}) => Promise<boolean>;
|
2258
|
+
getDelayModuleAddress: <TTransport extends viem.Transport>(args: {
|
2259
|
+
expiration: number;
|
2260
|
+
cooldown: number;
|
2261
|
+
}) => Promise<Address$1>;
|
2262
|
+
getGuardianAddress: <TTransport extends viem.Transport>(args: {
|
2263
|
+
delayModuleAddress: Address$1;
|
2264
|
+
}) => Promise<Address$1>;
|
2265
|
+
addGuardian: <TTransport extends viem.Transport>(args: {
|
2266
|
+
delayModuleAddress: Address$1;
|
2267
|
+
guardianAddress: Address$1;
|
2268
|
+
}) => Promise<viem.Hex>;
|
2269
|
+
disableGuardian: <TTransport extends viem.Transport>(args: {
|
2270
|
+
guardianAddress: Address$1;
|
2271
|
+
expiration?: number | undefined;
|
2272
|
+
cooldown?: number | undefined;
|
2273
|
+
}) => Promise<viem.Hex>;
|
2274
|
+
setupCustomDelayModule: <TTransport extends viem.Transport>(args: {
|
2275
|
+
guardianAddress: Address$1;
|
2276
|
+
expiration?: number | undefined;
|
2277
|
+
cooldown?: number | undefined;
|
2278
|
+
}) => Promise<viem.Hex>;
|
2279
|
+
setFallbackTo7579: () => Promise<viem.Hex>;
|
2280
|
+
is7579Installed: () => Promise<boolean>;
|
2281
|
+
} & {
|
2282
|
+
addOwner: (args: {
|
2283
|
+
ownerToAdd: Address$1;
|
2284
|
+
}) => Promise<viem.Hash>;
|
2285
|
+
removeOwner: (args: {
|
2286
|
+
ownerToRemove: Address$1;
|
2287
|
+
}) => Promise<viem.Hash>;
|
2288
|
+
getOwners: () => Promise<readonly Address$1[]>;
|
2289
|
+
getEnrichedOwners: () => Promise<_cometh_connect_sdk_4337.EnrichedOwner[]>;
|
2290
|
+
}>) => client) => viem.Client<viem.Transport, viem.Chain, _cometh_connect_sdk_4337.ComethSafeSmartAccount, viem.BundlerRpcSchema, { [K in keyof client]: client[K]; } & viem__types_account_abstraction.BundlerActions<_cometh_connect_sdk_4337.ComethSafeSmartAccount> & {
|
2291
|
+
sendTransaction: <TChainOverride_1 extends viem.Chain | undefined = undefined, accountOverride extends viem__types_account_abstraction.SmartAccount | undefined = undefined, calls extends readonly unknown[] = readonly unknown[]>(args: viem.SendTransactionParameters<viem.Chain, _cometh_connect_sdk_4337.ComethSafeSmartAccount, TChainOverride_1> | viem__types_account_abstraction.SendUserOperationParameters<_cometh_connect_sdk_4337.ComethSafeSmartAccount, accountOverride, calls>) => Promise<viem.Hash>;
|
2292
|
+
signMessage: (args: viem.SignMessageParameters<_cometh_connect_sdk_4337.ComethSafeSmartAccount>) => ReturnType<typeof permissionless_actions_smartAccount.signMessage>;
|
2293
|
+
signTypedData: <const TTypedData extends {
|
2294
|
+
[x: string]: readonly TypedDataParameter[];
|
2295
|
+
[x: `string[${string}]`]: undefined;
|
2296
|
+
[x: `function[${string}]`]: undefined;
|
2297
|
+
[x: `address[${string}]`]: undefined;
|
2298
|
+
[x: `bool[${string}]`]: undefined;
|
2299
|
+
[x: `bytes[${string}]`]: undefined;
|
2300
|
+
[x: `bytes1[${string}]`]: undefined;
|
2301
|
+
[x: `bytes2[${string}]`]: undefined;
|
2302
|
+
[x: `bytes3[${string}]`]: undefined;
|
2303
|
+
[x: `bytes4[${string}]`]: undefined;
|
2304
|
+
[x: `bytes5[${string}]`]: undefined;
|
2305
|
+
[x: `bytes6[${string}]`]: undefined;
|
2306
|
+
[x: `bytes7[${string}]`]: undefined;
|
2307
|
+
[x: `bytes8[${string}]`]: undefined;
|
2308
|
+
[x: `bytes9[${string}]`]: undefined;
|
2309
|
+
[x: `bytes10[${string}]`]: undefined;
|
2310
|
+
[x: `bytes11[${string}]`]: undefined;
|
2311
|
+
[x: `bytes12[${string}]`]: undefined;
|
2312
|
+
[x: `bytes13[${string}]`]: undefined;
|
2313
|
+
[x: `bytes14[${string}]`]: undefined;
|
2314
|
+
[x: `bytes15[${string}]`]: undefined;
|
2315
|
+
[x: `bytes16[${string}]`]: undefined;
|
2316
|
+
[x: `bytes17[${string}]`]: undefined;
|
2317
|
+
[x: `bytes18[${string}]`]: undefined;
|
2318
|
+
[x: `bytes19[${string}]`]: undefined;
|
2319
|
+
[x: `bytes20[${string}]`]: undefined;
|
2320
|
+
[x: `bytes21[${string}]`]: undefined;
|
2321
|
+
[x: `bytes22[${string}]`]: undefined;
|
2322
|
+
[x: `bytes23[${string}]`]: undefined;
|
2323
|
+
[x: `bytes24[${string}]`]: undefined;
|
2324
|
+
[x: `bytes25[${string}]`]: undefined;
|
2325
|
+
[x: `bytes26[${string}]`]: undefined;
|
2326
|
+
[x: `bytes27[${string}]`]: undefined;
|
2327
|
+
[x: `bytes28[${string}]`]: undefined;
|
2328
|
+
[x: `bytes29[${string}]`]: undefined;
|
2329
|
+
[x: `bytes30[${string}]`]: undefined;
|
2330
|
+
[x: `bytes31[${string}]`]: undefined;
|
2331
|
+
[x: `bytes32[${string}]`]: undefined;
|
2332
|
+
[x: `int[${string}]`]: undefined;
|
2333
|
+
[x: `int8[${string}]`]: undefined;
|
2334
|
+
[x: `int16[${string}]`]: undefined;
|
2335
|
+
[x: `int24[${string}]`]: undefined;
|
2336
|
+
[x: `int32[${string}]`]: undefined;
|
2337
|
+
[x: `int40[${string}]`]: undefined;
|
2338
|
+
[x: `int48[${string}]`]: undefined;
|
2339
|
+
[x: `int56[${string}]`]: undefined;
|
2340
|
+
[x: `int64[${string}]`]: undefined;
|
2341
|
+
[x: `int72[${string}]`]: undefined;
|
2342
|
+
[x: `int80[${string}]`]: undefined;
|
2343
|
+
[x: `int88[${string}]`]: undefined;
|
2344
|
+
[x: `int96[${string}]`]: undefined;
|
2345
|
+
[x: `int104[${string}]`]: undefined;
|
2346
|
+
[x: `int112[${string}]`]: undefined;
|
2347
|
+
[x: `int120[${string}]`]: undefined;
|
2348
|
+
[x: `int128[${string}]`]: undefined;
|
2349
|
+
[x: `int136[${string}]`]: undefined;
|
2350
|
+
[x: `int144[${string}]`]: undefined;
|
2351
|
+
[x: `int152[${string}]`]: undefined;
|
2352
|
+
[x: `int160[${string}]`]: undefined;
|
2353
|
+
[x: `int168[${string}]`]: undefined;
|
2354
|
+
[x: `int176[${string}]`]: undefined;
|
2355
|
+
[x: `int184[${string}]`]: undefined;
|
2356
|
+
[x: `int192[${string}]`]: undefined;
|
2357
|
+
[x: `int200[${string}]`]: undefined;
|
2358
|
+
[x: `int208[${string}]`]: undefined;
|
2359
|
+
[x: `int216[${string}]`]: undefined;
|
2360
|
+
[x: `int224[${string}]`]: undefined;
|
2361
|
+
[x: `int232[${string}]`]: undefined;
|
2362
|
+
[x: `int240[${string}]`]: undefined;
|
2363
|
+
[x: `int248[${string}]`]: undefined;
|
2364
|
+
[x: `int256[${string}]`]: undefined;
|
2365
|
+
[x: `uint[${string}]`]: undefined;
|
2366
|
+
[x: `uint8[${string}]`]: undefined;
|
2367
|
+
[x: `uint16[${string}]`]: undefined;
|
2368
|
+
[x: `uint24[${string}]`]: undefined;
|
2369
|
+
[x: `uint32[${string}]`]: undefined;
|
2370
|
+
[x: `uint40[${string}]`]: undefined;
|
2371
|
+
[x: `uint48[${string}]`]: undefined;
|
2372
|
+
[x: `uint56[${string}]`]: undefined;
|
2373
|
+
[x: `uint64[${string}]`]: undefined;
|
2374
|
+
[x: `uint72[${string}]`]: undefined;
|
2375
|
+
[x: `uint80[${string}]`]: undefined;
|
2376
|
+
[x: `uint88[${string}]`]: undefined;
|
2377
|
+
[x: `uint96[${string}]`]: undefined;
|
2378
|
+
[x: `uint104[${string}]`]: undefined;
|
2379
|
+
[x: `uint112[${string}]`]: undefined;
|
2380
|
+
[x: `uint120[${string}]`]: undefined;
|
2381
|
+
[x: `uint128[${string}]`]: undefined;
|
2382
|
+
[x: `uint136[${string}]`]: undefined;
|
2383
|
+
[x: `uint144[${string}]`]: undefined;
|
2384
|
+
[x: `uint152[${string}]`]: undefined;
|
2385
|
+
[x: `uint160[${string}]`]: undefined;
|
2386
|
+
[x: `uint168[${string}]`]: undefined;
|
2387
|
+
[x: `uint176[${string}]`]: undefined;
|
2388
|
+
[x: `uint184[${string}]`]: undefined;
|
2389
|
+
[x: `uint192[${string}]`]: undefined;
|
2390
|
+
[x: `uint200[${string}]`]: undefined;
|
2391
|
+
[x: `uint208[${string}]`]: undefined;
|
2392
|
+
[x: `uint216[${string}]`]: undefined;
|
2393
|
+
[x: `uint224[${string}]`]: undefined;
|
2394
|
+
[x: `uint232[${string}]`]: undefined;
|
2395
|
+
[x: `uint240[${string}]`]: undefined;
|
2396
|
+
[x: `uint248[${string}]`]: undefined;
|
2397
|
+
[x: `uint256[${string}]`]: undefined;
|
2398
|
+
string?: undefined;
|
2399
|
+
address?: undefined;
|
2400
|
+
bool?: undefined;
|
2401
|
+
bytes?: undefined;
|
2402
|
+
bytes1?: undefined;
|
2403
|
+
bytes2?: undefined;
|
2404
|
+
bytes3?: undefined;
|
2405
|
+
bytes4?: undefined;
|
2406
|
+
bytes5?: undefined;
|
2407
|
+
bytes6?: undefined;
|
2408
|
+
bytes7?: undefined;
|
2409
|
+
bytes8?: undefined;
|
2410
|
+
bytes9?: undefined;
|
2411
|
+
bytes10?: undefined;
|
2412
|
+
bytes11?: undefined;
|
2413
|
+
bytes12?: undefined;
|
2414
|
+
bytes13?: undefined;
|
2415
|
+
bytes14?: undefined;
|
2416
|
+
bytes15?: undefined;
|
2417
|
+
bytes16?: undefined;
|
2418
|
+
bytes17?: undefined;
|
2419
|
+
bytes18?: undefined;
|
2420
|
+
bytes19?: undefined;
|
2421
|
+
bytes20?: undefined;
|
2422
|
+
bytes21?: undefined;
|
2423
|
+
bytes22?: undefined;
|
2424
|
+
bytes23?: undefined;
|
2425
|
+
bytes24?: undefined;
|
2426
|
+
bytes25?: undefined;
|
2427
|
+
bytes26?: undefined;
|
2428
|
+
bytes27?: undefined;
|
2429
|
+
bytes28?: undefined;
|
2430
|
+
bytes29?: undefined;
|
2431
|
+
bytes30?: undefined;
|
2432
|
+
bytes31?: undefined;
|
2433
|
+
bytes32?: undefined;
|
2434
|
+
int8?: undefined;
|
2435
|
+
int16?: undefined;
|
2436
|
+
int24?: undefined;
|
2437
|
+
int32?: undefined;
|
2438
|
+
int40?: undefined;
|
2439
|
+
int48?: undefined;
|
2440
|
+
int56?: undefined;
|
2441
|
+
int64?: undefined;
|
2442
|
+
int72?: undefined;
|
2443
|
+
int80?: undefined;
|
2444
|
+
int88?: undefined;
|
2445
|
+
int96?: undefined;
|
2446
|
+
int104?: undefined;
|
2447
|
+
int112?: undefined;
|
2448
|
+
int120?: undefined;
|
2449
|
+
int128?: undefined;
|
2450
|
+
int136?: undefined;
|
2451
|
+
int144?: undefined;
|
2452
|
+
int152?: undefined;
|
2453
|
+
int160?: undefined;
|
2454
|
+
int168?: undefined;
|
2455
|
+
int176?: undefined;
|
2456
|
+
int184?: undefined;
|
2457
|
+
int192?: undefined;
|
2458
|
+
int200?: undefined;
|
2459
|
+
int208?: undefined;
|
2460
|
+
int216?: undefined;
|
2461
|
+
int224?: undefined;
|
2462
|
+
int232?: undefined;
|
2463
|
+
int240?: undefined;
|
2464
|
+
int248?: undefined;
|
2465
|
+
int256?: undefined;
|
2466
|
+
uint8?: undefined;
|
2467
|
+
uint16?: undefined;
|
2468
|
+
uint24?: undefined;
|
2469
|
+
uint32?: undefined;
|
2470
|
+
uint40?: undefined;
|
2471
|
+
uint48?: undefined;
|
2472
|
+
uint56?: undefined;
|
2473
|
+
uint64?: undefined;
|
2474
|
+
uint72?: undefined;
|
2475
|
+
uint80?: undefined;
|
2476
|
+
uint88?: undefined;
|
2477
|
+
uint96?: undefined;
|
2478
|
+
uint104?: undefined;
|
2479
|
+
uint112?: undefined;
|
2480
|
+
uint120?: undefined;
|
2481
|
+
uint128?: undefined;
|
2482
|
+
uint136?: undefined;
|
2483
|
+
uint144?: undefined;
|
2484
|
+
uint152?: undefined;
|
2485
|
+
uint160?: undefined;
|
2486
|
+
uint168?: undefined;
|
2487
|
+
uint176?: undefined;
|
2488
|
+
uint184?: undefined;
|
2489
|
+
uint192?: undefined;
|
2490
|
+
uint200?: undefined;
|
2491
|
+
uint208?: undefined;
|
2492
|
+
uint216?: undefined;
|
2493
|
+
uint224?: undefined;
|
2494
|
+
uint232?: undefined;
|
2495
|
+
uint240?: undefined;
|
2496
|
+
uint248?: undefined;
|
2497
|
+
uint256?: undefined;
|
2498
|
+
} | {
|
2499
|
+
[key: string]: unknown;
|
2500
|
+
}, TPrimaryType extends string>(args: viem.SignTypedDataParameters<TTypedData, TPrimaryType, _cometh_connect_sdk_4337.ComethSafeSmartAccount>) => ReturnType<typeof permissionless_actions_smartAccount.signTypedData>;
|
2501
|
+
writeContract: <const TAbi extends Abi$1 | readonly unknown[], TFunctionName extends viem.ContractFunctionName<TAbi, "nonpayable" | "payable"> = viem.ContractFunctionName<TAbi, "nonpayable" | "payable">, TArgs extends viem.ContractFunctionArgs<TAbi, "nonpayable" | "payable", TFunctionName> = viem.ContractFunctionArgs<TAbi, "nonpayable" | "payable", TFunctionName>, TChainOverride extends viem.Chain | undefined = undefined>(args: viem.WriteContractParameters<TAbi, TFunctionName, TArgs, viem.Chain, _cometh_connect_sdk_4337.ComethSafeSmartAccount, TChainOverride>) => ReturnType<(client: viem.Client<viem.Transport, viem.Chain, _cometh_connect_sdk_4337.ComethSafeSmartAccount>, { abi, address, args, dataSuffix, functionName, ...request }: viem.WriteContractParameters<TAbi, TFunctionName, TArgs, viem.Chain, _cometh_connect_sdk_4337.ComethSafeSmartAccount, TChainOverride>) => Promise<viem.Hash>>;
|
2502
|
+
} & {
|
2503
|
+
validateAddDevice: <TTransport extends viem.Transport>(args: {
|
2504
|
+
signer: _cometh_connect_sdk_4337.Signer;
|
2505
|
+
}) => Promise<viem.Hash>;
|
2506
|
+
setUpRecoveryModule: () => Promise<viem.Hash>;
|
2507
|
+
cancelRecoveryRequest: <TTransport extends viem.Transport>(args: {
|
2508
|
+
effectiveDelayAddress?: Address$1 | undefined;
|
2509
|
+
}) => Promise<viem.Hash>;
|
2510
|
+
isRecoveryActive: <TTransport extends viem.Transport>(args: {
|
2511
|
+
effectiveDelayAddress?: Address$1 | undefined;
|
2512
|
+
} | undefined) => Promise<_cometh_connect_sdk_4337.IsRecoveryActiveReturnType>;
|
2513
|
+
getRecoveryRequest: <TTransport extends viem.Transport>(args: {
|
2514
|
+
effectiveDelayAddress?: Address$1 | undefined;
|
2515
|
+
} | undefined) => Promise<_cometh_connect_sdk_4337.RecoveryParamsResponse | undefined>;
|
2516
|
+
verifySignature: <TTransport extends viem.Transport>(args: {
|
2517
|
+
message: string;
|
2518
|
+
signature: viem.Hex;
|
2519
|
+
}) => Promise<boolean>;
|
2520
|
+
getDelayModuleAddress: <TTransport extends viem.Transport>(args: {
|
2521
|
+
expiration: number;
|
2522
|
+
cooldown: number;
|
2523
|
+
}) => Promise<Address$1>;
|
2524
|
+
getGuardianAddress: <TTransport extends viem.Transport>(args: {
|
2525
|
+
delayModuleAddress: Address$1;
|
2526
|
+
}) => Promise<Address$1>;
|
2527
|
+
addGuardian: <TTransport extends viem.Transport>(args: {
|
2528
|
+
delayModuleAddress: Address$1;
|
2529
|
+
guardianAddress: Address$1;
|
2530
|
+
}) => Promise<viem.Hex>;
|
2531
|
+
disableGuardian: <TTransport extends viem.Transport>(args: {
|
2532
|
+
guardianAddress: Address$1;
|
2533
|
+
expiration?: number | undefined;
|
2534
|
+
cooldown?: number | undefined;
|
2535
|
+
}) => Promise<viem.Hex>;
|
2536
|
+
setupCustomDelayModule: <TTransport extends viem.Transport>(args: {
|
2537
|
+
guardianAddress: Address$1;
|
2538
|
+
expiration?: number | undefined;
|
2539
|
+
cooldown?: number | undefined;
|
2540
|
+
}) => Promise<viem.Hex>;
|
2541
|
+
setFallbackTo7579: () => Promise<viem.Hex>;
|
2542
|
+
is7579Installed: () => Promise<boolean>;
|
2543
|
+
} & {
|
2544
|
+
addOwner: (args: {
|
2545
|
+
ownerToAdd: Address$1;
|
2546
|
+
}) => Promise<viem.Hash>;
|
2547
|
+
removeOwner: (args: {
|
2548
|
+
ownerToRemove: Address$1;
|
2549
|
+
}) => Promise<viem.Hash>;
|
2550
|
+
getOwners: () => Promise<readonly Address$1[]>;
|
2551
|
+
getEnrichedOwners: () => Promise<_cometh_connect_sdk_4337.EnrichedOwner[]>;
|
2552
|
+
}>;
|
2553
|
+
} | null>;
|
776
2554
|
isPending: boolean;
|
777
2555
|
error: Error | null;
|
778
2556
|
};
|