Token RICH KIDS

Overview CRC721

Total Supply:
5,062 RK

Holders:
271 addresses

Transfers:
-

Loading
[ Download CSV Export  ] 
Loading
[ Download CSV Export  ] 
Loading

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

Contract Source Code Verified (Exact Match)

Contract Name:
RICHKIDS

Compiler Version
v0.8.7+commit.e28d00a7

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2022-11-06
*/

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


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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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


// OpenZeppelin Contracts (last updated v4.7.0) (utils/Strings.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

    /**
     * @dev Converts an `address` with fixed length of 20 bytes to its not checksummed ASCII `string` hexadecimal representation.
     */
    function toHexString(address addr) internal pure returns (string memory) {
        return toHexString(uint256(uint160(addr)), _ADDRESS_LENGTH);
    }
}

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


// OpenZeppelin Contracts (last updated v4.7.0) (utils/Address.sol)

pragma solidity ^0.8.1;

/**
 * @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
     * ====
     *
     * [IMPORTANT]
     * ====
     * You shouldn't rely on `isContract` to protect against flash loan attacks!
     *
     * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets
     * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract
     * constructor.
     * ====
     */
    function isContract(address account) internal view returns (bool) {
        // This method relies on extcodesize/address.code.length, which returns 0
        // for contracts in construction, since the code is only stored at the end
        // of the constructor execution.

        return account.code.length > 0;
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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


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

pragma solidity ^0.8.0;

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

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


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

pragma solidity ^0.8.0;

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

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


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

pragma solidity ^0.8.0;


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

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


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

pragma solidity ^0.8.0;


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

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

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

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

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

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

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

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

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

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

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

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

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


// OpenZeppelin Contracts (last updated v4.5.0) (token/ERC721/extensions/IERC721Enumerable.sol)

pragma solidity ^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);

    /**
     * @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/extensions/IERC721Metadata.sol


// OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Metadata.sol)

pragma solidity ^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/utils/Context.sol


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

pragma solidity ^0.8.0;

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

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

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


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

pragma solidity ^0.8.0;








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

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

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

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

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

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

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

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

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

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

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

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

    /**
     * @dev See {IERC721Metadata-tokenURI}.
     */
    function tokenURI(uint256 tokenId) public view virtual override returns (string memory) {
        _requireMinted(tokenId);

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

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

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

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

        _approve(to, tokenId);
    }

    /**
     * @dev See {IERC721-getApproved}.
     */
    function getApproved(uint256 tokenId) public view virtual override returns (address) {
        _requireMinted(tokenId);

        return _tokenApprovals[tokenId];
    }

    /**
     * @dev See {IERC721-setApprovalForAll}.
     */
    function setApprovalForAll(address operator, bool approved) public virtual override {
        _setApprovalForAll(_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: caller is not token 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: caller is not token owner nor approved");
        _safeTransfer(from, to, tokenId, data);
    }

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

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

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

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

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

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

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

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

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

        _afterTokenTransfer(address(0), to, tokenId);
    }

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

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

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

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

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

        _afterTokenTransfer(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 from incorrect 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);

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

        emit Transfer(from, to, tokenId);

        _afterTokenTransfer(from, to, tokenId);
    }

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

    /**
     * @dev Approve `operator` to operate on all of `owner` tokens
     *
     * Emits an {ApprovalForAll} event.
     */
    function _setApprovalForAll(
        address owner,
        address operator,
        bool approved
    ) internal virtual {
        require(owner != operator, "ERC721: approve to caller");
        _operatorApprovals[owner][operator] = approved;
        emit ApprovalForAll(owner, operator, approved);
    }

    /**
     * @dev Reverts if the `tokenId` has not been minted yet.
     */
    function _requireMinted(uint256 tokenId) internal view virtual {
        require(_exists(tokenId), "ERC721: invalid token ID");
    }

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

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

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

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


// OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/ERC721Enumerable.sol)

pragma solidity ^0.8.0;



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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

// File: @openzeppelin/contracts/security/Pausable.sol


// OpenZeppelin Contracts (last updated v4.7.0) (security/Pausable.sol)

pragma solidity ^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() {
        _paused = false;
    }

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

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

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

    /**
     * @dev Throws if the contract is paused.
     */
    function _requireNotPaused() internal view virtual {
        require(!paused(), "Pausable: paused");
    }

    /**
     * @dev Throws if the contract is not paused.
     */
    function _requirePaused() internal view virtual {
        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


// OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol)

pragma solidity ^0.8.0;


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

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

    /**
     * @dev Initializes the contract setting the deployer as the initial owner.
     */
    constructor() {
        _transferOwnership(_msgSender());
    }

    /**
     * @dev Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        _checkOwner();
        _;
    }

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

    /**
     * @dev Throws if the sender is not the owner.
     */
    function _checkOwner() internal view virtual {
        require(owner() == _msgSender(), "Ownable: caller is not the owner");
    }

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

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

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

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


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

pragma solidity ^0.8.0;

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

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

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

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

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

// File: contracts/TRK.sol


pragma solidity ^0.8.0;






contract RICHKIDS is ERC721Enumerable, Pausable, Ownable {
    using Counters for Counters.Counter;
    Counters.Counter private _mintCounter;

    //Phase 1
    uint256 public _maxMintable = 10000;
    uint256 public _mintPrice = 99 ether;
    uint256 public _wlPrice = 85 ether;

    // Settings 
    uint256 public _maxMintPerTX = 100;
    uint256 public _maxPerWallet = 50;

    // Base URI for metadata 
    string public _prefixURI;

    //whitelist
    mapping(address => bool) public whitelist;
    bool public wlEnabled = false;

    //Maps for allow token mints
    mapping(address => bool) public approvedTokens;
    mapping(address => uint256) public tokenCost;

    // Dev info
    address public dev;
    uint256 public devCut = 10;//%

    // Events 
    event BurnToken(uint256 tokenID);
    event SetBaseURI(string newURI); 
    event AirDrop(address[] indexed addrs); 
    event ToggleMintActive(bool mint1Active);
    event Mint(address indexed addr, uint256 amount, uint256 price);
    event ToggleTransferPause(bool paused); 
    event UpdateTotalSupply(uint256 newSupply); 
    event UpdatePrice(uint256 newPrice);
    event UpdateMaxMint(uint256 newMax);
    event Withdraw(uint256 total, uint256 toOwner, uint256 toDev);


    constructor(address setDev) ERC721("RICH KIDS", "RK") {
        dev = setDev;
        toggleAllMintPause();
    }

    ///////////////////
    // URI Functions //
    ///////////////////

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

    function setBaseURI(string memory _uri) public onlyOwner {
        _prefixURI = _uri;
        emit SetBaseURI(_uri);
    }

    function airDrop(address[] memory addrs) public onlyOwner {
        uint256 currentMintCount = _mintCounter.current();
        require(addrs.length > 0, "airDrop: must specify at least one address");
        require(currentMintCount + addrs.length <= _maxMintable, "airDrop: maximum supply reached");
        for (uint256 i = 0; i < addrs.length; i++) {
            _mintItem(addrs[i]); 
        }
        emit AirDrop(addrs);
    }

    function mintWithToken(uint256 amount, address token) external whenNotPaused {
        uint256 currentMintCount = _mintCounter.current();
        require(currentMintCount < _maxMintable, "mint: no NFTs left to mint");
        require(balanceOf(msg.sender) + amount <= _maxPerWallet);
        require(currentMintCount + amount <= _maxMintable, "mint: not enough NFTs available to mint that amount");

        require(approvedTokens[token] == true, "mintWithToken: Token is not an approved token for minting");

        uint256 mintCost = tokenCost[token] * amount;
        require(IERC20(token).balanceOf(msg.sender) >= mintCost, "mintWithToken: Not enough CRC20 token balacne for mint amount");
        require(IERC20(token).allowance(msg.sender, address(this)) >= mintCost);

        IERC20(token).transferFrom(msg.sender, address(this), mintCost);

        for (uint256 i = 0; i < amount; i++) {
            _mintItem(msg.sender);
        }
    }

    function mint(uint256 amount) external payable whenNotPaused {
        uint256 currentMintCount = _mintCounter.current();
        require(currentMintCount < _maxMintable, "mint: no NFTs left to mint");
        require(balanceOf(msg.sender) + amount <= _maxPerWallet);
        require(currentMintCount + amount <= _maxMintable, "mint: not enough NFTs available to mint that amount");
        require(amount <= _maxMintPerTX, "mint: amount limit exceeded per transaction");
        require(msg.value == amount * _mintPrice, "mint: value is not correct to mint that amount");
 
        for (uint256 i = 0; i < amount; i++) {
            _mintItem(msg.sender);
        }

        emit Mint(msg.sender, amount, _mintPrice);
    }

    function whitelistMint(uint256 amount) external payable {
        require(whitelist[msg.sender] == true, "whitelistMint: wallet is not on whitelist");
        uint256 currentMintCount = _mintCounter.current();
        require(currentMintCount < _maxMintable, "whitelistMint: no NFTs left to mint");
        require(balanceOf(msg.sender) + amount <= _maxPerWallet);
        require(currentMintCount + amount <= _maxMintable, "whitelistMint: not enough NFTs available to mint that amount");
        require(amount <= _maxMintPerTX, "whitelistMint: amount limit exceeded per transaction");
        require(msg.value == amount * _wlPrice, "whitelistMint: value is not correct to mint that amount");
        require(wlEnabled == true, "whitelistMint: whitelist mint is not active.");
 
        for (uint256 i = 0; i < amount; i++) {
            _mintItem(msg.sender);
        }

        emit Mint(msg.sender, amount, _mintPrice);
    }

    function _mintItem(address to) internal {
        _mintCounter.increment();
        uint256 id = _mintCounter.current();
        _safeMint(to, id);
    }

    function burnToken(uint256 tokenId) external virtual {
        require(_isApprovedOrOwner(msg.sender, tokenId), "burnToken: caller is not owner nor approved"); 
        _burn(tokenId);
        emit BurnToken(tokenId);
    }
    
    //////////////////////
    // State management // 
    //////////////////////

    function toggleAllMintPause() public onlyOwner {
        paused() ? _unpause() : _pause();
        emit ToggleTransferPause(paused()); 
    }

    function toggleWLMint() external onlyOwner {
        wlEnabled = !wlEnabled;
    }

    function addWhitelist(address[] calldata addrs) external onlyOwner {
        uint256 amount = addrs.length;
        for (uint256 i = 0; i < amount; i++) {
            whitelist[addrs[i]] = true;
        }
    }

    function removeWhitelist(address[] calldata addrs) external onlyOwner {
        uint256 amount = addrs.length;
        for (uint256 i = 0; i < amount; i++) {
            whitelist[addrs[i]] = false;
        }
    }

    function setTokenForMint(address token, bool state) external onlyOwner {
        approvedTokens[token] = state;
    }

    function setTokenPriceForMint(address token, uint256 cost) external onlyOwner {
        tokenCost[token] = cost;
    }
    
    function togglePhase1(string memory _uri) external onlyOwner {
        _maxMintable = 10000;
        _mintPrice = 99 ether;
        _wlPrice = 85 ether;
        _prefixURI = _uri;
    }

    function togglePhase2(string memory _uri) external onlyOwner {
        _maxMintable = 20000;
        _mintPrice = 85 ether;
        _wlPrice = 75 ether;
        _prefixURI = _uri;
    }

    function togglePhase3(string memory _uri) external onlyOwner {
        _maxMintable = 30000;
        _mintPrice = 250 ether;
        _wlPrice = 200 ether;
        _prefixURI = _uri;
    }


    //This function is an alternative to the hardcoded phase functions
    function toggleNewPhase(uint256 newMax, uint256 newPrice, uint256 newWLPrice, string memory _uri) external onlyOwner {
        _maxMintable = newMax;
        _mintPrice = newPrice;
        _wlPrice = newWLPrice;
        _prefixURI = _uri;
    }


    function updateDev(address devWallet) external {
        require(msg.sender == dev, "updateDev: sender is not dev");
        dev = devWallet;
    }

    function updatePrice(uint256 newPrice) external onlyOwner {
        require(newPrice > 0, "updatePrice: new price must be greater than 0");
        _mintPrice = newPrice; 
        emit UpdatePrice(newPrice);
    }

    function updateWLPrice(uint256 newPrice) external onlyOwner {
        require(newPrice > 0, "updatePrice: new price must be greater than 0");
        _wlPrice = newPrice;
        emit UpdatePrice(newPrice);
    }

    function updateTotalSupply(uint256 newSupply) external onlyOwner {
        require(newSupply > 0, "updateTotalSupply: new supply must be greater than 0"); 
        _maxMintable = newSupply; 
        emit UpdateTotalSupply(newSupply);
    }

    function updateMaxPerWallet(uint256 newMax) external onlyOwner {
        require(newMax > 0, "updateMaxPerWallet: new Max Mint must be greater than 0");
        _maxPerWallet = newMax;
    }

    function updateMaxMintPerTX(uint256 newMax) external onlyOwner {
        require(newMax > 0, "updateMaxMintPerTX: new Max Mint must be greater than 0"); 
        _maxMintPerTX = newMax;
        emit UpdateMaxMint(newMax);
    }

    function withdrawTokens(address token) external onlyOwner {
        uint256 bal = IERC20(token).balanceOf(address(this));
        require(bal > 0, "withdrawTokens: Contract does not have tokens to withdraw");
        uint256 ownerBal = ((bal * (100 - devCut)) / 100);
        uint256 devBal = ((bal * (devCut)) / 100);
        IERC20(token).transfer(msg.sender, ownerBal);
        IERC20(token).transfer(dev, devBal);
        emit Withdraw(bal, ownerBal, devBal);
    }

    function withdraw() external onlyOwner {
        require(address(this).balance > 0, "withdraw: contract balance must be greater than 0"); 
        uint256 balance = address(this).balance;
        uint256 ownerBal = ((balance * (100 - devCut)) / 100);
        uint256 devBal = ((balance * (devCut)) / 100);
        payable(msg.sender).transfer(ownerBal);
        payable(dev).transfer(devBal);
        emit Withdraw(balance, ownerBal, devBal);
    }
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"setDev","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address[]","name":"addrs","type":"address[]"}],"name":"AirDrop","type":"event"},{"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":"uint256","name":"tokenID","type":"uint256"}],"name":"BurnToken","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"addr","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"price","type":"uint256"}],"name":"Mint","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":false,"internalType":"string","name":"newURI","type":"string"}],"name":"SetBaseURI","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"bool","name":"mint1Active","type":"bool"}],"name":"ToggleMintActive","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"bool","name":"paused","type":"bool"}],"name":"ToggleTransferPause","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"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"newMax","type":"uint256"}],"name":"UpdateMaxMint","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"newPrice","type":"uint256"}],"name":"UpdatePrice","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"newSupply","type":"uint256"}],"name":"UpdateTotalSupply","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"total","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"toOwner","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"toDev","type":"uint256"}],"name":"Withdraw","type":"event"},{"inputs":[],"name":"_maxMintPerTX","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_maxMintable","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_maxPerWallet","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_mintPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_prefixURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_wlPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"addrs","type":"address[]"}],"name":"addWhitelist","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"addrs","type":"address[]"}],"name":"airDrop","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":"","type":"address"}],"name":"approvedTokens","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"burnToken","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"dev","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"devCut","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"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":"uint256","name":"amount","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"address","name":"token","type":"address"}],"name":"mintWithToken","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"addrs","type":"address[]"}],"name":"removeWhitelist","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_uri","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"token","type":"address"},{"internalType":"bool","name":"state","type":"bool"}],"name":"setTokenForMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"token","type":"address"},{"internalType":"uint256","name":"cost","type":"uint256"}],"name":"setTokenPriceForMint","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":[],"name":"toggleAllMintPause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newMax","type":"uint256"},{"internalType":"uint256","name":"newPrice","type":"uint256"},{"internalType":"uint256","name":"newWLPrice","type":"uint256"},{"internalType":"string","name":"_uri","type":"string"}],"name":"toggleNewPhase","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_uri","type":"string"}],"name":"togglePhase1","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_uri","type":"string"}],"name":"togglePhase2","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_uri","type":"string"}],"name":"togglePhase3","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"toggleWLMint","outputs":[],"stateMutability":"nonpayable","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":"","type":"address"}],"name":"tokenCost","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"devWallet","type":"address"}],"name":"updateDev","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newMax","type":"uint256"}],"name":"updateMaxMintPerTX","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newMax","type":"uint256"}],"name":"updateMaxPerWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newPrice","type":"uint256"}],"name":"updatePrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newSupply","type":"uint256"}],"name":"updateTotalSupply","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newPrice","type":"uint256"}],"name":"updateWLPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"whitelist","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"whitelistMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"token","type":"address"}],"name":"withdrawTokens","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"wlEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"}]

6080604052612710600c5568055de6a779bbac0000600d5568049b9ca9a694340000600e556064600f5560326010556013805460ff19169055600a6017553480156200004a57600080fd5b5060405162003fae38038062003fae8339810160408190526200006d916200041e565b604080518082018252600981526852494348204b49445360b81b602080830191825283518085019094526002845261524b60f01b908401528151919291620000b89160009162000378565b508051620000ce90600190602084019062000378565b5050600a805460ff1916905550620000e63362000112565b601680546001600160a01b0319166001600160a01b0383161790556200010b6200016c565b506200048d565b600a80546001600160a01b03838116610100818102610100600160a81b031985161790945560405193909204169182907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b62000176620001df565b600a5460ff1662000191576200018b62000247565b6200019b565b6200019b620002a0565b7f71aa6dbdf1045ea9e6926a7848dbdd98d55270c4fee88cbc77fd816ccc8d6d2f620001c9600a5460ff1690565b60405190151581526020015b60405180910390a1565b600a546001600160a01b03610100909104163314620002455760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064015b60405180910390fd5b565b62000251620002dc565b600a805460ff191660011790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258620002873390565b6040516001600160a01b039091168152602001620001d5565b620002aa62000324565b600a805460ff191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa3362000287565b600a5460ff1615620002455760405162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b60448201526064016200023c565b600a5460ff16620002455760405162461bcd60e51b815260206004820152601460248201527f5061757361626c653a206e6f742070617573656400000000000000000000000060448201526064016200023c565b828054620003869062000450565b90600052602060002090601f016020900481019282620003aa5760008555620003f5565b82601f10620003c557805160ff1916838001178555620003f5565b82800160010185558215620003f5579182015b82811115620003f5578251825591602001919060010190620003d8565b506200040392915062000407565b5090565b5b8082111562000403576000815560010162000408565b6000602082840312156200043157600080fd5b81516001600160a01b03811681146200044957600080fd5b9392505050565b600181811c908216806200046557607f821691505b602082108114156200048757634e487b7160e01b600052602260045260246000fd5b50919050565b613b11806200049d6000396000f3fe60806040526004361061036a5760003560e01c80637fa8e5e4116101c6578063b87c5e2c116100f7578063e80a355811610095578063edac985b1161006f578063edac985b146109d6578063f2fde38b146109f6578063f61b5e0c14610a16578063fecfda4914610a3657600080fd5b8063e80a355814610957578063e85316411461096d578063e985e9c51461098d57600080fd5b8063d13e6ca2116100d1578063d13e6ca2146108e7578063d146a80314610901578063d2a3d3e214610917578063e549fe771461093757600080fd5b8063b87c5e2c1461087a578063b88d4fde146108a7578063c87b56dd146108c757600080fd5b806391cca3db116101645780639b19251a1161013e5780639b19251a146108015780639c28683714610831578063a0712d6814610847578063a22cb4651461085a57600080fd5b806391cca3db146107ac578063934c1938146107cc57806395d89b41146107ec57600080fd5b80638c40597b116101a05780638c40597b146107345780638d6cc56d146107545780638da5cb5b1461077457806391860f781461079757600080fd5b80637fa8e5e4146106eb578063868ff4a214610701578063882f66431461071457600080fd5b80633ccfd60b116102a057806361b71e421161023e5780636d1ea3fa116102185780636d1ea3fa1461066657806370a0823114610696578063715018a6146106b65780637b47ec1a146106cb57600080fd5b806361b71e42146106105780636352211e1461062657806366d49bab1461064657600080fd5b806349df728c1161027a57806349df728c146105985780634f6ccce7146105b857806355f804b3146105d85780635c975abb146105f857600080fd5b80633ccfd60b1461054357806342842e0e146105585780634687526b1461057857600080fd5b80631e1d0b8f1161030d578063274a32d3116102e7578063274a32d3146104ce5780632f448762146104e35780632f745c591461050357806331f285b31461052357600080fd5b80631e1d0b8f14610479578063232452161461048e57806323b872dd146104ae57600080fd5b806306fdde031161034957806306fdde03146103ea578063081812fc1461040c578063095ea7b31461044457806318160ddd1461046457600080fd5b8062b6849f1461036f57806301ffc9a7146103915780630387da42146103c6575b600080fd5b34801561037b57600080fd5b5061038f61038a366004613513565b610a56565b005b34801561039d57600080fd5b506103b16103ac3660046135e4565b610bb4565b60405190151581526020015b60405180910390f35b3480156103d257600080fd5b506103dc600d5481565b6040519081526020016103bd565b3480156103f657600080fd5b506103ff610bdf565b6040516103bd91906137cd565b34801561041857600080fd5b5061042c610427366004613653565b610c71565b6040516001600160a01b0390911681526020016103bd565b34801561045057600080fd5b5061038f61045f366004613474565b610c98565b34801561047057600080fd5b506008546103dc565b34801561048557600080fd5b5061038f610dae565b34801561049a57600080fd5b5061038f6104a936600461349e565b610dca565b3480156104ba57600080fd5b5061038f6104c9366004613385565b610e4b565b3480156104da57600080fd5b5061038f610e7c565b3480156104ef57600080fd5b5061038f6104fe36600461343d565b610ee6565b34801561050f57600080fd5b506103dc61051e366004613474565b610f19565b34801561052f57600080fd5b5061038f61053e36600461361e565b610faf565b34801561054f57600080fd5b5061038f610fee565b34801561056457600080fd5b5061038f610573366004613385565b611159565b34801561058457600080fd5b5061038f6105933660046136a8565b611174565b3480156105a457600080fd5b5061038f6105b3366004613337565b6111a5565b3480156105c457600080fd5b506103dc6105d3366004613653565b611436565b3480156105e457600080fd5b5061038f6105f336600461361e565b6114c9565b34801561060457600080fd5b50600a5460ff166103b1565b34801561061c57600080fd5b506103dc600e5481565b34801561063257600080fd5b5061042c610641366004613653565b61151f565b34801561065257600080fd5b5061038f610661366004613653565b61157f565b34801561067257600080fd5b506103b1610681366004613337565b60146020526000908152604090205460ff1681565b3480156106a257600080fd5b506103dc6106b1366004613337565b611629565b3480156106c257600080fd5b5061038f6116af565b3480156106d757600080fd5b5061038f6106e6366004613653565b6116c3565b3480156106f757600080fd5b506103dc60105481565b61038f61070f366004613653565b611766565b34801561072057600080fd5b5061038f61072f366004613653565b611ab4565b34801561074057600080fd5b5061038f61074f36600461361e565b611b61565b34801561076057600080fd5b5061038f61076f366004613653565b611b9c565b34801561078057600080fd5b50600a5461010090046001600160a01b031661042c565b3480156107a357600080fd5b506103ff611bf9565b3480156107b857600080fd5b5060165461042c906001600160a01b031681565b3480156107d857600080fd5b5061038f6107e7366004613337565b611c87565b3480156107f857600080fd5b506103ff611d03565b34801561080d57600080fd5b506103b161081c366004613337565b60126020526000908152604090205460ff1681565b34801561083d57600080fd5b506103dc60175481565b61038f610855366004613653565b611d12565b34801561086657600080fd5b5061038f61087536600461343d565b611ec3565b34801561088657600080fd5b506103dc610895366004613337565b60156020526000908152604090205481565b3480156108b357600080fd5b5061038f6108c23660046133c1565b611ece565b3480156108d357600080fd5b506103ff6108e2366004613653565b611f00565b3480156108f357600080fd5b506013546103b19060ff1681565b34801561090d57600080fd5b506103dc600f5481565b34801561092357600080fd5b5061038f61093236600461361e565b611f67565b34801561094357600080fd5b5061038f610952366004613653565b611fa2565b34801561096357600080fd5b506103dc600c5481565b34801561097957600080fd5b5061038f610988366004613685565b611fff565b34801561099957600080fd5b506103b16109a8366004613352565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b3480156109e257600080fd5b5061038f6109f136600461349e565b612390565b348015610a0257600080fd5b5061038f610a11366004613337565b61240b565b348015610a2257600080fd5b5061038f610a31366004613474565b612484565b348015610a4257600080fd5b5061038f610a51366004613653565b6124a8565b610a5e612525565b6000610a69600b5490565b90506000825111610ad45760405162461bcd60e51b815260206004820152602a60248201527f61697244726f703a206d7573742073706563696679206174206c65617374206f6044820152696e65206164647265737360b01b60648201526084015b60405180910390fd5b600c548251610ae39083613951565b1115610b315760405162461bcd60e51b815260206004820152601f60248201527f61697244726f703a206d6178696d756d20737570706c792072656163686564006044820152606401610acb565b60005b8251811015610b7157610b5f838281518110610b5257610b52613a8b565b6020026020010151612585565b80610b6981613a1a565b915050610b34565b5081604051610b809190613722565b604051908190038120907fb9413d9dd40eadf97d2949c3c57a163bb454e537a8696520d52a74e0252011e990600090a25050565b60006001600160e01b0319821663780e9d6360e01b1480610bd95750610bd9826125aa565b92915050565b606060008054610bee906139df565b80601f0160208091040260200160405190810160405280929190818152602001828054610c1a906139df565b8015610c675780601f10610c3c57610100808354040283529160200191610c67565b820191906000526020600020905b815481529060010190602001808311610c4a57829003601f168201915b5050505050905090565b6000610c7c826125fa565b506000908152600460205260409020546001600160a01b031690565b6000610ca38261151f565b9050806001600160a01b0316836001600160a01b03161415610d115760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b6064820152608401610acb565b336001600160a01b0382161480610d2d5750610d2d81336109a8565b610d9f5760405162461bcd60e51b815260206004820152603e60248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60448201527f6b656e206f776e6572206e6f7220617070726f76656420666f7220616c6c00006064820152608401610acb565b610da98383612659565b505050565b610db6612525565b6013805460ff19811660ff90911615179055565b610dd2612525565b8060005b81811015610e4557600060126000868685818110610df657610df6613a8b565b9050602002016020810190610e0b9190613337565b6001600160a01b031681526020810191909152604001600020805460ff191691151591909117905580610e3d81613a1a565b915050610dd6565b50505050565b610e5533826126c7565b610e715760405162461bcd60e51b8152600401610acb906138d2565b610da9838383612746565b610e84612525565b600a5460ff16610e9b57610e966128ed565b610ea3565b610ea3612942565b7f71aa6dbdf1045ea9e6926a7848dbdd98d55270c4fee88cbc77fd816ccc8d6d2f610ed0600a5460ff1690565b60405190151581526020015b60405180910390a1565b610eee612525565b6001600160a01b03919091166000908152601460205260409020805460ff1916911515919091179055565b6000610f2483611629565b8210610f865760405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201526a74206f6620626f756e647360a81b6064820152608401610acb565b506001600160a01b03919091166000908152600660209081526040808320938352929052205490565b610fb7612525565b614e20600c5568049b9ca9a694340000600d55680410d586a20a4c0000600e558051610fea90601190602084019061320a565b5050565b610ff6612525565b600047116110605760405162461bcd60e51b815260206004820152603160248201527f77697468647261773a20636f6e74726163742062616c616e6365206d75737420604482015270062652067726561746572207468616e203607c1b6064820152608401610acb565b6017544790600090606490611075908261399c565b61107f908461397d565b6110899190613969565b9050600060646017548461109d919061397d565b6110a79190613969565b604051909150339083156108fc029084906000818181858888f193505050501580156110d7573d6000803e3d6000fd5b506016546040516001600160a01b039091169082156108fc029083906000818181858888f19350505050158015611112573d6000803e3d6000fd5b5060408051848152602081018490529081018290527fa01a72713bf837059e3a668d28f0de277fb7f24f2a4e95bf926703c95b5f12b29060600160405180910390a1505050565b610da983838360405180602001604052806000815250611ece565b61117c612525565b600c849055600d839055600e829055805161119e90601190602084019061320a565b5050505050565b6111ad612525565b6040516370a0823160e01b81523060048201526000906001600160a01b038316906370a082319060240160206040518083038186803b1580156111ef57600080fd5b505afa158015611203573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611227919061366c565b90506000811161129f5760405162461bcd60e51b815260206004820152603960248201527f7769746864726177546f6b656e733a20436f6e747261637420646f6573206e6f60448201527f74206861766520746f6b656e7320746f207769746864726177000000000000006064820152608401610acb565b6000606460175460646112b2919061399c565b6112bc908461397d565b6112c69190613969565b905060006064601754846112da919061397d565b6112e49190613969565b60405163a9059cbb60e01b8152336004820152602481018490529091506001600160a01b0385169063a9059cbb90604401602060405180830381600087803b15801561132f57600080fd5b505af1158015611343573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061136791906135c7565b5060165460405163a9059cbb60e01b81526001600160a01b039182166004820152602481018390529085169063a9059cbb90604401602060405180830381600087803b1580156113b657600080fd5b505af11580156113ca573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113ee91906135c7565b5060408051848152602081018490529081018290527fa01a72713bf837059e3a668d28f0de277fb7f24f2a4e95bf926703c95b5f12b29060600160405180910390a150505050565b600061144160085490565b82106114a45760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201526b7574206f6620626f756e647360a01b6064820152608401610acb565b600882815481106114b7576114b7613a8b565b90600052602060002001549050919050565b6114d1612525565b80516114e490601190602084019061320a565b507f23c8c9488efebfd474e85a7956de6f39b17c7ab88502d42a623db2d8e382bbaa8160405161151491906137cd565b60405180910390a150565b6000818152600260205260408120546001600160a01b031680610bd95760405162461bcd60e51b8152602060048201526018602482015277115490cdcc8c4e881a5b9d985b1a59081d1bdad95b88125160421b6044820152606401610acb565b611587612525565b600081116115f45760405162461bcd60e51b815260206004820152603460248201527f757064617465546f74616c537570706c793a206e657720737570706c79206d75604482015273073742062652067726561746572207468616e20360641b6064820152608401610acb565b600c8190556040518181527fee643f334779f1031decbee003f80a0bcb7ecdc24b6693539cf7447a66afba8a90602001611514565b60006001600160a01b0382166116935760405162461bcd60e51b815260206004820152602960248201527f4552433732313a2061646472657373207a65726f206973206e6f7420612076616044820152683634b21037bbb732b960b91b6064820152608401610acb565b506001600160a01b031660009081526003602052604090205490565b6116b7612525565b6116c1600061297b565b565b6116cd33826126c7565b61172d5760405162461bcd60e51b815260206004820152602b60248201527f6275726e546f6b656e3a2063616c6c6572206973206e6f74206f776e6572206e60448201526a1bdc88185c1c1c9bdd995960aa1b6064820152608401610acb565b611736816129d5565b6040518181527f066548819fc4bd1208ea1c8608597593134d5661f459c2ef75cad30918af5a3390602001611514565b3360009081526012602052604090205460ff1615156001146117dc5760405162461bcd60e51b815260206004820152602960248201527f77686974656c6973744d696e743a2077616c6c6574206973206e6f74206f6e206044820152681dda1a5d195b1a5cdd60ba1b6064820152608401610acb565b60006117e7600b5490565b9050600c5481106118465760405162461bcd60e51b815260206004820152602360248201527f77686974656c6973744d696e743a206e6f204e465473206c65667420746f206d6044820152621a5b9d60ea1b6064820152608401610acb565b6010548261185333611629565b61185d9190613951565b111561186857600080fd5b600c546118758383613951565b11156118e95760405162461bcd60e51b815260206004820152603c60248201527f77686974656c6973744d696e743a206e6f7420656e6f756768204e465473206160448201527f7661696c61626c6520746f206d696e74207468617420616d6f756e74000000006064820152608401610acb565b600f548211156119585760405162461bcd60e51b815260206004820152603460248201527f77686974656c6973744d696e743a20616d6f756e74206c696d6974206578636560448201527332b232b2103832b9103a3930b739b0b1ba34b7b760611b6064820152608401610acb565b600e54611965908361397d565b34146119d95760405162461bcd60e51b815260206004820152603760248201527f77686974656c6973744d696e743a2076616c7565206973206e6f7420636f727260448201527f65637420746f206d696e74207468617420616d6f756e740000000000000000006064820152608401610acb565b60135460ff161515600114611a455760405162461bcd60e51b815260206004820152602c60248201527f77686974656c6973744d696e743a2077686974656c697374206d696e7420697360448201526b103737ba1030b1ba34bb329760a11b6064820152608401610acb565b60005b82811015611a6b57611a5933612585565b80611a6381613a1a565b915050611a48565b50600d5460405133917f4c209b5fc8ad50758f13e2e1088ba56a560dff690a1c6fef26394f4c03821c4f91611aa891868252602082015260400190565b60405180910390a25050565b611abc612525565b60008111611b2c5760405162461bcd60e51b815260206004820152603760248201527f7570646174654d61784d696e7450657254583a206e6577204d6178204d696e746044820152760206d7573742062652067726561746572207468616e203604c1b6064820152608401610acb565b600f8190556040518181527f10c8453bb7e69387bc7864680c3c203d96807b6763152560dbd9e265886b291190602001611514565b611b69612525565b617530600c55680d8d726b7177a80000600d55680ad78ebc5ac6200000600e558051610fea90601190602084019061320a565b611ba4612525565b60008111611bc45760405162461bcd60e51b8152600401610acb90613885565b600d8190556040518181527f1a15ab7124a4e1ce00837351261771caf1691cd7d85ed3a0ac3157a1ee1a380590602001611514565b60118054611c06906139df565b80601f0160208091040260200160405190810160405280929190818152602001828054611c32906139df565b8015611c7f5780601f10611c5457610100808354040283529160200191611c7f565b820191906000526020600020905b815481529060010190602001808311611c6257829003601f168201915b505050505081565b6016546001600160a01b03163314611ce15760405162461bcd60e51b815260206004820152601c60248201527f7570646174654465763a2073656e646572206973206e6f7420646576000000006044820152606401610acb565b601680546001600160a01b0319166001600160a01b0392909216919091179055565b606060018054610bee906139df565b611d1a612a7c565b6000611d25600b5490565b9050600c548110611d785760405162461bcd60e51b815260206004820152601a60248201527f6d696e743a206e6f204e465473206c65667420746f206d696e740000000000006044820152606401610acb565b60105482611d8533611629565b611d8f9190613951565b1115611d9a57600080fd5b600c54611da78383613951565b1115611dc55760405162461bcd60e51b8152600401610acb906137e0565b600f54821115611e2b5760405162461bcd60e51b815260206004820152602b60248201527f6d696e743a20616d6f756e74206c696d6974206578636565646564207065722060448201526a3a3930b739b0b1ba34b7b760a91b6064820152608401610acb565b600d54611e38908361397d565b3414611e9d5760405162461bcd60e51b815260206004820152602e60248201527f6d696e743a2076616c7565206973206e6f7420636f727265637420746f206d6960448201526d1b9d081d1a185d08185b5bdd5b9d60921b6064820152608401610acb565b60005b82811015611a6b57611eb133612585565b80611ebb81613a1a565b915050611ea0565b610fea338383612ac2565b611ed833836126c7565b611ef45760405162461bcd60e51b8152600401610acb906138d2565b610e4584848484612b91565b6060611f0b826125fa565b6000611f15612bc4565b90506000815111611f355760405180602001604052806000815250611f60565b80611f3f84612bd3565b604051602001611f50929190613761565b6040516020818303038152906040525b9392505050565b611f6f612525565b612710600c5568055de6a779bbac0000600d5568049b9ca9a694340000600e558051610fea90601190602084019061320a565b611faa612525565b60008111611fca5760405162461bcd60e51b8152600401610acb90613885565b600e8190556040518181527f1a15ab7124a4e1ce00837351261771caf1691cd7d85ed3a0ac3157a1ee1a380590602001611514565b612007612a7c565b6000612012600b5490565b9050600c5481106120655760405162461bcd60e51b815260206004820152601a60248201527f6d696e743a206e6f204e465473206c65667420746f206d696e740000000000006044820152606401610acb565b6010548361207233611629565b61207c9190613951565b111561208757600080fd5b600c546120948483613951565b11156120b25760405162461bcd60e51b8152600401610acb906137e0565b6001600160a01b03821660009081526014602052604090205460ff1615156001146121455760405162461bcd60e51b815260206004820152603960248201527f6d696e7457697468546f6b656e3a20546f6b656e206973206e6f7420616e206160448201527f7070726f76656420746f6b656e20666f72206d696e74696e67000000000000006064820152608401610acb565b6001600160a01b03821660009081526015602052604081205461216990859061397d565b6040516370a0823160e01b815233600482015290915081906001600160a01b038516906370a082319060240160206040518083038186803b1580156121ad57600080fd5b505afa1580156121c1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906121e5919061366c565b10156122595760405162461bcd60e51b815260206004820152603d60248201527f6d696e7457697468546f6b656e3a204e6f7420656e6f7567682043524332302060448201527f746f6b656e2062616c61636e6520666f72206d696e7420616d6f756e740000006064820152608401610acb565b604051636eb1769f60e11b815233600482015230602482015281906001600160a01b0385169063dd62ed3e9060440160206040518083038186803b1580156122a057600080fd5b505afa1580156122b4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906122d8919061366c565b10156122e357600080fd5b6040516323b872dd60e01b8152336004820152306024820152604481018290526001600160a01b038416906323b872dd90606401602060405180830381600087803b15801561233157600080fd5b505af1158015612345573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061236991906135c7565b5060005b8481101561119e5761237e33612585565b8061238881613a1a565b91505061236d565b612398612525565b8060005b81811015610e45576001601260008686858181106123bc576123bc613a8b565b90506020020160208101906123d19190613337565b6001600160a01b031681526020810191909152604001600020805460ff19169115159190911790558061240381613a1a565b91505061239c565b612413612525565b6001600160a01b0381166124785760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610acb565b6124818161297b565b50565b61248c612525565b6001600160a01b03909116600090815260156020526040902055565b6124b0612525565b600081116125205760405162461bcd60e51b815260206004820152603760248201527f7570646174654d617850657257616c6c65743a206e6577204d6178204d696e746044820152760206d7573742062652067726561746572207468616e203604c1b6064820152608401610acb565b601055565b600a546001600160a01b036101009091041633146116c15760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610acb565b612593600b80546001019055565b600061259e600b5490565b9050610fea8282612cd1565b60006001600160e01b031982166380ac58cd60e01b14806125db57506001600160e01b03198216635b5e139f60e01b145b80610bd957506301ffc9a760e01b6001600160e01b0319831614610bd9565b6000818152600260205260409020546001600160a01b03166124815760405162461bcd60e51b8152602060048201526018602482015277115490cdcc8c4e881a5b9d985b1a59081d1bdad95b88125160421b6044820152606401610acb565b600081815260046020526040902080546001600160a01b0319166001600160a01b038416908117909155819061268e8261151f565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000806126d38361151f565b9050806001600160a01b0316846001600160a01b0316148061271a57506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b8061273e5750836001600160a01b031661273384610c71565b6001600160a01b0316145b949350505050565b826001600160a01b03166127598261151f565b6001600160a01b0316146127bd5760405162461bcd60e51b815260206004820152602560248201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060448201526437bbb732b960d91b6064820152608401610acb565b6001600160a01b03821661281f5760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b6064820152608401610acb565b61282a838383612ceb565b612835600082612659565b6001600160a01b038316600090815260036020526040812080546001929061285e90849061399c565b90915550506001600160a01b038216600090815260036020526040812080546001929061288c908490613951565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b6128f5612a7c565b600a805460ff191660011790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a25861292a3390565b6040516001600160a01b039091168152602001610edc565b61294a612da3565b600a805460ff191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa3361292a565b600a80546001600160a01b03838116610100818102610100600160a81b031985161790945560405193909204169182907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b60006129e08261151f565b90506129ee81600084612ceb565b6129f9600083612659565b6001600160a01b0381166000908152600360205260408120805460019290612a2290849061399c565b909155505060008281526002602052604080822080546001600160a01b0319169055518391906001600160a01b038416907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a45050565b600a5460ff16156116c15760405162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b6044820152606401610acb565b816001600160a01b0316836001600160a01b03161415612b245760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610acb565b6001600160a01b03838116600081815260056020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b612b9c848484612746565b612ba884848484612dec565b610e455760405162461bcd60e51b8152600401610acb90613833565b606060118054610bee906139df565b606081612bf75750506040805180820190915260018152600360fc1b602082015290565b8160005b8115612c215780612c0b81613a1a565b9150612c1a9050600a83613969565b9150612bfb565b60008167ffffffffffffffff811115612c3c57612c3c613aa1565b6040519080825280601f01601f191660200182016040528015612c66576020820181803683370190505b5090505b841561273e57612c7b60018361399c565b9150612c88600a86613a35565b612c93906030613951565b60f81b818381518110612ca857612ca8613a8b565b60200101906001600160f81b031916908160001a905350612cca600a86613969565b9450612c6a565b610fea828260405180602001604052806000815250612ef9565b6001600160a01b038316612d4657612d4181600880546000838152600960205260408120829055600182018355919091527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee30155565b612d69565b816001600160a01b0316836001600160a01b031614612d6957612d698382612f2c565b6001600160a01b038216612d8057610da981612fc9565b826001600160a01b0316826001600160a01b031614610da957610da98282613078565b600a5460ff166116c15760405162461bcd60e51b815260206004820152601460248201527314185d5cd8589b194e881b9bdd081c185d5cd95960621b6044820152606401610acb565b60006001600160a01b0384163b15612eee57604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290612e30903390899088908890600401613790565b602060405180830381600087803b158015612e4a57600080fd5b505af1925050508015612e7a575060408051601f3d908101601f19168201909252612e7791810190613601565b60015b612ed4573d808015612ea8576040519150601f19603f3d011682016040523d82523d6000602084013e612ead565b606091505b508051612ecc5760405162461bcd60e51b8152600401610acb90613833565b805181602001fd5b6001600160e01b031916630a85bd0160e11b14905061273e565b506001949350505050565b612f0383836130bc565b612f106000848484612dec565b610da95760405162461bcd60e51b8152600401610acb90613833565b60006001612f3984611629565b612f43919061399c565b600083815260076020526040902054909150808214612f96576001600160a01b03841660009081526006602090815260408083208584528252808320548484528184208190558352600790915290208190555b5060009182526007602090815260408084208490556001600160a01b039094168352600681528383209183525290812055565b600854600090612fdb9060019061399c565b6000838152600960205260408120546008805493945090928490811061300357613003613a8b565b90600052602060002001549050806008838154811061302457613024613a8b565b600091825260208083209091019290925582815260099091526040808220849055858252812055600880548061305c5761305c613a75565b6001900381819060005260206000200160009055905550505050565b600061308383611629565b6001600160a01b039093166000908152600660209081526040808320868452825280832085905593825260079052919091209190915550565b6001600160a01b0382166131125760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401610acb565b6000818152600260205260409020546001600160a01b0316156131775760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610acb565b61318360008383612ceb565b6001600160a01b03821660009081526003602052604081208054600192906131ac908490613951565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b828054613216906139df565b90600052602060002090601f016020900481019282613238576000855561327e565b82601f1061325157805160ff191683800117855561327e565b8280016001018555821561327e579182015b8281111561327e578251825591602001919060010190613263565b5061328a92915061328e565b5090565b5b8082111561328a576000815560010161328f565b600067ffffffffffffffff8311156132bd576132bd613aa1565b6132d0601f8401601f1916602001613920565b90508281528383830111156132e457600080fd5b828260208301376000602084830101529392505050565b80356001600160a01b038116811461331257600080fd5b919050565b600082601f83011261332857600080fd5b611f60838335602085016132a3565b60006020828403121561334957600080fd5b611f60826132fb565b6000806040838503121561336557600080fd5b61336e836132fb565b915061337c602084016132fb565b90509250929050565b60008060006060848603121561339a57600080fd5b6133a3846132fb565b92506133b1602085016132fb565b9150604084013590509250925092565b600080600080608085870312156133d757600080fd5b6133e0856132fb565b93506133ee602086016132fb565b925060408501359150606085013567ffffffffffffffff81111561341157600080fd5b8501601f8101871361342257600080fd5b613431878235602084016132a3565b91505092959194509250565b6000806040838503121561345057600080fd5b613459836132fb565b9150602083013561346981613ab7565b809150509250929050565b6000806040838503121561348757600080fd5b613490836132fb565b946020939093013593505050565b600080602083850312156134b157600080fd5b823567ffffffffffffffff808211156134c957600080fd5b818501915085601f8301126134dd57600080fd5b8135818111156134ec57600080fd5b8660208260051b850101111561350157600080fd5b60209290920196919550909350505050565b6000602080838503121561352657600080fd5b823567ffffffffffffffff8082111561353e57600080fd5b818501915085601f83011261355257600080fd5b81358181111561356457613564613aa1565b8060051b9150613575848301613920565b8181528481019084860184860187018a101561359057600080fd5b600095505b838610156135ba576135a6816132fb565b835260019590950194918601918601613595565b5098975050505050505050565b6000602082840312156135d957600080fd5b8151611f6081613ab7565b6000602082840312156135f657600080fd5b8135611f6081613ac5565b60006020828403121561361357600080fd5b8151611f6081613ac5565b60006020828403121561363057600080fd5b813567ffffffffffffffff81111561364757600080fd5b61273e84828501613317565b60006020828403121561366557600080fd5b5035919050565b60006020828403121561367e57600080fd5b5051919050565b6000806040838503121561369857600080fd5b8235915061337c602084016132fb565b600080600080608085870312156136be57600080fd5b843593506020850135925060408501359150606085013567ffffffffffffffff8111156136ea57600080fd5b61343187828801613317565b6000815180845261370e8160208601602086016139b3565b601f01601f19169290920160200192915050565b815160009082906020808601845b838110156137555781516001600160a01b031685529382019390820190600101613730565b50929695505050505050565b600083516137738184602088016139b3565b8351908301906137878183602088016139b3565b01949350505050565b6001600160a01b03858116825284166020820152604081018390526080606082018190526000906137c3908301846136f6565b9695505050505050565b602081526000611f6060208301846136f6565b60208082526033908201527f6d696e743a206e6f7420656e6f756768204e46547320617661696c61626c65206040820152721d1bc81b5a5b9d081d1a185d08185b5bdd5b9d606a1b606082015260800190565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b6020808252602d908201527f75706461746550726963653a206e6577207072696365206d757374206265206760408201526c0726561746572207468616e203609c1b606082015260800190565b6020808252602e908201527f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560408201526d1c881b9bdc88185c1c1c9bdd995960921b606082015260800190565b604051601f8201601f1916810167ffffffffffffffff8111828210171561394957613949613aa1565b604052919050565b6000821982111561396457613964613a49565b500190565b60008261397857613978613a5f565b500490565b600081600019048311821515161561399757613997613a49565b500290565b6000828210156139ae576139ae613a49565b500390565b60005b838110156139ce5781810151838201526020016139b6565b83811115610e455750506000910152565b600181811c908216806139f357607f821691505b60208210811415613a1457634e487b7160e01b600052602260045260246000fd5b50919050565b6000600019821415613a2e57613a2e613a49565b5060010190565b600082613a4457613a44613a5f565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052603160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b801515811461248157600080fd5b6001600160e01b03198116811461248157600080fdfea264697066735822122021ef44d2b6daf101943ab501e539c9abe381ed451ca78a5bf808e8f6b0dec01e64736f6c634300080700330000000000000000000000004a075e3fdd4f2080e7084592ed4f2f446574af2d

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

0000000000000000000000004a075e3fdd4f2080e7084592ed4f2f446574af2d

-----Decoded View---------------
Arg [0] : setDev (address): 0x4a075e3fdd4f2080e7084592ed4f2f446574af2d

-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 0000000000000000000000004a075e3fdd4f2080e7084592ed4f2f446574af2d


Deployed ByteCode Sourcemap

53226:9471:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;54963:440;;;;;;;;;;-1:-1:-1;54963:440:0;;;;;:::i;:::-;;:::i;:::-;;40189:224;;;;;;;;;;-1:-1:-1;40189:224:0;;;;;:::i;:::-;;:::i;:::-;;;9847:14:1;;9840:22;9822:41;;9810:2;9795:18;40189:224:0;;;;;;;;53435:36;;;;;;;;;;;;;;;;;;;25870:25:1;;;25858:2;25843:18;53435:36:0;25724:177:1;26923:100:0;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;28436:171::-;;;;;;;;;;-1:-1:-1;28436:171:0;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;8177:32:1;;;8159:51;;8147:2;8132:18;28436:171:0;8013:203:1;27953:417:0;;;;;;;;;;-1:-1:-1;27953:417:0;;;;;:::i;:::-;;:::i;40829:113::-;;;;;;;;;;-1:-1:-1;40917:10:0;:17;40829:113;;58725:84;;;;;;;;;;;;;:::i;59040:219::-;;;;;;;;;;-1:-1:-1;59040:219:0;;;;;:::i;:::-;;:::i;29136:336::-;;;;;;;;;;-1:-1:-1;29136:336:0;;;;;:::i;:::-;;:::i;58573:144::-;;;;;;;;;;;;;:::i;59267:119::-;;;;;;;;;;-1:-1:-1;59267:119:0;;;;;:::i;:::-;;:::i;40497:256::-;;;;;;;;;;-1:-1:-1;40497:256:0;;;;;:::i;:::-;;:::i;59724:190::-;;;;;;;;;;-1:-1:-1;59724:190:0;;;;;:::i;:::-;;:::i;62238:456::-;;;;;;;;;;;;;:::i;29543:185::-;;;;;;;;;;-1:-1:-1;29543:185:0;;;;;:::i;:::-;;:::i;60196:249::-;;;;;;;;;;-1:-1:-1;60196:249:0;;;;;:::i;:::-;;:::i;61753:477::-;;;;;;;;;;-1:-1:-1;61753:477:0;;;;;:::i;:::-;;:::i;41019:233::-;;;;;;;;;;-1:-1:-1;41019:233:0;;;;;:::i;:::-;;:::i;54830:125::-;;;;;;;;;;-1:-1:-1;54830:125:0;;;;;:::i;:::-;;:::i;48010:86::-;;;;;;;;;;-1:-1:-1;48081:7:0;;;;48010:86;;53478:34;;;;;;;;;;;;;;;;26634:222;;;;;;;;;;-1:-1:-1;26634:222:0;;;;;:::i;:::-;;:::i;61062:243::-;;;;;;;;;;-1:-1:-1;61062:243:0;;;;;:::i;:::-;;:::i;53823:46::-;;;;;;;;;;-1:-1:-1;53823:46:0;;;;;:::i;:::-;;;;;;;;;;;;;;;;26365:207;;;;;;;;;;-1:-1:-1;26365:207:0;;;;;:::i;:::-;;:::i;50875:103::-;;;;;;;;;;;;;:::i;58247:227::-;;;;;;;;;;-1:-1:-1;58247:227:0;;;;;:::i;:::-;;:::i;53580:33::-;;;;;;;;;;;;;;;;57129:945;;;;;;:::i;:::-;;:::i;61514:231::-;;;;;;;;;;-1:-1:-1;61514:231:0;;;;;:::i;:::-;;:::i;59922:192::-;;;;;;;;;;-1:-1:-1;59922:192:0;;;;;:::i;:::-;;:::i;60613:217::-;;;;;;;;;;-1:-1:-1;60613:217:0;;;;;:::i;:::-;;:::i;50227:87::-;;;;;;;;;;-1:-1:-1;50300:6:0;;;;;-1:-1:-1;;;;;50300:6:0;50227:87;;53653:24;;;;;;;;;;;;;:::i;53946:18::-;;;;;;;;;;-1:-1:-1;53946:18:0;;;;-1:-1:-1;;;;;53946:18:0;;;60455:150;;;;;;;;;;-1:-1:-1;60455:150:0;;;;;:::i;:::-;;:::i;27092:104::-;;;;;;;;;;;;;:::i;53703:41::-;;;;;;;;;;-1:-1:-1;53703:41:0;;;;;:::i;:::-;;;;;;;;;;;;;;;;53971:26;;;;;;;;;;;;;;;;56384:737;;;;;;:::i;:::-;;:::i;28679:155::-;;;;;;;;;;-1:-1:-1;28679:155:0;;;;;:::i;:::-;;:::i;53876:44::-;;;;;;;;;;-1:-1:-1;53876:44:0;;;;;:::i;:::-;;;;;;;;;;;;;;29799:323;;;;;;;;;;-1:-1:-1;29799:323:0;;;;;:::i;:::-;;:::i;27267:281::-;;;;;;;;;;-1:-1:-1;27267:281:0;;;;;:::i;:::-;;:::i;53751:29::-;;;;;;;;;;-1:-1:-1;53751:29:0;;;;;;;;53539:34;;;;;;;;;;;;;;;;59526:190;;;;;;;;;;-1:-1:-1;59526:190:0;;;;;:::i;:::-;;:::i;60838:216::-;;;;;;;;;;-1:-1:-1;60838:216:0;;;;;:::i;:::-;;:::i;53393:35::-;;;;;;;;;;;;;;;;55411:965;;;;;;;;;;-1:-1:-1;55411:965:0;;;;;:::i;:::-;;:::i;28905:164::-;;;;;;;;;;-1:-1:-1;28905:164:0;;;;;:::i;:::-;-1:-1:-1;;;;;29026:25:0;;;29002:4;29026:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;28905:164;58817:215;;;;;;;;;;-1:-1:-1;58817:215:0;;;;;:::i;:::-;;:::i;51133:201::-;;;;;;;;;;-1:-1:-1;51133:201:0;;;;;:::i;:::-;;:::i;59394:120::-;;;;;;;;;;-1:-1:-1;59394:120:0;;;;;:::i;:::-;;:::i;61313:193::-;;;;;;;;;;-1:-1:-1;61313:193:0;;;;;:::i;:::-;;:::i;54963:440::-;50113:13;:11;:13::i;:::-;55032:24:::1;55059:22;:12;52656:14:::0;;52564:114;55059:22:::1;55032:49;;55115:1;55100:5;:12;:16;55092:71;;;::::0;-1:-1:-1;;;55092:71:0;;11070:2:1;55092:71:0::1;::::0;::::1;11052:21:1::0;11109:2;11089:18;;;11082:30;11148:34;11128:18;;;11121:62;-1:-1:-1;;;11199:18:1;;;11192:40;11249:19;;55092:71:0::1;;;;;;;;;55217:12;::::0;55201;;55182:31:::1;::::0;:16;:31:::1;:::i;:::-;:47;;55174:91;;;::::0;-1:-1:-1;;;55174:91:0;;22293:2:1;55174:91:0::1;::::0;::::1;22275:21:1::0;22332:2;22312:18;;;22305:30;22371:33;22351:18;;;22344:61;22422:18;;55174:91:0::1;22091:355:1::0;55174:91:0::1;55281:9;55276:90;55300:5;:12;55296:1;:16;55276:90;;;55334:19;55344:5;55350:1;55344:8;;;;;;;;:::i;:::-;;;;;;;55334:9;:19::i;:::-;55314:3:::0;::::1;::::0;::::1;:::i;:::-;;;;55276:90;;;;55389:5;55381:14;;;;;;:::i;:::-;;::::0;;;;::::1;::::0;;;::::1;::::0;;;::::1;55021:382;54963:440:::0;:::o;40189:224::-;40291:4;-1:-1:-1;;;;;;40315:50:0;;-1:-1:-1;;;40315:50:0;;:90;;;40369:36;40393:11;40369:23;:36::i;:::-;40308:97;40189:224;-1:-1:-1;;40189:224:0:o;26923:100::-;26977:13;27010:5;27003:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;26923:100;:::o;28436:171::-;28512:7;28532:23;28547:7;28532:14;:23::i;:::-;-1:-1:-1;28575:24:0;;;;:15;:24;;;;;;-1:-1:-1;;;;;28575:24:0;;28436:171::o;27953:417::-;28034:13;28050:23;28065:7;28050:14;:23::i;:::-;28034:39;;28098:5;-1:-1:-1;;;;;28092:11:0;:2;-1:-1:-1;;;;;28092:11:0;;;28084:57;;;;-1:-1:-1;;;28084:57:0;;20212:2:1;28084:57:0;;;20194:21:1;20251:2;20231:18;;;20224:30;20290:34;20270:18;;;20263:62;-1:-1:-1;;;20341:18:1;;;20334:31;20382:19;;28084:57:0;20010:397:1;28084:57:0;24455:10;-1:-1:-1;;;;;28176:21:0;;;;:62;;-1:-1:-1;28201:37:0;28218:5;24455:10;28905:164;:::i;28201:37::-;28154:174;;;;-1:-1:-1;;;28154:174:0;;17494:2:1;28154:174:0;;;17476:21:1;17533:2;17513:18;;;17506:30;17572:34;17552:18;;;17545:62;17643:32;17623:18;;;17616:60;17693:19;;28154:174:0;17292:426:1;28154:174:0;28341:21;28350:2;28354:7;28341:8;:21::i;:::-;28023:347;27953:417;;:::o;58725:84::-;50113:13;:11;:13::i;:::-;58792:9:::1;::::0;;-1:-1:-1;;58779:22:0;::::1;58792:9;::::0;;::::1;58791:10;58779:22;::::0;;58725:84::o;59040:219::-;50113:13;:11;:13::i;:::-;59138:5;59121:14:::1;59161:91;59185:6;59181:1;:10;59161:91;;;59235:5;59213:9;:19;59223:5;;59229:1;59223:8;;;;;;;:::i;:::-;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1::0;;;;;59213:19:0::1;::::0;;::::1;::::0;::::1;::::0;;;;;;-1:-1:-1;59213:19:0;:27;;-1:-1:-1;;59213:27:0::1;::::0;::::1;;::::0;;;::::1;::::0;;59193:3;::::1;::::0;::::1;:::i;:::-;;;;59161:91;;;;59110:149;59040:219:::0;;:::o;29136:336::-;29331:41;24455:10;29364:7;29331:18;:41::i;:::-;29323:100;;;;-1:-1:-1;;;29323:100:0;;;;;;;:::i;:::-;29436:28;29446:4;29452:2;29456:7;29436:9;:28::i;58573:144::-;50113:13;:11;:13::i;:::-;48081:7;;;;58631:32:::1;;58655:8;:6;:8::i;:::-;58631:32;;;58642:10;:8;:10::i;:::-;58679:29;58699:8;48081:7:::0;;;;;48010:86;58699:8:::1;58679:29;::::0;9847:14:1;;9840:22;9822:41;;9810:2;9795:18;58679:29:0::1;;;;;;;;58573:144::o:0;59267:119::-;50113:13;:11;:13::i;:::-;-1:-1:-1;;;;;59349:21:0;;;::::1;;::::0;;;:14:::1;:21;::::0;;;;:29;;-1:-1:-1;;59349:29:0::1;::::0;::::1;;::::0;;;::::1;::::0;;59267:119::o;40497:256::-;40594:7;40630:23;40647:5;40630:16;:23::i;:::-;40622:5;:31;40614:87;;;;-1:-1:-1;;;40614:87:0;;11901:2:1;40614:87:0;;;11883:21:1;11940:2;11920:18;;;11913:30;11979:34;11959:18;;;11952:62;-1:-1:-1;;;12030:18:1;;;12023:41;12081:19;;40614:87:0;11699:407:1;40614:87:0;-1:-1:-1;;;;;;40719:19:0;;;;;;;;:12;:19;;;;;;;;:26;;;;;;;;;40497:256::o;59724:190::-;50113:13;:11;:13::i;:::-;59811:5:::1;59796:12;:20:::0;59840:8:::1;59827:10;:21:::0;59870:8:::1;59859;:19:::0;59889:17;;::::1;::::0;:10:::1;::::0;:17:::1;::::0;::::1;::::0;::::1;:::i;:::-;;59724:190:::0;:::o;62238:456::-;50113:13;:11;:13::i;:::-;62320:1:::1;62296:21;:25;62288:87;;;::::0;-1:-1:-1;;;62288:87:0;;20614:2:1;62288:87:0::1;::::0;::::1;20596:21:1::0;20653:2;20633:18;;;20626:30;20692:34;20672:18;;;20665:62;-1:-1:-1;;;20743:18:1;;;20736:47;20800:19;;62288:87:0::1;20412:413:1::0;62288:87:0::1;62475:6;::::0;62405:21:::1;::::0;62387:15:::1;::::0;62486:3:::1;::::0;62469:12:::1;::::0;62486:3;62469:12:::1;:::i;:::-;62458:24;::::0;:7;:24:::1;:::i;:::-;62457:32;;;;:::i;:::-;62437:53;;62501:14;62542:3;62531:6;;62520:7;:18;;;;:::i;:::-;62519:26;;;;:::i;:::-;62557:38;::::0;62501:45;;-1:-1:-1;62565:10:0::1;::::0;62557:38;::::1;;;::::0;62586:8;;62557:38:::1;::::0;;;62586:8;62565:10;62557:38;::::1;;;;;;;;;;;;;::::0;::::1;;;;;-1:-1:-1::0;62614:3:0::1;::::0;62606:29:::1;::::0;-1:-1:-1;;;;;62614:3:0;;::::1;::::0;62606:29;::::1;;;::::0;62628:6;;62614:3:::1;62606:29:::0;62614:3;62606:29;62628:6;62614:3;62606:29;::::1;;;;;;;;;;;;;::::0;::::1;;;;;-1:-1:-1::0;62651:35:0::1;::::0;;26361:25:1;;;26417:2;26402:18;;26395:34;;;26445:18;;;26438:34;;;62651:35:0::1;::::0;26349:2:1;26334:18;62651:35:0::1;;;;;;;62277:417;;;62238:456::o:0;29543:185::-;29681:39;29698:4;29704:2;29708:7;29681:39;;;;;;;;;;;;:16;:39::i;60196:249::-;50113:13;:11;:13::i;:::-;60324:12:::1;:21:::0;;;60356:10:::1;:21:::0;;;60388:8:::1;:21:::0;;;60420:17;;::::1;::::0;:10:::1;::::0;:17:::1;::::0;::::1;::::0;::::1;:::i;:::-;;60196:249:::0;;;;:::o;61753:477::-;50113:13;:11;:13::i;:::-;61836:38:::1;::::0;-1:-1:-1;;;61836:38:0;;61868:4:::1;61836:38;::::0;::::1;8159:51:1::0;61822:11:0::1;::::0;-1:-1:-1;;;;;61836:23:0;::::1;::::0;::::1;::::0;8132:18:1;;61836:38:0::1;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;61822:52;;61899:1;61893:3;:7;61885:77;;;::::0;-1:-1:-1;;;61885:77:0;;23845:2:1;61885:77:0::1;::::0;::::1;23827:21:1::0;23884:2;23864:18;;;23857:30;23923:34;23903:18;;;23896:62;23994:27;23974:18;;;23967:55;24039:19;;61885:77:0::1;23643:421:1::0;61885:77:0::1;61973:16;62018:3;62007:6;;62001:3;:12;;;;:::i;:::-;61994:20;::::0;:3;:20:::1;:::i;:::-;61993:28;;;;:::i;:::-;61973:49;;62033:14;62070:3;62059:6;;62052:3;:14;;;;:::i;:::-;62051:22;;;;:::i;:::-;62085:44;::::0;-1:-1:-1;;;62085:44:0;;62108:10:::1;62085:44;::::0;::::1;9577:51:1::0;9644:18;;;9637:34;;;62033:41:0;;-1:-1:-1;;;;;;62085:22:0;::::1;::::0;::::1;::::0;9550:18:1;;62085:44:0::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1::0;62163:3:0::1;::::0;62140:35:::1;::::0;-1:-1:-1;;;62140:35:0;;-1:-1:-1;;;;;62163:3:0;;::::1;62140:35;::::0;::::1;9577:51:1::0;9644:18;;;9637:34;;;62140:22:0;;::::1;::::0;::::1;::::0;9550:18:1;;62140:35:0::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1::0;62191:31:0::1;::::0;;26361:25:1;;;26417:2;26402:18;;26395:34;;;26445:18;;;26438:34;;;62191:31:0::1;::::0;26349:2:1;26334:18;62191:31:0::1;;;;;;;61811:419;;;61753:477:::0;:::o;41019:233::-;41094:7;41130:30;40917:10;:17;;40829:113;41130:30;41122:5;:38;41114:95;;;;-1:-1:-1;;;41114:95:0;;21456:2:1;41114:95:0;;;21438:21:1;21495:2;21475:18;;;21468:30;21534:34;21514:18;;;21507:62;-1:-1:-1;;;21585:18:1;;;21578:42;21637:19;;41114:95:0;21254:408:1;41114:95:0;41227:10;41238:5;41227:17;;;;;;;;:::i;:::-;;;;;;;;;41220:24;;41019:233;;;:::o;54830:125::-;50113:13;:11;:13::i;:::-;54898:17;;::::1;::::0;:10:::1;::::0;:17:::1;::::0;::::1;::::0;::::1;:::i;:::-;;54931:16;54942:4;54931:16;;;;;;:::i;:::-;;;;;;;;54830:125:::0;:::o;26634:222::-;26706:7;26742:16;;;:7;:16;;;;;;-1:-1:-1;;;;;26742:16:0;26777:19;26769:56;;;;-1:-1:-1;;;26769:56:0;;19859:2:1;26769:56:0;;;19841:21:1;19898:2;19878:18;;;19871:30;-1:-1:-1;;;19917:18:1;;;19910:54;19981:18;;26769:56:0;19657:348:1;61062:243:0;50113:13;:11;:13::i;:::-;61158:1:::1;61146:9;:13;61138:78;;;::::0;-1:-1:-1;;;61138:78:0;;10649:2:1;61138:78:0::1;::::0;::::1;10631:21:1::0;10688:2;10668:18;;;10661:30;10727:34;10707:18;;;10700:62;-1:-1:-1;;;10778:18:1;;;10771:50;10838:19;;61138:78:0::1;10447:416:1::0;61138:78:0::1;61228:12;:24:::0;;;61269:28:::1;::::0;25870:25:1;;;61269:28:0::1;::::0;25858:2:1;25843:18;61269:28:0::1;25724:177:1::0;26365:207:0;26437:7;-1:-1:-1;;;;;26465:19:0;;26457:73;;;;-1:-1:-1;;;26457:73:0;;16672:2:1;26457:73:0;;;16654:21:1;16711:2;16691:18;;;16684:30;16750:34;16730:18;;;16723:62;-1:-1:-1;;;16801:18:1;;;16794:39;16850:19;;26457:73:0;16470:405:1;26457:73:0;-1:-1:-1;;;;;;26548:16:0;;;;;:9;:16;;;;;;;26365:207::o;50875:103::-;50113:13;:11;:13::i;:::-;50940:30:::1;50967:1;50940:18;:30::i;:::-;50875:103::o:0;58247:227::-;58319:39;58338:10;58350:7;58319:18;:39::i;:::-;58311:95;;;;-1:-1:-1;;;58311:95:0;;17082:2:1;58311:95:0;;;17064:21:1;17121:2;17101:18;;;17094:30;17160:34;17140:18;;;17133:62;-1:-1:-1;;;17211:18:1;;;17204:41;17262:19;;58311:95:0;16880:407:1;58311:95:0;58418:14;58424:7;58418:5;:14::i;:::-;58448:18;;25870:25:1;;;58448:18:0;;25858:2:1;25843:18;58448::0;25724:177:1;57129:945:0;57214:10;57204:21;;;;:9;:21;;;;;;;;:29;;:21;:29;57196:83;;;;-1:-1:-1;;;57196:83:0;;15503:2:1;57196:83:0;;;15485:21:1;15542:2;15522:18;;;15515:30;15581:34;15561:18;;;15554:62;-1:-1:-1;;;15632:18:1;;;15625:39;15681:19;;57196:83:0;15301:405:1;57196:83:0;57290:24;57317:22;:12;52656:14;;52564:114;57317:22;57290:49;;57377:12;;57358:16;:31;57350:79;;;;-1:-1:-1;;;57350:79:0;;25107:2:1;57350:79:0;;;25089:21:1;25146:2;25126:18;;;25119:30;25185:34;25165:18;;;25158:62;-1:-1:-1;;;25236:18:1;;;25229:33;25279:19;;57350:79:0;24905:399:1;57350:79:0;57482:13;;57472:6;57448:21;57458:10;57448:9;:21::i;:::-;:30;;;;:::i;:::-;:47;;57440:56;;;;;;57544:12;;57515:25;57534:6;57515:16;:25;:::i;:::-;:41;;57507:114;;;;-1:-1:-1;;;57507:114:0;;19430:2:1;57507:114:0;;;19412:21:1;19469:2;19449:18;;;19442:30;19508:34;19488:18;;;19481:62;19579:30;19559:18;;;19552:58;19627:19;;57507:114:0;19228:424:1;57507:114:0;57650:13;;57640:6;:23;;57632:88;;;;-1:-1:-1;;;57632:88:0;;24271:2:1;57632:88:0;;;24253:21:1;24310:2;24290:18;;;24283:30;24349:34;24329:18;;;24322:62;-1:-1:-1;;;24400:18:1;;;24393:50;24460:19;;57632:88:0;24069:416:1;57632:88:0;57761:8;;57752:17;;:6;:17;:::i;:::-;57739:9;:30;57731:98;;;;-1:-1:-1;;;57731:98:0;;21869:2:1;57731:98:0;;;21851:21:1;21908:2;21888:18;;;21881:30;21947:34;21927:18;;;21920:62;22018:25;21998:18;;;21991:53;22061:19;;57731:98:0;21667:419:1;57731:98:0;57848:9;;;;:17;;:9;:17;57840:74;;;;-1:-1:-1;;;57840:74:0;;23077:2:1;57840:74:0;;;23059:21:1;23116:2;23096:18;;;23089:30;23155:34;23135:18;;;23128:62;-1:-1:-1;;;23206:18:1;;;23199:42;23258:19;;57840:74:0;22875:408:1;57840:74:0;57933:9;57928:85;57952:6;57948:1;:10;57928:85;;;57980:21;57990:10;57980:9;:21::i;:::-;57960:3;;;;:::i;:::-;;;;57928:85;;;-1:-1:-1;58055:10:0;;58030:36;;58035:10;;58030:36;;;;58047:6;26080:25:1;;26136:2;26121:18;;26114:34;26068:2;26053:18;;25906:248;58030:36:0;;;;;;;;57185:889;57129:945;:::o;61514:231::-;50113:13;:11;:13::i;:::-;61605:1:::1;61596:6;:10;61588:78;;;::::0;-1:-1:-1;;;61588:78:0;;21032:2:1;61588:78:0::1;::::0;::::1;21014:21:1::0;21071:2;21051:18;;;21044:30;21110:34;21090:18;;;21083:62;-1:-1:-1;;;21161:18:1;;;21154:53;21224:19;;61588:78:0::1;20830:419:1::0;61588:78:0::1;61678:13;:22:::0;;;61716:21:::1;::::0;25870:25:1;;;61716:21:0::1;::::0;25858:2:1;25843:18;61716:21:0::1;25724:177:1::0;59922:192:0;50113:13;:11;:13::i;:::-;60009:5:::1;59994:12;:20:::0;60038:9:::1;60025:10;:22:::0;60069:9:::1;60058:8;:20:::0;60089:17;;::::1;::::0;:10:::1;::::0;:17:::1;::::0;::::1;::::0;::::1;:::i;60613:217::-:0;50113:13;:11;:13::i;:::-;60701:1:::1;60690:8;:12;60682:70;;;;-1:-1:-1::0;;;60682:70:0::1;;;;;;;:::i;:::-;60763:10;:21:::0;;;60801::::1;::::0;25870:25:1;;;60801:21:0::1;::::0;25858:2:1;25843:18;60801:21:0::1;25724:177:1::0;53653:24:0;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;60455:150::-;60535:3;;-1:-1:-1;;;;;60535:3:0;60521:10;:17;60513:58;;;;-1:-1:-1;;;60513:58:0;;18286:2:1;60513:58:0;;;18268:21:1;18325:2;18305:18;;;18298:30;18364;18344:18;;;18337:58;18412:18;;60513:58:0;18084:352:1;60513:58:0;60582:3;:15;;-1:-1:-1;;;;;;60582:15:0;-1:-1:-1;;;;;60582:15:0;;;;;;;;;;60455:150::o;27092:104::-;27148:13;27181:7;27174:14;;;;;:::i;56384:737::-;47615:19;:17;:19::i;:::-;56456:24:::1;56483:22;:12;52656:14:::0;;52564:114;56483:22:::1;56456:49;;56543:12;;56524:16;:31;56516:70;;;::::0;-1:-1:-1;;;56516:70:0;;23490:2:1;56516:70:0::1;::::0;::::1;23472:21:1::0;23529:2;23509:18;;;23502:30;23568:28;23548:18;;;23541:56;23614:18;;56516:70:0::1;23288:350:1::0;56516:70:0::1;56639:13;;56629:6;56605:21;56615:10;56605:9;:21::i;:::-;:30;;;;:::i;:::-;:47;;56597:56;;;::::0;::::1;;56701:12;::::0;56672:25:::1;56691:6:::0;56672:16;:25:::1;:::i;:::-;:41;;56664:105;;;;-1:-1:-1::0;;;56664:105:0::1;;;;;;;:::i;:::-;56798:13;;56788:6;:23;;56780:79;;;::::0;-1:-1:-1;;;56780:79:0;;13902:2:1;56780:79:0::1;::::0;::::1;13884:21:1::0;13941:2;13921:18;;;13914:30;13980:34;13960:18;;;13953:62;-1:-1:-1;;;14031:18:1;;;14024:41;14082:19;;56780:79:0::1;13700:407:1::0;56780:79:0::1;56900:10;::::0;56891:19:::1;::::0;:6;:19:::1;:::i;:::-;56878:9;:32;56870:91;;;::::0;-1:-1:-1;;;56870:91:0;;25511:2:1;56870:91:0::1;::::0;::::1;25493:21:1::0;25550:2;25530:18;;;25523:30;25589:34;25569:18;;;25562:62;-1:-1:-1;;;25640:18:1;;;25633:44;25694:19;;56870:91:0::1;25309:410:1::0;56870:91:0::1;56980:9;56975:85;56999:6;56995:1;:10;56975:85;;;57027:21;57037:10;57027:9;:21::i;:::-;57007:3:::0;::::1;::::0;::::1;:::i;:::-;;;;56975:85;;28679:155:::0;28774:52;24455:10;28807:8;28817;28774:18;:52::i;29799:323::-;29973:41;24455:10;30006:7;29973:18;:41::i;:::-;29965:100;;;;-1:-1:-1;;;29965:100:0;;;;;;;:::i;:::-;30076:38;30090:4;30096:2;30100:7;30109:4;30076:13;:38::i;27267:281::-;27340:13;27366:23;27381:7;27366:14;:23::i;:::-;27402:21;27426:10;:8;:10::i;:::-;27402:34;;27478:1;27460:7;27454:21;:25;:86;;;;;;;;;;;;;;;;;27506:7;27515:18;:7;:16;:18::i;:::-;27489:45;;;;;;;;;:::i;:::-;;;;;;;;;;;;;27454:86;27447:93;27267:281;-1:-1:-1;;;27267:281:0:o;59526:190::-;50113:13;:11;:13::i;:::-;59613:5:::1;59598:12;:20:::0;59642:8:::1;59629:10;:21:::0;59672:8:::1;59661;:19:::0;59691:17;;::::1;::::0;:10:::1;::::0;:17:::1;::::0;::::1;::::0;::::1;:::i;60838:216::-:0;50113:13;:11;:13::i;:::-;60928:1:::1;60917:8;:12;60909:70;;;;-1:-1:-1::0;;;60909:70:0::1;;;;;;;:::i;:::-;60990:8;:19:::0;;;61025:21:::1;::::0;25870:25:1;;;61025:21:0::1;::::0;25858:2:1;25843:18;61025:21:0::1;25724:177:1::0;55411:965:0;47615:19;:17;:19::i;:::-;55499:24:::1;55526:22;:12;52656:14:::0;;52564:114;55526:22:::1;55499:49;;55586:12;;55567:16;:31;55559:70;;;::::0;-1:-1:-1;;;55559:70:0;;23490:2:1;55559:70:0::1;::::0;::::1;23472:21:1::0;23529:2;23509:18;;;23502:30;23568:28;23548:18;;;23541:56;23614:18;;55559:70:0::1;23288:350:1::0;55559:70:0::1;55682:13;;55672:6;55648:21;55658:10;55648:9;:21::i;:::-;:30;;;;:::i;:::-;:47;;55640:56;;;::::0;::::1;;55744:12;::::0;55715:25:::1;55734:6:::0;55715:16;:25:::1;:::i;:::-;:41;;55707:105;;;;-1:-1:-1::0;;;55707:105:0::1;;;;;;;:::i;:::-;-1:-1:-1::0;;;;;55833:21:0;::::1;;::::0;;;:14:::1;:21;::::0;;;;;::::1;;:29;;:21:::0;:29:::1;55825:99;;;::::0;-1:-1:-1;;;55825:99:0;;18643:2:1;55825:99:0::1;::::0;::::1;18625:21:1::0;18682:2;18662:18;;;18655:30;18721:34;18701:18;;;18694:62;18792:27;18772:18;;;18765:55;18837:19;;55825:99:0::1;18441:421:1::0;55825:99:0::1;-1:-1:-1::0;;;;;55956:16:0;::::1;55937;55956::::0;;;:9:::1;:16;::::0;;;;;:25:::1;::::0;55975:6;;55956:25:::1;:::i;:::-;56000:35;::::0;-1:-1:-1;;;56000:35:0;;56024:10:::1;56000:35;::::0;::::1;8159:51:1::0;55937:44:0;;-1:-1:-1;55937:44:0;;-1:-1:-1;;;;;56000:23:0;::::1;::::0;::::1;::::0;8132:18:1;;56000:35:0::1;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:47;;55992:121;;;::::0;-1:-1:-1;;;55992:121:0;;15073:2:1;55992:121:0::1;::::0;::::1;15055:21:1::0;15112:2;15092:18;;;15085:30;15151:34;15131:18;;;15124:62;15222:31;15202:18;;;15195:59;15271:19;;55992:121:0::1;14871:425:1::0;55992:121:0::1;56132:50;::::0;-1:-1:-1;;;56132:50:0;;56156:10:::1;56132:50;::::0;::::1;8433:34:1::0;56176:4:0::1;8483:18:1::0;;;8476:43;56186:8:0;;-1:-1:-1;;;;;56132:23:0;::::1;::::0;::::1;::::0;8368:18:1;;56132:50:0::1;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:62;;56124:71;;;::::0;::::1;;56208:63;::::0;-1:-1:-1;;;56208:63:0;;56235:10:::1;56208:63;::::0;::::1;8770:34:1::0;56255:4:0::1;8820:18:1::0;;;8813:43;8872:18;;;8865:34;;;-1:-1:-1;;;;;56208:26:0;::::1;::::0;::::1;::::0;8705:18:1;;56208:63:0::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;56289:9;56284:85;56308:6;56304:1;:10;56284:85;;;56336:21;56346:10;56336:9;:21::i;:::-;56316:3:::0;::::1;::::0;::::1;:::i;:::-;;;;56284:85;;58817:215:::0;50113:13;:11;:13::i;:::-;58912:5;58895:14:::1;58935:90;58959:6;58955:1;:10;58935:90;;;59009:4;58987:9;:19;58997:5;;59003:1;58997:8;;;;;;;:::i;:::-;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1::0;;;;;58987:19:0::1;::::0;;::::1;::::0;::::1;::::0;;;;;;-1:-1:-1;58987:19:0;:26;;-1:-1:-1;;58987:26:0::1;::::0;::::1;;::::0;;;::::1;::::0;;58967:3;::::1;::::0;::::1;:::i;:::-;;;;58935:90;;51133:201:::0;50113:13;:11;:13::i;:::-;-1:-1:-1;;;;;51222:22:0;::::1;51214:73;;;::::0;-1:-1:-1;;;51214:73:0;;12732:2:1;51214:73:0::1;::::0;::::1;12714:21:1::0;12771:2;12751:18;;;12744:30;12810:34;12790:18;;;12783:62;-1:-1:-1;;;12861:18:1;;;12854:36;12907:19;;51214:73:0::1;12530:402:1::0;51214:73:0::1;51298:28;51317:8;51298:18;:28::i;:::-;51133:201:::0;:::o;59394:120::-;50113:13;:11;:13::i;:::-;-1:-1:-1;;;;;59483:16:0;;::::1;;::::0;;;:9:::1;:16;::::0;;;;:23;59394:120::o;61313:193::-;50113:13;:11;:13::i;:::-;61404:1:::1;61395:6;:10;61387:78;;;::::0;-1:-1:-1;;;61387:78:0;;22653:2:1;61387:78:0::1;::::0;::::1;22635:21:1::0;22692:2;22672:18;;;22665:30;22731:34;22711:18;;;22704:62;-1:-1:-1;;;22782:18:1;;;22775:53;22845:19;;61387:78:0::1;22451:419:1::0;61387:78:0::1;61476:13;:22:::0;61313:193::o;50392:132::-;50300:6;;-1:-1:-1;;;;;50300:6:0;;;;;24455:10;50456:23;50448:68;;;;-1:-1:-1;;;50448:68:0;;19069:2:1;50448:68:0;;;19051:21:1;;;19088:18;;;19081:30;19147:34;19127:18;;;19120:62;19199:18;;50448:68:0;18867:356:1;58082:157:0;58133:24;:12;52775:19;;52793:1;52775:19;;;52686:127;58133:24;58168:10;58181:22;:12;52656:14;;52564:114;58181:22;58168:35;;58214:17;58224:2;58228;58214:9;:17::i;25996:305::-;26098:4;-1:-1:-1;;;;;;26135:40:0;;-1:-1:-1;;;26135:40:0;;:105;;-1:-1:-1;;;;;;;26192:48:0;;-1:-1:-1;;;26192:48:0;26135:105;:158;;;-1:-1:-1;;;;;;;;;;16874:40:0;;;26257:36;16765:157;36411:135;31694:4;31718:16;;;:7;:16;;;;;;-1:-1:-1;;;;;31718:16:0;36485:53;;;;-1:-1:-1;;;36485:53:0;;19859:2:1;36485:53:0;;;19841:21:1;19898:2;19878:18;;;19871:30;-1:-1:-1;;;19917:18:1;;;19910:54;19981:18;;36485:53:0;19657:348:1;35690:174:0;35765:24;;;;:15;:24;;;;;:29;;-1:-1:-1;;;;;;35765:29:0;-1:-1:-1;;;;;35765:29:0;;;;;;;;:24;;35819:23;35765:24;35819:14;:23::i;:::-;-1:-1:-1;;;;;35810:46:0;;;;;;;;;;;35690:174;;:::o;31923:264::-;32016:4;32033:13;32049:23;32064:7;32049:14;:23::i;:::-;32033:39;;32102:5;-1:-1:-1;;;;;32091:16:0;:7;-1:-1:-1;;;;;32091:16:0;;:52;;;-1:-1:-1;;;;;;29026:25:0;;;29002:4;29026:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;32111:32;32091:87;;;;32171:7;-1:-1:-1;;;;;32147:31:0;:20;32159:7;32147:11;:20::i;:::-;-1:-1:-1;;;;;32147:31:0;;32091:87;32083:96;31923:264;-1:-1:-1;;;;31923:264:0:o;34946:625::-;35105:4;-1:-1:-1;;;;;35078:31:0;:23;35093:7;35078:14;:23::i;:::-;-1:-1:-1;;;;;35078:31:0;;35070:81;;;;-1:-1:-1;;;35070:81:0;;13139:2:1;35070:81:0;;;13121:21:1;13178:2;13158:18;;;13151:30;13217:34;13197:18;;;13190:62;-1:-1:-1;;;13268:18:1;;;13261:35;13313:19;;35070:81:0;12937:401:1;35070:81:0;-1:-1:-1;;;;;35170:16:0;;35162:65;;;;-1:-1:-1;;;35162:65:0;;14314:2:1;35162:65:0;;;14296:21:1;14353:2;14333:18;;;14326:30;14392:34;14372:18;;;14365:62;-1:-1:-1;;;14443:18:1;;;14436:34;14487:19;;35162:65:0;14112:400:1;35162:65:0;35240:39;35261:4;35267:2;35271:7;35240:20;:39::i;:::-;35344:29;35361:1;35365:7;35344:8;:29::i;:::-;-1:-1:-1;;;;;35386:15:0;;;;;;:9;:15;;;;;:20;;35405:1;;35386:15;:20;;35405:1;;35386:20;:::i;:::-;;;;-1:-1:-1;;;;;;;35417:13:0;;;;;;:9;:13;;;;;:18;;35434:1;;35417:13;:18;;35434:1;;35417:18;:::i;:::-;;;;-1:-1:-1;;35446:16:0;;;;:7;:16;;;;;;:21;;-1:-1:-1;;;;;;35446:21:0;-1:-1:-1;;;;;35446:21:0;;;;;;;;;35485:27;;35446:16;;35485:27;;;;;;;28023:347;27953:417;;:::o;48606:118::-;47615:19;:17;:19::i;:::-;48666:7:::1;:14:::0;;-1:-1:-1;;48666:14:0::1;48676:4;48666:14;::::0;;48696:20:::1;48703:12;24455:10:::0;;24375:98;48703:12:::1;48696:20;::::0;-1:-1:-1;;;;;8177:32:1;;;8159:51;;8147:2;8132:18;48696:20:0::1;8013:203:1::0;48865:120:0;47874:16;:14;:16::i;:::-;48924:7:::1;:15:::0;;-1:-1:-1;;48924:15:0::1;::::0;;48955:22:::1;24455:10:::0;48964:12:::1;24375:98:::0;51494:191;51587:6;;;-1:-1:-1;;;;;51604:17:0;;;51587:6;51604:17;;;-1:-1:-1;;;;;;51604:17:0;;;;;;51637:40;;51587:6;;;;;;;;51637:40;;51568:16;;51637:40;51557:128;51494:191;:::o;34189:420::-;34249:13;34265:23;34280:7;34265:14;:23::i;:::-;34249:39;;34301:48;34322:5;34337:1;34341:7;34301:20;:48::i;:::-;34390:29;34407:1;34411:7;34390:8;:29::i;:::-;-1:-1:-1;;;;;34432:16:0;;;;;;:9;:16;;;;;:21;;34452:1;;34432:16;:21;;34452:1;;34432:21;:::i;:::-;;;;-1:-1:-1;;34471:16:0;;;;:7;:16;;;;;;34464:23;;-1:-1:-1;;;;;;34464:23:0;;;34505:36;34479:7;;34471:16;-1:-1:-1;;;;;34505:36:0;;;;;34471:16;;34505:36;59889:17:::1;59724:190:::0;:::o;48169:108::-;48081:7;;;;48239:9;48231:38;;;;-1:-1:-1;;;48231:38:0;;15913:2:1;48231:38:0;;;15895:21:1;15952:2;15932:18;;;15925:30;-1:-1:-1;;;15971:18:1;;;15964:46;16027:18;;48231:38:0;15711:340:1;36007:315:0;36162:8;-1:-1:-1;;;;;36153:17:0;:5;-1:-1:-1;;;;;36153:17:0;;;36145:55;;;;-1:-1:-1;;;36145:55:0;;14719:2:1;36145:55:0;;;14701:21:1;14758:2;14738:18;;;14731:30;14797:27;14777:18;;;14770:55;14842:18;;36145:55:0;14517:349:1;36145:55:0;-1:-1:-1;;;;;36211:25:0;;;;;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;:46;;-1:-1:-1;;36211:46:0;;;;;;;;;;36273:41;;9822::1;;;36273::0;;9795:18:1;36273:41:0;;;;;;;36007:315;;;:::o;31003:313::-;31159:28;31169:4;31175:2;31179:7;31159:9;:28::i;:::-;31206:47;31229:4;31235:2;31239:7;31248:4;31206:22;:47::i;:::-;31198:110;;;;-1:-1:-1;;;31198:110:0;;;;;;;:::i;54719:103::-;54771:13;54804:10;54797:17;;;;;:::i;3309:723::-;3365:13;3586:10;3582:53;;-1:-1:-1;;3613:10:0;;;;;;;;;;;;-1:-1:-1;;;3613:10:0;;;;;3309:723::o;3582:53::-;3660:5;3645:12;3701:78;3708:9;;3701:78;;3734:8;;;;:::i;:::-;;-1:-1:-1;3757:10:0;;-1:-1:-1;3765:2:0;3757:10;;:::i;:::-;;;3701:78;;;3789:19;3821:6;3811:17;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;3811:17:0;;3789:39;;3839:154;3846:10;;3839:154;;3873:11;3883:1;3873:11;;:::i;:::-;;-1:-1:-1;3942:10:0;3950:2;3942:5;:10;:::i;:::-;3929:24;;:2;:24;:::i;:::-;3916:39;;3899:6;3906;3899:14;;;;;;;;:::i;:::-;;;;:56;-1:-1:-1;;;;;3899:56:0;;;;;;;;-1:-1:-1;3970:11:0;3979:2;3970:11;;:::i;:::-;;;3839:154;;32529:110;32605:26;32615:2;32619:7;32605:26;;;;;;;;;;;;:9;:26::i;41865:589::-;-1:-1:-1;;;;;42071:18:0;;42067:187;;42106:40;42138:7;43281:10;:17;;43254:24;;;;:15;:24;;;;;:44;;;43309:24;;;;;;;;;;;;43177:164;42106:40;42067:187;;;42176:2;-1:-1:-1;;;;;42168:10:0;:4;-1:-1:-1;;;;;42168:10:0;;42164:90;;42195:47;42228:4;42234:7;42195:32;:47::i;:::-;-1:-1:-1;;;;;42268:16:0;;42264:183;;42301:45;42338:7;42301:36;:45::i;42264:183::-;42374:4;-1:-1:-1;;;;;42368:10:0;:2;-1:-1:-1;;;;;42368:10:0;;42364:83;;42395:40;42423:2;42427:7;42395:27;:40::i;48354:108::-;48081:7;;;;48413:41;;;;-1:-1:-1;;;48413:41:0;;10300:2:1;48413:41:0;;;10282:21:1;10339:2;10319:18;;;10312:30;-1:-1:-1;;;10358:18:1;;;10351:50;10418:18;;48413:41:0;10098:344:1;37110:853:0;37264:4;-1:-1:-1;;;;;37285:13:0;;6904:19;:23;37281:675;;37321:71;;-1:-1:-1;;;37321:71:0;;-1:-1:-1;;;;;37321:36:0;;;;;:71;;24455:10;;37372:4;;37378:7;;37387:4;;37321:71;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;37321:71:0;;;;;;;;-1:-1:-1;;37321:71:0;;;;;;;;;;;;:::i;:::-;;;37317:584;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;37562:13:0;;37558:328;;37605:60;;-1:-1:-1;;;37605:60:0;;;;;;;:::i;37558:328::-;37836:6;37830:13;37821:6;37817:2;37813:15;37806:38;37317:584;-1:-1:-1;;;;;;37443:51:0;-1:-1:-1;;;37443:51:0;;-1:-1:-1;37436:58:0;;37281:675;-1:-1:-1;37940:4:0;37110:853;;;;;;:::o;32866:319::-;32995:18;33001:2;33005:7;32995:5;:18::i;:::-;33046:53;33077:1;33081:2;33085:7;33094:4;33046:22;:53::i;:::-;33024:153;;;;-1:-1:-1;;;33024:153:0;;;;;;;:::i;43968:988::-;44234:22;44284:1;44259:22;44276:4;44259:16;:22::i;:::-;:26;;;;:::i;:::-;44296:18;44317:26;;;:17;:26;;;;;;44234:51;;-1:-1:-1;44450:28:0;;;44446:328;;-1:-1:-1;;;;;44517:18:0;;44495:19;44517:18;;;:12;:18;;;;;;;;:34;;;;;;;;;44568:30;;;;;;:44;;;44685:30;;:17;:30;;;;;:43;;;44446:328;-1:-1:-1;44870:26:0;;;;:17;:26;;;;;;;;44863:33;;;-1:-1:-1;;;;;44914:18:0;;;;;:12;:18;;;;;:34;;;;;;;44907:41;43968:988::o;45251:1079::-;45529:10;:17;45504:22;;45529:21;;45549:1;;45529:21;:::i;:::-;45561:18;45582:24;;;:15;:24;;;;;;45955:10;:26;;45504:46;;-1:-1:-1;45582:24:0;;45504:46;;45955:26;;;;;;:::i;:::-;;;;;;;;;45933:48;;46019:11;45994:10;46005;45994:22;;;;;;;;:::i;:::-;;;;;;;;;;;;:36;;;;46099:28;;;:15;:28;;;;;;;:41;;;46271:24;;;;;46264:31;46306:10;:16;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;45322:1008;;;45251:1079;:::o;42755:221::-;42840:14;42857:20;42874:2;42857:16;:20::i;:::-;-1:-1:-1;;;;;42888:16:0;;;;;;;:12;:16;;;;;;;;:24;;;;;;;;:34;;;42933:26;;;:17;:26;;;;;;:35;;;;-1:-1:-1;42755:221:0:o;33521:439::-;-1:-1:-1;;;;;33601:16:0;;33593:61;;;;-1:-1:-1;;;33593:61:0;;17925:2:1;33593:61:0;;;17907:21:1;;;17944:18;;;17937:30;18003:34;17983:18;;;17976:62;18055:18;;33593:61:0;17723:356:1;33593:61:0;31694:4;31718:16;;;:7;:16;;;;;;-1:-1:-1;;;;;31718:16:0;:30;33665:58;;;;-1:-1:-1;;;33665:58:0;;13545:2:1;33665:58:0;;;13527:21:1;13584:2;13564:18;;;13557:30;13623;13603:18;;;13596:58;13671:18;;33665:58:0;13343:352:1;33665:58:0;33736:45;33765:1;33769:2;33773:7;33736:20;:45::i;:::-;-1:-1:-1;;;;;33794:13:0;;;;;;:9;:13;;;;;:18;;33811:1;;33794:13;:18;;33811:1;;33794:18;:::i;:::-;;;;-1:-1:-1;;33823:16:0;;;;:7;:16;;;;;;:21;;-1:-1:-1;;;;;;33823:21:0;-1:-1:-1;;;;;33823:21:0;;;;;;;;33862:33;;33823:16;;;33862:33;;33823:16;;33862:33;59889:17:::1;59724:190:::0;:::o;-1:-1:-1:-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;14:406:1;78:5;112:18;104:6;101:30;98:56;;;134:18;;:::i;:::-;172:57;217:2;196:15;;-1:-1:-1;;192:29:1;223:4;188:40;172:57;:::i;:::-;163:66;;252:6;245:5;238:21;292:3;283:6;278:3;274:16;271:25;268:45;;;309:1;306;299:12;268:45;358:6;353:3;346:4;339:5;335:16;322:43;412:1;405:4;396:6;389:5;385:18;381:29;374:40;14:406;;;;;:::o;425:173::-;493:20;;-1:-1:-1;;;;;542:31:1;;532:42;;522:70;;588:1;585;578:12;522:70;425:173;;;:::o;603:221::-;646:5;699:3;692:4;684:6;680:17;676:27;666:55;;717:1;714;707:12;666:55;739:79;814:3;805:6;792:20;785:4;777:6;773:17;739:79;:::i;829:186::-;888:6;941:2;929:9;920:7;916:23;912:32;909:52;;;957:1;954;947:12;909:52;980:29;999:9;980:29;:::i;1020:260::-;1088:6;1096;1149:2;1137:9;1128:7;1124:23;1120:32;1117:52;;;1165:1;1162;1155:12;1117:52;1188:29;1207:9;1188:29;:::i;:::-;1178:39;;1236:38;1270:2;1259:9;1255:18;1236:38;:::i;:::-;1226:48;;1020:260;;;;;:::o;1285:328::-;1362:6;1370;1378;1431:2;1419:9;1410:7;1406:23;1402:32;1399:52;;;1447:1;1444;1437:12;1399:52;1470:29;1489:9;1470:29;:::i;:::-;1460:39;;1518:38;1552:2;1541:9;1537:18;1518:38;:::i;:::-;1508:48;;1603:2;1592:9;1588:18;1575:32;1565:42;;1285:328;;;;;:::o;1618:666::-;1713:6;1721;1729;1737;1790:3;1778:9;1769:7;1765:23;1761:33;1758:53;;;1807:1;1804;1797:12;1758:53;1830:29;1849:9;1830:29;:::i;:::-;1820:39;;1878:38;1912:2;1901:9;1897:18;1878:38;:::i;:::-;1868:48;;1963:2;1952:9;1948:18;1935:32;1925:42;;2018:2;2007:9;2003:18;1990:32;2045:18;2037:6;2034:30;2031:50;;;2077:1;2074;2067:12;2031:50;2100:22;;2153:4;2145:13;;2141:27;-1:-1:-1;2131:55:1;;2182:1;2179;2172:12;2131:55;2205:73;2270:7;2265:2;2252:16;2247:2;2243;2239:11;2205:73;:::i;:::-;2195:83;;;1618:666;;;;;;;:::o;2289:315::-;2354:6;2362;2415:2;2403:9;2394:7;2390:23;2386:32;2383:52;;;2431:1;2428;2421:12;2383:52;2454:29;2473:9;2454:29;:::i;:::-;2444:39;;2533:2;2522:9;2518:18;2505:32;2546:28;2568:5;2546:28;:::i;:::-;2593:5;2583:15;;;2289:315;;;;;:::o;2609:254::-;2677:6;2685;2738:2;2726:9;2717:7;2713:23;2709:32;2706:52;;;2754:1;2751;2744:12;2706:52;2777:29;2796:9;2777:29;:::i;:::-;2767:39;2853:2;2838:18;;;;2825:32;;-1:-1:-1;;;2609:254:1:o;2868:615::-;2954:6;2962;3015:2;3003:9;2994:7;2990:23;2986:32;2983:52;;;3031:1;3028;3021:12;2983:52;3071:9;3058:23;3100:18;3141:2;3133:6;3130:14;3127:34;;;3157:1;3154;3147:12;3127:34;3195:6;3184:9;3180:22;3170:32;;3240:7;3233:4;3229:2;3225:13;3221:27;3211:55;;3262:1;3259;3252:12;3211:55;3302:2;3289:16;3328:2;3320:6;3317:14;3314:34;;;3344:1;3341;3334:12;3314:34;3397:7;3392:2;3382:6;3379:1;3375:14;3371:2;3367:23;3363:32;3360:45;3357:65;;;3418:1;3415;3408:12;3357:65;3449:2;3441:11;;;;;3471:6;;-1:-1:-1;2868:615:1;;-1:-1:-1;;;;2868:615:1:o;3488:963::-;3572:6;3603:2;3646;3634:9;3625:7;3621:23;3617:32;3614:52;;;3662:1;3659;3652:12;3614:52;3702:9;3689:23;3731:18;3772:2;3764:6;3761:14;3758:34;;;3788:1;3785;3778:12;3758:34;3826:6;3815:9;3811:22;3801:32;;3871:7;3864:4;3860:2;3856:13;3852:27;3842:55;;3893:1;3890;3883:12;3842:55;3929:2;3916:16;3951:2;3947;3944:10;3941:36;;;3957:18;;:::i;:::-;4003:2;4000:1;3996:10;3986:20;;4026:28;4050:2;4046;4042:11;4026:28;:::i;:::-;4088:15;;;4119:12;;;;4151:11;;;4181;;;4177:20;;4174:33;-1:-1:-1;4171:53:1;;;4220:1;4217;4210:12;4171:53;4242:1;4233:10;;4252:169;4266:2;4263:1;4260:9;4252:169;;;4323:23;4342:3;4323:23;:::i;:::-;4311:36;;4284:1;4277:9;;;;;4367:12;;;;4399;;4252:169;;;-1:-1:-1;4440:5:1;3488:963;-1:-1:-1;;;;;;;;3488:963:1:o;4456:245::-;4523:6;4576:2;4564:9;4555:7;4551:23;4547:32;4544:52;;;4592:1;4589;4582:12;4544:52;4624:9;4618:16;4643:28;4665:5;4643:28;:::i;4706:245::-;4764:6;4817:2;4805:9;4796:7;4792:23;4788:32;4785:52;;;4833:1;4830;4823:12;4785:52;4872:9;4859:23;4891:30;4915:5;4891:30;:::i;4956:249::-;5025:6;5078:2;5066:9;5057:7;5053:23;5049:32;5046:52;;;5094:1;5091;5084:12;5046:52;5126:9;5120:16;5145:30;5169:5;5145:30;:::i;5210:322::-;5279:6;5332:2;5320:9;5311:7;5307:23;5303:32;5300:52;;;5348:1;5345;5338:12;5300:52;5388:9;5375:23;5421:18;5413:6;5410:30;5407:50;;;5453:1;5450;5443:12;5407:50;5476;5518:7;5509:6;5498:9;5494:22;5476:50;:::i;5537:180::-;5596:6;5649:2;5637:9;5628:7;5624:23;5620:32;5617:52;;;5665:1;5662;5655:12;5617:52;-1:-1:-1;5688:23:1;;5537:180;-1:-1:-1;5537:180:1:o;5722:184::-;5792:6;5845:2;5833:9;5824:7;5820:23;5816:32;5813:52;;;5861:1;5858;5851:12;5813:52;-1:-1:-1;5884:16:1;;5722:184;-1:-1:-1;5722:184:1:o;5911:254::-;5979:6;5987;6040:2;6028:9;6019:7;6015:23;6011:32;6008:52;;;6056:1;6053;6046:12;6008:52;6092:9;6079:23;6069:33;;6121:38;6155:2;6144:9;6140:18;6121:38;:::i;6170:527::-;6266:6;6274;6282;6290;6343:3;6331:9;6322:7;6318:23;6314:33;6311:53;;;6360:1;6357;6350:12;6311:53;6396:9;6383:23;6373:33;;6453:2;6442:9;6438:18;6425:32;6415:42;;6504:2;6493:9;6489:18;6476:32;6466:42;;6559:2;6548:9;6544:18;6531:32;6586:18;6578:6;6575:30;6572:50;;;6618:1;6615;6608:12;6572:50;6641;6683:7;6674:6;6663:9;6659:22;6641:50;:::i;6702:257::-;6743:3;6781:5;6775:12;6808:6;6803:3;6796:19;6824:63;6880:6;6873:4;6868:3;6864:14;6857:4;6850:5;6846:16;6824:63;:::i;:::-;6941:2;6920:15;-1:-1:-1;;6916:29:1;6907:39;;;;6948:4;6903:50;;6702:257;-1:-1:-1;;6702:257:1:o;6964:569::-;7182:13;;7125:3;;7156;;7235:4;7262:15;;;7125:3;7305:201;7319:6;7316:1;7313:13;7305:201;;;7386:13;;-1:-1:-1;;;;;7382:39:1;7368:54;;7444:14;;;;7481:15;;;;7418:1;7334:9;7305:201;;;-1:-1:-1;7522:5:1;;6964:569;-1:-1:-1;;;;;;6964:569:1:o;7538:470::-;7717:3;7755:6;7749:13;7771:53;7817:6;7812:3;7805:4;7797:6;7793:17;7771:53;:::i;:::-;7887:13;;7846:16;;;;7909:57;7887:13;7846:16;7943:4;7931:17;;7909:57;:::i;:::-;7982:20;;7538:470;-1:-1:-1;;;;7538:470:1:o;8910:488::-;-1:-1:-1;;;;;9179:15:1;;;9161:34;;9231:15;;9226:2;9211:18;;9204:43;9278:2;9263:18;;9256:34;;;9326:3;9321:2;9306:18;;9299:31;;;9104:4;;9347:45;;9372:19;;9364:6;9347:45;:::i;:::-;9339:53;8910:488;-1:-1:-1;;;;;;8910:488:1:o;9874:219::-;10023:2;10012:9;10005:21;9986:4;10043:44;10083:2;10072:9;10068:18;10060:6;10043:44;:::i;11279:415::-;11481:2;11463:21;;;11520:2;11500:18;;;11493:30;11559:34;11554:2;11539:18;;11532:62;-1:-1:-1;;;11625:2:1;11610:18;;11603:49;11684:3;11669:19;;11279:415::o;12111:414::-;12313:2;12295:21;;;12352:2;12332:18;;;12325:30;12391:34;12386:2;12371:18;;12364:62;-1:-1:-1;;;12457:2:1;12442:18;;12435:48;12515:3;12500:19;;12111:414::o;16056:409::-;16258:2;16240:21;;;16297:2;16277:18;;;16270:30;16336:34;16331:2;16316:18;;16309:62;-1:-1:-1;;;16402:2:1;16387:18;;16380:43;16455:3;16440:19;;16056:409::o;24490:410::-;24692:2;24674:21;;;24731:2;24711:18;;;24704:30;24770:34;24765:2;24750:18;;24743:62;-1:-1:-1;;;24836:2:1;24821:18;;24814:44;24890:3;24875:19;;24490:410::o;26483:275::-;26554:2;26548:9;26619:2;26600:13;;-1:-1:-1;;26596:27:1;26584:40;;26654:18;26639:34;;26675:22;;;26636:62;26633:88;;;26701:18;;:::i;:::-;26737:2;26730:22;26483:275;;-1:-1:-1;26483:275:1:o;26763:128::-;26803:3;26834:1;26830:6;26827:1;26824:13;26821:39;;;26840:18;;:::i;:::-;-1:-1:-1;26876:9:1;;26763:128::o;26896:120::-;26936:1;26962;26952:35;;26967:18;;:::i;:::-;-1:-1:-1;27001:9:1;;26896:120::o;27021:168::-;27061:7;27127:1;27123;27119:6;27115:14;27112:1;27109:21;27104:1;27097:9;27090:17;27086:45;27083:71;;;27134:18;;:::i;:::-;-1:-1:-1;27174:9:1;;27021:168::o;27194:125::-;27234:4;27262:1;27259;27256:8;27253:34;;;27267:18;;:::i;:::-;-1:-1:-1;27304:9:1;;27194:125::o;27324:258::-;27396:1;27406:113;27420:6;27417:1;27414:13;27406:113;;;27496:11;;;27490:18;27477:11;;;27470:39;27442:2;27435:10;27406:113;;;27537:6;27534:1;27531:13;27528:48;;;-1:-1:-1;;27572:1:1;27554:16;;27547:27;27324:258::o;27587:380::-;27666:1;27662:12;;;;27709;;;27730:61;;27784:4;27776:6;27772:17;27762:27;;27730:61;27837:2;27829:6;27826:14;27806:18;27803:38;27800:161;;;27883:10;27878:3;27874:20;27871:1;27864:31;27918:4;27915:1;27908:15;27946:4;27943:1;27936:15;27800:161;;27587:380;;;:::o;27972:135::-;28011:3;-1:-1:-1;;28032:17:1;;28029:43;;;28052:18;;:::i;:::-;-1:-1:-1;28099:1:1;28088:13;;27972:135::o;28112:112::-;28144:1;28170;28160:35;;28175:18;;:::i;:::-;-1:-1:-1;28209:9:1;;28112:112::o;28229:127::-;28290:10;28285:3;28281:20;28278:1;28271:31;28321:4;28318:1;28311:15;28345:4;28342:1;28335:15;28361:127;28422:10;28417:3;28413:20;28410:1;28403:31;28453:4;28450:1;28443:15;28477:4;28474:1;28467:15;28493:127;28554:10;28549:3;28545:20;28542:1;28535:31;28585:4;28582:1;28575:15;28609:4;28606:1;28599:15;28625:127;28686:10;28681:3;28677:20;28674:1;28667:31;28717:4;28714:1;28707:15;28741:4;28738:1;28731:15;28757:127;28818:10;28813:3;28809:20;28806:1;28799:31;28849:4;28846:1;28839:15;28873:4;28870:1;28863:15;28889:118;28975:5;28968:13;28961:21;28954:5;28951:32;28941:60;;28997:1;28994;28987:12;29012:131;-1:-1:-1;;;;;;29086:32:1;;29076:43;;29066:71;;29133:1;29130;29123:12

Swarm Source

ipfs://21ef44d2b6daf101943ab501e539c9abe381ed451ca78a5bf808e8f6b0dec01e
Loading