FixedPricePSM
Functions
constructor
Parameters
Name | Type | Description |
---|---|---|
| uint256 | |
| uint256 | |
| struct PegStabilityModule.OracleParams | |
| uint256 | |
| uint256 | |
| uint256 | |
| uint256 | |
| uint256 | |
| contract IERC20 | |
| contract IPCVDeposit |
_getMintAmountOut
helper function to get mint amount out based on current market prices
will revert if price is outside of bounds and bounded PSM is being used
Parameters
Name | Type | Description |
---|---|---|
| uint256 |
_getRedeemAmountOut
helper function to get redeem amount out based on current market prices
will revert if price is outside of bounds and bounded PSM is being used
Parameters
Name | Type | Description |
---|---|---|
| uint256 |
Last updated