User Operations
Users call only RWAEarnPool methods for subscription and redemption.
Flow
User deposits
USDTintoRWAEarnPool.Pool mints shares to user.
Funds are routed to
RWAAdapterand then to external vault flow.For redemption, user requests withdrawal first, then claims when funds are available.
Methods
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 Lifecycle
Withdrawal is asynchronous:
requestWithdrawcreates pending requestBot completes external vault redemption through adapter
Adapter funds are returned to earn pool
User calls
claimWithdraw
Last updated
Was this helpful?