Skip to content

Commit

Permalink
rebase to main
Browse files Browse the repository at this point in the history
  • Loading branch information
kingster-will committed Apr 18, 2024
1 parent 136ccb2 commit 889e193
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions contracts/LicenseToken.sol
Original file line number Diff line number Diff line change
Expand Up @@ -188,13 +188,6 @@ contract LicenseToken is ILicenseToken, ERC721EnumerableUpgradeable, AccessManag
return _getLicenseTokenStorage().licenseTokenMetadatas[tokenId].licenseTemplate;
}

/// @notice Gets the expiration time of a License Token.
/// @param tokenId The ID of the License Token.
/// @return The expiration time of the License Token.
function getExpirationTime(uint256 tokenId) external view returns (uint256) {
return _getLicenseTokenStorage().licenseTokenMetadatas[tokenId].expiresAt;
}

/// @notice Returns true if the license has been revoked (licensor IP tagged after a dispute in
/// the dispute module). If the tag is removed, the license is not revoked anymore.
/// @return isRevoked True if the license is revoked
Expand Down

0 comments on commit 889e193

Please sign in to comment.