@safe-global/safe-singleton-factory
Version:
Singleton factory used by Safe related contracts
16 lines (14 loc) • 354 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
}
}