UNPKG

@gnosis.pm/safe-singleton-factory

Version:

Singleton factory used by Safe related contracts

15 lines (14 loc) 350 B
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 } }