Withdraw
Last updated
Last updated
Withdraw process step-by-step:
External user sends withdrawal request to the Vault via enjoyoors.xyz.
The Vault emits a corresponding event.
The Relayer reaches consensus.
The gigaCDP adds withdrawal request to the queue.
The gigaCDP processes the queue in the next epoch and closes / updates a collateralized debt position (CDP).
The gigaCDP aggregates CDPs to calculate actual and target circulating supply of gigaAssets.
The gigaCDP emits corresponding event.
The PMS recalculates portfolio allocations to target protocols and AMM pools based on the new circulating supply of gigaAssets.
The PMS decides on gigaAssets liquidity rebalancing base on new portfolio allocation details.
The PMS emits corresponding event.
The Relayer reaches consensus.
The Relayer signs and transmits a message containing rebalancing details to the gigaAsset Manager.
If the External user has debt External user will receive message from gigaCDP with claim rejection and debt details.
The External user repays debt in gigaCDP.
If the External user doesn't have debt he receives claim voucher from gigaCDP.
The External user receives assets from Vault by using claim voucher.