-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathIMinterController.sol
25 lines (21 loc) · 1.04 KB
/
IMinterController.sol
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
pragma solidity >=0.6.2 <0.7.0;
/**
@title IMinterController
@dev Interface for the MinterController contract, which provides functions for minting ERC721 tokens with a URI (Uniform Resource Identifier).
*/
interface IMinterController {
/**
@dev Function to mint ERC721 tokens with a URI (Uniform Resource Identifier) and transfer them to the specified address.
@param to The address to which the minted token will be transferred.
@param label The label or domain name for the token being minted.
*/
function mintURI(address to, string calldata label) external;
/**
@dev Function to mint ERC721 tokens with a URI (Uniform Resource Identifier) and transfer them to the specified address, with a specified resolver address.
@param to The address to which the minted token will be transferred.
@param label The label or domain name for the token being minted.
@param resolver The address of the resolver contract to store external data for the token being minted.
*/
function mintURIWithResolver(address to, string calldata label, address resolver) external;
}
/**