ETH Price: $1,975.80 (+0.36%)
 

Overview

ETH Balance

0.1 ETH

Eth Value

$197.58 (@ $1,975.80/ETH)

Token Holdings

More Info

Private Name Tags

Multichain Info

1 address found via
Transaction Hash
Method
Block
From
To
Register245095142026-02-22 2:47:115 hrs ago1771728431IN
Tornado.Cash: L1 Helper
0 ETH0.00005372.03049699
Wrap And Relay T...245066552026-02-21 17:12:1115 hrs ago1771693931IN
Tornado.Cash: L1 Helper
0.00978509 ETH0.000236120.62424807
Register245065832026-02-21 16:57:4715 hrs ago1771693067IN
Tornado.Cash: L1 Helper
0 ETH0.0000040.15137381
Register245056502026-02-21 13:50:3518 hrs ago1771681835IN
Tornado.Cash: L1 Helper
0 ETH0.000079343
Register244949462026-02-20 2:02:472 days ago1771552967IN
Tornado.Cash: L1 Helper
0 ETH0.000080453.04181101
Register244699852026-02-16 14:29:235 days ago1771252163IN
Tornado.Cash: L1 Helper
0 ETH0.000080683.05185083
Register244632952026-02-15 16:07:116 days ago1771171631IN
Tornado.Cash: L1 Helper
0 ETH0.000001250.04758624
Wrap And Relay T...244623822026-02-15 13:03:596 days ago1771160639IN
Tornado.Cash: L1 Helper
0.005 ETH0.00012040.30459491
Register244623752026-02-15 13:02:356 days ago1771160555IN
Tornado.Cash: L1 Helper
0 ETH0.000015730.5950498
Register244479912026-02-13 12:54:118 days ago1770987251IN
Tornado.Cash: L1 Helper
0 ETH0.000001230.04675044
Wrap And Relay T...244479652026-02-13 12:48:598 days ago1770986939IN
Tornado.Cash: L1 Helper
0.2 ETH0.000018140.04796452
Wrap And Relay T...244479462026-02-13 12:45:118 days ago1770986711IN
Tornado.Cash: L1 Helper
0.2 ETH0.000896133
Wrap And Relay T...244476362026-02-13 11:42:598 days ago1770982979IN
Tornado.Cash: L1 Helper
2.57 ETH0.000076140.19260491
Register244476232026-02-13 11:40:238 days ago1770982823IN
Tornado.Cash: L1 Helper
0 ETH0.000001330.05057669
Register244475502026-02-13 11:25:478 days ago1770981947IN
Tornado.Cash: L1 Helper
0 ETH0.000001060.04036143
Register244461292026-02-13 6:40:119 days ago1770964811IN
Tornado.Cash: L1 Helper
0 ETH0.000080343.03788324
Register244424772026-02-12 18:27:239 days ago1770920843IN
Tornado.Cash: L1 Helper
0 ETH0.00008343.15356794
Wrap And Relay T...244360402026-02-11 20:52:4710 days ago1770843167IN
Tornado.Cash: L1 Helper
0.05445572 ETH0.000896133
Register244359772026-02-11 20:40:1110 days ago1770842411IN
Tornado.Cash: L1 Helper
0 ETH0.000084383.19199581
Register244285872026-02-10 19:53:4711 days ago1770753227IN
Tornado.Cash: L1 Helper
0 ETH0.000082013.10227475
Register244125102026-02-08 13:58:1113 days ago1770559091IN
Tornado.Cash: L1 Helper
0 ETH0.000080453.04207897
Register244124322026-02-08 13:42:1113 days ago1770558131IN
Tornado.Cash: L1 Helper
0 ETH0.000080833.05625777
Register244118142026-02-08 11:37:1113 days ago1770550631IN
Tornado.Cash: L1 Helper
0 ETH0.000081293.07375352
Wrap And Relay T...244117672026-02-08 11:27:3513 days ago1770550055IN
Tornado.Cash: L1 Helper
0.1 ETH0.000610772.0430969
Register244028352026-02-07 5:23:5915 days ago1770441839IN
Tornado.Cash: L1 Helper
0 ETH0.000083543.15854367
View all transactions

Latest 25 internal transactions (View All)

Advanced mode:
Parent Transaction Hash Method Block
From
To
Deposit245066552026-02-21 17:12:1115 hrs ago1771693931
Tornado.Cash: L1 Helper
0.00978509 ETH
Deposit244623822026-02-15 13:03:596 days ago1771160639
Tornado.Cash: L1 Helper
0.005 ETH
Deposit244479652026-02-13 12:48:598 days ago1770986939
Tornado.Cash: L1 Helper
0.2 ETH
Deposit244479462026-02-13 12:45:118 days ago1770986711
Tornado.Cash: L1 Helper
0.2 ETH
Deposit244476362026-02-13 11:42:598 days ago1770982979
Tornado.Cash: L1 Helper
2.57 ETH
Deposit244360402026-02-11 20:52:4710 days ago1770843167
Tornado.Cash: L1 Helper
0.05445572 ETH
Deposit244117672026-02-08 11:27:3513 days ago1770550055
Tornado.Cash: L1 Helper
0.1 ETH
Deposit243943842026-02-06 1:04:2316 days ago1770339863
Tornado.Cash: L1 Helper
0.5 ETH
Deposit243935142026-02-05 22:09:2316 days ago1770329363
Tornado.Cash: L1 Helper
0.00083025 ETH
Deposit243712692026-02-02 19:29:2319 days ago1770060563
Tornado.Cash: L1 Helper
0.1088 ETH
Deposit243654042026-02-01 23:50:1120 days ago1769989811
Tornado.Cash: L1 Helper
0.01 ETH
Deposit243332322026-01-28 12:07:1124 days ago1769602031
Tornado.Cash: L1 Helper
0.001 ETH
Deposit242826832026-01-21 10:51:5931 days ago1768992719
Tornado.Cash: L1 Helper
0.12590208 ETH
Deposit242519812026-01-17 4:09:3536 days ago1768622975
Tornado.Cash: L1 Helper
0.96488413 ETH
Deposit242519732026-01-17 4:07:5936 days ago1768622879
Tornado.Cash: L1 Helper
0.96578193 ETH
Deposit242374002026-01-15 3:23:4738 days ago1768447427
Tornado.Cash: L1 Helper
0.05535671 ETH
Deposit242373932026-01-15 3:22:2338 days ago1768447343
Tornado.Cash: L1 Helper
0.05538512 ETH
Deposit242275052026-01-13 18:15:4739 days ago1768328147
Tornado.Cash: L1 Helper
0.007 ETH
Deposit240531562025-12-20 10:16:2363 days ago1766225783
Tornado.Cash: L1 Helper
0.0101 ETH
Deposit240531482025-12-20 10:14:4763 days ago1766225687
Tornado.Cash: L1 Helper
0.0101 ETH
Deposit239919182025-12-11 20:47:5972 days ago1765486079
Tornado.Cash: L1 Helper
0.04 ETH
Deposit239918742025-12-11 20:39:1172 days ago1765485551
Tornado.Cash: L1 Helper
0.04 ETH
Deposit239874552025-12-11 5:49:2373 days ago1765432163
Tornado.Cash: L1 Helper
0.01 ETH
Deposit239584332025-12-07 3:58:4777 days ago1765079927
Tornado.Cash: L1 Helper
0.01305115 ETH
Wrap And Relay T...239348402025-12-03 18:56:5980 days ago1764788219
Tornado.Cash: L1 Helper
10 ETH
View All Internal Transactions
Loading...
Loading
Loading...
Loading
Cross-Chain Transactions

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
L1Helper

Compiler Version
v0.7.5+commit.eb77ed08

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion
// SPDX-License-Identifier: MIT
// https://tornado.cash
/*
 * d888888P                                           dP              a88888b.                   dP
 *    88                                              88             d8'   `88                   88
 *    88    .d8888b. 88d888b. 88d888b. .d8888b. .d888b88 .d8888b.    88        .d8888b. .d8888b. 88d888b.
 *    88    88'  `88 88'  `88 88'  `88 88'  `88 88'  `88 88'  `88    88        88'  `88 Y8ooooo. 88'  `88
 *    88    88.  .88 88       88    88 88.  .88 88.  .88 88.  .88 dP Y8.   .88 88.  .88       88 88    88
 *    dP    `88888P' dP       dP    dP `88888P8 `88888P8 `88888P' 88  Y88888P' `88888P8 `88888P' dP    dP
 * ooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooo
 */

pragma solidity ^0.7.0;
pragma abicoder v2;

import "omnibridge/contracts/helpers/WETHOmnibridgeRouter.sol";

/// @dev Extension for original WETHOmnibridgeRouter that stores TornadoPool account registrations.
contract L1Helper is WETHOmnibridgeRouter {
  event PublicKey(address indexed owner, bytes key);

  struct Account {
    address owner;
    bytes publicKey;
  }

  constructor(
    IOmnibridge _bridge,
    IWETH _weth,
    address _owner
  ) WETHOmnibridgeRouter(_bridge, _weth, _owner) {}

  /** @dev Registers provided public key and its owner in pool
   * @param _account pair of address and key
   */
  function register(Account memory _account) public {
    require(_account.owner == msg.sender, "only owner can be registered");
    _register(_account);
  }

  /**
   * @dev Wraps native assets and relays wrapped ERC20 tokens to the other chain.
   * It also calls receiver on other side with the _data provided.
   * @param _receiver bridged assets receiver on the other side of the bridge.
   * @param _data data for the call of receiver on other side.
   * @param _account tornadoPool account data
   */
  function wrapAndRelayTokens(
    address _receiver,
    bytes memory _data,
    Account memory _account
  ) public payable {
    WETH.deposit{ value: msg.value }();
    bridge.relayTokensAndCall(address(WETH), _receiver, msg.value, _data);

    if (_account.owner == msg.sender) {
      _register(_account);
    }
  }

  function _register(Account memory _account) internal {
    emit PublicKey(_account.owner, _account.publicKey);
  }
}

pragma solidity 0.7.5;

import "../interfaces/IOmnibridge.sol";
import "../interfaces/IWETH.sol";
import "../libraries/AddressHelper.sol";
import "../libraries/Bytes.sol";
import "../upgradeable_contracts/modules/OwnableModule.sol";
import "../upgradeable_contracts/Claimable.sol";

/**
 * @title WETHOmnibridgeRouter
 * @dev Omnibridge extension for processing native and wrapped native assets.
 * Intended to work with WETH/WBNB/WXDAI tokens, see:
 *   https://etherscan.io/address/0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2
 *   https://bscscan.com/address/0xbb4CdB9CBd36B01bD1cBaEBF2De08d9173bc095c
 *   https://blockscout.com/poa/xdai/address/0xe91D153E0b41518A2Ce8Dd3D7944Fa863463a97d
 */
contract WETHOmnibridgeRouter is OwnableModule, Claimable {
    IOmnibridge public immutable bridge;
    IWETH public immutable WETH;

    /**
     * @dev Initializes this contract.
     * @param _bridge address of the HomeOmnibridge/ForeignOmnibridge contract.
     * @param _weth address of the WETH token used for wrapping/unwrapping native coins (e.g. WETH/WBNB/WXDAI).
     * @param _owner address of the contract owner.
     */
    constructor(
        IOmnibridge _bridge,
        IWETH _weth,
        address _owner
    ) OwnableModule(_owner) {
        bridge = _bridge;
        WETH = _weth;
        _weth.approve(address(_bridge), uint256(-1));
    }

    /**
     * @dev Wraps native assets and relays wrapped ERC20 tokens to the other chain.
     * Call msg.sender will receive assets on the other side of the bridge.
     */
    function wrapAndRelayTokens() external payable {
        wrapAndRelayTokens(msg.sender);
    }

    /**
     * @dev Wraps native assets and relays wrapped ERC20 tokens to the other chain.
     * @param _receiver bridged assets receiver on the other side of the bridge.
     */
    function wrapAndRelayTokens(address _receiver) public payable {
        WETH.deposit{ value: msg.value }();
        bridge.relayTokens(address(WETH), _receiver, msg.value);
    }

    /**
     * @dev Wraps native assets and relays wrapped ERC20 tokens to the other chain.
     * It also calls receiver on other side with the _data provided.
     * @param _receiver bridged assets receiver on the other side of the bridge.
     * @param _data data for the call of receiver on other side.
     */
    function wrapAndRelayTokens(address _receiver, bytes memory _data) public payable {
        WETH.deposit{ value: msg.value }();
        bridge.relayTokensAndCall(address(WETH), _receiver, msg.value, _data);
    }

    /**
     * @dev Bridged callback function used for unwrapping received tokens.
     * Can only be called by the associated Omnibridge contract.
     * @param _token bridged token contract address, should be WETH.
     * @param _value amount of bridged/received tokens.
     * @param _data extra data passed alongside with relayTokensAndCall on the other side of the bridge.
     * Should contain coins receiver address.
     */
    function onTokenBridged(
        address _token,
        uint256 _value,
        bytes memory _data
    ) external {
        require(_token == address(WETH));
        require(msg.sender == address(bridge));
        require(_data.length == 20);

        WETH.withdraw(_value);

        AddressHelper.safeSendValue(payable(Bytes.bytesToAddress(_data)), _value);
    }

    /**
     * @dev Claims stuck coins/tokens.
     * Only contract owner can call this method.
     * @param _token address of claimed token contract, address(0) for native coins.
     * @param _to address of tokens receiver
     */
    function claimTokens(address _token, address _to) external onlyOwner {
        claimValues(_token, _to);
    }

    /**
     * @dev Ether receive function.
     * Should be only called from the WETH contract when withdrawing native coins. Will revert otherwise.
     */
    receive() external payable {
        require(msg.sender == address(WETH));
    }
}

pragma solidity 0.7.5;

interface IOmnibridge {
    function relayTokens(
        address _token,
        address _receiver,
        uint256 _value
    ) external;

    function relayTokensAndCall(
        address token,
        address _receiver,
        uint256 _value,
        bytes memory _data
    ) external;
}

pragma solidity 0.7.5;

interface IWETH {
    function deposit() external payable;

    function withdraw(uint256 _value) external;

    function approve(address _to, uint256 _value) external;
}

pragma solidity 0.7.5;

import "../upgradeable_contracts/Sacrifice.sol";

/**
 * @title AddressHelper
 * @dev Helper methods for Address type.
 */
library AddressHelper {
    /**
     * @dev Try to send native tokens to the address. If it fails, it will force the transfer by creating a selfdestruct contract
     * @param _receiver address that will receive the native tokens
     * @param _value the amount of native tokens to send
     */
    function safeSendValue(address payable _receiver, uint256 _value) internal {
        if (!(_receiver).send(_value)) {
            new Sacrifice{ value: _value }(_receiver);
        }
    }
}

pragma solidity 0.7.5;

/**
 * @title Bytes
 * @dev Helper methods to transform bytes to other solidity types.
 */
library Bytes {
    /**
     * @dev Truncate bytes array if its size is more than 20 bytes.
     * NOTE: This function does not perform any checks on the received parameter.
     * Make sure that the _bytes argument has a correct length, not less than 20 bytes.
     * A case when _bytes has length less than 20 will lead to the undefined behaviour,
     * since assembly will read data from memory that is not related to the _bytes argument.
     * @param _bytes to be converted to address type
     * @return addr address included in the firsts 20 bytes of the bytes array in parameter.
     */
    function bytesToAddress(bytes memory _bytes) internal pure returns (address addr) {
        assembly {
            addr := mload(add(_bytes, 20))
        }
    }
}

pragma solidity 0.7.5;

import "@openzeppelin/contracts/utils/Address.sol";

/**
 * @title OwnableModule
 * @dev Common functionality for multi-token extension non-upgradeable module.
 */
contract OwnableModule {
    address public owner;

    /**
     * @dev Initializes this contract.
     * @param _owner address of the owner that is allowed to perform additional actions on the particular module.
     */
    constructor(address _owner) {
        owner = _owner;
    }

    /**
     * @dev Throws if sender is not the owner of this contract.
     */
    modifier onlyOwner {
        require(msg.sender == owner);
        _;
    }

    /**
     * @dev Changes the owner of this contract.
     * @param _newOwner address of the new owner.
     */
    function transferOwnership(address _newOwner) external onlyOwner {
        owner = _newOwner;
    }
}

pragma solidity 0.7.5;

import "@openzeppelin/contracts/token/ERC20/SafeERC20.sol";
import "../libraries/AddressHelper.sol";

/**
 * @title Claimable
 * @dev Implementation of the claiming utils that can be useful for withdrawing accidentally sent tokens that are not used in bridge operations.
 */
contract Claimable {
    using SafeERC20 for IERC20;

    /**
     * Throws if a given address is equal to address(0)
     */
    modifier validAddress(address _to) {
        require(_to != address(0));
        _;
    }

    /**
     * @dev Withdraws the erc20 tokens or native coins from this contract.
     * Caller should additionally check that the claimed token is not a part of bridge operations (i.e. that token != erc20token()).
     * @param _token address of the claimed token or address(0) for native coins.
     * @param _to address of the tokens/coins receiver.
     */
    function claimValues(address _token, address _to) internal validAddress(_to) {
        if (_token == address(0)) {
            claimNativeCoins(_to);
        } else {
            claimErc20Tokens(_token, _to);
        }
    }

    /**
     * @dev Internal function for withdrawing all native coins from the contract.
     * @param _to address of the coins receiver.
     */
    function claimNativeCoins(address _to) internal {
        uint256 value = address(this).balance;
        AddressHelper.safeSendValue(payable(_to), value);
    }

    /**
     * @dev Internal function for withdrawing all tokens of some particular ERC20 contract from this contract.
     * @param _token address of the claimed ERC20 token.
     * @param _to address of the tokens receiver.
     */
    function claimErc20Tokens(address _token, address _to) internal {
        IERC20 token = IERC20(_token);
        uint256 balance = token.balanceOf(address(this));
        token.safeTransfer(_to, balance);
    }
}

File 9 of 13 : Sacrifice.sol
pragma solidity 0.7.5;

contract Sacrifice {
    constructor(address payable _recipient) payable {
        selfdestruct(_recipient);
    }
}

// SPDX-License-Identifier: MIT

pragma solidity ^0.7.0;

/**
 * @dev Collection of functions related to the address type
 */
library Address {
    /**
     * @dev Returns true if `account` is a contract.
     *
     * [IMPORTANT]
     * ====
     * It is unsafe to assume that an address for which this function returns
     * false is an externally-owned account (EOA) and not a contract.
     *
     * Among others, `isContract` will return false for the following
     * types of addresses:
     *
     *  - an externally-owned account
     *  - a contract in construction
     *  - an address where a contract will be created
     *  - an address where a contract lived, but was destroyed
     * ====
     */
    function isContract(address account) internal view returns (bool) {
        // This method relies on extcodesize, which returns 0 for contracts in
        // construction, since the code is only stored at the end of the
        // constructor execution.

        uint256 size;
        // solhint-disable-next-line no-inline-assembly
        assembly { size := extcodesize(account) }
        return size > 0;
    }

    /**
     * @dev Replacement for Solidity's `transfer`: sends `amount` wei to
     * `recipient`, forwarding all available gas and reverting on errors.
     *
     * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost
     * of certain opcodes, possibly making contracts go over the 2300 gas limit
     * imposed by `transfer`, making them unable to receive funds via
     * `transfer`. {sendValue} removes this limitation.
     *
     * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more].
     *
     * IMPORTANT: because control is transferred to `recipient`, care must be
     * taken to not create reentrancy vulnerabilities. Consider using
     * {ReentrancyGuard} or the
     * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern].
     */
    function sendValue(address payable recipient, uint256 amount) internal {
        require(address(this).balance >= amount, "Address: insufficient balance");

        // solhint-disable-next-line avoid-low-level-calls, avoid-call-value
        (bool success, ) = recipient.call{ value: amount }("");
        require(success, "Address: unable to send value, recipient may have reverted");
    }

    /**
     * @dev Performs a Solidity function call using a low level `call`. A
     * plain`call` is an unsafe replacement for a function call: use this
     * function instead.
     *
     * If `target` reverts with a revert reason, it is bubbled up by this
     * function (like regular Solidity function calls).
     *
     * Returns the raw returned data. To convert to the expected return value,
     * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`].
     *
     * Requirements:
     *
     * - `target` must be a contract.
     * - calling `target` with `data` must not revert.
     *
     * _Available since v3.1._
     */
    function functionCall(address target, bytes memory data) internal returns (bytes memory) {
      return functionCall(target, data, "Address: low-level call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with
     * `errorMessage` as a fallback revert reason when `target` reverts.
     *
     * _Available since v3.1._
     */
    function functionCall(address target, bytes memory data, string memory errorMessage) internal returns (bytes memory) {
        return functionCallWithValue(target, data, 0, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but also transferring `value` wei to `target`.
     *
     * Requirements:
     *
     * - the calling contract must have an ETH balance of at least `value`.
     * - the called Solidity function must be `payable`.
     *
     * _Available since v3.1._
     */
    function functionCallWithValue(address target, bytes memory data, uint256 value) internal returns (bytes memory) {
        return functionCallWithValue(target, data, value, "Address: low-level call with value failed");
    }

    /**
     * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but
     * with `errorMessage` as a fallback revert reason when `target` reverts.
     *
     * _Available since v3.1._
     */
    function functionCallWithValue(address target, bytes memory data, uint256 value, string memory errorMessage) internal returns (bytes memory) {
        require(address(this).balance >= value, "Address: insufficient balance for call");
        require(isContract(target), "Address: call to non-contract");

        // solhint-disable-next-line avoid-low-level-calls
        (bool success, bytes memory returndata) = target.call{ value: value }(data);
        return _verifyCallResult(success, returndata, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but performing a static call.
     *
     * _Available since v3.3._
     */
    function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) {
        return functionStaticCall(target, data, "Address: low-level static call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
     * but performing a static call.
     *
     * _Available since v3.3._
     */
    function functionStaticCall(address target, bytes memory data, string memory errorMessage) internal view returns (bytes memory) {
        require(isContract(target), "Address: static call to non-contract");

        // solhint-disable-next-line avoid-low-level-calls
        (bool success, bytes memory returndata) = target.staticcall(data);
        return _verifyCallResult(success, returndata, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but performing a delegate call.
     *
     * _Available since v3.4._
     */
    function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) {
        return functionDelegateCall(target, data, "Address: low-level delegate call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
     * but performing a delegate call.
     *
     * _Available since v3.4._
     */
    function functionDelegateCall(address target, bytes memory data, string memory errorMessage) internal returns (bytes memory) {
        require(isContract(target), "Address: delegate call to non-contract");

        // solhint-disable-next-line avoid-low-level-calls
        (bool success, bytes memory returndata) = target.delegatecall(data);
        return _verifyCallResult(success, returndata, errorMessage);
    }

    function _verifyCallResult(bool success, bytes memory returndata, string memory errorMessage) private pure returns(bytes memory) {
        if (success) {
            return returndata;
        } else {
            // Look for revert reason and bubble it up if present
            if (returndata.length > 0) {
                // The easiest way to bubble the revert reason is using memory via assembly

                // solhint-disable-next-line no-inline-assembly
                assembly {
                    let returndata_size := mload(returndata)
                    revert(add(32, returndata), returndata_size)
                }
            } else {
                revert(errorMessage);
            }
        }
    }
}

// SPDX-License-Identifier: MIT

pragma solidity ^0.7.0;

import "./IERC20.sol";
import "../../math/SafeMath.sol";
import "../../utils/Address.sol";

/**
 * @title SafeERC20
 * @dev Wrappers around ERC20 operations that throw on failure (when the token
 * contract returns false). Tokens that return no value (and instead revert or
 * throw on failure) are also supported, non-reverting calls are assumed to be
 * successful.
 * To use this library you can add a `using SafeERC20 for IERC20;` statement to your contract,
 * which allows you to call the safe operations as `token.safeTransfer(...)`, etc.
 */
library SafeERC20 {
    using SafeMath for uint256;
    using Address for address;

    function safeTransfer(IERC20 token, address to, uint256 value) internal {
        _callOptionalReturn(token, abi.encodeWithSelector(token.transfer.selector, to, value));
    }

    function safeTransferFrom(IERC20 token, address from, address to, uint256 value) internal {
        _callOptionalReturn(token, abi.encodeWithSelector(token.transferFrom.selector, from, to, value));
    }

    /**
     * @dev Deprecated. This function has issues similar to the ones found in
     * {IERC20-approve}, and its usage is discouraged.
     *
     * Whenever possible, use {safeIncreaseAllowance} and
     * {safeDecreaseAllowance} instead.
     */
    function safeApprove(IERC20 token, address spender, uint256 value) internal {
        // safeApprove should only be called when setting an initial allowance,
        // or when resetting it to zero. To increase and decrease it, use
        // 'safeIncreaseAllowance' and 'safeDecreaseAllowance'
        // solhint-disable-next-line max-line-length
        require((value == 0) || (token.allowance(address(this), spender) == 0),
            "SafeERC20: approve from non-zero to non-zero allowance"
        );
        _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, value));
    }

    function safeIncreaseAllowance(IERC20 token, address spender, uint256 value) internal {
        uint256 newAllowance = token.allowance(address(this), spender).add(value);
        _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance));
    }

    function safeDecreaseAllowance(IERC20 token, address spender, uint256 value) internal {
        uint256 newAllowance = token.allowance(address(this), spender).sub(value, "SafeERC20: decreased allowance below zero");
        _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance));
    }

    /**
     * @dev Imitates a Solidity high-level call (i.e. a regular function call to a contract), relaxing the requirement
     * on the return value: the return value is optional (but if data is returned, it must not be false).
     * @param token The token targeted by the call.
     * @param data The call data (encoded using abi.encode or one of its variants).
     */
    function _callOptionalReturn(IERC20 token, bytes memory data) private {
        // We need to perform a low level call here, to bypass Solidity's return data size checking mechanism, since
        // we're implementing it ourselves. We use {Address.functionCall} to perform this call, which verifies that
        // the target address contains contract code and also asserts for success in the low-level call.

        bytes memory returndata = address(token).functionCall(data, "SafeERC20: low-level call failed");
        if (returndata.length > 0) { // Return data is optional
            // solhint-disable-next-line max-line-length
            require(abi.decode(returndata, (bool)), "SafeERC20: ERC20 operation did not succeed");
        }
    }
}

// SPDX-License-Identifier: MIT

pragma solidity ^0.7.0;

/**
 * @dev Interface of the ERC20 standard as defined in the EIP.
 */
interface IERC20 {
    /**
     * @dev Returns the amount of tokens in existence.
     */
    function totalSupply() external view returns (uint256);

    /**
     * @dev Returns the amount of tokens owned by `account`.
     */
    function balanceOf(address account) external view returns (uint256);

    /**
     * @dev Moves `amount` tokens from the caller's account to `recipient`.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transfer(address recipient, uint256 amount) external returns (bool);

    /**
     * @dev Returns the remaining number of tokens that `spender` will be
     * allowed to spend on behalf of `owner` through {transferFrom}. This is
     * zero by default.
     *
     * This value changes when {approve} or {transferFrom} are called.
     */
    function allowance(address owner, address spender) external view returns (uint256);

    /**
     * @dev Sets `amount` as the allowance of `spender` over the caller's tokens.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * IMPORTANT: Beware that changing an allowance with this method brings the risk
     * that someone may use both the old and the new allowance by unfortunate
     * transaction ordering. One possible solution to mitigate this race
     * condition is to first reduce the spender's allowance to 0 and set the
     * desired value afterwards:
     * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729
     *
     * Emits an {Approval} event.
     */
    function approve(address spender, uint256 amount) external returns (bool);

    /**
     * @dev Moves `amount` tokens from `sender` to `recipient` using the
     * allowance mechanism. `amount` is then deducted from the caller's
     * allowance.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transferFrom(address sender, address recipient, uint256 amount) external returns (bool);

    /**
     * @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
     * a call to {approve}. `value` is the new allowance.
     */
    event Approval(address indexed owner, address indexed spender, uint256 value);
}

// SPDX-License-Identifier: MIT

pragma solidity ^0.7.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.
 *
 * Using this library instead of the unchecked operations eliminates an entire
 * class of bugs, so it's recommended to use it always.
 */
library SafeMath {
    /**
     * @dev Returns the addition of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `+` operator.
     *
     * Requirements:
     *
     * - Addition cannot overflow.
     */
    function add(uint256 a, uint256 b) internal pure returns (uint256) {
        uint256 c = a + b;
        require(c >= a, "SafeMath: addition overflow");

        return c;
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting on
     * overflow (when the result is negative).
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     *
     * - Subtraction cannot overflow.
     */
    function sub(uint256 a, uint256 b) internal pure returns (uint256) {
        return sub(a, b, "SafeMath: subtraction overflow");
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting with custom message on
     * overflow (when the result is negative).
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     *
     * - Subtraction cannot overflow.
     */
    function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        require(b <= a, errorMessage);
        uint256 c = a - b;

        return c;
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `*` operator.
     *
     * Requirements:
     *
     * - Multiplication cannot overflow.
     */
    function mul(uint256 a, uint256 b) internal pure returns (uint256) {
        // Gas optimization: this is cheaper than requiring 'a' not being zero, but the
        // benefit is lost if 'b' is also tested.
        // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522
        if (a == 0) {
            return 0;
        }

        uint256 c = a * b;
        require(c / a == b, "SafeMath: multiplication overflow");

        return c;
    }

    /**
     * @dev Returns the integer division of two unsigned integers. Reverts on
     * division by zero. The result is rounded towards zero.
     *
     * Counterpart to Solidity's `/` operator. Note: this function uses a
     * `revert` opcode (which leaves remaining gas untouched) while Solidity
     * uses an invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function div(uint256 a, uint256 b) internal pure returns (uint256) {
        return div(a, b, "SafeMath: division by zero");
    }

    /**
     * @dev Returns the integer division of two unsigned integers. Reverts with custom message on
     * division by zero. The result is rounded towards zero.
     *
     * Counterpart to Solidity's `/` operator. Note: this function uses a
     * `revert` opcode (which leaves remaining gas untouched) while Solidity
     * uses an invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function div(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        require(b > 0, errorMessage);
        uint256 c = a / b;
        // assert(a == b * c + a % b); // There is no case in which this doesn't hold

        return c;
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * Reverts when dividing by zero.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function mod(uint256 a, uint256 b) internal pure returns (uint256) {
        return mod(a, b, "SafeMath: modulo by zero");
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * Reverts with custom message when dividing by zero.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function mod(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        require(b != 0, errorMessage);
        return a % b;
    }
}

Settings
{
  "optimizer": {
    "enabled": true,
    "runs": 200
  },
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "devdoc",
        "userdoc",
        "metadata",
        "abi"
      ]
    }
  },
  "libraries": {}
}

Contract Security Audit

Contract ABI

API
[{"inputs":[{"internalType":"contract IOmnibridge","name":"_bridge","type":"address"},{"internalType":"contract IWETH","name":"_weth","type":"address"},{"internalType":"address","name":"_owner","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":false,"internalType":"bytes","name":"key","type":"bytes"}],"name":"PublicKey","type":"event"},{"inputs":[],"name":"WETH","outputs":[{"internalType":"contract IWETH","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"bridge","outputs":[{"internalType":"contract IOmnibridge","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_token","type":"address"},{"internalType":"address","name":"_to","type":"address"}],"name":"claimTokens","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_token","type":"address"},{"internalType":"uint256","name":"_value","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"onTokenBridged","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"components":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"bytes","name":"publicKey","type":"bytes"}],"internalType":"struct L1Helper.Account","name":"_account","type":"tuple"}],"name":"register","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"wrapAndRelayTokens","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"_receiver","type":"address"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"wrapAndRelayTokens","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"_receiver","type":"address"},{"internalType":"bytes","name":"_data","type":"bytes"},{"components":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"bytes","name":"publicKey","type":"bytes"}],"internalType":"struct L1Helper.Account","name":"_account","type":"tuple"}],"name":"wrapAndRelayTokens","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"_receiver","type":"address"}],"name":"wrapAndRelayTokens","outputs":[],"stateMutability":"payable","type":"function"},{"stateMutability":"payable","type":"receive"}]

60c060405234801561001057600080fd5b50604051620012a9380380620012a9833981016040819052610031916100dd565b600080546001600160a01b038084166001600160a01b03199092169190911782556001600160601b0319606086811b821660805285901b1660a0526040805163095ea7b360e01b81528287166004820152600019602482015290518693869386939085169263095ea7b39260448084019391929182900301818387803b1580156100ba57600080fd5b505af11580156100ce573d6000803e3d6000fd5b50505050505050505050610141565b6000806000606084860312156100f1578283fd5b83516100fc81610129565b602085015190935061010d81610129565b604085015190925061011e81610129565b809150509250925092565b6001600160a01b038116811461013e57600080fd5b50565b60805160601c60a05160601c6110fe620001ab6000398060b0528061020452806102a752806103da52806104905280610514528061057652806105f752806106e45280610787525080610278528061046052806105bd5280610687528061075852506110fe6000f3fe6080604052600436106100a05760003560e01c8063ad5c464811610064578063ad5c46481461015a578063b2bc6e0f1461016f578063db7af8541461018f578063e78cea92146101af578063f2fde38b146101c4578063f52cbf0e146101e4576100dc565b806301a754ff146100e15780633ace4765146100e957806369ffa08a146100fc5780638da5cb5b1461011c5780639254c66e14610147576100dc565b366100dc57336001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016146100da57600080fd5b005b600080fd5b6100da6101f7565b6100da6100f7366004610e1d565b610202565b34801561010857600080fd5b506100da610117366004610deb565b6103a4565b34801561012857600080fd5b506101316103c9565b60405161013e9190610fab565b60405180910390f35b6100da610155366004610e69565b6103d8565b34801561016657600080fd5b50610131610512565b34801561017b57600080fd5b506100da61018a366004610f25565b610536565b34801561019b57600080fd5b506100da6101aa366004610eda565b610574565b3480156101bb57600080fd5b50610131610685565b3480156101d057600080fd5b506100da6101df366004610dd1565b6106a9565b6100da6101f2366004610dd1565b6106e2565b610200336106e2565b565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663d0e30db0346040518263ffffffff1660e01b81526004016000604051808303818588803b15801561025d57600080fd5b505af1158015610271573d6000803e3d6000fd5b50505050507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663d74054817f00000000000000000000000000000000000000000000000000000000000000008434856040518563ffffffff1660e01b815260040180856001600160a01b03168152602001846001600160a01b0316815260200183815260200180602001828103825283818151815260200191508051906020019080838360005b83811015610339578181015183820152602001610321565b50505050905090810190601f1680156103665780820380516001836020036101000a031916815260200191505b5095505050505050600060405180830381600087803b15801561038857600080fd5b505af115801561039c573d6000803e3d6000fd5b505050505050565b6000546001600160a01b031633146103bb57600080fd5b6103c58282610819565b5050565b6000546001600160a01b031681565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663d0e30db0346040518263ffffffff1660e01b81526004016000604051808303818588803b15801561043357600080fd5b505af1158015610447573d6000803e3d6000fd5b505060405163d740548160e01b81526001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016935063d740548192506104be91507f000000000000000000000000000000000000000000000000000000000000000090879034908890600401610fbf565b600060405180830381600087803b1580156104d857600080fd5b505af11580156104ec573d6000803e3d6000fd5b505082516001600160a01b0316331415915061050d90505761050d81610853565b505050565b7f000000000000000000000000000000000000000000000000000000000000000081565b80516001600160a01b031633146105685760405162461bcd60e51b815260040161055f9061100f565b60405180910390fd5b61057181610853565b50565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316836001600160a01b0316146105b257600080fd5b336001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016146105e757600080fd5b80516014146105f557600080fd5b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316632e1a7d4d836040518263ffffffff1660e01b815260040180828152602001915050600060405180830381600087803b15801561065b57600080fd5b505af115801561066f573d6000803e3d6000fd5b5050505061050d61067f8261089f565b836108a6565b7f000000000000000000000000000000000000000000000000000000000000000081565b6000546001600160a01b031633146106c057600080fd5b600080546001600160a01b0319166001600160a01b0392909216919091179055565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663d0e30db0346040518263ffffffff1660e01b81526004016000604051808303818588803b15801561073d57600080fd5b505af1158015610751573d6000803e3d6000fd5b50505050507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663ad58bdd17f000000000000000000000000000000000000000000000000000000000000000083346040518463ffffffff1660e01b815260040180846001600160a01b03168152602001836001600160a01b031681526020018281526020019350505050600060405180830381600087803b1580156107fe57600080fd5b505af1158015610812573d6000803e3d6000fd5b5050505050565b806001600160a01b03811661082d57600080fd5b6001600160a01b0383166108495761084482610911565b61050d565b61050d838361091c565b80600001516001600160a01b03167f2c1ca5c14df2aba59d26842c5ff53f6817052ef34f6f7537f8b4c9e3805a5e5082602001516040516108949190610ffc565b60405180910390a250565b6014015190565b6040516001600160a01b0383169082156108fc029083906000818181858888f193505050506103c55780826040516108dd90610cc5565b6001600160a01b039091168152604051908190036020019082f090508015801561090b573d6000803e3d6000fd5b50505050565b476103c582826108a6565b604080516370a0823160e01b8152306004820152905183916000916001600160a01b038416916370a08231916024808301926020929190829003018186803b15801561096757600080fd5b505afa15801561097b573d6000803e3d6000fd5b505050506040513d602081101561099157600080fd5b5051905061090b6001600160a01b0383168483604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b17905261050d9084906060610a46826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b0316610aa29092919063ffffffff16565b80519091501561050d57808060200190516020811015610a6557600080fd5b505161050d5760405162461bcd60e51b815260040180806020018281038252602a81526020018061109f602a913960400191505060405180910390fd5b6060610ab18484600085610abb565b90505b9392505050565b606082471015610afc5760405162461bcd60e51b81526004018080602001828103825260268152602001806110796026913960400191505060405180910390fd5b610b0585610c17565b610b56576040805162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015290519081900360640190fd5b60006060866001600160a01b031685876040518082805190602001908083835b60208310610b955780518252601f199092019160209182019101610b76565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d8060008114610bf7576040519150601f19603f3d011682016040523d82523d6000602084013e610bfc565b606091505b5091509150610c0c828286610c21565b979650505050505050565b803b15155b919050565b60608315610c30575081610ab4565b825115610c405782518084602001fd5b8160405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b83811015610c8a578181015183820152602001610c72565b50505050905090810190601f168015610cb75780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b60328061104783390190565b80356001600160a01b0381168114610c1c57600080fd5b600082601f830112610cf8578081fd5b813567ffffffffffffffff80821115610d0d57fe5b604051601f8301601f191681016020018281118282101715610d2b57fe5b604052828152925082848301602001861015610d4657600080fd5b8260208601602083013760006020848301015250505092915050565b600060408284031215610d73578081fd5b6040516040810167ffffffffffffffff8282108183111715610d9157fe5b81604052829350610da185610cd1565b83526020850135915080821115610db757600080fd5b50610dc485828601610ce8565b6020830152505092915050565b600060208284031215610de2578081fd5b610ab482610cd1565b60008060408385031215610dfd578081fd5b610e0683610cd1565b9150610e1460208401610cd1565b90509250929050565b60008060408385031215610e2f578182fd5b610e3883610cd1565b9150602083013567ffffffffffffffff811115610e53578182fd5b610e5f85828601610ce8565b9150509250929050565b600080600060608486031215610e7d578081fd5b610e8684610cd1565b9250602084013567ffffffffffffffff80821115610ea2578283fd5b610eae87838801610ce8565b93506040860135915080821115610ec3578283fd5b50610ed086828701610d62565b9150509250925092565b600080600060608486031215610eee578283fd5b610ef784610cd1565b925060208401359150604084013567ffffffffffffffff811115610f19578182fd5b610ed086828701610ce8565b600060208284031215610f36578081fd5b813567ffffffffffffffff811115610f4c578182fd5b610f5884828501610d62565b949350505050565b60008151808452815b81811015610f8557602081850181015186830182015201610f69565b81811115610f965782602083870101525b50601f01601f19169290920160200192915050565b6001600160a01b0391909116815260200190565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090610ff290830184610f60565b9695505050505050565b600060208252610ab46020830184610f60565b6020808252601c908201527f6f6e6c79206f776e65722063616e20626520726567697374657265640000000060408201526060019056fe60806040526040516032380380603283398181016040526020811015602357600080fd5b50516001600160a01b038116fffe416464726573733a20696e73756666696369656e742062616c616e636520666f722063616c6c5361666545524332303a204552433230206f7065726174696f6e20646964206e6f742073756363656564a2646970667358221220a9d360bbee4992971f1de13e9dcaa75faa81aeee43e441e8cae2f1d47dc28ef764736f6c6343000705003300000000000000000000000088ad09518695c6c3712ac10a214be5109a655671000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20000000000000000000000005efda50f22d34f262c29268506c5fa42cb56a1ce

Deployed Bytecode

0x6080604052600436106100a05760003560e01c8063ad5c464811610064578063ad5c46481461015a578063b2bc6e0f1461016f578063db7af8541461018f578063e78cea92146101af578063f2fde38b146101c4578063f52cbf0e146101e4576100dc565b806301a754ff146100e15780633ace4765146100e957806369ffa08a146100fc5780638da5cb5b1461011c5780639254c66e14610147576100dc565b366100dc57336001600160a01b037f000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc216146100da57600080fd5b005b600080fd5b6100da6101f7565b6100da6100f7366004610e1d565b610202565b34801561010857600080fd5b506100da610117366004610deb565b6103a4565b34801561012857600080fd5b506101316103c9565b60405161013e9190610fab565b60405180910390f35b6100da610155366004610e69565b6103d8565b34801561016657600080fd5b50610131610512565b34801561017b57600080fd5b506100da61018a366004610f25565b610536565b34801561019b57600080fd5b506100da6101aa366004610eda565b610574565b3480156101bb57600080fd5b50610131610685565b3480156101d057600080fd5b506100da6101df366004610dd1565b6106a9565b6100da6101f2366004610dd1565b6106e2565b610200336106e2565b565b7f000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc26001600160a01b031663d0e30db0346040518263ffffffff1660e01b81526004016000604051808303818588803b15801561025d57600080fd5b505af1158015610271573d6000803e3d6000fd5b50505050507f00000000000000000000000088ad09518695c6c3712ac10a214be5109a6556716001600160a01b031663d74054817f000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc28434856040518563ffffffff1660e01b815260040180856001600160a01b03168152602001846001600160a01b0316815260200183815260200180602001828103825283818151815260200191508051906020019080838360005b83811015610339578181015183820152602001610321565b50505050905090810190601f1680156103665780820380516001836020036101000a031916815260200191505b5095505050505050600060405180830381600087803b15801561038857600080fd5b505af115801561039c573d6000803e3d6000fd5b505050505050565b6000546001600160a01b031633146103bb57600080fd5b6103c58282610819565b5050565b6000546001600160a01b031681565b7f000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc26001600160a01b031663d0e30db0346040518263ffffffff1660e01b81526004016000604051808303818588803b15801561043357600080fd5b505af1158015610447573d6000803e3d6000fd5b505060405163d740548160e01b81526001600160a01b037f00000000000000000000000088ad09518695c6c3712ac10a214be5109a65567116935063d740548192506104be91507f000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc290879034908890600401610fbf565b600060405180830381600087803b1580156104d857600080fd5b505af11580156104ec573d6000803e3d6000fd5b505082516001600160a01b0316331415915061050d90505761050d81610853565b505050565b7f000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc281565b80516001600160a01b031633146105685760405162461bcd60e51b815260040161055f9061100f565b60405180910390fd5b61057181610853565b50565b7f000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc26001600160a01b0316836001600160a01b0316146105b257600080fd5b336001600160a01b037f00000000000000000000000088ad09518695c6c3712ac10a214be5109a65567116146105e757600080fd5b80516014146105f557600080fd5b7f000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc26001600160a01b0316632e1a7d4d836040518263ffffffff1660e01b815260040180828152602001915050600060405180830381600087803b15801561065b57600080fd5b505af115801561066f573d6000803e3d6000fd5b5050505061050d61067f8261089f565b836108a6565b7f00000000000000000000000088ad09518695c6c3712ac10a214be5109a65567181565b6000546001600160a01b031633146106c057600080fd5b600080546001600160a01b0319166001600160a01b0392909216919091179055565b7f000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc26001600160a01b031663d0e30db0346040518263ffffffff1660e01b81526004016000604051808303818588803b15801561073d57600080fd5b505af1158015610751573d6000803e3d6000fd5b50505050507f00000000000000000000000088ad09518695c6c3712ac10a214be5109a6556716001600160a01b031663ad58bdd17f000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc283346040518463ffffffff1660e01b815260040180846001600160a01b03168152602001836001600160a01b031681526020018281526020019350505050600060405180830381600087803b1580156107fe57600080fd5b505af1158015610812573d6000803e3d6000fd5b5050505050565b806001600160a01b03811661082d57600080fd5b6001600160a01b0383166108495761084482610911565b61050d565b61050d838361091c565b80600001516001600160a01b03167f2c1ca5c14df2aba59d26842c5ff53f6817052ef34f6f7537f8b4c9e3805a5e5082602001516040516108949190610ffc565b60405180910390a250565b6014015190565b6040516001600160a01b0383169082156108fc029083906000818181858888f193505050506103c55780826040516108dd90610cc5565b6001600160a01b039091168152604051908190036020019082f090508015801561090b573d6000803e3d6000fd5b50505050565b476103c582826108a6565b604080516370a0823160e01b8152306004820152905183916000916001600160a01b038416916370a08231916024808301926020929190829003018186803b15801561096757600080fd5b505afa15801561097b573d6000803e3d6000fd5b505050506040513d602081101561099157600080fd5b5051905061090b6001600160a01b0383168483604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b17905261050d9084906060610a46826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b0316610aa29092919063ffffffff16565b80519091501561050d57808060200190516020811015610a6557600080fd5b505161050d5760405162461bcd60e51b815260040180806020018281038252602a81526020018061109f602a913960400191505060405180910390fd5b6060610ab18484600085610abb565b90505b9392505050565b606082471015610afc5760405162461bcd60e51b81526004018080602001828103825260268152602001806110796026913960400191505060405180910390fd5b610b0585610c17565b610b56576040805162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015290519081900360640190fd5b60006060866001600160a01b031685876040518082805190602001908083835b60208310610b955780518252601f199092019160209182019101610b76565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d8060008114610bf7576040519150601f19603f3d011682016040523d82523d6000602084013e610bfc565b606091505b5091509150610c0c828286610c21565b979650505050505050565b803b15155b919050565b60608315610c30575081610ab4565b825115610c405782518084602001fd5b8160405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b83811015610c8a578181015183820152602001610c72565b50505050905090810190601f168015610cb75780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b60328061104783390190565b80356001600160a01b0381168114610c1c57600080fd5b600082601f830112610cf8578081fd5b813567ffffffffffffffff80821115610d0d57fe5b604051601f8301601f191681016020018281118282101715610d2b57fe5b604052828152925082848301602001861015610d4657600080fd5b8260208601602083013760006020848301015250505092915050565b600060408284031215610d73578081fd5b6040516040810167ffffffffffffffff8282108183111715610d9157fe5b81604052829350610da185610cd1565b83526020850135915080821115610db757600080fd5b50610dc485828601610ce8565b6020830152505092915050565b600060208284031215610de2578081fd5b610ab482610cd1565b60008060408385031215610dfd578081fd5b610e0683610cd1565b9150610e1460208401610cd1565b90509250929050565b60008060408385031215610e2f578182fd5b610e3883610cd1565b9150602083013567ffffffffffffffff811115610e53578182fd5b610e5f85828601610ce8565b9150509250929050565b600080600060608486031215610e7d578081fd5b610e8684610cd1565b9250602084013567ffffffffffffffff80821115610ea2578283fd5b610eae87838801610ce8565b93506040860135915080821115610ec3578283fd5b50610ed086828701610d62565b9150509250925092565b600080600060608486031215610eee578283fd5b610ef784610cd1565b925060208401359150604084013567ffffffffffffffff811115610f19578182fd5b610ed086828701610ce8565b600060208284031215610f36578081fd5b813567ffffffffffffffff811115610f4c578182fd5b610f5884828501610d62565b949350505050565b60008151808452815b81811015610f8557602081850181015186830182015201610f69565b81811115610f965782602083870101525b50601f01601f19169290920160200192915050565b6001600160a01b0391909116815260200190565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090610ff290830184610f60565b9695505050505050565b600060208252610ab46020830184610f60565b6020808252601c908201527f6f6e6c79206f776e65722063616e20626520726567697374657265640000000060408201526060019056fe60806040526040516032380380603283398181016040526020811015602357600080fd5b50516001600160a01b038116fffe416464726573733a20696e73756666696369656e742062616c616e636520666f722063616c6c5361666545524332303a204552433230206f7065726174696f6e20646964206e6f742073756363656564a2646970667358221220a9d360bbee4992971f1de13e9dcaa75faa81aeee43e441e8cae2f1d47dc28ef764736f6c63430007050033

Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)

00000000000000000000000088ad09518695c6c3712ac10a214be5109a655671000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20000000000000000000000005efda50f22d34f262c29268506c5fa42cb56a1ce

-----Decoded View---------------
Arg [0] : _bridge (address): 0x88ad09518695c6c3712AC10a214bE5109a655671
Arg [1] : _weth (address): 0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2
Arg [2] : _owner (address): 0x5efda50f22d34F262c29268506C5Fa42cB56A1Ce

-----Encoded View---------------
3 Constructor Arguments found :
Arg [0] : 00000000000000000000000088ad09518695c6c3712ac10a214be5109a655671
Arg [1] : 000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2
Arg [2] : 0000000000000000000000005efda50f22d34f262c29268506c5fa42cb56a1ce


Block Uncle Number Difficulty Gas Used Reward
View All Uncles
Loading...
Loading
Loading...
Loading
Loading...
Loading
[ Download: CSV Export  ]
[ Download: CSV Export  ]

A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.