fix: audit
This commit is contained in:
parent
9f8aad114c
commit
b91b81f5c9
21 changed files with 140 additions and 53 deletions
|
@ -12,7 +12,7 @@
|
|||
class="footer-address__value"
|
||||
target="_blank"
|
||||
:href="addressExplorerUrl(donationsAddress)"
|
||||
rel="noreferrer"
|
||||
rel="noopener noreferrer"
|
||||
>{{ donationsAddress }}</a
|
||||
>
|
||||
</div>
|
||||
|
@ -31,7 +31,7 @@
|
|||
type="is-icon"
|
||||
:href="duneLink"
|
||||
target="_blank"
|
||||
rel="noreferrer"
|
||||
rel="noopener noreferrer"
|
||||
icon-right="stats"
|
||||
></b-button>
|
||||
<b-button
|
||||
|
@ -39,7 +39,7 @@
|
|||
type="is-icon"
|
||||
href="https://torn.community"
|
||||
target="_blank"
|
||||
rel="noreferrer"
|
||||
rel="noopener noreferrer"
|
||||
icon-right="discourse"
|
||||
></b-button>
|
||||
<b-button
|
||||
|
@ -47,7 +47,7 @@
|
|||
type="is-icon"
|
||||
href="https://discord.com/invite/TFDrM8K42j"
|
||||
target="_blank"
|
||||
rel="noreferrer"
|
||||
rel="noopener noreferrer"
|
||||
icon-right="discord"
|
||||
></b-button>
|
||||
<b-button
|
||||
|
@ -55,7 +55,7 @@
|
|||
type="is-icon"
|
||||
href="https://tornado-cash.medium.com"
|
||||
target="_blank"
|
||||
rel="noreferrer"
|
||||
rel="noopener noreferrer"
|
||||
icon-right="medium"
|
||||
></b-button>
|
||||
<b-button
|
||||
|
@ -63,7 +63,7 @@
|
|||
type="is-icon"
|
||||
href="https://twitter.com/TornadoCash"
|
||||
target="_blank"
|
||||
rel="noreferrer"
|
||||
rel="noopener noreferrer"
|
||||
icon-right="twitter"
|
||||
></b-button>
|
||||
<b-button
|
||||
|
@ -71,7 +71,7 @@
|
|||
type="is-icon"
|
||||
href="https://t.me/TornadoCashOfficial"
|
||||
target="_blank"
|
||||
rel="noreferrer"
|
||||
rel="noopener noreferrer"
|
||||
icon-right="telegram"
|
||||
></b-button>
|
||||
<b-button
|
||||
|
@ -79,7 +79,7 @@
|
|||
type="is-icon"
|
||||
href="https://github.com/tornadocash"
|
||||
target="_blank"
|
||||
rel="noreferrer"
|
||||
rel="noopener noreferrer"
|
||||
icon-right="github"
|
||||
></b-button>
|
||||
<div class="break"></div>
|
||||
|
|
|
@ -14,7 +14,12 @@
|
|||
<b-skeleton v-if="!job.txHash && job.status !== 'FAILED'" />
|
||||
<div v-else class="details">
|
||||
<p class="detail">
|
||||
<a class="detail-description" :href="txExplorerUrl(job.txHash)" target="_blank">
|
||||
<a
|
||||
class="detail-description"
|
||||
:href="txExplorerUrl(job.txHash)"
|
||||
target="_blank"
|
||||
rel="noopener noreferrer"
|
||||
>
|
||||
{{ job.txHash }}
|
||||
</a>
|
||||
</p>
|
||||
|
|
|
@ -3,7 +3,9 @@
|
|||
<template v-slot:content>
|
||||
<template v-if="isLoggedIn">
|
||||
<p>{{ $t('web3connected') }}</p>
|
||||
<a :href="addressExplorerUrl(ethAccount)" target="_blank">{{ shortAddress(ethAccount) }}</a>
|
||||
<a :href="addressExplorerUrl(ethAccount)" target="_blank" rel="noopener noreferrer">{{
|
||||
shortAddress(ethAccount)
|
||||
}}</a>
|
||||
<p><NumberFormat :value="balance" /> {{ currency }}</p>
|
||||
</template>
|
||||
<template v-else>
|
||||
|
|
|
@ -18,7 +18,12 @@
|
|||
<b-navbar-item tag="router-link" to="/compliance">
|
||||
{{ $t('compliance') }}
|
||||
</b-navbar-item>
|
||||
<b-navbar-item href="http://docs.tornado.cash" target="_blank" rel="noreferrer" class="has-tag">
|
||||
<b-navbar-item
|
||||
href="https://docs.tornado.cash"
|
||||
target="_blank"
|
||||
rel="noopener noreferrer"
|
||||
class="has-tag"
|
||||
>
|
||||
<b-icon icon="open-book" size="is-small" class="mr-1" />
|
||||
<span>{{ $t('docs') }}</span>
|
||||
</b-navbar-item>
|
||||
|
|
|
@ -18,10 +18,15 @@
|
|||
</template>
|
||||
<template v-slot:description>{{ notice.description }}</template>
|
||||
</i18n>
|
||||
<a v-if="notice.nova" href="https://nova.tornadocash.eth.link" target="_blank">
|
||||
<a
|
||||
v-if="notice.nova"
|
||||
href="https://nova.tornadocash.eth.link"
|
||||
target="_blank"
|
||||
rel="noopener noreferrer"
|
||||
>
|
||||
Tornado Cash Nova
|
||||
</a>
|
||||
<a v-if="notice.txHash" :href="txExplorerUrl(notice.txHash)" target="_blank">
|
||||
<a v-if="notice.txHash" :href="txExplorerUrl(notice.txHash)" target="_blank" rel="noopener noreferrer">
|
||||
{{ $t('viewOnEtherscan') }}
|
||||
</a>
|
||||
<n-link v-else-if="notice.routerLink" v-bind="notice.routerLink.params" @onClick="$forceUpdate()">
|
||||
|
|
|
@ -22,7 +22,12 @@
|
|||
<div class="column is-hash" :data-label="$t('txHash')">
|
||||
<div class="details">
|
||||
<p class="detail">
|
||||
<a class="detail-description" :href="txExplorerUrl(tx.txHash)" target="_blank">
|
||||
<a
|
||||
class="detail-description"
|
||||
:href="txExplorerUrl(tx.txHash)"
|
||||
target="_blank"
|
||||
rel="noopener noreferrer"
|
||||
>
|
||||
{{ tx.txHash }}
|
||||
</a>
|
||||
</p>
|
||||
|
|
|
@ -123,7 +123,7 @@
|
|||
<div class="column is-full-small">
|
||||
<strong>{{ $t('proposalAddress') }}</strong>
|
||||
<div class="value">
|
||||
<a :href="contractUrl" class="address" target="_blank">
|
||||
<a :href="contractUrl" class="address" target="_blank" rel="noopener noreferrer">
|
||||
{{ data.target }}
|
||||
</a>
|
||||
</div>
|
||||
|
|
|
@ -12,7 +12,9 @@
|
|||
</b-field>
|
||||
<div class="label-with-value">
|
||||
{{ $t('currentDelegate') }}:
|
||||
<a target="_blank" :href="addressExplorerUrl(currentDelegate)">{{ delegateMsg }}</a>
|
||||
<a target="_blank" :href="addressExplorerUrl(currentDelegate)" rel="noopener noreferrer">{{
|
||||
delegateMsg
|
||||
}}</a>
|
||||
</div>
|
||||
<div>
|
||||
<b-tooltip
|
||||
|
|
|
@ -5,7 +5,9 @@
|
|||
</div>
|
||||
<div class="label-with-value">
|
||||
{{ $t('currentDelegate') }}:
|
||||
<a target="_blank" :href="addressExplorerUrl(currentDelegate)">{{ delegateMsg }}</a>
|
||||
<a target="_blank" :href="addressExplorerUrl(currentDelegate)" rel="noopener noreferrer">{{
|
||||
delegateMsg
|
||||
}}</a>
|
||||
</div>
|
||||
<b-tooltip
|
||||
class="is-block"
|
||||
|
|
|
@ -14,6 +14,7 @@
|
|||
v-show="!hasErrorNote && depositTxHash"
|
||||
:href="txExplorerUrl(depositTxHash)"
|
||||
target="_blank"
|
||||
rel="noopener noreferrer"
|
||||
class="button is-icon"
|
||||
>
|
||||
<b-tooltip
|
||||
|
@ -377,9 +378,6 @@ export default {
|
|||
this.$emit('get-key', this.getKeys)
|
||||
},
|
||||
mounted() {
|
||||
if (this.$route.query.note) {
|
||||
this.withdrawNote = this.$route.query.note
|
||||
}
|
||||
this.$root.$on('resetWithdraw', () => {
|
||||
this.withdrawAddress = ''
|
||||
this.withdrawNote = ''
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue