IProjects
Inherits: IERC721
Functions
count
function count() external view returns (uint256);
uriOf
function uriOf(uint256 _projectId) external view returns (string memory);
handleOf
function handleOf(uint256 _projectId) external returns (bytes32 handle);
projectFor
function projectFor(bytes32 _handle) external returns (uint256 projectId);
transferAddressFor
function transferAddressFor(bytes32 _handle) external returns (address receiver);
challengeExpiryOf
function challengeExpiryOf(bytes32 _handle) external returns (uint256);
exists
function exists(uint256 _projectId) external view returns (bool);
create
function create(address _owner, bytes32 _handle, string calldata _uri, ITerminal _terminal)
external
returns (uint256 id);
setHandle
function setHandle(uint256 _projectId, bytes32 _handle) external;
setUri
function setUri(uint256 _projectId, string calldata _uri) external;
transferHandle
function transferHandle(uint256 _projectId, address _to, bytes32 _newHandle) external returns (bytes32 _handle);
claimHandle
function claimHandle(bytes32 _handle, address _for, uint256 _projectId) external;