ETH Price: $3,523.22 (+6.85%)

Token

Bad Bears (BADBEAR)
 

Overview

Max Total Supply

5,555 BADBEAR

Holders

1,737

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Balance
1 BADBEAR
0xf3cfbe34544B9Ac9e5D0c5D4cFe845B17BA955dB
Loading...
Loading
Loading...
Loading
Loading...
Loading

OVERVIEW

5,555 Bad Bears are taking over the Metaverse with a one-of-a-kind tokenized, ERC-721 based ecosystem built on the Ethereum blockchain.

# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
BadBear

Compiler Version
v0.8.9+commit.e5eed63a

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 14 : BadBear.sol
pragma solidity ^0.8.9;

import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/math/SafeMath.sol";
import "@openzeppelin/contracts/utils/Counters.sol";
import "@openzeppelin/contracts/token/ERC721/ERC721.sol";

interface NftStaking {
    function eventTransfer(
        address from,
        address to,
        uint256 tokenId
    ) external;
}

contract BadBear is ERC721, Ownable {
    using SafeMath for uint256;
    using Counters for Counters.Counter;
    Counters.Counter private m_TokenIdCounter;

    uint256 private constant MAX_SUPPLY = 5555;

    uint256 private m_MaxMintPerAddress = 5;

    address private MISHKA2 = 0x72D7b17bF63322A943d4A2873310a83DcdBc3c8D;
    uint256 private m_MskMinHold = 50000 * 10**18;

    uint256 private m_PreMintPrice = 0.1 ether; // 0.1Eth
    uint256 private m_PublicMintPrice = 0.15 ether; // 0.1Eth

    mapping(address => bool) private m_WhiteList;

    mapping(address => bool) private m_ProxyList;

    mapping(uint256 => bool) private m_BurnList;

    mapping(address => bool) private m_DevWallet;

    address[] private m_WhiteNftList;

    bool private m_IsMintable = false; // false
    bool private m_IsPublic = false;

    string private m_baseURI;
    string private m_ContractURI;

    address private m_StakingAddress;

    constructor() ERC721("Bad Bears", "BADBEAR") {
        m_ContractURI = "https://nft.badbears.io/api/contract/info.json";
        m_StakingAddress = address(0);
    }

    function isApprovedForAll(address _owner, address _operator)
        public
        view
        override
        returns (bool isOperator)
    {
        if (m_ProxyList[_operator]) {
            return true;
        }

        return ERC721.isApprovedForAll(_owner, _operator);
    }

    function _beforeTokenTransfer(
        address from,
        address to,
        uint256 tokenId
    ) internal override {
        if (m_StakingAddress != address(0)) {
            NftStaking(m_StakingAddress).eventTransfer(from, to, tokenId);
        }
    }

    function totalSupply() public view returns (uint256) {
        uint256 counter = 0;
        for (uint256 i = 1; i <= MAX_SUPPLY; i++) {
            if (_exists(i)) counter = counter.add(1);
        }
        return counter;
    }

    function withdraw() public onlyOwner {
        uint256 balance = address(this).balance;
        payable(msg.sender).transfer(balance);
    }

    function _safeMintMultiple(address _address, uint256 _numberOfTokens)
        private
    {
        while (_numberOfTokens > 0) {
            m_TokenIdCounter.increment();
            uint256 tokenId = m_TokenIdCounter.current();

            if (_exists(tokenId) || m_BurnList[tokenId]) continue;

            require(tokenId <= MAX_SUPPLY);
            _safeMint(_address, tokenId);
            _numberOfTokens = _numberOfTokens.sub(1);
        }
    }

    function customReserve(address _address, uint256[] memory ids)
        external
        onlyOwner
    {
        for (uint256 i = 0; i < ids.length; i++) {
            require(ids[i] <= MAX_SUPPLY);
            require(!_exists(ids[i]), "Token id exists.");
            if (m_BurnList[ids[i]]) m_BurnList[ids[i]] = false;

            _safeMint(_address, ids[i]);
        }
    }

    function randomReserve(address _address, uint256 _numberOfTokens)
        external
        onlyOwner
    {
        _safeMintMultiple(_address, _numberOfTokens);
    }

    function mint(uint256 _numberOfTokens) public payable {
        require(m_IsMintable, "must be active");

        require(_numberOfTokens > 0);

        require(
            balanceOf(msg.sender).add(_numberOfTokens) <= m_MaxMintPerAddress,
            "Over Max Mint per Address"
        );

        if (m_IsPublic) {
            require(msg.value == m_PublicMintPrice.mul(_numberOfTokens));
        } else {
            IERC20 mishkaV2 = IERC20(MISHKA2);
            require(
                m_WhiteList[msg.sender] ||
                    mishkaV2.balanceOf(msg.sender) >= m_MskMinHold ||
                    isExistWhiteNft(msg.sender)
            );
            require(msg.value >= m_PreMintPrice.mul(_numberOfTokens));
        }

        _safeMintMultiple(msg.sender, _numberOfTokens);
    }

    function devMint(uint256 _numberOfTokens) external {
        require(m_DevWallet[msg.sender]);

        _safeMintMultiple(msg.sender, _numberOfTokens);
    }

    function burn(uint256 _tokenId) external onlyOwner {
        _burn(_tokenId);
        m_BurnList[_tokenId] = true;
    }

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

    function setWhiteList(address _address) public onlyOwner {
        m_WhiteList[_address] = true;
    }

    function setWhiteListMultiple(address[] memory _addresses)
        public
        onlyOwner
    {
        for (uint256 i = 0; i < _addresses.length; i++) {
            setWhiteList(_addresses[i]);
        }
    }

    function removeWhiteList(address _address) external onlyOwner {
        m_WhiteList[_address] = false;
    }

    function isWhiteListed(address _address) external view returns (bool) {
        return m_WhiteList[_address];
    }

    function setDevWallet(address _address) external onlyOwner {
        m_DevWallet[_address] = true;
    }

    function removeDevWallet(address _address) external onlyOwner {
        m_DevWallet[_address] = false;
    }

    function setWhiteNft(address _address) public onlyOwner {
        require(!isWhiteNft(_address));

        for (uint256 i = 0; i < m_WhiteNftList.length; i++) {
            if (m_WhiteNftList[i] == address(0)) {
                m_WhiteNftList[i] = _address;
                return;
            }
        }

        m_WhiteNftList.push(_address);
    }

    function removeWhiteNft(address _address) external onlyOwner {
        require(isWhiteNft(_address));

        for (uint256 i = 0; i < m_WhiteNftList.length; i++) {
            if (_address == m_WhiteNftList[i]) m_WhiteNftList[i] = address(0);
        }
    }

    function isWhiteNft(address _address) public view returns (bool) {
        for (uint256 i = 0; i < m_WhiteNftList.length; i++) {
            if (_address != address(0) && m_WhiteNftList[i] == _address)
                return true;
        }
        return false;
    }

    function isExistWhiteNft(address _address) public view returns (bool) {
        for (uint256 i = 0; i < m_WhiteNftList.length; i++) {
            if (m_WhiteNftList[i] != address(0)) {
                if (ERC721(m_WhiteNftList[i]).balanceOf(_address) > 0)
                    return true;
            }
        }
        return false;
    }

    function getWhiteNftList()
        external
        view
        onlyOwner
        returns (address[] memory)
    {
        return m_WhiteNftList;
    }

    // ######## BadBear Config #########

    function getMaxSupply() external pure returns (uint256) {
        return MAX_SUPPLY;
    }

    function contractURI() public view returns (string memory) {
        return m_ContractURI;
    }

    function setContractURI(string memory _contractURI) external onlyOwner {
        m_ContractURI = _contractURI;
    }

    function getPreMintPrice() external view returns (uint256) {
        return m_PreMintPrice;
    }

    function setPreMintPrice(uint256 _preMintPrice) external onlyOwner {
        m_PreMintPrice = _preMintPrice;
    }

    function getPublicMintPrice() external view returns (uint256) {
        return m_PublicMintPrice;
    }

    function setPublicMintPrice(uint256 _publicMintPrice) external onlyOwner {
        m_PublicMintPrice = _publicMintPrice;
    }

    function setBaseURI(string memory _newBaseURI) external onlyOwner {
        m_baseURI = _newBaseURI;
    }

    function _baseURI() internal view override returns (string memory) {
        return m_baseURI;
    }

    function setMintEnabled(bool _enabled) external onlyOwner {
        m_IsMintable = _enabled;
    }

    function getMintEnabled() external view returns (bool) {
        return m_IsMintable;
    }

    function setPublicMintEnabled(bool _enabled) external onlyOwner {
        m_IsPublic = _enabled;
    }

    function getPublicMintEnabled() external view returns (bool) {
        return m_IsPublic;
    }

    function setMaxMintPerAddress(uint256 _maxMintPerAddress)
        external
        onlyOwner
    {
        m_MaxMintPerAddress = _maxMintPerAddress;
    }

    function getMaxMintPerAddress() external view returns (uint256) {
        return m_MaxMintPerAddress;
    }

    function setProxyList(address _proxyAddress) external onlyOwner {
        m_ProxyList[_proxyAddress] = true;
    }

    function removeProxyList(address _proxyAddress) external onlyOwner {
        m_ProxyList[_proxyAddress] = false;
    }

    function isProxyList(address _proxyAddress) external view returns (bool) {
        return m_ProxyList[_proxyAddress];
    }

    function setStakingAddress(address _address) external onlyOwner {
        m_StakingAddress = _address;
    }

    function getStakingAddress() external view returns (address) {
        return m_StakingAddress;
    }

    // ######## MSK #########
    function setMskContract(address _address) external onlyOwner {
        MISHKA2 = _address;
    }

    function setMskMinHold(uint256 _amount) external onlyOwner {
        m_MskMinHold = _amount.mul(10**18);
    }

    function getMskMinHold() external view returns (uint256) {
        return m_MskMinHold.div(10**18);
    }
}

File 2 of 14 : IERC20.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

File 3 of 14 : Ownable.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "../utils/Context.sol";

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

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

    /**
     * @dev Initializes the contract setting the deployer as the initial owner.
     */
    constructor() {
        _setOwner(_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 {
        _setOwner(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");
        _setOwner(newOwner);
    }

    function _setOwner(address newOwner) private {
        address oldOwner = _owner;
        _owner = newOwner;
        emit OwnershipTransferred(oldOwner, newOwner);
    }
}

File 4 of 14 : SafeMath.sol
// SPDX-License-Identifier: MIT

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 no longer needed starting with Solidity 0.8. 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 substraction 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 5 of 14 : Counters.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

/**
 * @title Counters
 * @author Matt Condon (@shrugs)
 * @dev Provides counters that can only be incremented, decremented or reset. This can be used e.g. to track the number
 * of elements in a mapping, issuing ERC721 ids, or counting request ids.
 *
 * Include with `using Counters for Counters.Counter;`
 */
library Counters {
    struct Counter {
        // This variable should never be directly accessed by users of the library: interactions must be restricted to
        // the library's function. As of Solidity v0.5.2, this cannot be enforced, though there is a proposal to add
        // this feature: see https://github.com/ethereum/solidity/issues/4637
        uint256 _value; // default: 0
    }

    function current(Counter storage counter) internal view returns (uint256) {
        return counter._value;
    }

    function increment(Counter storage counter) internal {
        unchecked {
            counter._value += 1;
        }
    }

    function decrement(Counter storage counter) internal {
        uint256 value = counter._value;
        require(value > 0, "Counter: decrement overflow");
        unchecked {
            counter._value = value - 1;
        }
    }

    function reset(Counter storage counter) internal {
        counter._value = 0;
    }
}

File 6 of 14 : ERC721.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "./IERC721.sol";
import "./IERC721Receiver.sol";
import "./extensions/IERC721Metadata.sol";
import "../../utils/Address.sol";
import "../../utils/Context.sol";
import "../../utils/Strings.sol";
import "../../utils/introspection/ERC165.sol";

/**
 * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including
 * the Metadata extension, but not including the Enumerable extension, which is available separately as
 * {ERC721Enumerable}.
 */
contract ERC721 is Context, ERC165, IERC721, IERC721Metadata {
    using Address for address;
    using Strings for uint256;

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

    // Mapping from token ID to owner address
    mapping(uint256 => address) private _owners;

    // Mapping owner address to token count
    mapping(address => uint256) private _balances;

    // Mapping from token ID to approved address
    mapping(uint256 => address) private _tokenApprovals;

    // Mapping from owner to operator approvals
    mapping(address => mapping(address => bool)) private _operatorApprovals;

    /**
     * @dev Initializes the contract by setting a `name` and a `symbol` to the token collection.
     */
    constructor(string memory name_, string memory symbol_) {
        _name = name_;
        _symbol = symbol_;
    }

    /**
     * @dev See {IERC165-supportsInterface}.
     */
    function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) {
        return
            interfaceId == type(IERC721).interfaceId ||
            interfaceId == type(IERC721Metadata).interfaceId ||
            super.supportsInterface(interfaceId);
    }

    /**
     * @dev See {IERC721-balanceOf}.
     */
    function balanceOf(address owner) public view virtual override returns (uint256) {
        require(owner != address(0), "ERC721: balance query for the zero address");
        return _balances[owner];
    }

    /**
     * @dev See {IERC721-ownerOf}.
     */
    function ownerOf(uint256 tokenId) public view virtual override returns (address) {
        address owner = _owners[tokenId];
        require(owner != address(0), "ERC721: owner query for nonexistent token");
        return owner;
    }

    /**
     * @dev See {IERC721Metadata-name}.
     */
    function name() public view virtual override returns (string memory) {
        return _name;
    }

    /**
     * @dev See {IERC721Metadata-symbol}.
     */
    function symbol() public view virtual override returns (string memory) {
        return _symbol;
    }

    /**
     * @dev See {IERC721Metadata-tokenURI}.
     */
    function tokenURI(uint256 tokenId) public view virtual override returns (string memory) {
        require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token");

        string memory baseURI = _baseURI();
        return bytes(baseURI).length > 0 ? string(abi.encodePacked(baseURI, tokenId.toString())) : "";
    }

    /**
     * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each
     * token will be the concatenation of the `baseURI` and the `tokenId`. Empty
     * by default, can be overriden in child contracts.
     */
    function _baseURI() internal view virtual returns (string memory) {
        return "";
    }

    /**
     * @dev See {IERC721-approve}.
     */
    function approve(address to, uint256 tokenId) public virtual override {
        address owner = ERC721.ownerOf(tokenId);
        require(to != owner, "ERC721: approval to current owner");

        require(
            _msgSender() == owner || isApprovedForAll(owner, _msgSender()),
            "ERC721: approve caller is not owner nor approved for all"
        );

        _approve(to, tokenId);
    }

    /**
     * @dev See {IERC721-getApproved}.
     */
    function getApproved(uint256 tokenId) public view virtual override returns (address) {
        require(_exists(tokenId), "ERC721: approved query for nonexistent token");

        return _tokenApprovals[tokenId];
    }

    /**
     * @dev See {IERC721-setApprovalForAll}.
     */
    function setApprovalForAll(address operator, bool approved) public virtual override {
        require(operator != _msgSender(), "ERC721: approve to caller");

        _operatorApprovals[_msgSender()][operator] = approved;
        emit ApprovalForAll(_msgSender(), operator, approved);
    }

    /**
     * @dev See {IERC721-isApprovedForAll}.
     */
    function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) {
        return _operatorApprovals[owner][operator];
    }

    /**
     * @dev See {IERC721-transferFrom}.
     */
    function transferFrom(
        address from,
        address to,
        uint256 tokenId
    ) public virtual override {
        //solhint-disable-next-line max-line-length
        require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved");

        _transfer(from, to, tokenId);
    }

    /**
     * @dev See {IERC721-safeTransferFrom}.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId
    ) public virtual override {
        safeTransferFrom(from, to, tokenId, "");
    }

    /**
     * @dev See {IERC721-safeTransferFrom}.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId,
        bytes memory _data
    ) public virtual override {
        require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved");
        _safeTransfer(from, to, tokenId, _data);
    }

    /**
     * @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.
     *
     * `_data` is additional data, it has no specified format and it is sent in call to `to`.
     *
     * This internal function is equivalent to {safeTransferFrom}, and can be used to e.g.
     * implement alternative mechanisms to perform token transfer, such as signature-based.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must exist and be owned by `from`.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function _safeTransfer(
        address from,
        address to,
        uint256 tokenId,
        bytes memory _data
    ) internal virtual {
        _transfer(from, to, tokenId);
        require(_checkOnERC721Received(from, to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer");
    }

    /**
     * @dev Returns whether `tokenId` exists.
     *
     * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}.
     *
     * Tokens start existing when they are minted (`_mint`),
     * and stop existing when they are burned (`_burn`).
     */
    function _exists(uint256 tokenId) internal view virtual returns (bool) {
        return _owners[tokenId] != address(0);
    }

    /**
     * @dev Returns whether `spender` is allowed to manage `tokenId`.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) {
        require(_exists(tokenId), "ERC721: operator query for nonexistent token");
        address owner = ERC721.ownerOf(tokenId);
        return (spender == owner || getApproved(tokenId) == spender || isApprovedForAll(owner, spender));
    }

    /**
     * @dev Safely mints `tokenId` and transfers it to `to`.
     *
     * Requirements:
     *
     * - `tokenId` must not exist.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function _safeMint(address to, uint256 tokenId) internal virtual {
        _safeMint(to, tokenId, "");
    }

    /**
     * @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is
     * forwarded in {IERC721Receiver-onERC721Received} to contract recipients.
     */
    function _safeMint(
        address to,
        uint256 tokenId,
        bytes memory _data
    ) internal virtual {
        _mint(to, tokenId);
        require(
            _checkOnERC721Received(address(0), to, tokenId, _data),
            "ERC721: transfer to non ERC721Receiver implementer"
        );
    }

    /**
     * @dev Mints `tokenId` and transfers it to `to`.
     *
     * WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible
     *
     * Requirements:
     *
     * - `tokenId` must not exist.
     * - `to` cannot be the zero address.
     *
     * Emits a {Transfer} event.
     */
    function _mint(address to, uint256 tokenId) internal virtual {
        require(to != address(0), "ERC721: mint to the zero address");
        require(!_exists(tokenId), "ERC721: token already minted");

        _beforeTokenTransfer(address(0), to, tokenId);

        _balances[to] += 1;
        _owners[tokenId] = to;

        emit Transfer(address(0), to, tokenId);
    }

    /**
     * @dev Destroys `tokenId`.
     * The approval is cleared when the token is burned.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     *
     * Emits a {Transfer} event.
     */
    function _burn(uint256 tokenId) internal virtual {
        address owner = ERC721.ownerOf(tokenId);

        _beforeTokenTransfer(owner, address(0), tokenId);

        // Clear approvals
        _approve(address(0), tokenId);

        _balances[owner] -= 1;
        delete _owners[tokenId];

        emit Transfer(owner, address(0), tokenId);
    }

    /**
     * @dev Transfers `tokenId` from `from` to `to`.
     *  As opposed to {transferFrom}, this imposes no restrictions on msg.sender.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - `tokenId` token must be owned by `from`.
     *
     * Emits a {Transfer} event.
     */
    function _transfer(
        address from,
        address to,
        uint256 tokenId
    ) internal virtual {
        require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer of token that is not own");
        require(to != address(0), "ERC721: transfer to the zero address");

        _beforeTokenTransfer(from, to, tokenId);

        // Clear approvals from the previous owner
        _approve(address(0), tokenId);

        _balances[from] -= 1;
        _balances[to] += 1;
        _owners[tokenId] = to;

        emit Transfer(from, to, tokenId);
    }

    /**
     * @dev Approve `to` to operate on `tokenId`
     *
     * Emits a {Approval} event.
     */
    function _approve(address to, uint256 tokenId) internal virtual {
        _tokenApprovals[tokenId] = to;
        emit Approval(ERC721.ownerOf(tokenId), to, tokenId);
    }

    /**
     * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address.
     * The call is not executed if the target address is not a contract.
     *
     * @param from address representing the previous owner of the given token ID
     * @param to target address that will receive the tokens
     * @param tokenId uint256 ID of the token to be transferred
     * @param _data bytes optional data to send along with the call
     * @return bool whether the call correctly returned the expected magic value
     */
    function _checkOnERC721Received(
        address from,
        address to,
        uint256 tokenId,
        bytes memory _data
    ) private returns (bool) {
        if (to.isContract()) {
            try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, _data) returns (bytes4 retval) {
                return retval == IERC721Receiver.onERC721Received.selector;
            } catch (bytes memory reason) {
                if (reason.length == 0) {
                    revert("ERC721: transfer to non ERC721Receiver implementer");
                } else {
                    assembly {
                        revert(add(32, reason), mload(reason))
                    }
                }
            }
        } else {
            return true;
        }
    }

    /**
     * @dev Hook that is called before any token transfer. This includes minting
     * and burning.
     *
     * Calling conditions:
     *
     * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be
     * transferred to `to`.
     * - When `from` is zero, `tokenId` will be minted for `to`.
     * - When `to` is zero, ``from``'s `tokenId` 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 tokenId
    ) internal virtual {}
}

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

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 8 of 14 : IERC721.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "../../utils/introspection/IERC165.sol";

/**
 * @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`, 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 Returns the account approved for `tokenId` token.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function getApproved(uint256 tokenId) external view returns (address operator);

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

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

File 9 of 14 : IERC721Receiver.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

/**
 * @title ERC721 token receiver interface
 * @dev Interface for any contract that wants to support safeTransfers
 * from ERC721 asset contracts.
 */
interface IERC721Receiver {
    /**
     * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom}
     * by `operator` from `from`, this function is called.
     *
     * It must return its Solidity selector to confirm the token transfer.
     * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted.
     *
     * The selector can be obtained in Solidity with `IERC721.onERC721Received.selector`.
     */
    function onERC721Received(
        address operator,
        address from,
        uint256 tokenId,
        bytes calldata data
    ) external returns (bytes4);
}

File 10 of 14 : IERC721Metadata.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "../IERC721.sol";

/**
 * @title ERC-721 Non-Fungible Token Standard, optional metadata extension
 * @dev See https://eips.ethereum.org/EIPS/eip-721
 */
interface IERC721Metadata is IERC721 {
    /**
     * @dev Returns the token collection name.
     */
    function name() external view returns (string memory);

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

    /**
     * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token.
     */
    function tokenURI(uint256 tokenId) external view returns (string memory);
}

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

pragma solidity ^0.8.0;

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

        uint256 size;
        assembly {
            size := extcodesize(account)
        }
        return size > 0;
    }

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

        (bool success, ) = recipient.call{value: amount}("");
        require(success, "Address: unable to send value, recipient may have reverted");
    }

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

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

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

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

        (bool success, bytes memory returndata) = target.call{value: value}(data);
        return verifyCallResult(success, returndata, errorMessage);
    }

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

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

        (bool success, bytes memory returndata) = target.staticcall(data);
        return verifyCallResult(success, returndata, errorMessage);
    }

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

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

        (bool success, bytes memory returndata) = target.delegatecall(data);
        return verifyCallResult(success, returndata, errorMessage);
    }

    /**
     * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the
     * revert reason using the provided one.
     *
     * _Available since v4.3._
     */
    function verifyCallResult(
        bool success,
        bytes memory returndata,
        string memory errorMessage
    ) internal pure returns (bytes memory) {
        if (success) {
            return returndata;
        } else {
            // Look for revert reason and bubble it up if present
            if (returndata.length > 0) {
                // The easiest way to bubble the revert reason is using memory via assembly

                assembly {
                    let returndata_size := mload(returndata)
                    revert(add(32, returndata), returndata_size)
                }
            } else {
                revert(errorMessage);
            }
        }
    }
}

File 12 of 14 : Strings.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

/**
 * @dev String operations.
 */
library Strings {
    bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef";

    /**
     * @dev Converts a `uint256` to its ASCII `string` decimal representation.
     */
    function toString(uint256 value) internal pure returns (string memory) {
        // Inspired by OraclizeAPI's implementation - MIT licence
        // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol

        if (value == 0) {
            return "0";
        }
        uint256 temp = value;
        uint256 digits;
        while (temp != 0) {
            digits++;
            temp /= 10;
        }
        bytes memory buffer = new bytes(digits);
        while (value != 0) {
            digits -= 1;
            buffer[digits] = bytes1(uint8(48 + uint256(value % 10)));
            value /= 10;
        }
        return string(buffer);
    }

    /**
     * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation.
     */
    function toHexString(uint256 value) internal pure returns (string memory) {
        if (value == 0) {
            return "0x00";
        }
        uint256 temp = value;
        uint256 length = 0;
        while (temp != 0) {
            length++;
            temp >>= 8;
        }
        return toHexString(value, length);
    }

    /**
     * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length.
     */
    function toHexString(uint256 value, uint256 length) internal pure returns (string memory) {
        bytes memory buffer = new bytes(2 * length + 2);
        buffer[0] = "0";
        buffer[1] = "x";
        for (uint256 i = 2 * length + 1; i > 1; --i) {
            buffer[i] = _HEX_SYMBOLS[value & 0xf];
            value >>= 4;
        }
        require(value == 0, "Strings: hex length insufficient");
        return string(buffer);
    }
}

File 13 of 14 : ERC165.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "./IERC165.sol";

/**
 * @dev Implementation of the {IERC165} interface.
 *
 * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check
 * for the additional interface id that will be supported. For example:
 *
 * ```solidity
 * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
 *     return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId);
 * }
 * ```
 *
 * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation.
 */
abstract contract ERC165 is IERC165 {
    /**
     * @dev See {IERC165-supportsInterface}.
     */
    function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
        return interfaceId == type(IERC165).interfaceId;
    }
}

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

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

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

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","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":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"contractURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"},{"internalType":"uint256[]","name":"ids","type":"uint256[]"}],"name":"customReserve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_numberOfTokens","type":"uint256"}],"name":"devMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getMaxMintPerAddress","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getMaxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"pure","type":"function"},{"inputs":[],"name":"getMintEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getMskMinHold","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getPreMintPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getPublicMintEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getPublicMintPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getStakingAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getWhiteNftList","outputs":[{"internalType":"address[]","name":"","type":"address[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_owner","type":"address"},{"internalType":"address","name":"_operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"isOperator","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"}],"name":"isExistWhiteNft","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_proxyAddress","type":"address"}],"name":"isProxyList","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"}],"name":"isWhiteListed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"}],"name":"isWhiteNft","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_numberOfTokens","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"},{"internalType":"uint256","name":"_numberOfTokens","type":"uint256"}],"name":"randomReserve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"}],"name":"removeDevWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_proxyAddress","type":"address"}],"name":"removeProxyList","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"}],"name":"removeWhiteList","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"}],"name":"removeWhiteNft","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_newBaseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_contractURI","type":"string"}],"name":"setContractURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"}],"name":"setDevWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_maxMintPerAddress","type":"uint256"}],"name":"setMaxMintPerAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_enabled","type":"bool"}],"name":"setMintEnabled","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"}],"name":"setMskContract","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"setMskMinHold","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_preMintPrice","type":"uint256"}],"name":"setPreMintPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_proxyAddress","type":"address"}],"name":"setProxyList","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_enabled","type":"bool"}],"name":"setPublicMintEnabled","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_publicMintPrice","type":"uint256"}],"name":"setPublicMintPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"}],"name":"setStakingAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"}],"name":"setWhiteList","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"_addresses","type":"address[]"}],"name":"setWhiteListMultiple","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"}],"name":"setWhiteNft","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

608060405260056008557372d7b17bf63322a943d4a2873310a83dcdbc3c8d600960006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550690a968163f0a57b400000600a5567016345785d8a0000600b55670214e8348c4f0000600c556000601260006101000a81548160ff0219169083151502179055506000601260016101000a81548160ff021916908315150217905550348015620000c757600080fd5b506040518060400160405280600981526020017f42616420426561727300000000000000000000000000000000000000000000008152506040518060400160405280600781526020017f424144424541520000000000000000000000000000000000000000000000000081525081600090805190602001906200014c929190620002d0565b50806001908051906020019062000165929190620002d0565b505050620001886200017c6200020260201b60201c565b6200020a60201b60201c565b6040518060600160405280602e815260200162005f0b602e913960149080519060200190620001b9929190620002d0565b506000601560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550620003e5565b600033905090565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b828054620002de90620003af565b90600052602060002090601f0160209004810192826200030257600085556200034e565b82601f106200031d57805160ff19168380011785556200034e565b828001600101855582156200034e579182015b828111156200034d57825182559160200191906001019062000330565b5b5090506200035d919062000361565b5090565b5b808211156200037c57600081600090555060010162000362565b5090565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680620003c857607f821691505b60208210811415620003df57620003de62000380565b5b50919050565b615b1680620003f56000396000f3fe60806040526004361061036b5760003560e01c8063744dab38116101c6578063a22cb465116100f7578063da6405e111610095578063e985e9c51161006f578063e985e9c514610c63578063f2fde38b14610ca0578063f46a04eb14610cc9578063f4e0d9ac14610cf25761036b565b8063da6405e114610be4578063e8a3d48514610c0d578063e8fec3f414610c385761036b565b8063bf2c6f58116100d1578063bf2c6f5814610b2a578063c87b56dd14610b53578063ce772ffb14610b90578063d462174f14610bbb5761036b565b8063a22cb46514610aaf578063ae00df2714610ad8578063b88d4fde14610b015761036b565b806386d8953a1161016457806395d89b411161013e57806395d89b4114610a1457806398f20f6e14610a3f57806399e35d1c14610a68578063a0712d6814610a935761036b565b806386d8953a146109975780638da5cb5b146109c0578063938e3d7b146109eb5761036b565b80637ec5b14f116101a05780637ec5b14f146108cb5780638049ed0414610908578063818668d714610931578063822f4a4f1461095a5761036b565b8063744dab381461084e578063744e36ec146108795780637ba9c5a5146108a25761036b565b80633ccfd60b116102a057806358a17d8a1161023e5780636f9170f6116102185780636f9170f6146107925780636ffd0c97146107cf57806370a08231146107fa578063715018a6146108375761036b565b806358a17d8a146106ef5780635d82cf6e1461072c5780636352211e146107555761036b565b806342842e0e1161027a57806342842e0e1461064957806342966c68146106725780634c0f38c21461069b57806355f804b3146106c65761036b565b80633ccfd60b146105de5780633fbb0c45146105f55780633fc9a646146106205761036b565b806318160ddd1161030d5780632042e5c2116102e75780632042e5c21461053a57806323b872dd14610563578063375a069a1461058c57806339e899ee146105b55761036b565b806318160ddd146104bd5780631e14d44b146104e85780631f53ac02146105115761036b565b8063095ea7b311610349578063095ea7b31461041557806309e8b0491461043e5780630a656450146104675780630e9ed68b146104925761036b565b806301ffc9a71461037057806306fdde03146103ad578063081812fc146103d8575b600080fd5b34801561037c57600080fd5b506103976004803603810190610392919061435d565b610d1b565b6040516103a491906143a5565b60405180910390f35b3480156103b957600080fd5b506103c2610dfd565b6040516103cf9190614459565b60405180910390f35b3480156103e457600080fd5b506103ff60048036038101906103fa91906144b1565b610e8f565b60405161040c919061451f565b60405180910390f35b34801561042157600080fd5b5061043c60048036038101906104379190614566565b610f14565b005b34801561044a57600080fd5b50610465600480360381019061046091906145a6565b61102c565b005b34801561047357600080fd5b5061047c611103565b60405161048991906143a5565b60405180910390f35b34801561049e57600080fd5b506104a761111a565b6040516104b4919061451f565b60405180910390f35b3480156104c957600080fd5b506104d2611144565b6040516104df91906145e2565b60405180910390f35b3480156104f457600080fd5b5061050f600480360381019061050a91906144b1565b61119b565b005b34801561051d57600080fd5b50610538600480360381019061053391906145a6565b611221565b005b34801561054657600080fd5b50610561600480360381019061055c91906145a6565b6112f8565b005b34801561056f57600080fd5b5061058a600480360381019061058591906145fd565b6113cf565b005b34801561059857600080fd5b506105b360048036038101906105ae91906144b1565b61142f565b005b3480156105c157600080fd5b506105dc60048036038101906105d791906145a6565b611492565b005b3480156105ea57600080fd5b506105f3611569565b005b34801561060157600080fd5b5061060a611634565b60405161061791906145e2565b60405180910390f35b34801561062c57600080fd5b50610647600480360381019061064291906145a6565b61163e565b005b34801561065557600080fd5b50610670600480360381019061066b91906145fd565b611715565b005b34801561067e57600080fd5b50610699600480360381019061069491906144b1565b611735565b005b3480156106a757600080fd5b506106b06117e9565b6040516106bd91906145e2565b60405180910390f35b3480156106d257600080fd5b506106ed60048036038101906106e89190614785565b6117f3565b005b3480156106fb57600080fd5b50610716600480360381019061071191906145a6565b611889565b60405161072391906143a5565b60405180910390f35b34801561073857600080fd5b50610753600480360381019061074e91906144b1565b611971565b005b34801561076157600080fd5b5061077c600480360381019061077791906144b1565b6119f7565b604051610789919061451f565b60405180910390f35b34801561079e57600080fd5b506107b960048036038101906107b491906145a6565b611aa9565b6040516107c691906143a5565b60405180910390f35b3480156107db57600080fd5b506107e4611aff565b6040516107f191906143a5565b60405180910390f35b34801561080657600080fd5b50610821600480360381019061081c91906145a6565b611b16565b60405161082e91906145e2565b60405180910390f35b34801561084357600080fd5b5061084c611bce565b005b34801561085a57600080fd5b50610863611c56565b60405161087091906145e2565b60405180910390f35b34801561088557600080fd5b506108a0600480360381019061089b91906145a6565b611c60565b005b3480156108ae57600080fd5b506108c960048036038101906108c49190614566565b611de6565b005b3480156108d757600080fd5b506108f260048036038101906108ed91906145a6565b611e70565b6040516108ff91906143a5565b60405180910390f35b34801561091457600080fd5b5061092f600480360381019061092a91906145a6565b611ec6565b005b34801561093d57600080fd5b50610958600480360381019061095391906147fa565b611f9d565b005b34801561096657600080fd5b50610981600480360381019061097c91906145a6565b612036565b60405161098e91906143a5565b60405180910390f35b3480156109a357600080fd5b506109be60048036038101906109b991906148ef565b6121b5565b005b3480156109cc57600080fd5b506109d5612277565b6040516109e2919061451f565b60405180910390f35b3480156109f757600080fd5b50610a126004803603810190610a0d9190614785565b6122a1565b005b348015610a2057600080fd5b50610a29612337565b604051610a369190614459565b60405180910390f35b348015610a4b57600080fd5b50610a666004803603810190610a6191906145a6565b6123c9565b005b348015610a7457600080fd5b50610a7d612489565b604051610a8a91906145e2565b60405180910390f35b610aad6004803603810190610aa891906144b1565b6124ad565b005b348015610abb57600080fd5b50610ad66004803603810190610ad19190614938565b6126f4565b005b348015610ae457600080fd5b50610aff6004803603810190610afa91906144b1565b612875565b005b348015610b0d57600080fd5b50610b286004803603810190610b239190614a19565b612915565b005b348015610b3657600080fd5b50610b516004803603810190610b4c91906145a6565b612977565b005b348015610b5f57600080fd5b50610b7a6004803603810190610b7591906144b1565b612b67565b604051610b879190614459565b60405180910390f35b348015610b9c57600080fd5b50610ba5612c0e565b604051610bb29190614b5a565b60405180910390f35b348015610bc757600080fd5b50610be26004803603810190610bdd9190614c3f565b612d18565b005b348015610bf057600080fd5b50610c0b6004803603810190610c0691906144b1565b612eef565b005b348015610c1957600080fd5b50610c22612f75565b604051610c2f9190614459565b60405180910390f35b348015610c4457600080fd5b50610c4d613007565b604051610c5a91906145e2565b60405180910390f35b348015610c6f57600080fd5b50610c8a6004803603810190610c859190614c9b565b613011565b604051610c9791906143a5565b60405180910390f35b348015610cac57600080fd5b50610cc76004803603810190610cc291906145a6565b613081565b005b348015610cd557600080fd5b50610cf06004803603810190610ceb91906147fa565b613179565b005b348015610cfe57600080fd5b50610d196004803603810190610d1491906145a6565b613212565b005b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610de657507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610df65750610df5826132d2565b5b9050919050565b606060008054610e0c90614d0a565b80601f0160208091040260200160405190810160405280929190818152602001828054610e3890614d0a565b8015610e855780601f10610e5a57610100808354040283529160200191610e85565b820191906000526020600020905b815481529060010190602001808311610e6857829003601f168201915b5050505050905090565b6000610e9a8261333c565b610ed9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ed090614dae565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610f1f826119f7565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610f90576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f8790614e40565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610faf6133a8565b73ffffffffffffffffffffffffffffffffffffffff161480610fde5750610fdd81610fd86133a8565b613011565b5b61101d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161101490614ed2565b60405180910390fd5b61102783836133b0565b505050565b6110346133a8565b73ffffffffffffffffffffffffffffffffffffffff16611052612277565b73ffffffffffffffffffffffffffffffffffffffff16146110a8576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161109f90614f3e565b60405180910390fd5b6000601060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555050565b6000601260019054906101000a900460ff16905090565b6000601560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b600080600090506000600190505b6115b38111611193576111648161333c565b156111805761117d60018361346990919063ffffffff16565b91505b808061118b90614f8d565b915050611152565b508091505090565b6111a36133a8565b73ffffffffffffffffffffffffffffffffffffffff166111c1612277565b73ffffffffffffffffffffffffffffffffffffffff1614611217576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161120e90614f3e565b60405180910390fd5b8060088190555050565b6112296133a8565b73ffffffffffffffffffffffffffffffffffffffff16611247612277565b73ffffffffffffffffffffffffffffffffffffffff161461129d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161129490614f3e565b60405180910390fd5b6001601060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555050565b6113006133a8565b73ffffffffffffffffffffffffffffffffffffffff1661131e612277565b73ffffffffffffffffffffffffffffffffffffffff1614611374576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161136b90614f3e565b60405180910390fd5b6000600d60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555050565b6113e06113da6133a8565b8261347f565b61141f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161141690615048565b60405180910390fd5b61142a83838361355d565b505050565b601060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1661148557600080fd5b61148f33826137b9565b50565b61149a6133a8565b73ffffffffffffffffffffffffffffffffffffffff166114b8612277565b73ffffffffffffffffffffffffffffffffffffffff161461150e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161150590614f3e565b60405180910390fd5b6001600d60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555050565b6115716133a8565b73ffffffffffffffffffffffffffffffffffffffff1661158f612277565b73ffffffffffffffffffffffffffffffffffffffff16146115e5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115dc90614f3e565b60405180910390fd5b60004790503373ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f19350505050158015611630573d6000803e3d6000fd5b5050565b6000600b54905090565b6116466133a8565b73ffffffffffffffffffffffffffffffffffffffff16611664612277565b73ffffffffffffffffffffffffffffffffffffffff16146116ba576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116b190614f3e565b60405180910390fd5b6000600e60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555050565b61173083838360405180602001604052806000815250612915565b505050565b61173d6133a8565b73ffffffffffffffffffffffffffffffffffffffff1661175b612277565b73ffffffffffffffffffffffffffffffffffffffff16146117b1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117a890614f3e565b60405180910390fd5b6117ba81613850565b6001600f600083815260200190815260200160002060006101000a81548160ff02191690831515021790555050565b60006115b3905090565b6117fb6133a8565b73ffffffffffffffffffffffffffffffffffffffff16611819612277565b73ffffffffffffffffffffffffffffffffffffffff161461186f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161186690614f3e565b60405180910390fd5b806013908051906020019061188592919061424e565b5050565b600080600090505b60118054905081101561196657600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415801561194457508273ffffffffffffffffffffffffffffffffffffffff166011828154811061190157611900615068565b5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16145b1561195357600191505061196c565b808061195e90614f8d565b915050611891565b50600090505b919050565b6119796133a8565b73ffffffffffffffffffffffffffffffffffffffff16611997612277565b73ffffffffffffffffffffffffffffffffffffffff16146119ed576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119e490614f3e565b60405180910390fd5b80600c8190555050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611aa0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a9790615109565b60405180910390fd5b80915050919050565b6000600d60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff169050919050565b6000601260009054906101000a900460ff16905090565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611b87576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b7e9061519b565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b611bd66133a8565b73ffffffffffffffffffffffffffffffffffffffff16611bf4612277565b73ffffffffffffffffffffffffffffffffffffffff1614611c4a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c4190614f3e565b60405180910390fd5b611c546000613961565b565b6000600c54905090565b611c686133a8565b73ffffffffffffffffffffffffffffffffffffffff16611c86612277565b73ffffffffffffffffffffffffffffffffffffffff1614611cdc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cd390614f3e565b60405180910390fd5b611ce581611889565b611cee57600080fd5b60005b601180549050811015611de25760118181548110611d1257611d11615068565b5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611dcf57600060118281548110611d8657611d85615068565b5b9060005260206000200160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505b8080611dda90614f8d565b915050611cf1565b5050565b611dee6133a8565b73ffffffffffffffffffffffffffffffffffffffff16611e0c612277565b73ffffffffffffffffffffffffffffffffffffffff1614611e62576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e5990614f3e565b60405180910390fd5b611e6c82826137b9565b5050565b6000600e60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff169050919050565b611ece6133a8565b73ffffffffffffffffffffffffffffffffffffffff16611eec612277565b73ffffffffffffffffffffffffffffffffffffffff1614611f42576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f3990614f3e565b60405180910390fd5b6001600e60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555050565b611fa56133a8565b73ffffffffffffffffffffffffffffffffffffffff16611fc3612277565b73ffffffffffffffffffffffffffffffffffffffff1614612019576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161201090614f3e565b60405180910390fd5b80601260016101000a81548160ff02191690831515021790555050565b600080600090505b6011805490508110156121aa57600073ffffffffffffffffffffffffffffffffffffffff166011828154811061207757612076615068565b5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614612197576000601182815481106120d3576120d2615068565b5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231856040518263ffffffff1660e01b8152600401612136919061451f565b60206040518083038186803b15801561214e57600080fd5b505afa158015612162573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061218691906151d0565b11156121965760019150506121b0565b5b80806121a290614f8d565b91505061203e565b50600090505b919050565b6121bd6133a8565b73ffffffffffffffffffffffffffffffffffffffff166121db612277565b73ffffffffffffffffffffffffffffffffffffffff1614612231576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161222890614f3e565b60405180910390fd5b60005b81518110156122735761226082828151811061225357612252615068565b5b6020026020010151611492565b808061226b90614f8d565b915050612234565b5050565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6122a96133a8565b73ffffffffffffffffffffffffffffffffffffffff166122c7612277565b73ffffffffffffffffffffffffffffffffffffffff161461231d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161231490614f3e565b60405180910390fd5b806014908051906020019061233392919061424e565b5050565b60606001805461234690614d0a565b80601f016020809104026020016040519081016040528092919081815260200182805461237290614d0a565b80156123bf5780601f10612394576101008083540402835291602001916123bf565b820191906000526020600020905b8154815290600101906020018083116123a257829003601f168201915b5050505050905090565b6123d16133a8565b73ffffffffffffffffffffffffffffffffffffffff166123ef612277565b73ffffffffffffffffffffffffffffffffffffffff1614612445576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161243c90614f3e565b60405180910390fd5b80600960006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b60006124a8670de0b6b3a7640000600a54613a2790919063ffffffff16565b905090565b601260009054906101000a900460ff166124fc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124f390615249565b60405180910390fd5b6000811161250957600080fd5b6008546125278261251933611b16565b61346990919063ffffffff16565b1115612568576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161255f906152b5565b60405180910390fd5b601260019054906101000a900460ff16156125a25761259281600c54613a3d90919063ffffffff16565b341461259d57600080fd5b6126e7565b6000600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600d60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16806126ab5750600a548173ffffffffffffffffffffffffffffffffffffffff166370a08231336040518263ffffffff1660e01b8152600401612658919061451f565b60206040518083038186803b15801561267057600080fd5b505afa158015612684573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906126a891906151d0565b10155b806126bb57506126ba33612036565b5b6126c457600080fd5b6126d982600b54613a3d90919063ffffffff16565b3410156126e557600080fd5b505b6126f133826137b9565b50565b6126fc6133a8565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561276a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161276190615321565b60405180910390fd5b80600560006127776133a8565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff166128246133a8565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405161286991906143a5565b60405180910390a35050565b61287d6133a8565b73ffffffffffffffffffffffffffffffffffffffff1661289b612277565b73ffffffffffffffffffffffffffffffffffffffff16146128f1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016128e890614f3e565b60405180910390fd5b61290c670de0b6b3a764000082613a3d90919063ffffffff16565b600a8190555050565b6129266129206133a8565b8361347f565b612965576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161295c90615048565b60405180910390fd5b61297184848484613a53565b50505050565b61297f6133a8565b73ffffffffffffffffffffffffffffffffffffffff1661299d612277565b73ffffffffffffffffffffffffffffffffffffffff16146129f3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016129ea90614f3e565b60405180910390fd5b6129fc81611889565b15612a0657600080fd5b60005b601180549050811015612aff57600073ffffffffffffffffffffffffffffffffffffffff1660118281548110612a4257612a41615068565b5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161415612aec578160118281548110612a9e57612a9d615068565b5b9060005260206000200160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050612b64565b8080612af790614f8d565b915050612a09565b506011819080600181540180825580915050600190039060005260206000200160009091909190916101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505b50565b6060612b728261333c565b612bb1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ba8906153b3565b60405180910390fd5b6000612bbb613aaf565b90506000815111612bdb5760405180602001604052806000815250612c06565b80612be584613b41565b604051602001612bf692919061540f565b6040516020818303038152906040525b915050919050565b6060612c186133a8565b73ffffffffffffffffffffffffffffffffffffffff16612c36612277565b73ffffffffffffffffffffffffffffffffffffffff1614612c8c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c8390614f3e565b60405180910390fd5b6011805480602002602001604051908101604052809291908181526020018280548015612d0e57602002820191906000526020600020905b8160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019060010190808311612cc4575b5050505050905090565b612d206133a8565b73ffffffffffffffffffffffffffffffffffffffff16612d3e612277565b73ffffffffffffffffffffffffffffffffffffffff1614612d94576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d8b90614f3e565b60405180910390fd5b60005b8151811015612eea576115b3828281518110612db657612db5615068565b5b60200260200101511115612dc957600080fd5b612dec828281518110612ddf57612dde615068565b5b602002602001015161333c565b15612e2c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612e239061547f565b60405180910390fd5b600f6000838381518110612e4357612e42615068565b5b6020026020010151815260200190815260200160002060009054906101000a900460ff1615612eb3576000600f6000848481518110612e8557612e84615068565b5b6020026020010151815260200190815260200160002060006101000a81548160ff0219169083151502179055505b612ed783838381518110612eca57612ec9615068565b5b6020026020010151613ca2565b8080612ee290614f8d565b915050612d97565b505050565b612ef76133a8565b73ffffffffffffffffffffffffffffffffffffffff16612f15612277565b73ffffffffffffffffffffffffffffffffffffffff1614612f6b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612f6290614f3e565b60405180910390fd5b80600b8190555050565b606060148054612f8490614d0a565b80601f0160208091040260200160405190810160405280929190818152602001828054612fb090614d0a565b8015612ffd5780601f10612fd257610100808354040283529160200191612ffd565b820191906000526020600020905b815481529060010190602001808311612fe057829003601f168201915b5050505050905090565b6000600854905090565b6000600e60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff161561306e576001905061307b565b6130788383613cc0565b90505b92915050565b6130896133a8565b73ffffffffffffffffffffffffffffffffffffffff166130a7612277565b73ffffffffffffffffffffffffffffffffffffffff16146130fd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016130f490614f3e565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561316d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161316490615511565b60405180910390fd5b61317681613961565b50565b6131816133a8565b73ffffffffffffffffffffffffffffffffffffffff1661319f612277565b73ffffffffffffffffffffffffffffffffffffffff16146131f5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016131ec90614f3e565b60405180910390fd5b80601260006101000a81548160ff02191690831515021790555050565b61321a6133a8565b73ffffffffffffffffffffffffffffffffffffffff16613238612277565b73ffffffffffffffffffffffffffffffffffffffff161461328e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161328590614f3e565b60405180910390fd5b80601560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16613423836119f7565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600081836134779190615531565b905092915050565b600061348a8261333c565b6134c9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016134c0906155f9565b60405180910390fd5b60006134d4836119f7565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16148061354357508373ffffffffffffffffffffffffffffffffffffffff1661352b84610e8f565b73ffffffffffffffffffffffffffffffffffffffff16145b8061355457506135538185613011565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff1661357d826119f7565b73ffffffffffffffffffffffffffffffffffffffff16146135d3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016135ca9061568b565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415613643576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161363a9061571d565b60405180910390fd5b61364e838383613d54565b6136596000826133b0565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546136a9919061573d565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546137009190615531565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b5b600081111561384c576137cd6007613e41565b60006137d96007613e57565b90506137e48161333c565b8061380c5750600f600082815260200190815260200160002060009054906101000a900460ff165b1561381757506137ba565b6115b381111561382657600080fd5b6138308382613ca2565b613844600183613e6590919063ffffffff16565b9150506137ba565b5050565b600061385b826119f7565b905061386981600084613d54565b6138746000836133b0565b6001600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546138c4919061573d565b925050819055506002600083815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff021916905581600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b60008183613a3591906157a0565b905092915050565b60008183613a4b91906157d1565b905092915050565b613a5e84848461355d565b613a6a84848484613e7b565b613aa9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613aa09061589d565b60405180910390fd5b50505050565b606060138054613abe90614d0a565b80601f0160208091040260200160405190810160405280929190818152602001828054613aea90614d0a565b8015613b375780601f10613b0c57610100808354040283529160200191613b37565b820191906000526020600020905b815481529060010190602001808311613b1a57829003601f168201915b5050505050905090565b60606000821415613b89576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050613c9d565b600082905060005b60008214613bbb578080613ba490614f8d565b915050600a82613bb491906157a0565b9150613b91565b60008167ffffffffffffffff811115613bd757613bd661465a565b5b6040519080825280601f01601f191660200182016040528015613c095781602001600182028036833780820191505090505b5090505b60008514613c9657600182613c22919061573d565b9150600a85613c3191906158bd565b6030613c3d9190615531565b60f81b818381518110613c5357613c52615068565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85613c8f91906157a0565b9450613c0d565b8093505050505b919050565b613cbc828260405180602001604052806000815250614012565b5050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b600073ffffffffffffffffffffffffffffffffffffffff16601560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614613e3c57601560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166329780a4e8484846040518463ffffffff1660e01b8152600401613e09939291906158ee565b600060405180830381600087803b158015613e2357600080fd5b505af1158015613e37573d6000803e3d6000fd5b505050505b505050565b6001816000016000828254019250508190555050565b600081600001549050919050565b60008183613e73919061573d565b905092915050565b6000613e9c8473ffffffffffffffffffffffffffffffffffffffff1661406d565b15614005578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02613ec56133a8565b8786866040518563ffffffff1660e01b8152600401613ee7949392919061597a565b602060405180830381600087803b158015613f0157600080fd5b505af1925050508015613f3257506040513d601f19601f82011682018060405250810190613f2f91906159db565b60015b613fb5573d8060008114613f62576040519150601f19603f3d011682016040523d82523d6000602084013e613f67565b606091505b50600081511415613fad576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613fa49061589d565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161491505061400a565b600190505b949350505050565b61401c8383614080565b6140296000848484613e7b565b614068576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161405f9061589d565b60405180910390fd5b505050565b600080823b905060008111915050919050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156140f0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016140e790615a54565b60405180910390fd5b6140f98161333c565b15614139576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161413090615ac0565b60405180910390fd5b61414560008383613d54565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546141959190615531565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b82805461425a90614d0a565b90600052602060002090601f01602090048101928261427c57600085556142c3565b82601f1061429557805160ff19168380011785556142c3565b828001600101855582156142c3579182015b828111156142c25782518255916020019190600101906142a7565b5b5090506142d091906142d4565b5090565b5b808211156142ed5760008160009055506001016142d5565b5090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b61433a81614305565b811461434557600080fd5b50565b60008135905061435781614331565b92915050565b600060208284031215614373576143726142fb565b5b600061438184828501614348565b91505092915050565b60008115159050919050565b61439f8161438a565b82525050565b60006020820190506143ba6000830184614396565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b838110156143fa5780820151818401526020810190506143df565b83811115614409576000848401525b50505050565b6000601f19601f8301169050919050565b600061442b826143c0565b61443581856143cb565b93506144458185602086016143dc565b61444e8161440f565b840191505092915050565b600060208201905081810360008301526144738184614420565b905092915050565b6000819050919050565b61448e8161447b565b811461449957600080fd5b50565b6000813590506144ab81614485565b92915050565b6000602082840312156144c7576144c66142fb565b5b60006144d58482850161449c565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000614509826144de565b9050919050565b614519816144fe565b82525050565b60006020820190506145346000830184614510565b92915050565b614543816144fe565b811461454e57600080fd5b50565b6000813590506145608161453a565b92915050565b6000806040838503121561457d5761457c6142fb565b5b600061458b85828601614551565b925050602061459c8582860161449c565b9150509250929050565b6000602082840312156145bc576145bb6142fb565b5b60006145ca84828501614551565b91505092915050565b6145dc8161447b565b82525050565b60006020820190506145f760008301846145d3565b92915050565b600080600060608486031215614616576146156142fb565b5b600061462486828701614551565b935050602061463586828701614551565b92505060406146468682870161449c565b9150509250925092565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6146928261440f565b810181811067ffffffffffffffff821117156146b1576146b061465a565b5b80604052505050565b60006146c46142f1565b90506146d08282614689565b919050565b600067ffffffffffffffff8211156146f0576146ef61465a565b5b6146f98261440f565b9050602081019050919050565b82818337600083830152505050565b6000614728614723846146d5565b6146ba565b90508281526020810184848401111561474457614743614655565b5b61474f848285614706565b509392505050565b600082601f83011261476c5761476b614650565b5b813561477c848260208601614715565b91505092915050565b60006020828403121561479b5761479a6142fb565b5b600082013567ffffffffffffffff8111156147b9576147b8614300565b5b6147c584828501614757565b91505092915050565b6147d78161438a565b81146147e257600080fd5b50565b6000813590506147f4816147ce565b92915050565b6000602082840312156148105761480f6142fb565b5b600061481e848285016147e5565b91505092915050565b600067ffffffffffffffff8211156148425761484161465a565b5b602082029050602081019050919050565b600080fd5b600061486b61486684614827565b6146ba565b9050808382526020820190506020840283018581111561488e5761488d614853565b5b835b818110156148b757806148a38882614551565b845260208401935050602081019050614890565b5050509392505050565b600082601f8301126148d6576148d5614650565b5b81356148e6848260208601614858565b91505092915050565b600060208284031215614905576149046142fb565b5b600082013567ffffffffffffffff81111561492357614922614300565b5b61492f848285016148c1565b91505092915050565b6000806040838503121561494f5761494e6142fb565b5b600061495d85828601614551565b925050602061496e858286016147e5565b9150509250929050565b600067ffffffffffffffff8211156149935761499261465a565b5b61499c8261440f565b9050602081019050919050565b60006149bc6149b784614978565b6146ba565b9050828152602081018484840111156149d8576149d7614655565b5b6149e3848285614706565b509392505050565b600082601f830112614a00576149ff614650565b5b8135614a108482602086016149a9565b91505092915050565b60008060008060808587031215614a3357614a326142fb565b5b6000614a4187828801614551565b9450506020614a5287828801614551565b9350506040614a638782880161449c565b925050606085013567ffffffffffffffff811115614a8457614a83614300565b5b614a90878288016149eb565b91505092959194509250565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b614ad1816144fe565b82525050565b6000614ae38383614ac8565b60208301905092915050565b6000602082019050919050565b6000614b0782614a9c565b614b118185614aa7565b9350614b1c83614ab8565b8060005b83811015614b4d578151614b348882614ad7565b9750614b3f83614aef565b925050600181019050614b20565b5085935050505092915050565b60006020820190508181036000830152614b748184614afc565b905092915050565b600067ffffffffffffffff821115614b9757614b9661465a565b5b602082029050602081019050919050565b6000614bbb614bb684614b7c565b6146ba565b90508083825260208201905060208402830185811115614bde57614bdd614853565b5b835b81811015614c075780614bf3888261449c565b845260208401935050602081019050614be0565b5050509392505050565b600082601f830112614c2657614c25614650565b5b8135614c36848260208601614ba8565b91505092915050565b60008060408385031215614c5657614c556142fb565b5b6000614c6485828601614551565b925050602083013567ffffffffffffffff811115614c8557614c84614300565b5b614c9185828601614c11565b9150509250929050565b60008060408385031215614cb257614cb16142fb565b5b6000614cc085828601614551565b9250506020614cd185828601614551565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680614d2257607f821691505b60208210811415614d3657614d35614cdb565b5b50919050565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b6000614d98602c836143cb565b9150614da382614d3c565b604082019050919050565b60006020820190508181036000830152614dc781614d8b565b9050919050565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b6000614e2a6021836143cb565b9150614e3582614dce565b604082019050919050565b60006020820190508181036000830152614e5981614e1d565b9050919050565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b6000614ebc6038836143cb565b9150614ec782614e60565b604082019050919050565b60006020820190508181036000830152614eeb81614eaf565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000614f286020836143cb565b9150614f3382614ef2565b602082019050919050565b60006020820190508181036000830152614f5781614f1b565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000614f988261447b565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415614fcb57614fca614f5e565b5b600182019050919050565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b60006150326031836143cb565b915061503d82614fd6565b604082019050919050565b6000602082019050818103600083015261506181615025565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b60006150f36029836143cb565b91506150fe82615097565b604082019050919050565b60006020820190508181036000830152615122816150e6565b9050919050565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b6000615185602a836143cb565b915061519082615129565b604082019050919050565b600060208201905081810360008301526151b481615178565b9050919050565b6000815190506151ca81614485565b92915050565b6000602082840312156151e6576151e56142fb565b5b60006151f4848285016151bb565b91505092915050565b7f6d75737420626520616374697665000000000000000000000000000000000000600082015250565b6000615233600e836143cb565b915061523e826151fd565b602082019050919050565b6000602082019050818103600083015261526281615226565b9050919050565b7f4f766572204d6178204d696e7420706572204164647265737300000000000000600082015250565b600061529f6019836143cb565b91506152aa82615269565b602082019050919050565b600060208201905081810360008301526152ce81615292565b9050919050565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b600061530b6019836143cb565b9150615316826152d5565b602082019050919050565b6000602082019050818103600083015261533a816152fe565b9050919050565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b600061539d602f836143cb565b91506153a882615341565b604082019050919050565b600060208201905081810360008301526153cc81615390565b9050919050565b600081905092915050565b60006153e9826143c0565b6153f381856153d3565b93506154038185602086016143dc565b80840191505092915050565b600061541b82856153de565b915061542782846153de565b91508190509392505050565b7f546f6b656e206964206578697374732e00000000000000000000000000000000600082015250565b60006154696010836143cb565b915061547482615433565b602082019050919050565b600060208201905081810360008301526154988161545c565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b60006154fb6026836143cb565b91506155068261549f565b604082019050919050565b6000602082019050818103600083015261552a816154ee565b9050919050565b600061553c8261447b565b91506155478361447b565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561557c5761557b614f5e565b5b828201905092915050565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b60006155e3602c836143cb565b91506155ee82615587565b604082019050919050565b60006020820190508181036000830152615612816155d6565b9050919050565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b60006156756029836143cb565b915061568082615619565b604082019050919050565b600060208201905081810360008301526156a481615668565b9050919050565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b60006157076024836143cb565b9150615712826156ab565b604082019050919050565b60006020820190508181036000830152615736816156fa565b9050919050565b60006157488261447b565b91506157538361447b565b92508282101561576657615765614f5e565b5b828203905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b60006157ab8261447b565b91506157b68361447b565b9250826157c6576157c5615771565b5b828204905092915050565b60006157dc8261447b565b91506157e78361447b565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156158205761581f614f5e565b5b828202905092915050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b60006158876032836143cb565b91506158928261582b565b604082019050919050565b600060208201905081810360008301526158b68161587a565b9050919050565b60006158c88261447b565b91506158d38361447b565b9250826158e3576158e2615771565b5b828206905092915050565b60006060820190506159036000830186614510565b6159106020830185614510565b61591d60408301846145d3565b949350505050565b600081519050919050565b600082825260208201905092915050565b600061594c82615925565b6159568185615930565b93506159668185602086016143dc565b61596f8161440f565b840191505092915050565b600060808201905061598f6000830187614510565b61599c6020830186614510565b6159a960408301856145d3565b81810360608301526159bb8184615941565b905095945050505050565b6000815190506159d581614331565b92915050565b6000602082840312156159f1576159f06142fb565b5b60006159ff848285016159c6565b91505092915050565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b6000615a3e6020836143cb565b9150615a4982615a08565b602082019050919050565b60006020820190508181036000830152615a6d81615a31565b9050919050565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b6000615aaa601c836143cb565b9150615ab582615a74565b602082019050919050565b60006020820190508181036000830152615ad981615a9d565b905091905056fea26469706673582212202e94e4f8f78f904c73b944caacfe462415561d10e280cc60da3c56b9b8e0b73764736f6c6343000809003368747470733a2f2f6e66742e62616462656172732e696f2f6170692f636f6e74726163742f696e666f2e6a736f6e

Deployed Bytecode

0x60806040526004361061036b5760003560e01c8063744dab38116101c6578063a22cb465116100f7578063da6405e111610095578063e985e9c51161006f578063e985e9c514610c63578063f2fde38b14610ca0578063f46a04eb14610cc9578063f4e0d9ac14610cf25761036b565b8063da6405e114610be4578063e8a3d48514610c0d578063e8fec3f414610c385761036b565b8063bf2c6f58116100d1578063bf2c6f5814610b2a578063c87b56dd14610b53578063ce772ffb14610b90578063d462174f14610bbb5761036b565b8063a22cb46514610aaf578063ae00df2714610ad8578063b88d4fde14610b015761036b565b806386d8953a1161016457806395d89b411161013e57806395d89b4114610a1457806398f20f6e14610a3f57806399e35d1c14610a68578063a0712d6814610a935761036b565b806386d8953a146109975780638da5cb5b146109c0578063938e3d7b146109eb5761036b565b80637ec5b14f116101a05780637ec5b14f146108cb5780638049ed0414610908578063818668d714610931578063822f4a4f1461095a5761036b565b8063744dab381461084e578063744e36ec146108795780637ba9c5a5146108a25761036b565b80633ccfd60b116102a057806358a17d8a1161023e5780636f9170f6116102185780636f9170f6146107925780636ffd0c97146107cf57806370a08231146107fa578063715018a6146108375761036b565b806358a17d8a146106ef5780635d82cf6e1461072c5780636352211e146107555761036b565b806342842e0e1161027a57806342842e0e1461064957806342966c68146106725780634c0f38c21461069b57806355f804b3146106c65761036b565b80633ccfd60b146105de5780633fbb0c45146105f55780633fc9a646146106205761036b565b806318160ddd1161030d5780632042e5c2116102e75780632042e5c21461053a57806323b872dd14610563578063375a069a1461058c57806339e899ee146105b55761036b565b806318160ddd146104bd5780631e14d44b146104e85780631f53ac02146105115761036b565b8063095ea7b311610349578063095ea7b31461041557806309e8b0491461043e5780630a656450146104675780630e9ed68b146104925761036b565b806301ffc9a71461037057806306fdde03146103ad578063081812fc146103d8575b600080fd5b34801561037c57600080fd5b506103976004803603810190610392919061435d565b610d1b565b6040516103a491906143a5565b60405180910390f35b3480156103b957600080fd5b506103c2610dfd565b6040516103cf9190614459565b60405180910390f35b3480156103e457600080fd5b506103ff60048036038101906103fa91906144b1565b610e8f565b60405161040c919061451f565b60405180910390f35b34801561042157600080fd5b5061043c60048036038101906104379190614566565b610f14565b005b34801561044a57600080fd5b50610465600480360381019061046091906145a6565b61102c565b005b34801561047357600080fd5b5061047c611103565b60405161048991906143a5565b60405180910390f35b34801561049e57600080fd5b506104a761111a565b6040516104b4919061451f565b60405180910390f35b3480156104c957600080fd5b506104d2611144565b6040516104df91906145e2565b60405180910390f35b3480156104f457600080fd5b5061050f600480360381019061050a91906144b1565b61119b565b005b34801561051d57600080fd5b50610538600480360381019061053391906145a6565b611221565b005b34801561054657600080fd5b50610561600480360381019061055c91906145a6565b6112f8565b005b34801561056f57600080fd5b5061058a600480360381019061058591906145fd565b6113cf565b005b34801561059857600080fd5b506105b360048036038101906105ae91906144b1565b61142f565b005b3480156105c157600080fd5b506105dc60048036038101906105d791906145a6565b611492565b005b3480156105ea57600080fd5b506105f3611569565b005b34801561060157600080fd5b5061060a611634565b60405161061791906145e2565b60405180910390f35b34801561062c57600080fd5b50610647600480360381019061064291906145a6565b61163e565b005b34801561065557600080fd5b50610670600480360381019061066b91906145fd565b611715565b005b34801561067e57600080fd5b50610699600480360381019061069491906144b1565b611735565b005b3480156106a757600080fd5b506106b06117e9565b6040516106bd91906145e2565b60405180910390f35b3480156106d257600080fd5b506106ed60048036038101906106e89190614785565b6117f3565b005b3480156106fb57600080fd5b50610716600480360381019061071191906145a6565b611889565b60405161072391906143a5565b60405180910390f35b34801561073857600080fd5b50610753600480360381019061074e91906144b1565b611971565b005b34801561076157600080fd5b5061077c600480360381019061077791906144b1565b6119f7565b604051610789919061451f565b60405180910390f35b34801561079e57600080fd5b506107b960048036038101906107b491906145a6565b611aa9565b6040516107c691906143a5565b60405180910390f35b3480156107db57600080fd5b506107e4611aff565b6040516107f191906143a5565b60405180910390f35b34801561080657600080fd5b50610821600480360381019061081c91906145a6565b611b16565b60405161082e91906145e2565b60405180910390f35b34801561084357600080fd5b5061084c611bce565b005b34801561085a57600080fd5b50610863611c56565b60405161087091906145e2565b60405180910390f35b34801561088557600080fd5b506108a0600480360381019061089b91906145a6565b611c60565b005b3480156108ae57600080fd5b506108c960048036038101906108c49190614566565b611de6565b005b3480156108d757600080fd5b506108f260048036038101906108ed91906145a6565b611e70565b6040516108ff91906143a5565b60405180910390f35b34801561091457600080fd5b5061092f600480360381019061092a91906145a6565b611ec6565b005b34801561093d57600080fd5b50610958600480360381019061095391906147fa565b611f9d565b005b34801561096657600080fd5b50610981600480360381019061097c91906145a6565b612036565b60405161098e91906143a5565b60405180910390f35b3480156109a357600080fd5b506109be60048036038101906109b991906148ef565b6121b5565b005b3480156109cc57600080fd5b506109d5612277565b6040516109e2919061451f565b60405180910390f35b3480156109f757600080fd5b50610a126004803603810190610a0d9190614785565b6122a1565b005b348015610a2057600080fd5b50610a29612337565b604051610a369190614459565b60405180910390f35b348015610a4b57600080fd5b50610a666004803603810190610a6191906145a6565b6123c9565b005b348015610a7457600080fd5b50610a7d612489565b604051610a8a91906145e2565b60405180910390f35b610aad6004803603810190610aa891906144b1565b6124ad565b005b348015610abb57600080fd5b50610ad66004803603810190610ad19190614938565b6126f4565b005b348015610ae457600080fd5b50610aff6004803603810190610afa91906144b1565b612875565b005b348015610b0d57600080fd5b50610b286004803603810190610b239190614a19565b612915565b005b348015610b3657600080fd5b50610b516004803603810190610b4c91906145a6565b612977565b005b348015610b5f57600080fd5b50610b7a6004803603810190610b7591906144b1565b612b67565b604051610b879190614459565b60405180910390f35b348015610b9c57600080fd5b50610ba5612c0e565b604051610bb29190614b5a565b60405180910390f35b348015610bc757600080fd5b50610be26004803603810190610bdd9190614c3f565b612d18565b005b348015610bf057600080fd5b50610c0b6004803603810190610c0691906144b1565b612eef565b005b348015610c1957600080fd5b50610c22612f75565b604051610c2f9190614459565b60405180910390f35b348015610c4457600080fd5b50610c4d613007565b604051610c5a91906145e2565b60405180910390f35b348015610c6f57600080fd5b50610c8a6004803603810190610c859190614c9b565b613011565b604051610c9791906143a5565b60405180910390f35b348015610cac57600080fd5b50610cc76004803603810190610cc291906145a6565b613081565b005b348015610cd557600080fd5b50610cf06004803603810190610ceb91906147fa565b613179565b005b348015610cfe57600080fd5b50610d196004803603810190610d1491906145a6565b613212565b005b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610de657507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610df65750610df5826132d2565b5b9050919050565b606060008054610e0c90614d0a565b80601f0160208091040260200160405190810160405280929190818152602001828054610e3890614d0a565b8015610e855780601f10610e5a57610100808354040283529160200191610e85565b820191906000526020600020905b815481529060010190602001808311610e6857829003601f168201915b5050505050905090565b6000610e9a8261333c565b610ed9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ed090614dae565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610f1f826119f7565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610f90576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f8790614e40565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610faf6133a8565b73ffffffffffffffffffffffffffffffffffffffff161480610fde5750610fdd81610fd86133a8565b613011565b5b61101d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161101490614ed2565b60405180910390fd5b61102783836133b0565b505050565b6110346133a8565b73ffffffffffffffffffffffffffffffffffffffff16611052612277565b73ffffffffffffffffffffffffffffffffffffffff16146110a8576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161109f90614f3e565b60405180910390fd5b6000601060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555050565b6000601260019054906101000a900460ff16905090565b6000601560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b600080600090506000600190505b6115b38111611193576111648161333c565b156111805761117d60018361346990919063ffffffff16565b91505b808061118b90614f8d565b915050611152565b508091505090565b6111a36133a8565b73ffffffffffffffffffffffffffffffffffffffff166111c1612277565b73ffffffffffffffffffffffffffffffffffffffff1614611217576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161120e90614f3e565b60405180910390fd5b8060088190555050565b6112296133a8565b73ffffffffffffffffffffffffffffffffffffffff16611247612277565b73ffffffffffffffffffffffffffffffffffffffff161461129d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161129490614f3e565b60405180910390fd5b6001601060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555050565b6113006133a8565b73ffffffffffffffffffffffffffffffffffffffff1661131e612277565b73ffffffffffffffffffffffffffffffffffffffff1614611374576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161136b90614f3e565b60405180910390fd5b6000600d60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555050565b6113e06113da6133a8565b8261347f565b61141f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161141690615048565b60405180910390fd5b61142a83838361355d565b505050565b601060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1661148557600080fd5b61148f33826137b9565b50565b61149a6133a8565b73ffffffffffffffffffffffffffffffffffffffff166114b8612277565b73ffffffffffffffffffffffffffffffffffffffff161461150e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161150590614f3e565b60405180910390fd5b6001600d60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555050565b6115716133a8565b73ffffffffffffffffffffffffffffffffffffffff1661158f612277565b73ffffffffffffffffffffffffffffffffffffffff16146115e5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115dc90614f3e565b60405180910390fd5b60004790503373ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f19350505050158015611630573d6000803e3d6000fd5b5050565b6000600b54905090565b6116466133a8565b73ffffffffffffffffffffffffffffffffffffffff16611664612277565b73ffffffffffffffffffffffffffffffffffffffff16146116ba576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116b190614f3e565b60405180910390fd5b6000600e60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555050565b61173083838360405180602001604052806000815250612915565b505050565b61173d6133a8565b73ffffffffffffffffffffffffffffffffffffffff1661175b612277565b73ffffffffffffffffffffffffffffffffffffffff16146117b1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117a890614f3e565b60405180910390fd5b6117ba81613850565b6001600f600083815260200190815260200160002060006101000a81548160ff02191690831515021790555050565b60006115b3905090565b6117fb6133a8565b73ffffffffffffffffffffffffffffffffffffffff16611819612277565b73ffffffffffffffffffffffffffffffffffffffff161461186f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161186690614f3e565b60405180910390fd5b806013908051906020019061188592919061424e565b5050565b600080600090505b60118054905081101561196657600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415801561194457508273ffffffffffffffffffffffffffffffffffffffff166011828154811061190157611900615068565b5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16145b1561195357600191505061196c565b808061195e90614f8d565b915050611891565b50600090505b919050565b6119796133a8565b73ffffffffffffffffffffffffffffffffffffffff16611997612277565b73ffffffffffffffffffffffffffffffffffffffff16146119ed576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119e490614f3e565b60405180910390fd5b80600c8190555050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611aa0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a9790615109565b60405180910390fd5b80915050919050565b6000600d60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff169050919050565b6000601260009054906101000a900460ff16905090565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611b87576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b7e9061519b565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b611bd66133a8565b73ffffffffffffffffffffffffffffffffffffffff16611bf4612277565b73ffffffffffffffffffffffffffffffffffffffff1614611c4a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c4190614f3e565b60405180910390fd5b611c546000613961565b565b6000600c54905090565b611c686133a8565b73ffffffffffffffffffffffffffffffffffffffff16611c86612277565b73ffffffffffffffffffffffffffffffffffffffff1614611cdc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cd390614f3e565b60405180910390fd5b611ce581611889565b611cee57600080fd5b60005b601180549050811015611de25760118181548110611d1257611d11615068565b5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611dcf57600060118281548110611d8657611d85615068565b5b9060005260206000200160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505b8080611dda90614f8d565b915050611cf1565b5050565b611dee6133a8565b73ffffffffffffffffffffffffffffffffffffffff16611e0c612277565b73ffffffffffffffffffffffffffffffffffffffff1614611e62576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e5990614f3e565b60405180910390fd5b611e6c82826137b9565b5050565b6000600e60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff169050919050565b611ece6133a8565b73ffffffffffffffffffffffffffffffffffffffff16611eec612277565b73ffffffffffffffffffffffffffffffffffffffff1614611f42576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f3990614f3e565b60405180910390fd5b6001600e60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555050565b611fa56133a8565b73ffffffffffffffffffffffffffffffffffffffff16611fc3612277565b73ffffffffffffffffffffffffffffffffffffffff1614612019576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161201090614f3e565b60405180910390fd5b80601260016101000a81548160ff02191690831515021790555050565b600080600090505b6011805490508110156121aa57600073ffffffffffffffffffffffffffffffffffffffff166011828154811061207757612076615068565b5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614612197576000601182815481106120d3576120d2615068565b5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231856040518263ffffffff1660e01b8152600401612136919061451f565b60206040518083038186803b15801561214e57600080fd5b505afa158015612162573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061218691906151d0565b11156121965760019150506121b0565b5b80806121a290614f8d565b91505061203e565b50600090505b919050565b6121bd6133a8565b73ffffffffffffffffffffffffffffffffffffffff166121db612277565b73ffffffffffffffffffffffffffffffffffffffff1614612231576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161222890614f3e565b60405180910390fd5b60005b81518110156122735761226082828151811061225357612252615068565b5b6020026020010151611492565b808061226b90614f8d565b915050612234565b5050565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6122a96133a8565b73ffffffffffffffffffffffffffffffffffffffff166122c7612277565b73ffffffffffffffffffffffffffffffffffffffff161461231d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161231490614f3e565b60405180910390fd5b806014908051906020019061233392919061424e565b5050565b60606001805461234690614d0a565b80601f016020809104026020016040519081016040528092919081815260200182805461237290614d0a565b80156123bf5780601f10612394576101008083540402835291602001916123bf565b820191906000526020600020905b8154815290600101906020018083116123a257829003601f168201915b5050505050905090565b6123d16133a8565b73ffffffffffffffffffffffffffffffffffffffff166123ef612277565b73ffffffffffffffffffffffffffffffffffffffff1614612445576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161243c90614f3e565b60405180910390fd5b80600960006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b60006124a8670de0b6b3a7640000600a54613a2790919063ffffffff16565b905090565b601260009054906101000a900460ff166124fc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124f390615249565b60405180910390fd5b6000811161250957600080fd5b6008546125278261251933611b16565b61346990919063ffffffff16565b1115612568576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161255f906152b5565b60405180910390fd5b601260019054906101000a900460ff16156125a25761259281600c54613a3d90919063ffffffff16565b341461259d57600080fd5b6126e7565b6000600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600d60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16806126ab5750600a548173ffffffffffffffffffffffffffffffffffffffff166370a08231336040518263ffffffff1660e01b8152600401612658919061451f565b60206040518083038186803b15801561267057600080fd5b505afa158015612684573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906126a891906151d0565b10155b806126bb57506126ba33612036565b5b6126c457600080fd5b6126d982600b54613a3d90919063ffffffff16565b3410156126e557600080fd5b505b6126f133826137b9565b50565b6126fc6133a8565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561276a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161276190615321565b60405180910390fd5b80600560006127776133a8565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff166128246133a8565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405161286991906143a5565b60405180910390a35050565b61287d6133a8565b73ffffffffffffffffffffffffffffffffffffffff1661289b612277565b73ffffffffffffffffffffffffffffffffffffffff16146128f1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016128e890614f3e565b60405180910390fd5b61290c670de0b6b3a764000082613a3d90919063ffffffff16565b600a8190555050565b6129266129206133a8565b8361347f565b612965576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161295c90615048565b60405180910390fd5b61297184848484613a53565b50505050565b61297f6133a8565b73ffffffffffffffffffffffffffffffffffffffff1661299d612277565b73ffffffffffffffffffffffffffffffffffffffff16146129f3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016129ea90614f3e565b60405180910390fd5b6129fc81611889565b15612a0657600080fd5b60005b601180549050811015612aff57600073ffffffffffffffffffffffffffffffffffffffff1660118281548110612a4257612a41615068565b5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161415612aec578160118281548110612a9e57612a9d615068565b5b9060005260206000200160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050612b64565b8080612af790614f8d565b915050612a09565b506011819080600181540180825580915050600190039060005260206000200160009091909190916101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505b50565b6060612b728261333c565b612bb1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ba8906153b3565b60405180910390fd5b6000612bbb613aaf565b90506000815111612bdb5760405180602001604052806000815250612c06565b80612be584613b41565b604051602001612bf692919061540f565b6040516020818303038152906040525b915050919050565b6060612c186133a8565b73ffffffffffffffffffffffffffffffffffffffff16612c36612277565b73ffffffffffffffffffffffffffffffffffffffff1614612c8c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c8390614f3e565b60405180910390fd5b6011805480602002602001604051908101604052809291908181526020018280548015612d0e57602002820191906000526020600020905b8160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019060010190808311612cc4575b5050505050905090565b612d206133a8565b73ffffffffffffffffffffffffffffffffffffffff16612d3e612277565b73ffffffffffffffffffffffffffffffffffffffff1614612d94576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d8b90614f3e565b60405180910390fd5b60005b8151811015612eea576115b3828281518110612db657612db5615068565b5b60200260200101511115612dc957600080fd5b612dec828281518110612ddf57612dde615068565b5b602002602001015161333c565b15612e2c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612e239061547f565b60405180910390fd5b600f6000838381518110612e4357612e42615068565b5b6020026020010151815260200190815260200160002060009054906101000a900460ff1615612eb3576000600f6000848481518110612e8557612e84615068565b5b6020026020010151815260200190815260200160002060006101000a81548160ff0219169083151502179055505b612ed783838381518110612eca57612ec9615068565b5b6020026020010151613ca2565b8080612ee290614f8d565b915050612d97565b505050565b612ef76133a8565b73ffffffffffffffffffffffffffffffffffffffff16612f15612277565b73ffffffffffffffffffffffffffffffffffffffff1614612f6b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612f6290614f3e565b60405180910390fd5b80600b8190555050565b606060148054612f8490614d0a565b80601f0160208091040260200160405190810160405280929190818152602001828054612fb090614d0a565b8015612ffd5780601f10612fd257610100808354040283529160200191612ffd565b820191906000526020600020905b815481529060010190602001808311612fe057829003601f168201915b5050505050905090565b6000600854905090565b6000600e60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff161561306e576001905061307b565b6130788383613cc0565b90505b92915050565b6130896133a8565b73ffffffffffffffffffffffffffffffffffffffff166130a7612277565b73ffffffffffffffffffffffffffffffffffffffff16146130fd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016130f490614f3e565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561316d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161316490615511565b60405180910390fd5b61317681613961565b50565b6131816133a8565b73ffffffffffffffffffffffffffffffffffffffff1661319f612277565b73ffffffffffffffffffffffffffffffffffffffff16146131f5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016131ec90614f3e565b60405180910390fd5b80601260006101000a81548160ff02191690831515021790555050565b61321a6133a8565b73ffffffffffffffffffffffffffffffffffffffff16613238612277565b73ffffffffffffffffffffffffffffffffffffffff161461328e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161328590614f3e565b60405180910390fd5b80601560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16613423836119f7565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600081836134779190615531565b905092915050565b600061348a8261333c565b6134c9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016134c0906155f9565b60405180910390fd5b60006134d4836119f7565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16148061354357508373ffffffffffffffffffffffffffffffffffffffff1661352b84610e8f565b73ffffffffffffffffffffffffffffffffffffffff16145b8061355457506135538185613011565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff1661357d826119f7565b73ffffffffffffffffffffffffffffffffffffffff16146135d3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016135ca9061568b565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415613643576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161363a9061571d565b60405180910390fd5b61364e838383613d54565b6136596000826133b0565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546136a9919061573d565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546137009190615531565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b5b600081111561384c576137cd6007613e41565b60006137d96007613e57565b90506137e48161333c565b8061380c5750600f600082815260200190815260200160002060009054906101000a900460ff165b1561381757506137ba565b6115b381111561382657600080fd5b6138308382613ca2565b613844600183613e6590919063ffffffff16565b9150506137ba565b5050565b600061385b826119f7565b905061386981600084613d54565b6138746000836133b0565b6001600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546138c4919061573d565b925050819055506002600083815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff021916905581600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b60008183613a3591906157a0565b905092915050565b60008183613a4b91906157d1565b905092915050565b613a5e84848461355d565b613a6a84848484613e7b565b613aa9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613aa09061589d565b60405180910390fd5b50505050565b606060138054613abe90614d0a565b80601f0160208091040260200160405190810160405280929190818152602001828054613aea90614d0a565b8015613b375780601f10613b0c57610100808354040283529160200191613b37565b820191906000526020600020905b815481529060010190602001808311613b1a57829003601f168201915b5050505050905090565b60606000821415613b89576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050613c9d565b600082905060005b60008214613bbb578080613ba490614f8d565b915050600a82613bb491906157a0565b9150613b91565b60008167ffffffffffffffff811115613bd757613bd661465a565b5b6040519080825280601f01601f191660200182016040528015613c095781602001600182028036833780820191505090505b5090505b60008514613c9657600182613c22919061573d565b9150600a85613c3191906158bd565b6030613c3d9190615531565b60f81b818381518110613c5357613c52615068565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85613c8f91906157a0565b9450613c0d565b8093505050505b919050565b613cbc828260405180602001604052806000815250614012565b5050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b600073ffffffffffffffffffffffffffffffffffffffff16601560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614613e3c57601560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166329780a4e8484846040518463ffffffff1660e01b8152600401613e09939291906158ee565b600060405180830381600087803b158015613e2357600080fd5b505af1158015613e37573d6000803e3d6000fd5b505050505b505050565b6001816000016000828254019250508190555050565b600081600001549050919050565b60008183613e73919061573d565b905092915050565b6000613e9c8473ffffffffffffffffffffffffffffffffffffffff1661406d565b15614005578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02613ec56133a8565b8786866040518563ffffffff1660e01b8152600401613ee7949392919061597a565b602060405180830381600087803b158015613f0157600080fd5b505af1925050508015613f3257506040513d601f19601f82011682018060405250810190613f2f91906159db565b60015b613fb5573d8060008114613f62576040519150601f19603f3d011682016040523d82523d6000602084013e613f67565b606091505b50600081511415613fad576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613fa49061589d565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161491505061400a565b600190505b949350505050565b61401c8383614080565b6140296000848484613e7b565b614068576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161405f9061589d565b60405180910390fd5b505050565b600080823b905060008111915050919050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156140f0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016140e790615a54565b60405180910390fd5b6140f98161333c565b15614139576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161413090615ac0565b60405180910390fd5b61414560008383613d54565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546141959190615531565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b82805461425a90614d0a565b90600052602060002090601f01602090048101928261427c57600085556142c3565b82601f1061429557805160ff19168380011785556142c3565b828001600101855582156142c3579182015b828111156142c25782518255916020019190600101906142a7565b5b5090506142d091906142d4565b5090565b5b808211156142ed5760008160009055506001016142d5565b5090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b61433a81614305565b811461434557600080fd5b50565b60008135905061435781614331565b92915050565b600060208284031215614373576143726142fb565b5b600061438184828501614348565b91505092915050565b60008115159050919050565b61439f8161438a565b82525050565b60006020820190506143ba6000830184614396565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b838110156143fa5780820151818401526020810190506143df565b83811115614409576000848401525b50505050565b6000601f19601f8301169050919050565b600061442b826143c0565b61443581856143cb565b93506144458185602086016143dc565b61444e8161440f565b840191505092915050565b600060208201905081810360008301526144738184614420565b905092915050565b6000819050919050565b61448e8161447b565b811461449957600080fd5b50565b6000813590506144ab81614485565b92915050565b6000602082840312156144c7576144c66142fb565b5b60006144d58482850161449c565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000614509826144de565b9050919050565b614519816144fe565b82525050565b60006020820190506145346000830184614510565b92915050565b614543816144fe565b811461454e57600080fd5b50565b6000813590506145608161453a565b92915050565b6000806040838503121561457d5761457c6142fb565b5b600061458b85828601614551565b925050602061459c8582860161449c565b9150509250929050565b6000602082840312156145bc576145bb6142fb565b5b60006145ca84828501614551565b91505092915050565b6145dc8161447b565b82525050565b60006020820190506145f760008301846145d3565b92915050565b600080600060608486031215614616576146156142fb565b5b600061462486828701614551565b935050602061463586828701614551565b92505060406146468682870161449c565b9150509250925092565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6146928261440f565b810181811067ffffffffffffffff821117156146b1576146b061465a565b5b80604052505050565b60006146c46142f1565b90506146d08282614689565b919050565b600067ffffffffffffffff8211156146f0576146ef61465a565b5b6146f98261440f565b9050602081019050919050565b82818337600083830152505050565b6000614728614723846146d5565b6146ba565b90508281526020810184848401111561474457614743614655565b5b61474f848285614706565b509392505050565b600082601f83011261476c5761476b614650565b5b813561477c848260208601614715565b91505092915050565b60006020828403121561479b5761479a6142fb565b5b600082013567ffffffffffffffff8111156147b9576147b8614300565b5b6147c584828501614757565b91505092915050565b6147d78161438a565b81146147e257600080fd5b50565b6000813590506147f4816147ce565b92915050565b6000602082840312156148105761480f6142fb565b5b600061481e848285016147e5565b91505092915050565b600067ffffffffffffffff8211156148425761484161465a565b5b602082029050602081019050919050565b600080fd5b600061486b61486684614827565b6146ba565b9050808382526020820190506020840283018581111561488e5761488d614853565b5b835b818110156148b757806148a38882614551565b845260208401935050602081019050614890565b5050509392505050565b600082601f8301126148d6576148d5614650565b5b81356148e6848260208601614858565b91505092915050565b600060208284031215614905576149046142fb565b5b600082013567ffffffffffffffff81111561492357614922614300565b5b61492f848285016148c1565b91505092915050565b6000806040838503121561494f5761494e6142fb565b5b600061495d85828601614551565b925050602061496e858286016147e5565b9150509250929050565b600067ffffffffffffffff8211156149935761499261465a565b5b61499c8261440f565b9050602081019050919050565b60006149bc6149b784614978565b6146ba565b9050828152602081018484840111156149d8576149d7614655565b5b6149e3848285614706565b509392505050565b600082601f830112614a00576149ff614650565b5b8135614a108482602086016149a9565b91505092915050565b60008060008060808587031215614a3357614a326142fb565b5b6000614a4187828801614551565b9450506020614a5287828801614551565b9350506040614a638782880161449c565b925050606085013567ffffffffffffffff811115614a8457614a83614300565b5b614a90878288016149eb565b91505092959194509250565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b614ad1816144fe565b82525050565b6000614ae38383614ac8565b60208301905092915050565b6000602082019050919050565b6000614b0782614a9c565b614b118185614aa7565b9350614b1c83614ab8565b8060005b83811015614b4d578151614b348882614ad7565b9750614b3f83614aef565b925050600181019050614b20565b5085935050505092915050565b60006020820190508181036000830152614b748184614afc565b905092915050565b600067ffffffffffffffff821115614b9757614b9661465a565b5b602082029050602081019050919050565b6000614bbb614bb684614b7c565b6146ba565b90508083825260208201905060208402830185811115614bde57614bdd614853565b5b835b81811015614c075780614bf3888261449c565b845260208401935050602081019050614be0565b5050509392505050565b600082601f830112614c2657614c25614650565b5b8135614c36848260208601614ba8565b91505092915050565b60008060408385031215614c5657614c556142fb565b5b6000614c6485828601614551565b925050602083013567ffffffffffffffff811115614c8557614c84614300565b5b614c9185828601614c11565b9150509250929050565b60008060408385031215614cb257614cb16142fb565b5b6000614cc085828601614551565b9250506020614cd185828601614551565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680614d2257607f821691505b60208210811415614d3657614d35614cdb565b5b50919050565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b6000614d98602c836143cb565b9150614da382614d3c565b604082019050919050565b60006020820190508181036000830152614dc781614d8b565b9050919050565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b6000614e2a6021836143cb565b9150614e3582614dce565b604082019050919050565b60006020820190508181036000830152614e5981614e1d565b9050919050565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b6000614ebc6038836143cb565b9150614ec782614e60565b604082019050919050565b60006020820190508181036000830152614eeb81614eaf565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000614f286020836143cb565b9150614f3382614ef2565b602082019050919050565b60006020820190508181036000830152614f5781614f1b565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000614f988261447b565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415614fcb57614fca614f5e565b5b600182019050919050565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b60006150326031836143cb565b915061503d82614fd6565b604082019050919050565b6000602082019050818103600083015261506181615025565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b60006150f36029836143cb565b91506150fe82615097565b604082019050919050565b60006020820190508181036000830152615122816150e6565b9050919050565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b6000615185602a836143cb565b915061519082615129565b604082019050919050565b600060208201905081810360008301526151b481615178565b9050919050565b6000815190506151ca81614485565b92915050565b6000602082840312156151e6576151e56142fb565b5b60006151f4848285016151bb565b91505092915050565b7f6d75737420626520616374697665000000000000000000000000000000000000600082015250565b6000615233600e836143cb565b915061523e826151fd565b602082019050919050565b6000602082019050818103600083015261526281615226565b9050919050565b7f4f766572204d6178204d696e7420706572204164647265737300000000000000600082015250565b600061529f6019836143cb565b91506152aa82615269565b602082019050919050565b600060208201905081810360008301526152ce81615292565b9050919050565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b600061530b6019836143cb565b9150615316826152d5565b602082019050919050565b6000602082019050818103600083015261533a816152fe565b9050919050565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b600061539d602f836143cb565b91506153a882615341565b604082019050919050565b600060208201905081810360008301526153cc81615390565b9050919050565b600081905092915050565b60006153e9826143c0565b6153f381856153d3565b93506154038185602086016143dc565b80840191505092915050565b600061541b82856153de565b915061542782846153de565b91508190509392505050565b7f546f6b656e206964206578697374732e00000000000000000000000000000000600082015250565b60006154696010836143cb565b915061547482615433565b602082019050919050565b600060208201905081810360008301526154988161545c565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b60006154fb6026836143cb565b91506155068261549f565b604082019050919050565b6000602082019050818103600083015261552a816154ee565b9050919050565b600061553c8261447b565b91506155478361447b565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561557c5761557b614f5e565b5b828201905092915050565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b60006155e3602c836143cb565b91506155ee82615587565b604082019050919050565b60006020820190508181036000830152615612816155d6565b9050919050565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b60006156756029836143cb565b915061568082615619565b604082019050919050565b600060208201905081810360008301526156a481615668565b9050919050565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b60006157076024836143cb565b9150615712826156ab565b604082019050919050565b60006020820190508181036000830152615736816156fa565b9050919050565b60006157488261447b565b91506157538361447b565b92508282101561576657615765614f5e565b5b828203905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b60006157ab8261447b565b91506157b68361447b565b9250826157c6576157c5615771565b5b828204905092915050565b60006157dc8261447b565b91506157e78361447b565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156158205761581f614f5e565b5b828202905092915050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b60006158876032836143cb565b91506158928261582b565b604082019050919050565b600060208201905081810360008301526158b68161587a565b9050919050565b60006158c88261447b565b91506158d38361447b565b9250826158e3576158e2615771565b5b828206905092915050565b60006060820190506159036000830186614510565b6159106020830185614510565b61591d60408301846145d3565b949350505050565b600081519050919050565b600082825260208201905092915050565b600061594c82615925565b6159568185615930565b93506159668185602086016143dc565b61596f8161440f565b840191505092915050565b600060808201905061598f6000830187614510565b61599c6020830186614510565b6159a960408301856145d3565b81810360608301526159bb8184615941565b905095945050505050565b6000815190506159d581614331565b92915050565b6000602082840312156159f1576159f06142fb565b5b60006159ff848285016159c6565b91505092915050565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b6000615a3e6020836143cb565b9150615a4982615a08565b602082019050919050565b60006020820190508181036000830152615a6d81615a31565b9050919050565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b6000615aaa601c836143cb565b9150615ab582615a74565b602082019050919050565b60006020820190508181036000830152615ad981615a9d565b905091905056fea26469706673582212202e94e4f8f78f904c73b944caacfe462415561d10e280cc60da3c56b9b8e0b73764736f6c63430008090033

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.