ETH Price: $3,566.44 (-0.52%)
Gas: 41 Gwei

Contract

0xc22C9A28A93AeBBB88047e390A008A59b8B7EfD5
 

Overview

ETH Balance

1.04 ETH

Eth Value

$3,709.10 (@ $3,566.44/ETH)

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Value
Deposit127032412021-06-25 12:22:271007 days ago1624623747IN
0xc22C9A28...9b8B7EfD5
1 ETH0.0007483924
Deposit127032312021-06-25 12:20:501007 days ago1624623650IN
0xc22C9A28...9b8B7EfD5
0.01 ETH0.0007452723.9
Transfer From121793042021-04-05 11:09:141088 days ago1617620954IN
0xc22C9A28...9b8B7EfD5
0 ETH0.0121475113
Claim119745782021-03-04 22:43:411119 days ago1614897821IN
0xc22C9A28...9b8B7EfD5
0.01 ETH0.0388333680
Transfer From119740082021-03-04 20:42:141119 days ago1614890534IN
0xc22C9A28...9b8B7EfD5
0 ETH0.009782591
Claim119483392021-02-28 21:50:321123 days ago1614549032IN
0xc22C9A28...9b8B7EfD5
0.01 ETH0.0343404473
Deposit117083542021-01-22 23:40:551160 days ago1611358855IN
0xc22C9A28...9b8B7EfD5
0.01 ETH0.0032008971.00000145
Claim116916062021-01-20 9:58:531163 days ago1611136733IN
0xc22C9A28...9b8B7EfD5
0.01 ETH0.002460
Claim116914152021-01-20 9:21:201163 days ago1611134480IN
0xc22C9A28...9b8B7EfD5
0.01 ETH0.0017458
Claim116914152021-01-20 9:21:201163 days ago1611134480IN
0xc22C9A28...9b8B7EfD5
0.01 ETH0.0017169657.232002
Set Contract URI116428302021-01-12 22:14:151170 days ago1610489655IN
0xc22C9A28...9b8B7EfD5
0 ETH0.0043281641
Close Collection116424532021-01-12 20:53:561170 days ago1610484836IN
0xc22C9A28...9b8B7EfD5
0 ETH0.0024708255
Set Token Claim ...116424342021-01-12 20:50:251170 days ago1610484625IN
0xc22C9A28...9b8B7EfD5
0 ETH0.0025026155
Set Token Claim ...116424342021-01-12 20:50:251170 days ago1610484625IN
0xc22C9A28...9b8B7EfD5
0 ETH0.0025026155
Set Token Claim ...116419472021-01-12 19:00:421170 days ago1610478042IN
0xc22C9A28...9b8B7EfD5
0 ETH0.0020475945
Set Token Claim ...116419472021-01-12 19:00:421170 days ago1610478042IN
0xc22C9A28...9b8B7EfD5
0 ETH0.0020475945
Set Token Claim ...116419472021-01-12 19:00:421170 days ago1610478042IN
0xc22C9A28...9b8B7EfD5
0 ETH0.0020475945
Set Token Claim ...116419472021-01-12 19:00:421170 days ago1610478042IN
0xc22C9A28...9b8B7EfD5
0 ETH0.0020475945
Set Token Claim ...116419472021-01-12 19:00:421170 days ago1610478042IN
0xc22C9A28...9b8B7EfD5
0 ETH0.0020475945
Set Token Claim ...116419472021-01-12 19:00:421170 days ago1610478042IN
0xc22C9A28...9b8B7EfD5
0 ETH0.0020475945
Set Token Claim ...116419472021-01-12 19:00:421170 days ago1610478042IN
0xc22C9A28...9b8B7EfD5
0 ETH0.0020475945
Set Token Claim ...116419472021-01-12 19:00:421170 days ago1610478042IN
0xc22C9A28...9b8B7EfD5
0 ETH0.0020475945
Set Token Claim ...116419472021-01-12 19:00:421170 days ago1610478042IN
0xc22C9A28...9b8B7EfD5
0 ETH0.0020475945
Set Token Claim ...116419472021-01-12 19:00:421170 days ago1610478042IN
0xc22C9A28...9b8B7EfD5
0 ETH0.0020475945
Set Token Claim ...116419472021-01-12 19:00:421170 days ago1610478042IN
0xc22C9A28...9b8B7EfD5
0 ETH0.0020475945
View all transactions

Advanced mode:
Parent Txn Hash Block From To Value
View All Internal Transactions
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
ArtBurn

Compiler Version
v0.7.5+commit.eb77ed08

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity Multiple files format)

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

pragma solidity >=0.6.0 <0.8.0;

import "./Context.sol";
import "./ERC721.sol";
import "./Strings.sol";
import "./Ownable.sol";
import "./SafeMath.sol";
import "./EnumerableSet.sol";


/**
 * @title ERC721 Burnable Token
 * @dev ERC721 Token that can be irreversibly burned (destroyed).
 */
contract ArtBurn is Ownable, ERC721 {
    
    using Strings for uint256;
    using SafeMath for uint256;
    using EnumerableSet for EnumerableSet.UintSet;


    struct Collection {
        string title;
        string description;
        // Keep track of how much of contract value will be transfered to the token owner
        // that burns the first tokenId in this collection where _withdrawOnBurn[tokenId] is true 
        uint balance;

        // If true, then it is not possible to mint more tokens to this collection ever.
        // Contract owner can only close collections. Nobody can open collections.
        bool closed;
    }
    
    // Array of all created collections.
    Collection[] private _collections;


    // Keep track of how much of contract value can be withdrawn by owner.
    // Payments to contract that are note through deposit(collectionId) is added here.
    uint256 public ownerBalance = 0;
    
    
    // mapping from collection to tokens
    mapping(uint256 => EnumerableSet.UintSet) private _collectionTokens;
    
    // mapping from collection to withdrawOnBurnTokens
    mapping(uint256 => EnumerableSet.UintSet) private _collectionWithdrawOnBurnTokens;

    // Mapping from token to the collection it is a part of
    mapping(uint256 => uint256) private _tokenCollection;

    // Mapping from keccak256(title) to collection_id+1.
    // The plus one part is since first collection will have id=0
    // and this mapping defaults to zero.
    // used to get collectionId from title
    mapping(bytes32 => uint256) private _collectionIdsPlusOne;



    // URL for the storefront-level metadata
    string private _contractURI;
    
    // Counter to keep track of curren token_id
    uint256 private _currentTokenId = 0;
    
    // Mapping from tokenId to contentURI. ContentURI cannot be changed after mint.
    // Should mint this to be the artwork IPFS-hash
    mapping(uint256 => string) private _contentURIs;
    
    // Mapping from collectionId to collectionContentBaseURI.
    // Some collections might not have a collectionContentBaseURI, for example when content is onchain.
    // while other might.
    mapping(uint256 => string) private _collectionContentBaseURIs;

    // Mapping from token to withdrawOnBurn flag
    mapping(uint256 => bool) private _withdrawOnBurn;

    
    // Mapping from tokenId to maximum edition that can be claimed
    // A claim will create a identical token as this, but with different edition number.
    mapping(uint256 => uint256) private _maximumEditions;
    
    // Mapping from tokenId to price increase per claim in percent
    // If greater than zero, then each claim will increase the price for the next claim by the percent given here.
    // Value 10 means 10 percent, then if price is: 0.1, then after 
    // one claim the price will increase to 0.11 for the next claim
    mapping(uint256 => uint8) private _percentPriceIncreasePerClaim;

    // Mapping from tokenId to current edition
    // The number of editions (claims made + 1) for a given tokenId
    // Will always be inclusive between 1 and _maximumEditions[tokenId]
    mapping(uint256 => uint256) private _editions;

    // Mapping from tokenId to price to claim
    mapping(uint256 => uint256) private _prices;
    
    // Mapping from tokenId to edition number
    mapping(uint256 => uint256) private _editionNumbers;

    // Mapping from tokenId to the token it was claimed from
    mapping(uint256 => uint256) private _claimedFromTokens;

    // Mapping from tokenId to the tokens that are claims of this token
    mapping(uint256 => EnumerableSet.UintSet) private _claimedTokens;


    bool locked;
    modifier noReentrancy() {
        require(!locked, "Reentrant call.");
        locked = true;
        _;
        locked = false;
    }

    constructor (string memory name, string memory symbol) ERC721(name, symbol) {}


    /**
    * @dev Claim next edition number of a claimable token.
    * The price increase by percentage specified in _percentPriceIncreasePerClaim[tokenId] after each claim.
    */
    function claim(uint256 tokenId) external payable noReentrancy {
        require(_exists(tokenId), "claim: Nonexistent token.");
        require(_maximumEditions[tokenId] > _editions[tokenId], "claim: Maximum supply already met.");
        require(msg.value >= _prices[tokenId], "claim: Insufficient amount to claim.");
        require(_prices[tokenId] > 0, "claim: Claim start price not set yet.");

        uint256 collectionId = _tokenCollection[tokenId];

        if(_collectionWithdrawOnBurnTokens[collectionId].length() > 0)
        { // If this collection still has tokens that will withdraw when burned, then add amount to collection balance
            _collections[collectionId].balance+=_prices[tokenId];
        }
        else
        { // If now withdraw on burn tokens exists, add to contract owner balance
            ownerBalance+=_prices[tokenId];
        }

        // If more than price was sent, we return the reaminig amout to the sender at the end of this function
        uint256 remains = msg.value.sub(_prices[tokenId]);
        
        // Make next claim more expensive
        _prices[tokenId] += _prices[tokenId].mul(_percentPriceIncreasePerClaim[tokenId]).div(100);
        
        // Mint the claim
        _mintClaim(msg.sender, tokenId);

        // Refund exceeding amount
        if(remains > 0){
            msg.sender.transfer(remains);    
        }
        
    }
    
    
    /**
    * @dev sets tokenClaimStartPrice for a tokenId.
    * This is the price for the first claim and can only be set before any claims are made.
    */
    function setTokenClaimStartPrice(uint256 tokenId, uint256 price) external onlyOwner {
        require(_exists(tokenId), 'setTokenClaimStartPrice: Nonexisting token.');
        require(_maximumEditions[tokenId] > 1, 'setTokenClaimStartPrice: Unclaimable token.');
        require(_editions[tokenId] == 1, 'setTokenClaimStartPrice: Start price can not be set after first claim.');
        _prices[tokenId] = price;
    }
    
    /**
    * @dev Returns true if this token is claimable, meaning it can have or actually have _maximumEditions[tokenId] > 1
    */
    function isClaimable(uint256 tokenId) external view returns (bool) {
        require(_exists(tokenId), 'setTokenClaimStartPrice: Nonexisting token.');
        if(_maximumEditions[tokenId] > 1)
        {
            return true;
        }
        else{
            return false;
        }
    }
    
    
    /**
    * @dev Mint token to an address and include it to the given collection.
    * tokenURI must be IPFS hash of metadata.json. 
    * contentURI must be IPFS hash of the actuall token content (the art piece).
    * If withdrawOnBurn is set to true, then token owner will receive collection balance, if any, when token is burned. 
    */
    function _mintClaim(address to, uint tokenId) private {
        require(to != address(0), "mintClaim: Cannot mint to zero address.");
        require(_exists(tokenId), "mintClaim: Nonexistent tokenId.");

        // Mint the token
        uint256 claimTokenId = _getNextTokenId();
        _safeMint(to, claimTokenId, "");
        _incrementTokenId();
        
        // Increase edition for source token and set edition number for claimed token
        uint256 editionNumber_ = _editions[tokenId].add(1);
        _editions[tokenId] = editionNumber_;
        _editionNumbers[claimTokenId] = editionNumber_;

        // Set tokenURI, contentURI and withdrawOnBurn to the same as source token
        _setTokenURI(claimTokenId, _tokenURIs[tokenId]);
        _contentURIs[claimTokenId] = _contentURIs[tokenId];
        _withdrawOnBurn[claimTokenId] = _withdrawOnBurn[tokenId];
        
        // Add token to same collection as source token
        _addTokenToCollection(claimTokenId, tokenCollection(tokenId));
        
        // Add claimed token to mapping with source token as key
        _claimedTokens[tokenId].add(claimTokenId);

        // Add to mapping used to retrieve the source tokenId
        _claimedFromTokens[claimTokenId] = tokenId;

    }

    function editionNumber(uint256 tokenId) external view returns (uint256) {
        require(_exists(tokenId), "editionNumber: Nonexistent tokenId.");

        return _editionNumbers[tokenId];
        
    }
    
    function maximumEdition(uint256 tokenId) external view returns (uint256) {
        if(_editionNumbers[tokenId] > 1){
           return _maximumEditions[_claimedFromTokens[tokenId]];
        }
        return _maximumEditions[tokenId];
    }
    
    function currentEdition(uint256 tokenId) external view returns (uint256) {
        if(_editionNumbers[tokenId] > 1){
           return _editions[_claimedFromTokens[tokenId]];
        }
        return _editions[tokenId];
    }
    
    /**
    * @dev sets tokenURI for a tokenId. It is necessary for the contract owner to be able to alter this, since 
    * third parties like opensesa requires baseURI to be part of the offchain metadata. So to avvoid "page not found" in the future
    * setTokenURI must be callable. However, contentURI (that is the IPFS hash of the art piece, can never be changed.)
    */
    function getTokenClaimPrice(uint256 tokenId) external view returns (uint256) {
        require(_exists(tokenId), 'getTokenClaimPrice: Nonexisting token.');
        return _prices[tokenId];
    }


    
    /**
    * @dev Returns the total number of collections ever created
    */
    function numberOfCollections() external view returns (uint256) {
        return _collections.length;
    }
    
    /**
    * @dev Returns title, description and balance for collectionId
    */
    function collection(uint256 collectionId) external view returns (string memory title, string memory description, uint256 balance) {
        require(_collectionExists(collectionId), "collection: Nonexistent collection.");
        return (_collections[collectionId].title, _collections[collectionId].description, _collections[collectionId].balance);
    }

    
    /**
    * @dev Returns true if collection is closed, false otherwise. Only open collections can be minted to.
    *  Owner can only close a collection, never open it. Once closed, it is closed forever.
    */
    function collectionIsClosed(uint256 collectionId) public view returns (bool) {
        return _collections[collectionId].closed;
    }

    
    /**
    * @dev Returns the total amount of tokens stored in the given collection.
    */
    function collectionSupply(uint collectionId) external view returns (uint256) {
        return _collectionTokens[collectionId].length();
    }

    /**
    * @dev Returns the total amount of tokens that have withdrawOnBurn set to true and belongs to the given collection.
    */
    function collectionWithdrawOnBurnSupply(uint collectionId) public view returns (uint256) {
        return _collectionWithdrawOnBurnTokens[collectionId].length();
    }
    
    /**
     * @dev Returns a token ID in collection at a given `index` of its token list.
     * Use along with {collectionSupply} to enumerate all of ``collection``'s tokens.
     */
    function tokenInCollectionByIndex(uint collectionId, uint256 index) external view returns (uint256) {
        return _collectionTokens[collectionId].at(index);
    }
    
    
    /**
    * @dev Returns the collection ID for the given token id
    */
    function tokenCollection(uint256 tokenId) public view returns (uint256) {
        require(_exists(tokenId), "tokenCollection: Nonexistent token");
        require(_collectionExists(_tokenCollection[tokenId]), "tokenCollection: Nonexistent collection.");
        return _tokenCollection[tokenId];
    }
    
    /**
    * @dev Returns a hash of the title. Is used by function that checks if collection title already exists.
    */
    function _collectionHashFromTitle(string memory title) internal pure returns (bytes32){
        return keccak256(abi.encodePacked(title));
    }

    /**
    * @dev Create a new collection it will be created as open and with balance equal to zero
    */
    function createCollection(string memory title, string memory description) external onlyOwner
    {
        require(_collectionIdsPlusOne[_collectionHashFromTitle(title)] == 0,"createCollection: Title already exists");
        uint256 collectionId = _collections.length;

        _collections.push(Collection(title, description, 0, false));
        
        // Save collectionId + 1 since mapping default to zero
        _collectionIdsPlusOne[_collectionHashFromTitle(title)] = collectionId.add(1);
    }
    
    /**
    * @dev Close an open collection. It is not possible to mint tokens to closed collections and a closed collection cannot be opened again.
    */
    function closeCollection(uint256 collectionId) external onlyOwner
    {
        require(_collectionExists(collectionId), "closeCollection: Nonexistent collection.");
       _collections[collectionId].closed = true;
    }
    
 
    /**
    * @dev Returns collectionId from title
    */
    function collectionIdFromTitle(string memory title) external view returns (uint256)
    {
        // Subtract one since mappings stores collectionId + 1
        uint256 _collectionId = _collectionIdsPlusOne[_collectionHashFromTitle(title)].sub(1);
        require(_collectionExists(_collectionId), "collectionIdFromTitle: Nonexistent collection.");
        return _collectionId;
    }
    
    /**
     * @dev Returns whether `collectionId` exists.
     *
     *
     * Collections start existing when they are added to the Collections array
     */
    function _collectionExists(uint256 collectionId) private view returns (bool) {
        return collectionId < _collections.length;
    }
    
    /**
    * @dev Mint token to an address and include it to the given collection.
    * tokenURI must be IPFS hash of metadata.json. 
    * contentURI must be IPFS hash of the actuall token content (the art piece).
    * If withdrawOnBurn is set to true, then token owner will receive collection balance, if any, when token is burned. 
    */
    function mintTo(address to, string memory _tokenURI, string memory _contentURI, bool withdrawOnBurn_, uint256 collectionId, uint256 _maximumEdition, uint8 percentPriceIncreasePerClaim) external onlyOwner {
        require(_collectionExists(collectionId), "mintTo: Nonexistent collection.");
        require(!collectionIsClosed(collectionId), "mintTo: Collection is closed.");
        require(bytes(_tokenURI).length > 0, "mintTo: tokenURI cannot be empty.");
        require(bytes(_contentURI).length > 0, "mintTo: contentURI cannot be empty.");
        require(_maximumEdition > 0, "mintTo: MaximumEdition must at least be one.");

        // Mint token
        uint256 tokenId = _getNextTokenId();
        _safeMint(to, tokenId, "");
        _incrementTokenId();

        // Set tokenURI, contentURI and withdrawOnBurn
        _setTokenURI(tokenId, _tokenURI);
        _contentURIs[tokenId] = _contentURI;
        _withdrawOnBurn[tokenId] = withdrawOnBurn_;
        
        _addTokenToCollection(tokenId, collectionId);
        
        _maximumEditions[tokenId] = _maximumEdition;
        _editions[tokenId]=1;
        _editionNumbers[tokenId]=1;    
        _percentPriceIncreasePerClaim[tokenId] = percentPriceIncreasePerClaim;
        
    }

    /**
    * @dev As part of minting, the token must be added to a collection. This is a helper function to do so. 
    */    
    function _addTokenToCollection(uint256 tokenId, uint256 collectionId) internal {
        _tokenCollection[tokenId] = collectionId;
        _collectionTokens[collectionId].add(tokenId);
        
        // If token is burnable we must add it to the list of burnable tokens in collection
        if(_withdrawOnBurn[tokenId]){
            _collectionWithdrawOnBurnTokens[collectionId].add(tokenId);
        }
        
    }

    /**
    * @dev calculates the next token ID based on value of _currentTokenId
    * @return uint256 for the next token ID
    */
    function _getNextTokenId() private view returns (uint256) {
        return _currentTokenId.add(1);
    }

    /**
    * @dev increments the value of _currentTokenId
    */
    function _incrementTokenId() private {
        _currentTokenId++;
    }


   
    
    /**
    * @dev return the contentURI. Will concatenated with nonempty _collectionContentBaseURIs[collectionId].
    */
    function contentURI(uint256 tokenId) external view returns (string memory) {
        require(_exists(tokenId), "contentURI: Nonexistent token");

        string memory _contentURI = _contentURIs[tokenId];
        uint256 collectionId = _tokenCollection[tokenId];

        // If there is no base URI, return the token content URI.
        if (bytes(_collectionContentBaseURIs[collectionId]).length == 0) {
            return _contentURI;
        }
        
        // Else, concatenate the baseURI and tokenURI (via abi.encodePacked).
        return string(abi.encodePacked(_collectionContentBaseURIs[collectionId], _contentURI));
        
    }
    
    
    /**
    * @dev Returns true if tokenId has withdrawOnBurn set to true. Meaning, token owner will receive
    * collection balance when token is burned.
    */
    function willWithdrawWhenBurned(uint256 tokenId) external view returns (bool) {
        require(_exists(tokenId), "willWithdrawWhenBurned: Nonexistent token");
        return _withdrawOnBurn[tokenId];
    }
     
    /**
    * @dev Use this to deposit ETH to a collection's balance. 
    * It is only possible to send ETH to a collection that exists and that have at least one token with withdrawOnBurn equal to true
    */
    function deposit(uint256 collectionId) external payable {
        require(_collectionExists(collectionId), "deposit: Nonexistent collection.");
        require(collectionWithdrawOnBurnSupply(collectionId) > 0, "deposit: No WithdrawOnBurn tokens in collection");
        _collections[collectionId].balance+=msg.value;
    }

    /**
    * @dev Fallback that will ensure ETH transfered to the contract that are not depsoits to some collection can be withdrawn by contract owner.
    */
    fallback() external payable { ownerBalance+=msg.value; }

    /**
    * @dev Contract can recieve, and contract owner withdraw, ETH that are not deposits to a collection balance.
    */
    receive() external payable {
        ownerBalance+=msg.value;
    }

    /**
    * @dev Contract owner can withdraw contract balance excluding the amount held by collection balances.
    */
    function withdraw() external onlyOwner noReentrancy {
        uint256 value = ownerBalance;
        ownerBalance=0;
        payable(owner()).transfer(value);
    }
    
    /**
    * @dev returns contractURI used to get contract metadata by third parties like opensea
    */
    function contractURI() external view returns (string memory) {
         
        // If there is no base URI, return _contractURI (that is only the hash).
        if (bytes(baseURI()).length == 0) {
            return _contractURI;
        }
        
        return string(abi.encodePacked(baseURI(), _contractURI));
    
    }
    
    /**
    * @dev sets tokenURI for a tokenId. It is necessary for the contract owner to be able to alter this, since 
    * third parties like opensesa requires baseURI to be part of the offchain metadata. So to avvoid "page not found" in the future
    * setTokenURI must be callable. However, contentURI (that is the IPFS hash of the art piece, can never be changed.)
    */
    function setTokenURI(uint256 tokenId, string memory _tokenURI) external onlyOwner {
        _setTokenURI(tokenId, _tokenURI);  
    }

    /**
    * @dev set contractURI. A url to offline metadata with information like contract logo/image, description.
    * Used by thirdparties like opensea.
    */
    function setContractURI(string memory contractURI_) external onlyOwner {
        _contractURI = contractURI_;
    }
    

    /**
    * @dev sets the baseURI which is concatenated with tokenURI and contractURI when calls are made to retrieve them from the contract.
    */
    function setBaseURI(string memory baseURI_) external onlyOwner {
        _setBaseURI(baseURI_);
    }

    /**
    * @dev sets the collectionContentBaseURI which is concatenated with contentURI when calls are made to retrieve them from the contract.
    */
    function setCollectionContentBaseURI(uint256 collectionId, string memory contentBaseURI) external onlyOwner {
        require(_collectionExists(collectionId), "setCollectionContentBaseURI: Nonexistent collection.");
        _collectionContentBaseURIs[collectionId] = contentBaseURI;
    }
    
    /**
     * @dev Burns `tokenId`. See {ERC721-_burn}.
     *
     * Requirements:
     *
     * - The caller must own `tokenId` or be an approved operator.
     * - `tokenId` must exist.
     */
    function burn(uint256 tokenId) external noReentrancy  {
        //solhint-disable-next-line max-line-length
        require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721Burnable: caller is not owner nor approved");
        require(_exists(tokenId), "burn: Query for nonexistent token");

        uint256 _collectionId = _tokenCollection[tokenId];

        // Clear custom metadata (if any)
        if (bytes(_contentURIs[tokenId]).length != 0) {
            delete _contentURIs[tokenId];
        }
        
        delete _maximumEditions[tokenId];
        delete _editionNumbers[tokenId];
        delete _percentPriceIncreasePerClaim[tokenId];
        delete _tokenCollection[tokenId];
        
        
        _collectionTokens[_collectionId].remove(tokenId);
        address payable tokenOwner = payable(ownerOf(tokenId));
        
        _burn(tokenId);

        // Clear data if token is a token claimed from another
        if(_claimedFromTokens[tokenId] > 0){
            _claimedTokens[_claimedFromTokens[tokenId]].remove(tokenId);
            delete _claimedFromTokens[tokenId];
            delete _editionNumbers[tokenId];
        }


        if(_withdrawOnBurn[tokenId]) {
            // Remove from list of collections withdrawOnBurnTokens
            _collectionWithdrawOnBurnTokens[_collectionId].remove(tokenId);
            
            // Reset metadata
           delete _withdrawOnBurn[tokenId];
            
            // transfer collection balance to token owner and set balance to zero.
            uint256 _collectionBalance = _collections[_collectionId].balance;
            if(_collectionBalance > 0){
                _collections[_collectionId].balance = 0;
                tokenOwner.transfer(_collectionBalance);
            }
            
        }
        
    }
    

}

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

pragma solidity >=0.6.2 <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;
        // solhint-disable-next-line no-inline-assembly
        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");

        // solhint-disable-next-line avoid-low-level-calls, avoid-call-value
        (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");

        // solhint-disable-next-line avoid-low-level-calls
        (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");

        // solhint-disable-next-line avoid-low-level-calls
        (bool success, bytes memory returndata) = target.staticcall(data);
        return _verifyCallResult(success, returndata, errorMessage);
    }

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

                // solhint-disable-next-line no-inline-assembly
                assembly {
                    let returndata_size := mload(returndata)
                    revert(add(32, returndata), returndata_size)
                }
            } else {
                revert(errorMessage);
            }
        }
    }
}

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

pragma solidity >=0.6.0 <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 GSN 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 payable) {
        return msg.sender;
    }

    function _msgData() internal view virtual returns (bytes memory) {
        this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691
        return msg.data;
    }
}

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

pragma solidity >=0.6.0 <0.8.0;

/**
 * @dev Library for managing an enumerable variant of Solidity's
 * https://solidity.readthedocs.io/en/latest/types.html#mapping-types[`mapping`]
 * type.
 *
 * Maps have the following properties:
 *
 * - Entries are added, removed, and checked for existence in constant time
 * (O(1)).
 * - Entries are enumerated in O(n). No guarantees are made on the ordering.
 *
 * ```
 * contract Example {
 *     // Add the library methods
 *     using EnumerableMap for EnumerableMap.UintToAddressMap;
 *
 *     // Declare a set state variable
 *     EnumerableMap.UintToAddressMap private myMap;
 * }
 * ```
 *
 * As of v3.0.0, only maps of type `uint256 -> address` (`UintToAddressMap`) are
 * supported.
 */
library EnumerableMap {
    // To implement this library for multiple types with as little code
    // repetition as possible, we write it in terms of a generic Map type with
    // bytes32 keys and values.
    // The Map implementation uses private functions, and user-facing
    // implementations (such as Uint256ToAddressMap) are just wrappers around
    // the underlying Map.
    // This means that we can only create new EnumerableMaps for types that fit
    // in bytes32.

    struct MapEntry {
        bytes32 _key;
        bytes32 _value;
    }

    struct Map {
        // Storage of map keys and values
        MapEntry[] _entries;

        // Position of the entry defined by a key in the `entries` array, plus 1
        // because index 0 means a key is not in the map.
        mapping (bytes32 => uint256) _indexes;
    }

    /**
     * @dev Adds a key-value pair to a map, or updates the value for an existing
     * key. O(1).
     *
     * Returns true if the key was added to the map, that is if it was not
     * already present.
     */
    function _set(Map storage map, bytes32 key, bytes32 value) private returns (bool) {
        // We read and store the key's index to prevent multiple reads from the same storage slot
        uint256 keyIndex = map._indexes[key];

        if (keyIndex == 0) { // Equivalent to !contains(map, key)
            map._entries.push(MapEntry({ _key: key, _value: value }));
            // The entry is stored at length-1, but we add 1 to all indexes
            // and use 0 as a sentinel value
            map._indexes[key] = map._entries.length;
            return true;
        } else {
            map._entries[keyIndex - 1]._value = value;
            return false;
        }
    }

    /**
     * @dev Removes a key-value pair from a map. O(1).
     *
     * Returns true if the key was removed from the map, that is if it was present.
     */
    function _remove(Map storage map, bytes32 key) private returns (bool) {
        // We read and store the key's index to prevent multiple reads from the same storage slot
        uint256 keyIndex = map._indexes[key];

        if (keyIndex != 0) { // Equivalent to contains(map, key)
            // To delete a key-value pair from the _entries array in O(1), we swap the entry to delete with the last one
            // in the array, and then remove the last entry (sometimes called as 'swap and pop').
            // This modifies the order of the array, as noted in {at}.

            uint256 toDeleteIndex = keyIndex - 1;
            uint256 lastIndex = map._entries.length - 1;

            // When the entry to delete is the last one, the swap operation is unnecessary. However, since this occurs
            // so rarely, we still do the swap anyway to avoid the gas cost of adding an 'if' statement.

            MapEntry storage lastEntry = map._entries[lastIndex];

            // Move the last entry to the index where the entry to delete is
            map._entries[toDeleteIndex] = lastEntry;
            // Update the index for the moved entry
            map._indexes[lastEntry._key] = toDeleteIndex + 1; // All indexes are 1-based

            // Delete the slot where the moved entry was stored
            map._entries.pop();

            // Delete the index for the deleted slot
            delete map._indexes[key];

            return true;
        } else {
            return false;
        }
    }

    /**
     * @dev Returns true if the key is in the map. O(1).
     */
    function _contains(Map storage map, bytes32 key) private view returns (bool) {
        return map._indexes[key] != 0;
    }

    /**
     * @dev Returns the number of key-value pairs in the map. O(1).
     */
    function _length(Map storage map) private view returns (uint256) {
        return map._entries.length;
    }

   /**
    * @dev Returns the key-value pair stored at position `index` in the map. O(1).
    *
    * Note that there are no guarantees on the ordering of entries inside the
    * array, and it may change when more entries are added or removed.
    *
    * Requirements:
    *
    * - `index` must be strictly less than {length}.
    */
    function _at(Map storage map, uint256 index) private view returns (bytes32, bytes32) {
        require(map._entries.length > index, "EnumerableMap: index out of bounds");

        MapEntry storage entry = map._entries[index];
        return (entry._key, entry._value);
    }

    /**
     * @dev Returns the value associated with `key`.  O(1).
     *
     * Requirements:
     *
     * - `key` must be in the map.
     */
    function _get(Map storage map, bytes32 key) private view returns (bytes32) {
        return _get(map, key, "EnumerableMap: nonexistent key");
    }

    /**
     * @dev Same as {_get}, with a custom error message when `key` is not in the map.
     */
    function _get(Map storage map, bytes32 key, string memory errorMessage) private view returns (bytes32) {
        uint256 keyIndex = map._indexes[key];
        require(keyIndex != 0, errorMessage); // Equivalent to contains(map, key)
        return map._entries[keyIndex - 1]._value; // All indexes are 1-based
    }

    // UintToAddressMap

    struct UintToAddressMap {
        Map _inner;
    }

    /**
     * @dev Adds a key-value pair to a map, or updates the value for an existing
     * key. O(1).
     *
     * Returns true if the key was added to the map, that is if it was not
     * already present.
     */
    function set(UintToAddressMap storage map, uint256 key, address value) internal returns (bool) {
        return _set(map._inner, bytes32(key), bytes32(uint256(value)));
    }

    /**
     * @dev Removes a value from a set. O(1).
     *
     * Returns true if the key was removed from the map, that is if it was present.
     */
    function remove(UintToAddressMap storage map, uint256 key) internal returns (bool) {
        return _remove(map._inner, bytes32(key));
    }

    /**
     * @dev Returns true if the key is in the map. O(1).
     */
    function contains(UintToAddressMap storage map, uint256 key) internal view returns (bool) {
        return _contains(map._inner, bytes32(key));
    }

    /**
     * @dev Returns the number of elements in the map. O(1).
     */
    function length(UintToAddressMap storage map) internal view returns (uint256) {
        return _length(map._inner);
    }

   /**
    * @dev Returns the element stored at position `index` in the set. O(1).
    * Note that there are no guarantees on the ordering of values inside the
    * array, and it may change when more values are added or removed.
    *
    * Requirements:
    *
    * - `index` must be strictly less than {length}.
    */
    function at(UintToAddressMap storage map, uint256 index) internal view returns (uint256, address) {
        (bytes32 key, bytes32 value) = _at(map._inner, index);
        return (uint256(key), address(uint256(value)));
    }

    /**
     * @dev Returns the value associated with `key`.  O(1).
     *
     * Requirements:
     *
     * - `key` must be in the map.
     */
    function get(UintToAddressMap storage map, uint256 key) internal view returns (address) {
        return address(uint256(_get(map._inner, bytes32(key))));
    }

    /**
     * @dev Same as {get}, with a custom error message when `key` is not in the map.
     */
    function get(UintToAddressMap storage map, uint256 key, string memory errorMessage) internal view returns (address) {
        return address(uint256(_get(map._inner, bytes32(key), errorMessage)));
    }
}

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

pragma solidity >=0.6.0 <0.8.0;

/**
 * @dev Library for managing
 * https://en.wikipedia.org/wiki/Set_(abstract_data_type)[sets] of primitive
 * types.
 *
 * Sets have the following properties:
 *
 * - Elements are added, removed, and checked for existence in constant time
 * (O(1)).
 * - Elements are enumerated in O(n). No guarantees are made on the ordering.
 *
 * ```
 * contract Example {
 *     // Add the library methods
 *     using EnumerableSet for EnumerableSet.AddressSet;
 *
 *     // Declare a set state variable
 *     EnumerableSet.AddressSet private mySet;
 * }
 * ```
 *
 * As of v3.3.0, sets of type `bytes32` (`Bytes32Set`), `address` (`AddressSet`)
 * and `uint256` (`UintSet`) are supported.
 */
library EnumerableSet {
    // To implement this library for multiple types with as little code
    // repetition as possible, we write it in terms of a generic Set type with
    // bytes32 values.
    // The Set implementation uses private functions, and user-facing
    // implementations (such as AddressSet) are just wrappers around the
    // underlying Set.
    // This means that we can only create new EnumerableSets for types that fit
    // in bytes32.

    struct Set {
        // Storage of set values
        bytes32[] _values;

        // Position of the value in the `values` array, plus 1 because index 0
        // means a value is not in the set.
        mapping (bytes32 => uint256) _indexes;
    }

    /**
     * @dev Add a value to a set. O(1).
     *
     * Returns true if the value was added to the set, that is if it was not
     * already present.
     */
    function _add(Set storage set, bytes32 value) private returns (bool) {
        if (!_contains(set, value)) {
            set._values.push(value);
            // The value is stored at length-1, but we add 1 to all indexes
            // and use 0 as a sentinel value
            set._indexes[value] = set._values.length;
            return true;
        } else {
            return false;
        }
    }

    /**
     * @dev Removes a value from a set. O(1).
     *
     * Returns true if the value was removed from the set, that is if it was
     * present.
     */
    function _remove(Set storage set, bytes32 value) private returns (bool) {
        // We read and store the value's index to prevent multiple reads from the same storage slot
        uint256 valueIndex = set._indexes[value];

        if (valueIndex != 0) { // Equivalent to contains(set, value)
            // To delete an element from the _values array in O(1), we swap the element to delete with the last one in
            // the array, and then remove the last element (sometimes called as 'swap and pop').
            // This modifies the order of the array, as noted in {at}.

            uint256 toDeleteIndex = valueIndex - 1;
            uint256 lastIndex = set._values.length - 1;

            // When the value to delete is the last one, the swap operation is unnecessary. However, since this occurs
            // so rarely, we still do the swap anyway to avoid the gas cost of adding an 'if' statement.

            bytes32 lastvalue = set._values[lastIndex];

            // Move the last value to the index where the value to delete is
            set._values[toDeleteIndex] = lastvalue;
            // Update the index for the moved value
            set._indexes[lastvalue] = toDeleteIndex + 1; // All indexes are 1-based

            // Delete the slot where the moved value was stored
            set._values.pop();

            // Delete the index for the deleted slot
            delete set._indexes[value];

            return true;
        } else {
            return false;
        }
    }

    /**
     * @dev Returns true if the value is in the set. O(1).
     */
    function _contains(Set storage set, bytes32 value) private view returns (bool) {
        return set._indexes[value] != 0;
    }

    /**
     * @dev Returns the number of values on the set. O(1).
     */
    function _length(Set storage set) private view returns (uint256) {
        return set._values.length;
    }

   /**
    * @dev Returns the value stored at position `index` in the set. O(1).
    *
    * Note that there are no guarantees on the ordering of values inside the
    * array, and it may change when more values are added or removed.
    *
    * Requirements:
    *
    * - `index` must be strictly less than {length}.
    */
    function _at(Set storage set, uint256 index) private view returns (bytes32) {
        require(set._values.length > index, "EnumerableSet: index out of bounds");
        return set._values[index];
    }

    // Bytes32Set

    struct Bytes32Set {
        Set _inner;
    }

    /**
     * @dev Add a value to a set. O(1).
     *
     * Returns true if the value was added to the set, that is if it was not
     * already present.
     */
    function add(Bytes32Set storage set, bytes32 value) internal returns (bool) {
        return _add(set._inner, value);
    }

    /**
     * @dev Removes a value from a set. O(1).
     *
     * Returns true if the value was removed from the set, that is if it was
     * present.
     */
    function remove(Bytes32Set storage set, bytes32 value) internal returns (bool) {
        return _remove(set._inner, value);
    }

    /**
     * @dev Returns true if the value is in the set. O(1).
     */
    function contains(Bytes32Set storage set, bytes32 value) internal view returns (bool) {
        return _contains(set._inner, value);
    }

    /**
     * @dev Returns the number of values in the set. O(1).
     */
    function length(Bytes32Set storage set) internal view returns (uint256) {
        return _length(set._inner);
    }

   /**
    * @dev Returns the value stored at position `index` in the set. O(1).
    *
    * Note that there are no guarantees on the ordering of values inside the
    * array, and it may change when more values are added or removed.
    *
    * Requirements:
    *
    * - `index` must be strictly less than {length}.
    */
    function at(Bytes32Set storage set, uint256 index) internal view returns (bytes32) {
        return _at(set._inner, index);
    }

    // AddressSet

    struct AddressSet {
        Set _inner;
    }

    /**
     * @dev Add a value to a set. O(1).
     *
     * Returns true if the value was added to the set, that is if it was not
     * already present.
     */
    function add(AddressSet storage set, address value) internal returns (bool) {
        return _add(set._inner, bytes32(uint256(value)));
    }

    /**
     * @dev Removes a value from a set. O(1).
     *
     * Returns true if the value was removed from the set, that is if it was
     * present.
     */
    function remove(AddressSet storage set, address value) internal returns (bool) {
        return _remove(set._inner, bytes32(uint256(value)));
    }

    /**
     * @dev Returns true if the value is in the set. O(1).
     */
    function contains(AddressSet storage set, address value) internal view returns (bool) {
        return _contains(set._inner, bytes32(uint256(value)));
    }

    /**
     * @dev Returns the number of values in the set. O(1).
     */
    function length(AddressSet storage set) internal view returns (uint256) {
        return _length(set._inner);
    }

   /**
    * @dev Returns the value stored at position `index` in the set. O(1).
    *
    * Note that there are no guarantees on the ordering of values inside the
    * array, and it may change when more values are added or removed.
    *
    * Requirements:
    *
    * - `index` must be strictly less than {length}.
    */
    function at(AddressSet storage set, uint256 index) internal view returns (address) {
        return address(uint256(_at(set._inner, index)));
    }


    // UintSet

    struct UintSet {
        Set _inner;
    }

    /**
     * @dev Add a value to a set. O(1).
     *
     * Returns true if the value was added to the set, that is if it was not
     * already present.
     */
    function add(UintSet storage set, uint256 value) internal returns (bool) {
        return _add(set._inner, bytes32(value));
    }

    /**
     * @dev Removes a value from a set. O(1).
     *
     * Returns true if the value was removed from the set, that is if it was
     * present.
     */
    function remove(UintSet storage set, uint256 value) internal returns (bool) {
        return _remove(set._inner, bytes32(value));
    }

    /**
     * @dev Returns true if the value is in the set. O(1).
     */
    function contains(UintSet storage set, uint256 value) internal view returns (bool) {
        return _contains(set._inner, bytes32(value));
    }

    /**
     * @dev Returns the number of values on the set. O(1).
     */
    function length(UintSet storage set) internal view returns (uint256) {
        return _length(set._inner);
    }

   /**
    * @dev Returns the value stored at position `index` in the set. O(1).
    *
    * Note that there are no guarantees on the ordering of values inside the
    * array, and it may change when more values are added or removed.
    *
    * Requirements:
    *
    * - `index` must be strictly less than {length}.
    */
    function at(UintSet storage set, uint256 index) internal view returns (uint256) {
        return uint256(_at(set._inner, index));
    }
}

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

pragma solidity >=0.6.0 <0.8.0;

import "./IERC165.sol";

/**
 * @dev Implementation of the {IERC165} interface.
 *
 * Contracts may inherit from this and call {_registerInterface} to declare
 * their support of an interface.
 */
abstract contract ERC165 is IERC165 {
    /*
     * bytes4(keccak256('supportsInterface(bytes4)')) == 0x01ffc9a7
     */
    bytes4 private constant _INTERFACE_ID_ERC165 = 0x01ffc9a7;

    /**
     * @dev Mapping of interface ids to whether or not it's supported.
     */
    mapping(bytes4 => bool) private _supportedInterfaces;

    constructor () internal {
        // Derived contracts need only register support for their own interfaces,
        // we register support for ERC165 itself here
        _registerInterface(_INTERFACE_ID_ERC165);
    }

    /**
     * @dev See {IERC165-supportsInterface}.
     *
     * Time complexity O(1), guaranteed to always use less than 30 000 gas.
     */
    function supportsInterface(bytes4 interfaceId) public view override returns (bool) {
        return _supportedInterfaces[interfaceId];
    }

    /**
     * @dev Registers the contract as an implementer of the interface defined by
     * `interfaceId`. Support of the actual ERC165 interface is automatic and
     * registering its interface id is not required.
     *
     * See {IERC165-supportsInterface}.
     *
     * Requirements:
     *
     * - `interfaceId` cannot be the ERC165 invalid interface (`0xffffffff`).
     */
    function _registerInterface(bytes4 interfaceId) internal virtual {
        require(interfaceId != 0xffffffff, "ERC165: invalid interface id");
        _supportedInterfaces[interfaceId] = true;
    }
}

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

pragma solidity >=0.6.0 <0.8.0;

import "./Context.sol";
import "./IERC721.sol";
import "./IERC721Metadata.sol";
import "./IERC721Enumerable.sol";
import "./IERC721Receiver.sol";
import "./ERC165.sol";
import "./SafeMath.sol";
import "./Address.sol";
import "./EnumerableSet.sol";
import "./EnumerableMap.sol";
import "./Strings.sol";

/**
 * @title ERC721 Non-Fungible Token Standard basic implementation
 * @dev see https://eips.ethereum.org/EIPS/eip-721
 */
contract ERC721 is Context, ERC165, IERC721, IERC721Metadata, IERC721Enumerable {
    using SafeMath for uint256;
    using Address for address;
    using EnumerableSet for EnumerableSet.UintSet;
    using EnumerableMap for EnumerableMap.UintToAddressMap;
    using Strings for uint256;

    // Equals to `bytes4(keccak256("onERC721Received(address,address,uint256,bytes)"))`
    // which can be also obtained as `IERC721Receiver(0).onERC721Received.selector`
    bytes4 private constant _ERC721_RECEIVED = 0x150b7a02;

    // Mapping from holder address to their (enumerable) set of owned tokens
    mapping (address => EnumerableSet.UintSet) private _holderTokens;

    // Enumerable mapping from token ids to their owners
    EnumerableMap.UintToAddressMap private _tokenOwners;

    // 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;

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

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

    // Base URI
    string private _baseURI;

    /*
     *     bytes4(keccak256('balanceOf(address)')) == 0x70a08231
     *     bytes4(keccak256('ownerOf(uint256)')) == 0x6352211e
     *     bytes4(keccak256('approve(address,uint256)')) == 0x095ea7b3
     *     bytes4(keccak256('getApproved(uint256)')) == 0x081812fc
     *     bytes4(keccak256('setApprovalForAll(address,bool)')) == 0xa22cb465
     *     bytes4(keccak256('isApprovedForAll(address,address)')) == 0xe985e9c5
     *     bytes4(keccak256('transferFrom(address,address,uint256)')) == 0x23b872dd
     *     bytes4(keccak256('safeTransferFrom(address,address,uint256)')) == 0x42842e0e
     *     bytes4(keccak256('safeTransferFrom(address,address,uint256,bytes)')) == 0xb88d4fde
     *
     *     => 0x70a08231 ^ 0x6352211e ^ 0x095ea7b3 ^ 0x081812fc ^
     *        0xa22cb465 ^ 0xe985e9c5 ^ 0x23b872dd ^ 0x42842e0e ^ 0xb88d4fde == 0x80ac58cd
     */
    bytes4 private constant _INTERFACE_ID_ERC721 = 0x80ac58cd;

    /*
     *     bytes4(keccak256('name()')) == 0x06fdde03
     *     bytes4(keccak256('symbol()')) == 0x95d89b41
     *     bytes4(keccak256('tokenURI(uint256)')) == 0xc87b56dd
     *
     *     => 0x06fdde03 ^ 0x95d89b41 ^ 0xc87b56dd == 0x5b5e139f
     */
    bytes4 private constant _INTERFACE_ID_ERC721_METADATA = 0x5b5e139f;

    /*
     *     bytes4(keccak256('totalSupply()')) == 0x18160ddd
     *     bytes4(keccak256('tokenOfOwnerByIndex(address,uint256)')) == 0x2f745c59
     *     bytes4(keccak256('tokenByIndex(uint256)')) == 0x4f6ccce7
     *
     *     => 0x18160ddd ^ 0x2f745c59 ^ 0x4f6ccce7 == 0x780e9d63
     */
    bytes4 private constant _INTERFACE_ID_ERC721_ENUMERABLE = 0x780e9d63;

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

        // register the supported interfaces to conform to ERC721 via ERC165
        _registerInterface(_INTERFACE_ID_ERC721);
        _registerInterface(_INTERFACE_ID_ERC721_METADATA);
        _registerInterface(_INTERFACE_ID_ERC721_ENUMERABLE);
    }

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

        return _holderTokens[owner].length();
    }

    /**
     * @dev See {IERC721-ownerOf}.
     */
    function ownerOf(uint256 tokenId) public view override returns (address) {
        return _tokenOwners.get(tokenId, "ERC721: owner query for nonexistent token");
    }

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

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

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

        string memory _tokenURI = _tokenURIs[tokenId];

        // If there is no base URI, return the token URI.
        if (bytes(_baseURI).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(_baseURI, _tokenURI));
        }
        // If there is a baseURI but no tokenURI, concatenate the tokenID to the baseURI.
        return string(abi.encodePacked(_baseURI, tokenId.toString()));
    }

    /**
    * @dev Returns the base URI set via {_setBaseURI}. This will be
    * automatically added as a prefix in {tokenURI} to each token's URI, or
    * to the token ID if no specific URI is set for that token ID.
    */
    function baseURI() public view returns (string memory) {
        return _baseURI;
    }

    /**
     * @dev See {IERC721Enumerable-tokenOfOwnerByIndex}.
     */
    function tokenOfOwnerByIndex(address owner, uint256 index) public view override returns (uint256) {
        return _holderTokens[owner].at(index);
    }

    /**
     * @dev See {IERC721Enumerable-totalSupply}.
     */
    function totalSupply() public view override returns (uint256) {
        // _tokenOwners are indexed by tokenIds, so .length() returns the number of tokenIds
        return _tokenOwners.length();
    }

    /**
     * @dev See {IERC721Enumerable-tokenByIndex}.
     */
    function tokenByIndex(uint256 index) public view override returns (uint256) {
        (uint256 tokenId, ) = _tokenOwners.at(index);
        return tokenId;
    }

    /**
     * @dev See {IERC721-approve}.
     */
    function approve(address to, uint256 tokenId) public virtual override {
        address owner = 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 override returns (address) {
        require(_exists(tokenId), "ERC721: approved query for nonexistent token");

        return _tokenApprovals[tokenId];
    }

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

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

    /**
     * @dev See {IERC721-isApprovedForAll}.
     */
    function isApprovedForAll(address owner, address operator) public view 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 returns (bool) {
        return _tokenOwners.contains(tokenId);
    }

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

    /**
     * @dev Safely mints `tokenId` and transfers it to `to`.
     *
     * Requirements:
     d*
     * - `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);

        _holderTokens[to].add(tokenId);

        _tokenOwners.set(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 = ownerOf(tokenId);

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

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

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

        _holderTokens[owner].remove(tokenId);

        _tokenOwners.remove(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(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);

        _holderTokens[from].remove(tokenId);
        _holderTokens[to].add(tokenId);

        _tokenOwners.set(tokenId, to);

        emit Transfer(from, to, 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), "ERC721Metadata: URI set of nonexistent token");
        _tokenURIs[tokenId] = _tokenURI;
    }

    /**
     * @dev Internal function to set the base URI for all token IDs. It is
     * automatically added as a prefix to the value returned in {tokenURI},
     * or to the token ID if {tokenURI} is empty.
     */
    function _setBaseURI(string memory baseURI_) internal virtual {
        _baseURI = baseURI_;
    }

    /**
     * @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()) {
            return true;
        }
        bytes memory returndata = to.functionCall(abi.encodeWithSelector(
            IERC721Receiver(to).onERC721Received.selector,
            _msgSender(),
            from,
            tokenId,
            _data
        ), "ERC721: transfer to non ERC721Receiver implementer");
        bytes4 retval = abi.decode(returndata, (bytes4));
        return (retval == _ERC721_RECEIVED);
    }

    function _approve(address to, uint256 tokenId) private {
        _tokenApprovals[tokenId] = to;
        emit Approval(ownerOf(tokenId), to, tokenId);
    }

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

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

pragma solidity >=0.6.0 <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 9 of 15: IERC721.sol
// SPDX-License-Identifier: MIT

pragma solidity >=0.6.2 <0.8.0;

import "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 10 of 15: IERC721Enumerable.sol
// SPDX-License-Identifier: MIT

pragma solidity >=0.6.2 <0.8.0;

import "./IERC721.sol";

/**
 * @title ERC-721 Non-Fungible Token Standard, optional enumeration extension
 * @dev See https://eips.ethereum.org/EIPS/eip-721
 */
interface IERC721Enumerable is IERC721 {

    /**
     * @dev Returns the total amount of tokens stored by the contract.
     */
    function totalSupply() external view returns (uint256);

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

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

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

pragma solidity >=0.6.2 <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 12 of 15: IERC721Receiver.sol
// SPDX-License-Identifier: MIT

pragma solidity >=0.6.0 <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 13 of 15: Ownable.sol
// SPDX-License-Identifier: MIT

pragma solidity >=0.6.0 <0.8.0;

import "./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 () internal {
        address msgSender = _msgSender();
        _owner = msgSender;
        emit OwnershipTransferred(address(0), msgSender);
    }

    /**
     * @dev Returns the address of the current owner.
     */
    function owner() public view 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 {
        emit OwnershipTransferred(_owner, address(0));
        _owner = 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");
        emit OwnershipTransferred(_owner, newOwner);
        _owner = newOwner;
    }
}

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

pragma solidity >=0.6.0 <0.8.0;

/**
 * @dev Wrappers over Solidity's arithmetic operations with added overflow
 * checks.
 *
 * Arithmetic operations in Solidity wrap on overflow. This can easily result
 * in bugs, because programmers usually assume that an overflow raises an
 * error, which is the standard behavior in high level programming languages.
 * `SafeMath` restores this intuition by reverting the transaction when an
 * operation overflows.
 *
 * Using this library instead of the unchecked operations eliminates an entire
 * class of bugs, so it's recommended to use it always.
 */
library SafeMath {
    /**
     * @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) {
        uint256 c = a + b;
        require(c >= a, "SafeMath: addition overflow");

        return c;
    }

    /**
     * @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 sub(a, b, "SafeMath: subtraction overflow");
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting with custom message on
     * overflow (when the result is negative).
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     *
     * - Subtraction cannot overflow.
     */
    function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        require(b <= a, errorMessage);
        uint256 c = a - b;

        return c;
    }

    /**
     * @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) {
        // 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 0;
        }

        uint256 c = a * b;
        require(c / a == b, "SafeMath: multiplication overflow");

        return c;
    }

    /**
     * @dev Returns the integer division of two unsigned integers. Reverts 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) internal pure returns (uint256) {
        return div(a, b, "SafeMath: division by zero");
    }

    /**
     * @dev Returns the integer division of two unsigned integers. Reverts 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) {
        require(b > 0, errorMessage);
        uint256 c = a / b;
        // assert(a == b * c + a % b); // There is no case in which this doesn't hold

        return c;
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * Reverts 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 mod(a, b, "SafeMath: modulo by zero");
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * Reverts with custom message 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, string memory errorMessage) internal pure returns (uint256) {
        require(b != 0, errorMessage);
        return a % b;
    }
}

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

pragma solidity >=0.6.0 <0.8.0;

/**
 * @dev String operations.
 */
library Strings {
    /**
     * @dev Converts a `uint256` to its ASCII `string` 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);
        uint256 index = digits - 1;
        temp = value;
        while (temp != 0) {
            buffer[index--] = byte(uint8(48 + temp % 10));
            temp /= 10;
        }
        return string(buffer);
    }
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string","name":"name","type":"string"},{"internalType":"string","name":"symbol","type":"string"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"stateMutability":"payable","type":"fallback"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"claim","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"collectionId","type":"uint256"}],"name":"closeCollection","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"collectionId","type":"uint256"}],"name":"collection","outputs":[{"internalType":"string","name":"title","type":"string"},{"internalType":"string","name":"description","type":"string"},{"internalType":"uint256","name":"balance","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"string","name":"title","type":"string"}],"name":"collectionIdFromTitle","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"collectionId","type":"uint256"}],"name":"collectionIsClosed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"collectionId","type":"uint256"}],"name":"collectionSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"collectionId","type":"uint256"}],"name":"collectionWithdrawOnBurnSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"contentURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"contractURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"string","name":"title","type":"string"},{"internalType":"string","name":"description","type":"string"}],"name":"createCollection","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"currentEdition","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"collectionId","type":"uint256"}],"name":"deposit","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"editionNumber","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getTokenClaimPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"isClaimable","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"maximumEdition","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"string","name":"_tokenURI","type":"string"},{"internalType":"string","name":"_contentURI","type":"string"},{"internalType":"bool","name":"withdrawOnBurn_","type":"bool"},{"internalType":"uint256","name":"collectionId","type":"uint256"},{"internalType":"uint256","name":"_maximumEdition","type":"uint256"},{"internalType":"uint8","name":"percentPriceIncreasePerClaim","type":"uint8"}],"name":"mintTo","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"numberOfCollections","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"ownerBalance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"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":[{"internalType":"uint256","name":"collectionId","type":"uint256"},{"internalType":"string","name":"contentBaseURI","type":"string"}],"name":"setCollectionContentBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"contractURI_","type":"string"}],"name":"setContractURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"uint256","name":"price","type":"uint256"}],"name":"setTokenClaimStartPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"string","name":"_tokenURI","type":"string"}],"name":"setTokenURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenCollection","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"collectionId","type":"uint256"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenInCollectionByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"willWithdrawWhenBurned","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]

60806040526000600c5560006012553480156200001b57600080fd5b506040516200536038038062005360833981810160405260408110156200004157600080fd5b81019080805160405193929190846401000000008211156200006257600080fd5b9083019060208201858111156200007857600080fd5b82516401000000008111828201881017156200009357600080fd5b82525081516020918201929091019080838360005b83811015620000c2578181015183820152602001620000a8565b50505050905090810190601f168015620000f05780820380516001836020036101000a031916815260200191505b50604052602001805160405193929190846401000000008211156200011457600080fd5b9083019060208201858111156200012a57600080fd5b82516401000000008111828201881017156200014557600080fd5b82525081516020918201929091019080838360005b83811015620001745781810151838201526020016200015a565b50505050905090810190601f168015620001a25780820380516001836020036101000a031916815260200191505b5060405250505081816000620001bd6200028560201b60201c565b600080546001600160a01b0319166001600160a01b0383169081178255604051929350917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a350620002196301ffc9a760e01b62000289565b81516200022e90600790602085019062000311565b5080516200024490600890602084019062000311565b50620002576380ac58cd60e01b62000289565b62000269635b5e139f60e01b62000289565b6200027b63780e9d6360e01b62000289565b50505050620003bd565b3390565b6001600160e01b03198082161415620002e9576040805162461bcd60e51b815260206004820152601c60248201527f4552433136353a20696e76616c696420696e7465726661636520696400000000604482015290519081900360640190fd5b6001600160e01b0319166000908152600160208190526040909120805460ff19169091179055565b828054600181600116156101000203166002900490600052602060002090601f01602090048101928262000349576000855562000394565b82601f106200036457805160ff191683800117855562000394565b8280016001018555821562000394579182015b828111156200039457825182559160200191906001019062000377565b50620003a2929150620003a6565b5090565b5b80821115620003a25760008155600101620003a7565b614f9380620003cd6000396000f3fe6080604052600436106102b25760003560e01c80636352211e11610175578063b88d4fde116100dc578063e8a3d48511610095578063f07723771161006f578063f077237714610fa8578063f1bebd2e146110b7578063f2fde38b146110cc578063f5e36d19146110ff576102c1565b8063e8a3d48514610dfc578063e95f1f8114610e11578063e985e9c514610f6d576102c1565b8063b88d4fde14610be7578063bedcf00314610cb8578063c87b56dd14610ccd578063c940acb014610cf7578063cc8c374414610da8578063d5610fcc14610dd2576102c1565b806389610a091161012e57806389610a0914610a8a5780638da5cb5b14610ab4578063938e3d7b14610ac957806395d89b4114610b7a578063a22cb46514610b8f578063b6b55f2514610bca576102c1565b80636352211e146109af5780636b4d5c3a146109d95780636c0360eb14610a035780636e667c3514610a1857806370a0823114610a42578063715018a614610a75576102c1565b80632f745c59116102195780634f6ccce7116101d25780634f6ccce71461082c57806350648cb514610856578063525c12fe1461088057806355f804b3146108aa5780635c46151c1461095b5780635ec8786314610985576102c1565b80632f745c591461072a57806335ea8ff714610763578063379607f51461078d5780633ccfd60b146107aa57806342842e0e146107bf57806342966c6814610802576102c1565b8063162094c41161026b578063162094c414610490578063176b9b751461054857806318160ddd1461067e5780631ae21c741461069357806323b872dd146106bd5780632dd883e814610700576102c1565b806301ffc9a7146102cb57806306fdde0314610313578063081812fc1461039d578063095ea7b3146103e35780630c3240881461041e5780631273ae1914610460576102c1565b366102c157600c805434019055005b600c805434019055005b3480156102d757600080fd5b506102ff600480360360208110156102ee57600080fd5b50356001600160e01b0319166111b7565b604080519115158252519081900360200190f35b34801561031f57600080fd5b506103286111da565b6040805160208082528351818301528351919283929083019185019080838360005b8381101561036257818101518382015260200161034a565b50505050905090810190601f16801561038f5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b3480156103a957600080fd5b506103c7600480360360208110156103c057600080fd5b5035611271565b604080516001600160a01b039092168252519081900360200190f35b3480156103ef57600080fd5b5061041c6004803603604081101561040657600080fd5b506001600160a01b0381351690602001356112d3565b005b34801561042a57600080fd5b5061044e6004803603604081101561044157600080fd5b50803590602001356113ae565b60408051918252519081900360200190f35b34801561046c57600080fd5b5061041c6004803603604081101561048357600080fd5b50803590602001356113cf565b34801561049c57600080fd5b5061041c600480360360408110156104b357600080fd5b81359190810190604081016020820135600160201b8111156104d457600080fd5b8201836020820111156104e657600080fd5b803590602001918460018302840111600160201b8311171561050757600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250929550611517945050505050565b34801561055457600080fd5b5061041c6004803603604081101561056b57600080fd5b810190602081018135600160201b81111561058557600080fd5b82018360208201111561059757600080fd5b803590602001918460018302840111600160201b831117156105b857600080fd5b91908080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152509295949360208101935035915050600160201b81111561060a57600080fd5b82018360208201111561061c57600080fd5b803590602001918460018302840111600160201b8311171561063d57600080fd5b91908080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525092955061157d945050505050565b34801561068a57600080fd5b5061044e61170a565b34801561069f57600080fd5b5061044e600480360360208110156106b657600080fd5b503561171b565b3480156106c957600080fd5b5061041c600480360360608110156106e057600080fd5b506001600160a01b03813581169160208101359091169060400135611732565b34801561070c57600080fd5b5061044e6004803603602081101561072357600080fd5b5035611789565b34801561073657600080fd5b5061044e6004803603604081101561074d57600080fd5b506001600160a01b038135169060200135611835565b34801561076f57600080fd5b5061044e6004803603602081101561078657600080fd5b5035611857565b61041c600480360360208110156107a357600080fd5b503561186e565b3480156107b657600080fd5b5061041c611b45565b3480156107cb57600080fd5b5061041c600480360360608110156107e257600080fd5b506001600160a01b03813581169160208101359091169060400135611c4b565b34801561080e57600080fd5b5061041c6004803603602081101561082557600080fd5b5035611c66565b34801561083857600080fd5b5061044e6004803603602081101561084f57600080fd5b5035611f25565b34801561086257600080fd5b5061041c6004803603602081101561087957600080fd5b5035611f3b565b34801561088c57600080fd5b5061044e600480360360208110156108a357600080fd5b503561200b565b3480156108b657600080fd5b5061041c600480360360208110156108cd57600080fd5b810190602081018135600160201b8111156108e757600080fd5b8201836020820111156108f957600080fd5b803590602001918460018302840111600160201b8311171561091a57600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250929550612057945050505050565b34801561096757600080fd5b5061044e6004803603602081101561097e57600080fd5b50356120bb565b34801561099157600080fd5b506102ff600480360360208110156109a857600080fd5b5035612114565b3480156109bb57600080fd5b506103c7600480360360208110156109d257600080fd5b5035612170565b3480156109e557600080fd5b5061044e600480360360208110156109fc57600080fd5b5035612198565b348015610a0f57600080fd5b506103286121f1565b348015610a2457600080fd5b5061032860048036036020811015610a3b57600080fd5b5035612252565b348015610a4e57600080fd5b5061044e60048036036020811015610a6557600080fd5b50356001600160a01b0316612469565b348015610a8157600080fd5b5061041c6124d1565b348015610a9657600080fd5b506102ff60048036036020811015610aad57600080fd5b5035612573565b348015610ac057600080fd5b506103c76125e0565b348015610ad557600080fd5b5061041c60048036036020811015610aec57600080fd5b810190602081018135600160201b811115610b0657600080fd5b820183602082011115610b1857600080fd5b803590602001918460018302840111600160201b83111715610b3957600080fd5b91908080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152509295506125ef945050505050565b348015610b8657600080fd5b5061032861265a565b348015610b9b57600080fd5b5061041c60048036036040811015610bb257600080fd5b506001600160a01b03813516906020013515156126bb565b61041c60048036036020811015610be057600080fd5b50356127c0565b348015610bf357600080fd5b5061041c60048036036080811015610c0a57600080fd5b6001600160a01b03823581169260208101359091169160408201359190810190608081016060820135600160201b811115610c4457600080fd5b820183602082011115610c5657600080fd5b803590602001918460018302840111600160201b83111715610c7757600080fd5b91908080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525092955061288c945050505050565b348015610cc457600080fd5b5061044e6128ea565b348015610cd957600080fd5b5061032860048036036020811015610cf057600080fd5b50356128f0565b348015610d0357600080fd5b5061044e60048036036020811015610d1a57600080fd5b810190602081018135600160201b811115610d3457600080fd5b820183602082011115610d4657600080fd5b803590602001918460018302840111600160201b83111715610d6757600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250929550612b97945050505050565b348015610db457600080fd5b506102ff60048036036020811015610dcb57600080fd5b5035612c0f565b348015610dde57600080fd5b5061044e60048036036020811015610df557600080fd5b5035612c3b565b348015610e0857600080fd5b50610328612c87565b348015610e1d57600080fd5b5061041c600480360360e0811015610e3457600080fd5b6001600160a01b038235169190810190604081016020820135600160201b811115610e5e57600080fd5b820183602082011115610e7057600080fd5b803590602001918460018302840111600160201b83111715610e9157600080fd5b91908080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152509295949360208101935035915050600160201b811115610ee357600080fd5b820183602082011115610ef557600080fd5b803590602001918460018302840111600160201b83111715610f1657600080fd5b91908080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152509295505050508035151591506020810135906040810135906060013560ff16612df7565b348015610f7957600080fd5b506102ff60048036036040811015610f9057600080fd5b506001600160a01b0381358116916020013516613089565b348015610fb457600080fd5b50610fd260048036036020811015610fcb57600080fd5b50356130b7565b604051808060200180602001848152602001838103835286818151815260200191508051906020019080838360005b83811015611019578181015183820152602001611001565b50505050905090810190601f1680156110465780820380516001836020036101000a031916815260200191505b50838103825285518152855160209182019187019080838360005b83811015611079578181015183820152602001611061565b50505050905090810190601f1680156110a65780820380516001836020036101000a031916815260200191505b509550505050505060405180910390f35b3480156110c357600080fd5b5061044e613284565b3480156110d857600080fd5b5061041c600480360360208110156110ef57600080fd5b50356001600160a01b031661328a565b34801561110b57600080fd5b5061041c6004803603604081101561112257600080fd5b81359190810190604081016020820135600160201b81111561114357600080fd5b82018360208201111561115557600080fd5b803590602001918460018302840111600160201b8311171561117657600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250929550613382945050505050565b6001600160e01b0319811660009081526001602052604090205460ff165b919050565b60078054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156112665780601f1061123b57610100808354040283529160200191611266565b820191906000526020600020905b81548152906001019060200180831161124957829003601f168201915b505050505090505b90565b600061127c8261343d565b6112b75760405162461bcd60e51b815260040180806020018281038252602c815260200180614c3b602c913960400191505060405180910390fd5b506000908152600560205260409020546001600160a01b031690565b60006112de82612170565b9050806001600160a01b0316836001600160a01b031614156113315760405162461bcd60e51b8152600401808060200182810382526021815260200180614d796021913960400191505060405180910390fd5b806001600160a01b031661134361344a565b6001600160a01b0316148061136457506113648161135f61344a565b613089565b61139f5760405162461bcd60e51b8152600401808060200182810382526038815260200180614b256038913960400191505060405180910390fd5b6113a9838361344e565b505050565b6000828152600d602052604081206113c690836134bc565b90505b92915050565b6113d761344a565b6000546001600160a01b03908116911614611427576040805162461bcd60e51b81526020600482018190526024820152600080516020614cbe833981519152604482015290519081900360640190fd5b6114308261343d565b61146b5760405162461bcd60e51b815260040180806020018281038252602b815260200180614d9a602b913960400191505060405180910390fd5b6000828152601660205260409020546001106114b85760405162461bcd60e51b815260040180806020018281038252602b815260200180614c93602b913960400191505060405180910390fd5b6000828152601860205260409020546001146115055760405162461bcd60e51b81526004018080602001828103825260468152602001806149426046913960600191505060405180910390fd5b60009182526019602052604090912055565b61151f61344a565b6000546001600160a01b0390811691161461156f576040805162461bcd60e51b81526020600482018190526024820152600080516020614cbe833981519152604482015290519081900360640190fd5b61157982826134c8565b5050565b61158561344a565b6000546001600160a01b039081169116146115d5576040805162461bcd60e51b81526020600482018190526024820152600080516020614cbe833981519152604482015290519081900360640190fd5b601060006115e28461352b565b81526020019081526020016000205460001461162f5760405162461bcd60e51b8152600401808060200182810382526026815260200180614dec6026913960400191505060405180910390fd5b600b8054604080516080810182528581526020808201869052600092820183905260608201839052600184018555939091528051805192939192600485027f0175b7a638427703f0dbe7bb9bbf987a2551717b34e79f33b5b1008d1fa01db9019261169e92849291019061478e565b5060208281015180516116b7926001850192019061478e565b50604082015160028201556060909101516003909101805460ff19169115159190911790556116e78160016135a2565b601060006116f48661352b565b8152602081019190915260400160002055505050565b600061171660036135fc565b905090565b6000818152600d602052604081206113c9906135fc565b61174361173d61344a565b82613607565b61177e5760405162461bcd60e51b8152600401808060200182810382526031815260200180614e126031913960400191505060405180910390fd5b6113a98383836136ab565b60006117948261343d565b6117cf5760405162461bcd60e51b8152600401808060200182810382526022815260200180614d576022913960400191505060405180910390fd5b6000828152600f60205260409020546117e7906137f7565b6118225760405162461bcd60e51b8152600401808060200182810382526028815260200180614f136028913960400191505060405180910390fd5b506000908152600f602052604090205490565b6001600160a01b03821660009081526002602052604081206113c690836134bc565b6000818152600e602052604081206113c9906135fc565b601d5460ff16156118b8576040805162461bcd60e51b815260206004820152600f60248201526e2932b2b73a3930b73a1031b0b6361760891b604482015290519081900360640190fd5b601d805460ff191660011790556118ce8161343d565b61191f576040805162461bcd60e51b815260206004820152601960248201527f636c61696d3a204e6f6e6578697374656e7420746f6b656e2e00000000000000604482015290519081900360640190fd5b600081815260186020908152604080832054601690925290912054116119765760405162461bcd60e51b8152600401808060200182810382526022815260200180614a3b6022913960400191505060405180910390fd5b6000818152601960205260409020543410156119c35760405162461bcd60e51b8152600401808060200182810382526024815260200180614a5d6024913960400191505060405180910390fd5b600081815260196020526040902054611a0d5760405162461bcd60e51b8152600401808060200182810382526025815260200180614bd36025913960400191505060405180910390fd5b6000818152600f6020908152604080832054808452600e9092528220909190611a35906135fc565b1115611a7757600082815260196020526040902054600b805483908110611a5857fe5b6000918252602090912060026004909202010180549091019055611a90565b600082815260196020526040902054600c805490910190555b600082815260196020526040812054611aaa9034906137fe565b600084815260176020908152604080832054601990925290912054919250611ae291606491611adc919060ff16613840565b90613899565b600084815260196020526040902080549091019055611b0133846138db565b8015611b3657604051339082156108fc029083906000818181858888f19350505050158015611b34573d6000803e3d6000fd5b505b5050601d805460ff1916905550565b611b4d61344a565b6000546001600160a01b03908116911614611b9d576040805162461bcd60e51b81526020600482018190526024820152600080516020614cbe833981519152604482015290519081900360640190fd5b601d5460ff1615611be7576040805162461bcd60e51b815260206004820152600f60248201526e2932b2b73a3930b73a1031b0b6361760891b604482015290519081900360640190fd5b601d805460ff19166001179055600c80546000909155611c056125e0565b6001600160a01b03166108fc829081150290604051600060405180830381858888f19350505050158015611c3d573d6000803e3d6000fd5b5050601d805460ff19169055565b6113a98383836040518060200160405280600081525061288c565b601d5460ff1615611cb0576040805162461bcd60e51b815260206004820152600f60248201526e2932b2b73a3930b73a1031b0b6361760891b604482015290519081900360640190fd5b601d805460ff19166001179055611cc861173d61344a565b611d035760405162461bcd60e51b8152600401808060200182810382526030815260200180614ee36030913960400191505060405180910390fd5b611d0c8161343d565b611d475760405162461bcd60e51b8152600401808060200182810382526021815260200180614d366021913960400191505060405180910390fd5b6000818152600f60209081526040808320546013909252909120546002600019610100600184161502019091160415611d91576000828152601360205260408120611d919161481a565b6000828152601660209081526040808320839055601a825280832083905560178252808320805460ff19169055600f8252808320839055838352600d9091529020611ddc9083613b1b565b506000611de883612170565b9050611df383613b27565b6000838152601b602052604090205415611e4a576000838152601b60209081526040808320548352601c9091529020611e2c9084613b1b565b506000838152601b60209081526040808320839055601a9091528120555b60008381526015602052604090205460ff1615611b36576000828152600e60205260409020611e799084613b1b565b506000838152601560205260408120805460ff19169055600b805484908110611e9e57fe5b90600052602060002090600402016002015490506000811115611b34576000600b8481548110611eca57fe5b600091825260208220600260049092020101919091556040516001600160a01b0384169183156108fc02918491818181858888f19350505050158015611f14573d6000803e3d6000fd5b50505050601d805460ff1916905550565b600080611f33600384613bf4565b509392505050565b611f4361344a565b6000546001600160a01b03908116911614611f93576040805162461bcd60e51b81526020600482018190526024820152600080516020614cbe833981519152604482015290519081900360640190fd5b611f9c816137f7565b611fd75760405162461bcd60e51b8152600401808060200182810382526028815260200180614e436028913960400191505060405180910390fd5b6001600b8281548110611fe657fe5b60009182526020909120600490910201600301805460ff191691151591909117905550565b6000818152601a60205260408120546001101561204457506000818152601b6020908152604080832054835260169091529020546111d5565b5060009081526016602052604090205490565b61205f61344a565b6000546001600160a01b039081169116146120af576040805162461bcd60e51b81526020600482018190526024820152600080516020614cbe833981519152604482015290519081900360640190fd5b6120b881613c10565b50565b60006120c68261343d565b6121015760405162461bcd60e51b8152600401808060200182810382526026815260200180614ad36026913960400191505060405180910390fd5b5060009081526019602052604090205490565b600061211f8261343d565b61215a5760405162461bcd60e51b81526004018080602001828103825260298152602001806149196029913960400191505060405180910390fd5b5060009081526015602052604090205460ff1690565b60006113c982604051806060016040528060298152602001614baa6029913960039190613c23565b60006121a38261343d565b6121de5760405162461bcd60e51b8152600401808060200182810382526023815260200180614b5d6023913960400191505060405180910390fd5b506000908152601a602052604090205490565b600a8054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156112665780601f1061123b57610100808354040283529160200191611266565b606061225d8261343d565b6122ae576040805162461bcd60e51b815260206004820152601d60248201527f636f6e74656e745552493a204e6f6e6578697374656e7420746f6b656e000000604482015290519081900360640190fd5b60008281526013602090815260409182902080548351601f60026000196101006001861615020190931692909204918201849004840281018401909452808452606093928301828280156123435780601f1061231857610100808354040283529160200191612343565b820191906000526020600020905b81548152906001019060200180831161232657829003601f168201915b5050506000868152600f602090815260408083205480845260149092529091205493945092600260001961010060018416150201909116041515915061238d9050575090506111d5565b601460008281526020019081526020016000208260405160200180838054600181600116156101000203166002900480156123ff5780601f106123dd5761010080835404028352918201916123ff565b820191906000526020600020905b8154815290600101906020018083116123eb575b5050825160208401908083835b6020831061242b5780518252601f19909201916020918201910161240c565b6001836020036101000a0380198251168184511680821785525050505050509050019250505060405160208183030381529060405292505050919050565b60006001600160a01b0382166124b05760405162461bcd60e51b815260040180806020018281038252602a815260200180614b80602a913960400191505060405180910390fd5b6001600160a01b03821660009081526002602052604090206113c9906135fc565b6124d961344a565b6000546001600160a01b03908116911614612529576040805162461bcd60e51b81526020600482018190526024820152600080516020614cbe833981519152604482015290519081900360640190fd5b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b600061257e8261343d565b6125b95760405162461bcd60e51b815260040180806020018281038252602b815260200180614d9a602b913960400191505060405180910390fd5b600082815260166020526040902054600110156125d8575060016111d5565b5060006111d5565b6000546001600160a01b031690565b6125f761344a565b6000546001600160a01b03908116911614612647576040805162461bcd60e51b81526020600482018190526024820152600080516020614cbe833981519152604482015290519081900360640190fd5b805161157990601190602084019061478e565b60088054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156112665780601f1061123b57610100808354040283529160200191611266565b6126c361344a565b6001600160a01b0316826001600160a01b03161415612729576040805162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c657200000000000000604482015290519081900360640190fd5b806006600061273661344a565b6001600160a01b03908116825260208083019390935260409182016000908120918716808252919093529120805460ff19169215159290921790915561277a61344a565b6001600160a01b03167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405180821515815260200191505060405180910390a35050565b6127c9816137f7565b61281a576040805162461bcd60e51b815260206004820181905260248201527f6465706f7369743a204e6f6e6578697374656e7420636f6c6c656374696f6e2e604482015290519081900360640190fd5b600061282582611857565b116128615760405162461bcd60e51b815260040180806020018281038252602f8152602001806149e0602f913960400191505060405180910390fd5b34600b828154811061286f57fe5b600091825260209091206002600490920201018054909101905550565b61289d61289761344a565b83613607565b6128d85760405162461bcd60e51b8152600401808060200182810382526031815260200180614e126031913960400191505060405180910390fd5b6128e484848484613c3a565b50505050565b600c5481565b60606128fb8261343d565b6129365760405162461bcd60e51b815260040180806020018281038252602f815260200180614d07602f913960400191505060405180910390fd5b60008281526009602090815260409182902080548351601f60026000196101006001861615020190931692909204918201849004840281018401909452808452606093928301828280156129cb5780601f106129a0576101008083540402835291602001916129cb565b820191906000526020600020905b8154815290600101906020018083116129ae57829003601f168201915b5050600a54939450505050600260001961010060018416150201909116046129f45790506111d5565b805115612ac557600a816040516020018083805460018160011615610100020316600290048015612a5c5780601f10612a3a576101008083540402835291820191612a5c565b820191906000526020600020905b815481529060010190602001808311612a48575b5050825160208401908083835b60208310612a885780518252601f199092019160209182019101612a69565b6001836020036101000a038019825116818451168082178552505050505050905001925050506040516020818303038152906040529150506111d5565b600a612ad084613c8c565b6040516020018083805460018160011615610100020316600290048015612b2e5780601f10612b0c576101008083540402835291820191612b2e565b820191906000526020600020905b815481529060010190602001808311612b1a575b5050825160208401908083835b60208310612b5a5780518252601f199092019160209182019101612b3b565b6001836020036101000a03801982511681845116808217855250505050505090500192505050604051602081830303815290604052915050919050565b600080612bc9600160106000612bac8761352b565b8152602001908152602001600020546137fe90919063ffffffff16565b9050612bd4816137f7565b6113c95760405162461bcd60e51b815260040180806020018281038252602e815260200180614a81602e913960400191505060405180910390fd5b6000600b8281548110612c1e57fe5b600091825260209091206004909102016003015460ff1692915050565b6000818152601a602052604081205460011015612c7457506000818152601b6020908152604080832054835260189091529020546111d5565b5060009081526018602052604090205490565b6060612c916121f1565b51612d28576011805460408051602060026001851615610100026000190190941693909304601f81018490048402820184019092528181529291830182828015612d1c5780601f10612cf157610100808354040283529160200191612d1c565b820191906000526020600020905b815481529060010190602001808311612cff57829003601f168201915b5050505050905061126e565b612d306121f1565b60116040516020018083805190602001908083835b60208310612d645780518252601f199092019160209182019101612d45565b6001836020036101000a03801982511681845116808217855250505050505090500182805460018160011615610100020316600290048015612ddd5780601f10612dbb576101008083540402835291820191612ddd565b820191906000526020600020905b815481529060010190602001808311612dc9575b505092505050604051602081830303815290604052905090565b612dff61344a565b6000546001600160a01b03908116911614612e4f576040805162461bcd60e51b81526020600482018190526024820152600080516020614cbe833981519152604482015290519081900360640190fd5b612e58836137f7565b612ea9576040805162461bcd60e51b815260206004820152601f60248201527f6d696e74546f3a204e6f6e6578697374656e7420636f6c6c656374696f6e2e00604482015290519081900360640190fd5b612eb283612c0f565b15612f04576040805162461bcd60e51b815260206004820152601d60248201527f6d696e74546f3a20436f6c6c656374696f6e20697320636c6f7365642e000000604482015290519081900360640190fd5b6000865111612f445760405162461bcd60e51b8152600401808060200182810382526021815260200180614e8e6021913960400191505060405180910390fd5b6000855111612f845760405162461bcd60e51b8152600401808060200182810382526023815260200180614e6b6023913960400191505060405180910390fd5b60008211612fc35760405162461bcd60e51b815260040180806020018281038252602c815260200180614a0f602c913960400191505060405180910390fd5b6000612fcd613d67565b9050612fe9888260405180602001604052806000815250613d78565b612ff1613dca565b612ffb81886134c8565b6000818152601360209081526040909120875161301a9289019061478e565b506000818152601560205260409020805460ff191686151517905561303f8185613dd5565b60009081526016602090815260408083209490945560188152838220600190819055601a8252848320556017905291909120805460ff191660ff9092169190911790555050505050565b6001600160a01b03918216600090815260066020908152604080832093909416825291909152205460ff1690565b60608060006130c5846137f7565b6131005760405162461bcd60e51b8152600401808060200182810382526023815260200180614f3b6023913960400191505060405180910390fd5b600b848154811061310d57fe5b9060005260206000209060040201600001600b858154811061312b57fe5b9060005260206000209060040201600101600b868154811061314957fe5b60009182526020918290206002600490920201810154845460408051601f6000196101006001861615020190931694909404918201859004850284018501905280835290928591908301828280156131e25780601f106131b7576101008083540402835291602001916131e2565b820191906000526020600020905b8154815290600101906020018083116131c557829003601f168201915b5050855460408051602060026001851615610100026000190190941693909304601f8101849004840282018401909252818152959850879450925084019050828280156132705780601f1061324557610100808354040283529160200191613270565b820191906000526020600020905b81548152906001019060200180831161325357829003601f168201915b505050505091509250925092509193909250565b600b5490565b61329261344a565b6000546001600160a01b039081169116146132e2576040805162461bcd60e51b81526020600482018190526024820152600080516020614cbe833981519152604482015290519081900360640190fd5b6001600160a01b0381166133275760405162461bcd60e51b81526004018080602001828103825260268152602001806149ba6026913960400191505060405180910390fd5b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b61338a61344a565b6000546001600160a01b039081169116146133da576040805162461bcd60e51b81526020600482018190526024820152600080516020614cbe833981519152604482015290519081900360640190fd5b6133e3826137f7565b61341e5760405162461bcd60e51b8152600401808060200182810382526034815260200180614eaf6034913960400191505060405180910390fd5b600082815260146020908152604090912082516113a99284019061478e565b60006113c9600383613e2d565b3390565b600081815260056020526040902080546001600160a01b0319166001600160a01b038416908117909155819061348382612170565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b60006113c68383613e39565b6134d18261343d565b61350c5760405162461bcd60e51b815260040180806020018281038252602c815260200180614c67602c913960400191505060405180910390fd5b600082815260096020908152604090912082516113a99284019061478e565b6000816040516020018082805190602001908083835b602083106135605780518252601f199092019160209182019101613541565b6001836020036101000a038019825116818451168082178552505050505050905001915050604051602081830303815290604052805190602001209050919050565b6000828201838110156113c6576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b60006113c982613e9d565b60006136128261343d565b61364d5760405162461bcd60e51b815260040180806020018281038252602c815260200180614af9602c913960400191505060405180910390fd5b600061365883612170565b9050806001600160a01b0316846001600160a01b031614806136935750836001600160a01b031661368884611271565b6001600160a01b0316145b806136a357506136a38185613089565b949350505050565b826001600160a01b03166136be82612170565b6001600160a01b0316146137035760405162461bcd60e51b8152600401808060200182810382526029815260200180614cde6029913960400191505060405180910390fd5b6001600160a01b0382166137485760405162461bcd60e51b8152600401808060200182810382526024815260200180614aaf6024913960400191505060405180910390fd5b6137538383836113a9565b61375e60008261344e565b6001600160a01b03831660009081526002602052604090206137809082613b1b565b506001600160a01b03821660009081526002602052604090206137a39082613ea1565b506137b060038284613ead565b5080826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b600b541190565b60006113c683836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250613ec3565b60008261384f575060006113c9565b8282028284828161385c57fe5b04146113c65760405162461bcd60e51b8152600401808060200182810382526021815260200180614c1a6021913960400191505060405180910390fd5b60006113c683836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250613f5a565b6001600160a01b0382166139205760405162461bcd60e51b8152600401808060200182810382526027815260200180614dc56027913960400191505060405180910390fd5b6139298161343d565b61397a576040805162461bcd60e51b815260206004820152601f60248201527f6d696e74436c61696d3a204e6f6e6578697374656e7420746f6b656e49642e00604482015290519081900360640190fd5b6000613984613d67565b90506139a0838260405180602001604052806000815250613d78565b6139a8613dca565b6000828152601860205260408120546139c29060016135a2565b6000848152601860209081526040808320849055858352601a8252808320849055868352600982529182902080548351601f60026000196101006001861615020190931692909204918201849004840281018401909452808452939450613a8193869392830182828015613a775780601f10613a4c57610100808354040283529160200191613a77565b820191906000526020600020905b815481529060010190602001808311613a5a57829003601f168201915b50505050506134c8565b60008381526013602052604080822084835291208154613ab492906002600019610100600184161502019091160461485e565b50600083815260156020526040808220548483529120805460ff191660ff9092161515919091179055613aef82613aea85611789565b613dd5565b6000838152601c60205260409020613b079083613ea1565b50506000908152601b602052604090205550565b60006113c68383613fbf565b6000613b3282612170565b9050613b40816000846113a9565b613b4b60008361344e565b6000828152600960205260409020546002600019610100600184161502019091160415613b89576000828152600960205260408120613b899161481a565b6001600160a01b0381166000908152600260205260409020613bab9083613b1b565b50613bb7600383614085565b5060405182906000906001600160a01b038416907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a45050565b6000808080613c038686614091565b9097909650945050505050565b805161157990600a90602084019061478e565b6000613c3084848461410c565b90505b9392505050565b613c458484846136ab565b613c5184848484614199565b6128e45760405162461bcd60e51b81526004018080602001828103825260328152602001806149886032913960400191505060405180910390fd5b606081613cb157506040805180820190915260018152600360fc1b60208201526111d5565b8160005b8115613cc957600101600a82049150613cb5565b60608167ffffffffffffffff81118015613ce257600080fd5b506040519080825280601f01601f191660200182016040528015613d0d576020820181803683370190505b50859350905060001982015b8315613d5e57600a840660300160f81b82828060019003935081518110613d3c57fe5b60200101906001600160f81b031916908160001a905350600a84049350613d19565b50949350505050565b6012546000906117169060016135a2565b613d828383614301565b613d8f6000848484614199565b6113a95760405162461bcd60e51b81526004018080602001828103825260328152602001806149886032913960400191505060405180910390fd5b601280546001019055565b6000828152600f60209081526040808320849055838352600d9091529020613dfd9083613ea1565b5060008281526015602052604090205460ff1615611579576000818152600e602052604090206113a99083613ea1565b60006113c6838361442f565b81546000908210613e7b5760405162461bcd60e51b81526004018080602001828103825260228152602001806148f76022913960400191505060405180910390fd5b826000018281548110613e8a57fe5b9060005260206000200154905092915050565b5490565b60006113c68383614447565b6000613c3084846001600160a01b038516614491565b60008184841115613f525760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b83811015613f17578181015183820152602001613eff565b50505050905090810190601f168015613f445780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b60008183613fa95760405162461bcd60e51b8152602060048201818152835160248401528351909283926044909101919085019080838360008315613f17578181015183820152602001613eff565b506000838581613fb557fe5b0495945050505050565b6000818152600183016020526040812054801561407b5783546000198083019190810190600090879083908110613ff257fe5b906000526020600020015490508087600001848154811061400f57fe5b60009182526020808320909101929092558281526001898101909252604090209084019055865487908061403f57fe5b600190038181906000526020600020016000905590558660010160008781526020019081526020016000206000905560019450505050506113c9565b60009150506113c9565b60006113c68383614528565b8154600090819083106140d55760405162461bcd60e51b8152600401808060200182810382526022815260200180614bf86022913960400191505060405180910390fd5b60008460000184815481106140e657fe5b906000526020600020906002020190508060000154816001015492509250509250929050565b6000828152600184016020526040812054828161416a5760405162461bcd60e51b8152602060048201818152835160248401528351909283926044909101919085019080838360008315613f17578181015183820152602001613eff565b5084600001600182038154811061417d57fe5b9060005260206000209060020201600101549150509392505050565b60006141ad846001600160a01b03166145fc565b6141b9575060016136a3565b60606142c7630a85bd0160e11b6141ce61344a565b88878760405160240180856001600160a01b03168152602001846001600160a01b0316815260200183815260200180602001828103825283818151815260200191508051906020019080838360005b8381101561423557818101518382015260200161421d565b50505050905090810190601f1680156142625780820380516001836020036101000a031916815260200191505b5095505050505050604051602081830303815290604052906001600160e01b0319166020820180516001600160e01b038381831617835250505050604051806060016040528060328152602001614988603291396001600160a01b0388169190614602565b905060008180602001905160208110156142e057600080fd5b50516001600160e01b031916630a85bd0160e11b1492505050949350505050565b6001600160a01b03821661435c576040805162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f2061646472657373604482015290519081900360640190fd5b6143658161343d565b156143b7576040805162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000604482015290519081900360640190fd5b6143c3600083836113a9565b6001600160a01b03821660009081526002602052604090206143e59082613ea1565b506143f260038284613ead565b5060405181906001600160a01b038416906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b60009081526001919091016020526040902054151590565b6000614453838361442f565b614489575081546001818101845560008481526020808220909301849055845484825282860190935260409020919091556113c9565b5060006113c9565b6000828152600184016020526040812054806144f6575050604080518082018252838152602080820184815286546001818101895560008981528481209551600290930290950191825591519082015586548684528188019092529290912055613c33565b8285600001600183038154811061450957fe5b9060005260206000209060020201600101819055506000915050613c33565b6000818152600183016020526040812054801561407b578354600019808301919081019060009087908390811061455b57fe5b906000526020600020906002020190508087600001848154811061457b57fe5b6000918252602080832084546002909302019182556001938401549184019190915583548252898301905260409020908401905586548790806145ba57fe5b60008281526020808220600260001990940193840201828155600190810183905592909355888152898201909252604082209190915594506113c99350505050565b3b151590565b6060613c30848460008585614616856145fc565b614667576040805162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015290519081900360640190fd5b60006060866001600160a01b031685876040518082805190602001908083835b602083106146a65780518252601f199092019160209182019101614687565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d8060008114614708576040519150601f19603f3d011682016040523d82523d6000602084013e61470d565b606091505b509150915061471d828286614728565b979650505050505050565b60608315614737575081613c33565b8251156147475782518084602001fd5b60405162461bcd60e51b8152602060048201818152845160248401528451859391928392604401919085019080838360008315613f17578181015183820152602001613eff565b828054600181600116156101000203166002900490600052602060002090601f0160209004810192826147c4576000855561480a565b82601f106147dd57805160ff191683800117855561480a565b8280016001018555821561480a579182015b8281111561480a5782518255916020019190600101906147ef565b506148169291506148e1565b5090565b50805460018160011615610100020316600290046000825580601f1061484057506120b8565b601f0160209004906000526020600020908101906120b891906148e1565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282614894576000855561480a565b82601f106148a5578054855561480a565b8280016001018555821561480a57600052602060002091601f016020900482015b8281111561480a5782548255916001019190600101906148c6565b5b8082111561481657600081556001016148e256fe456e756d657261626c655365743a20696e646578206f7574206f6620626f756e647377696c6c57697468647261775768656e4275726e65643a204e6f6e6578697374656e7420746f6b656e736574546f6b656e436c61696d537461727450726963653a2053746172742070726963652063616e206e6f742062652073657420616674657220666972737420636c61696d2e4552433732313a207472616e7366657220746f206e6f6e20455243373231526563656976657220696d706c656d656e7465724f776e61626c653a206e6577206f776e657220697320746865207a65726f20616464726573736465706f7369743a204e6f2057697468647261774f6e4275726e20746f6b656e7320696e20636f6c6c656374696f6e6d696e74546f3a204d6178696d756d45646974696f6e206d757374206174206c65617374206265206f6e652e636c61696d3a204d6178696d756d20737570706c7920616c7265616479206d65742e636c61696d3a20496e73756666696369656e7420616d6f756e7420746f20636c61696d2e636f6c6c656374696f6e496446726f6d5469746c653a204e6f6e6578697374656e7420636f6c6c656374696f6e2e4552433732313a207472616e7366657220746f20746865207a65726f2061646472657373676574546f6b656e436c61696d50726963653a204e6f6e6578697374696e6720746f6b656e2e4552433732313a206f70657261746f7220717565727920666f72206e6f6e6578697374656e7420746f6b656e4552433732313a20617070726f76652063616c6c6572206973206e6f74206f776e6572206e6f7220617070726f76656420666f7220616c6c65646974696f6e4e756d6265723a204e6f6e6578697374656e7420746f6b656e49642e4552433732313a2062616c616e636520717565727920666f7220746865207a65726f20616464726573734552433732313a206f776e657220717565727920666f72206e6f6e6578697374656e7420746f6b656e636c61696d3a20436c61696d207374617274207072696365206e6f7420736574207965742e456e756d657261626c654d61703a20696e646578206f7574206f6620626f756e6473536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f774552433732313a20617070726f76656420717565727920666f72206e6f6e6578697374656e7420746f6b656e4552433732314d657461646174613a2055524920736574206f66206e6f6e6578697374656e7420746f6b656e736574546f6b656e436c61696d537461727450726963653a20556e636c61696d61626c6520746f6b656e2e4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65724552433732313a207472616e73666572206f6620746f6b656e2074686174206973206e6f74206f776e4552433732314d657461646174613a2055524920717565727920666f72206e6f6e6578697374656e7420746f6b656e6275726e3a20517565727920666f72206e6f6e6578697374656e7420746f6b656e746f6b656e436f6c6c656374696f6e3a204e6f6e6578697374656e7420746f6b656e4552433732313a20617070726f76616c20746f2063757272656e74206f776e6572736574546f6b656e436c61696d537461727450726963653a204e6f6e6578697374696e6720746f6b656e2e6d696e74436c61696d3a2043616e6e6f74206d696e7420746f207a65726f20616464726573732e637265617465436f6c6c656374696f6e3a205469746c6520616c7265616479206578697374734552433732313a207472616e736665722063616c6c6572206973206e6f74206f776e6572206e6f7220617070726f766564636c6f7365436f6c6c656374696f6e3a204e6f6e6578697374656e7420636f6c6c656374696f6e2e6d696e74546f3a20636f6e74656e745552492063616e6e6f7420626520656d7074792e6d696e74546f3a20746f6b656e5552492063616e6e6f7420626520656d7074792e736574436f6c6c656374696f6e436f6e74656e74426173655552493a204e6f6e6578697374656e7420636f6c6c656374696f6e2e4552433732314275726e61626c653a2063616c6c6572206973206e6f74206f776e6572206e6f7220617070726f766564746f6b656e436f6c6c656374696f6e3a204e6f6e6578697374656e7420636f6c6c656374696f6e2e636f6c6c656374696f6e3a204e6f6e6578697374656e7420636f6c6c656374696f6e2ea2646970667358221220a2913409592c49b41ed4d10d1c9d31544739b51d8bf55f322d04b542ecac068464736f6c63430007050033000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000800000000000000000000000000000000000000000000000000000000000000008417274206275726e00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000114275726e2061727420676574204554482e000000000000000000000000000000

Deployed Bytecode

0x6080604052600436106102b25760003560e01c80636352211e11610175578063b88d4fde116100dc578063e8a3d48511610095578063f07723771161006f578063f077237714610fa8578063f1bebd2e146110b7578063f2fde38b146110cc578063f5e36d19146110ff576102c1565b8063e8a3d48514610dfc578063e95f1f8114610e11578063e985e9c514610f6d576102c1565b8063b88d4fde14610be7578063bedcf00314610cb8578063c87b56dd14610ccd578063c940acb014610cf7578063cc8c374414610da8578063d5610fcc14610dd2576102c1565b806389610a091161012e57806389610a0914610a8a5780638da5cb5b14610ab4578063938e3d7b14610ac957806395d89b4114610b7a578063a22cb46514610b8f578063b6b55f2514610bca576102c1565b80636352211e146109af5780636b4d5c3a146109d95780636c0360eb14610a035780636e667c3514610a1857806370a0823114610a42578063715018a614610a75576102c1565b80632f745c59116102195780634f6ccce7116101d25780634f6ccce71461082c57806350648cb514610856578063525c12fe1461088057806355f804b3146108aa5780635c46151c1461095b5780635ec8786314610985576102c1565b80632f745c591461072a57806335ea8ff714610763578063379607f51461078d5780633ccfd60b146107aa57806342842e0e146107bf57806342966c6814610802576102c1565b8063162094c41161026b578063162094c414610490578063176b9b751461054857806318160ddd1461067e5780631ae21c741461069357806323b872dd146106bd5780632dd883e814610700576102c1565b806301ffc9a7146102cb57806306fdde0314610313578063081812fc1461039d578063095ea7b3146103e35780630c3240881461041e5780631273ae1914610460576102c1565b366102c157600c805434019055005b600c805434019055005b3480156102d757600080fd5b506102ff600480360360208110156102ee57600080fd5b50356001600160e01b0319166111b7565b604080519115158252519081900360200190f35b34801561031f57600080fd5b506103286111da565b6040805160208082528351818301528351919283929083019185019080838360005b8381101561036257818101518382015260200161034a565b50505050905090810190601f16801561038f5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b3480156103a957600080fd5b506103c7600480360360208110156103c057600080fd5b5035611271565b604080516001600160a01b039092168252519081900360200190f35b3480156103ef57600080fd5b5061041c6004803603604081101561040657600080fd5b506001600160a01b0381351690602001356112d3565b005b34801561042a57600080fd5b5061044e6004803603604081101561044157600080fd5b50803590602001356113ae565b60408051918252519081900360200190f35b34801561046c57600080fd5b5061041c6004803603604081101561048357600080fd5b50803590602001356113cf565b34801561049c57600080fd5b5061041c600480360360408110156104b357600080fd5b81359190810190604081016020820135600160201b8111156104d457600080fd5b8201836020820111156104e657600080fd5b803590602001918460018302840111600160201b8311171561050757600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250929550611517945050505050565b34801561055457600080fd5b5061041c6004803603604081101561056b57600080fd5b810190602081018135600160201b81111561058557600080fd5b82018360208201111561059757600080fd5b803590602001918460018302840111600160201b831117156105b857600080fd5b91908080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152509295949360208101935035915050600160201b81111561060a57600080fd5b82018360208201111561061c57600080fd5b803590602001918460018302840111600160201b8311171561063d57600080fd5b91908080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525092955061157d945050505050565b34801561068a57600080fd5b5061044e61170a565b34801561069f57600080fd5b5061044e600480360360208110156106b657600080fd5b503561171b565b3480156106c957600080fd5b5061041c600480360360608110156106e057600080fd5b506001600160a01b03813581169160208101359091169060400135611732565b34801561070c57600080fd5b5061044e6004803603602081101561072357600080fd5b5035611789565b34801561073657600080fd5b5061044e6004803603604081101561074d57600080fd5b506001600160a01b038135169060200135611835565b34801561076f57600080fd5b5061044e6004803603602081101561078657600080fd5b5035611857565b61041c600480360360208110156107a357600080fd5b503561186e565b3480156107b657600080fd5b5061041c611b45565b3480156107cb57600080fd5b5061041c600480360360608110156107e257600080fd5b506001600160a01b03813581169160208101359091169060400135611c4b565b34801561080e57600080fd5b5061041c6004803603602081101561082557600080fd5b5035611c66565b34801561083857600080fd5b5061044e6004803603602081101561084f57600080fd5b5035611f25565b34801561086257600080fd5b5061041c6004803603602081101561087957600080fd5b5035611f3b565b34801561088c57600080fd5b5061044e600480360360208110156108a357600080fd5b503561200b565b3480156108b657600080fd5b5061041c600480360360208110156108cd57600080fd5b810190602081018135600160201b8111156108e757600080fd5b8201836020820111156108f957600080fd5b803590602001918460018302840111600160201b8311171561091a57600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250929550612057945050505050565b34801561096757600080fd5b5061044e6004803603602081101561097e57600080fd5b50356120bb565b34801561099157600080fd5b506102ff600480360360208110156109a857600080fd5b5035612114565b3480156109bb57600080fd5b506103c7600480360360208110156109d257600080fd5b5035612170565b3480156109e557600080fd5b5061044e600480360360208110156109fc57600080fd5b5035612198565b348015610a0f57600080fd5b506103286121f1565b348015610a2457600080fd5b5061032860048036036020811015610a3b57600080fd5b5035612252565b348015610a4e57600080fd5b5061044e60048036036020811015610a6557600080fd5b50356001600160a01b0316612469565b348015610a8157600080fd5b5061041c6124d1565b348015610a9657600080fd5b506102ff60048036036020811015610aad57600080fd5b5035612573565b348015610ac057600080fd5b506103c76125e0565b348015610ad557600080fd5b5061041c60048036036020811015610aec57600080fd5b810190602081018135600160201b811115610b0657600080fd5b820183602082011115610b1857600080fd5b803590602001918460018302840111600160201b83111715610b3957600080fd5b91908080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152509295506125ef945050505050565b348015610b8657600080fd5b5061032861265a565b348015610b9b57600080fd5b5061041c60048036036040811015610bb257600080fd5b506001600160a01b03813516906020013515156126bb565b61041c60048036036020811015610be057600080fd5b50356127c0565b348015610bf357600080fd5b5061041c60048036036080811015610c0a57600080fd5b6001600160a01b03823581169260208101359091169160408201359190810190608081016060820135600160201b811115610c4457600080fd5b820183602082011115610c5657600080fd5b803590602001918460018302840111600160201b83111715610c7757600080fd5b91908080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525092955061288c945050505050565b348015610cc457600080fd5b5061044e6128ea565b348015610cd957600080fd5b5061032860048036036020811015610cf057600080fd5b50356128f0565b348015610d0357600080fd5b5061044e60048036036020811015610d1a57600080fd5b810190602081018135600160201b811115610d3457600080fd5b820183602082011115610d4657600080fd5b803590602001918460018302840111600160201b83111715610d6757600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250929550612b97945050505050565b348015610db457600080fd5b506102ff60048036036020811015610dcb57600080fd5b5035612c0f565b348015610dde57600080fd5b5061044e60048036036020811015610df557600080fd5b5035612c3b565b348015610e0857600080fd5b50610328612c87565b348015610e1d57600080fd5b5061041c600480360360e0811015610e3457600080fd5b6001600160a01b038235169190810190604081016020820135600160201b811115610e5e57600080fd5b820183602082011115610e7057600080fd5b803590602001918460018302840111600160201b83111715610e9157600080fd5b91908080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152509295949360208101935035915050600160201b811115610ee357600080fd5b820183602082011115610ef557600080fd5b803590602001918460018302840111600160201b83111715610f1657600080fd5b91908080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152509295505050508035151591506020810135906040810135906060013560ff16612df7565b348015610f7957600080fd5b506102ff60048036036040811015610f9057600080fd5b506001600160a01b0381358116916020013516613089565b348015610fb457600080fd5b50610fd260048036036020811015610fcb57600080fd5b50356130b7565b604051808060200180602001848152602001838103835286818151815260200191508051906020019080838360005b83811015611019578181015183820152602001611001565b50505050905090810190601f1680156110465780820380516001836020036101000a031916815260200191505b50838103825285518152855160209182019187019080838360005b83811015611079578181015183820152602001611061565b50505050905090810190601f1680156110a65780820380516001836020036101000a031916815260200191505b509550505050505060405180910390f35b3480156110c357600080fd5b5061044e613284565b3480156110d857600080fd5b5061041c600480360360208110156110ef57600080fd5b50356001600160a01b031661328a565b34801561110b57600080fd5b5061041c6004803603604081101561112257600080fd5b81359190810190604081016020820135600160201b81111561114357600080fd5b82018360208201111561115557600080fd5b803590602001918460018302840111600160201b8311171561117657600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250929550613382945050505050565b6001600160e01b0319811660009081526001602052604090205460ff165b919050565b60078054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156112665780601f1061123b57610100808354040283529160200191611266565b820191906000526020600020905b81548152906001019060200180831161124957829003601f168201915b505050505090505b90565b600061127c8261343d565b6112b75760405162461bcd60e51b815260040180806020018281038252602c815260200180614c3b602c913960400191505060405180910390fd5b506000908152600560205260409020546001600160a01b031690565b60006112de82612170565b9050806001600160a01b0316836001600160a01b031614156113315760405162461bcd60e51b8152600401808060200182810382526021815260200180614d796021913960400191505060405180910390fd5b806001600160a01b031661134361344a565b6001600160a01b0316148061136457506113648161135f61344a565b613089565b61139f5760405162461bcd60e51b8152600401808060200182810382526038815260200180614b256038913960400191505060405180910390fd5b6113a9838361344e565b505050565b6000828152600d602052604081206113c690836134bc565b90505b92915050565b6113d761344a565b6000546001600160a01b03908116911614611427576040805162461bcd60e51b81526020600482018190526024820152600080516020614cbe833981519152604482015290519081900360640190fd5b6114308261343d565b61146b5760405162461bcd60e51b815260040180806020018281038252602b815260200180614d9a602b913960400191505060405180910390fd5b6000828152601660205260409020546001106114b85760405162461bcd60e51b815260040180806020018281038252602b815260200180614c93602b913960400191505060405180910390fd5b6000828152601860205260409020546001146115055760405162461bcd60e51b81526004018080602001828103825260468152602001806149426046913960600191505060405180910390fd5b60009182526019602052604090912055565b61151f61344a565b6000546001600160a01b0390811691161461156f576040805162461bcd60e51b81526020600482018190526024820152600080516020614cbe833981519152604482015290519081900360640190fd5b61157982826134c8565b5050565b61158561344a565b6000546001600160a01b039081169116146115d5576040805162461bcd60e51b81526020600482018190526024820152600080516020614cbe833981519152604482015290519081900360640190fd5b601060006115e28461352b565b81526020019081526020016000205460001461162f5760405162461bcd60e51b8152600401808060200182810382526026815260200180614dec6026913960400191505060405180910390fd5b600b8054604080516080810182528581526020808201869052600092820183905260608201839052600184018555939091528051805192939192600485027f0175b7a638427703f0dbe7bb9bbf987a2551717b34e79f33b5b1008d1fa01db9019261169e92849291019061478e565b5060208281015180516116b7926001850192019061478e565b50604082015160028201556060909101516003909101805460ff19169115159190911790556116e78160016135a2565b601060006116f48661352b565b8152602081019190915260400160002055505050565b600061171660036135fc565b905090565b6000818152600d602052604081206113c9906135fc565b61174361173d61344a565b82613607565b61177e5760405162461bcd60e51b8152600401808060200182810382526031815260200180614e126031913960400191505060405180910390fd5b6113a98383836136ab565b60006117948261343d565b6117cf5760405162461bcd60e51b8152600401808060200182810382526022815260200180614d576022913960400191505060405180910390fd5b6000828152600f60205260409020546117e7906137f7565b6118225760405162461bcd60e51b8152600401808060200182810382526028815260200180614f136028913960400191505060405180910390fd5b506000908152600f602052604090205490565b6001600160a01b03821660009081526002602052604081206113c690836134bc565b6000818152600e602052604081206113c9906135fc565b601d5460ff16156118b8576040805162461bcd60e51b815260206004820152600f60248201526e2932b2b73a3930b73a1031b0b6361760891b604482015290519081900360640190fd5b601d805460ff191660011790556118ce8161343d565b61191f576040805162461bcd60e51b815260206004820152601960248201527f636c61696d3a204e6f6e6578697374656e7420746f6b656e2e00000000000000604482015290519081900360640190fd5b600081815260186020908152604080832054601690925290912054116119765760405162461bcd60e51b8152600401808060200182810382526022815260200180614a3b6022913960400191505060405180910390fd5b6000818152601960205260409020543410156119c35760405162461bcd60e51b8152600401808060200182810382526024815260200180614a5d6024913960400191505060405180910390fd5b600081815260196020526040902054611a0d5760405162461bcd60e51b8152600401808060200182810382526025815260200180614bd36025913960400191505060405180910390fd5b6000818152600f6020908152604080832054808452600e9092528220909190611a35906135fc565b1115611a7757600082815260196020526040902054600b805483908110611a5857fe5b6000918252602090912060026004909202010180549091019055611a90565b600082815260196020526040902054600c805490910190555b600082815260196020526040812054611aaa9034906137fe565b600084815260176020908152604080832054601990925290912054919250611ae291606491611adc919060ff16613840565b90613899565b600084815260196020526040902080549091019055611b0133846138db565b8015611b3657604051339082156108fc029083906000818181858888f19350505050158015611b34573d6000803e3d6000fd5b505b5050601d805460ff1916905550565b611b4d61344a565b6000546001600160a01b03908116911614611b9d576040805162461bcd60e51b81526020600482018190526024820152600080516020614cbe833981519152604482015290519081900360640190fd5b601d5460ff1615611be7576040805162461bcd60e51b815260206004820152600f60248201526e2932b2b73a3930b73a1031b0b6361760891b604482015290519081900360640190fd5b601d805460ff19166001179055600c80546000909155611c056125e0565b6001600160a01b03166108fc829081150290604051600060405180830381858888f19350505050158015611c3d573d6000803e3d6000fd5b5050601d805460ff19169055565b6113a98383836040518060200160405280600081525061288c565b601d5460ff1615611cb0576040805162461bcd60e51b815260206004820152600f60248201526e2932b2b73a3930b73a1031b0b6361760891b604482015290519081900360640190fd5b601d805460ff19166001179055611cc861173d61344a565b611d035760405162461bcd60e51b8152600401808060200182810382526030815260200180614ee36030913960400191505060405180910390fd5b611d0c8161343d565b611d475760405162461bcd60e51b8152600401808060200182810382526021815260200180614d366021913960400191505060405180910390fd5b6000818152600f60209081526040808320546013909252909120546002600019610100600184161502019091160415611d91576000828152601360205260408120611d919161481a565b6000828152601660209081526040808320839055601a825280832083905560178252808320805460ff19169055600f8252808320839055838352600d9091529020611ddc9083613b1b565b506000611de883612170565b9050611df383613b27565b6000838152601b602052604090205415611e4a576000838152601b60209081526040808320548352601c9091529020611e2c9084613b1b565b506000838152601b60209081526040808320839055601a9091528120555b60008381526015602052604090205460ff1615611b36576000828152600e60205260409020611e799084613b1b565b506000838152601560205260408120805460ff19169055600b805484908110611e9e57fe5b90600052602060002090600402016002015490506000811115611b34576000600b8481548110611eca57fe5b600091825260208220600260049092020101919091556040516001600160a01b0384169183156108fc02918491818181858888f19350505050158015611f14573d6000803e3d6000fd5b50505050601d805460ff1916905550565b600080611f33600384613bf4565b509392505050565b611f4361344a565b6000546001600160a01b03908116911614611f93576040805162461bcd60e51b81526020600482018190526024820152600080516020614cbe833981519152604482015290519081900360640190fd5b611f9c816137f7565b611fd75760405162461bcd60e51b8152600401808060200182810382526028815260200180614e436028913960400191505060405180910390fd5b6001600b8281548110611fe657fe5b60009182526020909120600490910201600301805460ff191691151591909117905550565b6000818152601a60205260408120546001101561204457506000818152601b6020908152604080832054835260169091529020546111d5565b5060009081526016602052604090205490565b61205f61344a565b6000546001600160a01b039081169116146120af576040805162461bcd60e51b81526020600482018190526024820152600080516020614cbe833981519152604482015290519081900360640190fd5b6120b881613c10565b50565b60006120c68261343d565b6121015760405162461bcd60e51b8152600401808060200182810382526026815260200180614ad36026913960400191505060405180910390fd5b5060009081526019602052604090205490565b600061211f8261343d565b61215a5760405162461bcd60e51b81526004018080602001828103825260298152602001806149196029913960400191505060405180910390fd5b5060009081526015602052604090205460ff1690565b60006113c982604051806060016040528060298152602001614baa6029913960039190613c23565b60006121a38261343d565b6121de5760405162461bcd60e51b8152600401808060200182810382526023815260200180614b5d6023913960400191505060405180910390fd5b506000908152601a602052604090205490565b600a8054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156112665780601f1061123b57610100808354040283529160200191611266565b606061225d8261343d565b6122ae576040805162461bcd60e51b815260206004820152601d60248201527f636f6e74656e745552493a204e6f6e6578697374656e7420746f6b656e000000604482015290519081900360640190fd5b60008281526013602090815260409182902080548351601f60026000196101006001861615020190931692909204918201849004840281018401909452808452606093928301828280156123435780601f1061231857610100808354040283529160200191612343565b820191906000526020600020905b81548152906001019060200180831161232657829003601f168201915b5050506000868152600f602090815260408083205480845260149092529091205493945092600260001961010060018416150201909116041515915061238d9050575090506111d5565b601460008281526020019081526020016000208260405160200180838054600181600116156101000203166002900480156123ff5780601f106123dd5761010080835404028352918201916123ff565b820191906000526020600020905b8154815290600101906020018083116123eb575b5050825160208401908083835b6020831061242b5780518252601f19909201916020918201910161240c565b6001836020036101000a0380198251168184511680821785525050505050509050019250505060405160208183030381529060405292505050919050565b60006001600160a01b0382166124b05760405162461bcd60e51b815260040180806020018281038252602a815260200180614b80602a913960400191505060405180910390fd5b6001600160a01b03821660009081526002602052604090206113c9906135fc565b6124d961344a565b6000546001600160a01b03908116911614612529576040805162461bcd60e51b81526020600482018190526024820152600080516020614cbe833981519152604482015290519081900360640190fd5b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b600061257e8261343d565b6125b95760405162461bcd60e51b815260040180806020018281038252602b815260200180614d9a602b913960400191505060405180910390fd5b600082815260166020526040902054600110156125d8575060016111d5565b5060006111d5565b6000546001600160a01b031690565b6125f761344a565b6000546001600160a01b03908116911614612647576040805162461bcd60e51b81526020600482018190526024820152600080516020614cbe833981519152604482015290519081900360640190fd5b805161157990601190602084019061478e565b60088054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156112665780601f1061123b57610100808354040283529160200191611266565b6126c361344a565b6001600160a01b0316826001600160a01b03161415612729576040805162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c657200000000000000604482015290519081900360640190fd5b806006600061273661344a565b6001600160a01b03908116825260208083019390935260409182016000908120918716808252919093529120805460ff19169215159290921790915561277a61344a565b6001600160a01b03167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405180821515815260200191505060405180910390a35050565b6127c9816137f7565b61281a576040805162461bcd60e51b815260206004820181905260248201527f6465706f7369743a204e6f6e6578697374656e7420636f6c6c656374696f6e2e604482015290519081900360640190fd5b600061282582611857565b116128615760405162461bcd60e51b815260040180806020018281038252602f8152602001806149e0602f913960400191505060405180910390fd5b34600b828154811061286f57fe5b600091825260209091206002600490920201018054909101905550565b61289d61289761344a565b83613607565b6128d85760405162461bcd60e51b8152600401808060200182810382526031815260200180614e126031913960400191505060405180910390fd5b6128e484848484613c3a565b50505050565b600c5481565b60606128fb8261343d565b6129365760405162461bcd60e51b815260040180806020018281038252602f815260200180614d07602f913960400191505060405180910390fd5b60008281526009602090815260409182902080548351601f60026000196101006001861615020190931692909204918201849004840281018401909452808452606093928301828280156129cb5780601f106129a0576101008083540402835291602001916129cb565b820191906000526020600020905b8154815290600101906020018083116129ae57829003601f168201915b5050600a54939450505050600260001961010060018416150201909116046129f45790506111d5565b805115612ac557600a816040516020018083805460018160011615610100020316600290048015612a5c5780601f10612a3a576101008083540402835291820191612a5c565b820191906000526020600020905b815481529060010190602001808311612a48575b5050825160208401908083835b60208310612a885780518252601f199092019160209182019101612a69565b6001836020036101000a038019825116818451168082178552505050505050905001925050506040516020818303038152906040529150506111d5565b600a612ad084613c8c565b6040516020018083805460018160011615610100020316600290048015612b2e5780601f10612b0c576101008083540402835291820191612b2e565b820191906000526020600020905b815481529060010190602001808311612b1a575b5050825160208401908083835b60208310612b5a5780518252601f199092019160209182019101612b3b565b6001836020036101000a03801982511681845116808217855250505050505090500192505050604051602081830303815290604052915050919050565b600080612bc9600160106000612bac8761352b565b8152602001908152602001600020546137fe90919063ffffffff16565b9050612bd4816137f7565b6113c95760405162461bcd60e51b815260040180806020018281038252602e815260200180614a81602e913960400191505060405180910390fd5b6000600b8281548110612c1e57fe5b600091825260209091206004909102016003015460ff1692915050565b6000818152601a602052604081205460011015612c7457506000818152601b6020908152604080832054835260189091529020546111d5565b5060009081526018602052604090205490565b6060612c916121f1565b51612d28576011805460408051602060026001851615610100026000190190941693909304601f81018490048402820184019092528181529291830182828015612d1c5780601f10612cf157610100808354040283529160200191612d1c565b820191906000526020600020905b815481529060010190602001808311612cff57829003601f168201915b5050505050905061126e565b612d306121f1565b60116040516020018083805190602001908083835b60208310612d645780518252601f199092019160209182019101612d45565b6001836020036101000a03801982511681845116808217855250505050505090500182805460018160011615610100020316600290048015612ddd5780601f10612dbb576101008083540402835291820191612ddd565b820191906000526020600020905b815481529060010190602001808311612dc9575b505092505050604051602081830303815290604052905090565b612dff61344a565b6000546001600160a01b03908116911614612e4f576040805162461bcd60e51b81526020600482018190526024820152600080516020614cbe833981519152604482015290519081900360640190fd5b612e58836137f7565b612ea9576040805162461bcd60e51b815260206004820152601f60248201527f6d696e74546f3a204e6f6e6578697374656e7420636f6c6c656374696f6e2e00604482015290519081900360640190fd5b612eb283612c0f565b15612f04576040805162461bcd60e51b815260206004820152601d60248201527f6d696e74546f3a20436f6c6c656374696f6e20697320636c6f7365642e000000604482015290519081900360640190fd5b6000865111612f445760405162461bcd60e51b8152600401808060200182810382526021815260200180614e8e6021913960400191505060405180910390fd5b6000855111612f845760405162461bcd60e51b8152600401808060200182810382526023815260200180614e6b6023913960400191505060405180910390fd5b60008211612fc35760405162461bcd60e51b815260040180806020018281038252602c815260200180614a0f602c913960400191505060405180910390fd5b6000612fcd613d67565b9050612fe9888260405180602001604052806000815250613d78565b612ff1613dca565b612ffb81886134c8565b6000818152601360209081526040909120875161301a9289019061478e565b506000818152601560205260409020805460ff191686151517905561303f8185613dd5565b60009081526016602090815260408083209490945560188152838220600190819055601a8252848320556017905291909120805460ff191660ff9092169190911790555050505050565b6001600160a01b03918216600090815260066020908152604080832093909416825291909152205460ff1690565b60608060006130c5846137f7565b6131005760405162461bcd60e51b8152600401808060200182810382526023815260200180614f3b6023913960400191505060405180910390fd5b600b848154811061310d57fe5b9060005260206000209060040201600001600b858154811061312b57fe5b9060005260206000209060040201600101600b868154811061314957fe5b60009182526020918290206002600490920201810154845460408051601f6000196101006001861615020190931694909404918201859004850284018501905280835290928591908301828280156131e25780601f106131b7576101008083540402835291602001916131e2565b820191906000526020600020905b8154815290600101906020018083116131c557829003601f168201915b5050855460408051602060026001851615610100026000190190941693909304601f8101849004840282018401909252818152959850879450925084019050828280156132705780601f1061324557610100808354040283529160200191613270565b820191906000526020600020905b81548152906001019060200180831161325357829003601f168201915b505050505091509250925092509193909250565b600b5490565b61329261344a565b6000546001600160a01b039081169116146132e2576040805162461bcd60e51b81526020600482018190526024820152600080516020614cbe833981519152604482015290519081900360640190fd5b6001600160a01b0381166133275760405162461bcd60e51b81526004018080602001828103825260268152602001806149ba6026913960400191505060405180910390fd5b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b61338a61344a565b6000546001600160a01b039081169116146133da576040805162461bcd60e51b81526020600482018190526024820152600080516020614cbe833981519152604482015290519081900360640190fd5b6133e3826137f7565b61341e5760405162461bcd60e51b8152600401808060200182810382526034815260200180614eaf6034913960400191505060405180910390fd5b600082815260146020908152604090912082516113a99284019061478e565b60006113c9600383613e2d565b3390565b600081815260056020526040902080546001600160a01b0319166001600160a01b038416908117909155819061348382612170565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b60006113c68383613e39565b6134d18261343d565b61350c5760405162461bcd60e51b815260040180806020018281038252602c815260200180614c67602c913960400191505060405180910390fd5b600082815260096020908152604090912082516113a99284019061478e565b6000816040516020018082805190602001908083835b602083106135605780518252601f199092019160209182019101613541565b6001836020036101000a038019825116818451168082178552505050505050905001915050604051602081830303815290604052805190602001209050919050565b6000828201838110156113c6576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b60006113c982613e9d565b60006136128261343d565b61364d5760405162461bcd60e51b815260040180806020018281038252602c815260200180614af9602c913960400191505060405180910390fd5b600061365883612170565b9050806001600160a01b0316846001600160a01b031614806136935750836001600160a01b031661368884611271565b6001600160a01b0316145b806136a357506136a38185613089565b949350505050565b826001600160a01b03166136be82612170565b6001600160a01b0316146137035760405162461bcd60e51b8152600401808060200182810382526029815260200180614cde6029913960400191505060405180910390fd5b6001600160a01b0382166137485760405162461bcd60e51b8152600401808060200182810382526024815260200180614aaf6024913960400191505060405180910390fd5b6137538383836113a9565b61375e60008261344e565b6001600160a01b03831660009081526002602052604090206137809082613b1b565b506001600160a01b03821660009081526002602052604090206137a39082613ea1565b506137b060038284613ead565b5080826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b600b541190565b60006113c683836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250613ec3565b60008261384f575060006113c9565b8282028284828161385c57fe5b04146113c65760405162461bcd60e51b8152600401808060200182810382526021815260200180614c1a6021913960400191505060405180910390fd5b60006113c683836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250613f5a565b6001600160a01b0382166139205760405162461bcd60e51b8152600401808060200182810382526027815260200180614dc56027913960400191505060405180910390fd5b6139298161343d565b61397a576040805162461bcd60e51b815260206004820152601f60248201527f6d696e74436c61696d3a204e6f6e6578697374656e7420746f6b656e49642e00604482015290519081900360640190fd5b6000613984613d67565b90506139a0838260405180602001604052806000815250613d78565b6139a8613dca565b6000828152601860205260408120546139c29060016135a2565b6000848152601860209081526040808320849055858352601a8252808320849055868352600982529182902080548351601f60026000196101006001861615020190931692909204918201849004840281018401909452808452939450613a8193869392830182828015613a775780601f10613a4c57610100808354040283529160200191613a77565b820191906000526020600020905b815481529060010190602001808311613a5a57829003601f168201915b50505050506134c8565b60008381526013602052604080822084835291208154613ab492906002600019610100600184161502019091160461485e565b50600083815260156020526040808220548483529120805460ff191660ff9092161515919091179055613aef82613aea85611789565b613dd5565b6000838152601c60205260409020613b079083613ea1565b50506000908152601b602052604090205550565b60006113c68383613fbf565b6000613b3282612170565b9050613b40816000846113a9565b613b4b60008361344e565b6000828152600960205260409020546002600019610100600184161502019091160415613b89576000828152600960205260408120613b899161481a565b6001600160a01b0381166000908152600260205260409020613bab9083613b1b565b50613bb7600383614085565b5060405182906000906001600160a01b038416907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a45050565b6000808080613c038686614091565b9097909650945050505050565b805161157990600a90602084019061478e565b6000613c3084848461410c565b90505b9392505050565b613c458484846136ab565b613c5184848484614199565b6128e45760405162461bcd60e51b81526004018080602001828103825260328152602001806149886032913960400191505060405180910390fd5b606081613cb157506040805180820190915260018152600360fc1b60208201526111d5565b8160005b8115613cc957600101600a82049150613cb5565b60608167ffffffffffffffff81118015613ce257600080fd5b506040519080825280601f01601f191660200182016040528015613d0d576020820181803683370190505b50859350905060001982015b8315613d5e57600a840660300160f81b82828060019003935081518110613d3c57fe5b60200101906001600160f81b031916908160001a905350600a84049350613d19565b50949350505050565b6012546000906117169060016135a2565b613d828383614301565b613d8f6000848484614199565b6113a95760405162461bcd60e51b81526004018080602001828103825260328152602001806149886032913960400191505060405180910390fd5b601280546001019055565b6000828152600f60209081526040808320849055838352600d9091529020613dfd9083613ea1565b5060008281526015602052604090205460ff1615611579576000818152600e602052604090206113a99083613ea1565b60006113c6838361442f565b81546000908210613e7b5760405162461bcd60e51b81526004018080602001828103825260228152602001806148f76022913960400191505060405180910390fd5b826000018281548110613e8a57fe5b9060005260206000200154905092915050565b5490565b60006113c68383614447565b6000613c3084846001600160a01b038516614491565b60008184841115613f525760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b83811015613f17578181015183820152602001613eff565b50505050905090810190601f168015613f445780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b60008183613fa95760405162461bcd60e51b8152602060048201818152835160248401528351909283926044909101919085019080838360008315613f17578181015183820152602001613eff565b506000838581613fb557fe5b0495945050505050565b6000818152600183016020526040812054801561407b5783546000198083019190810190600090879083908110613ff257fe5b906000526020600020015490508087600001848154811061400f57fe5b60009182526020808320909101929092558281526001898101909252604090209084019055865487908061403f57fe5b600190038181906000526020600020016000905590558660010160008781526020019081526020016000206000905560019450505050506113c9565b60009150506113c9565b60006113c68383614528565b8154600090819083106140d55760405162461bcd60e51b8152600401808060200182810382526022815260200180614bf86022913960400191505060405180910390fd5b60008460000184815481106140e657fe5b906000526020600020906002020190508060000154816001015492509250509250929050565b6000828152600184016020526040812054828161416a5760405162461bcd60e51b8152602060048201818152835160248401528351909283926044909101919085019080838360008315613f17578181015183820152602001613eff565b5084600001600182038154811061417d57fe5b9060005260206000209060020201600101549150509392505050565b60006141ad846001600160a01b03166145fc565b6141b9575060016136a3565b60606142c7630a85bd0160e11b6141ce61344a565b88878760405160240180856001600160a01b03168152602001846001600160a01b0316815260200183815260200180602001828103825283818151815260200191508051906020019080838360005b8381101561423557818101518382015260200161421d565b50505050905090810190601f1680156142625780820380516001836020036101000a031916815260200191505b5095505050505050604051602081830303815290604052906001600160e01b0319166020820180516001600160e01b038381831617835250505050604051806060016040528060328152602001614988603291396001600160a01b0388169190614602565b905060008180602001905160208110156142e057600080fd5b50516001600160e01b031916630a85bd0160e11b1492505050949350505050565b6001600160a01b03821661435c576040805162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f2061646472657373604482015290519081900360640190fd5b6143658161343d565b156143b7576040805162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000604482015290519081900360640190fd5b6143c3600083836113a9565b6001600160a01b03821660009081526002602052604090206143e59082613ea1565b506143f260038284613ead565b5060405181906001600160a01b038416906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b60009081526001919091016020526040902054151590565b6000614453838361442f565b614489575081546001818101845560008481526020808220909301849055845484825282860190935260409020919091556113c9565b5060006113c9565b6000828152600184016020526040812054806144f6575050604080518082018252838152602080820184815286546001818101895560008981528481209551600290930290950191825591519082015586548684528188019092529290912055613c33565b8285600001600183038154811061450957fe5b9060005260206000209060020201600101819055506000915050613c33565b6000818152600183016020526040812054801561407b578354600019808301919081019060009087908390811061455b57fe5b906000526020600020906002020190508087600001848154811061457b57fe5b6000918252602080832084546002909302019182556001938401549184019190915583548252898301905260409020908401905586548790806145ba57fe5b60008281526020808220600260001990940193840201828155600190810183905592909355888152898201909252604082209190915594506113c99350505050565b3b151590565b6060613c30848460008585614616856145fc565b614667576040805162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015290519081900360640190fd5b60006060866001600160a01b031685876040518082805190602001908083835b602083106146a65780518252601f199092019160209182019101614687565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d8060008114614708576040519150601f19603f3d011682016040523d82523d6000602084013e61470d565b606091505b509150915061471d828286614728565b979650505050505050565b60608315614737575081613c33565b8251156147475782518084602001fd5b60405162461bcd60e51b8152602060048201818152845160248401528451859391928392604401919085019080838360008315613f17578181015183820152602001613eff565b828054600181600116156101000203166002900490600052602060002090601f0160209004810192826147c4576000855561480a565b82601f106147dd57805160ff191683800117855561480a565b8280016001018555821561480a579182015b8281111561480a5782518255916020019190600101906147ef565b506148169291506148e1565b5090565b50805460018160011615610100020316600290046000825580601f1061484057506120b8565b601f0160209004906000526020600020908101906120b891906148e1565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282614894576000855561480a565b82601f106148a5578054855561480a565b8280016001018555821561480a57600052602060002091601f016020900482015b8281111561480a5782548255916001019190600101906148c6565b5b8082111561481657600081556001016148e256fe456e756d657261626c655365743a20696e646578206f7574206f6620626f756e647377696c6c57697468647261775768656e4275726e65643a204e6f6e6578697374656e7420746f6b656e736574546f6b656e436c61696d537461727450726963653a2053746172742070726963652063616e206e6f742062652073657420616674657220666972737420636c61696d2e4552433732313a207472616e7366657220746f206e6f6e20455243373231526563656976657220696d706c656d656e7465724f776e61626c653a206e6577206f776e657220697320746865207a65726f20616464726573736465706f7369743a204e6f2057697468647261774f6e4275726e20746f6b656e7320696e20636f6c6c656374696f6e6d696e74546f3a204d6178696d756d45646974696f6e206d757374206174206c65617374206265206f6e652e636c61696d3a204d6178696d756d20737570706c7920616c7265616479206d65742e636c61696d3a20496e73756666696369656e7420616d6f756e7420746f20636c61696d2e636f6c6c656374696f6e496446726f6d5469746c653a204e6f6e6578697374656e7420636f6c6c656374696f6e2e4552433732313a207472616e7366657220746f20746865207a65726f2061646472657373676574546f6b656e436c61696d50726963653a204e6f6e6578697374696e6720746f6b656e2e4552433732313a206f70657261746f7220717565727920666f72206e6f6e6578697374656e7420746f6b656e4552433732313a20617070726f76652063616c6c6572206973206e6f74206f776e6572206e6f7220617070726f76656420666f7220616c6c65646974696f6e4e756d6265723a204e6f6e6578697374656e7420746f6b656e49642e4552433732313a2062616c616e636520717565727920666f7220746865207a65726f20616464726573734552433732313a206f776e657220717565727920666f72206e6f6e6578697374656e7420746f6b656e636c61696d3a20436c61696d207374617274207072696365206e6f7420736574207965742e456e756d657261626c654d61703a20696e646578206f7574206f6620626f756e6473536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f774552433732313a20617070726f76656420717565727920666f72206e6f6e6578697374656e7420746f6b656e4552433732314d657461646174613a2055524920736574206f66206e6f6e6578697374656e7420746f6b656e736574546f6b656e436c61696d537461727450726963653a20556e636c61696d61626c6520746f6b656e2e4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65724552433732313a207472616e73666572206f6620746f6b656e2074686174206973206e6f74206f776e4552433732314d657461646174613a2055524920717565727920666f72206e6f6e6578697374656e7420746f6b656e6275726e3a20517565727920666f72206e6f6e6578697374656e7420746f6b656e746f6b656e436f6c6c656374696f6e3a204e6f6e6578697374656e7420746f6b656e4552433732313a20617070726f76616c20746f2063757272656e74206f776e6572736574546f6b656e436c61696d537461727450726963653a204e6f6e6578697374696e6720746f6b656e2e6d696e74436c61696d3a2043616e6e6f74206d696e7420746f207a65726f20616464726573732e637265617465436f6c6c656374696f6e3a205469746c6520616c7265616479206578697374734552433732313a207472616e736665722063616c6c6572206973206e6f74206f776e6572206e6f7220617070726f766564636c6f7365436f6c6c656374696f6e3a204e6f6e6578697374656e7420636f6c6c656374696f6e2e6d696e74546f3a20636f6e74656e745552492063616e6e6f7420626520656d7074792e6d696e74546f3a20746f6b656e5552492063616e6e6f7420626520656d7074792e736574436f6c6c656374696f6e436f6e74656e74426173655552493a204e6f6e6578697374656e7420636f6c6c656374696f6e2e4552433732314275726e61626c653a2063616c6c6572206973206e6f74206f776e6572206e6f7220617070726f766564746f6b656e436f6c6c656374696f6e3a204e6f6e6578697374656e7420636f6c6c656374696f6e2e636f6c6c656374696f6e3a204e6f6e6578697374656e7420636f6c6c656374696f6e2ea2646970667358221220a2913409592c49b41ed4d10d1c9d31544739b51d8bf55f322d04b542ecac068464736f6c63430007050033

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

000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000800000000000000000000000000000000000000000000000000000000000000008417274206275726e00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000114275726e2061727420676574204554482e000000000000000000000000000000

-----Decoded View---------------
Arg [0] : name (string): Art burn
Arg [1] : symbol (string): Burn art get ETH.

-----Encoded View---------------
6 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000040
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000080
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000008
Arg [3] : 417274206275726e000000000000000000000000000000000000000000000000
Arg [4] : 0000000000000000000000000000000000000000000000000000000000000011
Arg [5] : 4275726e2061727420676574204554482e000000000000000000000000000000


Deployed Bytecode Sourcemap

340:23268:1:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;19192:12;:23;;19206:9;19192:23;;;340:23268;;18989:12;:23;;19003:9;18989:23;;;340:23268;999:142:3;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;999:142:3;-1:-1:-1;;;;;;999:142:3;;:::i;:::-;;;;;;;;;;;;;;;;;;4547:92:4;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;7234:213;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;7234:213:4;;:::i;:::-;;;;-1:-1:-1;;;;;7234:213:4;;;;;;;;;;;;;;6778:390;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;6778:390:4;;;;;;;;:::i;:::-;;11772:167:1;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;11772:167:1;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;6142:423;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;6142:423:1;;;;;;;:::i;20374:135::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;20374:135:1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;20374:135:1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;20374:135:1;;-1:-1:-1;20374:135:1;;-1:-1:-1;;;;;20374:135:1:i;12743:512::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;12743:512:1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;12743:512:1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;12743:512:1;;;;;;;;-1:-1:-1;12743:512:1;;-1:-1:-1;;;;;12743:512:1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;12743:512:1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;12743:512:1;;-1:-1:-1;12743:512:1;;-1:-1:-1;;;;;12743:512:1:i;6272:203:4:-;;;;;;;;;;;;;:::i;11113:143:1:-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;11113:143:1;;:::i;8108:305:4:-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;8108:305:4;;;;;;;;;;;;;;;;;:::i;12035::1:-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;12035:305:1;;:::i;6042:154:4:-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;6042:154:4;;;;;;;;:::i;11402:169:1:-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;11402:169:1;;:::i;4528:1433::-;;;;;;;;;;;;;;;;-1:-1:-1;4528:1433:1;;:::i;19355:167::-;;;;;;;;;;;;;:::i;8484:151:4:-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;8484:151:4;;;;;;;;;;;;;;;;;:::i;21749:1848:1:-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;21749:1848:1;;:::i;6552:164:4:-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;6552:164:4;;:::i;13426:224:1:-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;13426:224:1;;:::i;8898:244::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;8898:244:1;;:::i;20972:103::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;20972:103:1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;20972:103:1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;20972:103:1;;-1:-1:-1;20972:103:1;;-1:-1:-1;;;;;20972:103:1:i;9780:197::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;9780:197:1;;:::i;18025:209::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;18025:209:1;;:::i;4311:169:4:-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;4311:169:4;;:::i;8677:209:1:-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;8677:209:1;;:::i;5869:89:4:-;;;;;;;;;;;;;:::i;17182:658:1:-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;17182:658:1;;:::i;4034:215:4:-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;4034:215:4;-1:-1:-1;;;;;4034:215:4;;:::i;1754:148:12:-;;;;;;;;;;;;;:::i;6714:302:1:-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;6714:302:1;;:::i;1112:79:12:-;;;;;;;;;;;;;:::i;20687:117:1:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;20687:117:1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;20687:117:1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;20687:117:1;;-1:-1:-1;20687:117:1;;-1:-1:-1;;;;;20687:117:1:i;4708:96:4:-;;;;;;;;;;;;;:::i;7519:295::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;7519:295:4;;;;;;;;;;:::i;18462:326:1:-;;;;;;;;;;;;;;;;-1:-1:-1;18462:326:1;;:::i;8706:285:4:-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;8706:285:4;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;8706:285:4;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;8706:285:4;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;8706:285:4;;-1:-1:-1;8706:285:4;;-1:-1:-1;;;;;8706:285:4:i;1262:31:1:-;;;;;;;;;;;;;:::i;4875:755:4:-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;4875:755:4;;:::i;13726:390:1:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;13726:390:1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;13726:390:1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;13726:390:1;;-1:-1:-1;13726:390:1;;-1:-1:-1;;;;;13726:390:1:i;10867:136::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;10867:136:1;;:::i;9154:230::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;9154:230:1;;:::i;19643:335::-;;;;;;;;;;;;;:::i;14794:1272::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;14794:1272:1;;;;;;;;;;;;;;;-1:-1:-1;;;14794:1272:1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;14794:1272:1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;14794:1272:1;;;;;;;;-1:-1:-1;14794:1272:1;;-1:-1:-1;;;;;14794:1272:1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;14794:1272:1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;14794:1272:1;;-1:-1:-1;;;;14794:1272:1;;;;;-1:-1:-1;14794:1272:1;;;;;;;;;;;;;;;;:::i;7885:156:4:-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;7885:156:4;;;;;;;;;;:::i;10280:356:1:-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;10280:356:1;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;10280:356:1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;10075:108;;;;;;;;;;;;;:::i;2057:244:12:-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;2057:244:12;-1:-1:-1;;;;;2057:244:12;;:::i;21240:291:1:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;21240:291:1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;21240:291:1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;21240:291:1;;-1:-1:-1;21240:291:1;;-1:-1:-1;;;;;21240:291:1:i;999:142:3:-;-1:-1:-1;;;;;;1100:33:3;;1076:4;1100:33;;;:20;:33;;;;;;;;999:142;;;;:::o;4547:92:4:-;4626:5;4619:12;;;;;;;;-1:-1:-1;;4619:12:4;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4593:13;;4619:12;;4626:5;;4619:12;;4626:5;4619:12;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4547:92;;:::o;7234:213::-;7302:7;7330:16;7338:7;7330;:16::i;:::-;7322:73;;;;-1:-1:-1;;;7322:73:4;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;7415:24:4;;;;:15;:24;;;;;;-1:-1:-1;;;;;7415:24:4;;7234:213::o;6778:390::-;6859:13;6875:16;6883:7;6875;:16::i;:::-;6859:32;;6916:5;-1:-1:-1;;;;;6910:11:4;:2;-1:-1:-1;;;;;6910:11:4;;;6902:57;;;;-1:-1:-1;;;6902:57:4;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6996:5;-1:-1:-1;;;;;6980:21:4;:12;:10;:12::i;:::-;-1:-1:-1;;;;;6980:21:4;;:62;;;;7005:37;7022:5;7029:12;:10;:12::i;:::-;7005:16;:37::i;:::-;6972:154;;;;-1:-1:-1;;;6972:154:4;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;7139:21;7148:2;7152:7;7139:8;:21::i;:::-;6778:390;;;:::o;11772:167:1:-;11863:7;11890:31;;;:17;:31;;;;;:41;;11925:5;11890:34;:41::i;:::-;11883:48;;11772:167;;;;;:::o;6142:423::-;1334:12:12;:10;:12::i;:::-;1324:6;;-1:-1:-1;;;;;1324:6:12;;;:22;;;1316:67;;;;;-1:-1:-1;;;1316:67:12;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;1316:67:12;;;;;;;;;;;;;;;6245:16:1::1;6253:7;6245;:16::i;:::-;6237:72;;;;-1:-1:-1::0;;;6237:72:1::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6328:25;::::0;;;:16:::1;:25;::::0;;;;;6356:1:::1;-1:-1:-1::0;6320:85:1::1;;;;-1:-1:-1::0;;;6320:85:1::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6424:18;::::0;;;:9:::1;:18;::::0;;;;;6446:1:::1;6424:23;6416:106;;;;-1:-1:-1::0;;;6416:106:1::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6533:16;::::0;;;:7:::1;:16;::::0;;;;;:24;6142:423::o;20374:135::-;1334:12:12;:10;:12::i;:::-;1324:6;;-1:-1:-1;;;;;1324:6:12;;;:22;;;1316:67;;;;;-1:-1:-1;;;1316:67:12;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;1316:67:12;;;;;;;;;;;;;;;20467:32:1::1;20480:7;20489:9;20467:12;:32::i;:::-;20374:135:::0;;:::o;12743:512::-;1334:12:12;:10;:12::i;:::-;1324:6;;-1:-1:-1;;;;;1324:6:12;;;:22;;;1316:67;;;;;-1:-1:-1;;;1316:67:12;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;1316:67:12;;;;;;;;;;;;;;;12860:21:1::1;:54;12882:31;12907:5;12882:24;:31::i;:::-;12860:54;;;;;;;;;;;;12918:1;12860:59;12852:109;;;;-1:-1:-1::0;;;12852:109:1::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;12995:12;:19:::0;;13045:40:::1;::::0;;::::1;::::0;::::1;::::0;;;;;::::1;::::0;;::::1;::::0;;;12972:20:::1;13045:40:::0;;;;;;;;;;;;;13027:59;::::1;::::0;;;;;;;;;;12995:19;;13045:40;;13027:59:::1;::::0;::::1;::::0;::::1;::::0;::::1;::::0;;;;::::1;::::0;::::1;:::i;:::-;-1:-1:-1::0;13027:59:1::1;::::0;;::::1;::::0;;;::::1;::::0;::::1;::::0;::::1;::::0;::::1;::::0;::::1;:::i;:::-;-1:-1:-1::0;13027:59:1::1;::::0;::::1;::::0;::::1;::::0;::::1;::::0;::::1;::::0;;::::1;::::0;::::1;::::0;;::::1;::::0;;-1:-1:-1;;13027:59:1::1;::::0;::::1;;::::0;;;::::1;::::0;;13228:19:::1;:12:::0;-1:-1:-1;13228:16:1::1;:19::i;:::-;13171:21;:54;13193:31;13218:5;13193:24;:31::i;:::-;13171:54:::0;;::::1;::::0;::::1;::::0;;;;;;-1:-1:-1;13171:54:1;:76;-1:-1:-1;;;12743:512:1:o;6272:203:4:-;6325:7;6446:21;:12;:19;:21::i;:::-;6439:28;;6272:203;:::o;11113:143:1:-;11181:7;11208:31;;;:17;:31;;;;;:40;;:38;:40::i;8108:305:4:-;8269:41;8288:12;:10;:12::i;:::-;8302:7;8269:18;:41::i;:::-;8261:103;;;;-1:-1:-1;;;8261:103:4;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8377:28;8387:4;8393:2;8397:7;8377:9;:28::i;12035:305:1:-;12098:7;12126:16;12134:7;12126;:16::i;:::-;12118:63;;;;-1:-1:-1;;;12118:63:1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;12218:25;;;;:16;:25;;;;;;12200:44;;:17;:44::i;:::-;12192:97;;;;-1:-1:-1;;;12192:97:1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;12307:25:1;;;;:16;:25;;;;;;;12035:305::o;6042:154:4:-;-1:-1:-1;;;;;6158:20:4;;6131:7;6158:20;;;:13;:20;;;;;:30;;6182:5;6158:23;:30::i;11402:169:1:-;11482:7;11509:45;;;:31;:45;;;;;:54;;:52;:54::i;4528:1433::-;4150:6;;;;4149:7;4141:35;;;;;-1:-1:-1;;;4141:35:1;;;;;;;;;;;;-1:-1:-1;;;4141:35:1;;;;;;;;;;;;;;;4187:6;:13;;-1:-1:-1;;4187:13:1;4196:4;4187:13;;;4609:16:::1;4617:7:::0;4609::::1;:16::i;:::-;4601:54;;;::::0;;-1:-1:-1;;;4601:54:1;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;::::1;::::0;;;;;;;;;;;;;::::1;;4702:18;::::0;;;:9:::1;:18;::::0;;;;;;;;4674:16:::1;:25:::0;;;;;;;:46:::1;4666:93;;;;-1:-1:-1::0;;;4666:93:1::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4791:16;::::0;;;:7:::1;:16;::::0;;;;;4778:9:::1;:29;;4770:78;;;;-1:-1:-1::0;;;4770:78:1::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4886:1;4867:16:::0;;;:7:::1;:16;::::0;;;;;4859:70:::1;;;;-1:-1:-1::0;;;4859:70:1::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4942:20;4965:25:::0;;;:16:::1;:25;::::0;;;;;;;;5006:45;;;:31:::1;:45:::0;;;;;4965:25;;4942:20;5006:54:::1;::::0;:52:::1;:54::i;:::-;:58;5003:413;;;5235:16;::::0;;;:7:::1;:16;::::0;;;;;5199:12:::1;:26:::0;;5212:12;;5199:26;::::1;;;;;;::::0;;;::::1;::::0;;;:34:::1;:26;::::0;;::::1;;:34;:52:::0;;;;::::1;::::0;;5003:413:::1;;;5388:16;::::0;;;:7:::1;:16;::::0;;;;;5374:12:::1;:30:::0;;;;::::1;::::0;;5003:413:::1;5540:15;5572:16:::0;;;:7:::1;:16;::::0;;;;;5558:31:::1;::::0;:9:::1;::::0;:13:::1;:31::i;:::-;5694:38;::::0;;;:29:::1;:38;::::0;;;;;;;;5673:7:::1;:16:::0;;;;;;;5540:49;;-1:-1:-1;5673:69:1::1;::::0;5738:3:::1;::::0;5673:60:::1;::::0;:16;5694:38:::1;;5673:20;:60::i;:::-;:64:::0;::::1;:69::i;:::-;5653:16;::::0;;;:7:::1;:16;::::0;;;;:89;;;;::::1;::::0;;5790:31:::1;5801:10;5661:7:::0;5790:10:::1;:31::i;:::-;5873:11:::0;;5870:74:::1;;5900:28;::::0;:10:::1;::::0;:28;::::1;;;::::0;5920:7;;5900:28:::1;::::0;;;5920:7;5900:10;:28;::::1;;;;;;;;;;;;;::::0;::::1;;;;;;5870:74;-1:-1:-1::0;;4223:6:1;:14;;-1:-1:-1;;4223:14:1;;;-1:-1:-1;4528:1433:1:o;19355:167::-;1334:12:12;:10;:12::i;:::-;1324:6;;-1:-1:-1;;;;;1324:6:12;;;:22;;;1316:67;;;;;-1:-1:-1;;;1316:67:12;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;1316:67:12;;;;;;;;;;;;;;;4150:6:1::1;::::0;::::1;;4149:7;4141:35;;;::::0;;-1:-1:-1;;;4141:35:1;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;4141:35:1;;;;;;;;;;;;;::::1;;4187:6;:13:::0;;-1:-1:-1;;4187:13:1::1;4196:4;4187:13;::::0;;19434:12:::2;::::0;;4187:6:::1;19457:14:::0;;;19490:7:::2;:5;:7::i;:::-;-1:-1:-1::0;;;;;19482:25:1::2;:32;19508:5;19482:32;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::2;;;;;-1:-1:-1::0;;4223:6:1::1;:14:::0;;-1:-1:-1;;4223:14:1::1;::::0;;19355:167::o;8484:151:4:-;8588:39;8605:4;8611:2;8615:7;8588:39;;;;;;;;;;;;:16;:39::i;21749:1848:1:-;4150:6;;;;4149:7;4141:35;;;;;-1:-1:-1;;;4141:35:1;;;;;;;;;;;;-1:-1:-1;;;4141:35:1;;;;;;;;;;;;;;;4187:6;:13;;-1:-1:-1;;4187:13:1;4196:4;4187:13;;;21875:41:::1;21894:12;:10;:12::i;21875:41::-;21867:102;;;;-1:-1:-1::0;;;21867:102:1::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;21988:16;21996:7;21988;:16::i;:::-;21980:62;;;;-1:-1:-1::0;;;21980:62:1::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;22055:21;22079:25:::0;;;:16:::1;:25;::::0;;;;;;;;22170:12:::1;:21:::0;;;;;;22164:35;::::1;-1:-1:-1::0;;22164:35:1::1;;::::0;::::1;;;::::0;;;::::1;;:40:::0;22160:101:::1;;22228:21;::::0;;;:12:::1;:21;::::0;;;;22221:28:::1;::::0;::::1;:::i;:::-;22288:25;::::0;;;:16:::1;:25;::::0;;;;;;;22281:32;;;22331:15:::1;:24:::0;;;;;22324:31;;;22373:29:::1;:38:::0;;;;;22366:45;;-1:-1:-1;;22366:45:1::1;::::0;;22429:16:::1;:25:::0;;;;;22422:32;;;22485;;;:17:::1;:32:::0;;;;;:48:::1;::::0;22305:7;22485:39:::1;:48::i;:::-;;22544:26;22581:16;22589:7;22581;:16::i;:::-;22544:54;;22619:14;22625:7;22619:5;:14::i;:::-;22743:1;22713:27:::0;;;:18:::1;:27;::::0;;;;;:31;22710:216:::1;;22760:43;22775:27:::0;;;:18:::1;:27;::::0;;;;;;;;22760:43;;:14:::1;:43:::0;;;;;:59:::1;::::0;22811:7;22760:50:::1;:59::i;:::-;-1:-1:-1::0;22841:27:1::1;::::0;;;:18:::1;:27;::::0;;;;;;;22834:34;;;22890:15:::1;:24:::0;;;;;22883:31;22710:216:::1;22943:24;::::0;;;:15:::1;:24;::::0;;;;;::::1;;22940:640;;;23053:46;::::0;;;:31:::1;:46;::::0;;;;:62:::1;::::0;23107:7;23053:53:::1;:62::i;:::-;-1:-1:-1::0;23181:24:1::1;::::0;;;:15:::1;:24;::::0;;;;23174:31;;-1:-1:-1;;23174:31:1::1;::::0;;23347:12:::1;:27:::0;;23360:13;;23347:27;::::1;;;;;;;;;;;;;;;:35;;;23318:64;;23421:1;23400:18;:22;23397:158;;;23480:1;23442:12;23455:13;23442:27;;;;;;;;;::::0;;;::::1;::::0;;:35:::1;:27;::::0;;::::1;;:35;:39:::0;;;;23500::::1;::::0;-1:-1:-1;;;;;23500:19:1;::::1;::::0;:39;::::1;;;::::0;23520:18;;23500:39;23442:27;23500:39;23520:18;23500:19;:39;::::1;;;;;;;;;;;;;::::0;::::1;;;;;;22940:640;-1:-1:-1::0;;4223:6:1;:14;;-1:-1:-1;;4223:14:1;;;-1:-1:-1;21749:1848:1:o;6552:164:4:-;6619:7;;6661:22;:12;6677:5;6661:15;:22::i;:::-;-1:-1:-1;6639:44:4;6552:164;-1:-1:-1;;;6552:164:4:o;13426:224:1:-;1334:12:12;:10;:12::i;:::-;1324:6;;-1:-1:-1;;;;;1324:6:12;;;:22;;;1316:67;;;;;-1:-1:-1;;;1316:67:12;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;1316:67:12;;;;;;;;;;;;;;;13516:31:1::1;13534:12;13516:17;:31::i;:::-;13508:84;;;;-1:-1:-1::0;;;13508:84:1::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;13638:4;13602:12;13615;13602:26;;;;;;;;;::::0;;;::::1;::::0;;;::::1;::::0;;::::1;;:33;;:40:::0;;-1:-1:-1;;13602:40:1::1;::::0;::::1;;::::0;;;::::1;::::0;;-1:-1:-1;13426:224:1:o;8898:244::-;8962:7;8985:24;;;:15;:24;;;;;;9012:1;-1:-1:-1;8982:110:1;;;-1:-1:-1;9035:45:1;9052:27;;;:18;:27;;;;;;;;;9035:45;;:16;:45;;;;;;9028:52;;8982:110;-1:-1:-1;9109:25:1;;;;:16;:25;;;;;;;8898:244::o;20972:103::-;1334:12:12;:10;:12::i;:::-;1324:6;;-1:-1:-1;;;;;1324:6:12;;;:22;;;1316:67;;;;;-1:-1:-1;;;1316:67:12;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;1316:67:12;;;;;;;;;;;;;;;21046:21:1::1;21058:8;21046:11;:21::i;:::-;20972:103:::0;:::o;9780:197::-;9848:7;9876:16;9884:7;9876;:16::i;:::-;9868:67;;;;-1:-1:-1;;;9868:67:1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;9953:16:1;;;;:7;:16;;;;;;;9780:197::o;18025:209::-;18097:4;18122:16;18130:7;18122;:16::i;:::-;18114:70;;;;-1:-1:-1;;;18114:70:1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;18202:24:1;;;;:15;:24;;;;;;;;;18025:209::o;4311:169:4:-;4375:7;4402:70;4419:7;4402:70;;;;;;;;;;;;;;;;;:12;;:70;:16;:70::i;8677:209:1:-;8740:7;8768:16;8776:7;8768;:16::i;:::-;8760:64;;;;-1:-1:-1;;;8760:64:1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;8844:24:1;;;;:15;:24;;;;;;;8677:209::o;5869:89:4:-;5942:8;5935:15;;;;;;;;-1:-1:-1;;5935:15:4;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5909:13;;5935:15;;5942:8;;5935:15;;5942:8;5935:15;;;;;;;;;;;;;;;;;;;;;;;;17182:658:1;17242:13;17276:16;17284:7;17276;:16::i;:::-;17268:58;;;;;-1:-1:-1;;;17268:58:1;;;;;;;;;;;;;;;;;;;;;;;;;;;;17367:21;;;;:12;:21;;;;;;;;;17339:49;;;;;;-1:-1:-1;;17339:49:1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:25;;:49;;;17367:21;17339:49;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;17399:20:1;17422:25;;;:16;:25;;;;;;;;;17537:40;;;:26;:40;;;;;;17531:54;17339:49;;-1:-1:-1;17422:25:1;17531:54;-1:-1:-1;;17531:54:1;;;;;;;;;;;:59;17527:110;;-1:-1:-1;17527:110:1;;-1:-1:-1;17527:110:1;-1:-1:-1;17614:11:1;-1:-1:-1;17607:18:1;;17527:110;17767:26;:40;17794:12;17767:40;;;;;;;;;;;17809:11;17750:71;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;17750:71:1;;;;;;;;;;;;;;;;;;;-1:-1:-1;;17750:71:1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;17736:86;;;;17182:658;;;:::o;4034:215:4:-;4098:7;-1:-1:-1;;;;;4126:19:4;;4118:74;;;;-1:-1:-1;;;4118:74:4;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;4212:20:4;;;;;;:13;:20;;;;;:29;;:27;:29::i;1754:148:12:-;1334:12;:10;:12::i;:::-;1324:6;;-1:-1:-1;;;;;1324:6:12;;;:22;;;1316:67;;;;;-1:-1:-1;;;1316:67:12;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;1316:67:12;;;;;;;;;;;;;;;1861:1:::1;1845:6:::0;;1824:40:::1;::::0;-1:-1:-1;;;;;1845:6:12;;::::1;::::0;1824:40:::1;::::0;1861:1;;1824:40:::1;1892:1;1875:19:::0;;-1:-1:-1;;;;;;1875:19:12::1;::::0;;1754:148::o;6714:302:1:-;6775:4;6800:16;6808:7;6800;:16::i;:::-;6792:72;;;;-1:-1:-1;;;6792:72:1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6878:25;;;;:16;:25;;;;;;6906:1;-1:-1:-1;6875:134:1;;;-1:-1:-1;6940:4:1;6933:11;;6875:134;-1:-1:-1;6992:5:1;6985:12;;1112:79:12;1150:7;1177:6;-1:-1:-1;;;;;1177:6:12;1112:79;:::o;20687:117:1:-;1334:12:12;:10;:12::i;:::-;1324:6;;-1:-1:-1;;;;;1324:6:12;;;:22;;;1316:67;;;;;-1:-1:-1;;;1316:67:12;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;1316:67:12;;;;;;;;;;;;;;;20769:27:1;;::::1;::::0;:12:::1;::::0;:27:::1;::::0;::::1;::::0;::::1;:::i;4708:96:4:-:0;4789:7;4782:14;;;;;;;;-1:-1:-1;;4782:14:4;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4756:13;;4782:14;;4789:7;;4782:14;;4789:7;4782:14;;;;;;;;;;;;;;;;;;;;;;;;7519:295;7634:12;:10;:12::i;:::-;-1:-1:-1;;;;;7622:24:4;:8;-1:-1:-1;;;;;7622:24:4;;;7614:62;;;;;-1:-1:-1;;;7614:62:4;;;;;;;;;;;;;;;;;;;;;;;;;;;;7734:8;7689:18;:32;7708:12;:10;:12::i;:::-;-1:-1:-1;;;;;7689:32:4;;;;;;;;;;;;;;;;;-1:-1:-1;7689:32:4;;;:42;;;;;;;;;;;;:53;;-1:-1:-1;;7689:53:4;;;;;;;;;;;7773:12;:10;:12::i;:::-;-1:-1:-1;;;;;7758:48:4;;7797:8;7758:48;;;;;;;;;;;;;;;;;;;;7519:295;;:::o;18462:326:1:-;18537:31;18555:12;18537:17;:31::i;:::-;18529:76;;;;;-1:-1:-1;;;18529:76:1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;18671:1;18624:44;18655:12;18624:30;:44::i;:::-;:48;18616:108;;;;-1:-1:-1;;;18616:108:1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;18771:9;18735:12;18748;18735:26;;;;;;;;;;;;;;;;:34;:26;;;;;:34;:45;;;;;;;-1:-1:-1;18462:326:1:o;8706:285:4:-;8838:41;8857:12;:10;:12::i;:::-;8871:7;8838:18;:41::i;:::-;8830:103;;;;-1:-1:-1;;;8830:103:4;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8944:39;8958:4;8964:2;8968:7;8977:5;8944:13;:39::i;:::-;8706:285;;;;:::o;1262:31:1:-;;;;:::o;4875:755:4:-;4940:13;4974:16;4982:7;4974;:16::i;:::-;4966:76;;;;-1:-1:-1;;;4966:76:4;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5081:19;;;;:10;:19;;;;;;;;;5055:45;;;;;;-1:-1:-1;;5055:45:4;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:23;;:45;;;5081:19;5055:45;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;5182:8:4;5176:22;5055:45;;-1:-1:-1;;;;5176:22:4;-1:-1:-1;;5176:22:4;;;;;;;;;;;5172:76;;5227:9;-1:-1:-1;5220:16:4;;5172:76;5352:23;;:27;5348:112;;5427:8;5437:9;5410:37;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;5410:37:4;;;;;;;;;;;;;;;;;;;-1:-1:-1;;5410:37:4;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5396:52;;;;;5348:112;5592:8;5602:18;:7;:16;:18::i;:::-;5575:46;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;5575:46:4;;;;;;;;;;;;;;;;;;;-1:-1:-1;;5575:46:4;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5561:61;;;4875:755;;;:::o;13726:390:1:-;13801:7;13890:21;13914:61;13973:1;13914:21;:54;13936:31;13961:5;13936:24;:31::i;:::-;13914:54;;;;;;;;;;;;:58;;:61;;;;:::i;:::-;13890:85;;13994:32;14012:13;13994:17;:32::i;:::-;13986:91;;;;-1:-1:-1;;;13986:91:1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;10867:136;10938:4;10962:12;10975;10962:26;;;;;;;;;;;;;;;;;;;;;:33;;;;;;10867:136;-1:-1:-1;;10867:136:1:o;9154:230::-;9218:7;9241:24;;;:15;:24;;;;;;9268:1;-1:-1:-1;9238:103:1;;;-1:-1:-1;9291:38:1;9301:27;;;:18;:27;;;;;;;;;9291:38;;:9;:38;;;;;;9284:45;;9238:103;-1:-1:-1;9358:18:1;;;;:9;:18;;;;;;;9154:230::o;19643:335::-;19689:13;19818:9;:7;:9::i;:::-;19812:23;19808:80;;19864:12;19857:19;;;;;;;;;;;;;-1:-1:-1;;19857:19:1;;;;;;;;;;;;;;;;;;;;;;;;;;;19864:12;19857:19;;19864:12;19857:19;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;19808:80;19939:9;:7;:9::i;:::-;19950:12;19922:41;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;19922:41:1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;19908:56;;19643:335;:::o;14794:1272::-;1334:12:12;:10;:12::i;:::-;1324:6;;-1:-1:-1;;;;;1324:6:12;;;:22;;;1316:67;;;;;-1:-1:-1;;;1316:67:12;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;1316:67:12;;;;;;;;;;;;;;;15017:31:1::1;15035:12;15017:17;:31::i;:::-;15009:75;;;::::0;;-1:-1:-1;;;15009:75:1;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;::::1;::::0;;;;;;;;;;;;;::::1;;15104:32;15123:12;15104:18;:32::i;:::-;15103:33;15095:75;;;::::0;;-1:-1:-1;;;15095:75:1;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;::::1;::::0;;;;;;;;;;;;;::::1;;15215:1;15195:9;15189:23;:27;15181:73;;;;-1:-1:-1::0;;;15181:73:1::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;15301:1;15279:11;15273:25;:29;15265:77;;;;-1:-1:-1::0;;;15265:77:1::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;15379:1;15361:15;:19;15353:76;;;;-1:-1:-1::0;;;15353:76:1::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;15465:15;15483:17;:15;:17::i;:::-;15465:35;;15511:26;15521:2;15525:7;15511:26;;;;;;;;;;;::::0;:9:::1;:26::i;:::-;15548:19;:17;:19::i;:::-;15636:32;15649:7;15658:9;15636:12;:32::i;:::-;15679:21;::::0;;;:12:::1;:21;::::0;;;;;;;:35;;::::1;::::0;;::::1;::::0;::::1;:::i;:::-;-1:-1:-1::0;15725:24:1::1;::::0;;;:15:::1;:24;::::0;;;;:42;;-1:-1:-1;;15725:42:1::1;::::0;::::1;;;::::0;;15788:44:::1;15725:24:::0;15819:12;15788:21:::1;:44::i;:::-;15853:25;::::0;;;:16:::1;:25;::::0;;;;;;;:43;;;;15907:9:::1;:18:::0;;;;;15926:1:::1;15907:20:::0;;;;15938:15:::1;:24:::0;;;;;:26;15979:29:::1;:38:::0;;;;;;:69;;-1:-1:-1;;15979:69:1::1;;::::0;;::::1;::::0;;;::::1;::::0;;-1:-1:-1;;;;;14794:1272:1:o;7885:156:4:-;-1:-1:-1;;;;;7998:25:4;;;7974:4;7998:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;7885:156::o;10280:356:1:-;10345:19;10366:25;10393:15;10429:31;10447:12;10429:17;:31::i;:::-;10421:79;;;;-1:-1:-1;;;10421:79:1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;10519:12;10532;10519:26;;;;;;;;;;;;;;;;;;:32;;10553:12;10566;10553:26;;;;;;;;;;;;;;;;;;:38;;10593:12;10606;10593:26;;;;;;;;;;;;;;;;;:34;:26;;;;;:34;;;10511:117;;;;;;-1:-1:-1;;10511:117:1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;10593:34;;10511:117;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;10511:117:1;;;;;;;;;;;;;-1:-1:-1;;10511:117:1;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;10511:117:1;;-1:-1:-1;10511:117:1;-1:-1:-1;10511:117:1;;;-1:-1:-1;10511:117:1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;10280:356;;;;;:::o;10075:108::-;10156:12;:19;10075:108;:::o;2057:244:12:-;1334:12;:10;:12::i;:::-;1324:6;;-1:-1:-1;;;;;1324:6:12;;;:22;;;1316:67;;;;;-1:-1:-1;;;1316:67:12;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;1316:67:12;;;;;;;;;;;;;;;-1:-1:-1;;;;;2146:22:12;::::1;2138:73;;;;-1:-1:-1::0;;;2138:73:12::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2248:6;::::0;;2227:38:::1;::::0;-1:-1:-1;;;;;2227:38:12;;::::1;::::0;2248:6;::::1;::::0;2227:38:::1;::::0;::::1;2276:6;:17:::0;;-1:-1:-1;;;;;;2276:17:12::1;-1:-1:-1::0;;;;;2276:17:12;;;::::1;::::0;;;::::1;::::0;;2057:244::o;21240:291:1:-;1334:12:12;:10;:12::i;:::-;1324:6;;-1:-1:-1;;;;;1324:6:12;;;:22;;;1316:67;;;;;-1:-1:-1;;;1316:67:12;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;1316:67:12;;;;;;;;;;;;;;;21367:31:1::1;21385:12;21367:17;:31::i;:::-;21359:96;;;;-1:-1:-1::0;;;21359:96:1::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;21466:40;::::0;;;:26:::1;:40;::::0;;;;;;;:57;;::::1;::::0;;::::1;::::0;::::1;:::i;10458:119:4:-:0;10515:4;10539:30;:12;10561:7;10539:21;:30::i;613:106:2:-;701:10;613:106;:::o;16285:158:4:-;16351:24;;;;:15;:24;;;;;:29;;-1:-1:-1;;;;;;16351:29:4;-1:-1:-1;;;;;16351:29:4;;;;;;;;:24;;16405:16;16351:24;16405:7;:16::i;:::-;-1:-1:-1;;;;;16396:39:4;;;;;;;;;;;16285:158;;:::o;9507:137:6:-;9578:7;9613:22;9617:3;9629:5;9613:3;:22::i;14563:215:4:-;14663:16;14671:7;14663;:16::i;:::-;14655:73;;;;-1:-1:-1;;;14655:73:4;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;14739:19;;;;:10;:19;;;;;;;;:31;;;;;;;;:::i;12478:146:1:-;12556:7;12609:5;12592:23;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;12592:23:1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;12582:34;;;;;;12575:41;;12478:146;;;:::o;910:181:13:-;968:7;1000:5;;;1024:6;;;;1016:46;;;;;-1:-1:-1;;;1016:46:13;;;;;;;;;;;;;;;;;;;;;;;;;;;7232:123:5;7301:7;7328:19;7336:3;7328:7;:19::i;10744:333:4:-;10829:4;10854:16;10862:7;10854;:16::i;:::-;10846:73;;;;-1:-1:-1;;;10846:73:4;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;10930:13;10946:16;10954:7;10946;:16::i;:::-;10930:32;;10992:5;-1:-1:-1;;;;;10981:16:4;:7;-1:-1:-1;;;;;10981:16:4;;:51;;;;11025:7;-1:-1:-1;;;;;11001:31:4;:20;11013:7;11001:11;:20::i;:::-;-1:-1:-1;;;;;11001:31:4;;10981:51;:87;;;;11036:32;11053:5;11060:7;11036:16;:32::i;:::-;10973:96;10744:333;-1:-1:-1;;;;10744:333:4:o;13833:574::-;13951:4;-1:-1:-1;;;;;13931:24:4;:16;13939:7;13931;:16::i;:::-;-1:-1:-1;;;;;13931:24:4;;13923:78;;;;-1:-1:-1;;;13923:78:4;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;14020:16:4;;14012:65;;;;-1:-1:-1;;;14012:65:4;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;14090:39;14111:4;14117:2;14121:7;14090:20;:39::i;:::-;14194:29;14211:1;14215:7;14194:8;:29::i;:::-;-1:-1:-1;;;;;14236:19:4;;;;;;:13;:19;;;;;:35;;14263:7;14236:26;:35::i;:::-;-1:-1:-1;;;;;;14282:17:4;;;;;;:13;:17;;;;;:30;;14304:7;14282:21;:30::i;:::-;-1:-1:-1;14325:29:4;:12;14342:7;14351:2;14325:16;:29::i;:::-;;14391:7;14387:2;-1:-1:-1;;;;;14372:27:4;14381:4;-1:-1:-1;;;;;14372:27:4;;;;;;;;;;;13833:574;;;:::o;14294:137:1:-;14404:12;:19;-1:-1:-1;14389:34:1;14294:137::o;1374:136:13:-;1432:7;1459:43;1463:1;1466;1459:43;;;;;;;;;;;;;;;;;:3;:43::i;2264:471::-;2322:7;2567:6;2563:47;;-1:-1:-1;2597:1:13;2590:8;;2563:47;2634:5;;;2638:1;2634;:5;:1;2658:5;;;;;:10;2650:56;;;;-1:-1:-1;;;2650:56:13;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3211:132;3269:7;3296:39;3300:1;3303;3296:39;;;;;;;;;;;;;;;;;:3;:39::i;7385:1284:1:-;-1:-1:-1;;;;;7458:16:1;;7450:68;;;;-1:-1:-1;;;7450:68:1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;7537:16;7545:7;7537;:16::i;:::-;7529:60;;;;;-1:-1:-1;;;7529:60:1;;;;;;;;;;;;;;;;;;;;;;;;;;;;7629:20;7652:17;:15;:17::i;:::-;7629:40;;7680:31;7690:2;7694:12;7680:31;;;;;;;;;;;;:9;:31::i;:::-;7722:19;:17;:19::i;:::-;7849:22;7874:18;;;:9;:18;;;;;;:25;;7897:1;7874:22;:25::i;:::-;7910:18;;;;:9;:18;;;;;;;;:35;;;7956:29;;;:15;:29;;;;;:46;;;8126:19;;;:10;:19;;;;;;8099:47;;;;;;-1:-1:-1;;8099:47:1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;7849:50;;-1:-1:-1;8099:47:1;;7972:12;;8099:47;;;8126:19;8099:47;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:12;:47::i;:::-;8186:21;;;;:12;:21;;;;;;8157:26;;;;;:50;;;;8186:21;8157:50;-1:-1:-1;;8157:50:1;;;;;;;;;;;;:::i;:::-;-1:-1:-1;8250:24:1;;;;:15;:24;;;;;;;8218:29;;;;;:56;;-1:-1:-1;;8218:56:1;8250:24;;;;8218:56;;;;;;;;8352:61;8218:29;8388:24;8250;8388:15;:24::i;:::-;8352:21;:61::i;:::-;8500:23;;;;:14;:23;;;;;:41;;8528:12;8500:27;:41::i;:::-;-1:-1:-1;;8617:32:1;;;;:18;:32;;;;;:42;-1:-1:-1;7385:1284:1:o;8594:137:6:-;8664:4;8688:35;8696:3;8716:5;8688:7;:35::i;12976:520:4:-;13036:13;13052:16;13060:7;13052;:16::i;:::-;13036:32;;13081:48;13102:5;13117:1;13121:7;13081:20;:48::i;:::-;13170:29;13187:1;13191:7;13170:8;:29::i;:::-;13258:19;;;;:10;:19;;;;;13252:33;;-1:-1:-1;;13252:33:4;;;;;;;;;;;:38;13248:97;;13314:19;;;;:10;:19;;;;;13307:26;;;:::i;:::-;-1:-1:-1;;;;;13357:20:4;;;;;;:13;:20;;;;;:36;;13385:7;13357:27;:36::i;:::-;-1:-1:-1;13406:28:4;:12;13426:7;13406:19;:28::i;:::-;-1:-1:-1;13452:36:4;;13480:7;;13476:1;;-1:-1:-1;;;;;13452:36:4;;;;;13476:1;;13452:36;12976:520;;:::o;7694:227:5:-;7774:7;;;;7834:22;7838:3;7850:5;7834:3;:22::i;:::-;7803:53;;;;-1:-1:-1;7694:227:5;-1:-1:-1;;;;;7694:227:5:o;15008:100:4:-;15081:19;;;;:8;;:19;;;;;:::i;8356:204:5:-;8463:7;8506:44;8511:3;8531;8537:12;8506:4;:44::i;:::-;8498:53;-1:-1:-1;8356:204:5;;;;;;:::o;9873:272:4:-;9987:28;9997:4;10003:2;10007:7;9987:9;:28::i;:::-;10034:48;10057:4;10063:2;10067:7;10076:5;10034:22;:48::i;:::-;10026:111;;;;-1:-1:-1;;;10026:111:4;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;221:744:14;277:13;498:10;494:53;;-1:-1:-1;525:10:14;;;;;;;;;;;;-1:-1:-1;;;525:10:14;;;;;;494:53;572:5;557:12;613:78;620:9;;613:78;;646:8;;677:2;669:10;;;;613:78;;;701:19;733:6;723:17;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;723:17:14;-1:-1:-1;795:5:14;;-1:-1:-1;701:39:14;-1:-1:-1;;;767:10:14;;811:115;818:9;;811:115;;885:2;878:4;:9;873:2;:14;862:27;;844:6;851:7;;;;;;;844:15;;;;;;;;;;;:45;-1:-1:-1;;;;;844:45:14;;;;;;;;-1:-1:-1;912:2:14;904:10;;;;811:115;;;-1:-1:-1;950:6:14;221:744;-1:-1:-1;;;;221:744:14:o;16779:106:1:-;16855:15;;16828:7;;16855:22;;16875:1;16855:19;:22::i;11757:250:4:-;11853:18;11859:2;11863:7;11853:5;:18::i;:::-;11890:54;11921:1;11925:2;11929:7;11938:5;11890:22;:54::i;:::-;11882:117;;;;-1:-1:-1;;;11882:117:4;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;16962:73:1;17010:15;:17;;;;;;16962:73::o;16205:429::-;16295:25;;;;:16;:25;;;;;;;;:40;;;16346:31;;;:17;:31;;;;;:44;;16312:7;16346:35;:44::i;:::-;-1:-1:-1;16507:24:1;;;;:15;:24;;;;;;;;16504:113;;;16547:45;;;;:31;:45;;;;;:58;;16597:7;16547:49;:58::i;6993:151:5:-;7077:4;7101:35;7111:3;7131;7101:9;:35::i;4581:204:6:-;4676:18;;4648:7;;4676:26;-1:-1:-1;4668:73:6;;;;-1:-1:-1;;;4668:73:6;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4759:3;:11;;4771:5;4759:18;;;;;;;;;;;;;;;;4752:25;;4581:204;;;;:::o;4615:110:5:-;4698:19;;4615:110::o;8287:131:6:-;8354:4;8378:32;8383:3;8403:5;8378:4;:32::i;6425:176:5:-;6514:4;6538:55;6543:3;6563;-1:-1:-1;;;;;6577:14:5;;6538:4;:55::i;1813:192:13:-;1899:7;1935:12;1927:6;;;;1919:29;;;;-1:-1:-1;;;1919:29:13;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;1971:5:13;;;1813:192::o;3839:278::-;3925:7;3960:12;3953:5;3945:28;;;;-1:-1:-1;;;3945:28:13;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3984:9;4000:1;3996;:5;;;;;;;3839:278;-1:-1:-1;;;;;3839:278:13:o;2283:1544:6:-;2349:4;2488:19;;;:12;;;:19;;;;;;2524:15;;2520:1300;;2959:18;;-1:-1:-1;;2910:14:6;;;;2959:22;;;;2886:21;;2959:3;;:22;;3246;;;;;;;;;;;;;;3226:42;;3392:9;3363:3;:11;;3375:13;3363:26;;;;;;;;;;;;;;;;;;;:38;;;;3469:23;;;3511:1;3469:12;;;:23;;;;;;3495:17;;;3469:43;;3621:17;;3469:3;;3621:17;;;;;;;;;;;;;;;;;;;;;;3716:3;:12;;:19;3729:5;3716:19;;;;;;;;;;;3709:26;;;3759:4;3752:11;;;;;;;;2520:1300;3803:5;3796:12;;;;;6767:142:5;6844:4;6868:33;6876:3;6896;6868:7;:33::i;5080:279::-;5184:19;;5147:7;;;;5184:27;-1:-1:-1;5176:74:5;;;;-1:-1:-1;;;5176:74:5;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5263:22;5288:3;:12;;5301:5;5288:19;;;;;;;;;;;;;;;;;;5263:44;;5326:5;:10;;;5338:5;:12;;;5318:33;;;;;5080:279;;;;;:::o;5782:319::-;5876:7;5915:17;;;:12;;;:17;;;;;;5966:12;5951:13;5943:36;;;;-1:-1:-1;;;5943:36:5;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6033:3;:12;;6057:1;6046:8;:12;6033:26;;;;;;;;;;;;;;;;;;:33;;;6026:40;;;5782:319;;;;;:::o;15673:604:4:-;15794:4;15821:15;:2;-1:-1:-1;;;;;15821:13:4;;:15::i;:::-;15816:60;;-1:-1:-1;15860:4:4;15853:11;;15816:60;15886:23;15912:252;-1:-1:-1;;;16025:12:4;:10;:12::i;:::-;16052:4;16071:7;16093:5;15928:181;;;;;;-1:-1:-1;;;;;15928:181:4;;;;;;-1:-1:-1;;;;;15928:181:4;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;15928:181:4;;;;;;;-1:-1:-1;;;;;15928:181:4;;;;;;;;;;;15912:252;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;15912:15:4;;;:252;:15;:252::i;:::-;15886:278;;16175:13;16202:10;16191:32;;;;;;;;;;;;;;;-1:-1:-1;16191:32:4;-1:-1:-1;;;;;;16242:26:4;-1:-1:-1;;;16242:26:4;;-1:-1:-1;;;15673:604:4;;;;;;:::o;12343:404::-;-1:-1:-1;;;;;12423:16:4;;12415:61;;;;;-1:-1:-1;;;12415:61:4;;;;;;;;;;;;;;;;;;;;;;;;;;;;;12496:16;12504:7;12496;:16::i;:::-;12495:17;12487:58;;;;;-1:-1:-1;;;12487:58:4;;;;;;;;;;;;;;;;;;;;;;;;;;;;12558:45;12587:1;12591:2;12595:7;12558:20;:45::i;:::-;-1:-1:-1;;;;;12616:17:4;;;;;;:13;:17;;;;;:30;;12638:7;12616:21;:30::i;:::-;-1:-1:-1;12659:29:4;:12;12676:7;12685:2;12659:16;:29::i;:::-;-1:-1:-1;12706:33:4;;12731:7;;-1:-1:-1;;;;;12706:33:4;;;12723:1;;12706:33;;12723:1;;12706:33;12343:404;;:::o;4395:125:5:-;4466:4;4490:17;;;:12;;;;;:17;;;;;;:22;;;4395:125::o;1693:414:6:-;1756:4;1778:21;1788:3;1793:5;1778:9;:21::i;:::-;1773:327;;-1:-1:-1;1816:23:6;;;;;;;;:11;:23;;;;;;;;;;;;;1999:18;;1977:19;;;:12;;;:19;;;;;;:40;;;;2032:11;;1773:327;-1:-1:-1;2083:5:6;2076:12;;1895:692:5;1971:4;2106:17;;;:12;;;:17;;;;;;2140:13;2136:444;;-1:-1:-1;;2225:38:5;;;;;;;;;;;;;;;;;;2207:57;;;;;;;;:12;:57;;;;;;;;;;;;;;;;;;;;;;;;2422:19;;2402:17;;;:12;;;:17;;;;;;;:39;2456:11;;2136:444;2536:5;2500:3;:12;;2524:1;2513:8;:12;2500:26;;;;;;;;;;;;;;;;;;:33;;:41;;;;2563:5;2556:12;;;;;2762:1549;2826:4;2961:17;;;:12;;;:17;;;;;;2995:13;;2991:1313;;3427:19;;-1:-1:-1;;3380:12:5;;;;3427:23;;;;3356:21;;3427:3;;:23;;3724;;;;;;;;;;;;;;;;3695:52;;3872:9;3842:3;:12;;3855:13;3842:27;;;;;;;;;;;;;;;;:39;;:27;;;;;:39;;;;;;;;;;;;;;;3962:14;;3949:28;;:12;;;:28;;;;;3980:17;;;3949:48;;4106:18;;3949:3;;4106:18;;;;;;;;;;;;;;-1:-1:-1;;4106:18:5;;;;;;;;;;;;;;;;;;;;;4202:17;;;:12;;;:17;;;;;;4195:24;;;;4106:18;-1:-1:-1;4236:11:5;;-1:-1:-1;;;;4236:11:5;751:422:0;1118:20;1157:8;;;751:422::o;3669:195::-;3772:12;3804:52;3826:6;3834:4;3840:1;3843:12;3772;4973:18;4984:6;4973:10;:18::i;:::-;4965:60;;;;;-1:-1:-1;;;4965:60:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;5099:12;5113:23;5140:6;-1:-1:-1;;;;;5140:11:0;5160:5;5168:4;5140:33;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;5140:33:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5098:75;;;;5191:52;5209:7;5218:10;5230:12;5191:17;:52::i;:::-;5184:59;4721:530;-1:-1:-1;;;;;;;4721:530:0:o;6257:742::-;6372:12;6401:7;6397:595;;;-1:-1:-1;6432:10:0;6425:17;;6397:595;6546:17;;:21;6542:439;;6809:10;6803:17;6870:15;6857:10;6853:2;6849:19;6842:44;6757:148;6945:20;;-1:-1:-1;;;6945:20:0;;;;;;;;;;;;;;;;;6952:12;;6945:20;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

Swarm Source

ipfs://a2913409592c49b41ed4d10d1c9d31544739b51d8bf55f322d04b542ecac0684

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

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