ETH Price: $3,349.34 (-3.75%)

Token

AudioGenesis (AG)
 

Overview

Max Total Supply

33 AG

Holders

23

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Filtered by Token Holder
nerdrage.eth
Balance
1 AG
0xc4d533f1ed30b5f3733f70164328cb7e060d4560
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:
AudioGenesis

Compiler Version
v0.8.11+commit.d7f03943

Optimization Enabled:
Yes with 20 runs

Other Settings:
default evmVersion
File 1 of 11 : AudioGenesis.sol
// SPDX-License-Identifier: None
// AudioGenesis Contracts v0.0.1t
// Creator: Chance Santana-Wees

pragma solidity ^0.8.11;

import './ERC721A.sol';
import "@openzeppelin/contracts/token/common/ERC2981.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol";

interface IAudioGenesisRenderer {
    function constructTokenURI(
        string memory websocket,
        string memory jsonRPC,
        address[] memory customListeners,
        string memory customVisualizer,
        string memory customVisualizerName,
        uint256 tokenData
    ) external view returns (string memory);
}

contract AudioGenesis is ERC2981, ERC721A, Ownable {
    event URI(string value, uint256 id);

    IAudioGenesisRenderer constant renderer = IAudioGenesisRenderer(address(0xEE4B4275Fa10E51C64081143282b4933d3c6b788));
    
    uint256 constant ALLOWLIST  = 1 << 8;
    uint256 constant PUBLIC     = 2 << 8;
    uint256 constant MINTED     = 3 << 8;

    uint256 public luftDropReserve = 55;
    uint256 public constant maxSupply = 555;
    uint256 public constant pricePerMint = 0.1 ether;

    uint256 public mintStart = 1662228000;
    bytes32 public merkleRoot = bytes32(uint(0xf06cba1cd6a5081e50548eaee72700c4f3d4ac4fd836a3004826e66c55bc4cd7));

    string public defaultWebsocketAPI = "wss://main-light.eth.linkpool.io/ws";
    string public defaultJSONAPI = "https://main-light.eth.linkpool.io/";

    mapping(address => uint256) private AllowedTokensMinted;

    mapping(uint256 => bool) private tokenOverridesEndpoints;
    mapping(uint256 => string) public tokenToWebsocketEndpoint;
    mapping(uint256 => string) public tokenToJSONEndpoint;
    mapping(uint256 => uint256) public tokenIdToData;
    mapping(uint256 => address[]) public tokenIdToCustomListeners;
    mapping(uint256 => string) public tokenIdToCustomVisualizer;
    mapping(uint256 => string) public tokenIdToCustomVisualizerName;

    string private _contractURI = "data:application/json;base64,ewogICJuYW1lIjogIkF1ZGlvR2VuZXNpcyIsCiAgImRlc2NyaXB0aW9uIjogIkFuIGV4cGVyaW1lbnRhbCAxMDAlIG9uLWNoYWluIG11bHRpbWVkaWEgTkZUIHRoYXQgYXVkaW8tdmlzdWFsaXplcyB0aGUgb24tY2hhaW4gZXZlbnRzIGVtaXR0ZWQgYnkgTkZUIHRyYW5zZmVycyBhbmQgc2FsZXMuIiwKICAiaW1hZ2UiOiAiZGF0YTppbWFnZS9zdmcreG1sO2Jhc2U2NCxQRDk0Yld3Z2RtVnljMmx2YmowaU1TNHdJaUJsYm1OdlpHbHVaejBpVlZSR0xUZ2lQejRLUEhOMlp5QnpkSGxzWlQwaVltRmphMmR5YjNWdVpDMWpiMnh2Y2pwaWJHRmpheUlnZG1sbGQwSnZlRDBpTUNBd0lERmxNeUF4WlRNaUlIaHRiRzV6UFNKb2RIUndPaTh2ZDNkM0xuY3pMbTl5Wnk4eU1EQXdMM04yWnlJK0NqeHpkSGxzWlQ1MFpYaDBJSHNLWm1sc2JEb2dkMmhwZEdVN0NuTjBjbTlyWlRvZ2QyaHBkR1U3Q25OMGNtOXJaUzEzYVdSMGFEb2dOSEI0T3dwbWIyNTBMWE5wZW1VNklEaGxiVHNLWm05dWRDMW1ZVzFwYkhrNklDZERiM1Z5YVdWeUlFNWxkeWNzSUcxdmJtOXpjR0ZqWlRzS2ZRcHlaV04wTG5KbFkzUWdld3AzYVdSMGFEb2dNVEF4Y0hnN0NtaGxhV2RvZERvZ01UQXdNSEI0T3dwOVBDOXpkSGxzWlQ0S1BISmxZM1FnWTJ4aGMzTTlJbkpsWTNRaUlHWnBiR3c5SWlNNFFqQXdNemdpUGdvOFlXNXBiV0YwWlNCaGRIUnlhV0oxZEdWT1lXMWxQU0o1SWlCallXeGpUVzlrWlQwaVpHbHpZM0psZEdVaUlHUjFjajBpTUM0MWN5SWdjbVZ3WldGMFEyOTFiblE5SW1sdVpHVm1hVzVwZEdVaUlIWmhiSFZsY3owaU5UQXdPelUxTURzMk1EQTdOalV3T3pZMU1EczJOVEE3TmpBd096WXdNRHMxTlRBN05UQXdPelV3TURzMU1EQWlMejRLUEM5eVpXTjBQZ284Y21WamRDQmpiR0Z6Y3owaWNtVmpkQ0lnZUQwaU1UQXdJaUJtYVd4c1BTSWpaakF3SWo0S1BHRnVhVzFoZEdVZ1lYUjBjbWxpZFhSbFRtRnRaVDBpZVNJZ1kyRnNZMDF2WkdVOUltUnBjMk55WlhSbElpQmtkWEk5SWpBdU5YTWlJSEpsY0dWaGRFTnZkVzUwUFNKcGJtUmxabWx1YVhSbElpQjJZV3gxWlhNOUlqUTFNRHMwTlRBN05UQXdPelV3TURzME5UQTdOREF3T3pRd01Ec3pOVEE3TXpVd096TTFNRHMwTURBN05EVXdJaTgrQ2p3dmNtVmpkRDRLUEhKbFkzUWdZMnhoYzNNOUluSmxZM1FpSUhnOUlqSXdNQ0lnWm1sc2JEMGlJMFpHT0VNd01DSStDanhoYm1sdFlYUmxJR0YwZEhKcFluVjBaVTVoYldVOUlua2lJR05oYkdOTmIyUmxQU0prYVhOamNtVjBaU0lnWkhWeVBTSXdMalZ6SWlCeVpYQmxZWFJEYjNWdWREMGlhVzVrWldacGJtbDBaU0lnZG1Gc2RXVnpQU0kwTURBN05EQXdPek0xTURzek1EQTdNalV3T3pJMU1Ec3lOVEE3TXpBd096TXdNRHN6TlRBN016VXdPelF3TUNJdlBnbzhMM0psWTNRK0NqeHlaV04wSUdOc1lYTnpQU0p5WldOMElpQjRQU0l6TURBaUlHWnBiR3c5SWlORVJFUTNNREFpUGdvOFlXNXBiV0YwWlNCaGRIUnlhV0oxZEdWT1lXMWxQU0o1SWlCallXeGpUVzlrWlQwaVpHbHpZM0psZEdVaUlHUjFjajBpTUM0MWN5SWdjbVZ3WldGMFEyOTFiblE5SW1sdVpHVm1hVzVwZEdVaUlIWmhiSFZsY3owaU5EQXdPelF3TURzek5UQTdNekF3T3pJeU1Ec3lNakE3TWpJd096TXdNRHN6TURBN016VXdPek0xTURzME1EQWlMejRLUEM5eVpXTjBQZ284Y21WamRDQmpiR0Z6Y3owaWNtVmpkQ0lnZUQwaU5EQXdJaUJtYVd4c1BTSWpNekJGUlRNd0lqNEtQR0Z1YVcxaGRHVWdZWFIwY21saWRYUmxUbUZ0WlQwaWVTSWdZMkZzWTAxdlpHVTlJbVJwYzJOeVpYUmxJaUJrZFhJOUlqQXVOWE1pSUhKbGNHVmhkRU52ZFc1MFBTSnBibVJsWm1sdWFYUmxJaUIyWVd4MVpYTTlJalExTURzME5UQTdOVEF3T3pVd01EczBOVEE3TkRBd096TTFNRHN6TlRBN016VXdPelF3TURzME1EQTdORFV3SWk4K0Nqd3ZjbVZqZEQ0S1BISmxZM1FnWTJ4aGMzTTlJbkpsWTNRaUlIZzlJalV3TUNJZ1ptbHNiRDBpSXpZMlppSStDanhoYm1sdFlYUmxJR0YwZEhKcFluVjBaVTVoYldVOUlua2lJR05oYkdOTmIyUmxQU0prYVhOamNtVjBaU0lnWkhWeVBTSXdMalZ6SWlCeVpYQmxZWFJEYjNWdWREMGlhVzVrWldacGJtbDBaU0lnZG1Gc2RXVnpQU0kyTURBN05qVXdPemN3TURzM05UQTdOelV3T3pjMU1EczNNREE3TmpBd096VTFNRHMxTlRBN05UVXdPell3TUNJdlBnbzhMM0psWTNRK0NqeHlaV04wSUdOc1lYTnpQU0p5WldOMElpQjRQU0kyTURBaUlHWnBiR3c5SWlNMFFqQXdPRElpUGdvOFlXNXBiV0YwWlNCaGRIUnlhV0oxZEdWT1lXMWxQU0o1SWlCallXeGpUVzlrWlQwaVpHbHpZM0psZEdVaUlHUjFjajBpTUM0MWN5SWdjbVZ3WldGMFEyOTFiblE5SW1sdVpHVm1hVzVwZEdVaUlIWmhiSFZsY3owaU9EQXdPemd3TURzNE1EQTdPRFV3T3pnMU1EczRNREE3T0RBd096YzFNRHMzTlRBN056VXdPemd3TURzNE1EQWlMejRLUEM5eVpXTjBQZ284Y21WamRDQmpiR0Z6Y3owaWNtVmpkQ0lnZUQwaU56QXdJaUJtYVd4c1BTSWpPRUl6TXpaQklqNEtQR0Z1YVcxaGRHVWdZWFIwY21saWRYUmxUbUZ0WlQwaWVTSWdZMkZzWTAxdlpHVTlJbVJwYzJOeVpYUmxJaUJrZFhJOUlqQXVOWE1pSUhKbGNHVmhkRU52ZFc1MFBTSnBibVJsWm1sdWFYUmxJaUIyWVd4MVpYTTlJamt5TlRzNU1qVTdPVEkxT3pnM05UczROelU3T0RVd096ZzFNRHM0TlRBN09ESTFPemd5TlRzNE56VTdPVEkxSWk4K0Nqd3ZjbVZqZEQ0S1BISmxZM1FnWTJ4aGMzTTlJbkpsWTNRaUlIZzlJamd3TUNJZ1ptbHNiRDBpSTJZek5pSStDanhoYm1sdFlYUmxJR0YwZEhKcFluVjBaVTVoYldVOUlua2lJR05oYkdOTmIyUmxQU0prYVhOamNtVjBaU0lnWkhWeVBTSXdMalZ6SWlCeVpYQmxZWFJEYjNWdWREMGlhVzVrWldacGJtbDBaU0lnZG1Gc2RXVnpQU0k1T0RVN09UZzFPems0TlRzNU56VTdPVGN3T3prMk5UczVOalU3T1RZMU96azNNRHM1TnpVN09UZ3dPems0TUNJdlBnbzhMM0psWTNRK0NqeHlaV04wSUdOc1lYTnpQU0p5WldOMElpQjRQU0k1TURBaUlHWnBiR3c5SWlObU1EQWlQZ284WVc1cGJXRjBaU0JoZEhSeWFXSjFkR1ZPWVcxbFBTSjVJaUJqWVd4alRXOWtaVDBpWkdselkzSmxkR1VpSUdSMWNqMGlNQzQxY3lJZ2NtVndaV0YwUTI5MWJuUTlJbWx1WkdWbWFXNXBkR1VpSUhaaGJIVmxjejBpT1RrMU96azVOVHM1T1RVN09UazFPems1TURzNU9UQTdPVGcxT3prNE5UczVPRFU3T1Rrd096azVNRHM1T1RVaUx6NEtQQzl5WldOMFBnbzhaeUIwY21GdWMyWnZjbTA5SW5SeVlXNXpiR0YwWlNneU5UQWdNVGMxS1NCelkyRnNaU2d4TGpJMUtTSStDanh3WVhSb0lHUTlJazAwTWpRdU5DQXlNVFF1TjB3M01pNDBJRFl1TmtNME15NDRMVEV3TGpNZ01DQTJMakVnTUNBME55NDVWalEyTkdNd0lETTNMalVnTkRBdU55QTJNQzR4SURjeUxqUWdOREV1TTJ3ek5USXRNakE0WXpNeExqUXRNVGd1TlNBek1TNDFMVFkwTGpFZ01DMDRNaTQyZWlJZ1ptbHNiRDBpSTBaR1JrWkdSa0pDSWk4K0Nqd3ZaejRLUEhSbGVIUWdlRDBpTlRBaUlIazlJakUxTUNJZ2RHVjRkRXhsYm1kMGFEMGlPVEFsSWo1QlZVUkpUend2ZEdWNGRENDhkR1Y0ZENCNFBTSTFNQ0lnZVQwaU9UVXdJaUIwWlhoMFRHVnVaM1JvUFNJNU1DVWlQa2RGVGtWVFNWTThMM1JsZUhRK1BDOXpkbWMrIiwKICAiZXh0ZXJuYWxfbGluayI6ICJodHRwczovL3R3aXR0ZXIuY29tL0ltcG9zc2libGVORlQiLAogICJzZWxsZXJfZmVlX2Jhc2lzX3BvaW50cyI6IDEwMDAsCiAgImZlZV9yZWNpcGllbnQiOiAiMHhjRDRhNzE1NzcwNjBjMzgwQzM3NTU1NGNBOTlCNDBENDQ4NEQyYTA1Igp9";

    constructor()
        ERC721A("AudioGenesis", "AG")
    {
        _setDefaultRoyalty(owner(), 750);
    }

    function setMerkleRoot(uint256 _merkleRoot) external onlyOwner {
        merkleRoot = bytes32(_merkleRoot);
    }

    function pauseMint() external onlyOwner {
        mintStart = 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF;
    }

    function setAllowlistStart(uint256 timestamp) external onlyOwner {
        mintStart = timestamp;
    }

    function startPublicMint() external onlyOwner {
        mintStart = block.timestamp - 1 days;
    }

    function mintForCreator() external onlyOwner {
        //Mint for Creator
        require(_numberMinted(address(0x2DDB405238368695f34d30a80AB60c449aa5cE48)) == 0, "ALREADY_MINTED");
        _calcSeeds(5, address(0x2DDB405238368695f34d30a80AB60c449aa5cE48));
        _safeMint(address(0x2DDB405238368695f34d30a80AB60c449aa5cE48), 5);
    }

    function mintForLuftballons(uint256 quantity) external onlyOwner {
        if(luftDropReserve >= quantity) luftDropReserve -= quantity;
        else luftDropReserve = 0;
        require(totalSupply() + quantity - 1 < maxSupply, "MINTED_OUT");
        _calcSeeds(quantity, address(0x356E1363897033759181727e4BFf12396c51A7E0));
        _safeMint(address(0x356E1363897033759181727e4BFf12396c51A7E0), quantity);
    }

    function verifyMerkleProof(bytes32 leaf, bytes32[] memory merkleProof) public view returns (bool) {
        return MerkleProof.verify(merkleProof, merkleRoot, leaf);
    }

    function mint(uint256 quantity, uint256 maxAllowed, bytes32[] memory merkleProof) external payable {
        require(msg.sender == tx.origin, "NO_CONTRACT_MINTS");
        require(totalSupply() + quantity - 1 < maxSupply - luftDropReserve, "MINTED_OUT");
        require(msg.value == pricePerMint * quantity, "INCORRECT_PAYMENT");
        require(mintStart < block.timestamp, "NOT_MINTING");
        if(mintStart + 1 days < block.timestamp) {
            require(_numberMinted(_msgSenderERC721A()) == 0, "ALREADY_MINTED");
            require(quantity == 1, "EXCEEDS_ALLOWED");
        } else{
            require(maxAllowed >= quantity + _numberMinted(_msgSenderERC721A()), "EXCEEDS_ALLOWED");
            bytes32 leaf = keccak256(abi.encodePacked(maxAllowed,_msgSenderERC721A()));
            require(verifyMerkleProof(leaf, merkleProof), "BAD_PROOF");
        }

        _calcSeeds(quantity,_msgSenderERC721A());
        _safeMint(_msgSenderERC721A(),quantity);
        
        payable(owner()).transfer(msg.value);
    }
    
    uint256 private constant pulseModWeights = 0x0101054B64C864644B4B4B191919190A0A0A0A0A0A0505050503DB19;
    uint256 private constant pulseModOptions = 0x0305070B0A1113171D1F25292B2F353B3D4347494F53596165;
    uint256 private constant lowPulseWeights = 0x010103030201000B06;
    uint256 private constant lowPulseOptions = 0x01020406080C;
    uint256 private constant lfoModulWeights = 0x07060504030201001c07;
    uint256 private constant lfoModulOptions = 0x07060504030201;
    uint256 private constant timeModuWeights = 0x07060504030201001c07;
    uint256 private constant timeModuOptions = 0x07060504030201;
    uint256 private constant visualizWeights = 0x020202050a0a0505050a0a0a004c0c;
    uint256 private constant visualizOptions = 0x0b0a09080706050403020100;
    uint256 private constant filterTpWeights = 0x0505050a0a0a0a0a004108;
    uint256 private constant filterTpOptions = 0x0706050403020100;
    uint256 private constant filterFrWeights = 0x01020304030201001007;
    uint256 private constant filterFrOptions = 0x06050403020100;
    uint256 private constant filter_QWeights = 0x02051e1e1e140a007f07;
    uint256 private constant filter_QOptions = 0x643219140f0a05;
    uint256 private constant channel_Weights = 0x0102020105030a001807;
    uint256 private constant channel_Options = 0x06050403020100;

    function weightedRand(uint256 seed, uint256 weights, uint256 options) internal pure returns (uint256 choice) {
        uint256 length = weights & 0xFF;
        uint256 weightSum = (weights>>8) & 0xFFFF;
        uint256 r = seed%weightSum;
        uint256 sum=0;
        for (uint i = 0; i < length; i++) {
            sum += (weights >> (24+8*i)) & 0xFF;
            if (r <= sum){
                choice = (options>>(i*8)) & 0xFF;
                break;
            }
        }
    }

    function _calcSeeds(uint256 minted, address minter) private {
        uint256 token = _nextTokenId();
        uint256 seed = uint256(keccak256(abi.encodePacked(blockhash(block.number-1),minter, token)));
        while(token < _nextTokenId()+minted) {
            uint256 tokenData   = 0;
            tokenData |= weightedRand(seed, pulseModWeights, pulseModOptions);      seed = uint256(keccak256(abi.encodePacked(seed)));
            tokenData |= weightedRand(seed, lowPulseWeights, lowPulseOptions)<<8;   seed = uint256(keccak256(abi.encodePacked(seed)));
            tokenData |= (seed%6)<<16;                                              seed = uint256(keccak256(abi.encodePacked(seed)));
            tokenData |= weightedRand(seed, lfoModulWeights, lfoModulOptions)<<24;  seed = uint256(keccak256(abi.encodePacked(seed)));
            tokenData |= weightedRand(seed, timeModuWeights, timeModuOptions)<<32;  seed = uint256(keccak256(abi.encodePacked(seed)));
            tokenData |= weightedRand(seed, filterFrWeights, filterFrOptions)<<40;  seed = uint256(keccak256(abi.encodePacked(seed)));
            tokenData |= (seed%50)<<48;                                             seed = uint256(keccak256(abi.encodePacked(seed)));
            tokenData |= weightedRand(seed, filter_QWeights, filter_QOptions)<<56;  seed = uint256(keccak256(abi.encodePacked(seed)));
            tokenData |= (2*(((seed%1000)**2)/1000))<<64;                           seed = uint256(keccak256(abi.encodePacked(seed)));
            tokenData |= (500+10*(((seed%1000)**3)/1000000))<<80;                   seed = uint256(keccak256(abi.encodePacked(seed)));
            tokenData |= (seed%5)<<96;                                              seed = uint256(keccak256(abi.encodePacked(seed)));
            tokenData |= (seed%4)<<104;                                             seed = uint256(keccak256(abi.encodePacked(seed)));
            tokenData |= weightedRand(seed, visualizWeights, visualizOptions)<<112; seed = uint256(keccak256(abi.encodePacked(seed)));
            tokenData |= weightedRand(seed, filterTpWeights, filterTpOptions)<<120; seed = uint256(keccak256(abi.encodePacked(seed)));
            tokenData |= weightedRand(seed, channel_Weights, channel_Options)<<128; seed = uint256(keccak256(abi.encodePacked(seed)));
            tokenData |= token<<136;

            tokenIdToData[token] = tokenData;

            token++;
        }
    }

    function setDefaultRoyalty(uint96 basisPoints) external onlyOwner {
        _setDefaultRoyalty(owner(), basisPoints);
    }

    function contractURI() public view returns (string memory) {
        return _contractURI;
    }

    function setDefaultEndpoints(string memory websocketEndpoint, string memory jsonRPCEndpoint) external onlyOwner {
        defaultJSONAPI = jsonRPCEndpoint;
        defaultWebsocketAPI = websocketEndpoint;
    }

    function setCustomEndpoints(uint256 tokenID, string memory websocketEndpoint, string memory jsonRPCEndpoint) public {
        require(_msgSenderERC721A() == ownerOf(tokenID), "NOT_YOURS");
        tokenToWebsocketEndpoint[tokenID] = websocketEndpoint;
        tokenToJSONEndpoint[tokenID] = jsonRPCEndpoint;
        tokenOverridesEndpoints[tokenID] = true;
    }

    function clearCustomEndpoints(uint256 tokenID) public {
        require(_msgSenderERC721A() == ownerOf(tokenID), "NOT_YOURS");
        tokenOverridesEndpoints[tokenID] = false;
    }

    function setCustomVisualizer(uint256 tokenID, string memory fragmentShaderSrc, string memory visualizerName) public {
        require(_msgSenderERC721A() == ownerOf(tokenID), "NOT_YOURS");
        tokenIdToCustomVisualizer[tokenID] = fragmentShaderSrc;
        tokenIdToCustomVisualizerName[tokenID] = visualizerName;
    }

    function clearCustomVisualizer(uint256 tokenID) public {
        require(_msgSenderERC721A() == ownerOf(tokenID), "NOT_YOURS");
        tokenIdToCustomVisualizer[tokenID] = "";
        tokenIdToCustomVisualizerName[tokenID] = "";
    }

    function addCustomListener(uint256 tokenID, address listenerAddress) public {
        require(_msgSenderERC721A() == ownerOf(tokenID), "NOT_YOURS");
        tokenIdToCustomListeners[tokenID].push(listenerAddress);
    }

    function removeCustomListener(uint256 tokenID, uint256 listenerIndex) public {
        require(_msgSenderERC721A() == ownerOf(tokenID), "NOT_YOURS");
        uint256 length = tokenIdToCustomListeners[tokenID].length;
        require(listenerIndex < length);
        if(length > 1) tokenIdToCustomListeners[tokenID][listenerIndex] = tokenIdToCustomListeners[tokenID][length-1];
        tokenIdToCustomListeners[tokenID].pop();
    }

    function mintStatus() public view returns (uint256 status) {
        if(totalSupply() >= maxSupply - luftDropReserve) status += MINTED;
        else if(mintStart + 1 days < block.timestamp) status += PUBLIC;
        else if(mintStart < block.timestamp) status += ALLOWLIST; 
        return status + _numberMinted(_msgSenderERC721A());
    }

    function tokenURI(uint256 tokenID) public view override returns (string memory) {
        if(tokenOverridesEndpoints[tokenID]) {
            return renderer.constructTokenURI(
                tokenToWebsocketEndpoint[tokenID],
                tokenToJSONEndpoint[tokenID],
                tokenIdToCustomListeners[tokenID],
                tokenIdToCustomVisualizer[tokenID],
                tokenIdToCustomVisualizerName[tokenID],
                tokenIdToData[tokenID]);
        }

        return renderer.constructTokenURI(
                defaultWebsocketAPI,
                defaultJSONAPI,
                tokenIdToCustomListeners[tokenID],
                tokenIdToCustomVisualizer[tokenID],
                tokenIdToCustomVisualizerName[tokenID],
                tokenIdToData[tokenID]);
    }

    function _startTokenId() internal pure override returns (uint256) {
        return 1;
    }

    function supportsInterface(bytes4 interfaceId) public view virtual override(ERC2981, ERC721A) returns (bool) {
        return ERC2981.supportsInterface(interfaceId) || ERC721A.supportsInterface(interfaceId); 
    }
}

File 2 of 11 : MerkleProof.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (utils/cryptography/MerkleProof.sol)

pragma solidity ^0.8.0;

/**
 * @dev These functions deal with verification of Merkle Tree 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.
 *
 * WARNING: You should avoid using leaf values that are 64 bytes long prior to
 * hashing, or use a hash function other than keccak256 for hashing leaves.
 * This is because the concatenation of a sorted pair of internal nodes in
 * the merkle tree could be reinterpreted as a leaf value.
 */
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 Calldata version of {verify}
     *
     * _Available since v4.7._
     */
    function verifyCalldata(
        bytes32[] calldata proof,
        bytes32 root,
        bytes32 leaf
    ) internal pure returns (bool) {
        return processProofCalldata(proof, leaf) == root;
    }

    /**
     * @dev Returns the rebuilt hash obtained by traversing a Merkle 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++) {
            computedHash = _hashPair(computedHash, proof[i]);
        }
        return computedHash;
    }

    /**
     * @dev Calldata version of {processProof}
     *
     * _Available since v4.7._
     */
    function processProofCalldata(bytes32[] calldata proof, bytes32 leaf) internal pure returns (bytes32) {
        bytes32 computedHash = leaf;
        for (uint256 i = 0; i < proof.length; i++) {
            computedHash = _hashPair(computedHash, proof[i]);
        }
        return computedHash;
    }

    /**
     * @dev Returns true if the `leaves` can be proved to be a part of a Merkle tree defined by
     * `root`, according to `proof` and `proofFlags` as described in {processMultiProof}.
     *
     * _Available since v4.7._
     */
    function multiProofVerify(
        bytes32[] memory proof,
        bool[] memory proofFlags,
        bytes32 root,
        bytes32[] memory leaves
    ) internal pure returns (bool) {
        return processMultiProof(proof, proofFlags, leaves) == root;
    }

    /**
     * @dev Calldata version of {multiProofVerify}
     *
     * _Available since v4.7._
     */
    function multiProofVerifyCalldata(
        bytes32[] calldata proof,
        bool[] calldata proofFlags,
        bytes32 root,
        bytes32[] memory leaves
    ) internal pure returns (bool) {
        return processMultiProofCalldata(proof, proofFlags, leaves) == root;
    }

    /**
     * @dev Returns the root of a tree reconstructed from `leaves` and the sibling nodes in `proof`,
     * consuming from one or the other at each step according to the instructions given by
     * `proofFlags`.
     *
     * _Available since v4.7._
     */
    function processMultiProof(
        bytes32[] memory proof,
        bool[] memory proofFlags,
        bytes32[] memory leaves
    ) internal pure returns (bytes32 merkleRoot) {
        // This function rebuild the root hash by traversing the tree up from the leaves. The root is rebuilt by
        // consuming and producing values on a queue. The queue starts with the `leaves` array, then goes onto the
        // `hashes` array. At the end of the process, the last hash in the `hashes` array should contain the root of
        // the merkle tree.
        uint256 leavesLen = leaves.length;
        uint256 totalHashes = proofFlags.length;

        // Check proof validity.
        require(leavesLen + proof.length - 1 == totalHashes, "MerkleProof: invalid multiproof");

        // The xxxPos values are "pointers" to the next value to consume in each array. All accesses are done using
        // `xxx[xxxPos++]`, which return the current value and increment the pointer, thus mimicking a queue's "pop".
        bytes32[] memory hashes = new bytes32[](totalHashes);
        uint256 leafPos = 0;
        uint256 hashPos = 0;
        uint256 proofPos = 0;
        // At each step, we compute the next hash using two values:
        // - a value from the "main queue". If not all leaves have been consumed, we get the next leaf, otherwise we
        //   get the next hash.
        // - depending on the flag, either another value for the "main queue" (merging branches) or an element from the
        //   `proof` array.
        for (uint256 i = 0; i < totalHashes; i++) {
            bytes32 a = leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++];
            bytes32 b = proofFlags[i] ? leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++] : proof[proofPos++];
            hashes[i] = _hashPair(a, b);
        }

        if (totalHashes > 0) {
            return hashes[totalHashes - 1];
        } else if (leavesLen > 0) {
            return leaves[0];
        } else {
            return proof[0];
        }
    }

    /**
     * @dev Calldata version of {processMultiProof}
     *
     * _Available since v4.7._
     */
    function processMultiProofCalldata(
        bytes32[] calldata proof,
        bool[] calldata proofFlags,
        bytes32[] memory leaves
    ) internal pure returns (bytes32 merkleRoot) {
        // This function rebuild the root hash by traversing the tree up from the leaves. The root is rebuilt by
        // consuming and producing values on a queue. The queue starts with the `leaves` array, then goes onto the
        // `hashes` array. At the end of the process, the last hash in the `hashes` array should contain the root of
        // the merkle tree.
        uint256 leavesLen = leaves.length;
        uint256 totalHashes = proofFlags.length;

        // Check proof validity.
        require(leavesLen + proof.length - 1 == totalHashes, "MerkleProof: invalid multiproof");

        // The xxxPos values are "pointers" to the next value to consume in each array. All accesses are done using
        // `xxx[xxxPos++]`, which return the current value and increment the pointer, thus mimicking a queue's "pop".
        bytes32[] memory hashes = new bytes32[](totalHashes);
        uint256 leafPos = 0;
        uint256 hashPos = 0;
        uint256 proofPos = 0;
        // At each step, we compute the next hash using two values:
        // - a value from the "main queue". If not all leaves have been consumed, we get the next leaf, otherwise we
        //   get the next hash.
        // - depending on the flag, either another value for the "main queue" (merging branches) or an element from the
        //   `proof` array.
        for (uint256 i = 0; i < totalHashes; i++) {
            bytes32 a = leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++];
            bytes32 b = proofFlags[i] ? leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++] : proof[proofPos++];
            hashes[i] = _hashPair(a, b);
        }

        if (totalHashes > 0) {
            return hashes[totalHashes - 1];
        } else if (leavesLen > 0) {
            return leaves[0];
        } else {
            return proof[0];
        }
    }

    function _hashPair(bytes32 a, bytes32 b) private pure returns (bytes32) {
        return a < b ? _efficientHash(a, b) : _efficientHash(b, a);
    }

    function _efficientHash(bytes32 a, bytes32 b) private pure returns (bytes32 value) {
        /// @solidity memory-safe-assembly
        assembly {
            mstore(0x00, a)
            mstore(0x20, b)
            value := keccak256(0x00, 0x40)
        }
    }
}

File 3 of 11 : Ownable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (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 Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        _checkOwner();
        _;
    }

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

    /**
     * @dev Throws if the sender is not the owner.
     */
    function _checkOwner() internal view virtual {
        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 4 of 11 : ERC2981.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (token/common/ERC2981.sol)

pragma solidity ^0.8.0;

import "../../interfaces/IERC2981.sol";
import "../../utils/introspection/ERC165.sol";

/**
 * @dev Implementation of the NFT Royalty Standard, a standardized way to retrieve royalty payment information.
 *
 * Royalty information can be specified globally for all token ids via {_setDefaultRoyalty}, and/or individually for
 * specific token ids via {_setTokenRoyalty}. The latter takes precedence over the first.
 *
 * Royalty is specified as a fraction of sale price. {_feeDenominator} is overridable but defaults to 10000, meaning the
 * fee is specified in basis points by default.
 *
 * IMPORTANT: ERC-2981 only specifies a way to signal royalty information and does not enforce its payment. See
 * https://eips.ethereum.org/EIPS/eip-2981#optional-royalty-payments[Rationale] in the EIP. Marketplaces are expected to
 * voluntarily pay royalties together with sales, but note that this standard is not yet widely supported.
 *
 * _Available since v4.5._
 */
abstract contract ERC2981 is IERC2981, ERC165 {
    struct RoyaltyInfo {
        address receiver;
        uint96 royaltyFraction;
    }

    RoyaltyInfo private _defaultRoyaltyInfo;
    mapping(uint256 => RoyaltyInfo) private _tokenRoyaltyInfo;

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

    /**
     * @inheritdoc IERC2981
     */
    function royaltyInfo(uint256 _tokenId, uint256 _salePrice) public view virtual override returns (address, uint256) {
        RoyaltyInfo memory royalty = _tokenRoyaltyInfo[_tokenId];

        if (royalty.receiver == address(0)) {
            royalty = _defaultRoyaltyInfo;
        }

        uint256 royaltyAmount = (_salePrice * royalty.royaltyFraction) / _feeDenominator();

        return (royalty.receiver, royaltyAmount);
    }

    /**
     * @dev The denominator with which to interpret the fee set in {_setTokenRoyalty} and {_setDefaultRoyalty} as a
     * fraction of the sale price. Defaults to 10000 so fees are expressed in basis points, but may be customized by an
     * override.
     */
    function _feeDenominator() internal pure virtual returns (uint96) {
        return 10000;
    }

    /**
     * @dev Sets the royalty information that all ids in this contract will default to.
     *
     * Requirements:
     *
     * - `receiver` cannot be the zero address.
     * - `feeNumerator` cannot be greater than the fee denominator.
     */
    function _setDefaultRoyalty(address receiver, uint96 feeNumerator) internal virtual {
        require(feeNumerator <= _feeDenominator(), "ERC2981: royalty fee will exceed salePrice");
        require(receiver != address(0), "ERC2981: invalid receiver");

        _defaultRoyaltyInfo = RoyaltyInfo(receiver, feeNumerator);
    }

    /**
     * @dev Removes default royalty information.
     */
    function _deleteDefaultRoyalty() internal virtual {
        delete _defaultRoyaltyInfo;
    }

    /**
     * @dev Sets the royalty information for a specific token id, overriding the global default.
     *
     * Requirements:
     *
     * - `receiver` cannot be the zero address.
     * - `feeNumerator` cannot be greater than the fee denominator.
     */
    function _setTokenRoyalty(
        uint256 tokenId,
        address receiver,
        uint96 feeNumerator
    ) internal virtual {
        require(feeNumerator <= _feeDenominator(), "ERC2981: royalty fee will exceed salePrice");
        require(receiver != address(0), "ERC2981: Invalid parameters");

        _tokenRoyaltyInfo[tokenId] = RoyaltyInfo(receiver, feeNumerator);
    }

    /**
     * @dev Resets royalty information for the token id back to the global default.
     */
    function _resetTokenRoyalty(uint256 tokenId) internal virtual {
        delete _tokenRoyaltyInfo[tokenId];
    }
}

File 5 of 11 : ERC721A.sol
// SPDX-License-Identifier: MIT
// ERC721A Contracts v4.0.0
// Creator: Chiru Labs

pragma solidity ^0.8.4;

import './IERC721A.sol';

/**
 * @dev ERC721 token receiver interface.
 */
interface ERC721A__IERC721Receiver {
    function onERC721Received(
        address operator,
        address from,
        uint256 tokenId,
        bytes calldata data
    ) external returns (bytes4);
}

/**
 * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including
 * the Metadata extension. Built to optimize for lower gas during batch mints.
 *
 * Assumes serials are sequentially minted starting at _startTokenId() (defaults to 0, e.g. 0, 1, 2, 3..).
 *
 * Assumes that an owner cannot have more than 2**64 - 1 (max value of uint64) of supply.
 *
 * Assumes that the maximum token id cannot exceed 2**256 - 1 (max value of uint256).
 */
contract ERC721A is IERC721A {
    event ConsecutiveTransfer(uint256 indexed fromTokenId, uint256 toTokenId, address indexed fromAddress, address indexed toAddress);

    // Mask of an entry in packed address data.
    uint256 private constant BITMASK_ADDRESS_DATA_ENTRY = (1 << 64) - 1;

    // The bit position of `numberMinted` in packed address data.
    uint256 private constant BITPOS_NUMBER_MINTED = 64;

    // The bit position of `numberBurned` in packed address data.
    uint256 private constant BITPOS_NUMBER_BURNED = 128;

    // The bit position of `aux` in packed address data.
    uint256 private constant BITPOS_AUX = 192;

    // Mask of all 256 bits in packed address data except the 64 bits for `aux`.
    uint256 private constant BITMASK_AUX_COMPLEMENT = (1 << 192) - 1;

    // The bit position of `startTimestamp` in packed ownership.
    uint256 private constant BITPOS_START_TIMESTAMP = 160;

    // The bit mask of the `burned` bit in packed ownership.
    uint256 private constant BITMASK_BURNED = 1 << 224;

    // The bit position of the `nextInitialized` bit in packed ownership.
    uint256 private constant BITPOS_NEXT_INITIALIZED = 225;

    // The bit mask of the `nextInitialized` bit in packed ownership.
    uint256 private constant BITMASK_NEXT_INITIALIZED = 1 << 225;

    // The tokenId of the next token to be minted.
    uint256 private _currentIndex;

    // The number of tokens burned.
    uint256 private _burnCounter;

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

    // Mapping from token ID to ownership details
    // An empty struct value does not necessarily mean the token is unowned.
    // See `_packedOwnershipOf` implementation for details.
    //
    // Bits Layout:
    // - [0..159]   `addr`
    // - [160..223] `startTimestamp`
    // - [224]      `burned`
    // - [225]      `nextInitialized`
    mapping(uint256 => uint256) private _packedOwnerships;

    // Mapping owner address to address data.
    //
    // Bits Layout:
    // - [0..63]    `balance`
    // - [64..127]  `numberMinted`
    // - [128..191] `numberBurned`
    // - [192..255] `aux`
    mapping(address => uint256) private _packedAddressData;

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

    constructor(string memory name_, string memory symbol_) {
        _name = name_;
        _symbol = symbol_;
        _currentIndex = _startTokenId();
    }

    /**
     * @dev Returns the starting token ID.
     * To change the starting token ID, please override this function.
     */
    function _startTokenId() internal view virtual returns (uint256) {
        return 0;
    }

    /**
     * @dev Returns the next token ID to be minted.
     */
    function _nextTokenId() internal view returns (uint256) {
        return _currentIndex;
    }

    /**
     * @dev Returns the total number of tokens in existence.
     * Burned tokens will reduce the count.
     * To get the total number of tokens minted, please see `_totalMinted`.
     */
    function totalSupply() public view virtual returns (uint256) {
        // Counter underflow is impossible as _burnCounter cannot be incremented
        // more than `_currentIndex - _startTokenId()` times.
        unchecked {
            return _currentIndex - _burnCounter - _startTokenId();
        }
    }

    /**
     * @dev Returns the total amount of tokens minted in the contract.
     */
    function _totalMinted() internal view returns (uint256) {
        // Counter underflow is impossible as _currentIndex does not decrement,
        // and it is initialized to `_startTokenId()`
        unchecked {
            return _currentIndex - _startTokenId();
        }
    }

    /**
     * @dev Returns the total number of tokens burned.
     */
    function _totalBurned() internal view returns (uint256) {
        return _burnCounter;
    }

    /**
     * @dev See {IERC165-supportsInterface}.
     */
    function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
        // The interface IDs are constants representing the first 4 bytes of the XOR of
        // all function selectors in the interface. See: https://eips.ethereum.org/EIPS/eip-165
        // e.g. `bytes4(i.functionA.selector ^ i.functionB.selector ^ ...)`
        return
            interfaceId == 0x01ffc9a7 || // ERC165 interface ID for ERC165.
            interfaceId == 0x80ac58cd || // ERC165 interface ID for ERC721.
            interfaceId == 0x5b5e139f; // ERC165 interface ID for ERC721Metadata.
    }

    /**
     * @dev See {IERC721-balanceOf}.
     */
    function balanceOf(address owner) public view override returns (uint256) {
        if (_addressToUint256(owner) == 0) revert BalanceQueryForZeroAddress();
        return _packedAddressData[owner] & BITMASK_ADDRESS_DATA_ENTRY;
    }

    /**
     * Returns the number of tokens minted by `owner`.
     */
    function _numberMinted(address owner) internal view returns (uint256) {
        return (_packedAddressData[owner] >> BITPOS_NUMBER_MINTED) & BITMASK_ADDRESS_DATA_ENTRY;
    }

    /**
     * Returns the number of tokens burned by or on behalf of `owner`.
     */
    function _numberBurned(address owner) internal view returns (uint256) {
        return (_packedAddressData[owner] >> BITPOS_NUMBER_BURNED) & BITMASK_ADDRESS_DATA_ENTRY;
    }

    /**
     * Returns the auxillary data for `owner`. (e.g. number of whitelist mint slots used).
     */
    function _getAux(address owner) internal view returns (uint64) {
        return uint64(_packedAddressData[owner] >> BITPOS_AUX);
    }

    /**
     * Sets the auxillary data for `owner`. (e.g. number of whitelist mint slots used).
     * If there are multiple variables, please pack them into a uint64.
     */
    function _setAux(address owner, uint64 aux) internal {
        uint256 packed = _packedAddressData[owner];
        uint256 auxCasted;
        assembly {
            // Cast aux without masking.
            auxCasted := aux
        }
        packed = (packed & BITMASK_AUX_COMPLEMENT) | (auxCasted << BITPOS_AUX);
        _packedAddressData[owner] = packed;
    }

    /**
     * Returns the packed ownership data of `tokenId`.
     */
    function _packedOwnershipOf(uint256 tokenId) private view returns (uint256) {
        uint256 curr = tokenId;

        unchecked {
            if (_startTokenId() <= curr)
                if (curr < _currentIndex) {
                    uint256 packed = _packedOwnerships[curr];
                    // If not burned.
                    if (packed & BITMASK_BURNED == 0) {
                        // Invariant:
                        // There will always be an ownership that has an address and is not burned
                        // before an ownership that does not have an address and is not burned.
                        // Hence, curr will not underflow.
                        //
                        // We can directly compare the packed value.
                        // If the address is zero, packed is zero.
                        while (packed == 0) {
                            packed = _packedOwnerships[--curr];
                        }
                        return packed;
                    }
                }
        }
        revert OwnerQueryForNonexistentToken();
    }

    /**
     * Returns the unpacked `TokenOwnership` struct from `packed`.
     */
    function _unpackedOwnership(uint256 packed) private pure returns (TokenOwnership memory ownership) {
        ownership.addr = address(uint160(packed));
        ownership.startTimestamp = uint64(packed >> BITPOS_START_TIMESTAMP);
        ownership.burned = packed & BITMASK_BURNED != 0;
    }

    /**
     * Returns the unpacked `TokenOwnership` struct at `index`.
     */
    function _ownershipAt(uint256 index) internal view returns (TokenOwnership memory) {
        return _unpackedOwnership(_packedOwnerships[index]);
    }

    /**
     * @dev Initializes the ownership slot minted at `index` for efficiency purposes.
     */
    function _initializeOwnershipAt(uint256 index) internal {
        if (_packedOwnerships[index] == 0) {
            _packedOwnerships[index] = _packedOwnershipOf(index);
        }
    }

    /**
     * Gas spent here starts off proportional to the maximum mint batch size.
     * It gradually moves to O(1) as tokens get transferred around in the collection over time.
     */
    function _ownershipOf(uint256 tokenId) internal view returns (TokenOwnership memory) {
        return _unpackedOwnership(_packedOwnershipOf(tokenId));
    }

    /**
     * @dev See {IERC721-ownerOf}.
     */
    function ownerOf(uint256 tokenId) public view virtual returns (address) {
        return address(uint160(_packedOwnershipOf(tokenId)));
    }

    /**
     * @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) {
        if (!_exists(tokenId)) revert URIQueryForNonexistentToken();

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

    /**
     * @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 Casts the address to uint256 without masking.
     */
    function _addressToUint256(address value) private pure returns (uint256 result) {
        assembly {
            result := value
        }
    }

    /**
     * @dev Casts the boolean to uint256 without branching.
     */
    function _boolToUint256(bool value) private pure returns (uint256 result) {
        assembly {
            result := value
        }
    }

    /**
     * @dev See {IERC721-approve}.
     */
    function approve(address to, uint256 tokenId) public override {
        address owner = address(uint160(_packedOwnershipOf(tokenId)));

        if (_msgSenderERC721A() != owner)
            if (!isApprovedForAll(owner, _msgSenderERC721A())) {
                revert ApprovalCallerNotOwnerNorApproved();
            }

        _tokenApprovals[tokenId] = to;
        emit Approval(owner, to, tokenId);
    }

    /**
     * @dev See {IERC721-getApproved}.
     */
    function getApproved(uint256 tokenId) public view override returns (address) {
        if (!_exists(tokenId)) revert ApprovalQueryForNonexistentToken();

        return _tokenApprovals[tokenId];
    }

    /**
     * @dev See {IERC721-setApprovalForAll}.
     */
    function setApprovalForAll(address operator, bool approved) public virtual override {
        if (operator == _msgSenderERC721A()) revert ApproveToCaller();

        _operatorApprovals[_msgSenderERC721A()][operator] = approved;
        emit ApprovalForAll(_msgSenderERC721A(), 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 {
        _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 {
        _transfer(from, to, tokenId);
        if (to.code.length != 0)
            if (!_checkContractOnERC721Received(from, to, tokenId, _data)) {
                revert TransferToNonERC721ReceiverImplementer();
            }
    }

    /**
     * @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`),
     */
    function _exists(uint256 tokenId) internal view returns (bool) {
        return
            _startTokenId() <= tokenId &&
            tokenId < _currentIndex && // If within bounds,
            _packedOwnerships[tokenId] & BITMASK_BURNED == 0; // and not burned.
    }

    /**
     * @dev Equivalent to `_safeMint(to, quantity, '')`.
     */
    function _safeMint(address to, uint256 quantity) internal {
        _safeMint(to, quantity, '');
    }

    /**
     * @dev Safely mints `quantity` tokens and transfers them to `to`.
     *
     * Requirements:
     *
     * - If `to` refers to a smart contract, it must implement
     *   {IERC721Receiver-onERC721Received}, which is called for each safe transfer.
     * - `quantity` must be greater than 0.
     *
     * Emits a {Transfer} event for each mint.
     */
    function _safeMint(
        address to,
        uint256 quantity,
        bytes memory _data
    ) internal {
        _mint(to, quantity);

        unchecked {
            if (to.code.length != 0) {
                uint256 end = _currentIndex;
                uint256 index = end - quantity;
                do {
                    if (!_checkContractOnERC721Received(address(0), to, index++, _data)) {
                        revert TransferToNonERC721ReceiverImplementer();
                    }
                } while (index < end);
                // Reentrancy protection.
                if (_currentIndex != end) revert();
            }
        }
    }

    /**
     * @dev Mints `quantity` tokens and transfers them to `to`.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - `quantity` must be greater than 0.
     *
     * Emits a {Transfer} event for each mint.
     */
    function _mint(address to, uint256 quantity) internal {
        uint256 startTokenId = _currentIndex;
        if (_addressToUint256(to) == 0) revert MintToZeroAddress();
        if (quantity == 0) revert MintZeroQuantity();

        _beforeTokenTransfers(address(0), to, startTokenId, quantity);

        // Overflows are incredibly unrealistic.
        // balance or numberMinted overflow if current value of either + quantity > 1.8e19 (2**64) - 1
        // updatedIndex overflows if _currentIndex + quantity > 1.2e77 (2**256) - 1
        unchecked {
            // Updates:
            // - `balance += quantity`.
            // - `numberMinted += quantity`.
            //
            // We can directly add to the balance and number minted.
            _packedAddressData[to] += quantity * ((1 << BITPOS_NUMBER_MINTED) | 1);

            // Updates:
            // - `address` to the owner.
            // - `startTimestamp` to the timestamp of minting.
            // - `burned` to `false`.
            // - `nextInitialized` to `quantity == 1`.
            _packedOwnerships[startTokenId] =
                _addressToUint256(to) |
                (block.timestamp << BITPOS_START_TIMESTAMP) |
                (_boolToUint256(quantity == 1) << BITPOS_NEXT_INITIALIZED);
            
            uint256 offset;
            do {
                emit Transfer(address(0), to, startTokenId + offset++);
            } while (offset < quantity);

            _currentIndex = startTokenId + quantity;
        }
        _afterTokenTransfers(address(0), to, startTokenId, quantity);
    }

    /**
     * @dev Transfers `tokenId` from `from` to `to`.
     *
     * 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
    ) private {
        uint256 prevOwnershipPacked = _packedOwnershipOf(tokenId);

        if (address(uint160(prevOwnershipPacked)) != from) revert TransferFromIncorrectOwner();

        address approvedAddress = _tokenApprovals[tokenId];

        bool isApprovedOrOwner = (_msgSenderERC721A() == from ||
            isApprovedForAll(from, _msgSenderERC721A()) ||
            approvedAddress == _msgSenderERC721A());

        if (!isApprovedOrOwner) revert TransferCallerNotOwnerNorApproved();
        if (_addressToUint256(to) == 0) revert TransferToZeroAddress();

        _beforeTokenTransfers(from, to, tokenId, 1);

        // Clear approvals from the previous owner.
        if (_addressToUint256(approvedAddress) != 0) {
            delete _tokenApprovals[tokenId];
        }

        // Underflow of the sender's balance is impossible because we check for
        // ownership above and the recipient's balance can't realistically overflow.
        // Counter overflow is incredibly unrealistic as tokenId would have to be 2**256.
        unchecked {
            // We can directly increment and decrement the balances.
            --_packedAddressData[from]; // Updates: `balance -= 1`.
            ++_packedAddressData[to]; // Updates: `balance += 1`.

            // Updates:
            // - `address` to the next owner.
            // - `startTimestamp` to the timestamp of transfering.
            // - `burned` to `false`.
            // - `nextInitialized` to `true`.
            _packedOwnerships[tokenId] =
                _addressToUint256(to) |
                (block.timestamp << BITPOS_START_TIMESTAMP) |
                BITMASK_NEXT_INITIALIZED;

            // If the next slot may not have been initialized (i.e. `nextInitialized == false`) .
            if (prevOwnershipPacked & BITMASK_NEXT_INITIALIZED == 0) {
                uint256 nextTokenId = tokenId + 1;
                // If the next slot's address is zero and not burned (i.e. packed value is zero).
                if (_packedOwnerships[nextTokenId] == 0) {
                    // If the next slot is within bounds.
                    if (nextTokenId != _currentIndex) {
                        // Initialize the next slot to maintain correctness for `ownerOf(tokenId + 1)`.
                        _packedOwnerships[nextTokenId] = prevOwnershipPacked;
                    }
                }
            }
        }

        emit Transfer(from, to, tokenId);
        _afterTokenTransfers(from, to, tokenId, 1);
    }

    /**
     * @dev Equivalent to `_burn(tokenId, false)`.
     */
    function _burn(uint256 tokenId) internal virtual {
        _burn(tokenId, false);
    }

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

        address from = address(uint160(prevOwnershipPacked));
        address approvedAddress = _tokenApprovals[tokenId];

        if (approvalCheck) {
            bool isApprovedOrOwner = (_msgSenderERC721A() == from ||
                isApprovedForAll(from, _msgSenderERC721A()) ||
                approvedAddress == _msgSenderERC721A());

            if (!isApprovedOrOwner) revert TransferCallerNotOwnerNorApproved();
        }

        _beforeTokenTransfers(from, address(0), tokenId, 1);

        // Clear approvals from the previous owner.
        if (_addressToUint256(approvedAddress) != 0) {
            delete _tokenApprovals[tokenId];
        }

        // Underflow of the sender's balance is impossible because we check for
        // ownership above and the recipient's balance can't realistically overflow.
        // Counter overflow is incredibly unrealistic as tokenId would have to be 2**256.
        unchecked {
            // Updates:
            // - `balance -= 1`.
            // - `numberBurned += 1`.
            //
            // We can directly decrement the balance, and increment the number burned.
            // This is equivalent to `packed -= 1; packed += 1 << BITPOS_NUMBER_BURNED;`.
            _packedAddressData[from] += (1 << BITPOS_NUMBER_BURNED) - 1;

            // Updates:
            // - `address` to the last owner.
            // - `startTimestamp` to the timestamp of burning.
            // - `burned` to `true`.
            // - `nextInitialized` to `true`.
            _packedOwnerships[tokenId] =
                _addressToUint256(from) |
                (block.timestamp << BITPOS_START_TIMESTAMP) |
                BITMASK_BURNED |
                BITMASK_NEXT_INITIALIZED;

            // If the next slot may not have been initialized (i.e. `nextInitialized == false`) .
            if (prevOwnershipPacked & BITMASK_NEXT_INITIALIZED == 0) {
                uint256 nextTokenId = tokenId + 1;
                // If the next slot's address is zero and not burned (i.e. packed value is zero).
                if (_packedOwnerships[nextTokenId] == 0) {
                    // If the next slot is within bounds.
                    if (nextTokenId != _currentIndex) {
                        // Initialize the next slot to maintain correctness for `ownerOf(tokenId + 1)`.
                        _packedOwnerships[nextTokenId] = prevOwnershipPacked;
                    }
                }
            }
        }

        emit Transfer(from, address(0), tokenId);
        _afterTokenTransfers(from, address(0), tokenId, 1);

        // Overflow not possible, as _burnCounter cannot be exceed _currentIndex times.
        unchecked {
            _burnCounter++;
        }
    }

    /**
     * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target 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 _checkContractOnERC721Received(
        address from,
        address to,
        uint256 tokenId,
        bytes memory _data
    ) private returns (bool) {
        try ERC721A__IERC721Receiver(to).onERC721Received(_msgSenderERC721A(), from, tokenId, _data) returns (
            bytes4 retval
        ) {
            return retval == ERC721A__IERC721Receiver(to).onERC721Received.selector;
        } catch (bytes memory reason) {
            if (reason.length == 0) {
                revert TransferToNonERC721ReceiverImplementer();
            } else {
                assembly {
                    revert(add(32, reason), mload(reason))
                }
            }
        }
    }

    /**
     * @dev Hook that is called before a set of serially-ordered token ids are about to be transferred. This includes minting.
     * And also called before burning one token.
     *
     * startTokenId - the first token id to be transferred
     * quantity - the amount to be transferred
     *
     * 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, `tokenId` will be burned by `from`.
     * - `from` and `to` are never both zero.
     */
    function _beforeTokenTransfers(
        address from,
        address to,
        uint256 startTokenId,
        uint256 quantity
    ) internal virtual {}

    /**
     * @dev Hook that is called after a set of serially-ordered token ids have been transferred. This includes
     * minting.
     * And also called after one token has been burned.
     *
     * startTokenId - the first token id to be transferred
     * quantity - the amount to be transferred
     *
     * Calling conditions:
     *
     * - When `from` and `to` are both non-zero, `from`'s `tokenId` has been
     * transferred to `to`.
     * - When `from` is zero, `tokenId` has been minted for `to`.
     * - When `to` is zero, `tokenId` has been burned by `from`.
     * - `from` and `to` are never both zero.
     */
    function _afterTokenTransfers(
        address from,
        address to,
        uint256 startTokenId,
        uint256 quantity
    ) internal virtual {}

    /**
     * @dev Returns the message sender (defaults to `msg.sender`).
     *
     * If you are writing GSN compatible contracts, you need to override this function.
     */
    function _msgSenderERC721A() internal view virtual returns (address) {
        return msg.sender;
    }

    /**
     * @dev Converts a `uint256` to its ASCII `string` decimal representation.
     */
    function _toString(uint256 value) internal pure returns (string memory ptr) {
        assembly {
            // The maximum value of a uint256 contains 78 digits (1 byte per digit),
            // but we allocate 128 bytes to keep the free memory pointer 32-byte word aliged.
            // We will need 1 32-byte word to store the length,
            // and 3 32-byte words to store a maximum of 78 digits. Total: 32 + 3 * 32 = 128.
            ptr := add(mload(0x40), 128)
            // Update the free memory pointer to allocate.
            mstore(0x40, ptr)

            // Cache the end of the memory to calculate the length later.
            let end := ptr

            // We write the string from the rightmost digit to the leftmost digit.
            // The following is essentially a do-while loop that also handles the zero case.
            // Costs a bit more than early returning for the zero case,
            // but cheaper in terms of deployment and overall runtime costs.
            for {
                // Initialize and perform the first pass without check.
                let temp := value
                // Move the pointer 1 byte leftwards to point to an empty character slot.
                ptr := sub(ptr, 1)
                // Write the character to the pointer. 48 is the ASCII index of '0'.
                mstore8(ptr, add(48, mod(temp, 10)))
                temp := div(temp, 10)
            } temp {
                // Keep dividing `temp` until zero.
                temp := div(temp, 10)
            } {
                // Body of the for loop.
                ptr := sub(ptr, 1)
                mstore8(ptr, add(48, mod(temp, 10)))
            }

            let length := sub(end, ptr)
            // Move the pointer 32 bytes leftwards to make room for the length.
            ptr := sub(ptr, 32)
            // Store the length.
            mstore(ptr, length)
        }
    }
}

File 6 of 11 : IERC721A.sol
// SPDX-License-Identifier: MIT
// ERC721A Contracts v4.0.0
// Creator: Chiru Labs

pragma solidity ^0.8.4;

import "@openzeppelin/contracts/token/ERC721/IERC721.sol";

/**
 * @dev Interface of an ERC721A compliant contract.
 */
interface IERC721A is IERC721 {
    /**
     * The caller must own the token or be an approved operator.
     */
    error ApprovalCallerNotOwnerNorApproved();

    /**
     * The token does not exist.
     */
    error ApprovalQueryForNonexistentToken();

    /**
     * The caller cannot approve to their own address.
     */
    error ApproveToCaller();

    /**
     * Cannot query the balance for the zero address.
     */
    error BalanceQueryForZeroAddress();

    /**
     * Cannot mint to the zero address.
     */
    error MintToZeroAddress();

    /**
     * The quantity of tokens minted must be more than zero.
     */
    error MintZeroQuantity();

    /**
     * The token does not exist.
     */
    error OwnerQueryForNonexistentToken();

    /**
     * The caller must own the token or be an approved operator.
     */
    error TransferCallerNotOwnerNorApproved();

    /**
     * The token must be owned by `from`.
     */
    error TransferFromIncorrectOwner();

    /**
     * Cannot safely transfer to a contract that does not implement the ERC721Receiver interface.
     */
    error TransferToNonERC721ReceiverImplementer();

    /**
     * Cannot transfer to the zero address.
     */
    error TransferToZeroAddress();

    /**
     * The token does not exist.
     */
    error URIQueryForNonexistentToken();

    struct TokenOwnership {
        // The address of the owner.
        address addr;
        // Keeps track of the start time of ownership with minimal overhead for tokenomics.
        uint64 startTimestamp;
        // Whether the token has been burned.
        bool burned;
    }

    /**
     * @dev Returns the total amount of tokens stored by the contract.
     *
     * Burned tokens are calculated here, use `_totalMinted()` if you want to count just minted tokens.
     */
    function totalSupply() external view returns (uint256);

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

    // ==============================
    //            IERC721
    // ==============================

    /**
     * @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`.
     *
     * 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;

    /**
     * @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 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 the account approved for `tokenId` token.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function getApproved(uint256 tokenId) external view returns (address operator);

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

    // ==============================
    //        IERC721Metadata
    // ==============================

    /**
     * @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 11 : 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 8 of 11 : IERC2981.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.0) (interfaces/IERC2981.sol)

pragma solidity ^0.8.0;

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

/**
 * @dev Interface for the NFT Royalty Standard.
 *
 * A standardized way to retrieve royalty payment information for non-fungible tokens (NFTs) to enable universal
 * support for royalty payments across all NFT marketplaces and ecosystem participants.
 *
 * _Available since v4.5._
 */
interface IERC2981 is IERC165 {
    /**
     * @dev Returns how much royalty is owed and to whom, based on a sale price that may be denominated in any unit of
     * exchange. The royalty amount is denominated and should be paid in that same unit of exchange.
     */
    function royaltyInfo(uint256 tokenId, uint256 salePrice)
        external
        view
        returns (address receiver, uint256 royaltyAmount);
}

File 9 of 11 : 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 10 of 11 : IERC721.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (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`.
     *
     * 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;

    /**
     * @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 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 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 the account approved for `tokenId` token.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function getApproved(uint256 tokenId) external view returns (address operator);

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

File 11 of 11 : 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);
}

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

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"ApproveToCaller","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"TransferCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"TransferFromIncorrectOwner","type":"error"},{"inputs":[],"name":"TransferToNonERC721ReceiverImplementer","type":"error"},{"inputs":[],"name":"TransferToZeroAddress","type":"error"},{"inputs":[],"name":"URIQueryForNonexistentToken","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"fromTokenId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"toTokenId","type":"uint256"},{"indexed":true,"internalType":"address","name":"fromAddress","type":"address"},{"indexed":true,"internalType":"address","name":"toAddress","type":"address"}],"name":"ConsecutiveTransfer","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"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"string","name":"value","type":"string"},{"indexed":false,"internalType":"uint256","name":"id","type":"uint256"}],"name":"URI","type":"event"},{"inputs":[{"internalType":"uint256","name":"tokenID","type":"uint256"},{"internalType":"address","name":"listenerAddress","type":"address"}],"name":"addCustomListener","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenID","type":"uint256"}],"name":"clearCustomEndpoints","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenID","type":"uint256"}],"name":"clearCustomVisualizer","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"contractURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"defaultJSONAPI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"defaultWebsocketAPI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"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":"luftDropReserve","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"merkleRoot","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"quantity","type":"uint256"},{"internalType":"uint256","name":"maxAllowed","type":"uint256"},{"internalType":"bytes32[]","name":"merkleProof","type":"bytes32[]"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"mintForCreator","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"quantity","type":"uint256"}],"name":"mintForLuftballons","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"mintStart","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"mintStatus","outputs":[{"internalType":"uint256","name":"status","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pauseMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"pricePerMint","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenID","type":"uint256"},{"internalType":"uint256","name":"listenerIndex","type":"uint256"}],"name":"removeCustomListener","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"},{"internalType":"uint256","name":"_salePrice","type":"uint256"}],"name":"royaltyInfo","outputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"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":"uint256","name":"timestamp","type":"uint256"}],"name":"setAllowlistStart","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenID","type":"uint256"},{"internalType":"string","name":"websocketEndpoint","type":"string"},{"internalType":"string","name":"jsonRPCEndpoint","type":"string"}],"name":"setCustomEndpoints","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenID","type":"uint256"},{"internalType":"string","name":"fragmentShaderSrc","type":"string"},{"internalType":"string","name":"visualizerName","type":"string"}],"name":"setCustomVisualizer","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"websocketEndpoint","type":"string"},{"internalType":"string","name":"jsonRPCEndpoint","type":"string"}],"name":"setDefaultEndpoints","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint96","name":"basisPoints","type":"uint96"}],"name":"setDefaultRoyalty","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_merkleRoot","type":"uint256"}],"name":"setMerkleRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"startPublicMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"}],"name":"tokenIdToCustomListeners","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"tokenIdToCustomVisualizer","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"tokenIdToCustomVisualizerName","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"tokenIdToData","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"tokenToJSONEndpoint","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"tokenToWebsocketEndpoint","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":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"leaf","type":"bytes32"},{"internalType":"bytes32[]","name":"merkleProof","type":"bytes32[]"}],"name":"verifyMerkleProof","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"}]

6037600b556363139620600c557ff06cba1cd6a5081e50548eaee72700c4f3d4ac4fd836a3004826e66c55bc4cd7600d5560e060405260236080818152906200474e60a03980516200005a91600e91602090910190620002c2565b50604051806060016040528060238152602001620033ae6023913980516200008b91600f91602090910190620002c2565b50604051806113a0016040528061137d8152602001620033d161137d91398051620000bf91601891602090910190620002c2565b50348015620000cd57600080fd5b50604080518082018252600c81526b417564696f47656e6573697360a01b602080830191825283518085019094526002845261414760f01b9084015281519192916200011c91600491620002c2565b50805162000132906005906020840190620002c2565b505060016002555062000145336200016b565b620001656200015c600a546001600160a01b031690565b6102ee620001bd565b620003a5565b600a80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6127106001600160601b0382161115620002315760405162461bcd60e51b815260206004820152602a60248201527f455243323938313a20726f79616c7479206665652077696c6c206578636565646044820152692073616c65507269636560b01b60648201526084015b60405180910390fd5b6001600160a01b038216620002895760405162461bcd60e51b815260206004820152601960248201527f455243323938313a20696e76616c696420726563656976657200000000000000604482015260640162000228565b604080518082019091526001600160a01b039092168083526001600160601b039091166020909201829052600160a01b90910217600055565b828054620002d09062000368565b90600052602060002090601f016020900481019282620002f457600085556200033f565b82601f106200030f57805160ff19168380011785556200033f565b828001600101855582156200033f579182015b828111156200033f57825182559160200191906001019062000322565b506200034d92915062000351565b5090565b5b808211156200034d576000815560010162000352565b600181811c908216806200037d57607f821691505b602082108114156200039f57634e487b7160e01b600052602260045260246000fd5b50919050565b612ff980620003b56000396000f3fe60806040526004361061023e5760003560e01c80638da5cb5b116101355780638da5cb5b146105635780638f744dc81461057857806395d89b411461059857806398b8604d146105ad5780639da3f8fd146105cd578063a22cb465146105e2578063adec851c14610602578063b0ee213a14610622578063b6cb209314610638578063b88d4fde14610658578063bd62d29a14610678578063c5610a2914610698578063c87b56dd146106b4578063cd85cdb5146106d4578063cf15ec07146106e9578063d1beb86d14610709578063d5abeb0114610729578063d6948b751461073f578063e5dd533b1461075f578063e6d37b881461077f578063e8a3d48514610792578063e8e05099146107a7578063e985e9c5146107c7578063f2fde38b14610810578063ff6f11871461083057600080fd5b806301ffc9a71461024357806306fdde0314610278578063081812fc1461029a578063095ea7b3146102d257806316413515146102f457806318160ddd1461032f5780631a741b8a1461034457806323b872dd14610359578063255e4685146103795780632a55205a1461038f5780632b238e1b146103ce5780632eb4a7ab146103ee578063318f81d71461040457806336207d361461042457806342842e0e1461044457806348a9adc1146104645780634c1fbb751461048457806351d40948146104a45780635d5e8875146104c45780636352211e146104e457806370a0823114610504578063715018a61461052457806372d4f15c1461053957806376c64c621461054e575b600080fd5b34801561024f57600080fd5b5061026361025e3660046125cf565b610845565b60405190151581526020015b60405180910390f35b34801561028457600080fd5b5061028d610865565b60405161026f9190612644565b3480156102a657600080fd5b506102ba6102b5366004612657565b6108f7565b6040516001600160a01b03909116815260200161026f565b3480156102de57600080fd5b506102f26102ed36600461268c565b61093b565b005b34801561030057600080fd5b5061032161030f366004612657565b60146020526000908152604090205481565b60405190815260200161026f565b34801561033b57600080fd5b506103216109db565b34801561035057600080fd5b5061028d6109e9565b34801561036557600080fd5b506102f26103743660046126b6565b610a77565b34801561038557600080fd5b50610321600c5481565b34801561039b57600080fd5b506103af6103aa3660046126f2565b610a87565b604080516001600160a01b03909316835260208301919091520161026f565b3480156103da57600080fd5b506102f26103e9366004612657565b610b33565b3480156103fa57600080fd5b50610321600d5481565b34801561041057600080fd5b506102f261041f366004612657565b610b40565b34801561043057600080fd5b506102f261043f3660046126f2565b610bfb565b34801561045057600080fd5b506102f261045f3660046126b6565b610d2d565b34801561047057600080fd5b506102f261047f366004612657565b610d48565b34801561049057600080fd5b5061028d61049f366004612657565b610dd6565b3480156104b057600080fd5b5061028d6104bf366004612657565b610def565b3480156104d057600080fd5b506102f26104df366004612657565b610e08565b3480156104f057600080fd5b506102ba6104ff366004612657565b610e15565b34801561051057600080fd5b5061032161051f366004612714565b610e20565b34801561053057600080fd5b506102f2610e65565b34801561054557600080fd5b506102f2610e79565b34801561055a57600080fd5b506102f2610ef9565b34801561056f57600080fd5b506102ba610f0e565b34801561058457600080fd5b506102f26105933660046127fa565b610f1d565b3480156105a457600080fd5b5061028d610f9b565b3480156105b957600080fd5b506102f26105c8366004612657565b610faa565b3480156105d957600080fd5b50610321610ffb565b3480156105ee57600080fd5b506102f26105fd366004612866565b611082565b34801561060e57600080fd5b506102f261061d3660046127fa565b611118565b34801561062e57600080fd5b50610321600b5481565b34801561064457600080fd5b5061028d610653366004612657565b6111ae565b34801561066457600080fd5b506102f26106733660046128a2565b6111c7565b34801561068457600080fd5b506102f261069336600461291d565b61120b565b3480156106a457600080fd5b5061032167016345785d8a000081565b3480156106c057600080fd5b5061028d6106cf366004612657565b611283565b3480156106e057600080fd5b506102f26113ba565b3480156106f557600080fd5b5061028d610704366004612657565b6113cf565b34801561071557600080fd5b506102f2610724366004612949565b6113e8565b34801561073557600080fd5b5061032161022b81565b34801561074b57600080fd5b506102f261075a3660046129ac565b611417565b34801561076b57600080fd5b506102ba61077a3660046126f2565b611430565b6102f261078d366004612a54565b611468565b34801561079e57600080fd5b5061028d6116f9565b3480156107b357600080fd5b506102636107c2366004612a99565b611708565b3480156107d357600080fd5b506102636107e2366004612ad5565b6001600160a01b03918216600090815260096020908152604080832093909416825291909152205460ff1690565b34801561081c57600080fd5b506102f261082b366004612714565b61171e565b34801561083c57600080fd5b5061028d611794565b6000610850826117a1565b8061085f575061085f826117d6565b92915050565b60606004805461087490612aff565b80601f01602080910402602001604051908101604052809291908181526020018280546108a090612aff565b80156108ed5780601f106108c2576101008083540402835291602001916108ed565b820191906000526020600020905b8154815290600101906020018083116108d057829003601f168201915b5050505050905090565b600061090282611824565b61091f576040516333d1c03960e21b815260040160405180910390fd5b506000908152600860205260409020546001600160a01b031690565b600061094682611859565b9050336001600160a01b0382161461097f5761096281336107e2565b61097f576040516367d9dca160e11b815260040160405180910390fd5b60008281526008602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b600354600254036000190190565b600e80546109f690612aff565b80601f0160208091040260200160405190810160405280929190818152602001828054610a2290612aff565b8015610a6f5780601f10610a4457610100808354040283529160200191610a6f565b820191906000526020600020905b815481529060010190602001808311610a5257829003601f168201915b505050505081565b610a828383836118c2565b505050565b60008281526001602090815260408083208151808301909252546001600160a01b038116808352600160a01b9091046001600160601b0316928201929092528291610afc5750604080518082019091526000546001600160a01b0381168252600160a01b90046001600160601b031660208201525b602081015160009061271090610b1b906001600160601b031687612b50565b610b259190612b85565b915196919550909350505050565b610b3b611a72565b600c55565b610b48611a72565b80600b5410610b6e5780600b6000828254610b639190612b99565b90915550610b749050565b6000600b555b61022b600182610b826109db565b610b8c9190612bb0565b610b969190612b99565b10610bbc5760405162461bcd60e51b8152600401610bb390612bc8565b60405180910390fd5b610bda8173356e1363897033759181727e4bff12396c51a7e0611ad1565b610bf873356e1363897033759181727e4bff12396c51a7e08261204e565b50565b610c0482610e15565b6001600160a01b0316336001600160a01b031614610c345760405162461bcd60e51b8152600401610bb390612bec565b600082815260156020526040902054808210610c4f57600080fd5b6001811115610ce9576000838152601560205260409020610c71600183612b99565b81548110610c8157610c81612c0f565b60009182526020808320909101548583526015909152604090912080546001600160a01b039092169184908110610cba57610cba612c0f565b9060005260206000200160006101000a8154816001600160a01b0302191690836001600160a01b031602179055505b6000838152601560205260409020805480610d0657610d06612c25565b600082815260209020810160001990810180546001600160a01b0319169055019055505050565b610a82838383604051806020016040528060008152506111c7565b610d5181610e15565b6001600160a01b0316336001600160a01b031614610d815760405162461bcd60e51b8152600401610bb390612bec565b604080516020808201808452600080845285815260169092529290209051610da99290612520565b50604080516020808201808452600080845285815260179092529290209051610dd29290612520565b5050565b601260205260009081526040902080546109f690612aff565b601360205260009081526040902080546109f690612aff565b610e10611a72565b600d55565b600061085f82611859565b600081610e40576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b03166000908152600760205260409020546001600160401b031690565b610e6d611a72565b610e776000612068565b565b610e81611a72565b610e9e732ddb405238368695f34d30a80ab60c449aa5ce486120ba565b15610ebb5760405162461bcd60e51b8152600401610bb390612c3b565b610eda6005732ddb405238368695f34d30a80ab60c449aa5ce48611ad1565b610e77732ddb405238368695f34d30a80ab60c449aa5ce48600561204e565b610f01611a72565b610b3b6201518042612b99565b600a546001600160a01b031690565b610f2683610e15565b6001600160a01b0316336001600160a01b031614610f565760405162461bcd60e51b8152600401610bb390612bec565b60008381526016602090815260409091208351610f7592850190612520565b5060008381526017602090815260409091208251610f9592840190612520565b50505050565b60606005805461087490612aff565b610fb381610e15565b6001600160a01b0316336001600160a01b031614610fe35760405162461bcd60e51b8152600401610bb390612bec565b6000908152601160205260409020805460ff19169055565b6000600b5461022b61100d9190612b99565b6110156109db565b1061102d5761102661030082612bb0565b905061106a565b42600c546201518061103f9190612bb0565b10156110515761102661020082612bb0565b42600c54101561106a5761106761010082612bb0565b90505b611073336120ba565b61107d9082612bb0565b905090565b6001600160a01b0382163314156110ac5760405163b06307db60e01b815260040160405180910390fd5b3360008181526009602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b61112183610e15565b6001600160a01b0316336001600160a01b0316146111515760405162461bcd60e51b8152600401610bb390612bec565b6000838152601260209081526040909120835161117092850190612520565b506000838152601360209081526040909120825161119092840190612520565b5050506000908152601160205260409020805460ff19166001179055565b601660205260009081526040902080546109f690612aff565b6111d28484846118c2565b6001600160a01b0383163b15610f95576111ee848484846120e2565b610f95576040516368d2bf6b60e11b815260040160405180910390fd5b61121482610e15565b6001600160a01b0316336001600160a01b0316146112445760405162461bcd60e51b8152600401610bb390612bec565b600091825260156020908152604083208054600181018255908452922090910180546001600160a01b0319166001600160a01b03909216919091179055565b60008181526011602052604090205460609060ff161561135257600082815260126020908152604080832060138352818420601584528285206016855283862060178652848720601490965295849020549351631db3b92f60e21b815273ee4b4275fa10e51c64081143282b4933d3c6b788966376cee4bc9661130d969192909190600401612d03565b600060405180830381865afa15801561132a573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261085f9190810190612da8565b60008281526015602090815260408083206016835281842060178452828520601490945293829020549151631db3b92f60e21b815273ee4b4275fa10e51c64081143282b4933d3c6b788946376cee4bc9461130d94600e94600f949093929190600401612d03565b6113c2611a72565b6001600160801b03600c55565b601760205260009081526040902080546109f690612aff565b6113f0611a72565b805161140390600f906020840190612520565b508151610a8290600e906020850190612520565b61141f611a72565b610bf861142a610f0e565b826121ca565b6015602052816000526040600020818154811061144c57600080fd5b6000918252602090912001546001600160a01b03169150829050565b3332146114ab5760405162461bcd60e51b81526020600482015260116024820152704e4f5f434f4e54524143545f4d494e545360781b6044820152606401610bb3565b600b546114ba9061022b612b99565b6001846114c56109db565b6114cf9190612bb0565b6114d99190612b99565b106114f65760405162461bcd60e51b8152600401610bb390612bc8565b6115088367016345785d8a0000612b50565b341461154a5760405162461bcd60e51b8152602060048201526011602482015270125390d3d4949150d517d4105653515395607a1b6044820152606401610bb3565b42600c54106115895760405162461bcd60e51b815260206004820152600b60248201526a4e4f545f4d494e54494e4760a81b6044820152606401610bb3565b42600c546201518061159b9190612bb0565b10156115ec576115aa336120ba565b156115c75760405162461bcd60e51b8152600401610bb390612c3b565b826001146115e75760405162461bcd60e51b8152600401610bb390612e1e565b6116a5565b6115f5336120ba565b6115ff9084612bb0565b82101561161e5760405162461bcd60e51b8152600401610bb390612e1e565b6000823360405160200161164992919091825260601b6001600160601b031916602082015260340190565b60405160208183030381529060405280519060200120905061166b8183611708565b6116a35760405162461bcd60e51b81526020600482015260096024820152682120a22fa82927a7a360b91b6044820152606401610bb3565b505b6116af8333611ad1565b6116b9338461204e565b6116c1610f0e565b6001600160a01b03166108fc349081150290604051600060405180830381858888f19350505050158015610f95573d6000803e3d6000fd5b60606018805461087490612aff565b600061171782600d54856122c3565b9392505050565b611726611a72565b6001600160a01b03811661178b5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610bb3565b610bf881612068565b600f80546109f690612aff565b60006001600160e01b0319821663152a902d60e11b148061085f57506301ffc9a760e01b6001600160e01b031983161461085f565b60006301ffc9a760e01b6001600160e01b03198316148061180757506380ac58cd60e01b6001600160e01b03198316145b8061085f5750506001600160e01b031916635b5e139f60e01b1490565b600081600111158015611838575060025482105b801561085f575050600090815260066020526040902054600160e01b161590565b600081806001116118a9576002548110156118a957600081815260066020526040902054600160e01b81166118a7575b80611717575060001901600081815260066020526040902054611889565b505b604051636f96cda160e11b815260040160405180910390fd5b60006118cd82611859565b9050836001600160a01b0316816001600160a01b0316146119005760405162a1148160e81b815260040160405180910390fd5b6000828152600860205260408120546001600160a01b0390811691908616331480611930575061193086336107e2565b8061194357506001600160a01b03821633145b90508061196357604051632ce44b5f60e11b815260040160405180910390fd5b8461198157604051633a954ecd60e21b815260040160405180910390fd5b81156119a457600084815260086020526040902080546001600160a01b03191690555b6001600160a01b03868116600090815260076020908152604080832080546000190190559288168252828220805460010190558682526006905220600160e11b4260a01b871781179091558316611a295760018401600081815260066020526040902054611a27576002548114611a275760008181526006602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050505050565b33611a7b610f0e565b6001600160a01b031614610e775760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610bb3565b6000611adc60025490565b90506000611aeb600143612b99565b60408051914060208301526001600160601b0319606086901b1690820152605481018390526074016040516020818303038152906040528051906020012060001c90505b83611b3960025490565b611b439190612bb0565b821015610f95576000611b8c827b0101054b64c864644b4b4b191919190a0a0a0a0a0a0505050503db19780305070b0a1113171d1f25292b2f353b3d4347494f535961656122d9565b60408051602080820195909552815180820386018152908201909152805193019290922091176008611bce8368010103030201000b066501020406080c6122d9565b901b8117905081604051602001611be791815260200190565b60408051601f19818403018152919052805160209091012091506010611c0e600684612e47565b901b8117905081604051602001611c2791815260200190565b6040516020818303038152906040528051906020012060001c91506018611c60836907060504030201001c0766070605040302016122d9565b901b8117905081604051602001611c7991815260200190565b60408051601f1981840301815291905280516020918201209250611caf836907060504030201001c0766070605040302016122d9565b901b8117905081604051602001611cc891815260200190565b6040516020818303038152906040528051906020012060001c91506028611d0183690102030403020100100766060504030201006122d9565b901b8117905081604051602001611d1a91815260200190565b60408051601f19818403018152919052805160209091012091506030611d41603284612e47565b901b8117905081604051602001611d5a91815260200190565b6040516020818303038152906040528051906020012060001c91506038611d93836902051e1e1e140a007f0766643219140f0a056122d9565b901b8117905081604051602001611dac91815260200190565b6040516020818303038152906040528051906020012060001c915060406103e860026103e885611ddc9190612e47565b611de69190612f3f565b611df09190612b85565b611dfb906002612b50565b901b8117905081604051602001611e1491815260200190565b60408051601f19818403018152919052805160209091012091506050620f42406003611e426103e886612e47565b611e4c9190612f3f565b611e569190612b85565b611e6190600a612b50565b611e6d906101f4612bb0565b901b8117905081604051602001611e8691815260200190565b60408051601f19818403018152919052805160209091012091506060611ead600584612e47565b901b8117905081604051602001611ec691815260200190565b60408051601f19818403018152919052805160209091012091506068611eed600484612e47565b901b8117905081604051602001611f0691815260200190565b6040516020818303038152906040528051906020012060001c91506070611f49836e020202050a0a0505050a0a0a004c0c6b0b0a090807060504030201006122d9565b901b8117905081604051602001611f6291815260200190565b6040516020818303038152906040528051906020012060001c91506078611f9d836a0505050a0a0a0a0a0041086707060504030201006122d9565b901b8117905081604051602001611fb691815260200190565b6040516020818303038152906040528051906020012060001c91506080611fef83690102020105030a00180766060504030201006122d9565b901b811790508160405160200161200891815260200190565b60408051601f198184030181529181528151602092830120600086815260149093529120608885901b929092179182905591508261204581612f4e565b93505050611b2f565b610dd2828260405180602001604052806000815250612367565b600a80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b03166000908152600760205260409081902054901c6001600160401b031690565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a0290612117903390899088908890600401612f69565b6020604051808303816000875af1925050508015612152575060408051601f3d908101601f1916820190925261214f91810190612fa6565b60015b6121ad573d808015612180576040519150601f19603f3d011682016040523d82523d6000602084013e612185565b606091505b5080516121a5576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050949350505050565b6127106001600160601b03821611156122385760405162461bcd60e51b815260206004820152602a60248201527f455243323938313a20726f79616c7479206665652077696c6c206578636565646044820152692073616c65507269636560b01b6064820152608401610bb3565b6001600160a01b03821661228a5760405162461bcd60e51b815260206004820152601960248201527822a921991c9c189d1034b73b30b634b2103932b1b2b4bb32b960391b6044820152606401610bb3565b604080518082019091526001600160a01b039092168083526001600160601b039091166020909201829052600160a01b90910217600055565b6000826122d085846123d4565b14949350505050565b600060ff831661ffff600885901c16826122f38288612e47565b90506000805b8481101561235b5761230c816008612b50565b612317906018612bb0565b88901c60ff16826123289190612bb0565b91508183116123495761233c816008612b50565b87901c60ff16955061235b565b8061235381612f4e565b9150506122f9565b50505050509392505050565b6123718383612421565b6001600160a01b0383163b15610a82576002548281035b61239b60008683806001019450866120e2565b6123b8576040516368d2bf6b60e11b815260040160405180910390fd5b8181106123885781600254146123cd57600080fd5b5050505050565b600081815b845181101561241957612405828683815181106123f8576123f8612c0f565b60200260200101516124f1565b91508061241181612f4e565b9150506123d9565b509392505050565b6002548261244157604051622e076360e81b815260040160405180910390fd5b8161245f5760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b038316600090815260076020908152604080832080546001600160401b018702019055838352600690915281204260a01b85176001851460e11b1790555b60405160018201918301906001600160a01b038616906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a48281106124a457500160025550565b600081831061250d576000828152602084905260409020611717565b6000838152602083905260409020611717565b82805461252c90612aff565b90600052602060002090601f01602090048101928261254e5760008555612594565b82601f1061256757805160ff1916838001178555612594565b82800160010185558215612594579182015b82811115612594578251825591602001919060010190612579565b506125a09291506125a4565b5090565b5b808211156125a057600081556001016125a5565b6001600160e01b031981168114610bf857600080fd5b6000602082840312156125e157600080fd5b8135611717816125b9565b60005b838110156126075781810151838201526020016125ef565b83811115610f955750506000910152565b600081518084526126308160208601602086016125ec565b601f01601f19169290920160200192915050565b6020815260006117176020830184612618565b60006020828403121561266957600080fd5b5035919050565b80356001600160a01b038116811461268757600080fd5b919050565b6000806040838503121561269f57600080fd5b6126a883612670565b946020939093013593505050565b6000806000606084860312156126cb57600080fd5b6126d484612670565b92506126e260208501612670565b9150604084013590509250925092565b6000806040838503121561270557600080fd5b50508035926020909101359150565b60006020828403121561272657600080fd5b61171782612670565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f191681016001600160401b038111828210171561276d5761276d61272f565b604052919050565b60006001600160401b0382111561278e5761278e61272f565b50601f01601f191660200190565b60006127af6127aa84612775565b612745565b90508281528383830111156127c357600080fd5b828260208301376000602084830101529392505050565b600082601f8301126127eb57600080fd5b6117178383356020850161279c565b60008060006060848603121561280f57600080fd5b8335925060208401356001600160401b038082111561282d57600080fd5b612839878388016127da565b9350604086013591508082111561284f57600080fd5b5061285c868287016127da565b9150509250925092565b6000806040838503121561287957600080fd5b61288283612670565b91506020830135801515811461289757600080fd5b809150509250929050565b600080600080608085870312156128b857600080fd5b6128c185612670565b93506128cf60208601612670565b92506040850135915060608501356001600160401b038111156128f157600080fd5b8501601f8101871361290257600080fd5b6129118782356020840161279c565b91505092959194509250565b6000806040838503121561293057600080fd5b8235915061294060208401612670565b90509250929050565b6000806040838503121561295c57600080fd5b82356001600160401b038082111561297357600080fd5b61297f868387016127da565b9350602085013591508082111561299557600080fd5b506129a2858286016127da565b9150509250929050565b6000602082840312156129be57600080fd5b81356001600160601b038116811461171757600080fd5b600082601f8301126129e657600080fd5b813560206001600160401b03821115612a0157612a0161272f565b8160051b612a10828201612745565b9283528481018201928281019087851115612a2a57600080fd5b83870192505b84831015612a4957823582529183019190830190612a30565b979650505050505050565b600080600060608486031215612a6957600080fd5b833592506020840135915060408401356001600160401b03811115612a8d57600080fd5b61285c868287016129d5565b60008060408385031215612aac57600080fd5b8235915060208301356001600160401b03811115612ac957600080fd5b6129a2858286016129d5565b60008060408385031215612ae857600080fd5b612af183612670565b915061294060208401612670565b600181811c90821680612b1357607f821691505b60208210811415612b3457634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b6000816000190483118215151615612b6a57612b6a612b3a565b500290565b634e487b7160e01b600052601260045260246000fd5b600082612b9457612b94612b6f565b500490565b600082821015612bab57612bab612b3a565b500390565b60008219821115612bc357612bc3612b3a565b500190565b6020808252600a908201526913525395115117d3d55560b21b604082015260600190565b6020808252600990820152684e4f545f594f55525360b81b604082015260600190565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052603160045260246000fd5b6020808252600e908201526d1053149150511657d3525395115160921b604082015260600190565b8054600090600181811c9080831680612c7d57607f831692505b6020808410821415612c9f57634e487b7160e01b600052602260045260246000fd5b83885260208801828015612cba5760018114612ccb57612cf6565b60ff19871682528282019750612cf6565b60008981526020902060005b87811015612cf057815484820152908601908401612cd7565b83019850505b5050505050505092915050565b60c081526000612d1660c0830189612c63565b602083820381850152612d29828a612c63565b8481036040860152885480825260008a81528381209450918301915b81811015612d6a5784546001600160a01b031683526001948501949284019201612d45565b50508481036060860152612d7e8189612c63565b925050508281036080840152612d948186612c63565b9150508260a0830152979650505050505050565b600060208284031215612dba57600080fd5b81516001600160401b03811115612dd057600080fd5b8201601f81018413612de157600080fd5b8051612def6127aa82612775565b818152856020838501011115612e0457600080fd5b612e158260208301602086016125ec565b95945050505050565b6020808252600f908201526e115610d1515114d7d0531313d5d151608a1b604082015260600190565b600082612e5657612e56612b6f565b500690565b600181815b80851115612e96578160001904821115612e7c57612e7c612b3a565b80851615612e8957918102915b93841c9390800290612e60565b509250929050565b600082612ead5750600161085f565b81612eba5750600061085f565b8160018114612ed05760028114612eda57612ef6565b600191505061085f565b60ff841115612eeb57612eeb612b3a565b50506001821b61085f565b5060208310610133831016604e8410600b8410161715612f19575081810a61085f565b612f238383612e5b565b8060001904821115612f3757612f37612b3a565b029392505050565b600061171760ff841683612e9e565b6000600019821415612f6257612f62612b3a565b5060010190565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090612f9c90830184612618565b9695505050505050565b600060208284031215612fb857600080fd5b8151611717816125b956fea264697066735822122079cc09d794c3ee2d0f0458c95a3124878d2410edd425a68982697fce58a5ab0c64736f6c634300080b003368747470733a2f2f6d61696e2d6c696768742e6574682e6c696e6b706f6f6c2e696f2f646174613a6170706c69636174696f6e2f6a736f6e3b6261736536342c65776f6749434a755957316c496a6f67496b46315a476c76523256755a584e706379497343694167496d526c63324e796158423061573975496a6f67496b467549475634634756796157316c626e5268624341784d44416c494739754c574e6f59576c7549473131624852706257566b61574567546b5a554948526f595851675958566b61573874646d6c7a645746736158706c63794230614755676232347459326868615734675a585a6c626e527a49475674615852305a575167596e6b67546b5a55494852795957357a5a6d567963794268626d5167633246735a584d754969774b49434169615731685a3255694f6941695a474630595470706257466e5a53397a646d6372654731734f324a68633255324e43785152446b30596c64335a325274566e6c6a4d6d7832596d6f77615531544e48644a61554a73596d314f646c704862485661656a4270566c5a53523078555a326c51656a524c5545684f4d6c7035516e706b5347787a576c517761566c74526d70684d6d5235596a4e57645670444d5770694d6e68325932707761574a48526d706865556c6e5a47317362475177536e5a6c5244427054554e4264306c45526d784e65554634576c524e61556c4961485269527a563655464e4b62325249556e6450615468325a444e6b4d3078755933704d62546c35576e6b34655531455158644d4d303479576e6c4a4b304e716548706b5347787a576c51314d4670596144424a53484e4c576d317363324a456232646b4d6d68775a4564564e304e75546a426a62546c79576c52765a3251796148426b523155335132354f4d474e744f584a61557a457a595664534d4746456232644f5345493054336477625749794e54424d574535775a5731564e6b6c456147786956484e4c576d3035645752444d57315a567a4677596b68724e6b6c445a4552694d315a355956645765556c464e57786b65574e7a53556378646d4a744f58706a52305a71576c527a53325a5263486c61563034775447354b62466b7a5557646c6433417a595664534d4746456232644e564546345930686e4e304e7461477868563252765a4552765a3031555158644e53454930543364774f5642444f58706b5347787a576c513053314249536d785a4d31466e57544a3461474d7a54546c4a626b707357544e5261556c48576e42695233633553576c4e4e4646715158644e656d6470554764764f466c584e58426956305977576c4e4361475249556e6c6856306f785a45645754316c584d57785155306f3153576c43616c6c5865477055567a6c72576c5177615670486248705a4d3070735a45645661556c48556a466a616a427054554d304d574e355357646a62565a33576c64474d4645794f544669626c45355357317364567048566d3168567a56775a45645661556c49576d686953465a7359336f776155355551586450656c55785455527a4d6b31455154644f616c56335433705a4d553145637a4a4f56454533546d7042643039365758644e52484d78546c52424e30355551586450656c56335455527a4d55314551576c4d656a524c55454d3565567058546a42515a32383459323157616d5244516d706952305a3659336f7761574e74566d706b51306c6e5a555177615531555158644a61554a74595664346331425453577061616b463353576f3053314248526e5668567a466f5a4564565a316c59556a426a625778705a46685362465274526e5261564442705a564e4a5a316b79526e4e5a4d444632576b64564f556c74556e426a4d6b3535576c685362456c70516d746b57456b35535770426455355954576c4a534570735930645761475246546e5a6b567a557755464e4b63474a74556d7861625778315956685362456c70516a4a5a56336778576c684e4f556c715554464e52484d77546c52424e30355551586450656c56335455527a4d4535555154644f5245463354337052643031456333704f5645453354587056643039365454464e52484d77545552424e3035455658644a6154677251327033646d4e74566d706b5244524c5545684b62466b7a5557645a4d6e686f597a4e4e4f556c75536d785a4d3146705355686e4f556c715358644e51306c6e576d317363324a454d476c4a4d4670485430564e6430314453537444616e686f596d317364466c59556d784a523059775a45684b63466c75566a42615654566f596c64564f556c7561326c4a5230356f596b644f546d4979556d7851553070725956684f616d4e74566a426155306c6e576b6857655642545358644d616c5a3653576c4365567059516d785a57464a45596a4e57645752454d476c68567a5672576c646163474a746244426155306c6e5a47314763325258566e705155306b77545552424e30354551586450656b30785455527a656b31455154644e616c56335433704a4d55314563336c4f5645453354587042643039365458644e52484e36546c52424e30313656586450656c463354554e4a646c426e627a684d4d30707357544e524b304e7165486c61563034775355644f63316c59546e705155307035576c644f4d456c70516a525155306c365455524261556c48576e42695233633553576c4f52564a4655544e4e52454670554764764f466c584e58426956305977576c4e4361475249556e6c6856306f785a45645754316c584d57785155306f3153576c43616c6c5865477055567a6c72576c5177615670486248705a4d3070735a45645661556c48556a466a616a427054554d304d574e355357646a62565a33576c64474d4645794f544669626c45355357317364567048566d3168567a56775a45645661556c49576d686953465a7359336f776155354551586450656c46335455527a656b35555154644e656b46335433704a6555314563336c4e616b45335457704a643039365458644e52484e36545552424e30313656586450656b30785455527a4d45314551576c4d656a524c55454d3565567058546a42515a32383459323157616d5244516d706952305a3659336f7761574e74566d706b51306c6e5a555177615535455158644a61554a7459566434633142545357704e656b4a47556c524e64306c714e45745152305a3159566378614752485657645a574649775932317361575259556d785562555a30576c5177615756545357645a4d6b5a7a57544178646c704856546c4a62564a77597a4a4f65567059556d784a61554a725a46684a4f556c715158564f574531705355684b62474e48566d686b525535325a4663314d464254536e426962564a73576d317364574659556d784a61554979575664344d56705954546c4a616c45785455527a4d4535555154644f564546335433705664303145637a424f56454533546b5242643039365454464e52484e36546c52424e30313656586450656c46335455527a4d4531455154644f5246563353576b344b304e7164335a6a62565a715a45513053314249536d785a4d31466e57544a3461474d7a54546c4a626b707357544e5261556c495a7a6c4a616c563354554e4a5a31707462484e69524442705358705a4d6c707053537444616e686f596d317364466c59556d784a523059775a45684b63466c75566a42615654566f596c64564f556c7561326c4a5230356f596b644f546d4979556d7851553070725956684f616d4e74566a426155306c6e576b6857655642545358644d616c5a3653576c4365567059516d785a57464a45596a4e57645752454d476c68567a5672576c646163474a746244426155306c6e5a47314763325258566e705155306b79545552424e30357156586450656d4e335455527a4d3035555154644f656c56335433706a4d553145637a4e4e52454533546d7042643039365654464e52484d78546c52424e30355556586450656c6c3354554e4a646c426e627a684d4d30707357544e524b304e7165486c61563034775355644f63316c59546e705155307035576c644f4d456c70516a525155306b795455524261556c48576e42695233633553576c4e4d4646715158645052456c70554764764f466c584e58426956305977576c4e4361475249556e6c6856306f785a45645754316c584d57785155306f3153576c43616c6c5865477055567a6c72576c5177615670486248705a4d3070735a45645661556c48556a466a616a427054554d304d574e355357646a62565a33576c64474d4645794f544669626c45355357317364567048566d3168567a56775a45645661556c49576d686953465a7359336f776155394551586450656d64335455527a4e45314551546450524656335433706e4d553145637a524e524545335430524264303936597a464e52484d7a546c52424e30353656586450656d64335455527a4e45314551576c4d656a524c55454d3565567058546a42515a32383459323157616d5244516d706952305a3659336f7761574e74566d706b51306c6e5a555177615535365158644a61554a7459566434633142545357705052556c3654587061516b6c714e45745152305a3159566378614752485657645a574649775932317361575259556d785562555a30576c5177615756545357645a4d6b5a7a57544178646c704856546c4a62564a77597a4a4f65567059556d784a61554a725a46684a4f556c715158564f574531705355684b62474e48566d686b525535325a4663314d464254536e426962564a73576d317364574659556d784a61554979575664344d56705954546c4a616d7435546c527a4e5531715654645056456b785433706e4d303555637a524f656c553354305256643039365a7a464e52484d30546c52424e30394553544650656d6435546c527a4e4535365654645056456b7853576b344b304e7164335a6a62565a715a45513053314249536d785a4d31466e57544a3461474d7a54546c4a626b707357544e5261556c495a7a6c4a616d643354554e4a5a31707462484e695244427053544a5a656b357053537444616e686f596d317364466c59556d784a523059775a45684b63466c75566a42615654566f596c64564f556c7561326c4a5230356f596b644f546d4979556d7851553070725956684f616d4e74566a426155306c6e576b6857655642545358644d616c5a3653576c4365567059516d785a57464a45596a4e57645752454d476c68567a5672576c646163474a746244426155306c6e5a47314763325258566e705155306b31543052564e3039555a7a4650656d7330546c527a4e5535365654645056474e33543370724d6b3555637a564f616c55335431525a4d553936617a4e4e52484d31546e70564e3039555a336450656d733054554e4a646c426e627a684d4d30707357544e524b304e7165486c61563034775355644f63316c59546e705155307035576c644f4d456c70516a525155306b315455524261556c48576e42695233633553576c4f6255314551576c515a3238345756633163474a58526a426155304a6f5a45685365574658536a466b52315a505756637862464254536a564a61554a7157566434616c52584f57746156444270576b6473656c6b7a536d786b52315670535564534d574e714d476c4e517a517859336c4a5a324e74566e646156305977555449354d574a7555546c4a62577831576b6457625746584e58426b523156705355686161474a49566d786a656a4270543152724d553936617a564f56484d31543152564e303955617a4650656d73315455527a4e5539555154645056476378543370724e453555637a5650524655335431527264303936617a564e52484d3154315256615578364e457451517a6c35576c644f4d46426e627a6861655549775932314764574d79576e5a6a625441355357355365566c584e58706952305977576c4e6e655535555157644e56474d7853314e43656c6b79526e4e61553264345447704a4d55745453537444616e68335756685362306c4855546c4a617a4177545770526455354451586c4e56464631546a42334d3031704e44424a52466c31546d744e4d4531354e44524d564556335447704e5a30314451544a4d616b566e54554e424d4535354e445657616c4579546b644e64306c4554544e4d616c566e546b52426455353551544a4e517a52345355526a655578715557644f5245563154544a33656b35555358524e616b45305758704e654578715558524e56476431546c4e42656b31544e44464d56466b77544770465a3031444d44524e615451795a576c4a5a31707462484e69524442705354426152314a72576b64536130704453576b344b304e7164335a61656a524c55456853624756495557646c52444270546c524261556c49617a6c4a616b557854554e4a5a325248566a526b52586873596d316b4d4746454d476c505645467353576f31516c5a56556b7055656e64325a4564574e4752454e44686b523159305a454e434e4642545354464e51306c6e5a565177615539555658644a61554977576c686f4d465248566e56614d314a7655464e4a4e55314456576c51613252475647745756464e575454684d4d314a735a5568524b3142444f58706b62574d724969774b494341695a5868305a584a755957786662476c756179493649434a6f64485277637a6f764c335233615852305a584975593239744c306c746347397a63326c696247564f526c51694c416f6749434a7a5a5778735a584a665a6d566c58324a6863326c7a583342766157353063794936494445774d44417343694167496d5a6c5a5639795a574e7063476c6c626e51694f6941694d48686a524452684e7a45314e7a63774e6a426a4d7a6777517a4d334e5455314e474e424f546c434e4442454e4451344e45517959544131496770397773733a2f2f6d61696e2d6c696768742e6574682e6c696e6b706f6f6c2e696f2f7773

Deployed Bytecode

0x60806040526004361061023e5760003560e01c80638da5cb5b116101355780638da5cb5b146105635780638f744dc81461057857806395d89b411461059857806398b8604d146105ad5780639da3f8fd146105cd578063a22cb465146105e2578063adec851c14610602578063b0ee213a14610622578063b6cb209314610638578063b88d4fde14610658578063bd62d29a14610678578063c5610a2914610698578063c87b56dd146106b4578063cd85cdb5146106d4578063cf15ec07146106e9578063d1beb86d14610709578063d5abeb0114610729578063d6948b751461073f578063e5dd533b1461075f578063e6d37b881461077f578063e8a3d48514610792578063e8e05099146107a7578063e985e9c5146107c7578063f2fde38b14610810578063ff6f11871461083057600080fd5b806301ffc9a71461024357806306fdde0314610278578063081812fc1461029a578063095ea7b3146102d257806316413515146102f457806318160ddd1461032f5780631a741b8a1461034457806323b872dd14610359578063255e4685146103795780632a55205a1461038f5780632b238e1b146103ce5780632eb4a7ab146103ee578063318f81d71461040457806336207d361461042457806342842e0e1461044457806348a9adc1146104645780634c1fbb751461048457806351d40948146104a45780635d5e8875146104c45780636352211e146104e457806370a0823114610504578063715018a61461052457806372d4f15c1461053957806376c64c621461054e575b600080fd5b34801561024f57600080fd5b5061026361025e3660046125cf565b610845565b60405190151581526020015b60405180910390f35b34801561028457600080fd5b5061028d610865565b60405161026f9190612644565b3480156102a657600080fd5b506102ba6102b5366004612657565b6108f7565b6040516001600160a01b03909116815260200161026f565b3480156102de57600080fd5b506102f26102ed36600461268c565b61093b565b005b34801561030057600080fd5b5061032161030f366004612657565b60146020526000908152604090205481565b60405190815260200161026f565b34801561033b57600080fd5b506103216109db565b34801561035057600080fd5b5061028d6109e9565b34801561036557600080fd5b506102f26103743660046126b6565b610a77565b34801561038557600080fd5b50610321600c5481565b34801561039b57600080fd5b506103af6103aa3660046126f2565b610a87565b604080516001600160a01b03909316835260208301919091520161026f565b3480156103da57600080fd5b506102f26103e9366004612657565b610b33565b3480156103fa57600080fd5b50610321600d5481565b34801561041057600080fd5b506102f261041f366004612657565b610b40565b34801561043057600080fd5b506102f261043f3660046126f2565b610bfb565b34801561045057600080fd5b506102f261045f3660046126b6565b610d2d565b34801561047057600080fd5b506102f261047f366004612657565b610d48565b34801561049057600080fd5b5061028d61049f366004612657565b610dd6565b3480156104b057600080fd5b5061028d6104bf366004612657565b610def565b3480156104d057600080fd5b506102f26104df366004612657565b610e08565b3480156104f057600080fd5b506102ba6104ff366004612657565b610e15565b34801561051057600080fd5b5061032161051f366004612714565b610e20565b34801561053057600080fd5b506102f2610e65565b34801561054557600080fd5b506102f2610e79565b34801561055a57600080fd5b506102f2610ef9565b34801561056f57600080fd5b506102ba610f0e565b34801561058457600080fd5b506102f26105933660046127fa565b610f1d565b3480156105a457600080fd5b5061028d610f9b565b3480156105b957600080fd5b506102f26105c8366004612657565b610faa565b3480156105d957600080fd5b50610321610ffb565b3480156105ee57600080fd5b506102f26105fd366004612866565b611082565b34801561060e57600080fd5b506102f261061d3660046127fa565b611118565b34801561062e57600080fd5b50610321600b5481565b34801561064457600080fd5b5061028d610653366004612657565b6111ae565b34801561066457600080fd5b506102f26106733660046128a2565b6111c7565b34801561068457600080fd5b506102f261069336600461291d565b61120b565b3480156106a457600080fd5b5061032167016345785d8a000081565b3480156106c057600080fd5b5061028d6106cf366004612657565b611283565b3480156106e057600080fd5b506102f26113ba565b3480156106f557600080fd5b5061028d610704366004612657565b6113cf565b34801561071557600080fd5b506102f2610724366004612949565b6113e8565b34801561073557600080fd5b5061032161022b81565b34801561074b57600080fd5b506102f261075a3660046129ac565b611417565b34801561076b57600080fd5b506102ba61077a3660046126f2565b611430565b6102f261078d366004612a54565b611468565b34801561079e57600080fd5b5061028d6116f9565b3480156107b357600080fd5b506102636107c2366004612a99565b611708565b3480156107d357600080fd5b506102636107e2366004612ad5565b6001600160a01b03918216600090815260096020908152604080832093909416825291909152205460ff1690565b34801561081c57600080fd5b506102f261082b366004612714565b61171e565b34801561083c57600080fd5b5061028d611794565b6000610850826117a1565b8061085f575061085f826117d6565b92915050565b60606004805461087490612aff565b80601f01602080910402602001604051908101604052809291908181526020018280546108a090612aff565b80156108ed5780601f106108c2576101008083540402835291602001916108ed565b820191906000526020600020905b8154815290600101906020018083116108d057829003601f168201915b5050505050905090565b600061090282611824565b61091f576040516333d1c03960e21b815260040160405180910390fd5b506000908152600860205260409020546001600160a01b031690565b600061094682611859565b9050336001600160a01b0382161461097f5761096281336107e2565b61097f576040516367d9dca160e11b815260040160405180910390fd5b60008281526008602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b600354600254036000190190565b600e80546109f690612aff565b80601f0160208091040260200160405190810160405280929190818152602001828054610a2290612aff565b8015610a6f5780601f10610a4457610100808354040283529160200191610a6f565b820191906000526020600020905b815481529060010190602001808311610a5257829003601f168201915b505050505081565b610a828383836118c2565b505050565b60008281526001602090815260408083208151808301909252546001600160a01b038116808352600160a01b9091046001600160601b0316928201929092528291610afc5750604080518082019091526000546001600160a01b0381168252600160a01b90046001600160601b031660208201525b602081015160009061271090610b1b906001600160601b031687612b50565b610b259190612b85565b915196919550909350505050565b610b3b611a72565b600c55565b610b48611a72565b80600b5410610b6e5780600b6000828254610b639190612b99565b90915550610b749050565b6000600b555b61022b600182610b826109db565b610b8c9190612bb0565b610b969190612b99565b10610bbc5760405162461bcd60e51b8152600401610bb390612bc8565b60405180910390fd5b610bda8173356e1363897033759181727e4bff12396c51a7e0611ad1565b610bf873356e1363897033759181727e4bff12396c51a7e08261204e565b50565b610c0482610e15565b6001600160a01b0316336001600160a01b031614610c345760405162461bcd60e51b8152600401610bb390612bec565b600082815260156020526040902054808210610c4f57600080fd5b6001811115610ce9576000838152601560205260409020610c71600183612b99565b81548110610c8157610c81612c0f565b60009182526020808320909101548583526015909152604090912080546001600160a01b039092169184908110610cba57610cba612c0f565b9060005260206000200160006101000a8154816001600160a01b0302191690836001600160a01b031602179055505b6000838152601560205260409020805480610d0657610d06612c25565b600082815260209020810160001990810180546001600160a01b0319169055019055505050565b610a82838383604051806020016040528060008152506111c7565b610d5181610e15565b6001600160a01b0316336001600160a01b031614610d815760405162461bcd60e51b8152600401610bb390612bec565b604080516020808201808452600080845285815260169092529290209051610da99290612520565b50604080516020808201808452600080845285815260179092529290209051610dd29290612520565b5050565b601260205260009081526040902080546109f690612aff565b601360205260009081526040902080546109f690612aff565b610e10611a72565b600d55565b600061085f82611859565b600081610e40576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b03166000908152600760205260409020546001600160401b031690565b610e6d611a72565b610e776000612068565b565b610e81611a72565b610e9e732ddb405238368695f34d30a80ab60c449aa5ce486120ba565b15610ebb5760405162461bcd60e51b8152600401610bb390612c3b565b610eda6005732ddb405238368695f34d30a80ab60c449aa5ce48611ad1565b610e77732ddb405238368695f34d30a80ab60c449aa5ce48600561204e565b610f01611a72565b610b3b6201518042612b99565b600a546001600160a01b031690565b610f2683610e15565b6001600160a01b0316336001600160a01b031614610f565760405162461bcd60e51b8152600401610bb390612bec565b60008381526016602090815260409091208351610f7592850190612520565b5060008381526017602090815260409091208251610f9592840190612520565b50505050565b60606005805461087490612aff565b610fb381610e15565b6001600160a01b0316336001600160a01b031614610fe35760405162461bcd60e51b8152600401610bb390612bec565b6000908152601160205260409020805460ff19169055565b6000600b5461022b61100d9190612b99565b6110156109db565b1061102d5761102661030082612bb0565b905061106a565b42600c546201518061103f9190612bb0565b10156110515761102661020082612bb0565b42600c54101561106a5761106761010082612bb0565b90505b611073336120ba565b61107d9082612bb0565b905090565b6001600160a01b0382163314156110ac5760405163b06307db60e01b815260040160405180910390fd5b3360008181526009602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b61112183610e15565b6001600160a01b0316336001600160a01b0316146111515760405162461bcd60e51b8152600401610bb390612bec565b6000838152601260209081526040909120835161117092850190612520565b506000838152601360209081526040909120825161119092840190612520565b5050506000908152601160205260409020805460ff19166001179055565b601660205260009081526040902080546109f690612aff565b6111d28484846118c2565b6001600160a01b0383163b15610f95576111ee848484846120e2565b610f95576040516368d2bf6b60e11b815260040160405180910390fd5b61121482610e15565b6001600160a01b0316336001600160a01b0316146112445760405162461bcd60e51b8152600401610bb390612bec565b600091825260156020908152604083208054600181018255908452922090910180546001600160a01b0319166001600160a01b03909216919091179055565b60008181526011602052604090205460609060ff161561135257600082815260126020908152604080832060138352818420601584528285206016855283862060178652848720601490965295849020549351631db3b92f60e21b815273ee4b4275fa10e51c64081143282b4933d3c6b788966376cee4bc9661130d969192909190600401612d03565b600060405180830381865afa15801561132a573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261085f9190810190612da8565b60008281526015602090815260408083206016835281842060178452828520601490945293829020549151631db3b92f60e21b815273ee4b4275fa10e51c64081143282b4933d3c6b788946376cee4bc9461130d94600e94600f949093929190600401612d03565b6113c2611a72565b6001600160801b03600c55565b601760205260009081526040902080546109f690612aff565b6113f0611a72565b805161140390600f906020840190612520565b508151610a8290600e906020850190612520565b61141f611a72565b610bf861142a610f0e565b826121ca565b6015602052816000526040600020818154811061144c57600080fd5b6000918252602090912001546001600160a01b03169150829050565b3332146114ab5760405162461bcd60e51b81526020600482015260116024820152704e4f5f434f4e54524143545f4d494e545360781b6044820152606401610bb3565b600b546114ba9061022b612b99565b6001846114c56109db565b6114cf9190612bb0565b6114d99190612b99565b106114f65760405162461bcd60e51b8152600401610bb390612bc8565b6115088367016345785d8a0000612b50565b341461154a5760405162461bcd60e51b8152602060048201526011602482015270125390d3d4949150d517d4105653515395607a1b6044820152606401610bb3565b42600c54106115895760405162461bcd60e51b815260206004820152600b60248201526a4e4f545f4d494e54494e4760a81b6044820152606401610bb3565b42600c546201518061159b9190612bb0565b10156115ec576115aa336120ba565b156115c75760405162461bcd60e51b8152600401610bb390612c3b565b826001146115e75760405162461bcd60e51b8152600401610bb390612e1e565b6116a5565b6115f5336120ba565b6115ff9084612bb0565b82101561161e5760405162461bcd60e51b8152600401610bb390612e1e565b6000823360405160200161164992919091825260601b6001600160601b031916602082015260340190565b60405160208183030381529060405280519060200120905061166b8183611708565b6116a35760405162461bcd60e51b81526020600482015260096024820152682120a22fa82927a7a360b91b6044820152606401610bb3565b505b6116af8333611ad1565b6116b9338461204e565b6116c1610f0e565b6001600160a01b03166108fc349081150290604051600060405180830381858888f19350505050158015610f95573d6000803e3d6000fd5b60606018805461087490612aff565b600061171782600d54856122c3565b9392505050565b611726611a72565b6001600160a01b03811661178b5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610bb3565b610bf881612068565b600f80546109f690612aff565b60006001600160e01b0319821663152a902d60e11b148061085f57506301ffc9a760e01b6001600160e01b031983161461085f565b60006301ffc9a760e01b6001600160e01b03198316148061180757506380ac58cd60e01b6001600160e01b03198316145b8061085f5750506001600160e01b031916635b5e139f60e01b1490565b600081600111158015611838575060025482105b801561085f575050600090815260066020526040902054600160e01b161590565b600081806001116118a9576002548110156118a957600081815260066020526040902054600160e01b81166118a7575b80611717575060001901600081815260066020526040902054611889565b505b604051636f96cda160e11b815260040160405180910390fd5b60006118cd82611859565b9050836001600160a01b0316816001600160a01b0316146119005760405162a1148160e81b815260040160405180910390fd5b6000828152600860205260408120546001600160a01b0390811691908616331480611930575061193086336107e2565b8061194357506001600160a01b03821633145b90508061196357604051632ce44b5f60e11b815260040160405180910390fd5b8461198157604051633a954ecd60e21b815260040160405180910390fd5b81156119a457600084815260086020526040902080546001600160a01b03191690555b6001600160a01b03868116600090815260076020908152604080832080546000190190559288168252828220805460010190558682526006905220600160e11b4260a01b871781179091558316611a295760018401600081815260066020526040902054611a27576002548114611a275760008181526006602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050505050565b33611a7b610f0e565b6001600160a01b031614610e775760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610bb3565b6000611adc60025490565b90506000611aeb600143612b99565b60408051914060208301526001600160601b0319606086901b1690820152605481018390526074016040516020818303038152906040528051906020012060001c90505b83611b3960025490565b611b439190612bb0565b821015610f95576000611b8c827b0101054b64c864644b4b4b191919190a0a0a0a0a0a0505050503db19780305070b0a1113171d1f25292b2f353b3d4347494f535961656122d9565b60408051602080820195909552815180820386018152908201909152805193019290922091176008611bce8368010103030201000b066501020406080c6122d9565b901b8117905081604051602001611be791815260200190565b60408051601f19818403018152919052805160209091012091506010611c0e600684612e47565b901b8117905081604051602001611c2791815260200190565b6040516020818303038152906040528051906020012060001c91506018611c60836907060504030201001c0766070605040302016122d9565b901b8117905081604051602001611c7991815260200190565b60408051601f1981840301815291905280516020918201209250611caf836907060504030201001c0766070605040302016122d9565b901b8117905081604051602001611cc891815260200190565b6040516020818303038152906040528051906020012060001c91506028611d0183690102030403020100100766060504030201006122d9565b901b8117905081604051602001611d1a91815260200190565b60408051601f19818403018152919052805160209091012091506030611d41603284612e47565b901b8117905081604051602001611d5a91815260200190565b6040516020818303038152906040528051906020012060001c91506038611d93836902051e1e1e140a007f0766643219140f0a056122d9565b901b8117905081604051602001611dac91815260200190565b6040516020818303038152906040528051906020012060001c915060406103e860026103e885611ddc9190612e47565b611de69190612f3f565b611df09190612b85565b611dfb906002612b50565b901b8117905081604051602001611e1491815260200190565b60408051601f19818403018152919052805160209091012091506050620f42406003611e426103e886612e47565b611e4c9190612f3f565b611e569190612b85565b611e6190600a612b50565b611e6d906101f4612bb0565b901b8117905081604051602001611e8691815260200190565b60408051601f19818403018152919052805160209091012091506060611ead600584612e47565b901b8117905081604051602001611ec691815260200190565b60408051601f19818403018152919052805160209091012091506068611eed600484612e47565b901b8117905081604051602001611f0691815260200190565b6040516020818303038152906040528051906020012060001c91506070611f49836e020202050a0a0505050a0a0a004c0c6b0b0a090807060504030201006122d9565b901b8117905081604051602001611f6291815260200190565b6040516020818303038152906040528051906020012060001c91506078611f9d836a0505050a0a0a0a0a0041086707060504030201006122d9565b901b8117905081604051602001611fb691815260200190565b6040516020818303038152906040528051906020012060001c91506080611fef83690102020105030a00180766060504030201006122d9565b901b811790508160405160200161200891815260200190565b60408051601f198184030181529181528151602092830120600086815260149093529120608885901b929092179182905591508261204581612f4e565b93505050611b2f565b610dd2828260405180602001604052806000815250612367565b600a80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b03166000908152600760205260409081902054901c6001600160401b031690565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a0290612117903390899088908890600401612f69565b6020604051808303816000875af1925050508015612152575060408051601f3d908101601f1916820190925261214f91810190612fa6565b60015b6121ad573d808015612180576040519150601f19603f3d011682016040523d82523d6000602084013e612185565b606091505b5080516121a5576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050949350505050565b6127106001600160601b03821611156122385760405162461bcd60e51b815260206004820152602a60248201527f455243323938313a20726f79616c7479206665652077696c6c206578636565646044820152692073616c65507269636560b01b6064820152608401610bb3565b6001600160a01b03821661228a5760405162461bcd60e51b815260206004820152601960248201527822a921991c9c189d1034b73b30b634b2103932b1b2b4bb32b960391b6044820152606401610bb3565b604080518082019091526001600160a01b039092168083526001600160601b039091166020909201829052600160a01b90910217600055565b6000826122d085846123d4565b14949350505050565b600060ff831661ffff600885901c16826122f38288612e47565b90506000805b8481101561235b5761230c816008612b50565b612317906018612bb0565b88901c60ff16826123289190612bb0565b91508183116123495761233c816008612b50565b87901c60ff16955061235b565b8061235381612f4e565b9150506122f9565b50505050509392505050565b6123718383612421565b6001600160a01b0383163b15610a82576002548281035b61239b60008683806001019450866120e2565b6123b8576040516368d2bf6b60e11b815260040160405180910390fd5b8181106123885781600254146123cd57600080fd5b5050505050565b600081815b845181101561241957612405828683815181106123f8576123f8612c0f565b60200260200101516124f1565b91508061241181612f4e565b9150506123d9565b509392505050565b6002548261244157604051622e076360e81b815260040160405180910390fd5b8161245f5760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b038316600090815260076020908152604080832080546001600160401b018702019055838352600690915281204260a01b85176001851460e11b1790555b60405160018201918301906001600160a01b038616906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a48281106124a457500160025550565b600081831061250d576000828152602084905260409020611717565b6000838152602083905260409020611717565b82805461252c90612aff565b90600052602060002090601f01602090048101928261254e5760008555612594565b82601f1061256757805160ff1916838001178555612594565b82800160010185558215612594579182015b82811115612594578251825591602001919060010190612579565b506125a09291506125a4565b5090565b5b808211156125a057600081556001016125a5565b6001600160e01b031981168114610bf857600080fd5b6000602082840312156125e157600080fd5b8135611717816125b9565b60005b838110156126075781810151838201526020016125ef565b83811115610f955750506000910152565b600081518084526126308160208601602086016125ec565b601f01601f19169290920160200192915050565b6020815260006117176020830184612618565b60006020828403121561266957600080fd5b5035919050565b80356001600160a01b038116811461268757600080fd5b919050565b6000806040838503121561269f57600080fd5b6126a883612670565b946020939093013593505050565b6000806000606084860312156126cb57600080fd5b6126d484612670565b92506126e260208501612670565b9150604084013590509250925092565b6000806040838503121561270557600080fd5b50508035926020909101359150565b60006020828403121561272657600080fd5b61171782612670565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f191681016001600160401b038111828210171561276d5761276d61272f565b604052919050565b60006001600160401b0382111561278e5761278e61272f565b50601f01601f191660200190565b60006127af6127aa84612775565b612745565b90508281528383830111156127c357600080fd5b828260208301376000602084830101529392505050565b600082601f8301126127eb57600080fd5b6117178383356020850161279c565b60008060006060848603121561280f57600080fd5b8335925060208401356001600160401b038082111561282d57600080fd5b612839878388016127da565b9350604086013591508082111561284f57600080fd5b5061285c868287016127da565b9150509250925092565b6000806040838503121561287957600080fd5b61288283612670565b91506020830135801515811461289757600080fd5b809150509250929050565b600080600080608085870312156128b857600080fd5b6128c185612670565b93506128cf60208601612670565b92506040850135915060608501356001600160401b038111156128f157600080fd5b8501601f8101871361290257600080fd5b6129118782356020840161279c565b91505092959194509250565b6000806040838503121561293057600080fd5b8235915061294060208401612670565b90509250929050565b6000806040838503121561295c57600080fd5b82356001600160401b038082111561297357600080fd5b61297f868387016127da565b9350602085013591508082111561299557600080fd5b506129a2858286016127da565b9150509250929050565b6000602082840312156129be57600080fd5b81356001600160601b038116811461171757600080fd5b600082601f8301126129e657600080fd5b813560206001600160401b03821115612a0157612a0161272f565b8160051b612a10828201612745565b9283528481018201928281019087851115612a2a57600080fd5b83870192505b84831015612a4957823582529183019190830190612a30565b979650505050505050565b600080600060608486031215612a6957600080fd5b833592506020840135915060408401356001600160401b03811115612a8d57600080fd5b61285c868287016129d5565b60008060408385031215612aac57600080fd5b8235915060208301356001600160401b03811115612ac957600080fd5b6129a2858286016129d5565b60008060408385031215612ae857600080fd5b612af183612670565b915061294060208401612670565b600181811c90821680612b1357607f821691505b60208210811415612b3457634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b6000816000190483118215151615612b6a57612b6a612b3a565b500290565b634e487b7160e01b600052601260045260246000fd5b600082612b9457612b94612b6f565b500490565b600082821015612bab57612bab612b3a565b500390565b60008219821115612bc357612bc3612b3a565b500190565b6020808252600a908201526913525395115117d3d55560b21b604082015260600190565b6020808252600990820152684e4f545f594f55525360b81b604082015260600190565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052603160045260246000fd5b6020808252600e908201526d1053149150511657d3525395115160921b604082015260600190565b8054600090600181811c9080831680612c7d57607f831692505b6020808410821415612c9f57634e487b7160e01b600052602260045260246000fd5b83885260208801828015612cba5760018114612ccb57612cf6565b60ff19871682528282019750612cf6565b60008981526020902060005b87811015612cf057815484820152908601908401612cd7565b83019850505b5050505050505092915050565b60c081526000612d1660c0830189612c63565b602083820381850152612d29828a612c63565b8481036040860152885480825260008a81528381209450918301915b81811015612d6a5784546001600160a01b031683526001948501949284019201612d45565b50508481036060860152612d7e8189612c63565b925050508281036080840152612d948186612c63565b9150508260a0830152979650505050505050565b600060208284031215612dba57600080fd5b81516001600160401b03811115612dd057600080fd5b8201601f81018413612de157600080fd5b8051612def6127aa82612775565b818152856020838501011115612e0457600080fd5b612e158260208301602086016125ec565b95945050505050565b6020808252600f908201526e115610d1515114d7d0531313d5d151608a1b604082015260600190565b600082612e5657612e56612b6f565b500690565b600181815b80851115612e96578160001904821115612e7c57612e7c612b3a565b80851615612e8957918102915b93841c9390800290612e60565b509250929050565b600082612ead5750600161085f565b81612eba5750600061085f565b8160018114612ed05760028114612eda57612ef6565b600191505061085f565b60ff841115612eeb57612eeb612b3a565b50506001821b61085f565b5060208310610133831016604e8410600b8410161715612f19575081810a61085f565b612f238383612e5b565b8060001904821115612f3757612f37612b3a565b029392505050565b600061171760ff841683612e9e565b6000600019821415612f6257612f62612b3a565b5060010190565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090612f9c90830184612618565b9695505050505050565b600060208284031215612fb857600080fd5b8151611717816125b956fea264697066735822122079cc09d794c3ee2d0f0458c95a3124878d2410edd425a68982697fce58a5ab0c64736f6c634300080b0033

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.