Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New modal for bonus related information #680

Closed
theref opened this issue Dec 4, 2023 · 4 comments
Closed

New modal for bonus related information #680

theref opened this issue Dec 4, 2023 · 4 comments
Milestone

Comments

@theref
Copy link
Member

theref commented Dec 4, 2023

A separate dedicated modal for the bonus should be presented to stakers when they attempt to authorize stake to TACo or top-up, or increase authorization

You have the option of locking up your tokens for longer durations in order to receive a yield bonus of corresponding size. There are 4 choices:
Note that these durations include the obligatory and universal 6 month deauthorization delay. 

Lock-up Duration | Yield Bonus 

( ) 9 months | 0.5% 
( ) 12 months | 1%
( ) 18 months | 2% 
( ) 24 months | 3% 

Amount to authorize and lock for a longer duration: [       ]
Earliest unlock date: [        ]
Bonus sum (approx): [        ]

Note that once you choose a lock-up duration and hit Authorize below, your tokens will be irreversibly locked until the unlock date at the earliest. This cannot be undone. You may authorize more tokens to the same unlock horizon before the bonus deadline (12/30/23) , but you cannot decrease the amount. You must also manually initiate deauthorization 6 months before the unlock date stated if you wish to withdraw tokens on said date. For more rules and information, head to [link to documentation]. 

I acknowledge that once I authorize, my tokens will not be withdrawable until the unlock date stated [   ] 

[Go back] [Authorize] 

image

Besides this totally new modal for first-time authorization, we also need distinct warnings & acknowledgement for the following post-authorization scenarios
i) Before deadline top-up
ii) After deadline top-up
iii) Deauthorization (before & after deadline can be the same, I think)

@piotr-roslaniec
Copy link
Member

@theref Could you also add the references to the relevant smart contract calls if you have them on hand?

@theref
Copy link
Member Author

theref commented Dec 4, 2023

@theref Could you also add the references to the relevant smart contract calls if you have them on hand?

https://github.com/nucypher/nucypher-contracts/blob/5815446b7b8c307ab2bd5b066a9192815648653b/contracts/contracts/TACoApplication.sol#L604

@theref
Copy link
Member Author

theref commented Dec 12, 2023

@theref Could you also add the references to the relevant smart contract calls if you have them on hand?

@piotr-roslaniec I've just realised that you may have meant in the app itself? do you think there should be a link to etherscan or something?

@piotr-roslaniec
Copy link
Member

@theref No no, we're good - I meant the references to contract sources

@theref theref added this to the v1.14.0 milestone Dec 19, 2023
@theref theref closed this as completed Dec 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants