Skip to content

feat: smoother debt ratio for monetary policies#123

Merged
AlbertoCentonze merged 16 commits intomasterfrom
minimal-smoother-mpol
Jan 20, 2026
Merged

feat: smoother debt ratio for monetary policies#123
AlbertoCentonze merged 16 commits intomasterfrom
minimal-smoother-mpol

Conversation

@AlbertoCentonze
Copy link
Collaborator

@AlbertoCentonze AlbertoCentonze commented Jan 10, 2026

This PR reduces the scope of #107 by doing very minimal and localized changes that are safer to implement.

  • Upgrade AggMonetaryPolicy3c to Vyper 0.4.3
  • Apply EMA smoothing to the PegKeeper debt ratio used in rate calculations, reducing sensitivity to sudden debt ratio changes and providing more stable interest rates
  • Add configurable debt_ratio_ema_time parameter with setter function and getter view
  • Add deployer for AggMonetaryPolicy3c in tests
  • pyproject.toml: Bump curve-std dependency to include EMA functionality, remove unused ownership-proxy
  • tests/utils/deployers.py: Add AGG_MONETARY_POLICY3C_DEPLOYER

This vote adds this new mpol to the system.

  • Cleanup monetary policies post deployment (remove the versioning prefix, delete old mpols etc)

@AlbertoCentonze AlbertoCentonze changed the title smoother mpol feat: smoother debt ratio for monetary policies Jan 12, 2026
@AlbertoCentonze AlbertoCentonze marked this pull request as ready for review January 12, 2026 10:26
@AlbertoCentonze AlbertoCentonze merged commit 197716e into master Jan 20, 2026
10 checks passed
@AlbertoCentonze AlbertoCentonze deleted the minimal-smoother-mpol branch January 20, 2026 15:41
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