UNPKG

@particle-network/aa-plugin

Version:
10 lines (9 loc) 541 B
import { SmartAccount, type AccountContract } from '@particle-network/aa'; import { type Plugin } from '@particle-network/plugin-core'; export type WalletPluginProperties = { erc4337: AccountContract; smartAccount: SmartAccount | null; }; export type AAPlugin = Plugin<SmartAccount | null, void, WalletPluginProperties>; export type AAPluginParamers = AccountContract; export declare const aa: (paramers: AAPluginParamers) => import("@particle-network/plugin-core").CreatePluginFn<SmartAccount | null, void, WalletPluginProperties>;