FixedPricePSM
Functions
constructor
Parameters
Name
Type
Description
_floor
uint256
_ceiling
uint256
_params
struct PegStabilityModule.OracleParams
_mintFeeBasisPoints
uint256
_redeemFeeBasisPoints
uint256
_reservesThreshold
uint256
_chiLimitPerSecond
uint256
_mintingBufferCap
uint256
_underlyingToken
contract IERC20
_surplusTarget
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
amountIn
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
amountChiIn
uint256
Last updated