Skip to main content

Non-Fungible Licensing (TIP-4.5)

Requires: TIP-4.1 Requires: TIP-6.1

Abstract

The NFT License Standart is a standard set of functions for retrieving license information. This interface allows external callers to access the license URI and the license name associated with a specific entity. The preferred but not mandatory method of storing license links is using IPFS. A collection of NFT licenses can be obtained via a link.

Motivation

This standard was developed based on the previous version of the "CantBeEvil" standard. The new "NFT Licensing" standard offers you more freedom and flexibility in using licenses for your NFT tokens, allowing you to choose any license that reflects your vision and protects your rights, provided that a link to it is provided.

Specification

The keywords “MUST”, “MUST NOT”, “REQUIRED”, “SHALL”, “SHALL NOT”, “SHOULD”, “SHOULD NOT”, “RECOMMENDED”, “MAY”, and “OPTIONAL” in this document are to be interpreted as described in RFC 2119.

TIP4_5

pragma ever-solidity >= 0.61.2;

interface ITIP4_5 {
function getLicenseURI() external view responsible returns (string);
function getLicenseName() external view responsible returns (string);
}

NOTE The TIP-6.1 identifier for this interface is 0x8A1EB91 (with responsible) and 0x1E4848D4 (without responsible).

TIP4_5.getLicenseURI()

function getLicenseURI() external view responsible returns (string);

Returns the license URI. The license URI represents the location or identifier that can be used to access the full details of the license, such as terms and conditions, permissions, and restrictions.

TIP4_5.getLicenseName()

function getLicenseName() external view responsible returns (string);

Returns the name or title of the license. The license name provides a concise and descriptive representation of the license type or category.