Skip to content

Commit

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

.. code:: bash
$ lityc --contract-standard ERC884 erc884_standard.sol
$ ./lityc/lityc --contract-standard ERC884 erc884_standard.sol
erc884_standard.sol:3:1: Info: Missing 'VerifiedAddressAdded' with type signature 'function (address,bytes32,address)'. C20 is not compatible to ERC884.
contract C20 {
Expand Down Expand Up @@ -93,7 +97,7 @@ Examples
.. code:: bash
$ lityc --contract-standard ERC884 missing_function.sol
$ ./lityc/lityc --contract-standard ERC884 missing_function.sol
missing_function.sol:3:1: Info: Missing 'VerifiedAddressAdded' with type signature 'function (address,bytes32,address)'. ERC884Interface is not compatible to ERC884.
contract ERC884Interface {
Expand Down

0 comments on commit 6595e28

Please sign in to comment.