Add WhisperFilterOptions

This commit is contained in:
coffeepots 2018-12-05 16:06:41 +00:00 committed by zah
parent ef172a857a
commit 51df75a296
1 changed files with 4 additions and 0 deletions

View File

@ -120,6 +120,10 @@ type
address*: Option[EthAddress] # (optional) contract address or a list of addresses from which logs should originate. address*: Option[EthAddress] # (optional) contract address or a list of addresses from which logs should originate.
topics*: Option[seq[FilterData]] # (optional) list of DATA topics. Topics are order-dependent. Each topic can also be a list of DATA with "or" options. topics*: Option[seq[FilterData]] # (optional) list of DATA topics. Topics are order-dependent. Each topic can also be a list of DATA with "or" options.
WhisperFilterOptions* = object
to*: Option[WhisperIdentityStr]
topics*: seq[HexDataStr]
WhisperPost* = object WhisperPost* = object
# Parameter from user # Parameter from user
source*: Option[WhisperIdentityStr] # (optional) the identity of the sender. source*: Option[WhisperIdentityStr] # (optional) the identity of the sender.