-
Notifications
You must be signed in to change notification settings - Fork 8
Add pallet allowing users to stake and receive rewards #155
Conversation
|
@nikoladimitroff Do we want to automatically withdraw the staked amount (plus new tokens) when the lock period expires, or allow it to stay staked, but unlocked, until the user chooses to withdraw? With manual withdrawals, the user could have a significant balance currently unlocked and be receiving a large share of rewards. For example, if they locked for the maximum duration and haven't withdrawn. Additionally, users will need to pay a TXN fee to withdraw their stake. With automatic withdrawals, users need to re-stake tokens and actively maintain this locked stake. There are some more benefits / drawbacks, but I wanted to start the conversation. We can also VC about it with Julio and/or Antoni if we think that's necessary. |
@shelbyd I propose a third one - similar to how bank deposit work.
This approach:
|
This seems effectively identical to automatic withdrawals, but with more explanatory and implementation complexity. I think that we should go with automatic withdrawals for all the reasons listed. Note: Users would still need to pay a TXN fee to restake/withdraw. Users need to pay TXN fee for any user-initiated on-chain activity. |
Re: #156
Some questions @nikoladimitroff
Small TODOs before submitting: