ETH Price: $2,414.56 (-1.13%)

Contract

0xf4bF7C9b229F1B8728001349918196B344ace80f
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Set Approval For...173402012023-05-26 2:06:59502 days ago1685066819IN
The Enchanteds of Enchanted Valley: ENCHTDS Token
0 ETH0.0015371332.90524345
Safe Transfer Fr...167389772023-03-02 6:02:59587 days ago1677736979IN
The Enchanteds of Enchanted Valley: ENCHTDS Token
0 ETH0.0012446127.35416232
Safe Transfer Fr...167389662023-03-02 6:00:47587 days ago1677736847IN
The Enchanteds of Enchanted Valley: ENCHTDS Token
0 ETH0.0015268922.65423009
Set Approval For...165865402023-02-08 20:52:11608 days ago1675889531IN
The Enchanteds of Enchanted Valley: ENCHTDS Token
0 ETH0.001796238.51050848
Set Approval For...164900772023-01-26 9:25:11622 days ago1674725111IN
The Enchanteds of Enchanted Valley: ENCHTDS Token
0 ETH0.0003387213.65711913
Set Approval For...164900752023-01-26 9:24:47622 days ago1674725087IN
The Enchanteds of Enchanted Valley: ENCHTDS Token
0 ETH0.0003618314.63146982
Set Approval For...163738272023-01-10 3:50:35638 days ago1673322635IN
The Enchanteds of Enchanted Valley: ENCHTDS Token
0 ETH0.0003979316.03655175
Set Approval For...163081262022-12-31 23:47:23647 days ago1672530443IN
The Enchanteds of Enchanted Valley: ENCHTDS Token
0 ETH0.0007257515.56003152
Set Approval For...163066802022-12-31 18:57:11648 days ago1672513031IN
The Enchanteds of Enchanted Valley: ENCHTDS Token
0 ETH0.0007910416.9599514
Set Approval For...162858802022-12-28 21:15:59650 days ago1672262159IN
The Enchanteds of Enchanted Valley: ENCHTDS Token
0 ETH0.0009065219.43587511
Set Approval For...162396542022-12-22 10:29:47657 days ago1671704987IN
The Enchanteds of Enchanted Valley: ENCHTDS Token
0 ETH0.0005416211.59442747
Set Approval For...160983032022-12-02 16:25:23677 days ago1669998323IN
The Enchanteds of Enchanted Valley: ENCHTDS Token
0 ETH0.0007420615.90986148
Set Approval For...160857012022-11-30 22:12:23678 days ago1669846343IN
The Enchanteds of Enchanted Valley: ENCHTDS Token
0 ETH0.0008320817.8397901
Safe Transfer Fr...160660012022-11-28 4:10:11681 days ago1669608611IN
The Enchanteds of Enchanted Valley: ENCHTDS Token
0 ETH0.000334469.19195909
Set Approval For...159950242022-11-18 6:11:59691 days ago1668751919IN
The Enchanteds of Enchanted Valley: ENCHTDS Token
0 ETH0.0006213113.32099918
Set Approval For...159746282022-11-15 9:45:47694 days ago1668505547IN
The Enchanteds of Enchanted Valley: ENCHTDS Token
0 ETH0.0003800515.3159923
Set Approval For...159746282022-11-15 9:45:47694 days ago1668505547IN
The Enchanteds of Enchanted Valley: ENCHTDS Token
0 ETH0.0003800515.3159923
Set Approval For...159304002022-11-09 5:30:35700 days ago1667971835IN
The Enchanteds of Enchanted Valley: ENCHTDS Token
0 ETH0.0005249421.15527545
Safe Transfer Fr...158065112022-10-22 22:04:23717 days ago1666476263IN
The Enchanteds of Enchanted Valley: ENCHTDS Token
0 ETH0.0009601915.59090748
Set Approval For...156830232022-10-05 16:13:59735 days ago1664986439IN
The Enchanteds of Enchanted Valley: ENCHTDS Token
0 ETH0.0018439939.53510995
Set Approval For...156718532022-10-04 2:39:11736 days ago1664851151IN
The Enchanteds of Enchanted Valley: ENCHTDS Token
0 ETH0.0002898611.68142384
Set Approval For...156617272022-10-02 16:41:47738 days ago1664728907IN
The Enchanteds of Enchanted Valley: ENCHTDS Token
0 ETH0.000303846.51438873
Set Approval For...156336572022-09-28 18:33:59742 days ago1664390039IN
The Enchanteds of Enchanted Valley: ENCHTDS Token
0 ETH0.0016844336.11417484
Set Approval For...156242172022-09-27 10:52:59743 days ago1664275979IN
The Enchanteds of Enchanted Valley: ENCHTDS Token
0 ETH0.000409638.78260212
Set Approval For...155962462022-09-23 13:08:11747 days ago1663938491IN
The Enchanteds of Enchanted Valley: ENCHTDS Token
0 ETH0.000414878.8949205
View all transactions

Latest 7 internal transactions

Advanced mode:
Parent Transaction Hash Block From To
146758962022-04-28 23:58:30894 days ago1651190310
The Enchanteds of Enchanted Valley: ENCHTDS Token
0.96 ETH
144334752022-03-22 2:39:29932 days ago1647916769
The Enchanteds of Enchanted Valley: ENCHTDS Token
2.48 ETH
143881432022-03-15 1:00:41939 days ago1647306041
The Enchanteds of Enchanted Valley: ENCHTDS Token
1.44 ETH
143686852022-03-12 0:24:28942 days ago1647044668
The Enchanteds of Enchanted Valley: ENCHTDS Token
2 ETH
143427672022-03-07 23:42:22946 days ago1646696542
The Enchanteds of Enchanted Valley: ENCHTDS Token
3.04 ETH
143303362022-03-06 1:19:50948 days ago1646529590
The Enchanteds of Enchanted Valley: ENCHTDS Token
0.72 ETH
143217562022-03-04 17:01:45950 days ago1646413305
The Enchanteds of Enchanted Valley: ENCHTDS Token
0.08 ETH
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
TheEnchanteds

Compiler Version
v0.8.6+commit.11564f7e

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 14 : TheEnchanteds.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.6;

import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol";
import "@openzeppelin/contracts/token/ERC721/ERC721.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/Strings.sol";
import "./IARTIFACT.sol";
import "./IERC2981.sol";

/**
 * @title TheEnchanteds
 * TheEnchanteds - Smart contract for Enchanted Valley characters
 */
contract TheEnchanteds is ERC721, Ownable {
    using MerkleProof for bytes32[];

    address private _royaltiesReceiver;
    uint256 public _royaltiesPercentage = 5;
    string public contract_ipfs_json;
    bytes32 public MERKLE_ROOT;
    uint256 HARD_CAP = 11000;
    uint256 SOFT_CAP = 2200;
    uint256 public minting_price = 0.08 ether;
    uint256 public selling_tribe = 0;
    uint256 MAX_AMOUNT = 3;
    bool public whitelist_active = false;
    bool public sale_active = false;
    address public gnosis_vault;

    mapping(uint256 => bool) public claimed_artifacts;
    mapping(uint256 => uint256) private token_ids;
    mapping(uint256 => string) public tribe_uris;

    IARTIFACT private ARTIFACT;

    constructor(
        string memory _name,
        string memory _ticker,
        string memory _contract_ipfs,
        address _artifactAddress,
        address _gnosis_vault
    ) ERC721(_name, _ticker) {
        contract_ipfs_json = _contract_ipfs;
        ARTIFACT = IARTIFACT(_artifactAddress);
        tribe_uris[0] = "https://enchanted-valley-api-kwvlp.ondigitalocean.app/";
        tribe_uris[1] = "https://enchanted-valley-api-kwvlp.ondigitalocean.app/";
        tribe_uris[2] = "https://enchanted-valley-api-kwvlp.ondigitalocean.app/";
        tribe_uris[3] = "https://enchanted-valley-api-kwvlp.ondigitalocean.app/";
        tribe_uris[4] = "https://enchanted-valley-api-kwvlp.ondigitalocean.app/";
        gnosis_vault = _gnosis_vault;
    }

    /*
        This method will return token uri
    */
    function tokenURI(uint256 _tokenId)
        public
        view
        override(ERC721)
        returns (string memory)
    {
        string memory _tknId = Strings.toString(_tokenId);
        uint256 tribe = 0;
        if (_tokenId > 2200 && _tokenId <= 4400) {
            tribe = 1;
        } else if (_tokenId > 4400 && _tokenId <= 6600) {
            tribe = 2;
        } else if (_tokenId > 6600 && _tokenId <= 8800) {
            tribe = 3;
        } else if (_tokenId > 8800 && _tokenId <= 11000) {
            tribe = 4;
        }

        return string(abi.encodePacked(tribe_uris[tribe], _tknId, ".json"));
    }

    /*
        This method will return public contract uri
    */
    function contractURI() public view returns (string memory) {
        return contract_ipfs_json;
    }

    /*
        This method will receiver
    */
    function royaltiesReceiver() external view returns (address) {
        return _royaltiesReceiver;
    }

    /*
        This method will return all tokens owned by an address
    */
    function tokensOfOwner(address _owner)
        external
        view
        returns (uint256[] memory ownerTokens)
    {
        uint256 tokenCount = balanceOf(_owner);
        if (tokenCount == 0) {
            // Return an empty array
            return new uint256[](0);
        } else {
            uint256[] memory result = new uint256[](tokenCount);
            uint256 totalNFTs = totalSupply();
            uint256 resultIndex = 0;
            uint256 nftId;

            for (nftId = 1; nftId <= totalNFTs; nftId++) {
                if (ownerOf(nftId) == _owner) {
                    result[resultIndex] = nftId;
                    resultIndex++;
                }
            }

            return result;
        }
    }

    /*
        This method will return all artifacts owned by an address
    */
    function artifactsOfOwner(address _owner)
        external
        view
        returns (uint256[] memory ownerTokens)
    {
        uint256 tokenCount = ARTIFACT.balanceOf(_owner);
        if (tokenCount == 0) {
            // Return an empty array
            return new uint256[](0);
        } else {
            uint256[] memory result = new uint256[](tokenCount);
            uint256 totalNFTs = ARTIFACT.totalSupply();
            uint256 resultIndex = 0;
            uint256 nftId;

            for (nftId = 1; nftId <= totalNFTs; nftId++) {
                if (ARTIFACT.ownerOf(nftId) == _owner) {
                    result[resultIndex] = nftId;
                    resultIndex++;
                }
            }

            return result;
        }
    }

    /*
        This method will allow users to claim the artifact
    */
    function claimArtifact(uint256[] calldata _artifacts, uint256 _tribe)
        public
    {
        uint256 artifact_balance = ARTIFACT.balanceOf(msg.sender);
        require(
            artifact_balance > 0 &&
                tx.origin == msg.sender &&
                selling_tribe >= _tribe,
            "You don't own any artifact, you're a contract or trying to claim an unallowed tribe"
        );
        uint256 j = 0;
        for (j = 0; j < _artifacts.length; j++) {
            address owner = ARTIFACT.ownerOf(_artifacts[j]);
            require(
                owner == msg.sender &&
                    claimed_artifacts[_artifacts[j]] == false,
                "Trying to claim a token you don't own or artifact claimed yet"
            );
            uint256 reached_hardcap = totalSupply() + 1;
            uint256 reached_softcap = token_ids[_tribe] + 1;
            require(
                reached_hardcap <= HARD_CAP && reached_softcap <= SOFT_CAP,
                "Max amount reached."
            );
            claimed_artifacts[_artifacts[j]] = true;
            token_ids[_tribe]++;
            uint256 nextId = (2200 * _tribe) + token_ids[_tribe];
            _mint(msg.sender, nextId);
        }
    }

    /*
        This method will return the state of the artifact
    */
    function isArtifactClaimed(uint256 _tokenId) public view returns (bool) {
        return claimed_artifacts[_tokenId];
    }

    /*
        This method will return the whitelisting state for a proof
    */
    function isWhitelisted(bytes32[] calldata _merkleProof, address _address)
        public
        view
        returns (bool)
    {
        require(whitelist_active, "Whitelist is not active");
        bytes32 leaf = keccak256(abi.encodePacked(_address));
        bool whitelisted = false;
        whitelisted = MerkleProof.verify(_merkleProof, MERKLE_ROOT, leaf);
        uint256 tokenCount = balanceOf(_address);
        if (tokenCount > 0) {
            whitelisted = true;
        }
        return whitelisted;
    }

    /*
        This method will allow users to buy the nft
    */
    function buyNFT(bytes32[] calldata _merkleProof, uint256 _tribe)
        public
        payable
    {
        require(
            tx.origin == msg.sender && sale_active && selling_tribe >= _tribe,
            "Can't buy because sale is not active or tribe is not selling"
        );
        bool canMint = false;
        uint256 maxAmount = MAX_AMOUNT;
        if (whitelist_active) {
            canMint = ARTIFACT.balanceOf(msg.sender) > 0;
            if (!canMint) {
                canMint = balanceOf(msg.sender) > 0;
            }
            if (!canMint) {
                bytes32 leaf = keccak256(abi.encodePacked(msg.sender));
                canMint = MerkleProof.verify(_merkleProof, MERKLE_ROOT, leaf);
            }
        } else {
            canMint = true;
        }
        require(
            canMint && msg.value % minting_price == 0,
            "Sorry you can't mint right now"
        );
        uint256 amount = msg.value / minting_price;
        require(
            amount >= 1 && amount <= maxAmount,
            "Amount should be at least 1 and must be less or equal to 3"
        );
        uint256 reached_hardcap = amount + totalSupply();
        uint256 reached_softcap = token_ids[_tribe] + amount;
        require(
            reached_hardcap <= HARD_CAP && reached_softcap <= SOFT_CAP,
            "Max amount reached."
        );
        uint256 j = 0;
        for (j = 0; j < amount; j++) {
            token_ids[_tribe]++;
            uint256 nextId = (2200 * _tribe) + token_ids[_tribe];
            _mint(msg.sender, nextId);
        }
    }

    /*
        This method will allow owner to mint tokens
    */
    function ownerMint(uint256 _amount, uint256 _tribe) public onlyOwner {
        require(_amount >= 1, "Amount should be at least 1");
        uint256 reached_hardcap = _amount + totalSupply();
        uint256 reached_softcap = token_ids[_tribe] + _amount;
        require(
            reached_hardcap <= HARD_CAP && reached_softcap <= SOFT_CAP,
            "Max amount reached."
        );
        uint256 j = 0;
        for (j = 0; j < _amount; j++) {
            token_ids[_tribe]++;
            uint256 nextId = (2200 * _tribe) + token_ids[_tribe];
            _mint(msg.sender, nextId);
        }
    }

    /*
        This method will return total supply
    */
    function totalSupply() public view returns (uint256) {
        return
            token_ids[0] +
            token_ids[1] +
            token_ids[2] +
            token_ids[3] +
            token_ids[4];
    }

    /*
        This method will return royalty info
    */
    function royaltyInfo(uint256 _tokenId, uint256 _salePrice)
        external
        view
        returns (address receiver, uint256 royaltyAmount)
    {
        require(_tokenId > 0, "Asking royalties for non-existent token");
        uint256 _royalties = (_salePrice * _royaltiesPercentage) / 100;
        return (_royaltiesReceiver, _royalties);
    }

    /*
        This method return the artifact balance
    */
    function artifactBalance(address _address) public view returns (uint256) {
        uint256 balance = ARTIFACT.balanceOf(_address);
        return balance;
    }

    /*
        This method will allow owner to change the gnosis safe wallet
    */
    function fixGnosis(address newAddress) public onlyOwner {
        require(newAddress != address(0), "Can't use black hole.");
        gnosis_vault = newAddress;
    }

    /*
        This method will allow owner to fix royalties receiver
    */
    function fixRoyaltiesParams(
        address newRoyaltiesReceiver,
        uint256 newRoyaltiesPercentage
    ) external onlyOwner {
        _royaltiesReceiver = newRoyaltiesReceiver;
        _royaltiesPercentage = newRoyaltiesPercentage;
    }

    /*
        This method will allow owner to start and stop the sale
    */
    function fixSellingTribe(uint256 newTribe) external onlyOwner {
        selling_tribe = newTribe;
    }

    /*
        This method will allow owner to start and stop the sale
    */
    function fixSaleState(bool newState) external onlyOwner {
        sale_active = newState;
    }

    /*
        This method will allow owner to fix max amount of nfts per minting
    */
    function fixMaxAmount(uint256 newMax) external onlyOwner {
        MAX_AMOUNT = newMax;
    }

    /*
        This method will allow owner to set the merkle root
    */
    function fixMerkleRoot(bytes32 root) external onlyOwner {
        MERKLE_ROOT = root;
    }

    /*
        This method will allow owner to fix the contract details
    */
    function fixContractDescription(string memory newDescription)
        external
        onlyOwner
    {
        contract_ipfs_json = newDescription;
    }

    /*
        This method will allow owner to fix the artifact address
    */
    function fixArtifactAddress(address _artifactAddress) external onlyOwner {
        ARTIFACT = IARTIFACT(_artifactAddress);
    }

    /*
        This method will allow owner to fix the minting price
    */
    function fixPrice(uint256 price) external onlyOwner {
        minting_price = price;
    }

    /*
        This method will allow owner to fix the whitelist role
    */
    function fixWhitelist(bool state) external onlyOwner {
        whitelist_active = state;
    }

    /*
        This method will allow owner to fix tribe base uri
    */
    function fixTribeURI(uint256 _tribe, string memory _newURI)
        external
        onlyOwner
    {
        tribe_uris[_tribe] = _newURI;
    }

    /*
        This method will return current token id
    */
    function returnTribeSupply(uint256 _tribe) external view returns (uint256) {
        return token_ids[_tribe];
    }

    /*
        This method will allow owner to withdraw all ethers
    */
    function withdrawEther() external onlyOwner {
        uint256 balance = address(this).balance;
        require(
            gnosis_vault != address(0) && balance > 0,
            "Can't withdraw on black hole."
        );
        bool success;
        (success, ) = gnosis_vault.call{value: balance}("");
        require(success, "recipient failed to receive");
    }

    /*
        Registering support interface
    */
    function supportsInterface(bytes4 interfaceId)
        public
        view
        override(ERC721)
        returns (bool)
    {
        return
            interfaceId == type(IERC2981).interfaceId ||
            super.supportsInterface(interfaceId);
    }

}

File 2 of 14 : IERC2981.sol
pragma solidity ^0.8.0;
// SPDX-License-Identifier: MIT

import "@openzeppelin/contracts/utils/introspection/ERC165.sol";

///
/// @dev Interface for the NFT Royalty Standard
///
interface IERC2981 is IERC165 {
    /// ERC165 bytes to add to interface array - set in parent contract
    /// implementing this standard
    ///
    /// bytes4(keccak256("royaltyInfo(uint256,uint256)")) == 0x2a55205a
    /// bytes4 private constant _INTERFACE_ID_ERC2981 = 0x2a55205a;
    /// _registerInterface(_INTERFACE_ID_ERC2981);

    /// @notice Called with the sale price to determine how much royalty
    //          is owed and to whom.
    /// @param _tokenId - the NFT asset queried for royalty information
    /// @param _salePrice - the sale price of the NFT asset specified by _tokenId
    /// @return receiver - address of who should be sent the royalty payment
    /// @return royaltyAmount - the royalty payment amount for _salePrice
    function royaltyInfo(
        uint256 _tokenId,
        uint256 _salePrice
    ) external view returns (
        address receiver,
        uint256 royaltyAmount
    );

}

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

pragma solidity ^0.8.0;

import "@openzeppelin/contracts/utils/introspection/IERC165.sol";

/**
 * @dev Required interface of an ERC721 compliant contract.
 */
interface IARTIFACT 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;

    function totalSupply() external view returns (uint256);
}

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

pragma solidity ^0.8.0;

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

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

pragma solidity ^0.8.0;

import "./IERC165.sol";

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

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

pragma solidity ^0.8.0;

/**
 * @dev These functions deal with verification of Merkle Trees proofs.
 *
 * The proofs can be generated using the JavaScript library
 * https://github.com/miguelmota/merkletreejs[merkletreejs].
 * Note: the hashing algorithm should be keccak256 and pair sorting should be enabled.
 *
 * See `test/utils/cryptography/MerkleProof.test.js` for some examples.
 */
library MerkleProof {
    /**
     * @dev Returns true if a `leaf` can be proved to be a part of a Merkle tree
     * defined by `root`. For this, a `proof` must be provided, containing
     * sibling hashes on the branch from the leaf to the root of the tree. Each
     * pair of leaves and each pair of pre-images are assumed to be sorted.
     */
    function verify(
        bytes32[] memory proof,
        bytes32 root,
        bytes32 leaf
    ) internal pure returns (bool) {
        bytes32 computedHash = leaf;

        for (uint256 i = 0; i < proof.length; i++) {
            bytes32 proofElement = proof[i];

            if (computedHash <= proofElement) {
                // Hash(current computed hash + current element of the proof)
                computedHash = keccak256(abi.encodePacked(computedHash, proofElement));
            } else {
                // Hash(current element of the proof + current computed hash)
                computedHash = keccak256(abi.encodePacked(proofElement, computedHash));
            }
        }

        // Check if the computed hash (root) is equal to the provided root
        return computedHash == root;
    }
}

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

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

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

pragma solidity ^0.8.0;

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

        uint256 size;
        assembly {
            size := extcodesize(account)
        }
        return size > 0;
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

import "../IERC721.sol";

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

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

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

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

pragma solidity ^0.8.0;

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

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

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

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        _approve(to, tokenId);
    }

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

        return _tokenApprovals[tokenId];
    }

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

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

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

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

        _transfer(from, to, tokenId);
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        _beforeTokenTransfer(from, to, tokenId);

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

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

        emit Transfer(from, to, tokenId);
    }

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

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

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

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string","name":"_name","type":"string"},{"internalType":"string","name":"_ticker","type":"string"},{"internalType":"string","name":"_contract_ipfs","type":"string"},{"internalType":"address","name":"_artifactAddress","type":"address"},{"internalType":"address","name":"_gnosis_vault","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"MERKLE_ROOT","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_royaltiesPercentage","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":"_address","type":"address"}],"name":"artifactBalance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_owner","type":"address"}],"name":"artifactsOfOwner","outputs":[{"internalType":"uint256[]","name":"ownerTokens","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32[]","name":"_merkleProof","type":"bytes32[]"},{"internalType":"uint256","name":"_tribe","type":"uint256"}],"name":"buyNFT","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"_artifacts","type":"uint256[]"},{"internalType":"uint256","name":"_tribe","type":"uint256"}],"name":"claimArtifact","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"claimed_artifacts","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"contractURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"contract_ipfs_json","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_artifactAddress","type":"address"}],"name":"fixArtifactAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"newDescription","type":"string"}],"name":"fixContractDescription","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newAddress","type":"address"}],"name":"fixGnosis","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newMax","type":"uint256"}],"name":"fixMaxAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"root","type":"bytes32"}],"name":"fixMerkleRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"price","type":"uint256"}],"name":"fixPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newRoyaltiesReceiver","type":"address"},{"internalType":"uint256","name":"newRoyaltiesPercentage","type":"uint256"}],"name":"fixRoyaltiesParams","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"newState","type":"bool"}],"name":"fixSaleState","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newTribe","type":"uint256"}],"name":"fixSellingTribe","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tribe","type":"uint256"},{"internalType":"string","name":"_newURI","type":"string"}],"name":"fixTribeURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"state","type":"bool"}],"name":"fixWhitelist","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"gnosis_vault","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"isArtifactClaimed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32[]","name":"_merkleProof","type":"bytes32[]"},{"internalType":"address","name":"_address","type":"address"}],"name":"isWhitelisted","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"minting_price","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"},{"internalType":"uint256","name":"_tribe","type":"uint256"}],"name":"ownerMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tribe","type":"uint256"}],"name":"returnTribeSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"royaltiesReceiver","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"},{"internalType":"uint256","name":"_salePrice","type":"uint256"}],"name":"royaltyInfo","outputs":[{"internalType":"address","name":"receiver","type":"address"},{"internalType":"uint256","name":"royaltyAmount","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":"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":[],"name":"sale_active","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"selling_tribe","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_owner","type":"address"}],"name":"tokensOfOwner","outputs":[{"internalType":"uint256[]","name":"ownerTokens","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"tribe_uris","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"whitelist_active","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdrawEther","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60806040526005600855612af8600b55610898600c5567011c37937e080000600d556000600e556003600f556000601060006101000a81548160ff0219169083151502179055506000601060016101000a81548160ff0219169083151502179055503480156200006e57600080fd5b5060405162006788380380620067888339818101604052810190620000949190620004f6565b84848160009080519060200190620000ae929190620003b1565b508060019080519060200190620000c7929190620003b1565b505050620000ea620000de620002e360201b60201c565b620002eb60201b60201c565b826009908051906020019062000102929190620003b1565b5081601460006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550604051806060016040528060368152602001620067526036913960136000808152602001908152602001600020908051906020019062000186929190620003b1565b50604051806060016040528060368152602001620067526036913960136000600181526020019081526020016000209080519060200190620001ca929190620003b1565b506040518060600160405280603681526020016200675260369139601360006002815260200190815260200160002090805190602001906200020e929190620003b1565b5060405180606001604052806036815260200162006752603691396013600060038152602001908152602001600020908051906020019062000252929190620003b1565b5060405180606001604052806036815260200162006752603691396013600060048152602001908152602001600020908051906020019062000296929190620003b1565b5080601060026101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505050505050620007ad565b600033905090565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b828054620003bf90620006a4565b90600052602060002090601f016020900481019282620003e357600085556200042f565b82601f10620003fe57805160ff19168380011785556200042f565b828001600101855582156200042f579182015b828111156200042e57825182559160200191906001019062000411565b5b5090506200043e919062000442565b5090565b5b808211156200045d57600081600090555060010162000443565b5090565b600062000478620004728462000604565b620005db565b90508281526020810184848401111562000497576200049662000773565b5b620004a48482856200066e565b509392505050565b600081519050620004bd8162000793565b92915050565b600082601f830112620004db57620004da6200076e565b5b8151620004ed84826020860162000461565b91505092915050565b600080600080600060a086880312156200051557620005146200077d565b5b600086015167ffffffffffffffff81111562000536576200053562000778565b5b6200054488828901620004c3565b955050602086015167ffffffffffffffff81111562000568576200056762000778565b5b6200057688828901620004c3565b945050604086015167ffffffffffffffff8111156200059a576200059962000778565b5b620005a888828901620004c3565b9350506060620005bb88828901620004ac565b9250506080620005ce88828901620004ac565b9150509295509295909350565b6000620005e7620005fa565b9050620005f58282620006da565b919050565b6000604051905090565b600067ffffffffffffffff8211156200062257620006216200073f565b5b6200062d8262000782565b9050602081019050919050565b600062000647826200064e565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60005b838110156200068e57808201518184015260208101905062000671565b838111156200069e576000848401525b50505050565b60006002820490506001821680620006bd57607f821691505b60208210811415620006d457620006d362000710565b5b50919050565b620006e58262000782565b810181811067ffffffffffffffff821117156200070757620007066200073f565b5b80604052505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b6200079e816200063a565b8114620007aa57600080fd5b50565b615f9580620007bd6000396000f3fe6080604052600436106102e45760003560e01c8063819efe5111610190578063c87b56dd116100dc578063debefaa611610095578063e985e9c51161006f578063e985e9c514610b72578063f2b3ea5d14610baf578063f2fde38b14610bda578063f9347b3314610c03576102e4565b8063debefaa614610adf578063e0df721614610b1c578063e8a3d48514610b47576102e4565b8063c87b56dd146109bd578063c97180a2146109fa578063cf7761ee14610a37578063d47573d414610a62578063d7bffc9614610a8b578063daf68ef314610ab6576102e4565b8063a22cb46511610149578063abca44fc11610123578063abca44fc14610919578063b2a3377314610942578063b703a9f41461096b578063b88d4fde14610994576102e4565b8063a22cb465146108a9578063a3a51bd5146108d2578063a8ddce73146108fd576102e4565b8063819efe511461078757806383bc5245146107c45780638462151c146107ed5780638da5cb5b1461082a57806393830a231461085557806395d89b411461087e576102e4565b80632a1436c21161024f57806357b28f3e116102085780636f567afc116101e25780636f567afc146106f357806370a082311461071c578063715018a6146107595780637362377b14610770576102e4565b806357b28f3e1461063c5780636352211e1461067957806366a2e4dd146106b6576102e4565b80632a1436c21461052f5780632a55205a1461055857806342842e0e1461059657806347d0c930146105bf57806348bf5dd7146105e857806351e75e8b14610611576102e4565b80631036b3c5116102a15780631036b3c51461041f57806318160ddd1461044a5780631a4fba6c146104755780632371e52a1461049e57806323b872dd146104db57806324d2729214610504576102e4565b806301ffc9a7146102e95780630346f18f1461032657806306fdde0314610351578063081812fc1461037c57806308856c2f146103b9578063095ea7b3146103f6575b600080fd5b3480156102f557600080fd5b50610310600480360381019061030b919061460c565b610c2c565b60405161031d9190614eea565b60405180910390f35b34801561033257600080fd5b5061033b610ca6565b6040516103489190614f20565b60405180910390f35b34801561035d57600080fd5b50610366610d34565b6040516103739190614f20565b60405180910390f35b34801561038857600080fd5b506103a3600480360381019061039e91906146af565b610dc6565b6040516103b09190614e38565b60405180910390f35b3480156103c557600080fd5b506103e060048036038101906103db91906146af565b610e4b565b6040516103ed91906152a2565b60405180910390f35b34801561040257600080fd5b5061041d60048036038101906104189190614452565b610e68565b005b34801561042b57600080fd5b50610434610f80565b6040516104419190614eea565b60405180910390f35b34801561045657600080fd5b5061045f610f93565b60405161046c91906152a2565b60405180910390f35b34801561048157600080fd5b5061049c60048036038101906104979190614666565b61102a565b005b3480156104aa57600080fd5b506104c560048036038101906104c091906142a2565b6110c0565b6040516104d29190614ec8565b60405180910390f35b3480156104e757600080fd5b5061050260048036038101906104fd919061433c565b6113fa565b005b34801561051057600080fd5b5061051961145a565b60405161052691906152a2565b60405180910390f35b34801561053b57600080fd5b50610556600480360381019061055191906145b2565b611460565b005b34801561056457600080fd5b5061057f600480360381019061057a9190614765565b6114f9565b60405161058d929190614e9f565b60405180910390f35b3480156105a257600080fd5b506105bd60048036038101906105b8919061433c565b61158d565b005b3480156105cb57600080fd5b506105e660048036038101906105e191906145df565b6115ad565b005b3480156105f457600080fd5b5061060f600480360381019061060a91906146af565b611633565b005b34801561061d57600080fd5b506106266116b9565b6040516106339190614f05565b60405180910390f35b34801561064857600080fd5b50610663600480360381019061065e91906142a2565b6116bf565b60405161067091906152a2565b60405180910390f35b34801561068557600080fd5b506106a0600480360381019061069b91906146af565b611778565b6040516106ad9190614e38565b60405180910390f35b3480156106c257600080fd5b506106dd60048036038101906106d891906146af565b61182a565b6040516106ea9190614f20565b60405180910390f35b3480156106ff57600080fd5b5061071a60048036038101906107159190614552565b6118ca565b005b34801561072857600080fd5b50610743600480360381019061073e91906142a2565b611ce3565b60405161075091906152a2565b60405180910390f35b34801561076557600080fd5b5061076e611d9b565b005b34801561077c57600080fd5b50610785611e23565b005b34801561079357600080fd5b506107ae60048036038101906107a991906146af565b612016565b6040516107bb9190614eea565b60405180910390f35b3480156107d057600080fd5b506107eb60048036038101906107e691906145b2565b612036565b005b3480156107f957600080fd5b50610814600480360381019061080f91906142a2565b6120cf565b6040516108219190614ec8565b60405180910390f35b34801561083657600080fd5b5061083f61222d565b60405161084c9190614e38565b60405180910390f35b34801561086157600080fd5b5061087c60048036038101906108779190614452565b612257565b005b34801561088a57600080fd5b5061089361231f565b6040516108a09190614f20565b60405180910390f35b3480156108b557600080fd5b506108d060048036038101906108cb9190614412565b6123b1565b005b3480156108de57600080fd5b506108e7612532565b6040516108f49190614e38565b60405180910390f35b610917600480360381019061091291906144f2565b61255c565b005b34801561092557600080fd5b50610940600480360381019061093b91906142a2565b612932565b005b34801561094e57600080fd5b50610969600480360381019061096491906142a2565b612a62565b005b34801561097757600080fd5b50610992600480360381019061098d91906146af565b612b22565b005b3480156109a057600080fd5b506109bb60048036038101906109b6919061438f565b612ba8565b005b3480156109c957600080fd5b506109e460048036038101906109df91906146af565b612c0a565b6040516109f19190614f20565b60405180910390f35b348015610a0657600080fd5b50610a216004803603810190610a1c91906146af565b612cdb565b604051610a2e9190614eea565b60405180910390f35b348015610a4357600080fd5b50610a4c612d05565b604051610a5991906152a2565b60405180910390f35b348015610a6e57600080fd5b50610a896004803603810190610a849190614765565b612d0b565b005b348015610a9757600080fd5b50610aa0612ee1565b604051610aad9190614e38565b60405180910390f35b348015610ac257600080fd5b50610add6004803603810190610ad891906146af565b612f07565b005b348015610aeb57600080fd5b50610b066004803603810190610b019190614492565b612f8d565b604051610b139190614eea565b60405180910390f35b348015610b2857600080fd5b50610b31613083565b604051610b3e9190614eea565b60405180910390f35b348015610b5357600080fd5b50610b5c613096565b604051610b699190614f20565b60405180910390f35b348015610b7e57600080fd5b50610b996004803603810190610b9491906142fc565b613128565b604051610ba69190614eea565b60405180910390f35b348015610bbb57600080fd5b50610bc46131bc565b604051610bd191906152a2565b60405180910390f35b348015610be657600080fd5b50610c016004803603810190610bfc91906142a2565b6131c2565b005b348015610c0f57600080fd5b50610c2a6004803603810190610c259190614709565b6132ba565b005b60007f2a55205a000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610c9f5750610c9e82613362565b5b9050919050565b60098054610cb3906155b5565b80601f0160208091040260200160405190810160405280929190818152602001828054610cdf906155b5565b8015610d2c5780601f10610d0157610100808354040283529160200191610d2c565b820191906000526020600020905b815481529060010190602001808311610d0f57829003601f168201915b505050505081565b606060008054610d43906155b5565b80601f0160208091040260200160405190810160405280929190818152602001828054610d6f906155b5565b8015610dbc5780601f10610d9157610100808354040283529160200191610dbc565b820191906000526020600020905b815481529060010190602001808311610d9f57829003601f168201915b5050505050905090565b6000610dd182613444565b610e10576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e0790615142565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b600060126000838152602001908152602001600020549050919050565b6000610e7382611778565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610ee4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610edb90615202565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610f036134b0565b73ffffffffffffffffffffffffffffffffffffffff161480610f325750610f3181610f2c6134b0565b613128565b5b610f71576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f68906150c2565b60405180910390fd5b610f7b83836134b8565b505050565b601060009054906101000a900460ff1681565b6000601260006004815260200190815260200160002054601260006003815260200190815260200160002054601260006002815260200190815260200160002054601260006001815260200190815260200160002054601260008081526020019081526020016000205461100791906153e0565b61101191906153e0565b61101b91906153e0565b61102591906153e0565b905090565b6110326134b0565b73ffffffffffffffffffffffffffffffffffffffff1661105061222d565b73ffffffffffffffffffffffffffffffffffffffff16146110a6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161109d90615182565b60405180910390fd5b80600990805190602001906110bc929190613fcb565b5050565b60606000601460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231846040518263ffffffff1660e01b815260040161111f9190614e38565b60206040518083038186803b15801561113757600080fd5b505afa15801561114b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061116f91906146dc565b905060008114156111cc57600067ffffffffffffffff8111156111955761119461577c565b5b6040519080825280602002602001820160405280156111c35781602001602082028036833780820191505090505b509150506113f5565b60008167ffffffffffffffff8111156111e8576111e761577c565b5b6040519080825280602002602001820160405280156112165781602001602082028036833780820191505090505b5090506000601460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166318160ddd6040518163ffffffff1660e01b815260040160206040518083038186803b15801561128357600080fd5b505afa158015611297573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112bb91906146dc565b9050600080600190505b8281116113ec578673ffffffffffffffffffffffffffffffffffffffff16601460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16636352211e836040518263ffffffff1660e01b815260040161133e91906152a2565b60206040518083038186803b15801561135657600080fd5b505afa15801561136a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061138e91906142cf565b73ffffffffffffffffffffffffffffffffffffffff1614156113d957808483815181106113be576113bd61574d565b5b60200260200101818152505081806113d590615618565b9250505b80806113e490615618565b9150506112c5565b83955050505050505b919050565b61140b6114056134b0565b82613571565b61144a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161144190615242565b60405180910390fd5b61145583838361364f565b505050565b600e5481565b6114686134b0565b73ffffffffffffffffffffffffffffffffffffffff1661148661222d565b73ffffffffffffffffffffffffffffffffffffffff16146114dc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114d390615182565b60405180910390fd5b80601060006101000a81548160ff02191690831515021790555050565b6000806000841161153f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161153690615282565b60405180910390fd5b60006064600854856115519190615467565b61155b9190615436565b9050600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff168192509250509250929050565b6115a883838360405180602001604052806000815250612ba8565b505050565b6115b56134b0565b73ffffffffffffffffffffffffffffffffffffffff166115d361222d565b73ffffffffffffffffffffffffffffffffffffffff1614611629576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161162090615182565b60405180910390fd5b80600a8190555050565b61163b6134b0565b73ffffffffffffffffffffffffffffffffffffffff1661165961222d565b73ffffffffffffffffffffffffffffffffffffffff16146116af576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116a690615182565b60405180910390fd5b80600e8190555050565b600a5481565b600080601460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231846040518263ffffffff1660e01b815260040161171d9190614e38565b60206040518083038186803b15801561173557600080fd5b505afa158015611749573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061176d91906146dc565b905080915050919050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611821576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161181890615102565b60405180910390fd5b80915050919050565b60136020528060005260406000206000915090508054611849906155b5565b80601f0160208091040260200160405190810160405280929190818152602001828054611875906155b5565b80156118c25780601f10611897576101008083540402835291602001916118c2565b820191906000526020600020905b8154815290600101906020018083116118a557829003601f168201915b505050505081565b6000601460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231336040518263ffffffff1660e01b81526004016119279190614e38565b60206040518083038186803b15801561193f57600080fd5b505afa158015611953573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061197791906146dc565b90506000811180156119b457503373ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff16145b80156119c2575081600e5410155b611a01576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119f890615222565b60405180910390fd5b60005b84849050811015611cdc576000601460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16636352211e878785818110611a6257611a6161574d565b5b905060200201356040518263ffffffff1660e01b8152600401611a8591906152a2565b60206040518083038186803b158015611a9d57600080fd5b505afa158015611ab1573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611ad591906142cf565b90503373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16148015611b4f57506000151560116000888886818110611b2857611b2761574d565b5b90506020020135815260200190815260200160002060009054906101000a900460ff161515145b611b8e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b8590614f62565b60405180910390fd5b60006001611b9a610f93565b611ba491906153e0565b9050600060016012600088815260200190815260200160002054611bc891906153e0565b9050600b548211158015611bde5750600c548111155b611c1d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c14906151c2565b60405180910390fd5b6001601160008a8a88818110611c3657611c3561574d565b5b90506020020135815260200190815260200160002060006101000a81548160ff021916908315150217905550601260008781526020019081526020016000206000815480929190611c8690615618565b91905055506000601260008881526020019081526020016000205487610898611caf9190615467565b611cb991906153e0565b9050611cc533826138ab565b505050508080611cd490615618565b915050611a04565b5050505050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611d54576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d4b906150e2565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b611da36134b0565b73ffffffffffffffffffffffffffffffffffffffff16611dc161222d565b73ffffffffffffffffffffffffffffffffffffffff1614611e17576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e0e90615182565b60405180910390fd5b611e216000613a79565b565b611e2b6134b0565b73ffffffffffffffffffffffffffffffffffffffff16611e4961222d565b73ffffffffffffffffffffffffffffffffffffffff1614611e9f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e9690615182565b60405180910390fd5b6000479050600073ffffffffffffffffffffffffffffffffffffffff16601060029054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614158015611f035750600081115b611f42576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f3990615002565b60405180910390fd5b6000601060029054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1682604051611f8a90614e23565b60006040518083038185875af1925050503d8060008114611fc7576040519150601f19603f3d011682016040523d82523d6000602084013e611fcc565b606091505b50508091505080612012576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612009906151e2565b60405180910390fd5b5050565b60116020528060005260406000206000915054906101000a900460ff1681565b61203e6134b0565b73ffffffffffffffffffffffffffffffffffffffff1661205c61222d565b73ffffffffffffffffffffffffffffffffffffffff16146120b2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120a990615182565b60405180910390fd5b80601060016101000a81548160ff02191690831515021790555050565b606060006120dc83611ce3565b9050600081141561213957600067ffffffffffffffff8111156121025761210161577c565b5b6040519080825280602002602001820160405280156121305781602001602082028036833780820191505090505b50915050612228565b60008167ffffffffffffffff8111156121555761215461577c565b5b6040519080825280602002602001820160405280156121835781602001602082028036833780820191505090505b5090506000612190610f93565b9050600080600190505b82811161221f578673ffffffffffffffffffffffffffffffffffffffff166121c182611778565b73ffffffffffffffffffffffffffffffffffffffff16141561220c57808483815181106121f1576121f061574d565b5b602002602001018181525050818061220890615618565b9250505b808061221790615618565b91505061219a565b83955050505050505b919050565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b61225f6134b0565b73ffffffffffffffffffffffffffffffffffffffff1661227d61222d565b73ffffffffffffffffffffffffffffffffffffffff16146122d3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122ca90615182565b60405180910390fd5b81600760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550806008819055505050565b60606001805461232e906155b5565b80601f016020809104026020016040519081016040528092919081815260200182805461235a906155b5565b80156123a75780601f1061237c576101008083540402835291602001916123a7565b820191906000526020600020905b81548152906001019060200180831161238a57829003601f168201915b5050505050905090565b6123b96134b0565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612427576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161241e90615042565b60405180910390fd5b80600560006124346134b0565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff166124e16134b0565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516125269190614eea565b60405180910390a35050565b6000600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b3373ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff161480156125a35750601060019054906101000a900460ff165b80156125b1575080600e5410155b6125f0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125e7906150a2565b60405180910390fd5b600080600f549050601060009054906101000a900460ff1615612758576000601460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231336040518263ffffffff1660e01b815260040161266a9190614e38565b60206040518083038186803b15801561268257600080fd5b505afa158015612696573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906126ba91906146dc565b119150816126d15760006126cd33611ce3565b1191505b81612753576000336040516020016126e99190614dad565b60405160208183030381529060405280519060200120905061274f868680806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f82011690508083019250505050505050600a5483613b3f565b9250505b61275d565b600191505b81801561277757506000600d5434612775919061568f565b145b6127b6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127ad90614fe2565b60405180910390fd5b6000600d54346127c69190615436565b9050600181101580156127d95750818111155b612818576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161280f90615262565b60405180910390fd5b6000612822610f93565b8261282d91906153e0565b9050600082601260008881526020019081526020016000205461285091906153e0565b9050600b5482111580156128665750600c548111155b6128a5576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161289c906151c2565b60405180910390fd5b60005b83811015612927576012600088815260200190815260200160002060008154809291906128d490615618565b919050555060006012600089815260200190815260200160002054886108986128fd9190615467565b61290791906153e0565b905061291333826138ab565b50808061291f90615618565b9150506128a8565b505050505050505050565b61293a6134b0565b73ffffffffffffffffffffffffffffffffffffffff1661295861222d565b73ffffffffffffffffffffffffffffffffffffffff16146129ae576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016129a590615182565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415612a1e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a1590615162565b60405180910390fd5b80601060026101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b612a6a6134b0565b73ffffffffffffffffffffffffffffffffffffffff16612a8861222d565b73ffffffffffffffffffffffffffffffffffffffff1614612ade576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ad590615182565b60405180910390fd5b80601460006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b612b2a6134b0565b73ffffffffffffffffffffffffffffffffffffffff16612b4861222d565b73ffffffffffffffffffffffffffffffffffffffff1614612b9e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b9590615182565b60405180910390fd5b80600d8190555050565b612bb9612bb36134b0565b83613571565b612bf8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612bef90615242565b60405180910390fd5b612c0484848484613bf5565b50505050565b60606000612c1783613c51565b9050600061089884118015612c2e57506111308411155b15612c3c5760019050612c9e565b61113084118015612c4f57506119c88411155b15612c5d5760029050612c9d565b6119c884118015612c7057506122608411155b15612c7e5760039050612c9c565b61226084118015612c915750612af88411155b15612c9b57600490505b5b5b5b6013600082815260200190815260200160002082604051602001612cc3929190614df4565b60405160208183030381529060405292505050919050565b60006011600083815260200190815260200160002060009054906101000a900460ff169050919050565b60085481565b612d136134b0565b73ffffffffffffffffffffffffffffffffffffffff16612d3161222d565b73ffffffffffffffffffffffffffffffffffffffff1614612d87576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d7e90615182565b60405180910390fd5b6001821015612dcb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612dc290615062565b60405180910390fd5b6000612dd5610f93565b83612de091906153e0565b90506000836012600085815260200190815260200160002054612e0391906153e0565b9050600b548211158015612e195750600c548111155b612e58576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612e4f906151c2565b60405180910390fd5b60005b84811015612eda57601260008581526020019081526020016000206000815480929190612e8790615618565b91905055506000601260008681526020019081526020016000205485610898612eb09190615467565b612eba91906153e0565b9050612ec633826138ab565b508080612ed290615618565b915050612e5b565b5050505050565b601060029054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b612f0f6134b0565b73ffffffffffffffffffffffffffffffffffffffff16612f2d61222d565b73ffffffffffffffffffffffffffffffffffffffff1614612f83576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612f7a90615182565b60405180910390fd5b80600f8190555050565b6000601060009054906101000a900460ff16612fde576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612fd590614f42565b60405180910390fd5b600082604051602001612ff19190614dad565b6040516020818303038152906040528051906020012090506000613059868680806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f82011690508083019250505050505050600a5484613b3f565b9050600061306685611ce3565b9050600081111561307657600191505b8193505050509392505050565b601060019054906101000a900460ff1681565b6060600980546130a5906155b5565b80601f01602080910402602001604051908101604052809291908181526020018280546130d1906155b5565b801561311e5780601f106130f35761010080835404028352916020019161311e565b820191906000526020600020905b81548152906001019060200180831161310157829003601f168201915b5050505050905090565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b600d5481565b6131ca6134b0565b73ffffffffffffffffffffffffffffffffffffffff166131e861222d565b73ffffffffffffffffffffffffffffffffffffffff161461323e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161323590615182565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156132ae576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016132a590614fa2565b60405180910390fd5b6132b781613a79565b50565b6132c26134b0565b73ffffffffffffffffffffffffffffffffffffffff166132e061222d565b73ffffffffffffffffffffffffffffffffffffffff1614613336576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161332d90615182565b60405180910390fd5b8060136000848152602001908152602001600020908051906020019061335d929190613fcb565b505050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061342d57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b8061343d575061343c82613db2565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff1661352b83611778565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600061357c82613444565b6135bb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016135b290615082565b60405180910390fd5b60006135c683611778565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16148061363557508373ffffffffffffffffffffffffffffffffffffffff1661361d84610dc6565b73ffffffffffffffffffffffffffffffffffffffff16145b8061364657506136458185613128565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff1661366f82611778565b73ffffffffffffffffffffffffffffffffffffffff16146136c5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016136bc906151a2565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415613735576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161372c90615022565b60405180910390fd5b613740838383613e1c565b61374b6000826134b8565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461379b91906154c1565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546137f291906153e0565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561391b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161391290615122565b60405180910390fd5b61392481613444565b15613964576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161395b90614fc2565b60405180910390fd5b61397060008383613e1c565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546139c091906153e0565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b60008082905060005b8551811015613be7576000868281518110613b6657613b6561574d565b5b60200260200101519050808311613ba7578281604051602001613b8a929190614dc8565b604051602081830303815290604052805190602001209250613bd3565b8083604051602001613bba929190614dc8565b6040516020818303038152906040528051906020012092505b508080613bdf90615618565b915050613b48565b508381149150509392505050565b613c0084848461364f565b613c0c84848484613e21565b613c4b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613c4290614f82565b60405180910390fd5b50505050565b60606000821415613c99576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050613dad565b600082905060005b60008214613ccb578080613cb490615618565b915050600a82613cc49190615436565b9150613ca1565b60008167ffffffffffffffff811115613ce757613ce661577c565b5b6040519080825280601f01601f191660200182016040528015613d195781602001600182028036833780820191505090505b5090505b60008514613da657600182613d3291906154c1565b9150600a85613d41919061568f565b6030613d4d91906153e0565b60f81b818381518110613d6357613d6261574d565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85613d9f9190615436565b9450613d1d565b8093505050505b919050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b505050565b6000613e428473ffffffffffffffffffffffffffffffffffffffff16613fb8565b15613fab578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02613e6b6134b0565b8786866040518563ffffffff1660e01b8152600401613e8d9493929190614e53565b602060405180830381600087803b158015613ea757600080fd5b505af1925050508015613ed857506040513d601f19601f82011682018060405250810190613ed59190614639565b60015b613f5b573d8060008114613f08576040519150601f19603f3d011682016040523d82523d6000602084013e613f0d565b606091505b50600081511415613f53576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613f4a90614f82565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050613fb0565b600190505b949350505050565b600080823b905060008111915050919050565b828054613fd7906155b5565b90600052602060002090601f016020900481019282613ff95760008555614040565b82601f1061401257805160ff1916838001178555614040565b82800160010185558215614040579182015b8281111561403f578251825591602001919060010190614024565b5b50905061404d9190614051565b5090565b5b8082111561406a576000816000905550600101614052565b5090565b600061408161407c846152e2565b6152bd565b90508281526020810184848401111561409d5761409c6157ba565b5b6140a8848285615573565b509392505050565b60006140c36140be84615313565b6152bd565b9050828152602081018484840111156140df576140de6157ba565b5b6140ea848285615573565b509392505050565b60008135905061410181615eec565b92915050565b60008151905061411681615eec565b92915050565b60008083601f840112614132576141316157b0565b5b8235905067ffffffffffffffff81111561414f5761414e6157ab565b5b60208301915083602082028301111561416b5761416a6157b5565b5b9250929050565b60008083601f840112614188576141876157b0565b5b8235905067ffffffffffffffff8111156141a5576141a46157ab565b5b6020830191508360208202830111156141c1576141c06157b5565b5b9250929050565b6000813590506141d781615f03565b92915050565b6000813590506141ec81615f1a565b92915050565b60008135905061420181615f31565b92915050565b60008151905061421681615f31565b92915050565b600082601f830112614231576142306157b0565b5b813561424184826020860161406e565b91505092915050565b600082601f83011261425f5761425e6157b0565b5b813561426f8482602086016140b0565b91505092915050565b60008135905061428781615f48565b92915050565b60008151905061429c81615f48565b92915050565b6000602082840312156142b8576142b76157c4565b5b60006142c6848285016140f2565b91505092915050565b6000602082840312156142e5576142e46157c4565b5b60006142f384828501614107565b91505092915050565b60008060408385031215614313576143126157c4565b5b6000614321858286016140f2565b9250506020614332858286016140f2565b9150509250929050565b600080600060608486031215614355576143546157c4565b5b6000614363868287016140f2565b9350506020614374868287016140f2565b925050604061438586828701614278565b9150509250925092565b600080600080608085870312156143a9576143a86157c4565b5b60006143b7878288016140f2565b94505060206143c8878288016140f2565b93505060406143d987828801614278565b925050606085013567ffffffffffffffff8111156143fa576143f96157bf565b5b6144068782880161421c565b91505092959194509250565b60008060408385031215614429576144286157c4565b5b6000614437858286016140f2565b9250506020614448858286016141c8565b9150509250929050565b60008060408385031215614469576144686157c4565b5b6000614477858286016140f2565b925050602061448885828601614278565b9150509250929050565b6000806000604084860312156144ab576144aa6157c4565b5b600084013567ffffffffffffffff8111156144c9576144c86157bf565b5b6144d58682870161411c565b935093505060206144e8868287016140f2565b9150509250925092565b60008060006040848603121561450b5761450a6157c4565b5b600084013567ffffffffffffffff811115614529576145286157bf565b5b6145358682870161411c565b9350935050602061454886828701614278565b9150509250925092565b60008060006040848603121561456b5761456a6157c4565b5b600084013567ffffffffffffffff811115614589576145886157bf565b5b61459586828701614172565b935093505060206145a886828701614278565b9150509250925092565b6000602082840312156145c8576145c76157c4565b5b60006145d6848285016141c8565b91505092915050565b6000602082840312156145f5576145f46157c4565b5b6000614603848285016141dd565b91505092915050565b600060208284031215614622576146216157c4565b5b6000614630848285016141f2565b91505092915050565b60006020828403121561464f5761464e6157c4565b5b600061465d84828501614207565b91505092915050565b60006020828403121561467c5761467b6157c4565b5b600082013567ffffffffffffffff81111561469a576146996157bf565b5b6146a68482850161424a565b91505092915050565b6000602082840312156146c5576146c46157c4565b5b60006146d384828501614278565b91505092915050565b6000602082840312156146f2576146f16157c4565b5b60006147008482850161428d565b91505092915050565b600080604083850312156147205761471f6157c4565b5b600061472e85828601614278565b925050602083013567ffffffffffffffff81111561474f5761474e6157bf565b5b61475b8582860161424a565b9150509250929050565b6000806040838503121561477c5761477b6157c4565b5b600061478a85828601614278565b925050602061479b85828601614278565b9150509250929050565b60006147b18383614d8f565b60208301905092915050565b6147c6816154f5565b82525050565b6147dd6147d8826154f5565b615661565b82525050565b60006147ee82615369565b6147f88185615397565b935061480383615344565b8060005b8381101561483457815161481b88826147a5565b97506148268361538a565b925050600181019050614807565b5085935050505092915050565b61484a81615507565b82525050565b61485981615513565b82525050565b61487061486b82615513565b615673565b82525050565b600061488182615374565b61488b81856153a8565b935061489b818560208601615582565b6148a4816157c9565b840191505092915050565b60006148ba8261537f565b6148c481856153c4565b93506148d4818560208601615582565b6148dd816157c9565b840191505092915050565b60006148f38261537f565b6148fd81856153d5565b935061490d818560208601615582565b80840191505092915050565b60008154614926816155b5565b61493081866153d5565b9450600182166000811461494b576001811461495c5761498f565b60ff1983168652818601935061498f565b61496585615354565b60005b8381101561498757815481890152600182019150602081019050614968565b838801955050505b50505092915050565b60006149a56017836153c4565b91506149b0826157e7565b602082019050919050565b60006149c8603d836153c4565b91506149d382615810565b604082019050919050565b60006149eb6032836153c4565b91506149f68261585f565b604082019050919050565b6000614a0e6026836153c4565b9150614a19826158ae565b604082019050919050565b6000614a31601c836153c4565b9150614a3c826158fd565b602082019050919050565b6000614a54601e836153c4565b9150614a5f82615926565b602082019050919050565b6000614a77601d836153c4565b9150614a828261594f565b602082019050919050565b6000614a9a6024836153c4565b9150614aa582615978565b604082019050919050565b6000614abd6019836153c4565b9150614ac8826159c7565b602082019050919050565b6000614ae0601b836153c4565b9150614aeb826159f0565b602082019050919050565b6000614b03602c836153c4565b9150614b0e82615a19565b604082019050919050565b6000614b26603c836153c4565b9150614b3182615a68565b604082019050919050565b6000614b496038836153c4565b9150614b5482615ab7565b604082019050919050565b6000614b6c602a836153c4565b9150614b7782615b06565b604082019050919050565b6000614b8f6029836153c4565b9150614b9a82615b55565b604082019050919050565b6000614bb26020836153c4565b9150614bbd82615ba4565b602082019050919050565b6000614bd5602c836153c4565b9150614be082615bcd565b604082019050919050565b6000614bf86005836153d5565b9150614c0382615c1c565b600582019050919050565b6000614c1b6015836153c4565b9150614c2682615c45565b602082019050919050565b6000614c3e6020836153c4565b9150614c4982615c6e565b602082019050919050565b6000614c616029836153c4565b9150614c6c82615c97565b604082019050919050565b6000614c846013836153c4565b9150614c8f82615ce6565b602082019050919050565b6000614ca7601b836153c4565b9150614cb282615d0f565b602082019050919050565b6000614cca6021836153c4565b9150614cd582615d38565b604082019050919050565b6000614ced6053836153c4565b9150614cf882615d87565b606082019050919050565b6000614d106000836153b9565b9150614d1b82615dfc565b600082019050919050565b6000614d336031836153c4565b9150614d3e82615dff565b604082019050919050565b6000614d56603a836153c4565b9150614d6182615e4e565b604082019050919050565b6000614d796027836153c4565b9150614d8482615e9d565b604082019050919050565b614d9881615569565b82525050565b614da781615569565b82525050565b6000614db982846147cc565b60148201915081905092915050565b6000614dd4828561485f565b602082019150614de4828461485f565b6020820191508190509392505050565b6000614e008285614919565b9150614e0c82846148e8565b9150614e1782614beb565b91508190509392505050565b6000614e2e82614d03565b9150819050919050565b6000602082019050614e4d60008301846147bd565b92915050565b6000608082019050614e6860008301876147bd565b614e7560208301866147bd565b614e826040830185614d9e565b8181036060830152614e948184614876565b905095945050505050565b6000604082019050614eb460008301856147bd565b614ec16020830184614d9e565b9392505050565b60006020820190508181036000830152614ee281846147e3565b905092915050565b6000602082019050614eff6000830184614841565b92915050565b6000602082019050614f1a6000830184614850565b92915050565b60006020820190508181036000830152614f3a81846148af565b905092915050565b60006020820190508181036000830152614f5b81614998565b9050919050565b60006020820190508181036000830152614f7b816149bb565b9050919050565b60006020820190508181036000830152614f9b816149de565b9050919050565b60006020820190508181036000830152614fbb81614a01565b9050919050565b60006020820190508181036000830152614fdb81614a24565b9050919050565b60006020820190508181036000830152614ffb81614a47565b9050919050565b6000602082019050818103600083015261501b81614a6a565b9050919050565b6000602082019050818103600083015261503b81614a8d565b9050919050565b6000602082019050818103600083015261505b81614ab0565b9050919050565b6000602082019050818103600083015261507b81614ad3565b9050919050565b6000602082019050818103600083015261509b81614af6565b9050919050565b600060208201905081810360008301526150bb81614b19565b9050919050565b600060208201905081810360008301526150db81614b3c565b9050919050565b600060208201905081810360008301526150fb81614b5f565b9050919050565b6000602082019050818103600083015261511b81614b82565b9050919050565b6000602082019050818103600083015261513b81614ba5565b9050919050565b6000602082019050818103600083015261515b81614bc8565b9050919050565b6000602082019050818103600083015261517b81614c0e565b9050919050565b6000602082019050818103600083015261519b81614c31565b9050919050565b600060208201905081810360008301526151bb81614c54565b9050919050565b600060208201905081810360008301526151db81614c77565b9050919050565b600060208201905081810360008301526151fb81614c9a565b9050919050565b6000602082019050818103600083015261521b81614cbd565b9050919050565b6000602082019050818103600083015261523b81614ce0565b9050919050565b6000602082019050818103600083015261525b81614d26565b9050919050565b6000602082019050818103600083015261527b81614d49565b9050919050565b6000602082019050818103600083015261529b81614d6c565b9050919050565b60006020820190506152b76000830184614d9e565b92915050565b60006152c76152d8565b90506152d382826155e7565b919050565b6000604051905090565b600067ffffffffffffffff8211156152fd576152fc61577c565b5b615306826157c9565b9050602081019050919050565b600067ffffffffffffffff82111561532e5761532d61577c565b5b615337826157c9565b9050602081019050919050565b6000819050602082019050919050565b60008190508160005260206000209050919050565b600081519050919050565b600081519050919050565b600081519050919050565b6000602082019050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b600081905092915050565b60006153eb82615569565b91506153f683615569565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561542b5761542a6156c0565b5b828201905092915050565b600061544182615569565b915061544c83615569565b92508261545c5761545b6156ef565b5b828204905092915050565b600061547282615569565b915061547d83615569565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156154b6576154b56156c0565b5b828202905092915050565b60006154cc82615569565b91506154d783615569565b9250828210156154ea576154e96156c0565b5b828203905092915050565b600061550082615549565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b838110156155a0578082015181840152602081019050615585565b838111156155af576000848401525b50505050565b600060028204905060018216806155cd57607f821691505b602082108114156155e1576155e061571e565b5b50919050565b6155f0826157c9565b810181811067ffffffffffffffff8211171561560f5761560e61577c565b5b80604052505050565b600061562382615569565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415615656576156556156c0565b5b600182019050919050565b600061566c8261567d565b9050919050565b6000819050919050565b6000615688826157da565b9050919050565b600061569a82615569565b91506156a583615569565b9250826156b5576156b46156ef565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b60008160601b9050919050565b7f57686974656c697374206973206e6f7420616374697665000000000000000000600082015250565b7f547279696e6720746f20636c61696d206120746f6b656e20796f7520646f6e2760008201527f74206f776e206f7220617274696661637420636c61696d656420796574000000602082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f536f72727920796f752063616e2774206d696e74207269676874206e6f770000600082015250565b7f43616e2774207769746864726177206f6e20626c61636b20686f6c652e000000600082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f416d6f756e742073686f756c64206265206174206c6561737420310000000000600082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f43616e27742062757920626563617573652073616c65206973206e6f7420616360008201527f74697665206f72207472696265206973206e6f742073656c6c696e6700000000602082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f2e6a736f6e000000000000000000000000000000000000000000000000000000600082015250565b7f43616e27742075736520626c61636b20686f6c652e0000000000000000000000600082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b7f4d617820616d6f756e7420726561636865642e00000000000000000000000000600082015250565b7f726563697069656e74206661696c656420746f20726563656976650000000000600082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b7f596f7520646f6e2774206f776e20616e792061727469666163742c20796f752760008201527f7265206120636f6e7472616374206f7220747279696e6720746f20636c61696d60208201527f20616e20756e616c6c6f77656420747269626500000000000000000000000000604082015250565b50565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f416d6f756e742073686f756c64206265206174206c65617374203120616e642060008201527f6d757374206265206c657373206f7220657175616c20746f2033000000000000602082015250565b7f41736b696e6720726f79616c7469657320666f72206e6f6e2d6578697374656e60008201527f7420746f6b656e00000000000000000000000000000000000000000000000000602082015250565b615ef5816154f5565b8114615f0057600080fd5b50565b615f0c81615507565b8114615f1757600080fd5b50565b615f2381615513565b8114615f2e57600080fd5b50565b615f3a8161551d565b8114615f4557600080fd5b50565b615f5181615569565b8114615f5c57600080fd5b5056fea264697066735822122037ea3f9910f810c159b02f489e40d44aa4abe609bb2de46638e29a8d9fce32b064736f6c6343000806003368747470733a2f2f656e6368616e7465642d76616c6c65792d6170692d6b77766c702e6f6e6469676974616c6f6365616e2e6170702f00000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000e000000000000000000000000000000000000000000000000000000000000001200000000000000000000000002a8555f5cd838356295637b336c90368ea1ed995000000000000000000000000f62c04fb8b3ecd1fb43bb791fd80008cccbe2406000000000000000000000000000000000000000000000000000000000000000e54686520456e6368616e746564730000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000007454e4348544453000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000

Deployed Bytecode

0x6080604052600436106102e45760003560e01c8063819efe5111610190578063c87b56dd116100dc578063debefaa611610095578063e985e9c51161006f578063e985e9c514610b72578063f2b3ea5d14610baf578063f2fde38b14610bda578063f9347b3314610c03576102e4565b8063debefaa614610adf578063e0df721614610b1c578063e8a3d48514610b47576102e4565b8063c87b56dd146109bd578063c97180a2146109fa578063cf7761ee14610a37578063d47573d414610a62578063d7bffc9614610a8b578063daf68ef314610ab6576102e4565b8063a22cb46511610149578063abca44fc11610123578063abca44fc14610919578063b2a3377314610942578063b703a9f41461096b578063b88d4fde14610994576102e4565b8063a22cb465146108a9578063a3a51bd5146108d2578063a8ddce73146108fd576102e4565b8063819efe511461078757806383bc5245146107c45780638462151c146107ed5780638da5cb5b1461082a57806393830a231461085557806395d89b411461087e576102e4565b80632a1436c21161024f57806357b28f3e116102085780636f567afc116101e25780636f567afc146106f357806370a082311461071c578063715018a6146107595780637362377b14610770576102e4565b806357b28f3e1461063c5780636352211e1461067957806366a2e4dd146106b6576102e4565b80632a1436c21461052f5780632a55205a1461055857806342842e0e1461059657806347d0c930146105bf57806348bf5dd7146105e857806351e75e8b14610611576102e4565b80631036b3c5116102a15780631036b3c51461041f57806318160ddd1461044a5780631a4fba6c146104755780632371e52a1461049e57806323b872dd146104db57806324d2729214610504576102e4565b806301ffc9a7146102e95780630346f18f1461032657806306fdde0314610351578063081812fc1461037c57806308856c2f146103b9578063095ea7b3146103f6575b600080fd5b3480156102f557600080fd5b50610310600480360381019061030b919061460c565b610c2c565b60405161031d9190614eea565b60405180910390f35b34801561033257600080fd5b5061033b610ca6565b6040516103489190614f20565b60405180910390f35b34801561035d57600080fd5b50610366610d34565b6040516103739190614f20565b60405180910390f35b34801561038857600080fd5b506103a3600480360381019061039e91906146af565b610dc6565b6040516103b09190614e38565b60405180910390f35b3480156103c557600080fd5b506103e060048036038101906103db91906146af565b610e4b565b6040516103ed91906152a2565b60405180910390f35b34801561040257600080fd5b5061041d60048036038101906104189190614452565b610e68565b005b34801561042b57600080fd5b50610434610f80565b6040516104419190614eea565b60405180910390f35b34801561045657600080fd5b5061045f610f93565b60405161046c91906152a2565b60405180910390f35b34801561048157600080fd5b5061049c60048036038101906104979190614666565b61102a565b005b3480156104aa57600080fd5b506104c560048036038101906104c091906142a2565b6110c0565b6040516104d29190614ec8565b60405180910390f35b3480156104e757600080fd5b5061050260048036038101906104fd919061433c565b6113fa565b005b34801561051057600080fd5b5061051961145a565b60405161052691906152a2565b60405180910390f35b34801561053b57600080fd5b50610556600480360381019061055191906145b2565b611460565b005b34801561056457600080fd5b5061057f600480360381019061057a9190614765565b6114f9565b60405161058d929190614e9f565b60405180910390f35b3480156105a257600080fd5b506105bd60048036038101906105b8919061433c565b61158d565b005b3480156105cb57600080fd5b506105e660048036038101906105e191906145df565b6115ad565b005b3480156105f457600080fd5b5061060f600480360381019061060a91906146af565b611633565b005b34801561061d57600080fd5b506106266116b9565b6040516106339190614f05565b60405180910390f35b34801561064857600080fd5b50610663600480360381019061065e91906142a2565b6116bf565b60405161067091906152a2565b60405180910390f35b34801561068557600080fd5b506106a0600480360381019061069b91906146af565b611778565b6040516106ad9190614e38565b60405180910390f35b3480156106c257600080fd5b506106dd60048036038101906106d891906146af565b61182a565b6040516106ea9190614f20565b60405180910390f35b3480156106ff57600080fd5b5061071a60048036038101906107159190614552565b6118ca565b005b34801561072857600080fd5b50610743600480360381019061073e91906142a2565b611ce3565b60405161075091906152a2565b60405180910390f35b34801561076557600080fd5b5061076e611d9b565b005b34801561077c57600080fd5b50610785611e23565b005b34801561079357600080fd5b506107ae60048036038101906107a991906146af565b612016565b6040516107bb9190614eea565b60405180910390f35b3480156107d057600080fd5b506107eb60048036038101906107e691906145b2565b612036565b005b3480156107f957600080fd5b50610814600480360381019061080f91906142a2565b6120cf565b6040516108219190614ec8565b60405180910390f35b34801561083657600080fd5b5061083f61222d565b60405161084c9190614e38565b60405180910390f35b34801561086157600080fd5b5061087c60048036038101906108779190614452565b612257565b005b34801561088a57600080fd5b5061089361231f565b6040516108a09190614f20565b60405180910390f35b3480156108b557600080fd5b506108d060048036038101906108cb9190614412565b6123b1565b005b3480156108de57600080fd5b506108e7612532565b6040516108f49190614e38565b60405180910390f35b610917600480360381019061091291906144f2565b61255c565b005b34801561092557600080fd5b50610940600480360381019061093b91906142a2565b612932565b005b34801561094e57600080fd5b50610969600480360381019061096491906142a2565b612a62565b005b34801561097757600080fd5b50610992600480360381019061098d91906146af565b612b22565b005b3480156109a057600080fd5b506109bb60048036038101906109b6919061438f565b612ba8565b005b3480156109c957600080fd5b506109e460048036038101906109df91906146af565b612c0a565b6040516109f19190614f20565b60405180910390f35b348015610a0657600080fd5b50610a216004803603810190610a1c91906146af565b612cdb565b604051610a2e9190614eea565b60405180910390f35b348015610a4357600080fd5b50610a4c612d05565b604051610a5991906152a2565b60405180910390f35b348015610a6e57600080fd5b50610a896004803603810190610a849190614765565b612d0b565b005b348015610a9757600080fd5b50610aa0612ee1565b604051610aad9190614e38565b60405180910390f35b348015610ac257600080fd5b50610add6004803603810190610ad891906146af565b612f07565b005b348015610aeb57600080fd5b50610b066004803603810190610b019190614492565b612f8d565b604051610b139190614eea565b60405180910390f35b348015610b2857600080fd5b50610b31613083565b604051610b3e9190614eea565b60405180910390f35b348015610b5357600080fd5b50610b5c613096565b604051610b699190614f20565b60405180910390f35b348015610b7e57600080fd5b50610b996004803603810190610b9491906142fc565b613128565b604051610ba69190614eea565b60405180910390f35b348015610bbb57600080fd5b50610bc46131bc565b604051610bd191906152a2565b60405180910390f35b348015610be657600080fd5b50610c016004803603810190610bfc91906142a2565b6131c2565b005b348015610c0f57600080fd5b50610c2a6004803603810190610c259190614709565b6132ba565b005b60007f2a55205a000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610c9f5750610c9e82613362565b5b9050919050565b60098054610cb3906155b5565b80601f0160208091040260200160405190810160405280929190818152602001828054610cdf906155b5565b8015610d2c5780601f10610d0157610100808354040283529160200191610d2c565b820191906000526020600020905b815481529060010190602001808311610d0f57829003601f168201915b505050505081565b606060008054610d43906155b5565b80601f0160208091040260200160405190810160405280929190818152602001828054610d6f906155b5565b8015610dbc5780601f10610d9157610100808354040283529160200191610dbc565b820191906000526020600020905b815481529060010190602001808311610d9f57829003601f168201915b5050505050905090565b6000610dd182613444565b610e10576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e0790615142565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b600060126000838152602001908152602001600020549050919050565b6000610e7382611778565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610ee4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610edb90615202565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610f036134b0565b73ffffffffffffffffffffffffffffffffffffffff161480610f325750610f3181610f2c6134b0565b613128565b5b610f71576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f68906150c2565b60405180910390fd5b610f7b83836134b8565b505050565b601060009054906101000a900460ff1681565b6000601260006004815260200190815260200160002054601260006003815260200190815260200160002054601260006002815260200190815260200160002054601260006001815260200190815260200160002054601260008081526020019081526020016000205461100791906153e0565b61101191906153e0565b61101b91906153e0565b61102591906153e0565b905090565b6110326134b0565b73ffffffffffffffffffffffffffffffffffffffff1661105061222d565b73ffffffffffffffffffffffffffffffffffffffff16146110a6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161109d90615182565b60405180910390fd5b80600990805190602001906110bc929190613fcb565b5050565b60606000601460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231846040518263ffffffff1660e01b815260040161111f9190614e38565b60206040518083038186803b15801561113757600080fd5b505afa15801561114b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061116f91906146dc565b905060008114156111cc57600067ffffffffffffffff8111156111955761119461577c565b5b6040519080825280602002602001820160405280156111c35781602001602082028036833780820191505090505b509150506113f5565b60008167ffffffffffffffff8111156111e8576111e761577c565b5b6040519080825280602002602001820160405280156112165781602001602082028036833780820191505090505b5090506000601460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166318160ddd6040518163ffffffff1660e01b815260040160206040518083038186803b15801561128357600080fd5b505afa158015611297573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112bb91906146dc565b9050600080600190505b8281116113ec578673ffffffffffffffffffffffffffffffffffffffff16601460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16636352211e836040518263ffffffff1660e01b815260040161133e91906152a2565b60206040518083038186803b15801561135657600080fd5b505afa15801561136a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061138e91906142cf565b73ffffffffffffffffffffffffffffffffffffffff1614156113d957808483815181106113be576113bd61574d565b5b60200260200101818152505081806113d590615618565b9250505b80806113e490615618565b9150506112c5565b83955050505050505b919050565b61140b6114056134b0565b82613571565b61144a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161144190615242565b60405180910390fd5b61145583838361364f565b505050565b600e5481565b6114686134b0565b73ffffffffffffffffffffffffffffffffffffffff1661148661222d565b73ffffffffffffffffffffffffffffffffffffffff16146114dc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114d390615182565b60405180910390fd5b80601060006101000a81548160ff02191690831515021790555050565b6000806000841161153f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161153690615282565b60405180910390fd5b60006064600854856115519190615467565b61155b9190615436565b9050600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff168192509250509250929050565b6115a883838360405180602001604052806000815250612ba8565b505050565b6115b56134b0565b73ffffffffffffffffffffffffffffffffffffffff166115d361222d565b73ffffffffffffffffffffffffffffffffffffffff1614611629576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161162090615182565b60405180910390fd5b80600a8190555050565b61163b6134b0565b73ffffffffffffffffffffffffffffffffffffffff1661165961222d565b73ffffffffffffffffffffffffffffffffffffffff16146116af576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116a690615182565b60405180910390fd5b80600e8190555050565b600a5481565b600080601460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231846040518263ffffffff1660e01b815260040161171d9190614e38565b60206040518083038186803b15801561173557600080fd5b505afa158015611749573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061176d91906146dc565b905080915050919050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611821576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161181890615102565b60405180910390fd5b80915050919050565b60136020528060005260406000206000915090508054611849906155b5565b80601f0160208091040260200160405190810160405280929190818152602001828054611875906155b5565b80156118c25780601f10611897576101008083540402835291602001916118c2565b820191906000526020600020905b8154815290600101906020018083116118a557829003601f168201915b505050505081565b6000601460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231336040518263ffffffff1660e01b81526004016119279190614e38565b60206040518083038186803b15801561193f57600080fd5b505afa158015611953573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061197791906146dc565b90506000811180156119b457503373ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff16145b80156119c2575081600e5410155b611a01576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119f890615222565b60405180910390fd5b60005b84849050811015611cdc576000601460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16636352211e878785818110611a6257611a6161574d565b5b905060200201356040518263ffffffff1660e01b8152600401611a8591906152a2565b60206040518083038186803b158015611a9d57600080fd5b505afa158015611ab1573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611ad591906142cf565b90503373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16148015611b4f57506000151560116000888886818110611b2857611b2761574d565b5b90506020020135815260200190815260200160002060009054906101000a900460ff161515145b611b8e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b8590614f62565b60405180910390fd5b60006001611b9a610f93565b611ba491906153e0565b9050600060016012600088815260200190815260200160002054611bc891906153e0565b9050600b548211158015611bde5750600c548111155b611c1d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c14906151c2565b60405180910390fd5b6001601160008a8a88818110611c3657611c3561574d565b5b90506020020135815260200190815260200160002060006101000a81548160ff021916908315150217905550601260008781526020019081526020016000206000815480929190611c8690615618565b91905055506000601260008881526020019081526020016000205487610898611caf9190615467565b611cb991906153e0565b9050611cc533826138ab565b505050508080611cd490615618565b915050611a04565b5050505050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611d54576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d4b906150e2565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b611da36134b0565b73ffffffffffffffffffffffffffffffffffffffff16611dc161222d565b73ffffffffffffffffffffffffffffffffffffffff1614611e17576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e0e90615182565b60405180910390fd5b611e216000613a79565b565b611e2b6134b0565b73ffffffffffffffffffffffffffffffffffffffff16611e4961222d565b73ffffffffffffffffffffffffffffffffffffffff1614611e9f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e9690615182565b60405180910390fd5b6000479050600073ffffffffffffffffffffffffffffffffffffffff16601060029054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614158015611f035750600081115b611f42576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f3990615002565b60405180910390fd5b6000601060029054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1682604051611f8a90614e23565b60006040518083038185875af1925050503d8060008114611fc7576040519150601f19603f3d011682016040523d82523d6000602084013e611fcc565b606091505b50508091505080612012576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612009906151e2565b60405180910390fd5b5050565b60116020528060005260406000206000915054906101000a900460ff1681565b61203e6134b0565b73ffffffffffffffffffffffffffffffffffffffff1661205c61222d565b73ffffffffffffffffffffffffffffffffffffffff16146120b2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120a990615182565b60405180910390fd5b80601060016101000a81548160ff02191690831515021790555050565b606060006120dc83611ce3565b9050600081141561213957600067ffffffffffffffff8111156121025761210161577c565b5b6040519080825280602002602001820160405280156121305781602001602082028036833780820191505090505b50915050612228565b60008167ffffffffffffffff8111156121555761215461577c565b5b6040519080825280602002602001820160405280156121835781602001602082028036833780820191505090505b5090506000612190610f93565b9050600080600190505b82811161221f578673ffffffffffffffffffffffffffffffffffffffff166121c182611778565b73ffffffffffffffffffffffffffffffffffffffff16141561220c57808483815181106121f1576121f061574d565b5b602002602001018181525050818061220890615618565b9250505b808061221790615618565b91505061219a565b83955050505050505b919050565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b61225f6134b0565b73ffffffffffffffffffffffffffffffffffffffff1661227d61222d565b73ffffffffffffffffffffffffffffffffffffffff16146122d3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122ca90615182565b60405180910390fd5b81600760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550806008819055505050565b60606001805461232e906155b5565b80601f016020809104026020016040519081016040528092919081815260200182805461235a906155b5565b80156123a75780601f1061237c576101008083540402835291602001916123a7565b820191906000526020600020905b81548152906001019060200180831161238a57829003601f168201915b5050505050905090565b6123b96134b0565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612427576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161241e90615042565b60405180910390fd5b80600560006124346134b0565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff166124e16134b0565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516125269190614eea565b60405180910390a35050565b6000600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b3373ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff161480156125a35750601060019054906101000a900460ff165b80156125b1575080600e5410155b6125f0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125e7906150a2565b60405180910390fd5b600080600f549050601060009054906101000a900460ff1615612758576000601460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231336040518263ffffffff1660e01b815260040161266a9190614e38565b60206040518083038186803b15801561268257600080fd5b505afa158015612696573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906126ba91906146dc565b119150816126d15760006126cd33611ce3565b1191505b81612753576000336040516020016126e99190614dad565b60405160208183030381529060405280519060200120905061274f868680806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f82011690508083019250505050505050600a5483613b3f565b9250505b61275d565b600191505b81801561277757506000600d5434612775919061568f565b145b6127b6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127ad90614fe2565b60405180910390fd5b6000600d54346127c69190615436565b9050600181101580156127d95750818111155b612818576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161280f90615262565b60405180910390fd5b6000612822610f93565b8261282d91906153e0565b9050600082601260008881526020019081526020016000205461285091906153e0565b9050600b5482111580156128665750600c548111155b6128a5576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161289c906151c2565b60405180910390fd5b60005b83811015612927576012600088815260200190815260200160002060008154809291906128d490615618565b919050555060006012600089815260200190815260200160002054886108986128fd9190615467565b61290791906153e0565b905061291333826138ab565b50808061291f90615618565b9150506128a8565b505050505050505050565b61293a6134b0565b73ffffffffffffffffffffffffffffffffffffffff1661295861222d565b73ffffffffffffffffffffffffffffffffffffffff16146129ae576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016129a590615182565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415612a1e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a1590615162565b60405180910390fd5b80601060026101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b612a6a6134b0565b73ffffffffffffffffffffffffffffffffffffffff16612a8861222d565b73ffffffffffffffffffffffffffffffffffffffff1614612ade576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ad590615182565b60405180910390fd5b80601460006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b612b2a6134b0565b73ffffffffffffffffffffffffffffffffffffffff16612b4861222d565b73ffffffffffffffffffffffffffffffffffffffff1614612b9e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b9590615182565b60405180910390fd5b80600d8190555050565b612bb9612bb36134b0565b83613571565b612bf8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612bef90615242565b60405180910390fd5b612c0484848484613bf5565b50505050565b60606000612c1783613c51565b9050600061089884118015612c2e57506111308411155b15612c3c5760019050612c9e565b61113084118015612c4f57506119c88411155b15612c5d5760029050612c9d565b6119c884118015612c7057506122608411155b15612c7e5760039050612c9c565b61226084118015612c915750612af88411155b15612c9b57600490505b5b5b5b6013600082815260200190815260200160002082604051602001612cc3929190614df4565b60405160208183030381529060405292505050919050565b60006011600083815260200190815260200160002060009054906101000a900460ff169050919050565b60085481565b612d136134b0565b73ffffffffffffffffffffffffffffffffffffffff16612d3161222d565b73ffffffffffffffffffffffffffffffffffffffff1614612d87576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d7e90615182565b60405180910390fd5b6001821015612dcb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612dc290615062565b60405180910390fd5b6000612dd5610f93565b83612de091906153e0565b90506000836012600085815260200190815260200160002054612e0391906153e0565b9050600b548211158015612e195750600c548111155b612e58576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612e4f906151c2565b60405180910390fd5b60005b84811015612eda57601260008581526020019081526020016000206000815480929190612e8790615618565b91905055506000601260008681526020019081526020016000205485610898612eb09190615467565b612eba91906153e0565b9050612ec633826138ab565b508080612ed290615618565b915050612e5b565b5050505050565b601060029054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b612f0f6134b0565b73ffffffffffffffffffffffffffffffffffffffff16612f2d61222d565b73ffffffffffffffffffffffffffffffffffffffff1614612f83576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612f7a90615182565b60405180910390fd5b80600f8190555050565b6000601060009054906101000a900460ff16612fde576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612fd590614f42565b60405180910390fd5b600082604051602001612ff19190614dad565b6040516020818303038152906040528051906020012090506000613059868680806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f82011690508083019250505050505050600a5484613b3f565b9050600061306685611ce3565b9050600081111561307657600191505b8193505050509392505050565b601060019054906101000a900460ff1681565b6060600980546130a5906155b5565b80601f01602080910402602001604051908101604052809291908181526020018280546130d1906155b5565b801561311e5780601f106130f35761010080835404028352916020019161311e565b820191906000526020600020905b81548152906001019060200180831161310157829003601f168201915b5050505050905090565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b600d5481565b6131ca6134b0565b73ffffffffffffffffffffffffffffffffffffffff166131e861222d565b73ffffffffffffffffffffffffffffffffffffffff161461323e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161323590615182565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156132ae576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016132a590614fa2565b60405180910390fd5b6132b781613a79565b50565b6132c26134b0565b73ffffffffffffffffffffffffffffffffffffffff166132e061222d565b73ffffffffffffffffffffffffffffffffffffffff1614613336576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161332d90615182565b60405180910390fd5b8060136000848152602001908152602001600020908051906020019061335d929190613fcb565b505050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061342d57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b8061343d575061343c82613db2565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff1661352b83611778565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600061357c82613444565b6135bb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016135b290615082565b60405180910390fd5b60006135c683611778565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16148061363557508373ffffffffffffffffffffffffffffffffffffffff1661361d84610dc6565b73ffffffffffffffffffffffffffffffffffffffff16145b8061364657506136458185613128565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff1661366f82611778565b73ffffffffffffffffffffffffffffffffffffffff16146136c5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016136bc906151a2565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415613735576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161372c90615022565b60405180910390fd5b613740838383613e1c565b61374b6000826134b8565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461379b91906154c1565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546137f291906153e0565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561391b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161391290615122565b60405180910390fd5b61392481613444565b15613964576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161395b90614fc2565b60405180910390fd5b61397060008383613e1c565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546139c091906153e0565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b60008082905060005b8551811015613be7576000868281518110613b6657613b6561574d565b5b60200260200101519050808311613ba7578281604051602001613b8a929190614dc8565b604051602081830303815290604052805190602001209250613bd3565b8083604051602001613bba929190614dc8565b6040516020818303038152906040528051906020012092505b508080613bdf90615618565b915050613b48565b508381149150509392505050565b613c0084848461364f565b613c0c84848484613e21565b613c4b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613c4290614f82565b60405180910390fd5b50505050565b60606000821415613c99576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050613dad565b600082905060005b60008214613ccb578080613cb490615618565b915050600a82613cc49190615436565b9150613ca1565b60008167ffffffffffffffff811115613ce757613ce661577c565b5b6040519080825280601f01601f191660200182016040528015613d195781602001600182028036833780820191505090505b5090505b60008514613da657600182613d3291906154c1565b9150600a85613d41919061568f565b6030613d4d91906153e0565b60f81b818381518110613d6357613d6261574d565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85613d9f9190615436565b9450613d1d565b8093505050505b919050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b505050565b6000613e428473ffffffffffffffffffffffffffffffffffffffff16613fb8565b15613fab578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02613e6b6134b0565b8786866040518563ffffffff1660e01b8152600401613e8d9493929190614e53565b602060405180830381600087803b158015613ea757600080fd5b505af1925050508015613ed857506040513d601f19601f82011682018060405250810190613ed59190614639565b60015b613f5b573d8060008114613f08576040519150601f19603f3d011682016040523d82523d6000602084013e613f0d565b606091505b50600081511415613f53576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613f4a90614f82565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050613fb0565b600190505b949350505050565b600080823b905060008111915050919050565b828054613fd7906155b5565b90600052602060002090601f016020900481019282613ff95760008555614040565b82601f1061401257805160ff1916838001178555614040565b82800160010185558215614040579182015b8281111561403f578251825591602001919060010190614024565b5b50905061404d9190614051565b5090565b5b8082111561406a576000816000905550600101614052565b5090565b600061408161407c846152e2565b6152bd565b90508281526020810184848401111561409d5761409c6157ba565b5b6140a8848285615573565b509392505050565b60006140c36140be84615313565b6152bd565b9050828152602081018484840111156140df576140de6157ba565b5b6140ea848285615573565b509392505050565b60008135905061410181615eec565b92915050565b60008151905061411681615eec565b92915050565b60008083601f840112614132576141316157b0565b5b8235905067ffffffffffffffff81111561414f5761414e6157ab565b5b60208301915083602082028301111561416b5761416a6157b5565b5b9250929050565b60008083601f840112614188576141876157b0565b5b8235905067ffffffffffffffff8111156141a5576141a46157ab565b5b6020830191508360208202830111156141c1576141c06157b5565b5b9250929050565b6000813590506141d781615f03565b92915050565b6000813590506141ec81615f1a565b92915050565b60008135905061420181615f31565b92915050565b60008151905061421681615f31565b92915050565b600082601f830112614231576142306157b0565b5b813561424184826020860161406e565b91505092915050565b600082601f83011261425f5761425e6157b0565b5b813561426f8482602086016140b0565b91505092915050565b60008135905061428781615f48565b92915050565b60008151905061429c81615f48565b92915050565b6000602082840312156142b8576142b76157c4565b5b60006142c6848285016140f2565b91505092915050565b6000602082840312156142e5576142e46157c4565b5b60006142f384828501614107565b91505092915050565b60008060408385031215614313576143126157c4565b5b6000614321858286016140f2565b9250506020614332858286016140f2565b9150509250929050565b600080600060608486031215614355576143546157c4565b5b6000614363868287016140f2565b9350506020614374868287016140f2565b925050604061438586828701614278565b9150509250925092565b600080600080608085870312156143a9576143a86157c4565b5b60006143b7878288016140f2565b94505060206143c8878288016140f2565b93505060406143d987828801614278565b925050606085013567ffffffffffffffff8111156143fa576143f96157bf565b5b6144068782880161421c565b91505092959194509250565b60008060408385031215614429576144286157c4565b5b6000614437858286016140f2565b9250506020614448858286016141c8565b9150509250929050565b60008060408385031215614469576144686157c4565b5b6000614477858286016140f2565b925050602061448885828601614278565b9150509250929050565b6000806000604084860312156144ab576144aa6157c4565b5b600084013567ffffffffffffffff8111156144c9576144c86157bf565b5b6144d58682870161411c565b935093505060206144e8868287016140f2565b9150509250925092565b60008060006040848603121561450b5761450a6157c4565b5b600084013567ffffffffffffffff811115614529576145286157bf565b5b6145358682870161411c565b9350935050602061454886828701614278565b9150509250925092565b60008060006040848603121561456b5761456a6157c4565b5b600084013567ffffffffffffffff811115614589576145886157bf565b5b61459586828701614172565b935093505060206145a886828701614278565b9150509250925092565b6000602082840312156145c8576145c76157c4565b5b60006145d6848285016141c8565b91505092915050565b6000602082840312156145f5576145f46157c4565b5b6000614603848285016141dd565b91505092915050565b600060208284031215614622576146216157c4565b5b6000614630848285016141f2565b91505092915050565b60006020828403121561464f5761464e6157c4565b5b600061465d84828501614207565b91505092915050565b60006020828403121561467c5761467b6157c4565b5b600082013567ffffffffffffffff81111561469a576146996157bf565b5b6146a68482850161424a565b91505092915050565b6000602082840312156146c5576146c46157c4565b5b60006146d384828501614278565b91505092915050565b6000602082840312156146f2576146f16157c4565b5b60006147008482850161428d565b91505092915050565b600080604083850312156147205761471f6157c4565b5b600061472e85828601614278565b925050602083013567ffffffffffffffff81111561474f5761474e6157bf565b5b61475b8582860161424a565b9150509250929050565b6000806040838503121561477c5761477b6157c4565b5b600061478a85828601614278565b925050602061479b85828601614278565b9150509250929050565b60006147b18383614d8f565b60208301905092915050565b6147c6816154f5565b82525050565b6147dd6147d8826154f5565b615661565b82525050565b60006147ee82615369565b6147f88185615397565b935061480383615344565b8060005b8381101561483457815161481b88826147a5565b97506148268361538a565b925050600181019050614807565b5085935050505092915050565b61484a81615507565b82525050565b61485981615513565b82525050565b61487061486b82615513565b615673565b82525050565b600061488182615374565b61488b81856153a8565b935061489b818560208601615582565b6148a4816157c9565b840191505092915050565b60006148ba8261537f565b6148c481856153c4565b93506148d4818560208601615582565b6148dd816157c9565b840191505092915050565b60006148f38261537f565b6148fd81856153d5565b935061490d818560208601615582565b80840191505092915050565b60008154614926816155b5565b61493081866153d5565b9450600182166000811461494b576001811461495c5761498f565b60ff1983168652818601935061498f565b61496585615354565b60005b8381101561498757815481890152600182019150602081019050614968565b838801955050505b50505092915050565b60006149a56017836153c4565b91506149b0826157e7565b602082019050919050565b60006149c8603d836153c4565b91506149d382615810565b604082019050919050565b60006149eb6032836153c4565b91506149f68261585f565b604082019050919050565b6000614a0e6026836153c4565b9150614a19826158ae565b604082019050919050565b6000614a31601c836153c4565b9150614a3c826158fd565b602082019050919050565b6000614a54601e836153c4565b9150614a5f82615926565b602082019050919050565b6000614a77601d836153c4565b9150614a828261594f565b602082019050919050565b6000614a9a6024836153c4565b9150614aa582615978565b604082019050919050565b6000614abd6019836153c4565b9150614ac8826159c7565b602082019050919050565b6000614ae0601b836153c4565b9150614aeb826159f0565b602082019050919050565b6000614b03602c836153c4565b9150614b0e82615a19565b604082019050919050565b6000614b26603c836153c4565b9150614b3182615a68565b604082019050919050565b6000614b496038836153c4565b9150614b5482615ab7565b604082019050919050565b6000614b6c602a836153c4565b9150614b7782615b06565b604082019050919050565b6000614b8f6029836153c4565b9150614b9a82615b55565b604082019050919050565b6000614bb26020836153c4565b9150614bbd82615ba4565b602082019050919050565b6000614bd5602c836153c4565b9150614be082615bcd565b604082019050919050565b6000614bf86005836153d5565b9150614c0382615c1c565b600582019050919050565b6000614c1b6015836153c4565b9150614c2682615c45565b602082019050919050565b6000614c3e6020836153c4565b9150614c4982615c6e565b602082019050919050565b6000614c616029836153c4565b9150614c6c82615c97565b604082019050919050565b6000614c846013836153c4565b9150614c8f82615ce6565b602082019050919050565b6000614ca7601b836153c4565b9150614cb282615d0f565b602082019050919050565b6000614cca6021836153c4565b9150614cd582615d38565b604082019050919050565b6000614ced6053836153c4565b9150614cf882615d87565b606082019050919050565b6000614d106000836153b9565b9150614d1b82615dfc565b600082019050919050565b6000614d336031836153c4565b9150614d3e82615dff565b604082019050919050565b6000614d56603a836153c4565b9150614d6182615e4e565b604082019050919050565b6000614d796027836153c4565b9150614d8482615e9d565b604082019050919050565b614d9881615569565b82525050565b614da781615569565b82525050565b6000614db982846147cc565b60148201915081905092915050565b6000614dd4828561485f565b602082019150614de4828461485f565b6020820191508190509392505050565b6000614e008285614919565b9150614e0c82846148e8565b9150614e1782614beb565b91508190509392505050565b6000614e2e82614d03565b9150819050919050565b6000602082019050614e4d60008301846147bd565b92915050565b6000608082019050614e6860008301876147bd565b614e7560208301866147bd565b614e826040830185614d9e565b8181036060830152614e948184614876565b905095945050505050565b6000604082019050614eb460008301856147bd565b614ec16020830184614d9e565b9392505050565b60006020820190508181036000830152614ee281846147e3565b905092915050565b6000602082019050614eff6000830184614841565b92915050565b6000602082019050614f1a6000830184614850565b92915050565b60006020820190508181036000830152614f3a81846148af565b905092915050565b60006020820190508181036000830152614f5b81614998565b9050919050565b60006020820190508181036000830152614f7b816149bb565b9050919050565b60006020820190508181036000830152614f9b816149de565b9050919050565b60006020820190508181036000830152614fbb81614a01565b9050919050565b60006020820190508181036000830152614fdb81614a24565b9050919050565b60006020820190508181036000830152614ffb81614a47565b9050919050565b6000602082019050818103600083015261501b81614a6a565b9050919050565b6000602082019050818103600083015261503b81614a8d565b9050919050565b6000602082019050818103600083015261505b81614ab0565b9050919050565b6000602082019050818103600083015261507b81614ad3565b9050919050565b6000602082019050818103600083015261509b81614af6565b9050919050565b600060208201905081810360008301526150bb81614b19565b9050919050565b600060208201905081810360008301526150db81614b3c565b9050919050565b600060208201905081810360008301526150fb81614b5f565b9050919050565b6000602082019050818103600083015261511b81614b82565b9050919050565b6000602082019050818103600083015261513b81614ba5565b9050919050565b6000602082019050818103600083015261515b81614bc8565b9050919050565b6000602082019050818103600083015261517b81614c0e565b9050919050565b6000602082019050818103600083015261519b81614c31565b9050919050565b600060208201905081810360008301526151bb81614c54565b9050919050565b600060208201905081810360008301526151db81614c77565b9050919050565b600060208201905081810360008301526151fb81614c9a565b9050919050565b6000602082019050818103600083015261521b81614cbd565b9050919050565b6000602082019050818103600083015261523b81614ce0565b9050919050565b6000602082019050818103600083015261525b81614d26565b9050919050565b6000602082019050818103600083015261527b81614d49565b9050919050565b6000602082019050818103600083015261529b81614d6c565b9050919050565b60006020820190506152b76000830184614d9e565b92915050565b60006152c76152d8565b90506152d382826155e7565b919050565b6000604051905090565b600067ffffffffffffffff8211156152fd576152fc61577c565b5b615306826157c9565b9050602081019050919050565b600067ffffffffffffffff82111561532e5761532d61577c565b5b615337826157c9565b9050602081019050919050565b6000819050602082019050919050565b60008190508160005260206000209050919050565b600081519050919050565b600081519050919050565b600081519050919050565b6000602082019050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b600081905092915050565b60006153eb82615569565b91506153f683615569565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561542b5761542a6156c0565b5b828201905092915050565b600061544182615569565b915061544c83615569565b92508261545c5761545b6156ef565b5b828204905092915050565b600061547282615569565b915061547d83615569565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156154b6576154b56156c0565b5b828202905092915050565b60006154cc82615569565b91506154d783615569565b9250828210156154ea576154e96156c0565b5b828203905092915050565b600061550082615549565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b838110156155a0578082015181840152602081019050615585565b838111156155af576000848401525b50505050565b600060028204905060018216806155cd57607f821691505b602082108114156155e1576155e061571e565b5b50919050565b6155f0826157c9565b810181811067ffffffffffffffff8211171561560f5761560e61577c565b5b80604052505050565b600061562382615569565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415615656576156556156c0565b5b600182019050919050565b600061566c8261567d565b9050919050565b6000819050919050565b6000615688826157da565b9050919050565b600061569a82615569565b91506156a583615569565b9250826156b5576156b46156ef565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b60008160601b9050919050565b7f57686974656c697374206973206e6f7420616374697665000000000000000000600082015250565b7f547279696e6720746f20636c61696d206120746f6b656e20796f7520646f6e2760008201527f74206f776e206f7220617274696661637420636c61696d656420796574000000602082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f536f72727920796f752063616e2774206d696e74207269676874206e6f770000600082015250565b7f43616e2774207769746864726177206f6e20626c61636b20686f6c652e000000600082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f416d6f756e742073686f756c64206265206174206c6561737420310000000000600082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f43616e27742062757920626563617573652073616c65206973206e6f7420616360008201527f74697665206f72207472696265206973206e6f742073656c6c696e6700000000602082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f2e6a736f6e000000000000000000000000000000000000000000000000000000600082015250565b7f43616e27742075736520626c61636b20686f6c652e0000000000000000000000600082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b7f4d617820616d6f756e7420726561636865642e00000000000000000000000000600082015250565b7f726563697069656e74206661696c656420746f20726563656976650000000000600082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b7f596f7520646f6e2774206f776e20616e792061727469666163742c20796f752760008201527f7265206120636f6e7472616374206f7220747279696e6720746f20636c61696d60208201527f20616e20756e616c6c6f77656420747269626500000000000000000000000000604082015250565b50565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f416d6f756e742073686f756c64206265206174206c65617374203120616e642060008201527f6d757374206265206c657373206f7220657175616c20746f2033000000000000602082015250565b7f41736b696e6720726f79616c7469657320666f72206e6f6e2d6578697374656e60008201527f7420746f6b656e00000000000000000000000000000000000000000000000000602082015250565b615ef5816154f5565b8114615f0057600080fd5b50565b615f0c81615507565b8114615f1757600080fd5b50565b615f2381615513565b8114615f2e57600080fd5b50565b615f3a8161551d565b8114615f4557600080fd5b50565b615f5181615569565b8114615f5c57600080fd5b5056fea264697066735822122037ea3f9910f810c159b02f489e40d44aa4abe609bb2de46638e29a8d9fce32b064736f6c63430008060033

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

00000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000e000000000000000000000000000000000000000000000000000000000000001200000000000000000000000002a8555f5cd838356295637b336c90368ea1ed995000000000000000000000000f62c04fb8b3ecd1fb43bb791fd80008cccbe2406000000000000000000000000000000000000000000000000000000000000000e54686520456e6368616e746564730000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000007454e4348544453000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000

-----Decoded View---------------
Arg [0] : _name (string): The Enchanteds
Arg [1] : _ticker (string): ENCHTDS
Arg [2] : _contract_ipfs (string):
Arg [3] : _artifactAddress (address): 0x2A8555f5cd838356295637b336C90368EA1ED995
Arg [4] : _gnosis_vault (address): 0xF62C04Fb8B3EcD1FB43bB791FD80008CccBe2406

-----Encoded View---------------
10 Constructor Arguments found :
Arg [0] : 00000000000000000000000000000000000000000000000000000000000000a0
Arg [1] : 00000000000000000000000000000000000000000000000000000000000000e0
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000120
Arg [3] : 0000000000000000000000002a8555f5cd838356295637b336c90368ea1ed995
Arg [4] : 000000000000000000000000f62c04fb8b3ecd1fb43bb791fd80008cccbe2406
Arg [5] : 000000000000000000000000000000000000000000000000000000000000000e
Arg [6] : 54686520456e6368616e74656473000000000000000000000000000000000000
Arg [7] : 0000000000000000000000000000000000000000000000000000000000000007
Arg [8] : 454e434854445300000000000000000000000000000000000000000000000000
Arg [9] : 0000000000000000000000000000000000000000000000000000000000000000


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

The Enchanteds are magical beings of the Enchanted Valley living on the blockchain. These digital avatars are randomly generated from a record-breaking ~1500 traits, across 5 drops of 2200 NFTS each.

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
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.