aave-ui
aave-ui copied to clipboard
Deposit matic in the history shows change of usage as collateral instead of deposit
Background: When a user deposits matic into the pool, it should show up in their history. This currently happens however, it is shown as a change of usage as collateral. I feel this is a bit confusing for the user because they did a deposit but it shows up as usage as collateral

This is happens for network native tokens when the deposit/withdraw goes through WethGateway contract, so the msg.sender is the wethgateway instead of the user, and this is why it doesn't show the deposits and withdraws with native token and only the change of colateral
@sendra ok i get it now, should we just close this out for now then? I think this is also related to https://github.com/aave/aave-ui/issues/204
No let's keep it open, it's a bit related as in "if the user would deposit weth directly it would show up here", but it's mostly a bug on thegraph where the weth-gateway would need special handling as even after #204 is implemented, eth despoists won't show up.