💿Compound Ratio

Trigger contract that verifies if the Compound positions safety ratio for a given user rose above the predefined ratio or fell below that ratio.

Subscription Parameters:

  • address user- Owner of the Compound position.

  • uint256 ratio- Predefined ratio that acts as a threshold.

  • uint8 state - if we want the trigger to be triggered when the current Compound safety ratio is below the ratio parameter or above it.

Calldata Parameters: none

isChangeable: false

Last updated