ETH Price: $2,735.75 (-2.79%)

Transaction Decoder

Block:
16946421 at Mar-31-2023 09:53:35 AM +UTC
Transaction Fee:
0.004489661719958463 ETH $12.28
Gas Used:
211,941 Gas / 21.183545043 Gwei

Emitted Events:

444 FiatTokenProxy.0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef( 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef, 0x00000000000000000000000007f5813f95462da339f57e401e5cc12a7f602e50, 0x000000000000000000000000e6e3f947ccd0add1effde3bf3d210e5d711beace, 000000000000000000000000000000000000000000000000000000002a532e77 )
445 FiatTokenProxy.0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef( 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef, 0x000000000000000000000000e6e3f947ccd0add1effde3bf3d210e5d711beace, 0x000000000000000000000000e6b738da243e8fa2a0ed5915645789add5de5152, 00000000000000000000000000000000000000000000000000000000005ecece )
446 0xe6e3f947ccd0add1effde3bf3d210e5d711beace.0x6ded982279c8387ad8a63e73385031a3807c1862e633f06e09d11bcb6e282f60( 0x6ded982279c8387ad8a63e73385031a3807c1862e633f06e09d11bcb6e282f60, 000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48, 000000000000000000000000e6b738da243e8fa2a0ed5915645789add5de5152, 00000000000000000000000000000000000000000000000000000000005ecece )
447 FiatTokenProxy.0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef( 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef, 0x000000000000000000000000e6e3f947ccd0add1effde3bf3d210e5d711beace, 0x0000000000000000000000001231deb6f5749ef6ce6943a275a1d3e7486f4eae, 0000000000000000000000000000000000000000000000000000000029f45fa9 )
448 FiatTokenProxy.0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef( 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef, 0x0000000000000000000000001231deb6f5749ef6ce6943a275a1d3e7486f4eae, 0x0000000000000000000000005427fefa711eff984124bfbb1ab6fbf5e3da1820, 0000000000000000000000000000000000000000000000000000000029f45fa9 )
449 Bridge.Send( transferId=30AD415C6004EC717E06BBEFD86B2B1E19AB93A40D7F7F7C1E68E4C5419114C3, sender=LiFiDiamond, receiver=[Sender] 0x07f5813f95462da339f57e401e5cc12a7f602e50, token=FiatTokenProxy, amount=703881129, dstChainId=10, nonce=1680256343391, maxSlippage=52240 )
450 LiFiDiamond.0xcba69f43792f9f399347222505213b55af8e0b0b54b893085c2e27ecbe1644f1( 0xcba69f43792f9f399347222505213b55af8e0b0b54b893085c2e27ecbe1644f1, 0000000000000000000000000000000000000000000000000000000000000020, 1cb4876f37fe74f586ee28de8299ae7d73dbb969618b6c75414e4a3f20609b7d, 0000000000000000000000000000000000000000000000000000000000000140, 0000000000000000000000000000000000000000000000000000000000000180, 0000000000000000000000000000000000000000000000000000000000000000, 000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48, 00000000000000000000000007f5813f95462da339f57e401e5cc12a7f602e50, 0000000000000000000000000000000000000000000000000000000029f45fa9, 000000000000000000000000000000000000000000000000000000000000000a, 0000000000000000000000000000000000000000000000000000000000000000, 0000000000000000000000000000000000000000000000000000000000000000, 0000000000000000000000000000000000000000000000000000000000000007, 6362726964676500000000000000000000000000000000000000000000000000, 000000000000000000000000000000000000000000000000000000000000000f, 6d6574616d61736b2d6272696467650000000000000000000000000000000000 )
451 0xe6e3f947ccd0add1effde3bf3d210e5d711beace.0x831bac9533a2034226daa21109dbd4f887674f0fe4877e1a8b35b3ffe1bdce76( 0x831bac9533a2034226daa21109dbd4f887674f0fe4877e1a8b35b3ffe1bdce76, 00000000000000000000000007f5813f95462da339f57e401e5cc12a7f602e50, 0000000000000000000000001231deb6f5749ef6ce6943a275a1d3e7486f4eae, 000000000000000000000000000000000000000000000000000000000000000a, 000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48, 0000000000000000000000007f5c764cbc14f9669b88837ca1490cca17c31607, 0000000000000000000000000000000000000000000000000000000029f45fa9 )

Account State Difference:

  Address   Before After State Difference Code
0x07F5813f...A7F602e50
0.114802663117241672 Eth
Nonce: 38
0.110313001397283209 Eth
Nonce: 39
0.004489661719958463
0x5427FEFA...5E3DA1820
(Celer Network: cBridge V2)
(builder0x69)
2.267954276521796719 Eth2.267975470621796719 Eth0.0000211941
0xA0b86991...E3606eB48

Execution Trace

MetaBridge.bridge( adapterId=lifiAdapter, srcToken=0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48, amount=710094455, data=0x0000000000000000000000001231DEB6F5749EF6CE6943A275A1D3E7486F4EAE0000000000000000000000001231DEB6F5749EF6CE6943A275A1D3E7486F4EAE000000000000000000000000000000000000000000000000000000000000000A000000000000000000000000A0B86991C6218B36C1D19D4A2E9EB0CE3606EB480000000000000000000000007F5C764CBC14F9669B88837CA1490CCA17C316070000000000000000000000000000000000000000000000000000000029F45FA9000000000000000000000000000000000000000000000000000000000000014000000000000000000000000000000000000000000000000000000000005ECECE000000000000000000000000E6B738DA243E8FA2A0ED5915645789ADD5DE51520000000000000000000000000000000000000000000000000000000000000224AE0B91E50000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000CC100000000000000000000000000000000000000000000000000000018737151D5F1CB4876F37FE74F586EE28DE8299AE7D73DBB969618B6C75414E4A3F20609B7D000000000000000000000000000000000000000000000000000000000000014000000000000000000000000000000000000000000000000000000000000001800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000A0B86991C6218B36C1D19D4A2E9EB0CE3606EB4800000000000000000000000007F5813F95462DA339F57E401E5CC12A7F602E500000000000000000000000000000000000000000000000000000000029F45FA9000000000000000000000000000000000000000000000000000000000000000A0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000076362726964676500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000F6D6574616D61736B2D627269646765000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 )
  • FiatTokenProxy.23b872dd( )
    • FiatTokenV2_1.transferFrom( from=0x07F5813f95462Da339F57e401e5cc12A7F602e50, to=0xe6e3F947CCd0ADd1eFFde3Bf3D210e5D711bEAce, value=710094455 ) => ( True )
    • 0xe6e3f947ccd0add1effde3bf3d210e5d711beace.4cfee326( )
      • 0x04c76710f64ab714bbf803f011a132481084a131.ab138240( )
        • FiatTokenProxy.a9059cbb( )
          • FiatTokenV2_1.transfer( to=0xe6b738DA243e8FA2a0eD5915645789aDD5dE5152, value=6213326 ) => ( True )
          • FiatTokenProxy.dd62ed3e( )
            • FiatTokenV2_1.allowance( owner=0xe6e3F947CCd0ADd1eFFde3Bf3D210e5D711bEAce, spender=0x1231DEB6f5749EF6cE6943a275A1D3E7486F4EaE ) => ( 115792089237316195423570985008687907853269984665640564039457584003186027547998 )
            • LiFiDiamond.ae0b91e5( )
              • CBridgeFacet.startBridgeTokensViaCBridge( _bridgeData=[{name:transactionId, type:bytes32, order:1, indexed:false, value:1CB4876F37FE74F586EE28DE8299AE7D73DBB969618B6C75414E4A3F20609B7D, valueString:1CB4876F37FE74F586EE28DE8299AE7D73DBB969618B6C75414E4A3F20609B7D}, {name:bridge, type:string, order:2, indexed:false, value:cbridge, valueString:cbridge}, {name:integrator, type:string, order:3, indexed:false, value:metamask-bridge, valueString:metamask-bridge}, {name:referrer, type:address, order:4, indexed:false, value:0x0000000000000000000000000000000000000000, valueString:0x0000000000000000000000000000000000000000}, {name:sendingAssetId, type:address, order:5, indexed:false, value:0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48, valueString:0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48}, {name:receiver, type:address, order:6, indexed:false, value:0x07F5813f95462Da339F57e401e5cc12A7F602e50, valueString:0x07F5813f95462Da339F57e401e5cc12A7F602e50}, {name:minAmount, type:uint256, order:7, indexed:false, value:703881129, valueString:703881129}, {name:destinationChainId, type:uint256, order:8, indexed:false, value:10, valueString:10}, {name:hasSourceSwaps, type:bool, order:9, indexed:false, value:false, valueString:False}, {name:hasDestinationCall, type:bool, order:10, indexed:false, value:false, valueString:False}], _cBridgeData=[{name:maxSlippage, type:uint32, order:1, indexed:false, value:52240, valueString:52240}, {name:nonce, type:uint64, order:2, indexed:false, value:1680256343391, valueString:1680256343391}] )
                • FiatTokenProxy.70a08231( )
                  • FiatTokenV2_1.balanceOf( account=0xe6e3F947CCd0ADd1eFFde3Bf3D210e5D711bEAce ) => ( 703881129 )
                  • FiatTokenProxy.70a08231( )
                    • FiatTokenV2_1.balanceOf( account=0x1231DEB6f5749EF6cE6943a275A1D3E7486F4EaE ) => ( 285705 )
                    • FiatTokenProxy.23b872dd( )
                      • FiatTokenV2_1.transferFrom( from=0xe6e3F947CCd0ADd1eFFde3Bf3D210e5D711bEAce, to=0x1231DEB6f5749EF6cE6943a275A1D3E7486F4EaE, value=703881129 ) => ( True )
                      • FiatTokenProxy.70a08231( )
                        • FiatTokenV2_1.balanceOf( account=0x1231DEB6f5749EF6cE6943a275A1D3E7486F4EaE ) => ( 704166834 )
                        • FiatTokenProxy.dd62ed3e( )
                          • FiatTokenV2_1.allowance( owner=0x1231DEB6f5749EF6cE6943a275A1D3E7486F4EaE, spender=0x5427FEFA711Eff984124bFBB1AB6fbf5E3DA1820 ) => ( 115792089237316195423570985008687907853269984665640564039457583996456191568459 )
                          • Bridge.send( _receiver=0x07F5813f95462Da339F57e401e5cc12A7F602e50, _token=0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48, _amount=703881129, _dstChainId=10, _nonce=1680256343391, _maxSlippage=52240 )
                            • FiatTokenProxy.23b872dd( )
                              File 1 of 6: MetaBridge
                              1
                              2
                              3
                              4
                              5
                              6
                              7
                              8
                              9
                              10
                              11
                              12
                              13
                              14
                              15
                              16
                              pragma solidity ^0.8.0;
                              import "@openzeppelin/contracts/access/Ownable.sol";
                              import "@openzeppelin/contracts/security/Pausable.sol";
                              import "@openzeppelin/contracts/security/ReentrancyGuard.sol";
                              import "@openzeppelin/contracts/utils/Address.sol";
                              import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
                              import "@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol";
                              import {IAdapter, IBridge, ISpender} from "contracts/interfaces/Exports.sol";
                              import {Constants} from "contracts/utils/Exports.sol";
                              import "./Spender.sol";
                              contract MetaBridge is IBridge, Ownable, Pausable, ReentrancyGuard {
                              using SafeERC20 for IERC20;
                              using Address for address;
                              ISpender public immutable spender;
                              // Mapping of adapterId to adapter
                              mapping(string => address) public adapters;
                              XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

                              File 2 of 6: 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 6: Bridge
                              1
                              2
                              3
                              4
                              5
                              6
                              7
                              8
                              9
                              10
                              11
                              12
                              13
                              14
                              15
                              16
                              // SPDX-License-Identifier: MIT
                              pragma solidity ^0.8.0;
                              import "../utils/Context.sol";
                              /**
                              * @dev Contract module which provides a basic access control mechanism, where
                              * there is an account (an owner) that can be granted exclusive access to
                              * specific functions.
                              *
                              * By default, the owner account will be the one that deploys the contract. This
                              * can later be changed with {transferOwnership}.
                              *
                              * This module is used through inheritance. It will make available the modifier
                              * `onlyOwner`, which can be applied to your functions to restrict their use to
                              * the owner.
                              */
                              abstract contract Ownable is Context {
                              XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

                              File 4 of 6: LiFiDiamond
                              1
                              2
                              3
                              4
                              5
                              6
                              7
                              8
                              9
                              10
                              11
                              12
                              13
                              14
                              15
                              16
                              // SPDX-License-Identifier: MIT
                              pragma solidity 0.8.17;
                              error TokenAddressIsZero();
                              error TokenNotSupported();
                              error CannotBridgeToSameNetwork();
                              error ZeroPostSwapBalance();
                              error NoSwapDataProvided();
                              error NativeValueWithERC();
                              error ContractCallNotAllowed();
                              error NullAddrIsNotAValidSpender();
                              error NullAddrIsNotAnERC20Token();
                              error NoTransferToNullAddress();
                              error NativeAssetTransferFailed();
                              error InvalidBridgeConfigLength();
                              error InvalidAmount();
                              error InvalidContract();
                              XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

                              File 5 of 6: 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

                              File 6 of 6: CBridgeFacet
                              1
                              2
                              3
                              4
                              5
                              6
                              7
                              8
                              9
                              10
                              11
                              12
                              13
                              14
                              15
                              16
                              // SPDX-License-Identifier: MIT
                              // OpenZeppelin Contracts (last updated v4.6.0) (token/ERC20/IERC20.sol)
                              pragma solidity ^0.8.0;
                              /**
                              * @dev Interface of the ERC20 standard as defined in the EIP.
                              */
                              interface IERC20 {
                              /**
                              * @dev Emitted when `value` tokens are moved from one account (`from`) to
                              * another (`to`).
                              *
                              * Note that `value` may be zero.
                              */
                              event Transfer(address indexed from, address indexed to, uint256 value);
                              /**
                              * @dev Emitted when the allowance of a `spender` for an `owner` is set by
                              XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX