Skip to main content

Solidity API

Contract: ICulturaDigitalAsset

External Functions

safeMint

function safeMintfunction safeMint(address to, string digitalAssetName, string digitalAssetDescription, struct ILicensed_ERC.ParentDigitalAsset[] parentDigitalAsset, string termsURI, string culturaDigitalAssetTokenURI) external returns (uint256)
Mints a new rights token with specified metadata

Parameters

NameDescription
toAddress that will receive the minted token
digitalAssetNameName of the digital digitalAsset
digitalAssetDescriptionDescription of the digital digitalAsset
parentDigitalAssetArray of parent digitalAsset information for derivative works
termsURIURI pointing to the detailed terms of the digitalAsset
culturaDigitalAssetTokenURIURI pointing to the tokenURI of the digitalAsset, this is the standard tokenURI on ERC721

Return Values

Description
uint256 The ID of the newly minted token
Dev: Only accounts with MINTER_ROLE can call this function