UNPKG

@thirdweb-dev/wallets

Version:

<p align="center"> <br /> <a href="https://thirdweb.com"><img src="https://github.com/thirdweb-dev/js/blob/main/legacy_packages/sdk/logo.svg?raw=true" width="200" alt=""/></a> <br /> </p> <h1 align="center">thirdweb Wallet SDK</h1> <p align="center"> <a h

25 lines 1.21 kB
import { BigNumberish, providers } from "ethers"; import { EntryPoint } from "@account-abstraction/contracts"; /** * This class encapsulates Ethers.js listener function and necessary UserOperation details to * discover a TransactionReceipt for the operation. * * TODO refactor this to a simple event listener on the entry point */ export declare class UserOperationEventListener { readonly resolve: (t: providers.TransactionReceipt) => void; readonly reject: (reason?: any) => void; readonly entryPoint: EntryPoint; readonly sender: string; readonly userOpHash: string; readonly nonce?: BigNumberish | undefined; readonly timeout?: number | undefined; resolved: boolean; boundLisener: (this: any, ...param: any) => void; constructor(resolve: (t: providers.TransactionReceipt) => void, reject: (reason?: any) => void, entryPoint: EntryPoint, sender: string, userOpHash: string, nonce?: BigNumberish | undefined, timeout?: number | undefined); start(): void; stop(): void; listenerCallback(this: any, ...param: any): Promise<void>; extractFailureReason(receipt: providers.TransactionReceipt): Promise<void>; } //# sourceMappingURL=userop-event.d.ts.map