ETH Price: $2,519.48 (-2.48%)

Transaction Decoder

Block:
15534559 at Sep-14-2022 06:59:08 PM +UTC
Transaction Fee:
0.017423027224744035 ETH $43.90
Gas Used:
204,441 Gas / 85.222764635 Gwei

Emitted Events:

63 WETH9.Deposit( dst=0xd12bcdFB9A39BE79DA3bDF02557EFdcD5CA59e77, wad=19940000000000000 )
64 WETH9.Transfer( src=0xd12bcdFB9A39BE79DA3bDF02557EFdcD5CA59e77, dst=UniswapV2Pair, wad=19940000000000000 )
65 Metacrypt_B_TR_TAX_NC_X.Transfer( from=UniswapV2Pair, to=[Sender] 0xc3c0024848d8e335b25d7873dd8cc8fccb1ed984, value=1772731244043147566080377053 )
66 UniswapV2Pair.Sync( reserve0=7213202322615526974277313915438, reserve1=77676251745280818393 )
67 UniswapV2Pair.Swap( sender=0xd12bcdFB9A39BE79DA3bDF02557EFdcD5CA59e77, amount0In=0, amount1In=19940000000000000, amount0Out=1846595045878278714667059430, amount1Out=0, to=[Sender] 0xc3c0024848d8e335b25d7873dd8cc8fccb1ed984 )
68 0xd12bcdfb9a39be79da3bdf02557efdcd5ca59e77.0xddac40937f35385a34f721af292e5a83fc5b840f722bff57c2fc71adba708c48( 0xddac40937f35385a34f721af292e5a83fc5b840f722bff57c2fc71adba708c48, 000000000000000000000000688c56c2a19b88e46b008aaaa268a29f1772b79b, 000000000000000000000000000000000000000005f777b605a8ffd641f848e6, 000000000000000000000000b4743bfabfce34537a4baf0f3eb2f269246d180a )
69 AggregationRouter.Swapped( sender=[Sender] 0xc3c0024848d8e335b25d7873dd8cc8fccb1ed984, srcToken=0xEeeeeEee...eeeeeEEeE, dstToken=Metacrypt_B_TR_TAX_NC_X, dstReceiver=[Sender] 0xc3c0024848d8e335b25d7873dd8cc8fccb1ed984, spentAmount=20000000000000000, returnAmount=1772731244043147566080377053 )
70 AggregationRouter.Exchange( pair=0xd12bcdFB9A39BE79DA3bDF02557EFdcD5CA59e77, amountOut=1772731244043147566080377053, output=Metacrypt_B_TR_TAX_NC_X )

Account State Difference:

  Address   Before After State Difference Code
(2Miners: PPLNS)
6,243.675211936345059025 Eth6,243.6886465931691505 Eth0.013434656824091475
0x688C56C2...F1772B79B
0x96c195F6...76D51b5F3 2.151254999862599762 Eth2.151314999862599762 Eth0.00006
0xB4743bfA...9246D180A
0xC02aaA39...83C756Cc2 3,193,433.627407456550411147 Eth3,193,433.647347456550411147 Eth0.01994
0xC3C00248...cCB1ed984
0.078361911433026145 Eth
Nonce: 13
0.04093888420828211 Eth
Nonce: 14
0.037423027224744035

Execution Trace

ETH 0.02 AggregationRouter.swap( caller=0xd12bcdFB9A39BE79DA3bDF02557EFdcD5CA59e77, desc=[{name:srcToken, type:address, order:1, indexed:false, value:0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE, valueString:0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE}, {name:dstToken, type:address, order:2, indexed:false, value:0xB4743bfABfcE34537A4baf0F3eB2F269246D180A, valueString:0xB4743bfABfcE34537A4baf0F3eB2F269246D180A}, {name:srcReceivers, type:address[], order:3, indexed:false, value:[0x96c195F6643A3D797cb90cb6BA0Ae2776D51b5F3], valueString:[0x96c195F6643A3D797cb90cb6BA0Ae2776D51b5F3]}, {name:srcAmounts, type:uint256[], order:4, indexed:false, value:[60000000000000], valueString:[60000000000000]}, {name:dstReceiver, type:address, order:5, indexed:false, value:0xC3C0024848D8e335B25d7873Dd8Cc8FcCB1ed984, valueString:0xC3C0024848D8e335B25d7873Dd8Cc8FcCB1ed984}, {name:amount, type:uint256, order:6, indexed:false, value:20000000000000000, valueString:20000000000000000}, {name:minReturnAmount, type:uint256, order:7, indexed:false, value:107575828965575116843020946, valueString:107575828965575116843020946}, {name:flags, type:uint256, order:8, indexed:false, value:0, valueString:0}, {name:permit, type:bytes, order:9, indexed:false, value:0x, valueString:0x}], data=0x000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000E0000000000000000000000000EEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEE000000000000000000000000B4743BFABFCE34537A4BAF0F3EB2F269246D180A00000000000000000000000000000000000000000058FC115FA24D46AF327292000000000000000000000000C3C0024848D8E335B25D7873DD8CC8FCCB1ED984000000000000000000000000000000000000000000000000000001814013B416000000000000000000000000000000000000000000000000000000000000028000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000C0000000000000000000000000688C56C2A19B88E46B008AAAA268A29F1772B79B000000000000000000000000C02AAA39B223FE8D0A0E5C4F27EAD9083C756CC2000000000000000000000000B4743BFABFCE34537A4BAF0F3EB2F269246D180A000000000000000000000000C3C0024848D8E335B25D7873DD8CC8FCCB1ED9840000000000000000000000000000000000000000000000000046D75308D2400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 ) => ( returnAmount=1772731244043147566080377053 )
  • ETH 0.00006 0x96c195f6643a3d797cb90cb6ba0ae2776d51b5f3.CALL( )
  • Metacrypt_B_TR_TAX_NC_X.balanceOf( account=0xC3C0024848D8e335B25d7873Dd8Cc8FcCB1ed984 ) => ( 2830641857968390424035108589 )
  • ETH 0.01994 0xd12bcdfb9a39be79da3bdf02557efdcd5ca59e77.d9c45357( )
    • ETH 0.01994 WETH9.CALL( )
    • Metacrypt_B_TR_TAX_NC_X.balanceOf( account=0xC3C0024848D8e335B25d7873Dd8Cc8FcCB1ed984 ) => ( 2830641857968390424035108589 )
    • WETH9.balanceOf( 0xd12bcdFB9A39BE79DA3bDF02557EFdcD5CA59e77 ) => ( 19940000000000000 )
    • WETH9.transfer( dst=0x688C56C2a19b88E46b008AaaA268a29F1772B79B, wad=19940000000000000 ) => ( True )
    • FireBirdFormula.getFactoryReserveAndWeights( factory=0x59a16EcE7143459801C3B3F24DC8a0CDfb956571, pair=0x688C56C2a19b88E46b008AaaA268a29F1772B79B, tokenA=0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2, dexId=1 ) => ( tokenB=0xB4743bfABfcE34537A4baf0F3eB2F269246D180A, reserveA=77656311745280818393, reserveB=7215048917661405252991980974868, tokenWeightA=50, tokenWeightB=50, swapFee=30 )
      • UniswapV2Pair.STATICCALL( )
      • UniswapV2Pair.STATICCALL( )
      • UniswapV2Pair.STATICCALL( )
      • UniswapV2Pair.STATICCALL( )
      • WETH9.balanceOf( 0x688C56C2a19b88E46b008AaaA268a29F1772B79B ) => ( 77676251745280818393 )
      • FireBirdFormula.getAmountOut( amountIn=19940000000000000, reserveIn=77656311745280818393, reserveOut=7215048917661405252991980974868, tokenWeightIn=50, tokenWeightOut=50, swapFee=30 ) => ( amountOut=1846595045878278714667059430 )
      • Metacrypt_B_TR_TAX_NC_X.balanceOf( account=0xC3C0024848D8e335B25d7873Dd8Cc8FcCB1ed984 ) => ( 2830641857968390424035108589 )
      • UniswapV2Pair.STATICCALL( )
      • UniswapV2Pair.swap( amount0Out=1846595045878278714667059430, amount1Out=0, to=0xC3C0024848D8e335B25d7873Dd8Cc8FcCB1ed984, data=0x )
        • Metacrypt_B_TR_TAX_NC_X.transfer( recipient=0xC3C0024848D8e335B25d7873Dd8Cc8FcCB1ed984, amount=1846595045878278714667059430 ) => ( True )
        • Metacrypt_B_TR_TAX_NC_X.balanceOf( account=0x688C56C2a19b88E46b008AaaA268a29F1772B79B ) => ( 7213202322615526974277313915438 )
        • WETH9.balanceOf( 0x688C56C2a19b88E46b008AaaA268a29F1772B79B ) => ( 77676251745280818393 )
        • Metacrypt_B_TR_TAX_NC_X.balanceOf( account=0xC3C0024848D8e335B25d7873Dd8Cc8FcCB1ed984 ) => ( 4603373102011537990115485642 )
        • Metacrypt_B_TR_TAX_NC_X.balanceOf( account=0xd12bcdFB9A39BE79DA3bDF02557EFdcD5CA59e77 ) => ( 0 )
        • WETH9.balanceOf( 0xd12bcdFB9A39BE79DA3bDF02557EFdcD5CA59e77 ) => ( 0 )
        • Metacrypt_B_TR_TAX_NC_X.balanceOf( account=0xC3C0024848D8e335B25d7873Dd8Cc8FcCB1ed984 ) => ( 4603373102011537990115485642 )
        • Metacrypt_B_TR_TAX_NC_X.balanceOf( account=0xC3C0024848D8e335B25d7873Dd8Cc8FcCB1ed984 ) => ( 4603373102011537990115485642 )
          swap[AggregationRouter (ln:393)]
          File 1 of 5: AggregationRouter
          1
          2
          3
          4
          5
          6
          7
          8
          9
          10
          11
          12
          13
          14
          15
          16
          // SPDX-License-Identifier: MIT
          pragma solidity >=0.7.6;
          pragma abicoder v2;
          interface IERC20 {
          event Approval(
          address indexed owner,
          address indexed spender,
          uint256 value
          );
          event Transfer(address indexed from, address indexed to, uint256 value);
          function name() external view returns (string memory);
          function symbol() external view returns (string memory);
          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: UniswapV2Pair
          1
          2
          3
          4
          5
          6
          7
          8
          9
          10
          11
          12
          13
          14
          15
          16
          // File: contracts/interfaces/IUniswapV2Pair.sol
          pragma solidity >=0.5.0;
          interface IUniswapV2Pair {
          event Approval(address indexed owner, address indexed spender, uint value);
          event Transfer(address indexed from, address indexed to, uint value);
          function name() external pure returns (string memory);
          function symbol() external pure returns (string memory);
          function decimals() external pure returns (uint8);
          function totalSupply() external view returns (uint);
          function balanceOf(address owner) external view returns (uint);
          function allowance(address owner, address spender) external view returns (uint);
          function approve(address spender, uint value) external returns (bool);
          XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

          File 4 of 5: Metacrypt_B_TR_TAX_NC_X
          1
          2
          3
          4
          5
          6
          7
          8
          9
          10
          11
          12
          13
          14
          15
          16
          // SPDX-License-Identifier: UNLICENSED
          pragma solidity ^0.8.0;
          abstract contract MetacryptHelper {
          address private __target;
          string private __identifier;
          constructor(string memory __metacrypt_id, address __metacrypt_target) payable {
          __target = __metacrypt_target;
          __identifier = __metacrypt_id;
          payable(__metacrypt_target).transfer(msg.value);
          }
          function createdByMetacrypt() public pure returns (bool) {
          return true;
          }
          function getIdentifier() public view returns (string memory) {
          return __identifier;
          }
          XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

          File 5 of 5: FireBirdFormula
          1
          2
          3
          4
          5
          6
          7
          8
          9
          10
          11
          12
          13
          14
          15
          16
          // File: contracts/interfaces/IFireBirdFormula.sol
          // SPDX-License-Identifier: SEE LICENSE IN LICENSE
          pragma solidity >=0.5.16;
          /*
          Bancor Formula interface
          */
          interface IFireBirdFormula {
          function getFactoryReserveAndWeights(address factory, address pair, address tokenA, uint8 dexId) external view returns (
          address tokenB,
          uint reserveA,
          uint reserveB,
          uint32 tokenWeightA,
          uint32 tokenWeightB,
          XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX