Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TRST-R-4 Remove unused LicenseRegistry.setExpireTime() function #166

Merged
merged 4 commits into from
Jun 27, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 0 additions & 7 deletions contracts/registries/LicenseRegistry.sol
Original file line number Diff line number Diff line change
Expand Up @@ -112,13 +112,6 @@ contract LicenseRegistry is ILicenseRegistry, AccessManagedUpgradeable, UUPSUpgr
emit LicenseTemplateRegistered(licenseTemplate);
}

/// @notice Sets the expiration time for an IP.
/// @param ipId The address of the IP.
/// @param expireTime The new expiration time, 0 means never expired.
function setExpireTime(address ipId, uint256 expireTime) external onlyLicensingModule {
_setExpirationTime(ipId, expireTime);
}

/// @notice Sets the minting license configuration for a specific license attached to a specific IP.
/// @dev This function can only be called by the LicensingModule.
/// @param ipId The address of the IP for which the configuration is being set.
Expand Down
Loading