Skip to content

Commit

Permalink
Update erc721-checker.rst
Browse files Browse the repository at this point in the history
  • Loading branch information
Jyu0927 committed Jul 24, 2018
1 parent a0fa812 commit 2c8e3ab
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions docs/erc-contract-standard-checker/erc721-checker.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,16 @@
ERC721 Contract Standard Checker
================================

Make sure you are in the folder where lityc is installed.

For example your location should be "~/lity/build" if you followed `this tutorial <http://lity.readthedocs.io/en/latest/download.html>`_.

Enable contract standard checker with specific ERC
--------------------------------------------------

.. code:: bash
lityc --contract-standard ERC721 <contract file>
$ ./lityc/lityc --contract-standard ERC721 <contract file>
Examples
Expand Down Expand Up @@ -41,7 +45,7 @@ Examples

.. code:: bash
$ lityc --contract-standard ERC721 erc721_interface.sol
$ ./lityc/lityc --contract-standard ERC721 erc721_interface.sol
Expand Down Expand Up @@ -73,7 +77,7 @@ Examples

.. code:: bash
$ lityc --contract-standard ERC721 wrong_modification_level.sol
$ ./lityc/lityc --contract-standard ERC721 wrong_modification_level.sol
wrong_modification_level.sol:3:1: Info: Missing 'transferFrom' with type signature 'function (address,address,uint256) payable external'. ERC721Interface is not compatible to ERC721.
contract ERC721Interface {
Expand Down

0 comments on commit 2c8e3ab

Please sign in to comment.