Skip to content

feat(Runner): support multiple addresses for event container - #295

Merged
fubuloubu merged 4 commits into
mainfrom
feat/multiple-addresses
Sep 25, 2026
Merged

fubuloubu merged 4 commits into
mainfrom
feat/multiple-addresses

Conversation

@fubuloubu

@fubuloubu fubuloubu commented Feb 14, 2026 •

Copy link
Copy Markdown
Member

What I did

Added support for sourcing events from multiple contract addresses via filter

This looks like:

@bot.on_(ERC20.Transfer, from_addresses=["YFI", "USDT", "USDC", ...], receiver=bot.signer)
async def record_bot_balance(log):
    ...

requires: ApeWorX/ape#2757

How I did it

How to verify it

Checklist

  • Passes all linting checks (pre-commit and CI jobs)
    - [ ] New test cases have been added and are passing
  • Documentation has been updated
  • PR title follows Conventional Commit standard (will be automatically included in the changelog)

fubuloubu and others added 3 commits September 24, 2026 21:17
Ape #2757 accepts list[AddressType] for provider.poll_logs; drop the
single-address guard and forward the full address list so from_addresses=
works with PollingRunner the same way as WebsocketRunner.
@fubuloubu
fubuloubu force-pushed the feat/multiple-addresses branch from 8838516 to f656926 Compare September 25, 2026 01:17
@fubuloubu
fubuloubu marked this pull request as ready for review September 25, 2026 01:17
Adopt ruff 0.16 default rules and markdown code-block formatting:
auto-fix UP/C4/I/RUF issues, format docs and runner, and resolve
remaining B/DTZ/TRY/SIM/PL findings for a clean lint job.
@fubuloubu
fubuloubu merged commit 2acd5b1 into main Sep 25, 2026
38 of 42 checks passed
@fubuloubu
fubuloubu deleted the feat/multiple-addresses branch September 25, 2026 02:14
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.

1 participant