Skip to content

Commit

Permalink
Free Pertsev!
Browse files Browse the repository at this point in the history
  • Loading branch information
bokkypoobah committed Jun 28, 2024
1 parent f16509c commit 8f09c67
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions docs/viewName.js
Original file line number Diff line number Diff line change
Expand Up @@ -73,14 +73,9 @@ const ViewName = {
</b-link>
</span>
</template>
<template #cell(txHash)="data">
<b-link v-if="chainInfo[chainId]" :href="chainInfo[chainId].explorerTxPrefix + data.item.txHash" target="_blank">
{{ data.item.txHash.substring(0, 10) + '...' + data.item.txHash.slice(-8) }}
</b-link>
</template>
<template #cell(contract)="data">
<b-link v-if="chainInfo[chainId]" :href="chainInfo[chainId].explorerAddressPrefix + data.item.contract" target="_blank">
{{ data.item.contract.substring(0, 10) + '...' + data.item.contract.slice(-8) }}
<b-link v-if="chainInfo[chainId]" :href="chainInfo[chainId].explorerAddressPrefix + data.item.contract" v-b-popover.hover.top="data.item.contract" target="_blank">
{{ addressName(data.item.contract) }}
</b-link>
</template>
<template #cell(info)="data">
Expand Down Expand Up @@ -387,6 +382,12 @@ const ViewName = {
setShow(show) {
store.dispatch('viewName/setShow', show);
},
addressName(a) {
if (a in VALID_ENS_CONTRACTS) {
return VALID_ENS_CONTRACTS[a];
}
return a;
},

async refreshTokenMetadata() {
const imageUrlToBase64 = async url => {
Expand Down
Binary file modified images/ViewName.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 8f09c67

Please sign in to comment.