ETH Price: $3,482.43 (+1.98%)

Contract

0x9D4Aa5600e0C8c2085Bb82D946Ca6642742a8250
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Token Holdings

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Approve212605322024-11-24 22:17:1130 days ago1732486631IN
0x9D4Aa560...2742a8250
0 ETH0.000359597.76886692
Approve211427772024-11-08 11:58:5946 days ago1731067139IN
0x9D4Aa560...2742a8250
0 ETH0.0006208313.41273361
Upgrade Hope Non...211427662024-11-08 11:56:4746 days ago1731067007IN
0x9D4Aa560...2742a8250
0 ETH0.000886512.49913669
Upgrade Hope Non...207059482024-09-08 12:40:11107 days ago1725799211IN
0x9D4Aa560...2742a8250
0 ETH0.000085111.2
Approve205335532024-08-15 10:52:11131 days ago1723719131IN
0x9D4Aa560...2742a8250
0 ETH0.00013022.81296357
Upgrade Hope Non...205335412024-08-15 10:49:47131 days ago1723718987IN
0x9D4Aa560...2742a8250
0 ETH0.000149142.7710081
Approve196317332024-04-11 10:17:47257 days ago1712830667IN
0x9D4Aa560...2742a8250
0 ETH0.0007946817.16872757
Upgrade Hope Non...196317062024-04-11 10:12:11257 days ago1712830331IN
0x9D4Aa560...2742a8250
0 ETH0.0012712617.92409233
Approve196297602024-04-11 3:39:23257 days ago1712806763IN
0x9D4Aa560...2742a8250
0 ETH0.0006105113.18985196
Upgrade Hope Non...196297372024-04-11 3:34:47257 days ago1712806487IN
0x9D4Aa560...2742a8250
0 ETH0.0011184215.76906243
Approve186505012023-11-25 18:29:23395 days ago1700936963IN
0x9D4Aa560...2742a8250
0 ETH0.0005048720.80501955
Upgrade Hope Non...182996952023-10-07 16:06:47444 days ago1696694807IN
0x9D4Aa560...2742a8250
0 ETH0.000496477
Upgrade Hope Non...181092252023-09-10 23:24:23471 days ago1694388263IN
0x9D4Aa560...2742a8250
0 ETH0.000606678.55228234
Upgrade Hope Non...172563352023-05-14 6:25:59590 days ago1684045559IN
0x9D4Aa560...2742a8250
0 ETH0.0027716739.0789688
Approve170120122023-04-09 16:49:23625 days ago1681058963IN
0x9D4Aa560...2742a8250
0 ETH0.0005099221.01300203
Approve170103662023-04-09 11:12:11625 days ago1681038731IN
0x9D4Aa560...2742a8250
0 ETH0.0004500718.54690895
Approve170103232023-04-09 11:02:59625 days ago1681038179IN
0x9D4Aa560...2742a8250
0 ETH0.0004637519.1106589
Approve170100272023-04-09 10:02:47625 days ago1681034567IN
0x9D4Aa560...2742a8250
0 ETH0.0004751419.57989455
Approve170090112023-04-09 6:34:23625 days ago1681022063IN
0x9D4Aa560...2742a8250
0 ETH0.0004951120.40271429
Approve170085592023-04-09 5:02:47625 days ago1681016567IN
0x9D4Aa560...2742a8250
0 ETH0.0005312721.89270597
Approve170083752023-04-09 4:25:23625 days ago1681014323IN
0x9D4Aa560...2742a8250
0 ETH0.0004718919.44576445
Approve168827942023-03-22 11:19:23643 days ago1679483963IN
0x9D4Aa560...2742a8250
0 ETH0.0002868611.82119956
Approve164670342023-01-23 4:12:35701 days ago1674447155IN
0x9D4Aa560...2742a8250
0 ETH0.0007386415.86753948
Upgrade Hope Non...163396092023-01-05 9:10:59719 days ago1672909859IN
0x9D4Aa560...2742a8250
0 ETH0.0014028718.53179196
Upgrade Hope Non...163395922023-01-05 9:07:35719 days ago1672909655IN
0x9D4Aa560...2742a8250
0 ETH0.0010390317.31732696
View all transactions

View more zero value Internal Transactions in Advanced View mode

Advanced mode:
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
Hope

Compiler Version
v0.6.12+commit.27d51765

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion
File 1 of 11 : Hope.sol
// SPDX-License-Identifier: MIT

pragma solidity >=0.6.0;

import '@openzeppelin/contracts/access/Ownable.sol';
import '@openzeppelin/contracts/token/ERC20/SafeERC20.sol';
import "@openzeppelin/contracts/token/ERC20/ERC20.sol";
import '@openzeppelin/contracts/utils/EnumerableSet.sol';

import "./interface/IHopeNonTradable.sol";
import "./interface/IHopeLiquidityInitializer.sol";

contract Hope is Ownable, ERC20 {
    using SafeMath for uint256;
    using SafeERC20 for IERC20;
    using EnumerableSet for EnumerableSet.AddressSet;

    EnumerableSet.AddressSet private _whitelisted;

    IHopeNonTradable public hopeNonTradable;

    IHopeLiquidityInitializer initializer;

    // Whether HopeNonTradable can be upgraded for Hope or not
    bool public isUpgradeActive = true;
    bool public isLiquidityInitialized = false;

    //////////////////////////////////////////////////
    //////////////////////////////////////////////////
    //////////////////////////////////////////////////

    constructor(IHopeNonTradable _hopeNonTradable, bool _isLiquidityInitialized) public ERC20("HOPE", "HOPE") {
        hopeNonTradable = _hopeNonTradable;
        isLiquidityInitialized = _isLiquidityInitialized; // For testing
    }

    //////////////////////////////////////////////////
    //////////////////////////////////////////////////
    //////////////////////////////////////////////////

    ///////////////
    // Modifiers //
    ///////////////

    modifier onlyWhitelisted() {
        require(_whitelisted.contains(msg.sender), "Address not whitelisted");
        _;
    }

    ///////////
    // Admin //
    ///////////

    function addWhitelisted(address _toAdd) public onlyOwner {
        _whitelisted.add(_toAdd);
    }

    function removeWhitelisted(address _toRemove) public onlyOwner {
        _whitelisted.add(_toRemove);
    }

    function setUpgradeActive(bool _state) public onlyOwner {
        isUpgradeActive = _state;
    }

    function setLiquidityInitializer(IHopeLiquidityInitializer _initializer) public onlyOwner {
        require(isLiquidityInitialized == false, "Liquidity already initialized");
        initializer = _initializer;
    }

    /////////////////
    // Whitelisted //
    /////////////////

    function burn(address _account, uint256 _amount) public onlyWhitelisted {
        _burn(_account, _amount);
    }

    function mint(address _account, uint256 _amount) public onlyWhitelisted {
        _mint(_account, _amount);
    }

    //////////
    // View //
    //////////

    function getWhitelisted() external view returns(address[] memory) {
        uint256 length = _whitelisted.length();
        address[] memory result = new address[](length);

        for (uint256 i=0; i < length; i++) {
            result[i] = _whitelisted.at(i);
        }

        return result;
    }

    ///////////
    // Other //
    ///////////

    function setLiquidityInitialized() public {
        require(msg.sender == address(initializer));
        isLiquidityInitialized = true;
    }

    function upgradeHopeNonTradable(uint256 _amount) public {
        require(owner() == msg.sender || isLiquidityInitialized, "Liquidity is not initialized");
        require(isUpgradeActive, "Upgrade is disabled");
        hopeNonTradable.burn(msg.sender, _amount);
        _mint(msg.sender, _amount);
    }
}

File 2 of 11 : Ownable.sol
// SPDX-License-Identifier: MIT

pragma solidity >=0.6.0 <0.8.0;

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

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

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

    /**
     * @dev Returns the address of the current owner.
     */
    function owner() public view 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 3 of 11 : SafeERC20.sol
// SPDX-License-Identifier: MIT

pragma solidity >=0.6.0 <0.8.0;

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

/**
 * @title SafeERC20
 * @dev Wrappers around ERC20 operations that throw on failure (when the token
 * contract returns false). Tokens that return no value (and instead revert or
 * throw on failure) are also supported, non-reverting calls are assumed to be
 * successful.
 * To use this library you can add a `using SafeERC20 for IERC20;` statement to your contract,
 * which allows you to call the safe operations as `token.safeTransfer(...)`, etc.
 */
library SafeERC20 {
    using SafeMath for uint256;
    using Address for address;

    function safeTransfer(IERC20 token, address to, uint256 value) internal {
        _callOptionalReturn(token, abi.encodeWithSelector(token.transfer.selector, to, value));
    }

    function safeTransferFrom(IERC20 token, address from, address to, uint256 value) internal {
        _callOptionalReturn(token, abi.encodeWithSelector(token.transferFrom.selector, from, to, value));
    }

    /**
     * @dev Deprecated. This function has issues similar to the ones found in
     * {IERC20-approve}, and its usage is discouraged.
     *
     * Whenever possible, use {safeIncreaseAllowance} and
     * {safeDecreaseAllowance} instead.
     */
    function safeApprove(IERC20 token, address spender, uint256 value) internal {
        // safeApprove should only be called when setting an initial allowance,
        // or when resetting it to zero. To increase and decrease it, use
        // 'safeIncreaseAllowance' and 'safeDecreaseAllowance'
        // solhint-disable-next-line max-line-length
        require((value == 0) || (token.allowance(address(this), spender) == 0),
            "SafeERC20: approve from non-zero to non-zero allowance"
        );
        _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, value));
    }

    function safeIncreaseAllowance(IERC20 token, address spender, uint256 value) internal {
        uint256 newAllowance = token.allowance(address(this), spender).add(value);
        _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance));
    }

    function safeDecreaseAllowance(IERC20 token, address spender, uint256 value) internal {
        uint256 newAllowance = token.allowance(address(this), spender).sub(value, "SafeERC20: decreased allowance below zero");
        _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance));
    }

    /**
     * @dev Imitates a Solidity high-level call (i.e. a regular function call to a contract), relaxing the requirement
     * on the return value: the return value is optional (but if data is returned, it must not be false).
     * @param token The token targeted by the call.
     * @param data The call data (encoded using abi.encode or one of its variants).
     */
    function _callOptionalReturn(IERC20 token, bytes memory data) private {
        // We need to perform a low level call here, to bypass Solidity's return data size checking mechanism, since
        // we're implementing it ourselves. We use {Address.functionCall} to perform this call, which verifies that
        // the target address contains contract code and also asserts for success in the low-level call.

        bytes memory returndata = address(token).functionCall(data, "SafeERC20: low-level call failed");
        if (returndata.length > 0) { // Return data is optional
            // solhint-disable-next-line max-line-length
            require(abi.decode(returndata, (bool)), "SafeERC20: ERC20 operation did not succeed");
        }
    }
}

File 4 of 11 : ERC20.sol
// SPDX-License-Identifier: MIT

pragma solidity >=0.6.0 <0.8.0;

import "../../GSN/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 returns (string memory) {
        return _name;
    }

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

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

    /**
     * @dev See {IERC20-balanceOf}.
     */
    function balanceOf(address account) public view 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 {
        _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 5 of 11 : EnumerableSet.sol
// SPDX-License-Identifier: MIT

pragma solidity >=0.6.0 <0.8.0;

/**
 * @dev Library for managing
 * https://en.wikipedia.org/wiki/Set_(abstract_data_type)[sets] of primitive
 * types.
 *
 * Sets have the following properties:
 *
 * - Elements are added, removed, and checked for existence in constant time
 * (O(1)).
 * - Elements are enumerated in O(n). No guarantees are made on the ordering.
 *
 * ```
 * contract Example {
 *     // Add the library methods
 *     using EnumerableSet for EnumerableSet.AddressSet;
 *
 *     // Declare a set state variable
 *     EnumerableSet.AddressSet private mySet;
 * }
 * ```
 *
 * As of v3.3.0, sets of type `bytes32` (`Bytes32Set`), `address` (`AddressSet`)
 * and `uint256` (`UintSet`) are supported.
 */
library EnumerableSet {
    // To implement this library for multiple types with as little code
    // repetition as possible, we write it in terms of a generic Set type with
    // bytes32 values.
    // The Set implementation uses private functions, and user-facing
    // implementations (such as AddressSet) are just wrappers around the
    // underlying Set.
    // This means that we can only create new EnumerableSets for types that fit
    // in bytes32.

    struct Set {
        // Storage of set values
        bytes32[] _values;

        // Position of the value in the `values` array, plus 1 because index 0
        // means a value is not in the set.
        mapping (bytes32 => uint256) _indexes;
    }

    /**
     * @dev Add a value to a set. O(1).
     *
     * Returns true if the value was added to the set, that is if it was not
     * already present.
     */
    function _add(Set storage set, bytes32 value) private returns (bool) {
        if (!_contains(set, value)) {
            set._values.push(value);
            // The value is stored at length-1, but we add 1 to all indexes
            // and use 0 as a sentinel value
            set._indexes[value] = set._values.length;
            return true;
        } else {
            return false;
        }
    }

    /**
     * @dev Removes a value from a set. O(1).
     *
     * Returns true if the value was removed from the set, that is if it was
     * present.
     */
    function _remove(Set storage set, bytes32 value) private returns (bool) {
        // We read and store the value's index to prevent multiple reads from the same storage slot
        uint256 valueIndex = set._indexes[value];

        if (valueIndex != 0) { // Equivalent to contains(set, value)
            // To delete an element from the _values array in O(1), we swap the element to delete with the last one in
            // the array, and then remove the last element (sometimes called as 'swap and pop').
            // This modifies the order of the array, as noted in {at}.

            uint256 toDeleteIndex = valueIndex - 1;
            uint256 lastIndex = set._values.length - 1;

            // When the value to delete is the last one, the swap operation is unnecessary. However, since this occurs
            // so rarely, we still do the swap anyway to avoid the gas cost of adding an 'if' statement.

            bytes32 lastvalue = set._values[lastIndex];

            // Move the last value to the index where the value to delete is
            set._values[toDeleteIndex] = lastvalue;
            // Update the index for the moved value
            set._indexes[lastvalue] = toDeleteIndex + 1; // All indexes are 1-based

            // Delete the slot where the moved value was stored
            set._values.pop();

            // Delete the index for the deleted slot
            delete set._indexes[value];

            return true;
        } else {
            return false;
        }
    }

    /**
     * @dev Returns true if the value is in the set. O(1).
     */
    function _contains(Set storage set, bytes32 value) private view returns (bool) {
        return set._indexes[value] != 0;
    }

    /**
     * @dev Returns the number of values on the set. O(1).
     */
    function _length(Set storage set) private view returns (uint256) {
        return set._values.length;
    }

   /**
    * @dev Returns the value stored at position `index` in the set. O(1).
    *
    * Note that there are no guarantees on the ordering of values inside the
    * array, and it may change when more values are added or removed.
    *
    * Requirements:
    *
    * - `index` must be strictly less than {length}.
    */
    function _at(Set storage set, uint256 index) private view returns (bytes32) {
        require(set._values.length > index, "EnumerableSet: index out of bounds");
        return set._values[index];
    }

    // Bytes32Set

    struct Bytes32Set {
        Set _inner;
    }

    /**
     * @dev Add a value to a set. O(1).
     *
     * Returns true if the value was added to the set, that is if it was not
     * already present.
     */
    function add(Bytes32Set storage set, bytes32 value) internal returns (bool) {
        return _add(set._inner, value);
    }

    /**
     * @dev Removes a value from a set. O(1).
     *
     * Returns true if the value was removed from the set, that is if it was
     * present.
     */
    function remove(Bytes32Set storage set, bytes32 value) internal returns (bool) {
        return _remove(set._inner, value);
    }

    /**
     * @dev Returns true if the value is in the set. O(1).
     */
    function contains(Bytes32Set storage set, bytes32 value) internal view returns (bool) {
        return _contains(set._inner, value);
    }

    /**
     * @dev Returns the number of values in the set. O(1).
     */
    function length(Bytes32Set storage set) internal view returns (uint256) {
        return _length(set._inner);
    }

   /**
    * @dev Returns the value stored at position `index` in the set. O(1).
    *
    * Note that there are no guarantees on the ordering of values inside the
    * array, and it may change when more values are added or removed.
    *
    * Requirements:
    *
    * - `index` must be strictly less than {length}.
    */
    function at(Bytes32Set storage set, uint256 index) internal view returns (bytes32) {
        return _at(set._inner, index);
    }

    // AddressSet

    struct AddressSet {
        Set _inner;
    }

    /**
     * @dev Add a value to a set. O(1).
     *
     * Returns true if the value was added to the set, that is if it was not
     * already present.
     */
    function add(AddressSet storage set, address value) internal returns (bool) {
        return _add(set._inner, bytes32(uint256(value)));
    }

    /**
     * @dev Removes a value from a set. O(1).
     *
     * Returns true if the value was removed from the set, that is if it was
     * present.
     */
    function remove(AddressSet storage set, address value) internal returns (bool) {
        return _remove(set._inner, bytes32(uint256(value)));
    }

    /**
     * @dev Returns true if the value is in the set. O(1).
     */
    function contains(AddressSet storage set, address value) internal view returns (bool) {
        return _contains(set._inner, bytes32(uint256(value)));
    }

    /**
     * @dev Returns the number of values in the set. O(1).
     */
    function length(AddressSet storage set) internal view returns (uint256) {
        return _length(set._inner);
    }

   /**
    * @dev Returns the value stored at position `index` in the set. O(1).
    *
    * Note that there are no guarantees on the ordering of values inside the
    * array, and it may change when more values are added or removed.
    *
    * Requirements:
    *
    * - `index` must be strictly less than {length}.
    */
    function at(AddressSet storage set, uint256 index) internal view returns (address) {
        return address(uint256(_at(set._inner, index)));
    }


    // UintSet

    struct UintSet {
        Set _inner;
    }

    /**
     * @dev Add a value to a set. O(1).
     *
     * Returns true if the value was added to the set, that is if it was not
     * already present.
     */
    function add(UintSet storage set, uint256 value) internal returns (bool) {
        return _add(set._inner, bytes32(value));
    }

    /**
     * @dev Removes a value from a set. O(1).
     *
     * Returns true if the value was removed from the set, that is if it was
     * present.
     */
    function remove(UintSet storage set, uint256 value) internal returns (bool) {
        return _remove(set._inner, bytes32(value));
    }

    /**
     * @dev Returns true if the value is in the set. O(1).
     */
    function contains(UintSet storage set, uint256 value) internal view returns (bool) {
        return _contains(set._inner, bytes32(value));
    }

    /**
     * @dev Returns the number of values on the set. O(1).
     */
    function length(UintSet storage set) internal view returns (uint256) {
        return _length(set._inner);
    }

   /**
    * @dev Returns the value stored at position `index` in the set. O(1).
    *
    * Note that there are no guarantees on the ordering of values inside the
    * array, and it may change when more values are added or removed.
    *
    * Requirements:
    *
    * - `index` must be strictly less than {length}.
    */
    function at(UintSet storage set, uint256 index) internal view returns (uint256) {
        return uint256(_at(set._inner, index));
    }
}

File 6 of 11 : IHopeNonTradable.sol
// SPDX-License-Identifier: MIT

pragma solidity >=0.6.0;

interface IHopeNonTradable {
    function totalSupply() external view returns (uint256);

    function totalClaimed() external view returns (uint256);

    function addClaimed(uint256 _amount) external;

    function setClaimed(uint256 _amount) external;

    function transfer(address receiver, uint numTokens) external returns (bool);

    function transferFrom(address owner, address buyer, uint numTokens) external returns (bool);

    function balanceOf(address owner) external view returns (uint256);

    function mint(address _to, uint256 _amount) external;

    function burn(address _account, uint256 value) external;
}

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

pragma solidity >=0.6.0;

interface IHopeLiquidityInitializer {
    function initializeLiquidity() external;
}

File 8 of 11 : 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 9 of 11 : 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 10 of 11 : 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, 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) {
        return sub(a, b, "SafeMath: subtraction overflow");
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting with custom message on
     * overflow (when the result is negative).
     *
     * 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);
        uint256 c = a - b;

        return c;
    }

    /**
     * @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) {
        // 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 0;
        }

        uint256 c = a * b;
        require(c / a == b, "SafeMath: multiplication overflow");

        return c;
    }

    /**
     * @dev Returns the integer division of two unsigned integers. Reverts 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) {
        return div(a, b, "SafeMath: division by zero");
    }

    /**
     * @dev Returns the integer division of two unsigned integers. Reverts with custom message 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, string memory errorMessage) internal pure returns (uint256) {
        require(b > 0, errorMessage);
        uint256 c = a / b;
        // assert(a == b * c + a % b); // There is no case in which this doesn't hold

        return c;
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * Reverts 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) {
        return mod(a, b, "SafeMath: modulo by zero");
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * Reverts with custom message 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, string memory errorMessage) internal pure returns (uint256) {
        require(b != 0, errorMessage);
        return a % b;
    }
}

File 11 of 11 : Address.sol
// SPDX-License-Identifier: MIT

pragma solidity >=0.6.2 <0.8.0;

/**
 * @dev Collection of functions related to the address type
 */
library Address {
    /**
     * @dev Returns true if `account` is a contract.
     *
     * [IMPORTANT]
     * ====
     * It is unsafe to assume that an address for which this function returns
     * false is an externally-owned account (EOA) and not a contract.
     *
     * Among others, `isContract` will return false for the following
     * types of addresses:
     *
     *  - an externally-owned account
     *  - a contract in construction
     *  - an address where a contract will be created
     *  - an address where a contract lived, but was destroyed
     * ====
     */
    function isContract(address account) internal view returns (bool) {
        // This method relies on extcodesize, which returns 0 for contracts in
        // construction, since the code is only stored at the end of the
        // constructor execution.

        uint256 size;
        // solhint-disable-next-line no-inline-assembly
        assembly { size := extcodesize(account) }
        return size > 0;
    }

    /**
     * @dev Replacement for Solidity's `transfer`: sends `amount` wei to
     * `recipient`, forwarding all available gas and reverting on errors.
     *
     * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost
     * of certain opcodes, possibly making contracts go over the 2300 gas limit
     * imposed by `transfer`, making them unable to receive funds via
     * `transfer`. {sendValue} removes this limitation.
     *
     * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more].
     *
     * IMPORTANT: because control is transferred to `recipient`, care must be
     * taken to not create reentrancy vulnerabilities. Consider using
     * {ReentrancyGuard} or the
     * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern].
     */
    function sendValue(address payable recipient, uint256 amount) internal {
        require(address(this).balance >= amount, "Address: insufficient balance");

        // solhint-disable-next-line avoid-low-level-calls, avoid-call-value
        (bool success, ) = recipient.call{ value: amount }("");
        require(success, "Address: unable to send value, recipient may have reverted");
    }

    /**
     * @dev Performs a Solidity function call using a low level `call`. A
     * plain`call` is an unsafe replacement for a function call: use this
     * function instead.
     *
     * If `target` reverts with a revert reason, it is bubbled up by this
     * function (like regular Solidity function calls).
     *
     * Returns the raw returned data. To convert to the expected return value,
     * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`].
     *
     * Requirements:
     *
     * - `target` must be a contract.
     * - calling `target` with `data` must not revert.
     *
     * _Available since v3.1._
     */
    function functionCall(address target, bytes memory data) internal returns (bytes memory) {
      return functionCall(target, data, "Address: low-level call failed");
    }

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

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

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

        // solhint-disable-next-line avoid-low-level-calls
        (bool success, bytes memory returndata) = target.call{ value: value }(data);
        return _verifyCallResult(success, returndata, errorMessage);
    }

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

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

        // solhint-disable-next-line avoid-low-level-calls
        (bool success, bytes memory returndata) = target.staticcall(data);
        return _verifyCallResult(success, returndata, errorMessage);
    }

    function _verifyCallResult(bool success, bytes memory returndata, string memory errorMessage) private pure returns(bytes memory) {
        if (success) {
            return returndata;
        } else {
            // Look for revert reason and bubble it up if present
            if (returndata.length > 0) {
                // The easiest way to bubble the revert reason is using memory via assembly

                // solhint-disable-next-line no-inline-assembly
                assembly {
                    let returndata_size := mload(returndata)
                    revert(add(32, returndata), returndata_size)
                }
            } else {
                revert(errorMessage);
            }
        }
    }
}

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"contract IHopeNonTradable","name":"_hopeNonTradable","type":"address"},{"internalType":"bool","name":"_isLiquidityInitialized","type":"bool"}],"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":"_toAdd","type":"address"}],"name":"addWhitelisted","outputs":[],"stateMutability":"nonpayable","type":"function"},{"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":[],"name":"getWhitelisted","outputs":[{"internalType":"address[]","name":"","type":"address[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"hopeNonTradable","outputs":[{"internalType":"contract IHopeNonTradable","name":"","type":"address"}],"stateMutability":"view","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":"isLiquidityInitialized","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isUpgradeActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","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":[{"internalType":"address","name":"_toRemove","type":"address"}],"name":"removeWhitelisted","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"setLiquidityInitialized","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"contract IHopeLiquidityInitializer","name":"_initializer","type":"address"}],"name":"setLiquidityInitializer","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_state","type":"bool"}],"name":"setUpgradeActive","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"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"upgradeHopeNonTradable","outputs":[],"stateMutability":"nonpayable","type":"function"}]

6080604052600a805460ff60a81b1960ff60a01b19909116600160a01b171690553480156200002d57600080fd5b50604051620018dc380380620018dc833981810160405260408110156200005357600080fd5b508051602091820151604080518082018252600480825263484f504560e01b8287018190528351808501909452908352948201949094529192909160006200009a62000163565b600080546001600160a01b0319166001600160a01b0383169081178255604051929350917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a3508151620000f990600490602085019062000167565b5080516200010f90600590602084019062000167565b50506006805460ff1916601217905550600980546001600160a01b039093166001600160a01b031990931692909217909155600a8054911515600160a81b0260ff60a81b1990921691909117905562000203565b3390565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f10620001aa57805160ff1916838001178555620001da565b82800160010185558215620001da579182015b82811115620001da578251825591602001919060010190620001bd565b50620001e8929150620001ec565b5090565b5b80821115620001e85760008155600101620001ed565b6116c980620002136000396000f3fe608060405234801561001057600080fd5b506004361061018e5760003560e01c80635290b005116100de5780639b372b2b11610097578063a9059cbb11610071578063a9059cbb146104c2578063b1ccb828146104ee578063dd62ed3e146104f6578063f2fde38b146105245761018e565b80639b372b2b146104125780639dc29fac1461046a578063a457c2d7146104965761018e565b80635290b0051461038f57806370a08231146103ae578063715018a6146103d45780638ca6bd76146103dc5780638da5cb5b1461040257806395d89b411461040a5761018e565b806323b872dd1161014b5780633950935111610125578063395093511461030b5780633b1fe1fa1461033757806340c10f191461035b5780634915a97d146103875761018e565b806323b872dd146102b7578063291d954914610277578063313ce567146102ed5761018e565b8063026ccfba14610193578063065f02db146101b257806306fdde03146101ce578063095ea7b31461024b57806310154bad1461027757806318160ddd1461029d575b600080fd5b6101b0600480360360208110156101a957600080fd5b503561054a565b005b6101ba61068e565b604080519115158252519081900360200190f35b6101d661069e565b6040805160208082528351818301528351919283929083019185019080838360005b838110156102105781810151838201526020016101f8565b50505050905090810190601f16801561023d5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6101ba6004803603604081101561026157600080fd5b506001600160a01b038135169060200135610734565b6101b06004803603602081101561028d57600080fd5b50356001600160a01b0316610752565b6102a56107b9565b60408051918252519081900360200190f35b6101ba600480360360608110156102cd57600080fd5b506001600160a01b038135811691602081013590911690604001356107bf565b6102f5610846565b6040805160ff9092168252519081900360200190f35b6101ba6004803603604081101561032157600080fd5b506001600160a01b03813516906020013561084f565b61033f61089d565b604080516001600160a01b039092168252519081900360200190f35b6101b06004803603604081101561037157600080fd5b506001600160a01b0381351690602001356108ac565b6101b061090c565b6101b0600480360360208110156103a557600080fd5b50351515610938565b6102a5600480360360208110156103c457600080fd5b50356001600160a01b03166109ae565b6101b06109c9565b6101b0600480360360208110156103f257600080fd5b50356001600160a01b0316610a6b565b61033f610b44565b6101d6610b53565b61041a610bb4565b60408051602080825283518183015283519192839290830191858101910280838360005b8381101561045657818101518382015260200161043e565b505050509050019250505060405180910390f35b6101b06004803603604081101561048057600080fd5b506001600160a01b038135169060200135610c53565b6101ba600480360360408110156104ac57600080fd5b506001600160a01b038135169060200135610cb3565b6101ba600480360360408110156104d857600080fd5b506001600160a01b038135169060200135610d1b565b6101ba610d2f565b6102a56004803603604081101561050c57600080fd5b506001600160a01b0381358116916020013516610d3f565b6101b06004803603602081101561053a57600080fd5b50356001600160a01b0316610d6a565b33610553610b44565b6001600160a01b031614806105715750600a54600160a81b900460ff165b6105c2576040805162461bcd60e51b815260206004820152601c60248201527f4c6971756964697479206973206e6f7420696e697469616c697a656400000000604482015290519081900360640190fd5b600a54600160a01b900460ff16610616576040805162461bcd60e51b8152602060048201526013602482015272155c19dc985919481a5cc8191a5cd8589b1959606a1b604482015290519081900360640190fd5b60095460408051632770a7eb60e21b81523360048201526024810184905290516001600160a01b0390921691639dc29fac9160448082019260009290919082900301818387803b15801561066957600080fd5b505af115801561067d573d6000803e3d6000fd5b5050505061068b3382610e62565b50565b600a54600160a01b900460ff1681565b60048054604080516020601f600260001961010060018816150201909516949094049384018190048102820181019092528281526060939092909183018282801561072a5780601f106106ff5761010080835404028352916020019161072a565b820191906000526020600020905b81548152906001019060200180831161070d57829003601f168201915b5050505050905090565b6000610748610741610f54565b8484610f58565b5060015b92915050565b61075a610f54565b6000546001600160a01b039081169116146107aa576040805162461bcd60e51b815260206004820181905260248201526000805160206115e5833981519152604482015290519081900360640190fd5b6107b5600782611044565b5050565b60035490565b60006107cc848484611060565b61083c846107d8610f54565b610837856040518060600160405280602881526020016115bd602891396001600160a01b038a16600090815260026020526040812090610816610f54565b6001600160a01b0316815260208101919091526040016000205491906111bd565b610f58565b5060019392505050565b60065460ff1690565b600061074861085c610f54565b84610837856002600061086d610f54565b6001600160a01b03908116825260208083019390935260409182016000908120918c168152925290205490611254565b6009546001600160a01b031681565b6108b76007336112ae565b610902576040805162461bcd60e51b81526020600482015260176024820152761059191c995cdcc81b9bdd081dda1a5d195b1a5cdd1959604a1b604482015290519081900360640190fd5b6107b58282610e62565b600a546001600160a01b0316331461092357600080fd5b600a805460ff60a81b1916600160a81b179055565b610940610f54565b6000546001600160a01b03908116911614610990576040805162461bcd60e51b815260206004820181905260248201526000805160206115e5833981519152604482015290519081900360640190fd5b600a8054911515600160a01b0260ff60a01b19909216919091179055565b6001600160a01b031660009081526001602052604090205490565b6109d1610f54565b6000546001600160a01b03908116911614610a21576040805162461bcd60e51b815260206004820181905260248201526000805160206115e5833981519152604482015290519081900360640190fd5b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b610a73610f54565b6000546001600160a01b03908116911614610ac3576040805162461bcd60e51b815260206004820181905260248201526000805160206115e5833981519152604482015290519081900360640190fd5b600a54600160a81b900460ff1615610b22576040805162461bcd60e51b815260206004820152601d60248201527f4c697175696469747920616c726561647920696e697469616c697a6564000000604482015290519081900360640190fd5b600a80546001600160a01b0319166001600160a01b0392909216919091179055565b6000546001600160a01b031690565b60058054604080516020601f600260001961010060018816150201909516949094049384018190048102820181019092528281526060939092909183018282801561072a5780601f106106ff5761010080835404028352916020019161072a565b60606000610bc260076112c3565b905060608167ffffffffffffffff81118015610bdd57600080fd5b50604051908082528060200260200182016040528015610c07578160200160208202803683370190505b50905060005b82811015610c4c57610c206007826112ce565b828281518110610c2c57fe5b6001600160a01b0390921660209283029190910190910152600101610c0d565b5091505090565b610c5e6007336112ae565b610ca9576040805162461bcd60e51b81526020600482015260176024820152761059191c995cdcc81b9bdd081dda1a5d195b1a5cdd1959604a1b604482015290519081900360640190fd5b6107b582826112da565b6000610748610cc0610f54565b846108378560405180606001604052806025815260200161166f6025913960026000610cea610f54565b6001600160a01b03908116825260208083019390935260409182016000908120918d168152925290205491906111bd565b6000610748610d28610f54565b8484611060565b600a54600160a81b900460ff1681565b6001600160a01b03918216600090815260026020908152604080832093909416825291909152205490565b610d72610f54565b6000546001600160a01b03908116911614610dc2576040805162461bcd60e51b815260206004820181905260248201526000805160206115e5833981519152604482015290519081900360640190fd5b6001600160a01b038116610e075760405162461bcd60e51b815260040180806020018281038252602681526020018061154f6026913960400191505060405180910390fd5b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b6001600160a01b038216610ebd576040805162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015290519081900360640190fd5b610ec9600083836113d6565b600354610ed69082611254565b6003556001600160a01b038216600090815260016020526040902054610efc9082611254565b6001600160a01b03831660008181526001602090815260408083209490945583518581529351929391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a35050565b3390565b6001600160a01b038316610f9d5760405162461bcd60e51b815260040180806020018281038252602481526020018061164b6024913960400191505060405180910390fd5b6001600160a01b038216610fe25760405162461bcd60e51b81526004018080602001828103825260228152602001806115756022913960400191505060405180910390fd5b6001600160a01b03808416600081815260026020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a3505050565b6000611059836001600160a01b0384166113db565b9392505050565b6001600160a01b0383166110a55760405162461bcd60e51b81526004018080602001828103825260258152602001806116266025913960400191505060405180910390fd5b6001600160a01b0382166110ea5760405162461bcd60e51b815260040180806020018281038252602381526020018061150a6023913960400191505060405180910390fd5b6110f58383836113d6565b61113281604051806060016040528060268152602001611597602691396001600160a01b03861660009081526001602052604090205491906111bd565b6001600160a01b0380851660009081526001602052604080822093909355908416815220546111619082611254565b6001600160a01b0380841660008181526001602090815260409182902094909455805185815290519193928716927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a3505050565b6000818484111561124c5760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b838110156112115781810151838201526020016111f9565b50505050905090810190601f16801561123e5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b600082820183811015611059576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b6000611059836001600160a01b038416611425565b600061074c8261143d565b60006110598383611441565b6001600160a01b03821661131f5760405162461bcd60e51b81526004018080602001828103825260218152602001806116056021913960400191505060405180910390fd5b61132b826000836113d6565b6113688160405180606001604052806022815260200161152d602291396001600160a01b03851660009081526001602052604090205491906111bd565b6001600160a01b03831660009081526001602052604090205560035461138e90826114a5565b6003556040805182815290516000916001600160a01b038516917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9181900360200190a35050565b505050565b60006113e78383611425565b61141d5750815460018181018455600084815260208082209093018490558454848252828601909352604090209190915561074c565b50600061074c565b60009081526001919091016020526040902054151590565b5490565b815460009082106114835760405162461bcd60e51b81526004018080602001828103825260228152602001806114e86022913960400191505060405180910390fd5b82600001828154811061149257fe5b9060005260206000200154905092915050565b600061105983836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f7700008152506111bd56fe456e756d657261626c655365743a20696e646578206f7574206f6620626f756e647345524332303a207472616e7366657220746f20746865207a65726f206164647265737345524332303a206275726e20616d6f756e7420657863656564732062616c616e63654f776e61626c653a206e6577206f776e657220697320746865207a65726f206164647265737345524332303a20617070726f766520746f20746865207a65726f206164647265737345524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e636545524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e63654f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657245524332303a206275726e2066726f6d20746865207a65726f206164647265737345524332303a207472616e736665722066726f6d20746865207a65726f206164647265737345524332303a20617070726f76652066726f6d20746865207a65726f206164647265737345524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa2646970667358221220bf6c64214c224767f815f86ad9d399ba5dc4e6c04a27afb9a91da2a0b8d1ec1b64736f6c634300060c00330000000000000000000000001eadc903341cfdb3406a04506239f52d076b170b0000000000000000000000000000000000000000000000000000000000000000

Deployed Bytecode

0x608060405234801561001057600080fd5b506004361061018e5760003560e01c80635290b005116100de5780639b372b2b11610097578063a9059cbb11610071578063a9059cbb146104c2578063b1ccb828146104ee578063dd62ed3e146104f6578063f2fde38b146105245761018e565b80639b372b2b146104125780639dc29fac1461046a578063a457c2d7146104965761018e565b80635290b0051461038f57806370a08231146103ae578063715018a6146103d45780638ca6bd76146103dc5780638da5cb5b1461040257806395d89b411461040a5761018e565b806323b872dd1161014b5780633950935111610125578063395093511461030b5780633b1fe1fa1461033757806340c10f191461035b5780634915a97d146103875761018e565b806323b872dd146102b7578063291d954914610277578063313ce567146102ed5761018e565b8063026ccfba14610193578063065f02db146101b257806306fdde03146101ce578063095ea7b31461024b57806310154bad1461027757806318160ddd1461029d575b600080fd5b6101b0600480360360208110156101a957600080fd5b503561054a565b005b6101ba61068e565b604080519115158252519081900360200190f35b6101d661069e565b6040805160208082528351818301528351919283929083019185019080838360005b838110156102105781810151838201526020016101f8565b50505050905090810190601f16801561023d5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6101ba6004803603604081101561026157600080fd5b506001600160a01b038135169060200135610734565b6101b06004803603602081101561028d57600080fd5b50356001600160a01b0316610752565b6102a56107b9565b60408051918252519081900360200190f35b6101ba600480360360608110156102cd57600080fd5b506001600160a01b038135811691602081013590911690604001356107bf565b6102f5610846565b6040805160ff9092168252519081900360200190f35b6101ba6004803603604081101561032157600080fd5b506001600160a01b03813516906020013561084f565b61033f61089d565b604080516001600160a01b039092168252519081900360200190f35b6101b06004803603604081101561037157600080fd5b506001600160a01b0381351690602001356108ac565b6101b061090c565b6101b0600480360360208110156103a557600080fd5b50351515610938565b6102a5600480360360208110156103c457600080fd5b50356001600160a01b03166109ae565b6101b06109c9565b6101b0600480360360208110156103f257600080fd5b50356001600160a01b0316610a6b565b61033f610b44565b6101d6610b53565b61041a610bb4565b60408051602080825283518183015283519192839290830191858101910280838360005b8381101561045657818101518382015260200161043e565b505050509050019250505060405180910390f35b6101b06004803603604081101561048057600080fd5b506001600160a01b038135169060200135610c53565b6101ba600480360360408110156104ac57600080fd5b506001600160a01b038135169060200135610cb3565b6101ba600480360360408110156104d857600080fd5b506001600160a01b038135169060200135610d1b565b6101ba610d2f565b6102a56004803603604081101561050c57600080fd5b506001600160a01b0381358116916020013516610d3f565b6101b06004803603602081101561053a57600080fd5b50356001600160a01b0316610d6a565b33610553610b44565b6001600160a01b031614806105715750600a54600160a81b900460ff165b6105c2576040805162461bcd60e51b815260206004820152601c60248201527f4c6971756964697479206973206e6f7420696e697469616c697a656400000000604482015290519081900360640190fd5b600a54600160a01b900460ff16610616576040805162461bcd60e51b8152602060048201526013602482015272155c19dc985919481a5cc8191a5cd8589b1959606a1b604482015290519081900360640190fd5b60095460408051632770a7eb60e21b81523360048201526024810184905290516001600160a01b0390921691639dc29fac9160448082019260009290919082900301818387803b15801561066957600080fd5b505af115801561067d573d6000803e3d6000fd5b5050505061068b3382610e62565b50565b600a54600160a01b900460ff1681565b60048054604080516020601f600260001961010060018816150201909516949094049384018190048102820181019092528281526060939092909183018282801561072a5780601f106106ff5761010080835404028352916020019161072a565b820191906000526020600020905b81548152906001019060200180831161070d57829003601f168201915b5050505050905090565b6000610748610741610f54565b8484610f58565b5060015b92915050565b61075a610f54565b6000546001600160a01b039081169116146107aa576040805162461bcd60e51b815260206004820181905260248201526000805160206115e5833981519152604482015290519081900360640190fd5b6107b5600782611044565b5050565b60035490565b60006107cc848484611060565b61083c846107d8610f54565b610837856040518060600160405280602881526020016115bd602891396001600160a01b038a16600090815260026020526040812090610816610f54565b6001600160a01b0316815260208101919091526040016000205491906111bd565b610f58565b5060019392505050565b60065460ff1690565b600061074861085c610f54565b84610837856002600061086d610f54565b6001600160a01b03908116825260208083019390935260409182016000908120918c168152925290205490611254565b6009546001600160a01b031681565b6108b76007336112ae565b610902576040805162461bcd60e51b81526020600482015260176024820152761059191c995cdcc81b9bdd081dda1a5d195b1a5cdd1959604a1b604482015290519081900360640190fd5b6107b58282610e62565b600a546001600160a01b0316331461092357600080fd5b600a805460ff60a81b1916600160a81b179055565b610940610f54565b6000546001600160a01b03908116911614610990576040805162461bcd60e51b815260206004820181905260248201526000805160206115e5833981519152604482015290519081900360640190fd5b600a8054911515600160a01b0260ff60a01b19909216919091179055565b6001600160a01b031660009081526001602052604090205490565b6109d1610f54565b6000546001600160a01b03908116911614610a21576040805162461bcd60e51b815260206004820181905260248201526000805160206115e5833981519152604482015290519081900360640190fd5b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b610a73610f54565b6000546001600160a01b03908116911614610ac3576040805162461bcd60e51b815260206004820181905260248201526000805160206115e5833981519152604482015290519081900360640190fd5b600a54600160a81b900460ff1615610b22576040805162461bcd60e51b815260206004820152601d60248201527f4c697175696469747920616c726561647920696e697469616c697a6564000000604482015290519081900360640190fd5b600a80546001600160a01b0319166001600160a01b0392909216919091179055565b6000546001600160a01b031690565b60058054604080516020601f600260001961010060018816150201909516949094049384018190048102820181019092528281526060939092909183018282801561072a5780601f106106ff5761010080835404028352916020019161072a565b60606000610bc260076112c3565b905060608167ffffffffffffffff81118015610bdd57600080fd5b50604051908082528060200260200182016040528015610c07578160200160208202803683370190505b50905060005b82811015610c4c57610c206007826112ce565b828281518110610c2c57fe5b6001600160a01b0390921660209283029190910190910152600101610c0d565b5091505090565b610c5e6007336112ae565b610ca9576040805162461bcd60e51b81526020600482015260176024820152761059191c995cdcc81b9bdd081dda1a5d195b1a5cdd1959604a1b604482015290519081900360640190fd5b6107b582826112da565b6000610748610cc0610f54565b846108378560405180606001604052806025815260200161166f6025913960026000610cea610f54565b6001600160a01b03908116825260208083019390935260409182016000908120918d168152925290205491906111bd565b6000610748610d28610f54565b8484611060565b600a54600160a81b900460ff1681565b6001600160a01b03918216600090815260026020908152604080832093909416825291909152205490565b610d72610f54565b6000546001600160a01b03908116911614610dc2576040805162461bcd60e51b815260206004820181905260248201526000805160206115e5833981519152604482015290519081900360640190fd5b6001600160a01b038116610e075760405162461bcd60e51b815260040180806020018281038252602681526020018061154f6026913960400191505060405180910390fd5b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b6001600160a01b038216610ebd576040805162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015290519081900360640190fd5b610ec9600083836113d6565b600354610ed69082611254565b6003556001600160a01b038216600090815260016020526040902054610efc9082611254565b6001600160a01b03831660008181526001602090815260408083209490945583518581529351929391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a35050565b3390565b6001600160a01b038316610f9d5760405162461bcd60e51b815260040180806020018281038252602481526020018061164b6024913960400191505060405180910390fd5b6001600160a01b038216610fe25760405162461bcd60e51b81526004018080602001828103825260228152602001806115756022913960400191505060405180910390fd5b6001600160a01b03808416600081815260026020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a3505050565b6000611059836001600160a01b0384166113db565b9392505050565b6001600160a01b0383166110a55760405162461bcd60e51b81526004018080602001828103825260258152602001806116266025913960400191505060405180910390fd5b6001600160a01b0382166110ea5760405162461bcd60e51b815260040180806020018281038252602381526020018061150a6023913960400191505060405180910390fd5b6110f58383836113d6565b61113281604051806060016040528060268152602001611597602691396001600160a01b03861660009081526001602052604090205491906111bd565b6001600160a01b0380851660009081526001602052604080822093909355908416815220546111619082611254565b6001600160a01b0380841660008181526001602090815260409182902094909455805185815290519193928716927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a3505050565b6000818484111561124c5760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b838110156112115781810151838201526020016111f9565b50505050905090810190601f16801561123e5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b600082820183811015611059576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b6000611059836001600160a01b038416611425565b600061074c8261143d565b60006110598383611441565b6001600160a01b03821661131f5760405162461bcd60e51b81526004018080602001828103825260218152602001806116056021913960400191505060405180910390fd5b61132b826000836113d6565b6113688160405180606001604052806022815260200161152d602291396001600160a01b03851660009081526001602052604090205491906111bd565b6001600160a01b03831660009081526001602052604090205560035461138e90826114a5565b6003556040805182815290516000916001600160a01b038516917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9181900360200190a35050565b505050565b60006113e78383611425565b61141d5750815460018181018455600084815260208082209093018490558454848252828601909352604090209190915561074c565b50600061074c565b60009081526001919091016020526040902054151590565b5490565b815460009082106114835760405162461bcd60e51b81526004018080602001828103825260228152602001806114e86022913960400191505060405180910390fd5b82600001828154811061149257fe5b9060005260206000200154905092915050565b600061105983836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f7700008152506111bd56fe456e756d657261626c655365743a20696e646578206f7574206f6620626f756e647345524332303a207472616e7366657220746f20746865207a65726f206164647265737345524332303a206275726e20616d6f756e7420657863656564732062616c616e63654f776e61626c653a206e6577206f776e657220697320746865207a65726f206164647265737345524332303a20617070726f766520746f20746865207a65726f206164647265737345524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e636545524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e63654f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657245524332303a206275726e2066726f6d20746865207a65726f206164647265737345524332303a207472616e736665722066726f6d20746865207a65726f206164647265737345524332303a20617070726f76652066726f6d20746865207a65726f206164647265737345524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa2646970667358221220bf6c64214c224767f815f86ad9d399ba5dc4e6c04a27afb9a91da2a0b8d1ec1b64736f6c634300060c0033

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

0000000000000000000000001eadc903341cfdb3406a04506239f52d076b170b0000000000000000000000000000000000000000000000000000000000000000

-----Decoded View---------------
Arg [0] : _hopeNonTradable (address): 0x1EadC903341CFdB3406a04506239f52D076b170B
Arg [1] : _isLiquidityInitialized (bool): False

-----Encoded View---------------
2 Constructor Arguments found :
Arg [0] : 0000000000000000000000001eadc903341cfdb3406a04506239f52d076b170b
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000000


Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

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

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
Loading...
Loading
[ Download: CSV Export  ]

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.