@velora-dex/sdk
Version:
10 lines • 684 B
TypeScript
import type { Address, ContractCallerFunctions } from '../../types';
import type { BaseProvider } from '@ethersproject/providers';
import type { Signer } from '@ethersproject/abstract-signer';
import type { Contract as EthersV5Contract, ContractTransaction } from '@ethersproject/contracts';
export interface EthersV5ProviderDeps {
ethersProviderOrSigner: BaseProvider | Signer;
EthersContract: typeof EthersV5Contract;
}
export declare const constructEthersV5ContractCaller: ({ ethersProviderOrSigner: providerOrSigner, EthersContract: Contract, }: EthersV5ProviderDeps, account?: Address) => ContractCallerFunctions<ContractTransaction>;
//# sourceMappingURL=ethers.d.ts.map