Exercise Option
Last updated
Was this helpful?
Exercises the given option .
function exerciseOption(ExerciseOptionParams calldata _params) external nonReentrant returns (AssetsCache memory ac);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
Last updated
Was this helpful?
Was this helpful?