Skip to content

Commit

Permalink
Update erc223-checker.rst
Browse files Browse the repository at this point in the history
  • Loading branch information
Jyu0927 committed Jul 24, 2018
1 parent e0a0cb5 commit a0fa812
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions docs/erc-contract-standard-checker/erc223-checker.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,16 @@
ERC223 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 ERC223 <contract file>
$ ./lityc/lityc --contract-standard ERC223 <contract file>
Examples
Expand All @@ -33,7 +37,7 @@ Examples

.. code:: bash
$ lityc --contract-standard ERC223 erc223_interface.sol
$ ./lityc/lityc --contract-standard ERC223 erc223_interface.sol
erc223_standard.sol:3:1: Info: ERC223Interface is compatible to ERC223.
contract ERC223Interface {
Expand Down Expand Up @@ -167,7 +171,7 @@ Examples
.. code:: bash
$ lityc --contract-standard ERC223 erc223_token.sol
$ ./lityc/lityc --contract-standard ERC223 erc223_token.sol
erc223_token.sol:6:1: Info: Missing 'totalSupply' with type signature 'function () view external returns (uint256)'. SafeMath is not compatible to ERC223.
library SafeMath {
Expand Down

0 comments on commit a0fa812

Please sign in to comment.