From c2e0f2f4a20c39ea6df6eb36f180ca20a1d33ccf Mon Sep 17 00:00:00 2001 From: Jem <0x0xjem@gmail.com> Date: Wed, 31 Jan 2024 17:53:05 +0400 Subject: [PATCH] Comment --- src/modules/derivatives/LinearVesting.sol | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/modules/derivatives/LinearVesting.sol b/src/modules/derivatives/LinearVesting.sol index 41e673c5..81ac894f 100644 --- a/src/modules/derivatives/LinearVesting.sol +++ b/src/modules/derivatives/LinearVesting.sol @@ -472,6 +472,12 @@ contract LinearVesting is DerivativeModule { return (tokenId_, token.wrapped); } + /// @notice Deploys the wrapped derivative token if it does not already exist + /// @dev If the wrapped derivative token does not exist, it will be deployed + /// + /// @param tokenId_ The ID of the derivative token + /// @param token_ The metadata for the derivative token + /// @return wrappedAddress The address of the wrapped derivative token function _deployWrapIfNeeded( uint256 tokenId_, Token storage token_