UNPKG

@verax-attestation-registry/verax-sdk

Version:

Verax Attestation Registry SDK to interact with the subgraph and the contracts

1,072 lines (1,071 loc) 401 kB
import BaseDataMapper from "./BaseDataMapper"; import { Attestation, AttestationPayload, TransactionOptions } from "../types"; import { Attestation_filter, Attestation_orderBy, OrderDirection } from "../../.graphclient"; import { Address } from "viem"; export default class AttestationDataMapper extends BaseDataMapper<Attestation, Attestation_filter, Attestation_orderBy> { typeName: string; gqlInterface: string; findOneById(id: string): Promise<Attestation | undefined>; findBy(first?: number, skip?: number, where?: Attestation_filter, orderBy?: Attestation_orderBy, orderDirection?: OrderDirection): Promise<Attestation[]>; private enrichAttestation; getRelatedAttestations(id: string): Promise<Attestation[]>; simulateUpdateRouter(routerAddress: Address): Promise<{ address: `0x${string}`; type?: "legacy" | undefined; gas?: bigint | undefined; nonce?: number | undefined; value?: bigint | undefined; maxFeePerBlobGas?: undefined; gasPrice?: bigint | undefined; maxFeePerGas?: undefined; maxPriorityFeePerGas?: undefined; accessList?: undefined; blobs?: undefined; blobVersionedHashes?: undefined; kzg?: undefined; sidecars?: undefined; authorizationList?: undefined; dataSuffix?: `0x${string}` | undefined; abi: readonly [never]; functionName: string; args?: readonly unknown[] | undefined; chain: import("viem").Chain | undefined; account: { client: import("viem").Client; entryPoint: { abi: import("viem").Abi; address: `0x${string}`; version: import("viem/_types/account-abstraction/types/entryPointVersion").EntryPointVersion; }; extend?: object | undefined; getAddress: () => Promise<`0x${string}`>; decodeCalls?: ((data: `0x${string}`) => Promise<readonly { to: `0x${string}`; data?: `0x${string}` | undefined; value?: bigint | undefined; }[]>) | undefined; encodeCalls: (calls: readonly { to: `0x${string}`; data?: `0x${string}` | undefined; value?: bigint | undefined; }[]) => Promise<`0x${string}`>; getFactoryArgs: () => Promise<{ factory?: `0x${string}` | undefined; factoryData?: `0x${string}` | undefined; }>; getNonce: (parameters?: { key?: bigint | undefined; } | undefined) => Promise<bigint>; getStubSignature: (parameters?: import("viem/_types/account-abstraction/types/userOperation").UserOperationRequest | undefined) => Promise<`0x${string}`>; nonceKeyManager?: import("viem").NonceManager | undefined; sign?: ((parameters: { hash: `0x${string}`; }) => Promise<`0x${string}`>) | undefined; signMessage: (parameters: { message: import("viem").SignableMessage; }) => Promise<`0x${string}`>; signTypedData: <const typedData extends Record<string, unknown> | { [x: string]: readonly import("viem").TypedDataParameter[]; [x: `string[${string}]`]: undefined; [x: `function[${string}]`]: undefined; [x: `address[${string}]`]: undefined; [x: `bool[${string}]`]: undefined; [x: `bytes[${string}]`]: undefined; [x: `bytes1[${string}]`]: undefined; [x: `bytes32[${string}]`]: undefined; [x: `bytes31[${string}]`]: undefined; [x: `bytes30[${string}]`]: undefined; [x: `bytes29[${string}]`]: undefined; [x: `bytes28[${string}]`]: undefined; [x: `bytes27[${string}]`]: undefined; [x: `bytes26[${string}]`]: undefined; [x: `bytes25[${string}]`]: undefined; [x: `bytes24[${string}]`]: undefined; [x: `bytes23[${string}]`]: undefined; [x: `bytes22[${string}]`]: undefined; [x: `bytes21[${string}]`]: undefined; [x: `bytes20[${string}]`]: undefined; [x: `bytes19[${string}]`]: undefined; [x: `bytes2[${string}]`]: undefined; [x: `bytes18[${string}]`]: undefined; [x: `bytes17[${string}]`]: undefined; [x: `bytes16[${string}]`]: undefined; [x: `bytes15[${string}]`]: undefined; [x: `bytes14[${string}]`]: undefined; [x: `bytes13[${string}]`]: undefined; [x: `bytes12[${string}]`]: undefined; [x: `bytes11[${string}]`]: undefined; [x: `bytes10[${string}]`]: undefined; [x: `bytes9[${string}]`]: undefined; [x: `bytes8[${string}]`]: undefined; [x: `bytes7[${string}]`]: undefined; [x: `bytes6[${string}]`]: undefined; [x: `bytes5[${string}]`]: undefined; [x: `bytes4[${string}]`]: undefined; [x: `bytes3[${string}]`]: undefined; [x: `int[${string}]`]: undefined; [x: `int40[${string}]`]: undefined; [x: `int32[${string}]`]: undefined; [x: `int24[${string}]`]: undefined; [x: `int16[${string}]`]: undefined; [x: `int8[${string}]`]: undefined; [x: `int48[${string}]`]: undefined; [x: `int56[${string}]`]: undefined; [x: `int64[${string}]`]: undefined; [x: `int72[${string}]`]: undefined; [x: `int80[${string}]`]: undefined; [x: `int88[${string}]`]: undefined; [x: `int96[${string}]`]: undefined; [x: `int104[${string}]`]: undefined; [x: `int112[${string}]`]: undefined; [x: `int120[${string}]`]: undefined; [x: `int128[${string}]`]: undefined; [x: `int136[${string}]`]: undefined; [x: `int144[${string}]`]: undefined; [x: `int152[${string}]`]: undefined; [x: `int160[${string}]`]: undefined; [x: `int168[${string}]`]: undefined; [x: `int176[${string}]`]: undefined; [x: `int184[${string}]`]: undefined; [x: `int192[${string}]`]: undefined; [x: `int200[${string}]`]: undefined; [x: `int208[${string}]`]: undefined; [x: `int216[${string}]`]: undefined; [x: `int224[${string}]`]: undefined; [x: `int232[${string}]`]: undefined; [x: `int240[${string}]`]: undefined; [x: `int248[${string}]`]: undefined; [x: `int256[${string}]`]: undefined; [x: `uint[${string}]`]: undefined; [x: `uint40[${string}]`]: undefined; [x: `uint32[${string}]`]: undefined; [x: `uint24[${string}]`]: undefined; [x: `uint16[${string}]`]: undefined; [x: `uint8[${string}]`]: undefined; [x: `uint48[${string}]`]: undefined; [x: `uint56[${string}]`]: undefined; [x: `uint64[${string}]`]: undefined; [x: `uint72[${string}]`]: undefined; [x: `uint80[${string}]`]: undefined; [x: `uint88[${string}]`]: undefined; [x: `uint96[${string}]`]: undefined; [x: `uint104[${string}]`]: undefined; [x: `uint112[${string}]`]: undefined; [x: `uint120[${string}]`]: undefined; [x: `uint128[${string}]`]: undefined; [x: `uint136[${string}]`]: undefined; [x: `uint144[${string}]`]: undefined; [x: `uint152[${string}]`]: undefined; [x: `uint160[${string}]`]: undefined; [x: `uint168[${string}]`]: undefined; [x: `uint176[${string}]`]: undefined; [x: `uint184[${string}]`]: undefined; [x: `uint192[${string}]`]: undefined; [x: `uint200[${string}]`]: undefined; [x: `uint208[${string}]`]: undefined; [x: `uint216[${string}]`]: undefined; [x: `uint224[${string}]`]: undefined; [x: `uint232[${string}]`]: undefined; [x: `uint240[${string}]`]: undefined; [x: `uint248[${string}]`]: undefined; [x: `uint256[${string}]`]: undefined; string?: undefined; address?: undefined; bool?: undefined; bytes?: undefined; bytes1?: undefined; bytes32?: undefined; bytes31?: undefined; bytes30?: undefined; bytes29?: undefined; bytes28?: undefined; bytes27?: undefined; bytes26?: undefined; bytes25?: undefined; bytes24?: undefined; bytes23?: undefined; bytes22?: undefined; bytes21?: undefined; bytes20?: undefined; bytes19?: undefined; bytes2?: undefined; bytes18?: undefined; bytes17?: undefined; bytes16?: undefined; bytes15?: undefined; bytes14?: undefined; bytes13?: undefined; bytes12?: undefined; bytes11?: undefined; bytes10?: undefined; bytes9?: undefined; bytes8?: undefined; bytes7?: undefined; bytes6?: undefined; bytes5?: undefined; bytes4?: undefined; bytes3?: undefined; int40?: undefined; int32?: undefined; int24?: undefined; int16?: undefined; int8?: undefined; int48?: undefined; int56?: undefined; int64?: undefined; int72?: undefined; int80?: undefined; int88?: undefined; int96?: undefined; int104?: undefined; int112?: undefined; int120?: undefined; int128?: undefined; int136?: undefined; int144?: undefined; int152?: undefined; int160?: undefined; int168?: undefined; int176?: undefined; int184?: undefined; int192?: undefined; int200?: undefined; int208?: undefined; int216?: undefined; int224?: undefined; int232?: undefined; int240?: undefined; int248?: undefined; int256?: undefined; uint40?: undefined; uint32?: undefined; uint24?: undefined; uint16?: undefined; uint8?: undefined; uint48?: undefined; uint56?: undefined; uint64?: undefined; uint72?: undefined; uint80?: undefined; uint88?: undefined; uint96?: undefined; uint104?: undefined; uint112?: undefined; uint120?: undefined; uint128?: undefined; uint136?: undefined; uint144?: undefined; uint152?: undefined; uint160?: undefined; uint168?: undefined; uint176?: undefined; uint184?: undefined; uint192?: undefined; uint200?: undefined; uint208?: undefined; uint216?: undefined; uint224?: undefined; uint232?: undefined; uint240?: undefined; uint248?: undefined; uint256?: undefined; }, primaryType extends "EIP712Domain" | keyof typedData = keyof typedData>(parameters: import("viem").TypedDataDefinition<typedData, primaryType>) => Promise<`0x${string}`>; signUserOperation: (parameters: import("viem").UnionPartialBy<import("viem/_types/account-abstraction/types/userOperation").UserOperation, "sender"> & { chainId?: number | undefined; }) => Promise<`0x${string}`>; userOperation?: { estimateGas?: ((userOperation: import("viem/_types/account-abstraction/types/userOperation").UserOperationRequest) => Promise<import("viem").ExactPartial<import("viem/_types/account-abstraction/types/userOperation").EstimateUserOperationGasReturnType> | undefined>) | undefined; } | undefined; address: `0x${string}`; isDeployed: () => Promise<boolean>; type: "smart"; nonceManager?: undefined; experimental_signAuthorization?: undefined; signTransaction?: undefined; publicKey?: undefined; source?: undefined; }; } | { address: `0x${string}`; type?: "legacy" | undefined; gas?: bigint | undefined; nonce?: number | undefined; value?: bigint | undefined; maxFeePerBlobGas?: undefined; gasPrice?: bigint | undefined; maxFeePerGas?: undefined; maxPriorityFeePerGas?: undefined; accessList?: undefined; blobs?: undefined; blobVersionedHashes?: undefined; kzg?: undefined; sidecars?: undefined; authorizationList?: undefined; dataSuffix?: `0x${string}` | undefined; abi: readonly [never]; functionName: string; args?: readonly unknown[] | undefined; chain: import("viem").Chain | undefined; account: { address: `0x${string}`; type: "json-rpc"; extend?: undefined; client?: undefined; entryPoint?: undefined; getAddress?: undefined; decodeCalls?: undefined; encodeCalls?: undefined; getFactoryArgs?: undefined; getNonce?: undefined; getStubSignature?: undefined; nonceKeyManager?: undefined; sign?: undefined; signMessage?: undefined; signTypedData?: undefined; signUserOperation?: undefined; userOperation?: undefined; isDeployed?: undefined; nonceManager?: undefined; experimental_signAuthorization?: undefined; signTransaction?: undefined; publicKey?: undefined; source?: undefined; }; } | { address: `0x${string}`; type?: "legacy" | undefined; gas?: bigint | undefined; nonce?: number | undefined; value?: bigint | undefined; maxFeePerBlobGas?: undefined; gasPrice?: bigint | undefined; maxFeePerGas?: undefined; maxPriorityFeePerGas?: undefined; accessList?: undefined; blobs?: undefined; blobVersionedHashes?: undefined; kzg?: undefined; sidecars?: undefined; authorizationList?: undefined; dataSuffix?: `0x${string}` | undefined; abi: readonly [never]; functionName: string; args?: readonly unknown[] | undefined; chain: import("viem").Chain | undefined; account: { address: `0x${string}`; nonceManager?: import("viem").NonceManager | undefined; sign?: ((parameters: { hash: `0x${string}`; }) => Promise<`0x${string}`>) | undefined; experimental_signAuthorization?: ((parameters: import("viem/experimental").Authorization) => Promise<import("viem/accounts").SignAuthorizationReturnType>) | undefined; signMessage: ({ message }: { message: import("viem").SignableMessage; }) => Promise<`0x${string}`>; signTransaction: <serializer extends import("viem").SerializeTransactionFn<import("viem").TransactionSerializable> = import("viem").SerializeTransactionFn<import("viem").TransactionSerializable>, transaction extends Parameters<serializer>[0] = Parameters<serializer>[0]>(transaction: transaction, options?: { serializer?: serializer | undefined; } | undefined) => Promise<import("viem").IsNarrowable<import("viem").TransactionSerialized<import("viem").GetTransactionType<transaction>>, `0x${string}`> extends true ? import("viem").TransactionSerialized<import("viem").GetTransactionType<transaction>> : `0x${string}`>; signTypedData: <const typedData_1 extends Record<string, unknown> | { [x: string]: readonly import("viem").TypedDataParameter[]; [x: `string[${string}]`]: undefined; [x: `function[${string}]`]: undefined; [x: `address[${string}]`]: undefined; [x: `bool[${string}]`]: undefined; [x: `bytes[${string}]`]: undefined; [x: `bytes1[${string}]`]: undefined; [x: `bytes32[${string}]`]: undefined; [x: `bytes31[${string}]`]: undefined; [x: `bytes30[${string}]`]: undefined; [x: `bytes29[${string}]`]: undefined; [x: `bytes28[${string}]`]: undefined; [x: `bytes27[${string}]`]: undefined; [x: `bytes26[${string}]`]: undefined; [x: `bytes25[${string}]`]: undefined; [x: `bytes24[${string}]`]: undefined; [x: `bytes23[${string}]`]: undefined; [x: `bytes22[${string}]`]: undefined; [x: `bytes21[${string}]`]: undefined; [x: `bytes20[${string}]`]: undefined; [x: `bytes19[${string}]`]: undefined; [x: `bytes2[${string}]`]: undefined; [x: `bytes18[${string}]`]: undefined; [x: `bytes17[${string}]`]: undefined; [x: `bytes16[${string}]`]: undefined; [x: `bytes15[${string}]`]: undefined; [x: `bytes14[${string}]`]: undefined; [x: `bytes13[${string}]`]: undefined; [x: `bytes12[${string}]`]: undefined; [x: `bytes11[${string}]`]: undefined; [x: `bytes10[${string}]`]: undefined; [x: `bytes9[${string}]`]: undefined; [x: `bytes8[${string}]`]: undefined; [x: `bytes7[${string}]`]: undefined; [x: `bytes6[${string}]`]: undefined; [x: `bytes5[${string}]`]: undefined; [x: `bytes4[${string}]`]: undefined; [x: `bytes3[${string}]`]: undefined; [x: `int[${string}]`]: undefined; [x: `int40[${string}]`]: undefined; [x: `int32[${string}]`]: undefined; [x: `int24[${string}]`]: undefined; [x: `int16[${string}]`]: undefined; [x: `int8[${string}]`]: undefined; [x: `int48[${string}]`]: undefined; [x: `int56[${string}]`]: undefined; [x: `int64[${string}]`]: undefined; [x: `int72[${string}]`]: undefined; [x: `int80[${string}]`]: undefined; [x: `int88[${string}]`]: undefined; [x: `int96[${string}]`]: undefined; [x: `int104[${string}]`]: undefined; [x: `int112[${string}]`]: undefined; [x: `int120[${string}]`]: undefined; [x: `int128[${string}]`]: undefined; [x: `int136[${string}]`]: undefined; [x: `int144[${string}]`]: undefined; [x: `int152[${string}]`]: undefined; [x: `int160[${string}]`]: undefined; [x: `int168[${string}]`]: undefined; [x: `int176[${string}]`]: undefined; [x: `int184[${string}]`]: undefined; [x: `int192[${string}]`]: undefined; [x: `int200[${string}]`]: undefined; [x: `int208[${string}]`]: undefined; [x: `int216[${string}]`]: undefined; [x: `int224[${string}]`]: undefined; [x: `int232[${string}]`]: undefined; [x: `int240[${string}]`]: undefined; [x: `int248[${string}]`]: undefined; [x: `int256[${string}]`]: undefined; [x: `uint[${string}]`]: undefined; [x: `uint40[${string}]`]: undefined; [x: `uint32[${string}]`]: undefined; [x: `uint24[${string}]`]: undefined; [x: `uint16[${string}]`]: undefined; [x: `uint8[${string}]`]: undefined; [x: `uint48[${string}]`]: undefined; [x: `uint56[${string}]`]: undefined; [x: `uint64[${string}]`]: undefined; [x: `uint72[${string}]`]: undefined; [x: `uint80[${string}]`]: undefined; [x: `uint88[${string}]`]: undefined; [x: `uint96[${string}]`]: undefined; [x: `uint104[${string}]`]: undefined; [x: `uint112[${string}]`]: undefined; [x: `uint120[${string}]`]: undefined; [x: `uint128[${string}]`]: undefined; [x: `uint136[${string}]`]: undefined; [x: `uint144[${string}]`]: undefined; [x: `uint152[${string}]`]: undefined; [x: `uint160[${string}]`]: undefined; [x: `uint168[${string}]`]: undefined; [x: `uint176[${string}]`]: undefined; [x: `uint184[${string}]`]: undefined; [x: `uint192[${string}]`]: undefined; [x: `uint200[${string}]`]: undefined; [x: `uint208[${string}]`]: undefined; [x: `uint216[${string}]`]: undefined; [x: `uint224[${string}]`]: undefined; [x: `uint232[${string}]`]: undefined; [x: `uint240[${string}]`]: undefined; [x: `uint248[${string}]`]: undefined; [x: `uint256[${string}]`]: undefined; string?: undefined; address?: undefined; bool?: undefined; bytes?: undefined; bytes1?: undefined; bytes32?: undefined; bytes31?: undefined; bytes30?: undefined; bytes29?: undefined; bytes28?: undefined; bytes27?: undefined; bytes26?: undefined; bytes25?: undefined; bytes24?: undefined; bytes23?: undefined; bytes22?: undefined; bytes21?: undefined; bytes20?: undefined; bytes19?: undefined; bytes2?: undefined; bytes18?: undefined; bytes17?: undefined; bytes16?: undefined; bytes15?: undefined; bytes14?: undefined; bytes13?: undefined; bytes12?: undefined; bytes11?: undefined; bytes10?: undefined; bytes9?: undefined; bytes8?: undefined; bytes7?: undefined; bytes6?: undefined; bytes5?: undefined; bytes4?: undefined; bytes3?: undefined; int40?: undefined; int32?: undefined; int24?: undefined; int16?: undefined; int8?: undefined; int48?: undefined; int56?: undefined; int64?: undefined; int72?: undefined; int80?: undefined; int88?: undefined; int96?: undefined; int104?: undefined; int112?: undefined; int120?: undefined; int128?: undefined; int136?: undefined; int144?: undefined; int152?: undefined; int160?: undefined; int168?: undefined; int176?: undefined; int184?: undefined; int192?: undefined; int200?: undefined; int208?: undefined; int216?: undefined; int224?: undefined; int232?: undefined; int240?: undefined; int248?: undefined; int256?: undefined; uint40?: undefined; uint32?: undefined; uint24?: undefined; uint16?: undefined; uint8?: undefined; uint48?: undefined; uint56?: undefined; uint64?: undefined; uint72?: undefined; uint80?: undefined; uint88?: undefined; uint96?: undefined; uint104?: undefined; uint112?: undefined; uint120?: undefined; uint128?: undefined; uint136?: undefined; uint144?: undefined; uint152?: undefined; uint160?: undefined; uint168?: undefined; uint176?: undefined; uint184?: undefined; uint192?: undefined; uint200?: undefined; uint208?: undefined; uint216?: undefined; uint224?: undefined; uint232?: undefined; uint240?: undefined; uint248?: undefined; uint256?: undefined; }, primaryType_1 extends "EIP712Domain" | keyof typedData_1 = keyof typedData_1>(parameters: import("viem").TypedDataDefinition<typedData_1, primaryType_1>) => Promise<`0x${string}`>; publicKey: `0x${string}`; source: string; type: "local"; extend?: undefined; client?: undefined; entryPoint?: undefined; getAddress?: undefined; decodeCalls?: undefined; encodeCalls?: undefined; getFactoryArgs?: undefined; getNonce?: undefined; getStubSignature?: undefined; nonceKeyManager?: undefined; signUserOperation?: undefined; userOperation?: undefined; isDeployed?: undefined; }; } | { address: `0x${string}`; type?: "eip2930" | undefined; gas?: bigint | undefined; nonce?: number | undefined; value?: bigint | undefined; maxFeePerBlobGas?: undefined; gasPrice?: bigint | undefined; maxFeePerGas?: undefined; maxPriorityFeePerGas?: undefined; accessList?: import("viem").AccessList | undefined; blobs?: undefined; blobVersionedHashes?: undefined; kzg?: undefined; sidecars?: undefined; authorizationList?: undefined; dataSuffix?: `0x${string}` | undefined; abi: readonly [never]; functionName: string; args?: readonly unknown[] | undefined; chain: import("viem").Chain | undefined; account: { client: import("viem").Client; entryPoint: { abi: import("viem").Abi; address: `0x${string}`; version: import("viem/_types/account-abstraction/types/entryPointVersion").EntryPointVersion; }; extend?: object | undefined; getAddress: () => Promise<`0x${string}`>; decodeCalls?: ((data: `0x${string}`) => Promise<readonly { to: `0x${string}`; data?: `0x${string}` | undefined; value?: bigint | undefined; }[]>) | undefined; encodeCalls: (calls: readonly { to: `0x${string}`; data?: `0x${string}` | undefined; value?: bigint | undefined; }[]) => Promise<`0x${string}`>; getFactoryArgs: () => Promise<{ factory?: `0x${string}` | undefined; factoryData?: `0x${string}` | undefined; }>; getNonce: (parameters?: { key?: bigint | undefined; } | undefined) => Promise<bigint>; getStubSignature: (parameters?: import("viem/_types/account-abstraction/types/userOperation").UserOperationRequest | undefined) => Promise<`0x${string}`>; nonceKeyManager?: import("viem").NonceManager | undefined; sign?: ((parameters: { hash: `0x${string}`; }) => Promise<`0x${string}`>) | undefined; signMessage: (parameters: { message: import("viem").SignableMessage; }) => Promise<`0x${string}`>; signTypedData: <const typedData extends Record<string, unknown> | { [x: string]: readonly import("viem").TypedDataParameter[]; [x: `string[${string}]`]: undefined; [x: `function[${string}]`]: undefined; [x: `address[${string}]`]: undefined; [x: `bool[${string}]`]: undefined; [x: `bytes[${string}]`]: undefined; [x: `bytes1[${string}]`]: undefined; [x: `bytes32[${string}]`]: undefined; [x: `bytes31[${string}]`]: undefined; [x: `bytes30[${string}]`]: undefined; [x: `bytes29[${string}]`]: undefined; [x: `bytes28[${string}]`]: undefined; [x: `bytes27[${string}]`]: undefined; [x: `bytes26[${string}]`]: undefined; [x: `bytes25[${string}]`]: undefined; [x: `bytes24[${string}]`]: undefined; [x: `bytes23[${string}]`]: undefined; [x: `bytes22[${string}]`]: undefined; [x: `bytes21[${string}]`]: undefined; [x: `bytes20[${string}]`]: undefined; [x: `bytes19[${string}]`]: undefined; [x: `bytes2[${string}]`]: undefined; [x: `bytes18[${string}]`]: undefined; [x: `bytes17[${string}]`]: undefined; [x: `bytes16[${string}]`]: undefined; [x: `bytes15[${string}]`]: undefined; [x: `bytes14[${string}]`]: undefined; [x: `bytes13[${string}]`]: undefined; [x: `bytes12[${string}]`]: undefined; [x: `bytes11[${string}]`]: undefined; [x: `bytes10[${string}]`]: undefined; [x: `bytes9[${string}]`]: undefined; [x: `bytes8[${string}]`]: undefined; [x: `bytes7[${string}]`]: undefined; [x: `bytes6[${string}]`]: undefined; [x: `bytes5[${string}]`]: undefined; [x: `bytes4[${string}]`]: undefined; [x: `bytes3[${string}]`]: undefined; [x: `int[${string}]`]: undefined; [x: `int40[${string}]`]: undefined; [x: `int32[${string}]`]: undefined; [x: `int24[${string}]`]: undefined; [x: `int16[${string}]`]: undefined; [x: `int8[${string}]`]: undefined; [x: `int48[${string}]`]: undefined; [x: `int56[${string}]`]: undefined; [x: `int64[${string}]`]: undefined; [x: `int72[${string}]`]: undefined; [x: `int80[${string}]`]: undefined; [x: `int88[${string}]`]: undefined; [x: `int96[${string}]`]: undefined; [x: `int104[${string}]`]: undefined; [x: `int112[${string}]`]: undefined; [x: `int120[${string}]`]: undefined; [x: `int128[${string}]`]: undefined; [x: `int136[${string}]`]: undefined; [x: `int144[${string}]`]: undefined; [x: `int152[${string}]`]: undefined; [x: `int160[${string}]`]: undefined; [x: `int168[${string}]`]: undefined; [x: `int176[${string}]`]: undefined; [x: `int184[${string}]`]: undefined; [x: `int192[${string}]`]: undefined; [x: `int200[${string}]`]: undefined; [x: `int208[${string}]`]: undefined; [x: `int216[${string}]`]: undefined; [x: `int224[${string}]`]: undefined; [x: `int232[${string}]`]: undefined; [x: `int240[${string}]`]: undefined; [x: `int248[${string}]`]: undefined; [x: `int256[${string}]`]: undefined; [x: `uint[${string}]`]: undefined; [x: `uint40[${string}]`]: undefined; [x: `uint32[${string}]`]: undefined; [x: `uint24[${string}]`]: undefined; [x: `uint16[${string}]`]: undefined; [x: `uint8[${string}]`]: undefined; [x: `uint48[${string}]`]: undefined; [x: `uint56[${string}]`]: undefined; [x: `uint64[${string}]`]: undefined; [x: `uint72[${string}]`]: undefined; [x: `uint80[${string}]`]: undefined; [x: `uint88[${string}]`]: undefined; [x: `uint96[${string}]`]: undefined; [x: `uint104[${string}]`]: undefined; [x: `uint112[${string}]`]: undefined; [x: `uint120[${string}]`]: undefined; [x: `uint128[${string}]`]: undefined; [x: `uint136[${string}]`]: undefined; [x: `uint144[${string}]`]: undefined; [x: `uint152[${string}]`]: undefined; [x: `uint160[${string}]`]: undefined; [x: `uint168[${string}]`]: undefined; [x: `uint176[${string}]`]: undefined; [x: `uint184[${string}]`]: undefined; [x: `uint192[${string}]`]: undefined; [x: `uint200[${string}]`]: undefined; [x: `uint208[${string}]`]: undefined; [x: `uint216[${string}]`]: undefined; [x: `uint224[${string}]`]: undefined; [x: `uint232[${string}]`]: undefined; [x: `uint240[${string}]`]: undefined; [x: `uint248[${string}]`]: undefined; [x: `uint256[${string}]`]: undefined; string?: undefined; address?: undefined; bool?: undefined; bytes?: undefined; bytes1?: undefined; bytes32?: undefined; bytes31?: undefined; bytes30?: undefined; bytes29?: undefined; bytes28?: undefined; bytes27?: undefined; bytes26?: undefined; bytes25?: undefined; bytes24?: undefined; bytes23?: undefined; bytes22?: undefined; bytes21?: undefined; bytes20?: undefined; bytes19?: undefined; bytes2?: undefined; bytes18?: undefined; bytes17?: undefined; bytes16?: undefined; bytes15?: undefined; bytes14?: undefined; bytes13?: undefined; bytes12?: undefined; bytes11?: undefined; bytes10?: undefined; bytes9?: undefined; bytes8?: undefined; bytes7?: undefined; bytes6?: undefined; bytes5?: undefined; bytes4?: undefined; bytes3?: undefined; int40?: undefined; int32?: undefined; int24?: undefined; int16?: undefined; int8?: undefined; int48?: undefined; int56?: undefined; int64?: undefined; int72?: undefined; int80?: undefined; int88?: undefined; int96?: undefined; int104?: undefined; int112?: undefined; int120?: undefined; int128?: undefined; int136?: undefined; int144?: undefined; int152?: undefined; int160?: undefined; int168?: undefined; int176?: undefined; int184?: undefined; int192?: undefined; int200?: undefined; int208?: undefined; int216?: undefined; int224?: undefined; int232?: undefined; int240?: undefined; int248?: undefined; int256?: undefined; uint40?: undefined; uint32?: undefined; uint24?: undefined; uint16?: undefined; uint8?: undefined; uint48?: undefined; uint56?: undefined; uint64?: undefined; uint72?: undefined; uint80?: undefined; uint88?: undefined; uint96?: undefined; uint104?: undefined; uint112?: undefined; uint120?: undefined; uint128?: undefined; uint136?: undefined; uint144?: undefined; uint152?: undefined; uint160?: undefined; uint168?: undefined; uint176?: undefined; uint184?: undefined; uint192?: undefined; uint200?: undefined; uint208?: undefined; uint216?: undefined; uint224?: undefined; uint232?: undefined; uint240?: undefined; uint248?: undefined; uint256?: undefined; }, primaryType extends "EIP712Domain" | keyof typedData = keyof typedData>(parameters: import("viem").TypedDataDefinition<typedData, primaryType>) => Promise<`0x${string}`>; signUserOperation: (parameters: import("viem").UnionPartialBy<import("viem/_types/account-abstraction/types/userOperation").UserOperation, "sender"> & { chainId?: number | undefined; }) => Promise<`0x${string}`>; userOperation?: { estimateGas?: ((userOperation: import("viem/_types/account-abstraction/types/userOperation").UserOperationRequest) => Promise<import("viem").ExactPartial<import("viem/_types/account-abstraction/types/userOperation").EstimateUserOperationGasReturnType> | undefined>) | undefined; } | undefined; address: `0x${string}`; isDeployed: () => Promise<boolean>; type: "smart"; nonceManager?: undefined; experimental_signAuthorization?: undefined; signTransaction?: undefined; publicKey?: undefined; source?: undefined; }; } | { address: `0x${string}`; type?: "eip2930" | undefined; gas?: bigint | undefined; nonce?: number | undefined; value?: bigint | undefined; maxFeePerBlobGas?: undefined; gasPrice?: bigint | undefined; maxFeePerGas?: undefined; maxPriorityFeePerGas?: undefined; accessList?: import("viem").AccessList | undefined; blobs?: undefined; blobVersionedHashes?: undefined; kzg?: undefined; sidecars?: undefined; authorizationList?: undefined; dataSuffix?: `0x${string}` | undefined; abi: readonly [never]; functionName: string; args?: readonly unknown[] | undefined; chain: import("viem").Chain | undefined; account: { address: `0x${string}`; type: "json-rpc"; extend?: undefined; client?: undefined; entryPoint?: undefined; getAddress?: undefined; decodeCalls?: undefined; encodeCalls?: undefined; getFactoryArgs?: undefined; getNonce?: undefined; getStubSignature?: undefined; nonceKeyManager?: undefined; sign?: undefined; signMessage?: undefined; signTypedData?: undefined; signUserOperation?: undefined; userOperation?: undefined; isDeployed?: undefined; nonceManager?: undefined; experimental_signAuthorization?: undefined; signTransaction?: undefined; publicKey?: undefined; source?: undefined; }; } | { address: `0x${string}`; type?: "eip2930" | undefined; gas?: bigint | undefined; nonce?: number | undefined; value?: bigint | undefined; maxFeePerBlobGas?: undefined; gasPrice?: bigint | undefined; maxFeePerGas?: undefined; maxPriorityFeePerGas?: undefined; accessList?: import("viem").AccessList | undefined; blobs?: undefined; blobVersionedHashes?: undefined; kzg?: undefined; sidecars?: undefined; authorizationList?: undefined; dataSuffix?: `0x${string}` | undefined; abi: readonly [never]; functionName: string; args?: readonly unknown[] | undefined; chain: import("viem").Chain | undefined; account: { address: `0x${string}`; nonceManager?: import("viem").NonceManager | undefined; sign?: ((parameters: { hash: `0x${string}`; }) => Promise<`0x${string}`>) | undefined; experimental_signAuthorization?: ((parameters: import("viem/experimental").Authorization) => Promise<import("viem/accounts").SignAuthorizationReturnType>) | undefined; signMessage: ({ message }: { message: import("viem").SignableMessage; }) => Promise<`0x${string}`>; signTransaction: <serializer extends import("viem").SerializeTransactionFn<import("viem").TransactionSerializable> = import("viem").SerializeTransactionFn<import("viem").TransactionSerializable>, transaction extends Parameters<serializer>[0] = Parameters<serializer>[0]>(transaction: transaction, options?: { serializer?: serializer | undefined; } | undefined) => Promise<import("viem").IsNarrowable<import("viem").TransactionSerialized<import("viem").GetTransactionType<transaction>>, `0x${string}`> extends true ? import("viem").TransactionSerialized<import("viem").GetTransactionType<transaction>> : `0x${string}`>; signTypedData: <const typedData_1 extends Record<string, unknown> | { [x: string]: readonly import("viem").TypedDataParameter[]; [x: `string[${string}]`]: undefined; [x: `function[${string}]`]: undefined; [x: `address[${string}]`]: undefined; [x: `bool[${string}]`]: undefined; [x: `bytes[${string}]`]: undefined; [x: `bytes1[${string}]`]: undefined; [x: `bytes32[${string}]`]: undefined; [x: `bytes31[${string}]`]: undefined; [x: `bytes30[${string}]`]: undefined; [x: `bytes29[${string}]`]: undefined; [x: `bytes28[${string}]`]: undefined; [x: `bytes27[${string}]`]: undefined; [x: `bytes26[${string}]`]: undefined; [x: `bytes25[${string}]`]: undefined; [x: `bytes24[${string}]`]: undefined; [x: `bytes23[${string}]`]: undefined; [x: `bytes22[${string}]`]: undefined; [x: `bytes21[${string}]`]: undefined; [x: `bytes20[${string}]`]: undefined; [x: `bytes19[${string}]`]: undefined; [x: `bytes2[${string}]`]: undefined; [x: `bytes18[${string}]`]: undefined; [x: `bytes17[${string}]`]: undefined; [x: `bytes16[${string}]`]: undefined; [x: `bytes15[${string}]`]: undefined; [x: `bytes14[${string}]`]: undefined; [x: `bytes13[${string}]`]: undefined; [x: `bytes12[${string}]`]: undefined; [x: `bytes11[${string}]`]: undefined; [x: `bytes10[${string}]`]: undefined; [x: `bytes9[${string}]`]: undefined; [x: `bytes8[${string}]`]: undefined; [x: `bytes7[${string}]`]: undefined; [x: `bytes6[${string}]`]: undefined; [x: `bytes5[${string}]`]: undefined; [x: `bytes4[${string}]`]: undefined; [x: `bytes3[${string}]`]: undefined; [x: `int[${string}]`]: undefined; [x: `int40[${string}]`]: undefined; [x: `int32[${string}]`]: undefined; [x: `int24[${string}]`]: undefined; [x: `int16[${string}]`]: undefined; [x: `int8[${string}]`]: undefined; [x: `int48[${string}]`]: undefined; [x: `int56[${string}]`]: undefined; [x: `int64[${string}]`]: undefined; [x: `int72[${string}]`]: undefined; [x: `int80[${string}]`]: undefined; [x: `int88[${string}]`]: undefined; [x: `int96[${string}]`]: undefined; [x: `int104[${string}]`]: undefined; [x: `int112[${string}]`]: undefined; [x: `int120[${string}]`]: undefined; [x: `int128[${string}]`]: undefined; [x: `int136[${string}]`]: undefined; [x: `int144[${string}]`]: undefined; [x: `int152[${string}]`]: undefined; [x: `int160[${string}]`]: undefined; [x: `int168[${string}]`]: undefined; [x: `int176[${string}]`]: undefined; [x: `int184[${string}]`]: undefined; [x: `int192[${string}]`]: undefined; [x: `int200[${string}]`]: undefined; [x: `int208[${string}]`]: undefined; [x: `int216[${string}]`]: undefined; [x: `int224[${string}]`]: undefined; [x: `int232[${string}]`]: undefined; [x: `int240[${string}]`]: undefined; [x: `int248[${string}]`]: undefined; [x: `int256[${string}]`]: undefined; [x: `uint[${string}]`]: undefined; [x: `uint40[${string}]`]: undefined; [x: `uint32[${string}]`]: undefined; [x: `uint24[${string}]`]: undefined; [x: `uint16[${string}]`]: undefined; [x: `uint8[${string}]`]: undefined; [x: `uint48[${string}]`]: undefined; [x: `uint56[${string}]`]: undefined; [x: `uint64[${string}]`]: undefined; [x: `uint72[${string}]`]: undefined; [x: `uint80[${string}]`]: undefined; [x: `uint88[${string}]`]: undefined; [x: `uint96[${string}]`]: undefined; [x: `uint104[${string}]`]: undefined; [x: `uint112[${string}]`]: undefined; [x: `uint120[${string}]`]: undefined; [x: `uint128[${string}]`]: undefined; [x: `uint136[${string}]`]: undefined; [x: `uint144[${string}]`]: undefined; [x: `uint152[${string}]`]: undefined; [x: `uint160[${string}]`]: undefined; [x: `uint168[${string}]`]: undefined; [x: `uint176[${string}]`]: undefined; [x: `uint184[${string}]`]: undefined; [x: `uint192[${string}]`]: undefined; [x: `uint200[${string}]`]: undefined; [x: `uint208[${string}]`]: undefined; [x: `uint216[${string}]`]: undefined; [x: `uint224[${string}]`]: undefined; [x: `uint232[${string}]`]: undefined; [x: `uint240[${string}]`]: undefined; [x: `uint248[${string}]`]: undefined; [x: `uint256[${string}]`]: undefined; string?: undefined; address?: undefined; bool?: undefined; bytes?: undefined; bytes1?: undefined; bytes32?: undefined; bytes31?: undefined; bytes30?: undefined; bytes29?: undefined; bytes28?: undefined; bytes27?: undefined; bytes26?: undefined; bytes25?: undefined; bytes24?: undefined; bytes23?: undefined; bytes22?: undefined; bytes21?: undefined; bytes20?: undefined; bytes19?: undefined; bytes2?: undefined;