Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add event handling functionality #32

Merged
merged 27 commits into from
May 25, 2022
Merged

Add event handling functionality #32

merged 27 commits into from
May 25, 2022

Conversation

fjarri
Copy link
Collaborator

@fjarri fjarri commented May 16, 2022

Fixes #10

  • support event declarations in the ABI (added a corresponding Event) class
  • add eth_new_block_filter(), eth_new_pending_transaction_filter(), eth_new_filter(), eth_get_filter_changes() and the corresponding entities (BlockInfo, TxInfo, Topic, LogEntry)
  • API for high-level event filtering

@codecov-commenter
Copy link

codecov-commenter commented May 16, 2022

Codecov Report

Merging #32 (74b30d0) into master (0fce3ce) will not change coverage.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##            master       #32    +/-   ##
==========================================
  Coverage   100.00%   100.00%            
==========================================
  Files            9         9            
  Lines          949      1261   +312     
  Branches       174       246    +72     
==========================================
+ Hits           949      1261   +312     
Impacted Files Coverage Δ
pons/__init__.py 100.00% <100.00%> (ø)
pons/_abi_types.py 100.00% <100.00%> (ø)
pons/_client.py 100.00% <100.00%> (ø)
pons/_contract.py 100.00% <100.00%> (ø)
pons/_contract_abi.py 100.00% <100.00%> (ø)
pons/_entities.py 100.00% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 0fce3ce...74b30d0. Read the comment docs.

@fjarri fjarri marked this pull request as ready for review May 25, 2022 05:17
@fjarri fjarri merged commit 08358c8 into master May 25, 2022
@fjarri fjarri deleted the events branch May 25, 2022 05:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add support for event declarations
2 participants