Overview
Architecture Overview and Module Breakdown
The OpenFi protocol consists of three main parts: the frontend application layer, the core contract layer, and the underlying asset layer. The architecture design aims to achieve high composability, modular deployment, and scalability.
Frontend Application Layer: The user interaction interface, including the web, mobile, and wallet plugins, providing functions such as staking, bond purchases, governance, and more.
Core Contract Layer: Includes the Rebase contract, bond contract, treasury contract, governance contract, etc., providing the operational foundation for OpenFi's financial logic.
Underlying Asset Layer: Manages the assets in the protocol’s treasury, including stablecoins (USDT/USDC), LP Tokens, etc., ensuring secure custody of the assets.
Contract Security and Audit Plan
OpenFi places a high priority on the protocol's security and follows a strict security process from design to deployment:
Modular Audit Process: All contract modules undergo unit testing and audit breakdowns, independently verifying the core logic.
Collaboration with Third-Party Auditors: The protocol will commission well-known industry security firms to conduct comprehensive audits on the main contracts.
Bug Bounty Program: After launch, a bounty program will be set up to encourage white-hat hackers to find potential vulnerabilities, with public rewards offered.
Immutable Contract Constraints: After the core modules are deployed, most contracts will have their code frozen, with only governance parameters being adjustable.
Last updated