Documentation Index
Fetch the complete documentation index at: https://docs.cultura.xyz/llms.txt
Use this file to discover all available pages before exploring further.
Solidity API
licensedToken
struct licensedToken {
address collectionAddress;
uint256 tokenId;
}
Contract: LicensingAttestationMock
fakeLicenseIp
function fakeLicenseIpfunction fakeLicenseIp(address licensedCollectionAddress, uint256 tokenId) external
Function to mock the flow of licensing, minting and selfAttestation
Parameters
| Name | Description |
|---|
licensedCollectionAddress | The address of the collection that the token is licensed from. |
tokenId | The ID of the DigitalAsset to be licensed. |
Dev: This function mints an DigitalAsset, creates an attestation request, and then self-attests to the attestation request.
verifyLicensedAsset
function verifyLicensedAssetfunction verifyLicensedAsset(bytes32 attestationUID, uint256 bondedAmount) external
Public Functions
constructor
function constructorconstructor(address _collectionAddress, address _paymentTokenAddress, address _licensingAttestationFunctions, address _cas) public