Skip to content

Commit

Permalink
Improve wording when topping up or de-authing
Browse files Browse the repository at this point in the history
Co-authored-by: Arjun Hassard <[email protected]>
  • Loading branch information
theref and arjunhassard committed Feb 7, 2024
1 parent a0ed037 commit cf36d08
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 5 deletions.
12 changes: 8 additions & 4 deletions src/components/Modal/TopupTModal/TopUpTModal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -59,11 +59,15 @@ const TopupTModal: FC<
your initial stake.
</BodyLg>
<BodyLg>
If you want to put your new topped-up tokens at work, make sure to
increase the authorization to your applications.
If you want to put newly topped-up tokens to work, make sure to
individually increase the total authorization to each Threshold
application (tBTC, Random Beacon & TACo).
<br />
If you increase the Authorization to TACo, the new tokens will be
subject to the same lock-up period as your current stake.
If you increase the total number of tokens authorized to the TACo
app, those tokens will automatically be subject to the same unlock
horizon as your current TACo stake, including the min.
deauthorization delay (6 months), plus any lock-up extension on
top of that.
</BodyLg>
</InfoBox>
<StakingStats
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -269,7 +269,9 @@ export const AuthorizeApplicationsCardCheckboxBase: FC<
(Number(endCommitment) ?? 0) * 1000
).toLocaleDateString()
if (isCommited) {
alert(`You are still committed until ${endCommitmentDate}.`)
alert(
`Your tokens remain committed until ${endCommitmentDate}, at which point you may initiate deauthorization.`
)
} else {
onInitiateDeauthorization(tokenAmount)
}
Expand Down

0 comments on commit cf36d08

Please sign in to comment.