import { Injectable } from '@angular/core' ; import { ConfigurationService } from './configuration.service' ; import { Web3Service } from './web3.service' ; @ Injectable ( { providedIn : 'root' } ) export class EnsService { constructor ( private configurationService , private web3Service ) { } lookupAddress ( address ) { return this . web3Service . ethersProvider . lookupAddress ( address ) ; } resolveName ( name ) { return this . web3Service . ethersProvider . resolveName ( name ) ; } }