← All articles

Decentralized Exchanges on TRON: SunSwap, JustSwap, and Why Swap Activity Is Not Origin

Key takeaways

  • On 17 November 2026 DefiLlama showed SunSwap's versions carrying most of TRON's 30-day DEX volume. It is one protocol under two names, JustSwap and then SunSwap, with a router that keeps getting reissued.
  • Memorize the V2 and V3 factories and the V3 SwapRouter. The V2 router and the Smart/Universal Router have each been redeployed, so check the tag on TronScan for the current one.
  • A wallet touching a router minutes after activation does not have that router as its origin. A router is shared infrastructure that serves many parties. It acts only inside a transaction an external account signed, and the signer is the party to trace.

Walk through enough TRON wallets and a second pattern emerges, distinct from the USDT-dominated transfer activity. A handful of contract addresses keep showing up, sometimes as the destination and sometimes routing internal flows through other contracts in a single transaction. Those are TRON’s decentralized exchanges, and their activity is easy to misread.

A wallet that hits a router contract within minutes of activation looks, at a glance, like the router created it. That reading is wrong in either of two cases. In one, an ordinary transfer from an externally-owned account activated the wallet, which then started trading. In the other, a contract’s own transfer activated it, which the protocol allows, and even then the contract was executing a call some external account signed. Knowing which contracts are which, and why none of them is treated as a wallet’s origin, separates accurate attribution from a wrong conclusion drawn from noise.

One protocol, two names

On 17 November 2026 DefiLlama showed the four SunSwap versions with 91.7% of TRON’s 30-day DEX volume. Much of the confusion an investigator meets comes from the protocol’s history: a rename, a run of new versions, and several router replacements over six years.

[ ONE PROTOCOL · TWO NAMES ] AUG 18, 2020 JustSwap launches UNISWAP MODEL · LAUNCH LETTER REPORTS $5.8M IN 15 HOURS OCT 20, 2021 SUN.io deal posted RENAME ANNOUNCED NOV 5, 2021 · SAME FACTORY ADDRESS FACTORY TXk8rQSAvPvBBNtqSoY6nCfsXWCSSpTVQF CREATED AUG 14, 2020 · ON-CHAIN NAME JustswapFactory KEY DEC 21, 2021 SunSwap V2 ships ON-CHAIN NAMES UniswapV2Factory, UniswapV2Router02 0.3% FEE · SPLIT 0.25% LPS / 0.05% SUN BUYBACK-AND-BURN JUN 28, 2023 SunSwap V3 ships CONCENTRATED LIQUIDITY · FOUR FEE TIERS ON-CHAIN NAME UniswapV3Factory MAR 2, 2026 SunSwap V4 launches ONE POOLMANAGER HOLDS EVERY POOL · HOOKS POOLMANAGER DEPLOYED DEC 28, 2025 [ SAME FACTORY BEFORE AND AFTER THE RENAME ]
The same factory contract served before and after the rename.

JustSwap launched on August 18, 2020, modeled on Uniswap. Justin Sun’s launch open letter appeared on the TRON Foundation’s official Medium account. It compared JustSwap directly to Uniswap and reported more than $5.8 million in trading volume within fifteen hours of going live. The letter does not say who built the exchange.

SunSwap is the name JustSwap took in late 2021. On October 20, 2021 TRON DAO announced that SUN.io had acquired JustSwap and set out a staged roadmap toward a V1.5 and a V2.0. On November 5, 2021 the SunSwap team announced that the acquisition was concluded and the platform renamed SunSwap. Neither announcement uses the label V1. SUN.io’s fee documentation lists a SunSwap V1, and on 17 November 2026 TronScan showed the original JustSwap Factory at TXk8rQSAvPvBBNtqSoY6nCfsXWCSSpTVQF tagged SUN: SunSwapV1 Factory. The factory stayed at that address. TronScan’s record gives its creation date as August 14, 2020, and TronGrid still returns JustswapFactory as its contract name. JustSwap swaps ran through per-token exchange contracts that the factory created. The factory’s getExchange returns TQn9Y2khEsLJW1ChVWFMSMeRDow5KcbLSE for USDT, and on 17 November 2026 TronScan showed that contract tagged S-USDT-TRX Token with 10,400,315 transactions. So an investigator who finds “JustSwap” interactions from before the rename is looking at the V1 factory or one of the exchange contracts it created. The rename left no separate JustSwap protocol to research.

SunSwap V2 went live on December 21, 2021, on a factory and a router deployed on December 13, 2021. No SUN.io text read for this article calls V2 a fork, but the contracts point to Uniswap V2. TronGrid returns UniswapV2Factory as the V2 factory’s contract name and UniswapV2Router02 for all four V2 routers. The pair code in the sun-protocol repository matches Uniswap V2’s apart from renames, a newer compiler version, and a different token-transfer helper. V2 charges a 0.3% fee per swap. SUN.io’s fee documentation sends 0.25% to liquidity providers and 0.05% to buying back and burning SUN. That split is Uniswap V2’s own protocol-fee switch turned on. The pair code can mint one-sixth of the fee to a feeTo address, and on 17 November 2026 the V2 factory’s feeTo() returned a non-zero address. Uniswap’s documentation, read the same day, says protocol fees are active on all Uniswap v2 pools at the same 0.25% and 0.05% split.

SunSwap V3 followed on June 28, 2023, with concentrated liquidity and four fee tiers (0.01%, 0.05%, 0.3%, 1%). SUN.io describes V3 as redesigned from SunSwap V2, and no SUN.io text read for this article calls it a fork. On-chain, the V3 factory’s contract name is UniswapV3Factory. V2’s TVL rose after V3 launched. DefiLlama’s series puts V2’s TVL at $126.5 million on June 27, 2023 and at a peak of $376.5 million on December 4, 2024. On 17 November 2026 DefiLlama showed V2 holding $243.6 million and V3 $80.1 million. Trading volume ran the other way. V3 had 63.6% of TRON’s 30-day DEX volume that day, V4 had 24.2%, and V2 had 3.5%. These figures move, and DefiLlama’s per-protocol SunSwap pages are the place to read them again.

SunSwap V4 launched on March 2, 2026 (Singapore time). Its PoolManager contract had been deployed on December 28, 2025. SUN.io describes V4 as keeping V3’s concentrated liquidity and replacing the factory model. V1 through V3 deploy a standalone contract for each pool, and V4 holds every pool inside a single PoolManager. A V4 pool can pair native TRX directly with a TRC-20 token. It can be bound at creation to a hook contract that runs custom logic around swaps and liquidity changes.

The Smart Router moving target

Above the pools sits a router that can route one user swap through several pool versions and SUN.io’s stableswap venues in a single transaction. The Smart Exchange Router’s repository documents routing across V1, V2, V3, the PSM, and SunCurve. The router has been redeployed repeatedly, and the rotation is the part that trips people up.

On 17 November 2026 TronScan showed a Smart Exchange Router tag on the five contracts listed here. Four carried a deprecation mark: TFVisXFaijZfeyeSjCEVkHfex7HGdTxzF9, created in 2023 and the earliest of them, then TJ4NNy8xZEqsowCBhLvZ45LCqPdGjkET5j (2024), TCFNp179Lg46D16zKoumd4Poa2WFFdtqYj, and TGnC7LMji8hBpyvZt1TTEJhVpAZ5HFyJ3r (both 2025). The fifth, TWH7FMNjaLUfx5XnCzs1wybzA6jV5DXWsG, created in February 2026, carried the tag with no deprecation mark. A missing mark does not make it the current route. No SUN.io announcement read for this article names that contract, and TronScan showed 980 transactions on it that day.

SUN.io’s documentation, read on 17 November 2026, treats the Smart Exchange Router line as legacy. It said the Smart Router no longer receives feature updates or maintenance, and the repository carried a deprecation notice in favour of the Universal Router that day. A notice of September 24, 2026 set October 31, 2026 as the end of Energy subsidies for the legacy SmartExchangeRouter TGnC7LMj…. It told integrators to migrate to the UniversalRouter.

The Universal Router has turned over as well. SUN.io announced TSJEtPuqHpvSaVnSwvCsngaeBxrGUzp95Q on February 5, 2026 alongside a Permit2 deployment. On May 19, 2026 it announced TQqgNg13s2DjvXhW1ky4v6TsR8wZGvb7Y4 as the replacement. On 17 November 2026 TronScan showed the first tagged deprecated and the second carrying the UniversalRouter tag with no deprecation mark.

The V2 router has been redeployed too. The table below lists four: the 2021 original TKzxdSv2FZKQrEqkKVgp5DcwEXBEKMg2Ax, TXF1xDbVGdxFGbovmmmXvBGu8ZiE3Lq4mR (2024), TMmRKgwC1hx4azzkXoPzujgQThzF48Actq (2025), and TNJVzGqKBWkJxJB5XYSqGAwUTV15U24pPq (2026). SUN.io announced the 2025 router on December 30, 2025 and its replacement on January 7, 2026. On 17 November 2026 TronScan showed the first three tagged deprecated and the fourth with no deprecation mark. The 2024 router had the highest transaction count of the four that day. All four return the same V2 factory from factory().

On 17 November 2026 TronScan showed no deprecation mark on the V2 factory, the V3 factory, or the V3 SwapRouter. Each V2 router’s factory() still returned the 2021 V2 factory that day, and the V3 SwapRouter’s returned the 2023 V3 factory. The V2 router and the Smart/Universal Router have been replaced. Routers get redeployed, and a deprecated router stays in every history that used it. A wallet’s older swaps ran through addresses that are now deprecated, so a list holding only the current routers misses them. A deprecation tag on TronScan marks a superseded router. Check the tag before trusting any fixed list, this one included.

Contract address reference

The addresses come from the protocol’s own records: the sun-protocol GitHub deployment tables and SUN.io’s documentation and announcements. The tags are an explorer’s labels, the public contract tags TronScan assigns. The tag and status columns are as read on 17 November 2026. The factories and the V3 SwapRouter are the ones to memorize. For the V2 router and the Smart/Universal Router, check the tag.

ComponentAddressTronScan tagStatus
SunSwap V1 Factory (ex-JustSwap)TXk8rQSAvPvBBNtqSoY6nCfsXWCSSpTVQFSUN: SunSwapV1 FactoryCurrent; original 2020 deployment
SunSwap V2 FactoryTKWJdrQkqHisa1X8HUdHEfREvTzw4pMAaYSUN: SunSwapV2 FactoryCurrent; original 2021 deployment
SunSwap V2 RouterTNJVzGqKBWkJxJB5XYSqGAwUTV15U24pPqSUN: SunSwap V2RouterCurrent
SunSwap V2 Router (2021 original)TKzxdSv2FZKQrEqkKVgp5DcwEXBEKMg2AxSUN: SunSwap V2 Router (Deprecated)Deprecated
SunSwap V2 Router (2024)TXF1xDbVGdxFGbovmmmXvBGu8ZiE3Lq4mRSUN: SunSwap V2 Router (deprecated)Deprecated
SunSwap V2 Router (2025)TMmRKgwC1hx4azzkXoPzujgQThzF48ActqSUN: SunSwap V2Router (deprecated)Deprecated
SunSwap V3 FactoryTThJt8zaJzJMhCEScH7zWKnp5buVZqys9xSUN: SunSwapV3 FactoryCurrent; original 2023 deployment
SunSwap V3 SwapRouterTQAvWQpT9H916GckwWDJNhYZvQMkuRL7PNSUN: SunSwapV3 SwapRouterCurrent; original 2023 deployment
SunSwap V3 NonfungiblePositionManagerTLSWrv7eC1AZCXkRjpqMZUmvgd99cj7pPFSUN: SunSwapV3 NFT Position ManagerCurrent
SunSwap V3 QuoterTLhZ48yfHygMLM2uZr87zJJusHjGen97ghNo public tagDeployed with the V3 factory
SunSwap V4 PoolManagerTVjuTE3V5bMVdpfNhid8kD2v35T2k1u1BrSUN: SunSwapV4 PoolManagerCurrent; holds every V4 pool
SunSwap V4 CLPositionManagerTC8xQzPHfn5KceZV6s6GmZkBCFWWUoPXs1SUN: SunSwapV4 CLPositionManagerCurrent; issues V4 positions as NFTs
Universal RouterTQqgNg13s2DjvXhW1ky4v6TsR8wZGvb7Y4SUN: SunSwap UniversalRouterCurrent
Universal Router (announced Feb 2026)TSJEtPuqHpvSaVnSwvCsngaeBxrGUzp95QSUN: SunSwap UniversalRouter (deprecated)Deprecated
Permit2TTJxU3P8rHycAyFY4kVtGNfmnMH4ezcuM9SUN: Permit2No deprecation mark; announced with the first Universal Router
Smart Exchange Router (2023)TFVisXFaijZfeyeSjCEVkHfex7HGdTxzF9SUN: SunSwap Smart Exchange Router (deprecated)Deprecated
Smart Exchange Router (2024)TJ4NNy8xZEqsowCBhLvZ45LCqPdGjkET5jSUN: SunSwap Smart Exchange Router (deprecated)Deprecated
Smart Exchange Router (2025)TCFNp179Lg46D16zKoumd4Poa2WFFdtqYjSUN: SunSwap Smart Exchange Router (deprecated)Deprecated
Smart Exchange Router (2025)TGnC7LMji8hBpyvZt1TTEJhVpAZ5HFyJ3rSUN: SunSwap Smart Exchange Router (deprecated)Deprecated
Smart Exchange Router (2026)TWH7FMNjaLUfx5XnCzs1wybzA6jV5DXWsGSUN: SunSwap Smart Exchange RouterNo deprecation mark; legacy router line

The Quoter carries no public TronScan tag. The sun-protocol V3 deployment table attests it.

Beyond SunSwap proper, the routable surface includes SUN.io’s stablecoin venues: the PSM, which is USDD’s 1:1 fixed-ratio swap, and SunCurve, a StableSwap-curve pool for pegged assets. SunPump has routers of its own, and the table above does not list them. SunPump tokens are bought through a bonding curve. SUN.io’s documentation lists a PumpSwapRouter at TZFs5ch1R1C4mmjwrrmZqeqbUgGpxY1yWB and a PumpSmartExchangeRouter at TSiiYf1b1PV1fpT9T7V4wy11btsNVajw1g. SUN.io’s notice of December 30, 2025 replaced both with the V2 router and the Smart Exchange Router it announced that day. On 17 November 2026 TronScan showed both SunPump routers tagged deprecated, and the PumpSwapRouter with 10,081,516 transactions, more than any router in the table. They are swap routers, and they are set aside as origin candidates on the same grounds as the others.

What a swap looks like on-chain

A single SunSwap V2 swap appears in a wallet’s history as a TriggerSmartContract call to a V2 router (TNJVzGqK… from January 2026, per SUN.io’s notice, and one of the earlier V2 routers for older swaps). The call invokes one of the router’s swap methods, which keep Uniswap V2’s names: swapExactTokensForTokens, swapTokensForExactTokens, swapExactETHForTokens, and the rest. The methods that take or pay TRX keep ETH in their names. The router then calls into one or more pool contracts, each holding two token reserves and pricing trades with a constant-product formula.

[ ONE OUTBOUND TRANSACTION · TWO POOL CALLS ] User wallet EXTERNALLY-OWNED ACCOUNT SIGNS ONE OUTBOUND TX [ ONE TRIGGERSMARTCONTRACT CALL ] SunSwap router a smart contract — calls each pool on the path ONE CALLDATA PAYLOAD · MULTI-POOL PATH KEY [ CALLS POOL ] [ CALLS POOL ] Pool A · TRX / USDT x · y = k · TWO RESERVES EMITS ITS OWN SWAP EVENT Pool B · USDT / SUN x · y = k · TWO RESERVES EMITS ITS OWN SWAP EVENT [ EACH POOL TOUCHED LOGS A SWAP EVENT · THE LAST POOL PAYS THE RECIPIENT DIRECTLY ]
One outbound transaction can call more than one pool, and each pool logs its own event.

Each pool touched emits the Swap event declared in the SunSwap V2 pair contract:

Swap(address indexed sender, uint amount0In, uint amount1In,
     uint amount0Out, uint amount1Out, address indexed to)

with topic-0 hash 0xd78ad95fa46c994b6551d0da85fc275fe613ce37657fb8d5e3d130840159d822. Two fields matter for attribution:

  • sender is the address that called the pool’s swap function. When a swap goes through a router, that is the router contract. In a V2 swap sampled on 17 November 2026 the sender was the V2 router TNJVzGqK….
  • to is whoever receives the output tokens. In the V2 router code each pool on a path pays the next pool, and the last pool pays the recipient the caller named. A swap that ends in TRX is the exception, because the router receives the output.
[ WHAT A SWAP EVENT ACTUALLY ATTESTS ] Swap event EMITTED BY EACH POOL TOUCHED sender = THE ROUTER, NOT THE USER to = WHOEVER RECEIVED OUTPUT TOKENS [ MISREAD AS ] [ TRACE INSTEAD ] “This wallet’s origin” A MISREADING a router only executes a signed call set aside as a rule of method Activation event WHERE THE TRACE STARTS the very first transaction and the EOA that signed it KEY [ APPEARING AS ‘TO’ PROVES A WALLET RECEIVED TOKENS — NOT WHO INITIATED THE TRADE, NEVER WHO CREATED THE WALLET ]
Appearing as to proves only that a wallet received tokens. It is no evidence of who initiated the trade.

So a wallet whose address is in the to field received output tokens from a DEX trade. The field is no evidence that the wallet’s owner initiated it. The caller of a router swap names the recipient, and the recipient can be an address other than the caller’s.

Smart Router swaps inflate the noise further. A single Universal or Smart Router call encodes a multi-pool path as one calldata payload. The user submits one outbound transaction, and the receipt logs Swap events from every pool contract the route touched. A route can mix pool versions and stableswap venues in one trade. An investigator scanning the wallet’s interactions list sees what looks like activity across many contracts. It was one swap.

V4 hops read differently. Every V4 Swap event is emitted by the one PoolManager, TVjuTE3V…, whichever pool traded, so the emitting address no longer identifies the pair. The event names the pool by a bytes32 PoolId, and the pool’s Initialize event or the PoolManager’s poolIdToPoolKey function maps that id to its two tokens. The event has a sender and no to field, so the recipient reading above does not carry over. In a multi-hop V4 route the intermediate token never moves on-chain. SUN.io’s documentation describes two transfers, the input in and the output out. On-chain, the output leaves the PoolManager through its take function. SUN.io’s V4 documentation says swaps reach V4 through the Universal Router, which is already in the table. The PoolManager is set aside as an origin candidate on the same grounds as the routers.

That is the on-chain reason frequent DEX-router interaction can masquerade as heavy DeFi behavior when it is not. A handful of routine swaps inflates a wallet’s contract-interaction count enough to stand out, with no unusual behavior behind it. Any investigator counting distinct contracts a wallet has touched should calibrate for this router noise.

Why a DEX router is never treated as a wallet’s origin

The reason holds across every SunSwap brand era. A router is shared infrastructure, and an origin is a party. A TRON smart contract can activate an account. When its internal transfer moves TRX or a TRC-10 token to an address that does not yet exist, the internal transaction names the contract as caller_address. The enclosing transaction names the wallet that signed the call. Account Activation has the full mechanics. The router executed the transfer, and the signer instructed it. The same router executes for every other party that calls it, so naming it as the origin identifies no one. Setting routers aside is a rule of method. No protocol rule stops a router’s transfer from being the one that activates an account.

That makes DEX-router-as-origin a false positive by construction. If an analysis named a router as the origin, the answer would name shared infrastructure where a party belongs, and it would be wrong before any evidence was weighed.

If your analysis surfaces a router as an origin candidate, your analysis has a bug. The routers are scenery.

The practical consequence for any investigator is that DEX-router and factory addresses and the V1 exchange contracts, across JustSwap, SunSwap, SUN.io’s other routers, and SunPump, should be set aside as origin candidates. The reason to set them aside is that they move value on other parties’ instructions and have no interest of their own in doing so. For a heavy DeFi user whose history holds both router calls and funding flows, drop the routers and the funding flows come into view. If a history holds only router calls, the routers are still set aside, and the activation transaction is where to look.

When a wallet’s earliest transactions are all SunSwap router calls, read it as a wallet that was activated inside a transaction some external account signed and then started swapping. A careful trace should be able to identify that account. Reach for the activation event, the very first transaction, and the funding source behind it.

Investigative takeaways

Reuse these points on every wallet that touches a TRON DEX.

The factories and the V3 SwapRouter are what you memorize: TKWJdrQk… (V2 Factory), TThJt8za… (V3 Factory), and TQAvWQpT… (V3 SwapRouter). For the V2 router and the Smart/Universal Router, check the tag on TronScan.

JustSwap and SunSwap are the same protocol. A “JustSwap” reference from before the November 2021 rename points at the V1 factory or one of the exchange contracts it created. The factory at TXk8rQSA… kept its address through the rename, and its on-chain name is still JustswapFactory.

And swap activity is not origin. When a router is the first thing in a wallet’s history, trace back to the activation event and the external account that signed for it.

Sources

  • TRON DAO Medium — Justin’s Open Letter to Crypto Lovers on JustSwap Launch (Aug 19, 2020) — primary, TRON Foundation, signed by Justin Sun; published August 19, 2020, the day after the launch. It establishes JustSwap’s launch date, the direct Uniswap comparison, and the launch-volume figure. The live page refused an automated fetch (HTTP 403, November 15, 2026); the archived capture below is cited for the wording.
  • TRON DAO Medium — Justin’s Open Letter to Crypto Lovers on JustSwap Launch, archived 2022-07-06 — the capture read for this article. Launch date: “Since its launch on August 18, 2020 at 23:00 (UTC+8)”. The Uniswap comparison: “We’ve accomplished in a dozen hours what Uniswap took a dozen months to achieve.” The launch-volume figure: “Within 15 hours, the trading volume on JustSwap has surpassed 5.8 million USD.” The page footer: “The official Medium of Tron Foundation”. The letter does not say who built JustSwap.
  • TRON DAO Medium — SUN.io Officially Acquires JustSwap to Create The Largest Decentralized Exchange In The TRON Ecosystem: SUNSwap (Oct 20, 2021) — primary, TRON Foundation; the acquisition announcement and its staged roadmap, dated October 20, 2021. The live page refused an automated fetch (HTTP 403, November 17, 2026); the archived capture below is cited for the wording.
  • TRON DAO Medium — SUN.io Officially Acquires JustSwap to Create The Largest Decentralized Exchange In The TRON Ecosystem: SUNSwap, archived 2022-09-19 — the capture read for this article. The acquisition: “SUN.io has acquired JustSwap”. The former name: “SUNSwap (formerly JustSwap)”. The roadmap: “Stage II: Develop and build SUNSwap v1.5” and “Stage III: Build SUNSwap V2.0”.
  • SunSwap Zendesk — Announcement on SUN’s Acquisition of JustSwap & Platform Upgrading Plan (Nov 5, 2021) — primary, SunSwap support docs, dated November 5, 2021; the rename: “The SUN team has concluded the acquisition of JustSwap and officially renamed it SunSwap”.
  • sun-protocol/sunswap-v2-contracts (GitHub) — primary, protocol team’s own repo, read on 17 November 2026 at commit d758104; the V2 mainnet Factory and SwapRouter addresses. The repo names its router contract SunswapV2Router02; the UniswapV2Router02 name in the body is the on-chain name from TronGrid, cited below. SunswapV2Pair.sol charges 0.3%, can mint one-sixth of the fee to the factory’s feeTo address as Uniswap V2’s pair does, and declares the Swap event quoted in the body. Compared on 17 November 2026 with Uniswap’s UniswapV2Pair.sol, the pair differs by renames, a newer compiler pragma, and a TransferHelper.safeTransfer call in place of Uniswap’s private _safeTransfer; the swap math, fee, and _mintFee lines are otherwise identical. In SunswapV2Router02.sol each pool on a path sends its output to the next pool and the last pool sends it to the recipient, and a swap to TRX must end in the wrapped-TRX token. The lineage is read from the code and the on-chain names; no SUN.io text read for this article calls V2 a fork.
  • sun-protocol/SunswapV3Contracts (GitHub) — primary; V3 deployment addresses.
  • sun-protocol/smart-exchange-router (GitHub) — primary; documents multi-version routing across V1/V2/V3/PSM/SunCurve. On 17 November 2026 the README carried a deprecation notice in favour of the SunSwap Universal Router.
  • Chainwire — SunSwap V2.0 Goes Live, Introducing One-Click Liquidity Migration (Dec 21, 2021) — project-issued press release dated December 21, 2021; the V2 launch date: “SunSwap V2.0 is now live”.
  • SUN.io Zendesk — Announcement on Launching SunSwap V3 (June 28, 2023) — primary; V3 launch date and concentrated-liquidity design.
  • SUN.io Zendesk — Announcement on the Upgrade of SUN.io Smart Router and V2 Router Contracts, and Adjustments to Energy Subsidies (Dec 30, 2025) — primary; signed December 30, 2025. The Smart Exchange Router TGnC7LMji8hBpyvZt1TTEJhVpAZ5HFyJ3r replaced TCFNp179Lg46D16zKoumd4Poa2WFFdtqYj and the V2 router TMmRKgwC1hx4azzkXoPzujgQThzF48Actq replaced TXF1xDbVGdxFGbovmmmXvBGu8ZiE3Lq4mR. The same two new contracts replaced the SunPump routers TSiiYf1b1PV1fpT9T7V4wy11btsNVajw1g and TZFs5ch1R1C4mmjwrrmZqeqbUgGpxY1yWB.
  • SUN.io Zendesk — Announcement on the Updated Deployment of SUN.io V2 Router Contract (Jan 7, 2026) — primary; dated January 7, 2026. TNJVzGqKBWkJxJB5XYSqGAwUTV15U24pPq replaced TMmRKgwC1hx4azzkXoPzujgQThzF48Actq as the V2 router: “The new contract is now officially live.”
  • SUN.io Zendesk — Announcement on SUN.io Smart Router Upgrade: Introducing Universal Router & Permit2 Protocols (Feb 5, 2026) — primary; the announcement of the first Universal Router (TSJEtPuqHpvSaVnSwvCsngaeBxrGUzp95Q) and Permit2, with both contract addresses. The body is signed February 5, 2026; the page header showed October 14, 2026 when read on 17 November 2026.
  • SUN.io Zendesk — Announcement on the SUN.io Universal Router Contract Upgrade (May 19, 2026) — primary; signed May 19, 2026. TQqgNg13s2DjvXhW1ky4v6TsR8wZGvb7Y4 replaced TSJEtPuqHpvSaVnSwvCsngaeBxrGUzp95Q as the Universal Router.
  • SUN.io Zendesk — Announcement on SUN.io SmartExchangeRouter Contract Energy Subsidy Adjustment (Sep 24, 2026) — primary; dated September 24, 2026. “Energy subsidies for the legacy SmartExchangeRouter contract will officially terminate at 23:59:59 on October 31, 2026 (Singapore Time, UTC+8)”. It names the legacy contract as TGnC7LMji8hBpyvZt1TTEJhVpAZ5HFyJ3r and tells integrators to migrate to the UniversalRouter TQqgNg13s2DjvXhW1ky4v6TsR8wZGvb7Y4.
  • SUN.io Docs — Overview — primary; the Smart Router overview page, read on 17 November 2026: “The Smart Router (SmartExchangeRouter) contract no longer receives feature updates or maintenance.”
  • SUN.io Zendesk — Announcement on the Launch of SunSwap V4 on SUN.io (March 2, 2026) — primary; accessed 16 November 2026. It gives the launch date as March 2, 2026 (Singapore Time), and describes V4 as keeping V3’s concentrated liquidity, replacing the factory model with a single contract that manages all pools, adding hooks that run custom logic at swaps and liquidity additions, and pairing TRX directly with TRC-20 tokens. It names no contract addresses.
  • SUN.io Docs — SunSwap V4 contract addresses — primary; accessed 16 November 2026. The protocol’s own list of V4 mainnet contracts, with the PoolManager at TVjuTE3V5bMVdpfNhid8kD2v35T2k1u1Br and the CLPositionManager at TC8xQzPHfn5KceZV6s6GmZkBCFWWUoPXs1.
  • SUN.io Docs — Introduction — primary; accessed 16 November 2026. The SunSwap V4 introduction page. A single contract manages all pools, and user swaps to V4 go through the SUN.io Universal Router.
  • SUN.io Docs — SunSwap V4 PoolManager — primary; accessed 16 November 2026. The PoolManager manages the state and logic of all pools; a pool is created through initialize with its token pair, fee tier, tick spacing, and an optional hook contract, and is assigned a unique PoolId.
  • SUN.io Docs — SunSwap V4 flash accounting — primary; accessed 16 November 2026. In V1 through V3 each liquidity pool was a standalone contract; a multi-hop V4 swap involves two on-chain transfers, the input in and the output out.
  • SUN.io Docs — Trading Fees — primary, the protocol’s own fee reference. V2: “A 0.3% fee is charged per swap. Of this, 0.05% is used to buy back and burn SUN” and “the remaining 0.25% goes to LPs”. V3: “four tiers of 0.01% / 0.05% / 0.3% / 1%”. The page lists a SunSwap V1 among the versions. The stablecoin venues: PSM is “USDD’s built-in 1:1 fixed-ratio swap feature”, and for SunCurve “the StableSwap curve is specifically optimized for pegged assets”.
  • Uniswap Developers — Protocol Fee Configuration — Uniswap’s own documentation, revised on 17 November 2026 and read again that day: “protocol fees are active on all Uniswap v2 pools, all Uniswap v3 pools, and three v4 pool families”. Its table gives v2 pools 0.25% to liquidity providers and 0.05% to the protocol, and the page sets the protocol fee at 1/6 of the swap fee.
  • Uniswap Developers — Protocol Fee Configuration, archived 2026-10-03 — an archived revision (captured 2026-10-03), titled Protocol Fee Configuration | Uniswap Developers. On that date it read “protocol fees are active on all Uniswap v2 pools and selected Uniswap v3 pools”, with the same 0.25% and 0.05% v2 split.
  • SUN.io Zendesk — How to use SunSwap V3? — primary; the V3 fee-tier table (0.01% / 0.05% / 0.3% / 1%) with the intended use of each tier. The lineage SUN.io states: “SunSwap V3 has been redesigned based on SunSwap V2”.
  • SUN.io Docs — How Does It Work? — primary; the SunPump participation guide, read on 17 November 2026: “Step 2: Buy via the bonding curve”.
  • SUN.io Docs — SunPump Contract — primary; read on 17 November 2026. SUN.io’s list of SunPump contracts, with the PumpSwapRouter at TZFs5ch1R1C4mmjwrrmZqeqbUgGpxY1yWB and the PumpSmartExchangeRouter at TSiiYf1b1PV1fpT9T7V4wy11btsNVajw1g.
  • DefiLlama — TRON DEX volume overview (API) — primary data provider, read on 17 November 2026. The 30-day volumes were $1,844,368,519 for SUNSwap V3, $702,147,000 for SunSwap V4, $102,680,181 for SUNSwap V2, and $9,561,914 for SUNSwap V1, of a TRON total of $2,898,192,617. That is 91.7% for the four versions together: 63.6% for V3, 24.2% for V4, 3.5% for V2, and 0.3% for V1. The other 8.3% was an entry named RedotPay Card, so the share depends on what DefiLlama classes as DEX volume.
  • DefiLlama — SUNSwap V2 protocol TVL (API) — primary data provider; the V2 TVL series read on 17 November 2026: $126,514,015 on June 27, 2023, a maximum of $376,521,922 on December 4, 2024, and $243,646,708 at its last point. The companion SUNSwap V3 series ended at $80,149,150 on the same read.
  • DefiLlama — SunSwap V3 protocol page — primary data provider; the page to read again for V3 TVL and volume. The live page refused an automated fetch (HTTP 403, November 17, 2026); the archived capture below is cited for the wording.
  • DefiLlama — SunSwap V3 protocol page, archived 2025-09-13 — an archived revision (captured 2025-09-13), titled SUNSwap V3 - DefiLlama. On that date it showed “Total Value Locked $253.14m”.
  • DefiLlama — SunSwap V2 protocol page — primary data provider; the page to read again for V2 TVL and volume. The live page refused an automated fetch (HTTP 403, November 17, 2026); the archived capture below is cited for the wording.
  • DefiLlama — SunSwap V2 protocol page, archived 2026-02-15 — an archived revision (captured 2026-02-15), titled SUNSwap V2 - DefiLlama. On that date it showed “Total Value Locked $241.14m” and “DEX Volume 30d $136.18m”.
  • DefiLlama — SunSwap V1 protocol page — primary data provider; the page to read again for V1 TVL and volume. The live page refused an automated fetch (HTTP 403, November 17, 2026); the archived capture below is cited for the wording.
  • DefiLlama — SunSwap V1 protocol page, archived 2025-08-14 — an archived revision (captured 2025-08-14), titled SUNSwap V1 - DefiLlama. On that date it showed “Total Value Locked $419.52m”.
  • TronScan public contract-tag API — the record for the first SunSwap V2 router, tagged SUN: SunSwap V2 Router (Deprecated) when read on 17 November 2026. The same call with each V2 router address in the reference table returns that contract’s tag: TXF1xDbVGdxFGbovmmmXvBGu8ZiE3Lq4mR read SUN: SunSwap V2 Router (deprecated) and TMmRKgwC1hx4azzkXoPzujgQThzF48Actq read SUN: SunSwap V2Router (deprecated), while TNJVzGqKBWkJxJB5XYSqGAwUTV15U24pPq carried SUN: SunSwap V2Router with no deprecation mark. Each of the four returns TKWJdrQkqHisa1X8HUdHEfREvTzw4pMAaY from factory(), read through TronGrid wallet/triggerconstantcontract on the same day. On the same day the records gave transaction counts of 4,242,876 for TXF1xDbVGdxFGbovmmmXvBGu8ZiE3Lq4mR, 2,282,123 for TKzxdSv2FZKQrEqkKVgp5DcwEXBEKMg2Ax, 444,234 for TNJVzGqKBWkJxJB5XYSqGAwUTV15U24pPq, and 96,385 for TMmRKgwC1hx4azzkXoPzujgQThzF48Actq. The record also carries each contract’s creation date: December 13, 2021 for TKzxdSv2FZKQrEqkKVgp5DcwEXBEKMg2Ax, September 6, 2024 for TXF1xDbVGdxFGbovmmmXvBGu8ZiE3Lq4mR, December 28, 2025 for TMmRKgwC1hx4azzkXoPzujgQThzF48Actq, and January 6, 2026 for TNJVzGqKBWkJxJB5XYSqGAwUTV15U24pPq.
  • TronScan public contract-tag API — the record for the UniversalRouter SUN.io announced with Permit2, tagged SUN: SunSwap UniversalRouter (deprecated) when read on 17 November 2026. The same call with TQqgNg13s2DjvXhW1ky4v6TsR8wZGvb7Y4 returned SUN: SunSwap UniversalRouter with no deprecation mark, and with TTJxU3P8rHycAyFY4kVtGNfmnMH4ezcuM9 returned SUN: Permit2.
  • TronScan public contract-tag API — the record for the earliest tagged Smart Exchange Router, tagged SUN: SunSwap Smart Exchange Router (deprecated) when read on 17 November 2026. The same call with TJ4NNy8xZEqsowCBhLvZ45LCqPdGjkET5j, TCFNp179Lg46D16zKoumd4Poa2WFFdtqYj, and TGnC7LMji8hBpyvZt1TTEJhVpAZ5HFyJ3r returned the same deprecated Smart Exchange Router tag for each, and with TWH7FMNjaLUfx5XnCzs1wybzA6jV5DXWsG returned SUN: SunSwap Smart Exchange Router with no deprecation mark, a creation date of February 3, 2026, and a transaction count of 980. The same call returned a deprecated SunPumpSmartRouter tag for both SunPump routers, with a transaction count of 10,081,516 for TZFs5ch1R1C4mmjwrrmZqeqbUgGpxY1yWB. The transaction counts on the same day for the routers in the reference table were all lower.
  • TronScan public contract-tag API — the record for the V3 factory, tagged SUN: SunSwapV3 Factory when read on 17 November 2026. The same call returned SUN: SunSwapV3 SwapRouter for TQAvWQpT9H916GckwWDJNhYZvQMkuRL7PN, SUN: SunSwapV3 NFT Position Manager for TLSWrv7eC1AZCXkRjpqMZUmvgd99cj7pPF, SUN: SunSwapV2 Factory for TKWJdrQkqHisa1X8HUdHEfREvTzw4pMAaY, and SUN: SunSwapV1 Factory for TXk8rQSAvPvBBNtqSoY6nCfsXWCSSpTVQF, none with a deprecation mark. TLhZ48yfHygMLM2uZr87zJJusHjGen97gh (Quoter) carries no public tag; it is attested by the sun-protocol V3 deployment table. The records give creation dates of August 14, 2020 for the V1 factory and December 13, 2021 for the V2 factory. The same call with TQn9Y2khEsLJW1ChVWFMSMeRDow5KcbLSE, the V1 exchange contract for USDT, returned the tag S-USDT-TRX Token and a transaction count of 10,400,315.
  • TronScan public contract-tag API — the record for the V4 PoolManager, tagged SUN: SunSwapV4 PoolManager with no deprecation mark when read on 17 November 2026, and created on December 28, 2025 (UTC). The same call with TC8xQzPHfn5KceZV6s6GmZkBCFWWUoPXs1 returned SUN: SunSwapV4 CLPositionManager, also with no deprecation mark, and its token record is a TRC-721. Read through TronGrid on the same day: the PoolManager’s ABI from wallet/getcontract declares Swap(bytes32 indexed id, address indexed sender, int128 amount0, int128 amount1, uint160 sqrtPriceX96, uint128 liquidity, int24 tick, uint24 fee, uint16 protocolFee), an Initialize event carrying the id with currency0 and currency1, and the poolIdToPoolKey and take functions; the CLPositionManager’s clPoolManager() and vault() both return the PoolManager through wallet/triggerconstantcontract.
  • TronGrid — wallet/getcontract — the on-chain contract records, read on 17 November 2026. The V1 factory’s contract name is JustswapFactory, and its ABI has the getExchange, createExchange, and exchangeTemplate functions of Uniswap V1’s factory. Its getExchange, called with the USDT contract through wallet/triggerconstantcontract, returned TQn9Y2khEsLJW1ChVWFMSMeRDow5KcbLSE. The V2 factory’s name is UniswapV2Factory, each of the four V2 routers is named UniswapV2Router02, and the V3 factory is named UniswapV3Factory. Each V2 router’s ABI lists nine swap methods, swapExactETHForTokens among them, and none with TRX in its name. The V2 factory’s feeTo(), read through wallet/triggerconstantcontract on the same day, returned TPdthWzUHfepu2TEBimTFi1sBWtGYi3Ksa. factory() on each V2 router returned the V2 factory, and on the V3 SwapRouter, Quoter, and NonfungiblePositionManager it returned the V3 factory.
  • TronGrid — wallet/gettransactioninfobyid — the sampled V2 swap, transaction dc15688f4a549379dfda6d6be1dda3991113f3deeba6b76efba9718cf18d2765 in block 88079382 (17 November 2026). The pair’s log carries the Swap topic-0 hash given in the body, and its sender topic is the V2 router TNJVzGqKBWkJxJB5XYSqGAwUTV15U24pPq. It is one swap and supports no count.
  • TRON Developer Hub — Accounts and keys — primary; read on 19 November 2026. The sender of a standard activation pays the account creation fee (“currently 1 TRX on Mainnet”). The network also deducts the transaction’s Bandwidth, multiplied by getCreateNewAccountBandwidthRate, from the sender’s staked or delegated Bandwidth, or burns the fixed getCreateAccountFee (“currently 0.1 TRX, if that Bandwidth cannot cover the full amount”). The sender cannot use the free Bandwidth allowance for an account creation. A contract transferring TRX or TRC-10 to an unactivated address activates it, which adds 25,000 to the Energy cost of the call. The page does not mention TIP-54.
  • tip-54.md — tronprotocol/tips — TIP-54, the proposal to let a contract’s transfer activate a non-existent account: created August 9, 2019, status Final. The document names no activation date. Committee proposal #29 enabled the feature on mainnet in February 2020: TronGrid wallet/listproposals, read on 17 November 2026, shows it created on February 21, 2020 and APPROVED, with an expiration time of February 24, 2020 06:00 UTC. The rule that shipped is the 25,000 Energy the Developer Hub page gives.
  • core/Tron.proto — tronprotocol/protocol — primary; accessed 16 November 2026. The InternalTransaction message carries a caller_address field, the address that sent the value inside the call.
  • smart_contract.proto — tronprotocol/protocol — the protocol definition of TriggerSmartContract (owner_address, contract_address, call_value, data, call_token_value, token_id) — the message type this chapter names.