Skip to content

fix(deposit): correct APY display inflated by 100x#96

Merged
JamesLawton merged 1 commit intomainfrom
fix/deposit-apy-display-factor-100
Apr 22, 2026
Merged

fix(deposit): correct APY display inflated by 100x#96
JamesLawton merged 1 commit intomainfrom
fix/deposit-apy-display-factor-100

Conversation

@JamesLawton
Copy link
Copy Markdown
Collaborator

The Trails API returns pool.apy as a percentage value (e.g. 2.8 for 2.8% APY), not a decimal fraction. Multiplying by 100 produced absurd display values like 280.21% instead of the correct 2.80%.

Also clarifies the apy field comment in both polygon-defi SKILL.md files to prevent the same misreading in future.

The Trails API returns `pool.apy` as a percentage value (e.g. 2.8 for
2.8% APY), not a decimal fraction. Multiplying by 100 produced absurd
display values like 280.21% instead of the correct 2.80%.

Also clarifies the `apy` field comment in both polygon-defi SKILL.md
files to prevent the same misreading in future.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@JamesLawton JamesLawton merged commit e8556b3 into main Apr 22, 2026
3 checks passed
@JamesLawton JamesLawton deleted the fix/deposit-apy-display-factor-100 branch April 22, 2026 11:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant