ETH Price: $2,634.76 (-0.88%)

Token

Pulsquares (PULS)
 

Overview

Max Total Supply

473 PULS

Holders

188

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Balance
0 PULS
0x2933bed3665fe707eb494a1747250d6e64b48061
Loading...
Loading
Loading...
Loading
Loading...
Loading

OVERVIEW

Pulsquares is an experimental generative math art NFT project. It aims to explore some boundaries of NFTs mechanisms through empirical practice. It's deflationary, free, and incorporates two main mechanisms: burn-to-compose and the Gallery system. **To know more visit**:\ Website: [https://pulsquares.art/](https://pulsquares.art/ "https://pulsquares.art/")\ Discord: [https://discord.gg/4yAFVJbxnm](https://discord.gg/4yAFVJbxnm "https://discord.gg/4yAFVJbxnm")

# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
PulsquaresCore

Compiler Version
v0.8.0+commit.c7dfd78e

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 14 : PulsquaresCore.sol
//SPDX-License-Identifier: Unlicense
pragma solidity ^0.8.0;

import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol";
import "@openzeppelin/contracts/utils/math/SafeMath.sol";
import "@openzeppelin/contracts/access/AccessControl.sol";

contract PulsquaresCore is ERC721Enumerable, AccessControl {
    using SafeMath for uint256;
    bytes32 public constant MINTER_ROLE = keccak256("MINTER_ROLE");
    bytes32 public constant SNAP_ROLE = keccak256("SNAP_ROLE");
    
    uint256 internal _lastTokenId = 0;
    uint256 public totalMints = 0;
    string internal _currentBaseURI = "";
    
    mapping(uint256 => uint256) public constellationCount;
    mapping(uint256 => ConstellationUnit[]) public constellationUnits;
    mapping(uint256 => bytes32) public tokenTraits;
    mapping(uint256 => string) private _tokenNames;
    mapping(uint256 => string) private _tokenDescriptions;
    mapping (string => bool) private _nameReserved;

    event ChangeName (uint256 indexed tokenId, string newName);
    
    struct ConstellationUnit {
        address contractAddr;
        uint tokenId;
    }

    struct Token {
        uint256 tokenId;
        bytes32 traits;
    }

    constructor(address adminAddress, string memory baseURI) ERC721("Pulsquares", "PULS")  {
        _currentBaseURI = baseURI;
        _setupRole(DEFAULT_ADMIN_ROLE, adminAddress);
        _setupRole(MINTER_ROLE, adminAddress);
        _setupRole(SNAP_ROLE, adminAddress);
    }
    
    function _baseURI() internal view virtual override returns (string memory) {
        return _currentBaseURI;
    }

    function setBaseURI(string memory baseURI) public {
        require(hasRole(DEFAULT_ADMIN_ROLE, msg.sender), "Caller is not admin");
        _currentBaseURI = baseURI;
    }

    function _generateRandomHash() internal view returns (bytes32) {
        return keccak256(abi.encode(block.number-1, block.coinbase, _lastTokenId)); //TODO include blockhash(block.number-1)
    }

    function _generateNewTokenId() internal view returns (Token memory) {
        bytes32 hashRandom = _generateRandomHash();
        uint8 i = 28;
        uint256 value = uint8(hashRandom[i]);
        for (i = 29; i < 30; i++) {
            value = value << 8;
            value = value + uint8(hashRandom[i]);
        }
        value = value << 16;
        value = value.add(totalMints);
        return Token(uint256(value), hashRandom);
    }
    
    function mintGenesis(address receiver) public {
        require(hasRole(MINTER_ROLE, msg.sender), "Caller is not a minter");
        require(totalMints < 500, "Total mint limit is 500");
        Token memory token = _generateNewTokenId();
        totalMints = totalMints + 1;
        _lastTokenId = token.tokenId;
        _safeMint(receiver, token.tokenId);
        tokenTraits[token.tokenId] = token.traits;
    }

    function burn(uint256 tokenId) public {
        require(hasRole(MINTER_ROLE, msg.sender), "Caller is not a minter");
        delete tokenTraits[tokenId];
        delete _tokenNames[tokenId];
        toggleReserveName(_tokenNames[tokenId], false);
        delete _tokenDescriptions[tokenId];
        _burn(tokenId);
    }
    
    function upgrade(uint256 receiverTokenId, uint256 burnTokenId, address burnTokenContract) public {
        require(burnTokenContract != address(this) || receiverTokenId != burnTokenId, "Cannot self upgrade");
        require(hasRole(MINTER_ROLE, msg.sender), "Caller is not a minter");
        require(constellationCount[receiverTokenId] <= 100, "Max constellation size would be broken");
        //require(ownerOf(receiverTokenId) == ownerOf(burnTokenId), "Caller is not a minter"); burntokenid can be another project TODO
        constellationCount[receiverTokenId] += 1;
        if (burnTokenId > 0) {
            constellationUnits[receiverTokenId].push(ConstellationUnit({contractAddr: burnTokenContract, tokenId: burnTokenId}));
        }
    }


    /**
     * @dev Naming system from Hashmasks
     */
    function tokenName(uint256 index) public view returns (string memory) {
        return _tokenNames[index];
    }

    function isNameReserved(string memory nameString) public view returns (bool) {
        return _nameReserved[toLower(nameString)];
    }

    function toggleReserveName(string memory str, bool isReserve) internal {
        _nameReserved[toLower(str)] = isReserve;
    }

    function changeName(uint256 tokenId, string memory newName) public {

        address owner = ownerOf(tokenId);
        require(msg.sender == owner, "ERC721: caller is not the owner");
        require(constellationCount[tokenId] > 0, "Token should have at least 1 Constellation");
        require(validateName(newName) == true, "Not a valid new name");
        require(sha256(bytes(newName)) != sha256(bytes(_tokenNames[tokenId])), "New name is same as the current one");
        require(isNameReserved(newName) == false, "Name already reserved");

        if (bytes(_tokenNames[tokenId]).length > 0) {
            toggleReserveName(_tokenNames[tokenId], false);
        }
        toggleReserveName(newName, true);
        _tokenNames[tokenId] = newName;
        
        emit ChangeName(tokenId, newName);
    }

    function validateName(string memory str) public pure returns (bool){
        bytes memory b = bytes(str);
        if(b.length < 1) return false;
        if(b.length > 25) return false; // Cannot be longer than 25 characters
        if(b[0] == 0x20) return false; // Leading space
        if (b[b.length - 1] == 0x20) return false; // Trailing space

        bytes1 lastChar = b[0];

        for(uint i; i<b.length; i++){
            bytes1 char = b[i];

            if (char == 0x20 && lastChar == 0x20) return false; // Cannot contain continous spaces

            if(
                !(char >= 0x30 && char <= 0x39) && //9-0
                !(char >= 0x41 && char <= 0x5A) && //A-Z
                !(char >= 0x61 && char <= 0x7A) && //a-z
                !(char == 0x20) //space
            )
                return false;

            lastChar = char;
        }

        return true;
    }

    function toLower(string memory str) public pure returns (string memory){
        bytes memory bStr = bytes(str);
        bytes memory bLower = new bytes(bStr.length);
        for (uint i = 0; i < bStr.length; i++) {
            // Uppercase character
            if ((uint8(bStr[i]) >= 65) && (uint8(bStr[i]) <= 90)) {
                bLower[i] = bytes1(uint8(bStr[i]) + 32);
            } else {
                bLower[i] = bStr[i];
            }
        }
        return string(bLower);
    }

    function supportsInterface(bytes4 interfaceId) public view virtual override(ERC721Enumerable, AccessControl) returns (bool) {
        return interfaceId == type(IERC721Enumerable).interfaceId
            || super.supportsInterface(interfaceId);
    }
 
    function withdrawEther() public {
        require(hasRole(DEFAULT_ADMIN_ROLE, msg.sender), "Caller is not admin");
        uint balance = address(this).balance;
        address payable to;
        to.transfer(balance);
    }
}

File 2 of 14 : ERC721Enumerable.sol
// SPDX-License-Identifier: MIT

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 14 : SafeMath.sol
// SPDX-License-Identifier: MIT

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 no longer needed starting with Solidity 0.8. 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 substraction 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. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * 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 4 of 14 : AccessControl.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

/**
 * @dev External interface of AccessControl declared to support ERC165 detection.
 */
interface IAccessControl {
    function hasRole(bytes32 role, address account) external view returns (bool);
    function getRoleAdmin(bytes32 role) external view returns (bytes32);
    function grantRole(bytes32 role, address account) external;
    function revokeRole(bytes32 role, address account) external;
    function renounceRole(bytes32 role, address account) external;
}

/**
 * @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 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 {_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 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 override returns (bool) {
        return _roles[role].members[account];
    }

    /**
     * @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 override returns (bytes32) {
        return _roles[role].adminRole;
    }

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

        _grantRole(role, account);
    }

    /**
     * @dev Revokes `role` from `account`.
     *
     * If `account` had been granted `role`, emits a {RoleRevoked} event.
     *
     * Requirements:
     *
     * - the caller must have ``role``'s admin role.
     */
    function revokeRole(bytes32 role, address account) public virtual override {
        require(hasRole(getRoleAdmin(role), _msgSender()), "AccessControl: sender must be an admin to revoke");

        _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 granted `role`, emits a {RoleRevoked}
     * event.
     *
     * Requirements:
     *
     * - the caller must be `account`.
     */
    function renounceRole(bytes32 role, address account) public virtual override {
        require(account == _msgSender(), "AccessControl: can only renounce roles for self");

        _revokeRole(role, account);
    }

    /**
     * @dev Grants `role` to `account`.
     *
     * If `account` had not been already granted `role`, emits a {RoleGranted}
     * event. Note that unlike {grantRole}, this function doesn't perform any
     * checks on the calling account.
     *
     * [WARNING]
     * ====
     * This function should only be called from the constructor when setting
     * up the initial roles for the system.
     *
     * Using this function in any other way is effectively circumventing the admin
     * system imposed by {AccessControl}.
     * ====
     */
    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 {
        emit RoleAdminChanged(role, getRoleAdmin(role), adminRole);
        _roles[role].adminRole = adminRole;
    }

    function _grantRole(bytes32 role, address account) private {
        if (!hasRole(role, account)) {
            _roles[role].members[account] = true;
            emit RoleGranted(role, account, _msgSender());
        }
    }

    function _revokeRole(bytes32 role, address account) private {
        if (hasRole(role, account)) {
            _roles[role].members[account] = false;
            emit RoleRevoked(role, account, _msgSender());
        }
    }
}

File 5 of 14 : ERC721.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

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

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

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

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

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

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

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

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

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

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

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

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

    /**
     * @dev Base URI for computing {tokenURI}. Empty by default, can be overriden
     * 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 || ERC721.isApprovedForAll(owner, _msgSender()),
            "ERC721: approve caller is not owner nor approved for all"
        );

        _approve(to, tokenId);
    }

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

        return _tokenApprovals[tokenId];
    }

    /**
     * @dev See {IERC721-setApprovalForAll}.
     */
    function setApprovalForAll(address operator, bool approved) public virtual override {
        require(operator != _msgSender(), "ERC721: approve to caller");

        _operatorApprovals[_msgSender()][operator] = approved;
        emit ApprovalForAll(_msgSender(), operator, approved);
    }

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

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

        _transfer(from, to, tokenId);
    }

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

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

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

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

    /**
     * @dev Returns whether `spender` is allowed to manage `tokenId`.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) {
        require(_exists(tokenId), "ERC721: operator query for nonexistent token");
        address owner = ERC721.ownerOf(tokenId);
        return (spender == owner || getApproved(tokenId) == spender || ERC721.isApprovedForAll(owner, 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);
    }

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

    /**
     * @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 of token that is not own");
        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);
    }

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

    /**
     * @dev 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(to).onERC721Received.selector;
            } catch (bytes memory reason) {
                if (reason.length == 0) {
                    revert("ERC721: transfer to non ERC721Receiver implementer");
                } else {
                    // solhint-disable-next-line no-inline-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` 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 { }
}

File 6 of 14 : IERC721Enumerable.sol
// SPDX-License-Identifier: MIT

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 tokenId);

    /**
     * @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 7 of 14 : IERC721.sol
// SPDX-License-Identifier: MIT

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

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

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

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

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

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

File 8 of 14 : IERC721Receiver.sol
// SPDX-License-Identifier: MIT

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 `IERC721.onERC721Received.selector`.
     */
    function onERC721Received(address operator, address from, uint256 tokenId, bytes calldata data) external returns (bytes4);
}

File 9 of 14 : IERC721Metadata.sol
// SPDX-License-Identifier: MIT

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 10 of 14 : Address.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

/**
 * @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
     * ====
     */
    function isContract(address account) internal view returns (bool) {
        // This method relies on extcodesize, which returns 0 for contracts in
        // construction, since the code is only stored at the end of the
        // constructor execution.

        uint256 size;
        // solhint-disable-next-line no-inline-assembly
        assembly { size := extcodesize(account) }
        return size > 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");

        // solhint-disable-next-line avoid-low-level-calls, avoid-call-value
        (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");

        // solhint-disable-next-line avoid-low-level-calls
        (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");

        // solhint-disable-next-line avoid-low-level-calls
        (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");

        // solhint-disable-next-line avoid-low-level-calls
        (bool success, bytes memory returndata) = target.delegatecall(data);
        return _verifyCallResult(success, returndata, errorMessage);
    }

    function _verifyCallResult(bool success, bytes memory returndata, string memory errorMessage) private 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

                // solhint-disable-next-line no-inline-assembly
                assembly {
                    let returndata_size := mload(returndata)
                    revert(add(32, returndata), returndata_size)
                }
            } else {
                revert(errorMessage);
            }
        }
    }
}

File 11 of 14 : Context.sol
// SPDX-License-Identifier: MIT

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) {
        this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691
        return msg.data;
    }
}

File 12 of 14 : Strings.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

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

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

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

}

File 13 of 14 : ERC165.sol
// SPDX-License-Identifier: MIT

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 14 of 14 : IERC165.sol
// SPDX-License-Identifier: MIT

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);
}

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"adminAddress","type":"address"},{"internalType":"string","name":"baseURI","type":"string"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"},{"indexed":false,"internalType":"string","name":"newName","type":"string"}],"name":"ChangeName","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"previousAdminRole","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"newAdminRole","type":"bytes32"}],"name":"RoleAdminChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleGranted","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleRevoked","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"DEFAULT_ADMIN_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MINTER_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"SNAP_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":"uint256","name":"tokenId","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"string","name":"newName","type":"string"}],"name":"changeName","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"constellationCount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"}],"name":"constellationUnits","outputs":[{"internalType":"address","name":"contractAddr","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"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":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"string","name":"nameString","type":"string"}],"name":"isNameReserved","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"receiver","type":"address"}],"name":"mintGenesis","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"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":"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":"baseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"string","name":"str","type":"string"}],"name":"toLower","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenName","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"tokenTraits","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"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":"totalMints","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"receiverTokenId","type":"uint256"},{"internalType":"uint256","name":"burnTokenId","type":"uint256"},{"internalType":"address","name":"burnTokenContract","type":"address"}],"name":"upgrade","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"str","type":"string"}],"name":"validateName","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"pure","type":"function"},{"inputs":[],"name":"withdrawEther","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60806040526000600b556000600c5560405180602001604052806000815250600d9080519060200190620000359291906200031e565b503480156200004357600080fd5b5060405162005d7e38038062005d7e833981810160405281019062000069919062000457565b6040518060400160405280600a81526020017f50756c73717561726573000000000000000000000000000000000000000000008152506040518060400160405280600481526020017f50554c53000000000000000000000000000000000000000000000000000000008152508160009080519060200190620000ed9291906200031e565b508060019080519060200190620001069291906200031e565b50505080600d9080519060200190620001219291906200031e565b50620001376000801b83620001a360201b60201c565b620001697f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a683620001a360201b60201c565b6200019b7f5f4c7b984c07141322facf8b2903839dfc36b9be0814b3f90b84ad023e02703d83620001a360201b60201c565b505062000630565b620001b58282620001b960201b60201c565b5050565b620001cb8282620002ab60201b60201c565b620002a7576001600a600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055506200024c6200031660201b60201c565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45b5050565b6000600a600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b600033905090565b8280546200032c9062000582565b90600052602060002090601f0160209004810192826200035057600085556200039c565b82601f106200036b57805160ff19168380011785556200039c565b828001600101855582156200039c579182015b828111156200039b5782518255916020019190600101906200037e565b5b509050620003ab9190620003af565b5090565b5b80821115620003ca576000816000905550600101620003b0565b5090565b6000620003e5620003df84620004e5565b620004b1565b905082815260208101848484011115620003fe57600080fd5b6200040b8482856200054c565b509392505050565b600081519050620004248162000616565b92915050565b600082601f8301126200043c57600080fd5b81516200044e848260208601620003ce565b91505092915050565b600080604083850312156200046b57600080fd5b60006200047b8582860162000413565b925050602083015167ffffffffffffffff8111156200049957600080fd5b620004a7858286016200042a565b9150509250929050565b6000604051905081810181811067ffffffffffffffff82111715620004db57620004da620005e7565b5b8060405250919050565b600067ffffffffffffffff821115620005035762000502620005e7565b5b601f19601f8301169050602081019050919050565b600062000525826200052c565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60005b838110156200056c5780820151818401526020810190506200054f565b838111156200057c576000848401525b50505050565b600060028204905060018216806200059b57607f821691505b60208210811415620005b257620005b1620005b8565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b620006218162000518565b81146200062d57600080fd5b50565b61573e80620006406000396000f3fe608060405234801561001057600080fd5b50600436106102325760003560e01c806372749bad11610130578063a978a71d116100b8578063d547741f1161007c578063d547741f146106d4578063e05c57bf146106f0578063e3cd993014610720578063e725f87714610750578063e985e9c51461078057610232565b8063a978a71d1461061d578063b88d4fde1461064e578063c39cbef11461066a578063c87b56dd14610686578063d5391393146106b657610232565b80639416b423116100ff5780639416b4231461056557806395d89b41146105955780639ffdb65a146105b3578063a217fddf146105e3578063a22cb4651461060157610232565b806372749bad146104f15780637362377b1461050f57806391d1485414610519578063940203921461054957610232565b80632f2ff15d116101be5780634f6ccce7116101825780634f6ccce7146104295780634fe1ac141461045957806355f804b3146104755780636352211e1461049157806370a08231146104c157610232565b80632f2ff15d146103895780632f745c59146103a557806336568abe146103d557806342842e0e146103f157806342966c681461040d57610232565b806315b56d101161020557806315b56d10146102d157806318160ddd146103015780631f21bfbf1461031f57806323b872dd1461033d578063248a9ca31461035957610232565b806301ffc9a71461023757806306fdde0314610267578063081812fc14610285578063095ea7b3146102b5575b600080fd5b610251600480360381019061024c9190613f9f565b6107b0565b60405161025e9190614de3565b60405180910390f35b61026f61082a565b60405161027c9190614e19565b60405180910390f35b61029f600480360381019061029a9190614032565b6108bc565b6040516102ac9190614d53565b60405180910390f35b6102cf60048036038101906102ca9190613ed5565b610941565b005b6102eb60048036038101906102e69190613ff1565b610a59565b6040516102f89190614de3565b60405180910390f35b610309610a96565b60405161031691906151db565b60405180910390f35b610327610aa3565b60405161033491906151db565b60405180910390f35b61035760048036038101906103529190613dcf565b610aa9565b005b610373600480360381019061036e9190613f11565b610b09565b6040516103809190614dfe565b60405180910390f35b6103a3600480360381019061039e9190613f63565b610b29565b005b6103bf60048036038101906103ba9190613ed5565b610b8f565b6040516103cc91906151db565b60405180910390f35b6103ef60048036038101906103ea9190613f63565b610c34565b005b61040b60048036038101906104069190613dcf565b610cb7565b005b61042760048036038101906104229190614032565b610cd7565b005b610443600480360381019061043e9190614032565b610e47565b60405161045091906151db565b60405180910390f35b610473600480360381019061046e91906140eb565b610ede565b005b61048f600480360381019061048a9190613ff1565b61110c565b005b6104ab60048036038101906104a69190614032565b611172565b6040516104b89190614d53565b60405180910390f35b6104db60048036038101906104d69190613d6a565b611224565b6040516104e891906151db565b60405180910390f35b6104f96112dc565b6040516105069190614dfe565b60405180910390f35b610517611300565b005b610533600480360381019061052e9190613f63565b61139e565b6040516105409190614de3565b60405180910390f35b610563600480360381019061055e9190613d6a565b611409565b005b61057f600480360381019061057a9190613ff1565b611516565b60405161058c9190614e19565b60405180910390f35b61059d6117d8565b6040516105aa9190614e19565b60405180910390f35b6105cd60048036038101906105c89190613ff1565b61186a565b6040516105da9190614de3565b60405180910390f35b6105eb611c34565b6040516105f89190614dfe565b60405180910390f35b61061b60048036038101906106169190613e99565b611c3b565b005b610637600480360381019061063291906140af565b611dbc565b604051610645929190614dba565b60405180910390f35b61066860048036038101906106639190613e1e565b611e1d565b005b610684600480360381019061067f919061405b565b611e7f565b005b6106a0600480360381019061069b9190614032565b612220565b6040516106ad9190614e19565b60405180910390f35b6106be6122c7565b6040516106cb9190614dfe565b60405180910390f35b6106ee60048036038101906106e99190613f63565b6122eb565b005b61070a60048036038101906107059190614032565b612351565b6040516107179190614dfe565b60405180910390f35b61073a60048036038101906107359190614032565b612369565b60405161074791906151db565b60405180910390f35b61076a60048036038101906107659190614032565b612381565b6040516107779190614e19565b60405180910390f35b61079a60048036038101906107959190613d93565b612426565b6040516107a79190614de3565b60405180910390f35b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806108235750610822826124ba565b5b9050919050565b606060008054610839906154f2565b80601f0160208091040260200160405190810160405280929190818152602001828054610865906154f2565b80156108b25780601f10610887576101008083540402835291602001916108b2565b820191906000526020600020905b81548152906001019060200180831161089557829003601f168201915b5050505050905090565b60006108c782612534565b610906576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108fd9061509b565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b600061094c82611172565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156109bd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109b49061511b565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff166109dc6125a0565b73ffffffffffffffffffffffffffffffffffffffff161480610a0b5750610a0a81610a056125a0565b612426565b5b610a4a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a4190614f9b565b60405180910390fd5b610a5483836125a8565b505050565b60006013610a6683611516565b604051610a739190614d18565b908152602001604051809103902060009054906101000a900460ff169050919050565b6000600880549050905090565b600c5481565b610aba610ab46125a0565b82612661565b610af9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610af09061515b565b60405180910390fd5b610b0483838361273f565b505050565b6000600a6000838152602001908152602001600020600101549050919050565b610b42610b3583610b09565b610b3d6125a0565b61139e565b610b81576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b7890614e3b565b60405180910390fd5b610b8b828261299b565b5050565b6000610b9a83611224565b8210610bdb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bd290614e7b565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b610c3c6125a0565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610ca9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ca0906151bb565b60405180910390fd5b610cb38282612a7c565b5050565b610cd283838360405180602001604052806000815250611e1d565b505050565b610d017f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a63361139e565b610d40576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d3790614fbb565b60405180910390fd5b6010600082815260200190815260200160002060009055601160008281526020019081526020016000206000610d769190613b07565b610e1c601160008381526020019081526020016000208054610d97906154f2565b80601f0160208091040260200160405190810160405280929190818152602001828054610dc3906154f2565b8015610e105780601f10610de557610100808354040283529160200191610e10565b820191906000526020600020905b815481529060010190602001808311610df357829003601f168201915b50505050506000612b5e565b601260008281526020019081526020016000206000610e3b9190613b07565b610e4481612ba0565b50565b6000610e51610a96565b8210610e92576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e899061517b565b60405180910390fd5b60088281548110610ecc577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002001549050919050565b3073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141580610f195750818314155b610f58576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f4f9061503b565b60405180910390fd5b610f827f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a63361139e565b610fc1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fb890614fbb565b60405180910390fd5b6064600e6000858152602001908152602001600020541115611018576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161100f90614ebb565b60405180910390fd5b6001600e6000858152602001908152602001600020600082825461103c9190615321565b92505081905550600082111561110757600f600084815260200190815260200160002060405180604001604052808373ffffffffffffffffffffffffffffffffffffffff16815260200184815250908060018154018082558091505060019003906000526020600020906002020160009091909190915060008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506020820151816001015550505b505050565b6111196000801b3361139e565b611158576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161114f9061513b565b60405180910390fd5b80600d908051906020019061116e929190613b47565b5050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561121b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161121290614ffb565b60405180910390fd5b80915050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611295576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161128c90614fdb565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b7f5f4c7b984c07141322facf8b2903839dfc36b9be0814b3f90b84ad023e02703d81565b61130d6000801b3361139e565b61134c576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113439061513b565b60405180910390fd5b600047905060008073ffffffffffffffffffffffffffffffffffffffff166108fc839081150290604051600060405180830381858888f19350505050158015611399573d6000803e3d6000fd5b505050565b6000600a600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6114337f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a63361139e565b611472576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161146990614fbb565b60405180910390fd5b6101f4600c54106114b8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114af9061505b565b60405180910390fd5b60006114c2612cb1565b90506001600c546114d39190615321565b600c819055508060000151600b819055506114f2828260000151612dce565b80602001516010600083600001518152602001908152602001600020819055505050565b606060008290506000815167ffffffffffffffff811115611560577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156115925781602001600182028036833780820191505090505b50905060005b82518110156117cd5760418382815181106115dc577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602001015160f81c60f81b60f81c60ff16101580156116455750605a838281518110611631577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602001015160f81c60f81b60f81c60ff1611155b1561170d576020838281518110611685577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602001015160f81c60f81b60f81c61169d9190615377565b60f81b8282815181106116d9577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053506117ba565b828181518110611746577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602001015160f81c60f81b82828151811061178a577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053505b80806117c590615524565b915050611598565b508092505050919050565b6060600180546117e7906154f2565b80601f0160208091040260200160405190810160405280929190818152602001828054611813906154f2565b80156118605780601f1061183557610100808354040283529160200191611860565b820191906000526020600020905b81548152906001019060200180831161184357829003601f168201915b5050505050905090565b600080829050600181511015611884576000915050611c2f565b601981511115611898576000915050611c2f565b602060f81b816000815181106118d7577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602001015160f81c60f81b7effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161415611914576000915050611c2f565b602060f81b816001835161192891906153df565b8151811061195f577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602001015160f81c60f81b7effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916141561199c576000915050611c2f565b6000816000815181106119d8577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602001015160f81c60f81b905060005b8251811015611c27576000838281518110611a2c577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602001015160f81c60f81b9050602060f81b817effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148015611a935750602060f81b837effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b15611aa5576000945050505050611c2f565b603060f81b817effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff191610158015611b015750603960f81b817effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff191611155b158015611b675750604160f81b817effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff191610158015611b655750605a60f81b817effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff191611155b155b8015611bcc5750606160f81b817effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff191610158015611bca5750607a60f81b817effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff191611155b155b8015611bfe5750602060f81b817effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614155b15611c10576000945050505050611c2f565b809250508080611c1f90615524565b9150506119e8565b506001925050505b919050565b6000801b81565b611c436125a0565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611cb1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ca890614f1b565b60405180910390fd5b8060056000611cbe6125a0565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611d6b6125a0565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611db09190614de3565b60405180910390a35050565b600f6020528160005260406000208181548110611dd857600080fd5b9060005260206000209060020201600091509150508060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16908060010154905082565b611e2e611e286125a0565b83612661565b611e6d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e649061515b565b60405180910390fd5b611e7984848484612dec565b50505050565b6000611e8a83611172565b90508073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614611efa576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ef190614e5b565b60405180910390fd5b6000600e60008581526020019081526020016000205411611f50576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f4790614f3b565b60405180910390fd5b60011515611f5d8361186a565b151514611f9f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f969061519b565b60405180910390fd5b600260116000858152602001908152602001600020604051611fc19190614d01565b602060405180830381855afa158015611fde573d6000803e3d6000fd5b5050506040513d601f19601f820116820180604052508101906120019190613f3a565b6002836040516120119190614cea565b602060405180830381855afa15801561202e573d6000803e3d6000fd5b5050506040513d601f19601f820116820180604052508101906120519190613f3a565b1415612092576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612089906150fb565b60405180910390fd5b6000151561209f83610a59565b1515146120e1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120d89061507b565b60405180910390fd5b6000601160008581526020019081526020016000208054612101906154f2565b905011156121b0576121af60116000858152602001908152602001600020805461212a906154f2565b80601f0160208091040260200160405190810160405280929190818152602001828054612156906154f2565b80156121a35780601f10612178576101008083540402835291602001916121a3565b820191906000526020600020905b81548152906001019060200180831161218657829003601f168201915b50505050506000612b5e565b5b6121bb826001612b5e565b816011600085815260200190815260200160002090805190602001906121e2929190613b47565b50827f355e6037a3f9c646870e44d77364164d02ab85580efdbb66363b503c3a25f5af836040516122139190614e19565b60405180910390a2505050565b606061222b82612534565b61226a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612261906150db565b60405180910390fd5b6000612274612e48565b9050600081511161229457604051806020016040528060008152506122bf565b8061229e84612eda565b6040516020016122af929190614d2f565b6040516020818303038152906040525b915050919050565b7f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a681565b6123046122f783610b09565b6122ff6125a0565b61139e565b612343576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161233a90614f7b565b60405180910390fd5b61234d8282612a7c565b5050565b60106020528060005260406000206000915090505481565b600e6020528060005260406000206000915090505481565b60606011600083815260200190815260200160002080546123a1906154f2565b80601f01602080910402602001604051908101604052809291908181526020018280546123cd906154f2565b801561241a5780601f106123ef5761010080835404028352916020019161241a565b820191906000526020600020905b8154815290600101906020018083116123fd57829003601f168201915b50505050509050919050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b60007f7965db0b000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061252d575061252c82613087565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff1661261b83611172565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600061266c82612534565b6126ab576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126a290614f5b565b60405180910390fd5b60006126b683611172565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16148061272557508373ffffffffffffffffffffffffffffffffffffffff1661270d846108bc565b73ffffffffffffffffffffffffffffffffffffffff16145b8061273657506127358185612426565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff1661275f82611172565b73ffffffffffffffffffffffffffffffffffffffff16146127b5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127ac906150bb565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612825576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161281c90614efb565b60405180910390fd5b612830838383613101565b61283b6000826125a8565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461288b91906153df565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546128e29190615321565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b6129a5828261139e565b612a78576001600a600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550612a1d6125a0565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45b5050565b612a86828261139e565b15612b5a576000600a600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550612aff6125a0565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b60405160405180910390a45b5050565b806013612b6a84611516565b604051612b779190614d18565b908152602001604051809103902060006101000a81548160ff0219169083151502179055505050565b6000612bab82611172565b9050612bb981600084613101565b612bc46000836125a8565b6001600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612c1491906153df565b925050819055506002600083815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff021916905581600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b612cb9613bcd565b6000612cc3613215565b90506000601c90506000828260ff1660208110612d09577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b1a60f81b60f81c60ff169050601d91505b601e8260ff161015612d9357600881901b9050828260ff1660208110612d69577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b1a60f81b60f81c60ff1681612d7e9190615321565b90508180612d8b9061556d565b925050612d1a565b601081901b9050612daf600c548261325590919063ffffffff16565b9050604051806040016040528082815260200184815250935050505090565b612de882826040518060200160405280600081525061326b565b5050565b612df784848461273f565b612e03848484846132c6565b612e42576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612e3990614e9b565b60405180910390fd5b50505050565b6060600d8054612e57906154f2565b80601f0160208091040260200160405190810160405280929190818152602001828054612e83906154f2565b8015612ed05780601f10612ea557610100808354040283529160200191612ed0565b820191906000526020600020905b815481529060010190602001808311612eb357829003601f168201915b5050505050905090565b60606000821415612f22576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050613082565b600082905060005b60008214612f54578080612f3d90615524565b915050600a82612f4d91906153ae565b9150612f2a565b60008167ffffffffffffffff811115612f96577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015612fc85781602001600182028036833780820191505090505b5090505b6000851461307b57600182612fe191906153df565b9150600a85612ff09190615597565b6030612ffc9190615321565b60f81b818381518110613038577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a8561307491906153ae565b9450612fcc565b8093505050505b919050565b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806130fa57506130f98261345d565b5b9050919050565b61310c83838361353f565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141561314f5761314a81613544565b61318e565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161461318d5761318c838261358d565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156131d1576131cc816136fa565b613210565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161461320f5761320e828261383d565b5b5b505050565b600060014361322491906153df565b41600b5460405160200161323a939291906151f6565b60405160208183030381529060405280519060200120905090565b600081836132639190615321565b905092915050565b61327583836138bc565b61328260008484846132c6565b6132c1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016132b890614e9b565b60405180910390fd5b505050565b60006132e78473ffffffffffffffffffffffffffffffffffffffff16613a8a565b15613450578373ffffffffffffffffffffffffffffffffffffffff1663150b7a026133106125a0565b8786866040518563ffffffff1660e01b81526004016133329493929190614d6e565b602060405180830381600087803b15801561334c57600080fd5b505af192505050801561337d57506040513d601f19601f8201168201806040525081019061337a9190613fc8565b60015b613400573d80600081146133ad576040519150601f19603f3d011682016040523d82523d6000602084013e6133b2565b606091505b506000815114156133f8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016133ef90614e9b565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050613455565b600190505b949350505050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061352857507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80613538575061353782613a9d565b5b9050919050565b505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b6000600161359a84611224565b6135a491906153df565b9050600060076000848152602001908152602001600020549050818114613689576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b6000600160088054905061370e91906153df565b9050600060096000848152602001908152602001600020549050600060088381548110613764577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9060005260206000200154905080600883815481106137ac577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b906000526020600020018190555081600960008381526020019081526020016000208190555060096000858152602001908152602001600020600090556008805480613821577f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b6001900381819060005260206000200160009055905550505050565b600061384883611224565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561392c576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016139239061501b565b60405180910390fd5b61393581612534565b15613975576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161396c90614edb565b60405180910390fd5b61398160008383613101565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546139d19190615321565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b600080823b905060008111915050919050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b508054613b13906154f2565b6000825580601f10613b255750613b44565b601f016020900490600052602060002090810190613b439190613bea565b5b50565b828054613b53906154f2565b90600052602060002090601f016020900481019282613b755760008555613bbc565b82601f10613b8e57805160ff1916838001178555613bbc565b82800160010185558215613bbc579182015b82811115613bbb578251825591602001919060010190613ba0565b5b509050613bc99190613bea565b5090565b604051806040016040528060008152602001600080191681525090565b5b80821115613c03576000816000905550600101613beb565b5090565b6000613c1a613c158461525e565b61522d565b905082815260208101848484011115613c3257600080fd5b613c3d8482856154b0565b509392505050565b6000613c58613c538461528e565b61522d565b905082815260208101848484011115613c7057600080fd5b613c7b8482856154b0565b509392505050565b600081359050613c9281615695565b92915050565b600081359050613ca7816156ac565b92915050565b600081359050613cbc816156c3565b92915050565b600081519050613cd1816156c3565b92915050565b600081359050613ce6816156da565b92915050565b600081519050613cfb816156da565b92915050565b600082601f830112613d1257600080fd5b8135613d22848260208601613c07565b91505092915050565b600082601f830112613d3c57600080fd5b8135613d4c848260208601613c45565b91505092915050565b600081359050613d64816156f1565b92915050565b600060208284031215613d7c57600080fd5b6000613d8a84828501613c83565b91505092915050565b60008060408385031215613da657600080fd5b6000613db485828601613c83565b9250506020613dc585828601613c83565b9150509250929050565b600080600060608486031215613de457600080fd5b6000613df286828701613c83565b9350506020613e0386828701613c83565b9250506040613e1486828701613d55565b9150509250925092565b60008060008060808587031215613e3457600080fd5b6000613e4287828801613c83565b9450506020613e5387828801613c83565b9350506040613e6487828801613d55565b925050606085013567ffffffffffffffff811115613e8157600080fd5b613e8d87828801613d01565b91505092959194509250565b60008060408385031215613eac57600080fd5b6000613eba85828601613c83565b9250506020613ecb85828601613c98565b9150509250929050565b60008060408385031215613ee857600080fd5b6000613ef685828601613c83565b9250506020613f0785828601613d55565b9150509250929050565b600060208284031215613f2357600080fd5b6000613f3184828501613cad565b91505092915050565b600060208284031215613f4c57600080fd5b6000613f5a84828501613cc2565b91505092915050565b60008060408385031215613f7657600080fd5b6000613f8485828601613cad565b9250506020613f9585828601613c83565b9150509250929050565b600060208284031215613fb157600080fd5b6000613fbf84828501613cd7565b91505092915050565b600060208284031215613fda57600080fd5b6000613fe884828501613cec565b91505092915050565b60006020828403121561400357600080fd5b600082013567ffffffffffffffff81111561401d57600080fd5b61402984828501613d2b565b91505092915050565b60006020828403121561404457600080fd5b600061405284828501613d55565b91505092915050565b6000806040838503121561406e57600080fd5b600061407c85828601613d55565b925050602083013567ffffffffffffffff81111561409957600080fd5b6140a585828601613d2b565b9150509250929050565b600080604083850312156140c257600080fd5b60006140d085828601613d55565b92505060206140e185828601613d55565b9150509250929050565b60008060006060848603121561410057600080fd5b600061410e86828701613d55565b935050602061411f86828701613d55565b925050604061413086828701613c83565b9150509250925092565b61414381615425565b82525050565b61415281615413565b82525050565b61416181615437565b82525050565b61417081615443565b82525050565b6000614181826152d3565b61418b81856152e9565b935061419b8185602086016154bf565b6141a481615684565b840191505092915050565b60006141ba826152d3565b6141c481856152fa565b93506141d48185602086016154bf565b80840191505092915050565b600081546141ed816154f2565b6141f781866152fa565b94506001821660008114614212576001811461422357614256565b60ff19831686528186019350614256565b61422c856152be565b60005b8381101561424e5781548189015260018201915060208101905061422f565b838801955050505b50505092915050565b600061426a826152de565b6142748185615305565b93506142848185602086016154bf565b61428d81615684565b840191505092915050565b60006142a3826152de565b6142ad8185615316565b93506142bd8185602086016154bf565b80840191505092915050565b60006142d6602f83615305565b91507f416363657373436f6e74726f6c3a2073656e646572206d75737420626520616e60008301527f2061646d696e20746f206772616e7400000000000000000000000000000000006020830152604082019050919050565b600061433c601f83615305565b91507f4552433732313a2063616c6c6572206973206e6f7420746865206f776e6572006000830152602082019050919050565b600061437c602b83615305565b91507f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008301527f74206f6620626f756e64730000000000000000000000000000000000000000006020830152604082019050919050565b60006143e2603283615305565b91507f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008301527f63656976657220696d706c656d656e74657200000000000000000000000000006020830152604082019050919050565b6000614448602683615305565b91507f4d617820636f6e7374656c6c6174696f6e2073697a6520776f756c642062652060008301527f62726f6b656e00000000000000000000000000000000000000000000000000006020830152604082019050919050565b60006144ae601c83615305565b91507f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006000830152602082019050919050565b60006144ee602483615305565b91507f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008301527f72657373000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000614554601983615305565b91507f4552433732313a20617070726f766520746f2063616c6c6572000000000000006000830152602082019050919050565b6000614594602a83615305565b91507f546f6b656e2073686f756c642068617665206174206c65617374203120436f6e60008301527f7374656c6c6174696f6e000000000000000000000000000000000000000000006020830152604082019050919050565b60006145fa602c83615305565b91507f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008301527f697374656e7420746f6b656e00000000000000000000000000000000000000006020830152604082019050919050565b6000614660603083615305565b91507f416363657373436f6e74726f6c3a2073656e646572206d75737420626520616e60008301527f2061646d696e20746f207265766f6b65000000000000000000000000000000006020830152604082019050919050565b60006146c6603883615305565b91507f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008301527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006020830152604082019050919050565b600061472c601683615305565b91507f43616c6c6572206973206e6f742061206d696e746572000000000000000000006000830152602082019050919050565b600061476c602a83615305565b91507f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008301527f726f2061646472657373000000000000000000000000000000000000000000006020830152604082019050919050565b60006147d2602983615305565b91507f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008301527f656e7420746f6b656e00000000000000000000000000000000000000000000006020830152604082019050919050565b6000614838602083615305565b91507f4552433732313a206d696e7420746f20746865207a65726f20616464726573736000830152602082019050919050565b6000614878601383615305565b91507f43616e6e6f742073656c662075706772616465000000000000000000000000006000830152602082019050919050565b60006148b8601783615305565b91507f546f74616c206d696e74206c696d6974206973203530300000000000000000006000830152602082019050919050565b60006148f8601583615305565b91507f4e616d6520616c726561647920726573657276656400000000000000000000006000830152602082019050919050565b6000614938602c83615305565b91507f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008301527f697374656e7420746f6b656e00000000000000000000000000000000000000006020830152604082019050919050565b600061499e602983615305565b91507f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008301527f73206e6f74206f776e00000000000000000000000000000000000000000000006020830152604082019050919050565b6000614a04602f83615305565b91507f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008301527f6e6578697374656e7420746f6b656e00000000000000000000000000000000006020830152604082019050919050565b6000614a6a602383615305565b91507f4e6577206e616d652069732073616d65206173207468652063757272656e742060008301527f6f6e6500000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000614ad0602183615305565b91507f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008301527f72000000000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000614b36601383615305565b91507f43616c6c6572206973206e6f742061646d696e000000000000000000000000006000830152602082019050919050565b6000614b76603183615305565b91507f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008301527f776e6572206e6f7220617070726f7665640000000000000000000000000000006020830152604082019050919050565b6000614bdc602c83615305565b91507f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008301527f7574206f6620626f756e647300000000000000000000000000000000000000006020830152604082019050919050565b6000614c42601483615305565b91507f4e6f7420612076616c6964206e6577206e616d650000000000000000000000006000830152602082019050919050565b6000614c82602f83615305565b91507f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560008301527f20726f6c657320666f722073656c6600000000000000000000000000000000006020830152604082019050919050565b614ce481615499565b82525050565b6000614cf682846141af565b915081905092915050565b6000614d0d82846141e0565b915081905092915050565b6000614d248284614298565b915081905092915050565b6000614d3b8285614298565b9150614d478284614298565b91508190509392505050565b6000602082019050614d686000830184614149565b92915050565b6000608082019050614d836000830187614149565b614d906020830186614149565b614d9d6040830185614cdb565b8181036060830152614daf8184614176565b905095945050505050565b6000604082019050614dcf6000830185614149565b614ddc6020830184614cdb565b9392505050565b6000602082019050614df86000830184614158565b92915050565b6000602082019050614e136000830184614167565b92915050565b60006020820190508181036000830152614e33818461425f565b905092915050565b60006020820190508181036000830152614e54816142c9565b9050919050565b60006020820190508181036000830152614e748161432f565b9050919050565b60006020820190508181036000830152614e948161436f565b9050919050565b60006020820190508181036000830152614eb4816143d5565b9050919050565b60006020820190508181036000830152614ed48161443b565b9050919050565b60006020820190508181036000830152614ef4816144a1565b9050919050565b60006020820190508181036000830152614f14816144e1565b9050919050565b60006020820190508181036000830152614f3481614547565b9050919050565b60006020820190508181036000830152614f5481614587565b9050919050565b60006020820190508181036000830152614f74816145ed565b9050919050565b60006020820190508181036000830152614f9481614653565b9050919050565b60006020820190508181036000830152614fb4816146b9565b9050919050565b60006020820190508181036000830152614fd48161471f565b9050919050565b60006020820190508181036000830152614ff48161475f565b9050919050565b60006020820190508181036000830152615014816147c5565b9050919050565b600060208201905081810360008301526150348161482b565b9050919050565b600060208201905081810360008301526150548161486b565b9050919050565b60006020820190508181036000830152615074816148ab565b9050919050565b60006020820190508181036000830152615094816148eb565b9050919050565b600060208201905081810360008301526150b48161492b565b9050919050565b600060208201905081810360008301526150d481614991565b9050919050565b600060208201905081810360008301526150f4816149f7565b9050919050565b6000602082019050818103600083015261511481614a5d565b9050919050565b6000602082019050818103600083015261513481614ac3565b9050919050565b6000602082019050818103600083015261515481614b29565b9050919050565b6000602082019050818103600083015261517481614b69565b9050919050565b6000602082019050818103600083015261519481614bcf565b9050919050565b600060208201905081810360008301526151b481614c35565b9050919050565b600060208201905081810360008301526151d481614c75565b9050919050565b60006020820190506151f06000830184614cdb565b92915050565b600060608201905061520b6000830186614cdb565b615218602083018561413a565b6152256040830184614cdb565b949350505050565b6000604051905081810181811067ffffffffffffffff8211171561525457615253615655565b5b8060405250919050565b600067ffffffffffffffff82111561527957615278615655565b5b601f19601f8301169050602081019050919050565b600067ffffffffffffffff8211156152a9576152a8615655565b5b601f19601f8301169050602081019050919050565b60008190508160005260206000209050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b600081905092915050565b600061532c82615499565b915061533783615499565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561536c5761536b6155c8565b5b828201905092915050565b6000615382826154a3565b915061538d836154a3565b92508260ff038211156153a3576153a26155c8565b5b828201905092915050565b60006153b982615499565b91506153c483615499565b9250826153d4576153d36155f7565b5b828204905092915050565b60006153ea82615499565b91506153f583615499565b925082821015615408576154076155c8565b5b828203905092915050565b600061541e82615479565b9050919050565b600061543082615479565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600060ff82169050919050565b82818337600083830152505050565b60005b838110156154dd5780820151818401526020810190506154c2565b838111156154ec576000848401525b50505050565b6000600282049050600182168061550a57607f821691505b6020821081141561551e5761551d615626565b5b50919050565b600061552f82615499565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415615562576155616155c8565b5b600182019050919050565b6000615578826154a3565b915060ff82141561558c5761558b6155c8565b5b600182019050919050565b60006155a282615499565b91506155ad83615499565b9250826155bd576155bc6155f7565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b61569e81615413565b81146156a957600080fd5b50565b6156b581615437565b81146156c057600080fd5b50565b6156cc81615443565b81146156d757600080fd5b50565b6156e38161544d565b81146156ee57600080fd5b50565b6156fa81615499565b811461570557600080fd5b5056fea2646970667358221220f3770c246d446691bfbefbf8ca844a877a9591014d1b56074e226fa29b258fa664736f6c634300080000330000000000000000000000003232332feaa9a31b4ebbf49c607fbd4dba4ad32d0000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000001f68747470733a2f2f636f6e74656e742e70756c737175617265732e6172742f00

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106102325760003560e01c806372749bad11610130578063a978a71d116100b8578063d547741f1161007c578063d547741f146106d4578063e05c57bf146106f0578063e3cd993014610720578063e725f87714610750578063e985e9c51461078057610232565b8063a978a71d1461061d578063b88d4fde1461064e578063c39cbef11461066a578063c87b56dd14610686578063d5391393146106b657610232565b80639416b423116100ff5780639416b4231461056557806395d89b41146105955780639ffdb65a146105b3578063a217fddf146105e3578063a22cb4651461060157610232565b806372749bad146104f15780637362377b1461050f57806391d1485414610519578063940203921461054957610232565b80632f2ff15d116101be5780634f6ccce7116101825780634f6ccce7146104295780634fe1ac141461045957806355f804b3146104755780636352211e1461049157806370a08231146104c157610232565b80632f2ff15d146103895780632f745c59146103a557806336568abe146103d557806342842e0e146103f157806342966c681461040d57610232565b806315b56d101161020557806315b56d10146102d157806318160ddd146103015780631f21bfbf1461031f57806323b872dd1461033d578063248a9ca31461035957610232565b806301ffc9a71461023757806306fdde0314610267578063081812fc14610285578063095ea7b3146102b5575b600080fd5b610251600480360381019061024c9190613f9f565b6107b0565b60405161025e9190614de3565b60405180910390f35b61026f61082a565b60405161027c9190614e19565b60405180910390f35b61029f600480360381019061029a9190614032565b6108bc565b6040516102ac9190614d53565b60405180910390f35b6102cf60048036038101906102ca9190613ed5565b610941565b005b6102eb60048036038101906102e69190613ff1565b610a59565b6040516102f89190614de3565b60405180910390f35b610309610a96565b60405161031691906151db565b60405180910390f35b610327610aa3565b60405161033491906151db565b60405180910390f35b61035760048036038101906103529190613dcf565b610aa9565b005b610373600480360381019061036e9190613f11565b610b09565b6040516103809190614dfe565b60405180910390f35b6103a3600480360381019061039e9190613f63565b610b29565b005b6103bf60048036038101906103ba9190613ed5565b610b8f565b6040516103cc91906151db565b60405180910390f35b6103ef60048036038101906103ea9190613f63565b610c34565b005b61040b60048036038101906104069190613dcf565b610cb7565b005b61042760048036038101906104229190614032565b610cd7565b005b610443600480360381019061043e9190614032565b610e47565b60405161045091906151db565b60405180910390f35b610473600480360381019061046e91906140eb565b610ede565b005b61048f600480360381019061048a9190613ff1565b61110c565b005b6104ab60048036038101906104a69190614032565b611172565b6040516104b89190614d53565b60405180910390f35b6104db60048036038101906104d69190613d6a565b611224565b6040516104e891906151db565b60405180910390f35b6104f96112dc565b6040516105069190614dfe565b60405180910390f35b610517611300565b005b610533600480360381019061052e9190613f63565b61139e565b6040516105409190614de3565b60405180910390f35b610563600480360381019061055e9190613d6a565b611409565b005b61057f600480360381019061057a9190613ff1565b611516565b60405161058c9190614e19565b60405180910390f35b61059d6117d8565b6040516105aa9190614e19565b60405180910390f35b6105cd60048036038101906105c89190613ff1565b61186a565b6040516105da9190614de3565b60405180910390f35b6105eb611c34565b6040516105f89190614dfe565b60405180910390f35b61061b60048036038101906106169190613e99565b611c3b565b005b610637600480360381019061063291906140af565b611dbc565b604051610645929190614dba565b60405180910390f35b61066860048036038101906106639190613e1e565b611e1d565b005b610684600480360381019061067f919061405b565b611e7f565b005b6106a0600480360381019061069b9190614032565b612220565b6040516106ad9190614e19565b60405180910390f35b6106be6122c7565b6040516106cb9190614dfe565b60405180910390f35b6106ee60048036038101906106e99190613f63565b6122eb565b005b61070a60048036038101906107059190614032565b612351565b6040516107179190614dfe565b60405180910390f35b61073a60048036038101906107359190614032565b612369565b60405161074791906151db565b60405180910390f35b61076a60048036038101906107659190614032565b612381565b6040516107779190614e19565b60405180910390f35b61079a60048036038101906107959190613d93565b612426565b6040516107a79190614de3565b60405180910390f35b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806108235750610822826124ba565b5b9050919050565b606060008054610839906154f2565b80601f0160208091040260200160405190810160405280929190818152602001828054610865906154f2565b80156108b25780601f10610887576101008083540402835291602001916108b2565b820191906000526020600020905b81548152906001019060200180831161089557829003601f168201915b5050505050905090565b60006108c782612534565b610906576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108fd9061509b565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b600061094c82611172565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156109bd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109b49061511b565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff166109dc6125a0565b73ffffffffffffffffffffffffffffffffffffffff161480610a0b5750610a0a81610a056125a0565b612426565b5b610a4a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a4190614f9b565b60405180910390fd5b610a5483836125a8565b505050565b60006013610a6683611516565b604051610a739190614d18565b908152602001604051809103902060009054906101000a900460ff169050919050565b6000600880549050905090565b600c5481565b610aba610ab46125a0565b82612661565b610af9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610af09061515b565b60405180910390fd5b610b0483838361273f565b505050565b6000600a6000838152602001908152602001600020600101549050919050565b610b42610b3583610b09565b610b3d6125a0565b61139e565b610b81576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b7890614e3b565b60405180910390fd5b610b8b828261299b565b5050565b6000610b9a83611224565b8210610bdb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bd290614e7b565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b610c3c6125a0565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610ca9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ca0906151bb565b60405180910390fd5b610cb38282612a7c565b5050565b610cd283838360405180602001604052806000815250611e1d565b505050565b610d017f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a63361139e565b610d40576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d3790614fbb565b60405180910390fd5b6010600082815260200190815260200160002060009055601160008281526020019081526020016000206000610d769190613b07565b610e1c601160008381526020019081526020016000208054610d97906154f2565b80601f0160208091040260200160405190810160405280929190818152602001828054610dc3906154f2565b8015610e105780601f10610de557610100808354040283529160200191610e10565b820191906000526020600020905b815481529060010190602001808311610df357829003601f168201915b50505050506000612b5e565b601260008281526020019081526020016000206000610e3b9190613b07565b610e4481612ba0565b50565b6000610e51610a96565b8210610e92576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e899061517b565b60405180910390fd5b60088281548110610ecc577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002001549050919050565b3073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141580610f195750818314155b610f58576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f4f9061503b565b60405180910390fd5b610f827f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a63361139e565b610fc1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fb890614fbb565b60405180910390fd5b6064600e6000858152602001908152602001600020541115611018576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161100f90614ebb565b60405180910390fd5b6001600e6000858152602001908152602001600020600082825461103c9190615321565b92505081905550600082111561110757600f600084815260200190815260200160002060405180604001604052808373ffffffffffffffffffffffffffffffffffffffff16815260200184815250908060018154018082558091505060019003906000526020600020906002020160009091909190915060008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506020820151816001015550505b505050565b6111196000801b3361139e565b611158576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161114f9061513b565b60405180910390fd5b80600d908051906020019061116e929190613b47565b5050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561121b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161121290614ffb565b60405180910390fd5b80915050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611295576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161128c90614fdb565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b7f5f4c7b984c07141322facf8b2903839dfc36b9be0814b3f90b84ad023e02703d81565b61130d6000801b3361139e565b61134c576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113439061513b565b60405180910390fd5b600047905060008073ffffffffffffffffffffffffffffffffffffffff166108fc839081150290604051600060405180830381858888f19350505050158015611399573d6000803e3d6000fd5b505050565b6000600a600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6114337f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a63361139e565b611472576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161146990614fbb565b60405180910390fd5b6101f4600c54106114b8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114af9061505b565b60405180910390fd5b60006114c2612cb1565b90506001600c546114d39190615321565b600c819055508060000151600b819055506114f2828260000151612dce565b80602001516010600083600001518152602001908152602001600020819055505050565b606060008290506000815167ffffffffffffffff811115611560577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156115925781602001600182028036833780820191505090505b50905060005b82518110156117cd5760418382815181106115dc577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602001015160f81c60f81b60f81c60ff16101580156116455750605a838281518110611631577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602001015160f81c60f81b60f81c60ff1611155b1561170d576020838281518110611685577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602001015160f81c60f81b60f81c61169d9190615377565b60f81b8282815181106116d9577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053506117ba565b828181518110611746577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602001015160f81c60f81b82828151811061178a577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053505b80806117c590615524565b915050611598565b508092505050919050565b6060600180546117e7906154f2565b80601f0160208091040260200160405190810160405280929190818152602001828054611813906154f2565b80156118605780601f1061183557610100808354040283529160200191611860565b820191906000526020600020905b81548152906001019060200180831161184357829003601f168201915b5050505050905090565b600080829050600181511015611884576000915050611c2f565b601981511115611898576000915050611c2f565b602060f81b816000815181106118d7577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602001015160f81c60f81b7effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161415611914576000915050611c2f565b602060f81b816001835161192891906153df565b8151811061195f577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602001015160f81c60f81b7effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916141561199c576000915050611c2f565b6000816000815181106119d8577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602001015160f81c60f81b905060005b8251811015611c27576000838281518110611a2c577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602001015160f81c60f81b9050602060f81b817effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148015611a935750602060f81b837effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b15611aa5576000945050505050611c2f565b603060f81b817effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff191610158015611b015750603960f81b817effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff191611155b158015611b675750604160f81b817effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff191610158015611b655750605a60f81b817effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff191611155b155b8015611bcc5750606160f81b817effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff191610158015611bca5750607a60f81b817effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff191611155b155b8015611bfe5750602060f81b817effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614155b15611c10576000945050505050611c2f565b809250508080611c1f90615524565b9150506119e8565b506001925050505b919050565b6000801b81565b611c436125a0565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611cb1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ca890614f1b565b60405180910390fd5b8060056000611cbe6125a0565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611d6b6125a0565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611db09190614de3565b60405180910390a35050565b600f6020528160005260406000208181548110611dd857600080fd5b9060005260206000209060020201600091509150508060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16908060010154905082565b611e2e611e286125a0565b83612661565b611e6d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e649061515b565b60405180910390fd5b611e7984848484612dec565b50505050565b6000611e8a83611172565b90508073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614611efa576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ef190614e5b565b60405180910390fd5b6000600e60008581526020019081526020016000205411611f50576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f4790614f3b565b60405180910390fd5b60011515611f5d8361186a565b151514611f9f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f969061519b565b60405180910390fd5b600260116000858152602001908152602001600020604051611fc19190614d01565b602060405180830381855afa158015611fde573d6000803e3d6000fd5b5050506040513d601f19601f820116820180604052508101906120019190613f3a565b6002836040516120119190614cea565b602060405180830381855afa15801561202e573d6000803e3d6000fd5b5050506040513d601f19601f820116820180604052508101906120519190613f3a565b1415612092576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612089906150fb565b60405180910390fd5b6000151561209f83610a59565b1515146120e1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120d89061507b565b60405180910390fd5b6000601160008581526020019081526020016000208054612101906154f2565b905011156121b0576121af60116000858152602001908152602001600020805461212a906154f2565b80601f0160208091040260200160405190810160405280929190818152602001828054612156906154f2565b80156121a35780601f10612178576101008083540402835291602001916121a3565b820191906000526020600020905b81548152906001019060200180831161218657829003601f168201915b50505050506000612b5e565b5b6121bb826001612b5e565b816011600085815260200190815260200160002090805190602001906121e2929190613b47565b50827f355e6037a3f9c646870e44d77364164d02ab85580efdbb66363b503c3a25f5af836040516122139190614e19565b60405180910390a2505050565b606061222b82612534565b61226a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612261906150db565b60405180910390fd5b6000612274612e48565b9050600081511161229457604051806020016040528060008152506122bf565b8061229e84612eda565b6040516020016122af929190614d2f565b6040516020818303038152906040525b915050919050565b7f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a681565b6123046122f783610b09565b6122ff6125a0565b61139e565b612343576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161233a90614f7b565b60405180910390fd5b61234d8282612a7c565b5050565b60106020528060005260406000206000915090505481565b600e6020528060005260406000206000915090505481565b60606011600083815260200190815260200160002080546123a1906154f2565b80601f01602080910402602001604051908101604052809291908181526020018280546123cd906154f2565b801561241a5780601f106123ef5761010080835404028352916020019161241a565b820191906000526020600020905b8154815290600101906020018083116123fd57829003601f168201915b50505050509050919050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b60007f7965db0b000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061252d575061252c82613087565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff1661261b83611172565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600061266c82612534565b6126ab576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126a290614f5b565b60405180910390fd5b60006126b683611172565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16148061272557508373ffffffffffffffffffffffffffffffffffffffff1661270d846108bc565b73ffffffffffffffffffffffffffffffffffffffff16145b8061273657506127358185612426565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff1661275f82611172565b73ffffffffffffffffffffffffffffffffffffffff16146127b5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127ac906150bb565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612825576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161281c90614efb565b60405180910390fd5b612830838383613101565b61283b6000826125a8565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461288b91906153df565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546128e29190615321565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b6129a5828261139e565b612a78576001600a600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550612a1d6125a0565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45b5050565b612a86828261139e565b15612b5a576000600a600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550612aff6125a0565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b60405160405180910390a45b5050565b806013612b6a84611516565b604051612b779190614d18565b908152602001604051809103902060006101000a81548160ff0219169083151502179055505050565b6000612bab82611172565b9050612bb981600084613101565b612bc46000836125a8565b6001600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612c1491906153df565b925050819055506002600083815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff021916905581600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b612cb9613bcd565b6000612cc3613215565b90506000601c90506000828260ff1660208110612d09577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b1a60f81b60f81c60ff169050601d91505b601e8260ff161015612d9357600881901b9050828260ff1660208110612d69577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b1a60f81b60f81c60ff1681612d7e9190615321565b90508180612d8b9061556d565b925050612d1a565b601081901b9050612daf600c548261325590919063ffffffff16565b9050604051806040016040528082815260200184815250935050505090565b612de882826040518060200160405280600081525061326b565b5050565b612df784848461273f565b612e03848484846132c6565b612e42576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612e3990614e9b565b60405180910390fd5b50505050565b6060600d8054612e57906154f2565b80601f0160208091040260200160405190810160405280929190818152602001828054612e83906154f2565b8015612ed05780601f10612ea557610100808354040283529160200191612ed0565b820191906000526020600020905b815481529060010190602001808311612eb357829003601f168201915b5050505050905090565b60606000821415612f22576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050613082565b600082905060005b60008214612f54578080612f3d90615524565b915050600a82612f4d91906153ae565b9150612f2a565b60008167ffffffffffffffff811115612f96577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015612fc85781602001600182028036833780820191505090505b5090505b6000851461307b57600182612fe191906153df565b9150600a85612ff09190615597565b6030612ffc9190615321565b60f81b818381518110613038577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a8561307491906153ae565b9450612fcc565b8093505050505b919050565b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806130fa57506130f98261345d565b5b9050919050565b61310c83838361353f565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141561314f5761314a81613544565b61318e565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161461318d5761318c838261358d565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156131d1576131cc816136fa565b613210565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161461320f5761320e828261383d565b5b5b505050565b600060014361322491906153df565b41600b5460405160200161323a939291906151f6565b60405160208183030381529060405280519060200120905090565b600081836132639190615321565b905092915050565b61327583836138bc565b61328260008484846132c6565b6132c1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016132b890614e9b565b60405180910390fd5b505050565b60006132e78473ffffffffffffffffffffffffffffffffffffffff16613a8a565b15613450578373ffffffffffffffffffffffffffffffffffffffff1663150b7a026133106125a0565b8786866040518563ffffffff1660e01b81526004016133329493929190614d6e565b602060405180830381600087803b15801561334c57600080fd5b505af192505050801561337d57506040513d601f19601f8201168201806040525081019061337a9190613fc8565b60015b613400573d80600081146133ad576040519150601f19603f3d011682016040523d82523d6000602084013e6133b2565b606091505b506000815114156133f8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016133ef90614e9b565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050613455565b600190505b949350505050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061352857507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80613538575061353782613a9d565b5b9050919050565b505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b6000600161359a84611224565b6135a491906153df565b9050600060076000848152602001908152602001600020549050818114613689576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b6000600160088054905061370e91906153df565b9050600060096000848152602001908152602001600020549050600060088381548110613764577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9060005260206000200154905080600883815481106137ac577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b906000526020600020018190555081600960008381526020019081526020016000208190555060096000858152602001908152602001600020600090556008805480613821577f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b6001900381819060005260206000200160009055905550505050565b600061384883611224565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561392c576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016139239061501b565b60405180910390fd5b61393581612534565b15613975576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161396c90614edb565b60405180910390fd5b61398160008383613101565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546139d19190615321565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b600080823b905060008111915050919050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b508054613b13906154f2565b6000825580601f10613b255750613b44565b601f016020900490600052602060002090810190613b439190613bea565b5b50565b828054613b53906154f2565b90600052602060002090601f016020900481019282613b755760008555613bbc565b82601f10613b8e57805160ff1916838001178555613bbc565b82800160010185558215613bbc579182015b82811115613bbb578251825591602001919060010190613ba0565b5b509050613bc99190613bea565b5090565b604051806040016040528060008152602001600080191681525090565b5b80821115613c03576000816000905550600101613beb565b5090565b6000613c1a613c158461525e565b61522d565b905082815260208101848484011115613c3257600080fd5b613c3d8482856154b0565b509392505050565b6000613c58613c538461528e565b61522d565b905082815260208101848484011115613c7057600080fd5b613c7b8482856154b0565b509392505050565b600081359050613c9281615695565b92915050565b600081359050613ca7816156ac565b92915050565b600081359050613cbc816156c3565b92915050565b600081519050613cd1816156c3565b92915050565b600081359050613ce6816156da565b92915050565b600081519050613cfb816156da565b92915050565b600082601f830112613d1257600080fd5b8135613d22848260208601613c07565b91505092915050565b600082601f830112613d3c57600080fd5b8135613d4c848260208601613c45565b91505092915050565b600081359050613d64816156f1565b92915050565b600060208284031215613d7c57600080fd5b6000613d8a84828501613c83565b91505092915050565b60008060408385031215613da657600080fd5b6000613db485828601613c83565b9250506020613dc585828601613c83565b9150509250929050565b600080600060608486031215613de457600080fd5b6000613df286828701613c83565b9350506020613e0386828701613c83565b9250506040613e1486828701613d55565b9150509250925092565b60008060008060808587031215613e3457600080fd5b6000613e4287828801613c83565b9450506020613e5387828801613c83565b9350506040613e6487828801613d55565b925050606085013567ffffffffffffffff811115613e8157600080fd5b613e8d87828801613d01565b91505092959194509250565b60008060408385031215613eac57600080fd5b6000613eba85828601613c83565b9250506020613ecb85828601613c98565b9150509250929050565b60008060408385031215613ee857600080fd5b6000613ef685828601613c83565b9250506020613f0785828601613d55565b9150509250929050565b600060208284031215613f2357600080fd5b6000613f3184828501613cad565b91505092915050565b600060208284031215613f4c57600080fd5b6000613f5a84828501613cc2565b91505092915050565b60008060408385031215613f7657600080fd5b6000613f8485828601613cad565b9250506020613f9585828601613c83565b9150509250929050565b600060208284031215613fb157600080fd5b6000613fbf84828501613cd7565b91505092915050565b600060208284031215613fda57600080fd5b6000613fe884828501613cec565b91505092915050565b60006020828403121561400357600080fd5b600082013567ffffffffffffffff81111561401d57600080fd5b61402984828501613d2b565b91505092915050565b60006020828403121561404457600080fd5b600061405284828501613d55565b91505092915050565b6000806040838503121561406e57600080fd5b600061407c85828601613d55565b925050602083013567ffffffffffffffff81111561409957600080fd5b6140a585828601613d2b565b9150509250929050565b600080604083850312156140c257600080fd5b60006140d085828601613d55565b92505060206140e185828601613d55565b9150509250929050565b60008060006060848603121561410057600080fd5b600061410e86828701613d55565b935050602061411f86828701613d55565b925050604061413086828701613c83565b9150509250925092565b61414381615425565b82525050565b61415281615413565b82525050565b61416181615437565b82525050565b61417081615443565b82525050565b6000614181826152d3565b61418b81856152e9565b935061419b8185602086016154bf565b6141a481615684565b840191505092915050565b60006141ba826152d3565b6141c481856152fa565b93506141d48185602086016154bf565b80840191505092915050565b600081546141ed816154f2565b6141f781866152fa565b94506001821660008114614212576001811461422357614256565b60ff19831686528186019350614256565b61422c856152be565b60005b8381101561424e5781548189015260018201915060208101905061422f565b838801955050505b50505092915050565b600061426a826152de565b6142748185615305565b93506142848185602086016154bf565b61428d81615684565b840191505092915050565b60006142a3826152de565b6142ad8185615316565b93506142bd8185602086016154bf565b80840191505092915050565b60006142d6602f83615305565b91507f416363657373436f6e74726f6c3a2073656e646572206d75737420626520616e60008301527f2061646d696e20746f206772616e7400000000000000000000000000000000006020830152604082019050919050565b600061433c601f83615305565b91507f4552433732313a2063616c6c6572206973206e6f7420746865206f776e6572006000830152602082019050919050565b600061437c602b83615305565b91507f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008301527f74206f6620626f756e64730000000000000000000000000000000000000000006020830152604082019050919050565b60006143e2603283615305565b91507f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008301527f63656976657220696d706c656d656e74657200000000000000000000000000006020830152604082019050919050565b6000614448602683615305565b91507f4d617820636f6e7374656c6c6174696f6e2073697a6520776f756c642062652060008301527f62726f6b656e00000000000000000000000000000000000000000000000000006020830152604082019050919050565b60006144ae601c83615305565b91507f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006000830152602082019050919050565b60006144ee602483615305565b91507f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008301527f72657373000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000614554601983615305565b91507f4552433732313a20617070726f766520746f2063616c6c6572000000000000006000830152602082019050919050565b6000614594602a83615305565b91507f546f6b656e2073686f756c642068617665206174206c65617374203120436f6e60008301527f7374656c6c6174696f6e000000000000000000000000000000000000000000006020830152604082019050919050565b60006145fa602c83615305565b91507f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008301527f697374656e7420746f6b656e00000000000000000000000000000000000000006020830152604082019050919050565b6000614660603083615305565b91507f416363657373436f6e74726f6c3a2073656e646572206d75737420626520616e60008301527f2061646d696e20746f207265766f6b65000000000000000000000000000000006020830152604082019050919050565b60006146c6603883615305565b91507f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008301527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006020830152604082019050919050565b600061472c601683615305565b91507f43616c6c6572206973206e6f742061206d696e746572000000000000000000006000830152602082019050919050565b600061476c602a83615305565b91507f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008301527f726f2061646472657373000000000000000000000000000000000000000000006020830152604082019050919050565b60006147d2602983615305565b91507f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008301527f656e7420746f6b656e00000000000000000000000000000000000000000000006020830152604082019050919050565b6000614838602083615305565b91507f4552433732313a206d696e7420746f20746865207a65726f20616464726573736000830152602082019050919050565b6000614878601383615305565b91507f43616e6e6f742073656c662075706772616465000000000000000000000000006000830152602082019050919050565b60006148b8601783615305565b91507f546f74616c206d696e74206c696d6974206973203530300000000000000000006000830152602082019050919050565b60006148f8601583615305565b91507f4e616d6520616c726561647920726573657276656400000000000000000000006000830152602082019050919050565b6000614938602c83615305565b91507f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008301527f697374656e7420746f6b656e00000000000000000000000000000000000000006020830152604082019050919050565b600061499e602983615305565b91507f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008301527f73206e6f74206f776e00000000000000000000000000000000000000000000006020830152604082019050919050565b6000614a04602f83615305565b91507f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008301527f6e6578697374656e7420746f6b656e00000000000000000000000000000000006020830152604082019050919050565b6000614a6a602383615305565b91507f4e6577206e616d652069732073616d65206173207468652063757272656e742060008301527f6f6e6500000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000614ad0602183615305565b91507f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008301527f72000000000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000614b36601383615305565b91507f43616c6c6572206973206e6f742061646d696e000000000000000000000000006000830152602082019050919050565b6000614b76603183615305565b91507f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008301527f776e6572206e6f7220617070726f7665640000000000000000000000000000006020830152604082019050919050565b6000614bdc602c83615305565b91507f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008301527f7574206f6620626f756e647300000000000000000000000000000000000000006020830152604082019050919050565b6000614c42601483615305565b91507f4e6f7420612076616c6964206e6577206e616d650000000000000000000000006000830152602082019050919050565b6000614c82602f83615305565b91507f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560008301527f20726f6c657320666f722073656c6600000000000000000000000000000000006020830152604082019050919050565b614ce481615499565b82525050565b6000614cf682846141af565b915081905092915050565b6000614d0d82846141e0565b915081905092915050565b6000614d248284614298565b915081905092915050565b6000614d3b8285614298565b9150614d478284614298565b91508190509392505050565b6000602082019050614d686000830184614149565b92915050565b6000608082019050614d836000830187614149565b614d906020830186614149565b614d9d6040830185614cdb565b8181036060830152614daf8184614176565b905095945050505050565b6000604082019050614dcf6000830185614149565b614ddc6020830184614cdb565b9392505050565b6000602082019050614df86000830184614158565b92915050565b6000602082019050614e136000830184614167565b92915050565b60006020820190508181036000830152614e33818461425f565b905092915050565b60006020820190508181036000830152614e54816142c9565b9050919050565b60006020820190508181036000830152614e748161432f565b9050919050565b60006020820190508181036000830152614e948161436f565b9050919050565b60006020820190508181036000830152614eb4816143d5565b9050919050565b60006020820190508181036000830152614ed48161443b565b9050919050565b60006020820190508181036000830152614ef4816144a1565b9050919050565b60006020820190508181036000830152614f14816144e1565b9050919050565b60006020820190508181036000830152614f3481614547565b9050919050565b60006020820190508181036000830152614f5481614587565b9050919050565b60006020820190508181036000830152614f74816145ed565b9050919050565b60006020820190508181036000830152614f9481614653565b9050919050565b60006020820190508181036000830152614fb4816146b9565b9050919050565b60006020820190508181036000830152614fd48161471f565b9050919050565b60006020820190508181036000830152614ff48161475f565b9050919050565b60006020820190508181036000830152615014816147c5565b9050919050565b600060208201905081810360008301526150348161482b565b9050919050565b600060208201905081810360008301526150548161486b565b9050919050565b60006020820190508181036000830152615074816148ab565b9050919050565b60006020820190508181036000830152615094816148eb565b9050919050565b600060208201905081810360008301526150b48161492b565b9050919050565b600060208201905081810360008301526150d481614991565b9050919050565b600060208201905081810360008301526150f4816149f7565b9050919050565b6000602082019050818103600083015261511481614a5d565b9050919050565b6000602082019050818103600083015261513481614ac3565b9050919050565b6000602082019050818103600083015261515481614b29565b9050919050565b6000602082019050818103600083015261517481614b69565b9050919050565b6000602082019050818103600083015261519481614bcf565b9050919050565b600060208201905081810360008301526151b481614c35565b9050919050565b600060208201905081810360008301526151d481614c75565b9050919050565b60006020820190506151f06000830184614cdb565b92915050565b600060608201905061520b6000830186614cdb565b615218602083018561413a565b6152256040830184614cdb565b949350505050565b6000604051905081810181811067ffffffffffffffff8211171561525457615253615655565b5b8060405250919050565b600067ffffffffffffffff82111561527957615278615655565b5b601f19601f8301169050602081019050919050565b600067ffffffffffffffff8211156152a9576152a8615655565b5b601f19601f8301169050602081019050919050565b60008190508160005260206000209050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b600081905092915050565b600061532c82615499565b915061533783615499565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561536c5761536b6155c8565b5b828201905092915050565b6000615382826154a3565b915061538d836154a3565b92508260ff038211156153a3576153a26155c8565b5b828201905092915050565b60006153b982615499565b91506153c483615499565b9250826153d4576153d36155f7565b5b828204905092915050565b60006153ea82615499565b91506153f583615499565b925082821015615408576154076155c8565b5b828203905092915050565b600061541e82615479565b9050919050565b600061543082615479565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600060ff82169050919050565b82818337600083830152505050565b60005b838110156154dd5780820151818401526020810190506154c2565b838111156154ec576000848401525b50505050565b6000600282049050600182168061550a57607f821691505b6020821081141561551e5761551d615626565b5b50919050565b600061552f82615499565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415615562576155616155c8565b5b600182019050919050565b6000615578826154a3565b915060ff82141561558c5761558b6155c8565b5b600182019050919050565b60006155a282615499565b91506155ad83615499565b9250826155bd576155bc6155f7565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b61569e81615413565b81146156a957600080fd5b50565b6156b581615437565b81146156c057600080fd5b50565b6156cc81615443565b81146156d757600080fd5b50565b6156e38161544d565b81146156ee57600080fd5b50565b6156fa81615499565b811461570557600080fd5b5056fea2646970667358221220f3770c246d446691bfbefbf8ca844a877a9591014d1b56074e226fa29b258fa664736f6c63430008000033

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

0000000000000000000000003232332feaa9a31b4ebbf49c607fbd4dba4ad32d0000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000001f68747470733a2f2f636f6e74656e742e70756c737175617265732e6172742f00

-----Decoded View---------------
Arg [0] : adminAddress (address): 0x3232332FEaA9A31B4eBBf49c607fbd4DBa4aD32d
Arg [1] : baseURI (string): https://content.pulsquares.art/

-----Encoded View---------------
4 Constructor Arguments found :
Arg [0] : 0000000000000000000000003232332feaa9a31b4ebbf49c607fbd4dba4ad32d
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000040
Arg [2] : 000000000000000000000000000000000000000000000000000000000000001f
Arg [3] : 68747470733a2f2f636f6e74656e742e70756c737175617265732e6172742f00


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

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