StrategyUpdated()

CarbonController.sol
    event StrategyUpdated(
        uint256 indexed id,
        Token indexed token0,
        Token indexed token1,
        Order order0,
        Order order1,
        uint8 reason
    );

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

Event Parameters

NameTypeDescription

id

uint256

The incrementally assigned id number of the strategy

owner

address

The address of the owner 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

Last updated