ETH Price: $3,162.92 (+3.29%)

Contract

0xDA1c1530821EFc8835f5F9602394F07C8486d1f4
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
0x60806040135870162021-11-10 6:58:311104 days ago1636527511IN
 Create: Phongz
0 ETH0.63808647118.83179791

View more zero value Internal Transactions in Advanced View mode

Advanced mode:
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
Phongz

Compiler Version
v0.8.2+commit.661d1103

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 15 : Phongz.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.2;

import "@openzeppelin/contracts-upgradeable/token/ERC721/ERC721Upgradeable.sol";
import "@openzeppelin/contracts-upgradeable/token/ERC721/extensions/ERC721BurnableUpgradeable.sol";
import "@openzeppelin/contracts-upgradeable/access/AccessControlUpgradeable.sol";
import "@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol";
import "@openzeppelin/contracts-upgradeable/utils/CountersUpgradeable.sol";

interface IPhanana {
    function mint(address to, uint256 amount) external;
    function transferFrom(
        address sender,
        address recipient,
        uint256 amount
    ) external;
}

contract Phongz is Initializable, ERC721Upgradeable, ERC721BurnableUpgradeable, AccessControlUpgradeable {
    using CountersUpgradeable for CountersUpgradeable.Counter;
    
    bytes32 public constant MINTER_ROLE = keccak256("MINTER_ROLE");
    
    string _baseUri;
    uint public constant TOTAL_SUPPLY = 1000;
    uint public price;
    bool public isSalesStarted;
    IPhanana public phanana;
    uint public nameChangePrice;
    
    mapping(uint256 => string) public bio;
	mapping (uint256 => string) private _tokenName;
	mapping (string => bool) private _nameReserved;
	
	event NameChange (uint256 indexed tokenId, string newName);
	event BioChange (uint256 indexed tokenId, string bio);

    CountersUpgradeable.Counter private _tokenIdCounter;

    /// @custom:oz-upgrades-unsafe-allow constructor
    constructor() initializer {
        _setupRole(DEFAULT_ADMIN_ROLE, _msgSender());
        _setupRole(MINTER_ROLE, _msgSender());
    }

    function initialize() initializer public {
        __ERC721_init("Phongz", "PHONGZ");
        __ERC721Burnable_init();
        __AccessControl_init();
        _setupRole(DEFAULT_ADMIN_ROLE, _msgSender());
        _setupRole(MINTER_ROLE, _msgSender());
        price = 0;
        phanana = IPhanana(0xC4aAB23706295Ff5e14b81aD5f8B5Ad6f382682E);
        nameChangePrice = 300 ether;
        isSalesStarted = false;
    }

    function _baseURI() internal view override returns (string memory) {
        return _baseUri;
    }
    
    function _mintNfts(address receiver, uint quantity) internal {
        require(totalSupply() + quantity <= TOTAL_SUPPLY, "sold out");
        
        for (uint i = 0; i < quantity; i++) {
            _safeMint(receiver, _tokenIdCounter.current()+1);
            _tokenIdCounter.increment();
        }
    }

    function safeMint(address to, uint quantity) public onlyRole(MINTER_ROLE) {
        _mintNfts(to, quantity);
    }
    
    function mint(uint quantity) public payable {
        require(isSalesStarted, "sales not started");
        require(quantity <= 3, "only 3 per transaction");
        require(msg.value >= price * quantity, "ether value sent is below the price");
        
        phanana.mint(msg.sender, 69 ether);
        
        _mintNfts(msg.sender, quantity);
    }
    
    function changeBio(uint256 _tokenId, string memory _bio) public {
        phanana.transferFrom(msg.sender, address(this), nameChangePrice);
		address owner = ownerOf(_tokenId);
		require(_msgSender() == owner, "ERC721: caller is not the owner");
		bio[_tokenId] = _bio;
		emit BioChange(_tokenId, _bio); 
	}
	
	function changeName(uint256 tokenId, string memory newName) public {
	    phanana.transferFrom(msg.sender, address(this), nameChangePrice);
		address owner = ownerOf(tokenId);
		require(_msgSender() == owner, "ERC721: caller is not the owner");
		require(validateName(newName) == true, "Not a valid new name");
		require(sha256(bytes(newName)) != sha256(bytes(_tokenName[tokenId])), "New name is same as the current one");
		require(isNameReserved(newName) == false, "Name already reserved");
		// If already named, dereserve old name
		if (bytes(_tokenName[tokenId]).length > 0) {
			toggleReserveName(_tokenName[tokenId], false);
		}
		toggleReserveName(newName, true);
		_tokenName[tokenId] = newName;
		emit NameChange(tokenId, newName);
	}
    	
	function setBaseURI(string memory newURI) public onlyRole(DEFAULT_ADMIN_ROLE) {
		_baseUri = newURI;
	}
	
	function changeNamePrice(uint256 _price) external onlyRole(DEFAULT_ADMIN_ROLE) {
		nameChangePrice = _price;
	}
	
	function setPrice(uint newPrice) public onlyRole(DEFAULT_ADMIN_ROLE) {
	    price = newPrice;
	}
	
	function toggleSales() public onlyRole(DEFAULT_ADMIN_ROLE) {
	    isSalesStarted = !isSalesStarted;
	}
	
	function totalSupply() public view returns (uint) {
	    return _tokenIdCounter.current();
	}
	
	function toggleReserveName(string memory str, bool isReserve) public onlyRole(DEFAULT_ADMIN_ROLE) {
		_nameReserved[toLower(str)] = isReserve;
	}
	
	function tokenNameByIndex(uint256 index) public view returns (string memory) {
		return _tokenName[index];
	}
	
	function isNameReserved(string memory nameString) public view returns (bool) {
		return _nameReserved[toLower(nameString)];
	}
	
	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 withdrawAll() public onlyRole(DEFAULT_ADMIN_ROLE) {
        require(payable(msg.sender).send(address(this).balance));
    }
	
	function supportsInterface(bytes4 interfaceId)
        public
        view
        override(ERC721Upgradeable, AccessControlUpgradeable)
        returns (bool)
    {
        return super.supportsInterface(interfaceId);
    }
}

File 2 of 15 : ERC721Upgradeable.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "./IERC721Upgradeable.sol";
import "./IERC721ReceiverUpgradeable.sol";
import "./extensions/IERC721MetadataUpgradeable.sol";
import "../../utils/AddressUpgradeable.sol";
import "../../utils/ContextUpgradeable.sol";
import "../../utils/StringsUpgradeable.sol";
import "../../utils/introspection/ERC165Upgradeable.sol";
import "../../proxy/utils/Initializable.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 ERC721Upgradeable is Initializable, ContextUpgradeable, ERC165Upgradeable, IERC721Upgradeable, IERC721MetadataUpgradeable {
    using AddressUpgradeable for address;
    using StringsUpgradeable 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.
     */
    function __ERC721_init(string memory name_, string memory symbol_) internal initializer {
        __Context_init_unchained();
        __ERC165_init_unchained();
        __ERC721_init_unchained(name_, symbol_);
    }

    function __ERC721_init_unchained(string memory name_, string memory symbol_) internal initializer {
        _name = name_;
        _symbol = symbol_;
    }

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

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

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

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

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

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

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

    /**
     * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each
     * token will be the concatenation of the `baseURI` and the `tokenId`. Empty
     * by default, can be 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 = ERC721Upgradeable.ownerOf(tokenId);
        require(to != owner, "ERC721: approval to current owner");

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

        _approve(to, tokenId);
    }

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

        return _tokenApprovals[tokenId];
    }

    /**
     * @dev See {IERC721-setApprovalForAll}.
     */
    function setApprovalForAll(address operator, bool approved) public virtual override {
        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 = ERC721Upgradeable.ownerOf(tokenId);
        return (spender == owner || getApproved(tokenId) == spender || 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 = ERC721Upgradeable.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(ERC721Upgradeable.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(ERC721Upgradeable.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 IERC721ReceiverUpgradeable(to).onERC721Received(_msgSender(), from, tokenId, _data) returns (bytes4 retval) {
                return retval == IERC721ReceiverUpgradeable.onERC721Received.selector;
            } catch (bytes memory reason) {
                if (reason.length == 0) {
                    revert("ERC721: transfer to non ERC721Receiver implementer");
                } else {
                    assembly {
                        revert(add(32, reason), mload(reason))
                    }
                }
            }
        } else {
            return true;
        }
    }

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

File 3 of 15 : ERC721BurnableUpgradeable.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "../ERC721Upgradeable.sol";
import "../../../utils/ContextUpgradeable.sol";
import "../../../proxy/utils/Initializable.sol";

/**
 * @title ERC721 Burnable Token
 * @dev ERC721 Token that can be irreversibly burned (destroyed).
 */
abstract contract ERC721BurnableUpgradeable is Initializable, ContextUpgradeable, ERC721Upgradeable {
    function __ERC721Burnable_init() internal initializer {
        __Context_init_unchained();
        __ERC165_init_unchained();
        __ERC721Burnable_init_unchained();
    }

    function __ERC721Burnable_init_unchained() internal initializer {
    }
    /**
     * @dev Burns `tokenId`. See {ERC721-_burn}.
     *
     * Requirements:
     *
     * - The caller must own `tokenId` or be an approved operator.
     */
    function burn(uint256 tokenId) public virtual {
        //solhint-disable-next-line max-line-length
        require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721Burnable: caller is not owner nor approved");
        _burn(tokenId);
    }
    uint256[50] private __gap;
}

File 4 of 15 : AccessControlUpgradeable.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "./IAccessControlUpgradeable.sol";
import "../utils/ContextUpgradeable.sol";
import "../utils/StringsUpgradeable.sol";
import "../utils/introspection/ERC165Upgradeable.sol";
import "../proxy/utils/Initializable.sol";

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

    function __AccessControl_init_unchained() internal initializer {
    }
    struct RoleData {
        mapping(address => bool) members;
        bytes32 adminRole;
    }

    mapping(bytes32 => RoleData) private _roles;

    bytes32 public constant DEFAULT_ADMIN_ROLE = 0x00;

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

    /**
     * @dev See {IERC165-supportsInterface}.
     */
    function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
        return interfaceId == type(IAccessControlUpgradeable).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 Revert with a standard message if `account` is missing `role`.
     *
     * The format of the revert reason is given by the following regular expression:
     *
     *  /^AccessControl: account (0x[0-9a-f]{40}) is missing role (0x[0-9a-f]{64})$/
     */
    function _checkRole(bytes32 role, address account) internal view {
        if (!hasRole(role, account)) {
            revert(
                string(
                    abi.encodePacked(
                        "AccessControl: account ",
                        StringsUpgradeable.toHexString(uint160(account), 20),
                        " is missing role ",
                        StringsUpgradeable.toHexString(uint256(role), 32)
                    )
                )
            );
        }
    }

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

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

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

    /**
     * @dev Revokes `role` from the calling account.
     *
     * Roles are often managed via {grantRole} and {revokeRole}: this function's
     * purpose is to provide a mechanism for accounts to lose their privileges
     * if they are compromised (such as when a trusted device is misplaced).
     *
     * If the calling account had been 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 {
        bytes32 previousAdminRole = getRoleAdmin(role);
        _roles[role].adminRole = adminRole;
        emit RoleAdminChanged(role, previousAdminRole, 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());
        }
    }
    uint256[49] private __gap;
}

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

pragma solidity ^0.8.0;

/**
 * @dev This is a base contract to aid in writing upgradeable contracts, or any kind of contract that will be deployed
 * behind a proxy. Since a proxied contract can't have a constructor, it's common to move constructor logic to an
 * external initializer function, usually called `initialize`. It then becomes necessary to protect this initializer
 * function so it can only be called once. The {initializer} modifier provided by this contract will have this effect.
 *
 * TIP: To avoid leaving the proxy in an uninitialized state, the initializer function should be called as early as
 * possible by providing the encoded function call as the `_data` argument to {ERC1967Proxy-constructor}.
 *
 * CAUTION: When used with inheritance, manual care must be taken to not invoke a parent initializer twice, or to ensure
 * that all initializers are idempotent. This is not verified automatically as constructors are by Solidity.
 */
abstract contract Initializable {
    /**
     * @dev Indicates that the contract has been initialized.
     */
    bool private _initialized;

    /**
     * @dev Indicates that the contract is in the process of being initialized.
     */
    bool private _initializing;

    /**
     * @dev Modifier to protect an initializer function from being invoked twice.
     */
    modifier initializer() {
        require(_initializing || !_initialized, "Initializable: contract is already initialized");

        bool isTopLevelCall = !_initializing;
        if (isTopLevelCall) {
            _initializing = true;
            _initialized = true;
        }

        _;

        if (isTopLevelCall) {
            _initializing = false;
        }
    }
}

File 6 of 15 : CountersUpgradeable.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

/**
 * @title Counters
 * @author Matt Condon (@shrugs)
 * @dev Provides counters that can only be incremented, decremented or reset. This can be used e.g. to track the number
 * of elements in a mapping, issuing ERC721 ids, or counting request ids.
 *
 * Include with `using Counters for Counters.Counter;`
 */
library CountersUpgradeable {
    struct Counter {
        // This variable should never be directly accessed by users of the library: interactions must be restricted to
        // the library's function. As of Solidity v0.5.2, this cannot be enforced, though there is a proposal to add
        // this feature: see https://github.com/ethereum/solidity/issues/4637
        uint256 _value; // default: 0
    }

    function current(Counter storage counter) internal view returns (uint256) {
        return counter._value;
    }

    function increment(Counter storage counter) internal {
        unchecked {
            counter._value += 1;
        }
    }

    function decrement(Counter storage counter) internal {
        uint256 value = counter._value;
        require(value > 0, "Counter: decrement overflow");
        unchecked {
            counter._value = value - 1;
        }
    }

    function reset(Counter storage counter) internal {
        counter._value = 0;
    }
}

File 7 of 15 : IERC721Upgradeable.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

/**
 * @dev Required interface of an ERC721 compliant contract.
 */
interface IERC721Upgradeable is IERC165Upgradeable {
    /**
     * @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 15 : IERC721ReceiverUpgradeable.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 IERC721ReceiverUpgradeable {
    /**
     * @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 15 : IERC721MetadataUpgradeable.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "../IERC721Upgradeable.sol";

/**
 * @title ERC-721 Non-Fungible Token Standard, optional metadata extension
 * @dev See https://eips.ethereum.org/EIPS/eip-721
 */
interface IERC721MetadataUpgradeable is IERC721Upgradeable {
    /**
     * @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 15 : AddressUpgradeable.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

/**
 * @dev Collection of functions related to the address type
 */
library AddressUpgradeable {
    /**
     * @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;
        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");

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

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

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

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

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

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

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

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

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

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

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

File 11 of 15 : ContextUpgradeable.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;
import "../proxy/utils/Initializable.sol";

/**
 * @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 ContextUpgradeable is Initializable {
    function __Context_init() internal initializer {
        __Context_init_unchained();
    }

    function __Context_init_unchained() internal initializer {
    }
    function _msgSender() internal view virtual returns (address) {
        return msg.sender;
    }

    function _msgData() internal view virtual returns (bytes calldata) {
        return msg.data;
    }
    uint256[50] private __gap;
}

File 12 of 15 : StringsUpgradeable.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

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

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

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

File 13 of 15 : ERC165Upgradeable.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "./IERC165Upgradeable.sol";
import "../../proxy/utils/Initializable.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 ERC165Upgradeable is Initializable, IERC165Upgradeable {
    function __ERC165_init() internal initializer {
        __ERC165_init_unchained();
    }

    function __ERC165_init_unchained() internal initializer {
    }
    /**
     * @dev See {IERC165-supportsInterface}.
     */
    function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
        return interfaceId == type(IERC165Upgradeable).interfaceId;
    }
    uint256[50] private __gap;
}

File 14 of 15 : IERC165Upgradeable.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 IERC165Upgradeable {
    /**
     * @dev Returns true if this contract implements the interface defined by
     * `interfaceId`. See the corresponding
     * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section]
     * to learn more about how these ids are created.
     *
     * This function call must use less than 30 000 gas.
     */
    function supportsInterface(bytes4 interfaceId) external view returns (bool);
}

File 15 of 15 : IAccessControlUpgradeable.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"},{"indexed":false,"internalType":"string","name":"bio","type":"string"}],"name":"BioChange","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"},{"indexed":false,"internalType":"string","name":"newName","type":"string"}],"name":"NameChange","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":"TOTAL_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"bio","outputs":[{"internalType":"string","name":"","type":"string"}],"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":"_bio","type":"string"}],"name":"changeBio","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":"_price","type":"uint256"}],"name":"changeNamePrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"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":[],"name":"initialize","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"string","name":"nameString","type":"string"}],"name":"isNameReserved","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isSalesStarted","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"quantity","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"nameChangePrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"phanana","outputs":[{"internalType":"contract IPhanana","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"price","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":"to","type":"address"},{"internalType":"uint256","name":"quantity","type":"uint256"}],"name":"safeMint","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":"newURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newPrice","type":"uint256"}],"name":"setPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"string","name":"str","type":"string"}],"name":"toLower","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"string","name":"str","type":"string"},{"internalType":"bool","name":"isReserve","type":"bool"}],"name":"toggleReserveName","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"toggleSales","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenNameByIndex","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"str","type":"string"}],"name":"validateName","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"pure","type":"function"},{"inputs":[],"name":"withdrawAll","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60806040523480156200001157600080fd5b50600060019054906101000a900460ff168062000039575060008054906101000a900460ff16155b6200007b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016200007290620002fc565b60405180910390fd5b60008060019054906101000a900460ff161590508015620000cc576001600060016101000a81548160ff02191690831515021790555060016000806101000a81548160ff0219169083151502179055505b620000f06000801b620000e46200015a60201b60201c565b6200016260201b60201c565b620001317f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a6620001256200015a60201b60201c565b6200016260201b60201c565b8015620001535760008060016101000a81548160ff0219169083151502179055505b506200037e565b600033905090565b6200017482826200017860201b60201c565b5050565b6200018a82826200026a60201b60201c565b6200026657600160c9600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055506200020b6200015a60201b60201c565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45b5050565b600060c9600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6000620002e4602e836200031e565b9150620002f1826200032f565b604082019050919050565b600060208201905081810360008301526200031781620002d5565b9050919050565b600082825260208201905092915050565b7f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160008201527f647920696e697469616c697a6564000000000000000000000000000000000000602082015250565b615f2d806200038e6000396000f3fe60806040526004361061025c5760003560e01c8063902d55a511610144578063b88d4fde116100b6578063d53913931161007a578063d53913931461091d578063d547741f14610948578063db18543614610971578063dbd30ae01461099a578063e985e9c5146109b1578063f1532cc1146109ee5761025c565b8063b88d4fde1461083a578063bc0833ca14610863578063c39cbef11461088e578063c87b56dd146108b7578063cc371bf3146108f45761025c565b80639ffdb65a116101085780639ffdb65a14610739578063a035b1fe14610776578063a0712d68146107a1578063a1448194146107bd578063a217fddf146107e6578063a22cb465146108115761025c565b8063902d55a51461064057806391b7f5ed1461066b57806391d14854146106945780639416b423146106d157806395d89b411461070e5761025c565b806336568abe116101dd57806355f804b3116101a157806355f804b3146105325780636352211e1461055b5780636d5224181461059857806370a08231146105d55780638129fc1c14610612578063853828b6146106295761025c565b806336568abe1461046357806342842e0e1461048c57806342966c68146104b557806345ca7738146104de5780634d426528146105095761025c565b806318160ddd1161022457806318160ddd1461036c57806323b872dd14610397578063248a9ca3146103c05780632f2ff15d146103fd57806336033deb146104265761025c565b806301ffc9a71461026157806306fdde031461029e578063081812fc146102c9578063095ea7b31461030657806315b56d101461032f575b600080fd5b34801561026d57600080fd5b506102886004803603810190610283919061467e565b610a19565b6040516102959190614ecd565b60405180910390f35b3480156102aa57600080fd5b506102b3610a2b565b6040516102c09190614f1e565b60405180910390f35b3480156102d557600080fd5b506102f060048036038101906102eb9190614765565b610abd565b6040516102fd9190614e06565b60405180910390f35b34801561031257600080fd5b5061032d600480360381019061032891906145b4565b610b42565b005b34801561033b57600080fd5b50610356600480360381019061035191906146d0565b610c5a565b6040516103639190614ecd565b60405180910390f35b34801561037857600080fd5b50610381610c98565b60405161038e9190615280565b60405180910390f35b3480156103a357600080fd5b506103be60048036038101906103b991906144ae565b610caa565b005b3480156103cc57600080fd5b506103e760048036038101906103e291906145f0565b610d0a565b6040516103f49190614ee8565b60405180910390f35b34801561040957600080fd5b50610424600480360381019061041f9190614642565b610d2a565b005b34801561043257600080fd5b5061044d60048036038101906104489190614765565b610d53565b60405161045a9190614f1e565b60405180910390f35b34801561046f57600080fd5b5061048a60048036038101906104859190614642565b610df3565b005b34801561049857600080fd5b506104b360048036038101906104ae91906144ae565b610e76565b005b3480156104c157600080fd5b506104dc60048036038101906104d79190614765565b610e96565b005b3480156104ea57600080fd5b506104f3610ef2565b6040516105009190615280565b60405180910390f35b34801561051557600080fd5b50610530600480360381019061052b919061478e565b610ef8565b005b34801561053e57600080fd5b50610559600480360381019061055491906146d0565b611072565b005b34801561056757600080fd5b50610582600480360381019061057d9190614765565b6110a2565b60405161058f9190614e06565b60405180910390f35b3480156105a457600080fd5b506105bf60048036038101906105ba9190614765565b611154565b6040516105cc9190614f1e565b60405180910390f35b3480156105e157600080fd5b506105fc60048036038101906105f79190614449565b6111fa565b6040516106099190615280565b60405180910390f35b34801561061e57600080fd5b506106276112b2565b005b34801561063557600080fd5b5061063e6114dc565b005b34801561064c57600080fd5b50610655611532565b6040516106629190615280565b60405180910390f35b34801561067757600080fd5b50610692600480360381019061068d9190614765565b611538565b005b3480156106a057600080fd5b506106bb60048036038101906106b69190614642565b611558565b6040516106c89190614ecd565b60405180910390f35b3480156106dd57600080fd5b506106f860048036038101906106f391906146d0565b6115c3565b6040516107059190614f1e565b60405180910390f35b34801561071a57600080fd5b50610723611885565b6040516107309190614f1e565b60405180910390f35b34801561074557600080fd5b50610760600480360381019061075b91906146d0565b611917565b60405161076d9190614ecd565b60405180910390f35b34801561078257600080fd5b5061078b611ce1565b6040516107989190615280565b60405180910390f35b6107bb60048036038101906107b69190614765565b611ce7565b005b3480156107c957600080fd5b506107e460048036038101906107df91906145b4565b611e6f565b005b3480156107f257600080fd5b506107fb611eb0565b6040516108089190614ee8565b60405180910390f35b34801561081d57600080fd5b5061083860048036038101906108339190614578565b611eb7565b005b34801561084657600080fd5b50610861600480360381019061085c91906144fd565b612038565b005b34801561086f57600080fd5b5061087861209a565b6040516108859190614ecd565b60405180910390f35b34801561089a57600080fd5b506108b560048036038101906108b0919061478e565b6120ad565b005b3480156108c357600080fd5b506108de60048036038101906108d99190614765565b612496565b6040516108eb9190614f1e565b60405180910390f35b34801561090057600080fd5b5061091b60048036038101906109169190614765565b61253d565b005b34801561092957600080fd5b5061093261255d565b60405161093f9190614ee8565b60405180910390f35b34801561095457600080fd5b5061096f600480360381019061096a9190614642565b612581565b005b34801561097d57600080fd5b5061099860048036038101906109939190614711565b6125aa565b005b3480156109a657600080fd5b506109af612603565b005b3480156109bd57600080fd5b506109d860048036038101906109d39190614472565b612645565b6040516109e59190614ecd565b60405180910390f35b3480156109fa57600080fd5b50610a036126d9565b604051610a109190614f03565b60405180910390f35b6000610a24826126ff565b9050919050565b606060658054610a3a906155fe565b80601f0160208091040260200160405190810160405280929190818152602001828054610a66906155fe565b8015610ab35780601f10610a8857610100808354040283529160200191610ab3565b820191906000526020600020905b815481529060010190602001808311610a9657829003601f168201915b5050505050905090565b6000610ac882612779565b610b07576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610afe90615140565b60405180910390fd5b6069600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610b4d826110a2565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610bbe576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bb5906151c0565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610bdd6127e5565b73ffffffffffffffffffffffffffffffffffffffff161480610c0c5750610c0b81610c066127e5565b612645565b5b610c4b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c4290615080565b60405180910390fd5b610c5583836127ed565b505050565b6000610101610c68836115c3565b604051610c759190614d91565b908152602001604051809103902060009054906101000a900460ff169050919050565b6000610ca56101026128a6565b905090565b610cbb610cb56127e5565b826128b4565b610cfa576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cf1906151e0565b60405180910390fd5b610d05838383612992565b505050565b600060c96000838152602001908152602001600020600101549050919050565b610d3382610d0a565b610d4481610d3f6127e5565b612bee565b610d4e8383612c8b565b505050565b60ff6020528060005260406000206000915090508054610d72906155fe565b80601f0160208091040260200160405190810160405280929190818152602001828054610d9e906155fe565b8015610deb5780601f10610dc057610100808354040283529160200191610deb565b820191906000526020600020905b815481529060010190602001808311610dce57829003601f168201915b505050505081565b610dfb6127e5565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610e68576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e5f90615260565b60405180910390fd5b610e728282612d6c565b5050565b610e9183838360405180602001604052806000815250612038565b505050565b610ea7610ea16127e5565b826128b4565b610ee6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610edd90615220565b60405180910390fd5b610eef81612e4e565b50565b60fe5481565b60fd60019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166323b872dd333060fe546040518463ffffffff1660e01b8152600401610f5993929190614e21565b600060405180830381600087803b158015610f7357600080fd5b505af1158015610f87573d6000803e3d6000fd5b505050506000610f96836110a2565b90508073ffffffffffffffffffffffffffffffffffffffff16610fb76127e5565b73ffffffffffffffffffffffffffffffffffffffff161461100d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161100490614f60565b60405180910390fd5b8160ff60008581526020019081526020016000209080519060200190611034929190614243565b50827fbe3e2fc72ea4bd0d860e908b1ee27aa9856809e62a75bfc0cb7f04b5d791873d836040516110659190614f1e565b60405180910390a2505050565b6000801b611087816110826127e5565b612bee565b8160fb908051906020019061109d929190614243565b505050565b6000806067600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561114b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611142906150c0565b60405180910390fd5b80915050919050565b606061010060008381526020019081526020016000208054611175906155fe565b80601f01602080910402602001604051908101604052809291908181526020018280546111a1906155fe565b80156111ee5780601f106111c3576101008083540402835291602001916111ee565b820191906000526020600020905b8154815290600101906020018083116111d157829003601f168201915b50505050509050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561126b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611262906150a0565b60405180910390fd5b606860008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b600060019054906101000a900460ff16806112d8575060008054906101000a900460ff16155b611317576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161130e906150e0565b60405180910390fd5b60008060019054906101000a900460ff161590508015611367576001600060016101000a81548160ff02191690831515021790555060016000806101000a81548160ff0219169083151502179055505b6113db6040518060400160405280600681526020017f50686f6e677a00000000000000000000000000000000000000000000000000008152506040518060400160405280600681526020017f50484f4e475a0000000000000000000000000000000000000000000000000000815250612f5f565b6113e3613054565b6113eb613145565b6113ff6000801b6113fa6127e5565b613236565b6114307f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a661142b6127e5565b613236565b600060fc8190555073c4aab23706295ff5e14b81ad5f8b5ad6f382682e60fd60016101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550681043561a882930000060fe81905550600060fd60006101000a81548160ff02191690831515021790555080156114d95760008060016101000a81548160ff0219169083151502179055505b50565b6000801b6114f1816114ec6127e5565b612bee565b3373ffffffffffffffffffffffffffffffffffffffff166108fc479081150290604051600060405180830381858888f1935050505061152f57600080fd5b50565b6103e881565b6000801b61154d816115486127e5565b612bee565b8160fc819055505050565b600060c9600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b606060008290506000815167ffffffffffffffff81111561160d577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f19166020018201604052801561163f5781602001600182028036833780820191505090505b50905060005b825181101561187a576041838281518110611689577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602001015160f81c60f81b60f81c60ff16101580156116f25750605a8382815181106116de577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602001015160f81c60f81b60f81c60ff1611155b156117ba576020838281518110611732577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602001015160f81c60f81b60f81c61174a91906153db565b60f81b828281518110611786577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350611867565b8281815181106117f3577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602001015160f81c60f81b828281518110611837577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053505b808061187290615661565b915050611645565b508092505050919050565b606060668054611894906155fe565b80601f01602080910402602001604051908101604052809291908181526020018280546118c0906155fe565b801561190d5780601f106118e25761010080835404028352916020019161190d565b820191906000526020600020905b8154815290600101906020018083116118f057829003601f168201915b5050505050905090565b600080829050600181511015611931576000915050611cdc565b601981511115611945576000915050611cdc565b602060f81b81600081518110611984577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602001015160f81c60f81b7effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614156119c1576000915050611cdc565b602060f81b81600183516119d5919061549d565b81518110611a0c577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602001015160f81c60f81b7effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161415611a49576000915050611cdc565b600081600081518110611a85577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602001015160f81c60f81b905060005b8251811015611cd4576000838281518110611ad9577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602001015160f81c60f81b9050602060f81b817effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148015611b405750602060f81b837effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b15611b52576000945050505050611cdc565b603060f81b817effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff191610158015611bae5750603960f81b817effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff191611155b158015611c145750604160f81b817effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff191610158015611c125750605a60f81b817effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff191611155b155b8015611c795750606160f81b817effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff191610158015611c775750607a60f81b817effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff191611155b155b8015611cab5750602060f81b817effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614155b15611cbd576000945050505050611cdc565b809250508080611ccc90615661565b915050611a95565b506001925050505b919050565b60fc5481565b60fd60009054906101000a900460ff16611d36576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d2d90614fa0565b60405180910390fd5b6003811115611d7a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d7190615200565b60405180910390fd5b8060fc54611d889190615443565b341015611dca576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611dc190614fe0565b60405180910390fd5b60fd60019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166340c10f19336803bd913e6c1df400006040518363ffffffff1660e01b8152600401611e30929190614ea4565b600060405180830381600087803b158015611e4a57600080fd5b505af1158015611e5e573d6000803e3d6000fd5b50505050611e6c3382613244565b50565b7f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a6611ea181611e9c6127e5565b612bee565b611eab8383613244565b505050565b6000801b81565b611ebf6127e5565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611f2d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f2490615020565b60405180910390fd5b80606a6000611f3a6127e5565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611fe76127e5565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405161202c9190614ecd565b60405180910390a35050565b6120496120436127e5565b836128b4565b612088576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161207f906151e0565b60405180910390fd5b612094848484846132e9565b50505050565b60fd60009054906101000a900460ff1681565b60fd60019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166323b872dd333060fe546040518463ffffffff1660e01b815260040161210e93929190614e21565b600060405180830381600087803b15801561212857600080fd5b505af115801561213c573d6000803e3d6000fd5b50505050600061214b836110a2565b90508073ffffffffffffffffffffffffffffffffffffffff1661216c6127e5565b73ffffffffffffffffffffffffffffffffffffffff16146121c2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121b990614f60565b60405180910390fd5b600115156121cf83611917565b151514612211576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161220890615240565b60405180910390fd5b600261010060008581526020019081526020016000206040516122349190614d7a565b602060405180830381855afa158015612251573d6000803e3d6000fd5b5050506040513d601f19601f820116820180604052508101906122749190614619565b6002836040516122849190614d63565b602060405180830381855afa1580156122a1573d6000803e3d6000fd5b5050506040513d601f19601f820116820180604052508101906122c49190614619565b1415612305576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122fc906151a0565b60405180910390fd5b6000151561231283610c5a565b151514612354576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161234b90615120565b60405180910390fd5b600061010060008581526020019081526020016000208054612375906155fe565b90501115612425576124246101006000858152602001908152602001600020805461239f906155fe565b80601f01602080910402602001604051908101604052809291908181526020018280546123cb906155fe565b80156124185780601f106123ed57610100808354040283529160200191612418565b820191906000526020600020905b8154815290600101906020018083116123fb57829003601f168201915b505050505060006125aa565b5b6124308260016125aa565b8161010060008581526020019081526020016000209080519060200190612458929190614243565b50827f7e632a301794d8d4a81ea7e20f37d1947158d36e66403af04ba85dd194b66f1b836040516124899190614f1e565b60405180910390a2505050565b60606124a182612779565b6124e0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124d790615180565b60405180910390fd5b60006124ea613345565b9050600081511161250a5760405180602001604052806000815250612535565b80612514846133d7565b604051602001612525929190614da8565b6040516020818303038152906040525b915050919050565b6000801b6125528161254d6127e5565b612bee565b8160fe819055505050565b7f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a681565b61258a82610d0a565b61259b816125966127e5565b612bee565b6125a58383612d6c565b505050565b6000801b6125bf816125ba6127e5565b612bee565b816101016125cc856115c3565b6040516125d99190614d91565b908152602001604051809103902060006101000a81548160ff021916908315150217905550505050565b6000801b612618816126136127e5565b612bee565b60fd60009054906101000a900460ff161560fd60006101000a81548160ff02191690831515021790555050565b6000606a60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b60fd60019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60007f7965db0b000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480612772575061277182613584565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166067600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816069600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16612860836110a2565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600081600001549050919050565b60006128bf82612779565b6128fe576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016128f590615040565b60405180910390fd5b6000612909836110a2565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16148061297857508373ffffffffffffffffffffffffffffffffffffffff1661296084610abd565b73ffffffffffffffffffffffffffffffffffffffff16145b8061298957506129888185612645565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff166129b2826110a2565b73ffffffffffffffffffffffffffffffffffffffff1614612a08576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016129ff90615160565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612a78576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a6f90615000565b60405180910390fd5b612a83838383613666565b612a8e6000826127ed565b6001606860008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612ade919061549d565b925050819055506001606860008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612b359190615385565b92505081905550816067600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b612bf88282611558565b612c8757612c1d8173ffffffffffffffffffffffffffffffffffffffff16601461366b565b612c2b8360001c602061366b565b604051602001612c3c929190614dcc565b6040516020818303038152906040526040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c7e9190614f1e565b60405180910390fd5b5050565b612c958282611558565b612d6857600160c9600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550612d0d6127e5565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45b5050565b612d768282611558565b15612e4a57600060c9600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550612def6127e5565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b60405160405180910390a45b5050565b6000612e59826110a2565b9050612e6781600084613666565b612e726000836127ed565b6001606860008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612ec2919061549d565b925050819055506067600083815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff021916905581600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b600060019054906101000a900460ff1680612f85575060008054906101000a900460ff16155b612fc4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612fbb906150e0565b60405180910390fd5b60008060019054906101000a900460ff161590508015613014576001600060016101000a81548160ff02191690831515021790555060016000806101000a81548160ff0219169083151502179055505b61301c613965565b613024613a3e565b61302e8383613b17565b801561304f5760008060016101000a81548160ff0219169083151502179055505b505050565b600060019054906101000a900460ff168061307a575060008054906101000a900460ff16155b6130b9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016130b0906150e0565b60405180910390fd5b60008060019054906101000a900460ff161590508015613109576001600060016101000a81548160ff02191690831515021790555060016000806101000a81548160ff0219169083151502179055505b613111613965565b613119613a3e565b613121613c20565b80156131425760008060016101000a81548160ff0219169083151502179055505b50565b600060019054906101000a900460ff168061316b575060008054906101000a900460ff16155b6131aa576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016131a1906150e0565b60405180910390fd5b60008060019054906101000a900460ff1615905080156131fa576001600060016101000a81548160ff02191690831515021790555060016000806101000a81548160ff0219169083151502179055505b613202613965565b61320a613a3e565b613212613cf9565b80156132335760008060016101000a81548160ff0219169083151502179055505b50565b6132408282612c8b565b5050565b6103e881613250610c98565b61325a9190615385565b111561329b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161329290615060565b60405180910390fd5b60005b818110156132e4576132c68360016132b76101026128a6565b6132c19190615385565b613dd2565b6132d1610102613df0565b80806132dc90615661565b91505061329e565b505050565b6132f4848484612992565b61330084848484613e06565b61333f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161333690614f80565b60405180910390fd5b50505050565b606060fb8054613354906155fe565b80601f0160208091040260200160405190810160405280929190818152602001828054613380906155fe565b80156133cd5780601f106133a2576101008083540402835291602001916133cd565b820191906000526020600020905b8154815290600101906020018083116133b057829003601f168201915b5050505050905090565b6060600082141561341f576040518060400160405280600181526020017f3000000000000000000000000000000000000000000000000000000000000000815250905061357f565b600082905060005b6000821461345157808061343a90615661565b915050600a8261344a9190615412565b9150613427565b60008167ffffffffffffffff811115613493577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156134c55781602001600182028036833780820191505090505b5090505b60008514613578576001826134de919061549d565b9150600a856134ed91906156aa565b60306134f99190615385565b60f81b818381518110613535577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856135719190615412565b94506134c9565b8093505050505b919050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061364f57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b8061365f575061365e82613f9d565b5b9050919050565b505050565b60606000600283600261367e9190615443565b6136889190615385565b67ffffffffffffffff8111156136c7577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156136f95781602001600182028036833780820191505090505b5090507f300000000000000000000000000000000000000000000000000000000000000081600081518110613757577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053507f7800000000000000000000000000000000000000000000000000000000000000816001815181106137e1577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600060018460026138219190615443565b61382b9190615385565b90505b6001811115613917577f3031323334353637383961626364656600000000000000000000000000000000600f861660108110613893577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b1a60f81b8282815181106138d0577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600485901c945080613910906155d4565b905061382e565b506000841461395b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161395290614f40565b60405180910390fd5b8091505092915050565b600060019054906101000a900460ff168061398b575060008054906101000a900460ff16155b6139ca576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016139c1906150e0565b60405180910390fd5b60008060019054906101000a900460ff161590508015613a1a576001600060016101000a81548160ff02191690831515021790555060016000806101000a81548160ff0219169083151502179055505b8015613a3b5760008060016101000a81548160ff0219169083151502179055505b50565b600060019054906101000a900460ff1680613a64575060008054906101000a900460ff16155b613aa3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613a9a906150e0565b60405180910390fd5b60008060019054906101000a900460ff161590508015613af3576001600060016101000a81548160ff02191690831515021790555060016000806101000a81548160ff0219169083151502179055505b8015613b145760008060016101000a81548160ff0219169083151502179055505b50565b600060019054906101000a900460ff1680613b3d575060008054906101000a900460ff16155b613b7c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613b73906150e0565b60405180910390fd5b60008060019054906101000a900460ff161590508015613bcc576001600060016101000a81548160ff02191690831515021790555060016000806101000a81548160ff0219169083151502179055505b8260659080519060200190613be2929190614243565b508160669080519060200190613bf9929190614243565b508015613c1b5760008060016101000a81548160ff0219169083151502179055505b505050565b600060019054906101000a900460ff1680613c46575060008054906101000a900460ff16155b613c85576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613c7c906150e0565b60405180910390fd5b60008060019054906101000a900460ff161590508015613cd5576001600060016101000a81548160ff02191690831515021790555060016000806101000a81548160ff0219169083151502179055505b8015613cf65760008060016101000a81548160ff0219169083151502179055505b50565b600060019054906101000a900460ff1680613d1f575060008054906101000a900460ff16155b613d5e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613d55906150e0565b60405180910390fd5b60008060019054906101000a900460ff161590508015613dae576001600060016101000a81548160ff02191690831515021790555060016000806101000a81548160ff0219169083151502179055505b8015613dcf5760008060016101000a81548160ff0219169083151502179055505b50565b613dec828260405180602001604052806000815250614007565b5050565b6001816000016000828254019250508190555050565b6000613e278473ffffffffffffffffffffffffffffffffffffffff16614062565b15613f90578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02613e506127e5565b8786866040518563ffffffff1660e01b8152600401613e729493929190614e58565b602060405180830381600087803b158015613e8c57600080fd5b505af1925050508015613ebd57506040513d601f19601f82011682018060405250810190613eba91906146a7565b60015b613f40573d8060008114613eed576040519150601f19603f3d011682016040523d82523d6000602084013e613ef2565b606091505b50600081511415613f38576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613f2f90614f80565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050613f95565b600190505b949350505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b6140118383614075565b61401e6000848484613e06565b61405d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161405490614f80565b60405180910390fd5b505050565b600080823b905060008111915050919050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156140e5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016140dc90615100565b60405180910390fd5b6140ee81612779565b1561412e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161412590614fc0565b60405180910390fd5b61413a60008383613666565b6001606860008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461418a9190615385565b92505081905550816067600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b82805461424f906155fe565b90600052602060002090601f01602090048101928261427157600085556142b8565b82601f1061428a57805160ff19168380011785556142b8565b828001600101855582156142b8579182015b828111156142b757825182559160200191906001019061429c565b5b5090506142c591906142c9565b5090565b5b808211156142e25760008160009055506001016142ca565b5090565b60006142f96142f4846152c0565b61529b565b90508281526020810184848401111561431157600080fd5b61431c848285615592565b509392505050565b6000614337614332846152f1565b61529b565b90508281526020810184848401111561434f57600080fd5b61435a848285615592565b509392505050565b60008135905061437181615e84565b92915050565b60008135905061438681615e9b565b92915050565b60008135905061439b81615eb2565b92915050565b6000815190506143b081615eb2565b92915050565b6000813590506143c581615ec9565b92915050565b6000815190506143da81615ec9565b92915050565b600082601f8301126143f157600080fd5b81356144018482602086016142e6565b91505092915050565b600082601f83011261441b57600080fd5b813561442b848260208601614324565b91505092915050565b60008135905061444381615ee0565b92915050565b60006020828403121561445b57600080fd5b600061446984828501614362565b91505092915050565b6000806040838503121561448557600080fd5b600061449385828601614362565b92505060206144a485828601614362565b9150509250929050565b6000806000606084860312156144c357600080fd5b60006144d186828701614362565b93505060206144e286828701614362565b92505060406144f386828701614434565b9150509250925092565b6000806000806080858703121561451357600080fd5b600061452187828801614362565b945050602061453287828801614362565b935050604061454387828801614434565b925050606085013567ffffffffffffffff81111561456057600080fd5b61456c878288016143e0565b91505092959194509250565b6000806040838503121561458b57600080fd5b600061459985828601614362565b92505060206145aa85828601614377565b9150509250929050565b600080604083850312156145c757600080fd5b60006145d585828601614362565b92505060206145e685828601614434565b9150509250929050565b60006020828403121561460257600080fd5b60006146108482850161438c565b91505092915050565b60006020828403121561462b57600080fd5b6000614639848285016143a1565b91505092915050565b6000806040838503121561465557600080fd5b60006146638582860161438c565b925050602061467485828601614362565b9150509250929050565b60006020828403121561469057600080fd5b600061469e848285016143b6565b91505092915050565b6000602082840312156146b957600080fd5b60006146c7848285016143cb565b91505092915050565b6000602082840312156146e257600080fd5b600082013567ffffffffffffffff8111156146fc57600080fd5b6147088482850161440a565b91505092915050565b6000806040838503121561472457600080fd5b600083013567ffffffffffffffff81111561473e57600080fd5b61474a8582860161440a565b925050602061475b85828601614377565b9150509250929050565b60006020828403121561477757600080fd5b600061478584828501614434565b91505092915050565b600080604083850312156147a157600080fd5b60006147af85828601614434565b925050602083013567ffffffffffffffff8111156147cc57600080fd5b6147d88582860161440a565b9150509250929050565b6147eb816154d1565b82525050565b6147fa816154e3565b82525050565b614809816154ef565b82525050565b600061481a82615337565b614824818561534d565b93506148348185602086016155a1565b61483d81615797565b840191505092915050565b600061485382615337565b61485d818561535e565b935061486d8185602086016155a1565b80840191505092915050565b60008154614886816155fe565b614890818661535e565b945060018216600081146148ab57600181146148bc576148ef565b60ff198316865281860193506148ef565b6148c585615322565b60005b838110156148e7578154818901526001820191506020810190506148c8565b838801955050505b50505092915050565b6149018161555c565b82525050565b61491081615580565b82525050565b600061492182615342565b61492b8185615369565b935061493b8185602086016155a1565b61494481615797565b840191505092915050565b600061495a82615342565b614964818561537a565b93506149748185602086016155a1565b80840191505092915050565b600061498d602083615369565b9150614998826157a8565b602082019050919050565b60006149b0601f83615369565b91506149bb826157d1565b602082019050919050565b60006149d3603283615369565b91506149de826157fa565b604082019050919050565b60006149f6601183615369565b9150614a0182615849565b602082019050919050565b6000614a19601c83615369565b9150614a2482615872565b602082019050919050565b6000614a3c602383615369565b9150614a478261589b565b604082019050919050565b6000614a5f602483615369565b9150614a6a826158ea565b604082019050919050565b6000614a82601983615369565b9150614a8d82615939565b602082019050919050565b6000614aa5602c83615369565b9150614ab082615962565b604082019050919050565b6000614ac8600883615369565b9150614ad3826159b1565b602082019050919050565b6000614aeb603883615369565b9150614af6826159da565b604082019050919050565b6000614b0e602a83615369565b9150614b1982615a29565b604082019050919050565b6000614b31602983615369565b9150614b3c82615a78565b604082019050919050565b6000614b54602e83615369565b9150614b5f82615ac7565b604082019050919050565b6000614b77602083615369565b9150614b8282615b16565b602082019050919050565b6000614b9a601583615369565b9150614ba582615b3f565b602082019050919050565b6000614bbd602c83615369565b9150614bc882615b68565b604082019050919050565b6000614be0602983615369565b9150614beb82615bb7565b604082019050919050565b6000614c03602f83615369565b9150614c0e82615c06565b604082019050919050565b6000614c26602383615369565b9150614c3182615c55565b604082019050919050565b6000614c49602183615369565b9150614c5482615ca4565b604082019050919050565b6000614c6c603183615369565b9150614c7782615cf3565b604082019050919050565b6000614c8f60178361537a565b9150614c9a82615d42565b601782019050919050565b6000614cb2601683615369565b9150614cbd82615d6b565b602082019050919050565b6000614cd5603083615369565b9150614ce082615d94565b604082019050919050565b6000614cf8601483615369565b9150614d0382615de3565b602082019050919050565b6000614d1b60118361537a565b9150614d2682615e0c565b601182019050919050565b6000614d3e602f83615369565b9150614d4982615e35565b604082019050919050565b614d5d81615545565b82525050565b6000614d6f8284614848565b915081905092915050565b6000614d868284614879565b915081905092915050565b6000614d9d828461494f565b915081905092915050565b6000614db4828561494f565b9150614dc0828461494f565b91508190509392505050565b6000614dd782614c82565b9150614de3828561494f565b9150614dee82614d0e565b9150614dfa828461494f565b91508190509392505050565b6000602082019050614e1b60008301846147e2565b92915050565b6000606082019050614e3660008301866147e2565b614e4360208301856147e2565b614e506040830184614d54565b949350505050565b6000608082019050614e6d60008301876147e2565b614e7a60208301866147e2565b614e876040830185614d54565b8181036060830152614e99818461480f565b905095945050505050565b6000604082019050614eb960008301856147e2565b614ec66020830184614907565b9392505050565b6000602082019050614ee260008301846147f1565b92915050565b6000602082019050614efd6000830184614800565b92915050565b6000602082019050614f1860008301846148f8565b92915050565b60006020820190508181036000830152614f388184614916565b905092915050565b60006020820190508181036000830152614f5981614980565b9050919050565b60006020820190508181036000830152614f79816149a3565b9050919050565b60006020820190508181036000830152614f99816149c6565b9050919050565b60006020820190508181036000830152614fb9816149e9565b9050919050565b60006020820190508181036000830152614fd981614a0c565b9050919050565b60006020820190508181036000830152614ff981614a2f565b9050919050565b6000602082019050818103600083015261501981614a52565b9050919050565b6000602082019050818103600083015261503981614a75565b9050919050565b6000602082019050818103600083015261505981614a98565b9050919050565b6000602082019050818103600083015261507981614abb565b9050919050565b6000602082019050818103600083015261509981614ade565b9050919050565b600060208201905081810360008301526150b981614b01565b9050919050565b600060208201905081810360008301526150d981614b24565b9050919050565b600060208201905081810360008301526150f981614b47565b9050919050565b6000602082019050818103600083015261511981614b6a565b9050919050565b6000602082019050818103600083015261513981614b8d565b9050919050565b6000602082019050818103600083015261515981614bb0565b9050919050565b6000602082019050818103600083015261517981614bd3565b9050919050565b6000602082019050818103600083015261519981614bf6565b9050919050565b600060208201905081810360008301526151b981614c19565b9050919050565b600060208201905081810360008301526151d981614c3c565b9050919050565b600060208201905081810360008301526151f981614c5f565b9050919050565b6000602082019050818103600083015261521981614ca5565b9050919050565b6000602082019050818103600083015261523981614cc8565b9050919050565b6000602082019050818103600083015261525981614ceb565b9050919050565b6000602082019050818103600083015261527981614d31565b9050919050565b60006020820190506152956000830184614d54565b92915050565b60006152a56152b6565b90506152b18282615630565b919050565b6000604051905090565b600067ffffffffffffffff8211156152db576152da615768565b5b6152e482615797565b9050602081019050919050565b600067ffffffffffffffff82111561530c5761530b615768565b5b61531582615797565b9050602081019050919050565b60008190508160005260206000209050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b600081905092915050565b600061539082615545565b915061539b83615545565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156153d0576153cf6156db565b5b828201905092915050565b60006153e68261554f565b91506153f18361554f565b92508260ff03821115615407576154066156db565b5b828201905092915050565b600061541d82615545565b915061542883615545565b9250826154385761543761570a565b5b828204905092915050565b600061544e82615545565b915061545983615545565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615615492576154916156db565b5b828202905092915050565b60006154a882615545565b91506154b383615545565b9250828210156154c6576154c56156db565b5b828203905092915050565b60006154dc82615525565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600060ff82169050919050565b60006155678261556e565b9050919050565b600061557982615525565b9050919050565b600061558b82615545565b9050919050565b82818337600083830152505050565b60005b838110156155bf5780820151818401526020810190506155a4565b838111156155ce576000848401525b50505050565b60006155df82615545565b915060008214156155f3576155f26156db565b5b600182039050919050565b6000600282049050600182168061561657607f821691505b6020821081141561562a57615629615739565b5b50919050565b61563982615797565b810181811067ffffffffffffffff8211171561565857615657615768565b5b80604052505050565b600061566c82615545565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561569f5761569e6156db565b5b600182019050919050565b60006156b582615545565b91506156c083615545565b9250826156d0576156cf61570a565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b7f537472696e67733a20686578206c656e67746820696e73756666696369656e74600082015250565b7f4552433732313a2063616c6c6572206973206e6f7420746865206f776e657200600082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f73616c6573206e6f742073746172746564000000000000000000000000000000600082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f65746865722076616c75652073656e742069732062656c6f772074686520707260008201527f6963650000000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f736f6c64206f7574000000000000000000000000000000000000000000000000600082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160008201527f647920696e697469616c697a6564000000000000000000000000000000000000602082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f4e616d6520616c72656164792072657365727665640000000000000000000000600082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b7f4e6577206e616d652069732073616d65206173207468652063757272656e742060008201527f6f6e650000000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f416363657373436f6e74726f6c3a206163636f756e7420000000000000000000600082015250565b7f6f6e6c79203320706572207472616e73616374696f6e00000000000000000000600082015250565b7f4552433732314275726e61626c653a2063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656400000000000000000000000000000000602082015250565b7f4e6f7420612076616c6964206e6577206e616d65000000000000000000000000600082015250565b7f206973206d697373696e6720726f6c6520000000000000000000000000000000600082015250565b7f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560008201527f20726f6c657320666f722073656c660000000000000000000000000000000000602082015250565b615e8d816154d1565b8114615e9857600080fd5b50565b615ea4816154e3565b8114615eaf57600080fd5b50565b615ebb816154ef565b8114615ec657600080fd5b50565b615ed2816154f9565b8114615edd57600080fd5b50565b615ee981615545565b8114615ef457600080fd5b5056fea26469706673582212206c1938a84cbb5fa438fd3753bd4ee13e537f24c3f3771168f67dcca64f4652e464736f6c63430008020033

Deployed Bytecode

0x60806040526004361061025c5760003560e01c8063902d55a511610144578063b88d4fde116100b6578063d53913931161007a578063d53913931461091d578063d547741f14610948578063db18543614610971578063dbd30ae01461099a578063e985e9c5146109b1578063f1532cc1146109ee5761025c565b8063b88d4fde1461083a578063bc0833ca14610863578063c39cbef11461088e578063c87b56dd146108b7578063cc371bf3146108f45761025c565b80639ffdb65a116101085780639ffdb65a14610739578063a035b1fe14610776578063a0712d68146107a1578063a1448194146107bd578063a217fddf146107e6578063a22cb465146108115761025c565b8063902d55a51461064057806391b7f5ed1461066b57806391d14854146106945780639416b423146106d157806395d89b411461070e5761025c565b806336568abe116101dd57806355f804b3116101a157806355f804b3146105325780636352211e1461055b5780636d5224181461059857806370a08231146105d55780638129fc1c14610612578063853828b6146106295761025c565b806336568abe1461046357806342842e0e1461048c57806342966c68146104b557806345ca7738146104de5780634d426528146105095761025c565b806318160ddd1161022457806318160ddd1461036c57806323b872dd14610397578063248a9ca3146103c05780632f2ff15d146103fd57806336033deb146104265761025c565b806301ffc9a71461026157806306fdde031461029e578063081812fc146102c9578063095ea7b31461030657806315b56d101461032f575b600080fd5b34801561026d57600080fd5b506102886004803603810190610283919061467e565b610a19565b6040516102959190614ecd565b60405180910390f35b3480156102aa57600080fd5b506102b3610a2b565b6040516102c09190614f1e565b60405180910390f35b3480156102d557600080fd5b506102f060048036038101906102eb9190614765565b610abd565b6040516102fd9190614e06565b60405180910390f35b34801561031257600080fd5b5061032d600480360381019061032891906145b4565b610b42565b005b34801561033b57600080fd5b50610356600480360381019061035191906146d0565b610c5a565b6040516103639190614ecd565b60405180910390f35b34801561037857600080fd5b50610381610c98565b60405161038e9190615280565b60405180910390f35b3480156103a357600080fd5b506103be60048036038101906103b991906144ae565b610caa565b005b3480156103cc57600080fd5b506103e760048036038101906103e291906145f0565b610d0a565b6040516103f49190614ee8565b60405180910390f35b34801561040957600080fd5b50610424600480360381019061041f9190614642565b610d2a565b005b34801561043257600080fd5b5061044d60048036038101906104489190614765565b610d53565b60405161045a9190614f1e565b60405180910390f35b34801561046f57600080fd5b5061048a60048036038101906104859190614642565b610df3565b005b34801561049857600080fd5b506104b360048036038101906104ae91906144ae565b610e76565b005b3480156104c157600080fd5b506104dc60048036038101906104d79190614765565b610e96565b005b3480156104ea57600080fd5b506104f3610ef2565b6040516105009190615280565b60405180910390f35b34801561051557600080fd5b50610530600480360381019061052b919061478e565b610ef8565b005b34801561053e57600080fd5b50610559600480360381019061055491906146d0565b611072565b005b34801561056757600080fd5b50610582600480360381019061057d9190614765565b6110a2565b60405161058f9190614e06565b60405180910390f35b3480156105a457600080fd5b506105bf60048036038101906105ba9190614765565b611154565b6040516105cc9190614f1e565b60405180910390f35b3480156105e157600080fd5b506105fc60048036038101906105f79190614449565b6111fa565b6040516106099190615280565b60405180910390f35b34801561061e57600080fd5b506106276112b2565b005b34801561063557600080fd5b5061063e6114dc565b005b34801561064c57600080fd5b50610655611532565b6040516106629190615280565b60405180910390f35b34801561067757600080fd5b50610692600480360381019061068d9190614765565b611538565b005b3480156106a057600080fd5b506106bb60048036038101906106b69190614642565b611558565b6040516106c89190614ecd565b60405180910390f35b3480156106dd57600080fd5b506106f860048036038101906106f391906146d0565b6115c3565b6040516107059190614f1e565b60405180910390f35b34801561071a57600080fd5b50610723611885565b6040516107309190614f1e565b60405180910390f35b34801561074557600080fd5b50610760600480360381019061075b91906146d0565b611917565b60405161076d9190614ecd565b60405180910390f35b34801561078257600080fd5b5061078b611ce1565b6040516107989190615280565b60405180910390f35b6107bb60048036038101906107b69190614765565b611ce7565b005b3480156107c957600080fd5b506107e460048036038101906107df91906145b4565b611e6f565b005b3480156107f257600080fd5b506107fb611eb0565b6040516108089190614ee8565b60405180910390f35b34801561081d57600080fd5b5061083860048036038101906108339190614578565b611eb7565b005b34801561084657600080fd5b50610861600480360381019061085c91906144fd565b612038565b005b34801561086f57600080fd5b5061087861209a565b6040516108859190614ecd565b60405180910390f35b34801561089a57600080fd5b506108b560048036038101906108b0919061478e565b6120ad565b005b3480156108c357600080fd5b506108de60048036038101906108d99190614765565b612496565b6040516108eb9190614f1e565b60405180910390f35b34801561090057600080fd5b5061091b60048036038101906109169190614765565b61253d565b005b34801561092957600080fd5b5061093261255d565b60405161093f9190614ee8565b60405180910390f35b34801561095457600080fd5b5061096f600480360381019061096a9190614642565b612581565b005b34801561097d57600080fd5b5061099860048036038101906109939190614711565b6125aa565b005b3480156109a657600080fd5b506109af612603565b005b3480156109bd57600080fd5b506109d860048036038101906109d39190614472565b612645565b6040516109e59190614ecd565b60405180910390f35b3480156109fa57600080fd5b50610a036126d9565b604051610a109190614f03565b60405180910390f35b6000610a24826126ff565b9050919050565b606060658054610a3a906155fe565b80601f0160208091040260200160405190810160405280929190818152602001828054610a66906155fe565b8015610ab35780601f10610a8857610100808354040283529160200191610ab3565b820191906000526020600020905b815481529060010190602001808311610a9657829003601f168201915b5050505050905090565b6000610ac882612779565b610b07576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610afe90615140565b60405180910390fd5b6069600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610b4d826110a2565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610bbe576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bb5906151c0565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610bdd6127e5565b73ffffffffffffffffffffffffffffffffffffffff161480610c0c5750610c0b81610c066127e5565b612645565b5b610c4b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c4290615080565b60405180910390fd5b610c5583836127ed565b505050565b6000610101610c68836115c3565b604051610c759190614d91565b908152602001604051809103902060009054906101000a900460ff169050919050565b6000610ca56101026128a6565b905090565b610cbb610cb56127e5565b826128b4565b610cfa576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cf1906151e0565b60405180910390fd5b610d05838383612992565b505050565b600060c96000838152602001908152602001600020600101549050919050565b610d3382610d0a565b610d4481610d3f6127e5565b612bee565b610d4e8383612c8b565b505050565b60ff6020528060005260406000206000915090508054610d72906155fe565b80601f0160208091040260200160405190810160405280929190818152602001828054610d9e906155fe565b8015610deb5780601f10610dc057610100808354040283529160200191610deb565b820191906000526020600020905b815481529060010190602001808311610dce57829003601f168201915b505050505081565b610dfb6127e5565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610e68576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e5f90615260565b60405180910390fd5b610e728282612d6c565b5050565b610e9183838360405180602001604052806000815250612038565b505050565b610ea7610ea16127e5565b826128b4565b610ee6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610edd90615220565b60405180910390fd5b610eef81612e4e565b50565b60fe5481565b60fd60019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166323b872dd333060fe546040518463ffffffff1660e01b8152600401610f5993929190614e21565b600060405180830381600087803b158015610f7357600080fd5b505af1158015610f87573d6000803e3d6000fd5b505050506000610f96836110a2565b90508073ffffffffffffffffffffffffffffffffffffffff16610fb76127e5565b73ffffffffffffffffffffffffffffffffffffffff161461100d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161100490614f60565b60405180910390fd5b8160ff60008581526020019081526020016000209080519060200190611034929190614243565b50827fbe3e2fc72ea4bd0d860e908b1ee27aa9856809e62a75bfc0cb7f04b5d791873d836040516110659190614f1e565b60405180910390a2505050565b6000801b611087816110826127e5565b612bee565b8160fb908051906020019061109d929190614243565b505050565b6000806067600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561114b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611142906150c0565b60405180910390fd5b80915050919050565b606061010060008381526020019081526020016000208054611175906155fe565b80601f01602080910402602001604051908101604052809291908181526020018280546111a1906155fe565b80156111ee5780601f106111c3576101008083540402835291602001916111ee565b820191906000526020600020905b8154815290600101906020018083116111d157829003601f168201915b50505050509050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561126b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611262906150a0565b60405180910390fd5b606860008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b600060019054906101000a900460ff16806112d8575060008054906101000a900460ff16155b611317576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161130e906150e0565b60405180910390fd5b60008060019054906101000a900460ff161590508015611367576001600060016101000a81548160ff02191690831515021790555060016000806101000a81548160ff0219169083151502179055505b6113db6040518060400160405280600681526020017f50686f6e677a00000000000000000000000000000000000000000000000000008152506040518060400160405280600681526020017f50484f4e475a0000000000000000000000000000000000000000000000000000815250612f5f565b6113e3613054565b6113eb613145565b6113ff6000801b6113fa6127e5565b613236565b6114307f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a661142b6127e5565b613236565b600060fc8190555073c4aab23706295ff5e14b81ad5f8b5ad6f382682e60fd60016101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550681043561a882930000060fe81905550600060fd60006101000a81548160ff02191690831515021790555080156114d95760008060016101000a81548160ff0219169083151502179055505b50565b6000801b6114f1816114ec6127e5565b612bee565b3373ffffffffffffffffffffffffffffffffffffffff166108fc479081150290604051600060405180830381858888f1935050505061152f57600080fd5b50565b6103e881565b6000801b61154d816115486127e5565b612bee565b8160fc819055505050565b600060c9600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b606060008290506000815167ffffffffffffffff81111561160d577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f19166020018201604052801561163f5781602001600182028036833780820191505090505b50905060005b825181101561187a576041838281518110611689577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602001015160f81c60f81b60f81c60ff16101580156116f25750605a8382815181106116de577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602001015160f81c60f81b60f81c60ff1611155b156117ba576020838281518110611732577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602001015160f81c60f81b60f81c61174a91906153db565b60f81b828281518110611786577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350611867565b8281815181106117f3577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602001015160f81c60f81b828281518110611837577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053505b808061187290615661565b915050611645565b508092505050919050565b606060668054611894906155fe565b80601f01602080910402602001604051908101604052809291908181526020018280546118c0906155fe565b801561190d5780601f106118e25761010080835404028352916020019161190d565b820191906000526020600020905b8154815290600101906020018083116118f057829003601f168201915b5050505050905090565b600080829050600181511015611931576000915050611cdc565b601981511115611945576000915050611cdc565b602060f81b81600081518110611984577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602001015160f81c60f81b7effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614156119c1576000915050611cdc565b602060f81b81600183516119d5919061549d565b81518110611a0c577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602001015160f81c60f81b7effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161415611a49576000915050611cdc565b600081600081518110611a85577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602001015160f81c60f81b905060005b8251811015611cd4576000838281518110611ad9577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602001015160f81c60f81b9050602060f81b817effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148015611b405750602060f81b837effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b15611b52576000945050505050611cdc565b603060f81b817effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff191610158015611bae5750603960f81b817effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff191611155b158015611c145750604160f81b817effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff191610158015611c125750605a60f81b817effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff191611155b155b8015611c795750606160f81b817effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff191610158015611c775750607a60f81b817effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff191611155b155b8015611cab5750602060f81b817effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614155b15611cbd576000945050505050611cdc565b809250508080611ccc90615661565b915050611a95565b506001925050505b919050565b60fc5481565b60fd60009054906101000a900460ff16611d36576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d2d90614fa0565b60405180910390fd5b6003811115611d7a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d7190615200565b60405180910390fd5b8060fc54611d889190615443565b341015611dca576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611dc190614fe0565b60405180910390fd5b60fd60019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166340c10f19336803bd913e6c1df400006040518363ffffffff1660e01b8152600401611e30929190614ea4565b600060405180830381600087803b158015611e4a57600080fd5b505af1158015611e5e573d6000803e3d6000fd5b50505050611e6c3382613244565b50565b7f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a6611ea181611e9c6127e5565b612bee565b611eab8383613244565b505050565b6000801b81565b611ebf6127e5565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611f2d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f2490615020565b60405180910390fd5b80606a6000611f3a6127e5565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611fe76127e5565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405161202c9190614ecd565b60405180910390a35050565b6120496120436127e5565b836128b4565b612088576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161207f906151e0565b60405180910390fd5b612094848484846132e9565b50505050565b60fd60009054906101000a900460ff1681565b60fd60019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166323b872dd333060fe546040518463ffffffff1660e01b815260040161210e93929190614e21565b600060405180830381600087803b15801561212857600080fd5b505af115801561213c573d6000803e3d6000fd5b50505050600061214b836110a2565b90508073ffffffffffffffffffffffffffffffffffffffff1661216c6127e5565b73ffffffffffffffffffffffffffffffffffffffff16146121c2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121b990614f60565b60405180910390fd5b600115156121cf83611917565b151514612211576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161220890615240565b60405180910390fd5b600261010060008581526020019081526020016000206040516122349190614d7a565b602060405180830381855afa158015612251573d6000803e3d6000fd5b5050506040513d601f19601f820116820180604052508101906122749190614619565b6002836040516122849190614d63565b602060405180830381855afa1580156122a1573d6000803e3d6000fd5b5050506040513d601f19601f820116820180604052508101906122c49190614619565b1415612305576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122fc906151a0565b60405180910390fd5b6000151561231283610c5a565b151514612354576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161234b90615120565b60405180910390fd5b600061010060008581526020019081526020016000208054612375906155fe565b90501115612425576124246101006000858152602001908152602001600020805461239f906155fe565b80601f01602080910402602001604051908101604052809291908181526020018280546123cb906155fe565b80156124185780601f106123ed57610100808354040283529160200191612418565b820191906000526020600020905b8154815290600101906020018083116123fb57829003601f168201915b505050505060006125aa565b5b6124308260016125aa565b8161010060008581526020019081526020016000209080519060200190612458929190614243565b50827f7e632a301794d8d4a81ea7e20f37d1947158d36e66403af04ba85dd194b66f1b836040516124899190614f1e565b60405180910390a2505050565b60606124a182612779565b6124e0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124d790615180565b60405180910390fd5b60006124ea613345565b9050600081511161250a5760405180602001604052806000815250612535565b80612514846133d7565b604051602001612525929190614da8565b6040516020818303038152906040525b915050919050565b6000801b6125528161254d6127e5565b612bee565b8160fe819055505050565b7f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a681565b61258a82610d0a565b61259b816125966127e5565b612bee565b6125a58383612d6c565b505050565b6000801b6125bf816125ba6127e5565b612bee565b816101016125cc856115c3565b6040516125d99190614d91565b908152602001604051809103902060006101000a81548160ff021916908315150217905550505050565b6000801b612618816126136127e5565b612bee565b60fd60009054906101000a900460ff161560fd60006101000a81548160ff02191690831515021790555050565b6000606a60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b60fd60019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60007f7965db0b000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480612772575061277182613584565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166067600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816069600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16612860836110a2565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600081600001549050919050565b60006128bf82612779565b6128fe576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016128f590615040565b60405180910390fd5b6000612909836110a2565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16148061297857508373ffffffffffffffffffffffffffffffffffffffff1661296084610abd565b73ffffffffffffffffffffffffffffffffffffffff16145b8061298957506129888185612645565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff166129b2826110a2565b73ffffffffffffffffffffffffffffffffffffffff1614612a08576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016129ff90615160565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612a78576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a6f90615000565b60405180910390fd5b612a83838383613666565b612a8e6000826127ed565b6001606860008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612ade919061549d565b925050819055506001606860008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612b359190615385565b92505081905550816067600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b612bf88282611558565b612c8757612c1d8173ffffffffffffffffffffffffffffffffffffffff16601461366b565b612c2b8360001c602061366b565b604051602001612c3c929190614dcc565b6040516020818303038152906040526040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c7e9190614f1e565b60405180910390fd5b5050565b612c958282611558565b612d6857600160c9600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550612d0d6127e5565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45b5050565b612d768282611558565b15612e4a57600060c9600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550612def6127e5565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b60405160405180910390a45b5050565b6000612e59826110a2565b9050612e6781600084613666565b612e726000836127ed565b6001606860008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612ec2919061549d565b925050819055506067600083815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff021916905581600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b600060019054906101000a900460ff1680612f85575060008054906101000a900460ff16155b612fc4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612fbb906150e0565b60405180910390fd5b60008060019054906101000a900460ff161590508015613014576001600060016101000a81548160ff02191690831515021790555060016000806101000a81548160ff0219169083151502179055505b61301c613965565b613024613a3e565b61302e8383613b17565b801561304f5760008060016101000a81548160ff0219169083151502179055505b505050565b600060019054906101000a900460ff168061307a575060008054906101000a900460ff16155b6130b9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016130b0906150e0565b60405180910390fd5b60008060019054906101000a900460ff161590508015613109576001600060016101000a81548160ff02191690831515021790555060016000806101000a81548160ff0219169083151502179055505b613111613965565b613119613a3e565b613121613c20565b80156131425760008060016101000a81548160ff0219169083151502179055505b50565b600060019054906101000a900460ff168061316b575060008054906101000a900460ff16155b6131aa576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016131a1906150e0565b60405180910390fd5b60008060019054906101000a900460ff1615905080156131fa576001600060016101000a81548160ff02191690831515021790555060016000806101000a81548160ff0219169083151502179055505b613202613965565b61320a613a3e565b613212613cf9565b80156132335760008060016101000a81548160ff0219169083151502179055505b50565b6132408282612c8b565b5050565b6103e881613250610c98565b61325a9190615385565b111561329b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161329290615060565b60405180910390fd5b60005b818110156132e4576132c68360016132b76101026128a6565b6132c19190615385565b613dd2565b6132d1610102613df0565b80806132dc90615661565b91505061329e565b505050565b6132f4848484612992565b61330084848484613e06565b61333f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161333690614f80565b60405180910390fd5b50505050565b606060fb8054613354906155fe565b80601f0160208091040260200160405190810160405280929190818152602001828054613380906155fe565b80156133cd5780601f106133a2576101008083540402835291602001916133cd565b820191906000526020600020905b8154815290600101906020018083116133b057829003601f168201915b5050505050905090565b6060600082141561341f576040518060400160405280600181526020017f3000000000000000000000000000000000000000000000000000000000000000815250905061357f565b600082905060005b6000821461345157808061343a90615661565b915050600a8261344a9190615412565b9150613427565b60008167ffffffffffffffff811115613493577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156134c55781602001600182028036833780820191505090505b5090505b60008514613578576001826134de919061549d565b9150600a856134ed91906156aa565b60306134f99190615385565b60f81b818381518110613535577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856135719190615412565b94506134c9565b8093505050505b919050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061364f57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b8061365f575061365e82613f9d565b5b9050919050565b505050565b60606000600283600261367e9190615443565b6136889190615385565b67ffffffffffffffff8111156136c7577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156136f95781602001600182028036833780820191505090505b5090507f300000000000000000000000000000000000000000000000000000000000000081600081518110613757577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053507f7800000000000000000000000000000000000000000000000000000000000000816001815181106137e1577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600060018460026138219190615443565b61382b9190615385565b90505b6001811115613917577f3031323334353637383961626364656600000000000000000000000000000000600f861660108110613893577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b1a60f81b8282815181106138d0577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600485901c945080613910906155d4565b905061382e565b506000841461395b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161395290614f40565b60405180910390fd5b8091505092915050565b600060019054906101000a900460ff168061398b575060008054906101000a900460ff16155b6139ca576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016139c1906150e0565b60405180910390fd5b60008060019054906101000a900460ff161590508015613a1a576001600060016101000a81548160ff02191690831515021790555060016000806101000a81548160ff0219169083151502179055505b8015613a3b5760008060016101000a81548160ff0219169083151502179055505b50565b600060019054906101000a900460ff1680613a64575060008054906101000a900460ff16155b613aa3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613a9a906150e0565b60405180910390fd5b60008060019054906101000a900460ff161590508015613af3576001600060016101000a81548160ff02191690831515021790555060016000806101000a81548160ff0219169083151502179055505b8015613b145760008060016101000a81548160ff0219169083151502179055505b50565b600060019054906101000a900460ff1680613b3d575060008054906101000a900460ff16155b613b7c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613b73906150e0565b60405180910390fd5b60008060019054906101000a900460ff161590508015613bcc576001600060016101000a81548160ff02191690831515021790555060016000806101000a81548160ff0219169083151502179055505b8260659080519060200190613be2929190614243565b508160669080519060200190613bf9929190614243565b508015613c1b5760008060016101000a81548160ff0219169083151502179055505b505050565b600060019054906101000a900460ff1680613c46575060008054906101000a900460ff16155b613c85576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613c7c906150e0565b60405180910390fd5b60008060019054906101000a900460ff161590508015613cd5576001600060016101000a81548160ff02191690831515021790555060016000806101000a81548160ff0219169083151502179055505b8015613cf65760008060016101000a81548160ff0219169083151502179055505b50565b600060019054906101000a900460ff1680613d1f575060008054906101000a900460ff16155b613d5e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613d55906150e0565b60405180910390fd5b60008060019054906101000a900460ff161590508015613dae576001600060016101000a81548160ff02191690831515021790555060016000806101000a81548160ff0219169083151502179055505b8015613dcf5760008060016101000a81548160ff0219169083151502179055505b50565b613dec828260405180602001604052806000815250614007565b5050565b6001816000016000828254019250508190555050565b6000613e278473ffffffffffffffffffffffffffffffffffffffff16614062565b15613f90578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02613e506127e5565b8786866040518563ffffffff1660e01b8152600401613e729493929190614e58565b602060405180830381600087803b158015613e8c57600080fd5b505af1925050508015613ebd57506040513d601f19601f82011682018060405250810190613eba91906146a7565b60015b613f40573d8060008114613eed576040519150601f19603f3d011682016040523d82523d6000602084013e613ef2565b606091505b50600081511415613f38576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613f2f90614f80565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050613f95565b600190505b949350505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b6140118383614075565b61401e6000848484613e06565b61405d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161405490614f80565b60405180910390fd5b505050565b600080823b905060008111915050919050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156140e5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016140dc90615100565b60405180910390fd5b6140ee81612779565b1561412e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161412590614fc0565b60405180910390fd5b61413a60008383613666565b6001606860008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461418a9190615385565b92505081905550816067600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b82805461424f906155fe565b90600052602060002090601f01602090048101928261427157600085556142b8565b82601f1061428a57805160ff19168380011785556142b8565b828001600101855582156142b8579182015b828111156142b757825182559160200191906001019061429c565b5b5090506142c591906142c9565b5090565b5b808211156142e25760008160009055506001016142ca565b5090565b60006142f96142f4846152c0565b61529b565b90508281526020810184848401111561431157600080fd5b61431c848285615592565b509392505050565b6000614337614332846152f1565b61529b565b90508281526020810184848401111561434f57600080fd5b61435a848285615592565b509392505050565b60008135905061437181615e84565b92915050565b60008135905061438681615e9b565b92915050565b60008135905061439b81615eb2565b92915050565b6000815190506143b081615eb2565b92915050565b6000813590506143c581615ec9565b92915050565b6000815190506143da81615ec9565b92915050565b600082601f8301126143f157600080fd5b81356144018482602086016142e6565b91505092915050565b600082601f83011261441b57600080fd5b813561442b848260208601614324565b91505092915050565b60008135905061444381615ee0565b92915050565b60006020828403121561445b57600080fd5b600061446984828501614362565b91505092915050565b6000806040838503121561448557600080fd5b600061449385828601614362565b92505060206144a485828601614362565b9150509250929050565b6000806000606084860312156144c357600080fd5b60006144d186828701614362565b93505060206144e286828701614362565b92505060406144f386828701614434565b9150509250925092565b6000806000806080858703121561451357600080fd5b600061452187828801614362565b945050602061453287828801614362565b935050604061454387828801614434565b925050606085013567ffffffffffffffff81111561456057600080fd5b61456c878288016143e0565b91505092959194509250565b6000806040838503121561458b57600080fd5b600061459985828601614362565b92505060206145aa85828601614377565b9150509250929050565b600080604083850312156145c757600080fd5b60006145d585828601614362565b92505060206145e685828601614434565b9150509250929050565b60006020828403121561460257600080fd5b60006146108482850161438c565b91505092915050565b60006020828403121561462b57600080fd5b6000614639848285016143a1565b91505092915050565b6000806040838503121561465557600080fd5b60006146638582860161438c565b925050602061467485828601614362565b9150509250929050565b60006020828403121561469057600080fd5b600061469e848285016143b6565b91505092915050565b6000602082840312156146b957600080fd5b60006146c7848285016143cb565b91505092915050565b6000602082840312156146e257600080fd5b600082013567ffffffffffffffff8111156146fc57600080fd5b6147088482850161440a565b91505092915050565b6000806040838503121561472457600080fd5b600083013567ffffffffffffffff81111561473e57600080fd5b61474a8582860161440a565b925050602061475b85828601614377565b9150509250929050565b60006020828403121561477757600080fd5b600061478584828501614434565b91505092915050565b600080604083850312156147a157600080fd5b60006147af85828601614434565b925050602083013567ffffffffffffffff8111156147cc57600080fd5b6147d88582860161440a565b9150509250929050565b6147eb816154d1565b82525050565b6147fa816154e3565b82525050565b614809816154ef565b82525050565b600061481a82615337565b614824818561534d565b93506148348185602086016155a1565b61483d81615797565b840191505092915050565b600061485382615337565b61485d818561535e565b935061486d8185602086016155a1565b80840191505092915050565b60008154614886816155fe565b614890818661535e565b945060018216600081146148ab57600181146148bc576148ef565b60ff198316865281860193506148ef565b6148c585615322565b60005b838110156148e7578154818901526001820191506020810190506148c8565b838801955050505b50505092915050565b6149018161555c565b82525050565b61491081615580565b82525050565b600061492182615342565b61492b8185615369565b935061493b8185602086016155a1565b61494481615797565b840191505092915050565b600061495a82615342565b614964818561537a565b93506149748185602086016155a1565b80840191505092915050565b600061498d602083615369565b9150614998826157a8565b602082019050919050565b60006149b0601f83615369565b91506149bb826157d1565b602082019050919050565b60006149d3603283615369565b91506149de826157fa565b604082019050919050565b60006149f6601183615369565b9150614a0182615849565b602082019050919050565b6000614a19601c83615369565b9150614a2482615872565b602082019050919050565b6000614a3c602383615369565b9150614a478261589b565b604082019050919050565b6000614a5f602483615369565b9150614a6a826158ea565b604082019050919050565b6000614a82601983615369565b9150614a8d82615939565b602082019050919050565b6000614aa5602c83615369565b9150614ab082615962565b604082019050919050565b6000614ac8600883615369565b9150614ad3826159b1565b602082019050919050565b6000614aeb603883615369565b9150614af6826159da565b604082019050919050565b6000614b0e602a83615369565b9150614b1982615a29565b604082019050919050565b6000614b31602983615369565b9150614b3c82615a78565b604082019050919050565b6000614b54602e83615369565b9150614b5f82615ac7565b604082019050919050565b6000614b77602083615369565b9150614b8282615b16565b602082019050919050565b6000614b9a601583615369565b9150614ba582615b3f565b602082019050919050565b6000614bbd602c83615369565b9150614bc882615b68565b604082019050919050565b6000614be0602983615369565b9150614beb82615bb7565b604082019050919050565b6000614c03602f83615369565b9150614c0e82615c06565b604082019050919050565b6000614c26602383615369565b9150614c3182615c55565b604082019050919050565b6000614c49602183615369565b9150614c5482615ca4565b604082019050919050565b6000614c6c603183615369565b9150614c7782615cf3565b604082019050919050565b6000614c8f60178361537a565b9150614c9a82615d42565b601782019050919050565b6000614cb2601683615369565b9150614cbd82615d6b565b602082019050919050565b6000614cd5603083615369565b9150614ce082615d94565b604082019050919050565b6000614cf8601483615369565b9150614d0382615de3565b602082019050919050565b6000614d1b60118361537a565b9150614d2682615e0c565b601182019050919050565b6000614d3e602f83615369565b9150614d4982615e35565b604082019050919050565b614d5d81615545565b82525050565b6000614d6f8284614848565b915081905092915050565b6000614d868284614879565b915081905092915050565b6000614d9d828461494f565b915081905092915050565b6000614db4828561494f565b9150614dc0828461494f565b91508190509392505050565b6000614dd782614c82565b9150614de3828561494f565b9150614dee82614d0e565b9150614dfa828461494f565b91508190509392505050565b6000602082019050614e1b60008301846147e2565b92915050565b6000606082019050614e3660008301866147e2565b614e4360208301856147e2565b614e506040830184614d54565b949350505050565b6000608082019050614e6d60008301876147e2565b614e7a60208301866147e2565b614e876040830185614d54565b8181036060830152614e99818461480f565b905095945050505050565b6000604082019050614eb960008301856147e2565b614ec66020830184614907565b9392505050565b6000602082019050614ee260008301846147f1565b92915050565b6000602082019050614efd6000830184614800565b92915050565b6000602082019050614f1860008301846148f8565b92915050565b60006020820190508181036000830152614f388184614916565b905092915050565b60006020820190508181036000830152614f5981614980565b9050919050565b60006020820190508181036000830152614f79816149a3565b9050919050565b60006020820190508181036000830152614f99816149c6565b9050919050565b60006020820190508181036000830152614fb9816149e9565b9050919050565b60006020820190508181036000830152614fd981614a0c565b9050919050565b60006020820190508181036000830152614ff981614a2f565b9050919050565b6000602082019050818103600083015261501981614a52565b9050919050565b6000602082019050818103600083015261503981614a75565b9050919050565b6000602082019050818103600083015261505981614a98565b9050919050565b6000602082019050818103600083015261507981614abb565b9050919050565b6000602082019050818103600083015261509981614ade565b9050919050565b600060208201905081810360008301526150b981614b01565b9050919050565b600060208201905081810360008301526150d981614b24565b9050919050565b600060208201905081810360008301526150f981614b47565b9050919050565b6000602082019050818103600083015261511981614b6a565b9050919050565b6000602082019050818103600083015261513981614b8d565b9050919050565b6000602082019050818103600083015261515981614bb0565b9050919050565b6000602082019050818103600083015261517981614bd3565b9050919050565b6000602082019050818103600083015261519981614bf6565b9050919050565b600060208201905081810360008301526151b981614c19565b9050919050565b600060208201905081810360008301526151d981614c3c565b9050919050565b600060208201905081810360008301526151f981614c5f565b9050919050565b6000602082019050818103600083015261521981614ca5565b9050919050565b6000602082019050818103600083015261523981614cc8565b9050919050565b6000602082019050818103600083015261525981614ceb565b9050919050565b6000602082019050818103600083015261527981614d31565b9050919050565b60006020820190506152956000830184614d54565b92915050565b60006152a56152b6565b90506152b18282615630565b919050565b6000604051905090565b600067ffffffffffffffff8211156152db576152da615768565b5b6152e482615797565b9050602081019050919050565b600067ffffffffffffffff82111561530c5761530b615768565b5b61531582615797565b9050602081019050919050565b60008190508160005260206000209050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b600081905092915050565b600061539082615545565b915061539b83615545565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156153d0576153cf6156db565b5b828201905092915050565b60006153e68261554f565b91506153f18361554f565b92508260ff03821115615407576154066156db565b5b828201905092915050565b600061541d82615545565b915061542883615545565b9250826154385761543761570a565b5b828204905092915050565b600061544e82615545565b915061545983615545565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615615492576154916156db565b5b828202905092915050565b60006154a882615545565b91506154b383615545565b9250828210156154c6576154c56156db565b5b828203905092915050565b60006154dc82615525565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600060ff82169050919050565b60006155678261556e565b9050919050565b600061557982615525565b9050919050565b600061558b82615545565b9050919050565b82818337600083830152505050565b60005b838110156155bf5780820151818401526020810190506155a4565b838111156155ce576000848401525b50505050565b60006155df82615545565b915060008214156155f3576155f26156db565b5b600182039050919050565b6000600282049050600182168061561657607f821691505b6020821081141561562a57615629615739565b5b50919050565b61563982615797565b810181811067ffffffffffffffff8211171561565857615657615768565b5b80604052505050565b600061566c82615545565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561569f5761569e6156db565b5b600182019050919050565b60006156b582615545565b91506156c083615545565b9250826156d0576156cf61570a565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b7f537472696e67733a20686578206c656e67746820696e73756666696369656e74600082015250565b7f4552433732313a2063616c6c6572206973206e6f7420746865206f776e657200600082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f73616c6573206e6f742073746172746564000000000000000000000000000000600082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f65746865722076616c75652073656e742069732062656c6f772074686520707260008201527f6963650000000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f736f6c64206f7574000000000000000000000000000000000000000000000000600082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160008201527f647920696e697469616c697a6564000000000000000000000000000000000000602082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f4e616d6520616c72656164792072657365727665640000000000000000000000600082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b7f4e6577206e616d652069732073616d65206173207468652063757272656e742060008201527f6f6e650000000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f416363657373436f6e74726f6c3a206163636f756e7420000000000000000000600082015250565b7f6f6e6c79203320706572207472616e73616374696f6e00000000000000000000600082015250565b7f4552433732314275726e61626c653a2063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656400000000000000000000000000000000602082015250565b7f4e6f7420612076616c6964206e6577206e616d65000000000000000000000000600082015250565b7f206973206d697373696e6720726f6c6520000000000000000000000000000000600082015250565b7f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560008201527f20726f6c657320666f722073656c660000000000000000000000000000000000602082015250565b615e8d816154d1565b8114615e9857600080fd5b50565b615ea4816154e3565b8114615eaf57600080fd5b50565b615ebb816154ef565b8114615ec657600080fd5b50565b615ed2816154f9565b8114615edd57600080fd5b50565b615ee981615545565b8114615ef457600080fd5b5056fea26469706673582212206c1938a84cbb5fa438fd3753bd4ee13e537f24c3f3771168f67dcca64f4652e464736f6c63430008020033

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

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

Validator Index Block Amount
View All Withdrawals

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

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