ETH Price: $3,081.53 (-6.38%)
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Set Approval For...195517332024-03-31 5:14:11307 days ago1711862051IN
0xa1D7Ce6E...Cc6Bfa3cF
0 ETH0.0008847618.9545627
Set Approval For...170672562023-04-17 15:03:35656 days ago1681743815IN
0xa1D7Ce6E...Cc6Bfa3cF
0 ETH0.0042151890.30344614
Set Approval For...163079922022-12-31 23:20:35763 days ago1672528835IN
0xa1D7Ce6E...Cc6Bfa3cF
0 ETH0.0007520716.08719728
Set Approval For...158035502022-10-22 12:08:23833 days ago1666440503IN
0xa1D7Ce6E...Cc6Bfa3cF
0 ETH0.0004491618.0751304
Safe Transfer Fr...158000362022-10-22 0:23:47834 days ago1666398227IN
0xa1D7Ce6E...Cc6Bfa3cF
0 ETH0.0011539120.56890388
Safe Transfer Fr...158000362022-10-22 0:23:47834 days ago1666398227IN
0xa1D7Ce6E...Cc6Bfa3cF
0 ETH0.0012526420.56890388
Safe Transfer Fr...158000362022-10-22 0:23:47834 days ago1666398227IN
0xa1D7Ce6E...Cc6Bfa3cF
0 ETH0.0016043720.56890388
Set Approval For...158000352022-10-22 0:23:23834 days ago1666398203IN
0xa1D7Ce6E...Cc6Bfa3cF
0 ETH0.0009234519.7480308
Set Approval For...153691132022-08-19 3:57:04898 days ago1660881424IN
0xa1D7Ce6E...Cc6Bfa3cF
0 ETH0.0004680110.02649135
Set Approval For...152005482022-07-23 18:39:38924 days ago1658601578IN
0xa1D7Ce6E...Cc6Bfa3cF
0 ETH0.0006976714.94653381
Transfer From150844162022-07-05 19:21:57942 days ago1657048917IN
0xa1D7Ce6E...Cc6Bfa3cF
0 ETH0.0018143230.93326285
Transfer From150292022022-06-26 13:30:01951 days ago1656250201IN
0xa1D7Ce6E...Cc6Bfa3cF
0 ETH0.0016886236.42958912
Transfer From145529822022-04-09 17:49:581029 days ago1649526598IN
0xa1D7Ce6E...Cc6Bfa3cF
0 ETH0.0022255935.07469476
Set Fused Data143039962022-03-01 23:03:071068 days ago1646175787IN
0xa1D7Ce6E...Cc6Bfa3cF
0 ETH0.0053814573.05305163
Burn And Fuse143023712022-03-01 17:02:181068 days ago1646154138IN
0xa1D7Ce6E...Cc6Bfa3cF
0 ETH0.0077407177.41416224
Transfer From142957692022-02-28 16:40:131069 days ago1646066413IN
0xa1D7Ce6E...Cc6Bfa3cF
0 ETH0.0025195554.35575617
Burn And Fuse142903882022-02-27 20:26:111070 days ago1645993571IN
0xa1D7Ce6E...Cc6Bfa3cF
0 ETH0.0051722351.72704616
Transfer From142892702022-02-27 16:16:551070 days ago1645978615IN
0xa1D7Ce6E...Cc6Bfa3cF
0 ETH0.0014927332.21189372
Transfer From142852152022-02-27 1:19:481071 days ago1645924788IN
0xa1D7Ce6E...Cc6Bfa3cF
0 ETH0.0023617150.96380763
Set Fused Data141401542022-02-04 14:52:201093 days ago1643986340IN
0xa1D7Ce6E...Cc6Bfa3cF
0 ETH0.00736749100.0135182
Burn And Fuse141399432022-02-04 14:01:461093 days ago1643983306IN
0xa1D7Ce6E...Cc6Bfa3cF
0 ETH0.01310721131.08396715
Set Fused Data141354052022-02-03 21:21:131094 days ago1643923273IN
0xa1D7Ce6E...Cc6Bfa3cF
0 ETH0.01774247240.85352086
Burn And Fuse141352322022-02-03 20:37:261094 days ago1643920646IN
0xa1D7Ce6E...Cc6Bfa3cF
0 ETH0.01352631135.27537056
Claim One Of One...141295042022-02-02 23:11:471095 days ago1643843507IN
0xa1D7Ce6E...Cc6Bfa3cF
0 ETH0.01350525121.75562927
Burn And Fuse141293022022-02-02 22:27:171095 days ago1643840837IN
0xa1D7Ce6E...Cc6Bfa3cF
0 ETH0.01814057181.42209116
View all transactions

Latest 25 internal transactions (View All)

Advanced mode:
Parent Transaction Hash Block
From
To
141090682022-01-30 19:31:341098 days ago1643571094
0xa1D7Ce6E...Cc6Bfa3cF
0.15 ETH
141090392022-01-30 19:25:531098 days ago1643570753
0xa1D7Ce6E...Cc6Bfa3cF
0.3 ETH
141090342022-01-30 19:24:361098 days ago1643570676
0xa1D7Ce6E...Cc6Bfa3cF
0.15 ETH
141090332022-01-30 19:24:321098 days ago1643570672
0xa1D7Ce6E...Cc6Bfa3cF
0.3 ETH
141090302022-01-30 19:23:151098 days ago1643570595
0xa1D7Ce6E...Cc6Bfa3cF
0.15 ETH
141090272022-01-30 19:23:011098 days ago1643570581
0xa1D7Ce6E...Cc6Bfa3cF
0.3 ETH
141090232022-01-30 19:22:201098 days ago1643570540
0xa1D7Ce6E...Cc6Bfa3cF
0.15 ETH
141090202022-01-30 19:21:531098 days ago1643570513
0xa1D7Ce6E...Cc6Bfa3cF
0.3 ETH
141090192022-01-30 19:21:461098 days ago1643570506
0xa1D7Ce6E...Cc6Bfa3cF
0.3 ETH
141090042022-01-30 19:17:431098 days ago1643570263
0xa1D7Ce6E...Cc6Bfa3cF
0.15 ETH
141090042022-01-30 19:17:431098 days ago1643570263
0xa1D7Ce6E...Cc6Bfa3cF
0.3 ETH
141089802022-01-30 19:11:491098 days ago1643569909
0xa1D7Ce6E...Cc6Bfa3cF
0.3 ETH
141089252022-01-30 18:57:441098 days ago1643569064
0xa1D7Ce6E...Cc6Bfa3cF
0.15 ETH
141089252022-01-30 18:57:441098 days ago1643569064
0xa1D7Ce6E...Cc6Bfa3cF
0.15 ETH
141088992022-01-30 18:51:031098 days ago1643568663
0xa1D7Ce6E...Cc6Bfa3cF
0.15 ETH
141088952022-01-30 18:49:421098 days ago1643568582
0xa1D7Ce6E...Cc6Bfa3cF
0.3 ETH
141088892022-01-30 18:47:541098 days ago1643568474
0xa1D7Ce6E...Cc6Bfa3cF
0.15 ETH
141088762022-01-30 18:45:151098 days ago1643568315
0xa1D7Ce6E...Cc6Bfa3cF
0.15 ETH
141088562022-01-30 18:42:001098 days ago1643568120
0xa1D7Ce6E...Cc6Bfa3cF
0.15 ETH
141088502022-01-30 18:41:001098 days ago1643568060
0xa1D7Ce6E...Cc6Bfa3cF
0.15 ETH
141088412022-01-30 18:38:391098 days ago1643567919
0xa1D7Ce6E...Cc6Bfa3cF
0.15 ETH
141088282022-01-30 18:35:191098 days ago1643567719
0xa1D7Ce6E...Cc6Bfa3cF
0.15 ETH
141088262022-01-30 18:35:101098 days ago1643567710
0xa1D7Ce6E...Cc6Bfa3cF
0.15 ETH
141088232022-01-30 18:34:291098 days ago1643567669
0xa1D7Ce6E...Cc6Bfa3cF
0.3 ETH
141087702022-01-30 18:22:151098 days ago1643566935
0xa1D7Ce6E...Cc6Bfa3cF
0.15 ETH
View All Internal Transactions
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
Segmented

Compiler Version
v0.8.4+commit.c7e474f2

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 18 : Segmented.sol
// SPDX-License-Identifier: MIT
//Contract based on [https://docs.openzeppelin.com/contracts/3.x/erc721](https://docs.openzeppelin.com/contracts/3.x/erc721)

pragma solidity ^0.8.4;

/*


 .oooooo..o                                                                  .                   .o8  
d8P'    `Y8                                                                .o8                  "888  
Y88bo.       .ooooo.   .oooooooo ooo. .oo.  .oo.    .ooooo.  ooo. .oo.   .o888oo  .ooooo.   .oooo888  
 `"Y8888o.  d88' `88b 888' `88b  `888P"Y88bP"Y88b  d88' `88b `888P"Y88b    888   d88' `88b d88' `888  
     `"Y88b 888ooo888 888   888   888   888   888  888ooo888  888   888    888   888ooo888 888   888  
oo     .d8P 888    .o `88bod8P'   888   888   888  888    .o  888   888    888 . 888    .o 888   888  
8""88888P'  `Y8bod8P' `8oooooo.  o888o o888o o888o `Y8bod8P' o888o o888o   "888" `Y8bod8P' `Y8bod88P" 
                      d"     YD                                                                       
                      "Y88888P'                                                                       
                                                                                                                                                                                                             
                                                                                                                  

*/

import "@openzeppelin/contracts/token/ERC721/extensions/ERC721URIStorage.sol";
import "@openzeppelin/contracts/interfaces/IERC2981.sol";

import "@openzeppelin/contracts/access/Ownable.sol";

import "@openzeppelin/contracts/utils/Counters.sol";
import "@openzeppelin/contracts/access/AccessControl.sol";
import "@openzeppelin/contracts/utils/Strings.sol";
import "@openzeppelin/contracts/utils/math/SafeMath.sol";

contract Segmented is ERC721URIStorage, IERC2981, Ownable, AccessControl {
    using Counters for Counters.Counter;
    using Strings for uint256;

    Counters.Counter private tokenCounter;
    bytes32 public constant MANAGER_ROLE = keccak256("MANAGER_ROLE");

    string private baseURI;

    address private ownerAddress = 0x437381F8798a55a5695Ea7F0756c5a6cD7eCA566;
    address private managerAddress = 0xa7E458A1b32070387e7548063E1F5e7f3982E6D1;

    address private openSeaProxyRegistryAddress;
    bool private isOpenSeaProxyActive = true;

    uint256 public constant MAX_SEGMENTS_PER_WALLET = 2;
    // TODO: add real maxSegments
    uint256 public constant maxSegments = 91;

    // TODO set price to 0.15
    uint256 public constant SALE_PRICE = 0.15 ether;
    
    bool public isPublicSaleActive;
    bool public isFamSaleActive;

    // The winner of the auction has claimed the One of Ones
    bool public hasMintedOneOfOneSegments;

    mapping(address => bool) public allowList;

    struct TokenDataBase {
        uint tokenId;
        uint set;
        uint number;
    }
    
    struct TokenData {
        uint set;
        uint number;
    }

    mapping (uint => TokenData) public tokenDataMap;


    // ============ ACCESS CONTROL/SANITY MODIFIERS ============

    modifier publicSaleActive() {
        require(isPublicSaleActive, "Public sale is not open");
        _;
    }

    modifier famSaleActive() {
        require(isFamSaleActive, "PreMint is not open");
        _;
    }

    modifier allowListAddress(address messageSender) {
        require(allowList[messageSender], "You're not on the Pre Sale List");
        _;
    }

    modifier maxSegmentsPerWallet(uint256 numberOfTokens) {
        require(
            msg.sender == ownerAddress || balanceOf(msg.sender) + numberOfTokens <= MAX_SEGMENTS_PER_WALLET,
            "Max segments to mint is two"
        );
        _;
    }

    // TODO might have to update this
    modifier canMintSegments(uint256 numberOfTokens) {
        require(
            tokenCounter.current() + numberOfTokens <=
                maxSegments,
            "Not enough Segments remaining to mint"
        );
        _;
    }

    modifier isCorrectPayment(uint256 price, uint256 numberOfTokens) {
        require(
            price * numberOfTokens == msg.value || msg.sender == ownerAddress,
            "Incorrect ETH value sent"
        );
        _;
    }

    modifier isOwnerOfTokenOne(uint tokenId, address messageSender) {
        require(tokenId == 1 && ownerOf(tokenId) == messageSender, "Not allowed");
        _;
    }

    modifier oneOfOneSegmentsMinted() {
        require(!hasMintedOneOfOneSegments, "One of One segments have already been minted");
        _;
    }
    
    // TODO: Add openseaProxyRegistryAddress a la 
    // https://etherscan.io/address/0x5180db8f5c931aae63c74266b211f580155ecac8#code
    constructor(
        address _openSeaProxyRegistryAddress
    ) ERC721("Segmented", "SGMNT") {
        openSeaProxyRegistryAddress = _openSeaProxyRegistryAddress;
        _setupRole(DEFAULT_ADMIN_ROLE, msg.sender);
        grantRole(MANAGER_ROLE, msg.sender);
        grantRole(MANAGER_ROLE, managerAddress);
    }
    // TODO: add isCorrectPayment
    // isCorrectPayment(SALE_PRICE, numberOfTokens)
    // add payable to dane
    // https://stackoverflow.com/questions/69268578/how-to-send-eth-directly-from-erc721-openzeppelin-contract-to-the-paymentsplit
    // ============ PUBLIC FUNCTIONS FOR MINTING ============
    function mint(uint256 numberOfTokens)
        external
        payable
        publicSaleActive
        canMintSegments(numberOfTokens)
        maxSegmentsPerWallet(numberOfTokens)
        isCorrectPayment(SALE_PRICE, numberOfTokens)
    {
        payable(address(ownerAddress)).transfer(msg.value);

        for (uint256 i = 0; i < numberOfTokens; i++) {
            _safeMint(msg.sender, nextTokenId());
        }
    }

    function famMint(uint256 numberOfTokens)
        external
        payable
        famSaleActive
        allowListAddress(msg.sender)
        canMintSegments(numberOfTokens)
        maxSegmentsPerWallet(numberOfTokens)
        isCorrectPayment(SALE_PRICE, numberOfTokens)
    {
        payable(address(ownerAddress)).transfer(msg.value);

        for (uint256 i = 0; i < numberOfTokens; i++) {
            _safeMint(msg.sender, nextTokenId());
        }
    }

    function artistMint(uint256 numberOfTokens)
        external
        onlyOwner
    {
        for (uint256 i = 0; i < numberOfTokens; i++) {
            _safeMint(ownerAddress, nextTokenId());
        }
        
    }

    // TODO: test this
    function claimOneOfOneSegments(uint tokenId)
        external
        isOwnerOfTokenOne(tokenId, msg.sender)
    {
            for (uint256 i = 102; i <= 104; i++) {
                _safeMint(msg.sender, i);
            }
            hasMintedOneOfOneSegments = true;
    }

    function burnAndFuse(uint[] calldata tokenIdArray) 
        external
    {
        // Ensure three tokens are in array
        require(tokenIdArray.length == 3, "Fusing requires three segments");
        // ensure all tokens are owned by msg.sender
        require(msg.sender == ownerOf(tokenIdArray[0]) && ownerOf(tokenIdArray[0]) == ownerOf(tokenIdArray[1]) && ownerOf(tokenIdArray[1]) == ownerOf(tokenIdArray[2]), "You must own all three segments");
        // ensure all tokens are in same set, set Set name
        require(tokenDataMap[tokenIdArray[0]].set == tokenDataMap[tokenIdArray[1]].set && tokenDataMap[tokenIdArray[1]].set == tokenDataMap[tokenIdArray[2]].set, "All Segments must be from the same set");
        // ensure all tokens are different and represent all numbers
        require(tokenDataMap[tokenIdArray[0]].number + tokenDataMap[tokenIdArray[1]].number + tokenDataMap[tokenIdArray[2]].number == 6, "All tokens from the Set need to be included");
        // burn segments
        for (uint i = 0; i < tokenIdArray.length; i++) {
            _burn(tokenIdArray[i]);
        }
        // mint fused piece
        _safeMint(msg.sender, tokenDataMap[tokenIdArray[0]].set);
        // emit fused piece created

    }

    // ============ PUBLIC READ-ONLY FUNCTIONS ============

    function getBaseURI() external view returns (string memory) {
        return baseURI;
    }

    function getLastTokenId() external view returns (uint256) {
        return tokenCounter.current();
    }

    // ============ MANAGER-ONLY ADMIN FUNCTIONS ============
    function setBaseURI(string memory _baseURI) public onlyRole(MANAGER_ROLE) {
        baseURI = _baseURI;
    }

    function allowListUser(address[] calldata userList) public onlyRole(MANAGER_ROLE) {
        for (uint256 i = 0; i < userList.length; i++) {
            allowList[userList[i]] = true;
        }
    }

    // This is the function that creates the mapping of tokenId => tokenDataMap struct
    function setFusedData(TokenDataBase[] calldata tokenDataArray) public onlyRole(MANAGER_ROLE) {
        for (uint i = 0; i < tokenDataArray.length; i++) {
                tokenDataMap[tokenDataArray[i].tokenId].set =tokenDataArray[i].set;
                tokenDataMap[tokenDataArray[i].tokenId].number =tokenDataArray[i].number;
        }
    }

    // function to disable gasless listings for security in case
    // opensea ever shuts down or is compromised
    function setIsOpenSeaProxyActive(bool _isOpenSeaProxyActive)
        external
        onlyOwner
    {
        isOpenSeaProxyActive = _isOpenSeaProxyActive;
    }

    function setIsPublicSaleActive(bool _isPublicSaleActive)
        external
        onlyRole(MANAGER_ROLE)
    {
        isPublicSaleActive = _isPublicSaleActive;
    }

    function setIsFamSaleActive(bool _isFamSaleActive)
        external
        onlyRole(MANAGER_ROLE)
    {
        isFamSaleActive = _isFamSaleActive;
    }

    // ============ SUPPORTING FUNCTIONS ============

    function nextTokenId() private returns (uint256) {
        tokenCounter.increment();
        return tokenCounter.current();
    }

    // ============ FUNCTION OVERRIDES ============

    function supportsInterface(bytes4 interfaceId)
        public
        view
        virtual
        override(ERC721, IERC165, AccessControl)
        returns (bool)
    {
        return
            interfaceId == type(IERC2981).interfaceId ||
            super.supportsInterface(interfaceId);
    }
/**
     * @dev Override isApprovedForAll to allowlist user's OpenSea proxy accounts to enable gas-less listings.
     */
    function isApprovedForAll(address owner, address operator)
        public
        view
        override
        returns (bool)
    {
        // Get a reference to OpenSea's proxy registry contract by instantiating
        // the contract using the already existing address.
        ProxyRegistry proxyRegistry = ProxyRegistry(
            openSeaProxyRegistryAddress
        );
        if (
            isOpenSeaProxyActive &&
            address(proxyRegistry.proxies(owner)) == operator
        ) {
            return true;
        }

        return super.isApprovedForAll(owner, operator);
    }

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

        return
            string(abi.encodePacked(baseURI, "/", tokenId.toString(), ".json"));
    }

    /**
     * @dev See {IERC165-royaltyInfo}.
     */
    function royaltyInfo(uint256 tokenId, uint256 salePrice)
        external
        view
        override
        returns (address receiver, uint256 royaltyAmount)
    {
        require(_exists(tokenId), "Nonexistent token");

        return (address(ownerAddress), SafeMath.div(SafeMath.mul(salePrice, 10), 100));
    }
}

// These contract definitions are used to create a reference to the OpenSea
// ProxyRegistry contract by using the registry's address (see isApprovedForAll).
contract OwnableDelegateProxy {

}

contract ProxyRegistry {
    mapping(address => OwnableDelegateProxy) public proxies;
}

File 2 of 18 : ERC721URIStorage.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/ERC721URIStorage.sol)

pragma solidity ^0.8.0;

import "../ERC721.sol";

/**
 * @dev ERC721 token with storage based token URI management.
 */
abstract contract ERC721URIStorage is ERC721 {
    using Strings for uint256;

    // Optional mapping for token URIs
    mapping(uint256 => string) private _tokenURIs;

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

        string memory _tokenURI = _tokenURIs[tokenId];
        string memory base = _baseURI();

        // If there is no base URI, return the token URI.
        if (bytes(base).length == 0) {
            return _tokenURI;
        }
        // If both are set, concatenate the baseURI and tokenURI (via abi.encodePacked).
        if (bytes(_tokenURI).length > 0) {
            return string(abi.encodePacked(base, _tokenURI));
        }

        return super.tokenURI(tokenId);
    }

    /**
     * @dev Sets `_tokenURI` as the tokenURI of `tokenId`.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function _setTokenURI(uint256 tokenId, string memory _tokenURI) internal virtual {
        require(_exists(tokenId), "ERC721URIStorage: URI set of nonexistent token");
        _tokenURIs[tokenId] = _tokenURI;
    }

    /**
     * @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 override {
        super._burn(tokenId);

        if (bytes(_tokenURIs[tokenId]).length != 0) {
            delete _tokenURIs[tokenId];
        }
    }
}

File 3 of 18 : IERC2981.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (interfaces/IERC2981.sol)

pragma solidity ^0.8.0;

import "./IERC165.sol";

/**
 * @dev Interface for the NFT Royalty Standard
 */
interface IERC2981 is IERC165 {
    /**
     * @dev 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 4 of 18 : Ownable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (access/Ownable.sol)

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() {
        _transferOwnership(_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 {
        _transferOwnership(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");
        _transferOwnership(newOwner);
    }

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     * Internal function without access restriction.
     */
    function _transferOwnership(address newOwner) internal virtual {
        address oldOwner = _owner;
        _owner = newOwner;
        emit OwnershipTransferred(oldOwner, newOwner);
    }
}

File 5 of 18 : Counters.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Counters.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

File 6 of 18 : AccessControl.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (access/AccessControl.sol)

pragma solidity ^0.8.0;

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

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

    mapping(bytes32 => RoleData) private _roles;

    bytes32 public constant DEFAULT_ADMIN_ROLE = 0x00;

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

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

    /**
     * @dev Returns `true` if `account` has been granted `role`.
     */
    function hasRole(bytes32 role, address account) public view override returns (bool) {
        return _roles[role].members[account];
    }

    /**
     * @dev Revert with a standard message if `account` is missing `role`.
     *
     * The format of the revert reason is given by the following regular expression:
     *
     *  /^AccessControl: account (0x[0-9a-f]{40}) is missing role (0x[0-9a-f]{64})$/
     */
    function _checkRole(bytes32 role, address account) internal view {
        if (!hasRole(role, account)) {
            revert(
                string(
                    abi.encodePacked(
                        "AccessControl: account ",
                        Strings.toHexString(uint160(account), 20),
                        " is missing role ",
                        Strings.toHexString(uint256(role), 32)
                    )
                )
            );
        }
    }

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

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

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

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

        _revokeRole(role, account);
    }

    /**
     * @dev Grants `role` to `account`.
     *
     * If `account` had not been already granted `role`, emits a {RoleGranted}
     * event. Note that unlike {grantRole}, this function doesn't perform any
     * checks on the calling account.
     *
     * [WARNING]
     * ====
     * This function should only be called from the constructor when setting
     * up the initial roles for the system.
     *
     * Using this function in any other way is effectively circumventing the admin
     * system imposed by {AccessControl}.
     * ====
     *
     * NOTE: This function is deprecated in favor of {_grantRole}.
     */
    function _setupRole(bytes32 role, address account) internal virtual {
        _grantRole(role, account);
    }

    /**
     * @dev Sets `adminRole` as ``role``'s admin role.
     *
     * Emits a {RoleAdminChanged} event.
     */
    function _setRoleAdmin(bytes32 role, bytes32 adminRole) internal virtual {
        bytes32 previousAdminRole = getRoleAdmin(role);
        _roles[role].adminRole = adminRole;
        emit RoleAdminChanged(role, previousAdminRole, adminRole);
    }

    /**
     * @dev Grants `role` to `account`.
     *
     * Internal function without access restriction.
     */
    function _grantRole(bytes32 role, address account) internal virtual {
        if (!hasRole(role, account)) {
            _roles[role].members[account] = true;
            emit RoleGranted(role, account, _msgSender());
        }
    }

    /**
     * @dev Revokes `role` from `account`.
     *
     * Internal function without access restriction.
     */
    function _revokeRole(bytes32 role, address account) internal virtual {
        if (hasRole(role, account)) {
            _roles[role].members[account] = false;
            emit RoleRevoked(role, account, _msgSender());
        }
    }
}

File 7 of 18 : Strings.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Strings.sol)

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 18 : SafeMath.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/math/SafeMath.sol)

pragma solidity ^0.8.0;

// CAUTION
// This version of SafeMath should only be used with Solidity 0.8 or later,
// because it relies on the compiler's built in overflow checks.

/**
 * @dev Wrappers over Solidity's arithmetic operations.
 *
 * NOTE: `SafeMath` is generally not needed starting with Solidity 0.8, since the compiler
 * now has built in overflow checking.
 */
library SafeMath {
    /**
     * @dev Returns the addition of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            uint256 c = a + b;
            if (c < a) return (false, 0);
            return (true, c);
        }
    }

    /**
     * @dev Returns the substraction of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b > a) return (false, 0);
            return (true, a - b);
        }
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            // Gas optimization: this is cheaper than requiring 'a' not being zero, but the
            // benefit is lost if 'b' is also tested.
            // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522
            if (a == 0) return (true, 0);
            uint256 c = a * b;
            if (c / a != b) return (false, 0);
            return (true, c);
        }
    }

    /**
     * @dev Returns the division of two unsigned integers, with a division by zero flag.
     *
     * _Available since v3.4._
     */
    function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b == 0) return (false, 0);
            return (true, a / b);
        }
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag.
     *
     * _Available since v3.4._
     */
    function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b == 0) return (false, 0);
            return (true, a % b);
        }
    }

    /**
     * @dev Returns the addition of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `+` operator.
     *
     * Requirements:
     *
     * - Addition cannot overflow.
     */
    function add(uint256 a, uint256 b) internal pure returns (uint256) {
        return a + b;
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting on
     * overflow (when the result is negative).
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     *
     * - Subtraction cannot overflow.
     */
    function sub(uint256 a, uint256 b) internal pure returns (uint256) {
        return a - b;
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `*` operator.
     *
     * Requirements:
     *
     * - Multiplication cannot overflow.
     */
    function mul(uint256 a, uint256 b) internal pure returns (uint256) {
        return a * b;
    }

    /**
     * @dev Returns the integer division of two unsigned integers, reverting on
     * division by zero. The result is rounded towards zero.
     *
     * Counterpart to Solidity's `/` operator.
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function div(uint256 a, uint256 b) internal pure returns (uint256) {
        return a / b;
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * reverting when dividing by zero.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function mod(uint256 a, uint256 b) internal pure returns (uint256) {
        return a % b;
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting with custom message on
     * overflow (when the result is negative).
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {trySub}.
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     *
     * - Subtraction cannot overflow.
     */
    function sub(
        uint256 a,
        uint256 b,
        string memory errorMessage
    ) internal pure returns (uint256) {
        unchecked {
            require(b <= a, errorMessage);
            return a - b;
        }
    }

    /**
     * @dev Returns the integer division of two unsigned integers, reverting with custom message on
     * division by zero. The result is rounded towards zero.
     *
     * Counterpart to Solidity's `/` operator. Note: this function uses a
     * `revert` opcode (which leaves remaining gas untouched) while Solidity
     * uses an invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function div(
        uint256 a,
        uint256 b,
        string memory errorMessage
    ) internal pure returns (uint256) {
        unchecked {
            require(b > 0, errorMessage);
            return a / b;
        }
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * reverting with custom message when dividing by zero.
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {tryMod}.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function mod(
        uint256 a,
        uint256 b,
        string memory errorMessage
    ) internal pure returns (uint256) {
        unchecked {
            require(b > 0, errorMessage);
            return a % b;
        }
    }
}

File 9 of 18 : ERC721.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC721/ERC721.sol)

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 {
        _setApprovalForAll(_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 Approve `operator` to operate on all of `owner` tokens
     *
     * Emits a {ApprovalForAll} event.
     */
    function _setApprovalForAll(
        address owner,
        address operator,
        bool approved
    ) internal virtual {
        require(owner != operator, "ERC721: approve to caller");
        _operatorApprovals[owner][operator] = approved;
        emit ApprovalForAll(owner, operator, approved);
    }

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

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

File 10 of 18 : IERC721.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721.sol)

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 11 of 18 : IERC721Receiver.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721Receiver.sol)

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 18 : IERC721Metadata.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Metadata.sol)

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 13 of 18 : Address.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Address.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

File 14 of 18 : Context.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Context.sol)

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 15 of 18 : ERC165.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol)

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 16 of 18 : IERC165.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol)

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 17 of 18 : IERC165.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (interfaces/IERC165.sol)

pragma solidity ^0.8.0;

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

File 18 of 18 : IAccessControl.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (access/IAccessControl.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"_openSeaProxyRegistryAddress","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":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"previousAdminRole","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"newAdminRole","type":"bytes32"}],"name":"RoleAdminChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleGranted","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleRevoked","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"DEFAULT_ADMIN_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MANAGER_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_SEGMENTS_PER_WALLET","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"SALE_PRICE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"allowList","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"userList","type":"address[]"}],"name":"allowListUser","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"numberOfTokens","type":"uint256"}],"name":"artistMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"tokenIdArray","type":"uint256[]"}],"name":"burnAndFuse","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"claimOneOfOneSegments","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"numberOfTokens","type":"uint256"}],"name":"famMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getBaseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getLastTokenId","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"}],"name":"getRoleAdmin","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"grantRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"hasMintedOneOfOneSegments","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"hasRole","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isFamSaleActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isPublicSaleActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSegments","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"numberOfTokens","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"renounceRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"revokeRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"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":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_baseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"components":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"uint256","name":"set","type":"uint256"},{"internalType":"uint256","name":"number","type":"uint256"}],"internalType":"struct Segmented.TokenDataBase[]","name":"tokenDataArray","type":"tuple[]"}],"name":"setFusedData","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_isFamSaleActive","type":"bool"}],"name":"setIsFamSaleActive","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_isOpenSeaProxyActive","type":"bool"}],"name":"setIsOpenSeaProxyActive","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_isPublicSaleActive","type":"bool"}],"name":"setIsPublicSaleActive","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":"","type":"uint256"}],"name":"tokenDataMap","outputs":[{"internalType":"uint256","name":"set","type":"uint256"},{"internalType":"uint256","name":"number","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"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"}]

608060405273437381f8798a55a5695ea7f0756c5a6cd7eca566600b60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555073a7e458a1b32070387e7548063e1f5e7f3982e6d1600c60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506001600d60146101000a81548160ff021916908315150217905550348015620000d657600080fd5b5060405162006c4e38038062006c4e8339818101604052810190620000fc9190620009e3565b6040518060400160405280600981526020017f5365676d656e74656400000000000000000000000000000000000000000000008152506040518060400160405280600581526020017f53474d4e540000000000000000000000000000000000000000000000000000008152508160009080519060200190620001809291906200091c565b508060019080519060200190620001999291906200091c565b505050620001bc620001b06200029f60201b60201c565b620002a760201b60201c565b80600d60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550620002126000801b336200036d60201b60201c565b620002447f241ecf16d79d0f8dbfb92cbc07fe17840425976cf0667f022fe9877caa831b08336200038360201b60201c565b620002987f241ecf16d79d0f8dbfb92cbc07fe17840425976cf0667f022fe9877caa831b08600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff166200038360201b60201c565b5062000e46565b600033905090565b6000600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6200037f8282620003cc60201b60201c565b5050565b6200039482620004be60201b60201c565b620003b581620003a96200029f60201b60201c565b620004de60201b60201c565b620003c78383620003cc60201b60201c565b505050565b620003de8282620005a260201b60201c565b620004ba5760016008600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055506200045f6200029f60201b60201c565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45b5050565b600060086000838152602001908152602001600020600101549050919050565b620004f08282620005a260201b60201c565b6200059e57620005238173ffffffffffffffffffffffffffffffffffffffff1660146200060d60201b620028951760201c565b6200053e8360001c60206200060d60201b620028951760201c565b6040516020016200055192919062000afc565b6040516020818303038152906040526040517f08c379a000000000000000000000000000000000000000000000000000000000815260040162000595919062000b3e565b60405180910390fd5b5050565b60006008600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b60606000600283600262000622919062000c08565b6200062e919062000bab565b67ffffffffffffffff8111156200066e577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015620006a15781602001600182028036833780820191505090505b5090507f30000000000000000000000000000000000000000000000000000000000000008160008151811062000700577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053507f7800000000000000000000000000000000000000000000000000000000000000816001815181106200078b577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a90535060006001846002620007cd919062000c08565b620007d9919062000bab565b90505b6001811115620008cb577f3031323334353637383961626364656600000000000000000000000000000000600f86166010811062000843577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b1a60f81b82828151811062000881577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600485901c945080620008c39062000cdd565b9050620007dc565b506000841462000912576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620009099062000b62565b60405180910390fd5b8091505092915050565b8280546200092a9062000d0c565b90600052602060002090601f0160209004810192826200094e57600085556200099a565b82601f106200096957805160ff19168380011785556200099a565b828001600101855582156200099a579182015b82811115620009995782518255916020019190600101906200097c565b5b509050620009a99190620009ad565b5090565b5b80821115620009c8576000816000905550600101620009ae565b5090565b600081519050620009dd8162000e2c565b92915050565b600060208284031215620009f657600080fd5b600062000a0684828501620009cc565b91505092915050565b600062000a1c8262000b84565b62000a28818562000b8f565b935062000a3a81856020860162000ca7565b62000a458162000da0565b840191505092915050565b600062000a5d8262000b84565b62000a69818562000ba0565b935062000a7b81856020860162000ca7565b80840191505092915050565b600062000a9660208362000b8f565b915062000aa38262000db1565b602082019050919050565b600062000abd60178362000ba0565b915062000aca8262000dda565b601782019050919050565b600062000ae460118362000ba0565b915062000af18262000e03565b601182019050919050565b600062000b098262000aae565b915062000b17828562000a50565b915062000b248262000ad5565b915062000b32828462000a50565b91508190509392505050565b6000602082019050818103600083015262000b5a818462000a0f565b905092915050565b6000602082019050818103600083015262000b7d8162000a87565b9050919050565b600081519050919050565b600082825260208201905092915050565b600081905092915050565b600062000bb88262000c9d565b915062000bc58362000c9d565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111562000bfd5762000bfc62000d42565b5b828201905092915050565b600062000c158262000c9d565b915062000c228362000c9d565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161562000c5e5762000c5d62000d42565b5b828202905092915050565b600062000c768262000c7d565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b60005b8381101562000cc757808201518184015260208101905062000caa565b8381111562000cd7576000848401525b50505050565b600062000cea8262000c9d565b9150600082141562000d015762000d0062000d42565b5b600182039050919050565b6000600282049050600182168062000d2557607f821691505b6020821081141562000d3c5762000d3b62000d71565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000601f19601f8301169050919050565b7f537472696e67733a20686578206c656e67746820696e73756666696369656e74600082015250565b7f416363657373436f6e74726f6c3a206163636f756e7420000000000000000000600082015250565b7f206973206d697373696e6720726f6c6520000000000000000000000000000000600082015250565b62000e378162000c69565b811462000e4357600080fd5b50565b615df88062000e566000396000f3fe6080604052600436106102725760003560e01c80637f205a741161014f578063b78a6a40116100c1578063d547741f1161007a578063d547741f1461096c578063dcb23fae14610995578063e43082f7146109be578063e985e9c5146109e7578063ec87621c14610a24578063f2fde38b14610a4f57610272565b8063b78a6a401461084b578063b88d4fde14610874578063bf113baf1461089d578063c4637480146108c6578063c47f7cf2146108f1578063c87b56dd1461092f57610272565b806395d89b411161011357806395d89b411461076b578063a0712d6814610796578063a1ec4a07146107b2578063a217fddf146107db578063a22cb46514610806578063ae7a4dd71461082f57610272565b80637f205a741461068257806383c4c00d146106ad5780638da5cb5b146106d857806391d1485414610703578063953fc6001461074057610272565b80632f2ff15d116101e85780636352211e116101ac5780636352211e1461057257806370213663146105af57806370a08231146105da578063714c539814610617578063715018a6146106425780637a59fa531461065957610272565b80632f2ff15d146104a357806336568abe146104cc5780633adb1ce0146104f557806342842e0e1461052057806355f804b31461054957610272565b806323b872dd1161023a57806323b872dd14610370578063248a9ca314610399578063279c23f1146103d65780632848aeaf146103ff57806328cad13d1461043c5780632a55205a1461046557610272565b806301ffc9a71461027757806306fdde03146102b4578063081812fc146102df578063095ea7b31461031c5780631e84c41314610345575b600080fd5b34801561028357600080fd5b5061029e600480360381019061029991906144d9565b610a78565b6040516102ab9190614cdf565b60405180910390f35b3480156102c057600080fd5b506102c9610af2565b6040516102d69190614d15565b60405180910390f35b3480156102eb57600080fd5b5061030660048036038101906103019190614595565b610b84565b6040516103139190614c4f565b60405180910390f35b34801561032857600080fd5b50610343600480360381019061033e9190614340565b610c09565b005b34801561035157600080fd5b5061035a610d21565b6040516103679190614cdf565b60405180910390f35b34801561037c57600080fd5b506103976004803603810190610392919061423a565b610d34565b005b3480156103a557600080fd5b506103c060048036038101906103bb9190614474565b610d94565b6040516103cd9190614cfa565b60405180910390f35b3480156103e257600080fd5b506103fd60048036038101906103f8919061444b565b610db4565b005b34801561040b57600080fd5b50610426600480360381019061042191906141d5565b610e04565b6040516104339190614cdf565b60405180910390f35b34801561044857600080fd5b50610463600480360381019061045e919061444b565b610e24565b005b34801561047157600080fd5b5061048c600480360381019061048791906145be565b610e74565b60405161049a929190614cb6565b60405180910390f35b3480156104af57600080fd5b506104ca60048036038101906104c5919061449d565b610f02565b005b3480156104d857600080fd5b506104f360048036038101906104ee919061449d565b610f2b565b005b34801561050157600080fd5b5061050a610fae565b6040516105179190614cdf565b60405180910390f35b34801561052c57600080fd5b506105476004803603810190610542919061423a565b610fc1565b005b34801561055557600080fd5b50610570600480360381019061056b9190614554565b610fe1565b005b34801561057e57600080fd5b5061059960048036038101906105949190614595565b61102e565b6040516105a69190614c4f565b60405180910390f35b3480156105bb57600080fd5b506105c46110e0565b6040516105d191906150d7565b60405180910390f35b3480156105e657600080fd5b5061060160048036038101906105fc91906141d5565b6110e5565b60405161060e91906150d7565b60405180910390f35b34801561062357600080fd5b5061062c61119d565b6040516106399190614d15565b60405180910390f35b34801561064e57600080fd5b5061065761122f565b005b34801561066557600080fd5b50610680600480360381019061067b9190614406565b6112b7565b005b34801561068e57600080fd5b5061069761190f565b6040516106a491906150d7565b60405180910390f35b3480156106b957600080fd5b506106c261191b565b6040516106cf91906150d7565b60405180910390f35b3480156106e457600080fd5b506106ed61192c565b6040516106fa9190614c4f565b60405180910390f35b34801561070f57600080fd5b5061072a6004803603810190610725919061449d565b611956565b6040516107379190614cdf565b60405180910390f35b34801561074c57600080fd5b506107556119c1565b6040516107629190614cdf565b60405180910390f35b34801561077757600080fd5b506107806119d4565b60405161078d9190614d15565b60405180910390f35b6107b060048036038101906107ab9190614595565b611a66565b005b3480156107be57600080fd5b506107d960048036038101906107d4919061437c565b611d0d565b005b3480156107e757600080fd5b506107f0611e0b565b6040516107fd9190614cfa565b60405180910390f35b34801561081257600080fd5b5061082d60048036038101906108289190614304565b611e12565b005b61084960048036038101906108449190614595565b611e28565b005b34801561085757600080fd5b50610872600480360381019061086d91906143c1565b61215d565b005b34801561088057600080fd5b5061089b60048036038101906108969190614289565b6122f4565b005b3480156108a957600080fd5b506108c460048036038101906108bf9190614595565b612356565b005b3480156108d257600080fd5b506108db612427565b6040516108e891906150d7565b60405180910390f35b3480156108fd57600080fd5b5061091860048036038101906109139190614595565b61242c565b6040516109269291906150f2565b60405180910390f35b34801561093b57600080fd5b5061095660048036038101906109519190614595565b612450565b6040516109639190614d15565b60405180910390f35b34801561097857600080fd5b50610993600480360381019061098e919061449d565b6124cc565b005b3480156109a157600080fd5b506109bc60048036038101906109b79190614595565b6124f5565b005b3480156109ca57600080fd5b506109e560048036038101906109e0919061444b565b6125c6565b005b3480156109f357600080fd5b50610a0e6004803603810190610a0991906141fe565b61265f565b604051610a1b9190614cdf565b60405180910390f35b348015610a3057600080fd5b50610a39612779565b604051610a469190614cfa565b60405180910390f35b348015610a5b57600080fd5b50610a766004803603810190610a7191906141d5565b61279d565b005b60007f2a55205a000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610aeb5750610aea82612b8f565b5b9050919050565b606060008054610b019061540b565b80601f0160208091040260200160405190810160405280929190818152602001828054610b2d9061540b565b8015610b7a5780601f10610b4f57610100808354040283529160200191610b7a565b820191906000526020600020905b815481529060010190602001808311610b5d57829003601f168201915b5050505050905090565b6000610b8f82612c09565b610bce576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bc590614fb7565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610c148261102e565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610c85576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c7c90615037565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610ca4612c75565b73ffffffffffffffffffffffffffffffffffffffff161480610cd35750610cd281610ccd612c75565b61265f565b5b610d12576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d0990614e77565b60405180910390fd5b610d1c8383612c7d565b505050565b600d60159054906101000a900460ff1681565b610d45610d3f612c75565b82612d36565b610d84576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d7b90615057565b60405180910390fd5b610d8f838383612e14565b505050565b600060086000838152602001908152602001600020600101549050919050565b7f241ecf16d79d0f8dbfb92cbc07fe17840425976cf0667f022fe9877caa831b08610de681610de1612c75565b613070565b81600d60166101000a81548160ff0219169083151502179055505050565b600e6020528060005260406000206000915054906101000a900460ff1681565b7f241ecf16d79d0f8dbfb92cbc07fe17840425976cf0667f022fe9877caa831b08610e5681610e51612c75565b613070565b81600d60156101000a81548160ff0219169083151502179055505050565b600080610e8084612c09565b610ebf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610eb690614e97565b60405180910390fd5b600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16610ef7610ef085600a61310d565b6064613123565b915091509250929050565b610f0b82610d94565b610f1c81610f17612c75565b613070565b610f268383613139565b505050565b610f33612c75565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610fa0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f97906150b7565b60405180910390fd5b610faa828261321a565b5050565b600d60169054906101000a900460ff1681565b610fdc838383604051806020016040528060008152506122f4565b505050565b7f241ecf16d79d0f8dbfb92cbc07fe17840425976cf0667f022fe9877caa831b086110138161100e612c75565b613070565b81600a9080519060200190611029929190613eb1565b505050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156110d7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110ce90614ef7565b60405180910390fd5b80915050919050565b605b81565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611156576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161114d90614ed7565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6060600a80546111ac9061540b565b80601f01602080910402602001604051908101604052809291908181526020018280546111d89061540b565b80156112255780601f106111fa57610100808354040283529160200191611225565b820191906000526020600020905b81548152906001019060200180831161120857829003601f168201915b5050505050905090565b611237612c75565b73ffffffffffffffffffffffffffffffffffffffff1661125561192c565b73ffffffffffffffffffffffffffffffffffffffff16146112ab576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112a290614ff7565b60405180910390fd5b6112b560006132fc565b565b600382829050146112fd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112f490614e57565b60405180910390fd5b6113468282600081811061133a577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9050602002013561102e565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614801561143b57506113c4828260018181106113b8577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9050602002013561102e565b73ffffffffffffffffffffffffffffffffffffffff1661142383836000818110611417577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9050602002013561102e565b73ffffffffffffffffffffffffffffffffffffffff16145b8015611502575061148b8282600281811061147f577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9050602002013561102e565b73ffffffffffffffffffffffffffffffffffffffff166114ea838360018181106114de577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9050602002013561102e565b73ffffffffffffffffffffffffffffffffffffffff16145b611541576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161153890614df7565b60405180910390fd5b600f60008383600181811061157f577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90506020020135815260200190815260200160002060000154600f6000848460008181106115d6577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b905060200201358152602001908152602001600020600001541480156116a75750600f600083836002818110611635577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90506020020135815260200190815260200160002060000154600f60008484600181811061168c577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90506020020135815260200190815260200160002060000154145b6116e6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116dd90614eb7565b60405180910390fd5b6006600f600084846002818110611726577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90506020020135815260200190815260200160002060010154600f60008585600181811061177d577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90506020020135815260200190815260200160002060010154600f6000868660008181106117d4577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b905060200201358152602001908152602001600020600101546117f791906151fa565b61180191906151fa565b14611841576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161183890614f37565b60405180910390fd5b60005b828290508110156118aa5761189783838381811061188b577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b905060200201356133c2565b80806118a29061546e565b915050611844565b5061190b33600f6000858560008181106118ed577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90506020020135815260200190815260200160002060000154613415565b5050565b670214e8348c4f000081565b60006119276009613433565b905090565b6000600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60006008600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b600d60179054906101000a900460ff1681565b6060600180546119e39061540b565b80601f0160208091040260200160405190810160405280929190818152602001828054611a0f9061540b565b8015611a5c5780601f10611a3157610100808354040283529160200191611a5c565b820191906000526020600020905b815481529060010190602001808311611a3f57829003601f168201915b5050505050905090565b600d60159054906101000a900460ff16611ab5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611aac90615097565b60405180910390fd5b80605b81611ac36009613433565b611acd91906151fa565b1115611b0e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b0590614f17565b60405180910390fd5b81600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161480611b7f5750600281611b72336110e5565b611b7c91906151fa565b11155b611bbe576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bb590614f77565b60405180910390fd5b670214e8348c4f000083348183611bd59190615281565b1480611c2e5750600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b611c6d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c6490615077565b60405180910390fd5b600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc349081150290604051600060405180830381858888f19350505050158015611cd5573d6000803e3d6000fd5b5060005b85811015611d0557611cf233611ced613441565b613415565b8080611cfd9061546e565b915050611cd9565b505050505050565b7f241ecf16d79d0f8dbfb92cbc07fe17840425976cf0667f022fe9877caa831b08611d3f81611d3a612c75565b613070565b60005b83839050811015611e05576001600e6000868685818110611d8c577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9050602002016020810190611da191906141d5565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508080611dfd9061546e565b915050611d42565b50505050565b6000801b81565b611e24611e1d612c75565b838361345c565b5050565b600d60169054906101000a900460ff16611e77576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e6e90614f57565b60405180910390fd5b33600e60008273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16611f04576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611efb90614e37565b60405180910390fd5b81605b81611f126009613433565b611f1c91906151fa565b1115611f5d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f5490614f17565b60405180910390fd5b82600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161480611fce5750600281611fc1336110e5565b611fcb91906151fa565b11155b61200d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161200490614f77565b60405180910390fd5b670214e8348c4f0000843481836120249190615281565b148061207d5750600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b6120bc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120b390615077565b60405180910390fd5b600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc349081150290604051600060405180830381858888f19350505050158015612124573d6000803e3d6000fd5b5060005b86811015612154576121413361213c613441565b613415565b808061214c9061546e565b915050612128565b50505050505050565b7f241ecf16d79d0f8dbfb92cbc07fe17840425976cf0667f022fe9877caa831b0861218f8161218a612c75565b613070565b60005b838390508110156122ee578383828181106121d6577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90506060020160200135600f600086868581811061221d577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90506060020160000135815260200190815260200160002060000181905550838382818110612275577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90506060020160400135600f60008686858181106122bc577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9050606002016000013581526020019081526020016000206001018190555080806122e69061546e565b915050612192565b50505050565b6123056122ff612c75565b83612d36565b612344576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161233b90615057565b60405180910390fd5b612350848484846135c9565b50505050565b61235e612c75565b73ffffffffffffffffffffffffffffffffffffffff1661237c61192c565b73ffffffffffffffffffffffffffffffffffffffff16146123d2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123c990614ff7565b60405180910390fd5b60005b8181101561242357612410600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1661240b613441565b613415565b808061241b9061546e565b9150506123d5565b5050565b600281565b600f6020528060005260406000206000915090508060000154908060010154905082565b606061245b82612c09565b61249a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161249190614e97565b60405180910390fd5b600a6124a583613625565b6040516020016124b6929190614bdb565b6040516020818303038152906040529050919050565b6124d582610d94565b6124e6816124e1612c75565b613070565b6124f0838361321a565b505050565b803360018214801561253a57508073ffffffffffffffffffffffffffffffffffffffff166125228361102e565b73ffffffffffffffffffffffffffffffffffffffff16145b612579576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161257090614fd7565b60405180910390fd5b6000606690505b606881116125a5576125923382613415565b808061259d9061546e565b915050612580565b506001600d60176101000a81548160ff021916908315150217905550505050565b6125ce612c75565b73ffffffffffffffffffffffffffffffffffffffff166125ec61192c565b73ffffffffffffffffffffffffffffffffffffffff1614612642576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161263990614ff7565b60405180910390fd5b80600d60146101000a81548160ff02191690831515021790555050565b600080600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600d60149054906101000a900460ff16801561275657508273ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1663c4552791866040518263ffffffff1660e01b81526004016126ee9190614c4f565b60206040518083038186803b15801561270657600080fd5b505afa15801561271a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061273e919061452b565b73ffffffffffffffffffffffffffffffffffffffff16145b15612765576001915050612773565b61276f84846137d2565b9150505b92915050565b7f241ecf16d79d0f8dbfb92cbc07fe17840425976cf0667f022fe9877caa831b0881565b6127a5612c75565b73ffffffffffffffffffffffffffffffffffffffff166127c361192c565b73ffffffffffffffffffffffffffffffffffffffff1614612819576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161281090614ff7565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415612889576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161288090614d77565b60405180910390fd5b612892816132fc565b50565b6060600060028360026128a89190615281565b6128b291906151fa565b67ffffffffffffffff8111156128f1577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156129235781602001600182028036833780820191505090505b5090507f300000000000000000000000000000000000000000000000000000000000000081600081518110612981577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053507f780000000000000000000000000000000000000000000000000000000000000081600181518110612a0b577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a90535060006001846002612a4b9190615281565b612a5591906151fa565b90505b6001811115612b41577f3031323334353637383961626364656600000000000000000000000000000000600f861660108110612abd577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b1a60f81b828281518110612afa577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600485901c945080612b3a906153e1565b9050612a58565b5060008414612b85576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b7c90614d37565b60405180910390fd5b8091505092915050565b60007f7965db0b000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480612c025750612c0182613866565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16612cf08361102e565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000612d4182612c09565b612d80576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d7790614e17565b60405180910390fd5b6000612d8b8361102e565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480612dfa57508373ffffffffffffffffffffffffffffffffffffffff16612de284610b84565b73ffffffffffffffffffffffffffffffffffffffff16145b80612e0b5750612e0a818561265f565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16612e348261102e565b73ffffffffffffffffffffffffffffffffffffffff1614612e8a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612e8190615017565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612efa576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ef190614db7565b60405180910390fd5b612f05838383613948565b612f10600082612c7d565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612f6091906152db565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612fb791906151fa565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b61307a8282611956565b6131095761309f8173ffffffffffffffffffffffffffffffffffffffff166014612895565b6130ad8360001c6020612895565b6040516020016130be929190614c15565b6040516020818303038152906040526040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016131009190614d15565b60405180910390fd5b5050565b6000818361311b9190615281565b905092915050565b600081836131319190615250565b905092915050565b6131438282611956565b6132165760016008600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055506131bb612c75565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45b5050565b6132248282611956565b156132f85760006008600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555061329d612c75565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b60405160405180910390a45b5050565b6000600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6133cb8161394d565b60006006600083815260200190815260200160002080546133eb9061540b565b905014613412576006600082815260200190815260200160002060006134119190613f37565b5b50565b61342f828260405180602001604052806000815250613a5e565b5050565b600081600001549050919050565b600061344d6009613ab9565b6134576009613433565b905090565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156134cb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016134c290614dd7565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516135bc9190614cdf565b60405180910390a3505050565b6135d4848484612e14565b6135e084848484613acf565b61361f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161361690614d57565b60405180910390fd5b50505050565b6060600082141561366d576040518060400160405280600181526020017f300000000000000000000000000000000000000000000000000000000000000081525090506137cd565b600082905060005b6000821461369f5780806136889061546e565b915050600a826136989190615250565b9150613675565b60008167ffffffffffffffff8111156136e1577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156137135781602001600182028036833780820191505090505b5090505b600085146137c65760018261372c91906152db565b9150600a8561373b91906154b7565b603061374791906151fa565b60f81b818381518110613783577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856137bf9190615250565b9450613717565b8093505050505b919050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061393157507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80613941575061394082613c66565b5b9050919050565b505050565b60006139588261102e565b905061396681600084613948565b613971600083612c7d565b6001600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546139c191906152db565b925050819055506002600083815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff021916905581600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b613a688383613cd0565b613a756000848484613acf565b613ab4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613aab90614d57565b60405180910390fd5b505050565b6001816000016000828254019250508190555050565b6000613af08473ffffffffffffffffffffffffffffffffffffffff16613e9e565b15613c59578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02613b19612c75565b8786866040518563ffffffff1660e01b8152600401613b3b9493929190614c6a565b602060405180830381600087803b158015613b5557600080fd5b505af1925050508015613b8657506040513d601f19601f82011682018060405250810190613b839190614502565b60015b613c09573d8060008114613bb6576040519150601f19603f3d011682016040523d82523d6000602084013e613bbb565b606091505b50600081511415613c01576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613bf890614d57565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050613c5e565b600190505b949350505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415613d40576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613d3790614f97565b60405180910390fd5b613d4981612c09565b15613d89576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613d8090614d97565b60405180910390fd5b613d9560008383613948565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254613de591906151fa565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b600080823b905060008111915050919050565b828054613ebd9061540b565b90600052602060002090601f016020900481019282613edf5760008555613f26565b82601f10613ef857805160ff1916838001178555613f26565b82800160010185558215613f26579182015b82811115613f25578251825591602001919060010190613f0a565b5b509050613f339190613f77565b5090565b508054613f439061540b565b6000825580601f10613f555750613f74565b601f016020900490600052602060002090810190613f739190613f77565b5b50565b5b80821115613f90576000816000905550600101613f78565b5090565b6000613fa7613fa284615140565b61511b565b905082815260208101848484011115613fbf57600080fd5b613fca84828561539f565b509392505050565b6000613fe5613fe084615171565b61511b565b905082815260208101848484011115613ffd57600080fd5b61400884828561539f565b509392505050565b60008135905061401f81615d38565b92915050565b60008083601f84011261403757600080fd5b8235905067ffffffffffffffff81111561405057600080fd5b60208301915083602082028301111561406857600080fd5b9250929050565b60008083601f84011261408157600080fd5b8235905067ffffffffffffffff81111561409a57600080fd5b6020830191508360608202830111156140b257600080fd5b9250929050565b60008083601f8401126140cb57600080fd5b8235905067ffffffffffffffff8111156140e457600080fd5b6020830191508360208202830111156140fc57600080fd5b9250929050565b60008135905061411281615d4f565b92915050565b60008135905061412781615d66565b92915050565b60008135905061413c81615d7d565b92915050565b60008151905061415181615d7d565b92915050565b600082601f83011261416857600080fd5b8135614178848260208601613f94565b91505092915050565b60008151905061419081615d94565b92915050565b600082601f8301126141a757600080fd5b81356141b7848260208601613fd2565b91505092915050565b6000813590506141cf81615dab565b92915050565b6000602082840312156141e757600080fd5b60006141f584828501614010565b91505092915050565b6000806040838503121561421157600080fd5b600061421f85828601614010565b925050602061423085828601614010565b9150509250929050565b60008060006060848603121561424f57600080fd5b600061425d86828701614010565b935050602061426e86828701614010565b925050604061427f868287016141c0565b9150509250925092565b6000806000806080858703121561429f57600080fd5b60006142ad87828801614010565b94505060206142be87828801614010565b93505060406142cf878288016141c0565b925050606085013567ffffffffffffffff8111156142ec57600080fd5b6142f887828801614157565b91505092959194509250565b6000806040838503121561431757600080fd5b600061432585828601614010565b925050602061433685828601614103565b9150509250929050565b6000806040838503121561435357600080fd5b600061436185828601614010565b9250506020614372858286016141c0565b9150509250929050565b6000806020838503121561438f57600080fd5b600083013567ffffffffffffffff8111156143a957600080fd5b6143b585828601614025565b92509250509250929050565b600080602083850312156143d457600080fd5b600083013567ffffffffffffffff8111156143ee57600080fd5b6143fa8582860161406f565b92509250509250929050565b6000806020838503121561441957600080fd5b600083013567ffffffffffffffff81111561443357600080fd5b61443f858286016140b9565b92509250509250929050565b60006020828403121561445d57600080fd5b600061446b84828501614103565b91505092915050565b60006020828403121561448657600080fd5b600061449484828501614118565b91505092915050565b600080604083850312156144b057600080fd5b60006144be85828601614118565b92505060206144cf85828601614010565b9150509250929050565b6000602082840312156144eb57600080fd5b60006144f98482850161412d565b91505092915050565b60006020828403121561451457600080fd5b600061452284828501614142565b91505092915050565b60006020828403121561453d57600080fd5b600061454b84828501614181565b91505092915050565b60006020828403121561456657600080fd5b600082013567ffffffffffffffff81111561458057600080fd5b61458c84828501614196565b91505092915050565b6000602082840312156145a757600080fd5b60006145b5848285016141c0565b91505092915050565b600080604083850312156145d157600080fd5b60006145df858286016141c0565b92505060206145f0858286016141c0565b9150509250929050565b6146038161530f565b82525050565b61461281615321565b82525050565b6146218161532d565b82525050565b6000614632826151b7565b61463c81856151cd565b935061464c8185602086016153ae565b614655816155a4565b840191505092915050565b600061466b826151c2565b61467581856151de565b93506146858185602086016153ae565b61468e816155a4565b840191505092915050565b60006146a4826151c2565b6146ae81856151ef565b93506146be8185602086016153ae565b80840191505092915050565b600081546146d78161540b565b6146e181866151ef565b945060018216600081146146fc576001811461470d57614740565b60ff19831686528186019350614740565b614716856151a2565b60005b8381101561473857815481890152600182019150602081019050614719565b838801955050505b50505092915050565b60006147566020836151de565b9150614761826155b5565b602082019050919050565b60006147796032836151de565b9150614784826155de565b604082019050919050565b600061479c6026836151de565b91506147a78261562d565b604082019050919050565b60006147bf601c836151de565b91506147ca8261567c565b602082019050919050565b60006147e26024836151de565b91506147ed826156a5565b604082019050919050565b60006148056019836151de565b9150614810826156f4565b602082019050919050565b6000614828601f836151de565b91506148338261571d565b602082019050919050565b600061484b602c836151de565b915061485682615746565b604082019050919050565b600061486e601f836151de565b915061487982615795565b602082019050919050565b6000614891601e836151de565b915061489c826157be565b602082019050919050565b60006148b46038836151de565b91506148bf826157e7565b604082019050919050565b60006148d76011836151de565b91506148e282615836565b602082019050919050565b60006148fa6026836151de565b91506149058261585f565b604082019050919050565b600061491d602a836151de565b9150614928826158ae565b604082019050919050565b60006149406029836151de565b915061494b826158fd565b604082019050919050565b60006149636025836151de565b915061496e8261594c565b604082019050919050565b6000614986602b836151de565b91506149918261599b565b604082019050919050565b60006149a96013836151de565b91506149b4826159ea565b602082019050919050565b60006149cc601b836151de565b91506149d782615a13565b602082019050919050565b60006149ef6020836151de565b91506149fa82615a3c565b602082019050919050565b6000614a12602c836151de565b9150614a1d82615a65565b604082019050919050565b6000614a356005836151ef565b9150614a4082615ab4565b600582019050919050565b6000614a58600b836151de565b9150614a6382615add565b602082019050919050565b6000614a7b6020836151de565b9150614a8682615b06565b602082019050919050565b6000614a9e6029836151de565b9150614aa982615b2f565b604082019050919050565b6000614ac16021836151de565b9150614acc82615b7e565b604082019050919050565b6000614ae46031836151de565b9150614aef82615bcd565b604082019050919050565b6000614b076017836151ef565b9150614b1282615c1c565b601782019050919050565b6000614b2a6018836151de565b9150614b3582615c45565b602082019050919050565b6000614b4d6017836151de565b9150614b5882615c6e565b602082019050919050565b6000614b706011836151ef565b9150614b7b82615c97565b601182019050919050565b6000614b93602f836151de565b9150614b9e82615cc0565b604082019050919050565b6000614bb66001836151ef565b9150614bc182615d0f565b600182019050919050565b614bd581615395565b82525050565b6000614be782856146ca565b9150614bf282614ba9565b9150614bfe8284614699565b9150614c0982614a28565b91508190509392505050565b6000614c2082614afa565b9150614c2c8285614699565b9150614c3782614b63565b9150614c438284614699565b91508190509392505050565b6000602082019050614c6460008301846145fa565b92915050565b6000608082019050614c7f60008301876145fa565b614c8c60208301866145fa565b614c996040830185614bcc565b8181036060830152614cab8184614627565b905095945050505050565b6000604082019050614ccb60008301856145fa565b614cd86020830184614bcc565b9392505050565b6000602082019050614cf46000830184614609565b92915050565b6000602082019050614d0f6000830184614618565b92915050565b60006020820190508181036000830152614d2f8184614660565b905092915050565b60006020820190508181036000830152614d5081614749565b9050919050565b60006020820190508181036000830152614d708161476c565b9050919050565b60006020820190508181036000830152614d908161478f565b9050919050565b60006020820190508181036000830152614db0816147b2565b9050919050565b60006020820190508181036000830152614dd0816147d5565b9050919050565b60006020820190508181036000830152614df0816147f8565b9050919050565b60006020820190508181036000830152614e108161481b565b9050919050565b60006020820190508181036000830152614e308161483e565b9050919050565b60006020820190508181036000830152614e5081614861565b9050919050565b60006020820190508181036000830152614e7081614884565b9050919050565b60006020820190508181036000830152614e90816148a7565b9050919050565b60006020820190508181036000830152614eb0816148ca565b9050919050565b60006020820190508181036000830152614ed0816148ed565b9050919050565b60006020820190508181036000830152614ef081614910565b9050919050565b60006020820190508181036000830152614f1081614933565b9050919050565b60006020820190508181036000830152614f3081614956565b9050919050565b60006020820190508181036000830152614f5081614979565b9050919050565b60006020820190508181036000830152614f708161499c565b9050919050565b60006020820190508181036000830152614f90816149bf565b9050919050565b60006020820190508181036000830152614fb0816149e2565b9050919050565b60006020820190508181036000830152614fd081614a05565b9050919050565b60006020820190508181036000830152614ff081614a4b565b9050919050565b6000602082019050818103600083015261501081614a6e565b9050919050565b6000602082019050818103600083015261503081614a91565b9050919050565b6000602082019050818103600083015261505081614ab4565b9050919050565b6000602082019050818103600083015261507081614ad7565b9050919050565b6000602082019050818103600083015261509081614b1d565b9050919050565b600060208201905081810360008301526150b081614b40565b9050919050565b600060208201905081810360008301526150d081614b86565b9050919050565b60006020820190506150ec6000830184614bcc565b92915050565b60006040820190506151076000830185614bcc565b6151146020830184614bcc565b9392505050565b6000615125615136565b9050615131828261543d565b919050565b6000604051905090565b600067ffffffffffffffff82111561515b5761515a615575565b5b615164826155a4565b9050602081019050919050565b600067ffffffffffffffff82111561518c5761518b615575565b5b615195826155a4565b9050602081019050919050565b60008190508160005260206000209050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b600061520582615395565b915061521083615395565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115615245576152446154e8565b5b828201905092915050565b600061525b82615395565b915061526683615395565b92508261527657615275615517565b5b828204905092915050565b600061528c82615395565b915061529783615395565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156152d0576152cf6154e8565b5b828202905092915050565b60006152e682615395565b91506152f183615395565b925082821015615304576153036154e8565b5b828203905092915050565b600061531a82615375565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600061536e8261530f565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b838110156153cc5780820151818401526020810190506153b1565b838111156153db576000848401525b50505050565b60006153ec82615395565b91506000821415615400576153ff6154e8565b5b600182039050919050565b6000600282049050600182168061542357607f821691505b6020821081141561543757615436615546565b5b50919050565b615446826155a4565b810181811067ffffffffffffffff8211171561546557615464615575565b5b80604052505050565b600061547982615395565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156154ac576154ab6154e8565b5b600182019050919050565b60006154c282615395565b91506154cd83615395565b9250826154dd576154dc615517565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b7f537472696e67733a20686578206c656e67746820696e73756666696369656e74600082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f596f75206d757374206f776e20616c6c207468726565207365676d656e747300600082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f596f75277265206e6f74206f6e20746865205072652053616c65204c69737400600082015250565b7f467573696e67207265717569726573207468726565207365676d656e74730000600082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f4e6f6e6578697374656e7420746f6b656e000000000000000000000000000000600082015250565b7f416c6c205365676d656e7473206d7573742062652066726f6d2074686520736160008201527f6d65207365740000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f4e6f7420656e6f756768205365676d656e74732072656d61696e696e6720746f60008201527f206d696e74000000000000000000000000000000000000000000000000000000602082015250565b7f416c6c20746f6b656e732066726f6d2074686520536574206e65656420746f2060008201527f626520696e636c75646564000000000000000000000000000000000000000000602082015250565b7f5072654d696e74206973206e6f74206f70656e00000000000000000000000000600082015250565b7f4d6178207365676d656e747320746f206d696e742069732074776f0000000000600082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f2e6a736f6e000000000000000000000000000000000000000000000000000000600082015250565b7f4e6f7420616c6c6f776564000000000000000000000000000000000000000000600082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f416363657373436f6e74726f6c3a206163636f756e7420000000000000000000600082015250565b7f496e636f7272656374204554482076616c75652073656e740000000000000000600082015250565b7f5075626c69632073616c65206973206e6f74206f70656e000000000000000000600082015250565b7f206973206d697373696e6720726f6c6520000000000000000000000000000000600082015250565b7f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560008201527f20726f6c657320666f722073656c660000000000000000000000000000000000602082015250565b7f2f00000000000000000000000000000000000000000000000000000000000000600082015250565b615d418161530f565b8114615d4c57600080fd5b50565b615d5881615321565b8114615d6357600080fd5b50565b615d6f8161532d565b8114615d7a57600080fd5b50565b615d8681615337565b8114615d9157600080fd5b50565b615d9d81615363565b8114615da857600080fd5b50565b615db481615395565b8114615dbf57600080fd5b5056fea2646970667358221220e6a7ee449c3e9f3cee5200630a0880089451466426e06c63d2fa8f4cf143764e64736f6c63430008040033000000000000000000000000a5409ec958c83c3f309868babaca7c86dcb077c1

Deployed Bytecode

0x6080604052600436106102725760003560e01c80637f205a741161014f578063b78a6a40116100c1578063d547741f1161007a578063d547741f1461096c578063dcb23fae14610995578063e43082f7146109be578063e985e9c5146109e7578063ec87621c14610a24578063f2fde38b14610a4f57610272565b8063b78a6a401461084b578063b88d4fde14610874578063bf113baf1461089d578063c4637480146108c6578063c47f7cf2146108f1578063c87b56dd1461092f57610272565b806395d89b411161011357806395d89b411461076b578063a0712d6814610796578063a1ec4a07146107b2578063a217fddf146107db578063a22cb46514610806578063ae7a4dd71461082f57610272565b80637f205a741461068257806383c4c00d146106ad5780638da5cb5b146106d857806391d1485414610703578063953fc6001461074057610272565b80632f2ff15d116101e85780636352211e116101ac5780636352211e1461057257806370213663146105af57806370a08231146105da578063714c539814610617578063715018a6146106425780637a59fa531461065957610272565b80632f2ff15d146104a357806336568abe146104cc5780633adb1ce0146104f557806342842e0e1461052057806355f804b31461054957610272565b806323b872dd1161023a57806323b872dd14610370578063248a9ca314610399578063279c23f1146103d65780632848aeaf146103ff57806328cad13d1461043c5780632a55205a1461046557610272565b806301ffc9a71461027757806306fdde03146102b4578063081812fc146102df578063095ea7b31461031c5780631e84c41314610345575b600080fd5b34801561028357600080fd5b5061029e600480360381019061029991906144d9565b610a78565b6040516102ab9190614cdf565b60405180910390f35b3480156102c057600080fd5b506102c9610af2565b6040516102d69190614d15565b60405180910390f35b3480156102eb57600080fd5b5061030660048036038101906103019190614595565b610b84565b6040516103139190614c4f565b60405180910390f35b34801561032857600080fd5b50610343600480360381019061033e9190614340565b610c09565b005b34801561035157600080fd5b5061035a610d21565b6040516103679190614cdf565b60405180910390f35b34801561037c57600080fd5b506103976004803603810190610392919061423a565b610d34565b005b3480156103a557600080fd5b506103c060048036038101906103bb9190614474565b610d94565b6040516103cd9190614cfa565b60405180910390f35b3480156103e257600080fd5b506103fd60048036038101906103f8919061444b565b610db4565b005b34801561040b57600080fd5b50610426600480360381019061042191906141d5565b610e04565b6040516104339190614cdf565b60405180910390f35b34801561044857600080fd5b50610463600480360381019061045e919061444b565b610e24565b005b34801561047157600080fd5b5061048c600480360381019061048791906145be565b610e74565b60405161049a929190614cb6565b60405180910390f35b3480156104af57600080fd5b506104ca60048036038101906104c5919061449d565b610f02565b005b3480156104d857600080fd5b506104f360048036038101906104ee919061449d565b610f2b565b005b34801561050157600080fd5b5061050a610fae565b6040516105179190614cdf565b60405180910390f35b34801561052c57600080fd5b506105476004803603810190610542919061423a565b610fc1565b005b34801561055557600080fd5b50610570600480360381019061056b9190614554565b610fe1565b005b34801561057e57600080fd5b5061059960048036038101906105949190614595565b61102e565b6040516105a69190614c4f565b60405180910390f35b3480156105bb57600080fd5b506105c46110e0565b6040516105d191906150d7565b60405180910390f35b3480156105e657600080fd5b5061060160048036038101906105fc91906141d5565b6110e5565b60405161060e91906150d7565b60405180910390f35b34801561062357600080fd5b5061062c61119d565b6040516106399190614d15565b60405180910390f35b34801561064e57600080fd5b5061065761122f565b005b34801561066557600080fd5b50610680600480360381019061067b9190614406565b6112b7565b005b34801561068e57600080fd5b5061069761190f565b6040516106a491906150d7565b60405180910390f35b3480156106b957600080fd5b506106c261191b565b6040516106cf91906150d7565b60405180910390f35b3480156106e457600080fd5b506106ed61192c565b6040516106fa9190614c4f565b60405180910390f35b34801561070f57600080fd5b5061072a6004803603810190610725919061449d565b611956565b6040516107379190614cdf565b60405180910390f35b34801561074c57600080fd5b506107556119c1565b6040516107629190614cdf565b60405180910390f35b34801561077757600080fd5b506107806119d4565b60405161078d9190614d15565b60405180910390f35b6107b060048036038101906107ab9190614595565b611a66565b005b3480156107be57600080fd5b506107d960048036038101906107d4919061437c565b611d0d565b005b3480156107e757600080fd5b506107f0611e0b565b6040516107fd9190614cfa565b60405180910390f35b34801561081257600080fd5b5061082d60048036038101906108289190614304565b611e12565b005b61084960048036038101906108449190614595565b611e28565b005b34801561085757600080fd5b50610872600480360381019061086d91906143c1565b61215d565b005b34801561088057600080fd5b5061089b60048036038101906108969190614289565b6122f4565b005b3480156108a957600080fd5b506108c460048036038101906108bf9190614595565b612356565b005b3480156108d257600080fd5b506108db612427565b6040516108e891906150d7565b60405180910390f35b3480156108fd57600080fd5b5061091860048036038101906109139190614595565b61242c565b6040516109269291906150f2565b60405180910390f35b34801561093b57600080fd5b5061095660048036038101906109519190614595565b612450565b6040516109639190614d15565b60405180910390f35b34801561097857600080fd5b50610993600480360381019061098e919061449d565b6124cc565b005b3480156109a157600080fd5b506109bc60048036038101906109b79190614595565b6124f5565b005b3480156109ca57600080fd5b506109e560048036038101906109e0919061444b565b6125c6565b005b3480156109f357600080fd5b50610a0e6004803603810190610a0991906141fe565b61265f565b604051610a1b9190614cdf565b60405180910390f35b348015610a3057600080fd5b50610a39612779565b604051610a469190614cfa565b60405180910390f35b348015610a5b57600080fd5b50610a766004803603810190610a7191906141d5565b61279d565b005b60007f2a55205a000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610aeb5750610aea82612b8f565b5b9050919050565b606060008054610b019061540b565b80601f0160208091040260200160405190810160405280929190818152602001828054610b2d9061540b565b8015610b7a5780601f10610b4f57610100808354040283529160200191610b7a565b820191906000526020600020905b815481529060010190602001808311610b5d57829003601f168201915b5050505050905090565b6000610b8f82612c09565b610bce576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bc590614fb7565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610c148261102e565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610c85576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c7c90615037565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610ca4612c75565b73ffffffffffffffffffffffffffffffffffffffff161480610cd35750610cd281610ccd612c75565b61265f565b5b610d12576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d0990614e77565b60405180910390fd5b610d1c8383612c7d565b505050565b600d60159054906101000a900460ff1681565b610d45610d3f612c75565b82612d36565b610d84576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d7b90615057565b60405180910390fd5b610d8f838383612e14565b505050565b600060086000838152602001908152602001600020600101549050919050565b7f241ecf16d79d0f8dbfb92cbc07fe17840425976cf0667f022fe9877caa831b08610de681610de1612c75565b613070565b81600d60166101000a81548160ff0219169083151502179055505050565b600e6020528060005260406000206000915054906101000a900460ff1681565b7f241ecf16d79d0f8dbfb92cbc07fe17840425976cf0667f022fe9877caa831b08610e5681610e51612c75565b613070565b81600d60156101000a81548160ff0219169083151502179055505050565b600080610e8084612c09565b610ebf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610eb690614e97565b60405180910390fd5b600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16610ef7610ef085600a61310d565b6064613123565b915091509250929050565b610f0b82610d94565b610f1c81610f17612c75565b613070565b610f268383613139565b505050565b610f33612c75565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610fa0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f97906150b7565b60405180910390fd5b610faa828261321a565b5050565b600d60169054906101000a900460ff1681565b610fdc838383604051806020016040528060008152506122f4565b505050565b7f241ecf16d79d0f8dbfb92cbc07fe17840425976cf0667f022fe9877caa831b086110138161100e612c75565b613070565b81600a9080519060200190611029929190613eb1565b505050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156110d7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110ce90614ef7565b60405180910390fd5b80915050919050565b605b81565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611156576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161114d90614ed7565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6060600a80546111ac9061540b565b80601f01602080910402602001604051908101604052809291908181526020018280546111d89061540b565b80156112255780601f106111fa57610100808354040283529160200191611225565b820191906000526020600020905b81548152906001019060200180831161120857829003601f168201915b5050505050905090565b611237612c75565b73ffffffffffffffffffffffffffffffffffffffff1661125561192c565b73ffffffffffffffffffffffffffffffffffffffff16146112ab576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112a290614ff7565b60405180910390fd5b6112b560006132fc565b565b600382829050146112fd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112f490614e57565b60405180910390fd5b6113468282600081811061133a577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9050602002013561102e565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614801561143b57506113c4828260018181106113b8577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9050602002013561102e565b73ffffffffffffffffffffffffffffffffffffffff1661142383836000818110611417577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9050602002013561102e565b73ffffffffffffffffffffffffffffffffffffffff16145b8015611502575061148b8282600281811061147f577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9050602002013561102e565b73ffffffffffffffffffffffffffffffffffffffff166114ea838360018181106114de577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9050602002013561102e565b73ffffffffffffffffffffffffffffffffffffffff16145b611541576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161153890614df7565b60405180910390fd5b600f60008383600181811061157f577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90506020020135815260200190815260200160002060000154600f6000848460008181106115d6577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b905060200201358152602001908152602001600020600001541480156116a75750600f600083836002818110611635577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90506020020135815260200190815260200160002060000154600f60008484600181811061168c577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90506020020135815260200190815260200160002060000154145b6116e6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116dd90614eb7565b60405180910390fd5b6006600f600084846002818110611726577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90506020020135815260200190815260200160002060010154600f60008585600181811061177d577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90506020020135815260200190815260200160002060010154600f6000868660008181106117d4577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b905060200201358152602001908152602001600020600101546117f791906151fa565b61180191906151fa565b14611841576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161183890614f37565b60405180910390fd5b60005b828290508110156118aa5761189783838381811061188b577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b905060200201356133c2565b80806118a29061546e565b915050611844565b5061190b33600f6000858560008181106118ed577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90506020020135815260200190815260200160002060000154613415565b5050565b670214e8348c4f000081565b60006119276009613433565b905090565b6000600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60006008600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b600d60179054906101000a900460ff1681565b6060600180546119e39061540b565b80601f0160208091040260200160405190810160405280929190818152602001828054611a0f9061540b565b8015611a5c5780601f10611a3157610100808354040283529160200191611a5c565b820191906000526020600020905b815481529060010190602001808311611a3f57829003601f168201915b5050505050905090565b600d60159054906101000a900460ff16611ab5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611aac90615097565b60405180910390fd5b80605b81611ac36009613433565b611acd91906151fa565b1115611b0e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b0590614f17565b60405180910390fd5b81600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161480611b7f5750600281611b72336110e5565b611b7c91906151fa565b11155b611bbe576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bb590614f77565b60405180910390fd5b670214e8348c4f000083348183611bd59190615281565b1480611c2e5750600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b611c6d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c6490615077565b60405180910390fd5b600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc349081150290604051600060405180830381858888f19350505050158015611cd5573d6000803e3d6000fd5b5060005b85811015611d0557611cf233611ced613441565b613415565b8080611cfd9061546e565b915050611cd9565b505050505050565b7f241ecf16d79d0f8dbfb92cbc07fe17840425976cf0667f022fe9877caa831b08611d3f81611d3a612c75565b613070565b60005b83839050811015611e05576001600e6000868685818110611d8c577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9050602002016020810190611da191906141d5565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508080611dfd9061546e565b915050611d42565b50505050565b6000801b81565b611e24611e1d612c75565b838361345c565b5050565b600d60169054906101000a900460ff16611e77576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e6e90614f57565b60405180910390fd5b33600e60008273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16611f04576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611efb90614e37565b60405180910390fd5b81605b81611f126009613433565b611f1c91906151fa565b1115611f5d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f5490614f17565b60405180910390fd5b82600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161480611fce5750600281611fc1336110e5565b611fcb91906151fa565b11155b61200d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161200490614f77565b60405180910390fd5b670214e8348c4f0000843481836120249190615281565b148061207d5750600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b6120bc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120b390615077565b60405180910390fd5b600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc349081150290604051600060405180830381858888f19350505050158015612124573d6000803e3d6000fd5b5060005b86811015612154576121413361213c613441565b613415565b808061214c9061546e565b915050612128565b50505050505050565b7f241ecf16d79d0f8dbfb92cbc07fe17840425976cf0667f022fe9877caa831b0861218f8161218a612c75565b613070565b60005b838390508110156122ee578383828181106121d6577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90506060020160200135600f600086868581811061221d577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90506060020160000135815260200190815260200160002060000181905550838382818110612275577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90506060020160400135600f60008686858181106122bc577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9050606002016000013581526020019081526020016000206001018190555080806122e69061546e565b915050612192565b50505050565b6123056122ff612c75565b83612d36565b612344576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161233b90615057565b60405180910390fd5b612350848484846135c9565b50505050565b61235e612c75565b73ffffffffffffffffffffffffffffffffffffffff1661237c61192c565b73ffffffffffffffffffffffffffffffffffffffff16146123d2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123c990614ff7565b60405180910390fd5b60005b8181101561242357612410600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1661240b613441565b613415565b808061241b9061546e565b9150506123d5565b5050565b600281565b600f6020528060005260406000206000915090508060000154908060010154905082565b606061245b82612c09565b61249a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161249190614e97565b60405180910390fd5b600a6124a583613625565b6040516020016124b6929190614bdb565b6040516020818303038152906040529050919050565b6124d582610d94565b6124e6816124e1612c75565b613070565b6124f0838361321a565b505050565b803360018214801561253a57508073ffffffffffffffffffffffffffffffffffffffff166125228361102e565b73ffffffffffffffffffffffffffffffffffffffff16145b612579576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161257090614fd7565b60405180910390fd5b6000606690505b606881116125a5576125923382613415565b808061259d9061546e565b915050612580565b506001600d60176101000a81548160ff021916908315150217905550505050565b6125ce612c75565b73ffffffffffffffffffffffffffffffffffffffff166125ec61192c565b73ffffffffffffffffffffffffffffffffffffffff1614612642576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161263990614ff7565b60405180910390fd5b80600d60146101000a81548160ff02191690831515021790555050565b600080600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600d60149054906101000a900460ff16801561275657508273ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1663c4552791866040518263ffffffff1660e01b81526004016126ee9190614c4f565b60206040518083038186803b15801561270657600080fd5b505afa15801561271a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061273e919061452b565b73ffffffffffffffffffffffffffffffffffffffff16145b15612765576001915050612773565b61276f84846137d2565b9150505b92915050565b7f241ecf16d79d0f8dbfb92cbc07fe17840425976cf0667f022fe9877caa831b0881565b6127a5612c75565b73ffffffffffffffffffffffffffffffffffffffff166127c361192c565b73ffffffffffffffffffffffffffffffffffffffff1614612819576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161281090614ff7565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415612889576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161288090614d77565b60405180910390fd5b612892816132fc565b50565b6060600060028360026128a89190615281565b6128b291906151fa565b67ffffffffffffffff8111156128f1577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156129235781602001600182028036833780820191505090505b5090507f300000000000000000000000000000000000000000000000000000000000000081600081518110612981577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053507f780000000000000000000000000000000000000000000000000000000000000081600181518110612a0b577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a90535060006001846002612a4b9190615281565b612a5591906151fa565b90505b6001811115612b41577f3031323334353637383961626364656600000000000000000000000000000000600f861660108110612abd577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b1a60f81b828281518110612afa577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600485901c945080612b3a906153e1565b9050612a58565b5060008414612b85576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b7c90614d37565b60405180910390fd5b8091505092915050565b60007f7965db0b000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480612c025750612c0182613866565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16612cf08361102e565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000612d4182612c09565b612d80576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d7790614e17565b60405180910390fd5b6000612d8b8361102e565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480612dfa57508373ffffffffffffffffffffffffffffffffffffffff16612de284610b84565b73ffffffffffffffffffffffffffffffffffffffff16145b80612e0b5750612e0a818561265f565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16612e348261102e565b73ffffffffffffffffffffffffffffffffffffffff1614612e8a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612e8190615017565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612efa576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ef190614db7565b60405180910390fd5b612f05838383613948565b612f10600082612c7d565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612f6091906152db565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612fb791906151fa565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b61307a8282611956565b6131095761309f8173ffffffffffffffffffffffffffffffffffffffff166014612895565b6130ad8360001c6020612895565b6040516020016130be929190614c15565b6040516020818303038152906040526040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016131009190614d15565b60405180910390fd5b5050565b6000818361311b9190615281565b905092915050565b600081836131319190615250565b905092915050565b6131438282611956565b6132165760016008600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055506131bb612c75565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45b5050565b6132248282611956565b156132f85760006008600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555061329d612c75565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b60405160405180910390a45b5050565b6000600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6133cb8161394d565b60006006600083815260200190815260200160002080546133eb9061540b565b905014613412576006600082815260200190815260200160002060006134119190613f37565b5b50565b61342f828260405180602001604052806000815250613a5e565b5050565b600081600001549050919050565b600061344d6009613ab9565b6134576009613433565b905090565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156134cb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016134c290614dd7565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516135bc9190614cdf565b60405180910390a3505050565b6135d4848484612e14565b6135e084848484613acf565b61361f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161361690614d57565b60405180910390fd5b50505050565b6060600082141561366d576040518060400160405280600181526020017f300000000000000000000000000000000000000000000000000000000000000081525090506137cd565b600082905060005b6000821461369f5780806136889061546e565b915050600a826136989190615250565b9150613675565b60008167ffffffffffffffff8111156136e1577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156137135781602001600182028036833780820191505090505b5090505b600085146137c65760018261372c91906152db565b9150600a8561373b91906154b7565b603061374791906151fa565b60f81b818381518110613783577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856137bf9190615250565b9450613717565b8093505050505b919050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061393157507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80613941575061394082613c66565b5b9050919050565b505050565b60006139588261102e565b905061396681600084613948565b613971600083612c7d565b6001600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546139c191906152db565b925050819055506002600083815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff021916905581600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b613a688383613cd0565b613a756000848484613acf565b613ab4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613aab90614d57565b60405180910390fd5b505050565b6001816000016000828254019250508190555050565b6000613af08473ffffffffffffffffffffffffffffffffffffffff16613e9e565b15613c59578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02613b19612c75565b8786866040518563ffffffff1660e01b8152600401613b3b9493929190614c6a565b602060405180830381600087803b158015613b5557600080fd5b505af1925050508015613b8657506040513d601f19601f82011682018060405250810190613b839190614502565b60015b613c09573d8060008114613bb6576040519150601f19603f3d011682016040523d82523d6000602084013e613bbb565b606091505b50600081511415613c01576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613bf890614d57565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050613c5e565b600190505b949350505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415613d40576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613d3790614f97565b60405180910390fd5b613d4981612c09565b15613d89576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613d8090614d97565b60405180910390fd5b613d9560008383613948565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254613de591906151fa565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b600080823b905060008111915050919050565b828054613ebd9061540b565b90600052602060002090601f016020900481019282613edf5760008555613f26565b82601f10613ef857805160ff1916838001178555613f26565b82800160010185558215613f26579182015b82811115613f25578251825591602001919060010190613f0a565b5b509050613f339190613f77565b5090565b508054613f439061540b565b6000825580601f10613f555750613f74565b601f016020900490600052602060002090810190613f739190613f77565b5b50565b5b80821115613f90576000816000905550600101613f78565b5090565b6000613fa7613fa284615140565b61511b565b905082815260208101848484011115613fbf57600080fd5b613fca84828561539f565b509392505050565b6000613fe5613fe084615171565b61511b565b905082815260208101848484011115613ffd57600080fd5b61400884828561539f565b509392505050565b60008135905061401f81615d38565b92915050565b60008083601f84011261403757600080fd5b8235905067ffffffffffffffff81111561405057600080fd5b60208301915083602082028301111561406857600080fd5b9250929050565b60008083601f84011261408157600080fd5b8235905067ffffffffffffffff81111561409a57600080fd5b6020830191508360608202830111156140b257600080fd5b9250929050565b60008083601f8401126140cb57600080fd5b8235905067ffffffffffffffff8111156140e457600080fd5b6020830191508360208202830111156140fc57600080fd5b9250929050565b60008135905061411281615d4f565b92915050565b60008135905061412781615d66565b92915050565b60008135905061413c81615d7d565b92915050565b60008151905061415181615d7d565b92915050565b600082601f83011261416857600080fd5b8135614178848260208601613f94565b91505092915050565b60008151905061419081615d94565b92915050565b600082601f8301126141a757600080fd5b81356141b7848260208601613fd2565b91505092915050565b6000813590506141cf81615dab565b92915050565b6000602082840312156141e757600080fd5b60006141f584828501614010565b91505092915050565b6000806040838503121561421157600080fd5b600061421f85828601614010565b925050602061423085828601614010565b9150509250929050565b60008060006060848603121561424f57600080fd5b600061425d86828701614010565b935050602061426e86828701614010565b925050604061427f868287016141c0565b9150509250925092565b6000806000806080858703121561429f57600080fd5b60006142ad87828801614010565b94505060206142be87828801614010565b93505060406142cf878288016141c0565b925050606085013567ffffffffffffffff8111156142ec57600080fd5b6142f887828801614157565b91505092959194509250565b6000806040838503121561431757600080fd5b600061432585828601614010565b925050602061433685828601614103565b9150509250929050565b6000806040838503121561435357600080fd5b600061436185828601614010565b9250506020614372858286016141c0565b9150509250929050565b6000806020838503121561438f57600080fd5b600083013567ffffffffffffffff8111156143a957600080fd5b6143b585828601614025565b92509250509250929050565b600080602083850312156143d457600080fd5b600083013567ffffffffffffffff8111156143ee57600080fd5b6143fa8582860161406f565b92509250509250929050565b6000806020838503121561441957600080fd5b600083013567ffffffffffffffff81111561443357600080fd5b61443f858286016140b9565b92509250509250929050565b60006020828403121561445d57600080fd5b600061446b84828501614103565b91505092915050565b60006020828403121561448657600080fd5b600061449484828501614118565b91505092915050565b600080604083850312156144b057600080fd5b60006144be85828601614118565b92505060206144cf85828601614010565b9150509250929050565b6000602082840312156144eb57600080fd5b60006144f98482850161412d565b91505092915050565b60006020828403121561451457600080fd5b600061452284828501614142565b91505092915050565b60006020828403121561453d57600080fd5b600061454b84828501614181565b91505092915050565b60006020828403121561456657600080fd5b600082013567ffffffffffffffff81111561458057600080fd5b61458c84828501614196565b91505092915050565b6000602082840312156145a757600080fd5b60006145b5848285016141c0565b91505092915050565b600080604083850312156145d157600080fd5b60006145df858286016141c0565b92505060206145f0858286016141c0565b9150509250929050565b6146038161530f565b82525050565b61461281615321565b82525050565b6146218161532d565b82525050565b6000614632826151b7565b61463c81856151cd565b935061464c8185602086016153ae565b614655816155a4565b840191505092915050565b600061466b826151c2565b61467581856151de565b93506146858185602086016153ae565b61468e816155a4565b840191505092915050565b60006146a4826151c2565b6146ae81856151ef565b93506146be8185602086016153ae565b80840191505092915050565b600081546146d78161540b565b6146e181866151ef565b945060018216600081146146fc576001811461470d57614740565b60ff19831686528186019350614740565b614716856151a2565b60005b8381101561473857815481890152600182019150602081019050614719565b838801955050505b50505092915050565b60006147566020836151de565b9150614761826155b5565b602082019050919050565b60006147796032836151de565b9150614784826155de565b604082019050919050565b600061479c6026836151de565b91506147a78261562d565b604082019050919050565b60006147bf601c836151de565b91506147ca8261567c565b602082019050919050565b60006147e26024836151de565b91506147ed826156a5565b604082019050919050565b60006148056019836151de565b9150614810826156f4565b602082019050919050565b6000614828601f836151de565b91506148338261571d565b602082019050919050565b600061484b602c836151de565b915061485682615746565b604082019050919050565b600061486e601f836151de565b915061487982615795565b602082019050919050565b6000614891601e836151de565b915061489c826157be565b602082019050919050565b60006148b46038836151de565b91506148bf826157e7565b604082019050919050565b60006148d76011836151de565b91506148e282615836565b602082019050919050565b60006148fa6026836151de565b91506149058261585f565b604082019050919050565b600061491d602a836151de565b9150614928826158ae565b604082019050919050565b60006149406029836151de565b915061494b826158fd565b604082019050919050565b60006149636025836151de565b915061496e8261594c565b604082019050919050565b6000614986602b836151de565b91506149918261599b565b604082019050919050565b60006149a96013836151de565b91506149b4826159ea565b602082019050919050565b60006149cc601b836151de565b91506149d782615a13565b602082019050919050565b60006149ef6020836151de565b91506149fa82615a3c565b602082019050919050565b6000614a12602c836151de565b9150614a1d82615a65565b604082019050919050565b6000614a356005836151ef565b9150614a4082615ab4565b600582019050919050565b6000614a58600b836151de565b9150614a6382615add565b602082019050919050565b6000614a7b6020836151de565b9150614a8682615b06565b602082019050919050565b6000614a9e6029836151de565b9150614aa982615b2f565b604082019050919050565b6000614ac16021836151de565b9150614acc82615b7e565b604082019050919050565b6000614ae46031836151de565b9150614aef82615bcd565b604082019050919050565b6000614b076017836151ef565b9150614b1282615c1c565b601782019050919050565b6000614b2a6018836151de565b9150614b3582615c45565b602082019050919050565b6000614b4d6017836151de565b9150614b5882615c6e565b602082019050919050565b6000614b706011836151ef565b9150614b7b82615c97565b601182019050919050565b6000614b93602f836151de565b9150614b9e82615cc0565b604082019050919050565b6000614bb66001836151ef565b9150614bc182615d0f565b600182019050919050565b614bd581615395565b82525050565b6000614be782856146ca565b9150614bf282614ba9565b9150614bfe8284614699565b9150614c0982614a28565b91508190509392505050565b6000614c2082614afa565b9150614c2c8285614699565b9150614c3782614b63565b9150614c438284614699565b91508190509392505050565b6000602082019050614c6460008301846145fa565b92915050565b6000608082019050614c7f60008301876145fa565b614c8c60208301866145fa565b614c996040830185614bcc565b8181036060830152614cab8184614627565b905095945050505050565b6000604082019050614ccb60008301856145fa565b614cd86020830184614bcc565b9392505050565b6000602082019050614cf46000830184614609565b92915050565b6000602082019050614d0f6000830184614618565b92915050565b60006020820190508181036000830152614d2f8184614660565b905092915050565b60006020820190508181036000830152614d5081614749565b9050919050565b60006020820190508181036000830152614d708161476c565b9050919050565b60006020820190508181036000830152614d908161478f565b9050919050565b60006020820190508181036000830152614db0816147b2565b9050919050565b60006020820190508181036000830152614dd0816147d5565b9050919050565b60006020820190508181036000830152614df0816147f8565b9050919050565b60006020820190508181036000830152614e108161481b565b9050919050565b60006020820190508181036000830152614e308161483e565b9050919050565b60006020820190508181036000830152614e5081614861565b9050919050565b60006020820190508181036000830152614e7081614884565b9050919050565b60006020820190508181036000830152614e90816148a7565b9050919050565b60006020820190508181036000830152614eb0816148ca565b9050919050565b60006020820190508181036000830152614ed0816148ed565b9050919050565b60006020820190508181036000830152614ef081614910565b9050919050565b60006020820190508181036000830152614f1081614933565b9050919050565b60006020820190508181036000830152614f3081614956565b9050919050565b60006020820190508181036000830152614f5081614979565b9050919050565b60006020820190508181036000830152614f708161499c565b9050919050565b60006020820190508181036000830152614f90816149bf565b9050919050565b60006020820190508181036000830152614fb0816149e2565b9050919050565b60006020820190508181036000830152614fd081614a05565b9050919050565b60006020820190508181036000830152614ff081614a4b565b9050919050565b6000602082019050818103600083015261501081614a6e565b9050919050565b6000602082019050818103600083015261503081614a91565b9050919050565b6000602082019050818103600083015261505081614ab4565b9050919050565b6000602082019050818103600083015261507081614ad7565b9050919050565b6000602082019050818103600083015261509081614b1d565b9050919050565b600060208201905081810360008301526150b081614b40565b9050919050565b600060208201905081810360008301526150d081614b86565b9050919050565b60006020820190506150ec6000830184614bcc565b92915050565b60006040820190506151076000830185614bcc565b6151146020830184614bcc565b9392505050565b6000615125615136565b9050615131828261543d565b919050565b6000604051905090565b600067ffffffffffffffff82111561515b5761515a615575565b5b615164826155a4565b9050602081019050919050565b600067ffffffffffffffff82111561518c5761518b615575565b5b615195826155a4565b9050602081019050919050565b60008190508160005260206000209050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b600061520582615395565b915061521083615395565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115615245576152446154e8565b5b828201905092915050565b600061525b82615395565b915061526683615395565b92508261527657615275615517565b5b828204905092915050565b600061528c82615395565b915061529783615395565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156152d0576152cf6154e8565b5b828202905092915050565b60006152e682615395565b91506152f183615395565b925082821015615304576153036154e8565b5b828203905092915050565b600061531a82615375565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600061536e8261530f565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b838110156153cc5780820151818401526020810190506153b1565b838111156153db576000848401525b50505050565b60006153ec82615395565b91506000821415615400576153ff6154e8565b5b600182039050919050565b6000600282049050600182168061542357607f821691505b6020821081141561543757615436615546565b5b50919050565b615446826155a4565b810181811067ffffffffffffffff8211171561546557615464615575565b5b80604052505050565b600061547982615395565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156154ac576154ab6154e8565b5b600182019050919050565b60006154c282615395565b91506154cd83615395565b9250826154dd576154dc615517565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b7f537472696e67733a20686578206c656e67746820696e73756666696369656e74600082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f596f75206d757374206f776e20616c6c207468726565207365676d656e747300600082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f596f75277265206e6f74206f6e20746865205072652053616c65204c69737400600082015250565b7f467573696e67207265717569726573207468726565207365676d656e74730000600082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f4e6f6e6578697374656e7420746f6b656e000000000000000000000000000000600082015250565b7f416c6c205365676d656e7473206d7573742062652066726f6d2074686520736160008201527f6d65207365740000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f4e6f7420656e6f756768205365676d656e74732072656d61696e696e6720746f60008201527f206d696e74000000000000000000000000000000000000000000000000000000602082015250565b7f416c6c20746f6b656e732066726f6d2074686520536574206e65656420746f2060008201527f626520696e636c75646564000000000000000000000000000000000000000000602082015250565b7f5072654d696e74206973206e6f74206f70656e00000000000000000000000000600082015250565b7f4d6178207365676d656e747320746f206d696e742069732074776f0000000000600082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f2e6a736f6e000000000000000000000000000000000000000000000000000000600082015250565b7f4e6f7420616c6c6f776564000000000000000000000000000000000000000000600082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f416363657373436f6e74726f6c3a206163636f756e7420000000000000000000600082015250565b7f496e636f7272656374204554482076616c75652073656e740000000000000000600082015250565b7f5075626c69632073616c65206973206e6f74206f70656e000000000000000000600082015250565b7f206973206d697373696e6720726f6c6520000000000000000000000000000000600082015250565b7f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560008201527f20726f6c657320666f722073656c660000000000000000000000000000000000602082015250565b7f2f00000000000000000000000000000000000000000000000000000000000000600082015250565b615d418161530f565b8114615d4c57600080fd5b50565b615d5881615321565b8114615d6357600080fd5b50565b615d6f8161532d565b8114615d7a57600080fd5b50565b615d8681615337565b8114615d9157600080fd5b50565b615d9d81615363565b8114615da857600080fd5b50565b615db481615395565b8114615dbf57600080fd5b5056fea2646970667358221220e6a7ee449c3e9f3cee5200630a0880089451466426e06c63d2fa8f4cf143764e64736f6c63430008040033

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

000000000000000000000000a5409ec958c83c3f309868babaca7c86dcb077c1

-----Decoded View---------------
Arg [0] : _openSeaProxyRegistryAddress (address): 0xa5409ec958C83C3f309868babACA7c86DCB077c1

-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 000000000000000000000000a5409ec958c83c3f309868babaca7c86dcb077c1


Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

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

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
Loading...
Loading
[ Download: CSV Export  ]
[ 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.