POL Price: $0.309205 (+3.43%)
Gas: 27 GWei
 

Overview

POL Balance

Polygon PoS Chain LogoPolygon PoS Chain LogoPolygon PoS Chain Logo0 POL

POL Value

$0.00

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Safe Transfer Fr...354793272022-11-11 13:45:08820 days ago1668174308IN
0xe952EEA8...E15289e90
0 POL0.0083237582.52942154
Safe Transfer Fr...350316922022-10-31 15:33:26831 days ago1667230406IN
0xe952EEA8...E15289e90
0 POL0.01893184187.68553896
Safe Transfer Fr...350306122022-10-31 14:51:03831 days ago1667227863IN
0xe952EEA8...E15289e90
0 POL0.0079038587.40594637
Mark As Used349139592022-10-28 18:16:46834 days ago1666981006IN
0xe952EEA8...E15289e90
0 POL0.0016747258.35061958
Grant Role349136132022-10-28 18:04:54834 days ago1666980294IN
0xe952EEA8...E15289e90
0 POL0.00521947100.04361539
Grant Role348283132022-10-26 15:51:51836 days ago1666799511IN
0xe952EEA8...E15289e90
0 POL0.00976818187.23035252
Set Operators348243532022-10-26 13:30:06836 days ago1666791006IN
0xe952EEA8...E15289e90
0 POL0.00482596102.36215192
Mint Sport NFT343011192022-10-13 17:32:31849 days ago1665682351IN
0xe952EEA8...E15289e90
0 POL0.1882755900
Mint Sport NFT343011142022-10-13 17:32:21849 days ago1665682341IN
0xe952EEA8...E15289e90
0 POL0.1882755900
Mint Sport NFT343011082022-10-13 17:32:09849 days ago1665682329IN
0xe952EEA8...E15289e90
0 POL0.1882755900
Mint Sport NFT343011032022-10-13 17:31:59849 days ago1665682319IN
0xe952EEA8...E15289e90
0 POL0.1882755900
Mint Sport NFT343010972022-10-13 17:31:47849 days ago1665682307IN
0xe952EEA8...E15289e90
0 POL0.1882755900
Mint Sport NFT343010922022-10-13 17:31:37849 days ago1665682297IN
0xe952EEA8...E15289e90
0 POL0.1882755900
Mint Sport NFT343010882022-10-13 17:31:29849 days ago1665682289IN
0xe952EEA8...E15289e90
0 POL0.1882755900
Mint Sport NFT343010822022-10-13 17:31:17849 days ago1665682277IN
0xe952EEA8...E15289e90
0 POL0.1882755900
Mint Sport NFT343010772022-10-13 17:31:07849 days ago1665682267IN
0xe952EEA8...E15289e90
0 POL0.1882755900
Mint Sport NFT343010732022-10-13 17:30:59849 days ago1665682259IN
0xe952EEA8...E15289e90
0 POL0.1882755900
Mint Sport NFT343010692022-10-13 17:30:51849 days ago1665682251IN
0xe952EEA8...E15289e90
0 POL0.1882755900
Mint Sport NFT343010642022-10-13 17:30:41849 days ago1665682241IN
0xe952EEA8...E15289e90
0 POL0.1882755900
Mint Sport NFT343010582022-10-13 17:30:29849 days ago1665682229IN
0xe952EEA8...E15289e90
0 POL0.1882755900
Mint Sport NFT343010532022-10-13 17:30:15849 days ago1665682215IN
0xe952EEA8...E15289e90
0 POL0.1882755900
Mint Sport NFT343010482022-10-13 17:30:05849 days ago1665682205IN
0xe952EEA8...E15289e90
0 POL0.1882755900
Mint Sport NFT343010432022-10-13 17:29:55849 days ago1665682195IN
0xe952EEA8...E15289e90
0 POL0.1882755900
Mint Sport NFT343010372022-10-13 17:29:43849 days ago1665682183IN
0xe952EEA8...E15289e90
0 POL0.1882755900
Mint Sport NFT343010332022-10-13 17:29:35849 days ago1665682175IN
0xe952EEA8...E15289e90
0 POL0.1882755900
View all transactions

Parent Transaction Hash Block From To
View All Internal Transactions
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
DegoVerseSportNFT

Compiler Version
v0.8.9+commit.e5eed63a

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 23 : DegoVerseSportNFT.sol
/*
          ___
      _.-'___'-._
    .'--.`   `.--'.
   /.'   \   /   `.\
  | /'-._/```\_.-'\ |
  |/    |     |    \|
  | \ .''-._.-''. / |
   \ |     |     | /
    '.'._.-'-._.'.'
      '-:_____;-
                DEGOVERSE.BET - WORLD CUP EDITION 2022
*/
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.9;

// Openzeppelin dependecies 
import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol";
import "@openzeppelin/contracts/token/ERC721/extensions/ERC721URIStorage.sol";
import "@openzeppelin/contracts/access/AccessControl.sol";
import "@openzeppelin/contracts/utils/Counters.sol";

// Chainlink dependecies 
import "@chainlink/contracts/src/v0.8/interfaces/VRFCoordinatorV2Interface.sol";
import "@chainlink/contracts/src/v0.8/VRFConsumerBaseV2.sol";
// Core dependecies 
import "./libs/ContextMixin.sol";
import "./libs/NativeMetaTransaction.sol";


contract DegoVerseSportNFT is ERC721Enumerable, ContextMixin, NativeMetaTransaction, AccessControl, VRFConsumerBaseV2 {
    // Auto Increment nftIDs;
    using Counters for Counters.Counter;
    Counters.Counter _tokenIdCounter;

    // CORE SETUP
    mapping(address => bool) _excludedOperators;
    mapping(uint256 => string) _tokenURIs;
    //ROLES
    /// operator role
    bytes32 public constant OPERATOR_ROLE = keccak256("OPERATOR");
    /// minter role
    bytes32 public constant MINTER_ROLE = keccak256("MINTER");
    //

    // VRF CHAINLINK DATA
    VRFCoordinatorV2Interface COORDINATOR;
    uint64 subscriptionId;
    address vrfCoordinator;
    bytes32 keyHash;
    uint32 callbackGasLimit = 2500000;
    uint16 requestConfirmations = 3;
    uint32 numWords = 100;
    //

    // NFT STRUCT GAME
    string baseTokenURI;

    struct SportNft {
        uint256 power;
        uint256 rarity;
        uint256 used;
    }

    mapping(uint256 => SportNft) public sportNfts;
    mapping(uint256 => uint256) nftRarity;
    mapping(uint256 => uint256) nftId;
    uint256[] _randomSeeds;
    //

    // Events
    event MintSportNFT(uint256 indexed tokenId, uint256 power, uint256 rarity, address owner);
    event SetSkills(uint256 indexed tokenId, uint256 newPower, uint256 newRarity);
    event SetTokenURI(uint256 indexed tokenId, string newTokenURI);
    event MarkAsUsed(uint256 indexed tokenId, uint256 usedCounter);

    constructor(uint64 _subscriptionId, address _vrfCoordinator, bytes32 _keyHash) 
        VRFConsumerBaseV2(_vrfCoordinator) ERC721("DegoVerse SportNFT", "SportNFT") 
    {
        // Allow meta transactions
        _initializeEIP712("DegoVerse SportNFT");
        
        // Setup vrf chainlink
        COORDINATOR = VRFCoordinatorV2Interface(_vrfCoordinator);
        vrfCoordinator = _vrfCoordinator;
        keyHash = _keyHash;
        subscriptionId = _subscriptionId;

        // Setup access control
        _setupRole(DEFAULT_ADMIN_ROLE, msg.sender);
        _setupRole(MINTER_ROLE, msg.sender);
        _setupRole(OPERATOR_ROLE, msg.sender);
    }

    function mintSportNFT(
        uint256 rarity,
        address owner
    ) external onlyRole(MINTER_ROLE) returns (uint256) {        
        require(_randomSeeds.length > 0, "Generate random Seeds before mint");

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

        SportNft storage sportNft = sportNfts[sportId];

        // vrf randomness data 
        sportNft.power = (_randomSeeds[totalSupply() % numWords] % 100) + 1;
        sportNft.rarity = rarity;
        //mint new unique random nft sportNft
        _safeMint(owner, sportId);
        
        emit MintSportNFT(sportId, sportNft.power, sportNft.rarity, owner);

        return sportId;
    }

    // GAME METHODS
    // This method generate seeds for build spoft nft power randomness.
    function generateSeeds() external onlyRole(DEFAULT_ADMIN_ROLE) returns(uint256) {
        uint256 requestId = COORDINATOR.requestRandomWords(
            keyHash,
            subscriptionId,
            requestConfirmations,
            callbackGasLimit,
            numWords
        );

        return requestId;
    }

    function fulfillRandomWords(
        uint256,
        uint256[] memory randomWords
    ) internal override {
        _randomSeeds = randomWords;
    }


    /// GAME SET Methods
    // This method allow set skills of the sport nft. Only Operator can run this method.
    function setSkills(uint256 tokenId, uint256 power, uint256 rarity) external onlyRole(OPERATOR_ROLE) {
        require(_exists(tokenId));
      
        sportNfts[tokenId].power    = power;
        sportNfts[tokenId].rarity   = rarity;

        emit SetSkills(tokenId, power, rarity);
    }

    // This method allow mark as used of the sport nft. Only Operator can run this method.
    function markAsUsed(uint256 tokenId, uint256 used) external onlyRole(OPERATOR_ROLE) {
        require(_exists(tokenId));

        sportNfts[tokenId].used = used;
        
        emit MarkAsUsed(tokenId, used);
    }

    function _setTokenURI(uint256 tokenId, string memory _tokenURI) internal virtual {
        require(_exists(tokenId));

        _tokenURIs[tokenId] = _tokenURI;

        emit SetTokenURI(tokenId, _tokenURI);
    }

    function setTokenURI(uint256 tokenId, string memory _tokenURI) external onlyRole(DEFAULT_ADMIN_ROLE) {
         _setTokenURI(tokenId, _tokenURI);
    }

    /// GAME READ Methods
    function getAttrs(uint256 tokenId)
        external
        view
        returns (
            uint256,
            uint256,
            uint256
        )
    {
        require(_exists(tokenId));
        
        return (
            sportNfts[tokenId].power,
            sportNfts[tokenId].rarity,
            sportNfts[tokenId].used
        );
    }
    //


    // CORE METHODS
    // Override isApprovedForAll to whitelist user's proxy accounts to enable gas-less listings.
    function isApprovedForAll(
        address owner,
        address operator
    ) public override view returns (bool isOperator) {
        if (_excludedOperators[operator]) {
            return true;
        }
        
        return ERC721.isApprovedForAll(owner, operator);
    }

     // This is used instead of msg.sender as transactions won't be sent by the original token owner, but by OpenSea.
    function _msgSender()
        internal
        override
        view
        returns (address sender)
    {
        return ContextMixin.msgSender();
    }

    // Add/Update operator address. Only Owner can run this method
    function setOperators(address operatorAddress, bool status) external onlyRole(DEFAULT_ADMIN_ROLE) {
        require(operatorAddress != address(0));
        
        _excludedOperators[operatorAddress] = status;
    }

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

    function nextTokenId() external view returns(uint256) {
        return _tokenIdCounter.current();
    }

    // Sets the base token URI prefix.
    function setBaseTokenURI(string memory _baseTokenURI) external onlyRole(DEFAULT_ADMIN_ROLE) {
        baseTokenURI = _baseTokenURI;
    }

    // Sets the base URI.
    function _baseURI() internal override view virtual returns (string memory) {
        return baseTokenURI;
    }

    function setNumWords(uint32 newNumWords) external onlyRole(DEFAULT_ADMIN_ROLE) {
        numWords = newNumWords;
    }

    function tokenURI(uint256 tokenId) public view virtual override returns (string memory) {
        require(_exists(tokenId));

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

        if (bytes(_tokenURI).length > 0) {
            return _tokenURI;
        }
        if (bytes(base).length > 0) {
            return string(abi.encodePacked(base, Strings.toString(tokenId)));
        }

        return super.tokenURI(tokenId);
    }

}

File 2 of 23 : 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 23 : ERC721URIStorage.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (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) {
        _requireMinted(tokenId);

        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 See {ERC721-_burn}. This override additionally checks to see if a
     * token-specific URI was set for the token, and if so, it deletes the token URI from
     * the storage mapping.
     */
    function _burn(uint256 tokenId) internal virtual override {
        super._burn(tokenId);

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

File 4 of 23 : AccessControl.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.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.
     *
     * May emit a {RoleGranted} event.
     */
    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.
     *
     * May emit a {RoleRevoked} event.
     */
    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`.
     *
     * May emit a {RoleRevoked} event.
     */
    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.
     *
     * May emit a {RoleGranted} event.
     *
     * [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.
     *
     * May emit a {RoleGranted} event.
     */
    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.
     *
     * May emit a {RoleRevoked} event.
     */
    function _revokeRole(bytes32 role, address account) internal virtual {
        if (hasRole(role, account)) {
            _roles[role].members[account] = false;
            emit RoleRevoked(role, account, _msgSender());
        }
    }
}

File 5 of 23 : 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 6 of 23 : VRFCoordinatorV2Interface.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;

interface VRFCoordinatorV2Interface {
  /**
   * @notice Get configuration relevant for making requests
   * @return minimumRequestConfirmations global min for request confirmations
   * @return maxGasLimit global max for request gas limit
   * @return s_provingKeyHashes list of registered key hashes
   */
  function getRequestConfig()
    external
    view
    returns (
      uint16,
      uint32,
      bytes32[] memory
    );

  /**
   * @notice Request a set of random words.
   * @param keyHash - Corresponds to a particular oracle job which uses
   * that key for generating the VRF proof. Different keyHash's have different gas price
   * ceilings, so you can select a specific one to bound your maximum per request cost.
   * @param subId  - The ID of the VRF subscription. Must be funded
   * with the minimum subscription balance required for the selected keyHash.
   * @param minimumRequestConfirmations - How many blocks you'd like the
   * oracle to wait before responding to the request. See SECURITY CONSIDERATIONS
   * for why you may want to request more. The acceptable range is
   * [minimumRequestBlockConfirmations, 200].
   * @param callbackGasLimit - How much gas you'd like to receive in your
   * fulfillRandomWords callback. Note that gasleft() inside fulfillRandomWords
   * may be slightly less than this amount because of gas used calling the function
   * (argument decoding etc.), so you may need to request slightly more than you expect
   * to have inside fulfillRandomWords. The acceptable range is
   * [0, maxGasLimit]
   * @param numWords - The number of uint256 random values you'd like to receive
   * in your fulfillRandomWords callback. Note these numbers are expanded in a
   * secure way by the VRFCoordinator from a single random value supplied by the oracle.
   * @return requestId - A unique identifier of the request. Can be used to match
   * a request to a response in fulfillRandomWords.
   */
  function requestRandomWords(
    bytes32 keyHash,
    uint64 subId,
    uint16 minimumRequestConfirmations,
    uint32 callbackGasLimit,
    uint32 numWords
  ) external returns (uint256 requestId);

  /**
   * @notice Create a VRF subscription.
   * @return subId - A unique subscription id.
   * @dev You can manage the consumer set dynamically with addConsumer/removeConsumer.
   * @dev Note to fund the subscription, use transferAndCall. For example
   * @dev  LINKTOKEN.transferAndCall(
   * @dev    address(COORDINATOR),
   * @dev    amount,
   * @dev    abi.encode(subId));
   */
  function createSubscription() external returns (uint64 subId);

  /**
   * @notice Get a VRF subscription.
   * @param subId - ID of the subscription
   * @return balance - LINK balance of the subscription in juels.
   * @return reqCount - number of requests for this subscription, determines fee tier.
   * @return owner - owner of the subscription.
   * @return consumers - list of consumer address which are able to use this subscription.
   */
  function getSubscription(uint64 subId)
    external
    view
    returns (
      uint96 balance,
      uint64 reqCount,
      address owner,
      address[] memory consumers
    );

  /**
   * @notice Request subscription owner transfer.
   * @param subId - ID of the subscription
   * @param newOwner - proposed new owner of the subscription
   */
  function requestSubscriptionOwnerTransfer(uint64 subId, address newOwner) external;

  /**
   * @notice Request subscription owner transfer.
   * @param subId - ID of the subscription
   * @dev will revert if original owner of subId has
   * not requested that msg.sender become the new owner.
   */
  function acceptSubscriptionOwnerTransfer(uint64 subId) external;

  /**
   * @notice Add a consumer to a VRF subscription.
   * @param subId - ID of the subscription
   * @param consumer - New consumer which can use the subscription
   */
  function addConsumer(uint64 subId, address consumer) external;

  /**
   * @notice Remove a consumer from a VRF subscription.
   * @param subId - ID of the subscription
   * @param consumer - Consumer to remove from the subscription
   */
  function removeConsumer(uint64 subId, address consumer) external;

  /**
   * @notice Cancel a subscription
   * @param subId - ID of the subscription
   * @param to - Where to send the remaining LINK to
   */
  function cancelSubscription(uint64 subId, address to) external;
}

File 7 of 23 : VRFConsumerBaseV2.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.4;

/** ****************************************************************************
 * @notice Interface for contracts using VRF randomness
 * *****************************************************************************
 * @dev PURPOSE
 *
 * @dev Reggie the Random Oracle (not his real job) wants to provide randomness
 * @dev to Vera the verifier in such a way that Vera can be sure he's not
 * @dev making his output up to suit himself. Reggie provides Vera a public key
 * @dev to which he knows the secret key. Each time Vera provides a seed to
 * @dev Reggie, he gives back a value which is computed completely
 * @dev deterministically from the seed and the secret key.
 *
 * @dev Reggie provides a proof by which Vera can verify that the output was
 * @dev correctly computed once Reggie tells it to her, but without that proof,
 * @dev the output is indistinguishable to her from a uniform random sample
 * @dev from the output space.
 *
 * @dev The purpose of this contract is to make it easy for unrelated contracts
 * @dev to talk to Vera the verifier about the work Reggie is doing, to provide
 * @dev simple access to a verifiable source of randomness. It ensures 2 things:
 * @dev 1. The fulfillment came from the VRFCoordinator
 * @dev 2. The consumer contract implements fulfillRandomWords.
 * *****************************************************************************
 * @dev USAGE
 *
 * @dev Calling contracts must inherit from VRFConsumerBase, and can
 * @dev initialize VRFConsumerBase's attributes in their constructor as
 * @dev shown:
 *
 * @dev   contract VRFConsumer {
 * @dev     constructor(<other arguments>, address _vrfCoordinator, address _link)
 * @dev       VRFConsumerBase(_vrfCoordinator) public {
 * @dev         <initialization with other arguments goes here>
 * @dev       }
 * @dev   }
 *
 * @dev The oracle will have given you an ID for the VRF keypair they have
 * @dev committed to (let's call it keyHash). Create subscription, fund it
 * @dev and your consumer contract as a consumer of it (see VRFCoordinatorInterface
 * @dev subscription management functions).
 * @dev Call requestRandomWords(keyHash, subId, minimumRequestConfirmations,
 * @dev callbackGasLimit, numWords),
 * @dev see (VRFCoordinatorInterface for a description of the arguments).
 *
 * @dev Once the VRFCoordinator has received and validated the oracle's response
 * @dev to your request, it will call your contract's fulfillRandomWords method.
 *
 * @dev The randomness argument to fulfillRandomWords is a set of random words
 * @dev generated from your requestId and the blockHash of the request.
 *
 * @dev If your contract could have concurrent requests open, you can use the
 * @dev requestId returned from requestRandomWords to track which response is associated
 * @dev with which randomness request.
 * @dev See "SECURITY CONSIDERATIONS" for principles to keep in mind,
 * @dev if your contract could have multiple requests in flight simultaneously.
 *
 * @dev Colliding `requestId`s are cryptographically impossible as long as seeds
 * @dev differ.
 *
 * *****************************************************************************
 * @dev SECURITY CONSIDERATIONS
 *
 * @dev A method with the ability to call your fulfillRandomness method directly
 * @dev could spoof a VRF response with any random value, so it's critical that
 * @dev it cannot be directly called by anything other than this base contract
 * @dev (specifically, by the VRFConsumerBase.rawFulfillRandomness method).
 *
 * @dev For your users to trust that your contract's random behavior is free
 * @dev from malicious interference, it's best if you can write it so that all
 * @dev behaviors implied by a VRF response are executed *during* your
 * @dev fulfillRandomness method. If your contract must store the response (or
 * @dev anything derived from it) and use it later, you must ensure that any
 * @dev user-significant behavior which depends on that stored value cannot be
 * @dev manipulated by a subsequent VRF request.
 *
 * @dev Similarly, both miners and the VRF oracle itself have some influence
 * @dev over the order in which VRF responses appear on the blockchain, so if
 * @dev your contract could have multiple VRF requests in flight simultaneously,
 * @dev you must ensure that the order in which the VRF responses arrive cannot
 * @dev be used to manipulate your contract's user-significant behavior.
 *
 * @dev Since the block hash of the block which contains the requestRandomness
 * @dev call is mixed into the input to the VRF *last*, a sufficiently powerful
 * @dev miner could, in principle, fork the blockchain to evict the block
 * @dev containing the request, forcing the request to be included in a
 * @dev different block with a different hash, and therefore a different input
 * @dev to the VRF. However, such an attack would incur a substantial economic
 * @dev cost. This cost scales with the number of blocks the VRF oracle waits
 * @dev until it calls responds to a request. It is for this reason that
 * @dev that you can signal to an oracle you'd like them to wait longer before
 * @dev responding to the request (however this is not enforced in the contract
 * @dev and so remains effective only in the case of unmodified oracle software).
 */
abstract contract VRFConsumerBaseV2 {
  error OnlyCoordinatorCanFulfill(address have, address want);
  address private immutable vrfCoordinator;

  /**
   * @param _vrfCoordinator address of VRFCoordinator contract
   */
  constructor(address _vrfCoordinator) {
    vrfCoordinator = _vrfCoordinator;
  }

  /**
   * @notice fulfillRandomness handles the VRF response. Your contract must
   * @notice implement it. See "SECURITY CONSIDERATIONS" above for important
   * @notice principles to keep in mind when implementing your fulfillRandomness
   * @notice method.
   *
   * @dev VRFConsumerBaseV2 expects its subcontracts to have a method with this
   * @dev signature, and will call it once it has verified the proof
   * @dev associated with the randomness. (It is triggered via a call to
   * @dev rawFulfillRandomness, below.)
   *
   * @param requestId The Id initially returned by requestRandomness
   * @param randomWords the VRF output expanded to the requested number of words
   */
  function fulfillRandomWords(uint256 requestId, uint256[] memory randomWords) internal virtual;

  // rawFulfillRandomness is called by VRFCoordinator when it receives a valid VRF
  // proof. rawFulfillRandomness then calls fulfillRandomness, after validating
  // the origin of the call
  function rawFulfillRandomWords(uint256 requestId, uint256[] memory randomWords) external {
    if (msg.sender != vrfCoordinator) {
      revert OnlyCoordinatorCanFulfill(msg.sender, vrfCoordinator);
    }
    fulfillRandomWords(requestId, randomWords);
  }
}

File 8 of 23 : ContextMixin.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.9;

abstract contract ContextMixin {
    function msgSender()
        internal
        view
        returns (address payable sender)
    {
        if (msg.sender == address(this)) {
            bytes memory array = msg.data;
            uint256 index = msg.data.length;
            assembly {
                // Load the 32 bytes word from memory with the address on the lower 20 bytes, and mask those.
                sender := and(
                    mload(add(array, index)),
                    0xffffffffffffffffffffffffffffffffffffffff
                )
            }
        } else {
            sender = payable(msg.sender);
        }
        return sender;
    }
}

File 9 of 23 : NativeMetaTransaction.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.9;

import {SafeMath} from  "@openzeppelin/contracts/utils/math/SafeMath.sol";
import {EIP712Base} from "./EIP712Base.sol";

contract NativeMetaTransaction is EIP712Base {
    using SafeMath for uint256;
    bytes32 private constant META_TRANSACTION_TYPEHASH = keccak256(
        bytes(
            "MetaTransaction(uint256 nonce,address from,bytes functionSignature)"
        )
    );
    event MetaTransactionExecuted(
        address userAddress,
        address payable relayerAddress,
        bytes functionSignature
    );
    mapping(address => uint256) nonces;

    /*
     * Meta transaction structure.
     * No point of including value field here as if user is doing value transfer then he has the funds to pay for gas
     * He should call the desired function directly in that case.
     */
    struct MetaTransaction {
        uint256 nonce;
        address from;
        bytes functionSignature;
    }

    function executeMetaTransaction(
        address userAddress,
        bytes memory functionSignature,
        bytes32 sigR,
        bytes32 sigS,
        uint8 sigV
    ) public payable returns (bytes memory) {
        MetaTransaction memory metaTx = MetaTransaction({
            nonce: nonces[userAddress],
            from: userAddress,
            functionSignature: functionSignature
        });

        require(
            verify(userAddress, metaTx, sigR, sigS, sigV),
            "Signer and signature do not match"
        );

        // increase nonce for user (to avoid re-use)
        nonces[userAddress] = nonces[userAddress].add(1);

        emit MetaTransactionExecuted(
            userAddress,
            payable(msg.sender),
            functionSignature
        );

        // Append userAddress and relayer address at the end to extract it from calling context
        (bool success, bytes memory returnData) = address(this).call(
            abi.encodePacked(functionSignature, userAddress)
        );
        require(success, "Function call not successful");

        return returnData;
    }

    function hashMetaTransaction(MetaTransaction memory metaTx)
        internal
        pure
        returns (bytes32)
    {
        return
            keccak256(
                abi.encode(
                    META_TRANSACTION_TYPEHASH,
                    metaTx.nonce,
                    metaTx.from,
                    keccak256(metaTx.functionSignature)
                )
            );
    }

    function getNonce(address user) public view returns (uint256 nonce) {
        nonce = nonces[user];
    }

    function verify(
        address signer,
        MetaTransaction memory metaTx,
        bytes32 sigR,
        bytes32 sigS,
        uint8 sigV
    ) internal view returns (bool) {
        require(signer != address(0), "NativeMetaTransaction: INVALID_SIGNER");
        return
            signer ==
            ecrecover(
                toTypedMessageHash(hashMetaTransaction(metaTx)),
                sigV,
                sigR,
                sigS
            );
    }
}

File 10 of 23 : ERC721.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.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: address zero is not a valid owner");
        return _balances[owner];
    }

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

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

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

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

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

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

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

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

        _approve(to, tokenId);
    }

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

        return _tokenApprovals[tokenId];
    }

    /**
     * @dev See {IERC721-setApprovalForAll}.
     */
    function setApprovalForAll(address operator, bool approved) public virtual override {
        _setApprovalForAll(_msgSender(), operator, approved);
    }

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

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

        _transfer(from, to, tokenId);
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    /**
     * @dev Transfers `tokenId` from `from` to `to`.
     *  As opposed to {transferFrom}, this imposes no restrictions on msg.sender.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - `tokenId` token must be owned by `from`.
     *
     * Emits a {Transfer} event.
     */
    function _transfer(
        address from,
        address to,
        uint256 tokenId
    ) internal virtual {
        require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer from incorrect owner");
        require(to != address(0), "ERC721: transfer to the zero address");

        _beforeTokenTransfer(from, to, tokenId);

        // Clear approvals from the previous owner
        _approve(address(0), tokenId);

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

        emit Transfer(from, to, tokenId);

        _afterTokenTransfer(from, to, tokenId);
    }

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

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

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

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

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

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

File 11 of 23 : 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 23 : IERC721.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.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 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 23 : 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 23 : 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 23 : Address.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (utils/Address.sol)

pragma solidity ^0.8.1;

/**
 * @dev Collection of functions related to the address type
 */
library Address {
    /**
     * @dev Returns true if `account` is a contract.
     *
     * [IMPORTANT]
     * ====
     * It is unsafe to assume that an address for which this function returns
     * false is an externally-owned account (EOA) and not a contract.
     *
     * Among others, `isContract` will return false for the following
     * types of addresses:
     *
     *  - an externally-owned account
     *  - a contract in construction
     *  - an address where a contract will be created
     *  - an address where a contract lived, but was destroyed
     * ====
     *
     * [IMPORTANT]
     * ====
     * You shouldn't rely on `isContract` to protect against flash loan attacks!
     *
     * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets
     * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract
     * constructor.
     * ====
     */
    function isContract(address account) internal view returns (bool) {
        // This method relies on extcodesize/address.code.length, which returns 0
        // for contracts in construction, since the code is only stored at the end
        // of the constructor execution.

        return account.code.length > 0;
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

File 16 of 23 : 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 17 of 23 : Strings.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (utils/Strings.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

File 21 of 23 : SafeMath.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.0) (utils/math/SafeMath.sol)

pragma solidity ^0.8.0;

// CAUTION
// This version of SafeMath should only be used with Solidity 0.8 or later,
// because it relies on the compiler's built in overflow checks.

/**
 * @dev Wrappers over Solidity's arithmetic operations.
 *
 * NOTE: `SafeMath` is generally not needed starting with Solidity 0.8, since the compiler
 * now has built in overflow checking.
 */
library SafeMath {
    /**
     * @dev Returns the addition of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            uint256 c = a + b;
            if (c < a) return (false, 0);
            return (true, c);
        }
    }

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

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

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

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

    /**
     * @dev Returns the addition of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `+` operator.
     *
     * Requirements:
     *
     * - Addition cannot overflow.
     */
    function add(uint256 a, uint256 b) internal pure returns (uint256) {
        return a + b;
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting on
     * overflow (when the result is negative).
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     *
     * - Subtraction cannot overflow.
     */
    function sub(uint256 a, uint256 b) internal pure returns (uint256) {
        return a - b;
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `*` operator.
     *
     * Requirements:
     *
     * - Multiplication cannot overflow.
     */
    function mul(uint256 a, uint256 b) internal pure returns (uint256) {
        return a * b;
    }

    /**
     * @dev Returns the integer division of two unsigned integers, reverting on
     * division by zero. The result is rounded towards zero.
     *
     * Counterpart to Solidity's `/` operator.
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function div(uint256 a, uint256 b) internal pure returns (uint256) {
        return a / b;
    }

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

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

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

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

File 22 of 23 : EIP712Base.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.9;

import {Initializable} from "./Initializable.sol";

contract EIP712Base is Initializable {
    struct EIP712Domain {
        string name;
        string version;
        address verifyingContract;
        bytes32 salt;
    }

    string constant public ERC712_VERSION = "1";

    bytes32 internal constant EIP712_DOMAIN_TYPEHASH = keccak256(
        bytes(
            "EIP712Domain(string name,string version,address verifyingContract,bytes32 salt)"
        )
    );
    bytes32 internal domainSeparator;

    // supposed to be called once while initializing.
    // one of the contracts that inherits this contract follows proxy pattern
    // so it is not possible to do this in a constructor
    function _initializeEIP712(
        string memory name
    )
        internal
        initializer
    {
        _setDomainSeparator(name);
    }

    function _setDomainSeparator(string memory name) internal {
        domainSeparator = keccak256(
            abi.encode(
                EIP712_DOMAIN_TYPEHASH,
                keccak256(bytes(name)),
                keccak256(bytes(ERC712_VERSION)),
                address(this),
                bytes32(getChainId())
            )
        );
    }

    function getDomainSeparator() public view returns (bytes32) {
        return domainSeparator;
    }

    function getChainId() public view returns (uint256) {
        uint256 id;
        assembly {
            id := chainid()
        }
        return id;
    }

    /**
     * Accept message hash and returns hash message in EIP712 compatible form
     * So that it can be used to recover signer from signature signed using EIP712 formatted data
     * https://eips.ethereum.org/EIPS/eip-712
     * "\\x19" makes the encoding deterministic
     * "\\x01" is the version byte to make it compatible to EIP-191
     */
    function toTypedMessageHash(bytes32 messageHash)
        internal
        view
        returns (bytes32)
    {
        return
            keccak256(
                abi.encodePacked("\x19\x01", getDomainSeparator(), messageHash)
            );
    }
}

File 23 of 23 : Initializable.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.9;

contract Initializable {
    bool inited = false;

    modifier initializer() {
        require(!inited, "already inited");
        _;
        inited = true;
    }
}

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"uint64","name":"_subscriptionId","type":"uint64"},{"internalType":"address","name":"_vrfCoordinator","type":"address"},{"internalType":"bytes32","name":"_keyHash","type":"bytes32"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[{"internalType":"address","name":"have","type":"address"},{"internalType":"address","name":"want","type":"address"}],"name":"OnlyCoordinatorCanFulfill","type":"error"},{"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":"uint256","name":"tokenId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"usedCounter","type":"uint256"}],"name":"MarkAsUsed","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"userAddress","type":"address"},{"indexed":false,"internalType":"address payable","name":"relayerAddress","type":"address"},{"indexed":false,"internalType":"bytes","name":"functionSignature","type":"bytes"}],"name":"MetaTransactionExecuted","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"power","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"rarity","type":"uint256"},{"indexed":false,"internalType":"address","name":"owner","type":"address"}],"name":"MintSportNFT","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"previousAdminRole","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"newAdminRole","type":"bytes32"}],"name":"RoleAdminChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleGranted","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleRevoked","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"newPower","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"newRarity","type":"uint256"}],"name":"SetSkills","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"},{"indexed":false,"internalType":"string","name":"newTokenURI","type":"string"}],"name":"SetTokenURI","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"DEFAULT_ADMIN_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"ERC712_VERSION","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MINTER_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"OPERATOR_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"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":"userAddress","type":"address"},{"internalType":"bytes","name":"functionSignature","type":"bytes"},{"internalType":"bytes32","name":"sigR","type":"bytes32"},{"internalType":"bytes32","name":"sigS","type":"bytes32"},{"internalType":"uint8","name":"sigV","type":"uint8"}],"name":"executeMetaTransaction","outputs":[{"internalType":"bytes","name":"","type":"bytes"}],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"generateSeeds","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getAttrs","outputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getChainId","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getDomainSeparator","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"user","type":"address"}],"name":"getNonce","outputs":[{"internalType":"uint256","name":"nonce","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":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"hasRole","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"isOperator","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"uint256","name":"used","type":"uint256"}],"name":"markAsUsed","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"rarity","type":"uint256"},{"internalType":"address","name":"owner","type":"address"}],"name":"mintSportNFT","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"nextTokenId","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"requestId","type":"uint256"},{"internalType":"uint256[]","name":"randomWords","type":"uint256[]"}],"name":"rawFulfillRandomWords","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"renounceRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"revokeRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_baseTokenURI","type":"string"}],"name":"setBaseTokenURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint32","name":"newNumWords","type":"uint32"}],"name":"setNumWords","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operatorAddress","type":"address"},{"internalType":"bool","name":"status","type":"bool"}],"name":"setOperators","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"uint256","name":"power","type":"uint256"},{"internalType":"uint256","name":"rarity","type":"uint256"}],"name":"setSkills","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"string","name":"_tokenURI","type":"string"}],"name":"setTokenURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"sportNfts","outputs":[{"internalType":"uint256","name":"power","type":"uint256"},{"internalType":"uint256","name":"rarity","type":"uint256"},{"internalType":"uint256","name":"used","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60a06040526000600a60006101000a81548160ff021916908315150217905550622625a0601460006101000a81548163ffffffff021916908363ffffffff1602179055506003601460046101000a81548161ffff021916908361ffff1602179055506064601460066101000a81548163ffffffff021916908363ffffffff1602179055503480156200009057600080fd5b50604051620061fa380380620061fa8339818101604052810190620000b6919062000820565b816040518060400160405280601281526020017f4465676f56657273652053706f72744e465400000000000000000000000000008152506040518060400160405280600881526020017f53706f72744e465400000000000000000000000000000000000000000000000081525081600090805190602001906200013b92919062000686565b5080600190805190602001906200015492919062000686565b5050508073ffffffffffffffffffffffffffffffffffffffff1660808173ffffffffffffffffffffffffffffffffffffffff168152505050620001d26040518060400160405280601281526020017f4465676f56657273652053706f72744e465400000000000000000000000000008152506200030660201b60201c565b81601160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555081601260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508060138190555082601160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550620002996000801b336200038860201b60201c565b620002cb7ff0887ba65ee2024ea881d91b74c2450ef19e1557f03bed3ea9f16b037cbe2dc9336200038860201b60201c565b620002fd7f523a704056dcd17bcf83bed8b68c59416dac1119be77755efe3bde0a64e46e0c336200038860201b60201c565b505050620009e3565b600a60009054906101000a900460ff161562000359576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016200035090620008dd565b60405180910390fd5b6200036a816200039e60201b60201c565b6001600a60006101000a81548160ff02191690831515021790555050565b6200039a82826200044d60201b60201c565b5050565b6040518060800160405280604f8152602001620061ab604f91398051906020012081805190602001206040518060400160405280600181526020017f31000000000000000000000000000000000000000000000000000000000000008152508051906020012030620004156200053f60201b60201c565b60001b6040516020016200042e95949392919062000921565b60405160208183030381529060405280519060200120600b8190555050565b6200045f82826200054c60201b60201c565b6200053b576001600d600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550620004e0620005b760201b60201c565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45b5050565b6000804690508091505090565b6000600d600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6000620005ce620005d360201b62001cba1760201c565b905090565b60003073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614156200067f57600080368080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f820116905080830192505050505050509050600080369050905073ffffffffffffffffffffffffffffffffffffffff81830151169250505062000683565b3390505b90565b8280546200069490620009ad565b90600052602060002090601f016020900481019282620006b8576000855562000704565b82601f10620006d357805160ff191683800117855562000704565b8280016001018555821562000704579182015b8281111562000703578251825591602001919060010190620006e6565b5b50905062000713919062000717565b5090565b5b808211156200073257600081600090555060010162000718565b5090565b600080fd5b600067ffffffffffffffff82169050919050565b6200075a816200073b565b81146200076657600080fd5b50565b6000815190506200077a816200074f565b92915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000620007ad8262000780565b9050919050565b620007bf81620007a0565b8114620007cb57600080fd5b50565b600081519050620007df81620007b4565b92915050565b6000819050919050565b620007fa81620007e5565b81146200080657600080fd5b50565b6000815190506200081a81620007ef565b92915050565b6000806000606084860312156200083c576200083b62000736565b5b60006200084c8682870162000769565b93505060206200085f86828701620007ce565b9250506040620008728682870162000809565b9150509250925092565b600082825260208201905092915050565b7f616c726561647920696e69746564000000000000000000000000000000000000600082015250565b6000620008c5600e836200087c565b9150620008d2826200088d565b602082019050919050565b60006020820190508181036000830152620008f881620008b6565b9050919050565b6200090a81620007e5565b82525050565b6200091b81620007a0565b82525050565b600060a082019050620009386000830188620008ff565b620009476020830187620008ff565b620009566040830186620008ff565b62000965606083018562000910565b620009746080830184620008ff565b9695505050505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680620009c657607f821691505b60208210811415620009dd57620009dc6200097e565b5b50919050565b6080516157a562000a066000396000818161120c015261126001526157a56000f3fe6080604052600436106102465760003560e01c806342842e0e11610139578063a217fddf116100b6578063d53913931161007a578063d539139314610905578063d547741f14610930578063e985e9c514610959578063ed24911d14610996578063f30c07d3146109c1578063f5b541a6146109ea57610246565b8063a217fddf1461080c578063a22cb46514610837578063b88d4fde14610860578063c87b56dd14610889578063ca706d50146108c657610246565b80636a5da9b2116100fd5780636a5da9b2146106fd57806370a082311461073c57806375794a3c1461077957806391d14854146107a457806395d89b41146107e157610246565b806342842e0e146106085780634f6ccce7146106315780635cfbfc6d1461066e57806361facc87146106975780636352211e146106c057610246565b806318160ddd116101c75780632f2ff15d1161018b5780632f2ff15d146105255780632f745c591461054e57806330176e131461058b5780633408e470146105b457806336568abe146105df57610246565b806318160ddd1461042e5780631fe543e31461045957806323b872dd14610482578063248a9ca3146104ab5780632d0335ab146104e857610246565b8063095ea7b31161020e578063095ea7b3146103565780630c53c51c1461037f5780630eafcc79146103af5780630f7e5970146103da578063162094c41461040557610246565b80630188cb8f1461024b57806301ffc9a714610288578063043568f7146102c557806306fdde03146102ee578063081812fc14610319575b600080fd5b34801561025757600080fd5b50610272600480360381019061026d91906139cc565b610a15565b60405161027f9190613a1b565b60405180910390f35b34801561029457600080fd5b506102af60048036038101906102aa9190613a8e565b610b84565b6040516102bc9190613ad6565b60405180910390f35b3480156102d157600080fd5b506102ec60048036038101906102e79190613af1565b610b96565b005b3480156102fa57600080fd5b50610303610c2a565b6040516103109190613bca565b60405180910390f35b34801561032557600080fd5b50610340600480360381019061033b9190613bec565b610cbc565b60405161034d9190613c28565b60405180910390f35b34801561036257600080fd5b5061037d60048036038101906103789190613c43565b610d02565b005b61039960048036038101906103949190613e27565b610e1a565b6040516103a69190613f13565b60405180910390f35b3480156103bb57600080fd5b506103c461108c565b6040516103d19190613a1b565b60405180910390f35b3480156103e657600080fd5b506103ef6111a8565b6040516103fc9190613bca565b60405180910390f35b34801561041157600080fd5b5061042c60048036038101906104279190613fd6565b6111e1565b005b34801561043a57600080fd5b506104436111fd565b6040516104509190613a1b565b60405180910390f35b34801561046557600080fd5b50610480600480360381019061047b91906140fa565b61120a565b005b34801561048e57600080fd5b506104a960048036038101906104a49190614156565b6112ca565b005b3480156104b757600080fd5b506104d260048036038101906104cd91906141a9565b61132a565b6040516104df91906141e5565b60405180910390f35b3480156104f457600080fd5b5061050f600480360381019061050a9190614200565b61134a565b60405161051c9190613a1b565b60405180910390f35b34801561053157600080fd5b5061054c6004803603810190610547919061422d565b611393565b005b34801561055a57600080fd5b5061057560048036038101906105709190613c43565b6113b4565b6040516105829190613a1b565b60405180910390f35b34801561059757600080fd5b506105b260048036038101906105ad919061426d565b611459565b005b3480156105c057600080fd5b506105c9611481565b6040516105d69190613a1b565b60405180910390f35b3480156105eb57600080fd5b506106066004803603810190610601919061422d565b61148e565b005b34801561061457600080fd5b5061062f600480360381019061062a9190614156565b611511565b005b34801561063d57600080fd5b5061065860048036038101906106539190613bec565b611531565b6040516106659190613a1b565b60405180910390f35b34801561067a57600080fd5b50610695600480360381019061069091906142e2565b6115a2565b005b3480156106a357600080fd5b506106be60048036038101906106b99190614322565b611645565b005b3480156106cc57600080fd5b506106e760048036038101906106e29190613bec565b6116f7565b6040516106f49190613c28565b60405180910390f35b34801561070957600080fd5b50610724600480360381019061071f9190613bec565b6117a9565b60405161073393929190614375565b60405180910390f35b34801561074857600080fd5b50610763600480360381019061075e9190614200565b6117d3565b6040516107709190613a1b565b60405180910390f35b34801561078557600080fd5b5061078e61188b565b60405161079b9190613a1b565b60405180910390f35b3480156107b057600080fd5b506107cb60048036038101906107c6919061422d565b61189c565b6040516107d89190613ad6565b60405180910390f35b3480156107ed57600080fd5b506107f6611907565b6040516108039190613bca565b60405180910390f35b34801561081857600080fd5b50610821611999565b60405161082e91906141e5565b60405180910390f35b34801561084357600080fd5b5061085e600480360381019061085991906142e2565b6119a0565b005b34801561086c57600080fd5b50610887600480360381019061088291906143ac565b6119b6565b005b34801561089557600080fd5b506108b060048036038101906108ab9190613bec565b611a18565b6040516108bd9190613bca565b60405180910390f35b3480156108d257600080fd5b506108ed60048036038101906108e89190613bec565b611b3c565b6040516108fc93929190614375565b60405180910390f35b34801561091157600080fd5b5061091a611ba5565b60405161092791906141e5565b60405180910390f35b34801561093c57600080fd5b506109576004803603810190610952919061422d565b611bc9565b005b34801561096557600080fd5b50610980600480360381019061097b919061442f565b611bea565b60405161098d9190613ad6565b60405180910390f35b3480156109a257600080fd5b506109ab611c5a565b6040516109b891906141e5565b60405180910390f35b3480156109cd57600080fd5b506109e860048036038101906109e391906144ab565b611c64565b005b3480156109f657600080fd5b506109ff611c96565b604051610a0c91906141e5565b60405180910390f35b60007ff0887ba65ee2024ea881d91b74c2450ef19e1557f03bed3ea9f16b037cbe2dc9610a4181611d6b565b600060198054905011610a89576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a809061454a565b60405180910390fd5b6000610a95600e611d7f565b9050610aa1600e611d8d565b6000601660008381526020019081526020016000209050600160646019601460069054906101000a900463ffffffff1663ffffffff16610adf6111fd565b610ae99190614599565b81548110610afa57610af96145ca565b5b9060005260206000200154610b0f9190614599565b610b199190614628565b8160000181905550858160010181905550610b348583611da3565b817f8bfde6779358c7f474d1736681e0ac8e6b8b0c2ba03c1cab7373de70814cd49b8260000154836001015488604051610b709392919061467e565b60405180910390a281935050505092915050565b6000610b8f82611dc1565b9050919050565b7f523a704056dcd17bcf83bed8b68c59416dac1119be77755efe3bde0a64e46e0c610bc081611d6b565b610bc983611e3b565b610bd257600080fd5b816016600085815260200190815260200160002060020181905550827fddca6818c4ec64197c0db1d073485e7d8c5865be97c38aa7bd741399534edb2683604051610c1d9190613a1b565b60405180910390a2505050565b606060008054610c39906146e4565b80601f0160208091040260200160405190810160405280929190818152602001828054610c65906146e4565b8015610cb25780601f10610c8757610100808354040283529160200191610cb2565b820191906000526020600020905b815481529060010190602001808311610c9557829003601f168201915b5050505050905090565b6000610cc782611ea7565b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610d0d826116f7565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610d7e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d7590614788565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610d9d611ef2565b73ffffffffffffffffffffffffffffffffffffffff161480610dcc5750610dcb81610dc6611ef2565b611bea565b5b610e0b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e029061481a565b60405180910390fd5b610e158383611f01565b505050565b606060006040518060600160405280600c60008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205481526020018873ffffffffffffffffffffffffffffffffffffffff168152602001878152509050610e9d8782878787611fba565b610edc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ed3906148ac565b60405180910390fd5b610f2f6001600c60008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546120c390919063ffffffff16565b600c60008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055507f5845892132946850460bff5a0083f71031bc5bf9aadcd40f1de79423eac9b10b873388604051610fa5939291906148ed565b60405180910390a16000803073ffffffffffffffffffffffffffffffffffffffff16888a604051602001610fda9291906149af565b604051602081830303815290604052604051610ff691906149d7565b6000604051808303816000865af19150503d8060008114611033576040519150601f19603f3d011682016040523d82523d6000602084013e611038565b606091505b50915091508161107d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161107490614a3a565b60405180910390fd5b80935050505095945050505050565b60008060001b61109b81611d6b565b6000601160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16635d3b1d30601354601160149054906101000a900467ffffffffffffffff16601460049054906101000a900461ffff16601460009054906101000a900463ffffffff16601460069054906101000a900463ffffffff166040518663ffffffff1660e01b815260040161114c959493929190614aa9565b602060405180830381600087803b15801561116657600080fd5b505af115801561117a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061119e9190614b11565b9050809250505090565b6040518060400160405280600181526020017f310000000000000000000000000000000000000000000000000000000000000081525081565b6000801b6111ee81611d6b565b6111f883836120d9565b505050565b6000600880549050905090565b7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146112bc57337f00000000000000000000000000000000000000000000000000000000000000006040517f1cf993f40000000000000000000000000000000000000000000000000000000081526004016112b3929190614b3e565b60405180910390fd5b6112c6828261214f565b5050565b6112db6112d5611ef2565b8261216a565b61131a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161131190614bd9565b60405180910390fd5b6113258383836121ff565b505050565b6000600d6000838152602001908152602001600020600101549050919050565b6000600c60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b61139c8261132a565b6113a581611d6b565b6113af8383612466565b505050565b60006113bf836117d3565b8210611400576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113f790614c6b565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b6000801b61146681611d6b565b816015908051906020019061147c929190613834565b505050565b6000804690508091505090565b611496611ef2565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614611503576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114fa90614cfd565b60405180910390fd5b61150d8282612547565b5050565b61152c838383604051806020016040528060008152506119b6565b505050565b600061153b6111fd565b821061157c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161157390614d8f565b60405180910390fd5b600882815481106115905761158f6145ca565b5b90600052602060002001549050919050565b6000801b6115af81611d6b565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156115e957600080fd5b81600f60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550505050565b7f523a704056dcd17bcf83bed8b68c59416dac1119be77755efe3bde0a64e46e0c61166f81611d6b565b61167884611e3b565b61168157600080fd5b826016600086815260200190815260200160002060000181905550816016600086815260200190815260200160002060010181905550837f5966275c738dd0cc3e1de5d6bb4082e32a058617a5955541d41b534391f5161784846040516116e9929190614daf565b60405180910390a250505050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156117a0576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161179790614e24565b60405180910390fd5b80915050919050565b60166020528060005260406000206000915090508060000154908060010154908060020154905083565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611844576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161183b90614eb6565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6000611897600e611d7f565b905090565b6000600d600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b606060018054611916906146e4565b80601f0160208091040260200160405190810160405280929190818152602001828054611942906146e4565b801561198f5780601f106119645761010080835404028352916020019161198f565b820191906000526020600020905b81548152906001019060200180831161197257829003601f168201915b5050505050905090565b6000801b81565b6119b26119ab611ef2565b8383612629565b5050565b6119c76119c1611ef2565b8361216a565b611a06576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119fd90614bd9565b60405180910390fd5b611a1284848484612796565b50505050565b6060611a2382611e3b565b611a2c57600080fd5b6000601060008481526020019081526020016000208054611a4c906146e4565b80601f0160208091040260200160405190810160405280929190818152602001828054611a78906146e4565b8015611ac55780601f10611a9a57610100808354040283529160200191611ac5565b820191906000526020600020905b815481529060010190602001808311611aa857829003601f168201915b505050505090506000611ad66127f2565b9050600082511115611aec578192505050611b37565b600081511115611b295780611b0085612884565b604051602001611b11929190614f12565b60405160208183030381529060405292505050611b37565b611b32846129e5565b925050505b919050565b6000806000611b4a84611e3b565b611b5357600080fd5b6016600085815260200190815260200160002060000154601660008681526020019081526020016000206001015460166000878152602001908152602001600020600201549250925092509193909250565b7ff0887ba65ee2024ea881d91b74c2450ef19e1557f03bed3ea9f16b037cbe2dc981565b611bd28261132a565b611bdb81611d6b565b611be58383612547565b505050565b6000600f60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1615611c475760019050611c54565b611c518383612a4d565b90505b92915050565b6000600b54905090565b6000801b611c7181611d6b565b81601460066101000a81548163ffffffff021916908363ffffffff1602179055505050565b7f523a704056dcd17bcf83bed8b68c59416dac1119be77755efe3bde0a64e46e0c81565b60003073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161415611d6457600080368080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f820116905080830192505050505050509050600080369050905073ffffffffffffffffffffffffffffffffffffffff818301511692505050611d68565b3390505b90565b611d7c81611d77611ef2565b612ae1565b50565b600081600001549050919050565b6001816000016000828254019250508190555050565b611dbd828260405180602001604052806000815250612b7e565b5050565b60007f7965db0b000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480611e345750611e3382612bd9565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b611eb081611e3b565b611eef576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ee690614e24565b60405180910390fd5b50565b6000611efc611cba565b905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16611f74836116f7565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b60008073ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff16141561202b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161202290614fa8565b60405180910390fd5b600161203e61203987612c53565b612cbb565b8386866040516000815260200160405260405161205e9493929190614fd7565b6020604051602081039080840390855afa158015612080573d6000803e3d6000fd5b5050506020604051035173ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff1614905095945050505050565b600081836120d19190614628565b905092915050565b6120e282611e3b565b6120eb57600080fd5b80601060008481526020019081526020016000209080519060200190612112929190613834565b50817fd2d827dddfc9c9a02afc5fc68d3251684b36e213a7999ebd90a861f25df4077e826040516121439190613bca565b60405180910390a25050565b80601990805190602001906121659291906138ba565b505050565b600080612176836116f7565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614806121b857506121b78185611bea565b5b806121f657508373ffffffffffffffffffffffffffffffffffffffff166121de84610cbc565b73ffffffffffffffffffffffffffffffffffffffff16145b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff1661221f826116f7565b73ffffffffffffffffffffffffffffffffffffffff1614612275576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161226c9061508e565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156122e5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122dc90615120565b60405180910390fd5b6122f0838383612cf4565b6122fb600082611f01565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461234b9190615140565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546123a29190614628565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4612461838383612e08565b505050565b612470828261189c565b612543576001600d600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055506124e8611ef2565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45b5050565b612551828261189c565b15612625576000600d600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055506125ca611ef2565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b60405160405180910390a45b5050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612698576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161268f906151c0565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516127899190613ad6565b60405180910390a3505050565b6127a18484846121ff565b6127ad84848484612e0d565b6127ec576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127e390615252565b60405180910390fd5b50505050565b606060158054612801906146e4565b80601f016020809104026020016040519081016040528092919081815260200182805461282d906146e4565b801561287a5780601f1061284f5761010080835404028352916020019161287a565b820191906000526020600020905b81548152906001019060200180831161285d57829003601f168201915b5050505050905090565b606060008214156128cc576040518060400160405280600181526020017f300000000000000000000000000000000000000000000000000000000000000081525090506129e0565b600082905060005b600082146128fe5780806128e790615272565b915050600a826128f791906152bb565b91506128d4565b60008167ffffffffffffffff81111561291a57612919613c8d565b5b6040519080825280601f01601f19166020018201604052801561294c5781602001600182028036833780820191505090505b5090505b600085146129d9576001826129659190615140565b9150600a856129749190614599565b60306129809190614628565b60f81b818381518110612996576129956145ca565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856129d291906152bb565b9450612950565b8093505050505b919050565b60606129f082611ea7565b60006129fa6127f2565b90506000815111612a1a5760405180602001604052806000815250612a45565b80612a2484612884565b604051602001612a35929190614f12565b6040516020818303038152906040525b915050919050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b612aeb828261189c565b612b7a57612b108173ffffffffffffffffffffffffffffffffffffffff166014612fa4565b612b1e8360001c6020612fa4565b604051602001612b2f929190615384565b6040516020818303038152906040526040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b719190613bca565b60405180910390fd5b5050565b612b8883836131e0565b612b956000848484612e0d565b612bd4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612bcb90615252565b60405180910390fd5b505050565b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480612c4c5750612c4b826133ba565b5b9050919050565b600060405180608001604052806043815260200161572d604391398051906020012082600001518360200151846040015180519060200120604051602001612c9e94939291906153be565b604051602081830303815290604052805190602001209050919050565b6000612cc5611c5a565b82604051602001612cd7929190615470565b604051602081830303815290604052805190602001209050919050565b612cff83838361349c565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612d4257612d3d816134a1565b612d81565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614612d8057612d7f83826134ea565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612dc457612dbf81613657565b612e03565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614612e0257612e018282613728565b5b5b505050565b505050565b6000612e2e8473ffffffffffffffffffffffffffffffffffffffff166137a7565b15612f97578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612e57611ef2565b8786866040518563ffffffff1660e01b8152600401612e7994939291906154a7565b602060405180830381600087803b158015612e9357600080fd5b505af1925050508015612ec457506040513d601f19601f82011682018060405250810190612ec19190615508565b60015b612f47573d8060008114612ef4576040519150601f19603f3d011682016040523d82523d6000602084013e612ef9565b606091505b50600081511415612f3f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612f3690615252565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050612f9c565b600190505b949350505050565b606060006002836002612fb79190615535565b612fc19190614628565b67ffffffffffffffff811115612fda57612fd9613c8d565b5b6040519080825280601f01601f19166020018201604052801561300c5781602001600182028036833780820191505090505b5090507f300000000000000000000000000000000000000000000000000000000000000081600081518110613044576130436145ca565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053507f7800000000000000000000000000000000000000000000000000000000000000816001815181106130a8576130a76145ca565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600060018460026130e89190615535565b6130f29190614628565b90505b6001811115613192577f3031323334353637383961626364656600000000000000000000000000000000600f861660108110613134576131336145ca565b5b1a60f81b82828151811061314b5761314a6145ca565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600485901c94508061318b9061558f565b90506130f5565b50600084146131d6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016131cd90615605565b60405180910390fd5b8091505092915050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415613250576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161324790615671565b60405180910390fd5b61325981611e3b565b15613299576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613290906156dd565b60405180910390fd5b6132a560008383612cf4565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546132f59190614628565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46133b660008383612e08565b5050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061348557507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806134955750613494826137ca565b5b9050919050565b505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b600060016134f7846117d3565b6135019190615140565b90506000600760008481526020019081526020016000205490508181146135e6576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b6000600160088054905061366b9190615140565b905060006009600084815260200190815260200160002054905060006008838154811061369b5761369a6145ca565b5b9060005260206000200154905080600883815481106136bd576136bc6145ca565b5b90600052602060002001819055508160096000838152602001908152602001600020819055506009600085815260200190815260200160002060009055600880548061370c5761370b6156fd565b5b6001900381819060005260206000200160009055905550505050565b6000613733836117d3565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b828054613840906146e4565b90600052602060002090601f01602090048101928261386257600085556138a9565b82601f1061387b57805160ff19168380011785556138a9565b828001600101855582156138a9579182015b828111156138a857825182559160200191906001019061388d565b5b5090506138b69190613907565b5090565b8280548282559060005260206000209081019282156138f6579160200282015b828111156138f55782518255916020019190600101906138da565b5b5090506139039190613907565b5090565b5b80821115613920576000816000905550600101613908565b5090565b6000604051905090565b600080fd5b600080fd5b6000819050919050565b61394b81613938565b811461395657600080fd5b50565b60008135905061396881613942565b92915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006139998261396e565b9050919050565b6139a98161398e565b81146139b457600080fd5b50565b6000813590506139c6816139a0565b92915050565b600080604083850312156139e3576139e261392e565b5b60006139f185828601613959565b9250506020613a02858286016139b7565b9150509250929050565b613a1581613938565b82525050565b6000602082019050613a306000830184613a0c565b92915050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b613a6b81613a36565b8114613a7657600080fd5b50565b600081359050613a8881613a62565b92915050565b600060208284031215613aa457613aa361392e565b5b6000613ab284828501613a79565b91505092915050565b60008115159050919050565b613ad081613abb565b82525050565b6000602082019050613aeb6000830184613ac7565b92915050565b60008060408385031215613b0857613b0761392e565b5b6000613b1685828601613959565b9250506020613b2785828601613959565b9150509250929050565b600081519050919050565b600082825260208201905092915050565b60005b83811015613b6b578082015181840152602081019050613b50565b83811115613b7a576000848401525b50505050565b6000601f19601f8301169050919050565b6000613b9c82613b31565b613ba68185613b3c565b9350613bb6818560208601613b4d565b613bbf81613b80565b840191505092915050565b60006020820190508181036000830152613be48184613b91565b905092915050565b600060208284031215613c0257613c0161392e565b5b6000613c1084828501613959565b91505092915050565b613c228161398e565b82525050565b6000602082019050613c3d6000830184613c19565b92915050565b60008060408385031215613c5a57613c5961392e565b5b6000613c68858286016139b7565b9250506020613c7985828601613959565b9150509250929050565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b613cc582613b80565b810181811067ffffffffffffffff82111715613ce457613ce3613c8d565b5b80604052505050565b6000613cf7613924565b9050613d038282613cbc565b919050565b600067ffffffffffffffff821115613d2357613d22613c8d565b5b613d2c82613b80565b9050602081019050919050565b82818337600083830152505050565b6000613d5b613d5684613d08565b613ced565b905082815260208101848484011115613d7757613d76613c88565b5b613d82848285613d39565b509392505050565b600082601f830112613d9f57613d9e613c83565b5b8135613daf848260208601613d48565b91505092915050565b6000819050919050565b613dcb81613db8565b8114613dd657600080fd5b50565b600081359050613de881613dc2565b92915050565b600060ff82169050919050565b613e0481613dee565b8114613e0f57600080fd5b50565b600081359050613e2181613dfb565b92915050565b600080600080600060a08688031215613e4357613e4261392e565b5b6000613e51888289016139b7565b955050602086013567ffffffffffffffff811115613e7257613e71613933565b5b613e7e88828901613d8a565b9450506040613e8f88828901613dd9565b9350506060613ea088828901613dd9565b9250506080613eb188828901613e12565b9150509295509295909350565b600081519050919050565b600082825260208201905092915050565b6000613ee582613ebe565b613eef8185613ec9565b9350613eff818560208601613b4d565b613f0881613b80565b840191505092915050565b60006020820190508181036000830152613f2d8184613eda565b905092915050565b600067ffffffffffffffff821115613f5057613f4f613c8d565b5b613f5982613b80565b9050602081019050919050565b6000613f79613f7484613f35565b613ced565b905082815260208101848484011115613f9557613f94613c88565b5b613fa0848285613d39565b509392505050565b600082601f830112613fbd57613fbc613c83565b5b8135613fcd848260208601613f66565b91505092915050565b60008060408385031215613fed57613fec61392e565b5b6000613ffb85828601613959565b925050602083013567ffffffffffffffff81111561401c5761401b613933565b5b61402885828601613fa8565b9150509250929050565b600067ffffffffffffffff82111561404d5761404c613c8d565b5b602082029050602081019050919050565b600080fd5b600061407661407184614032565b613ced565b905080838252602082019050602084028301858111156140995761409861405e565b5b835b818110156140c257806140ae8882613959565b84526020840193505060208101905061409b565b5050509392505050565b600082601f8301126140e1576140e0613c83565b5b81356140f1848260208601614063565b91505092915050565b600080604083850312156141115761411061392e565b5b600061411f85828601613959565b925050602083013567ffffffffffffffff8111156141405761413f613933565b5b61414c858286016140cc565b9150509250929050565b60008060006060848603121561416f5761416e61392e565b5b600061417d868287016139b7565b935050602061418e868287016139b7565b925050604061419f86828701613959565b9150509250925092565b6000602082840312156141bf576141be61392e565b5b60006141cd84828501613dd9565b91505092915050565b6141df81613db8565b82525050565b60006020820190506141fa60008301846141d6565b92915050565b6000602082840312156142165761421561392e565b5b6000614224848285016139b7565b91505092915050565b600080604083850312156142445761424361392e565b5b600061425285828601613dd9565b9250506020614263858286016139b7565b9150509250929050565b6000602082840312156142835761428261392e565b5b600082013567ffffffffffffffff8111156142a1576142a0613933565b5b6142ad84828501613fa8565b91505092915050565b6142bf81613abb565b81146142ca57600080fd5b50565b6000813590506142dc816142b6565b92915050565b600080604083850312156142f9576142f861392e565b5b6000614307858286016139b7565b9250506020614318858286016142cd565b9150509250929050565b60008060006060848603121561433b5761433a61392e565b5b600061434986828701613959565b935050602061435a86828701613959565b925050604061436b86828701613959565b9150509250925092565b600060608201905061438a6000830186613a0c565b6143976020830185613a0c565b6143a46040830184613a0c565b949350505050565b600080600080608085870312156143c6576143c561392e565b5b60006143d4878288016139b7565b94505060206143e5878288016139b7565b93505060406143f687828801613959565b925050606085013567ffffffffffffffff81111561441757614416613933565b5b61442387828801613d8a565b91505092959194509250565b600080604083850312156144465761444561392e565b5b6000614454858286016139b7565b9250506020614465858286016139b7565b9150509250929050565b600063ffffffff82169050919050565b6144888161446f565b811461449357600080fd5b50565b6000813590506144a58161447f565b92915050565b6000602082840312156144c1576144c061392e565b5b60006144cf84828501614496565b91505092915050565b7f47656e65726174652072616e646f6d205365656473206265666f7265206d696e60008201527f7400000000000000000000000000000000000000000000000000000000000000602082015250565b6000614534602183613b3c565b915061453f826144d8565b604082019050919050565b6000602082019050818103600083015261456381614527565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b60006145a482613938565b91506145af83613938565b9250826145bf576145be61456a565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061463382613938565b915061463e83613938565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115614673576146726145f9565b5b828201905092915050565b60006060820190506146936000830186613a0c565b6146a06020830185613a0c565b6146ad6040830184613c19565b949350505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806146fc57607f821691505b602082108114156147105761470f6146b5565b5b50919050565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b6000614772602183613b3c565b915061477d82614716565b604082019050919050565b600060208201905081810360008301526147a181614765565b9050919050565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60008201527f6b656e206f776e6572206e6f7220617070726f76656420666f7220616c6c0000602082015250565b6000614804603e83613b3c565b915061480f826147a8565b604082019050919050565b60006020820190508181036000830152614833816147f7565b9050919050565b7f5369676e657220616e64207369676e617475726520646f206e6f74206d61746360008201527f6800000000000000000000000000000000000000000000000000000000000000602082015250565b6000614896602183613b3c565b91506148a18261483a565b604082019050919050565b600060208201905081810360008301526148c581614889565b9050919050565b60006148d78261396e565b9050919050565b6148e7816148cc565b82525050565b60006060820190506149026000830186613c19565b61490f60208301856148de565b81810360408301526149218184613eda565b9050949350505050565b600081905092915050565b600061494182613ebe565b61494b818561492b565b935061495b818560208601613b4d565b80840191505092915050565b60008160601b9050919050565b600061497f82614967565b9050919050565b600061499182614974565b9050919050565b6149a96149a48261398e565b614986565b82525050565b60006149bb8285614936565b91506149c78284614998565b6014820191508190509392505050565b60006149e38284614936565b915081905092915050565b7f46756e6374696f6e2063616c6c206e6f74207375636365737366756c00000000600082015250565b6000614a24601c83613b3c565b9150614a2f826149ee565b602082019050919050565b60006020820190508181036000830152614a5381614a17565b9050919050565b600067ffffffffffffffff82169050919050565b614a7781614a5a565b82525050565b600061ffff82169050919050565b614a9481614a7d565b82525050565b614aa38161446f565b82525050565b600060a082019050614abe60008301886141d6565b614acb6020830187614a6e565b614ad86040830186614a8b565b614ae56060830185614a9a565b614af26080830184614a9a565b9695505050505050565b600081519050614b0b81613942565b92915050565b600060208284031215614b2757614b2661392e565b5b6000614b3584828501614afc565b91505092915050565b6000604082019050614b536000830185613c19565b614b606020830184613c19565b9392505050565b7f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560008201527f72206e6f7220617070726f766564000000000000000000000000000000000000602082015250565b6000614bc3602e83613b3c565b9150614bce82614b67565b604082019050919050565b60006020820190508181036000830152614bf281614bb6565b9050919050565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b6000614c55602b83613b3c565b9150614c6082614bf9565b604082019050919050565b60006020820190508181036000830152614c8481614c48565b9050919050565b7f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560008201527f20726f6c657320666f722073656c660000000000000000000000000000000000602082015250565b6000614ce7602f83613b3c565b9150614cf282614c8b565b604082019050919050565b60006020820190508181036000830152614d1681614cda565b9050919050565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b6000614d79602c83613b3c565b9150614d8482614d1d565b604082019050919050565b60006020820190508181036000830152614da881614d6c565b9050919050565b6000604082019050614dc46000830185613a0c565b614dd16020830184613a0c565b9392505050565b7f4552433732313a20696e76616c696420746f6b656e2049440000000000000000600082015250565b6000614e0e601883613b3c565b9150614e1982614dd8565b602082019050919050565b60006020820190508181036000830152614e3d81614e01565b9050919050565b7f4552433732313a2061646472657373207a65726f206973206e6f74206120766160008201527f6c6964206f776e65720000000000000000000000000000000000000000000000602082015250565b6000614ea0602983613b3c565b9150614eab82614e44565b604082019050919050565b60006020820190508181036000830152614ecf81614e93565b9050919050565b600081905092915050565b6000614eec82613b31565b614ef68185614ed6565b9350614f06818560208601613b4d565b80840191505092915050565b6000614f1e8285614ee1565b9150614f2a8284614ee1565b91508190509392505050565b7f4e61746976654d6574615472616e73616374696f6e3a20494e56414c49445f5360008201527f49474e4552000000000000000000000000000000000000000000000000000000602082015250565b6000614f92602583613b3c565b9150614f9d82614f36565b604082019050919050565b60006020820190508181036000830152614fc181614f85565b9050919050565b614fd181613dee565b82525050565b6000608082019050614fec60008301876141d6565b614ff96020830186614fc8565b61500660408301856141d6565b61501360608301846141d6565b95945050505050565b7f4552433732313a207472616e736665722066726f6d20696e636f72726563742060008201527f6f776e6572000000000000000000000000000000000000000000000000000000602082015250565b6000615078602583613b3c565b91506150838261501c565b604082019050919050565b600060208201905081810360008301526150a78161506b565b9050919050565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b600061510a602483613b3c565b9150615115826150ae565b604082019050919050565b60006020820190508181036000830152615139816150fd565b9050919050565b600061514b82613938565b915061515683613938565b925082821015615169576151686145f9565b5b828203905092915050565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b60006151aa601983613b3c565b91506151b582615174565b602082019050919050565b600060208201905081810360008301526151d98161519d565b9050919050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b600061523c603283613b3c565b9150615247826151e0565b604082019050919050565b6000602082019050818103600083015261526b8161522f565b9050919050565b600061527d82613938565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156152b0576152af6145f9565b5b600182019050919050565b60006152c682613938565b91506152d183613938565b9250826152e1576152e061456a565b5b828204905092915050565b7f416363657373436f6e74726f6c3a206163636f756e7420000000000000000000600082015250565b6000615322601783614ed6565b915061532d826152ec565b601782019050919050565b7f206973206d697373696e6720726f6c6520000000000000000000000000000000600082015250565b600061536e601183614ed6565b915061537982615338565b601182019050919050565b600061538f82615315565b915061539b8285614ee1565b91506153a682615361565b91506153b28284614ee1565b91508190509392505050565b60006080820190506153d360008301876141d6565b6153e06020830186613a0c565b6153ed6040830185613c19565b6153fa60608301846141d6565b95945050505050565b7f1901000000000000000000000000000000000000000000000000000000000000600082015250565b6000615439600283614ed6565b915061544482615403565b600282019050919050565b6000819050919050565b61546a61546582613db8565b61544f565b82525050565b600061547b8261542c565b91506154878285615459565b6020820191506154978284615459565b6020820191508190509392505050565b60006080820190506154bc6000830187613c19565b6154c96020830186613c19565b6154d66040830185613a0c565b81810360608301526154e88184613eda565b905095945050505050565b60008151905061550281613a62565b92915050565b60006020828403121561551e5761551d61392e565b5b600061552c848285016154f3565b91505092915050565b600061554082613938565b915061554b83613938565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615615584576155836145f9565b5b828202905092915050565b600061559a82613938565b915060008214156155ae576155ad6145f9565b5b600182039050919050565b7f537472696e67733a20686578206c656e67746820696e73756666696369656e74600082015250565b60006155ef602083613b3c565b91506155fa826155b9565b602082019050919050565b6000602082019050818103600083015261561e816155e2565b9050919050565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b600061565b602083613b3c565b915061566682615625565b602082019050919050565b6000602082019050818103600083015261568a8161564e565b9050919050565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b60006156c7601c83613b3c565b91506156d282615691565b602082019050919050565b600060208201905081810360008301526156f6816156ba565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fdfe4d6574615472616e73616374696f6e2875696e74323536206e6f6e63652c616464726573732066726f6d2c62797465732066756e6374696f6e5369676e617475726529a2646970667358221220b4a557d92893360922cd3d4c81e8ffa84ce36ea5f92f5a36c356da6add85799764736f6c63430008090033454950373132446f6d61696e28737472696e67206e616d652c737472696e672076657273696f6e2c6164647265737320766572696679696e67436f6e74726163742c627974657333322073616c742900000000000000000000000000000000000000000000000000000000000000b7000000000000000000000000ae975071be8f8ee67addbc1a82488f1c24858067d729dc84e21ae57ffb6be0053bf2b0668aa2aaf300a2a7b2ddf7dc0bb6e875a8

Deployed Bytecode

0x6080604052600436106102465760003560e01c806342842e0e11610139578063a217fddf116100b6578063d53913931161007a578063d539139314610905578063d547741f14610930578063e985e9c514610959578063ed24911d14610996578063f30c07d3146109c1578063f5b541a6146109ea57610246565b8063a217fddf1461080c578063a22cb46514610837578063b88d4fde14610860578063c87b56dd14610889578063ca706d50146108c657610246565b80636a5da9b2116100fd5780636a5da9b2146106fd57806370a082311461073c57806375794a3c1461077957806391d14854146107a457806395d89b41146107e157610246565b806342842e0e146106085780634f6ccce7146106315780635cfbfc6d1461066e57806361facc87146106975780636352211e146106c057610246565b806318160ddd116101c75780632f2ff15d1161018b5780632f2ff15d146105255780632f745c591461054e57806330176e131461058b5780633408e470146105b457806336568abe146105df57610246565b806318160ddd1461042e5780631fe543e31461045957806323b872dd14610482578063248a9ca3146104ab5780632d0335ab146104e857610246565b8063095ea7b31161020e578063095ea7b3146103565780630c53c51c1461037f5780630eafcc79146103af5780630f7e5970146103da578063162094c41461040557610246565b80630188cb8f1461024b57806301ffc9a714610288578063043568f7146102c557806306fdde03146102ee578063081812fc14610319575b600080fd5b34801561025757600080fd5b50610272600480360381019061026d91906139cc565b610a15565b60405161027f9190613a1b565b60405180910390f35b34801561029457600080fd5b506102af60048036038101906102aa9190613a8e565b610b84565b6040516102bc9190613ad6565b60405180910390f35b3480156102d157600080fd5b506102ec60048036038101906102e79190613af1565b610b96565b005b3480156102fa57600080fd5b50610303610c2a565b6040516103109190613bca565b60405180910390f35b34801561032557600080fd5b50610340600480360381019061033b9190613bec565b610cbc565b60405161034d9190613c28565b60405180910390f35b34801561036257600080fd5b5061037d60048036038101906103789190613c43565b610d02565b005b61039960048036038101906103949190613e27565b610e1a565b6040516103a69190613f13565b60405180910390f35b3480156103bb57600080fd5b506103c461108c565b6040516103d19190613a1b565b60405180910390f35b3480156103e657600080fd5b506103ef6111a8565b6040516103fc9190613bca565b60405180910390f35b34801561041157600080fd5b5061042c60048036038101906104279190613fd6565b6111e1565b005b34801561043a57600080fd5b506104436111fd565b6040516104509190613a1b565b60405180910390f35b34801561046557600080fd5b50610480600480360381019061047b91906140fa565b61120a565b005b34801561048e57600080fd5b506104a960048036038101906104a49190614156565b6112ca565b005b3480156104b757600080fd5b506104d260048036038101906104cd91906141a9565b61132a565b6040516104df91906141e5565b60405180910390f35b3480156104f457600080fd5b5061050f600480360381019061050a9190614200565b61134a565b60405161051c9190613a1b565b60405180910390f35b34801561053157600080fd5b5061054c6004803603810190610547919061422d565b611393565b005b34801561055a57600080fd5b5061057560048036038101906105709190613c43565b6113b4565b6040516105829190613a1b565b60405180910390f35b34801561059757600080fd5b506105b260048036038101906105ad919061426d565b611459565b005b3480156105c057600080fd5b506105c9611481565b6040516105d69190613a1b565b60405180910390f35b3480156105eb57600080fd5b506106066004803603810190610601919061422d565b61148e565b005b34801561061457600080fd5b5061062f600480360381019061062a9190614156565b611511565b005b34801561063d57600080fd5b5061065860048036038101906106539190613bec565b611531565b6040516106659190613a1b565b60405180910390f35b34801561067a57600080fd5b50610695600480360381019061069091906142e2565b6115a2565b005b3480156106a357600080fd5b506106be60048036038101906106b99190614322565b611645565b005b3480156106cc57600080fd5b506106e760048036038101906106e29190613bec565b6116f7565b6040516106f49190613c28565b60405180910390f35b34801561070957600080fd5b50610724600480360381019061071f9190613bec565b6117a9565b60405161073393929190614375565b60405180910390f35b34801561074857600080fd5b50610763600480360381019061075e9190614200565b6117d3565b6040516107709190613a1b565b60405180910390f35b34801561078557600080fd5b5061078e61188b565b60405161079b9190613a1b565b60405180910390f35b3480156107b057600080fd5b506107cb60048036038101906107c6919061422d565b61189c565b6040516107d89190613ad6565b60405180910390f35b3480156107ed57600080fd5b506107f6611907565b6040516108039190613bca565b60405180910390f35b34801561081857600080fd5b50610821611999565b60405161082e91906141e5565b60405180910390f35b34801561084357600080fd5b5061085e600480360381019061085991906142e2565b6119a0565b005b34801561086c57600080fd5b50610887600480360381019061088291906143ac565b6119b6565b005b34801561089557600080fd5b506108b060048036038101906108ab9190613bec565b611a18565b6040516108bd9190613bca565b60405180910390f35b3480156108d257600080fd5b506108ed60048036038101906108e89190613bec565b611b3c565b6040516108fc93929190614375565b60405180910390f35b34801561091157600080fd5b5061091a611ba5565b60405161092791906141e5565b60405180910390f35b34801561093c57600080fd5b506109576004803603810190610952919061422d565b611bc9565b005b34801561096557600080fd5b50610980600480360381019061097b919061442f565b611bea565b60405161098d9190613ad6565b60405180910390f35b3480156109a257600080fd5b506109ab611c5a565b6040516109b891906141e5565b60405180910390f35b3480156109cd57600080fd5b506109e860048036038101906109e391906144ab565b611c64565b005b3480156109f657600080fd5b506109ff611c96565b604051610a0c91906141e5565b60405180910390f35b60007ff0887ba65ee2024ea881d91b74c2450ef19e1557f03bed3ea9f16b037cbe2dc9610a4181611d6b565b600060198054905011610a89576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a809061454a565b60405180910390fd5b6000610a95600e611d7f565b9050610aa1600e611d8d565b6000601660008381526020019081526020016000209050600160646019601460069054906101000a900463ffffffff1663ffffffff16610adf6111fd565b610ae99190614599565b81548110610afa57610af96145ca565b5b9060005260206000200154610b0f9190614599565b610b199190614628565b8160000181905550858160010181905550610b348583611da3565b817f8bfde6779358c7f474d1736681e0ac8e6b8b0c2ba03c1cab7373de70814cd49b8260000154836001015488604051610b709392919061467e565b60405180910390a281935050505092915050565b6000610b8f82611dc1565b9050919050565b7f523a704056dcd17bcf83bed8b68c59416dac1119be77755efe3bde0a64e46e0c610bc081611d6b565b610bc983611e3b565b610bd257600080fd5b816016600085815260200190815260200160002060020181905550827fddca6818c4ec64197c0db1d073485e7d8c5865be97c38aa7bd741399534edb2683604051610c1d9190613a1b565b60405180910390a2505050565b606060008054610c39906146e4565b80601f0160208091040260200160405190810160405280929190818152602001828054610c65906146e4565b8015610cb25780601f10610c8757610100808354040283529160200191610cb2565b820191906000526020600020905b815481529060010190602001808311610c9557829003601f168201915b5050505050905090565b6000610cc782611ea7565b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610d0d826116f7565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610d7e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d7590614788565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610d9d611ef2565b73ffffffffffffffffffffffffffffffffffffffff161480610dcc5750610dcb81610dc6611ef2565b611bea565b5b610e0b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e029061481a565b60405180910390fd5b610e158383611f01565b505050565b606060006040518060600160405280600c60008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205481526020018873ffffffffffffffffffffffffffffffffffffffff168152602001878152509050610e9d8782878787611fba565b610edc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ed3906148ac565b60405180910390fd5b610f2f6001600c60008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546120c390919063ffffffff16565b600c60008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055507f5845892132946850460bff5a0083f71031bc5bf9aadcd40f1de79423eac9b10b873388604051610fa5939291906148ed565b60405180910390a16000803073ffffffffffffffffffffffffffffffffffffffff16888a604051602001610fda9291906149af565b604051602081830303815290604052604051610ff691906149d7565b6000604051808303816000865af19150503d8060008114611033576040519150601f19603f3d011682016040523d82523d6000602084013e611038565b606091505b50915091508161107d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161107490614a3a565b60405180910390fd5b80935050505095945050505050565b60008060001b61109b81611d6b565b6000601160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16635d3b1d30601354601160149054906101000a900467ffffffffffffffff16601460049054906101000a900461ffff16601460009054906101000a900463ffffffff16601460069054906101000a900463ffffffff166040518663ffffffff1660e01b815260040161114c959493929190614aa9565b602060405180830381600087803b15801561116657600080fd5b505af115801561117a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061119e9190614b11565b9050809250505090565b6040518060400160405280600181526020017f310000000000000000000000000000000000000000000000000000000000000081525081565b6000801b6111ee81611d6b565b6111f883836120d9565b505050565b6000600880549050905090565b7f000000000000000000000000ae975071be8f8ee67addbc1a82488f1c2485806773ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146112bc57337f000000000000000000000000ae975071be8f8ee67addbc1a82488f1c248580676040517f1cf993f40000000000000000000000000000000000000000000000000000000081526004016112b3929190614b3e565b60405180910390fd5b6112c6828261214f565b5050565b6112db6112d5611ef2565b8261216a565b61131a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161131190614bd9565b60405180910390fd5b6113258383836121ff565b505050565b6000600d6000838152602001908152602001600020600101549050919050565b6000600c60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b61139c8261132a565b6113a581611d6b565b6113af8383612466565b505050565b60006113bf836117d3565b8210611400576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113f790614c6b565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b6000801b61146681611d6b565b816015908051906020019061147c929190613834565b505050565b6000804690508091505090565b611496611ef2565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614611503576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114fa90614cfd565b60405180910390fd5b61150d8282612547565b5050565b61152c838383604051806020016040528060008152506119b6565b505050565b600061153b6111fd565b821061157c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161157390614d8f565b60405180910390fd5b600882815481106115905761158f6145ca565b5b90600052602060002001549050919050565b6000801b6115af81611d6b565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156115e957600080fd5b81600f60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550505050565b7f523a704056dcd17bcf83bed8b68c59416dac1119be77755efe3bde0a64e46e0c61166f81611d6b565b61167884611e3b565b61168157600080fd5b826016600086815260200190815260200160002060000181905550816016600086815260200190815260200160002060010181905550837f5966275c738dd0cc3e1de5d6bb4082e32a058617a5955541d41b534391f5161784846040516116e9929190614daf565b60405180910390a250505050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156117a0576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161179790614e24565b60405180910390fd5b80915050919050565b60166020528060005260406000206000915090508060000154908060010154908060020154905083565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611844576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161183b90614eb6565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6000611897600e611d7f565b905090565b6000600d600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b606060018054611916906146e4565b80601f0160208091040260200160405190810160405280929190818152602001828054611942906146e4565b801561198f5780601f106119645761010080835404028352916020019161198f565b820191906000526020600020905b81548152906001019060200180831161197257829003601f168201915b5050505050905090565b6000801b81565b6119b26119ab611ef2565b8383612629565b5050565b6119c76119c1611ef2565b8361216a565b611a06576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119fd90614bd9565b60405180910390fd5b611a1284848484612796565b50505050565b6060611a2382611e3b565b611a2c57600080fd5b6000601060008481526020019081526020016000208054611a4c906146e4565b80601f0160208091040260200160405190810160405280929190818152602001828054611a78906146e4565b8015611ac55780601f10611a9a57610100808354040283529160200191611ac5565b820191906000526020600020905b815481529060010190602001808311611aa857829003601f168201915b505050505090506000611ad66127f2565b9050600082511115611aec578192505050611b37565b600081511115611b295780611b0085612884565b604051602001611b11929190614f12565b60405160208183030381529060405292505050611b37565b611b32846129e5565b925050505b919050565b6000806000611b4a84611e3b565b611b5357600080fd5b6016600085815260200190815260200160002060000154601660008681526020019081526020016000206001015460166000878152602001908152602001600020600201549250925092509193909250565b7ff0887ba65ee2024ea881d91b74c2450ef19e1557f03bed3ea9f16b037cbe2dc981565b611bd28261132a565b611bdb81611d6b565b611be58383612547565b505050565b6000600f60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1615611c475760019050611c54565b611c518383612a4d565b90505b92915050565b6000600b54905090565b6000801b611c7181611d6b565b81601460066101000a81548163ffffffff021916908363ffffffff1602179055505050565b7f523a704056dcd17bcf83bed8b68c59416dac1119be77755efe3bde0a64e46e0c81565b60003073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161415611d6457600080368080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f820116905080830192505050505050509050600080369050905073ffffffffffffffffffffffffffffffffffffffff818301511692505050611d68565b3390505b90565b611d7c81611d77611ef2565b612ae1565b50565b600081600001549050919050565b6001816000016000828254019250508190555050565b611dbd828260405180602001604052806000815250612b7e565b5050565b60007f7965db0b000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480611e345750611e3382612bd9565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b611eb081611e3b565b611eef576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ee690614e24565b60405180910390fd5b50565b6000611efc611cba565b905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16611f74836116f7565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b60008073ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff16141561202b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161202290614fa8565b60405180910390fd5b600161203e61203987612c53565b612cbb565b8386866040516000815260200160405260405161205e9493929190614fd7565b6020604051602081039080840390855afa158015612080573d6000803e3d6000fd5b5050506020604051035173ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff1614905095945050505050565b600081836120d19190614628565b905092915050565b6120e282611e3b565b6120eb57600080fd5b80601060008481526020019081526020016000209080519060200190612112929190613834565b50817fd2d827dddfc9c9a02afc5fc68d3251684b36e213a7999ebd90a861f25df4077e826040516121439190613bca565b60405180910390a25050565b80601990805190602001906121659291906138ba565b505050565b600080612176836116f7565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614806121b857506121b78185611bea565b5b806121f657508373ffffffffffffffffffffffffffffffffffffffff166121de84610cbc565b73ffffffffffffffffffffffffffffffffffffffff16145b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff1661221f826116f7565b73ffffffffffffffffffffffffffffffffffffffff1614612275576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161226c9061508e565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156122e5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122dc90615120565b60405180910390fd5b6122f0838383612cf4565b6122fb600082611f01565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461234b9190615140565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546123a29190614628565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4612461838383612e08565b505050565b612470828261189c565b612543576001600d600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055506124e8611ef2565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45b5050565b612551828261189c565b15612625576000600d600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055506125ca611ef2565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b60405160405180910390a45b5050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612698576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161268f906151c0565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516127899190613ad6565b60405180910390a3505050565b6127a18484846121ff565b6127ad84848484612e0d565b6127ec576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127e390615252565b60405180910390fd5b50505050565b606060158054612801906146e4565b80601f016020809104026020016040519081016040528092919081815260200182805461282d906146e4565b801561287a5780601f1061284f5761010080835404028352916020019161287a565b820191906000526020600020905b81548152906001019060200180831161285d57829003601f168201915b5050505050905090565b606060008214156128cc576040518060400160405280600181526020017f300000000000000000000000000000000000000000000000000000000000000081525090506129e0565b600082905060005b600082146128fe5780806128e790615272565b915050600a826128f791906152bb565b91506128d4565b60008167ffffffffffffffff81111561291a57612919613c8d565b5b6040519080825280601f01601f19166020018201604052801561294c5781602001600182028036833780820191505090505b5090505b600085146129d9576001826129659190615140565b9150600a856129749190614599565b60306129809190614628565b60f81b818381518110612996576129956145ca565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856129d291906152bb565b9450612950565b8093505050505b919050565b60606129f082611ea7565b60006129fa6127f2565b90506000815111612a1a5760405180602001604052806000815250612a45565b80612a2484612884565b604051602001612a35929190614f12565b6040516020818303038152906040525b915050919050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b612aeb828261189c565b612b7a57612b108173ffffffffffffffffffffffffffffffffffffffff166014612fa4565b612b1e8360001c6020612fa4565b604051602001612b2f929190615384565b6040516020818303038152906040526040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b719190613bca565b60405180910390fd5b5050565b612b8883836131e0565b612b956000848484612e0d565b612bd4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612bcb90615252565b60405180910390fd5b505050565b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480612c4c5750612c4b826133ba565b5b9050919050565b600060405180608001604052806043815260200161572d604391398051906020012082600001518360200151846040015180519060200120604051602001612c9e94939291906153be565b604051602081830303815290604052805190602001209050919050565b6000612cc5611c5a565b82604051602001612cd7929190615470565b604051602081830303815290604052805190602001209050919050565b612cff83838361349c565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612d4257612d3d816134a1565b612d81565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614612d8057612d7f83826134ea565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612dc457612dbf81613657565b612e03565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614612e0257612e018282613728565b5b5b505050565b505050565b6000612e2e8473ffffffffffffffffffffffffffffffffffffffff166137a7565b15612f97578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612e57611ef2565b8786866040518563ffffffff1660e01b8152600401612e7994939291906154a7565b602060405180830381600087803b158015612e9357600080fd5b505af1925050508015612ec457506040513d601f19601f82011682018060405250810190612ec19190615508565b60015b612f47573d8060008114612ef4576040519150601f19603f3d011682016040523d82523d6000602084013e612ef9565b606091505b50600081511415612f3f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612f3690615252565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050612f9c565b600190505b949350505050565b606060006002836002612fb79190615535565b612fc19190614628565b67ffffffffffffffff811115612fda57612fd9613c8d565b5b6040519080825280601f01601f19166020018201604052801561300c5781602001600182028036833780820191505090505b5090507f300000000000000000000000000000000000000000000000000000000000000081600081518110613044576130436145ca565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053507f7800000000000000000000000000000000000000000000000000000000000000816001815181106130a8576130a76145ca565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600060018460026130e89190615535565b6130f29190614628565b90505b6001811115613192577f3031323334353637383961626364656600000000000000000000000000000000600f861660108110613134576131336145ca565b5b1a60f81b82828151811061314b5761314a6145ca565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600485901c94508061318b9061558f565b90506130f5565b50600084146131d6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016131cd90615605565b60405180910390fd5b8091505092915050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415613250576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161324790615671565b60405180910390fd5b61325981611e3b565b15613299576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613290906156dd565b60405180910390fd5b6132a560008383612cf4565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546132f59190614628565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46133b660008383612e08565b5050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061348557507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806134955750613494826137ca565b5b9050919050565b505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b600060016134f7846117d3565b6135019190615140565b90506000600760008481526020019081526020016000205490508181146135e6576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b6000600160088054905061366b9190615140565b905060006009600084815260200190815260200160002054905060006008838154811061369b5761369a6145ca565b5b9060005260206000200154905080600883815481106136bd576136bc6145ca565b5b90600052602060002001819055508160096000838152602001908152602001600020819055506009600085815260200190815260200160002060009055600880548061370c5761370b6156fd565b5b6001900381819060005260206000200160009055905550505050565b6000613733836117d3565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b828054613840906146e4565b90600052602060002090601f01602090048101928261386257600085556138a9565b82601f1061387b57805160ff19168380011785556138a9565b828001600101855582156138a9579182015b828111156138a857825182559160200191906001019061388d565b5b5090506138b69190613907565b5090565b8280548282559060005260206000209081019282156138f6579160200282015b828111156138f55782518255916020019190600101906138da565b5b5090506139039190613907565b5090565b5b80821115613920576000816000905550600101613908565b5090565b6000604051905090565b600080fd5b600080fd5b6000819050919050565b61394b81613938565b811461395657600080fd5b50565b60008135905061396881613942565b92915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006139998261396e565b9050919050565b6139a98161398e565b81146139b457600080fd5b50565b6000813590506139c6816139a0565b92915050565b600080604083850312156139e3576139e261392e565b5b60006139f185828601613959565b9250506020613a02858286016139b7565b9150509250929050565b613a1581613938565b82525050565b6000602082019050613a306000830184613a0c565b92915050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b613a6b81613a36565b8114613a7657600080fd5b50565b600081359050613a8881613a62565b92915050565b600060208284031215613aa457613aa361392e565b5b6000613ab284828501613a79565b91505092915050565b60008115159050919050565b613ad081613abb565b82525050565b6000602082019050613aeb6000830184613ac7565b92915050565b60008060408385031215613b0857613b0761392e565b5b6000613b1685828601613959565b9250506020613b2785828601613959565b9150509250929050565b600081519050919050565b600082825260208201905092915050565b60005b83811015613b6b578082015181840152602081019050613b50565b83811115613b7a576000848401525b50505050565b6000601f19601f8301169050919050565b6000613b9c82613b31565b613ba68185613b3c565b9350613bb6818560208601613b4d565b613bbf81613b80565b840191505092915050565b60006020820190508181036000830152613be48184613b91565b905092915050565b600060208284031215613c0257613c0161392e565b5b6000613c1084828501613959565b91505092915050565b613c228161398e565b82525050565b6000602082019050613c3d6000830184613c19565b92915050565b60008060408385031215613c5a57613c5961392e565b5b6000613c68858286016139b7565b9250506020613c7985828601613959565b9150509250929050565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b613cc582613b80565b810181811067ffffffffffffffff82111715613ce457613ce3613c8d565b5b80604052505050565b6000613cf7613924565b9050613d038282613cbc565b919050565b600067ffffffffffffffff821115613d2357613d22613c8d565b5b613d2c82613b80565b9050602081019050919050565b82818337600083830152505050565b6000613d5b613d5684613d08565b613ced565b905082815260208101848484011115613d7757613d76613c88565b5b613d82848285613d39565b509392505050565b600082601f830112613d9f57613d9e613c83565b5b8135613daf848260208601613d48565b91505092915050565b6000819050919050565b613dcb81613db8565b8114613dd657600080fd5b50565b600081359050613de881613dc2565b92915050565b600060ff82169050919050565b613e0481613dee565b8114613e0f57600080fd5b50565b600081359050613e2181613dfb565b92915050565b600080600080600060a08688031215613e4357613e4261392e565b5b6000613e51888289016139b7565b955050602086013567ffffffffffffffff811115613e7257613e71613933565b5b613e7e88828901613d8a565b9450506040613e8f88828901613dd9565b9350506060613ea088828901613dd9565b9250506080613eb188828901613e12565b9150509295509295909350565b600081519050919050565b600082825260208201905092915050565b6000613ee582613ebe565b613eef8185613ec9565b9350613eff818560208601613b4d565b613f0881613b80565b840191505092915050565b60006020820190508181036000830152613f2d8184613eda565b905092915050565b600067ffffffffffffffff821115613f5057613f4f613c8d565b5b613f5982613b80565b9050602081019050919050565b6000613f79613f7484613f35565b613ced565b905082815260208101848484011115613f9557613f94613c88565b5b613fa0848285613d39565b509392505050565b600082601f830112613fbd57613fbc613c83565b5b8135613fcd848260208601613f66565b91505092915050565b60008060408385031215613fed57613fec61392e565b5b6000613ffb85828601613959565b925050602083013567ffffffffffffffff81111561401c5761401b613933565b5b61402885828601613fa8565b9150509250929050565b600067ffffffffffffffff82111561404d5761404c613c8d565b5b602082029050602081019050919050565b600080fd5b600061407661407184614032565b613ced565b905080838252602082019050602084028301858111156140995761409861405e565b5b835b818110156140c257806140ae8882613959565b84526020840193505060208101905061409b565b5050509392505050565b600082601f8301126140e1576140e0613c83565b5b81356140f1848260208601614063565b91505092915050565b600080604083850312156141115761411061392e565b5b600061411f85828601613959565b925050602083013567ffffffffffffffff8111156141405761413f613933565b5b61414c858286016140cc565b9150509250929050565b60008060006060848603121561416f5761416e61392e565b5b600061417d868287016139b7565b935050602061418e868287016139b7565b925050604061419f86828701613959565b9150509250925092565b6000602082840312156141bf576141be61392e565b5b60006141cd84828501613dd9565b91505092915050565b6141df81613db8565b82525050565b60006020820190506141fa60008301846141d6565b92915050565b6000602082840312156142165761421561392e565b5b6000614224848285016139b7565b91505092915050565b600080604083850312156142445761424361392e565b5b600061425285828601613dd9565b9250506020614263858286016139b7565b9150509250929050565b6000602082840312156142835761428261392e565b5b600082013567ffffffffffffffff8111156142a1576142a0613933565b5b6142ad84828501613fa8565b91505092915050565b6142bf81613abb565b81146142ca57600080fd5b50565b6000813590506142dc816142b6565b92915050565b600080604083850312156142f9576142f861392e565b5b6000614307858286016139b7565b9250506020614318858286016142cd565b9150509250929050565b60008060006060848603121561433b5761433a61392e565b5b600061434986828701613959565b935050602061435a86828701613959565b925050604061436b86828701613959565b9150509250925092565b600060608201905061438a6000830186613a0c565b6143976020830185613a0c565b6143a46040830184613a0c565b949350505050565b600080600080608085870312156143c6576143c561392e565b5b60006143d4878288016139b7565b94505060206143e5878288016139b7565b93505060406143f687828801613959565b925050606085013567ffffffffffffffff81111561441757614416613933565b5b61442387828801613d8a565b91505092959194509250565b600080604083850312156144465761444561392e565b5b6000614454858286016139b7565b9250506020614465858286016139b7565b9150509250929050565b600063ffffffff82169050919050565b6144888161446f565b811461449357600080fd5b50565b6000813590506144a58161447f565b92915050565b6000602082840312156144c1576144c061392e565b5b60006144cf84828501614496565b91505092915050565b7f47656e65726174652072616e646f6d205365656473206265666f7265206d696e60008201527f7400000000000000000000000000000000000000000000000000000000000000602082015250565b6000614534602183613b3c565b915061453f826144d8565b604082019050919050565b6000602082019050818103600083015261456381614527565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b60006145a482613938565b91506145af83613938565b9250826145bf576145be61456a565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061463382613938565b915061463e83613938565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115614673576146726145f9565b5b828201905092915050565b60006060820190506146936000830186613a0c565b6146a06020830185613a0c565b6146ad6040830184613c19565b949350505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806146fc57607f821691505b602082108114156147105761470f6146b5565b5b50919050565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b6000614772602183613b3c565b915061477d82614716565b604082019050919050565b600060208201905081810360008301526147a181614765565b9050919050565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60008201527f6b656e206f776e6572206e6f7220617070726f76656420666f7220616c6c0000602082015250565b6000614804603e83613b3c565b915061480f826147a8565b604082019050919050565b60006020820190508181036000830152614833816147f7565b9050919050565b7f5369676e657220616e64207369676e617475726520646f206e6f74206d61746360008201527f6800000000000000000000000000000000000000000000000000000000000000602082015250565b6000614896602183613b3c565b91506148a18261483a565b604082019050919050565b600060208201905081810360008301526148c581614889565b9050919050565b60006148d78261396e565b9050919050565b6148e7816148cc565b82525050565b60006060820190506149026000830186613c19565b61490f60208301856148de565b81810360408301526149218184613eda565b9050949350505050565b600081905092915050565b600061494182613ebe565b61494b818561492b565b935061495b818560208601613b4d565b80840191505092915050565b60008160601b9050919050565b600061497f82614967565b9050919050565b600061499182614974565b9050919050565b6149a96149a48261398e565b614986565b82525050565b60006149bb8285614936565b91506149c78284614998565b6014820191508190509392505050565b60006149e38284614936565b915081905092915050565b7f46756e6374696f6e2063616c6c206e6f74207375636365737366756c00000000600082015250565b6000614a24601c83613b3c565b9150614a2f826149ee565b602082019050919050565b60006020820190508181036000830152614a5381614a17565b9050919050565b600067ffffffffffffffff82169050919050565b614a7781614a5a565b82525050565b600061ffff82169050919050565b614a9481614a7d565b82525050565b614aa38161446f565b82525050565b600060a082019050614abe60008301886141d6565b614acb6020830187614a6e565b614ad86040830186614a8b565b614ae56060830185614a9a565b614af26080830184614a9a565b9695505050505050565b600081519050614b0b81613942565b92915050565b600060208284031215614b2757614b2661392e565b5b6000614b3584828501614afc565b91505092915050565b6000604082019050614b536000830185613c19565b614b606020830184613c19565b9392505050565b7f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560008201527f72206e6f7220617070726f766564000000000000000000000000000000000000602082015250565b6000614bc3602e83613b3c565b9150614bce82614b67565b604082019050919050565b60006020820190508181036000830152614bf281614bb6565b9050919050565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b6000614c55602b83613b3c565b9150614c6082614bf9565b604082019050919050565b60006020820190508181036000830152614c8481614c48565b9050919050565b7f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560008201527f20726f6c657320666f722073656c660000000000000000000000000000000000602082015250565b6000614ce7602f83613b3c565b9150614cf282614c8b565b604082019050919050565b60006020820190508181036000830152614d1681614cda565b9050919050565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b6000614d79602c83613b3c565b9150614d8482614d1d565b604082019050919050565b60006020820190508181036000830152614da881614d6c565b9050919050565b6000604082019050614dc46000830185613a0c565b614dd16020830184613a0c565b9392505050565b7f4552433732313a20696e76616c696420746f6b656e2049440000000000000000600082015250565b6000614e0e601883613b3c565b9150614e1982614dd8565b602082019050919050565b60006020820190508181036000830152614e3d81614e01565b9050919050565b7f4552433732313a2061646472657373207a65726f206973206e6f74206120766160008201527f6c6964206f776e65720000000000000000000000000000000000000000000000602082015250565b6000614ea0602983613b3c565b9150614eab82614e44565b604082019050919050565b60006020820190508181036000830152614ecf81614e93565b9050919050565b600081905092915050565b6000614eec82613b31565b614ef68185614ed6565b9350614f06818560208601613b4d565b80840191505092915050565b6000614f1e8285614ee1565b9150614f2a8284614ee1565b91508190509392505050565b7f4e61746976654d6574615472616e73616374696f6e3a20494e56414c49445f5360008201527f49474e4552000000000000000000000000000000000000000000000000000000602082015250565b6000614f92602583613b3c565b9150614f9d82614f36565b604082019050919050565b60006020820190508181036000830152614fc181614f85565b9050919050565b614fd181613dee565b82525050565b6000608082019050614fec60008301876141d6565b614ff96020830186614fc8565b61500660408301856141d6565b61501360608301846141d6565b95945050505050565b7f4552433732313a207472616e736665722066726f6d20696e636f72726563742060008201527f6f776e6572000000000000000000000000000000000000000000000000000000602082015250565b6000615078602583613b3c565b91506150838261501c565b604082019050919050565b600060208201905081810360008301526150a78161506b565b9050919050565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b600061510a602483613b3c565b9150615115826150ae565b604082019050919050565b60006020820190508181036000830152615139816150fd565b9050919050565b600061514b82613938565b915061515683613938565b925082821015615169576151686145f9565b5b828203905092915050565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b60006151aa601983613b3c565b91506151b582615174565b602082019050919050565b600060208201905081810360008301526151d98161519d565b9050919050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b600061523c603283613b3c565b9150615247826151e0565b604082019050919050565b6000602082019050818103600083015261526b8161522f565b9050919050565b600061527d82613938565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156152b0576152af6145f9565b5b600182019050919050565b60006152c682613938565b91506152d183613938565b9250826152e1576152e061456a565b5b828204905092915050565b7f416363657373436f6e74726f6c3a206163636f756e7420000000000000000000600082015250565b6000615322601783614ed6565b915061532d826152ec565b601782019050919050565b7f206973206d697373696e6720726f6c6520000000000000000000000000000000600082015250565b600061536e601183614ed6565b915061537982615338565b601182019050919050565b600061538f82615315565b915061539b8285614ee1565b91506153a682615361565b91506153b28284614ee1565b91508190509392505050565b60006080820190506153d360008301876141d6565b6153e06020830186613a0c565b6153ed6040830185613c19565b6153fa60608301846141d6565b95945050505050565b7f1901000000000000000000000000000000000000000000000000000000000000600082015250565b6000615439600283614ed6565b915061544482615403565b600282019050919050565b6000819050919050565b61546a61546582613db8565b61544f565b82525050565b600061547b8261542c565b91506154878285615459565b6020820191506154978284615459565b6020820191508190509392505050565b60006080820190506154bc6000830187613c19565b6154c96020830186613c19565b6154d66040830185613a0c565b81810360608301526154e88184613eda565b905095945050505050565b60008151905061550281613a62565b92915050565b60006020828403121561551e5761551d61392e565b5b600061552c848285016154f3565b91505092915050565b600061554082613938565b915061554b83613938565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615615584576155836145f9565b5b828202905092915050565b600061559a82613938565b915060008214156155ae576155ad6145f9565b5b600182039050919050565b7f537472696e67733a20686578206c656e67746820696e73756666696369656e74600082015250565b60006155ef602083613b3c565b91506155fa826155b9565b602082019050919050565b6000602082019050818103600083015261561e816155e2565b9050919050565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b600061565b602083613b3c565b915061566682615625565b602082019050919050565b6000602082019050818103600083015261568a8161564e565b9050919050565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b60006156c7601c83613b3c565b91506156d282615691565b602082019050919050565b600060208201905081810360008301526156f6816156ba565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fdfe4d6574615472616e73616374696f6e2875696e74323536206e6f6e63652c616464726573732066726f6d2c62797465732066756e6374696f6e5369676e617475726529a2646970667358221220b4a557d92893360922cd3d4c81e8ffa84ce36ea5f92f5a36c356da6add85799764736f6c63430008090033

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

00000000000000000000000000000000000000000000000000000000000000b7000000000000000000000000ae975071be8f8ee67addbc1a82488f1c24858067d729dc84e21ae57ffb6be0053bf2b0668aa2aaf300a2a7b2ddf7dc0bb6e875a8

-----Decoded View---------------
Arg [0] : _subscriptionId (uint64): 183
Arg [1] : _vrfCoordinator (address): 0xAE975071Be8F8eE67addBC1A82488F1C24858067
Arg [2] : _keyHash (bytes32): 0xd729dc84e21ae57ffb6be0053bf2b0668aa2aaf300a2a7b2ddf7dc0bb6e875a8

-----Encoded View---------------
3 Constructor Arguments found :
Arg [0] : 00000000000000000000000000000000000000000000000000000000000000b7
Arg [1] : 000000000000000000000000ae975071be8f8ee67addbc1a82488f1c24858067
Arg [2] : d729dc84e21ae57ffb6be0053bf2b0668aa2aaf300a2a7b2ddf7dc0bb6e875a8


Block Transaction Gas Used Reward
view all blocks produced

Block Uncle Number Difficulty Gas Used Reward
View All Uncles
Loading...
Loading
Loading...
Loading

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
[ Download: CSV Export  ]

A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.