What is being requested?
Add support for decoding and classifying transactions interacting with the Jones DAO GLP vault/router contract on Arbitrum. This includes accurate treatment of deposits, zaps, and redemptions across the following methods:
  • depositGlp(uint256 _assets, bool _compound)
    → Lending/Vault Deposit (GLP)
  • depositStable(uint256 _assets, bool _compound)
    → Lending/Vault Deposit (USDC.e)
  • zapToGlp(address _token, uint256 _amount, bool _compound)
    → Trade + Lending/Vault Deposit
  • zapToGlpEth(bool _compound)
    → Trade + Lending/Vault Deposit
  • redeemGlpBasket(uint256 _shares, bool _compound, address _token, bool _native)
    → Lending/Vault Withdrawal
Why is this needed?
Currently, transactions into and out of the Jones DAO vault are not being properly decoded or classified. This particularly impacts advanced users who loop deposits/borrows using djUSDC, resulting in misleading tax reports.
What can users do now?
No workaround is available for accurate accounting. Users must manually correct transactions.
Keywords: Jones DAO, Arbitrum vault, GLP deposit, USDC.e zap, false gains, transaction decoding, djUSDC, JUSDC