Skip to content

[execution-layer] - Cache protocol metadata and pool addresses #40

@Txrmarcos

Description

@Txrmarcos

Pool addresses are immutable — cache in getPoolAddress() with 10min TTL. Gauge addresses with 5min TTL. Token metadata with 1h TTL. Reduces repeated RPC calls that slow down quote/prepare flows. Existing pattern: adapterCache in protocols.ts (in-flight dedup + TTL). Apply same pattern to pool/gauge lookups. Files: backend/src/shared/services/aerodrome.service.ts (lines 120-160).

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions