import { GnosisSafe } from '../../../../typechain/src/ethers-v5/v1.3.0/GnosisSafe' ; import { SENTINEL_ADDRESS } from '../../../utils/constants' ; import GnosisSafeContractEthers from '../GnosisSafeContractEthers' ; class GnosisSafeContract_V1_3_0_Ethers extends GnosisSafeContractEthers { constructor ( public contract ) { super ( contract ) ; } async getModules ( ) { const { array } = await this . contract . getModulesPaginated ( SENTINEL_ADDRESS , 10 ) ; return array ; } async isModuleEnabled ( moduleAddress ) { return this . contract . isModuleEnabled ( moduleAddress ) ; } } export default GnosisSafeContract_V1_3_0_Ethers ;