ETH Price: $3,248.70 (-2.41%)
 

Overview

ETH Balance

13.27526 ETH

Eth Value

$43,127.40 (@ $3,248.70/ETH)

Token Holdings

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Transfer216834162025-01-22 23:48:591 hr ago1737589739IN
0x8C8EC503...0DEA37DF0
0.29 ETH0.000250095.76092876
Transfer216808442025-01-22 15:11:4710 hrs ago1737558707IN
0x8C8EC503...0DEA37DF0
0.301 ETH0.0012490328.7709632
Transfer216791192025-01-22 9:25:5916 hrs ago1737537959IN
0x8C8EC503...0DEA37DF0
0.033 ETH0.000337327.77010672
Transfer216780932025-01-22 5:59:1119 hrs ago1737525551IN
0x8C8EC503...0DEA37DF0
0.06 ETH0.000316847.29842598
Withdraw216742492025-01-21 17:06:3532 hrs ago1737479195IN
0x8C8EC503...0DEA37DF0
0 ETH0.0005796420.08456238
Transfer216732492025-01-21 13:45:5935 hrs ago1737467159IN
0x8C8EC503...0DEA37DF0
0.015 ETH0.0005662413.04315239
Transfer216710902025-01-21 6:31:3542 hrs ago1737441095IN
0x8C8EC503...0DEA37DF0
1 ETH0.000338527.79789184
Transfer216701112025-01-21 3:15:1146 hrs ago1737429311IN
0x8C8EC503...0DEA37DF0
0.085 ETH0.0005114411.78102455
Transfer216690982025-01-20 23:50:112 days ago1737417011IN
0x8C8EC503...0DEA37DF0
0.106 ETH0.0005972213.7568186
Withdraw216666072025-01-20 15:29:592 days ago1737386999IN
0x8C8EC503...0DEA37DF0
0 ETH0.0010891337.73843585
Transfer216664282025-01-20 14:54:112 days ago1737384851IN
0x8C8EC503...0DEA37DF0
0.2 ETH0.0012803129.49161376
Transfer216663132025-01-20 14:30:352 days ago1737383435IN
0x8C8EC503...0DEA37DF0
0.714 ETH0.0013314230.66875437
Transfer216659042025-01-20 13:08:352 days ago1737378515IN
0x8C8EC503...0DEA37DF0
2 ETH0.0010455824.08467939
Transfer216631692025-01-20 3:59:232 days ago1737345563IN
0x8C8EC503...0DEA37DF0
0.02 ETH0.0008960220.6395908
Transfer216557322025-01-19 3:04:353 days ago1737255875IN
0x8C8EC503...0DEA37DF0
0.036 ETH0.000423229.74874461
Approved Withdra...216529502025-01-18 17:44:354 days ago1737222275IN
0x8C8EC503...0DEA37DF0
0 ETH0.0005505817.1285514
Approved Withdra...216529222025-01-18 17:38:594 days ago1737221939IN
0x8C8EC503...0DEA37DF0
0 ETH0.0006701319.33689409
Approved Withdra...216525422025-01-18 16:22:474 days ago1737217367IN
0x8C8EC503...0DEA37DF0
0 ETH0.0011909137.04942689
Approved Withdra...216524462025-01-18 16:03:354 days ago1737216215IN
0x8C8EC503...0DEA37DF0
0 ETH0.0010130931.52913535
Withdraw216519412025-01-18 14:22:354 days ago1737210155IN
0x8C8EC503...0DEA37DF0
0 ETH0.0003515212.18043469
Transfer216516532025-01-18 13:24:594 days ago1737206699IN
0x8C8EC503...0DEA37DF0
0.539 ETH0.000426119.81546133
Transfer216500482025-01-18 8:02:594 days ago1737187379IN
0x8C8EC503...0DEA37DF0
0.2 ETH0.000429789.9
Transfer216486102025-01-18 3:13:234 days ago1737170003IN
0x8C8EC503...0DEA37DF0
0.00908715 ETH0.0004864811.20601475
Transfer216483272025-01-18 2:16:234 days ago1737166583IN
0x8C8EC503...0DEA37DF0
0.084 ETH0.000223155.14036293
Transfer216480552025-01-18 1:20:475 days ago1737163247IN
0x8C8EC503...0DEA37DF0
0.224 ETH0.000259425.97573683
View all transactions

Latest 25 internal transactions (View All)

Advanced mode:
Parent Transaction Hash Block
From
To
216834202025-01-22 23:49:471 hr ago1737589787
0x8C8EC503...0DEA37DF0
0.00415816 ETH
216834202025-01-22 23:49:471 hr ago1737589787
0x8C8EC503...0DEA37DF0
0.28383183 ETH
216808472025-01-22 15:12:2310 hrs ago1737558743
0x8C8EC503...0DEA37DF0
0.0162661 ETH
216808472025-01-22 15:12:2310 hrs ago1737558743
0x8C8EC503...0DEA37DF0
0.28273389 ETH
216791242025-01-22 9:26:5916 hrs ago1737538019
0x8C8EC503...0DEA37DF0
0.0055416 ETH
216791242025-01-22 9:26:5916 hrs ago1737538019
0x8C8EC503...0DEA37DF0
0.02545839 ETH
216780962025-01-22 5:59:4719 hrs ago1737525587
0x8C8EC503...0DEA37DF0
0.00568452 ETH
216780962025-01-22 5:59:4719 hrs ago1737525587
0x8C8EC503...0DEA37DF0
0.05231547 ETH
216742492025-01-21 17:06:3532 hrs ago1737479195
0x8C8EC503...0DEA37DF0
0.006 ETH
216710922025-01-21 6:31:5942 hrs ago1737441119
0x8C8EC503...0DEA37DF0
0.01157623 ETH
216710922025-01-21 6:31:5942 hrs ago1737441119
0x8C8EC503...0DEA37DF0
0.98642376 ETH
216701142025-01-21 3:15:4746 hrs ago1737429347
0x8C8EC503...0DEA37DF0
0.00716396 ETH
216701142025-01-21 3:15:4746 hrs ago1737429347
0x8C8EC503...0DEA37DF0
0.07583603 ETH
216691002025-01-20 23:50:352 days ago1737417035
0x8C8EC503...0DEA37DF0
0.01113421 ETH
216691002025-01-20 23:50:352 days ago1737417035
0x8C8EC503...0DEA37DF0
0.09286578 ETH
216666072025-01-20 15:29:592 days ago1737386999
0x8C8EC503...0DEA37DF0
0.01 ETH
216664312025-01-20 14:54:472 days ago1737384887
0x8C8EC503...0DEA37DF0
0.01599396 ETH
216664312025-01-20 14:54:472 days ago1737384887
0x8C8EC503...0DEA37DF0
0.18200603 ETH
216663162025-01-20 14:31:112 days ago1737383471
0x8C8EC503...0DEA37DF0
0.04008229 ETH
216663162025-01-20 14:31:112 days ago1737383471
0x8C8EC503...0DEA37DF0
0.6719177 ETH
216659092025-01-20 13:09:352 days ago1737378575
0x8C8EC503...0DEA37DF0
0.03333104 ETH
216659092025-01-20 13:09:352 days ago1737378575
0x8C8EC503...0DEA37DF0
1.96466895 ETH
216631712025-01-20 3:59:472 days ago1737345587
0x8C8EC503...0DEA37DF0
0.01665355 ETH
216631712025-01-20 3:59:472 days ago1737345587
0x8C8EC503...0DEA37DF0
0.00134644 ETH
216557362025-01-19 3:05:233 days ago1737255923
0x8C8EC503...0DEA37DF0
0.00657951 ETH
View All Internal Transactions
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
vETH

Compiler Version
v0.8.17+commit.8df45f5f

Optimization Enabled:
Yes with 2000 runs

Other Settings:
default evmVersion
File 1 of 8 : vETH.sol
// SPDX-License-Identifier: NONE
pragma solidity ^0.8.15;

import "@openzeppelin/contracts/utils/Address.sol";
import "@openzeppelin/contracts/interfaces/IERC20.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@uniswap/v2-periphery/contracts/interfaces/IWETH.sol";
import "./IvETH.sol";

/**
 * @title vETH
 * @author Riley - Two Brothers Crypto ([email protected])
 * @notice Holds Ethereum on behalf of end users to be used in ToadSwap operations without subsequent approvals being required.
 * In essence, a privileged version of WETH9. Implements the WETH9 spec, but with extra functions.
 */
contract vETH is Ownable, IvETH {

    mapping(address => uint256) amounts;

    mapping(address => bool) fullApprovals;

    address public immutable WETH9;

    modifier onlyApproved {
        require(fullApprovals[msg.sender], "Not approved.");
        _;
    }

    constructor(address weth) {
        WETH9 = weth;
        
    }
    receive() external payable {
        // Attempt to reject contracts from sending ETH
        require(!Address.isContract(msg.sender), "Contracts cannot deposit to vETH via receive fallback.");
        amounts[msg.sender] += msg.value;
    }

    function balanceOf(address account) public view override returns (uint) {
        return amounts[account];
    }

    function deposit() external payable override {
        // Allow contracts to send ETH via this method, because if you're doing this you should know how to withdraw (and this technically fulfils the IWETH interface)
        amounts[msg.sender] += msg.value;
    }

    function withdraw(uint wad) public override {
        // Because of Solidity 0.8 SafeMath we can require then do an unchecked subtract
        require(amounts[msg.sender] >= wad, "Not enough balance to withdraw.");
        unchecked {
            amounts[msg.sender] -= wad;
        }
        // Use Address senders 
        Address.sendValue(payable(msg.sender), wad);
    }

    function convertFromWETH9(uint256 amount, address recipient) external override {
        bool resp = IERC20(WETH9).transferFrom(msg.sender, address(this), amount);
        require(resp, "Failed to transfer.");
        // Withdraw
        IWETH(WETH9).withdraw(amount);
        // Now add the correct amount to balance
        amounts[recipient] += amount;
    }

    function convertToWETH9(uint256 amount, address recipient) external override {
        // Subtract balance now
        require(amounts[msg.sender] >= amount, "Not enough balance to withdraw.");
        unchecked {
            amounts[msg.sender] -= amount;
        }
        // Deposit into WETH9
        IWETH(WETH9).deposit{value: amount}();
        // Send to recipient
        bool resp = IERC20(WETH9).transfer(recipient, amount);
        require(resp, "Failed to transfer.");
    }

    function addToFullApproval(address account) external override onlyOwner {
        fullApprovals[account] = true;
    }

    function removeFromFullApproval(address account) external override onlyOwner {
        fullApprovals[account] = false;
    }

    /**
     * Performs a WETH9->vETH conversion with pre-deposited WETH9
     * @param amount amount to convert 
     * @param recipient recipient to credit
     */
    function approvedConvertFromWETH9(uint256 amount, address recipient) external override onlyApproved {
        IERC20 w9 = IERC20(WETH9);
        require(w9.balanceOf(address(this)) >= amount, "Can't convert what we don't have.");
        IWETH(WETH9).withdraw(amount);
        amounts[recipient] += amount; 
    }
    /**
     * Performs a vETH->WETH9 conversion on behalf of a user. Approved contracts only.
     * @param user user to perform on behalf of
     * @param amount amount to convert
     * @param recipient recipient wallet to send to
     */
    function approvedConvertToWETH9(address user, uint256 amount, address recipient) external override onlyApproved {
        // Subtract balance now
        require(amounts[user] >= amount, "Not enough balance to withdraw.");
        unchecked {
            amounts[user] -= amount;
        }
        IWETH w9 = IWETH(WETH9);
        w9.deposit{value: amount}();
        bool resp = w9.transfer(recipient, amount);
        require(resp, "Failed to transfer.");

    }

    function approvedTransferFrom(address user, uint256 amount, address recipient) external override onlyApproved {
        require(amounts[user] >= amount, "Not enough balance to transfer.");
        unchecked {
            amounts[user] -= amount;
            amounts[recipient] += amount;
        }
    }

    function transfer(address to, uint value) public override {
        require(amounts[_msgSender()] >= value, "Not enough balance to transfer.");
        unchecked {
            amounts[_msgSender()] -= value;
            amounts[to] += value;
        }
    }

    /**
     * Performs a withdrawal on behalf of a user. Approved contracts only.
     * @param user user to perform on behalf of
     * @param amount amount to withdraw
     * @param recipient recipient wallet to send to
     */
    function approvedWithdraw(address user, uint256 amount, address recipient) external override onlyApproved {
         // Because of Solidity 0.8 SafeMath we can require then do an unchecked subtract
        require(amounts[user] >= amount, "Not enough balance to withdraw.");
        unchecked {
            amounts[user] -= amount;
        }
        // Use Address senders 
        Address.sendValue(payable(recipient), amount);
    }




}

File 2 of 8 : Ownable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol)

pragma solidity ^0.8.0;

import "../utils/Context.sol";

/**
 * @dev Contract module which provides a basic access control mechanism, where
 * there is an account (an owner) that can be granted exclusive access to
 * specific functions.
 *
 * By default, the owner account will be the one that deploys the contract. This
 * can later be changed with {transferOwnership}.
 *
 * This module is used through inheritance. It will make available the modifier
 * `onlyOwner`, which can be applied to your functions to restrict their use to
 * the owner.
 */
abstract contract Ownable is Context {
    address private _owner;

    event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);

    /**
     * @dev Initializes the contract setting the deployer as the initial owner.
     */
    constructor() {
        _transferOwnership(_msgSender());
    }

    /**
     * @dev Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        _checkOwner();
        _;
    }

    /**
     * @dev Returns the address of the current owner.
     */
    function owner() public view virtual returns (address) {
        return _owner;
    }

    /**
     * @dev Throws if the sender is not the owner.
     */
    function _checkOwner() internal view virtual {
        require(owner() == _msgSender(), "Ownable: caller is not the owner");
    }

    /**
     * @dev Leaves the contract without owner. It will not be possible to call
     * `onlyOwner` functions anymore. Can only be called by the current owner.
     *
     * NOTE: Renouncing ownership will leave the contract without an owner,
     * thereby removing any functionality that is only available to the owner.
     */
    function renounceOwnership() public virtual onlyOwner {
        _transferOwnership(address(0));
    }

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     * Can only be called by the current owner.
     */
    function transferOwnership(address newOwner) public virtual onlyOwner {
        require(newOwner != address(0), "Ownable: new owner is the zero address");
        _transferOwnership(newOwner);
    }

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     * Internal function without access restriction.
     */
    function _transferOwnership(address newOwner) internal virtual {
        address oldOwner = _owner;
        _owner = newOwner;
        emit OwnershipTransferred(oldOwner, newOwner);
    }
}

File 3 of 8 : IERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (interfaces/IERC20.sol)

pragma solidity ^0.8.0;

import "../token/ERC20/IERC20.sol";

File 4 of 8 : IERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.0) (token/ERC20/IERC20.sol)

pragma solidity ^0.8.0;

/**
 * @dev Interface of the ERC20 standard as defined in the EIP.
 */
interface IERC20 {
    /**
     * @dev Emitted when `value` tokens are moved from one account (`from`) to
     * another (`to`).
     *
     * Note that `value` may be zero.
     */
    event Transfer(address indexed from, address indexed to, uint256 value);

    /**
     * @dev Emitted when the allowance of a `spender` for an `owner` is set by
     * a call to {approve}. `value` is the new allowance.
     */
    event Approval(address indexed owner, address indexed spender, uint256 value);

    /**
     * @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 `to`.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transfer(address to, 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 `from` to `to` 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 from,
        address to,
        uint256 amount
    ) external returns (bool);
}

File 5 of 8 : Address.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.8.0) (utils/Address.sol)

pragma solidity ^0.8.1;

/**
 * @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
     * ====
     *
     * [IMPORTANT]
     * ====
     * You shouldn't rely on `isContract` to protect against flash loan attacks!
     *
     * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets
     * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract
     * constructor.
     * ====
     */
    function isContract(address account) internal view returns (bool) {
        // This method relies on extcodesize/address.code.length, which returns 0
        // for contracts in construction, since the code is only stored at the end
        // of the constructor execution.

        return account.code.length > 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");

        (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 functionCallWithValue(target, data, 0, "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");
        (bool success, bytes memory returndata) = target.call{value: value}(data);
        return verifyCallResultFromTarget(target, 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) {
        (bool success, bytes memory returndata) = target.staticcall(data);
        return verifyCallResultFromTarget(target, 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) {
        (bool success, bytes memory returndata) = target.delegatecall(data);
        return verifyCallResultFromTarget(target, success, returndata, errorMessage);
    }

    /**
     * @dev Tool to verify that a low level call to smart-contract was successful, and revert (either by bubbling
     * the revert reason or using the provided one) in case of unsuccessful call or if target was not a contract.
     *
     * _Available since v4.8._
     */
    function verifyCallResultFromTarget(
        address target,
        bool success,
        bytes memory returndata,
        string memory errorMessage
    ) internal view returns (bytes memory) {
        if (success) {
            if (returndata.length == 0) {
                // only check isContract if the call was successful and the return data is empty
                // otherwise we already know that it was a contract
                require(isContract(target), "Address: call to non-contract");
            }
            return returndata;
        } else {
            _revert(returndata, errorMessage);
        }
    }

    /**
     * @dev Tool to verify that a low level call was successful, and revert if it wasn't, either by bubbling the
     * revert reason or using the provided one.
     *
     * _Available since v4.3._
     */
    function verifyCallResult(
        bool success,
        bytes memory returndata,
        string memory errorMessage
    ) internal pure returns (bytes memory) {
        if (success) {
            return returndata;
        } else {
            _revert(returndata, errorMessage);
        }
    }

    function _revert(bytes memory returndata, string memory errorMessage) private pure {
        // 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
            /// @solidity memory-safe-assembly
            assembly {
                let returndata_size := mload(returndata)
                revert(add(32, returndata), returndata_size)
            }
        } else {
            revert(errorMessage);
        }
    }
}

File 6 of 8 : Context.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Context.sol)

pragma solidity ^0.8.0;

/**
 * @dev Provides information about the current execution context, including the
 * sender of the transaction and its data. While these are generally available
 * via msg.sender and msg.data, they should not be accessed in such a direct
 * manner, since when dealing with meta-transactions the account sending and
 * paying for execution may not be the actual sender (as far as an application
 * is concerned).
 *
 * This contract is only required for intermediate, library-like contracts.
 */
abstract contract Context {
    function _msgSender() internal view virtual returns (address) {
        return msg.sender;
    }

    function _msgData() internal view virtual returns (bytes calldata) {
        return msg.data;
    }
}

File 7 of 8 : IWETH.sol
pragma solidity >=0.5.0;

interface IWETH {
    function deposit() external payable;
    function transfer(address to, uint value) external returns (bool);
    function withdraw(uint) external;
}

File 8 of 8 : IvETH.sol
// SPDX-License-Identifier: NONE
pragma solidity ^0.8.15;


/**
 * @title vETH
 * @author Riley - Two Brothers Crypto ([email protected])
 * @notice Holds Ethereum on behalf of end users to be used in ToadSwap operations without subsequent approvals being required.
 * In essence, a privileged version of WETH9. Implements the WETH9 spec, but with extra functions.
 */
abstract contract IvETH {



    function balanceOf(address account) public virtual view returns (uint);

    function deposit() external virtual payable;

    function withdraw(uint wad) public virtual;

    function convertFromWETH9(uint256 amount, address recipient) external virtual;

    function convertToWETH9(uint256 amount, address recipient) external virtual;

    function addToFullApproval(address account) external virtual;

    function removeFromFullApproval(address account) external virtual;

    /**
     * Performs a WETH9->vETH conversion with pre-deposited WETH9
     * @param amount amount to convert 
     * @param recipient recipient to credit
     */
    function approvedConvertFromWETH9(uint256 amount, address recipient) external virtual;
    /**
     * Performs a vETH->WETH9 conversion on behalf of a user. Approved contracts only.
     * @param user user to perform on behalf of
     * @param amount amount to convert
     * @param recipient recipient wallet to send to
     */
    function approvedConvertToWETH9(address user, uint256 amount, address recipient) external virtual;
    /**
     * Performs a withdrawal on behalf of a user. Approved contracts only.
     * @param user user to perform on behalf of
     * @param amount amount to withdraw
     * @param recipient recipient wallet to send to
     */
    function approvedWithdraw(address user, uint256 amount, address recipient) external virtual;

    function approvedTransferFrom(address user, uint256 amount, address recipient) external virtual;

    function transfer(address to, uint value) public virtual;


}

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"weth","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"inputs":[],"name":"WETH9","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"addToFullApproval","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"address","name":"recipient","type":"address"}],"name":"approvedConvertFromWETH9","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"user","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"address","name":"recipient","type":"address"}],"name":"approvedConvertToWETH9","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"user","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"address","name":"recipient","type":"address"}],"name":"approvedTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"user","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"address","name":"recipient","type":"address"}],"name":"approvedWithdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"address","name":"recipient","type":"address"}],"name":"convertFromWETH9","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"address","name":"recipient","type":"address"}],"name":"convertToWETH9","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"deposit","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"removeFromFullApproval","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"transfer","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"wad","type":"uint256"}],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]

60a0346100c357601f61104c38819003918201601f19168301916001600160401b038311848410176100c8578084926020946040528339810103126100c357516001600160a01b039081811681036100c3576000543360018060a01b0319821617600055604051923391167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0600080a3608052610f6d90816100df82396080518181816101b1015281816106510152818161081b0152818161095d0152610a0a0152f35b600080fd5b634e487b7160e01b600052604160045260246000fdfe6040608081526004803610156100a5575b361561001b57600080fd5b333b61003d5750336000526001602052600020610039348254610c5f565b9055005b6020608492519162461bcd60e51b8352820152603660248201527f436f6e7472616374732063616e6e6f74206465706f73697420746f207645544860448201527f2076696120726563656976652066616c6c6261636b2e000000000000000000006064820152fd5b6000803560e01c80630ac9c8de146109c75780632e1a7d4d146109815780634aa4a4fc1461093d5780634b6c0f2c146107bc5780634c6ef41414610751578063606683d8146106255780636f651c1a146105e557806370a08231146105ae578063715018a61461053957806388853ca4146104d55780638da5cb5b146104af578063a9059cbb14610452578063a9181a711461040f578063d0e30db0146103e8578063f2fde38b146102f25763f3f01a45146101615750610010565b9190346102ee57816003193601126102ee5780359061017e610ba2565b338552600160205261019583858720541015610c82565b3385526001602052838520838154039055846001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001692833b156102ea5785517fd0e30db00000000000000000000000000000000000000000000000000000000081528281838189895af180156102e0576102bf575b50916020939161026595938751968795869485937fa9059cbb0000000000000000000000000000000000000000000000000000000085528401602090939291936001600160a01b0360408201951681520152565b03925af19081156102b35761028292508391610285575b50610e56565b80f35b6102a6915060203d81116102ac575b61029e8183610cf7565b810190610e3e565b3861027c565b503d610294565b505051903d90823e3d90fd5b916102ce819694929593610ccd565b6102dc579193909238610211565b8480fd5b87513d85823e3d90fd5b5080fd5b8280fd5b509190346102ee5760206003193601126102ee5761030e610bbd565b90610317610c07565b6001600160a01b0380921692831561037f575050600054827fffffffffffffffffffffffff0000000000000000000000000000000000000000821617600055167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0600080a380f35b906020608492519162461bcd60e51b8352820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f64647265737300000000000000000000000000000000000000000000000000006064820152fd5b5082816003193601126102ea573382526001602052812061040a348254610c5f565b905580f35b5082346102ea5760206003193601126102ea576001600160a01b03610432610bbd565b61043a610c07565b16825260026020528120600160ff1982541617905580f35b5082346102ea57806003193601126102ea5761046c610bbd565b906001600160a01b0360243592338552600160205261049084848720541015610eec565b3385526001602052828520848154039055168352822090815401905580f35b5082346102ea57816003193601126102ea576001600160a01b0360209254169051908152f35b5082346102ea57610282906104e936610bd3565b9092338652600260205261050260ff8288205416610ea1565b6001600160a01b03809316808752600160205261052485838920541015610c82565b86526001602052852083815403905516610d1a565b50346105ab57806003193601126105ab57610552610c07565b60006001600160a01b0381547fffffffffffffffffffffffff000000000000000000000000000000000000000081168355167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e08280a380f35b80fd5b5082346102ea5760206003193601126102ea57806020926001600160a01b036105d5610bbd565b1681526001845220549051908152f35b5082346102ea5760206003193601126102ea576001600160a01b03610608610bbd565b610610610c07565b1682526002602052812060ff19815416905580f35b509190346102ee57816003193601126102ee57803591610643610ba2565b91846001600160a01b0391827f0000000000000000000000000000000000000000000000000000000000000000169084517f23b872dd000000000000000000000000000000000000000000000000000000008152338282015230602482015287604482015260208160648187875af190811561074757906106ca9185916102855750610e56565b813b156102ee57866024849283885195869485937f2e1a7d4d0000000000000000000000000000000000000000000000000000000085528401525af1801561073d57610729575b505061040a9216845260016020528320918254610c5f565b61073290610ccd565b6102dc578438610711565b84513d84823e3d90fd5b86513d86823e3d90fd5b5082346102ea5761076136610bd3565b92919092338552600260205261077c60ff8487205416610ea1565b6001600160a01b03809216808652600160205261079e85858820541015610eec565b85526001602052828520848154039055168352822090815401905580f35b509190346102ee576107cd36610bd3565b919290338652602093600285526107e960ff8789205416610ea1565b6001600160a01b038091168088526001865261080a83888a20541015610c82565b8752600185528587208281540390557f000000000000000000000000000000000000000000000000000000000000000016803b15610939578551937fd0e30db0000000000000000000000000000000000000000000000000000000008552878086868187875af194851561092d578795610915575b6108cd96508851968795869485937fa9059cbb0000000000000000000000000000000000000000000000000000000085528401602090939291936001600160a01b0360408201951681520152565b03925af191821561090857610282935084926108eb575b5050610e56565b6109019250803d106102ac5761029e8183610cf7565b38806108e4565b50505051903d90823e3d90fd5b94506109218196610ccd565b6102dc5784869461087f565b508751903d90823e3d90fd5b8680fd5b5082346102ea57816003193601126102ea57602090516001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000168152f35b5091346102ee5760206003193601126102ee5761028291359033845260016020526109b182828620541015610c82565b3384526001602052832081815403905533610d1a565b5091346102ee57806003193601126102ee578135916109e4610ba2565b90338552602091600283526109fe60ff8588205416610ea1565b6001600160a01b0391827f0000000000000000000000000000000000000000000000000000000000000000169085517f70a0823100000000000000000000000000000000000000000000000000000000815230828201528581602481865afa908115610b98579088918a91610b63575b5010610afb578790823b156102ea576024889183895195869485937f2e1a7d4d0000000000000000000000000000000000000000000000000000000085528401525af18015610af157610ad3575b501684526001905282208054909161040a91610c5f565b9161040a94939196610ae6600194610ccd565b969193945091610abc565b85513d89823e3d90fd5b6084908587519162461bcd60e51b8352820152602160248201527f43616e277420636f6e76657274207768617420776520646f6e2774206861766560448201527f2e000000000000000000000000000000000000000000000000000000000000006064820152fd5b809250878092503d8311610b91575b610b7c8183610cf7565b81010312610b8d5787905138610a6e565b8880fd5b503d610b72565b87513d8b823e3d90fd5b602435906001600160a01b0382168203610bb857565b600080fd5b600435906001600160a01b0382168203610bb857565b6003196060910112610bb8576001600160a01b036004358181168103610bb85791602435916044359081168103610bb85790565b6001600160a01b03600054163303610c1b57565b606460405162461bcd60e51b815260206004820152602060248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152fd5b91908201809211610c6c57565b634e487b7160e01b600052601160045260246000fd5b15610c8957565b606460405162461bcd60e51b815260206004820152601f60248201527f4e6f7420656e6f7567682062616c616e636520746f2077697468647261772e006044820152fd5b67ffffffffffffffff8111610ce157604052565b634e487b7160e01b600052604160045260246000fd5b90601f601f19910116810190811067ffffffffffffffff821117610ce157604052565b814710610dfa576001600160a01b0390600080809481948294165af1903d15610df4573d9067ffffffffffffffff8211610de05760405191610d666020601f19601f8401160184610cf7565b825260203d92013e5b15610d7657565b608460405162461bcd60e51b815260206004820152603a60248201527f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260448201527f6563697069656e74206d617920686176652072657665727465640000000000006064820152fd5b80634e487b7160e01b602492526041600452fd5b50610d6f565b606460405162461bcd60e51b815260206004820152601d60248201527f416464726573733a20696e73756666696369656e742062616c616e63650000006044820152fd5b90816020910312610bb857518015158103610bb85790565b15610e5d57565b606460405162461bcd60e51b815260206004820152601360248201527f4661696c656420746f207472616e736665722e000000000000000000000000006044820152fd5b15610ea857565b606460405162461bcd60e51b815260206004820152600d60248201527f4e6f7420617070726f7665642e000000000000000000000000000000000000006044820152fd5b15610ef357565b606460405162461bcd60e51b815260206004820152601f60248201527f4e6f7420656e6f7567682062616c616e636520746f207472616e736665722e006044820152fdfea264697066735822122018773fadda493037f3c13c4e5717ec3b95b8ff6feca402522378700bcae3beec64736f6c63430008110033000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2

Deployed Bytecode

0x6040608081526004803610156100a5575b361561001b57600080fd5b333b61003d5750336000526001602052600020610039348254610c5f565b9055005b6020608492519162461bcd60e51b8352820152603660248201527f436f6e7472616374732063616e6e6f74206465706f73697420746f207645544860448201527f2076696120726563656976652066616c6c6261636b2e000000000000000000006064820152fd5b6000803560e01c80630ac9c8de146109c75780632e1a7d4d146109815780634aa4a4fc1461093d5780634b6c0f2c146107bc5780634c6ef41414610751578063606683d8146106255780636f651c1a146105e557806370a08231146105ae578063715018a61461053957806388853ca4146104d55780638da5cb5b146104af578063a9059cbb14610452578063a9181a711461040f578063d0e30db0146103e8578063f2fde38b146102f25763f3f01a45146101615750610010565b9190346102ee57816003193601126102ee5780359061017e610ba2565b338552600160205261019583858720541015610c82565b3385526001602052838520838154039055846001600160a01b037f000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc21692833b156102ea5785517fd0e30db00000000000000000000000000000000000000000000000000000000081528281838189895af180156102e0576102bf575b50916020939161026595938751968795869485937fa9059cbb0000000000000000000000000000000000000000000000000000000085528401602090939291936001600160a01b0360408201951681520152565b03925af19081156102b35761028292508391610285575b50610e56565b80f35b6102a6915060203d81116102ac575b61029e8183610cf7565b810190610e3e565b3861027c565b503d610294565b505051903d90823e3d90fd5b916102ce819694929593610ccd565b6102dc579193909238610211565b8480fd5b87513d85823e3d90fd5b5080fd5b8280fd5b509190346102ee5760206003193601126102ee5761030e610bbd565b90610317610c07565b6001600160a01b0380921692831561037f575050600054827fffffffffffffffffffffffff0000000000000000000000000000000000000000821617600055167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0600080a380f35b906020608492519162461bcd60e51b8352820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f64647265737300000000000000000000000000000000000000000000000000006064820152fd5b5082816003193601126102ea573382526001602052812061040a348254610c5f565b905580f35b5082346102ea5760206003193601126102ea576001600160a01b03610432610bbd565b61043a610c07565b16825260026020528120600160ff1982541617905580f35b5082346102ea57806003193601126102ea5761046c610bbd565b906001600160a01b0360243592338552600160205261049084848720541015610eec565b3385526001602052828520848154039055168352822090815401905580f35b5082346102ea57816003193601126102ea576001600160a01b0360209254169051908152f35b5082346102ea57610282906104e936610bd3565b9092338652600260205261050260ff8288205416610ea1565b6001600160a01b03809316808752600160205261052485838920541015610c82565b86526001602052852083815403905516610d1a565b50346105ab57806003193601126105ab57610552610c07565b60006001600160a01b0381547fffffffffffffffffffffffff000000000000000000000000000000000000000081168355167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e08280a380f35b80fd5b5082346102ea5760206003193601126102ea57806020926001600160a01b036105d5610bbd565b1681526001845220549051908152f35b5082346102ea5760206003193601126102ea576001600160a01b03610608610bbd565b610610610c07565b1682526002602052812060ff19815416905580f35b509190346102ee57816003193601126102ee57803591610643610ba2565b91846001600160a01b0391827f000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2169084517f23b872dd000000000000000000000000000000000000000000000000000000008152338282015230602482015287604482015260208160648187875af190811561074757906106ca9185916102855750610e56565b813b156102ee57866024849283885195869485937f2e1a7d4d0000000000000000000000000000000000000000000000000000000085528401525af1801561073d57610729575b505061040a9216845260016020528320918254610c5f565b61073290610ccd565b6102dc578438610711565b84513d84823e3d90fd5b86513d86823e3d90fd5b5082346102ea5761076136610bd3565b92919092338552600260205261077c60ff8487205416610ea1565b6001600160a01b03809216808652600160205261079e85858820541015610eec565b85526001602052828520848154039055168352822090815401905580f35b509190346102ee576107cd36610bd3565b919290338652602093600285526107e960ff8789205416610ea1565b6001600160a01b038091168088526001865261080a83888a20541015610c82565b8752600185528587208281540390557f000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc216803b15610939578551937fd0e30db0000000000000000000000000000000000000000000000000000000008552878086868187875af194851561092d578795610915575b6108cd96508851968795869485937fa9059cbb0000000000000000000000000000000000000000000000000000000085528401602090939291936001600160a01b0360408201951681520152565b03925af191821561090857610282935084926108eb575b5050610e56565b6109019250803d106102ac5761029e8183610cf7565b38806108e4565b50505051903d90823e3d90fd5b94506109218196610ccd565b6102dc5784869461087f565b508751903d90823e3d90fd5b8680fd5b5082346102ea57816003193601126102ea57602090516001600160a01b037f000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2168152f35b5091346102ee5760206003193601126102ee5761028291359033845260016020526109b182828620541015610c82565b3384526001602052832081815403905533610d1a565b5091346102ee57806003193601126102ee578135916109e4610ba2565b90338552602091600283526109fe60ff8588205416610ea1565b6001600160a01b0391827f000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2169085517f70a0823100000000000000000000000000000000000000000000000000000000815230828201528581602481865afa908115610b98579088918a91610b63575b5010610afb578790823b156102ea576024889183895195869485937f2e1a7d4d0000000000000000000000000000000000000000000000000000000085528401525af18015610af157610ad3575b501684526001905282208054909161040a91610c5f565b9161040a94939196610ae6600194610ccd565b969193945091610abc565b85513d89823e3d90fd5b6084908587519162461bcd60e51b8352820152602160248201527f43616e277420636f6e76657274207768617420776520646f6e2774206861766560448201527f2e000000000000000000000000000000000000000000000000000000000000006064820152fd5b809250878092503d8311610b91575b610b7c8183610cf7565b81010312610b8d5787905138610a6e565b8880fd5b503d610b72565b87513d8b823e3d90fd5b602435906001600160a01b0382168203610bb857565b600080fd5b600435906001600160a01b0382168203610bb857565b6003196060910112610bb8576001600160a01b036004358181168103610bb85791602435916044359081168103610bb85790565b6001600160a01b03600054163303610c1b57565b606460405162461bcd60e51b815260206004820152602060248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152fd5b91908201809211610c6c57565b634e487b7160e01b600052601160045260246000fd5b15610c8957565b606460405162461bcd60e51b815260206004820152601f60248201527f4e6f7420656e6f7567682062616c616e636520746f2077697468647261772e006044820152fd5b67ffffffffffffffff8111610ce157604052565b634e487b7160e01b600052604160045260246000fd5b90601f601f19910116810190811067ffffffffffffffff821117610ce157604052565b814710610dfa576001600160a01b0390600080809481948294165af1903d15610df4573d9067ffffffffffffffff8211610de05760405191610d666020601f19601f8401160184610cf7565b825260203d92013e5b15610d7657565b608460405162461bcd60e51b815260206004820152603a60248201527f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260448201527f6563697069656e74206d617920686176652072657665727465640000000000006064820152fd5b80634e487b7160e01b602492526041600452fd5b50610d6f565b606460405162461bcd60e51b815260206004820152601d60248201527f416464726573733a20696e73756666696369656e742062616c616e63650000006044820152fd5b90816020910312610bb857518015158103610bb85790565b15610e5d57565b606460405162461bcd60e51b815260206004820152601360248201527f4661696c656420746f207472616e736665722e000000000000000000000000006044820152fd5b15610ea857565b606460405162461bcd60e51b815260206004820152600d60248201527f4e6f7420617070726f7665642e000000000000000000000000000000000000006044820152fd5b15610ef357565b606460405162461bcd60e51b815260206004820152601f60248201527f4e6f7420656e6f7567682062616c616e636520746f207472616e736665722e006044820152fdfea264697066735822122018773fadda493037f3c13c4e5717ec3b95b8ff6feca402522378700bcae3beec64736f6c63430008110033

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

000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2

-----Decoded View---------------
Arg [0] : weth (address): 0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2

-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2


Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

Block Uncle Number Difficulty Gas Used Reward
View All Uncles
Loading...
Loading
Loading...
Loading

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
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.