Exercise Option
Last updated
Was this helpful?
Last updated
Was this helpful?
Exercises the given option .
Parameters
_params
ExerciseOptionParams
The exercise option parameters.
This struct contains the parameters needed to exercise an option.
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