ETH Price: $2,509.13 (+0.01%)
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Token Holdings

More Info

Private Name Tags

Transaction Hash
Method
Block
From
To
Wrap And Relay T...226581512025-06-08 6:42:236 hrs ago1749364943IN
0xa6439Ca0...eD9c9038a
0.342 ETH0.000149830.49004558
Wrap And Relay T...226573542025-06-08 4:01:479 hrs ago1749355307IN
0xa6439Ca0...eD9c9038a
0.09 ETH0.000172020.53284276
Wrap And Relay T...226553282025-06-07 21:14:5915 hrs ago1749330899IN
0xa6439Ca0...eD9c9038a
60 ETH0.000278770.91175362
Wrap And Relay T...226545232025-06-07 18:33:1118 hrs ago1749321191IN
0xa6439Ca0...eD9c9038a
0.00592757 ETH0.000363721.18960659
Wrap And Relay T...226541972025-06-07 17:27:4719 hrs ago1749317267IN
0xa6439Ca0...eD9c9038a
0.01 ETH0.000436291.42695742
Wrap And Relay T...226535382025-06-07 15:15:3521 hrs ago1749309335IN
0xa6439Ca0...eD9c9038a
0.01717751 ETH0.000579641.8958751
Wrap And Relay T...226531282025-06-07 13:52:3523 hrs ago1749304355IN
0xa6439Ca0...eD9c9038a
0.03 ETH0.000645032.10966775
Wrap And Relay T...226526962025-06-07 12:25:3524 hrs ago1749299135IN
0xa6439Ca0...eD9c9038a
0.2 ETH0.000486331.59061741
Wrap And Relay T...226526002025-06-07 12:06:1125 hrs ago1749297971IN
0xa6439Ca0...eD9c9038a
0.83 ETH0.000342671.06140999
Wrap And Relay T...226488202025-06-06 23:26:2337 hrs ago1749252383IN
0xa6439Ca0...eD9c9038a
62.85 ETH0.000561241.83560838
Wrap And Relay T...226429062025-06-06 3:34:352 days ago1749180875IN
0xa6439Ca0...eD9c9038a
4 ETH0.000336321.1
Wrap And Relay T...226425172025-06-06 2:15:592 days ago1749176159IN
0xa6439Ca0...eD9c9038a
350.19 ETH0.000295350.9660437
Wrap And Relay T...226420122025-06-06 0:34:112 days ago1749170051IN
0xa6439Ca0...eD9c9038a
69 ETH0.000456921.41527948
Wrap And Relay T...226379412025-06-05 10:53:233 days ago1749120803IN
0xa6439Ca0...eD9c9038a
0.01 ETH0.000875742.86424145
Wrap And Relay T...226378762025-06-05 10:40:233 days ago1749120023IN
0xa6439Ca0...eD9c9038a
1.99 ETH0.000513511.67949971
Wrap And Relay T...226354672025-06-05 2:33:353 days ago1749090815IN
0xa6439Ca0...eD9c9038a
15 ETH0.000241090.74677508
Wrap And Relay T...226306552025-06-04 10:22:594 days ago1749032579IN
0xa6439Ca0...eD9c9038a
0.002 ETH0.001287794.21190114
Wrap And Relay T...226293932025-06-04 6:08:114 days ago1749017291IN
0xa6439Ca0...eD9c9038a
73.2 ETH0.000251440.82238258
Wrap And Relay T...226286412025-06-04 3:37:114 days ago1749008231IN
0xa6439Ca0...eD9c9038a
10 ETH0.000269660.88197453
Wrap And Relay T...226282122025-06-04 2:10:234 days ago1749003023IN
0xa6439Ca0...eD9c9038a
0.0024 ETH0.001467274.79891643
Wrap And Relay T...226279452025-06-04 1:16:354 days ago1748999795IN
0xa6439Ca0...eD9c9038a
54.4 ETH0.000253210.78429883
Wrap And Relay T...226265892025-06-03 20:43:354 days ago1748983415IN
0xa6439Ca0...eD9c9038a
0.01236215 ETH0.001378774.50944697
Wrap And Relay T...226243912025-06-03 13:21:114 days ago1748956871IN
0xa6439Ca0...eD9c9038a
75.3 ETH0.001278254.18069955
Wrap And Relay T...226241452025-06-03 12:31:355 days ago1748953895IN
0xa6439Ca0...eD9c9038a
144.5 ETH0.00069152.14184952
Wrap And Relay T...226186622025-06-02 18:05:475 days ago1748887547IN
0xa6439Ca0...eD9c9038a
2 ETH0.00120873.95322177
View all transactions

Latest 25 internal transactions (View All)

Advanced mode:
Parent Transaction Hash Method Block
From
To
Transfer226600872025-06-08 13:12:231 min ago1749388343
0xa6439Ca0...eD9c9038a
9.64436 ETH
Transfer226600872025-06-08 13:12:231 min ago1749388343
0xa6439Ca0...eD9c9038a
9.64436 ETH
Transfer226595892025-06-08 11:31:591 hr ago1749382319
0xa6439Ca0...eD9c9038a
55.4845978 ETH
Transfer226595892025-06-08 11:31:591 hr ago1749382319
0xa6439Ca0...eD9c9038a
55.4845978 ETH
Transfer226593762025-06-08 10:49:112 hrs ago1749379751
0xa6439Ca0...eD9c9038a
20 ETH
Transfer226593762025-06-08 10:49:112 hrs ago1749379751
0xa6439Ca0...eD9c9038a
20 ETH
Transfer226591462025-06-08 10:02:353 hrs ago1749376955
0xa6439Ca0...eD9c9038a
22.430766 ETH
Transfer226591462025-06-08 10:02:353 hrs ago1749376955
0xa6439Ca0...eD9c9038a
22.430766 ETH
Deposit226581512025-06-08 6:42:236 hrs ago1749364943
0xa6439Ca0...eD9c9038a
0.342 ETH
Deposit226573542025-06-08 4:01:479 hrs ago1749355307
0xa6439Ca0...eD9c9038a
0.09 ETH
Transfer226558752025-06-07 23:04:4714 hrs ago1749337487
0xa6439Ca0...eD9c9038a
5.50684 ETH
Transfer226558752025-06-07 23:04:4714 hrs ago1749337487
0xa6439Ca0...eD9c9038a
5.50684 ETH
Deposit226553282025-06-07 21:14:5915 hrs ago1749330899
0xa6439Ca0...eD9c9038a
60 ETH
Deposit226545232025-06-07 18:33:1118 hrs ago1749321191
0xa6439Ca0...eD9c9038a
0.00592757 ETH
Transfer226544902025-06-07 18:26:2318 hrs ago1749320783
0xa6439Ca0...eD9c9038a
0.01 ETH
Transfer226544902025-06-07 18:26:2318 hrs ago1749320783
0xa6439Ca0...eD9c9038a
0.01 ETH
Deposit226541972025-06-07 17:27:4719 hrs ago1749317267
0xa6439Ca0...eD9c9038a
0.01 ETH
Deposit226535382025-06-07 15:15:3521 hrs ago1749309335
0xa6439Ca0...eD9c9038a
0.01717751 ETH
Deposit226531282025-06-07 13:52:3523 hrs ago1749304355
0xa6439Ca0...eD9c9038a
0.03 ETH
Deposit226526962025-06-07 12:25:3524 hrs ago1749299135
0xa6439Ca0...eD9c9038a
0.2 ETH
Deposit226526002025-06-07 12:06:1125 hrs ago1749297971
0xa6439Ca0...eD9c9038a
0.83 ETH
Deposit226488202025-06-06 23:26:2337 hrs ago1749252383
0xa6439Ca0...eD9c9038a
62.85 ETH
Transfer226470582025-06-06 17:32:4743 hrs ago1749231167
0xa6439Ca0...eD9c9038a
8.05098752 ETH
Transfer226470582025-06-06 17:32:4743 hrs ago1749231167
0xa6439Ca0...eD9c9038a
8.05098752 ETH
Transfer226441602025-06-06 7:46:472 days ago1749196007
0xa6439Ca0...eD9c9038a
0.01726499 ETH
View All Internal 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:
WETHOmnibridgeRouter

Compiler Version
v0.7.5+commit.eb77ed08

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, GNU GPLv3 license
/**
 *Submitted for verification at Etherscan.io on 2021-10-16
*/

// File: contracts/interfaces/IOmnibridge.sol

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;
}

// File: contracts/interfaces/IWETH.sol

pragma solidity 0.7.5;

interface IWETH {
    function deposit() external payable;

    function withdraw(uint256 _value) external;

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

// File: contracts/upgradeable_contracts/Sacrifice.sol

pragma solidity 0.7.5;

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

// File: contracts/libraries/AddressHelper.sol

pragma solidity 0.7.5;


/**
 * @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);
        }
    }
}

// File: contracts/libraries/Bytes.sol

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))
        }
    }
}

// File: @openzeppelin/contracts/utils/Address.sol


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) {
        // According to EIP-1052, 0x0 is the value returned for not-yet created accounts
        // and 0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470 is returned
        // for accounts without code, i.e. `keccak256('')`
        bytes32 codehash;
        bytes32 accountHash = 0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470;
        // solhint-disable-next-line no-inline-assembly
        assembly { codehash := extcodehash(account) }
        return (codehash != accountHash && codehash != 0x0);
    }

    /**
     * @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");
        return _functionCallWithValue(target, data, value, errorMessage);
    }

    function _functionCallWithValue(address target, bytes memory data, uint256 weiValue, string memory errorMessage) private returns (bytes memory) {
        require(isContract(target), "Address: call to non-contract");

        // solhint-disable-next-line avoid-low-level-calls
        (bool success, bytes memory returndata) = target.call{ value: weiValue }(data);
        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);
            }
        }
    }
}

// File: contracts/upgradeable_contracts/modules/OwnableModule.sol

pragma solidity 0.7.5;


/**
 * @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;
    }
}

// File: @openzeppelin/contracts/token/ERC20/IERC20.sol


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);
}

// File: @openzeppelin/contracts/math/SafeMath.sol


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;
    }
}

// File: @openzeppelin/contracts/token/ERC20/SafeERC20.sol


pragma solidity ^0.7.0;




/**
 * @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");
        }
    }
}

// File: contracts/upgradeable_contracts/Claimable.sol

pragma solidity 0.7.5;



/**
 * @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: contracts/helpers/WETHOmnibridgeRouter.sol

pragma solidity 0.7.5;







/**
 * @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));
    }
}

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"},{"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":[{"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"}],"name":"wrapAndRelayTokens","outputs":[],"stateMutability":"payable","type":"function"},{"stateMutability":"payable","type":"receive"}]

60c060405234801561001057600080fd5b50604051610e02380380610e028339818101604052606081101561003357600080fd5b5080516020820151604092830151600080546001600160a01b038084166001600160a01b03199092169190911782556001600160601b0319606086811b821660805285901b1660a052855163095ea7b360e01b81528186166004820152600019602482015295519495939492939085169263095ea7b39260448084019391929182900301818387803b1580156100c857600080fd5b505af11580156100dc573d6000803e3d6000fd5b5050505050505060805160601c60a05160601c610cc561013d60003980609a528061034d52806103f05280610523528061054752806105c852806106ba528061075d5250806103c1528061058e528061065d528061072e5250610cc56000f3fe60806040526004361061008a5760003560e01c8063ad5c464811610059578063ad5c4648146101f5578063db7af8541461020a578063e78cea92146102d2578063f2fde38b146102e7578063f52cbf0e1461031a576100c6565b806301a754ff146100cb5780633ace4765146100d357806369ffa08a146101895780638da5cb5b146101c4576100c6565b366100c657336001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016146100c457600080fd5b005b600080fd5b6100c4610340565b6100c4600480360360408110156100e957600080fd5b6001600160a01b03823516919081019060408101602082013564010000000081111561011457600080fd5b82018360208201111561012657600080fd5b8035906020019184600183028401116401000000008311171561014857600080fd5b91908080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525092955061034b945050505050565b34801561019557600080fd5b506100c4600480360360408110156101ac57600080fd5b506001600160a01b03813581169160200135166104ed565b3480156101d057600080fd5b506101d9610512565b604080516001600160a01b039092168252519081900360200190f35b34801561020157600080fd5b506101d9610521565b34801561021657600080fd5b506100c46004803603606081101561022d57600080fd5b6001600160a01b038235169160208101359181019060608101604082013564010000000081111561025d57600080fd5b82018360208201111561026f57600080fd5b8035906020019184600183028401116401000000008311171561029157600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250929550610545945050505050565b3480156102de57600080fd5b506101d961065b565b3480156102f357600080fd5b506100c46004803603602081101561030a57600080fd5b50356001600160a01b031661067f565b6100c46004803603602081101561033057600080fd5b50356001600160a01b03166106b8565b610349336106b8565b565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663d0e30db0346040518263ffffffff1660e01b81526004016000604051808303818588803b1580156103a657600080fd5b505af11580156103ba573d6000803e3d6000fd5b50505050507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663d74054817f00000000000000000000000000000000000000000000000000000000000000008434856040518563ffffffff1660e01b815260040180856001600160a01b03168152602001846001600160a01b0316815260200183815260200180602001828103825283818151815260200191508051906020019080838360005b8381101561048257818101518382015260200161046a565b50505050905090810190601f1680156104af5780820380516001836020036101000a031916815260200191505b5095505050505050600060405180830381600087803b1580156104d157600080fd5b505af11580156104e5573d6000803e3d6000fd5b505050505050565b6000546001600160a01b0316331461050457600080fd5b61050e82826107ef565b5050565b6000546001600160a01b031681565b7f000000000000000000000000000000000000000000000000000000000000000081565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316836001600160a01b03161461058357600080fd5b336001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016146105b857600080fd5b80516014146105c657600080fd5b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316632e1a7d4d836040518263ffffffff1660e01b815260040180828152602001915050600060405180830381600087803b15801561062c57600080fd5b505af1158015610640573d6000803e3d6000fd5b5050505061065661065082610829565b83610830565b505050565b7f000000000000000000000000000000000000000000000000000000000000000081565b6000546001600160a01b0316331461069657600080fd5b600080546001600160a01b0319166001600160a01b0392909216919091179055565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663d0e30db0346040518263ffffffff1660e01b81526004016000604051808303818588803b15801561071357600080fd5b505af1158015610727573d6000803e3d6000fd5b50505050507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663ad58bdd17f000000000000000000000000000000000000000000000000000000000000000083346040518463ffffffff1660e01b815260040180846001600160a01b03168152602001836001600160a01b031681526020018281526020019350505050600060405180830381600087803b1580156107d457600080fd5b505af11580156107e8573d6000803e3d6000fd5b5050505050565b806001600160a01b03811661080357600080fd5b6001600160a01b03831661081f5761081a8261089b565b610656565b61065683836108a6565b6014015190565b6040516001600160a01b0383169082156108fc029083906000818181858888f1935050505061050e57808260405161086790610c27565b6001600160a01b039091168152604051908190036020019082f0905080158015610895573d6000803e3d6000fd5b50505050565b4761050e8282610830565b604080516370a0823160e01b8152306004820152905183916000916001600160a01b038416916370a08231916024808301926020929190829003018186803b1580156108f157600080fd5b505afa158015610905573d6000803e3d6000fd5b505050506040513d602081101561091b57600080fd5b505190506108956001600160a01b0383168483604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b17905261065690849060606109d0826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b0316610a2c9092919063ffffffff16565b805190915015610656578080602001905160208110156109ef57600080fd5b50516106565760405162461bcd60e51b815260040180806020018281038252602a815260200180610c66602a913960400191505060405180910390fd5b6060610a3b8484600085610a43565b949350505050565b6060610a4e85610bee565b610a9f576040805162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015290519081900360640190fd5b60006060866001600160a01b031685876040518082805190602001908083835b60208310610ade5780518252601f199092019160209182019101610abf565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d8060008114610b40576040519150601f19603f3d011682016040523d82523d6000602084013e610b45565b606091505b50915091508115610b59579150610a3b9050565b805115610b695780518082602001fd5b8360405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b83811015610bb3578181015183820152602001610b9b565b50505050905090810190601f168015610be05780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b6000813f7fc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470818114801590610a3b575050151592915050565b603280610c348339019056fe60806040526040516032380380603283398181016040526020811015602357600080fd5b50516001600160a01b038116fffe5361666545524332303a204552433230206f7065726174696f6e20646964206e6f742073756363656564a26469706673582212200847b83b96b2272ca4d1f31be7d4e20a526e79056c5eed1356d11e6f2b9ef98264736f6c6343000705003300000000000000000000000088ad09518695c6c3712ac10a214be5109a655671000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200000000000000000000000042f38ec5a75accec50054671233dfac9c0e7a3f6

Deployed Bytecode

0x60806040526004361061008a5760003560e01c8063ad5c464811610059578063ad5c4648146101f5578063db7af8541461020a578063e78cea92146102d2578063f2fde38b146102e7578063f52cbf0e1461031a576100c6565b806301a754ff146100cb5780633ace4765146100d357806369ffa08a146101895780638da5cb5b146101c4576100c6565b366100c657336001600160a01b037f000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc216146100c457600080fd5b005b600080fd5b6100c4610340565b6100c4600480360360408110156100e957600080fd5b6001600160a01b03823516919081019060408101602082013564010000000081111561011457600080fd5b82018360208201111561012657600080fd5b8035906020019184600183028401116401000000008311171561014857600080fd5b91908080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525092955061034b945050505050565b34801561019557600080fd5b506100c4600480360360408110156101ac57600080fd5b506001600160a01b03813581169160200135166104ed565b3480156101d057600080fd5b506101d9610512565b604080516001600160a01b039092168252519081900360200190f35b34801561020157600080fd5b506101d9610521565b34801561021657600080fd5b506100c46004803603606081101561022d57600080fd5b6001600160a01b038235169160208101359181019060608101604082013564010000000081111561025d57600080fd5b82018360208201111561026f57600080fd5b8035906020019184600183028401116401000000008311171561029157600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250929550610545945050505050565b3480156102de57600080fd5b506101d961065b565b3480156102f357600080fd5b506100c46004803603602081101561030a57600080fd5b50356001600160a01b031661067f565b6100c46004803603602081101561033057600080fd5b50356001600160a01b03166106b8565b610349336106b8565b565b7f000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc26001600160a01b031663d0e30db0346040518263ffffffff1660e01b81526004016000604051808303818588803b1580156103a657600080fd5b505af11580156103ba573d6000803e3d6000fd5b50505050507f00000000000000000000000088ad09518695c6c3712ac10a214be5109a6556716001600160a01b031663d74054817f000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc28434856040518563ffffffff1660e01b815260040180856001600160a01b03168152602001846001600160a01b0316815260200183815260200180602001828103825283818151815260200191508051906020019080838360005b8381101561048257818101518382015260200161046a565b50505050905090810190601f1680156104af5780820380516001836020036101000a031916815260200191505b5095505050505050600060405180830381600087803b1580156104d157600080fd5b505af11580156104e5573d6000803e3d6000fd5b505050505050565b6000546001600160a01b0316331461050457600080fd5b61050e82826107ef565b5050565b6000546001600160a01b031681565b7f000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc281565b7f000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc26001600160a01b0316836001600160a01b03161461058357600080fd5b336001600160a01b037f00000000000000000000000088ad09518695c6c3712ac10a214be5109a65567116146105b857600080fd5b80516014146105c657600080fd5b7f000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc26001600160a01b0316632e1a7d4d836040518263ffffffff1660e01b815260040180828152602001915050600060405180830381600087803b15801561062c57600080fd5b505af1158015610640573d6000803e3d6000fd5b5050505061065661065082610829565b83610830565b505050565b7f00000000000000000000000088ad09518695c6c3712ac10a214be5109a65567181565b6000546001600160a01b0316331461069657600080fd5b600080546001600160a01b0319166001600160a01b0392909216919091179055565b7f000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc26001600160a01b031663d0e30db0346040518263ffffffff1660e01b81526004016000604051808303818588803b15801561071357600080fd5b505af1158015610727573d6000803e3d6000fd5b50505050507f00000000000000000000000088ad09518695c6c3712ac10a214be5109a6556716001600160a01b031663ad58bdd17f000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc283346040518463ffffffff1660e01b815260040180846001600160a01b03168152602001836001600160a01b031681526020018281526020019350505050600060405180830381600087803b1580156107d457600080fd5b505af11580156107e8573d6000803e3d6000fd5b5050505050565b806001600160a01b03811661080357600080fd5b6001600160a01b03831661081f5761081a8261089b565b610656565b61065683836108a6565b6014015190565b6040516001600160a01b0383169082156108fc029083906000818181858888f1935050505061050e57808260405161086790610c27565b6001600160a01b039091168152604051908190036020019082f0905080158015610895573d6000803e3d6000fd5b50505050565b4761050e8282610830565b604080516370a0823160e01b8152306004820152905183916000916001600160a01b038416916370a08231916024808301926020929190829003018186803b1580156108f157600080fd5b505afa158015610905573d6000803e3d6000fd5b505050506040513d602081101561091b57600080fd5b505190506108956001600160a01b0383168483604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b17905261065690849060606109d0826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b0316610a2c9092919063ffffffff16565b805190915015610656578080602001905160208110156109ef57600080fd5b50516106565760405162461bcd60e51b815260040180806020018281038252602a815260200180610c66602a913960400191505060405180910390fd5b6060610a3b8484600085610a43565b949350505050565b6060610a4e85610bee565b610a9f576040805162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015290519081900360640190fd5b60006060866001600160a01b031685876040518082805190602001908083835b60208310610ade5780518252601f199092019160209182019101610abf565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d8060008114610b40576040519150601f19603f3d011682016040523d82523d6000602084013e610b45565b606091505b50915091508115610b59579150610a3b9050565b805115610b695780518082602001fd5b8360405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b83811015610bb3578181015183820152602001610b9b565b50505050905090810190601f168015610be05780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b6000813f7fc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470818114801590610a3b575050151592915050565b603280610c348339019056fe60806040526040516032380380603283398181016040526020811015602357600080fd5b50516001600160a01b038116fffe5361666545524332303a204552433230206f7065726174696f6e20646964206e6f742073756363656564a26469706673582212200847b83b96b2272ca4d1f31be7d4e20a526e79056c5eed1356d11e6f2b9ef98264736f6c63430007050033

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

00000000000000000000000088ad09518695c6c3712ac10a214be5109a655671000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200000000000000000000000042f38ec5a75accec50054671233dfac9c0e7a3f6

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

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


Deployed Bytecode Sourcemap

23913:3321:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;27195:10;-1:-1:-1;;;;;27217:4:0;27195:27;;27187:36;;;;;;23913:3321;;;;;24780:96;;;:::i;25579:215::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;25579:215:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;25579:215:0;;-1:-1:-1;25579:215:0;;-1:-1:-1;;;;;25579:215:0:i;26867:112::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;26867:112:0;;;;;;;;;;:::i;8931:20::-;;;;;;;;;;;;;:::i;:::-;;;;-1:-1:-1;;;;;8931:20:0;;;;;;;;;;;;;;24020:27;;;;;;;;;;;;;:::i;26242:377::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;26242:377:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;26242:377:0;;-1:-1:-1;26242:377:0;;-1:-1:-1;;;;;26242:377:0:i;23978:35::-;;;;;;;;;;;;;:::i;9489:101::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;9489:101:0;-1:-1:-1;;;;;9489:101:0;;:::i;25069:181::-;;;;;;;;;;;;;;;;-1:-1:-1;25069:181:0;-1:-1:-1;;;;;25069:181:0;;:::i;24780:96::-;24838:30;24857:10;24838:18;:30::i;:::-;24780:96::o;25579:215::-;25672:4;-1:-1:-1;;;;;25672:12:0;;25693:9;25672:34;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;25717:6;-1:-1:-1;;;;;25717:25:0;;25751:4;25758:9;25769;25780:5;25717:69;;;;;;;;;;;;;-1:-1:-1;;;;;25717:69:0;;;;;;-1:-1:-1;;;;;25717:69:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;25579:215;;:::o;26867:112::-;9337:5;;-1:-1:-1;;;;;9337:5:0;9323:10;:19;9315:28;;;;;;26947:24:::1;26959:6;26967:3;26947:11;:24::i;:::-;26867:112:::0;;:::o;8931:20::-;;;-1:-1:-1;;;;;8931:20:0;;:::o;24020:27::-;;;:::o;26242:377::-;26398:4;-1:-1:-1;;;;;26380:23:0;:6;-1:-1:-1;;;;;26380:23:0;;26372:32;;;;;;26423:10;-1:-1:-1;;;;;26445:6:0;26423:29;;26415:38;;;;;;26472:5;:12;26488:2;26472:18;26464:27;;;;;;26504:4;-1:-1:-1;;;;;26504:13:0;;26518:6;26504:21;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;26538:73;26574:27;26595:5;26574:20;:27::i;:::-;26604:6;26538:27;:73::i;:::-;26242:377;;;:::o;23978:35::-;;;:::o;9489:101::-;9337:5;;-1:-1:-1;;;;;9337:5:0;9323:10;:19;9315:28;;;;;;9565:5:::1;:17:::0;;-1:-1:-1;;;;;;9565:17:0::1;-1:-1:-1::0;;;;;9565:17:0;;;::::1;::::0;;;::::1;::::0;;9489:101::o;25069:181::-;25142:4;-1:-1:-1;;;;;25142:12:0;;25163:9;25142:34;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;25187:6;-1:-1:-1;;;;;25187:18:0;;25214:4;25221:9;25232;25187:55;;;;;;;;;;;;;-1:-1:-1;;;;;25187:55:0;;;;;;-1:-1:-1;;;;;25187:55:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;25069:181;:::o;22379:231::-;22451:3;-1:-1:-1;;;;;21965:17:0;;21957:26;;;;;;-1:-1:-1;;;;;22471:20:0;::::1;22467:136;;22508:21;22525:3;22508:16;:21::i;:::-;22467:136;;;22562:29;22579:6;22587:3;22562:16;:29::i;2274:165::-:0;2417:2;2405:15;2399:22;;2376:56::o;1301:192::-;1392:24;;-1:-1:-1;;;;;1392:16:0;;;:24;;;;;1409:6;;1392:24;;;;1409:6;1392:16;:24;;;;;;;1387:99;;1455:6;1464:9;1433:41;;;;;:::i;:::-;-1:-1:-1;;;;;1433:41:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1301:192;;:::o;22769:163::-;22844:21;22876:48;22912:3;22844:21;22876:27;:48::i;23179:214::-;23312:30;;;-1:-1:-1;;;23312:30:0;;23336:4;23312:30;;;;;;23276:6;;23254:12;;-1:-1:-1;;;;;23312:15:0;;;;;:30;;;;;;;;;;;;;;:15;:30;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;23312:30:0;;-1:-1:-1;23353:32:0;-1:-1:-1;;;;;23353:18:0;;23372:3;23312:30;18547:58;;;-1:-1:-1;;;;;18547:58:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;18547:58:0;-1:-1:-1;;;18547:58:0;;;18520:86;;18540:5;;21166:23;21192:69;21220:4;21192:69;;;;;;;;;;;;;;;;;21200:5;-1:-1:-1;;;;;21192:27:0;;;:69;;;;;:::i;:::-;21276:17;;21166:95;;-1:-1:-1;21276:21:0;21272:224;;21418:10;21407:30;;;;;;;;;;;;;;;-1:-1:-1;21407:30:0;21399:85;;;;-1:-1:-1;;;21399:85:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6325:196;6428:12;6460:53;6483:6;6491:4;6497:1;6500:12;6460:22;:53::i;:::-;6453:60;6325:196;-1:-1:-1;;;;6325:196:0:o;7702:979::-;7832:12;7865:18;7876:6;7865:10;:18::i;:::-;7857:60;;;;;-1:-1:-1;;;7857:60:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;7991:12;8005:23;8032:6;-1:-1:-1;;;;;8032:11:0;8052:8;8063:4;8032:36;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;8032:36:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;7990:78;;;;8083:7;8079:595;;;8114:10;-1:-1:-1;8107:17:0;;-1:-1:-1;8107:17:0;8079:595;8228:17;;:21;8224:439;;8491:10;8485:17;8552:15;8539:10;8535:2;8531:19;8524:44;8439:148;8634:12;8627:20;;-1:-1:-1;;;8627:20:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3210:619;3270:4;3738:20;;3581:66;3778:23;;;;;;:42;;-1:-1:-1;;3805:15:0;;;3770:51;-1:-1:-1;;3210:619:0:o;-1:-1:-1:-;;;;;;;;:::o

Swarm Source

ipfs://0847b83b96b2272ca4d1f31be7d4e20a526e79056c5eed1356d11e6f2b9ef982

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.