ETH Price: $3,414.38 (+3.09%)
Gas: 9.33 Gwei

Token

ScoopDogSquad (SDOG)
 

Overview

Max Total Supply

664 SDOG

Holders

280

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Filtered by Token Holder
blaiseinferno.eth
Balance
1 SDOG
0xfe13a69994743ae68053ccc7a4d601d2b63c9318
Loading...
Loading
Loading...
Loading
Loading...
Loading

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

Contract Source Code Verified (Exact Match)

Contract Name:
SCOOPDOGSQUAD

Compiler Version
v0.8.6+commit.11564f7e

Optimization Enabled:
Yes with 50000 runs

Other Settings:
default evmVersion
File 1 of 13 : scoopdogsquad.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;

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

/**
 * @title SCOOPDOG-SQUAD contract
 * @dev Extends ERC721 Non-Fungible Token Standard basic implementation
 */
import "@openzeppelin/contracts/token/ERC721/ERC721.sol";
import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol";
import "@openzeppelin/contracts/access/Ownable.sol";

contract SCOOPDOGSQUAD is ERC721Enumerable, Ownable {
    // ScoopDog-Squad Contract Constants
    uint256 public MINT_ETH_COST = 69 * 10**15; // 0.069 ETH
    uint256 public RESERVED_SUPPLY = 50;
    uint256 public MAX_IN_ONE_GO = 20;
    uint256 public MAX_SUPPLY = 10000;

    // Provenance (and reveal).
    // The IPFS reveal hash.
    string public PROVENANCE_HASH = "";
    // The First SDOG provenance index.
    uint256 public FIRST_SDOG = 0;
    // Pre set reveal time.
    uint256 public REVEAL_TIMESTAMP = 1627264800;
    // End of pre-sale block number.
    uint256 public FIRST_BLOCK = 0;

    // Interaction variables.
    // To prevent minting when not ready.
    bool private saleLock = true;
    // The base URI of the tokens.
    string internal tokenBaseURI;

    // Naming variables
    mapping (uint256 => string) private sdogNames;
    mapping (string => bool) private usedNames;
    event Named(uint256 indexed index, string name);

    // Company variables(all private).
    address[] private companyAddresses;
    mapping (address => uint) private companyAddressAmounts;

    // And it begins...
    // Name: ScoopDogSquad, Symbol: SDOG
    constructor(string memory name, string memory symbol, address[] memory _companyAddresses)
        ERC721(name, symbol) {
        companyAddresses = _companyAddresses;
    }

    //////////////////////////////////////////////////////////////////////////////////////////
    // Company Functions.
    //////////////////////////////////////////////////////////////////////////////////////////
    function withdrawFunds(uint amount) external {
        require(companyAddressAmounts[msg.sender] >= amount, "No funds left or not a member.");

        // Update amount before sending to prevent re-entrancy attacks
        companyAddressAmounts[msg.sender] -= amount;
        (bool success, ) = payable(msg.sender).call{value: amount}("");
        require(success, "Transfer failed.");
    }

    function withdrawOwner(uint amount) external onlyOwner {        
        // Get the reserved funds to not step over those.
        uint reservedFunds = 0;
        for (uint i = 0; i < companyAddresses.length; i++) {
            address _address = companyAddresses[i];
            reservedFunds += companyAddressAmounts[_address];
        }

        // Make sure the owner is not withdrawing more than what it has available to him.
        uint amountAvailableOwner = address(this).balance - reservedFunds;
        require(amount <= amountAvailableOwner, 
            "Amount higher than owner's");

        // The amount to tranfer to each of the members.
        uint amountToTransferEach = amount / companyAddresses.length;
        for (uint i = 0; i < companyAddresses.length; i++) {
            address _address = companyAddresses[i];
            (bool success, ) = payable(_address).call{value: amountToTransferEach}("");
            require(success, "Transfer failed.");
        }
    }

    function checkCompanyBalance() external view returns (uint) {
        return companyAddressAmounts[msg.sender];
    }
    
    function checkOwnerBalance() external view onlyOwner returns (uint256) {
        uint reservedFunds = 0;
        for (uint i = 0; i < companyAddresses.length; i++) {
            address _address = companyAddresses[i];
            reservedFunds += companyAddressAmounts[_address];
        }
        return address(this).balance - reservedFunds;
    }

    function updateAccounting() private {
        uint percent = 90 / companyAddresses.length;
        uint amountEach = msg.value * percent / 100;

        for (uint i = 0; i < companyAddresses.length; i++) {
            address a = companyAddresses[i];
            companyAddressAmounts[a] += amountEach;
        }
    }

    /////////////////////////////////////////////////////////////////////////////////////////
    // OnlyOwner functions.
    /////////////////////////////////////////////////////////////////////////////////////////
    /**
     * The reveal timestamp.
     */
    function setRevealTimestamp(uint256 _revealTimeStamp) external onlyOwner {
        REVEAL_TIMESTAMP = _revealTimeStamp;
    }

    /**
     * Set the provenance reveal hash.
     */
    function setProvenanceHash(string memory _provenanceHash) external onlyOwner {    
        PROVENANCE_HASH = _provenanceHash;
    }

    /**
     * Set the mint price.
     */
    function setMintCost(uint256 _mintCost) external onlyOwner {    
        MINT_ETH_COST = _mintCost;
    }

    /**
     * Returns the baseURI which in our case corresponds to tokenBaseURI.
     */
    function _baseURI() internal view virtual override returns (string memory) {
        return tokenBaseURI;
    }

    /**
     * Sets the baseURI which will be stored as tokenBaseURI.
     */
    function setBaseURI(string memory baseURI) external onlyOwner {
        tokenBaseURI = baseURI;
    }

    /**
     * Flip the sale lock. 
     */
    function flipSaleLock() external onlyOwner {
        saleLock = !saleLock;
    }

    /**
     * Allows the owner to claim the company tokens.
     * - Reserved for the team, giveaways, partnerships, etc.
     */
    function reserveSDOGs() external onlyOwner {
        require(totalSupply() < RESERVED_SUPPLY, "The reserved supply has already been requested");
        
        for (uint i = 0; i < RESERVED_SUPPLY; i++) {
            _safeMint(msg.sender, totalSupply());
        }
    }

    /**
     * External owner access to set the First SDOG index.
     */
     function setFirstSDOG() external onlyOwner {
        require(FIRST_SDOG == 0, "First SDOG has already been set");
        require(FIRST_BLOCK != 0, "First Block has to be set first");

        setFirstSDOGInner();
    }

    /**
     * External owner access to set the First Block and then First SDOG index.
     */
    function setFirstBlock() external onlyOwner {
        require(FIRST_BLOCK == 0, "First Block has already been set");

        setFirstBlockInner();
    }

    /**
     * Safety function to remove bad names.
     */
    function removeName(uint256 tokenId) external onlyOwner {
        require(tokenId < totalSupply(), "The token ID is not valid");
        // We will keep the name in the disallow list to prevent it
        // from been used again.
        sdogNames[tokenId] = "";
    }  

    /////////////////////////////////////////////////////////////////////////////////////////
    // Private Functions
    /////////////////////////////////////////////////////////////////////////////////////////
    /**
     * Sets the First SDOG index.
     * Ideally, we won't get 0 as the First SDOG, but it could be the case.
     * We need to keep things as random as possible.
     */
    function setFirstSDOGInner() private {
        require(FIRST_BLOCK != 0, "First Block has to be set first");
        FIRST_SDOG = uint(keccak256(
            abi.encodePacked(block.timestamp, block.difficulty, msg.sender))) % MAX_SUPPLY;
    }

    /**
     * Sets the First Block and then First SDOG index.
     */
    function setFirstBlockInner() private {   
        require(FIRST_BLOCK == 0, "First Block has already been set");     
        FIRST_BLOCK = block.number;
        setFirstSDOGInner();
    }

    /**
     * Sets the First Block if:
     * - The First Block and Cumplant have not been set.
     * - The max supply has been reached.
     * - The Pre-Sale period has ended.
     */  
    function setFirstIfReady() private {
        if (FIRST_SDOG == 0 &&
            FIRST_BLOCK == 0 &&
            (totalSupply() == MAX_SUPPLY ||
              block.timestamp >= REVEAL_TIMESTAMP)) {
                setFirstBlockInner();
        }
    }

    /**
     * Converts the given string to lower case.
     */
    function toLower(string memory str) private pure returns (string memory) {
        bytes memory bStr = bytes(str);
        bytes memory bLower = new bytes(bStr.length);
        for (uint256 i = 0; i < bStr.length; i++) {
            if ((uint8(bStr[i]) >= 65) && (uint8(bStr[i]) <= 90)) {
                bLower[i] = bytes1(uint8(bStr[i]) + 32);
            } else {
                bLower[i] = bStr[i];
            }
        }
        return string(bLower);
    }

    /////////////////////////////////////////////////////////////////////////////////////////
    // Convenient Web3 functions
    /////////////////////////////////////////////////////////////////////////////////////////
    /**
     * Returns the HODLer token IDs which we plan to use for web3 stuff in the future.
     */  
    function getMemberTokenIDs(address member) external view returns(uint256[] memory) {
        uint tokenCount = balanceOf(member);

        uint256[] memory tokensIDs = new uint256[](tokenCount);
        for (uint i = 0; i < tokenCount; i++) {
            // Store the token indices.
            tokensIDs[i] = tokenOfOwnerByIndex(member, i);
        }

        return tokensIDs;
    }

    /**
     * Returns the name given an index.
     */
    function tokenNameByTokenID(uint256 tokenId) external view returns (string memory) {
        require(tokenId < totalSupply(), "The token ID is not valid");
        return sdogNames[tokenId];
    }

    /////////////////////////////////////////////////////////////////////////////////////////
    // Naming and Minting functions (General Public)
    /////////////////////////////////////////////////////////////////////////////////////////

    /**
     * Checks is the name has been used, remember, we want names to be unique.
     */
    function isNameUsed(string memory name) public view returns (bool) {
        require(isValidName(name) == true, "This is not a valid name");
        return usedNames[toLower(name)];
    }

    /**
     * Validates the provided name.
     */
    function isValidName(string memory name) public pure returns (bool isValid) {
        bytes memory b = bytes(name);

        require(b.length >= 3, "Can't be shorter than 3 chars");
        require(b.length <= 32, "Can't be longer than 32 chars.");
        require(b[0] != 0x20, "Can't start with space.");
        require(b[b.length - 1] != 0x20, "Can't end with space.");

        bytes1 lastChar = b[0];// Last Processed char
        for (uint256 i; i < b.length; i++) {
            bytes1 char = b[i];

            require(char != 0x20 || lastChar != 0x20, "No 2+ consecutive spaces.");
            require((char >= 0x30 && char <= 0x39) || // not 0-9
                (char >= 0x41 && char <= 0x5A) || // not A-Z
                (char >= 0x61 && char <= 0x7A) || // not a-z
                (char == 0x20), "Only 0-9, A-Z, a-z and Space are allowed.");

            if ((char >= 0x41 && char <= 0x5A) || // is A-Z
                (char >= 0x61 && char <= 0x7A)) { // is a-z
                    isValid = true;
                }
            lastChar = char;
        }
        // Not alphabet char in the name will return false.
        require(isValid, "The name needs to have at least 1 alphabet(A-z) character.");
        return true;
    }

    /**
     * Set SDOG Name function.
     */
    function setSDogName(uint256 tokenId, string memory name) external {
        require(FIRST_BLOCK != 0, "The reveal has not happened");
        require(msg.sender == ownerOf(tokenId), "This token does not belong to the requesting address");
        require(isValidName(name) == true, "This is not a valid name");
        require(isNameUsed(name) == false, "The name has already been used");
        // Release the old name.
        if (bytes(sdogNames[tokenId]).length > 0) {
            usedNames[toLower(sdogNames[tokenId])] = false;
        }
        usedNames[toLower(name)] = true;
        sdogNames[tokenId] = name;
        emit Named(tokenId, name);
    }

    /**
     * Mints SDOGs
     */  
    function mintSDOG(uint tokenAmount) external payable {
        require(!saleLock, "The sale is closed");
        require(totalSupply() < MAX_SUPPLY, "The sale has ended");
        require(totalSupply() + tokenAmount <= MAX_SUPPLY, "Transaction exceeds max supply");        
        require(tokenAmount <= MAX_IN_ONE_GO, "Token Amount exceeded the max allowed per transaction (20)");
        require(msg.value >= tokenAmount * MINT_ETH_COST, "Value sent is below total cost");

        for (uint i = 0; i < tokenAmount; i++) {
            // Double check that we are not trying to mint more than the max supply.
            if (totalSupply() < MAX_SUPPLY) {                
                _safeMint(msg.sender, totalSupply());
            }
        }
        // Set the First Block if ready (if it's time).
        setFirstIfReady();
        // Perform accounting.
        updateAccounting();
    }
}

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

pragma solidity ^0.8.0;

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

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

    /**
     * @dev Initializes the contract setting the deployer as the initial owner.
     */
    constructor () {
        address msgSender = _msgSender();
        _owner = msgSender;
        emit OwnershipTransferred(address(0), msgSender);
    }

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

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

    /**
     * @dev Leaves the contract without owner. It will not be possible to call
     * `onlyOwner` functions anymore. Can only be called by the current owner.
     *
     * NOTE: Renouncing ownership will leave the contract without an owner,
     * thereby removing any functionality that is only available to the owner.
     */
    function renounceOwnership() public virtual onlyOwner {
        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 3 of 13 : ERC721Enumerable.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

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

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

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

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

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

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

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

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

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

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

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

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

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

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

    /**
     * @dev Base URI for computing {tokenURI}. Empty by default, can be overriden
     * in child contracts.
     */
    function _baseURI() internal view virtual returns (string memory) {
        return "";
    }

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

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

        _approve(to, tokenId);
    }

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

        return _tokenApprovals[tokenId];
    }

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

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

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

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

        _transfer(from, to, tokenId);
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        _beforeTokenTransfer(from, to, tokenId);

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

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

        emit Transfer(from, to, tokenId);
    }

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

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

    /**
     * @dev Hook that is called before any token transfer. This includes minting
     * and burning.
     *
     * Calling conditions:
     *
     * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be
     * transferred to `to`.
     * - When `from` is zero, `tokenId` will be minted for `to`.
     * - When `to` is zero, ``from``'s `tokenId` will be burned.
     * - `from` 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 5 of 13 : IERC721Enumerable.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "../IERC721.sol";

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

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

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

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

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

pragma solidity ^0.8.0;

import "./IERC165.sol";

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

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

pragma solidity ^0.8.0;

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

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

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

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

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

}

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

pragma solidity ^0.8.0;

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

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

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

pragma solidity ^0.8.0;

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

        uint256 size;
        // 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);
    }

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

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

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

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

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

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

pragma solidity ^0.8.0;

import "../IERC721.sol";

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

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

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

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

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

pragma solidity ^0.8.0;

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

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

Settings
{
  "optimizer": {
    "enabled": true,
    "runs": 50000
  },
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "abi"
      ]
    }
  }
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string","name":"name","type":"string"},{"internalType":"string","name":"symbol","type":"string"},{"internalType":"address[]","name":"_companyAddresses","type":"address[]"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"index","type":"uint256"},{"indexed":false,"internalType":"string","name":"name","type":"string"}],"name":"Named","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"FIRST_BLOCK","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"FIRST_SDOG","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_IN_ONE_GO","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MINT_ETH_COST","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PROVENANCE_HASH","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"RESERVED_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"REVEAL_TIMESTAMP","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"checkCompanyBalance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"checkOwnerBalance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"flipSaleLock","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"member","type":"address"}],"name":"getMemberTokenIDs","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":"string","name":"name","type":"string"}],"name":"isNameUsed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"string","name":"name","type":"string"}],"name":"isValidName","outputs":[{"internalType":"bool","name":"isValid","type":"bool"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenAmount","type":"uint256"}],"name":"mintSDOG","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"removeName","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"reserveSDOGs","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":[],"name":"setFirstBlock","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"setFirstSDOG","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_mintCost","type":"uint256"}],"name":"setMintCost","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_provenanceHash","type":"string"}],"name":"setProvenanceHash","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_revealTimeStamp","type":"uint256"}],"name":"setRevealTimestamp","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"string","name":"name","type":"string"}],"name":"setSDogName","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":"tokenNameByTokenID","outputs":[{"internalType":"string","name":"","type":"string"}],"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":"amount","type":"uint256"}],"name":"withdrawFunds","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"withdrawOwner","outputs":[],"stateMutability":"nonpayable","type":"function"}]

66f5232269808000600b556032600c556014600d55612710600e5560a06040819052600060808190526200003691600f916200013b565b50600060108190556360fe17206011556012556013805460ff191660011790553480156200006357600080fd5b5060405162004bb638038062004bb68339810160408190526200008691620002ce565b8251839083906200009f9060009060208501906200013b565b508051620000b59060019060208401906200013b565b5050506000620000ca6200013760201b60201c565b600a80546001600160a01b0319166001600160a01b038316908117909155604051919250906000907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a35080516200012d906017906020840190620001ca565b5050505062000470565b3390565b82805462000149906200041d565b90600052602060002090601f0160209004810192826200016d5760008555620001b8565b82601f106200018857805160ff1916838001178555620001b8565b82800160010185558215620001b8579182015b82811115620001b85782518255916020019190600101906200019b565b50620001c692915062000222565b5090565b828054828255906000526020600020908101928215620001b8579160200282015b82811115620001b857825182546001600160a01b0319166001600160a01b03909116178255602090920191600190910190620001eb565b5b80821115620001c6576000815560010162000223565b600082601f8301126200024b57600080fd5b81516001600160401b038111156200026757620002676200045a565b60206200027d601f8301601f19168201620003ea565b82815285828487010111156200029257600080fd5b60005b83811015620002b257858101830151828201840152820162000295565b83811115620002c45760008385840101525b5095945050505050565b600080600060608486031215620002e457600080fd5b83516001600160401b0380821115620002fc57600080fd5b6200030a8783880162000239565b94506020915081860151818111156200032257600080fd5b620003308882890162000239565b9450506040860151818111156200034657600080fd5b8601601f810188136200035857600080fd5b8051828111156200036d576200036d6200045a565b8060051b925062000380848401620003ea565b8181528481019083860185850187018c10156200039c57600080fd5b600095508594505b83851015620003d95780516001600160a01b0381168114620003c4578687fd5b835260019490940193918601918601620003a4565b508096505050505050509250925092565b604051601f8201601f191681016001600160401b03811182821017156200041557620004156200045a565b604052919050565b600181811c908216806200043257607f821691505b602082108114156200045457634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052604160045260246000fd5b61473680620004806000396000f3fe6080604052600436106102fd5760003560e01c806342842e0e1161018f5780638545f4ea116100e1578063cf432abf1161008a578063ec75d62211610064578063ec75d6221461084f578063f2fde38b1461086f578063ff1b65561461088f57600080fd5b8063cf432abf146107c2578063d809bd69146107d7578063e985e9c5146107f957600080fd5b8063a22cb465116100bb578063a22cb46514610762578063b88d4fde14610782578063c87b56dd146107a257600080fd5b80638545f4ea146107025780638da5cb5b1461072257806395d89b411461074d57600080fd5b8063578e23c6116101435780636ef98b211161011d5780636ef98b21146106ad57806370a08231146106cd578063715018a6146106ed57600080fd5b8063578e23c614610663578063583813a4146106785780636352211e1461068d57600080fd5b80634f6ccce7116101745780634f6ccce71461060d57806355f804b31461062d5780635773d19e1461064d57600080fd5b806342842e0e146105cd5780634e75486a146105ed57600080fd5b80631c6cf2d8116102535780632a7e236c116101fc57806332cb6b0c116101d657806332cb6b0c1461058f578063362446bf146105a557806338fe91e1146105b857600080fd5b80632a7e236c146105435780632f745c591461055957806331a53e9a1461057957600080fd5b8063249b16de1161022d578063249b16de146104f75780632729131e1461050d5780632780e4901461052d57600080fd5b80631c6cf2d8146104a25780631e30397f146104b757806323b872dd146104d757600080fd5b8063095ea7b3116102b557806318160ddd1161028f57806318160ddd1461044057806318e20a381461045f5780631b116ce31461047557600080fd5b8063095ea7b3146103e05780631096952314610400578063155dd5ee1461042057600080fd5b8063069bf5aa116102e6578063069bf5aa1461035957806306fdde0314610379578063081812fc1461039b57600080fd5b8063018a2c371461030257806301ffc9a714610324575b600080fd5b34801561030e57600080fd5b5061032261031d3660046142e0565b6108a4565b005b34801561033057600080fd5b5061034461033f366004614271565b610915565b60405190151581526020015b60405180910390f35b34801561036557600080fd5b506103226103743660046142f9565b610971565b34801561038557600080fd5b5061038e610cda565b6040516103509190614462565b3480156103a757600080fd5b506103bb6103b63660046142e0565b610d6c565b60405173ffffffffffffffffffffffffffffffffffffffff9091168152602001610350565b3480156103ec57600080fd5b506103226103fb366004614247565b610e2c565b34801561040c57600080fd5b5061032261041b3660046142ab565b610f85565b34801561042c57600080fd5b5061032261043b3660046142e0565b611003565b34801561044c57600080fd5b506008545b604051908152602001610350565b34801561046b57600080fd5b5061045160115481565b34801561048157600080fd5b50610495610490366004614105565b61111e565b604051610350919061441e565b3480156104ae57600080fd5b506103226111c0565b3480156104c357600080fd5b506103446104d23660046142ab565b6112d4565b3480156104e357600080fd5b506103226104f2366004614153565b611a72565b34801561050357600080fd5b5061045160125481565b34801561051957600080fd5b5061038e6105283660046142e0565b611af9565b34801561053957600080fd5b50610451600b5481565b34801561054f57600080fd5b50610451600d5481565b34801561056557600080fd5b50610451610574366004614247565b611bf0565b34801561058557600080fd5b50610451600c5481565b34801561059b57600080fd5b50610451600e5481565b6103226105b33660046142e0565b611ca5565b3480156105c457600080fd5b50610451611ecb565b3480156105d957600080fd5b506103226105e8366004614153565b611fbe565b3480156105f957600080fd5b506103226106083660046142e0565b611fd9565b34801561061957600080fd5b506104516106283660046142e0565b6120b9565b34801561063957600080fd5b506103226106483660046142ab565b61215d565b34801561065957600080fd5b5061045160105481565b34801561066f57600080fd5b506103226121d7565b34801561068457600080fd5b506103226122e7565b34801561069957600080fd5b506103bb6106a83660046142e0565b612380565b3480156106b957600080fd5b506103226106c83660046142e0565b612418565b3480156106d957600080fd5b506104516106e8366004614105565b612660565b3480156106f957600080fd5b50610322612714565b34801561070e57600080fd5b5061032261071d3660046142e0565b6127ea565b34801561072e57600080fd5b50600a5473ffffffffffffffffffffffffffffffffffffffff166103bb565b34801561075957600080fd5b5061038e612856565b34801561076e57600080fd5b5061032261077d36600461420b565b612865565b34801561078e57600080fd5b5061032261079d36600461418f565b612962565b3480156107ae57600080fd5b5061038e6107bd3660046142e0565b6129f0565b3480156107ce57600080fd5b50610322612ae6565b3480156107e357600080fd5b5033600090815260186020526040902054610451565b34801561080557600080fd5b50610344610814366004614120565b73ffffffffffffffffffffffffffffffffffffffff918216600090815260056020908152604080832093909416825291909152205460ff1690565b34801561085b57600080fd5b5061034461086a3660046142ab565b612ba5565b34801561087b57600080fd5b5061032261088a366004614105565b612c32565b34801561089b57600080fd5b5061038e612db0565b600a5473ffffffffffffffffffffffffffffffffffffffff1633146109105760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064015b60405180910390fd5b601155565b60007fffffffff0000000000000000000000000000000000000000000000000000000082167f780e9d6300000000000000000000000000000000000000000000000000000000148061096b575061096b82612e3e565b92915050565b6012546109c05760405162461bcd60e51b815260206004820152601b60248201527f5468652072657665616c20686173206e6f742068617070656e656400000000006044820152606401610907565b6109c982612380565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610a695760405162461bcd60e51b815260206004820152603460248201527f5468697320746f6b656e20646f6573206e6f742062656c6f6e6720746f20746860448201527f652072657175657374696e6720616464726573730000000000000000000000006064820152608401610907565b610a72816112d4565b1515600114610ac35760405162461bcd60e51b815260206004820152601860248201527f54686973206973206e6f7420612076616c6964206e616d6500000000000000006044820152606401610907565b610acc81612ba5565b15610b195760405162461bcd60e51b815260206004820152601e60248201527f546865206e616d652068617320616c7265616479206265656e207573656400006044820152606401610907565b60008281526015602052604081208054610b3290614546565b90501115610c295760008281526015602052604081208054601691610bdd91610b5a90614546565b80601f0160208091040260200160405190810160405280929190818152602001828054610b8690614546565b8015610bd35780601f10610ba857610100808354040283529160200191610bd3565b820191906000526020600020905b815481529060010190602001808311610bb657829003601f168201915b5050505050612f21565b604051610bea919061438a565b90815260405190819003602001902080549115157fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff009092169190911790555b60016016610c3683612f21565b604051610c43919061438a565b908152604080516020928190038301902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001693151593909317909255600084815260158252919091208251610c9d92840190613f8f565b50817f9726e950b835e1f7f4fe747cca4223de678452a4f67c102d50408e22e94e948582604051610cce9190614462565b60405180910390a25050565b606060008054610ce990614546565b80601f0160208091040260200160405190810160405280929190818152602001828054610d1590614546565b8015610d625780601f10610d3757610100808354040283529160200191610d62565b820191906000526020600020905b815481529060010190602001808311610d4557829003601f168201915b5050505050905090565b60008181526002602052604081205473ffffffffffffffffffffffffffffffffffffffff16610e035760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201527f697374656e7420746f6b656e00000000000000000000000000000000000000006064820152608401610907565b5060009081526004602052604090205473ffffffffffffffffffffffffffffffffffffffff1690565b6000610e3782612380565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610edb5760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560448201527f72000000000000000000000000000000000000000000000000000000000000006064820152608401610907565b3373ffffffffffffffffffffffffffffffffffffffff82161480610f045750610f048133610814565b610f765760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006064820152608401610907565b610f8083836130ac565b505050565b600a5473ffffffffffffffffffffffffffffffffffffffff163314610fec5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610907565b8051610fff90600f906020840190613f8f565b5050565b336000908152601860205260409020548111156110625760405162461bcd60e51b815260206004820152601e60248201527f4e6f2066756e6473206c656674206f72206e6f742061206d656d6265722e00006044820152606401610907565b3360009081526018602052604081208054839290611081908490614503565b9091555050604051600090339083908381818185875af1925050503d80600081146110c8576040519150601f19603f3d011682016040523d82523d6000602084013e6110cd565b606091505b5050905080610fff5760405162461bcd60e51b815260206004820152601060248201527f5472616e73666572206661696c65642e000000000000000000000000000000006044820152606401610907565b6060600061112b83612660565b905060008167ffffffffffffffff811115611148576111486146a3565b604051908082528060200260200182016040528015611171578160200160208202803683370190505b50905060005b828110156111b8576111898582611bf0565b82828151811061119b5761119b614674565b6020908102919091010152806111b08161459a565b915050611177565b509392505050565b600a5473ffffffffffffffffffffffffffffffffffffffff1633146112275760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610907565b600c54600854106112a05760405162461bcd60e51b815260206004820152602e60248201527f54686520726573657276656420737570706c792068617320616c72656164792060448201527f6265656e207265717565737465640000000000000000000000000000000000006064820152608401610907565b60005b600c548110156112d1576112bf336112ba60085490565b61314c565b806112c98161459a565b9150506112a3565b50565b60008082905060038151101561132c5760405162461bcd60e51b815260206004820152601d60248201527f43616e27742062652073686f72746572207468616e20332063686172730000006044820152606401610907565b60208151111561137e5760405162461bcd60e51b815260206004820152601e60248201527f43616e2774206265206c6f6e676572207468616e2033322063686172732e00006044820152606401610907565b8060008151811061139157611391614674565b6020910101517fff00000000000000000000000000000000000000000000000000000000000000167f200000000000000000000000000000000000000000000000000000000000000014156114285760405162461bcd60e51b815260206004820152601760248201527f43616e277420737461727420776974682073706163652e0000000000000000006044820152606401610907565b80600182516114379190614503565b8151811061144757611447614674565b6020910101517fff00000000000000000000000000000000000000000000000000000000000000167f200000000000000000000000000000000000000000000000000000000000000014156114de5760405162461bcd60e51b815260206004820152601560248201527f43616e277420656e6420776974682073706163652e00000000000000000000006044820152606401610907565b6000816000815181106114f3576114f3614674565b01602001517fff0000000000000000000000000000000000000000000000000000000000000016905060005b82518110156119f457600083828151811061153c5761153c614674565b01602001517fff000000000000000000000000000000000000000000000000000000000000001690507f2000000000000000000000000000000000000000000000000000000000000000811415806115d657507f20000000000000000000000000000000000000000000000000000000000000007fff00000000000000000000000000000000000000000000000000000000000000841614155b6116225760405162461bcd60e51b815260206004820152601960248201527f4e6f20322b20636f6e7365637574697665207370616365732e000000000000006044820152606401610907565b7f30000000000000000000000000000000000000000000000000000000000000007fff000000000000000000000000000000000000000000000000000000000000008216108015906116b657507f39000000000000000000000000000000000000000000000000000000000000007fff00000000000000000000000000000000000000000000000000000000000000821611155b8061175057507f41000000000000000000000000000000000000000000000000000000000000007fff0000000000000000000000000000000000000000000000000000000000000082161080159061175057507f5a000000000000000000000000000000000000000000000000000000000000007fff00000000000000000000000000000000000000000000000000000000000000821611155b806117ea57507f61000000000000000000000000000000000000000000000000000000000000007fff000000000000000000000000000000000000000000000000000000000000008216108015906117ea57507f7a000000000000000000000000000000000000000000000000000000000000007fff00000000000000000000000000000000000000000000000000000000000000821611155b8061183657507f20000000000000000000000000000000000000000000000000000000000000007fff000000000000000000000000000000000000000000000000000000000000008216145b6118a85760405162461bcd60e51b815260206004820152602960248201527f4f6e6c7920302d392c20412d5a2c20612d7a20616e642053706163652061726560448201527f20616c6c6f7765642e00000000000000000000000000000000000000000000006064820152608401610907565b7f41000000000000000000000000000000000000000000000000000000000000007fff0000000000000000000000000000000000000000000000000000000000000082161080159061193c57507f5a000000000000000000000000000000000000000000000000000000000000007fff00000000000000000000000000000000000000000000000000000000000000821611155b806119d657507f61000000000000000000000000000000000000000000000000000000000000007fff000000000000000000000000000000000000000000000000000000000000008216108015906119d657507f7a000000000000000000000000000000000000000000000000000000000000007fff00000000000000000000000000000000000000000000000000000000000000821611155b156119e057600194505b9150806119ec8161459a565b91505061151f565b5082611a685760405162461bcd60e51b815260206004820152603a60248201527f546865206e616d65206e6565647320746f2068617665206174206c656173742060448201527f3120616c70686162657428412d7a29206368617261637465722e0000000000006064820152608401610907565b5060019392505050565b611a7c3382613166565b611aee5760405162461bcd60e51b815260206004820152603160248201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f7665640000000000000000000000000000006064820152608401610907565b610f808383836132bc565b6060611b0460085490565b8210611b525760405162461bcd60e51b815260206004820152601960248201527f54686520746f6b656e204944206973206e6f742076616c6964000000000000006044820152606401610907565b60008281526015602052604090208054611b6b90614546565b80601f0160208091040260200160405190810160405280929190818152602001828054611b9790614546565b8015611be45780601f10611bb957610100808354040283529160200191611be4565b820191906000526020600020905b815481529060010190602001808311611bc757829003601f168201915b50505050509050919050565b6000611bfb83612660565b8210611c6f5760405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201527f74206f6620626f756e64730000000000000000000000000000000000000000006064820152608401610907565b5073ffffffffffffffffffffffffffffffffffffffff919091166000908152600660209081526040808320938352929052205490565b60135460ff1615611cf85760405162461bcd60e51b815260206004820152601260248201527f5468652073616c6520697320636c6f73656400000000000000000000000000006044820152606401610907565b600e5460085410611d4b5760405162461bcd60e51b815260206004820152601260248201527f5468652073616c652068617320656e64656400000000000000000000000000006044820152606401610907565b600e5481611d5860085490565b611d629190614475565b1115611db05760405162461bcd60e51b815260206004820152601e60248201527f5472616e73616374696f6e2065786365656473206d617820737570706c7900006044820152606401610907565b600d54811115611e285760405162461bcd60e51b815260206004820152603a60248201527f546f6b656e20416d6f756e7420657863656564656420746865206d617820616c60448201527f6c6f77656420706572207472616e73616374696f6e20283230290000000000006064820152608401610907565b600b54611e3590826144c6565b341015611e845760405162461bcd60e51b815260206004820152601e60248201527f56616c75652073656e742069732062656c6f7720746f74616c20636f737400006044820152606401610907565b60005b81811015611eba57600e546008541015611ea857611ea8336112ba60085490565b80611eb28161459a565b915050611e87565b50611ec36134fa565b6112d1613532565b600a5460009073ffffffffffffffffffffffffffffffffffffffff163314611f355760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610907565b6000805b601754811015611fad57600060178281548110611f5857611f58614674565b600091825260208083209091015473ffffffffffffffffffffffffffffffffffffffff168083526018909152604090912054909150611f979084614475565b9250508080611fa59061459a565b915050611f39565b50611fb88147614503565b91505090565b610f8083838360405180602001604052806000815250612962565b600a5473ffffffffffffffffffffffffffffffffffffffff1633146120405760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610907565b60085481106120915760405162461bcd60e51b815260206004820152601960248201527f54686520746f6b656e204944206973206e6f742076616c6964000000000000006044820152606401610907565b604080516020808201808452600080845285815260159092529290209051610fff9290613f8f565b60006120c460085490565b82106121385760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201527f7574206f6620626f756e647300000000000000000000000000000000000000006064820152608401610907565b6008828154811061214b5761214b614674565b90600052602060002001549050919050565b600a5473ffffffffffffffffffffffffffffffffffffffff1633146121c45760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610907565b8051610fff906014906020840190613f8f565b600a5473ffffffffffffffffffffffffffffffffffffffff16331461223e5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610907565b6010541561228e5760405162461bcd60e51b815260206004820152601f60248201527f46697273742053444f472068617320616c7265616479206265656e20736574006044820152606401610907565b6012546122dd5760405162461bcd60e51b815260206004820152601f60248201527f466972737420426c6f636b2068617320746f20626520736574206669727374006044820152606401610907565b6122e56135df565b565b600a5473ffffffffffffffffffffffffffffffffffffffff16331461234e5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610907565b601380547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00811660ff90911615179055565b60008181526002602052604081205473ffffffffffffffffffffffffffffffffffffffff168061096b5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201527f656e7420746f6b656e00000000000000000000000000000000000000000000006064820152608401610907565b600a5473ffffffffffffffffffffffffffffffffffffffff16331461247f5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610907565b6000805b6017548110156124f7576000601782815481106124a2576124a2614674565b600091825260208083209091015473ffffffffffffffffffffffffffffffffffffffff1680835260189091526040909120549091506124e19084614475565b92505080806124ef9061459a565b915050612483565b5060006125048247614503565b9050808311156125565760405162461bcd60e51b815260206004820152601a60248201527f416d6f756e7420686967686572207468616e206f776e657227730000000000006044820152606401610907565b60175460009061256690856144b2565b905060005b6017548110156126595760006017828154811061258a5761258a614674565b600091825260208220015460405173ffffffffffffffffffffffffffffffffffffffff9091169250829085908381818185875af1925050503d80600081146125ee576040519150601f19603f3d011682016040523d82523d6000602084013e6125f3565b606091505b50509050806126445760405162461bcd60e51b815260206004820152601060248201527f5472616e73666572206661696c65642e000000000000000000000000000000006044820152606401610907565b505080806126519061459a565b91505061256b565b5050505050565b600073ffffffffffffffffffffffffffffffffffffffff82166126eb5760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a6560448201527f726f2061646472657373000000000000000000000000000000000000000000006064820152608401610907565b5073ffffffffffffffffffffffffffffffffffffffff1660009081526003602052604090205490565b600a5473ffffffffffffffffffffffffffffffffffffffff16331461277b5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610907565b600a5460405160009173ffffffffffffffffffffffffffffffffffffffff16907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600a80547fffffffffffffffffffffffff0000000000000000000000000000000000000000169055565b600a5473ffffffffffffffffffffffffffffffffffffffff1633146128515760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610907565b600b55565b606060018054610ce990614546565b73ffffffffffffffffffffffffffffffffffffffff82163314156128cb5760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610907565b33600081815260056020908152604080832073ffffffffffffffffffffffffffffffffffffffff87168085529083529281902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b61296c3383613166565b6129de5760405162461bcd60e51b815260206004820152603160248201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f7665640000000000000000000000000000006064820152608401610907565b6129ea848484846136a4565b50505050565b60008181526002602052604090205460609073ffffffffffffffffffffffffffffffffffffffff16612a8a5760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201527f6e6578697374656e7420746f6b656e00000000000000000000000000000000006064820152608401610907565b6000612a9461372d565b90506000815111612ab45760405180602001604052806000815250612adf565b80612abe8461373c565b604051602001612acf9291906143a6565b6040516020818303038152906040525b9392505050565b600a5473ffffffffffffffffffffffffffffffffffffffff163314612b4d5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610907565b60125415612b9d5760405162461bcd60e51b815260206004820181905260248201527f466972737420426c6f636b2068617320616c7265616479206265656e207365746044820152606401610907565b6122e561386e565b6000612bb0826112d4565b1515600114612c015760405162461bcd60e51b815260206004820152601860248201527f54686973206973206e6f7420612076616c6964206e616d6500000000000000006044820152606401610907565b6016612c0c83612f21565b604051612c19919061438a565b9081526040519081900360200190205460ff1692915050565b600a5473ffffffffffffffffffffffffffffffffffffffff163314612c995760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610907565b73ffffffffffffffffffffffffffffffffffffffff8116612d225760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f64647265737300000000000000000000000000000000000000000000000000006064820152608401610907565b600a5460405173ffffffffffffffffffffffffffffffffffffffff8084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3600a80547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff92909216919091179055565b600f8054612dbd90614546565b80601f0160208091040260200160405190810160405280929190818152602001828054612de990614546565b8015612e365780601f10612e0b57610100808354040283529160200191612e36565b820191906000526020600020905b815481529060010190602001808311612e1957829003601f168201915b505050505081565b60007fffffffff0000000000000000000000000000000000000000000000000000000082167f80ac58cd000000000000000000000000000000000000000000000000000000001480612ed157507fffffffff0000000000000000000000000000000000000000000000000000000082167f5b5e139f00000000000000000000000000000000000000000000000000000000145b8061096b57507f01ffc9a7000000000000000000000000000000000000000000000000000000007fffffffff0000000000000000000000000000000000000000000000000000000083161461096b565b606060008290506000815167ffffffffffffffff811115612f4457612f446146a3565b6040519080825280601f01601f191660200182016040528015612f6e576020820181803683370190505b50905060005b82518110156111b8576041838281518110612f9157612f91614674565b016020015160f81c10801590612fc15750605a838281518110612fb657612fb6614674565b016020015160f81c11155b1561303b57828181518110612fd857612fd8614674565b602001015160f81c60f81b60f81c6020612ff2919061448d565b60f81b82828151811061300757613007614674565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a90535061309a565b82818151811061304d5761304d614674565b602001015160f81c60f81b82828151811061306a5761306a614674565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053505b806130a48161459a565b915050612f74565b600081815260046020526040902080547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff8416908117909155819061310682612380565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b610fff8282604051806020016040528060008152506138ca565b60008181526002602052604081205473ffffffffffffffffffffffffffffffffffffffff166131fd5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201527f697374656e7420746f6b656e00000000000000000000000000000000000000006064820152608401610907565b600061320883612380565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16148061327757508373ffffffffffffffffffffffffffffffffffffffff1661325f84610d6c565b73ffffffffffffffffffffffffffffffffffffffff16145b806132b4575073ffffffffffffffffffffffffffffffffffffffff80821660009081526005602090815260408083209388168352929052205460ff165b949350505050565b8273ffffffffffffffffffffffffffffffffffffffff166132dc82612380565b73ffffffffffffffffffffffffffffffffffffffff16146133655760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201527f73206e6f74206f776e00000000000000000000000000000000000000000000006064820152608401610907565b73ffffffffffffffffffffffffffffffffffffffff82166133ed5760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f2061646460448201527f72657373000000000000000000000000000000000000000000000000000000006064820152608401610907565b6133f8838383613953565b6134036000826130ac565b73ffffffffffffffffffffffffffffffffffffffff83166000908152600360205260408120805460019290613439908490614503565b909155505073ffffffffffffffffffffffffffffffffffffffff82166000908152600360205260408120805460019290613474908490614475565b909155505060008181526002602052604080822080547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff86811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b60105415801561350a5750601254155b80156135255750600e54600854148061352557506011544210155b156122e5576122e561386e565b60175460009061354390605a6144b2565b90506000606461355383346144c6565b61355d91906144b2565b905060005b601754811015610f805760006017828154811061358157613581614674565b600091825260208083209091015473ffffffffffffffffffffffffffffffffffffffff168083526018909152604082208054919350859290916135c5908490614475565b909155508291506135d790508161459a565b915050613562565b60125461362e5760405162461bcd60e51b815260206004820152601f60248201527f466972737420426c6f636b2068617320746f20626520736574206669727374006044820152606401610907565b600e5442443360405160200161367c93929190928352602083019190915260601b7fffffffffffffffffffffffffffffffffffffffff00000000000000000000000016604082015260540190565b6040516020818303038152906040528051906020012060001c61369f91906145d3565b601055565b6136af8484846132bc565b6136bb84848484613a59565b6129ea5760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527f63656976657220696d706c656d656e74657200000000000000000000000000006064820152608401610907565b606060148054610ce990614546565b60608161377c57505060408051808201909152600181527f3000000000000000000000000000000000000000000000000000000000000000602082015290565b8160005b81156137a657806137908161459a565b915061379f9050600a836144b2565b9150613780565b60008167ffffffffffffffff8111156137c1576137c16146a3565b6040519080825280601f01601f1916602001820160405280156137eb576020820181803683370190505b5090505b84156132b457613800600183614503565b915061380d600a866145d3565b613818906030614475565b60f81b81838151811061382d5761382d614674565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350613867600a866144b2565b94506137ef565b601254156138be5760405162461bcd60e51b815260206004820181905260248201527f466972737420426c6f636b2068617320616c7265616479206265656e207365746044820152606401610907565b436012556122e56135df565b6138d48383613c3e565b6138e16000848484613a59565b610f805760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527f63656976657220696d706c656d656e74657200000000000000000000000000006064820152608401610907565b73ffffffffffffffffffffffffffffffffffffffff83166139bb576139b681600880546000838152600960205260408120829055600182018355919091527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee30155565b6139f8565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16146139f8576139f88382613dd8565b73ffffffffffffffffffffffffffffffffffffffff8216613a1c57610f8081613e8f565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614610f8057610f808282613f3e565b600073ffffffffffffffffffffffffffffffffffffffff84163b15613c33576040517f150b7a0200000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff85169063150b7a0290613ad09033908990889088906004016143d5565b602060405180830381600087803b158015613aea57600080fd5b505af1925050508015613b38575060408051601f3d9081017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0168201909252613b359181019061428e565b60015b613be8573d808015613b66576040519150601f19603f3d011682016040523d82523d6000602084013e613b6b565b606091505b508051613be05760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527f63656976657220696d706c656d656e74657200000000000000000000000000006064820152608401610907565b805181602001fd5b7fffffffff00000000000000000000000000000000000000000000000000000000167f150b7a02000000000000000000000000000000000000000000000000000000001490506132b4565b506001949350505050565b73ffffffffffffffffffffffffffffffffffffffff8216613ca15760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401610907565b60008181526002602052604090205473ffffffffffffffffffffffffffffffffffffffff1615613d135760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610907565b613d1f60008383613953565b73ffffffffffffffffffffffffffffffffffffffff82166000908152600360205260408120805460019290613d55908490614475565b909155505060008181526002602052604080822080547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b60006001613de584612660565b613def9190614503565b600083815260076020526040902054909150808214613e4f5773ffffffffffffffffffffffffffffffffffffffff841660009081526006602090815260408083208584528252808320548484528184208190558352600790915290208190555b50600091825260076020908152604080842084905573ffffffffffffffffffffffffffffffffffffffff9094168352600681528383209183525290812055565b600854600090613ea190600190614503565b60008381526009602052604081205460088054939450909284908110613ec957613ec9614674565b906000526020600020015490508060088381548110613eea57613eea614674565b6000918252602080832090910192909255828152600990915260408082208490558582528120556008805480613f2257613f22614645565b6001900381819060005260206000200160009055905550505050565b6000613f4983612660565b73ffffffffffffffffffffffffffffffffffffffff9093166000908152600660209081526040808320868452825280832085905593825260079052919091209190915550565b828054613f9b90614546565b90600052602060002090601f016020900481019282613fbd5760008555614003565b82601f10613fd657805160ff1916838001178555614003565b82800160010185558215614003579182015b82811115614003578251825591602001919060010190613fe8565b5061400f929150614013565b5090565b5b8082111561400f5760008155600101614014565b600067ffffffffffffffff80841115614043576140436146a3565b604051601f85017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0908116603f01168101908282118183101715614089576140896146a3565b816040528093508581528686860111156140a257600080fd5b858560208301376000602087830101525050509392505050565b803573ffffffffffffffffffffffffffffffffffffffff811681146140e057600080fd5b919050565b600082601f8301126140f657600080fd5b612adf83833560208501614028565b60006020828403121561411757600080fd5b612adf826140bc565b6000806040838503121561413357600080fd5b61413c836140bc565b915061414a602084016140bc565b90509250929050565b60008060006060848603121561416857600080fd5b614171846140bc565b925061417f602085016140bc565b9150604084013590509250925092565b600080600080608085870312156141a557600080fd5b6141ae856140bc565b93506141bc602086016140bc565b925060408501359150606085013567ffffffffffffffff8111156141df57600080fd5b8501601f810187136141f057600080fd5b6141ff87823560208401614028565b91505092959194509250565b6000806040838503121561421e57600080fd5b614227836140bc565b91506020830135801515811461423c57600080fd5b809150509250929050565b6000806040838503121561425a57600080fd5b614263836140bc565b946020939093013593505050565b60006020828403121561428357600080fd5b8135612adf816146d2565b6000602082840312156142a057600080fd5b8151612adf816146d2565b6000602082840312156142bd57600080fd5b813567ffffffffffffffff8111156142d457600080fd5b6132b4848285016140e5565b6000602082840312156142f257600080fd5b5035919050565b6000806040838503121561430c57600080fd5b82359150602083013567ffffffffffffffff81111561432a57600080fd5b614336858286016140e5565b9150509250929050565b6000815180845261435881602086016020860161451a565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169290920160200192915050565b6000825161439c81846020870161451a565b9190910192915050565b600083516143b881846020880161451a565b8351908301906143cc81836020880161451a565b01949350505050565b600073ffffffffffffffffffffffffffffffffffffffff8087168352808616602084015250836040830152608060608301526144146080830184614340565b9695505050505050565b6020808252825182820181905260009190848201906040850190845b818110156144565783518352928401929184019160010161443a565b50909695505050505050565b602081526000612adf6020830184614340565b60008219821115614488576144886145e7565b500190565b600060ff821660ff84168060ff038211156144aa576144aa6145e7565b019392505050565b6000826144c1576144c1614616565b500490565b6000817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156144fe576144fe6145e7565b500290565b600082821015614515576145156145e7565b500390565b60005b8381101561453557818101518382015260200161451d565b838111156129ea5750506000910152565b600181811c9082168061455a57607f821691505b60208210811415614594577f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b50919050565b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156145cc576145cc6145e7565b5060010190565b6000826145e2576145e2614616565b500690565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b7fffffffff00000000000000000000000000000000000000000000000000000000811681146112d157600080fdfea26469706673582212206d1c4fa6bbe6dd987cf1fa6a5f2bb35bb74e92e807aba7b8070a8f1b33d9163d64736f6c63430008060033000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000e0000000000000000000000000000000000000000000000000000000000000000d53636f6f70446f67537175616400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000453444f47000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004000000000000000000000000bffbb91b61868fb9ddb0f1607de0ab734e767fce000000000000000000000000bb9a002412ffdc37d0441fe1120e3fb433476a3600000000000000000000000077f5afd40f644d3e549bf4d9c88bd680aa68d200000000000000000000000000a0ffcadc0018a0dd1827e8e35127a480c23dfb98

Deployed Bytecode

0x6080604052600436106102fd5760003560e01c806342842e0e1161018f5780638545f4ea116100e1578063cf432abf1161008a578063ec75d62211610064578063ec75d6221461084f578063f2fde38b1461086f578063ff1b65561461088f57600080fd5b8063cf432abf146107c2578063d809bd69146107d7578063e985e9c5146107f957600080fd5b8063a22cb465116100bb578063a22cb46514610762578063b88d4fde14610782578063c87b56dd146107a257600080fd5b80638545f4ea146107025780638da5cb5b1461072257806395d89b411461074d57600080fd5b8063578e23c6116101435780636ef98b211161011d5780636ef98b21146106ad57806370a08231146106cd578063715018a6146106ed57600080fd5b8063578e23c614610663578063583813a4146106785780636352211e1461068d57600080fd5b80634f6ccce7116101745780634f6ccce71461060d57806355f804b31461062d5780635773d19e1461064d57600080fd5b806342842e0e146105cd5780634e75486a146105ed57600080fd5b80631c6cf2d8116102535780632a7e236c116101fc57806332cb6b0c116101d657806332cb6b0c1461058f578063362446bf146105a557806338fe91e1146105b857600080fd5b80632a7e236c146105435780632f745c591461055957806331a53e9a1461057957600080fd5b8063249b16de1161022d578063249b16de146104f75780632729131e1461050d5780632780e4901461052d57600080fd5b80631c6cf2d8146104a25780631e30397f146104b757806323b872dd146104d757600080fd5b8063095ea7b3116102b557806318160ddd1161028f57806318160ddd1461044057806318e20a381461045f5780631b116ce31461047557600080fd5b8063095ea7b3146103e05780631096952314610400578063155dd5ee1461042057600080fd5b8063069bf5aa116102e6578063069bf5aa1461035957806306fdde0314610379578063081812fc1461039b57600080fd5b8063018a2c371461030257806301ffc9a714610324575b600080fd5b34801561030e57600080fd5b5061032261031d3660046142e0565b6108a4565b005b34801561033057600080fd5b5061034461033f366004614271565b610915565b60405190151581526020015b60405180910390f35b34801561036557600080fd5b506103226103743660046142f9565b610971565b34801561038557600080fd5b5061038e610cda565b6040516103509190614462565b3480156103a757600080fd5b506103bb6103b63660046142e0565b610d6c565b60405173ffffffffffffffffffffffffffffffffffffffff9091168152602001610350565b3480156103ec57600080fd5b506103226103fb366004614247565b610e2c565b34801561040c57600080fd5b5061032261041b3660046142ab565b610f85565b34801561042c57600080fd5b5061032261043b3660046142e0565b611003565b34801561044c57600080fd5b506008545b604051908152602001610350565b34801561046b57600080fd5b5061045160115481565b34801561048157600080fd5b50610495610490366004614105565b61111e565b604051610350919061441e565b3480156104ae57600080fd5b506103226111c0565b3480156104c357600080fd5b506103446104d23660046142ab565b6112d4565b3480156104e357600080fd5b506103226104f2366004614153565b611a72565b34801561050357600080fd5b5061045160125481565b34801561051957600080fd5b5061038e6105283660046142e0565b611af9565b34801561053957600080fd5b50610451600b5481565b34801561054f57600080fd5b50610451600d5481565b34801561056557600080fd5b50610451610574366004614247565b611bf0565b34801561058557600080fd5b50610451600c5481565b34801561059b57600080fd5b50610451600e5481565b6103226105b33660046142e0565b611ca5565b3480156105c457600080fd5b50610451611ecb565b3480156105d957600080fd5b506103226105e8366004614153565b611fbe565b3480156105f957600080fd5b506103226106083660046142e0565b611fd9565b34801561061957600080fd5b506104516106283660046142e0565b6120b9565b34801561063957600080fd5b506103226106483660046142ab565b61215d565b34801561065957600080fd5b5061045160105481565b34801561066f57600080fd5b506103226121d7565b34801561068457600080fd5b506103226122e7565b34801561069957600080fd5b506103bb6106a83660046142e0565b612380565b3480156106b957600080fd5b506103226106c83660046142e0565b612418565b3480156106d957600080fd5b506104516106e8366004614105565b612660565b3480156106f957600080fd5b50610322612714565b34801561070e57600080fd5b5061032261071d3660046142e0565b6127ea565b34801561072e57600080fd5b50600a5473ffffffffffffffffffffffffffffffffffffffff166103bb565b34801561075957600080fd5b5061038e612856565b34801561076e57600080fd5b5061032261077d36600461420b565b612865565b34801561078e57600080fd5b5061032261079d36600461418f565b612962565b3480156107ae57600080fd5b5061038e6107bd3660046142e0565b6129f0565b3480156107ce57600080fd5b50610322612ae6565b3480156107e357600080fd5b5033600090815260186020526040902054610451565b34801561080557600080fd5b50610344610814366004614120565b73ffffffffffffffffffffffffffffffffffffffff918216600090815260056020908152604080832093909416825291909152205460ff1690565b34801561085b57600080fd5b5061034461086a3660046142ab565b612ba5565b34801561087b57600080fd5b5061032261088a366004614105565b612c32565b34801561089b57600080fd5b5061038e612db0565b600a5473ffffffffffffffffffffffffffffffffffffffff1633146109105760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064015b60405180910390fd5b601155565b60007fffffffff0000000000000000000000000000000000000000000000000000000082167f780e9d6300000000000000000000000000000000000000000000000000000000148061096b575061096b82612e3e565b92915050565b6012546109c05760405162461bcd60e51b815260206004820152601b60248201527f5468652072657665616c20686173206e6f742068617070656e656400000000006044820152606401610907565b6109c982612380565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610a695760405162461bcd60e51b815260206004820152603460248201527f5468697320746f6b656e20646f6573206e6f742062656c6f6e6720746f20746860448201527f652072657175657374696e6720616464726573730000000000000000000000006064820152608401610907565b610a72816112d4565b1515600114610ac35760405162461bcd60e51b815260206004820152601860248201527f54686973206973206e6f7420612076616c6964206e616d6500000000000000006044820152606401610907565b610acc81612ba5565b15610b195760405162461bcd60e51b815260206004820152601e60248201527f546865206e616d652068617320616c7265616479206265656e207573656400006044820152606401610907565b60008281526015602052604081208054610b3290614546565b90501115610c295760008281526015602052604081208054601691610bdd91610b5a90614546565b80601f0160208091040260200160405190810160405280929190818152602001828054610b8690614546565b8015610bd35780601f10610ba857610100808354040283529160200191610bd3565b820191906000526020600020905b815481529060010190602001808311610bb657829003601f168201915b5050505050612f21565b604051610bea919061438a565b90815260405190819003602001902080549115157fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff009092169190911790555b60016016610c3683612f21565b604051610c43919061438a565b908152604080516020928190038301902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001693151593909317909255600084815260158252919091208251610c9d92840190613f8f565b50817f9726e950b835e1f7f4fe747cca4223de678452a4f67c102d50408e22e94e948582604051610cce9190614462565b60405180910390a25050565b606060008054610ce990614546565b80601f0160208091040260200160405190810160405280929190818152602001828054610d1590614546565b8015610d625780601f10610d3757610100808354040283529160200191610d62565b820191906000526020600020905b815481529060010190602001808311610d4557829003601f168201915b5050505050905090565b60008181526002602052604081205473ffffffffffffffffffffffffffffffffffffffff16610e035760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201527f697374656e7420746f6b656e00000000000000000000000000000000000000006064820152608401610907565b5060009081526004602052604090205473ffffffffffffffffffffffffffffffffffffffff1690565b6000610e3782612380565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610edb5760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560448201527f72000000000000000000000000000000000000000000000000000000000000006064820152608401610907565b3373ffffffffffffffffffffffffffffffffffffffff82161480610f045750610f048133610814565b610f765760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006064820152608401610907565b610f8083836130ac565b505050565b600a5473ffffffffffffffffffffffffffffffffffffffff163314610fec5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610907565b8051610fff90600f906020840190613f8f565b5050565b336000908152601860205260409020548111156110625760405162461bcd60e51b815260206004820152601e60248201527f4e6f2066756e6473206c656674206f72206e6f742061206d656d6265722e00006044820152606401610907565b3360009081526018602052604081208054839290611081908490614503565b9091555050604051600090339083908381818185875af1925050503d80600081146110c8576040519150601f19603f3d011682016040523d82523d6000602084013e6110cd565b606091505b5050905080610fff5760405162461bcd60e51b815260206004820152601060248201527f5472616e73666572206661696c65642e000000000000000000000000000000006044820152606401610907565b6060600061112b83612660565b905060008167ffffffffffffffff811115611148576111486146a3565b604051908082528060200260200182016040528015611171578160200160208202803683370190505b50905060005b828110156111b8576111898582611bf0565b82828151811061119b5761119b614674565b6020908102919091010152806111b08161459a565b915050611177565b509392505050565b600a5473ffffffffffffffffffffffffffffffffffffffff1633146112275760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610907565b600c54600854106112a05760405162461bcd60e51b815260206004820152602e60248201527f54686520726573657276656420737570706c792068617320616c72656164792060448201527f6265656e207265717565737465640000000000000000000000000000000000006064820152608401610907565b60005b600c548110156112d1576112bf336112ba60085490565b61314c565b806112c98161459a565b9150506112a3565b50565b60008082905060038151101561132c5760405162461bcd60e51b815260206004820152601d60248201527f43616e27742062652073686f72746572207468616e20332063686172730000006044820152606401610907565b60208151111561137e5760405162461bcd60e51b815260206004820152601e60248201527f43616e2774206265206c6f6e676572207468616e2033322063686172732e00006044820152606401610907565b8060008151811061139157611391614674565b6020910101517fff00000000000000000000000000000000000000000000000000000000000000167f200000000000000000000000000000000000000000000000000000000000000014156114285760405162461bcd60e51b815260206004820152601760248201527f43616e277420737461727420776974682073706163652e0000000000000000006044820152606401610907565b80600182516114379190614503565b8151811061144757611447614674565b6020910101517fff00000000000000000000000000000000000000000000000000000000000000167f200000000000000000000000000000000000000000000000000000000000000014156114de5760405162461bcd60e51b815260206004820152601560248201527f43616e277420656e6420776974682073706163652e00000000000000000000006044820152606401610907565b6000816000815181106114f3576114f3614674565b01602001517fff0000000000000000000000000000000000000000000000000000000000000016905060005b82518110156119f457600083828151811061153c5761153c614674565b01602001517fff000000000000000000000000000000000000000000000000000000000000001690507f2000000000000000000000000000000000000000000000000000000000000000811415806115d657507f20000000000000000000000000000000000000000000000000000000000000007fff00000000000000000000000000000000000000000000000000000000000000841614155b6116225760405162461bcd60e51b815260206004820152601960248201527f4e6f20322b20636f6e7365637574697665207370616365732e000000000000006044820152606401610907565b7f30000000000000000000000000000000000000000000000000000000000000007fff000000000000000000000000000000000000000000000000000000000000008216108015906116b657507f39000000000000000000000000000000000000000000000000000000000000007fff00000000000000000000000000000000000000000000000000000000000000821611155b8061175057507f41000000000000000000000000000000000000000000000000000000000000007fff0000000000000000000000000000000000000000000000000000000000000082161080159061175057507f5a000000000000000000000000000000000000000000000000000000000000007fff00000000000000000000000000000000000000000000000000000000000000821611155b806117ea57507f61000000000000000000000000000000000000000000000000000000000000007fff000000000000000000000000000000000000000000000000000000000000008216108015906117ea57507f7a000000000000000000000000000000000000000000000000000000000000007fff00000000000000000000000000000000000000000000000000000000000000821611155b8061183657507f20000000000000000000000000000000000000000000000000000000000000007fff000000000000000000000000000000000000000000000000000000000000008216145b6118a85760405162461bcd60e51b815260206004820152602960248201527f4f6e6c7920302d392c20412d5a2c20612d7a20616e642053706163652061726560448201527f20616c6c6f7765642e00000000000000000000000000000000000000000000006064820152608401610907565b7f41000000000000000000000000000000000000000000000000000000000000007fff0000000000000000000000000000000000000000000000000000000000000082161080159061193c57507f5a000000000000000000000000000000000000000000000000000000000000007fff00000000000000000000000000000000000000000000000000000000000000821611155b806119d657507f61000000000000000000000000000000000000000000000000000000000000007fff000000000000000000000000000000000000000000000000000000000000008216108015906119d657507f7a000000000000000000000000000000000000000000000000000000000000007fff00000000000000000000000000000000000000000000000000000000000000821611155b156119e057600194505b9150806119ec8161459a565b91505061151f565b5082611a685760405162461bcd60e51b815260206004820152603a60248201527f546865206e616d65206e6565647320746f2068617665206174206c656173742060448201527f3120616c70686162657428412d7a29206368617261637465722e0000000000006064820152608401610907565b5060019392505050565b611a7c3382613166565b611aee5760405162461bcd60e51b815260206004820152603160248201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f7665640000000000000000000000000000006064820152608401610907565b610f808383836132bc565b6060611b0460085490565b8210611b525760405162461bcd60e51b815260206004820152601960248201527f54686520746f6b656e204944206973206e6f742076616c6964000000000000006044820152606401610907565b60008281526015602052604090208054611b6b90614546565b80601f0160208091040260200160405190810160405280929190818152602001828054611b9790614546565b8015611be45780601f10611bb957610100808354040283529160200191611be4565b820191906000526020600020905b815481529060010190602001808311611bc757829003601f168201915b50505050509050919050565b6000611bfb83612660565b8210611c6f5760405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201527f74206f6620626f756e64730000000000000000000000000000000000000000006064820152608401610907565b5073ffffffffffffffffffffffffffffffffffffffff919091166000908152600660209081526040808320938352929052205490565b60135460ff1615611cf85760405162461bcd60e51b815260206004820152601260248201527f5468652073616c6520697320636c6f73656400000000000000000000000000006044820152606401610907565b600e5460085410611d4b5760405162461bcd60e51b815260206004820152601260248201527f5468652073616c652068617320656e64656400000000000000000000000000006044820152606401610907565b600e5481611d5860085490565b611d629190614475565b1115611db05760405162461bcd60e51b815260206004820152601e60248201527f5472616e73616374696f6e2065786365656473206d617820737570706c7900006044820152606401610907565b600d54811115611e285760405162461bcd60e51b815260206004820152603a60248201527f546f6b656e20416d6f756e7420657863656564656420746865206d617820616c60448201527f6c6f77656420706572207472616e73616374696f6e20283230290000000000006064820152608401610907565b600b54611e3590826144c6565b341015611e845760405162461bcd60e51b815260206004820152601e60248201527f56616c75652073656e742069732062656c6f7720746f74616c20636f737400006044820152606401610907565b60005b81811015611eba57600e546008541015611ea857611ea8336112ba60085490565b80611eb28161459a565b915050611e87565b50611ec36134fa565b6112d1613532565b600a5460009073ffffffffffffffffffffffffffffffffffffffff163314611f355760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610907565b6000805b601754811015611fad57600060178281548110611f5857611f58614674565b600091825260208083209091015473ffffffffffffffffffffffffffffffffffffffff168083526018909152604090912054909150611f979084614475565b9250508080611fa59061459a565b915050611f39565b50611fb88147614503565b91505090565b610f8083838360405180602001604052806000815250612962565b600a5473ffffffffffffffffffffffffffffffffffffffff1633146120405760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610907565b60085481106120915760405162461bcd60e51b815260206004820152601960248201527f54686520746f6b656e204944206973206e6f742076616c6964000000000000006044820152606401610907565b604080516020808201808452600080845285815260159092529290209051610fff9290613f8f565b60006120c460085490565b82106121385760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201527f7574206f6620626f756e647300000000000000000000000000000000000000006064820152608401610907565b6008828154811061214b5761214b614674565b90600052602060002001549050919050565b600a5473ffffffffffffffffffffffffffffffffffffffff1633146121c45760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610907565b8051610fff906014906020840190613f8f565b600a5473ffffffffffffffffffffffffffffffffffffffff16331461223e5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610907565b6010541561228e5760405162461bcd60e51b815260206004820152601f60248201527f46697273742053444f472068617320616c7265616479206265656e20736574006044820152606401610907565b6012546122dd5760405162461bcd60e51b815260206004820152601f60248201527f466972737420426c6f636b2068617320746f20626520736574206669727374006044820152606401610907565b6122e56135df565b565b600a5473ffffffffffffffffffffffffffffffffffffffff16331461234e5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610907565b601380547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00811660ff90911615179055565b60008181526002602052604081205473ffffffffffffffffffffffffffffffffffffffff168061096b5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201527f656e7420746f6b656e00000000000000000000000000000000000000000000006064820152608401610907565b600a5473ffffffffffffffffffffffffffffffffffffffff16331461247f5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610907565b6000805b6017548110156124f7576000601782815481106124a2576124a2614674565b600091825260208083209091015473ffffffffffffffffffffffffffffffffffffffff1680835260189091526040909120549091506124e19084614475565b92505080806124ef9061459a565b915050612483565b5060006125048247614503565b9050808311156125565760405162461bcd60e51b815260206004820152601a60248201527f416d6f756e7420686967686572207468616e206f776e657227730000000000006044820152606401610907565b60175460009061256690856144b2565b905060005b6017548110156126595760006017828154811061258a5761258a614674565b600091825260208220015460405173ffffffffffffffffffffffffffffffffffffffff9091169250829085908381818185875af1925050503d80600081146125ee576040519150601f19603f3d011682016040523d82523d6000602084013e6125f3565b606091505b50509050806126445760405162461bcd60e51b815260206004820152601060248201527f5472616e73666572206661696c65642e000000000000000000000000000000006044820152606401610907565b505080806126519061459a565b91505061256b565b5050505050565b600073ffffffffffffffffffffffffffffffffffffffff82166126eb5760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a6560448201527f726f2061646472657373000000000000000000000000000000000000000000006064820152608401610907565b5073ffffffffffffffffffffffffffffffffffffffff1660009081526003602052604090205490565b600a5473ffffffffffffffffffffffffffffffffffffffff16331461277b5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610907565b600a5460405160009173ffffffffffffffffffffffffffffffffffffffff16907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600a80547fffffffffffffffffffffffff0000000000000000000000000000000000000000169055565b600a5473ffffffffffffffffffffffffffffffffffffffff1633146128515760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610907565b600b55565b606060018054610ce990614546565b73ffffffffffffffffffffffffffffffffffffffff82163314156128cb5760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610907565b33600081815260056020908152604080832073ffffffffffffffffffffffffffffffffffffffff87168085529083529281902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b61296c3383613166565b6129de5760405162461bcd60e51b815260206004820152603160248201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f7665640000000000000000000000000000006064820152608401610907565b6129ea848484846136a4565b50505050565b60008181526002602052604090205460609073ffffffffffffffffffffffffffffffffffffffff16612a8a5760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201527f6e6578697374656e7420746f6b656e00000000000000000000000000000000006064820152608401610907565b6000612a9461372d565b90506000815111612ab45760405180602001604052806000815250612adf565b80612abe8461373c565b604051602001612acf9291906143a6565b6040516020818303038152906040525b9392505050565b600a5473ffffffffffffffffffffffffffffffffffffffff163314612b4d5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610907565b60125415612b9d5760405162461bcd60e51b815260206004820181905260248201527f466972737420426c6f636b2068617320616c7265616479206265656e207365746044820152606401610907565b6122e561386e565b6000612bb0826112d4565b1515600114612c015760405162461bcd60e51b815260206004820152601860248201527f54686973206973206e6f7420612076616c6964206e616d6500000000000000006044820152606401610907565b6016612c0c83612f21565b604051612c19919061438a565b9081526040519081900360200190205460ff1692915050565b600a5473ffffffffffffffffffffffffffffffffffffffff163314612c995760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610907565b73ffffffffffffffffffffffffffffffffffffffff8116612d225760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f64647265737300000000000000000000000000000000000000000000000000006064820152608401610907565b600a5460405173ffffffffffffffffffffffffffffffffffffffff8084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3600a80547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff92909216919091179055565b600f8054612dbd90614546565b80601f0160208091040260200160405190810160405280929190818152602001828054612de990614546565b8015612e365780601f10612e0b57610100808354040283529160200191612e36565b820191906000526020600020905b815481529060010190602001808311612e1957829003601f168201915b505050505081565b60007fffffffff0000000000000000000000000000000000000000000000000000000082167f80ac58cd000000000000000000000000000000000000000000000000000000001480612ed157507fffffffff0000000000000000000000000000000000000000000000000000000082167f5b5e139f00000000000000000000000000000000000000000000000000000000145b8061096b57507f01ffc9a7000000000000000000000000000000000000000000000000000000007fffffffff0000000000000000000000000000000000000000000000000000000083161461096b565b606060008290506000815167ffffffffffffffff811115612f4457612f446146a3565b6040519080825280601f01601f191660200182016040528015612f6e576020820181803683370190505b50905060005b82518110156111b8576041838281518110612f9157612f91614674565b016020015160f81c10801590612fc15750605a838281518110612fb657612fb6614674565b016020015160f81c11155b1561303b57828181518110612fd857612fd8614674565b602001015160f81c60f81b60f81c6020612ff2919061448d565b60f81b82828151811061300757613007614674565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a90535061309a565b82818151811061304d5761304d614674565b602001015160f81c60f81b82828151811061306a5761306a614674565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053505b806130a48161459a565b915050612f74565b600081815260046020526040902080547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff8416908117909155819061310682612380565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b610fff8282604051806020016040528060008152506138ca565b60008181526002602052604081205473ffffffffffffffffffffffffffffffffffffffff166131fd5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201527f697374656e7420746f6b656e00000000000000000000000000000000000000006064820152608401610907565b600061320883612380565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16148061327757508373ffffffffffffffffffffffffffffffffffffffff1661325f84610d6c565b73ffffffffffffffffffffffffffffffffffffffff16145b806132b4575073ffffffffffffffffffffffffffffffffffffffff80821660009081526005602090815260408083209388168352929052205460ff165b949350505050565b8273ffffffffffffffffffffffffffffffffffffffff166132dc82612380565b73ffffffffffffffffffffffffffffffffffffffff16146133655760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201527f73206e6f74206f776e00000000000000000000000000000000000000000000006064820152608401610907565b73ffffffffffffffffffffffffffffffffffffffff82166133ed5760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f2061646460448201527f72657373000000000000000000000000000000000000000000000000000000006064820152608401610907565b6133f8838383613953565b6134036000826130ac565b73ffffffffffffffffffffffffffffffffffffffff83166000908152600360205260408120805460019290613439908490614503565b909155505073ffffffffffffffffffffffffffffffffffffffff82166000908152600360205260408120805460019290613474908490614475565b909155505060008181526002602052604080822080547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff86811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b60105415801561350a5750601254155b80156135255750600e54600854148061352557506011544210155b156122e5576122e561386e565b60175460009061354390605a6144b2565b90506000606461355383346144c6565b61355d91906144b2565b905060005b601754811015610f805760006017828154811061358157613581614674565b600091825260208083209091015473ffffffffffffffffffffffffffffffffffffffff168083526018909152604082208054919350859290916135c5908490614475565b909155508291506135d790508161459a565b915050613562565b60125461362e5760405162461bcd60e51b815260206004820152601f60248201527f466972737420426c6f636b2068617320746f20626520736574206669727374006044820152606401610907565b600e5442443360405160200161367c93929190928352602083019190915260601b7fffffffffffffffffffffffffffffffffffffffff00000000000000000000000016604082015260540190565b6040516020818303038152906040528051906020012060001c61369f91906145d3565b601055565b6136af8484846132bc565b6136bb84848484613a59565b6129ea5760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527f63656976657220696d706c656d656e74657200000000000000000000000000006064820152608401610907565b606060148054610ce990614546565b60608161377c57505060408051808201909152600181527f3000000000000000000000000000000000000000000000000000000000000000602082015290565b8160005b81156137a657806137908161459a565b915061379f9050600a836144b2565b9150613780565b60008167ffffffffffffffff8111156137c1576137c16146a3565b6040519080825280601f01601f1916602001820160405280156137eb576020820181803683370190505b5090505b84156132b457613800600183614503565b915061380d600a866145d3565b613818906030614475565b60f81b81838151811061382d5761382d614674565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350613867600a866144b2565b94506137ef565b601254156138be5760405162461bcd60e51b815260206004820181905260248201527f466972737420426c6f636b2068617320616c7265616479206265656e207365746044820152606401610907565b436012556122e56135df565b6138d48383613c3e565b6138e16000848484613a59565b610f805760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527f63656976657220696d706c656d656e74657200000000000000000000000000006064820152608401610907565b73ffffffffffffffffffffffffffffffffffffffff83166139bb576139b681600880546000838152600960205260408120829055600182018355919091527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee30155565b6139f8565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16146139f8576139f88382613dd8565b73ffffffffffffffffffffffffffffffffffffffff8216613a1c57610f8081613e8f565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614610f8057610f808282613f3e565b600073ffffffffffffffffffffffffffffffffffffffff84163b15613c33576040517f150b7a0200000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff85169063150b7a0290613ad09033908990889088906004016143d5565b602060405180830381600087803b158015613aea57600080fd5b505af1925050508015613b38575060408051601f3d9081017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0168201909252613b359181019061428e565b60015b613be8573d808015613b66576040519150601f19603f3d011682016040523d82523d6000602084013e613b6b565b606091505b508051613be05760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527f63656976657220696d706c656d656e74657200000000000000000000000000006064820152608401610907565b805181602001fd5b7fffffffff00000000000000000000000000000000000000000000000000000000167f150b7a02000000000000000000000000000000000000000000000000000000001490506132b4565b506001949350505050565b73ffffffffffffffffffffffffffffffffffffffff8216613ca15760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401610907565b60008181526002602052604090205473ffffffffffffffffffffffffffffffffffffffff1615613d135760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610907565b613d1f60008383613953565b73ffffffffffffffffffffffffffffffffffffffff82166000908152600360205260408120805460019290613d55908490614475565b909155505060008181526002602052604080822080547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b60006001613de584612660565b613def9190614503565b600083815260076020526040902054909150808214613e4f5773ffffffffffffffffffffffffffffffffffffffff841660009081526006602090815260408083208584528252808320548484528184208190558352600790915290208190555b50600091825260076020908152604080842084905573ffffffffffffffffffffffffffffffffffffffff9094168352600681528383209183525290812055565b600854600090613ea190600190614503565b60008381526009602052604081205460088054939450909284908110613ec957613ec9614674565b906000526020600020015490508060088381548110613eea57613eea614674565b6000918252602080832090910192909255828152600990915260408082208490558582528120556008805480613f2257613f22614645565b6001900381819060005260206000200160009055905550505050565b6000613f4983612660565b73ffffffffffffffffffffffffffffffffffffffff9093166000908152600660209081526040808320868452825280832085905593825260079052919091209190915550565b828054613f9b90614546565b90600052602060002090601f016020900481019282613fbd5760008555614003565b82601f10613fd657805160ff1916838001178555614003565b82800160010185558215614003579182015b82811115614003578251825591602001919060010190613fe8565b5061400f929150614013565b5090565b5b8082111561400f5760008155600101614014565b600067ffffffffffffffff80841115614043576140436146a3565b604051601f85017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0908116603f01168101908282118183101715614089576140896146a3565b816040528093508581528686860111156140a257600080fd5b858560208301376000602087830101525050509392505050565b803573ffffffffffffffffffffffffffffffffffffffff811681146140e057600080fd5b919050565b600082601f8301126140f657600080fd5b612adf83833560208501614028565b60006020828403121561411757600080fd5b612adf826140bc565b6000806040838503121561413357600080fd5b61413c836140bc565b915061414a602084016140bc565b90509250929050565b60008060006060848603121561416857600080fd5b614171846140bc565b925061417f602085016140bc565b9150604084013590509250925092565b600080600080608085870312156141a557600080fd5b6141ae856140bc565b93506141bc602086016140bc565b925060408501359150606085013567ffffffffffffffff8111156141df57600080fd5b8501601f810187136141f057600080fd5b6141ff87823560208401614028565b91505092959194509250565b6000806040838503121561421e57600080fd5b614227836140bc565b91506020830135801515811461423c57600080fd5b809150509250929050565b6000806040838503121561425a57600080fd5b614263836140bc565b946020939093013593505050565b60006020828403121561428357600080fd5b8135612adf816146d2565b6000602082840312156142a057600080fd5b8151612adf816146d2565b6000602082840312156142bd57600080fd5b813567ffffffffffffffff8111156142d457600080fd5b6132b4848285016140e5565b6000602082840312156142f257600080fd5b5035919050565b6000806040838503121561430c57600080fd5b82359150602083013567ffffffffffffffff81111561432a57600080fd5b614336858286016140e5565b9150509250929050565b6000815180845261435881602086016020860161451a565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169290920160200192915050565b6000825161439c81846020870161451a565b9190910192915050565b600083516143b881846020880161451a565b8351908301906143cc81836020880161451a565b01949350505050565b600073ffffffffffffffffffffffffffffffffffffffff8087168352808616602084015250836040830152608060608301526144146080830184614340565b9695505050505050565b6020808252825182820181905260009190848201906040850190845b818110156144565783518352928401929184019160010161443a565b50909695505050505050565b602081526000612adf6020830184614340565b60008219821115614488576144886145e7565b500190565b600060ff821660ff84168060ff038211156144aa576144aa6145e7565b019392505050565b6000826144c1576144c1614616565b500490565b6000817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156144fe576144fe6145e7565b500290565b600082821015614515576145156145e7565b500390565b60005b8381101561453557818101518382015260200161451d565b838111156129ea5750506000910152565b600181811c9082168061455a57607f821691505b60208210811415614594577f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b50919050565b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156145cc576145cc6145e7565b5060010190565b6000826145e2576145e2614616565b500690565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b7fffffffff00000000000000000000000000000000000000000000000000000000811681146112d157600080fdfea26469706673582212206d1c4fa6bbe6dd987cf1fa6a5f2bb35bb74e92e807aba7b8070a8f1b33d9163d64736f6c63430008060033

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

000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000e0000000000000000000000000000000000000000000000000000000000000000d53636f6f70446f67537175616400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000453444f47000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004000000000000000000000000bffbb91b61868fb9ddb0f1607de0ab734e767fce000000000000000000000000bb9a002412ffdc37d0441fe1120e3fb433476a3600000000000000000000000077f5afd40f644d3e549bf4d9c88bd680aa68d200000000000000000000000000a0ffcadc0018a0dd1827e8e35127a480c23dfb98

-----Decoded View---------------
Arg [0] : name (string): ScoopDogSquad
Arg [1] : symbol (string): SDOG
Arg [2] : _companyAddresses (address[]): 0xBFfBB91B61868fB9dDB0f1607de0Ab734E767fCE,0xbB9A002412ffdc37d0441Fe1120E3fb433476A36,0x77F5AFD40f644d3e549bf4d9c88Bd680aA68d200,0xa0FfCadc0018A0DD1827E8e35127A480c23Dfb98

-----Encoded View---------------
12 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000060
Arg [1] : 00000000000000000000000000000000000000000000000000000000000000a0
Arg [2] : 00000000000000000000000000000000000000000000000000000000000000e0
Arg [3] : 000000000000000000000000000000000000000000000000000000000000000d
Arg [4] : 53636f6f70446f67537175616400000000000000000000000000000000000000
Arg [5] : 0000000000000000000000000000000000000000000000000000000000000004
Arg [6] : 53444f4700000000000000000000000000000000000000000000000000000000
Arg [7] : 0000000000000000000000000000000000000000000000000000000000000004
Arg [8] : 000000000000000000000000bffbb91b61868fb9ddb0f1607de0ab734e767fce
Arg [9] : 000000000000000000000000bb9a002412ffdc37d0441fe1120e3fb433476a36
Arg [10] : 00000000000000000000000077f5afd40f644d3e549bf4d9c88bd680aa68d200
Arg [11] : 000000000000000000000000a0ffcadc0018a0dd1827e8e35127a480c23dfb98


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

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