Function: collateralizedMint(PoolParams poolParams, uint256 shares, address longRecipient, address shortRecipient)
This function is used to mint long and short tokens with collateral.
Inputs
poolParamsControl: Arbitrary.
Constraints: None.
Impact: Pool parameters.
sharesControl: Arbitrary.
Constraints: None.
Impact: Amount of shares to mint.
longRecipientControl: Arbitrary.
Constraints: None.
Impact: Address of the long recipient.
shortRecipientControl: Arbitrary.
Constraints: None.
Impact: Address of the short recipient.
Branches and code coverage
Intended branches
Invokes
_collateralizedMintwithmsg.senderaspayerusing the same parameters.