🧬
Head First DeFi: TX & Strategies
  • Decoding the DNA of DeFi Transactions & Strategies
    • From Arbitrage, Sandwich to JIT and Oracle Manipulation
    • Be Prepared To Explore the DeFi World
    • Case Study Format
  • MEV Transaction & Strategy 101
    • A $3.2 Million Profit Arbitrage, the Most Lucrative MEV of 2022
    • Understand Back-Run Arbitrages and Their Signals and Join the MEV Game.
    • Wallchain's MEV Arbitrage Redistribution
    • MEV Blocker, the multi-transaction MEV redistribution system that refunds 90% of builder rewards
    • With NFT arbitrage, someone was snipping your Baby Doge.
    • The Hidden Tax That You Should Know About
    • MEV-Share, Flashbots' MEV Redistribution Solution
  • Don't Let Your Trading Become the Recipe of Someone's Sandwich
    • The Notorious Jaredfromsubway.eth's Sandwich Attack
    • Combined with Flash Loan, This Leveraged Sandwich Launched the Attack with Millions of Volumes
    • Sandwich Targeting Liquidity Providers
    • The Flash-Loan-Enabled Sandwich Attack against Ethereum Foundation
  • Under the Hood of the DeFi Lego
    • What's Really Going on When Processing Liquidity in a Uniswap Pool?
      • Pretend You Are One of the Shareholders of a Bank Branch.
      • Let's Match the Bank Branch to a Uniswap Pool.
      • Adding Liquidity.
      • Removing Liquidity.
      • Conclusion
    • Liquidation: A Good Entry Point to Comprehend Internal Accounting Used by Many DeFi Protocols.
    • A Cross-Chain Arbitrage: The Art of Arbitraging BANANA Cross BSC and Polygon Chains
    • Liquidity Rebalancing: Moving Around $9.4 Million for More Fee Revenues.
    • Rebalancing loan positions utilizing AAVE Flash loan
    • How Does the Grok Token Exploiter Exploit the X Token By Baking His Own Cake And Eating it?
  • Unlocking the Power of Advanced DeFi Transactions and Becoming a DeFi Sleuth
    • Just-in-Time, an MEV Type That Benefits Traders in the Same Trading Venue
    • A Bot Devised Arbitrage Strategies Centered on Autonomous Minting and Burning of Synthetic Tokens
    • The Defect in a Lending Protocol's Oracle Module Was Exploited by a Bot to Generate a $110K Profit
    • A $296K-Profit Arbitrage Done by the Lightning Reflex Bot After the Vyper-Curve Exploit
    • Coffeebabe.eth Utilized Curve's CRV/WETH Pool's Price Deviation for a $5.4 Million Profit Arbitrage.
    • An Attacker Baited MEV Arbitrage Bots and Emptied Their Wallets
    • How Enso Solves 73.5ETH in 116 Steps in One Transaction
Powered by GitBook
On this page
  • Strategy One Liner
  • Link To The Case
  • Key Steps
  • Key Protocols
  • Key Addresses
  • Key Assets
  • Simplified Illustration
  • Step-by-step Decoding
  • More Details
  • Keywords

Was this helpful?

  1. MEV Transaction & Strategy 101

The Hidden Tax That You Should Know About

PreviousWith NFT arbitrage, someone was snipping your Baby Doge.NextMEV-Share, Flashbots' MEV Redistribution Solution

Last updated 1 year ago

Was this helpful?

Strategy One Liner

Tax tokens may charge users for every transaction. In this case, a user swapped BNB for CUE but was charged a 2.5% tax.

Link To The Case

Key Steps

This is an arbitrage on the BNB smart chain; its native cryptocurrency is BNB.

  1. Step 0, 3, 4: The user swaps 0.1 BNB for 2.9150 CUE on Pancake.

  2. Step 5: The token CUE is a tax token, i.e., there is a fee (tax) for every transaction. In this case, the tax is 0.0747, or 2.5%.

Key Protocols

  • Pancake: A major DEX (decentralized exchange).

Key Addresses

  • The pentagon marked as from is the user's address, 0x3b48.

  • The oval to is Pancake's router. The router decides the best path for a trade.

  • The green oval WBNB is Wrapped BNB's contract. WBNB is pegged 1:1 with the native Binance Coin (BNB).

  • The pentagon marked as leaf is CUE's wallet.

Key Assets

BNB, WBNB, CUE (tax token!)

Simplified Illustration

Step-by-step Decoding

Step 0: The user sends 0.1 BNB to the Pancake router, aiming to swap for CUE.

Step 1, 2: Panckae router transforms 0.1 BNB to 0.1 WBNB. WBNB is more compatible in the world of decentralized finance.

Step 3,4: The 0.1 WBNB is sent to Cake-LP to exchange to 2.9150 CUE.

Step 5: A 0.0747 CUE tax is charged for the 2.9150 CUE transaction. Note that 0.0747/(0.0747+2.9150)=2.5%. So, the tax rate is 2.5%.

More Details

The existence of tax tokens is typical of the lack of standardization of smart contracts. In this transaction, the "from" address swapped 0.1 BNB for 2.9897 CUE at PancakeSwap. However, this swap process is trickier than usual because the CUE contract included a tax collection process. As a result, the user only got 2.9150 CUE, and 0.0747 CUE was transferred to Cue Protocol’s Governance Wallet (leaf).

Keywords

Tax token, BNB, BNB smart chain

Understanding tax tokens from the transaction information displayed on sites like BscScan.io may be challenging. Therefore, we recommend downloading our to visualize the text information better.

EigenTx Chrome extension
Transaction Flow Chart | EigenTx:0x52a3da176fd917c422462368bd872bcf75b4ff923a686b7d7114487b76736094EigenPhi
Logo