Skip to content

Commit 2a6fea2

Browse files
authored
feat: withdrawal message (#268)
1 parent e0e1c16 commit 2a6fea2

File tree

1 file changed

+9
-26
lines changed

1 file changed

+9
-26
lines changed

views/transactions/Transfer.vue

Lines changed: 9 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -117,35 +117,18 @@
117117
<template v-else-if="step === 'withdrawal-finalization-warning'">
118118
<CommonAlert variant="warning" :icon="ExclamationTriangleIcon" class="mb-block-padding-1/2 sm:mb-block-gap">
119119
<p v-if="!isCustomNode">
120-
After a
120+
After an approximately
121121
<a class="underline underline-offset-2" :href="ZKSYNC_WITHDRAWAL_DELAY" target="_blank"
122122
>~5+ hour withdrawal delay</a
123-
>, you will need to manually claim your funds which requires paying another transaction fee on
124-
{{ eraNetwork.l1Network?.name }}. Alternatively you can use
125-
<a
126-
href="https://zksync.dappradar.com/ecosystem?category=defi_bridge"
127-
target="_blank"
128-
class="underline underline-offset-2"
129-
>third-party bridges</a
130-
>.
123+
>, return to this portal to claim your funds on Ethereum. Claiming will require paying Ethereum transaction
124+
fees. You may also choose to use a third-party bridge to withdraw funds, at your own risk.
131125
</p>
132126
<p v-else>
133-
After transaction is executed on {{ eraNetwork.l1Network?.name }}, you will need to manually claim your
134-
funds which requires paying another transaction fee on {{ eraNetwork.l1Network?.name }}.
127+
After transaction is executed on {{ eraNetwork.l1Network?.name }}, you will need to claim your funds which
128+
requires paying another transaction fee on {{ eraNetwork.l1Network?.name }}.
135129
</p>
136130
</CommonAlert>
137-
<CommonButton
138-
as="a"
139-
href="https://zksync.dappradar.com/ecosystem?category=defi_bridge"
140-
target="_blank"
141-
type="submit"
142-
variant="primary"
143-
class="mt-block-gap w-full gap-1"
144-
>
145-
See third-party bridges
146-
<ArrowTopRightOnSquareIcon class="h-6 w-6" aria-hidden="true" />
147-
</CommonButton>
148-
<CommonButton size="sm" class="mx-auto mt-block-gap w-max" @click="buttonContinue()">
131+
<CommonButton variant="primary" class="mx-auto mt-block-gap w-max" @click="buttonContinue()">
149132
I understand, proceed to withdrawal
150133
</CommonButton>
151134
</template>
@@ -157,11 +140,11 @@
157140
class="mb-block-padding-1/2 sm:mb-block-gap"
158141
>
159142
<p v-if="withdrawalManualFinalizationRequired">
160-
You will be able to claim your withdrawal only after a 5+ hour withdrawal delay.
143+
You will be able to claim your withdrawal after an approximate 5+ hour withdrawal delay.
161144
<a class="underline underline-offset-2" :href="ZKSYNC_WITHDRAWAL_DELAY" target="_blank">Learn more</a>
162145
</p>
163146
<p v-else>
164-
You will receive funds only after a 5+ hour withdrawal delay.
147+
You will receive funds after an approximate 5+ hour withdrawal delay.
165148
<a class="underline underline-offset-2" :href="ZKSYNC_WITHDRAWAL_DELAY" target="_blank">Learn more</a>
166149
</p>
167150
</CommonAlert>
@@ -329,7 +312,7 @@
329312
</template>
330313

331314
<script lang="ts" setup>
332-
import { ArrowTopRightOnSquareIcon, ExclamationTriangleIcon, InformationCircleIcon } from "@heroicons/vue/24/outline";
315+
import { ExclamationTriangleIcon, InformationCircleIcon } from "@heroicons/vue/24/outline";
333316
import { useRouteQuery } from "@vueuse/router";
334317
import { isAddress } from "ethers";
335318

0 commit comments

Comments
 (0)