Under the ‘Manage’ tab, where the platform revenue resides, add a button (next to Compound and earn X APY, and Claim all buttons) that allows the dapp to claim and deposit the current revenue fees as collateral in the protocol.
Manage>Platform revenue>add “Claim and Deposit All” button.
The claim all feature already does this, just as in v1. It auto-deposit all rewards into interest bearing accounts (deposit) in the money market with rTokens in your wallet as receipt. Go to the dashboard to review or withdraw back into hard assets, replacing the rTokens in wallet.