Skip to content
This repository has been archived by the owner on Dec 27, 2023. It is now read-only.

Implement Multicall where applicable to speed up operations. #43

Open
0xKitsune opened this issue Jan 5, 2023 · 1 comment
Open

Implement Multicall where applicable to speed up operations. #43

0xKitsune opened this issue Jan 5, 2023 · 1 comment
Labels

Comments

@0xKitsune
Copy link
Owner

Some functions that call the node (ex. Syncing, getting pool data, etc) can use a multicall to complete much faster. We should implement this where applicable. There should be an option to use the function with and without multicall, probably by passing in a optional Chain Enum (ex. Chain::Ethereum, Chain::Polygon, etc). If the value is None, it wont use the multicall. The mulicall address should be a constant value for each chain.

@Evan-Kim2028
Copy link

Are there any resources you can recommend regarding mulitcalls to get started on this?

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

No branches or pull requests

3 participants