ETH Price: $2,922.26 (-9.83%)
Gas: 38 Gwei

Token

THE SECOND ASPECT OF THE NINE (ASPECT81)
 

Overview

Max Total Supply

81 ASPECT81

Holders

73

Total Transfers

-

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Loading...
Loading
Loading...
Loading
Loading...
Loading

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

Contract Source Code Verified (Exact Match)

Contract Name:
Aspect

Compiler Version
v0.8.4+commit.c7e474f2

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 19 : Aspect.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.4;

import '@openzeppelin/contracts/token/ERC721/ERC721.sol';
import '@openzeppelin/contracts/access/AccessControl.sol';
import '@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol';
import '@openzeppelin/contracts/token/ERC721/extensions/ERC721URIStorage.sol';
import '@openzeppelin/contracts/security/Pausable.sol';
import '@openzeppelin/contracts/access/Ownable.sol';
import '@openzeppelin/contracts/utils/Counters.sol';
import '@openzeppelin/contracts/utils/cryptography/ECDSA.sol';

contract Aspect is
    ERC721,
    ERC721Enumerable,
    ERC721URIStorage,
    Pausable,
    Ownable,
    AccessControl
{
    using Counters for Counters.Counter;

    Counters.Counter private _tokenIdCounter;

    mapping(address => uint256) public minted;
    uint256 public _mintPrice = 0.9 ether;
    string private _baseTokenURI;
    address payable public _drainAddress;
    uint256 public _mintLimit = 81;

    // Create a new role identifier for the admin role
    bytes32 public constant ADMIN_ROLE = keccak256('ADMIN_ROLE');

    // Error messages
    string private constant UNAUTHORIZED = 'Nada Bruh';
    string private constant LIMIT_EXCEEDED = 'Mint Less';
    string private constant WHITELIST_PAUSED = 'Need Wait';
    string private constant INSUFFICIENT_PRICE = 'Need More Money';

    uint256 public constant PER_WALLET_MINT = 1;

    constructor(
        string memory collectionName,
        string memory tokenName,
        string memory baseURI,
        uint256 mintLimit,
        address admin,
        address payable drainAddress
    ) ERC721(collectionName, tokenName) {
        _pause();
        _setupRole(ADMIN_ROLE, admin);

        _baseTokenURI = baseURI;
        _drainAddress = drainAddress;
        _mintLimit = mintLimit;
    }

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

    function pause() public {
        // Check that the calling account has the admin role
        require(hasRole(ADMIN_ROLE, msg.sender), 'Caller is not an admin');
        _pause();
    }

    function unpause() public {
        // Check that the calling account has the admin role
        require(hasRole(ADMIN_ROLE, msg.sender), 'Caller is not an admin');
        _unpause();
    }

    /**
     * Updates the mint price, only callable by admin role
     */
    function setPrice(uint256 price) public {
        // Check that the calling account has the admin role
        require(hasRole(ADMIN_ROLE, msg.sender), 'Caller is not an admin');
        _mintPrice = price;
    }

    /**
     * Returns the digest to be signed using `await web3.eth.sign(digest, signer);`.
     */
    function getWhitelistDigest(address minter) public pure returns (bytes32) {
        return keccak256(abi.encode(minter));
    }

    /**
     * Extracts the signer from a digest and the signature. Can be used
     * together with the `getWhitelistDigest()` method and `await web3.eth.sign()`.
     */
    function recoverSigner(bytes32 digest, bytes calldata _signature)
        public
        pure
        returns (address)
    {
        return ECDSA.recover(digest, _signature);
    }

    /**
     * Drains collected funds to the specified wallet
     */
    function drain() public payable {
        _drainAddress.transfer(address(this).balance);
    }

    /**
     * Allows the Admin to mint free gifts
     */
    function mintGift(address to) public {
        // Check that the calling account has the admin role
        require(hasRole(ADMIN_ROLE, msg.sender), 'Caller is not an admin');

        // Check that we have not minted the max already
        require(_tokenIdCounter.current() < _mintLimit, LIMIT_EXCEEDED);

        // Check that the destination wallet doesnt alreay have the max amount
        require(minted[to] <= PER_WALLET_MINT, LIMIT_EXCEEDED);

        // Check pause
        require(!paused(), WHITELIST_PAUSED);

        uint256 tokenId = _tokenIdCounter.current();
        _tokenIdCounter.increment();

        minted[to] += 1;
        _safeMint(to, tokenId);
    }

    /**
     * Allows a whitelisted mint
     */
    function mintWhitelist(bytes calldata _signature) public payable {
        require(_tokenIdCounter.current() < _mintLimit, LIMIT_EXCEEDED);
        require(msg.value == _mintPrice, INSUFFICIENT_PRICE);

        uint256 tokenId = _tokenIdCounter.current();
        _tokenIdCounter.increment();

        // check pause
        require(!paused(), WHITELIST_PAUSED);

        // check whitelist authorization first
        bytes32 authorizationDigest = getWhitelistDigest(msg.sender);
        bytes32 message = ECDSA.toEthSignedMessageHash(authorizationDigest);
        address authority = recoverSigner(message, _signature);
        require(authority == owner(), UNAUTHORIZED);

        // mint the NFTs
        minted[msg.sender] += 1;
        _safeMint(msg.sender, tokenId);

        // check supply
        require(totalSupply() <= _mintLimit, LIMIT_EXCEEDED);
        require(minted[msg.sender] <= PER_WALLET_MINT, LIMIT_EXCEEDED);
    }

    // The following functions are overrides required by Solidity.

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

    function _burn(uint256 tokenId)
        internal
        override(ERC721, ERC721URIStorage)
    {
        super._burn(tokenId);
    }

    function tokenURI(uint256 tokenId)
        public
        view
        override(ERC721, ERC721URIStorage)
        returns (string memory)
    {
        return super.tokenURI(tokenId);
    }

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

File 2 of 19 : ERC721.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.0) (token/ERC721/ERC721.sol)

pragma solidity ^0.8.0;

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

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

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

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

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

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

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

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

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

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

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

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

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

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

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

    /**
     * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each
     * token will be the concatenation of the `baseURI` and the `tokenId`. Empty
     * by default, can be 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 owner nor approved for all"
        );

        _approve(to, tokenId);
    }

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

        return _tokenApprovals[tokenId];
    }

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

        _transfer(from, to, tokenId);
    }

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

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

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

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

    /**
     * @dev Returns whether `spender` is allowed to manage `tokenId`.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) {
        require(_exists(tokenId), "ERC721: operator query for nonexistent token");
        address owner = ERC721.ownerOf(tokenId);
        return (spender == owner || 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 a {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 a {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 Internal function to invoke {IERC721Receiver-onERC721Received} on a target address.
     * The call is not executed if the target address is not a contract.
     *
     * @param from address representing the previous owner of the given token ID
     * @param to target address that will receive the tokens
     * @param tokenId uint256 ID of the token to be transferred
     * @param _data bytes optional data to send along with the call
     * @return bool whether the call correctly returned the expected magic value
     */
    function _checkOnERC721Received(
        address from,
        address to,
        uint256 tokenId,
        bytes memory _data
    ) private returns (bool) {
        if (to.isContract()) {
            try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, _data) returns (bytes4 retval) {
                return retval == IERC721Receiver.onERC721Received.selector;
            } catch (bytes memory reason) {
                if (reason.length == 0) {
                    revert("ERC721: transfer to non ERC721Receiver implementer");
                } else {
                    assembly {
                        revert(add(32, reason), mload(reason))
                    }
                }
            }
        } else {
            return true;
        }
    }

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

    /**
     * @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 3 of 19 : AccessControl.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.0) (access/AccessControl.sol)

pragma solidity ^0.8.0;

import "./IAccessControl.sol";
import "../utils/Context.sol";
import "../utils/Strings.sol";
import "../utils/introspection/ERC165.sol";

/**
 * @dev Contract module that allows children to implement role-based access
 * control mechanisms. This is a lightweight version that doesn't allow enumerating role
 * members except through off-chain means by accessing the contract event logs. Some
 * applications may benefit from on-chain enumerability, for those cases see
 * {AccessControlEnumerable}.
 *
 * Roles are referred to by their `bytes32` identifier. These should be exposed
 * in the external API and be unique. The best way to achieve this is by
 * using `public constant` hash digests:
 *
 * ```
 * bytes32 public constant MY_ROLE = keccak256("MY_ROLE");
 * ```
 *
 * Roles can be used to represent a set of permissions. To restrict access to a
 * function call, use {hasRole}:
 *
 * ```
 * function foo() public {
 *     require(hasRole(MY_ROLE, msg.sender));
 *     ...
 * }
 * ```
 *
 * Roles can be granted and revoked dynamically via the {grantRole} and
 * {revokeRole} functions. Each role has an associated admin role, and only
 * accounts that have a role's admin role can call {grantRole} and {revokeRole}.
 *
 * By default, the admin role for all roles is `DEFAULT_ADMIN_ROLE`, which means
 * that only accounts with this role will be able to grant or revoke other
 * roles. More complex role relationships can be created by using
 * {_setRoleAdmin}.
 *
 * WARNING: The `DEFAULT_ADMIN_ROLE` is also its own admin: it has permission to
 * grant and revoke this role. Extra precautions should be taken to secure
 * accounts that have been granted it.
 */
abstract contract AccessControl is Context, IAccessControl, ERC165 {
    struct RoleData {
        mapping(address => bool) members;
        bytes32 adminRole;
    }

    mapping(bytes32 => RoleData) private _roles;

    bytes32 public constant DEFAULT_ADMIN_ROLE = 0x00;

    /**
     * @dev Modifier that checks that an account has a specific role. Reverts
     * with a standardized message including the required role.
     *
     * The format of the revert reason is given by the following regular expression:
     *
     *  /^AccessControl: account (0x[0-9a-f]{40}) is missing role (0x[0-9a-f]{64})$/
     *
     * _Available since v4.1._
     */
    modifier onlyRole(bytes32 role) {
        _checkRole(role);
        _;
    }

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

    /**
     * @dev Returns `true` if `account` has been granted `role`.
     */
    function hasRole(bytes32 role, address account) public view virtual override returns (bool) {
        return _roles[role].members[account];
    }

    /**
     * @dev Revert with a standard message if `_msgSender()` is missing `role`.
     * Overriding this function changes the behavior of the {onlyRole} modifier.
     *
     * Format of the revert message is described in {_checkRole}.
     *
     * _Available since v4.6._
     */
    function _checkRole(bytes32 role) internal view virtual {
        _checkRole(role, _msgSender());
    }

    /**
     * @dev Revert with a standard message if `account` is missing `role`.
     *
     * The format of the revert reason is given by the following regular expression:
     *
     *  /^AccessControl: account (0x[0-9a-f]{40}) is missing role (0x[0-9a-f]{64})$/
     */
    function _checkRole(bytes32 role, address account) internal view virtual {
        if (!hasRole(role, account)) {
            revert(
                string(
                    abi.encodePacked(
                        "AccessControl: account ",
                        Strings.toHexString(uint160(account), 20),
                        " is missing role ",
                        Strings.toHexString(uint256(role), 32)
                    )
                )
            );
        }
    }

    /**
     * @dev Returns the admin role that controls `role`. See {grantRole} and
     * {revokeRole}.
     *
     * To change a role's admin, use {_setRoleAdmin}.
     */
    function getRoleAdmin(bytes32 role) public view virtual override returns (bytes32) {
        return _roles[role].adminRole;
    }

    /**
     * @dev Grants `role` to `account`.
     *
     * If `account` had not been already granted `role`, emits a {RoleGranted}
     * event.
     *
     * Requirements:
     *
     * - the caller must have ``role``'s admin role.
     */
    function grantRole(bytes32 role, address account) public virtual override onlyRole(getRoleAdmin(role)) {
        _grantRole(role, account);
    }

    /**
     * @dev Revokes `role` from `account`.
     *
     * If `account` had been granted `role`, emits a {RoleRevoked} event.
     *
     * Requirements:
     *
     * - the caller must have ``role``'s admin role.
     */
    function revokeRole(bytes32 role, address account) public virtual override onlyRole(getRoleAdmin(role)) {
        _revokeRole(role, account);
    }

    /**
     * @dev Revokes `role` from the calling account.
     *
     * Roles are often managed via {grantRole} and {revokeRole}: this function's
     * purpose is to provide a mechanism for accounts to lose their privileges
     * if they are compromised (such as when a trusted device is misplaced).
     *
     * If the calling account had been revoked `role`, emits a {RoleRevoked}
     * event.
     *
     * Requirements:
     *
     * - the caller must be `account`.
     */
    function renounceRole(bytes32 role, address account) public virtual override {
        require(account == _msgSender(), "AccessControl: can only renounce roles for self");

        _revokeRole(role, account);
    }

    /**
     * @dev Grants `role` to `account`.
     *
     * If `account` had not been already granted `role`, emits a {RoleGranted}
     * event. Note that unlike {grantRole}, this function doesn't perform any
     * checks on the calling account.
     *
     * [WARNING]
     * ====
     * This function should only be called from the constructor when setting
     * up the initial roles for the system.
     *
     * Using this function in any other way is effectively circumventing the admin
     * system imposed by {AccessControl}.
     * ====
     *
     * NOTE: This function is deprecated in favor of {_grantRole}.
     */
    function _setupRole(bytes32 role, address account) internal virtual {
        _grantRole(role, account);
    }

    /**
     * @dev Sets `adminRole` as ``role``'s admin role.
     *
     * Emits a {RoleAdminChanged} event.
     */
    function _setRoleAdmin(bytes32 role, bytes32 adminRole) internal virtual {
        bytes32 previousAdminRole = getRoleAdmin(role);
        _roles[role].adminRole = adminRole;
        emit RoleAdminChanged(role, previousAdminRole, adminRole);
    }

    /**
     * @dev Grants `role` to `account`.
     *
     * Internal function without access restriction.
     */
    function _grantRole(bytes32 role, address account) internal virtual {
        if (!hasRole(role, account)) {
            _roles[role].members[account] = true;
            emit RoleGranted(role, account, _msgSender());
        }
    }

    /**
     * @dev Revokes `role` from `account`.
     *
     * Internal function without access restriction.
     */
    function _revokeRole(bytes32 role, address account) internal virtual {
        if (hasRole(role, account)) {
            _roles[role].members[account] = false;
            emit RoleRevoked(role, account, _msgSender());
        }
    }
}

File 4 of 19 : ERC721Enumerable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/ERC721Enumerable.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

File 5 of 19 : ERC721URIStorage.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/ERC721URIStorage.sol)

pragma solidity ^0.8.0;

import "../ERC721.sol";

/**
 * @dev ERC721 token with storage based token URI management.
 */
abstract contract ERC721URIStorage is ERC721 {
    using Strings for uint256;

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

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

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

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

        return super.tokenURI(tokenId);
    }

    /**
     * @dev Sets `_tokenURI` as the tokenURI of `tokenId`.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function _setTokenURI(uint256 tokenId, string memory _tokenURI) internal virtual {
        require(_exists(tokenId), "ERC721URIStorage: URI set of nonexistent token");
        _tokenURIs[tokenId] = _tokenURI;
    }

    /**
     * @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 override {
        super._burn(tokenId);

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

File 6 of 19 : Pausable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (security/Pausable.sol)

pragma solidity ^0.8.0;

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

/**
 * @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 Returns true if the contract is paused, and false otherwise.
     */
    function paused() public view virtual returns (bool) {
        return _paused;
    }

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

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

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

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

File 7 of 19 : Ownable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (access/Ownable.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

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

    /**
     * @dev Leaves the contract without owner. It will not be possible to call
     * `onlyOwner` functions anymore. Can only be called by the current owner.
     *
     * NOTE: Renouncing ownership will leave the contract without an owner,
     * thereby removing any functionality that is only available to the owner.
     */
    function renounceOwnership() public virtual onlyOwner {
        _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 8 of 19 : Counters.sol
// SPDX-License-Identifier: MIT
// 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 9 of 19 : ECDSA.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (utils/cryptography/ECDSA.sol)

pragma solidity ^0.8.0;

import "../Strings.sol";

/**
 * @dev Elliptic Curve Digital Signature Algorithm (ECDSA) operations.
 *
 * These functions can be used to verify that a message was signed by the holder
 * of the private keys of a given address.
 */
library ECDSA {
    enum RecoverError {
        NoError,
        InvalidSignature,
        InvalidSignatureLength,
        InvalidSignatureS,
        InvalidSignatureV
    }

    function _throwError(RecoverError error) private pure {
        if (error == RecoverError.NoError) {
            return; // no error: do nothing
        } else if (error == RecoverError.InvalidSignature) {
            revert("ECDSA: invalid signature");
        } else if (error == RecoverError.InvalidSignatureLength) {
            revert("ECDSA: invalid signature length");
        } else if (error == RecoverError.InvalidSignatureS) {
            revert("ECDSA: invalid signature 's' value");
        } else if (error == RecoverError.InvalidSignatureV) {
            revert("ECDSA: invalid signature 'v' value");
        }
    }

    /**
     * @dev Returns the address that signed a hashed message (`hash`) with
     * `signature` or error string. This address can then be used for verification purposes.
     *
     * The `ecrecover` EVM opcode allows for malleable (non-unique) signatures:
     * this function rejects them by requiring the `s` value to be in the lower
     * half order, and the `v` value to be either 27 or 28.
     *
     * IMPORTANT: `hash` _must_ be the result of a hash operation for the
     * verification to be secure: it is possible to craft signatures that
     * recover to arbitrary addresses for non-hashed data. A safe way to ensure
     * this is by receiving a hash of the original message (which may otherwise
     * be too long), and then calling {toEthSignedMessageHash} on it.
     *
     * Documentation for signature generation:
     * - with https://web3js.readthedocs.io/en/v1.3.4/web3-eth-accounts.html#sign[Web3.js]
     * - with https://docs.ethers.io/v5/api/signer/#Signer-signMessage[ethers]
     *
     * _Available since v4.3._
     */
    function tryRecover(bytes32 hash, bytes memory signature) internal pure returns (address, RecoverError) {
        // Check the signature length
        // - case 65: r,s,v signature (standard)
        // - case 64: r,vs signature (cf https://eips.ethereum.org/EIPS/eip-2098) _Available since v4.1._
        if (signature.length == 65) {
            bytes32 r;
            bytes32 s;
            uint8 v;
            // ecrecover takes the signature parameters, and the only way to get them
            // currently is to use assembly.
            assembly {
                r := mload(add(signature, 0x20))
                s := mload(add(signature, 0x40))
                v := byte(0, mload(add(signature, 0x60)))
            }
            return tryRecover(hash, v, r, s);
        } else if (signature.length == 64) {
            bytes32 r;
            bytes32 vs;
            // ecrecover takes the signature parameters, and the only way to get them
            // currently is to use assembly.
            assembly {
                r := mload(add(signature, 0x20))
                vs := mload(add(signature, 0x40))
            }
            return tryRecover(hash, r, vs);
        } else {
            return (address(0), RecoverError.InvalidSignatureLength);
        }
    }

    /**
     * @dev Returns the address that signed a hashed message (`hash`) with
     * `signature`. This address can then be used for verification purposes.
     *
     * The `ecrecover` EVM opcode allows for malleable (non-unique) signatures:
     * this function rejects them by requiring the `s` value to be in the lower
     * half order, and the `v` value to be either 27 or 28.
     *
     * IMPORTANT: `hash` _must_ be the result of a hash operation for the
     * verification to be secure: it is possible to craft signatures that
     * recover to arbitrary addresses for non-hashed data. A safe way to ensure
     * this is by receiving a hash of the original message (which may otherwise
     * be too long), and then calling {toEthSignedMessageHash} on it.
     */
    function recover(bytes32 hash, bytes memory signature) internal pure returns (address) {
        (address recovered, RecoverError error) = tryRecover(hash, signature);
        _throwError(error);
        return recovered;
    }

    /**
     * @dev Overload of {ECDSA-tryRecover} that receives the `r` and `vs` short-signature fields separately.
     *
     * See https://eips.ethereum.org/EIPS/eip-2098[EIP-2098 short signatures]
     *
     * _Available since v4.3._
     */
    function tryRecover(
        bytes32 hash,
        bytes32 r,
        bytes32 vs
    ) internal pure returns (address, RecoverError) {
        bytes32 s = vs & bytes32(0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff);
        uint8 v = uint8((uint256(vs) >> 255) + 27);
        return tryRecover(hash, v, r, s);
    }

    /**
     * @dev Overload of {ECDSA-recover} that receives the `r and `vs` short-signature fields separately.
     *
     * _Available since v4.2._
     */
    function recover(
        bytes32 hash,
        bytes32 r,
        bytes32 vs
    ) internal pure returns (address) {
        (address recovered, RecoverError error) = tryRecover(hash, r, vs);
        _throwError(error);
        return recovered;
    }

    /**
     * @dev Overload of {ECDSA-tryRecover} that receives the `v`,
     * `r` and `s` signature fields separately.
     *
     * _Available since v4.3._
     */
    function tryRecover(
        bytes32 hash,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) internal pure returns (address, RecoverError) {
        // EIP-2 still allows signature malleability for ecrecover(). Remove this possibility and make the signature
        // unique. Appendix F in the Ethereum Yellow paper (https://ethereum.github.io/yellowpaper/paper.pdf), defines
        // the valid range for s in (301): 0 < s < secp256k1n ÷ 2 + 1, and for v in (302): v ∈ {27, 28}. Most
        // signatures from current libraries generate a unique signature with an s-value in the lower half order.
        //
        // If your library generates malleable signatures, such as s-values in the upper range, calculate a new s-value
        // with 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEBAAEDCE6AF48A03BBFD25E8CD0364141 - s1 and flip v from 27 to 28 or
        // vice versa. If your library also generates signatures with 0/1 for v instead 27/28, add 27 to v to accept
        // these malleable signatures as well.
        if (uint256(s) > 0x7FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF5D576E7357A4501DDFE92F46681B20A0) {
            return (address(0), RecoverError.InvalidSignatureS);
        }
        if (v != 27 && v != 28) {
            return (address(0), RecoverError.InvalidSignatureV);
        }

        // If the signature is valid (and not malleable), return the signer address
        address signer = ecrecover(hash, v, r, s);
        if (signer == address(0)) {
            return (address(0), RecoverError.InvalidSignature);
        }

        return (signer, RecoverError.NoError);
    }

    /**
     * @dev Overload of {ECDSA-recover} that receives the `v`,
     * `r` and `s` signature fields separately.
     */
    function recover(
        bytes32 hash,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) internal pure returns (address) {
        (address recovered, RecoverError error) = tryRecover(hash, v, r, s);
        _throwError(error);
        return recovered;
    }

    /**
     * @dev Returns an Ethereum Signed Message, created from a `hash`. This
     * produces hash corresponding to the one signed with the
     * https://eth.wiki/json-rpc/API#eth_sign[`eth_sign`]
     * JSON-RPC method as part of EIP-191.
     *
     * See {recover}.
     */
    function toEthSignedMessageHash(bytes32 hash) internal pure returns (bytes32) {
        // 32 is the length in bytes of hash,
        // enforced by the type signature above
        return keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n32", hash));
    }

    /**
     * @dev Returns an Ethereum Signed Message, created from `s`. This
     * produces hash corresponding to the one signed with the
     * https://eth.wiki/json-rpc/API#eth_sign[`eth_sign`]
     * JSON-RPC method as part of EIP-191.
     *
     * See {recover}.
     */
    function toEthSignedMessageHash(bytes memory s) internal pure returns (bytes32) {
        return keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n", Strings.toString(s.length), s));
    }

    /**
     * @dev Returns an Ethereum Signed Typed Data, created from a
     * `domainSeparator` and a `structHash`. This produces hash corresponding
     * to the one signed with the
     * https://eips.ethereum.org/EIPS/eip-712[`eth_signTypedData`]
     * JSON-RPC method as part of EIP-712.
     *
     * See {recover}.
     */
    function toTypedDataHash(bytes32 domainSeparator, bytes32 structHash) internal pure returns (bytes32) {
        return keccak256(abi.encodePacked("\x19\x01", domainSeparator, structHash));
    }
}

File 10 of 19 : IERC721.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.0) (token/ERC721/IERC721.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

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

    /**
     * @dev Safely transfers `tokenId` token from `from` to `to`.
     *
     * 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 be have been allowed to move this token by either {approve} or {setApprovalForAll}.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId
    ) external;

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

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

    /**
     * @dev 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 11 of 19 : IERC721Receiver.sol
// SPDX-License-Identifier: MIT
// 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 12 of 19 : IERC721Metadata.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Metadata.sol)

pragma solidity ^0.8.0;

import "../IERC721.sol";

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

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

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

File 13 of 19 : Address.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.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

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

File 14 of 19 : Context.sol
// SPDX-License-Identifier: MIT
// 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 15 of 19 : Strings.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Strings.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

File 16 of 19 : ERC165.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol)

pragma solidity ^0.8.0;

import "./IERC165.sol";

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

File 17 of 19 : IERC165.sol
// SPDX-License-Identifier: MIT
// 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 18 of 19 : IAccessControl.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (access/IAccessControl.sol)

pragma solidity ^0.8.0;

/**
 * @dev External interface of AccessControl declared to support ERC165 detection.
 */
interface IAccessControl {
    /**
     * @dev Emitted when `newAdminRole` is set as ``role``'s admin role, replacing `previousAdminRole`
     *
     * `DEFAULT_ADMIN_ROLE` is the starting admin for all roles, despite
     * {RoleAdminChanged} not being emitted signaling this.
     *
     * _Available since v3.1._
     */
    event RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole);

    /**
     * @dev Emitted when `account` is granted `role`.
     *
     * `sender` is the account that originated the contract call, an admin role
     * bearer except when using {AccessControl-_setupRole}.
     */
    event RoleGranted(bytes32 indexed role, address indexed account, address indexed sender);

    /**
     * @dev Emitted when `account` is revoked `role`.
     *
     * `sender` is the account that originated the contract call:
     *   - if using `revokeRole`, it is the admin role bearer
     *   - if using `renounceRole`, it is the role bearer (i.e. `account`)
     */
    event RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender);

    /**
     * @dev Returns `true` if `account` has been granted `role`.
     */
    function hasRole(bytes32 role, address account) external view returns (bool);

    /**
     * @dev Returns the admin role that controls `role`. See {grantRole} and
     * {revokeRole}.
     *
     * To change a role's admin, use {AccessControl-_setRoleAdmin}.
     */
    function getRoleAdmin(bytes32 role) external view returns (bytes32);

    /**
     * @dev Grants `role` to `account`.
     *
     * If `account` had not been already granted `role`, emits a {RoleGranted}
     * event.
     *
     * Requirements:
     *
     * - the caller must have ``role``'s admin role.
     */
    function grantRole(bytes32 role, address account) external;

    /**
     * @dev Revokes `role` from `account`.
     *
     * If `account` had been granted `role`, emits a {RoleRevoked} event.
     *
     * Requirements:
     *
     * - the caller must have ``role``'s admin role.
     */
    function revokeRole(bytes32 role, address account) external;

    /**
     * @dev Revokes `role` from the calling account.
     *
     * Roles are often managed via {grantRole} and {revokeRole}: this function's
     * purpose is to provide a mechanism for accounts to lose their privileges
     * if they are compromised (such as when a trusted device is misplaced).
     *
     * If the calling account had been granted `role`, emits a {RoleRevoked}
     * event.
     *
     * Requirements:
     *
     * - the caller must be `account`.
     */
    function renounceRole(bytes32 role, address account) external;
}

File 19 of 19 : IERC721Enumerable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (token/ERC721/extensions/IERC721Enumerable.sol)

pragma solidity ^0.8.0;

import "../IERC721.sol";

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

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

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

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string","name":"collectionName","type":"string"},{"internalType":"string","name":"tokenName","type":"string"},{"internalType":"string","name":"baseURI","type":"string"},{"internalType":"uint256","name":"mintLimit","type":"uint256"},{"internalType":"address","name":"admin","type":"address"},{"internalType":"address payable","name":"drainAddress","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Paused","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"previousAdminRole","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"newAdminRole","type":"bytes32"}],"name":"RoleAdminChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleGranted","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleRevoked","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Unpaused","type":"event"},{"inputs":[],"name":"ADMIN_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"DEFAULT_ADMIN_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PER_WALLET_MINT","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_drainAddress","outputs":[{"internalType":"address payable","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_mintLimit","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_mintPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"drain","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"}],"name":"getRoleAdmin","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"minter","type":"address"}],"name":"getWhitelistDigest","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"grantRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"hasRole","outputs":[{"internalType":"bool","name":"","type":"bool"}],"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":"address","name":"to","type":"address"}],"name":"mintGift","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes","name":"_signature","type":"bytes"}],"name":"mintWhitelist","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"minted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"digest","type":"bytes32"},{"internalType":"bytes","name":"_signature","type":"bytes"}],"name":"recoverSigner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"pure","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"renounceRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"revokeRole","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":"uint256","name":"price","type":"uint256"}],"name":"setPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"unpause","outputs":[],"stateMutability":"nonpayable","type":"function"}]

6080604052670c7d713b49da0000600f5560516012553480156200002257600080fd5b506040516200652f3803806200652f8339818101604052810190620000489190620005df565b858581600090805190602001906200006292919062000478565b5080600190805190602001906200007b92919062000478565b5050506000600b60006101000a81548160ff021916908315150217905550620000b9620000ad6200016860201b60201c565b6200017060201b60201c565b620000c96200023660201b60201c565b620000fb7fa49807205ce4d355092ef5a8a18f56e8913cf4a201fbe287825b095693c2177583620002ee60201b60201c565b83601090805190602001906200011392919062000478565b5080601160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508260128190555050505050505062000981565b600033905090565b6000600b60019054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600b60016101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b620002466200030460201b60201c565b1562000289576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620002809062000715565b60405180910390fd5b6001600b60006101000a81548160ff0219169083151502179055507f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258620002d56200016860201b60201c565b604051620002e49190620006f8565b60405180910390a1565b6200030082826200031b60201b60201c565b5050565b6000600b60009054906101000a900460ff16905090565b6200032d82826200040d60201b60201c565b62000409576001600c600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550620003ae6200016860201b60201c565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45b5050565b6000600c600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b82805462000486906200082f565b90600052602060002090601f016020900481019282620004aa5760008555620004f6565b82601f10620004c557805160ff1916838001178555620004f6565b82800160010185558215620004f6579182015b82811115620004f5578251825591602001919060010190620004d8565b5b50905062000505919062000509565b5090565b5b80821115620005245760008160009055506001016200050a565b5090565b60006200053f620005398462000760565b62000737565b9050828152602081018484840111156200055857600080fd5b62000565848285620007f9565b509392505050565b6000815190506200057e8162000933565b92915050565b60008151905062000595816200094d565b92915050565b600082601f830112620005ad57600080fd5b8151620005bf84826020860162000528565b91505092915050565b600081519050620005d98162000967565b92915050565b60008060008060008060c08789031215620005f957600080fd5b600087015167ffffffffffffffff8111156200061457600080fd5b6200062289828a016200059b565b965050602087015167ffffffffffffffff8111156200064057600080fd5b6200064e89828a016200059b565b955050604087015167ffffffffffffffff8111156200066c57600080fd5b6200067a89828a016200059b565b94505060606200068d89828a01620005c8565b9350506080620006a089828a016200056d565b92505060a0620006b389828a0162000584565b9150509295509295509295565b620006cb81620007a7565b82525050565b6000620006e060108362000796565b9150620006ed826200090a565b602082019050919050565b60006020820190506200070f6000830184620006c0565b92915050565b600060208201905081810360008301526200073081620006d1565b9050919050565b60006200074362000756565b905062000751828262000865565b919050565b6000604051905090565b600067ffffffffffffffff8211156200077e576200077d620008ca565b5b6200078982620008f9565b9050602081019050919050565b600082825260208201905092915050565b6000620007b482620007cf565b9050919050565b6000620007c882620007cf565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b60005b8381101562000819578082015181840152602081019050620007fc565b8381111562000829576000848401525b50505050565b600060028204905060018216806200084857607f821691505b602082108114156200085f576200085e6200089b565b5b50919050565b6200087082620008f9565b810181811067ffffffffffffffff82111715620008925762000891620008ca565b5b80604052505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b7f5061757361626c653a2070617573656400000000000000000000000000000000600082015250565b6200093e81620007a7565b81146200094a57600080fd5b50565b6200095881620007bb565b81146200096457600080fd5b50565b6200097281620007ef565b81146200097e57600080fd5b50565b615b9e80620009916000396000f3fe60806040526004361061023b5760003560e01c8063715018a61161012e578063a22cb465116100ab578063c87b56dd1161006f578063c87b56dd14610869578063d547741f146108a6578063e985e9c5146108cf578063f1cf64091461090c578063f2fde38b146109375761023b565b8063a22cb46514610795578063af1e86c7146107be578063b712f5fa146107da578063b88d4fde14610803578063c2e2f7851461082c5761023b565b806391d14854116100f257806391d14854146106bb57806395d89b41146106f857806397aba7f9146107235780639890220b14610760578063a217fddf1461076a5761023b565b8063715018a61461060e57806375b238fc146106255780638456cb59146106505780638da5cb5b1461066757806391b7f5ed146106925761023b565b8063248a9ca3116101bc57806342842e0e1161018057806342842e0e146105035780634f6ccce71461052c5780635c975abb146105695780636352211e1461059457806370a08231146105d15761023b565b8063248a9ca3146104205780632f2ff15d1461045d5780632f745c591461048657806336568abe146104c35780633f4ba83a146104ec5761023b565b80630c5776de116102035780630c5776de1461033957806318160ddd146103645780631e7269c51461038f5780631fb869fc146103cc57806323b872dd146103f75761023b565b806301ffc9a7146102405780630387da421461027d57806306fdde03146102a8578063081812fc146102d3578063095ea7b314610310575b600080fd5b34801561024c57600080fd5b5061026760048036038101906102629190614398565b610960565b6040516102749190614aaf565b60405180910390f35b34801561028957600080fd5b50610292610972565b60405161029f9190614ecc565b60405180910390f35b3480156102b457600080fd5b506102bd610978565b6040516102ca9190614b2a565b60405180910390f35b3480156102df57600080fd5b506102fa60048036038101906102f5919061442f565b610a0a565b6040516103079190614a2d565b60405180910390f35b34801561031c57600080fd5b506103376004803603810190610332919061429f565b610a8f565b005b34801561034557600080fd5b5061034e610ba7565b60405161035b9190614ecc565b60405180910390f35b34801561037057600080fd5b50610379610bac565b6040516103869190614ecc565b60405180910390f35b34801561039b57600080fd5b506103b660048036038101906103b19190614134565b610bb9565b6040516103c39190614ecc565b60405180910390f35b3480156103d857600080fd5b506103e1610bd1565b6040516103ee9190614a48565b60405180910390f35b34801561040357600080fd5b5061041e60048036038101906104199190614199565b610bf7565b005b34801561042c57600080fd5b50610447600480360381019061044291906142db565b610c57565b6040516104549190614aca565b60405180910390f35b34801561046957600080fd5b50610484600480360381019061047f9190614304565b610c77565b005b34801561049257600080fd5b506104ad60048036038101906104a8919061429f565b610c98565b6040516104ba9190614ecc565b60405180910390f35b3480156104cf57600080fd5b506104ea60048036038101906104e59190614304565b610d3d565b005b3480156104f857600080fd5b50610501610dc0565b005b34801561050f57600080fd5b5061052a60048036038101906105259190614199565b610e33565b005b34801561053857600080fd5b50610553600480360381019061054e919061442f565b610e53565b6040516105609190614ecc565b60405180910390f35b34801561057557600080fd5b5061057e610eea565b60405161058b9190614aaf565b60405180910390f35b3480156105a057600080fd5b506105bb60048036038101906105b6919061442f565b610f01565b6040516105c89190614a2d565b60405180910390f35b3480156105dd57600080fd5b506105f860048036038101906105f39190614134565b610fb3565b6040516106059190614ecc565b60405180910390f35b34801561061a57600080fd5b5061062361106b565b005b34801561063157600080fd5b5061063a6110f3565b6040516106479190614aca565b60405180910390f35b34801561065c57600080fd5b50610665611117565b005b34801561067357600080fd5b5061067c61118a565b6040516106899190614a2d565b60405180910390f35b34801561069e57600080fd5b506106b960048036038101906106b4919061442f565b6111b4565b005b3480156106c757600080fd5b506106e260048036038101906106dd9190614304565b611227565b6040516106ef9190614aaf565b60405180910390f35b34801561070457600080fd5b5061070d611292565b60405161071a9190614b2a565b60405180910390f35b34801561072f57600080fd5b5061074a60048036038101906107459190614340565b611324565b6040516107579190614a2d565b60405180910390f35b61076861137d565b005b34801561077657600080fd5b5061077f6113e8565b60405161078c9190614aca565b60405180910390f35b3480156107a157600080fd5b506107bc60048036038101906107b79190614263565b6113ef565b005b6107d860048036038101906107d391906143ea565b611405565b005b3480156107e657600080fd5b5061080160048036038101906107fc9190614134565b611822565b005b34801561080f57600080fd5b5061082a600480360381019061082591906141e8565b611acb565b005b34801561083857600080fd5b50610853600480360381019061084e9190614134565b611b2d565b6040516108609190614aca565b60405180910390f35b34801561087557600080fd5b50610890600480360381019061088b919061442f565b611b5d565b60405161089d9190614b2a565b60405180910390f35b3480156108b257600080fd5b506108cd60048036038101906108c89190614304565b611b6f565b005b3480156108db57600080fd5b506108f660048036038101906108f1919061415d565b611b90565b6040516109039190614aaf565b60405180910390f35b34801561091857600080fd5b50610921611c24565b60405161092e9190614ecc565b60405180910390f35b34801561094357600080fd5b5061095e60048036038101906109599190614134565b611c2a565b005b600061096b82611d22565b9050919050565b600f5481565b6060600080546109879061519e565b80601f01602080910402602001604051908101604052809291908181526020018280546109b39061519e565b8015610a005780601f106109d557610100808354040283529160200191610a00565b820191906000526020600020905b8154815290600101906020018083116109e357829003601f168201915b5050505050905090565b6000610a1582611d9c565b610a54576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a4b90614dcc565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610a9a82610f01565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610b0b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b0290614e2c565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610b2a611e08565b73ffffffffffffffffffffffffffffffffffffffff161480610b595750610b5881610b53611e08565b611b90565b5b610b98576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b8f90614d0c565b60405180910390fd5b610ba28383611e10565b505050565b600181565b6000600880549050905090565b600e6020528060005260406000206000915090505481565b601160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b610c08610c02611e08565b82611ec9565b610c47576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c3e90614e6c565b60405180910390fd5b610c52838383611fa7565b505050565b6000600c6000838152602001908152602001600020600101549050919050565b610c8082610c57565b610c898161220e565b610c938383612222565b505050565b6000610ca383610fb3565b8210610ce4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cdb90614bcc565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b610d45611e08565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610db2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610da990614eac565b60405180910390fd5b610dbc8282612303565b5050565b610dea7fa49807205ce4d355092ef5a8a18f56e8913cf4a201fbe287825b095693c2177533611227565b610e29576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e2090614e4c565b60405180910390fd5b610e316123e5565b565b610e4e83838360405180602001604052806000815250611acb565b505050565b6000610e5d610bac565b8210610e9e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e9590614e8c565b60405180910390fd5b60088281548110610ed8577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002001549050919050565b6000600b60009054906101000a900460ff16905090565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610faa576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fa190614d4c565b60405180910390fd5b80915050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611024576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161101b90614d2c565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b611073611e08565b73ffffffffffffffffffffffffffffffffffffffff1661109161118a565b73ffffffffffffffffffffffffffffffffffffffff16146110e7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110de90614dec565b60405180910390fd5b6110f16000612487565b565b7fa49807205ce4d355092ef5a8a18f56e8913cf4a201fbe287825b095693c2177581565b6111417fa49807205ce4d355092ef5a8a18f56e8913cf4a201fbe287825b095693c2177533611227565b611180576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161117790614e4c565b60405180910390fd5b61118861254d565b565b6000600b60019054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6111de7fa49807205ce4d355092ef5a8a18f56e8913cf4a201fbe287825b095693c2177533611227565b61121d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161121490614e4c565b60405180910390fd5b80600f8190555050565b6000600c600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6060600180546112a19061519e565b80601f01602080910402602001604051908101604052809291908181526020018280546112cd9061519e565b801561131a5780601f106112ef5761010080835404028352916020019161131a565b820191906000526020600020905b8154815290600101906020018083116112fd57829003601f168201915b5050505050905090565b60006113748484848080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f820116905080830192505050505050506125f0565b90509392505050565b601160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc479081150290604051600060405180830381858888f193505050501580156113e5573d6000803e3d6000fd5b50565b6000801b81565b6114016113fa611e08565b8383612617565b5050565b601254611412600d612784565b106040518060400160405280600981526020017f4d696e74204c65737300000000000000000000000000000000000000000000008152509061148a576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114819190614b2a565b60405180910390fd5b50600f5434146040518060400160405280600f81526020017f4e656564204d6f7265204d6f6e6579000000000000000000000000000000000081525090611507576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114fe9190614b2a565b60405180910390fd5b506000611514600d612784565b9050611520600d612792565b611528610eea565b156040518060400160405280600981526020017f4e65656420576169740000000000000000000000000000000000000000000000815250906115a0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115979190614b2a565b60405180910390fd5b5060006115ac33611b2d565b905060006115b9826127a8565b905060006115c8828787611324565b90506115d261118a565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16146040518060400160405280600981526020017f4e6164612042727568000000000000000000000000000000000000000000000081525090611677576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161166e9190614b2a565b60405180910390fd5b506001600e60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546116c89190614f80565b925050819055506116d933856127d8565b6012546116e4610bac565b11156040518060400160405280600981526020017f4d696e74204c65737300000000000000000000000000000000000000000000008152509061175d576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117549190614b2a565b60405180910390fd5b506001600e60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205411156040518060400160405280600981526020017f4d696e74204c657373000000000000000000000000000000000000000000000081525090611819576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118109190614b2a565b60405180910390fd5b50505050505050565b61184c7fa49807205ce4d355092ef5a8a18f56e8913cf4a201fbe287825b095693c2177533611227565b61188b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161188290614e4c565b60405180910390fd5b601254611898600d612784565b106040518060400160405280600981526020017f4d696e74204c657373000000000000000000000000000000000000000000000081525090611910576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119079190614b2a565b60405180910390fd5b506001600e60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205411156040518060400160405280600981526020017f4d696e74204c6573730000000000000000000000000000000000000000000000815250906119cc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119c39190614b2a565b60405180910390fd5b506119d5610eea565b156040518060400160405280600981526020017f4e6565642057616974000000000000000000000000000000000000000000000081525090611a4d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a449190614b2a565b60405180910390fd5b506000611a5a600d612784565b9050611a66600d612792565b6001600e60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611ab69190614f80565b92505081905550611ac782826127d8565b5050565b611adc611ad6611e08565b83611ec9565b611b1b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b1290614e6c565b60405180910390fd5b611b27848484846127f6565b50505050565b600081604051602001611b409190614a2d565b604051602081830303815290604052805190602001209050919050565b6060611b6882612852565b9050919050565b611b7882610c57565b611b818161220e565b611b8b8383612303565b505050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b60125481565b611c32611e08565b73ffffffffffffffffffffffffffffffffffffffff16611c5061118a565b73ffffffffffffffffffffffffffffffffffffffff1614611ca6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c9d90614dec565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611d16576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d0d90614c0c565b60405180910390fd5b611d1f81612487565b50565b60007f7965db0b000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480611d955750611d94826129a4565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16611e8383610f01565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000611ed482611d9c565b611f13576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f0a90614ccc565b60405180910390fd5b6000611f1e83610f01565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480611f605750611f5f8185611b90565b5b80611f9e57508373ffffffffffffffffffffffffffffffffffffffff16611f8684610a0a565b73ffffffffffffffffffffffffffffffffffffffff16145b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16611fc782610f01565b73ffffffffffffffffffffffffffffffffffffffff161461201d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161201490614c2c565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561208d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161208490614c6c565b60405180910390fd5b612098838383612a1e565b6120a3600082611e10565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546120f39190615061565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461214a9190614f80565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4612209838383612a76565b505050565b61221f8161221a611e08565b612a7b565b50565b61222c8282611227565b6122ff576001600c600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055506122a4611e08565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45b5050565b61230d8282611227565b156123e1576000600c600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550612386611e08565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b60405160405180910390a45b5050565b6123ed610eea565b61242c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161242390614b8c565b60405180910390fd5b6000600b60006101000a81548160ff0219169083151502179055507f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa612470611e08565b60405161247d9190614a2d565b60405180910390a1565b6000600b60019054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600b60016101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b612555610eea565b15612595576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161258c90614cec565b60405180910390fd5b6001600b60006101000a81548160ff0219169083151502179055507f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a2586125d9611e08565b6040516125e69190614a2d565b60405180910390a1565b60008060006125ff8585612b18565b9150915061260c81612b9b565b819250505092915050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612686576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161267d90614c8c565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516127779190614aaf565b60405180910390a3505050565b600081600001549050919050565b6001816000016000828254019250508190555050565b6000816040516020016127bb91906149cd565b604051602081830303815290604052805190602001209050919050565b6127f2828260405180602001604052806000815250612eec565b5050565b612801848484611fa7565b61280d84848484612f47565b61284c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161284390614bec565b60405180910390fd5b50505050565b606061285d82611d9c565b61289c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161289390614dac565b60405180910390fd5b6000600a600084815260200190815260200160002080546128bc9061519e565b80601f01602080910402602001604051908101604052809291908181526020018280546128e89061519e565b80156129355780601f1061290a57610100808354040283529160200191612935565b820191906000526020600020905b81548152906001019060200180831161291857829003601f168201915b5050505050905060006129466130de565b905060008151141561295c57819250505061299f565b6000825111156129915780826040516020016129799291906149a9565b6040516020818303038152906040529250505061299f565b61299a84613170565b925050505b919050565b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480612a175750612a1682613217565b5b9050919050565b612a26610eea565b15612a66576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a5d90614cec565b60405180910390fd5b612a718383836132f9565b505050565b505050565b612a858282611227565b612b1457612aaa8173ffffffffffffffffffffffffffffffffffffffff16601461340d565b612ab88360001c602061340d565b604051602001612ac99291906149f3565b6040516020818303038152906040526040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b0b9190614b2a565b60405180910390fd5b5050565b600080604183511415612b5a5760008060006020860151925060408601519150606086015160001a9050612b4e87828585613707565b94509450505050612b94565b604083511415612b8b576000806020850151915060408501519050612b80868383613814565b935093505050612b94565b60006002915091505b9250929050565b60006004811115612bd5577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b816004811115612c0e577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b1415612c1957612ee9565b60016004811115612c53577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b816004811115612c8c577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b1415612ccd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612cc490614b4c565b60405180910390fd5b60026004811115612d07577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b816004811115612d40577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b1415612d81576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d7890614bac565b60405180910390fd5b60036004811115612dbb577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b816004811115612df4577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b1415612e35576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612e2c90614cac565b60405180910390fd5b600480811115612e6e577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b816004811115612ea7577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b1415612ee8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612edf90614d6c565b60405180910390fd5b5b50565b612ef68383613873565b612f036000848484612f47565b612f42576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612f3990614bec565b60405180910390fd5b505050565b6000612f688473ffffffffffffffffffffffffffffffffffffffff16613a4d565b156130d1578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612f91611e08565b8786866040518563ffffffff1660e01b8152600401612fb39493929190614a63565b602060405180830381600087803b158015612fcd57600080fd5b505af1925050508015612ffe57506040513d601f19601f82011682018060405250810190612ffb91906143c1565b60015b613081573d806000811461302e576040519150601f19603f3d011682016040523d82523d6000602084013e613033565b606091505b50600081511415613079576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161307090614bec565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149150506130d6565b600190505b949350505050565b6060601080546130ed9061519e565b80601f01602080910402602001604051908101604052809291908181526020018280546131199061519e565b80156131665780601f1061313b57610100808354040283529160200191613166565b820191906000526020600020905b81548152906001019060200180831161314957829003601f168201915b5050505050905090565b606061317b82611d9c565b6131ba576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016131b190614e0c565b60405180910390fd5b60006131c46130de565b905060008151116131e4576040518060200160405280600081525061320f565b806131ee84613a70565b6040516020016131ff9291906149a9565b6040516020818303038152906040525b915050919050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806132e257507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806132f257506132f182613c1d565b5b9050919050565b613304838383613c87565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156133475761334281613c8c565b613386565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614613385576133848382613cd5565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156133c9576133c481613e42565b613408565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614613407576134068282613f85565b5b5b505050565b6060600060028360026134209190615007565b61342a9190614f80565b67ffffffffffffffff811115613469577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f19166020018201604052801561349b5781602001600182028036833780820191505090505b5090507f3000000000000000000000000000000000000000000000000000000000000000816000815181106134f9577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053507f780000000000000000000000000000000000000000000000000000000000000081600181518110613583577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600060018460026135c39190615007565b6135cd9190614f80565b90505b60018111156136b9577f3031323334353637383961626364656600000000000000000000000000000000600f861660108110613635577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b1a60f81b828281518110613672577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600485901c9450806136b290615174565b90506135d0565b50600084146136fd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016136f490614b6c565b60405180910390fd5b8091505092915050565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a08360001c111561374257600060039150915061380b565b601b8560ff161415801561375a5750601c8560ff1614155b1561376c57600060049150915061380b565b6000600187878787604051600081526020016040526040516137919493929190614ae5565b6020604051602081039080840390855afa1580156137b3573d6000803e3d6000fd5b505050602060405103519050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156138025760006001925092505061380b565b80600092509250505b94509492505050565b60008060007f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff60001b841690506000601b60ff8660001c901c6138579190614f80565b905061386587828885613707565b935093505050935093915050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156138e3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016138da90614d8c565b60405180910390fd5b6138ec81611d9c565b1561392c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161392390614c4c565b60405180910390fd5b61393860008383612a1e565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546139889190614f80565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4613a4960008383612a76565b5050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b60606000821415613ab8576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050613c18565b600082905060005b60008214613aea578080613ad390615201565b915050600a82613ae39190614fd6565b9150613ac0565b60008167ffffffffffffffff811115613b2c577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015613b5e5781602001600182028036833780820191505090505b5090505b60008514613c1157600182613b779190615061565b9150600a85613b869190615254565b6030613b929190614f80565b60f81b818381518110613bce577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85613c0a9190614fd6565b9450613b62565b8093505050505b919050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b60006001613ce284610fb3565b613cec9190615061565b9050600060076000848152602001908152602001600020549050818114613dd1576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b60006001600880549050613e569190615061565b9050600060096000848152602001908152602001600020549050600060088381548110613eac577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b906000526020600020015490508060088381548110613ef4577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b906000526020600020018190555081600960008381526020019081526020016000208190555060096000858152602001908152602001600020600090556008805480613f69577f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b6001900381819060005260206000200160009055905550505050565b6000613f9083610fb3565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b600061401761401284614f0c565b614ee7565b90508281526020810184848401111561402f57600080fd5b61403a848285615132565b509392505050565b60008135905061405181615af5565b92915050565b60008135905061406681615b0c565b92915050565b60008135905061407b81615b23565b92915050565b60008135905061409081615b3a565b92915050565b6000815190506140a581615b3a565b92915050565b60008083601f8401126140bd57600080fd5b8235905067ffffffffffffffff8111156140d657600080fd5b6020830191508360018202830111156140ee57600080fd5b9250929050565b600082601f83011261410657600080fd5b8135614116848260208601614004565b91505092915050565b60008135905061412e81615b51565b92915050565b60006020828403121561414657600080fd5b600061415484828501614042565b91505092915050565b6000806040838503121561417057600080fd5b600061417e85828601614042565b925050602061418f85828601614042565b9150509250929050565b6000806000606084860312156141ae57600080fd5b60006141bc86828701614042565b93505060206141cd86828701614042565b92505060406141de8682870161411f565b9150509250925092565b600080600080608085870312156141fe57600080fd5b600061420c87828801614042565b945050602061421d87828801614042565b935050604061422e8782880161411f565b925050606085013567ffffffffffffffff81111561424b57600080fd5b614257878288016140f5565b91505092959194509250565b6000806040838503121561427657600080fd5b600061428485828601614042565b925050602061429585828601614057565b9150509250929050565b600080604083850312156142b257600080fd5b60006142c085828601614042565b92505060206142d18582860161411f565b9150509250929050565b6000602082840312156142ed57600080fd5b60006142fb8482850161406c565b91505092915050565b6000806040838503121561431757600080fd5b60006143258582860161406c565b925050602061433685828601614042565b9150509250929050565b60008060006040848603121561435557600080fd5b60006143638682870161406c565b935050602084013567ffffffffffffffff81111561438057600080fd5b61438c868287016140ab565b92509250509250925092565b6000602082840312156143aa57600080fd5b60006143b884828501614081565b91505092915050565b6000602082840312156143d357600080fd5b60006143e184828501614096565b91505092915050565b600080602083850312156143fd57600080fd5b600083013567ffffffffffffffff81111561441757600080fd5b614423858286016140ab565b92509250509250929050565b60006020828403121561444157600080fd5b600061444f8482850161411f565b91505092915050565b614461816150a7565b82525050565b61447081615095565b82525050565b61447f816150b9565b82525050565b61448e816150c5565b82525050565b6144a56144a0826150c5565b61524a565b82525050565b60006144b682614f3d565b6144c08185614f53565b93506144d0818560208601615141565b6144d981615341565b840191505092915050565b60006144ef82614f48565b6144f98185614f64565b9350614509818560208601615141565b61451281615341565b840191505092915050565b600061452882614f48565b6145328185614f75565b9350614542818560208601615141565b80840191505092915050565b600061455b601883614f64565b915061456682615352565b602082019050919050565b600061457e602083614f64565b91506145898261537b565b602082019050919050565b60006145a1601483614f64565b91506145ac826153a4565b602082019050919050565b60006145c4601f83614f64565b91506145cf826153cd565b602082019050919050565b60006145e7601c83614f75565b91506145f2826153f6565b601c82019050919050565b600061460a602b83614f64565b91506146158261541f565b604082019050919050565b600061462d603283614f64565b91506146388261546e565b604082019050919050565b6000614650602683614f64565b915061465b826154bd565b604082019050919050565b6000614673602583614f64565b915061467e8261550c565b604082019050919050565b6000614696601c83614f64565b91506146a18261555b565b602082019050919050565b60006146b9602483614f64565b91506146c482615584565b604082019050919050565b60006146dc601983614f64565b91506146e7826155d3565b602082019050919050565b60006146ff602283614f64565b915061470a826155fc565b604082019050919050565b6000614722602c83614f64565b915061472d8261564b565b604082019050919050565b6000614745601083614f64565b91506147508261569a565b602082019050919050565b6000614768603883614f64565b9150614773826156c3565b604082019050919050565b600061478b602a83614f64565b915061479682615712565b604082019050919050565b60006147ae602983614f64565b91506147b982615761565b604082019050919050565b60006147d1602283614f64565b91506147dc826157b0565b604082019050919050565b60006147f4602083614f64565b91506147ff826157ff565b602082019050919050565b6000614817603183614f64565b915061482282615828565b604082019050919050565b600061483a602c83614f64565b915061484582615877565b604082019050919050565b600061485d602083614f64565b9150614868826158c6565b602082019050919050565b6000614880602f83614f64565b915061488b826158ef565b604082019050919050565b60006148a3602183614f64565b91506148ae8261593e565b604082019050919050565b60006148c6601683614f64565b91506148d18261598d565b602082019050919050565b60006148e9603183614f64565b91506148f4826159b6565b604082019050919050565b600061490c602c83614f64565b915061491782615a05565b604082019050919050565b600061492f601783614f75565b915061493a82615a54565b601782019050919050565b6000614952601183614f75565b915061495d82615a7d565b601182019050919050565b6000614975602f83614f64565b915061498082615aa6565b604082019050919050565b6149948161511b565b82525050565b6149a381615125565b82525050565b60006149b5828561451d565b91506149c1828461451d565b91508190509392505050565b60006149d8826145da565b91506149e48284614494565b60208201915081905092915050565b60006149fe82614922565b9150614a0a828561451d565b9150614a1582614945565b9150614a21828461451d565b91508190509392505050565b6000602082019050614a426000830184614467565b92915050565b6000602082019050614a5d6000830184614458565b92915050565b6000608082019050614a786000830187614467565b614a856020830186614467565b614a92604083018561498b565b8181036060830152614aa481846144ab565b905095945050505050565b6000602082019050614ac46000830184614476565b92915050565b6000602082019050614adf6000830184614485565b92915050565b6000608082019050614afa6000830187614485565b614b07602083018661499a565b614b146040830185614485565b614b216060830184614485565b95945050505050565b60006020820190508181036000830152614b4481846144e4565b905092915050565b60006020820190508181036000830152614b658161454e565b9050919050565b60006020820190508181036000830152614b8581614571565b9050919050565b60006020820190508181036000830152614ba581614594565b9050919050565b60006020820190508181036000830152614bc5816145b7565b9050919050565b60006020820190508181036000830152614be5816145fd565b9050919050565b60006020820190508181036000830152614c0581614620565b9050919050565b60006020820190508181036000830152614c2581614643565b9050919050565b60006020820190508181036000830152614c4581614666565b9050919050565b60006020820190508181036000830152614c6581614689565b9050919050565b60006020820190508181036000830152614c85816146ac565b9050919050565b60006020820190508181036000830152614ca5816146cf565b9050919050565b60006020820190508181036000830152614cc5816146f2565b9050919050565b60006020820190508181036000830152614ce581614715565b9050919050565b60006020820190508181036000830152614d0581614738565b9050919050565b60006020820190508181036000830152614d258161475b565b9050919050565b60006020820190508181036000830152614d458161477e565b9050919050565b60006020820190508181036000830152614d65816147a1565b9050919050565b60006020820190508181036000830152614d85816147c4565b9050919050565b60006020820190508181036000830152614da5816147e7565b9050919050565b60006020820190508181036000830152614dc58161480a565b9050919050565b60006020820190508181036000830152614de58161482d565b9050919050565b60006020820190508181036000830152614e0581614850565b9050919050565b60006020820190508181036000830152614e2581614873565b9050919050565b60006020820190508181036000830152614e4581614896565b9050919050565b60006020820190508181036000830152614e65816148b9565b9050919050565b60006020820190508181036000830152614e85816148dc565b9050919050565b60006020820190508181036000830152614ea5816148ff565b9050919050565b60006020820190508181036000830152614ec581614968565b9050919050565b6000602082019050614ee1600083018461498b565b92915050565b6000614ef1614f02565b9050614efd82826151d0565b919050565b6000604051905090565b600067ffffffffffffffff821115614f2757614f26615312565b5b614f3082615341565b9050602081019050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b6000614f8b8261511b565b9150614f968361511b565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115614fcb57614fca615285565b5b828201905092915050565b6000614fe18261511b565b9150614fec8361511b565b925082614ffc57614ffb6152b4565b5b828204905092915050565b60006150128261511b565b915061501d8361511b565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561505657615055615285565b5b828202905092915050565b600061506c8261511b565b91506150778361511b565b92508282101561508a57615089615285565b5b828203905092915050565b60006150a0826150fb565b9050919050565b60006150b2826150fb565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600060ff82169050919050565b82818337600083830152505050565b60005b8381101561515f578082015181840152602081019050615144565b8381111561516e576000848401525b50505050565b600061517f8261511b565b9150600082141561519357615192615285565b5b600182039050919050565b600060028204905060018216806151b657607f821691505b602082108114156151ca576151c96152e3565b5b50919050565b6151d982615341565b810181811067ffffffffffffffff821117156151f8576151f7615312565b5b80604052505050565b600061520c8261511b565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561523f5761523e615285565b5b600182019050919050565b6000819050919050565b600061525f8261511b565b915061526a8361511b565b92508261527a576152796152b4565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b7f45434453413a20696e76616c6964207369676e61747572650000000000000000600082015250565b7f537472696e67733a20686578206c656e67746820696e73756666696369656e74600082015250565b7f5061757361626c653a206e6f7420706175736564000000000000000000000000600082015250565b7f45434453413a20696e76616c6964207369676e6174757265206c656e67746800600082015250565b7f19457468657265756d205369676e6564204d6573736167653a0a333200000000600082015250565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e736665722066726f6d20696e636f72726563742060008201527f6f776e6572000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f45434453413a20696e76616c6964207369676e6174757265202773272076616c60008201527f7565000000000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f5061757361626c653a2070617573656400000000000000000000000000000000600082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f45434453413a20696e76616c6964207369676e6174757265202776272076616c60008201527f7565000000000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f45524337323155524953746f726167653a2055524920717565727920666f722060008201527f6e6f6e6578697374656e7420746f6b656e000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b7f43616c6c6572206973206e6f7420616e2061646d696e00000000000000000000600082015250565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b7f416363657373436f6e74726f6c3a206163636f756e7420000000000000000000600082015250565b7f206973206d697373696e6720726f6c6520000000000000000000000000000000600082015250565b7f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560008201527f20726f6c657320666f722073656c660000000000000000000000000000000000602082015250565b615afe81615095565b8114615b0957600080fd5b50565b615b15816150b9565b8114615b2057600080fd5b50565b615b2c816150c5565b8114615b3757600080fd5b50565b615b43816150cf565b8114615b4e57600080fd5b50565b615b5a8161511b565b8114615b6557600080fd5b5056fea264697066735822122043d214c4fcaa8a628aed3821625ea5349c50e94de137be3a736a26d07a93c4d064736f6c6343000804003300000000000000000000000000000000000000000000000000000000000000c00000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000014000000000000000000000000000000000000000000000000000000000000000510000000000000000000000005e72984f9f907cb85c8ef4a48c210d2b0651800a000000000000000000000000320aa640fb9ce98b4466ae45be271ddfb1f80cfb000000000000000000000000000000000000000000000000000000000000001d544845205345434f4e4420415350454354204f4620544845204e494e4500000000000000000000000000000000000000000000000000000000000000000000084153504543543831000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004068747470733a2f2f63392d6d657461646174612d70726f642e73332e75732d776573742d312e616d617a6f6e6177732e636f6d2f7468652d38312f6a736f6e2f

Deployed Bytecode

0x60806040526004361061023b5760003560e01c8063715018a61161012e578063a22cb465116100ab578063c87b56dd1161006f578063c87b56dd14610869578063d547741f146108a6578063e985e9c5146108cf578063f1cf64091461090c578063f2fde38b146109375761023b565b8063a22cb46514610795578063af1e86c7146107be578063b712f5fa146107da578063b88d4fde14610803578063c2e2f7851461082c5761023b565b806391d14854116100f257806391d14854146106bb57806395d89b41146106f857806397aba7f9146107235780639890220b14610760578063a217fddf1461076a5761023b565b8063715018a61461060e57806375b238fc146106255780638456cb59146106505780638da5cb5b1461066757806391b7f5ed146106925761023b565b8063248a9ca3116101bc57806342842e0e1161018057806342842e0e146105035780634f6ccce71461052c5780635c975abb146105695780636352211e1461059457806370a08231146105d15761023b565b8063248a9ca3146104205780632f2ff15d1461045d5780632f745c591461048657806336568abe146104c35780633f4ba83a146104ec5761023b565b80630c5776de116102035780630c5776de1461033957806318160ddd146103645780631e7269c51461038f5780631fb869fc146103cc57806323b872dd146103f75761023b565b806301ffc9a7146102405780630387da421461027d57806306fdde03146102a8578063081812fc146102d3578063095ea7b314610310575b600080fd5b34801561024c57600080fd5b5061026760048036038101906102629190614398565b610960565b6040516102749190614aaf565b60405180910390f35b34801561028957600080fd5b50610292610972565b60405161029f9190614ecc565b60405180910390f35b3480156102b457600080fd5b506102bd610978565b6040516102ca9190614b2a565b60405180910390f35b3480156102df57600080fd5b506102fa60048036038101906102f5919061442f565b610a0a565b6040516103079190614a2d565b60405180910390f35b34801561031c57600080fd5b506103376004803603810190610332919061429f565b610a8f565b005b34801561034557600080fd5b5061034e610ba7565b60405161035b9190614ecc565b60405180910390f35b34801561037057600080fd5b50610379610bac565b6040516103869190614ecc565b60405180910390f35b34801561039b57600080fd5b506103b660048036038101906103b19190614134565b610bb9565b6040516103c39190614ecc565b60405180910390f35b3480156103d857600080fd5b506103e1610bd1565b6040516103ee9190614a48565b60405180910390f35b34801561040357600080fd5b5061041e60048036038101906104199190614199565b610bf7565b005b34801561042c57600080fd5b50610447600480360381019061044291906142db565b610c57565b6040516104549190614aca565b60405180910390f35b34801561046957600080fd5b50610484600480360381019061047f9190614304565b610c77565b005b34801561049257600080fd5b506104ad60048036038101906104a8919061429f565b610c98565b6040516104ba9190614ecc565b60405180910390f35b3480156104cf57600080fd5b506104ea60048036038101906104e59190614304565b610d3d565b005b3480156104f857600080fd5b50610501610dc0565b005b34801561050f57600080fd5b5061052a60048036038101906105259190614199565b610e33565b005b34801561053857600080fd5b50610553600480360381019061054e919061442f565b610e53565b6040516105609190614ecc565b60405180910390f35b34801561057557600080fd5b5061057e610eea565b60405161058b9190614aaf565b60405180910390f35b3480156105a057600080fd5b506105bb60048036038101906105b6919061442f565b610f01565b6040516105c89190614a2d565b60405180910390f35b3480156105dd57600080fd5b506105f860048036038101906105f39190614134565b610fb3565b6040516106059190614ecc565b60405180910390f35b34801561061a57600080fd5b5061062361106b565b005b34801561063157600080fd5b5061063a6110f3565b6040516106479190614aca565b60405180910390f35b34801561065c57600080fd5b50610665611117565b005b34801561067357600080fd5b5061067c61118a565b6040516106899190614a2d565b60405180910390f35b34801561069e57600080fd5b506106b960048036038101906106b4919061442f565b6111b4565b005b3480156106c757600080fd5b506106e260048036038101906106dd9190614304565b611227565b6040516106ef9190614aaf565b60405180910390f35b34801561070457600080fd5b5061070d611292565b60405161071a9190614b2a565b60405180910390f35b34801561072f57600080fd5b5061074a60048036038101906107459190614340565b611324565b6040516107579190614a2d565b60405180910390f35b61076861137d565b005b34801561077657600080fd5b5061077f6113e8565b60405161078c9190614aca565b60405180910390f35b3480156107a157600080fd5b506107bc60048036038101906107b79190614263565b6113ef565b005b6107d860048036038101906107d391906143ea565b611405565b005b3480156107e657600080fd5b5061080160048036038101906107fc9190614134565b611822565b005b34801561080f57600080fd5b5061082a600480360381019061082591906141e8565b611acb565b005b34801561083857600080fd5b50610853600480360381019061084e9190614134565b611b2d565b6040516108609190614aca565b60405180910390f35b34801561087557600080fd5b50610890600480360381019061088b919061442f565b611b5d565b60405161089d9190614b2a565b60405180910390f35b3480156108b257600080fd5b506108cd60048036038101906108c89190614304565b611b6f565b005b3480156108db57600080fd5b506108f660048036038101906108f1919061415d565b611b90565b6040516109039190614aaf565b60405180910390f35b34801561091857600080fd5b50610921611c24565b60405161092e9190614ecc565b60405180910390f35b34801561094357600080fd5b5061095e60048036038101906109599190614134565b611c2a565b005b600061096b82611d22565b9050919050565b600f5481565b6060600080546109879061519e565b80601f01602080910402602001604051908101604052809291908181526020018280546109b39061519e565b8015610a005780601f106109d557610100808354040283529160200191610a00565b820191906000526020600020905b8154815290600101906020018083116109e357829003601f168201915b5050505050905090565b6000610a1582611d9c565b610a54576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a4b90614dcc565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610a9a82610f01565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610b0b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b0290614e2c565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610b2a611e08565b73ffffffffffffffffffffffffffffffffffffffff161480610b595750610b5881610b53611e08565b611b90565b5b610b98576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b8f90614d0c565b60405180910390fd5b610ba28383611e10565b505050565b600181565b6000600880549050905090565b600e6020528060005260406000206000915090505481565b601160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b610c08610c02611e08565b82611ec9565b610c47576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c3e90614e6c565b60405180910390fd5b610c52838383611fa7565b505050565b6000600c6000838152602001908152602001600020600101549050919050565b610c8082610c57565b610c898161220e565b610c938383612222565b505050565b6000610ca383610fb3565b8210610ce4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cdb90614bcc565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b610d45611e08565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610db2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610da990614eac565b60405180910390fd5b610dbc8282612303565b5050565b610dea7fa49807205ce4d355092ef5a8a18f56e8913cf4a201fbe287825b095693c2177533611227565b610e29576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e2090614e4c565b60405180910390fd5b610e316123e5565b565b610e4e83838360405180602001604052806000815250611acb565b505050565b6000610e5d610bac565b8210610e9e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e9590614e8c565b60405180910390fd5b60088281548110610ed8577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002001549050919050565b6000600b60009054906101000a900460ff16905090565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610faa576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fa190614d4c565b60405180910390fd5b80915050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611024576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161101b90614d2c565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b611073611e08565b73ffffffffffffffffffffffffffffffffffffffff1661109161118a565b73ffffffffffffffffffffffffffffffffffffffff16146110e7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110de90614dec565b60405180910390fd5b6110f16000612487565b565b7fa49807205ce4d355092ef5a8a18f56e8913cf4a201fbe287825b095693c2177581565b6111417fa49807205ce4d355092ef5a8a18f56e8913cf4a201fbe287825b095693c2177533611227565b611180576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161117790614e4c565b60405180910390fd5b61118861254d565b565b6000600b60019054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6111de7fa49807205ce4d355092ef5a8a18f56e8913cf4a201fbe287825b095693c2177533611227565b61121d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161121490614e4c565b60405180910390fd5b80600f8190555050565b6000600c600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6060600180546112a19061519e565b80601f01602080910402602001604051908101604052809291908181526020018280546112cd9061519e565b801561131a5780601f106112ef5761010080835404028352916020019161131a565b820191906000526020600020905b8154815290600101906020018083116112fd57829003601f168201915b5050505050905090565b60006113748484848080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f820116905080830192505050505050506125f0565b90509392505050565b601160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc479081150290604051600060405180830381858888f193505050501580156113e5573d6000803e3d6000fd5b50565b6000801b81565b6114016113fa611e08565b8383612617565b5050565b601254611412600d612784565b106040518060400160405280600981526020017f4d696e74204c65737300000000000000000000000000000000000000000000008152509061148a576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114819190614b2a565b60405180910390fd5b50600f5434146040518060400160405280600f81526020017f4e656564204d6f7265204d6f6e6579000000000000000000000000000000000081525090611507576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114fe9190614b2a565b60405180910390fd5b506000611514600d612784565b9050611520600d612792565b611528610eea565b156040518060400160405280600981526020017f4e65656420576169740000000000000000000000000000000000000000000000815250906115a0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115979190614b2a565b60405180910390fd5b5060006115ac33611b2d565b905060006115b9826127a8565b905060006115c8828787611324565b90506115d261118a565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16146040518060400160405280600981526020017f4e6164612042727568000000000000000000000000000000000000000000000081525090611677576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161166e9190614b2a565b60405180910390fd5b506001600e60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546116c89190614f80565b925050819055506116d933856127d8565b6012546116e4610bac565b11156040518060400160405280600981526020017f4d696e74204c65737300000000000000000000000000000000000000000000008152509061175d576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117549190614b2a565b60405180910390fd5b506001600e60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205411156040518060400160405280600981526020017f4d696e74204c657373000000000000000000000000000000000000000000000081525090611819576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118109190614b2a565b60405180910390fd5b50505050505050565b61184c7fa49807205ce4d355092ef5a8a18f56e8913cf4a201fbe287825b095693c2177533611227565b61188b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161188290614e4c565b60405180910390fd5b601254611898600d612784565b106040518060400160405280600981526020017f4d696e74204c657373000000000000000000000000000000000000000000000081525090611910576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119079190614b2a565b60405180910390fd5b506001600e60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205411156040518060400160405280600981526020017f4d696e74204c6573730000000000000000000000000000000000000000000000815250906119cc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119c39190614b2a565b60405180910390fd5b506119d5610eea565b156040518060400160405280600981526020017f4e6565642057616974000000000000000000000000000000000000000000000081525090611a4d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a449190614b2a565b60405180910390fd5b506000611a5a600d612784565b9050611a66600d612792565b6001600e60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611ab69190614f80565b92505081905550611ac782826127d8565b5050565b611adc611ad6611e08565b83611ec9565b611b1b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b1290614e6c565b60405180910390fd5b611b27848484846127f6565b50505050565b600081604051602001611b409190614a2d565b604051602081830303815290604052805190602001209050919050565b6060611b6882612852565b9050919050565b611b7882610c57565b611b818161220e565b611b8b8383612303565b505050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b60125481565b611c32611e08565b73ffffffffffffffffffffffffffffffffffffffff16611c5061118a565b73ffffffffffffffffffffffffffffffffffffffff1614611ca6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c9d90614dec565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611d16576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d0d90614c0c565b60405180910390fd5b611d1f81612487565b50565b60007f7965db0b000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480611d955750611d94826129a4565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16611e8383610f01565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000611ed482611d9c565b611f13576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f0a90614ccc565b60405180910390fd5b6000611f1e83610f01565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480611f605750611f5f8185611b90565b5b80611f9e57508373ffffffffffffffffffffffffffffffffffffffff16611f8684610a0a565b73ffffffffffffffffffffffffffffffffffffffff16145b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16611fc782610f01565b73ffffffffffffffffffffffffffffffffffffffff161461201d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161201490614c2c565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561208d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161208490614c6c565b60405180910390fd5b612098838383612a1e565b6120a3600082611e10565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546120f39190615061565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461214a9190614f80565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4612209838383612a76565b505050565b61221f8161221a611e08565b612a7b565b50565b61222c8282611227565b6122ff576001600c600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055506122a4611e08565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45b5050565b61230d8282611227565b156123e1576000600c600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550612386611e08565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b60405160405180910390a45b5050565b6123ed610eea565b61242c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161242390614b8c565b60405180910390fd5b6000600b60006101000a81548160ff0219169083151502179055507f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa612470611e08565b60405161247d9190614a2d565b60405180910390a1565b6000600b60019054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600b60016101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b612555610eea565b15612595576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161258c90614cec565b60405180910390fd5b6001600b60006101000a81548160ff0219169083151502179055507f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a2586125d9611e08565b6040516125e69190614a2d565b60405180910390a1565b60008060006125ff8585612b18565b9150915061260c81612b9b565b819250505092915050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612686576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161267d90614c8c565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516127779190614aaf565b60405180910390a3505050565b600081600001549050919050565b6001816000016000828254019250508190555050565b6000816040516020016127bb91906149cd565b604051602081830303815290604052805190602001209050919050565b6127f2828260405180602001604052806000815250612eec565b5050565b612801848484611fa7565b61280d84848484612f47565b61284c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161284390614bec565b60405180910390fd5b50505050565b606061285d82611d9c565b61289c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161289390614dac565b60405180910390fd5b6000600a600084815260200190815260200160002080546128bc9061519e565b80601f01602080910402602001604051908101604052809291908181526020018280546128e89061519e565b80156129355780601f1061290a57610100808354040283529160200191612935565b820191906000526020600020905b81548152906001019060200180831161291857829003601f168201915b5050505050905060006129466130de565b905060008151141561295c57819250505061299f565b6000825111156129915780826040516020016129799291906149a9565b6040516020818303038152906040529250505061299f565b61299a84613170565b925050505b919050565b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480612a175750612a1682613217565b5b9050919050565b612a26610eea565b15612a66576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a5d90614cec565b60405180910390fd5b612a718383836132f9565b505050565b505050565b612a858282611227565b612b1457612aaa8173ffffffffffffffffffffffffffffffffffffffff16601461340d565b612ab88360001c602061340d565b604051602001612ac99291906149f3565b6040516020818303038152906040526040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b0b9190614b2a565b60405180910390fd5b5050565b600080604183511415612b5a5760008060006020860151925060408601519150606086015160001a9050612b4e87828585613707565b94509450505050612b94565b604083511415612b8b576000806020850151915060408501519050612b80868383613814565b935093505050612b94565b60006002915091505b9250929050565b60006004811115612bd5577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b816004811115612c0e577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b1415612c1957612ee9565b60016004811115612c53577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b816004811115612c8c577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b1415612ccd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612cc490614b4c565b60405180910390fd5b60026004811115612d07577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b816004811115612d40577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b1415612d81576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d7890614bac565b60405180910390fd5b60036004811115612dbb577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b816004811115612df4577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b1415612e35576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612e2c90614cac565b60405180910390fd5b600480811115612e6e577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b816004811115612ea7577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b1415612ee8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612edf90614d6c565b60405180910390fd5b5b50565b612ef68383613873565b612f036000848484612f47565b612f42576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612f3990614bec565b60405180910390fd5b505050565b6000612f688473ffffffffffffffffffffffffffffffffffffffff16613a4d565b156130d1578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612f91611e08565b8786866040518563ffffffff1660e01b8152600401612fb39493929190614a63565b602060405180830381600087803b158015612fcd57600080fd5b505af1925050508015612ffe57506040513d601f19601f82011682018060405250810190612ffb91906143c1565b60015b613081573d806000811461302e576040519150601f19603f3d011682016040523d82523d6000602084013e613033565b606091505b50600081511415613079576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161307090614bec565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149150506130d6565b600190505b949350505050565b6060601080546130ed9061519e565b80601f01602080910402602001604051908101604052809291908181526020018280546131199061519e565b80156131665780601f1061313b57610100808354040283529160200191613166565b820191906000526020600020905b81548152906001019060200180831161314957829003601f168201915b5050505050905090565b606061317b82611d9c565b6131ba576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016131b190614e0c565b60405180910390fd5b60006131c46130de565b905060008151116131e4576040518060200160405280600081525061320f565b806131ee84613a70565b6040516020016131ff9291906149a9565b6040516020818303038152906040525b915050919050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806132e257507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806132f257506132f182613c1d565b5b9050919050565b613304838383613c87565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156133475761334281613c8c565b613386565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614613385576133848382613cd5565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156133c9576133c481613e42565b613408565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614613407576134068282613f85565b5b5b505050565b6060600060028360026134209190615007565b61342a9190614f80565b67ffffffffffffffff811115613469577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f19166020018201604052801561349b5781602001600182028036833780820191505090505b5090507f3000000000000000000000000000000000000000000000000000000000000000816000815181106134f9577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053507f780000000000000000000000000000000000000000000000000000000000000081600181518110613583577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600060018460026135c39190615007565b6135cd9190614f80565b90505b60018111156136b9577f3031323334353637383961626364656600000000000000000000000000000000600f861660108110613635577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b1a60f81b828281518110613672577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600485901c9450806136b290615174565b90506135d0565b50600084146136fd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016136f490614b6c565b60405180910390fd5b8091505092915050565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a08360001c111561374257600060039150915061380b565b601b8560ff161415801561375a5750601c8560ff1614155b1561376c57600060049150915061380b565b6000600187878787604051600081526020016040526040516137919493929190614ae5565b6020604051602081039080840390855afa1580156137b3573d6000803e3d6000fd5b505050602060405103519050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156138025760006001925092505061380b565b80600092509250505b94509492505050565b60008060007f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff60001b841690506000601b60ff8660001c901c6138579190614f80565b905061386587828885613707565b935093505050935093915050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156138e3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016138da90614d8c565b60405180910390fd5b6138ec81611d9c565b1561392c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161392390614c4c565b60405180910390fd5b61393860008383612a1e565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546139889190614f80565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4613a4960008383612a76565b5050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b60606000821415613ab8576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050613c18565b600082905060005b60008214613aea578080613ad390615201565b915050600a82613ae39190614fd6565b9150613ac0565b60008167ffffffffffffffff811115613b2c577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015613b5e5781602001600182028036833780820191505090505b5090505b60008514613c1157600182613b779190615061565b9150600a85613b869190615254565b6030613b929190614f80565b60f81b818381518110613bce577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85613c0a9190614fd6565b9450613b62565b8093505050505b919050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b60006001613ce284610fb3565b613cec9190615061565b9050600060076000848152602001908152602001600020549050818114613dd1576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b60006001600880549050613e569190615061565b9050600060096000848152602001908152602001600020549050600060088381548110613eac577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b906000526020600020015490508060088381548110613ef4577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b906000526020600020018190555081600960008381526020019081526020016000208190555060096000858152602001908152602001600020600090556008805480613f69577f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b6001900381819060005260206000200160009055905550505050565b6000613f9083610fb3565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b600061401761401284614f0c565b614ee7565b90508281526020810184848401111561402f57600080fd5b61403a848285615132565b509392505050565b60008135905061405181615af5565b92915050565b60008135905061406681615b0c565b92915050565b60008135905061407b81615b23565b92915050565b60008135905061409081615b3a565b92915050565b6000815190506140a581615b3a565b92915050565b60008083601f8401126140bd57600080fd5b8235905067ffffffffffffffff8111156140d657600080fd5b6020830191508360018202830111156140ee57600080fd5b9250929050565b600082601f83011261410657600080fd5b8135614116848260208601614004565b91505092915050565b60008135905061412e81615b51565b92915050565b60006020828403121561414657600080fd5b600061415484828501614042565b91505092915050565b6000806040838503121561417057600080fd5b600061417e85828601614042565b925050602061418f85828601614042565b9150509250929050565b6000806000606084860312156141ae57600080fd5b60006141bc86828701614042565b93505060206141cd86828701614042565b92505060406141de8682870161411f565b9150509250925092565b600080600080608085870312156141fe57600080fd5b600061420c87828801614042565b945050602061421d87828801614042565b935050604061422e8782880161411f565b925050606085013567ffffffffffffffff81111561424b57600080fd5b614257878288016140f5565b91505092959194509250565b6000806040838503121561427657600080fd5b600061428485828601614042565b925050602061429585828601614057565b9150509250929050565b600080604083850312156142b257600080fd5b60006142c085828601614042565b92505060206142d18582860161411f565b9150509250929050565b6000602082840312156142ed57600080fd5b60006142fb8482850161406c565b91505092915050565b6000806040838503121561431757600080fd5b60006143258582860161406c565b925050602061433685828601614042565b9150509250929050565b60008060006040848603121561435557600080fd5b60006143638682870161406c565b935050602084013567ffffffffffffffff81111561438057600080fd5b61438c868287016140ab565b92509250509250925092565b6000602082840312156143aa57600080fd5b60006143b884828501614081565b91505092915050565b6000602082840312156143d357600080fd5b60006143e184828501614096565b91505092915050565b600080602083850312156143fd57600080fd5b600083013567ffffffffffffffff81111561441757600080fd5b614423858286016140ab565b92509250509250929050565b60006020828403121561444157600080fd5b600061444f8482850161411f565b91505092915050565b614461816150a7565b82525050565b61447081615095565b82525050565b61447f816150b9565b82525050565b61448e816150c5565b82525050565b6144a56144a0826150c5565b61524a565b82525050565b60006144b682614f3d565b6144c08185614f53565b93506144d0818560208601615141565b6144d981615341565b840191505092915050565b60006144ef82614f48565b6144f98185614f64565b9350614509818560208601615141565b61451281615341565b840191505092915050565b600061452882614f48565b6145328185614f75565b9350614542818560208601615141565b80840191505092915050565b600061455b601883614f64565b915061456682615352565b602082019050919050565b600061457e602083614f64565b91506145898261537b565b602082019050919050565b60006145a1601483614f64565b91506145ac826153a4565b602082019050919050565b60006145c4601f83614f64565b91506145cf826153cd565b602082019050919050565b60006145e7601c83614f75565b91506145f2826153f6565b601c82019050919050565b600061460a602b83614f64565b91506146158261541f565b604082019050919050565b600061462d603283614f64565b91506146388261546e565b604082019050919050565b6000614650602683614f64565b915061465b826154bd565b604082019050919050565b6000614673602583614f64565b915061467e8261550c565b604082019050919050565b6000614696601c83614f64565b91506146a18261555b565b602082019050919050565b60006146b9602483614f64565b91506146c482615584565b604082019050919050565b60006146dc601983614f64565b91506146e7826155d3565b602082019050919050565b60006146ff602283614f64565b915061470a826155fc565b604082019050919050565b6000614722602c83614f64565b915061472d8261564b565b604082019050919050565b6000614745601083614f64565b91506147508261569a565b602082019050919050565b6000614768603883614f64565b9150614773826156c3565b604082019050919050565b600061478b602a83614f64565b915061479682615712565b604082019050919050565b60006147ae602983614f64565b91506147b982615761565b604082019050919050565b60006147d1602283614f64565b91506147dc826157b0565b604082019050919050565b60006147f4602083614f64565b91506147ff826157ff565b602082019050919050565b6000614817603183614f64565b915061482282615828565b604082019050919050565b600061483a602c83614f64565b915061484582615877565b604082019050919050565b600061485d602083614f64565b9150614868826158c6565b602082019050919050565b6000614880602f83614f64565b915061488b826158ef565b604082019050919050565b60006148a3602183614f64565b91506148ae8261593e565b604082019050919050565b60006148c6601683614f64565b91506148d18261598d565b602082019050919050565b60006148e9603183614f64565b91506148f4826159b6565b604082019050919050565b600061490c602c83614f64565b915061491782615a05565b604082019050919050565b600061492f601783614f75565b915061493a82615a54565b601782019050919050565b6000614952601183614f75565b915061495d82615a7d565b601182019050919050565b6000614975602f83614f64565b915061498082615aa6565b604082019050919050565b6149948161511b565b82525050565b6149a381615125565b82525050565b60006149b5828561451d565b91506149c1828461451d565b91508190509392505050565b60006149d8826145da565b91506149e48284614494565b60208201915081905092915050565b60006149fe82614922565b9150614a0a828561451d565b9150614a1582614945565b9150614a21828461451d565b91508190509392505050565b6000602082019050614a426000830184614467565b92915050565b6000602082019050614a5d6000830184614458565b92915050565b6000608082019050614a786000830187614467565b614a856020830186614467565b614a92604083018561498b565b8181036060830152614aa481846144ab565b905095945050505050565b6000602082019050614ac46000830184614476565b92915050565b6000602082019050614adf6000830184614485565b92915050565b6000608082019050614afa6000830187614485565b614b07602083018661499a565b614b146040830185614485565b614b216060830184614485565b95945050505050565b60006020820190508181036000830152614b4481846144e4565b905092915050565b60006020820190508181036000830152614b658161454e565b9050919050565b60006020820190508181036000830152614b8581614571565b9050919050565b60006020820190508181036000830152614ba581614594565b9050919050565b60006020820190508181036000830152614bc5816145b7565b9050919050565b60006020820190508181036000830152614be5816145fd565b9050919050565b60006020820190508181036000830152614c0581614620565b9050919050565b60006020820190508181036000830152614c2581614643565b9050919050565b60006020820190508181036000830152614c4581614666565b9050919050565b60006020820190508181036000830152614c6581614689565b9050919050565b60006020820190508181036000830152614c85816146ac565b9050919050565b60006020820190508181036000830152614ca5816146cf565b9050919050565b60006020820190508181036000830152614cc5816146f2565b9050919050565b60006020820190508181036000830152614ce581614715565b9050919050565b60006020820190508181036000830152614d0581614738565b9050919050565b60006020820190508181036000830152614d258161475b565b9050919050565b60006020820190508181036000830152614d458161477e565b9050919050565b60006020820190508181036000830152614d65816147a1565b9050919050565b60006020820190508181036000830152614d85816147c4565b9050919050565b60006020820190508181036000830152614da5816147e7565b9050919050565b60006020820190508181036000830152614dc58161480a565b9050919050565b60006020820190508181036000830152614de58161482d565b9050919050565b60006020820190508181036000830152614e0581614850565b9050919050565b60006020820190508181036000830152614e2581614873565b9050919050565b60006020820190508181036000830152614e4581614896565b9050919050565b60006020820190508181036000830152614e65816148b9565b9050919050565b60006020820190508181036000830152614e85816148dc565b9050919050565b60006020820190508181036000830152614ea5816148ff565b9050919050565b60006020820190508181036000830152614ec581614968565b9050919050565b6000602082019050614ee1600083018461498b565b92915050565b6000614ef1614f02565b9050614efd82826151d0565b919050565b6000604051905090565b600067ffffffffffffffff821115614f2757614f26615312565b5b614f3082615341565b9050602081019050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b6000614f8b8261511b565b9150614f968361511b565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115614fcb57614fca615285565b5b828201905092915050565b6000614fe18261511b565b9150614fec8361511b565b925082614ffc57614ffb6152b4565b5b828204905092915050565b60006150128261511b565b915061501d8361511b565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561505657615055615285565b5b828202905092915050565b600061506c8261511b565b91506150778361511b565b92508282101561508a57615089615285565b5b828203905092915050565b60006150a0826150fb565b9050919050565b60006150b2826150fb565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600060ff82169050919050565b82818337600083830152505050565b60005b8381101561515f578082015181840152602081019050615144565b8381111561516e576000848401525b50505050565b600061517f8261511b565b9150600082141561519357615192615285565b5b600182039050919050565b600060028204905060018216806151b657607f821691505b602082108114156151ca576151c96152e3565b5b50919050565b6151d982615341565b810181811067ffffffffffffffff821117156151f8576151f7615312565b5b80604052505050565b600061520c8261511b565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561523f5761523e615285565b5b600182019050919050565b6000819050919050565b600061525f8261511b565b915061526a8361511b565b92508261527a576152796152b4565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b7f45434453413a20696e76616c6964207369676e61747572650000000000000000600082015250565b7f537472696e67733a20686578206c656e67746820696e73756666696369656e74600082015250565b7f5061757361626c653a206e6f7420706175736564000000000000000000000000600082015250565b7f45434453413a20696e76616c6964207369676e6174757265206c656e67746800600082015250565b7f19457468657265756d205369676e6564204d6573736167653a0a333200000000600082015250565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e736665722066726f6d20696e636f72726563742060008201527f6f776e6572000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f45434453413a20696e76616c6964207369676e6174757265202773272076616c60008201527f7565000000000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f5061757361626c653a2070617573656400000000000000000000000000000000600082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f45434453413a20696e76616c6964207369676e6174757265202776272076616c60008201527f7565000000000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f45524337323155524953746f726167653a2055524920717565727920666f722060008201527f6e6f6e6578697374656e7420746f6b656e000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b7f43616c6c6572206973206e6f7420616e2061646d696e00000000000000000000600082015250565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b7f416363657373436f6e74726f6c3a206163636f756e7420000000000000000000600082015250565b7f206973206d697373696e6720726f6c6520000000000000000000000000000000600082015250565b7f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560008201527f20726f6c657320666f722073656c660000000000000000000000000000000000602082015250565b615afe81615095565b8114615b0957600080fd5b50565b615b15816150b9565b8114615b2057600080fd5b50565b615b2c816150c5565b8114615b3757600080fd5b50565b615b43816150cf565b8114615b4e57600080fd5b50565b615b5a8161511b565b8114615b6557600080fd5b5056fea264697066735822122043d214c4fcaa8a628aed3821625ea5349c50e94de137be3a736a26d07a93c4d064736f6c63430008040033

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

00000000000000000000000000000000000000000000000000000000000000c00000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000014000000000000000000000000000000000000000000000000000000000000000510000000000000000000000005e72984f9f907cb85c8ef4a48c210d2b0651800a000000000000000000000000320aa640fb9ce98b4466ae45be271ddfb1f80cfb000000000000000000000000000000000000000000000000000000000000001d544845205345434f4e4420415350454354204f4620544845204e494e4500000000000000000000000000000000000000000000000000000000000000000000084153504543543831000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004068747470733a2f2f63392d6d657461646174612d70726f642e73332e75732d776573742d312e616d617a6f6e6177732e636f6d2f7468652d38312f6a736f6e2f

-----Decoded View---------------
Arg [0] : collectionName (string): THE SECOND ASPECT OF THE NINE
Arg [1] : tokenName (string): ASPECT81
Arg [2] : baseURI (string): https://c9-metadata-prod.s3.us-west-1.amazonaws.com/the-81/json/
Arg [3] : mintLimit (uint256): 81
Arg [4] : admin (address): 0x5E72984f9f907CB85C8eF4A48C210d2b0651800a
Arg [5] : drainAddress (address): 0x320AA640fB9cE98B4466Ae45Be271dDfb1F80cFb

-----Encoded View---------------
13 Constructor Arguments found :
Arg [0] : 00000000000000000000000000000000000000000000000000000000000000c0
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000100
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000140
Arg [3] : 0000000000000000000000000000000000000000000000000000000000000051
Arg [4] : 0000000000000000000000005e72984f9f907cb85c8ef4a48c210d2b0651800a
Arg [5] : 000000000000000000000000320aa640fb9ce98b4466ae45be271ddfb1f80cfb
Arg [6] : 000000000000000000000000000000000000000000000000000000000000001d
Arg [7] : 544845205345434f4e4420415350454354204f4620544845204e494e45000000
Arg [8] : 0000000000000000000000000000000000000000000000000000000000000008
Arg [9] : 4153504543543831000000000000000000000000000000000000000000000000
Arg [10] : 0000000000000000000000000000000000000000000000000000000000000040
Arg [11] : 68747470733a2f2f63392d6d657461646174612d70726f642e73332e75732d77
Arg [12] : 6573742d312e616d617a6f6e6177732e636f6d2f7468652d38312f6a736f6e2f


Loading...
Loading
Loading...
Loading
[ Download: CSV Export  ]
[ Download: CSV Export  ]

A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.