ETH Price: $2,598.10 (-2.34%)
Gas: 1 Gwei

Token

Worm.City (WORM)
 

Overview

Max Total Supply

280 WORM

Holders

112

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Filtered by Token Holder
rugumomdead.eth
Balance
1 WORM
0x69da5de0849529fd4b5d27f7e2df67154a9756b1
Loading...
Loading
Loading...
Loading
Loading...
Loading

OVERVIEW

WormCity is a project that consists of 11,111 ERC-721 tokens, also known as Worms. Worms are going to become a part of Worm Multiverse: WORM token, Worm Games and Worm Marketplace to be developed by achieving roadmap goals.

# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
WormCity

Compiler Version
v0.8.10+commit.fc410830

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 16 : WormCity.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.2;

import "../@openzeppelin/contracts/token/ERC721/ERC721.sol";
import "../@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol";
import "../@openzeppelin/contracts/access/Ownable.sol";
import "../@openzeppelin/contracts/utils/Counters.sol";
import "../@openzeppelin/contracts/utils/math/SafeMath.sol";
import "../traits/Presale.sol";

/*
 *
 *                   .....     :=*#%@@%%*+-.    -=++++++===-.
 *         ..    -#@@@@@@@@%+*@@@@@@%%%@@@@@%=*@@@@@@@@@@@@@@@%+.   :=++==-:
 *  :=*#%@@@@@%=-@@@#**++*@@@@@%=:      .-+@@@@@@-:::::::--=*%@@@#+@@@@@@@@@@@#%%#+=-.
 *.%@@@@%#*+*@@@@@@%      .@@#:             =@@@+             :#@@@@@=:.:-=+%@@@@@@@@@@=
 *+@@@.      .@@##%%      .@+                .@@=               *@@@=       :+    .:+@@@-
 *:@@@-       -    -      -%      .*%@%=      -@=       .=      :@@%                 %@@*
 * #@@%                   =+      @@@@@@=      @=       .-      #@@.                 #@@%
 * .@@@+                  **      +@@@@%.     .@-             -%@@+                  +@@@
 *  +@@@.                 %@:       ::.       #@-            =#%@%                   -@@@.
 *   %@@#                 @@@-               #@@-               .:                   :@@@-
 *   :@@@-        -      .@@@@#-          .+@@@@-              .+                     @@@=
 *    +@@@.       %-    .=@@@@@@@#*====+*@@@@@@@+...  .=%+:   -@+       =+. .=        @@@*
 *     %@@%-::=+#%@@@@@@@@@@+.=#@@@@@@@@@@%@@@@@@@@@@@@@@@@@%@@@@@@%#***@@@@@@=.      @@@*
 *      *@@@@@@@@@#******+=.  .%@@@%*+*%@-  *#::#@@++%%%%@@@@%*++*#%@@@@@#**@@@@@@@@@@@@@.
 *       .-=+=-:              %@@#.     +=:.=    :#  +   %@@*                -+*##%%%%#=
 *                           .@@@-   #**%-  #-  :+%. .   @@@+
 *                            %@@#   .  =+  @#    ++    -@@@:
 *                            .%@@@*===#@%**@@#==*@%+=+#@@@*
 *                              =#@@@@@@@@@@@@@@@@@@@@@@@#-
 *                                 .:-:. ...  .::. .:-:.
*/
contract WormCity is ERC721, ERC721Enumerable, Presale, Ownable {
    using SafeMath for uint256;
    using Counters for Counters.Counter;

    Counters.Counter private _wormId;

    event Minted(address account, uint256 amount);
    event MayorMinted(address account);
    event MintedOnPresale(address account, uint256 amount);
    event MintedReserved(address account, uint256 amount);

    uint256 public wormPrice = 80000000000000000; // 0.08 ETH
    uint256 public constant maxWormsForPurchase = 30;
    uint256 public constant maxWormsForWhitelistedPurchase = 10;
    uint256 public constant maxWormsForWhitelistedAccount = 10;
    uint256 public MAX_WORMS = 11110;
    uint256 public RESERVED_WORMS = 0;
    uint256 public RESERVED_MINTED = 0;
    uint256 public MAYOR_ID = 11111; // Mayor number is constant and predefined
    string private _baseURIPrefix;

    constructor() ERC721("Worm.City", "WORM") {}

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

    function getBaseURI() public view virtual returns (string memory) {
        return _baseURI();
    }

    function setBaseURI(string memory baseURI) public onlyOwner {
        _baseURIPrefix = baseURI;
    }

    /*
     * Mints mayor and sends it to specified address
     */
    function mintMayor(address account) public onlyOwner {
        _safeMint(account, MAYOR_ID);

        emit MayorMinted(account);
    }

    function mayorOwner() public whenMayorMinted view virtual returns (address) {
        return ownerOf(MAYOR_ID);
    }

    function mayorMinted() public view virtual returns (bool) {
        return _exists(MAYOR_ID);
    }

    modifier whenMayorMinted() {
        require(mayorMinted(), "Mayor is not minted");
        _;
    }

    function startPresale() public onlyOwner {
        _startPresale();
    }

    function stopPresale() public onlyOwner {
        _stopPresale();
    }

    function startSale() public onlyOwner {
        _startSale();
    }

    function stopSale() public onlyOwner {
        _stopSale();
    }

    function fromPresaleToSale() public onlyOwner {
        stopPresale();
        startSale();
    }

    function whitelist(address account) public onlyOwner {
        _whitelist(account);
    }

    function removeFromWhitelist(address account) public onlyOwner {
        _removeFromWhitelist(account);
    }

    function safeMint(address to, uint256 amount) public onlyOwner {
        uint256 i;
        for (i = 0; i < amount; i++) {
            _safeMint(to, _wormId.current());
            _wormId.increment();
        }

        emit Minted(to, amount);
    }

    function _beforeTokenTransfer(address from, address to, uint256 tokenId) internal override(ERC721, ERC721Enumerable) {
        super._beforeTokenTransfer(from, to, tokenId);
    }

    function supportsInterface(bytes4 interfaceId) public view override(ERC721, ERC721Enumerable) returns (bool) {
        return super.supportsInterface(interfaceId);
    }

    /*
     * Reserves specified amount which could be minted only by owner
     * These worms are needed for giveaways, contests and other
     */
    function reserve(uint256 amount) public onlyOwner {
        require(amount < MAX_WORMS, "Cannot reserve more than total supply");

        RESERVED_WORMS = amount;
    }

    function getReservedAmount() public view returns (uint256) {
        return RESERVED_WORMS;
    }

    function getMintedReservedAmount() public view returns (uint256) {
        return RESERVED_MINTED;
    }

    /*
     * Mints reserved worms for giveaways, contests and other
     */
    function mintReserved(uint256 amount, address to) public onlyOwner {
        require(
            RESERVED_MINTED.add(amount) <= RESERVED_WORMS,
            "Minting would exceed max supply of reserved worms"
        );

        RESERVED_MINTED += amount;

        _mintMultiple(amount, to);

        emit MintedReserved(to, amount);
    }

    /*
     * Mints worm in presale mode
     */
    function presale(uint256 amount) public payable whenPresaleStarted whenWhitelisted {
        require(
            getMintedAmount().add(amount) <= MAX_WORMS - RESERVED_WORMS,
            "Purchase would exceed max supply of Worms"
        );

        require(
            amount <= maxWormsForWhitelistedPurchase,
            "Only 10 tokens could be minted at a time"
        );

        require(
            balanceOf(_msgSender()).add(amount) <= maxWormsForWhitelistedAccount,
            "Only 10 tokens could be minted for whitelisted account"
        );

        _mintPayedMultiple(amount);

        emit MintedOnPresale(_msgSender(), amount);
    }

    /*
     * Function that returns minted worms without mayor
     */
    function getMintedAmount() public view returns (uint256) {
        uint256 total = totalSupply();

        if (mayorMinted()) {
            total = total.sub(1);
        }

        return total;
    }

    /*
     * Mints worm
     */
    function mint(uint256 amount) public payable whenSaleStarted {
        require(
            amount <= maxWormsForPurchase,
            "Can mint only 30 worms at a time"
        );

        require(
            getMintedAmount().add(amount) <= MAX_WORMS - RESERVED_WORMS,
            "Purchase would exceed max supply of Worms"
        );

        _mintPayedMultiple(amount);

        emit Minted(_msgSender(), amount);
    }

    function _mintPayedMultiple(uint256 amount) internal {
        require(
            wormPrice.mul(amount) <= msg.value,
            "Ether value sent is not correct"
        );

        _mintMultiple(amount, _msgSender());
    }

    function _mintMultiple(uint256 amount, address to) internal {
        uint256 mintIndex = totalSupply();
        uint256 i;
        for (i = 0; i < amount; i++) {
            if (mintIndex + i <= MAX_WORMS) {
                _safeMint(to, _wormId.current());

                _wormId.increment();
            }
        }
    }

    /*
     * Function which withdraws specified amount of funds for certain needs (development, hosting, etc.)
     */
    function withdraw(uint256 amount) public onlyOwner {
        payable(owner()).transfer(amount);
    }

    /*
     * Function witch withdraws all funds
     */
    function withdrawAll() public onlyOwner {
        uint256 balance = address(this).balance;

        payable(owner()).transfer(balance);
    }
}

File 2 of 16 : Presale.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "../@openzeppelin/contracts/utils/Context.sol";

abstract contract Presale is Context {
    event PresaleStarted(address account);
    event SaleStarted(address account);

    event PresaleStopped(address account);
    event SaleStopped(address account);

    bool private _presaleStarted;
    bool private _saleStarted;

    mapping(address => bool) private _whitelistedAccounts;

    /**
     * @dev Initializes the contract in disabled sales state.
     */
    constructor() {
        _presaleStarted = false;
        _saleStarted = false;
    }

    function saleStarted() public view virtual returns (bool) {
        return _saleStarted;
    }

    function presaleStarted() public view virtual returns (bool) {
        return _presaleStarted;
    }

    modifier whenPresaleNotStarted() {
        require(!presaleStarted(), "Presale is started");
        _;
    }

    modifier whenPresaleStarted() {
        require(presaleStarted(), "Presale is not started");
        _;
    }

    modifier whenSaleNotStarted() {
        require(!saleStarted(), "Sale is started");
        _;
    }

    modifier whenSaleStarted() {
        require(saleStarted(), "Sale is not started");
        _;
    }

    function _stopPresale() internal virtual whenPresaleStarted {
        _presaleStarted = false;
        emit PresaleStopped(_msgSender());
    }

    function _startPresale() internal virtual whenPresaleNotStarted {
        _presaleStarted = true;
        emit PresaleStarted(_msgSender());
    }

    function _stopSale() internal virtual whenSaleStarted {
        _saleStarted = false;
        emit SaleStopped(_msgSender());
    }

    function _startSale() internal virtual whenSaleNotStarted {
        _saleStarted = true;
        emit SaleStarted(_msgSender());
    }

    function _whitelist(address account) internal virtual {
        require(!whitelisted(account), "Address already whitelisted");

        _whitelistedAccounts[account] = true;
    }

    function _removeFromWhitelist(address account) internal virtual {
        require(whitelisted(account), "Address is not whitelisted");

        delete _whitelistedAccounts[account];
    }

    function whitelisted(address account) public view returns (bool) {
        return _whitelistedAccounts[account];
    }

    modifier whenWhitelisted() {
        require(whitelisted(_msgSender()), "Address is not whitelisted for presale");
        _;
    }
}

File 3 of 16 : 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 4 of 16 : 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);
}

File 5 of 16 : 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 6 of 16 : 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 7 of 16 : 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 8 of 16 : 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 9 of 16 : 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 10 of 16 : 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 16 : IERC721Enumerable.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "../IERC721.sol";

/**
 * @title ERC-721 Non-Fungible Token Standard, optional enumeration extension
 * @dev See https://eips.ethereum.org/EIPS/eip-721
 */
interface IERC721Enumerable is IERC721 {
    /**
     * @dev Returns the total amount of tokens stored by the contract.
     */
    function totalSupply() external view returns (uint256);

    /**
     * @dev Returns a token ID owned by `owner` at a given `index` of its token list.
     * Use along with {balanceOf} to enumerate all of ``owner``'s tokens.
     */
    function tokenOfOwnerByIndex(address owner, uint256 index) external view returns (uint256 tokenId);

    /**
     * @dev Returns a token ID at a given `index` of all the tokens stored by the contract.
     * Use along with {totalSupply} to enumerate all tokens.
     */
    function tokenByIndex(uint256 index) external view returns (uint256);
}

File 12 of 16 : ERC721Enumerable.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "../ERC721.sol";
import "./IERC721Enumerable.sol";

/**
 * @dev This implements an optional extension of {ERC721} defined in the EIP that adds
 * enumerability of all the token ids in the contract as well as all token ids owned by each
 * account.
 */
abstract contract ERC721Enumerable is ERC721, IERC721Enumerable {
    // Mapping from owner to list of owned token IDs
    mapping(address => mapping(uint256 => uint256)) private _ownedTokens;

    // Mapping from token ID to index of the owner tokens list
    mapping(uint256 => uint256) private _ownedTokensIndex;

    // Array with all token ids, used for enumeration
    uint256[] private _allTokens;

    // Mapping from token id to position in the allTokens array
    mapping(uint256 => uint256) private _allTokensIndex;

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

    /**
     * @dev See {IERC721Enumerable-tokenOfOwnerByIndex}.
     */
    function tokenOfOwnerByIndex(address owner, uint256 index) public view virtual override returns (uint256) {
        require(index < ERC721.balanceOf(owner), "ERC721Enumerable: owner index out of bounds");
        return _ownedTokens[owner][index];
    }

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

    /**
     * @dev See {IERC721Enumerable-tokenByIndex}.
     */
    function tokenByIndex(uint256 index) public view virtual override returns (uint256) {
        require(index < ERC721Enumerable.totalSupply(), "ERC721Enumerable: global index out of bounds");
        return _allTokens[index];
    }

    /**
     * @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` cannot be the zero address.
     * - `to` cannot be the zero address.
     *
     * 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 override {
        super._beforeTokenTransfer(from, to, tokenId);

        if (from == address(0)) {
            _addTokenToAllTokensEnumeration(tokenId);
        } else if (from != to) {
            _removeTokenFromOwnerEnumeration(from, tokenId);
        }
        if (to == address(0)) {
            _removeTokenFromAllTokensEnumeration(tokenId);
        } else if (to != from) {
            _addTokenToOwnerEnumeration(to, tokenId);
        }
    }

    /**
     * @dev Private function to add a token to this extension's ownership-tracking data structures.
     * @param to address representing the new owner of the given token ID
     * @param tokenId uint256 ID of the token to be added to the tokens list of the given address
     */
    function _addTokenToOwnerEnumeration(address to, uint256 tokenId) private {
        uint256 length = ERC721.balanceOf(to);
        _ownedTokens[to][length] = tokenId;
        _ownedTokensIndex[tokenId] = length;
    }

    /**
     * @dev Private function to add a token to this extension's token tracking data structures.
     * @param tokenId uint256 ID of the token to be added to the tokens list
     */
    function _addTokenToAllTokensEnumeration(uint256 tokenId) private {
        _allTokensIndex[tokenId] = _allTokens.length;
        _allTokens.push(tokenId);
    }

    /**
     * @dev Private function to remove a token from this extension's ownership-tracking data structures. Note that
     * while the token is not assigned a new owner, the `_ownedTokensIndex` mapping is _not_ updated: this allows for
     * gas optimizations e.g. when performing a transfer operation (avoiding double writes).
     * This has O(1) time complexity, but alters the order of the _ownedTokens array.
     * @param from address representing the previous owner of the given token ID
     * @param tokenId uint256 ID of the token to be removed from the tokens list of the given address
     */
    function _removeTokenFromOwnerEnumeration(address from, uint256 tokenId) private {
        // To prevent a gap in from's tokens array, we store the last token in the index of the token to delete, and
        // then delete the last slot (swap and pop).

        uint256 lastTokenIndex = ERC721.balanceOf(from) - 1;
        uint256 tokenIndex = _ownedTokensIndex[tokenId];

        // When the token to delete is the last token, the swap operation is unnecessary
        if (tokenIndex != lastTokenIndex) {
            uint256 lastTokenId = _ownedTokens[from][lastTokenIndex];

            _ownedTokens[from][tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token
            _ownedTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index
        }

        // This also deletes the contents at the last position of the array
        delete _ownedTokensIndex[tokenId];
        delete _ownedTokens[from][lastTokenIndex];
    }

    /**
     * @dev Private function to remove a token from this extension's token tracking data structures.
     * This has O(1) time complexity, but alters the order of the _allTokens array.
     * @param tokenId uint256 ID of the token to be removed from the tokens list
     */
    function _removeTokenFromAllTokensEnumeration(uint256 tokenId) private {
        // To prevent a gap in the tokens array, we store the last token in the index of the token to delete, and
        // then delete the last slot (swap and pop).

        uint256 lastTokenIndex = _allTokens.length - 1;
        uint256 tokenIndex = _allTokensIndex[tokenId];

        // When the token to delete is the last token, the swap operation is unnecessary. However, since this occurs so
        // rarely (when the last minted token is burnt) that we still do the swap here to avoid the gas cost of adding
        // an 'if' statement (like in _removeTokenFromOwnerEnumeration)
        uint256 lastTokenId = _allTokens[lastTokenIndex];

        _allTokens[tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token
        _allTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index

        // This also deletes the contents at the last position of the array
        delete _allTokensIndex[tokenId];
        _allTokens.pop();
    }
}

File 13 of 16 : 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 14 of 16 : 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 15 of 16 : 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 16 of 16 : 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);
    }
}

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

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":false,"internalType":"address","name":"account","type":"address"}],"name":"MayorMinted","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Minted","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"MintedOnPresale","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"MintedReserved","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":false,"internalType":"address","name":"account","type":"address"}],"name":"PresaleStarted","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"PresaleStopped","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"SaleStarted","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"SaleStopped","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":[],"name":"MAX_WORMS","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAYOR_ID","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"RESERVED_MINTED","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"RESERVED_WORMS","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"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":[],"name":"fromPresaleToSale","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":"getBaseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getMintedAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getMintedReservedAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getReservedAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxWormsForPurchase","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxWormsForWhitelistedAccount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxWormsForWhitelistedPurchase","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"mayorMinted","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"mayorOwner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"mintMayor","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"address","name":"to","type":"address"}],"name":"mintReserved","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"presale","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"presaleStarted","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"removeFromWhitelist","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"reserve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"safeMint","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":[],"name":"saleStarted","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","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":"baseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"startPresale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"startSale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"stopPresale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"stopSale","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":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":[{"internalType":"address","name":"account","type":"address"}],"name":"whitelist","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"whitelisted","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdrawAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"wormPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"}]

608060405267011c37937e080000600e55612b66600f5560006010556000601155612b676012553480156200003357600080fd5b506040518060400160405280600981526020017f576f726d2e4369747900000000000000000000000000000000000000000000008152506040518060400160405280600481526020017f574f524d000000000000000000000000000000000000000000000000000000008152508160009080519060200190620000b8929190620001fe565b508060019080519060200190620000d1929190620001fe565b5050506000600a60006101000a81548160ff0219169083151502179055506000600a60016101000a81548160ff0219169083151502179055506200012a6200011e6200013060201b60201c565b6200013860201b60201c565b62000313565b600033905090565b6000600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600c60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8280546200020c90620002dd565b90600052602060002090601f0160209004810192826200023057600085556200027c565b82601f106200024b57805160ff19168380011785556200027c565b828001600101855582156200027c579182015b828111156200027b5782518255916020019190600101906200025e565b5b5090506200028b91906200028f565b5090565b5b80821115620002aa57600081600090555060010162000290565b5090565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680620002f657607f821691505b602082108114156200030d576200030c620002ae565b5b50919050565b6157a480620003236000396000f3fe6080604052600436106102ff5760003560e01c8063819b25ba11610190578063c449a7a8116100dc578063e985e9c511610095578063f2fde38b1161006f578063f2fde38b14610af2578063f6ebfe6214610b1b578063f921d83f14610b46578063fc8023aa14610b71576102ff565b8063e985e9c514610a5f578063eb386f0314610a9c578063eed9491c14610ac7576102ff565b8063c449a7a814610972578063c5eff71914610989578063c87b56dd146109b2578063d936547e146109ef578063e36b0b3714610a2c578063e6ab143414610a43576102ff565b80639b19251a11610149578063a22cb46511610123578063a22cb465146108de578063b66a0e5d14610907578063b88d4fde1461091e578063c2ea7ed614610947576102ff565b80639b19251a14610870578063a0712d6814610899578063a1448194146108b5576102ff565b8063819b25ba14610786578063853828b6146107af57806388ab4168146107c65780638ab1d681146107f15780638da5cb5b1461081a57806395d89b4114610845576102ff565b80633272a1fe1161024f578063631bbbba1161020857806370a08231116101e257806370a08231146106dc578063714c539814610719578063715018a61461074457806377905aed1461075b576102ff565b8063631bbbba1461064b5780636352211e146106745780636f9c6a2d146106b1576102ff565b80633272a1fe1461053b5780633e257c6c1461056657806342842e0e146105915780634f6ccce7146105ba57806355f804b3146105f75780635c474f9e14610620576102ff565b80630eae1f93116102bc5780631ad2ad1a116102965780631ad2ad1a1461049557806323b872dd146104ac5780632e1a7d4d146104d55780632f745c59146104fe576102ff565b80630eae1f93146104145780631593f6f61461043f57806318160ddd1461046a576102ff565b806301ffc9a71461030457806304549d6f1461034157806304c98b2b1461036c57806306fdde0314610383578063081812fc146103ae578063095ea7b3146103eb575b600080fd5b34801561031057600080fd5b5061032b60048036038101906103269190613bf1565b610b9c565b6040516103389190613c39565b60405180910390f35b34801561034d57600080fd5b50610356610bae565b6040516103639190613c39565b60405180910390f35b34801561037857600080fd5b50610381610bc5565b005b34801561038f57600080fd5b50610398610c4b565b6040516103a59190613ced565b60405180910390f35b3480156103ba57600080fd5b506103d560048036038101906103d09190613d45565b610cdd565b6040516103e29190613db3565b60405180910390f35b3480156103f757600080fd5b50610412600480360381019061040d9190613dfa565b610d62565b005b34801561042057600080fd5b50610429610e7a565b6040516104369190613db3565b60405180910390f35b34801561044b57600080fd5b50610454610ed3565b6040516104619190613e49565b60405180910390f35b34801561047657600080fd5b5061047f610edd565b60405161048c9190613e49565b60405180910390f35b3480156104a157600080fd5b506104aa610eea565b005b3480156104b857600080fd5b506104d360048036038101906104ce9190613e64565b610f70565b005b3480156104e157600080fd5b506104fc60048036038101906104f79190613d45565b610fd0565b005b34801561050a57600080fd5b5061052560048036038101906105209190613dfa565b61109d565b6040516105329190613e49565b60405180910390f35b34801561054757600080fd5b50610550611142565b60405161055d9190613e49565b60405180910390f35b34801561057257600080fd5b5061057b611148565b6040516105889190613e49565b60405180910390f35b34801561059d57600080fd5b506105b860048036038101906105b39190613e64565b61114e565b005b3480156105c657600080fd5b506105e160048036038101906105dc9190613d45565b61116e565b6040516105ee9190613e49565b60405180910390f35b34801561060357600080fd5b5061061e60048036038101906106199190613fec565b6111df565b005b34801561062c57600080fd5b50610635611275565b6040516106429190613c39565b60405180910390f35b34801561065757600080fd5b50610672600480360381019061066d9190614035565b61128c565b005b34801561068057600080fd5b5061069b60048036038101906106969190613d45565b6113c1565b6040516106a89190613db3565b60405180910390f35b3480156106bd57600080fd5b506106c6611473565b6040516106d39190613e49565b60405180910390f35b3480156106e857600080fd5b5061070360048036038101906106fe9190614075565b611478565b6040516107109190613e49565b60405180910390f35b34801561072557600080fd5b5061072e611530565b60405161073b9190613ced565b60405180910390f35b34801561075057600080fd5b5061075961153f565b005b34801561076757600080fd5b506107706115c7565b60405161077d9190613e49565b60405180910390f35b34801561079257600080fd5b506107ad60048036038101906107a89190613d45565b6115cd565b005b3480156107bb57600080fd5b506107c4611697565b005b3480156107d257600080fd5b506107db611769565b6040516107e89190613e49565b60405180910390f35b3480156107fd57600080fd5b5061081860048036038101906108139190614075565b6117a1565b005b34801561082657600080fd5b5061082f611829565b60405161083c9190613db3565b60405180910390f35b34801561085157600080fd5b5061085a611853565b6040516108679190613ced565b60405180910390f35b34801561087c57600080fd5b5061089760048036038101906108929190614075565b6118e5565b005b6108b360048036038101906108ae9190613d45565b61196d565b005b3480156108c157600080fd5b506108dc60048036038101906108d79190613dfa565b611aaf565b005b3480156108ea57600080fd5b50610905600480360381019061090091906140ce565b611ba4565b005b34801561091357600080fd5b5061091c611d25565b005b34801561092a57600080fd5b50610945600480360381019061094091906141af565b611dab565b005b34801561095357600080fd5b5061095c611e0d565b6040516109699190613e49565b60405180910390f35b34801561097e57600080fd5b50610987611e12565b005b34801561099557600080fd5b506109b060048036038101906109ab9190614075565b611ea0565b005b3480156109be57600080fd5b506109d960048036038101906109d49190613d45565b611f62565b6040516109e69190613ced565b60405180910390f35b3480156109fb57600080fd5b50610a166004803603810190610a119190614075565b612009565b604051610a239190613c39565b60405180910390f35b348015610a3857600080fd5b50610a4161205f565b005b610a5d6004803603810190610a589190613d45565b6120e5565b005b348015610a6b57600080fd5b50610a866004803603810190610a819190614232565b6122db565b604051610a939190613c39565b60405180910390f35b348015610aa857600080fd5b50610ab161236f565b604051610abe9190613e49565b60405180910390f35b348015610ad357600080fd5b50610adc612375565b604051610ae99190613e49565b60405180910390f35b348015610afe57600080fd5b50610b196004803603810190610b149190614075565b61237f565b005b348015610b2757600080fd5b50610b30612477565b604051610b3d9190613c39565b60405180910390f35b348015610b5257600080fd5b50610b5b612489565b604051610b689190613e49565b60405180910390f35b348015610b7d57600080fd5b50610b8661248f565b604051610b939190613e49565b60405180910390f35b6000610ba782612494565b9050919050565b6000600a60009054906101000a900460ff16905090565b610bcd61250e565b73ffffffffffffffffffffffffffffffffffffffff16610beb611829565b73ffffffffffffffffffffffffffffffffffffffff1614610c41576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c38906142be565b60405180910390fd5b610c49612516565b565b606060008054610c5a9061430d565b80601f0160208091040260200160405190810160405280929190818152602001828054610c869061430d565b8015610cd35780601f10610ca857610100808354040283529160200191610cd3565b820191906000526020600020905b815481529060010190602001808311610cb657829003601f168201915b5050505050905090565b6000610ce8826125b9565b610d27576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d1e906143b1565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610d6d826113c1565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610dde576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dd590614443565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610dfd61250e565b73ffffffffffffffffffffffffffffffffffffffff161480610e2c5750610e2b81610e2661250e565b6122db565b5b610e6b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e62906144d5565b60405180910390fd5b610e758383612625565b505050565b6000610e84612477565b610ec3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610eba90614541565b60405180910390fd5b610ece6012546113c1565b905090565b6000601154905090565b6000600880549050905090565b610ef261250e565b73ffffffffffffffffffffffffffffffffffffffff16610f10611829565b73ffffffffffffffffffffffffffffffffffffffff1614610f66576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f5d906142be565b60405180910390fd5b610f6e6126de565b565b610f81610f7b61250e565b82612780565b610fc0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fb7906145d3565b60405180910390fd5b610fcb83838361285e565b505050565b610fd861250e565b73ffffffffffffffffffffffffffffffffffffffff16610ff6611829565b73ffffffffffffffffffffffffffffffffffffffff161461104c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611043906142be565b60405180910390fd5b611054611829565b73ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f19350505050158015611099573d6000803e3d6000fd5b5050565b60006110a883611478565b82106110e9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110e090614665565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b600f5481565b60125481565b61116983838360405180602001604052806000815250611dab565b505050565b6000611178610edd565b82106111b9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111b0906146f7565b60405180910390fd5b600882815481106111cd576111cc614717565b5b90600052602060002001549050919050565b6111e761250e565b73ffffffffffffffffffffffffffffffffffffffff16611205611829565b73ffffffffffffffffffffffffffffffffffffffff161461125b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611252906142be565b60405180910390fd5b8060139080519060200190611271929190613ae2565b5050565b6000600a60019054906101000a900460ff16905090565b61129461250e565b73ffffffffffffffffffffffffffffffffffffffff166112b2611829565b73ffffffffffffffffffffffffffffffffffffffff1614611308576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112ff906142be565b60405180910390fd5b60105461132083601154612aba90919063ffffffff16565b1115611361576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611358906147b8565b60405180910390fd5b81601160008282546113739190614807565b925050819055506113848282612ad0565b7f99dadef9a2d51e6aded57010cfa92387eb027f842185e7ea95b65c55b6058c6881836040516113b592919061485d565b60405180910390a15050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561146a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611461906148f8565b60405180910390fd5b80915050919050565b600a81565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156114e9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114e09061498a565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b606061153a612b32565b905090565b61154761250e565b73ffffffffffffffffffffffffffffffffffffffff16611565611829565b73ffffffffffffffffffffffffffffffffffffffff16146115bb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115b2906142be565b60405180910390fd5b6115c56000612bc4565b565b600e5481565b6115d561250e565b73ffffffffffffffffffffffffffffffffffffffff166115f3611829565b73ffffffffffffffffffffffffffffffffffffffff1614611649576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611640906142be565b60405180910390fd5b600f54811061168d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161168490614a1c565b60405180910390fd5b8060108190555050565b61169f61250e565b73ffffffffffffffffffffffffffffffffffffffff166116bd611829565b73ffffffffffffffffffffffffffffffffffffffff1614611713576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161170a906142be565b60405180910390fd5b6000479050611720611829565b73ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f19350505050158015611765573d6000803e3d6000fd5b5050565b600080611774610edd565b905061177e612477565b1561179a57611797600182612c8a90919063ffffffff16565b90505b8091505090565b6117a961250e565b73ffffffffffffffffffffffffffffffffffffffff166117c7611829565b73ffffffffffffffffffffffffffffffffffffffff161461181d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611814906142be565b60405180910390fd5b61182681612ca0565b50565b6000600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6060600180546118629061430d565b80601f016020809104026020016040519081016040528092919081815260200182805461188e9061430d565b80156118db5780601f106118b0576101008083540402835291602001916118db565b820191906000526020600020905b8154815290600101906020018083116118be57829003601f168201915b5050505050905090565b6118ed61250e565b73ffffffffffffffffffffffffffffffffffffffff1661190b611829565b73ffffffffffffffffffffffffffffffffffffffff1614611961576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611958906142be565b60405180910390fd5b61196a81612d3a565b50565b611975611275565b6119b4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119ab90614a88565b60405180910390fd5b601e8111156119f8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119ef90614af4565b60405180910390fd5b601054600f54611a089190614b14565b611a2282611a14611769565b612aba90919063ffffffff16565b1115611a63576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a5a90614bba565b60405180910390fd5b611a6c81612dde565b7f30385c845b448a36257a6a1716e6ad2e1bc2cbe333cde1e69fe849ad6511adfe611a9561250e565b82604051611aa492919061485d565b60405180910390a150565b611ab761250e565b73ffffffffffffffffffffffffffffffffffffffff16611ad5611829565b73ffffffffffffffffffffffffffffffffffffffff1614611b2b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b22906142be565b60405180910390fd5b60005b81811015611b6657611b4983611b44600d612e49565b612e57565b611b53600d612e75565b8080611b5e90614bda565b915050611b2e565b7f30385c845b448a36257a6a1716e6ad2e1bc2cbe333cde1e69fe849ad6511adfe8383604051611b9792919061485d565b60405180910390a1505050565b611bac61250e565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611c1a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c1190614c6f565b60405180910390fd5b8060056000611c2761250e565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611cd461250e565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611d199190613c39565b60405180910390a35050565b611d2d61250e565b73ffffffffffffffffffffffffffffffffffffffff16611d4b611829565b73ffffffffffffffffffffffffffffffffffffffff1614611da1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d98906142be565b60405180910390fd5b611da9612e8b565b565b611dbc611db661250e565b83612780565b611dfb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611df2906145d3565b60405180910390fd5b611e0784848484612f2e565b50505050565b600a81565b611e1a61250e565b73ffffffffffffffffffffffffffffffffffffffff16611e38611829565b73ffffffffffffffffffffffffffffffffffffffff1614611e8e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e85906142be565b60405180910390fd5b611e96610eea565b611e9e611d25565b565b611ea861250e565b73ffffffffffffffffffffffffffffffffffffffff16611ec6611829565b73ffffffffffffffffffffffffffffffffffffffff1614611f1c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f13906142be565b60405180910390fd5b611f2881601254612e57565b7fd61ae74efb90c691eabd919d9e66bfbee4991eddf03355c17f90189ac132c8e781604051611f579190613db3565b60405180910390a150565b6060611f6d826125b9565b611fac576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fa390614d01565b60405180910390fd5b6000611fb6612b32565b90506000815111611fd65760405180602001604052806000815250612001565b80611fe084612f8a565b604051602001611ff1929190614d5d565b6040516020818303038152906040525b915050919050565b6000600b60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff169050919050565b61206761250e565b73ffffffffffffffffffffffffffffffffffffffff16612085611829565b73ffffffffffffffffffffffffffffffffffffffff16146120db576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120d2906142be565b60405180910390fd5b6120e36130eb565b565b6120ed610bae565b61212c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161212390614dcd565b60405180910390fd5b61213c61213761250e565b612009565b61217b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161217290614e5f565b60405180910390fd5b601054600f5461218b9190614b14565b6121a582612197611769565b612aba90919063ffffffff16565b11156121e6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121dd90614bba565b60405180910390fd5b600a81111561222a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161222190614ef1565b60405180910390fd5b600a61224e8261224061223b61250e565b611478565b612aba90919063ffffffff16565b111561228f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161228690614f83565b60405180910390fd5b61229881612dde565b7ff2c2dc361295bf64dd88a9c6f56f897662e9784029e1fffa74ab49997727c97d6122c161250e565b826040516122d092919061485d565b60405180910390a150565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b60105481565b6000601054905090565b61238761250e565b73ffffffffffffffffffffffffffffffffffffffff166123a5611829565b73ffffffffffffffffffffffffffffffffffffffff16146123fb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123f2906142be565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561246b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161246290615015565b60405180910390fd5b61247481612bc4565b50565b60006124846012546125b9565b905090565b60115481565b601e81565b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061250757506125068261318d565b5b9050919050565b600033905090565b61251e610bae565b1561255e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161255590615081565b60405180910390fd5b6001600a60006101000a81548160ff0219169083151502179055507ff16451745d94008693a6754eef913b598c0b825106da99759cd674c8b2b022436125a261250e565b6040516125af9190613db3565b60405180910390a1565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16612698836113c1565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6126e6610bae565b612725576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161271c90614dcd565b60405180910390fd5b6000600a60006101000a81548160ff0219169083151502179055507f85e0357d3db7674600a3b6a2dd7f8f2c2849993884764fef04e7cccd7585c28b61276961250e565b6040516127769190613db3565b60405180910390a1565b600061278b826125b9565b6127ca576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127c190615113565b60405180910390fd5b60006127d5836113c1565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16148061284457508373ffffffffffffffffffffffffffffffffffffffff1661282c84610cdd565b73ffffffffffffffffffffffffffffffffffffffff16145b80612855575061285481856122db565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff1661287e826113c1565b73ffffffffffffffffffffffffffffffffffffffff16146128d4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016128cb906151a5565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612944576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161293b90615237565b60405180910390fd5b61294f83838361326f565b61295a600082612625565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546129aa9190614b14565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612a019190614807565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b60008183612ac89190614807565b905092915050565b6000612ada610edd565b905060005b83811015612b2c57600f548183612af69190614807565b11612b1957612b0e83612b09600d612e49565b612e57565b612b18600d612e75565b5b8080612b2490614bda565b915050612adf565b50505050565b606060138054612b419061430d565b80601f0160208091040260200160405190810160405280929190818152602001828054612b6d9061430d565b8015612bba5780601f10612b8f57610100808354040283529160200191612bba565b820191906000526020600020905b815481529060010190602001808311612b9d57829003601f168201915b5050505050905090565b6000600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600c60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b60008183612c989190614b14565b905092915050565b612ca981612009565b612ce8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612cdf906152a3565b60405180910390fd5b600b60008273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81549060ff021916905550565b612d4381612009565b15612d83576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d7a9061530f565b60405180910390fd5b6001600b60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555050565b34612df482600e5461327f90919063ffffffff16565b1115612e35576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612e2c9061537b565b60405180910390fd5b612e4681612e4161250e565b612ad0565b50565b600081600001549050919050565b612e71828260405180602001604052806000815250613295565b5050565b6001816000016000828254019250508190555050565b612e93611275565b15612ed3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612eca906153e7565b60405180910390fd5b6001600a60016101000a81548160ff0219169083151502179055507f1d6cd5c13fb3099209bcd6a54a80facbf19054e4d2f30cb0f3fbcf0f9ebfb374612f1761250e565b604051612f249190613db3565b60405180910390a1565b612f3984848461285e565b612f45848484846132f0565b612f84576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612f7b90615479565b60405180910390fd5b50505050565b60606000821415612fd2576040518060400160405280600181526020017f300000000000000000000000000000000000000000000000000000000000000081525090506130e6565b600082905060005b60008214613004578080612fed90614bda565b915050600a82612ffd91906154c8565b9150612fda565b60008167ffffffffffffffff8111156130205761301f613ec1565b5b6040519080825280601f01601f1916602001820160405280156130525781602001600182028036833780820191505090505b5090505b600085146130df5760018261306b9190614b14565b9150600a8561307a91906154f9565b60306130869190614807565b60f81b81838151811061309c5761309b614717565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856130d891906154c8565b9450613056565b8093505050505b919050565b6130f3611275565b613132576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161312990614a88565b60405180910390fd5b6000600a60016101000a81548160ff0219169083151502179055507f76347af224becc86edd2be2d63ed537a8c521a61a6280d3871c71320225a141d61317661250e565b6040516131839190613db3565b60405180910390a1565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061325857507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80613268575061326782613478565b5b9050919050565b61327a8383836134e2565b505050565b6000818361328d919061552a565b905092915050565b61329f83836135f6565b6132ac60008484846132f0565b6132eb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016132e290615479565b60405180910390fd5b505050565b60006133118473ffffffffffffffffffffffffffffffffffffffff166137c4565b1561346b578373ffffffffffffffffffffffffffffffffffffffff1663150b7a0261333a61250e565b8786866040518563ffffffff1660e01b815260040161335c94939291906155d9565b6020604051808303816000875af192505050801561339857506040513d601f19601f82011682018060405250810190613395919061563a565b60015b61341b573d80600081146133c8576040519150601f19603f3d011682016040523d82523d6000602084013e6133cd565b606091505b50600081511415613413576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161340a90615479565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050613470565b600190505b949350505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b6134ed8383836137d7565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156135305761352b816137dc565b61356f565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161461356e5761356d8382613825565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156135b2576135ad81613992565b6135f1565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16146135f0576135ef8282613a63565b5b5b505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415613666576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161365d906156b3565b60405180910390fd5b61366f816125b9565b156136af576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016136a69061571f565b60405180910390fd5b6136bb6000838361326f565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461370b9190614807565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b600080823b905060008111915050919050565b505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b6000600161383284611478565b61383c9190614b14565b9050600060076000848152602001908152602001600020549050818114613921576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b600060016008805490506139a69190614b14565b90506000600960008481526020019081526020016000205490506000600883815481106139d6576139d5614717565b5b9060005260206000200154905080600883815481106139f8576139f7614717565b5b906000526020600020018190555081600960008381526020019081526020016000208190555060096000858152602001908152602001600020600090556008805480613a4757613a4661573f565b5b6001900381819060005260206000200160009055905550505050565b6000613a6e83611478565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b828054613aee9061430d565b90600052602060002090601f016020900481019282613b105760008555613b57565b82601f10613b2957805160ff1916838001178555613b57565b82800160010185558215613b57579182015b82811115613b56578251825591602001919060010190613b3b565b5b509050613b649190613b68565b5090565b5b80821115613b81576000816000905550600101613b69565b5090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b613bce81613b99565b8114613bd957600080fd5b50565b600081359050613beb81613bc5565b92915050565b600060208284031215613c0757613c06613b8f565b5b6000613c1584828501613bdc565b91505092915050565b60008115159050919050565b613c3381613c1e565b82525050565b6000602082019050613c4e6000830184613c2a565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015613c8e578082015181840152602081019050613c73565b83811115613c9d576000848401525b50505050565b6000601f19601f8301169050919050565b6000613cbf82613c54565b613cc98185613c5f565b9350613cd9818560208601613c70565b613ce281613ca3565b840191505092915050565b60006020820190508181036000830152613d078184613cb4565b905092915050565b6000819050919050565b613d2281613d0f565b8114613d2d57600080fd5b50565b600081359050613d3f81613d19565b92915050565b600060208284031215613d5b57613d5a613b8f565b5b6000613d6984828501613d30565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000613d9d82613d72565b9050919050565b613dad81613d92565b82525050565b6000602082019050613dc86000830184613da4565b92915050565b613dd781613d92565b8114613de257600080fd5b50565b600081359050613df481613dce565b92915050565b60008060408385031215613e1157613e10613b8f565b5b6000613e1f85828601613de5565b9250506020613e3085828601613d30565b9150509250929050565b613e4381613d0f565b82525050565b6000602082019050613e5e6000830184613e3a565b92915050565b600080600060608486031215613e7d57613e7c613b8f565b5b6000613e8b86828701613de5565b9350506020613e9c86828701613de5565b9250506040613ead86828701613d30565b9150509250925092565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b613ef982613ca3565b810181811067ffffffffffffffff82111715613f1857613f17613ec1565b5b80604052505050565b6000613f2b613b85565b9050613f378282613ef0565b919050565b600067ffffffffffffffff821115613f5757613f56613ec1565b5b613f6082613ca3565b9050602081019050919050565b82818337600083830152505050565b6000613f8f613f8a84613f3c565b613f21565b905082815260208101848484011115613fab57613faa613ebc565b5b613fb6848285613f6d565b509392505050565b600082601f830112613fd357613fd2613eb7565b5b8135613fe3848260208601613f7c565b91505092915050565b60006020828403121561400257614001613b8f565b5b600082013567ffffffffffffffff8111156140205761401f613b94565b5b61402c84828501613fbe565b91505092915050565b6000806040838503121561404c5761404b613b8f565b5b600061405a85828601613d30565b925050602061406b85828601613de5565b9150509250929050565b60006020828403121561408b5761408a613b8f565b5b600061409984828501613de5565b91505092915050565b6140ab81613c1e565b81146140b657600080fd5b50565b6000813590506140c8816140a2565b92915050565b600080604083850312156140e5576140e4613b8f565b5b60006140f385828601613de5565b9250506020614104858286016140b9565b9150509250929050565b600067ffffffffffffffff82111561412957614128613ec1565b5b61413282613ca3565b9050602081019050919050565b600061415261414d8461410e565b613f21565b90508281526020810184848401111561416e5761416d613ebc565b5b614179848285613f6d565b509392505050565b600082601f83011261419657614195613eb7565b5b81356141a684826020860161413f565b91505092915050565b600080600080608085870312156141c9576141c8613b8f565b5b60006141d787828801613de5565b94505060206141e887828801613de5565b93505060406141f987828801613d30565b925050606085013567ffffffffffffffff81111561421a57614219613b94565b5b61422687828801614181565b91505092959194509250565b6000806040838503121561424957614248613b8f565b5b600061425785828601613de5565b925050602061426885828601613de5565b9150509250929050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b60006142a8602083613c5f565b91506142b382614272565b602082019050919050565b600060208201905081810360008301526142d78161429b565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061432557607f821691505b60208210811415614339576143386142de565b5b50919050565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b600061439b602c83613c5f565b91506143a68261433f565b604082019050919050565b600060208201905081810360008301526143ca8161438e565b9050919050565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b600061442d602183613c5f565b9150614438826143d1565b604082019050919050565b6000602082019050818103600083015261445c81614420565b9050919050565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b60006144bf603883613c5f565b91506144ca82614463565b604082019050919050565b600060208201905081810360008301526144ee816144b2565b9050919050565b7f4d61796f72206973206e6f74206d696e74656400000000000000000000000000600082015250565b600061452b601383613c5f565b9150614536826144f5565b602082019050919050565b6000602082019050818103600083015261455a8161451e565b9050919050565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b60006145bd603183613c5f565b91506145c882614561565b604082019050919050565b600060208201905081810360008301526145ec816145b0565b9050919050565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b600061464f602b83613c5f565b915061465a826145f3565b604082019050919050565b6000602082019050818103600083015261467e81614642565b9050919050565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b60006146e1602c83613c5f565b91506146ec82614685565b604082019050919050565b60006020820190508181036000830152614710816146d4565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4d696e74696e6720776f756c6420657863656564206d617820737570706c792060008201527f6f6620726573657276656420776f726d73000000000000000000000000000000602082015250565b60006147a2603183613c5f565b91506147ad82614746565b604082019050919050565b600060208201905081810360008301526147d181614795565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061481282613d0f565b915061481d83613d0f565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115614852576148516147d8565b5b828201905092915050565b60006040820190506148726000830185613da4565b61487f6020830184613e3a565b9392505050565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b60006148e2602983613c5f565b91506148ed82614886565b604082019050919050565b60006020820190508181036000830152614911816148d5565b9050919050565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b6000614974602a83613c5f565b915061497f82614918565b604082019050919050565b600060208201905081810360008301526149a381614967565b9050919050565b7f43616e6e6f742072657365727665206d6f7265207468616e20746f74616c207360008201527f7570706c79000000000000000000000000000000000000000000000000000000602082015250565b6000614a06602583613c5f565b9150614a11826149aa565b604082019050919050565b60006020820190508181036000830152614a35816149f9565b9050919050565b7f53616c65206973206e6f74207374617274656400000000000000000000000000600082015250565b6000614a72601383613c5f565b9150614a7d82614a3c565b602082019050919050565b60006020820190508181036000830152614aa181614a65565b9050919050565b7f43616e206d696e74206f6e6c7920333020776f726d7320617420612074696d65600082015250565b6000614ade602083613c5f565b9150614ae982614aa8565b602082019050919050565b60006020820190508181036000830152614b0d81614ad1565b9050919050565b6000614b1f82613d0f565b9150614b2a83613d0f565b925082821015614b3d57614b3c6147d8565b5b828203905092915050565b7f507572636861736520776f756c6420657863656564206d617820737570706c7960008201527f206f6620576f726d730000000000000000000000000000000000000000000000602082015250565b6000614ba4602983613c5f565b9150614baf82614b48565b604082019050919050565b60006020820190508181036000830152614bd381614b97565b9050919050565b6000614be582613d0f565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415614c1857614c176147d8565b5b600182019050919050565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b6000614c59601983613c5f565b9150614c6482614c23565b602082019050919050565b60006020820190508181036000830152614c8881614c4c565b9050919050565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b6000614ceb602f83613c5f565b9150614cf682614c8f565b604082019050919050565b60006020820190508181036000830152614d1a81614cde565b9050919050565b600081905092915050565b6000614d3782613c54565b614d418185614d21565b9350614d51818560208601613c70565b80840191505092915050565b6000614d698285614d2c565b9150614d758284614d2c565b91508190509392505050565b7f50726573616c65206973206e6f74207374617274656400000000000000000000600082015250565b6000614db7601683613c5f565b9150614dc282614d81565b602082019050919050565b60006020820190508181036000830152614de681614daa565b9050919050565b7f41646472657373206973206e6f742077686974656c697374656420666f72207060008201527f726573616c650000000000000000000000000000000000000000000000000000602082015250565b6000614e49602683613c5f565b9150614e5482614ded565b604082019050919050565b60006020820190508181036000830152614e7881614e3c565b9050919050565b7f4f6e6c7920313020746f6b656e7320636f756c64206265206d696e746564206160008201527f7420612074696d65000000000000000000000000000000000000000000000000602082015250565b6000614edb602883613c5f565b9150614ee682614e7f565b604082019050919050565b60006020820190508181036000830152614f0a81614ece565b9050919050565b7f4f6e6c7920313020746f6b656e7320636f756c64206265206d696e746564206660008201527f6f722077686974656c6973746564206163636f756e7400000000000000000000602082015250565b6000614f6d603683613c5f565b9150614f7882614f11565b604082019050919050565b60006020820190508181036000830152614f9c81614f60565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000614fff602683613c5f565b915061500a82614fa3565b604082019050919050565b6000602082019050818103600083015261502e81614ff2565b9050919050565b7f50726573616c6520697320737461727465640000000000000000000000000000600082015250565b600061506b601283613c5f565b915061507682615035565b602082019050919050565b6000602082019050818103600083015261509a8161505e565b9050919050565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b60006150fd602c83613c5f565b9150615108826150a1565b604082019050919050565b6000602082019050818103600083015261512c816150f0565b9050919050565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b600061518f602983613c5f565b915061519a82615133565b604082019050919050565b600060208201905081810360008301526151be81615182565b9050919050565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b6000615221602483613c5f565b915061522c826151c5565b604082019050919050565b6000602082019050818103600083015261525081615214565b9050919050565b7f41646472657373206973206e6f742077686974656c6973746564000000000000600082015250565b600061528d601a83613c5f565b915061529882615257565b602082019050919050565b600060208201905081810360008301526152bc81615280565b9050919050565b7f4164647265737320616c72656164792077686974656c69737465640000000000600082015250565b60006152f9601b83613c5f565b9150615304826152c3565b602082019050919050565b60006020820190508181036000830152615328816152ec565b9050919050565b7f45746865722076616c75652073656e74206973206e6f7420636f727265637400600082015250565b6000615365601f83613c5f565b91506153708261532f565b602082019050919050565b6000602082019050818103600083015261539481615358565b9050919050565b7f53616c6520697320737461727465640000000000000000000000000000000000600082015250565b60006153d1600f83613c5f565b91506153dc8261539b565b602082019050919050565b60006020820190508181036000830152615400816153c4565b9050919050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b6000615463603283613c5f565b915061546e82615407565b604082019050919050565b6000602082019050818103600083015261549281615456565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b60006154d382613d0f565b91506154de83613d0f565b9250826154ee576154ed615499565b5b828204905092915050565b600061550482613d0f565b915061550f83613d0f565b92508261551f5761551e615499565b5b828206905092915050565b600061553582613d0f565b915061554083613d0f565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615615579576155786147d8565b5b828202905092915050565b600081519050919050565b600082825260208201905092915050565b60006155ab82615584565b6155b5818561558f565b93506155c5818560208601613c70565b6155ce81613ca3565b840191505092915050565b60006080820190506155ee6000830187613da4565b6155fb6020830186613da4565b6156086040830185613e3a565b818103606083015261561a81846155a0565b905095945050505050565b60008151905061563481613bc5565b92915050565b6000602082840312156156505761564f613b8f565b5b600061565e84828501615625565b91505092915050565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b600061569d602083613c5f565b91506156a882615667565b602082019050919050565b600060208201905081810360008301526156cc81615690565b9050919050565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b6000615709601c83613c5f565b9150615714826156d3565b602082019050919050565b60006020820190508181036000830152615738816156fc565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fdfea26469706673582212204f059b194096ca632da13f892f5addd650af9b6e513c46503f24e2063182a9ee64736f6c634300080a0033

Deployed Bytecode

0x6080604052600436106102ff5760003560e01c8063819b25ba11610190578063c449a7a8116100dc578063e985e9c511610095578063f2fde38b1161006f578063f2fde38b14610af2578063f6ebfe6214610b1b578063f921d83f14610b46578063fc8023aa14610b71576102ff565b8063e985e9c514610a5f578063eb386f0314610a9c578063eed9491c14610ac7576102ff565b8063c449a7a814610972578063c5eff71914610989578063c87b56dd146109b2578063d936547e146109ef578063e36b0b3714610a2c578063e6ab143414610a43576102ff565b80639b19251a11610149578063a22cb46511610123578063a22cb465146108de578063b66a0e5d14610907578063b88d4fde1461091e578063c2ea7ed614610947576102ff565b80639b19251a14610870578063a0712d6814610899578063a1448194146108b5576102ff565b8063819b25ba14610786578063853828b6146107af57806388ab4168146107c65780638ab1d681146107f15780638da5cb5b1461081a57806395d89b4114610845576102ff565b80633272a1fe1161024f578063631bbbba1161020857806370a08231116101e257806370a08231146106dc578063714c539814610719578063715018a61461074457806377905aed1461075b576102ff565b8063631bbbba1461064b5780636352211e146106745780636f9c6a2d146106b1576102ff565b80633272a1fe1461053b5780633e257c6c1461056657806342842e0e146105915780634f6ccce7146105ba57806355f804b3146105f75780635c474f9e14610620576102ff565b80630eae1f93116102bc5780631ad2ad1a116102965780631ad2ad1a1461049557806323b872dd146104ac5780632e1a7d4d146104d55780632f745c59146104fe576102ff565b80630eae1f93146104145780631593f6f61461043f57806318160ddd1461046a576102ff565b806301ffc9a71461030457806304549d6f1461034157806304c98b2b1461036c57806306fdde0314610383578063081812fc146103ae578063095ea7b3146103eb575b600080fd5b34801561031057600080fd5b5061032b60048036038101906103269190613bf1565b610b9c565b6040516103389190613c39565b60405180910390f35b34801561034d57600080fd5b50610356610bae565b6040516103639190613c39565b60405180910390f35b34801561037857600080fd5b50610381610bc5565b005b34801561038f57600080fd5b50610398610c4b565b6040516103a59190613ced565b60405180910390f35b3480156103ba57600080fd5b506103d560048036038101906103d09190613d45565b610cdd565b6040516103e29190613db3565b60405180910390f35b3480156103f757600080fd5b50610412600480360381019061040d9190613dfa565b610d62565b005b34801561042057600080fd5b50610429610e7a565b6040516104369190613db3565b60405180910390f35b34801561044b57600080fd5b50610454610ed3565b6040516104619190613e49565b60405180910390f35b34801561047657600080fd5b5061047f610edd565b60405161048c9190613e49565b60405180910390f35b3480156104a157600080fd5b506104aa610eea565b005b3480156104b857600080fd5b506104d360048036038101906104ce9190613e64565b610f70565b005b3480156104e157600080fd5b506104fc60048036038101906104f79190613d45565b610fd0565b005b34801561050a57600080fd5b5061052560048036038101906105209190613dfa565b61109d565b6040516105329190613e49565b60405180910390f35b34801561054757600080fd5b50610550611142565b60405161055d9190613e49565b60405180910390f35b34801561057257600080fd5b5061057b611148565b6040516105889190613e49565b60405180910390f35b34801561059d57600080fd5b506105b860048036038101906105b39190613e64565b61114e565b005b3480156105c657600080fd5b506105e160048036038101906105dc9190613d45565b61116e565b6040516105ee9190613e49565b60405180910390f35b34801561060357600080fd5b5061061e60048036038101906106199190613fec565b6111df565b005b34801561062c57600080fd5b50610635611275565b6040516106429190613c39565b60405180910390f35b34801561065757600080fd5b50610672600480360381019061066d9190614035565b61128c565b005b34801561068057600080fd5b5061069b60048036038101906106969190613d45565b6113c1565b6040516106a89190613db3565b60405180910390f35b3480156106bd57600080fd5b506106c6611473565b6040516106d39190613e49565b60405180910390f35b3480156106e857600080fd5b5061070360048036038101906106fe9190614075565b611478565b6040516107109190613e49565b60405180910390f35b34801561072557600080fd5b5061072e611530565b60405161073b9190613ced565b60405180910390f35b34801561075057600080fd5b5061075961153f565b005b34801561076757600080fd5b506107706115c7565b60405161077d9190613e49565b60405180910390f35b34801561079257600080fd5b506107ad60048036038101906107a89190613d45565b6115cd565b005b3480156107bb57600080fd5b506107c4611697565b005b3480156107d257600080fd5b506107db611769565b6040516107e89190613e49565b60405180910390f35b3480156107fd57600080fd5b5061081860048036038101906108139190614075565b6117a1565b005b34801561082657600080fd5b5061082f611829565b60405161083c9190613db3565b60405180910390f35b34801561085157600080fd5b5061085a611853565b6040516108679190613ced565b60405180910390f35b34801561087c57600080fd5b5061089760048036038101906108929190614075565b6118e5565b005b6108b360048036038101906108ae9190613d45565b61196d565b005b3480156108c157600080fd5b506108dc60048036038101906108d79190613dfa565b611aaf565b005b3480156108ea57600080fd5b50610905600480360381019061090091906140ce565b611ba4565b005b34801561091357600080fd5b5061091c611d25565b005b34801561092a57600080fd5b50610945600480360381019061094091906141af565b611dab565b005b34801561095357600080fd5b5061095c611e0d565b6040516109699190613e49565b60405180910390f35b34801561097e57600080fd5b50610987611e12565b005b34801561099557600080fd5b506109b060048036038101906109ab9190614075565b611ea0565b005b3480156109be57600080fd5b506109d960048036038101906109d49190613d45565b611f62565b6040516109e69190613ced565b60405180910390f35b3480156109fb57600080fd5b50610a166004803603810190610a119190614075565b612009565b604051610a239190613c39565b60405180910390f35b348015610a3857600080fd5b50610a4161205f565b005b610a5d6004803603810190610a589190613d45565b6120e5565b005b348015610a6b57600080fd5b50610a866004803603810190610a819190614232565b6122db565b604051610a939190613c39565b60405180910390f35b348015610aa857600080fd5b50610ab161236f565b604051610abe9190613e49565b60405180910390f35b348015610ad357600080fd5b50610adc612375565b604051610ae99190613e49565b60405180910390f35b348015610afe57600080fd5b50610b196004803603810190610b149190614075565b61237f565b005b348015610b2757600080fd5b50610b30612477565b604051610b3d9190613c39565b60405180910390f35b348015610b5257600080fd5b50610b5b612489565b604051610b689190613e49565b60405180910390f35b348015610b7d57600080fd5b50610b8661248f565b604051610b939190613e49565b60405180910390f35b6000610ba782612494565b9050919050565b6000600a60009054906101000a900460ff16905090565b610bcd61250e565b73ffffffffffffffffffffffffffffffffffffffff16610beb611829565b73ffffffffffffffffffffffffffffffffffffffff1614610c41576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c38906142be565b60405180910390fd5b610c49612516565b565b606060008054610c5a9061430d565b80601f0160208091040260200160405190810160405280929190818152602001828054610c869061430d565b8015610cd35780601f10610ca857610100808354040283529160200191610cd3565b820191906000526020600020905b815481529060010190602001808311610cb657829003601f168201915b5050505050905090565b6000610ce8826125b9565b610d27576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d1e906143b1565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610d6d826113c1565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610dde576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dd590614443565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610dfd61250e565b73ffffffffffffffffffffffffffffffffffffffff161480610e2c5750610e2b81610e2661250e565b6122db565b5b610e6b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e62906144d5565b60405180910390fd5b610e758383612625565b505050565b6000610e84612477565b610ec3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610eba90614541565b60405180910390fd5b610ece6012546113c1565b905090565b6000601154905090565b6000600880549050905090565b610ef261250e565b73ffffffffffffffffffffffffffffffffffffffff16610f10611829565b73ffffffffffffffffffffffffffffffffffffffff1614610f66576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f5d906142be565b60405180910390fd5b610f6e6126de565b565b610f81610f7b61250e565b82612780565b610fc0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fb7906145d3565b60405180910390fd5b610fcb83838361285e565b505050565b610fd861250e565b73ffffffffffffffffffffffffffffffffffffffff16610ff6611829565b73ffffffffffffffffffffffffffffffffffffffff161461104c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611043906142be565b60405180910390fd5b611054611829565b73ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f19350505050158015611099573d6000803e3d6000fd5b5050565b60006110a883611478565b82106110e9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110e090614665565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b600f5481565b60125481565b61116983838360405180602001604052806000815250611dab565b505050565b6000611178610edd565b82106111b9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111b0906146f7565b60405180910390fd5b600882815481106111cd576111cc614717565b5b90600052602060002001549050919050565b6111e761250e565b73ffffffffffffffffffffffffffffffffffffffff16611205611829565b73ffffffffffffffffffffffffffffffffffffffff161461125b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611252906142be565b60405180910390fd5b8060139080519060200190611271929190613ae2565b5050565b6000600a60019054906101000a900460ff16905090565b61129461250e565b73ffffffffffffffffffffffffffffffffffffffff166112b2611829565b73ffffffffffffffffffffffffffffffffffffffff1614611308576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112ff906142be565b60405180910390fd5b60105461132083601154612aba90919063ffffffff16565b1115611361576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611358906147b8565b60405180910390fd5b81601160008282546113739190614807565b925050819055506113848282612ad0565b7f99dadef9a2d51e6aded57010cfa92387eb027f842185e7ea95b65c55b6058c6881836040516113b592919061485d565b60405180910390a15050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561146a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611461906148f8565b60405180910390fd5b80915050919050565b600a81565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156114e9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114e09061498a565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b606061153a612b32565b905090565b61154761250e565b73ffffffffffffffffffffffffffffffffffffffff16611565611829565b73ffffffffffffffffffffffffffffffffffffffff16146115bb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115b2906142be565b60405180910390fd5b6115c56000612bc4565b565b600e5481565b6115d561250e565b73ffffffffffffffffffffffffffffffffffffffff166115f3611829565b73ffffffffffffffffffffffffffffffffffffffff1614611649576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611640906142be565b60405180910390fd5b600f54811061168d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161168490614a1c565b60405180910390fd5b8060108190555050565b61169f61250e565b73ffffffffffffffffffffffffffffffffffffffff166116bd611829565b73ffffffffffffffffffffffffffffffffffffffff1614611713576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161170a906142be565b60405180910390fd5b6000479050611720611829565b73ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f19350505050158015611765573d6000803e3d6000fd5b5050565b600080611774610edd565b905061177e612477565b1561179a57611797600182612c8a90919063ffffffff16565b90505b8091505090565b6117a961250e565b73ffffffffffffffffffffffffffffffffffffffff166117c7611829565b73ffffffffffffffffffffffffffffffffffffffff161461181d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611814906142be565b60405180910390fd5b61182681612ca0565b50565b6000600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6060600180546118629061430d565b80601f016020809104026020016040519081016040528092919081815260200182805461188e9061430d565b80156118db5780601f106118b0576101008083540402835291602001916118db565b820191906000526020600020905b8154815290600101906020018083116118be57829003601f168201915b5050505050905090565b6118ed61250e565b73ffffffffffffffffffffffffffffffffffffffff1661190b611829565b73ffffffffffffffffffffffffffffffffffffffff1614611961576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611958906142be565b60405180910390fd5b61196a81612d3a565b50565b611975611275565b6119b4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119ab90614a88565b60405180910390fd5b601e8111156119f8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119ef90614af4565b60405180910390fd5b601054600f54611a089190614b14565b611a2282611a14611769565b612aba90919063ffffffff16565b1115611a63576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a5a90614bba565b60405180910390fd5b611a6c81612dde565b7f30385c845b448a36257a6a1716e6ad2e1bc2cbe333cde1e69fe849ad6511adfe611a9561250e565b82604051611aa492919061485d565b60405180910390a150565b611ab761250e565b73ffffffffffffffffffffffffffffffffffffffff16611ad5611829565b73ffffffffffffffffffffffffffffffffffffffff1614611b2b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b22906142be565b60405180910390fd5b60005b81811015611b6657611b4983611b44600d612e49565b612e57565b611b53600d612e75565b8080611b5e90614bda565b915050611b2e565b7f30385c845b448a36257a6a1716e6ad2e1bc2cbe333cde1e69fe849ad6511adfe8383604051611b9792919061485d565b60405180910390a1505050565b611bac61250e565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611c1a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c1190614c6f565b60405180910390fd5b8060056000611c2761250e565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611cd461250e565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611d199190613c39565b60405180910390a35050565b611d2d61250e565b73ffffffffffffffffffffffffffffffffffffffff16611d4b611829565b73ffffffffffffffffffffffffffffffffffffffff1614611da1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d98906142be565b60405180910390fd5b611da9612e8b565b565b611dbc611db661250e565b83612780565b611dfb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611df2906145d3565b60405180910390fd5b611e0784848484612f2e565b50505050565b600a81565b611e1a61250e565b73ffffffffffffffffffffffffffffffffffffffff16611e38611829565b73ffffffffffffffffffffffffffffffffffffffff1614611e8e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e85906142be565b60405180910390fd5b611e96610eea565b611e9e611d25565b565b611ea861250e565b73ffffffffffffffffffffffffffffffffffffffff16611ec6611829565b73ffffffffffffffffffffffffffffffffffffffff1614611f1c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f13906142be565b60405180910390fd5b611f2881601254612e57565b7fd61ae74efb90c691eabd919d9e66bfbee4991eddf03355c17f90189ac132c8e781604051611f579190613db3565b60405180910390a150565b6060611f6d826125b9565b611fac576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fa390614d01565b60405180910390fd5b6000611fb6612b32565b90506000815111611fd65760405180602001604052806000815250612001565b80611fe084612f8a565b604051602001611ff1929190614d5d565b6040516020818303038152906040525b915050919050565b6000600b60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff169050919050565b61206761250e565b73ffffffffffffffffffffffffffffffffffffffff16612085611829565b73ffffffffffffffffffffffffffffffffffffffff16146120db576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120d2906142be565b60405180910390fd5b6120e36130eb565b565b6120ed610bae565b61212c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161212390614dcd565b60405180910390fd5b61213c61213761250e565b612009565b61217b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161217290614e5f565b60405180910390fd5b601054600f5461218b9190614b14565b6121a582612197611769565b612aba90919063ffffffff16565b11156121e6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121dd90614bba565b60405180910390fd5b600a81111561222a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161222190614ef1565b60405180910390fd5b600a61224e8261224061223b61250e565b611478565b612aba90919063ffffffff16565b111561228f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161228690614f83565b60405180910390fd5b61229881612dde565b7ff2c2dc361295bf64dd88a9c6f56f897662e9784029e1fffa74ab49997727c97d6122c161250e565b826040516122d092919061485d565b60405180910390a150565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b60105481565b6000601054905090565b61238761250e565b73ffffffffffffffffffffffffffffffffffffffff166123a5611829565b73ffffffffffffffffffffffffffffffffffffffff16146123fb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123f2906142be565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561246b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161246290615015565b60405180910390fd5b61247481612bc4565b50565b60006124846012546125b9565b905090565b60115481565b601e81565b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061250757506125068261318d565b5b9050919050565b600033905090565b61251e610bae565b1561255e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161255590615081565b60405180910390fd5b6001600a60006101000a81548160ff0219169083151502179055507ff16451745d94008693a6754eef913b598c0b825106da99759cd674c8b2b022436125a261250e565b6040516125af9190613db3565b60405180910390a1565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16612698836113c1565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6126e6610bae565b612725576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161271c90614dcd565b60405180910390fd5b6000600a60006101000a81548160ff0219169083151502179055507f85e0357d3db7674600a3b6a2dd7f8f2c2849993884764fef04e7cccd7585c28b61276961250e565b6040516127769190613db3565b60405180910390a1565b600061278b826125b9565b6127ca576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127c190615113565b60405180910390fd5b60006127d5836113c1565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16148061284457508373ffffffffffffffffffffffffffffffffffffffff1661282c84610cdd565b73ffffffffffffffffffffffffffffffffffffffff16145b80612855575061285481856122db565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff1661287e826113c1565b73ffffffffffffffffffffffffffffffffffffffff16146128d4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016128cb906151a5565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612944576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161293b90615237565b60405180910390fd5b61294f83838361326f565b61295a600082612625565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546129aa9190614b14565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612a019190614807565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b60008183612ac89190614807565b905092915050565b6000612ada610edd565b905060005b83811015612b2c57600f548183612af69190614807565b11612b1957612b0e83612b09600d612e49565b612e57565b612b18600d612e75565b5b8080612b2490614bda565b915050612adf565b50505050565b606060138054612b419061430d565b80601f0160208091040260200160405190810160405280929190818152602001828054612b6d9061430d565b8015612bba5780601f10612b8f57610100808354040283529160200191612bba565b820191906000526020600020905b815481529060010190602001808311612b9d57829003601f168201915b5050505050905090565b6000600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600c60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b60008183612c989190614b14565b905092915050565b612ca981612009565b612ce8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612cdf906152a3565b60405180910390fd5b600b60008273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81549060ff021916905550565b612d4381612009565b15612d83576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d7a9061530f565b60405180910390fd5b6001600b60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555050565b34612df482600e5461327f90919063ffffffff16565b1115612e35576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612e2c9061537b565b60405180910390fd5b612e4681612e4161250e565b612ad0565b50565b600081600001549050919050565b612e71828260405180602001604052806000815250613295565b5050565b6001816000016000828254019250508190555050565b612e93611275565b15612ed3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612eca906153e7565b60405180910390fd5b6001600a60016101000a81548160ff0219169083151502179055507f1d6cd5c13fb3099209bcd6a54a80facbf19054e4d2f30cb0f3fbcf0f9ebfb374612f1761250e565b604051612f249190613db3565b60405180910390a1565b612f3984848461285e565b612f45848484846132f0565b612f84576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612f7b90615479565b60405180910390fd5b50505050565b60606000821415612fd2576040518060400160405280600181526020017f300000000000000000000000000000000000000000000000000000000000000081525090506130e6565b600082905060005b60008214613004578080612fed90614bda565b915050600a82612ffd91906154c8565b9150612fda565b60008167ffffffffffffffff8111156130205761301f613ec1565b5b6040519080825280601f01601f1916602001820160405280156130525781602001600182028036833780820191505090505b5090505b600085146130df5760018261306b9190614b14565b9150600a8561307a91906154f9565b60306130869190614807565b60f81b81838151811061309c5761309b614717565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856130d891906154c8565b9450613056565b8093505050505b919050565b6130f3611275565b613132576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161312990614a88565b60405180910390fd5b6000600a60016101000a81548160ff0219169083151502179055507f76347af224becc86edd2be2d63ed537a8c521a61a6280d3871c71320225a141d61317661250e565b6040516131839190613db3565b60405180910390a1565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061325857507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80613268575061326782613478565b5b9050919050565b61327a8383836134e2565b505050565b6000818361328d919061552a565b905092915050565b61329f83836135f6565b6132ac60008484846132f0565b6132eb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016132e290615479565b60405180910390fd5b505050565b60006133118473ffffffffffffffffffffffffffffffffffffffff166137c4565b1561346b578373ffffffffffffffffffffffffffffffffffffffff1663150b7a0261333a61250e565b8786866040518563ffffffff1660e01b815260040161335c94939291906155d9565b6020604051808303816000875af192505050801561339857506040513d601f19601f82011682018060405250810190613395919061563a565b60015b61341b573d80600081146133c8576040519150601f19603f3d011682016040523d82523d6000602084013e6133cd565b606091505b50600081511415613413576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161340a90615479565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050613470565b600190505b949350505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b6134ed8383836137d7565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156135305761352b816137dc565b61356f565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161461356e5761356d8382613825565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156135b2576135ad81613992565b6135f1565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16146135f0576135ef8282613a63565b5b5b505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415613666576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161365d906156b3565b60405180910390fd5b61366f816125b9565b156136af576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016136a69061571f565b60405180910390fd5b6136bb6000838361326f565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461370b9190614807565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b600080823b905060008111915050919050565b505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b6000600161383284611478565b61383c9190614b14565b9050600060076000848152602001908152602001600020549050818114613921576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b600060016008805490506139a69190614b14565b90506000600960008481526020019081526020016000205490506000600883815481106139d6576139d5614717565b5b9060005260206000200154905080600883815481106139f8576139f7614717565b5b906000526020600020018190555081600960008381526020019081526020016000208190555060096000858152602001908152602001600020600090556008805480613a4757613a4661573f565b5b6001900381819060005260206000200160009055905550505050565b6000613a6e83611478565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b828054613aee9061430d565b90600052602060002090601f016020900481019282613b105760008555613b57565b82601f10613b2957805160ff1916838001178555613b57565b82800160010185558215613b57579182015b82811115613b56578251825591602001919060010190613b3b565b5b509050613b649190613b68565b5090565b5b80821115613b81576000816000905550600101613b69565b5090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b613bce81613b99565b8114613bd957600080fd5b50565b600081359050613beb81613bc5565b92915050565b600060208284031215613c0757613c06613b8f565b5b6000613c1584828501613bdc565b91505092915050565b60008115159050919050565b613c3381613c1e565b82525050565b6000602082019050613c4e6000830184613c2a565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015613c8e578082015181840152602081019050613c73565b83811115613c9d576000848401525b50505050565b6000601f19601f8301169050919050565b6000613cbf82613c54565b613cc98185613c5f565b9350613cd9818560208601613c70565b613ce281613ca3565b840191505092915050565b60006020820190508181036000830152613d078184613cb4565b905092915050565b6000819050919050565b613d2281613d0f565b8114613d2d57600080fd5b50565b600081359050613d3f81613d19565b92915050565b600060208284031215613d5b57613d5a613b8f565b5b6000613d6984828501613d30565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000613d9d82613d72565b9050919050565b613dad81613d92565b82525050565b6000602082019050613dc86000830184613da4565b92915050565b613dd781613d92565b8114613de257600080fd5b50565b600081359050613df481613dce565b92915050565b60008060408385031215613e1157613e10613b8f565b5b6000613e1f85828601613de5565b9250506020613e3085828601613d30565b9150509250929050565b613e4381613d0f565b82525050565b6000602082019050613e5e6000830184613e3a565b92915050565b600080600060608486031215613e7d57613e7c613b8f565b5b6000613e8b86828701613de5565b9350506020613e9c86828701613de5565b9250506040613ead86828701613d30565b9150509250925092565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b613ef982613ca3565b810181811067ffffffffffffffff82111715613f1857613f17613ec1565b5b80604052505050565b6000613f2b613b85565b9050613f378282613ef0565b919050565b600067ffffffffffffffff821115613f5757613f56613ec1565b5b613f6082613ca3565b9050602081019050919050565b82818337600083830152505050565b6000613f8f613f8a84613f3c565b613f21565b905082815260208101848484011115613fab57613faa613ebc565b5b613fb6848285613f6d565b509392505050565b600082601f830112613fd357613fd2613eb7565b5b8135613fe3848260208601613f7c565b91505092915050565b60006020828403121561400257614001613b8f565b5b600082013567ffffffffffffffff8111156140205761401f613b94565b5b61402c84828501613fbe565b91505092915050565b6000806040838503121561404c5761404b613b8f565b5b600061405a85828601613d30565b925050602061406b85828601613de5565b9150509250929050565b60006020828403121561408b5761408a613b8f565b5b600061409984828501613de5565b91505092915050565b6140ab81613c1e565b81146140b657600080fd5b50565b6000813590506140c8816140a2565b92915050565b600080604083850312156140e5576140e4613b8f565b5b60006140f385828601613de5565b9250506020614104858286016140b9565b9150509250929050565b600067ffffffffffffffff82111561412957614128613ec1565b5b61413282613ca3565b9050602081019050919050565b600061415261414d8461410e565b613f21565b90508281526020810184848401111561416e5761416d613ebc565b5b614179848285613f6d565b509392505050565b600082601f83011261419657614195613eb7565b5b81356141a684826020860161413f565b91505092915050565b600080600080608085870312156141c9576141c8613b8f565b5b60006141d787828801613de5565b94505060206141e887828801613de5565b93505060406141f987828801613d30565b925050606085013567ffffffffffffffff81111561421a57614219613b94565b5b61422687828801614181565b91505092959194509250565b6000806040838503121561424957614248613b8f565b5b600061425785828601613de5565b925050602061426885828601613de5565b9150509250929050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b60006142a8602083613c5f565b91506142b382614272565b602082019050919050565b600060208201905081810360008301526142d78161429b565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061432557607f821691505b60208210811415614339576143386142de565b5b50919050565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b600061439b602c83613c5f565b91506143a68261433f565b604082019050919050565b600060208201905081810360008301526143ca8161438e565b9050919050565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b600061442d602183613c5f565b9150614438826143d1565b604082019050919050565b6000602082019050818103600083015261445c81614420565b9050919050565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b60006144bf603883613c5f565b91506144ca82614463565b604082019050919050565b600060208201905081810360008301526144ee816144b2565b9050919050565b7f4d61796f72206973206e6f74206d696e74656400000000000000000000000000600082015250565b600061452b601383613c5f565b9150614536826144f5565b602082019050919050565b6000602082019050818103600083015261455a8161451e565b9050919050565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b60006145bd603183613c5f565b91506145c882614561565b604082019050919050565b600060208201905081810360008301526145ec816145b0565b9050919050565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b600061464f602b83613c5f565b915061465a826145f3565b604082019050919050565b6000602082019050818103600083015261467e81614642565b9050919050565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b60006146e1602c83613c5f565b91506146ec82614685565b604082019050919050565b60006020820190508181036000830152614710816146d4565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4d696e74696e6720776f756c6420657863656564206d617820737570706c792060008201527f6f6620726573657276656420776f726d73000000000000000000000000000000602082015250565b60006147a2603183613c5f565b91506147ad82614746565b604082019050919050565b600060208201905081810360008301526147d181614795565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061481282613d0f565b915061481d83613d0f565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115614852576148516147d8565b5b828201905092915050565b60006040820190506148726000830185613da4565b61487f6020830184613e3a565b9392505050565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b60006148e2602983613c5f565b91506148ed82614886565b604082019050919050565b60006020820190508181036000830152614911816148d5565b9050919050565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b6000614974602a83613c5f565b915061497f82614918565b604082019050919050565b600060208201905081810360008301526149a381614967565b9050919050565b7f43616e6e6f742072657365727665206d6f7265207468616e20746f74616c207360008201527f7570706c79000000000000000000000000000000000000000000000000000000602082015250565b6000614a06602583613c5f565b9150614a11826149aa565b604082019050919050565b60006020820190508181036000830152614a35816149f9565b9050919050565b7f53616c65206973206e6f74207374617274656400000000000000000000000000600082015250565b6000614a72601383613c5f565b9150614a7d82614a3c565b602082019050919050565b60006020820190508181036000830152614aa181614a65565b9050919050565b7f43616e206d696e74206f6e6c7920333020776f726d7320617420612074696d65600082015250565b6000614ade602083613c5f565b9150614ae982614aa8565b602082019050919050565b60006020820190508181036000830152614b0d81614ad1565b9050919050565b6000614b1f82613d0f565b9150614b2a83613d0f565b925082821015614b3d57614b3c6147d8565b5b828203905092915050565b7f507572636861736520776f756c6420657863656564206d617820737570706c7960008201527f206f6620576f726d730000000000000000000000000000000000000000000000602082015250565b6000614ba4602983613c5f565b9150614baf82614b48565b604082019050919050565b60006020820190508181036000830152614bd381614b97565b9050919050565b6000614be582613d0f565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415614c1857614c176147d8565b5b600182019050919050565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b6000614c59601983613c5f565b9150614c6482614c23565b602082019050919050565b60006020820190508181036000830152614c8881614c4c565b9050919050565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b6000614ceb602f83613c5f565b9150614cf682614c8f565b604082019050919050565b60006020820190508181036000830152614d1a81614cde565b9050919050565b600081905092915050565b6000614d3782613c54565b614d418185614d21565b9350614d51818560208601613c70565b80840191505092915050565b6000614d698285614d2c565b9150614d758284614d2c565b91508190509392505050565b7f50726573616c65206973206e6f74207374617274656400000000000000000000600082015250565b6000614db7601683613c5f565b9150614dc282614d81565b602082019050919050565b60006020820190508181036000830152614de681614daa565b9050919050565b7f41646472657373206973206e6f742077686974656c697374656420666f72207060008201527f726573616c650000000000000000000000000000000000000000000000000000602082015250565b6000614e49602683613c5f565b9150614e5482614ded565b604082019050919050565b60006020820190508181036000830152614e7881614e3c565b9050919050565b7f4f6e6c7920313020746f6b656e7320636f756c64206265206d696e746564206160008201527f7420612074696d65000000000000000000000000000000000000000000000000602082015250565b6000614edb602883613c5f565b9150614ee682614e7f565b604082019050919050565b60006020820190508181036000830152614f0a81614ece565b9050919050565b7f4f6e6c7920313020746f6b656e7320636f756c64206265206d696e746564206660008201527f6f722077686974656c6973746564206163636f756e7400000000000000000000602082015250565b6000614f6d603683613c5f565b9150614f7882614f11565b604082019050919050565b60006020820190508181036000830152614f9c81614f60565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000614fff602683613c5f565b915061500a82614fa3565b604082019050919050565b6000602082019050818103600083015261502e81614ff2565b9050919050565b7f50726573616c6520697320737461727465640000000000000000000000000000600082015250565b600061506b601283613c5f565b915061507682615035565b602082019050919050565b6000602082019050818103600083015261509a8161505e565b9050919050565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b60006150fd602c83613c5f565b9150615108826150a1565b604082019050919050565b6000602082019050818103600083015261512c816150f0565b9050919050565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b600061518f602983613c5f565b915061519a82615133565b604082019050919050565b600060208201905081810360008301526151be81615182565b9050919050565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b6000615221602483613c5f565b915061522c826151c5565b604082019050919050565b6000602082019050818103600083015261525081615214565b9050919050565b7f41646472657373206973206e6f742077686974656c6973746564000000000000600082015250565b600061528d601a83613c5f565b915061529882615257565b602082019050919050565b600060208201905081810360008301526152bc81615280565b9050919050565b7f4164647265737320616c72656164792077686974656c69737465640000000000600082015250565b60006152f9601b83613c5f565b9150615304826152c3565b602082019050919050565b60006020820190508181036000830152615328816152ec565b9050919050565b7f45746865722076616c75652073656e74206973206e6f7420636f727265637400600082015250565b6000615365601f83613c5f565b91506153708261532f565b602082019050919050565b6000602082019050818103600083015261539481615358565b9050919050565b7f53616c6520697320737461727465640000000000000000000000000000000000600082015250565b60006153d1600f83613c5f565b91506153dc8261539b565b602082019050919050565b60006020820190508181036000830152615400816153c4565b9050919050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b6000615463603283613c5f565b915061546e82615407565b604082019050919050565b6000602082019050818103600083015261549281615456565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b60006154d382613d0f565b91506154de83613d0f565b9250826154ee576154ed615499565b5b828204905092915050565b600061550482613d0f565b915061550f83613d0f565b92508261551f5761551e615499565b5b828206905092915050565b600061553582613d0f565b915061554083613d0f565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615615579576155786147d8565b5b828202905092915050565b600081519050919050565b600082825260208201905092915050565b60006155ab82615584565b6155b5818561558f565b93506155c5818560208601613c70565b6155ce81613ca3565b840191505092915050565b60006080820190506155ee6000830187613da4565b6155fb6020830186613da4565b6156086040830185613e3a565b818103606083015261561a81846155a0565b905095945050505050565b60008151905061563481613bc5565b92915050565b6000602082840312156156505761564f613b8f565b5b600061565e84828501615625565b91505092915050565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b600061569d602083613c5f565b91506156a882615667565b602082019050919050565b600060208201905081810360008301526156cc81615690565b9050919050565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b6000615709601c83613c5f565b9150615714826156d3565b602082019050919050565b60006020820190508181036000830152615738816156fc565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fdfea26469706673582212204f059b194096ca632da13f892f5addd650af9b6e513c46503f24e2063182a9ee64736f6c634300080a0033

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.