UNPKG

@sky-mavis/katana-swap

Version:
11 lines 470 B
import { StaticJsonRpcProvider, Web3Provider } from '@ethersproject/providers'; import { BaseContract, ContractInterface } from 'ethers'; type GetContractArgs = { address: string; ABI: ContractInterface; provider: Web3Provider | StaticJsonRpcProvider; account?: string; }; declare const getContract: <T extends BaseContract>({ address, ABI, provider, account }: GetContractArgs) => T | null; export { getContract }; //# sourceMappingURL=contract.d.ts.map