StrategyCreated()

CarbonController.sol
   event StrategyCreated(
        uint256 id,
        address indexed owner,
        Token indexed token0,
        Token indexed token1,
        Order order0,
        Order order1
    );

This event is emitted when a new strategy is created.

Event Parameters

Name
Type
Description

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.

order1

Order

The second Order object in the strategy.

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

Last updated