Sepolia Testnet

Contract

0x12608ff9dac79d8443F17A4d39D93317BAD026Aa

Overview

ETH Balance

0 ETH

Multichain Info

N/A
Transaction Hash
Method
Block
From
To
Value
Approve60328492024-06-03 17:47:1215 days ago1717436832IN
0x12608ff9...7BAD026Aa
0 ETH0.000338437.31656855
Faucet60328452024-06-03 17:46:2415 days ago1717436784IN
0x12608ff9...7BAD026Aa
0 ETH0.000221856.62147939
Faucet60328422024-06-03 17:45:3615 days ago1717436736IN
0x12608ff9...7BAD026Aa
0 ETH0.000335666.63282272
Approve60195392024-06-01 16:02:3617 days ago1717257756IN
0x12608ff9...7BAD026Aa
0 ETH0.000308426.6678798
Approve60116172024-05-31 8:49:2418 days ago1717145364IN
0x12608ff9...7BAD026Aa
0 ETH0.0029723864.34294876
Approve60054342024-05-30 8:02:0019 days ago1717056120IN
0x12608ff9...7BAD026Aa
0 ETH0.0025744455.65648215
Approve59099162024-05-15 19:57:4834 days ago1715803068IN
0x12608ff9...7BAD026Aa
0 ETH0.0009835733.73488109
Approve59084352024-05-15 14:42:4834 days ago1715784168IN
0x12608ff9...7BAD026Aa
0 ETH0.0040007186.49069957
Approve59066122024-05-15 8:14:3634 days ago1715760876IN
0x12608ff9...7BAD026Aa
0 ETH0.0012441242.67115581
Approve59065952024-05-15 8:11:1234 days ago1715760672IN
0x12608ff9...7BAD026Aa
0 ETH0.0014767950.65133419
Approve59065652024-05-15 8:05:0034 days ago1715760300IN
0x12608ff9...7BAD026Aa
0 ETH0.0017914261.44276463
Approve59065452024-05-15 8:01:0034 days ago1715760060IN
0x12608ff9...7BAD026Aa
0 ETH0.0028664961.97031036
Approve58679122024-05-09 14:14:4840 days ago1715264088IN
0x12608ff9...7BAD026Aa
0 ETH0.0007810516.88558609
Transfer58536342024-05-07 6:58:2442 days ago1715065104IN
0x12608ff9...7BAD026Aa
0 ETH0.004452150
Transfer58534252024-05-07 6:11:4842 days ago1715062308IN
0x12608ff9...7BAD026Aa
0 ETH0.00591114114.60154313
Approve58384402024-05-05 0:30:4845 days ago1714869048IN
0x12608ff9...7BAD026Aa
0 ETH0.000036461.50145149
Approve58240082024-05-02 21:21:0047 days ago1714684860IN
0x12608ff9...7BAD026Aa
0 ETH0.000116462.51774894
Approve58232552024-05-02 18:44:0047 days ago1714675440IN
0x12608ff9...7BAD026Aa
0 ETH0.0006361213.75219568
Approve58232522024-05-02 18:43:2447 days ago1714675404IN
0x12608ff9...7BAD026Aa
0 ETH0.000631213.64585629
Faucet58232432024-05-02 18:41:2447 days ago1714675284IN
0x12608ff9...7BAD026Aa
0 ETH0.0007041213.91383116
Approve57620502024-04-23 18:47:3656 days ago1713898056IN
0x12608ff9...7BAD026Aa
0 ETH0.000069341.50000003
Approve57609032024-04-23 14:53:4856 days ago1713884028IN
0x12608ff9...7BAD026Aa
0 ETH0.000132442.86325198
Transfer57323892024-04-19 14:59:4860 days ago1713538788IN
0x12608ff9...7BAD026Aa
0 ETH0.000119192.3102612
Approve57248832024-04-18 13:14:2461 days ago1713446064IN
0x12608ff9...7BAD026Aa
0 ETH0.000086751.8764663
Approve57030552024-04-15 11:03:4864 days ago1713179028IN
0x12608ff9...7BAD026Aa
0 ETH0.0007656416.54802571
View all transactions

Advanced mode:
Parent Transaction Hash Block From To Value
View All Internal Transactions
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
OptimismUselessToken

Compiler Version
v0.8.13+commit.abaa5c0e

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, None license
/**
 *Submitted for verification at Etherscan.io on 2023-11-03
*/

/**
 *Submitted for verification at Etherscan.io on 2022-08-19
*/


pragma solidity 0.8.13;
// SPDX-License-Identifier: Unlicense

// An ERC-20 token for testing purposes
// Based on the OpenZeppelin ERC-20 contract, but with a faucet function





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

    /**
     * @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 Interface for the optional metadata functions from the ERC20 standard.
 *
 * _Available since v4.1._
 */
interface IERC20Metadata is IERC20 {
    /**
     * @dev Returns the name of the token.
     */
    function name() external view returns (string memory);

    /**
     * @dev Returns the symbol of the token.
     */
    function symbol() external view returns (string memory);

    /**
     * @dev Returns the decimals places of the token.
     */
    function decimals() external view returns (uint8);
}

abstract contract Context {
    function _msgSender() internal view virtual returns (address) {
        return msg.sender;
    }

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

/**
 * @dev Implementation of the {IERC20} interface.
 *
 * This implementation is agnostic to the way tokens are created. This means
 * that a supply mechanism has to be added in a derived contract using {_mint}.
 * For a generic mechanism see {ERC20PresetMinterPauser}.
 *
 * TIP: For a detailed writeup see our guide
 * https://forum.zeppelin.solutions/t/how-to-implement-erc20-supply-mechanisms/226[How
 * to implement supply mechanisms].
 *
 * We have followed general OpenZeppelin Contracts guidelines: functions revert
 * instead returning `false` on failure. This behavior is nonetheless
 * conventional and does not conflict with the expectations of ERC20
 * applications.
 *
 * Additionally, an {Approval} event is emitted on calls to {transferFrom}.
 * This allows applications to reconstruct the allowance for all accounts just
 * by listening to said events. Other implementations of the EIP may not emit
 * these events, as it isn't required by the specification.
 *
 * Finally, the non-standard {decreaseAllowance} and {increaseAllowance}
 * functions have been added to mitigate the well-known issues around setting
 * allowances. See {IERC20-approve}.
 */
contract ERC20 is Context, IERC20, IERC20Metadata {
    mapping(address => uint256) private _balances;

    mapping(address => mapping(address => uint256)) private _allowances;

    uint256 private _totalSupply;

    string private _name;
    string private _symbol;

    /**
     * @dev Sets the values for {name} and {symbol}.
     *
     * The default value of {decimals} is 18. To select a different value for
     * {decimals} you should overload it.
     *
     * All two of these values are immutable: they can only be set once during
     * construction.
     */
    constructor(string memory name_, string memory symbol_) {
        _name = name_;
        _symbol = symbol_;
    }

    /**
     * @dev Returns the name of the token.
     */
    function name() public view virtual override returns (string memory) {
        return _name;
    }

    /**
     * @dev Returns the symbol of the token, usually a shorter version of the
     * name.
     */
    function symbol() public view virtual override returns (string memory) {
        return _symbol;
    }

    /**
     * @dev Returns the number of decimals used to get its user representation.
     * For example, if `decimals` equals `2`, a balance of `505` tokens should
     * be displayed to a user as `5.05` (`505 / 10 ** 2`).
     *
     * Tokens usually opt for a value of 18, imitating the relationship between
     * Ether and Wei. This is the value {ERC20} uses, unless this function is
     * overridden;
     *
     * NOTE: This information is only used for _display_ purposes: it in
     * no way affects any of the arithmetic of the contract, including
     * {IERC20-balanceOf} and {IERC20-transfer}.
     */
    function decimals() public view virtual override returns (uint8) {
        return 18;
    }

    /**
     * @dev See {IERC20-totalSupply}.
     */
    function totalSupply() public view virtual override returns (uint256) {
        return _totalSupply;
    }

    /**
     * @dev See {IERC20-balanceOf}.
     */
    function balanceOf(address account) public view virtual override returns (uint256) {
        return _balances[account];
    }

    /**
     * @dev See {IERC20-transfer}.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - the caller must have a balance of at least `amount`.
     */
    function transfer(address to, uint256 amount) public virtual override returns (bool) {
        address owner = _msgSender();
        _transfer(owner, to, amount);
        return true;
    }

    /**
     * @dev See {IERC20-allowance}.
     */
    function allowance(address owner, address spender) public view virtual override returns (uint256) {
        return _allowances[owner][spender];
    }

    /**
     * @dev See {IERC20-approve}.
     *
     * NOTE: If `amount` is the maximum `uint256`, the allowance is not updated on
     * `transferFrom`. This is semantically equivalent to an infinite approval.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     */
    function approve(address spender, uint256 amount) public virtual override returns (bool) {
        address owner = _msgSender();
        _approve(owner, spender, amount);
        return true;
    }

    /**
     * @dev See {IERC20-transferFrom}.
     *
     * Emits an {Approval} event indicating the updated allowance. This is not
     * required by the EIP. See the note at the beginning of {ERC20}.
     *
     * NOTE: Does not update the allowance if the current allowance
     * is the maximum `uint256`.
     *
     * Requirements:
     *
     * - `from` and `to` cannot be the zero address.
     * - `from` must have a balance of at least `amount`.
     * - the caller must have allowance for ``from``'s tokens of at least
     * `amount`.
     */
    function transferFrom(
        address from,
        address to,
        uint256 amount
    ) public virtual override returns (bool) {
        address spender = _msgSender();
        _spendAllowance(from, spender, amount);
        _transfer(from, to, amount);
        return true;
    }

    /**
     * @dev Atomically increases the allowance granted to `spender` by the caller.
     *
     * This is an alternative to {approve} that can be used as a mitigation for
     * problems described in {IERC20-approve}.
     *
     * Emits an {Approval} event indicating the updated allowance.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     */
    function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) {
        address owner = _msgSender();
        _approve(owner, spender, _allowances[owner][spender] + addedValue);
        return true;
    }

    /**
     * @dev Atomically decreases the allowance granted to `spender` by the caller.
     *
     * This is an alternative to {approve} that can be used as a mitigation for
     * problems described in {IERC20-approve}.
     *
     * Emits an {Approval} event indicating the updated allowance.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     * - `spender` must have allowance for the caller of at least
     * `subtractedValue`.
     */
    function decreaseAllowance(address spender, uint256 subtractedValue) public virtual returns (bool) {
        address owner = _msgSender();
        uint256 currentAllowance = _allowances[owner][spender];
        require(currentAllowance >= subtractedValue, "ERC20: decreased allowance below zero");
        unchecked {
            _approve(owner, spender, currentAllowance - subtractedValue);
        }

        return true;
    }

    /**
     * @dev Moves `amount` of tokens from `sender` to `recipient`.
     *
     * This internal function is equivalent to {transfer}, and can be used to
     * e.g. implement automatic token fees, slashing mechanisms, etc.
     *
     * Emits a {Transfer} event.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `from` must have a balance of at least `amount`.
     */
    function _transfer(
        address from,
        address to,
        uint256 amount
    ) internal virtual {
        require(from != address(0), "ERC20: transfer from the zero address");
        require(to != address(0), "ERC20: transfer to the zero address");

        _beforeTokenTransfer(from, to, amount);

        uint256 fromBalance = _balances[from];
        require(fromBalance >= amount, "ERC20: transfer amount exceeds balance");
        unchecked {
            _balances[from] = fromBalance - amount;
        }
        _balances[to] += amount;

        emit Transfer(from, to, amount);

        _afterTokenTransfer(from, to, amount);
    }

    /** @dev Creates `amount` tokens and assigns them to `account`, increasing
     * the total supply.
     *
     * Emits a {Transfer} event with `from` set to the zero address.
     *
     * Requirements:
     *
     * - `account` cannot be the zero address.
     */
    function _mint(address account, uint256 amount) internal virtual {
        require(account != address(0), "ERC20: mint to the zero address");

        _beforeTokenTransfer(address(0), account, amount);

        _totalSupply += amount;
        _balances[account] += amount;
        emit Transfer(address(0), account, amount);

        _afterTokenTransfer(address(0), account, amount);
    }

    /**
     * @dev Destroys `amount` tokens from `account`, reducing the
     * total supply.
     *
     * Emits a {Transfer} event with `to` set to the zero address.
     *
     * Requirements:
     *
     * - `account` cannot be the zero address.
     * - `account` must have at least `amount` tokens.
     */
    function _burn(address account, uint256 amount) internal virtual {
        require(account != address(0), "ERC20: burn from the zero address");

        _beforeTokenTransfer(account, address(0), amount);

        uint256 accountBalance = _balances[account];
        require(accountBalance >= amount, "ERC20: burn amount exceeds balance");
        unchecked {
            _balances[account] = accountBalance - amount;
        }
        _totalSupply -= amount;

        emit Transfer(account, address(0), amount);

        _afterTokenTransfer(account, address(0), amount);
    }

    /**
     * @dev Sets `amount` as the allowance of `spender` over the `owner` s tokens.
     *
     * This internal function is equivalent to `approve`, and can be used to
     * e.g. set automatic allowances for certain subsystems, etc.
     *
     * Emits an {Approval} event.
     *
     * Requirements:
     *
     * - `owner` cannot be the zero address.
     * - `spender` cannot be the zero address.
     */
    function _approve(
        address owner,
        address spender,
        uint256 amount
    ) internal virtual {
        require(owner != address(0), "ERC20: approve from the zero address");
        require(spender != address(0), "ERC20: approve to the zero address");

        _allowances[owner][spender] = amount;
        emit Approval(owner, spender, amount);
    }

    /**
     * @dev Spend `amount` form the allowance of `owner` toward `spender`.
     *
     * Does not update the allowance amount in case of infinite allowance.
     * Revert if not enough allowance is available.
     *
     * Might emit an {Approval} event.
     */
    function _spendAllowance(
        address owner,
        address spender,
        uint256 amount
    ) internal virtual {
        uint256 currentAllowance = allowance(owner, spender);
        if (currentAllowance != type(uint256).max) {
            require(currentAllowance >= amount, "ERC20: insufficient allowance");
            unchecked {
                _approve(owner, spender, currentAllowance - amount);
            }
        }
    }

    /**
     * @dev Hook that is called before any transfer of tokens. This includes
     * minting and burning.
     *
     * Calling conditions:
     *
     * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens
     * will be transferred to `to`.
     * - when `from` is zero, `amount` tokens will be minted for `to`.
     * - when `to` is zero, `amount` of ``from``'s tokens will be burned.
     * - `from` and `to` are never both zero.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _beforeTokenTransfer(
        address from,
        address to,
        uint256 amount
    ) internal virtual {}

    /**
     * @dev Hook that is called after any transfer of tokens. This includes
     * minting and burning.
     *
     * Calling conditions:
     *
     * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens
     * has been transferred to `to`.
     * - when `from` is zero, `amount` tokens have been minted for `to`.
     * - when `to` is zero, `amount` of ``from``'s tokens have been burned.
     * - `from` and `to` are never both zero.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _afterTokenTransfer(
        address from,
        address to,
        uint256 amount
    ) internal virtual {}
}



contract OptimismUselessToken is ERC20 {

    /**
     * @dev Calls the ERC20 constructor. 
     */
    constructor(string memory _a, string memory _b) 
        ERC20(_a, _b) {
    }

    /**
     * @dev Gives the caller 1000 tokens to play with
     */
    function faucet() external {
        _mint(msg.sender, 1000_000_000_000_000_000_000);
    }   // function faucet

}       // contract OptimismUselessToken

Contract ABI

[{"inputs":[{"internalType":"string","name":"_a","type":"string"},{"internalType":"string","name":"_b","type":"string"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"faucet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"}]

60806040523480156200001157600080fd5b5060405162000c6d38038062000c6d8339810160408190526200003491620001e1565b8151829082906200004d9060039060208501906200006e565b508051620000639060049060208401906200006e565b505050505062000287565b8280546200007c906200024b565b90600052602060002090601f016020900481019282620000a05760008555620000eb565b82601f10620000bb57805160ff1916838001178555620000eb565b82800160010185558215620000eb579182015b82811115620000eb578251825591602001919060010190620000ce565b50620000f9929150620000fd565b5090565b5b80821115620000f95760008155600101620000fe565b634e487b7160e01b600052604160045260246000fd5b600082601f8301126200013c57600080fd5b81516001600160401b038082111562000159576200015962000114565b604051601f8301601f19908116603f0116810190828211818310171562000184576200018462000114565b81604052838152602092508683858801011115620001a157600080fd5b600091505b83821015620001c55785820183015181830184015290820190620001a6565b83821115620001d75760008385830101525b9695505050505050565b60008060408385031215620001f557600080fd5b82516001600160401b03808211156200020d57600080fd5b6200021b868387016200012a565b935060208501519150808211156200023257600080fd5b5062000241858286016200012a565b9150509250929050565b600181811c908216806200026057607f821691505b6020821081036200028157634e487b7160e01b600052602260045260246000fd5b50919050565b6109d680620002976000396000f3fe608060405234801561001057600080fd5b50600436106100b45760003560e01c806370a082311161007157806370a082311461014157806395d89b411461016a578063a457c2d714610172578063a9059cbb14610185578063dd62ed3e14610198578063de5f72fd146101d157600080fd5b806306fdde03146100b9578063095ea7b3146100d757806318160ddd146100fa57806323b872dd1461010c578063313ce5671461011f578063395093511461012e575b600080fd5b6100c16101db565b6040516100ce9190610814565b60405180910390f35b6100ea6100e5366004610885565b61026d565b60405190151581526020016100ce565b6002545b6040519081526020016100ce565b6100ea61011a3660046108af565b610285565b604051601281526020016100ce565b6100ea61013c366004610885565b6102a9565b6100fe61014f3660046108eb565b6001600160a01b031660009081526020819052604090205490565b6100c16102e8565b6100ea610180366004610885565b6102f7565b6100ea610193366004610885565b61038e565b6100fe6101a636600461090d565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b6101d961039c565b005b6060600380546101ea90610940565b80601f016020809104026020016040519081016040528092919081815260200182805461021690610940565b80156102635780601f1061023857610100808354040283529160200191610263565b820191906000526020600020905b81548152906001019060200180831161024657829003601f168201915b5050505050905090565b60003361027b8185856103b1565b5060019392505050565b6000336102938582856104d5565b61029e858585610567565b506001949350505050565b3360008181526001602090815260408083206001600160a01b038716845290915281205490919061027b90829086906102e390879061097a565b6103b1565b6060600480546101ea90610940565b3360008181526001602090815260408083206001600160a01b0387168452909152812054909190838110156103815760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b60648201526084015b60405180910390fd5b61029e82868684036103b1565b60003361027b818585610567565b6103af33683635c9adc5dea00000610735565b565b6001600160a01b0383166104135760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610378565b6001600160a01b0382166104745760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610378565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b03838116600090815260016020908152604080832093861683529290522054600019811461056157818110156105545760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006044820152606401610378565b61056184848484036103b1565b50505050565b6001600160a01b0383166105cb5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610378565b6001600160a01b03821661062d5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610378565b6001600160a01b038316600090815260208190526040902054818110156106a55760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608401610378565b6001600160a01b038085166000908152602081905260408082208585039055918516815290812080548492906106dc90849061097a565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8460405161072891815260200190565b60405180910390a3610561565b6001600160a01b03821661078b5760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f2061646472657373006044820152606401610378565b806002600082825461079d919061097a565b90915550506001600160a01b038216600090815260208190526040812080548392906107ca90849061097a565b90915550506040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b600060208083528351808285015260005b8181101561084157858101830151858201604001528201610825565b81811115610853576000604083870101525b50601f01601f1916929092016040019392505050565b80356001600160a01b038116811461088057600080fd5b919050565b6000806040838503121561089857600080fd5b6108a183610869565b946020939093013593505050565b6000806000606084860312156108c457600080fd5b6108cd84610869565b92506108db60208501610869565b9150604084013590509250925092565b6000602082840312156108fd57600080fd5b61090682610869565b9392505050565b6000806040838503121561092057600080fd5b61092983610869565b915061093760208401610869565b90509250929050565b600181811c9082168061095457607f821691505b60208210810361097457634e487b7160e01b600052602260045260246000fd5b50919050565b6000821982111561099b57634e487b7160e01b600052601160045260246000fd5b50019056fea26469706673582212208bebd8e533e1a3062d36edfd6322860ef5eb10e273cd6ff156475eeb9944cb2664736f6c634300080d003300000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000080000000000000000000000000000000000000000000000000000000000000001c4f7074696d69736d5573656c657373546f6b656e2d427269646765640000000000000000000000000000000000000000000000000000000000000000000000044f55546200000000000000000000000000000000000000000000000000000000

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106100b45760003560e01c806370a082311161007157806370a082311461014157806395d89b411461016a578063a457c2d714610172578063a9059cbb14610185578063dd62ed3e14610198578063de5f72fd146101d157600080fd5b806306fdde03146100b9578063095ea7b3146100d757806318160ddd146100fa57806323b872dd1461010c578063313ce5671461011f578063395093511461012e575b600080fd5b6100c16101db565b6040516100ce9190610814565b60405180910390f35b6100ea6100e5366004610885565b61026d565b60405190151581526020016100ce565b6002545b6040519081526020016100ce565b6100ea61011a3660046108af565b610285565b604051601281526020016100ce565b6100ea61013c366004610885565b6102a9565b6100fe61014f3660046108eb565b6001600160a01b031660009081526020819052604090205490565b6100c16102e8565b6100ea610180366004610885565b6102f7565b6100ea610193366004610885565b61038e565b6100fe6101a636600461090d565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b6101d961039c565b005b6060600380546101ea90610940565b80601f016020809104026020016040519081016040528092919081815260200182805461021690610940565b80156102635780601f1061023857610100808354040283529160200191610263565b820191906000526020600020905b81548152906001019060200180831161024657829003601f168201915b5050505050905090565b60003361027b8185856103b1565b5060019392505050565b6000336102938582856104d5565b61029e858585610567565b506001949350505050565b3360008181526001602090815260408083206001600160a01b038716845290915281205490919061027b90829086906102e390879061097a565b6103b1565b6060600480546101ea90610940565b3360008181526001602090815260408083206001600160a01b0387168452909152812054909190838110156103815760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b60648201526084015b60405180910390fd5b61029e82868684036103b1565b60003361027b818585610567565b6103af33683635c9adc5dea00000610735565b565b6001600160a01b0383166104135760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610378565b6001600160a01b0382166104745760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610378565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b03838116600090815260016020908152604080832093861683529290522054600019811461056157818110156105545760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006044820152606401610378565b61056184848484036103b1565b50505050565b6001600160a01b0383166105cb5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610378565b6001600160a01b03821661062d5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610378565b6001600160a01b038316600090815260208190526040902054818110156106a55760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608401610378565b6001600160a01b038085166000908152602081905260408082208585039055918516815290812080548492906106dc90849061097a565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8460405161072891815260200190565b60405180910390a3610561565b6001600160a01b03821661078b5760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f2061646472657373006044820152606401610378565b806002600082825461079d919061097a565b90915550506001600160a01b038216600090815260208190526040812080548392906107ca90849061097a565b90915550506040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b600060208083528351808285015260005b8181101561084157858101830151858201604001528201610825565b81811115610853576000604083870101525b50601f01601f1916929092016040019392505050565b80356001600160a01b038116811461088057600080fd5b919050565b6000806040838503121561089857600080fd5b6108a183610869565b946020939093013593505050565b6000806000606084860312156108c457600080fd5b6108cd84610869565b92506108db60208501610869565b9150604084013590509250925092565b6000602082840312156108fd57600080fd5b61090682610869565b9392505050565b6000806040838503121561092057600080fd5b61092983610869565b915061093760208401610869565b90509250929050565b600181811c9082168061095457607f821691505b60208210810361097457634e487b7160e01b600052602260045260246000fd5b50919050565b6000821982111561099b57634e487b7160e01b600052601160045260246000fd5b50019056fea26469706673582212208bebd8e533e1a3062d36edfd6322860ef5eb10e273cd6ff156475eeb9944cb2664736f6c634300080d0033

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

00000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000080000000000000000000000000000000000000000000000000000000000000001c4f7074696d69736d5573656c657373546f6b656e2d427269646765640000000000000000000000000000000000000000000000000000000000000000000000044f55546200000000000000000000000000000000000000000000000000000000

-----Decoded View---------------
Arg [0] : _a (string): OptimismUselessToken-Bridged
Arg [1] : _b (string): OUTb

-----Encoded View---------------
6 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000040
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000080
Arg [2] : 000000000000000000000000000000000000000000000000000000000000001c
Arg [3] : 4f7074696d69736d5573656c657373546f6b656e2d4272696467656400000000
Arg [4] : 0000000000000000000000000000000000000000000000000000000000000004
Arg [5] : 4f55546200000000000000000000000000000000000000000000000000000000


Deployed Bytecode Sourcemap

16479:389:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5680:100;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;8031:201;;;;;;:::i;:::-;;:::i;:::-;;;1218:14:1;;1211:22;1193:41;;1181:2;1166:18;8031:201:0;1053:187:1;6800:108:0;6888:12;;6800:108;;;1391:25:1;;;1379:2;1364:18;6800:108:0;1245:177:1;8812:295:0;;;;;;:::i;:::-;;:::i;6642:93::-;;;6725:2;1902:36:1;;1890:2;1875:18;6642:93:0;1760:184:1;9516:240:0;;;;;;:::i;:::-;;:::i;6971:127::-;;;;;;:::i;:::-;-1:-1:-1;;;;;7072:18:0;7045:7;7072:18;;;;;;;;;;;;6971:127;5899:104;;;:::i;10259:438::-;;;;;;:::i;:::-;;:::i;7304:193::-;;;;;;:::i;:::-;;:::i;7560:151::-;;;;;;:::i;:::-;-1:-1:-1;;;;;7676:18:0;;;7649:7;7676:18;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;7560:151;16749:93;;;:::i;:::-;;5680:100;5734:13;5767:5;5760:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5680:100;:::o;8031:201::-;8114:4;3568:10;8170:32;3568:10;8186:7;8195:6;8170:8;:32::i;:::-;-1:-1:-1;8220:4:0;;8031:201;-1:-1:-1;;;8031:201:0:o;8812:295::-;8943:4;3568:10;9001:38;9017:4;3568:10;9032:6;9001:15;:38::i;:::-;9050:27;9060:4;9066:2;9070:6;9050:9;:27::i;:::-;-1:-1:-1;9095:4:0;;8812:295;-1:-1:-1;;;;8812:295:0:o;9516:240::-;3568:10;9604:4;9685:18;;;:11;:18;;;;;;;;-1:-1:-1;;;;;9685:27:0;;;;;;;;;;9604:4;;3568:10;9660:66;;3568:10;;9685:27;;:40;;9715:10;;9685:40;:::i;:::-;9660:8;:66::i;5899:104::-;5955:13;5988:7;5981:14;;;;;:::i;10259:438::-;3568:10;10352:4;10435:18;;;:11;:18;;;;;;;;-1:-1:-1;;;;;10435:27:0;;;;;;;;;;10352:4;;3568:10;10481:35;;;;10473:85;;;;-1:-1:-1;;;10473:85:0;;3222:2:1;10473:85:0;;;3204:21:1;3261:2;3241:18;;;3234:30;3300:34;3280:18;;;3273:62;-1:-1:-1;;;3351:18:1;;;3344:35;3396:19;;10473:85:0;;;;;;;;;10594:60;10603:5;10610:7;10638:15;10619:16;:34;10594:8;:60::i;7304:193::-;7383:4;3568:10;7439:28;3568:10;7456:2;7460:6;7439:9;:28::i;16749:93::-;16787:47;16793:10;16805:28;16787:5;:47::i;:::-;16749:93::o;13895:380::-;-1:-1:-1;;;;;14031:19:0;;14023:68;;;;-1:-1:-1;;;14023:68:0;;3628:2:1;14023:68:0;;;3610:21:1;3667:2;3647:18;;;3640:30;3706:34;3686:18;;;3679:62;-1:-1:-1;;;3757:18:1;;;3750:34;3801:19;;14023:68:0;3426:400:1;14023:68:0;-1:-1:-1;;;;;14110:21:0;;14102:68;;;;-1:-1:-1;;;14102:68:0;;4033:2:1;14102:68:0;;;4015:21:1;4072:2;4052:18;;;4045:30;4111:34;4091:18;;;4084:62;-1:-1:-1;;;4162:18:1;;;4155:32;4204:19;;14102:68:0;3831:398:1;14102:68:0;-1:-1:-1;;;;;14183:18:0;;;;;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;:36;;;14235:32;;1391:25:1;;;14235:32:0;;1364:18:1;14235:32:0;;;;;;;13895:380;;;:::o;14562:453::-;-1:-1:-1;;;;;7676:18:0;;;14697:24;7676:18;;;:11;:18;;;;;;;;:27;;;;;;;;;;-1:-1:-1;;14764:37:0;;14760:248;;14846:6;14826:16;:26;;14818:68;;;;-1:-1:-1;;;14818:68:0;;4436:2:1;14818:68:0;;;4418:21:1;4475:2;4455:18;;;4448:30;4514:31;4494:18;;;4487:59;4563:18;;14818:68:0;4234:353:1;14818:68:0;14930:51;14939:5;14946:7;14974:6;14955:16;:25;14930:8;:51::i;:::-;14686:329;14562:453;;;:::o;11176:671::-;-1:-1:-1;;;;;11307:18:0;;11299:68;;;;-1:-1:-1;;;11299:68:0;;4794:2:1;11299:68:0;;;4776:21:1;4833:2;4813:18;;;4806:30;4872:34;4852:18;;;4845:62;-1:-1:-1;;;4923:18:1;;;4916:35;4968:19;;11299:68:0;4592:401:1;11299:68:0;-1:-1:-1;;;;;11386:16:0;;11378:64;;;;-1:-1:-1;;;11378:64:0;;5200:2:1;11378:64:0;;;5182:21:1;5239:2;5219:18;;;5212:30;5278:34;5258:18;;;5251:62;-1:-1:-1;;;5329:18:1;;;5322:33;5372:19;;11378:64:0;4998:399:1;11378:64:0;-1:-1:-1;;;;;11528:15:0;;11506:19;11528:15;;;;;;;;;;;11562:21;;;;11554:72;;;;-1:-1:-1;;;11554:72:0;;5604:2:1;11554:72:0;;;5586:21:1;5643:2;5623:18;;;5616:30;5682:34;5662:18;;;5655:62;-1:-1:-1;;;5733:18:1;;;5726:36;5779:19;;11554:72:0;5402:402:1;11554:72:0;-1:-1:-1;;;;;11662:15:0;;;:9;:15;;;;;;;;;;;11680:20;;;11662:38;;11722:13;;;;;;;;:23;;11694:6;;11662:9;11722:23;;11694:6;;11722:23;:::i;:::-;;;;;;;;11778:2;-1:-1:-1;;;;;11763:26:0;11772:4;-1:-1:-1;;;;;11763:26:0;;11782:6;11763:26;;;;1391:25:1;;1379:2;1364:18;;1245:177;11763:26:0;;;;;;;;11802:37;15615:125;12134:399;-1:-1:-1;;;;;12218:21:0;;12210:65;;;;-1:-1:-1;;;12210:65:0;;6011:2:1;12210:65:0;;;5993:21:1;6050:2;6030:18;;;6023:30;6089:33;6069:18;;;6062:61;6140:18;;12210:65:0;5809:355:1;12210:65:0;12366:6;12350:12;;:22;;;;;;;:::i;:::-;;;;-1:-1:-1;;;;;;;12383:18:0;;:9;:18;;;;;;;;;;:28;;12405:6;;12383:9;:28;;12405:6;;12383:28;:::i;:::-;;;;-1:-1:-1;;12427:37:0;;1391:25:1;;;-1:-1:-1;;;;;12427:37:0;;;12444:1;;12427:37;;1379:2:1;1364:18;12427:37:0;;;;;;;12134:399;;:::o;14:597:1:-;126:4;155:2;184;173:9;166:21;216:6;210:13;259:6;254:2;243:9;239:18;232:34;284:1;294:140;308:6;305:1;302:13;294:140;;;403:14;;;399:23;;393:30;369:17;;;388:2;365:26;358:66;323:10;;294:140;;;452:6;449:1;446:13;443:91;;;522:1;517:2;508:6;497:9;493:22;489:31;482:42;443:91;-1:-1:-1;595:2:1;574:15;-1:-1:-1;;570:29:1;555:45;;;;602:2;551:54;;14:597;-1:-1:-1;;;14:597:1:o;616:173::-;684:20;;-1:-1:-1;;;;;733:31:1;;723:42;;713:70;;779:1;776;769:12;713:70;616:173;;;:::o;794:254::-;862:6;870;923:2;911:9;902:7;898:23;894:32;891:52;;;939:1;936;929:12;891:52;962:29;981:9;962:29;:::i;:::-;952:39;1038:2;1023:18;;;;1010:32;;-1:-1:-1;;;794:254:1:o;1427:328::-;1504:6;1512;1520;1573:2;1561:9;1552:7;1548:23;1544:32;1541:52;;;1589:1;1586;1579:12;1541:52;1612:29;1631:9;1612:29;:::i;:::-;1602:39;;1660:38;1694:2;1683:9;1679:18;1660:38;:::i;:::-;1650:48;;1745:2;1734:9;1730:18;1717:32;1707:42;;1427:328;;;;;:::o;1949:186::-;2008:6;2061:2;2049:9;2040:7;2036:23;2032:32;2029:52;;;2077:1;2074;2067:12;2029:52;2100:29;2119:9;2100:29;:::i;:::-;2090:39;1949:186;-1:-1:-1;;;1949:186:1:o;2140:260::-;2208:6;2216;2269:2;2257:9;2248:7;2244:23;2240:32;2237:52;;;2285:1;2282;2275:12;2237:52;2308:29;2327:9;2308:29;:::i;:::-;2298:39;;2356:38;2390:2;2379:9;2375:18;2356:38;:::i;:::-;2346:48;;2140:260;;;;;:::o;2405:380::-;2484:1;2480:12;;;;2527;;;2548:61;;2602:4;2594:6;2590:17;2580:27;;2548:61;2655:2;2647:6;2644:14;2624:18;2621:38;2618:161;;2701:10;2696:3;2692:20;2689:1;2682:31;2736:4;2733:1;2726:15;2764:4;2761:1;2754:15;2618:161;;2405:380;;;:::o;2790:225::-;2830:3;2861:1;2857:6;2854:1;2851:13;2848:136;;;2906:10;2901:3;2897:20;2894:1;2887:31;2941:4;2938:1;2931:15;2969:4;2966:1;2959:15;2848:136;-1:-1:-1;3000:9:1;;2790:225::o

Swarm Source

ipfs://8bebd8e533e1a3062d36edfd6322860ef5eb10e273cd6ff156475eeb9944cb26

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

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

Validator Index Block Amount
View All Withdrawals

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