ETH Price: $1,601.21 (+0.91%)
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Set Approval For...222998992025-04-19 1:54:596 hrs ago1745027699IN
CryptoShack: SHACK Token
0 ETH0.000021190.85379322
Set Approval For...222998962025-04-19 1:54:236 hrs ago1745027663IN
CryptoShack: SHACK Token
0 ETH0.000020320.81832167
Set Approval For...220029562025-03-08 15:08:5941 days ago1741446539IN
CryptoShack: SHACK Token
0 ETH0.00002811.13240387
Set Approval For...218895242025-02-20 19:03:2357 days ago1740078203IN
CryptoShack: SHACK Token
0 ETH0.00003341.34514502
Set Approval For...218862992025-02-20 8:12:3557 days ago1740039155IN
CryptoShack: SHACK Token
0 ETH0.000055451.18622475
Set Approval For...218854072025-02-20 5:12:2358 days ago1740028343IN
CryptoShack: SHACK Token
0 ETH0.000049711.06380494
Set Approval For...218113062025-02-09 20:20:5968 days ago1739132459IN
CryptoShack: SHACK Token
0 ETH0.000041551.67324372
Set Approval For...215243902024-12-31 18:58:35108 days ago1735671515IN
CryptoShack: SHACK Token
0 ETH0.000406658.71252439
Set Approval For...214261672024-12-18 1:34:47122 days ago1734485687IN
CryptoShack: SHACK Token
0 ETH0.000230559.28337974
Set Approval For...213572522024-12-08 10:43:47131 days ago1733654627IN
CryptoShack: SHACK Token
0 ETH0.000370057.91622445
Set Approval For...213570012024-12-08 9:53:35131 days ago1733651615IN
CryptoShack: SHACK Token
0 ETH0.00043769.37806637
Set Approval For...213569612024-12-08 9:45:35131 days ago1733651135IN
CryptoShack: SHACK Token
0 ETH0.000459719.85172238
Set Approval For...210168442024-10-21 22:08:35179 days ago1729548515IN
CryptoShack: SHACK Token
0 ETH0.000167496.74431993
Set Approval For...209449162024-10-11 20:59:47189 days ago1728680387IN
CryptoShack: SHACK Token
0 ETH0.0003385313.63124635
Set Approval For...209449162024-10-11 20:59:47189 days ago1728680387IN
CryptoShack: SHACK Token
0 ETH0.0003373813.63124635
Set Approval For...206510032024-08-31 20:40:59230 days ago1725136859IN
CryptoShack: SHACK Token
0 ETH0.000024821
Transfer From206430492024-08-30 18:00:59231 days ago1725040859IN
CryptoShack: SHACK Token
0 ETH0.000116511.42525637
Set Approval For...205414242024-08-16 13:14:59245 days ago1723814099IN
CryptoShack: SHACK Token
0 ETH0.000090663.65067062
Set Approval For...203211772024-07-16 19:31:11276 days ago1721158271IN
CryptoShack: SHACK Token
0 ETH0.0004105516.5311738
Set Approval For...201945202024-06-29 3:00:35294 days ago1719630035IN
CryptoShack: SHACK Token
0 ETH0.000078041.67252041
Set Approval For...196807112024-04-18 6:59:35366 days ago1713423575IN
CryptoShack: SHACK Token
0 ETH0.0002688510.04567722
Set Approval For...196807112024-04-18 6:59:35366 days ago1713423575IN
CryptoShack: SHACK Token
0 ETH0.0004687610.04567722
Set Approval For...196332472024-04-11 15:23:35372 days ago1712849015IN
CryptoShack: SHACK Token
0 ETH0.0013690529.28644179
Set Approval For...195891072024-04-05 11:01:35378 days ago1712314895IN
CryptoShack: SHACK Token
0 ETH0.0006846814.64661501
Set Approval For...195330192024-03-28 13:51:35386 days ago1711633895IN
CryptoShack: SHACK Token
0 ETH0.000986939.73863259
View all transactions

Latest 4 internal transactions

Advanced mode:
Parent Transaction Hash Method Block
From
To
-143451212022-03-08 8:24:191137 days ago1646727859
CryptoShack: SHACK Token
15.3387 ETH
-143451212022-03-08 8:24:191137 days ago1646727859
CryptoShack: SHACK Token
1.7043 ETH
-143388632022-03-07 9:20:481138 days ago1646644848
CryptoShack: SHACK Token
385.641 ETH
-143388632022-03-07 9:20:481138 days ago1646644848
CryptoShack: SHACK Token
42.849 ETH
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
CryptoShack

Compiler Version
v0.8.7+commit.e28d00a7

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 11 : cryptoshack.sol
// contracts/cryptoshack.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.7;

import "./base_contracts/ERC721.sol";
import "@openzeppelin/contracts/security/ReentrancyGuard.sol";

interface IMulesquad {
    function ownerOf(uint256 tokenId) external view returns (address);
}

contract CryptoShack is ERC721, ReentrancyGuard {
    string _baseTokenURI;

    address public owner;

    IMulesquad internal mulesquadContract = IMulesquad(0xa088AC5a19c28c882D71725C268244b233CFFC62);

    uint constant public MAX_SUPPLY = 7200;
    uint constant public mintCost = 0.069 ether;
    uint constant public maxMintPerTx = 3;
    uint public maxPerWallet = 20;

    // external counter instead of ERC721Enumerable:totalSupply()
    uint256 public totalSupply;
    uint256 public publicMinted;

    uint256 public reserveMinted;
    uint256 public teamReserved = 300;

    uint256 public mulesquadClaimed;
    uint256 public mulesquadReserved = 690;

    // more random, rolled on noContracts
    bytes32 private entropySauce;
    uint private NOUNCE;

    // some numbers and trackers type-based
    uint[4][5] private typeToNumbers;
    bytes32[5] private typeToNames;

    // amount of tokens minted by wallet
    mapping(address => uint) private walletToMinted;
    // address to amount of tokens of every type owned
    mapping(address => uint[5]) private addressToTypesOwned;
    // address to last action block number
    mapping(address => uint) private callerToLastBlockAction;
    // map show if mulesquad ID was used to claim token or not
    mapping(uint => bool) private mulesquadIdToClaimed;

    bool public mintAllowed;
    bool public exchangeAllowed;
    bool public claimAllowed;
    bool public revealed;

    constructor() ERC721("CryptoShack", "SHACK") {
        owner=msg.sender;

        typeToNames[0]="gophers";
        typeToNames[1]="golden_gophers";
        typeToNames[2]="caddies";
        typeToNames[3]="legendaries";
        typeToNames[4]="members";

        // minted, burned, exchange scores, max amount
        typeToNumbers[0]=[0, 0, 1, 4700];     // GOPHER
        typeToNumbers[1]=[0, 0, 4, 150];      // GOLDEN_GOPHER
        typeToNumbers[2]=[0, 0, 2, 2350];     // CADDIE
        typeToNumbers[3]=[0, 0, 0, 18];       // LEGENDARIES
        typeToNumbers[4]=[0, 0, 0, 2500];     // MEMBER
    }

    //
    //  MINT
    //

    /// @dev mint tokens at public sale
    /// @param amount_ amount of tokens to mint
    function mintPublic(uint amount_) external payable onlyMintAllowed noContracts nonReentrant {
        require(msg.value == mintCost * amount_, "Invalid tx value!");                              //NOTE: check payment amount
        require(publicMinted + amount_ <= MAX_SUPPLY - teamReserved - mulesquadReserved, "No public mint available");                                                //NOTE: check if GOPHERS left to mint
        require(amount_ > 0 && amount_ <= maxMintPerTx, "Wrong mint amount");                      //NOTE: check if amount is correct
        require(walletToMinted[msg.sender] + amount_ <= maxPerWallet, "Wallet limit reached");      //NOTE: check max per wallet limit

        totalSupply+=amount_;
        publicMinted+=amount_;

        mintRandomInternal(amount_, msg.sender, false);
    }

    /// @dev mint tokens reserved for the team
    /// @param wallet wallet to mint tokens
    /// @param amount_ amount of tokens to mint
    function mintReserve(address wallet, uint amount_) external onlyOwner noContracts nonReentrant {
        require(reserveMinted + amount_ <= teamReserved);

        totalSupply+=amount_;
        reserveMinted+=amount_;

        mintRandomInternal(amount_,wallet, true);
    }

    /// @dev claim token with mulesquad token Id
    /// @param _mulesquadIds mulesquad token Id 
    function claimMulesquad(uint[] calldata _mulesquadIds) external onlyClaimAllowed noContracts nonReentrant {
        require(_mulesquadIds.length > 0, "Array can not be empty");
        require(mulesquadClaimed + _mulesquadIds.length <= mulesquadReserved); 
        require(walletToMinted[msg.sender] + _mulesquadIds.length <= maxPerWallet, "Wallet limit reached");

        totalSupply+=_mulesquadIds.length;
        mulesquadClaimed+=_mulesquadIds.length;

        for (uint i;i<_mulesquadIds.length;i++) {
            require(mulesquadContract.ownerOf(_mulesquadIds[i])==msg.sender, "You don't own the token");
            require(!mulesquadIdToClaimed[_mulesquadIds[i]], "Already used to claim");
            mulesquadIdToClaimed[_mulesquadIds[i]]=true;
        }

        mintRandomInternal(_mulesquadIds.length, msg.sender, false);
    }

    /// @dev exchange few tokens of type 0-2 to membership card (token types 3-4)
    /// @param _tokenIds array of tokens to be exchanged for membership
    function exchange(uint[] calldata _tokenIds) external onlyExchangeAllowed noContracts nonReentrant {
        require(_tokenIds.length>0, "Array can not be empty");
        uint scoresTotal;
        for (uint i;i<_tokenIds.length;i++) {
            require(_exists(_tokenIds[i]),"Token doesn't exists");
            require(msg.sender==ownerOf(_tokenIds[i]), "You are not the owner");
            uint scores = typeToNumbers[_tokenIds[i] / 10000][2];
            require(scores > 0, "Members can not be burned");
            scoresTotal+=scores;
        }

        require(scoresTotal == 4, "Scores total should be 4");

        totalSupply -= (_tokenIds.length-1);

        for (uint i;i<_tokenIds.length;i++) {
            burn(_tokenIds[i]);
        }

        // golden gopher burned, roll the special
        if (_tokenIds.length==1) {
            uint random = _getRandom(msg.sender, "exchange");
            // max golden gophers / golden gophers burned
            uint leftToMint = 150-typeToNumbers[1][1]+1;
            uint accumulated;

            for (uint j = 3; j<=4; j++) { 
                accumulated+=typeToNumbers[j][3]-typeToNumbers[j][0];
                if (random%leftToMint < accumulated) {
                    _mintInternal(msg.sender, j);
                    break;
                }
            }
        } else {
            _mintInternal(msg.sender, 4);
        }
    }

    /// @dev pick the random type (0-2) and mint it to specific address
    /// @param amount_ amount of tokens to be minted
    /// @param receiver wallet to get minted tokens
    function mintRandomInternal(uint amount_, address receiver, bool ignoreWalletRestriction) internal {
        if (!ignoreWalletRestriction) {
            walletToMinted[receiver]+=amount_;
        }

        uint leftToMint = MAX_SUPPLY - publicMinted - mulesquadClaimed - reserveMinted + amount_;
        uint accumulated;

        for (uint i = 0; i < amount_; i++) {
            uint random = _getRandom(msg.sender, "mint");

            accumulated = 0;
            // pick the type to mint
            for (uint j = 0; j<3; j++) { 
                accumulated+=typeToNumbers[j][3]-typeToNumbers[j][0];
                if (random%(leftToMint-i) < accumulated) {
                    _mintInternal(receiver, j);
                    break;
                }
            }
        }
    }

    /// @dev mint token of specific type to specified address
    /// @param receiver wallet to mint token to
    /// @param tokenType type of token to mint
    function _mintInternal(address receiver, uint tokenType) internal {
        uint mintId = ++typeToNumbers[tokenType][0] + tokenType*10000;
        _mint(receiver, mintId);
    }

    /// @dev burn the token specified
    /// @param _tokenId token Id to burn
    function burn(uint _tokenId) internal {
        uint tokenType=_tokenId / 10000;
        typeToNumbers[tokenType][1]++;
        _burn(_tokenId);
    }

    //
    //  VIEW
    //

    /// @dev return total amount of tokens of a type owned by wallet
    function ownedOfType(address address_, uint type_) external view noSameBlockAsAction returns(uint) {
        return addressToTypesOwned[address_][type_];
    }

    /// @dev return total amount of tokens minted
    function mintedTotal() external view returns (uint) {
        uint result;
        for (uint i=0;i<3;i++) {
            result+=typeToNumbers[i][0];
        }
        return result;
    }

    /// @dev return the array of tokens owned by wallet, never use from the contract (!)
    /// @param address_ wallet to check
    function walletOfOwner(address address_, uint type_) external view returns (uint[] memory) {
        require(callerToLastBlockAction[address_] < block.number, "Please try again on next block");
        uint[] memory _tokens = new uint[](addressToTypesOwned[address_][type_]);
        uint index;
        uint tokenId;
        uint type_minted=typeToNumbers[type_][0];
        for (uint j=1;j<=type_minted;j++) {
            tokenId=j+type_*10000;
            if (_exists(tokenId)) {
                if (ownerOf(tokenId)==address_) {_tokens[index++]=(tokenId);}
            }
        }
        return _tokens;
    }

    /// @dev return the metadata URI for specific token
    /// @param _tokenId token to get URI for
    function tokenURI(uint _tokenId) public view override noSameBlockAsAction returns (string memory) {
        require(_exists(_tokenId), "Token does not exist");
        if (!revealed) {
            return string(abi.encodePacked(_baseTokenURI, '/unrevealed/json/metadata.json'));
        }
        return string(abi.encodePacked(_baseTokenURI, '/', typeToNames[_tokenId/10000],'/','json/',Strings.toString(_tokenId%10000)));
    }

    /// @dev get the actual amount of tokens of specific type
    /// @param type_ token type (check typeToNumbers array)
    function getSupplyByType(uint type_) external view noSameBlockAsAction returns(uint) {
        return typeToNumbers[type_][0]-typeToNumbers[type_][1];
    }

    //
    // ONLY OWNER
    //

    /// @dev reveal the real links to metadata
    function reveal() external onlyOwner {
        revealed=true;
    }

    /// @dev free all Mulesquad reserved tokens for the public sale, can not be reverted
    function mulesquadClaimEnd() external onlyOwner {
        mulesquadReserved=mulesquadClaimed;
    }

    /// @dev switch mint allowed status
    function switchMintAllowed() external onlyOwner {
        mintAllowed=!mintAllowed;
    }

    /// @dev switch exchange allowed status
    function switchExchangeAllowed() external onlyOwner {
        exchangeAllowed=!exchangeAllowed;
    }

    /// @dev switch claim allowed status
    function switchClaimAllowed() external onlyOwner {
        claimAllowed=!claimAllowed;
    }

    /// @dev set wallet mint allowance
    /// @param maxPerWallet_ new wallet allowance, default is 20
    function setMaxPerWallet(uint maxPerWallet_) external onlyOwner {
        maxPerWallet=maxPerWallet_;
    }

    /// @dev Set base URI for tokenURI
    function setBaseTokenURI(string memory baseURI_) external onlyOwner {
        _baseTokenURI=baseURI_;
    }

    function setMulesquadContract(address mulesquadAddress_) external onlyOwner {
        mulesquadContract=IMulesquad(mulesquadAddress_);
    }

    /// @dev transfer ownership
    /// @param owner_ new contract owner
    function transferOwnership(address owner_) external onlyOwner {
        owner=owner_;
    }

    /// @dev withdraw all ETH accumulated, 10% share goes to solidity dev
    function withdrawEther() external onlyOwner {
        require(address(this).balance > 0);
        uint share = address(this).balance/10;
        payable(0xdA00D453F87db473BC84221063f4a27298F7FCca).transfer(share);
        payable(owner).transfer(address(this).balance);
    }

    //
    // HELPERS
    //

    /// @dev get pseudo random uint
    function _getRandom(address _address, bytes32 _addition) internal returns (uint){
        callerToLastBlockAction[tx.origin] = block.number;
        return uint256(
            keccak256(
                abi.encodePacked(
                    _address, 
                    block.timestamp, 
                    ++NOUNCE,
                    _addition,
                    block.basefee, 
                    block.timestamp, 
                    entropySauce)));
    }

    //
    //  MODIFIERS
    //

    /// @dev allow execution when mint allowed only
    modifier onlyMintAllowed() {
        require(mintAllowed, 'Mint not allowed');
        _;
    }

    /// @dev allow execution when claim only
    modifier onlyClaimAllowed() {
        require(claimAllowed, 'Claim not allowed');
        _;
    }

    /// @dev allow execution when exchange allowed only
    modifier onlyExchangeAllowed() {
        require(exchangeAllowed, "Exchange not allowed");
        _;
    }

    /// @dev allow execution when caller is owner only
    modifier onlyOwner() {
        require(owner == msg.sender, "You are not the owner");
        _;
    }

    /// @dev do not allow execution if caller is contract
    modifier noContracts() {
        uint256 size;
        address acc = msg.sender;
        assembly { size := extcodesize(acc)}

        require(msg.sender == tx.origin,  "tx.origin != msg.sender");
        require(size == 0,                "Contract calls are not allowed");
        _;

        // We'll use the last caller hash to add entropy to next caller
        entropySauce = keccak256(abi.encodePacked(acc, block.coinbase));
    }

    /// @dev don't allow view functions in same block as action that changed the state
    modifier noSameBlockAsAction() {
        require(callerToLastBlockAction[tx.origin] < block.number, "Please try again on next block");
        _;
    }

    //
    // OVERRIDE
    //

    /// @dev override to prohibit to get results in same block as random was rolled
    function balanceOf(address owner_) public view virtual override(ERC721) returns (uint256) {
        require(callerToLastBlockAction[owner_] < block.number, "Please try again on next block");
        return super.balanceOf(owner_);
    }

    /// @dev override to prohibit to get results in same block as random was rolled
    function ownerOf(uint256 tokenId) public view virtual override(ERC721) returns (address) {
        address addr = super.ownerOf(tokenId);
        require(callerToLastBlockAction[addr] < block.number, "Please try again on next block");
        return addr;
    }

    /// @dev override to track how many of a type wallet hold, required for custom walletOfOwner and ownedOfType
    function _beforeTokenTransfer(
        address from,
        address to,
        uint256 tokenId
    ) internal override virtual {
        uint tokenType = tokenId/10000;
        if (from!=address(0)) { addressToTypesOwned[from][tokenType]--; }
        if (to!=address(0)) { addressToTypesOwned[to][tokenType]++; }
    }
}

File 2 of 11 : 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.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 3 of 11 : 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 11 : 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 5 of 11 : 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 6 of 11 : 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 7 of 11 : 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);
    }

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

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

File 8 of 11 : 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 9 of 11 : 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 10 of 11 : 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 11 of 11 : IERC165.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

Contract Security Audit

Contract ABI

API
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"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":[],"name":"claimAllowed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"_mulesquadIds","type":"uint256[]"}],"name":"claimMulesquad","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"_tokenIds","type":"uint256[]"}],"name":"exchange","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"exchangeAllowed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"type_","type":"uint256"}],"name":"getSupplyByType","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":[],"name":"maxMintPerTx","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxPerWallet","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"mintAllowed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"mintCost","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount_","type":"uint256"}],"name":"mintPublic","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"wallet","type":"address"},{"internalType":"uint256","name":"amount_","type":"uint256"}],"name":"mintReserve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"mintedTotal","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"mulesquadClaimEnd","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"mulesquadClaimed","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"mulesquadReserved","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"address_","type":"address"},{"internalType":"uint256","name":"type_","type":"uint256"}],"name":"ownedOfType","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":"publicMinted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"reserveMinted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"reveal","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"revealed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"baseURI_","type":"string"}],"name":"setBaseTokenURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"maxPerWallet_","type":"uint256"}],"name":"setMaxPerWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"mulesquadAddress_","type":"address"}],"name":"setMulesquadContract","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":"switchClaimAllowed","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"switchExchangeAllowed","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"switchMintAllowed","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"teamReserved","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner_","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"address_","type":"address"},{"internalType":"uint256","name":"type_","type":"uint256"}],"name":"walletOfOwner","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdrawEther","outputs":[],"stateMutability":"nonpayable","type":"function"}]

608060405273a088ac5a19c28c882d71725c268244b233cffc62600960006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506014600a5561012c600e556102b26010553480156200007757600080fd5b506040518060400160405280600b81526020017f43727970746f536861636b0000000000000000000000000000000000000000008152506040518060400160405280600581526020017f534841434b0000000000000000000000000000000000000000000000000000008152508160009080519060200190620000fc92919062000482565b5080600190805190602001906200011592919062000482565b505050600160068190555033600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055507f676f70686572730000000000000000000000000000000000000000000000000060276000600581106200019a57620001996200062c565b5b01819055507f676f6c64656e5f676f70686572730000000000000000000000000000000000006027600160058110620001d857620001d76200062c565b5b01819055507f636164646965730000000000000000000000000000000000000000000000000060276002600581106200021657620002156200062c565b5b01819055507f6c6567656e64617269657300000000000000000000000000000000000000000060276003600581106200025457620002536200062c565b5b01819055507f6d656d626572730000000000000000000000000000000000000000000000000060276004600581106200029257620002916200062c565b5b01819055506040518060800160405280600061ffff168152602001600061ffff168152602001600161ffff16815260200161125c61ffff168152506013600060058110620002e557620002e46200062c565b5b60040201906004620002f992919062000513565b506040518060800160405280600060ff168152602001600060ff168152602001600460ff168152602001609660ff1681525060136001600581106200034357620003426200062c565b5b60040201906004620003579291906200055e565b506040518060800160405280600061ffff168152602001600061ffff168152602001600261ffff16815260200161092e61ffff168152506013600260058110620003a657620003a56200062c565b5b60040201906004620003ba92919062000513565b506040518060800160405280600060ff168152602001600060ff168152602001600060ff168152602001601260ff1681525060136003600581106200040457620004036200062c565b5b60040201906004620004189291906200055e565b506040518060800160405280600061ffff168152602001600061ffff168152602001600061ffff1681526020016109c461ffff1681525060136004600581106200046757620004666200062c565b5b600402019060046200047b92919062000513565b506200065b565b8280546200049090620005c7565b90600052602060002090601f016020900481019282620004b4576000855562000500565b82601f10620004cf57805160ff191683800117855562000500565b8280016001018555821562000500579182015b82811115620004ff578251825591602001919060010190620004e2565b5b5090506200050f9190620005a8565b5090565b82600481019282156200054b579160200282015b828111156200054a578251829061ffff1690559160200191906001019062000527565b5b5090506200055a9190620005a8565b5090565b826004810192821562000595579160200282015b8281111562000594578251829060ff1690559160200191906001019062000572565b5b509050620005a49190620005a8565b5090565b5b80821115620005c3576000816000905550600101620005a9565b5090565b60006002820490506001821680620005e057607f821691505b60208210811415620005f757620005f6620005fd565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b615fcc806200066b6000396000f3fe60806040526004361061027d5760003560e01c8063872f0b971161014f578063b88d4fde116100c1578063e268e4d31161007a578063e268e4d31461092c578063e985e9c514610955578063efd0cbf914610992578063f0572751146109ae578063f2fde38b146109eb578063f430150114610a145761027d565b8063b88d4fde1461081c578063bdb4b84814610845578063bfb8804814610870578063c467201e14610899578063c87b56dd146108c4578063de7fcb1d146109015761027d565b80639a8cbafa116101135780639a8cbafa146107465780639cdd66d01461075d578063a22cb46514610774578063a475b5dd1461079d578063a4f4f8af146107b4578063b3ba94e3146107df5761027d565b8063872f0b9714610671578063891aaf681461069c5780638da5cb5b146106c75780638e825be0146106f257806395d89b411461071b5761027d565b806330176e13116101f357806351830227116101ac57806351830227146105635780636352211e1461058e57806370a08231146105cb5780637362377b146106085780637c49bc9b1461061f5780637ee8e521146106485761027d565b806330176e131461046557806332cb6b0c1461048e57806336f5b9a3146104b957806342842e0e146104e4578063453c23101461050d5780634c81433f146105385761027d565b806317718a901161024557806317718a901461036757806318160ddd146103925780631b1b905f146103bd5780631b73d58d146103fa57806323b872dd1461042557806325d74aee1461044e5761027d565b806301ffc9a71461028257806306fdde03146102bf578063081812fc146102ea578063095ea7b3146103275780630a7a8fbc14610350575b600080fd5b34801561028e57600080fd5b506102a960048036038101906102a4919061456f565b610a3f565b6040516102b69190614ec3565b60405180910390f35b3480156102cb57600080fd5b506102d4610b21565b6040516102e19190614ede565b60405180910390f35b3480156102f657600080fd5b50610311600480360381019061030c9190614612565b610bb3565b60405161031e9190614e3a565b60405180910390f35b34801561033357600080fd5b5061034e600480360381019061034991906144e2565b610c38565b005b34801561035c57600080fd5b50610365610d50565b005b34801561037357600080fd5b5061037c610e0c565b60405161038991906152e0565b60405180910390f35b34801561039e57600080fd5b506103a7610e12565b6040516103b491906152e0565b60405180910390f35b3480156103c957600080fd5b506103e460048036038101906103df9190614612565b610e18565b6040516103f191906152e0565b60405180910390f35b34801561040657600080fd5b5061040f610f06565b60405161041c91906152e0565b60405180910390f35b34801561043157600080fd5b5061044c600480360381019061044791906143cc565b610f0c565b005b34801561045a57600080fd5b50610463610f6c565b005b34801561047157600080fd5b5061048c600480360381019061048791906145c9565b611007565b005b34801561049a57600080fd5b506104a36110b1565b6040516104b091906152e0565b60405180910390f35b3480156104c557600080fd5b506104ce6110b7565b6040516104db91906152e0565b60405180910390f35b3480156104f057600080fd5b5061050b600480360381019061050691906143cc565b6110bd565b005b34801561051957600080fd5b506105226110dd565b60405161052f91906152e0565b60405180910390f35b34801561054457600080fd5b5061054d6110e3565b60405161055a91906152e0565b60405180910390f35b34801561056f57600080fd5b506105786110e9565b6040516105859190614ec3565b60405180910390f35b34801561059a57600080fd5b506105b560048036038101906105b09190614612565b6110fc565b6040516105c29190614e3a565b60405180910390f35b3480156105d757600080fd5b506105f260048036038101906105ed9190614332565b611194565b6040516105ff91906152e0565b60405180910390f35b34801561061457600080fd5b5061061d611227565b005b34801561062b57600080fd5b5061064660048036038101906106419190614522565b61139c565b005b34801561065457600080fd5b5061066f600480360381019061066a9190614332565b611881565b005b34801561067d57600080fd5b50610686611955565b6040516106939190614ec3565b60405180910390f35b3480156106a857600080fd5b506106b1611968565b6040516106be91906152e0565b60405180910390f35b3480156106d357600080fd5b506106dc6119cc565b6040516106e99190614e3a565b60405180910390f35b3480156106fe57600080fd5b50610719600480360381019061071491906144e2565b6119f2565b005b34801561072757600080fd5b50610730611c22565b60405161073d9190614ede565b60405180910390f35b34801561075257600080fd5b5061075b611cb4565b005b34801561076957600080fd5b50610772611d70565b005b34801561078057600080fd5b5061079b600480360381019061079691906144a2565b611e2c565b005b3480156107a957600080fd5b506107b2611fad565b005b3480156107c057600080fd5b506107c961205a565b6040516107d691906152e0565b60405180910390f35b3480156107eb57600080fd5b50610806600480360381019061080191906144e2565b612060565b6040516108139190614ea1565b60405180910390f35b34801561082857600080fd5b50610843600480360381019061083e919061441f565b612278565b005b34801561085157600080fd5b5061085a6122da565b60405161086791906152e0565b60405180910390f35b34801561087c57600080fd5b5061089760048036038101906108929190614522565b6122e5565b005b3480156108a557600080fd5b506108ae61287b565b6040516108bb9190614ec3565b60405180910390f35b3480156108d057600080fd5b506108eb60048036038101906108e69190614612565b61288e565b6040516108f89190614ede565b60405180910390f35b34801561090d57600080fd5b506109166129f9565b60405161092391906152e0565b60405180910390f35b34801561093857600080fd5b50610953600480360381019061094e9190614612565b6129fe565b005b34801561096157600080fd5b5061097c6004803603810190610977919061438c565b612a98565b6040516109899190614ec3565b60405180910390f35b6109ac60048036038101906109a79190614612565b612b2c565b005b3480156109ba57600080fd5b506109d560048036038101906109d091906144e2565b612e9d565b6040516109e291906152e0565b60405180910390f35b3480156109f757600080fd5b50610a126004803603810190610a0d9190614332565b612f7b565b005b348015610a2057600080fd5b50610a2961304f565b604051610a369190614ec3565b60405180910390f35b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610b0a57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610b1a5750610b1982613062565b5b9050919050565b606060008054610b3090615624565b80601f0160208091040260200160405190810160405280929190818152602001828054610b5c90615624565b8015610ba95780601f10610b7e57610100808354040283529160200191610ba9565b820191906000526020600020905b815481529060010190602001808311610b8c57829003601f168201915b5050505050905090565b6000610bbe826130cc565b610bfd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bf490615100565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610c4382613138565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610cb4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cab906151a0565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610cd361317a565b73ffffffffffffffffffffffffffffffffffffffff161480610d025750610d0181610cfc61317a565b612a98565b5b610d41576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d3890615080565b60405180910390fd5b610d4b8383613182565b505050565b3373ffffffffffffffffffffffffffffffffffffffff16600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614610de0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dd790615000565b60405180910390fd5b603060029054906101000a900460ff1615603060026101000a81548160ff021916908315150217905550565b600f5481565b600b5481565b600043602e60003273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205410610e9b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e9290615240565b60405180910390fd5b60138260058110610eaf57610eae6157d8565b5b60040201600160048110610ec657610ec56157d8565b5b015460138360058110610edc57610edb6157d8565b5b60040201600060048110610ef357610ef26157d8565b5b0154610eff91906154f4565b9050919050565b60105481565b610f1d610f1761317a565b8261323b565b610f5c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f5390615220565b60405180910390fd5b610f67838383613319565b505050565b3373ffffffffffffffffffffffffffffffffffffffff16600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614610ffc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ff390615000565b60405180910390fd5b600f54601081905550565b3373ffffffffffffffffffffffffffffffffffffffff16600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614611097576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161108e90615000565b60405180910390fd5b80600790805190602001906110ad9291906140db565b5050565b611c2081565b600e5481565b6110d883838360405180602001604052806000815250612278565b505050565b600a5481565b600d5481565b603060039054906101000a900460ff1681565b60008061110883613138565b905043602e60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020541061118b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161118290615240565b60405180910390fd5b80915050919050565b600043602e60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205410611217576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161120e90615240565b60405180910390fd5b61122082613575565b9050919050565b3373ffffffffffffffffffffffffffffffffffffffff16600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16146112b7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112ae90615000565b60405180910390fd5b600047116112c457600080fd5b6000600a476112d39190615469565b905073da00d453f87db473bc84221063f4a27298f7fcca73ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f1935050505015801561132f573d6000803e3d6000fd5b50600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc479081150290604051600060405180830381858888f19350505050158015611398573d6000803e3d6000fd5b5050565b603060029054906101000a900460ff166113eb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113e290615180565b60405180910390fd5b600080339050803b91503273ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614611463576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161145a90615280565b60405180910390fd5b600082146114a6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161149d906152c0565b60405180910390fd5b600260065414156114ec576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114e3906152a0565b60405180910390fd5b60026006819055506000848490501161153a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611531906150a0565b60405180910390fd5b60105484849050600f5461154e9190615413565b111561155957600080fd5b600a5484849050602c60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546115aa9190615413565b11156115eb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115e290614f80565b60405180910390fd5b83839050600b60008282546116009190615413565b9250508190555083839050600f600082825461161c9190615413565b9250508190555060005b84849050811015611834573373ffffffffffffffffffffffffffffffffffffffff16600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16636352211e878785818110611699576116986157d8565b5b905060200201356040518263ffffffff1660e01b81526004016116bc91906152e0565b60206040518083038186803b1580156116d457600080fd5b505afa1580156116e8573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061170c919061435f565b73ffffffffffffffffffffffffffffffffffffffff1614611762576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611759906151e0565b60405180910390fd5b602f6000868684818110611779576117786157d8565b5b90506020020135815260200190815260200160002060009054906101000a900460ff16156117dc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117d390615060565b60405180910390fd5b6001602f60008787858181106117f5576117f46157d8565b5b90506020020135815260200190815260200160002060006101000a81548160ff021916908315150217905550808061182c90615687565b915050611626565b506118448484905033600061362d565b6001600681905550804160405160200161185f929190614d15565b6040516020818303038152906040528051906020012060118190555050505050565b3373ffffffffffffffffffffffffffffffffffffffff16600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614611911576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161190890615000565b60405180910390fd5b80600960006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b603060029054906101000a900460ff1681565b60008060005b60038110156119c4576013816005811061198b5761198a6157d8565b5b600402016000600481106119a2576119a16157d8565b5b0154826119af9190615413565b915080806119bc90615687565b91505061196e565b508091505090565b600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b3373ffffffffffffffffffffffffffffffffffffffff16600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614611a82576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a7990615000565b60405180910390fd5b600080339050803b91503273ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614611afa576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611af190615280565b60405180910390fd5b60008214611b3d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b34906152c0565b60405180910390fd5b60026006541415611b83576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b7a906152a0565b60405180910390fd5b6002600681905550600e5483600d54611b9c9190615413565b1115611ba757600080fd5b82600b6000828254611bb99190615413565b9250508190555082600d6000828254611bd29190615413565b92505081905550611be58385600161362d565b60016006819055508041604051602001611c00929190614d15565b6040516020818303038152906040528051906020012060118190555050505050565b606060018054611c3190615624565b80601f0160208091040260200160405190810160405280929190818152602001828054611c5d90615624565b8015611caa5780601f10611c7f57610100808354040283529160200191611caa565b820191906000526020600020905b815481529060010190602001808311611c8d57829003601f168201915b5050505050905090565b3373ffffffffffffffffffffffffffffffffffffffff16600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614611d44576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d3b90615000565b60405180910390fd5b603060009054906101000a900460ff1615603060006101000a81548160ff021916908315150217905550565b3373ffffffffffffffffffffffffffffffffffffffff16600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614611e00576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611df790615000565b60405180910390fd5b603060019054906101000a900460ff1615603060016101000a81548160ff021916908315150217905550565b611e3461317a565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611ea2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e9990614fc0565b60405180910390fd5b8060056000611eaf61317a565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611f5c61317a565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611fa19190614ec3565b60405180910390a35050565b3373ffffffffffffffffffffffffffffffffffffffff16600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161461203d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161203490615000565b60405180910390fd5b6001603060036101000a81548160ff021916908315150217905550565b600c5481565b606043602e60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054106120e3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120da90615240565b60405180910390fd5b6000602d60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208360058110612136576121356157d8565b5b015467ffffffffffffffff81111561215157612150615807565b5b60405190808252806020026020018201604052801561217f5781602001602082028036833780820191505090505b50905060008060006013866005811061219b5761219a6157d8565b5b600402016000600481106121b2576121b16157d8565b5b015490506000600190505b81811161226a57612710876121d2919061549a565b816121dd9190615413565b92506121e8836130cc565b15612257578773ffffffffffffffffffffffffffffffffffffffff1661220d846110fc565b73ffffffffffffffffffffffffffffffffffffffff161415612256578285858061223690615687565b965081518110612249576122486157d8565b5b6020026020010181815250505b5b808061226290615687565b9150506121bd565b508394505050505092915050565b61228961228361317a565b8361323b565b6122c8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122bf90615220565b60405180910390fd5b6122d4848484846137de565b50505050565b66f523226980800081565b603060019054906101000a900460ff16612334576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161232b90615120565b60405180910390fd5b600080339050803b91503273ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146123ac576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123a390615280565b60405180910390fd5b600082146123ef576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123e6906152c0565b60405180910390fd5b60026006541415612435576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161242c906152a0565b60405180910390fd5b600260068190555060008484905011612483576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161247a906150a0565b60405180910390fd5b6000805b8585905081101561263e576124b48686838181106124a8576124a76157d8565b5b905060200201356130cc565b6124f3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124ea90614fe0565b60405180910390fd5b612515868683818110612509576125086157d8565b5b905060200201356110fc565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614612582576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161257990615000565b60405180910390fd5b6000601361271088888581811061259c5761259b6157d8565b5b905060200201356125ad9190615469565b600581106125be576125bd6157d8565b5b600402016002600481106125d5576125d46157d8565b5b015490506000811161261c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161261390614f20565b60405180910390fd5b80836126289190615413565b925050808061263690615687565b915050612487565b5060048114612682576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161267990615260565b60405180910390fd5b60018585905061269291906154f4565b600b60008282546126a391906154f4565b9250508190555060005b858590508110156126ed576126da8686838181106126ce576126cd6157d8565b5b9050602002013561383a565b80806126e590615687565b9150506126ad565b506001858590501415612831576000612726337f65786368616e676500000000000000000000000000000000000000000000000061389b565b9050600060016013600160058110612741576127406157d8565b5b60040201600160048110612758576127576157d8565b5b0154609661276691906154f4565b6127709190615413565b9050600080600390505b600481116128285760138160058110612796576127956157d8565b5b600402016000600481106127ad576127ac6157d8565b5b0154601382600581106127c3576127c26157d8565b5b600402016003600481106127da576127d96157d8565b5b01546127e691906154f4565b826127f19190615413565b9150818385612800919061571a565b1015612815576128103382613935565b612828565b808061282090615687565b91505061277a565b5050505061283d565b61283c336004613935565b5b5060016006819055508041604051602001612859929190614d15565b6040516020818303038152906040528051906020012060118190555050505050565b603060009054906101000a900460ff1681565b606043602e60003273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205410612911576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161290890615240565b60405180910390fd5b61291a826130cc565b612959576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161295090615020565b60405180910390fd5b603060039054906101000a900460ff1661299557600760405160200161297f9190614dc2565b60405160208183030381529060405290506129f4565b60076027612710846129a79190615469565b600581106129b8576129b76157d8565b5b01546129d0612710856129cb919061571a565b61399f565b6040516020016129e293929190614de4565b60405160208183030381529060405290505b919050565b600381565b3373ffffffffffffffffffffffffffffffffffffffff16600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614612a8e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a8590615000565b60405180910390fd5b80600a8190555050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b603060009054906101000a900460ff16612b7b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b7290615200565b60405180910390fd5b600080339050803b91503273ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614612bf3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612bea90615280565b60405180910390fd5b60008214612c36576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c2d906152c0565b60405180910390fd5b60026006541415612c7c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c73906152a0565b60405180910390fd5b60026006819055508266f5232269808000612c97919061549a565b3414612cd8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ccf906151c0565b60405180910390fd5b601054600e54611c20612ceb91906154f4565b612cf591906154f4565b83600c54612d039190615413565b1115612d44576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d3b90615160565b60405180910390fd5b600083118015612d55575060038311155b612d94576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d8b90614f00565b60405180910390fd5b600a5483602c60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054612de29190615413565b1115612e23576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612e1a90614f80565b60405180910390fd5b82600b6000828254612e359190615413565b9250508190555082600c6000828254612e4e9190615413565b92505081905550612e618333600061362d565b60016006819055508041604051602001612e7c929190614d15565b60405160208183030381529060405280519060200120601181905550505050565b600043602e60003273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205410612f20576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612f1790615240565b60405180910390fd5b602d60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208260058110612f7157612f706157d8565b5b0154905092915050565b3373ffffffffffffffffffffffffffffffffffffffff16600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161461300b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161300290615000565b60405180910390fd5b80600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b603060019054906101000a900460ff1681565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905080915050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff166131f583613138565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000613246826130cc565b613285576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161327c90615040565b60405180910390fd5b600061329083613138565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614806132ff57508373ffffffffffffffffffffffffffffffffffffffff166132e784610bb3565b73ffffffffffffffffffffffffffffffffffffffff16145b80613310575061330f8185612a98565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff1661333982613138565b73ffffffffffffffffffffffffffffffffffffffff161461338f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161338690615140565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156133ff576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016133f690614fa0565b60405180910390fd5b61340a838383613b00565b613415600082613182565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461346591906154f4565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546134bc9190615413565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156135e6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016135dd906150c0565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b806136895782602c60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546136819190615413565b925050819055505b600083600d54600f54600c54611c206136a291906154f4565b6136ac91906154f4565b6136b691906154f4565b6136c09190615413565b9050600080600090505b858110156137d65760006136fe337f6d696e740000000000000000000000000000000000000000000000000000000061389b565b90506000925060005b60038110156137c15760138160058110613724576137236157d8565b5b6004020160006004811061373b5761373a6157d8565b5b015460138260058110613751576137506157d8565b5b60040201600360048110613768576137676157d8565b5b015461377491906154f4565b8461377f9190615413565b935083838661378e91906154f4565b83613799919061571a565b10156137ae576137a98782613935565b6137c1565b80806137b990615687565b915050613707565b505080806137ce90615687565b9150506136ca565b505050505050565b6137e9848484613319565b6137f584848484613c52565b613834576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161382b90614f40565b60405180910390fd5b50505050565b60006127108261384a9190615469565b9050601381600581106138605761385f6157d8565b5b60040201600160048110613877576138766157d8565b5b01600081548092919061388990615687565b919050555061389782613de9565b5050565b600043602e60003273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555082426012600081546138f290615687565b9190508190558448426011546040516020016139149796959493929190614d41565b6040516020818303038152906040528051906020012060001c905092915050565b600061271082613945919061549a565b60138360058110613959576139586157d8565b5b600402016000600481106139705761396f6157d8565b5b016000815461397e90615687565b91905081905561398e9190615413565b905061399a8382613efa565b505050565b606060008214156139e7576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050613afb565b600082905060005b60008214613a19578080613a0290615687565b915050600a82613a129190615469565b91506139ef565b60008167ffffffffffffffff811115613a3557613a34615807565b5b6040519080825280601f01601f191660200182016040528015613a675781602001600182028036833780820191505090505b5090505b60008514613af457600182613a8091906154f4565b9150600a85613a8f919061571a565b6030613a9b9190615413565b60f81b818381518110613ab157613ab06157d8565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85613aed9190615469565b9450613a6b565b8093505050505b919050565b600061271082613b109190615469565b9050600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614613baf57602d60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208160058110613b9757613b966157d8565b5b016000815480929190613ba9906155fa565b91905055505b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614613c4c57602d60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208160058110613c3457613c336157d8565b5b016000815480929190613c4690615687565b91905055505b50505050565b6000613c738473ffffffffffffffffffffffffffffffffffffffff166140c8565b15613ddc578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02613c9c61317a565b8786866040518563ffffffff1660e01b8152600401613cbe9493929190614e55565b602060405180830381600087803b158015613cd857600080fd5b505af1925050508015613d0957506040513d601f19601f82011682018060405250810190613d06919061459c565b60015b613d8c573d8060008114613d39576040519150601f19603f3d011682016040523d82523d6000602084013e613d3e565b606091505b50600081511415613d84576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613d7b90614f40565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050613de1565b600190505b949350505050565b6000613df482613138565b9050613e0281600084613b00565b613e0d600083613182565b6001600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254613e5d91906154f4565b925050819055506002600083815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff021916905581600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415613f6a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613f61906150e0565b60405180910390fd5b613f73816130cc565b15613fb3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613faa90614f60565b60405180910390fd5b613fbf60008383613b00565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461400f9190615413565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b600080823b905060008111915050919050565b8280546140e790615624565b90600052602060002090601f0160209004810192826141095760008555614150565b82601f1061412257805160ff1916838001178555614150565b82800160010185558215614150579182015b8281111561414f578251825591602001919060010190614134565b5b50905061415d9190614161565b5090565b5b8082111561417a576000816000905550600101614162565b5090565b600061419161418c84615320565b6152fb565b9050828152602081018484840111156141ad576141ac615845565b5b6141b88482856155b8565b509392505050565b60006141d36141ce84615351565b6152fb565b9050828152602081018484840111156141ef576141ee615845565b5b6141fa8482856155b8565b509392505050565b60008135905061421181615f3a565b92915050565b60008151905061422681615f3a565b92915050565b60008083601f8401126142425761424161583b565b5b8235905067ffffffffffffffff81111561425f5761425e615836565b5b60208301915083602082028301111561427b5761427a615840565b5b9250929050565b60008135905061429181615f51565b92915050565b6000813590506142a681615f68565b92915050565b6000815190506142bb81615f68565b92915050565b600082601f8301126142d6576142d561583b565b5b81356142e684826020860161417e565b91505092915050565b600082601f8301126143045761430361583b565b5b81356143148482602086016141c0565b91505092915050565b60008135905061432c81615f7f565b92915050565b6000602082840312156143485761434761584f565b5b600061435684828501614202565b91505092915050565b6000602082840312156143755761437461584f565b5b600061438384828501614217565b91505092915050565b600080604083850312156143a3576143a261584f565b5b60006143b185828601614202565b92505060206143c285828601614202565b9150509250929050565b6000806000606084860312156143e5576143e461584f565b5b60006143f386828701614202565b935050602061440486828701614202565b92505060406144158682870161431d565b9150509250925092565b600080600080608085870312156144395761443861584f565b5b600061444787828801614202565b945050602061445887828801614202565b93505060406144698782880161431d565b925050606085013567ffffffffffffffff81111561448a5761448961584a565b5b614496878288016142c1565b91505092959194509250565b600080604083850312156144b9576144b861584f565b5b60006144c785828601614202565b92505060206144d885828601614282565b9150509250929050565b600080604083850312156144f9576144f861584f565b5b600061450785828601614202565b92505060206145188582860161431d565b9150509250929050565b600080602083850312156145395761453861584f565b5b600083013567ffffffffffffffff8111156145575761455661584a565b5b6145638582860161422c565b92509250509250929050565b6000602082840312156145855761458461584f565b5b600061459384828501614297565b91505092915050565b6000602082840312156145b2576145b161584f565b5b60006145c0848285016142ac565b91505092915050565b6000602082840312156145df576145de61584f565b5b600082013567ffffffffffffffff8111156145fd576145fc61584a565b5b614609848285016142ef565b91505092915050565b6000602082840312156146285761462761584f565b5b60006146368482850161431d565b91505092915050565b600061464b8383614ce0565b60208301905092915050565b6146686146638261553a565b6156e2565b82525050565b61467781615528565b82525050565b61468e61468982615528565b6156d0565b82525050565b600061469f826153a7565b6146a981856153d5565b93506146b483615382565b8060005b838110156146e55781516146cc888261463f565b97506146d7836153c8565b9250506001810190506146b8565b5085935050505092915050565b6146fb8161554c565b82525050565b61471261470d82615558565b6156f4565b82525050565b6000614723826153b2565b61472d81856153e6565b935061473d8185602086016155c7565b61474681615854565b840191505092915050565b600061475c826153bd565b61476681856153f7565b93506147768185602086016155c7565b61477f81615854565b840191505092915050565b6000614795826153bd565b61479f8185615408565b93506147af8185602086016155c7565b80840191505092915050565b600081546147c881615624565b6147d28186615408565b945060018216600081146147ed57600181146147fe57614831565b60ff19831686528186019350614831565b61480785615392565b60005b838110156148295781548189015260018201915060208101905061480a565b838801955050505b50505092915050565b60006148476011836153f7565b915061485282615872565b602082019050919050565b600061486a6019836153f7565b91506148758261589b565b602082019050919050565b600061488d601e83615408565b9150614898826158c4565b601e82019050919050565b60006148b06032836153f7565b91506148bb826158ed565b604082019050919050565b60006148d3601c836153f7565b91506148de8261593c565b602082019050919050565b60006148f66014836153f7565b915061490182615965565b602082019050919050565b60006149196024836153f7565b91506149248261598e565b604082019050919050565b600061493c6019836153f7565b9150614947826159dd565b602082019050919050565b600061495f6014836153f7565b915061496a82615a06565b602082019050919050565b60006149826015836153f7565b915061498d82615a2f565b602082019050919050565b60006149a56014836153f7565b91506149b082615a58565b602082019050919050565b60006149c8602c836153f7565b91506149d382615a81565b604082019050919050565b60006149eb6015836153f7565b91506149f682615ad0565b602082019050919050565b6000614a0e6038836153f7565b9150614a1982615af9565b604082019050919050565b6000614a316016836153f7565b9150614a3c82615b48565b602082019050919050565b6000614a54602a836153f7565b9150614a5f82615b71565b604082019050919050565b6000614a776020836153f7565b9150614a8282615bc0565b602082019050919050565b6000614a9a602c836153f7565b9150614aa582615be9565b604082019050919050565b6000614abd6014836153f7565b9150614ac882615c38565b602082019050919050565b6000614ae06029836153f7565b9150614aeb82615c61565b604082019050919050565b6000614b036018836153f7565b9150614b0e82615cb0565b602082019050919050565b6000614b26600583615408565b9150614b3182615cd9565b600582019050919050565b6000614b496011836153f7565b9150614b5482615d02565b602082019050919050565b6000614b6c6021836153f7565b9150614b7782615d2b565b604082019050919050565b6000614b8f6011836153f7565b9150614b9a82615d7a565b602082019050919050565b6000614bb26017836153f7565b9150614bbd82615da3565b602082019050919050565b6000614bd56010836153f7565b9150614be082615dcc565b602082019050919050565b6000614bf86031836153f7565b9150614c0382615df5565b604082019050919050565b6000614c1b601e836153f7565b9150614c2682615e44565b602082019050919050565b6000614c3e6018836153f7565b9150614c4982615e6d565b602082019050919050565b6000614c616017836153f7565b9150614c6c82615e96565b602082019050919050565b6000614c84601f836153f7565b9150614c8f82615ebf565b602082019050919050565b6000614ca7601e836153f7565b9150614cb282615ee8565b602082019050919050565b6000614cca600183615408565b9150614cd582615f11565b600182019050919050565b614ce9816155ae565b82525050565b614cf8816155ae565b82525050565b614d0f614d0a826155ae565b615710565b82525050565b6000614d21828561467d565b601482019150614d318284614657565b6014820191508190509392505050565b6000614d4d828a61467d565b601482019150614d5d8289614cfe565b602082019150614d6d8288614cfe565b602082019150614d7d8287614701565b602082019150614d8d8286614cfe565b602082019150614d9d8285614cfe565b602082019150614dad8284614701565b60208201915081905098975050505050505050565b6000614dce82846147bb565b9150614dd982614880565b915081905092915050565b6000614df082866147bb565b9150614dfb82614cbd565b9150614e078285614701565b602082019150614e1682614cbd565b9150614e2182614b19565b9150614e2d828461478a565b9150819050949350505050565b6000602082019050614e4f600083018461466e565b92915050565b6000608082019050614e6a600083018761466e565b614e77602083018661466e565b614e846040830185614cef565b8181036060830152614e968184614718565b905095945050505050565b60006020820190508181036000830152614ebb8184614694565b905092915050565b6000602082019050614ed860008301846146f2565b92915050565b60006020820190508181036000830152614ef88184614751565b905092915050565b60006020820190508181036000830152614f198161483a565b9050919050565b60006020820190508181036000830152614f398161485d565b9050919050565b60006020820190508181036000830152614f59816148a3565b9050919050565b60006020820190508181036000830152614f79816148c6565b9050919050565b60006020820190508181036000830152614f99816148e9565b9050919050565b60006020820190508181036000830152614fb98161490c565b9050919050565b60006020820190508181036000830152614fd98161492f565b9050919050565b60006020820190508181036000830152614ff981614952565b9050919050565b6000602082019050818103600083015261501981614975565b9050919050565b6000602082019050818103600083015261503981614998565b9050919050565b60006020820190508181036000830152615059816149bb565b9050919050565b60006020820190508181036000830152615079816149de565b9050919050565b6000602082019050818103600083015261509981614a01565b9050919050565b600060208201905081810360008301526150b981614a24565b9050919050565b600060208201905081810360008301526150d981614a47565b9050919050565b600060208201905081810360008301526150f981614a6a565b9050919050565b6000602082019050818103600083015261511981614a8d565b9050919050565b6000602082019050818103600083015261513981614ab0565b9050919050565b6000602082019050818103600083015261515981614ad3565b9050919050565b6000602082019050818103600083015261517981614af6565b9050919050565b6000602082019050818103600083015261519981614b3c565b9050919050565b600060208201905081810360008301526151b981614b5f565b9050919050565b600060208201905081810360008301526151d981614b82565b9050919050565b600060208201905081810360008301526151f981614ba5565b9050919050565b6000602082019050818103600083015261521981614bc8565b9050919050565b6000602082019050818103600083015261523981614beb565b9050919050565b6000602082019050818103600083015261525981614c0e565b9050919050565b6000602082019050818103600083015261527981614c31565b9050919050565b6000602082019050818103600083015261529981614c54565b9050919050565b600060208201905081810360008301526152b981614c77565b9050919050565b600060208201905081810360008301526152d981614c9a565b9050919050565b60006020820190506152f56000830184614cef565b92915050565b6000615305615316565b90506153118282615656565b919050565b6000604051905090565b600067ffffffffffffffff82111561533b5761533a615807565b5b61534482615854565b9050602081019050919050565b600067ffffffffffffffff82111561536c5761536b615807565b5b61537582615854565b9050602081019050919050565b6000819050602082019050919050565b60008190508160005260206000209050919050565b600081519050919050565b600081519050919050565b600081519050919050565b6000602082019050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b600061541e826155ae565b9150615429836155ae565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561545e5761545d61574b565b5b828201905092915050565b6000615474826155ae565b915061547f836155ae565b92508261548f5761548e61577a565b5b828204905092915050565b60006154a5826155ae565b91506154b0836155ae565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156154e9576154e861574b565b5b828202905092915050565b60006154ff826155ae565b915061550a836155ae565b92508282101561551d5761551c61574b565b5b828203905092915050565b60006155338261558e565b9050919050565b60006155458261558e565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b838110156155e55780820151818401526020810190506155ca565b838111156155f4576000848401525b50505050565b6000615605826155ae565b915060008214156156195761561861574b565b5b600182039050919050565b6000600282049050600182168061563c57607f821691505b602082108114156156505761564f6157a9565b5b50919050565b61565f82615854565b810181811067ffffffffffffffff8211171561567e5761567d615807565b5b80604052505050565b6000615692826155ae565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156156c5576156c461574b565b5b600182019050919050565b60006156db826156fe565b9050919050565b60006156ed826156fe565b9050919050565b6000819050919050565b600061570982615865565b9050919050565b6000819050919050565b6000615725826155ae565b9150615730836155ae565b9250826157405761573f61577a565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b60008160601b9050919050565b7f57726f6e67206d696e7420616d6f756e74000000000000000000000000000000600082015250565b7f4d656d626572732063616e206e6f74206265206275726e656400000000000000600082015250565b7f2f756e72657665616c65642f6a736f6e2f6d657461646174612e6a736f6e0000600082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f57616c6c6574206c696d69742072656163686564000000000000000000000000600082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f546f6b656e20646f65736e277420657869737473000000000000000000000000600082015250565b7f596f7520617265206e6f7420746865206f776e65720000000000000000000000600082015250565b7f546f6b656e20646f6573206e6f74206578697374000000000000000000000000600082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f416c7265616479207573656420746f20636c61696d0000000000000000000000600082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f41727261792063616e206e6f7420626520656d70747900000000000000000000600082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f45786368616e6765206e6f7420616c6c6f776564000000000000000000000000600082015250565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b7f4e6f207075626c6963206d696e7420617661696c61626c650000000000000000600082015250565b7f6a736f6e2f000000000000000000000000000000000000000000000000000000600082015250565b7f436c61696d206e6f7420616c6c6f776564000000000000000000000000000000600082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b7f496e76616c69642074782076616c756521000000000000000000000000000000600082015250565b7f596f7520646f6e2774206f776e2074686520746f6b656e000000000000000000600082015250565b7f4d696e74206e6f7420616c6c6f77656400000000000000000000000000000000600082015250565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f506c656173652074727920616761696e206f6e206e65787420626c6f636b0000600082015250565b7f53636f72657320746f74616c2073686f756c6420626520340000000000000000600082015250565b7f74782e6f726967696e20213d206d73672e73656e646572000000000000000000600082015250565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b7f436f6e74726163742063616c6c7320617265206e6f7420616c6c6f7765640000600082015250565b7f2f00000000000000000000000000000000000000000000000000000000000000600082015250565b615f4381615528565b8114615f4e57600080fd5b50565b615f5a8161554c565b8114615f6557600080fd5b50565b615f7181615562565b8114615f7c57600080fd5b50565b615f88816155ae565b8114615f9357600080fd5b5056fea2646970667358221220763eafde301a9fb94df70baa5253c0af23322f8ed90ac0e998226fcba75269e764736f6c63430008070033

Deployed Bytecode

0x60806040526004361061027d5760003560e01c8063872f0b971161014f578063b88d4fde116100c1578063e268e4d31161007a578063e268e4d31461092c578063e985e9c514610955578063efd0cbf914610992578063f0572751146109ae578063f2fde38b146109eb578063f430150114610a145761027d565b8063b88d4fde1461081c578063bdb4b84814610845578063bfb8804814610870578063c467201e14610899578063c87b56dd146108c4578063de7fcb1d146109015761027d565b80639a8cbafa116101135780639a8cbafa146107465780639cdd66d01461075d578063a22cb46514610774578063a475b5dd1461079d578063a4f4f8af146107b4578063b3ba94e3146107df5761027d565b8063872f0b9714610671578063891aaf681461069c5780638da5cb5b146106c75780638e825be0146106f257806395d89b411461071b5761027d565b806330176e13116101f357806351830227116101ac57806351830227146105635780636352211e1461058e57806370a08231146105cb5780637362377b146106085780637c49bc9b1461061f5780637ee8e521146106485761027d565b806330176e131461046557806332cb6b0c1461048e57806336f5b9a3146104b957806342842e0e146104e4578063453c23101461050d5780634c81433f146105385761027d565b806317718a901161024557806317718a901461036757806318160ddd146103925780631b1b905f146103bd5780631b73d58d146103fa57806323b872dd1461042557806325d74aee1461044e5761027d565b806301ffc9a71461028257806306fdde03146102bf578063081812fc146102ea578063095ea7b3146103275780630a7a8fbc14610350575b600080fd5b34801561028e57600080fd5b506102a960048036038101906102a4919061456f565b610a3f565b6040516102b69190614ec3565b60405180910390f35b3480156102cb57600080fd5b506102d4610b21565b6040516102e19190614ede565b60405180910390f35b3480156102f657600080fd5b50610311600480360381019061030c9190614612565b610bb3565b60405161031e9190614e3a565b60405180910390f35b34801561033357600080fd5b5061034e600480360381019061034991906144e2565b610c38565b005b34801561035c57600080fd5b50610365610d50565b005b34801561037357600080fd5b5061037c610e0c565b60405161038991906152e0565b60405180910390f35b34801561039e57600080fd5b506103a7610e12565b6040516103b491906152e0565b60405180910390f35b3480156103c957600080fd5b506103e460048036038101906103df9190614612565b610e18565b6040516103f191906152e0565b60405180910390f35b34801561040657600080fd5b5061040f610f06565b60405161041c91906152e0565b60405180910390f35b34801561043157600080fd5b5061044c600480360381019061044791906143cc565b610f0c565b005b34801561045a57600080fd5b50610463610f6c565b005b34801561047157600080fd5b5061048c600480360381019061048791906145c9565b611007565b005b34801561049a57600080fd5b506104a36110b1565b6040516104b091906152e0565b60405180910390f35b3480156104c557600080fd5b506104ce6110b7565b6040516104db91906152e0565b60405180910390f35b3480156104f057600080fd5b5061050b600480360381019061050691906143cc565b6110bd565b005b34801561051957600080fd5b506105226110dd565b60405161052f91906152e0565b60405180910390f35b34801561054457600080fd5b5061054d6110e3565b60405161055a91906152e0565b60405180910390f35b34801561056f57600080fd5b506105786110e9565b6040516105859190614ec3565b60405180910390f35b34801561059a57600080fd5b506105b560048036038101906105b09190614612565b6110fc565b6040516105c29190614e3a565b60405180910390f35b3480156105d757600080fd5b506105f260048036038101906105ed9190614332565b611194565b6040516105ff91906152e0565b60405180910390f35b34801561061457600080fd5b5061061d611227565b005b34801561062b57600080fd5b5061064660048036038101906106419190614522565b61139c565b005b34801561065457600080fd5b5061066f600480360381019061066a9190614332565b611881565b005b34801561067d57600080fd5b50610686611955565b6040516106939190614ec3565b60405180910390f35b3480156106a857600080fd5b506106b1611968565b6040516106be91906152e0565b60405180910390f35b3480156106d357600080fd5b506106dc6119cc565b6040516106e99190614e3a565b60405180910390f35b3480156106fe57600080fd5b50610719600480360381019061071491906144e2565b6119f2565b005b34801561072757600080fd5b50610730611c22565b60405161073d9190614ede565b60405180910390f35b34801561075257600080fd5b5061075b611cb4565b005b34801561076957600080fd5b50610772611d70565b005b34801561078057600080fd5b5061079b600480360381019061079691906144a2565b611e2c565b005b3480156107a957600080fd5b506107b2611fad565b005b3480156107c057600080fd5b506107c961205a565b6040516107d691906152e0565b60405180910390f35b3480156107eb57600080fd5b50610806600480360381019061080191906144e2565b612060565b6040516108139190614ea1565b60405180910390f35b34801561082857600080fd5b50610843600480360381019061083e919061441f565b612278565b005b34801561085157600080fd5b5061085a6122da565b60405161086791906152e0565b60405180910390f35b34801561087c57600080fd5b5061089760048036038101906108929190614522565b6122e5565b005b3480156108a557600080fd5b506108ae61287b565b6040516108bb9190614ec3565b60405180910390f35b3480156108d057600080fd5b506108eb60048036038101906108e69190614612565b61288e565b6040516108f89190614ede565b60405180910390f35b34801561090d57600080fd5b506109166129f9565b60405161092391906152e0565b60405180910390f35b34801561093857600080fd5b50610953600480360381019061094e9190614612565b6129fe565b005b34801561096157600080fd5b5061097c6004803603810190610977919061438c565b612a98565b6040516109899190614ec3565b60405180910390f35b6109ac60048036038101906109a79190614612565b612b2c565b005b3480156109ba57600080fd5b506109d560048036038101906109d091906144e2565b612e9d565b6040516109e291906152e0565b60405180910390f35b3480156109f757600080fd5b50610a126004803603810190610a0d9190614332565b612f7b565b005b348015610a2057600080fd5b50610a2961304f565b604051610a369190614ec3565b60405180910390f35b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610b0a57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610b1a5750610b1982613062565b5b9050919050565b606060008054610b3090615624565b80601f0160208091040260200160405190810160405280929190818152602001828054610b5c90615624565b8015610ba95780601f10610b7e57610100808354040283529160200191610ba9565b820191906000526020600020905b815481529060010190602001808311610b8c57829003601f168201915b5050505050905090565b6000610bbe826130cc565b610bfd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bf490615100565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610c4382613138565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610cb4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cab906151a0565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610cd361317a565b73ffffffffffffffffffffffffffffffffffffffff161480610d025750610d0181610cfc61317a565b612a98565b5b610d41576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d3890615080565b60405180910390fd5b610d4b8383613182565b505050565b3373ffffffffffffffffffffffffffffffffffffffff16600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614610de0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dd790615000565b60405180910390fd5b603060029054906101000a900460ff1615603060026101000a81548160ff021916908315150217905550565b600f5481565b600b5481565b600043602e60003273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205410610e9b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e9290615240565b60405180910390fd5b60138260058110610eaf57610eae6157d8565b5b60040201600160048110610ec657610ec56157d8565b5b015460138360058110610edc57610edb6157d8565b5b60040201600060048110610ef357610ef26157d8565b5b0154610eff91906154f4565b9050919050565b60105481565b610f1d610f1761317a565b8261323b565b610f5c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f5390615220565b60405180910390fd5b610f67838383613319565b505050565b3373ffffffffffffffffffffffffffffffffffffffff16600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614610ffc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ff390615000565b60405180910390fd5b600f54601081905550565b3373ffffffffffffffffffffffffffffffffffffffff16600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614611097576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161108e90615000565b60405180910390fd5b80600790805190602001906110ad9291906140db565b5050565b611c2081565b600e5481565b6110d883838360405180602001604052806000815250612278565b505050565b600a5481565b600d5481565b603060039054906101000a900460ff1681565b60008061110883613138565b905043602e60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020541061118b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161118290615240565b60405180910390fd5b80915050919050565b600043602e60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205410611217576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161120e90615240565b60405180910390fd5b61122082613575565b9050919050565b3373ffffffffffffffffffffffffffffffffffffffff16600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16146112b7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112ae90615000565b60405180910390fd5b600047116112c457600080fd5b6000600a476112d39190615469565b905073da00d453f87db473bc84221063f4a27298f7fcca73ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f1935050505015801561132f573d6000803e3d6000fd5b50600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc479081150290604051600060405180830381858888f19350505050158015611398573d6000803e3d6000fd5b5050565b603060029054906101000a900460ff166113eb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113e290615180565b60405180910390fd5b600080339050803b91503273ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614611463576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161145a90615280565b60405180910390fd5b600082146114a6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161149d906152c0565b60405180910390fd5b600260065414156114ec576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114e3906152a0565b60405180910390fd5b60026006819055506000848490501161153a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611531906150a0565b60405180910390fd5b60105484849050600f5461154e9190615413565b111561155957600080fd5b600a5484849050602c60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546115aa9190615413565b11156115eb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115e290614f80565b60405180910390fd5b83839050600b60008282546116009190615413565b9250508190555083839050600f600082825461161c9190615413565b9250508190555060005b84849050811015611834573373ffffffffffffffffffffffffffffffffffffffff16600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16636352211e878785818110611699576116986157d8565b5b905060200201356040518263ffffffff1660e01b81526004016116bc91906152e0565b60206040518083038186803b1580156116d457600080fd5b505afa1580156116e8573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061170c919061435f565b73ffffffffffffffffffffffffffffffffffffffff1614611762576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611759906151e0565b60405180910390fd5b602f6000868684818110611779576117786157d8565b5b90506020020135815260200190815260200160002060009054906101000a900460ff16156117dc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117d390615060565b60405180910390fd5b6001602f60008787858181106117f5576117f46157d8565b5b90506020020135815260200190815260200160002060006101000a81548160ff021916908315150217905550808061182c90615687565b915050611626565b506118448484905033600061362d565b6001600681905550804160405160200161185f929190614d15565b6040516020818303038152906040528051906020012060118190555050505050565b3373ffffffffffffffffffffffffffffffffffffffff16600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614611911576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161190890615000565b60405180910390fd5b80600960006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b603060029054906101000a900460ff1681565b60008060005b60038110156119c4576013816005811061198b5761198a6157d8565b5b600402016000600481106119a2576119a16157d8565b5b0154826119af9190615413565b915080806119bc90615687565b91505061196e565b508091505090565b600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b3373ffffffffffffffffffffffffffffffffffffffff16600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614611a82576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a7990615000565b60405180910390fd5b600080339050803b91503273ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614611afa576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611af190615280565b60405180910390fd5b60008214611b3d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b34906152c0565b60405180910390fd5b60026006541415611b83576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b7a906152a0565b60405180910390fd5b6002600681905550600e5483600d54611b9c9190615413565b1115611ba757600080fd5b82600b6000828254611bb99190615413565b9250508190555082600d6000828254611bd29190615413565b92505081905550611be58385600161362d565b60016006819055508041604051602001611c00929190614d15565b6040516020818303038152906040528051906020012060118190555050505050565b606060018054611c3190615624565b80601f0160208091040260200160405190810160405280929190818152602001828054611c5d90615624565b8015611caa5780601f10611c7f57610100808354040283529160200191611caa565b820191906000526020600020905b815481529060010190602001808311611c8d57829003601f168201915b5050505050905090565b3373ffffffffffffffffffffffffffffffffffffffff16600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614611d44576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d3b90615000565b60405180910390fd5b603060009054906101000a900460ff1615603060006101000a81548160ff021916908315150217905550565b3373ffffffffffffffffffffffffffffffffffffffff16600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614611e00576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611df790615000565b60405180910390fd5b603060019054906101000a900460ff1615603060016101000a81548160ff021916908315150217905550565b611e3461317a565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611ea2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e9990614fc0565b60405180910390fd5b8060056000611eaf61317a565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611f5c61317a565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611fa19190614ec3565b60405180910390a35050565b3373ffffffffffffffffffffffffffffffffffffffff16600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161461203d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161203490615000565b60405180910390fd5b6001603060036101000a81548160ff021916908315150217905550565b600c5481565b606043602e60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054106120e3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120da90615240565b60405180910390fd5b6000602d60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208360058110612136576121356157d8565b5b015467ffffffffffffffff81111561215157612150615807565b5b60405190808252806020026020018201604052801561217f5781602001602082028036833780820191505090505b50905060008060006013866005811061219b5761219a6157d8565b5b600402016000600481106121b2576121b16157d8565b5b015490506000600190505b81811161226a57612710876121d2919061549a565b816121dd9190615413565b92506121e8836130cc565b15612257578773ffffffffffffffffffffffffffffffffffffffff1661220d846110fc565b73ffffffffffffffffffffffffffffffffffffffff161415612256578285858061223690615687565b965081518110612249576122486157d8565b5b6020026020010181815250505b5b808061226290615687565b9150506121bd565b508394505050505092915050565b61228961228361317a565b8361323b565b6122c8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122bf90615220565b60405180910390fd5b6122d4848484846137de565b50505050565b66f523226980800081565b603060019054906101000a900460ff16612334576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161232b90615120565b60405180910390fd5b600080339050803b91503273ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146123ac576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123a390615280565b60405180910390fd5b600082146123ef576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123e6906152c0565b60405180910390fd5b60026006541415612435576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161242c906152a0565b60405180910390fd5b600260068190555060008484905011612483576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161247a906150a0565b60405180910390fd5b6000805b8585905081101561263e576124b48686838181106124a8576124a76157d8565b5b905060200201356130cc565b6124f3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124ea90614fe0565b60405180910390fd5b612515868683818110612509576125086157d8565b5b905060200201356110fc565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614612582576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161257990615000565b60405180910390fd5b6000601361271088888581811061259c5761259b6157d8565b5b905060200201356125ad9190615469565b600581106125be576125bd6157d8565b5b600402016002600481106125d5576125d46157d8565b5b015490506000811161261c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161261390614f20565b60405180910390fd5b80836126289190615413565b925050808061263690615687565b915050612487565b5060048114612682576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161267990615260565b60405180910390fd5b60018585905061269291906154f4565b600b60008282546126a391906154f4565b9250508190555060005b858590508110156126ed576126da8686838181106126ce576126cd6157d8565b5b9050602002013561383a565b80806126e590615687565b9150506126ad565b506001858590501415612831576000612726337f65786368616e676500000000000000000000000000000000000000000000000061389b565b9050600060016013600160058110612741576127406157d8565b5b60040201600160048110612758576127576157d8565b5b0154609661276691906154f4565b6127709190615413565b9050600080600390505b600481116128285760138160058110612796576127956157d8565b5b600402016000600481106127ad576127ac6157d8565b5b0154601382600581106127c3576127c26157d8565b5b600402016003600481106127da576127d96157d8565b5b01546127e691906154f4565b826127f19190615413565b9150818385612800919061571a565b1015612815576128103382613935565b612828565b808061282090615687565b91505061277a565b5050505061283d565b61283c336004613935565b5b5060016006819055508041604051602001612859929190614d15565b6040516020818303038152906040528051906020012060118190555050505050565b603060009054906101000a900460ff1681565b606043602e60003273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205410612911576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161290890615240565b60405180910390fd5b61291a826130cc565b612959576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161295090615020565b60405180910390fd5b603060039054906101000a900460ff1661299557600760405160200161297f9190614dc2565b60405160208183030381529060405290506129f4565b60076027612710846129a79190615469565b600581106129b8576129b76157d8565b5b01546129d0612710856129cb919061571a565b61399f565b6040516020016129e293929190614de4565b60405160208183030381529060405290505b919050565b600381565b3373ffffffffffffffffffffffffffffffffffffffff16600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614612a8e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a8590615000565b60405180910390fd5b80600a8190555050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b603060009054906101000a900460ff16612b7b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b7290615200565b60405180910390fd5b600080339050803b91503273ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614612bf3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612bea90615280565b60405180910390fd5b60008214612c36576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c2d906152c0565b60405180910390fd5b60026006541415612c7c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c73906152a0565b60405180910390fd5b60026006819055508266f5232269808000612c97919061549a565b3414612cd8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ccf906151c0565b60405180910390fd5b601054600e54611c20612ceb91906154f4565b612cf591906154f4565b83600c54612d039190615413565b1115612d44576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d3b90615160565b60405180910390fd5b600083118015612d55575060038311155b612d94576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d8b90614f00565b60405180910390fd5b600a5483602c60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054612de29190615413565b1115612e23576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612e1a90614f80565b60405180910390fd5b82600b6000828254612e359190615413565b9250508190555082600c6000828254612e4e9190615413565b92505081905550612e618333600061362d565b60016006819055508041604051602001612e7c929190614d15565b60405160208183030381529060405280519060200120601181905550505050565b600043602e60003273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205410612f20576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612f1790615240565b60405180910390fd5b602d60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208260058110612f7157612f706157d8565b5b0154905092915050565b3373ffffffffffffffffffffffffffffffffffffffff16600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161461300b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161300290615000565b60405180910390fd5b80600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b603060019054906101000a900460ff1681565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905080915050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff166131f583613138565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000613246826130cc565b613285576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161327c90615040565b60405180910390fd5b600061329083613138565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614806132ff57508373ffffffffffffffffffffffffffffffffffffffff166132e784610bb3565b73ffffffffffffffffffffffffffffffffffffffff16145b80613310575061330f8185612a98565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff1661333982613138565b73ffffffffffffffffffffffffffffffffffffffff161461338f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161338690615140565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156133ff576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016133f690614fa0565b60405180910390fd5b61340a838383613b00565b613415600082613182565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461346591906154f4565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546134bc9190615413565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156135e6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016135dd906150c0565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b806136895782602c60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546136819190615413565b925050819055505b600083600d54600f54600c54611c206136a291906154f4565b6136ac91906154f4565b6136b691906154f4565b6136c09190615413565b9050600080600090505b858110156137d65760006136fe337f6d696e740000000000000000000000000000000000000000000000000000000061389b565b90506000925060005b60038110156137c15760138160058110613724576137236157d8565b5b6004020160006004811061373b5761373a6157d8565b5b015460138260058110613751576137506157d8565b5b60040201600360048110613768576137676157d8565b5b015461377491906154f4565b8461377f9190615413565b935083838661378e91906154f4565b83613799919061571a565b10156137ae576137a98782613935565b6137c1565b80806137b990615687565b915050613707565b505080806137ce90615687565b9150506136ca565b505050505050565b6137e9848484613319565b6137f584848484613c52565b613834576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161382b90614f40565b60405180910390fd5b50505050565b60006127108261384a9190615469565b9050601381600581106138605761385f6157d8565b5b60040201600160048110613877576138766157d8565b5b01600081548092919061388990615687565b919050555061389782613de9565b5050565b600043602e60003273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555082426012600081546138f290615687565b9190508190558448426011546040516020016139149796959493929190614d41565b6040516020818303038152906040528051906020012060001c905092915050565b600061271082613945919061549a565b60138360058110613959576139586157d8565b5b600402016000600481106139705761396f6157d8565b5b016000815461397e90615687565b91905081905561398e9190615413565b905061399a8382613efa565b505050565b606060008214156139e7576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050613afb565b600082905060005b60008214613a19578080613a0290615687565b915050600a82613a129190615469565b91506139ef565b60008167ffffffffffffffff811115613a3557613a34615807565b5b6040519080825280601f01601f191660200182016040528015613a675781602001600182028036833780820191505090505b5090505b60008514613af457600182613a8091906154f4565b9150600a85613a8f919061571a565b6030613a9b9190615413565b60f81b818381518110613ab157613ab06157d8565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85613aed9190615469565b9450613a6b565b8093505050505b919050565b600061271082613b109190615469565b9050600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614613baf57602d60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208160058110613b9757613b966157d8565b5b016000815480929190613ba9906155fa565b91905055505b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614613c4c57602d60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208160058110613c3457613c336157d8565b5b016000815480929190613c4690615687565b91905055505b50505050565b6000613c738473ffffffffffffffffffffffffffffffffffffffff166140c8565b15613ddc578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02613c9c61317a565b8786866040518563ffffffff1660e01b8152600401613cbe9493929190614e55565b602060405180830381600087803b158015613cd857600080fd5b505af1925050508015613d0957506040513d601f19601f82011682018060405250810190613d06919061459c565b60015b613d8c573d8060008114613d39576040519150601f19603f3d011682016040523d82523d6000602084013e613d3e565b606091505b50600081511415613d84576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613d7b90614f40565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050613de1565b600190505b949350505050565b6000613df482613138565b9050613e0281600084613b00565b613e0d600083613182565b6001600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254613e5d91906154f4565b925050819055506002600083815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff021916905581600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415613f6a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613f61906150e0565b60405180910390fd5b613f73816130cc565b15613fb3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613faa90614f60565b60405180910390fd5b613fbf60008383613b00565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461400f9190615413565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b600080823b905060008111915050919050565b8280546140e790615624565b90600052602060002090601f0160209004810192826141095760008555614150565b82601f1061412257805160ff1916838001178555614150565b82800160010185558215614150579182015b8281111561414f578251825591602001919060010190614134565b5b50905061415d9190614161565b5090565b5b8082111561417a576000816000905550600101614162565b5090565b600061419161418c84615320565b6152fb565b9050828152602081018484840111156141ad576141ac615845565b5b6141b88482856155b8565b509392505050565b60006141d36141ce84615351565b6152fb565b9050828152602081018484840111156141ef576141ee615845565b5b6141fa8482856155b8565b509392505050565b60008135905061421181615f3a565b92915050565b60008151905061422681615f3a565b92915050565b60008083601f8401126142425761424161583b565b5b8235905067ffffffffffffffff81111561425f5761425e615836565b5b60208301915083602082028301111561427b5761427a615840565b5b9250929050565b60008135905061429181615f51565b92915050565b6000813590506142a681615f68565b92915050565b6000815190506142bb81615f68565b92915050565b600082601f8301126142d6576142d561583b565b5b81356142e684826020860161417e565b91505092915050565b600082601f8301126143045761430361583b565b5b81356143148482602086016141c0565b91505092915050565b60008135905061432c81615f7f565b92915050565b6000602082840312156143485761434761584f565b5b600061435684828501614202565b91505092915050565b6000602082840312156143755761437461584f565b5b600061438384828501614217565b91505092915050565b600080604083850312156143a3576143a261584f565b5b60006143b185828601614202565b92505060206143c285828601614202565b9150509250929050565b6000806000606084860312156143e5576143e461584f565b5b60006143f386828701614202565b935050602061440486828701614202565b92505060406144158682870161431d565b9150509250925092565b600080600080608085870312156144395761443861584f565b5b600061444787828801614202565b945050602061445887828801614202565b93505060406144698782880161431d565b925050606085013567ffffffffffffffff81111561448a5761448961584a565b5b614496878288016142c1565b91505092959194509250565b600080604083850312156144b9576144b861584f565b5b60006144c785828601614202565b92505060206144d885828601614282565b9150509250929050565b600080604083850312156144f9576144f861584f565b5b600061450785828601614202565b92505060206145188582860161431d565b9150509250929050565b600080602083850312156145395761453861584f565b5b600083013567ffffffffffffffff8111156145575761455661584a565b5b6145638582860161422c565b92509250509250929050565b6000602082840312156145855761458461584f565b5b600061459384828501614297565b91505092915050565b6000602082840312156145b2576145b161584f565b5b60006145c0848285016142ac565b91505092915050565b6000602082840312156145df576145de61584f565b5b600082013567ffffffffffffffff8111156145fd576145fc61584a565b5b614609848285016142ef565b91505092915050565b6000602082840312156146285761462761584f565b5b60006146368482850161431d565b91505092915050565b600061464b8383614ce0565b60208301905092915050565b6146686146638261553a565b6156e2565b82525050565b61467781615528565b82525050565b61468e61468982615528565b6156d0565b82525050565b600061469f826153a7565b6146a981856153d5565b93506146b483615382565b8060005b838110156146e55781516146cc888261463f565b97506146d7836153c8565b9250506001810190506146b8565b5085935050505092915050565b6146fb8161554c565b82525050565b61471261470d82615558565b6156f4565b82525050565b6000614723826153b2565b61472d81856153e6565b935061473d8185602086016155c7565b61474681615854565b840191505092915050565b600061475c826153bd565b61476681856153f7565b93506147768185602086016155c7565b61477f81615854565b840191505092915050565b6000614795826153bd565b61479f8185615408565b93506147af8185602086016155c7565b80840191505092915050565b600081546147c881615624565b6147d28186615408565b945060018216600081146147ed57600181146147fe57614831565b60ff19831686528186019350614831565b61480785615392565b60005b838110156148295781548189015260018201915060208101905061480a565b838801955050505b50505092915050565b60006148476011836153f7565b915061485282615872565b602082019050919050565b600061486a6019836153f7565b91506148758261589b565b602082019050919050565b600061488d601e83615408565b9150614898826158c4565b601e82019050919050565b60006148b06032836153f7565b91506148bb826158ed565b604082019050919050565b60006148d3601c836153f7565b91506148de8261593c565b602082019050919050565b60006148f66014836153f7565b915061490182615965565b602082019050919050565b60006149196024836153f7565b91506149248261598e565b604082019050919050565b600061493c6019836153f7565b9150614947826159dd565b602082019050919050565b600061495f6014836153f7565b915061496a82615a06565b602082019050919050565b60006149826015836153f7565b915061498d82615a2f565b602082019050919050565b60006149a56014836153f7565b91506149b082615a58565b602082019050919050565b60006149c8602c836153f7565b91506149d382615a81565b604082019050919050565b60006149eb6015836153f7565b91506149f682615ad0565b602082019050919050565b6000614a0e6038836153f7565b9150614a1982615af9565b604082019050919050565b6000614a316016836153f7565b9150614a3c82615b48565b602082019050919050565b6000614a54602a836153f7565b9150614a5f82615b71565b604082019050919050565b6000614a776020836153f7565b9150614a8282615bc0565b602082019050919050565b6000614a9a602c836153f7565b9150614aa582615be9565b604082019050919050565b6000614abd6014836153f7565b9150614ac882615c38565b602082019050919050565b6000614ae06029836153f7565b9150614aeb82615c61565b604082019050919050565b6000614b036018836153f7565b9150614b0e82615cb0565b602082019050919050565b6000614b26600583615408565b9150614b3182615cd9565b600582019050919050565b6000614b496011836153f7565b9150614b5482615d02565b602082019050919050565b6000614b6c6021836153f7565b9150614b7782615d2b565b604082019050919050565b6000614b8f6011836153f7565b9150614b9a82615d7a565b602082019050919050565b6000614bb26017836153f7565b9150614bbd82615da3565b602082019050919050565b6000614bd56010836153f7565b9150614be082615dcc565b602082019050919050565b6000614bf86031836153f7565b9150614c0382615df5565b604082019050919050565b6000614c1b601e836153f7565b9150614c2682615e44565b602082019050919050565b6000614c3e6018836153f7565b9150614c4982615e6d565b602082019050919050565b6000614c616017836153f7565b9150614c6c82615e96565b602082019050919050565b6000614c84601f836153f7565b9150614c8f82615ebf565b602082019050919050565b6000614ca7601e836153f7565b9150614cb282615ee8565b602082019050919050565b6000614cca600183615408565b9150614cd582615f11565b600182019050919050565b614ce9816155ae565b82525050565b614cf8816155ae565b82525050565b614d0f614d0a826155ae565b615710565b82525050565b6000614d21828561467d565b601482019150614d318284614657565b6014820191508190509392505050565b6000614d4d828a61467d565b601482019150614d5d8289614cfe565b602082019150614d6d8288614cfe565b602082019150614d7d8287614701565b602082019150614d8d8286614cfe565b602082019150614d9d8285614cfe565b602082019150614dad8284614701565b60208201915081905098975050505050505050565b6000614dce82846147bb565b9150614dd982614880565b915081905092915050565b6000614df082866147bb565b9150614dfb82614cbd565b9150614e078285614701565b602082019150614e1682614cbd565b9150614e2182614b19565b9150614e2d828461478a565b9150819050949350505050565b6000602082019050614e4f600083018461466e565b92915050565b6000608082019050614e6a600083018761466e565b614e77602083018661466e565b614e846040830185614cef565b8181036060830152614e968184614718565b905095945050505050565b60006020820190508181036000830152614ebb8184614694565b905092915050565b6000602082019050614ed860008301846146f2565b92915050565b60006020820190508181036000830152614ef88184614751565b905092915050565b60006020820190508181036000830152614f198161483a565b9050919050565b60006020820190508181036000830152614f398161485d565b9050919050565b60006020820190508181036000830152614f59816148a3565b9050919050565b60006020820190508181036000830152614f79816148c6565b9050919050565b60006020820190508181036000830152614f99816148e9565b9050919050565b60006020820190508181036000830152614fb98161490c565b9050919050565b60006020820190508181036000830152614fd98161492f565b9050919050565b60006020820190508181036000830152614ff981614952565b9050919050565b6000602082019050818103600083015261501981614975565b9050919050565b6000602082019050818103600083015261503981614998565b9050919050565b60006020820190508181036000830152615059816149bb565b9050919050565b60006020820190508181036000830152615079816149de565b9050919050565b6000602082019050818103600083015261509981614a01565b9050919050565b600060208201905081810360008301526150b981614a24565b9050919050565b600060208201905081810360008301526150d981614a47565b9050919050565b600060208201905081810360008301526150f981614a6a565b9050919050565b6000602082019050818103600083015261511981614a8d565b9050919050565b6000602082019050818103600083015261513981614ab0565b9050919050565b6000602082019050818103600083015261515981614ad3565b9050919050565b6000602082019050818103600083015261517981614af6565b9050919050565b6000602082019050818103600083015261519981614b3c565b9050919050565b600060208201905081810360008301526151b981614b5f565b9050919050565b600060208201905081810360008301526151d981614b82565b9050919050565b600060208201905081810360008301526151f981614ba5565b9050919050565b6000602082019050818103600083015261521981614bc8565b9050919050565b6000602082019050818103600083015261523981614beb565b9050919050565b6000602082019050818103600083015261525981614c0e565b9050919050565b6000602082019050818103600083015261527981614c31565b9050919050565b6000602082019050818103600083015261529981614c54565b9050919050565b600060208201905081810360008301526152b981614c77565b9050919050565b600060208201905081810360008301526152d981614c9a565b9050919050565b60006020820190506152f56000830184614cef565b92915050565b6000615305615316565b90506153118282615656565b919050565b6000604051905090565b600067ffffffffffffffff82111561533b5761533a615807565b5b61534482615854565b9050602081019050919050565b600067ffffffffffffffff82111561536c5761536b615807565b5b61537582615854565b9050602081019050919050565b6000819050602082019050919050565b60008190508160005260206000209050919050565b600081519050919050565b600081519050919050565b600081519050919050565b6000602082019050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b600061541e826155ae565b9150615429836155ae565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561545e5761545d61574b565b5b828201905092915050565b6000615474826155ae565b915061547f836155ae565b92508261548f5761548e61577a565b5b828204905092915050565b60006154a5826155ae565b91506154b0836155ae565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156154e9576154e861574b565b5b828202905092915050565b60006154ff826155ae565b915061550a836155ae565b92508282101561551d5761551c61574b565b5b828203905092915050565b60006155338261558e565b9050919050565b60006155458261558e565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b838110156155e55780820151818401526020810190506155ca565b838111156155f4576000848401525b50505050565b6000615605826155ae565b915060008214156156195761561861574b565b5b600182039050919050565b6000600282049050600182168061563c57607f821691505b602082108114156156505761564f6157a9565b5b50919050565b61565f82615854565b810181811067ffffffffffffffff8211171561567e5761567d615807565b5b80604052505050565b6000615692826155ae565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156156c5576156c461574b565b5b600182019050919050565b60006156db826156fe565b9050919050565b60006156ed826156fe565b9050919050565b6000819050919050565b600061570982615865565b9050919050565b6000819050919050565b6000615725826155ae565b9150615730836155ae565b9250826157405761573f61577a565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b60008160601b9050919050565b7f57726f6e67206d696e7420616d6f756e74000000000000000000000000000000600082015250565b7f4d656d626572732063616e206e6f74206265206275726e656400000000000000600082015250565b7f2f756e72657665616c65642f6a736f6e2f6d657461646174612e6a736f6e0000600082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f57616c6c6574206c696d69742072656163686564000000000000000000000000600082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f546f6b656e20646f65736e277420657869737473000000000000000000000000600082015250565b7f596f7520617265206e6f7420746865206f776e65720000000000000000000000600082015250565b7f546f6b656e20646f6573206e6f74206578697374000000000000000000000000600082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f416c7265616479207573656420746f20636c61696d0000000000000000000000600082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f41727261792063616e206e6f7420626520656d70747900000000000000000000600082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f45786368616e6765206e6f7420616c6c6f776564000000000000000000000000600082015250565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b7f4e6f207075626c6963206d696e7420617661696c61626c650000000000000000600082015250565b7f6a736f6e2f000000000000000000000000000000000000000000000000000000600082015250565b7f436c61696d206e6f7420616c6c6f776564000000000000000000000000000000600082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b7f496e76616c69642074782076616c756521000000000000000000000000000000600082015250565b7f596f7520646f6e2774206f776e2074686520746f6b656e000000000000000000600082015250565b7f4d696e74206e6f7420616c6c6f77656400000000000000000000000000000000600082015250565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f506c656173652074727920616761696e206f6e206e65787420626c6f636b0000600082015250565b7f53636f72657320746f74616c2073686f756c6420626520340000000000000000600082015250565b7f74782e6f726967696e20213d206d73672e73656e646572000000000000000000600082015250565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b7f436f6e74726163742063616c6c7320617265206e6f7420616c6c6f7765640000600082015250565b7f2f00000000000000000000000000000000000000000000000000000000000000600082015250565b615f4381615528565b8114615f4e57600080fd5b50565b615f5a8161554c565b8114615f6557600080fd5b50565b615f7181615562565b8114615f7c57600080fd5b50565b615f88816155ae565b8114615f9357600080fd5b5056fea2646970667358221220763eafde301a9fb94df70baa5253c0af23322f8ed90ac0e998226fcba75269e764736f6c63430008070033

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

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

OVERVIEW

Cryptoshack is a collection of 7,200 fun-loving characters. Our community-driven project is a one-of-a-kind multi-dimensional play-to-earn game built on NFTWorlds by their top verified builder and our partners @entitybuilds. Multiple metaverses including an 18 hole golf course...

Validator Index Block Amount
View All Withdrawals

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

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