Skip to content

Cache balance slots per erc20 per chain per user #1322

@mattsse

Description

@mattsse

Description

we can cache token user slots per token

async fn account_override_for_token<P: Provider + Clone>(

so we only need to detect them once and subsequent preparecalls can use the detected slot

Problem Statement

this will get rid of ~3 request per token

Implementation Hints

use a cache in the Chains object

User story

remove latency

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions