Skip to content

Avoid the 301 redirect by linking directly to Snowtrace - #3193

Merged
sammdec merged 2 commits into
aave:mainfrom
menxit:feat/routescan-transaction-links
Nov 19, 2026
Merged

sammdec merged 2 commits into
aave:mainfrom
menxit:feat/routescan-transaction-links

Conversation

@menxit

@menxit menxit commented Nov 18, 2026 •

Copy link
Copy Markdown
Contributor

General Changes

Aave already sends Avalanche users to snowtrace.io, a Routescan explorer, through a 301 redirect from cchain.explorer.avax.network. This PR updates the Avalanche explorer URL to snowtrace.io so users reach the same transaction receipts and address pages directly.

This PR also proposes using Routescan as the default explorer for Ethereum (ethscanner.io) and Mantle (mantle.routescan.io). Routescan decodes Aave contract events and summarizes what changed for the user. For example, in the Ethereum collateral swap below, Etherscan's Transaction Action shows the USDC withdrawn from Aave. Ethscanner also shows the WETH supplied in its place.

Developer Notes

The three explorer URLs in src/ui-config/networksConfig.ts are used for both transaction and address links. Each Ethereum row below links to the same transaction on both explorers.

Aave operation What the receipt shows Explorer links
Withdraw & swap Etherscan shows the 500 USDC withdrawal. Ethscanner follows the swap through to the wallet and shows that the user received WBTC. Etherscan / Ethscanner
Withdraw Etherscan lists the full withdrawal amount as burned. Ethscanner shows how much WETH the user received and how accrued interest explains the smaller drop in their aToken balance. Etherscan / Ethscanner
Collateral swap Etherscan shows 1,800 USDC leaving Aave. Ethscanner also shows the WETH supplied as replacement collateral. Etherscan / Ethscanner
Debt swap Etherscan describes a five-token swap. Ethscanner shows that the borrower repaid their USDC debt and took on WBTC debt. Etherscan / Ethscanner
Supply (Mantle) Routescan shows the 550.0206 USDT0 deposit and the aManUSDT0 the user received. The receipt explains that the aToken represents the deposit and its accrued interest. Mantle Routescan
Borrow Etherscan shows that the user borrowed 3,810 USDT. Ethscanner also shows the variable annual rate at the time of borrowing, 4.10%. Etherscan / Ethscanner

Reviewer Checklist

  • End-to-end tests are passing without any errors
  • Code changes do not significantly increase the application bundle size
  • If there are new third-party packages, they do not introduce potential security threats
  • If there are new environment variables, they have been added to .env.example and the relevant .github/actions/* files
  • There are no CI changes, or they have been approved by the DevOps and Engineering teams

@vercel

vercel Bot commented Nov 18, 2026

Copy link
Copy Markdown

@menxit is attempting to deploy a commit to the Aave Team on Vercel.

A member of the Team first needs to authorize it.

@menxit menxit changed the title Improve Aave UX with decoded transaction receipts Avoid the 301 redirect by linking directly to Snowtrace Nov 19, 2026
@sammdec

sammdec commented Nov 19, 2026

Copy link
Copy Markdown
Contributor

@menxit happy to merge this with a small change of keeping ethereum as etherscan

Comment thread src/ui-config/networksConfig.ts Resolved
@menxit

menxit commented Nov 19, 2026

Copy link
Copy Markdown
Contributor Author

@sammdec thanks for the review! did you get a chance to compare transaction actions? Etherscan can make Aave activity hard to follow and sometimes misreads the protocol. Fore example here, Etherscan says the user repaid 3,776.93 ETH to Aave. That overstates the repayment by 9.42 ETH, which the gateway returned to the user. Seeing that higher amount can make the user worry they overpaid. Ethscanner shows 3,767.51 ETH, matching Aave's Repay event. What would make Ethscanner a better default for Aave users?

@sammdec

sammdec commented Nov 19, 2026

Copy link
Copy Markdown
Contributor

@sammdec thanks for the review! did you get a chance to compare transaction actions? Etherscan can make Aave activity hard to follow and sometimes misreads the protocol. Fore example here, Etherscan says the user repaid 3,776.93 ETH to Aave. That overstates the repayment by 9.42 ETH, which the gateway returned to the user. Seeing that higher amount can make the user worry they overpaid. Ethscanner shows 3,767.51 ETH, matching Aave's Repay event. What would make Ethscanner a better default for Aave users?

Totally understand but would prefer to keep etherscan for now

@sammdec
sammdec merged commit ab8e232 into aave:main Nov 19, 2026
9 of 10 checks passed
@github-actions

github-actions Bot commented Nov 19, 2026 •

Copy link
Copy Markdown

❌ CI run has failed!
Please see logs at https://github.com/aave/interface/actions/runs/44576704069'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants