Transaction Hash:
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 | ||
---|---|---|---|---|---|
0x690B9A9E...Db4FaC990
Miner
| (builder0x69) | 1.181798317269004417 Eth | 1.181838283630270792 Eth | 0.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)]
deposit[WooCrossChainRouterV2 (ln:75)]
safeTransferFrom[WooCrossChainRouterV2 (ln:78)]
call[TransferHelper (ln:811)]
encodeWithSelector[TransferHelper (ln:811)]
decode[TransferHelper (ln:813)]
contains[WooCrossChainRouterV2 (ln:84)]
safeApprove[WooCrossChainRouterV2 (ln:85)]
call[TransferHelper (ln:786)]
encodeWithSelector[TransferHelper (ln:786)]
decode[TransferHelper (ln:788)]
swap[WooCrossChainRouterV2 (ln:86)]
payable[WooCrossChainRouterV2 (ln:91)]
balanceOf[WooCrossChainRouterV2 (ln:102)]
_bridgeByOFT[WooCrossChainRouterV2 (ln:109)]
token[WooCrossChainRouterV2 (ln:304)]
safeApprove[WooCrossChainRouterV2 (ln:309)]
call[TransferHelper (ln:786)]
encodeWithSelector[TransferHelper (ln:786)]
decode[TransferHelper (ln:788)]
encode[WooCrossChainRouterV2 (ln:314)]
_getDstGasForCall[WooCrossChainRouterV2 (ln:315)]
_getAdapterParams[WooCrossChainRouterV2 (ln:318)]
minDstGasLookup[WooCrossChainRouterV2 (ln:277)]
LzCallParams[WooCrossChainRouterV2 (ln:319)]
payable[WooCrossChainRouterV2 (ln:320)]
sendAndCall[WooCrossChainRouterV2 (ln:326)]
_bridgeByStargate[WooCrossChainRouterV2 (ln:111)]
encode[WooCrossChainRouterV2 (ln:349)]
_getLzTxObj[WooCrossChainRouterV2 (ln:352)]
_getDstGasForCall[WooCrossChainRouterV2 (ln:288)]
lzTxObj[WooCrossChainRouterV2 (ln:289)]
withdraw[WooCrossChainRouterV2 (ln:354)]
deposit[WooCrossChainRouterV2 (ln:356)]
safeApprove[WooCrossChainRouterV2 (ln:357)]
call[TransferHelper (ln:786)]
encodeWithSelector[TransferHelper (ln:786)]
decode[TransferHelper (ln:788)]
safeApprove[WooCrossChainRouterV2 (ln:359)]
call[TransferHelper (ln:786)]
encodeWithSelector[TransferHelper (ln:786)]
decode[TransferHelper (ln:788)]
swap[WooCrossChainRouterV2 (ln:361)]
payable[WooCrossChainRouterV2 (ln:365)]
_msgSender[WooCrossChainRouterV2 (ln:365)]
WooCrossSwapOnSrcChain[WooCrossChainRouterV2 (ln:113)]
_msgSender[WooCrossChainRouterV2 (ln:115)]
File 1 of 3: WooCrossChainRouterV2
File 2 of 3: FiatTokenProxy
File 3 of 3: FiatTokenV2_1
12345678910111213141516// SPDX-License-Identifier: MITpragma solidity =0.8.14;// OpenZeppelin Contractsimport {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 Contractsimport {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";
File 2 of 3: FiatTokenProxy
12345678910111213141516pragma 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`.*/
File 3 of 3: FiatTokenV2_1
12345678910111213141516// File: @openzeppelin/contracts/math/SafeMath.sol// SPDX-License-Identifier: MITpragma 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.*