ETH Price: $3,320.89 (-3.06%)

Token

On the Edge of Oblivion SBT (SOULBOUND)
 

Overview

Max Total Supply

0 SOULBOUND

Holders

316

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Filtered by Token Holder
irender.eth
Balance
2 SOULBOUND
0x7a33bcffffa5d4b146e1ca39663bfbfacb517941
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:
OnTheEdgeOfOblivionSBT

Compiler Version
v0.8.13+commit.abaa5c0e

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 15 : Soulbound.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.4;

import {ERC721} from "@openzeppelin/contracts/token/ERC721/ERC721.sol";
import {ERC721Burnable} from "@openzeppelin/contracts/token/ERC721/extensions/ERC721Burnable.sol";
import {IERC721} from "@openzeppelin/contracts/token/ERC721/IERC721.sol";
import {Ownable} from "@openzeppelin/contracts/access/Ownable.sol";
import {MerkleProof} from "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol";
import {ReentrancyGuard} from "@openzeppelin/contracts/security/ReentrancyGuard.sol";


contract OnTheEdgeOfOblivionSBT is ERC721, ERC721Burnable, Ownable, ReentrancyGuard {

    
    /////////////////////////////////////////////////////////////////////////////////////////
    //// 
    ////    Relating to: Deployment Constructor (One-time)
    ////
    ////    - For token #1 which was burned in the V1 bridge.
    ////    - Timestamp set, inscription set, Ordinal number set and token minted.
    ////    - Transaction ID: 0x99da9669d3cca4649f7e8c7b9712ce36bd0e16e9ecc597052f0a7454320a74de
    ////
    /////////////////////////////////////////////////////////////////////////////////////////    
    
    constructor() ERC721("On the Edge of Oblivion SBT", "SOULBOUND") {
        bridgeTimestamps[1] = 1675822211;
        tokenIdToInscription[1] = "f0d35042249166706470873166f2617c639f0e3a06362600a43bf31b4921025ai0";
        tokenIdToOrdinalId[1] = 9978;
        _safeMint(msg.sender, 1);
    }


    /////////////////////////////////////////////////////////////////////////////////////////
    //// 
    ////    Relating to: Bridge Data
    ////
    ////    - If a EOA or a contract needs to fetch data about a burn, they can do so here.
    ////    - Deployer can open/close the bridge.
    ////    - Deployer can add a root for the merkle verification.
    ////
    /////////////////////////////////////////////////////////////////////////////////////////

    address public oblivionContract = 0x48E934457D3082CD4068d10C80DaacE98378409f;

    bytes32 public root = 0x3ee8659e6c5fc3c8c2d3c639960156126678b54edbedcb2d69efcf7087e5e2cf;
    function editRoot(bytes32 _root) external onlyOwner {
        root = _root;
    }

    bool public bridgeOpen;
    function bridgeState(bool _open) external onlyOwner {
        bridgeOpen = _open;
    }

    mapping(uint256 => uint256) internal bridgeTimestamps;
    mapping(uint256 => uint256) internal tokenIdToOrdinalId;
    mapping(uint256 => string) internal tokenIdToInscription;
    mapping(uint256 => string) internal tokenIdToBitcoinAddress;

    function getBrigedTokenTimestampAndOrdinalId(uint256 _tokenId) public view returns (uint256) {
        return bridgeTimestamps[_tokenId];
    }

    function getBrigedTokenOrdinalId(uint256 _tokenId) public view returns (uint256) {
        return getTokenOrdinalNumber(_tokenId);
    }

    function getBrigedTokenInscription(uint256 _tokenId) public view returns (string memory) {
        return tokenIdToInscription[_tokenId];
    }

    function getBrigedTokenReceiverAddress(uint256 _tokenId) public view returns (string memory) {
        return tokenIdToBitcoinAddress[_tokenId];
    }


    /////////////////////////////////////////////////////////////////////////////////////////
    //// 
    ////    Relating to: Metadata Changes
    ////
    ////    - Ordinal standard devs mentioned some SATs a may be doubly inscribed.
    ////    - Inscription numbers above 500 may go up by a few numbers.
    ////    - This is to bump up or down the inscription number 
    ////    - Changing the same svg preview for a uri preview. Full code still on chain.
    ////
    /////////////////////////////////////////////////////////////////////////////////////////

    bool internal decrementMode;
    uint256 internal changeBy;
    function fixIdVariation(uint256 _changeBy, bool _decrementMode) external onlyOwner {
        changeBy = _changeBy;
        decrementMode = _decrementMode;
    }

    string internal renderURI;
    bool internal isPreviewOnChain = true;
    function changePreviewImage(bool _isPreviewOnChain, string memory _renderURI) external onlyOwner {
        renderURI = _renderURI;
        isPreviewOnChain = _isPreviewOnChain;
    }
    

    /////////////////////////////////////////////////////////////////////////////////////////
    //// 
    ////    Relating to: Bridging your On the Edge of Oblivion tokens to Bitcoin
    ////
    ////    - After setting everything, we emit an event to allow for burn tracking.
    ////
    /////////////////////////////////////////////////////////////////////////////////////////


    event bridgeEvent(uint256 indexed _tokenId, string indexed _btcAddress, uint256 _number, string _inscription);

    function bridgeToBitcoin(uint256 _tokenId, string memory _inscription, uint256 _ordinalId, string memory _btcAddress, bytes32[] calldata _p) external nonReentrant {
    
        bool validProof = MerkleProof.verify(_p, root, keccak256(abi.encodePacked(_tokenId, _inscription, _ordinalId)));
        require(validProof, "You must inscribe a valid combination of: token ID, inscription and ordinal number. This is verified by the merkle root.");
        require(bridgeOpen, "Bridge must be open.");
        require(IERC721(oblivionContract).ownerOf(_tokenId) == msg.sender, "Must own Oblivion to bridge to Bitcoin Ordinal state.");
        IERC721(oblivionContract).transferFrom(msg.sender, address(this), _tokenId);
        tokenIdToBitcoinAddress[_tokenId] = _btcAddress;
        bridgeTimestamps[_tokenId] = block.timestamp;
        tokenIdToInscription[_tokenId] = _inscription;
        tokenIdToOrdinalId[_tokenId] = _ordinalId;
        _safeMint(msg.sender, _tokenId);
        emit bridgeEvent(_tokenId, _btcAddress, _ordinalId, _inscription);

    }

    
    /////////////////////////////////////////////////////////////////////////////////////////
    //// 
    ////    Relating to: Future Burn Capabilities
    ////
    ////    We are allowing the burn of the soulbound token only if:
    ////    - The transaction caller is Nullish or the owner of the token.
    ////    - The transaction is coming from a Nullish project contract.
    ////
    /////////////////////////////////////////////////////////////////////////////////////////

    address internal nullishContract = 0x000000000000000000000000000000000000dEaD;
    function changeNullishContract(address _address) external onlyOwner {
        nullishContract = _address;
    }

    modifier onlyNullishProjects(uint256 _tokenId) {
        require(msg.sender == nullishContract);
        require(tx.origin == ownerOf(_tokenId) || tx.origin == owner());
        _;
    }

    function burnForOther(uint256 _tokenId) external onlyNullishProjects(_tokenId) {
        _burn(_tokenId);
    }


    /////////////////////////////////////////////////////////////////////////////////////////
    //// 
    ////    Relating to: Attributes
    ////
    ////    We are allowing the burn of the soulbound token only if:
    ////    - The transaction caller is Nullish or the owner of the token.
    ////    - The transaction is coming from a Nullish project contract.
    ////
    /////////////////////////////////////////////////////////////////////////////////////////                                                      

    function getAttributes(uint256 _tokenId) internal view returns (uint256[3] memory) {
        return [
            nb(1, 10, "power", _tokenId),
            nb(1, 10, "eventHorizon", _tokenId),
            nb(1, 10, "radiation", _tokenId)
            ];
    }

    function getTokenOrdinalNumber(uint256 _tokenId) internal view returns (uint256) {
        if (decrementMode) {
            return tokenIdToOrdinalId[_tokenId] - changeBy;
        } else {
            return tokenIdToOrdinalId[_tokenId] + changeBy;
        }
    }

    function nb(uint low, uint high, string memory n, uint256 t) internal view returns (uint) {
        uint d = high - low;
        uint rn = uint(keccak256(abi.encodePacked(n, t))) % d + 1;
        rn = rn + low;
        return rn;
    }

    function tokenURI(uint256 tokenId) public view virtual override returns (string memory) {

        require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token");

        string memory html = string(abi.encodePacked(
            '<html> <head> <style> body { margin:0; background: #000; overflow: hidden; } canvas { bottom: 0; height: 100vw; left: 0; margin: auto; max-height: 100vh; max-width: 100vh; position: absolute; right: 0; top: 0; width: 100vw; } .text { color:white; position: absolute; top: 0; left: 0; font-family:Courier; padding:2vw; font-size:1vw; } </style> </head> <body> <canvas id="canvas"></canvas> </body> </html> <script> var power = 19+2*',
            toString(getAttributes(tokenId)[0]),
            ';var eventHorizon = ',
            toString(getAttributes(tokenId)[1]),
            ';var radiation = 19 +3*',
            toString(getAttributes(tokenId)[2]),
            ';function onTheEdgeOfOblivion(p,q,r){function j(a,b){return b=a,a=-2500/(1024/h),Math.floor(Math.random()*(b-a+1))+a;}var f=document.querySelector("canvas"),g=f.getContext("2d"),h=f.width=1250,n=f.height=1250,i=[],k=0,l=4000+p*1000;var timeStamp = ',
            toString(bridgeTimestamps[tokenId]),
            '*1000,dateFormat = new Date(timeStamp),day = dateFormat.getDate(),daySuffixes = ["st", "nd", "rd", "th", "th", "th", "th", "th", "th", "th", "th", "th", "th", "th", "th","th","th","th","th","th","st","nd","rd","th","th","th","th","th","th","th","st"],month = dateFormat.getMonth(),monthNames = ["January", "February", "March", "April", "May", "June","July", "August", "September", "October", "November", "December"],year = dateFormat.getFullYear();g.font = "bold 24px Courier";g.fillStyle = "grey";g.textAlign = "start";g.fillText("Bridged on " + ((monthNames[dateFormat.getMonth()])+ " " + dateFormat.getDate() + daySuffixes[dateFormat.getDate() - 1] + ", " + dateFormat.getFullYear()), h*0.025, 0.025*n);g.fillText("',
            tokenIdToInscription[tokenId], //inscription
            '", h*0.025, 0.975*n);g.textAlign = "end";g.fillText("Soulbound Token", h*0.975, 0.025*n);g.fillText("#',
            toString(getTokenOrdinalNumber(tokenId)), //ordinal number
            '", h*0.975, 0.975*n);var c = document.createElement("canvas"), d = c.getContext("2d"); c.width = 1500, c.height = 1500; var a = c.width / 2; var e = d.createRadialGradient(a, a, 0, a, a, a); e.addColorStop(0.1 / 100, "#fff"), e.addColorStop(0.5 / 100, "hsl(25, 60%, 15%)"), e.addColorStop(35 / 100, "hsl(25,65%,1%)"), e.addColorStop(0.9, "transparent"), d.fillStyle = e, d.beginPath(), d.arc(a, a, a, 1, Math.PI * 2), d.fill(); var m = function() { this.oR = j(-h / (16 - q)), this.radius = j(100, this.oR) / 5, this.oX = h / 2, this.oY = n / 2, this.matter = j(0, l), this.paramZ = 0.2 / 100 * r + 7.5 / 100, k++, i[k] = this; }; m.prototype.draw = function() { var a = Math.sin(this.matter) * this.oR + this.oX, b = Math.cos(this.matter) * this.oR / 1 + this.oY; g.globalAlpha = this.paramZ, g.drawImage(c, a - this.radius / 2, b - this.radius / 2, this.radius, this.radius); }; for (var b = 0; b < l; b++) new m(); for (var b = 1, o = i.length; b < o; b++) g.globalCompositeOperation = "lighter", i[b].draw(); }; onTheEdgeOfOblivion(power, eventHorizon, radiation); </script>'
        ));

        string memory thumbnail = isPreviewOnChain ? string(abi.encodePacked('data:image/svg+xml;base64,PHN2ZyBzdHlsZT0iYmFja2dyb3VuZC1jb2xvcjojMDAwIiBwcmVzZXJ2ZUFzcGVjdFJhdGlvPSJ4TWluWU1pbiBtZWV0IiB2aWV3Qm94PSIwIDAgNzUwIDc1MCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4gPGZpbHRlciBpZD0iYiI+IDxmZVR1cmJ1bGVuY2UgYmFzZUZyZXF1ZW5jeT0iMC4yIi8+IDxmZUNvbG9yTWF0cml4IHZhbHVlcz0iMCAwIDAgOSAtNSAwIDAgMCA5IC01IDAgMCAwIDkgLTUgMCAwIDAgMCAxIi8+IDwvZmlsdGVyPiA8cmVjdCB3aWR0aD0iMTAwJSIgaGVpZ2h0PSIxMDAlIiBmaWx0ZXI9InVybCgjYikiIG9wYWNpdHk9Ii41Ii8+IDxjaXJjbGUgY3g9IjUwJSIgY3k9IjUwJSIgcj0iMjAlIi8+IDxkZWZzIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+IDxmaWx0ZXIgaWQ9ImEiIHg9IjAlIiB5PSIwJSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4gPGZlVHVyYnVsZW5jZSBiYXNlRnJlcXVlbmN5PSIwLjAwMDUgMS41IiBudW1PY3RhdmVzPSIxMCIgcmVzdWx0PSJ0dXJidWxlbmNlIiBzZWVkPSI0NTQ1Ij4gPGFuaW1hdGUgYXR0cmlidXRlTmFtZT0ic2VlZCIgY2FsY01vZGU9ImRpc2NyZXRlIiBkdXI9IjAuMjVzIiByZXBlYXRDb3VudD0iaW5kZWZpbml0ZSIgdmFsdWVzPSIxOzI7Mzs0OzU7Njs3Ozg7OTsiLz4gPC9mZVR1cmJ1bGVuY2U+IDxmZURpc3BsYWNlbWVudE1hcCBpbj0iU291cmNlR3JhcGhpYyIgaW4yPSJ0dXJidWxlbmNlIiBzY2FsZT0iNTAiIHhDaGFubmVsU2VsZWN0b3I9IlIiIHlDaGFubmVsU2VsZWN0b3I9IkciLz4gPC9maWx0ZXI+IDwvZGVmcz4gPGcgaWQ9IjEiIGZpbHRlcj0idXJsKCNhKSBibHVyKDVweCkiIG9wYWNpdHk9IjUwJSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4gPGcgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoLTEwIC04KSI+IDxjaXJjbGUgaWQ9ImMiIGN4PSI1MCUiIGN5PSI1MCUiIHI9IjE2JSIgc3Ryb2tlPSIjZmZmIi8+IDwvZz4gPC9nPiA8ZyBmaWx0ZXI9InVybCgjYSkgYmx1cig1cHgpIiBvcGFjaXR5PSI1MCUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+IDxnIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0xMCAtOCkiPiA8Y2lyY2xlIGN4PSI1MCUiIGN5PSI1MCUiIHI9IjE0JSIgc3Ryb2tlPSIjZmZmIi8+IDwvZz4gPC9nPiA8Y2lyY2xlIGN4PSI1MCUiIGN5PSI1MCUiIHI9IjExJSIvPiA8dGV4dCB4PSI1MCUiIHk9IjQ2JSIgZG9taW5hbnQtYmFzZWxpbmU9Im1pZGRsZSIgZmlsbD0id2hpdGUiIGZvbnQtZmFtaWx5PSJDb3VyaWVyIiBmb250LXNpemU9IjMwcHgiIG9wYWNpdHk9Ii42IiB0ZXh0LWFuY2hvcj0ibWlkZGxlIj5PTiBUSEUgRURHRSBPRjwvdGV4dD4gPHRleHQgeD0iNTAlIiB5PSI1MyUiIGRvbWluYW50LWJhc2VsaW5lPSJtaWRkbGUiIGZpbGw9IndoaXRlIiBmb250LWZhbWlseT0iQ291cmllciIgZm9udC1zaXplPSI3NXB4IiBvcGFjaXR5PSIuNiIgdGV4dC1hbmNob3I9Im1pZGRsZSI+T0JMSVZJT048L3RleHQ+IDwvc3ZnPg==')) : string(abi.encodePacked(renderURI, toString(tokenId)));

        string memory json = string(abi.encodePacked(
                '{"name": "On the Edge of Oblivion #',
                toString(tokenId),
                ' (SBT)", "description": "Embark on a voyage to the outer realms of our universe, where the very fabric of space and time is distorted by an overwhelming force of gravity in ways we cannot yet comprehend.", "animation_url": "data:text/html;base64,',
                Base64.encode(bytes(html)),
                '",'
                '"image": "',
                thumbnail,
                '"}'
            ));
        return string(abi.encodePacked('data:application/json;base64,',Base64.encode(bytes(json))));
    
    }


    /////////////////////////////////////////////////////////////////////////////////////////
    //// 
    ////    Relating to: Soulbound Functionality
    ////
    ////    Approvals and transfers are disabled.
    ////    - No exceptions, except for burning as previously mentioned.
    ////
    /////////////////////////////////////////////////////////////////////////////////////////

    function setApprovalForAll(address operator, bool approved)
        public
        override(ERC721)
    {
        revert("This token is soulbound.");
    }

    function approve(address operator, uint256 tokenId)
        public
        override(ERC721)
    {
        revert("This token is soulbound.");
    }

    function transferFrom(address from, address to, uint256 tokenId)
        public
        override(ERC721)
    {
        revert("This token is soulbound.");
    }

    function safeTransferFrom(address from, address to, uint256 tokenId)
        public
        override(ERC721)
    {
        revert("This token is soulbound.");
    }

    function safeTransferFrom(address from, address to, uint256 tokenId, bytes memory data)
        public
        override(ERC721)
    {
        revert("This token is soulbound.");
    }


    /////////////////////////////////////////////////////////////////////////////////////////
    //// 
    ////    Relating to: Conversion of uint256 variables to strings
    ////
    /////////////////////////////////////////////////////////////////////////////////////////

    function toString(uint256 value) internal pure returns (string memory) {
    // Inspired by OraclizeAPI's implementation - MIT license
    // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol

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

}


/// [MIT License]
/// @title Base64
/// @notice Provides a function for encoding some bytes in base64
/// @author Brecht Devos <[email protected]>
library Base64 {
    bytes internal constant TABLE = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";

    /// @notice Encodes some bytes to the base64 representation
    function encode(bytes memory data) internal pure returns (string memory) {
        uint256 len = data.length;
        if (len == 0) return "";

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

        // Add some extra buffer at the end
        bytes memory result = new bytes(encodedLen + 32);

        bytes memory table = TABLE;

        assembly {
            let tablePtr := add(table, 1)
            let resultPtr := add(result, 32)

            for {
                let i := 0
            } lt(i, len) {

            } {
                i := add(i, 3)
                let input := and(mload(add(data, i)), 0xffffff)

                let out := mload(add(tablePtr, and(shr(18, input), 0x3F)))
                out := shl(8, out)
                out := add(out, and(mload(add(tablePtr, and(shr(12, input), 0x3F))), 0xFF))
                out := shl(8, out)
                out := add(out, and(mload(add(tablePtr, and(shr(6, input), 0x3F))), 0xFF))
                out := shl(8, out)
                out := add(out, and(mload(add(tablePtr, and(input, 0x3F))), 0xFF))
                out := shl(224, out)

                mstore(resultPtr, out)

                resultPtr := add(resultPtr, 4)
            }

            switch mod(len, 3)
            case 1 {
                mstore(sub(resultPtr, 2), shl(240, 0x3d3d))
            }
            case 2 {
                mstore(sub(resultPtr, 1), shl(248, 0x3d))
            }

            mstore(result, encodedLen)
        }

        return string(result);
    }
}

File 2 of 15 : ReentrancyGuard.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.8.0) (security/ReentrancyGuard.sol)

pragma solidity ^0.8.0;

/**
 * @dev Contract module that helps prevent reentrant calls to a function.
 *
 * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier
 * available, which can be applied to functions to make sure there are no nested
 * (reentrant) calls to them.
 *
 * Note that because there is a single `nonReentrant` guard, functions marked as
 * `nonReentrant` may not call one another. This can be worked around by making
 * those functions `private`, and then adding `external` `nonReentrant` entry
 * points to them.
 *
 * TIP: If you would like to learn more about reentrancy and alternative ways
 * to protect against it, check out our blog post
 * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul].
 */
abstract contract ReentrancyGuard {
    // Booleans are more expensive than uint256 or any type that takes up a full
    // word because each write operation emits an extra SLOAD to first read the
    // slot's contents, replace the bits taken up by the boolean, and then write
    // back. This is the compiler's defense against contract upgrades and
    // pointer aliasing, and it cannot be disabled.

    // The values being non-zero value makes deployment a bit more expensive,
    // but in exchange the refund on every call to nonReentrant will be lower in
    // amount. Since refunds are capped to a percentage of the total
    // transaction's gas, it is best to keep them low in cases like this one, to
    // increase the likelihood of the full refund coming into effect.
    uint256 private constant _NOT_ENTERED = 1;
    uint256 private constant _ENTERED = 2;

    uint256 private _status;

    constructor() {
        _status = _NOT_ENTERED;
    }

    /**
     * @dev Prevents a contract from calling itself, directly or indirectly.
     * Calling a `nonReentrant` function from another `nonReentrant`
     * function is not supported. It is possible to prevent this from happening
     * by making the `nonReentrant` function external, and making it call a
     * `private` function that does the actual work.
     */
    modifier nonReentrant() {
        _nonReentrantBefore();
        _;
        _nonReentrantAfter();
    }

    function _nonReentrantBefore() private {
        // On the first call to nonReentrant, _status will be _NOT_ENTERED
        require(_status != _ENTERED, "ReentrancyGuard: reentrant call");

        // Any calls to nonReentrant after this point will fail
        _status = _ENTERED;
    }

    function _nonReentrantAfter() private {
        // By storing the original value once again, a refund is triggered (see
        // https://eips.ethereum.org/EIPS/eip-2200)
        _status = _NOT_ENTERED;
    }
}

File 3 of 15 : MerkleProof.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.8.0) (utils/cryptography/MerkleProof.sol)

pragma solidity ^0.8.0;

/**
 * @dev These functions deal with verification of Merkle Tree proofs.
 *
 * The tree and the proofs can be generated using our
 * https://github.com/OpenZeppelin/merkle-tree[JavaScript library].
 * You will find a quickstart guide in the readme.
 *
 * 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.
 * OpenZeppelin's JavaScript library generates merkle trees that are safe
 * against this attack out of the box.
 */
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 simultaneously proven to be a part of a merkle tree defined by
     * `root`, according to `proof` and `proofFlags` as described in {processMultiProof}.
     *
     * CAUTION: Not all merkle trees admit multiproofs. See {processMultiProof} for details.
     *
     * _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}
     *
     * CAUTION: Not all merkle trees admit multiproofs. See {processMultiProof} for details.
     *
     * _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 sibling nodes in `proof`. The reconstruction
     * proceeds by incrementally reconstructing all inner nodes by combining a leaf/inner node with either another
     * leaf/inner node or a proof sibling node, depending on whether each `proofFlags` item is true or false
     * respectively.
     *
     * CAUTION: Not all merkle trees admit multiproofs. To use multiproofs, it is sufficient to ensure that: 1) the tree
     * is complete (but not necessarily perfect), 2) the leaves to be proven are in the opposite order they are in the
     * tree (i.e., as seen from right to left starting at the deepest layer and continuing at the next layer).
     *
     * _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}.
     *
     * CAUTION: Not all merkle trees admit multiproofs. See {processMultiProof} for details.
     *
     * _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 4 of 15 : 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 5 of 15 : IERC721.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.8.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: Note that the caller is responsible to confirm that the recipient is capable of receiving ERC721
     * or else they may be permanently lost. Usage of {safeTransferFrom} prevents loss, though the caller must
     * understand this adds an external call which potentially creates a reentrancy vulnerability.
     *
     * 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 6 of 15 : ERC721Burnable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.8.0) (token/ERC721/extensions/ERC721Burnable.sol)

pragma solidity ^0.8.0;

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

/**
 * @title ERC721 Burnable Token
 * @dev ERC721 Token that can be burned (destroyed).
 */
abstract contract ERC721Burnable is Context, ERC721 {
    /**
     * @dev Burns `tokenId`. See {ERC721-_burn}.
     *
     * Requirements:
     *
     * - The caller must own `tokenId` or be an approved operator.
     */
    function burn(uint256 tokenId) public virtual {
        //solhint-disable-next-line max-line-length
        require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: caller is not token owner or approved");
        _burn(tokenId);
    }
}

File 7 of 15 : ERC721.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.8.0) (token/ERC721/ERC721.sol)

pragma solidity ^0.8.0;

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

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

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

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

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

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

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

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

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

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

    /**
     * @dev See {IERC721-ownerOf}.
     */
    function ownerOf(uint256 tokenId) public view virtual override returns (address) {
        address owner = _ownerOf(tokenId);
        require(owner != address(0), "ERC721: invalid token ID");
        return owner;
    }

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

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

    /**
     * @dev See {IERC721Metadata-tokenURI}.
     */
    function tokenURI(uint256 tokenId) public view virtual override returns (string memory) {
        _requireMinted(tokenId);

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

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

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

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

        _approve(to, tokenId);
    }

    /**
     * @dev See {IERC721-getApproved}.
     */
    function getApproved(uint256 tokenId) public view virtual override returns (address) {
        _requireMinted(tokenId);

        return _tokenApprovals[tokenId];
    }

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

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

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

        _transfer(from, to, tokenId);
    }

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

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

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

    /**
     * @dev Returns the owner of the `tokenId`. Does NOT revert if token doesn't exist
     */
    function _ownerOf(uint256 tokenId) internal view virtual returns (address) {
        return _owners[tokenId];
    }

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

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

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

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

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

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

        // Check that tokenId was not minted by `_beforeTokenTransfer` hook
        require(!_exists(tokenId), "ERC721: token already minted");

        unchecked {
            // Will not overflow unless all 2**256 token ids are minted to the same owner.
            // Given that tokens are minted one by one, it is impossible in practice that
            // this ever happens. Might change if we allow batch minting.
            // The ERC fails to describe this case.
            _balances[to] += 1;
        }

        _owners[tokenId] = to;

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

        _afterTokenTransfer(address(0), to, tokenId, 1);
    }

    /**
     * @dev Destroys `tokenId`.
     * The approval is cleared when the token is burned.
     * This is an internal function that does not check if the sender is authorized to operate on the token.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     *
     * Emits a {Transfer} event.
     */
    function _burn(uint256 tokenId) internal virtual {
        address owner = ERC721.ownerOf(tokenId);

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

        // Update ownership in case tokenId was transferred by `_beforeTokenTransfer` hook
        owner = ERC721.ownerOf(tokenId);

        // Clear approvals
        delete _tokenApprovals[tokenId];

        unchecked {
            // Cannot overflow, as that would require more tokens to be burned/transferred
            // out than the owner initially received through minting and transferring in.
            _balances[owner] -= 1;
        }
        delete _owners[tokenId];

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

        _afterTokenTransfer(owner, address(0), tokenId, 1);
    }

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

        _beforeTokenTransfer(from, to, tokenId, 1);

        // Check that tokenId was not transferred by `_beforeTokenTransfer` hook
        require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer from incorrect owner");

        // Clear approvals from the previous owner
        delete _tokenApprovals[tokenId];

        unchecked {
            // `_balances[from]` cannot overflow for the same reason as described in `_burn`:
            // `from`'s balance is the number of token held, which is at least one before the current
            // transfer.
            // `_balances[to]` could overflow in the conditions described in `_mint`. That would require
            // all 2**256 token ids to be minted, which in practice is impossible.
            _balances[from] -= 1;
            _balances[to] += 1;
        }
        _owners[tokenId] = to;

        emit Transfer(from, to, tokenId);

        _afterTokenTransfer(from, to, tokenId, 1);
    }

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

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

    /**
     * @dev Reverts if the `tokenId` has not been minted yet.
     */
    function _requireMinted(uint256 tokenId) internal view virtual {
        require(_exists(tokenId), "ERC721: invalid token ID");
    }

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

    /**
     * @dev Hook that is called before any token transfer. This includes minting and burning. If {ERC721Consecutive} is
     * used, the hook may be called as part of a consecutive (batch) mint, as indicated by `batchSize` greater than 1.
     *
     * Calling conditions:
     *
     * - When `from` and `to` are both non-zero, ``from``'s tokens will be transferred to `to`.
     * - When `from` is zero, the tokens will be minted for `to`.
     * - When `to` is zero, ``from``'s tokens will be burned.
     * - `from` and `to` are never both zero.
     * - `batchSize` is non-zero.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _beforeTokenTransfer(
        address from,
        address to,
        uint256, /* firstTokenId */
        uint256 batchSize
    ) internal virtual {
        if (batchSize > 1) {
            if (from != address(0)) {
                _balances[from] -= batchSize;
            }
            if (to != address(0)) {
                _balances[to] += batchSize;
            }
        }
    }

    /**
     * @dev Hook that is called after any token transfer. This includes minting and burning. If {ERC721Consecutive} is
     * used, the hook may be called as part of a consecutive (batch) mint, as indicated by `batchSize` greater than 1.
     *
     * Calling conditions:
     *
     * - When `from` and `to` are both non-zero, ``from``'s tokens were transferred to `to`.
     * - When `from` is zero, the tokens were minted for `to`.
     * - When `to` is zero, ``from``'s tokens were burned.
     * - `from` and `to` are never both zero.
     * - `batchSize` is non-zero.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _afterTokenTransfer(
        address from,
        address to,
        uint256 firstTokenId,
        uint256 batchSize
    ) internal virtual {}
}

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

pragma solidity ^0.8.0;

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

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

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

pragma solidity ^0.8.0;

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

File 10 of 15 : 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 11 of 15 : Strings.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.8.0) (utils/Strings.sol)

pragma solidity ^0.8.0;

import "./math/Math.sol";

/**
 * @dev String operations.
 */
library Strings {
    bytes16 private constant _SYMBOLS = "0123456789abcdef";
    uint8 private constant _ADDRESS_LENGTH = 20;

    /**
     * @dev Converts a `uint256` to its ASCII `string` decimal representation.
     */
    function toString(uint256 value) internal pure returns (string memory) {
        unchecked {
            uint256 length = Math.log10(value) + 1;
            string memory buffer = new string(length);
            uint256 ptr;
            /// @solidity memory-safe-assembly
            assembly {
                ptr := add(buffer, add(32, length))
            }
            while (true) {
                ptr--;
                /// @solidity memory-safe-assembly
                assembly {
                    mstore8(ptr, byte(mod(value, 10), _SYMBOLS))
                }
                value /= 10;
                if (value == 0) break;
            }
            return buffer;
        }
    }

    /**
     * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation.
     */
    function toHexString(uint256 value) internal pure returns (string memory) {
        unchecked {
            return toHexString(value, Math.log256(value) + 1);
        }
    }

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

    /**
     * @dev Converts an `address` with fixed length of 20 bytes to its not checksummed ASCII `string` hexadecimal representation.
     */
    function toHexString(address addr) internal pure returns (string memory) {
        return toHexString(uint256(uint160(addr)), _ADDRESS_LENGTH);
    }
}

File 12 of 15 : Address.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.8.0) (utils/Address.sol)

pragma solidity ^0.8.1;

/**
 * @dev Collection of functions related to the address type
 */
library Address {
    /**
     * @dev Returns true if `account` is a contract.
     *
     * [IMPORTANT]
     * ====
     * It is unsafe to assume that an address for which this function returns
     * false is an externally-owned account (EOA) and not a contract.
     *
     * Among others, `isContract` will return false for the following
     * types of addresses:
     *
     *  - an externally-owned account
     *  - a contract in construction
     *  - an address where a contract will be created
     *  - an address where a contract lived, but was destroyed
     * ====
     *
     * [IMPORTANT]
     * ====
     * You shouldn't rely on `isContract` to protect against flash loan attacks!
     *
     * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets
     * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract
     * constructor.
     * ====
     */
    function isContract(address account) internal view returns (bool) {
        // This method relies on extcodesize/address.code.length, which returns 0
        // for contracts in construction, since the code is only stored at the end
        // of the constructor execution.

        return account.code.length > 0;
    }

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

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

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

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

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

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

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

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
     * but performing a static call.
     *
     * _Available since v3.3._
     */
    function functionStaticCall(
        address target,
        bytes memory data,
        string memory errorMessage
    ) internal view returns (bytes memory) {
        (bool success, bytes memory returndata) = target.staticcall(data);
        return verifyCallResultFromTarget(target, success, returndata, errorMessage);
    }

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

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
     * but performing a delegate call.
     *
     * _Available since v3.4._
     */
    function functionDelegateCall(
        address target,
        bytes memory data,
        string memory errorMessage
    ) internal returns (bytes memory) {
        (bool success, bytes memory returndata) = target.delegatecall(data);
        return verifyCallResultFromTarget(target, success, returndata, errorMessage);
    }

    /**
     * @dev Tool to verify that a low level call to smart-contract was successful, and revert (either by bubbling
     * the revert reason or using the provided one) in case of unsuccessful call or if target was not a contract.
     *
     * _Available since v4.8._
     */
    function verifyCallResultFromTarget(
        address target,
        bool success,
        bytes memory returndata,
        string memory errorMessage
    ) internal view returns (bytes memory) {
        if (success) {
            if (returndata.length == 0) {
                // only check isContract if the call was successful and the return data is empty
                // otherwise we already know that it was a contract
                require(isContract(target), "Address: call to non-contract");
            }
            return returndata;
        } else {
            _revert(returndata, errorMessage);
        }
    }

    /**
     * @dev Tool to verify that a low level call was successful, and revert if it wasn't, either by bubbling the
     * revert reason or using the provided one.
     *
     * _Available since v4.3._
     */
    function verifyCallResult(
        bool success,
        bytes memory returndata,
        string memory errorMessage
    ) internal pure returns (bytes memory) {
        if (success) {
            return returndata;
        } else {
            _revert(returndata, errorMessage);
        }
    }

    function _revert(bytes memory returndata, string memory errorMessage) private pure {
        // Look for revert reason and bubble it up if present
        if (returndata.length > 0) {
            // The easiest way to bubble the revert reason is using memory via assembly
            /// @solidity memory-safe-assembly
            assembly {
                let returndata_size := mload(returndata)
                revert(add(32, returndata), returndata_size)
            }
        } else {
            revert(errorMessage);
        }
    }
}

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

pragma solidity ^0.8.0;

import "../IERC721.sol";

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

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

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

File 14 of 15 : IERC721Receiver.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.0) (token/ERC721/IERC721Receiver.sol)

pragma solidity ^0.8.0;

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

File 15 of 15 : Math.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.8.0) (utils/math/Math.sol)

pragma solidity ^0.8.0;

/**
 * @dev Standard math utilities missing in the Solidity language.
 */
library Math {
    enum Rounding {
        Down, // Toward negative infinity
        Up, // Toward infinity
        Zero // Toward zero
    }

    /**
     * @dev Returns the largest of two numbers.
     */
    function max(uint256 a, uint256 b) internal pure returns (uint256) {
        return a > b ? a : b;
    }

    /**
     * @dev Returns the smallest of two numbers.
     */
    function min(uint256 a, uint256 b) internal pure returns (uint256) {
        return a < b ? a : b;
    }

    /**
     * @dev Returns the average of two numbers. The result is rounded towards
     * zero.
     */
    function average(uint256 a, uint256 b) internal pure returns (uint256) {
        // (a + b) / 2 can overflow.
        return (a & b) + (a ^ b) / 2;
    }

    /**
     * @dev Returns the ceiling of the division of two numbers.
     *
     * This differs from standard division with `/` in that it rounds up instead
     * of rounding down.
     */
    function ceilDiv(uint256 a, uint256 b) internal pure returns (uint256) {
        // (a + b - 1) / b can overflow on addition, so we distribute.
        return a == 0 ? 0 : (a - 1) / b + 1;
    }

    /**
     * @notice Calculates floor(x * y / denominator) with full precision. Throws if result overflows a uint256 or denominator == 0
     * @dev Original credit to Remco Bloemen under MIT license (https://xn--2-umb.com/21/muldiv)
     * with further edits by Uniswap Labs also under MIT license.
     */
    function mulDiv(
        uint256 x,
        uint256 y,
        uint256 denominator
    ) internal pure returns (uint256 result) {
        unchecked {
            // 512-bit multiply [prod1 prod0] = x * y. Compute the product mod 2^256 and mod 2^256 - 1, then use
            // use the Chinese Remainder Theorem to reconstruct the 512 bit result. The result is stored in two 256
            // variables such that product = prod1 * 2^256 + prod0.
            uint256 prod0; // Least significant 256 bits of the product
            uint256 prod1; // Most significant 256 bits of the product
            assembly {
                let mm := mulmod(x, y, not(0))
                prod0 := mul(x, y)
                prod1 := sub(sub(mm, prod0), lt(mm, prod0))
            }

            // Handle non-overflow cases, 256 by 256 division.
            if (prod1 == 0) {
                return prod0 / denominator;
            }

            // Make sure the result is less than 2^256. Also prevents denominator == 0.
            require(denominator > prod1);

            ///////////////////////////////////////////////
            // 512 by 256 division.
            ///////////////////////////////////////////////

            // Make division exact by subtracting the remainder from [prod1 prod0].
            uint256 remainder;
            assembly {
                // Compute remainder using mulmod.
                remainder := mulmod(x, y, denominator)

                // Subtract 256 bit number from 512 bit number.
                prod1 := sub(prod1, gt(remainder, prod0))
                prod0 := sub(prod0, remainder)
            }

            // Factor powers of two out of denominator and compute largest power of two divisor of denominator. Always >= 1.
            // See https://cs.stackexchange.com/q/138556/92363.

            // Does not overflow because the denominator cannot be zero at this stage in the function.
            uint256 twos = denominator & (~denominator + 1);
            assembly {
                // Divide denominator by twos.
                denominator := div(denominator, twos)

                // Divide [prod1 prod0] by twos.
                prod0 := div(prod0, twos)

                // Flip twos such that it is 2^256 / twos. If twos is zero, then it becomes one.
                twos := add(div(sub(0, twos), twos), 1)
            }

            // Shift in bits from prod1 into prod0.
            prod0 |= prod1 * twos;

            // Invert denominator mod 2^256. Now that denominator is an odd number, it has an inverse modulo 2^256 such
            // that denominator * inv = 1 mod 2^256. Compute the inverse by starting with a seed that is correct for
            // four bits. That is, denominator * inv = 1 mod 2^4.
            uint256 inverse = (3 * denominator) ^ 2;

            // Use the Newton-Raphson iteration to improve the precision. Thanks to Hensel's lifting lemma, this also works
            // in modular arithmetic, doubling the correct bits in each step.
            inverse *= 2 - denominator * inverse; // inverse mod 2^8
            inverse *= 2 - denominator * inverse; // inverse mod 2^16
            inverse *= 2 - denominator * inverse; // inverse mod 2^32
            inverse *= 2 - denominator * inverse; // inverse mod 2^64
            inverse *= 2 - denominator * inverse; // inverse mod 2^128
            inverse *= 2 - denominator * inverse; // inverse mod 2^256

            // Because the division is now exact we can divide by multiplying with the modular inverse of denominator.
            // This will give us the correct result modulo 2^256. Since the preconditions guarantee that the outcome is
            // less than 2^256, this is the final result. We don't need to compute the high bits of the result and prod1
            // is no longer required.
            result = prod0 * inverse;
            return result;
        }
    }

    /**
     * @notice Calculates x * y / denominator with full precision, following the selected rounding direction.
     */
    function mulDiv(
        uint256 x,
        uint256 y,
        uint256 denominator,
        Rounding rounding
    ) internal pure returns (uint256) {
        uint256 result = mulDiv(x, y, denominator);
        if (rounding == Rounding.Up && mulmod(x, y, denominator) > 0) {
            result += 1;
        }
        return result;
    }

    /**
     * @dev Returns the square root of a number. If the number is not a perfect square, the value is rounded down.
     *
     * Inspired by Henry S. Warren, Jr.'s "Hacker's Delight" (Chapter 11).
     */
    function sqrt(uint256 a) internal pure returns (uint256) {
        if (a == 0) {
            return 0;
        }

        // For our first guess, we get the biggest power of 2 which is smaller than the square root of the target.
        //
        // We know that the "msb" (most significant bit) of our target number `a` is a power of 2 such that we have
        // `msb(a) <= a < 2*msb(a)`. This value can be written `msb(a)=2**k` with `k=log2(a)`.
        //
        // This can be rewritten `2**log2(a) <= a < 2**(log2(a) + 1)`
        // → `sqrt(2**k) <= sqrt(a) < sqrt(2**(k+1))`
        // → `2**(k/2) <= sqrt(a) < 2**((k+1)/2) <= 2**(k/2 + 1)`
        //
        // Consequently, `2**(log2(a) / 2)` is a good first approximation of `sqrt(a)` with at least 1 correct bit.
        uint256 result = 1 << (log2(a) >> 1);

        // At this point `result` is an estimation with one bit of precision. We know the true value is a uint128,
        // since it is the square root of a uint256. Newton's method converges quadratically (precision doubles at
        // every iteration). We thus need at most 7 iteration to turn our partial result with one bit of precision
        // into the expected uint128 result.
        unchecked {
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            return min(result, a / result);
        }
    }

    /**
     * @notice Calculates sqrt(a), following the selected rounding direction.
     */
    function sqrt(uint256 a, Rounding rounding) internal pure returns (uint256) {
        unchecked {
            uint256 result = sqrt(a);
            return result + (rounding == Rounding.Up && result * result < a ? 1 : 0);
        }
    }

    /**
     * @dev Return the log in base 2, rounded down, of a positive value.
     * Returns 0 if given 0.
     */
    function log2(uint256 value) internal pure returns (uint256) {
        uint256 result = 0;
        unchecked {
            if (value >> 128 > 0) {
                value >>= 128;
                result += 128;
            }
            if (value >> 64 > 0) {
                value >>= 64;
                result += 64;
            }
            if (value >> 32 > 0) {
                value >>= 32;
                result += 32;
            }
            if (value >> 16 > 0) {
                value >>= 16;
                result += 16;
            }
            if (value >> 8 > 0) {
                value >>= 8;
                result += 8;
            }
            if (value >> 4 > 0) {
                value >>= 4;
                result += 4;
            }
            if (value >> 2 > 0) {
                value >>= 2;
                result += 2;
            }
            if (value >> 1 > 0) {
                result += 1;
            }
        }
        return result;
    }

    /**
     * @dev Return the log in base 2, following the selected rounding direction, of a positive value.
     * Returns 0 if given 0.
     */
    function log2(uint256 value, Rounding rounding) internal pure returns (uint256) {
        unchecked {
            uint256 result = log2(value);
            return result + (rounding == Rounding.Up && 1 << result < value ? 1 : 0);
        }
    }

    /**
     * @dev Return the log in base 10, rounded down, of a positive value.
     * Returns 0 if given 0.
     */
    function log10(uint256 value) internal pure returns (uint256) {
        uint256 result = 0;
        unchecked {
            if (value >= 10**64) {
                value /= 10**64;
                result += 64;
            }
            if (value >= 10**32) {
                value /= 10**32;
                result += 32;
            }
            if (value >= 10**16) {
                value /= 10**16;
                result += 16;
            }
            if (value >= 10**8) {
                value /= 10**8;
                result += 8;
            }
            if (value >= 10**4) {
                value /= 10**4;
                result += 4;
            }
            if (value >= 10**2) {
                value /= 10**2;
                result += 2;
            }
            if (value >= 10**1) {
                result += 1;
            }
        }
        return result;
    }

    /**
     * @dev Return the log in base 10, following the selected rounding direction, of a positive value.
     * Returns 0 if given 0.
     */
    function log10(uint256 value, Rounding rounding) internal pure returns (uint256) {
        unchecked {
            uint256 result = log10(value);
            return result + (rounding == Rounding.Up && 10**result < value ? 1 : 0);
        }
    }

    /**
     * @dev Return the log in base 256, rounded down, of a positive value.
     * Returns 0 if given 0.
     *
     * Adding one to the result gives the number of pairs of hex symbols needed to represent `value` as a hex string.
     */
    function log256(uint256 value) internal pure returns (uint256) {
        uint256 result = 0;
        unchecked {
            if (value >> 128 > 0) {
                value >>= 128;
                result += 16;
            }
            if (value >> 64 > 0) {
                value >>= 64;
                result += 8;
            }
            if (value >> 32 > 0) {
                value >>= 32;
                result += 4;
            }
            if (value >> 16 > 0) {
                value >>= 16;
                result += 2;
            }
            if (value >> 8 > 0) {
                result += 1;
            }
        }
        return result;
    }

    /**
     * @dev Return the log in base 10, following the selected rounding direction, of a positive value.
     * Returns 0 if given 0.
     */
    function log256(uint256 value, Rounding rounding) internal pure returns (uint256) {
        unchecked {
            uint256 result = log256(value);
            return result + (rounding == Rounding.Up && 1 << (result * 8) < value ? 1 : 0);
        }
    }
}

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

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"_tokenId","type":"uint256"},{"indexed":true,"internalType":"string","name":"_btcAddress","type":"string"},{"indexed":false,"internalType":"uint256","name":"_number","type":"uint256"},{"indexed":false,"internalType":"string","name":"_inscription","type":"string"}],"name":"bridgeEvent","type":"event"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"bridgeOpen","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bool","name":"_open","type":"bool"}],"name":"bridgeState","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"},{"internalType":"string","name":"_inscription","type":"string"},{"internalType":"uint256","name":"_ordinalId","type":"uint256"},{"internalType":"string","name":"_btcAddress","type":"string"},{"internalType":"bytes32[]","name":"_p","type":"bytes32[]"}],"name":"bridgeToBitcoin","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"burnForOther","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"}],"name":"changeNullishContract","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_isPreviewOnChain","type":"bool"},{"internalType":"string","name":"_renderURI","type":"string"}],"name":"changePreviewImage","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_root","type":"bytes32"}],"name":"editRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_changeBy","type":"uint256"},{"internalType":"bool","name":"_decrementMode","type":"bool"}],"name":"fixIdVariation","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"getBrigedTokenInscription","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"getBrigedTokenOrdinalId","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"getBrigedTokenReceiverAddress","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"getBrigedTokenTimestampAndOrdinalId","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"oblivionContract","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"root","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"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"}]

60806040527348e934457d3082cd4068d10c80daace98378409f600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055507f3ee8659e6c5fc3c8c2d3c639960156126678b54edbedcb2d69efcf7087e5e2cf60001b6009556001601260006101000a81548160ff02191690831515021790555061dead601260016101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550348015620000eb57600080fd5b506040518060400160405280601b81526020017f4f6e207468652045646765206f66204f626c6976696f6e2053425400000000008152506040518060400160405280600981526020017f534f554c424f554e44000000000000000000000000000000000000000000000081525081600090805190602001906200017092919062000976565b5080600190805190602001906200018992919062000976565b505050620001ac620001a06200024960201b60201c565b6200025160201b60201c565b60016007819055506363e30483600b60006001815260200190815260200160002081905550604051806080016040528060428152602001620066c560429139600d60006001815260200190815260200160002090805190602001906200021492919062000976565b506126fa600c60006001815260200190815260200160002081905550620002433360016200031760201b60201c565b62000eca565b600033905090565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b620003398282604051806020016040528060008152506200033d60201b60201c565b5050565b6200034f8383620003ab60201b60201c565b620003646000848484620005f160201b60201c565b620003a6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016200039d9062000aad565b60405180910390fd5b505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036200041d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620004149062000b1f565b60405180910390fd5b6200042e816200079a60201b60201c565b1562000471576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620004689062000b91565b60405180910390fd5b62000487600083836001620007e360201b60201c565b62000498816200079a60201b60201c565b15620004db576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620004d29062000b91565b60405180910390fd5b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282540192505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4620005ed6000838360016200091060201b60201c565b5050565b60006200061f8473ffffffffffffffffffffffffffffffffffffffff166200091660201b620015911760201c565b156200078d578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02620006516200024960201b60201c565b8786866040518563ffffffff1660e01b815260040162000675949392919062000cb7565b6020604051808303816000875af1925050508015620006b457506040513d601f19601f82011682018060405250810190620006b1919062000d6d565b60015b6200073c573d8060008114620006e7576040519150601f19603f3d011682016040523d82523d6000602084013e620006ec565b606091505b50600081510362000734576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016200072b9062000aad565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161491505062000792565b600190505b949350505050565b60008073ffffffffffffffffffffffffffffffffffffffff16620007c4836200093960201b60201c565b73ffffffffffffffffffffffffffffffffffffffff1614159050919050565b60018111156200090a57600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16146200087b5780600360008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825462000873919062000dce565b925050819055505b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614620009095780600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825462000901919062000e09565b925050819055505b5b50505050565b50505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b60006002600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b828054620009849062000e95565b90600052602060002090601f016020900481019282620009a85760008555620009f4565b82601f10620009c357805160ff1916838001178555620009f4565b82800160010185558215620009f4579182015b82811115620009f3578251825591602001919060010190620009d6565b5b50905062000a03919062000a07565b5090565b5b8082111562000a2257600081600090555060010162000a08565b5090565b600082825260208201905092915050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b600062000a9560328362000a26565b915062000aa28262000a37565b604082019050919050565b6000602082019050818103600083015262000ac88162000a86565b9050919050565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b600062000b0760208362000a26565b915062000b148262000acf565b602082019050919050565b6000602082019050818103600083015262000b3a8162000af8565b9050919050565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b600062000b79601c8362000a26565b915062000b868262000b41565b602082019050919050565b6000602082019050818103600083015262000bac8162000b6a565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600062000be08262000bb3565b9050919050565b62000bf28162000bd3565b82525050565b6000819050919050565b62000c0d8162000bf8565b82525050565b600081519050919050565b600082825260208201905092915050565b60005b8381101562000c4f57808201518184015260208101905062000c32565b8381111562000c5f576000848401525b50505050565b6000601f19601f8301169050919050565b600062000c838262000c13565b62000c8f818562000c1e565b935062000ca181856020860162000c2f565b62000cac8162000c65565b840191505092915050565b600060808201905062000cce600083018762000be7565b62000cdd602083018662000be7565b62000cec604083018562000c02565b818103606083015262000d00818462000c76565b905095945050505050565b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b62000d478162000d10565b811462000d5357600080fd5b50565b60008151905062000d678162000d3c565b92915050565b60006020828403121562000d865762000d8562000d0b565b5b600062000d968482850162000d56565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600062000ddb8262000bf8565b915062000de88362000bf8565b92508282101562000dfe5762000dfd62000d9f565b5b828203905092915050565b600062000e168262000bf8565b915062000e238362000bf8565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111562000e5b5762000e5a62000d9f565b5b828201905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168062000eae57607f821691505b60208210810362000ec45762000ec362000e66565b5b50919050565b6157eb8062000eda6000396000f3fe608060405234801561001057600080fd5b50600436106101e55760003560e01c80636352211e1161010f578063b88d4fde116100a2578063ebf0c71711610071578063ebf0c7171461058a578063f2fde38b146105a8578063f7476649146105c4578063f8d53ae0146105e0576101e5565b8063b88d4fde146104de578063c5ad396b146104fa578063c87b56dd1461052a578063e985e9c51461055a576101e5565b80638da5cb5b116100de5780638da5cb5b1461046a57806395d89b4114610488578063a22cb465146104a6578063b1d15981146104c2576101e5565b80636352211e146103e457806370a0823114610414578063715018a6146104445780637eb3e4c01461044e576101e5565b806326c797691161018757806342966c681161015657806342966c681461035e578063476404e21461037a57806358179c471461039857806363390a0e146103b4576101e5565b806326c79769146102ee5780633eb559df1461030a5780634236bf461461032657806342842e0e14610342576101e5565b806308702e09116101c357806308702e0914610268578063095ea7b3146102865780631877c53c146102a257806323b872dd146102d2576101e5565b806301ffc9a7146101ea57806306fdde031461021a578063081812fc14610238575b600080fd5b61020460048036038101906101ff919061265a565b610610565b60405161021191906126a2565b60405180910390f35b6102226106f2565b60405161022f9190612756565b60405180910390f35b610252600480360381019061024d91906127ae565b610784565b60405161025f919061281c565b60405180910390f35b6102706107ca565b60405161027d91906126a2565b60405180910390f35b6102a0600480360381019061029b9190612863565b6107dd565b005b6102bc60048036038101906102b791906127ae565b610818565b6040516102c991906128b2565b60405180910390f35b6102ec60048036038101906102e791906128cd565b610835565b005b610308600480360381019061030391906127ae565b610870565b005b610324600480360381019061031f919061294c565b610955565b005b610340600480360381019061033b9190612ac1565b610982565b005b61035c600480360381019061035791906128cd565b6109bf565b005b610378600480360381019061037391906127ae565b6109fa565b005b610382610a56565b60405161038f919061281c565b60405180910390f35b6103b260048036038101906103ad9190612b1d565b610a7c565b005b6103ce60048036038101906103c991906127ae565b610ac8565b6040516103db91906128b2565b60405180910390f35b6103fe60048036038101906103f991906127ae565b610ada565b60405161040b919061281c565b60405180910390f35b61042e60048036038101906104299190612b1d565b610b60565b60405161043b91906128b2565b60405180910390f35b61044c610c17565b005b61046860048036038101906104639190612baa565b610c2b565b005b610472610fc3565b60405161047f919061281c565b60405180910390f35b610490610fed565b60405161049d9190612756565b60405180910390f35b6104c060048036038101906104bb9190612c7c565b61107f565b005b6104dc60048036038101906104d79190612cbc565b6110ba565b005b6104f860048036038101906104f39190612d8a565b6110df565b005b610514600480360381019061050f91906127ae565b61111a565b6040516105219190612756565b60405180910390f35b610544600480360381019061053f91906127ae565b6111bf565b6040516105519190612756565b60405180910390f35b610574600480360381019061056f9190612e0d565b6113bd565b60405161058191906126a2565b60405180910390f35b610592611451565b60405161059f9190612e66565b60405180910390f35b6105c260048036038101906105bd9190612b1d565b611457565b005b6105de60048036038101906105d99190612ead565b6114da565b005b6105fa60048036038101906105f591906127ae565b6114ec565b6040516106079190612756565b60405180910390f35b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806106db57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806106eb57506106ea826115b4565b5b9050919050565b60606000805461070190612f09565b80601f016020809104026020016040519081016040528092919081815260200182805461072d90612f09565b801561077a5780601f1061074f5761010080835404028352916020019161077a565b820191906000526020600020905b81548152906001019060200180831161075d57829003601f168201915b5050505050905090565b600061078f8261161e565b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b600a60009054906101000a900460ff1681565b6040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161080f90612f86565b60405180910390fd5b6000600b6000838152602001908152602001600020549050919050565b6040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161086790612f86565b60405180910390fd5b80601260019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146108cb57600080fd5b6108d481610ada565b73ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff16148061093f5750610910610fc3565b73ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff16145b61094857600080fd5b61095182611669565b5050565b61095d6117b7565b8160108190555080600f60006101000a81548160ff0219169083151502179055505050565b61098a6117b7565b80601190805190602001906109a0929190612529565b5081601260006101000a81548160ff0219169083151502179055505050565b6040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109f190612f86565b60405180910390fd5b610a0b610a05611835565b8261183d565b610a4a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a4190613018565b60405180910390fd5b610a5381611669565b50565b600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b610a846117b7565b80601260016101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6000610ad3826118d2565b9050919050565b600080610ae68361193a565b9050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603610b57576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b4e90613084565b60405180910390fd5b80915050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603610bd0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bc790613116565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b610c1f6117b7565b610c296000611977565b565b610c33611a3d565b6000610cad838380806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f82011690508083019250505050505050600954898989604051602001610c9293929190613193565b60405160208183030381529060405280519060200120611a8c565b905080610cef576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ce69061328a565b60405180910390fd5b600a60009054906101000a900460ff16610d3e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d35906132f6565b60405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff16600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16636352211e896040518263ffffffff1660e01b8152600401610db091906128b2565b602060405180830381865afa158015610dcd573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610df1919061332b565b73ffffffffffffffffffffffffffffffffffffffff1614610e47576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e3e906133ca565b60405180910390fd5b600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166323b872dd33308a6040518463ffffffff1660e01b8152600401610ea6939291906133ea565b600060405180830381600087803b158015610ec057600080fd5b505af1158015610ed4573d6000803e3d6000fd5b5050505083600e60008981526020019081526020016000209080519060200190610eff929190612529565b5042600b60008981526020019081526020016000208190555085600d60008981526020019081526020016000209080519060200190610f3f929190612529565b5084600c600089815260200190815260200160002081905550610f623388611aa3565b83604051610f709190613421565b6040518091039020877f368e111c62ce217a888796c64882bf73736b5b5dd15aedab4f8339a483ffa0638789604051610faa929190613438565b60405180910390a350610fbb611ac1565b505050505050565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b606060018054610ffc90612f09565b80601f016020809104026020016040519081016040528092919081815260200182805461102890612f09565b80156110755780601f1061104a57610100808354040283529160200191611075565b820191906000526020600020905b81548152906001019060200180831161105857829003601f168201915b5050505050905090565b6040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110b190612f86565b60405180910390fd5b6110c26117b7565b80600a60006101000a81548160ff02191690831515021790555050565b6040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161111190612f86565b60405180910390fd5b6060600d6000838152602001908152602001600020805461113a90612f09565b80601f016020809104026020016040519081016040528092919081815260200182805461116690612f09565b80156111b35780601f10611188576101008083540402835291602001916111b3565b820191906000526020600020905b81548152906001019060200180831161119657829003601f168201915b50505050509050919050565b60606111ca82611acb565b611209576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611200906134da565b60405180910390fd5b600061123461121784611b0c565b60006003811061122a576112296134fa565b5b6020020151611bfc565b61125d61124085611b0c565b600160038110611253576112526134fa565b5b6020020151611bfc565b61128661126986611b0c565b60026003811061127c5761127b6134fa565b5b6020020151611bfc565b6112a2600b600088815260200190815260200160002054611bfc565b600d60008881526020019081526020016000206112c66112c1896118d2565b611bfc565b6040516020016112db9695949392919061439a565b60405160208183030381529060405290506000601260009054906101000a900460ff1661133257601161130d85611bfc565b60405160200161131e92919061443f565b604051602081830303815290604052611351565b60405160200161134190614e6a565b6040516020818303038152906040525b9050600061135e85611bfc565b61136784611d5c565b8360405160200161137a939291906150df565b604051602081830303815290604052905061139481611d5c565b6040516020016113a49190615188565b6040516020818303038152906040529350505050919050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b60095481565b61145f6117b7565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16036114ce576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114c59061521c565b60405180910390fd5b6114d781611977565b50565b6114e26117b7565b8060098190555050565b6060600e6000838152602001908152602001600020805461150c90612f09565b80601f016020809104026020016040519081016040528092919081815260200182805461153890612f09565b80156115855780601f1061155a57610100808354040283529160200191611585565b820191906000526020600020905b81548152906001019060200180831161156857829003601f168201915b50505050509050919050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b61162781611acb565b611666576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161165d90613084565b60405180910390fd5b50565b600061167482610ada565b9050611684816000846001611ef3565b61168d82610ada565b90506004600083815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff02191690556001600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825403925050819055506002600083815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff021916905581600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46117b3816000846001612019565b5050565b6117bf611835565b73ffffffffffffffffffffffffffffffffffffffff166117dd610fc3565b73ffffffffffffffffffffffffffffffffffffffff1614611833576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161182a90615288565b60405180910390fd5b565b600033905090565b60008061184983610ada565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16148061188b575061188a81856113bd565b5b806118c957508373ffffffffffffffffffffffffffffffffffffffff166118b184610784565b73ffffffffffffffffffffffffffffffffffffffff16145b91505092915050565b6000600f60009054906101000a900460ff161561191157601054600c60008481526020019081526020016000205461190a91906152d7565b9050611935565b601054600c600084815260200190815260200160002054611932919061530b565b90505b919050565b60006002600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600260075403611a82576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a79906153ad565b60405180910390fd5b6002600781905550565b600082611a99858461201f565b1490509392505050565b611abd828260405180602001604052806000815250612075565b5050565b6001600781905550565b60008073ffffffffffffffffffffffffffffffffffffffff16611aed8361193a565b73ffffffffffffffffffffffffffffffffffffffff1614159050919050565b611b146125af565b6040518060600160405280611b626001600a6040518060400160405280600581526020017f706f776572000000000000000000000000000000000000000000000000000000815250876120d0565b8152602001611baa6001600a6040518060400160405280600c81526020017f6576656e74486f72697a6f6e0000000000000000000000000000000000000000815250876120d0565b8152602001611bf26001600a6040518060400160405280600981526020017f726164696174696f6e0000000000000000000000000000000000000000000000815250876120d0565b8152509050919050565b606060008203611c43576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050611d57565b600082905060005b60008214611c75578080611c5e906153cd565b915050600a82611c6e9190615444565b9150611c4b565b60008167ffffffffffffffff811115611c9157611c90612996565b5b6040519080825280601f01601f191660200182016040528015611cc35781602001600182028036833780820191505090505b5090505b60008514611d5057600182611cdc91906152d7565b9150600a85611ceb9190615475565b6030611cf7919061530b565b60f81b818381518110611d0d57611d0c6134fa565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85611d499190615444565b9450611cc7565b8093505050505b919050565b606060008251905060008103611d845760405180602001604052806000815250915050611eee565b60006003600283611d95919061530b565b611d9f9190615444565b6004611dab91906154a6565b90506000602082611dbc919061530b565b67ffffffffffffffff811115611dd557611dd4612996565b5b6040519080825280601f01601f191660200182016040528015611e075781602001600182028036833780820191505090505b5090506000604051806060016040528060408152602001615776604091399050600181016020830160005b86811015611eab5760038101905062ffffff818a015116603f8160121c168401518060081b905060ff603f83600c1c1686015116810190508060081b905060ff603f8360061c1686015116810190508060081b905060ff603f831686015116810190508060e01b90508084526004840193505050611e32565b506003860660018114611ec55760028114611ed557611ee0565b613d3d60f01b6002830352611ee0565b603d60f81b60018303525b508484525050819450505050505b919050565b600181111561201357600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614611f875780600360008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611f7f91906152d7565b925050819055505b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16146120125780600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461200a919061530b565b925050819055505b5b50505050565b50505050565b60008082905060005b845181101561206a5761205582868381518110612048576120476134fa565b5b6020026020010151612143565b91508080612062906153cd565b915050612028565b508091505092915050565b61207f838361216e565b61208c600084848461238b565b6120cb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120c290615572565b60405180910390fd5b505050565b60008085856120df91906152d7565b9050600060018286866040516020016120f9929190615592565b6040516020818303038152906040528051906020012060001c61211c9190615475565b612126919061530b565b90508681612134919061530b565b90508092505050949350505050565b600081831061215b576121568284612512565b612166565b6121658383612512565b5b905092915050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036121dd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121d490615606565b60405180910390fd5b6121e681611acb565b15612226576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161221d90615672565b60405180910390fd5b612234600083836001611ef3565b61223d81611acb565b1561227d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161227490615672565b60405180910390fd5b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282540192505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4612387600083836001612019565b5050565b60006123ac8473ffffffffffffffffffffffffffffffffffffffff16611591565b15612505578373ffffffffffffffffffffffffffffffffffffffff1663150b7a026123d5611835565b8786866040518563ffffffff1660e01b81526004016123f794939291906156e7565b6020604051808303816000875af192505050801561243357506040513d601f19601f820116820180604052508101906124309190615748565b60015b6124b5573d8060008114612463576040519150601f19603f3d011682016040523d82523d6000602084013e612468565b606091505b5060008151036124ad576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124a490615572565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161491505061250a565b600190505b949350505050565b600082600052816020526040600020905092915050565b82805461253590612f09565b90600052602060002090601f016020900481019282612557576000855561259e565b82601f1061257057805160ff191683800117855561259e565b8280016001018555821561259e579182015b8281111561259d578251825591602001919060010190612582565b5b5090506125ab91906125d1565b5090565b6040518060600160405280600390602082028036833780820191505090505090565b5b808211156125ea5760008160009055506001016125d2565b5090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b61263781612602565b811461264257600080fd5b50565b6000813590506126548161262e565b92915050565b6000602082840312156126705761266f6125f8565b5b600061267e84828501612645565b91505092915050565b60008115159050919050565b61269c81612687565b82525050565b60006020820190506126b76000830184612693565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b838110156126f75780820151818401526020810190506126dc565b83811115612706576000848401525b50505050565b6000601f19601f8301169050919050565b6000612728826126bd565b61273281856126c8565b93506127428185602086016126d9565b61274b8161270c565b840191505092915050565b60006020820190508181036000830152612770818461271d565b905092915050565b6000819050919050565b61278b81612778565b811461279657600080fd5b50565b6000813590506127a881612782565b92915050565b6000602082840312156127c4576127c36125f8565b5b60006127d284828501612799565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000612806826127db565b9050919050565b612816816127fb565b82525050565b6000602082019050612831600083018461280d565b92915050565b612840816127fb565b811461284b57600080fd5b50565b60008135905061285d81612837565b92915050565b6000806040838503121561287a576128796125f8565b5b60006128888582860161284e565b925050602061289985828601612799565b9150509250929050565b6128ac81612778565b82525050565b60006020820190506128c760008301846128a3565b92915050565b6000806000606084860312156128e6576128e56125f8565b5b60006128f48682870161284e565b93505060206129058682870161284e565b925050604061291686828701612799565b9150509250925092565b61292981612687565b811461293457600080fd5b50565b60008135905061294681612920565b92915050565b60008060408385031215612963576129626125f8565b5b600061297185828601612799565b925050602061298285828601612937565b9150509250929050565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6129ce8261270c565b810181811067ffffffffffffffff821117156129ed576129ec612996565b5b80604052505050565b6000612a006125ee565b9050612a0c82826129c5565b919050565b600067ffffffffffffffff821115612a2c57612a2b612996565b5b612a358261270c565b9050602081019050919050565b82818337600083830152505050565b6000612a64612a5f84612a11565b6129f6565b905082815260208101848484011115612a8057612a7f612991565b5b612a8b848285612a42565b509392505050565b600082601f830112612aa857612aa761298c565b5b8135612ab8848260208601612a51565b91505092915050565b60008060408385031215612ad857612ad76125f8565b5b6000612ae685828601612937565b925050602083013567ffffffffffffffff811115612b0757612b066125fd565b5b612b1385828601612a93565b9150509250929050565b600060208284031215612b3357612b326125f8565b5b6000612b418482850161284e565b91505092915050565b600080fd5b600080fd5b60008083601f840112612b6a57612b6961298c565b5b8235905067ffffffffffffffff811115612b8757612b86612b4a565b5b602083019150836020820283011115612ba357612ba2612b4f565b5b9250929050565b60008060008060008060a08789031215612bc757612bc66125f8565b5b6000612bd589828a01612799565b965050602087013567ffffffffffffffff811115612bf657612bf56125fd565b5b612c0289828a01612a93565b9550506040612c1389828a01612799565b945050606087013567ffffffffffffffff811115612c3457612c336125fd565b5b612c4089828a01612a93565b935050608087013567ffffffffffffffff811115612c6157612c606125fd565b5b612c6d89828a01612b54565b92509250509295509295509295565b60008060408385031215612c9357612c926125f8565b5b6000612ca18582860161284e565b9250506020612cb285828601612937565b9150509250929050565b600060208284031215612cd257612cd16125f8565b5b6000612ce084828501612937565b91505092915050565b600067ffffffffffffffff821115612d0457612d03612996565b5b612d0d8261270c565b9050602081019050919050565b6000612d2d612d2884612ce9565b6129f6565b905082815260208101848484011115612d4957612d48612991565b5b612d54848285612a42565b509392505050565b600082601f830112612d7157612d7061298c565b5b8135612d81848260208601612d1a565b91505092915050565b60008060008060808587031215612da457612da36125f8565b5b6000612db28782880161284e565b9450506020612dc38782880161284e565b9350506040612dd487828801612799565b925050606085013567ffffffffffffffff811115612df557612df46125fd565b5b612e0187828801612d5c565b91505092959194509250565b60008060408385031215612e2457612e236125f8565b5b6000612e328582860161284e565b9250506020612e438582860161284e565b9150509250929050565b6000819050919050565b612e6081612e4d565b82525050565b6000602082019050612e7b6000830184612e57565b92915050565b612e8a81612e4d565b8114612e9557600080fd5b50565b600081359050612ea781612e81565b92915050565b600060208284031215612ec357612ec26125f8565b5b6000612ed184828501612e98565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680612f2157607f821691505b602082108103612f3457612f33612eda565b5b50919050565b7f5468697320746f6b656e20697320736f756c626f756e642e0000000000000000600082015250565b6000612f706018836126c8565b9150612f7b82612f3a565b602082019050919050565b60006020820190508181036000830152612f9f81612f63565b9050919050565b7f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560008201527f72206f7220617070726f76656400000000000000000000000000000000000000602082015250565b6000613002602d836126c8565b915061300d82612fa6565b604082019050919050565b6000602082019050818103600083015261303181612ff5565b9050919050565b7f4552433732313a20696e76616c696420746f6b656e2049440000000000000000600082015250565b600061306e6018836126c8565b915061307982613038565b602082019050919050565b6000602082019050818103600083015261309d81613061565b9050919050565b7f4552433732313a2061646472657373207a65726f206973206e6f74206120766160008201527f6c6964206f776e65720000000000000000000000000000000000000000000000602082015250565b60006131006029836126c8565b915061310b826130a4565b604082019050919050565b6000602082019050818103600083015261312f816130f3565b9050919050565b6000819050919050565b61315161314c82612778565b613136565b82525050565b600081905092915050565b600061316d826126bd565b6131778185613157565b93506131878185602086016126d9565b80840191505092915050565b600061319f8286613140565b6020820191506131af8285613162565b91506131bb8284613140565b602082019150819050949350505050565b7f596f75206d75737420696e73637269626520612076616c696420636f6d62696e60008201527f6174696f6e206f663a20746f6b656e2049442c20696e736372697074696f6e2060208201527f616e64206f7264696e616c206e756d6265722e2054686973206973207665726960408201527f6669656420627920746865206d65726b6c6520726f6f742e0000000000000000606082015250565b60006132746078836126c8565b915061327f826131cc565b608082019050919050565b600060208201905081810360008301526132a381613267565b9050919050565b7f427269646765206d757374206265206f70656e2e000000000000000000000000600082015250565b60006132e06014836126c8565b91506132eb826132aa565b602082019050919050565b6000602082019050818103600083015261330f816132d3565b9050919050565b60008151905061332581612837565b92915050565b600060208284031215613341576133406125f8565b5b600061334f84828501613316565b91505092915050565b7f4d757374206f776e204f626c6976696f6e20746f2062726964676520746f204260008201527f6974636f696e204f7264696e616c2073746174652e0000000000000000000000602082015250565b60006133b46035836126c8565b91506133bf82613358565b604082019050919050565b600060208201905081810360008301526133e3816133a7565b9050919050565b60006060820190506133ff600083018661280d565b61340c602083018561280d565b61341960408301846128a3565b949350505050565b600061342d8284613162565b915081905092915050565b600060408201905061344d60008301856128a3565b818103602083015261345f818461271d565b90509392505050565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b60006134c4602f836126c8565b91506134cf82613468565b604082019050919050565b600060208201905081810360008301526134f3816134b7565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f3c68746d6c3e203c686561643e203c7374796c653e20626f6479207b206d617260008201527f67696e3a303b206261636b67726f756e643a20233030303b206f766572666c6f60208201527f773a2068696464656e3b207d2063616e766173207b20626f74746f6d3a20303b60408201527f206865696768743a2031303076773b206c6566743a20303b206d617267696e3a60608201527f206175746f3b206d61782d6865696768743a2031303076683b206d61782d776960808201527f6474683a2031303076683b20706f736974696f6e3a206162736f6c7574653b2060a08201527f72696768743a20303b20746f703a20303b2077696474683a2031303076773b2060c08201527f7d202e74657874207b20636f6c6f723a77686974653b20706f736974696f6e3a60e08201527f206162736f6c7574653b20746f703a20303b206c6566743a20303b20666f6e746101008201527f2d66616d696c793a436f75726965723b2070616464696e673a3276773b20666f6101208201527f6e742d73697a653a3176773b207d203c2f7374796c653e203c2f686561643e206101408201527f3c626f64793e203c63616e7661732069643d2263616e766173223e3c2f63616e6101608201527f7661733e203c2f626f64793e203c2f68746d6c3e203c7363726970743e2076616101808201527f7220706f776572203d2031392b322a00000000000000000000000000000000006101a082015250565b60006137546101af83613157565b915061375f82613529565b6101af82019050919050565b7f3b766172206576656e74486f72697a6f6e203d20000000000000000000000000600082015250565b60006137a1601483613157565b91506137ac8261376b565b601482019050919050565b7f3b76617220726164696174696f6e203d203139202b332a000000000000000000600082015250565b60006137ed601783613157565b91506137f8826137b7565b601782019050919050565b7f3b66756e6374696f6e206f6e546865456467654f664f626c6976696f6e28702c60008201527f712c72297b66756e6374696f6e206a28612c62297b72657475726e20623d612c60208201527f613d2d323530302f28313032342f68292c4d6174682e666c6f6f72284d61746860408201527f2e72616e646f6d28292a28622d612b3129292b613b7d76617220663d646f637560608201527f6d656e742e717565727953656c6563746f72282263616e76617322292c673d6660808201527f2e676574436f6e746578742822326422292c683d662e77696474683d3132353060a08201527f2c6e3d662e6865696768743d313235302c693d5b5d2c6b3d302c6c3d3430303060c08201527f2b702a313030303b7661722074696d655374616d70203d20000000000000000060e082015250565b600061394360f883613157565b915061394e82613803565b60f882019050919050565b7f2a313030302c64617465466f726d6174203d206e657720446174652874696d6560008201527f5374616d70292c646179203d2064617465466f726d61742e676574446174652860208201527f292c6461795375666669786573203d205b227374222c20226e64222c2022726460408201527f222c20227468222c20227468222c20227468222c20227468222c20227468222c60608201527f20227468222c20227468222c20227468222c20227468222c20227468222c202260808201527f7468222c20227468222c227468222c227468222c227468222c227468222c227460a08201527f68222c227374222c226e64222c227264222c227468222c227468222c2274682260c08201527f2c227468222c227468222c227468222c227468222c227374225d2c6d6f6e746860e08201527f203d2064617465466f726d61742e6765744d6f6e746828292c6d6f6e74684e616101008201527f6d6573203d205b224a616e75617279222c20224665627275617279222c20224d6101208201527f61726368222c2022417072696c222c20224d6179222c20224a756e65222c224a6101408201527f756c79222c2022417567757374222c202253657074656d626572222c20224f636101608201527f746f626572222c20224e6f76656d626572222c2022446563656d626572225d2c6101808201527f79656172203d2064617465466f726d61742e67657446756c6c5965617228293b6101a08201527f672e666f6e74203d2022626f6c64203234707820436f7572696572223b672e666101c08201527f696c6c5374796c65203d202267726579223b672e74657874416c69676e203d206101e08201527f227374617274223b672e66696c6c54657874282242726964676564206f6e20226102008201527f202b2028286d6f6e74684e616d65735b64617465466f726d61742e6765744d6f6102208201527f6e746828295d292b20222022202b2064617465466f726d61742e6765744461746102408201527f652829202b2064617953756666697865735b64617465466f726d61742e6765746102608201527f446174652829202d20315d202b20222c2022202b2064617465466f726d61742e6102808201527f67657446756c6c596561722829292c20682a302e3032352c20302e3032352a6e6102a08201527f293b672e66696c6c5465787428220000000000000000000000000000000000006102c082015250565b6000613ce36102ce83613157565b9150613cee82613959565b6102ce82019050919050565b60008190508160005260206000209050919050565b60008154613d1c81612f09565b613d268186613157565b94506001821660008114613d415760018114613d5257613d85565b60ff19831686528186019350613d85565b613d5b85613cfa565b60005b83811015613d7d57815481890152600182019150602081019050613d5e565b838801955050505b50505092915050565b7f222c20682a302e3032352c20302e3937352a6e293b672e74657874416c69676e60008201527f203d2022656e64223b672e66696c6c546578742822536f756c626f756e64205460208201527f6f6b656e222c20682a302e3937352c20302e3032352a6e293b672e66696c6c5460408201527f6578742822230000000000000000000000000000000000000000000000000000606082015250565b6000613e36606683613157565b9150613e4182613d8e565b606682019050919050565b7f222c20682a302e3937352c20302e3937352a6e293b7661722063203d20646f6360008201527f756d656e742e637265617465456c656d656e74282263616e76617322292c206460208201527f203d20632e676574436f6e746578742822326422293b20632e7769647468203d60408201527f20313530302c20632e686569676874203d20313530303b207661722061203d2060608201527f632e7769647468202f20323b207661722065203d20642e63726561746552616460808201527f69616c4772616469656e7428612c20612c20302c20612c20612c2061293b206560a08201527f2e616464436f6c6f7253746f7028302e31202f203130302c202223666666222960c08201527f2c20652e616464436f6c6f7253746f7028302e35202f203130302c202268736c60e08201527f2832352c203630252c203135252922292c20652e616464436f6c6f7253746f706101008201527f283335202f203130302c202268736c2832352c3635252c31252922292c20652e6101208201527f616464436f6c6f7253746f7028302e392c20227472616e73706172656e7422296101408201527f2c20642e66696c6c5374796c65203d20652c20642e626567696e5061746828296101608201527f2c20642e61726328612c20612c20612c20312c204d6174682e5049202a2032296101808201527f2c20642e66696c6c28293b20766172206d203d2066756e6374696f6e2829207b6101a08201527f20746869732e6f52203d206a282d68202f20283136202d207129292c207468696101c08201527f732e726164697573203d206a283130302c20746869732e6f5229202f20352c206101e08201527f746869732e6f58203d2068202f20322c20746869732e6f59203d206e202f20326102008201527f2c20746869732e6d6174746572203d206a28302c206c292c20746869732e70616102208201527f72616d5a203d20302e32202f20313030202a2072202b20372e35202f203130306102408201527f2c206b2b2b2c20695b6b5d203d20746869733b207d3b206d2e70726f746f74796102608201527f70652e64726177203d2066756e6374696f6e2829207b207661722061203d204d6102808201527f6174682e73696e28746869732e6d617474657229202a20746869732e6f52202b6102a08201527f20746869732e6f582c2062203d204d6174682e636f7328746869732e6d6174746102c08201527f657229202a20746869732e6f52202f2031202b20746869732e6f593b20672e676102e08201527f6c6f62616c416c706861203d20746869732e706172616d5a2c20672e647261776103008201527f496d61676528632c2061202d20746869732e726164697573202f20322c2062206103208201527f2d20746869732e726164697573202f20322c20746869732e7261646975732c206103408201527f746869732e726164697573293b207d3b20666f7220287661722062203d20303b6103608201527f2062203c206c3b20622b2b29206e6577206d28293b20666f72202876617220626103808201527f203d20312c206f203d20692e6c656e6774683b2062203c206f3b20622b2b29206103a08201527f672e676c6f62616c436f6d706f736974654f7065726174696f6e203d20226c696103c08201527f6768746572222c20695b625d2e6472617728293b207d3b206f6e5468654564676103e08201527f654f664f626c6976696f6e28706f7765722c206576656e74486f72697a6f6e2c6104008201527f20726164696174696f6e293b203c2f7363726970743e0000000000000000000061042082015250565b600061438361043683613157565b915061438e82613e4c565b61043682019050919050565b60006143a582613746565b91506143b18289613162565b91506143bc82613794565b91506143c88288613162565b91506143d3826137e0565b91506143df8287613162565b91506143ea82613936565b91506143f68286613162565b915061440182613cd5565b915061440d8285613d0f565b915061441882613e29565b91506144248284613162565b915061442f82614375565b9150819050979650505050505050565b600061444b8285613d0f565b91506144578284613162565b91508190509392505050565b7f646174613a696d6167652f7376672b786d6c3b6261736536342c50484e325a7960008201527f427a64486c735a543069596d466a61326479623356755a43316a62327876636a60208201527f6f6a4d44417749694277636d567a5a584a325a55467a6347566a64464a68644760408201527f6c7650534a3454576c7557553170626942745a5756304969423261575633516d60608201527f393450534977494441674e7a5577494463314d43496765473173626e4d39496d60808201527f6830644841364c79393364336375647a4d7562334a6e4c7a49774d444176633360a08201527f5a6e496a346750475a706248526c636942705a4430695969492b4944786d5a5660c08201527f5231636d4a316247567559325567596d467a5a555a795a5846315a57356a655460e08201527f30694d4334794969382b4944786d5a554e766247397954574630636d6c3449486101008201527f5a686248566c637a30694d434177494441674f5341744e534177494441674d436101208201527f413549433031494441674d43417749446b674c5455674d434177494441674d436101408201527f41784969382b494477765a6d6c736447567950694138636d566a6443423361576101608201527f5230614430694d5441774a534967614756705a326830505349784d44416c49696101808201527f426d615778305a584939496e56796243676a59696b694947397759574e7064486101a08201527f6b39496934314969382b4944786a61584a6a6247556759336739496a55774a536101c08201527f496759336b39496a55774a534967636a30694d6a416c4969382b4944786b5a576101e08201527f5a7a494868746247357a50534a6f644852774f693876643364334c6e637a4c6d6102008201527f39795a7938794d4441774c334e325a79492b4944786d615778305a58496761576102208201527f5139496d456949486739496a416c49694235505349774a53496765473173626e6102408201527f4d39496d6830644841364c79393364336375647a4d7562334a6e4c7a49774d446102608201527f417663335a6e496a346750475a6c56485679596e56735a57356a5a53426959586102808201527f4e6c526e4a6c6358566c626d4e35505349774c6a41774d4455674d53343149696102a08201527f42756457315059335268646d567a505349784d434967636d567a6457783050536102c08201527f4a3064584a696457786c626d4e6c4969427a5a57566b505349304e545131496a6102e08201527f346750474675615731686447556759585230636d6c696458526c546d46745a546103008201527f30696332566c5a43496759324673593031765a475539496d527063324e795a586103208201527f526c4969426b64584939496a41754d6a567a496942795a58426c5958524462336103408201527f5675644430696157356b5a575a70626d6c305a534967646d46736457567a50536103608201527f49784f7a49374d7a73304f7a55374e6a73334f7a67374f5473694c7a346750436103808201527f396d5a565231636d4a31624756755932552b4944786d5a5552706333427359576103a08201527f4e6c625756756445316863434270626a306955323931636d4e6c52334a6863476103c08201527f6870597949676157347950534a3064584a696457786c626d4e6c4969427a59326103e08201527f46735a5430694e5441694948684461474675626d5673553256735a574e3062336104008201527f4939496c496949486c4461474675626d5673553256735a574e3062334939496b6104208201527f63694c7a34675043396d615778305a58492b494477765a47566d637a346750476104408201527f636761575139496a456949475a706248526c636a306964584a734b434e684b536104608201527f4269624856794b44567765436b694947397759574e7064486b39496a55774a536104808201527f496765473173626e4d39496d6830644841364c79393364336375647a4d7562336104a08201527f4a6e4c7a49774d44417663335a6e496a34675047636764484a68626e4e6d62336104c08201527f4a7450534a30636d4675633278686447556f4c544577494330344b53492b49446104e08201527f786a61584a6a6247556761575139496d4d6949474e34505349314d43556949476105008201527f4e35505349314d43556949484939496a45324a534967633352796232746c50536105208201527f496a5a6d5a6d4969382b494477765a7a34675043396e506941385a79426d61576105408201527f78305a584939496e56796243676a59536b67596d7831636967316348677049696105608201527f42766347466a61585235505349314d435569494868746247357a50534a6f64486105808201527f52774f693876643364334c6e637a4c6d39795a7938794d4441774c334e325a796105a08201527f492b4944786e494852795957357a5a6d39796254306964484a68626e4e7359586105c08201527f526c4b4330784d4341744f436b695069413859326c795932786c49474e3450536105e08201527f49314d43556949474e35505349314d43556949484939496a45304a53496763336106008201527f52796232746c5053496a5a6d5a6d4969382b494477765a7a34675043396e50696106208201527f413859326c795932786c49474e34505349314d43556949474e35505349314d436106408201527f556949484939496a45784a534976506941386447563464434234505349314d436106608201527f556949486b39496a51324a5349675a47397461573568626e5174596d467a5a576106808201527f7870626d5539496d31705a4752735a5349675a6d6c73624430696432687064476106a08201527f556949475a76626e51745a6d46746157783550534a44623356796157567949696106c08201527f426d623235304c584e70656d5539496a4d77634867694947397759574e7064486106e08201527f6b3949693432496942305a5868304c57467559326876636a306962576c6b5a476107008201527f786c496a355054694255534555675255524852534250526a77766447563464446107208201527f34675048526c65485167654430694e54416c49694235505349314d79556949476107408201527f527662576c75595735304c574a68633256736157356c50534a746157526b62476107608201527f556949475a7062477739496e646f6158526c4969426d623235304c575a6862576107808201527f6c736554306951323931636d6c6c636949675a6d39756443317a6158706c50536107a08201527f49334e584234496942766347466a61585235505349754e6949676447563464436107c08201527f3168626d4e6f62334939496d31705a4752735a53492b54304a4d53565a4a54306107e08201527f34384c33526c6548512b4944777663335a6e50673d3d0000000000000000000061080082015250565b6000614e5361081683613157565b9150614e5e82614463565b61081682019050919050565b6000614e7582614e45565b9150819050919050565b7f7b226e616d65223a20224f6e207468652045646765206f66204f626c6976696f60008201527f6e20230000000000000000000000000000000000000000000000000000000000602082015250565b6000614edb602383613157565b9150614ee682614e7f565b602382019050919050565b7f202853425429222c20226465736372697074696f6e223a2022456d6261726b2060008201527f6f6e206120766f7961676520746f20746865206f75746572207265616c6d732060208201527f6f66206f757220756e6976657273652c2077686572652074686520766572792060408201527f666162726963206f6620737061636520616e642074696d65206973206469737460608201527f6f7274656420627920616e206f7665727768656c6d696e6720666f726365206f60808201527f66206772617669747920696e20776179732077652063616e6e6f74207965742060a08201527f636f6d70726568656e642e222c2022616e696d6174696f6e5f75726c223a202260c08201527f646174613a746578742f68746d6c3b6261736536342c0000000000000000000060e082015250565b600061503160f683613157565b915061503c82614ef1565b60f682019050919050565b7f222c22696d616765223a20220000000000000000000000000000000000000000600082015250565b600061507d600c83613157565b915061508882615047565b600c82019050919050565b7f227d000000000000000000000000000000000000000000000000000000000000600082015250565b60006150c9600283613157565b91506150d482615093565b600282019050919050565b60006150ea82614ece565b91506150f68286613162565b915061510182615024565b915061510d8285613162565b915061511882615070565b91506151248284613162565b915061512f826150bc565b9150819050949350505050565b7f646174613a6170706c69636174696f6e2f6a736f6e3b6261736536342c000000600082015250565b6000615172601d83613157565b915061517d8261513c565b601d82019050919050565b600061519382615165565b915061519f8284613162565b915081905092915050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b60006152066026836126c8565b9150615211826151aa565b604082019050919050565b60006020820190508181036000830152615235816151f9565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b60006152726020836126c8565b915061527d8261523c565b602082019050919050565b600060208201905081810360008301526152a181615265565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006152e282612778565b91506152ed83612778565b925082821015615300576152ff6152a8565b5b828203905092915050565b600061531682612778565b915061532183612778565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115615356576153556152a8565b5b828201905092915050565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b6000615397601f836126c8565b91506153a282615361565b602082019050919050565b600060208201905081810360008301526153c68161538a565b9050919050565b60006153d882612778565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff820361540a576154096152a8565b5b600182019050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600061544f82612778565b915061545a83612778565b92508261546a57615469615415565b5b828204905092915050565b600061548082612778565b915061548b83612778565b92508261549b5761549a615415565b5b828206905092915050565b60006154b182612778565b91506154bc83612778565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156154f5576154f46152a8565b5b828202905092915050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b600061555c6032836126c8565b915061556782615500565b604082019050919050565b6000602082019050818103600083015261558b8161554f565b9050919050565b600061559e8285613162565b91506155aa8284613140565b6020820191508190509392505050565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b60006155f06020836126c8565b91506155fb826155ba565b602082019050919050565b6000602082019050818103600083015261561f816155e3565b9050919050565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b600061565c601c836126c8565b915061566782615626565b602082019050919050565b6000602082019050818103600083015261568b8161564f565b9050919050565b600081519050919050565b600082825260208201905092915050565b60006156b982615692565b6156c3818561569d565b93506156d38185602086016126d9565b6156dc8161270c565b840191505092915050565b60006080820190506156fc600083018761280d565b615709602083018661280d565b61571660408301856128a3565b818103606083015261572881846156ae565b905095945050505050565b6000815190506157428161262e565b92915050565b60006020828403121561575e5761575d6125f8565b5b600061576c84828501615733565b9150509291505056fe4142434445464748494a4b4c4d4e4f505152535455565758595a6162636465666768696a6b6c6d6e6f707172737475767778797a303132333435363738392b2fa2646970667358221220a768db05a98d9a122148c7c6f8c01f6b26901cc2d2d323ed3be863aff2e8187364736f6c634300080d0033663064333530343232343931363637303634373038373331363666323631376336333966306533613036333632363030613433626633316234393231303235616930

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106101e55760003560e01c80636352211e1161010f578063b88d4fde116100a2578063ebf0c71711610071578063ebf0c7171461058a578063f2fde38b146105a8578063f7476649146105c4578063f8d53ae0146105e0576101e5565b8063b88d4fde146104de578063c5ad396b146104fa578063c87b56dd1461052a578063e985e9c51461055a576101e5565b80638da5cb5b116100de5780638da5cb5b1461046a57806395d89b4114610488578063a22cb465146104a6578063b1d15981146104c2576101e5565b80636352211e146103e457806370a0823114610414578063715018a6146104445780637eb3e4c01461044e576101e5565b806326c797691161018757806342966c681161015657806342966c681461035e578063476404e21461037a57806358179c471461039857806363390a0e146103b4576101e5565b806326c79769146102ee5780633eb559df1461030a5780634236bf461461032657806342842e0e14610342576101e5565b806308702e09116101c357806308702e0914610268578063095ea7b3146102865780631877c53c146102a257806323b872dd146102d2576101e5565b806301ffc9a7146101ea57806306fdde031461021a578063081812fc14610238575b600080fd5b61020460048036038101906101ff919061265a565b610610565b60405161021191906126a2565b60405180910390f35b6102226106f2565b60405161022f9190612756565b60405180910390f35b610252600480360381019061024d91906127ae565b610784565b60405161025f919061281c565b60405180910390f35b6102706107ca565b60405161027d91906126a2565b60405180910390f35b6102a0600480360381019061029b9190612863565b6107dd565b005b6102bc60048036038101906102b791906127ae565b610818565b6040516102c991906128b2565b60405180910390f35b6102ec60048036038101906102e791906128cd565b610835565b005b610308600480360381019061030391906127ae565b610870565b005b610324600480360381019061031f919061294c565b610955565b005b610340600480360381019061033b9190612ac1565b610982565b005b61035c600480360381019061035791906128cd565b6109bf565b005b610378600480360381019061037391906127ae565b6109fa565b005b610382610a56565b60405161038f919061281c565b60405180910390f35b6103b260048036038101906103ad9190612b1d565b610a7c565b005b6103ce60048036038101906103c991906127ae565b610ac8565b6040516103db91906128b2565b60405180910390f35b6103fe60048036038101906103f991906127ae565b610ada565b60405161040b919061281c565b60405180910390f35b61042e60048036038101906104299190612b1d565b610b60565b60405161043b91906128b2565b60405180910390f35b61044c610c17565b005b61046860048036038101906104639190612baa565b610c2b565b005b610472610fc3565b60405161047f919061281c565b60405180910390f35b610490610fed565b60405161049d9190612756565b60405180910390f35b6104c060048036038101906104bb9190612c7c565b61107f565b005b6104dc60048036038101906104d79190612cbc565b6110ba565b005b6104f860048036038101906104f39190612d8a565b6110df565b005b610514600480360381019061050f91906127ae565b61111a565b6040516105219190612756565b60405180910390f35b610544600480360381019061053f91906127ae565b6111bf565b6040516105519190612756565b60405180910390f35b610574600480360381019061056f9190612e0d565b6113bd565b60405161058191906126a2565b60405180910390f35b610592611451565b60405161059f9190612e66565b60405180910390f35b6105c260048036038101906105bd9190612b1d565b611457565b005b6105de60048036038101906105d99190612ead565b6114da565b005b6105fa60048036038101906105f591906127ae565b6114ec565b6040516106079190612756565b60405180910390f35b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806106db57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806106eb57506106ea826115b4565b5b9050919050565b60606000805461070190612f09565b80601f016020809104026020016040519081016040528092919081815260200182805461072d90612f09565b801561077a5780601f1061074f5761010080835404028352916020019161077a565b820191906000526020600020905b81548152906001019060200180831161075d57829003601f168201915b5050505050905090565b600061078f8261161e565b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b600a60009054906101000a900460ff1681565b6040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161080f90612f86565b60405180910390fd5b6000600b6000838152602001908152602001600020549050919050565b6040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161086790612f86565b60405180910390fd5b80601260019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146108cb57600080fd5b6108d481610ada565b73ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff16148061093f5750610910610fc3565b73ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff16145b61094857600080fd5b61095182611669565b5050565b61095d6117b7565b8160108190555080600f60006101000a81548160ff0219169083151502179055505050565b61098a6117b7565b80601190805190602001906109a0929190612529565b5081601260006101000a81548160ff0219169083151502179055505050565b6040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109f190612f86565b60405180910390fd5b610a0b610a05611835565b8261183d565b610a4a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a4190613018565b60405180910390fd5b610a5381611669565b50565b600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b610a846117b7565b80601260016101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6000610ad3826118d2565b9050919050565b600080610ae68361193a565b9050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603610b57576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b4e90613084565b60405180910390fd5b80915050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603610bd0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bc790613116565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b610c1f6117b7565b610c296000611977565b565b610c33611a3d565b6000610cad838380806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f82011690508083019250505050505050600954898989604051602001610c9293929190613193565b60405160208183030381529060405280519060200120611a8c565b905080610cef576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ce69061328a565b60405180910390fd5b600a60009054906101000a900460ff16610d3e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d35906132f6565b60405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff16600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16636352211e896040518263ffffffff1660e01b8152600401610db091906128b2565b602060405180830381865afa158015610dcd573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610df1919061332b565b73ffffffffffffffffffffffffffffffffffffffff1614610e47576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e3e906133ca565b60405180910390fd5b600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166323b872dd33308a6040518463ffffffff1660e01b8152600401610ea6939291906133ea565b600060405180830381600087803b158015610ec057600080fd5b505af1158015610ed4573d6000803e3d6000fd5b5050505083600e60008981526020019081526020016000209080519060200190610eff929190612529565b5042600b60008981526020019081526020016000208190555085600d60008981526020019081526020016000209080519060200190610f3f929190612529565b5084600c600089815260200190815260200160002081905550610f623388611aa3565b83604051610f709190613421565b6040518091039020877f368e111c62ce217a888796c64882bf73736b5b5dd15aedab4f8339a483ffa0638789604051610faa929190613438565b60405180910390a350610fbb611ac1565b505050505050565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b606060018054610ffc90612f09565b80601f016020809104026020016040519081016040528092919081815260200182805461102890612f09565b80156110755780601f1061104a57610100808354040283529160200191611075565b820191906000526020600020905b81548152906001019060200180831161105857829003601f168201915b5050505050905090565b6040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110b190612f86565b60405180910390fd5b6110c26117b7565b80600a60006101000a81548160ff02191690831515021790555050565b6040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161111190612f86565b60405180910390fd5b6060600d6000838152602001908152602001600020805461113a90612f09565b80601f016020809104026020016040519081016040528092919081815260200182805461116690612f09565b80156111b35780601f10611188576101008083540402835291602001916111b3565b820191906000526020600020905b81548152906001019060200180831161119657829003601f168201915b50505050509050919050565b60606111ca82611acb565b611209576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611200906134da565b60405180910390fd5b600061123461121784611b0c565b60006003811061122a576112296134fa565b5b6020020151611bfc565b61125d61124085611b0c565b600160038110611253576112526134fa565b5b6020020151611bfc565b61128661126986611b0c565b60026003811061127c5761127b6134fa565b5b6020020151611bfc565b6112a2600b600088815260200190815260200160002054611bfc565b600d60008881526020019081526020016000206112c66112c1896118d2565b611bfc565b6040516020016112db9695949392919061439a565b60405160208183030381529060405290506000601260009054906101000a900460ff1661133257601161130d85611bfc565b60405160200161131e92919061443f565b604051602081830303815290604052611351565b60405160200161134190614e6a565b6040516020818303038152906040525b9050600061135e85611bfc565b61136784611d5c565b8360405160200161137a939291906150df565b604051602081830303815290604052905061139481611d5c565b6040516020016113a49190615188565b6040516020818303038152906040529350505050919050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b60095481565b61145f6117b7565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16036114ce576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114c59061521c565b60405180910390fd5b6114d781611977565b50565b6114e26117b7565b8060098190555050565b6060600e6000838152602001908152602001600020805461150c90612f09565b80601f016020809104026020016040519081016040528092919081815260200182805461153890612f09565b80156115855780601f1061155a57610100808354040283529160200191611585565b820191906000526020600020905b81548152906001019060200180831161156857829003601f168201915b50505050509050919050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b61162781611acb565b611666576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161165d90613084565b60405180910390fd5b50565b600061167482610ada565b9050611684816000846001611ef3565b61168d82610ada565b90506004600083815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff02191690556001600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825403925050819055506002600083815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff021916905581600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46117b3816000846001612019565b5050565b6117bf611835565b73ffffffffffffffffffffffffffffffffffffffff166117dd610fc3565b73ffffffffffffffffffffffffffffffffffffffff1614611833576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161182a90615288565b60405180910390fd5b565b600033905090565b60008061184983610ada565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16148061188b575061188a81856113bd565b5b806118c957508373ffffffffffffffffffffffffffffffffffffffff166118b184610784565b73ffffffffffffffffffffffffffffffffffffffff16145b91505092915050565b6000600f60009054906101000a900460ff161561191157601054600c60008481526020019081526020016000205461190a91906152d7565b9050611935565b601054600c600084815260200190815260200160002054611932919061530b565b90505b919050565b60006002600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600260075403611a82576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a79906153ad565b60405180910390fd5b6002600781905550565b600082611a99858461201f565b1490509392505050565b611abd828260405180602001604052806000815250612075565b5050565b6001600781905550565b60008073ffffffffffffffffffffffffffffffffffffffff16611aed8361193a565b73ffffffffffffffffffffffffffffffffffffffff1614159050919050565b611b146125af565b6040518060600160405280611b626001600a6040518060400160405280600581526020017f706f776572000000000000000000000000000000000000000000000000000000815250876120d0565b8152602001611baa6001600a6040518060400160405280600c81526020017f6576656e74486f72697a6f6e0000000000000000000000000000000000000000815250876120d0565b8152602001611bf26001600a6040518060400160405280600981526020017f726164696174696f6e0000000000000000000000000000000000000000000000815250876120d0565b8152509050919050565b606060008203611c43576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050611d57565b600082905060005b60008214611c75578080611c5e906153cd565b915050600a82611c6e9190615444565b9150611c4b565b60008167ffffffffffffffff811115611c9157611c90612996565b5b6040519080825280601f01601f191660200182016040528015611cc35781602001600182028036833780820191505090505b5090505b60008514611d5057600182611cdc91906152d7565b9150600a85611ceb9190615475565b6030611cf7919061530b565b60f81b818381518110611d0d57611d0c6134fa565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85611d499190615444565b9450611cc7565b8093505050505b919050565b606060008251905060008103611d845760405180602001604052806000815250915050611eee565b60006003600283611d95919061530b565b611d9f9190615444565b6004611dab91906154a6565b90506000602082611dbc919061530b565b67ffffffffffffffff811115611dd557611dd4612996565b5b6040519080825280601f01601f191660200182016040528015611e075781602001600182028036833780820191505090505b5090506000604051806060016040528060408152602001615776604091399050600181016020830160005b86811015611eab5760038101905062ffffff818a015116603f8160121c168401518060081b905060ff603f83600c1c1686015116810190508060081b905060ff603f8360061c1686015116810190508060081b905060ff603f831686015116810190508060e01b90508084526004840193505050611e32565b506003860660018114611ec55760028114611ed557611ee0565b613d3d60f01b6002830352611ee0565b603d60f81b60018303525b508484525050819450505050505b919050565b600181111561201357600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614611f875780600360008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611f7f91906152d7565b925050819055505b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16146120125780600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461200a919061530b565b925050819055505b5b50505050565b50505050565b60008082905060005b845181101561206a5761205582868381518110612048576120476134fa565b5b6020026020010151612143565b91508080612062906153cd565b915050612028565b508091505092915050565b61207f838361216e565b61208c600084848461238b565b6120cb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120c290615572565b60405180910390fd5b505050565b60008085856120df91906152d7565b9050600060018286866040516020016120f9929190615592565b6040516020818303038152906040528051906020012060001c61211c9190615475565b612126919061530b565b90508681612134919061530b565b90508092505050949350505050565b600081831061215b576121568284612512565b612166565b6121658383612512565b5b905092915050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036121dd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121d490615606565b60405180910390fd5b6121e681611acb565b15612226576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161221d90615672565b60405180910390fd5b612234600083836001611ef3565b61223d81611acb565b1561227d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161227490615672565b60405180910390fd5b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282540192505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4612387600083836001612019565b5050565b60006123ac8473ffffffffffffffffffffffffffffffffffffffff16611591565b15612505578373ffffffffffffffffffffffffffffffffffffffff1663150b7a026123d5611835565b8786866040518563ffffffff1660e01b81526004016123f794939291906156e7565b6020604051808303816000875af192505050801561243357506040513d601f19601f820116820180604052508101906124309190615748565b60015b6124b5573d8060008114612463576040519150601f19603f3d011682016040523d82523d6000602084013e612468565b606091505b5060008151036124ad576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124a490615572565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161491505061250a565b600190505b949350505050565b600082600052816020526040600020905092915050565b82805461253590612f09565b90600052602060002090601f016020900481019282612557576000855561259e565b82601f1061257057805160ff191683800117855561259e565b8280016001018555821561259e579182015b8281111561259d578251825591602001919060010190612582565b5b5090506125ab91906125d1565b5090565b6040518060600160405280600390602082028036833780820191505090505090565b5b808211156125ea5760008160009055506001016125d2565b5090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b61263781612602565b811461264257600080fd5b50565b6000813590506126548161262e565b92915050565b6000602082840312156126705761266f6125f8565b5b600061267e84828501612645565b91505092915050565b60008115159050919050565b61269c81612687565b82525050565b60006020820190506126b76000830184612693565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b838110156126f75780820151818401526020810190506126dc565b83811115612706576000848401525b50505050565b6000601f19601f8301169050919050565b6000612728826126bd565b61273281856126c8565b93506127428185602086016126d9565b61274b8161270c565b840191505092915050565b60006020820190508181036000830152612770818461271d565b905092915050565b6000819050919050565b61278b81612778565b811461279657600080fd5b50565b6000813590506127a881612782565b92915050565b6000602082840312156127c4576127c36125f8565b5b60006127d284828501612799565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000612806826127db565b9050919050565b612816816127fb565b82525050565b6000602082019050612831600083018461280d565b92915050565b612840816127fb565b811461284b57600080fd5b50565b60008135905061285d81612837565b92915050565b6000806040838503121561287a576128796125f8565b5b60006128888582860161284e565b925050602061289985828601612799565b9150509250929050565b6128ac81612778565b82525050565b60006020820190506128c760008301846128a3565b92915050565b6000806000606084860312156128e6576128e56125f8565b5b60006128f48682870161284e565b93505060206129058682870161284e565b925050604061291686828701612799565b9150509250925092565b61292981612687565b811461293457600080fd5b50565b60008135905061294681612920565b92915050565b60008060408385031215612963576129626125f8565b5b600061297185828601612799565b925050602061298285828601612937565b9150509250929050565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6129ce8261270c565b810181811067ffffffffffffffff821117156129ed576129ec612996565b5b80604052505050565b6000612a006125ee565b9050612a0c82826129c5565b919050565b600067ffffffffffffffff821115612a2c57612a2b612996565b5b612a358261270c565b9050602081019050919050565b82818337600083830152505050565b6000612a64612a5f84612a11565b6129f6565b905082815260208101848484011115612a8057612a7f612991565b5b612a8b848285612a42565b509392505050565b600082601f830112612aa857612aa761298c565b5b8135612ab8848260208601612a51565b91505092915050565b60008060408385031215612ad857612ad76125f8565b5b6000612ae685828601612937565b925050602083013567ffffffffffffffff811115612b0757612b066125fd565b5b612b1385828601612a93565b9150509250929050565b600060208284031215612b3357612b326125f8565b5b6000612b418482850161284e565b91505092915050565b600080fd5b600080fd5b60008083601f840112612b6a57612b6961298c565b5b8235905067ffffffffffffffff811115612b8757612b86612b4a565b5b602083019150836020820283011115612ba357612ba2612b4f565b5b9250929050565b60008060008060008060a08789031215612bc757612bc66125f8565b5b6000612bd589828a01612799565b965050602087013567ffffffffffffffff811115612bf657612bf56125fd565b5b612c0289828a01612a93565b9550506040612c1389828a01612799565b945050606087013567ffffffffffffffff811115612c3457612c336125fd565b5b612c4089828a01612a93565b935050608087013567ffffffffffffffff811115612c6157612c606125fd565b5b612c6d89828a01612b54565b92509250509295509295509295565b60008060408385031215612c9357612c926125f8565b5b6000612ca18582860161284e565b9250506020612cb285828601612937565b9150509250929050565b600060208284031215612cd257612cd16125f8565b5b6000612ce084828501612937565b91505092915050565b600067ffffffffffffffff821115612d0457612d03612996565b5b612d0d8261270c565b9050602081019050919050565b6000612d2d612d2884612ce9565b6129f6565b905082815260208101848484011115612d4957612d48612991565b5b612d54848285612a42565b509392505050565b600082601f830112612d7157612d7061298c565b5b8135612d81848260208601612d1a565b91505092915050565b60008060008060808587031215612da457612da36125f8565b5b6000612db28782880161284e565b9450506020612dc38782880161284e565b9350506040612dd487828801612799565b925050606085013567ffffffffffffffff811115612df557612df46125fd565b5b612e0187828801612d5c565b91505092959194509250565b60008060408385031215612e2457612e236125f8565b5b6000612e328582860161284e565b9250506020612e438582860161284e565b9150509250929050565b6000819050919050565b612e6081612e4d565b82525050565b6000602082019050612e7b6000830184612e57565b92915050565b612e8a81612e4d565b8114612e9557600080fd5b50565b600081359050612ea781612e81565b92915050565b600060208284031215612ec357612ec26125f8565b5b6000612ed184828501612e98565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680612f2157607f821691505b602082108103612f3457612f33612eda565b5b50919050565b7f5468697320746f6b656e20697320736f756c626f756e642e0000000000000000600082015250565b6000612f706018836126c8565b9150612f7b82612f3a565b602082019050919050565b60006020820190508181036000830152612f9f81612f63565b9050919050565b7f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560008201527f72206f7220617070726f76656400000000000000000000000000000000000000602082015250565b6000613002602d836126c8565b915061300d82612fa6565b604082019050919050565b6000602082019050818103600083015261303181612ff5565b9050919050565b7f4552433732313a20696e76616c696420746f6b656e2049440000000000000000600082015250565b600061306e6018836126c8565b915061307982613038565b602082019050919050565b6000602082019050818103600083015261309d81613061565b9050919050565b7f4552433732313a2061646472657373207a65726f206973206e6f74206120766160008201527f6c6964206f776e65720000000000000000000000000000000000000000000000602082015250565b60006131006029836126c8565b915061310b826130a4565b604082019050919050565b6000602082019050818103600083015261312f816130f3565b9050919050565b6000819050919050565b61315161314c82612778565b613136565b82525050565b600081905092915050565b600061316d826126bd565b6131778185613157565b93506131878185602086016126d9565b80840191505092915050565b600061319f8286613140565b6020820191506131af8285613162565b91506131bb8284613140565b602082019150819050949350505050565b7f596f75206d75737420696e73637269626520612076616c696420636f6d62696e60008201527f6174696f6e206f663a20746f6b656e2049442c20696e736372697074696f6e2060208201527f616e64206f7264696e616c206e756d6265722e2054686973206973207665726960408201527f6669656420627920746865206d65726b6c6520726f6f742e0000000000000000606082015250565b60006132746078836126c8565b915061327f826131cc565b608082019050919050565b600060208201905081810360008301526132a381613267565b9050919050565b7f427269646765206d757374206265206f70656e2e000000000000000000000000600082015250565b60006132e06014836126c8565b91506132eb826132aa565b602082019050919050565b6000602082019050818103600083015261330f816132d3565b9050919050565b60008151905061332581612837565b92915050565b600060208284031215613341576133406125f8565b5b600061334f84828501613316565b91505092915050565b7f4d757374206f776e204f626c6976696f6e20746f2062726964676520746f204260008201527f6974636f696e204f7264696e616c2073746174652e0000000000000000000000602082015250565b60006133b46035836126c8565b91506133bf82613358565b604082019050919050565b600060208201905081810360008301526133e3816133a7565b9050919050565b60006060820190506133ff600083018661280d565b61340c602083018561280d565b61341960408301846128a3565b949350505050565b600061342d8284613162565b915081905092915050565b600060408201905061344d60008301856128a3565b818103602083015261345f818461271d565b90509392505050565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b60006134c4602f836126c8565b91506134cf82613468565b604082019050919050565b600060208201905081810360008301526134f3816134b7565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f3c68746d6c3e203c686561643e203c7374796c653e20626f6479207b206d617260008201527f67696e3a303b206261636b67726f756e643a20233030303b206f766572666c6f60208201527f773a2068696464656e3b207d2063616e766173207b20626f74746f6d3a20303b60408201527f206865696768743a2031303076773b206c6566743a20303b206d617267696e3a60608201527f206175746f3b206d61782d6865696768743a2031303076683b206d61782d776960808201527f6474683a2031303076683b20706f736974696f6e3a206162736f6c7574653b2060a08201527f72696768743a20303b20746f703a20303b2077696474683a2031303076773b2060c08201527f7d202e74657874207b20636f6c6f723a77686974653b20706f736974696f6e3a60e08201527f206162736f6c7574653b20746f703a20303b206c6566743a20303b20666f6e746101008201527f2d66616d696c793a436f75726965723b2070616464696e673a3276773b20666f6101208201527f6e742d73697a653a3176773b207d203c2f7374796c653e203c2f686561643e206101408201527f3c626f64793e203c63616e7661732069643d2263616e766173223e3c2f63616e6101608201527f7661733e203c2f626f64793e203c2f68746d6c3e203c7363726970743e2076616101808201527f7220706f776572203d2031392b322a00000000000000000000000000000000006101a082015250565b60006137546101af83613157565b915061375f82613529565b6101af82019050919050565b7f3b766172206576656e74486f72697a6f6e203d20000000000000000000000000600082015250565b60006137a1601483613157565b91506137ac8261376b565b601482019050919050565b7f3b76617220726164696174696f6e203d203139202b332a000000000000000000600082015250565b60006137ed601783613157565b91506137f8826137b7565b601782019050919050565b7f3b66756e6374696f6e206f6e546865456467654f664f626c6976696f6e28702c60008201527f712c72297b66756e6374696f6e206a28612c62297b72657475726e20623d612c60208201527f613d2d323530302f28313032342f68292c4d6174682e666c6f6f72284d61746860408201527f2e72616e646f6d28292a28622d612b3129292b613b7d76617220663d646f637560608201527f6d656e742e717565727953656c6563746f72282263616e76617322292c673d6660808201527f2e676574436f6e746578742822326422292c683d662e77696474683d3132353060a08201527f2c6e3d662e6865696768743d313235302c693d5b5d2c6b3d302c6c3d3430303060c08201527f2b702a313030303b7661722074696d655374616d70203d20000000000000000060e082015250565b600061394360f883613157565b915061394e82613803565b60f882019050919050565b7f2a313030302c64617465466f726d6174203d206e657720446174652874696d6560008201527f5374616d70292c646179203d2064617465466f726d61742e676574446174652860208201527f292c6461795375666669786573203d205b227374222c20226e64222c2022726460408201527f222c20227468222c20227468222c20227468222c20227468222c20227468222c60608201527f20227468222c20227468222c20227468222c20227468222c20227468222c202260808201527f7468222c20227468222c227468222c227468222c227468222c227468222c227460a08201527f68222c227374222c226e64222c227264222c227468222c227468222c2274682260c08201527f2c227468222c227468222c227468222c227468222c227374225d2c6d6f6e746860e08201527f203d2064617465466f726d61742e6765744d6f6e746828292c6d6f6e74684e616101008201527f6d6573203d205b224a616e75617279222c20224665627275617279222c20224d6101208201527f61726368222c2022417072696c222c20224d6179222c20224a756e65222c224a6101408201527f756c79222c2022417567757374222c202253657074656d626572222c20224f636101608201527f746f626572222c20224e6f76656d626572222c2022446563656d626572225d2c6101808201527f79656172203d2064617465466f726d61742e67657446756c6c5965617228293b6101a08201527f672e666f6e74203d2022626f6c64203234707820436f7572696572223b672e666101c08201527f696c6c5374796c65203d202267726579223b672e74657874416c69676e203d206101e08201527f227374617274223b672e66696c6c54657874282242726964676564206f6e20226102008201527f202b2028286d6f6e74684e616d65735b64617465466f726d61742e6765744d6f6102208201527f6e746828295d292b20222022202b2064617465466f726d61742e6765744461746102408201527f652829202b2064617953756666697865735b64617465466f726d61742e6765746102608201527f446174652829202d20315d202b20222c2022202b2064617465466f726d61742e6102808201527f67657446756c6c596561722829292c20682a302e3032352c20302e3032352a6e6102a08201527f293b672e66696c6c5465787428220000000000000000000000000000000000006102c082015250565b6000613ce36102ce83613157565b9150613cee82613959565b6102ce82019050919050565b60008190508160005260206000209050919050565b60008154613d1c81612f09565b613d268186613157565b94506001821660008114613d415760018114613d5257613d85565b60ff19831686528186019350613d85565b613d5b85613cfa565b60005b83811015613d7d57815481890152600182019150602081019050613d5e565b838801955050505b50505092915050565b7f222c20682a302e3032352c20302e3937352a6e293b672e74657874416c69676e60008201527f203d2022656e64223b672e66696c6c546578742822536f756c626f756e64205460208201527f6f6b656e222c20682a302e3937352c20302e3032352a6e293b672e66696c6c5460408201527f6578742822230000000000000000000000000000000000000000000000000000606082015250565b6000613e36606683613157565b9150613e4182613d8e565b606682019050919050565b7f222c20682a302e3937352c20302e3937352a6e293b7661722063203d20646f6360008201527f756d656e742e637265617465456c656d656e74282263616e76617322292c206460208201527f203d20632e676574436f6e746578742822326422293b20632e7769647468203d60408201527f20313530302c20632e686569676874203d20313530303b207661722061203d2060608201527f632e7769647468202f20323b207661722065203d20642e63726561746552616460808201527f69616c4772616469656e7428612c20612c20302c20612c20612c2061293b206560a08201527f2e616464436f6c6f7253746f7028302e31202f203130302c202223666666222960c08201527f2c20652e616464436f6c6f7253746f7028302e35202f203130302c202268736c60e08201527f2832352c203630252c203135252922292c20652e616464436f6c6f7253746f706101008201527f283335202f203130302c202268736c2832352c3635252c31252922292c20652e6101208201527f616464436f6c6f7253746f7028302e392c20227472616e73706172656e7422296101408201527f2c20642e66696c6c5374796c65203d20652c20642e626567696e5061746828296101608201527f2c20642e61726328612c20612c20612c20312c204d6174682e5049202a2032296101808201527f2c20642e66696c6c28293b20766172206d203d2066756e6374696f6e2829207b6101a08201527f20746869732e6f52203d206a282d68202f20283136202d207129292c207468696101c08201527f732e726164697573203d206a283130302c20746869732e6f5229202f20352c206101e08201527f746869732e6f58203d2068202f20322c20746869732e6f59203d206e202f20326102008201527f2c20746869732e6d6174746572203d206a28302c206c292c20746869732e70616102208201527f72616d5a203d20302e32202f20313030202a2072202b20372e35202f203130306102408201527f2c206b2b2b2c20695b6b5d203d20746869733b207d3b206d2e70726f746f74796102608201527f70652e64726177203d2066756e6374696f6e2829207b207661722061203d204d6102808201527f6174682e73696e28746869732e6d617474657229202a20746869732e6f52202b6102a08201527f20746869732e6f582c2062203d204d6174682e636f7328746869732e6d6174746102c08201527f657229202a20746869732e6f52202f2031202b20746869732e6f593b20672e676102e08201527f6c6f62616c416c706861203d20746869732e706172616d5a2c20672e647261776103008201527f496d61676528632c2061202d20746869732e726164697573202f20322c2062206103208201527f2d20746869732e726164697573202f20322c20746869732e7261646975732c206103408201527f746869732e726164697573293b207d3b20666f7220287661722062203d20303b6103608201527f2062203c206c3b20622b2b29206e6577206d28293b20666f72202876617220626103808201527f203d20312c206f203d20692e6c656e6774683b2062203c206f3b20622b2b29206103a08201527f672e676c6f62616c436f6d706f736974654f7065726174696f6e203d20226c696103c08201527f6768746572222c20695b625d2e6472617728293b207d3b206f6e5468654564676103e08201527f654f664f626c6976696f6e28706f7765722c206576656e74486f72697a6f6e2c6104008201527f20726164696174696f6e293b203c2f7363726970743e0000000000000000000061042082015250565b600061438361043683613157565b915061438e82613e4c565b61043682019050919050565b60006143a582613746565b91506143b18289613162565b91506143bc82613794565b91506143c88288613162565b91506143d3826137e0565b91506143df8287613162565b91506143ea82613936565b91506143f68286613162565b915061440182613cd5565b915061440d8285613d0f565b915061441882613e29565b91506144248284613162565b915061442f82614375565b9150819050979650505050505050565b600061444b8285613d0f565b91506144578284613162565b91508190509392505050565b7f646174613a696d6167652f7376672b786d6c3b6261736536342c50484e325a7960008201527f427a64486c735a543069596d466a61326479623356755a43316a62327876636a60208201527f6f6a4d44417749694277636d567a5a584a325a55467a6347566a64464a68644760408201527f6c7650534a3454576c7557553170626942745a5756304969423261575633516d60608201527f393450534977494441674e7a5577494463314d43496765473173626e4d39496d60808201527f6830644841364c79393364336375647a4d7562334a6e4c7a49774d444176633360a08201527f5a6e496a346750475a706248526c636942705a4430695969492b4944786d5a5660c08201527f5231636d4a316247567559325567596d467a5a555a795a5846315a57356a655460e08201527f30694d4334794969382b4944786d5a554e766247397954574630636d6c3449486101008201527f5a686248566c637a30694d434177494441674f5341744e534177494441674d436101208201527f413549433031494441674d43417749446b674c5455674d434177494441674d436101408201527f41784969382b494477765a6d6c736447567950694138636d566a6443423361576101608201527f5230614430694d5441774a534967614756705a326830505349784d44416c49696101808201527f426d615778305a584939496e56796243676a59696b694947397759574e7064486101a08201527f6b39496934314969382b4944786a61584a6a6247556759336739496a55774a536101c08201527f496759336b39496a55774a534967636a30694d6a416c4969382b4944786b5a576101e08201527f5a7a494868746247357a50534a6f644852774f693876643364334c6e637a4c6d6102008201527f39795a7938794d4441774c334e325a79492b4944786d615778305a58496761576102208201527f5139496d456949486739496a416c49694235505349774a53496765473173626e6102408201527f4d39496d6830644841364c79393364336375647a4d7562334a6e4c7a49774d446102608201527f417663335a6e496a346750475a6c56485679596e56735a57356a5a53426959586102808201527f4e6c526e4a6c6358566c626d4e35505349774c6a41774d4455674d53343149696102a08201527f42756457315059335268646d567a505349784d434967636d567a6457783050536102c08201527f4a3064584a696457786c626d4e6c4969427a5a57566b505349304e545131496a6102e08201527f346750474675615731686447556759585230636d6c696458526c546d46745a546103008201527f30696332566c5a43496759324673593031765a475539496d527063324e795a586103208201527f526c4969426b64584939496a41754d6a567a496942795a58426c5958524462336103408201527f5675644430696157356b5a575a70626d6c305a534967646d46736457567a50536103608201527f49784f7a49374d7a73304f7a55374e6a73334f7a67374f5473694c7a346750436103808201527f396d5a565231636d4a31624756755932552b4944786d5a5552706333427359576103a08201527f4e6c625756756445316863434270626a306955323931636d4e6c52334a6863476103c08201527f6870597949676157347950534a3064584a696457786c626d4e6c4969427a59326103e08201527f46735a5430694e5441694948684461474675626d5673553256735a574e3062336104008201527f4939496c496949486c4461474675626d5673553256735a574e3062334939496b6104208201527f63694c7a34675043396d615778305a58492b494477765a47566d637a346750476104408201527f636761575139496a456949475a706248526c636a306964584a734b434e684b536104608201527f4269624856794b44567765436b694947397759574e7064486b39496a55774a536104808201527f496765473173626e4d39496d6830644841364c79393364336375647a4d7562336104a08201527f4a6e4c7a49774d44417663335a6e496a34675047636764484a68626e4e6d62336104c08201527f4a7450534a30636d4675633278686447556f4c544577494330344b53492b49446104e08201527f786a61584a6a6247556761575139496d4d6949474e34505349314d43556949476105008201527f4e35505349314d43556949484939496a45324a534967633352796232746c50536105208201527f496a5a6d5a6d4969382b494477765a7a34675043396e506941385a79426d61576105408201527f78305a584939496e56796243676a59536b67596d7831636967316348677049696105608201527f42766347466a61585235505349314d435569494868746247357a50534a6f64486105808201527f52774f693876643364334c6e637a4c6d39795a7938794d4441774c334e325a796105a08201527f492b4944786e494852795957357a5a6d39796254306964484a68626e4e7359586105c08201527f526c4b4330784d4341744f436b695069413859326c795932786c49474e3450536105e08201527f49314d43556949474e35505349314d43556949484939496a45304a53496763336106008201527f52796232746c5053496a5a6d5a6d4969382b494477765a7a34675043396e50696106208201527f413859326c795932786c49474e34505349314d43556949474e35505349314d436106408201527f556949484939496a45784a534976506941386447563464434234505349314d436106608201527f556949486b39496a51324a5349675a47397461573568626e5174596d467a5a576106808201527f7870626d5539496d31705a4752735a5349675a6d6c73624430696432687064476106a08201527f556949475a76626e51745a6d46746157783550534a44623356796157567949696106c08201527f426d623235304c584e70656d5539496a4d77634867694947397759574e7064486106e08201527f6b3949693432496942305a5868304c57467559326876636a306962576c6b5a476107008201527f786c496a355054694255534555675255524852534250526a77766447563464446107208201527f34675048526c65485167654430694e54416c49694235505349314d79556949476107408201527f527662576c75595735304c574a68633256736157356c50534a746157526b62476107608201527f556949475a7062477739496e646f6158526c4969426d623235304c575a6862576107808201527f6c736554306951323931636d6c6c636949675a6d39756443317a6158706c50536107a08201527f49334e584234496942766347466a61585235505349754e6949676447563464436107c08201527f3168626d4e6f62334939496d31705a4752735a53492b54304a4d53565a4a54306107e08201527f34384c33526c6548512b4944777663335a6e50673d3d0000000000000000000061080082015250565b6000614e5361081683613157565b9150614e5e82614463565b61081682019050919050565b6000614e7582614e45565b9150819050919050565b7f7b226e616d65223a20224f6e207468652045646765206f66204f626c6976696f60008201527f6e20230000000000000000000000000000000000000000000000000000000000602082015250565b6000614edb602383613157565b9150614ee682614e7f565b602382019050919050565b7f202853425429222c20226465736372697074696f6e223a2022456d6261726b2060008201527f6f6e206120766f7961676520746f20746865206f75746572207265616c6d732060208201527f6f66206f757220756e6976657273652c2077686572652074686520766572792060408201527f666162726963206f6620737061636520616e642074696d65206973206469737460608201527f6f7274656420627920616e206f7665727768656c6d696e6720666f726365206f60808201527f66206772617669747920696e20776179732077652063616e6e6f74207965742060a08201527f636f6d70726568656e642e222c2022616e696d6174696f6e5f75726c223a202260c08201527f646174613a746578742f68746d6c3b6261736536342c0000000000000000000060e082015250565b600061503160f683613157565b915061503c82614ef1565b60f682019050919050565b7f222c22696d616765223a20220000000000000000000000000000000000000000600082015250565b600061507d600c83613157565b915061508882615047565b600c82019050919050565b7f227d000000000000000000000000000000000000000000000000000000000000600082015250565b60006150c9600283613157565b91506150d482615093565b600282019050919050565b60006150ea82614ece565b91506150f68286613162565b915061510182615024565b915061510d8285613162565b915061511882615070565b91506151248284613162565b915061512f826150bc565b9150819050949350505050565b7f646174613a6170706c69636174696f6e2f6a736f6e3b6261736536342c000000600082015250565b6000615172601d83613157565b915061517d8261513c565b601d82019050919050565b600061519382615165565b915061519f8284613162565b915081905092915050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b60006152066026836126c8565b9150615211826151aa565b604082019050919050565b60006020820190508181036000830152615235816151f9565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b60006152726020836126c8565b915061527d8261523c565b602082019050919050565b600060208201905081810360008301526152a181615265565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006152e282612778565b91506152ed83612778565b925082821015615300576152ff6152a8565b5b828203905092915050565b600061531682612778565b915061532183612778565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115615356576153556152a8565b5b828201905092915050565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b6000615397601f836126c8565b91506153a282615361565b602082019050919050565b600060208201905081810360008301526153c68161538a565b9050919050565b60006153d882612778565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff820361540a576154096152a8565b5b600182019050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600061544f82612778565b915061545a83612778565b92508261546a57615469615415565b5b828204905092915050565b600061548082612778565b915061548b83612778565b92508261549b5761549a615415565b5b828206905092915050565b60006154b182612778565b91506154bc83612778565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156154f5576154f46152a8565b5b828202905092915050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b600061555c6032836126c8565b915061556782615500565b604082019050919050565b6000602082019050818103600083015261558b8161554f565b9050919050565b600061559e8285613162565b91506155aa8284613140565b6020820191508190509392505050565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b60006155f06020836126c8565b91506155fb826155ba565b602082019050919050565b6000602082019050818103600083015261561f816155e3565b9050919050565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b600061565c601c836126c8565b915061566782615626565b602082019050919050565b6000602082019050818103600083015261568b8161564f565b9050919050565b600081519050919050565b600082825260208201905092915050565b60006156b982615692565b6156c3818561569d565b93506156d38185602086016126d9565b6156dc8161270c565b840191505092915050565b60006080820190506156fc600083018761280d565b615709602083018661280d565b61571660408301856128a3565b818103606083015261572881846156ae565b905095945050505050565b6000815190506157428161262e565b92915050565b60006020828403121561575e5761575d6125f8565b5b600061576c84828501615733565b9150509291505056fe4142434445464748494a4b4c4d4e4f505152535455565758595a6162636465666768696a6b6c6d6e6f707172737475767778797a303132333435363738392b2fa2646970667358221220a768db05a98d9a122148c7c6f8c01f6b26901cc2d2d323ed3be863aff2e8187364736f6c634300080d0033

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.