ETH Price: $3,448.07 (-0.91%)
Gas: 3 Gwei

Token

WSDR ACTIVATION MINT DRIVE (WASDERDACTIVATIONDRIVE)
 

Overview

Max Total Supply

886 WASDERDACTIVATIONDRIVE

Holders

414

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Balance
2 WASDERDACTIVATIONDRIVE
0xba8D40d6E30FA96E52C56E0231C0B5c2BD651833
Loading...
Loading
Loading...
Loading
Loading...
Loading

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

Contract Source Code Verified (Exact Match)

Contract Name:
CR01ActivationDrive

Compiler Version
v0.8.9+commit.e5eed63a

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 21 : CR01ActivationDrive.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.9;

import '@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol';
import '@openzeppelin/contracts/token/ERC721/extensions/ERC721URIStorage.sol';
import '@openzeppelin/contracts/token/ERC721/extensions/ERC721Royalty.sol';
import "@openzeppelin/contracts/access/AccessControl.sol";
import "@openzeppelin/contracts/utils/Address.sol";
import "@openzeppelin/contracts/utils/Counters.sol";
import "@openzeppelin/contracts/token/ERC20/IERC20.sol";

// Ownable is needed to setup sales royalties on Open Sea
// if you are the owner of the contract you can configure sales Royalties in the Open Sea website
import "@openzeppelin/contracts/access/Ownable.sol";

contract CR01ActivationDrive is ERC721Enumerable, ERC721URIStorage, AccessControl, Ownable {
    using Counters for Counters.Counter;
    using Address for address;

    // Counter to auto increment tokenIds for each mint
    Counters.Counter private _tokenIdCounter;

    // Mapping controlling how many and address has minted
    mapping(address => uint256) private _ownerToAmountMinted;

    // Simple flag to check if the contract has been initialized or not
    bool private _initialized = false;

    // Metadata related variables
    string private _baseTokenURI = "";
    string private _mainTokenUri = "ipfs://QmZ3JvmjetyntV8CVYeyN77TvXu5XRwbPqvKEbTESTEbNM";

    // Other contracts
    address public _mysteryBoxAddr;
    address public _wasTokenAddr;
    address public _wsdrMasterAddr;
    address public _wsdrGeniusAddr;

    // Flag controlling if minting is allowed for everyone or not
    bool public _onlyMysteryBoxHoldersCanMint = true;
    bool public _onlyWasTokenHoldersCanMint = false;
    bool public _onlyWsdrMasterOrGeniusHoldersCanMint = false;
    bool public _onlyWasderNFTHoldersCanMint = false;

    // Variable holding the price to mint "aka buy" the token for a given user. Price in wei
    uint256 public _mintPrice;

    // Flag controlling if minting is allowed or not
    bool public _allowMinting = false;

    // Total amount of tokens that can be minted
    uint256 public _cap = 1200;

    // Total amount of tokens a single address can own
    uint256 public _capPerAddress = 2;

    event TokenMinted(address account, uint256 amount);
    event Withdrawn(address payee, uint256 weiAmount);

    constructor() ERC721("WSDR ACTIVATION MINT DRIVE", "WASDERDACTIVATIONDRIVE")  {
        _setupRole(DEFAULT_ADMIN_ROLE, _msgSender());
    }

    function initialize(
        address mysteryBoxAddr_,
        address wasTokenAddr_,
        address wsdrMasterAddr_,
        address wsdrGeniusAddr_,
        uint256 mintPrice_
    ) public {
        require(hasRole(DEFAULT_ADMIN_ROLE, _msgSender()), "Caller is not a admin");
        _initialized = true;
        _mintPrice = mintPrice_;
        _mysteryBoxAddr = mysteryBoxAddr_;
        _wasTokenAddr = wasTokenAddr_;
        _wsdrMasterAddr = wsdrMasterAddr_;
        _wsdrGeniusAddr = wsdrGeniusAddr_;
    }

    /**
     * OVERRIDE METHODS
     */
    function supportsInterface(bytes4 interfaceId) public view virtual 
        override(ERC721Enumerable, ERC721, AccessControl) returns (bool) {
        return super.supportsInterface(interfaceId);
    }
    
    function _beforeTokenTransfer(
        address from,
        address to,
        uint256 tokenId
    ) internal virtual override(ERC721Enumerable, ERC721)  {
        super._beforeTokenTransfer(from, to, tokenId);
    }

    /**
      * @dev Function override to disable burning the NFT
     */
    function _burn(uint256 tokenId) internal virtual override(ERC721URIStorage, ERC721)  {
        super._burn(tokenId);
    }

    /**
      * @dev Function override to make sure all NFTs actually do have the same URI for the metadata
     */
    function tokenURI(uint256) public view virtual override(ERC721URIStorage, ERC721) returns (string memory) {
        return _mainTokenUri;
    }

    /**
      * @dev Function override to make sure all NFTs actually do have the same URI for the metadata
     */
    function _baseURI() internal view virtual override(ERC721) returns (string memory) {
        return _baseTokenURI;
    }

    /**
     * Views
     */
    function getCurrentTokenId() public view returns (uint256) {
        return _tokenIdCounter.current();
    }

    function hasWasderNFT(address addr) public view returns (bool) {
        return hasMysteryBox(addr) || hasWsdrMasterOrGenius(addr);
    }

    function hasMysteryBox(address addr) public view returns (bool) {
        IERC721 MysteryBoxContract = IERC721(_mysteryBoxAddr);
        return MysteryBoxContract.balanceOf(addr) > 0;
    }

    function hasWasToken(address addr) public view returns (bool) {
        IERC20 WasTokenContract = IERC20(_wasTokenAddr);
        return WasTokenContract.balanceOf(addr) > 0;
    }

    function hasWsdrMasterOrGenius(address addr) public view returns (bool) {
        IERC721 WsdrMaster = IERC721(_wsdrMasterAddr);
        IERC721 WsdrGenius = IERC721(_wsdrGeniusAddr);
        return WsdrMaster.balanceOf(addr) > 0 || WsdrGenius.balanceOf(addr) > 0;
    }

    /**
     * Setters
     */
    function setAllowMinting(bool allowMinting_) public {
        require(hasRole(DEFAULT_ADMIN_ROLE, _msgSender()), "Caller is not a admin");
        _allowMinting = allowMinting_;
    }

    function setMintPrice(uint256 mintPrice_) public {
        require(hasRole(DEFAULT_ADMIN_ROLE, _msgSender()), "Caller is not a admin");
        _mintPrice = mintPrice_;
    }

    function setBaseURI(string memory baseTokenURI_) public {
        require(hasRole(DEFAULT_ADMIN_ROLE, _msgSender()), "Caller is not a admin");
        _baseTokenURI = baseTokenURI_;
    }

    function setCap(uint256 cap_) public {
        require(hasRole(DEFAULT_ADMIN_ROLE, _msgSender()), "Caller is not a admin");
        _cap = cap_;
    }
    
    function setCapPerAddress(uint256 capPerAddress_) public {
        require(hasRole(DEFAULT_ADMIN_ROLE, _msgSender()), "Caller is not a admin");
        _capPerAddress = capPerAddress_;
    }

    /**
      * @dev Function to set the token URI (aka metadata)
     */
    function setMainTokenURI(string memory mainTokenURI_) public {
        require(hasRole(DEFAULT_ADMIN_ROLE, _msgSender()), "Caller is not a admin");
        _mainTokenUri = mainTokenURI_;
    }

    function setOnlyMysteryBoxHoldersCanMint(bool value) public {
        require(hasRole(DEFAULT_ADMIN_ROLE, _msgSender()), "Caller is not a admin");
        _onlyMysteryBoxHoldersCanMint = value;
    }

    function setOnlyWasTokenHoldersCanMint(bool value) public {
        require(hasRole(DEFAULT_ADMIN_ROLE, _msgSender()), "Caller is not a admin");
        _onlyWasTokenHoldersCanMint = value;
    }

    function setOnlyWsdrMasterOrGeniusHoldersCanMint(bool value) public {
        require(hasRole(DEFAULT_ADMIN_ROLE, _msgSender()), "Caller is not a admin");
        _onlyWsdrMasterOrGeniusHoldersCanMint = value;
    }

    function setOnlyWasderNFTHoldersCanMint(bool value) public {
        require(hasRole(DEFAULT_ADMIN_ROLE, _msgSender()), "Caller is not a admin");
        _onlyWasderNFTHoldersCanMint = value;
    }

    function checkIfMintingIsAllowed(address mintTo) public view returns (bool) {
        require(_allowMinting, "Minting is no longer allowed");
        require(_ownerToAmountMinted[mintTo] < _capPerAddress, "Cap reached for given address");

        if (_onlyMysteryBoxHoldersCanMint) {
            require(hasMysteryBox(mintTo), "You don't have a Mystery Box");
        }

        if (_onlyWasTokenHoldersCanMint) {
            require(hasWasToken(mintTo), "You don't have a WAS Token");
        }

        if (_onlyWsdrMasterOrGeniusHoldersCanMint) {
            require(hasWsdrMasterOrGenius(mintTo), "You don't have a WSDR MASTER OR GENIUS token");
        }

        if (_onlyWasderNFTHoldersCanMint) {
            require(hasWasderNFT(mintTo), "You don't have a WASDER NFT");
        }

        return true;
    }

    /**
      * @dev Function to mint a new token with a specific TokenId
      */
    function mint(address mintTo) public virtual payable returns (bool) {
        require(_initialized, "Contract is not initialized");
        require(mintTo != address(0), "ERC721: mint to the zero address");

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

        // Even admins need to adhere to this, so we don't loose sync 
        // between the tokenIdCounter and the cap
        require(tokenId <= _cap, "Cap reached");

        // Lets make sure admins can mint as many as needed
        if (!hasRole(DEFAULT_ADMIN_ROLE, _msgSender())) {
            require(checkIfMintingIsAllowed(mintTo), "You are not allowed to mint new tokens");
            require(msg.value >= _mintPrice, "Not enough ETH sent; check price!");
        }

        _ownerToAmountMinted[mintTo] = _ownerToAmountMinted[mintTo] + 1;
        _safeMint(mintTo, tokenId);

        emit TokenMinted(mintTo, tokenId);

        return true;
    }

    function mintMany(address[] calldata mintToList) public returns (bool) {
        require(hasRole(DEFAULT_ADMIN_ROLE, _msgSender()), "Caller is not a admin");

        for (uint256 i = 0; i < mintToList.length; i++) {
            require(mintToList[i] != address(0), "ERC721: mint to the zero address");
        }
        for (uint256 i = 0; i < mintToList.length; i++) {
            // This way we can avoid the transaction getting reverted due to the fact that a contract
            // might not be able to receive ERC721 tokens.
            if (mintToList[i].isContract()) {
                continue;
            }
            mint(mintToList[i]);
        }
        return true;
    }

    function withdraw() external {
        require(hasRole(DEFAULT_ADMIN_ROLE, _msgSender()), "Caller is not a admin");
        
        uint256 balance = address(this).balance;
        
        payable(_msgSender()).transfer(balance);

        emit Withdrawn(_msgSender(), balance);
    }
}

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

import "../ERC721.sol";

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

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

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

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

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

        return super.tokenURI(tokenId);
    }

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

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

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

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

pragma solidity ^0.8.0;

import "../ERC721.sol";
import "../../common/ERC2981.sol";
import "../../../utils/introspection/ERC165.sol";

/**
 * @dev Extension of ERC721 with the ERC2981 NFT Royalty Standard, a standardized way to retrieve royalty payment
 * information.
 *
 * Royalty information can be specified globally for all token ids via {_setDefaultRoyalty}, and/or individually for
 * specific token ids via {_setTokenRoyalty}. The latter takes precedence over the first.
 *
 * IMPORTANT: ERC-2981 only specifies a way to signal royalty information and does not enforce its payment. See
 * https://eips.ethereum.org/EIPS/eip-2981#optional-royalty-payments[Rationale] in the EIP. Marketplaces are expected to
 * voluntarily pay royalties together with sales, but note that this standard is not yet widely supported.
 *
 * _Available since v4.5._
 */
abstract contract ERC721Royalty is ERC2981, ERC721 {
    /**
     * @dev See {IERC165-supportsInterface}.
     */
    function supportsInterface(bytes4 interfaceId) public view virtual override(ERC721, ERC2981) returns (bool) {
        return super.supportsInterface(interfaceId);
    }

    /**
     * @dev See {ERC721-_burn}. This override additionally clears the royalty information for the token.
     */
    function _burn(uint256 tokenId) internal virtual override {
        super._burn(tokenId);
        _resetTokenRoyalty(tokenId);
    }
}

File 5 of 21 : 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 6 of 21 : 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 7 of 21 : 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 8 of 21 : IERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.0) (token/ERC20/IERC20.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

File 10 of 21 : 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 11 of 21 : IERC721Enumerable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (token/ERC721/extensions/IERC721Enumerable.sol)

pragma solidity ^0.8.0;

import "../IERC721.sol";

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

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

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

File 12 of 21 : 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 13 of 21 : 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 14 of 21 : 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 15 of 21 : 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 16 of 21 : 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 17 of 21 : 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 18 of 21 : 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 19 of 21 : ERC2981.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.0) (token/common/ERC2981.sol)

pragma solidity ^0.8.0;

import "../../interfaces/IERC2981.sol";
import "../../utils/introspection/ERC165.sol";

/**
 * @dev Implementation of the NFT Royalty Standard, a standardized way to retrieve royalty payment information.
 *
 * Royalty information can be specified globally for all token ids via {_setDefaultRoyalty}, and/or individually for
 * specific token ids via {_setTokenRoyalty}. The latter takes precedence over the first.
 *
 * Royalty is specified as a fraction of sale price. {_feeDenominator} is overridable but defaults to 10000, meaning the
 * fee is specified in basis points by default.
 *
 * IMPORTANT: ERC-2981 only specifies a way to signal royalty information and does not enforce its payment. See
 * https://eips.ethereum.org/EIPS/eip-2981#optional-royalty-payments[Rationale] in the EIP. Marketplaces are expected to
 * voluntarily pay royalties together with sales, but note that this standard is not yet widely supported.
 *
 * _Available since v4.5._
 */
abstract contract ERC2981 is IERC2981, ERC165 {
    struct RoyaltyInfo {
        address receiver;
        uint96 royaltyFraction;
    }

    RoyaltyInfo private _defaultRoyaltyInfo;
    mapping(uint256 => RoyaltyInfo) private _tokenRoyaltyInfo;

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

    /**
     * @inheritdoc IERC2981
     */
    function royaltyInfo(uint256 _tokenId, uint256 _salePrice) public view virtual override returns (address, uint256) {
        RoyaltyInfo memory royalty = _tokenRoyaltyInfo[_tokenId];

        if (royalty.receiver == address(0)) {
            royalty = _defaultRoyaltyInfo;
        }

        uint256 royaltyAmount = (_salePrice * royalty.royaltyFraction) / _feeDenominator();

        return (royalty.receiver, royaltyAmount);
    }

    /**
     * @dev The denominator with which to interpret the fee set in {_setTokenRoyalty} and {_setDefaultRoyalty} as a
     * fraction of the sale price. Defaults to 10000 so fees are expressed in basis points, but may be customized by an
     * override.
     */
    function _feeDenominator() internal pure virtual returns (uint96) {
        return 10000;
    }

    /**
     * @dev Sets the royalty information that all ids in this contract will default to.
     *
     * Requirements:
     *
     * - `receiver` cannot be the zero address.
     * - `feeNumerator` cannot be greater than the fee denominator.
     */
    function _setDefaultRoyalty(address receiver, uint96 feeNumerator) internal virtual {
        require(feeNumerator <= _feeDenominator(), "ERC2981: royalty fee will exceed salePrice");
        require(receiver != address(0), "ERC2981: invalid receiver");

        _defaultRoyaltyInfo = RoyaltyInfo(receiver, feeNumerator);
    }

    /**
     * @dev Removes default royalty information.
     */
    function _deleteDefaultRoyalty() internal virtual {
        delete _defaultRoyaltyInfo;
    }

    /**
     * @dev Sets the royalty information for a specific token id, overriding the global default.
     *
     * Requirements:
     *
     * - `tokenId` must be already minted.
     * - `receiver` cannot be the zero address.
     * - `feeNumerator` cannot be greater than the fee denominator.
     */
    function _setTokenRoyalty(
        uint256 tokenId,
        address receiver,
        uint96 feeNumerator
    ) internal virtual {
        require(feeNumerator <= _feeDenominator(), "ERC2981: royalty fee will exceed salePrice");
        require(receiver != address(0), "ERC2981: Invalid parameters");

        _tokenRoyaltyInfo[tokenId] = RoyaltyInfo(receiver, feeNumerator);
    }

    /**
     * @dev Resets royalty information for the token id back to the global default.
     */
    function _resetTokenRoyalty(uint256 tokenId) internal virtual {
        delete _tokenRoyaltyInfo[tokenId];
    }
}

File 20 of 21 : IERC2981.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.0) (interfaces/IERC2981.sol)

pragma solidity ^0.8.0;

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

/**
 * @dev Interface for the NFT Royalty Standard.
 *
 * A standardized way to retrieve royalty payment information for non-fungible tokens (NFTs) to enable universal
 * support for royalty payments across all NFT marketplaces and ecosystem participants.
 *
 * _Available since v4.5._
 */
interface IERC2981 is IERC165 {
    /**
     * @dev Returns how much royalty is owed and to whom, based on a sale price that may be denominated in any unit of
     * exchange. The royalty amount is denominated and should be paid in that same unit of exchange.
     */
    function royaltyInfo(uint256 tokenId, uint256 salePrice)
        external
        view
        returns (address receiver, uint256 royaltyAmount);
}

File 21 of 21 : 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":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"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":false,"internalType":"address","name":"account","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"TokenMinted","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"payee","type":"address"},{"indexed":false,"internalType":"uint256","name":"weiAmount","type":"uint256"}],"name":"Withdrawn","type":"event"},{"inputs":[],"name":"DEFAULT_ADMIN_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_allowMinting","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_cap","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_capPerAddress","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_mintPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_mysteryBoxAddr","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_onlyMysteryBoxHoldersCanMint","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_onlyWasTokenHoldersCanMint","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_onlyWasderNFTHoldersCanMint","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_onlyWsdrMasterOrGeniusHoldersCanMint","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_wasTokenAddr","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_wsdrGeniusAddr","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_wsdrMasterAddr","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"mintTo","type":"address"}],"name":"checkIfMintingIsAllowed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"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":"getCurrentTokenId","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":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"grantRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"addr","type":"address"}],"name":"hasMysteryBox","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","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":"addr","type":"address"}],"name":"hasWasToken","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"addr","type":"address"}],"name":"hasWasderNFT","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"addr","type":"address"}],"name":"hasWsdrMasterOrGenius","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"mysteryBoxAddr_","type":"address"},{"internalType":"address","name":"wasTokenAddr_","type":"address"},{"internalType":"address","name":"wsdrMasterAddr_","type":"address"},{"internalType":"address","name":"wsdrGeniusAddr_","type":"address"},{"internalType":"uint256","name":"mintPrice_","type":"uint256"}],"name":"initialize","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"mintTo","type":"address"}],"name":"mint","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address[]","name":"mintToList","type":"address[]"}],"name":"mintMany","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"renounceRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"revokeRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"allowMinting_","type":"bool"}],"name":"setAllowMinting","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":"baseTokenURI_","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"cap_","type":"uint256"}],"name":"setCap","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"capPerAddress_","type":"uint256"}],"name":"setCapPerAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"mainTokenURI_","type":"string"}],"name":"setMainTokenURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"mintPrice_","type":"uint256"}],"name":"setMintPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"value","type":"bool"}],"name":"setOnlyMysteryBoxHoldersCanMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"value","type":"bool"}],"name":"setOnlyWasTokenHoldersCanMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"value","type":"bool"}],"name":"setOnlyWasderNFTHoldersCanMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"value","type":"bool"}],"name":"setOnlyWsdrMasterOrGeniusHoldersCanMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60806040526000600f60006101000a81548160ff02191690831515021790555060405180602001604052806000815250601090805190602001906200004692919062000443565b50604051806060016040528060358152602001620062fa60359139601190805190602001906200007892919062000443565b506001601560146101000a81548160ff02191690831515021790555060006015806101000a81548160ff0219169083151502179055506000601560166101000a81548160ff0219169083151502179055506000601560176101000a81548160ff0219169083151502179055506000601760006101000a81548160ff0219169083151502179055506104b060185560026019553480156200011757600080fd5b506040518060400160405280601a81526020017f575344522041435449564154494f4e204d494e542044524956450000000000008152506040518060400160405280601681526020017f5741534445524441435449564154494f4e44524956450000000000000000000081525081600090805190602001906200019c92919062000443565b508060019080519060200190620001b592919062000443565b505050620001d8620001cc6200020260201b60201c565b6200020a60201b60201c565b620001fc6000801b620001f06200020260201b60201c565b620002d060201b60201c565b62000558565b600033905090565b6000600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600c60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b620002e28282620002e660201b60201c565b5050565b620002f88282620003d860201b60201c565b620003d4576001600b600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550620003796200020260201b60201c565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45b5050565b6000600b600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b828054620004519062000522565b90600052602060002090601f016020900481019282620004755760008555620004c1565b82601f106200049057805160ff1916838001178555620004c1565b82800160010185558215620004c1579182015b82811115620004c0578251825591602001919060010190620004a3565b5b509050620004d09190620004d4565b5090565b5b80821115620004ef576000816000905550600101620004d5565b5090565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806200053b57607f821691505b60208210811415620005525762000551620004f3565b5b50919050565b615d9280620005686000396000f3fe6080604052600436106103765760003560e01c80636a627842116101d1578063a47c4c8111610102578063c28aac86116100a0578063e985e9c51161006f578063e985e9c514610d2b578063f2fde38b14610d68578063f4a0a52814610d91578063f7013ef614610dba57610376565b8063c28aac8614610c5d578063c87b56dd14610c9a578063d547741f14610cd7578063e16095b914610d0057610376565b8063b34cd6af116100dc578063b34cd6af14610bb5578063b88d4fde14610bde578063bda7c9b314610c07578063c0ed3bb914610c3257610376565b8063a47c4c8114610b36578063ad891d4614610b5f578063b0524efb14610b8a57610376565b806391d148541161016f5780639ac64c67116101495780639ac64c6714610a7a578063a217fddf14610ab7578063a22cb46514610ae2578063a2decb0714610b0b57610376565b806391d14854146109e75780639512fdc914610a2457806395d89b4114610a4f57610376565b8063715018a6116101ab578063715018a6146109515780637733746f146109685780638010b345146109915780638da5cb5b146109bc57610376565b80636a627842146108b95780636d45dd1b146108e957806370a082311461091457610376565b8063397ada21116102ab5780634f552e201161024957806355f804b31161022357806355f804b3146107ff57806356189236146108285780635c866518146108535780636352211e1461087c57610376565b80634f552e20146107705780634f6ccce7146107995780635394d343146107d657610376565b806342842e0e1161028557806342842e0e146106a457806347786d37146106cd5780634c28197a146106f65780634d1224451461073357610376565b8063397ada21146106135780633a199a4f146106505780633ccfd60b1461068d57610376565b806323b872dd116103185780632f5fecec116102f25780632f5fecec146105595780632f745c5914610584578063324d9fc3146105c157806336568abe146105ea57610376565b806323b872dd146104ca578063248a9ca3146104f35780632f2ff15d1461053057610376565b806306fdde031161035457806306fdde031461040e578063081812fc14610439578063095ea7b31461047657806318160ddd1461049f57610376565b806301ffc9a71461037b5780630387da42146103b8578063060cf4e8146103e3575b600080fd5b34801561038757600080fd5b506103a2600480360381019061039d919061412a565b610de3565b6040516103af9190614172565b60405180910390f35b3480156103c457600080fd5b506103cd610df5565b6040516103da91906141a6565b60405180910390f35b3480156103ef57600080fd5b506103f8610dfb565b60405161040591906141a6565b60405180910390f35b34801561041a57600080fd5b50610423610e01565b604051610430919061425a565b60405180910390f35b34801561044557600080fd5b50610460600480360381019061045b91906142a8565b610e93565b60405161046d9190614316565b60405180910390f35b34801561048257600080fd5b5061049d6004803603810190610498919061435d565b610f18565b005b3480156104ab57600080fd5b506104b4611030565b6040516104c191906141a6565b60405180910390f35b3480156104d657600080fd5b506104f160048036038101906104ec919061439d565b61103d565b005b3480156104ff57600080fd5b5061051a60048036038101906105159190614426565b61109d565b6040516105279190614462565b60405180910390f35b34801561053c57600080fd5b506105576004803603810190610552919061447d565b6110bd565b005b34801561056557600080fd5b5061056e6110de565b60405161057b9190614316565b60405180910390f35b34801561059057600080fd5b506105ab60048036038101906105a6919061435d565b611104565b6040516105b891906141a6565b60405180910390f35b3480156105cd57600080fd5b506105e860048036038101906105e391906145f2565b6111a9565b005b3480156105f657600080fd5b50610611600480360381019061060c919061447d565b611216565b005b34801561061f57600080fd5b5061063a6004803603810190610635919061469b565b611299565b6040516106479190614172565b60405180910390f35b34801561065c57600080fd5b50610677600480360381019061067291906146e8565b611455565b6040516106849190614172565b60405180910390f35b34801561069957600080fd5b506106a26116a8565b005b3480156106b057600080fd5b506106cb60048036038101906106c6919061439d565b611791565b005b3480156106d957600080fd5b506106f460048036038101906106ef91906142a8565b6117b1565b005b34801561070257600080fd5b5061071d600480360381019061071891906146e8565b61180e565b60405161072a9190614172565b60405180910390f35b34801561073f57600080fd5b5061075a600480360381019061075591906146e8565b6118ca565b6040516107679190614172565b60405180910390f35b34801561077c57600080fd5b5061079760048036038101906107929190614741565b611986565b005b3480156107a557600080fd5b506107c060048036038101906107bb91906142a8565b6119f6565b6040516107cd91906141a6565b60405180910390f35b3480156107e257600080fd5b506107fd60048036038101906107f89190614741565b611a67565b005b34801561080b57600080fd5b50610826600480360381019061082191906145f2565b611ad7565b005b34801561083457600080fd5b5061083d611b44565b60405161084a91906141a6565b60405180910390f35b34801561085f57600080fd5b5061087a600480360381019061087591906142a8565b611b55565b005b34801561088857600080fd5b506108a3600480360381019061089e91906142a8565b611bb2565b6040516108b09190614316565b60405180910390f35b6108d360048036038101906108ce91906146e8565b611c64565b6040516108e09190614172565b60405180910390f35b3480156108f557600080fd5b506108fe611f04565b60405161090b9190614316565b60405180910390f35b34801561092057600080fd5b5061093b600480360381019061093691906146e8565b611f2a565b60405161094891906141a6565b60405180910390f35b34801561095d57600080fd5b50610966611fe2565b005b34801561097457600080fd5b5061098f600480360381019061098a9190614741565b61206a565b005b34801561099d57600080fd5b506109a66120da565b6040516109b39190614172565b60405180910390f35b3480156109c857600080fd5b506109d16120ed565b6040516109de9190614316565b60405180910390f35b3480156109f357600080fd5b50610a0e6004803603810190610a09919061447d565b612117565b604051610a1b9190614172565b60405180910390f35b348015610a3057600080fd5b50610a39612182565b604051610a469190614172565b60405180910390f35b348015610a5b57600080fd5b50610a64612195565b604051610a71919061425a565b60405180910390f35b348015610a8657600080fd5b50610aa16004803603810190610a9c91906146e8565b612227565b604051610aae9190614172565b60405180910390f35b348015610ac357600080fd5b50610acc612249565b604051610ad99190614462565b60405180910390f35b348015610aee57600080fd5b50610b096004803603810190610b04919061476e565b612250565b005b348015610b1757600080fd5b50610b20612266565b604051610b2d9190614316565b60405180910390f35b348015610b4257600080fd5b50610b5d6004803603810190610b589190614741565b61228c565b005b348015610b6b57600080fd5b50610b746122fb565b604051610b819190614172565b60405180910390f35b348015610b9657600080fd5b50610b9f61230e565b604051610bac9190614172565b60405180910390f35b348015610bc157600080fd5b50610bdc6004803603810190610bd79190614741565b61231f565b005b348015610bea57600080fd5b50610c056004803603810190610c00919061484f565b61238f565b005b348015610c1357600080fd5b50610c1c6123f1565b604051610c299190614316565b60405180910390f35b348015610c3e57600080fd5b50610c47612417565b604051610c5491906141a6565b60405180910390f35b348015610c6957600080fd5b50610c846004803603810190610c7f91906146e8565b61241d565b604051610c919190614172565b60405180910390f35b348015610ca657600080fd5b50610cc16004803603810190610cbc91906142a8565b612594565b604051610cce919061425a565b60405180910390f35b348015610ce357600080fd5b50610cfe6004803603810190610cf9919061447d565b612628565b005b348015610d0c57600080fd5b50610d15612649565b604051610d229190614172565b60405180910390f35b348015610d3757600080fd5b50610d526004803603810190610d4d91906148d2565b61265c565b604051610d5f9190614172565b60405180910390f35b348015610d7457600080fd5b50610d8f6004803603810190610d8a91906146e8565b6126f0565b005b348015610d9d57600080fd5b50610db86004803603810190610db391906142a8565b6127e8565b005b348015610dc657600080fd5b50610de16004803603810190610ddc9190614912565b612845565b005b6000610dee826129c5565b9050919050565b60165481565b60185481565b606060008054610e10906149bc565b80601f0160208091040260200160405190810160405280929190818152602001828054610e3c906149bc565b8015610e895780601f10610e5e57610100808354040283529160200191610e89565b820191906000526020600020905b815481529060010190602001808311610e6c57829003601f168201915b5050505050905090565b6000610e9e82612a3f565b610edd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ed490614a60565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610f2382611bb2565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610f94576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f8b90614af2565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610fb3612aab565b73ffffffffffffffffffffffffffffffffffffffff161480610fe25750610fe181610fdc612aab565b61265c565b5b611021576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161101890614b84565b60405180910390fd5b61102b8383612ab3565b505050565b6000600880549050905090565b61104e611048612aab565b82612b6c565b61108d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161108490614c16565b60405180910390fd5b611098838383612c4a565b505050565b6000600b6000838152602001908152602001600020600101549050919050565b6110c68261109d565b6110cf81612eb1565b6110d98383612ec5565b505050565b601260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600061110f83611f2a565b8210611150576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161114790614ca8565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b6111bd6000801b6111b8612aab565b612117565b6111fc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111f390614d14565b60405180910390fd5b806011908051906020019061121292919061401b565b5050565b61121e612aab565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161461128b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161128290614da6565b60405180910390fd5b6112958282612fa6565b5050565b60006112af6000801b6112aa612aab565b612117565b6112ee576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112e590614d14565b60405180910390fd5b60005b838390508110156113a657600073ffffffffffffffffffffffffffffffffffffffff1684848381811061132757611326614dc6565b5b905060200201602081019061133c91906146e8565b73ffffffffffffffffffffffffffffffffffffffff161415611393576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161138a90614e41565b60405180910390fd5b808061139e90614e90565b9150506112f1565b5060005b8383905081101561144a576113fb8484838181106113cb576113ca614dc6565b5b90506020020160208101906113e091906146e8565b73ffffffffffffffffffffffffffffffffffffffff16613088565b1561140557611437565b61143584848381811061141b5761141a614dc6565b5b905060200201602081019061143091906146e8565b611c64565b505b808061144290614e90565b9150506113aa565b506001905092915050565b6000601760009054906101000a900460ff166114a6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161149d90614f25565b60405180910390fd5b601954600e60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205410611529576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161152090614f91565b60405180910390fd5b601560149054906101000a900460ff1615611587576115478261180e565b611586576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161157d90614ffd565b60405180910390fd5b5b60158054906101000a900460ff16156115e3576115a3826118ca565b6115e2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115d990615069565b60405180910390fd5b5b601560169054906101000a900460ff1615611641576116018261241d565b611640576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611637906150fb565b60405180910390fd5b5b601560179054906101000a900460ff161561169f5761165f82612227565b61169e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161169590615167565b60405180910390fd5b5b60019050919050565b6116bc6000801b6116b7612aab565b612117565b6116fb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116f290614d14565b60405180910390fd5b6000479050611708612aab565b73ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f1935050505015801561174d573d6000803e3d6000fd5b507f7084f5476618d8e60b11ef0d7d3f06914655adb8793e28ff7f018d4c76d505d5611777612aab565b82604051611786929190615187565b60405180910390a150565b6117ac8383836040518060200160405280600081525061238f565b505050565b6117c56000801b6117c0612aab565b612117565b611804576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117fb90614d14565b60405180910390fd5b8060188190555050565b600080601260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905060008173ffffffffffffffffffffffffffffffffffffffff166370a08231856040518263ffffffff1660e01b81526004016118719190614316565b60206040518083038186803b15801561188957600080fd5b505afa15801561189d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118c191906151c5565b11915050919050565b600080601360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905060008173ffffffffffffffffffffffffffffffffffffffff166370a08231856040518263ffffffff1660e01b815260040161192d9190614316565b60206040518083038186803b15801561194557600080fd5b505afa158015611959573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061197d91906151c5565b11915050919050565b61199a6000801b611995612aab565b612117565b6119d9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119d090614d14565b60405180910390fd5b80601560146101000a81548160ff02191690831515021790555050565b6000611a00611030565b8210611a41576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a3890615264565b60405180910390fd5b60088281548110611a5557611a54614dc6565b5b90600052602060002001549050919050565b611a7b6000801b611a76612aab565b612117565b611aba576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ab190614d14565b60405180910390fd5b80601560176101000a81548160ff02191690831515021790555050565b611aeb6000801b611ae6612aab565b612117565b611b2a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b2190614d14565b60405180910390fd5b8060109080519060200190611b4092919061401b565b5050565b6000611b50600d6130ab565b905090565b611b696000801b611b64612aab565b612117565b611ba8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b9f90614d14565b60405180910390fd5b8060198190555050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611c5b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c52906152f6565b60405180910390fd5b80915050919050565b6000600f60009054906101000a900460ff16611cb5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cac90615362565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611d25576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d1c90614e41565b60405180910390fd5b611d2f600d6130b9565b6000611d3b600d6130ab565b9050601854811115611d82576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d79906153ce565b60405180910390fd5b611d966000801b611d91612aab565b612117565b611e2857611da383611455565b611de2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611dd990615460565b60405180910390fd5b601654341015611e27576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e1e906154f2565b60405180910390fd5b5b6001600e60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054611e749190615512565b600e60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550611ec183826130cf565b7fb9144c96c86541f6fa89c9f2f02495cccf4b08cd6643e26d34ee00aa586558a88382604051611ef2929190615187565b60405180910390a16001915050919050565b601360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611f9b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f92906155da565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b611fea612aab565b73ffffffffffffffffffffffffffffffffffffffff166120086120ed565b73ffffffffffffffffffffffffffffffffffffffff161461205e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161205590615646565b60405180910390fd5b61206860006130ed565b565b61207e6000801b612079612aab565b612117565b6120bd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120b490614d14565b60405180910390fd5b80601560166101000a81548160ff02191690831515021790555050565b601560149054906101000a900460ff1681565b6000600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6000600b600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b601560169054906101000a900460ff1681565b6060600180546121a4906149bc565b80601f01602080910402602001604051908101604052809291908181526020018280546121d0906149bc565b801561221d5780601f106121f25761010080835404028352916020019161221d565b820191906000526020600020905b81548152906001019060200180831161220057829003601f168201915b5050505050905090565b60006122328261180e565b8061224257506122418261241d565b5b9050919050565b6000801b81565b61226261225b612aab565b83836131b3565b5050565b601460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6122a06000801b61229b612aab565b612117565b6122df576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122d690614d14565b60405180910390fd5b806015806101000a81548160ff02191690831515021790555050565b601560179054906101000a900460ff1681565b60158054906101000a900460ff1681565b6123336000801b61232e612aab565b612117565b612372576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161236990614d14565b60405180910390fd5b80601760006101000a81548160ff02191690831515021790555050565b6123a061239a612aab565b83612b6c565b6123df576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123d690614c16565b60405180910390fd5b6123eb84848484613320565b50505050565b601560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60195481565b600080601460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690506000601560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905060008273ffffffffffffffffffffffffffffffffffffffff166370a08231866040518263ffffffff1660e01b81526004016124a79190614316565b60206040518083038186803b1580156124bf57600080fd5b505afa1580156124d3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906124f791906151c5565b118061258b575060008173ffffffffffffffffffffffffffffffffffffffff166370a08231866040518263ffffffff1660e01b81526004016125399190614316565b60206040518083038186803b15801561255157600080fd5b505afa158015612565573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061258991906151c5565b115b92505050919050565b6060601180546125a3906149bc565b80601f01602080910402602001604051908101604052809291908181526020018280546125cf906149bc565b801561261c5780601f106125f15761010080835404028352916020019161261c565b820191906000526020600020905b8154815290600101906020018083116125ff57829003601f168201915b50505050509050919050565b6126318261109d565b61263a81612eb1565b6126448383612fa6565b505050565b601760009054906101000a900460ff1681565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6126f8612aab565b73ffffffffffffffffffffffffffffffffffffffff166127166120ed565b73ffffffffffffffffffffffffffffffffffffffff161461276c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161276390615646565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156127dc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127d3906156d8565b60405180910390fd5b6127e5816130ed565b50565b6127fc6000801b6127f7612aab565b612117565b61283b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161283290614d14565b60405180910390fd5b8060168190555050565b6128596000801b612854612aab565b612117565b612898576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161288f90614d14565b60405180910390fd5b6001600f60006101000a81548160ff0219169083151502179055508060168190555084601260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555083601360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555082601460006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555081601560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505050505050565b60007f7965db0b000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480612a385750612a378261337c565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16612b2683611bb2565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000612b7782612a3f565b612bb6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612bad9061576a565b60405180910390fd5b6000612bc183611bb2565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480612c035750612c02818561265c565b5b80612c4157508373ffffffffffffffffffffffffffffffffffffffff16612c2984610e93565b73ffffffffffffffffffffffffffffffffffffffff16145b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16612c6a82611bb2565b73ffffffffffffffffffffffffffffffffffffffff1614612cc0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612cb7906157fc565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612d30576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d279061588e565b60405180910390fd5b612d3b8383836133f6565b612d46600082612ab3565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612d9691906158ae565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612ded9190615512565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4612eac838383613406565b505050565b612ec281612ebd612aab565b61340b565b50565b612ecf8282612117565b612fa2576001600b600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550612f47612aab565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45b5050565b612fb08282612117565b15613084576000600b600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550613029612aab565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b60405160405180910390a45b5050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b600081600001549050919050565b6001816000016000828254019250508190555050565b6130e98282604051806020016040528060008152506134a8565b5050565b6000600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600c60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415613222576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016132199061592e565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516133139190614172565b60405180910390a3505050565b61332b848484612c4a565b61333784848484613503565b613376576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161336d906159c0565b60405180910390fd5b50505050565b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806133ef57506133ee8261369a565b5b9050919050565b61340183838361377c565b505050565b505050565b6134158282612117565b6134a45761343a8173ffffffffffffffffffffffffffffffffffffffff166014613890565b6134488360001c6020613890565b604051602001613459929190615ab4565b6040516020818303038152906040526040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161349b919061425a565b60405180910390fd5b5050565b6134b28383613acc565b6134bf6000848484613503565b6134fe576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016134f5906159c0565b60405180910390fd5b505050565b60006135248473ffffffffffffffffffffffffffffffffffffffff16613088565b1561368d578373ffffffffffffffffffffffffffffffffffffffff1663150b7a0261354d612aab565b8786866040518563ffffffff1660e01b815260040161356f9493929190615b43565b602060405180830381600087803b15801561358957600080fd5b505af19250505080156135ba57506040513d601f19601f820116820180604052508101906135b79190615ba4565b60015b61363d573d80600081146135ea576040519150601f19603f3d011682016040523d82523d6000602084013e6135ef565b606091505b50600081511415613635576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161362c906159c0565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050613692565b600190505b949350505050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061376557507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80613775575061377482613ca6565b5b9050919050565b613787838383613d10565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156137ca576137c581613d15565b613809565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614613808576138078382613d5e565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561384c5761384781613ecb565b61388b565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161461388a576138898282613f9c565b5b5b505050565b6060600060028360026138a39190615bd1565b6138ad9190615512565b67ffffffffffffffff8111156138c6576138c56144c7565b5b6040519080825280601f01601f1916602001820160405280156138f85781602001600182028036833780820191505090505b5090507f3000000000000000000000000000000000000000000000000000000000000000816000815181106139305761392f614dc6565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053507f78000000000000000000000000000000000000000000000000000000000000008160018151811061399457613993614dc6565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600060018460026139d49190615bd1565b6139de9190615512565b90505b6001811115613a7e577f3031323334353637383961626364656600000000000000000000000000000000600f861660108110613a2057613a1f614dc6565b5b1a60f81b828281518110613a3757613a36614dc6565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600485901c945080613a7790615c2b565b90506139e1565b5060008414613ac2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613ab990615ca1565b60405180910390fd5b8091505092915050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415613b3c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613b3390614e41565b60405180910390fd5b613b4581612a3f565b15613b85576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613b7c90615d0d565b60405180910390fd5b613b91600083836133f6565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254613be19190615512565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4613ca260008383613406565b5050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b60006001613d6b84611f2a565b613d7591906158ae565b9050600060076000848152602001908152602001600020549050818114613e5a576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b60006001600880549050613edf91906158ae565b9050600060096000848152602001908152602001600020549050600060088381548110613f0f57613f0e614dc6565b5b906000526020600020015490508060088381548110613f3157613f30614dc6565b5b906000526020600020018190555081600960008381526020019081526020016000208190555060096000858152602001908152602001600020600090556008805480613f8057613f7f615d2d565b5b6001900381819060005260206000200160009055905550505050565b6000613fa783611f2a565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b828054614027906149bc565b90600052602060002090601f0160209004810192826140495760008555614090565b82601f1061406257805160ff1916838001178555614090565b82800160010185558215614090579182015b8281111561408f578251825591602001919060010190614074565b5b50905061409d91906140a1565b5090565b5b808211156140ba5760008160009055506001016140a2565b5090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b614107816140d2565b811461411257600080fd5b50565b600081359050614124816140fe565b92915050565b6000602082840312156141405761413f6140c8565b5b600061414e84828501614115565b91505092915050565b60008115159050919050565b61416c81614157565b82525050565b60006020820190506141876000830184614163565b92915050565b6000819050919050565b6141a08161418d565b82525050565b60006020820190506141bb6000830184614197565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b838110156141fb5780820151818401526020810190506141e0565b8381111561420a576000848401525b50505050565b6000601f19601f8301169050919050565b600061422c826141c1565b61423681856141cc565b93506142468185602086016141dd565b61424f81614210565b840191505092915050565b600060208201905081810360008301526142748184614221565b905092915050565b6142858161418d565b811461429057600080fd5b50565b6000813590506142a28161427c565b92915050565b6000602082840312156142be576142bd6140c8565b5b60006142cc84828501614293565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000614300826142d5565b9050919050565b614310816142f5565b82525050565b600060208201905061432b6000830184614307565b92915050565b61433a816142f5565b811461434557600080fd5b50565b60008135905061435781614331565b92915050565b60008060408385031215614374576143736140c8565b5b600061438285828601614348565b925050602061439385828601614293565b9150509250929050565b6000806000606084860312156143b6576143b56140c8565b5b60006143c486828701614348565b93505060206143d586828701614348565b92505060406143e686828701614293565b9150509250925092565b6000819050919050565b614403816143f0565b811461440e57600080fd5b50565b600081359050614420816143fa565b92915050565b60006020828403121561443c5761443b6140c8565b5b600061444a84828501614411565b91505092915050565b61445c816143f0565b82525050565b60006020820190506144776000830184614453565b92915050565b60008060408385031215614494576144936140c8565b5b60006144a285828601614411565b92505060206144b385828601614348565b9150509250929050565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6144ff82614210565b810181811067ffffffffffffffff8211171561451e5761451d6144c7565b5b80604052505050565b60006145316140be565b905061453d82826144f6565b919050565b600067ffffffffffffffff82111561455d5761455c6144c7565b5b61456682614210565b9050602081019050919050565b82818337600083830152505050565b600061459561459084614542565b614527565b9050828152602081018484840111156145b1576145b06144c2565b5b6145bc848285614573565b509392505050565b600082601f8301126145d9576145d86144bd565b5b81356145e9848260208601614582565b91505092915050565b600060208284031215614608576146076140c8565b5b600082013567ffffffffffffffff811115614626576146256140cd565b5b614632848285016145c4565b91505092915050565b600080fd5b600080fd5b60008083601f84011261465b5761465a6144bd565b5b8235905067ffffffffffffffff8111156146785761467761463b565b5b60208301915083602082028301111561469457614693614640565b5b9250929050565b600080602083850312156146b2576146b16140c8565b5b600083013567ffffffffffffffff8111156146d0576146cf6140cd565b5b6146dc85828601614645565b92509250509250929050565b6000602082840312156146fe576146fd6140c8565b5b600061470c84828501614348565b91505092915050565b61471e81614157565b811461472957600080fd5b50565b60008135905061473b81614715565b92915050565b600060208284031215614757576147566140c8565b5b60006147658482850161472c565b91505092915050565b60008060408385031215614785576147846140c8565b5b600061479385828601614348565b92505060206147a48582860161472c565b9150509250929050565b600067ffffffffffffffff8211156147c9576147c86144c7565b5b6147d282614210565b9050602081019050919050565b60006147f26147ed846147ae565b614527565b90508281526020810184848401111561480e5761480d6144c2565b5b614819848285614573565b509392505050565b600082601f830112614836576148356144bd565b5b81356148468482602086016147df565b91505092915050565b60008060008060808587031215614869576148686140c8565b5b600061487787828801614348565b945050602061488887828801614348565b935050604061489987828801614293565b925050606085013567ffffffffffffffff8111156148ba576148b96140cd565b5b6148c687828801614821565b91505092959194509250565b600080604083850312156148e9576148e86140c8565b5b60006148f785828601614348565b925050602061490885828601614348565b9150509250929050565b600080600080600060a0868803121561492e5761492d6140c8565b5b600061493c88828901614348565b955050602061494d88828901614348565b945050604061495e88828901614348565b935050606061496f88828901614348565b925050608061498088828901614293565b9150509295509295909350565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806149d457607f821691505b602082108114156149e8576149e761498d565b5b50919050565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b6000614a4a602c836141cc565b9150614a55826149ee565b604082019050919050565b60006020820190508181036000830152614a7981614a3d565b9050919050565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b6000614adc6021836141cc565b9150614ae782614a80565b604082019050919050565b60006020820190508181036000830152614b0b81614acf565b9050919050565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b6000614b6e6038836141cc565b9150614b7982614b12565b604082019050919050565b60006020820190508181036000830152614b9d81614b61565b9050919050565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b6000614c006031836141cc565b9150614c0b82614ba4565b604082019050919050565b60006020820190508181036000830152614c2f81614bf3565b9050919050565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b6000614c92602b836141cc565b9150614c9d82614c36565b604082019050919050565b60006020820190508181036000830152614cc181614c85565b9050919050565b7f43616c6c6572206973206e6f7420612061646d696e0000000000000000000000600082015250565b6000614cfe6015836141cc565b9150614d0982614cc8565b602082019050919050565b60006020820190508181036000830152614d2d81614cf1565b9050919050565b7f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560008201527f20726f6c657320666f722073656c660000000000000000000000000000000000602082015250565b6000614d90602f836141cc565b9150614d9b82614d34565b604082019050919050565b60006020820190508181036000830152614dbf81614d83565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b6000614e2b6020836141cc565b9150614e3682614df5565b602082019050919050565b60006020820190508181036000830152614e5a81614e1e565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000614e9b8261418d565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415614ece57614ecd614e61565b5b600182019050919050565b7f4d696e74696e67206973206e6f206c6f6e67657220616c6c6f77656400000000600082015250565b6000614f0f601c836141cc565b9150614f1a82614ed9565b602082019050919050565b60006020820190508181036000830152614f3e81614f02565b9050919050565b7f436170207265616368656420666f7220676976656e2061646472657373000000600082015250565b6000614f7b601d836141cc565b9150614f8682614f45565b602082019050919050565b60006020820190508181036000830152614faa81614f6e565b9050919050565b7f596f7520646f6e277420686176652061204d79737465727920426f7800000000600082015250565b6000614fe7601c836141cc565b9150614ff282614fb1565b602082019050919050565b6000602082019050818103600083015261501681614fda565b9050919050565b7f596f7520646f6e2774206861766520612057415320546f6b656e000000000000600082015250565b6000615053601a836141cc565b915061505e8261501d565b602082019050919050565b6000602082019050818103600083015261508281615046565b9050919050565b7f596f7520646f6e2774206861766520612057534452204d4153544552204f522060008201527f47454e49555320746f6b656e0000000000000000000000000000000000000000602082015250565b60006150e5602c836141cc565b91506150f082615089565b604082019050919050565b60006020820190508181036000830152615114816150d8565b9050919050565b7f596f7520646f6e27742068617665206120574153444552204e46540000000000600082015250565b6000615151601b836141cc565b915061515c8261511b565b602082019050919050565b6000602082019050818103600083015261518081615144565b9050919050565b600060408201905061519c6000830185614307565b6151a96020830184614197565b9392505050565b6000815190506151bf8161427c565b92915050565b6000602082840312156151db576151da6140c8565b5b60006151e9848285016151b0565b91505092915050565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b600061524e602c836141cc565b9150615259826151f2565b604082019050919050565b6000602082019050818103600083015261527d81615241565b9050919050565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b60006152e06029836141cc565b91506152eb82615284565b604082019050919050565b6000602082019050818103600083015261530f816152d3565b9050919050565b7f436f6e7472616374206973206e6f7420696e697469616c697a65640000000000600082015250565b600061534c601b836141cc565b915061535782615316565b602082019050919050565b6000602082019050818103600083015261537b8161533f565b9050919050565b7f4361702072656163686564000000000000000000000000000000000000000000600082015250565b60006153b8600b836141cc565b91506153c382615382565b602082019050919050565b600060208201905081810360008301526153e7816153ab565b9050919050565b7f596f7520617265206e6f7420616c6c6f77656420746f206d696e74206e65772060008201527f746f6b656e730000000000000000000000000000000000000000000000000000602082015250565b600061544a6026836141cc565b9150615455826153ee565b604082019050919050565b600060208201905081810360008301526154798161543d565b9050919050565b7f4e6f7420656e6f756768204554482073656e743b20636865636b20707269636560008201527f2100000000000000000000000000000000000000000000000000000000000000602082015250565b60006154dc6021836141cc565b91506154e782615480565b604082019050919050565b6000602082019050818103600083015261550b816154cf565b9050919050565b600061551d8261418d565b91506155288361418d565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561555d5761555c614e61565b5b828201905092915050565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b60006155c4602a836141cc565b91506155cf82615568565b604082019050919050565b600060208201905081810360008301526155f3816155b7565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b60006156306020836141cc565b915061563b826155fa565b602082019050919050565b6000602082019050818103600083015261565f81615623565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b60006156c26026836141cc565b91506156cd82615666565b604082019050919050565b600060208201905081810360008301526156f1816156b5565b9050919050565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b6000615754602c836141cc565b915061575f826156f8565b604082019050919050565b6000602082019050818103600083015261578381615747565b9050919050565b7f4552433732313a207472616e736665722066726f6d20696e636f72726563742060008201527f6f776e6572000000000000000000000000000000000000000000000000000000602082015250565b60006157e66025836141cc565b91506157f18261578a565b604082019050919050565b60006020820190508181036000830152615815816157d9565b9050919050565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b60006158786024836141cc565b91506158838261581c565b604082019050919050565b600060208201905081810360008301526158a78161586b565b9050919050565b60006158b98261418d565b91506158c48361418d565b9250828210156158d7576158d6614e61565b5b828203905092915050565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b60006159186019836141cc565b9150615923826158e2565b602082019050919050565b600060208201905081810360008301526159478161590b565b9050919050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b60006159aa6032836141cc565b91506159b58261594e565b604082019050919050565b600060208201905081810360008301526159d98161599d565b9050919050565b600081905092915050565b7f416363657373436f6e74726f6c3a206163636f756e7420000000000000000000600082015250565b6000615a216017836159e0565b9150615a2c826159eb565b601782019050919050565b6000615a42826141c1565b615a4c81856159e0565b9350615a5c8185602086016141dd565b80840191505092915050565b7f206973206d697373696e6720726f6c6520000000000000000000000000000000600082015250565b6000615a9e6011836159e0565b9150615aa982615a68565b601182019050919050565b6000615abf82615a14565b9150615acb8285615a37565b9150615ad682615a91565b9150615ae28284615a37565b91508190509392505050565b600081519050919050565b600082825260208201905092915050565b6000615b1582615aee565b615b1f8185615af9565b9350615b2f8185602086016141dd565b615b3881614210565b840191505092915050565b6000608082019050615b586000830187614307565b615b656020830186614307565b615b726040830185614197565b8181036060830152615b848184615b0a565b905095945050505050565b600081519050615b9e816140fe565b92915050565b600060208284031215615bba57615bb96140c8565b5b6000615bc884828501615b8f565b91505092915050565b6000615bdc8261418d565b9150615be78361418d565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615615c2057615c1f614e61565b5b828202905092915050565b6000615c368261418d565b91506000821415615c4a57615c49614e61565b5b600182039050919050565b7f537472696e67733a20686578206c656e67746820696e73756666696369656e74600082015250565b6000615c8b6020836141cc565b9150615c9682615c55565b602082019050919050565b60006020820190508181036000830152615cba81615c7e565b9050919050565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b6000615cf7601c836141cc565b9150615d0282615cc1565b602082019050919050565b60006020820190508181036000830152615d2681615cea565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fdfea2646970667358221220a98193850a9609cf5947f198b0b4cf19b348ecf19eeb3c350644e112e4ce9c1b64736f6c63430008090033697066733a2f2f516d5a334a766d6a6574796e74563843565965794e37375476587535585277625071764b45625445535445624e4d

Deployed Bytecode

0x6080604052600436106103765760003560e01c80636a627842116101d1578063a47c4c8111610102578063c28aac86116100a0578063e985e9c51161006f578063e985e9c514610d2b578063f2fde38b14610d68578063f4a0a52814610d91578063f7013ef614610dba57610376565b8063c28aac8614610c5d578063c87b56dd14610c9a578063d547741f14610cd7578063e16095b914610d0057610376565b8063b34cd6af116100dc578063b34cd6af14610bb5578063b88d4fde14610bde578063bda7c9b314610c07578063c0ed3bb914610c3257610376565b8063a47c4c8114610b36578063ad891d4614610b5f578063b0524efb14610b8a57610376565b806391d148541161016f5780639ac64c67116101495780639ac64c6714610a7a578063a217fddf14610ab7578063a22cb46514610ae2578063a2decb0714610b0b57610376565b806391d14854146109e75780639512fdc914610a2457806395d89b4114610a4f57610376565b8063715018a6116101ab578063715018a6146109515780637733746f146109685780638010b345146109915780638da5cb5b146109bc57610376565b80636a627842146108b95780636d45dd1b146108e957806370a082311461091457610376565b8063397ada21116102ab5780634f552e201161024957806355f804b31161022357806355f804b3146107ff57806356189236146108285780635c866518146108535780636352211e1461087c57610376565b80634f552e20146107705780634f6ccce7146107995780635394d343146107d657610376565b806342842e0e1161028557806342842e0e146106a457806347786d37146106cd5780634c28197a146106f65780634d1224451461073357610376565b8063397ada21146106135780633a199a4f146106505780633ccfd60b1461068d57610376565b806323b872dd116103185780632f5fecec116102f25780632f5fecec146105595780632f745c5914610584578063324d9fc3146105c157806336568abe146105ea57610376565b806323b872dd146104ca578063248a9ca3146104f35780632f2ff15d1461053057610376565b806306fdde031161035457806306fdde031461040e578063081812fc14610439578063095ea7b31461047657806318160ddd1461049f57610376565b806301ffc9a71461037b5780630387da42146103b8578063060cf4e8146103e3575b600080fd5b34801561038757600080fd5b506103a2600480360381019061039d919061412a565b610de3565b6040516103af9190614172565b60405180910390f35b3480156103c457600080fd5b506103cd610df5565b6040516103da91906141a6565b60405180910390f35b3480156103ef57600080fd5b506103f8610dfb565b60405161040591906141a6565b60405180910390f35b34801561041a57600080fd5b50610423610e01565b604051610430919061425a565b60405180910390f35b34801561044557600080fd5b50610460600480360381019061045b91906142a8565b610e93565b60405161046d9190614316565b60405180910390f35b34801561048257600080fd5b5061049d6004803603810190610498919061435d565b610f18565b005b3480156104ab57600080fd5b506104b4611030565b6040516104c191906141a6565b60405180910390f35b3480156104d657600080fd5b506104f160048036038101906104ec919061439d565b61103d565b005b3480156104ff57600080fd5b5061051a60048036038101906105159190614426565b61109d565b6040516105279190614462565b60405180910390f35b34801561053c57600080fd5b506105576004803603810190610552919061447d565b6110bd565b005b34801561056557600080fd5b5061056e6110de565b60405161057b9190614316565b60405180910390f35b34801561059057600080fd5b506105ab60048036038101906105a6919061435d565b611104565b6040516105b891906141a6565b60405180910390f35b3480156105cd57600080fd5b506105e860048036038101906105e391906145f2565b6111a9565b005b3480156105f657600080fd5b50610611600480360381019061060c919061447d565b611216565b005b34801561061f57600080fd5b5061063a6004803603810190610635919061469b565b611299565b6040516106479190614172565b60405180910390f35b34801561065c57600080fd5b50610677600480360381019061067291906146e8565b611455565b6040516106849190614172565b60405180910390f35b34801561069957600080fd5b506106a26116a8565b005b3480156106b057600080fd5b506106cb60048036038101906106c6919061439d565b611791565b005b3480156106d957600080fd5b506106f460048036038101906106ef91906142a8565b6117b1565b005b34801561070257600080fd5b5061071d600480360381019061071891906146e8565b61180e565b60405161072a9190614172565b60405180910390f35b34801561073f57600080fd5b5061075a600480360381019061075591906146e8565b6118ca565b6040516107679190614172565b60405180910390f35b34801561077c57600080fd5b5061079760048036038101906107929190614741565b611986565b005b3480156107a557600080fd5b506107c060048036038101906107bb91906142a8565b6119f6565b6040516107cd91906141a6565b60405180910390f35b3480156107e257600080fd5b506107fd60048036038101906107f89190614741565b611a67565b005b34801561080b57600080fd5b50610826600480360381019061082191906145f2565b611ad7565b005b34801561083457600080fd5b5061083d611b44565b60405161084a91906141a6565b60405180910390f35b34801561085f57600080fd5b5061087a600480360381019061087591906142a8565b611b55565b005b34801561088857600080fd5b506108a3600480360381019061089e91906142a8565b611bb2565b6040516108b09190614316565b60405180910390f35b6108d360048036038101906108ce91906146e8565b611c64565b6040516108e09190614172565b60405180910390f35b3480156108f557600080fd5b506108fe611f04565b60405161090b9190614316565b60405180910390f35b34801561092057600080fd5b5061093b600480360381019061093691906146e8565b611f2a565b60405161094891906141a6565b60405180910390f35b34801561095d57600080fd5b50610966611fe2565b005b34801561097457600080fd5b5061098f600480360381019061098a9190614741565b61206a565b005b34801561099d57600080fd5b506109a66120da565b6040516109b39190614172565b60405180910390f35b3480156109c857600080fd5b506109d16120ed565b6040516109de9190614316565b60405180910390f35b3480156109f357600080fd5b50610a0e6004803603810190610a09919061447d565b612117565b604051610a1b9190614172565b60405180910390f35b348015610a3057600080fd5b50610a39612182565b604051610a469190614172565b60405180910390f35b348015610a5b57600080fd5b50610a64612195565b604051610a71919061425a565b60405180910390f35b348015610a8657600080fd5b50610aa16004803603810190610a9c91906146e8565b612227565b604051610aae9190614172565b60405180910390f35b348015610ac357600080fd5b50610acc612249565b604051610ad99190614462565b60405180910390f35b348015610aee57600080fd5b50610b096004803603810190610b04919061476e565b612250565b005b348015610b1757600080fd5b50610b20612266565b604051610b2d9190614316565b60405180910390f35b348015610b4257600080fd5b50610b5d6004803603810190610b589190614741565b61228c565b005b348015610b6b57600080fd5b50610b746122fb565b604051610b819190614172565b60405180910390f35b348015610b9657600080fd5b50610b9f61230e565b604051610bac9190614172565b60405180910390f35b348015610bc157600080fd5b50610bdc6004803603810190610bd79190614741565b61231f565b005b348015610bea57600080fd5b50610c056004803603810190610c00919061484f565b61238f565b005b348015610c1357600080fd5b50610c1c6123f1565b604051610c299190614316565b60405180910390f35b348015610c3e57600080fd5b50610c47612417565b604051610c5491906141a6565b60405180910390f35b348015610c6957600080fd5b50610c846004803603810190610c7f91906146e8565b61241d565b604051610c919190614172565b60405180910390f35b348015610ca657600080fd5b50610cc16004803603810190610cbc91906142a8565b612594565b604051610cce919061425a565b60405180910390f35b348015610ce357600080fd5b50610cfe6004803603810190610cf9919061447d565b612628565b005b348015610d0c57600080fd5b50610d15612649565b604051610d229190614172565b60405180910390f35b348015610d3757600080fd5b50610d526004803603810190610d4d91906148d2565b61265c565b604051610d5f9190614172565b60405180910390f35b348015610d7457600080fd5b50610d8f6004803603810190610d8a91906146e8565b6126f0565b005b348015610d9d57600080fd5b50610db86004803603810190610db391906142a8565b6127e8565b005b348015610dc657600080fd5b50610de16004803603810190610ddc9190614912565b612845565b005b6000610dee826129c5565b9050919050565b60165481565b60185481565b606060008054610e10906149bc565b80601f0160208091040260200160405190810160405280929190818152602001828054610e3c906149bc565b8015610e895780601f10610e5e57610100808354040283529160200191610e89565b820191906000526020600020905b815481529060010190602001808311610e6c57829003601f168201915b5050505050905090565b6000610e9e82612a3f565b610edd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ed490614a60565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610f2382611bb2565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610f94576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f8b90614af2565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610fb3612aab565b73ffffffffffffffffffffffffffffffffffffffff161480610fe25750610fe181610fdc612aab565b61265c565b5b611021576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161101890614b84565b60405180910390fd5b61102b8383612ab3565b505050565b6000600880549050905090565b61104e611048612aab565b82612b6c565b61108d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161108490614c16565b60405180910390fd5b611098838383612c4a565b505050565b6000600b6000838152602001908152602001600020600101549050919050565b6110c68261109d565b6110cf81612eb1565b6110d98383612ec5565b505050565b601260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600061110f83611f2a565b8210611150576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161114790614ca8565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b6111bd6000801b6111b8612aab565b612117565b6111fc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111f390614d14565b60405180910390fd5b806011908051906020019061121292919061401b565b5050565b61121e612aab565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161461128b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161128290614da6565b60405180910390fd5b6112958282612fa6565b5050565b60006112af6000801b6112aa612aab565b612117565b6112ee576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112e590614d14565b60405180910390fd5b60005b838390508110156113a657600073ffffffffffffffffffffffffffffffffffffffff1684848381811061132757611326614dc6565b5b905060200201602081019061133c91906146e8565b73ffffffffffffffffffffffffffffffffffffffff161415611393576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161138a90614e41565b60405180910390fd5b808061139e90614e90565b9150506112f1565b5060005b8383905081101561144a576113fb8484838181106113cb576113ca614dc6565b5b90506020020160208101906113e091906146e8565b73ffffffffffffffffffffffffffffffffffffffff16613088565b1561140557611437565b61143584848381811061141b5761141a614dc6565b5b905060200201602081019061143091906146e8565b611c64565b505b808061144290614e90565b9150506113aa565b506001905092915050565b6000601760009054906101000a900460ff166114a6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161149d90614f25565b60405180910390fd5b601954600e60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205410611529576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161152090614f91565b60405180910390fd5b601560149054906101000a900460ff1615611587576115478261180e565b611586576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161157d90614ffd565b60405180910390fd5b5b60158054906101000a900460ff16156115e3576115a3826118ca565b6115e2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115d990615069565b60405180910390fd5b5b601560169054906101000a900460ff1615611641576116018261241d565b611640576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611637906150fb565b60405180910390fd5b5b601560179054906101000a900460ff161561169f5761165f82612227565b61169e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161169590615167565b60405180910390fd5b5b60019050919050565b6116bc6000801b6116b7612aab565b612117565b6116fb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116f290614d14565b60405180910390fd5b6000479050611708612aab565b73ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f1935050505015801561174d573d6000803e3d6000fd5b507f7084f5476618d8e60b11ef0d7d3f06914655adb8793e28ff7f018d4c76d505d5611777612aab565b82604051611786929190615187565b60405180910390a150565b6117ac8383836040518060200160405280600081525061238f565b505050565b6117c56000801b6117c0612aab565b612117565b611804576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117fb90614d14565b60405180910390fd5b8060188190555050565b600080601260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905060008173ffffffffffffffffffffffffffffffffffffffff166370a08231856040518263ffffffff1660e01b81526004016118719190614316565b60206040518083038186803b15801561188957600080fd5b505afa15801561189d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118c191906151c5565b11915050919050565b600080601360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905060008173ffffffffffffffffffffffffffffffffffffffff166370a08231856040518263ffffffff1660e01b815260040161192d9190614316565b60206040518083038186803b15801561194557600080fd5b505afa158015611959573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061197d91906151c5565b11915050919050565b61199a6000801b611995612aab565b612117565b6119d9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119d090614d14565b60405180910390fd5b80601560146101000a81548160ff02191690831515021790555050565b6000611a00611030565b8210611a41576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a3890615264565b60405180910390fd5b60088281548110611a5557611a54614dc6565b5b90600052602060002001549050919050565b611a7b6000801b611a76612aab565b612117565b611aba576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ab190614d14565b60405180910390fd5b80601560176101000a81548160ff02191690831515021790555050565b611aeb6000801b611ae6612aab565b612117565b611b2a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b2190614d14565b60405180910390fd5b8060109080519060200190611b4092919061401b565b5050565b6000611b50600d6130ab565b905090565b611b696000801b611b64612aab565b612117565b611ba8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b9f90614d14565b60405180910390fd5b8060198190555050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611c5b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c52906152f6565b60405180910390fd5b80915050919050565b6000600f60009054906101000a900460ff16611cb5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cac90615362565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611d25576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d1c90614e41565b60405180910390fd5b611d2f600d6130b9565b6000611d3b600d6130ab565b9050601854811115611d82576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d79906153ce565b60405180910390fd5b611d966000801b611d91612aab565b612117565b611e2857611da383611455565b611de2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611dd990615460565b60405180910390fd5b601654341015611e27576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e1e906154f2565b60405180910390fd5b5b6001600e60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054611e749190615512565b600e60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550611ec183826130cf565b7fb9144c96c86541f6fa89c9f2f02495cccf4b08cd6643e26d34ee00aa586558a88382604051611ef2929190615187565b60405180910390a16001915050919050565b601360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611f9b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f92906155da565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b611fea612aab565b73ffffffffffffffffffffffffffffffffffffffff166120086120ed565b73ffffffffffffffffffffffffffffffffffffffff161461205e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161205590615646565b60405180910390fd5b61206860006130ed565b565b61207e6000801b612079612aab565b612117565b6120bd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120b490614d14565b60405180910390fd5b80601560166101000a81548160ff02191690831515021790555050565b601560149054906101000a900460ff1681565b6000600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6000600b600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b601560169054906101000a900460ff1681565b6060600180546121a4906149bc565b80601f01602080910402602001604051908101604052809291908181526020018280546121d0906149bc565b801561221d5780601f106121f25761010080835404028352916020019161221d565b820191906000526020600020905b81548152906001019060200180831161220057829003601f168201915b5050505050905090565b60006122328261180e565b8061224257506122418261241d565b5b9050919050565b6000801b81565b61226261225b612aab565b83836131b3565b5050565b601460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6122a06000801b61229b612aab565b612117565b6122df576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122d690614d14565b60405180910390fd5b806015806101000a81548160ff02191690831515021790555050565b601560179054906101000a900460ff1681565b60158054906101000a900460ff1681565b6123336000801b61232e612aab565b612117565b612372576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161236990614d14565b60405180910390fd5b80601760006101000a81548160ff02191690831515021790555050565b6123a061239a612aab565b83612b6c565b6123df576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123d690614c16565b60405180910390fd5b6123eb84848484613320565b50505050565b601560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60195481565b600080601460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690506000601560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905060008273ffffffffffffffffffffffffffffffffffffffff166370a08231866040518263ffffffff1660e01b81526004016124a79190614316565b60206040518083038186803b1580156124bf57600080fd5b505afa1580156124d3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906124f791906151c5565b118061258b575060008173ffffffffffffffffffffffffffffffffffffffff166370a08231866040518263ffffffff1660e01b81526004016125399190614316565b60206040518083038186803b15801561255157600080fd5b505afa158015612565573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061258991906151c5565b115b92505050919050565b6060601180546125a3906149bc565b80601f01602080910402602001604051908101604052809291908181526020018280546125cf906149bc565b801561261c5780601f106125f15761010080835404028352916020019161261c565b820191906000526020600020905b8154815290600101906020018083116125ff57829003601f168201915b50505050509050919050565b6126318261109d565b61263a81612eb1565b6126448383612fa6565b505050565b601760009054906101000a900460ff1681565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6126f8612aab565b73ffffffffffffffffffffffffffffffffffffffff166127166120ed565b73ffffffffffffffffffffffffffffffffffffffff161461276c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161276390615646565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156127dc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127d3906156d8565b60405180910390fd5b6127e5816130ed565b50565b6127fc6000801b6127f7612aab565b612117565b61283b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161283290614d14565b60405180910390fd5b8060168190555050565b6128596000801b612854612aab565b612117565b612898576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161288f90614d14565b60405180910390fd5b6001600f60006101000a81548160ff0219169083151502179055508060168190555084601260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555083601360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555082601460006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555081601560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505050505050565b60007f7965db0b000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480612a385750612a378261337c565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16612b2683611bb2565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000612b7782612a3f565b612bb6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612bad9061576a565b60405180910390fd5b6000612bc183611bb2565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480612c035750612c02818561265c565b5b80612c4157508373ffffffffffffffffffffffffffffffffffffffff16612c2984610e93565b73ffffffffffffffffffffffffffffffffffffffff16145b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16612c6a82611bb2565b73ffffffffffffffffffffffffffffffffffffffff1614612cc0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612cb7906157fc565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612d30576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d279061588e565b60405180910390fd5b612d3b8383836133f6565b612d46600082612ab3565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612d9691906158ae565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612ded9190615512565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4612eac838383613406565b505050565b612ec281612ebd612aab565b61340b565b50565b612ecf8282612117565b612fa2576001600b600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550612f47612aab565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45b5050565b612fb08282612117565b15613084576000600b600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550613029612aab565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b60405160405180910390a45b5050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b600081600001549050919050565b6001816000016000828254019250508190555050565b6130e98282604051806020016040528060008152506134a8565b5050565b6000600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600c60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415613222576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016132199061592e565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516133139190614172565b60405180910390a3505050565b61332b848484612c4a565b61333784848484613503565b613376576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161336d906159c0565b60405180910390fd5b50505050565b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806133ef57506133ee8261369a565b5b9050919050565b61340183838361377c565b505050565b505050565b6134158282612117565b6134a45761343a8173ffffffffffffffffffffffffffffffffffffffff166014613890565b6134488360001c6020613890565b604051602001613459929190615ab4565b6040516020818303038152906040526040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161349b919061425a565b60405180910390fd5b5050565b6134b28383613acc565b6134bf6000848484613503565b6134fe576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016134f5906159c0565b60405180910390fd5b505050565b60006135248473ffffffffffffffffffffffffffffffffffffffff16613088565b1561368d578373ffffffffffffffffffffffffffffffffffffffff1663150b7a0261354d612aab565b8786866040518563ffffffff1660e01b815260040161356f9493929190615b43565b602060405180830381600087803b15801561358957600080fd5b505af19250505080156135ba57506040513d601f19601f820116820180604052508101906135b79190615ba4565b60015b61363d573d80600081146135ea576040519150601f19603f3d011682016040523d82523d6000602084013e6135ef565b606091505b50600081511415613635576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161362c906159c0565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050613692565b600190505b949350505050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061376557507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80613775575061377482613ca6565b5b9050919050565b613787838383613d10565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156137ca576137c581613d15565b613809565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614613808576138078382613d5e565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561384c5761384781613ecb565b61388b565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161461388a576138898282613f9c565b5b5b505050565b6060600060028360026138a39190615bd1565b6138ad9190615512565b67ffffffffffffffff8111156138c6576138c56144c7565b5b6040519080825280601f01601f1916602001820160405280156138f85781602001600182028036833780820191505090505b5090507f3000000000000000000000000000000000000000000000000000000000000000816000815181106139305761392f614dc6565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053507f78000000000000000000000000000000000000000000000000000000000000008160018151811061399457613993614dc6565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600060018460026139d49190615bd1565b6139de9190615512565b90505b6001811115613a7e577f3031323334353637383961626364656600000000000000000000000000000000600f861660108110613a2057613a1f614dc6565b5b1a60f81b828281518110613a3757613a36614dc6565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600485901c945080613a7790615c2b565b90506139e1565b5060008414613ac2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613ab990615ca1565b60405180910390fd5b8091505092915050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415613b3c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613b3390614e41565b60405180910390fd5b613b4581612a3f565b15613b85576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613b7c90615d0d565b60405180910390fd5b613b91600083836133f6565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254613be19190615512565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4613ca260008383613406565b5050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b60006001613d6b84611f2a565b613d7591906158ae565b9050600060076000848152602001908152602001600020549050818114613e5a576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b60006001600880549050613edf91906158ae565b9050600060096000848152602001908152602001600020549050600060088381548110613f0f57613f0e614dc6565b5b906000526020600020015490508060088381548110613f3157613f30614dc6565b5b906000526020600020018190555081600960008381526020019081526020016000208190555060096000858152602001908152602001600020600090556008805480613f8057613f7f615d2d565b5b6001900381819060005260206000200160009055905550505050565b6000613fa783611f2a565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b828054614027906149bc565b90600052602060002090601f0160209004810192826140495760008555614090565b82601f1061406257805160ff1916838001178555614090565b82800160010185558215614090579182015b8281111561408f578251825591602001919060010190614074565b5b50905061409d91906140a1565b5090565b5b808211156140ba5760008160009055506001016140a2565b5090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b614107816140d2565b811461411257600080fd5b50565b600081359050614124816140fe565b92915050565b6000602082840312156141405761413f6140c8565b5b600061414e84828501614115565b91505092915050565b60008115159050919050565b61416c81614157565b82525050565b60006020820190506141876000830184614163565b92915050565b6000819050919050565b6141a08161418d565b82525050565b60006020820190506141bb6000830184614197565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b838110156141fb5780820151818401526020810190506141e0565b8381111561420a576000848401525b50505050565b6000601f19601f8301169050919050565b600061422c826141c1565b61423681856141cc565b93506142468185602086016141dd565b61424f81614210565b840191505092915050565b600060208201905081810360008301526142748184614221565b905092915050565b6142858161418d565b811461429057600080fd5b50565b6000813590506142a28161427c565b92915050565b6000602082840312156142be576142bd6140c8565b5b60006142cc84828501614293565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000614300826142d5565b9050919050565b614310816142f5565b82525050565b600060208201905061432b6000830184614307565b92915050565b61433a816142f5565b811461434557600080fd5b50565b60008135905061435781614331565b92915050565b60008060408385031215614374576143736140c8565b5b600061438285828601614348565b925050602061439385828601614293565b9150509250929050565b6000806000606084860312156143b6576143b56140c8565b5b60006143c486828701614348565b93505060206143d586828701614348565b92505060406143e686828701614293565b9150509250925092565b6000819050919050565b614403816143f0565b811461440e57600080fd5b50565b600081359050614420816143fa565b92915050565b60006020828403121561443c5761443b6140c8565b5b600061444a84828501614411565b91505092915050565b61445c816143f0565b82525050565b60006020820190506144776000830184614453565b92915050565b60008060408385031215614494576144936140c8565b5b60006144a285828601614411565b92505060206144b385828601614348565b9150509250929050565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6144ff82614210565b810181811067ffffffffffffffff8211171561451e5761451d6144c7565b5b80604052505050565b60006145316140be565b905061453d82826144f6565b919050565b600067ffffffffffffffff82111561455d5761455c6144c7565b5b61456682614210565b9050602081019050919050565b82818337600083830152505050565b600061459561459084614542565b614527565b9050828152602081018484840111156145b1576145b06144c2565b5b6145bc848285614573565b509392505050565b600082601f8301126145d9576145d86144bd565b5b81356145e9848260208601614582565b91505092915050565b600060208284031215614608576146076140c8565b5b600082013567ffffffffffffffff811115614626576146256140cd565b5b614632848285016145c4565b91505092915050565b600080fd5b600080fd5b60008083601f84011261465b5761465a6144bd565b5b8235905067ffffffffffffffff8111156146785761467761463b565b5b60208301915083602082028301111561469457614693614640565b5b9250929050565b600080602083850312156146b2576146b16140c8565b5b600083013567ffffffffffffffff8111156146d0576146cf6140cd565b5b6146dc85828601614645565b92509250509250929050565b6000602082840312156146fe576146fd6140c8565b5b600061470c84828501614348565b91505092915050565b61471e81614157565b811461472957600080fd5b50565b60008135905061473b81614715565b92915050565b600060208284031215614757576147566140c8565b5b60006147658482850161472c565b91505092915050565b60008060408385031215614785576147846140c8565b5b600061479385828601614348565b92505060206147a48582860161472c565b9150509250929050565b600067ffffffffffffffff8211156147c9576147c86144c7565b5b6147d282614210565b9050602081019050919050565b60006147f26147ed846147ae565b614527565b90508281526020810184848401111561480e5761480d6144c2565b5b614819848285614573565b509392505050565b600082601f830112614836576148356144bd565b5b81356148468482602086016147df565b91505092915050565b60008060008060808587031215614869576148686140c8565b5b600061487787828801614348565b945050602061488887828801614348565b935050604061489987828801614293565b925050606085013567ffffffffffffffff8111156148ba576148b96140cd565b5b6148c687828801614821565b91505092959194509250565b600080604083850312156148e9576148e86140c8565b5b60006148f785828601614348565b925050602061490885828601614348565b9150509250929050565b600080600080600060a0868803121561492e5761492d6140c8565b5b600061493c88828901614348565b955050602061494d88828901614348565b945050604061495e88828901614348565b935050606061496f88828901614348565b925050608061498088828901614293565b9150509295509295909350565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806149d457607f821691505b602082108114156149e8576149e761498d565b5b50919050565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b6000614a4a602c836141cc565b9150614a55826149ee565b604082019050919050565b60006020820190508181036000830152614a7981614a3d565b9050919050565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b6000614adc6021836141cc565b9150614ae782614a80565b604082019050919050565b60006020820190508181036000830152614b0b81614acf565b9050919050565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b6000614b6e6038836141cc565b9150614b7982614b12565b604082019050919050565b60006020820190508181036000830152614b9d81614b61565b9050919050565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b6000614c006031836141cc565b9150614c0b82614ba4565b604082019050919050565b60006020820190508181036000830152614c2f81614bf3565b9050919050565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b6000614c92602b836141cc565b9150614c9d82614c36565b604082019050919050565b60006020820190508181036000830152614cc181614c85565b9050919050565b7f43616c6c6572206973206e6f7420612061646d696e0000000000000000000000600082015250565b6000614cfe6015836141cc565b9150614d0982614cc8565b602082019050919050565b60006020820190508181036000830152614d2d81614cf1565b9050919050565b7f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560008201527f20726f6c657320666f722073656c660000000000000000000000000000000000602082015250565b6000614d90602f836141cc565b9150614d9b82614d34565b604082019050919050565b60006020820190508181036000830152614dbf81614d83565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b6000614e2b6020836141cc565b9150614e3682614df5565b602082019050919050565b60006020820190508181036000830152614e5a81614e1e565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000614e9b8261418d565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415614ece57614ecd614e61565b5b600182019050919050565b7f4d696e74696e67206973206e6f206c6f6e67657220616c6c6f77656400000000600082015250565b6000614f0f601c836141cc565b9150614f1a82614ed9565b602082019050919050565b60006020820190508181036000830152614f3e81614f02565b9050919050565b7f436170207265616368656420666f7220676976656e2061646472657373000000600082015250565b6000614f7b601d836141cc565b9150614f8682614f45565b602082019050919050565b60006020820190508181036000830152614faa81614f6e565b9050919050565b7f596f7520646f6e277420686176652061204d79737465727920426f7800000000600082015250565b6000614fe7601c836141cc565b9150614ff282614fb1565b602082019050919050565b6000602082019050818103600083015261501681614fda565b9050919050565b7f596f7520646f6e2774206861766520612057415320546f6b656e000000000000600082015250565b6000615053601a836141cc565b915061505e8261501d565b602082019050919050565b6000602082019050818103600083015261508281615046565b9050919050565b7f596f7520646f6e2774206861766520612057534452204d4153544552204f522060008201527f47454e49555320746f6b656e0000000000000000000000000000000000000000602082015250565b60006150e5602c836141cc565b91506150f082615089565b604082019050919050565b60006020820190508181036000830152615114816150d8565b9050919050565b7f596f7520646f6e27742068617665206120574153444552204e46540000000000600082015250565b6000615151601b836141cc565b915061515c8261511b565b602082019050919050565b6000602082019050818103600083015261518081615144565b9050919050565b600060408201905061519c6000830185614307565b6151a96020830184614197565b9392505050565b6000815190506151bf8161427c565b92915050565b6000602082840312156151db576151da6140c8565b5b60006151e9848285016151b0565b91505092915050565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b600061524e602c836141cc565b9150615259826151f2565b604082019050919050565b6000602082019050818103600083015261527d81615241565b9050919050565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b60006152e06029836141cc565b91506152eb82615284565b604082019050919050565b6000602082019050818103600083015261530f816152d3565b9050919050565b7f436f6e7472616374206973206e6f7420696e697469616c697a65640000000000600082015250565b600061534c601b836141cc565b915061535782615316565b602082019050919050565b6000602082019050818103600083015261537b8161533f565b9050919050565b7f4361702072656163686564000000000000000000000000000000000000000000600082015250565b60006153b8600b836141cc565b91506153c382615382565b602082019050919050565b600060208201905081810360008301526153e7816153ab565b9050919050565b7f596f7520617265206e6f7420616c6c6f77656420746f206d696e74206e65772060008201527f746f6b656e730000000000000000000000000000000000000000000000000000602082015250565b600061544a6026836141cc565b9150615455826153ee565b604082019050919050565b600060208201905081810360008301526154798161543d565b9050919050565b7f4e6f7420656e6f756768204554482073656e743b20636865636b20707269636560008201527f2100000000000000000000000000000000000000000000000000000000000000602082015250565b60006154dc6021836141cc565b91506154e782615480565b604082019050919050565b6000602082019050818103600083015261550b816154cf565b9050919050565b600061551d8261418d565b91506155288361418d565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561555d5761555c614e61565b5b828201905092915050565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b60006155c4602a836141cc565b91506155cf82615568565b604082019050919050565b600060208201905081810360008301526155f3816155b7565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b60006156306020836141cc565b915061563b826155fa565b602082019050919050565b6000602082019050818103600083015261565f81615623565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b60006156c26026836141cc565b91506156cd82615666565b604082019050919050565b600060208201905081810360008301526156f1816156b5565b9050919050565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b6000615754602c836141cc565b915061575f826156f8565b604082019050919050565b6000602082019050818103600083015261578381615747565b9050919050565b7f4552433732313a207472616e736665722066726f6d20696e636f72726563742060008201527f6f776e6572000000000000000000000000000000000000000000000000000000602082015250565b60006157e66025836141cc565b91506157f18261578a565b604082019050919050565b60006020820190508181036000830152615815816157d9565b9050919050565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b60006158786024836141cc565b91506158838261581c565b604082019050919050565b600060208201905081810360008301526158a78161586b565b9050919050565b60006158b98261418d565b91506158c48361418d565b9250828210156158d7576158d6614e61565b5b828203905092915050565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b60006159186019836141cc565b9150615923826158e2565b602082019050919050565b600060208201905081810360008301526159478161590b565b9050919050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b60006159aa6032836141cc565b91506159b58261594e565b604082019050919050565b600060208201905081810360008301526159d98161599d565b9050919050565b600081905092915050565b7f416363657373436f6e74726f6c3a206163636f756e7420000000000000000000600082015250565b6000615a216017836159e0565b9150615a2c826159eb565b601782019050919050565b6000615a42826141c1565b615a4c81856159e0565b9350615a5c8185602086016141dd565b80840191505092915050565b7f206973206d697373696e6720726f6c6520000000000000000000000000000000600082015250565b6000615a9e6011836159e0565b9150615aa982615a68565b601182019050919050565b6000615abf82615a14565b9150615acb8285615a37565b9150615ad682615a91565b9150615ae28284615a37565b91508190509392505050565b600081519050919050565b600082825260208201905092915050565b6000615b1582615aee565b615b1f8185615af9565b9350615b2f8185602086016141dd565b615b3881614210565b840191505092915050565b6000608082019050615b586000830187614307565b615b656020830186614307565b615b726040830185614197565b8181036060830152615b848184615b0a565b905095945050505050565b600081519050615b9e816140fe565b92915050565b600060208284031215615bba57615bb96140c8565b5b6000615bc884828501615b8f565b91505092915050565b6000615bdc8261418d565b9150615be78361418d565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615615c2057615c1f614e61565b5b828202905092915050565b6000615c368261418d565b91506000821415615c4a57615c49614e61565b5b600182039050919050565b7f537472696e67733a20686578206c656e67746820696e73756666696369656e74600082015250565b6000615c8b6020836141cc565b9150615c9682615c55565b602082019050919050565b60006020820190508181036000830152615cba81615c7e565b9050919050565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b6000615cf7601c836141cc565b9150615d0282615cc1565b602082019050919050565b60006020820190508181036000830152615d2681615cea565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fdfea2646970667358221220a98193850a9609cf5947f198b0b4cf19b348ecf19eeb3c350644e112e4ce9c1b64736f6c63430008090033

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.