ETH Price: $3,254.77 (-4.56%)
Gas: 8 Gwei

Token

Cybernetics (CYB)
 

Overview

Max Total Supply

949 CYB

Holders

162

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Balance
10 CYB
0x8a01C36C1af154e0573bbe155fE3A053E3D3aE78
Loading...
Loading
Loading...
Loading
Loading...
Loading

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

Contract Source Code Verified (Exact Match)

Contract Name:
Cybernetics

Compiler Version
v0.8.0+commit.c7dfd78e

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 14 : Cybernetics.sol
// SPDX-License-Identifier: None
pragma solidity ^0.8.0;
import "@openzeppelin/contracts/token/ERC721/ERC721.sol";
import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/security/ReentrancyGuard.sol";

////////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////
/////////////////////////////////////////////((((((/////////////////////////////
/////////////////////////////////////////////@@@@@&#////////////////////////////
//////////////////////////////////////&&@@@@@@@@@@@(////////////////////////////
////////////////////////////#@@@@@@@@@@@@@@@@@@@@@@@@@@/////////////////////////
/////////////////////////&&&&@@@@@@@@@@@@@@@@@@@@@@@@@@/////////////////////////
/////////////////////////@@@@@@@@@@@@@@@&&@@@@&&@@@@@@@/////////////////////////
//////////////////////@@@@@@(............,@@@@@@@@@@@@@/////////////////////////
//////////////////////@@@....................@@@.......@@@//////////////////////
//////////////////////@@@..............................@@@//////////////////////
//////////////////////@@@..............................@@@//////////////////////
//////////////////////@@@..............................@@@//////////////////////
//////////////////////@@@.......###%%%####......###%%%%@@@//////////////////////
///////////////////@@@..........,,,***..........,,,(%%%@@@//////////////////////
///////////////////@@@..........,,,***..........,,,(%%%@@@//////////////////////
///////////////@@@@,,,.................................@@@//////////////////////
///////////////@@@@....................................@@@//////////////////////
///////////////////@@@.......................,,,@@@/...@@@//////////////////////
///////////////////@@@.......................,,,@@@/...@@@//////////////////////
///////////////////@@@.......................@@@@@@/...@@@//////////////////////
//////////////////////@@@..............................@@@//////////////////////
/////////////////////////@@@(...,,,...,,,,,,,..........@@@//////////////////////
/////////////////////////@@@(...,,,...,,,,,,,..........@@@//////////////////////
/////////////////////////@@@(......@@@.............#@@@/////////////////////////
//////////////////////@@@@@@(.........@@@@@@@@@@@@@#////////////////////////////
///////////////////@@@&&&@@@(................@@@@@@@@@@/////////////////////////
////////////(((((((@@@&&&@@@(................@@@@@@@@@@(((//////////////////////
////////////@@@@@@@&&&&&&@@@(...,,,..........@@@&&&&&&&@@@//////////////////////
/////////@@@&&&&&&&&&&&&&&&&@@@@...,,,....,,,...@@@@&&&&&&@@@///////////////////

contract Verify is Ownable {
    address verificationAddress;

    constructor (address _verificationAddress) {
        verificationAddress = _verificationAddress;
    }

    function isValidData(uint256 _number, string memory _word, bytes memory sig) public view returns(bool){
        bytes32 message = keccak256(abi.encodePacked(_number, _word));
        return (recoverSigner(message, sig) == verificationAddress);
    }

    function isValidData(uint256 _number, string memory _word, address _address, bytes memory sig) public view returns(bool){
        bytes32 message = keccak256(abi.encodePacked(_number, _word, _address));
        return (recoverSigner(message, sig) == verificationAddress);
    }

    function recoverSigner(bytes32 message, bytes memory sig) internal pure returns (address){
        uint8 v;
        bytes32 r;
        bytes32 s;
        (v, r, s) = splitSignature(sig);
        return ecrecover(message, v, r, s);
    }

    function splitSignature(bytes memory sig) internal pure returns (uint8, bytes32, bytes32) {
        require(sig.length == 65);
        bytes32 r;
        bytes32 s;
        uint8 v;
        assembly {
           // first 32 bytes, after the length prefix
           r := mload(add(sig, 32))
           // second 32 bytes
           s := mload(add(sig, 64))
           // final byte (first byte of the next 32 bytes)
           v := byte(0, mload(add(sig, 96)))
        }
        return (v, r, s);
   }

    // Owner Functions
    function setVerificationAddress(address _verificationAddress) public onlyOwner {
        verificationAddress = _verificationAddress;
    }
}

interface Cryptopunks {
    function punkIndexToAddress(uint index) external view returns(address);
}

contract Cybernetics is ERC721, ERC721Enumerable, Verify, ReentrancyGuard{
    constructor(address _verificationAddress, string memory _base) ERC721("Cybernetics", "CYB") Verify(_verificationAddress){
        baseURI = _base;
        creationBlock = block.number;
    }

    string private baseURI = "";
    uint256 public constant MAX_SUPPLY = 10000;
    uint256 public creationBlock;

    uint256 public mintPrice = 100000000000000000;
    bool public communityGrant = false;
    bool public publicSale = false;
    
    mapping (uint256 => uint256) internal punksUsedBlock;
    mapping (uint256 => uint256) public giveawaysUsed;
    address internal punkAddress = 0xb47e3cd837dDF8e4c57F05d70Ab865de6e193BBB;
    uint256 public punkMintsRemaining = 250;
    uint256 public giveawaysRemaining = 200;
    uint256 public mintAtOnceAmt = 20;
    uint256 randomMintMod = 4; // 1/4 chance
    uint256 blockRoundMod = 10; // Round every 10 blocks

    // Optional contract-accessible base64 image encoding
    mapping (uint256 => string) public tokenToImage;


    function _mintCybernetic(address _to) internal {
        require(totalSupply() < MAX_SUPPLY, 'Reached max supply');
        _safeMint(_to, totalSupply()); // totalSupply is new ID
    }   

    /*
     * Image and Contract Data is already accessible through the blockchain for every token via uploadData(),
     * but it's accessible via outside calls only. For individual images to be accessible to /contracts/, 
     * users can optionally save the base64 encoding of their tokens here.
     */
    function saveTokenImage(uint256 _tokenId, string memory imageData, bytes memory sig) public {
        require(isValidData(_tokenId, imageData, sig), "Invalid Sig");
        tokenToImage[_tokenId] = imageData;
    }

    function mintPublic(uint256 mintAmt) external payable nonReentrant{
        require(publicSale);
        require(mintAmt > 0 && mintAmt <= mintAtOnceAmt, "Must mint appropriate amount");
        require(msg.value >= mintPrice*mintAmt, 'Eth value below price');
        for (uint256 i = 0; i < mintAmt; i++) {
            _mintCybernetic(msg.sender);
        }
    }

    function giveawayMint(uint256 number, bytes memory sig) external nonReentrant {
        require(isValidData(number, "giveaway", sig) || isValidData(number, "giveaway", msg.sender, sig), "Invalid Sig");
        require(giveawaysUsed[number] == 0, "Already minted with this giveaway");
        require(giveawaysRemaining > 0, "No giveaway mints remaining");
        giveawaysUsed[number]++;
        giveawaysRemaining--;
        _mintCybernetic(msg.sender);
    }

    /**
     * Community grant minting.
     */
    function mintWithPunk(uint256 _punkId) external nonReentrant {
        require(communityGrant, "Community Grant is off");
        require(Cryptopunks(punkAddress).punkIndexToAddress(_punkId) == msg.sender, "Not the punk owner.");
        require(punkMintsRemaining > 0, "No punk mints remaining");
        
        /* Hash Check */
        checkAndMarkBlock(_punkId);

        punkMintsRemaining--;
        _mintCybernetic(msg.sender);
    }

    function checkAndMarkBlock(uint256 _punkId) internal {
        uint256 tokenBlockHash = getTokenBlockHash(_punkId, block.number);
        require(punksUsedBlock[tokenBlockHash] == 0, "Punk already used this block");
        require(internalWinningHash(tokenBlockHash), "Try again, bad timing");
        punksUsedBlock[tokenBlockHash]++;
    }

    function checkWinningHash(uint _punkId, uint blockNumber) public view returns (bool){
        uint256 tokenBlockHash = getTokenBlockHash(_punkId, blockNumber);
        return internalWinningHash(tokenBlockHash);
    }

    function internalWinningHash(uint256 tokenBlockHash) internal view returns (bool){
        uint256 index = tokenBlockHash % randomMintMod;
        return (index == 0);
    }

    function checkPunkUnusedThisBlock(uint _punkId, uint blockNumber) public view returns (bool){
        uint256 tokenBlockHash = getTokenBlockHash(_punkId, blockNumber);
        return (punksUsedBlock[tokenBlockHash] == 0);
    }

    function getTokenBlockHash(uint _tokenId, uint blockNumber) internal view returns (uint){
        uint256 blockRounded = blockNumber - (blockNumber % blockRoundMod);
        uint256 tokenBlockHash = uint(keccak256(abi.encodePacked(_tokenId, blockRounded)));
        return tokenBlockHash;
    }


    // Function exists solely for ease of metadata standards
    function _baseURI() internal view override returns (string memory) {
        return baseURI;
    }

    function randomSeeds(uint256 tokenId) public view returns (uint) {
        if (tokenId >= totalSupply()){
            return 0;
        }
        return uint(keccak256(abi.encodePacked(tokenId, creationBlock)));
    }



    // Owner Functions

    function setMintPrice(uint256 _mintPrice) public onlyOwner {
        mintPrice = _mintPrice;
    }

    function setCommunityGrant(bool _communityGrant) public onlyOwner {
        communityGrant = _communityGrant;
    }

    function setPublicSale(bool _publicSale) public onlyOwner {
        publicSale = _publicSale;
    }

    function setPunkMints(uint256 _punkMints) public onlyOwner {
        punkMintsRemaining = _punkMints;
    }

    function setGiveaways(uint256 _giveawayMints) public onlyOwner {
        giveawaysRemaining = _giveawayMints;
    }

    function setRandomMintMod(uint256 _mod) public onlyOwner {
        randomMintMod = _mod;
    }

    function setBlockRoundMod(uint256 _mod) public onlyOwner {
        blockRoundMod = _mod;
    }

    function setMintAtOnceAmt(uint256 _atOnce) public onlyOwner {
        mintAtOnceAmt = _atOnce;
    }

    function setPunkAddress(address _punkAddr) public onlyOwner {
        punkAddress = _punkAddr;
    }

    function setBaseURI(string memory _base) public onlyOwner {
        baseURI = _base;
    }

    function withdraw(uint256 _amount) public onlyOwner {
        require(payable(msg.sender).send(_amount));
    }

    function withdrawAll() public onlyOwner {
        require(payable(msg.sender).send(address(this).balance));
    }

    function devMint(uint mintAmt, address dropAddress) public onlyOwner {
        for (uint256 i = 0; i < mintAmt; i++) {
            _mintCybernetic(dropAddress);
        }
    }

    function devAirdrop(address[] memory dropAddresses) public onlyOwner {
        for (uint256 i = 0; i < dropAddresses.length; i++) {
            _mintCybernetic(dropAddresses[i]);
        }
    }

    function uploadData(bytes[] memory _data) public onlyOwner {
        // Images are encoded from left-to-right and then top-to-bottom
        emit UploadData();
    }

    event UploadData();

    function _beforeTokenTransfer(address from, address to, uint256 tokenId)
        internal
        override(ERC721, ERC721Enumerable)
    {
        super._beforeTokenTransfer(from, to, tokenId);
    }

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

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

    function _setOwner(address newOwner) private {
        address oldOwner = _owner;
        _owner = newOwner;
        emit OwnershipTransferred(oldOwner, newOwner);
    }
}

File 3 of 14 : ReentrancyGuard.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

    uint256 private _status;

    constructor() {
        _status = _NOT_ENTERED;
    }

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

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

        _;

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

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

pragma solidity ^0.8.0;

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

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

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        _approve(to, tokenId);
    }

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

        return _tokenApprovals[tokenId];
    }

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

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

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

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

        _transfer(from, to, tokenId);
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        _beforeTokenTransfer(from, to, tokenId);

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

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

        emit Transfer(from, to, tokenId);
    }

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

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

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

pragma solidity ^0.8.0;

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

/**
 * @dev Required interface of an ERC721 compliant contract.
 */
interface IERC721 is IERC165 {
    /**
     * @dev Emitted when `tokenId` token is transferred from `from` to `to`.
     */
    event Transfer(address indexed from, address indexed to, uint256 indexed tokenId);

    /**
     * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token.
     */
    event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId);

    /**
     * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets.
     */
    event ApprovalForAll(address indexed owner, address indexed operator, bool approved);

    /**
     * @dev Returns the number of tokens in ``owner``'s account.
     */
    function balanceOf(address owner) external view returns (uint256 balance);

    /**
     * @dev Returns the owner of the `tokenId` token.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function ownerOf(uint256 tokenId) external view returns (address owner);

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

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

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

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

    /**
     * @dev Approve or remove `operator` as an operator for the caller.
     * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller.
     *
     * Requirements:
     *
     * - The `operator` cannot be the caller.
     *
     * Emits an {ApprovalForAll} event.
     */
    function setApprovalForAll(address operator, bool _approved) external;

    /**
     * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`.
     *
     * See {setApprovalForAll}
     */
    function isApprovedForAll(address owner, address operator) external view returns (bool);

    /**
     * @dev Safely transfers `tokenId` token from `from` to `to`.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must exist and be owned by `from`.
     * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId,
        bytes calldata data
    ) external;
}

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

pragma solidity ^0.8.0;

/**
 * @title ERC721 token receiver interface
 * @dev Interface for any contract that wants to support safeTransfers
 * from ERC721 asset contracts.
 */
interface IERC721Receiver {
    /**
     * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom}
     * by `operator` from `from`, this function is called.
     *
     * It must return its Solidity selector to confirm the token transfer.
     * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted.
     *
     * The selector can be obtained in Solidity with `IERC721.onERC721Received.selector`.
     */
    function onERC721Received(
        address operator,
        address from,
        uint256 tokenId,
        bytes calldata data
    ) external returns (bytes4);
}

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

import "../IERC721.sol";

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

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

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

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

pragma solidity ^0.8.0;

import "../IERC721.sol";

/**
 * @title ERC-721 Non-Fungible Token Standard, optional metadata extension
 * @dev See https://eips.ethereum.org/EIPS/eip-721
 */
interface IERC721Metadata is IERC721 {
    /**
     * @dev Returns the token collection name.
     */
    function name() external view returns (string memory);

    /**
     * @dev Returns the token collection symbol.
     */
    function symbol() external view returns (string memory);

    /**
     * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token.
     */
    function tokenURI(uint256 tokenId) external view returns (string memory);
}

File 10 of 14 : Address.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

/**
 * @dev Collection of functions related to the address type
 */
library Address {
    /**
     * @dev Returns true if `account` is a contract.
     *
     * [IMPORTANT]
     * ====
     * It is unsafe to assume that an address for which this function returns
     * false is an externally-owned account (EOA) and not a contract.
     *
     * Among others, `isContract` will return false for the following
     * types of addresses:
     *
     *  - an externally-owned account
     *  - a contract in construction
     *  - an address where a contract will be created
     *  - an address where a contract lived, but was destroyed
     * ====
     */
    function isContract(address account) internal view returns (bool) {
        // This method relies on extcodesize, which returns 0 for contracts in
        // construction, since the code is only stored at the end of the
        // constructor execution.

        uint256 size;
        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 Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but performing a delegate call.
     *
     * _Available since v3.4._
     */
    function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) {
        return functionDelegateCall(target, data, "Address: low-level delegate call failed");
    }

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

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

    function _verifyCallResult(
        bool success,
        bytes memory returndata,
        string memory errorMessage
    ) private pure returns (bytes memory) {
        if (success) {
            return returndata;
        } else {
            // Look for revert reason and bubble it up if present
            if (returndata.length > 0) {
                // The easiest way to bubble the revert reason is using memory via assembly

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

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

pragma solidity ^0.8.0;

/*
 * @dev Provides information about the current execution context, including the
 * sender of the transaction and its data. While these are generally available
 * via msg.sender and msg.data, they should not be accessed in such a direct
 * manner, since when dealing with meta-transactions the account sending and
 * paying for execution may not be the actual sender (as far as an application
 * is concerned).
 *
 * This contract is only required for intermediate, library-like contracts.
 */
abstract contract Context {
    function _msgSender() internal view virtual returns (address) {
        return msg.sender;
    }

    function _msgData() internal view virtual returns (bytes calldata) {
        return msg.data;
    }
}

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

pragma solidity ^0.8.0;

/**
 * @dev String operations.
 */
library Strings {
    bytes16 private constant _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 14 : ERC165.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "./IERC165.sol";

/**
 * @dev Implementation of the {IERC165} interface.
 *
 * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check
 * for the additional interface id that will be supported. For example:
 *
 * ```solidity
 * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
 *     return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId);
 * }
 * ```
 *
 * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation.
 */
abstract contract ERC165 is IERC165 {
    /**
     * @dev See {IERC165-supportsInterface}.
     */
    function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
        return interfaceId == type(IERC165).interfaceId;
    }
}

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

pragma solidity ^0.8.0;

/**
 * @dev Interface of the ERC165 standard, as defined in the
 * https://eips.ethereum.org/EIPS/eip-165[EIP].
 *
 * Implementers can declare support of contract interfaces, which can then be
 * queried by others ({ERC165Checker}).
 *
 * For an implementation, see {ERC165}.
 */
interface IERC165 {
    /**
     * @dev Returns true if this contract implements the interface defined by
     * `interfaceId`. See the corresponding
     * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section]
     * to learn more about how these ids are created.
     *
     * This function call must use less than 30 000 gas.
     */
    function supportsInterface(bytes4 interfaceId) external view returns (bool);
}

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"_verificationAddress","type":"address"},{"internalType":"string","name":"_base","type":"string"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[],"name":"UploadData","type":"event"},{"inputs":[],"name":"MAX_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":"_punkId","type":"uint256"},{"internalType":"uint256","name":"blockNumber","type":"uint256"}],"name":"checkPunkUnusedThisBlock","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_punkId","type":"uint256"},{"internalType":"uint256","name":"blockNumber","type":"uint256"}],"name":"checkWinningHash","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"communityGrant","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"creationBlock","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"dropAddresses","type":"address[]"}],"name":"devAirdrop","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"mintAmt","type":"uint256"},{"internalType":"address","name":"dropAddress","type":"address"}],"name":"devMint","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":"uint256","name":"number","type":"uint256"},{"internalType":"bytes","name":"sig","type":"bytes"}],"name":"giveawayMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"giveawaysRemaining","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"giveawaysUsed","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_number","type":"uint256"},{"internalType":"string","name":"_word","type":"string"},{"internalType":"bytes","name":"sig","type":"bytes"}],"name":"isValidData","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_number","type":"uint256"},{"internalType":"string","name":"_word","type":"string"},{"internalType":"address","name":"_address","type":"address"},{"internalType":"bytes","name":"sig","type":"bytes"}],"name":"isValidData","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"mintAtOnceAmt","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"mintPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"mintAmt","type":"uint256"}],"name":"mintPublic","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_punkId","type":"uint256"}],"name":"mintWithPunk","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"publicSale","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"punkMintsRemaining","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"randomSeeds","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","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":"uint256","name":"_tokenId","type":"uint256"},{"internalType":"string","name":"imageData","type":"string"},{"internalType":"bytes","name":"sig","type":"bytes"}],"name":"saveTokenImage","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":"_base","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_mod","type":"uint256"}],"name":"setBlockRoundMod","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_communityGrant","type":"bool"}],"name":"setCommunityGrant","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_giveawayMints","type":"uint256"}],"name":"setGiveaways","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_atOnce","type":"uint256"}],"name":"setMintAtOnceAmt","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_mintPrice","type":"uint256"}],"name":"setMintPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_publicSale","type":"bool"}],"name":"setPublicSale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_punkAddr","type":"address"}],"name":"setPunkAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_punkMints","type":"uint256"}],"name":"setPunkMints","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_mod","type":"uint256"}],"name":"setRandomMintMod","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_verificationAddress","type":"address"}],"name":"setVerificationAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"tokenToImage","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":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes[]","name":"_data","type":"bytes[]"}],"name":"uploadData","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdrawAll","outputs":[],"stateMutability":"nonpayable","type":"function"}]

608060405260405180602001604052806000815250600d90805190602001906200002b92919062000310565b5067016345785d8a0000600f556000601060006101000a81548160ff0219169083151502179055506000601060016101000a81548160ff02191690831515021790555073b47e3cd837ddf8e4c57f05d70ab865de6e193bbb601360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060fa60145560c860155560146016556004601755600a601855348015620000e957600080fd5b50604051620063363803806200633683398181016040528101906200010f919062000449565b816040518060400160405280600b81526020017f43796265726e65746963730000000000000000000000000000000000000000008152506040518060400160405280600381526020017f435942000000000000000000000000000000000000000000000000000000000081525081600090805190602001906200019492919062000310565b508060019080519060200190620001ad92919062000310565b505050620001d0620001c46200024260201b60201c565b6200024a60201b60201c565b80600b60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550506001600c8190555080600d90805190602001906200023292919062000310565b5043600e81905550505062000622565b600033905090565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8280546200031e9062000574565b90600052602060002090601f0160209004810192826200034257600085556200038e565b82601f106200035d57805160ff19168380011785556200038e565b828001600101855582156200038e579182015b828111156200038d57825182559160200191906001019062000370565b5b5090506200039d9190620003a1565b5090565b5b80821115620003bc576000816000905550600101620003a2565b5090565b6000620003d7620003d184620004d7565b620004a3565b905082815260208101848484011115620003f057600080fd5b620003fd8482856200053e565b509392505050565b600081519050620004168162000608565b92915050565b600082601f8301126200042e57600080fd5b815162000440848260208601620003c0565b91505092915050565b600080604083850312156200045d57600080fd5b60006200046d8582860162000405565b925050602083015167ffffffffffffffff8111156200048b57600080fd5b62000499858286016200041c565b9150509250929050565b6000604051905081810181811067ffffffffffffffff82111715620004cd57620004cc620005d9565b5b8060405250919050565b600067ffffffffffffffff821115620004f557620004f4620005d9565b5b601f19601f8301169050602081019050919050565b600062000517826200051e565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60005b838110156200055e57808201518184015260208101905062000541565b838111156200056e576000848401525b50505050565b600060028204905060018216806200058d57607f821691505b60208210811415620005a457620005a3620005aa565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b62000613816200050a565b81146200061f57600080fd5b50565b615d0480620006326000396000f3fe6080604052600436106103355760003560e01c806370a08231116101ab578063b88d4fde116100f7578063e4b1148511610095578063efd0cbf91161006f578063efd0cbf914610c48578063f2fde38b14610c64578063f3eb2e7f14610c8d578063f4a0a52814610cca57610335565b8063e4b1148514610bb9578063e985e9c514610be2578063e9f5772614610c1f57610335565b8063ccc941c7116100d1578063ccc941c714610aff578063ce17787814610b2a578063dbcea3a414610b53578063de25d55714610b7c57610335565b8063b88d4fde14610a5c578063c87b56dd14610a85578063cbc2d84714610ac257610335565b806395d89b4111610164578063a34eac4b1161013e578063a34eac4b146109b6578063a55d825a146109df578063ac1306fc14610a08578063b76c3bb614610a3357610335565b806395d89b41146109395780639b3b1d6e14610964578063a22cb4651461098d57610335565b806370a082311461083d578063715018a61461087a578063853828b61461089157806388492779146108a85780638da5cb5b146108e557806393b158a81461091057610335565b80632e1a7d4d116102855780634f6ccce7116102235780636352211e116101fd5780636352211e1461078157806363937a75146107be578063677a7385146107e75780636817c76c1461081257610335565b80634f6ccce7146106f257806355f804b31461072f5780635aca1bb61461075857610335565b806333bc1c5c1161025f57806333bc1c5c1461064c5780633b6fb3db146106775780633ee589b2146106a057806342842e0e146106c957610335565b80632e1a7d4d146105bb5780632f745c59146105e457806332cb6b0c1461062157610335565b8063095ea7b3116102f257806323680400116102cc57806323680400146104ef57806323b872dd1461052c57806324a69a7e146105555780632d1a12f61461059257610335565b8063095ea7b314610470578063176345141461049957806318160ddd146104c457610335565b806301ffc9a71461033a57806302b2020b146103775780630614a6ba146103b457806306959429146103df57806306fdde0314610408578063081812fc14610433575b600080fd5b34801561034657600080fd5b50610361600480360381019061035c91906144a1565b610cf3565b60405161036e9190615329565b60405180910390f35b34801561038357600080fd5b5061039e60048036038101906103999190614534565b610d05565b6040516103ab9190615389565b60405180910390f35b3480156103c057600080fd5b506103c9610da5565b6040516103d69190615329565b60405180910390f35b3480156103eb57600080fd5b5061040660048036038101906104019190614226565b610db8565b005b34801561041457600080fd5b5061041d610e78565b60405161042a9190615389565b60405180910390f35b34801561043f57600080fd5b5061045a60048036038101906104559190614534565b610f0a565b60405161046791906152c2565b60405180910390f35b34801561047c57600080fd5b50610497600480360381019061049291906143ba565b610f8f565b005b3480156104a557600080fd5b506104ae6110a7565b6040516104bb919061576b565b60405180910390f35b3480156104d057600080fd5b506104d96110ad565b6040516104e6919061576b565b60405180910390f35b3480156104fb57600080fd5b5061051660048036038101906105119190614534565b6110ba565b604051610523919061576b565b60405180910390f35b34801561053857600080fd5b50610553600480360381019061054e91906142b4565b611109565b005b34801561056157600080fd5b5061057c60048036038101906105779190614680565b611169565b6040516105899190615329565b60405180910390f35b34801561059e57600080fd5b506105b960048036038101906105b4919061455d565b6111fb565b005b3480156105c757600080fd5b506105e260048036038101906105dd9190614534565b6112a3565b005b3480156105f057600080fd5b5061060b600480360381019061060691906143ba565b611360565b604051610618919061576b565b60405180910390f35b34801561062d57600080fd5b50610636611405565b604051610643919061576b565b60405180910390f35b34801561065857600080fd5b5061066161140b565b60405161066e9190615329565b60405180910390f35b34801561068357600080fd5b5061069e60048036038101906106999190614437565b61141e565b005b3480156106ac57600080fd5b506106c760048036038101906106c29190614534565b6114c9565b005b3480156106d557600080fd5b506106f060048036038101906106eb91906142b4565b61154f565b005b3480156106fe57600080fd5b5061071960048036038101906107149190614534565b61156f565b604051610726919061576b565b60405180910390f35b34801561073b57600080fd5b50610756600480360381019061075191906144f3565b611606565b005b34801561076457600080fd5b5061077f600480360381019061077a9190614478565b61169c565b005b34801561078d57600080fd5b506107a860048036038101906107a39190614534565b611735565b6040516107b591906152c2565b60405180910390f35b3480156107ca57600080fd5b506107e560048036038101906107e09190614534565b6117e7565b005b3480156107f357600080fd5b506107fc61186d565b604051610809919061576b565b60405180910390f35b34801561081e57600080fd5b50610827611873565b604051610834919061576b565b60405180910390f35b34801561084957600080fd5b50610864600480360381019061085f9190614226565b611879565b604051610871919061576b565b60405180910390f35b34801561088657600080fd5b5061088f611931565b005b34801561089d57600080fd5b506108a66119b9565b005b3480156108b457600080fd5b506108cf60048036038101906108ca91906146ff565b611a75565b6040516108dc9190615329565b60405180910390f35b3480156108f157600080fd5b506108fa611aa4565b60405161090791906152c2565b60405180910390f35b34801561091c57600080fd5b5061093760048036038101906109329190614534565b611ace565b005b34801561094557600080fd5b5061094e611b54565b60405161095b9190615389565b60405180910390f35b34801561097057600080fd5b5061098b60048036038101906109869190614534565b611be6565b005b34801561099957600080fd5b506109b460048036038101906109af919061437e565b611c6c565b005b3480156109c257600080fd5b506109dd60048036038101906109d89190614680565b611ded565b005b3480156109eb57600080fd5b50610a066004803603810190610a0191906143f6565b611e64565b005b348015610a1457600080fd5b50610a1d611f4c565b604051610a2a919061576b565b60405180910390f35b348015610a3f57600080fd5b50610a5a6004803603810190610a559190614226565b611f52565b005b348015610a6857600080fd5b50610a836004803603810190610a7e9190614303565b612012565b005b348015610a9157600080fd5b50610aac6004803603810190610aa79190614534565b612074565b604051610ab99190615389565b60405180910390f35b348015610ace57600080fd5b50610ae96004803603810190610ae491906146ff565b61211b565b604051610af69190615329565b60405180910390f35b348015610b0b57600080fd5b50610b1461213c565b604051610b21919061576b565b60405180910390f35b348015610b3657600080fd5b50610b516004803603810190610b4c9190614534565b612142565b005b348015610b5f57600080fd5b50610b7a6004803603810190610b759190614599565b612371565b005b348015610b8857600080fd5b50610ba36004803603810190610b9e9190614534565b612577565b604051610bb0919061576b565b60405180910390f35b348015610bc557600080fd5b50610be06004803603810190610bdb9190614534565b61258f565b005b348015610bee57600080fd5b50610c096004803603810190610c049190614278565b612615565b604051610c169190615329565b60405180910390f35b348015610c2b57600080fd5b50610c466004803603810190610c419190614478565b6126a9565b005b610c626004803603810190610c5d9190614534565b612742565b005b348015610c7057600080fd5b50610c8b6004803603810190610c869190614226565b61287d565b005b348015610c9957600080fd5b50610cb46004803603810190610caf91906145ed565b612975565b604051610cc19190615329565b60405180910390f35b348015610cd657600080fd5b50610cf16004803603810190610cec9190614534565b612a0a565b005b6000610cfe82612a90565b9050919050565b60196020528060005260406000206000915090508054610d2490615abe565b80601f0160208091040260200160405190810160405280929190818152602001828054610d5090615abe565b8015610d9d5780601f10610d7257610100808354040283529160200191610d9d565b820191906000526020600020905b815481529060010190602001808311610d8057829003601f168201915b505050505081565b601060009054906101000a900460ff1681565b610dc0612b0a565b73ffffffffffffffffffffffffffffffffffffffff16610dde611aa4565b73ffffffffffffffffffffffffffffffffffffffff1614610e34576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e2b906155eb565b60405180910390fd5b80600b60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b606060008054610e8790615abe565b80601f0160208091040260200160405190810160405280929190818152602001828054610eb390615abe565b8015610f005780601f10610ed557610100808354040283529160200191610f00565b820191906000526020600020905b815481529060010190602001808311610ee357829003601f168201915b5050505050905090565b6000610f1582612b12565b610f54576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f4b906155cb565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610f9a82611735565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141561100b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110029061568b565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff1661102a612b0a565b73ffffffffffffffffffffffffffffffffffffffff161480611059575061105881611053612b0a565b612615565b5b611098576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161108f9061550b565b60405180910390fd5b6110a28383612b7e565b505050565b600e5481565b6000600880549050905090565b60006110c46110ad565b82106110d35760009050611104565b81600e546040516020016110e8929190615296565b6040516020818303038152906040528051906020012060001c90505b919050565b61111a611114612b0a565b82612c37565b611159576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611150906156eb565b60405180910390fd5b611164838383612d15565b505050565b600080848460405160200161117f929190615235565b604051602081830303815290604052805190602001209050600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166111da8285612f71565b73ffffffffffffffffffffffffffffffffffffffff16149150509392505050565b611203612b0a565b73ffffffffffffffffffffffffffffffffffffffff16611221611aa4565b73ffffffffffffffffffffffffffffffffffffffff1614611277576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161126e906155eb565b60405180910390fd5b60005b8281101561129e5761128b82612fe6565b808061129690615af0565b91505061127a565b505050565b6112ab612b0a565b73ffffffffffffffffffffffffffffffffffffffff166112c9611aa4565b73ffffffffffffffffffffffffffffffffffffffff161461131f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611316906155eb565b60405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f1935050505061135d57600080fd5b50565b600061136b83611879565b82106113ac576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113a3906153cb565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b61271081565b601060019054906101000a900460ff1681565b611426612b0a565b73ffffffffffffffffffffffffffffffffffffffff16611444611aa4565b73ffffffffffffffffffffffffffffffffffffffff161461149a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611491906155eb565b60405180910390fd5b7f8e1024ce49ccbd0e81905d1bc31278d149acccf8a32c4fd591744a570ce2d82260405160405180910390a150565b6114d1612b0a565b73ffffffffffffffffffffffffffffffffffffffff166114ef611aa4565b73ffffffffffffffffffffffffffffffffffffffff1614611545576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161153c906155eb565b60405180910390fd5b8060148190555050565b61156a83838360405180602001604052806000815250612012565b505050565b60006115796110ad565b82106115ba576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115b19061572b565b60405180910390fd5b600882815481106115f4577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002001549050919050565b61160e612b0a565b73ffffffffffffffffffffffffffffffffffffffff1661162c611aa4565b73ffffffffffffffffffffffffffffffffffffffff1614611682576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611679906155eb565b60405180910390fd5b80600d9080519060200190611698929190613f18565b5050565b6116a4612b0a565b73ffffffffffffffffffffffffffffffffffffffff166116c2611aa4565b73ffffffffffffffffffffffffffffffffffffffff1614611718576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161170f906155eb565b60405180910390fd5b80601060016101000a81548160ff02191690831515021790555050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156117de576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117d59061556b565b60405180910390fd5b80915050919050565b6117ef612b0a565b73ffffffffffffffffffffffffffffffffffffffff1661180d611aa4565b73ffffffffffffffffffffffffffffffffffffffff1614611863576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161185a906155eb565b60405180910390fd5b8060178190555050565b60165481565b600f5481565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156118ea576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118e19061554b565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b611939612b0a565b73ffffffffffffffffffffffffffffffffffffffff16611957611aa4565b73ffffffffffffffffffffffffffffffffffffffff16146119ad576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119a4906155eb565b60405180910390fd5b6119b76000613045565b565b6119c1612b0a565b73ffffffffffffffffffffffffffffffffffffffff166119df611aa4565b73ffffffffffffffffffffffffffffffffffffffff1614611a35576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a2c906155eb565b60405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff166108fc479081150290604051600060405180830381858888f19350505050611a7357600080fd5b565b600080611a82848461310b565b9050600060116000838152602001908152602001600020541491505092915050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b611ad6612b0a565b73ffffffffffffffffffffffffffffffffffffffff16611af4611aa4565b73ffffffffffffffffffffffffffffffffffffffff1614611b4a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b41906155eb565b60405180910390fd5b8060158190555050565b606060018054611b6390615abe565b80601f0160208091040260200160405190810160405280929190818152602001828054611b8f90615abe565b8015611bdc5780601f10611bb157610100808354040283529160200191611bdc565b820191906000526020600020905b815481529060010190602001808311611bbf57829003601f168201915b5050505050905090565b611bee612b0a565b73ffffffffffffffffffffffffffffffffffffffff16611c0c611aa4565b73ffffffffffffffffffffffffffffffffffffffff1614611c62576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c59906155eb565b60405180910390fd5b8060168190555050565b611c74612b0a565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611ce2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cd9906154cb565b60405180910390fd5b8060056000611cef612b0a565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611d9c612b0a565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611de19190615329565b60405180910390a35050565b611df8838383611169565b611e37576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e2e906156ab565b60405180910390fd5b81601960008581526020019081526020016000209080519060200190611e5e929190613f18565b50505050565b611e6c612b0a565b73ffffffffffffffffffffffffffffffffffffffff16611e8a611aa4565b73ffffffffffffffffffffffffffffffffffffffff1614611ee0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ed7906155eb565b60405180910390fd5b60005b8151811015611f4857611f35828281518110611f28577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010151612fe6565b8080611f4090615af0565b915050611ee3565b5050565b60155481565b611f5a612b0a565b73ffffffffffffffffffffffffffffffffffffffff16611f78611aa4565b73ffffffffffffffffffffffffffffffffffffffff1614611fce576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fc5906155eb565b60405180910390fd5b80601360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b61202361201d612b0a565b83612c37565b612062576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612059906156eb565b60405180910390fd5b61206e84848484613164565b50505050565b606061207f82612b12565b6120be576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120b59061562b565b60405180910390fd5b60006120c86131c0565b905060008151116120e85760405180602001604052806000815250612113565b806120f284613252565b604051602001612103929190615211565b6040516020818303038152906040525b915050919050565b600080612128848461310b565b9050612133816133ff565b91505092915050565b60145481565b6002600c541415612188576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161217f9061574b565b60405180910390fd5b6002600c81905550601060009054906101000a900460ff166121df576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121d69061566b565b60405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff16601360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166358178168836040518263ffffffff1660e01b8152600401612251919061576b565b60206040518083038186803b15801561226957600080fd5b505afa15801561227d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906122a1919061424f565b73ffffffffffffffffffffffffffffffffffffffff16146122f7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122ee9061564b565b60405180910390fd5b60006014541161233c576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123339061558b565b60405180910390fd5b6123458161341e565b6014600081548092919061235890615a94565b919050555061236633612fe6565b6001600c8190555050565b6002600c5414156123b7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123ae9061574b565b60405180910390fd5b6002600c819055506123ff826040518060400160405280600881526020017f676976656177617900000000000000000000000000000000000000000000000081525083611169565b806124475750612446826040518060400160405280600881526020017f67697665617761790000000000000000000000000000000000000000000000008152503384612975565b5b612486576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161247d906156ab565b60405180910390fd5b60006012600084815260200190815260200160002054146124dc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124d3906153ab565b60405180910390fd5b600060155411612521576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612518906156cb565b60405180910390fd5b60126000838152602001908152602001600020600081548092919061254590615af0565b91905055506015600081548092919061255d90615a94565b919050555061256b33612fe6565b6001600c819055505050565b60126020528060005260406000206000915090505481565b612597612b0a565b73ffffffffffffffffffffffffffffffffffffffff166125b5611aa4565b73ffffffffffffffffffffffffffffffffffffffff161461260b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612602906155eb565b60405180910390fd5b8060188190555050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6126b1612b0a565b73ffffffffffffffffffffffffffffffffffffffff166126cf611aa4565b73ffffffffffffffffffffffffffffffffffffffff1614612725576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161271c906155eb565b60405180910390fd5b80601060006101000a81548160ff02191690831515021790555050565b6002600c541415612788576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161277f9061574b565b60405180910390fd5b6002600c81905550601060019054906101000a900460ff166127a957600080fd5b6000811180156127bb57506016548111155b6127fa576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127f19061552b565b60405180910390fd5b80600f546128089190615939565b34101561284a576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016128419061544b565b60405180910390fd5b60005b818110156128715761285e33612fe6565b808061286990615af0565b91505061284d565b506001600c8190555050565b612885612b0a565b73ffffffffffffffffffffffffffffffffffffffff166128a3611aa4565b73ffffffffffffffffffffffffffffffffffffffff16146128f9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016128f0906155eb565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415612969576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016129609061540b565b60405180910390fd5b61297281613045565b50565b60008085858560405160200161298d9392919061525d565b604051602081830303815290604052805190602001209050600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166129e88285612f71565b73ffffffffffffffffffffffffffffffffffffffff1614915050949350505050565b612a12612b0a565b73ffffffffffffffffffffffffffffffffffffffff16612a30611aa4565b73ffffffffffffffffffffffffffffffffffffffff1614612a86576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a7d906155eb565b60405180910390fd5b80600f8190555050565b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480612b035750612b02826134f7565b5b9050919050565b600033905090565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16612bf183611735565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000612c4282612b12565b612c81576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c78906154eb565b60405180910390fd5b6000612c8c83611735565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480612cfb57508373ffffffffffffffffffffffffffffffffffffffff16612ce384610f0a565b73ffffffffffffffffffffffffffffffffffffffff16145b80612d0c5750612d0b8185612615565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16612d3582611735565b73ffffffffffffffffffffffffffffffffffffffff1614612d8b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d829061560b565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612dfb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612df2906154ab565b60405180910390fd5b612e068383836135d9565b612e11600082612b7e565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612e619190615993565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612eb891906158b2565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b600080600080612f80856135e9565b80935081945082955050505060018684848460405160008152602001604052604051612faf9493929190615344565b6020604051602081039080840390855afa158015612fd1573d6000803e3d6000fd5b50505060206040510351935050505092915050565b612710612ff16110ad565b10613031576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016130289061548b565b60405180910390fd5b6130428161303d6110ad565b61362c565b50565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6000806018548361311c9190615b67565b836131279190615993565b90506000848260405160200161313e929190615296565b6040516020818303038152906040528051906020012060001c9050809250505092915050565b61316f848484612d15565b61317b8484848461364a565b6131ba576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016131b1906153eb565b60405180910390fd5b50505050565b6060600d80546131cf90615abe565b80601f01602080910402602001604051908101604052809291908181526020018280546131fb90615abe565b80156132485780601f1061321d57610100808354040283529160200191613248565b820191906000526020600020905b81548152906001019060200180831161322b57829003601f168201915b5050505050905090565b6060600082141561329a576040518060400160405280600181526020017f300000000000000000000000000000000000000000000000000000000000000081525090506133fa565b600082905060005b600082146132cc5780806132b590615af0565b915050600a826132c59190615908565b91506132a2565b60008167ffffffffffffffff81111561330e577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156133405781602001600182028036833780820191505090505b5090505b600085146133f3576001826133599190615993565b9150600a856133689190615b67565b603061337491906158b2565b60f81b8183815181106133b0577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856133ec9190615908565b9450613344565b8093505050505b919050565b600080601754836134109190615b67565b905060008114915050919050565b600061342a824361310b565b90506000601160008381526020019081526020016000205414613482576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016134799061546b565b60405180910390fd5b61348b816133ff565b6134ca576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016134c19061570b565b60405180910390fd5b6011600082815260200190815260200160002060008154809291906134ee90615af0565b91905055505050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806135c257507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806135d257506135d1826137e1565b5b9050919050565b6135e483838361384b565b505050565b600080600060418451146135fc57600080fd5b60008060006020870151925060408701519150606087015160001a90508083839550955095505050509193909250565b61364682826040518060200160405280600081525061395f565b5050565b600061366b8473ffffffffffffffffffffffffffffffffffffffff166139ba565b156137d4578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02613694612b0a565b8786866040518563ffffffff1660e01b81526004016136b694939291906152dd565b602060405180830381600087803b1580156136d057600080fd5b505af192505050801561370157506040513d601f19601f820116820180604052508101906136fe91906144ca565b60015b613784573d8060008114613731576040519150601f19603f3d011682016040523d82523d6000602084013e613736565b606091505b5060008151141561377c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613773906153eb565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149150506137d9565b600190505b949350505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b6138568383836139cd565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141561389957613894816139d2565b6138d8565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16146138d7576138d68382613a1b565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561391b5761391681613b88565b61395a565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614613959576139588282613ccb565b5b5b505050565b6139698383613d4a565b613976600084848461364a565b6139b5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016139ac906153eb565b60405180910390fd5b505050565b600080823b905060008111915050919050565b505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b60006001613a2884611879565b613a329190615993565b9050600060076000848152602001908152602001600020549050818114613b17576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b60006001600880549050613b9c9190615993565b9050600060096000848152602001908152602001600020549050600060088381548110613bf2577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b906000526020600020015490508060088381548110613c3a577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b906000526020600020018190555081600960008381526020019081526020016000208190555060096000858152602001908152602001600020600090556008805480613caf577f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b6001900381819060005260206000200160009055905550505050565b6000613cd683611879565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415613dba576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613db1906155ab565b60405180910390fd5b613dc381612b12565b15613e03576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613dfa9061542b565b60405180910390fd5b613e0f600083836135d9565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254613e5f91906158b2565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b828054613f2490615abe565b90600052602060002090601f016020900481019282613f465760008555613f8d565b82601f10613f5f57805160ff1916838001178555613f8d565b82800160010185558215613f8d579182015b82811115613f8c578251825591602001919060010190613f71565b5b509050613f9a9190613f9e565b5090565b5b80821115613fb7576000816000905550600101613f9f565b5090565b6000613fce613fc9846157b7565b615786565b90508083825260208201905082856020860282011115613fed57600080fd5b60005b8581101561401d57816140038882614100565b845260208401935060208301925050600181019050613ff0565b5050509392505050565b600061403a614035846157e3565b615786565b9050808382526020820190508260005b8581101561407a578135850161406088826141bd565b84526020840193506020830192505060018101905061404a565b5050509392505050565b60006140976140928461580f565b615786565b9050828152602081018484840111156140af57600080fd5b6140ba848285615a52565b509392505050565b60006140d56140d08461583f565b615786565b9050828152602081018484840111156140ed57600080fd5b6140f8848285615a52565b509392505050565b60008135905061410f81615c72565b92915050565b60008151905061412481615c72565b92915050565b600082601f83011261413b57600080fd5b813561414b848260208601613fbb565b91505092915050565b600082601f83011261416557600080fd5b8135614175848260208601614027565b91505092915050565b60008135905061418d81615c89565b92915050565b6000813590506141a281615ca0565b92915050565b6000815190506141b781615ca0565b92915050565b600082601f8301126141ce57600080fd5b81356141de848260208601614084565b91505092915050565b600082601f8301126141f857600080fd5b81356142088482602086016140c2565b91505092915050565b60008135905061422081615cb7565b92915050565b60006020828403121561423857600080fd5b600061424684828501614100565b91505092915050565b60006020828403121561426157600080fd5b600061426f84828501614115565b91505092915050565b6000806040838503121561428b57600080fd5b600061429985828601614100565b92505060206142aa85828601614100565b9150509250929050565b6000806000606084860312156142c957600080fd5b60006142d786828701614100565b93505060206142e886828701614100565b92505060406142f986828701614211565b9150509250925092565b6000806000806080858703121561431957600080fd5b600061432787828801614100565b945050602061433887828801614100565b935050604061434987828801614211565b925050606085013567ffffffffffffffff81111561436657600080fd5b614372878288016141bd565b91505092959194509250565b6000806040838503121561439157600080fd5b600061439f85828601614100565b92505060206143b08582860161417e565b9150509250929050565b600080604083850312156143cd57600080fd5b60006143db85828601614100565b92505060206143ec85828601614211565b9150509250929050565b60006020828403121561440857600080fd5b600082013567ffffffffffffffff81111561442257600080fd5b61442e8482850161412a565b91505092915050565b60006020828403121561444957600080fd5b600082013567ffffffffffffffff81111561446357600080fd5b61446f84828501614154565b91505092915050565b60006020828403121561448a57600080fd5b60006144988482850161417e565b91505092915050565b6000602082840312156144b357600080fd5b60006144c184828501614193565b91505092915050565b6000602082840312156144dc57600080fd5b60006144ea848285016141a8565b91505092915050565b60006020828403121561450557600080fd5b600082013567ffffffffffffffff81111561451f57600080fd5b61452b848285016141e7565b91505092915050565b60006020828403121561454657600080fd5b600061455484828501614211565b91505092915050565b6000806040838503121561457057600080fd5b600061457e85828601614211565b925050602061458f85828601614100565b9150509250929050565b600080604083850312156145ac57600080fd5b60006145ba85828601614211565b925050602083013567ffffffffffffffff8111156145d757600080fd5b6145e3858286016141bd565b9150509250929050565b6000806000806080858703121561460357600080fd5b600061461187828801614211565b945050602085013567ffffffffffffffff81111561462e57600080fd5b61463a878288016141e7565b935050604061464b87828801614100565b925050606085013567ffffffffffffffff81111561466857600080fd5b614674878288016141bd565b91505092959194509250565b60008060006060848603121561469557600080fd5b60006146a386828701614211565b935050602084013567ffffffffffffffff8111156146c057600080fd5b6146cc868287016141e7565b925050604084013567ffffffffffffffff8111156146e957600080fd5b6146f5868287016141bd565b9150509250925092565b6000806040838503121561471257600080fd5b600061472085828601614211565b925050602061473185828601614211565b9150509250929050565b614744816159c7565b82525050565b61475b614756826159c7565b615b39565b82525050565b61476a816159d9565b82525050565b614779816159e5565b82525050565b600061478a8261586f565b6147948185615885565b93506147a4818560208601615a61565b6147ad81615c54565b840191505092915050565b60006147c38261587a565b6147cd8185615896565b93506147dd818560208601615a61565b6147e681615c54565b840191505092915050565b60006147fc8261587a565b61480681856158a7565b9350614816818560208601615a61565b80840191505092915050565b600061482f602183615896565b91507f416c7265616479206d696e74656420776974682074686973206769766561776160008301527f79000000000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000614895602b83615896565b91507f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008301527f74206f6620626f756e64730000000000000000000000000000000000000000006020830152604082019050919050565b60006148fb603283615896565b91507f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008301527f63656976657220696d706c656d656e74657200000000000000000000000000006020830152604082019050919050565b6000614961602683615896565b91507f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008301527f64647265737300000000000000000000000000000000000000000000000000006020830152604082019050919050565b60006149c7601c83615896565b91507f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006000830152602082019050919050565b6000614a07601583615896565b91507f4574682076616c75652062656c6f7720707269636500000000000000000000006000830152602082019050919050565b6000614a47601c83615896565b91507f50756e6b20616c72656164792075736564207468697320626c6f636b000000006000830152602082019050919050565b6000614a87601283615896565b91507f52656163686564206d617820737570706c7900000000000000000000000000006000830152602082019050919050565b6000614ac7602483615896565b91507f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008301527f72657373000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000614b2d601983615896565b91507f4552433732313a20617070726f766520746f2063616c6c6572000000000000006000830152602082019050919050565b6000614b6d602c83615896565b91507f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008301527f697374656e7420746f6b656e00000000000000000000000000000000000000006020830152604082019050919050565b6000614bd3603883615896565b91507f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008301527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006020830152604082019050919050565b6000614c39601c83615896565b91507f4d757374206d696e7420617070726f70726961746520616d6f756e74000000006000830152602082019050919050565b6000614c79602a83615896565b91507f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008301527f726f2061646472657373000000000000000000000000000000000000000000006020830152604082019050919050565b6000614cdf602983615896565b91507f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008301527f656e7420746f6b656e00000000000000000000000000000000000000000000006020830152604082019050919050565b6000614d45601783615896565b91507f4e6f2070756e6b206d696e74732072656d61696e696e670000000000000000006000830152602082019050919050565b6000614d85602083615896565b91507f4552433732313a206d696e7420746f20746865207a65726f20616464726573736000830152602082019050919050565b6000614dc5602c83615896565b91507f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008301527f697374656e7420746f6b656e00000000000000000000000000000000000000006020830152604082019050919050565b6000614e2b602083615896565b91507f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726000830152602082019050919050565b6000614e6b602983615896565b91507f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008301527f73206e6f74206f776e00000000000000000000000000000000000000000000006020830152604082019050919050565b6000614ed1602f83615896565b91507f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008301527f6e6578697374656e7420746f6b656e00000000000000000000000000000000006020830152604082019050919050565b6000614f37601383615896565b91507f4e6f74207468652070756e6b206f776e65722e000000000000000000000000006000830152602082019050919050565b6000614f77601683615896565b91507f436f6d6d756e697479204772616e74206973206f6666000000000000000000006000830152602082019050919050565b6000614fb7602183615896565b91507f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008301527f72000000000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b600061501d600b83615896565b91507f496e76616c6964205369670000000000000000000000000000000000000000006000830152602082019050919050565b600061505d601b83615896565b91507f4e6f206769766561776179206d696e74732072656d61696e696e6700000000006000830152602082019050919050565b600061509d603183615896565b91507f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008301527f776e6572206e6f7220617070726f7665640000000000000000000000000000006020830152604082019050919050565b6000615103601583615896565b91507f54727920616761696e2c206261642074696d696e6700000000000000000000006000830152602082019050919050565b6000615143602c83615896565b91507f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008301527f7574206f6620626f756e647300000000000000000000000000000000000000006020830152604082019050919050565b60006151a9601f83615896565b91507f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006000830152602082019050919050565b6151e581615a3b565b82525050565b6151fc6151f782615a3b565b615b5d565b82525050565b61520b81615a45565b82525050565b600061521d82856147f1565b915061522982846147f1565b91508190509392505050565b600061524182856151eb565b60208201915061525182846147f1565b91508190509392505050565b600061526982866151eb565b60208201915061527982856147f1565b9150615285828461474a565b601482019150819050949350505050565b60006152a282856151eb565b6020820191506152b282846151eb565b6020820191508190509392505050565b60006020820190506152d7600083018461473b565b92915050565b60006080820190506152f2600083018761473b565b6152ff602083018661473b565b61530c60408301856151dc565b818103606083015261531e818461477f565b905095945050505050565b600060208201905061533e6000830184614761565b92915050565b60006080820190506153596000830187614770565b6153666020830186615202565b6153736040830185614770565b6153806060830184614770565b95945050505050565b600060208201905081810360008301526153a381846147b8565b905092915050565b600060208201905081810360008301526153c481614822565b9050919050565b600060208201905081810360008301526153e481614888565b9050919050565b60006020820190508181036000830152615404816148ee565b9050919050565b6000602082019050818103600083015261542481614954565b9050919050565b60006020820190508181036000830152615444816149ba565b9050919050565b60006020820190508181036000830152615464816149fa565b9050919050565b6000602082019050818103600083015261548481614a3a565b9050919050565b600060208201905081810360008301526154a481614a7a565b9050919050565b600060208201905081810360008301526154c481614aba565b9050919050565b600060208201905081810360008301526154e481614b20565b9050919050565b6000602082019050818103600083015261550481614b60565b9050919050565b6000602082019050818103600083015261552481614bc6565b9050919050565b6000602082019050818103600083015261554481614c2c565b9050919050565b6000602082019050818103600083015261556481614c6c565b9050919050565b6000602082019050818103600083015261558481614cd2565b9050919050565b600060208201905081810360008301526155a481614d38565b9050919050565b600060208201905081810360008301526155c481614d78565b9050919050565b600060208201905081810360008301526155e481614db8565b9050919050565b6000602082019050818103600083015261560481614e1e565b9050919050565b6000602082019050818103600083015261562481614e5e565b9050919050565b6000602082019050818103600083015261564481614ec4565b9050919050565b6000602082019050818103600083015261566481614f2a565b9050919050565b6000602082019050818103600083015261568481614f6a565b9050919050565b600060208201905081810360008301526156a481614faa565b9050919050565b600060208201905081810360008301526156c481615010565b9050919050565b600060208201905081810360008301526156e481615050565b9050919050565b6000602082019050818103600083015261570481615090565b9050919050565b60006020820190508181036000830152615724816150f6565b9050919050565b6000602082019050818103600083015261574481615136565b9050919050565b600060208201905081810360008301526157648161519c565b9050919050565b600060208201905061578060008301846151dc565b92915050565b6000604051905081810181811067ffffffffffffffff821117156157ad576157ac615c25565b5b8060405250919050565b600067ffffffffffffffff8211156157d2576157d1615c25565b5b602082029050602081019050919050565b600067ffffffffffffffff8211156157fe576157fd615c25565b5b602082029050602081019050919050565b600067ffffffffffffffff82111561582a57615829615c25565b5b601f19601f8301169050602081019050919050565b600067ffffffffffffffff82111561585a57615859615c25565b5b601f19601f8301169050602081019050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b60006158bd82615a3b565b91506158c883615a3b565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156158fd576158fc615b98565b5b828201905092915050565b600061591382615a3b565b915061591e83615a3b565b92508261592e5761592d615bc7565b5b828204905092915050565b600061594482615a3b565b915061594f83615a3b565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561598857615987615b98565b5b828202905092915050565b600061599e82615a3b565b91506159a983615a3b565b9250828210156159bc576159bb615b98565b5b828203905092915050565b60006159d282615a1b565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600060ff82169050919050565b82818337600083830152505050565b60005b83811015615a7f578082015181840152602081019050615a64565b83811115615a8e576000848401525b50505050565b6000615a9f82615a3b565b91506000821415615ab357615ab2615b98565b5b600182039050919050565b60006002820490506001821680615ad657607f821691505b60208210811415615aea57615ae9615bf6565b5b50919050565b6000615afb82615a3b565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415615b2e57615b2d615b98565b5b600182019050919050565b6000615b4482615b4b565b9050919050565b6000615b5682615c65565b9050919050565b6000819050919050565b6000615b7282615a3b565b9150615b7d83615a3b565b925082615b8d57615b8c615bc7565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b60008160601b9050919050565b615c7b816159c7565b8114615c8657600080fd5b50565b615c92816159d9565b8114615c9d57600080fd5b50565b615ca9816159ef565b8114615cb457600080fd5b50565b615cc081615a3b565b8114615ccb57600080fd5b5056fea264697066735822122027c982d4f5179bf624607932b9f01182696c19668acd1ff61fe848fd32aa8c4464736f6c6343000800003300000000000000000000000092e1cd190034af12e52d023c76e62c083a69a91e0000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000002c687474703a2f2f63796265726e65746963726573656172636867726f75702e636f6d2f6d657461646174612f0000000000000000000000000000000000000000

Deployed Bytecode

0x6080604052600436106103355760003560e01c806370a08231116101ab578063b88d4fde116100f7578063e4b1148511610095578063efd0cbf91161006f578063efd0cbf914610c48578063f2fde38b14610c64578063f3eb2e7f14610c8d578063f4a0a52814610cca57610335565b8063e4b1148514610bb9578063e985e9c514610be2578063e9f5772614610c1f57610335565b8063ccc941c7116100d1578063ccc941c714610aff578063ce17787814610b2a578063dbcea3a414610b53578063de25d55714610b7c57610335565b8063b88d4fde14610a5c578063c87b56dd14610a85578063cbc2d84714610ac257610335565b806395d89b4111610164578063a34eac4b1161013e578063a34eac4b146109b6578063a55d825a146109df578063ac1306fc14610a08578063b76c3bb614610a3357610335565b806395d89b41146109395780639b3b1d6e14610964578063a22cb4651461098d57610335565b806370a082311461083d578063715018a61461087a578063853828b61461089157806388492779146108a85780638da5cb5b146108e557806393b158a81461091057610335565b80632e1a7d4d116102855780634f6ccce7116102235780636352211e116101fd5780636352211e1461078157806363937a75146107be578063677a7385146107e75780636817c76c1461081257610335565b80634f6ccce7146106f257806355f804b31461072f5780635aca1bb61461075857610335565b806333bc1c5c1161025f57806333bc1c5c1461064c5780633b6fb3db146106775780633ee589b2146106a057806342842e0e146106c957610335565b80632e1a7d4d146105bb5780632f745c59146105e457806332cb6b0c1461062157610335565b8063095ea7b3116102f257806323680400116102cc57806323680400146104ef57806323b872dd1461052c57806324a69a7e146105555780632d1a12f61461059257610335565b8063095ea7b314610470578063176345141461049957806318160ddd146104c457610335565b806301ffc9a71461033a57806302b2020b146103775780630614a6ba146103b457806306959429146103df57806306fdde0314610408578063081812fc14610433575b600080fd5b34801561034657600080fd5b50610361600480360381019061035c91906144a1565b610cf3565b60405161036e9190615329565b60405180910390f35b34801561038357600080fd5b5061039e60048036038101906103999190614534565b610d05565b6040516103ab9190615389565b60405180910390f35b3480156103c057600080fd5b506103c9610da5565b6040516103d69190615329565b60405180910390f35b3480156103eb57600080fd5b5061040660048036038101906104019190614226565b610db8565b005b34801561041457600080fd5b5061041d610e78565b60405161042a9190615389565b60405180910390f35b34801561043f57600080fd5b5061045a60048036038101906104559190614534565b610f0a565b60405161046791906152c2565b60405180910390f35b34801561047c57600080fd5b50610497600480360381019061049291906143ba565b610f8f565b005b3480156104a557600080fd5b506104ae6110a7565b6040516104bb919061576b565b60405180910390f35b3480156104d057600080fd5b506104d96110ad565b6040516104e6919061576b565b60405180910390f35b3480156104fb57600080fd5b5061051660048036038101906105119190614534565b6110ba565b604051610523919061576b565b60405180910390f35b34801561053857600080fd5b50610553600480360381019061054e91906142b4565b611109565b005b34801561056157600080fd5b5061057c60048036038101906105779190614680565b611169565b6040516105899190615329565b60405180910390f35b34801561059e57600080fd5b506105b960048036038101906105b4919061455d565b6111fb565b005b3480156105c757600080fd5b506105e260048036038101906105dd9190614534565b6112a3565b005b3480156105f057600080fd5b5061060b600480360381019061060691906143ba565b611360565b604051610618919061576b565b60405180910390f35b34801561062d57600080fd5b50610636611405565b604051610643919061576b565b60405180910390f35b34801561065857600080fd5b5061066161140b565b60405161066e9190615329565b60405180910390f35b34801561068357600080fd5b5061069e60048036038101906106999190614437565b61141e565b005b3480156106ac57600080fd5b506106c760048036038101906106c29190614534565b6114c9565b005b3480156106d557600080fd5b506106f060048036038101906106eb91906142b4565b61154f565b005b3480156106fe57600080fd5b5061071960048036038101906107149190614534565b61156f565b604051610726919061576b565b60405180910390f35b34801561073b57600080fd5b50610756600480360381019061075191906144f3565b611606565b005b34801561076457600080fd5b5061077f600480360381019061077a9190614478565b61169c565b005b34801561078d57600080fd5b506107a860048036038101906107a39190614534565b611735565b6040516107b591906152c2565b60405180910390f35b3480156107ca57600080fd5b506107e560048036038101906107e09190614534565b6117e7565b005b3480156107f357600080fd5b506107fc61186d565b604051610809919061576b565b60405180910390f35b34801561081e57600080fd5b50610827611873565b604051610834919061576b565b60405180910390f35b34801561084957600080fd5b50610864600480360381019061085f9190614226565b611879565b604051610871919061576b565b60405180910390f35b34801561088657600080fd5b5061088f611931565b005b34801561089d57600080fd5b506108a66119b9565b005b3480156108b457600080fd5b506108cf60048036038101906108ca91906146ff565b611a75565b6040516108dc9190615329565b60405180910390f35b3480156108f157600080fd5b506108fa611aa4565b60405161090791906152c2565b60405180910390f35b34801561091c57600080fd5b5061093760048036038101906109329190614534565b611ace565b005b34801561094557600080fd5b5061094e611b54565b60405161095b9190615389565b60405180910390f35b34801561097057600080fd5b5061098b60048036038101906109869190614534565b611be6565b005b34801561099957600080fd5b506109b460048036038101906109af919061437e565b611c6c565b005b3480156109c257600080fd5b506109dd60048036038101906109d89190614680565b611ded565b005b3480156109eb57600080fd5b50610a066004803603810190610a0191906143f6565b611e64565b005b348015610a1457600080fd5b50610a1d611f4c565b604051610a2a919061576b565b60405180910390f35b348015610a3f57600080fd5b50610a5a6004803603810190610a559190614226565b611f52565b005b348015610a6857600080fd5b50610a836004803603810190610a7e9190614303565b612012565b005b348015610a9157600080fd5b50610aac6004803603810190610aa79190614534565b612074565b604051610ab99190615389565b60405180910390f35b348015610ace57600080fd5b50610ae96004803603810190610ae491906146ff565b61211b565b604051610af69190615329565b60405180910390f35b348015610b0b57600080fd5b50610b1461213c565b604051610b21919061576b565b60405180910390f35b348015610b3657600080fd5b50610b516004803603810190610b4c9190614534565b612142565b005b348015610b5f57600080fd5b50610b7a6004803603810190610b759190614599565b612371565b005b348015610b8857600080fd5b50610ba36004803603810190610b9e9190614534565b612577565b604051610bb0919061576b565b60405180910390f35b348015610bc557600080fd5b50610be06004803603810190610bdb9190614534565b61258f565b005b348015610bee57600080fd5b50610c096004803603810190610c049190614278565b612615565b604051610c169190615329565b60405180910390f35b348015610c2b57600080fd5b50610c466004803603810190610c419190614478565b6126a9565b005b610c626004803603810190610c5d9190614534565b612742565b005b348015610c7057600080fd5b50610c8b6004803603810190610c869190614226565b61287d565b005b348015610c9957600080fd5b50610cb46004803603810190610caf91906145ed565b612975565b604051610cc19190615329565b60405180910390f35b348015610cd657600080fd5b50610cf16004803603810190610cec9190614534565b612a0a565b005b6000610cfe82612a90565b9050919050565b60196020528060005260406000206000915090508054610d2490615abe565b80601f0160208091040260200160405190810160405280929190818152602001828054610d5090615abe565b8015610d9d5780601f10610d7257610100808354040283529160200191610d9d565b820191906000526020600020905b815481529060010190602001808311610d8057829003601f168201915b505050505081565b601060009054906101000a900460ff1681565b610dc0612b0a565b73ffffffffffffffffffffffffffffffffffffffff16610dde611aa4565b73ffffffffffffffffffffffffffffffffffffffff1614610e34576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e2b906155eb565b60405180910390fd5b80600b60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b606060008054610e8790615abe565b80601f0160208091040260200160405190810160405280929190818152602001828054610eb390615abe565b8015610f005780601f10610ed557610100808354040283529160200191610f00565b820191906000526020600020905b815481529060010190602001808311610ee357829003601f168201915b5050505050905090565b6000610f1582612b12565b610f54576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f4b906155cb565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610f9a82611735565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141561100b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110029061568b565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff1661102a612b0a565b73ffffffffffffffffffffffffffffffffffffffff161480611059575061105881611053612b0a565b612615565b5b611098576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161108f9061550b565b60405180910390fd5b6110a28383612b7e565b505050565b600e5481565b6000600880549050905090565b60006110c46110ad565b82106110d35760009050611104565b81600e546040516020016110e8929190615296565b6040516020818303038152906040528051906020012060001c90505b919050565b61111a611114612b0a565b82612c37565b611159576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611150906156eb565b60405180910390fd5b611164838383612d15565b505050565b600080848460405160200161117f929190615235565b604051602081830303815290604052805190602001209050600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166111da8285612f71565b73ffffffffffffffffffffffffffffffffffffffff16149150509392505050565b611203612b0a565b73ffffffffffffffffffffffffffffffffffffffff16611221611aa4565b73ffffffffffffffffffffffffffffffffffffffff1614611277576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161126e906155eb565b60405180910390fd5b60005b8281101561129e5761128b82612fe6565b808061129690615af0565b91505061127a565b505050565b6112ab612b0a565b73ffffffffffffffffffffffffffffffffffffffff166112c9611aa4565b73ffffffffffffffffffffffffffffffffffffffff161461131f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611316906155eb565b60405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f1935050505061135d57600080fd5b50565b600061136b83611879565b82106113ac576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113a3906153cb565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b61271081565b601060019054906101000a900460ff1681565b611426612b0a565b73ffffffffffffffffffffffffffffffffffffffff16611444611aa4565b73ffffffffffffffffffffffffffffffffffffffff161461149a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611491906155eb565b60405180910390fd5b7f8e1024ce49ccbd0e81905d1bc31278d149acccf8a32c4fd591744a570ce2d82260405160405180910390a150565b6114d1612b0a565b73ffffffffffffffffffffffffffffffffffffffff166114ef611aa4565b73ffffffffffffffffffffffffffffffffffffffff1614611545576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161153c906155eb565b60405180910390fd5b8060148190555050565b61156a83838360405180602001604052806000815250612012565b505050565b60006115796110ad565b82106115ba576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115b19061572b565b60405180910390fd5b600882815481106115f4577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002001549050919050565b61160e612b0a565b73ffffffffffffffffffffffffffffffffffffffff1661162c611aa4565b73ffffffffffffffffffffffffffffffffffffffff1614611682576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611679906155eb565b60405180910390fd5b80600d9080519060200190611698929190613f18565b5050565b6116a4612b0a565b73ffffffffffffffffffffffffffffffffffffffff166116c2611aa4565b73ffffffffffffffffffffffffffffffffffffffff1614611718576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161170f906155eb565b60405180910390fd5b80601060016101000a81548160ff02191690831515021790555050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156117de576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117d59061556b565b60405180910390fd5b80915050919050565b6117ef612b0a565b73ffffffffffffffffffffffffffffffffffffffff1661180d611aa4565b73ffffffffffffffffffffffffffffffffffffffff1614611863576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161185a906155eb565b60405180910390fd5b8060178190555050565b60165481565b600f5481565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156118ea576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118e19061554b565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b611939612b0a565b73ffffffffffffffffffffffffffffffffffffffff16611957611aa4565b73ffffffffffffffffffffffffffffffffffffffff16146119ad576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119a4906155eb565b60405180910390fd5b6119b76000613045565b565b6119c1612b0a565b73ffffffffffffffffffffffffffffffffffffffff166119df611aa4565b73ffffffffffffffffffffffffffffffffffffffff1614611a35576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a2c906155eb565b60405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff166108fc479081150290604051600060405180830381858888f19350505050611a7357600080fd5b565b600080611a82848461310b565b9050600060116000838152602001908152602001600020541491505092915050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b611ad6612b0a565b73ffffffffffffffffffffffffffffffffffffffff16611af4611aa4565b73ffffffffffffffffffffffffffffffffffffffff1614611b4a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b41906155eb565b60405180910390fd5b8060158190555050565b606060018054611b6390615abe565b80601f0160208091040260200160405190810160405280929190818152602001828054611b8f90615abe565b8015611bdc5780601f10611bb157610100808354040283529160200191611bdc565b820191906000526020600020905b815481529060010190602001808311611bbf57829003601f168201915b5050505050905090565b611bee612b0a565b73ffffffffffffffffffffffffffffffffffffffff16611c0c611aa4565b73ffffffffffffffffffffffffffffffffffffffff1614611c62576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c59906155eb565b60405180910390fd5b8060168190555050565b611c74612b0a565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611ce2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cd9906154cb565b60405180910390fd5b8060056000611cef612b0a565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611d9c612b0a565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611de19190615329565b60405180910390a35050565b611df8838383611169565b611e37576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e2e906156ab565b60405180910390fd5b81601960008581526020019081526020016000209080519060200190611e5e929190613f18565b50505050565b611e6c612b0a565b73ffffffffffffffffffffffffffffffffffffffff16611e8a611aa4565b73ffffffffffffffffffffffffffffffffffffffff1614611ee0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ed7906155eb565b60405180910390fd5b60005b8151811015611f4857611f35828281518110611f28577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010151612fe6565b8080611f4090615af0565b915050611ee3565b5050565b60155481565b611f5a612b0a565b73ffffffffffffffffffffffffffffffffffffffff16611f78611aa4565b73ffffffffffffffffffffffffffffffffffffffff1614611fce576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fc5906155eb565b60405180910390fd5b80601360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b61202361201d612b0a565b83612c37565b612062576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612059906156eb565b60405180910390fd5b61206e84848484613164565b50505050565b606061207f82612b12565b6120be576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120b59061562b565b60405180910390fd5b60006120c86131c0565b905060008151116120e85760405180602001604052806000815250612113565b806120f284613252565b604051602001612103929190615211565b6040516020818303038152906040525b915050919050565b600080612128848461310b565b9050612133816133ff565b91505092915050565b60145481565b6002600c541415612188576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161217f9061574b565b60405180910390fd5b6002600c81905550601060009054906101000a900460ff166121df576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121d69061566b565b60405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff16601360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166358178168836040518263ffffffff1660e01b8152600401612251919061576b565b60206040518083038186803b15801561226957600080fd5b505afa15801561227d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906122a1919061424f565b73ffffffffffffffffffffffffffffffffffffffff16146122f7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122ee9061564b565b60405180910390fd5b60006014541161233c576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123339061558b565b60405180910390fd5b6123458161341e565b6014600081548092919061235890615a94565b919050555061236633612fe6565b6001600c8190555050565b6002600c5414156123b7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123ae9061574b565b60405180910390fd5b6002600c819055506123ff826040518060400160405280600881526020017f676976656177617900000000000000000000000000000000000000000000000081525083611169565b806124475750612446826040518060400160405280600881526020017f67697665617761790000000000000000000000000000000000000000000000008152503384612975565b5b612486576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161247d906156ab565b60405180910390fd5b60006012600084815260200190815260200160002054146124dc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124d3906153ab565b60405180910390fd5b600060155411612521576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612518906156cb565b60405180910390fd5b60126000838152602001908152602001600020600081548092919061254590615af0565b91905055506015600081548092919061255d90615a94565b919050555061256b33612fe6565b6001600c819055505050565b60126020528060005260406000206000915090505481565b612597612b0a565b73ffffffffffffffffffffffffffffffffffffffff166125b5611aa4565b73ffffffffffffffffffffffffffffffffffffffff161461260b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612602906155eb565b60405180910390fd5b8060188190555050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6126b1612b0a565b73ffffffffffffffffffffffffffffffffffffffff166126cf611aa4565b73ffffffffffffffffffffffffffffffffffffffff1614612725576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161271c906155eb565b60405180910390fd5b80601060006101000a81548160ff02191690831515021790555050565b6002600c541415612788576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161277f9061574b565b60405180910390fd5b6002600c81905550601060019054906101000a900460ff166127a957600080fd5b6000811180156127bb57506016548111155b6127fa576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127f19061552b565b60405180910390fd5b80600f546128089190615939565b34101561284a576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016128419061544b565b60405180910390fd5b60005b818110156128715761285e33612fe6565b808061286990615af0565b91505061284d565b506001600c8190555050565b612885612b0a565b73ffffffffffffffffffffffffffffffffffffffff166128a3611aa4565b73ffffffffffffffffffffffffffffffffffffffff16146128f9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016128f0906155eb565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415612969576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016129609061540b565b60405180910390fd5b61297281613045565b50565b60008085858560405160200161298d9392919061525d565b604051602081830303815290604052805190602001209050600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166129e88285612f71565b73ffffffffffffffffffffffffffffffffffffffff1614915050949350505050565b612a12612b0a565b73ffffffffffffffffffffffffffffffffffffffff16612a30611aa4565b73ffffffffffffffffffffffffffffffffffffffff1614612a86576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a7d906155eb565b60405180910390fd5b80600f8190555050565b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480612b035750612b02826134f7565b5b9050919050565b600033905090565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16612bf183611735565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000612c4282612b12565b612c81576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c78906154eb565b60405180910390fd5b6000612c8c83611735565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480612cfb57508373ffffffffffffffffffffffffffffffffffffffff16612ce384610f0a565b73ffffffffffffffffffffffffffffffffffffffff16145b80612d0c5750612d0b8185612615565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16612d3582611735565b73ffffffffffffffffffffffffffffffffffffffff1614612d8b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d829061560b565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612dfb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612df2906154ab565b60405180910390fd5b612e068383836135d9565b612e11600082612b7e565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612e619190615993565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612eb891906158b2565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b600080600080612f80856135e9565b80935081945082955050505060018684848460405160008152602001604052604051612faf9493929190615344565b6020604051602081039080840390855afa158015612fd1573d6000803e3d6000fd5b50505060206040510351935050505092915050565b612710612ff16110ad565b10613031576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016130289061548b565b60405180910390fd5b6130428161303d6110ad565b61362c565b50565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6000806018548361311c9190615b67565b836131279190615993565b90506000848260405160200161313e929190615296565b6040516020818303038152906040528051906020012060001c9050809250505092915050565b61316f848484612d15565b61317b8484848461364a565b6131ba576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016131b1906153eb565b60405180910390fd5b50505050565b6060600d80546131cf90615abe565b80601f01602080910402602001604051908101604052809291908181526020018280546131fb90615abe565b80156132485780601f1061321d57610100808354040283529160200191613248565b820191906000526020600020905b81548152906001019060200180831161322b57829003601f168201915b5050505050905090565b6060600082141561329a576040518060400160405280600181526020017f300000000000000000000000000000000000000000000000000000000000000081525090506133fa565b600082905060005b600082146132cc5780806132b590615af0565b915050600a826132c59190615908565b91506132a2565b60008167ffffffffffffffff81111561330e577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156133405781602001600182028036833780820191505090505b5090505b600085146133f3576001826133599190615993565b9150600a856133689190615b67565b603061337491906158b2565b60f81b8183815181106133b0577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856133ec9190615908565b9450613344565b8093505050505b919050565b600080601754836134109190615b67565b905060008114915050919050565b600061342a824361310b565b90506000601160008381526020019081526020016000205414613482576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016134799061546b565b60405180910390fd5b61348b816133ff565b6134ca576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016134c19061570b565b60405180910390fd5b6011600082815260200190815260200160002060008154809291906134ee90615af0565b91905055505050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806135c257507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806135d257506135d1826137e1565b5b9050919050565b6135e483838361384b565b505050565b600080600060418451146135fc57600080fd5b60008060006020870151925060408701519150606087015160001a90508083839550955095505050509193909250565b61364682826040518060200160405280600081525061395f565b5050565b600061366b8473ffffffffffffffffffffffffffffffffffffffff166139ba565b156137d4578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02613694612b0a565b8786866040518563ffffffff1660e01b81526004016136b694939291906152dd565b602060405180830381600087803b1580156136d057600080fd5b505af192505050801561370157506040513d601f19601f820116820180604052508101906136fe91906144ca565b60015b613784573d8060008114613731576040519150601f19603f3d011682016040523d82523d6000602084013e613736565b606091505b5060008151141561377c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613773906153eb565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149150506137d9565b600190505b949350505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b6138568383836139cd565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141561389957613894816139d2565b6138d8565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16146138d7576138d68382613a1b565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561391b5761391681613b88565b61395a565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614613959576139588282613ccb565b5b5b505050565b6139698383613d4a565b613976600084848461364a565b6139b5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016139ac906153eb565b60405180910390fd5b505050565b600080823b905060008111915050919050565b505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b60006001613a2884611879565b613a329190615993565b9050600060076000848152602001908152602001600020549050818114613b17576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b60006001600880549050613b9c9190615993565b9050600060096000848152602001908152602001600020549050600060088381548110613bf2577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b906000526020600020015490508060088381548110613c3a577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b906000526020600020018190555081600960008381526020019081526020016000208190555060096000858152602001908152602001600020600090556008805480613caf577f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b6001900381819060005260206000200160009055905550505050565b6000613cd683611879565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415613dba576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613db1906155ab565b60405180910390fd5b613dc381612b12565b15613e03576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613dfa9061542b565b60405180910390fd5b613e0f600083836135d9565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254613e5f91906158b2565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b828054613f2490615abe565b90600052602060002090601f016020900481019282613f465760008555613f8d565b82601f10613f5f57805160ff1916838001178555613f8d565b82800160010185558215613f8d579182015b82811115613f8c578251825591602001919060010190613f71565b5b509050613f9a9190613f9e565b5090565b5b80821115613fb7576000816000905550600101613f9f565b5090565b6000613fce613fc9846157b7565b615786565b90508083825260208201905082856020860282011115613fed57600080fd5b60005b8581101561401d57816140038882614100565b845260208401935060208301925050600181019050613ff0565b5050509392505050565b600061403a614035846157e3565b615786565b9050808382526020820190508260005b8581101561407a578135850161406088826141bd565b84526020840193506020830192505060018101905061404a565b5050509392505050565b60006140976140928461580f565b615786565b9050828152602081018484840111156140af57600080fd5b6140ba848285615a52565b509392505050565b60006140d56140d08461583f565b615786565b9050828152602081018484840111156140ed57600080fd5b6140f8848285615a52565b509392505050565b60008135905061410f81615c72565b92915050565b60008151905061412481615c72565b92915050565b600082601f83011261413b57600080fd5b813561414b848260208601613fbb565b91505092915050565b600082601f83011261416557600080fd5b8135614175848260208601614027565b91505092915050565b60008135905061418d81615c89565b92915050565b6000813590506141a281615ca0565b92915050565b6000815190506141b781615ca0565b92915050565b600082601f8301126141ce57600080fd5b81356141de848260208601614084565b91505092915050565b600082601f8301126141f857600080fd5b81356142088482602086016140c2565b91505092915050565b60008135905061422081615cb7565b92915050565b60006020828403121561423857600080fd5b600061424684828501614100565b91505092915050565b60006020828403121561426157600080fd5b600061426f84828501614115565b91505092915050565b6000806040838503121561428b57600080fd5b600061429985828601614100565b92505060206142aa85828601614100565b9150509250929050565b6000806000606084860312156142c957600080fd5b60006142d786828701614100565b93505060206142e886828701614100565b92505060406142f986828701614211565b9150509250925092565b6000806000806080858703121561431957600080fd5b600061432787828801614100565b945050602061433887828801614100565b935050604061434987828801614211565b925050606085013567ffffffffffffffff81111561436657600080fd5b614372878288016141bd565b91505092959194509250565b6000806040838503121561439157600080fd5b600061439f85828601614100565b92505060206143b08582860161417e565b9150509250929050565b600080604083850312156143cd57600080fd5b60006143db85828601614100565b92505060206143ec85828601614211565b9150509250929050565b60006020828403121561440857600080fd5b600082013567ffffffffffffffff81111561442257600080fd5b61442e8482850161412a565b91505092915050565b60006020828403121561444957600080fd5b600082013567ffffffffffffffff81111561446357600080fd5b61446f84828501614154565b91505092915050565b60006020828403121561448a57600080fd5b60006144988482850161417e565b91505092915050565b6000602082840312156144b357600080fd5b60006144c184828501614193565b91505092915050565b6000602082840312156144dc57600080fd5b60006144ea848285016141a8565b91505092915050565b60006020828403121561450557600080fd5b600082013567ffffffffffffffff81111561451f57600080fd5b61452b848285016141e7565b91505092915050565b60006020828403121561454657600080fd5b600061455484828501614211565b91505092915050565b6000806040838503121561457057600080fd5b600061457e85828601614211565b925050602061458f85828601614100565b9150509250929050565b600080604083850312156145ac57600080fd5b60006145ba85828601614211565b925050602083013567ffffffffffffffff8111156145d757600080fd5b6145e3858286016141bd565b9150509250929050565b6000806000806080858703121561460357600080fd5b600061461187828801614211565b945050602085013567ffffffffffffffff81111561462e57600080fd5b61463a878288016141e7565b935050604061464b87828801614100565b925050606085013567ffffffffffffffff81111561466857600080fd5b614674878288016141bd565b91505092959194509250565b60008060006060848603121561469557600080fd5b60006146a386828701614211565b935050602084013567ffffffffffffffff8111156146c057600080fd5b6146cc868287016141e7565b925050604084013567ffffffffffffffff8111156146e957600080fd5b6146f5868287016141bd565b9150509250925092565b6000806040838503121561471257600080fd5b600061472085828601614211565b925050602061473185828601614211565b9150509250929050565b614744816159c7565b82525050565b61475b614756826159c7565b615b39565b82525050565b61476a816159d9565b82525050565b614779816159e5565b82525050565b600061478a8261586f565b6147948185615885565b93506147a4818560208601615a61565b6147ad81615c54565b840191505092915050565b60006147c38261587a565b6147cd8185615896565b93506147dd818560208601615a61565b6147e681615c54565b840191505092915050565b60006147fc8261587a565b61480681856158a7565b9350614816818560208601615a61565b80840191505092915050565b600061482f602183615896565b91507f416c7265616479206d696e74656420776974682074686973206769766561776160008301527f79000000000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000614895602b83615896565b91507f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008301527f74206f6620626f756e64730000000000000000000000000000000000000000006020830152604082019050919050565b60006148fb603283615896565b91507f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008301527f63656976657220696d706c656d656e74657200000000000000000000000000006020830152604082019050919050565b6000614961602683615896565b91507f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008301527f64647265737300000000000000000000000000000000000000000000000000006020830152604082019050919050565b60006149c7601c83615896565b91507f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006000830152602082019050919050565b6000614a07601583615896565b91507f4574682076616c75652062656c6f7720707269636500000000000000000000006000830152602082019050919050565b6000614a47601c83615896565b91507f50756e6b20616c72656164792075736564207468697320626c6f636b000000006000830152602082019050919050565b6000614a87601283615896565b91507f52656163686564206d617820737570706c7900000000000000000000000000006000830152602082019050919050565b6000614ac7602483615896565b91507f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008301527f72657373000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000614b2d601983615896565b91507f4552433732313a20617070726f766520746f2063616c6c6572000000000000006000830152602082019050919050565b6000614b6d602c83615896565b91507f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008301527f697374656e7420746f6b656e00000000000000000000000000000000000000006020830152604082019050919050565b6000614bd3603883615896565b91507f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008301527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006020830152604082019050919050565b6000614c39601c83615896565b91507f4d757374206d696e7420617070726f70726961746520616d6f756e74000000006000830152602082019050919050565b6000614c79602a83615896565b91507f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008301527f726f2061646472657373000000000000000000000000000000000000000000006020830152604082019050919050565b6000614cdf602983615896565b91507f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008301527f656e7420746f6b656e00000000000000000000000000000000000000000000006020830152604082019050919050565b6000614d45601783615896565b91507f4e6f2070756e6b206d696e74732072656d61696e696e670000000000000000006000830152602082019050919050565b6000614d85602083615896565b91507f4552433732313a206d696e7420746f20746865207a65726f20616464726573736000830152602082019050919050565b6000614dc5602c83615896565b91507f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008301527f697374656e7420746f6b656e00000000000000000000000000000000000000006020830152604082019050919050565b6000614e2b602083615896565b91507f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726000830152602082019050919050565b6000614e6b602983615896565b91507f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008301527f73206e6f74206f776e00000000000000000000000000000000000000000000006020830152604082019050919050565b6000614ed1602f83615896565b91507f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008301527f6e6578697374656e7420746f6b656e00000000000000000000000000000000006020830152604082019050919050565b6000614f37601383615896565b91507f4e6f74207468652070756e6b206f776e65722e000000000000000000000000006000830152602082019050919050565b6000614f77601683615896565b91507f436f6d6d756e697479204772616e74206973206f6666000000000000000000006000830152602082019050919050565b6000614fb7602183615896565b91507f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008301527f72000000000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b600061501d600b83615896565b91507f496e76616c6964205369670000000000000000000000000000000000000000006000830152602082019050919050565b600061505d601b83615896565b91507f4e6f206769766561776179206d696e74732072656d61696e696e6700000000006000830152602082019050919050565b600061509d603183615896565b91507f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008301527f776e6572206e6f7220617070726f7665640000000000000000000000000000006020830152604082019050919050565b6000615103601583615896565b91507f54727920616761696e2c206261642074696d696e6700000000000000000000006000830152602082019050919050565b6000615143602c83615896565b91507f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008301527f7574206f6620626f756e647300000000000000000000000000000000000000006020830152604082019050919050565b60006151a9601f83615896565b91507f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006000830152602082019050919050565b6151e581615a3b565b82525050565b6151fc6151f782615a3b565b615b5d565b82525050565b61520b81615a45565b82525050565b600061521d82856147f1565b915061522982846147f1565b91508190509392505050565b600061524182856151eb565b60208201915061525182846147f1565b91508190509392505050565b600061526982866151eb565b60208201915061527982856147f1565b9150615285828461474a565b601482019150819050949350505050565b60006152a282856151eb565b6020820191506152b282846151eb565b6020820191508190509392505050565b60006020820190506152d7600083018461473b565b92915050565b60006080820190506152f2600083018761473b565b6152ff602083018661473b565b61530c60408301856151dc565b818103606083015261531e818461477f565b905095945050505050565b600060208201905061533e6000830184614761565b92915050565b60006080820190506153596000830187614770565b6153666020830186615202565b6153736040830185614770565b6153806060830184614770565b95945050505050565b600060208201905081810360008301526153a381846147b8565b905092915050565b600060208201905081810360008301526153c481614822565b9050919050565b600060208201905081810360008301526153e481614888565b9050919050565b60006020820190508181036000830152615404816148ee565b9050919050565b6000602082019050818103600083015261542481614954565b9050919050565b60006020820190508181036000830152615444816149ba565b9050919050565b60006020820190508181036000830152615464816149fa565b9050919050565b6000602082019050818103600083015261548481614a3a565b9050919050565b600060208201905081810360008301526154a481614a7a565b9050919050565b600060208201905081810360008301526154c481614aba565b9050919050565b600060208201905081810360008301526154e481614b20565b9050919050565b6000602082019050818103600083015261550481614b60565b9050919050565b6000602082019050818103600083015261552481614bc6565b9050919050565b6000602082019050818103600083015261554481614c2c565b9050919050565b6000602082019050818103600083015261556481614c6c565b9050919050565b6000602082019050818103600083015261558481614cd2565b9050919050565b600060208201905081810360008301526155a481614d38565b9050919050565b600060208201905081810360008301526155c481614d78565b9050919050565b600060208201905081810360008301526155e481614db8565b9050919050565b6000602082019050818103600083015261560481614e1e565b9050919050565b6000602082019050818103600083015261562481614e5e565b9050919050565b6000602082019050818103600083015261564481614ec4565b9050919050565b6000602082019050818103600083015261566481614f2a565b9050919050565b6000602082019050818103600083015261568481614f6a565b9050919050565b600060208201905081810360008301526156a481614faa565b9050919050565b600060208201905081810360008301526156c481615010565b9050919050565b600060208201905081810360008301526156e481615050565b9050919050565b6000602082019050818103600083015261570481615090565b9050919050565b60006020820190508181036000830152615724816150f6565b9050919050565b6000602082019050818103600083015261574481615136565b9050919050565b600060208201905081810360008301526157648161519c565b9050919050565b600060208201905061578060008301846151dc565b92915050565b6000604051905081810181811067ffffffffffffffff821117156157ad576157ac615c25565b5b8060405250919050565b600067ffffffffffffffff8211156157d2576157d1615c25565b5b602082029050602081019050919050565b600067ffffffffffffffff8211156157fe576157fd615c25565b5b602082029050602081019050919050565b600067ffffffffffffffff82111561582a57615829615c25565b5b601f19601f8301169050602081019050919050565b600067ffffffffffffffff82111561585a57615859615c25565b5b601f19601f8301169050602081019050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b60006158bd82615a3b565b91506158c883615a3b565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156158fd576158fc615b98565b5b828201905092915050565b600061591382615a3b565b915061591e83615a3b565b92508261592e5761592d615bc7565b5b828204905092915050565b600061594482615a3b565b915061594f83615a3b565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561598857615987615b98565b5b828202905092915050565b600061599e82615a3b565b91506159a983615a3b565b9250828210156159bc576159bb615b98565b5b828203905092915050565b60006159d282615a1b565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600060ff82169050919050565b82818337600083830152505050565b60005b83811015615a7f578082015181840152602081019050615a64565b83811115615a8e576000848401525b50505050565b6000615a9f82615a3b565b91506000821415615ab357615ab2615b98565b5b600182039050919050565b60006002820490506001821680615ad657607f821691505b60208210811415615aea57615ae9615bf6565b5b50919050565b6000615afb82615a3b565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415615b2e57615b2d615b98565b5b600182019050919050565b6000615b4482615b4b565b9050919050565b6000615b5682615c65565b9050919050565b6000819050919050565b6000615b7282615a3b565b9150615b7d83615a3b565b925082615b8d57615b8c615bc7565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b60008160601b9050919050565b615c7b816159c7565b8114615c8657600080fd5b50565b615c92816159d9565b8114615c9d57600080fd5b50565b615ca9816159ef565b8114615cb457600080fd5b50565b615cc081615a3b565b8114615ccb57600080fd5b5056fea264697066735822122027c982d4f5179bf624607932b9f01182696c19668acd1ff61fe848fd32aa8c4464736f6c63430008000033

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

00000000000000000000000092e1cd190034af12e52d023c76e62c083a69a91e0000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000002c687474703a2f2f63796265726e65746963726573656172636867726f75702e636f6d2f6d657461646174612f0000000000000000000000000000000000000000

-----Decoded View---------------
Arg [0] : _verificationAddress (address): 0x92E1cD190034aF12E52D023C76e62C083A69a91E
Arg [1] : _base (string): http://cyberneticresearchgroup.com/metadata/

-----Encoded View---------------
5 Constructor Arguments found :
Arg [0] : 00000000000000000000000092e1cd190034af12e52d023c76e62c083a69a91e
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000040
Arg [2] : 000000000000000000000000000000000000000000000000000000000000002c
Arg [3] : 687474703a2f2f63796265726e65746963726573656172636867726f75702e63
Arg [4] : 6f6d2f6d657461646174612f0000000000000000000000000000000000000000


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

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