💲Mcd Ratio
Trigger contract that verifies if the Maker positions safety ratio for a given user rose above the predefined ratio or fell below that ratio.
Subscription Parameters:
uint256 vaultId
- Id of the Maker vault.uint256 ratio
- Predefined ratio that acts as a threshold.uint8 state
- if we want the trigger to be triggered when the current Maker safety ratio is below the ratio parameter or above it.
This trigger uses calldata parameters!
Calldata Parameters:
uint256 nextPrice
- price that OSM returns as next price value.uint8 ratioCheck
- if we want the trigger to use only current asset price, nextPrice parameter or both of them.
isChangeable: false
Last updated