diff --git a/packages/ui/components/DataFeedDetails.vue b/packages/ui/components/DataFeedDetails.vue index dc76d6a2..ac288577 100644 --- a/packages/ui/components/DataFeedDetails.vue +++ b/packages/ui/components/DataFeedDetails.vue @@ -12,11 +12,7 @@ :title="$t('data_feed_details.contract_address')" class="contract-container" > - + {{ feedAddress }} @@ -80,6 +76,11 @@ export default { svgIcon() { return this.feed.name.split('/').join('') }, + url() { + return this.feed.network === 'mainnet' + ? `https://etherscan.io/address/${this.feedAddress}#code` + : `https://${this.feed.network}.etherscan.io/address/${this.feedAddress}#code` + }, numberOfPages() { return Math.ceil(this.feed.requests.length / this.itemsPerPage) },