let ethers5Adapter: {
contract: {
fromEthers: (
options: FromEthersContractOptions,
toEthers: (options: {
}) => Promise<Contract>;
};
provider: {
toEthers: (options: {
chain: {
readonly blockExplorers?: Array<{
apiUrl?: string;
name: string;
url: string;
}>;
readonly experimental?: { increaseZeroByteCount?: boolean };
readonly icon?: Icon;
readonly id: number;
readonly name?: string;
readonly nativeCurrency?: {
decimals?: number;
name?: string;
symbol?: string;
};
readonly rpc: string;
readonly testnet?: true;
};
}) => Provider;
};
signer: {
fromEthers: (options: { signer: Signer }) => Promise<Account>; toEthers: (options: {
chain: {
readonly blockExplorers?: Array<{
apiUrl?: string;
name: string;
url: string;
}>;
readonly experimental?: { increaseZeroByteCount?: boolean };
readonly icon?: Icon;
readonly id: number;
readonly name?: string;
readonly nativeCurrency?: {
decimals?: number;
name?: string;
symbol?: string;
};
readonly rpc: string;
readonly testnet?: true;
};
}) => Promise<ThirdwebAdapterSigner>;
};
};