FixedPricePSM
Last updated
Last updated
Name | Type | Description |
---|---|---|
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
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
Name | Type | Description |
---|---|---|
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
amountIn
uint256
amountChiIn
uint256