ETH Price: $2,284.69 (-2.52%)

Token

SnwCrsh (SNOW)
 

Overview

Max Total Supply

245 SNOW

Holders

178

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Filtered by Token Holder
doohick.eth
Balance
1 SNOW
0x1AE6912E08bB3e105a4f0A60f666376D3c7aF380
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:
SnowCrash

Compiler Version
v0.8.7+commit.e28d00a7

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license
File 1 of 13 : SnowCrash.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.7;

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

contract SnowCrash is ERC721, Ownable {
    /*
 ______     __   __     ______     __     __     ______     ______     ______     ______     __  __    
/\  ___\   /\ "-.\ \   /\  __ \   /\ \  _ \ \   /\  ___\   /\  == \   /\  __ \   /\  ___\   /\ \_\ \   
\ \___  \  \ \ \-.  \  \ \ \/\ \  \ \ \/ ".\ \  \ \ \____  \ \  __<   \ \  __ \  \ \___  \  \ \  __ \  
 \/\_____\  \ \_\\"\_\  \ \_____\  \ \__/".~\_\  \ \_____\  \ \_\ \_\  \ \_\ \_\  \/\_____\  \ \_\ \_\ 
  \/_____/   \/_/ \/_/   \/_____/   \/_/   \/_/   \/_____/   \/_/ /_/   \/_/\/_/   \/_____/   \/_/\/_/ 
*/
    using AnonymiceLibrary for uint8;

    struct Trait {
        string traitName;
        string traitType;
    }

    //Mappings
    mapping(uint256 => Trait[]) public traitTypes;
    mapping(uint256 => string) internal tokenIdToHash;
    mapping(address => uint256) private lastWrite;

    //Mint Checks
    mapping(address => bool) addressFreeMinted;
    mapping(address => bool) contributorMints;
    uint256 contributorCount = 0;
    uint256 regularCount = 0;
    uint256 public totalSupply = 0;

    //uint256s
    uint256 constant MAX_SUPPLY = 256;
    uint256 constant MINT_COST = 0.0256 ether;
    uint256 constant PUBLIC_START_BLOCK = 14651420;
    uint256 SEED_NONCE = 0;

    //minting flag
    bool ogMinted = false;
    bool public MINTING_LIVE = false;

    //uint arrays
    uint16[][8] TIERS;

    //p5js url
    string p5jsUrl;
    string p5jsIntegrity;
    string imageUrl;
    string animationUrl;

    bytes32 constant whitelistRoot =
        0x2cd756bd043061e7f4cd5b02ccfbd86ac3965d315356463f26afa7c6915ab14f;

    constructor() payable ERC721("SnwCrsh", "SNOW") {
        //Declare all the rarity tiers

        //col
        TIERS[0] = [1600, 1200, 550, 550, 1200, 700, 1600, 700, 1200, 700];
        //border size
        TIERS[1] = [1000, 4000, 4000, 1000];
        //noise Max
        TIERS[2] = [1000, 2000, 4000, 3000];
        //speed
        TIERS[3] = [1000, 5500, 2500, 1000];
        //Slice thickness
        TIERS[4] = [2500, 3500, 2500, 1500];
        //secCol
        TIERS[5] = [7000, 3000];
        //charset
        TIERS[6] = [1000, 2500, 3000, 2500, 500, 500];
        //flowType
        TIERS[7] = [8500, 1500];
    }

    //prevents someone calling read functions the same block they mint
    modifier disallowIfStateIsChanging() {
        require(
            owner() == msg.sender || lastWrite[msg.sender] < block.number,
            "not so fast!"
        );
        _;
    }

    /*
 __    __     __     __   __     ______   __     __   __     ______    
/\ "-./  \   /\ \   /\ "-.\ \   /\__  _\ /\ \   /\ "-.\ \   /\  ___\   
\ \ \-./\ \  \ \ \  \ \ \-.  \  \/_/\ \/ \ \ \  \ \ \-.  \  \ \ \__ \  
 \ \_\ \ \_\  \ \_\  \ \_\\"\_\    \ \_\  \ \_\  \ \_\\"\_\  \ \_____\ 
  \/_/  \/_/   \/_/   \/_/ \/_/     \/_/   \/_/   \/_/ \/_/   \/_____/ 
                                                                                                                                                                                                                                               
   */

    /**
     * @dev Converts a digit from 0 - 10000 into its corresponding rarity based on the given rarity tier.
     * @param _randinput The input from 0 - 10000 to use for rarity gen.
     * @param _rarityTier The tier to use.
     */
    function rarityGen(uint256 _randinput, uint8 _rarityTier)
        internal
        view
        returns (uint8)
    {
        uint16 currentLowerBound = 0;
        for (uint8 i = 0; i < TIERS[_rarityTier].length; i++) {
            uint16 thisPercentage = TIERS[_rarityTier][i];
            if (
                _randinput >= currentLowerBound &&
                _randinput < currentLowerBound + thisPercentage
            ) return i;
            currentLowerBound = currentLowerBound + thisPercentage;
        }

        revert();
    }

    /**
     * @dev Generates a 11 digit hash from a tokenId, address, and random number.
     * @param _t The token id to be used within the hash.
     * @param _a The address to be used within the hash.
     * @param _c The custom nonce to be used within the hash.
     */
    function hash(
        uint256 _t,
        address _a,
        uint256 _c
    ) internal returns (string memory) {
        require(_c < 11);

        // This will generate a 11 character string.
        // The first 2 digits are the palette.
        string memory currentHash = "";

        for (uint8 i = 0; i < 8; i++) {
            SEED_NONCE++;
            uint16 _randinput = uint16(
                uint256(
                    keccak256(
                        abi.encodePacked(
                            block.timestamp,
                            block.difficulty,
                            _t,
                            _a,
                            _c,
                            SEED_NONCE
                        )
                    )
                ) % 10000
            );
            currentHash = string(
                abi.encodePacked(
                    currentHash,
                    rarityGen(_randinput, i).toString()
                )
            );
        }

        return currentHash;
    }

    /**
     * @dev Mint internal, this is to avoid code duplication.
     */
    function mintInternal() internal {
        require(
            MINTING_LIVE == true || msg.sender == owner(),
            "Minting not live"
        );
        uint256 _totalSupply = totalSupply;
        require(_totalSupply < MAX_SUPPLY);
        require(!AnonymiceLibrary.isContract(msg.sender));
        require(regularCount < 241);
        uint256 thisTokenId = _totalSupply;

        tokenIdToHash[thisTokenId] = hash(thisTokenId, msg.sender, 0);
        lastWrite[msg.sender] = block.number;

        ++totalSupply;

        _mint(msg.sender, thisTokenId);
    }

    function mintOgBatch(address[] memory _addresses)
        external
        payable
        onlyOwner
    {
        require(ogMinted == false);
        require(_addresses.length == 10);
        for (uint256 i = 0; i < 10; i++) {
            uint256 thisTokenId = i;
            tokenIdToHash[thisTokenId] = hash(thisTokenId, _addresses[i], 0);
            _mint(_addresses[i], thisTokenId);
        }
        totalSupply = 10;
        regularCount = 10;
        ogMinted = true;
    }

    /**
     * @dev Mints new tokens.
     */
    function mintFreeSnowCrash(address account, bytes32[] calldata merkleProof)
        external
    {
        bytes32 node = keccak256(abi.encodePacked(account));

        require(MerkleProof.verify(merkleProof, whitelistRoot, node));
        require(
            addressFreeMinted[msg.sender] != true,
            "Address already free minted"
        );

        addressFreeMinted[msg.sender] = true;
        ++regularCount;
        return mintInternal();
    }

    function mintPaidSnowCrash() external payable {
        require(msg.value == MINT_COST, "Insufficient ETH sent");
        require(block.number > PUBLIC_START_BLOCK);
        ++regularCount;
        return mintInternal();
    }

    function mintCircolorsContributor() external {
        require(contributorMints[msg.sender] == true);
        require(contributorCount < 16);

        contributorMints[msg.sender] = false;
        ++contributorCount;

        return mintInternal();
    }

    /*
 ______     ______     ______     _____     __     __   __     ______    
/\  == \   /\  ___\   /\  __ \   /\  __-.  /\ \   /\ "-.\ \   /\  ___\   
\ \  __<   \ \  __\   \ \  __ \  \ \ \/\ \ \ \ \  \ \ \-.  \  \ \ \__ \  
 \ \_\ \_\  \ \_____\  \ \_\ \_\  \ \____-  \ \_\  \ \_\\"\_\  \ \_____\ 
  \/_/ /_/   \/_____/   \/_/\/_/   \/____/   \/_/   \/_/ \/_/   \/_____/                                                                    
                                                                                           
*/

    /**
     * @dev Hash to HTML function
     */
    function hashToHTML(string memory _hash, uint256 _tokenId)
        external
        view
        disallowIfStateIsChanging
        returns (string memory)
    {
        string memory htmlString = string(
            abi.encodePacked(
                "data:text/html,%3Chtml%3E%3Chead%3E%3Cscript%20src%3D%22",
                p5jsUrl,
                "%22%20integrity%3D%22",
                p5jsIntegrity,
                "%22%20crossorigin%3D%22anonymous%22%3E%3C%2Fscript%3E%3C%2Fhead%3E%3Cbody%3E%3Cscript%3Evar%20tokenId%3D",
                AnonymiceLibrary.toString(_tokenId),
                "%3Bvar%20hash%3D%22",
                _hash,
                "%22%3B"
            )
        );

        htmlString = string(
            abi.encodePacked(
                htmlString,
                "let%20f%3D0%3Blet%20cSet%3D%5B%22%C3%91%2450c-%22%2C%22%4097%3F%3B%2C%22%2C%22%238%C2%A3%21%3A.%22%2C%22%E2%82%A942a%2B_%22%2C%22%25gm%3B%29%27%22%2C%220101%2F%20%22%5D%3Blet%20xoff1%2Cyoff1%2Cxyoff%2Cn%2Ccols%3D%5B0%2C1%2C2%2C4%2C5%2C6%2C7%2C8%2C9%2C11%5D%2CfSizes%3D%5B12.5%2C9%2C6%2C4.7%5D%2CnoiseEnd%3D%5B.001%2C.002%2C.005%2C.008%5D%2Cspds%3D%5B.7%2C1.2%2C2.5%2C2.6%5D%2CtextCol%3D%5B0%2C100%5D%2CcSprd%3D%5B.06%2C.12%2C.18%2C.24%5D%2Ct%3D0%2CsT%3D0%2CcT%3D0%2Clp%3D%210%2Crv%3D%211%2Cw%3D500%2Ch%3D500%3Bfunction%20setup%28%29%7BcreateCanvas%28w%2Ch%29%2CcolorMode%28HSB%2C360%2C100%2C100%29%2CtextFont%28%22Courier%22%29%2CnoiseSeed%28tokenId%29%2CcO%3D30%2Acols%5BparseInt%28hash.substring%280%2C1%29%29%5D%2CfW%3Dwidth%2FfSizes%5BparseInt%28hash.substring%281%2C2%29%29%5D%2CfH%3Dheight%2FfSizes%5BparseInt%28hash.substring%281%2C2%29%29%5D%2Cend%3DnoiseEnd%5BparseInt%28hash.substring%282%2C3%29%29%5D%2Csp%3Dspds%5BparseInt%28hash.substring%283%2C4%29%29%5D%2F%28fW%2BfH%29%2F3%2Cs%3DcSprd%5BparseInt%28hash.substring%284%2C5%29%29%5D%2CbT%3DtextCol%5BparseInt%28hash.substring%285%2C6%29%29%5D%2Cc%3DparseInt%28hash.substring%286%2C7%29%29%2CfTyp%3DparseInt%28hash.substring%287%2C8%29%29%2CsO%3D80%2C100%3D%3DbT%3FbO%3D85%3AbO%3D100%2Cfill%28cT%2CsT%2CbT%29%7Dfunction%20draw%28%29%7Bbackground%28cO%2CsO%2CbO%29%3Bfor%28let%20e%3DfW%3Be%3C%3Dwidth-fW%3Be%2B%3D10%29for%28let%20o%3DfH%3Bo%3C%3Dheight-fH%3Bo%2B%3D10%29xoff1%3Dmap%28e%2CfW%2Cwidth%2C0%2Cend%29%2Cyoff1%3Dmap%28o%2CfH%2Cheight%2C0%2Cend%29%2Cxyoff%3Dxoff1%2Byoff1%2Cn%3Dnoise%28e%2Axyoff%2Bt%2Co%2Axyoff%2Bt%2Cf%29%2CnoStroke%28%29%2Cfill%28cT%2CsT%2CbT%29%2Cn%3E.5%2B.8%2As%7C%7Cn%3C.5-.8%2As%3Ftext%28cSet%5Bc%5D%5B0%5D%2Ce%2Co%29%3An%3E.5%2B.65%2As%7C%7Cn%3C.5-.65%2As%3Ftext%28cSet%5Bc%5D%5B1%5D%2Ce%2Co%29%3An%3E.5%2B.5%2As%7C%7Cn%3C.5-.5%2As%3Ftext%28cSet%5Bc%5D%5B2%5D%2Ce%2Co%29%3An%3E.5%2B.35%2As%7C%7Cn%3C.5-.35%2As%3Ftext%28cSet%5Bc%5D%5B3%5D%2Ce%2Co%29%3An%3E.5%2B.2%2As%7C%7Cn%3C.5-.2%2As%3Ftext%28cSet%5Bc%5D%5B4%5D%2Ce%2Co%29%3Atext%28cSet%5Bc%5D%5B5%5D%2Ce%2Co%29%3B0%3D%3Drv%3F0%3D%3DfTyp%3Ft%2B%3Dsp%3A%28f%2B%3Dsp%2Ct%2B%3Dsp%2F10%29%3A0%3D%3DfTyp%3Ft-%3Dsp%3A%28f-%3Dsp%2Ct-%3Dsp%2F10%29%2Ctext%28%22%23%22%2BtokenId.toString%28%29%2C10%2Cheight-10%29%7Dfunction%20mouseClicked%28%29%7BcB%3DcO%2CsB%3DsO%2CbB%3DbO%2CcO%3DcT%2CsO%3DsT%2CbO%3DbT%2CcT%3DcB%2CsT%3DsB%2CbT%3DbB%7Dfunction%20keyPressed%28%29%7B32%3D%3D%3DkeyCode%26%261%3D%3Dlp%3F%28noLoop%28%29%2Clp%3D%211%29%3AkeyCode%3D%3D%3DLEFT_ARROW%3F%28rv%3D%211%2Cloop%28%29%2Clp%3D%210%29%3AkeyCode%3D%3D%3DRIGHT_ARROW%3F%28rv%3D%210%2Cloop%28%29%2Clp%3D%210%29%3AkeyCode%3D%3D%3DUP_ARROW%3FresizeCanvas%28750%2C250%29%3AkeyCode%3D%3D%3DDOWN_ARROW%3FresizeCanvas%28500%2C500%29%3A16%3D%3D%3DkeyCode%3FresizeCanvas%28350%2C600%29%3A%28loop%28%29%2Clp%3D%210%29%7D%3C%2Fscript%3E%3C%2Fbody%3E%3C%2Fhtml%3E"
            )
        );

        return htmlString;
    }

    /**
     * @dev Hash to metadata function
     */
    function hashToMetadata(string memory _hash)
        public
        view
        disallowIfStateIsChanging
        returns (string memory)
    {
        string memory metadataString;

        for (uint8 i = 0; i < 8; i++) {
            uint8 thisTraitIndex = AnonymiceLibrary.parseInt(
                AnonymiceLibrary.substring(_hash, i, i + 1)
            );

            metadataString = string(
                abi.encodePacked(
                    metadataString,
                    '{"trait_type":"',
                    traitTypes[i][thisTraitIndex].traitType,
                    '","value":"',
                    traitTypes[i][thisTraitIndex].traitName,
                    '"}'
                )
            );

            if (i != 7)
                metadataString = string(abi.encodePacked(metadataString, ","));
        }

        return string(abi.encodePacked("[", metadataString, "]"));
    }

    /**
     * @dev Returns the SVG and metadata for a token Id
     * @param _tokenId The tokenId to return the SVG and metadata for.
     */
    function tokenURI(uint256 _tokenId)
        public
        view
        override
        returns (string memory)
    {
        require(_exists(_tokenId));

        string memory tokenHash = _tokenIdToHash(_tokenId);

        string
            memory description = '", "description": "256 ASCII SnowCrashes. Metadata & images mirrored on chain permanently and loops infinitely",';

        string memory encodedTokenId = AnonymiceLibrary.encode(
            bytes(string(abi.encodePacked(AnonymiceLibrary.toString(_tokenId))))
        );
        string memory encodedHash = AnonymiceLibrary.encode(
            bytes(string(abi.encodePacked(tokenHash)))
        );

        return
            string(
                abi.encodePacked(
                    "data:application/json;base64,",
                    AnonymiceLibrary.encode(
                        bytes(
                            string(
                                abi.encodePacked(
                                    '{"name": "SnowCrash #',
                                    AnonymiceLibrary.toString(_tokenId),
                                    description,
                                    '"animation_url":"',
                                    animationUrl,
                                    encodedTokenId,
                                    "&t=",
                                    encodedHash,
                                    '","image":"',
                                    imageUrl,
                                    AnonymiceLibrary.toString(_tokenId),
                                    "&t=",
                                    tokenHash,
                                    '","attributes":',
                                    hashToMetadata(tokenHash),
                                    "}"
                                )
                            )
                        )
                    )
                )
            );
    }

    /**
     * @dev Returns a hash for a given tokenId
     * @param _tokenId The tokenId to return the hash for.
     */
    function _tokenIdToHash(uint256 _tokenId)
        public
        view
        disallowIfStateIsChanging
        returns (string memory)
    {
        string memory tokenHash = tokenIdToHash[_tokenId];

        return tokenHash;
    }

    /*
 ______     __     __     __   __     ______     ______    
/\  __ \   /\ \  _ \ \   /\ "-.\ \   /\  ___\   /\  == \   
\ \ \/\ \  \ \ \/ ".\ \  \ \ \-.  \  \ \  __\   \ \  __<   
 \ \_____\  \ \__/".~\_\  \ \_\\"\_\  \ \_____\  \ \_\ \_\ 
  \/_____/   \/_/   \/_/   \/_/ \/_/   \/_____/   \/_/ /_/ 
                                                           
    /**
     * @dev Add a trait type
     * @param _traitTypeIndex The trait type index
     * @param traits Array of traits to add
     */

    function addTraitType(uint256 _traitTypeIndex, Trait[] memory traits)
        external
        payable
        onlyOwner
    {
        for (uint256 i = 0; i < traits.length; i++) {
            traitTypes[_traitTypeIndex].push(
                Trait(traits[i].traitName, traits[i].traitType)
            );
        }

        return;
    }

    function addContributorMint(address _account) external payable onlyOwner {
        contributorMints[_account] = true;
    }

    function flipMintingSwitch() external payable onlyOwner {
        MINTING_LIVE = !MINTING_LIVE;
    }

    /**
     * @dev Sets the p5js url
     * @param _p5jsUrl The address of the p5js file hosted on CDN
     */

    function setJsAddress(string memory _p5jsUrl) external payable onlyOwner {
        p5jsUrl = _p5jsUrl;
    }

    /**
     * @dev Sets the p5js resource integrity
     * @param _p5jsIntegrity The hash of the p5js file (to protect w subresource integrity)
     */

    function setJsIntegrity(string memory _p5jsIntegrity)
        external
        payable
        onlyOwner
    {
        p5jsIntegrity = _p5jsIntegrity;
    }

    /**
     * @dev Sets the base image url
     * @param _imageUrl The base url for image field
     */

    function setImageUrl(string memory _imageUrl) external payable onlyOwner {
        imageUrl = _imageUrl;
    }

    function setAnimationUrl(string memory _animationUrl)
        external
        payable
        onlyOwner
    {
        animationUrl = _animationUrl;
    }

    function withdraw() external payable onlyOwner {
        (bool success, ) = payable(msg.sender).call{
            value: address(this).balance
        }("");
        require(success);
    }
}

File 2 of 13 : Ownable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (access/Ownable.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

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

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        _approve(to, tokenId);
    }

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

        return _tokenApprovals[tokenId];
    }

    /**
     * @dev See {IERC721-setApprovalForAll}.
     */
    function setApprovalForAll(address operator, bool approved) public virtual override {
        _setApprovalForAll(_msgSender(), operator, approved);
    }

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

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

        _transfer(from, to, tokenId);
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        _beforeTokenTransfer(from, to, tokenId);

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

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

        emit Transfer(from, to, tokenId);
    }

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

    /**
     * @dev Approve `operator` to operate on all of `owner` tokens
     *
     * Emits a {ApprovalForAll} event.
     */
    function _setApprovalForAll(
        address owner,
        address operator,
        bool approved
    ) internal virtual {
        require(owner != operator, "ERC721: approve to caller");
        _operatorApprovals[owner][operator] = approved;
        emit ApprovalForAll(owner, operator, approved);
    }

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

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

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

File 5 of 13 : IERC721Receiver.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721Receiver.sol)

pragma solidity ^0.8.0;

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

File 6 of 13 : IERC721Metadata.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Metadata.sol)

pragma solidity ^0.8.0;

import "../IERC721.sol";

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

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

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

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

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

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

pragma solidity ^0.8.0;

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

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

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

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

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

File 10 of 13 : MerkleProof.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/cryptography/MerkleProof.sol)

pragma solidity ^0.8.0;

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

    /**
     * @dev Returns the rebuilt hash obtained by traversing a Merklee tree up
     * from `leaf` using `proof`. A `proof` is valid if and only if the rebuilt
     * hash matches the root of the tree. When processing the proof, the pairs
     * of leafs & pre-images are assumed to be sorted.
     *
     * _Available since v4.4._
     */
    function processProof(bytes32[] memory proof, bytes32 leaf) internal pure returns (bytes32) {
        bytes32 computedHash = leaf;
        for (uint256 i = 0; i < proof.length; i++) {
            bytes32 proofElement = proof[i];
            if (computedHash <= proofElement) {
                // Hash(current computed hash + current element of the proof)
                computedHash = keccak256(abi.encodePacked(computedHash, proofElement));
            } else {
                // Hash(current element of the proof + current computed hash)
                computedHash = keccak256(abi.encodePacked(proofElement, computedHash));
            }
        }
        return computedHash;
    }
}

File 11 of 13 : ERC165.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol)

pragma solidity ^0.8.0;

import "./IERC165.sol";

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

File 12 of 13 : IERC165.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol)

pragma solidity ^0.8.0;

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

File 13 of 13 : AnonymiceLibrary.sol
pragma solidity ^0.8.7;

library AnonymiceLibrary {
    string internal constant TABLE =
        "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";

    function encode(bytes memory data) internal pure returns (string memory) {
        if (data.length == 0) return "";

        // load the table into memory
        string memory table = TABLE;

        // multiply by 4/3 rounded up
        uint256 encodedLen = 4 * ((data.length + 2) / 3);

        // add some extra buffer at the end required for the writing
        string memory result = new string(encodedLen + 32);

        assembly {
            // set the actual output length
            mstore(result, encodedLen)

            // prepare the lookup table
            let tablePtr := add(table, 1)

            // input ptr
            let dataPtr := data
            let endPtr := add(dataPtr, mload(data))

            // result ptr, jump over length
            let resultPtr := add(result, 32)

            // run over the input, 3 bytes at a time
            for {

            } lt(dataPtr, endPtr) {

            } {
                dataPtr := add(dataPtr, 3)

                // read 3 bytes
                let input := mload(dataPtr)

                // write 4 characters
                mstore(
                    resultPtr,
                    shl(248, mload(add(tablePtr, and(shr(18, input), 0x3F))))
                )
                resultPtr := add(resultPtr, 1)
                mstore(
                    resultPtr,
                    shl(248, mload(add(tablePtr, and(shr(12, input), 0x3F))))
                )
                resultPtr := add(resultPtr, 1)
                mstore(
                    resultPtr,
                    shl(248, mload(add(tablePtr, and(shr(6, input), 0x3F))))
                )
                resultPtr := add(resultPtr, 1)
                mstore(
                    resultPtr,
                    shl(248, mload(add(tablePtr, and(input, 0x3F))))
                )
                resultPtr := add(resultPtr, 1)
            }

            // padding with '='
            switch mod(mload(data), 3)
            case 1 {
                mstore(sub(resultPtr, 2), shl(240, 0x3d3d))
            }
            case 2 {
                mstore(sub(resultPtr, 1), shl(248, 0x3d))
            }
        }

        return result;
    }

    /**
     * @dev Converts a `uint256` to its ASCII `string` decimal representation.
     */
    function toString(uint256 value) internal pure returns (string memory) {
        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);
    }

    function parseInt(string memory _a)
        internal
        pure
        returns (uint8 _parsedInt)
    {
        bytes memory bresult = bytes(_a);
        uint8 mint = 0;
        for (uint8 i = 0; i < bresult.length; i++) {
            if (
                (uint8(uint8(bresult[i])) >= 48) &&
                (uint8(uint8(bresult[i])) <= 57)
            ) {
                mint *= 10;
                mint += uint8(bresult[i]) - 48;
            }
        }
        return mint;
    }

    function substring(
        string memory str,
        uint256 startIndex,
        uint256 endIndex
    ) internal pure returns (string memory) {
        bytes memory strBytes = bytes(str);
        bytes memory result = new bytes(endIndex - startIndex);
        for (uint256 i = startIndex; i < endIndex; i++) {
            result[i - startIndex] = strBytes[i];
        }
        return string(result);
    }

    function isContract(address account) internal view returns (bool) {
        // This method relies on extcodesize, which returns 0 for contracts in
        // construction, since the code is only stored at the end of the
        // constructor execution.

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

Settings
{
  "evmVersion": "london",
  "libraries": {},
  "metadata": {
    "bytecodeHash": "ipfs",
    "useLiteralContent": true
  },
  "optimizer": {
    "enabled": true,
    "runs": 200
  },
  "remappings": [],
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "devdoc",
        "userdoc",
        "metadata",
        "abi"
      ]
    }
  }
}

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"payable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"MINTING_LIVE","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"_tokenIdToHash","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_account","type":"address"}],"name":"addContributorMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_traitTypeIndex","type":"uint256"},{"components":[{"internalType":"string","name":"traitName","type":"string"},{"internalType":"string","name":"traitType","type":"string"}],"internalType":"struct SnowCrash.Trait[]","name":"traits","type":"tuple[]"}],"name":"addTraitType","outputs":[],"stateMutability":"payable","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":"flipMintingSwitch","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"string","name":"_hash","type":"string"},{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"hashToHTML","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"string","name":"_hash","type":"string"}],"name":"hashToMetadata","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"mintCircolorsContributor","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"bytes32[]","name":"merkleProof","type":"bytes32[]"}],"name":"mintFreeSnowCrash","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"_addresses","type":"address[]"}],"name":"mintOgBatch","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"mintPaidSnowCrash","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"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":"string","name":"_animationUrl","type":"string"}],"name":"setAnimationUrl","outputs":[],"stateMutability":"payable","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":"_imageUrl","type":"string"}],"name":"setImageUrl","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"string","name":"_p5jsUrl","type":"string"}],"name":"setJsAddress","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"string","name":"_p5jsIntegrity","type":"string"}],"name":"setJsIntegrity","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"}],"name":"traitTypes","outputs":[{"internalType":"string","name":"traitName","type":"string"},{"internalType":"string","name":"traitType","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"payable","type":"function"}]

6000600c819055600d819055600e819055600f8190556010805461ffff1916905560076080818152660a6dcee86e4e6d60cb1b60a0908152610100604052600460c090815263534e4f5760e01b60e0529193919262000060929190620002e0565b50805162000076906001906020840190620002e0565b505050620000936200008d6200028a60201b60201c565b6200028e565b60408051610140810182526106408082526104b0602083018190526102269383018490526060830193909352608082018390526102bc60a0830181905260c083019190915260e082018190526101008201929092526101208101919091526200010190601190600a6200036f565b50604080516080810182526103e8808252610fa0602083018190529282019290925260608101919091526200013b9060129060046200036f565b50604080516080810182526103e881526107d06020820152610fa091810191909152610bb86060820152620001759060139060046200036f565b50604080516080810182526103e880825261157c60208301526109c4928201929092526060810191909152620001b09060149060046200036f565b50604080516080810182526109c4808252610dac6020830152918101919091526105dc6060820152620001e89060159060046200036f565b5060408051808201909152611b588152610bb86020820152620002109060169060026200036f565b506040805160c0810182526103e881526109c460208201819052610bb89282019290925260608101919091526101f46080820181905260a08201526200025b9060179060066200036f565b506040805180820190915261213481526105dc6020820152620002839060189060026200036f565b5062000469565b3390565b600680546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b828054620002ee906200042c565b90600052602060002090601f0160209004810192826200031257600085556200035d565b82601f106200032d57805160ff19168380011785556200035d565b828001600101855582156200035d579182015b828111156200035d57825182559160200191906001019062000340565b506200036b92915062000415565b5090565b82805482825590600052602060002090600f016010900481019282156200035d5791602002820160005b83821115620003db57835183826101000a81548161ffff021916908361ffff160217905550926020019260020160208160010104928301926001030262000399565b80156200040b5782816101000a81549061ffff0219169055600201602081600101049283019260010302620003db565b50506200036b9291505b5b808211156200036b576000815560010162000416565b600181811c908216806200044157607f821691505b602082108114156200046357634e487b7160e01b600052602260045260246000fd5b50919050565b6141e780620004796000396000f3fe6080604052600436106101f85760003560e01c8063437b040d1161010d57806395d89b41116100a0578063c87b56dd1161006f578063c87b56dd14610542578063d9d2628314610562578063e985e9c514610575578063f2fde38b146105be578063f3c81d2a146105de57600080fd5b806395d89b41146104da578063a22cb465146104ef578063ae93e4bc1461050f578063b88d4fde1461052257600080fd5b806370a08231116100dc57806370a0823114610468578063715018a61461048857806372f90ac11461049d5780638da5cb5b146104bc57600080fd5b8063437b040d146104005780635ea39c9b146104085780636352211e1461042857806366e338701461044857600080fd5b806323b872dd116101905780632fb098d21161015f5780632fb098d214610382578063349d2748146103b0578063363bcb74146103c35780633ccfd60b146103d857806342842e0e146103e057600080fd5b806323b872dd1461032957806328e56c5e146103495780632abff1f21461035c5780632beacbb21461036f57600080fd5b8063095ea7b3116101cc578063095ea7b3146102b05780630a3d4cc4146102d257806313fb44bf146102f257806318160ddd1461030557600080fd5b80625ea307146101fd57806301ffc9a71461023357806306fdde0314610263578063081812fc14610278575b600080fd5b34801561020957600080fd5b5061021d610218366004612909565b6105e6565b60405161022a9190613d33565b60405180910390f35b34801561023f57600080fd5b5061025361024e366004612857565b6106e4565b604051901515815260200161022a565b34801561026f57600080fd5b5061021d610736565b34801561028457600080fd5b50610298610293366004612909565b6107c8565b6040516001600160a01b03909116815260200161022a565b3480156102bc57600080fd5b506102d06102cb36600461278a565b61085d565b005b3480156102de57600080fd5b5061021d6102ed3660046128c5565b610973565b6102d0610300366004612891565b610a24565b34801561031157600080fd5b5061031b600e5481565b60405190815260200161022a565b34801561033557600080fd5b506102d0610344366004612612565b610a65565b6102d0610357366004612891565b610a96565b6102d061036a366004612891565b610ad3565b6102d061037d3660046125c4565b610b10565b34801561038e57600080fd5b506103a261039d366004612a39565b610b5e565b60405161022a929190613d46565b6102d06103be366004612922565b610caf565b3480156103cf57600080fd5b506102d0610da4565b6102d0610e09565b3480156103ec57600080fd5b506102d06103fb366004612612565b610e8b565b6102d0610ea6565b34801561041457600080fd5b506102d06104233660046126c9565b610f12565b34801561043457600080fd5b50610298610443366004612909565b611056565b34801561045457600080fd5b5061021d610463366004612891565b6110cd565b34801561047457600080fd5b5061031b6104833660046125c4565b61125d565b34801561049457600080fd5b506102d06112e4565b3480156104a957600080fd5b5060105461025390610100900460ff1681565b3480156104c857600080fd5b506006546001600160a01b0316610298565b3480156104e657600080fd5b5061021d611318565b3480156104fb57600080fd5b506102d061050a36600461274e565b611327565b6102d061051d3660046127b4565b611332565b34801561052e57600080fd5b506102d061053d36600461264e565b611425565b34801561054e57600080fd5b5061021d61055d366004612909565b611457565b6102d0610570366004612891565b611559565b34801561058157600080fd5b506102536105903660046125df565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b3480156105ca57600080fd5b506102d06105d93660046125c4565b611596565b6102d061162e565b6060336105fb6006546001600160a01b031690565b6001600160a01b0316148061061e57503360009081526009602052604090205443115b6106435760405162461bcd60e51b815260040161063a90613dc6565b60405180910390fd5b6000828152600860205260408120805461065c90614009565b80601f016020809104026020016040519081016040528092919081815260200182805461068890614009565b80156106d55780601f106106aa576101008083540402835291602001916106d5565b820191906000526020600020905b8154815290600101906020018083116106b857829003601f168201915b5093955050505050505b919050565b60006001600160e01b031982166380ac58cd60e01b148061071557506001600160e01b03198216635b5e139f60e01b145b8061073057506301ffc9a760e01b6001600160e01b03198316145b92915050565b60606000805461074590614009565b80601f016020809104026020016040519081016040528092919081815260200182805461077190614009565b80156107be5780601f10610793576101008083540402835291602001916107be565b820191906000526020600020905b8154815290600101906020018083116107a157829003601f168201915b5050505050905090565b6000818152600260205260408120546001600160a01b03166108415760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b606482015260840161063a565b506000908152600460205260409020546001600160a01b031690565b600061086882611056565b9050806001600160a01b0316836001600160a01b031614156108d65760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b606482015260840161063a565b336001600160a01b03821614806108f257506108f28133610590565b6109645760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000606482015260840161063a565b61096e8383611675565b505050565b6060336109886006546001600160a01b031690565b6001600160a01b031614806109ab57503360009081526009602052604090205443115b6109c75760405162461bcd60e51b815260040161063a90613dc6565b60006019601a6109d6856116e3565b866040516020016109ea94939291906139d0565b604051602081830303815290604052905080604051602001610a0c9190612b88565b60408051808303601f19018152919052949350505050565b6006546001600160a01b03163314610a4e5760405162461bcd60e51b815260040161063a90613dec565b8051610a6190601a906020840190612496565b5050565b610a6f33826117e8565b610a8b5760405162461bcd60e51b815260040161063a90613e21565b61096e8383836118db565b6006546001600160a01b03163314610ac05760405162461bcd60e51b815260040161063a90613dec565b8051610a6190601c906020840190612496565b6006546001600160a01b03163314610afd5760405162461bcd60e51b815260040161063a90613dec565b8051610a6190601b906020840190612496565b6006546001600160a01b03163314610b3a5760405162461bcd60e51b815260040161063a90613dec565b6001600160a01b03166000908152600b60205260409020805460ff19166001179055565b60076020528160005260406000208181548110610b7a57600080fd5b906000526020600020906002020160009150915050806000018054610b9e90614009565b80601f0160208091040260200160405190810160405280929190818152602001828054610bca90614009565b8015610c175780601f10610bec57610100808354040283529160200191610c17565b820191906000526020600020905b815481529060010190602001808311610bfa57829003601f168201915b505050505090806001018054610c2c90614009565b80601f0160208091040260200160405190810160405280929190818152602001828054610c5890614009565b8015610ca55780601f10610c7a57610100808354040283529160200191610ca5565b820191906000526020600020905b815481529060010190602001808311610c8857829003601f168201915b5050505050905082565b6006546001600160a01b03163314610cd95760405162461bcd60e51b815260040161063a90613dec565b60005b815181101561096e57600760008481526020019081526020016000206040518060400160405280848481518110610d1557610d156140bf565b6020026020010151600001518152602001848481518110610d3857610d386140bf565b602090810291909101810151810151909152825460018101845560009384529281902082518051939460020290910192610d759284920190612496565b506020828101518051610d8e9260018501920190612496565b5050508080610d9c90614044565b915050610cdc565b336000908152600b602052604090205460ff161515600114610dc557600080fd5b6010600c5410610dd457600080fd5b336000908152600b60205260408120805460ff19169055600c8054909190610dfb90614044565b90915550610e07611a7b565b565b6006546001600160a01b03163314610e335760405162461bcd60e51b815260040161063a90613dec565b604051600090339047908381818185875af1925050503d8060008114610e75576040519150601f19603f3d011682016040523d82523d6000602084013e610e7a565b606091505b5050905080610e8857600080fd5b50565b61096e83838360405180602001604052806000815250611425565b665af3107a4000003414610ef45760405162461bcd60e51b8152602060048201526015602482015274125b9cdd59999a58da595b9d08115512081cd95b9d605a1b604482015260640161063a565b62df901c4311610f0357600080fd5b600d60008154610dfb90614044565b6040516bffffffffffffffffffffffff19606085901b166020820152600090603401604051602081830303815290604052805190602001209050610fac8383808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152507f2cd756bd043061e7f4cd5b02ccfbd86ac3965d315356463f26afa7c6915ab14f9250859150611b6d9050565b610fb557600080fd5b336000908152600a602052604090205460ff1615156001141561101a5760405162461bcd60e51b815260206004820152601b60248201527f4164647265737320616c72656164792066726565206d696e7465640000000000604482015260640161063a565b336000908152600a60205260408120805460ff19166001179055600d805490919061104490614044565b90915550611050611a7b565b50505050565b6000818152600260205260408120546001600160a01b0316806107305760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b606482015260840161063a565b6060336110e26006546001600160a01b031690565b6001600160a01b0316148061110557503360009081526009602052604090205443115b6111215760405162461bcd60e51b815260040161063a90613dc6565b606060005b60088160ff1610156112345760006111576111528660ff851661114a866001613f22565b60ff16611b83565b611c4f565b905082600760008460ff1681526020019081526020016000208260ff1681548110611184576111846140bf565b9060005260206000209060020201600101600760008560ff1681526020019081526020016000208360ff16815481106111bf576111bf6140bf565b90600052602060002090600202016000016040516020016111e293929190613963565b60405160208183030381529060405292508160ff16600714611221578260405160200161120f919061393e565b60405160208183030381529060405292505b508061122c8161405f565b915050611126565b50806040516020016112469190613b3a565b604051602081830303815290604052915050919050565b60006001600160a01b0382166112c85760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b606482015260840161063a565b506001600160a01b031660009081526003602052604090205490565b6006546001600160a01b0316331461130e5760405162461bcd60e51b815260040161063a90613dec565b610e076000611d0d565b60606001805461074590614009565b610a61338383611d5f565b6006546001600160a01b0316331461135c5760405162461bcd60e51b815260040161063a90613dec565b60105460ff161561136c57600080fd5b8051600a1461137a57600080fd5b60005b600a81101561140a5760008190506113b0818484815181106113a1576113a16140bf565b60200260200101516000611e2e565b600082815260086020908152604090912082516113d39391929190910190612496565b506113f78383815181106113e9576113e96140bf565b602002602001015182611f3a565b508061140281614044565b91505061137d565b5050600a600e819055600d556010805460ff19166001179055565b61142f33836117e8565b61144b5760405162461bcd60e51b815260040161063a90613e21565b6110508484848461207c565b6000818152600260205260409020546060906001600160a01b031661147b57600080fd5b6000611486836105e6565b905060006040518060a001604052806070815260200161410260709139905060006114d76114b3866116e3565b6040516020016114c39190612b3d565b6040516020818303038152906040526120af565b905060006114ef846040516020016114c39190612b3d565b905061152f6114fd876116e3565b84601c8585601b61150d8d6116e3565b8b6115178d6110cd565b6040516020016114c399989796959493929190613b6e565b60405160200161153f9190613cb1565b604051602081830303815290604052945050505050919050565b6006546001600160a01b031633146115835760405162461bcd60e51b815260040161063a90613dec565b8051610a61906019906020840190612496565b6006546001600160a01b031633146115c05760405162461bcd60e51b815260040161063a90613dec565b6001600160a01b0381166116255760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161063a565b610e8881611d0d565b6006546001600160a01b031633146116585760405162461bcd60e51b815260040161063a90613dec565b6010805461ff001981166101009182900460ff1615909102179055565b600081815260046020526040902080546001600160a01b0319166001600160a01b03841690811790915581906116aa82611056565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6060816117075750506040805180820190915260018152600360fc1b602082015290565b8160005b8115611731578061171b81614044565b915061172a9050600a83613f47565b915061170b565b6000816001600160401b0381111561174b5761174b6140d5565b6040519080825280601f01601f191660200182016040528015611775576020820181803683370190505b5090505b84156117e05761178a600183613fa3565b9150611797600a8661407f565b6117a2906030613f0a565b60f81b8183815181106117b7576117b76140bf565b60200101906001600160f81b031916908160001a9053506117d9600a86613f47565b9450611779565b949350505050565b6000818152600260205260408120546001600160a01b03166118615760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b606482015260840161063a565b600061186c83611056565b9050806001600160a01b0316846001600160a01b031614806118a75750836001600160a01b031661189c846107c8565b6001600160a01b0316145b806117e057506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff166117e0565b826001600160a01b03166118ee82611056565b6001600160a01b0316146119565760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201526839903737ba1037bbb760b91b606482015260840161063a565b6001600160a01b0382166119b85760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b606482015260840161063a565b6119c3600082611675565b6001600160a01b03831660009081526003602052604081208054600192906119ec908490613fa3565b90915550506001600160a01b0382166000908152600360205260408120805460019290611a1a908490613f0a565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b60105460ff61010090910416151560011480611aa157506006546001600160a01b031633145b611ae05760405162461bcd60e51b815260206004820152601060248201526f4d696e74696e67206e6f74206c69766560801b604482015260640161063a565b600e546101008110611af157600080fd5b333b15611afd57600080fd5b60f1600d5410611b0c57600080fd5b80611b1981336000611e2e565b60008281526008602090815260409091208251611b3c9391929190910190612496565b50336000908152600960205260408120439055600e8054909190611b5f90614044565b90915550610a613382611f3a565b600082611b7a8584612216565b14949350505050565b6060836000611b928585613fa3565b6001600160401b03811115611ba957611ba96140d5565b6040519080825280601f01601f191660200182016040528015611bd3576020820181803683370190505b509050845b84811015611c4557828181518110611bf257611bf26140bf565b01602001516001600160f81b03191682611c0c8884613fa3565b81518110611c1c57611c1c6140bf565b60200101906001600160f81b031916908160001a90535080611c3d81614044565b915050611bd8565b5095945050505050565b60008181805b82518160ff161015611d05576030838260ff1681518110611c7857611c786140bf565b016020015160f81c10801590611cab57506039838260ff1681518110611ca057611ca06140bf565b016020015160f81c11155b15611cf357611cbb600a83613f7a565b91506030838260ff1681518110611cd457611cd46140bf565b0160200151611ce6919060f81c613fba565b611cf09083613f22565b91505b80611cfd8161405f565b915050611c55565b509392505050565b600680546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b816001600160a01b0316836001600160a01b03161415611dc15760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c657200000000000000604482015260640161063a565b6001600160a01b03838116600081815260056020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b6060600b8210611e3d57600080fd5b604080516020810190915260008082525b60088160ff161015611f3157600f8054906000611e6a83614044565b9091555050600f54604080514260208201524491810191909152606080820189905287901b6bffffffffffffffffffffffff191660808201526094810186905260b48101919091526000906127109060d4016040516020818303038152906040528051906020012060001c611edf919061407f565b905082611efb611ef38361ffff16856122ba565b60ff166116e3565b604051602001611f0c929190612b59565b6040516020818303038152906040529250508080611f299061405f565b915050611e4e565b50949350505050565b6001600160a01b038216611f905760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f2061646472657373604482015260640161063a565b6000818152600260205260409020546001600160a01b031615611ff55760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000604482015260640161063a565b6001600160a01b038216600090815260036020526040812080546001929061201e908490613f0a565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b6120878484846118db565b61209384848484612389565b6110505760405162461bcd60e51b815260040161063a90613d74565b60608151600014156120cf57505060408051602081019091526000815290565b600060405180606001604052806040815260200161417260409139905060006003845160026120fe9190613f0a565b6121089190613f47565b612113906004613f5b565b90506000612122826020613f0a565b6001600160401b03811115612139576121396140d5565b6040519080825280601f01601f191660200182016040528015612163576020820181803683370190505b509050818152600183018586518101602084015b818310156121d15760039283018051603f601282901c811687015160f890811b8552600c83901c8216880151811b6001860152600683901c8216880151811b60028601529116860151901b93820193909352600401612177565b6003895106600181146121eb57600281146121fc57612208565b613d3d60f01b600119830152612208565b603d60f81b6000198301525b509398975050505050505050565b600081815b8451811015611d05576000858281518110612238576122386140bf565b6020026020010151905080831161227a5760408051602081018590529081018290526060016040516020818303038152906040528051906020012092506122a7565b60408051602081018390529081018490526060016040516020818303038152906040528051906020012092505b50806122b281614044565b91505061221b565b600080805b60118460ff16600881106122d5576122d56140bf565b015460ff8216101561238357600060118560ff16600881106122f9576122f96140bf565b018260ff168154811061230e5761230e6140bf565b90600052602060002090601091828204019190066002029054906101000a900461ffff1690508261ffff168610158015612354575061234d8184613eed565b61ffff1686105b15612363575091506107309050565b61236d8184613eed565b925050808061237b9061405f565b9150506122bf565b50600080fd5b60006001600160a01b0384163b1561248b57604051630a85bd0160e11b81526001600160a01b0385169063150b7a02906123cd903390899088908890600401613cf6565b602060405180830381600087803b1580156123e757600080fd5b505af1925050508015612417575060408051601f3d908101601f1916820190925261241491810190612874565b60015b612471573d808015612445576040519150601f19603f3d011682016040523d82523d6000602084013e61244a565b606091505b5080516124695760405162461bcd60e51b815260040161063a90613d74565b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490506117e0565b506001949350505050565b8280546124a290614009565b90600052602060002090601f0160209004810192826124c4576000855561250a565b82601f106124dd57805160ff191683800117855561250a565b8280016001018555821561250a579182015b8281111561250a5782518255916020019190600101906124ef565b5061251692915061251a565b5090565b5b80821115612516576000815560010161251b565b60006001600160401b03831115612548576125486140d5565b61255b601f8401601f1916602001613e9a565b905082815283838301111561256f57600080fd5b828260208301376000602084830101529392505050565b80356001600160a01b03811681146106df57600080fd5b600082601f8301126125ae57600080fd5b6125bd8383356020850161252f565b9392505050565b6000602082840312156125d657600080fd5b6125bd82612586565b600080604083850312156125f257600080fd5b6125fb83612586565b915061260960208401612586565b90509250929050565b60008060006060848603121561262757600080fd5b61263084612586565b925061263e60208501612586565b9150604084013590509250925092565b6000806000806080858703121561266457600080fd5b61266d85612586565b935061267b60208601612586565b92506040850135915060608501356001600160401b0381111561269d57600080fd5b8501601f810187136126ae57600080fd5b6126bd8782356020840161252f565b91505092959194509250565b6000806000604084860312156126de57600080fd5b6126e784612586565b925060208401356001600160401b038082111561270357600080fd5b818601915086601f83011261271757600080fd5b81358181111561272657600080fd5b8760208260051b850101111561273b57600080fd5b6020830194508093505050509250925092565b6000806040838503121561276157600080fd5b61276a83612586565b91506020830135801515811461277f57600080fd5b809150509250929050565b6000806040838503121561279d57600080fd5b6127a683612586565b946020939093013593505050565b600060208083850312156127c757600080fd5b82356001600160401b038111156127dd57600080fd5b8301601f810185136127ee57600080fd5b80356128016127fc82613eca565b613e9a565b80828252848201915084840188868560051b870101111561282157600080fd5b600094505b8385101561284b5761283781612586565b835260019490940193918501918501612826565b50979650505050505050565b60006020828403121561286957600080fd5b81356125bd816140eb565b60006020828403121561288657600080fd5b81516125bd816140eb565b6000602082840312156128a357600080fd5b81356001600160401b038111156128b957600080fd5b6117e08482850161259d565b600080604083850312156128d857600080fd5b82356001600160401b038111156128ee57600080fd5b6128fa8582860161259d565b95602094909401359450505050565b60006020828403121561291b57600080fd5b5035919050565b6000806040838503121561293557600080fd5b823591506020808401356001600160401b038082111561295457600080fd5b818601915086601f83011261296857600080fd5b81356129766127fc82613eca565b8082825285820191508585018a878560051b880101111561299657600080fd5b60005b84811015612a28578135868111156129b057600080fd5b87016040818e03601f190112156129c657600080fd5b6129ce613e72565b89820135888111156129df57600080fd5b6129ed8f8c8386010161259d565b825250604082013588811115612a0257600080fd5b612a108f8c8386010161259d565b828c0152508552509287019290870190600101612999565b50979a909950975050505050505050565b60008060408385031215612a4c57600080fd5b50508035926020909101359150565b60008151808452612a73816020860160208601613fdd565b601f01601f19169290920160200192915050565b60008151612a99818560208601613fdd565b9290920192915050565b8054600090600181811c9080831680612abd57607f831692505b6020808410821415612adf57634e487b7160e01b600052602260045260246000fd5b818015612af35760018114612b0457612b31565b60ff19861689528489019650612b31565b60008881526020902060005b86811015612b295781548b820152908501908301612b10565b505084890196505b50505050505092915050565b60008251612b4f818460208701613fdd565b9190910192915050565b60008351612b6b818460208801613fdd565b835190830190612b7f818360208801613fdd565b01949350505050565b60008251612b9a818460208701613fdd565b7f6c657425323066253344302533426c65742532306353657425334425354225329201918252507f322543332539312532343530632d25323225324325323225343039372533462560208201527f3342253243253232253243253232253233382543322541332532312533412e2560408201527f32322532432532322545322538322541393432612532425f253232253243253260608201527f32253235676d253342253239253237253232253243253232303130312532462560808201527f32302532322535442533426c6574253230786f666631253243796f666631253260a08201527f4378796f66662532436e253243636f6c7325334425354230253243312532433260c08201527f253243342532433525324336253243372532433825324339253243313125354460e08201527f2532436653697a657325334425354231322e352532433925324336253243342e6101008201527f372535442532436e6f697365456e642533442535422e3030312532432e3030326101208201527f2532432e3030352532432e303038253544253243737064732533442535422e376101408201527f253243312e32253243322e35253243322e3625354425324374657874436f6c256101608201527f33442535423025324331303025354425324363537072642533442535422e30366101808201527f2532432e31322532432e31382532432e323425354425324374253344302532436101a08201527f7354253344302532436354253344302532436c702533442532313025324372766101c08201527f25334425323131253243772533443530302532436825334435303025334266756101e08201527f6e6374696f6e253230736574757025323825323925374263726561746543616e6102008201527f7661732532387725324368253239253243636f6c6f724d6f64652532384853426102208201527f25324333363025324331303025324331303025323925324374657874466f6e746102408201527f253238253232436f75726965722532322532392532436e6f69736553656564256102608201527f3238746f6b656e4964253239253243634f2533443330253241636f6c732535426102808201527f7061727365496e74253238686173682e737562737472696e67253238302532436102a08201527f31253239253239253544253243665725334477696474682532466653697a65736102c08201527f2535427061727365496e74253238686173682e737562737472696e67253238316102e08201527f25324332253239253239253544253243664825334468656967687425324666536103008201527f697a65732535427061727365496e74253238686173682e737562737472696e676103208201527f2532383125324332253239253239253544253243656e642533446e6f697365456103408201527f6e642535427061727365496e74253238686173682e737562737472696e6725326103608201527f38322532433325323925323925354425324373702533447370647325354270616103808201527f727365496e74253238686173682e737562737472696e672532383325324334256103a08201527f32392532392535442532462532386657253242664825323925324633253243736103c08201527f25334463537072642535427061727365496e74253238686173682e73756273746103e08201527f72696e67253238342532433525323925323925354425324362542533447465786104008201527f74436f6c2535427061727365496e74253238686173682e737562737472696e676104208201527f2532383525324336253239253239253544253243632533447061727365496e746104408201527f253238686173682e737562737472696e672532383625324337253239253239256104608201527f3243665479702533447061727365496e74253238686173682e737562737472696104808201527f6e672532383725324338253239253239253243734f25334438302532433130306104a08201527f2533442533446254253346624f2533443835253341624f2533443130302532436104c08201527f66696c6c25323863542532437354253243625425323925374466756e6374696f6104e08201527f6e253230647261772532382532392537426261636b67726f756e64253238634f6105008201527f253243734f253243624f253239253342666f722532386c6574253230652533446105208201527f66572533426525334325334477696474682d66572533426525324225334431306105408201527f253239666f722532386c65742532306f25334466482533426f253343253344686105608201527f65696768742d66482533426f2532422533443130253239786f6666312533446d6105808201527f6170253238652532436657253243776964746825324330253243656e642532396105a08201527f253243796f6666312533446d61702532386f25324366482532436865696768746105c08201527f25324330253243656e6425323925324378796f6666253344786f6666312532426105e08201527f796f6666312532436e2533446e6f6973652532386525324178796f66662532426106008201527f742532436f25324178796f666625324274253243662532392532436e6f5374726106208201527f6f6b6525323825323925324366696c6c253238635425324373542532436254256106408201527f32392532436e2533452e352532422e38253241732537432537436e2533432e356106608201527f2d2e3825324173253346746578742532386353657425354263253544253542306106808201527f253544253243652532436f2532392533416e2533452e352532422e36352532416106a08201527f732537432537436e2533432e352d2e36352532417325334674657874253238636106c08201527f5365742535426325354425354231253544253243652532436f2532392533416e6106e08201527f2533452e352532422e35253241732537432537436e2533432e352d2e352532416107008201527f73253346746578742532386353657425354263253544253542322535442532436107208201527f652532436f2532392533416e2533452e352532422e33352532417325374325376107408201527f436e2533432e352d2e33352532417325334674657874253238635365742535426107608201527f6325354425354233253544253243652532436f2532392533416e2533452e35256107808201527f32422e32253241732537432537436e2533432e352d2e322532417325334674656107a08201527f7874253238635365742535426325354425354234253544253243652532436f256107c08201527f32392533417465787425323863536574253542632535442535423525354425326107e08201527f43652532436f25323925334230253344253344727625334630253344253344666108008201527f54797025334674253242253344737025334125323866253242253344737025326108208201527f43742532422533447370253246313025323925334130253344253344665479706108408201527f253346742d2533447370253341253238662d2533447370253243742d253344736108608201527f70253246313025323925324374657874253238253232253233253232253242746108808201527f6f6b656e49642e746f537472696e6725323825323925324331302532436865696108a08201527f6768742d313025323925374466756e6374696f6e2532306d6f757365436c69636108c08201527f6b65642532382532392537426342253344634f2532437342253344734f2532436108e08201527f6242253344624f253243634f2533446354253243734f2533447354253243624f6109008201527f25334462542532436354253344634225324373542533447342253243625425336109208201527f44624225374466756e6374696f6e2532306b65795072657373656425323825326109408201527f3925374233322533442533442533446b6579436f6465253236253236312533446109608201527f2533446c702533462532386e6f4c6f6f702532382532392532436c70253344256109808201527f3231312532392533416b6579436f64652533442533442533444c4546545f41526109a08201527f524f572533462532387276253344253231312532436c6f6f70253238253239256109c08201527f32436c70253344253231302532392533416b6579436f646525334425334425336109e08201527f4452494748545f4152524f572533462532387276253344253231302532436c6f610a008201527f6f702532382532392532436c70253344253231302532392533416b6579436f64610a208201527f6525334425334425334455505f4152524f57253346726573697a6543616e7661610a408201527f732532383735302532433235302532392533416b6579436f6465253344253344610a608201527f253344444f574e5f4152524f57253346726573697a6543616e76617325323835610a808201527f303025324335303025323925334131362533442533442533446b6579436f6465610aa08201527f253346726573697a6543616e7661732532383335302532433630302532392533610ac08201527f412532386c6f6f702532382532392532436c7025334425323130253239253744610ae08201527f253343253246736372697074253345253343253246626f647925334525334325610b0082015268324668746d6c25334560b81b610b20820152610b2901919050565b60008251613950818460208701613fdd565b600b60fa1b920191825250600101919050565b60008451613975818460208901613fdd565b6e3d913a3930b4ba2fba3cb832911d1160891b90830190815261399b600f820186612aa3565b6a1116113b30b63ab2911d1160a91b815290506139bb600b820185612aa3565b61227d60f01b81526002019695505050505050565b7f646174613a746578742f68746d6c2c25334368746d6c2533452533436865616481527f253345253343736372697074253230737263253344253232000000000000000060208201526000613a286038830187612aa3565b7412991912991834b73a32b3b934ba3c9299a212991960591b8152613a506015820187612aa3565b90507f25323225323063726f73736f726967696e253344253232616e6f6e796d6f757381527f253232253345253343253246736372697074253345253343253246686561642560208201527f3345253343626f6479253345253343736372697074253345766172253230746f6040820152671ad95b9259094cd160c21b60608201528451613ae5816068840160208901613fdd565b721299a13b30b91299183430b9b41299a212991960691b606892909101918201528351613b1981607b840160208801613fdd565b651299191299a160d11b9101607b8101919091526081019695505050505050565b605b60f81b815260008251613b56816001850160208701613fdd565b605d60f81b6001939091019283015250600201919050565b747b226e616d65223a2022536e6f774372617368202360581b81528951600090613b9f816015850160208f01613fdd565b8a5190830190613bb6816015840160208f01613fdd565b701130b734b6b0ba34b7b72fbab936111d1160791b60159290910191820152613be2602682018b612aa3565b90508851613bf4818360208d01613fdd565b6226743d60e81b91019081528751613c13816003840160208c01613fdd565b6a11161134b6b0b3b2911d1160a91b60039290910191820152613c39600e820188612aa3565b90508551613c4b818360208a01613fdd565b613ca0613c93613c8d613c72613c6c8587016226743d60e81b815260030190565b8a612a87565b6e11161130ba3a3934b13aba32b9911d60891b8152600f0190565b87612a87565b607d60f81b815260010190565b9d9c50505050505050505050505050565b7f646174613a6170706c69636174696f6e2f6a736f6e3b6261736536342c000000815260008251613ce981601d850160208701613fdd565b91909101601d0192915050565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090613d2990830184612a5b565b9695505050505050565b6020815260006125bd6020830184612a5b565b604081526000613d596040830185612a5b565b8281036020840152613d6b8185612a5b565b95945050505050565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b6020808252600c908201526b6e6f7420736f20666173742160a01b604082015260600190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b604080519081016001600160401b0381118282101715613e9457613e946140d5565b60405290565b604051601f8201601f191681016001600160401b0381118282101715613ec257613ec26140d5565b604052919050565b60006001600160401b03821115613ee357613ee36140d5565b5060051b60200190565b600061ffff808316818516808303821115612b7f57612b7f614093565b60008219821115613f1d57613f1d614093565b500190565b600060ff821660ff84168060ff03821115613f3f57613f3f614093565b019392505050565b600082613f5657613f566140a9565b500490565b6000816000190483118215151615613f7557613f75614093565b500290565b600060ff821660ff84168160ff0481118215151615613f9b57613f9b614093565b029392505050565b600082821015613fb557613fb5614093565b500390565b600060ff821660ff841680821015613fd457613fd4614093565b90039392505050565b60005b83811015613ff8578181015183820152602001613fe0565b838111156110505750506000910152565b600181811c9082168061401d57607f821691505b6020821081141561403e57634e487b7160e01b600052602260045260246000fd5b50919050565b600060001982141561405857614058614093565b5060010190565b600060ff821660ff81141561407657614076614093565b60010192915050565b60008261408e5761408e6140a9565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b031981168114610e8857600080fdfe222c20226465736372697074696f6e223a202232353620415343494920536e6f77437261736865732e204d65746164617461202620696d61676573206d6972726f726564206f6e20636861696e207065726d616e656e746c7920616e64206c6f6f707320696e66696e6974656c79222c4142434445464748494a4b4c4d4e4f505152535455565758595a6162636465666768696a6b6c6d6e6f707172737475767778797a303132333435363738392b2fa2646970667358221220a39cdbf7633e6fbf998d29e8dc6bd98270862ff9bb16fa83e8e49e18bcf8b49864736f6c63430008070033

Deployed Bytecode

0x6080604052600436106101f85760003560e01c8063437b040d1161010d57806395d89b41116100a0578063c87b56dd1161006f578063c87b56dd14610542578063d9d2628314610562578063e985e9c514610575578063f2fde38b146105be578063f3c81d2a146105de57600080fd5b806395d89b41146104da578063a22cb465146104ef578063ae93e4bc1461050f578063b88d4fde1461052257600080fd5b806370a08231116100dc57806370a0823114610468578063715018a61461048857806372f90ac11461049d5780638da5cb5b146104bc57600080fd5b8063437b040d146104005780635ea39c9b146104085780636352211e1461042857806366e338701461044857600080fd5b806323b872dd116101905780632fb098d21161015f5780632fb098d214610382578063349d2748146103b0578063363bcb74146103c35780633ccfd60b146103d857806342842e0e146103e057600080fd5b806323b872dd1461032957806328e56c5e146103495780632abff1f21461035c5780632beacbb21461036f57600080fd5b8063095ea7b3116101cc578063095ea7b3146102b05780630a3d4cc4146102d257806313fb44bf146102f257806318160ddd1461030557600080fd5b80625ea307146101fd57806301ffc9a71461023357806306fdde0314610263578063081812fc14610278575b600080fd5b34801561020957600080fd5b5061021d610218366004612909565b6105e6565b60405161022a9190613d33565b60405180910390f35b34801561023f57600080fd5b5061025361024e366004612857565b6106e4565b604051901515815260200161022a565b34801561026f57600080fd5b5061021d610736565b34801561028457600080fd5b50610298610293366004612909565b6107c8565b6040516001600160a01b03909116815260200161022a565b3480156102bc57600080fd5b506102d06102cb36600461278a565b61085d565b005b3480156102de57600080fd5b5061021d6102ed3660046128c5565b610973565b6102d0610300366004612891565b610a24565b34801561031157600080fd5b5061031b600e5481565b60405190815260200161022a565b34801561033557600080fd5b506102d0610344366004612612565b610a65565b6102d0610357366004612891565b610a96565b6102d061036a366004612891565b610ad3565b6102d061037d3660046125c4565b610b10565b34801561038e57600080fd5b506103a261039d366004612a39565b610b5e565b60405161022a929190613d46565b6102d06103be366004612922565b610caf565b3480156103cf57600080fd5b506102d0610da4565b6102d0610e09565b3480156103ec57600080fd5b506102d06103fb366004612612565b610e8b565b6102d0610ea6565b34801561041457600080fd5b506102d06104233660046126c9565b610f12565b34801561043457600080fd5b50610298610443366004612909565b611056565b34801561045457600080fd5b5061021d610463366004612891565b6110cd565b34801561047457600080fd5b5061031b6104833660046125c4565b61125d565b34801561049457600080fd5b506102d06112e4565b3480156104a957600080fd5b5060105461025390610100900460ff1681565b3480156104c857600080fd5b506006546001600160a01b0316610298565b3480156104e657600080fd5b5061021d611318565b3480156104fb57600080fd5b506102d061050a36600461274e565b611327565b6102d061051d3660046127b4565b611332565b34801561052e57600080fd5b506102d061053d36600461264e565b611425565b34801561054e57600080fd5b5061021d61055d366004612909565b611457565b6102d0610570366004612891565b611559565b34801561058157600080fd5b506102536105903660046125df565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b3480156105ca57600080fd5b506102d06105d93660046125c4565b611596565b6102d061162e565b6060336105fb6006546001600160a01b031690565b6001600160a01b0316148061061e57503360009081526009602052604090205443115b6106435760405162461bcd60e51b815260040161063a90613dc6565b60405180910390fd5b6000828152600860205260408120805461065c90614009565b80601f016020809104026020016040519081016040528092919081815260200182805461068890614009565b80156106d55780601f106106aa576101008083540402835291602001916106d5565b820191906000526020600020905b8154815290600101906020018083116106b857829003601f168201915b5093955050505050505b919050565b60006001600160e01b031982166380ac58cd60e01b148061071557506001600160e01b03198216635b5e139f60e01b145b8061073057506301ffc9a760e01b6001600160e01b03198316145b92915050565b60606000805461074590614009565b80601f016020809104026020016040519081016040528092919081815260200182805461077190614009565b80156107be5780601f10610793576101008083540402835291602001916107be565b820191906000526020600020905b8154815290600101906020018083116107a157829003601f168201915b5050505050905090565b6000818152600260205260408120546001600160a01b03166108415760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b606482015260840161063a565b506000908152600460205260409020546001600160a01b031690565b600061086882611056565b9050806001600160a01b0316836001600160a01b031614156108d65760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b606482015260840161063a565b336001600160a01b03821614806108f257506108f28133610590565b6109645760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000606482015260840161063a565b61096e8383611675565b505050565b6060336109886006546001600160a01b031690565b6001600160a01b031614806109ab57503360009081526009602052604090205443115b6109c75760405162461bcd60e51b815260040161063a90613dc6565b60006019601a6109d6856116e3565b866040516020016109ea94939291906139d0565b604051602081830303815290604052905080604051602001610a0c9190612b88565b60408051808303601f19018152919052949350505050565b6006546001600160a01b03163314610a4e5760405162461bcd60e51b815260040161063a90613dec565b8051610a6190601a906020840190612496565b5050565b610a6f33826117e8565b610a8b5760405162461bcd60e51b815260040161063a90613e21565b61096e8383836118db565b6006546001600160a01b03163314610ac05760405162461bcd60e51b815260040161063a90613dec565b8051610a6190601c906020840190612496565b6006546001600160a01b03163314610afd5760405162461bcd60e51b815260040161063a90613dec565b8051610a6190601b906020840190612496565b6006546001600160a01b03163314610b3a5760405162461bcd60e51b815260040161063a90613dec565b6001600160a01b03166000908152600b60205260409020805460ff19166001179055565b60076020528160005260406000208181548110610b7a57600080fd5b906000526020600020906002020160009150915050806000018054610b9e90614009565b80601f0160208091040260200160405190810160405280929190818152602001828054610bca90614009565b8015610c175780601f10610bec57610100808354040283529160200191610c17565b820191906000526020600020905b815481529060010190602001808311610bfa57829003601f168201915b505050505090806001018054610c2c90614009565b80601f0160208091040260200160405190810160405280929190818152602001828054610c5890614009565b8015610ca55780601f10610c7a57610100808354040283529160200191610ca5565b820191906000526020600020905b815481529060010190602001808311610c8857829003601f168201915b5050505050905082565b6006546001600160a01b03163314610cd95760405162461bcd60e51b815260040161063a90613dec565b60005b815181101561096e57600760008481526020019081526020016000206040518060400160405280848481518110610d1557610d156140bf565b6020026020010151600001518152602001848481518110610d3857610d386140bf565b602090810291909101810151810151909152825460018101845560009384529281902082518051939460020290910192610d759284920190612496565b506020828101518051610d8e9260018501920190612496565b5050508080610d9c90614044565b915050610cdc565b336000908152600b602052604090205460ff161515600114610dc557600080fd5b6010600c5410610dd457600080fd5b336000908152600b60205260408120805460ff19169055600c8054909190610dfb90614044565b90915550610e07611a7b565b565b6006546001600160a01b03163314610e335760405162461bcd60e51b815260040161063a90613dec565b604051600090339047908381818185875af1925050503d8060008114610e75576040519150601f19603f3d011682016040523d82523d6000602084013e610e7a565b606091505b5050905080610e8857600080fd5b50565b61096e83838360405180602001604052806000815250611425565b665af3107a4000003414610ef45760405162461bcd60e51b8152602060048201526015602482015274125b9cdd59999a58da595b9d08115512081cd95b9d605a1b604482015260640161063a565b62df901c4311610f0357600080fd5b600d60008154610dfb90614044565b6040516bffffffffffffffffffffffff19606085901b166020820152600090603401604051602081830303815290604052805190602001209050610fac8383808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152507f2cd756bd043061e7f4cd5b02ccfbd86ac3965d315356463f26afa7c6915ab14f9250859150611b6d9050565b610fb557600080fd5b336000908152600a602052604090205460ff1615156001141561101a5760405162461bcd60e51b815260206004820152601b60248201527f4164647265737320616c72656164792066726565206d696e7465640000000000604482015260640161063a565b336000908152600a60205260408120805460ff19166001179055600d805490919061104490614044565b90915550611050611a7b565b50505050565b6000818152600260205260408120546001600160a01b0316806107305760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b606482015260840161063a565b6060336110e26006546001600160a01b031690565b6001600160a01b0316148061110557503360009081526009602052604090205443115b6111215760405162461bcd60e51b815260040161063a90613dc6565b606060005b60088160ff1610156112345760006111576111528660ff851661114a866001613f22565b60ff16611b83565b611c4f565b905082600760008460ff1681526020019081526020016000208260ff1681548110611184576111846140bf565b9060005260206000209060020201600101600760008560ff1681526020019081526020016000208360ff16815481106111bf576111bf6140bf565b90600052602060002090600202016000016040516020016111e293929190613963565b60405160208183030381529060405292508160ff16600714611221578260405160200161120f919061393e565b60405160208183030381529060405292505b508061122c8161405f565b915050611126565b50806040516020016112469190613b3a565b604051602081830303815290604052915050919050565b60006001600160a01b0382166112c85760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b606482015260840161063a565b506001600160a01b031660009081526003602052604090205490565b6006546001600160a01b0316331461130e5760405162461bcd60e51b815260040161063a90613dec565b610e076000611d0d565b60606001805461074590614009565b610a61338383611d5f565b6006546001600160a01b0316331461135c5760405162461bcd60e51b815260040161063a90613dec565b60105460ff161561136c57600080fd5b8051600a1461137a57600080fd5b60005b600a81101561140a5760008190506113b0818484815181106113a1576113a16140bf565b60200260200101516000611e2e565b600082815260086020908152604090912082516113d39391929190910190612496565b506113f78383815181106113e9576113e96140bf565b602002602001015182611f3a565b508061140281614044565b91505061137d565b5050600a600e819055600d556010805460ff19166001179055565b61142f33836117e8565b61144b5760405162461bcd60e51b815260040161063a90613e21565b6110508484848461207c565b6000818152600260205260409020546060906001600160a01b031661147b57600080fd5b6000611486836105e6565b905060006040518060a001604052806070815260200161410260709139905060006114d76114b3866116e3565b6040516020016114c39190612b3d565b6040516020818303038152906040526120af565b905060006114ef846040516020016114c39190612b3d565b905061152f6114fd876116e3565b84601c8585601b61150d8d6116e3565b8b6115178d6110cd565b6040516020016114c399989796959493929190613b6e565b60405160200161153f9190613cb1565b604051602081830303815290604052945050505050919050565b6006546001600160a01b031633146115835760405162461bcd60e51b815260040161063a90613dec565b8051610a61906019906020840190612496565b6006546001600160a01b031633146115c05760405162461bcd60e51b815260040161063a90613dec565b6001600160a01b0381166116255760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161063a565b610e8881611d0d565b6006546001600160a01b031633146116585760405162461bcd60e51b815260040161063a90613dec565b6010805461ff001981166101009182900460ff1615909102179055565b600081815260046020526040902080546001600160a01b0319166001600160a01b03841690811790915581906116aa82611056565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6060816117075750506040805180820190915260018152600360fc1b602082015290565b8160005b8115611731578061171b81614044565b915061172a9050600a83613f47565b915061170b565b6000816001600160401b0381111561174b5761174b6140d5565b6040519080825280601f01601f191660200182016040528015611775576020820181803683370190505b5090505b84156117e05761178a600183613fa3565b9150611797600a8661407f565b6117a2906030613f0a565b60f81b8183815181106117b7576117b76140bf565b60200101906001600160f81b031916908160001a9053506117d9600a86613f47565b9450611779565b949350505050565b6000818152600260205260408120546001600160a01b03166118615760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b606482015260840161063a565b600061186c83611056565b9050806001600160a01b0316846001600160a01b031614806118a75750836001600160a01b031661189c846107c8565b6001600160a01b0316145b806117e057506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff166117e0565b826001600160a01b03166118ee82611056565b6001600160a01b0316146119565760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201526839903737ba1037bbb760b91b606482015260840161063a565b6001600160a01b0382166119b85760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b606482015260840161063a565b6119c3600082611675565b6001600160a01b03831660009081526003602052604081208054600192906119ec908490613fa3565b90915550506001600160a01b0382166000908152600360205260408120805460019290611a1a908490613f0a565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b60105460ff61010090910416151560011480611aa157506006546001600160a01b031633145b611ae05760405162461bcd60e51b815260206004820152601060248201526f4d696e74696e67206e6f74206c69766560801b604482015260640161063a565b600e546101008110611af157600080fd5b333b15611afd57600080fd5b60f1600d5410611b0c57600080fd5b80611b1981336000611e2e565b60008281526008602090815260409091208251611b3c9391929190910190612496565b50336000908152600960205260408120439055600e8054909190611b5f90614044565b90915550610a613382611f3a565b600082611b7a8584612216565b14949350505050565b6060836000611b928585613fa3565b6001600160401b03811115611ba957611ba96140d5565b6040519080825280601f01601f191660200182016040528015611bd3576020820181803683370190505b509050845b84811015611c4557828181518110611bf257611bf26140bf565b01602001516001600160f81b03191682611c0c8884613fa3565b81518110611c1c57611c1c6140bf565b60200101906001600160f81b031916908160001a90535080611c3d81614044565b915050611bd8565b5095945050505050565b60008181805b82518160ff161015611d05576030838260ff1681518110611c7857611c786140bf565b016020015160f81c10801590611cab57506039838260ff1681518110611ca057611ca06140bf565b016020015160f81c11155b15611cf357611cbb600a83613f7a565b91506030838260ff1681518110611cd457611cd46140bf565b0160200151611ce6919060f81c613fba565b611cf09083613f22565b91505b80611cfd8161405f565b915050611c55565b509392505050565b600680546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b816001600160a01b0316836001600160a01b03161415611dc15760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c657200000000000000604482015260640161063a565b6001600160a01b03838116600081815260056020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b6060600b8210611e3d57600080fd5b604080516020810190915260008082525b60088160ff161015611f3157600f8054906000611e6a83614044565b9091555050600f54604080514260208201524491810191909152606080820189905287901b6bffffffffffffffffffffffff191660808201526094810186905260b48101919091526000906127109060d4016040516020818303038152906040528051906020012060001c611edf919061407f565b905082611efb611ef38361ffff16856122ba565b60ff166116e3565b604051602001611f0c929190612b59565b6040516020818303038152906040529250508080611f299061405f565b915050611e4e565b50949350505050565b6001600160a01b038216611f905760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f2061646472657373604482015260640161063a565b6000818152600260205260409020546001600160a01b031615611ff55760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000604482015260640161063a565b6001600160a01b038216600090815260036020526040812080546001929061201e908490613f0a565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b6120878484846118db565b61209384848484612389565b6110505760405162461bcd60e51b815260040161063a90613d74565b60608151600014156120cf57505060408051602081019091526000815290565b600060405180606001604052806040815260200161417260409139905060006003845160026120fe9190613f0a565b6121089190613f47565b612113906004613f5b565b90506000612122826020613f0a565b6001600160401b03811115612139576121396140d5565b6040519080825280601f01601f191660200182016040528015612163576020820181803683370190505b509050818152600183018586518101602084015b818310156121d15760039283018051603f601282901c811687015160f890811b8552600c83901c8216880151811b6001860152600683901c8216880151811b60028601529116860151901b93820193909352600401612177565b6003895106600181146121eb57600281146121fc57612208565b613d3d60f01b600119830152612208565b603d60f81b6000198301525b509398975050505050505050565b600081815b8451811015611d05576000858281518110612238576122386140bf565b6020026020010151905080831161227a5760408051602081018590529081018290526060016040516020818303038152906040528051906020012092506122a7565b60408051602081018390529081018490526060016040516020818303038152906040528051906020012092505b50806122b281614044565b91505061221b565b600080805b60118460ff16600881106122d5576122d56140bf565b015460ff8216101561238357600060118560ff16600881106122f9576122f96140bf565b018260ff168154811061230e5761230e6140bf565b90600052602060002090601091828204019190066002029054906101000a900461ffff1690508261ffff168610158015612354575061234d8184613eed565b61ffff1686105b15612363575091506107309050565b61236d8184613eed565b925050808061237b9061405f565b9150506122bf565b50600080fd5b60006001600160a01b0384163b1561248b57604051630a85bd0160e11b81526001600160a01b0385169063150b7a02906123cd903390899088908890600401613cf6565b602060405180830381600087803b1580156123e757600080fd5b505af1925050508015612417575060408051601f3d908101601f1916820190925261241491810190612874565b60015b612471573d808015612445576040519150601f19603f3d011682016040523d82523d6000602084013e61244a565b606091505b5080516124695760405162461bcd60e51b815260040161063a90613d74565b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490506117e0565b506001949350505050565b8280546124a290614009565b90600052602060002090601f0160209004810192826124c4576000855561250a565b82601f106124dd57805160ff191683800117855561250a565b8280016001018555821561250a579182015b8281111561250a5782518255916020019190600101906124ef565b5061251692915061251a565b5090565b5b80821115612516576000815560010161251b565b60006001600160401b03831115612548576125486140d5565b61255b601f8401601f1916602001613e9a565b905082815283838301111561256f57600080fd5b828260208301376000602084830101529392505050565b80356001600160a01b03811681146106df57600080fd5b600082601f8301126125ae57600080fd5b6125bd8383356020850161252f565b9392505050565b6000602082840312156125d657600080fd5b6125bd82612586565b600080604083850312156125f257600080fd5b6125fb83612586565b915061260960208401612586565b90509250929050565b60008060006060848603121561262757600080fd5b61263084612586565b925061263e60208501612586565b9150604084013590509250925092565b6000806000806080858703121561266457600080fd5b61266d85612586565b935061267b60208601612586565b92506040850135915060608501356001600160401b0381111561269d57600080fd5b8501601f810187136126ae57600080fd5b6126bd8782356020840161252f565b91505092959194509250565b6000806000604084860312156126de57600080fd5b6126e784612586565b925060208401356001600160401b038082111561270357600080fd5b818601915086601f83011261271757600080fd5b81358181111561272657600080fd5b8760208260051b850101111561273b57600080fd5b6020830194508093505050509250925092565b6000806040838503121561276157600080fd5b61276a83612586565b91506020830135801515811461277f57600080fd5b809150509250929050565b6000806040838503121561279d57600080fd5b6127a683612586565b946020939093013593505050565b600060208083850312156127c757600080fd5b82356001600160401b038111156127dd57600080fd5b8301601f810185136127ee57600080fd5b80356128016127fc82613eca565b613e9a565b80828252848201915084840188868560051b870101111561282157600080fd5b600094505b8385101561284b5761283781612586565b835260019490940193918501918501612826565b50979650505050505050565b60006020828403121561286957600080fd5b81356125bd816140eb565b60006020828403121561288657600080fd5b81516125bd816140eb565b6000602082840312156128a357600080fd5b81356001600160401b038111156128b957600080fd5b6117e08482850161259d565b600080604083850312156128d857600080fd5b82356001600160401b038111156128ee57600080fd5b6128fa8582860161259d565b95602094909401359450505050565b60006020828403121561291b57600080fd5b5035919050565b6000806040838503121561293557600080fd5b823591506020808401356001600160401b038082111561295457600080fd5b818601915086601f83011261296857600080fd5b81356129766127fc82613eca565b8082825285820191508585018a878560051b880101111561299657600080fd5b60005b84811015612a28578135868111156129b057600080fd5b87016040818e03601f190112156129c657600080fd5b6129ce613e72565b89820135888111156129df57600080fd5b6129ed8f8c8386010161259d565b825250604082013588811115612a0257600080fd5b612a108f8c8386010161259d565b828c0152508552509287019290870190600101612999565b50979a909950975050505050505050565b60008060408385031215612a4c57600080fd5b50508035926020909101359150565b60008151808452612a73816020860160208601613fdd565b601f01601f19169290920160200192915050565b60008151612a99818560208601613fdd565b9290920192915050565b8054600090600181811c9080831680612abd57607f831692505b6020808410821415612adf57634e487b7160e01b600052602260045260246000fd5b818015612af35760018114612b0457612b31565b60ff19861689528489019650612b31565b60008881526020902060005b86811015612b295781548b820152908501908301612b10565b505084890196505b50505050505092915050565b60008251612b4f818460208701613fdd565b9190910192915050565b60008351612b6b818460208801613fdd565b835190830190612b7f818360208801613fdd565b01949350505050565b60008251612b9a818460208701613fdd565b7f6c657425323066253344302533426c65742532306353657425334425354225329201918252507f322543332539312532343530632d25323225324325323225343039372533462560208201527f3342253243253232253243253232253233382543322541332532312533412e2560408201527f32322532432532322545322538322541393432612532425f253232253243253260608201527f32253235676d253342253239253237253232253243253232303130312532462560808201527f32302532322535442533426c6574253230786f666631253243796f666631253260a08201527f4378796f66662532436e253243636f6c7325334425354230253243312532433260c08201527f253243342532433525324336253243372532433825324339253243313125354460e08201527f2532436653697a657325334425354231322e352532433925324336253243342e6101008201527f372535442532436e6f697365456e642533442535422e3030312532432e3030326101208201527f2532432e3030352532432e303038253544253243737064732533442535422e376101408201527f253243312e32253243322e35253243322e3625354425324374657874436f6c256101608201527f33442535423025324331303025354425324363537072642533442535422e30366101808201527f2532432e31322532432e31382532432e323425354425324374253344302532436101a08201527f7354253344302532436354253344302532436c702533442532313025324372766101c08201527f25334425323131253243772533443530302532436825334435303025334266756101e08201527f6e6374696f6e253230736574757025323825323925374263726561746543616e6102008201527f7661732532387725324368253239253243636f6c6f724d6f64652532384853426102208201527f25324333363025324331303025324331303025323925324374657874466f6e746102408201527f253238253232436f75726965722532322532392532436e6f69736553656564256102608201527f3238746f6b656e4964253239253243634f2533443330253241636f6c732535426102808201527f7061727365496e74253238686173682e737562737472696e67253238302532436102a08201527f31253239253239253544253243665725334477696474682532466653697a65736102c08201527f2535427061727365496e74253238686173682e737562737472696e67253238316102e08201527f25324332253239253239253544253243664825334468656967687425324666536103008201527f697a65732535427061727365496e74253238686173682e737562737472696e676103208201527f2532383125324332253239253239253544253243656e642533446e6f697365456103408201527f6e642535427061727365496e74253238686173682e737562737472696e6725326103608201527f38322532433325323925323925354425324373702533447370647325354270616103808201527f727365496e74253238686173682e737562737472696e672532383325324334256103a08201527f32392532392535442532462532386657253242664825323925324633253243736103c08201527f25334463537072642535427061727365496e74253238686173682e73756273746103e08201527f72696e67253238342532433525323925323925354425324362542533447465786104008201527f74436f6c2535427061727365496e74253238686173682e737562737472696e676104208201527f2532383525324336253239253239253544253243632533447061727365496e746104408201527f253238686173682e737562737472696e672532383625324337253239253239256104608201527f3243665479702533447061727365496e74253238686173682e737562737472696104808201527f6e672532383725324338253239253239253243734f25334438302532433130306104a08201527f2533442533446254253346624f2533443835253341624f2533443130302532436104c08201527f66696c6c25323863542532437354253243625425323925374466756e6374696f6104e08201527f6e253230647261772532382532392537426261636b67726f756e64253238634f6105008201527f253243734f253243624f253239253342666f722532386c6574253230652533446105208201527f66572533426525334325334477696474682d66572533426525324225334431306105408201527f253239666f722532386c65742532306f25334466482533426f253343253344686105608201527f65696768742d66482533426f2532422533443130253239786f6666312533446d6105808201527f6170253238652532436657253243776964746825324330253243656e642532396105a08201527f253243796f6666312533446d61702532386f25324366482532436865696768746105c08201527f25324330253243656e6425323925324378796f6666253344786f6666312532426105e08201527f796f6666312532436e2533446e6f6973652532386525324178796f66662532426106008201527f742532436f25324178796f666625324274253243662532392532436e6f5374726106208201527f6f6b6525323825323925324366696c6c253238635425324373542532436254256106408201527f32392532436e2533452e352532422e38253241732537432537436e2533432e356106608201527f2d2e3825324173253346746578742532386353657425354263253544253542306106808201527f253544253243652532436f2532392533416e2533452e352532422e36352532416106a08201527f732537432537436e2533432e352d2e36352532417325334674657874253238636106c08201527f5365742535426325354425354231253544253243652532436f2532392533416e6106e08201527f2533452e352532422e35253241732537432537436e2533432e352d2e352532416107008201527f73253346746578742532386353657425354263253544253542322535442532436107208201527f652532436f2532392533416e2533452e352532422e33352532417325374325376107408201527f436e2533432e352d2e33352532417325334674657874253238635365742535426107608201527f6325354425354233253544253243652532436f2532392533416e2533452e35256107808201527f32422e32253241732537432537436e2533432e352d2e322532417325334674656107a08201527f7874253238635365742535426325354425354234253544253243652532436f256107c08201527f32392533417465787425323863536574253542632535442535423525354425326107e08201527f43652532436f25323925334230253344253344727625334630253344253344666108008201527f54797025334674253242253344737025334125323866253242253344737025326108208201527f43742532422533447370253246313025323925334130253344253344665479706108408201527f253346742d2533447370253341253238662d2533447370253243742d253344736108608201527f70253246313025323925324374657874253238253232253233253232253242746108808201527f6f6b656e49642e746f537472696e6725323825323925324331302532436865696108a08201527f6768742d313025323925374466756e6374696f6e2532306d6f757365436c69636108c08201527f6b65642532382532392537426342253344634f2532437342253344734f2532436108e08201527f6242253344624f253243634f2533446354253243734f2533447354253243624f6109008201527f25334462542532436354253344634225324373542533447342253243625425336109208201527f44624225374466756e6374696f6e2532306b65795072657373656425323825326109408201527f3925374233322533442533442533446b6579436f6465253236253236312533446109608201527f2533446c702533462532386e6f4c6f6f702532382532392532436c70253344256109808201527f3231312532392533416b6579436f64652533442533442533444c4546545f41526109a08201527f524f572533462532387276253344253231312532436c6f6f70253238253239256109c08201527f32436c70253344253231302532392533416b6579436f646525334425334425336109e08201527f4452494748545f4152524f572533462532387276253344253231302532436c6f610a008201527f6f702532382532392532436c70253344253231302532392533416b6579436f64610a208201527f6525334425334425334455505f4152524f57253346726573697a6543616e7661610a408201527f732532383735302532433235302532392533416b6579436f6465253344253344610a608201527f253344444f574e5f4152524f57253346726573697a6543616e76617325323835610a808201527f303025324335303025323925334131362533442533442533446b6579436f6465610aa08201527f253346726573697a6543616e7661732532383335302532433630302532392533610ac08201527f412532386c6f6f702532382532392532436c7025334425323130253239253744610ae08201527f253343253246736372697074253345253343253246626f647925334525334325610b0082015268324668746d6c25334560b81b610b20820152610b2901919050565b60008251613950818460208701613fdd565b600b60fa1b920191825250600101919050565b60008451613975818460208901613fdd565b6e3d913a3930b4ba2fba3cb832911d1160891b90830190815261399b600f820186612aa3565b6a1116113b30b63ab2911d1160a91b815290506139bb600b820185612aa3565b61227d60f01b81526002019695505050505050565b7f646174613a746578742f68746d6c2c25334368746d6c2533452533436865616481527f253345253343736372697074253230737263253344253232000000000000000060208201526000613a286038830187612aa3565b7412991912991834b73a32b3b934ba3c9299a212991960591b8152613a506015820187612aa3565b90507f25323225323063726f73736f726967696e253344253232616e6f6e796d6f757381527f253232253345253343253246736372697074253345253343253246686561642560208201527f3345253343626f6479253345253343736372697074253345766172253230746f6040820152671ad95b9259094cd160c21b60608201528451613ae5816068840160208901613fdd565b721299a13b30b91299183430b9b41299a212991960691b606892909101918201528351613b1981607b840160208801613fdd565b651299191299a160d11b9101607b8101919091526081019695505050505050565b605b60f81b815260008251613b56816001850160208701613fdd565b605d60f81b6001939091019283015250600201919050565b747b226e616d65223a2022536e6f774372617368202360581b81528951600090613b9f816015850160208f01613fdd565b8a5190830190613bb6816015840160208f01613fdd565b701130b734b6b0ba34b7b72fbab936111d1160791b60159290910191820152613be2602682018b612aa3565b90508851613bf4818360208d01613fdd565b6226743d60e81b91019081528751613c13816003840160208c01613fdd565b6a11161134b6b0b3b2911d1160a91b60039290910191820152613c39600e820188612aa3565b90508551613c4b818360208a01613fdd565b613ca0613c93613c8d613c72613c6c8587016226743d60e81b815260030190565b8a612a87565b6e11161130ba3a3934b13aba32b9911d60891b8152600f0190565b87612a87565b607d60f81b815260010190565b9d9c50505050505050505050505050565b7f646174613a6170706c69636174696f6e2f6a736f6e3b6261736536342c000000815260008251613ce981601d850160208701613fdd565b91909101601d0192915050565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090613d2990830184612a5b565b9695505050505050565b6020815260006125bd6020830184612a5b565b604081526000613d596040830185612a5b565b8281036020840152613d6b8185612a5b565b95945050505050565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b6020808252600c908201526b6e6f7420736f20666173742160a01b604082015260600190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b604080519081016001600160401b0381118282101715613e9457613e946140d5565b60405290565b604051601f8201601f191681016001600160401b0381118282101715613ec257613ec26140d5565b604052919050565b60006001600160401b03821115613ee357613ee36140d5565b5060051b60200190565b600061ffff808316818516808303821115612b7f57612b7f614093565b60008219821115613f1d57613f1d614093565b500190565b600060ff821660ff84168060ff03821115613f3f57613f3f614093565b019392505050565b600082613f5657613f566140a9565b500490565b6000816000190483118215151615613f7557613f75614093565b500290565b600060ff821660ff84168160ff0481118215151615613f9b57613f9b614093565b029392505050565b600082821015613fb557613fb5614093565b500390565b600060ff821660ff841680821015613fd457613fd4614093565b90039392505050565b60005b83811015613ff8578181015183820152602001613fe0565b838111156110505750506000910152565b600181811c9082168061401d57607f821691505b6020821081141561403e57634e487b7160e01b600052602260045260246000fd5b50919050565b600060001982141561405857614058614093565b5060010190565b600060ff821660ff81141561407657614076614093565b60010192915050565b60008261408e5761408e6140a9565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b031981168114610e8857600080fdfe222c20226465736372697074696f6e223a202232353620415343494920536e6f77437261736865732e204d65746164617461202620696d61676573206d6972726f726564206f6e20636861696e207065726d616e656e746c7920616e64206c6f6f707320696e66696e6974656c79222c4142434445464748494a4b4c4d4e4f505152535455565758595a6162636465666768696a6b6c6d6e6f707172737475767778797a303132333435363738392b2fa2646970667358221220a39cdbf7633e6fbf998d29e8dc6bd98270862ff9bb16fa83e8e49e18bcf8b49864736f6c63430008070033

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.