Skip to content

Commit

Permalink
Fix documentation typo (ethereum#1335)
Browse files Browse the repository at this point in the history
  • Loading branch information
amitkot authored and pipermerriam committed Apr 22, 2019
1 parent 5102321 commit ce2ca36
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/contracts.rst
Original file line number Diff line number Diff line change
Expand Up @@ -277,7 +277,7 @@ Each Contract Factory exposes the following methods.

``fromBlock`` is a mandatory field. Defines the starting block (exclusive) filter block range. It can be either the starting block number, or 'latest' for the last mined block, or 'pending' for unmined transactions. In the case of ``fromBlock``, 'latest' and 'pending' set the 'latest' or 'pending' block as a static value for the starting filter block.
``toBlock`` optional. Defaults to 'latest'. Defines the ending block (inclusive) in the filter block range. Special values 'latest' and 'pending' set a dynamic range that always includes the 'latest' or 'pending' blocks for the filter's upper block range.
``address`` optional. Defaults the the contract address. The filter matches the event logs emanating from ``address``.
``address`` optional. Defaults to the contract address. The filter matches the event logs emanating from ``address``.
``argument_filters``, optional. Expects a dictionary of argument names and values. When provided event logs are filtered for the event argument values. Event arguments can be both indexed or unindexed. Indexed values with be translated to their corresponding topic arguments. Unindexed arguments will be filtered using a regular expression.
``topics`` optional, accepts the standard JSON-RPC topics argument. See the JSON-RPC documentation for `eth_newFilter <https://github.com/ethereum/wiki/wiki/JSON-RPC#eth_newfilter>`_ more information on the ``topics`` parameters.

Expand Down

0 comments on commit ce2ca36

Please sign in to comment.