Licensing.sol

Types and constants used by the licensing related contracts

Policy

A particular configuration (flavor) of a Policy Framework, setting values for the licensing
terms (parameters) of the framework.

Parameters

NameTypeDescription
struct Policy {
  bool isLicenseTransferable;
  address policyFramework;
  bytes frameworkData;
  address royaltyPolicy;
  bytes royaltyData;
  uint256 mintingFee;
  address mintingFeeToken;
}

License

Data that define a License Agreement NFT

Parameters

NameTypeDescription
struct License {
  uint256 policyId;
  address licensorIpId;
  bool transferable;
}