Skip to content

Consider $LiNEAR price growth when calculating liquidity pool APY #4

@linguists

Description

@linguists

Now the liquidity pool APY is calculated with (current total swap fee - total swap fee 3 days ago) * linear price, which didn't consider LiNEAR price growth in the 3 days.

This can be improved by calculating current total swap fee * current linear price - total swap fee 3 days ago * linear price 3 days ago.

Metadata

Metadata

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions