Last updated
Last updated
Inherits: ICollateralManager, Ownable
Author: Sperax Foundation
This contract manages the addition and removal of collateral, configuration of collateral strategies, and allocation percentages.
Collateral Manager interacts with the Vault and various strategies for collateral management.
Constructor to initialize the Collateral Manager
Parameters
Register a collateral for mint & redeem in USDs
Parameters
Update existing collateral configuration
Parameters
Un-list a collateral
Parameters
Add a new strategy to collateral
Parameters
Update existing strategy for collateral
Parameters
Remove an existing strategy from collateral
Ensure all the collateral is removed from the strategy before calling this Otherwise it will create error in collateral accounting
Parameters
Validate allocation for a collateral
Parameters
Returns
Get the required data for mint
Parameters
Returns
Get the required data for mint
Parameters
Returns
Get the required data for USDs redemption
Parameters
Returns
Gets a list of all listed collaterals
Returns
Gets a list of all strategies linked to a collateral
Parameters
Returns
Verifies if a strategy is linked to a collateral
Parameters
Returns
Get the amount of collateral in all Strategies
Parameters
Returns
Get the amount of collateral in vault
Parameters
Returns
Get the amount of collateral allocated in a strategy
Parameters
Returns