Skip to content

async funds facet withdraw flow#25

Draft
ksamarin90 wants to merge 24 commits intomainfrom
feat/async-funds-facet
Draft

async funds facet withdraw flow#25
ksamarin90 wants to merge 24 commits intomainfrom
feat/async-funds-facet

Conversation

@ksamarin90
Copy link
Copy Markdown
Contributor

@ksamarin90 ksamarin90 commented Aug 19, 2025

This PR introduces the Decentral async strategy integration and accompanying fork tests:

New DecentralStrategyFacet implementing async principal and yield withdrawals via Decentral
Handling of NFT position in Decentral vault
Comprehensive fork tests (DecentralStrategyFacet.base.fork.t.sol) covering:
** deposit → allocation → async principal withdrawal → approval → finalization → vault fulfillment
** yield accrual, request, approval, and finalization flows
** correct vault/share accounting and edge-case handling.
Tests are fork-based and use struct-based position decoding for correctness and debuggability.
This lays the groundwork for production-ready Decentral integration in async vaults.

Decentral pool implementation: https://basescan.org/address/0x177a4358e0b3ff55515ca67d2751ee4b78e1d0f3#code

@ksamarin90 ksamarin90 self-assigned this Aug 19, 2025
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.

2 participants