mirror of
https://github.com/luxfi/page-provider.git
synced 2026-10-30 15:22:37 +00:00
18 lines
532 B
TypeScript
18 lines
532 B
TypeScript
import { EthereumProvider } from "../index";
|
|
declare class PushEventHandlers {
|
|
provider: EthereumProvider;
|
|
constructor(provider: any);
|
|
_emit(event: any, data: any): void;
|
|
connect: (data: any) => void;
|
|
unlock: () => void;
|
|
lock: () => void;
|
|
disconnect: () => void;
|
|
accountsChanged: (accounts: any) => void;
|
|
chainChanged: ({ chain, networkVersion }: {
|
|
chain: any;
|
|
networkVersion: any;
|
|
}) => void;
|
|
"lux:chainChanged": (chain: any) => void;
|
|
}
|
|
export default PushEventHandlers;
|