/** * Ethers.js v6 adapter implementation */ import { ethers } from 'ethers'; import type { Abi, Address, Hex } from 'viem'; import { BlockchainAdapter, ContractCallResult } from './types'; export declare class EthersAdapter implements BlockchainAdapter { private provider; private signer?; constructor(provider: ethers.Provider, signer?: ethers.Signer); getProvider(): ethers.Provider; getSigner(): ethers.Signer | undefined; call(contractAddress: Address, abi: Abi, functionName: string, args?: readonly unknown[]): Promise; send(contractAddress: Address, abi: Abi, functionName: string, args?: readonly unknown[], overrides?: { value?: bigint; gas?: bigint; gasPrice?: bigint; maxFeePerGas?: bigint; maxPriorityFeePerGas?: bigint; nonce?: number; account?: Address; chain?: any; }): Promise; encodeFunctionData(contractAddress: Address, abi: Abi, functionName: string, args?: readonly unknown[]): Promise; getAddress(): Promise
; getChainId(): Promise; signMessage(message: string | Uint8Array): Promise; signTypedData>(domain: any, types: any, value: TTypedData): Promise; } //# sourceMappingURL=ethers.d.ts.map