ETH Price: $3,364.79 (-4.14%)

Contract

0xab7bAdEF82E9Fe11f6f33f87BC9bC2AA27F2fCB5
 

Overview

ETH Balance

0 ETH

ETH Value

$0.00

Token Holdings

More Info

Private Name Tags

ContractCreator:

GENESIS at txn GENESIS_ab7badef82e9fe11f6f33f87bc9bc2aa27f2fcb5

TokenTracker

Sponsored

Transaction Hash
Method
Block
From
To
Value
Approve1215404072024-06-18 2:59:516 days ago1718679591IN
0xab7bAdEF...A27F2fCB5
0 ETH0.000002850.06144014
Approve1215084162024-06-17 9:13:296 days ago1718615609IN
0xab7bAdEF...A27F2fCB5
0 ETH0.000000110.0025418
Approve1213903172024-06-14 15:36:519 days ago1718379411IN
0xab7bAdEF...A27F2fCB5
0 ETH0.000000090.00212977
Approve1213217592024-06-13 1:31:3511 days ago1718242295IN
0xab7bAdEF...A27F2fCB5
0 ETH0.000000160.00348662
Approve1213015662024-06-12 14:18:2911 days ago1718201909IN
0xab7bAdEF...A27F2fCB5
0 ETH0.000000410.00908001
Approve1212104822024-06-10 11:42:2113 days ago1718019741IN
0xab7bAdEF...A27F2fCB5
0 ETH0.000000290.00635012
Approve1210447922024-06-06 15:39:2117 days ago1717688361IN
0xab7bAdEF...A27F2fCB5
0 ETH0.000002840.06163707
Approve1208637482024-06-02 11:04:3321 days ago1717326273IN
0xab7bAdEF...A27F2fCB5
0 ETH0.000000110.00243806
Approve1208443382024-06-02 0:17:3322 days ago1717287453IN
0xab7bAdEF...A27F2fCB5
0 ETH0.000000210.00453255
Approve1208141902024-06-01 7:32:3722 days ago1717227157IN
0xab7bAdEF...A27F2fCB5
0 ETH0.000000110.00244742
Approve1206571122024-05-28 16:16:4126 days ago1716913001IN
0xab7bAdEF...A27F2fCB5
0 ETH0.000002920.06276538
Approve1204855112024-05-24 16:56:3930 days ago1716569799IN
0xab7bAdEF...A27F2fCB5
0 ETH0.000002820.06109168
Approve1204621812024-05-24 3:58:5931 days ago1716523139IN
0xab7bAdEF...A27F2fCB5
0 ETH0.000001470.06099377
Approve1204579142024-05-24 1:36:4531 days ago1716514605IN
0xab7bAdEF...A27F2fCB5
0 ETH0.000002830.06130224
Approve1204576332024-05-24 1:27:2331 days ago1716514043IN
0xab7bAdEF...A27F2fCB5
0 ETH0.000002880.06252117
Approve1204427672024-05-23 17:11:5131 days ago1716484311IN
0xab7bAdEF...A27F2fCB5
0 ETH0.000003240.0704562
Approve1204421752024-05-23 16:52:0731 days ago1716483127IN
0xab7bAdEF...A27F2fCB5
0 ETH0.000002860.0622054
Approve1204346562024-05-23 12:41:2931 days ago1716468089IN
0xab7bAdEF...A27F2fCB5
0 ETH0.000002920.06330868
Approve1204170812024-05-23 2:55:3932 days ago1716432939IN
0xab7bAdEF...A27F2fCB5
0 ETH0.000002720.05898336
Approve1204045232024-05-22 19:57:0332 days ago1716407823IN
0xab7bAdEF...A27F2fCB5
0 ETH0.000002790.06052743
Approve1203965452024-05-22 15:31:0732 days ago1716391867IN
0xab7bAdEF...A27F2fCB5
0 ETH0.000002840.06108315
Approve1202918072024-05-20 5:19:5135 days ago1716182391IN
0xab7bAdEF...A27F2fCB5
0 ETH0.00000010.0044227
Approve1202239362024-05-18 15:37:2936 days ago1716046649IN
0xab7bAdEF...A27F2fCB5
0 ETH0.00000030.00664118
Approve1202222112024-05-18 14:39:5936 days ago1716043199IN
0xab7bAdEF...A27F2fCB5
0 ETH0.000000170.00677286
Approve1202221792024-05-18 14:38:5536 days ago1716043135IN
0xab7bAdEF...A27F2fCB5
0 ETH0.000000170.00670416
View all transactions

Latest 25 internal transactions (View All)

Advanced mode:
Parent Transaction Hash Block From To Value
1075078292023-07-29 7:07:15331 days ago1690614435
0xab7bAdEF...A27F2fCB5
0 ETH
1075078292023-07-29 7:07:15331 days ago1690614435
0xab7bAdEF...A27F2fCB5
0 ETH
1075078292023-07-29 7:07:15331 days ago1690614435
0xab7bAdEF...A27F2fCB5
0 ETH
1075078292023-07-29 7:07:15331 days ago1690614435
0xab7bAdEF...A27F2fCB5
0 ETH
1075047012023-07-29 5:22:59331 days ago1690608179
0xab7bAdEF...A27F2fCB5
0 ETH
1075047012023-07-29 5:22:59331 days ago1690608179
0xab7bAdEF...A27F2fCB5
0 ETH
1075047012023-07-29 5:22:59331 days ago1690608179
0xab7bAdEF...A27F2fCB5
0 ETH
1075047012023-07-29 5:22:59331 days ago1690608179
0xab7bAdEF...A27F2fCB5
0 ETH
1075047012023-07-29 5:22:59331 days ago1690608179
0xab7bAdEF...A27F2fCB5
0 ETH
1074336292023-07-27 13:53:55332 days ago1690466035
0xab7bAdEF...A27F2fCB5
0 ETH
1074336292023-07-27 13:53:55332 days ago1690466035
0xab7bAdEF...A27F2fCB5
0 ETH
1074336292023-07-27 13:53:55332 days ago1690466035
0xab7bAdEF...A27F2fCB5
0 ETH
1074322362023-07-27 13:07:29332 days ago1690463249
0xab7bAdEF...A27F2fCB5
0 ETH
1074322362023-07-27 13:07:29332 days ago1690463249
0xab7bAdEF...A27F2fCB5
0 ETH
1074322362023-07-27 13:07:29332 days ago1690463249
0xab7bAdEF...A27F2fCB5
0 ETH
1074261942023-07-27 9:46:05332 days ago1690451165
0xab7bAdEF...A27F2fCB5
0 ETH
1074261942023-07-27 9:46:05332 days ago1690451165
0xab7bAdEF...A27F2fCB5
0 ETH
1074261942023-07-27 9:46:05332 days ago1690451165
0xab7bAdEF...A27F2fCB5
0 ETH
1074223082023-07-27 7:36:33332 days ago1690443393
0xab7bAdEF...A27F2fCB5
0 ETH
1074223082023-07-27 7:36:33332 days ago1690443393
0xab7bAdEF...A27F2fCB5
0 ETH
1074223082023-07-27 7:36:33332 days ago1690443393
0xab7bAdEF...A27F2fCB5
0 ETH
1074183802023-07-27 5:25:37333 days ago1690435537
0xab7bAdEF...A27F2fCB5
0 ETH
1074183802023-07-27 5:25:37333 days ago1690435537
0xab7bAdEF...A27F2fCB5
0 ETH
1074183802023-07-27 5:25:37333 days ago1690435537
0xab7bAdEF...A27F2fCB5
0 ETH
1074183802023-07-27 5:25:37333 days ago1690435537
0xab7bAdEF...A27F2fCB5
0 ETH
View All Internal Transactions

Loading...
Loading

Contract Source Code Verified (Genesis Bytecode Match Only)

Contract Name:
L2StandardERC20

Compiler Version
v0.7.6

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion
File 1 of 7 : L2StandardERC20.sol
// SPDX-License-Identifier: MIT
pragma solidity >=0.5.16 <0.8.0;

import { ERC20 } from "@openzeppelin/contracts/token/ERC20/ERC20.sol";

import "./IL2StandardERC20.sol";

contract L2StandardERC20 is IL2StandardERC20, ERC20 {
    address public override l1Token;
    address public l2Bridge;

    /**
     * @param _l2Bridge Address of the L2 standard bridge.
     * @param _l1Token Address of the corresponding L1 token.
     * @param _name ERC20 name.
     * @param _symbol ERC20 symbol.
     */
    constructor(
        address _l2Bridge,
        address _l1Token,
        string memory _name,
        string memory _symbol
    )
        ERC20(_name, _symbol) {
        l1Token = _l1Token;
        l2Bridge = _l2Bridge;
    }

    modifier onlyL2Bridge {
        require(msg.sender == l2Bridge, "Only L2 Bridge can mint and burn");
        _;
    }

    function supportsInterface(bytes4 _interfaceId) public override pure returns (bool) {
        bytes4 firstSupportedInterface = bytes4(keccak256("supportsInterface(bytes4)")); // ERC165
        bytes4 secondSupportedInterface = IL2StandardERC20.l1Token.selector
            ^ IL2StandardERC20.mint.selector
            ^ IL2StandardERC20.burn.selector;
        return _interfaceId == firstSupportedInterface || _interfaceId == secondSupportedInterface;
    }

    function mint(address _to, uint256 _amount) public override onlyL2Bridge {
        _mint(_to, _amount);

        emit Mint(_to, _amount);
    }

    function burn(address _from, uint256 _amount) public override onlyL2Bridge {
        _burn(_from, _amount);

        emit Burn(_from, _amount);
    }
}

File 2 of 7 : ERC20.sol
// SPDX-License-Identifier: MIT

pragma solidity >=0.6.0 <0.8.0;

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

/**
 * @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 guidelines: functions revert instead
 * of 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 {
    using SafeMath for uint256;

    mapping (address => uint256) private _balances;

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

    uint256 private _totalSupply;

    string private _name;
    string private _symbol;
    uint8 private _decimals;

    /**
     * @dev Sets the values for {name} and {symbol}, initializes {decimals} with
     * a default value of 18.
     *
     * To select a different value for {decimals}, use {_setupDecimals}.
     *
     * All three of these values are immutable: they can only be set once during
     * construction.
     */
    constructor (string memory name_, string memory symbol_) public {
        _name = name_;
        _symbol = symbol_;
        _decimals = 18;
    }

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

    /**
     * @dev Returns the symbol of the token, usually a shorter version of the
     * name.
     */
    function symbol() public view virtual 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 {_setupDecimals} is
     * called.
     *
     * 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 returns (uint8) {
        return _decimals;
    }

    /**
     * @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:
     *
     * - `recipient` cannot be the zero address.
     * - the caller must have a balance of at least `amount`.
     */
    function transfer(address recipient, uint256 amount) public virtual override returns (bool) {
        _transfer(_msgSender(), recipient, 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}.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     */
    function approve(address spender, uint256 amount) public virtual override returns (bool) {
        _approve(_msgSender(), 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}.
     *
     * Requirements:
     *
     * - `sender` and `recipient` cannot be the zero address.
     * - `sender` must have a balance of at least `amount`.
     * - the caller must have allowance for ``sender``'s tokens of at least
     * `amount`.
     */
    function transferFrom(address sender, address recipient, uint256 amount) public virtual override returns (bool) {
        _transfer(sender, recipient, amount);
        _approve(sender, _msgSender(), _allowances[sender][_msgSender()].sub(amount, "ERC20: transfer amount exceeds allowance"));
        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) {
        _approve(_msgSender(), spender, _allowances[_msgSender()][spender].add(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) {
        _approve(_msgSender(), spender, _allowances[_msgSender()][spender].sub(subtractedValue, "ERC20: decreased allowance below zero"));
        return true;
    }

    /**
     * @dev Moves tokens `amount` from `sender` to `recipient`.
     *
     * This is 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:
     *
     * - `sender` cannot be the zero address.
     * - `recipient` cannot be the zero address.
     * - `sender` must have a balance of at least `amount`.
     */
    function _transfer(address sender, address recipient, uint256 amount) internal virtual {
        require(sender != address(0), "ERC20: transfer from the zero address");
        require(recipient != address(0), "ERC20: transfer to the zero address");

        _beforeTokenTransfer(sender, recipient, amount);

        _balances[sender] = _balances[sender].sub(amount, "ERC20: transfer amount exceeds balance");
        _balances[recipient] = _balances[recipient].add(amount);
        emit Transfer(sender, recipient, 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:
     *
     * - `to` 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 = _totalSupply.add(amount);
        _balances[account] = _balances[account].add(amount);
        emit Transfer(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);

        _balances[account] = _balances[account].sub(amount, "ERC20: burn amount exceeds balance");
        _totalSupply = _totalSupply.sub(amount);
        emit Transfer(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 Sets {decimals} to a value other than the default one of 18.
     *
     * WARNING: This function should only be called from the constructor. Most
     * applications that interact with token contracts will not expect
     * {decimals} to ever change, and may work incorrectly if it does.
     */
    function _setupDecimals(uint8 decimals_) internal virtual {
        _decimals = decimals_;
    }

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

File 3 of 7 : IL2StandardERC20.sol
// SPDX-License-Identifier: MIT
pragma solidity >=0.5.16 <0.8.0;

import { IERC20 } from "@openzeppelin/contracts/token/ERC20/IERC20.sol";
import { IERC165 } from "@openzeppelin/contracts/introspection/IERC165.sol";

interface IL2StandardERC20 is IERC20, IERC165 {
    function l1Token() external returns (address);

    function mint(address _to, uint256 _amount) external;

    function burn(address _from, uint256 _amount) external;

    event Mint(address indexed _account, uint256 _amount);
    event Burn(address indexed _account, uint256 _amount);
}

File 4 of 7 : Context.sol
// SPDX-License-Identifier: MIT

pragma solidity >=0.6.0 <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 GSN 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 payable) {
        return msg.sender;
    }

    function _msgData() internal view virtual returns (bytes memory) {
        this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691
        return msg.data;
    }
}

File 5 of 7 : IERC20.sol
// SPDX-License-Identifier: MIT

pragma solidity >=0.6.0 <0.8.0;

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

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

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

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

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

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

    /**
     * @dev Emitted when `value` tokens are moved from one account (`from`) to
     * another (`to`).
     *
     * Note that `value` may be zero.
     */
    event Transfer(address indexed from, address indexed to, uint256 value);

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

File 6 of 7 : SafeMath.sol
// SPDX-License-Identifier: MIT

pragma solidity >=0.6.0 <0.8.0;

/**
 * @dev Wrappers over Solidity's arithmetic operations with added overflow
 * checks.
 *
 * Arithmetic operations in Solidity wrap on overflow. This can easily result
 * in bugs, because programmers usually assume that an overflow raises an
 * error, which is the standard behavior in high level programming languages.
 * `SafeMath` restores this intuition by reverting the transaction when an
 * operation overflows.
 *
 * Using this library instead of the unchecked operations eliminates an entire
 * class of bugs, so it's recommended to use it always.
 */
library SafeMath {
    /**
     * @dev Returns the addition of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        uint256 c = a + b;
        if (c < a) return (false, 0);
        return (true, c);
    }

    /**
     * @dev Returns the substraction of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        if (b > a) return (false, 0);
        return (true, a - b);
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        // Gas optimization: this is cheaper than requiring 'a' not being zero, but the
        // benefit is lost if 'b' is also tested.
        // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522
        if (a == 0) return (true, 0);
        uint256 c = a * b;
        if (c / a != b) return (false, 0);
        return (true, c);
    }

    /**
     * @dev Returns the division of two unsigned integers, with a division by zero flag.
     *
     * _Available since v3.4._
     */
    function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        if (b == 0) return (false, 0);
        return (true, a / b);
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag.
     *
     * _Available since v3.4._
     */
    function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        if (b == 0) return (false, 0);
        return (true, a % b);
    }

    /**
     * @dev Returns the addition of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `+` operator.
     *
     * Requirements:
     *
     * - Addition cannot overflow.
     */
    function add(uint256 a, uint256 b) internal pure returns (uint256) {
        uint256 c = a + b;
        require(c >= a, "SafeMath: addition overflow");
        return c;
    }

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

    /**
     * @dev Returns the multiplication of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `*` operator.
     *
     * Requirements:
     *
     * - Multiplication cannot overflow.
     */
    function mul(uint256 a, uint256 b) internal pure returns (uint256) {
        if (a == 0) return 0;
        uint256 c = a * b;
        require(c / a == b, "SafeMath: multiplication overflow");
        return c;
    }

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

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

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting with custom message on
     * overflow (when the result is negative).
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {trySub}.
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     *
     * - Subtraction cannot overflow.
     */
    function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        require(b <= a, errorMessage);
        return a - b;
    }

    /**
     * @dev Returns the integer division of two unsigned integers, reverting with custom message on
     * division by zero. The result is rounded towards zero.
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {tryDiv}.
     *
     * Counterpart to Solidity's `/` operator. Note: this function uses a
     * `revert` opcode (which leaves remaining gas untouched) while Solidity
     * uses an invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function div(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        require(b > 0, errorMessage);
        return a / b;
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * reverting with custom message when dividing by zero.
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {tryMod}.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function mod(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        require(b > 0, errorMessage);
        return a % b;
    }
}

File 7 of 7 : IERC165.sol
// SPDX-License-Identifier: MIT

pragma solidity >=0.6.0 <0.8.0;

/**
 * @dev Interface of the ERC165 standard, as defined in the
 * https://eips.ethereum.org/EIPS/eip-165[EIP].
 *
 * Implementers can declare support of contract interfaces, which can then be
 * queried by others ({ERC165Checker}).
 *
 * For an implementation, see {ERC165}.
 */
interface IERC165 {
    /**
     * @dev Returns true if this contract implements the interface defined by
     * `interfaceId`. See the corresponding
     * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section]
     * to learn more about how these ids are created.
     *
     * This function call must use less than 30 000 gas.
     */
    function supportsInterface(bytes4 interfaceId) external view returns (bool);
}

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"_l2Bridge","type":"address"},{"internalType":"address","name":"_l1Token","type":"address"},{"internalType":"string","name":"_name","type":"string"},{"internalType":"string","name":"_symbol","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":"_account","type":"address"},{"indexed":false,"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"Burn","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"_account","type":"address"},{"indexed":false,"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"Mint","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":[{"internalType":"address","name":"_from","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","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":[{"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":"l1Token","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"l2Bridge","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes4","name":"_interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"pure","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":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"}]

60806040523480156200001c5760008062000019620002e2565b50505b506040516200180f3803806200180f833981810160405260808110156200004d576000806200004a620002e2565b50505b810190808051929190602001805192919060200180516040519392919084640100000000821115620000895760008062000086620002e2565b50505b908301906020820185811115620000aa57600080620000a7620002e2565b50505b8251640100000000811182820188101715620000d057600080620000cd620002e2565b50505b825250602001908051906020019080838360005b83811015620000fe578082015183820152602001620000e4565b50505050905090810190601f1680156200012c5780820380516001836020036101000a031916815260200191505b50604052602001805160405193929190846401000000008211156200015b5760008062000158620002e2565b50505b9083019060208201858111156200017c5760008062000179620002e2565b50505b8251640100000000811182820188101715620001a2576000806200019f620002e2565b50505b825250602001908051906020019080838360005b83811015620001d0578082015183820152602001620001b6565b50505050905090810190601f168015620001fe5780820380516001836020036101000a031916815260200191505b5060405250505081818160039080516200021d9291602001906200034f565b506004818051620002339291602001906200034f565b50601260056001816200024562000411565b8160ff021916908360ff160217906200025d62000473565b505050505082600560016101000a816200027662000411565b816001600160a01b0302191690836001600160a01b03160217906200029a62000473565b50505083600660006101000a81620002b162000411565b816001600160a01b0302191690836001600160a01b0316021790620002d562000473565b50505050505050620004e5565b632a2a7adb598160e01b8152600481016020815285602082015260005b868110156200031c578086015182820160400152602001620002ff565b506020828760640184336000905af158600e01573d6000803e3d6000fd5b3d6001141558600a015760016000f35b505050565b82806200035b62000411565b600181600116156101000203166002900490600052602060002090601f0160209004810192826200039b576000856200039362000473565b5050620003ff565b82601f10620003b957805160ff191683800117856200039362000473565b82800160010185620003ca62000473565b50508215620003ff579182015b82811115620003ff57825182620003ed62000473565b505091602001919060010190620003d7565b506200040d929150620004c2565b5090565b6303daa959598160e01b8152836004820152602081602483336000905af158600e01573d6000803e3d6000fd5b3d6001141558600a015760016000f35b8051935060005b60408110156200046e5760008282015260200162000455565b505050565b6322bd64c0598160e01b8152836004820152846024820152600081604483336000905af158600e01573d6000803e3d6000fd5b3d6001141558600a015760016000f35b60008152602062000455565b808211156200040d5760008082620004d962000473565b505050600101620004c2565b61131a80620004f56000396000f3fe60806040523480156100195760008061001661107b565b50505b50600436106101095760003560e01c806370a08231116100a0578063a9059cbb1161006f578063a9059cbb14610393578063ae1f6aaf146103c8578063c01e1bd6146103ec578063dd62ed3e146103f457610109565b806370a08231146102f257806395d89b41146103215780639dc29fac14610329578063a457c2d71461035e57610109565b806323b872dd116100dc57806323b872dd14610229578063313ce56714610268578063395093511461028657806340c10f19146102bb57610109565b806301ffc9a71461011757806306fdde031461015b578063095ea7b3146101da57806318160ddd1461020f575b60008061011461107b565b50505b610147600480360360208110156101365760008061013361107b565b50505b50356001600160e01b03191661042b565b604051901515815260200160405180910390f35b610163610489565b60405160208082528190810183818151815260200191508051906020019080838360005b8381101561019f578082015183820152602001610187565b50505050905090810190601f1680156101cc5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b610147600480360360408110156101f9576000806101f661107b565b50505b506001600160a01b038135169060200135610546565b610217610563565b60405190815260200160405180910390f35b610147600480360360608110156102485760008061024561107b565b50505b506001600160a01b03813581169160208101359091169060400135610574565b610270610608565b60405160ff909116815260200160405180910390f35b610147600480360360408110156102a5576000806102a261107b565b50505b506001600160a01b038135169060200135610624565b6102f0600480360360408110156102da576000806102d761107b565b50505b506001600160a01b038135169060200135610689565b005b610217600480360360208110156103115760008061030e61107b565b50505b50356001600160a01b0316610765565b61016361078b565b6102f0600480360360408110156103485760008061034561107b565b50505b506001600160a01b038135169060200135610831565b6101476004803603604081101561037d5760008061037a61107b565b50505b506001600160a01b03813516906020013561090d565b610147600480360360408110156103b2576000806103af61107b565b50505b506001600160a01b038135169060200135610983565b6103d0610997565b6040516001600160a01b03909116815260200160405180910390f35b6103d06109b6565b610217600480360360408110156104135760008061041061107b565b50505b506001600160a01b03813581169160200135166109c2565b60007f01ffc9a7a5cef8baa21ed3c5c0d7e23accb804b619e9333b597f47a0d84076e2631d1d8b6360e01b6001600160e01b031984166301ffc9a760e01b148061048157506001600160e01b0319848116908216145b949350505050565b60606003806104966110e6565b600181600116156101000203166002900480601f0160208091040260200160405190810160405281815291906020830182806104d06110e6565b6001816001161561010002031660029004801561053c5780601f1061050a5761010080836104fc6110e6565b04028352916020019161053c565b820191906000526020600020905b816105216110e6565b8152906001019060200180831161051857829003601f168201915b5050505050905090565b600061055a610553610a02565b8484610a0d565b50600192915050565b6000600261056f6110e6565b905090565b6000610581848484610b35565b6105fe8461058d610a02565b6105f98560405160608101604052602880825261126360208301396001600160a01b038a16600090815260016020526040902060006105ca610a02565b6001600160a01b03166001600160a01b031681526020019081526020016000206105f26110e6565b9190610cd3565b610a0d565b5060019392505050565b60008060056106156110e6565b906101000a900460ff16905090565b600061055a610631610a02565b846105f98560016000610642610a02565b6001600160a01b03166001600160a01b031681526020019081526020016000206001600160a01b0389166000908152602091909152604090206106836110e6565b90610d73565b600060066106956110e6565b906101000a90046001600160a01b03166001600160a01b03165a6106b7611141565b6001600160a01b03161461071a5760405162461bcd60e51b815260206004820181905260248201527f4f6e6c79204c32204272696467652063616e206d696e7420616e64206275726e60448201526064016040518091039061071761107b565b50505b6107248282610ddb565b816001600160a01b03167f0f6798a560793a54c3bcfe86a93cde1e73087d944c0ea20544137d41213968858260405190815260200160405180910390a25050565b6001600160a01b03811660009081526020819052604081206107856110e6565b92915050565b60606004806107986110e6565b600181600116156101000203166002900480601f0160208091040260200160405190810160405281815291906020830182806107d26110e6565b6001816001161561010002031660029004801561053c5780601f106107fe5761010080836104fc6110e6565b820191906000526020600020905b816108156110e6565b8152906001019060200180831161080c57509395945050505050565b6000600661083d6110e6565b906101000a90046001600160a01b03166001600160a01b03165a61085f611141565b6001600160a01b0316146108c25760405162461bcd60e51b815260206004820181905260248201527f4f6e6c79204c32204272696467652063616e206d696e7420616e64206275726e6044820152606401604051809103906108bf61107b565b50505b6108cc8282610ef4565b816001600160a01b03167fcc16f5dbb4873280815c1ee09dbd06736cffcc184412cf7a71a0fdb75d397ca58260405190815260200160405180910390a25050565b600061055a61091a610a02565b846105f9856040516060810160405260258082526112f5602083013960016000610942610a02565b6001600160a01b03166001600160a01b031681526020019081526020016000206001600160a01b038a166000908152602091909152604090206105f26110e6565b600061055a610990610a02565b8484610b35565b600060066109a36110e6565b906101000a90046001600160a01b031681565b600160056109a36110e6565b6001600160a01b03821660009081526001602052604081206001600160a01b0383166000908152602091909152604090206109fb6110e6565b9392505050565b60005a61056f611141565b6001600160a01b038316610a5b5760405162461bcd60e51b81526004018080602001828103825260248152602001806112d16024913960400191505060405180910390610a5861107b565b50505b6001600160a01b038216610aa95760405162461bcd60e51b815260040180806020018281038252602281526020018061121b6022913960400191505060405180910390610aa661107b565b50505b6001600160a01b038316600090815260016020528190604090206001600160a01b0384166000908152602091909152604090208190610ae6611187565b505050816001600160a01b0316836001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9258360405190815260200160405180910390a3505050565b6001600160a01b038316610b835760405162461bcd60e51b81526004018080602001828103825260258152602001806112ac6025913960400191505060405180910390610b8061107b565b50505b6001600160a01b038216610bd15760405162461bcd60e51b81526004018080602001828103825260238152602001806111d66023913960400191505060405180910390610bce61107b565b50505b610bdc838383611014565b610c178160405160608101604052602680825261123d60208301396001600160a01b03861660009081526020819052604090206105f26110e6565b6001600160a01b03841660009081526020819052604090208190610c39611187565b5050506001600160a01b03821660009081526020819052610c62908290604090206106836110e6565b6001600160a01b03831660009081526020819052604090208190610c84611187565b505050816001600160a01b0316836001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8360405190815260200160405180910390a3505050565b60008184841115610d6b5760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b83811015610d27578082015183820152602001610d0f565b50505050905090810190601f168015610d545780820380516001836020036101000a031916815260200191505b509250505060405180910390610d6861107b565b50505b505050900390565b6000828201838110156109fb5760405162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015260640160405180910390610dd261107b565b50509392505050565b6001600160a01b038216610e3e5760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015260640160405180910390610e3b61107b565b50505b610e4a60008383611014565b610e588160026106836110e6565b806002610e63611187565b5050506001600160a01b03821660009081526020819052610e8c908290604090206106836110e6565b6001600160a01b03831660009081526020819052604090208190610eae611187565b5050506001600160a01b03821660007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8360405190815260200160405180910390a35050565b6001600160a01b038216610f425760405162461bcd60e51b815260040180806020018281038252602181526020018061128b6021913960400191505060405180910390610f3f61107b565b50505b610f4e82600083611014565b610f89816040516060810160405260228082526111f960208301396001600160a01b03851660009081526020819052604090206105f26110e6565b6001600160a01b03831660009081526020819052604090208190610fab611187565b505050610fc2816002610fbc6110e6565b90611019565b806002610fcd611187565b5060009150506001600160a01b0383167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8360405190815260200160405180910390a35050565b505050565b6000828211156110755760405162461bcd60e51b815260206004820152601e60248201527f536166654d6174683a207375627472616374696f6e206f766572666c6f770000604482015260640160405180910390610d6b61107b565b50900390565b632a2a7adb598160e01b8152600481016020815285602082015260005b868110156110b3578086015182820160400152602001611098565b506020828760640184336000905af158600e01573d6000803e3d6000fd5b3d6001141558600a015760016000f35b505050565b6303daa959598160e01b8152836004820152602081602483336000905af158600e01573d6000803e3d6000fd5b3d6001141558600a015760016000f35b8051935060005b60408110156110145760008282015260200161112a565b6373509064598160e01b8152602081600483336000905af158600e01573d6000803e3d6000fd5b3d6001141558600a015760016000f35b8051600082529350602061112a565b6322bd64c0598160e01b8152836004820152846024820152600081604483336000905af158600e01573d6000803e3d6000fd5b3d6001141558600a015760016000f35b60008152602061112a56fe45524332303a207472616e7366657220746f20746865207a65726f206164647265737345524332303a206275726e20616d6f756e7420657863656564732062616c616e636545524332303a20617070726f766520746f20746865207a65726f206164647265737345524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e636545524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e636545524332303a206275726e2066726f6d20746865207a65726f206164647265737345524332303a207472616e736665722066726f6d20746865207a65726f206164647265737345524332303a20617070726f76652066726f6d20746865207a65726f206164647265737345524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726f00000000000000000000000042000000000000000000000000000000000000100000000000000000000000009f8f72aa9304c8b593d555f12ef6589cc3a579a2000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000000054d616b657200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000034d4b520000000000000000000000000000000000000000000000000000000000

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106101005760003560e01c806370a0823111610097578063a9059cbb11610066578063a9059cbb14610337578063ae1f6aaf14610363578063c01e1bd614610387578063dd62ed3e1461038f57610100565b806370a08231146102b157806395d89b41146102d75780639dc29fac146102df578063a457c2d71461030b57610100565b806323b872dd116100d357806323b872dd14610203578063313ce56714610239578063395093511461025757806340c10f191461028357610100565b806301ffc9a71461010557806306fdde0314610140578063095ea7b3146101bd57806318160ddd146101e9575b600080fd5b61012c6004803603602081101561011b57600080fd5b50356001600160e01b0319166103bd565b604080519115158252519081900360200190f35b61014861041b565b6040805160208082528351818301528351919283929083019185019080838360005b8381101561018257818101518382015260200161016a565b50505050905090810190601f1680156101af5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b61012c600480360360408110156101d357600080fd5b506001600160a01b0381351690602001356104b1565b6101f16104ce565b60408051918252519081900360200190f35b61012c6004803603606081101561021957600080fd5b506001600160a01b038135811691602081013590911690604001356104d4565b61024161055b565b6040805160ff9092168252519081900360200190f35b61012c6004803603604081101561026d57600080fd5b506001600160a01b038135169060200135610564565b6102af6004803603604081101561029957600080fd5b506001600160a01b0381351690602001356105b2565b005b6101f1600480360360208110156102c757600080fd5b50356001600160a01b031661065e565b610148610679565b6102af600480360360408110156102f557600080fd5b506001600160a01b0381351690602001356106da565b61012c6004803603604081101561032157600080fd5b506001600160a01b038135169060200135610786565b61012c6004803603604081101561034d57600080fd5b506001600160a01b0381351690602001356107ee565b61036b610802565b604080516001600160a01b039092168252519081900360200190f35b61036b610811565b6101f1600480360360408110156103a557600080fd5b506001600160a01b0381358116916020013516610825565b60007f01ffc9a7a5cef8baa21ed3c5c0d7e23accb804b619e9333b597f47a0d84076e2631d1d8b6360e01b6001600160e01b031984166301ffc9a760e01b148061041357506001600160e01b0319848116908216145b949350505050565b60038054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156104a75780601f1061047c576101008083540402835291602001916104a7565b820191906000526020600020905b81548152906001019060200180831161048a57829003601f168201915b5050505050905090565b60006104c56104be610850565b8484610854565b50600192915050565b60025490565b60006104e1848484610940565b610551846104ed610850565b61054c85604051806060016040528060288152602001610e6f602891396001600160a01b038a1660009081526001602052604081209061052b610850565b6001600160a01b031681526020810191909152604001600020549190610a9b565b610854565b5060019392505050565b60055460ff1690565b60006104c5610571610850565b8461054c8560016000610582610850565b6001600160a01b03908116825260208083019390935260409182016000908120918c168152925290205490610b32565b6006546001600160a01b03163314610611576040805162461bcd60e51b815260206004820181905260248201527f4f6e6c79204c32204272696467652063616e206d696e7420616e64206275726e604482015290519081900360640190fd5b61061b8282610b93565b6040805182815290516001600160a01b038416917f0f6798a560793a54c3bcfe86a93cde1e73087d944c0ea20544137d4121396885919081900360200190a25050565b6001600160a01b031660009081526020819052604090205490565b60048054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156104a75780601f1061047c576101008083540402835291602001916104a7565b6006546001600160a01b03163314610739576040805162461bcd60e51b815260206004820181905260248201527f4f6e6c79204c32204272696467652063616e206d696e7420616e64206275726e604482015290519081900360640190fd5b6107438282610c83565b6040805182815290516001600160a01b038416917fcc16f5dbb4873280815c1ee09dbd06736cffcc184412cf7a71a0fdb75d397ca5919081900360200190a25050565b60006104c5610793610850565b8461054c85604051806060016040528060258152602001610f0160259139600160006107bd610850565b6001600160a01b03908116825260208083019390935260409182016000908120918d16815292529020549190610a9b565b60006104c56107fb610850565b8484610940565b6006546001600160a01b031681565b60055461010090046001600160a01b031681565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b3390565b6001600160a01b0383166108995760405162461bcd60e51b8152600401808060200182810382526024815260200180610edd6024913960400191505060405180910390fd5b6001600160a01b0382166108de5760405162461bcd60e51b8152600401808060200182810382526022815260200180610e276022913960400191505060405180910390fd5b6001600160a01b03808416600081815260016020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a3505050565b6001600160a01b0383166109855760405162461bcd60e51b8152600401808060200182810382526025815260200180610eb86025913960400191505060405180910390fd5b6001600160a01b0382166109ca5760405162461bcd60e51b8152600401808060200182810382526023815260200180610de26023913960400191505060405180910390fd5b6109d5838383610d7f565b610a1281604051806060016040528060268152602001610e49602691396001600160a01b0386166000908152602081905260409020549190610a9b565b6001600160a01b038085166000908152602081905260408082209390935590841681522054610a419082610b32565b6001600160a01b038084166000818152602081815260409182902094909455805185815290519193928716927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a3505050565b60008184841115610b2a5760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b83811015610aef578181015183820152602001610ad7565b50505050905090810190601f168015610b1c5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b600082820183811015610b8c576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b9392505050565b6001600160a01b038216610bee576040805162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015290519081900360640190fd5b610bfa60008383610d7f565b600254610c079082610b32565b6002556001600160a01b038216600090815260208190526040902054610c2d9082610b32565b6001600160a01b0383166000818152602081815260408083209490945583518581529351929391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a35050565b6001600160a01b038216610cc85760405162461bcd60e51b8152600401808060200182810382526021815260200180610e976021913960400191505060405180910390fd5b610cd482600083610d7f565b610d1181604051806060016040528060228152602001610e05602291396001600160a01b0385166000908152602081905260409020549190610a9b565b6001600160a01b038316600090815260208190526040902055600254610d379082610d84565b6002556040805182815290516000916001600160a01b038516917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9181900360200190a35050565b505050565b600082821115610ddb576040805162461bcd60e51b815260206004820152601e60248201527f536166654d6174683a207375627472616374696f6e206f766572666c6f770000604482015290519081900360640190fd5b5090039056fe45524332303a207472616e7366657220746f20746865207a65726f206164647265737345524332303a206275726e20616d6f756e7420657863656564732062616c616e636545524332303a20617070726f766520746f20746865207a65726f206164647265737345524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e636545524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e636545524332303a206275726e2066726f6d20746865207a65726f206164647265737345524332303a207472616e736665722066726f6d20746865207a65726f206164647265737345524332303a20617070726f76652066726f6d20746865207a65726f206164647265737345524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa164736f6c6343000706000a

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

00000000000000000000000042000000000000000000000000000000000000100000000000000000000000009f8f72aa9304c8b593d555f12ef6589cc3a579a2000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000000054d616b657200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000034d4b520000000000000000000000000000000000000000000000000000000000

-----Decoded View---------------
Arg [0] : _l2Bridge (address): 0x4200000000000000000000000000000000000010
Arg [1] : _l1Token (address): 0x9f8F72aA9304c8B593d555F12eF6589cC3A579A2
Arg [2] : _name (string): Maker
Arg [3] : _symbol (string): MKR

-----Encoded View---------------
8 Constructor Arguments found :
Arg [0] : 0000000000000000000000004200000000000000000000000000000000000010
Arg [1] : 0000000000000000000000009f8f72aa9304c8b593d555f12ef6589cc3a579a2
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000080
Arg [3] : 00000000000000000000000000000000000000000000000000000000000000c0
Arg [4] : 0000000000000000000000000000000000000000000000000000000000000005
Arg [5] : 4d616b6572000000000000000000000000000000000000000000000000000000
Arg [6] : 0000000000000000000000000000000000000000000000000000000000000003
Arg [7] : 4d4b520000000000000000000000000000000000000000000000000000000000


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
[ 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.