Core Components
This section outlines the foundational modules that power the Sova protocol. Each component is modular, extensible, and designed to integrate with DeFi standards and compliance requirements.
1. Registry
Key Functions:
function setStrategy(address implementation, bool allowed) external;
function setHook(address implementation, bool allowed) external;
function setAsset(address asset, bool allowed) external;
function deploy(address implementation, string memory name, string memory symbol, address asset, uint8 assetDecimals, address manager, bytes memory initData) external returns (address strategy, address token);
function isToken(address token) external view returns (bool);
function allTokens() external view returns (address[] memory);
function allStrategies() external view returns (address[] memory);Access Control:
Errors:
2. Strategy
Types:
Core Functions (Basic):
Additional (ReportedStrategy):
Access Control:
Errors:
3. tRWA Token
Types:
Key Functions:
GatedMint Functions:
Events:
Errors:
4. Hooks & Rules Engine
Types:
Hook Interfaces:
KYC Functions:
RulesEngine Functions:
Access Control:
Errors:
5. Reporters
Types:
Key Functions:
Access Control:
Errors:
6. Role Manager
Key Functions:
Role Constants:
Access Control:
Errors:
Last updated