Exercise Option
Last updated
Last updated
Β© 2024 Stryke
Exercises the given option .
Parameters
Name | Type | Description |
---|---|---|
This struct contains the parameters needed to exercise an option.
Field | Type | Description |
---|---|---|
_params
ExerciseOptionParams
The exercise option parameters.
optionId
uint256
Identifier of the option to exercise
swapper
ISwapper[]
Array of swapper interfaces
swapData
bytes[]
Array of swap data
liquidityToExercise
uint256[]
Array of liquidity amounts to exercise