@excubiae/contracts
Version:
17 lines • 723 B
TypeScript
import type { BaseContract } from "ethers";
import type { IDeployCloneArgs, IGetProxyContractArgs } from "./types";
/**
* Get proxy contract from deployed proxy factory contract and receipt.
*
* @param args get proxy contract arguments
* @returns proxied contract
*/
export declare const getProxyContract: <T = BaseContract>({ factory, proxyFactory, receipt, signer }: IGetProxyContractArgs) => Promise<T>;
/**
* Deploy proxy clone instance.
*
* @param args deploy proxy clone arguments
* @returns clone contract
*/
export declare const deployProxyClone: <C = BaseContract, T extends unknown[] = []>({ factory, proxyFactory, signer, args }: IDeployCloneArgs<T>) => Promise<C>;
//# sourceMappingURL=deploy.d.ts.map