ETH Price: $2,279.82 (-2.73%)

Token

HQCOIN (HQCOIN)
 

Overview

Max Total Supply

1,056,223.962883101852851622 HQCOIN

Holders

256

Market

Onchain Market Cap

$0.00

Circulating Supply Market Cap

-

Other Info

Token Contract (WITH 18 Decimals)

Balance
248.160972222222222221 HQCOIN

Value
$0.00
0x830ae652a3c9dd72c7f456969d60850ee398a237
Loading...
Loading
Loading...
Loading
Loading...
Loading

Click here to update the token information / general information
# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
HQStaking

Compiler Version
v0.8.7+commit.e28d00a7

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, None license

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2022-05-22
*/

// File: @openzeppelin/contracts/utils/introspection/IERC165.sol


// OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol)

pragma solidity ^0.8.0;

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

// File: @openzeppelin/contracts/token/ERC721/IERC721.sol


// OpenZeppelin Contracts (last updated v4.6.0) (token/ERC721/IERC721.sol)

pragma solidity ^0.8.0;


/**
 * @dev Required interface of an ERC721 compliant contract.
 */
interface IERC721 is IERC165 {
    /**
     * @dev Emitted when `tokenId` token is transferred from `from` to `to`.
     */
    event Transfer(address indexed from, address indexed to, uint256 indexed tokenId);

    /**
     * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token.
     */
    event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId);

    /**
     * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets.
     */
    event ApprovalForAll(address indexed owner, address indexed operator, bool approved);

    /**
     * @dev Returns the number of tokens in ``owner``'s account.
     */
    function balanceOf(address owner) external view returns (uint256 balance);

    /**
     * @dev Returns the owner of the `tokenId` token.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function ownerOf(uint256 tokenId) external view returns (address owner);

    /**
     * @dev Safely transfers `tokenId` token from `from` to `to`.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must exist and be owned by `from`.
     * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId,
        bytes calldata data
    ) external;

    /**
     * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients
     * are aware of the ERC721 protocol to prevent tokens from being forever locked.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must exist and be owned by `from`.
     * - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId
    ) external;

    /**
     * @dev Transfers `tokenId` token from `from` to `to`.
     *
     * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must be owned by `from`.
     * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.
     *
     * Emits a {Transfer} event.
     */
    function transferFrom(
        address from,
        address to,
        uint256 tokenId
    ) external;

    /**
     * @dev Gives permission to `to` to transfer `tokenId` token to another account.
     * The approval is cleared when the token is transferred.
     *
     * Only a single account can be approved at a time, so approving the zero address clears previous approvals.
     *
     * Requirements:
     *
     * - The caller must own the token or be an approved operator.
     * - `tokenId` must exist.
     *
     * Emits an {Approval} event.
     */
    function approve(address to, uint256 tokenId) external;

    /**
     * @dev Approve or remove `operator` as an operator for the caller.
     * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller.
     *
     * Requirements:
     *
     * - The `operator` cannot be the caller.
     *
     * Emits an {ApprovalForAll} event.
     */
    function setApprovalForAll(address operator, bool _approved) external;

    /**
     * @dev Returns the account approved for `tokenId` token.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function getApproved(uint256 tokenId) external view returns (address operator);

    /**
     * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`.
     *
     * See {setApprovalForAll}
     */
    function isApprovedForAll(address owner, address operator) external view returns (bool);
}

// File: @openzeppelin/contracts/utils/math/SafeMath.sol


// OpenZeppelin Contracts (last updated v4.6.0) (utils/math/SafeMath.sol)

pragma solidity ^0.8.0;

// CAUTION
// This version of SafeMath should only be used with Solidity 0.8 or later,
// because it relies on the compiler's built in overflow checks.

/**
 * @dev Wrappers over Solidity's arithmetic operations.
 *
 * NOTE: `SafeMath` is generally not needed starting with Solidity 0.8, since the compiler
 * now has built in overflow checking.
 */
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) {
        unchecked {
            uint256 c = a + b;
            if (c < a) return (false, 0);
            return (true, c);
        }
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            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) {
        unchecked {
            // 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) {
        unchecked {
            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) {
        unchecked {
            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) {
        return a + b;
    }

    /**
     * @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 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) {
        return a * b;
    }

    /**
     * @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.
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function div(uint256 a, uint256 b) internal pure returns (uint256) {
        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) {
        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) {
        unchecked {
            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.
     *
     * 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) {
        unchecked {
            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) {
        unchecked {
            require(b > 0, errorMessage);
            return a % b;
        }
    }
}

// File: @openzeppelin/contracts/utils/Context.sol


// OpenZeppelin Contracts v4.4.1 (utils/Context.sol)

pragma solidity ^0.8.0;

/**
 * @dev Provides information about the current execution context, including the
 * sender of the transaction and its data. While these are generally available
 * via msg.sender and msg.data, they should not be accessed in such a direct
 * manner, since when dealing with meta-transactions the account sending and
 * paying for execution may not be the actual sender (as far as an application
 * is concerned).
 *
 * This contract is only required for intermediate, library-like contracts.
 */
abstract contract Context {
    function _msgSender() internal view virtual returns (address) {
        return msg.sender;
    }

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

// File: @openzeppelin/contracts/access/Ownable.sol


// OpenZeppelin Contracts v4.4.1 (access/Ownable.sol)

pragma solidity ^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() {
        _transferOwnership(_msgSender());
    }

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

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

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

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

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     * Internal function without access restriction.
     */
    function _transferOwnership(address newOwner) internal virtual {
        address oldOwner = _owner;
        _owner = newOwner;
        emit OwnershipTransferred(oldOwner, newOwner);
    }
}

// File: @openzeppelin/contracts/token/ERC20/IERC20.sol


// OpenZeppelin Contracts (last updated v4.6.0) (token/ERC20/IERC20.sol)

pragma solidity ^0.8.0;

/**
 * @dev Interface of the ERC20 standard as defined in the EIP.
 */
interface IERC20 {
    /**
     * @dev Emitted when `value` tokens are moved from one account (`from`) to
     * another (`to`).
     *
     * Note that `value` may be zero.
     */
    event Transfer(address indexed from, address indexed to, uint256 value);

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

    /**
     * @dev Returns the amount of tokens in existence.
     */
    function totalSupply() external view returns (uint256);

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

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

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

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

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

// File: @openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata.sol


// OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/IERC20Metadata.sol)

pragma solidity ^0.8.0;


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

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

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

// File: @openzeppelin/contracts/token/ERC20/ERC20.sol


// OpenZeppelin Contracts (last updated v4.6.0) (token/ERC20/ERC20.sol)

pragma solidity ^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 Contracts guidelines: functions revert
 * instead returning `false` on failure. This behavior is nonetheless
 * conventional and does not conflict with the expectations of ERC20
 * applications.
 *
 * Additionally, an {Approval} event is emitted on calls to {transferFrom}.
 * This allows applications to reconstruct the allowance for all accounts just
 * by listening to said events. Other implementations of the EIP may not emit
 * these events, as it isn't required by the specification.
 *
 * Finally, the non-standard {decreaseAllowance} and {increaseAllowance}
 * functions have been added to mitigate the well-known issues around setting
 * allowances. See {IERC20-approve}.
 */
contract ERC20 is Context, IERC20, IERC20Metadata {
    mapping(address => uint256) private _balances;

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

    uint256 private _totalSupply;

    string private _name;
    string private _symbol;

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

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

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

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

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

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

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

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

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

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

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

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

        return true;
    }

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

        _beforeTokenTransfer(from, to, amount);

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

        emit Transfer(from, to, amount);

        _afterTokenTransfer(from, to, amount);
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

// File: contracts/Hijabiqueens/Staking.sol

//SPDX-License-Identifier: MIT
pragma solidity 0.8.7;

/**
 * @title HQ Staking
 * @author Decentralized Devs - Angelo
 */





contract HQStaking is ERC20("HQCOIN", "HQCOIN"), Ownable {
    using SafeMath for uint256;
    bool paused = false;
    bool boostersEnabled = false;
    IERC721 nft;

    uint256 private STAKINGREWARD = 1 ether;
    uint256 private STARREWARD = 2 ether;

    mapping(uint256 => bool) private starIds;
    mapping(uint256 => address) public tokenIdOwners;
    mapping(address => uint256) public lastClaimTime;
    mapping(address => uint256) public numberTokensStaked;
    mapping(address => uint256) public numberStarCount;
    mapping(address => uint256) private _balances;
    mapping(address => bool) public staff;
    mapping(address => mapping(uint256 => uint256)) public ownerTokenIds;
    //boosters
    mapping(uint256 => mapping(address => bool)) public boosters;
    //booster ID => Booster Percentage
    mapping(uint256 => uint256) public boosterRewards;
    //booste id => upgradeprice
    mapping(uint256 => uint256) public boosterUpgradePrice;

    modifier updateReward(address account) {
        uint256 reward = getRewards(account);
        lastClaimTime[account] = block.timestamp;
        _balances[account] += reward;
        _;
    }

    modifier onlyAllowedContracts() {
        require(staff[msg.sender] || msg.sender == owner());
        _;
    }

    constructor(address _nftAddress) {
        nft = IERC721(_nftAddress);
        //booster rewards setup 
        boosterRewards[5] = 150;
        boosterRewards[4] = 140;
        boosterRewards[3] = 130;
        boosterRewards[2] = 120;
        boosterRewards[1] = 110;
    }

    //HQ COINS FUNCTIONS
    function mint(address to, uint256 amount) public onlyOwner {
        _mint(to, amount);
    }

    function mintFromExtentionContract(address _user, uint256 _amount)
        external
        onlyAllowedContracts
    {
        _mint(_user, _amount);
    }

    function burnFromExtentionContract(address _user, uint256 _amount)
        external
        onlyAllowedContracts
    {
        _burn(_user, _amount);
    }

    //STAKING FUNCTIONS

    function setBoosterUpgradePrice(uint256 id, uint256 price) external onlyOwner{
        boosterUpgradePrice[id] = price;
    }

    function puchaseBooster(uint256 id) external {
        require(boostersEnabled, "Boosters are not enabled");
        require(id > 0 && id <= 5, "Invalid booster ID");
        require(balanceOf(msg.sender) >=  boosterUpgradePrice[id], "Not enough Native tokens");
        if(id == 1){
            _burn(msg.sender, boosterUpgradePrice[id]);
            boosters[id][msg.sender] = true;
        }else{
            require(boosters[id -1][msg.sender], "You need to own the Tier before this");
            _burn(msg.sender, boosterUpgradePrice[id]);
            boosters[id][msg.sender] = true;
        }
    }

    function setBoosterRewatds(uint256 id, uint256 reward) external onlyOwner{
        boosterRewards[id] = reward;
    }

    function initStars(uint256[] calldata tokenIds, bool state)
        public
        onlyOwner
    {
        unchecked {
            uint256 len = tokenIds.length;
            for (uint256 i = 0; i < len; i++) {
                uint256 tokenId = tokenIds[i];
                starIds[tokenId] = state;
            }
        }
    }

    function isStar(uint256 tokenId) public view returns (bool) {
        return starIds[tokenId];
    }

    function setStakingReward(uint256 val) public onlyOwner {
        STAKINGREWARD = val;
    }

    function setStarReward(uint256 val) public onlyOwner {
        STARREWARD = val;
    }

    function setStaff(address user, bool state) public onlyOwner {
        staff[user] = state;
    }

    function viewRewards(address account) public view returns (uint256) {
        uint256 rewards = getRewards(account);
        return rewards;
    }

    function getRewards(address account) internal view returns (uint256) {
        uint256 _cReward = (numberTokensStaked[account] -
            numberStarCount[account]) * STAKINGREWARD;
        uint256 _legendaryReward = numberStarCount[account] * STARREWARD;
        uint256 totalReward = _cReward + _legendaryReward;
        uint256 _lastClaimed = lastClaimTime[account];
        return totalReward.mul(block.timestamp.sub(_lastClaimed)).div(86400);
    }

    function getBalance(address account) public view returns (uint256) {
        uint256 pendingReward = getRewards(account);
        return pendingReward + _balances[account];
    }

    function claimRewards() external updateReward(msg.sender) {
        uint256 reward = _balances[msg.sender];
        _balances[msg.sender] = 0;
        uint256 bonus = calculateBonus(reward, msg.sender);
        _mint(msg.sender, bonus);
        
    }

    function viewRewardWithBonus(address account)
        public
        view
        returns (uint256)
    {
        uint256 bal = getBalance(account);

       uint256 bonus = calculateBonus(bal, msg.sender);
        return bonus;
    }

    function calculateBonus(uint256 reward, address account)
        internal
        view
        returns (uint256)
    {

        if (boosters[5][account]) {
            return reward.mul(boosterRewards[5]).div(100);
        } else if (boosters[4][account]) {
            return reward.mul(boosterRewards[4]).div(100);
        } else if (boosters[3][account]) {
            return reward.mul(boosterRewards[3]).div(100);
        } else if (boosters[2][account]) {
            return reward.mul(boosterRewards[2]).div(100);
        } else if (boosters[1][account]) {
            return reward.mul(boosterRewards[1]).div(100);
        } else {
            return reward;
        }
    }

    function getUserstakedIds(address _user)
        public
        view
        returns (uint256[] memory)
    {
        uint256 len = numberTokensStaked[_user];
        uint256[] memory temp = new uint256[](len);
        for (uint256 i = 0; i < len; ++i) {
            temp[i] = ownerTokenIds[_user][i];
        }
        return temp;
    }

    function stake(uint256[] calldata tokenIds)
        external
        updateReward(msg.sender)
    {
        require(!paused, "Contract is paused");
        unchecked {
            uint256 len = tokenIds.length;
            uint256 numStaked = numberTokensStaked[msg.sender];
            for (uint256 i = 0; i < len; i++) {
                uint256 tokenId = tokenIds[i];
                if (starIds[tokenId]) {
                    numberStarCount[msg.sender]++;
                }
                tokenIdOwners[tokenId] = msg.sender;
                ownerTokenIds[msg.sender][numStaked] = tokenId;
                numStaked++;
                nft.transferFrom(msg.sender, address(this), tokenId);
            }
            numberTokensStaked[msg.sender] = numStaked;
        }
    }

    function unstake(uint256[] calldata tokenIds)
        external
        updateReward(msg.sender)
    {
        unchecked {
            uint256 len = tokenIds.length;

            for (uint256 i = 0; i < len; i++) {
                uint256 tokenId = tokenIds[i];
                if (starIds[tokenId]) {
                    numberStarCount[msg.sender]--;
                }
                require(
                    tokenIdOwners[tokenId] == msg.sender,
                    "You dont own this ID"
                );
                removeFromUserStakedTokens(msg.sender, tokenId);

                numberTokensStaked[msg.sender]--;

                delete tokenIdOwners[tokenId];
                nft.transferFrom(address(this), msg.sender, tokenId);
            }
        }
    }

    function togglePause() public onlyOwner {
        paused = !paused;
    }

     function toogleBoostersEnabled() public onlyOwner {
        boostersEnabled = !boostersEnabled;
    }

    function removeFromUserStakedTokens(address user, uint256 tokenId)
        internal
    {
        uint256 _numStaked = numberTokensStaked[user];
        for (uint256 j = 0; j < _numStaked; ++j) {
            if (ownerTokenIds[user][j] == tokenId) {
                uint256 lastIndex = _numStaked - 1;
                ownerTokenIds[user][j] = ownerTokenIds[user][lastIndex];
                delete ownerTokenIds[user][lastIndex];
                break;
            }
        }
    }
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"_nftAddress","type":"address"}],"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":"uint256","name":"","type":"uint256"}],"name":"boosterRewards","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"boosterUpgradePrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"address","name":"","type":"address"}],"name":"boosters","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_user","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"burnFromExtentionContract","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"claimRewards","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":"account","type":"address"}],"name":"getBalance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_user","type":"address"}],"name":"getUserstakedIds","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"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":[{"internalType":"uint256[]","name":"tokenIds","type":"uint256[]"},{"internalType":"bool","name":"state","type":"bool"}],"name":"initStars","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"isStar","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"lastClaimTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_user","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"mintFromExtentionContract","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"numberStarCount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"numberTokensStaked","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"","type":"uint256"}],"name":"ownerTokenIds","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"id","type":"uint256"}],"name":"puchaseBooster","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"id","type":"uint256"},{"internalType":"uint256","name":"reward","type":"uint256"}],"name":"setBoosterRewatds","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"id","type":"uint256"},{"internalType":"uint256","name":"price","type":"uint256"}],"name":"setBoosterUpgradePrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"user","type":"address"},{"internalType":"bool","name":"state","type":"bool"}],"name":"setStaff","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"val","type":"uint256"}],"name":"setStakingReward","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"val","type":"uint256"}],"name":"setStarReward","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"staff","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"tokenIds","type":"uint256[]"}],"name":"stake","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"togglePause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"tokenIdOwners","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"toogleBoostersEnabled","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"tokenIds","type":"uint256[]"}],"name":"unstake","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"viewRewardWithBonus","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"viewRewards","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"}]

60806040526005805461ffff60a01b19169055670de0b6b3a7640000600755671bc16d674ec800006008553480156200003757600080fd5b5060405162002485380380620024858339810160408190526200005a91620002ae565b6040805180820182526006808252652428a1a7a4a760d11b6020808401828152855180870190965292855284015281519192916200009b9160039162000208565b508051620000b190600490602084019062000208565b505050620000ce620000c8620001b260201b60201c565b620001b6565b600680546001600160a01b0319166001600160a01b0392909216919091179055601260205260967f45429b9195d4ec5c0cf6c69e9c21a4ca0ea773b702c2de5735f85d2631f2674655608c7fb4fcd034df3d20faa1c133b66d862ce92732727d40916b48ffb4020cb00fe0535560827f0f36ad39aee03e7108cc48f54934702a5f0d4066f10344cebf8198978d86976a5560787f8e1fee8c88a9e04123b21e90cae2727a7715bf522a1e46eb5934ccd05203a6b2556001600052606e7f71a67924699a20698523213e55fe499d539379d7769cd5567e2c45d583f815a3556200031d565b3390565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b8280546200021690620002e0565b90600052602060002090601f0160209004810192826200023a576000855562000285565b82601f106200025557805160ff191683800117855562000285565b8280016001018555821562000285579182015b828111156200028557825182559160200191906001019062000268565b506200029392915062000297565b5090565b5b8082111562000293576000815560010162000298565b600060208284031215620002c157600080fd5b81516001600160a01b0381168114620002d957600080fd5b9392505050565b600181811c90821680620002f557607f821691505b602082108114156200031757634e487b7160e01b600052602260045260246000fd5b50919050565b612158806200032d6000396000f3fe608060405234801561001057600080fd5b50600436106102695760003560e01c806370a0823111610151578063b77cf9c6116100c3578063da40ef8011610087578063da40ef80146105e0578063dd62ed3e146105f3578063e449f34114610606578063f2fde38b14610619578063f5b200ac1461062c578063f8b2cb4f1461064c57600080fd5b8063b77cf9c61461058a578063c4ae3168146105aa578063ce5f10a0146105b2578063d88291a9146105c5578063d9ca0418146105cd57600080fd5b80638da5cb5b116101155780638da5cb5b146105155780638eedb0041461052657806395d89b41146105495780639d64a9cd14610551578063a457c2d714610564578063a9059cbb1461057757600080fd5b806370a08231146104ab578063715018a6146104d4578063750ba6fc146104dc5780638121176b146104ef57806384a5beb11461050257600080fd5b8063313ce567116101ea5780634884254a116101ae5780634884254a146103e15780634f83158a146104225780634f8d8c6a14610445578063510449961461045857806356a28088146104785780636c48c6ba1461048b57600080fd5b8063313ce56714610391578063328d13e3146103a0578063372500ab146103b357806339509351146103bb57806340c10f19146103ce57600080fd5b806314aac7341161023157806314aac7341461030157806318160ddd1461032157806322f108361461033357806323b872dd1461035e57806328e90e6a1461037157600080fd5b8063068b56501461026e57806306fdde03146102b1578063095ea7b3146102c65780630cdca63f146102d95780630fbf0a93146102ee575b600080fd5b61029c61027c366004611f07565b601160209081526000928352604080842090915290825290205460ff1681565b60405190151581526020015b60405180910390f35b6102b961065f565b6040516102a89190611f90565b61029c6102d4366004611e2e565b6106f1565b6102ec6102e7366004611e2e565b61070b565b005b6102ec6102fc366004611e58565b61074a565b61031461030f366004611d7a565b610927565b6040516102a89190611f4c565b6002545b6040519081526020016102a8565b610325610341366004611e2e565b601060209081526000928352604080842090915290825290205481565b61029c61036c366004611dc8565b6109ee565b61032561037f366004611eee565b60126020526000908152604090205481565b604051601281526020016102a8565b6102ec6103ae366004611e04565b610a12565b6102ec610a67565b61029c6103c9366004611e2e565b610ae5565b6102ec6103dc366004611e2e565b610b07565b61040a6103ef366004611eee565b600a602052600090815260409020546001600160a01b031681565b6040516001600160a01b0390911681526020016102a8565b61029c610430366004611d7a565b600f6020526000908152604090205460ff1681565b6102ec610453366004611f2a565b610b3b565b610325610466366004611d7a565b600d6020526000908152604090205481565b610325610486366004611d7a565b610b77565b610325610499366004611eee565b60136020526000908152604090205481565b6103256104b9366004611d7a565b6001600160a01b031660009081526020819052604090205490565b6102ec610b99565b6102ec6104ea366004611e2e565b610bcf565b6102ec6104fd366004611eee565b610c00565b6102ec610510366004611f2a565b610e05565b6005546001600160a01b031661040a565b61029c610534366004611eee565b60009081526009602052604090205460ff1690565b6102b9610e41565b6102ec61055f366004611eee565b610e50565b61029c610572366004611e2e565b610e7f565b61029c610585366004611e2e565b610efa565b610325610598366004611d7a565b600b6020526000908152604090205481565b6102ec610f08565b6102ec6105c0366004611eee565b610f53565b6102ec610f82565b6102ec6105db366004611e9a565b610fcd565b6103256105ee366004611d7a565b61104c565b610325610601366004611d95565b61105f565b6102ec610614366004611e58565b61108a565b6102ec610627366004611d7a565b61124d565b61032561063a366004611d7a565b600c6020526000908152604090205481565b61032561065a366004611d7a565b6112e5565b60606003805461066e9061208a565b80601f016020809104026020016040519081016040528092919081815260200182805461069a9061208a565b80156106e75780601f106106bc576101008083540402835291602001916106e7565b820191906000526020600020905b8154815290600101906020018083116106ca57829003601f168201915b5050505050905090565b6000336106ff818585611317565b60019150505b92915050565b336000908152600f602052604090205460ff168061073357506005546001600160a01b031633145b61073c57600080fd5b610746828261143c565b5050565b33600061075682611582565b6001600160a01b0383166000908152600b60209081526040808320429055600e90915281208054929350839290919061079090849061201a565b9091555050600554600160a01b900460ff16156107e95760405162461bcd60e51b815260206004820152601260248201527110dbdb9d1c9858dd081a5cc81c185d5cd95960721b60448201526064015b60405180910390fd5b336000908152600c602052604081205484915b8281101561090f576000878783818110610818576108186120f6565b60209081029290920135600081815260099093526040909220549192505060ff161561085557336000908152600d60205260409020805460010190555b6000818152600a6020908152604080832080546001600160a01b03191633908117909155808452601083528184208785529092529182902083905560065491516323b872dd60e01b8152600481019190915230602482015260448101839052600194909401936001600160a01b03909116906323b872dd90606401600060405180830381600087803b1580156108ea57600080fd5b505af11580156108fe573d6000803e3d6000fd5b5050600190930192506107fc915050565b50336000908152600c60205260409020555050505050565b6001600160a01b0381166000908152600c60205260408120546060918167ffffffffffffffff81111561095c5761095c61210c565b604051908082528060200260200182016040528015610985578160200160208202803683370190505b50905060005b828110156109e6576001600160a01b038516600090815260106020908152604080832084845290915290205482518390839081106109cb576109cb6120f6565b60209081029190910101526109df816120c5565b905061098b565b509392505050565b6000336109fc858285611641565b610a078585856116b5565b506001949350505050565b6005546001600160a01b03163314610a3c5760405162461bcd60e51b81526004016107e090611fe5565b6001600160a01b03919091166000908152600f60205260409020805460ff1916911515919091179055565b336000610a7382611582565b6001600160a01b0383166000908152600b60209081526040808320429055600e909152812080549293508392909190610aad90849061201a565b9091555050336000818152600e6020526040812080549082905591610ad3908390611883565b9050610adf3382611b07565b50505050565b6000336106ff818585610af8838361105f565b610b02919061201a565b611317565b6005546001600160a01b03163314610b315760405162461bcd60e51b81526004016107e090611fe5565b6107468282611b07565b6005546001600160a01b03163314610b655760405162461bcd60e51b81526004016107e090611fe5565b60009182526012602052604090912055565b600080610b83836112e5565b90506000610b918233611883565b949350505050565b6005546001600160a01b03163314610bc35760405162461bcd60e51b81526004016107e090611fe5565b610bcd6000611be6565b565b336000908152600f602052604090205460ff1680610bf757506005546001600160a01b031633145b610b3157600080fd5b600554600160a81b900460ff16610c595760405162461bcd60e51b815260206004820152601860248201527f426f6f737465727320617265206e6f7420656e61626c6564000000000000000060448201526064016107e0565b600081118015610c6a575060058111155b610cab5760405162461bcd60e51b8152602060048201526012602482015271125b9d985b1a5908189bdbdcdd195c88125160721b60448201526064016107e0565b60008181526013602090815260408083205433845291839052909120541015610d165760405162461bcd60e51b815260206004820152601860248201527f4e6f7420656e6f756768204e617469766520746f6b656e73000000000000000060448201526064016107e0565b8060011415610d6057600081815260136020526040902054610d3990339061143c565b60008181526011602090815260408083203384529091529020805460ff1916600117905550565b60116000610d6f600184612073565b81526020808201929092526040908101600090812033825290925290205460ff16610de85760405162461bcd60e51b8152602060048201526024808201527f596f75206e65656420746f206f776e207468652054696572206265666f7265206044820152637468697360e01b60648201526084016107e0565b600081815260136020526040902054610d3990339061143c565b50565b6005546001600160a01b03163314610e2f5760405162461bcd60e51b81526004016107e090611fe5565b60009182526013602052604090912055565b60606004805461066e9061208a565b6005546001600160a01b03163314610e7a5760405162461bcd60e51b81526004016107e090611fe5565b600855565b60003381610e8d828661105f565b905083811015610eed5760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b60648201526084016107e0565b610a078286868403611317565b6000336106ff8185856116b5565b6005546001600160a01b03163314610f325760405162461bcd60e51b81526004016107e090611fe5565b6005805460ff60a01b198116600160a01b9182900460ff1615909102179055565b6005546001600160a01b03163314610f7d5760405162461bcd60e51b81526004016107e090611fe5565b600755565b6005546001600160a01b03163314610fac5760405162461bcd60e51b81526004016107e090611fe5565b6005805460ff60a81b198116600160a81b9182900460ff1615909102179055565b6005546001600160a01b03163314610ff75760405162461bcd60e51b81526004016107e090611fe5565b8160005b81811015611045576000858583818110611017576110176120f6565b60209081029290920135600090815260099092525060409020805460ff191685151517905550600101610ffb565b5050505050565b60008061105883611582565b9392505050565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b33600061109682611582565b6001600160a01b0383166000908152600b60209081526040808320429055600e9091528120805492935083929091906110d090849061201a565b9091555083905060005b818110156112455760008686838181106110f6576110f66120f6565b60209081029290920135600081815260099093526040909220549192505060ff161561113457336000908152600d6020526040902080546000190190555b6000818152600a60205260409020546001600160a01b031633146111915760405162461bcd60e51b8152602060048201526014602482015273165bdd48191bdb9d081bdddb881d1a1a5cc8125160621b60448201526064016107e0565b61119b3382611c38565b336000818152600c602090815260408083208054600019019055848352600a9091529081902080546001600160a01b031916905560065490516323b872dd60e01b81523060048201526024810192909252604482018390526001600160a01b0316906323b872dd90606401600060405180830381600087803b15801561122057600080fd5b505af1158015611234573d6000803e3d6000fd5b5050600190930192506110da915050565b505050505050565b6005546001600160a01b031633146112775760405162461bcd60e51b81526004016107e090611fe5565b6001600160a01b0381166112dc5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016107e0565b610e0281611be6565b6000806112f183611582565b6001600160a01b0384166000908152600e6020526040902054909150611058908261201a565b6001600160a01b0383166113795760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b60648201526084016107e0565b6001600160a01b0382166113da5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b60648201526084016107e0565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b6001600160a01b03821661149c5760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b60648201526084016107e0565b6001600160a01b038216600090815260208190526040902054818110156115105760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b60648201526084016107e0565b6001600160a01b038316600090815260208190526040812083830390556002805484929061153f908490612073565b90915550506040518281526000906001600160a01b038516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200161142f565b6007546001600160a01b0382166000908152600d6020908152604080832054600c9092528220549192839290916115b891612073565b6115c29190612054565b6008546001600160a01b0385166000908152600d6020526040812054929350916115ec9190612054565b905060006115fa828461201a565b6001600160a01b0386166000908152600b60205260409020549091506116376201518061163161162a4285611cde565b8590611cea565b90611cf6565b9695505050505050565b600061164d848461105f565b90506000198114610adf57818110156116a85760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e636500000060448201526064016107e0565b610adf8484848403611317565b6001600160a01b0383166117195760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b60648201526084016107e0565b6001600160a01b03821661177b5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b60648201526084016107e0565b6001600160a01b038316600090815260208190526040902054818110156117f35760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b60648201526084016107e0565b6001600160a01b0380851660009081526020819052604080822085850390559185168152908120805484929061182a90849061201a565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8460405161187691815260200190565b60405180910390a3610adf565b6001600160a01b03811660009081527fc550213cee30afd5e67ccba7be3d381bbc169034ae08eb3ec9168caca9fe55e7602052604081205460ff161561190857600560005260126020527f45429b9195d4ec5c0cf6c69e9c21a4ca0ea773b702c2de5735f85d2631f267465461190190606490611631908690611cea565b9050610705565b6001600160a01b03821660009081527f251164fe1d8864fe5e86082eae9c288bc2b58695a4d28538dfe86e9e4f175585602052604090205460ff161561198657600460005260126020527fb4fcd034df3d20faa1c133b66d862ce92732727d40916b48ffb4020cb00fe0535461190190606490611631908690611cea565b6001600160a01b03821660009081527f9bfbaa59f8e10e7868f8b402de9d605a390c45ddaebd8c9de3c6f31e733c87ff602052604090205460ff1615611a0457600360005260126020527f0f36ad39aee03e7108cc48f54934702a5f0d4066f10344cebf8198978d86976a5461190190606490611631908690611cea565b6001600160a01b03821660009081527f08037d7b151cc412d25674a4e66b334d9ae9d2e5517a7feaae5cdb828bf1c628602052604090205460ff1615611a8257600260005260126020527f8e1fee8c88a9e04123b21e90cae2727a7715bf522a1e46eb5934ccd05203a6b25461190190606490611631908690611cea565b6001600160a01b03821660009081527f17bc176d2408558f6e4111feebc3cab4e16b63e967be91cde721f4c8a488b552602052604090205460ff1615611b0057600160005260126020527f71a67924699a20698523213e55fe499d539379d7769cd5567e2c45d583f815a35461190190606490611631908690611cea565b5081610705565b6001600160a01b038216611b5d5760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f20616464726573730060448201526064016107e0565b8060026000828254611b6f919061201a565b90915550506001600160a01b03821660009081526020819052604081208054839290611b9c90849061201a565b90915550506040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b0382166000908152600c6020526040812054905b81811015610adf576001600160a01b0384166000908152601060209081526040808320848452909152902054831415611cce576000611c93600184612073565b6001600160a01b0386166000908152601060209081526040808320848452909152808220805486845291832091909155918152905550610adf565b611cd7816120c5565b9050611c53565b60006110588284612073565b60006110588284612054565b60006110588284612032565b80356001600160a01b0381168114611d1957600080fd5b919050565b60008083601f840112611d3057600080fd5b50813567ffffffffffffffff811115611d4857600080fd5b6020830191508360208260051b8501011115611d6357600080fd5b9250929050565b80358015158114611d1957600080fd5b600060208284031215611d8c57600080fd5b61105882611d02565b60008060408385031215611da857600080fd5b611db183611d02565b9150611dbf60208401611d02565b90509250929050565b600080600060608486031215611ddd57600080fd5b611de684611d02565b9250611df460208501611d02565b9150604084013590509250925092565b60008060408385031215611e1757600080fd5b611e2083611d02565b9150611dbf60208401611d6a565b60008060408385031215611e4157600080fd5b611e4a83611d02565b946020939093013593505050565b60008060208385031215611e6b57600080fd5b823567ffffffffffffffff811115611e8257600080fd5b611e8e85828601611d1e565b90969095509350505050565b600080600060408486031215611eaf57600080fd5b833567ffffffffffffffff811115611ec657600080fd5b611ed286828701611d1e565b9094509250611ee5905060208501611d6a565b90509250925092565b600060208284031215611f0057600080fd5b5035919050565b60008060408385031215611f1a57600080fd5b82359150611dbf60208401611d02565b60008060408385031215611f3d57600080fd5b50508035926020909101359150565b6020808252825182820181905260009190848201906040850190845b81811015611f8457835183529284019291840191600101611f68565b50909695505050505050565b600060208083528351808285015260005b81811015611fbd57858101830151858201604001528201611fa1565b81811115611fcf576000604083870101525b50601f01601f1916929092016040019392505050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b6000821982111561202d5761202d6120e0565b500190565b60008261204f57634e487b7160e01b600052601260045260246000fd5b500490565b600081600019048311821515161561206e5761206e6120e0565b500290565b600082821015612085576120856120e0565b500390565b600181811c9082168061209e57607f821691505b602082108114156120bf57634e487b7160e01b600052602260045260246000fd5b50919050565b60006000198214156120d9576120d96120e0565b5060010190565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fdfea2646970667358221220cda1314730fad68c169978d34c422991a94c438922cdeeee3af5c765df53be9564736f6c63430008070033000000000000000000000000e52d18503d87e481e07520dc23a018126a87b0c2

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106102695760003560e01c806370a0823111610151578063b77cf9c6116100c3578063da40ef8011610087578063da40ef80146105e0578063dd62ed3e146105f3578063e449f34114610606578063f2fde38b14610619578063f5b200ac1461062c578063f8b2cb4f1461064c57600080fd5b8063b77cf9c61461058a578063c4ae3168146105aa578063ce5f10a0146105b2578063d88291a9146105c5578063d9ca0418146105cd57600080fd5b80638da5cb5b116101155780638da5cb5b146105155780638eedb0041461052657806395d89b41146105495780639d64a9cd14610551578063a457c2d714610564578063a9059cbb1461057757600080fd5b806370a08231146104ab578063715018a6146104d4578063750ba6fc146104dc5780638121176b146104ef57806384a5beb11461050257600080fd5b8063313ce567116101ea5780634884254a116101ae5780634884254a146103e15780634f83158a146104225780634f8d8c6a14610445578063510449961461045857806356a28088146104785780636c48c6ba1461048b57600080fd5b8063313ce56714610391578063328d13e3146103a0578063372500ab146103b357806339509351146103bb57806340c10f19146103ce57600080fd5b806314aac7341161023157806314aac7341461030157806318160ddd1461032157806322f108361461033357806323b872dd1461035e57806328e90e6a1461037157600080fd5b8063068b56501461026e57806306fdde03146102b1578063095ea7b3146102c65780630cdca63f146102d95780630fbf0a93146102ee575b600080fd5b61029c61027c366004611f07565b601160209081526000928352604080842090915290825290205460ff1681565b60405190151581526020015b60405180910390f35b6102b961065f565b6040516102a89190611f90565b61029c6102d4366004611e2e565b6106f1565b6102ec6102e7366004611e2e565b61070b565b005b6102ec6102fc366004611e58565b61074a565b61031461030f366004611d7a565b610927565b6040516102a89190611f4c565b6002545b6040519081526020016102a8565b610325610341366004611e2e565b601060209081526000928352604080842090915290825290205481565b61029c61036c366004611dc8565b6109ee565b61032561037f366004611eee565b60126020526000908152604090205481565b604051601281526020016102a8565b6102ec6103ae366004611e04565b610a12565b6102ec610a67565b61029c6103c9366004611e2e565b610ae5565b6102ec6103dc366004611e2e565b610b07565b61040a6103ef366004611eee565b600a602052600090815260409020546001600160a01b031681565b6040516001600160a01b0390911681526020016102a8565b61029c610430366004611d7a565b600f6020526000908152604090205460ff1681565b6102ec610453366004611f2a565b610b3b565b610325610466366004611d7a565b600d6020526000908152604090205481565b610325610486366004611d7a565b610b77565b610325610499366004611eee565b60136020526000908152604090205481565b6103256104b9366004611d7a565b6001600160a01b031660009081526020819052604090205490565b6102ec610b99565b6102ec6104ea366004611e2e565b610bcf565b6102ec6104fd366004611eee565b610c00565b6102ec610510366004611f2a565b610e05565b6005546001600160a01b031661040a565b61029c610534366004611eee565b60009081526009602052604090205460ff1690565b6102b9610e41565b6102ec61055f366004611eee565b610e50565b61029c610572366004611e2e565b610e7f565b61029c610585366004611e2e565b610efa565b610325610598366004611d7a565b600b6020526000908152604090205481565b6102ec610f08565b6102ec6105c0366004611eee565b610f53565b6102ec610f82565b6102ec6105db366004611e9a565b610fcd565b6103256105ee366004611d7a565b61104c565b610325610601366004611d95565b61105f565b6102ec610614366004611e58565b61108a565b6102ec610627366004611d7a565b61124d565b61032561063a366004611d7a565b600c6020526000908152604090205481565b61032561065a366004611d7a565b6112e5565b60606003805461066e9061208a565b80601f016020809104026020016040519081016040528092919081815260200182805461069a9061208a565b80156106e75780601f106106bc576101008083540402835291602001916106e7565b820191906000526020600020905b8154815290600101906020018083116106ca57829003601f168201915b5050505050905090565b6000336106ff818585611317565b60019150505b92915050565b336000908152600f602052604090205460ff168061073357506005546001600160a01b031633145b61073c57600080fd5b610746828261143c565b5050565b33600061075682611582565b6001600160a01b0383166000908152600b60209081526040808320429055600e90915281208054929350839290919061079090849061201a565b9091555050600554600160a01b900460ff16156107e95760405162461bcd60e51b815260206004820152601260248201527110dbdb9d1c9858dd081a5cc81c185d5cd95960721b60448201526064015b60405180910390fd5b336000908152600c602052604081205484915b8281101561090f576000878783818110610818576108186120f6565b60209081029290920135600081815260099093526040909220549192505060ff161561085557336000908152600d60205260409020805460010190555b6000818152600a6020908152604080832080546001600160a01b03191633908117909155808452601083528184208785529092529182902083905560065491516323b872dd60e01b8152600481019190915230602482015260448101839052600194909401936001600160a01b03909116906323b872dd90606401600060405180830381600087803b1580156108ea57600080fd5b505af11580156108fe573d6000803e3d6000fd5b5050600190930192506107fc915050565b50336000908152600c60205260409020555050505050565b6001600160a01b0381166000908152600c60205260408120546060918167ffffffffffffffff81111561095c5761095c61210c565b604051908082528060200260200182016040528015610985578160200160208202803683370190505b50905060005b828110156109e6576001600160a01b038516600090815260106020908152604080832084845290915290205482518390839081106109cb576109cb6120f6565b60209081029190910101526109df816120c5565b905061098b565b509392505050565b6000336109fc858285611641565b610a078585856116b5565b506001949350505050565b6005546001600160a01b03163314610a3c5760405162461bcd60e51b81526004016107e090611fe5565b6001600160a01b03919091166000908152600f60205260409020805460ff1916911515919091179055565b336000610a7382611582565b6001600160a01b0383166000908152600b60209081526040808320429055600e909152812080549293508392909190610aad90849061201a565b9091555050336000818152600e6020526040812080549082905591610ad3908390611883565b9050610adf3382611b07565b50505050565b6000336106ff818585610af8838361105f565b610b02919061201a565b611317565b6005546001600160a01b03163314610b315760405162461bcd60e51b81526004016107e090611fe5565b6107468282611b07565b6005546001600160a01b03163314610b655760405162461bcd60e51b81526004016107e090611fe5565b60009182526012602052604090912055565b600080610b83836112e5565b90506000610b918233611883565b949350505050565b6005546001600160a01b03163314610bc35760405162461bcd60e51b81526004016107e090611fe5565b610bcd6000611be6565b565b336000908152600f602052604090205460ff1680610bf757506005546001600160a01b031633145b610b3157600080fd5b600554600160a81b900460ff16610c595760405162461bcd60e51b815260206004820152601860248201527f426f6f737465727320617265206e6f7420656e61626c6564000000000000000060448201526064016107e0565b600081118015610c6a575060058111155b610cab5760405162461bcd60e51b8152602060048201526012602482015271125b9d985b1a5908189bdbdcdd195c88125160721b60448201526064016107e0565b60008181526013602090815260408083205433845291839052909120541015610d165760405162461bcd60e51b815260206004820152601860248201527f4e6f7420656e6f756768204e617469766520746f6b656e73000000000000000060448201526064016107e0565b8060011415610d6057600081815260136020526040902054610d3990339061143c565b60008181526011602090815260408083203384529091529020805460ff1916600117905550565b60116000610d6f600184612073565b81526020808201929092526040908101600090812033825290925290205460ff16610de85760405162461bcd60e51b8152602060048201526024808201527f596f75206e65656420746f206f776e207468652054696572206265666f7265206044820152637468697360e01b60648201526084016107e0565b600081815260136020526040902054610d3990339061143c565b50565b6005546001600160a01b03163314610e2f5760405162461bcd60e51b81526004016107e090611fe5565b60009182526013602052604090912055565b60606004805461066e9061208a565b6005546001600160a01b03163314610e7a5760405162461bcd60e51b81526004016107e090611fe5565b600855565b60003381610e8d828661105f565b905083811015610eed5760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b60648201526084016107e0565b610a078286868403611317565b6000336106ff8185856116b5565b6005546001600160a01b03163314610f325760405162461bcd60e51b81526004016107e090611fe5565b6005805460ff60a01b198116600160a01b9182900460ff1615909102179055565b6005546001600160a01b03163314610f7d5760405162461bcd60e51b81526004016107e090611fe5565b600755565b6005546001600160a01b03163314610fac5760405162461bcd60e51b81526004016107e090611fe5565b6005805460ff60a81b198116600160a81b9182900460ff1615909102179055565b6005546001600160a01b03163314610ff75760405162461bcd60e51b81526004016107e090611fe5565b8160005b81811015611045576000858583818110611017576110176120f6565b60209081029290920135600090815260099092525060409020805460ff191685151517905550600101610ffb565b5050505050565b60008061105883611582565b9392505050565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b33600061109682611582565b6001600160a01b0383166000908152600b60209081526040808320429055600e9091528120805492935083929091906110d090849061201a565b9091555083905060005b818110156112455760008686838181106110f6576110f66120f6565b60209081029290920135600081815260099093526040909220549192505060ff161561113457336000908152600d6020526040902080546000190190555b6000818152600a60205260409020546001600160a01b031633146111915760405162461bcd60e51b8152602060048201526014602482015273165bdd48191bdb9d081bdddb881d1a1a5cc8125160621b60448201526064016107e0565b61119b3382611c38565b336000818152600c602090815260408083208054600019019055848352600a9091529081902080546001600160a01b031916905560065490516323b872dd60e01b81523060048201526024810192909252604482018390526001600160a01b0316906323b872dd90606401600060405180830381600087803b15801561122057600080fd5b505af1158015611234573d6000803e3d6000fd5b5050600190930192506110da915050565b505050505050565b6005546001600160a01b031633146112775760405162461bcd60e51b81526004016107e090611fe5565b6001600160a01b0381166112dc5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016107e0565b610e0281611be6565b6000806112f183611582565b6001600160a01b0384166000908152600e6020526040902054909150611058908261201a565b6001600160a01b0383166113795760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b60648201526084016107e0565b6001600160a01b0382166113da5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b60648201526084016107e0565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b6001600160a01b03821661149c5760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b60648201526084016107e0565b6001600160a01b038216600090815260208190526040902054818110156115105760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b60648201526084016107e0565b6001600160a01b038316600090815260208190526040812083830390556002805484929061153f908490612073565b90915550506040518281526000906001600160a01b038516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200161142f565b6007546001600160a01b0382166000908152600d6020908152604080832054600c9092528220549192839290916115b891612073565b6115c29190612054565b6008546001600160a01b0385166000908152600d6020526040812054929350916115ec9190612054565b905060006115fa828461201a565b6001600160a01b0386166000908152600b60205260409020549091506116376201518061163161162a4285611cde565b8590611cea565b90611cf6565b9695505050505050565b600061164d848461105f565b90506000198114610adf57818110156116a85760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e636500000060448201526064016107e0565b610adf8484848403611317565b6001600160a01b0383166117195760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b60648201526084016107e0565b6001600160a01b03821661177b5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b60648201526084016107e0565b6001600160a01b038316600090815260208190526040902054818110156117f35760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b60648201526084016107e0565b6001600160a01b0380851660009081526020819052604080822085850390559185168152908120805484929061182a90849061201a565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8460405161187691815260200190565b60405180910390a3610adf565b6001600160a01b03811660009081527fc550213cee30afd5e67ccba7be3d381bbc169034ae08eb3ec9168caca9fe55e7602052604081205460ff161561190857600560005260126020527f45429b9195d4ec5c0cf6c69e9c21a4ca0ea773b702c2de5735f85d2631f267465461190190606490611631908690611cea565b9050610705565b6001600160a01b03821660009081527f251164fe1d8864fe5e86082eae9c288bc2b58695a4d28538dfe86e9e4f175585602052604090205460ff161561198657600460005260126020527fb4fcd034df3d20faa1c133b66d862ce92732727d40916b48ffb4020cb00fe0535461190190606490611631908690611cea565b6001600160a01b03821660009081527f9bfbaa59f8e10e7868f8b402de9d605a390c45ddaebd8c9de3c6f31e733c87ff602052604090205460ff1615611a0457600360005260126020527f0f36ad39aee03e7108cc48f54934702a5f0d4066f10344cebf8198978d86976a5461190190606490611631908690611cea565b6001600160a01b03821660009081527f08037d7b151cc412d25674a4e66b334d9ae9d2e5517a7feaae5cdb828bf1c628602052604090205460ff1615611a8257600260005260126020527f8e1fee8c88a9e04123b21e90cae2727a7715bf522a1e46eb5934ccd05203a6b25461190190606490611631908690611cea565b6001600160a01b03821660009081527f17bc176d2408558f6e4111feebc3cab4e16b63e967be91cde721f4c8a488b552602052604090205460ff1615611b0057600160005260126020527f71a67924699a20698523213e55fe499d539379d7769cd5567e2c45d583f815a35461190190606490611631908690611cea565b5081610705565b6001600160a01b038216611b5d5760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f20616464726573730060448201526064016107e0565b8060026000828254611b6f919061201a565b90915550506001600160a01b03821660009081526020819052604081208054839290611b9c90849061201a565b90915550506040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b0382166000908152600c6020526040812054905b81811015610adf576001600160a01b0384166000908152601060209081526040808320848452909152902054831415611cce576000611c93600184612073565b6001600160a01b0386166000908152601060209081526040808320848452909152808220805486845291832091909155918152905550610adf565b611cd7816120c5565b9050611c53565b60006110588284612073565b60006110588284612054565b60006110588284612032565b80356001600160a01b0381168114611d1957600080fd5b919050565b60008083601f840112611d3057600080fd5b50813567ffffffffffffffff811115611d4857600080fd5b6020830191508360208260051b8501011115611d6357600080fd5b9250929050565b80358015158114611d1957600080fd5b600060208284031215611d8c57600080fd5b61105882611d02565b60008060408385031215611da857600080fd5b611db183611d02565b9150611dbf60208401611d02565b90509250929050565b600080600060608486031215611ddd57600080fd5b611de684611d02565b9250611df460208501611d02565b9150604084013590509250925092565b60008060408385031215611e1757600080fd5b611e2083611d02565b9150611dbf60208401611d6a565b60008060408385031215611e4157600080fd5b611e4a83611d02565b946020939093013593505050565b60008060208385031215611e6b57600080fd5b823567ffffffffffffffff811115611e8257600080fd5b611e8e85828601611d1e565b90969095509350505050565b600080600060408486031215611eaf57600080fd5b833567ffffffffffffffff811115611ec657600080fd5b611ed286828701611d1e565b9094509250611ee5905060208501611d6a565b90509250925092565b600060208284031215611f0057600080fd5b5035919050565b60008060408385031215611f1a57600080fd5b82359150611dbf60208401611d02565b60008060408385031215611f3d57600080fd5b50508035926020909101359150565b6020808252825182820181905260009190848201906040850190845b81811015611f8457835183529284019291840191600101611f68565b50909695505050505050565b600060208083528351808285015260005b81811015611fbd57858101830151858201604001528201611fa1565b81811115611fcf576000604083870101525b50601f01601f1916929092016040019392505050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b6000821982111561202d5761202d6120e0565b500190565b60008261204f57634e487b7160e01b600052601260045260246000fd5b500490565b600081600019048311821515161561206e5761206e6120e0565b500290565b600082821015612085576120856120e0565b500390565b600181811c9082168061209e57607f821691505b602082108114156120bf57634e487b7160e01b600052602260045260246000fd5b50919050565b60006000198214156120d9576120d96120e0565b5060010190565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fdfea2646970667358221220cda1314730fad68c169978d34c422991a94c438922cdeeee3af5c765df53be9564736f6c63430008070033

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

000000000000000000000000e52d18503d87e481e07520dc23a018126a87b0c2

-----Decoded View---------------
Arg [0] : _nftAddress (address): 0xe52D18503d87E481E07520Dc23a018126a87b0c2

-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 000000000000000000000000e52d18503d87e481e07520dc23a018126a87b0c2


Deployed Bytecode Sourcemap

33000:8453:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;33730:60;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5075:14:1;;5068:22;5050:41;;5038:2;5023:18;33730:60:0;;;;;;;;22018:100;;;:::i;:::-;;;;;;;:::i;24369:201::-;;;;;;:::i;:::-;;:::i;34902:160::-;;;;;;:::i;:::-;;:::i;:::-;;39144:800;;;;;;:::i;:::-;;:::i;38787:349::-;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;23138:108::-;23226:12;;23138:108;;;12726:25:1;;;12714:2;12699:18;23138:108:0;12580:177:1;33639:68:0;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;25150:295;;;;;;:::i;:::-;;:::i;33837:49::-;;;;;;:::i;:::-;;;;;;;;;;;;;;22980:93;;;23063:2;12904:36:1;;12892:2;12877:18;22980:93:0;12762:184:1;36640:99:0;;;;;;:::i;:::-;;:::i;37563:257::-;;;:::i;25854:238::-;;;;;;:::i;:::-;;:::i;34631:95::-;;;;;;:::i;:::-;;:::i;33316:48::-;;;;;;:::i;:::-;;;;;;;;;;;;-1:-1:-1;;;;;33316:48:0;;;;;;-1:-1:-1;;;;;3849:32:1;;;3831:51;;3819:2;3804:18;33316:48:0;3685:203:1;33595:37:0;;;;;;:::i;:::-;;;;;;;;;;;;;;;;35858:119;;;;;;:::i;:::-;;:::i;33486:50::-;;;;;;:::i;:::-;;;;;;;;;;;;;;37828:242;;;;;;:::i;:::-;;:::i;33926:54::-;;;;;;:::i;:::-;;;;;;;;;;;;;;23309:127;;;;;;:::i;:::-;-1:-1:-1;;;;;23410:18:0;23383:7;23410:18;;;;;;;;;;;;23309:127;15441:103;;;:::i;34734:160::-;;;;;;:::i;:::-;;:::i;35232:618::-;;;;;;:::i;:::-;;:::i;35097:127::-;;;;;;:::i;:::-;;:::i;14790:87::-;14863:6;;-1:-1:-1;;;;;14863:6:0;14790:87;;36332:102;;;;;;:::i;:::-;36386:4;36410:16;;;:7;:16;;;;;;;;;36332:102;22237:104;;;:::i;36544:88::-;;;;;;:::i;:::-;;:::i;26595:436::-;;;;;;:::i;:::-;;:::i;23642:193::-;;;;;;:::i;:::-;;:::i;33371:48::-;;;;;;:::i;:::-;;;;;;;;;;;;;;40762:75;;;:::i;36442:94::-;;;;;;:::i;:::-;;:::i;40846:103::-;;;:::i;35985:339::-;;;;;;:::i;:::-;;:::i;36747:149::-;;;;;;:::i;:::-;;:::i;23898:151::-;;;;;;:::i;:::-;;:::i;39952:802::-;;;;;;:::i;:::-;;:::i;15699:201::-;;;;;;:::i;:::-;;:::i;33426:53::-;;;;;;:::i;:::-;;;;;;;;;;;;;;37374:181;;;;;;:::i;:::-;;:::i;22018:100::-;22072:13;22105:5;22098:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;22018:100;:::o;24369:201::-;24452:4;13594:10;24508:32;13594:10;24524:7;24533:6;24508:8;:32::i;:::-;24558:4;24551:11;;;24369:201;;;;;:::o;34902:160::-;34250:10;34244:17;;;;:5;:17;;;;;;;;;:42;;-1:-1:-1;14863:6:0;;-1:-1:-1;;;;;14863:6:0;34265:10;:21;34244:42;34236:51;;;;;;35033:21:::1;35039:5;35046:7;35033:5;:21::i;:::-;34902:160:::0;;:::o;39144:800::-;39228:10;34039:14;34056:19;34067:7;34056:10;:19::i;:::-;-1:-1:-1;;;;;34086:22:0;;;;;;:13;:22;;;;;;;;34111:15;34086:40;;34137:9;:18;;;;;:28;;34039:36;;-1:-1:-1;34039:36:0;;34137:18;;34086:22;34137:28;;34039:36;;34137:28;:::i;:::-;;;;-1:-1:-1;;39265:6:0::1;::::0;-1:-1:-1;;;39265:6:0;::::1;;;39264:7;39256:38;;;::::0;-1:-1:-1;;;39256:38:0;;11669:2:1;39256:38:0::1;::::0;::::1;11651:21:1::0;11708:2;11688:18;;;11681:30;-1:-1:-1;;;11727:18:1;;;11720:48;11785:18;;39256:38:0::1;;;;;;;;;39413:10;39330:11;39394:30:::0;;;:18:::1;:30;::::0;;;;;39344:8;;39439:430:::1;39463:3;39459:1;:7;39439:430;;;39492:15;39510:8;;39519:1;39510:11;;;;;;;:::i;:::-;;::::0;;::::1;::::0;;;::::1;;39544:16;::::0;;;:7:::1;:16:::0;;;;;;;;39510:11;;-1:-1:-1;;39544:16:0::1;;39540:94;;;39601:10;39585:27;::::0;;;:15:::1;:27;::::0;;;;:29;;::::1;;::::0;;39540:94:::1;39652:22;::::0;;;:13:::1;:22;::::0;;;;;;;:35;;-1:-1:-1;;;;;;39652:35:0::1;39677:10;39652:35:::0;;::::1;::::0;;;39706:25;;;:13:::1;:25:::0;;;;;:36;;;;;;;;;;:46;;;39801:3:::1;::::0;:52;;-1:-1:-1;;;39801:52:0;;::::1;::::0;::::1;4133:34:1::0;;;;39838:4:0::1;4183:18:1::0;;;4176:43;4235:18;;;4228:34;;;-1:-1:-1;39771:11:0;;;::::1;::::0;-1:-1:-1;;;;;39801:3:0;;::::1;::::0;:16:::1;::::0;4068:18:1;;39801:52:0::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;-1:-1:-1::0;;39468:3:0::1;::::0;;::::1;::::0;-1:-1:-1;39439:430:0::1;::::0;-1:-1:-1;;39439:430:0::1;;-1:-1:-1::0;39902:10:0::1;39883:30;::::0;;;:18:::1;:30;::::0;;;;:42;-1:-1:-1;;;;;39144:800:0:o;38787:349::-;-1:-1:-1;;;;;38924:25:0;;38910:11;38924:25;;;:18;:25;;;;;;38876:16;;38924:25;38984:18;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;38984:18:0;;38960:42;;39018:9;39013:94;39037:3;39033:1;:7;39013:94;;;-1:-1:-1;;;;;39072:20:0;;;;;;:13;:20;;;;;;;;:23;;;;;;;;;39062:7;;:4;;39093:1;;39062:7;;;;;;:::i;:::-;;;;;;;;;;:33;39042:3;;;:::i;:::-;;;39013:94;;;-1:-1:-1;39124:4:0;38787:349;-1:-1:-1;;;38787:349:0:o;25150:295::-;25281:4;13594:10;25339:38;25355:4;13594:10;25370:6;25339:15;:38::i;:::-;25388:27;25398:4;25404:2;25408:6;25388:9;:27::i;:::-;-1:-1:-1;25433:4:0;;25150:295;-1:-1:-1;;;;25150:295:0:o;36640:99::-;14863:6;;-1:-1:-1;;;;;14863:6:0;13594:10;15010:23;15002:68;;;;-1:-1:-1;;;15002:68:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;36712:11:0;;;::::1;;::::0;;;:5:::1;:11;::::0;;;;:19;;-1:-1:-1;;36712:19:0::1;::::0;::::1;;::::0;;;::::1;::::0;;36640:99::o;37563:257::-;37609:10;34039:14;34056:19;34067:7;34056:10;:19::i;:::-;-1:-1:-1;;;;;34086:22:0;;;;;;:13;:22;;;;;;;;34111:15;34086:40;;34137:9;:18;;;;;:28;;34039:36;;-1:-1:-1;34039:36:0;;34137:18;;34086:22;34137:28;;34039:36;;34137:28;:::i;:::-;;;;-1:-1:-1;;37659:10:0::1;37632:14;37649:21:::0;;;:9:::1;:21;::::0;;;;;;37681:25;;;;37649:21;37733:34:::1;::::0;37649:21;;37733:14:::1;:34::i;:::-;37717:50;;37778:24;37784:10;37796:5;37778;:24::i;:::-;37621:199;;34028:157:::0;37563:257;:::o;25854:238::-;25942:4;13594:10;25998:64;13594:10;26014:7;26051:10;26023:25;13594:10;26014:7;26023:9;:25::i;:::-;:38;;;;:::i;:::-;25998:8;:64::i;34631:95::-;14863:6;;-1:-1:-1;;;;;14863:6:0;13594:10;15010:23;15002:68;;;;-1:-1:-1;;;15002:68:0;;;;;;;:::i;:::-;34701:17:::1;34707:2;34711:6;34701:5;:17::i;35858:119::-:0;14863:6;;-1:-1:-1;;;;;14863:6:0;13594:10;15010:23;15002:68;;;;-1:-1:-1;;;15002:68:0;;;;;;;:::i;:::-;35942:18:::1;::::0;;;:14:::1;:18;::::0;;;;;:27;35858:119::o;37828:242::-;37922:7;37947:11;37961:19;37972:7;37961:10;:19::i;:::-;37947:33;;37992:13;38008:31;38023:3;38028:10;38008:14;:31::i;:::-;37992:47;37828:242;-1:-1:-1;;;;37828:242:0:o;15441:103::-;14863:6;;-1:-1:-1;;;;;14863:6:0;13594:10;15010:23;15002:68;;;;-1:-1:-1;;;15002:68:0;;;;;;;:::i;:::-;15506:30:::1;15533:1;15506:18;:30::i;:::-;15441:103::o:0;34734:160::-;34250:10;34244:17;;;;:5;:17;;;;;;;;;:42;;-1:-1:-1;14863:6:0;;-1:-1:-1;;;;;14863:6:0;34265:10;:21;34244:42;34236:51;;;;;35232:618;35296:15;;-1:-1:-1;;;35296:15:0;;;;35288:52;;;;-1:-1:-1;;;35288:52:0;;8281:2:1;35288:52:0;;;8263:21:1;8320:2;8300:18;;;8293:30;8359:26;8339:18;;;8332:54;8403:18;;35288:52:0;8079:348:1;35288:52:0;35364:1;35359:2;:6;:17;;;;;35375:1;35369:2;:7;;35359:17;35351:48;;;;-1:-1:-1;;;35351:48:0;;8634:2:1;35351:48:0;;;8616:21:1;8673:2;8653:18;;;8646:30;-1:-1:-1;;;8692:18:1;;;8685:48;8750:18;;35351:48:0;8432:342:1;35351:48:0;35444:23;;;;:19;:23;;;;;;;;;35428:10;23410:18;;;;;;;;;;35418:49;;35410:86;;;;-1:-1:-1;;;35410:86:0;;5906:2:1;35410:86:0;;;5888:21:1;5945:2;5925:18;;;5918:30;5984:26;5964:18;;;5957:54;6028:18;;35410:86:0;5704:348:1;35410:86:0;35510:2;35516:1;35510:7;35507:336;;;35551:23;;;;:19;:23;;;;;;35533:42;;35539:10;;35533:5;:42::i;:::-;35590:12;;;;:8;:12;;;;;;;;35603:10;35590:24;;;;;;;:31;;-1:-1:-1;;35590:31:0;35617:4;35590:31;;;35232:618;:::o;35507:336::-;35660:8;:15;35669:5;35673:1;35669:2;:5;:::i;:::-;35660:15;;;;;;;;;;;;;;-1:-1:-1;35660:15:0;;;35676:10;35660:27;;;;;;;;;;35652:76;;;;-1:-1:-1;;;35652:76:0;;6663:2:1;35652:76:0;;;6645:21:1;6702:2;6682:18;;;6675:30;6741:34;6721:18;;;6714:62;-1:-1:-1;;;6792:18:1;;;6785:34;6836:19;;35652:76:0;6461:400:1;35652:76:0;35761:23;;;;:19;:23;;;;;;35743:42;;35749:10;;35743:5;:42::i;35507:336::-;35232:618;:::o;35097:127::-;14863:6;;-1:-1:-1;;;;;14863:6:0;13594:10;15010:23;15002:68;;;;-1:-1:-1;;;15002:68:0;;;;;;;:::i;:::-;35185:23:::1;::::0;;;:19:::1;:23;::::0;;;;;:31;35097:127::o;22237:104::-;22293:13;22326:7;22319:14;;;;;:::i;36544:88::-;14863:6;;-1:-1:-1;;;;;14863:6:0;13594:10;15010:23;15002:68;;;;-1:-1:-1;;;15002:68:0;;;;;;;:::i;:::-;36608:10:::1;:16:::0;36544:88::o;26595:436::-;26688:4;13594:10;26688:4;26771:25;13594:10;26788:7;26771:9;:25::i;:::-;26744:52;;26835:15;26815:16;:35;;26807:85;;;;-1:-1:-1;;;26807:85:0;;12016:2:1;26807:85:0;;;11998:21:1;12055:2;12035:18;;;12028:30;12094:34;12074:18;;;12067:62;-1:-1:-1;;;12145:18:1;;;12138:35;12190:19;;26807:85:0;11814:401:1;26807:85:0;26928:60;26937:5;26944:7;26972:15;26953:16;:34;26928:8;:60::i;23642:193::-;23721:4;13594:10;23777:28;13594:10;23794:2;23798:6;23777:9;:28::i;40762:75::-;14863:6;;-1:-1:-1;;;;;14863:6:0;13594:10;15010:23;15002:68;;;;-1:-1:-1;;;15002:68:0;;;;;;;:::i;:::-;40823:6:::1;::::0;;-1:-1:-1;;;;40813:16:0;::::1;-1:-1:-1::0;;;40823:6:0;;;::::1;;;40822:7;40813:16:::0;;::::1;;::::0;;40762:75::o;36442:94::-;14863:6;;-1:-1:-1;;;;;14863:6:0;13594:10;15010:23;15002:68;;;;-1:-1:-1;;;15002:68:0;;;;;;;:::i;:::-;36509:13:::1;:19:::0;36442:94::o;40846:103::-;14863:6;;-1:-1:-1;;;;;14863:6:0;13594:10;15010:23;15002:68;;;;-1:-1:-1;;;15002:68:0;;;;;;;:::i;:::-;40926:15:::1;::::0;;-1:-1:-1;;;;40907:34:0;::::1;-1:-1:-1::0;;;40926:15:0;;;::::1;;;40925:16;40907:34:::0;;::::1;;::::0;;40846:103::o;35985:339::-;14863:6;;-1:-1:-1;;;;;14863:6:0;13594:10;15010:23;15002:68;;;;-1:-1:-1;;;15002:68:0;;;;;;;:::i;:::-;36135:8;36121:11:::1;36165:141;36189:3;36185:1;:7;36165:141;;;36218:15;36236:8;;36245:1;36236:11;;;;;;;:::i;:::-;;::::0;;::::1;::::0;;;::::1;;36266:16;::::0;;;:7:::1;:16:::0;;;-1:-1:-1;36266:16:0;;;:24;;-1:-1:-1;;36266:24:0::1;::::0;::::1;;;::::0;;-1:-1:-1;;36194:3:0::1;36165:141;;;;36096:221;35985:339:::0;;;:::o;36747:149::-;36806:7;36826:15;36844:19;36855:7;36844:10;:19::i;:::-;36826:37;36747:149;-1:-1:-1;;;36747:149:0:o;23898:151::-;-1:-1:-1;;;;;24014:18:0;;;23987:7;24014:18;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;23898:151::o;39952:802::-;40038:10;34039:14;34056:19;34067:7;34056:10;:19::i;:::-;-1:-1:-1;;;;;34086:22:0;;;;;;:13;:22;;;;;;;;34111:15;34086:40;;34137:9;:18;;;;;:28;;34039:36;;-1:-1:-1;34039:36:0;;34137:18;;34086:22;34137:28;;34039:36;;34137:28;:::i;:::-;;;;-1:-1:-1;40105:8:0;;-1:-1:-1;40091:11:0::1;40137:599;40161:3;40157:1;:7;40137:599;;;40190:15;40208:8;;40217:1;40208:11;;;;;;;:::i;:::-;;::::0;;::::1;::::0;;;::::1;;40242:16;::::0;;;:7:::1;:16:::0;;;;;;;;40208:11;;-1:-1:-1;;40242:16:0::1;;40238:94;;;40299:10;40283:27;::::0;;;:15:::1;:27;::::0;;;;:29;;-1:-1:-1;;40283:29:0;;;40238:94:::1;40380:22;::::0;;;:13:::1;:22;::::0;;;;;-1:-1:-1;;;;;40380:22:0::1;40406:10;40380:36;40350:130;;;::::0;-1:-1:-1;;;40350:130:0;;9746:2:1;40350:130:0::1;::::0;::::1;9728:21:1::0;9785:2;9765:18;;;9758:30;-1:-1:-1;;;9804:18:1;;;9797:50;9864:18;;40350:130:0::1;9544:344:1::0;40350:130:0::1;40499:47;40526:10;40538:7;40499:26;:47::i;:::-;40586:10;40567:30;::::0;;;:18:::1;:30;::::0;;;;;;;:32;;-1:-1:-1;;40567:32:0;;;40627:22;;;:13:::1;:22:::0;;;;;;;40620:29;;-1:-1:-1;;;;;;40620:29:0::1;::::0;;40668:3:::1;::::0;:52;;-1:-1:-1;;;40668:52:0;;40693:4:::1;40668:52;::::0;::::1;4133:34:1::0;4183:18;;;4176:43;;;;4235:18;;;4228:34;;;-1:-1:-1;;;;;40668:3:0::1;::::0;:16:::1;::::0;4068:18:1;;40668:52:0::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;-1:-1:-1::0;;40166:3:0::1;::::0;;::::1;::::0;-1:-1:-1;40137:599:0::1;::::0;-1:-1:-1;;40137:599:0::1;;;40066:681;34028:157:::0;39952:802;;;:::o;15699:201::-;14863:6;;-1:-1:-1;;;;;14863:6:0;13594:10;15010:23;15002:68;;;;-1:-1:-1;;;15002:68:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;15788:22:0;::::1;15780:73;;;::::0;-1:-1:-1;;;15780:73:0;;7471:2:1;15780:73:0::1;::::0;::::1;7453:21:1::0;7510:2;7490:18;;;7483:30;7549:34;7529:18;;;7522:62;-1:-1:-1;;;7600:18:1;;;7593:36;7646:19;;15780:73:0::1;7269:402:1::0;15780:73:0::1;15864:28;15883:8;15864:18;:28::i;37374:181::-:0;37432:7;37452:21;37476:19;37487:7;37476:10;:19::i;:::-;-1:-1:-1;;;;;37529:18:0;;;;;;:9;:18;;;;;;37452:43;;-1:-1:-1;37513:34:0;;37452:43;37513:34;:::i;30229:380::-;-1:-1:-1;;;;;30365:19:0;;30357:68;;;;-1:-1:-1;;;30357:68:0;;11264:2:1;30357:68:0;;;11246:21:1;11303:2;11283:18;;;11276:30;11342:34;11322:18;;;11315:62;-1:-1:-1;;;11393:18:1;;;11386:34;11437:19;;30357:68:0;11062:400:1;30357:68:0;-1:-1:-1;;;;;30444:21:0;;30436:68;;;;-1:-1:-1;;;30436:68:0;;7878:2:1;30436:68:0;;;7860:21:1;7917:2;7897:18;;;7890:30;7956:34;7936:18;;;7929:62;-1:-1:-1;;;8007:18:1;;;8000:32;8049:19;;30436:68:0;7676:398:1;30436:68:0;-1:-1:-1;;;;;30517:18:0;;;;;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;:36;;;30569:32;;12726:25:1;;;30569:32:0;;12699:18:1;30569:32:0;;;;;;;;30229:380;;;:::o;29200:591::-;-1:-1:-1;;;;;29284:21:0;;29276:67;;;;-1:-1:-1;;;29276:67:0;;10456:2:1;29276:67:0;;;10438:21:1;10495:2;10475:18;;;10468:30;10534:34;10514:18;;;10507:62;-1:-1:-1;;;10585:18:1;;;10578:31;10626:19;;29276:67:0;10254:397:1;29276:67:0;-1:-1:-1;;;;;29443:18:0;;29418:22;29443:18;;;;;;;;;;;29480:24;;;;29472:71;;;;-1:-1:-1;;;29472:71:0;;7068:2:1;29472:71:0;;;7050:21:1;7107:2;7087:18;;;7080:30;7146:34;7126:18;;;7119:62;-1:-1:-1;;;7197:18:1;;;7190:32;7239:19;;29472:71:0;6866:398:1;29472:71:0;-1:-1:-1;;;;;29579:18:0;;:9;:18;;;;;;;;;;29600:23;;;29579:44;;29645:12;:22;;29617:6;;29579:9;29645:22;;29617:6;;29645:22;:::i;:::-;;;;-1:-1:-1;;29685:37:0;;12726:25:1;;;29711:1:0;;-1:-1:-1;;;;;29685:37:0;;;;;12714:2:1;12699:18;29685:37:0;12580:177:1;36904:462:0;37075:13;;-1:-1:-1;;;;;37047:24:0;;36964:7;37047:24;;;:15;:24;;;;;;;;;37004:18;:27;;;;;;36964:7;;;;37075:13;;37004:67;;;:::i;:::-;37003:85;;;;:::i;:::-;37153:10;;-1:-1:-1;;;;;37126:24:0;;37099;37126;;;:15;:24;;;;;;36984:104;;-1:-1:-1;37099:24:0;37126:37;;37153:10;37126:37;:::i;:::-;37099:64;-1:-1:-1;37174:19:0;37196:27;37099:64;37196:8;:27;:::i;:::-;-1:-1:-1;;;;;37257:22:0;;37234:20;37257:22;;;:13;:22;;;;;;37174:49;;-1:-1:-1;37297:61:0;37352:5;37297:50;37313:33;:15;37257:22;37313:19;:33::i;:::-;37297:11;;:15;:50::i;:::-;:54;;:61::i;:::-;37290:68;36904:462;-1:-1:-1;;;;;;36904:462:0:o;30900:453::-;31035:24;31062:25;31072:5;31079:7;31062:9;:25::i;:::-;31035:52;;-1:-1:-1;;31102:16:0;:37;31098:248;;31184:6;31164:16;:26;;31156:68;;;;-1:-1:-1;;;31156:68:0;;8981:2:1;31156:68:0;;;8963:21:1;9020:2;9000:18;;;8993:30;9059:31;9039:18;;;9032:59;9108:18;;31156:68:0;8779:353:1;31156:68:0;31268:51;31277:5;31284:7;31312:6;31293:16;:25;31268:8;:51::i;27510:671::-;-1:-1:-1;;;;;27641:18:0;;27633:68;;;;-1:-1:-1;;;27633:68:0;;10858:2:1;27633:68:0;;;10840:21:1;10897:2;10877:18;;;10870:30;10936:34;10916:18;;;10909:62;-1:-1:-1;;;10987:18:1;;;10980:35;11032:19;;27633:68:0;10656:401:1;27633:68:0;-1:-1:-1;;;;;27720:16:0;;27712:64;;;;-1:-1:-1;;;27712:64:0;;6259:2:1;27712:64:0;;;6241:21:1;6298:2;6278:18;;;6271:30;6337:34;6317:18;;;6310:62;-1:-1:-1;;;6388:18:1;;;6381:33;6431:19;;27712:64:0;6057:399:1;27712:64:0;-1:-1:-1;;;;;27862:15:0;;27840:19;27862:15;;;;;;;;;;;27896:21;;;;27888:72;;;;-1:-1:-1;;;27888:72:0;;9339:2:1;27888:72:0;;;9321:21:1;9378:2;9358:18;;;9351:30;9417:34;9397:18;;;9390:62;-1:-1:-1;;;9468:18:1;;;9461:36;9514:19;;27888:72:0;9137:402:1;27888:72:0;-1:-1:-1;;;;;27996:15:0;;;:9;:15;;;;;;;;;;;28014:20;;;27996:38;;28056:13;;;;;;;;:23;;28028:6;;27996:9;28056:23;;28028:6;;28056:23;:::i;:::-;;;;;;;;28112:2;-1:-1:-1;;;;;28097:26:0;28106:4;-1:-1:-1;;;;;28097:26:0;;28116:6;28097:26;;;;12726:25:1;;12714:2;12699:18;;12580:177;28097:26:0;;;;;;;;28136:37;29200:591;38078:701;-1:-1:-1;;;;;38216:20:0;;38185:7;38216:20;;;:11;;:20;:11;:20;;;;;38212:560;;;38286:1;38271:17;;:14;:17;;;;38260:38;;38294:3;;38260:29;;:6;;:10;:29::i;:38::-;38253:45;;;;38212:560;-1:-1:-1;;;;;38320:20:0;;:11;:20;;;:11;;:20;:11;:20;;;;;38316:456;;;38390:1;38375:17;;:14;:17;;;;38364:38;;38398:3;;38364:29;;:6;;:10;:29::i;38316:456::-;-1:-1:-1;;;;;38424:20:0;;:11;:20;;;:11;;:20;:11;:20;;;;;38420:352;;;38494:1;38479:17;;:14;:17;;;;38468:38;;38502:3;;38468:29;;:6;;:10;:29::i;38420:352::-;-1:-1:-1;;;;;38528:20:0;;:11;:20;;;:11;;:20;:11;:20;;;;;38524:248;;;38598:1;38583:17;;:14;:17;;;;38572:38;;38606:3;;38572:29;;:6;;:10;:29::i;38524:248::-;-1:-1:-1;;;;;38632:20:0;;:11;:20;;;:11;;:20;:11;:20;;;;;38628:144;;;38702:1;38687:17;;:14;:17;;;;38676:38;;38710:3;;38676:29;;:6;;:10;:29::i;38628:144::-;-1:-1:-1;38754:6:0;38747:13;;28468:399;-1:-1:-1;;;;;28552:21:0;;28544:65;;;;-1:-1:-1;;;28544:65:0;;12422:2:1;28544:65:0;;;12404:21:1;12461:2;12441:18;;;12434:30;12500:33;12480:18;;;12473:61;12551:18;;28544:65:0;12220:355:1;28544:65:0;28700:6;28684:12;;:22;;;;;;;:::i;:::-;;;;-1:-1:-1;;;;;;;28717:18:0;;:9;:18;;;;;;;;;;:28;;28739:6;;28717:9;:28;;28739:6;;28717:28;:::i;:::-;;;;-1:-1:-1;;28761:37:0;;12726:25:1;;;-1:-1:-1;;;;;28761:37:0;;;28778:1;;28761:37;;12714:2:1;12699:18;28761:37:0;;;;;;;34902:160;;:::o;16060:191::-;16153:6;;;-1:-1:-1;;;;;16170:17:0;;;-1:-1:-1;;;;;;16170:17:0;;;;;;;16203:40;;16153:6;;;16170:17;16153:6;;16203:40;;16134:16;;16203:40;16123:128;16060:191;:::o;40957:493::-;-1:-1:-1;;;;;41079:24:0;;41058:18;41079:24;;;:18;:24;;;;;;;41114:329;41138:10;41134:1;:14;41114:329;;;-1:-1:-1;;;;;41174:19:0;;;;;;:13;:19;;;;;;;;:22;;;;;;;;;:33;;41170:262;;;41228:17;41248:14;41261:1;41248:10;:14;:::i;:::-;-1:-1:-1;;;;;41306:19:0;;;;;;:13;:19;;;;;;;;:30;;;;;;;;;;;41281:22;;;;;;:55;;;;41362:30;;;41355:37;;-1:-1:-1;41411:5:0;;41170:262;41150:3;;;:::i;:::-;;;41114:329;;9051:98;9109:7;9136:5;9140:1;9136;:5;:::i;9408:98::-;9466:7;9493:5;9497:1;9493;:5;:::i;9807:98::-;9865:7;9892:5;9896:1;9892;:5;:::i;14:173:1:-;82:20;;-1:-1:-1;;;;;131:31:1;;121:42;;111:70;;177:1;174;167:12;111:70;14:173;;;:::o;192:367::-;255:8;265:6;319:3;312:4;304:6;300:17;296:27;286:55;;337:1;334;327:12;286:55;-1:-1:-1;360:20:1;;403:18;392:30;;389:50;;;435:1;432;425:12;389:50;472:4;464:6;460:17;448:29;;532:3;525:4;515:6;512:1;508:14;500:6;496:27;492:38;489:47;486:67;;;549:1;546;539:12;486:67;192:367;;;;;:::o;564:160::-;629:20;;685:13;;678:21;668:32;;658:60;;714:1;711;704:12;729:186;788:6;841:2;829:9;820:7;816:23;812:32;809:52;;;857:1;854;847:12;809:52;880:29;899:9;880:29;:::i;920:260::-;988:6;996;1049:2;1037:9;1028:7;1024:23;1020:32;1017:52;;;1065:1;1062;1055:12;1017:52;1088:29;1107:9;1088:29;:::i;:::-;1078:39;;1136:38;1170:2;1159:9;1155:18;1136:38;:::i;:::-;1126:48;;920:260;;;;;:::o;1185:328::-;1262:6;1270;1278;1331:2;1319:9;1310:7;1306:23;1302:32;1299:52;;;1347:1;1344;1337:12;1299:52;1370:29;1389:9;1370:29;:::i;:::-;1360:39;;1418:38;1452:2;1441:9;1437:18;1418:38;:::i;:::-;1408:48;;1503:2;1492:9;1488:18;1475:32;1465:42;;1185:328;;;;;:::o;1518:254::-;1583:6;1591;1644:2;1632:9;1623:7;1619:23;1615:32;1612:52;;;1660:1;1657;1650:12;1612:52;1683:29;1702:9;1683:29;:::i;:::-;1673:39;;1731:35;1762:2;1751:9;1747:18;1731:35;:::i;1777:254::-;1845:6;1853;1906:2;1894:9;1885:7;1881:23;1877:32;1874:52;;;1922:1;1919;1912:12;1874:52;1945:29;1964:9;1945:29;:::i;:::-;1935:39;2021:2;2006:18;;;;1993:32;;-1:-1:-1;;;1777:254:1:o;2036:437::-;2122:6;2130;2183:2;2171:9;2162:7;2158:23;2154:32;2151:52;;;2199:1;2196;2189:12;2151:52;2239:9;2226:23;2272:18;2264:6;2261:30;2258:50;;;2304:1;2301;2294:12;2258:50;2343:70;2405:7;2396:6;2385:9;2381:22;2343:70;:::i;:::-;2432:8;;2317:96;;-1:-1:-1;2036:437:1;-1:-1:-1;;;;2036:437:1:o;2478:505::-;2570:6;2578;2586;2639:2;2627:9;2618:7;2614:23;2610:32;2607:52;;;2655:1;2652;2645:12;2607:52;2695:9;2682:23;2728:18;2720:6;2717:30;2714:50;;;2760:1;2757;2750:12;2714:50;2799:70;2861:7;2852:6;2841:9;2837:22;2799:70;:::i;:::-;2888:8;;-1:-1:-1;2773:96:1;-1:-1:-1;2942:35:1;;-1:-1:-1;2973:2:1;2958:18;;2942:35;:::i;:::-;2932:45;;2478:505;;;;;:::o;2988:180::-;3047:6;3100:2;3088:9;3079:7;3075:23;3071:32;3068:52;;;3116:1;3113;3106:12;3068:52;-1:-1:-1;3139:23:1;;2988:180;-1:-1:-1;2988:180:1:o;3173:254::-;3241:6;3249;3302:2;3290:9;3281:7;3277:23;3273:32;3270:52;;;3318:1;3315;3308:12;3270:52;3354:9;3341:23;3331:33;;3383:38;3417:2;3406:9;3402:18;3383:38;:::i;3432:248::-;3500:6;3508;3561:2;3549:9;3540:7;3536:23;3532:32;3529:52;;;3577:1;3574;3567:12;3529:52;-1:-1:-1;;3600:23:1;;;3670:2;3655:18;;;3642:32;;-1:-1:-1;3432:248:1:o;4273:632::-;4444:2;4496:21;;;4566:13;;4469:18;;;4588:22;;;4415:4;;4444:2;4667:15;;;;4641:2;4626:18;;;4415:4;4710:169;4724:6;4721:1;4718:13;4710:169;;;4785:13;;4773:26;;4854:15;;;;4819:12;;;;4746:1;4739:9;4710:169;;;-1:-1:-1;4896:3:1;;4273:632;-1:-1:-1;;;;;;4273:632:1:o;5102:597::-;5214:4;5243:2;5272;5261:9;5254:21;5304:6;5298:13;5347:6;5342:2;5331:9;5327:18;5320:34;5372:1;5382:140;5396:6;5393:1;5390:13;5382:140;;;5491:14;;;5487:23;;5481:30;5457:17;;;5476:2;5453:26;5446:66;5411:10;;5382:140;;;5540:6;5537:1;5534:13;5531:91;;;5610:1;5605:2;5596:6;5585:9;5581:22;5577:31;5570:42;5531:91;-1:-1:-1;5683:2:1;5662:15;-1:-1:-1;;5658:29:1;5643:45;;;;5690:2;5639:54;;5102:597;-1:-1:-1;;;5102:597:1:o;9893:356::-;10095:2;10077:21;;;10114:18;;;10107:30;10173:34;10168:2;10153:18;;10146:62;10240:2;10225:18;;9893:356::o;12951:128::-;12991:3;13022:1;13018:6;13015:1;13012:13;13009:39;;;13028:18;;:::i;:::-;-1:-1:-1;13064:9:1;;12951:128::o;13084:217::-;13124:1;13150;13140:132;;13194:10;13189:3;13185:20;13182:1;13175:31;13229:4;13226:1;13219:15;13257:4;13254:1;13247:15;13140:132;-1:-1:-1;13286:9:1;;13084:217::o;13306:168::-;13346:7;13412:1;13408;13404:6;13400:14;13397:1;13394:21;13389:1;13382:9;13375:17;13371:45;13368:71;;;13419:18;;:::i;:::-;-1:-1:-1;13459:9:1;;13306:168::o;13479:125::-;13519:4;13547:1;13544;13541:8;13538:34;;;13552:18;;:::i;:::-;-1:-1:-1;13589:9:1;;13479:125::o;13609:380::-;13688:1;13684:12;;;;13731;;;13752:61;;13806:4;13798:6;13794:17;13784:27;;13752:61;13859:2;13851:6;13848:14;13828:18;13825:38;13822:161;;;13905:10;13900:3;13896:20;13893:1;13886:31;13940:4;13937:1;13930:15;13968:4;13965:1;13958:15;13822:161;;13609:380;;;:::o;13994:135::-;14033:3;-1:-1:-1;;14054:17:1;;14051:43;;;14074:18;;:::i;:::-;-1:-1:-1;14121:1:1;14110:13;;13994:135::o;14134:127::-;14195:10;14190:3;14186:20;14183:1;14176:31;14226:4;14223:1;14216:15;14250:4;14247:1;14240:15;14266:127;14327:10;14322:3;14318:20;14315:1;14308:31;14358:4;14355:1;14348:15;14382:4;14379:1;14372:15;14398:127;14459:10;14454:3;14450:20;14447:1;14440:31;14490:4;14487:1;14480:15;14514:4;14511:1;14504:15

Swarm Source

ipfs://cda1314730fad68c169978d34c422991a94c438922cdeeee3af5c765df53be95
Loading...
Loading
Loading...
Loading
[ Download: CSV Export  ]
[ Download: CSV Export  ]

A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.