ETH Price: $2,833.04 (+6.39%)

Transaction Decoder

Block:
17683972 at Jul-13-2023 10:24:47 AM +UTC
Transaction Fee:
0.00096015446378058 ETH $2.72
Gas Used:
52,971 Gas / 18.12603998 Gwei

Account State Difference:

  Address   Before After State Difference Code
(builder0x69)
1.181798317269004417 Eth1.181838283630270792 Eth0.000039966361266375
0xEcAc9C2f...9BB5AE3E3
0.020543276115742372 Eth
Nonce: 2
0.019583121651961792 Eth
Nonce: 3
0.00096015446378058

Execution Trace

ETH 0.000839658181846307 WooCrossChainRouterV2.crossSwap( refId=337011689243784541, to=0xEcAc9C2f45446392AC48e13e8b2b4f59BB5AE3E3, srcInfos=[{name:fromToken, type:address, order:1, indexed:false, value:0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48, valueString:0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48}, {name:bridgeToken, type:address, order:2, indexed:false, value:0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48, valueString:0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48}, {name:fromAmount, type:uint256, order:3, indexed:false, value:199562959, valueString:199562959}, {name:minBridgeAmount, type:uint256, order:4, indexed:false, value:199562959, valueString:199562959}], dstInfos=[{name:chainId, type:uint16, order:1, indexed:false, value:110, valueString:110}, {name:toToken, type:address, order:2, indexed:false, value:0xaf88d065e77c8cC2239327C5EDb3A432268e5831, valueString:0xaf88d065e77c8cC2239327C5EDb3A432268e5831}, {name:bridgeToken, type:address, order:3, indexed:false, value:0xFF970A61A04b1cA14834A43f5dE4533eBDDB5CC8, valueString:0xFF970A61A04b1cA14834A43f5dE4533eBDDB5CC8}, {name:minToAmount, type:uint256, order:4, indexed:false, value:197427384, valueString:197427384}, {name:airdropNativeAmount, type:uint256, order:5, indexed:false, value:0, valueString:0}] )
  • FiatTokenProxy.23b872dd( )
    • FiatTokenV2_1.transferFrom( from=0xEcAc9C2f45446392AC48e13e8b2b4f59BB5AE3E3, to=0x9D1A92e601db0901e69bd810029F2C14bCCA3128, value=199562959 )
      crossSwap[WooCrossChainRouterV2 (ln:56)]
      File 1 of 3: 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 3: FiatTokenProxy
      1
      2
      3
      4
      5
      6
      7
      8
      9
      10
      11
      12
      13
      14
      15
      16
      pragma solidity ^0.4.24;
      // File: zos-lib/contracts/upgradeability/Proxy.sol
      /**
      * @title Proxy
      * @dev Implements delegation of calls to other contracts, with proper
      * forwarding of return values and bubbling of failures.
      * It defines a fallback function that delegates all calls to the address
      * returned by the abstract _implementation() internal function.
      */
      contract Proxy {
      /**
      * @dev Fallback function.
      * Implemented entirely in `_fallback`.
      */
      XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

      File 3 of 3: FiatTokenV2_1
      1
      2
      3
      4
      5
      6
      7
      8
      9
      10
      11
      12
      13
      14
      15
      16
      // File: @openzeppelin/contracts/math/SafeMath.sol
      // SPDX-License-Identifier: MIT
      pragma solidity ^0.6.0;
      /**
      * @dev Wrappers over Solidity's arithmetic operations with added overflow
      * checks.
      *
      * Arithmetic operations in Solidity wrap on overflow. This can easily result
      * in bugs, because programmers usually assume that an overflow raises an
      * error, which is the standard behavior in high level programming languages.
      * `SafeMath` restores this intuition by reverting the transaction when an
      * operation overflows.
      *
      XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX