Skip to content

feat(vault): upgrade to YieldFlow v2 with safe yield accrual and clam support#1

Open
syed-ghufran-hassan wants to merge 1 commit intoChaoLing140:mainfrom
syed-ghufran-hassan:patch-1
Open

feat(vault): upgrade to YieldFlow v2 with safe yield accrual and clam support#1
syed-ghufran-hassan wants to merge 1 commit intoChaoLing140:mainfrom
syed-ghufran-hassan:patch-1

Conversation

@syed-ghufran-hassan
Copy link
Copy Markdown

  • Implemented safe yield accrual model (last-accrual-block)
  • Prevented yield reset exploit on additional deposits
  • Added claim-yield function (withdraw yield without principal)
  • Added emergency-withdraw (principal only)
  • Introduced min deposit and max TVL cap
  • Made APY configurable via yield-numerator
  • Improved accounting and state safety
  • Added new vault events for yield + emergency flows

…m support

- Implemented safe yield accrual model (last-accrual-block)
- Prevented yield reset exploit on additional deposits
- Added claim-yield function (withdraw yield without principal)
- Added emergency-withdraw (principal only)
- Introduced min deposit and max TVL cap
- Made APY configurable via yield-numerator
- Improved accounting and state safety
- Added new vault events for yield + emergency flows
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