Merge branch 'master' into fix/enumerable-#1240
This commit is contained in:
@ -28,10 +28,12 @@ Once installed, you can use the contracts in the library by importing them:
|
||||
----
|
||||
pragma solidity ^0.5.0;
|
||||
|
||||
import "@openzeppelin/contracts/ownership/Ownable.sol";
|
||||
import "@openzeppelin/contracts/token/ERC721/ERC721Full.sol";
|
||||
import "@openzeppelin/contracts/token/ERC721/ERC721Mintable.sol";
|
||||
|
||||
contract MyContract is Ownable {
|
||||
...
|
||||
contract MyNFT is ERC721Full, ERC721Mintable {
|
||||
constructor() ERC721Full("MyNFT", "MNFT") public {
|
||||
}
|
||||
}
|
||||
----
|
||||
|
||||
|
||||
Reference in New Issue
Block a user