Exercise Option
Exercises the given option .
Parameters
Name
Type
Description
_params
ExerciseOptionParams
The exercise option parameters.
ExerciseOptionParams Struct
This struct contains the parameters needed to exercise an option.
Field
Type
Description
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
Last updated