Skip to content
This repository has been archived by the owner on Jul 9, 2024. It is now read-only.

Batch-check sponsor wallets for funding #406

Open
bbenligiray opened this issue May 24, 2023 · 0 comments
Open

Batch-check sponsor wallets for funding #406

bbenligiray opened this issue May 24, 2023 · 0 comments

Comments

@bbenligiray
Copy link
Member

bbenligiray commented May 24, 2023

Airseeker checks the sponsor wallets specified in its config file at the start and discards the ones that are not funded api3dao/airseeker#309 This is especially useful for self-funded, Nodary-style usage where an Airseeker has hundreds and thousands of sponsor wallets.

This can be further improved by multi-calling the balanceOf() calls to the sponsor wallets, resulting in fewer RPC calls. Api3ServerV1 inherits ExtendedSelfMulticall, so the multicall can be done to that contract.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants