mintAndRegisterIpAndAttachPILTerms
is one of the functions in the SPG (more specifically in the LicenseAttachmentWorkflows.sol
) that allows you to mint an NFT, register it as an IP Asset, and attach License Terms to it all in one call:
LicenseAttachmentWorkflows.sol
All Supported Workflows
As mentioned above, there are many different functions we have created for you that combine multiple functions into one. We have categorized them into different groups. These groups are called “workflows”.View all Workflows
Click here to view all of the supported workflows.
Smart Contracts
Click here to view the workflow smart contracts.
Batching Calls
Although the SPG contains certain functions likemintAndRegisterIpAndAttachPILTerms
, registerIpAndAttachPILTerms
, and a bunch more, it would be tedious for us to continually update the contract to account for every single combination of possible interactions with an IP Asset.
Instead, we have allowed for a “Multicall” mechanism where you can batch transactions how you like. For more info, see Batch Function Calls.