We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Used to mint ZAI with collateral at a pre-defined rate
https://docs.maha.xyz/mechanics/peg-mechanics/peg-stablility-module-psm
function initialize(address _zai, address _collateral, address _governance, uint256 _newRate, uint256 _supplyCap, uint256 _debtCap, uint256 _mintFeeBps, uint256 _redeemFeeBps, address _feeDestination) external
function updateRate(uint256 _newRate) external
function rate() public view returns (uint256)
function _updateRate(uint256 rate_) internal
Updates the rate of ZAI/Collateral
function feesCollected() public pure returns (uint256)
How much fees has been collected by the protocol