Skip to main content

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

NameDescription
licensedCollectionAddressThe address of the collection that the token is licensed from.
tokenIdThe 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