ERC-1753 License and Permit Issuance Standard (Smart Contract Interface for Licences)
Stagnant · Other · created 2019-02-06
A standard that lets governments and institutions issue, renew, and revoke licenses, such as camping permits, via smart contracts, so that anyone can check their validity period.
Why it is needed
Today's license and permit systems involve filling out paper applications, manual review by an official, manual entry into a registry, and issuance of a paper license. To check their license information, holders often have to visit a government office in person and fill out a separate inquiry form. This process is slow and inefficient, and it concentrates personal data in a central government database, increasing the risk of data breaches. Also, when an issuing authority changes, cancels, or suspends a license, the holder is not notified immediately, which can cause confusion. This standard aims to reduce these inefficiencies by moving license issuance and management onto Ethereum smart contracts.
What to implement
function name() public view returns (string);: Returns the name of the license (permit).function totalSupply() public view returns (uint256);: Returns the total number of licenses issued to date.function grantAuthority(address who) public;: Adds a specified address to the whitelist of those authorized to modify licenses.function revokeAuthority(address who) public;: Removes a specified address from the authority whitelist.function hasAuthority(address who) public view;: Checks whether a given address has authority to issue or revoke licenses.function issue(address who, uint256 validFrom, uint256 validTo) public;: Issues a license valid for a specific period to a specified address.function revoke(address who) public;: Revokes the license held by a specified address.function hasValid(address who) external view returns (bool);: Checks whether a given address currently holds a valid license.function purchase(uint256 validFrom, uint256 validTo) external payable;: Allows a user to pay a fee and apply for and receive a license themselves.
In depth
The legal nature of a license
The source defines a license as a limited authority that permits, for a certain period, an act that is otherwise legally prohibited. A license is granted to an individual (the Licencee) but may also be transferred to another person or company. A license does not grant ownership or property rights over the subject matter (for example, a national park); it grants only a temporary right to use it or do something. The government agency with issuing authority can modify, cancel, renew, or suspend a license or refuse to issue one, and can impose penalties if conditions are violated. A license is usually issued only after a fee is paid or certain criteria are met, and may be tied to specific information or an object, such as a vehicle registration number.
Authority registration functions
grantAuthority(address who) adds a specific Ethereum address to the whitelist of those authorized to modify licenses. revokeAuthority(address who) removes that address from the whitelist. hasAuthority(address who) checks whether a given address has authority to issue or revoke licenses. These three functions let the contract owner split license issuance and revocation authority among multiple officials.
Issuance, revocation, and query functions
issue(address who, uint256 validFrom, uint256 validTo) issues a license valid for a specific period to a specified address. revoke(address who) revokes the license held by that address. hasValid(address who) is a view function that lets anyone externally check whether that address currently holds a valid license. Through these functions, the issuing authority can manage the entire license lifecycle on the blockchain.
The self-purchase function, purchase
purchase(uint256 validFrom, uint256 validTo) is a payable function that lets a user pay a fee and apply for a license themselves. In the reference implementation, purchase checks that it received exactly 1 ether, then internally calls issue to issue a license to the caller. name() returns the license name (for example, 'MyPermit'), and totalSupply() returns the total number of licenses issued to date.
Real-world case: Kakadu National Park camping permits
The source presents camping permits for Kakadu National Park in Australia as a test case. Applicants must submit the names and contact details of all permit holders, and, for a corporate entity, the company name, address, representative's name, and ACN or ABN, along with the purpose of the camping trip, start date and duration, number of campers, special notes, and a fee based on site, duration, and number of people. Even after a permit is issued, the Director of National Parks retains the authority under regulations to cancel, renew, or transfer it. The source argues that this entire process could be handled better with a smart contract, and also examined this approach for commercial fishing license issuance in New South Wales.
Licenses represented as tokens and wallets
The source proposes digitally representing the issuance and ownership of a license as a token on the Ethereum blockchain. This token can be displayed in a form such as a QR code and stored in a digital wallet app on a smartphone or tablet. When an issuing or regulatory authority modifies, cancels, or refuses a license, the result is reflected in the license token in near real time, so the holder learns of any change to their license almost immediately.
Background and current status of the proposal
The authors state that this standard was derived by reviewing multiple national and state-level license-related regulations in Australia to identify common requirements and criteria, and that they are seeking feedback on whether these criteria are sufficient and universal enough. However, this proposal is currently in Stagnant status, a draft that has sat without further discussion or revision since it was written in 2019. It has therefore not been finalized as a standard, and its contents may change or it may never be adopted.