Unverified Commit 651f6d8b by Francisco Giordano Committed by GitHub

fix readme snippet so it is concrete

parent 13b19612
......@@ -19,10 +19,14 @@ If you're interested in trying out a preview of OpenZeppelin 2.0, install `openz
To write your custom contracts, import ours and extend them through inheritance.
```solidity
import 'openzeppelin-solidity/contracts/token/ERC721/ERC721.sol';
pragma solidity ^0.4.24;
import 'openzeppelin-solidity/contracts/token/ERC721/ERC721Full.sol';
import 'openzeppelin-solidity/contracts/token/ERC721/ERC721Mintable.sol';
contract MyNFT is ERC721, ERC721Mintable {
contract MyNFT is ERC721Full, ERC721Mintable {
constructors() ERC721Full("MyNFT", "MNFT") public {
}
}
```
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment