Response: {
"error": "formula
$amount = trigger.data.amount;
if (!$is_owner) bounce('You need to be the owner of the CDP');
if ($liquidation) bounce('The CDP is in liquidation');
if ($amount <= 0) bounce('The amount must be positive');
if ($collateral <= 0) bounce('The CDP collateral must be positive');
if (($collateral - $amount) < 0) bounce('The amount must be lower or equal to the current CDP collateral');
if ($debt > 0) {
$collateralization_ratio = (($collateral - $amount) * $rate / $decimal_multiplier_base) / ($debt / $decimal_multiplier_ousd);
if ($collateralization_ratio >= $liquidation_ratio)
bounce('You need a collateralization ratio over ' || $liquidation_ratio || ', found ' || $collateralization_ratio);
}
failed: booleans cannot be compared with other types"
}