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

31 lines 1.23 kB
import { ConnectParams, Connector } from "../../interfaces/connector"; import type { SafeConnectionArgs, SafeSupportedChains as _SafeSupportedChains } from "./types"; import { ethers } from "ethers"; import type { Signer } from "ethers"; import { EVMWallet } from "../../interfaces"; export type SafeSupportedChains = _SafeSupportedChains; export declare class SafeConnector extends Connector<SafeConnectionArgs> { static supportedChains: string[]; supportedChains: string[]; readonly id = "safe-wallet"; ready: boolean; name: string; previousConnector?: EVMWallet; private safeSigner?; personalWallet?: EVMWallet; constructor(); connect(args: ConnectParams<SafeConnectionArgs>): Promise<string>; private createSafeSigner; disconnect(): Promise<void>; getAddress(): Promise<string>; getChainId(): Promise<number>; getProvider(): Promise<ethers.providers.Provider>; getSigner(): Promise<Signer>; isConnected(): Promise<boolean>; protected onAccountsChanged(accounts: string[]): void; protected onDisconnect(): void; switchChain(): Promise<void>; updateChains(): void; setupListeners(): Promise<void>; } //# sourceMappingURL=index.d.ts.map