> For the complete documentation index, see [llms.txt](https://docs.carbondefi.xyz/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.carbondefi.xyz/contracts-and-functions/carboncontroller-functions/data-and-events/strategyupdated.md).

# StrategyUpdated()

{% code title="CarbonController.sol" overflow="wrap" lineNumbers="true" %}

```solidity
    event StrategyUpdated(
        uint256 indexed id,
        Token indexed token0,
        Token indexed token1,
        Order order0,
        Order order1,
        uint8 reason
    );
```

{% endcode %}

This event is emitted when the parameters of a strategy are changed.

### Event Parameters

| Name   | Type    | Description                                                            |
| ------ | ------- | ---------------------------------------------------------------------- |
| id     | uint256 | The incrementally assigned id number of the strategy                   |
| token0 | Token   | The first token in the strategy                                        |
| token1 | Token   | The second token in the strategy                                       |
| order0 | Order   | The first Order object in the strategy. See below for details.         |
| order1 | Order   | The second Order object in the strategy. See below for details.        |
| reason | unit8   | Indicating if the update is a result of a user update (0) or trade (1) |

```
// {y, z, A, B} order
```
