ETH Price: $3,455.72 (-1.01%)

Transaction Decoder

Block:
21705905 at Jan-26-2025 03:08:23 AM +UTC
Transaction Fee:
0.000673912415943325 ETH $2.33
Gas Used:
141,739 Gas / 4.754601175 Gwei

Account State Difference:

  Address   Before After State Difference Code
0x5F939de0...82412459a
5.086550704376092704 Eth
Nonce: 1199
5.085876791960149379 Eth
Nonce: 1200
0.000673912415943325
(beaverbuild)
14.499745788139809109 Eth14.499958396639809109 Eth0.0002126085

Execution Trace

SwapRouter02.multicall( deadline=1737862691, data=[BORarwAAAAAAAAAAAAAAAKDveGv0dv4IEECMq6BeU2rIAP+GAAAAAAAAAAAAAAAAwCqqObIj/o0KDlxPJ+rZCDx1bMIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAALuAAAAAAAAAAAAAAAAF+TneDoGhmaNOUGFfNMurgkEkWaAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOfMDSM7x52iAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAMymOz8qa8ngAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA] )
  • SwapRouter02.exactInputSingle( params=[{name:tokenIn, type:address, order:1, indexed:false, value:0xA0Ef786Bf476fE0810408CaBA05E536aC800ff86, valueString:0xA0Ef786Bf476fE0810408CaBA05E536aC800ff86}, {name:tokenOut, type:address, order:2, indexed:false, value:0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2, valueString:0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2}, {name:fee, type:uint24, order:3, indexed:false, value:3000, valueString:3000}, {name:recipient, type:address, order:4, indexed:false, value:0x5F939de0E81a199a34e50615F34cBAb82412459a, valueString:0x5F939de0E81a199a34e50615F34cBAb82412459a}, {name:amountIn, type:uint256, order:5, indexed:false, value:1094630740000000000000000, valueString:1094630740000000000000000}, {name:amountOutMinimum, type:uint256, order:6, indexed:false, value:921658698271997086, valueString:921658698271997086}, {name:sqrtPriceLimitX96, type:uint160, order:7, indexed:false, value:0, valueString:0}] ) => ( amountOut=3963877391197344453575983046348115674221700746820753546331534351508065746944 )
    • UniswapV3Pool.swap( recipient=0x5F939de0E81a199a34e50615F34cBAb82412459a, zeroForOne=True, amountSpecified=1094630740000000000000000, sqrtPriceLimitX96=4295128740, data=0x000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000400000000000000000000000005F939DE0E81A199A34E50615F34CBAB82412459A000000000000000000000000000000000000000000000000000000000000002BA0EF786BF476FE0810408CABA05E536AC800FF86000BB8C02AAA39B223FE8D0A0E5C4F27EAD9083C756CC2000000000000000000000000000000000000000000 ) => ( amount0=1094630740000000000000000, amount1=-905429197585852118 )
      • WETH9.transfer( dst=0x5F939de0E81a199a34e50615F34cBAb82412459a, wad=905429197585852118 ) => ( True )
      • MyriaToken.balanceOf( account=0xbf85f94D3233Ee588F0907A9147FBB59d7246b54 ) => ( 38331040774865045285183508 )
      • SwapRouter02.uniswapV3SwapCallback( amount0Delta=1094630740000000000000000, amount1Delta=-905429197585852118, _data=0x000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000400000000000000000000000005F939DE0E81A199A34E50615F34CBAB82412459A000000000000000000000000000000000000000000000000000000000000002BA0EF786BF476FE0810408CABA05E536AC800FF86000BB8C02AAA39B223FE8D0A0E5C4F27EAD9083C756CC2000000000000000000000000000000000000000000 )
        • MyriaToken.transferFrom( sender=0x5F939de0E81a199a34e50615F34cBAb82412459a, recipient=0xbf85f94D3233Ee588F0907A9147FBB59d7246b54, amount=1094630740000000000000000 ) => ( True )
        • MyriaToken.balanceOf( account=0xbf85f94D3233Ee588F0907A9147FBB59d7246b54 ) => ( 39425671514865045285183508 )
          File 1 of 4: SwapRouter02
          1
          2
          3
          4
          5
          6
          7
          8
          9
          10
          11
          12
          13
          14
          15
          16
          // SPDX-License-Identifier: GPL-2.0-or-later
          pragma solidity =0.7.6;
          pragma abicoder v2;
          import '@uniswap/v3-periphery/contracts/base/SelfPermit.sol';
          import '@uniswap/v3-periphery/contracts/base/PeripheryImmutableState.sol';
          import './interfaces/ISwapRouter02.sol';
          import './V2SwapRouter.sol';
          import './V3SwapRouter.sol';
          import './base/ApproveAndCall.sol';
          import './base/MulticallExtended.sol';
          /// @title Uniswap V2 and V3 Swap Router
          contract SwapRouter02 is ISwapRouter02, V2SwapRouter, V3SwapRouter, ApproveAndCall, MulticallExtended, SelfPermit {
          constructor(
          address _factoryV2,
          address factoryV3,
          address _positionManager,
          XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

          File 2 of 4: UniswapV3Pool
          1
          2
          3
          4
          5
          6
          7
          8
          9
          10
          11
          12
          13
          14
          15
          16
          // SPDX-License-Identifier: BUSL-1.1
          pragma solidity =0.7.6;
          import './interfaces/IUniswapV3Pool.sol';
          import './NoDelegateCall.sol';
          import './libraries/LowGasSafeMath.sol';
          import './libraries/SafeCast.sol';
          import './libraries/Tick.sol';
          import './libraries/TickBitmap.sol';
          import './libraries/Position.sol';
          import './libraries/Oracle.sol';
          import './libraries/FullMath.sol';
          import './libraries/FixedPoint128.sol';
          import './libraries/TransferHelper.sol';
          import './libraries/TickMath.sol';
          import './libraries/LiquidityMath.sol';
          import './libraries/SqrtPriceMath.sol';
          XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

          File 3 of 4: 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 4 of 4: MyriaToken
          1
          2
          3
          4
          5
          6
          7
          8
          9
          10
          11
          12
          13
          14
          15
          16
          //SPDX-License-Identifier: MIT
          pragma solidity 0.8.12;
          import "@openzeppelin/contracts/token/ERC20/ERC20.sol";
          import "@openzeppelin/contracts/access/Ownable.sol";
          /// @title A token which has a defined max amount which can be minted by owner
          /// @author Brendan Duhamel (Myria)
          contract MyriaToken is ERC20, Ownable {
          // 18 decimals
          uint256 public MAX_SUPPLY = 50_000_000_000 * (10**18);
          constructor(string memory _name, string memory _symbol) ERC20(_name, _symbol) {}
          /// @dev Mints some new tokens, only callable by owner
          /// @param amount The amount of new tokens to be minted
          function mint(uint256 amount) external onlyOwner {
          require(MAX_SUPPLY >= (totalSupply()+amount), "Cannot exceed max supply");
          _mint(_msgSender(), amount);
          XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX