diff --git a/docs/modules/ROOT/pages/index.adoc b/docs/modules/ROOT/pages/index.adoc index 35a7292a7d9..f2c5eef15e9 100644 --- a/docs/modules/ROOT/pages/index.adoc +++ b/docs/modules/ROOT/pages/index.adoc @@ -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 { + } } ----