strategy()
CarbonController.sol
This function is used to get details about a strategy, specified by its ID.
Function Arguments
Name | Type | Description |
---|---|---|
id | uint256 | The ID of the strategy |
Returns
This function returns details about the specified strategy.
Name | Type | Description |
---|---|---|
id | uint256 | The ID of the strategy |
owner | address | The address of the owner of the strategy |
tokens | array | An array containing the addresses of token0 and token1 |
orders | array | An array containing the order objects that specify the parameters of each order contained by the strategy |
Example
Last updated