ETH Price: $3,240.31 (+1.71%)

Contract

0xE38faf9040c7F09958c638bBDB977083722c5156
 
Transaction Hash
Method
Block
From
To
Value
Approve1191646712024-04-24 3:08:394 mins ago1713928119IN
Hop Protocol: hETH Token
0 ETH0.000002860.0621417
Approve1191607762024-04-24 0:58:492 hrs ago1713920329IN
Hop Protocol: hETH Token
0 ETH0.00000280.06087162
Approve1191579432024-04-23 23:24:233 hrs ago1713914663IN
Hop Protocol: hETH Token
0 ETH0.000003010.06536212
Approve1191548142024-04-23 21:40:055 hrs ago1713908405IN
Hop Protocol: hETH Token
0 ETH0.000005850.1259283
Approve1191546332024-04-23 21:34:035 hrs ago1713908043IN
Hop Protocol: hETH Token
0 ETH0.00000280.06085123
Approve1191543742024-04-23 21:25:255 hrs ago1713907525IN
Hop Protocol: hETH Token
0 ETH0.000001480.06135703
Approve1191541222024-04-23 21:17:015 hrs ago1713907021IN
Hop Protocol: hETH Token
0 ETH0.000001490.06194805
Approve1191472012024-04-23 17:26:199 hrs ago1713893179IN
Hop Protocol: hETH Token
0 ETH0.000002890.06284503
Approve1191466892024-04-23 17:09:1510 hrs ago1713892155IN
Hop Protocol: hETH Token
0 ETH0.000001690.0702585
Approve1191456252024-04-23 16:33:4710 hrs ago1713890027IN
Hop Protocol: hETH Token
0 ETH0.000001780.0737044
Approve1191453922024-04-23 16:26:0110 hrs ago1713889561IN
Hop Protocol: hETH Token
0 ETH0.00000280.06078518
Approve1191445452024-04-23 15:57:4711 hrs ago1713887867IN
Hop Protocol: hETH Token
0 ETH0.000001470.06104914
Approve1191437582024-04-23 15:31:3311 hrs ago1713886293IN
Hop Protocol: hETH Token
0 ETH0.00000150.0621332
Approve1191433952024-04-23 15:19:2711 hrs ago1713885567IN
Hop Protocol: hETH Token
0 ETH0.000002860.06168013
Approve1191415722024-04-23 14:18:4112 hrs ago1713881921IN
Hop Protocol: hETH Token
0 ETH0.000001460.06045189
Approve1191415712024-04-23 14:18:3912 hrs ago1713881919IN
Hop Protocol: hETH Token
0 ETH0.000001460.06056115
Approve1191415562024-04-23 14:18:0912 hrs ago1713881889IN
Hop Protocol: hETH Token
0 ETH0.000001460.06073346
Approve1191413812024-04-23 14:12:1913 hrs ago1713881539IN
Hop Protocol: hETH Token
0 ETH0.000002850.06185034
Approve1191411822024-04-23 14:05:4113 hrs ago1713881141IN
Hop Protocol: hETH Token
0 ETH0.000001480.06139627
Approve1191409342024-04-23 13:57:2513 hrs ago1713880645IN
Hop Protocol: hETH Token
0 ETH0.000001580.065583
Approve1191400252024-04-23 13:27:0713 hrs ago1713878827IN
Hop Protocol: hETH Token
0 ETH0.000001490.0616657
Approve1191400242024-04-23 13:27:0513 hrs ago1713878825IN
Hop Protocol: hETH Token
0 ETH0.000001470.061072
Approve1191399312024-04-23 13:23:5913 hrs ago1713878639IN
Hop Protocol: hETH Token
0 ETH0.000001470.06095378
Approve1191386752024-04-23 12:42:0714 hrs ago1713876127IN
Hop Protocol: hETH Token
0 ETH0.000000960.03334422
Approve1191384952024-04-23 12:36:0714 hrs ago1713875767IN
Hop Protocol: hETH Token
0 ETH0.000000840.0349356
View all transactions

Latest 25 internal transactions (View All)

Advanced mode:
Parent Transaction Hash Block From To Value
1075583182023-07-30 11:10:13268 days ago1690715413
Hop Protocol: hETH Token
0 ETH
1075583182023-07-30 11:10:13268 days ago1690715413
Hop Protocol: hETH Token
0 ETH
1075583182023-07-30 11:10:13268 days ago1690715413
Hop Protocol: hETH Token
0 ETH
1075583182023-07-30 11:10:13268 days ago1690715413
Hop Protocol: hETH Token
0 ETH
1075583182023-07-30 11:10:13268 days ago1690715413
Hop Protocol: hETH Token
0 ETH
1075583182023-07-30 11:10:13268 days ago1690715413
Hop Protocol: hETH Token
0 ETH
1075583182023-07-30 11:10:13268 days ago1690715413
Hop Protocol: hETH Token
0 ETH
1075583182023-07-30 11:10:13268 days ago1690715413
Hop Protocol: hETH Token
0 ETH
1075583182023-07-30 11:10:13268 days ago1690715413
Hop Protocol: hETH Token
0 ETH
1075583082023-07-30 11:09:53268 days ago1690715393
Hop Protocol: hETH Token
0 ETH
1075583082023-07-30 11:09:53268 days ago1690715393
Hop Protocol: hETH Token
0 ETH
1075583082023-07-30 11:09:53268 days ago1690715393
Hop Protocol: hETH Token
0 ETH
1075583082023-07-30 11:09:53268 days ago1690715393
Hop Protocol: hETH Token
0 ETH
1075583082023-07-30 11:09:53268 days ago1690715393
Hop Protocol: hETH Token
0 ETH
1075583082023-07-30 11:09:53268 days ago1690715393
Hop Protocol: hETH Token
0 ETH
1075583082023-07-30 11:09:53268 days ago1690715393
Hop Protocol: hETH Token
0 ETH
1075583082023-07-30 11:09:53268 days ago1690715393
Hop Protocol: hETH Token
0 ETH
1075583082023-07-30 11:09:53268 days ago1690715393
Hop Protocol: hETH Token
0 ETH
1075582752023-07-30 11:08:47268 days ago1690715327
Hop Protocol: hETH Token
0 ETH
1075582752023-07-30 11:08:47268 days ago1690715327
Hop Protocol: hETH Token
0 ETH
1075582582023-07-30 11:08:13268 days ago1690715293
Hop Protocol: hETH Token
0 ETH
1075582582023-07-30 11:08:13268 days ago1690715293
Hop Protocol: hETH Token
0 ETH
1075582502023-07-30 11:07:57268 days ago1690715277
Hop Protocol: hETH Token
0 ETH
1075582502023-07-30 11:07:57268 days ago1690715277
Hop Protocol: hETH Token
0 ETH
1075582442023-07-30 11:07:45268 days ago1690715265
Hop Protocol: hETH Token
0 ETH
View All Internal Transactions

Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
HopBridgeToken

Compiler Version
v0.6.12+commit.27d51765

Optimization Enabled:
Yes with 1 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

/**
 *Submitted for verification at optimistic.etherscan.io on 2023-01-17
*/

// Sources flattened with hardhat v2.9.9 https://hardhat.org

// File @openzeppelin/contracts/utils/[email protected]

// 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 @openzeppelin/contracts/token/ERC20/[email protected]



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 @openzeppelin/contracts/math/[email protected]



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 @openzeppelin/contracts/token/ERC20/[email protected]



pragma solidity >=0.6.0 <0.8.0;



/**
 * @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 @openzeppelin/contracts/access/[email protected]



pragma solidity >=0.6.0 <0.8.0;

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

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

    /**
     * @dev Initializes the contract setting the deployer as the initial owner.
     */
    constructor () internal {
        address msgSender = _msgSender();
        _owner = msgSender;
        emit OwnershipTransferred(address(0), msgSender);
    }

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

    /**
     * @dev Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        require(owner() == _msgSender(), "Ownable: caller is not the owner");
        _;
    }

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

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


// File contracts/bridges/HopBridgeToken.sol



pragma solidity 0.6.12;


/**
 * @dev Hop Bridge Tokens or "hTokens" are layer-2 tokens that represent a deposit in the L1_Bridge
 * contract. Each Hop Bridge Token is a regular ERC20 that can be minted and burned by the L2_Bridge
 * that owns it.
 */

contract HopBridgeToken is ERC20, Ownable {

    constructor (
        string memory name,
        string memory symbol,
        uint8 decimals
    )
        public
        ERC20(name, symbol)
    {
        _setupDecimals(decimals);
    }

    /**
     * @dev Mint new hToken for the account
     * @param account The account being minted for
     * @param amount The amount being minted
     */
    function mint(address account, uint256 amount) external onlyOwner {
        _mint(account, amount);
    }

    /**
     * @dev Burn hToken from the account
     * @param account The account being burned from
     * @param amount The amount being burned
     */
    function burn(address account, uint256 amount) external onlyOwner {
        _burn(account, amount);
    }
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string","name":"name","type":"string"},{"internalType":"string","name":"symbol","type":"string"},{"internalType":"uint8","name":"decimals","type":"uint8"}],"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":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","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":"account","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":[{"internalType":"address","name":"account","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":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","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"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"}]

608060405234801561001057600080fd5b50600436106100d05760003560e01c806306fdde03146100d5578063095ea7b31461015257806318160ddd1461019257806323b872dd146101ac578063313ce567146101e2578063395093511461020057806340c10f191461022c57806370a082311461025a578063715018a6146102805780638da5cb5b1461028857806395d89b41146102ac5780639dc29fac146102b4578063a457c2d7146102e0578063a9059cbb1461030c578063dd62ed3e14610338578063f2fde38b14610366575b600080fd5b6100dd61038c565b6040805160208082528351818301528351919283929083019185019080838360005b838110156101175781810151838201526020016100ff565b50505050905090810190601f1680156101445780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b61017e6004803603604081101561016857600080fd5b506001600160a01b038135169060200135610422565b604080519115158252519081900360200190f35b61019a61043f565b60408051918252519081900360200190f35b61017e600480360360608110156101c257600080fd5b506001600160a01b03813581169160208101359091169060400135610445565b6101ea6104cc565b6040805160ff9092168252519081900360200190f35b61017e6004803603604081101561021657600080fd5b506001600160a01b0381351690602001356104d5565b6102586004803603604081101561024257600080fd5b506001600160a01b038135169060200135610523565b005b61019a6004803603602081101561027057600080fd5b50356001600160a01b0316610593565b6102586105ae565b61029061064e565b604080516001600160a01b039092168252519081900360200190f35b6100dd610662565b610258600480360360408110156102ca57600080fd5b506001600160a01b0381351690602001356106c3565b61017e600480360360408110156102f657600080fd5b506001600160a01b03813516906020013561072f565b61017e6004803603604081101561032257600080fd5b506001600160a01b038135169060200135610797565b61019a6004803603604081101561034e57600080fd5b506001600160a01b03813581169160200135166107ab565b6102586004803603602081101561037c57600080fd5b50356001600160a01b03166107d6565b60038054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156104185780601f106103ed57610100808354040283529160200191610418565b820191906000526020600020905b8154815290600101906020018083116103fb57829003601f168201915b5050505050905090565b600061043661042f6108d2565b84846108d6565b50600192915050565b60025490565b60006104528484846109c2565b6104c28461045e6108d2565b6104bd85604051806060016040528060288152602001610edf602891396001600160a01b038a1660009081526001602052604081209061049c6108d2565b6001600160a01b031681526020810191909152604001600020549190610b0b565b6108d6565b5060019392505050565b60055460ff1690565b60006104366104e26108d2565b846104bd85600160006104f36108d2565b6001600160a01b03908116825260208083019390935260409182016000908120918c168152925290205490610ba2565b61052b6108d2565b6001600160a01b031661053c61064e565b6001600160a01b031614610585576040805162461bcd60e51b81526020600482018190526024820152600080516020610f07833981519152604482015290519081900360640190fd5b61058f8282610c01565b5050565b6001600160a01b031660009081526020819052604090205490565b6105b66108d2565b6001600160a01b03166105c761064e565b6001600160a01b031614610610576040805162461bcd60e51b81526020600482018190526024820152600080516020610f07833981519152604482015290519081900360640190fd5b60055460405160009161010090046001600160a01b031690600080516020610f27833981519152908390a360058054610100600160a81b0319169055565b60055461010090046001600160a01b031690565b60048054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156104185780601f106103ed57610100808354040283529160200191610418565b6106cb6108d2565b6001600160a01b03166106dc61064e565b6001600160a01b031614610725576040805162461bcd60e51b81526020600482018190526024820152600080516020610f07833981519152604482015290519081900360640190fd5b61058f8282610cdf565b600061043661073c6108d2565b846104bd85604051806060016040528060258152602001610fd160259139600160006107666108d2565b6001600160a01b03908116825260208083019390935260409182016000908120918d16815292529020549190610b0b565b60006104366107a46108d2565b84846109c2565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b6107de6108d2565b6001600160a01b03166107ef61064e565b6001600160a01b031614610838576040805162461bcd60e51b81526020600482018190526024820152600080516020610f07833981519152604482015290519081900360640190fd5b6001600160a01b03811661087d5760405162461bcd60e51b8152600401808060200182810382526026815260200180610e716026913960400191505060405180910390fd5b6005546040516001600160a01b038084169261010090041690600080516020610f2783398151915290600090a3600580546001600160a01b0390921661010002610100600160a81b0319909216919091179055565b3390565b6001600160a01b03831661091b5760405162461bcd60e51b8152600401808060200182810382526024815260200180610fad6024913960400191505060405180910390fd5b6001600160a01b0382166109605760405162461bcd60e51b8152600401808060200182810382526022815260200180610e976022913960400191505060405180910390fd5b6001600160a01b03808416600081815260016020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a3505050565b6001600160a01b038316610a075760405162461bcd60e51b8152600401808060200182810382526025815260200180610f886025913960400191505060405180910390fd5b6001600160a01b038216610a4c5760405162461bcd60e51b8152600401808060200182810382526023815260200180610e2c6023913960400191505060405180910390fd5b610a57838383610dc9565b610a9481604051806060016040528060268152602001610eb9602691396001600160a01b0386166000908152602081905260409020549190610b0b565b6001600160a01b038085166000908152602081905260408082209390935590841681522054610ac39082610ba2565b6001600160a01b03808416600081815260208181526040918290209490945580518581529051919392871692600080516020610f4783398151915292918290030190a3505050565b60008184841115610b9a5760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b83811015610b5f578181015183820152602001610b47565b50505050905090810190601f168015610b8c5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b600082820183811015610bfa576040805162461bcd60e51b815260206004820152601b60248201527a536166654d6174683a206164646974696f6e206f766572666c6f7760281b604482015290519081900360640190fd5b9392505050565b6001600160a01b038216610c5c576040805162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015290519081900360640190fd5b610c6860008383610dc9565b600254610c759082610ba2565b6002556001600160a01b038216600090815260208190526040902054610c9b9082610ba2565b6001600160a01b038316600081815260208181526040808320949094558351858152935192939192600080516020610f478339815191529281900390910190a35050565b6001600160a01b038216610d245760405162461bcd60e51b8152600401808060200182810382526021815260200180610f676021913960400191505060405180910390fd5b610d3082600083610dc9565b610d6d81604051806060016040528060228152602001610e4f602291396001600160a01b0385166000908152602081905260409020549190610b0b565b6001600160a01b038316600090815260208190526040902055600254610d939082610dce565b6002556040805182815290516000916001600160a01b03851691600080516020610f478339815191529181900360200190a35050565b505050565b600082821115610e25576040805162461bcd60e51b815260206004820152601e60248201527f536166654d6174683a207375627472616374696f6e206f766572666c6f770000604482015290519081900360640190fd5b5090039056fe45524332303a207472616e7366657220746f20746865207a65726f206164647265737345524332303a206275726e20616d6f756e7420657863656564732062616c616e63654f776e61626c653a206e6577206f776e657220697320746865207a65726f206164647265737345524332303a20617070726f766520746f20746865207a65726f206164647265737345524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e636545524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e63654f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65728be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0ddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef45524332303a206275726e2066726f6d20746865207a65726f206164647265737345524332303a207472616e736665722066726f6d20746865207a65726f206164647265737345524332303a20617070726f76652066726f6d20746865207a65726f206164647265737345524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa264697066735822122082dd975adf13f8536d957603cd7d6c82333c85d7cfb679f377012a30830b743e64736f6c634300060c0033

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106100d05760003560e01c806306fdde03146100d5578063095ea7b31461015257806318160ddd1461019257806323b872dd146101ac578063313ce567146101e2578063395093511461020057806340c10f191461022c57806370a082311461025a578063715018a6146102805780638da5cb5b1461028857806395d89b41146102ac5780639dc29fac146102b4578063a457c2d7146102e0578063a9059cbb1461030c578063dd62ed3e14610338578063f2fde38b14610366575b600080fd5b6100dd61038c565b6040805160208082528351818301528351919283929083019185019080838360005b838110156101175781810151838201526020016100ff565b50505050905090810190601f1680156101445780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b61017e6004803603604081101561016857600080fd5b506001600160a01b038135169060200135610422565b604080519115158252519081900360200190f35b61019a61043f565b60408051918252519081900360200190f35b61017e600480360360608110156101c257600080fd5b506001600160a01b03813581169160208101359091169060400135610445565b6101ea6104cc565b6040805160ff9092168252519081900360200190f35b61017e6004803603604081101561021657600080fd5b506001600160a01b0381351690602001356104d5565b6102586004803603604081101561024257600080fd5b506001600160a01b038135169060200135610523565b005b61019a6004803603602081101561027057600080fd5b50356001600160a01b0316610593565b6102586105ae565b61029061064e565b604080516001600160a01b039092168252519081900360200190f35b6100dd610662565b610258600480360360408110156102ca57600080fd5b506001600160a01b0381351690602001356106c3565b61017e600480360360408110156102f657600080fd5b506001600160a01b03813516906020013561072f565b61017e6004803603604081101561032257600080fd5b506001600160a01b038135169060200135610797565b61019a6004803603604081101561034e57600080fd5b506001600160a01b03813581169160200135166107ab565b6102586004803603602081101561037c57600080fd5b50356001600160a01b03166107d6565b60038054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156104185780601f106103ed57610100808354040283529160200191610418565b820191906000526020600020905b8154815290600101906020018083116103fb57829003601f168201915b5050505050905090565b600061043661042f6108d2565b84846108d6565b50600192915050565b60025490565b60006104528484846109c2565b6104c28461045e6108d2565b6104bd85604051806060016040528060288152602001610edf602891396001600160a01b038a1660009081526001602052604081209061049c6108d2565b6001600160a01b031681526020810191909152604001600020549190610b0b565b6108d6565b5060019392505050565b60055460ff1690565b60006104366104e26108d2565b846104bd85600160006104f36108d2565b6001600160a01b03908116825260208083019390935260409182016000908120918c168152925290205490610ba2565b61052b6108d2565b6001600160a01b031661053c61064e565b6001600160a01b031614610585576040805162461bcd60e51b81526020600482018190526024820152600080516020610f07833981519152604482015290519081900360640190fd5b61058f8282610c01565b5050565b6001600160a01b031660009081526020819052604090205490565b6105b66108d2565b6001600160a01b03166105c761064e565b6001600160a01b031614610610576040805162461bcd60e51b81526020600482018190526024820152600080516020610f07833981519152604482015290519081900360640190fd5b60055460405160009161010090046001600160a01b031690600080516020610f27833981519152908390a360058054610100600160a81b0319169055565b60055461010090046001600160a01b031690565b60048054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156104185780601f106103ed57610100808354040283529160200191610418565b6106cb6108d2565b6001600160a01b03166106dc61064e565b6001600160a01b031614610725576040805162461bcd60e51b81526020600482018190526024820152600080516020610f07833981519152604482015290519081900360640190fd5b61058f8282610cdf565b600061043661073c6108d2565b846104bd85604051806060016040528060258152602001610fd160259139600160006107666108d2565b6001600160a01b03908116825260208083019390935260409182016000908120918d16815292529020549190610b0b565b60006104366107a46108d2565b84846109c2565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b6107de6108d2565b6001600160a01b03166107ef61064e565b6001600160a01b031614610838576040805162461bcd60e51b81526020600482018190526024820152600080516020610f07833981519152604482015290519081900360640190fd5b6001600160a01b03811661087d5760405162461bcd60e51b8152600401808060200182810382526026815260200180610e716026913960400191505060405180910390fd5b6005546040516001600160a01b038084169261010090041690600080516020610f2783398151915290600090a3600580546001600160a01b0390921661010002610100600160a81b0319909216919091179055565b3390565b6001600160a01b03831661091b5760405162461bcd60e51b8152600401808060200182810382526024815260200180610fad6024913960400191505060405180910390fd5b6001600160a01b0382166109605760405162461bcd60e51b8152600401808060200182810382526022815260200180610e976022913960400191505060405180910390fd5b6001600160a01b03808416600081815260016020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a3505050565b6001600160a01b038316610a075760405162461bcd60e51b8152600401808060200182810382526025815260200180610f886025913960400191505060405180910390fd5b6001600160a01b038216610a4c5760405162461bcd60e51b8152600401808060200182810382526023815260200180610e2c6023913960400191505060405180910390fd5b610a57838383610dc9565b610a9481604051806060016040528060268152602001610eb9602691396001600160a01b0386166000908152602081905260409020549190610b0b565b6001600160a01b038085166000908152602081905260408082209390935590841681522054610ac39082610ba2565b6001600160a01b03808416600081815260208181526040918290209490945580518581529051919392871692600080516020610f4783398151915292918290030190a3505050565b60008184841115610b9a5760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b83811015610b5f578181015183820152602001610b47565b50505050905090810190601f168015610b8c5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b600082820183811015610bfa576040805162461bcd60e51b815260206004820152601b60248201527a536166654d6174683a206164646974696f6e206f766572666c6f7760281b604482015290519081900360640190fd5b9392505050565b6001600160a01b038216610c5c576040805162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015290519081900360640190fd5b610c6860008383610dc9565b600254610c759082610ba2565b6002556001600160a01b038216600090815260208190526040902054610c9b9082610ba2565b6001600160a01b038316600081815260208181526040808320949094558351858152935192939192600080516020610f478339815191529281900390910190a35050565b6001600160a01b038216610d245760405162461bcd60e51b8152600401808060200182810382526021815260200180610f676021913960400191505060405180910390fd5b610d3082600083610dc9565b610d6d81604051806060016040528060228152602001610e4f602291396001600160a01b0385166000908152602081905260409020549190610b0b565b6001600160a01b038316600090815260208190526040902055600254610d939082610dce565b6002556040805182815290516000916001600160a01b03851691600080516020610f478339815191529181900360200190a35050565b505050565b600082821115610e25576040805162461bcd60e51b815260206004820152601e60248201527f536166654d6174683a207375627472616374696f6e206f766572666c6f770000604482015290519081900360640190fd5b5090039056fe45524332303a207472616e7366657220746f20746865207a65726f206164647265737345524332303a206275726e20616d6f756e7420657863656564732062616c616e63654f776e61626c653a206e6577206f776e657220697320746865207a65726f206164647265737345524332303a20617070726f766520746f20746865207a65726f206164647265737345524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e636545524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e63654f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65728be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0ddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef45524332303a206275726e2066726f6d20746865207a65726f206164647265737345524332303a207472616e736665722066726f6d20746865207a65726f206164647265737345524332303a20617070726f76652066726f6d20746865207a65726f206164647265737345524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa264697066735822122082dd975adf13f8536d957603cd7d6c82333c85d7cfb679f377012a30830b743e64736f6c634300060c0033

Deployed Bytecode Sourcemap

25069:802:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;13556:91;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;15702:169;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;15702:169:0;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;14655:108;;;:::i;:::-;;;;;;;;;;;;;;;;16353:321;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;16353:321:0;;;;;;;;;;;;;;;;;:::i;14499:91::-;;;:::i;:::-;;;;;;;;;;;;;;;;;;;17083:218;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;17083:218:0;;;;;;;;:::i;25487:107::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;25487:107:0;;;;;;;;:::i;:::-;;14826:127;;;;;;;;;;;;;;;;-1:-1:-1;14826:127:0;-1:-1:-1;;;;;14826:127:0;;:::i;24199:148::-;;;:::i;23548:87::-;;;:::i;:::-;;;;-1:-1:-1;;;;;23548:87:0;;;;;;;;;;;;;;13766:95;;;:::i;25761:107::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;25761:107:0;;;;;;;;:::i;17804:269::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;17804:269:0;;;;;;;;:::i;15166:175::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;15166:175:0;;;;;;;;:::i;15404:151::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;15404:151:0;;;;;;;;;;:::i;24502:244::-;;;;;;;;;;;;;;;;-1:-1:-1;24502:244:0;-1:-1:-1;;;;;24502:244:0;;:::i;13556:91::-;13634:5;13627:12;;;;;;;;-1:-1:-1;;13627:12:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;13601:13;;13627:12;;13634:5;;13627:12;;13634:5;13627:12;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;13556:91;:::o;15702:169::-;15785:4;15802:39;15811:12;:10;:12::i;:::-;15825:7;15834:6;15802:8;:39::i;:::-;-1:-1:-1;15859:4:0;15702:169;;;;:::o;14655:108::-;14743:12;;14655:108;:::o;16353:321::-;16459:4;16476:36;16486:6;16494:9;16505:6;16476:9;:36::i;:::-;16523:121;16532:6;16540:12;:10;:12::i;:::-;16554:89;16592:6;16554:89;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;16554:19:0;;;;;;:11;:19;;;;;;16574:12;:10;:12::i;:::-;-1:-1:-1;;;;;16554:33:0;;;;;;;;;;;;-1:-1:-1;16554:33:0;;;:89;:37;:89::i;:::-;16523:8;:121::i;:::-;-1:-1:-1;16662:4:0;16353:321;;;;;:::o;14499:91::-;14573:9;;;;14499:91;:::o;17083:218::-;17171:4;17188:83;17197:12;:10;:12::i;:::-;17211:7;17220:50;17259:10;17220:11;:25;17232:12;:10;:12::i;:::-;-1:-1:-1;;;;;17220:25:0;;;;;;;;;;;;;;;;;-1:-1:-1;17220:25:0;;;:34;;;;;;;;;;;:38;:50::i;25487:107::-;23779:12;:10;:12::i;:::-;-1:-1:-1;;;;;23768:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;23768:23:0;;23760:68;;;;;-1:-1:-1;;;23760:68:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;23760:68:0;;;;;;;;;;;;;;;25564:22:::1;25570:7;25579:6;25564:5;:22::i;:::-;25487:107:::0;;:::o;14826:127::-;-1:-1:-1;;;;;14927:18:0;14900:7;14927:18;;;;;;;;;;;;14826:127::o;24199:148::-;23779:12;:10;:12::i;:::-;-1:-1:-1;;;;;23768:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;23768:23:0;;23760:68;;;;;-1:-1:-1;;;23760:68:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;23760:68:0;;;;;;;;;;;;;;;24290:6:::1;::::0;24269:40:::1;::::0;24306:1:::1;::::0;24290:6:::1;::::0;::::1;-1:-1:-1::0;;;;;24290:6:0::1;::::0;-1:-1:-1;;;;;;;;;;;24269:40:0;24306:1;;24269:40:::1;24320:6;:19:::0;;-1:-1:-1;;;;;;24320:19:0::1;::::0;;24199:148::o;23548:87::-;23621:6;;;;;-1:-1:-1;;;;;23621:6:0;;23548:87::o;13766:95::-;13846:7;13839:14;;;;;;;;-1:-1:-1;;13839:14:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;13813:13;;13839:14;;13846:7;;13839:14;;13846:7;13839:14;;;;;;;;;;;;;;;;;;;;;;;;25761:107;23779:12;:10;:12::i;:::-;-1:-1:-1;;;;;23768:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;23768:23:0;;23760:68;;;;;-1:-1:-1;;;23760:68:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;23760:68:0;;;;;;;;;;;;;;;25838:22:::1;25844:7;25853:6;25838:5;:22::i;17804:269::-:0;17897:4;17914:129;17923:12;:10;:12::i;:::-;17937:7;17946:96;17985:15;17946:96;;;;;;;;;;;;;;;;;:11;:25;17958:12;:10;:12::i;:::-;-1:-1:-1;;;;;17946:25:0;;;;;;;;;;;;;;;;;-1:-1:-1;17946:25:0;;;:34;;;;;;;;;;;:96;:38;:96::i;15166:175::-;15252:4;15269:42;15279:12;:10;:12::i;:::-;15293:9;15304:6;15269:9;:42::i;15404:151::-;-1:-1:-1;;;;;15520:18:0;;;15493:7;15520:18;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;15404:151::o;24502:244::-;23779:12;:10;:12::i;:::-;-1:-1:-1;;;;;23768:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;23768:23:0;;23760:68;;;;;-1:-1:-1;;;23760:68:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;23760:68:0;;;;;;;;;;;;;;;-1:-1:-1;;;;;24591:22:0;::::1;24583:73;;;;-1:-1:-1::0;;;24583:73:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;24693:6;::::0;24672:38:::1;::::0;-1:-1:-1;;;;;24672:38:0;;::::1;::::0;24693:6:::1;::::0;::::1;;::::0;-1:-1:-1;;;;;;;;;;;24672:38:0;;;::::1;24721:6;:17:::0;;-1:-1:-1;;;;;24721:17:0;;::::1;;;-1:-1:-1::0;;;;;;24721:17:0;;::::1;::::0;;;::::1;::::0;;24502:244::o;737:106::-;825:10;737:106;:::o;20951:346::-;-1:-1:-1;;;;;21053:19:0;;21045:68;;;;-1:-1:-1;;;21045:68:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;21132:21:0;;21124:68;;;;-1:-1:-1;;;21124:68:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;21205:18:0;;;;;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;:36;;;21257:32;;;;;;;;;;;;;;;;;20951:346;;;:::o;18563:539::-;-1:-1:-1;;;;;18669:20:0;;18661:70;;;;-1:-1:-1;;;18661:70:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;18750:23:0;;18742:71;;;;-1:-1:-1;;;18742:71:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;18826:47;18847:6;18855:9;18866:6;18826:20;:47::i;:::-;18906:71;18928:6;18906:71;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;18906:17:0;;:9;:17;;;;;;;;;;;;:71;:21;:71::i;:::-;-1:-1:-1;;;;;18886:17:0;;;:9;:17;;;;;;;;;;;:91;;;;19011:20;;;;;;;:32;;19036:6;19011:24;:32::i;:::-;-1:-1:-1;;;;;18988:20:0;;;:9;:20;;;;;;;;;;;;:55;;;;19059:35;;;;;;;18988:20;;19059:35;;;;-1:-1:-1;;;;;;;;;;;19059:35:0;;;;;;;;18563:539;;;:::o;9542:166::-;9628:7;9664:12;9656:6;;;;9648:29;;;;-1:-1:-1;;;9648:29:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;9695:5:0;;;9542:166::o;6715:179::-;6773:7;6805:5;;;6829:6;;;;6821:46;;;;;-1:-1:-1;;;6821:46:0;;;;;;;;;;;;-1:-1:-1;;;6821:46:0;;;;;;;;;;;;;;;6885:1;6715:179;-1:-1:-1;;;6715:179:0:o;19384:378::-;-1:-1:-1;;;;;19468:21:0;;19460:65;;;;;-1:-1:-1;;;19460:65:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;19538:49;19567:1;19571:7;19580:6;19538:20;:49::i;:::-;19615:12;;:24;;19632:6;19615:16;:24::i;:::-;19600:12;:39;-1:-1:-1;;;;;19671:18:0;;:9;:18;;;;;;;;;;;:30;;19694:6;19671:22;:30::i;:::-;-1:-1:-1;;;;;19650:18:0;;:9;:18;;;;;;;;;;;:51;;;;19717:37;;;;;;;19650:18;;:9;;-1:-1:-1;;;;;;;;;;;19717:37:0;;;;;;;;;19384:378;;:::o;20095:418::-;-1:-1:-1;;;;;20179:21:0;;20171:67;;;;-1:-1:-1;;;20171:67:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;20251:49;20272:7;20289:1;20293:6;20251:20;:49::i;:::-;20334:68;20357:6;20334:68;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;20334:18:0;;:9;:18;;;;;;;;;;;;:68;:22;:68::i;:::-;-1:-1:-1;;;;;20313:18:0;;:9;:18;;;;;;;;;;:89;20428:12;;:24;;20445:6;20428:16;:24::i;:::-;20413:12;:39;20468:37;;;;;;;;20494:1;;-1:-1:-1;;;;;20468:37:0;;;-1:-1:-1;;;;;;;;;;;20468:37:0;;;;;;;;20095:418;;:::o;22330:92::-;;;;:::o;7177:158::-;7235:7;7268:1;7263;:6;;7255:49;;;;;-1:-1:-1;;;7255:49:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;7322:5:0;;;7177:158::o

Swarm Source

ipfs://82dd975adf13f8536d957603cd7d6c82333c85d7cfb679f377012a30830b743e

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

OVERVIEW

Hop is a scalable rollup-to-rollup general token bridge. It allows users to send tokens from one rollup or sidechain to another almost immediately without having to wait for the networks challenge period.

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.