ETH Price: $2,432.15 (-2.89%)

Token

On-Chain Monsters (OCMOS)
 

Overview

Max Total Supply

2,406 OCMOS

Holders

0

Market

Onchain Market Cap

$0.00

Circulating Supply Market Cap

-

Other Info

Token Contract (WITH 0 Decimals)

Balance
1 OCMOS

Value
$0.00
0x213bafc6f8c01650dd82fac0277be1feeca53c96
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:
OnChainMonsters

Compiler Version
v0.8.0+commit.c7dfd78e

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 15 : OnChainMonsters.sol
// contracts/OnChainMonsters.sol
// SPDX-License-Identifier: MIT
// Inspired by Anonymice. <3
pragma solidity ^0.8.0;

import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol";
import "./IMonsterDough.sol";
import "./OnChainMonstersLib.sol";

contract OnChainMonsters is ERC721Enumerable {
    using OnChainMonstersLib for uint8;

    struct Trait {
        string name;
        string data;
    }

    mapping(uint256 => Trait[]) public allTraits;
    mapping(bytes8 => bool) traitsHashToIsMinted;

    bytes8[10000] internal _tokenIdToTraitsHash;
   // mapping(uint256 => bytes8) internal _tokenIdToTraitsHash;

    uint256 internal constant MAX_SUPPLY = 10000;
    uint256 internal constant MINTS_PER_TIER = 2000;

    uint256 salt = 0xC0FFEE2C0DE;

    address doughAddress;
    address _owner;

    string[7] internal TRAIT_TYPE_NAMES = [
        "tail",
        "body",
        "head",
        "eyes",
        "arms",
        "mouth",
        "burned"
    ];

    string[3][9] internal COLORS = [
        ["4d5265", "d6bd0a", "Gold"],
        ["95868d", "e7e5d9", "Light"],
        ["dae7ea", "828795", "Dark"],
        ["49fed3", "f2ec55", "Yellow"],
        ["fef749", "79bbe3", "Blue"],
        ["f56060", "6fd067", "Green"],
        ["60d1f5", "f9b5c1", "Pink"],
        ["60f561", "ea7e75", "Red"],
        ["fed449", "b98bdb", "Purple"]
    ];

    uint8[81] internal CHARS = [
        48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 
        97, 98, 99, 100, 101, 102, 103, 104, 105, 
        106, 107, 108, 109, 110, 111, 112, 113, 
        114, 115, 116, 117, 118, 119, 120, 121, 
        122, 66, 68, 69, 70, 71, 73, 74, 75, 78, 
        79, 80, 82, 85, 87, 88, 89, 33, 35, 36, 37,
        38, 40, 41, 42, 43, 44, 45, 46, 47, 58, 59, 
        60, 61, 62, 63, 64, 91, 93, 94, 95, 96, 123, 
        124, 125, 126
    ];

    uint16[][7] rarities;

    constructor() ERC721("On-Chain Monsters", "OCMOS") {
        _owner = msg.sender;

        rarities[0] = [4000, 2000, 1000, 1000, 750, 750, 500];
        rarities[1] = [2250, 2250, 2100, 1000, 1000, 750, 400, 250];
        rarities[2] = [1275, 1275, 1010, 950, 950, 950, 900, 900, 800, 400, 300, 250, 20, 20];
        rarities[3] = [1500, 1300, 1300, 1100, 1000, 900, 800, 800, 800, 500];
        rarities[4] = [2000, 2000, 800, 800, 800, 800, 800, 750, 500, 500, 250];
        rarities[5] = [870, 870, 870, 870, 870, 870, 870, 870, 870, 870, 870, 430];
        rarities[6] = [1, 1250, 1250, 1250, 1250, 1250, 1250, 1250, 1249]; // color
    }

    // ######## MINTING

    function rarityIndexForNumber(uint256 number, uint8 traitType) internal view returns (bytes1) {
        uint16 lowerBound = 0;
        for (uint8 i = 0; i < rarities[traitType].length; i++) {
            uint16 upperBound = lowerBound + rarities[traitType][i];
            if (number >= lowerBound && number < upperBound)
                return bytes1(i);
            lowerBound = upperBound;
        }

        revert();
    }

    function createTraitsHash(uint256 t, uint256 c) internal returns (bytes8) {
        require(c < 10);

        bytes8 hashOut = 0;

        bytes8 bte = 0xff00000000000000;

        uint256 _salt = salt;

        uint256 rnd = uint256(
            keccak256(
                abi.encodePacked(
                    _salt,
                    t,
                    msg.sender,
                    c,
                    block.timestamp,
                    block.difficulty
                )
            )      
        );

        for (uint8 i = 0; i < 6; i++) {
            hashOut ^= (bte & rarityIndexForNumber((rnd >> 32*i) % 10000, i)) >> 8*i;
        }

        // color
        if(t % 2000 > 0) {
            hashOut ^= (bte & rarityIndexForNumber(_salt % 10000, 6)) >> 8*7;
        }
        
        salt = _salt ^ rnd;

        if (traitsHashToIsMinted[hashOut])
            return createTraitsHash(t, c + 1);

        return hashOut;
    }

    function currentMintingCost() public view returns (uint256) {
        uint256 totalSupply = totalSupply();

        if (totalSupply < 2000)
            return 0;
        if (totalSupply < 4000)
            return 1000000000000000000;
        if (totalSupply < 6000)
            return 2000000000000000000;
        if (totalSupply < 8000)
            return 3000000000000000000;

        return 4000000000000000000;
    }

    function mintInternal() internal {
        uint256 tokenId = totalSupply();

        require(tokenId < MAX_SUPPLY);
        require(!OnChainMonstersLib.isContract(msg.sender));

        _tokenIdToTraitsHash[tokenId] = createTraitsHash(tokenId, 0);
        traitsHashToIsMinted[_tokenIdToTraitsHash[tokenId]] = true;

        _mint(msg.sender, tokenId);
    }

    function mintMonster() public {
        if (totalSupply() < MINTS_PER_TIER)
            return mintInternal();

        IMonsterDough(doughAddress).burnFrom(msg.sender, currentMintingCost());

        return mintInternal();
    }

    function burnForMint(uint256 tokenId) public {
        require(ownerOf(tokenId) == msg.sender);

        _transfer(msg.sender, 0xdeaDDeADDEaDdeaDdEAddEADDEAdDeadDEADDEaD, tokenId);

        mintInternal();
    }

    // ######## READING

    function charToNumber(uint8 char) internal view returns (uint8) {
        for(uint8 i = 0; i < CHARS.length; i++) {
            if(char == CHARS[i])
                return i;
        }
        revert();
    }

    function hashToSVG(uint256 tokenId, bytes8 tHash) public view returns (string memory) {
        string memory svgString;

        for (uint8 tt = 0; tt < 7; tt++) {
            uint8 traitIndex = uint8(tHash[tt]);

            bytes memory pathsStr = bytes(allTraits[tt][traitIndex].data);

            uint256 cursor = 0;
            while(cursor < pathsStr.length) {
                uint8 colorIndex = uint8(pathsStr[cursor]);
                cursor++;

                uint256 left = uint256(charToNumber(uint8(pathsStr[cursor])));
                cursor++;
                uint256 right = uint256(charToNumber(uint8(pathsStr[cursor])));
                cursor++;
                uint256 numBytes = (left * 80) + right;

                svgString = string(
                    abi.encodePacked(
                        svgString,
                        "<path d='M "
                    )
                );

                for(uint pi = 0; pi < numBytes; pi++) {
                    uint8 c = uint8(pathsStr[cursor + pi]);

                    if(c == 67 || c == 76 || c == 86
                         || c == 72 || c == 77 || c == 90) {
                        svgString = string(abi.encodePacked(svgString, c, " "));
                    } 
                     else {
                         svgString = string(abi.encodePacked(svgString, charToNumber(c).toString(), " "));
                    }
                }

                cursor += numBytes;

                if(colorIndex != 48) {
                    svgString = string(
                        abi.encodePacked(
                            svgString,
                            "' class='c",
                            colorIndex
                        )
                    );
                }
    
                svgString = string(abi.encodePacked(svgString, "'/>"));
            }
        }

        uint8 color = uint8(tHash[7]);

        string memory tokenIdString = OnChainMonstersLib.toString(tokenId);

        svgString = string(
            abi.encodePacked(
                '<svg id="ocf-svg',
                tokenIdString,
                '" xmlns="http://www.w3.org/2000/svg" preserveAspectRatio="xMinYMin meet" viewBox="0 0 80 80"><rect x="0" y="0" width="80" height="80" stroke-width="0" fill="#',
                COLORS[color][0],
                '" />',
                color == 0 ? '<style>@keyframes prty{0%{opacity:0.35;transform:rotate(0);}50%{opacity:0.5;}100%{opacity:0.35;transform:rotate(359deg);}</style><ellipse cx="40" cy="40" rx="24" ry="23" style="fill:#ffff99;animation:prty 5s infinite linear;transform-origin:50% 50%;" filter="url(#f1)"/><defs><filter id="f1" x="-30" y="-30" width="60" height="60"><feGaussianBlur stdDeviation="6" /></filter></defs>' : '',
                svgString,
                "<style>path{fill:none;stroke:#343434;stroke-width:.4;stroke-linecap:round;stroke-linejoin:round;} #ocf-svg",
                tokenIdString,
                " .c1{fill:#",
                COLORS[color][1],
                "}.c2{fill:#a4a4a4}.c3{fill:#343434}.c4{fill:#ffffff}.c5{fill:#484848}.c6{fill:#d8d8d8}.c7{fill:#ff00ff}</style></svg>"
            )
        );

        return svgString;
    }

    function hashToMetadata(bytes8 tHash) public view returns (string memory) {

        string memory metadataString ='[';

        for (uint8 tt = 0; tt < 7; tt++) {
            uint8 traitIndex = uint8(tHash[tt]);

            metadataString = string(
                abi.encodePacked(
                    metadataString,
                    '{"trait_type":"',
                    TRAIT_TYPE_NAMES[tt],
                    '","value":"',
                    allTraits[tt][traitIndex].name,
                    '"},'
                )
            );
        }

        metadataString = string(
            abi.encodePacked(
                metadataString,
                '{"trait_type":"color","value":"',
                COLORS[uint8(tHash[7])][2],
                '"}]'
            )
        );

        return metadataString;
    }

    function tokenURI(uint256 tokenId) public view override returns (string memory) {
        require(_exists(tokenId));

        bytes8 tHash = tokenIdToTraitsHash(tokenId);

        return string(
            abi.encodePacked(
                "data:application/json;base64,",
                    OnChainMonstersLib.encode(
                        bytes(
                            string(
                                abi.encodePacked(
                                    '{"name": "On-Chain Monster #',
                                    OnChainMonstersLib.toString(tokenId),
                                    '", "description": "A collection of 10,000 unique monsters generated by code. No external dependencies. 100% Ethereum blockchain.", "image": "data:image/svg+xml;base64,',
                                    OnChainMonstersLib.encode(
                                        bytes(hashToSVG(tokenId, tHash))
                                    )
                                    ,
                                    '","attributes":',
                                    hashToMetadata(tHash),
                                    "}"
                                )
                            )
                        )
                    )
                )
            );
    }

    function tokenIdToTraitsHash(uint256 tokenId) public view returns (bytes8) {
        bytes8 tHash = _tokenIdToTraitsHash[tokenId];

        if (ownerOf(tokenId) == 0xdeaDDeADDEaDdeaDdEAddEADDEAdDeadDEADDEaD) {
            tHash ^= 0x0000000000000100;
        }

        return tHash;
    }

    function walletOfOwner(address wallet) public view returns (uint256[] memory) {
        uint256 tokenCount = balanceOf(wallet);

        uint256[] memory tokensId = new uint256[](tokenCount);
        for (uint256 i; i < tokenCount; i++) {
            tokensId[i] = tokenOfOwnerByIndex(wallet, i);
        }

        return tokensId;
    }

    // ######## Owner

    function clearTraits() public onlyOwner {
        for (uint256 i = 0; i < 8; i++) {
            delete allTraits[i];
        }
    }

    function addTraits(uint256 traitTypeIndex, Trait[] memory traits) public onlyOwner {
        for (uint256 i = 0; i < traits.length; i++) {
            allTraits[traitTypeIndex].push(Trait(traits[i].name, traits[i].data));
        }
    }

    function setDoughAddress(address a) public onlyOwner {
        doughAddress = a;
    }

    function transferOwnership(address newOwner) public onlyOwner {
        _owner = newOwner;
    }

    modifier onlyOwner() {
        require(_owner == msg.sender);
        _;
    }
}

File 2 of 15 : OnChainMonstersLib.sol
// contracts/OnChainMonstersLib.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

            } lt(dataPtr, endPtr) {

            } {
                dataPtr := add(dataPtr, 3)

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

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

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

        return result;
    }

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

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

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

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

pragma solidity ^0.8.0;

import "@openzeppelin/contracts/token/ERC20/IERC20.sol";

interface IMonsterDough is IERC20 {
    function burnFrom(address account, uint256 amount) external;
}

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

pragma solidity ^0.8.0;

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

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

pragma solidity ^0.8.0;

import "./IERC165.sol";

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

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

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

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

import "../IERC721.sol";

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

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

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

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

pragma solidity ^0.8.0;

import "../IERC721.sol";

/**
 * @title ERC-721 Non-Fungible Token Standard, optional enumeration extension
 * @dev See https://eips.ethereum.org/EIPS/eip-721
 */
interface IERC721Enumerable is IERC721 {
    /**
     * @dev Returns the total amount of tokens stored by the contract.
     */
    function totalSupply() external view returns (uint256);

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

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

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

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

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        _approve(to, tokenId);
    }

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

        return _tokenApprovals[tokenId];
    }

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

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

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

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

        _transfer(from, to, tokenId);
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        _beforeTokenTransfer(from, to, tokenId);

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

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

        emit Transfer(from, to, tokenId);
    }

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

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

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

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

pragma solidity ^0.8.0;

/**
 * @dev Interface of the ERC20 standard as defined in the EIP.
 */
interface IERC20 {
    /**
     * @dev Returns the amount of tokens in existence.
     */
    function totalSupply() external view returns (uint256);

    /**
     * @dev Returns the amount of tokens owned by `account`.
     */
    function balanceOf(address account) external view returns (uint256);

    /**
     * @dev Moves `amount` tokens from the caller's account to `recipient`.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transfer(address recipient, uint256 amount) external returns (bool);

    /**
     * @dev Returns the remaining number of tokens that `spender` will be
     * allowed to spend on behalf of `owner` through {transferFrom}. This is
     * zero by default.
     *
     * This value changes when {approve} or {transferFrom} are called.
     */
    function allowance(address owner, address spender) external view returns (uint256);

    /**
     * @dev Sets `amount` as the allowance of `spender` over the caller's tokens.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * IMPORTANT: Beware that changing an allowance with this method brings the risk
     * that someone may use both the old and the new allowance by unfortunate
     * transaction ordering. One possible solution to mitigate this race
     * condition is to first reduce the spender's allowance to 0 and set the
     * desired value afterwards:
     * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729
     *
     * Emits an {Approval} event.
     */
    function approve(address spender, uint256 amount) external returns (bool);

    /**
     * @dev Moves `amount` tokens from `sender` to `recipient` using the
     * allowance mechanism. `amount` is then deducted from the caller's
     * allowance.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transferFrom(
        address sender,
        address recipient,
        uint256 amount
    ) external returns (bool);

    /**
     * @dev Emitted when `value` tokens are moved from one account (`from`) to
     * another (`to`).
     *
     * Note that `value` may be zero.
     */
    event Transfer(address indexed from, address indexed to, uint256 value);

    /**
     * @dev Emitted when the allowance of a `spender` for an `owner` is set by
     * a call to {approve}. `value` is the new allowance.
     */
    event Approval(address indexed owner, address indexed spender, uint256 value);
}

Settings
{
  "remappings": [],
  "optimizer": {
    "enabled": false,
    "runs": 200
  },
  "evmVersion": "istanbul",
  "libraries": {},
  "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":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"uint256","name":"traitTypeIndex","type":"uint256"},{"components":[{"internalType":"string","name":"name","type":"string"},{"internalType":"string","name":"data","type":"string"}],"internalType":"struct OnChainMonsters.Trait[]","name":"traits","type":"tuple[]"}],"name":"addTraits","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"}],"name":"allTraits","outputs":[{"internalType":"string","name":"name","type":"string"},{"internalType":"string","name":"data","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"burnForMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"clearTraits","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"currentMintingCost","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes8","name":"tHash","type":"bytes8"}],"name":"hashToMetadata","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes8","name":"tHash","type":"bytes8"}],"name":"hashToSVG","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"mintMonster","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"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":"address","name":"a","type":"address"}],"name":"setDoughAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenIdToTraitsHash","outputs":[{"internalType":"bytes8","name":"","type":"bytes8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"wallet","type":"address"}],"name":"walletOfOwner","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"}]

6080604052650c0ffee2c0de6109d0556040518060e001604052806040518060400160405280600481526020017f7461696c0000000000000000000000000000000000000000000000000000000081525081526020016040518060400160405280600481526020017f626f64790000000000000000000000000000000000000000000000000000000081525081526020016040518060400160405280600481526020017f686561640000000000000000000000000000000000000000000000000000000081525081526020016040518060400160405280600481526020017f657965730000000000000000000000000000000000000000000000000000000081525081526020016040518060400160405280600481526020017f61726d730000000000000000000000000000000000000000000000000000000081525081526020016040518060400160405280600581526020017f6d6f75746800000000000000000000000000000000000000000000000000000081525081526020016040518060400160405280600681526020017f6275726e656400000000000000000000000000000000000000000000000000008152508152506109d3906007620001c892919062001298565b5060405180610120016040528060405180606001604052806040518060400160405280600681526020017f346435323635000000000000000000000000000000000000000000000000000081525081526020016040518060400160405280600681526020017f643662643061000000000000000000000000000000000000000000000000000081525081526020016040518060400160405280600481526020017f476f6c6400000000000000000000000000000000000000000000000000000000815250815250815260200160405180606001604052806040518060400160405280600681526020017f393538363864000000000000000000000000000000000000000000000000000081525081526020016040518060400160405280600681526020017f653765356439000000000000000000000000000000000000000000000000000081525081526020016040518060400160405280600581526020017f4c69676874000000000000000000000000000000000000000000000000000000815250815250815260200160405180606001604052806040518060400160405280600681526020017f646165376561000000000000000000000000000000000000000000000000000081525081526020016040518060400160405280600681526020017f383238373935000000000000000000000000000000000000000000000000000081525081526020016040518060400160405280600481526020017f4461726b00000000000000000000000000000000000000000000000000000000815250815250815260200160405180606001604052806040518060400160405280600681526020017f343966656433000000000000000000000000000000000000000000000000000081525081526020016040518060400160405280600681526020017f663265633535000000000000000000000000000000000000000000000000000081525081526020016040518060400160405280600681526020017f59656c6c6f770000000000000000000000000000000000000000000000000000815250815250815260200160405180606001604052806040518060400160405280600681526020017f666566373439000000000000000000000000000000000000000000000000000081525081526020016040518060400160405280600681526020017f373962626533000000000000000000000000000000000000000000000000000081525081526020016040518060400160405280600481526020017f426c756500000000000000000000000000000000000000000000000000000000815250815250815260200160405180606001604052806040518060400160405280600681526020017f663536303630000000000000000000000000000000000000000000000000000081525081526020016040518060400160405280600681526020017f366664303637000000000000000000000000000000000000000000000000000081525081526020016040518060400160405280600581526020017f477265656e000000000000000000000000000000000000000000000000000000815250815250815260200160405180606001604052806040518060400160405280600681526020017f363064316635000000000000000000000000000000000000000000000000000081525081526020016040518060400160405280600681526020017f663962356331000000000000000000000000000000000000000000000000000081525081526020016040518060400160405280600481526020017f50696e6b00000000000000000000000000000000000000000000000000000000815250815250815260200160405180606001604052806040518060400160405280600681526020017f363066353631000000000000000000000000000000000000000000000000000081525081526020016040518060400160405280600681526020017f656137653735000000000000000000000000000000000000000000000000000081525081526020016040518060400160405280600381526020017f5265640000000000000000000000000000000000000000000000000000000000815250815250815260200160405180606001604052806040518060400160405280600681526020017f666564343439000000000000000000000000000000000000000000000000000081525081526020016040518060400160405280600681526020017f623938626462000000000000000000000000000000000000000000000000000081525081526020016040518060400160405280600681526020017f507572706c6500000000000000000000000000000000000000000000000000008152508152508152506109da9060096200089d929190620012f2565b5060405180610a200160405280603060ff168152602001603160ff168152602001603260ff168152602001603360ff168152602001603460ff168152602001603560ff168152602001603660ff168152602001603760ff168152602001603860ff168152602001603960ff168152602001606160ff168152602001606260ff168152602001606360ff168152602001606460ff168152602001606560ff168152602001606660ff168152602001606760ff168152602001606860ff168152602001606960ff168152602001606a60ff168152602001606b60ff168152602001606c60ff168152602001606d60ff168152602001606e60ff168152602001606f60ff168152602001607060ff168152602001607160ff168152602001607260ff168152602001607360ff168152602001607460ff168152602001607560ff168152602001607660ff168152602001607760ff168152602001607860ff168152602001607960ff168152602001607a60ff168152602001604260ff168152602001604460ff168152602001604560ff168152602001604660ff168152602001604760ff168152602001604960ff168152602001604a60ff168152602001604b60ff168152602001604e60ff168152602001604f60ff168152602001605060ff168152602001605260ff168152602001605560ff168152602001605760ff168152602001605860ff168152602001605960ff168152602001602160ff168152602001602360ff168152602001602460ff168152602001602560ff168152602001602660ff168152602001602860ff168152602001602960ff168152602001602a60ff168152602001602b60ff168152602001602c60ff168152602001602d60ff168152602001602e60ff168152602001602f60ff168152602001603a60ff168152602001603b60ff168152602001603c60ff168152602001603d60ff168152602001603e60ff168152602001603f60ff168152602001604060ff168152602001605b60ff168152602001605d60ff168152602001605e60ff168152602001605f60ff168152602001606060ff168152602001607b60ff168152602001607c60ff168152602001607d60ff168152602001607e60ff168152506109f590605162000be59291906200134a565b5034801562000bf357600080fd5b506040518060400160405280601181526020017f4f6e2d436861696e204d6f6e73746572730000000000000000000000000000008152506040518060400160405280600581526020017f4f434d4f53000000000000000000000000000000000000000000000000000000815250816000908051906020019062000c78929190620013eb565b50806001908051906020019062000c91929190620013eb565b505050336109d260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506040518060e00160405280610fa061ffff1681526020016107d061ffff1681526020016103e861ffff1681526020016103e861ffff1681526020016102ee61ffff1681526020016102ee61ffff1681526020016101f461ffff168152506109f860006007811062000d70577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b0190600762000d819291906200147c565b506040518061010001604052806108ca61ffff1681526020016108ca61ffff16815260200161083461ffff1681526020016103e861ffff1681526020016103e861ffff1681526020016102ee61ffff16815260200161019061ffff16815260200160fa61ffff168152506109f860016007811062000e28577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b0190600862000e399291906200152d565b50604051806101c001604052806104fb61ffff1681526020016104fb61ffff1681526020016103f261ffff1681526020016103b661ffff1681526020016103b661ffff1681526020016103b661ffff16815260200161038461ffff16815260200161038461ffff16815260200161032061ffff16815260200161019061ffff16815260200161012c61ffff16815260200160fa61ffff168152602001601461ffff168152602001601461ffff168152506109f860026007811062000f26577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b0190600e62000f37929190620015de565b506040518061014001604052806105dc61ffff16815260200161051461ffff16815260200161051461ffff16815260200161044c61ffff1681526020016103e861ffff16815260200161038461ffff16815260200161032061ffff16815260200161032061ffff16815260200161032061ffff1681526020016101f461ffff168152506109f860036007811062000ff7577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b0190600a620010089291906200168f565b506040518061016001604052806107d061ffff1681526020016107d061ffff16815260200161032061ffff16815260200161032061ffff16815260200161032061ffff16815260200161032061ffff16815260200161032061ffff1681526020016102ee61ffff1681526020016101f461ffff1681526020016101f461ffff16815260200160fa61ffff168152506109f8600460078110620010d3577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b0190600b620010e492919062001740565b5060405180610180016040528061036661ffff16815260200161036661ffff16815260200161036661ffff16815260200161036661ffff16815260200161036661ffff16815260200161036661ffff16815260200161036661ffff16815260200161036661ffff16815260200161036661ffff16815260200161036661ffff16815260200161036661ffff1681526020016101ae61ffff168152506109f8600560078110620011bc577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b0190600c620011cd929190620017f1565b50604051806101200160405280600161ffff1681526020016104e261ffff1681526020016104e261ffff1681526020016104e261ffff1681526020016104e261ffff1681526020016104e261ffff1681526020016104e261ffff1681526020016104e261ffff1681526020016104e161ffff168152506109f860066007811062001280577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b0190600962001291929190620018a2565b5062001b00565b8260078101928215620012df579160200282015b82811115620012de578251829080519060200190620012cd929190620013eb565b5091602001919060010190620012ac565b5b509050620012ee919062001953565b5090565b826009600302810192821562001337579160200282015b828111156200133657825182906003620013259291906200197b565b509160200191906003019062001309565b5b509050620013469190620019d5565b5090565b826051601f01602090048101928215620013d85791602002820160005b83821115620013a757835183826101000a81548160ff021916908360ff160217905550926020019260010160208160000104928301926001030262001367565b8015620013d65782816101000a81549060ff0219169055600101602081600001049283019260010302620013a7565b505b509050620013e79190620019fd565b5090565b828054620013f99062001a9b565b90600052602060002090601f0160209004810192826200141d576000855562001469565b82601f106200143857805160ff191683800117855562001469565b8280016001018555821562001469579182015b82811115620014685782518255916020019190600101906200144b565b5b509050620014789190620019fd565b5090565b82805482825590600052602060002090600f016010900481019282156200151a5791602002820160005b83821115620014e857835183826101000a81548161ffff021916908361ffff1602179055509260200192600201602081600101049283019260010302620014a6565b8015620015185782816101000a81549061ffff0219169055600201602081600101049283019260010302620014e8565b505b509050620015299190620019fd565b5090565b82805482825590600052602060002090600f01601090048101928215620015cb5791602002820160005b838211156200159957835183826101000a81548161ffff021916908361ffff160217905550926020019260020160208160010104928301926001030262001557565b8015620015c95782816101000a81549061ffff021916905560020160208160010104928301926001030262001599565b505b509050620015da9190620019fd565b5090565b82805482825590600052602060002090600f016010900481019282156200167c5791602002820160005b838211156200164a57835183826101000a81548161ffff021916908361ffff160217905550926020019260020160208160010104928301926001030262001608565b80156200167a5782816101000a81549061ffff02191690556002016020816001010492830192600103026200164a565b505b5090506200168b9190620019fd565b5090565b82805482825590600052602060002090600f016010900481019282156200172d5791602002820160005b83821115620016fb57835183826101000a81548161ffff021916908361ffff1602179055509260200192600201602081600101049283019260010302620016b9565b80156200172b5782816101000a81549061ffff0219169055600201602081600101049283019260010302620016fb565b505b5090506200173c9190620019fd565b5090565b82805482825590600052602060002090600f01601090048101928215620017de5791602002820160005b83821115620017ac57835183826101000a81548161ffff021916908361ffff16021790555092602001926002016020816001010492830192600103026200176a565b8015620017dc5782816101000a81549061ffff0219169055600201602081600101049283019260010302620017ac565b505b509050620017ed9190620019fd565b5090565b82805482825590600052602060002090600f016010900481019282156200188f5791602002820160005b838211156200185d57835183826101000a81548161ffff021916908361ffff16021790555092602001926002016020816001010492830192600103026200181b565b80156200188d5782816101000a81549061ffff02191690556002016020816001010492830192600103026200185d565b505b5090506200189e9190620019fd565b5090565b82805482825590600052602060002090600f01601090048101928215620019405791602002820160005b838211156200190e57835183826101000a81548161ffff021916908361ffff1602179055509260200192600201602081600101049283019260010302620018cc565b80156200193e5782816101000a81549061ffff02191690556002016020816001010492830192600103026200190e565b505b5090506200194f9190620019fd565b5090565b5b808211156200197757600081816200196d919062001a1c565b5060010162001954565b5090565b8260038101928215620019c2579160200282015b82811115620019c1578251829080519060200190620019b0929190620013eb565b50916020019190600101906200198f565b5b509050620019d1919062001953565b5090565b5b80821115620019f95760008181620019ef919062001a62565b50600301620019d6565b5090565b5b8082111562001a18576000816000905550600101620019fe565b5090565b50805462001a2a9062001a9b565b6000825580601f1062001a3e575062001a5f565b601f01602090049060005260206000209081019062001a5e9190620019fd565b5b50565b506000818162001a73919062001a1c565b506001016000818162001a87919062001a1c565b50600101600062001a99919062001a1c565b565b6000600282049050600182168062001ab457607f821691505b6020821081141562001acb5762001aca62001ad1565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b615a9f8062001b106000396000f3fe608060405234801561001057600080fd5b50600436106101c45760003560e01c806389857cd2116100f9578063b88d4fde11610097578063c87b56dd11610071578063c87b56dd14610515578063e985e9c514610545578063f2fde38b14610575578063fb7ef6d814610591576101c4565b8063b88d4fde146104d3578063bb7a2d58146104ef578063c4ef71c7146104f9576101c4565b806395d89b41116100d357806395d89b411461044b5780639b7fb03214610469578063a22cb46514610487578063b85d8d26146104a3576101c4565b806389857cd2146103cf5780639304782c146103eb57806395cae34d1461041b576101c4565b80632f745c59116101665780634f6ccce7116101405780634f6ccce7146103235780636352211e1461035357806369bca0541461038357806370a082311461039f576101c4565b80632f745c59146102a757806342842e0e146102d7578063438b6300146102f3576101c4565b8063095ea7b3116101a2578063095ea7b314610247578063098afd4b1461026357806318160ddd1461026d57806323b872dd1461028b576101c4565b806301ffc9a7146101c957806306fdde03146101f9578063081812fc14610217575b600080fd5b6101e360048036038101906101de9190613be4565b6105c2565b6040516101f09190614fde565b60405180910390f35b61020161063c565b60405161020e9190615014565b60405180910390f35b610231600480360381019061022c9190613c5f565b6106ce565b60405161023e9190614f2c565b60405180910390f35b610261600480360381019061025c9190613ba8565b610753565b005b61026b61086b565b005b610275610907565b604051610282919061524d565b60405180910390f35b6102a560048036038101906102a09190613aa2565b610914565b005b6102c160048036038101906102bc9190613ba8565b610974565b6040516102ce919061524d565b60405180910390f35b6102f160048036038101906102ec9190613aa2565b610a19565b005b61030d60048036038101906103089190613a3d565b610a39565b60405161031a9190614fbc565b60405180910390f35b61033d60048036038101906103389190613c5f565b610b33565b60405161034a919061524d565b60405180910390f35b61036d60048036038101906103689190613c5f565b610bca565b60405161037a9190614f2c565b60405180910390f35b61039d60048036038101906103989190613a3d565b610c7c565b005b6103b960048036038101906103b49190613a3d565b610d1c565b6040516103c6919061524d565b60405180910390f35b6103e960048036038101906103e49190613c88565b610dd4565b005b61040560048036038101906104009190613c36565b610f68565b6040516104129190615014565b60405180910390f35b61043560048036038101906104309190613c5f565b6111bc565b6040516104429190614ff9565b60405180910390f35b610453611279565b6040516104609190615014565b60405180910390f35b61047161130b565b60405161047e919061524d565b60405180910390f35b6104a1600480360381019061049c9190613b6c565b61138d565b005b6104bd60048036038101906104b89190613cdc565b61150e565b6040516104ca9190615014565b60405180910390f35b6104ed60048036038101906104e89190613af1565b611b26565b005b6104f7611b88565b005b610513600480360381019061050e9190613c5f565b611c48565b005b61052f600480360381019061052a9190613c5f565b611cb2565b60405161053c9190615014565b60405180910390f35b61055f600480360381019061055a9190613a66565b611d47565b60405161056c9190614fde565b60405180910390f35b61058f600480360381019061058a9190613a3d565b611ddb565b005b6105ab60048036038101906105a69190613d18565b611e7b565b6040516105b9929190615036565b60405180910390f35b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610635575061063482611fcc565b5b9050919050565b60606000805461064b9061563b565b80601f01602080910402602001604051908101604052809291908181526020018280546106779061563b565b80156106c45780601f10610699576101008083540402835291602001916106c4565b820191906000526020600020905b8154815290600101906020018083116106a757829003601f168201915b5050505050905090565b60006106d9826120ae565b610718576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161070f906151ad565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b600061075e82610bca565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156107cf576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107c6906151ed565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff166107ee61211a565b73ffffffffffffffffffffffffffffffffffffffff16148061081d575061081c8161081761211a565b611d47565b5b61085c576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108539061512d565b60405180910390fd5b6108668383612122565b505050565b3373ffffffffffffffffffffffffffffffffffffffff166109d260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16146108c657600080fd5b60005b600881101561090457600a600082815260200190815260200160002060006108f191906136ae565b80806108fc9061566d565b9150506108c9565b50565b6000600880549050905090565b61092561091f61211a565b826121db565b610964576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161095b9061520d565b60405180910390fd5b61096f8383836122b9565b505050565b600061097f83610d1c565b82106109c0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109b79061506d565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b610a3483838360405180602001604052806000815250611b26565b505050565b60606000610a4683610d1c565b905060008167ffffffffffffffff811115610a8a577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b604051908082528060200260200182016040528015610ab85781602001602082028036833780820191505090505b50905060005b82811015610b2857610ad08582610974565b828281518110610b09577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010181815250508080610b209061566d565b915050610abe565b508092505050919050565b6000610b3d610907565b8210610b7e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b759061522d565b60405180910390fd5b60088281548110610bb8577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002001549050919050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610c73576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c6a9061516d565b60405180910390fd5b80915050919050565b3373ffffffffffffffffffffffffffffffffffffffff166109d260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614610cd757600080fd5b806109d160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415610d8d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d849061514d565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b3373ffffffffffffffffffffffffffffffffffffffff166109d260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614610e2f57600080fd5b60005b8151811015610f6357600a60008481526020019081526020016000206040518060400160405280848481518110610e92577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010151600001518152602001848481518110610edc577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101516020015181525090806001815401808255809150506001900390600052602060002090600202016000909190919091506000820151816000019080519060200190610f309291906136d2565b506020820151816001019080519060200190610f4d9291906136d2565b5050508080610f5b9061566d565b915050610e32565b505050565b606060006040518060400160405280600181526020017f5b00000000000000000000000000000000000000000000000000000000000000815250905060005b60078160ff1610156110d3576000848260ff1660088110610ff1577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b1a60f81b60f81c9050826109d38360ff1660078110611039577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b01600a60008560ff1681526020019081526020016000208360ff168154811061108b577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002090600202016000016040516020016110ae93929190614c6d565b60405160208183030381529060405292505080806110cb906156b6565b915050610fa7565b50806109da84600760088110611112577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b1a60f81b60f81c60ff1660098110611153577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60030201600260038110611190577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b016040516020016111a2929190614d03565b604051602081830303815290604052905080915050919050565b600080600c8361271081106111fa577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b600491828204019190066008029054906101000a900460c01b905073deaddeaddeaddeaddeaddeaddeaddeaddeaddead73ffffffffffffffffffffffffffffffffffffffff1661124984610bca565b73ffffffffffffffffffffffffffffffffffffffff1614156112705761010060c01b811890505b80915050919050565b6060600180546112889061563b565b80601f01602080910402602001604051908101604052809291908181526020018280546112b49061563b565b80156113015780601f106112d657610100808354040283529160200191611301565b820191906000526020600020905b8154815290600101906020018083116112e457829003601f168201915b5050505050905090565b600080611316610907565b90506107d081101561132c57600091505061138a565b610fa081101561134757670de0b6b3a764000091505061138a565b61177081101561136257671bc16d674ec8000091505061138a565b611f4081101561137d576729a2241af62c000091505061138a565b673782dace9d9000009150505b90565b61139561211a565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611403576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113fa906150ed565b60405180910390fd5b806005600061141061211a565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff166114bd61211a565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516115029190614fde565b60405180910390a35050565b60608060005b60078160ff161015611969576000848260ff166008811061155e577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b1a60f81b60f81c90506000600a60008460ff1681526020019081526020016000208260ff16815481106115ba577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b906000526020600020906002020160010180546115d69061563b565b80601f01602080910402602001604051908101604052809291908181526020018280546116029061563b565b801561164f5780601f106116245761010080835404028352916020019161164f565b820191906000526020600020905b81548152906001019060200180831161163257829003601f168201915b5050505050905060005b815181101561195357600082828151811061169d577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602001015160f81c60f81b60f81c905081806116b89061566d565b925050600061170c8484815181106116f9577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602001015160f81c60f81b60f81c612515565b60ff169050828061171c9061566d565b935050600061177085858151811061175d577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602001015160f81c60f81b60f81c612515565b60ff16905083806117809061566d565b9450506000816050846117939190615475565b61179d91906153ee565b9050886040516020016117b09190614ce1565b604051602081830303815290604052985060005b818110156118e95760008782886117db91906153ee565b81518110611812577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602001015160f81c60f81b60f81c905060438160ff1614806118375750604c8160ff16145b80611845575060568160ff16145b80611853575060488160ff16145b806118615750604d8160ff16145b8061186f5750605a8160ff16145b1561189d578a81604051602001611887929190614d70565b6040516020818303038152906040529a506118d5565b8a6118b26118aa83612515565b60ff166125b1565b6040516020016118c3929190614c3e565b6040516020818303038152906040529a505b5080806118e19061566d565b9150506117c4565b5080856118f691906153ee565b945060308460ff1614611928578884604051602001611916929190614d3d565b60405160208183030381529060405298505b886040516020016119399190614cbf565b604051602081830303815290604052985050505050611659565b5050508080611961906156b6565b915050611514565b506000836007600881106119a6577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b1a60f81b60f81c905060006119ba866125b1565b9050806109da8360ff16600981106119fb577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60030201600060038110611a38577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b0160008460ff1614611a595760405180602001604052806000815250611a76565b604051806101a0016040528061017e81526020016158ac61017e91395b85846109da8760ff1660098110611ab6577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60030201600160038110611af3577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b01604051602001611b0996959493929190614da3565b604051602081830303815290604052925082935050505092915050565b611b37611b3161211a565b836121db565b611b76576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b6d9061520d565b60405180910390fd5b611b828484848461275e565b50505050565b6107d0611b93610907565b1015611ba657611ba16127ba565b611c46565b6109d160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166379cc679033611bee61130b565b6040518363ffffffff1660e01b8152600401611c0b929190614f93565b600060405180830381600087803b158015611c2557600080fd5b505af1158015611c39573d6000803e3d6000fd5b50505050611c456127ba565b5b565b3373ffffffffffffffffffffffffffffffffffffffff16611c6882610bca565b73ffffffffffffffffffffffffffffffffffffffff1614611c8857600080fd5b611ca73373deaddeaddeaddeaddeaddeaddeaddeaddeaddead836122b9565b611caf6127ba565b50565b6060611cbd826120ae565b611cc657600080fd5b6000611cd1836111bc565b9050611d20611cdf846125b1565b611cf1611cec868561150e565b612919565b611cfa84610f68565b604051602001611d0c93929190614e5f565b604051602081830303815290604052612919565b604051602001611d309190614e3d565b604051602081830303815290604052915050919050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b3373ffffffffffffffffffffffffffffffffffffffff166109d260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614611e3657600080fd5b806109d260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b600a6020528160005260406000208181548110611e9757600080fd5b906000526020600020906002020160009150915050806000018054611ebb9061563b565b80601f0160208091040260200160405190810160405280929190818152602001828054611ee79061563b565b8015611f345780601f10611f0957610100808354040283529160200191611f34565b820191906000526020600020905b815481529060010190602001808311611f1757829003601f168201915b505050505090806001018054611f499061563b565b80601f0160208091040260200160405190810160405280929190818152602001828054611f759061563b565b8015611fc25780601f10611f9757610100808354040283529160200191611fc2565b820191906000526020600020905b815481529060010190602001808311611fa557829003601f168201915b5050505050905082565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061209757507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806120a757506120a682612ac4565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff1661219583610bca565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b60006121e6826120ae565b612225576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161221c9061510d565b60405180910390fd5b600061223083610bca565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16148061229f57508373ffffffffffffffffffffffffffffffffffffffff16612287846106ce565b73ffffffffffffffffffffffffffffffffffffffff16145b806122b057506122af8185611d47565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff166122d982610bca565b73ffffffffffffffffffffffffffffffffffffffff161461232f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612326906151cd565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561239f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612396906150cd565b60405180910390fd5b6123aa838383612b2e565b6123b5600082612122565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612405919061550a565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461245c91906153ee565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b600080600090505b60518160ff1610156125a6576109f58160ff1660518110612567577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602091828204019190069054906101000a900460ff1660ff168360ff16141561259357809150506125ac565b808061259e906156b6565b91505061251d565b50600080fd5b919050565b606060008214156125f9576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612759565b600082905060005b6000821461262b5780806126149061566d565b915050600a826126249190615444565b9150612601565b60008167ffffffffffffffff81111561266d577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f19166020018201604052801561269f5781602001600182028036833780820191505090505b5090505b60008514612752576001826126b8919061550a565b9150600a856126c79190615720565b60306126d391906153ee565b60f81b81838151811061270f577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a8561274b9190615444565b94506126a3565b8093505050505b919050565b6127698484846122b9565b61277584848484612c42565b6127b4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127ab9061508d565b60405180910390fd5b50505050565b60006127c4610907565b905061271081106127d457600080fd5b6127dd33612dd9565b156127e757600080fd5b6127f2816000612dec565b600c82612710811061282d577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b600491828204019190066008026101000a81548167ffffffffffffffff021916908360c01c02179055506001600b6000600c846127108110612898577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b600491828204019190066008029054906101000a900460c01b77ffffffffffffffffffffffffffffffffffffffffffffffff191677ffffffffffffffffffffffffffffffffffffffffffffffff1916815260200190815260200160002060006101000a81548160ff0219169083151502179055506129163382612fff565b50565b606060008251141561293c57604051806020016040528060008152509050612abf565b6000604051806060016040528060408152602001615a2a604091399050600060036002855161296b91906153ee565b6129759190615444565b60046129819190615475565b9050600060208261299291906153ee565b67ffffffffffffffff8111156129d1577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015612a035781602001600182028036833780820191505090505b509050818152600183018586518101602084015b81831015612a7e576003830192508251603f8160121c1685015160f81b8252600182019150603f81600c1c1685015160f81b8252600182019150603f8160061c1685015160f81b8252600182019150603f811685015160f81b825260018201915050612a17565b600389510660018114612a985760028114612aa857612ab3565b613d3d60f01b6002830352612ab3565b603d60f81b60018303525b50505050508093505050505b919050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b612b398383836131cd565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612b7c57612b77816131d2565b612bbb565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614612bba57612bb9838261321b565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612bfe57612bf981613388565b612c3d565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614612c3c57612c3b82826134cb565b5b5b505050565b6000612c638473ffffffffffffffffffffffffffffffffffffffff1661354a565b15612dcc578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612c8c61211a565b8786866040518563ffffffff1660e01b8152600401612cae9493929190614f47565b602060405180830381600087803b158015612cc857600080fd5b505af1925050508015612cf957506040513d601f19601f82011682018060405250810190612cf69190613c0d565b60015b612d7c573d8060008114612d29576040519150601f19603f3d011682016040523d82523d6000602084013e612d2e565b606091505b50600081511415612d74576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d6b9061508d565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050612dd1565b600190505b949350505050565b600080823b905060008111915050919050565b6000600a8210612dfb57600080fd5b60008060c01b9050600067ff0000000000000060c01b905060006109d05490506000818733884244604051602001612e3896959493929190614ebc565b6040516020818303038152906040528051906020012060001c905060005b60068160ff161015612ef357806008612e6f91906154cf565b60ff16612e9b612710836020612e8591906154cf565b60ff1685901c612e959190615720565b8361355d565b7effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916851677ffffffffffffffffffffffffffffffffffffffffffffffff1916901c851894508080612eeb906156b6565b915050612e56565b5060006107d088612f049190615720565b1115612f6a576038612f2461271084612f1d9190615720565b600661355d565b7effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916841677ffffffffffffffffffffffffffffffffffffffffffffffff1916901c841893505b8082186109d081905550600b60008577ffffffffffffffffffffffffffffffffffffffffffffffff191677ffffffffffffffffffffffffffffffffffffffffffffffff1916815260200190815260200160002060009054906101000a900460ff1615612ff157612fe687600188612fe191906153ee565b612dec565b945050505050612ff9565b839450505050505b92915050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561306f576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016130669061518d565b60405180910390fd5b613078816120ae565b156130b8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016130af906150ad565b60405180910390fd5b6130c460008383612b2e565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461311491906153ee565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b6000600161322884610d1c565b613232919061550a565b9050600060076000848152602001908152602001600020549050818114613317576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b6000600160088054905061339c919061550a565b90506000600960008481526020019081526020016000205490506000600883815481106133f2577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002001549050806008838154811061343a577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9060005260206000200181905550816009600083815260200190815260200160002081905550600960008581526020019081526020016000206000905560088054806134af577f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b6001900381819060005260206000200160009055905550505050565b60006134d683610d1c565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b600080823b905060008111915050919050565b6000806000905060005b6109f88460ff16600781106135a5577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b01805490508160ff1610156136a25760006109f88560ff16600781106135f4577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b018260ff1681548110613630577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002090601091828204019190066002029054906101000a900461ffff168361365f91906153b6565b90508261ffff16861015801561367857508061ffff1686105b1561368b578160f81b93505050506136a8565b80925050808061369a906156b6565b915050613567565b50600080fd5b92915050565b50805460008255600202906000526020600020908101906136cf9190613758565b50565b8280546136de9061563b565b90600052602060002090601f0160209004810192826137005760008555613747565b82601f1061371957805160ff1916838001178555613747565b82800160010185558215613747579182015b8281111561374657825182559160200191906001019061372b565b5b509050613754919061378f565b5090565b5b8082111561378b576000808201600061377291906137ac565b60018201600061378291906137ac565b50600201613759565b5090565b5b808211156137a8576000816000905550600101613790565b5090565b5080546137b89061563b565b6000825580601f106137ca57506137e9565b601f0160209004906000526020600020908101906137e8919061378f565b5b50565b60006137ff6137fa84615299565b615268565b9050808382526020820190508260005b8581101561383f578135850161382588826139ac565b84526020840193506020830192505060018101905061380f565b5050509392505050565b600061385c613857846152c5565b615268565b90508281526020810184848401111561387457600080fd5b61387f8482856155f9565b509392505050565b600061389a613895846152f5565b615268565b9050828152602081018484840111156138b257600080fd5b6138bd8482856155f9565b509392505050565b6000813590506138d481615838565b92915050565b600082601f8301126138eb57600080fd5b81356138fb8482602086016137ec565b91505092915050565b6000813590506139138161584f565b92915050565b60008135905061392881615866565b92915050565b60008151905061393d81615866565b92915050565b6000813590506139528161587d565b92915050565b600082601f83011261396957600080fd5b8135613979848260208601613849565b91505092915050565b600082601f83011261399357600080fd5b81356139a3848260208601613887565b91505092915050565b6000604082840312156139be57600080fd5b6139c86040615268565b9050600082013567ffffffffffffffff8111156139e457600080fd5b6139f084828501613982565b600083015250602082013567ffffffffffffffff811115613a1057600080fd5b613a1c84828501613982565b60208301525092915050565b600081359050613a3781615894565b92915050565b600060208284031215613a4f57600080fd5b6000613a5d848285016138c5565b91505092915050565b60008060408385031215613a7957600080fd5b6000613a87858286016138c5565b9250506020613a98858286016138c5565b9150509250929050565b600080600060608486031215613ab757600080fd5b6000613ac5868287016138c5565b9350506020613ad6868287016138c5565b9250506040613ae786828701613a28565b9150509250925092565b60008060008060808587031215613b0757600080fd5b6000613b15878288016138c5565b9450506020613b26878288016138c5565b9350506040613b3787828801613a28565b925050606085013567ffffffffffffffff811115613b5457600080fd5b613b6087828801613958565b91505092959194509250565b60008060408385031215613b7f57600080fd5b6000613b8d858286016138c5565b9250506020613b9e85828601613904565b9150509250929050565b60008060408385031215613bbb57600080fd5b6000613bc9858286016138c5565b9250506020613bda85828601613a28565b9150509250929050565b600060208284031215613bf657600080fd5b6000613c0484828501613919565b91505092915050565b600060208284031215613c1f57600080fd5b6000613c2d8482850161392e565b91505092915050565b600060208284031215613c4857600080fd5b6000613c5684828501613943565b91505092915050565b600060208284031215613c7157600080fd5b6000613c7f84828501613a28565b91505092915050565b60008060408385031215613c9b57600080fd5b6000613ca985828601613a28565b925050602083013567ffffffffffffffff811115613cc657600080fd5b613cd2858286016138da565b9150509250929050565b60008060408385031215613cef57600080fd5b6000613cfd85828601613a28565b9250506020613d0e85828601613943565b9150509250929050565b60008060408385031215613d2b57600080fd5b6000613d3985828601613a28565b9250506020613d4a85828601613a28565b9150509250929050565b6000613d608383614bf2565b60208301905092915050565b613d758161553e565b82525050565b613d8c613d878261553e565b6156e0565b82525050565b6000613d9d8261534a565b613da78185615378565b9350613db283615325565b8060005b83811015613de3578151613dca8882613d54565b9750613dd58361536b565b925050600181019050613db6565b5085935050505092915050565b613df981615550565b82525050565b613e0881615588565b82525050565b6000613e1982615355565b613e238185615389565b9350613e33818560208601615608565b613e3c8161580d565b840191505092915050565b6000613e5282615360565b613e5c818561539a565b9350613e6c818560208601615608565b613e758161580d565b840191505092915050565b6000613e8b82615360565b613e9581856153ab565b9350613ea5818560208601615608565b80840191505092915050565b60008154613ebe8161563b565b613ec881866153ab565b94506001821660008114613ee35760018114613ef457613f27565b60ff19831686528186019350613f27565b613efd85615335565b60005b83811015613f1f57815481890152600182019150602081019050613f00565b838801955050505b50505092915050565b6000613f3d609e836153ab565b91507f2220786d6c6e733d22687474703a2f2f7777772e77332e6f72672f323030302f60008301527f73766722207072657365727665417370656374526174696f3d22784d696e594d60208301527f696e206d656574222076696577426f783d22302030203830203830223e3c726560408301527f637420783d22302220793d2230222077696474683d223830222068656967687460608301527f3d22383022207374726f6b652d77696474683d2230222066696c6c3d222300006080830152609e82019050919050565b6000614015602b8361539a565b91507f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008301527f74206f6620626f756e64730000000000000000000000000000000000000000006020830152604082019050919050565b600061407b60328361539a565b91507f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008301527f63656976657220696d706c656d656e74657200000000000000000000000000006020830152604082019050919050565b60006140e1601c8361539a565b91507f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006000830152602082019050919050565b6000614121600f836153ab565b91507f222c2261747472696275746573223a00000000000000000000000000000000006000830152600f82019050919050565b60006141616003836153ab565b91507f227d2c00000000000000000000000000000000000000000000000000000000006000830152600382019050919050565b60006141a1606a836153ab565b91507f3c7374796c653e706174687b66696c6c3a6e6f6e653b7374726f6b653a23333460008301527f333433343b7374726f6b652d77696474683a2e343b7374726f6b652d6c696e6560208301527f6361703a726f756e643b7374726f6b652d6c696e656a6f696e3a726f756e643b60408301527f7d20236f63662d737667000000000000000000000000000000000000000000006060830152606a82019050919050565b600061425360248361539a565b91507f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008301527f72657373000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b60006142b960198361539a565b91507f4552433732313a20617070726f766520746f2063616c6c6572000000000000006000830152602082019050919050565b60006142f9600f836153ab565b91507f7b2274726169745f74797065223a2200000000000000000000000000000000006000830152600f82019050919050565b60006143396003836153ab565b91507f227d5d00000000000000000000000000000000000000000000000000000000006000830152600382019050919050565b6000614379602c8361539a565b91507f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008301527f697374656e7420746f6b656e00000000000000000000000000000000000000006020830152604082019050919050565b60006143df6001836153ab565b91507f20000000000000000000000000000000000000000000000000000000000000006000830152600182019050919050565b600061441f6003836153ab565b91507f272f3e00000000000000000000000000000000000000000000000000000000006000830152600382019050919050565b600061445f60388361539a565b91507f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008301527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006020830152604082019050919050565b60006144c56004836153ab565b91507f22202f3e000000000000000000000000000000000000000000000000000000006000830152600482019050919050565b6000614505602a8361539a565b91507f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008301527f726f2061646472657373000000000000000000000000000000000000000000006020830152604082019050919050565b600061456b60298361539a565b91507f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008301527f656e7420746f6b656e00000000000000000000000000000000000000000000006020830152604082019050919050565b60006145d16075836153ab565b91507f7d2e63327b66696c6c3a236134613461347d2e63337b66696c6c3a233334333460008301527f33347d2e63347b66696c6c3a236666666666667d2e63357b66696c6c3a23343860208301527f343834387d2e63367b66696c6c3a236438643864387d2e63377b66696c6c3a2360408301527f6666303066667d3c2f7374796c653e3c2f7376673e00000000000000000000006060830152607582019050919050565b600061468360208361539a565b91507f4552433732313a206d696e7420746f20746865207a65726f20616464726573736000830152602082019050919050565b60006146c36001836153ab565b91507f7d000000000000000000000000000000000000000000000000000000000000006000830152600182019050919050565b6000614703602c8361539a565b91507f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008301527f697374656e7420746f6b656e00000000000000000000000000000000000000006020830152604082019050919050565b6000614769600b836153ab565b91507f202e63317b66696c6c3a230000000000000000000000000000000000000000006000830152600b82019050919050565b60006147a960298361539a565b91507f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008301527f73206e6f74206f776e00000000000000000000000000000000000000000000006020830152604082019050919050565b600061480f600b836153ab565b91507f3c7061746820643d274d200000000000000000000000000000000000000000006000830152600b82019050919050565b600061484f6010836153ab565b91507f3c7376672069643d226f63662d737667000000000000000000000000000000006000830152601082019050919050565b600061488f600b836153ab565b91507f222c2276616c7565223a220000000000000000000000000000000000000000006000830152600b82019050919050565b60006148cf60218361539a565b91507f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008301527f72000000000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000614935601d836153ab565b91507f646174613a6170706c69636174696f6e2f6a736f6e3b6261736536342c0000006000830152601d82019050919050565b600061497560318361539a565b91507f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008301527f776e6572206e6f7220617070726f7665640000000000000000000000000000006020830152604082019050919050565b60006149db601f836153ab565b91507f7b2274726169745f74797065223a22636f6c6f72222c2276616c7565223a22006000830152601f82019050919050565b6000614a1b60a7836153ab565b91507f222c20226465736372697074696f6e223a20224120636f6c6c656374696f6e2060008301527f6f662031302c30303020756e69717565206d6f6e73746572732067656e65726160208301527f74656420627920636f64652e204e6f2065787465726e616c20646570656e646560408301527f6e636965732e203130302520457468657265756d20626c6f636b636861696e2e60608301527f222c2022696d616765223a2022646174613a696d6167652f7376672b786d6c3b60808301527f6261736536342c0000000000000000000000000000000000000000000000000060a083015260a782019050919050565b6000614b19602c8361539a565b91507f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008301527f7574206f6620626f756e647300000000000000000000000000000000000000006020830152604082019050919050565b6000614b7f600a836153ab565b91507f2720636c6173733d2763000000000000000000000000000000000000000000006000830152600a82019050919050565b6000614bbf601c836153ab565b91507f7b226e616d65223a20224f6e2d436861696e204d6f6e737465722023000000006000830152601c82019050919050565b614bfb816155e2565b82525050565b614c0a816155e2565b82525050565b614c21614c1c826155e2565b615704565b82525050565b614c38614c33826155ec565b61570e565b82525050565b6000614c4a8285613e80565b9150614c568284613e80565b9150614c61826143d2565b91508190509392505050565b6000614c798286613e80565b9150614c84826142ec565b9150614c908285613eb1565b9150614c9b82614882565b9150614ca78284613eb1565b9150614cb282614154565b9150819050949350505050565b6000614ccb8284613e80565b9150614cd682614412565b915081905092915050565b6000614ced8284613e80565b9150614cf882614802565b915081905092915050565b6000614d0f8285613e80565b9150614d1a826149ce565b9150614d268284613eb1565b9150614d318261432c565b91508190509392505050565b6000614d498285613e80565b9150614d5482614b72565b9150614d608284614c27565b6001820191508190509392505050565b6000614d7c8285613e80565b9150614d888284614c27565b600182019150614d97826143d2565b91508190509392505050565b6000614dae82614842565b9150614dba8289613e80565b9150614dc582613f30565b9150614dd18288613eb1565b9150614ddc826144b8565b9150614de88287613e80565b9150614df48286613e80565b9150614dff82614194565b9150614e0b8285613e80565b9150614e168261475c565b9150614e228284613eb1565b9150614e2d826145c4565b9150819050979650505050505050565b6000614e4882614928565b9150614e548284613e80565b915081905092915050565b6000614e6a82614bb2565b9150614e768286613e80565b9150614e8182614a0e565b9150614e8d8285613e80565b9150614e9882614114565b9150614ea48284613e80565b9150614eaf826146b6565b9150819050949350505050565b6000614ec88289614c10565b602082019150614ed88288614c10565b602082019150614ee88287613d7b565b601482019150614ef88286614c10565b602082019150614f088285614c10565b602082019150614f188284614c10565b602082019150819050979650505050505050565b6000602082019050614f416000830184613d6c565b92915050565b6000608082019050614f5c6000830187613d6c565b614f696020830186613d6c565b614f766040830185614c01565b8181036060830152614f888184613e0e565b905095945050505050565b6000604082019050614fa86000830185613d6c565b614fb56020830184614c01565b9392505050565b60006020820190508181036000830152614fd68184613d92565b905092915050565b6000602082019050614ff36000830184613df0565b92915050565b600060208201905061500e6000830184613dff565b92915050565b6000602082019050818103600083015261502e8184613e47565b905092915050565b600060408201905081810360008301526150508185613e47565b905081810360208301526150648184613e47565b90509392505050565b6000602082019050818103600083015261508681614008565b9050919050565b600060208201905081810360008301526150a68161406e565b9050919050565b600060208201905081810360008301526150c6816140d4565b9050919050565b600060208201905081810360008301526150e681614246565b9050919050565b60006020820190508181036000830152615106816142ac565b9050919050565b600060208201905081810360008301526151268161436c565b9050919050565b6000602082019050818103600083015261514681614452565b9050919050565b60006020820190508181036000830152615166816144f8565b9050919050565b600060208201905081810360008301526151868161455e565b9050919050565b600060208201905081810360008301526151a681614676565b9050919050565b600060208201905081810360008301526151c6816146f6565b9050919050565b600060208201905081810360008301526151e68161479c565b9050919050565b60006020820190508181036000830152615206816148c2565b9050919050565b6000602082019050818103600083015261522681614968565b9050919050565b6000602082019050818103600083015261524681614b0c565b9050919050565b60006020820190506152626000830184614c01565b92915050565b6000604051905081810181811067ffffffffffffffff8211171561528f5761528e6157de565b5b8060405250919050565b600067ffffffffffffffff8211156152b4576152b36157de565b5b602082029050602081019050919050565b600067ffffffffffffffff8211156152e0576152df6157de565b5b601f19601f8301169050602081019050919050565b600067ffffffffffffffff8211156153105761530f6157de565b5b601f19601f8301169050602081019050919050565b6000819050602082019050919050565b60008190508160005260206000209050919050565b600081519050919050565b600081519050919050565b600081519050919050565b6000602082019050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b60006153c1826155b4565b91506153cc836155b4565b92508261ffff038211156153e3576153e2615751565b5b828201905092915050565b60006153f9826155e2565b9150615404836155e2565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561543957615438615751565b5b828201905092915050565b600061544f826155e2565b915061545a836155e2565b92508261546a57615469615780565b5b828204905092915050565b6000615480826155e2565b915061548b836155e2565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156154c4576154c3615751565b5b828202905092915050565b60006154da826155ec565b91506154e5836155ec565b92508160ff04831182151516156154ff576154fe615751565b5b828202905092915050565b6000615515826155e2565b9150615520836155e2565b92508282101561553357615532615751565b5b828203905092915050565b6000615549826155c2565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b60007fffffffffffffffff00000000000000000000000000000000000000000000000082169050919050565b600061ffff82169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600060ff82169050919050565b82818337600083830152505050565b60005b8381101561562657808201518184015260208101905061560b565b83811115615635576000848401525b50505050565b6000600282049050600182168061565357607f821691505b60208210811415615667576156666157af565b5b50919050565b6000615678826155e2565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156156ab576156aa615751565b5b600182019050919050565b60006156c1826155ec565b915060ff8214156156d5576156d4615751565b5b600182019050919050565b60006156eb826156f2565b9050919050565b60006156fd8261582b565b9050919050565b6000819050919050565b60006157198261581e565b9050919050565b600061572b826155e2565b9150615736836155e2565b92508261574657615745615780565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b60008160f81b9050919050565b60008160601b9050919050565b6158418161553e565b811461584c57600080fd5b50565b61585881615550565b811461586357600080fd5b50565b61586f8161555c565b811461587a57600080fd5b50565b61588681615588565b811461589157600080fd5b50565b61589d816155e2565b81146158a857600080fd5b5056fe3c7374796c653e406b65796672616d657320707274797b30257b6f7061636974793a302e33353b7472616e73666f726d3a726f746174652830293b7d3530257b6f7061636974793a302e353b7d313030257b6f7061636974793a302e33353b7472616e73666f726d3a726f7461746528333539646567293b7d3c2f7374796c653e3c656c6c697073652063783d223430222063793d223430222072783d223234222072793d22323322207374796c653d2266696c6c3a236666666639393b616e696d6174696f6e3a7072747920357320696e66696e697465206c696e6561723b7472616e73666f726d2d6f726967696e3a353025203530253b222066696c7465723d2275726c2823663129222f3e3c646566733e3c66696c7465722069643d2266312220783d222d33302220793d222d3330222077696474683d22363022206865696768743d223630223e3c6665476175737369616e426c757220737464446576696174696f6e3d223622202f3e3c2f66696c7465723e3c2f646566733e4142434445464748494a4b4c4d4e4f505152535455565758595a6162636465666768696a6b6c6d6e6f707172737475767778797a303132333435363738392b2fa264697066735822122006fa7e2d64f96c210ca2c700c1b1faff6eff824aaa54add8808c726636c2346864736f6c63430008000033

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106101c45760003560e01c806389857cd2116100f9578063b88d4fde11610097578063c87b56dd11610071578063c87b56dd14610515578063e985e9c514610545578063f2fde38b14610575578063fb7ef6d814610591576101c4565b8063b88d4fde146104d3578063bb7a2d58146104ef578063c4ef71c7146104f9576101c4565b806395d89b41116100d357806395d89b411461044b5780639b7fb03214610469578063a22cb46514610487578063b85d8d26146104a3576101c4565b806389857cd2146103cf5780639304782c146103eb57806395cae34d1461041b576101c4565b80632f745c59116101665780634f6ccce7116101405780634f6ccce7146103235780636352211e1461035357806369bca0541461038357806370a082311461039f576101c4565b80632f745c59146102a757806342842e0e146102d7578063438b6300146102f3576101c4565b8063095ea7b3116101a2578063095ea7b314610247578063098afd4b1461026357806318160ddd1461026d57806323b872dd1461028b576101c4565b806301ffc9a7146101c957806306fdde03146101f9578063081812fc14610217575b600080fd5b6101e360048036038101906101de9190613be4565b6105c2565b6040516101f09190614fde565b60405180910390f35b61020161063c565b60405161020e9190615014565b60405180910390f35b610231600480360381019061022c9190613c5f565b6106ce565b60405161023e9190614f2c565b60405180910390f35b610261600480360381019061025c9190613ba8565b610753565b005b61026b61086b565b005b610275610907565b604051610282919061524d565b60405180910390f35b6102a560048036038101906102a09190613aa2565b610914565b005b6102c160048036038101906102bc9190613ba8565b610974565b6040516102ce919061524d565b60405180910390f35b6102f160048036038101906102ec9190613aa2565b610a19565b005b61030d60048036038101906103089190613a3d565b610a39565b60405161031a9190614fbc565b60405180910390f35b61033d60048036038101906103389190613c5f565b610b33565b60405161034a919061524d565b60405180910390f35b61036d60048036038101906103689190613c5f565b610bca565b60405161037a9190614f2c565b60405180910390f35b61039d60048036038101906103989190613a3d565b610c7c565b005b6103b960048036038101906103b49190613a3d565b610d1c565b6040516103c6919061524d565b60405180910390f35b6103e960048036038101906103e49190613c88565b610dd4565b005b61040560048036038101906104009190613c36565b610f68565b6040516104129190615014565b60405180910390f35b61043560048036038101906104309190613c5f565b6111bc565b6040516104429190614ff9565b60405180910390f35b610453611279565b6040516104609190615014565b60405180910390f35b61047161130b565b60405161047e919061524d565b60405180910390f35b6104a1600480360381019061049c9190613b6c565b61138d565b005b6104bd60048036038101906104b89190613cdc565b61150e565b6040516104ca9190615014565b60405180910390f35b6104ed60048036038101906104e89190613af1565b611b26565b005b6104f7611b88565b005b610513600480360381019061050e9190613c5f565b611c48565b005b61052f600480360381019061052a9190613c5f565b611cb2565b60405161053c9190615014565b60405180910390f35b61055f600480360381019061055a9190613a66565b611d47565b60405161056c9190614fde565b60405180910390f35b61058f600480360381019061058a9190613a3d565b611ddb565b005b6105ab60048036038101906105a69190613d18565b611e7b565b6040516105b9929190615036565b60405180910390f35b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610635575061063482611fcc565b5b9050919050565b60606000805461064b9061563b565b80601f01602080910402602001604051908101604052809291908181526020018280546106779061563b565b80156106c45780601f10610699576101008083540402835291602001916106c4565b820191906000526020600020905b8154815290600101906020018083116106a757829003601f168201915b5050505050905090565b60006106d9826120ae565b610718576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161070f906151ad565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b600061075e82610bca565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156107cf576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107c6906151ed565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff166107ee61211a565b73ffffffffffffffffffffffffffffffffffffffff16148061081d575061081c8161081761211a565b611d47565b5b61085c576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108539061512d565b60405180910390fd5b6108668383612122565b505050565b3373ffffffffffffffffffffffffffffffffffffffff166109d260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16146108c657600080fd5b60005b600881101561090457600a600082815260200190815260200160002060006108f191906136ae565b80806108fc9061566d565b9150506108c9565b50565b6000600880549050905090565b61092561091f61211a565b826121db565b610964576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161095b9061520d565b60405180910390fd5b61096f8383836122b9565b505050565b600061097f83610d1c565b82106109c0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109b79061506d565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b610a3483838360405180602001604052806000815250611b26565b505050565b60606000610a4683610d1c565b905060008167ffffffffffffffff811115610a8a577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b604051908082528060200260200182016040528015610ab85781602001602082028036833780820191505090505b50905060005b82811015610b2857610ad08582610974565b828281518110610b09577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010181815250508080610b209061566d565b915050610abe565b508092505050919050565b6000610b3d610907565b8210610b7e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b759061522d565b60405180910390fd5b60088281548110610bb8577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002001549050919050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610c73576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c6a9061516d565b60405180910390fd5b80915050919050565b3373ffffffffffffffffffffffffffffffffffffffff166109d260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614610cd757600080fd5b806109d160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415610d8d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d849061514d565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b3373ffffffffffffffffffffffffffffffffffffffff166109d260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614610e2f57600080fd5b60005b8151811015610f6357600a60008481526020019081526020016000206040518060400160405280848481518110610e92577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010151600001518152602001848481518110610edc577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101516020015181525090806001815401808255809150506001900390600052602060002090600202016000909190919091506000820151816000019080519060200190610f309291906136d2565b506020820151816001019080519060200190610f4d9291906136d2565b5050508080610f5b9061566d565b915050610e32565b505050565b606060006040518060400160405280600181526020017f5b00000000000000000000000000000000000000000000000000000000000000815250905060005b60078160ff1610156110d3576000848260ff1660088110610ff1577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b1a60f81b60f81c9050826109d38360ff1660078110611039577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b01600a60008560ff1681526020019081526020016000208360ff168154811061108b577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002090600202016000016040516020016110ae93929190614c6d565b60405160208183030381529060405292505080806110cb906156b6565b915050610fa7565b50806109da84600760088110611112577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b1a60f81b60f81c60ff1660098110611153577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60030201600260038110611190577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b016040516020016111a2929190614d03565b604051602081830303815290604052905080915050919050565b600080600c8361271081106111fa577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b600491828204019190066008029054906101000a900460c01b905073deaddeaddeaddeaddeaddeaddeaddeaddeaddead73ffffffffffffffffffffffffffffffffffffffff1661124984610bca565b73ffffffffffffffffffffffffffffffffffffffff1614156112705761010060c01b811890505b80915050919050565b6060600180546112889061563b565b80601f01602080910402602001604051908101604052809291908181526020018280546112b49061563b565b80156113015780601f106112d657610100808354040283529160200191611301565b820191906000526020600020905b8154815290600101906020018083116112e457829003601f168201915b5050505050905090565b600080611316610907565b90506107d081101561132c57600091505061138a565b610fa081101561134757670de0b6b3a764000091505061138a565b61177081101561136257671bc16d674ec8000091505061138a565b611f4081101561137d576729a2241af62c000091505061138a565b673782dace9d9000009150505b90565b61139561211a565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611403576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113fa906150ed565b60405180910390fd5b806005600061141061211a565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff166114bd61211a565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516115029190614fde565b60405180910390a35050565b60608060005b60078160ff161015611969576000848260ff166008811061155e577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b1a60f81b60f81c90506000600a60008460ff1681526020019081526020016000208260ff16815481106115ba577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b906000526020600020906002020160010180546115d69061563b565b80601f01602080910402602001604051908101604052809291908181526020018280546116029061563b565b801561164f5780601f106116245761010080835404028352916020019161164f565b820191906000526020600020905b81548152906001019060200180831161163257829003601f168201915b5050505050905060005b815181101561195357600082828151811061169d577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602001015160f81c60f81b60f81c905081806116b89061566d565b925050600061170c8484815181106116f9577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602001015160f81c60f81b60f81c612515565b60ff169050828061171c9061566d565b935050600061177085858151811061175d577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602001015160f81c60f81b60f81c612515565b60ff16905083806117809061566d565b9450506000816050846117939190615475565b61179d91906153ee565b9050886040516020016117b09190614ce1565b604051602081830303815290604052985060005b818110156118e95760008782886117db91906153ee565b81518110611812577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602001015160f81c60f81b60f81c905060438160ff1614806118375750604c8160ff16145b80611845575060568160ff16145b80611853575060488160ff16145b806118615750604d8160ff16145b8061186f5750605a8160ff16145b1561189d578a81604051602001611887929190614d70565b6040516020818303038152906040529a506118d5565b8a6118b26118aa83612515565b60ff166125b1565b6040516020016118c3929190614c3e565b6040516020818303038152906040529a505b5080806118e19061566d565b9150506117c4565b5080856118f691906153ee565b945060308460ff1614611928578884604051602001611916929190614d3d565b60405160208183030381529060405298505b886040516020016119399190614cbf565b604051602081830303815290604052985050505050611659565b5050508080611961906156b6565b915050611514565b506000836007600881106119a6577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b1a60f81b60f81c905060006119ba866125b1565b9050806109da8360ff16600981106119fb577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60030201600060038110611a38577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b0160008460ff1614611a595760405180602001604052806000815250611a76565b604051806101a0016040528061017e81526020016158ac61017e91395b85846109da8760ff1660098110611ab6577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60030201600160038110611af3577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b01604051602001611b0996959493929190614da3565b604051602081830303815290604052925082935050505092915050565b611b37611b3161211a565b836121db565b611b76576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b6d9061520d565b60405180910390fd5b611b828484848461275e565b50505050565b6107d0611b93610907565b1015611ba657611ba16127ba565b611c46565b6109d160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166379cc679033611bee61130b565b6040518363ffffffff1660e01b8152600401611c0b929190614f93565b600060405180830381600087803b158015611c2557600080fd5b505af1158015611c39573d6000803e3d6000fd5b50505050611c456127ba565b5b565b3373ffffffffffffffffffffffffffffffffffffffff16611c6882610bca565b73ffffffffffffffffffffffffffffffffffffffff1614611c8857600080fd5b611ca73373deaddeaddeaddeaddeaddeaddeaddeaddeaddead836122b9565b611caf6127ba565b50565b6060611cbd826120ae565b611cc657600080fd5b6000611cd1836111bc565b9050611d20611cdf846125b1565b611cf1611cec868561150e565b612919565b611cfa84610f68565b604051602001611d0c93929190614e5f565b604051602081830303815290604052612919565b604051602001611d309190614e3d565b604051602081830303815290604052915050919050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b3373ffffffffffffffffffffffffffffffffffffffff166109d260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614611e3657600080fd5b806109d260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b600a6020528160005260406000208181548110611e9757600080fd5b906000526020600020906002020160009150915050806000018054611ebb9061563b565b80601f0160208091040260200160405190810160405280929190818152602001828054611ee79061563b565b8015611f345780601f10611f0957610100808354040283529160200191611f34565b820191906000526020600020905b815481529060010190602001808311611f1757829003601f168201915b505050505090806001018054611f499061563b565b80601f0160208091040260200160405190810160405280929190818152602001828054611f759061563b565b8015611fc25780601f10611f9757610100808354040283529160200191611fc2565b820191906000526020600020905b815481529060010190602001808311611fa557829003601f168201915b5050505050905082565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061209757507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806120a757506120a682612ac4565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff1661219583610bca565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b60006121e6826120ae565b612225576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161221c9061510d565b60405180910390fd5b600061223083610bca565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16148061229f57508373ffffffffffffffffffffffffffffffffffffffff16612287846106ce565b73ffffffffffffffffffffffffffffffffffffffff16145b806122b057506122af8185611d47565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff166122d982610bca565b73ffffffffffffffffffffffffffffffffffffffff161461232f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612326906151cd565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561239f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612396906150cd565b60405180910390fd5b6123aa838383612b2e565b6123b5600082612122565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612405919061550a565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461245c91906153ee565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b600080600090505b60518160ff1610156125a6576109f58160ff1660518110612567577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602091828204019190069054906101000a900460ff1660ff168360ff16141561259357809150506125ac565b808061259e906156b6565b91505061251d565b50600080fd5b919050565b606060008214156125f9576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612759565b600082905060005b6000821461262b5780806126149061566d565b915050600a826126249190615444565b9150612601565b60008167ffffffffffffffff81111561266d577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f19166020018201604052801561269f5781602001600182028036833780820191505090505b5090505b60008514612752576001826126b8919061550a565b9150600a856126c79190615720565b60306126d391906153ee565b60f81b81838151811061270f577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a8561274b9190615444565b94506126a3565b8093505050505b919050565b6127698484846122b9565b61277584848484612c42565b6127b4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127ab9061508d565b60405180910390fd5b50505050565b60006127c4610907565b905061271081106127d457600080fd5b6127dd33612dd9565b156127e757600080fd5b6127f2816000612dec565b600c82612710811061282d577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b600491828204019190066008026101000a81548167ffffffffffffffff021916908360c01c02179055506001600b6000600c846127108110612898577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b600491828204019190066008029054906101000a900460c01b77ffffffffffffffffffffffffffffffffffffffffffffffff191677ffffffffffffffffffffffffffffffffffffffffffffffff1916815260200190815260200160002060006101000a81548160ff0219169083151502179055506129163382612fff565b50565b606060008251141561293c57604051806020016040528060008152509050612abf565b6000604051806060016040528060408152602001615a2a604091399050600060036002855161296b91906153ee565b6129759190615444565b60046129819190615475565b9050600060208261299291906153ee565b67ffffffffffffffff8111156129d1577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015612a035781602001600182028036833780820191505090505b509050818152600183018586518101602084015b81831015612a7e576003830192508251603f8160121c1685015160f81b8252600182019150603f81600c1c1685015160f81b8252600182019150603f8160061c1685015160f81b8252600182019150603f811685015160f81b825260018201915050612a17565b600389510660018114612a985760028114612aa857612ab3565b613d3d60f01b6002830352612ab3565b603d60f81b60018303525b50505050508093505050505b919050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b612b398383836131cd565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612b7c57612b77816131d2565b612bbb565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614612bba57612bb9838261321b565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612bfe57612bf981613388565b612c3d565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614612c3c57612c3b82826134cb565b5b5b505050565b6000612c638473ffffffffffffffffffffffffffffffffffffffff1661354a565b15612dcc578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612c8c61211a565b8786866040518563ffffffff1660e01b8152600401612cae9493929190614f47565b602060405180830381600087803b158015612cc857600080fd5b505af1925050508015612cf957506040513d601f19601f82011682018060405250810190612cf69190613c0d565b60015b612d7c573d8060008114612d29576040519150601f19603f3d011682016040523d82523d6000602084013e612d2e565b606091505b50600081511415612d74576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d6b9061508d565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050612dd1565b600190505b949350505050565b600080823b905060008111915050919050565b6000600a8210612dfb57600080fd5b60008060c01b9050600067ff0000000000000060c01b905060006109d05490506000818733884244604051602001612e3896959493929190614ebc565b6040516020818303038152906040528051906020012060001c905060005b60068160ff161015612ef357806008612e6f91906154cf565b60ff16612e9b612710836020612e8591906154cf565b60ff1685901c612e959190615720565b8361355d565b7effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916851677ffffffffffffffffffffffffffffffffffffffffffffffff1916901c851894508080612eeb906156b6565b915050612e56565b5060006107d088612f049190615720565b1115612f6a576038612f2461271084612f1d9190615720565b600661355d565b7effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916841677ffffffffffffffffffffffffffffffffffffffffffffffff1916901c841893505b8082186109d081905550600b60008577ffffffffffffffffffffffffffffffffffffffffffffffff191677ffffffffffffffffffffffffffffffffffffffffffffffff1916815260200190815260200160002060009054906101000a900460ff1615612ff157612fe687600188612fe191906153ee565b612dec565b945050505050612ff9565b839450505050505b92915050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561306f576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016130669061518d565b60405180910390fd5b613078816120ae565b156130b8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016130af906150ad565b60405180910390fd5b6130c460008383612b2e565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461311491906153ee565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b6000600161322884610d1c565b613232919061550a565b9050600060076000848152602001908152602001600020549050818114613317576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b6000600160088054905061339c919061550a565b90506000600960008481526020019081526020016000205490506000600883815481106133f2577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002001549050806008838154811061343a577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9060005260206000200181905550816009600083815260200190815260200160002081905550600960008581526020019081526020016000206000905560088054806134af577f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b6001900381819060005260206000200160009055905550505050565b60006134d683610d1c565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b600080823b905060008111915050919050565b6000806000905060005b6109f88460ff16600781106135a5577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b01805490508160ff1610156136a25760006109f88560ff16600781106135f4577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b018260ff1681548110613630577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002090601091828204019190066002029054906101000a900461ffff168361365f91906153b6565b90508261ffff16861015801561367857508061ffff1686105b1561368b578160f81b93505050506136a8565b80925050808061369a906156b6565b915050613567565b50600080fd5b92915050565b50805460008255600202906000526020600020908101906136cf9190613758565b50565b8280546136de9061563b565b90600052602060002090601f0160209004810192826137005760008555613747565b82601f1061371957805160ff1916838001178555613747565b82800160010185558215613747579182015b8281111561374657825182559160200191906001019061372b565b5b509050613754919061378f565b5090565b5b8082111561378b576000808201600061377291906137ac565b60018201600061378291906137ac565b50600201613759565b5090565b5b808211156137a8576000816000905550600101613790565b5090565b5080546137b89061563b565b6000825580601f106137ca57506137e9565b601f0160209004906000526020600020908101906137e8919061378f565b5b50565b60006137ff6137fa84615299565b615268565b9050808382526020820190508260005b8581101561383f578135850161382588826139ac565b84526020840193506020830192505060018101905061380f565b5050509392505050565b600061385c613857846152c5565b615268565b90508281526020810184848401111561387457600080fd5b61387f8482856155f9565b509392505050565b600061389a613895846152f5565b615268565b9050828152602081018484840111156138b257600080fd5b6138bd8482856155f9565b509392505050565b6000813590506138d481615838565b92915050565b600082601f8301126138eb57600080fd5b81356138fb8482602086016137ec565b91505092915050565b6000813590506139138161584f565b92915050565b60008135905061392881615866565b92915050565b60008151905061393d81615866565b92915050565b6000813590506139528161587d565b92915050565b600082601f83011261396957600080fd5b8135613979848260208601613849565b91505092915050565b600082601f83011261399357600080fd5b81356139a3848260208601613887565b91505092915050565b6000604082840312156139be57600080fd5b6139c86040615268565b9050600082013567ffffffffffffffff8111156139e457600080fd5b6139f084828501613982565b600083015250602082013567ffffffffffffffff811115613a1057600080fd5b613a1c84828501613982565b60208301525092915050565b600081359050613a3781615894565b92915050565b600060208284031215613a4f57600080fd5b6000613a5d848285016138c5565b91505092915050565b60008060408385031215613a7957600080fd5b6000613a87858286016138c5565b9250506020613a98858286016138c5565b9150509250929050565b600080600060608486031215613ab757600080fd5b6000613ac5868287016138c5565b9350506020613ad6868287016138c5565b9250506040613ae786828701613a28565b9150509250925092565b60008060008060808587031215613b0757600080fd5b6000613b15878288016138c5565b9450506020613b26878288016138c5565b9350506040613b3787828801613a28565b925050606085013567ffffffffffffffff811115613b5457600080fd5b613b6087828801613958565b91505092959194509250565b60008060408385031215613b7f57600080fd5b6000613b8d858286016138c5565b9250506020613b9e85828601613904565b9150509250929050565b60008060408385031215613bbb57600080fd5b6000613bc9858286016138c5565b9250506020613bda85828601613a28565b9150509250929050565b600060208284031215613bf657600080fd5b6000613c0484828501613919565b91505092915050565b600060208284031215613c1f57600080fd5b6000613c2d8482850161392e565b91505092915050565b600060208284031215613c4857600080fd5b6000613c5684828501613943565b91505092915050565b600060208284031215613c7157600080fd5b6000613c7f84828501613a28565b91505092915050565b60008060408385031215613c9b57600080fd5b6000613ca985828601613a28565b925050602083013567ffffffffffffffff811115613cc657600080fd5b613cd2858286016138da565b9150509250929050565b60008060408385031215613cef57600080fd5b6000613cfd85828601613a28565b9250506020613d0e85828601613943565b9150509250929050565b60008060408385031215613d2b57600080fd5b6000613d3985828601613a28565b9250506020613d4a85828601613a28565b9150509250929050565b6000613d608383614bf2565b60208301905092915050565b613d758161553e565b82525050565b613d8c613d878261553e565b6156e0565b82525050565b6000613d9d8261534a565b613da78185615378565b9350613db283615325565b8060005b83811015613de3578151613dca8882613d54565b9750613dd58361536b565b925050600181019050613db6565b5085935050505092915050565b613df981615550565b82525050565b613e0881615588565b82525050565b6000613e1982615355565b613e238185615389565b9350613e33818560208601615608565b613e3c8161580d565b840191505092915050565b6000613e5282615360565b613e5c818561539a565b9350613e6c818560208601615608565b613e758161580d565b840191505092915050565b6000613e8b82615360565b613e9581856153ab565b9350613ea5818560208601615608565b80840191505092915050565b60008154613ebe8161563b565b613ec881866153ab565b94506001821660008114613ee35760018114613ef457613f27565b60ff19831686528186019350613f27565b613efd85615335565b60005b83811015613f1f57815481890152600182019150602081019050613f00565b838801955050505b50505092915050565b6000613f3d609e836153ab565b91507f2220786d6c6e733d22687474703a2f2f7777772e77332e6f72672f323030302f60008301527f73766722207072657365727665417370656374526174696f3d22784d696e594d60208301527f696e206d656574222076696577426f783d22302030203830203830223e3c726560408301527f637420783d22302220793d2230222077696474683d223830222068656967687460608301527f3d22383022207374726f6b652d77696474683d2230222066696c6c3d222300006080830152609e82019050919050565b6000614015602b8361539a565b91507f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008301527f74206f6620626f756e64730000000000000000000000000000000000000000006020830152604082019050919050565b600061407b60328361539a565b91507f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008301527f63656976657220696d706c656d656e74657200000000000000000000000000006020830152604082019050919050565b60006140e1601c8361539a565b91507f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006000830152602082019050919050565b6000614121600f836153ab565b91507f222c2261747472696275746573223a00000000000000000000000000000000006000830152600f82019050919050565b60006141616003836153ab565b91507f227d2c00000000000000000000000000000000000000000000000000000000006000830152600382019050919050565b60006141a1606a836153ab565b91507f3c7374796c653e706174687b66696c6c3a6e6f6e653b7374726f6b653a23333460008301527f333433343b7374726f6b652d77696474683a2e343b7374726f6b652d6c696e6560208301527f6361703a726f756e643b7374726f6b652d6c696e656a6f696e3a726f756e643b60408301527f7d20236f63662d737667000000000000000000000000000000000000000000006060830152606a82019050919050565b600061425360248361539a565b91507f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008301527f72657373000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b60006142b960198361539a565b91507f4552433732313a20617070726f766520746f2063616c6c6572000000000000006000830152602082019050919050565b60006142f9600f836153ab565b91507f7b2274726169745f74797065223a2200000000000000000000000000000000006000830152600f82019050919050565b60006143396003836153ab565b91507f227d5d00000000000000000000000000000000000000000000000000000000006000830152600382019050919050565b6000614379602c8361539a565b91507f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008301527f697374656e7420746f6b656e00000000000000000000000000000000000000006020830152604082019050919050565b60006143df6001836153ab565b91507f20000000000000000000000000000000000000000000000000000000000000006000830152600182019050919050565b600061441f6003836153ab565b91507f272f3e00000000000000000000000000000000000000000000000000000000006000830152600382019050919050565b600061445f60388361539a565b91507f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008301527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006020830152604082019050919050565b60006144c56004836153ab565b91507f22202f3e000000000000000000000000000000000000000000000000000000006000830152600482019050919050565b6000614505602a8361539a565b91507f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008301527f726f2061646472657373000000000000000000000000000000000000000000006020830152604082019050919050565b600061456b60298361539a565b91507f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008301527f656e7420746f6b656e00000000000000000000000000000000000000000000006020830152604082019050919050565b60006145d16075836153ab565b91507f7d2e63327b66696c6c3a236134613461347d2e63337b66696c6c3a233334333460008301527f33347d2e63347b66696c6c3a236666666666667d2e63357b66696c6c3a23343860208301527f343834387d2e63367b66696c6c3a236438643864387d2e63377b66696c6c3a2360408301527f6666303066667d3c2f7374796c653e3c2f7376673e00000000000000000000006060830152607582019050919050565b600061468360208361539a565b91507f4552433732313a206d696e7420746f20746865207a65726f20616464726573736000830152602082019050919050565b60006146c36001836153ab565b91507f7d000000000000000000000000000000000000000000000000000000000000006000830152600182019050919050565b6000614703602c8361539a565b91507f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008301527f697374656e7420746f6b656e00000000000000000000000000000000000000006020830152604082019050919050565b6000614769600b836153ab565b91507f202e63317b66696c6c3a230000000000000000000000000000000000000000006000830152600b82019050919050565b60006147a960298361539a565b91507f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008301527f73206e6f74206f776e00000000000000000000000000000000000000000000006020830152604082019050919050565b600061480f600b836153ab565b91507f3c7061746820643d274d200000000000000000000000000000000000000000006000830152600b82019050919050565b600061484f6010836153ab565b91507f3c7376672069643d226f63662d737667000000000000000000000000000000006000830152601082019050919050565b600061488f600b836153ab565b91507f222c2276616c7565223a220000000000000000000000000000000000000000006000830152600b82019050919050565b60006148cf60218361539a565b91507f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008301527f72000000000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000614935601d836153ab565b91507f646174613a6170706c69636174696f6e2f6a736f6e3b6261736536342c0000006000830152601d82019050919050565b600061497560318361539a565b91507f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008301527f776e6572206e6f7220617070726f7665640000000000000000000000000000006020830152604082019050919050565b60006149db601f836153ab565b91507f7b2274726169745f74797065223a22636f6c6f72222c2276616c7565223a22006000830152601f82019050919050565b6000614a1b60a7836153ab565b91507f222c20226465736372697074696f6e223a20224120636f6c6c656374696f6e2060008301527f6f662031302c30303020756e69717565206d6f6e73746572732067656e65726160208301527f74656420627920636f64652e204e6f2065787465726e616c20646570656e646560408301527f6e636965732e203130302520457468657265756d20626c6f636b636861696e2e60608301527f222c2022696d616765223a2022646174613a696d6167652f7376672b786d6c3b60808301527f6261736536342c0000000000000000000000000000000000000000000000000060a083015260a782019050919050565b6000614b19602c8361539a565b91507f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008301527f7574206f6620626f756e647300000000000000000000000000000000000000006020830152604082019050919050565b6000614b7f600a836153ab565b91507f2720636c6173733d2763000000000000000000000000000000000000000000006000830152600a82019050919050565b6000614bbf601c836153ab565b91507f7b226e616d65223a20224f6e2d436861696e204d6f6e737465722023000000006000830152601c82019050919050565b614bfb816155e2565b82525050565b614c0a816155e2565b82525050565b614c21614c1c826155e2565b615704565b82525050565b614c38614c33826155ec565b61570e565b82525050565b6000614c4a8285613e80565b9150614c568284613e80565b9150614c61826143d2565b91508190509392505050565b6000614c798286613e80565b9150614c84826142ec565b9150614c908285613eb1565b9150614c9b82614882565b9150614ca78284613eb1565b9150614cb282614154565b9150819050949350505050565b6000614ccb8284613e80565b9150614cd682614412565b915081905092915050565b6000614ced8284613e80565b9150614cf882614802565b915081905092915050565b6000614d0f8285613e80565b9150614d1a826149ce565b9150614d268284613eb1565b9150614d318261432c565b91508190509392505050565b6000614d498285613e80565b9150614d5482614b72565b9150614d608284614c27565b6001820191508190509392505050565b6000614d7c8285613e80565b9150614d888284614c27565b600182019150614d97826143d2565b91508190509392505050565b6000614dae82614842565b9150614dba8289613e80565b9150614dc582613f30565b9150614dd18288613eb1565b9150614ddc826144b8565b9150614de88287613e80565b9150614df48286613e80565b9150614dff82614194565b9150614e0b8285613e80565b9150614e168261475c565b9150614e228284613eb1565b9150614e2d826145c4565b9150819050979650505050505050565b6000614e4882614928565b9150614e548284613e80565b915081905092915050565b6000614e6a82614bb2565b9150614e768286613e80565b9150614e8182614a0e565b9150614e8d8285613e80565b9150614e9882614114565b9150614ea48284613e80565b9150614eaf826146b6565b9150819050949350505050565b6000614ec88289614c10565b602082019150614ed88288614c10565b602082019150614ee88287613d7b565b601482019150614ef88286614c10565b602082019150614f088285614c10565b602082019150614f188284614c10565b602082019150819050979650505050505050565b6000602082019050614f416000830184613d6c565b92915050565b6000608082019050614f5c6000830187613d6c565b614f696020830186613d6c565b614f766040830185614c01565b8181036060830152614f888184613e0e565b905095945050505050565b6000604082019050614fa86000830185613d6c565b614fb56020830184614c01565b9392505050565b60006020820190508181036000830152614fd68184613d92565b905092915050565b6000602082019050614ff36000830184613df0565b92915050565b600060208201905061500e6000830184613dff565b92915050565b6000602082019050818103600083015261502e8184613e47565b905092915050565b600060408201905081810360008301526150508185613e47565b905081810360208301526150648184613e47565b90509392505050565b6000602082019050818103600083015261508681614008565b9050919050565b600060208201905081810360008301526150a68161406e565b9050919050565b600060208201905081810360008301526150c6816140d4565b9050919050565b600060208201905081810360008301526150e681614246565b9050919050565b60006020820190508181036000830152615106816142ac565b9050919050565b600060208201905081810360008301526151268161436c565b9050919050565b6000602082019050818103600083015261514681614452565b9050919050565b60006020820190508181036000830152615166816144f8565b9050919050565b600060208201905081810360008301526151868161455e565b9050919050565b600060208201905081810360008301526151a681614676565b9050919050565b600060208201905081810360008301526151c6816146f6565b9050919050565b600060208201905081810360008301526151e68161479c565b9050919050565b60006020820190508181036000830152615206816148c2565b9050919050565b6000602082019050818103600083015261522681614968565b9050919050565b6000602082019050818103600083015261524681614b0c565b9050919050565b60006020820190506152626000830184614c01565b92915050565b6000604051905081810181811067ffffffffffffffff8211171561528f5761528e6157de565b5b8060405250919050565b600067ffffffffffffffff8211156152b4576152b36157de565b5b602082029050602081019050919050565b600067ffffffffffffffff8211156152e0576152df6157de565b5b601f19601f8301169050602081019050919050565b600067ffffffffffffffff8211156153105761530f6157de565b5b601f19601f8301169050602081019050919050565b6000819050602082019050919050565b60008190508160005260206000209050919050565b600081519050919050565b600081519050919050565b600081519050919050565b6000602082019050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b60006153c1826155b4565b91506153cc836155b4565b92508261ffff038211156153e3576153e2615751565b5b828201905092915050565b60006153f9826155e2565b9150615404836155e2565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561543957615438615751565b5b828201905092915050565b600061544f826155e2565b915061545a836155e2565b92508261546a57615469615780565b5b828204905092915050565b6000615480826155e2565b915061548b836155e2565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156154c4576154c3615751565b5b828202905092915050565b60006154da826155ec565b91506154e5836155ec565b92508160ff04831182151516156154ff576154fe615751565b5b828202905092915050565b6000615515826155e2565b9150615520836155e2565b92508282101561553357615532615751565b5b828203905092915050565b6000615549826155c2565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b60007fffffffffffffffff00000000000000000000000000000000000000000000000082169050919050565b600061ffff82169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600060ff82169050919050565b82818337600083830152505050565b60005b8381101561562657808201518184015260208101905061560b565b83811115615635576000848401525b50505050565b6000600282049050600182168061565357607f821691505b60208210811415615667576156666157af565b5b50919050565b6000615678826155e2565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156156ab576156aa615751565b5b600182019050919050565b60006156c1826155ec565b915060ff8214156156d5576156d4615751565b5b600182019050919050565b60006156eb826156f2565b9050919050565b60006156fd8261582b565b9050919050565b6000819050919050565b60006157198261581e565b9050919050565b600061572b826155e2565b9150615736836155e2565b92508261574657615745615780565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b60008160f81b9050919050565b60008160601b9050919050565b6158418161553e565b811461584c57600080fd5b50565b61585881615550565b811461586357600080fd5b50565b61586f8161555c565b811461587a57600080fd5b50565b61588681615588565b811461589157600080fd5b50565b61589d816155e2565b81146158a857600080fd5b5056fe3c7374796c653e406b65796672616d657320707274797b30257b6f7061636974793a302e33353b7472616e73666f726d3a726f746174652830293b7d3530257b6f7061636974793a302e353b7d313030257b6f7061636974793a302e33353b7472616e73666f726d3a726f7461746528333539646567293b7d3c2f7374796c653e3c656c6c697073652063783d223430222063793d223430222072783d223234222072793d22323322207374796c653d2266696c6c3a236666666639393b616e696d6174696f6e3a7072747920357320696e66696e697465206c696e6561723b7472616e73666f726d2d6f726967696e3a353025203530253b222066696c7465723d2275726c2823663129222f3e3c646566733e3c66696c7465722069643d2266312220783d222d33302220793d222d3330222077696474683d22363022206865696768743d223630223e3c6665476175737369616e426c757220737464446576696174696f6e3d223622202f3e3c2f66696c7465723e3c2f646566733e4142434445464748494a4b4c4d4e4f505152535455565758595a6162636465666768696a6b6c6d6e6f707172737475767778797a303132333435363738392b2fa264697066735822122006fa7e2d64f96c210ca2c700c1b1faff6eff824aaa54add8808c726636c2346864736f6c63430008000033

Loading...
Loading
Loading...
Loading
[ 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.