FTM Price: $0.68 (-5.61%)
Gas: 25 GWei

Contract

0xc9296e12e2Fe55605d9F6dB5412EaA1938F0B404
 

Overview

FTM Balance

Fantom LogoFantom LogoFantom Logo0 FTM

FTM Value

$0.00

Sponsored

Transaction Hash
Method
Block
From
To
Value
Transfer Ownersh...440035902022-08-01 14:22:45623 days ago1659363765IN
0xc9296e12...938F0B404
0 FTM0.0042232289
Add White List381429092022-05-13 8:56:36704 days ago1652432196IN
0xc9296e12...938F0B404
0 FTM0.14253,000
Add White List381428932022-05-13 8:56:12704 days ago1652432172IN
0xc9296e12...938F0B404
0 FTM0.14253,000
0x60a06040381428692022-05-13 8:55:25704 days ago1652432125IN
 Create: NativeUnwrapper
0 FTM1.6023753,000

Latest 25 internal transactions (View All)

Parent Txn Hash Block From To Value
783674882024-03-28 13:58:2318 days ago1711634303
0xc9296e12...938F0B404
120.43478578 FTM
783674882024-03-28 13:58:2318 days ago1711634303
0xc9296e12...938F0B404
120.43478578 FTM
764353342024-02-27 21:47:1148 days ago1709070431
0xc9296e12...938F0B404
13,711.43723785 FTM
764353342024-02-27 21:47:1148 days ago1709070431
0xc9296e12...938F0B404
13,711.43723785 FTM
762548572024-02-25 3:57:0451 days ago1708833424
0xc9296e12...938F0B404
9,985.63201841 FTM
762548572024-02-25 3:57:0451 days ago1708833424
0xc9296e12...938F0B404
9,985.63201841 FTM
748912772024-01-29 11:55:2878 days ago1706529328
0xc9296e12...938F0B404
42.90488098 FTM
748912772024-01-29 11:55:2878 days ago1706529328
0xc9296e12...938F0B404
42.90488098 FTM
741840312024-01-14 5:15:3493 days ago1705209334
0xc9296e12...938F0B404
207.10417394 FTM
741840312024-01-14 5:15:3493 days ago1705209334
0xc9296e12...938F0B404
207.10417394 FTM
740516982024-01-11 2:04:1896 days ago1704938658
0xc9296e12...938F0B404
1 FTM
740516982024-01-11 2:04:1896 days ago1704938658
0xc9296e12...938F0B404
1 FTM
737384092024-01-05 7:51:59102 days ago1704441119
0xc9296e12...938F0B404
0.17701617 FTM
737384092024-01-05 7:51:59102 days ago1704441119
0xc9296e12...938F0B404
0.17701617 FTM
737232122024-01-04 21:55:46102 days ago1704405346
0xc9296e12...938F0B404
2,300.44992124 FTM
737232122024-01-04 21:55:46102 days ago1704405346
0xc9296e12...938F0B404
2,300.44992124 FTM
737218352024-01-04 21:07:13102 days ago1704402433
0xc9296e12...938F0B404
1,959.30674572 FTM
737218352024-01-04 21:07:13102 days ago1704402433
0xc9296e12...938F0B404
1,959.30674572 FTM
736178842024-01-02 22:09:37104 days ago1704233377
0xc9296e12...938F0B404
2,060.58187278 FTM
736178842024-01-02 22:09:37104 days ago1704233377
0xc9296e12...938F0B404
2,060.58187278 FTM
736046022024-01-02 15:47:30104 days ago1704210450
0xc9296e12...938F0B404
63.22638998 FTM
736046022024-01-02 15:47:30104 days ago1704210450
0xc9296e12...938F0B404
63.22638998 FTM
736045402024-01-02 15:45:31104 days ago1704210331
0xc9296e12...938F0B404
63.22638998 FTM
736045402024-01-02 15:45:31104 days ago1704210331
0xc9296e12...938F0B404
63.22638998 FTM
733351382023-12-28 1:28:56110 days ago1703726936
0xc9296e12...938F0B404
21.31181711 FTM
View All Internal Transactions
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
NativeUnwrapper

Compiler Version
v0.8.10+commit.fc410830

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion
File 1 of 6 : NativeUnwrapper.sol
// SPDX-License-Identifier: GPL-2.0-or-later
pragma solidity 0.8.10;

import "@openzeppelin/contracts/utils/Address.sol";
import "../interfaces/IWETH9.sol";
import "../components/SafeOwnable.sol";

/**
 * @dev NativeUnwrapper unwraps WETH and send ETH back to a Trader.
 *
 *      LiquidityPool is upgradable. WBNB can not send to an upgradable contract. So we unwrap
 *      native asset into NativeUnwrapper first.
 */
contract NativeUnwrapper is SafeOwnable {
    IWETH public immutable weth;
    mapping(address => bool) public whitelist; // contract in this whitelist can send ETH to any Trader

    event Granted(address indexed core);
    event Revoked(address indexed core);

    constructor(address weth_) SafeOwnable() {
        weth = IWETH(weth_);
    }

    receive() external payable {}

    function addWhiteList(address core) external onlyOwner {
        require(!whitelist[core], "CHG"); // not CHanGed
        whitelist[core] = true;
        emit Granted(core);
    }

    function removeWhiteList(address core) external onlyOwner {
        require(whitelist[core], "CHG"); // not CHanGed
        whitelist[core] = false;
        emit Revoked(core);
    }

    function unwrap(address payable to, uint256 rawAmount) external {
        require(whitelist[msg.sender], "SND"); // SeNDer is not authorized
        weth.withdraw(rawAmount);
        Address.sendValue(to, rawAmount);
    }
}

File 2 of 6 : Address.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.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 functionCall(target, data, "Address: low-level call failed");
    }

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

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

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

        (bool success, bytes memory returndata) = target.call{value: value}(data);
        return verifyCallResult(success, returndata, errorMessage);
    }

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

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

        (bool success, bytes memory returndata) = target.staticcall(data);
        return verifyCallResult(success, returndata, errorMessage);
    }

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

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

        (bool success, bytes memory returndata) = target.delegatecall(data);
        return verifyCallResult(success, returndata, errorMessage);
    }

    /**
     * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the
     * revert reason 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 {
            // 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

                assembly {
                    let returndata_size := mload(returndata)
                    revert(add(32, returndata), returndata_size)
                }
            } else {
                revert(errorMessage);
            }
        }
    }
}

File 2 of 6 : IWETH9.sol
// SPDX-License-Identifier: GPL-2.0-or-later
pragma solidity 0.8.10;

interface IWETH {
    function deposit() external payable;

    function transfer(address to, uint256 value) external returns (bool);

    function withdraw(uint256) external;
}

File 2 of 6 : SafeOwnable.sol
// SPDX-License-Identifier: GPL-2.0-or-later
pragma solidity 0.8.10;

import "@openzeppelin/contracts/access/Ownable.sol";

contract SafeOwnable is Ownable {
    address internal _pendingOwner;

    event PrepareToTransferOwnership(address indexed pendingOwner);

    constructor() Ownable() {}

    function transferOwnership(address newOwner) public virtual override onlyOwner {
        require(newOwner != address(0), "O=0"); // Owner Is Zero
        require(newOwner != owner(), "O=O"); // Owner is the same as the old Owner
        _pendingOwner = newOwner;
        emit PrepareToTransferOwnership(_pendingOwner);
    }

    function takeOwnership() public virtual {
        require(_msgSender() == _pendingOwner, "SND"); // SeNDer is not authorized
        _transferOwnership(_pendingOwner);
        _pendingOwner = address(0);
    }

    function renounceOwnership() public virtual override onlyOwner {
        _pendingOwner = address(0);
        _transferOwnership(address(0));
    }
}

File 2 of 6 : Ownable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (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 Returns the address of the current owner.
     */
    function owner() public view virtual returns (address) {
        return _owner;
    }

    /**
     * @dev Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        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 2 of 6 : 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;
    }
}

Settings
{
  "optimizer": {
    "enabled": true,
    "runs": 200
  },
  "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":"core","type":"address"}],"name":"Granted","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"pendingOwner","type":"address"}],"name":"PrepareToTransferOwnership","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"core","type":"address"}],"name":"Revoked","type":"event"},{"inputs":[{"internalType":"address","name":"core","type":"address"}],"name":"addWhiteList","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"core","type":"address"}],"name":"removeWhiteList","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"takeOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address payable","name":"to","type":"address"},{"internalType":"uint256","name":"rawAmount","type":"uint256"}],"name":"unwrap","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"weth","outputs":[{"internalType":"contract IWETH","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"whitelist","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"stateMutability":"payable","type":"receive"}]

60a060405234801561001057600080fd5b5060405161092238038061092283398101604081905261002f91610099565b61003833610049565b6001600160a01b03166080526100c9565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6000602082840312156100ab57600080fd5b81516001600160a01b03811681146100c257600080fd5b9392505050565b6080516108386100ea6000396000818160ea015261031601526108386000f3fe60806040526004361061008a5760003560e01c8063715018a611610059578063715018a61461013e5780638da5cb5b146101535780639b19251a14610171578063e7cd4a04146101b1578063f2fde38b146101d157600080fd5b80632042e5c21461009657806339f47693146100b85780633fc8cef3146100d8578063605361721461012957600080fd5b3661009157005b600080fd5b3480156100a257600080fd5b506100b66100b136600461077d565b6101f1565b005b3480156100c457600080fd5b506100b66100d33660046107a1565b6102bb565b3480156100e457600080fd5b5061010c7f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b0390911681526020015b60405180910390f35b34801561013557600080fd5b506100b6610388565b34801561014a57600080fd5b506100b66103f8565b34801561015f57600080fd5b506000546001600160a01b031661010c565b34801561017d57600080fd5b506101a161018c36600461077d565b60026020526000908152604090205460ff1681565b6040519015158152602001610120565b3480156101bd57600080fd5b506100b66101cc36600461077d565b61043e565b3480156101dd57600080fd5b506100b66101ec36600461077d565b610503565b6000546001600160a01b031633146102245760405162461bcd60e51b815260040161021b906107cd565b60405180910390fd5b6001600160a01b03811660009081526002602052604090205460ff166102725760405162461bcd60e51b815260206004820152600360248201526243484760e81b604482015260640161021b565b6001600160a01b038116600081815260026020526040808220805460ff19169055517fb6fa8b8bd5eab60f292eca876e3ef90722275b785309d84b1de113ce0b8c4e749190a250565b3360009081526002602052604090205460ff166103005760405162461bcd60e51b815260206004820152600360248201526214d39160ea1b604482015260640161021b565b604051632e1a7d4d60e01b8152600481018290527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031690632e1a7d4d90602401600060405180830381600087803b15801561036257600080fd5b505af1158015610376573d6000803e3d6000fd5b5050505061038482826105f7565b5050565b6001546001600160a01b0316336001600160a01b0316146103d15760405162461bcd60e51b815260206004820152600360248201526214d39160ea1b604482015260640161021b565b6001546103e6906001600160a01b0316610715565b600180546001600160a01b0319169055565b6000546001600160a01b031633146104225760405162461bcd60e51b815260040161021b906107cd565b600180546001600160a01b031916905561043c6000610715565b565b6000546001600160a01b031633146104685760405162461bcd60e51b815260040161021b906107cd565b6001600160a01b03811660009081526002602052604090205460ff16156104b75760405162461bcd60e51b815260206004820152600360248201526243484760e81b604482015260640161021b565b6001600160a01b038116600081815260026020526040808220805460ff19166001179055517f07fbfa1ea88900f6f3310f4b2f87c8f523243d3ad73b76ea750044dfa98341b79190a250565b6000546001600160a01b0316331461052d5760405162461bcd60e51b815260040161021b906107cd565b6001600160a01b0381166105695760405162461bcd60e51b815260206004820152600360248201526204f3d360ec1b604482015260640161021b565b6000546001600160a01b03828116911614156105ad5760405162461bcd60e51b81526020600482015260036024820152624f3d4f60e81b604482015260640161021b565b600180546001600160a01b0319166001600160a01b0383169081179091556040517fb501f5dc3610d10a179d924f686fc89ddcdd3abb05afd7a1baeead166b2f122c90600090a250565b804710156106475760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a20696e73756666696369656e742062616c616e6365000000604482015260640161021b565b6000826001600160a01b03168260405160006040518083038185875af1925050503d8060008114610694576040519150601f19603f3d011682016040523d82523d6000602084013e610699565b606091505b50509050806107105760405162461bcd60e51b815260206004820152603a60248201527f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260448201527f6563697069656e74206d61792068617665207265766572746564000000000000606482015260840161021b565b505050565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6001600160a01b038116811461077a57600080fd5b50565b60006020828403121561078f57600080fd5b813561079a81610765565b9392505050565b600080604083850312156107b457600080fd5b82356107bf81610765565b946020939093013593505050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260408201526060019056fea26469706673582212203db318f8eab82cb107a38ea265398c16cfe4970a63a9425cb751146a147fdaa264736f6c634300080a003300000000000000000000000021be370d5312f44cb42ce377bc9b8a0cef1a4c83

Deployed Bytecode

0x60806040526004361061008a5760003560e01c8063715018a611610059578063715018a61461013e5780638da5cb5b146101535780639b19251a14610171578063e7cd4a04146101b1578063f2fde38b146101d157600080fd5b80632042e5c21461009657806339f47693146100b85780633fc8cef3146100d8578063605361721461012957600080fd5b3661009157005b600080fd5b3480156100a257600080fd5b506100b66100b136600461077d565b6101f1565b005b3480156100c457600080fd5b506100b66100d33660046107a1565b6102bb565b3480156100e457600080fd5b5061010c7f00000000000000000000000021be370d5312f44cb42ce377bc9b8a0cef1a4c8381565b6040516001600160a01b0390911681526020015b60405180910390f35b34801561013557600080fd5b506100b6610388565b34801561014a57600080fd5b506100b66103f8565b34801561015f57600080fd5b506000546001600160a01b031661010c565b34801561017d57600080fd5b506101a161018c36600461077d565b60026020526000908152604090205460ff1681565b6040519015158152602001610120565b3480156101bd57600080fd5b506100b66101cc36600461077d565b61043e565b3480156101dd57600080fd5b506100b66101ec36600461077d565b610503565b6000546001600160a01b031633146102245760405162461bcd60e51b815260040161021b906107cd565b60405180910390fd5b6001600160a01b03811660009081526002602052604090205460ff166102725760405162461bcd60e51b815260206004820152600360248201526243484760e81b604482015260640161021b565b6001600160a01b038116600081815260026020526040808220805460ff19169055517fb6fa8b8bd5eab60f292eca876e3ef90722275b785309d84b1de113ce0b8c4e749190a250565b3360009081526002602052604090205460ff166103005760405162461bcd60e51b815260206004820152600360248201526214d39160ea1b604482015260640161021b565b604051632e1a7d4d60e01b8152600481018290527f00000000000000000000000021be370d5312f44cb42ce377bc9b8a0cef1a4c836001600160a01b031690632e1a7d4d90602401600060405180830381600087803b15801561036257600080fd5b505af1158015610376573d6000803e3d6000fd5b5050505061038482826105f7565b5050565b6001546001600160a01b0316336001600160a01b0316146103d15760405162461bcd60e51b815260206004820152600360248201526214d39160ea1b604482015260640161021b565b6001546103e6906001600160a01b0316610715565b600180546001600160a01b0319169055565b6000546001600160a01b031633146104225760405162461bcd60e51b815260040161021b906107cd565b600180546001600160a01b031916905561043c6000610715565b565b6000546001600160a01b031633146104685760405162461bcd60e51b815260040161021b906107cd565b6001600160a01b03811660009081526002602052604090205460ff16156104b75760405162461bcd60e51b815260206004820152600360248201526243484760e81b604482015260640161021b565b6001600160a01b038116600081815260026020526040808220805460ff19166001179055517f07fbfa1ea88900f6f3310f4b2f87c8f523243d3ad73b76ea750044dfa98341b79190a250565b6000546001600160a01b0316331461052d5760405162461bcd60e51b815260040161021b906107cd565b6001600160a01b0381166105695760405162461bcd60e51b815260206004820152600360248201526204f3d360ec1b604482015260640161021b565b6000546001600160a01b03828116911614156105ad5760405162461bcd60e51b81526020600482015260036024820152624f3d4f60e81b604482015260640161021b565b600180546001600160a01b0319166001600160a01b0383169081179091556040517fb501f5dc3610d10a179d924f686fc89ddcdd3abb05afd7a1baeead166b2f122c90600090a250565b804710156106475760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a20696e73756666696369656e742062616c616e6365000000604482015260640161021b565b6000826001600160a01b03168260405160006040518083038185875af1925050503d8060008114610694576040519150601f19603f3d011682016040523d82523d6000602084013e610699565b606091505b50509050806107105760405162461bcd60e51b815260206004820152603a60248201527f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260448201527f6563697069656e74206d61792068617665207265766572746564000000000000606482015260840161021b565b505050565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6001600160a01b038116811461077a57600080fd5b50565b60006020828403121561078f57600080fd5b813561079a81610765565b9392505050565b600080604083850312156107b457600080fd5b82356107bf81610765565b946020939093013593505050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260408201526060019056fea26469706673582212203db318f8eab82cb107a38ea265398c16cfe4970a63a9425cb751146a147fdaa264736f6c634300080a0033

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

00000000000000000000000021be370d5312f44cb42ce377bc9b8a0cef1a4c83

-----Decoded View---------------
Arg [0] : weth_ (address): 0x21be370D5312f44cB42ce377BC9b8a0cEF1A4C83

-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 00000000000000000000000021be370d5312f44cb42ce377bc9b8a0cef1a4c83


Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

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

Validator Index Block Amount
View All Withdrawals

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