ETH Price: $3,315.20 (-3.22%)

Token

Niftydudes (DUDE)
 

Overview

Max Total Supply

1,024 DUDE

Holders

364

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Balance
1 DUDE
0x35dfc94d2b806d306d2266f6000ee6964cf507c1
Loading...
Loading
Loading...
Loading
Loading...
Loading

OVERVIEW

A collection of 1024 characters on the Ethereum blockchain. Instead of pregenerating the collection, each Niftydude has been created by users from a pool of available traits.

# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
Niftydudes

Compiler Version
v0.7.6+commit.7338295f

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

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

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

// SPDX-License-Identifier: MIT

pragma solidity >=0.6.0 <0.8.0;

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

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

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



pragma solidity >=0.6.0 <0.8.0;

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

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



pragma solidity >=0.6.2 <0.8.0;


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

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

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

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

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

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

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

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

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

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

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

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

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



pragma solidity >=0.6.2 <0.8.0;


/**
 * @title ERC-721 Non-Fungible Token Standard, optional metadata extension
 * @dev See https://eips.ethereum.org/EIPS/eip-721
 */
interface IERC721Metadata is IERC721 {

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

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

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

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



pragma solidity >=0.6.2 <0.8.0;


/**
 * @title ERC-721 Non-Fungible Token Standard, optional enumeration extension
 * @dev See https://eips.ethereum.org/EIPS/eip-721
 */
interface IERC721Enumerable is IERC721 {

    /**
     * @dev Returns the total amount of tokens stored by the contract.
     */
    function totalSupply() external view returns (uint256);

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

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

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



pragma solidity >=0.6.0 <0.8.0;

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

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



pragma solidity >=0.6.0 <0.8.0;


/**
 * @dev Implementation of the {IERC165} interface.
 *
 * Contracts may inherit from this and call {_registerInterface} to declare
 * their support of an interface.
 */
abstract 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 virtual 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: @openzeppelin/contracts/math/SafeMath.sol



pragma solidity >=0.6.0 <0.8.0;

/**
 * @dev Wrappers over Solidity's arithmetic operations with added overflow
 * checks.
 *
 * Arithmetic operations in Solidity wrap on overflow. This can easily result
 * in bugs, because programmers usually assume that an overflow raises an
 * error, which is the standard behavior in high level programming languages.
 * `SafeMath` restores this intuition by reverting the transaction when an
 * operation overflows.
 *
 * Using this library instead of the unchecked operations eliminates an entire
 * class of bugs, so it's recommended to use it always.
 */
library SafeMath {
    /**
     * @dev Returns the addition of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        uint256 c = a + b;
        if (c < a) return (false, 0);
        return (true, c);
    }

    /**
     * @dev Returns the substraction of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        if (b > a) return (false, 0);
        return (true, a - b);
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        // Gas optimization: this is cheaper than requiring 'a' not being zero, but the
        // benefit is lost if 'b' is also tested.
        // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522
        if (a == 0) return (true, 0);
        uint256 c = a * b;
        if (c / a != b) return (false, 0);
        return (true, c);
    }

    /**
     * @dev Returns the division of two unsigned integers, with a division by zero flag.
     *
     * _Available since v3.4._
     */
    function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        if (b == 0) return (false, 0);
        return (true, a / b);
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag.
     *
     * _Available since v3.4._
     */
    function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        if (b == 0) return (false, 0);
        return (true, a % b);
    }

    /**
     * @dev Returns the addition of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `+` operator.
     *
     * Requirements:
     *
     * - Addition cannot overflow.
     */
    function add(uint256 a, uint256 b) internal pure returns (uint256) {
        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) {
        require(b <= a, "SafeMath: subtraction overflow");
        return a - b;
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `*` operator.
     *
     * Requirements:
     *
     * - Multiplication cannot overflow.
     */
    function mul(uint256 a, uint256 b) internal pure returns (uint256) {
        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, reverting 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) {
        require(b > 0, "SafeMath: division by zero");
        return a / b;
    }

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

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting with custom message on
     * overflow (when the result is negative).
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {trySub}.
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     *
     * - Subtraction cannot overflow.
     */
    function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        require(b <= a, errorMessage);
        return a - b;
    }

    /**
     * @dev Returns the integer division of two unsigned integers, reverting with custom message on
     * division by zero. The result is rounded towards zero.
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {tryDiv}.
     *
     * Counterpart to Solidity's `/` operator. Note: this function uses a
     * `revert` opcode (which leaves remaining gas untouched) while Solidity
     * uses an invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function div(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        require(b > 0, errorMessage);
        return a / b;
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * reverting with custom message when dividing by zero.
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {tryMod}.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function mod(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        require(b > 0, errorMessage);
        return a % b;
    }
}

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



pragma solidity >=0.6.2 <0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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



pragma solidity >=0.6.0 <0.8.0;

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

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

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

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

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

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

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

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

            bytes32 lastvalue = set._values[lastIndex];

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

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

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

            return true;
        } else {
            return false;
        }
    }

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

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

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

    // Bytes32Set

    struct Bytes32Set {
        Set _inner;
    }

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

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

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

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

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

    // AddressSet

    struct AddressSet {
        Set _inner;
    }

    /**
     * @dev Add a value to a set. O(1).
     *
     * Returns true if the value was added to the set, that is if it was not
     * already present.
     */
    function add(AddressSet storage set, address value) internal returns (bool) {
        return _add(set._inner, bytes32(uint256(uint160(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(uint160(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(uint160(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(uint160(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: @openzeppelin/contracts/utils/EnumerableMap.sol



pragma solidity >=0.6.0 <0.8.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 Tries to returns the value associated with `key`.  O(1).
     * Does not revert if `key` is not in the map.
     */
    function _tryGet(Map storage map, bytes32 key) private view returns (bool, bytes32) {
        uint256 keyIndex = map._indexes[key];
        if (keyIndex == 0) return (false, 0); // Equivalent to contains(map, key)
        return (true, map._entries[keyIndex - 1]._value); // All indexes are 1-based
    }

    /**
     * @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) {
        uint256 keyIndex = map._indexes[key];
        require(keyIndex != 0, "EnumerableMap: nonexistent key"); // Equivalent to contains(map, key)
        return map._entries[keyIndex - 1]._value; // All indexes are 1-based
    }

    /**
     * @dev Same as {_get}, with a custom error message when `key` is not in the map.
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {_tryGet}.
     */
    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(uint160(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(uint160(uint256(value))));
    }

    /**
     * @dev Tries to returns the value associated with `key`.  O(1).
     * Does not revert if `key` is not in the map.
     *
     * _Available since v3.4._
     */
    function tryGet(UintToAddressMap storage map, uint256 key) internal view returns (bool, address) {
        (bool success, bytes32 value) = _tryGet(map._inner, bytes32(key));
        return (success, address(uint160(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(uint160(uint256(_get(map._inner, bytes32(key)))));
    }

    /**
     * @dev Same as {get}, with a custom error message when `key` is not in the map.
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {tryGet}.
     */
    function get(UintToAddressMap storage map, uint256 key, string memory errorMessage) internal view returns (address) {
        return address(uint160(uint256(_get(map._inner, bytes32(key), errorMessage))));
    }
}

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



pragma solidity >=0.6.0 <0.8.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--] = bytes1(uint8(48 + temp % 10));
            temp /= 10;
        }
        return string(buffer);
    }
}

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



pragma solidity >=0.6.0 <0.8.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 ^ 0xe985e9c5 ^ 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;

    /**
     * @dev Initializes the contract by setting a `name` and a `symbol` to the token collection.
     */
    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 See {IERC721-balanceOf}.
     */
    function balanceOf(address owner) public view virtual override returns (uint256) {
        require(owner != address(0), "ERC721: balance query for the zero address");
        return _holderTokens[owner].length();
    }

    /**
     * @dev See {IERC721-ownerOf}.
     */
    function ownerOf(uint256 tokenId) public view virtual override returns (address) {
        return _tokenOwners.get(tokenId, "ERC721: owner query for nonexistent token");
    }

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

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

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

        string memory _tokenURI = _tokenURIs[tokenId];
        string memory base = baseURI();

        // If there is no base URI, return the token URI.
        if (bytes(base).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(base, _tokenURI));
        }
        // If there is a baseURI but no tokenURI, concatenate the tokenID to the baseURI.
        return string(abi.encodePacked(base, 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 virtual returns (string memory) {
        return _baseURI;
    }

    /**
     * @dev See {IERC721Enumerable-tokenOfOwnerByIndex}.
     */
    function tokenOfOwnerByIndex(address owner, uint256 index) public view virtual override returns (uint256) {
        return _holderTokens[owner].at(index);
    }

    /**
     * @dev See {IERC721Enumerable-totalSupply}.
     */
    function totalSupply() public view virtual override returns (uint256) {
        // _tokenOwners are indexed by tokenIds, so .length() returns the number of tokenIds
        return _tokenOwners.length();
    }

    /**
     * @dev See {IERC721Enumerable-tokenByIndex}.
     */
    function tokenByIndex(uint256 index) public view virtual override returns (uint256) {
        (uint256 tokenId, ) = _tokenOwners.at(index);
        return tokenId;
    }

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

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

        _approve(to, tokenId);
    }

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

        return _tokenApprovals[tokenId];
    }

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

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

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

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

        _transfer(from, to, tokenId);
    }

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

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

    /**
     * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients
     * are aware of the ERC721 protocol to prevent tokens from being forever locked.
     *
     * `_data` is additional data, it has no specified format and it is sent in call to `to`.
     *
     * This internal function is equivalent to {safeTransferFrom}, and can be used to e.g.
     * implement alternative mechanisms to perform token transfer, such as signature-based.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must exist and be owned by `from`.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function _safeTransfer(address from, address to, uint256 tokenId, bytes memory _data) internal virtual {
        _transfer(from, to, tokenId);
        require(_checkOnERC721Received(from, to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer");
    }

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

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

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

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

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

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

        _holderTokens[to].add(tokenId);

        _tokenOwners.set(tokenId, to);

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

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

        _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 Transfers `tokenId` from `from` to `to`.
     *  As opposed to {transferFrom}, this imposes no restrictions on msg.sender.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - `tokenId` token must be owned by `from`.
     *
     * Emits a {Transfer} event.
     */
    function _transfer(address from, address to, uint256 tokenId) internal virtual {
        require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer of token that is not own"); // internal owner
        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 Sets `_tokenURI` as the tokenURI of `tokenId`.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    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;
        }
        bytes memory returndata = to.functionCall(abi.encodeWithSelector(
            IERC721Receiver(to).onERC721Received.selector,
            _msgSender(),
            from,
            tokenId,
            _data
        ), "ERC721: transfer to non ERC721Receiver implementer");
        bytes4 retval = abi.decode(returndata, (bytes4));
        return (retval == _ERC721_RECEIVED);
    }

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

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

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



pragma solidity >=0.6.0 <0.8.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/utils/Pausable.sol



pragma solidity >=0.6.0 <0.8.0;


/**
 * @dev Contract module which allows children to implement an emergency stop
 * mechanism that can be triggered by an authorized account.
 *
 * This module is used through inheritance. It will make available the
 * modifiers `whenNotPaused` and `whenPaused`, which can be applied to
 * the functions of your contract. Note that they will not be pausable by
 * simply including this module, only once the modifiers are put in place.
 */
abstract contract Pausable is Context {
    /**
     * @dev Emitted when the pause is triggered by `account`.
     */
    event Paused(address account);

    /**
     * @dev Emitted when the pause is lifted by `account`.
     */
    event Unpaused(address account);

    bool private _paused;

    /**
     * @dev Initializes the contract in unpaused state.
     */
    constructor () internal {
        _paused = false;
    }

    /**
     * @dev Returns true if the contract is paused, and false otherwise.
     */
    function paused() public view virtual returns (bool) {
        return _paused;
    }

    /**
     * @dev Modifier to make a function callable only when the contract is not paused.
     *
     * Requirements:
     *
     * - The contract must not be paused.
     */
    modifier whenNotPaused() {
        require(!paused(), "Pausable: paused");
        _;
    }

    /**
     * @dev Modifier to make a function callable only when the contract is paused.
     *
     * Requirements:
     *
     * - The contract must be paused.
     */
    modifier whenPaused() {
        require(paused(), "Pausable: not paused");
        _;
    }

    /**
     * @dev Triggers stopped state.
     *
     * Requirements:
     *
     * - The contract must not be paused.
     */
    function _pause() internal virtual whenNotPaused {
        _paused = true;
        emit Paused(_msgSender());
    }

    /**
     * @dev Returns to normal state.
     *
     * Requirements:
     *
     * - The contract must be paused.
     */
    function _unpause() internal virtual whenPaused {
        _paused = false;
        emit Unpaused(_msgSender());
    }
}

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



pragma solidity >=0.6.0 <0.8.0;

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

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

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

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

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

    /**
     * @dev Leaves the contract without owner. It will not be possible to call
     * `onlyOwner` functions anymore. Can only be called by the current owner.
     *
     * NOTE: Renouncing ownership will leave the contract without an owner,
     * thereby removing any functionality that is only available to the owner.
     */
    function renounceOwnership() public virtual onlyOwner {
        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: contracts/Niftydudes.sol



pragma solidity ^0.7.6;






contract Niftydudes is ERC721, Ownable, Pausable {

    event NameUpdated(uint256 indexed dudeID, string previousName, string newName);
    event GeneratorUpdated(string previousArweaveHash, string newArweaveHash, string previousIpfsHash, string newIpfsHash);

    using Counters for Counters.Counter;
    using SafeMath for uint;

    string constant arweaveImgHash = "QRz8SYEKUXPl6b13pIKizKb7jji1v95RKmlUGqspuMQ";
    string constant ipfsImgHash = "QmNWdHPzZ2qcd1JJXuZZGUzeqExzLfSSMrgJMoNWf1fQgs";

    string arweaveGeneratorHash = "-eEz1VUXZE9EDaEyEe927S_TV53OGBPN4LXobDGkaWA";
    string ipfsGeneratorHash = "Qmc4sLXQPVyuGCi71Z2G7ezanhn9NjmyPwxAw2BFaCFsgT";

    uint constant maxSupply = 1024;

    uint constant skinLower = 606;
    uint constant beardLower = 536;
    uint constant mouthLower = 524;
    uint constant hairLower = 426;
    uint constant eyeLower = 600;
    uint constant shoesLower = 139;
    uint constant glassesLower = 199;
    uint constant hatsLower = 163;    
    uint constant bodytraitsLower = 389;
    uint constant dresstopLower = 252;
    uint constant dressbottomLower = 336;
    uint constant accessoiresLower = 211;  
    uint constant leftHandLower = 100;
    uint constant rightHandLower = 119;         

    uint constant skinUpper = 623;
    uint constant beardUpper = 599;
    uint constant mouthUpper = 535;
    uint constant hairUpper = 523;
    uint constant eyeUpper = 605;
    uint constant shoesUpper = 162;  
    uint constant glassesUpper = 210;
    uint constant hatsUpper = 198;      
    uint constant bodytraitsUpper = 425;
    uint constant dresstopUpper = 335;
    uint constant dressbottomUpper = 388;
    uint constant accessoireUpper = 251;    
    uint constant leftHandUpper = 118;
    uint constant rightHandUpper = 138;      

    uint constant emptyTrait = 999;   

    uint traitCost = 50000000000000000;
    uint baseCost = 300000000000000000;

    uint freeTraits = 14;

    mapping (string => bool) private nameAssigned;
    mapping (uint => bool) private removedTraitsMap;
    mapping (uint => uint) private tokenTraits;
    mapping (uint => bool) private existMap;
    mapping (uint => string) private dudeNames;

    uint[] private removedTraits;

    Counters.Counter private dudeCounter;

    uint skillBase;
    uint skillActivationBlock;

    constructor (string memory _name, string memory _symbol) ERC721(_name, _symbol) {
        _setBaseURI("https://niftydudes.com/metadata/");          
        _pause();
    }

    function purchase(uint[] memory singleTraits, uint[] memory bodyTraits, uint[] memory dresstop, uint[] memory dressbottom, uint[] memory accessoires) external payable {
        
        require(!paused() || msg.sender == owner(), "Purchases are paused.");
        require(singleTraits.length == 10);

        require(singleTraits[0] >= skinLower && singleTraits[0] <= skinUpper && !removedTraitsMap[singleTraits[0]], "At least one of the provided traits does not exist");
        require((singleTraits[1] == emptyTrait || singleTraits[1] >= beardLower && singleTraits[1] <= beardUpper) && !removedTraitsMap[singleTraits[1]], "At least one of the provided traits does not exist");
        require((singleTraits[2] == emptyTrait || singleTraits[2] >= mouthLower && singleTraits[2] <= mouthUpper) && !removedTraitsMap[singleTraits[2]], "At least one of the provided traits does not exist");
        require((singleTraits[3] == emptyTrait || singleTraits[3] >= hairLower && singleTraits[3] <= hairUpper) && !removedTraitsMap[singleTraits[3]], "At least one of the provided traits does not exist");
        require((singleTraits[4] == emptyTrait || singleTraits[4] >= eyeLower && singleTraits[4] <= eyeUpper) && !removedTraitsMap[singleTraits[4]], "At least one of the provided traits does not exist");
        require((singleTraits[5] == emptyTrait || singleTraits[5] >= hatsLower && singleTraits[5] <= hatsUpper) && !removedTraitsMap[singleTraits[5]], "At least one of the provided traits does not exist");
        require((singleTraits[6] == emptyTrait || singleTraits[6] >= glassesLower && singleTraits[6] <= glassesUpper) && !removedTraitsMap[singleTraits[6]], "At least one of the provided traits does not exist");
        require((singleTraits[7] == emptyTrait || singleTraits[7] >= leftHandLower && singleTraits[7] <= leftHandUpper) && !removedTraitsMap[singleTraits[7]], "At least one of the provided traits does not exist");
        require((singleTraits[8] == emptyTrait || singleTraits[8] >= rightHandLower && singleTraits[8] <= rightHandUpper) && !removedTraitsMap[singleTraits[8]], "At least one of the provided traits does not exist");
        require((singleTraits[9] == emptyTrait || singleTraits[9] >= shoesLower && singleTraits[9] <= shoesUpper) && !removedTraitsMap[singleTraits[9]], "At least one of the provided traits does not exist");

        uint numberOfTraits = bodyTraits.length.add(dresstop.length).add(dressbottom.length).add(accessoires.length).add(1);
        if(singleTraits[1]!=emptyTrait) numberOfTraits++;
        if(singleTraits[2]!=emptyTrait) numberOfTraits++;
        if(singleTraits[3]!=emptyTrait) numberOfTraits++;
        if(singleTraits[4]!=emptyTrait) numberOfTraits++;
        if(singleTraits[5]!=emptyTrait) numberOfTraits++;
        if(singleTraits[6]!=emptyTrait) numberOfTraits++;
        if(singleTraits[7]!=emptyTrait) numberOfTraits++;
        if(singleTraits[8]!=emptyTrait) numberOfTraits++;
        if(singleTraits[9]!=emptyTrait) numberOfTraits++;

        uint traitsToBill = 0;
        if(numberOfTraits > freeTraits) {
            traitsToBill = numberOfTraits.sub(freeTraits);
        }

        require((msg.value == baseCost + (traitsToBill * traitCost) || msg.sender == owner()), "ether amount incorrect");
        require(numberOfTraits <= 25, "must not provide more than 25 traits");
        require(dudeCounter.current() < maxSupply, "all dudes have been minted");

        uint traitCombination = lowLayerSingleCombi(singleTraits[0], singleTraits[1], singleTraits[2], singleTraits[3], singleTraits[4]);
        traitCombination = getMultiLayerCombi(traitCombination, bodyTraits, dresstop, dressbottom, accessoires);
        traitCombination = upperLayerSingleCombi(traitCombination, singleTraits[5], singleTraits[6], singleTraits[7], singleTraits[8], singleTraits[9]);

        storeNewDude(traitCombination);
    }

    function storeNewDude(uint traitCombi) private {
        require(!existMap[traitCombi], "dude already exists");
        existMap[traitCombi] = true;

        dudeCounter.increment();
        uint256 newDudeId = dudeCounter.current();

        tokenTraits[newDudeId] = traitCombi;

        if(newDudeId%2==0) {
            uint random = (rngTrait(1, newDudeId) % (skinLower-100)) + 100;
            if(!removedTraitsMap[random]) {
                removedTraits.push(random); 
            }
            removedTraitsMap[random] = true;
        }


        _safeMint(msg.sender, newDudeId);

        if (skillActivationBlock == 0 && newDudeId == maxSupply) {
            skillActivationBlock = block.number+2;
        }
    }

    function lowLayerSingleCombi(uint skin, uint beard, uint mouth, uint hair, uint eye) private pure returns (uint256) {
        uint result = skin;

        if(beard != emptyTrait) { result = result.mul(1000).add(beard); }
        if(mouth != emptyTrait) { result = result.mul(1000).add(mouth); }        
        if(hair != emptyTrait) { result = result.mul(1000).add(hair); }
        if(eye != emptyTrait) { result = result.mul(1000).add(eye); }        

        return result;
    }

    function getMultiLayerCombi(uint base, uint[] memory bodyTraits, uint[] memory dresstop, uint[] memory dressbottom, uint[] memory accessoires) private view returns (uint256) {
        base = base.mul(10**(bodyTraits.length*3)).add(validateAndCalculate(bodyTraits, bodytraitsLower, bodytraitsUpper));
        base = base.mul(10**(dresstop.length*3)).add(validateAndCalculate(dresstop,dresstopLower, dresstopUpper));
        base = base.mul(10**(dressbottom.length*3)).add(validateAndCalculate(dressbottom,dressbottomLower, dressbottomUpper));
        base = base.mul(10**(accessoires.length*3)).add(validateAndCalculate(accessoires,accessoiresLower, accessoireUpper));

        return base;
    }

    function upperLayerSingleCombi(uint base, uint hat, uint glasses, uint leftHand, uint rightHand, uint shoes) private pure returns (uint256) {
        if(hat != emptyTrait) { base = base.mul(1000).add(hat); }
        if(glasses != emptyTrait) { base = base.mul(1000).add(glasses); }
        if(shoes != emptyTrait) { base = base.mul(1000).add(shoes); }  
        if(leftHand != emptyTrait) { base = base.mul(1000).add(leftHand); }
        if(rightHand != emptyTrait) { base = base.mul(1000).add(rightHand); }

        return base;
    }

    function validateAndCalculate(uint[] memory traitCollection, uint lower, uint upper) private view returns (uint256) {
        uint traitCombi = 0;

        for (uint i=0; i < traitCollection.length; i++) {
            require(traitCollection[i] >= lower && traitCollection[i] <= upper, "At least one of the provided traits does not exist");
            require(!removedTraitsMap[traitCollection[i]], "At least one of the provided traits is not available anymore");
            
            bool unique = true;
            for(uint j=i+1; j<traitCollection.length; j++) {
                if(traitCollection[j] == traitCollection[i]) {
                    unique = false;
                }
            }
            require(unique, "Each trait can only be applied once");

            traitCombi = traitCombi.mul(1000).add(traitCollection[i]);
        }
        return traitCombi;
    }

    function withdraw() onlyOwner external {
        uint balance = address(this).balance;
        msg.sender.transfer(balance);
    }

    function changePrice(uint _basePrice, uint _traitPrice, uint _freeTraits) external onlyOwner {
        baseCost = _basePrice;
        traitCost = _traitPrice;
        freeTraits = _freeTraits;
    }

    function setBaseURI(string memory baseURI) external onlyOwner {
        _setBaseURI(baseURI);
    }

    function rngTrait(uint nonce, uint id) private view returns (uint) {
        return uint(keccak256(abi.encodePacked(nonce, id, block.timestamp, block.difficulty, blockhash(block.number-1))));
    }

    function rngSkills(uint nonce, uint id) private view returns (uint) {
        return uint(keccak256(abi.encodePacked(skillBase, nonce, id)));
    }

    function getRemovedTraits() external view returns (uint[] memory) {
        return removedTraits;
    }

    function getTraits(uint256 tokenId) external view returns (uint) {
        require(_exists(tokenId), "nonexistent token");
        return tokenTraits[tokenId];
    }

    function setGeneratorHashes(string memory newArweave, string memory newIpfs) external onlyOwner {
        string memory prevArweave = arweaveGeneratorHash;
        string memory prevIpfs = ipfsGeneratorHash;

        arweaveGeneratorHash = newArweave;
        ipfsGeneratorHash = newIpfs;

        emit GeneratorUpdated(prevArweave, newArweave, prevIpfs, newIpfs);
    }

    function getArweaveImgHash() external pure returns (string memory) {
        return arweaveImgHash;
    }

    function getIpfsImgHash() external pure returns (string memory) {
        return ipfsImgHash;
    }

    function getArweaveGeneratorHash() external view returns (string memory) {
        return arweaveGeneratorHash;
    }

    function getIpfsGeneratorHash() external view returns (string memory) {
        return ipfsGeneratorHash;
    }    

    function isUnique(uint traitCombi) external view returns (bool) {
        return !existMap[traitCombi];
    }    

    function shuffle(uint[] memory a, uint id) private view returns (uint[] memory){
        uint j;
        uint x;

        for (uint i = 5; i > 0; i--) {
            j = rngSkills(i, id) % (i + 1);
            x = a[i];
            a[i] = a[j];
            a[j] = x;
        }
        return a;
    }

    function getSkills(uint256 tokenId) external view returns (uint, uint, uint, uint, uint, uint) {
        require(_exists(tokenId), "nonexistent token");

        if(skillBase == 0) {
            return (0,0,0,0,0,0);
        } else {
            uint remainingSkills = 0;

            uint randDudeBase = rngSkills(1, tokenId);

            if(randDudeBase % maxSupply == 512) {
                remainingSkills = (rngSkills(2, tokenId) % 50) + 550;
            } else if(randDudeBase % maxSupply < 8) {
                remainingSkills = (rngSkills(2, tokenId) % 50) + 500;
            } else if((randDudeBase % maxSupply) + 8 < 40) {
                remainingSkills = (rngSkills(2, tokenId) % 100) + 400;
            } else if(randDudeBase % maxSupply > 895) {
                remainingSkills = (rngSkills(2, tokenId) % 100) + 300;
            } else {
                remainingSkills = (rngSkills(2, tokenId) % 100) + 200;
            }
            uint diff=0;
            
            uint[] memory skillArray = new uint[](6);

            if(remainingSkills > 500) {
                diff = remainingSkills-500;
                skillArray[0] = (rngSkills(3, tokenId) % (101-diff)) + diff;
            } else {
                skillArray[0] = rngSkills(3, tokenId) % 101;
            }
            remainingSkills -= skillArray[0];

            if(remainingSkills > 400) {
                diff = remainingSkills-400;
                skillArray[1] = (rngSkills(4, tokenId) % (101-diff)) + diff;
            } else {
                skillArray[1] = rngSkills(4, tokenId) % (remainingSkills > 100 ? 101 : (remainingSkills + 1));
            }
            remainingSkills -= skillArray[1];

            if(remainingSkills > 300) {
                diff = remainingSkills-300;
                skillArray[2] = (rngSkills(5, tokenId) % (101-diff)) + diff;
            } else {
                skillArray[2] = rngSkills(5, tokenId) % (remainingSkills > 100 ? 101 : (remainingSkills + 1));
            }
            remainingSkills -= skillArray[2];

            if(remainingSkills > 200) {
                diff = remainingSkills-200;
                skillArray[3] = (rngSkills(6, tokenId) % (101-diff)) + diff;
            } else {
                skillArray[3] = rngSkills(6, tokenId) % (remainingSkills > 100 ? 101 : (remainingSkills + 1));
            }
            remainingSkills -= skillArray[3];

            if(remainingSkills > 100) {
                diff = remainingSkills-100;
                skillArray[4] = (rngSkills(7, tokenId) % (101-diff)) + diff;
            } else {
                skillArray[4] = rngSkills(7, tokenId) % (remainingSkills > 100 ? 101 : (remainingSkills + 1));
            }
            remainingSkills -= skillArray[4];

            skillArray[5] = remainingSkills;

            skillArray = shuffle(skillArray, tokenId);

            return (skillArray[0], skillArray[1], skillArray[2], skillArray[3], skillArray[4], skillArray[5] );
        }
    }    

    function pauseMinting() external onlyOwner {
        _pause();
    }

    function unpauseMinting() external onlyOwner {
        _unpause();
    }    

    function activateSkills() external {
        require(skillBase == 0, "skill base is already set");
        require(skillActivationBlock != 0, "skill activation block must be set");
        require(block.number > skillActivationBlock, "block number too small");

        skillBase = uint(blockhash(skillActivationBlock));

        if (block.number.sub(skillActivationBlock) > 255) {
            skillBase = uint(blockhash(block.number-1));
        }
    }

    function getName(uint256 tokenID) external view returns (string memory) {
        require(_exists(tokenID), "nonexistent token");
        return dudeNames[tokenID];
    }

    function updateName(uint256 tokenID, string memory newName) external returns (string memory) {
        require(_exists(tokenID), "nonexistent token");
        require(sha256(bytes(newName)) != sha256(bytes(dudeNames[tokenID])), "New name and old name are equal");
        require(_isApprovedOrOwner(_msgSender(), tokenID), "caller is not owner nor approved");
        require(isNameAllowed(newName), "name is not allowed");
        require(!isNameReserved(newName), "Name already reserved");

        string memory prevName = dudeNames[tokenID];

        if (bytes(dudeNames[tokenID]).length > 0) {
            toggleAssignName(dudeNames[tokenID], false);
        }
        toggleAssignName(newName, true);

        dudeNames[tokenID] = newName;

        emit NameUpdated(tokenID, prevName, newName);

        return prevName;
    }

    function toggleAssignName(string memory str, bool isReserve) private {
        nameAssigned[toLower(str)] = isReserve;
    }

    function isNameReserved(string memory nameString) public view returns (bool) {
        return nameAssigned[toLower(nameString)];
    }

    function isNameAllowed(string memory newName) public pure returns (bool) {
        bytes memory byteName = bytes(newName);
        if(byteName.length < 1 || byteName.length > 25) return false;
        if(byteName[0] == 0x20 || byteName[byteName.length - 1] == 0x20) return false; // reject leading and trailing space

        bytes1 lastChar = byteName[0];

        for(uint i; i < byteName.length; i++){
            bytes1 currentChar = byteName[i];

            if (currentChar == 0x20 && lastChar == 0x20) return false; // reject double spaces

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

            lastChar = currentChar;
        }

        return true;
    }

    function toLower(string memory str) private pure returns (string memory){
        bytes memory bStr = bytes(str);
        bytes memory bLower = new bytes(bStr.length);
        for (uint i = 0; i < bStr.length; i++) {
            if ((uint8(bStr[i]) >= 65) && (uint8(bStr[i]) <= 90)) {
                bLower[i] = bytes1(uint8(bStr[i]) + 32);
            } else {
                bLower[i] = bStr[i];
            }
        }
        return string(bLower);
    }
 }

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string","name":"_name","type":"string"},{"internalType":"string","name":"_symbol","type":"string"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"string","name":"previousArweaveHash","type":"string"},{"indexed":false,"internalType":"string","name":"newArweaveHash","type":"string"},{"indexed":false,"internalType":"string","name":"previousIpfsHash","type":"string"},{"indexed":false,"internalType":"string","name":"newIpfsHash","type":"string"}],"name":"GeneratorUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"dudeID","type":"uint256"},{"indexed":false,"internalType":"string","name":"previousName","type":"string"},{"indexed":false,"internalType":"string","name":"newName","type":"string"}],"name":"NameUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Paused","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"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Unpaused","type":"event"},{"inputs":[],"name":"activateSkills","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_basePrice","type":"uint256"},{"internalType":"uint256","name":"_traitPrice","type":"uint256"},{"internalType":"uint256","name":"_freeTraits","type":"uint256"}],"name":"changePrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getArweaveGeneratorHash","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getArweaveImgHash","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"pure","type":"function"},{"inputs":[],"name":"getIpfsGeneratorHash","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getIpfsImgHash","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenID","type":"uint256"}],"name":"getName","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getRemovedTraits","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getSkills","outputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getTraits","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"string","name":"newName","type":"string"}],"name":"isNameAllowed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"string","name":"nameString","type":"string"}],"name":"isNameReserved","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"traitCombi","type":"uint256"}],"name":"isUnique","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pauseMinting","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"singleTraits","type":"uint256[]"},{"internalType":"uint256[]","name":"bodyTraits","type":"uint256[]"},{"internalType":"uint256[]","name":"dresstop","type":"uint256[]"},{"internalType":"uint256[]","name":"dressbottom","type":"uint256[]"},{"internalType":"uint256[]","name":"accessoires","type":"uint256[]"}],"name":"purchase","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":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"baseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"newArweave","type":"string"},{"internalType":"string","name":"newIpfs","type":"string"}],"name":"setGeneratorHashes","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":[],"name":"unpauseMinting","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenID","type":"uint256"},{"internalType":"string","name":"newName","type":"string"}],"name":"updateName","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60e0604052602b60808181529062005ca260a03980516200002991600b91602090910190620004a2565b506040518060600160405280602e815260200162005ccd602e913980516200005a91600c91602090910190620004a2565b5066b1a2bc2ec50000600d55670429d069189e0000600e55600e600f553480156200008457600080fd5b5060405162005cfb38038062005cfb83398181016040526040811015620000aa57600080fd5b8101908080516040519392919084640100000000821115620000cb57600080fd5b908301906020820185811115620000e157600080fd5b8251640100000000811182820188101715620000fc57600080fd5b82525081516020918201929091019080838360005b838110156200012b57818101518382015260200162000111565b50505050905090810190601f168015620001595780820380516001836020036101000a031916815260200191505b50604052602001805160405193929190846401000000008211156200017d57600080fd5b9083019060208201858111156200019357600080fd5b8251640100000000811182820188101715620001ae57600080fd5b82525081516020918201929091019080838360005b83811015620001dd578181015183820152602001620001c3565b50505050905090810190601f1680156200020b5780820380516001836020036101000a031916815260200191505b5060405250839150829050620002286301ffc9a760e01b62000345565b81516200023d906006906020850190620004a2565b50805162000253906007906020840190620004a2565b50620002666380ac58cd60e01b62000345565b62000278635b5e139f60e01b62000345565b6200028a63780e9d6360e01b62000345565b506000905062000299620003ca565b600a80546001600160a01b0319166001600160a01b038316908117909155604051919250906000907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a350600a805460ff60a01b191690556040805180820190915260208082527f68747470733a2f2f6e6966747964756465732e636f6d2f6d657461646174612f908201526200033390620003ce565b6200033d620003e7565b50506200054e565b6001600160e01b03198082161415620003a5576040805162461bcd60e51b815260206004820152601c60248201527f4552433136353a20696e76616c696420696e7465726661636520696400000000604482015290519081900360640190fd5b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b3390565b8051620003e3906009906020840190620004a2565b5050565b620003f162000492565b1562000437576040805162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b604482015290519081900360640190fd5b600a805460ff60a01b1916600160a01b1790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a25862000475620003ca565b604080516001600160a01b039092168252519081900360200190a1565b600a54600160a01b900460ff1690565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282620004da576000855562000525565b82601f10620004f557805160ff191683800117855562000525565b8280016001018555821562000525579182015b828111156200052557825182559160200191906001019062000508565b506200053392915062000537565b5090565b5b8082111562000533576000815560010162000538565b615744806200055e6000396000f3fe6080604052600436106102455760003560e01c80635c975abb11610139578063a22cb465116100b6578063da8fbf2a1161007a578063da8fbf2a14610c74578063e1dc076114610c89578063e7fc646514610cb3578063e985e9c514610f5c578063ee7930df14610f97578063f2fde38b14610fac57610245565b8063a22cb46514610b14578063ae20032214610b4f578063b88d4fde14610b64578063c87b56dd14610c35578063cfb3e10214610c5f57610245565b8063715018a6116100fd578063715018a6146108ee5780638da5cb5b1461090357806395d89b4114610918578063974738f41461092d5780639c854a99146109de57610245565b80635c975abb1461083d5780636352211e146108525780636b8ff5741461087c5780636c0360eb146108a657806370a08231146108bb57610245565b80632f745c59116101c757806342842e0e1161018b57806342842e0e146106525780634f6ccce714610695578063512edfaa146106bf57806353e76f2c146106d457806355f804b31461078c57610245565b80632f745c59146105a457806330ba4cfc146105dd5780633ccfd60b146105f25780634003f9971461060757806340e2b4b81461061c57610245565b8063095ea7b31161020e578063095ea7b3146103e957806315b56d101461042457806317bed2c5146104d557806318160ddd1461053a57806323b872dd1461056157610245565b806292bf781461024a57806301ffc9a7146102a757806306fdde03146102ef5780630750d2fb14610379578063081812fc146103a3575b600080fd5b34801561025657600080fd5b506102746004803603602081101561026d57600080fd5b5035610fdf565b604080519687526020870195909552858501939093526060850191909152608084015260a0830152519081900360c00190f35b3480156102b357600080fd5b506102db600480360360208110156102ca57600080fd5b50356001600160e01b031916611530565b604080519115158252519081900360200190f35b3480156102fb57600080fd5b50610304611553565b6040805160208082528351818301528351919283929083019185019080838360005b8381101561033e578181015183820152602001610326565b50505050905090810190601f16801561036b5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34801561038557600080fd5b506102db6004803603602081101561039c57600080fd5b50356115e9565b3480156103af57600080fd5b506103cd600480360360208110156103c657600080fd5b50356115ff565b604080516001600160a01b039092168252519081900360200190f35b3480156103f557600080fd5b506104226004803603604081101561040c57600080fd5b506001600160a01b038135169060200135611661565b005b34801561043057600080fd5b506102db6004803603602081101561044757600080fd5b810190602081018135600160201b81111561046157600080fd5b82018360208201111561047357600080fd5b803590602001918460018302840111600160201b8311171561049457600080fd5b91908080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525092955061173c945050505050565b3480156104e157600080fd5b506104ea6117af565b60408051602080825283518183015283519192839290830191858101910280838360005b8381101561052657818101518382015260200161050e565b505050509050019250505060405180910390f35b34801561054657600080fd5b5061054f611806565b60408051918252519081900360200190f35b34801561056d57600080fd5b506104226004803603606081101561058457600080fd5b506001600160a01b03813581169160208101359091169060400135611817565b3480156105b057600080fd5b5061054f600480360360408110156105c757600080fd5b506001600160a01b03813516906020013561186e565b3480156105e957600080fd5b50610304611899565b3480156105fe57600080fd5b506104226118b9565b34801561061357600080fd5b5061042261194e565b34801561062857600080fd5b506104226004803603606081101561063f57600080fd5b5080359060208101359060400135611a58565b34801561065e57600080fd5b506104226004803603606081101561067557600080fd5b506001600160a01b03813581169160208101359091169060400135611ac8565b3480156106a157600080fd5b5061054f600480360360208110156106b857600080fd5b5035611ae3565b3480156106cb57600080fd5b50610304611af9565b3480156106e057600080fd5b50610304600480360360408110156106f757600080fd5b81359190810190604081016020820135600160201b81111561071857600080fd5b82018360208201111561072a57600080fd5b803590602001918460018302840111600160201b8311171561074b57600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250929550611b19945050505050565b34801561079857600080fd5b50610422600480360360208110156107af57600080fd5b810190602081018135600160201b8111156107c957600080fd5b8201836020820111156107db57600080fd5b803590602001918460018302840111600160201b831117156107fc57600080fd5b91908080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525092955061208b945050505050565b34801561084957600080fd5b506102db6120f9565b34801561085e57600080fd5b506103cd6004803603602081101561087557600080fd5b5035612109565b34801561088857600080fd5b506103046004803603602081101561089f57600080fd5b5035612131565b3480156108b257600080fd5b50610304612220565b3480156108c757600080fd5b5061054f600480360360208110156108de57600080fd5b50356001600160a01b0316612281565b3480156108fa57600080fd5b506104226122e9565b34801561090f57600080fd5b506103cd612395565b34801561092457600080fd5b506103046123a4565b34801561093957600080fd5b506102db6004803603602081101561095057600080fd5b810190602081018135600160201b81111561096a57600080fd5b82018360208201111561097c57600080fd5b803590602001918460018302840111600160201b8311171561099d57600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250929550612405945050505050565b3480156109ea57600080fd5b5061042260048036036040811015610a0157600080fd5b810190602081018135600160201b811115610a1b57600080fd5b820183602082011115610a2d57600080fd5b803590602001918460018302840111600160201b83111715610a4e57600080fd5b91908080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152509295949360208101935035915050600160201b811115610aa057600080fd5b820183602082011115610ab257600080fd5b803590602001918460018302840111600160201b83111715610ad357600080fd5b91908080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152509295506125df945050505050565b348015610b2057600080fd5b5061042260048036036040811015610b3757600080fd5b506001600160a01b0381351690602001351515612966565b348015610b5b57600080fd5b50610422612a6b565b348015610b7057600080fd5b5061042260048036036080811015610b8757600080fd5b6001600160a01b03823581169260208101359091169160408201359190810190608081016060820135600160201b811115610bc157600080fd5b820183602082011115610bd357600080fd5b803590602001918460018302840111600160201b83111715610bf457600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250929550612ad5945050505050565b348015610c4157600080fd5b5061030460048036036020811015610c5857600080fd5b5035612b33565b348015610c6b57600080fd5b50610304612db4565b348015610c8057600080fd5b50610422612e15565b348015610c9557600080fd5b5061054f60048036036020811015610cac57600080fd5b5035612e7f565b610422600480360360a0811015610cc957600080fd5b810190602081018135600160201b811115610ce357600080fd5b820183602082011115610cf557600080fd5b803590602001918460208302840111600160201b83111715610d1657600080fd5b9190808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152509295949360208101935035915050600160201b811115610d6557600080fd5b820183602082011115610d7757600080fd5b803590602001918460208302840111600160201b83111715610d9857600080fd5b9190808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152509295949360208101935035915050600160201b811115610de757600080fd5b820183602082011115610df957600080fd5b803590602001918460208302840111600160201b83111715610e1a57600080fd5b9190808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152509295949360208101935035915050600160201b811115610e6957600080fd5b820183602082011115610e7b57600080fd5b803590602001918460208302840111600160201b83111715610e9c57600080fd5b9190808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152509295949360208101935035915050600160201b811115610eeb57600080fd5b820183602082011115610efd57600080fd5b803590602001918460208302840111600160201b83111715610f1e57600080fd5b919080806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250929550612ee2945050505050565b348015610f6857600080fd5b506102db60048036036040811015610f7f57600080fd5b506001600160a01b0381358116916020013516613ade565b348015610fa357600080fd5b50610304613b0c565b348015610fb857600080fd5b5061042260048036036020811015610fcf57600080fd5b50356001600160a01b0316613b6d565b600080600080600080610ff187613c70565b611036576040805162461bcd60e51b81526020600482015260116024820152703737b732bc34b9ba32b73a103a37b5b2b760791b604482015290519081900360640190fd5b60175461105457506000945084935083925082915081905080611527565b60008061106260018a613c7d565b90506104008106610200141561109257603261107f60028b613c7d565b8161108657fe5b06610226019150611138565b6008610400820610156110bf5760326110ac60028b613c7d565b816110b357fe5b066101f4019150611138565b6028610400820660080110156110ef5760646110dc60028b613c7d565b816110e357fe5b06610190019150611138565b61037f6104008206111561111d57606461110a60028b613c7d565b8161111157fe5b0661012c019150611138565b606461112a60028b613c7d565b8161113157fe5b0660c80191505b60408051600680825260e082019092526000918291906020820160c0803683370190505090506101f48411156111a6576101f484039150818260650361117f60038e613c7d565b8161118657fe5b06018160008151811061119557fe5b6020026020010181815250506111d5565b60656111b360038d613c7d565b816111ba57fe5b06816000815181106111c857fe5b6020026020010181815250505b806000815181106111e257fe5b6020026020010151840393506101908411156112365761019084039150818260650361120f60048e613c7d565b8161121657fe5b06018160018151811061122557fe5b602002602001018181525050611277565b60648411611247578360010161124a565b60655b61125560048d613c7d565b8161125c57fe5b068160018151811061126a57fe5b6020026020010181815250505b8060018151811061128457fe5b60200260200101518403935061012c8411156112d85761012c8403915081826065036112b160058e613c7d565b816112b857fe5b0601816002815181106112c757fe5b602002602001018181525050611319565b606484116112e957836001016112ec565b60655b6112f760058d613c7d565b816112fe57fe5b068160028151811061130c57fe5b6020026020010181815250505b8060028151811061132657fe5b60200260200101518403935060c88411156113785760c884039150818260650361135160068e613c7d565b8161135857fe5b06018160038151811061136757fe5b6020026020010181815250506113b9565b60648411611389578360010161138c565b60655b61139760068d613c7d565b8161139e57fe5b06816003815181106113ac57fe5b6020026020010181815250505b806003815181106113c657fe5b60200260200101518403935060648411156114185760648403915081826065036113f160078e613c7d565b816113f857fe5b06018160048151811061140757fe5b602002602001018181525050611459565b60648411611429578360010161142c565b60655b61143760078d613c7d565b8161143e57fe5b068160048151811061144c57fe5b6020026020010181815250505b8060048151811061146657fe5b602002602001015184039350838160058151811061148057fe5b602002602001018181525050611496818c613cb7565b9050806000815181106114a557fe5b6020026020010151816001815181106114ba57fe5b6020026020010151826002815181106114cf57fe5b6020026020010151836003815181106114e457fe5b6020026020010151846004815181106114f957fe5b60200260200101518560058151811061150e57fe5b6020026020010151995099509950995099509950505050505b91939550919395565b6001600160e01b0319811660009081526020819052604090205460ff165b919050565b60068054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156115df5780601f106115b4576101008083540402835291602001916115df565b820191906000526020600020905b8154815290600101906020018083116115c257829003601f168201915b5050505050905090565b60009081526013602052604090205460ff161590565b600061160a82613c70565b6116455760405162461bcd60e51b815260040180806020018281038252602c8152602001806155f6602c913960400191505060405180910390fd5b506000908152600460205260409020546001600160a01b031690565b600061166c82612109565b9050806001600160a01b0316836001600160a01b031614156116bf5760405162461bcd60e51b815260040180806020018281038252602181526020018061569a6021913960400191505060405180910390fd5b806001600160a01b03166116d1613d4a565b6001600160a01b031614806116f257506116f2816116ed613d4a565b613ade565b61172d5760405162461bcd60e51b81526004018080602001828103825260388152602001806155286038913960400191505060405180910390fd5b6117378383613d4e565b505050565b6000601061174983613dbc565b6040518082805190602001908083835b602083106117785780518252601f199092019160209182019101611759565b51815160209384036101000a600019018019909216911617905292019485525060405193849003019092205460ff16949350505050565b606060158054806020026020016040519081016040528092919081815260200182805480156115df57602002820191906000526020600020905b8154815260200190600101908083116117e9575050505050905090565b60006118126002613edf565b905090565b611828611822613d4a565b82613eea565b6118635760405162461bcd60e51b81526004018080602001828103825260318152602001806156de6031913960400191505060405180910390fd5b611737838383613f8e565b6001600160a01b038216600090815260016020526040812061189090836140da565b90505b92915050565b60606040518060600160405280602e815260200161532b602e9139905090565b6118c1613d4a565b6001600160a01b03166118d2612395565b6001600160a01b03161461191b576040805162461bcd60e51b81526020600482018190526024820152600080516020615622833981519152604482015290519081900360640190fd5b6040514790339082156108fc029083906000818181858888f1935050505015801561194a573d6000803e3d6000fd5b5050565b601754156119a3576040805162461bcd60e51b815260206004820152601960248201527f736b696c6c206261736520697320616c72656164792073657400000000000000604482015290519081900360640190fd5b6018546119e15760405162461bcd60e51b815260040180806020018281038252602281526020018061537b6022913960400191505060405180910390fd5b6018544311611a30576040805162461bcd60e51b8152602060048201526016602482015275189b1bd8dac81b9d5b58995c881d1bdbc81cdb585b1b60521b604482015290519081900360640190fd5b601854804060175560ff90611a469043906140e6565b1115611a56576000194301406017555b565b611a60613d4a565b6001600160a01b0316611a71612395565b6001600160a01b031614611aba576040805162461bcd60e51b81526020600482018190526024820152600080516020615622833981519152604482015290519081900360640190fd5b600e92909255600d55600f55565b61173783838360405180602001604052806000815250612ad5565b600080611af1600284614143565b509392505050565b60606040518060600160405280602b8152602001615419602b9139905090565b6060611b2483613c70565b611b69576040805162461bcd60e51b81526020600482015260116024820152703737b732bc34b9ba32b73a103a37b5b2b760791b604482015290519081900360640190fd5b6002601460008581526020019081526020016000206040518082805460018160011615610100020316600290048015611bd95780601f10611bb7576101008083540402835291820191611bd9565b820191906000526020600020905b815481529060010190602001808311611bc5575b5050915050602060405180830381855afa158015611bfb573d6000803e3d6000fd5b5050506040513d6020811015611c1057600080fd5b505160405183516002918591819060208401908083835b60208310611c465780518252601f199092019160209182019101611c27565b51815160209384036101000a60001901801990921691161790526040519190930194509192505080830381855afa158015611c85573d6000803e3d6000fd5b5050506040513d6020811015611c9a57600080fd5b50511415611cef576040805162461bcd60e51b815260206004820152601f60248201527f4e6577206e616d6520616e64206f6c64206e616d652061726520657175616c00604482015290519081900360640190fd5b611d00611cfa613d4a565b84613eea565b611d51576040805162461bcd60e51b815260206004820181905260248201527f63616c6c6572206973206e6f74206f776e6572206e6f7220617070726f766564604482015290519081900360640190fd5b611d5a82612405565b611da1576040805162461bcd60e51b81526020600482015260136024820152721b985b59481a5cc81b9bdd08185b1b1bddd959606a1b604482015290519081900360640190fd5b611daa8261173c565b15611df4576040805162461bcd60e51b815260206004820152601560248201527413985b5948185b1c9958591e481c995cd95c9d9959605a1b604482015290519081900360640190fd5b60008381526014602090815260408083208054825160026001831615610100026000190190921691909104601f810185900485028201850190935282815292909190830182828015611e875780601f10611e5c57610100808354040283529160200191611e87565b820191906000526020600020905b815481529060010190602001808311611e6a57829003601f168201915b50505060008781526014602052604090205492935050506002600019610100600184161502019091160415611f585760008481526014602090815260409182902080548351601f60026000196101006001861615020190931692909204918201849004840281018401909452808452611f589392830182828015611f4c5780601f10611f2157610100808354040283529160200191611f4c565b820191906000526020600020905b815481529060010190602001808311611f2f57829003601f168201915b5050505050600061415f565b611f6383600161415f565b60008481526014602090815260409091208451611f8292860190615289565b50837f8eff5208043d31f23e348dc06be3a80821505e5b3e0002e9fa1185f5d47eac598285604051808060200180602001838103835285818151815260200191508051906020019080838360005b83811015611fe8578181015183820152602001611fd0565b50505050905090810190601f1680156120155780820380516001836020036101000a031916815260200191505b50838103825284518152845160209182019186019080838360005b83811015612048578181015183820152602001612030565b50505050905090810190601f1680156120755780820380516001836020036101000a031916815260200191505b5094505050505060405180910390a29392505050565b612093613d4a565b6001600160a01b03166120a4612395565b6001600160a01b0316146120ed576040805162461bcd60e51b81526020600482018190526024820152600080516020615622833981519152604482015290519081900360640190fd5b6120f6816141db565b50565b600a54600160a01b900460ff1690565b60006118938260405180606001604052806029815260200161558a60299139600291906141ee565b606061213c82613c70565b612181576040805162461bcd60e51b81526020600482015260116024820152703737b732bc34b9ba32b73a103a37b5b2b760791b604482015290519081900360640190fd5b60008281526014602090815260409182902080548351601f6002600019610100600186161502019093169290920491820184900484028101840190945280845290918301828280156122145780601f106121e957610100808354040283529160200191612214565b820191906000526020600020905b8154815290600101906020018083116121f757829003601f168201915b50505050509050919050565b60098054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156115df5780601f106115b4576101008083540402835291602001916115df565b60006001600160a01b0382166122c85760405162461bcd60e51b815260040180806020018281038252602a815260200180615560602a913960400191505060405180910390fd5b6001600160a01b038216600090815260016020526040902061189390613edf565b6122f1613d4a565b6001600160a01b0316612302612395565b6001600160a01b03161461234b576040805162461bcd60e51b81526020600482018190526024820152600080516020615622833981519152604482015290519081900360640190fd5b600a546040516000916001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600a80546001600160a01b0319169055565b600a546001600160a01b031690565b60078054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156115df5780601f106115b4576101008083540402835291602001916115df565b60008082905060018151108061241c575060198151115b1561242b57600091505061154e565b8060008151811061243857fe5b6020910101516001600160f81b031916600160fd1b148061247b57508060018251038151811061246457fe5b6020910101516001600160f81b031916600160fd1b145b1561248a57600091505061154e565b60008160008151811061249957fe5b01602001516001600160f81b031916905060005b82518110156125d45760008382815181106124c457fe5b01602001516001600160f81b0319169050600160fd1b811480156124f55750600160fd1b6001600160f81b03198416145b1561250757600094505050505061154e565b600360fc1b6001600160f81b03198216108015906125335750603960f81b6001600160f81b0319821611155b1580156125695750604160f81b6001600160f81b03198216108015906125675750602d60f91b6001600160f81b0319821611155b155b801561259e5750606160f81b6001600160f81b031982161080159061259c5750603d60f91b6001600160f81b0319821611155b155b80156125b85750600160fd1b6001600160f81b0319821614155b156125ca57600094505050505061154e565b91506001016124ad565b506001949350505050565b6125e7613d4a565b6001600160a01b03166125f8612395565b6001600160a01b031614612641576040805162461bcd60e51b81526020600482018190526024820152600080516020615622833981519152604482015290519081900360640190fd5b600b8054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152600093909290918301828280156126cd5780601f106126a2576101008083540402835291602001916126cd565b820191906000526020600020905b8154815290600101906020018083116126b057829003601f168201915b5050600c8054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152969750600096955091935091508301828280156127615780601f1061273657610100808354040283529160200191612761565b820191906000526020600020905b81548152906001019060200180831161274457829003601f168201915b5050875193945061277d93600b93506020890192509050615289565b50825161279190600c906020860190615289565b507f749c3a293036558594fed68c5a20a9e177e397448ac5b76985e0010b2f176a3f828583866040518080602001806020018060200180602001858103855289818151815260200191508051906020019080838360005b838110156128005781810151838201526020016127e8565b50505050905090810190601f16801561282d5780820380516001836020036101000a031916815260200191505b5085810384528851815288516020918201918a019080838360005b83811015612860578181015183820152602001612848565b50505050905090810190601f16801561288d5780820380516001836020036101000a031916815260200191505b50858103835287518152875160209182019189019080838360005b838110156128c05781810151838201526020016128a8565b50505050905090810190601f1680156128ed5780820380516001836020036101000a031916815260200191505b50858103825286518152865160209182019188019080838360005b83811015612920578181015183820152602001612908565b50505050905090810190601f16801561294d5780820380516001836020036101000a031916815260200191505b509850505050505050505060405180910390a150505050565b61296e613d4a565b6001600160a01b0316826001600160a01b031614156129d4576040805162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c657200000000000000604482015290519081900360640190fd5b80600560006129e1613d4a565b6001600160a01b03908116825260208083019390935260409182016000908120918716808252919093529120805460ff191692151592909217909155612a25613d4a565b6001600160a01b03167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405180821515815260200191505060405180910390a35050565b612a73613d4a565b6001600160a01b0316612a84612395565b6001600160a01b031614612acd576040805162461bcd60e51b81526020600482018190526024820152600080516020615622833981519152604482015290519081900360640190fd5b611a56614205565b612ae6612ae0613d4a565b83613eea565b612b215760405162461bcd60e51b81526004018080602001828103825260318152602001806156de6031913960400191505060405180910390fd5b612b2d848484846142a8565b50505050565b6060612b3e82613c70565b612b795760405162461bcd60e51b815260040180806020018281038252602f81526020018061566b602f913960400191505060405180910390fd5b60008281526008602090815260408083208054825160026001831615610100026000190190921691909104601f810185900485028201850190935282815292909190830182828015612c0c5780601f10612be157610100808354040283529160200191612c0c565b820191906000526020600020905b815481529060010190602001808311612bef57829003601f168201915b505050505090506000612c1d612220565b9050805160001415612c315750905061154e565b815115612cf25780826040516020018083805190602001908083835b60208310612c6c5780518252601f199092019160209182019101612c4d565b51815160209384036101000a600019018019909216911617905285519190930192850191508083835b60208310612cb45780518252601f199092019160209182019101612c95565b6001836020036101000a038019825116818451168082178552505050505050905001925050506040516020818303038152906040529250505061154e565b80612cfc856142fa565b6040516020018083805190602001908083835b60208310612d2e5780518252601f199092019160209182019101612d0f565b51815160209384036101000a600019018019909216911617905285519190930192850191508083835b60208310612d765780518252601f199092019160209182019101612d57565b6001836020036101000a0380198251168184511680821785525050505050509050019250505060405160208183030381529060405292505050919050565b600b8054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156115df5780601f106115b4576101008083540402835291602001916115df565b612e1d613d4a565b6001600160a01b0316612e2e612395565b6001600160a01b031614612e77576040805162461bcd60e51b81526020600482018190526024820152600080516020615622833981519152604482015290519081900360640190fd5b611a566143d5565b6000612e8a82613c70565b612ecf576040805162461bcd60e51b81526020600482015260116024820152703737b732bc34b9ba32b73a103a37b5b2b760791b604482015290519081900360640190fd5b5060009081526012602052604090205490565b612eea6120f9565b1580612f0e5750612ef9612395565b6001600160a01b0316336001600160a01b0316145b612f57576040805162461bcd60e51b8152602060048201526015602482015274283ab931b430b9b2b99030b932903830bab9b2b21760591b604482015290519081900360640190fd5b8451600a14612f6557600080fd5b61025e85600081518110612f7557fe5b602002602001015110158015612fa1575061026f85600081518110612f9657fe5b602002602001015111155b8015612fd957506011600086600081518110612fb957fe5b60209081029190910181015182528101919091526040016000205460ff16155b6130145760405162461bcd60e51b81526004018080602001828103825260328152602001806154686032913960400191505060405180910390fd5b6103e78560018151811061302457fe5b6020026020010151148061306f57506102188560018151811061304357fe5b60200260200101511015801561306f57506102578560018151811061306457fe5b602002602001015111155b80156130a75750601160008660018151811061308757fe5b60209081029190910181015182528101919091526040016000205460ff16155b6130e25760405162461bcd60e51b81526004018080602001828103825260328152602001806154686032913960400191505060405180910390fd5b6103e7856002815181106130f257fe5b6020026020010151148061313d575061020c8560028151811061311157fe5b60200260200101511015801561313d57506102178560028151811061313257fe5b602002602001015111155b80156131755750601160008660028151811061315557fe5b60209081029190910181015182528101919091526040016000205460ff16155b6131b05760405162461bcd60e51b81526004018080602001828103825260328152602001806154686032913960400191505060405180910390fd5b6103e7856003815181106131c057fe5b6020026020010151148061320b57506101aa856003815181106131df57fe5b60200260200101511015801561320b575061020b8560038151811061320057fe5b602002602001015111155b80156132435750601160008660038151811061322357fe5b60209081029190910181015182528101919091526040016000205460ff16155b61327e5760405162461bcd60e51b81526004018080602001828103825260328152602001806154686032913960400191505060405180910390fd5b6103e78560048151811061328e57fe5b602002602001015114806132d95750610258856004815181106132ad57fe5b6020026020010151101580156132d9575061025d856004815181106132ce57fe5b602002602001015111155b8015613311575060116000866004815181106132f157fe5b60209081029190910181015182528101919091526040016000205460ff16155b61334c5760405162461bcd60e51b81526004018080602001828103825260328152602001806154686032913960400191505060405180910390fd5b6103e78560058151811061335c57fe5b602002602001015114806133a5575060a38560058151811061337a57fe5b6020026020010151101580156133a5575060c68560058151811061339a57fe5b602002602001015111155b80156133dd575060116000866005815181106133bd57fe5b60209081029190910181015182528101919091526040016000205460ff16155b6134185760405162461bcd60e51b81526004018080602001828103825260328152602001806154686032913960400191505060405180910390fd5b6103e78560068151811061342857fe5b60200260200101511480613471575060c78560068151811061344657fe5b602002602001015110158015613471575060d28560068151811061346657fe5b602002602001015111155b80156134a95750601160008660068151811061348957fe5b60209081029190910181015182528101919091526040016000205460ff16155b6134e45760405162461bcd60e51b81526004018080602001828103825260328152602001806154686032913960400191505060405180910390fd5b6103e7856007815181106134f457fe5b6020026020010151148061353d575060648560078151811061351257fe5b60200260200101511015801561353d575060768560078151811061353257fe5b602002602001015111155b80156135755750601160008660078151811061355557fe5b60209081029190910181015182528101919091526040016000205460ff16155b6135b05760405162461bcd60e51b81526004018080602001828103825260328152602001806154686032913960400191505060405180910390fd5b6103e7856008815181106135c057fe5b6020026020010151148061360957506077856008815181106135de57fe5b6020026020010151101580156136095750608a856008815181106135fe57fe5b602002602001015111155b80156136415750601160008660088151811061362157fe5b60209081029190910181015182528101919091526040016000205460ff16155b61367c5760405162461bcd60e51b81526004018080602001828103825260328152602001806154686032913960400191505060405180910390fd5b6103e78560098151811061368c57fe5b602002602001015114806136d55750608b856009815181106136aa57fe5b6020026020010151101580156136d5575060a2856009815181106136ca57fe5b602002602001015111155b801561370d575060116000866009815181106136ed57fe5b60209081029190910181015182528101919091526040016000205460ff16155b6137485760405162461bcd60e51b81526004018080602001828103825260328152602001806154686032913960400191505060405180910390fd5b6000613774600161376e845161376e875161376e8a518c5161445e90919063ffffffff16565b9061445e565b90506103e78660018151811061378657fe5b602002602001015114613797576001015b6103e7866002815181106137a757fe5b6020026020010151146137b8576001015b6103e7866003815181106137c857fe5b6020026020010151146137d9576001015b6103e7866004815181106137e957fe5b6020026020010151146137fa576001015b6103e78660058151811061380a57fe5b60200260200101511461381b576001015b6103e78660068151811061382b57fe5b60200260200101511461383c576001015b6103e78660078151811061384c57fe5b60200260200101511461385d576001015b6103e78660088151811061386d57fe5b60200260200101511461387e576001015b6103e78660098151811061388e57fe5b60200260200101511461389f576001015b6000600f548211156138bc57600f546138b99083906140e6565b90505b600d548102600e54013414806138ea57506138d5612395565b6001600160a01b0316336001600160a01b0316145b613934576040805162461bcd60e51b8152602060048201526016602482015275195d1a195c88185b5bdd5b9d081a5b98dbdc9c9958dd60521b604482015290519081900360640190fd5b60198211156139745760405162461bcd60e51b815260040180806020018281038252602481526020018061539d6024913960400191505060405180910390fd5b61040061398160166144b8565b106139d3576040805162461bcd60e51b815260206004820152601a60248201527f616c6c2064756465732068617665206265656e206d696e746564000000000000604482015290519081900360640190fd5b6000613a46886000815181106139e557fe5b6020026020010151896001815181106139fa57fe5b60200260200101518a600281518110613a0f57fe5b60200260200101518b600381518110613a2457fe5b60200260200101518c600481518110613a3957fe5b60200260200101516144bc565b9050613a558188888888614539565b9050613ac98189600581518110613a6857fe5b60200260200101518a600681518110613a7d57fe5b60200260200101518b600781518110613a9257fe5b60200260200101518c600881518110613aa757fe5b60200260200101518d600981518110613abc57fe5b60200260200101516145d2565b9050613ad48161466b565b5050505050505050565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b600c8054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156115df5780601f106115b4576101008083540402835291602001916115df565b613b75613d4a565b6001600160a01b0316613b86612395565b6001600160a01b031614613bcf576040805162461bcd60e51b81526020600482018190526024820152600080516020615622833981519152604482015290519081900360640190fd5b6001600160a01b038116613c145760405162461bcd60e51b81526004018080602001828103825260268152602001806153f36026913960400191505060405180910390fd5b600a546040516001600160a01b038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3600a80546001600160a01b0319166001600160a01b0392909216919091179055565b60006118936002836147be565b6017546040805160208082019390935280820194909452606080850193909352805180850390930183526080909301909252805191012090565b606060008060055b8015613d405780600101613cd38287613c7d565b81613cda57fe5b069250858181518110613ce957fe5b60200260200101519150858381518110613cff57fe5b6020026020010151868281518110613d1357fe5b60200260200101818152505081868481518110613d2c57fe5b602090810291909101015260001901613cbf565b5093949350505050565b3390565b600081815260046020526040902080546001600160a01b0319166001600160a01b0384169081179091558190613d8382612109565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b606060008290506000815167ffffffffffffffff81118015613ddd57600080fd5b506040519080825280601f01601f191660200182016040528015613e08576020820181803683370190505b50905060005b8251811015611af1576041838281518110613e2557fe5b016020015160f81c10801590613e4f5750605a838281518110613e4457fe5b016020015160f81c11155b15613e9c57828181518110613e6057fe5b602001015160f81c60f81b60f81c60200160f81b828281518110613e8057fe5b60200101906001600160f81b031916908160001a905350613ed7565b828181518110613ea857fe5b602001015160f81c60f81b828281518110613ebf57fe5b60200101906001600160f81b031916908160001a9053505b600101613e0e565b6000611893826144b8565b6000613ef582613c70565b613f305760405162461bcd60e51b815260040180806020018281038252602c8152602001806154fc602c913960400191505060405180910390fd5b6000613f3b83612109565b9050806001600160a01b0316846001600160a01b03161480613f765750836001600160a01b0316613f6b846115ff565b6001600160a01b0316145b80613f865750613f868185613ade565b949350505050565b826001600160a01b0316613fa182612109565b6001600160a01b031614613fe65760405162461bcd60e51b81526004018080602001828103825260298152602001806156426029913960400191505060405180910390fd5b6001600160a01b03821661402b5760405162461bcd60e51b81526004018080602001828103825260248152602001806154446024913960400191505060405180910390fd5b614036838383611737565b614041600082613d4e565b6001600160a01b038316600090815260016020526040902061406390826147ca565b506001600160a01b038216600090815260016020526040902061408690826147d6565b50614093600282846147e2565b5080826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b600061189083836147f8565b60008282111561413d576040805162461bcd60e51b815260206004820152601e60248201527f536166654d6174683a207375627472616374696f6e206f766572666c6f770000604482015290519081900360640190fd5b50900390565b6000808080614152868661485c565b9097909650945050505050565b80601061416b84613dbc565b6040518082805190602001908083835b6020831061419a5780518252601f19909201916020918201910161417b565b51815160209384036101000a60001901801990921691161790529201948552506040519384900301909220805460ff19169315159390931790925550505050565b805161194a906009906020840190615289565b60006141fb8484846148d7565b90505b9392505050565b61420d6120f9565b614255576040805162461bcd60e51b815260206004820152601460248201527314185d5cd8589b194e881b9bdd081c185d5cd95960621b604482015290519081900360640190fd5b600a805460ff60a01b191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa61428b613d4a565b604080516001600160a01b039092168252519081900360200190a1565b6142b3848484613f8e565b6142bf848484846149a1565b612b2d5760405162461bcd60e51b81526004018080602001828103825260328152602001806153c16032913960400191505060405180910390fd5b60608161431f57506040805180820190915260018152600360fc1b602082015261154e565b8160005b811561433757600101600a82049150614323565b60008167ffffffffffffffff8111801561435057600080fd5b506040519080825280601f01601f19166020018201604052801561437b576020820181803683370190505b50859350905060001982015b83156143cc57600a840660300160f81b828280600190039350815181106143aa57fe5b60200101906001600160f81b031916908160001a905350600a84049350614387565b50949350505050565b6143dd6120f9565b15614422576040805162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b604482015290519081900360640190fd5b600a805460ff60a01b1916600160a01b1790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a25861428b613d4a565b600082820183811015611890576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b5490565b6000856103e786146144db576144d88661376e836103e8614b09565b90505b6103e785146144f7576144f48561376e836103e8614b09565b90505b6103e78414614513576145108461376e836103e8614b09565b90505b6103e7831461452f5761452c8361376e836103e8614b09565b90505b9695505050505050565b600061456061454d866101856101a9614b62565b865161376e908990600302600a0a614b09565b95506145866145738560fc61014f614b62565b855161376e908990600302600a0a614b09565b95506145ad61459a84610150610184614b62565b845161376e908990600302600a0a614b09565b955061452f6145bf8360d360fb614b62565b835161376e908990600302600a0a614b09565b60006103e786146145f0576145ed8661376e896103e8614b09565b96505b6103e7851461460c576146098561376e896103e8614b09565b96505b6103e78214614628576146258261376e896103e8614b09565b96505b6103e78414614644576146418461376e896103e8614b09565b96505b6103e783146146605761465d8361376e896103e8614b09565b96505b509495945050505050565b60008181526013602052604090205460ff16156146c5576040805162461bcd60e51b81526020600482015260136024820152726475646520616c72656164792065786973747360681b604482015290519081900360640190fd5b6000818152601360205260409020805460ff191660011790556146e86016614d09565b60006146f460166144b8565b60008181526012602052604090208390559050600281066147935760006101fa61471f600184614d12565b8161472657fe5b0660640160008181526011602052604090205490915060ff1661477957601580546001810182556000919091527f55f448fdea98c4d29eb340757ef0a66cd03dbb9538908a6a81d96026b71ec475018190555b6000908152601160205260409020805460ff191660011790555b61479d3382614d5a565b6018541580156147ae575061040081145b1561194a57600243016018555050565b60006118908383614d74565b60006118908383614d8c565b60006118908383614e52565b60006141fb84846001600160a01b038516614e9c565b8154600090821061483a5760405162461bcd60e51b81526004018080602001828103825260228152602001806153596022913960400191505060405180910390fd5b82600001828154811061484957fe5b9060005260206000200154905092915050565b8154600090819083106148a05760405162461bcd60e51b81526004018080602001828103825260228152602001806155b36022913960400191505060405180910390fd5b60008460000184815481106148b157fe5b906000526020600020906002020190508060000154816001015492509250509250929050565b600082815260018401602052604081205482816149725760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b8381101561493757818101518382015260200161491f565b50505050905090810190601f1680156149645780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b5084600001600182038154811061498557fe5b9060005260206000209060020201600101549150509392505050565b60006149b5846001600160a01b0316614f33565b6149c157506001613f86565b6000614acf630a85bd0160e11b6149d6613d4a565b88878760405160240180856001600160a01b03168152602001846001600160a01b0316815260200183815260200180602001828103825283818151815260200191508051906020019080838360005b83811015614a3d578181015183820152602001614a25565b50505050905090810190601f168015614a6a5780820380516001836020036101000a031916815260200191505b5095505050505050604051602081830303815290604052906001600160e01b0319166020820180516001600160e01b0383818316178352505050506040518060600160405280603281526020016153c1603291396001600160a01b0388169190614f39565b90506000818060200190516020811015614ae857600080fd5b50516001600160e01b031916630a85bd0160e11b1492505050949350505050565b600082614b1857506000611893565b82820282848281614b2557fe5b04146118905760405162461bcd60e51b81526004018080602001828103825260218152602001806155d56021913960400191505060405180910390fd5b600080805b85518110156143cc5784868281518110614b7d57fe5b602002602001015110158015614ba6575083868281518110614b9b57fe5b602002602001015111155b614be15760405162461bcd60e51b81526004018080602001828103825260328152602001806154686032913960400191505060405180910390fd5b60116000878381518110614bf157fe5b60209081029190910181015182528101919091526040016000205460ff1615614c4b5760405162461bcd60e51b815260040180806020018281038252603c8152602001806154c0603c913960400191505060405180910390fd5b60018181015b8751811015614c9557878381518110614c6657fe5b6020026020010151888281518110614c7a57fe5b60200260200101511415614c8d57600091505b600101614c51565b5080614cd25760405162461bcd60e51b81526004018080602001828103825260238152602001806156bb6023913960400191505060405180910390fd5b614cfe878381518110614ce157fe5b602002602001015161376e6103e886614b0990919063ffffffff16565b925050600101614b67565b80546001019055565b604080516020808201949094528082019290925242606083015244608083015243600019014060a0808401919091528151808403909101815260c09092019052805191012090565b61194a828260405180602001604052806000815250614f48565b60009081526001919091016020526040902054151590565b60008181526001830160205260408120548015614e485783546000198083019190810190600090879083908110614dbf57fe5b9060005260206000200154905080876000018481548110614ddc57fe5b600091825260208083209091019290925582815260018981019092526040902090840190558654879080614e0c57fe5b60019003818190600052602060002001600090559055866001016000878152602001908152602001600020600090556001945050505050611893565b6000915050611893565b6000614e5e8383614d74565b614e9457508154600181810184556000848152602080822090930184905584548482528286019093526040902091909155611893565b506000611893565b600082815260018401602052604081205480614f015750506040805180820182528381526020808201848152865460018181018955600089815284812095516002909302909501918255915190820155865486845281880190925292909120556141fe565b82856000016001830381548110614f1457fe5b90600052602060002090600202016001018190555060009150506141fe565b3b151590565b60606141fb8484600085614f9a565b614f5283836150f5565b614f5f60008484846149a1565b6117375760405162461bcd60e51b81526004018080602001828103825260328152602001806153c16032913960400191505060405180910390fd5b606082471015614fdb5760405162461bcd60e51b815260040180806020018281038252602681526020018061549a6026913960400191505060405180910390fd5b614fe485614f33565b615035576040805162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015290519081900360640190fd5b600080866001600160a01b031685876040518082805190602001908083835b602083106150735780518252601f199092019160209182019101615054565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d80600081146150d5576040519150601f19603f3d011682016040523d82523d6000602084013e6150da565b606091505b50915091506150ea828286615223565b979650505050505050565b6001600160a01b038216615150576040805162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f2061646472657373604482015290519081900360640190fd5b61515981613c70565b156151ab576040805162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000604482015290519081900360640190fd5b6151b760008383611737565b6001600160a01b03821660009081526001602052604090206151d990826147d6565b506151e6600282846147e2565b5060405181906001600160a01b038416906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b606083156152325750816141fe565b8251156152425782518084602001fd5b60405162461bcd60e51b815260206004820181815284516024840152845185939192839260440191908501908083836000831561493757818101518382015260200161491f565b828054600181600116156101000203166002900490600052602060002090601f0160209004810192826152bf5760008555615305565b82601f106152d857805160ff1916838001178555615305565b82800160010185558215615305579182015b828111156153055782518255916020019190600101906152ea565b50615311929150615315565b5090565b5b80821115615311576000815560010161531656fe516d4e576448507a5a32716364314a4a58755a5a47557a657145787a4c6653534d72674a4d6f4e57663166516773456e756d657261626c655365743a20696e646578206f7574206f6620626f756e6473736b696c6c2061637469766174696f6e20626c6f636b206d757374206265207365746d757374206e6f742070726f76696465206d6f7265207468616e203235207472616974734552433732313a207472616e7366657220746f206e6f6e20455243373231526563656976657220696d706c656d656e7465724f776e61626c653a206e6577206f776e657220697320746865207a65726f206164647265737351527a385359454b5558506c3662313370494b697a4b62376a6a6931763935524b6d6c5547717370754d514552433732313a207472616e7366657220746f20746865207a65726f20616464726573734174206c65617374206f6e65206f66207468652070726f76696465642074726169747320646f6573206e6f74206578697374416464726573733a20696e73756666696369656e742062616c616e636520666f722063616c6c4174206c65617374206f6e65206f66207468652070726f766964656420747261697473206973206e6f7420617661696c61626c6520616e796d6f72654552433732313a206f70657261746f7220717565727920666f72206e6f6e6578697374656e7420746f6b656e4552433732313a20617070726f76652063616c6c6572206973206e6f74206f776e6572206e6f7220617070726f76656420666f7220616c6c4552433732313a2062616c616e636520717565727920666f7220746865207a65726f20616464726573734552433732313a206f776e657220717565727920666f72206e6f6e6578697374656e7420746f6b656e456e756d657261626c654d61703a20696e646578206f7574206f6620626f756e6473536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f774552433732313a20617070726f76656420717565727920666f72206e6f6e6578697374656e7420746f6b656e4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65724552433732313a207472616e73666572206f6620746f6b656e2074686174206973206e6f74206f776e4552433732314d657461646174613a2055524920717565727920666f72206e6f6e6578697374656e7420746f6b656e4552433732313a20617070726f76616c20746f2063757272656e74206f776e6572456163682074726169742063616e206f6e6c79206265206170706c696564206f6e63654552433732313a207472616e736665722063616c6c6572206973206e6f74206f776e6572206e6f7220617070726f766564a2646970667358221220d8079d5f91a47502ffb697be44847cb749a03df7b8e0de81545dbba68c2c6dea64736f6c634300070600332d65457a315655585a453945446145794565393237535f545635334f4742504e344c586f6244476b615741516d6334734c58515056797547436937315a324737657a616e686e394e6a6d79507778417732424661434673675400000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000080000000000000000000000000000000000000000000000000000000000000000a4e6966747964756465730000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000044455444500000000000000000000000000000000000000000000000000000000

Deployed Bytecode

0x6080604052600436106102455760003560e01c80635c975abb11610139578063a22cb465116100b6578063da8fbf2a1161007a578063da8fbf2a14610c74578063e1dc076114610c89578063e7fc646514610cb3578063e985e9c514610f5c578063ee7930df14610f97578063f2fde38b14610fac57610245565b8063a22cb46514610b14578063ae20032214610b4f578063b88d4fde14610b64578063c87b56dd14610c35578063cfb3e10214610c5f57610245565b8063715018a6116100fd578063715018a6146108ee5780638da5cb5b1461090357806395d89b4114610918578063974738f41461092d5780639c854a99146109de57610245565b80635c975abb1461083d5780636352211e146108525780636b8ff5741461087c5780636c0360eb146108a657806370a08231146108bb57610245565b80632f745c59116101c757806342842e0e1161018b57806342842e0e146106525780634f6ccce714610695578063512edfaa146106bf57806353e76f2c146106d457806355f804b31461078c57610245565b80632f745c59146105a457806330ba4cfc146105dd5780633ccfd60b146105f25780634003f9971461060757806340e2b4b81461061c57610245565b8063095ea7b31161020e578063095ea7b3146103e957806315b56d101461042457806317bed2c5146104d557806318160ddd1461053a57806323b872dd1461056157610245565b806292bf781461024a57806301ffc9a7146102a757806306fdde03146102ef5780630750d2fb14610379578063081812fc146103a3575b600080fd5b34801561025657600080fd5b506102746004803603602081101561026d57600080fd5b5035610fdf565b604080519687526020870195909552858501939093526060850191909152608084015260a0830152519081900360c00190f35b3480156102b357600080fd5b506102db600480360360208110156102ca57600080fd5b50356001600160e01b031916611530565b604080519115158252519081900360200190f35b3480156102fb57600080fd5b50610304611553565b6040805160208082528351818301528351919283929083019185019080838360005b8381101561033e578181015183820152602001610326565b50505050905090810190601f16801561036b5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34801561038557600080fd5b506102db6004803603602081101561039c57600080fd5b50356115e9565b3480156103af57600080fd5b506103cd600480360360208110156103c657600080fd5b50356115ff565b604080516001600160a01b039092168252519081900360200190f35b3480156103f557600080fd5b506104226004803603604081101561040c57600080fd5b506001600160a01b038135169060200135611661565b005b34801561043057600080fd5b506102db6004803603602081101561044757600080fd5b810190602081018135600160201b81111561046157600080fd5b82018360208201111561047357600080fd5b803590602001918460018302840111600160201b8311171561049457600080fd5b91908080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525092955061173c945050505050565b3480156104e157600080fd5b506104ea6117af565b60408051602080825283518183015283519192839290830191858101910280838360005b8381101561052657818101518382015260200161050e565b505050509050019250505060405180910390f35b34801561054657600080fd5b5061054f611806565b60408051918252519081900360200190f35b34801561056d57600080fd5b506104226004803603606081101561058457600080fd5b506001600160a01b03813581169160208101359091169060400135611817565b3480156105b057600080fd5b5061054f600480360360408110156105c757600080fd5b506001600160a01b03813516906020013561186e565b3480156105e957600080fd5b50610304611899565b3480156105fe57600080fd5b506104226118b9565b34801561061357600080fd5b5061042261194e565b34801561062857600080fd5b506104226004803603606081101561063f57600080fd5b5080359060208101359060400135611a58565b34801561065e57600080fd5b506104226004803603606081101561067557600080fd5b506001600160a01b03813581169160208101359091169060400135611ac8565b3480156106a157600080fd5b5061054f600480360360208110156106b857600080fd5b5035611ae3565b3480156106cb57600080fd5b50610304611af9565b3480156106e057600080fd5b50610304600480360360408110156106f757600080fd5b81359190810190604081016020820135600160201b81111561071857600080fd5b82018360208201111561072a57600080fd5b803590602001918460018302840111600160201b8311171561074b57600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250929550611b19945050505050565b34801561079857600080fd5b50610422600480360360208110156107af57600080fd5b810190602081018135600160201b8111156107c957600080fd5b8201836020820111156107db57600080fd5b803590602001918460018302840111600160201b831117156107fc57600080fd5b91908080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525092955061208b945050505050565b34801561084957600080fd5b506102db6120f9565b34801561085e57600080fd5b506103cd6004803603602081101561087557600080fd5b5035612109565b34801561088857600080fd5b506103046004803603602081101561089f57600080fd5b5035612131565b3480156108b257600080fd5b50610304612220565b3480156108c757600080fd5b5061054f600480360360208110156108de57600080fd5b50356001600160a01b0316612281565b3480156108fa57600080fd5b506104226122e9565b34801561090f57600080fd5b506103cd612395565b34801561092457600080fd5b506103046123a4565b34801561093957600080fd5b506102db6004803603602081101561095057600080fd5b810190602081018135600160201b81111561096a57600080fd5b82018360208201111561097c57600080fd5b803590602001918460018302840111600160201b8311171561099d57600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250929550612405945050505050565b3480156109ea57600080fd5b5061042260048036036040811015610a0157600080fd5b810190602081018135600160201b811115610a1b57600080fd5b820183602082011115610a2d57600080fd5b803590602001918460018302840111600160201b83111715610a4e57600080fd5b91908080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152509295949360208101935035915050600160201b811115610aa057600080fd5b820183602082011115610ab257600080fd5b803590602001918460018302840111600160201b83111715610ad357600080fd5b91908080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152509295506125df945050505050565b348015610b2057600080fd5b5061042260048036036040811015610b3757600080fd5b506001600160a01b0381351690602001351515612966565b348015610b5b57600080fd5b50610422612a6b565b348015610b7057600080fd5b5061042260048036036080811015610b8757600080fd5b6001600160a01b03823581169260208101359091169160408201359190810190608081016060820135600160201b811115610bc157600080fd5b820183602082011115610bd357600080fd5b803590602001918460018302840111600160201b83111715610bf457600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250929550612ad5945050505050565b348015610c4157600080fd5b5061030460048036036020811015610c5857600080fd5b5035612b33565b348015610c6b57600080fd5b50610304612db4565b348015610c8057600080fd5b50610422612e15565b348015610c9557600080fd5b5061054f60048036036020811015610cac57600080fd5b5035612e7f565b610422600480360360a0811015610cc957600080fd5b810190602081018135600160201b811115610ce357600080fd5b820183602082011115610cf557600080fd5b803590602001918460208302840111600160201b83111715610d1657600080fd5b9190808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152509295949360208101935035915050600160201b811115610d6557600080fd5b820183602082011115610d7757600080fd5b803590602001918460208302840111600160201b83111715610d9857600080fd5b9190808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152509295949360208101935035915050600160201b811115610de757600080fd5b820183602082011115610df957600080fd5b803590602001918460208302840111600160201b83111715610e1a57600080fd5b9190808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152509295949360208101935035915050600160201b811115610e6957600080fd5b820183602082011115610e7b57600080fd5b803590602001918460208302840111600160201b83111715610e9c57600080fd5b9190808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152509295949360208101935035915050600160201b811115610eeb57600080fd5b820183602082011115610efd57600080fd5b803590602001918460208302840111600160201b83111715610f1e57600080fd5b919080806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250929550612ee2945050505050565b348015610f6857600080fd5b506102db60048036036040811015610f7f57600080fd5b506001600160a01b0381358116916020013516613ade565b348015610fa357600080fd5b50610304613b0c565b348015610fb857600080fd5b5061042260048036036020811015610fcf57600080fd5b50356001600160a01b0316613b6d565b600080600080600080610ff187613c70565b611036576040805162461bcd60e51b81526020600482015260116024820152703737b732bc34b9ba32b73a103a37b5b2b760791b604482015290519081900360640190fd5b60175461105457506000945084935083925082915081905080611527565b60008061106260018a613c7d565b90506104008106610200141561109257603261107f60028b613c7d565b8161108657fe5b06610226019150611138565b6008610400820610156110bf5760326110ac60028b613c7d565b816110b357fe5b066101f4019150611138565b6028610400820660080110156110ef5760646110dc60028b613c7d565b816110e357fe5b06610190019150611138565b61037f6104008206111561111d57606461110a60028b613c7d565b8161111157fe5b0661012c019150611138565b606461112a60028b613c7d565b8161113157fe5b0660c80191505b60408051600680825260e082019092526000918291906020820160c0803683370190505090506101f48411156111a6576101f484039150818260650361117f60038e613c7d565b8161118657fe5b06018160008151811061119557fe5b6020026020010181815250506111d5565b60656111b360038d613c7d565b816111ba57fe5b06816000815181106111c857fe5b6020026020010181815250505b806000815181106111e257fe5b6020026020010151840393506101908411156112365761019084039150818260650361120f60048e613c7d565b8161121657fe5b06018160018151811061122557fe5b602002602001018181525050611277565b60648411611247578360010161124a565b60655b61125560048d613c7d565b8161125c57fe5b068160018151811061126a57fe5b6020026020010181815250505b8060018151811061128457fe5b60200260200101518403935061012c8411156112d85761012c8403915081826065036112b160058e613c7d565b816112b857fe5b0601816002815181106112c757fe5b602002602001018181525050611319565b606484116112e957836001016112ec565b60655b6112f760058d613c7d565b816112fe57fe5b068160028151811061130c57fe5b6020026020010181815250505b8060028151811061132657fe5b60200260200101518403935060c88411156113785760c884039150818260650361135160068e613c7d565b8161135857fe5b06018160038151811061136757fe5b6020026020010181815250506113b9565b60648411611389578360010161138c565b60655b61139760068d613c7d565b8161139e57fe5b06816003815181106113ac57fe5b6020026020010181815250505b806003815181106113c657fe5b60200260200101518403935060648411156114185760648403915081826065036113f160078e613c7d565b816113f857fe5b06018160048151811061140757fe5b602002602001018181525050611459565b60648411611429578360010161142c565b60655b61143760078d613c7d565b8161143e57fe5b068160048151811061144c57fe5b6020026020010181815250505b8060048151811061146657fe5b602002602001015184039350838160058151811061148057fe5b602002602001018181525050611496818c613cb7565b9050806000815181106114a557fe5b6020026020010151816001815181106114ba57fe5b6020026020010151826002815181106114cf57fe5b6020026020010151836003815181106114e457fe5b6020026020010151846004815181106114f957fe5b60200260200101518560058151811061150e57fe5b6020026020010151995099509950995099509950505050505b91939550919395565b6001600160e01b0319811660009081526020819052604090205460ff165b919050565b60068054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156115df5780601f106115b4576101008083540402835291602001916115df565b820191906000526020600020905b8154815290600101906020018083116115c257829003601f168201915b5050505050905090565b60009081526013602052604090205460ff161590565b600061160a82613c70565b6116455760405162461bcd60e51b815260040180806020018281038252602c8152602001806155f6602c913960400191505060405180910390fd5b506000908152600460205260409020546001600160a01b031690565b600061166c82612109565b9050806001600160a01b0316836001600160a01b031614156116bf5760405162461bcd60e51b815260040180806020018281038252602181526020018061569a6021913960400191505060405180910390fd5b806001600160a01b03166116d1613d4a565b6001600160a01b031614806116f257506116f2816116ed613d4a565b613ade565b61172d5760405162461bcd60e51b81526004018080602001828103825260388152602001806155286038913960400191505060405180910390fd5b6117378383613d4e565b505050565b6000601061174983613dbc565b6040518082805190602001908083835b602083106117785780518252601f199092019160209182019101611759565b51815160209384036101000a600019018019909216911617905292019485525060405193849003019092205460ff16949350505050565b606060158054806020026020016040519081016040528092919081815260200182805480156115df57602002820191906000526020600020905b8154815260200190600101908083116117e9575050505050905090565b60006118126002613edf565b905090565b611828611822613d4a565b82613eea565b6118635760405162461bcd60e51b81526004018080602001828103825260318152602001806156de6031913960400191505060405180910390fd5b611737838383613f8e565b6001600160a01b038216600090815260016020526040812061189090836140da565b90505b92915050565b60606040518060600160405280602e815260200161532b602e9139905090565b6118c1613d4a565b6001600160a01b03166118d2612395565b6001600160a01b03161461191b576040805162461bcd60e51b81526020600482018190526024820152600080516020615622833981519152604482015290519081900360640190fd5b6040514790339082156108fc029083906000818181858888f1935050505015801561194a573d6000803e3d6000fd5b5050565b601754156119a3576040805162461bcd60e51b815260206004820152601960248201527f736b696c6c206261736520697320616c72656164792073657400000000000000604482015290519081900360640190fd5b6018546119e15760405162461bcd60e51b815260040180806020018281038252602281526020018061537b6022913960400191505060405180910390fd5b6018544311611a30576040805162461bcd60e51b8152602060048201526016602482015275189b1bd8dac81b9d5b58995c881d1bdbc81cdb585b1b60521b604482015290519081900360640190fd5b601854804060175560ff90611a469043906140e6565b1115611a56576000194301406017555b565b611a60613d4a565b6001600160a01b0316611a71612395565b6001600160a01b031614611aba576040805162461bcd60e51b81526020600482018190526024820152600080516020615622833981519152604482015290519081900360640190fd5b600e92909255600d55600f55565b61173783838360405180602001604052806000815250612ad5565b600080611af1600284614143565b509392505050565b60606040518060600160405280602b8152602001615419602b9139905090565b6060611b2483613c70565b611b69576040805162461bcd60e51b81526020600482015260116024820152703737b732bc34b9ba32b73a103a37b5b2b760791b604482015290519081900360640190fd5b6002601460008581526020019081526020016000206040518082805460018160011615610100020316600290048015611bd95780601f10611bb7576101008083540402835291820191611bd9565b820191906000526020600020905b815481529060010190602001808311611bc5575b5050915050602060405180830381855afa158015611bfb573d6000803e3d6000fd5b5050506040513d6020811015611c1057600080fd5b505160405183516002918591819060208401908083835b60208310611c465780518252601f199092019160209182019101611c27565b51815160209384036101000a60001901801990921691161790526040519190930194509192505080830381855afa158015611c85573d6000803e3d6000fd5b5050506040513d6020811015611c9a57600080fd5b50511415611cef576040805162461bcd60e51b815260206004820152601f60248201527f4e6577206e616d6520616e64206f6c64206e616d652061726520657175616c00604482015290519081900360640190fd5b611d00611cfa613d4a565b84613eea565b611d51576040805162461bcd60e51b815260206004820181905260248201527f63616c6c6572206973206e6f74206f776e6572206e6f7220617070726f766564604482015290519081900360640190fd5b611d5a82612405565b611da1576040805162461bcd60e51b81526020600482015260136024820152721b985b59481a5cc81b9bdd08185b1b1bddd959606a1b604482015290519081900360640190fd5b611daa8261173c565b15611df4576040805162461bcd60e51b815260206004820152601560248201527413985b5948185b1c9958591e481c995cd95c9d9959605a1b604482015290519081900360640190fd5b60008381526014602090815260408083208054825160026001831615610100026000190190921691909104601f810185900485028201850190935282815292909190830182828015611e875780601f10611e5c57610100808354040283529160200191611e87565b820191906000526020600020905b815481529060010190602001808311611e6a57829003601f168201915b50505060008781526014602052604090205492935050506002600019610100600184161502019091160415611f585760008481526014602090815260409182902080548351601f60026000196101006001861615020190931692909204918201849004840281018401909452808452611f589392830182828015611f4c5780601f10611f2157610100808354040283529160200191611f4c565b820191906000526020600020905b815481529060010190602001808311611f2f57829003601f168201915b5050505050600061415f565b611f6383600161415f565b60008481526014602090815260409091208451611f8292860190615289565b50837f8eff5208043d31f23e348dc06be3a80821505e5b3e0002e9fa1185f5d47eac598285604051808060200180602001838103835285818151815260200191508051906020019080838360005b83811015611fe8578181015183820152602001611fd0565b50505050905090810190601f1680156120155780820380516001836020036101000a031916815260200191505b50838103825284518152845160209182019186019080838360005b83811015612048578181015183820152602001612030565b50505050905090810190601f1680156120755780820380516001836020036101000a031916815260200191505b5094505050505060405180910390a29392505050565b612093613d4a565b6001600160a01b03166120a4612395565b6001600160a01b0316146120ed576040805162461bcd60e51b81526020600482018190526024820152600080516020615622833981519152604482015290519081900360640190fd5b6120f6816141db565b50565b600a54600160a01b900460ff1690565b60006118938260405180606001604052806029815260200161558a60299139600291906141ee565b606061213c82613c70565b612181576040805162461bcd60e51b81526020600482015260116024820152703737b732bc34b9ba32b73a103a37b5b2b760791b604482015290519081900360640190fd5b60008281526014602090815260409182902080548351601f6002600019610100600186161502019093169290920491820184900484028101840190945280845290918301828280156122145780601f106121e957610100808354040283529160200191612214565b820191906000526020600020905b8154815290600101906020018083116121f757829003601f168201915b50505050509050919050565b60098054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156115df5780601f106115b4576101008083540402835291602001916115df565b60006001600160a01b0382166122c85760405162461bcd60e51b815260040180806020018281038252602a815260200180615560602a913960400191505060405180910390fd5b6001600160a01b038216600090815260016020526040902061189390613edf565b6122f1613d4a565b6001600160a01b0316612302612395565b6001600160a01b03161461234b576040805162461bcd60e51b81526020600482018190526024820152600080516020615622833981519152604482015290519081900360640190fd5b600a546040516000916001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600a80546001600160a01b0319169055565b600a546001600160a01b031690565b60078054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156115df5780601f106115b4576101008083540402835291602001916115df565b60008082905060018151108061241c575060198151115b1561242b57600091505061154e565b8060008151811061243857fe5b6020910101516001600160f81b031916600160fd1b148061247b57508060018251038151811061246457fe5b6020910101516001600160f81b031916600160fd1b145b1561248a57600091505061154e565b60008160008151811061249957fe5b01602001516001600160f81b031916905060005b82518110156125d45760008382815181106124c457fe5b01602001516001600160f81b0319169050600160fd1b811480156124f55750600160fd1b6001600160f81b03198416145b1561250757600094505050505061154e565b600360fc1b6001600160f81b03198216108015906125335750603960f81b6001600160f81b0319821611155b1580156125695750604160f81b6001600160f81b03198216108015906125675750602d60f91b6001600160f81b0319821611155b155b801561259e5750606160f81b6001600160f81b031982161080159061259c5750603d60f91b6001600160f81b0319821611155b155b80156125b85750600160fd1b6001600160f81b0319821614155b156125ca57600094505050505061154e565b91506001016124ad565b506001949350505050565b6125e7613d4a565b6001600160a01b03166125f8612395565b6001600160a01b031614612641576040805162461bcd60e51b81526020600482018190526024820152600080516020615622833981519152604482015290519081900360640190fd5b600b8054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152600093909290918301828280156126cd5780601f106126a2576101008083540402835291602001916126cd565b820191906000526020600020905b8154815290600101906020018083116126b057829003601f168201915b5050600c8054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152969750600096955091935091508301828280156127615780601f1061273657610100808354040283529160200191612761565b820191906000526020600020905b81548152906001019060200180831161274457829003601f168201915b5050875193945061277d93600b93506020890192509050615289565b50825161279190600c906020860190615289565b507f749c3a293036558594fed68c5a20a9e177e397448ac5b76985e0010b2f176a3f828583866040518080602001806020018060200180602001858103855289818151815260200191508051906020019080838360005b838110156128005781810151838201526020016127e8565b50505050905090810190601f16801561282d5780820380516001836020036101000a031916815260200191505b5085810384528851815288516020918201918a019080838360005b83811015612860578181015183820152602001612848565b50505050905090810190601f16801561288d5780820380516001836020036101000a031916815260200191505b50858103835287518152875160209182019189019080838360005b838110156128c05781810151838201526020016128a8565b50505050905090810190601f1680156128ed5780820380516001836020036101000a031916815260200191505b50858103825286518152865160209182019188019080838360005b83811015612920578181015183820152602001612908565b50505050905090810190601f16801561294d5780820380516001836020036101000a031916815260200191505b509850505050505050505060405180910390a150505050565b61296e613d4a565b6001600160a01b0316826001600160a01b031614156129d4576040805162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c657200000000000000604482015290519081900360640190fd5b80600560006129e1613d4a565b6001600160a01b03908116825260208083019390935260409182016000908120918716808252919093529120805460ff191692151592909217909155612a25613d4a565b6001600160a01b03167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405180821515815260200191505060405180910390a35050565b612a73613d4a565b6001600160a01b0316612a84612395565b6001600160a01b031614612acd576040805162461bcd60e51b81526020600482018190526024820152600080516020615622833981519152604482015290519081900360640190fd5b611a56614205565b612ae6612ae0613d4a565b83613eea565b612b215760405162461bcd60e51b81526004018080602001828103825260318152602001806156de6031913960400191505060405180910390fd5b612b2d848484846142a8565b50505050565b6060612b3e82613c70565b612b795760405162461bcd60e51b815260040180806020018281038252602f81526020018061566b602f913960400191505060405180910390fd5b60008281526008602090815260408083208054825160026001831615610100026000190190921691909104601f810185900485028201850190935282815292909190830182828015612c0c5780601f10612be157610100808354040283529160200191612c0c565b820191906000526020600020905b815481529060010190602001808311612bef57829003601f168201915b505050505090506000612c1d612220565b9050805160001415612c315750905061154e565b815115612cf25780826040516020018083805190602001908083835b60208310612c6c5780518252601f199092019160209182019101612c4d565b51815160209384036101000a600019018019909216911617905285519190930192850191508083835b60208310612cb45780518252601f199092019160209182019101612c95565b6001836020036101000a038019825116818451168082178552505050505050905001925050506040516020818303038152906040529250505061154e565b80612cfc856142fa565b6040516020018083805190602001908083835b60208310612d2e5780518252601f199092019160209182019101612d0f565b51815160209384036101000a600019018019909216911617905285519190930192850191508083835b60208310612d765780518252601f199092019160209182019101612d57565b6001836020036101000a0380198251168184511680821785525050505050509050019250505060405160208183030381529060405292505050919050565b600b8054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156115df5780601f106115b4576101008083540402835291602001916115df565b612e1d613d4a565b6001600160a01b0316612e2e612395565b6001600160a01b031614612e77576040805162461bcd60e51b81526020600482018190526024820152600080516020615622833981519152604482015290519081900360640190fd5b611a566143d5565b6000612e8a82613c70565b612ecf576040805162461bcd60e51b81526020600482015260116024820152703737b732bc34b9ba32b73a103a37b5b2b760791b604482015290519081900360640190fd5b5060009081526012602052604090205490565b612eea6120f9565b1580612f0e5750612ef9612395565b6001600160a01b0316336001600160a01b0316145b612f57576040805162461bcd60e51b8152602060048201526015602482015274283ab931b430b9b2b99030b932903830bab9b2b21760591b604482015290519081900360640190fd5b8451600a14612f6557600080fd5b61025e85600081518110612f7557fe5b602002602001015110158015612fa1575061026f85600081518110612f9657fe5b602002602001015111155b8015612fd957506011600086600081518110612fb957fe5b60209081029190910181015182528101919091526040016000205460ff16155b6130145760405162461bcd60e51b81526004018080602001828103825260328152602001806154686032913960400191505060405180910390fd5b6103e78560018151811061302457fe5b6020026020010151148061306f57506102188560018151811061304357fe5b60200260200101511015801561306f57506102578560018151811061306457fe5b602002602001015111155b80156130a75750601160008660018151811061308757fe5b60209081029190910181015182528101919091526040016000205460ff16155b6130e25760405162461bcd60e51b81526004018080602001828103825260328152602001806154686032913960400191505060405180910390fd5b6103e7856002815181106130f257fe5b6020026020010151148061313d575061020c8560028151811061311157fe5b60200260200101511015801561313d57506102178560028151811061313257fe5b602002602001015111155b80156131755750601160008660028151811061315557fe5b60209081029190910181015182528101919091526040016000205460ff16155b6131b05760405162461bcd60e51b81526004018080602001828103825260328152602001806154686032913960400191505060405180910390fd5b6103e7856003815181106131c057fe5b6020026020010151148061320b57506101aa856003815181106131df57fe5b60200260200101511015801561320b575061020b8560038151811061320057fe5b602002602001015111155b80156132435750601160008660038151811061322357fe5b60209081029190910181015182528101919091526040016000205460ff16155b61327e5760405162461bcd60e51b81526004018080602001828103825260328152602001806154686032913960400191505060405180910390fd5b6103e78560048151811061328e57fe5b602002602001015114806132d95750610258856004815181106132ad57fe5b6020026020010151101580156132d9575061025d856004815181106132ce57fe5b602002602001015111155b8015613311575060116000866004815181106132f157fe5b60209081029190910181015182528101919091526040016000205460ff16155b61334c5760405162461bcd60e51b81526004018080602001828103825260328152602001806154686032913960400191505060405180910390fd5b6103e78560058151811061335c57fe5b602002602001015114806133a5575060a38560058151811061337a57fe5b6020026020010151101580156133a5575060c68560058151811061339a57fe5b602002602001015111155b80156133dd575060116000866005815181106133bd57fe5b60209081029190910181015182528101919091526040016000205460ff16155b6134185760405162461bcd60e51b81526004018080602001828103825260328152602001806154686032913960400191505060405180910390fd5b6103e78560068151811061342857fe5b60200260200101511480613471575060c78560068151811061344657fe5b602002602001015110158015613471575060d28560068151811061346657fe5b602002602001015111155b80156134a95750601160008660068151811061348957fe5b60209081029190910181015182528101919091526040016000205460ff16155b6134e45760405162461bcd60e51b81526004018080602001828103825260328152602001806154686032913960400191505060405180910390fd5b6103e7856007815181106134f457fe5b6020026020010151148061353d575060648560078151811061351257fe5b60200260200101511015801561353d575060768560078151811061353257fe5b602002602001015111155b80156135755750601160008660078151811061355557fe5b60209081029190910181015182528101919091526040016000205460ff16155b6135b05760405162461bcd60e51b81526004018080602001828103825260328152602001806154686032913960400191505060405180910390fd5b6103e7856008815181106135c057fe5b6020026020010151148061360957506077856008815181106135de57fe5b6020026020010151101580156136095750608a856008815181106135fe57fe5b602002602001015111155b80156136415750601160008660088151811061362157fe5b60209081029190910181015182528101919091526040016000205460ff16155b61367c5760405162461bcd60e51b81526004018080602001828103825260328152602001806154686032913960400191505060405180910390fd5b6103e78560098151811061368c57fe5b602002602001015114806136d55750608b856009815181106136aa57fe5b6020026020010151101580156136d5575060a2856009815181106136ca57fe5b602002602001015111155b801561370d575060116000866009815181106136ed57fe5b60209081029190910181015182528101919091526040016000205460ff16155b6137485760405162461bcd60e51b81526004018080602001828103825260328152602001806154686032913960400191505060405180910390fd5b6000613774600161376e845161376e875161376e8a518c5161445e90919063ffffffff16565b9061445e565b90506103e78660018151811061378657fe5b602002602001015114613797576001015b6103e7866002815181106137a757fe5b6020026020010151146137b8576001015b6103e7866003815181106137c857fe5b6020026020010151146137d9576001015b6103e7866004815181106137e957fe5b6020026020010151146137fa576001015b6103e78660058151811061380a57fe5b60200260200101511461381b576001015b6103e78660068151811061382b57fe5b60200260200101511461383c576001015b6103e78660078151811061384c57fe5b60200260200101511461385d576001015b6103e78660088151811061386d57fe5b60200260200101511461387e576001015b6103e78660098151811061388e57fe5b60200260200101511461389f576001015b6000600f548211156138bc57600f546138b99083906140e6565b90505b600d548102600e54013414806138ea57506138d5612395565b6001600160a01b0316336001600160a01b0316145b613934576040805162461bcd60e51b8152602060048201526016602482015275195d1a195c88185b5bdd5b9d081a5b98dbdc9c9958dd60521b604482015290519081900360640190fd5b60198211156139745760405162461bcd60e51b815260040180806020018281038252602481526020018061539d6024913960400191505060405180910390fd5b61040061398160166144b8565b106139d3576040805162461bcd60e51b815260206004820152601a60248201527f616c6c2064756465732068617665206265656e206d696e746564000000000000604482015290519081900360640190fd5b6000613a46886000815181106139e557fe5b6020026020010151896001815181106139fa57fe5b60200260200101518a600281518110613a0f57fe5b60200260200101518b600381518110613a2457fe5b60200260200101518c600481518110613a3957fe5b60200260200101516144bc565b9050613a558188888888614539565b9050613ac98189600581518110613a6857fe5b60200260200101518a600681518110613a7d57fe5b60200260200101518b600781518110613a9257fe5b60200260200101518c600881518110613aa757fe5b60200260200101518d600981518110613abc57fe5b60200260200101516145d2565b9050613ad48161466b565b5050505050505050565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b600c8054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156115df5780601f106115b4576101008083540402835291602001916115df565b613b75613d4a565b6001600160a01b0316613b86612395565b6001600160a01b031614613bcf576040805162461bcd60e51b81526020600482018190526024820152600080516020615622833981519152604482015290519081900360640190fd5b6001600160a01b038116613c145760405162461bcd60e51b81526004018080602001828103825260268152602001806153f36026913960400191505060405180910390fd5b600a546040516001600160a01b038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3600a80546001600160a01b0319166001600160a01b0392909216919091179055565b60006118936002836147be565b6017546040805160208082019390935280820194909452606080850193909352805180850390930183526080909301909252805191012090565b606060008060055b8015613d405780600101613cd38287613c7d565b81613cda57fe5b069250858181518110613ce957fe5b60200260200101519150858381518110613cff57fe5b6020026020010151868281518110613d1357fe5b60200260200101818152505081868481518110613d2c57fe5b602090810291909101015260001901613cbf565b5093949350505050565b3390565b600081815260046020526040902080546001600160a01b0319166001600160a01b0384169081179091558190613d8382612109565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b606060008290506000815167ffffffffffffffff81118015613ddd57600080fd5b506040519080825280601f01601f191660200182016040528015613e08576020820181803683370190505b50905060005b8251811015611af1576041838281518110613e2557fe5b016020015160f81c10801590613e4f5750605a838281518110613e4457fe5b016020015160f81c11155b15613e9c57828181518110613e6057fe5b602001015160f81c60f81b60f81c60200160f81b828281518110613e8057fe5b60200101906001600160f81b031916908160001a905350613ed7565b828181518110613ea857fe5b602001015160f81c60f81b828281518110613ebf57fe5b60200101906001600160f81b031916908160001a9053505b600101613e0e565b6000611893826144b8565b6000613ef582613c70565b613f305760405162461bcd60e51b815260040180806020018281038252602c8152602001806154fc602c913960400191505060405180910390fd5b6000613f3b83612109565b9050806001600160a01b0316846001600160a01b03161480613f765750836001600160a01b0316613f6b846115ff565b6001600160a01b0316145b80613f865750613f868185613ade565b949350505050565b826001600160a01b0316613fa182612109565b6001600160a01b031614613fe65760405162461bcd60e51b81526004018080602001828103825260298152602001806156426029913960400191505060405180910390fd5b6001600160a01b03821661402b5760405162461bcd60e51b81526004018080602001828103825260248152602001806154446024913960400191505060405180910390fd5b614036838383611737565b614041600082613d4e565b6001600160a01b038316600090815260016020526040902061406390826147ca565b506001600160a01b038216600090815260016020526040902061408690826147d6565b50614093600282846147e2565b5080826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b600061189083836147f8565b60008282111561413d576040805162461bcd60e51b815260206004820152601e60248201527f536166654d6174683a207375627472616374696f6e206f766572666c6f770000604482015290519081900360640190fd5b50900390565b6000808080614152868661485c565b9097909650945050505050565b80601061416b84613dbc565b6040518082805190602001908083835b6020831061419a5780518252601f19909201916020918201910161417b565b51815160209384036101000a60001901801990921691161790529201948552506040519384900301909220805460ff19169315159390931790925550505050565b805161194a906009906020840190615289565b60006141fb8484846148d7565b90505b9392505050565b61420d6120f9565b614255576040805162461bcd60e51b815260206004820152601460248201527314185d5cd8589b194e881b9bdd081c185d5cd95960621b604482015290519081900360640190fd5b600a805460ff60a01b191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa61428b613d4a565b604080516001600160a01b039092168252519081900360200190a1565b6142b3848484613f8e565b6142bf848484846149a1565b612b2d5760405162461bcd60e51b81526004018080602001828103825260328152602001806153c16032913960400191505060405180910390fd5b60608161431f57506040805180820190915260018152600360fc1b602082015261154e565b8160005b811561433757600101600a82049150614323565b60008167ffffffffffffffff8111801561435057600080fd5b506040519080825280601f01601f19166020018201604052801561437b576020820181803683370190505b50859350905060001982015b83156143cc57600a840660300160f81b828280600190039350815181106143aa57fe5b60200101906001600160f81b031916908160001a905350600a84049350614387565b50949350505050565b6143dd6120f9565b15614422576040805162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b604482015290519081900360640190fd5b600a805460ff60a01b1916600160a01b1790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a25861428b613d4a565b600082820183811015611890576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b5490565b6000856103e786146144db576144d88661376e836103e8614b09565b90505b6103e785146144f7576144f48561376e836103e8614b09565b90505b6103e78414614513576145108461376e836103e8614b09565b90505b6103e7831461452f5761452c8361376e836103e8614b09565b90505b9695505050505050565b600061456061454d866101856101a9614b62565b865161376e908990600302600a0a614b09565b95506145866145738560fc61014f614b62565b855161376e908990600302600a0a614b09565b95506145ad61459a84610150610184614b62565b845161376e908990600302600a0a614b09565b955061452f6145bf8360d360fb614b62565b835161376e908990600302600a0a614b09565b60006103e786146145f0576145ed8661376e896103e8614b09565b96505b6103e7851461460c576146098561376e896103e8614b09565b96505b6103e78214614628576146258261376e896103e8614b09565b96505b6103e78414614644576146418461376e896103e8614b09565b96505b6103e783146146605761465d8361376e896103e8614b09565b96505b509495945050505050565b60008181526013602052604090205460ff16156146c5576040805162461bcd60e51b81526020600482015260136024820152726475646520616c72656164792065786973747360681b604482015290519081900360640190fd5b6000818152601360205260409020805460ff191660011790556146e86016614d09565b60006146f460166144b8565b60008181526012602052604090208390559050600281066147935760006101fa61471f600184614d12565b8161472657fe5b0660640160008181526011602052604090205490915060ff1661477957601580546001810182556000919091527f55f448fdea98c4d29eb340757ef0a66cd03dbb9538908a6a81d96026b71ec475018190555b6000908152601160205260409020805460ff191660011790555b61479d3382614d5a565b6018541580156147ae575061040081145b1561194a57600243016018555050565b60006118908383614d74565b60006118908383614d8c565b60006118908383614e52565b60006141fb84846001600160a01b038516614e9c565b8154600090821061483a5760405162461bcd60e51b81526004018080602001828103825260228152602001806153596022913960400191505060405180910390fd5b82600001828154811061484957fe5b9060005260206000200154905092915050565b8154600090819083106148a05760405162461bcd60e51b81526004018080602001828103825260228152602001806155b36022913960400191505060405180910390fd5b60008460000184815481106148b157fe5b906000526020600020906002020190508060000154816001015492509250509250929050565b600082815260018401602052604081205482816149725760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b8381101561493757818101518382015260200161491f565b50505050905090810190601f1680156149645780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b5084600001600182038154811061498557fe5b9060005260206000209060020201600101549150509392505050565b60006149b5846001600160a01b0316614f33565b6149c157506001613f86565b6000614acf630a85bd0160e11b6149d6613d4a565b88878760405160240180856001600160a01b03168152602001846001600160a01b0316815260200183815260200180602001828103825283818151815260200191508051906020019080838360005b83811015614a3d578181015183820152602001614a25565b50505050905090810190601f168015614a6a5780820380516001836020036101000a031916815260200191505b5095505050505050604051602081830303815290604052906001600160e01b0319166020820180516001600160e01b0383818316178352505050506040518060600160405280603281526020016153c1603291396001600160a01b0388169190614f39565b90506000818060200190516020811015614ae857600080fd5b50516001600160e01b031916630a85bd0160e11b1492505050949350505050565b600082614b1857506000611893565b82820282848281614b2557fe5b04146118905760405162461bcd60e51b81526004018080602001828103825260218152602001806155d56021913960400191505060405180910390fd5b600080805b85518110156143cc5784868281518110614b7d57fe5b602002602001015110158015614ba6575083868281518110614b9b57fe5b602002602001015111155b614be15760405162461bcd60e51b81526004018080602001828103825260328152602001806154686032913960400191505060405180910390fd5b60116000878381518110614bf157fe5b60209081029190910181015182528101919091526040016000205460ff1615614c4b5760405162461bcd60e51b815260040180806020018281038252603c8152602001806154c0603c913960400191505060405180910390fd5b60018181015b8751811015614c9557878381518110614c6657fe5b6020026020010151888281518110614c7a57fe5b60200260200101511415614c8d57600091505b600101614c51565b5080614cd25760405162461bcd60e51b81526004018080602001828103825260238152602001806156bb6023913960400191505060405180910390fd5b614cfe878381518110614ce157fe5b602002602001015161376e6103e886614b0990919063ffffffff16565b925050600101614b67565b80546001019055565b604080516020808201949094528082019290925242606083015244608083015243600019014060a0808401919091528151808403909101815260c09092019052805191012090565b61194a828260405180602001604052806000815250614f48565b60009081526001919091016020526040902054151590565b60008181526001830160205260408120548015614e485783546000198083019190810190600090879083908110614dbf57fe5b9060005260206000200154905080876000018481548110614ddc57fe5b600091825260208083209091019290925582815260018981019092526040902090840190558654879080614e0c57fe5b60019003818190600052602060002001600090559055866001016000878152602001908152602001600020600090556001945050505050611893565b6000915050611893565b6000614e5e8383614d74565b614e9457508154600181810184556000848152602080822090930184905584548482528286019093526040902091909155611893565b506000611893565b600082815260018401602052604081205480614f015750506040805180820182528381526020808201848152865460018181018955600089815284812095516002909302909501918255915190820155865486845281880190925292909120556141fe565b82856000016001830381548110614f1457fe5b90600052602060002090600202016001018190555060009150506141fe565b3b151590565b60606141fb8484600085614f9a565b614f5283836150f5565b614f5f60008484846149a1565b6117375760405162461bcd60e51b81526004018080602001828103825260328152602001806153c16032913960400191505060405180910390fd5b606082471015614fdb5760405162461bcd60e51b815260040180806020018281038252602681526020018061549a6026913960400191505060405180910390fd5b614fe485614f33565b615035576040805162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015290519081900360640190fd5b600080866001600160a01b031685876040518082805190602001908083835b602083106150735780518252601f199092019160209182019101615054565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d80600081146150d5576040519150601f19603f3d011682016040523d82523d6000602084013e6150da565b606091505b50915091506150ea828286615223565b979650505050505050565b6001600160a01b038216615150576040805162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f2061646472657373604482015290519081900360640190fd5b61515981613c70565b156151ab576040805162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000604482015290519081900360640190fd5b6151b760008383611737565b6001600160a01b03821660009081526001602052604090206151d990826147d6565b506151e6600282846147e2565b5060405181906001600160a01b038416906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b606083156152325750816141fe565b8251156152425782518084602001fd5b60405162461bcd60e51b815260206004820181815284516024840152845185939192839260440191908501908083836000831561493757818101518382015260200161491f565b828054600181600116156101000203166002900490600052602060002090601f0160209004810192826152bf5760008555615305565b82601f106152d857805160ff1916838001178555615305565b82800160010185558215615305579182015b828111156153055782518255916020019190600101906152ea565b50615311929150615315565b5090565b5b80821115615311576000815560010161531656fe516d4e576448507a5a32716364314a4a58755a5a47557a657145787a4c6653534d72674a4d6f4e57663166516773456e756d657261626c655365743a20696e646578206f7574206f6620626f756e6473736b696c6c2061637469766174696f6e20626c6f636b206d757374206265207365746d757374206e6f742070726f76696465206d6f7265207468616e203235207472616974734552433732313a207472616e7366657220746f206e6f6e20455243373231526563656976657220696d706c656d656e7465724f776e61626c653a206e6577206f776e657220697320746865207a65726f206164647265737351527a385359454b5558506c3662313370494b697a4b62376a6a6931763935524b6d6c5547717370754d514552433732313a207472616e7366657220746f20746865207a65726f20616464726573734174206c65617374206f6e65206f66207468652070726f76696465642074726169747320646f6573206e6f74206578697374416464726573733a20696e73756666696369656e742062616c616e636520666f722063616c6c4174206c65617374206f6e65206f66207468652070726f766964656420747261697473206973206e6f7420617661696c61626c6520616e796d6f72654552433732313a206f70657261746f7220717565727920666f72206e6f6e6578697374656e7420746f6b656e4552433732313a20617070726f76652063616c6c6572206973206e6f74206f776e6572206e6f7220617070726f76656420666f7220616c6c4552433732313a2062616c616e636520717565727920666f7220746865207a65726f20616464726573734552433732313a206f776e657220717565727920666f72206e6f6e6578697374656e7420746f6b656e456e756d657261626c654d61703a20696e646578206f7574206f6620626f756e6473536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f774552433732313a20617070726f76656420717565727920666f72206e6f6e6578697374656e7420746f6b656e4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65724552433732313a207472616e73666572206f6620746f6b656e2074686174206973206e6f74206f776e4552433732314d657461646174613a2055524920717565727920666f72206e6f6e6578697374656e7420746f6b656e4552433732313a20617070726f76616c20746f2063757272656e74206f776e6572456163682074726169742063616e206f6e6c79206265206170706c696564206f6e63654552433732313a207472616e736665722063616c6c6572206973206e6f74206f776e6572206e6f7220617070726f766564a2646970667358221220d8079d5f91a47502ffb697be44847cb749a03df7b8e0de81545dbba68c2c6dea64736f6c63430007060033

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

00000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000080000000000000000000000000000000000000000000000000000000000000000a4e6966747964756465730000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000044455444500000000000000000000000000000000000000000000000000000000

-----Decoded View---------------
Arg [0] : _name (string): Niftydudes
Arg [1] : _symbol (string): DUDE

-----Encoded View---------------
6 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000040
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000080
Arg [2] : 000000000000000000000000000000000000000000000000000000000000000a
Arg [3] : 4e69667479647564657300000000000000000000000000000000000000000000
Arg [4] : 0000000000000000000000000000000000000000000000000000000000000004
Arg [5] : 4455444500000000000000000000000000000000000000000000000000000000


Deployed Bytecode Sourcemap

70590:18802:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;82926:3051;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;82926:3051:0;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;10235:150;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;10235:150:0;-1:-1:-1;;;;;;10235:150:0;;:::i;:::-;;;;;;;;;;;;;;;;;;51539:100;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;82485:111;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;82485:111:0;;:::i;54325:221::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;54325:221:0;;:::i;:::-;;;;-1:-1:-1;;;;;54325:221:0;;;;;;;;;;;;;;53855:404;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;53855:404:0;;;;;;;;:::i;:::-;;87799:136;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;87799:136:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;87799:136:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;87799:136:0;;-1:-1:-1;87799:136:0;;-1:-1:-1;;;;;87799:136:0:i;81334:105::-;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;53333:211;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;55215:305;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;55215:305:0;;;;;;;;;;;;;;;;;:::i;53095:162::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;53095:162:0;;;;;;;;:::i;82124:101::-;;;;;;;;;;;;;:::i;80510:133::-;;;;;;;;;;;;;:::i;86153:464::-;;;;;;;;;;;;;:::i;80651:202::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;80651:202:0;;;;;;;;;;;;:::i;55591:151::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;55591:151:0;;;;;;;;;;;;;;;;;:::i;53621:172::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;53621:172:0;;:::i;82009:107::-;;;;;;;;;;;;;:::i;86806:851::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;86806:851:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;86806:851:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;86806:851:0;;-1:-1:-1;86806:851:0;;-1:-1:-1;;;;;86806:851:0:i;80861:101::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;80861:101:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;80861:101:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;80861:101:0;;-1:-1:-1;80861:101:0;;-1:-1:-1;;;;;80861:101:0:i;67010:86::-;;;;;;;;;;;;;:::i;51295:177::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;51295:177:0;;:::i;86625:173::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;86625:173:0;;:::i;52914:97::-;;;;;;;;;;;;;:::i;51012:221::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;51012:221:0;-1:-1:-1;;;;;51012:221:0;;:::i;69958:148::-;;;;;;;;;;;;;:::i;69307:87::-;;;;;;;;;;;;;:::i;51708:104::-;;;;;;;;;;;;;:::i;87943:966::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;87943:966:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;87943:966:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;87943:966:0;;-1:-1:-1;87943:966:0;;-1:-1:-1;;;;;87943:966:0:i;81623:378::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;81623:378:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;81623:378:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;81623:378:0;;;;;;;;-1:-1:-1;81623:378:0;;-1:-1:-1;;;;;81623:378:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;81623:378:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;81623:378:0;;-1:-1:-1;81623:378:0;;-1:-1:-1;;;;;81623:378:0:i;54618:295::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;54618:295:0;;;;;;;;;;:::i;86067:74::-;;;;;;;;;;;;;:::i;55813:285::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;55813:285:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;55813:285:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;55813:285:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;55813:285:0;;-1:-1:-1;55813:285:0;;-1:-1:-1;;;;;55813:285:0:i;51883:792::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;51883:792:0;;:::i;82233:119::-;;;;;;;;;;;;;:::i;85989:70::-;;;;;;;;;;;;;:::i;81447:168::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;81447:168:0;;:::i;73158:3921::-;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;73158:3921:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;73158:3921:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;73158:3921:0;;;;;;;;-1:-1:-1;73158:3921:0;;-1:-1:-1;;;;;73158:3921:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;73158:3921:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;73158:3921:0;;;;;;;;-1:-1:-1;73158:3921:0;;-1:-1:-1;;;;;73158:3921:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;73158:3921:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;73158:3921:0;;;;;;;;-1:-1:-1;73158:3921:0;;-1:-1:-1;;;;;73158:3921:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;73158:3921:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;73158:3921:0;;;;;;;;-1:-1:-1;73158:3921:0;;-1:-1:-1;;;;;73158:3921:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;73158:3921:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;73158:3921:0;;-1:-1:-1;73158:3921:0;;-1:-1:-1;;;;;73158:3921:0:i;54984:164::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;54984:164:0;;;;;;;;;;:::i;82360:113::-;;;;;;;;;;;;;:::i;70261:244::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;70261:244:0;-1:-1:-1;;;;;70261:244:0;;:::i;82926:3051::-;82985:4;82991;82997;83003;83009;83015;83040:16;83048:7;83040;:16::i;:::-;83032:46;;;;;-1:-1:-1;;;83032:46:0;;;;;;;;;;;;-1:-1:-1;;;83032:46:0;;;;;;;;;;;;;;;83094:9;;83091:2879;;-1:-1:-1;83133:1:0;;-1:-1:-1;83133:1:0;;-1:-1:-1;83133:1:0;;-1:-1:-1;83133:1:0;;-1:-1:-1;83133:1:0;;-1:-1:-1;83133:1:0;83125:20;;83091:2879;83178:20;83219:17;83239:21;83249:1;83252:7;83239:9;:21::i;:::-;83219:41;-1:-1:-1;71298:4:0;83219:41;83280:24;83308:3;83280:31;83277:606;;;83375:2;83351:21;83361:1;83364:7;83351:9;:21::i;:::-;:26;;;;;;83381:3;83350:34;83332:52;;83277:606;;;83436:1;71298:4;83409:12;:24;:28;83406:477;;;83501:2;83477:21;83487:1;83490:7;83477:9;:21::i;:::-;:26;;;;;;83507:3;83476:34;83458:52;;83406:477;;;83568:2;71298:4;83536:12;:24;83564:1;83535:30;:35;83532:351;;;83634:3;83610:21;83620:1;83623:7;83610:9;:21::i;:::-;:27;;;;;;83641:3;83609:35;83591:53;;83532:351;;;83696:3;71298:4;83669:12;:24;:30;83666:217;;;83763:3;83739:21;83749:1;83752:7;83739:9;:21::i;:::-;:27;;;;;;83770:3;83738:35;83720:53;;83666:217;;;83857:3;83833:21;83843:1;83846:7;83833:9;:21::i;:::-;:27;;;;;;83864:3;83832:35;83814:53;;83666:217;83964:13;;;83975:1;83964:13;;;;;;;;;83897:9;;;;83964:13;;;;;;;;;;;-1:-1:-1;83964:13:0;83937:40;;84015:3;83997:15;:21;83994:249;;;84062:3;84046:15;:19;84039:26;;84139:4;84130;84126:3;:8;84101:21;84111:1;84114:7;84101:9;:21::i;:::-;:34;;;;;;84100:43;84084:10;84095:1;84084:13;;;;;;;;;;;;;:59;;;;;83994:249;;;84224:3;84200:21;84210:1;84213:7;84200:9;:21::i;:::-;:27;;;;;;84184:10;84195:1;84184:13;;;;;;;;;;;;;:43;;;;;83994:249;84276:10;84287:1;84276:13;;;;;;;;;;;;;;84257:32;;;;84327:3;84309:15;:21;84306:299;;;84374:3;84358:15;:19;84351:26;;84451:4;84442;84438:3;:8;84413:21;84423:1;84426:7;84413:9;:21::i;:::-;:34;;;;;;84412:43;84396:10;84407:1;84396:13;;;;;;;;;;;;;:59;;;;;84306:299;;;84555:3;84537:15;:21;:51;;84568:15;84586:1;84568:19;84537:51;;;84561:3;84537:51;84512:21;84522:1;84525:7;84512:9;:21::i;:::-;:77;;;;;;84496:10;84507:1;84496:13;;;;;;;;;;;;;:93;;;;;84306:299;84638:10;84649:1;84638:13;;;;;;;;;;;;;;84619:32;;;;84689:3;84671:15;:21;84668:299;;;84736:3;84720:15;:19;84713:26;;84813:4;84804;84800:3;:8;84775:21;84785:1;84788:7;84775:9;:21::i;:::-;:34;;;;;;84774:43;84758:10;84769:1;84758:13;;;;;;;;;;;;;:59;;;;;84668:299;;;84917:3;84899:15;:21;:51;;84930:15;84948:1;84930:19;84899:51;;;84923:3;84899:51;84874:21;84884:1;84887:7;84874:9;:21::i;:::-;:77;;;;;;84858:10;84869:1;84858:13;;;;;;;;;;;;;:93;;;;;84668:299;85000:10;85011:1;85000:13;;;;;;;;;;;;;;84981:32;;;;85051:3;85033:15;:21;85030:299;;;85098:3;85082:15;:19;85075:26;;85175:4;85166;85162:3;:8;85137:21;85147:1;85150:7;85137:9;:21::i;:::-;:34;;;;;;85136:43;85120:10;85131:1;85120:13;;;;;;;;;;;;;:59;;;;;85030:299;;;85279:3;85261:15;:21;:51;;85292:15;85310:1;85292:19;85261:51;;;85285:3;85261:51;85236:21;85246:1;85249:7;85236:9;:21::i;:::-;:77;;;;;;85220:10;85231:1;85220:13;;;;;;;;;;;;;:93;;;;;85030:299;85362:10;85373:1;85362:13;;;;;;;;;;;;;;85343:32;;;;85413:3;85395:15;:21;85392:299;;;85460:3;85444:15;:19;85437:26;;85537:4;85528;85524:3;:8;85499:21;85509:1;85512:7;85499:9;:21::i;:::-;:34;;;;;;85498:43;85482:10;85493:1;85482:13;;;;;;;;;;;;;:59;;;;;85392:299;;;85641:3;85623:15;:21;:51;;85654:15;85672:1;85654:19;85623:51;;;85647:3;85623:51;85598:21;85608:1;85611:7;85598:9;:21::i;:::-;:77;;;;;;85582:10;85593:1;85582:13;;;;;;;;;;;;;:93;;;;;85392:299;85724:10;85735:1;85724:13;;;;;;;;;;;;;;85705:32;;;;85770:15;85754:10;85765:1;85754:13;;;;;;;;;;;;;:31;;;;;85815:28;85823:10;85835:7;85815;:28::i;:::-;85802:41;;85868:10;85879:1;85868:13;;;;;;;;;;;;;;85883:10;85894:1;85883:13;;;;;;;;;;;;;;85898:10;85909:1;85898:13;;;;;;;;;;;;;;85913:10;85924:1;85913:13;;;;;;;;;;;;;;85928:10;85939:1;85928:13;;;;;;;;;;;;;;85943:10;85954:1;85943:13;;;;;;;;;;;;;;85860:98;;;;;;;;;;;;;;;;83091:2879;82926:3051;;;;;;;:::o;10235:150::-;-1:-1:-1;;;;;;10344:33:0;;10320:4;10344:33;;;;;;;;;;;;;10235:150;;;;:::o;51539:100::-;51626:5;51619:12;;;;;;;;-1:-1:-1;;51619:12:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;51593:13;;51619:12;;51626:5;;51619:12;;51626:5;51619:12;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;51539:100;:::o;82485:111::-;82543:4;82568:20;;;:8;:20;;;;;;;;82567:21;;82485:111::o;54325:221::-;54401:7;54429:16;54437:7;54429;:16::i;:::-;54421:73;;;;-1:-1:-1;;;54421:73:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;54514:24:0;;;;:15;:24;;;;;;-1:-1:-1;;;;;54514:24:0;;54325:221::o;53855:404::-;53936:13;53952:23;53967:7;53952:14;:23::i;:::-;53936:39;;54000:5;-1:-1:-1;;;;;53994:11:0;:2;-1:-1:-1;;;;;53994:11:0;;;53986:57;;;;-1:-1:-1;;;53986:57:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;54080:5;-1:-1:-1;;;;;54064:21:0;:12;:10;:12::i;:::-;-1:-1:-1;;;;;54064:21:0;;:69;;;;54089:44;54113:5;54120:12;:10;:12::i;:::-;54089:23;:44::i;:::-;54056:161;;;;-1:-1:-1;;;54056:161:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;54230:21;54239:2;54243:7;54230:8;:21::i;:::-;53855:404;;;:::o;87799:136::-;87870:4;87894:12;87907:19;87915:10;87907:7;:19::i;:::-;87894:33;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;87894:33:0;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;87894:33:0;;;;;;;;;;;;;;;;-1:-1:-1;87894:33:0;;;;;;;;;;;;;;87799:136;-1:-1:-1;;;;87799:136:0:o;81334:105::-;81385:13;81418;81411:20;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;81334:105;:::o;53333:211::-;53394:7;53515:21;:12;:19;:21::i;:::-;53508:28;;53333:211;:::o;55215:305::-;55376:41;55395:12;:10;:12::i;:::-;55409:7;55376:18;:41::i;:::-;55368:103;;;;-1:-1:-1;;;55368:103:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;55484:28;55494:4;55500:2;55504:7;55484:9;:28::i;53095:162::-;-1:-1:-1;;;;;53219:20:0;;53192:7;53219:20;;;:13;:20;;;;;:30;;53243:5;53219:23;:30::i;:::-;53212:37;;53095:162;;;;;:::o;82124:101::-;82173:13;82206:11;;;;;;;;;;;;;;;;;82199:18;;82124:101;:::o;80510:133::-;69538:12;:10;:12::i;:::-;-1:-1:-1;;;;;69527:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;69527:23:0;;69519:68;;;;;-1:-1:-1;;;69519:68:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;69519:68:0;;;;;;;;;;;;;;;80607:28:::1;::::0;80575:21:::1;::::0;80607:10:::1;::::0;:28;::::1;;;::::0;80575:21;;80560:12:::1;80607:28:::0;80560:12;80607:28;80575:21;80607:10;:28;::::1;;;;;;;;;;;;;::::0;::::1;;;;;;69598:1;80510:133::o:0;86153:464::-;86207:9;;:14;86199:52;;;;;-1:-1:-1;;;86199:52:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;86270:20;;86262:72;;;;-1:-1:-1;;;86262:72:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;86368:20;;86353:12;:35;86345:70;;;;;-1:-1:-1;;;86345:70:0;;;;;;;;;;;;-1:-1:-1;;;86345:70:0;;;;;;;;;;;;;;;86455:20;;86445:31;;86428:9;:49;86535:3;;86494:38;;:12;;:16;:38::i;:::-;:44;86490:120;;;-1:-1:-1;;86582:12:0;:14;86572:25;86555:9;:43;86490:120;86153:464::o;80651:202::-;69538:12;:10;:12::i;:::-;-1:-1:-1;;;;;69527:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;69527:23:0;;69519:68;;;;;-1:-1:-1;;;69519:68:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;69519:68:0;;;;;;;;;;;;;;;80755:8:::1;:21:::0;;;;80787:9:::1;:23:::0;80821:10:::1;:24:::0;80651:202::o;55591:151::-;55695:39;55712:4;55718:2;55722:7;55695:39;;;;;;;;;;;;:16;:39::i;53621:172::-;53696:7;;53738:22;:12;53754:5;53738:15;:22::i;:::-;-1:-1:-1;53716:44:0;53621:172;-1:-1:-1;;;53621:172:0:o;82009:107::-;82061:13;82094:14;;;;;;;;;;;;;;;;;82087:21;;82009:107;:::o;86806:851::-;86884:13;86918:16;86926:7;86918;:16::i;:::-;86910:46;;;;;-1:-1:-1;;;86910:46:0;;;;;;;;;;;;-1:-1:-1;;;86910:46:0;;;;;;;;;;;;;;;87001:33;87014:9;:18;87024:7;87014:18;;;;;;;;;;;87001:33;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;87001:33:0;86975:22;;;;;;86988:7;;86975:22;;87001:33;86975:22;;;;;;;;;;;;;;;;-1:-1:-1;;86975:22:0;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;86975:22:0;;;;;;;;;;;;;;;;;;-1:-1:-1;86975:22:0;;-1:-1:-1;;86975:22:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;86975:22:0;:59;;86967:103;;;;;-1:-1:-1;;;86967:103:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;87089:41;87108:12;:10;:12::i;:::-;87122:7;87089:18;:41::i;:::-;87081:86;;;;;-1:-1:-1;;;87081:86:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;87186:22;87200:7;87186:13;:22::i;:::-;87178:54;;;;;-1:-1:-1;;;87178:54:0;;;;;;;;;;;;-1:-1:-1;;;87178:54:0;;;;;;;;;;;;;;;87252:23;87267:7;87252:14;:23::i;:::-;87251:24;87243:58;;;;;-1:-1:-1;;;87243:58:0;;;;;;;;;;;;-1:-1:-1;;;87243:58:0;;;;;;;;;;;;;;;87314:22;87339:18;;;:9;:18;;;;;;;;87314:43;;;;;;;;;;;-1:-1:-1;;87314:43:0;;;;;;;;;;;;;;;;;;;;;;;;;;;87339:18;;87314:43;;;87339:18;87314:43;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;87409:1:0;87380:18;;;:9;:18;;;;;87374:32;87314:43;;-1:-1:-1;;;87374:32:0;-1:-1:-1;;87374:32:0;;;;;;;;;;;:36;87370:112;;87444:18;;;;:9;:18;;;;;;;;;87427:43;;;;;;-1:-1:-1;;87427:43:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;87444:18;87427:43;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;87464:5;87427:16;:43::i;:::-;87492:31;87509:7;87518:4;87492:16;:31::i;:::-;87536:18;;;;:9;:18;;;;;;;;:28;;;;;;;;:::i;:::-;;87594:7;87582:39;87603:8;87613:7;87582:39;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;87582:39:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;87641:8;86806:851;-1:-1:-1;;;86806:851:0:o;80861:101::-;69538:12;:10;:12::i;:::-;-1:-1:-1;;;;;69527:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;69527:23:0;;69519:68;;;;;-1:-1:-1;;;69519:68:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;69519:68:0;;;;;;;;;;;;;;;80934:20:::1;80946:7;80934:11;:20::i;:::-;80861:101:::0;:::o;67010:86::-;67081:7;;-1:-1:-1;;;67081:7:0;;;;;67010:86::o;51295:177::-;51367:7;51394:70;51411:7;51394:70;;;;;;;;;;;;;;;;;:12;;:70;:16;:70::i;86625:173::-;86682:13;86716:16;86724:7;86716;:16::i;:::-;86708:46;;;;;-1:-1:-1;;;86708:46:0;;;;;;;;;;;;-1:-1:-1;;;86708:46:0;;;;;;;;;;;;;;;86772:18;;;;:9;:18;;;;;;;;;86765:25;;;;;;-1:-1:-1;;86765:25:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;86772:18;;86765:25;;86772:18;86765:25;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;86625:173;;;:::o;52914:97::-;52995:8;52988:15;;;;;;;;-1:-1:-1;;52988:15:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;52962:13;;52988:15;;52995:8;;52988:15;;52995:8;52988:15;;;;;;;;;;;;;;;;;;;;;;;;51012:221;51084:7;-1:-1:-1;;;;;51112:19:0;;51104:74;;;;-1:-1:-1;;;51104:74:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;51196:20:0;;;;;;:13;:20;;;;;:29;;:27;:29::i;69958:148::-;69538:12;:10;:12::i;:::-;-1:-1:-1;;;;;69527:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;69527:23:0;;69519:68;;;;;-1:-1:-1;;;69519:68:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;69519:68:0;;;;;;;;;;;;;;;70049:6:::1;::::0;70028:40:::1;::::0;70065:1:::1;::::0;-1:-1:-1;;;;;70049:6:0::1;::::0;70028:40:::1;::::0;70065:1;;70028:40:::1;70079:6;:19:::0;;-1:-1:-1;;;;;;70079:19:0::1;::::0;;69958:148::o;69307:87::-;69380:6;;-1:-1:-1;;;;;69380:6:0;69307:87;:::o;51708:104::-;51797:7;51790:14;;;;;;;;-1:-1:-1;;51790:14:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;51764:13;;51790:14;;51797:7;;51790:14;;51797:7;51790:14;;;;;;;;;;;;;;;;;;;;;;;;87943:966;88010:4;88027:21;88057:7;88027:38;;88097:1;88079:8;:15;:19;:43;;;;88120:2;88102:8;:15;:20;88079:43;88076:60;;;88131:5;88124:12;;;;;88076:60;88150:8;88159:1;88150:11;;;;;;;;;;;;;-1:-1:-1;;;;;;88150:11:0;-1:-1:-1;;;88150:19:0;;:60;;;88173:8;88200:1;88182:8;:15;:19;88173:29;;;;;;;;;;;;;-1:-1:-1;;;;;;88173:29:0;-1:-1:-1;;;88173:37:0;88150:60;88147:77;;;88219:5;88212:12;;;;;88147:77;88274:15;88292:8;88301:1;88292:11;;;;;;;;;;;;-1:-1:-1;;;;;;88292:11:0;;-1:-1:-1;88320:6:0;88316:562;88332:8;:15;88328:1;:19;88316:562;;;88368:18;88389:8;88398:1;88389:11;;;;;;;;;;;;-1:-1:-1;;;;;;88389:11:0;;-1:-1:-1;;;;88421:19:0;;:39;;;;-1:-1:-1;;;;;;;;;;88444:16:0;;;88421:39;88417:57;;;88469:5;88462:12;;;;;;;;88417:57;-1:-1:-1;;;;;;;;;88538:19:0;;;;;;:42;;-1:-1:-1;;;;;;;;;;88561:19:0;;;;88538:42;88536:45;:117;;;;-1:-1:-1;;;;;;;;;;88610:19:0;;;;;;:42;;-1:-1:-1;;;;;;;;;;88633:19:0;;;;88610:42;88608:45;88536:117;:189;;;;-1:-1:-1;;;;;;;;;;88682:19:0;;;;;;:42;;-1:-1:-1;;;;;;;;;;88705:19:0;;;;88682:42;88680:45;88536:189;:238;;;;-1:-1:-1;;;;;;;;;;88754:19:0;;;88752:22;88536:238;88515:312;;;88822:5;88815:12;;;;;;;;88515:312;88855:11;-1:-1:-1;88349:3:0;;88316:562;;;-1:-1:-1;88897:4:0;;87943:966;-1:-1:-1;;;;87943:966:0:o;81623:378::-;69538:12;:10;:12::i;:::-;-1:-1:-1;;;;;69527:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;69527:23:0;;69519:68;;;;;-1:-1:-1;;;69519:68:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;69519:68:0;;;;;;;;;;;;;;;81758:20:::1;81730:48:::0;;::::1;::::0;;::::1;;;-1:-1:-1::0;;81730:48:0::1;;::::0;::::1;;;::::0;;;::::1;::::0;;;::::1;::::0;;::::1;::::0;;::::1;::::0;::::1;::::0;;;;;;;;;;:25:::1;::::0;:48;;81758:20;;81730:48;::::1;81758:20:::0;81730:48;;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1::0;;81814:17:0::1;81789:42:::0;;::::1;::::0;;::::1;;;-1:-1:-1::0;;81789:42:0::1;;::::0;::::1;;;::::0;;;::::1;::::0;;;::::1;::::0;;::::1;::::0;;::::1;::::0;::::1;::::0;;;;;;;;;;81730:48;;-1:-1:-1;81789:22:0::1;::::0;:42;-1:-1:-1;81814:17:0;;-1:-1:-1;81789:42:0;-1:-1:-1;81789:42:0;::::1;81814:17:::0;81789:42;;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1::0;;81844:33:0;;81789:42;;-1:-1:-1;81844:33:0::1;::::0;:20:::1;::::0;-1:-1:-1;81844:33:0::1;::::0;::::1;::::0;-1:-1:-1;81844:33:0;-1:-1:-1;81844:33:0::1;:::i;:::-;-1:-1:-1::0;81888:27:0;;::::1;::::0;:17:::1;::::0;:27:::1;::::0;::::1;::::0;::::1;:::i;:::-;;81933:60;81950:11;81963:10;81975:8;81985:7;81933:60;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;;::::1;::::0;;;::::1;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1::0;81933:60:0;;::::1;::::0;;;;;;;;::::1;::::0;;::::1;::::0;;::::1;::::0;;;;::::1;;;;;;;;::::0;;::::1;::::0;;;::::1;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1::0;81933:60:0;;::::1;::::0;;;;;;;;::::1;::::0;;::::1;::::0;;::::1;::::0;;;;::::1;;;;;;;;::::0;;::::1;::::0;;;::::1;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1::0;81933:60:0;;::::1;::::0;;;;;;;;::::1;::::0;;::::1;::::0;;::::1;::::0;;;;::::1;;;;;;;;::::0;;::::1;::::0;;;::::1;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;69598:1;;81623:378:::0;;:::o;54618:295::-;54733:12;:10;:12::i;:::-;-1:-1:-1;;;;;54721:24:0;:8;-1:-1:-1;;;;;54721:24:0;;;54713:62;;;;;-1:-1:-1;;;54713:62:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;54833:8;54788:18;:32;54807:12;:10;:12::i;:::-;-1:-1:-1;;;;;54788:32:0;;;;;;;;;;;;;;;;;-1:-1:-1;54788:32:0;;;:42;;;;;;;;;;;;:53;;-1:-1:-1;;54788:53:0;;;;;;;;;;;54872:12;:10;:12::i;:::-;-1:-1:-1;;;;;54857:48:0;;54896:8;54857:48;;;;;;;;;;;;;;;;;;;;54618:295;;:::o;86067:74::-;69538:12;:10;:12::i;:::-;-1:-1:-1;;;;;69527:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;69527:23:0;;69519:68;;;;;-1:-1:-1;;;69519:68:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;69519:68:0;;;;;;;;;;;;;;;86123:10:::1;:8;:10::i;55813:285::-:0;55945:41;55964:12;:10;:12::i;:::-;55978:7;55945:18;:41::i;:::-;55937:103;;;;-1:-1:-1;;;55937:103:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;56051:39;56065:4;56071:2;56075:7;56084:5;56051:13;:39::i;:::-;55813:285;;;;:::o;51883:792::-;51956:13;51990:16;51998:7;51990;:16::i;:::-;51982:76;;;;-1:-1:-1;;;51982:76:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;52071:23;52097:19;;;:10;:19;;;;;;;;52071:45;;;;;;;;;;;-1:-1:-1;;52071:45:0;;;;;;;;;;;;;;;;;;;;;;;;;;;52097:19;;52071:45;;;52097:19;52071:45;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;52127:18;52148:9;:7;:9::i;:::-;52127:30;;52239:4;52233:18;52255:1;52233:23;52229:72;;;-1:-1:-1;52280:9:0;-1:-1:-1;52273:16:0;;52229:72;52405:23;;:27;52401:108;;52480:4;52486:9;52463:33;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;52463:33:0;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;52463:33:0;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;52463:33:0;;;;;;;;;;;;;-1:-1:-1;;52463:33:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;52449:48;;;;;;52401:108;52641:4;52647:18;:7;:16;:18::i;:::-;52624:42;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;52624:42:0;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;52624:42:0;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;52624:42:0;;;;;;;;;;;;;-1:-1:-1;;52624:42:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;52610:57;;;;51883:792;;;:::o;82233:119::-;82324:20;82317:27;;;;;;;;-1:-1:-1;;82317:27:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;82291:13;;82317:27;;82324:20;;82317:27;;82324:20;82317:27;;;;;;;;;;;;;;;;;;;;;;;;85989:70;69538:12;:10;:12::i;:::-;-1:-1:-1;;;;;69527:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;69527:23:0;;69519:68;;;;;-1:-1:-1;;;69519:68:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;69519:68:0;;;;;;;;;;;;;;;86043:8:::1;:6;:8::i;81447:168::-:0;81506:4;81531:16;81539:7;81531;:16::i;:::-;81523:46;;;;;-1:-1:-1;;;81523:46:0;;;;;;;;;;;;-1:-1:-1;;;81523:46:0;;;;;;;;;;;;;;;-1:-1:-1;81587:20:0;;;;:11;:20;;;;;;;81447:168::o;73158:3921::-;73355:8;:6;:8::i;:::-;73354:9;:34;;;;73381:7;:5;:7::i;:::-;-1:-1:-1;;;;;73367:21:0;:10;-1:-1:-1;;;;;73367:21:0;;73354:34;73346:68;;;;;-1:-1:-1;;;73346:68:0;;;;;;;;;;;;-1:-1:-1;;;73346:68:0;;;;;;;;;;;;;;;73433:12;:19;73456:2;73433:25;73425:34;;;;;;71337:3;73480:12;73493:1;73480:15;;;;;;;;;;;;;;:28;;:60;;;;;71896:3;73512:12;73525:1;73512:15;;;;;;;;;;;;;;:28;;73480:60;:98;;;;;73545:16;:33;73562:12;73575:1;73562:15;;;;;;;;;;;;;;;;;;;73545:33;;;;;;;;;;-1:-1:-1;73545:33:0;;;;73544:34;73480:98;73472:161;;;;-1:-1:-1;;;73472:161:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;72458:3;73653:12;73666:1;73653:15;;;;;;;;;;;;;;:29;:95;;;;71374:3;73686:12;73699:1;73686:15;;;;;;;;;;;;;;:29;;:62;;;;;71933:3;73719:12;73732:1;73719:15;;;;;;;;;;;;;;:29;;73686:62;73652:135;;;;;73754:16;:33;73771:12;73784:1;73771:15;;;;;;;;;;;;;;;;;;;73754:33;;;;;;;;;;-1:-1:-1;73754:33:0;;;;73753:34;73652:135;73644:198;;;;-1:-1:-1;;;73644:198:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;72458:3;73862:12;73875:1;73862:15;;;;;;;;;;;;;;:29;:95;;;;71411:3;73895:12;73908:1;73895:15;;;;;;;;;;;;;;:29;;:62;;;;;71970:3;73928:12;73941:1;73928:15;;;;;;;;;;;;;;:29;;73895:62;73861:135;;;;;73963:16;:33;73980:12;73993:1;73980:15;;;;;;;;;;;;;;;;;;;73963:33;;;;;;;;;;-1:-1:-1;73963:33:0;;;;73962:34;73861:135;73853:198;;;;-1:-1:-1;;;73853:198:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;72458:3;74071:12;74084:1;74071:15;;;;;;;;;;;;;;:29;:93;;;;71447:3;74104:12;74117:1;74104:15;;;;;;;;;;;;;;:28;;:60;;;;;72006:3;74136:12;74149:1;74136:15;;;;;;;;;;;;;;:28;;74104:60;74070:133;;;;;74170:16;:33;74187:12;74200:1;74187:15;;;;;;;;;;;;;;;;;;;74170:33;;;;;;;;;;-1:-1:-1;74170:33:0;;;;74169:34;74070:133;74062:196;;;;-1:-1:-1;;;74062:196:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;72458:3;74278:12;74291:1;74278:15;;;;;;;;;;;;;;:29;:91;;;;71482:3;74311:12;74324:1;74311:15;;;;;;;;;;;;;;:27;;:58;;;;;72041:3;74342:12;74355:1;74342:15;;;;;;;;;;;;;;:27;;74311:58;74277:131;;;;;74375:16;:33;74392:12;74405:1;74392:15;;;;;;;;;;;;;;;;;;;74375:33;;;;;;;;;;-1:-1:-1;74375:33:0;;;;74374:34;74277:131;74269:194;;;;-1:-1:-1;;;74269:194:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;72458:3;74483:12;74496:1;74483:15;;;;;;;;;;;;;;:29;:93;;;;71594:3;74516:12;74529:1;74516:15;;;;;;;;;;;;;;:28;;:60;;;;;72155:3;74548:12;74561:1;74548:15;;;;;;;;;;;;;;:28;;74516:60;74482:133;;;;;74582:16;:33;74599:12;74612:1;74599:15;;;;;;;;;;;;;;;;;;;74582:33;;;;;;;;;;-1:-1:-1;74582:33:0;;;;74581:34;74482:133;74474:196;;;;-1:-1:-1;;;74474:196:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;72458:3;74690:12;74703:1;74690:15;;;;;;;;;;;;;;:29;:99;;;;71558:3;74723:12;74736:1;74723:15;;;;;;;;;;;;;;:31;;:66;;;;;72119:3;74758:12;74771:1;74758:15;;;;;;;;;;;;;;:31;;74723:66;74689:139;;;;;74795:16;:33;74812:12;74825:1;74812:15;;;;;;;;;;;;;;;;;;;74795:33;;;;;;;;;;-1:-1:-1;74795:33:0;;;;74794:34;74689:139;74681:202;;;;-1:-1:-1;;;74681:202:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;72458:3;74903:12;74916:1;74903:15;;;;;;;;;;;;;;:29;:101;;;;71808:3;74936:12;74949:1;74936:15;;;;;;;;;;;;;;:32;;:68;;;;;72372:3;74972:12;74985:1;74972:15;;;;;;;;;;;;;;:32;;74936:68;74902:141;;;;;75010:16;:33;75027:12;75040:1;75027:15;;;;;;;;;;;;;;;;;;;75010:33;;;;;;;;;;-1:-1:-1;75010:33:0;;;;75009:34;74902:141;74894:204;;;;-1:-1:-1;;;74894:204:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;72458:3;75118:12;75131:1;75118:15;;;;;;;;;;;;;;:29;:103;;;;71849:3;75151:12;75164:1;75151:15;;;;;;;;;;;;;;:33;;:70;;;;;72413:3;75188:12;75201:1;75188:15;;;;;;;;;;;;;;:33;;75151:70;75117:143;;;;;75227:16;:33;75244:12;75257:1;75244:15;;;;;;;;;;;;;;;;;;;75227:33;;;;;;;;;;-1:-1:-1;75227:33:0;;;;75226:34;75117:143;75109:206;;;;-1:-1:-1;;;75109:206:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;72458:3;75335:12;75348:1;75335:15;;;;;;;;;;;;;;:29;:95;;;;71519:3;75368:12;75381:1;75368:15;;;;;;;;;;;;;;:29;;:62;;;;;72078:3;75401:12;75414:1;75401:15;;;;;;;;;;;;;;:29;;75368:62;75334:135;;;;;75436:16;:33;75453:12;75466:1;75453:15;;;;;;;;;;;;;;;;;;;75436:33;;;;;;;;;;-1:-1:-1;75436:33:0;;;;75435:34;75334:135;75326:198;;;;-1:-1:-1;;;75326:198:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;75537:19;75559:93;75650:1;75559:86;75626:11;:18;75559:62;75602:11;:18;75559:38;75581:8;:15;75559:10;:17;:21;;:38;;;;:::i;:::-;:42;;:62::i;:93::-;75537:115;;72458:3;75666:12;75679:1;75666:15;;;;;;;;;;;;;;:27;75663:48;;75695:16;;75663:48;72458:3;75725:12;75738:1;75725:15;;;;;;;;;;;;;;:27;75722:48;;75754:16;;75722:48;72458:3;75784:12;75797:1;75784:15;;;;;;;;;;;;;;:27;75781:48;;75813:16;;75781:48;72458:3;75843:12;75856:1;75843:15;;;;;;;;;;;;;;:27;75840:48;;75872:16;;75840:48;72458:3;75902:12;75915:1;75902:15;;;;;;;;;;;;;;:27;75899:48;;75931:16;;75899:48;72458:3;75961:12;75974:1;75961:15;;;;;;;;;;;;;;:27;75958:48;;75990:16;;75958:48;72458:3;76020:12;76033:1;76020:15;;;;;;;;;;;;;;:27;76017:48;;76049:16;;76017:48;72458:3;76079:12;76092:1;76079:15;;;;;;;;;;;;;;:27;76076:48;;76108:16;;76076:48;72458:3;76138:12;76151:1;76138:15;;;;;;;;;;;;;;:27;76135:48;;76167:16;;76135:48;76196:17;76248:10;;76231:14;:27;76228:104;;;76309:10;;76290:30;;:14;;:18;:30::i;:::-;76275:45;;76228:104;76393:9;;76378:12;:24;76366:8;;:37;76353:9;:50;:75;;;;76421:7;:5;:7::i;:::-;-1:-1:-1;;;;;76407:21:0;:10;-1:-1:-1;;;;;76407:21:0;;76353:75;76344:112;;;;;-1:-1:-1;;;76344:112:0;;;;;;;;;;;;-1:-1:-1;;;76344:112:0;;;;;;;;;;;;;;;76493:2;76475:14;:20;;76467:69;;;;-1:-1:-1;;;76467:69:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;71298:4;76555:21;:11;:19;:21::i;:::-;:33;76547:72;;;;;-1:-1:-1;;;76547:72:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;76632:21;76656:104;76676:12;76689:1;76676:15;;;;;;;;;;;;;;76693:12;76706:1;76693:15;;;;;;;;;;;;;;76710:12;76723:1;76710:15;;;;;;;;;;;;;;76727:12;76740:1;76727:15;;;;;;;;;;;;;;76744:12;76757:1;76744:15;;;;;;;;;;;;;;76656:19;:104::i;:::-;76632:128;;76790:84;76809:16;76827:10;76839:8;76849:11;76862;76790:18;:84::i;:::-;76771:103;;76904:124;76926:16;76944:12;76957:1;76944:15;;;;;;;;;;;;;;76961:12;76974:1;76961:15;;;;;;;;;;;;;;76978:12;76991:1;76978:15;;;;;;;;;;;;;;76995:12;77008:1;76995:15;;;;;;;;;;;;;;77012:12;77025:1;77012:15;;;;;;;;;;;;;;76904:21;:124::i;:::-;76885:143;;77041:30;77054:16;77041:12;:30::i;:::-;73158:3921;;;;;;;;:::o;54984:164::-;-1:-1:-1;;;;;55105:25:0;;;55081:4;55105:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;54984:164::o;82360:113::-;82448:17;82441:24;;;;;;;;-1:-1:-1;;82441:24:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;82415:13;;82441:24;;82448:17;;82441:24;;82448:17;82441:24;;;;;;;;;;;;;;;;;;;;;;;;70261:244;69538:12;:10;:12::i;:::-;-1:-1:-1;;;;;69527:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;69527:23:0;;69519:68;;;;;-1:-1:-1;;;69519:68:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;69519:68:0;;;;;;;;;;;;;;;-1:-1:-1;;;;;70350:22:0;::::1;70342:73;;;;-1:-1:-1::0;;;70342:73:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;70452:6;::::0;70431:38:::1;::::0;-1:-1:-1;;;;;70431:38:0;;::::1;::::0;70452:6:::1;::::0;70431:38:::1;::::0;70452:6:::1;::::0;70431:38:::1;70480:6;:17:::0;;-1:-1:-1;;;;;;70480:17:0::1;-1:-1:-1::0;;;;;70480:17:0;;;::::1;::::0;;;::::1;::::0;;70261:244::o;57565:127::-;57630:4;57654:30;:12;57676:7;57654:21;:30::i;81177:149::-;81295:9;;81278:38;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;81268:49;;;;;;81177:149::o;82608:310::-;82673:13;82698:6;;82748:1;82734:158;82751:5;;82734:158;;82802:1;82806;82802:5;82782:16;82792:1;82795:2;82782:9;:16::i;:::-;:26;;;;;;82778:30;;82827:1;82829;82827:4;;;;;;;;;;;;;;82823:8;;82853:1;82855;82853:4;;;;;;;;;;;;;;82846:1;82848;82846:4;;;;;;;;;;;;;:11;;;;;82879:1;82872;82874;82872:4;;;;;;;;;;;;;;;;;:8;-1:-1:-1;;82758:3:0;82734:158;;;-1:-1:-1;82909:1:0;;82608:310;-1:-1:-1;;;;82608:310:0:o;667:106::-;755:10;667:106;:::o;63472:183::-;63538:24;;;;:15;:24;;;;;:29;;-1:-1:-1;;;;;;63538:29:0;-1:-1:-1;;;;;63538:29:0;;;;;;;;:24;;63592:23;63538:24;63592:14;:23::i;:::-;-1:-1:-1;;;;;63583:46:0;;;;;;;;;;;63472:183;;:::o;88917:471::-;88975:13;89000:17;89026:3;89000:30;;89041:19;89073:4;:11;89063:22;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;89063:22:0;;89041:44;;89101:6;89096:253;89117:4;:11;89113:1;:15;89096:253;;;89173:2;89161:4;89166:1;89161:7;;;;;;;;;;;;;;89155:20;;;;89154:48;;;89199:2;89187:4;89192:1;89187:7;;;;;;;;;;;;;;89181:20;;89154:48;89150:188;;;89248:4;89253:1;89248:7;;;;;;;;;;;;;;;;89242:14;;89259:2;89242:19;89235:27;;89223:6;89230:1;89223:9;;;;;;;;;;;:39;-1:-1:-1;;;;;89223:39:0;;;;;;;;;89150:188;;;89315:4;89320:1;89315:7;;;;;;;;;;;;;;;;89303:6;89310:1;89303:9;;;;;;;;;;;:19;-1:-1:-1;;;;;89303:19:0;;;;;;;;;89150:188;89130:3;;89096:253;;44278:123;44347:7;44374:19;44382:3;44374:7;:19::i;57859:355::-;57952:4;57977:16;57985:7;57977;:16::i;:::-;57969:73;;;;-1:-1:-1;;;57969:73:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;58053:13;58069:23;58084:7;58069:14;:23::i;:::-;58053:39;;58122:5;-1:-1:-1;;;;;58111:16:0;:7;-1:-1:-1;;;;;58111:16:0;;:51;;;;58155:7;-1:-1:-1;;;;;58131:31:0;:20;58143:7;58131:11;:20::i;:::-;-1:-1:-1;;;;;58131:31:0;;58111:51;:94;;;;58166:39;58190:5;58197:7;58166:23;:39::i;:::-;58103:103;57859:355;-1:-1:-1;;;;57859:355:0:o;60995:599::-;61120:4;-1:-1:-1;;;;;61093:31:0;:23;61108:7;61093:14;:23::i;:::-;-1:-1:-1;;;;;61093:31:0;;61085:85;;;;-1:-1:-1;;;61085:85:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;61207:16:0;;61199:65;;;;-1:-1:-1;;;61199:65:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;61277:39;61298:4;61304:2;61308:7;61277:20;:39::i;:::-;61381:29;61398:1;61402:7;61381:8;:29::i;:::-;-1:-1:-1;;;;;61423:19:0;;;;;;:13;:19;;;;;:35;;61450:7;61423:26;:35::i;:::-;-1:-1:-1;;;;;;61469:17:0;;;;;;:13;:17;;;;;:30;;61491:7;61469:21;:30::i;:::-;-1:-1:-1;61512:29:0;:12;61529:7;61538:2;61512:16;:29::i;:::-;;61578:7;61574:2;-1:-1:-1;;;;;61559:27:0;61568:4;-1:-1:-1;;;;;61559:27:0;;;;;;;;;;;60995:599;;;:::o;36069:137::-;36140:7;36175:22;36179:3;36191:5;36175:3;:22::i;14259:158::-;14317:7;14350:1;14345;:6;;14337:49;;;;;-1:-1:-1;;;14337:49:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;14404:5:0;;;14259:158::o;44740:236::-;44820:7;;;;44880:22;44884:3;44896:5;44880:3;:22::i;:::-;44849:53;;;;-1:-1:-1;44740:236:0;-1:-1:-1;;;;;44740:236:0:o;87665:126::-;87774:9;87745:12;87758;87766:3;87758:7;:12::i;:::-;87745:26;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;87745:26:0;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;87745:26:0;;;;;;;;;;;;;;;;-1:-1:-1;87745:26:0;;;;;;;;;;:38;;-1:-1:-1;;87745:38:0;;;;;;;;;;;-1:-1:-1;;;;87665:126:0:o;62195:100::-;62268:19;;;;:8;;:19;;;;;:::i;46026:213::-;46133:7;46184:44;46189:3;46209;46215:12;46184:4;:44::i;:::-;46176:53;-1:-1:-1;46026:213:0;;;;;;:::o;68069:120::-;67613:8;:6;:8::i;:::-;67605:41;;;;;-1:-1:-1;;;67605:41:0;;;;;;;;;;;;-1:-1:-1;;;67605:41:0;;;;;;;;;;;;;;;68128:7:::1;:15:::0;;-1:-1:-1;;;;68128:15:0::1;::::0;;68159:22:::1;68168:12;:10;:12::i;:::-;68159:22;::::0;;-1:-1:-1;;;;;68159:22:0;;::::1;::::0;;;;;;;::::1;::::0;;::::1;68069:120::o:0;56980:272::-;57094:28;57104:4;57110:2;57114:7;57094:9;:28::i;:::-;57141:48;57164:4;57170:2;57174:7;57183:5;57141:22;:48::i;:::-;57133:111;;;;-1:-1:-1;;;57133:111:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;46490:746;46546:13;46767:10;46763:53;;-1:-1:-1;46794:10:0;;;;;;;;;;;;-1:-1:-1;;;46794:10:0;;;;;;46763:53;46841:5;46826:12;46882:78;46889:9;;46882:78;;46915:8;;46946:2;46938:10;;;;46882:78;;;46970:19;47002:6;46992:17;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;46992:17:0;-1:-1:-1;47064:5:0;;-1:-1:-1;46970:39:0;-1:-1:-1;;;47036:10:0;;47080:117;47087:9;;47080:117;;47156:2;47149:4;:9;47144:2;:14;47131:29;;47113:6;47120:7;;;;;;;47113:15;;;;;;;;;;;:47;-1:-1:-1;;;;;47113:47:0;;;;;;;;-1:-1:-1;47183:2:0;47175:10;;;;47080:117;;;-1:-1:-1;47221:6:0;46490:746;-1:-1:-1;;;;46490:746:0:o;67810:118::-;67336:8;:6;:8::i;:::-;67335:9;67327:38;;;;;-1:-1:-1;;;67327:38:0;;;;;;;;;;;;-1:-1:-1;;;67327:38:0;;;;;;;;;;;;;;;67870:7:::1;:14:::0;;-1:-1:-1;;;;67870:14:0::1;-1:-1:-1::0;;;67870:14:0::1;::::0;;67900:20:::1;67907:12;:10;:12::i;13797:179::-:0;13855:7;13887:5;;;13911:6;;;;13903:46;;;;;-1:-1:-1;;;13903:46:0;;;;;;;;;;;;;;;;;;;;;;;;;;;65493:114;65585:14;;65493:114::o;77840:491::-;77947:7;77981:4;72458:3;78001:19;;77998:65;;78033:27;78054:5;78033:16;:6;78044:4;78033:10;:16::i;:27::-;78024:36;;77998:65;72458:3;78076:5;:19;78073:65;;78108:27;78129:5;78108:16;:6;78119:4;78108:10;:16::i;:27::-;78099:36;;78073:65;72458:3;78159:4;:18;78156:63;;78190:26;78211:4;78190:16;:6;78201:4;78190:10;:16::i;:26::-;78181:35;;78156:63;72458:3;78232;:17;78229:61;;78262:25;78283:3;78262:16;:6;78273:4;78262:10;:16::i;:25::-;78253:34;;78229:61;78317:6;77840:491;-1:-1:-1;;;;;;77840:491:0:o;78339:702::-;78504:7;78531:107;78571:66;78592:10;71640:3;72203;78571:20;:66::i;:::-;78545:17;;78531:35;;:4;;78563:1;78545:19;78540:2;:25;78531:8;:35::i;:107::-;78524:114;;78656:98;78694:59;78715:8;71680:3;72243;78694:20;:59::i;:::-;78670:15;;78656:33;;:4;;78686:1;78670:17;78665:2;:23;78656:8;:33::i;:98::-;78649:105;;78772:110;78813:68;78834:11;71723:3;72286;78813:20;:68::i;:::-;78786:18;;78772:36;;:4;;78805:1;78786:20;78781:2;:26;78772:8;:36::i;:110::-;78765:117;;78900:109;78941:67;78962:11;71766:3;72328;78941:20;:67::i;:::-;78914:18;;78900:36;;:4;;78933:1;78914:20;78909:2;:26;78900:8;:36::i;79049:543::-;79180:7;72458:3;79203;:17;79200:57;;79231:23;79250:3;79231:14;:4;79240;79231:8;:14::i;:23::-;79224:30;;79200:57;72458:3;79270:7;:21;79267:65;;79302:27;79321:7;79302:14;:4;79311;79302:8;:14::i;:27::-;79295:34;;79267:65;72458:3;79345:5;:19;79342:61;;79375:25;79394:5;79375:14;:4;79384;79375:8;:14::i;:25::-;79368:32;;79342:61;72458:3;79418:8;:22;79415:67;;79451:28;79470:8;79451:14;:4;79460;79451:8;:14::i;:28::-;79444:35;;79415:67;72458:3;79495:9;:23;79492:69;;79529:29;79548:9;79529:14;:4;79538;79529:8;:14::i;:29::-;79522:36;;79492:69;-1:-1:-1;79580:4:0;;79049:543;-1:-1:-1;;;;;79049:543:0:o;77087:745::-;77154:20;;;;:8;:20;;;;;;;;77153:21;77145:53;;;;;-1:-1:-1;;;77145:53:0;;;;;;;;;;;;-1:-1:-1;;;77145:53:0;;;;;;;;;;;;;;;77209:20;;;;:8;:20;;;;;:27;;-1:-1:-1;;77209:27:0;77232:4;77209:27;;;77249:23;:11;:21;:23::i;:::-;77283:17;77303:21;:11;:19;:21::i;:::-;77337:22;;;;:11;:22;;;;;:35;;;77283:41;-1:-1:-1;77398:1:0;77283:41;77388:11;77385:260;;77419:11;77460:13;77434:22;77443:1;77446:9;77434:8;:22::i;:::-;:40;;;;;;77478:3;77433:48;77500:24;;;;:16;:24;;;;;;77433:48;;-1:-1:-1;77500:24:0;;77496:92;;77545:13;:26;;;;;;;-1:-1:-1;77545:26:0;;;;;;;;;77496:92;77602:24;;;;:16;:24;;;;;:31;;-1:-1:-1;;77602:31:0;77629:4;77602:31;;;77385:260;77659:32;77669:10;77681:9;77659;:32::i;:::-;77708:20;;:25;:51;;;;;71298:4;77737:9;:22;77708:51;77704:121;;;77812:1;77799:12;:14;77776:20;:37;77087:745;;:::o;44039:151::-;44123:4;44147:35;44157:3;44177;44147:9;:35::i;35156:137::-;35226:4;35250:35;35258:3;35278:5;35250:7;:35::i;34849:131::-;34916:4;34940:32;34945:3;34965:5;34940:4;:32::i;43462:185::-;43551:4;43575:64;43580:3;43600;-1:-1:-1;;;;;43614:23:0;;43575:4;:64::i;31107:204::-;31202:18;;31174:7;;31202:26;-1:-1:-1;31194:73:0;;;;-1:-1:-1;;;31194:73:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;31285:3;:11;;31297:5;31285:18;;;;;;;;;;;;;;;;31278:25;;31107:204;;;;:::o;41322:279::-;41426:19;;41389:7;;;;41426:27;-1:-1:-1;41418:74:0;;;;-1:-1:-1;;;41418:74:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;41505:22;41530:3;:12;;41543:5;41530:19;;;;;;;;;;;;;;;;;;41505:44;;41568:5;:10;;;41580:5;:12;;;41560:33;;;;;41322:279;;;;;:::o;42819:319::-;42913:7;42952:17;;;:12;;;:17;;;;;;43003:12;42988:13;42980:36;;;;-1:-1:-1;;;42980:36:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;43070:3;:12;;43094:1;43083:8;:12;43070:26;;;;;;;;;;;;;;;;;;:33;;;43063:40;;;42819:319;;;;;:::o;62860:604::-;62981:4;63008:15;:2;-1:-1:-1;;;;;63008:13:0;;:15::i;:::-;63003:60;;-1:-1:-1;63047:4:0;63040:11;;63003:60;63073:23;63099:252;-1:-1:-1;;;63212:12:0;:10;:12::i;:::-;63239:4;63258:7;63280:5;63115:181;;;;;;-1:-1:-1;;;;;63115:181:0;;;;;;-1:-1:-1;;;;;63115:181:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;63115:181:0;;;;;;;-1:-1:-1;;;;;63115:181:0;;;;;;;;;;;63099:252;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;63099:15:0;;;:252;:15;:252::i;:::-;63073:278;;63362:13;63389:10;63378:32;;;;;;;;;;;;;;;-1:-1:-1;63378:32:0;-1:-1:-1;;;;;;63429:26:0;-1:-1:-1;;;63429:26:0;;-1:-1:-1;;;62860:604:0;;;;;;:::o;14676:220::-;14734:7;14758:6;14754:20;;-1:-1:-1;14773:1:0;14766:8;;14754:20;14797:5;;;14801:1;14797;:5;:1;14821:5;;;;;:10;14813:56;;;;-1:-1:-1;;;14813:56:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;79600:902;79707:7;;;79759:708;79778:15;:22;79774:1;:26;79759:708;;;79852:5;79830:15;79846:1;79830:18;;;;;;;;;;;;;;:27;;:58;;;;;79883:5;79861:15;79877:1;79861:18;;;;;;;;;;;;;;:27;;79830:58;79822:121;;;;-1:-1:-1;;;79822:121:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;79967:16;:36;79984:15;80000:1;79984:18;;;;;;;;;;;;;;;;;;;79967:36;;;;;;;;;;-1:-1:-1;79967:36:0;;;;79966:37;79958:110;;;;-1:-1:-1;;;79958:110:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;80111:4;80141:3;;;80130:183;80148:15;:22;80146:1;:24;80130:183;;;80221:15;80237:1;80221:18;;;;;;;;;;;;;;80199:15;80215:1;80199:18;;;;;;;;;;;;;;:40;80196:102;;;80273:5;80264:14;;80196:102;80172:3;;80130:183;;;;80335:6;80327:54;;;;-1:-1:-1;;;80327:54:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;80411:44;80436:15;80452:1;80436:18;;;;;;;;;;;;;;80411:20;80426:4;80411:10;:14;;:20;;;;:::i;:44::-;80398:57;-1:-1:-1;;79802:3:0;;79759:708;;65615:181;65769:19;;65787:1;65769:19;;;65615:181::o;80970:199::-;81070:89;;;;;;;;;;;;;;;;;;81098:15;81070:89;;;;81115:16;81070:89;;;;81143:12;-1:-1:-1;;81143:14:0;81133:25;81070:89;;;;;;;;;;;;;;;;;;;;;;;;81060:100;;;;;;80970:199::o;58557:110::-;58633:26;58643:2;58647:7;58633:26;;;;;;;;;;;;:9;:26::i;40637:125::-;40708:4;40732:17;;;:12;;;;;:17;;;;;;:22;;;40637:125::o;28809:1544::-;28875:4;29014:19;;;:12;;;:19;;;;;;29050:15;;29046:1300;;29485:18;;-1:-1:-1;;29436:14:0;;;;29485:22;;;;29412:21;;29485:3;;:22;;29772;;;;;;;;;;;;;;29752:42;;29918:9;29889:3;:11;;29901:13;29889:26;;;;;;;;;;;;;;;;;;;:38;;;;29995:23;;;30037:1;29995:12;;;:23;;;;;;30021:17;;;29995:43;;30147:17;;29995:3;;30147:17;;;;;;;;;;;;;;;;;;;;;;30242:3;:12;;:19;30255:5;30242:19;;;;;;;;;;;30235:26;;;30285:4;30278:11;;;;;;;;29046:1300;30329:5;30322:12;;;;;28219:414;28282:4;28304:21;28314:3;28319:5;28304:9;:21::i;:::-;28299:327;;-1:-1:-1;28342:23:0;;;;;;;;:11;:23;;;;;;;;;;;;;28525:18;;28503:19;;;:12;;;:19;;;;;;:40;;;;28558:11;;28299:327;-1:-1:-1;28609:5:0;28602:12;;38137:692;38213:4;38348:17;;;:12;;;:17;;;;;;38382:13;38378:444;;-1:-1:-1;;38467:38:0;;;;;;;;;;;;;;;;;;38449:57;;;;;;;;:12;:57;;;;;;;;;;;;;;;;;;;;;;;;38664:19;;38644:17;;;:12;;;:17;;;;;;;:39;38698:11;;38378:444;38778:5;38742:3;:12;;38766:1;38755:8;:12;38742:26;;;;;;;;;;;;;;;;;;:33;;:41;;;;38805:5;38798:12;;;;;19238:422;19605:20;19644:8;;;19238:422::o;22156:195::-;22259:12;22291:52;22313:6;22321:4;22327:1;22330:12;22291:21;:52::i;58894:250::-;58990:18;58996:2;59000:7;58990:5;:18::i;:::-;59027:54;59058:1;59062:2;59066:7;59075:5;59027:22;:54::i;:::-;59019:117;;;;-1:-1:-1;;;59019:117:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23208:530;23335:12;23393:5;23368:21;:30;;23360:81;;;;-1:-1:-1;;;23360:81:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23460:18;23471:6;23460:10;:18::i;:::-;23452:60;;;;;-1:-1:-1;;;23452:60:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;23586:12;23600:23;23627:6;-1:-1:-1;;;;;23627:11:0;23647:5;23655:4;23627:33;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;23627:33:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23585:75;;;;23678:52;23696:7;23705:10;23717:12;23678:17;:52::i;:::-;23671:59;23208:530;-1:-1:-1;;;;;;;23208:530:0:o;59480:404::-;-1:-1:-1;;;;;59560:16:0;;59552:61;;;;;-1:-1:-1;;;59552:61:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;59633:16;59641:7;59633;:16::i;:::-;59632:17;59624:58;;;;;-1:-1:-1;;;59624:58:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;59695:45;59724:1;59728:2;59732:7;59695:20;:45::i;:::-;-1:-1:-1;;;;;59753:17:0;;;;;;:13;:17;;;;;:30;;59775:7;59753:21;:30::i;:::-;-1:-1:-1;59796:29:0;:12;59813:7;59822:2;59796:16;:29::i;:::-;-1:-1:-1;59843:33:0;;59868:7;;-1:-1:-1;;;;;59843:33:0;;;59860:1;;59843:33;;59860:1;;59843:33;59480:404;;:::o;25748:742::-;25863:12;25892:7;25888:595;;;-1:-1:-1;25923:10:0;25916:17;;25888:595;26037:17;;:21;26033:439;;26300:10;26294:17;26361:15;26348:10;26344:2;26340:19;26333:44;26248:148;26436:20;;-1:-1:-1;;;26436:20:0;;;;;;;;;;;;;;;;;26443:12;;26436:20;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;

Swarm Source

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