Architecture
Last updated
Last updated
FreeDona consists of five parts.
1.Proxy Contract
It is a proxy contract that transfers user calls to the logical contract for execution.
2.Logic Contract
Responsible for logic execution, mainly including user deposit, user withdraw, and donation interest, etc, and it is convenient for users to query.
3.Storage Contract
Record the user's funds, the amount of shares, and the total funds, total shares, and interest shares of the entire pool.
4.Risk Management Contract
Mainly responsible for fund safety management and asset management configuration. The risk control is to protect users’interests from loss.
5.DAO Governance Contract
It is expected to be activated in Stage 2 (See roadmap for more).
The relationships between each contract are described in Figure 2 below.