Skip to content

Commit

Permalink
Comment
Browse files Browse the repository at this point in the history
  • Loading branch information
0xJem committed Jan 31, 2024
1 parent e901d07 commit c2e0f2f
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/modules/derivatives/LinearVesting.sol
Original file line number Diff line number Diff line change
Expand Up @@ -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_
Expand Down

0 comments on commit c2e0f2f

Please sign in to comment.