Last updated
Was this helpful?
Users call only RWAEarnPool methods for subscription and redemption.
User deposits USDT into RWAEarnPool.
Pool mints shares to user.
Funds are routed to RWAAdapter and then to external vault flow.
For redemption, user requests withdrawal first, then claims when funds are available.
deposit
Mints shares to receiver and transfers assets from msg.sender.
requestWithdraw
Burns shares from msg.sender, records requested receiver and amount for asynchronous payout.
claimWithdraw
Transfers assets to receiver after adapter-funded liquidity is available in RWAEarnPool.
Withdrawal is asynchronous:
requestWithdraw creates pending request
Bot completes external vault redemption through adapter
Adapter funds are returned to earn pool
User calls claimWithdraw
Last updated
Was this helpful?
Was this helpful?