Operational Workflows
Since user withdrawals often times will imply shutting down a validator node and withdrawing from the Consensus Layer, both async actions, the protocol employs a queue-based system that processes requests in batches in a FIFO mannet. This method ensures fair ordering and the certainty to withdraw when funds are available, avoiding bank runs on the protocol.
Staking Process:
A user deposits $BERA and receives gBera tokens in return
The Asset Manager allocates the deposited $BERA to selected validator(s)
The Node Registry stores these allocations
Validators generate rewards in BERA and BGT, thereby increasing the gBera in circulation.
Withdrawal Process:
A user initiates a withdrawal request, resulting in their gBera tokens being locked in the queue
The Asset Manager processes these withdrawal requests
Upon processing, $BERA is returned to the user via the a final withdrawal
The corresponding gBera tokens are burned once the withdrawal is successfully completed.
Last updated