ETH Price: $2,468.87 (-5.77%)

Token

Cosmic Corpse Society (CCS)
 

Overview

Max Total Supply

799 CCS

Holders

96

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Filtered by Token Holder
naturalbornliquidity.eth
Balance
1 CCS
0x304A97c9A85C92C93Ca24e0A85B69f892B67355E
Loading...
Loading
Loading...
Loading
Loading...
Loading

OVERVIEW

Cosmic Corpse Society is an NFT collection of 4,000 unique aliens of four different species on the Ethereum blockchain.

# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
CCSNFT

Compiler Version
v0.8.7+commit.e28d00a7

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 14 : CCSNFT.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.7;

import "@openzeppelin/contracts/token/ERC721/ERC721.sol";
import "@openzeppelin/contracts/access/AccessControl.sol";
import "@openzeppelin/contracts/utils/Counters.sol";
import "@openzeppelin/contracts/security/ReentrancyGuard.sol";

//             ____
//      _,-ddd888888bbb-._
//    d88888888888888888888b
//  d888888888888888888888888b      $$$$$$\   $$$$$$\   $$$$$$\
// 6888888888888888888888888889    $$  __$$\ $$  __$$\ $$  __$$\
// 68888b8""8q8888888p8""8d88889   $$ /  \__|$$ /  \__|$$ /  \__|
// `d8887     p88888q     4888b'   $$ |      $$ |      \$$$$$$\
//  `d8887    p88888q    4888b'    $$ |      $$ |       \____$$\
//    `d887   p88888q   488b'      $$ |  $$\ $$ |  $$\ $$\   $$ |
//      `d8bod8888888dob8b'        \$$$$$$  |\$$$$$$  |\$$$$$$  |
//        `d88888888888d'           \______/  \______/  \______/
//          `d8888888b' hjw
//            `d8888b' `97
//              `bd'

contract CCSNFT is ERC721, ReentrancyGuard, AccessControl {
    bytes32 public constant ADMIN_ROLE = keccak256("ADMIN_ROLE");
    using Counters for Counters.Counter;

    uint256 public _vipSupply = 2000;
    uint256 public _publicSupply = 2000;
    uint256 public _wlSupply = 0;
    uint256 private _vipMintPrice = .001 ether;
    uint256 private _publicMintPrice = .05 ether;
    uint256 private _wlMintPrice = 0.01 ether;

    Counters.Counter private _tokenIdCounter;
    Counters.Counter private _vipMintCounter;
    Counters.Counter private _publicMintCounter;
    Counters.Counter private _wlMintCounter;

    mapping(address => bool) private _vipMinted;

    string private _tokenBaseURI;
    address private _publicMintContract;
    address private _wlMintContract;

    modifier onlyAdmin() {
        require(
            hasRole(ADMIN_ROLE, msg.sender) ||
                hasRole(DEFAULT_ADMIN_ROLE, msg.sender),
            "User is not an admin"
        );
        _;
    }

    constructor(string memory initBaseURI)
        ERC721("Cosmic Corpse Society", "CCS")
    {
        _setupRole(DEFAULT_ADMIN_ROLE, msg.sender);
        _setRoleAdmin(ADMIN_ROLE, DEFAULT_ADMIN_ROLE);
        setBaseURI(initBaseURI);
    }

    function addAdmin(address newAdmin) external onlyAdmin {
        _grantRole(ADMIN_ROLE, newAdmin);
    }

    function removeAdmin(address oldAdmin) external onlyAdmin {
        _revokeRole(ADMIN_ROLE, oldAdmin);
    }

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

    function setBaseURI(string memory URI) public onlyAdmin {
        _tokenBaseURI = URI;
    }

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

    function getPublicMintContract() external view returns (address) {
        return _publicMintContract;
    }

    function setPublicMintContract(address contractAddress) external onlyAdmin {
        _publicMintContract = contractAddress;
    }

    function setWlMintContract(address contractAddress) external onlyAdmin {
        _wlMintContract = contractAddress;
    }

    function totalSupply() external view returns (uint256) {
        return
            _vipMintCounter.current() +
            _publicMintCounter.current() +
            _wlMintCounter.current();
    }

    function reallocateSupply(
        uint256 fromSupply,
        uint256 toSupply,
        uint256 amount
    ) external onlyAdmin {
        if (fromSupply == 1) _vipSupply = _vipSupply - amount;
        if (fromSupply == 2) _publicSupply = _publicSupply - amount;
        if (fromSupply == 3) _wlSupply = _wlSupply - amount;
        if (toSupply == 1) _vipSupply = _vipSupply + amount;
        if (toSupply == 2) _publicSupply = _publicSupply + amount;
        if (toSupply == 3) _wlSupply = _wlSupply + amount;
    }

    function overrideVipMintStatus(address minter, bool newState)
        external
        onlyAdmin
    {
        _vipMinted[minter] = newState;
    }

    function safeMint(
        address to,
        uint256 amount,
        uint256 mintType
    ) internal {
        for (uint256 i = 1; i <= amount; i++) {
            if (
                (mintType == 0 && _vipMintCounter.current() >= _vipSupply) ||
                (mintType == 1 &&
                    _publicMintCounter.current() >= _publicSupply) ||
                (mintType == 2 && _wlMintCounter.current() >= _wlSupply)
            ) {
                break;
            }
            _tokenIdCounter.increment();
            if (mintType == 0) {
                _vipMintCounter.increment();
            } else if (mintType == 1) {
                _publicMintCounter.increment();
            } else {
                _wlMintCounter.increment();
            }
            _safeMint(to, _tokenIdCounter.current());
        }
    }

    function vipMint() internal nonReentrant {
        uint256 vipMintsLeft = _vipMintCounter.current() >= _vipSupply
            ? 0
            : _vipSupply - _vipMintCounter.current();

        require(vipMintsLeft > 0, "LOYALTY_MINT_SOLD_OUT");
        require(!_vipMinted[msg.sender], "ALREADY_LOYALTY_MINTED");

        uint256 vipMintsEligibleFor = getVipMintLimit(msg.sender);
        uint256 vipMintsPaidFor = msg.value / _vipMintPrice;

        uint256 vipsToMint = vipMintsPaidFor <= vipMintsEligibleFor
            ? vipMintsPaidFor
            : vipMintsEligibleFor;

        uint256 validPaid = _vipMintPrice * vipMintsEligibleFor;
        uint256 remainder = msg.value > validPaid ? msg.value - validPaid : 0;

        if (vipsToMint <= vipMintsLeft) {
            safeMint(msg.sender, vipsToMint, 0);
            _vipMinted[msg.sender] = true;
        } else {
            safeMint(msg.sender, vipMintsLeft, 0);
            remainder = ((vipMintsPaidFor - vipMintsLeft) * _vipMintPrice);
            _vipMinted[msg.sender] = true;
        }
        if (remainder > 0) {
            payable(msg.sender).transfer(remainder);
        }
    }

    function publicMint(address recipient) external payable {
        require(msg.sender == _publicMintContract, "INVALID_SENDER");
        uint256 publicMintsLeft = _publicMintCounter.current() >= _publicSupply
            ? 0
            : _publicSupply - _publicMintCounter.current();

        require(publicMintsLeft > 0, "PUBLIC_MINT_SOLD_OUT");

        uint256 publicMintsPaidFor = msg.value / _publicMintPrice;
        uint256 remainder = msg.value > _publicMintPrice
            ? msg.value % _publicMintPrice
            : 0;

        if (publicMintsPaidFor <= publicMintsLeft) {
            safeMint(recipient, publicMintsPaidFor, 1);
        } else {
            safeMint(recipient, publicMintsLeft, 1);
            remainder += ((publicMintsPaidFor - publicMintsLeft) *
                _publicMintPrice);
        }
        if (remainder > 0) {
            payable(recipient).transfer(remainder);
        }
    }

    function wlMint(address recipient) external payable {
        require(msg.sender == _wlMintContract, "INVALID_SENDER");
        uint256 wlMintsLeft = _wlMintCounter.current() >= _wlSupply
            ? 0
            : _wlSupply - _wlMintCounter.current();

        require(wlMintsLeft > 0, "WL_MINT_SOLD_OUT");

        uint256 remainder = msg.value > _wlMintPrice
            ? msg.value - _wlMintPrice
            : 0;

        if (wlMintsLeft > 0) {
            safeMint(recipient, 1, 2);
        } else {
            remainder += _wlMintPrice;
        }
        if (remainder > 0) {
            payable(recipient).transfer(remainder);
        }
    }

    function getVipMintLimit(address minter) internal view returns (uint256) {
        uint256 asacCount = ERC721(0x96FC56721D2b79485692350014875b3b67CB00eB)
            .balanceOf(minter);
        uint256 masacCount = ERC721(0xDAEeCd365BcEc74656Bd4068879dB469e815641d)
            .balanceOf(minter);
        uint256 ascCount = ERC721(0xB183166B4197c61E9410066C1d24e005B6E4755b)
            .balanceOf(minter);

        return asacCount + (masacCount / 2) + ascCount;
    }

    function getVipMintedCount() external view returns (uint256) {
        return _vipMintCounter.current();
    }

    function getPublicMintedCount() external view returns (uint256) {
        return _publicMintCounter.current();
    }

    function getWlMintedCount() external view returns (uint256) {
        return _wlMintCounter.current();
    }

    function withdrawAll() external onlyAdmin {
        require(address(this).balance > 0, "ZERO_BALANCE");
        payable(msg.sender).transfer(address(this).balance);
    }

    receive() external payable {
        require(
            _vipMintCounter.current() < _vipSupply,
            "LOYALTY_MINT_SOLD_OUT"
        );
        require(msg.value >= .001 ether, "INSUFFICIENT_FUNDS");
        vipMint();
    }
}

File 2 of 14 : 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 14 : 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 14 : 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 5 of 14 : ReentrancyGuard.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (security/ReentrancyGuard.sol)

pragma solidity ^0.8.0;

/**
 * @dev Contract module that helps prevent reentrant calls to a function.
 *
 * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier
 * available, which can be applied to functions to make sure there are no nested
 * (reentrant) calls to them.
 *
 * Note that because there is a single `nonReentrant` guard, functions marked as
 * `nonReentrant` may not call one another. This can be worked around by making
 * those functions `private`, and then adding `external` `nonReentrant` entry
 * points to them.
 *
 * TIP: If you would like to learn more about reentrancy and alternative ways
 * to protect against it, check out our blog post
 * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul].
 */
abstract contract ReentrancyGuard {
    // Booleans are more expensive than uint256 or any type that takes up a full
    // word because each write operation emits an extra SLOAD to first read the
    // slot's contents, replace the bits taken up by the boolean, and then write
    // back. This is the compiler's defense against contract upgrades and
    // pointer aliasing, and it cannot be disabled.

    // The values being non-zero value makes deployment a bit more expensive,
    // but in exchange the refund on every call to nonReentrant will be lower in
    // amount. Since refunds are capped to a percentage of the total
    // transaction's gas, it is best to keep them low in cases like this one, to
    // increase the likelihood of the full refund coming into effect.
    uint256 private constant _NOT_ENTERED = 1;
    uint256 private constant _ENTERED = 2;

    uint256 private _status;

    constructor() {
        _status = _NOT_ENTERED;
    }

    /**
     * @dev Prevents a contract from calling itself, directly or indirectly.
     * Calling a `nonReentrant` function from another `nonReentrant`
     * function is not supported. It is possible to prevent this from happening
     * by making the `nonReentrant` function external, and making it call a
     * `private` function that does the actual work.
     */
    modifier nonReentrant() {
        // On the first call to nonReentrant, _notEntered will be true
        require(_status != _ENTERED, "ReentrancyGuard: reentrant call");

        // Any calls to nonReentrant after this point will fail
        _status = _ENTERED;

        _;

        // By storing the original value once again, a refund is triggered (see
        // https://eips.ethereum.org/EIPS/eip-2200)
        _status = _NOT_ENTERED;
    }
}

File 6 of 14 : 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 7 of 14 : 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 8 of 14 : 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 9 of 14 : 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 10 of 14 : 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 11 of 14 : 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 12 of 14 : 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 13 of 14 : 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 14 of 14 : 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;
}

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":"initBaseURI","type":"string"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":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"},{"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":"_publicSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_vipSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_wlSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newAdmin","type":"address"}],"name":"addAdmin","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getPublicMintContract","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getPublicMintedCount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"}],"name":"getRoleAdmin","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getVipMintedCount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getWlMintedCount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","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":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"minter","type":"address"},{"internalType":"bool","name":"newState","type":"bool"}],"name":"overrideVipMintStatus","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"}],"name":"publicMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"fromSupply","type":"uint256"},{"internalType":"uint256","name":"toSupply","type":"uint256"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"reallocateSupply","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"oldAdmin","type":"address"}],"name":"removeAdmin","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":"string","name":"URI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"contractAddress","type":"address"}],"name":"setPublicMintContract","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"contractAddress","type":"address"}],"name":"setWlMintContract","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":"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":[],"name":"withdrawAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"}],"name":"wlMint","outputs":[],"stateMutability":"payable","type":"function"},{"stateMutability":"payable","type":"receive"}]

60806040526107d06008556107d06009556000600a5566038d7ea4c68000600b5566b1a2bc2ec50000600c55662386f26fc10000600d553480156200004357600080fd5b50604051620056aa380380620056aa83398181016040528101906200006991906200054d565b6040518060400160405280601581526020017f436f736d696320436f7270736520536f636965747900000000000000000000008152506040518060400160405280600381526020017f43435300000000000000000000000000000000000000000000000000000000008152508160009080519060200190620000ed9291906200041f565b508060019080519060200190620001069291906200041f565b5050506001600681905550620001266000801b336200017360201b60201c565b6200015b7fa49807205ce4d355092ef5a8a18f56e8913cf4a201fbe287825b095693c217756000801b6200018960201b60201c565b6200016c81620001ed60201b60201c565b50620007a5565b6200018582826200029a60201b60201c565b5050565b60006200019c836200038c60201b60201c565b90508160076000858152602001908152602001600020600101819055508181847fbd79b86ffe0ab8e8776151514217cd7cacd52c909f66475c3af44e129f0b00ff60405160405180910390a4505050565b6200021f7fa49807205ce4d355092ef5a8a18f56e8913cf4a201fbe287825b095693c2177533620003ac60201b60201c565b806200023c57506200023b6000801b33620003ac60201b60201c565b5b6200027e576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016200027590620005c5565b60405180910390fd5b8060139080519060200190620002969291906200041f565b5050565b620002ac8282620003ac60201b60201c565b620003885760016007600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055506200032d6200041760201b60201c565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45b5050565b600060076000838152602001908152602001600020600101549050919050565b60006007600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b600033905090565b8280546200042d906200068d565b90600052602060002090601f0160209004810192826200045157600085556200049d565b82601f106200046c57805160ff19168380011785556200049d565b828001600101855582156200049d579182015b828111156200049c5782518255916020019190600101906200047f565b5b509050620004ac9190620004b0565b5090565b5b80821115620004cb576000816000905550600101620004b1565b5090565b6000620004e6620004e08462000610565b620005e7565b9050828152602081018484840111156200050557620005046200075c565b5b6200051284828562000657565b509392505050565b600082601f83011262000532576200053162000757565b5b815162000544848260208601620004cf565b91505092915050565b60006020828403121562000566576200056562000766565b5b600082015167ffffffffffffffff81111562000587576200058662000761565b5b62000595848285016200051a565b91505092915050565b6000620005ad60148362000646565b9150620005ba826200077c565b602082019050919050565b60006020820190508181036000830152620005e0816200059e565b9050919050565b6000620005f362000606565b9050620006018282620006c3565b919050565b6000604051905090565b600067ffffffffffffffff8211156200062e576200062d62000728565b5b62000639826200076b565b9050602081019050919050565b600082825260208201905092915050565b60005b83811015620006775780820151818401526020810190506200065a565b8381111562000687576000848401525b50505050565b60006002820490506001821680620006a657607f821691505b60208210811415620006bd57620006bc620006f9565b5b50919050565b620006ce826200076b565b810181811067ffffffffffffffff82111715620006f057620006ef62000728565b5b80604052505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f55736572206973206e6f7420616e2061646d696e000000000000000000000000600082015250565b614ef580620007b56000396000f3fe6080604052600436106102295760003560e01c806375b238fc11610123578063b88d4fde116100ab578063cf55bcb71161006f578063cf55bcb714610891578063d547741f146108bc578063e985e9c5146108e5578063f51bdcef14610922578063fb332d0c1461094b576102cf565b8063b88d4fde146107b9578063c517b4a5146107e2578063c7af2d42146107fe578063c87b56dd14610829578063ccd5f6a214610866576102cf565b806391d14854116100f257806391d14854146106d457806395d89b4114610711578063a217fddf1461073c578063a22cb46514610767578063a8e459f514610790576102cf565b806375b238fc1461063e5780637dd3684614610669578063853828b6146106925780638bdd33de146106a9576102cf565b80632f2ff15d116101b157806355f804b31161017557806355f804b3146105495780636352211e1461057257806370480275146105af578063708cdfac146105d857806370a0823114610601576102cf565b80632f2ff15d1461048757806332a93a3a146104b057806335cbc814146104cc57806336568abe146104f757806342842e0e14610520576102cf565b80631785f53c116101f85780631785f53c146103a257806318160ddd146103cb57806323b872dd146103f6578063248a9ca31461041f578063251ac55f1461045c576102cf565b806301ffc9a7146102d457806306fdde0314610311578063081812fc1461033c578063095ea7b314610379576102cf565b366102cf5760085461023b600f610976565b1061027b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161027290614300565b60405180910390fd5b66038d7ea4c680003410156102c5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016102bc906140c0565b60405180910390fd5b6102cd610984565b005b600080fd5b3480156102e057600080fd5b506102fb60048036038101906102f69190613943565b610c8d565b6040516103089190613fe8565b60405180910390f35b34801561031d57600080fd5b50610326610c9f565b604051610333919061401e565b60405180910390f35b34801561034857600080fd5b50610363600480360381019061035e91906139e6565b610d31565b6040516103709190613f81565b60405180910390f35b34801561038557600080fd5b506103a0600480360381019061039b9190613896565b610db6565b005b3480156103ae57600080fd5b506103c960048036038101906103c49190613713565b610ece565b005b3480156103d757600080fd5b506103e0610f78565b6040516103ed9190614360565b60405180910390f35b34801561040257600080fd5b5061041d60048036038101906104189190613780565b610fb1565b005b34801561042b57600080fd5b50610446600480360381019061044191906138d6565b611011565b6040516104539190614003565b60405180910390f35b34801561046857600080fd5b50610471611031565b60405161047e9190614360565b60405180910390f35b34801561049357600080fd5b506104ae60048036038101906104a99190613903565b611037565b005b6104ca60048036038101906104c59190613713565b611058565b005b3480156104d857600080fd5b506104e1611238565b6040516104ee9190614360565b60405180910390f35b34801561050357600080fd5b5061051e60048036038101906105199190613903565b611249565b005b34801561052c57600080fd5b5061054760048036038101906105429190613780565b6112cc565b005b34801561055557600080fd5b50610570600480360381019061056b919061399d565b6112ec565b005b34801561057e57600080fd5b50610599600480360381019061059491906139e6565b611383565b6040516105a69190613f81565b60405180910390f35b3480156105bb57600080fd5b506105d660048036038101906105d19190613713565b611435565b005b3480156105e457600080fd5b506105ff60048036038101906105fa9190613856565b6114df565b005b34801561060d57600080fd5b5061062860048036038101906106239190613713565b6115b7565b6040516106359190614360565b60405180910390f35b34801561064a57600080fd5b5061065361166f565b6040516106609190614003565b60405180910390f35b34801561067557600080fd5b50610690600480360381019061068b9190613713565b611693565b005b34801561069e57600080fd5b506106a7611754565b005b3480156106b557600080fd5b506106be61185d565b6040516106cb9190613f81565b60405180910390f35b3480156106e057600080fd5b506106fb60048036038101906106f69190613903565b611887565b6040516107089190613fe8565b60405180910390f35b34801561071d57600080fd5b506107266118f2565b604051610733919061401e565b60405180910390f35b34801561074857600080fd5b50610751611984565b60405161075e9190614003565b60405180910390f35b34801561077357600080fd5b5061078e60048036038101906107899190613856565b61198b565b005b34801561079c57600080fd5b506107b760048036038101906107b29190613713565b6119a1565b005b3480156107c557600080fd5b506107e060048036038101906107db91906137d3565b611a62565b005b6107fc60048036038101906107f79190613713565b611ac4565b005b34801561080a57600080fd5b50610813611c72565b6040516108209190614360565b60405180910390f35b34801561083557600080fd5b50610850600480360381019061084b91906139e6565b611c83565b60405161085d919061401e565b60405180910390f35b34801561087257600080fd5b5061087b611d2a565b6040516108889190614360565b60405180910390f35b34801561089d57600080fd5b506108a6611d30565b6040516108b39190614360565b60405180910390f35b3480156108c857600080fd5b506108e360048036038101906108de9190613903565b611d41565b005b3480156108f157600080fd5b5061090c60048036038101906109079190613740565b611d62565b6040516109199190613fe8565b60405180910390f35b34801561092e57600080fd5b5061094960048036038101906109449190613a40565b611df6565b005b34801561095757600080fd5b50610960611f2c565b60405161096d9190614360565b60405180910390f35b600081600001549050919050565b600260065414156109ca576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109c190614320565b60405180910390fd5b600260068190555060006008546109e1600f610976565b1015610a03576109f1600f610976565b6008546109fe9190614526565b610a06565b60005b905060008111610a4b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a4290614300565b60405180910390fd5b601260003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1615610ad8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610acf906140a0565b60405180910390fd5b6000610ae333611f32565b90506000600b5434610af5919061449b565b9050600082821115610b075782610b09565b815b9050600083600b54610b1b91906144cc565b90506000813411610b2d576000610b3a565b8134610b399190614526565b5b9050858311610bac57610b4f33846000612143565b6001601260003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550610c2c565b610bb833876000612143565b600b548685610bc79190614526565b610bd191906144cc565b90506001601260003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055505b6000811115610c7d573373ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f19350505050158015610c7b573d6000803e3d6000fd5b505b5050505050506001600681905550565b6000610c988261222c565b9050919050565b606060008054610cae90614644565b80601f0160208091040260200160405190810160405280929190818152602001828054610cda90614644565b8015610d275780601f10610cfc57610100808354040283529160200191610d27565b820191906000526020600020905b815481529060010190602001808311610d0a57829003601f168201915b5050505050905090565b6000610d3c826122a6565b610d7b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d7290614220565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610dc182611383565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610e32576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e2990614260565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610e51612312565b73ffffffffffffffffffffffffffffffffffffffff161480610e805750610e7f81610e7a612312565b611d62565b5b610ebf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610eb6906141a0565b60405180910390fd5b610ec9838361231a565b505050565b610ef87fa49807205ce4d355092ef5a8a18f56e8913cf4a201fbe287825b095693c2177533611887565b80610f0c5750610f0b6000801b33611887565b5b610f4b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f4290614280565b60405180910390fd5b610f757fa49807205ce4d355092ef5a8a18f56e8913cf4a201fbe287825b095693c21775826123d3565b50565b6000610f846011610976565b610f8e6010610976565b610f98600f610976565b610fa29190614445565b610fac9190614445565b905090565b610fc2610fbc612312565b826124b5565b611001576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ff8906142c0565b60405180910390fd5b61100c838383612593565b505050565b600060076000838152602001908152602001600020600101549050919050565b600a5481565b61104082611011565b611049816127fa565b611053838361280e565b505050565b601460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146110e8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110df906142e0565b60405180910390fd5b60006009546110f76010610976565b1015611119576111076010610976565b6009546111149190614526565b61111c565b60005b905060008111611161576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611158906142a0565b60405180910390fd5b6000600c5434611171919061449b565b90506000600c543411611185576000611194565b600c543461119391906146f0565b5b90508282116111ae576111a984836001612143565b6111e1565b6111ba84846001612143565b600c5483836111c99190614526565b6111d391906144cc565b816111de9190614445565b90505b6000811115611232578373ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f19350505050158015611230573d6000803e3d6000fd5b505b50505050565b6000611244600f610976565b905090565b611251612312565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16146112be576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112b590614340565b60405180910390fd5b6112c882826123d3565b5050565b6112e783838360405180602001604052806000815250611a62565b505050565b6113167fa49807205ce4d355092ef5a8a18f56e8913cf4a201fbe287825b095693c2177533611887565b8061132a57506113296000801b33611887565b5b611369576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161136090614280565b60405180910390fd5b806013908051906020019061137f9291906134fd565b5050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561142c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611423906141e0565b60405180910390fd5b80915050919050565b61145f7fa49807205ce4d355092ef5a8a18f56e8913cf4a201fbe287825b095693c2177533611887565b8061147357506114726000801b33611887565b5b6114b2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114a990614280565b60405180910390fd5b6114dc7fa49807205ce4d355092ef5a8a18f56e8913cf4a201fbe287825b095693c217758261280e565b50565b6115097fa49807205ce4d355092ef5a8a18f56e8913cf4a201fbe287825b095693c2177533611887565b8061151d575061151c6000801b33611887565b5b61155c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161155390614280565b60405180910390fd5b80601260008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055505050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611628576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161161f906141c0565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b7fa49807205ce4d355092ef5a8a18f56e8913cf4a201fbe287825b095693c2177581565b6116bd7fa49807205ce4d355092ef5a8a18f56e8913cf4a201fbe287825b095693c2177533611887565b806116d157506116d06000801b33611887565b5b611710576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161170790614280565b60405180910390fd5b80601460006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b61177e7fa49807205ce4d355092ef5a8a18f56e8913cf4a201fbe287825b095693c2177533611887565b8061179257506117916000801b33611887565b5b6117d1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117c890614280565b60405180910390fd5b60004711611814576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161180b90614100565b60405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff166108fc479081150290604051600060405180830381858888f1935050505015801561185a573d6000803e3d6000fd5b50565b6000601460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60006007600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b60606001805461190190614644565b80601f016020809104026020016040519081016040528092919081815260200182805461192d90614644565b801561197a5780601f1061194f5761010080835404028352916020019161197a565b820191906000526020600020905b81548152906001019060200180831161195d57829003601f168201915b5050505050905090565b6000801b81565b61199d611996612312565b83836128ef565b5050565b6119cb7fa49807205ce4d355092ef5a8a18f56e8913cf4a201fbe287825b095693c2177533611887565b806119df57506119de6000801b33611887565b5b611a1e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a1590614280565b60405180910390fd5b80601560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b611a73611a6d612312565b836124b5565b611ab2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611aa9906142c0565b60405180910390fd5b611abe84848484612a5c565b50505050565b601560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614611b54576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b4b906142e0565b60405180910390fd5b6000600a54611b636011610976565b1015611b8557611b736011610976565b600a54611b809190614526565b611b88565b60005b905060008111611bcd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bc490614180565b60405180910390fd5b6000600d543411611bdf576000611bee565b600d5434611bed9190614526565b5b90506000821115611c0b57611c068360016002612143565b611c1c565b600d5481611c199190614445565b90505b6000811115611c6d578273ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f19350505050158015611c6b573d6000803e3d6000fd5b505b505050565b6000611c7e6011610976565b905090565b6060611c8e826122a6565b611ccd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cc490614240565b60405180910390fd5b6000611cd7612ab8565b90506000815111611cf75760405180602001604052806000815250611d22565b80611d0184612b4a565b604051602001611d12929190613f23565b6040516020818303038152906040525b915050919050565b60095481565b6000611d3c6010610976565b905090565b611d4a82611011565b611d53816127fa565b611d5d83836123d3565b505050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b611e207fa49807205ce4d355092ef5a8a18f56e8913cf4a201fbe287825b095693c2177533611887565b80611e345750611e336000801b33611887565b5b611e73576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e6a90614280565b60405180910390fd5b6001831415611e915780600854611e8a9190614526565b6008819055505b6002831415611eaf5780600954611ea89190614526565b6009819055505b6003831415611ecd5780600a54611ec69190614526565b600a819055505b6001821415611eeb5780600854611ee49190614445565b6008819055505b6002821415611f095780600954611f029190614445565b6009819055505b6003821415611f275780600a54611f209190614445565b600a819055505b505050565b60085481565b6000807396fc56721d2b79485692350014875b3b67cb00eb73ffffffffffffffffffffffffffffffffffffffff166370a08231846040518263ffffffff1660e01b8152600401611f829190613f81565b60206040518083038186803b158015611f9a57600080fd5b505afa158015611fae573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611fd29190613a13565b9050600073daeecd365bcec74656bd4068879db469e815641d73ffffffffffffffffffffffffffffffffffffffff166370a08231856040518263ffffffff1660e01b81526004016120239190613f81565b60206040518083038186803b15801561203b57600080fd5b505afa15801561204f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906120739190613a13565b9050600073b183166b4197c61e9410066c1d24e005b6e4755b73ffffffffffffffffffffffffffffffffffffffff166370a08231866040518263ffffffff1660e01b81526004016120c49190613f81565b60206040518083038186803b1580156120dc57600080fd5b505afa1580156120f0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906121149190613a13565b905080600283612124919061449b565b8461212f9190614445565b6121399190614445565b9350505050919050565b6000600190505b8281116122265760008214801561216c5750600854612169600f610976565b10155b8061218e575060018214801561218d575060095461218a6010610976565b10155b5b806121b057506002821480156121af5750600a546121ac6011610976565b10155b5b156121ba57612226565b6121c4600e612cab565b60008214156121dc576121d7600f612cab565b612200565b60018214156121f4576121ef6010612cab565b6121ff565b6121fe6011612cab565b5b5b6122138461220e600e610976565b612cc1565b808061221e906146a7565b91505061214a565b50505050565b60007f7965db0b000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061229f575061229e82612cdf565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff1661238d83611383565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6123dd8282611887565b156124b15760006007600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550612456612312565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b60405160405180910390a45b5050565b60006124c0826122a6565b6124ff576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124f690614160565b60405180910390fd5b600061250a83611383565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16148061254c575061254b8185611d62565b5b8061258a57508373ffffffffffffffffffffffffffffffffffffffff1661257284610d31565b73ffffffffffffffffffffffffffffffffffffffff16145b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff166125b382611383565b73ffffffffffffffffffffffffffffffffffffffff1614612609576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161260090614080565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612679576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161267090614120565b60405180910390fd5b612684838383612dc1565b61268f60008261231a565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546126df9190614526565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546127369190614445565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46127f5838383612dc6565b505050565b61280b81612806612312565b612dcb565b50565b6128188282611887565b6128eb5760016007600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550612890612312565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45b5050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141561295e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161295590614140565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051612a4f9190613fe8565b60405180910390a3505050565b612a67848484612593565b612a7384848484612e68565b612ab2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612aa990614060565b60405180910390fd5b50505050565b606060138054612ac790614644565b80601f0160208091040260200160405190810160405280929190818152602001828054612af390614644565b8015612b405780601f10612b1557610100808354040283529160200191612b40565b820191906000526020600020905b815481529060010190602001808311612b2357829003601f168201915b5050505050905090565b60606000821415612b92576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612ca6565b600082905060005b60008214612bc4578080612bad906146a7565b915050600a82612bbd919061449b565b9150612b9a565b60008167ffffffffffffffff811115612be057612bdf6147dd565b5b6040519080825280601f01601f191660200182016040528015612c125781602001600182028036833780820191505090505b5090505b60008514612c9f57600182612c2b9190614526565b9150600a85612c3a91906146f0565b6030612c469190614445565b60f81b818381518110612c5c57612c5b6147ae565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85612c98919061449b565b9450612c16565b8093505050505b919050565b6001816000016000828254019250508190555050565b612cdb828260405180602001604052806000815250612fff565b5050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480612daa57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80612dba5750612db98261305a565b5b9050919050565b505050565b505050565b612dd58282611887565b612e6457612dfa8173ffffffffffffffffffffffffffffffffffffffff1660146130c4565b612e088360001c60206130c4565b604051602001612e19929190613f47565b6040516020818303038152906040526040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612e5b919061401e565b60405180910390fd5b5050565b6000612e898473ffffffffffffffffffffffffffffffffffffffff16613300565b15612ff2578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612eb2612312565b8786866040518563ffffffff1660e01b8152600401612ed49493929190613f9c565b602060405180830381600087803b158015612eee57600080fd5b505af1925050508015612f1f57506040513d601f19601f82011682018060405250810190612f1c9190613970565b60015b612fa2573d8060008114612f4f576040519150601f19603f3d011682016040523d82523d6000602084013e612f54565b606091505b50600081511415612f9a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612f9190614060565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050612ff7565b600190505b949350505050565b6130098383613323565b6130166000848484612e68565b613055576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161304c90614060565b60405180910390fd5b505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b6060600060028360026130d791906144cc565b6130e19190614445565b67ffffffffffffffff8111156130fa576130f96147dd565b5b6040519080825280601f01601f19166020018201604052801561312c5781602001600182028036833780820191505090505b5090507f300000000000000000000000000000000000000000000000000000000000000081600081518110613164576131636147ae565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053507f7800000000000000000000000000000000000000000000000000000000000000816001815181106131c8576131c76147ae565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053506000600184600261320891906144cc565b6132129190614445565b90505b60018111156132b2577f3031323334353637383961626364656600000000000000000000000000000000600f861660108110613254576132536147ae565b5b1a60f81b82828151811061326b5761326a6147ae565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600485901c9450806132ab9061461a565b9050613215565b50600084146132f6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016132ed90614040565b60405180910390fd5b8091505092915050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415613393576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161338a90614200565b60405180910390fd5b61339c816122a6565b156133dc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016133d3906140e0565b60405180910390fd5b6133e860008383612dc1565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546134389190614445565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46134f960008383612dc6565b5050565b82805461350990614644565b90600052602060002090601f01602090048101928261352b5760008555613572565b82601f1061354457805160ff1916838001178555613572565b82800160010185558215613572579182015b82811115613571578251825591602001919060010190613556565b5b50905061357f9190613583565b5090565b5b8082111561359c576000816000905550600101613584565b5090565b60006135b36135ae846143a0565b61437b565b9050828152602081018484840111156135cf576135ce614811565b5b6135da8482856145d8565b509392505050565b60006135f56135f0846143d1565b61437b565b90508281526020810184848401111561361157613610614811565b5b61361c8482856145d8565b509392505050565b60008135905061363381614e4c565b92915050565b60008135905061364881614e63565b92915050565b60008135905061365d81614e7a565b92915050565b60008135905061367281614e91565b92915050565b60008151905061368781614e91565b92915050565b600082601f8301126136a2576136a161480c565b5b81356136b28482602086016135a0565b91505092915050565b600082601f8301126136d0576136cf61480c565b5b81356136e08482602086016135e2565b91505092915050565b6000813590506136f881614ea8565b92915050565b60008151905061370d81614ea8565b92915050565b6000602082840312156137295761372861481b565b5b600061373784828501613624565b91505092915050565b600080604083850312156137575761375661481b565b5b600061376585828601613624565b925050602061377685828601613624565b9150509250929050565b6000806000606084860312156137995761379861481b565b5b60006137a786828701613624565b93505060206137b886828701613624565b92505060406137c9868287016136e9565b9150509250925092565b600080600080608085870312156137ed576137ec61481b565b5b60006137fb87828801613624565b945050602061380c87828801613624565b935050604061381d878288016136e9565b925050606085013567ffffffffffffffff81111561383e5761383d614816565b5b61384a8782880161368d565b91505092959194509250565b6000806040838503121561386d5761386c61481b565b5b600061387b85828601613624565b925050602061388c85828601613639565b9150509250929050565b600080604083850312156138ad576138ac61481b565b5b60006138bb85828601613624565b92505060206138cc858286016136e9565b9150509250929050565b6000602082840312156138ec576138eb61481b565b5b60006138fa8482850161364e565b91505092915050565b6000806040838503121561391a5761391961481b565b5b60006139288582860161364e565b925050602061393985828601613624565b9150509250929050565b6000602082840312156139595761395861481b565b5b600061396784828501613663565b91505092915050565b6000602082840312156139865761398561481b565b5b600061399484828501613678565b91505092915050565b6000602082840312156139b3576139b261481b565b5b600082013567ffffffffffffffff8111156139d1576139d0614816565b5b6139dd848285016136bb565b91505092915050565b6000602082840312156139fc576139fb61481b565b5b6000613a0a848285016136e9565b91505092915050565b600060208284031215613a2957613a2861481b565b5b6000613a37848285016136fe565b91505092915050565b600080600060608486031215613a5957613a5861481b565b5b6000613a67868287016136e9565b9350506020613a78868287016136e9565b9250506040613a89868287016136e9565b9150509250925092565b613a9c8161455a565b82525050565b613aab8161456c565b82525050565b613aba81614578565b82525050565b6000613acb82614402565b613ad58185614418565b9350613ae58185602086016145e7565b613aee81614820565b840191505092915050565b6000613b048261440d565b613b0e8185614429565b9350613b1e8185602086016145e7565b613b2781614820565b840191505092915050565b6000613b3d8261440d565b613b47818561443a565b9350613b578185602086016145e7565b80840191505092915050565b6000613b70602083614429565b9150613b7b82614831565b602082019050919050565b6000613b93603283614429565b9150613b9e8261485a565b604082019050919050565b6000613bb6602583614429565b9150613bc1826148a9565b604082019050919050565b6000613bd9601683614429565b9150613be4826148f8565b602082019050919050565b6000613bfc601283614429565b9150613c0782614921565b602082019050919050565b6000613c1f601c83614429565b9150613c2a8261494a565b602082019050919050565b6000613c42600c83614429565b9150613c4d82614973565b602082019050919050565b6000613c65602483614429565b9150613c708261499c565b604082019050919050565b6000613c88601983614429565b9150613c93826149eb565b602082019050919050565b6000613cab602c83614429565b9150613cb682614a14565b604082019050919050565b6000613cce601083614429565b9150613cd982614a63565b602082019050919050565b6000613cf1603883614429565b9150613cfc82614a8c565b604082019050919050565b6000613d14602a83614429565b9150613d1f82614adb565b604082019050919050565b6000613d37602983614429565b9150613d4282614b2a565b604082019050919050565b6000613d5a602083614429565b9150613d6582614b79565b602082019050919050565b6000613d7d602c83614429565b9150613d8882614ba2565b604082019050919050565b6000613da0602f83614429565b9150613dab82614bf1565b604082019050919050565b6000613dc3602183614429565b9150613dce82614c40565b604082019050919050565b6000613de6601483614429565b9150613df182614c8f565b602082019050919050565b6000613e09601483614429565b9150613e1482614cb8565b602082019050919050565b6000613e2c603183614429565b9150613e3782614ce1565b604082019050919050565b6000613e4f60178361443a565b9150613e5a82614d30565b601782019050919050565b6000613e72600e83614429565b9150613e7d82614d59565b602082019050919050565b6000613e95601583614429565b9150613ea082614d82565b602082019050919050565b6000613eb8601f83614429565b9150613ec382614dab565b602082019050919050565b6000613edb60118361443a565b9150613ee682614dd4565b601182019050919050565b6000613efe602f83614429565b9150613f0982614dfd565b604082019050919050565b613f1d816145ce565b82525050565b6000613f2f8285613b32565b9150613f3b8284613b32565b91508190509392505050565b6000613f5282613e42565b9150613f5e8285613b32565b9150613f6982613ece565b9150613f758284613b32565b91508190509392505050565b6000602082019050613f966000830184613a93565b92915050565b6000608082019050613fb16000830187613a93565b613fbe6020830186613a93565b613fcb6040830185613f14565b8181036060830152613fdd8184613ac0565b905095945050505050565b6000602082019050613ffd6000830184613aa2565b92915050565b60006020820190506140186000830184613ab1565b92915050565b600060208201905081810360008301526140388184613af9565b905092915050565b6000602082019050818103600083015261405981613b63565b9050919050565b6000602082019050818103600083015261407981613b86565b9050919050565b6000602082019050818103600083015261409981613ba9565b9050919050565b600060208201905081810360008301526140b981613bcc565b9050919050565b600060208201905081810360008301526140d981613bef565b9050919050565b600060208201905081810360008301526140f981613c12565b9050919050565b6000602082019050818103600083015261411981613c35565b9050919050565b6000602082019050818103600083015261413981613c58565b9050919050565b6000602082019050818103600083015261415981613c7b565b9050919050565b6000602082019050818103600083015261417981613c9e565b9050919050565b6000602082019050818103600083015261419981613cc1565b9050919050565b600060208201905081810360008301526141b981613ce4565b9050919050565b600060208201905081810360008301526141d981613d07565b9050919050565b600060208201905081810360008301526141f981613d2a565b9050919050565b6000602082019050818103600083015261421981613d4d565b9050919050565b6000602082019050818103600083015261423981613d70565b9050919050565b6000602082019050818103600083015261425981613d93565b9050919050565b6000602082019050818103600083015261427981613db6565b9050919050565b6000602082019050818103600083015261429981613dd9565b9050919050565b600060208201905081810360008301526142b981613dfc565b9050919050565b600060208201905081810360008301526142d981613e1f565b9050919050565b600060208201905081810360008301526142f981613e65565b9050919050565b6000602082019050818103600083015261431981613e88565b9050919050565b6000602082019050818103600083015261433981613eab565b9050919050565b6000602082019050818103600083015261435981613ef1565b9050919050565b60006020820190506143756000830184613f14565b92915050565b6000614385614396565b90506143918282614676565b919050565b6000604051905090565b600067ffffffffffffffff8211156143bb576143ba6147dd565b5b6143c482614820565b9050602081019050919050565b600067ffffffffffffffff8211156143ec576143eb6147dd565b5b6143f582614820565b9050602081019050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b6000614450826145ce565b915061445b836145ce565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156144905761448f614721565b5b828201905092915050565b60006144a6826145ce565b91506144b1836145ce565b9250826144c1576144c0614750565b5b828204905092915050565b60006144d7826145ce565b91506144e2836145ce565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561451b5761451a614721565b5b828202905092915050565b6000614531826145ce565b915061453c836145ce565b92508282101561454f5761454e614721565b5b828203905092915050565b6000614565826145ae565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b838110156146055780820151818401526020810190506145ea565b83811115614614576000848401525b50505050565b6000614625826145ce565b9150600082141561463957614638614721565b5b600182039050919050565b6000600282049050600182168061465c57607f821691505b602082108114156146705761466f61477f565b5b50919050565b61467f82614820565b810181811067ffffffffffffffff8211171561469e5761469d6147dd565b5b80604052505050565b60006146b2826145ce565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156146e5576146e4614721565b5b600182019050919050565b60006146fb826145ce565b9150614706836145ce565b92508261471657614715614750565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f537472696e67733a20686578206c656e67746820696e73756666696369656e74600082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4552433732313a207472616e736665722066726f6d20696e636f72726563742060008201527f6f776e6572000000000000000000000000000000000000000000000000000000602082015250565b7f414c52454144595f4c4f59414c54595f4d494e54454400000000000000000000600082015250565b7f494e53554646494349454e545f46554e44530000000000000000000000000000600082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f5a45524f5f42414c414e43450000000000000000000000000000000000000000600082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f574c5f4d494e545f534f4c445f4f555400000000000000000000000000000000600082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b7f55736572206973206e6f7420616e2061646d696e000000000000000000000000600082015250565b7f5055424c49435f4d494e545f534f4c445f4f5554000000000000000000000000600082015250565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f416363657373436f6e74726f6c3a206163636f756e7420000000000000000000600082015250565b7f494e56414c49445f53454e444552000000000000000000000000000000000000600082015250565b7f4c4f59414c54595f4d494e545f534f4c445f4f55540000000000000000000000600082015250565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b7f206973206d697373696e6720726f6c6520000000000000000000000000000000600082015250565b7f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560008201527f20726f6c657320666f722073656c660000000000000000000000000000000000602082015250565b614e558161455a565b8114614e6057600080fd5b50565b614e6c8161456c565b8114614e7757600080fd5b50565b614e8381614578565b8114614e8e57600080fd5b50565b614e9a81614582565b8114614ea557600080fd5b50565b614eb1816145ce565b8114614ebc57600080fd5b5056fea2646970667358221220e807c24e031e1559624b6ac1c165b7e4b50687562933975100096c0842f04ed964736f6c634300080700330000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000003068747470733a2f2f73746f726167652e676f6f676c65617069732e636f6d2f6363732d6e66742f6d657461646174612f00000000000000000000000000000000

Deployed Bytecode

0x6080604052600436106102295760003560e01c806375b238fc11610123578063b88d4fde116100ab578063cf55bcb71161006f578063cf55bcb714610891578063d547741f146108bc578063e985e9c5146108e5578063f51bdcef14610922578063fb332d0c1461094b576102cf565b8063b88d4fde146107b9578063c517b4a5146107e2578063c7af2d42146107fe578063c87b56dd14610829578063ccd5f6a214610866576102cf565b806391d14854116100f257806391d14854146106d457806395d89b4114610711578063a217fddf1461073c578063a22cb46514610767578063a8e459f514610790576102cf565b806375b238fc1461063e5780637dd3684614610669578063853828b6146106925780638bdd33de146106a9576102cf565b80632f2ff15d116101b157806355f804b31161017557806355f804b3146105495780636352211e1461057257806370480275146105af578063708cdfac146105d857806370a0823114610601576102cf565b80632f2ff15d1461048757806332a93a3a146104b057806335cbc814146104cc57806336568abe146104f757806342842e0e14610520576102cf565b80631785f53c116101f85780631785f53c146103a257806318160ddd146103cb57806323b872dd146103f6578063248a9ca31461041f578063251ac55f1461045c576102cf565b806301ffc9a7146102d457806306fdde0314610311578063081812fc1461033c578063095ea7b314610379576102cf565b366102cf5760085461023b600f610976565b1061027b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161027290614300565b60405180910390fd5b66038d7ea4c680003410156102c5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016102bc906140c0565b60405180910390fd5b6102cd610984565b005b600080fd5b3480156102e057600080fd5b506102fb60048036038101906102f69190613943565b610c8d565b6040516103089190613fe8565b60405180910390f35b34801561031d57600080fd5b50610326610c9f565b604051610333919061401e565b60405180910390f35b34801561034857600080fd5b50610363600480360381019061035e91906139e6565b610d31565b6040516103709190613f81565b60405180910390f35b34801561038557600080fd5b506103a0600480360381019061039b9190613896565b610db6565b005b3480156103ae57600080fd5b506103c960048036038101906103c49190613713565b610ece565b005b3480156103d757600080fd5b506103e0610f78565b6040516103ed9190614360565b60405180910390f35b34801561040257600080fd5b5061041d60048036038101906104189190613780565b610fb1565b005b34801561042b57600080fd5b50610446600480360381019061044191906138d6565b611011565b6040516104539190614003565b60405180910390f35b34801561046857600080fd5b50610471611031565b60405161047e9190614360565b60405180910390f35b34801561049357600080fd5b506104ae60048036038101906104a99190613903565b611037565b005b6104ca60048036038101906104c59190613713565b611058565b005b3480156104d857600080fd5b506104e1611238565b6040516104ee9190614360565b60405180910390f35b34801561050357600080fd5b5061051e60048036038101906105199190613903565b611249565b005b34801561052c57600080fd5b5061054760048036038101906105429190613780565b6112cc565b005b34801561055557600080fd5b50610570600480360381019061056b919061399d565b6112ec565b005b34801561057e57600080fd5b50610599600480360381019061059491906139e6565b611383565b6040516105a69190613f81565b60405180910390f35b3480156105bb57600080fd5b506105d660048036038101906105d19190613713565b611435565b005b3480156105e457600080fd5b506105ff60048036038101906105fa9190613856565b6114df565b005b34801561060d57600080fd5b5061062860048036038101906106239190613713565b6115b7565b6040516106359190614360565b60405180910390f35b34801561064a57600080fd5b5061065361166f565b6040516106609190614003565b60405180910390f35b34801561067557600080fd5b50610690600480360381019061068b9190613713565b611693565b005b34801561069e57600080fd5b506106a7611754565b005b3480156106b557600080fd5b506106be61185d565b6040516106cb9190613f81565b60405180910390f35b3480156106e057600080fd5b506106fb60048036038101906106f69190613903565b611887565b6040516107089190613fe8565b60405180910390f35b34801561071d57600080fd5b506107266118f2565b604051610733919061401e565b60405180910390f35b34801561074857600080fd5b50610751611984565b60405161075e9190614003565b60405180910390f35b34801561077357600080fd5b5061078e60048036038101906107899190613856565b61198b565b005b34801561079c57600080fd5b506107b760048036038101906107b29190613713565b6119a1565b005b3480156107c557600080fd5b506107e060048036038101906107db91906137d3565b611a62565b005b6107fc60048036038101906107f79190613713565b611ac4565b005b34801561080a57600080fd5b50610813611c72565b6040516108209190614360565b60405180910390f35b34801561083557600080fd5b50610850600480360381019061084b91906139e6565b611c83565b60405161085d919061401e565b60405180910390f35b34801561087257600080fd5b5061087b611d2a565b6040516108889190614360565b60405180910390f35b34801561089d57600080fd5b506108a6611d30565b6040516108b39190614360565b60405180910390f35b3480156108c857600080fd5b506108e360048036038101906108de9190613903565b611d41565b005b3480156108f157600080fd5b5061090c60048036038101906109079190613740565b611d62565b6040516109199190613fe8565b60405180910390f35b34801561092e57600080fd5b5061094960048036038101906109449190613a40565b611df6565b005b34801561095757600080fd5b50610960611f2c565b60405161096d9190614360565b60405180910390f35b600081600001549050919050565b600260065414156109ca576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109c190614320565b60405180910390fd5b600260068190555060006008546109e1600f610976565b1015610a03576109f1600f610976565b6008546109fe9190614526565b610a06565b60005b905060008111610a4b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a4290614300565b60405180910390fd5b601260003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1615610ad8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610acf906140a0565b60405180910390fd5b6000610ae333611f32565b90506000600b5434610af5919061449b565b9050600082821115610b075782610b09565b815b9050600083600b54610b1b91906144cc565b90506000813411610b2d576000610b3a565b8134610b399190614526565b5b9050858311610bac57610b4f33846000612143565b6001601260003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550610c2c565b610bb833876000612143565b600b548685610bc79190614526565b610bd191906144cc565b90506001601260003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055505b6000811115610c7d573373ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f19350505050158015610c7b573d6000803e3d6000fd5b505b5050505050506001600681905550565b6000610c988261222c565b9050919050565b606060008054610cae90614644565b80601f0160208091040260200160405190810160405280929190818152602001828054610cda90614644565b8015610d275780601f10610cfc57610100808354040283529160200191610d27565b820191906000526020600020905b815481529060010190602001808311610d0a57829003601f168201915b5050505050905090565b6000610d3c826122a6565b610d7b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d7290614220565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610dc182611383565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610e32576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e2990614260565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610e51612312565b73ffffffffffffffffffffffffffffffffffffffff161480610e805750610e7f81610e7a612312565b611d62565b5b610ebf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610eb6906141a0565b60405180910390fd5b610ec9838361231a565b505050565b610ef87fa49807205ce4d355092ef5a8a18f56e8913cf4a201fbe287825b095693c2177533611887565b80610f0c5750610f0b6000801b33611887565b5b610f4b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f4290614280565b60405180910390fd5b610f757fa49807205ce4d355092ef5a8a18f56e8913cf4a201fbe287825b095693c21775826123d3565b50565b6000610f846011610976565b610f8e6010610976565b610f98600f610976565b610fa29190614445565b610fac9190614445565b905090565b610fc2610fbc612312565b826124b5565b611001576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ff8906142c0565b60405180910390fd5b61100c838383612593565b505050565b600060076000838152602001908152602001600020600101549050919050565b600a5481565b61104082611011565b611049816127fa565b611053838361280e565b505050565b601460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146110e8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110df906142e0565b60405180910390fd5b60006009546110f76010610976565b1015611119576111076010610976565b6009546111149190614526565b61111c565b60005b905060008111611161576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611158906142a0565b60405180910390fd5b6000600c5434611171919061449b565b90506000600c543411611185576000611194565b600c543461119391906146f0565b5b90508282116111ae576111a984836001612143565b6111e1565b6111ba84846001612143565b600c5483836111c99190614526565b6111d391906144cc565b816111de9190614445565b90505b6000811115611232578373ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f19350505050158015611230573d6000803e3d6000fd5b505b50505050565b6000611244600f610976565b905090565b611251612312565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16146112be576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112b590614340565b60405180910390fd5b6112c882826123d3565b5050565b6112e783838360405180602001604052806000815250611a62565b505050565b6113167fa49807205ce4d355092ef5a8a18f56e8913cf4a201fbe287825b095693c2177533611887565b8061132a57506113296000801b33611887565b5b611369576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161136090614280565b60405180910390fd5b806013908051906020019061137f9291906134fd565b5050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561142c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611423906141e0565b60405180910390fd5b80915050919050565b61145f7fa49807205ce4d355092ef5a8a18f56e8913cf4a201fbe287825b095693c2177533611887565b8061147357506114726000801b33611887565b5b6114b2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114a990614280565b60405180910390fd5b6114dc7fa49807205ce4d355092ef5a8a18f56e8913cf4a201fbe287825b095693c217758261280e565b50565b6115097fa49807205ce4d355092ef5a8a18f56e8913cf4a201fbe287825b095693c2177533611887565b8061151d575061151c6000801b33611887565b5b61155c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161155390614280565b60405180910390fd5b80601260008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055505050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611628576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161161f906141c0565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b7fa49807205ce4d355092ef5a8a18f56e8913cf4a201fbe287825b095693c2177581565b6116bd7fa49807205ce4d355092ef5a8a18f56e8913cf4a201fbe287825b095693c2177533611887565b806116d157506116d06000801b33611887565b5b611710576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161170790614280565b60405180910390fd5b80601460006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b61177e7fa49807205ce4d355092ef5a8a18f56e8913cf4a201fbe287825b095693c2177533611887565b8061179257506117916000801b33611887565b5b6117d1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117c890614280565b60405180910390fd5b60004711611814576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161180b90614100565b60405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff166108fc479081150290604051600060405180830381858888f1935050505015801561185a573d6000803e3d6000fd5b50565b6000601460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60006007600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b60606001805461190190614644565b80601f016020809104026020016040519081016040528092919081815260200182805461192d90614644565b801561197a5780601f1061194f5761010080835404028352916020019161197a565b820191906000526020600020905b81548152906001019060200180831161195d57829003601f168201915b5050505050905090565b6000801b81565b61199d611996612312565b83836128ef565b5050565b6119cb7fa49807205ce4d355092ef5a8a18f56e8913cf4a201fbe287825b095693c2177533611887565b806119df57506119de6000801b33611887565b5b611a1e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a1590614280565b60405180910390fd5b80601560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b611a73611a6d612312565b836124b5565b611ab2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611aa9906142c0565b60405180910390fd5b611abe84848484612a5c565b50505050565b601560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614611b54576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b4b906142e0565b60405180910390fd5b6000600a54611b636011610976565b1015611b8557611b736011610976565b600a54611b809190614526565b611b88565b60005b905060008111611bcd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bc490614180565b60405180910390fd5b6000600d543411611bdf576000611bee565b600d5434611bed9190614526565b5b90506000821115611c0b57611c068360016002612143565b611c1c565b600d5481611c199190614445565b90505b6000811115611c6d578273ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f19350505050158015611c6b573d6000803e3d6000fd5b505b505050565b6000611c7e6011610976565b905090565b6060611c8e826122a6565b611ccd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cc490614240565b60405180910390fd5b6000611cd7612ab8565b90506000815111611cf75760405180602001604052806000815250611d22565b80611d0184612b4a565b604051602001611d12929190613f23565b6040516020818303038152906040525b915050919050565b60095481565b6000611d3c6010610976565b905090565b611d4a82611011565b611d53816127fa565b611d5d83836123d3565b505050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b611e207fa49807205ce4d355092ef5a8a18f56e8913cf4a201fbe287825b095693c2177533611887565b80611e345750611e336000801b33611887565b5b611e73576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e6a90614280565b60405180910390fd5b6001831415611e915780600854611e8a9190614526565b6008819055505b6002831415611eaf5780600954611ea89190614526565b6009819055505b6003831415611ecd5780600a54611ec69190614526565b600a819055505b6001821415611eeb5780600854611ee49190614445565b6008819055505b6002821415611f095780600954611f029190614445565b6009819055505b6003821415611f275780600a54611f209190614445565b600a819055505b505050565b60085481565b6000807396fc56721d2b79485692350014875b3b67cb00eb73ffffffffffffffffffffffffffffffffffffffff166370a08231846040518263ffffffff1660e01b8152600401611f829190613f81565b60206040518083038186803b158015611f9a57600080fd5b505afa158015611fae573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611fd29190613a13565b9050600073daeecd365bcec74656bd4068879db469e815641d73ffffffffffffffffffffffffffffffffffffffff166370a08231856040518263ffffffff1660e01b81526004016120239190613f81565b60206040518083038186803b15801561203b57600080fd5b505afa15801561204f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906120739190613a13565b9050600073b183166b4197c61e9410066c1d24e005b6e4755b73ffffffffffffffffffffffffffffffffffffffff166370a08231866040518263ffffffff1660e01b81526004016120c49190613f81565b60206040518083038186803b1580156120dc57600080fd5b505afa1580156120f0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906121149190613a13565b905080600283612124919061449b565b8461212f9190614445565b6121399190614445565b9350505050919050565b6000600190505b8281116122265760008214801561216c5750600854612169600f610976565b10155b8061218e575060018214801561218d575060095461218a6010610976565b10155b5b806121b057506002821480156121af5750600a546121ac6011610976565b10155b5b156121ba57612226565b6121c4600e612cab565b60008214156121dc576121d7600f612cab565b612200565b60018214156121f4576121ef6010612cab565b6121ff565b6121fe6011612cab565b5b5b6122138461220e600e610976565b612cc1565b808061221e906146a7565b91505061214a565b50505050565b60007f7965db0b000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061229f575061229e82612cdf565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff1661238d83611383565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6123dd8282611887565b156124b15760006007600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550612456612312565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b60405160405180910390a45b5050565b60006124c0826122a6565b6124ff576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124f690614160565b60405180910390fd5b600061250a83611383565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16148061254c575061254b8185611d62565b5b8061258a57508373ffffffffffffffffffffffffffffffffffffffff1661257284610d31565b73ffffffffffffffffffffffffffffffffffffffff16145b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff166125b382611383565b73ffffffffffffffffffffffffffffffffffffffff1614612609576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161260090614080565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612679576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161267090614120565b60405180910390fd5b612684838383612dc1565b61268f60008261231a565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546126df9190614526565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546127369190614445565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46127f5838383612dc6565b505050565b61280b81612806612312565b612dcb565b50565b6128188282611887565b6128eb5760016007600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550612890612312565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45b5050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141561295e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161295590614140565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051612a4f9190613fe8565b60405180910390a3505050565b612a67848484612593565b612a7384848484612e68565b612ab2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612aa990614060565b60405180910390fd5b50505050565b606060138054612ac790614644565b80601f0160208091040260200160405190810160405280929190818152602001828054612af390614644565b8015612b405780601f10612b1557610100808354040283529160200191612b40565b820191906000526020600020905b815481529060010190602001808311612b2357829003601f168201915b5050505050905090565b60606000821415612b92576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612ca6565b600082905060005b60008214612bc4578080612bad906146a7565b915050600a82612bbd919061449b565b9150612b9a565b60008167ffffffffffffffff811115612be057612bdf6147dd565b5b6040519080825280601f01601f191660200182016040528015612c125781602001600182028036833780820191505090505b5090505b60008514612c9f57600182612c2b9190614526565b9150600a85612c3a91906146f0565b6030612c469190614445565b60f81b818381518110612c5c57612c5b6147ae565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85612c98919061449b565b9450612c16565b8093505050505b919050565b6001816000016000828254019250508190555050565b612cdb828260405180602001604052806000815250612fff565b5050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480612daa57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80612dba5750612db98261305a565b5b9050919050565b505050565b505050565b612dd58282611887565b612e6457612dfa8173ffffffffffffffffffffffffffffffffffffffff1660146130c4565b612e088360001c60206130c4565b604051602001612e19929190613f47565b6040516020818303038152906040526040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612e5b919061401e565b60405180910390fd5b5050565b6000612e898473ffffffffffffffffffffffffffffffffffffffff16613300565b15612ff2578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612eb2612312565b8786866040518563ffffffff1660e01b8152600401612ed49493929190613f9c565b602060405180830381600087803b158015612eee57600080fd5b505af1925050508015612f1f57506040513d601f19601f82011682018060405250810190612f1c9190613970565b60015b612fa2573d8060008114612f4f576040519150601f19603f3d011682016040523d82523d6000602084013e612f54565b606091505b50600081511415612f9a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612f9190614060565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050612ff7565b600190505b949350505050565b6130098383613323565b6130166000848484612e68565b613055576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161304c90614060565b60405180910390fd5b505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b6060600060028360026130d791906144cc565b6130e19190614445565b67ffffffffffffffff8111156130fa576130f96147dd565b5b6040519080825280601f01601f19166020018201604052801561312c5781602001600182028036833780820191505090505b5090507f300000000000000000000000000000000000000000000000000000000000000081600081518110613164576131636147ae565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053507f7800000000000000000000000000000000000000000000000000000000000000816001815181106131c8576131c76147ae565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053506000600184600261320891906144cc565b6132129190614445565b90505b60018111156132b2577f3031323334353637383961626364656600000000000000000000000000000000600f861660108110613254576132536147ae565b5b1a60f81b82828151811061326b5761326a6147ae565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600485901c9450806132ab9061461a565b9050613215565b50600084146132f6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016132ed90614040565b60405180910390fd5b8091505092915050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415613393576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161338a90614200565b60405180910390fd5b61339c816122a6565b156133dc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016133d3906140e0565b60405180910390fd5b6133e860008383612dc1565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546134389190614445565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46134f960008383612dc6565b5050565b82805461350990614644565b90600052602060002090601f01602090048101928261352b5760008555613572565b82601f1061354457805160ff1916838001178555613572565b82800160010185558215613572579182015b82811115613571578251825591602001919060010190613556565b5b50905061357f9190613583565b5090565b5b8082111561359c576000816000905550600101613584565b5090565b60006135b36135ae846143a0565b61437b565b9050828152602081018484840111156135cf576135ce614811565b5b6135da8482856145d8565b509392505050565b60006135f56135f0846143d1565b61437b565b90508281526020810184848401111561361157613610614811565b5b61361c8482856145d8565b509392505050565b60008135905061363381614e4c565b92915050565b60008135905061364881614e63565b92915050565b60008135905061365d81614e7a565b92915050565b60008135905061367281614e91565b92915050565b60008151905061368781614e91565b92915050565b600082601f8301126136a2576136a161480c565b5b81356136b28482602086016135a0565b91505092915050565b600082601f8301126136d0576136cf61480c565b5b81356136e08482602086016135e2565b91505092915050565b6000813590506136f881614ea8565b92915050565b60008151905061370d81614ea8565b92915050565b6000602082840312156137295761372861481b565b5b600061373784828501613624565b91505092915050565b600080604083850312156137575761375661481b565b5b600061376585828601613624565b925050602061377685828601613624565b9150509250929050565b6000806000606084860312156137995761379861481b565b5b60006137a786828701613624565b93505060206137b886828701613624565b92505060406137c9868287016136e9565b9150509250925092565b600080600080608085870312156137ed576137ec61481b565b5b60006137fb87828801613624565b945050602061380c87828801613624565b935050604061381d878288016136e9565b925050606085013567ffffffffffffffff81111561383e5761383d614816565b5b61384a8782880161368d565b91505092959194509250565b6000806040838503121561386d5761386c61481b565b5b600061387b85828601613624565b925050602061388c85828601613639565b9150509250929050565b600080604083850312156138ad576138ac61481b565b5b60006138bb85828601613624565b92505060206138cc858286016136e9565b9150509250929050565b6000602082840312156138ec576138eb61481b565b5b60006138fa8482850161364e565b91505092915050565b6000806040838503121561391a5761391961481b565b5b60006139288582860161364e565b925050602061393985828601613624565b9150509250929050565b6000602082840312156139595761395861481b565b5b600061396784828501613663565b91505092915050565b6000602082840312156139865761398561481b565b5b600061399484828501613678565b91505092915050565b6000602082840312156139b3576139b261481b565b5b600082013567ffffffffffffffff8111156139d1576139d0614816565b5b6139dd848285016136bb565b91505092915050565b6000602082840312156139fc576139fb61481b565b5b6000613a0a848285016136e9565b91505092915050565b600060208284031215613a2957613a2861481b565b5b6000613a37848285016136fe565b91505092915050565b600080600060608486031215613a5957613a5861481b565b5b6000613a67868287016136e9565b9350506020613a78868287016136e9565b9250506040613a89868287016136e9565b9150509250925092565b613a9c8161455a565b82525050565b613aab8161456c565b82525050565b613aba81614578565b82525050565b6000613acb82614402565b613ad58185614418565b9350613ae58185602086016145e7565b613aee81614820565b840191505092915050565b6000613b048261440d565b613b0e8185614429565b9350613b1e8185602086016145e7565b613b2781614820565b840191505092915050565b6000613b3d8261440d565b613b47818561443a565b9350613b578185602086016145e7565b80840191505092915050565b6000613b70602083614429565b9150613b7b82614831565b602082019050919050565b6000613b93603283614429565b9150613b9e8261485a565b604082019050919050565b6000613bb6602583614429565b9150613bc1826148a9565b604082019050919050565b6000613bd9601683614429565b9150613be4826148f8565b602082019050919050565b6000613bfc601283614429565b9150613c0782614921565b602082019050919050565b6000613c1f601c83614429565b9150613c2a8261494a565b602082019050919050565b6000613c42600c83614429565b9150613c4d82614973565b602082019050919050565b6000613c65602483614429565b9150613c708261499c565b604082019050919050565b6000613c88601983614429565b9150613c93826149eb565b602082019050919050565b6000613cab602c83614429565b9150613cb682614a14565b604082019050919050565b6000613cce601083614429565b9150613cd982614a63565b602082019050919050565b6000613cf1603883614429565b9150613cfc82614a8c565b604082019050919050565b6000613d14602a83614429565b9150613d1f82614adb565b604082019050919050565b6000613d37602983614429565b9150613d4282614b2a565b604082019050919050565b6000613d5a602083614429565b9150613d6582614b79565b602082019050919050565b6000613d7d602c83614429565b9150613d8882614ba2565b604082019050919050565b6000613da0602f83614429565b9150613dab82614bf1565b604082019050919050565b6000613dc3602183614429565b9150613dce82614c40565b604082019050919050565b6000613de6601483614429565b9150613df182614c8f565b602082019050919050565b6000613e09601483614429565b9150613e1482614cb8565b602082019050919050565b6000613e2c603183614429565b9150613e3782614ce1565b604082019050919050565b6000613e4f60178361443a565b9150613e5a82614d30565b601782019050919050565b6000613e72600e83614429565b9150613e7d82614d59565b602082019050919050565b6000613e95601583614429565b9150613ea082614d82565b602082019050919050565b6000613eb8601f83614429565b9150613ec382614dab565b602082019050919050565b6000613edb60118361443a565b9150613ee682614dd4565b601182019050919050565b6000613efe602f83614429565b9150613f0982614dfd565b604082019050919050565b613f1d816145ce565b82525050565b6000613f2f8285613b32565b9150613f3b8284613b32565b91508190509392505050565b6000613f5282613e42565b9150613f5e8285613b32565b9150613f6982613ece565b9150613f758284613b32565b91508190509392505050565b6000602082019050613f966000830184613a93565b92915050565b6000608082019050613fb16000830187613a93565b613fbe6020830186613a93565b613fcb6040830185613f14565b8181036060830152613fdd8184613ac0565b905095945050505050565b6000602082019050613ffd6000830184613aa2565b92915050565b60006020820190506140186000830184613ab1565b92915050565b600060208201905081810360008301526140388184613af9565b905092915050565b6000602082019050818103600083015261405981613b63565b9050919050565b6000602082019050818103600083015261407981613b86565b9050919050565b6000602082019050818103600083015261409981613ba9565b9050919050565b600060208201905081810360008301526140b981613bcc565b9050919050565b600060208201905081810360008301526140d981613bef565b9050919050565b600060208201905081810360008301526140f981613c12565b9050919050565b6000602082019050818103600083015261411981613c35565b9050919050565b6000602082019050818103600083015261413981613c58565b9050919050565b6000602082019050818103600083015261415981613c7b565b9050919050565b6000602082019050818103600083015261417981613c9e565b9050919050565b6000602082019050818103600083015261419981613cc1565b9050919050565b600060208201905081810360008301526141b981613ce4565b9050919050565b600060208201905081810360008301526141d981613d07565b9050919050565b600060208201905081810360008301526141f981613d2a565b9050919050565b6000602082019050818103600083015261421981613d4d565b9050919050565b6000602082019050818103600083015261423981613d70565b9050919050565b6000602082019050818103600083015261425981613d93565b9050919050565b6000602082019050818103600083015261427981613db6565b9050919050565b6000602082019050818103600083015261429981613dd9565b9050919050565b600060208201905081810360008301526142b981613dfc565b9050919050565b600060208201905081810360008301526142d981613e1f565b9050919050565b600060208201905081810360008301526142f981613e65565b9050919050565b6000602082019050818103600083015261431981613e88565b9050919050565b6000602082019050818103600083015261433981613eab565b9050919050565b6000602082019050818103600083015261435981613ef1565b9050919050565b60006020820190506143756000830184613f14565b92915050565b6000614385614396565b90506143918282614676565b919050565b6000604051905090565b600067ffffffffffffffff8211156143bb576143ba6147dd565b5b6143c482614820565b9050602081019050919050565b600067ffffffffffffffff8211156143ec576143eb6147dd565b5b6143f582614820565b9050602081019050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b6000614450826145ce565b915061445b836145ce565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156144905761448f614721565b5b828201905092915050565b60006144a6826145ce565b91506144b1836145ce565b9250826144c1576144c0614750565b5b828204905092915050565b60006144d7826145ce565b91506144e2836145ce565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561451b5761451a614721565b5b828202905092915050565b6000614531826145ce565b915061453c836145ce565b92508282101561454f5761454e614721565b5b828203905092915050565b6000614565826145ae565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b838110156146055780820151818401526020810190506145ea565b83811115614614576000848401525b50505050565b6000614625826145ce565b9150600082141561463957614638614721565b5b600182039050919050565b6000600282049050600182168061465c57607f821691505b602082108114156146705761466f61477f565b5b50919050565b61467f82614820565b810181811067ffffffffffffffff8211171561469e5761469d6147dd565b5b80604052505050565b60006146b2826145ce565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156146e5576146e4614721565b5b600182019050919050565b60006146fb826145ce565b9150614706836145ce565b92508261471657614715614750565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f537472696e67733a20686578206c656e67746820696e73756666696369656e74600082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4552433732313a207472616e736665722066726f6d20696e636f72726563742060008201527f6f776e6572000000000000000000000000000000000000000000000000000000602082015250565b7f414c52454144595f4c4f59414c54595f4d494e54454400000000000000000000600082015250565b7f494e53554646494349454e545f46554e44530000000000000000000000000000600082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f5a45524f5f42414c414e43450000000000000000000000000000000000000000600082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f574c5f4d494e545f534f4c445f4f555400000000000000000000000000000000600082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b7f55736572206973206e6f7420616e2061646d696e000000000000000000000000600082015250565b7f5055424c49435f4d494e545f534f4c445f4f5554000000000000000000000000600082015250565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f416363657373436f6e74726f6c3a206163636f756e7420000000000000000000600082015250565b7f494e56414c49445f53454e444552000000000000000000000000000000000000600082015250565b7f4c4f59414c54595f4d494e545f534f4c445f4f55540000000000000000000000600082015250565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b7f206973206d697373696e6720726f6c6520000000000000000000000000000000600082015250565b7f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560008201527f20726f6c657320666f722073656c660000000000000000000000000000000000602082015250565b614e558161455a565b8114614e6057600080fd5b50565b614e6c8161456c565b8114614e7757600080fd5b50565b614e8381614578565b8114614e8e57600080fd5b50565b614e9a81614582565b8114614ea557600080fd5b50565b614eb1816145ce565b8114614ebc57600080fd5b5056fea2646970667358221220e807c24e031e1559624b6ac1c165b7e4b50687562933975100096c0842f04ed964736f6c63430008070033

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

0000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000003068747470733a2f2f73746f726167652e676f6f676c65617069732e636f6d2f6363732d6e66742f6d657461646174612f00000000000000000000000000000000

-----Decoded View---------------
Arg [0] : initBaseURI (string): https://storage.googleapis.com/ccs-nft/metadata/

-----Encoded View---------------
4 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000020
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000030
Arg [2] : 68747470733a2f2f73746f726167652e676f6f676c65617069732e636f6d2f63
Arg [3] : 63732d6e66742f6d657461646174612f00000000000000000000000000000000


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.