Deposit Lifecycle
Last updated
Last updated
The deposit lifecycle in the EUSD system is designed to be seamless and efficient, ensuring that users can quickly and easily start earning yield on their stablecoins. Here is a brief sequence of events that take place during a deposit:
User Interaction: The user interacts with the deposit function on the fund pool contract in any supported network.
Transfer to Fund Pool Reserves: The fund pool contract transfers the user's USDC to the fund pool reserves.
Minting Shares in Enclave Fund Pool: Based on the fund pool reserves across networks, shares in the Enclave Fund Pool are minted to the user on the corresponding network's EUSD contract. This action reflects in the user's EUSD balance, which will equal the deposited value of USDC.
Rebalancer Service Capital Deployment: The Rebalancer Service will asynchronously deploy capital from the cash reserves of the fund pool into different yield sources. This deployment is based on the automated yield maximization strategy and the current source weights, ensuring optimal returns for the user.