State Variables
LICENSE_REGISTRY
LICENSING_MODULE
DISPUTE_MODULE
MAX_COMMERCIAL_REVENUE_SHARE
LicenseTokenMetadata
licensorIpId: The IP asset that is the licensorlicenseTemplate: The license template contract addresslicenseTermsId: The ID of the license termstransferable: Whether the license token can be transferredcommercialRevShare: The commercial revenue share percentage
Functions
initialize
accessManager: The address of the access manager.imageUrl: The URL of the default image for license tokens.
setLicensingImageUrl
url: The URL of the licensing image.
mintLicenseTokens
licensorIpId: The ID of the licensor IP for which the License Tokens are minted.licenseTemplate: The address of the License Template.licenseTermsId: The ID of the License Terms.amount: The amount of License Tokens to mint.minter: The address of the minter.receiver: The address of the receiver of the minted License Tokens.maxRevenueShare: The maximum revenue share percentage allowed for minting the License Tokens.
startLicenseTokenId: The start ID of the minted License Tokens.
burnLicenseTokens
holder: The address of the holder of the License Tokens.tokenIds: An array of IDs of the License Tokens to be burned.
validateLicenseTokensForDerivative
caller: The address of the caller who register derivative with the given tokens.childIpId: The ID of the derivative IP.tokenIds: An array of IDs of the License Tokens to validate.
licenseTemplate: The address of the License Template associated with the License Tokens.licensorIpIds: An array of licensor IPs associated with each License Token.licenseTermsIds: An array of License Terms associated with each validated License Token.commercialRevShares: An array of commercial revenue share percentages associated with each License Token.
totalMintedTokens
uint256: The total number of minted License Tokens.
getLicenseTokenMetadata
tokenId: The ID of the license token.
LicenseTokenMetadata: The metadata of the license token.
getLicensorIpId
tokenId: The ID of the license token.
address: The ID of the licensor IP.
getLicenseTermsId
tokenId: The ID of the license token.
uint256: The ID of the license terms.
getLicenseTemplate
tokenId: The ID of the license token.
address: The address of the license template.
getTotalTokensByLicensor
licensorIpId: The ID of the licensor IP.
uint256: The total number of License Tokens minted for the licensor IP.
isLicenseTokenRevoked
tokenId: The ID of the license token.
bool: True if the license is revoked.
tokenURI
id: The ID of the license token.
string: The metadata URI of the license token.

