ETH Price: $3,047.14 (+3.23%)

Transaction Decoder

Block:
17935335 at Aug-17-2023 03:08:23 PM +UTC
Transaction Fee:
0.005741046264077488 ETH $17.49
Gas Used:
107,828 Gas / 53.242629596 Gwei

Account State Difference:

  Address   Before After State Difference Code
0x466Ea285...79ccbedbD
0.0101866 Eth
Nonce: 0
0.004445553735922512 Eth
Nonce: 1
0.005741046264077488
(beaverbuild)
17.513482430185687071 Eth17.513820743603609327 Eth0.000338313417922256

Execution Trace

ETH 0.003136993332880604 WooCrossChainRouterV2.crossSwap( refId=750561692284878189, to=0x466Ea285949521604A0525C5ba57dE979ccbedbD, srcInfos=[{name:fromToken, type:address, order:1, indexed:false, value:0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE, valueString:0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE}, {name:bridgeToken, type:address, order:2, indexed:false, value:0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2, valueString:0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2}, {name:fromAmount, type:uint256, order:3, indexed:false, value:2100000000000000, valueString:2100000000000000}, {name:minBridgeAmount, type:uint256, order:4, indexed:false, value:2100000000000000, valueString:2100000000000000}], dstInfos=[{name:chainId, type:uint16, order:1, indexed:false, value:111, valueString:111}, {name:toToken, type:address, order:2, indexed:false, value:0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE, valueString:0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE}, {name:bridgeToken, type:address, order:3, indexed:false, value:0x4200000000000000000000000000000000000006, valueString:0x4200000000000000000000000000000000000006}, {name:minToAmount, type:uint256, order:4, indexed:false, value:2078010000000000, valueString:2078010000000000}, {name:airdropNativeAmount, type:uint256, order:5, indexed:false, value:0, valueString:0}] )
  • ETH 0.0021 WETH9.CALL( )
  • WETH9.balanceOf( 0x9D1A92e601db0901e69bd810029F2C14bCCA3128 ) => ( 2100000000000000 )
  • WETH9.withdraw( wad=2100000000000000 )
    • ETH 0.0021 WooCrossChainRouterV2.CALL( )
      crossSwap[WooCrossChainRouterV2 (ln:56)]
      File 1 of 2: WooCrossChainRouterV2
      1
      2
      3
      4
      5
      6
      7
      8
      9
      10
      11
      12
      13
      14
      15
      16
      // SPDX-License-Identifier: MIT
      pragma solidity =0.8.14;
      // OpenZeppelin Contracts
      import {IERC20} from "@openzeppelin/contracts/token/ERC20/IERC20.sol";
      import {Ownable} from "@openzeppelin/contracts/access/Ownable.sol";
      import {ReentrancyGuard} from "@openzeppelin/contracts/security/ReentrancyGuard.sol";
      import {EnumerableSet} from "@openzeppelin/contracts/utils/structs/EnumerableSet.sol";
      import {ICommonOFT, IOFTWithFee} from "@layerzerolabs/solidity-examples/contracts/token/oft/v2/fee/IOFTWithFee.sol";
      // Local Contracts
      import {IWETH} from "./interfaces/IWETH.sol";
      import {IWooCrossChainRouterV2} from "./interfaces/IWooCrossChainRouterV2.sol";
      import {IWooRouterV2} from "./interfaces/IWooRouterV2.sol";
      import {IStargateEthVault} from "./interfaces/Stargate/IStargateEthVault.sol";
      import {IStargateRouter} from "./interfaces/Stargate/IStargateRouter.sol";
      import {ILzApp} from "./interfaces/LayerZero/ILzApp.sol";
      import {TransferHelper} from "./libraries/TransferHelper.sol";
      XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

      File 2 of 2: 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