YGZaynFi Facet
A brief description of the YGZaynFi facet
Facet description
The Yield Generation Facet handles the main new feature in Takaturn 2.0. This facet is designed to optimize the project's financial operations by interacting with the third-party yield generation protocol ZaynFi. This facet enables users to generate yield from their collateral deposited, enhancing overall value-proposition.
Key features
Integration with ZaynFi: This facet integrates seamlessly with ZaynFi. It establishes communication channels and interfaces with these protocols to leverage their yield-generating capabilities.
Deposit and Withdrawal: This facet handles the deposit and withdrawal of collateral into and from ZaynFi. It ensures that users' collateral is optimally utilized to generate yield while maintaining liquidity. The collateral will be withdrawn on-demand
Yield Management & Claiming: This facet is responsible for claiming the generated yield from the third-party protocols. It ensures that the earned yield is securely collected and allocated appropriately.
Opt-in Mechanism: This facet also handles which user which user chooses to opt-into yield generation and which user doesn't. Yield generation is handled per user and each user has the choice to generate yield or not.
Use cases
Yield Generation Provision: The primary use case of the YGZaynFi Facet is to provide a yield generation option for users. By interacting with ZaynFi, it optimizes the use of users' collateral, ensuring they benefit from enhanced yield opportunities.
Function signatures
You can find the function signatures of this facet below.
YGZaynFi Facet FunctionsLast updated