@safe-global/safe-singleton-factory
Version:
Singleton factory used by Safe related contracts
18 lines (16 loc) • 350 B
text/typescript
export interface SingletonFactoryInfo {
gasPrice: number;
gasLimit: number;
signerAddress: string;
transaction: string;
address: string;
}
export const getSingletonFactoryInfo = (
chainId: number,
): SingletonFactoryInfo | undefined => {
try {
return require(`../artifacts/${chainId}/deployment.json`);
} catch {
return undefined;
}
};