License
Inherits: ILicense, AccessControlInternal, EIP712
State Variables
SIGN_LICENSE_TYPEHASH
bytes32 private constant SIGN_LICENSE_TYPEHASH = keccak256("SignLicense(string licenseURI,bytes32 contentURIHash)");Functions
signLicense
User
function signLicense(bytes calldata signature) external override;revokeCurrentSignature
Admin
function revokeCurrentSignature(address account) external onlyRole(AccessControlStorage.DEFAULT_ADMIN_ROLE);setLicenseURI
function setLicenseURI(string memory uri, bytes32 contentHash)
external
onlyRole(AccessControlStorage.DEFAULT_ADMIN_ROLE);