ETH Price: $3,704.65 (-1.79%)

Transaction Decoder

Block:
21942918 at Feb-28-2025 06:01:11 AM +UTC
Transaction Fee:
0.000447049852348619 ETH $1.66
Gas Used:
193,271 Gas / 2.313072589 Gwei

Emitted Events:

149 WETH9.Deposit( dst=0x85CD07Ea01423b1E937929B44E4Ad8c40BbB5E71, wad=1800000000000000 )
150 WETH9.Transfer( src=0x85CD07Ea01423b1E937929B44E4Ad8c40BbB5E71, dst=PancakePair, wad=1800000000000000 )
151 TetherToken.Transfer( from=PancakePair, to=0x85CD07Ea01423b1E937929B44E4Ad8c40BbB5E71, value=3817176 )
152 PancakePair.Sync( reserve0=62804564788047454945, reserve1=133516696522 )
153 PancakePair.Swap( sender=0x85CD07Ea01423b1E937929B44E4Ad8c40BbB5E71, amount0In=1800000000000000, amount1In=0, amount0Out=0, amount1Out=3817176, to=0x85CD07Ea01423b1E937929B44E4Ad8c40BbB5E71 )
154 0x85cd07ea01423b1e937929b44e4ad8c40bbb5e71.0x1bf1122521093cffed0b7f29833cd231d885bae58dceb074e411a1fbd94824bd( 0x1bf1122521093cffed0b7f29833cd231d885bae58dceb074e411a1fbd94824bd, 0x000000000000000000000000ad27827c312cd5e71311d68e180a9872d42de23d, 0x000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee, 0x0000000000000000000000000000000000000000000000000000000000000000, 00000000000000000000000085cd07ea01423b1e937929b44e4ad8c40bbb5e71, 000000000000000000000000dac17f958d2ee523a2206206994597c13d831ec7, 0000000000000000000000000000000000000000000000000006651728988000, 000000000000000000000000000000000000000000000000000000000039f44a, 00000000000000000000000000000000000000000000000000000000003a3ed8, 0000000000000000000000000000000000000000000000000000000000000000 )
155 TetherToken.Transfer( from=0x85CD07Ea01423b1E937929B44E4Ad8c40BbB5E71, to=TokenChomper, value=9495 )
156 TetherToken.Transfer( from=0x85CD07Ea01423b1E937929B44E4Ad8c40BbB5E71, to=[Sender] 0xc58b6c9be02d6a446386c40b2d5ca8f63a38e178, value=3807681 )

Account State Difference:

  Address   Before After State Difference Code
0x17C1Ae82...e4539aba5
4.347729404815686425 Eth4.347837117237568867 Eth0.000107712421882442
0xC02aaA39...83C756Cc2 2,901,377.476720782454060928 Eth2,901,377.478520782454060928 Eth0.0018
0xC58b6C9B...63A38E178
0.004522012912955552 Eth
Nonce: 3
0.002274963060606933 Eth
Nonce: 4
0.002247049852348619
0xdAC17F95...13D831ec7

Execution Trace

ETH 0.0018 RedSnwapper.snwap( tokenIn=0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE, amountIn=1800000000000000, recipient=0xC58b6C9Be02D6a446386c40B2d5ca8F63A38E178, tokenOut=0xdAC17F958D2ee523a2206206994597C13D831ec7, amountOutMin=3788595, executor=0x85CD07Ea01423b1E937929B44E4Ad8c40BbB5E71, executorData=0xEE623204000000000000000000000000CA226BD9C754F1283123D32B2A7CF62A722F8ADA0000000000000000000000000000000000000000000000000000000000002517000000000000000000000000EEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEE0000000000000000000000000000000000000000000000000006651728988000000000000000000000000000DAC17F958D2EE523A2206206994597C13D831EC700000000000000000000000000000000000000000000000000000000003A3ED8000000000000000000000000000000000000000000000000000000000039F44A000000000000000000000000C58B6C9BE02D6A446386C40B2D5CA8F63A38E1780000000000000000000000000000000000000000000000000000000000000140000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000700301FFFF020117C1AE82D99379240059940093762C5E4539ABA5C02AAA39B223FE8D0A0E5C4F27EAD9083C756CC204C02AAA39B223FE8D0A0E5C4F27EAD9083C756CC20017C1AE82D99379240059940093762C5E4539ABA50185CD07EA01423B1E937929B44E4AD8C40BBB5E710009C400000000000000000000000000000000 ) => ( amountOut=3807681 )
  • TetherToken.balanceOf( who=0xC58b6C9Be02D6a446386c40B2d5ca8F63A38E178 ) => ( 0 )
  • ETH 0.0018 0xad27827c312cd5e71311d68e180a9872d42de23d.1cff79cd( )
    • ETH 0.0018 0x85cd07ea01423b1e937929b44e4ad8c40bbb5e71.ee623204( )
      • TetherToken.balanceOf( who=0x85CD07Ea01423b1E937929B44E4Ad8c40BbB5E71 ) => ( 1 )
      • ETH 0.0018 WETH9.CALL( )
      • WETH9.transfer( dst=0x17C1Ae82D99379240059940093762c5e4539aba5, wad=1800000000000000 ) => ( True )
      • PancakePair.STATICCALL( )
      • WETH9.balanceOf( 0x17C1Ae82D99379240059940093762c5e4539aba5 ) => ( 62804564788047454945 )
      • PancakePair.swap( amount0Out=0, amount1Out=3817176, to=0x85CD07Ea01423b1E937929B44E4Ad8c40BbB5E71, data=0x )
        • TetherToken.transfer( _to=0x85CD07Ea01423b1E937929B44E4Ad8c40BbB5E71, _value=3817176 )
        • WETH9.balanceOf( 0x17C1Ae82D99379240059940093762c5e4539aba5 ) => ( 62804564788047454945 )
        • TetherToken.balanceOf( who=0x17C1Ae82D99379240059940093762c5e4539aba5 ) => ( 133516696522 )
        • TetherToken.balanceOf( who=0x85CD07Ea01423b1E937929B44E4Ad8c40BbB5E71 ) => ( 3817177 )
        • TetherToken.transfer( _to=0xca226bd9c754F1283123d32B2a7cF62a722f8ADa, _value=9495 )
        • TetherToken.transfer( _to=0xC58b6C9Be02D6a446386c40B2d5ca8F63A38E178, _value=3807681 )
        • TetherToken.balanceOf( who=0xC58b6C9Be02D6a446386c40B2d5ca8F63A38E178 ) => ( 3807681 )
          File 1 of 5: RedSnwapper
          1
          2
          3
          4
          5
          6
          7
          8
          9
          10
          11
          12
          13
          14
          15
          16
          // SPDX-License-Identifier: MIT
          // OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/draft-IERC20Permit.sol)
          pragma solidity ^0.8.0;
          /**
          * @dev Interface of the ERC20 Permit extension allowing approvals to be made via signatures, as defined in
          * https://eips.ethereum.org/EIPS/eip-2612[EIP-2612].
          *
          * Adds the {permit} method, which can be used to change an account's ERC20 allowance (see {IERC20-allowance}) by
          * presenting a message signed by the account. By not relying on {IERC20-approve}, the token holder account doesn't
          * need to send a transaction, and thus is not required to hold Ether at all.
          */
          interface IERC20Permit {
          /**
          * @dev Sets `value` as the allowance of `spender` over ``owner``'s tokens,
          * given ``owner``'s signed approval.
          *
          XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

          File 2 of 5: WETH9
          1
          2
          3
          4
          5
          6
          7
          8
          9
          10
          11
          12
          13
          14
          15
          16
          // Copyright (C) 2015, 2016, 2017 Dapphub
          // This program is free software: you can redistribute it and/or modify
          // it under the terms of the GNU General Public License as published by
          // the Free Software Foundation, either version 3 of the License, or
          // (at your option) any later version.
          // This program is distributed in the hope that it will be useful,
          // but WITHOUT ANY WARRANTY; without even the implied warranty of
          // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
          // GNU General Public License for more details.
          // You should have received a copy of the GNU General Public License
          // along with this program. If not, see <http://www.gnu.org/licenses/>.
          pragma solidity ^0.4.18;
          XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

          File 3 of 5: PancakePair
          1
          2
          3
          4
          5
          6
          7
          8
          9
          10
          11
          12
          13
          14
          15
          16
          /**
          *Submitted for verification at BscScan.com on 2021-04-23
          */
          /**
          *Submitted for verification at BscScan.com on 2021-04-22
          */
          /**
          *Submitted for verification at BscScan.com on 2021-04-22
          */
          /**
          *Submitted for verification at BscScan.com on 2020-09-19
          */
          pragma solidity =0.5.16;
          interface IPancakeFactory {
          event PairCreated(address indexed token0, address indexed token1, address pair, uint);
          function feeTo() external view returns (address);
          XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

          File 4 of 5: TetherToken
          1
          2
          3
          4
          5
          6
          7
          8
          9
          10
          11
          12
          13
          14
          15
          16
          pragma solidity ^0.4.17;
          /**
          * @title SafeMath
          * @dev Math operations with safety checks that throw on error
          */
          library SafeMath {
          function mul(uint256 a, uint256 b) internal pure returns (uint256) {
          if (a == 0) {
          return 0;
          }
          uint256 c = a * b;
          assert(c / a == b);
          return c;
          }
          XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

          File 5 of 5: TokenChomper
          1
          2
          3
          4
          5
          6
          7
          8
          9
          10
          11
          12
          13
          14
          15
          16
          // SPDX-License-Identifier: GPL-3.0-or-later
          pragma solidity >=0.8.0;
          import "/interfaces/IRouteProcessor.sol";
          import "interfaces/IERC20.sol";
          import "./Auth.sol";
          /// @title TokenChomper for selling accumulated tokens for weth or other base assets
          /// @notice This contract will be used for fee collection and breakdown
          /// @dev Uses Auth contract for 2-step owner process and trust operators to guard functions
          contract TokenChomper is Auth {
          address public immutable weth;
          IRouteProcessor public routeProcessor;
          bytes4 private constant TRANSFER_SELECTOR = bytes4(keccak256(bytes('transfer(address,uint256)')));
          error TransferFailed();
          constructor(
          address _operator,
          address _routeProcessor,
          XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX