UNPKG

@safe-global/safe-singleton-factory

Version:
16 lines (14 loc) 354 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 } }