ETH Price: $2,561.72 (-1.68%)
Gas: 3 Gwei

Token

CryptoKings (CKS)
 

Overview

Max Total Supply

551 CKS

Holders

157

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Balance
10 CKS
0x2d36df4e98a9814e6fd7315b9c77677df763a1f8
Loading...
Loading
Loading...
Loading
Loading...
Loading

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

Contract Source Code Verified (Exact Match)

Contract Name:
CryptoKings

Compiler Version
v0.6.12+commit.27d51765

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion, None license

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2021-03-21
*/

// File: node_modules\@openzeppelin\contracts\GSN\Context.sol

pragma solidity ^0.6.0;

/*
 * @dev Provides information about the current execution context, including the
 * sender of the transaction and its data. While these are generally available
 * via msg.sender and msg.data, they should not be accessed in such a direct
 * manner, since when dealing with GSN meta-transactions the account sending and
 * paying for execution may not be the actual sender (as far as an application
 * is concerned).
 *
 * This contract is only required for intermediate, library-like contracts.
 */
contract Context {
    // Empty internal constructor, to prevent people from mistakenly deploying
    // an instance of this contract, which should be used via inheritance.
    constructor () internal { }

    function _msgSender() internal view virtual returns (address payable) {
        return msg.sender;
    }

    function _msgData() internal view virtual returns (bytes memory) {
        this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691
        return msg.data;
    }
}

// File: node_modules\@openzeppelin\contracts\introspection\IERC165.sol

pragma solidity ^0.6.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: node_modules\@openzeppelin\contracts\token\ERC721\IERC721.sol

pragma solidity ^0.6.2;


/**
 * @dev Required interface of an ERC721 compliant contract.
 */
interface IERC721 is IERC165 {
    event Transfer(address indexed from, address indexed to, uint256 indexed tokenId);
    event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId);
    event ApprovalForAll(address indexed owner, address indexed operator, bool approved);

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

    /**
     * @dev Returns the owner of the NFT specified by `tokenId`.
     */
    function ownerOf(uint256 tokenId) external view returns (address owner);

    /**
     * @dev Transfers a specific NFT (`tokenId`) from one account (`from`) to
     * another (`to`).
     *
     *
     *
     * Requirements:
     * - `from`, `to` cannot be zero.
     * - `tokenId` must be owned by `from`.
     * - If the caller is not `from`, it must be have been allowed to move this
     * NFT by either {approve} or {setApprovalForAll}.
     */
    function safeTransferFrom(address from, address to, uint256 tokenId) external;
    /**
     * @dev Transfers a specific NFT (`tokenId`) from one account (`from`) to
     * another (`to`).
     *
     * Requirements:
     * - If the caller is not `from`, it must be approved to move this NFT by
     * either {approve} or {setApprovalForAll}.
     */
    function transferFrom(address from, address to, uint256 tokenId) external;
    function approve(address to, uint256 tokenId) external;
    function getApproved(uint256 tokenId) external view returns (address operator);

    function setApprovalForAll(address operator, bool _approved) external;
    function isApprovedForAll(address owner, address operator) external view returns (bool);


    function safeTransferFrom(address from, address to, uint256 tokenId, bytes calldata data) external;
}

// File: node_modules\@openzeppelin\contracts\token\ERC721\IERC721Metadata.sol

pragma solidity ^0.6.2;


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

// File: node_modules\@openzeppelin\contracts\token\ERC721\IERC721Enumerable.sol

pragma solidity ^0.6.2;


/**
 * @title ERC-721 Non-Fungible Token Standard, optional enumeration extension
 * @dev See https://eips.ethereum.org/EIPS/eip-721
 */
interface IERC721Enumerable is IERC721 {
    function totalSupply() external view returns (uint256);
    function tokenOfOwnerByIndex(address owner, uint256 index) external view returns (uint256 tokenId);

    function tokenByIndex(uint256 index) external view returns (uint256);
}

// File: node_modules\@openzeppelin\contracts\token\ERC721\IERC721Receiver.sol

pragma solidity ^0.6.0;

/**
 * @title ERC721 token receiver interface
 * @dev Interface for any contract that wants to support safeTransfers
 * from ERC721 asset contracts.
 */
abstract contract IERC721Receiver {
    /**
     * @notice Handle the receipt of an NFT
     * @dev The ERC721 smart contract calls this function on the recipient
     * after a {IERC721-safeTransferFrom}. This function MUST return the function selector,
     * otherwise the caller will revert the transaction. The selector to be
     * returned can be obtained as `this.onERC721Received.selector`. This
     * function MAY throw to revert and reject the transfer.
     * Note: the ERC721 contract address is always the message sender.
     * @param operator The address which called `safeTransferFrom` function
     * @param from The address which previously owned the token
     * @param tokenId The NFT identifier which is being transferred
     * @param data Additional data with no specified format
     * @return bytes4 `bytes4(keccak256("onERC721Received(address,address,uint256,bytes)"))`
     */
    function onERC721Received(address operator, address from, uint256 tokenId, bytes memory data)
    public virtual returns (bytes4);
}

// File: node_modules\@openzeppelin\contracts\introspection\ERC165.sol

pragma solidity ^0.6.0;


/**
 * @dev Implementation of the {IERC165} interface.
 *
 * Contracts may inherit from this and call {_registerInterface} to declare
 * their support of an interface.
 */
contract ERC165 is IERC165 {
    /*
     * bytes4(keccak256('supportsInterface(bytes4)')) == 0x01ffc9a7
     */
    bytes4 private constant _INTERFACE_ID_ERC165 = 0x01ffc9a7;

    /**
     * @dev Mapping of interface ids to whether or not it's supported.
     */
    mapping(bytes4 => bool) private _supportedInterfaces;

    constructor () internal {
        // Derived contracts need only register support for their own interfaces,
        // we register support for ERC165 itself here
        _registerInterface(_INTERFACE_ID_ERC165);
    }

    /**
     * @dev See {IERC165-supportsInterface}.
     *
     * Time complexity O(1), guaranteed to always use less than 30 000 gas.
     */
    function supportsInterface(bytes4 interfaceId) public view override returns (bool) {
        return _supportedInterfaces[interfaceId];
    }

    /**
     * @dev Registers the contract as an implementer of the interface defined by
     * `interfaceId`. Support of the actual ERC165 interface is automatic and
     * registering its interface id is not required.
     *
     * See {IERC165-supportsInterface}.
     *
     * Requirements:
     *
     * - `interfaceId` cannot be the ERC165 invalid interface (`0xffffffff`).
     */
    function _registerInterface(bytes4 interfaceId) internal virtual {
        require(interfaceId != 0xffffffff, "ERC165: invalid interface id");
        _supportedInterfaces[interfaceId] = true;
    }
}

// File: node_modules\@openzeppelin\contracts\utils\Address.sol

pragma solidity ^0.6.2;

/**
 * @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) {
        // According to EIP-1052, 0x0 is the value returned for not-yet created accounts
        // and 0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470 is returned
        // for accounts without code, i.e. `keccak256('')`
        bytes32 codehash;
        bytes32 accountHash = 0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470;
        // solhint-disable-next-line no-inline-assembly
        assembly { codehash := extcodehash(account) }
        return (codehash != accountHash && codehash != 0x0);
    }

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

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

// File: node_modules\@openzeppelin\contracts\utils\EnumerableSet.sol

pragma solidity ^0.6.0;

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

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

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

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

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

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

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

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

            bytes32 lastvalue = set._values[lastIndex];

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

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

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

            return true;
        } else {
            return false;
        }
    }

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

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

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

    // AddressSet

    struct AddressSet {
        Set _inner;
    }

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

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

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

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

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


    // UintSet

    struct UintSet {
        Set _inner;
    }

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

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

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

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

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

// File: node_modules\@openzeppelin\contracts\utils\EnumerableMap.sol

pragma solidity ^0.6.0;

/**
 * @dev Library for managing an enumerable variant of Solidity's
 * https://solidity.readthedocs.io/en/latest/types.html#mapping-types[`mapping`]
 * type.
 *
 * Maps have the following properties:
 *
 * - Entries are added, removed, and checked for existence in constant time
 * (O(1)).
 * - Entries are enumerated in O(n). No guarantees are made on the ordering.
 *
 * ```
 * contract Example {
 *     // Add the library methods
 *     using EnumerableMap for EnumerableMap.UintToAddressMap;
 *
 *     // Declare a set state variable
 *     EnumerableMap.UintToAddressMap private myMap;
 * }
 * ```
 *
 * As of v3.0.0, only maps of type `uint256 -> address` (`UintToAddressMap`) are
 * supported.
 */
library EnumerableMap {
    // To implement this library for multiple types with as little code
    // repetition as possible, we write it in terms of a generic Map type with
    // bytes32 keys and values.
    // The Map implementation uses private functions, and user-facing
    // implementations (such as Uint256ToAddressMap) are just wrappers around
    // the underlying Map.
    // This means that we can only create new EnumerableMaps for types that fit
    // in bytes32.

    struct MapEntry {
        bytes32 _key;
        bytes32 _value;
    }

    struct Map {
        // Storage of map keys and values
        MapEntry[] _entries;

        // Position of the entry defined by a key in the `entries` array, plus 1
        // because index 0 means a key is not in the map.
        mapping (bytes32 => uint256) _indexes;
    }

    /**
     * @dev Adds a key-value pair to a map, or updates the value for an existing
     * key. O(1).
     *
     * Returns true if the key was added to the map, that is if it was not
     * already present.
     */
    function _set(Map storage map, bytes32 key, bytes32 value) private returns (bool) {
        // We read and store the key's index to prevent multiple reads from the same storage slot
        uint256 keyIndex = map._indexes[key];

        if (keyIndex == 0) { // Equivalent to !contains(map, key)
            map._entries.push(MapEntry({ _key: key, _value: value }));
            // The entry is stored at length-1, but we add 1 to all indexes
            // and use 0 as a sentinel value
            map._indexes[key] = map._entries.length;
            return true;
        } else {
            map._entries[keyIndex - 1]._value = value;
            return false;
        }
    }

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

        if (keyIndex != 0) { // Equivalent to contains(map, key)
            // To delete a key-value pair from the _entries array in O(1), we swap the entry to delete with the last one
            // in the array, and then remove the last entry (sometimes called as 'swap and pop').
            // This modifies the order of the array, as noted in {at}.

            uint256 toDeleteIndex = keyIndex - 1;
            uint256 lastIndex = map._entries.length - 1;

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

            MapEntry storage lastEntry = map._entries[lastIndex];

            // Move the last entry to the index where the entry to delete is
            map._entries[toDeleteIndex] = lastEntry;
            // Update the index for the moved entry
            map._indexes[lastEntry._key] = toDeleteIndex + 1; // All indexes are 1-based

            // Delete the slot where the moved entry was stored
            map._entries.pop();

            // Delete the index for the deleted slot
            delete map._indexes[key];

            return true;
        } else {
            return false;
        }
    }

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

    /**
     * @dev Returns the number of key-value pairs in the map. O(1).
     */
    function _length(Map storage map) private view returns (uint256) {
        return map._entries.length;
    }

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

        MapEntry storage entry = map._entries[index];
        return (entry._key, entry._value);
    }

    /**
     * @dev Returns the value associated with `key`.  O(1).
     *
     * Requirements:
     *
     * - `key` must be in the map.
     */
    function _get(Map storage map, bytes32 key) private view returns (bytes32) {
        return _get(map, key, "EnumerableMap: nonexistent key");
    }

    /**
     * @dev Same as {_get}, with a custom error message when `key` is not in the map.
     */
    function _get(Map storage map, bytes32 key, string memory errorMessage) private view returns (bytes32) {
        uint256 keyIndex = map._indexes[key];
        require(keyIndex != 0, errorMessage); // Equivalent to contains(map, key)
        return map._entries[keyIndex - 1]._value; // All indexes are 1-based
    }

    // UintToAddressMap

    struct UintToAddressMap {
        Map _inner;
    }

    /**
     * @dev Adds a key-value pair to a map, or updates the value for an existing
     * key. O(1).
     *
     * Returns true if the key was added to the map, that is if it was not
     * already present.
     */
    function set(UintToAddressMap storage map, uint256 key, address value) internal returns (bool) {
        return _set(map._inner, bytes32(key), bytes32(uint256(value)));
    }

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

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

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

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

    /**
     * @dev Returns the value associated with `key`.  O(1).
     *
     * Requirements:
     *
     * - `key` must be in the map.
     */
    function get(UintToAddressMap storage map, uint256 key) internal view returns (address) {
        return address(uint256(_get(map._inner, bytes32(key))));
    }

    /**
     * @dev Same as {get}, with a custom error message when `key` is not in the map.
     */
    function get(UintToAddressMap storage map, uint256 key, string memory errorMessage) internal view returns (address) {
        return address(uint256(_get(map._inner, bytes32(key), errorMessage)));
    }
}

// File: node_modules\@openzeppelin\contracts\utils\Strings.sol

pragma solidity ^0.6.0;

/**
 * @dev String operations.
 */
library Strings {
    /**
     * @dev Converts a `uint256` to its ASCII `string` 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);
        uint256 index = digits - 1;
        temp = value;
        while (temp != 0) {
            buffer[index--] = byte(uint8(48 + temp % 10));
            temp /= 10;
        }
        return string(buffer);
    }
}

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

pragma solidity ^0.6.0;












/**
 * @title ERC721 Non-Fungible Token Standard basic implementation
 * @dev see https://eips.ethereum.org/EIPS/eip-721
 */
contract ERC721 is Context, ERC165, IERC721, IERC721Metadata, IERC721Enumerable {
    using SafeMath for uint256;
    using Address for address;
    using EnumerableSet for EnumerableSet.UintSet;
    using EnumerableMap for EnumerableMap.UintToAddressMap;
    using Strings for uint256;

    // Equals to `bytes4(keccak256("onERC721Received(address,address,uint256,bytes)"))`
    // which can be also obtained as `IERC721Receiver(0).onERC721Received.selector`
    bytes4 private constant _ERC721_RECEIVED = 0x150b7a02;

    // Mapping from holder address to their (enumerable) set of owned tokens
    mapping (address => EnumerableSet.UintSet) private _holderTokens;

    // Enumerable mapping from token ids to their owners
    EnumerableMap.UintToAddressMap private _tokenOwners;

    // 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;

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

    // Optional mapping for token URIs
    mapping(uint256 => string) private _tokenURIs;

    // Base URI
    string private _baseURI;

    /*
     *     bytes4(keccak256('balanceOf(address)')) == 0x70a08231
     *     bytes4(keccak256('ownerOf(uint256)')) == 0x6352211e
     *     bytes4(keccak256('approve(address,uint256)')) == 0x095ea7b3
     *     bytes4(keccak256('getApproved(uint256)')) == 0x081812fc
     *     bytes4(keccak256('setApprovalForAll(address,bool)')) == 0xa22cb465
     *     bytes4(keccak256('isApprovedForAll(address,address)')) == 0xe985e9c5
     *     bytes4(keccak256('transferFrom(address,address,uint256)')) == 0x23b872dd
     *     bytes4(keccak256('safeTransferFrom(address,address,uint256)')) == 0x42842e0e
     *     bytes4(keccak256('safeTransferFrom(address,address,uint256,bytes)')) == 0xb88d4fde
     *
     *     => 0x70a08231 ^ 0x6352211e ^ 0x095ea7b3 ^ 0x081812fc ^
     *        0xa22cb465 ^ 0xe985e9c ^ 0x23b872dd ^ 0x42842e0e ^ 0xb88d4fde == 0x80ac58cd
     */
    bytes4 private constant _INTERFACE_ID_ERC721 = 0x80ac58cd;

    /*
     *     bytes4(keccak256('name()')) == 0x06fdde03
     *     bytes4(keccak256('symbol()')) == 0x95d89b41
     *     bytes4(keccak256('tokenURI(uint256)')) == 0xc87b56dd
     *
     *     => 0x06fdde03 ^ 0x95d89b41 ^ 0xc87b56dd == 0x5b5e139f
     */
    bytes4 private constant _INTERFACE_ID_ERC721_METADATA = 0x5b5e139f;

    /*
     *     bytes4(keccak256('totalSupply()')) == 0x18160ddd
     *     bytes4(keccak256('tokenOfOwnerByIndex(address,uint256)')) == 0x2f745c59
     *     bytes4(keccak256('tokenByIndex(uint256)')) == 0x4f6ccce7
     *
     *     => 0x18160ddd ^ 0x2f745c59 ^ 0x4f6ccce7 == 0x780e9d63
     */
    bytes4 private constant _INTERFACE_ID_ERC721_ENUMERABLE = 0x780e9d63;

    constructor (string memory name, string memory symbol) public {
        _name = name;
        _symbol = symbol;

        // register the supported interfaces to conform to ERC721 via ERC165
        _registerInterface(_INTERFACE_ID_ERC721);
        _registerInterface(_INTERFACE_ID_ERC721_METADATA);
        _registerInterface(_INTERFACE_ID_ERC721_ENUMERABLE);
    }

    /**
     * @dev Gets the balance of the specified address.
     * @param owner address to query the balance of
     * @return uint256 representing the amount owned by the passed address
     */
    function balanceOf(address owner) public view override returns (uint256) {
        require(owner != address(0), "ERC721: balance query for the zero address");

        return _holderTokens[owner].length();
    }

    /**
     * @dev Gets the owner of the specified token ID.
     * @param tokenId uint256 ID of the token to query the owner of
     * @return address currently marked as the owner of the given token ID
     */
    function ownerOf(uint256 tokenId) public view override returns (address) {
        return _tokenOwners.get(tokenId, "ERC721: owner query for nonexistent token");
    }

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

    /**
     * @dev Gets the token symbol.
     * @return string representing the token symbol
     */
    function symbol() public view override returns (string memory) {
        return _symbol;
    }

    /**
     * @dev Returns the URI for a given token ID. May return an empty string.
     *
     * If a base URI is set (via {_setBaseURI}), it is added as a prefix to the
     * token's own URI (via {_setTokenURI}).
     *
     * If there is a base URI but no token URI, the token's ID will be used as
     * its URI when appending it to the base URI. This pattern for autogenerated
     * token URIs can lead to large gas savings.
     *
     * .Examples
     * |===
     * |`_setBaseURI()` |`_setTokenURI()` |`tokenURI()`
     * | ""
     * | ""
     * | ""
     * | ""
     * | "token.uri/123"
     * | "token.uri/123"
     * | "token.uri/"
     * | "123"
     * | "token.uri/123"
     * | "token.uri/"
     * | ""
     * | "token.uri/<tokenId>"
     * |===
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function tokenURI(uint256 tokenId) public view override returns (string memory) {
        require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token");

        string memory _tokenURI = _tokenURIs[tokenId];

        // If there is no base URI, return the token URI.
        if (bytes(_baseURI).length == 0) {
            return _tokenURI;
        }
        // If both are set, concatenate the baseURI and tokenURI (via abi.encodePacked).
        if (bytes(_tokenURI).length > 0) {
            return string(abi.encodePacked(_baseURI, _tokenURI));
        }
        // If there is a baseURI but no tokenURI, concatenate the tokenID to the baseURI.
        return string(abi.encodePacked(_baseURI, tokenId.toString()));
    }

    /**
    * @dev Returns the base URI set via {_setBaseURI}. This will be
    * automatically added as a prefix in {tokenURI} to each token's URI, or
    * to the token ID if no specific URI is set for that token ID.
    */
    function baseURI() public view returns (string memory) {
        return _baseURI;
    }

    /**
     * @dev Gets the token ID at a given index of the tokens list of the requested owner.
     * @param owner address owning the tokens list to be accessed
     * @param index uint256 representing the index to be accessed of the requested tokens list
     * @return uint256 token ID at the given index of the tokens list owned by the requested address
     */
    function tokenOfOwnerByIndex(address owner, uint256 index) public view override returns (uint256) {
        return _holderTokens[owner].at(index);
    }

    /**
     * @dev Gets the total amount of tokens stored by the contract.
     * @return uint256 representing the total amount of tokens
     */
    function totalSupply() public view override returns (uint256) {
        // _tokenOwners are indexed by tokenIds, so .length() returns the number of tokenIds
        return _tokenOwners.length();
    }

    /**
     * @dev Gets the token ID at a given index of all the tokens in this contract
     * Reverts if the index is greater or equal to the total number of tokens.
     * @param index uint256 representing the index to be accessed of the tokens list
     * @return uint256 token ID at the given index of the tokens list
     */
    function tokenByIndex(uint256 index) public view override returns (uint256) {
        (uint256 tokenId, ) = _tokenOwners.at(index);
        return tokenId;
    }

    /**
     * @dev Approves another address to transfer the given token ID
     * The zero address indicates there is no approved address.
     * There can only be one approved address per token at a given time.
     * Can only be called by the token owner or an approved operator.
     * @param to address to be approved for the given token ID
     * @param tokenId uint256 ID of the token to be approved
     */
    function approve(address to, uint256 tokenId) public virtual override {
        address owner = 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 Gets the approved address for a token ID, or zero if no address set
     * Reverts if the token ID does not exist.
     * @param tokenId uint256 ID of the token to query the approval of
     * @return address currently approved for the given token ID
     */
    function getApproved(uint256 tokenId) public view override returns (address) {
        require(_exists(tokenId), "ERC721: approved query for nonexistent token");

        return _tokenApprovals[tokenId];
    }

    /**
     * @dev Sets or unsets the approval of a given operator
     * An operator is allowed to transfer all tokens of the sender on their behalf.
     * @param operator operator address to set the approval
     * @param approved representing the status of the approval to be set
     */
    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 Tells whether an operator is approved by a given owner.
     * @param owner owner address which you want to query the approval of
     * @param operator operator address which you want to query the approval of
     * @return bool whether the given operator is approved by the given owner
     */
    function isApprovedForAll(address owner, address operator) public view override returns (bool) {
        return _operatorApprovals[owner][operator];
    }

    /**
     * @dev Transfers the ownership of a given token ID to another address.
     * Usage of this method is discouraged, use {safeTransferFrom} whenever possible.
     * Requires the msg.sender to be the owner, approved, or operator.
     * @param from current owner of the token
     * @param to address to receive the ownership of the given token ID
     * @param tokenId uint256 ID of the token to be transferred
     */
    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 Safely transfers the ownership of a given token ID to another address
     * If the target address is a contract, it must implement {IERC721Receiver-onERC721Received},
     * which is called upon a safe transfer, and return the magic value
     * `bytes4(keccak256("onERC721Received(address,address,uint256,bytes)"))`; otherwise,
     * the transfer is reverted.
     * Requires the msg.sender to be the owner, approved, or operator
     * @param from current owner of the token
     * @param to address to receive the ownership of the given token ID
     * @param tokenId uint256 ID of the token to be transferred
     */
    function safeTransferFrom(address from, address to, uint256 tokenId) public virtual override {
        safeTransferFrom(from, to, tokenId, "");
    }

    /**
     * @dev Safely transfers the ownership of a given token ID to another address
     * If the target address is a contract, it must implement {IERC721Receiver-onERC721Received},
     * which is called upon a safe transfer, and return the magic value
     * `bytes4(keccak256("onERC721Received(address,address,uint256,bytes)"))`; otherwise,
     * the transfer is reverted.
     * Requires the _msgSender() to be the owner, approved, or operator
     * @param from current owner of the token
     * @param to address to receive the ownership of the given token ID
     * @param tokenId uint256 ID of the token to be transferred
     * @param _data bytes data to send along with a safe transfer check
     */
    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 the ownership of a given token ID to another address
     * If the target address is a contract, it must implement `onERC721Received`,
     * which is called upon a safe transfer, and return the magic value
     * `bytes4(keccak256("onERC721Received(address,address,uint256,bytes)"))`; otherwise,
     * the transfer is reverted.
     * Requires the msg.sender to be the owner, approved, or operator
     * @param from current owner of the token
     * @param to address to receive the ownership of the given token ID
     * @param tokenId uint256 ID of the token to be transferred
     * @param _data bytes data to send along with a safe transfer check
     */
    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 the specified token exists.
     * @param tokenId uint256 ID of the token to query the existence of
     * @return bool whether the token exists
     */
    function _exists(uint256 tokenId) internal view returns (bool) {
        return _tokenOwners.contains(tokenId);
    }

    /**
     * @dev Returns whether the given spender can transfer a given token ID.
     * @param spender address of the spender to query
     * @param tokenId uint256 ID of the token to be transferred
     * @return bool whether the msg.sender is approved for the given token ID,
     * is an operator of the owner, or is the owner of the token
     */
    function _isApprovedOrOwner(address spender, uint256 tokenId) internal view returns (bool) {
        require(_exists(tokenId), "ERC721: operator query for nonexistent token");
        address owner = ownerOf(tokenId);
        return (spender == owner || getApproved(tokenId) == spender || isApprovedForAll(owner, spender));
    }

    /**
     * @dev Internal function to safely mint a new token.
     * Reverts if the given token ID already exists.
     * If the target address is a contract, it must implement `onERC721Received`,
     * which is called upon a safe transfer, and return the magic value
     * `bytes4(keccak256("onERC721Received(address,address,uint256,bytes)"))`; otherwise,
     * the transfer is reverted.
     * @param to The address that will own the minted token
     * @param tokenId uint256 ID of the token to be minted
     */
    function _safeMint(address to, uint256 tokenId) internal virtual {
        _safeMint(to, tokenId, "");
    }

    /**
     * @dev Internal function to safely mint a new token.
     * Reverts if the given token ID already exists.
     * If the target address is a contract, it must implement `onERC721Received`,
     * which is called upon a safe transfer, and return the magic value
     * `bytes4(keccak256("onERC721Received(address,address,uint256,bytes)"))`; otherwise,
     * the transfer is reverted.
     * @param to The address that will own the minted token
     * @param tokenId uint256 ID of the token to be minted
     * @param _data bytes data to send along with a safe transfer check
     */
    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 Internal function to mint a new token.
     * Reverts if the given token ID already exists.
     * @param to The address that will own the minted token
     * @param tokenId uint256 ID of the token to be minted
     */
    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);

        _holderTokens[to].add(tokenId);

        _tokenOwners.set(tokenId, to);

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

    /**
     * @dev Internal function to burn a specific token.
     * Reverts if the token does not exist.
     * @param tokenId uint256 ID of the token being burned
     */
    function _burn(uint256 tokenId) internal virtual {
        address owner = ownerOf(tokenId);

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

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

        // Clear metadata (if any)
        if (bytes(_tokenURIs[tokenId]).length != 0) {
            delete _tokenURIs[tokenId];
        }

        _holderTokens[owner].remove(tokenId);

        _tokenOwners.remove(tokenId);

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

    /**
     * @dev Internal function to transfer ownership of a given token ID to another address.
     * As opposed to {transferFrom}, this imposes no restrictions on msg.sender.
     * @param from current owner of the token
     * @param to address to receive the ownership of the given token ID
     * @param tokenId uint256 ID of the token to be transferred
     */
    function _transfer(address from, address to, uint256 tokenId) internal virtual {
        require(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);

        _holderTokens[from].remove(tokenId);
        _holderTokens[to].add(tokenId);

        _tokenOwners.set(tokenId, to);

        emit Transfer(from, to, tokenId);
    }

    /**
     * @dev Internal function to set the token URI for a given token.
     *
     * Reverts if the token ID does not exist.
     *
     * TIP: If all token IDs share a prefix (for example, if your URIs look like
     * `https://api.myproject.com/token/<id>`), use {_setBaseURI} to store
     * it and save gas.
     */
    function _setTokenURI(uint256 tokenId, string memory _tokenURI) internal virtual {
        require(_exists(tokenId), "ERC721Metadata: URI set of nonexistent token");
        _tokenURIs[tokenId] = _tokenURI;
    }

    /**
     * @dev Internal function to set the base URI for all token IDs. It is
     * automatically added as a prefix to the value returned in {tokenURI},
     * or to the token ID if {tokenURI} is empty.
     */
    function _setBaseURI(string memory baseURI_) internal virtual {
        _baseURI = baseURI_;
    }

    /**
     * @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()) {
            return true;
        }
        // solhint-disable-next-line avoid-low-level-calls
        (bool success, bytes memory returndata) = to.call(abi.encodeWithSelector(
            IERC721Receiver(to).onERC721Received.selector,
            _msgSender(),
            from,
            tokenId,
            _data
        ));
        if (!success) {
            if (returndata.length > 0) {
                // solhint-disable-next-line no-inline-assembly
                assembly {
                    let returndata_size := mload(returndata)
                    revert(add(32, returndata), returndata_size)
                }
            } else {
                revert("ERC721: transfer to non ERC721Receiver implementer");
            }
        } else {
            bytes4 retval = abi.decode(returndata, (bytes4));
            return (retval == _ERC721_RECEIVED);
        }
    }

    function _approve(address to, uint256 tokenId) private {
        _tokenApprovals[tokenId] = to;
        emit Approval(ownerOf(tokenId), to, tokenId);
    }

    /**
     * @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: @openzeppelin\contracts\utils\Counters.sol

pragma solidity ^0.6.0;


/**
 * @title Counters
 * @author Matt Condon (@shrugs)
 * @dev Provides counters that can only be incremented or decremented by one. 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;`
 * Since it is not possible to overflow a 256 bit integer with increments of one, `increment` can skip the {SafeMath}
 * overflow check, thereby saving gas. This does assume however correct usage, in that the underlying `_value` is never
 * directly accessed.
 */
library Counters {
    using SafeMath for uint256;

    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 {
        // The {SafeMath} overflow check can be skipped here, see the comment at the top
        counter._value += 1;
    }

    function decrement(Counter storage counter) internal {
        counter._value = counter._value.sub(1);
    }
}

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

pragma solidity ^0.6.0;

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

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

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

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

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

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

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

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

pragma solidity ^0.6.0;

/**
 * @dev Wrappers over Solidity's arithmetic operations with added overflow
 * checks.
 *
 * Arithmetic operations in Solidity wrap on overflow. This can easily result
 * in bugs, because programmers usually assume that an overflow raises an
 * error, which is the standard behavior in high level programming languages.
 * `SafeMath` restores this intuition by reverting the transaction when an
 * operation overflows.
 *
 * Using this library instead of the unchecked operations eliminates an entire
 * class of bugs, so it's recommended to use it always.
 */
library SafeMath {
    /**
     * @dev Returns the addition of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `+` operator.
     *
     * Requirements:
     * - Addition cannot overflow.
     */
    function add(uint256 a, uint256 b) internal pure returns (uint256) {
        uint256 c = a + b;
        require(c >= a, "SafeMath: addition overflow");

        return c;
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting on
     * overflow (when the result is negative).
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     * - Subtraction cannot overflow.
     */
    function sub(uint256 a, uint256 b) internal pure returns (uint256) {
        return sub(a, b, "SafeMath: subtraction overflow");
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting with custom message on
     * overflow (when the result is negative).
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     * - Subtraction cannot overflow.
     */
    function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        require(b <= a, errorMessage);
        uint256 c = a - b;

        return c;
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `*` operator.
     *
     * Requirements:
     * - Multiplication cannot overflow.
     */
    function mul(uint256 a, uint256 b) internal pure returns (uint256) {
        // Gas optimization: this is cheaper than requiring 'a' not being zero, but the
        // benefit is lost if 'b' is also tested.
        // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522
        if (a == 0) {
            return 0;
        }

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

        return c;
    }

    /**
     * @dev Returns the integer division of two unsigned integers. Reverts on
     * division by zero. The result is rounded towards zero.
     *
     * Counterpart to Solidity's `/` operator. Note: this function uses a
     * `revert` opcode (which leaves remaining gas untouched) while Solidity
     * uses an invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     * - The divisor cannot be zero.
     */
    function div(uint256 a, uint256 b) internal pure returns (uint256) {
        return div(a, b, "SafeMath: division by zero");
    }

    /**
     * @dev Returns the integer division of two unsigned integers. Reverts with custom message on
     * division by zero. The result is rounded towards zero.
     *
     * Counterpart to Solidity's `/` operator. Note: this function uses a
     * `revert` opcode (which leaves remaining gas untouched) while Solidity
     * uses an invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     * - The divisor cannot be zero.
     */
    function div(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        // Solidity only automatically asserts when dividing by 0
        require(b > 0, errorMessage);
        uint256 c = a / b;
        // assert(a == b * c + a % b); // There is no case in which this doesn't hold

        return c;
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * Reverts when dividing by zero.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     * - The divisor cannot be zero.
     */
    function mod(uint256 a, uint256 b) internal pure returns (uint256) {
        return mod(a, b, "SafeMath: modulo by zero");
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * Reverts with custom message when dividing by zero.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     * - The divisor cannot be zero.
     */
    function mod(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        require(b != 0, errorMessage);
        return a % b;
    }
}

// File: contracts\CryptoKings.sol

// SPDX-License-Identifier: MIT
// Contract written by Wizard
pragma solidity ^0.6.0;





contract CryptoKings is ERC721, Ownable {
    using Counters for Counters.Counter;
    using SafeMath for uint256;
    Counters.Counter private _tokenIds;
    constructor() public ERC721("CryptoKings", "CKS") {}
    mapping(uint256 => string) public nftNames; // Holds the names the NFTs currently have
    mapping(string => bool) public usedNames; // Holds which names are currently occupied
    uint256 public deployedBlock = block.number; // The block this contract was deployed on
    uint256 public expireSaleAfterBlocks = 137460; // 21 days;
    uint256 public maxNfts = 5000; // The maximum amount of NFTs is 5000
    uint256 public lastKnownPrice = 0.05 ether; // In case we dont sell out within 21 days we sell at the last known price
    uint256 public saleEndedBlock; // The block when the sale ends when NFTs were minted
    uint256 public saleStartBlock = 12085300; // This is the block where people are allowed to purchase nfts
    bool public saleEnded = false;
    
    // Allows contract owner to change the start block if needed
    function setSaleStartBlock (uint256 _block) public onlyOwner {
        require(_block > 0, "We can't set the block to the genesis block");
        saleStartBlock = _block;
    } 
    
    // Allows contract owner to change the expiry block if needed
    function setSaleExpiryBlock (uint256 _block) public onlyOwner {
        require(_block > 0, "We can't set the block to the genesis block");
        expireSaleAfterBlocks = _block;
    }
    
    // Returns the price of one specific tokenId;
    function getNFTPrice(uint256 tokenId) public view returns(uint256){
        require(tokenId <= maxNfts, "There are not more than 5000 NFTs");
        require(tokenId > 0, "NFT TokenIds start from 1");
        
        // If the current block height is higher than the deployedBlock + 21 days
        // we allow the rest of the NFTs to be sold at the lastKnownPrice
        if(block.number >= (saleStartBlock.add(expireSaleAfterBlocks))){
            return lastKnownPrice;
        }
        
        if (tokenId >= 1 && tokenId <= 1400) {
            return 0.05 ether;
        }
        if (tokenId >= 1401 && tokenId <= 2600) {
           return 0.075 ether; 
        }
        if (tokenId >= 2601 && tokenId <= 3400) {
            return 0.1 ether;
        }
        if (tokenId >= 3401 && tokenId <= 4100) {
            return 0.2 ether;
        }
        if (tokenId >= 4101 && tokenId <= 4600) {
            return 0.3 ether;
        }
        if (tokenId >= 4601 && tokenId <= 4850) {
            return 0.4 ether;
        }
        if (tokenId >= 4851 && tokenId <= 4950) {
            return 0.5 ether;
        }
        if (tokenId >= 4951 && tokenId <= 5000) {
            return 1 ether;
        }
    }
    
    // Allows contract owner to update the MetaData URI for a tokenId
    function updateNFTMeta(uint256 tokenId, string memory tokenURI) public onlyOwner {
        _setTokenURI(tokenId, tokenURI);
    }
    
    function setNFTName(uint256 tokenId, string memory name) public {
        require(ownerOf(tokenId) == msg.sender, "You cant change someone elses NFT name");
        require(validName(name) == true, "Please, set an unused name for your NFT");
        string memory currentName = nftNames[tokenId];
        usedNames[currentName] = false;
        usedNames[name] = true;
        nftNames[tokenId] = name;
    }
    
    // Allows one single NFT to be purchased
    function purchaseNFT(uint256 tokenId) private {
        // Transfer the NFT to the purchasing user
        _tokenIds.increment();
        uint256 newItemId = _tokenIds.current();
        // all NFTs are owned by the contract when they are minted
        _mint(msg.sender, newItemId);
        string memory curUri =  string(abi.encodePacked("https://api.cryptokings.art/nft/", uint2str(tokenId)));
        _setTokenURI(tokenId,curUri);
    }

    // Returns the total sum owed to the contract to the user in order to purchase NFTs
    function getNFTPriceSum(uint256 amount) public view returns (uint256){
        uint256 price = 0;
        uint256 priceIndex = totalSupply().add(1);
        for(uint i = 1 ; i <= amount; i++) {
            price = price.add(getNFTPrice(priceIndex));
            priceIndex = priceIndex.add(1);
        }
        
        return price;
    }
    
    // Allows the users to purchase NFTs at a limit of 10 at once.
    function purchaseNFTs(uint256 amount) payable public {
        require(block.number >= saleStartBlock, "Sale has not started yet");
        require(saleEnded == false, "Sale has ended already");
        require(amount > 0, "Purchase at least one NFT");
        require(amount <= 10, "You can't purchase more than 10 NFTs at once");
        require((totalSupply().add(amount)) <= maxNfts, "There are only 5000 NFTs for sale");
        require(msg.value == getNFTPriceSum(amount), "At least pay the amount that is being asked for");
        for (uint i=1; i<= amount; i++) {
           purchaseNFT(totalSupply().add(1));
        }
        
        
        lastKnownPrice = getNFTPrice(totalSupply());
        if(totalSupply() == maxNfts){
            saleEnded = true;
            saleEndedBlock = block.number;
        }
    }

    // Allows contract owner to withdraw the Ether the contract owns
    function withdrawEther() onlyOwner public {
        uint balance = address(this).balance;
        msg.sender.transfer(balance);
    }
    
    // Displays the amount of ether the contract currently holds
    function ownedEther() public view returns(uint256){
        return address(this).balance;
    }
    
    // Returns the current status of the sale, PENDING STARTED or ENDED.
    function getSaleStatus() public view returns(string memory){
        if(block.number < saleStartBlock){
            return 'SALE_PENDING';
        }
        if(block.number >= saleStartBlock && saleEnded == false){
            return 'SALE_STARTED';
        }
        if(saleEnded == true){
            return 'SALE_ENDED';
        }
    }
    
    // Returns to the user wether a name is valid or not
    function validName(string memory str) public view returns (bool){
        bytes memory b = bytes(str);
        if(b.length < 1) return false;
        if(b.length > 30) return false;
        if(b[0] == 0x20) return false;
        if (b[b.length - 1] == 0x20) return false;

        bytes1 lastChar = b[0];

        for(uint i; i<b.length; i++){
            bytes1 char = b[i];

            if (char == 0x20 && lastChar == 0x20) return false;
            if(
                !(char >= 0x30 && char <= 0x39) && //9-0
                !(char >= 0x41 && char <= 0x5A) && //A-Z
                !(char >= 0x61 && char <= 0x7A) && //a-z
                !(char == 0x20) //space
            )
                return false;

            lastChar = char;
        }
        
        if(usedNames[str] == true){
            return false; // if the nft name is already used then its not a valid name anymore
        }

        return true;
    }
    
    // Allows a UINT to be converted to string;
    function uint2str(uint _i) private pure returns (string memory _uintAsString) {
        if (_i == 0) {
            return "0";
        }
        uint j = _i;
        uint len;
        while (j != 0) {
            len++;
            j /= 10;
        }
        bytes memory bstr = new bytes(len);
        uint k = len;
        while (_i != 0) {
            k = k-1;
            uint8 temp = (48 + uint8(_i - _i / 10 * 10));
            bytes1 b1 = bytes1(temp);
            bstr[k] = b1;
            _i /= 10;
        }
        return string(bstr);
    }
}

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"deployedBlock","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"expireSaleAfterBlocks","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getNFTPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"getNFTPriceSum","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getSaleStatus","outputs":[{"internalType":"string","name":"","type":"string"}],"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":"lastKnownPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxNfts","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"nftNames","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"ownedEther","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"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":"purchaseNFTs","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"saleEnded","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"saleEndedBlock","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"saleStartBlock","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":"uint256","name":"tokenId","type":"uint256"},{"internalType":"string","name":"name","type":"string"}],"name":"setNFTName","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_block","type":"uint256"}],"name":"setSaleExpiryBlock","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_block","type":"uint256"}],"name":"setSaleStartBlock","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":"uint256","name":"tokenId","type":"uint256"},{"internalType":"string","name":"tokenURI","type":"string"}],"name":"updateNFTMeta","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"","type":"string"}],"name":"usedNames","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"string","name":"str","type":"string"}],"name":"validName","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdrawEther","outputs":[],"stateMutability":"nonpayable","type":"function"}]

608060405243600e55620218f4600f5561138860105566b1a2bc2ec5000060115562b868346013556000601460006101000a81548160ff0219169083151502179055503480156200004f57600080fd5b506040518060400160405280600b81526020017f43727970746f4b696e67730000000000000000000000000000000000000000008152506040518060400160405280600381526020017f434b530000000000000000000000000000000000000000000000000000000000815250620000d46301ffc9a760e01b6200020760201b60201c565b8160069080519060200190620000ec92919062000318565b5080600790805190602001906200010592919062000318565b506200011e6380ac58cd60e01b6200020760201b60201c565b62000136635b5e139f60e01b6200020760201b60201c565b6200014e63780e9d6360e01b6200020760201b60201c565b50506000620001626200031060201b60201c565b905080600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508073ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a350620003be565b63ffffffff60e01b817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161415620002a4576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601c8152602001807f4552433136353a20696e76616c696420696e746572666163652069640000000081525060200191505060405180910390fd5b6001600080837bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19167bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916815260200190815260200160002060006101000a81548160ff02191690831515021790555050565b600033905090565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106200035b57805160ff19168380011785556200038c565b828001600101855582156200038c579182015b828111156200038b5782518255916020019190600101906200036e565b5b5090506200039b91906200039f565b5090565b5b80821115620003ba576000816000905550600101620003a0565b5090565b614d9b80620003ce6000396000f3fe60806040526004361061023b5760003560e01c80637a921a1a1161012e578063a22cb465116100ab578063d0403f331161006f578063d0403f3314610fcc578063df6e991114610ff7578063e985e9c5146110c9578063ebcae89814611150578063f2fde38b146112225761023b565b8063a22cb46514610c9d578063b7873ff314610cfa578063b85b99c914610d28578063b88d4fde14610e06578063c87b56dd14610f185761023b565b806392976179116100f25780639297617914610b2b57806393f344c114610b7a57806395d89b4114610ba55780639b8906ae14610c355780639ceeb71c14610c625761023b565b80637a921a1a1461089d57806382ea7bfe1461097b57806385e5fc6b146109a65780638c3c4b3414610a5a5780638da5cb5b14610aea5761023b565b806342842e0e116101bc5780636352211e116101805780636352211e146107155780636c0360eb1461077a57806370a082311461080a578063715018a61461086f5780637362377b146108865761023b565b806342842e0e146105a65780634cab786f146106215780634f6ccce71461064c57806353168b161461069b5780635532ed12146106ea5761023b565b80631e6e6d5e116102035780631e6e6d5e1461042b5780631f8eddae14610456578063200272751461049157806323b872dd146104bc5780632f745c59146105375761023b565b806301ffc9a71461024057806306fdde03146102b0578063081812fc14610340578063095ea7b3146103a557806318160ddd14610400575b600080fd5b34801561024c57600080fd5b506102986004803603602081101561026357600080fd5b8101908080357bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19169060200190929190505050611273565b60405180821515815260200191505060405180910390f35b3480156102bc57600080fd5b506102c56112da565b6040518080602001828103825283818151815260200191508051906020019080838360005b838110156103055780820151818401526020810190506102ea565b50505050905090810190601f1680156103325780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34801561034c57600080fd5b506103796004803603602081101561036357600080fd5b810190808035906020019092919050505061137c565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b3480156103b157600080fd5b506103fe600480360360408110156103c857600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050611417565b005b34801561040c57600080fd5b5061041561155b565b6040518082815260200191505060405180910390f35b34801561043757600080fd5b5061044061156c565b6040518082815260200191505060405180910390f35b34801561046257600080fd5b5061048f6004803603602081101561047957600080fd5b8101908080359060200190929190505050611572565b005b34801561049d57600080fd5b506104a661169f565b6040518082815260200191505060405180910390f35b3480156104c857600080fd5b50610535600480360360608110156104df57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803590602001909291905050506116a5565b005b34801561054357600080fd5b506105906004803603604081101561055a57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291908035906020019092919050505061171b565b6040518082815260200191505060405180910390f35b3480156105b257600080fd5b5061061f600480360360608110156105c957600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050611776565b005b34801561062d57600080fd5b50610636611796565b6040518082815260200191505060405180910390f35b34801561065857600080fd5b506106856004803603602081101561066f57600080fd5b810190808035906020019092919050505061179c565b6040518082815260200191505060405180910390f35b3480156106a757600080fd5b506106d4600480360360208110156106be57600080fd5b81019080803590602001909291905050506117bf565b6040518082815260200191505060405180910390f35b3480156106f657600080fd5b506106ff61183e565b6040518082815260200191505060405180910390f35b34801561072157600080fd5b5061074e6004803603602081101561073857600080fd5b8101908080359060200190929190505050611846565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b34801561078657600080fd5b5061078f61187d565b6040518080602001828103825283818151815260200191508051906020019080838360005b838110156107cf5780820151818401526020810190506107b4565b50505050905090810190601f1680156107fc5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34801561081657600080fd5b506108596004803603602081101561082d57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919050505061191f565b6040518082815260200191505060405180910390f35b34801561087b57600080fd5b506108846119f4565b005b34801561089257600080fd5b5061089b611b7f565b005b3480156108a957600080fd5b50610963600480360360208110156108c057600080fd5b81019080803590602001906401000000008111156108dd57600080fd5b8201836020820111156108ef57600080fd5b8035906020019184600183028401116401000000008311171561091157600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f820116905080830192505050505050509192919290505050611c98565b60405180821515815260200191505060405180910390f35b34801561098757600080fd5b5061099061202e565b6040518082815260200191505060405180910390f35b3480156109b257600080fd5b506109df600480360360208110156109c957600080fd5b8101908080359060200190929190505050612034565b6040518080602001828103825283818151815260200191508051906020019080838360005b83811015610a1f578082015181840152602081019050610a04565b50505050905090810190601f168015610a4c5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b348015610a6657600080fd5b50610a6f6120e4565b6040518080602001828103825283818151815260200191508051906020019080838360005b83811015610aaf578082015181840152602081019050610a94565b50505050905090810190601f168015610adc5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b348015610af657600080fd5b50610aff6121f1565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b348015610b3757600080fd5b50610b6460048036036020811015610b4e57600080fd5b810190808035906020019092919050505061221b565b6040518082815260200191505060405180910390f35b348015610b8657600080fd5b50610b8f612461565b6040518082815260200191505060405180910390f35b348015610bb157600080fd5b50610bba612467565b6040518080602001828103825283818151815260200191508051906020019080838360005b83811015610bfa578082015181840152602081019050610bdf565b50505050905090810190601f168015610c275780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b348015610c4157600080fd5b50610c4a612509565b60405180821515815260200191505060405180910390f35b348015610c6e57600080fd5b50610c9b60048036036020811015610c8557600080fd5b810190808035906020019092919050505061251c565b005b348015610ca957600080fd5b50610cf860048036036040811015610cc057600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803515159060200190929190505050612649565b005b610d2660048036036020811015610d1057600080fd5b81019080803590602001909291905050506127ff565b005b348015610d3457600080fd5b50610dee60048036036020811015610d4b57600080fd5b8101908080359060200190640100000000811115610d6857600080fd5b820183602082011115610d7a57600080fd5b80359060200191846001830284011164010000000083111715610d9c57600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f820116905080830192505050505050509192919290505050612b30565b60405180821515815260200191505060405180910390f35b348015610e1257600080fd5b50610f1660048036036080811015610e2957600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803573ffffffffffffffffffffffffffffffffffffffff1690602001909291908035906020019092919080359060200190640100000000811115610e9057600080fd5b820183602082011115610ea257600080fd5b80359060200191846001830284011164010000000083111715610ec457600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f820116905080830192505050505050509192919290505050612b66565b005b348015610f2457600080fd5b50610f5160048036036020811015610f3b57600080fd5b8101908080359060200190929190505050612bde565b6040518080602001828103825283818151815260200191508051906020019080838360005b83811015610f91578082015181840152602081019050610f76565b50505050905090810190601f168015610fbe5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b348015610fd857600080fd5b50610fe1612ec7565b6040518082815260200191505060405180910390f35b34801561100357600080fd5b506110c76004803603604081101561101a57600080fd5b81019080803590602001909291908035906020019064010000000081111561104157600080fd5b82018360208201111561105357600080fd5b8035906020019184600183028401116401000000008311171561107557600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f820116905080830192505050505050509192919290505050612ecd565b005b3480156110d557600080fd5b50611138600480360360408110156110ec57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803573ffffffffffffffffffffffffffffffffffffffff16906020019092919050505061319f565b60405180821515815260200191505060405180910390f35b34801561115c57600080fd5b506112206004803603604081101561117357600080fd5b81019080803590602001909291908035906020019064010000000081111561119a57600080fd5b8201836020820111156111ac57600080fd5b803590602001918460018302840111640100000000831117156111ce57600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f820116905080830192505050505050509192919290505050613233565b005b34801561122e57600080fd5b506112716004803603602081101561124557600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919050505061330b565b005b6000806000837bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19167bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916815260200190815260200160002060009054906101000a900460ff169050919050565b606060068054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156113725780601f1061134757610100808354040283529160200191611372565b820191906000526020600020905b81548152906001019060200180831161135557829003601f168201915b5050505050905090565b60006113878261351b565b6113dc576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602c815260200180614bc5602c913960400191505060405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b600061142282611846565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156114a9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526021815260200180614c966021913960400191505060405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff166114c8613538565b73ffffffffffffffffffffffffffffffffffffffff1614806114f757506114f6816114f1613538565b61319f565b5b61154c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526038815260200180614b186038913960400191505060405180910390fd5b6115568383613540565b505050565b600061156760026135f9565b905090565b60125481565b61157a613538565b73ffffffffffffffffffffffffffffffffffffffff16600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161461163c576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b60008111611695576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602b815260200180614cb7602b913960400191505060405180910390fd5b80600f8190555050565b60135481565b6116b66116b0613538565b8261360e565b61170b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526031815260200180614ce26031913960400191505060405180910390fd5b611716838383613702565b505050565b600061176e82600160008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002061394590919063ffffffff16565b905092915050565b61179183838360405180602001604052806000815250612b66565b505050565b60115481565b6000806117b383600261395f90919063ffffffff16565b50905080915050919050565b6000806000905060006117e360016117d561155b565b61398b90919063ffffffff16565b90506000600190505b8481116118335761180e6117ff8361221b565b8461398b90919063ffffffff16565b925061182460018361398b90919063ffffffff16565b915080806001019150506117ec565b508192505050919050565b600047905090565b600061187682604051806060016040528060298152602001614b7a602991396002613a139092919063ffffffff16565b9050919050565b606060098054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156119155780601f106118ea57610100808354040283529160200191611915565b820191906000526020600020905b8154815290600101906020018083116118f857829003601f168201915b5050505050905090565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156119a6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602a815260200180614b50602a913960400191505060405180910390fd5b6119ed600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020613a32565b9050919050565b6119fc613538565b73ffffffffffffffffffffffffffffffffffffffff16600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614611abe576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff16600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a36000600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550565b611b87613538565b73ffffffffffffffffffffffffffffffffffffffff16600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614611c49576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b60004790503373ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f19350505050158015611c94573d6000803e3d6000fd5b5050565b60006060829050600181511015611cb3576000915050612029565b601e81511115611cc7576000915050612029565b602060f81b81600081518110611cd957fe5b602001015160f81c60f81b7effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161415611d16576000915050612029565b602060f81b81600183510381518110611d2b57fe5b602001015160f81c60f81b7effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161415611d68576000915050612029565b600081600081518110611d7757fe5b602001015160f81c60f81b905060005b8251811015611f93576000838281518110611d9e57fe5b602001015160f81c60f81b9050602060f81b817effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148015611e055750602060f81b837effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b15611e17576000945050505050612029565b603060f81b817effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff191610158015611e735750603960f81b817effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff191611155b158015611ed95750604160f81b817effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff191610158015611ed75750605a60f81b817effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff191611155b155b8015611f3e5750606160f81b817effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff191610158015611f3c5750607a60f81b817effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff191611155b155b8015611f705750602060f81b817effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614155b15611f82576000945050505050612029565b809250508080600101915050611d87565b5060011515600d856040518082805190602001908083835b60208310611fce5780518252602082019150602081019050602083039250611fab565b6001836020036101000a038019825116818451168082178552505050505050905001915050908152602001604051809103902060009054906101000a900460ff161515141561202257600092505050612029565b6001925050505b919050565b600e5481565b600c6020528060005260406000206000915090508054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156120dc5780601f106120b1576101008083540402835291602001916120dc565b820191906000526020600020905b8154815290600101906020018083116120bf57829003601f168201915b505050505081565b606060135443101561212d576040518060400160405280600c81526020017f53414c455f50454e44494e47000000000000000000000000000000000000000081525090506121ee565b6013544310158015612152575060001515601460009054906101000a900460ff161515145b15612194576040518060400160405280600c81526020017f53414c455f53544152544544000000000000000000000000000000000000000081525090506121ee565b60011515601460009054906101000a900460ff16151514156121ed576040518060400160405280600a81526020017f53414c455f454e4445440000000000000000000000000000000000000000000081525090506121ee565b5b90565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6000601054821115612278576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260218152602001806149fa6021913960400191505060405180910390fd5b600082116122ee576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260198152602001807f4e465420546f6b656e4964732073746172742066726f6d20310000000000000081525060200191505060405180910390fd5b612305600f5460135461398b90919063ffffffff16565b431061231557601154905061245c565b6001821015801561232857506105788211155b1561233c5766b1a2bc2ec50000905061245c565b61057982101580156123505750610a288211155b156123655767010a741a46278000905061245c565b610a2982101580156123795750610d488211155b1561238e5767016345785d8a0000905061245c565b610d4982101580156123a257506110048211155b156123b7576702c68af0bb140000905061245c565b61100582101580156123cb57506111f88211155b156123e057670429d069189e0000905061245c565b6111f982101580156123f457506112f28211155b156124095767058d15e176280000905061245c565b6112f3821015801561241d57506113568211155b15612432576706f05b59d3b20000905061245c565b611357821015801561244657506113888211155b1561245b57670de0b6b3a7640000905061245c565b5b919050565b60105481565b606060078054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156124ff5780601f106124d4576101008083540402835291602001916124ff565b820191906000526020600020905b8154815290600101906020018083116124e257829003601f168201915b5050505050905090565b601460009054906101000a900460ff1681565b612524613538565b73ffffffffffffffffffffffffffffffffffffffff16600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16146125e6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b6000811161263f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602b815260200180614cb7602b913960400191505060405180910390fd5b8060138190555050565b612651613538565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156126f2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260198152602001807f4552433732313a20617070726f766520746f2063616c6c65720000000000000081525060200191505060405180910390fd5b80600560006126ff613538565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff166127ac613538565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405180821515815260200191505060405180910390a35050565b601354431015612877576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260188152602001807f53616c6520686173206e6f74207374617274656420796574000000000000000081525060200191505060405180910390fd5b60001515601460009054906101000a900460ff16151514612900576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260168152602001807f53616c652068617320656e64656420616c72656164790000000000000000000081525060200191505060405180910390fd5b60008111612976576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260198152602001807f5075726368617365206174206c65617374206f6e65204e46540000000000000081525060200191505060405180910390fd5b600a8111156129d0576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602c815260200180614d13602c913960400191505060405180910390fd5b6010546129ed826129df61155b565b61398b90919063ffffffff16565b1115612a44576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526021815260200180614c756021913960400191505060405180910390fd5b612a4d816117bf565b3414612aa4576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602f815260200180614ae9602f913960400191505060405180910390fd5b6000600190505b818111612ae257612ad5612ad06001612ac261155b565b61398b90919063ffffffff16565b613a47565b8080600101915050612aab565b50612af3612aee61155b565b61221b565b601181905550601054612b0461155b565b1415612b2d576001601460006101000a81548160ff021916908315150217905550436012819055505b50565b600d818051602081018201805184825260208301602085012081835280955050505050506000915054906101000a900460ff1681565b612b77612b71613538565b8361360e565b612bcc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526031815260200180614ce26031913960400191505060405180910390fd5b612bd884848484613b17565b50505050565b6060612be98261351b565b612c3e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602f815260200180614c46602f913960400191505060405180910390fd5b6060600860008481526020019081526020016000208054600181600116156101000203166002900480601f016020809104026020016040519081016040528092919081815260200182805460018160011615610100020316600290048015612ce75780601f10612cbc57610100808354040283529160200191612ce7565b820191906000526020600020905b815481529060010190602001808311612cca57829003601f168201915b50505050509050600060098054600181600116156101000203166002900490501415612d165780915050612ec2565b600081511115612def576009816040516020018083805460018160011615610100020316600290048015612d815780601f10612d5f576101008083540402835291820191612d81565b820191906000526020600020905b815481529060010190602001808311612d6d575b505082805190602001908083835b60208310612db25780518252602082019150602081019050602083039250612d8f565b6001836020036101000a03801982511681845116808217855250505050505090500192505050604051602081830303815290604052915050612ec2565b6009612dfa84613b89565b6040516020018083805460018160011615610100020316600290048015612e585780601f10612e36576101008083540402835291820191612e58565b820191906000526020600020905b815481529060010190602001808311612e44575b505082805190602001908083835b60208310612e895780518252602082019150602081019050602083039250612e66565b6001836020036101000a038019825116818451168082178552505050505050905001925050506040516020818303038152906040529150505b919050565b600f5481565b3373ffffffffffffffffffffffffffffffffffffffff16612eed83611846565b73ffffffffffffffffffffffffffffffffffffffff1614612f59576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526026815260200180614a1b6026913960400191505060405180910390fd5b60011515612f6682611c98565b151514612fbe576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526027815260200180614d3f6027913960400191505060405180910390fd5b6060600c60008481526020019081526020016000208054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156130675780601f1061303c57610100808354040283529160200191613067565b820191906000526020600020905b81548152906001019060200180831161304a57829003601f168201915b505050505090506000600d826040518082805190602001908083835b602083106130a65780518252602082019150602081019050602083039250613083565b6001836020036101000a038019825116818451168082178552505050505050905001915050908152602001604051809103902060006101000a81548160ff0219169083151502179055506001600d836040518082805190602001908083835b602083106131285780518252602082019150602081019050602083039250613105565b6001836020036101000a038019825116818451168082178552505050505050905001915050908152602001604051809103902060006101000a81548160ff02191690831515021790555081600c6000858152602001908152602001600020908051906020019061319992919061493a565b50505050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b61323b613538565b73ffffffffffffffffffffffffffffffffffffffff16600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16146132fd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b6133078282613cd0565b5050565b613313613538565b73ffffffffffffffffffffffffffffffffffffffff16600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16146133d5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561345b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526026815260200180614a736026913960400191505060405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a380600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6000613531826002613d5a90919063ffffffff16565b9050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff166135b383611846565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600061360782600001613d74565b9050919050565b60006136198261351b565b61366e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602c815260200180614abd602c913960400191505060405180910390fd5b600061367983611846565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614806136e857508373ffffffffffffffffffffffffffffffffffffffff166136d08461137c565b73ffffffffffffffffffffffffffffffffffffffff16145b806136f957506136f8818561319f565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff1661372282611846565b73ffffffffffffffffffffffffffffffffffffffff161461378e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526029815260200180614c1d6029913960400191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415613814576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526024815260200180614a996024913960400191505060405180910390fd5b61381f838383613d85565b61382a600082613540565b61387b81600160008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020613d8a90919063ffffffff16565b506138cd81600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020613da490919063ffffffff16565b506138e481836002613dbe9092919063ffffffff16565b50808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b60006139548360000183613df3565b60001c905092915050565b6000806000806139728660000186613e76565b915091508160001c8160001c9350935050509250929050565b600080828401905083811015613a09576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601b8152602001807f536166654d6174683a206164646974696f6e206f766572666c6f77000000000081525060200191505060405180910390fd5b8091505092915050565b6000613a26846000018460001b84613f0f565b60001c90509392505050565b6000613a4082600001614005565b9050919050565b613a51600b614016565b6000613a5d600b61402c565b9050613a69338261403a565b6060613a748361422e565b60405160200180807f68747470733a2f2f6170692e63727970746f6b696e67732e6172742f6e66742f81525060200182805190602001908083835b60208310613ad25780518252602082019150602081019050602083039250613aaf565b6001836020036101000a0380198251168184511680821785525050505050509050019150506040516020818303038152906040529050613b128382613cd0565b505050565b613b22848484613702565b613b2e8484848461437e565b613b83576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526032815260200180614a416032913960400191505060405180910390fd5b50505050565b60606000821415613bd1576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050613ccb565b600082905060005b60008214613bfb578080600101915050600a8281613bf357fe5b049150613bd9565b60608167ffffffffffffffff81118015613c1457600080fd5b506040519080825280601f01601f191660200182016040528015613c475781602001600182028036833780820191505090505b50905060006001830390508593505b60008414613cc357600a8481613c6857fe5b0660300160f81b82828060019003935081518110613c8257fe5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a8481613cbb57fe5b049350613c56565b819450505050505b919050565b613cd98261351b565b613d2e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602c815260200180614bf1602c913960400191505060405180910390fd5b80600860008481526020019081526020016000209080519060200190613d5592919061493a565b505050565b6000613d6c836000018360001b614675565b905092915050565b600081600001805490509050919050565b505050565b6000613d9c836000018360001b614698565b905092915050565b6000613db6836000018360001b614780565b905092915050565b6000613dea846000018460001b8473ffffffffffffffffffffffffffffffffffffffff1660001b6147f0565b90509392505050565b600081836000018054905011613e54576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260228152602001806149d86022913960400191505060405180910390fd5b826000018281548110613e6357fe5b9060005260206000200154905092915050565b60008082846000018054905011613ed8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526022815260200180614ba36022913960400191505060405180910390fd5b6000846000018481548110613ee957fe5b906000526020600020906002020190508060000154816001015492509250509250929050565b60008084600101600085815260200190815260200160002054905060008114158390613fd6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b83811015613f9b578082015181840152602081019050613f80565b50505050905090810190601f168015613fc85780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b50846000016001820381548110613fe957fe5b9060005260206000209060020201600101549150509392505050565b600081600001805490509050919050565b6001816000016000828254019250508190555050565b600081600001549050919050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156140dd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4552433732313a206d696e7420746f20746865207a65726f206164647265737381525060200191505060405180910390fd5b6140e68161351b565b15614159576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601c8152602001807f4552433732313a20746f6b656e20616c7265616479206d696e7465640000000081525060200191505060405180910390fd5b61416560008383613d85565b6141b681600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020613da490919063ffffffff16565b506141cd81836002613dbe9092919063ffffffff16565b50808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b60606000821415614276576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050614379565b600082905060005b600082146142a0578080600101915050600a828161429857fe5b04915061427e565b60608167ffffffffffffffff811180156142b957600080fd5b506040519080825280601f01601f1916602001820160405280156142ec5781602001600182028036833780820191505090505b50905060008290505b60008614614371576001810390506000600a80888161431057fe5b04028703603001905060008160f81b90508084848151811061432e57fe5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a888161436757fe5b04975050506142f5565b819450505050505b919050565b600061439f8473ffffffffffffffffffffffffffffffffffffffff166148cc565b6143ac576001905061466d565b600060608573ffffffffffffffffffffffffffffffffffffffff1663150b7a0260e01b6143d7613538565b898888604051602401808573ffffffffffffffffffffffffffffffffffffffff1681526020018473ffffffffffffffffffffffffffffffffffffffff16815260200183815260200180602001828103825283818151815260200191508051906020019080838360005b8381101561445b578082015181840152602081019050614440565b50505050905090810190601f1680156144885780820380516001836020036101000a031916815260200191505b5095505050505050604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff83818316178352505050506040518082805190602001908083835b6020831061452057805182526020820191506020810190506020830392506144fd565b6001836020036101000a0380198251168184511680821785525050505050509050019150506000604051808303816000865af19150503d8060008114614582576040519150601f19603f3d011682016040523d82523d6000602084013e614587565b606091505b5091509150816145f5576000815111156145a45780518082602001fd5b6040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526032815260200180614a416032913960400191505060405180910390fd5b600081806020019051602081101561460c57600080fd5b8101908080519060200190929190505050905063150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161493505050505b949350505050565b600080836001016000848152602001908152602001600020541415905092915050565b6000808360010160008481526020019081526020016000205490506000811461477457600060018203905060006001866000018054905003905060008660000182815481106146e357fe5b906000526020600020015490508087600001848154811061470057fe5b906000526020600020018190555060018301876001016000838152602001908152602001600020819055508660000180548061473857fe5b6001900381819060005260206000200160009055905586600101600087815260200190815260200160002060009055600194505050505061477a565b60009150505b92915050565b600061478c8383614917565b6147e55782600001829080600181540180825580915050600190039060005260206000200160009091909190915055826000018054905083600101600084815260200190815260200160002081905550600190506147ea565b600090505b92915050565b6000808460010160008581526020019081526020016000205490506000811415614897578460000160405180604001604052808681526020018581525090806001815401808255809150506001900390600052602060002090600202016000909190919091506000820151816000015560208201518160010155505084600001805490508560010160008681526020019081526020016000208190555060019150506148c5565b828560000160018303815481106148aa57fe5b90600052602060002090600202016001018190555060009150505b9392505050565b60008060007fc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a47060001b9050833f915080821415801561490e57506000801b8214155b92505050919050565b600080836001016000848152602001908152602001600020541415905092915050565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f1061497b57805160ff19168380011785556149a9565b828001600101855582156149a9579182015b828111156149a857825182559160200191906001019061498d565b5b5090506149b691906149ba565b5090565b5b808211156149d35760008160009055506001016149bb565b509056fe456e756d657261626c655365743a20696e646578206f7574206f6620626f756e6473546865726520617265206e6f74206d6f7265207468616e2035303030204e465473596f752063616e74206368616e676520736f6d656f6e6520656c736573204e4654206e616d654552433732313a207472616e7366657220746f206e6f6e20455243373231526563656976657220696d706c656d656e7465724f776e61626c653a206e6577206f776e657220697320746865207a65726f20616464726573734552433732313a207472616e7366657220746f20746865207a65726f20616464726573734552433732313a206f70657261746f7220717565727920666f72206e6f6e6578697374656e7420746f6b656e4174206c65617374207061792074686520616d6f756e742074686174206973206265696e672061736b656420666f724552433732313a20617070726f76652063616c6c6572206973206e6f74206f776e6572206e6f7220617070726f76656420666f7220616c6c4552433732313a2062616c616e636520717565727920666f7220746865207a65726f20616464726573734552433732313a206f776e657220717565727920666f72206e6f6e6578697374656e7420746f6b656e456e756d657261626c654d61703a20696e646578206f7574206f6620626f756e64734552433732313a20617070726f76656420717565727920666f72206e6f6e6578697374656e7420746f6b656e4552433732314d657461646174613a2055524920736574206f66206e6f6e6578697374656e7420746f6b656e4552433732313a207472616e73666572206f6620746f6b656e2074686174206973206e6f74206f776e4552433732314d657461646174613a2055524920717565727920666f72206e6f6e6578697374656e7420746f6b656e546865726520617265206f6e6c792035303030204e46547320666f722073616c654552433732313a20617070726f76616c20746f2063757272656e74206f776e657257652063616e2774207365742074686520626c6f636b20746f207468652067656e6573697320626c6f636b4552433732313a207472616e736665722063616c6c6572206973206e6f74206f776e6572206e6f7220617070726f766564596f752063616e2774207075726368617365206d6f7265207468616e203130204e465473206174206f6e6365506c656173652c2073657420616e20756e75736564206e616d6520666f7220796f7572204e4654a2646970667358221220dc383639bde49d5c85cfe097dfb9333ca9e965fe4b149f49c4fdb141bc4e8e4564736f6c634300060c0033

Deployed Bytecode

0x60806040526004361061023b5760003560e01c80637a921a1a1161012e578063a22cb465116100ab578063d0403f331161006f578063d0403f3314610fcc578063df6e991114610ff7578063e985e9c5146110c9578063ebcae89814611150578063f2fde38b146112225761023b565b8063a22cb46514610c9d578063b7873ff314610cfa578063b85b99c914610d28578063b88d4fde14610e06578063c87b56dd14610f185761023b565b806392976179116100f25780639297617914610b2b57806393f344c114610b7a57806395d89b4114610ba55780639b8906ae14610c355780639ceeb71c14610c625761023b565b80637a921a1a1461089d57806382ea7bfe1461097b57806385e5fc6b146109a65780638c3c4b3414610a5a5780638da5cb5b14610aea5761023b565b806342842e0e116101bc5780636352211e116101805780636352211e146107155780636c0360eb1461077a57806370a082311461080a578063715018a61461086f5780637362377b146108865761023b565b806342842e0e146105a65780634cab786f146106215780634f6ccce71461064c57806353168b161461069b5780635532ed12146106ea5761023b565b80631e6e6d5e116102035780631e6e6d5e1461042b5780631f8eddae14610456578063200272751461049157806323b872dd146104bc5780632f745c59146105375761023b565b806301ffc9a71461024057806306fdde03146102b0578063081812fc14610340578063095ea7b3146103a557806318160ddd14610400575b600080fd5b34801561024c57600080fd5b506102986004803603602081101561026357600080fd5b8101908080357bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19169060200190929190505050611273565b60405180821515815260200191505060405180910390f35b3480156102bc57600080fd5b506102c56112da565b6040518080602001828103825283818151815260200191508051906020019080838360005b838110156103055780820151818401526020810190506102ea565b50505050905090810190601f1680156103325780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34801561034c57600080fd5b506103796004803603602081101561036357600080fd5b810190808035906020019092919050505061137c565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b3480156103b157600080fd5b506103fe600480360360408110156103c857600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050611417565b005b34801561040c57600080fd5b5061041561155b565b6040518082815260200191505060405180910390f35b34801561043757600080fd5b5061044061156c565b6040518082815260200191505060405180910390f35b34801561046257600080fd5b5061048f6004803603602081101561047957600080fd5b8101908080359060200190929190505050611572565b005b34801561049d57600080fd5b506104a661169f565b6040518082815260200191505060405180910390f35b3480156104c857600080fd5b50610535600480360360608110156104df57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803590602001909291905050506116a5565b005b34801561054357600080fd5b506105906004803603604081101561055a57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291908035906020019092919050505061171b565b6040518082815260200191505060405180910390f35b3480156105b257600080fd5b5061061f600480360360608110156105c957600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050611776565b005b34801561062d57600080fd5b50610636611796565b6040518082815260200191505060405180910390f35b34801561065857600080fd5b506106856004803603602081101561066f57600080fd5b810190808035906020019092919050505061179c565b6040518082815260200191505060405180910390f35b3480156106a757600080fd5b506106d4600480360360208110156106be57600080fd5b81019080803590602001909291905050506117bf565b6040518082815260200191505060405180910390f35b3480156106f657600080fd5b506106ff61183e565b6040518082815260200191505060405180910390f35b34801561072157600080fd5b5061074e6004803603602081101561073857600080fd5b8101908080359060200190929190505050611846565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b34801561078657600080fd5b5061078f61187d565b6040518080602001828103825283818151815260200191508051906020019080838360005b838110156107cf5780820151818401526020810190506107b4565b50505050905090810190601f1680156107fc5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34801561081657600080fd5b506108596004803603602081101561082d57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919050505061191f565b6040518082815260200191505060405180910390f35b34801561087b57600080fd5b506108846119f4565b005b34801561089257600080fd5b5061089b611b7f565b005b3480156108a957600080fd5b50610963600480360360208110156108c057600080fd5b81019080803590602001906401000000008111156108dd57600080fd5b8201836020820111156108ef57600080fd5b8035906020019184600183028401116401000000008311171561091157600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f820116905080830192505050505050509192919290505050611c98565b60405180821515815260200191505060405180910390f35b34801561098757600080fd5b5061099061202e565b6040518082815260200191505060405180910390f35b3480156109b257600080fd5b506109df600480360360208110156109c957600080fd5b8101908080359060200190929190505050612034565b6040518080602001828103825283818151815260200191508051906020019080838360005b83811015610a1f578082015181840152602081019050610a04565b50505050905090810190601f168015610a4c5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b348015610a6657600080fd5b50610a6f6120e4565b6040518080602001828103825283818151815260200191508051906020019080838360005b83811015610aaf578082015181840152602081019050610a94565b50505050905090810190601f168015610adc5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b348015610af657600080fd5b50610aff6121f1565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b348015610b3757600080fd5b50610b6460048036036020811015610b4e57600080fd5b810190808035906020019092919050505061221b565b6040518082815260200191505060405180910390f35b348015610b8657600080fd5b50610b8f612461565b6040518082815260200191505060405180910390f35b348015610bb157600080fd5b50610bba612467565b6040518080602001828103825283818151815260200191508051906020019080838360005b83811015610bfa578082015181840152602081019050610bdf565b50505050905090810190601f168015610c275780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b348015610c4157600080fd5b50610c4a612509565b60405180821515815260200191505060405180910390f35b348015610c6e57600080fd5b50610c9b60048036036020811015610c8557600080fd5b810190808035906020019092919050505061251c565b005b348015610ca957600080fd5b50610cf860048036036040811015610cc057600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803515159060200190929190505050612649565b005b610d2660048036036020811015610d1057600080fd5b81019080803590602001909291905050506127ff565b005b348015610d3457600080fd5b50610dee60048036036020811015610d4b57600080fd5b8101908080359060200190640100000000811115610d6857600080fd5b820183602082011115610d7a57600080fd5b80359060200191846001830284011164010000000083111715610d9c57600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f820116905080830192505050505050509192919290505050612b30565b60405180821515815260200191505060405180910390f35b348015610e1257600080fd5b50610f1660048036036080811015610e2957600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803573ffffffffffffffffffffffffffffffffffffffff1690602001909291908035906020019092919080359060200190640100000000811115610e9057600080fd5b820183602082011115610ea257600080fd5b80359060200191846001830284011164010000000083111715610ec457600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f820116905080830192505050505050509192919290505050612b66565b005b348015610f2457600080fd5b50610f5160048036036020811015610f3b57600080fd5b8101908080359060200190929190505050612bde565b6040518080602001828103825283818151815260200191508051906020019080838360005b83811015610f91578082015181840152602081019050610f76565b50505050905090810190601f168015610fbe5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b348015610fd857600080fd5b50610fe1612ec7565b6040518082815260200191505060405180910390f35b34801561100357600080fd5b506110c76004803603604081101561101a57600080fd5b81019080803590602001909291908035906020019064010000000081111561104157600080fd5b82018360208201111561105357600080fd5b8035906020019184600183028401116401000000008311171561107557600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f820116905080830192505050505050509192919290505050612ecd565b005b3480156110d557600080fd5b50611138600480360360408110156110ec57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803573ffffffffffffffffffffffffffffffffffffffff16906020019092919050505061319f565b60405180821515815260200191505060405180910390f35b34801561115c57600080fd5b506112206004803603604081101561117357600080fd5b81019080803590602001909291908035906020019064010000000081111561119a57600080fd5b8201836020820111156111ac57600080fd5b803590602001918460018302840111640100000000831117156111ce57600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f820116905080830192505050505050509192919290505050613233565b005b34801561122e57600080fd5b506112716004803603602081101561124557600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919050505061330b565b005b6000806000837bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19167bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916815260200190815260200160002060009054906101000a900460ff169050919050565b606060068054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156113725780601f1061134757610100808354040283529160200191611372565b820191906000526020600020905b81548152906001019060200180831161135557829003601f168201915b5050505050905090565b60006113878261351b565b6113dc576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602c815260200180614bc5602c913960400191505060405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b600061142282611846565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156114a9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526021815260200180614c966021913960400191505060405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff166114c8613538565b73ffffffffffffffffffffffffffffffffffffffff1614806114f757506114f6816114f1613538565b61319f565b5b61154c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526038815260200180614b186038913960400191505060405180910390fd5b6115568383613540565b505050565b600061156760026135f9565b905090565b60125481565b61157a613538565b73ffffffffffffffffffffffffffffffffffffffff16600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161461163c576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b60008111611695576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602b815260200180614cb7602b913960400191505060405180910390fd5b80600f8190555050565b60135481565b6116b66116b0613538565b8261360e565b61170b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526031815260200180614ce26031913960400191505060405180910390fd5b611716838383613702565b505050565b600061176e82600160008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002061394590919063ffffffff16565b905092915050565b61179183838360405180602001604052806000815250612b66565b505050565b60115481565b6000806117b383600261395f90919063ffffffff16565b50905080915050919050565b6000806000905060006117e360016117d561155b565b61398b90919063ffffffff16565b90506000600190505b8481116118335761180e6117ff8361221b565b8461398b90919063ffffffff16565b925061182460018361398b90919063ffffffff16565b915080806001019150506117ec565b508192505050919050565b600047905090565b600061187682604051806060016040528060298152602001614b7a602991396002613a139092919063ffffffff16565b9050919050565b606060098054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156119155780601f106118ea57610100808354040283529160200191611915565b820191906000526020600020905b8154815290600101906020018083116118f857829003601f168201915b5050505050905090565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156119a6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602a815260200180614b50602a913960400191505060405180910390fd5b6119ed600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020613a32565b9050919050565b6119fc613538565b73ffffffffffffffffffffffffffffffffffffffff16600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614611abe576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff16600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a36000600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550565b611b87613538565b73ffffffffffffffffffffffffffffffffffffffff16600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614611c49576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b60004790503373ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f19350505050158015611c94573d6000803e3d6000fd5b5050565b60006060829050600181511015611cb3576000915050612029565b601e81511115611cc7576000915050612029565b602060f81b81600081518110611cd957fe5b602001015160f81c60f81b7effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161415611d16576000915050612029565b602060f81b81600183510381518110611d2b57fe5b602001015160f81c60f81b7effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161415611d68576000915050612029565b600081600081518110611d7757fe5b602001015160f81c60f81b905060005b8251811015611f93576000838281518110611d9e57fe5b602001015160f81c60f81b9050602060f81b817effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148015611e055750602060f81b837effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b15611e17576000945050505050612029565b603060f81b817effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff191610158015611e735750603960f81b817effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff191611155b158015611ed95750604160f81b817effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff191610158015611ed75750605a60f81b817effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff191611155b155b8015611f3e5750606160f81b817effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff191610158015611f3c5750607a60f81b817effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff191611155b155b8015611f705750602060f81b817effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614155b15611f82576000945050505050612029565b809250508080600101915050611d87565b5060011515600d856040518082805190602001908083835b60208310611fce5780518252602082019150602081019050602083039250611fab565b6001836020036101000a038019825116818451168082178552505050505050905001915050908152602001604051809103902060009054906101000a900460ff161515141561202257600092505050612029565b6001925050505b919050565b600e5481565b600c6020528060005260406000206000915090508054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156120dc5780601f106120b1576101008083540402835291602001916120dc565b820191906000526020600020905b8154815290600101906020018083116120bf57829003601f168201915b505050505081565b606060135443101561212d576040518060400160405280600c81526020017f53414c455f50454e44494e47000000000000000000000000000000000000000081525090506121ee565b6013544310158015612152575060001515601460009054906101000a900460ff161515145b15612194576040518060400160405280600c81526020017f53414c455f53544152544544000000000000000000000000000000000000000081525090506121ee565b60011515601460009054906101000a900460ff16151514156121ed576040518060400160405280600a81526020017f53414c455f454e4445440000000000000000000000000000000000000000000081525090506121ee565b5b90565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6000601054821115612278576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260218152602001806149fa6021913960400191505060405180910390fd5b600082116122ee576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260198152602001807f4e465420546f6b656e4964732073746172742066726f6d20310000000000000081525060200191505060405180910390fd5b612305600f5460135461398b90919063ffffffff16565b431061231557601154905061245c565b6001821015801561232857506105788211155b1561233c5766b1a2bc2ec50000905061245c565b61057982101580156123505750610a288211155b156123655767010a741a46278000905061245c565b610a2982101580156123795750610d488211155b1561238e5767016345785d8a0000905061245c565b610d4982101580156123a257506110048211155b156123b7576702c68af0bb140000905061245c565b61100582101580156123cb57506111f88211155b156123e057670429d069189e0000905061245c565b6111f982101580156123f457506112f28211155b156124095767058d15e176280000905061245c565b6112f3821015801561241d57506113568211155b15612432576706f05b59d3b20000905061245c565b611357821015801561244657506113888211155b1561245b57670de0b6b3a7640000905061245c565b5b919050565b60105481565b606060078054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156124ff5780601f106124d4576101008083540402835291602001916124ff565b820191906000526020600020905b8154815290600101906020018083116124e257829003601f168201915b5050505050905090565b601460009054906101000a900460ff1681565b612524613538565b73ffffffffffffffffffffffffffffffffffffffff16600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16146125e6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b6000811161263f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602b815260200180614cb7602b913960400191505060405180910390fd5b8060138190555050565b612651613538565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156126f2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260198152602001807f4552433732313a20617070726f766520746f2063616c6c65720000000000000081525060200191505060405180910390fd5b80600560006126ff613538565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff166127ac613538565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405180821515815260200191505060405180910390a35050565b601354431015612877576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260188152602001807f53616c6520686173206e6f74207374617274656420796574000000000000000081525060200191505060405180910390fd5b60001515601460009054906101000a900460ff16151514612900576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260168152602001807f53616c652068617320656e64656420616c72656164790000000000000000000081525060200191505060405180910390fd5b60008111612976576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260198152602001807f5075726368617365206174206c65617374206f6e65204e46540000000000000081525060200191505060405180910390fd5b600a8111156129d0576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602c815260200180614d13602c913960400191505060405180910390fd5b6010546129ed826129df61155b565b61398b90919063ffffffff16565b1115612a44576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526021815260200180614c756021913960400191505060405180910390fd5b612a4d816117bf565b3414612aa4576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602f815260200180614ae9602f913960400191505060405180910390fd5b6000600190505b818111612ae257612ad5612ad06001612ac261155b565b61398b90919063ffffffff16565b613a47565b8080600101915050612aab565b50612af3612aee61155b565b61221b565b601181905550601054612b0461155b565b1415612b2d576001601460006101000a81548160ff021916908315150217905550436012819055505b50565b600d818051602081018201805184825260208301602085012081835280955050505050506000915054906101000a900460ff1681565b612b77612b71613538565b8361360e565b612bcc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526031815260200180614ce26031913960400191505060405180910390fd5b612bd884848484613b17565b50505050565b6060612be98261351b565b612c3e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602f815260200180614c46602f913960400191505060405180910390fd5b6060600860008481526020019081526020016000208054600181600116156101000203166002900480601f016020809104026020016040519081016040528092919081815260200182805460018160011615610100020316600290048015612ce75780601f10612cbc57610100808354040283529160200191612ce7565b820191906000526020600020905b815481529060010190602001808311612cca57829003601f168201915b50505050509050600060098054600181600116156101000203166002900490501415612d165780915050612ec2565b600081511115612def576009816040516020018083805460018160011615610100020316600290048015612d815780601f10612d5f576101008083540402835291820191612d81565b820191906000526020600020905b815481529060010190602001808311612d6d575b505082805190602001908083835b60208310612db25780518252602082019150602081019050602083039250612d8f565b6001836020036101000a03801982511681845116808217855250505050505090500192505050604051602081830303815290604052915050612ec2565b6009612dfa84613b89565b6040516020018083805460018160011615610100020316600290048015612e585780601f10612e36576101008083540402835291820191612e58565b820191906000526020600020905b815481529060010190602001808311612e44575b505082805190602001908083835b60208310612e895780518252602082019150602081019050602083039250612e66565b6001836020036101000a038019825116818451168082178552505050505050905001925050506040516020818303038152906040529150505b919050565b600f5481565b3373ffffffffffffffffffffffffffffffffffffffff16612eed83611846565b73ffffffffffffffffffffffffffffffffffffffff1614612f59576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526026815260200180614a1b6026913960400191505060405180910390fd5b60011515612f6682611c98565b151514612fbe576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526027815260200180614d3f6027913960400191505060405180910390fd5b6060600c60008481526020019081526020016000208054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156130675780601f1061303c57610100808354040283529160200191613067565b820191906000526020600020905b81548152906001019060200180831161304a57829003601f168201915b505050505090506000600d826040518082805190602001908083835b602083106130a65780518252602082019150602081019050602083039250613083565b6001836020036101000a038019825116818451168082178552505050505050905001915050908152602001604051809103902060006101000a81548160ff0219169083151502179055506001600d836040518082805190602001908083835b602083106131285780518252602082019150602081019050602083039250613105565b6001836020036101000a038019825116818451168082178552505050505050905001915050908152602001604051809103902060006101000a81548160ff02191690831515021790555081600c6000858152602001908152602001600020908051906020019061319992919061493a565b50505050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b61323b613538565b73ffffffffffffffffffffffffffffffffffffffff16600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16146132fd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b6133078282613cd0565b5050565b613313613538565b73ffffffffffffffffffffffffffffffffffffffff16600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16146133d5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561345b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526026815260200180614a736026913960400191505060405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a380600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6000613531826002613d5a90919063ffffffff16565b9050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff166135b383611846565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600061360782600001613d74565b9050919050565b60006136198261351b565b61366e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602c815260200180614abd602c913960400191505060405180910390fd5b600061367983611846565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614806136e857508373ffffffffffffffffffffffffffffffffffffffff166136d08461137c565b73ffffffffffffffffffffffffffffffffffffffff16145b806136f957506136f8818561319f565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff1661372282611846565b73ffffffffffffffffffffffffffffffffffffffff161461378e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526029815260200180614c1d6029913960400191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415613814576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526024815260200180614a996024913960400191505060405180910390fd5b61381f838383613d85565b61382a600082613540565b61387b81600160008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020613d8a90919063ffffffff16565b506138cd81600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020613da490919063ffffffff16565b506138e481836002613dbe9092919063ffffffff16565b50808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b60006139548360000183613df3565b60001c905092915050565b6000806000806139728660000186613e76565b915091508160001c8160001c9350935050509250929050565b600080828401905083811015613a09576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601b8152602001807f536166654d6174683a206164646974696f6e206f766572666c6f77000000000081525060200191505060405180910390fd5b8091505092915050565b6000613a26846000018460001b84613f0f565b60001c90509392505050565b6000613a4082600001614005565b9050919050565b613a51600b614016565b6000613a5d600b61402c565b9050613a69338261403a565b6060613a748361422e565b60405160200180807f68747470733a2f2f6170692e63727970746f6b696e67732e6172742f6e66742f81525060200182805190602001908083835b60208310613ad25780518252602082019150602081019050602083039250613aaf565b6001836020036101000a0380198251168184511680821785525050505050509050019150506040516020818303038152906040529050613b128382613cd0565b505050565b613b22848484613702565b613b2e8484848461437e565b613b83576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526032815260200180614a416032913960400191505060405180910390fd5b50505050565b60606000821415613bd1576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050613ccb565b600082905060005b60008214613bfb578080600101915050600a8281613bf357fe5b049150613bd9565b60608167ffffffffffffffff81118015613c1457600080fd5b506040519080825280601f01601f191660200182016040528015613c475781602001600182028036833780820191505090505b50905060006001830390508593505b60008414613cc357600a8481613c6857fe5b0660300160f81b82828060019003935081518110613c8257fe5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a8481613cbb57fe5b049350613c56565b819450505050505b919050565b613cd98261351b565b613d2e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602c815260200180614bf1602c913960400191505060405180910390fd5b80600860008481526020019081526020016000209080519060200190613d5592919061493a565b505050565b6000613d6c836000018360001b614675565b905092915050565b600081600001805490509050919050565b505050565b6000613d9c836000018360001b614698565b905092915050565b6000613db6836000018360001b614780565b905092915050565b6000613dea846000018460001b8473ffffffffffffffffffffffffffffffffffffffff1660001b6147f0565b90509392505050565b600081836000018054905011613e54576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260228152602001806149d86022913960400191505060405180910390fd5b826000018281548110613e6357fe5b9060005260206000200154905092915050565b60008082846000018054905011613ed8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526022815260200180614ba36022913960400191505060405180910390fd5b6000846000018481548110613ee957fe5b906000526020600020906002020190508060000154816001015492509250509250929050565b60008084600101600085815260200190815260200160002054905060008114158390613fd6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b83811015613f9b578082015181840152602081019050613f80565b50505050905090810190601f168015613fc85780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b50846000016001820381548110613fe957fe5b9060005260206000209060020201600101549150509392505050565b600081600001805490509050919050565b6001816000016000828254019250508190555050565b600081600001549050919050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156140dd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4552433732313a206d696e7420746f20746865207a65726f206164647265737381525060200191505060405180910390fd5b6140e68161351b565b15614159576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601c8152602001807f4552433732313a20746f6b656e20616c7265616479206d696e7465640000000081525060200191505060405180910390fd5b61416560008383613d85565b6141b681600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020613da490919063ffffffff16565b506141cd81836002613dbe9092919063ffffffff16565b50808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b60606000821415614276576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050614379565b600082905060005b600082146142a0578080600101915050600a828161429857fe5b04915061427e565b60608167ffffffffffffffff811180156142b957600080fd5b506040519080825280601f01601f1916602001820160405280156142ec5781602001600182028036833780820191505090505b50905060008290505b60008614614371576001810390506000600a80888161431057fe5b04028703603001905060008160f81b90508084848151811061432e57fe5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a888161436757fe5b04975050506142f5565b819450505050505b919050565b600061439f8473ffffffffffffffffffffffffffffffffffffffff166148cc565b6143ac576001905061466d565b600060608573ffffffffffffffffffffffffffffffffffffffff1663150b7a0260e01b6143d7613538565b898888604051602401808573ffffffffffffffffffffffffffffffffffffffff1681526020018473ffffffffffffffffffffffffffffffffffffffff16815260200183815260200180602001828103825283818151815260200191508051906020019080838360005b8381101561445b578082015181840152602081019050614440565b50505050905090810190601f1680156144885780820380516001836020036101000a031916815260200191505b5095505050505050604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff83818316178352505050506040518082805190602001908083835b6020831061452057805182526020820191506020810190506020830392506144fd565b6001836020036101000a0380198251168184511680821785525050505050509050019150506000604051808303816000865af19150503d8060008114614582576040519150601f19603f3d011682016040523d82523d6000602084013e614587565b606091505b5091509150816145f5576000815111156145a45780518082602001fd5b6040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526032815260200180614a416032913960400191505060405180910390fd5b600081806020019051602081101561460c57600080fd5b8101908080519060200190929190505050905063150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161493505050505b949350505050565b600080836001016000848152602001908152602001600020541415905092915050565b6000808360010160008481526020019081526020016000205490506000811461477457600060018203905060006001866000018054905003905060008660000182815481106146e357fe5b906000526020600020015490508087600001848154811061470057fe5b906000526020600020018190555060018301876001016000838152602001908152602001600020819055508660000180548061473857fe5b6001900381819060005260206000200160009055905586600101600087815260200190815260200160002060009055600194505050505061477a565b60009150505b92915050565b600061478c8383614917565b6147e55782600001829080600181540180825580915050600190039060005260206000200160009091909190915055826000018054905083600101600084815260200190815260200160002081905550600190506147ea565b600090505b92915050565b6000808460010160008581526020019081526020016000205490506000811415614897578460000160405180604001604052808681526020018581525090806001815401808255809150506001900390600052602060002090600202016000909190919091506000820151816000015560208201518160010155505084600001805490508560010160008681526020019081526020016000208190555060019150506148c5565b828560000160018303815481106148aa57fe5b90600052602060002090600202016001018190555060009150505b9392505050565b60008060007fc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a47060001b9050833f915080821415801561490e57506000801b8214155b92505050919050565b600080836001016000848152602001908152602001600020541415905092915050565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f1061497b57805160ff19168380011785556149a9565b828001600101855582156149a9579182015b828111156149a857825182559160200191906001019061498d565b5b5090506149b691906149ba565b5090565b5b808211156149d35760008160009055506001016149bb565b509056fe456e756d657261626c655365743a20696e646578206f7574206f6620626f756e6473546865726520617265206e6f74206d6f7265207468616e2035303030204e465473596f752063616e74206368616e676520736f6d656f6e6520656c736573204e4654206e616d654552433732313a207472616e7366657220746f206e6f6e20455243373231526563656976657220696d706c656d656e7465724f776e61626c653a206e6577206f776e657220697320746865207a65726f20616464726573734552433732313a207472616e7366657220746f20746865207a65726f20616464726573734552433732313a206f70657261746f7220717565727920666f72206e6f6e6578697374656e7420746f6b656e4174206c65617374207061792074686520616d6f756e742074686174206973206265696e672061736b656420666f724552433732313a20617070726f76652063616c6c6572206973206e6f74206f776e6572206e6f7220617070726f76656420666f7220616c6c4552433732313a2062616c616e636520717565727920666f7220746865207a65726f20616464726573734552433732313a206f776e657220717565727920666f72206e6f6e6578697374656e7420746f6b656e456e756d657261626c654d61703a20696e646578206f7574206f6620626f756e64734552433732313a20617070726f76656420717565727920666f72206e6f6e6578697374656e7420746f6b656e4552433732314d657461646174613a2055524920736574206f66206e6f6e6578697374656e7420746f6b656e4552433732313a207472616e73666572206f6620746f6b656e2074686174206973206e6f74206f776e4552433732314d657461646174613a2055524920717565727920666f72206e6f6e6578697374656e7420746f6b656e546865726520617265206f6e6c792035303030204e46547320666f722073616c654552433732313a20617070726f76616c20746f2063757272656e74206f776e657257652063616e2774207365742074686520626c6f636b20746f207468652067656e6573697320626c6f636b4552433732313a207472616e736665722063616c6c6572206973206e6f74206f776e6572206e6f7220617070726f766564596f752063616e2774207075726368617365206d6f7265207468616e203130204e465473206174206f6e6365506c656173652c2073657420616e20756e75736564206e616d6520666f7220796f7572204e4654a2646970667358221220dc383639bde49d5c85cfe097dfb9333ca9e965fe4b149f49c4fdb141bc4e8e4564736f6c634300060c0033

Deployed Bytecode Sourcemap

60362:7832:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;7461:142;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;33117:92;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;37901:213;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;37218:390;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;36074:203;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;61121:29;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;61689:188;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;61211:40;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;39649:305;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;35761:154;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;40616:151;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;60997:42;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;36623:164;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;64434:349;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;65998:97;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;32837:169;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;35290:89;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;32396:215;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;54287:148;;;;;;;;;;;;;:::i;:::-;;65784:136;;;;;;;;;;;;;:::i;:::-;;66600:958;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;60766:43;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;60583:42;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;66181:349;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;53645:79;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;61940:1250;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;60923:29;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;33324:96;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;61321:29;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;61429:180;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;38421:295;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;64863:843;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;60675:40;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;41504:285;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;34296:755;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;60859:45;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;63416:415;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;39046:156;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;63273:131;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;54590:244;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;7461:142;7538:4;7562:20;:33;7583:11;7562:33;;;;;;;;;;;;;;;;;;;;;;;;;;;7555:40;;7461:142;;;:::o;33117:92::-;33163:13;33196:5;33189:12;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;33117:92;:::o;37901:213::-;37969:7;37997:16;38005:7;37997;:16::i;:::-;37989:73;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;38082:15;:24;38098:7;38082:24;;;;;;;;;;;;;;;;;;;;;38075:31;;37901:213;;;:::o;37218:390::-;37299:13;37315:16;37323:7;37315;:16::i;:::-;37299:32;;37356:5;37350:11;;:2;:11;;;;37342:57;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;37436:5;37420:21;;:12;:10;:12::i;:::-;:21;;;:62;;;;37445:37;37462:5;37469:12;:10;:12::i;:::-;37445:16;:37::i;:::-;37420:62;37412:154;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;37579:21;37588:2;37592:7;37579:8;:21::i;:::-;37218:390;;;:::o;36074:203::-;36127:7;36248:21;:12;:19;:21::i;:::-;36241:28;;36074:203;:::o;61121:29::-;;;;:::o;61689:188::-;53867:12;:10;:12::i;:::-;53857:22;;:6;;;;;;;;;;;:22;;;53849:67;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;61779:1:::1;61770:6;:10;61762:66;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;61863:6;61839:21;:30;;;;61689:188:::0;:::o;61211:40::-;;;;:::o;39649:305::-;39810:41;39829:12;:10;:12::i;:::-;39843:7;39810:18;:41::i;:::-;39802:103;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;39918:28;39928:4;39934:2;39938:7;39918:9;:28::i;:::-;39649:305;;;:::o;35761:154::-;35850:7;35877:30;35901:5;35877:13;:20;35891:5;35877:20;;;;;;;;;;;;;;;:23;;:30;;;;:::i;:::-;35870:37;;35761:154;;;;:::o;40616:151::-;40720:39;40737:4;40743:2;40747:7;40720:39;;;;;;;;;;;;:16;:39::i;:::-;40616:151;;;:::o;60997:42::-;;;;:::o;36623:164::-;36690:7;36711:15;36732:22;36748:5;36732:12;:15;;:22;;;;:::i;:::-;36710:44;;;36772:7;36765:14;;;36623:164;;;:::o;64434:349::-;64495:7;64514:13;64530:1;64514:17;;64542:18;64563:20;64581:1;64563:13;:11;:13::i;:::-;:17;;:20;;;;:::i;:::-;64542:41;;64598:6;64607:1;64598:10;;64594:149;64616:6;64611:1;:11;64594:149;;64652:34;64662:23;64674:10;64662:11;:23::i;:::-;64652:5;:9;;:34;;;;:::i;:::-;64644:42;;64714:17;64729:1;64714:10;:14;;:17;;;;:::i;:::-;64701:30;;64624:3;;;;;;;64594:149;;;;64770:5;64763:12;;;;64434:349;;;:::o;65998:97::-;66040:7;66066:21;66059:28;;65998:97;:::o;32837:169::-;32901:7;32928:70;32945:7;32928:70;;;;;;;;;;;;;;;;;:12;:16;;:70;;;;;:::i;:::-;32921:77;;32837:169;;;:::o;35290:89::-;35330:13;35363:8;35356:15;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;35290:89;:::o;32396:215::-;32460:7;32505:1;32488:19;;:5;:19;;;;32480:74;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;32574:29;:13;:20;32588:5;32574:20;;;;;;;;;;;;;;;:27;:29::i;:::-;32567:36;;32396:215;;;:::o;54287:148::-;53867:12;:10;:12::i;:::-;53857:22;;:6;;;;;;;;;;;:22;;;53849:67;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;54394:1:::1;54357:40;;54378:6;;;;;;;;;;;54357:40;;;;;;;;;;;;54425:1;54408:6;;:19;;;;;;;;;;;;;;;;;;54287:148::o:0;65784:136::-;53867:12;:10;:12::i;:::-;53857:22;;:6;;;;;;;;;;;:22;;;53849:67;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;65837:12:::1;65852:21;65837:36;;65884:10;:19;;:28;65904:7;65884:28;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;53927:1;65784:136::o:0;66600:958::-;66659:4;66675:14;66698:3;66675:27;;66727:1;66716;:8;:12;66713:29;;;66737:5;66730:12;;;;;66713:29;66767:2;66756:1;:8;:13;66753:30;;;66778:5;66771:12;;;;;66753:30;66805:4;66797:12;;:1;66799;66797:4;;;;;;;;;;;;;;;;:12;;;;66794:29;;;66818:5;66811:12;;;;;66794:29;66857:4;66838:23;;:1;66851;66840;:8;:12;66838:15;;;;;;;;;;;;;;;;:23;;;;66834:41;;;66870:5;66863:12;;;;;66834:41;66888:15;66906:1;66908;66906:4;;;;;;;;;;;;;;;;66888:22;;66927:6;66923:450;66937:1;:8;66935:1;:10;66923:450;;;66966:11;66980:1;66982;66980:4;;;;;;;;;;;;;;;;66966:18;;67013:4;67005:12;;:4;:12;;;;:32;;;;;67033:4;67021:16;;:8;:16;;;;67005:32;67001:50;;;67046:5;67039:12;;;;;;;;67001:50;67097:4;67089:12;;:4;:12;;;;;:28;;;;;67113:4;67105:12;;:4;:12;;;;;67089:28;67087:31;:89;;;;;67155:4;67147:12;;:4;:12;;;;;:28;;;;;67171:4;67163:12;;:4;:12;;;;;67147:28;67145:31;67087:89;:147;;;;;67213:4;67205:12;;:4;:12;;;;;:28;;;;;67229:4;67221:12;;:4;:12;;;;;67205:28;67203:31;67087:147;:189;;;;;67271:4;67263:12;;:4;:12;;;;67261:15;67087:189;67066:263;;;67324:5;67317:12;;;;;;;;67066:263;67357:4;67346:15;;66923:450;66947:3;;;;;;;66923:450;;;;67414:4;67396:22;;:9;67406:3;67396:14;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:22;;;67393:134;;;67441:5;67434:12;;;;;;67393:134;67546:4;67539:11;;;;66600:958;;;;:::o;60766:43::-;;;;:::o;60583:42::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;66181:349::-;66226:13;66269:14;;66254:12;:29;66251:81;;;66299:21;;;;;;;;;;;;;;;;;;;;;66251:81;66361:14;;66345:12;:30;;:52;;;;;66392:5;66379:18;;:9;;;;;;;;;;;:18;;;66345:52;66342:104;;;66413:21;;;;;;;;;;;;;;;;;;;;;66342:104;66472:4;66459:17;;:9;;;;;;;;;;;:17;;;66456:67;;;66492:19;;;;;;;;;;;;;;;;;;;;;66456:67;66181:349;;:::o;53645:79::-;53683:7;53710:6;;;;;;;;;;;53703:13;;53645:79;:::o;61940:1250::-;61998:7;62036;;62025;:18;;62017:64;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;62110:1;62100:7;:11;62092:49;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;62340:41;62359:21;;62340:14;;:18;;:41;;;;:::i;:::-;62323:12;:59;62320:111;;62405:14;;62398:21;;;;62320:111;62466:1;62455:7;:12;;:31;;;;;62482:4;62471:7;:15;;62455:31;62451:81;;;62510:10;62503:17;;;;62451:81;62557:4;62546:7;:15;;:34;;;;;62576:4;62565:7;:15;;62546:34;62542:85;;;62603:11;62596:18;;;;62542:85;62652:4;62641:7;:15;;:34;;;;;62671:4;62660:7;:15;;62641:34;62637:83;;;62699:9;62692:16;;;;62637:83;62745:4;62734:7;:15;;:34;;;;;62764:4;62753:7;:15;;62734:34;62730:83;;;62792:9;62785:16;;;;62730:83;62838:4;62827:7;:15;;:34;;;;;62857:4;62846:7;:15;;62827:34;62823:83;;;62885:9;62878:16;;;;62823:83;62931:4;62920:7;:15;;:34;;;;;62950:4;62939:7;:15;;62920:34;62916:83;;;62978:9;62971:16;;;;62916:83;63024:4;63013:7;:15;;:34;;;;;63043:4;63032:7;:15;;63013:34;63009:83;;;63071:9;63064:16;;;;63009:83;63117:4;63106:7;:15;;:34;;;;;63136:4;63125:7;:15;;63106:34;63102:81;;;63164:7;63157:14;;;;63102:81;61940:1250;;;;:::o;60923:29::-;;;;:::o;33324:96::-;33372:13;33405:7;33398:14;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;33324:96;:::o;61321:29::-;;;;;;;;;;;;;:::o;61429:180::-;53867:12;:10;:12::i;:::-;53857:22;;:6;;;;;;;;;;;:22;;;53849:67;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;61518:1:::1;61509:6;:10;61501:66;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;61595:6;61578:14;:23;;;;61429:180:::0;:::o;38421:295::-;38536:12;:10;:12::i;:::-;38524:24;;:8;:24;;;;38516:62;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;38636:8;38591:18;:32;38610:12;:10;:12::i;:::-;38591:32;;;;;;;;;;;;;;;:42;38624:8;38591:42;;;;;;;;;;;;;;;;:53;;;;;;;;;;;;;;;;;;38689:8;38660:48;;38675:12;:10;:12::i;:::-;38660:48;;;38699:8;38660:48;;;;;;;;;;;;;;;;;;;;38421:295;;:::o;64863:843::-;64951:14;;64935:12;:30;;64927:67;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;65026:5;65013:18;;:9;;;;;;;;;;;:18;;;65005:53;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;65086:1;65077:6;:10;65069:48;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;65146:2;65136:6;:12;;65128:69;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;65247:7;;65217:25;65235:6;65217:13;:11;:13::i;:::-;:17;;:25;;;;:::i;:::-;65216:38;;65208:84;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;65324:22;65339:6;65324:14;:22::i;:::-;65311:9;:35;65303:95;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;65414:6;65421:1;65414:8;;65409:91;65428:6;65424:1;:10;65409:91;;65455:33;65467:20;65485:1;65467:13;:11;:13::i;:::-;:17;;:20;;;;:::i;:::-;65455:11;:33::i;:::-;65436:3;;;;;;;65409:91;;;;65547:26;65559:13;:11;:13::i;:::-;65547:11;:26::i;:::-;65530:14;:43;;;;65604:7;;65587:13;:11;:13::i;:::-;:24;65584:115;;;65639:4;65627:9;;:16;;;;;;;;;;;;;;;;;;65675:12;65658:14;:29;;;;65584:115;64863:843;:::o;60675:40::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;41504:285::-;41636:41;41655:12;:10;:12::i;:::-;41669:7;41636:18;:41::i;:::-;41628:103;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;41742:39;41756:4;41762:2;41766:7;41775:5;41742:13;:39::i;:::-;41504:285;;;;:::o;34296:755::-;34361:13;34395:16;34403:7;34395;:16::i;:::-;34387:76;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;34476:23;34502:10;:19;34513:7;34502:19;;;;;;;;;;;34476:45;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;34623:1;34603:8;34597:22;;;;;;;;;;;;;;;;:27;34593:76;;;34648:9;34641:16;;;;;34593:76;34799:1;34779:9;34773:23;:27;34769:112;;;34848:8;34858:9;34831:37;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;34817:52;;;;;34769:112;35013:8;35023:18;:7;:16;:18::i;:::-;34996:46;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;34982:61;;;34296:755;;;;:::o;60859:45::-;;;;:::o;63416:415::-;63519:10;63499:30;;:16;63507:7;63499;:16::i;:::-;:30;;;63491:81;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;63610:4;63591:23;;:15;63601:4;63591:9;:15::i;:::-;:23;;;63583:75;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;63669:25;63697:8;:17;63706:7;63697:17;;;;;;;;;;;63669:45;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;63750:5;63725:9;63735:11;63725:22;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:30;;;;;;;;;;;;;;;;;;63784:4;63766:9;63776:4;63766:15;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:22;;;;;;;;;;;;;;;;;;63819:4;63799:8;:17;63808:7;63799:17;;;;;;;;;;;:24;;;;;;;;;;;;:::i;:::-;;63416:415;;;:::o;39046:156::-;39135:4;39159:18;:25;39178:5;39159:25;;;;;;;;;;;;;;;:35;39185:8;39159:35;;;;;;;;;;;;;;;;;;;;;;;;;39152:42;;39046:156;;;;:::o;63273:131::-;53867:12;:10;:12::i;:::-;53857:22;;:6;;;;;;;;;;;:22;;;53849:67;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;63365:31:::1;63378:7;63387:8;63365:12;:31::i;:::-;63273:131:::0;;:::o;54590:244::-;53867:12;:10;:12::i;:::-;53857:22;;:6;;;;;;;;;;;:22;;;53849:67;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;54699:1:::1;54679:22;;:8;:22;;;;54671:73;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;54789:8;54760:38;;54781:6;;;;;;;;;;;54760:38;;;;;;;;;;;;54818:8;54809:6;;:17;;;;;;;;;;;;;;;;;;54590:244:::0;:::o;42982:119::-;43039:4;43063:30;43085:7;43063:12;:21;;:30;;;;:::i;:::-;43056:37;;42982:119;;;:::o;817:106::-;870:15;905:10;898:17;;817:106;:::o;50184:158::-;50277:2;50250:15;:24;50266:7;50250:24;;;;;;;;;;;;:29;;;;;;;;;;;;;;;;;;50326:7;50322:2;50295:39;;50304:16;50312:7;50304;:16::i;:::-;50295:39;;;;;;;;;;;;50184:158;;:::o;26283:123::-;26352:7;26379:19;26387:3;:10;;26379:7;:19::i;:::-;26372:26;;26283:123;;;:::o;43471:333::-;43556:4;43581:16;43589:7;43581;:16::i;:::-;43573:73;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;43657:13;43673:16;43681:7;43673;:16::i;:::-;43657:32;;43719:5;43708:16;;:7;:16;;;:51;;;;43752:7;43728:31;;:20;43740:7;43728:11;:20::i;:::-;:31;;;43708:51;:87;;;;43763:32;43780:5;43787:7;43763:16;:32::i;:::-;43708:87;43700:96;;;43471:333;;;;:::o;47070:574::-;47188:4;47168:24;;:16;47176:7;47168;:16::i;:::-;:24;;;47160:78;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;47271:1;47257:16;;:2;:16;;;;47249:65;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;47327:39;47348:4;47354:2;47358:7;47327:20;:39::i;:::-;47431:29;47448:1;47452:7;47431:8;:29::i;:::-;47473:35;47500:7;47473:13;:19;47487:4;47473:19;;;;;;;;;;;;;;;:26;;:35;;;;:::i;:::-;;47519:30;47541:7;47519:13;:17;47533:2;47519:17;;;;;;;;;;;;;;;:21;;:30;;;;:::i;:::-;;47562:29;47579:7;47588:2;47562:12;:16;;:29;;;;;:::i;:::-;;47628:7;47624:2;47609:27;;47618:4;47609:27;;;;;;;;;;;;47070:574;;;:::o;18877:137::-;18948:7;18983:22;18987:3;:10;;18999:5;18983:3;:22::i;:::-;18975:31;;18968:38;;18877:137;;;;:::o;26745:227::-;26825:7;26834;26855:11;26868:13;26885:22;26889:3;:10;;26901:5;26885:3;:22::i;:::-;26854:53;;;;26934:3;26926:12;;26956:5;26948:14;;26918:46;;;;;;26745:227;;;;;:::o;55754:181::-;55812:7;55832:9;55848:1;55844;:5;55832:17;;55873:1;55868;:6;;55860:46;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;55926:1;55919:8;;;55754:181;;;;:::o;27407:204::-;27514:7;27557:44;27562:3;:10;;27582:3;27574:12;;27588;27557:4;:44::i;:::-;27549:53;;27534:69;;27407:204;;;;;:::o;18419:114::-;18479:7;18506:19;18514:3;:10;;18506:7;:19::i;:::-;18499:26;;18419:114;;;:::o;63889:448::-;63998:21;:9;:19;:21::i;:::-;64030:17;64050:19;:9;:17;:19::i;:::-;64030:39;;64148:28;64154:10;64166:9;64148:5;:28::i;:::-;64187:20;64271:17;64280:7;64271:8;:17::i;:::-;64218:71;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;64187:103;;64301:28;64314:7;64322:6;64301:12;:28::i;:::-;63889:448;;;:::o;42508:272::-;42622:28;42632:4;42638:2;42642:7;42622:9;:28::i;:::-;42669:48;42692:4;42698:2;42702:7;42711:5;42669:22;:48::i;:::-;42661:111;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;42508:272;;;;:::o;27863:744::-;27919:13;28149:1;28140:5;:10;28136:53;;;28167:10;;;;;;;;;;;;;;;;;;;;;28136:53;28199:12;28214:5;28199:20;;28230:14;28255:78;28270:1;28262:4;:9;28255:78;;28288:8;;;;;;;28319:2;28311:10;;;;;;;;;28255:78;;;28343:19;28375:6;28365:17;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;28343:39;;28393:13;28418:1;28409:6;:10;28393:26;;28437:5;28430:12;;28453:115;28468:1;28460:4;:9;28453:115;;28527:2;28520:4;:9;;;;;;28515:2;:14;28504:27;;28486:6;28493:7;;;;;;;28486:15;;;;;;;;;;;:45;;;;;;;;;;;28554:2;28546:10;;;;;;;;;28453:115;;;28592:6;28578:21;;;;;;27863:744;;;;:::o;47988:215::-;48088:16;48096:7;48088;:16::i;:::-;48080:73;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;48186:9;48164:10;:19;48175:7;48164:19;;;;;;;;;;;:31;;;;;;;;;;;;:::i;:::-;;47988:215;;:::o;26044:151::-;26128:4;26152:35;26162:3;:10;;26182:3;26174:12;;26152:9;:35::i;:::-;26145:42;;26044:151;;;;:::o;23666:110::-;23722:7;23749:3;:12;;:19;;;;23742:26;;23666:110;;;:::o;50914:93::-;;;;:::o;17964:137::-;18034:4;18058:35;18066:3;:10;;18086:5;18078:14;;18058:7;:35::i;:::-;18051:42;;17964:137;;;;:::o;17657:131::-;17724:4;17748:32;17753:3;:10;;17773:5;17765:14;;17748:4;:32::i;:::-;17741:39;;17657:131;;;;:::o;25476:176::-;25565:4;25589:55;25594:3;:10;;25614:3;25606:12;;25636:5;25628:14;;25620:23;;25589:4;:55::i;:::-;25582:62;;25476:176;;;;;:::o;15541:204::-;15608:7;15657:5;15636:3;:11;;:18;;;;:26;15628:73;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;15719:3;:11;;15731:5;15719:18;;;;;;;;;;;;;;;;15712:25;;15541:204;;;;:::o;24131:279::-;24198:7;24207;24257:5;24235:3;:12;;:19;;;;:27;24227:74;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;24314:22;24339:3;:12;;24352:5;24339:19;;;;;;;;;;;;;;;;;;24314:44;;24377:5;:10;;;24389:5;:12;;;24369:33;;;;;24131:279;;;;;:::o;24833:319::-;24927:7;24947:16;24966:3;:12;;:17;24979:3;24966:17;;;;;;;;;;;;24947:36;;25014:1;25002:8;:13;;25017:12;24994:36;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;25084:3;:12;;25108:1;25097:8;:12;25084:26;;;;;;;;;;;;;;;;;;:33;;;25077:40;;;24833:319;;;;;:::o;15088:109::-;15144:7;15171:3;:11;;:18;;;;15164:25;;15088:109;;;:::o;52249:181::-;52421:1;52403:7;:14;;;:19;;;;;;;;;;;52249:181;:::o;52127:114::-;52192:7;52219;:14;;;52212:21;;52127:114;;;:::o;45572:404::-;45666:1;45652:16;;:2;:16;;;;45644:61;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;45725:16;45733:7;45725;:16::i;:::-;45724:17;45716:58;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;45787:45;45816:1;45820:2;45824:7;45787:20;:45::i;:::-;45845:30;45867:7;45845:13;:17;45859:2;45845:17;;;;;;;;;;;;;;;:21;;:30;;;;:::i;:::-;;45888:29;45905:7;45914:2;45888:12;:16;;:29;;;;;:::i;:::-;;45960:7;45956:2;45935:33;;45952:1;45935:33;;;;;;;;;;;;45572:404;;:::o;67619:572::-;67668:27;67718:1;67712:2;:7;67708:50;;;67736:10;;;;;;;;;;;;;;;;;;;;;67708:50;67768:6;67777:2;67768:11;;67790:8;67809:69;67821:1;67816;:6;67809:69;;67839:5;;;;;;;67864:2;67859:7;;;;;;;;;67809:69;;;67888:17;67918:3;67908:14;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;67888:34;;67933:6;67942:3;67933:12;;67956:198;67969:1;67963:2;:7;67956:198;;67993:1;67991;:3;67987:7;;68009:10;68049:2;68044;68039;:7;;;;;;:12;68034:2;:17;68023:2;:29;68009:44;;68068:9;68087:4;68080:12;;68068:24;;68117:2;68107:4;68112:1;68107:7;;;;;;;;;;;:12;;;;;;;;;;;68140:2;68134:8;;;;;;;;;67956:198;;;;;68178:4;68164:19;;;;;;67619:572;;;;:::o;49098:1078::-;49219:4;49246:15;:2;:13;;;:15::i;:::-;49241:60;;49285:4;49278:11;;;;49241:60;49372:12;49386:23;49413:2;:7;;49458:45;;;49518:12;:10;:12::i;:::-;49545:4;49564:7;49586:5;49421:181;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;49413:190;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;49371:232;;;;49619:7;49614:555;;49667:1;49647:10;:17;:21;49643:384;;;49815:10;49809:17;49876:15;49863:10;49859:2;49855:19;49848:44;49763:148;49951:60;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;49614:555;50059:13;50086:10;50075:32;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;50059:48;;29368:10;50140:16;;50130:26;;;:6;:26;;;;50122:35;;;;;49098:1078;;;;;;;:::o;23446:125::-;23517:4;23562:1;23541:3;:12;;:17;23554:3;23541:17;;;;;;;;;;;;:22;;23534:29;;23446:125;;;;:::o;13243:1544::-;13309:4;13427:18;13448:3;:12;;:19;13461:5;13448:19;;;;;;;;;;;;13427:40;;13498:1;13484:10;:15;13480:1300;;13846:21;13883:1;13870:10;:14;13846:38;;13899:17;13940:1;13919:3;:11;;:18;;;;:22;13899:42;;14186:17;14206:3;:11;;14218:9;14206:22;;;;;;;;;;;;;;;;14186:42;;14352:9;14323:3;:11;;14335:13;14323:26;;;;;;;;;;;;;;;:38;;;;14471:1;14455:13;:17;14429:3;:12;;:23;14442:9;14429:23;;;;;;;;;;;:43;;;;14581:3;:11;;:17;;;;;;;;;;;;;;;;;;;;;;;;14676:3;:12;;:19;14689:5;14676:19;;;;;;;;;;;14669:26;;;14719:4;14712:11;;;;;;;;13480:1300;14763:5;14756:12;;;13243:1544;;;;;:::o;12653:414::-;12716:4;12738:21;12748:3;12753:5;12738:9;:21::i;:::-;12733:327;;12776:3;:11;;12793:5;12776:23;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;12959:3;:11;;:18;;;;12937:3;:12;;:19;12950:5;12937:19;;;;;;;;;;;:40;;;;12999:4;12992:11;;;;12733:327;13043:5;13036:12;;12653:414;;;;;:::o;20946:692::-;21022:4;21138:16;21157:3;:12;;:17;21170:3;21157:17;;;;;;;;;;;;21138:36;;21203:1;21191:8;:13;21187:444;;;21258:3;:12;;21276:38;;;;;;;;21293:3;21276:38;;;;21306:5;21276:38;;;21258:57;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;21473:3;:12;;:19;;;;21453:3;:12;;:17;21466:3;21453:17;;;;;;;;;;;:39;;;;21514:4;21507:11;;;;;21187:444;21587:5;21551:3;:12;;21575:1;21564:8;:12;21551:26;;;;;;;;;;;;;;;;;;:33;;:41;;;;21614:5;21607:12;;;20946:692;;;;;;:::o;8993:619::-;9053:4;9315:16;9342:19;9364:66;9342:88;;;;9533:7;9521:20;9509:32;;9573:11;9561:8;:23;;:42;;;;;9600:3;9588:15;;:8;:15;;9561:42;9553:51;;;;8993:619;;;:::o;14873:129::-;14946:4;14993:1;14970:3;:12;;:19;14983:5;14970:19;;;;;;;;;;;;:24;;14963:31;;14873:129;;;;:::o;-1:-1:-1:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;:::o

Swarm Source

ipfs://dc383639bde49d5c85cfe097dfb9333ca9e965fe4b149f49c4fdb141bc4e8e45
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.