# CurveUsdSoftLiquidationTrigger

### Description

Trigger that triggers when a user is in, or %percentage away from soft liquidation

> **Notes**
>
> Checks if user is in, or %percentage away from soft liquidation If the user is fully soft liquidated "percentage" is ignored and returns false

### Trigger ID

`0x7ff68c12`

### SDK Action

```ts
const curveUsdSoftLiquidationTrigger = new dfs.triggers.CurveUsdSoftLiquidationTrigger(
    ...args
);
```

### Subscription Parameters

```solidity
/// @param market - CurveUsd market
/// @param user - Address of the position owner
/// @param percentage - Price percentage threshold for triggering before soft liquidation
struct SubParams {
    address market;
    address user;
    uint256 percentage;
}
```

### Calldata Parameters

```solidity
None
```

### IsChangeable

`false`


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.defisaver.com/triggers/curveusd/curveusdsoftliquidationtrigger.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
