ETH Price: $3,301.53 (-1.96%)
Gas: 1 Gwei

Token

DoomScrolls (DOOMSCROLLS)
 

Overview

Max Total Supply

265 DOOMSCROLLS

Holders

41

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Filtered by Token Holder
urwelcome.eth
Balance
1 DOOMSCROLLS
0x729f6d2383f5178ae1a76b45b8b69c7983b53aa0
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:
DoomScrolls

Compiler Version
v0.8.15+commit.e14f2714

Optimization Enabled:
Yes with 1000 runs

Other Settings:
default evmVersion
File 1 of 17 : DoomScrolls.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.15;

import { ERC721A, IERC721A } from "erc721a/contracts/ERC721A.sol";
import { ERC721ABurnable } from "erc721a/contracts/extensions/ERC721ABurnable.sol";
import { ERC721AQueryable } from "erc721a/contracts/extensions/ERC721AQueryable.sol";
import { Ownable } from "@openzeppelin/contracts/access/Ownable.sol";
import { MerkleProof } from "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol";
import { PaymentSplitter } from "@openzeppelin/contracts/finance/PaymentSplitter.sol";
import { Base64 } from "./libraries/Base64.sol";
import { SSTORE2 } from "./libraries/SSTORE2.sol";

interface IWassieParts {
    function burn(uint256 tokenId) external;
}

/*-----------------------------ERRORS---------------------------------*/
error InsufficientAmountSent();
error MintInactive();
error InvalidTokensToBurn();
error NotPayee();
error NotOnFreeMintList();

contract DoomScrolls is ERC721AQueryable, ERC721ABurnable, Ownable, PaymentSplitter {
    /*-----------------------------VARIABLES------------------------------*/
    uint256 public mintPrice = 0.02 ether;
    bool public isMintActive = true;
    bool public burnWassies = true;
    address public wassiePartsAddress;
    string public baseTokenURI;
    bytes32 public merkleRoot;
    mapping(uint256 => address) public svgAttachments;

    /*-------------------------------EVENTS--------------------------------*/
    event Minted(address indexed receiver, uint256 amount);

    string[] private _scrollColors1 = [
        "#BB0000",
        "#674141",
        "#ca5d5d",
        "#6c591f",
        "#5f573f",
        "#3d5338",
        "#545e51",
        "#BB0000",
        "#1d495c",
        "#1660bb",
        "#281870",
        "#292050",
        "#312d42",
        "#484554",
        "#583830",
        "#4f1607",
        "#593960",
        "#2f5030",
        "#781f4a",
        "#670505",
        "#b94646",
        "#BB0000"
    ];
    string[] private _scrollColors2 = [
        "#FFD3AB",
        "#a9a39e",
        "#e0a87a",
        "#bb906d",
        "#858585",
        "#ab8d8d",
        "#969997",
        "#FFD3AB",
        "#a3ada6",
        "#767885",
        "#bdb4a8",
        "#bda8a8",
        "#b1a8a8",
        "#FFD3AB",
        "#bac2c0",
        "#b8b4b9"
    ];

    /*-------------------------------TRAITS--------------------------------*/
    string[][] private _seasonTexts = [
        ["it will be spring", ""],
        ["it will be summer", ""],
        ["it will be winter", ""],
        ["it will be autumn", ""],
        ["it will happen during the rainy season", ""],
        ["there will be a monsoon", ""],
        ["it will be hurricane season", ""],
        ["it will be during the Ukrainian mud season", ""],
        ["it will be allergy season", ""],
        ["it will transpire", "in the time between thanksgiving and christmas"],
        ["it will take place as the humpback whales", "migrate to warmer waters"],
        ["it will be Songkran, the Thai new year", "(when they have the big waterfight)"],
        ["it will happen during the summer festival season,", "after Coachella but before Lollapalooza"],
        ["it will be a week before comic-con", ""],
        ["it will transpire", "in the season astrologists call 'the yahoo equinox'"]
    ];

    string[][] private _timeOfDayTexts = [
        ["in the morning", ""],
        ["in the afternoon", ""],
        ["at night", ""],
        ["around 3 am", ""],
        ["right after you wake up", ""],
        ["just before dinner", ""],
        ["at high noon", ""],
        ["during magic hour", ""],
        ["at the stroke of midnight", ""],
        ["at nap time", ""],
        ["around when you typically go to the gym", ""],
        ["before you eat breakfast", ""],
        ["halfway through rush hour", ""],
        ["it will be late morning/early afternoon", ""],
        ["during your lunch break", ""]
    ];

    string[][] private _whatYoullWearTexts = [
        ["you'll be wearing a suit", ""],
        ["you'll be wearing a dress", ""],
        ["you'll be wearing clown shoes and a top hat", ""],
        ["you'll be wearing burberry's 1997 collection", ""],
        ["you'll be wearing a stained american eagle", "polo shirt that hasn't fit for years"],
        ["you'll be wearing everything but pants", ""],
        ["you'll be wearing someone else's underwear", ""],
        ["you'll be wearing the official", "tony the tiger costume (stolen)"],
        ["you'll be wearing the map of ", "Africa in body paint "],
        ["you'll be wearing your favorite jeans", ""],
        ["you'll be dressed as a movie cowboy ", ""],
        ["you'll be wearing nothing but a sarong", ""],
        ["you'll be cosplaying the Princess Zelda", ""],
        ["you'll be draped", "in the robes of an ancient priest"],
        ["you'll be wearing a pink hoodie", "that just says 'SPICY'"]
    ];

    string[][] private _chaseSceneTexts = [
        ["when you're chased by snowmobiles", "across a glacier"],
        ["when you're hunted through the jungle", "like a tiger's prey"],
        ["when you're chased", "through the food court by mall cops"],
        ["when you're followed home", "by a spooky librarian"],
        ["when you're stalked by a drone", "300 feet above"],
        ["when you're racing", "through a mountain village on skis"],
        ["when you're shot out of a cannon", ""],
        ["when you're dragged behind a mini cooper", "for six miles"],
        ["when you're crossing the Sahara by camel", ""],
        ["when you're traveling coast to coast", "by horseback"],
        ["when you're chased by ninjas", "across the rooftops of Tokyo"],
        ["when you're skydiving", "to escape the Yakuza"],
        ["when you're scaling the Burj Khalifa", "with suction cup gloves"],
        ["when you're hopelessly lost in the suburbs", ""],
        ["when you're chased from your hometown", "by angry highschoolers with pitchforks"]
    ];

    string[][] private _causeOfDeathTexts = [
        ["and thrown from the roof", "of a very tall building-"],
        ["and stabbed with a nine foot long", "decorative katana sword-"],
        ["and lowered into a vat of burning oil-", ""],
        ["and burned alive-", ""],
        ["and executed by firing squad", "of disappointed former lovers-"],
        ["and squashed beneath a falling piano-", ""],
        ["and devoured by hungry piranhas-", ""],
        ["and trampled by black friday shoppers-", ""],
        ["and roasted like a rotisserie chicken-", ""],
        ["and pass gently in your sleep-", ""],
        ["and strangled by your own intestines-", ""],
        ["and guillotine'd by cheering townsfolk-", ""],
        ["and bitten by an enormous cobra-", ""],
        ["and poisoned", "by the person you love the most-"],
        ["and buried alive-", ""]
    ];
    string[][] private _burialTexts = [
        ["your body will be burnt like a viking", ""],
        ["you will be cremated and stored", "in a cat shaped jar"],
        ["you will be mummified", ""],
        ["your body will be wrapped", "in a weighted blanket and cast into the sea"],
        ["you will be laid to rest in the family plot", ""],
        ["left in a shallow grave and forgotten", ""],
        ["your body will be embalmed and displayed", "for strangers to throw coins at"],
        ["your body loaded onto a satellite", "and blasted into space"],
        ["your body will be dissolved in acid", ""],
        ["your body will be hung", "in the town square as an example to others"],
        ["your body will be fed to bears at the zoo", ""],
        ["your body will be cast into a volcano", "as a sacrifice"],
        ["your body will be pickled", "and served at the funeral"],
        ["your body will be hidden under the floorboards", "in the abandoned house down the street"],
        ["your body will be stuffed in a trunk", "and driven into the river"]
    ];
    string[][] private _whoWillMissYouTexts = [
        ["as you're remembered fondly by all", ""],
        ["your bloodline ended;", "your name erased from history"],
        ["as you are mourned by three loving children ", ""],
        ["the IRS is still looking for you", "but that's kinda it"],
        ["your dog won't even realize you're gone", ""],
        ["as you're forgotten", "by everyone who knew you"],
        ["leaving behind a mountain", "of debt for your kids"],
        ["as you're reduced to a commemorative", "plaque on a bench"],
        ["as a wing of the new public library", "is dedicated to your memory"],
        ["as they misspell your name in the obituary", "and nobody notices"],
        ['as people say "who?"', "whenever you're brought up"],
        ["as you're remembered", "by all the friends you still owe money to"],
        ["as your children fight", "over your estate in the absence of a will"],
        ["as junk mail continues", "to be delivered in your name"],
        ["as you become the controversial", '"main character" on twitter for a day']
    ];

    string[] private _seasonTraits = [
        "spring",
        "summer",
        "winter",
        "autumn",
        "rainy season",
        "monsoon",
        "hurricane season",
        "Ukrainian mud season",
        "Allergy season",
        "Between Thanksgiving and Christmas",
        "Humpback whales migration",
        "Songkran",
        "After Coachella but before Lollapalooza",
        "A week before comic-con",
        "'The Yahoo equinox'"
    ];
    string[] private _timeOfDayTraits = [
        "Morning",
        "Afternoon",
        "Night",
        "Around 3 am",
        "After you wake up",
        "Before dinner",
        "High noon",
        "Magic hour",
        "Stroke of midnight",
        "Nap time",
        "Gym",
        "Breakfast",
        "Rush hour",
        "Late morning/early afternoon",
        "Lunch break"
    ];
    string[] private _whatYoullWearTraits = [
        "Suit",
        "Dress",
        "Clown shoes and a top hat",
        "Burberry's 1997 collection",
        "Stained American Eagle polo shirt",
        "Everything but pants",
        "Someone else's underwear",
        "Tony the tiger costume (stolen)",
        "Map of Africa in body paint ",
        "Favorite jeans",
        "Movie cowboy ",
        "Sarong",
        "Princess Zelda cosplay",
        "Robes of an ancient priest",
        "'SPICY' pink hoodie"
    ];
    string[] private _chaseSceneTraits = [
        "chased by snowmobiles across a glacier",
        "hunted through the jungle like a tiger's prey",
        "chased through the food court by mall cops",
        "followed home by a spooky librarian",
        "stalked by a drone 300 feet above",
        "racing through a mountain village on skis",
        "shot out of a cannon",
        "dragged behind a mini cooper for six miles",
        "crossing the Sahara by camel",
        "traveling coast to coast by horseback",
        "chased by ninjas across the rooftops of Tokyo",
        "skydiving to escape the Yakuza",
        "scaling the Burj Khalifa with suction cup gloves",
        "hopelessly lost in the suburbs",
        "chased from your hometown by angry highschoolers with pitchforks"
    ];
    string[] private _causeOfDeathTraits = [
        "thrown from the roof of a very tall building-",
        "stabbed with a nine foot long decorative katana sword-",
        "lowered into a vat of burning oil-",
        "burned alive-",
        "executed by firing squad of disappointed former lovers-",
        "squashed beneath a falling piano-",
        "devoured by hungry piranhas-",
        "trampled by black friday shoppers-",
        "roasted like a rotisserie chicken-",
        "pass gently in your sleep-",
        "strangled by your own intestines-",
        "guillotine'd by cheering townsfolk-",
        "bitten by an enormous cobra-",
        "poisoned by the person you love the most-",
        "buried alive-"
    ];
    string[] private _burialTraits = [
        "body will be burnt like a viking",
        "cremated and stored in a cat shaped jar",
        "mummified",
        "body will be wrapped in a weighted blanket and cast into the sea",
        "laid to rest in the family plot",
        "left in a shallow grave and forgotten",
        "body will be embalmed and displayed for strangers to throw coins at",
        "body loaded onto a satellite and blasted into space",
        "body will be dissolved in acid",
        "body will be hung in the town square as an example to others",
        "body will be fed to bears at the zoo",
        "body will be cast into a volcano as a sacrifice",
        "body will be pickled and served at the funeral",
        "body will be hidden under the floorboards in the abandoned house down the street",
        "body will be stuffed in a trunk and driven into the river"
    ];
    string[] private _whoWillMissYouTraits = [
        "as you're remembered fondly by all",
        "your bloodline ended; your name erased from history",
        "as you are mourned by three loving children ",
        "The IRS",
        "Not even your dog",
        "as you're forgotten by everyone who knew you",
        "leaving behind a mountain of debt for your kids",
        "as you're reduced to a commemorative plaque on a bench",
        "as a wing of the new public library is dedicated to your memory",
        "as they misspell your name in the obituary and nobody notices",
        "Who?",
        "all the friends you still owe money to",
        "as your children fight over your estate in the absence of a will",
        "as junk mail continues to be delivered in your name",
        "Main character"
    ];

    /*--------------------------CONSTRUCTOR-------------------------------*/
    constructor(
        address _wassiePartsAddress,
        address[] memory payees,
        uint256[] memory shares
    ) ERC721A("DoomScrolls", "DOOMSCROLLS") PaymentSplitter(payees, shares) {
        wassiePartsAddress = _wassiePartsAddress;
    }

    /*--------------------------ON-CHAIN GENERATION----------------------------*/
    function getRandomInt(string memory input) internal pure returns (uint256) {
        // Pseudo-random integer
        return uint256(keccak256(abi.encodePacked(input)));
    }

    function getRandomIndex(
        uint256 tokenId,
        string[][] memory traits,
        string memory key
    ) internal pure returns (uint256) {
        uint256 randomInt = getRandomInt(string(abi.encodePacked(key, _toString(tokenId))));
        return randomInt % traits.length;
    }

    function getRandomScrollColor(uint256 tokenId, string[] memory _arrayOfColors) internal pure returns (string memory) {
        uint256 randomInt = getRandomInt(string(abi.encodePacked("scrollColor", _toString(tokenId))));
        return _arrayOfColors[randomInt % _arrayOfColors.length];
    }

    function getAttributes(string[7] memory traits) internal pure returns (string memory) {
        string memory attributes;

        attributes = string(
            abi.encodePacked(
                '[{"trait_type": "Season", "value": "',
                traits[0],
                '"},',
                '{"trait_type": "Time of Day", "value": "',
                traits[1],
                '"},',
                '{"trait_type": "What You\'ll wear", "value": "',
                traits[2],
                '"},',
                '{"trait_type": "Chase Scene", "value": "',
                traits[3],
                '"},'
            )
        );
        attributes = string(
            abi.encodePacked(
                attributes,
                '{"trait_type": "Cause of Death", "value": "',
                traits[4],
                '"},',
                '{"trait_type": "Burial", "value": "',
                traits[5],
                '"},',
                '{"trait_type": "Who Will Miss You", "value": "',
                traits[6],
                '"}]'
            )
        );
        return attributes;
    }

    function getSpacer(uint256 xOffset, uint256 yOffset) internal pure returns (string memory) {
        // Get HTML strings with x and y spacing, and font
        return string.concat('</text><text x="', _toString(xOffset), '" y= "', _toString(yOffset), '" class="base">');
    }

    function getLine(
        string memory line,
        uint256 xOffset,
        uint256 yOffset
    ) internal pure returns (string memory) {
        return string.concat('<tspan x="', _toString(xOffset), '" y="', _toString(yOffset), '" class="line">', line, "</tspan>");
    }

    function addLine(
        string[][] storage theArray,
        uint256 theIndex,
        uint256 yOffset
    ) internal view returns (string memory) {
        string memory line = getLine(theArray[theIndex][0], 0, yOffset);
        yOffset += 84;
        if (bytes(theArray[theIndex][1]).length > 0) {
            line = string(abi.encodePacked(line, getLine(theArray[theIndex][1], 0, yOffset)));
            yOffset += 84;
        }
        return line;
    }

    function tokenURI(uint256 tokenId) public view virtual override(ERC721A, IERC721A) returns (string memory) {
        if (!_exists(tokenId)) revert URIQueryForNonexistentToken();

        uint256 yOffset = 0;
        uint256 lineDistance = 84;

        string[7] memory texts;
        string[7] memory traits;

        // Get random scroll traits
        uint256 randomIndex = getRandomIndex(tokenId, _seasonTexts, "SEASON");
        texts[0] = addLine(_seasonTexts, randomIndex, yOffset);
        traits[0] = _seasonTraits[randomIndex];
        yOffset += lineDistance;
        if (bytes(_seasonTexts[randomIndex][1]).length > 0) yOffset += lineDistance;

        randomIndex = getRandomIndex(tokenId, _timeOfDayTexts, "TIME OF DAY");
        texts[1] = addLine(_timeOfDayTexts, randomIndex, yOffset);
        traits[1] = _timeOfDayTraits[randomIndex];
        yOffset += lineDistance;
        if (bytes(_timeOfDayTexts[randomIndex][1]).length > 0) yOffset += lineDistance;

        randomIndex = getRandomIndex(tokenId, _whatYoullWearTexts, "WHAT YOU'LL WEAR");
        texts[2] = addLine(_whatYoullWearTexts, randomIndex, yOffset);
        traits[2] = _whatYoullWearTraits[randomIndex];
        yOffset += lineDistance;
        if (bytes(_whatYoullWearTexts[randomIndex][1]).length > 0) yOffset += lineDistance;

        randomIndex = getRandomIndex(tokenId, _chaseSceneTexts, "CHASE SCENE");
        texts[3] = addLine(_chaseSceneTexts, randomIndex, yOffset);
        traits[3] = _chaseSceneTraits[randomIndex];
        yOffset += lineDistance;
        if (bytes(_chaseSceneTexts[randomIndex][1]).length > 0) yOffset += lineDistance;

        randomIndex = getRandomIndex(tokenId, _causeOfDeathTexts, "CAUSE OF DEATH");
        texts[4] = addLine(_causeOfDeathTexts, randomIndex, yOffset);
        traits[4] = _causeOfDeathTraits[randomIndex];
        yOffset += lineDistance;
        if (bytes(_causeOfDeathTexts[randomIndex][1]).length > 0) yOffset += lineDistance;

        randomIndex = getRandomIndex(tokenId, _burialTexts, "BURIAL");
        texts[5] = addLine(_burialTexts, randomIndex, yOffset);
        traits[5] = _burialTraits[randomIndex];
        yOffset += lineDistance;
        if (bytes(_burialTexts[randomIndex][1]).length > 0) yOffset += lineDistance;

        randomIndex = getRandomIndex(tokenId, _whoWillMissYouTexts, "WHO WILL MISS YOU");
        texts[6] = addLine(_whoWillMissYouTexts, randomIndex, yOffset);

        traits[6] = _whoWillMissYouTraits[randomIndex];
        yOffset += lineDistance;
        if (bytes(_whoWillMissYouTexts[randomIndex][1]).length > 0) yOffset += lineDistance;

        string memory attributes = getAttributes(traits);

        string memory completeText = string(abi.encodePacked(texts[0], texts[1], texts[2], texts[3], texts[4], texts[5], texts[6]));

        // Concatenation needs to be split up because there's a limit to the number of inputs
        string memory output = string(
            abi.encodePacked(
                string(SSTORE2.read(svgAttachments[2])), // SVG of the scroll
                string(SSTORE2.read(svgAttachments[3])), // SVG of the scroll
                string(SSTORE2.read(svgAttachments[4])), // SVG of the blood splatters
                '<text transform="matrix(1 0 0 1 330 450)">', // SVG of the text
                completeText
            )
        );

        output = string(abi.encodePacked(output, '</text><rect x="1895.6" y="982.6" class="st7" width="2.2" height="0"/>'));

        output = string(
            abi.encodePacked(
                output,
                "<style>",
                "@font-face{"
                "font-family:Alagard;"
                "font-style:normal;"
                "src:url(",
                string(SSTORE2.read(svgAttachments[0])), // Read font SVG (file split into 2)
                string(SSTORE2.read(svgAttachments[1])), // Read font SVG (second half)
                ") format('truetype')"
                "}",
                ".st1{fill:",
                string(getRandomScrollColor(tokenId, _scrollColors1)),
                "}",
                ".st0{fill:",
                string(getRandomScrollColor(tokenId, _scrollColors2)),
                "}",
                "</style>"
                "</svg>"
            )
        );

        string memory json = Base64.encode(
            bytes(
                string(
                    abi.encodePacked(
                        '{"name": "Doom Scroll #',
                        _toString(tokenId),
                        '", "description": "Doom Scrolls are blockchain prophecies, divined by an evil Tubby Cat, brewed with powdered wolfsbane and the body of a Wassie (diced). Fully on-chain, immutable, visions of your demise. Death is the utility, beware!!", "attributes":',
                        attributes,
                        ', "image": "data:image/svg+xml;base64,',
                        Base64.encode(bytes(output)),
                        '"}'
                    )
                )
            )
        );
        output = string(abi.encodePacked("data:application/json;base64,", json));

        return output;
    }

    /*--------------------------MINT FUNCTIONS----------------------------*/

    function mint(uint256 nMints, uint256[] calldata tokenIdsToBurn) external payable {
        if (!isMintActive) revert MintInactive();
        if (msg.value != mintPrice * nMints) revert InsufficientAmountSent();
        if (burnWassies) {
            if (tokenIdsToBurn.length == 0) revert InvalidTokensToBurn();

            unchecked {
                for (uint256 i = 0; i < nMints; ++i) {
                    IWassieParts(wassiePartsAddress).burn(tokenIdsToBurn[i]);
                }
            }
        }
        _safeMint(msg.sender, nMints);
    }

    function mintFreeClaim(
        uint256 nMints,
        uint256[] calldata tokenIdsToBurn,
        bytes32[] calldata _proof
    ) external {
        if (!isMintActive) revert MintInactive();
        bytes32 node = keccak256(abi.encodePacked(msg.sender));
        if (!MerkleProof.verify(_proof, merkleRoot, node)) revert NotOnFreeMintList();
        if (burnWassies) {
            if (tokenIdsToBurn.length == 0) revert InvalidTokensToBurn();
            unchecked {
                for (uint256 i = 0; i < nMints; ++i) {
                    IWassieParts(wassiePartsAddress).burn(tokenIdsToBurn[i]);
                }
            }
        }
        _safeMint(msg.sender, nMints);
    }

    function mintAirdrop(address recipient, uint256 nMints) external onlyOwner {
        _safeMint(recipient, nMints);
    }

    function mintReserve(uint256 nMints) external onlyOwner {
        _safeMint(msg.sender, nMints);
    }

    /*-------------------------------ADMIN--------------------------------*/

    function setMintPrice(uint256 _mintPrice) external onlyOwner {
        mintPrice = _mintPrice;
    }

    function toggleMintActive() external onlyOwner {
        isMintActive = !isMintActive;
    }

    function toggleBurnWassies() external onlyOwner {
        burnWassies = !burnWassies;
    }

    function saveAttachment(uint256 index, string calldata fileContent) public onlyOwner {
        svgAttachments[index] = SSTORE2.write(bytes(fileContent));
    }

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

    function release(address payable account) public override {
        if (msg.sender != account && msg.sender != owner()) revert NotPayee();
        super.release(account);
    }
}

File 2 of 17 : ERC721A.sol
// SPDX-License-Identifier: MIT
// ERC721A Contracts v4.2.2
// Creator: Chiru Labs

pragma solidity ^0.8.4;

import './IERC721A.sol';

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

/**
 * @title ERC721A
 *
 * @dev Implementation of the [ERC721](https://eips.ethereum.org/EIPS/eip-721)
 * Non-Fungible Token Standard, including the Metadata extension.
 * Optimized for lower gas during batch mints.
 *
 * Token IDs are minted in sequential order (e.g. 0, 1, 2, 3, ...)
 * starting from `_startTokenId()`.
 *
 * Assumptions:
 *
 * - An owner cannot have more than 2**64 - 1 (max value of uint64) of supply.
 * - The maximum token ID cannot exceed 2**256 - 1 (max value of uint256).
 */
contract ERC721A is IERC721A {
    // Reference type for token approval.
    struct TokenApprovalRef {
        address value;
    }

    // =============================================================
    //                           CONSTANTS
    // =============================================================

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

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

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

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

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

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

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

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

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

    // The bit position of `extraData` in packed ownership.
    uint256 private constant _BITPOS_EXTRA_DATA = 232;

    // Mask of all 256 bits in a packed ownership except the 24 bits for `extraData`.
    uint256 private constant _BITMASK_EXTRA_DATA_COMPLEMENT = (1 << 232) - 1;

    // The mask of the lower 160 bits for addresses.
    uint256 private constant _BITMASK_ADDRESS = (1 << 160) - 1;

    // The maximum `quantity` that can be minted with {_mintERC2309}.
    // This limit is to prevent overflows on the address data entries.
    // For a limit of 5000, a total of 3.689e15 calls to {_mintERC2309}
    // is required to cause an overflow, which is unrealistic.
    uint256 private constant _MAX_MINT_ERC2309_QUANTITY_LIMIT = 5000;

    // The `Transfer` event signature is given by:
    // `keccak256(bytes("Transfer(address,address,uint256)"))`.
    bytes32 private constant _TRANSFER_EVENT_SIGNATURE =
        0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef;

    // =============================================================
    //                            STORAGE
    // =============================================================

    // The next token ID to be minted.
    uint256 private _currentIndex;

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

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

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

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

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

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

    // =============================================================
    //                          CONSTRUCTOR
    // =============================================================

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

    // =============================================================
    //                   TOKEN COUNTING OPERATIONS
    // =============================================================

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

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

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

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

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

    // =============================================================
    //                    ADDRESS DATA OPERATIONS
    // =============================================================

    /**
     * @dev Returns the number of tokens in `owner`'s account.
     */
    function balanceOf(address owner) public view virtual override returns (uint256) {
        if (owner == address(0)) revert BalanceQueryForZeroAddress();
        return _packedAddressData[owner] & _BITMASK_ADDRESS_DATA_ENTRY;
    }

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

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

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

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

    // =============================================================
    //                            IERC165
    // =============================================================

    /**
     * @dev Returns true if this contract implements the interface defined by
     * `interfaceId`. See the corresponding
     * [EIP section](https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified)
     * to learn more about how these ids are created.
     *
     * This function call must use less than 30000 gas.
     */
    function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
        // The interface IDs are constants representing the first 4 bytes
        // of the XOR of all function selectors in the interface.
        // See: [ERC165](https://eips.ethereum.org/EIPS/eip-165)
        // (e.g. `bytes4(i.functionA.selector ^ i.functionB.selector ^ ...)`)
        return
            interfaceId == 0x01ffc9a7 || // ERC165 interface ID for ERC165.
            interfaceId == 0x80ac58cd || // ERC165 interface ID for ERC721.
            interfaceId == 0x5b5e139f; // ERC165 interface ID for ERC721Metadata.
    }

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

    /**
     * @dev Returns the token collection name.
     */
    function name() public view virtual override returns (string memory) {
        return _name;
    }

    /**
     * @dev Returns the token collection symbol.
     */
    function symbol() public view virtual override returns (string memory) {
        return _symbol;
    }

    /**
     * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token.
     */
    function tokenURI(uint256 tokenId) public view virtual override returns (string memory) {
        if (!_exists(tokenId)) revert URIQueryForNonexistentToken();

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

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

    // =============================================================
    //                     OWNERSHIPS OPERATIONS
    // =============================================================

    /**
     * @dev Returns the owner of the `tokenId` token.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function ownerOf(uint256 tokenId) public view virtual override returns (address) {
        return address(uint160(_packedOwnershipOf(tokenId)));
    }

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

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

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

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

        unchecked {
            if (_startTokenId() <= curr)
                if (curr < _currentIndex) {
                    uint256 packed = _packedOwnerships[curr];
                    // If not burned.
                    if (packed & _BITMASK_BURNED == 0) {
                        // Invariant:
                        // There will always be an initialized ownership slot
                        // (i.e. `ownership.addr != address(0) && ownership.burned == false`)
                        // before an unintialized ownership slot
                        // (i.e. `ownership.addr == address(0) && ownership.burned == false`)
                        // Hence, `curr` will not underflow.
                        //
                        // We can directly compare the packed value.
                        // If the address is zero, packed will be zero.
                        while (packed == 0) {
                            packed = _packedOwnerships[--curr];
                        }
                        return packed;
                    }
                }
        }
        revert OwnerQueryForNonexistentToken();
    }

    /**
     * @dev Returns the unpacked `TokenOwnership` struct from `packed`.
     */
    function _unpackedOwnership(uint256 packed) private pure returns (TokenOwnership memory ownership) {
        ownership.addr = address(uint160(packed));
        ownership.startTimestamp = uint64(packed >> _BITPOS_START_TIMESTAMP);
        ownership.burned = packed & _BITMASK_BURNED != 0;
        ownership.extraData = uint24(packed >> _BITPOS_EXTRA_DATA);
    }

    /**
     * @dev Packs ownership data into a single uint256.
     */
    function _packOwnershipData(address owner, uint256 flags) private view returns (uint256 result) {
        assembly {
            // Mask `owner` to the lower 160 bits, in case the upper bits somehow aren't clean.
            owner := and(owner, _BITMASK_ADDRESS)
            // `owner | (block.timestamp << _BITPOS_START_TIMESTAMP) | flags`.
            result := or(owner, or(shl(_BITPOS_START_TIMESTAMP, timestamp()), flags))
        }
    }

    /**
     * @dev Returns the `nextInitialized` flag set if `quantity` equals 1.
     */
    function _nextInitializedFlag(uint256 quantity) private pure returns (uint256 result) {
        // For branchless setting of the `nextInitialized` flag.
        assembly {
            // `(quantity == 1) << _BITPOS_NEXT_INITIALIZED`.
            result := shl(_BITPOS_NEXT_INITIALIZED, eq(quantity, 1))
        }
    }

    // =============================================================
    //                      APPROVAL OPERATIONS
    // =============================================================

    /**
     * @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) public virtual override {
        address owner = ownerOf(tokenId);

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

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

    /**
     * @dev Returns the account approved for `tokenId` token.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function getApproved(uint256 tokenId) public view virtual override returns (address) {
        if (!_exists(tokenId)) revert ApprovalQueryForNonexistentToken();

        return _tokenApprovals[tokenId].value;
    }

    /**
     * @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) public virtual override {
        if (operator == _msgSenderERC721A()) revert ApproveToCaller();

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

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

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

    /**
     * @dev Returns whether `msgSender` is equal to `approvedAddress` or `owner`.
     */
    function _isSenderApprovedOrOwner(
        address approvedAddress,
        address owner,
        address msgSender
    ) private pure returns (bool result) {
        assembly {
            // Mask `owner` to the lower 160 bits, in case the upper bits somehow aren't clean.
            owner := and(owner, _BITMASK_ADDRESS)
            // Mask `msgSender` to the lower 160 bits, in case the upper bits somehow aren't clean.
            msgSender := and(msgSender, _BITMASK_ADDRESS)
            // `msgSender == owner || msgSender == approvedAddress`.
            result := or(eq(msgSender, owner), eq(msgSender, approvedAddress))
        }
    }

    /**
     * @dev Returns the storage slot and value for the approved address of `tokenId`.
     */
    function _getApprovedSlotAndAddress(uint256 tokenId)
        private
        view
        returns (uint256 approvedAddressSlot, address approvedAddress)
    {
        TokenApprovalRef storage tokenApproval = _tokenApprovals[tokenId];
        // The following is equivalent to `approvedAddress = _tokenApprovals[tokenId]`.
        assembly {
            approvedAddressSlot := tokenApproval.slot
            approvedAddress := sload(approvedAddressSlot)
        }
    }

    // =============================================================
    //                      TRANSFER OPERATIONS
    // =============================================================

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

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

        (uint256 approvedAddressSlot, address approvedAddress) = _getApprovedSlotAndAddress(tokenId);

        // The nested ifs save around 20+ gas over a compound boolean condition.
        if (!_isSenderApprovedOrOwner(approvedAddress, from, _msgSenderERC721A()))
            if (!isApprovedForAll(from, _msgSenderERC721A())) revert TransferCallerNotOwnerNorApproved();

        if (to == address(0)) revert TransferToZeroAddress();

        _beforeTokenTransfers(from, to, tokenId, 1);

        // Clear approvals from the previous owner.
        assembly {
            if approvedAddress {
                // This is equivalent to `delete _tokenApprovals[tokenId]`.
                sstore(approvedAddressSlot, 0)
            }
        }

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

            // Updates:
            // - `address` to the next owner.
            // - `startTimestamp` to the timestamp of transfering.
            // - `burned` to `false`.
            // - `nextInitialized` to `true`.
            _packedOwnerships[tokenId] = _packOwnershipData(
                to,
                _BITMASK_NEXT_INITIALIZED | _nextExtraData(from, to, prevOwnershipPacked)
            );

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

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

    /**
     * @dev Equivalent to `safeTransferFrom(from, to, tokenId, '')`.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId
    ) public virtual override {
        safeTransferFrom(from, to, tokenId, '');
    }

    /**
     * @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 memory _data
    ) public virtual override {
        transferFrom(from, to, tokenId);
        if (to.code.length != 0)
            if (!_checkContractOnERC721Received(from, to, tokenId, _data)) {
                revert TransferToNonERC721ReceiverImplementer();
            }
    }

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

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

    /**
     * @dev Private function to invoke {IERC721Receiver-onERC721Received} on a target contract.
     *
     * `from` - Previous owner of the given token ID.
     * `to` - Target address that will receive the token.
     * `tokenId` - Token ID to be transferred.
     * `_data` - Optional data to send along with the call.
     *
     * Returns whether the call correctly returned the expected magic value.
     */
    function _checkContractOnERC721Received(
        address from,
        address to,
        uint256 tokenId,
        bytes memory _data
    ) private returns (bool) {
        try ERC721A__IERC721Receiver(to).onERC721Received(_msgSenderERC721A(), from, tokenId, _data) returns (
            bytes4 retval
        ) {
            return retval == ERC721A__IERC721Receiver(to).onERC721Received.selector;
        } catch (bytes memory reason) {
            if (reason.length == 0) {
                revert TransferToNonERC721ReceiverImplementer();
            } else {
                assembly {
                    revert(add(32, reason), mload(reason))
                }
            }
        }
    }

    // =============================================================
    //                        MINT OPERATIONS
    // =============================================================

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

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

        // Overflows are incredibly unrealistic.
        // `balance` and `numberMinted` have a maximum limit of 2**64.
        // `tokenId` has a maximum limit of 2**256.
        unchecked {
            // Updates:
            // - `balance += quantity`.
            // - `numberMinted += quantity`.
            //
            // We can directly add to the `balance` and `numberMinted`.
            _packedAddressData[to] += quantity * ((1 << _BITPOS_NUMBER_MINTED) | 1);

            // Updates:
            // - `address` to the owner.
            // - `startTimestamp` to the timestamp of minting.
            // - `burned` to `false`.
            // - `nextInitialized` to `quantity == 1`.
            _packedOwnerships[startTokenId] = _packOwnershipData(
                to,
                _nextInitializedFlag(quantity) | _nextExtraData(address(0), to, 0)
            );

            uint256 toMasked;
            uint256 end = startTokenId + quantity;

            // Use assembly to loop and emit the `Transfer` event for gas savings.
            assembly {
                // Mask `to` to the lower 160 bits, in case the upper bits somehow aren't clean.
                toMasked := and(to, _BITMASK_ADDRESS)
                // Emit the `Transfer` event.
                log4(
                    0, // Start of data (0, since no data).
                    0, // End of data (0, since no data).
                    _TRANSFER_EVENT_SIGNATURE, // Signature.
                    0, // `address(0)`.
                    toMasked, // `to`.
                    startTokenId // `tokenId`.
                )

                for {
                    let tokenId := add(startTokenId, 1)
                } iszero(eq(tokenId, end)) {
                    tokenId := add(tokenId, 1)
                } {
                    // Emit the `Transfer` event. Similar to above.
                    log4(0, 0, _TRANSFER_EVENT_SIGNATURE, 0, toMasked, tokenId)
                }
            }
            if (toMasked == 0) revert MintToZeroAddress();

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

    /**
     * @dev Mints `quantity` tokens and transfers them to `to`.
     *
     * This function is intended for efficient minting only during contract creation.
     *
     * It emits only one {ConsecutiveTransfer} as defined in
     * [ERC2309](https://eips.ethereum.org/EIPS/eip-2309),
     * instead of a sequence of {Transfer} event(s).
     *
     * Calling this function outside of contract creation WILL make your contract
     * non-compliant with the ERC721 standard.
     * For full ERC721 compliance, substituting ERC721 {Transfer} event(s) with the ERC2309
     * {ConsecutiveTransfer} event is only permissible during contract creation.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - `quantity` must be greater than 0.
     *
     * Emits a {ConsecutiveTransfer} event.
     */
    function _mintERC2309(address to, uint256 quantity) internal virtual {
        uint256 startTokenId = _currentIndex;
        if (to == address(0)) revert MintToZeroAddress();
        if (quantity == 0) revert MintZeroQuantity();
        if (quantity > _MAX_MINT_ERC2309_QUANTITY_LIMIT) revert MintERC2309QuantityExceedsLimit();

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

        // Overflows are unrealistic due to the above check for `quantity` to be below the limit.
        unchecked {
            // Updates:
            // - `balance += quantity`.
            // - `numberMinted += quantity`.
            //
            // We can directly add to the `balance` and `numberMinted`.
            _packedAddressData[to] += quantity * ((1 << _BITPOS_NUMBER_MINTED) | 1);

            // Updates:
            // - `address` to the owner.
            // - `startTimestamp` to the timestamp of minting.
            // - `burned` to `false`.
            // - `nextInitialized` to `quantity == 1`.
            _packedOwnerships[startTokenId] = _packOwnershipData(
                to,
                _nextInitializedFlag(quantity) | _nextExtraData(address(0), to, 0)
            );

            emit ConsecutiveTransfer(startTokenId, startTokenId + quantity - 1, address(0), to);

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

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

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

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

    // =============================================================
    //                        BURN OPERATIONS
    // =============================================================

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

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

        address from = address(uint160(prevOwnershipPacked));

        (uint256 approvedAddressSlot, address approvedAddress) = _getApprovedSlotAndAddress(tokenId);

        if (approvalCheck) {
            // The nested ifs save around 20+ gas over a compound boolean condition.
            if (!_isSenderApprovedOrOwner(approvedAddress, from, _msgSenderERC721A()))
                if (!isApprovedForAll(from, _msgSenderERC721A())) revert TransferCallerNotOwnerNorApproved();
        }

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

        // Clear approvals from the previous owner.
        assembly {
            if approvedAddress {
                // This is equivalent to `delete _tokenApprovals[tokenId]`.
                sstore(approvedAddressSlot, 0)
            }
        }

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

            // Updates:
            // - `address` to the last owner.
            // - `startTimestamp` to the timestamp of burning.
            // - `burned` to `true`.
            // - `nextInitialized` to `true`.
            _packedOwnerships[tokenId] = _packOwnershipData(
                from,
                (_BITMASK_BURNED | _BITMASK_NEXT_INITIALIZED) | _nextExtraData(from, address(0), prevOwnershipPacked)
            );

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

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

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

    // =============================================================
    //                     EXTRA DATA OPERATIONS
    // =============================================================

    /**
     * @dev Directly sets the extra data for the ownership data `index`.
     */
    function _setExtraDataAt(uint256 index, uint24 extraData) internal virtual {
        uint256 packed = _packedOwnerships[index];
        if (packed == 0) revert OwnershipNotInitializedForExtraData();
        uint256 extraDataCasted;
        // Cast `extraData` with assembly to avoid redundant masking.
        assembly {
            extraDataCasted := extraData
        }
        packed = (packed & _BITMASK_EXTRA_DATA_COMPLEMENT) | (extraDataCasted << _BITPOS_EXTRA_DATA);
        _packedOwnerships[index] = packed;
    }

    /**
     * @dev Called during each token transfer to set the 24bit `extraData` field.
     * Intended to be overridden by the cosumer contract.
     *
     * `previousExtraData` - the value of `extraData` before transfer.
     *
     * Calling conditions:
     *
     * - When `from` and `to` are both non-zero, `from`'s `tokenId` will be
     * transferred to `to`.
     * - When `from` is zero, `tokenId` will be minted for `to`.
     * - When `to` is zero, `tokenId` will be burned by `from`.
     * - `from` and `to` are never both zero.
     */
    function _extraData(
        address from,
        address to,
        uint24 previousExtraData
    ) internal view virtual returns (uint24) {}

    /**
     * @dev Returns the next extra data for the packed ownership data.
     * The returned result is shifted into position.
     */
    function _nextExtraData(
        address from,
        address to,
        uint256 prevOwnershipPacked
    ) private view returns (uint256) {
        uint24 extraData = uint24(prevOwnershipPacked >> _BITPOS_EXTRA_DATA);
        return uint256(_extraData(from, to, extraData)) << _BITPOS_EXTRA_DATA;
    }

    // =============================================================
    //                       OTHER OPERATIONS
    // =============================================================

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

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

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

            // We write the string from rightmost digit to leftmost digit.
            // The following is essentially a do-while loop that also handles the zero case.
            // prettier-ignore
            for { let temp := value } 1 {} {
                str := sub(str, 1)
                // Write the character to the pointer.
                // The ASCII index of the '0' character is 48.
                mstore8(str, add(48, mod(temp, 10)))
                // Keep dividing `temp` until zero.
                temp := div(temp, 10)
                // prettier-ignore
                if iszero(temp) { break }
            }

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

File 3 of 17 : ERC721ABurnable.sol
// SPDX-License-Identifier: MIT
// ERC721A Contracts v4.2.2
// Creator: Chiru Labs

pragma solidity ^0.8.4;

import './IERC721ABurnable.sol';
import '../ERC721A.sol';

/**
 * @title ERC721ABurnable.
 *
 * @dev ERC721A token that can be irreversibly burned (destroyed).
 */
abstract contract ERC721ABurnable is ERC721A, IERC721ABurnable {
    /**
     * @dev Burns `tokenId`. See {ERC721A-_burn}.
     *
     * Requirements:
     *
     * - The caller must own `tokenId` or be an approved operator.
     */
    function burn(uint256 tokenId) public virtual override {
        _burn(tokenId, true);
    }
}

File 4 of 17 : ERC721AQueryable.sol
// SPDX-License-Identifier: MIT
// ERC721A Contracts v4.2.2
// Creator: Chiru Labs

pragma solidity ^0.8.4;

import './IERC721AQueryable.sol';
import '../ERC721A.sol';

/**
 * @title ERC721AQueryable.
 *
 * @dev ERC721A subclass with convenience query functions.
 */
abstract contract ERC721AQueryable is ERC721A, IERC721AQueryable {
    /**
     * @dev Returns the `TokenOwnership` struct at `tokenId` without reverting.
     *
     * If the `tokenId` is out of bounds:
     *
     * - `addr = address(0)`
     * - `startTimestamp = 0`
     * - `burned = false`
     * - `extraData = 0`
     *
     * If the `tokenId` is burned:
     *
     * - `addr = <Address of owner before token was burned>`
     * - `startTimestamp = <Timestamp when token was burned>`
     * - `burned = true`
     * - `extraData = <Extra data when token was burned>`
     *
     * Otherwise:
     *
     * - `addr = <Address of owner>`
     * - `startTimestamp = <Timestamp of start of ownership>`
     * - `burned = false`
     * - `extraData = <Extra data at start of ownership>`
     */
    function explicitOwnershipOf(uint256 tokenId) public view virtual override returns (TokenOwnership memory) {
        TokenOwnership memory ownership;
        if (tokenId < _startTokenId() || tokenId >= _nextTokenId()) {
            return ownership;
        }
        ownership = _ownershipAt(tokenId);
        if (ownership.burned) {
            return ownership;
        }
        return _ownershipOf(tokenId);
    }

    /**
     * @dev Returns an array of `TokenOwnership` structs at `tokenIds` in order.
     * See {ERC721AQueryable-explicitOwnershipOf}
     */
    function explicitOwnershipsOf(uint256[] calldata tokenIds)
        external
        view
        virtual
        override
        returns (TokenOwnership[] memory)
    {
        unchecked {
            uint256 tokenIdsLength = tokenIds.length;
            TokenOwnership[] memory ownerships = new TokenOwnership[](tokenIdsLength);
            for (uint256 i; i != tokenIdsLength; ++i) {
                ownerships[i] = explicitOwnershipOf(tokenIds[i]);
            }
            return ownerships;
        }
    }

    /**
     * @dev Returns an array of token IDs owned by `owner`,
     * in the range [`start`, `stop`)
     * (i.e. `start <= tokenId < stop`).
     *
     * This function allows for tokens to be queried if the collection
     * grows too big for a single call of {ERC721AQueryable-tokensOfOwner}.
     *
     * Requirements:
     *
     * - `start < stop`
     */
    function tokensOfOwnerIn(
        address owner,
        uint256 start,
        uint256 stop
    ) external view virtual override returns (uint256[] memory) {
        unchecked {
            if (start >= stop) revert InvalidQueryRange();
            uint256 tokenIdsIdx;
            uint256 stopLimit = _nextTokenId();
            // Set `start = max(start, _startTokenId())`.
            if (start < _startTokenId()) {
                start = _startTokenId();
            }
            // Set `stop = min(stop, stopLimit)`.
            if (stop > stopLimit) {
                stop = stopLimit;
            }
            uint256 tokenIdsMaxLength = balanceOf(owner);
            // Set `tokenIdsMaxLength = min(balanceOf(owner), stop - start)`,
            // to cater for cases where `balanceOf(owner)` is too big.
            if (start < stop) {
                uint256 rangeLength = stop - start;
                if (rangeLength < tokenIdsMaxLength) {
                    tokenIdsMaxLength = rangeLength;
                }
            } else {
                tokenIdsMaxLength = 0;
            }
            uint256[] memory tokenIds = new uint256[](tokenIdsMaxLength);
            if (tokenIdsMaxLength == 0) {
                return tokenIds;
            }
            // We need to call `explicitOwnershipOf(start)`,
            // because the slot at `start` may not be initialized.
            TokenOwnership memory ownership = explicitOwnershipOf(start);
            address currOwnershipAddr;
            // If the starting slot exists (i.e. not burned), initialize `currOwnershipAddr`.
            // `ownership.address` will not be zero, as `start` is clamped to the valid token ID range.
            if (!ownership.burned) {
                currOwnershipAddr = ownership.addr;
            }
            for (uint256 i = start; i != stop && tokenIdsIdx != tokenIdsMaxLength; ++i) {
                ownership = _ownershipAt(i);
                if (ownership.burned) {
                    continue;
                }
                if (ownership.addr != address(0)) {
                    currOwnershipAddr = ownership.addr;
                }
                if (currOwnershipAddr == owner) {
                    tokenIds[tokenIdsIdx++] = i;
                }
            }
            // Downsize the array to fit.
            assembly {
                mstore(tokenIds, tokenIdsIdx)
            }
            return tokenIds;
        }
    }

    /**
     * @dev Returns an array of token IDs owned by `owner`.
     *
     * This function scans the ownership mapping and is O(`totalSupply`) in complexity.
     * It is meant to be called off-chain.
     *
     * See {ERC721AQueryable-tokensOfOwnerIn} for splitting the scan into
     * multiple smaller scans if the collection is large enough to cause
     * an out-of-gas error (10K collections should be fine).
     */
    function tokensOfOwner(address owner) external view virtual override returns (uint256[] memory) {
        unchecked {
            uint256 tokenIdsIdx;
            address currOwnershipAddr;
            uint256 tokenIdsLength = balanceOf(owner);
            uint256[] memory tokenIds = new uint256[](tokenIdsLength);
            TokenOwnership memory ownership;
            for (uint256 i = _startTokenId(); tokenIdsIdx != tokenIdsLength; ++i) {
                ownership = _ownershipAt(i);
                if (ownership.burned) {
                    continue;
                }
                if (ownership.addr != address(0)) {
                    currOwnershipAddr = ownership.addr;
                }
                if (currOwnershipAddr == owner) {
                    tokenIds[tokenIdsIdx++] = i;
                }
            }
            return tokenIds;
        }
    }
}

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

File 6 of 17 : MerkleProof.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.0) (utils/cryptography/MerkleProof.sol)

pragma solidity ^0.8.0;

/**
 * @dev These functions deal with verification of Merkle Trees proofs.
 *
 * The proofs can be generated using the JavaScript library
 * https://github.com/miguelmota/merkletreejs[merkletreejs].
 * Note: the hashing algorithm should be keccak256 and pair sorting should be enabled.
 *
 * See `test/utils/cryptography/MerkleProof.test.js` for some examples.
 *
 * WARNING: You should avoid using leaf values that are 64 bytes long prior to
 * hashing, or use a hash function other than keccak256 for hashing leaves.
 * This is because the concatenation of a sorted pair of internal nodes in
 * the merkle tree could be reinterpreted as a leaf value.
 */
library MerkleProof {
    /**
     * @dev Returns true if a `leaf` can be proved to be a part of a Merkle tree
     * defined by `root`. For this, a `proof` must be provided, containing
     * sibling hashes on the branch from the leaf to the root of the tree. Each
     * pair of leaves and each pair of pre-images are assumed to be sorted.
     */
    function verify(
        bytes32[] memory proof,
        bytes32 root,
        bytes32 leaf
    ) internal pure returns (bool) {
        return processProof(proof, leaf) == root;
    }

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

    function _efficientHash(bytes32 a, bytes32 b) private pure returns (bytes32 value) {
        assembly {
            mstore(0x00, a)
            mstore(0x20, b)
            value := keccak256(0x00, 0x40)
        }
    }
}

File 7 of 17 : PaymentSplitter.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (finance/PaymentSplitter.sol)

pragma solidity ^0.8.0;

import "../token/ERC20/utils/SafeERC20.sol";
import "../utils/Address.sol";
import "../utils/Context.sol";

/**
 * @title PaymentSplitter
 * @dev This contract allows to split Ether payments among a group of accounts. The sender does not need to be aware
 * that the Ether will be split in this way, since it is handled transparently by the contract.
 *
 * The split can be in equal parts or in any other arbitrary proportion. The way this is specified is by assigning each
 * account to a number of shares. Of all the Ether that this contract receives, each account will then be able to claim
 * an amount proportional to the percentage of total shares they were assigned.
 *
 * `PaymentSplitter` follows a _pull payment_ model. This means that payments are not automatically forwarded to the
 * accounts but kept in this contract, and the actual transfer is triggered as a separate step by calling the {release}
 * function.
 *
 * NOTE: This contract assumes that ERC20 tokens will behave similarly to native tokens (Ether). Rebasing tokens, and
 * tokens that apply fees during transfers, are likely to not be supported as expected. If in doubt, we encourage you
 * to run tests before sending real value to this contract.
 */
contract PaymentSplitter is Context {
    event PayeeAdded(address account, uint256 shares);
    event PaymentReleased(address to, uint256 amount);
    event ERC20PaymentReleased(IERC20 indexed token, address to, uint256 amount);
    event PaymentReceived(address from, uint256 amount);

    uint256 private _totalShares;
    uint256 private _totalReleased;

    mapping(address => uint256) private _shares;
    mapping(address => uint256) private _released;
    address[] private _payees;

    mapping(IERC20 => uint256) private _erc20TotalReleased;
    mapping(IERC20 => mapping(address => uint256)) private _erc20Released;

    /**
     * @dev Creates an instance of `PaymentSplitter` where each account in `payees` is assigned the number of shares at
     * the matching position in the `shares` array.
     *
     * All addresses in `payees` must be non-zero. Both arrays must have the same non-zero length, and there must be no
     * duplicates in `payees`.
     */
    constructor(address[] memory payees, uint256[] memory shares_) payable {
        require(payees.length == shares_.length, "PaymentSplitter: payees and shares length mismatch");
        require(payees.length > 0, "PaymentSplitter: no payees");

        for (uint256 i = 0; i < payees.length; i++) {
            _addPayee(payees[i], shares_[i]);
        }
    }

    /**
     * @dev The Ether received will be logged with {PaymentReceived} events. Note that these events are not fully
     * reliable: it's possible for a contract to receive Ether without triggering this function. This only affects the
     * reliability of the events, and not the actual splitting of Ether.
     *
     * To learn more about this see the Solidity documentation for
     * https://solidity.readthedocs.io/en/latest/contracts.html#fallback-function[fallback
     * functions].
     */
    receive() external payable virtual {
        emit PaymentReceived(_msgSender(), msg.value);
    }

    /**
     * @dev Getter for the total shares held by payees.
     */
    function totalShares() public view returns (uint256) {
        return _totalShares;
    }

    /**
     * @dev Getter for the total amount of Ether already released.
     */
    function totalReleased() public view returns (uint256) {
        return _totalReleased;
    }

    /**
     * @dev Getter for the total amount of `token` already released. `token` should be the address of an IERC20
     * contract.
     */
    function totalReleased(IERC20 token) public view returns (uint256) {
        return _erc20TotalReleased[token];
    }

    /**
     * @dev Getter for the amount of shares held by an account.
     */
    function shares(address account) public view returns (uint256) {
        return _shares[account];
    }

    /**
     * @dev Getter for the amount of Ether already released to a payee.
     */
    function released(address account) public view returns (uint256) {
        return _released[account];
    }

    /**
     * @dev Getter for the amount of `token` tokens already released to a payee. `token` should be the address of an
     * IERC20 contract.
     */
    function released(IERC20 token, address account) public view returns (uint256) {
        return _erc20Released[token][account];
    }

    /**
     * @dev Getter for the address of the payee number `index`.
     */
    function payee(uint256 index) public view returns (address) {
        return _payees[index];
    }

    /**
     * @dev Triggers a transfer to `account` of the amount of Ether they are owed, according to their percentage of the
     * total shares and their previous withdrawals.
     */
    function release(address payable account) public virtual {
        require(_shares[account] > 0, "PaymentSplitter: account has no shares");

        uint256 totalReceived = address(this).balance + totalReleased();
        uint256 payment = _pendingPayment(account, totalReceived, released(account));

        require(payment != 0, "PaymentSplitter: account is not due payment");

        _released[account] += payment;
        _totalReleased += payment;

        Address.sendValue(account, payment);
        emit PaymentReleased(account, payment);
    }

    /**
     * @dev Triggers a transfer to `account` of the amount of `token` tokens they are owed, according to their
     * percentage of the total shares and their previous withdrawals. `token` must be the address of an IERC20
     * contract.
     */
    function release(IERC20 token, address account) public virtual {
        require(_shares[account] > 0, "PaymentSplitter: account has no shares");

        uint256 totalReceived = token.balanceOf(address(this)) + totalReleased(token);
        uint256 payment = _pendingPayment(account, totalReceived, released(token, account));

        require(payment != 0, "PaymentSplitter: account is not due payment");

        _erc20Released[token][account] += payment;
        _erc20TotalReleased[token] += payment;

        SafeERC20.safeTransfer(token, account, payment);
        emit ERC20PaymentReleased(token, account, payment);
    }

    /**
     * @dev internal logic for computing the pending payment of an `account` given the token historical balances and
     * already released amounts.
     */
    function _pendingPayment(
        address account,
        uint256 totalReceived,
        uint256 alreadyReleased
    ) private view returns (uint256) {
        return (totalReceived * _shares[account]) / _totalShares - alreadyReleased;
    }

    /**
     * @dev Add a new payee to the contract.
     * @param account The address of the payee to add.
     * @param shares_ The number of shares owned by the payee.
     */
    function _addPayee(address account, uint256 shares_) private {
        require(account != address(0), "PaymentSplitter: account is the zero address");
        require(shares_ > 0, "PaymentSplitter: shares are 0");
        require(_shares[account] == 0, "PaymentSplitter: account already has shares");

        _payees.push(account);
        _shares[account] = shares_;
        _totalShares = _totalShares + shares_;
        emit PayeeAdded(account, shares_);
    }
}

File 8 of 17 : Base64.sol
/**
 *Submitted for verification at Etherscan.io on 2021-09-05
 */

// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

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

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

        bytes memory table = TABLE;

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

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

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

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

                mstore(resultPtr, out)

                resultPtr := add(resultPtr, 4)
            }

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

            mstore(result, encodedLen)
        }

        return string(result);
    }
}

File 9 of 17 : SSTORE2.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;

import "./Bytecode.sol";

/**
  @title A key-value storage with auto-generated keys for storing chunks of data with a lower write & read cost.
  @author Agustin Aguilar <[email protected]>
  Readme: https://github.com/0xsequence/sstore2#readme
*/
library SSTORE2 {
    error WriteError();

    /**
    @notice Stores `_data` and returns `pointer` as key for later retrieval
    @dev The pointer is a contract address with `_data` as code
    @param _data to be written
    @return pointer Pointer to the written `_data`
  */
    function write(bytes memory _data) internal returns (address pointer) {
        // Append 00 to _data so contract can't be called
        // Build init code
        bytes memory code = Bytecode.creationCodeFor(abi.encodePacked(hex"00", _data));

        // Deploy contract using create
        assembly {
            pointer := create(0, add(code, 32), mload(code))
        }

        // Address MUST be non-zero
        if (pointer == address(0)) revert WriteError();
    }

    /**
    @notice Reads the contents of the `_pointer` code as data, skips the first byte 
    @dev The function is intended for reading pointers generated by `write`
    @param _pointer to be read
    @return data read from `_pointer` contract
  */
    function read(address _pointer) internal view returns (bytes memory) {
        return Bytecode.codeAt(_pointer, 1, type(uint256).max);
    }

    /**
    @notice Reads the contents of the `_pointer` code as data, skips the first byte 
    @dev The function is intended for reading pointers generated by `write`
    @param _pointer to be read
    @param _start number of bytes to skip
    @return data read from `_pointer` contract
  */
    function read(address _pointer, uint256 _start) internal view returns (bytes memory) {
        return Bytecode.codeAt(_pointer, _start + 1, type(uint256).max);
    }

    /**
    @notice Reads the contents of the `_pointer` code as data, skips the first byte 
    @dev The function is intended for reading pointers generated by `write`
    @param _pointer to be read
    @param _start number of bytes to skip
    @param _end index before which to end extraction
    @return data read from `_pointer` contract
  */
    function read(
        address _pointer,
        uint256 _start,
        uint256 _end
    ) internal view returns (bytes memory) {
        return Bytecode.codeAt(_pointer, _start + 1, _end + 1);
    }
}

File 10 of 17 : IERC721A.sol
// SPDX-License-Identifier: MIT
// ERC721A Contracts v4.2.2
// Creator: Chiru Labs

pragma solidity ^0.8.4;

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

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

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

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

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

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

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

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

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

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

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

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

    /**
     * The `quantity` minted with ERC2309 exceeds the safety limit.
     */
    error MintERC2309QuantityExceedsLimit();

    /**
     * The `extraData` cannot be set on an unintialized ownership slot.
     */
    error OwnershipNotInitializedForExtraData();

    // =============================================================
    //                            STRUCTS
    // =============================================================

    struct TokenOwnership {
        // The address of the owner.
        address addr;
        // Stores the start time of ownership with minimal overhead for tokenomics.
        uint64 startTimestamp;
        // Whether the token has been burned.
        bool burned;
        // Arbitrary data similar to `startTimestamp` that can be set via {_extraData}.
        uint24 extraData;
    }

    // =============================================================
    //                         TOKEN COUNTERS
    // =============================================================

    /**
     * @dev Returns the total number of tokens in existence.
     * Burned tokens will reduce the count.
     * To get the total number of tokens minted, please see {_totalMinted}.
     */
    function totalSupply() external view returns (uint256);

    // =============================================================
    //                            IERC165
    // =============================================================

    /**
     * @dev Returns true if this contract implements the interface defined by
     * `interfaceId`. See the corresponding
     * [EIP section](https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified)
     * to learn more about how these ids are created.
     *
     * This function call must use less than 30000 gas.
     */
    function supportsInterface(bytes4 interfaceId) external view returns (bool);

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

    /**
     * @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,
        bytes calldata data
    ) external;

    /**
     * @dev Equivalent to `safeTransferFrom(from, to, tokenId, '')`.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId
    ) external;

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

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

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

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

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

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

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

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

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

    // =============================================================
    //                           IERC2309
    // =============================================================

    /**
     * @dev Emitted when tokens in `fromTokenId` to `toTokenId`
     * (inclusive) is transferred from `from` to `to`, as defined in the
     * [ERC2309](https://eips.ethereum.org/EIPS/eip-2309) standard.
     *
     * See {_mintERC2309} for more details.
     */
    event ConsecutiveTransfer(uint256 indexed fromTokenId, uint256 toTokenId, address indexed from, address indexed to);
}

File 11 of 17 : IERC721ABurnable.sol
// SPDX-License-Identifier: MIT
// ERC721A Contracts v4.2.2
// Creator: Chiru Labs

pragma solidity ^0.8.4;

import '../IERC721A.sol';

/**
 * @dev Interface of ERC721ABurnable.
 */
interface IERC721ABurnable is IERC721A {
    /**
     * @dev Burns `tokenId`. See {ERC721A-_burn}.
     *
     * Requirements:
     *
     * - The caller must own `tokenId` or be an approved operator.
     */
    function burn(uint256 tokenId) external;
}

File 12 of 17 : IERC721AQueryable.sol
// SPDX-License-Identifier: MIT
// ERC721A Contracts v4.2.2
// Creator: Chiru Labs

pragma solidity ^0.8.4;

import '../IERC721A.sol';

/**
 * @dev Interface of ERC721AQueryable.
 */
interface IERC721AQueryable is IERC721A {
    /**
     * Invalid query range (`start` >= `stop`).
     */
    error InvalidQueryRange();

    /**
     * @dev Returns the `TokenOwnership` struct at `tokenId` without reverting.
     *
     * If the `tokenId` is out of bounds:
     *
     * - `addr = address(0)`
     * - `startTimestamp = 0`
     * - `burned = false`
     * - `extraData = 0`
     *
     * If the `tokenId` is burned:
     *
     * - `addr = <Address of owner before token was burned>`
     * - `startTimestamp = <Timestamp when token was burned>`
     * - `burned = true`
     * - `extraData = <Extra data when token was burned>`
     *
     * Otherwise:
     *
     * - `addr = <Address of owner>`
     * - `startTimestamp = <Timestamp of start of ownership>`
     * - `burned = false`
     * - `extraData = <Extra data at start of ownership>`
     */
    function explicitOwnershipOf(uint256 tokenId) external view returns (TokenOwnership memory);

    /**
     * @dev Returns an array of `TokenOwnership` structs at `tokenIds` in order.
     * See {ERC721AQueryable-explicitOwnershipOf}
     */
    function explicitOwnershipsOf(uint256[] memory tokenIds) external view returns (TokenOwnership[] memory);

    /**
     * @dev Returns an array of token IDs owned by `owner`,
     * in the range [`start`, `stop`)
     * (i.e. `start <= tokenId < stop`).
     *
     * This function allows for tokens to be queried if the collection
     * grows too big for a single call of {ERC721AQueryable-tokensOfOwner}.
     *
     * Requirements:
     *
     * - `start < stop`
     */
    function tokensOfOwnerIn(
        address owner,
        uint256 start,
        uint256 stop
    ) external view returns (uint256[] memory);

    /**
     * @dev Returns an array of token IDs owned by `owner`.
     *
     * This function scans the ownership mapping and is O(`totalSupply`) in complexity.
     * It is meant to be called off-chain.
     *
     * See {ERC721AQueryable-tokensOfOwnerIn} for splitting the scan into
     * multiple smaller scans if the collection is large enough to cause
     * an out-of-gas error (10K collections should be fine).
     */
    function tokensOfOwner(address owner) external view returns (uint256[] memory);
}

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

pragma solidity ^0.8.0;

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

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

File 14 of 17 : SafeERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC20/utils/SafeERC20.sol)

pragma solidity ^0.8.0;

import "../IERC20.sol";
import "../../../utils/Address.sol";

/**
 * @title SafeERC20
 * @dev Wrappers around ERC20 operations that throw on failure (when the token
 * contract returns false). Tokens that return no value (and instead revert or
 * throw on failure) are also supported, non-reverting calls are assumed to be
 * successful.
 * To use this library you can add a `using SafeERC20 for IERC20;` statement to your contract,
 * which allows you to call the safe operations as `token.safeTransfer(...)`, etc.
 */
library SafeERC20 {
    using Address for address;

    function safeTransfer(
        IERC20 token,
        address to,
        uint256 value
    ) internal {
        _callOptionalReturn(token, abi.encodeWithSelector(token.transfer.selector, to, value));
    }

    function safeTransferFrom(
        IERC20 token,
        address from,
        address to,
        uint256 value
    ) internal {
        _callOptionalReturn(token, abi.encodeWithSelector(token.transferFrom.selector, from, to, value));
    }

    /**
     * @dev Deprecated. This function has issues similar to the ones found in
     * {IERC20-approve}, and its usage is discouraged.
     *
     * Whenever possible, use {safeIncreaseAllowance} and
     * {safeDecreaseAllowance} instead.
     */
    function safeApprove(
        IERC20 token,
        address spender,
        uint256 value
    ) internal {
        // safeApprove should only be called when setting an initial allowance,
        // or when resetting it to zero. To increase and decrease it, use
        // 'safeIncreaseAllowance' and 'safeDecreaseAllowance'
        require(
            (value == 0) || (token.allowance(address(this), spender) == 0),
            "SafeERC20: approve from non-zero to non-zero allowance"
        );
        _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, value));
    }

    function safeIncreaseAllowance(
        IERC20 token,
        address spender,
        uint256 value
    ) internal {
        uint256 newAllowance = token.allowance(address(this), spender) + value;
        _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance));
    }

    function safeDecreaseAllowance(
        IERC20 token,
        address spender,
        uint256 value
    ) internal {
        unchecked {
            uint256 oldAllowance = token.allowance(address(this), spender);
            require(oldAllowance >= value, "SafeERC20: decreased allowance below zero");
            uint256 newAllowance = oldAllowance - value;
            _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance));
        }
    }

    /**
     * @dev Imitates a Solidity high-level call (i.e. a regular function call to a contract), relaxing the requirement
     * on the return value: the return value is optional (but if data is returned, it must not be false).
     * @param token The token targeted by the call.
     * @param data The call data (encoded using abi.encode or one of its variants).
     */
    function _callOptionalReturn(IERC20 token, bytes memory data) private {
        // We need to perform a low level call here, to bypass Solidity's return data size checking mechanism, since
        // we're implementing it ourselves. We use {Address.functionCall} to perform this call, which verifies that
        // the target address contains contract code and also asserts for success in the low-level call.

        bytes memory returndata = address(token).functionCall(data, "SafeERC20: low-level call failed");
        if (returndata.length > 0) {
            // Return data is optional
            require(abi.decode(returndata, (bool)), "SafeERC20: ERC20 operation did not succeed");
        }
    }
}

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

pragma solidity ^0.8.1;

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

        return account.code.length > 0;
    }

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

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

    /**
     * @dev Performs a Solidity function call using a low level `call`. A
     * plain `call` is an unsafe replacement for a function call: use this
     * function instead.
     *
     * If `target` reverts with a revert reason, it is bubbled up by this
     * function (like regular Solidity function calls).
     *
     * Returns the raw returned data. To convert to the expected return value,
     * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`].
     *
     * Requirements:
     *
     * - `target` must be a contract.
     * - calling `target` with `data` must not revert.
     *
     * _Available since v3.1._
     */
    function functionCall(address target, bytes memory data) internal returns (bytes memory) {
        return 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 16 of 17 : IERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.0) (token/ERC20/IERC20.sol)

pragma solidity ^0.8.0;

/**
 * @dev Interface of the ERC20 standard as defined in the EIP.
 */
interface IERC20 {
    /**
     * @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);

    /**
     * @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 `to`.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transfer(address to, 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 `from` to `to` 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 from,
        address to,
        uint256 amount
    ) external returns (bool);
}

File 17 of 17 : Bytecode.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;

library Bytecode {
    error InvalidCodeAtRange(uint256 _size, uint256 _start, uint256 _end);

    /**
    @notice Generate a creation code that results on a contract with `_code` as bytecode
    @param _code The returning value of the resulting `creationCode`
    @return creationCode (constructor) for new contract
  */
    function creationCodeFor(bytes memory _code) internal pure returns (bytes memory) {
        /*
      0x00    0x63         0x63XXXXXX  PUSH4 _code.length  size
      0x01    0x80         0x80        DUP1                size size
      0x02    0x60         0x600e      PUSH1 14            14 size size
      0x03    0x60         0x6000      PUSH1 00            0 14 size size
      0x04    0x39         0x39        CODECOPY            size
      0x05    0x60         0x6000      PUSH1 00            0 size
      0x06    0xf3         0xf3        RETURN
      <CODE>
    */

        return abi.encodePacked(hex"63", uint32(_code.length), hex"80_60_0E_60_00_39_60_00_F3", _code);
    }

    /**
    @notice Returns the size of the code on a given address
    @param _addr Address that may or may not contain code
    @return size of the code on the given `_addr`
  */
    function codeSize(address _addr) internal view returns (uint256 size) {
        assembly {
            size := extcodesize(_addr)
        }
    }

    /**
    @notice Returns the code of a given address
    @dev It will fail if `_end < _start`
    @param _addr Address that may or may not contain code
    @param _start number of bytes of code to skip on read
    @param _end index before which to end extraction
    @return oCode read from `_addr` deployed bytecode
    Forked from: https://gist.github.com/KardanovIR/fe98661df9338c842b4a30306d507fbd
  */
    function codeAt(
        address _addr,
        uint256 _start,
        uint256 _end
    ) internal view returns (bytes memory oCode) {
        uint256 csize = codeSize(_addr);
        if (csize == 0) return bytes("");

        if (_start > csize) return bytes("");
        if (_end < _start) revert InvalidCodeAtRange(csize, _start, _end);

        unchecked {
            uint256 reqSize = _end - _start;
            uint256 maxSize = csize - _start;

            uint256 size = maxSize < reqSize ? maxSize : reqSize;

            assembly {
                // allocate output byte array - this could also be done without assembly
                // by using o_code = new bytes(size)
                oCode := mload(0x40)
                // new "memory end" including padding
                mstore(0x40, add(oCode, and(add(add(size, 0x20), 0x1f), not(0x1f))))
                // store length in memory
                mstore(oCode, size)
                // actually retrieve the code, this needs assembly
                extcodecopy(_addr, add(oCode, 0x20), _start, size)
            }
        }
    }
}

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"_wassiePartsAddress","type":"address"},{"internalType":"address[]","name":"payees","type":"address[]"},{"internalType":"uint256[]","name":"shares","type":"uint256[]"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"ApproveToCaller","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"InsufficientAmountSent","type":"error"},{"inputs":[{"internalType":"uint256","name":"_size","type":"uint256"},{"internalType":"uint256","name":"_start","type":"uint256"},{"internalType":"uint256","name":"_end","type":"uint256"}],"name":"InvalidCodeAtRange","type":"error"},{"inputs":[],"name":"InvalidQueryRange","type":"error"},{"inputs":[],"name":"InvalidTokensToBurn","type":"error"},{"inputs":[],"name":"MintERC2309QuantityExceedsLimit","type":"error"},{"inputs":[],"name":"MintInactive","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[],"name":"NotOnFreeMintList","type":"error"},{"inputs":[],"name":"NotPayee","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"OwnershipNotInitializedForExtraData","type":"error"},{"inputs":[],"name":"TransferCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"TransferFromIncorrectOwner","type":"error"},{"inputs":[],"name":"TransferToNonERC721ReceiverImplementer","type":"error"},{"inputs":[],"name":"TransferToZeroAddress","type":"error"},{"inputs":[],"name":"URIQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"WriteError","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"fromTokenId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"toTokenId","type":"uint256"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"}],"name":"ConsecutiveTransfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"contract IERC20","name":"token","type":"address"},{"indexed":false,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"ERC20PaymentReleased","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"receiver","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Minted","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"},{"indexed":false,"internalType":"uint256","name":"shares","type":"uint256"}],"name":"PayeeAdded","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"from","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"PaymentReceived","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"PaymentReleased","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":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseTokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"burnWassies","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"explicitOwnershipOf","outputs":[{"components":[{"internalType":"address","name":"addr","type":"address"},{"internalType":"uint64","name":"startTimestamp","type":"uint64"},{"internalType":"bool","name":"burned","type":"bool"},{"internalType":"uint24","name":"extraData","type":"uint24"}],"internalType":"struct IERC721A.TokenOwnership","name":"","type":"tuple"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"tokenIds","type":"uint256[]"}],"name":"explicitOwnershipsOf","outputs":[{"components":[{"internalType":"address","name":"addr","type":"address"},{"internalType":"uint64","name":"startTimestamp","type":"uint64"},{"internalType":"bool","name":"burned","type":"bool"},{"internalType":"uint24","name":"extraData","type":"uint24"}],"internalType":"struct IERC721A.TokenOwnership[]","name":"","type":"tuple[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isMintActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"merkleRoot","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"nMints","type":"uint256"},{"internalType":"uint256[]","name":"tokenIdsToBurn","type":"uint256[]"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"nMints","type":"uint256"}],"name":"mintAirdrop","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"nMints","type":"uint256"},{"internalType":"uint256[]","name":"tokenIdsToBurn","type":"uint256[]"},{"internalType":"bytes32[]","name":"_proof","type":"bytes32[]"}],"name":"mintFreeClaim","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"mintPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"nMints","type":"uint256"}],"name":"mintReserve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"payee","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address payable","name":"account","type":"address"}],"name":"release","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"contract IERC20","name":"token","type":"address"},{"internalType":"address","name":"account","type":"address"}],"name":"release","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"contract IERC20","name":"token","type":"address"},{"internalType":"address","name":"account","type":"address"}],"name":"released","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"released","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"},{"internalType":"string","name":"fileContent","type":"string"}],"name":"saveAttachment","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":"bytes32","name":"_merkleRoot","type":"bytes32"}],"name":"setMerkleRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_mintPrice","type":"uint256"}],"name":"setMintPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"shares","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"svgAttachments","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"toggleBurnWassies","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"toggleMintActive","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"tokensOfOwner","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"start","type":"uint256"},{"internalType":"uint256","name":"stop","type":"uint256"}],"name":"tokensOfOwnerIn","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"contract IERC20","name":"token","type":"address"}],"name":"totalReleased","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalReleased","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalShares","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":[],"name":"wassiePartsAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"stateMutability":"payable","type":"receive"}]

66470de4df8200006010556011805461ffff19166101011790556007610340818152660234242303030360cc1b6103608190526080918252610380838152662336373431343160c81b6103a05260a0526103c08381526608d8d84d590d5960ca1b6103e05260c05261040083815266119b319a9c98b360c91b6104205260e05261044083815266119ab31a9b99b360c91b61046052610100526104808381526604666c86a6666760cb1b6104a052610120526104c0838152662335343565353160c81b6104e0526101405261050083815261052082905261016052610540838152662331643439356360c81b61056052610180526105808381526611989b1b18313160c91b6105a0526101a0526105c0838152660233238313837360cc1b6105e0526101c052610600838152660233239323035360cc1b610620526101e0526106408381526611999899321a1960c91b61066052610200526106808381526608cd0e0d0d4d4d60ca1b6106a052610220526106c0838152660233538333833360cc1b6106e05261024052610700838152662334663136303760c81b6107205261026052610740838152660233539333936360cc1b6107605261028052610780838152660233266353033360cc1b6107a0526102a0526107c0838152662337383166346160c81b6107e0526102c052610800838152662336373035303560c81b610820526102e0526108408381526611b11c9a1b1a1b60c91b61086052610300526108c06040526108809283526108a052610320919091526200024690601590601662003d12565b506040805161024081018252600761020082018181526611a3232219a0a160c91b610220840181905290835283518085018552828152662361396133396560c81b6020828101919091528085019190915284518086018652838152662365306138376160c81b8183015284860152845180860186528381526608d8988e4c0d9960ca1b81830152606085015284518086018652838152662338353835383560c81b818301526080850152845180860186528381526608d8588e190e1960ca1b8183015260a085015284518086018652838152662339363939393760c81b8183015260c08501528451808601865283815280820183905260e0850152845180860186528381526611b099b0b2309b60c91b8183015261010085015284518086018652838152662337363738383560c81b818301526101208501528451808601865283815266046c4c8c468c2760cb1b818301526101408501528451808601865283815266046c4c8c270c2760cb1b818301526101608501528451808601865283815266046c462c270c2760cb1b8183015261018085015284518086018652838152808201929092526101a084019190915283518085018552828152660236261633263360cc1b818301526101c08401528351808501909452908352662362386234623960c81b908301526101e08101919091526200044890601690601062003d6f565b506040805161026081018252601161022082018181527069742077696c6c20626520737072696e6760781b6102408401526101e0830190815283516020818101865260008083526102008601929092529184528451608080820187528187018581527034ba103bb4b6361031329039bab6b6b2b960791b606084810191909152908352875180860189528481528386015284870192909252865180820188528088018681527034ba103bb4b636103132903bb4b73a32b960791b828501528152875180860189528481528186015286880152865180820188528088019586527034ba103bb4b6361031329030baba3ab6b760791b81840152948552865180850188529283529284019190915280840192909252835160a081018552602694810185815293949185019390928392906200a70790840139815260200160405180602001604052806000815250815250815260200160405180604001604052806040518060400160405280601781526020017f74686572652077696c6c2062652061206d6f6e736f6f6e000000000000000000815250815260200160405180602001604052806000815250815250815260200160405180604001604052806040518060400160405280601b81526020017f69742077696c6c20626520687572726963616e6520736561736f6e0000000000815250815260200160405180602001604052806000815250815250815260200160405180604001604052806040518060600160405280602a81526020016200af05602a9139815260200160405180602001604052806000815250815250815260200160405180604001604052806040518060400160405280601981526020017f69742077696c6c20626520616c6c6572677920736561736f6e00000000000000815250815260200160405180602001604052806000815250815250815260200160405180604001604052806040518060400160405280601181526020017069742077696c6c207472616e737069726560781b81525081526020016040518060600160405280602e81526020016200a7ce602e9139815250815260200160405180604001604052806040518060600160405280602981526020016200a2516029913981526020016040518060400160405280601881526020017f6d69677261746520746f207761726d6572207761746572730000000000000000815250815250815260200160405180604001604052806040518060600160405280602681526020016200ad836026913981526020016040518060600160405280602381526020016200a1b560239139815250815260200160405180604001604052806040518060600160405280603181526020016200a49b6031913981526020016040518060600160405280602781526020016200a15260279139815250815260200160405180604001604052806040518060600160405280602281526020016200a3fe60229139815260200160405180602001604052806000815250815250815260200160405180604001604052806040518060400160405280601181526020017069742077696c6c207472616e737069726560781b81525081526020016040518060600160405280603381526020016200a5d66033913990529052620008fd90601790600f62003dba565b506040805161026081018252600e61022082019081526d696e20746865206d6f726e696e6760901b6102408301526101e08201908152825160208181018552600080835261020085019290925291835283516080808201865260108287019081526f34b7103a34329030b33a32b93737b7b760811b60608481019190915290835286518086018852848152838601528486019290925285518082018752600881880190815267185d081b9a59da1d60c21b82850152815286518086018852848152818601528587015285518082018752600b8188018181526a61726f756e64203320616d60a81b8386015282528751808701895285815282870152838701919091528651808301885260178189019081527f726967687420616674657220796f752077616b6520757000000000000000000082860152815287518087018952858152818701528287015286518083018852601281890190815271353ab9ba103132b337b932903234b73732b960711b828601528152875180870189528581528187015260a08088019190915287518084018952600c818a019081526b30ba103434b3b4103737b7b760a11b82870152815288518088018a528681528188015260c0880152875180840189526011818a0190815270323ab934b7339036b0b3b4b1903437bab960791b82870152815288518088018a528681528188015260e0880152875180840189526019818a019081527f617420746865207374726f6b65206f66206d69646e696768740000000000000082870152815288518088018a5286815281880152610100880152875192830188528288019182526a6174206e61702074696d6560a81b8385015290825286518086018852938452938101929092526101208401919091528351918201845260279382018481529293610140850193839290919062009e4d90840139815260200160405180602001604052806000815250815250815260200160405180604001604052806040518060400160405280601881526020017f6265666f726520796f752065617420627265616b666173740000000000000000815250815260200160405180602001604052806000815250815250815260200160405180604001604052806040518060400160405280601981526020017f68616c66776179207468726f756768207275736820686f757200000000000000815250815260200160405180602001604052806000815250815250815260200160405180604001604052806040518060600160405280602781526020016200a4496027913981526040805160208181018352600080835293810191909152928452805160808101825260178183019081527f647572696e6720796f7572206c756e636820627265616b0000000000000000006060830152815281518085019092529181528183015291015262000d1d90601890600f62003dba565b506040805161026081018252601861022082019081527f796f75276c6c2062652077656172696e672061207375697400000000000000006102408301526101e082019081528251602081810185526000808352610200850192909252918352835160808101855260198186019081527f796f75276c6c2062652077656172696e67206120647265737300000000000000606083810191909152908252855180850187529283528184019290925291830191909152825160a081018452602b81850181815293948501939192839291906200a68690840139815260200160405180602001604052806000815250815250815260200160405180604001604052806040518060600160405280602c81526020016200a4cc602c9139815260200160405180602001604052806000815250815250815260200160405180604001604052806040518060600160405280602a81526020016200acb8602a913981526020016040518060600160405280602481526020016200a2a460249139815250815260200160405180604001604052806040518060600160405280602681526020016200a10960269139815260200160405180602001604052806000815250815250815260200160405180604001604052806040518060600160405280602a81526020016200a27a602a9139815260408051602081810183526000825292830152918352815160808082018452601e8285019081527f796f75276c6c2062652077656172696e6720746865206f6666696369616c000060608085019190915290835284518086018652601f81527f746f6e792074686520746967657220636f7374756d65202873746f6c656e290081860152838501528584019290925283519081018452601d8185019081527f796f75276c6c2062652077656172696e6720746865206d6170206f662000000082840152815283518085018552601581527f41667269636120696e20626f6479207061696e74200000000000000000000000818501529281019290925283830191909152815160a081018352602592810183815293820193909283926200ab0b90840139815260200160405180602001604052806000815250815250815260200160405180604001604052806040518060600160405280602481526020016200aba160249139815260200160405180602001604052806000815250815250815260200160405180604001604052806040518060600160405280602681526020016200ada9602691398152602001604051806020016040528060008152508152508152602001604051806040016040528060405180606001604052806027815260200162009e2660279139815260200160405180602001604052806000815250815250815260200160405180604001604052806040518060400160405280601081526020016f1e5bdd49db1b08189948191c985c195960821b815250815260200160405180606001604052806021815260200162009fda602191399052815260408051608081018252601f8183019081527f796f75276c6c2062652077656172696e6720612070696e6b20686f6f64696500606083015281528151808301909252601682527f74686174206a757374207361797320275350494359270000000000000000000060208381019190915281810192909252910152620011ef90601990600f62003dba565b506040805161028081019091526021610220820181815282916101e083019182916200a62c61024086013981526020016040518060400160405280601081526020016f30b1b937b9b990309033b630b1b4b2b960811b815250815250815260200160405180604001604052806040518060600160405280602581526020016200a2ec6025913981526020016040518060400160405280601381526020017f6c696b652061207469676572277320707265790000000000000000000000000081525081525081526020016040518060400160405280604051806040016040528060128152602001711dda195b881e5bdd49dc994818da185cd95960721b81525081526020016040518060600160405280602381526020016200ae7960239139815250815260200160405180604001604052806040518060400160405280601981526020017f7768656e20796f7527726520666f6c6c6f77656420686f6d650000000000000081525081526020016040518060400160405280601581526020017f627920612073706f6f6b79206c696272617269616e0000000000000000000000815250815250815260200160405180604001604052806040518060400160405280601e81526020017f7768656e20796f75277265207374616c6b656420627920612064726f6e65000081525081526020016040518060400160405280600e81526020016d33303020666565742061626f766560901b81525081525081526020016040518060400160405280604051806040016040528060128152602001717768656e20796f7527726520726163696e6760701b81525081526020016040518060600160405280602281526020016200a08f60229139815250815260200160405180604001604052806040518060400160405280602081526020017f7768656e20796f752772652073686f74206f7574206f6620612063616e6e6f6e815250815260200160405180602001604052806000815250815250815260200160405180604001604052806040518060600160405280602881526020016200a9406028913981526020016040518060400160405280600d81526020016c666f7220736978206d696c657360981b815250815250815260200160405180604001604052806040518060600160405280602881526020016200ad0460289139815260200160405180602001604052806000815250815250815260200160405180604001604052806040518060600160405280602481526020016200a2c86024913981526020016040518060400160405280600c81526020016b627920686f7273656261636b60a01b815250815250815260200160405180604001604052806040518060400160405280601c81526020017f7768656e20796f7527726520636861736564206279206e696e6a61730000000081525081526020016040518060400160405280601c81526020017f6163726f73732074686520726f6f66746f7073206f6620546f6b796f00000000815250815250815260200160405180604001604052806040518060400160405280601581526020017f7768656e20796f7527726520736b79646976696e67000000000000000000000081525081526020016040518060400160405280601481526020017f746f20657363617065207468652059616b757a61000000000000000000000000815250815250815260200160405180604001604052806040518060600160405280602481526020016200ac2a6024913981526020016040518060400160405280601781526020017f776974682073756374696f6e2063757020676c6f766573000000000000000000815250815250815260200160405180604001604052806040518060600160405280602a81526020016200a968602a9139815260200160405180602001604052806000815250815250815260200160405180604001604052806040518060600160405280602581526020016200a4f86025913981526020016040518060600160405280602681526020016200aedf6026913990529052620017c490601a90600f62003dba565b506040805161026081018252601861022082018181527f616e64207468726f776e2066726f6d2074686520726f6f6600000000000000006102408401526101e08301908152835180850185529182527f6f66206120766572792074616c6c206275696c64696e672d00000000000000006020838101919091526102008401929092528252825160a081018452602193810184815292939184019290918291906200a872606084013981526020016040518060400160405280601881526020017f6465636f726174697665206b6174616e612073776f72642d0000000000000000815250815250815260200160405180604001604052806040518060600160405280602681526020016200a84c602691398152602001604051806020016040528060008152508152508152602001604051806040016040528060405180604001604052806011815260200170616e64206275726e656420616c6976652d60781b815250815260200160405180602001604052806000815250815250815260200160405180604001604052806040518060400160405280601c81526020017f616e6420657865637574656420627920666972696e672073717561640000000081525081526020016040518060400160405280601e81526020017f6f66206469736170706f696e74656420666f726d6572206c6f766572732d0000815250815250815260200160405180604001604052806040518060600160405280602581526020016200a06a60259139815260200160405180602001604052806000815250815250815260200160405180604001604052806040518060400160405280602081526020017f616e64206465766f757265642062792068756e67727920706972616e6861732d815250815260200160405180602001604052806000815250815250815260200160405180604001604052806040518060600160405280602681526020016200a20460269139815260200160405180602001604052806000815250815250815260200160405180604001604052806040518060600160405280602681526020016200a6b160269139815260200160405180602001604052806000815250815250815260200160405180604001604052806040518060400160405280601e81526020017f616e6420706173732067656e746c7920696e20796f757220736c6565702d0000815250815260200160405180602001604052806000815250815250815260200160405180604001604052806040518060600160405280602581526020016200ae2f60259139815260200160405180602001604052806000815250815250815260200160405180604001604052806040518060600160405280602781526020016200a22a60279139815260408051602081810183526000808352938101919091529284528051608080820183528183018581527f616e642062697474656e20627920616e20656e6f726d6f757320636f6272612d60608085019190915290835283518087018552858152838701528686019290925282518082018452600c8185019081526b185b99081c1bda5cdbdb995960a21b828501528152835180850185528681527f62792074686520706572736f6e20796f75206c6f766520746865206d6f73742d81880152818701528684015282519081018352601181840190815270616e642062757269656420616c6976652d60781b82840152815282518086019093529282529282015291015262001cc590601b90600f62003dba565b506040805161028081019091526025610220820181815282916101e083019182916200a045610240860139815260200160405180602001604052806000815250815250815260200160405180604001604052806040518060400160405280601f81526020017f796f752077696c6c206265206372656d6174656420616e642073746f7265640081525081526020016040518060400160405280601381526020017f696e20612063617420736861706564206a617200000000000000000000000000815250815250815260200160405180604001604052806040518060400160405280601581526020017f796f752077696c6c206265206d756d6d69666965640000000000000000000000815250815260200160405180602001604052806000815250815250815260200160405180604001604052806040518060400160405280601981526020017f796f757220626f64792077696c6c20626520777261707065640000000000000081525081526020016040518060600160405280602b815260200162009dfb602b9139815250815260200160405180604001604052806040518060600160405280602b81526020016200a470602b9139815260200160405180602001604052806000815250815250815260200160405180604001604052806040518060600160405280602581526020016200ae5460259139815260200160405180602001604052806000815250815250815260200160405180604001604052806040518060600160405280602881526020016200ab546028913981526020016040518060400160405280601f81526020017f666f7220737472616e6765727320746f207468726f7720636f696e7320617400815250815250815260200160405180604001604052806040518060600160405280602181526020016200a7606021913981526020016040518060400160405280601681526020017f616e6420626c617374656420696e746f207370616365000000000000000000008152508152508152602001604051806040016040528060405180606001604052806023815260200162009f7860239139815260200160405180602001604052806000815250815250815260200160405180604001604052806040518060400160405280601681526020017f796f757220626f64792077696c6c2062652068756e670000000000000000000081525081526020016040518060600160405280602a81526020016200a8c0602a9139815250815260200160405180604001604052806040518060600160405280602981526020016200adcf60299139815260200160405180602001604052806000815250815250815260200160405180604001604052806040518060600160405280602581526020016200ab7c6025913981526020016040518060400160405280600e81526020016d617320612073616372696669636560901b815250815250815260200160405180604001604052806040518060400160405280601981526020017f796f757220626f64792077696c6c206265207069636b6c65640000000000000081525081526020016040518060400160405280601981526020017f616e6420736572766564206174207468652066756e6572616c00000000000000815250815250815260200160405180604001604052806040518060600160405280602e815260200162009eba602e913981526020016040518060600160405280602681526020016200a391602691398152508152602001604051806040016040528060405180606001604052806024815260200162009e746024913981526020016040518060400160405280601981526020017f616e642064726976656e20696e746f2074686520726976657200000000000000815250815250815250601c90600f6200223892919062003dba565b506040805161028081019091526022610220820181815282916101e083019182916200a9bf610240860139815260408051602081810183526000825292830152918352815160808101835260158184019081527f796f757220626c6f6f646c696e6520656e6465643b000000000000000000000060608084019190915290825283518085018552601d81527f796f7572206e616d65206572617365642066726f6d20686973746f7279000000818501528284015291840152815160a081018352602c8184018181529490930193909283926200a1d89084013981526040805160208181018352600082529283015291835281516080810183528083018281527f74686520495253206973207374696c6c206c6f6f6b696e6720666f7220796f7560608084019190915290825283518085018552601381527f62757420746861742773206b696e646120697400000000000000000000000000818501528284015291840152815160a08101835260278184018181529490930193909283926200aa749084013981526040805160208181018352600082529283015291835281516080808201845260138285019081527f617320796f7527726520666f72676f7474656e0000000000000000000000000060608085019190915290835284518086018652601881527f62792065766572796f6e652077686f206b6e657720796f7500000000000000008186015283850152858401929092528351908101845260198185019081527f6c656176696e6720626568696e642061206d6f756e7461696e0000000000000082840152815283518085018552601581527f6f66206465627420666f7220796f7572206b6964730000000000000000000000818501529281019290925283830191909152815160a081018352602492810183815293820193909283926200a311908401398152602001604051806040016040528060118152602001700e0d8c2e2eaca40dedc40c240c4cadcc6d607b1b815250815250815260200160405180604001604052806040518060600160405280602381526020016200a6096023913981526020016040518060400160405280601b81526020017f69732064656469636174656420746f20796f7572206d656d6f72790000000000815250815250815260200160405180604001604052806040518060600160405280602a81526020016200ac8e602a9139815260200160405180604001604052806012815260200171616e64206e6f626f6479206e6f746963657360701b815250815250815260200160405180604001604052806040518060400160405280601481526020017f61732070656f706c6520736179202277686f3f2200000000000000000000000081525081526020016040518060400160405280601a81526020017f7768656e6576657220796f752772652062726f75676874207570000000000000815250815250815260200160405180604001604052806040518060400160405280601481526020017f617320796f752772652072656d656d626572656400000000000000000000000081525081526020016040518060600160405280602981526020016200a01c60299139815250815260200160405180604001604052806040518060400160405280601681526020017f617320796f7572206368696c6472656e2066696768740000000000000000000081525081526020016040518060600160405280602981526020016200a36860299139815250815260200160405180604001604052806040518060400160405280601681526020017f6173206a756e6b206d61696c20636f6e74696e7565730000000000000000000081525081526020016040518060400160405280601c81526020017f746f2062652064656c69766572656420696e20796f7572206e616d6500000000815250815250815260200160405180604001604052806040518060400160405280601f81526020017f617320796f75206265636f6d652074686520636f6e74726f7665727369616c0081525081526020016040518060600160405280602581526020016200a0b160259139905290526200282a90601d90600f62003dba565b50604080516102208101825260066101e0820181815265737072696e6760d01b6102008401528252825180840184528181526539bab6b6b2b960d11b6020828101919091528084019190915283518085018552828152653bb4b73a32b960d11b8183015283850152835180850185529182526530baba3ab6b760d11b8282015260608084019290925283518085018552600c81526b3930b4b73c9039b2b0b9b7b760a11b81830152608084015283518085018552600781526636b7b739b7b7b760c91b8183015260a084015283518085018552601081526f343ab93934b1b0b7329039b2b0b9b7b760811b8183015260c084015283518085018552601481527f556b7261696e69616e206d756420736561736f6e0000000000000000000000008183015260e084015283518085018552600e81526d20b63632b933bc9039b2b0b9b7b760911b818301526101008401528351918201909352602280825291926101208401929062009dd99083013981526020016040518060400160405280601981526020017f48756d706261636b207768616c6573206d6967726174696f6e0000000000000081525081526020016040518060400160405280600881526020016729b7b733b5b930b760c11b81525081526020016040518060600160405280602781526020016200aae46027913981526020016040518060400160405280601781526020017f41207765656b206265666f726520636f6d69632d636f6e00000000000000000081525081526020016040518060400160405280601381526020017f27546865205961686f6f20657175696e6f782700000000000000000000000000815250815250601e90600f62002aa392919062003e14565b50604080516102208101825260076101e08201908152664d6f726e696e6760c81b61020083015281528151808301835260098082526820b33a32b93737b7b760b91b60208381019190915280840192909252835180850185526005815264139a59da1d60da1b818401528385015283518085018552600b8082526a41726f756e64203320616d60a81b8285015260608501919091528451808601865260118152700416674657220796f752077616b6520757607c1b81850152608085015284518086018652600d81526c2132b337b932903234b73732b960991b8185015260a085015284518086018652828152682434b3b4103737b7b760b91b8185015260c085015284518086018652600a81526926b0b3b4b1903437bab960b11b8185015260e085015284518086018652601281527114dd1c9bdad9481bd9881b5a591b9a59da1d60721b818501526101008501528451808601865260088152674e61702074696d6560c01b8185015261012085015284518086018652600381526247796d60e81b818501526101408501528451808601865282815268109c99585ad9985cdd60ba1b818501526101608501528451808601865291825268293ab9b4103437bab960b91b8284015261018084019190915283518085018552601c81527f4c617465206d6f726e696e672f6561726c792061667465726e6f6f6e00000000818401526101a0840152835180850190945283526a4c756e636820627265616b60a81b908301526101c081019190915262002ce190601f90600f62003e14565b50604051806101e001604052806040518060400160405280600481526020016314dd5a5d60e21b815250815260200160405180604001604052806005815260200164447265737360d81b81525081526020016040518060400160405280601981526020017f436c6f776e2073686f657320616e64206120746f70206861740000000000000081525081526020016040518060400160405280601a81526020017f42757262657272792773203139393720636f6c6c656374696f6e00000000000081525081526020016040518060600160405280602181526020016200ad2c602191398152604080518082018252601481527f45766572797468696e67206275742070616e74730000000000000000000000006020828101919091528084019190915281518083018352601881527f536f6d656f6e6520656c7365277320756e646572776561720000000000000000818301528284015281518083018352601f81527f546f6e792074686520746967657220636f7374756d65202873746f6c656e290081830152606084015281518083018352601c81527f4d6170206f662041667269636120696e20626f6479207061696e74200000000081830152608084015281518083018352600e81526d4661766f72697465206a65616e7360901b8183015260a084015281518083018352600d81526c026b7bb34b29031b7bbb137bc9609d1b8183015260c08401528151808301835260068152655361726f6e6760d01b8183015260e084015281518083018352601681527f5072696e63657373205a656c646120636f73706c6179000000000000000000008183015261010084015281518083018352601a81527f526f626573206f6620616e20616e6369656e7420707269657374000000000000818301526101208401528151808301909252601382527f275350494359272070696e6b20686f6f64696500000000000000000000000000828201526101409092015262002fbb91600f62003e14565b5060408051610240810190915260266101e0820181815282916200a3b761020084013981526020016040518060600160405280602d81526020016200a893602d913981526020016040518060600160405280602a81526020016200a7fc602a913981526020016040518060600160405280602381526020016200a51d60239139815260200160405180606001604052806021815260200162009ffb6021913981526020016040518060600160405280602981526020016200a4206029913981526020016040518060400160405280601481526020017f73686f74206f7574206f6620612063616e6e6f6e00000000000000000000000081525081526020016040518060600160405280602a81526020016200a5ac602a913981526020016040518060400160405280601c81526020017f63726f7373696e6720746865205361686172612062792063616d656c0000000081525081526020016040518060600160405280602581526020016200aa0f6025913981526020016040518060600160405280602d81526020016200a8ea602d913981526020016040518060400160405280601e81526020017f736b79646976696e6720746f20657363617065207468652059616b757a61000081525081526020016040518060600160405280603081526020016200a6d76030913981526020016040518060400160405280601e81526020017f686f70656c6573736c79206c6f737420696e2074686520737562757262730000815250815260200160405180606001604052806040815260200162009ee86040913990526200321290602190600f62003e14565b50604080516102408101909152602d6101e0820181815282916200a99261020084013981526020016040518060600160405280603681526020016200abf460369139815260200160405180606001604052806022815260200162009e986022913981526020016040518060400160405280600d81526020016c6275726e656420616c6976652d60981b81525081526020016040518060600160405280603781526020016200adf86037913981526020016040518060600160405280602181526020016200a3dd6021913981526020016040518060400160405280601c81526020017f6465766f757265642062792068756e67727920706972616e6861732d0000000081525081526020016040518060600160405280602281526020016200ace26022913981526020016040518060600160405280602281526020016200aac26022913981526020016040518060400160405280601a81526020017f706173732067656e746c7920696e20796f757220736c6565702d00000000000081525081526020016040518060600160405280602181526020016200a7ad6021913981526020016040518060600160405280602381526020016200a12f6023913981526020016040518060400160405280601c81526020017f62697474656e20627920616e20656e6f726d6f757320636f6272612d0000000081525081526020016040518060600160405280602981526020016200a9176029913981526020016040518060400160405280600d81526020016c62757269656420616c6976652d60981b815250815250602290600f6200346892919062003e14565b50604051806101e001604052806040518060400160405280602081526020017f626f64792077696c6c206265206275726e74206c696b6520612076696b696e6781525081526020016040518060600160405280602781526020016200aa9b602791398152602001604051806040016040528060098152602001681b5d5b5b5a599a595960ba1b81525081526020016040518060600160405280604081526020016200ac4e6040913981526020016040518060400160405280601f81526020017f6c61696420746f207265737420696e207468652066616d696c7920706c6f740081525081526020016040518060600160405280602581526020016200ae546025913981526020016040518060800160405280604381526020016200ae9c6043913981526020016040518060600160405280603381526020016200a0d66033913981526020016040518060400160405280601e81526020017f626f64792077696c6c20626520646973736f6c76656420696e2061636964000081525081526020016040518060600160405280603c81526020016200a179603c913981526020016040518060600160405280602481526020016200ab306024913981526020016040518060600160405280602f81526020016200a540602f913981526020016040518060600160405280602e81526020016200a9e1602e9139815260200160405180608001604052806050815260200162009f286050913981526020016040518060600160405280603981526020016200a64d603991399052620036af90602390600f62003e14565b5060408051610240810190915260226101e0820181815282916200a9bf61020084013981526020016040518060600160405280603381526020016200a3356033913981526020016040518060600160405280602c81526020016200a1d8602c91398152602001604051806040016040528060078152602001665468652049525360c81b8152508152602001604051806040016040528060118152602001704e6f74206576656e20796f757220646f6760781b81525081526020016040518060600160405280602c81526020016200a781602c913981526020016040518060600160405280602f81526020016200abc5602f913981526020016040518060600160405280603681526020016200ad4d6036913981526020016040518060600160405280603f815260200162009f9b603f913981526020016040518060600160405280603d81526020016200a56f603d913981526020016040518060400160405280600481526020016357686f3f60e01b81525081526020016040518060600160405280602681526020016200a8266026913981526020016040518060600160405280604081526020016200aa346040913981526020016040518060600160405280603381526020016200a72d6033913981526020016040518060400160405280600e81526020016d26b0b4b71031b430b930b1ba32b960911b815250815250602490600f620038bf92919062003e14565b50348015620038cd57600080fd5b506040516200af2f3803806200af2f833981016040819052620038f09162004064565b81816040518060400160405280600b81526020016a446f6f6d5363726f6c6c7360a81b8152506040518060400160405280600b81526020016a444f4f4d5343524f4c4c5360a81b81525081600290816200394b9190620041d7565b5060036200395a8282620041d7565b505060008055506200396c3362003ad2565b8051825114620039de5760405162461bcd60e51b815260206004820152603260248201527f5061796d656e7453706c69747465723a2070617965657320616e6420736861726044820152710cae640d8cadccee8d040dad2e6dac2e8c6d60731b60648201526084015b60405180910390fd5b600082511162003a315760405162461bcd60e51b815260206004820152601a60248201527f5061796d656e7453706c69747465723a206e6f207061796565730000000000006044820152606401620039d5565b60005b825181101562003a9d5762003a8883828151811062003a575762003a57620042a3565b602002602001015183838151811062003a745762003a74620042a3565b602002602001015162003b2460201b60201c565b8062003a9481620042cf565b91505062003a34565b5050601180546001600160a01b03909516620100000262010000600160b01b0319909516949094179093555062004306915050565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b03821662003b915760405162461bcd60e51b815260206004820152602c60248201527f5061796d656e7453706c69747465723a206163636f756e74206973207468652060448201526b7a65726f206164647265737360a01b6064820152608401620039d5565b6000811162003be35760405162461bcd60e51b815260206004820152601d60248201527f5061796d656e7453706c69747465723a207368617265732061726520300000006044820152606401620039d5565b6001600160a01b0382166000908152600b60205260409020541562003c5f5760405162461bcd60e51b815260206004820152602b60248201527f5061796d656e7453706c69747465723a206163636f756e7420616c726561647960448201526a206861732073686172657360a81b6064820152608401620039d5565b600d8054600181019091557fd7b6990105719101dabeb77144f2a3385c8033acd3af97e9423a695e81ad1eb50180546001600160a01b0319166001600160a01b0384169081179091556000908152600b6020526040902081905560095462003cc9908290620042eb565b600955604080516001600160a01b0384168152602081018390527f40c340f65e17194d14ddddb073d3c9f888e3cb52b5aae0c6c7706b4fbc905fac910160405180910390a15050565b82805482825590600052602060002090810192821562003d5d579160200282015b8281111562003d5d578251829062003d4c9082620041d7565b509160200191906001019062003d33565b5062003d6b92915062003e5f565b5090565b82805482825590600052602060002090810192821562003d5d579160200282015b8281111562003d5d578251829062003da99082620041d7565b509160200191906001019062003d90565b82805482825590600052602060002090810192821562003e06579160200282015b8281111562003e0657825162003df5908390600262003e80565b509160200191906001019062003ddb565b5062003d6b92915062003ecb565b82805482825590600052602060002090810192821562003d5d579160200282015b8281111562003d5d578251829062003e4e9082620041d7565b509160200191906001019062003e35565b8082111562003d6b57600062003e76828262003eec565b5060010162003e5f565b82805482825590600052602060002090810192821562003d5d579160200282015b8281111562003d5d578251829062003eba9082620041d7565b509160200191906001019062003ea1565b8082111562003d6b57600062003ee2828262003f2e565b5060010162003ecb565b50805462003efa9062004148565b6000825580601f1062003f0b575050565b601f01602090049060005260206000209081019062003f2b919062003f4e565b50565b508054600082559060005260206000209081019062003f2b919062003e5f565b5b8082111562003d6b576000815560010162003f4f565b80516001600160a01b038116811462003f7d57600080fd5b919050565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f191681016001600160401b038111828210171562003fc35762003fc362003f82565b604052919050565b60006001600160401b0382111562003fe75762003fe762003f82565b5060051b60200190565b600082601f8301126200400357600080fd5b815160206200401c620040168362003fcb565b62003f98565b82815260059290921b840181019181810190868411156200403c57600080fd5b8286015b8481101562004059578051835291830191830162004040565b509695505050505050565b6000806000606084860312156200407a57600080fd5b620040858462003f65565b602085810151919450906001600160401b0380821115620040a557600080fd5b818701915087601f830112620040ba57600080fd5b8151620040cb620040168262003fcb565b81815260059190911b8301840190848101908a831115620040eb57600080fd5b938501935b828510156200411457620041048562003f65565b82529385019390850190620040f0565b60408a015190975094505050808311156200412e57600080fd5b50506200413e8682870162003ff1565b9150509250925092565b600181811c908216806200415d57607f821691505b6020821081036200417e57634e487b7160e01b600052602260045260246000fd5b50919050565b601f821115620041d257600081815260208120601f850160051c81016020861015620041ad5750805b601f850160051c820191505b81811015620041ce57828155600101620041b9565b5050505b505050565b81516001600160401b03811115620041f357620041f362003f82565b6200420b8162004204845462004148565b8462004184565b602080601f8311600181146200424357600084156200422a5750858301515b600019600386901b1c1916600185901b178555620041ce565b600085815260208120601f198616915b82811015620042745788860151825594840194600190910190840162004253565b5085821015620042935787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b600060018201620042e457620042e4620042b9565b5060010190565b60008219821115620043015762004301620042b9565b500190565b615ac380620043166000396000f3fe60806040526004361061030c5760003560e01c80638462151c1161019a578063c87b56dd116100e1578063e985e9c51161008a578063f4a0a52811610064578063f4a0a5281461096b578063f906751b1461098b578063fdd7c402146109ab57600080fd5b8063e985e9c5146108cc578063ea9bc7d014610915578063f2fde38b1461094b57600080fd5b8063d547cfb7116100bb578063d547cfb71461086c578063d79779b214610881578063e33b7de3146108b757600080fd5b8063c87b56dd14610801578063ce7c2ac214610821578063d02c2bf21461085757600080fd5b806399a2557a11610143578063be1ac2f01161011d578063be1ac2f014610799578063c23dc68f146107bf578063c7d483bb146107ec57600080fd5b806399a2557a14610739578063a22cb46514610759578063b88d4fde1461077957600080fd5b80639517d376116101745780639517d376146106ce57806395d89b41146106ee5780639852595c1461070357600080fd5b80638462151c146106635780638b83209b146106905780638da5cb5b146106b057600080fd5b806342842e0e1161025e5780636581fe9811610207578063715018a6116101e1578063715018a61461060e5780637c62c16b146106235780637cb647591461064357600080fd5b80636581fe98146105b95780636817c76c146105d857806370a08231146105ee57600080fd5b80635b92ac0d116102385780635b92ac0d146105525780635bbb21771461056c5780636352211e1461059957600080fd5b806342842e0e146104f257806342966c681461051257806348b750441461053257600080fd5b806319165587116102c05780632eb4a7ab1161029a5780632eb4a7ab146104815780633a98ef3914610497578063406072a9146104ac57600080fd5b8063191655871461042e57806323b872dd1461044e5780632d69044f1461046e57600080fd5b8063081812fc116102f1578063081812fc146103b1578063095ea7b3146103e957806318160ddd1461040b57600080fd5b806301ffc9a71461035a57806306fdde031461038f57600080fd5b36610355577f6ef95f06320e7a25a04a175ca677b7052bdd97131872c2192525a629f51be77033604080516001600160a01b0390921682523460208301520160405180910390a1005b600080fd5b34801561036657600080fd5b5061037a61037536600461484a565b6109cb565b60405190151581526020015b60405180910390f35b34801561039b57600080fd5b506103a4610a68565b60405161038691906148bf565b3480156103bd57600080fd5b506103d16103cc3660046148d2565b610afa565b6040516001600160a01b039091168152602001610386565b3480156103f557600080fd5b50610409610404366004614900565b610b57565b005b34801561041757600080fd5b50600154600054035b604051908152602001610386565b34801561043a57600080fd5b5061040961044936600461492c565b610c1d565b34801561045a57600080fd5b50610409610469366004614949565b610c84565b61040961047c3660046149d6565b610e5a565b34801561048d57600080fd5b5061042060135481565b3480156104a357600080fd5b50600954610420565b3480156104b857600080fd5b506104206104c7366004614a22565b6001600160a01b039182166000908152600f6020908152604080832093909416825291909152205490565b3480156104fe57600080fd5b5061040961050d366004614949565b610f9c565b34801561051e57600080fd5b5061040961052d3660046148d2565b610fb7565b34801561053e57600080fd5b5061040961054d366004614a22565b610fc2565b34801561055e57600080fd5b5060115461037a9060ff1681565b34801561057857600080fd5b5061058c610587366004614a5b565b611244565b6040516103869190614a9d565b3480156105a557600080fd5b506103d16105b43660046148d2565b611310565b3480156105c557600080fd5b5060115461037a90610100900460ff1681565b3480156105e457600080fd5b5061042060105481565b3480156105fa57600080fd5b5061042061060936600461492c565b61131b565b34801561061a57600080fd5b50610409611383565b34801561062f57600080fd5b5061040961063e366004614b1a565b6113e9565b34801561064f57600080fd5b5061040961065e3660046148d2565b6114c0565b34801561066f57600080fd5b5061068361067e36600461492c565b61151f565b6040516103869190614b96565b34801561069c57600080fd5b506103d16106ab3660046148d2565b611620565b3480156106bc57600080fd5b506008546001600160a01b03166103d1565b3480156106da57600080fd5b506104096106e9366004614bce565b611650565b3480156106fa57600080fd5b506103a46117f7565b34801561070f57600080fd5b5061042061071e36600461492c565b6001600160a01b03166000908152600c602052604090205490565b34801561074557600080fd5b50610683610754366004614c48565b611806565b34801561076557600080fd5b50610409610774366004614c8b565b611999565b34801561078557600080fd5b50610409610794366004614ccf565b611a47565b3480156107a557600080fd5b506011546103d1906201000090046001600160a01b031681565b3480156107cb57600080fd5b506107df6107da3660046148d2565b611a91565b6040516103869190614daf565b3480156107f857600080fd5b50610409611b09565b34801561080d57600080fd5b506103a461081c3660046148d2565b611b80565b34801561082d57600080fd5b5061042061083c36600461492c565b6001600160a01b03166000908152600b602052604090205490565b34801561086357600080fd5b506104096131eb565b34801561087857600080fd5b506103a4613259565b34801561088d57600080fd5b5061042061089c36600461492c565b6001600160a01b03166000908152600e602052604090205490565b3480156108c357600080fd5b50600a54610420565b3480156108d857600080fd5b5061037a6108e7366004614a22565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b34801561092157600080fd5b506103d16109303660046148d2565b6014602052600090815260409020546001600160a01b031681565b34801561095757600080fd5b5061040961096636600461492c565b6132e7565b34801561097757600080fd5b506104096109863660046148d2565b6133c6565b34801561099757600080fd5b506104096109a63660046148d2565b613425565b3480156109b757600080fd5b506104096109c6366004614900565b613489565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000006001600160e01b031983161480610a2e57507f80ac58cd000000000000000000000000000000000000000000000000000000006001600160e01b03198316145b80610a6257507f5b5e139f000000000000000000000000000000000000000000000000000000006001600160e01b03198316145b92915050565b606060028054610a7790614df4565b80601f0160208091040260200160405190810160405280929190818152602001828054610aa390614df4565b8015610af05780601f10610ac557610100808354040283529160200191610af0565b820191906000526020600020905b815481529060010190602001808311610ad357829003601f168201915b5050505050905090565b6000610b05826134f1565b610b3b576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b6000610b6282611310565b9050336001600160a01b03821614610bb457610b7e81336108e7565b610bb4576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600082815260066020526040808220805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b336001600160a01b03821614801590610c4157506008546001600160a01b03163314155b15610c78576040517f56cab67b00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610c8181613518565b50565b6000610c8f826136c7565b9050836001600160a01b0316816001600160a01b031614610cdc576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008281526006602052604090208054610d088187335b6001600160a01b039081169116811491141790565b610d3357610d1686336108e7565b610d3357604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b038516610d73576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8015610d7e57600082555b6001600160a01b038681166000908152600560205260408082208054600019019055918716808252919020805460010190554260a01b17600160e11b17600085815260046020526040812091909155600160e11b84169003610e1057600184016000818152600460205260408120549003610e0e576000548114610e0e5760008181526004602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b505050505050565b60115460ff16610e7d57604051630d0ca57160e21b815260040160405180910390fd5b82601054610e8b9190614e3e565b3414610ec3576040517f85c247cc00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b601154610100900460ff1615610f8d576000819003610ef557604051635d17929f60e01b815260040160405180910390fd5b60005b83811015610f8b576011546201000090046001600160a01b03166342966c68848484818110610f2957610f29614e5d565b905060200201356040518263ffffffff1660e01b8152600401610f4e91815260200190565b600060405180830381600087803b158015610f6857600080fd5b505af1158015610f7c573d6000803e3d6000fd5b50505050806001019050610ef8565b505b610f973384613747565b505050565b610f9783838360405180602001604052806000815250611a47565b610c81816001613761565b6001600160a01b0381166000908152600b602052604090205461103b5760405162461bcd60e51b815260206004820152602660248201527f5061796d656e7453706c69747465723a206163636f756e7420686173206e6f2060448201526573686172657360d01b60648201526084015b60405180910390fd5b6001600160a01b0382166000908152600e60205260408120546040517f70a082310000000000000000000000000000000000000000000000000000000081523060048201526001600160a01b038516906370a0823190602401602060405180830381865afa1580156110b1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110d59190614e73565b6110df9190614e8c565b9050600061111d838361111887876001600160a01b039182166000908152600f6020908152604080832093909416825291909152205490565b6138c4565b9050806000036111835760405162461bcd60e51b815260206004820152602b60248201527f5061796d656e7453706c69747465723a206163636f756e74206973206e6f742060448201526a191d59481c185e5b595b9d60aa1b6064820152608401611032565b6001600160a01b038085166000908152600f60209081526040808320938716835292905290812080548392906111ba908490614e8c565b90915550506001600160a01b0384166000908152600e6020526040812080548392906111e7908490614e8c565b909155506111f8905084848361390a565b604080516001600160a01b038581168252602082018490528616917f3be5b7a71e84ed12875d241991c70855ac5817d847039e17a9d895c1ceb0f18a910160405180910390a250505050565b60608160008167ffffffffffffffff81111561126257611262614cb9565b6040519080825280602002602001820160405280156112b457816020015b6040805160808101825260008082526020808301829052928201819052606082015282526000199092019101816112805790505b50905060005b828114611307576112e28686838181106112d6576112d6614e5d565b90506020020135611a91565b8282815181106112f4576112f4614e5d565b60209081029190910101526001016112ba565b50949350505050565b6000610a62826136c7565b60006001600160a01b03821661135d576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b506001600160a01b031660009081526005602052604090205467ffffffffffffffff1690565b6008546001600160a01b031633146113dd5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401611032565b6113e7600061398a565b565b6008546001600160a01b031633146114435760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401611032565b61148282828080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152506139e992505050565b600093845260146020526040909320805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b03909416939093179092555050565b6008546001600160a01b0316331461151a5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401611032565b601355565b6060600080600061152f8561131b565b905060008167ffffffffffffffff81111561154c5761154c614cb9565b604051908082528060200260200182016040528015611575578160200160208202803683370190505b5060408051608081018252600080825260208201819052918101829052606081018290529192505b838614611614576115ad81613a67565b9150816040015161160c5781516001600160a01b0316156115cd57815194505b876001600160a01b0316856001600160a01b03160361160c57808387806001019850815181106115ff576115ff614e5d565b6020026020010181815250505b60010161159d565b50909695505050505050565b6000600d828154811061163557611635614e5d565b6000918252602090912001546001600160a01b031692915050565b60115460ff1661167357604051630d0ca57160e21b815260040160405180910390fd5b6040516bffffffffffffffffffffffff193360601b1660208201526000906034016040516020818303038152906040528051906020012090506116ed838380806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250506013549150849050613ae6565b611723576040517f54cf91c200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b601154610100900460ff16156117ed57600084900361175557604051635d17929f60e01b815260040160405180910390fd5b60005b868110156117eb576011546201000090046001600160a01b03166342966c6887878481811061178957611789614e5d565b905060200201356040518263ffffffff1660e01b81526004016117ae91815260200190565b600060405180830381600087803b1580156117c857600080fd5b505af11580156117dc573d6000803e3d6000fd5b50505050806001019050611758565b505b610e523387613747565b606060038054610a7790614df4565b6060818310611841576040517f32c1995a00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008061184d60005490565b90508084111561185b578093505b60006118668761131b565b905084861015611885578585038181101561187f578091505b50611889565b5060005b60008167ffffffffffffffff8111156118a4576118a4614cb9565b6040519080825280602002602001820160405280156118cd578160200160208202803683370190505b509050816000036118e357935061199292505050565b60006118ee88611a91565b9050600081604001516118ff575080515b885b8881141580156119115750848714155b156119865761191f81613a67565b9250826040015161197e5782516001600160a01b03161561193f57825191505b8a6001600160a01b0316826001600160a01b03160361197e578084888060010199508151811061197157611971614e5d565b6020026020010181815250505b600101611901565b50505092835250909150505b9392505050565b336001600160a01b038316036119db576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b611a52848484610c84565b6001600160a01b0383163b15611a8b57611a6e84848484613afc565b611a8b576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b6040805160808082018352600080835260208084018290528385018290526060808501839052855193840186528284529083018290529382018190529281018390529091506000548310611ae55792915050565b611aee83613a67565b9050806040015115611b005792915050565b61199283613be7565b6008546001600160a01b03163314611b635760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401611032565b6011805461ff001981166101009182900460ff1615909102179055565b6060611b8b826134f1565b611bc1576040517fa14c4b5000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60006054611bcd61480d565b611bd561480d565b6000611d2f876017805480602002602001604051908101604052809291908181526020016000905b82821015611cf057838290600052602060002001805480602002602001604051908101604052809291908181526020016000905b82821015611cdd578382906000526020600020018054611c5090614df4565b80601f0160208091040260200160405190810160405280929190818152602001828054611c7c90614df4565b8015611cc95780601f10611c9e57610100808354040283529160200191611cc9565b820191906000526020600020905b815481529060010190602001808311611cac57829003601f168201915b505050505081526020019060010190611c31565b5050505081526020019060010190611bfd565b505050506040518060400160405280600681526020017f534541534f4e0000000000000000000000000000000000000000000000000000815250613c5f565b9050611d3d60178287613cac565b8352601e805482908110611d5357611d53614e5d565b906000526020600020018054611d6890614df4565b80601f0160208091040260200160405190810160405280929190818152602001828054611d9490614df4565b8015611de15780601f10611db657610100808354040283529160200191611de1565b820191906000526020600020905b815481529060010190602001808311611dc457829003601f168201915b505050505082600060078110611df957611df9614e5d565b6020020152611e088486614e8c565b9450600060178281548110611e1f57611e1f614e5d565b90600052602060002001600181548110611e3b57611e3b614e5d565b906000526020600020018054611e5090614df4565b90501115611e6557611e628486614e8c565b94505b611fbd876018805480602002602001604051908101604052809291908181526020016000905b82821015611f7e57838290600052602060002001805480602002602001604051908101604052809291908181526020016000905b82821015611f6b578382906000526020600020018054611ede90614df4565b80601f0160208091040260200160405190810160405280929190818152602001828054611f0a90614df4565b8015611f575780601f10611f2c57610100808354040283529160200191611f57565b820191906000526020600020905b815481529060010190602001808311611f3a57829003601f168201915b505050505081526020019060010190611ebf565b5050505081526020019060010190611e8b565b505050506040518060400160405280600b81526020017f54494d45204f4620444159000000000000000000000000000000000000000000815250613c5f565b9050611fcb60188287613cac565b6020840152601f805482908110611fe457611fe4614e5d565b906000526020600020018054611ff990614df4565b80601f016020809104026020016040519081016040528092919081815260200182805461202590614df4565b80156120725780601f1061204757610100808354040283529160200191612072565b820191906000526020600020905b81548152906001019060200180831161205557829003601f168201915b50505050508260016007811061208a5761208a614e5d565b60200201526120998486614e8c565b94506000601882815481106120b0576120b0614e5d565b906000526020600020016001815481106120cc576120cc614e5d565b9060005260206000200180546120e190614df4565b905011156120f6576120f38486614e8c565b94505b61224e876019805480602002602001604051908101604052809291908181526020016000905b8282101561220f57838290600052602060002001805480602002602001604051908101604052809291908181526020016000905b828210156121fc57838290600052602060002001805461216f90614df4565b80601f016020809104026020016040519081016040528092919081815260200182805461219b90614df4565b80156121e85780601f106121bd576101008083540402835291602001916121e8565b820191906000526020600020905b8154815290600101906020018083116121cb57829003601f168201915b505050505081526020019060010190612150565b505050508152602001906001019061211c565b505050506040518060400160405280601081526020017f5748415420594f55274c4c205745415200000000000000000000000000000000815250613c5f565b905061225c60198287613cac565b6040840152602080548290811061227557612275614e5d565b90600052602060002001805461228a90614df4565b80601f01602080910402602001604051908101604052809291908181526020018280546122b690614df4565b80156123035780601f106122d857610100808354040283529160200191612303565b820191906000526020600020905b8154815290600101906020018083116122e657829003601f168201915b50505050508260026007811061231b5761231b614e5d565b602002015261232a8486614e8c565b945060006019828154811061234157612341614e5d565b9060005260206000200160018154811061235d5761235d614e5d565b90600052602060002001805461237290614df4565b90501115612387576123848486614e8c565b94505b6124df87601a805480602002602001604051908101604052809291908181526020016000905b828210156124a057838290600052602060002001805480602002602001604051908101604052809291908181526020016000905b8282101561248d57838290600052602060002001805461240090614df4565b80601f016020809104026020016040519081016040528092919081815260200182805461242c90614df4565b80156124795780601f1061244e57610100808354040283529160200191612479565b820191906000526020600020905b81548152906001019060200180831161245c57829003601f168201915b5050505050815260200190600101906123e1565b50505050815260200190600101906123ad565b505050506040518060400160405280600b81526020017f4348415345205343454e45000000000000000000000000000000000000000000815250613c5f565b90506124ed601a8287613cac565b6060840152602180548290811061250657612506614e5d565b90600052602060002001805461251b90614df4565b80601f016020809104026020016040519081016040528092919081815260200182805461254790614df4565b80156125945780601f1061256957610100808354040283529160200191612594565b820191906000526020600020905b81548152906001019060200180831161257757829003601f168201915b5050505050826003600781106125ac576125ac614e5d565b60200201526125bb8486614e8c565b94506000601a82815481106125d2576125d2614e5d565b906000526020600020016001815481106125ee576125ee614e5d565b90600052602060002001805461260390614df4565b90501115612618576126158486614e8c565b94505b61277087601b805480602002602001604051908101604052809291908181526020016000905b8282101561273157838290600052602060002001805480602002602001604051908101604052809291908181526020016000905b8282101561271e57838290600052602060002001805461269190614df4565b80601f01602080910402602001604051908101604052809291908181526020018280546126bd90614df4565b801561270a5780601f106126df5761010080835404028352916020019161270a565b820191906000526020600020905b8154815290600101906020018083116126ed57829003601f168201915b505050505081526020019060010190612672565b505050508152602001906001019061263e565b505050506040518060400160405280600e81526020017f4341555345204f46204445415448000000000000000000000000000000000000815250613c5f565b905061277e601b8287613cac565b6080840152602280548290811061279757612797614e5d565b9060005260206000200180546127ac90614df4565b80601f01602080910402602001604051908101604052809291908181526020018280546127d890614df4565b80156128255780601f106127fa57610100808354040283529160200191612825565b820191906000526020600020905b81548152906001019060200180831161280857829003601f168201915b50505050508260046007811061283d5761283d614e5d565b602002015261284c8486614e8c565b94506000601b828154811061286357612863614e5d565b9060005260206000200160018154811061287f5761287f614e5d565b90600052602060002001805461289490614df4565b905011156128a9576128a68486614e8c565b94505b612a0187601c805480602002602001604051908101604052809291908181526020016000905b828210156129c257838290600052602060002001805480602002602001604051908101604052809291908181526020016000905b828210156129af57838290600052602060002001805461292290614df4565b80601f016020809104026020016040519081016040528092919081815260200182805461294e90614df4565b801561299b5780601f106129705761010080835404028352916020019161299b565b820191906000526020600020905b81548152906001019060200180831161297e57829003601f168201915b505050505081526020019060010190612903565b50505050815260200190600101906128cf565b505050506040518060400160405280600681526020017f42555249414c0000000000000000000000000000000000000000000000000000815250613c5f565b9050612a0f601c8287613cac565b60a08401526023805482908110612a2857612a28614e5d565b906000526020600020018054612a3d90614df4565b80601f0160208091040260200160405190810160405280929190818152602001828054612a6990614df4565b8015612ab65780601f10612a8b57610100808354040283529160200191612ab6565b820191906000526020600020905b815481529060010190602001808311612a9957829003601f168201915b505050505082600560078110612ace57612ace614e5d565b6020020152612add8486614e8c565b94506000601c8281548110612af457612af4614e5d565b90600052602060002001600181548110612b1057612b10614e5d565b906000526020600020018054612b2590614df4565b90501115612b3a57612b378486614e8c565b94505b612c9287601d805480602002602001604051908101604052809291908181526020016000905b82821015612c5357838290600052602060002001805480602002602001604051908101604052809291908181526020016000905b82821015612c40578382906000526020600020018054612bb390614df4565b80601f0160208091040260200160405190810160405280929190818152602001828054612bdf90614df4565b8015612c2c5780601f10612c0157610100808354040283529160200191612c2c565b820191906000526020600020905b815481529060010190602001808311612c0f57829003601f168201915b505050505081526020019060010190612b94565b5050505081526020019060010190612b60565b505050506040518060400160405280601181526020017f57484f2057494c4c204d49535320594f55000000000000000000000000000000815250613c5f565b9050612ca0601d8287613cac565b60c08401526024805482908110612cb957612cb9614e5d565b906000526020600020018054612cce90614df4565b80601f0160208091040260200160405190810160405280929190818152602001828054612cfa90614df4565b8015612d475780601f10612d1c57610100808354040283529160200191612d47565b820191906000526020600020905b815481529060010190602001808311612d2a57829003601f168201915b505050505082600660078110612d5f57612d5f614e5d565b6020020152612d6e8486614e8c565b94506000601d8281548110612d8557612d85614e5d565b90600052602060002001600181548110612da157612da1614e5d565b906000526020600020018054612db690614df4565b90501115612dcb57612dc88486614e8c565b94505b6000612dd683613ed3565b845160208087015160408089015160608a015160808b015160a08c015160c08d01519451989950600098612e139897949593949293919201614ec0565b60408051601f198184030181529190526002600090815260146020527fa1930aa930426c54c34daad2b9ada7c5d0ef0c96078a3c5bb79f6fa6602c4a7a5491925090612e67906001600160a01b0316613f45565b600360005260146020527f63d87a887046e0430be80fdeb014107d7198c879cbf2cddf39a6df195c86cb3854612ea5906001600160a01b0316613f45565b600460005260146020527f52102136546d97ed3f65ec1070a32935d3048ea12f310d29c378dc9d6555c0d654612ee3906001600160a01b0316613f45565b84604051602001612ef79493929190614f52565b604051602081830303815290604052905080604051602001612f199190614ffb565b60408051601f198184030181529190526000805260146020527f4f26c3876aa9f4b92579780beea1161a61f87ebf1ec6ee865b299e447ecba99c549091508190612f6b906001600160a01b0316613f45565b600160005260146020527fb6c61a840592cc84133e4b25bd509abf4659307c57b160799b38490a5aa48f2c54612fa9906001600160a01b0316613f45565b6130848d6015805480602002602001604051908101604052809291908181526020016000905b8282101561307b578382906000526020600020018054612fee90614df4565b80601f016020809104026020016040519081016040528092919081815260200182805461301a90614df4565b80156130675780601f1061303c57610100808354040283529160200191613067565b820191906000526020600020905b81548152906001019060200180831161304a57829003601f168201915b505050505081526020019060010190612fcf565b50505050613f55565b6131568e6016805480602002602001604051908101604052809291908181526020016000905b8282101561307b5783829060005260206000200180546130c990614df4565b80601f01602080910402602001604051908101604052809291908181526020018280546130f590614df4565b80156131425780601f1061311757610100808354040283529160200191613142565b820191906000526020600020905b81548152906001019060200180831161312557829003601f168201915b5050505050815260200190600101906130aa565b60405160200161316a959493929190615088565b604051602081830303815290604052905060006131b96131898c613fa6565b8561319385613fde565b6040516020016131a593929190615224565b604051602081830303815290604052613fde565b9050806040516020016131cc919061542f565b60408051601f198184030181529190529b9a5050505050505050505050565b6008546001600160a01b031633146132455760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401611032565b6011805460ff19811660ff90911615179055565b6012805461326690614df4565b80601f016020809104026020016040519081016040528092919081815260200182805461329290614df4565b80156132df5780601f106132b4576101008083540402835291602001916132df565b820191906000526020600020905b8154815290600101906020018083116132c257829003601f168201915b505050505081565b6008546001600160a01b031633146133415760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401611032565b6001600160a01b0381166133bd5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f64647265737300000000000000000000000000000000000000000000000000006064820152608401611032565b610c818161398a565b6008546001600160a01b031633146134205760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401611032565b601055565b6008546001600160a01b0316331461347f5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401611032565b610c813382613747565b6008546001600160a01b031633146134e35760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401611032565b6134ed8282613747565b5050565b6000805482108015610a62575050600090815260046020526040902054600160e01b161590565b6001600160a01b0381166000908152600b602052604090205461358c5760405162461bcd60e51b815260206004820152602660248201527f5061796d656e7453706c69747465723a206163636f756e7420686173206e6f2060448201526573686172657360d01b6064820152608401611032565b6000613597600a5490565b6135a19047614e8c565b905060006135c98383611118866001600160a01b03166000908152600c602052604090205490565b90508060000361362f5760405162461bcd60e51b815260206004820152602b60248201527f5061796d656e7453706c69747465723a206163636f756e74206973206e6f742060448201526a191d59481c185e5b595b9d60aa1b6064820152608401611032565b6001600160a01b0383166000908152600c602052604081208054839290613657908490614e8c565b9250508190555080600a60008282546136709190614e8c565b909155506136809050838261417f565b604080516001600160a01b0385168152602081018390527fdf20fd1e76bc69d672e4814fafb2c449bba3a5369d8359adf9e05e6fde87b056910160405180910390a1505050565b6000816000548110156137155760008181526004602052604081205490600160e01b82169003613713575b806000036119925750600019016000818152600460205260409020546136f2565b505b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6134ed828260405180602001604052806000815250614298565b600061376c836136c7565b90508060008061378a86600090815260066020526040902080549091565b9150915084156137ca5761379f818433610cf3565b6137ca576137ad83336108e7565b6137ca57604051632ce44b5f60e11b815260040160405180910390fd5b80156137d557600082555b6001600160a01b038316600081815260056020526040902080546fffffffffffffffffffffffffffffffff0190554260a01b177c030000000000000000000000000000000000000000000000000000000017600087815260046020526040812091909155600160e11b8516900361387c5760018601600081815260046020526040812054900361387a57600054811461387a5760008181526004602052604090208590555b505b60405186906000906001600160a01b038616907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a45050600180548101905550505050565b6009546001600160a01b0384166000908152600b6020526040812054909183916138ee9086614e3e565b6138f8919061548a565b613902919061549e565b949350505050565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fa9059cbb00000000000000000000000000000000000000000000000000000000179052610f97908490614305565b600880546001600160a01b0383811673ffffffffffffffffffffffffffffffffffffffff19831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b600080613a1483604051602001613a0091906154b5565b6040516020818303038152906040526143ea565b90508051602082016000f091506001600160a01b038216613a61576040517f08d4abb600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b50919050565b604080516080810182526000808252602082018190529181018290526060810191909152600082815260046020526040902054610a6290604080516080810182526001600160a01b038316815260a083901c67ffffffffffffffff166020820152600160e01b831615159181019190915260e89190911c606082015290565b600082613af38584614416565b14949350505050565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a0290613b319033908990889088906004016154db565b6020604051808303816000875af1925050508015613b6c575060408051601f3d908101601f19168201909252613b699181019061550d565b60015b613bca573d808015613b9a576040519150601f19603f3d011682016040523d82523d6000602084013e613b9f565b606091505b508051600003613bc2576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050949350505050565b604080516080810182526000808252602082018190529181018290526060810191909152610a62613c17836136c7565b604080516080810182526001600160a01b038316815260a083901c67ffffffffffffffff166020820152600160e01b831615159181019190915260e89190911c606082015290565b600080613c9483613c6f87613fa6565b604051602001613c8092919061552a565b60405160208183030381529060405261448a565b9050835181613ca39190615559565b95945050505050565b60606000613d7c858581548110613cc557613cc5614e5d565b90600052602060002001600081548110613ce157613ce1614e5d565b906000526020600020018054613cf690614df4565b80601f0160208091040260200160405190810160405280929190818152602001828054613d2290614df4565b8015613d6f5780601f10613d4457610100808354040283529160200191613d6f565b820191906000526020600020905b815481529060010190602001808311613d5257829003601f168201915b50505050506000856144bb565b9050613d89605484614e8c565b92506000858581548110613d9f57613d9f614e5d565b90600052602060002001600181548110613dbb57613dbb614e5d565b906000526020600020018054613dd090614df4565b905011156139025780613ea5868681548110613dee57613dee614e5d565b90600052602060002001600181548110613e0a57613e0a614e5d565b906000526020600020018054613e1f90614df4565b80601f0160208091040260200160405190810160405280929190818152602001828054613e4b90614df4565b8015613e985780601f10613e6d57610100808354040283529160200191613e98565b820191906000526020600020905b815481529060010190602001808311613e7b57829003601f168201915b50505050506000866144bb565b604051602001613eb692919061552a565b60408051601f198184030181529190529050611307605484614e8c565b8051602080830151604080850151606086810151925190958695613efc9591949193920161556d565b60408051808303601f1901815290829052608085015160a086015160c0870151929450613f2e938593906020016156db565b60408051601f198184030181529190529392505050565b6060610a628260016000196144fa565b60606000613f75613f6585613fa6565b604051602001613c80919061584d565b905082835182613f859190615559565b81518110613f9557613f95614e5d565b602002602001015191505092915050565b604080516080019081905280825b600183039250600a81066030018353600a900480613fb45750819003601f19909101908152919050565b80516060906000819003614002575050604080516020810190915260008152919050565b60006003614011836002614e8c565b61401b919061548a565b614026906004614e3e565b90506000614035826020614e8c565b67ffffffffffffffff81111561404d5761404d614cb9565b6040519080825280601f01601f191660200182016040528015614077576020820181803683370190505b5090506000604051806060016040528060408152602001615a4e604091399050600181016020830160005b86811015614103576003818a01810151603f601282901c8116860151600c83901c8216870151600684901c831688015192909316870151600891821b60ff94851601821b92841692909201901b91160160e01b8352600490920191016140a2565b50600386066001811461411d576002811461414957614171565b7f3d3d000000000000000000000000000000000000000000000000000000000000600119830152614171565b7f3d000000000000000000000000000000000000000000000000000000000000006000198301525b505050918152949350505050565b804710156141cf5760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a20696e73756666696369656e742062616c616e63650000006044820152606401611032565b6000826001600160a01b03168260405160006040518083038185875af1925050503d806000811461421c576040519150601f19603f3d011682016040523d82523d6000602084013e614221565b606091505b5050905080610f975760405162461bcd60e51b815260206004820152603a60248201527f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260448201527f6563697069656e74206d617920686176652072657665727465640000000000006064820152608401611032565b6142a283836145c8565b6001600160a01b0383163b15610f97576000548281035b6142cc6000868380600101945086613afc565b6142e9576040516368d2bf6b60e11b815260040160405180910390fd5b8181106142b95781600054146142fe57600080fd5b5050505050565b600061435a826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b03166146f99092919063ffffffff16565b805190915015610f9757808060200190518101906143789190615892565b610f975760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e60448201527f6f742073756363656564000000000000000000000000000000000000000000006064820152608401611032565b60608151826040516020016144009291906158af565b6040516020818303038152906040529050919050565b600081815b845181101561448257600085828151811061443857614438614e5d565b6020026020010151905080831161445e576000838152602082905260409020925061446f565b600081815260208490526040902092505b508061447a8161592e565b91505061441b565b509392505050565b60008160405160200161449d9190615947565b60408051601f19818403018152919052805160209091012092915050565b60606144c683613fa6565b6144cf83613fa6565b856040516020016144e293929190615963565b60405160208183030381529060405290509392505050565b6060833b600081900361451d575050604080516020810190915260008152611992565b8084111561453b575050604080516020810190915260008152611992565b83831015614586576040517f2c4a89fa000000000000000000000000000000000000000000000000000000008152600481018290526024810185905260448101849052606401611032565b838303848203600082821061459b578261459d565b815b60408051603f8301601f19168101909152818152955090508087602087018a3c505050509392505050565b6000805490829003614606576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6001600160a01b03831660008181526005602090815260408083208054680100000000000000018802019055848352600490915281206001851460e11b4260a01b178317905582840190839083907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8180a4600183015b8181146146b557808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a460010161467d565b50816000036146f0576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60005550505050565b60606139028484600085856001600160a01b0385163b61475b5760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006044820152606401611032565b600080866001600160a01b031685876040516147779190615947565b60006040518083038185875af1925050503d80600081146147b4576040519150601f19603f3d011682016040523d82523d6000602084013e6147b9565b606091505b50915091506147c98282866147d4565b979650505050505050565b606083156147e3575081611992565b8251156147f35782518084602001fd5b8160405162461bcd60e51b815260040161103291906148bf565b6040518060e001604052806007905b606081526020019060019003908161481c5790505090565b6001600160e01b031981168114610c8157600080fd5b60006020828403121561485c57600080fd5b813561199281614834565b60005b8381101561488257818101518382015260200161486a565b83811115611a8b5750506000910152565b600081518084526148ab816020860160208601614867565b601f01601f19169290920160200192915050565b6020815260006119926020830184614893565b6000602082840312156148e457600080fd5b5035919050565b6001600160a01b0381168114610c8157600080fd5b6000806040838503121561491357600080fd5b823561491e816148eb565b946020939093013593505050565b60006020828403121561493e57600080fd5b8135611992816148eb565b60008060006060848603121561495e57600080fd5b8335614969816148eb565b92506020840135614979816148eb565b929592945050506040919091013590565b60008083601f84011261499c57600080fd5b50813567ffffffffffffffff8111156149b457600080fd5b6020830191508360208260051b85010111156149cf57600080fd5b9250929050565b6000806000604084860312156149eb57600080fd5b83359250602084013567ffffffffffffffff811115614a0957600080fd5b614a158682870161498a565b9497909650939450505050565b60008060408385031215614a3557600080fd5b8235614a40816148eb565b91506020830135614a50816148eb565b809150509250929050565b60008060208385031215614a6e57600080fd5b823567ffffffffffffffff811115614a8557600080fd5b614a918582860161498a565b90969095509350505050565b6020808252825182820181905260009190848201906040850190845b8181101561161457614b078385516001600160a01b03815116825267ffffffffffffffff602082015116602083015260408101511515604083015262ffffff60608201511660608301525050565b9284019260809290920191600101614ab9565b600080600060408486031215614b2f57600080fd5b83359250602084013567ffffffffffffffff80821115614b4e57600080fd5b818601915086601f830112614b6257600080fd5b813581811115614b7157600080fd5b876020828501011115614b8357600080fd5b6020830194508093505050509250925092565b6020808252825182820181905260009190848201906040850190845b8181101561161457835183529284019291840191600101614bb2565b600080600080600060608688031215614be657600080fd5b85359450602086013567ffffffffffffffff80821115614c0557600080fd5b614c1189838a0161498a565b90965094506040880135915080821115614c2a57600080fd5b50614c378882890161498a565b969995985093965092949392505050565b600080600060608486031215614c5d57600080fd5b8335614c68816148eb565b95602085013595506040909401359392505050565b8015158114610c8157600080fd5b60008060408385031215614c9e57600080fd5b8235614ca9816148eb565b91506020830135614a5081614c7d565b634e487b7160e01b600052604160045260246000fd5b60008060008060808587031215614ce557600080fd5b8435614cf0816148eb565b93506020850135614d00816148eb565b925060408501359150606085013567ffffffffffffffff80821115614d2457600080fd5b818701915087601f830112614d3857600080fd5b813581811115614d4a57614d4a614cb9565b604051601f8201601f19908116603f01168101908382118183101715614d7257614d72614cb9565b816040528281528a6020848701011115614d8b57600080fd5b82602086016020830137600060208483010152809550505050505092959194509250565b81516001600160a01b0316815260208083015167ffffffffffffffff169082015260408083015115159082015260608083015162ffffff169082015260808101610a62565b600181811c90821680614e0857607f821691505b602082108103613a6157634e487b7160e01b600052602260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b6000816000190483118215151615614e5857614e58614e28565b500290565b634e487b7160e01b600052603260045260246000fd5b600060208284031215614e8557600080fd5b5051919050565b60008219821115614e9f57614e9f614e28565b500190565b60008151614eb6818560208601614867565b9290920192915050565b600088516020614ed38285838e01614867565b895191840191614ee68184848e01614867565b8951920191614ef88184848d01614867565b8851920191614f0a8184848c01614867565b8751920191614f1c8184848b01614867565b8651920191614f2e8184848a01614867565b8551920191614f408184848901614867565b919091019a9950505050505050505050565b60008551614f64818460208a01614867565b855190830190614f78818360208a01614867565b8551910190614f8b818360208901614867565b8082019150507f3c74657874207472616e73666f726d3d226d617472697828312030203020312081527f3333302034353029223e0000000000000000000000000000000000000000000060208201528351614fed81602a840160208801614867565b01602a019695505050505050565b6000825161500d818460208701614867565b7f3c2f746578743e3c7265637420783d22313839352e362220793d223938322e369201918252507f2220636c6173733d22737437222077696474683d22322e32222068656967687460208201527f3d2230222f3e00000000000000000000000000000000000000000000000000006040820152604601919050565b6000865161509a818460208b01614867565b7f3c7374796c653e000000000000000000000000000000000000000000000000009083019081527f40666f6e742d666163657b666f6e742d66616d696c793a416c61676172643b6660078201527f6f6e742d7374796c653a6e6f726d616c3b7372633a75726c280000000000000060278201528651615120816040840160208b01614867565b8651910190615136816040840160208a01614867565b7f2920666f726d61742827747275657479706527297d0000000000000000000000604092909101918201527f2e7374317b66696c6c3a000000000000000000000000000000000000000000006055820152845161519a81605f840160208901614867565b607d60f81b9101605f8101919091527f2e7374307b66696c6c3a0000000000000000000000000000000000000000000060608201526152186151ef6151e2606a840187614ea4565b607d60f81b815260010190565b7f3c2f7374796c653e3c2f7376673e0000000000000000000000000000000000008152600e0190565b98975050505050505050565b7f7b226e616d65223a2022446f6f6d205363726f6c6c202300000000000000000081526000845161525c816017850160208901614867565b7f222c20226465736372697074696f6e223a2022446f6f6d205363726f6c6c73206017918401918201527f61726520626c6f636b636861696e2070726f706865636965732c20646976696e60378201527f656420627920616e206576696c205475626279204361742c206272657765642060578201527f7769746820706f77646572656420776f6c667362616e6520616e64207468652060778201527f626f6479206f6620612057617373696520286469636564292e2046756c6c792060978201527f6f6e2d636861696e2c20696d6d757461626c652c20766973696f6e73206f662060b78201527f796f75722064656d6973652e20446561746820697320746865207574696c697460d78201527f792c206265776172652121222c202261747472696275746573223a000000000060f78201526154256153fc6153f66153a7610112850189614ea4565b7f2c2022696d616765223a2022646174613a696d6167652f7376672b786d6c3b6281527f61736536342c0000000000000000000000000000000000000000000000000000602082015260260190565b86614ea4565b7f227d000000000000000000000000000000000000000000000000000000000000815260020190565b9695505050505050565b7f646174613a6170706c69636174696f6e2f6a736f6e3b6261736536342c00000081526000825161546781601d850160208701614867565b91909101601d0192915050565b634e487b7160e01b600052601260045260246000fd5b60008261549957615499615474565b500490565b6000828210156154b0576154b0614e28565b500390565b60008152600082516154ce816001850160208701614867565b9190910160010192915050565b60006001600160a01b038087168352808616602084015250836040830152608060608301526154256080830184614893565b60006020828403121561551f57600080fd5b815161199281614834565b6000835161553c818460208801614867565b835190830190615550818360208801614867565b01949350505050565b60008261556857615568615474565b500690565b7f5b7b2274726169745f74797065223a2022536561736f6e222c202276616c756581527f223a2022000000000000000000000000000000000000000000000000000000006020820152600085516155cb816024850160208a01614867565b808301905062089f4b60ea1b8060248301527f7b2274726169745f74797065223a202254696d65206f6620446179222c20227660278301526730b63ab2911d101160c11b6047830152865161562781604f850160208b01614867565b604f9201918201527f7b2274726169745f74797065223a20225768617420596f75276c6c207765617260528201527f222c202276616c7565223a20220000000000000000000000000000000000000060728201526147c96156926153f66156a182607f86018a614ea4565b62089f4b60ea1b815260030190565b7f7b2274726169745f74797065223a20224368617365205363656e65222c20227681526730b63ab2911d101160c11b602082015260280190565b600085516156ed818460208a01614867565b80830190507f7b2274726169745f74797065223a20224361757365206f66204465617468222c81527f202276616c7565223a20220000000000000000000000000000000000000000006020820152855161574e81602b840160208a01614867565b80820191505062089f4b60ea1b80602b8301527f7b2274726169745f74797065223a202242757269616c222c202276616c756522602e8301527f3a20220000000000000000000000000000000000000000000000000000000000604e83015285516157c0816051850160208a01614867565b60519201918201527f7b2274726169745f74797065223a202257686f2057696c6c204d69737320596f60548201527f75222c202276616c7565223a202200000000000000000000000000000000000060748201526147c96158246082830186614ea4565b7f227d5d0000000000000000000000000000000000000000000000000000000000815260030190565b7f7363726f6c6c436f6c6f7200000000000000000000000000000000000000000081526000825161588581600b850160208701614867565b91909101600b0192915050565b6000602082840312156158a457600080fd5b815161199281614c7d565b7f630000000000000000000000000000000000000000000000000000000000000081526001600160e01b03198360e01b1660018201527f80600e6000396000f3000000000000000000000000000000000000000000000060058201526000825161592081600e850160208701614867565b91909101600e019392505050565b60006001820161594057615940614e28565b5060010190565b60008251615959818460208701614867565b9190910192915050565b7f3c747370616e20783d220000000000000000000000000000000000000000000081526000845161599b81600a850160208901614867565b7f2220793d22000000000000000000000000000000000000000000000000000000600a9184019182015284516159d881600f840160208901614867565b7f2220636c6173733d226c696e65223e0000000000000000000000000000000000600f92909101918201528351615a1681601e840160208801614867565b7f3c2f747370616e3e000000000000000000000000000000000000000000000000601e92909101918201526026019594505050505056fe4142434445464748494a4b4c4d4e4f505152535455565758595a6162636465666768696a6b6c6d6e6f707172737475767778797a303132333435363738392b2fa2646970667358221220437680e9e28aba6e485329d239215cb225023cbf0bb1c53cf458ff38f67b7e6264736f6c634300080f00334265747765656e205468616e6b73676976696e6720616e64204368726973746d6173696e206120776569676874656420626c616e6b657420616e64206361737420696e746f2074686520736561796f75276c6c20626520636f73706c6179696e6720746865205072696e63657373205a656c646161726f756e64207768656e20796f75207479706963616c6c7920676f20746f207468652067796d796f757220626f64792077696c6c206265207374756666656420696e2061207472756e6b6c6f776572656420696e746f206120766174206f66206275726e696e67206f696c2d796f757220626f64792077696c6c2062652068696464656e20756e6465722074686520666c6f6f72626f617264736368617365642066726f6d20796f757220686f6d65746f776e20627920616e67727920686967687363686f6f6c6572732077697468207069746368666f726b73626f64792077696c6c2062652068696464656e20756e6465722074686520666c6f6f72626f6172647320696e20746865206162616e646f6e656420686f75736520646f776e2074686520737472656574796f757220626f64792077696c6c20626520646973736f6c76656420696e2061636964617320612077696e67206f6620746865206e6577207075626c6963206c6962726172792069732064656469636174656420746f20796f7572206d656d6f7279696e2074686520726f626573206f6620616e20616e6369656e74207072696573747374616c6b656420627920612064726f6e652033303020666565742061626f7665627920616c6c2074686520667269656e647320796f75207374696c6c206f7765206d6f6e657920746f796f757220626f64792077696c6c206265206275726e74206c696b6520612076696b696e67616e642073717561736865642062656e6561746820612066616c6c696e67207069616e6f2d7468726f7567682061206d6f756e7461696e2076696c6c616765206f6e20736b6973226d61696e2063686172616374657222206f6e207477697474657220666f72206120646179626f6479206c6f61646564206f6e746f206120736174656c6c69746520616e6420626c617374656420696e746f207370616365796f75276c6c2062652077656172696e672065766572797468696e67206275742070616e74736775696c6c6f74696e652764206279206368656572696e6720746f776e73666f6c6b2d616674657220436f616368656c6c6120627574206265666f7265204c6f6c6c6170616c6f6f7a61626f64792077696c6c2062652068756e6720696e2074686520746f776e2073717561726520617320616e206578616d706c6520746f206f7468657273287768656e207468657920686176652074686520626967207761746572666967687429617320796f7520617265206d6f75726e6564206279207468726565206c6f76696e67206368696c6472656e20616e64207472616d706c656420627920626c61636b206672696461792073686f70706572732d616e64206775696c6c6f74696e652764206279206368656572696e6720746f776e73666f6c6b2d69742077696c6c2074616b6520706c616365206173207468652068756d706261636b207768616c6573796f75276c6c2062652077656172696e6720736f6d656f6e6520656c7365277320756e64657277656172706f6c6f2073686972742074686174206861736e27742066697420666f722079656172737768656e20796f752772652074726176656c696e6720636f61737420746f20636f6173747768656e20796f752772652068756e746564207468726f75676820746865206a756e676c65617320796f75277265207265647563656420746f206120636f6d6d656d6f726174697665796f757220626c6f6f646c696e6520656e6465643b20796f7572206e616d65206572617365642066726f6d20686973746f72796f76657220796f75722065737461746520696e2074686520616273656e6365206f6620612077696c6c696e20746865206162616e646f6e656420686f75736520646f776e207468652073747265657463686173656420627920736e6f776d6f62696c6573206163726f7373206120676c616369657273717561736865642062656e6561746820612066616c6c696e67207069616e6f2d69742077696c6c2062652061207765656b206265666f726520636f6d69632d636f6e726163696e67207468726f7567682061206d6f756e7461696e2076696c6c616765206f6e20736b697369742077696c6c206265206c617465206d6f726e696e672f6561726c792061667465726e6f6f6e796f752077696c6c206265206c61696420746f207265737420696e207468652066616d696c7920706c6f7469742077696c6c2068617070656e20647572696e67207468652073756d6d657220666573746976616c20736561736f6e2c796f75276c6c2062652077656172696e672062757262657272792773203139393720636f6c6c656374696f6e7768656e20796f75277265206368617365642066726f6d20796f757220686f6d65746f776e666f6c6c6f77656420686f6d6520627920612073706f6f6b79206c696272617269616e626f64792077696c6c206265206361737420696e746f206120766f6c63616e6f20617320612073616372696669636561732074686579206d69737370656c6c20796f7572206e616d6520696e20746865206f6269747561727920616e64206e6f626f6479206e6f74696365736472616767656420626568696e642061206d696e6920636f6f70657220666f7220736978206d696c6573696e2074686520736561736f6e20617374726f6c6f67697374732063616c6c2027746865207961686f6f20657175696e6f7827617320612077696e67206f6620746865206e6577207075626c6963206c6962726172797768656e20796f752772652063686173656420627920736e6f776d6f62696c6573626f64792077696c6c206265207374756666656420696e2061207472756e6b20616e642064726976656e20696e746f20746865207269766572796f75276c6c2062652077656172696e6720636c6f776e2073686f657320616e64206120746f7020686174616e6420726f6173746564206c696b65206120726f746973736572696520636869636b656e2d7363616c696e6720746865204275726a204b68616c69666120776974682073756374696f6e2063757020676c6f76657369742077696c6c2068617070656e20647572696e6720746865207261696e7920736561736f6e6173206a756e6b206d61696c20636f6e74696e75657320746f2062652064656c69766572656420696e20796f7572206e616d65796f757220626f6479206c6f61646564206f6e746f206120736174656c6c697465617320796f7527726520666f72676f7474656e2062792065766572796f6e652077686f206b6e657720796f75737472616e676c656420627920796f7572206f776e20696e74657374696e65732d696e207468652074696d65206265747765656e207468616e6b73676976696e6720616e64206368726973746d6173636861736564207468726f7567682074686520666f6f6420636f757274206279206d616c6c20636f7073616c6c2074686520667269656e647320796f75207374696c6c206f7765206d6f6e657920746f616e64206c6f776572656420696e746f206120766174206f66206275726e696e67206f696c2d616e64207374616262656420776974682061206e696e6520666f6f74206c6f6e6768756e746564207468726f75676820746865206a756e676c65206c696b65206120746967657227732070726579696e2074686520746f776e2073717561726520617320616e206578616d706c6520746f206f7468657273636861736564206279206e696e6a6173206163726f73732074686520726f6f66746f7073206f6620546f6b796f706f69736f6e65642062792074686520706572736f6e20796f75206c6f766520746865206d6f73742d7768656e20796f75277265206472616767656420626568696e642061206d696e6920636f6f7065727768656e20796f7527726520686f70656c6573736c79206c6f737420696e2074686520737562757262737468726f776e2066726f6d2074686520726f6f66206f66206120766572792074616c6c206275696c64696e672d617320796f752772652072656d656d626572656420666f6e646c7920627920616c6c626f64792077696c6c206265207069636b6c656420616e6420736572766564206174207468652066756e6572616c74726176656c696e6720636f61737420746f20636f61737420627920686f7273656261636b617320796f7572206368696c6472656e206669676874206f76657220796f75722065737461746520696e2074686520616273656e6365206f6620612077696c6c796f757220646f6720776f6e2774206576656e207265616c697a6520796f7527726520676f6e656372656d6174656420616e642073746f72656420696e20612063617420736861706564206a6172726f6173746564206c696b65206120726f746973736572696520636869636b656e2d416674657220436f616368656c6c6120627574206265666f7265204c6f6c6c6170616c6f6f7a61796f75276c6c2062652077656172696e6720796f7572206661766f72697465206a65616e73626f64792077696c6c2062652066656420746f20626561727320617420746865207a6f6f796f757220626f64792077696c6c20626520656d62616c6d656420616e6420646973706c61796564796f757220626f64792077696c6c206265206361737420696e746f206120766f6c63616e6f796f75276c6c20626520647265737365642061732061206d6f76696520636f77626f79206c656176696e6720626568696e642061206d6f756e7461696e206f66206465627420666f7220796f7572206b6964737374616262656420776974682061206e696e6520666f6f74206c6f6e67206465636f726174697665206b6174616e612073776f72642d7768656e20796f75277265207363616c696e6720746865204275726a204b68616c696661626f64792077696c6c206265207772617070656420696e206120776569676874656420626c616e6b657420616e64206361737420696e746f207468652073656161732074686579206d69737370656c6c20796f7572206e616d6520696e20746865206f62697475617279796f75276c6c2062652077656172696e67206120737461696e656420616d65726963616e206561676c657472616d706c656420627920626c61636b206672696461792073686f70706572732d7768656e20796f752772652063726f7373696e6720746865205361686172612062792063616d656c537461696e656420416d65726963616e204561676c6520706f6c6f207368697274617320796f75277265207265647563656420746f206120636f6d6d656d6f72617469766520706c61717565206f6e20612062656e636869742077696c6c20626520536f6e676b72616e2c207468652054686169206e65772079656172796f75276c6c2062652077656172696e67206e6f7468696e67206275742061207361726f6e67796f757220626f64792077696c6c2062652066656420746f20626561727320617420746865207a6f6f657865637574656420627920666972696e67207371756164206f66206469736170706f696e74656420666f726d6572206c6f766572732d616e6420737472616e676c656420627920796f7572206f776e20696e74657374696e65732d6c65667420696e2061207368616c6c6f7720677261766520616e6420666f72676f7474656e7468726f7567682074686520666f6f6420636f757274206279206d616c6c20636f7073626f64792077696c6c20626520656d62616c6d656420616e6420646973706c6179656420666f7220737472616e6765727320746f207468726f7720636f696e73206174627920616e67727920686967687363686f6f6c6572732077697468207069746368666f726b7369742077696c6c20626520647572696e672074686520556b7261696e69616e206d756420736561736f6e000000000000000000000000f7f9f2e912f496aefa29085ad30caaab54bc0e8f000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000001200000000000000000000000000000000000000000000000000000000000000005000000000000000000000000fa09ce510077ea4f7cd34557e32efec180b94f8f0000000000000000000000008df59013dafff93855d2ce9bcbe507bf4a681e6a000000000000000000000000ec7a606b369d32ae74de8dfa1ec0b65c2437368f000000000000000000000000729f6d2383f5178ae1a76b45b8b69c7983b53aa0000000000000000000000000d334fb41248291363f39b0d7349d9615788cd41a000000000000000000000000000000000000000000000000000000000000000500000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000800000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000042

Deployed Bytecode

0x60806040526004361061030c5760003560e01c80638462151c1161019a578063c87b56dd116100e1578063e985e9c51161008a578063f4a0a52811610064578063f4a0a5281461096b578063f906751b1461098b578063fdd7c402146109ab57600080fd5b8063e985e9c5146108cc578063ea9bc7d014610915578063f2fde38b1461094b57600080fd5b8063d547cfb7116100bb578063d547cfb71461086c578063d79779b214610881578063e33b7de3146108b757600080fd5b8063c87b56dd14610801578063ce7c2ac214610821578063d02c2bf21461085757600080fd5b806399a2557a11610143578063be1ac2f01161011d578063be1ac2f014610799578063c23dc68f146107bf578063c7d483bb146107ec57600080fd5b806399a2557a14610739578063a22cb46514610759578063b88d4fde1461077957600080fd5b80639517d376116101745780639517d376146106ce57806395d89b41146106ee5780639852595c1461070357600080fd5b80638462151c146106635780638b83209b146106905780638da5cb5b146106b057600080fd5b806342842e0e1161025e5780636581fe9811610207578063715018a6116101e1578063715018a61461060e5780637c62c16b146106235780637cb647591461064357600080fd5b80636581fe98146105b95780636817c76c146105d857806370a08231146105ee57600080fd5b80635b92ac0d116102385780635b92ac0d146105525780635bbb21771461056c5780636352211e1461059957600080fd5b806342842e0e146104f257806342966c681461051257806348b750441461053257600080fd5b806319165587116102c05780632eb4a7ab1161029a5780632eb4a7ab146104815780633a98ef3914610497578063406072a9146104ac57600080fd5b8063191655871461042e57806323b872dd1461044e5780632d69044f1461046e57600080fd5b8063081812fc116102f1578063081812fc146103b1578063095ea7b3146103e957806318160ddd1461040b57600080fd5b806301ffc9a71461035a57806306fdde031461038f57600080fd5b36610355577f6ef95f06320e7a25a04a175ca677b7052bdd97131872c2192525a629f51be77033604080516001600160a01b0390921682523460208301520160405180910390a1005b600080fd5b34801561036657600080fd5b5061037a61037536600461484a565b6109cb565b60405190151581526020015b60405180910390f35b34801561039b57600080fd5b506103a4610a68565b60405161038691906148bf565b3480156103bd57600080fd5b506103d16103cc3660046148d2565b610afa565b6040516001600160a01b039091168152602001610386565b3480156103f557600080fd5b50610409610404366004614900565b610b57565b005b34801561041757600080fd5b50600154600054035b604051908152602001610386565b34801561043a57600080fd5b5061040961044936600461492c565b610c1d565b34801561045a57600080fd5b50610409610469366004614949565b610c84565b61040961047c3660046149d6565b610e5a565b34801561048d57600080fd5b5061042060135481565b3480156104a357600080fd5b50600954610420565b3480156104b857600080fd5b506104206104c7366004614a22565b6001600160a01b039182166000908152600f6020908152604080832093909416825291909152205490565b3480156104fe57600080fd5b5061040961050d366004614949565b610f9c565b34801561051e57600080fd5b5061040961052d3660046148d2565b610fb7565b34801561053e57600080fd5b5061040961054d366004614a22565b610fc2565b34801561055e57600080fd5b5060115461037a9060ff1681565b34801561057857600080fd5b5061058c610587366004614a5b565b611244565b6040516103869190614a9d565b3480156105a557600080fd5b506103d16105b43660046148d2565b611310565b3480156105c557600080fd5b5060115461037a90610100900460ff1681565b3480156105e457600080fd5b5061042060105481565b3480156105fa57600080fd5b5061042061060936600461492c565b61131b565b34801561061a57600080fd5b50610409611383565b34801561062f57600080fd5b5061040961063e366004614b1a565b6113e9565b34801561064f57600080fd5b5061040961065e3660046148d2565b6114c0565b34801561066f57600080fd5b5061068361067e36600461492c565b61151f565b6040516103869190614b96565b34801561069c57600080fd5b506103d16106ab3660046148d2565b611620565b3480156106bc57600080fd5b506008546001600160a01b03166103d1565b3480156106da57600080fd5b506104096106e9366004614bce565b611650565b3480156106fa57600080fd5b506103a46117f7565b34801561070f57600080fd5b5061042061071e36600461492c565b6001600160a01b03166000908152600c602052604090205490565b34801561074557600080fd5b50610683610754366004614c48565b611806565b34801561076557600080fd5b50610409610774366004614c8b565b611999565b34801561078557600080fd5b50610409610794366004614ccf565b611a47565b3480156107a557600080fd5b506011546103d1906201000090046001600160a01b031681565b3480156107cb57600080fd5b506107df6107da3660046148d2565b611a91565b6040516103869190614daf565b3480156107f857600080fd5b50610409611b09565b34801561080d57600080fd5b506103a461081c3660046148d2565b611b80565b34801561082d57600080fd5b5061042061083c36600461492c565b6001600160a01b03166000908152600b602052604090205490565b34801561086357600080fd5b506104096131eb565b34801561087857600080fd5b506103a4613259565b34801561088d57600080fd5b5061042061089c36600461492c565b6001600160a01b03166000908152600e602052604090205490565b3480156108c357600080fd5b50600a54610420565b3480156108d857600080fd5b5061037a6108e7366004614a22565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b34801561092157600080fd5b506103d16109303660046148d2565b6014602052600090815260409020546001600160a01b031681565b34801561095757600080fd5b5061040961096636600461492c565b6132e7565b34801561097757600080fd5b506104096109863660046148d2565b6133c6565b34801561099757600080fd5b506104096109a63660046148d2565b613425565b3480156109b757600080fd5b506104096109c6366004614900565b613489565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000006001600160e01b031983161480610a2e57507f80ac58cd000000000000000000000000000000000000000000000000000000006001600160e01b03198316145b80610a6257507f5b5e139f000000000000000000000000000000000000000000000000000000006001600160e01b03198316145b92915050565b606060028054610a7790614df4565b80601f0160208091040260200160405190810160405280929190818152602001828054610aa390614df4565b8015610af05780601f10610ac557610100808354040283529160200191610af0565b820191906000526020600020905b815481529060010190602001808311610ad357829003601f168201915b5050505050905090565b6000610b05826134f1565b610b3b576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b6000610b6282611310565b9050336001600160a01b03821614610bb457610b7e81336108e7565b610bb4576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600082815260066020526040808220805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b336001600160a01b03821614801590610c4157506008546001600160a01b03163314155b15610c78576040517f56cab67b00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610c8181613518565b50565b6000610c8f826136c7565b9050836001600160a01b0316816001600160a01b031614610cdc576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008281526006602052604090208054610d088187335b6001600160a01b039081169116811491141790565b610d3357610d1686336108e7565b610d3357604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b038516610d73576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8015610d7e57600082555b6001600160a01b038681166000908152600560205260408082208054600019019055918716808252919020805460010190554260a01b17600160e11b17600085815260046020526040812091909155600160e11b84169003610e1057600184016000818152600460205260408120549003610e0e576000548114610e0e5760008181526004602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b505050505050565b60115460ff16610e7d57604051630d0ca57160e21b815260040160405180910390fd5b82601054610e8b9190614e3e565b3414610ec3576040517f85c247cc00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b601154610100900460ff1615610f8d576000819003610ef557604051635d17929f60e01b815260040160405180910390fd5b60005b83811015610f8b576011546201000090046001600160a01b03166342966c68848484818110610f2957610f29614e5d565b905060200201356040518263ffffffff1660e01b8152600401610f4e91815260200190565b600060405180830381600087803b158015610f6857600080fd5b505af1158015610f7c573d6000803e3d6000fd5b50505050806001019050610ef8565b505b610f973384613747565b505050565b610f9783838360405180602001604052806000815250611a47565b610c81816001613761565b6001600160a01b0381166000908152600b602052604090205461103b5760405162461bcd60e51b815260206004820152602660248201527f5061796d656e7453706c69747465723a206163636f756e7420686173206e6f2060448201526573686172657360d01b60648201526084015b60405180910390fd5b6001600160a01b0382166000908152600e60205260408120546040517f70a082310000000000000000000000000000000000000000000000000000000081523060048201526001600160a01b038516906370a0823190602401602060405180830381865afa1580156110b1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110d59190614e73565b6110df9190614e8c565b9050600061111d838361111887876001600160a01b039182166000908152600f6020908152604080832093909416825291909152205490565b6138c4565b9050806000036111835760405162461bcd60e51b815260206004820152602b60248201527f5061796d656e7453706c69747465723a206163636f756e74206973206e6f742060448201526a191d59481c185e5b595b9d60aa1b6064820152608401611032565b6001600160a01b038085166000908152600f60209081526040808320938716835292905290812080548392906111ba908490614e8c565b90915550506001600160a01b0384166000908152600e6020526040812080548392906111e7908490614e8c565b909155506111f8905084848361390a565b604080516001600160a01b038581168252602082018490528616917f3be5b7a71e84ed12875d241991c70855ac5817d847039e17a9d895c1ceb0f18a910160405180910390a250505050565b60608160008167ffffffffffffffff81111561126257611262614cb9565b6040519080825280602002602001820160405280156112b457816020015b6040805160808101825260008082526020808301829052928201819052606082015282526000199092019101816112805790505b50905060005b828114611307576112e28686838181106112d6576112d6614e5d565b90506020020135611a91565b8282815181106112f4576112f4614e5d565b60209081029190910101526001016112ba565b50949350505050565b6000610a62826136c7565b60006001600160a01b03821661135d576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b506001600160a01b031660009081526005602052604090205467ffffffffffffffff1690565b6008546001600160a01b031633146113dd5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401611032565b6113e7600061398a565b565b6008546001600160a01b031633146114435760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401611032565b61148282828080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152506139e992505050565b600093845260146020526040909320805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b03909416939093179092555050565b6008546001600160a01b0316331461151a5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401611032565b601355565b6060600080600061152f8561131b565b905060008167ffffffffffffffff81111561154c5761154c614cb9565b604051908082528060200260200182016040528015611575578160200160208202803683370190505b5060408051608081018252600080825260208201819052918101829052606081018290529192505b838614611614576115ad81613a67565b9150816040015161160c5781516001600160a01b0316156115cd57815194505b876001600160a01b0316856001600160a01b03160361160c57808387806001019850815181106115ff576115ff614e5d565b6020026020010181815250505b60010161159d565b50909695505050505050565b6000600d828154811061163557611635614e5d565b6000918252602090912001546001600160a01b031692915050565b60115460ff1661167357604051630d0ca57160e21b815260040160405180910390fd5b6040516bffffffffffffffffffffffff193360601b1660208201526000906034016040516020818303038152906040528051906020012090506116ed838380806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250506013549150849050613ae6565b611723576040517f54cf91c200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b601154610100900460ff16156117ed57600084900361175557604051635d17929f60e01b815260040160405180910390fd5b60005b868110156117eb576011546201000090046001600160a01b03166342966c6887878481811061178957611789614e5d565b905060200201356040518263ffffffff1660e01b81526004016117ae91815260200190565b600060405180830381600087803b1580156117c857600080fd5b505af11580156117dc573d6000803e3d6000fd5b50505050806001019050611758565b505b610e523387613747565b606060038054610a7790614df4565b6060818310611841576040517f32c1995a00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008061184d60005490565b90508084111561185b578093505b60006118668761131b565b905084861015611885578585038181101561187f578091505b50611889565b5060005b60008167ffffffffffffffff8111156118a4576118a4614cb9565b6040519080825280602002602001820160405280156118cd578160200160208202803683370190505b509050816000036118e357935061199292505050565b60006118ee88611a91565b9050600081604001516118ff575080515b885b8881141580156119115750848714155b156119865761191f81613a67565b9250826040015161197e5782516001600160a01b03161561193f57825191505b8a6001600160a01b0316826001600160a01b03160361197e578084888060010199508151811061197157611971614e5d565b6020026020010181815250505b600101611901565b50505092835250909150505b9392505050565b336001600160a01b038316036119db576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b611a52848484610c84565b6001600160a01b0383163b15611a8b57611a6e84848484613afc565b611a8b576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b6040805160808082018352600080835260208084018290528385018290526060808501839052855193840186528284529083018290529382018190529281018390529091506000548310611ae55792915050565b611aee83613a67565b9050806040015115611b005792915050565b61199283613be7565b6008546001600160a01b03163314611b635760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401611032565b6011805461ff001981166101009182900460ff1615909102179055565b6060611b8b826134f1565b611bc1576040517fa14c4b5000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60006054611bcd61480d565b611bd561480d565b6000611d2f876017805480602002602001604051908101604052809291908181526020016000905b82821015611cf057838290600052602060002001805480602002602001604051908101604052809291908181526020016000905b82821015611cdd578382906000526020600020018054611c5090614df4565b80601f0160208091040260200160405190810160405280929190818152602001828054611c7c90614df4565b8015611cc95780601f10611c9e57610100808354040283529160200191611cc9565b820191906000526020600020905b815481529060010190602001808311611cac57829003601f168201915b505050505081526020019060010190611c31565b5050505081526020019060010190611bfd565b505050506040518060400160405280600681526020017f534541534f4e0000000000000000000000000000000000000000000000000000815250613c5f565b9050611d3d60178287613cac565b8352601e805482908110611d5357611d53614e5d565b906000526020600020018054611d6890614df4565b80601f0160208091040260200160405190810160405280929190818152602001828054611d9490614df4565b8015611de15780601f10611db657610100808354040283529160200191611de1565b820191906000526020600020905b815481529060010190602001808311611dc457829003601f168201915b505050505082600060078110611df957611df9614e5d565b6020020152611e088486614e8c565b9450600060178281548110611e1f57611e1f614e5d565b90600052602060002001600181548110611e3b57611e3b614e5d565b906000526020600020018054611e5090614df4565b90501115611e6557611e628486614e8c565b94505b611fbd876018805480602002602001604051908101604052809291908181526020016000905b82821015611f7e57838290600052602060002001805480602002602001604051908101604052809291908181526020016000905b82821015611f6b578382906000526020600020018054611ede90614df4565b80601f0160208091040260200160405190810160405280929190818152602001828054611f0a90614df4565b8015611f575780601f10611f2c57610100808354040283529160200191611f57565b820191906000526020600020905b815481529060010190602001808311611f3a57829003601f168201915b505050505081526020019060010190611ebf565b5050505081526020019060010190611e8b565b505050506040518060400160405280600b81526020017f54494d45204f4620444159000000000000000000000000000000000000000000815250613c5f565b9050611fcb60188287613cac565b6020840152601f805482908110611fe457611fe4614e5d565b906000526020600020018054611ff990614df4565b80601f016020809104026020016040519081016040528092919081815260200182805461202590614df4565b80156120725780601f1061204757610100808354040283529160200191612072565b820191906000526020600020905b81548152906001019060200180831161205557829003601f168201915b50505050508260016007811061208a5761208a614e5d565b60200201526120998486614e8c565b94506000601882815481106120b0576120b0614e5d565b906000526020600020016001815481106120cc576120cc614e5d565b9060005260206000200180546120e190614df4565b905011156120f6576120f38486614e8c565b94505b61224e876019805480602002602001604051908101604052809291908181526020016000905b8282101561220f57838290600052602060002001805480602002602001604051908101604052809291908181526020016000905b828210156121fc57838290600052602060002001805461216f90614df4565b80601f016020809104026020016040519081016040528092919081815260200182805461219b90614df4565b80156121e85780601f106121bd576101008083540402835291602001916121e8565b820191906000526020600020905b8154815290600101906020018083116121cb57829003601f168201915b505050505081526020019060010190612150565b505050508152602001906001019061211c565b505050506040518060400160405280601081526020017f5748415420594f55274c4c205745415200000000000000000000000000000000815250613c5f565b905061225c60198287613cac565b6040840152602080548290811061227557612275614e5d565b90600052602060002001805461228a90614df4565b80601f01602080910402602001604051908101604052809291908181526020018280546122b690614df4565b80156123035780601f106122d857610100808354040283529160200191612303565b820191906000526020600020905b8154815290600101906020018083116122e657829003601f168201915b50505050508260026007811061231b5761231b614e5d565b602002015261232a8486614e8c565b945060006019828154811061234157612341614e5d565b9060005260206000200160018154811061235d5761235d614e5d565b90600052602060002001805461237290614df4565b90501115612387576123848486614e8c565b94505b6124df87601a805480602002602001604051908101604052809291908181526020016000905b828210156124a057838290600052602060002001805480602002602001604051908101604052809291908181526020016000905b8282101561248d57838290600052602060002001805461240090614df4565b80601f016020809104026020016040519081016040528092919081815260200182805461242c90614df4565b80156124795780601f1061244e57610100808354040283529160200191612479565b820191906000526020600020905b81548152906001019060200180831161245c57829003601f168201915b5050505050815260200190600101906123e1565b50505050815260200190600101906123ad565b505050506040518060400160405280600b81526020017f4348415345205343454e45000000000000000000000000000000000000000000815250613c5f565b90506124ed601a8287613cac565b6060840152602180548290811061250657612506614e5d565b90600052602060002001805461251b90614df4565b80601f016020809104026020016040519081016040528092919081815260200182805461254790614df4565b80156125945780601f1061256957610100808354040283529160200191612594565b820191906000526020600020905b81548152906001019060200180831161257757829003601f168201915b5050505050826003600781106125ac576125ac614e5d565b60200201526125bb8486614e8c565b94506000601a82815481106125d2576125d2614e5d565b906000526020600020016001815481106125ee576125ee614e5d565b90600052602060002001805461260390614df4565b90501115612618576126158486614e8c565b94505b61277087601b805480602002602001604051908101604052809291908181526020016000905b8282101561273157838290600052602060002001805480602002602001604051908101604052809291908181526020016000905b8282101561271e57838290600052602060002001805461269190614df4565b80601f01602080910402602001604051908101604052809291908181526020018280546126bd90614df4565b801561270a5780601f106126df5761010080835404028352916020019161270a565b820191906000526020600020905b8154815290600101906020018083116126ed57829003601f168201915b505050505081526020019060010190612672565b505050508152602001906001019061263e565b505050506040518060400160405280600e81526020017f4341555345204f46204445415448000000000000000000000000000000000000815250613c5f565b905061277e601b8287613cac565b6080840152602280548290811061279757612797614e5d565b9060005260206000200180546127ac90614df4565b80601f01602080910402602001604051908101604052809291908181526020018280546127d890614df4565b80156128255780601f106127fa57610100808354040283529160200191612825565b820191906000526020600020905b81548152906001019060200180831161280857829003601f168201915b50505050508260046007811061283d5761283d614e5d565b602002015261284c8486614e8c565b94506000601b828154811061286357612863614e5d565b9060005260206000200160018154811061287f5761287f614e5d565b90600052602060002001805461289490614df4565b905011156128a9576128a68486614e8c565b94505b612a0187601c805480602002602001604051908101604052809291908181526020016000905b828210156129c257838290600052602060002001805480602002602001604051908101604052809291908181526020016000905b828210156129af57838290600052602060002001805461292290614df4565b80601f016020809104026020016040519081016040528092919081815260200182805461294e90614df4565b801561299b5780601f106129705761010080835404028352916020019161299b565b820191906000526020600020905b81548152906001019060200180831161297e57829003601f168201915b505050505081526020019060010190612903565b50505050815260200190600101906128cf565b505050506040518060400160405280600681526020017f42555249414c0000000000000000000000000000000000000000000000000000815250613c5f565b9050612a0f601c8287613cac565b60a08401526023805482908110612a2857612a28614e5d565b906000526020600020018054612a3d90614df4565b80601f0160208091040260200160405190810160405280929190818152602001828054612a6990614df4565b8015612ab65780601f10612a8b57610100808354040283529160200191612ab6565b820191906000526020600020905b815481529060010190602001808311612a9957829003601f168201915b505050505082600560078110612ace57612ace614e5d565b6020020152612add8486614e8c565b94506000601c8281548110612af457612af4614e5d565b90600052602060002001600181548110612b1057612b10614e5d565b906000526020600020018054612b2590614df4565b90501115612b3a57612b378486614e8c565b94505b612c9287601d805480602002602001604051908101604052809291908181526020016000905b82821015612c5357838290600052602060002001805480602002602001604051908101604052809291908181526020016000905b82821015612c40578382906000526020600020018054612bb390614df4565b80601f0160208091040260200160405190810160405280929190818152602001828054612bdf90614df4565b8015612c2c5780601f10612c0157610100808354040283529160200191612c2c565b820191906000526020600020905b815481529060010190602001808311612c0f57829003601f168201915b505050505081526020019060010190612b94565b5050505081526020019060010190612b60565b505050506040518060400160405280601181526020017f57484f2057494c4c204d49535320594f55000000000000000000000000000000815250613c5f565b9050612ca0601d8287613cac565b60c08401526024805482908110612cb957612cb9614e5d565b906000526020600020018054612cce90614df4565b80601f0160208091040260200160405190810160405280929190818152602001828054612cfa90614df4565b8015612d475780601f10612d1c57610100808354040283529160200191612d47565b820191906000526020600020905b815481529060010190602001808311612d2a57829003601f168201915b505050505082600660078110612d5f57612d5f614e5d565b6020020152612d6e8486614e8c565b94506000601d8281548110612d8557612d85614e5d565b90600052602060002001600181548110612da157612da1614e5d565b906000526020600020018054612db690614df4565b90501115612dcb57612dc88486614e8c565b94505b6000612dd683613ed3565b845160208087015160408089015160608a015160808b015160a08c015160c08d01519451989950600098612e139897949593949293919201614ec0565b60408051601f198184030181529190526002600090815260146020527fa1930aa930426c54c34daad2b9ada7c5d0ef0c96078a3c5bb79f6fa6602c4a7a5491925090612e67906001600160a01b0316613f45565b600360005260146020527f63d87a887046e0430be80fdeb014107d7198c879cbf2cddf39a6df195c86cb3854612ea5906001600160a01b0316613f45565b600460005260146020527f52102136546d97ed3f65ec1070a32935d3048ea12f310d29c378dc9d6555c0d654612ee3906001600160a01b0316613f45565b84604051602001612ef79493929190614f52565b604051602081830303815290604052905080604051602001612f199190614ffb565b60408051601f198184030181529190526000805260146020527f4f26c3876aa9f4b92579780beea1161a61f87ebf1ec6ee865b299e447ecba99c549091508190612f6b906001600160a01b0316613f45565b600160005260146020527fb6c61a840592cc84133e4b25bd509abf4659307c57b160799b38490a5aa48f2c54612fa9906001600160a01b0316613f45565b6130848d6015805480602002602001604051908101604052809291908181526020016000905b8282101561307b578382906000526020600020018054612fee90614df4565b80601f016020809104026020016040519081016040528092919081815260200182805461301a90614df4565b80156130675780601f1061303c57610100808354040283529160200191613067565b820191906000526020600020905b81548152906001019060200180831161304a57829003601f168201915b505050505081526020019060010190612fcf565b50505050613f55565b6131568e6016805480602002602001604051908101604052809291908181526020016000905b8282101561307b5783829060005260206000200180546130c990614df4565b80601f01602080910402602001604051908101604052809291908181526020018280546130f590614df4565b80156131425780601f1061311757610100808354040283529160200191613142565b820191906000526020600020905b81548152906001019060200180831161312557829003601f168201915b5050505050815260200190600101906130aa565b60405160200161316a959493929190615088565b604051602081830303815290604052905060006131b96131898c613fa6565b8561319385613fde565b6040516020016131a593929190615224565b604051602081830303815290604052613fde565b9050806040516020016131cc919061542f565b60408051601f198184030181529190529b9a5050505050505050505050565b6008546001600160a01b031633146132455760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401611032565b6011805460ff19811660ff90911615179055565b6012805461326690614df4565b80601f016020809104026020016040519081016040528092919081815260200182805461329290614df4565b80156132df5780601f106132b4576101008083540402835291602001916132df565b820191906000526020600020905b8154815290600101906020018083116132c257829003601f168201915b505050505081565b6008546001600160a01b031633146133415760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401611032565b6001600160a01b0381166133bd5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f64647265737300000000000000000000000000000000000000000000000000006064820152608401611032565b610c818161398a565b6008546001600160a01b031633146134205760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401611032565b601055565b6008546001600160a01b0316331461347f5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401611032565b610c813382613747565b6008546001600160a01b031633146134e35760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401611032565b6134ed8282613747565b5050565b6000805482108015610a62575050600090815260046020526040902054600160e01b161590565b6001600160a01b0381166000908152600b602052604090205461358c5760405162461bcd60e51b815260206004820152602660248201527f5061796d656e7453706c69747465723a206163636f756e7420686173206e6f2060448201526573686172657360d01b6064820152608401611032565b6000613597600a5490565b6135a19047614e8c565b905060006135c98383611118866001600160a01b03166000908152600c602052604090205490565b90508060000361362f5760405162461bcd60e51b815260206004820152602b60248201527f5061796d656e7453706c69747465723a206163636f756e74206973206e6f742060448201526a191d59481c185e5b595b9d60aa1b6064820152608401611032565b6001600160a01b0383166000908152600c602052604081208054839290613657908490614e8c565b9250508190555080600a60008282546136709190614e8c565b909155506136809050838261417f565b604080516001600160a01b0385168152602081018390527fdf20fd1e76bc69d672e4814fafb2c449bba3a5369d8359adf9e05e6fde87b056910160405180910390a1505050565b6000816000548110156137155760008181526004602052604081205490600160e01b82169003613713575b806000036119925750600019016000818152600460205260409020546136f2565b505b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6134ed828260405180602001604052806000815250614298565b600061376c836136c7565b90508060008061378a86600090815260066020526040902080549091565b9150915084156137ca5761379f818433610cf3565b6137ca576137ad83336108e7565b6137ca57604051632ce44b5f60e11b815260040160405180910390fd5b80156137d557600082555b6001600160a01b038316600081815260056020526040902080546fffffffffffffffffffffffffffffffff0190554260a01b177c030000000000000000000000000000000000000000000000000000000017600087815260046020526040812091909155600160e11b8516900361387c5760018601600081815260046020526040812054900361387a57600054811461387a5760008181526004602052604090208590555b505b60405186906000906001600160a01b038616907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a45050600180548101905550505050565b6009546001600160a01b0384166000908152600b6020526040812054909183916138ee9086614e3e565b6138f8919061548a565b613902919061549e565b949350505050565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fa9059cbb00000000000000000000000000000000000000000000000000000000179052610f97908490614305565b600880546001600160a01b0383811673ffffffffffffffffffffffffffffffffffffffff19831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b600080613a1483604051602001613a0091906154b5565b6040516020818303038152906040526143ea565b90508051602082016000f091506001600160a01b038216613a61576040517f08d4abb600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b50919050565b604080516080810182526000808252602082018190529181018290526060810191909152600082815260046020526040902054610a6290604080516080810182526001600160a01b038316815260a083901c67ffffffffffffffff166020820152600160e01b831615159181019190915260e89190911c606082015290565b600082613af38584614416565b14949350505050565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a0290613b319033908990889088906004016154db565b6020604051808303816000875af1925050508015613b6c575060408051601f3d908101601f19168201909252613b699181019061550d565b60015b613bca573d808015613b9a576040519150601f19603f3d011682016040523d82523d6000602084013e613b9f565b606091505b508051600003613bc2576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050949350505050565b604080516080810182526000808252602082018190529181018290526060810191909152610a62613c17836136c7565b604080516080810182526001600160a01b038316815260a083901c67ffffffffffffffff166020820152600160e01b831615159181019190915260e89190911c606082015290565b600080613c9483613c6f87613fa6565b604051602001613c8092919061552a565b60405160208183030381529060405261448a565b9050835181613ca39190615559565b95945050505050565b60606000613d7c858581548110613cc557613cc5614e5d565b90600052602060002001600081548110613ce157613ce1614e5d565b906000526020600020018054613cf690614df4565b80601f0160208091040260200160405190810160405280929190818152602001828054613d2290614df4565b8015613d6f5780601f10613d4457610100808354040283529160200191613d6f565b820191906000526020600020905b815481529060010190602001808311613d5257829003601f168201915b50505050506000856144bb565b9050613d89605484614e8c565b92506000858581548110613d9f57613d9f614e5d565b90600052602060002001600181548110613dbb57613dbb614e5d565b906000526020600020018054613dd090614df4565b905011156139025780613ea5868681548110613dee57613dee614e5d565b90600052602060002001600181548110613e0a57613e0a614e5d565b906000526020600020018054613e1f90614df4565b80601f0160208091040260200160405190810160405280929190818152602001828054613e4b90614df4565b8015613e985780601f10613e6d57610100808354040283529160200191613e98565b820191906000526020600020905b815481529060010190602001808311613e7b57829003601f168201915b50505050506000866144bb565b604051602001613eb692919061552a565b60408051601f198184030181529190529050611307605484614e8c565b8051602080830151604080850151606086810151925190958695613efc9591949193920161556d565b60408051808303601f1901815290829052608085015160a086015160c0870151929450613f2e938593906020016156db565b60408051601f198184030181529190529392505050565b6060610a628260016000196144fa565b60606000613f75613f6585613fa6565b604051602001613c80919061584d565b905082835182613f859190615559565b81518110613f9557613f95614e5d565b602002602001015191505092915050565b604080516080019081905280825b600183039250600a81066030018353600a900480613fb45750819003601f19909101908152919050565b80516060906000819003614002575050604080516020810190915260008152919050565b60006003614011836002614e8c565b61401b919061548a565b614026906004614e3e565b90506000614035826020614e8c565b67ffffffffffffffff81111561404d5761404d614cb9565b6040519080825280601f01601f191660200182016040528015614077576020820181803683370190505b5090506000604051806060016040528060408152602001615a4e604091399050600181016020830160005b86811015614103576003818a01810151603f601282901c8116860151600c83901c8216870151600684901c831688015192909316870151600891821b60ff94851601821b92841692909201901b91160160e01b8352600490920191016140a2565b50600386066001811461411d576002811461414957614171565b7f3d3d000000000000000000000000000000000000000000000000000000000000600119830152614171565b7f3d000000000000000000000000000000000000000000000000000000000000006000198301525b505050918152949350505050565b804710156141cf5760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a20696e73756666696369656e742062616c616e63650000006044820152606401611032565b6000826001600160a01b03168260405160006040518083038185875af1925050503d806000811461421c576040519150601f19603f3d011682016040523d82523d6000602084013e614221565b606091505b5050905080610f975760405162461bcd60e51b815260206004820152603a60248201527f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260448201527f6563697069656e74206d617920686176652072657665727465640000000000006064820152608401611032565b6142a283836145c8565b6001600160a01b0383163b15610f97576000548281035b6142cc6000868380600101945086613afc565b6142e9576040516368d2bf6b60e11b815260040160405180910390fd5b8181106142b95781600054146142fe57600080fd5b5050505050565b600061435a826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b03166146f99092919063ffffffff16565b805190915015610f9757808060200190518101906143789190615892565b610f975760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e60448201527f6f742073756363656564000000000000000000000000000000000000000000006064820152608401611032565b60608151826040516020016144009291906158af565b6040516020818303038152906040529050919050565b600081815b845181101561448257600085828151811061443857614438614e5d565b6020026020010151905080831161445e576000838152602082905260409020925061446f565b600081815260208490526040902092505b508061447a8161592e565b91505061441b565b509392505050565b60008160405160200161449d9190615947565b60408051601f19818403018152919052805160209091012092915050565b60606144c683613fa6565b6144cf83613fa6565b856040516020016144e293929190615963565b60405160208183030381529060405290509392505050565b6060833b600081900361451d575050604080516020810190915260008152611992565b8084111561453b575050604080516020810190915260008152611992565b83831015614586576040517f2c4a89fa000000000000000000000000000000000000000000000000000000008152600481018290526024810185905260448101849052606401611032565b838303848203600082821061459b578261459d565b815b60408051603f8301601f19168101909152818152955090508087602087018a3c505050509392505050565b6000805490829003614606576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6001600160a01b03831660008181526005602090815260408083208054680100000000000000018802019055848352600490915281206001851460e11b4260a01b178317905582840190839083907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8180a4600183015b8181146146b557808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a460010161467d565b50816000036146f0576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60005550505050565b60606139028484600085856001600160a01b0385163b61475b5760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006044820152606401611032565b600080866001600160a01b031685876040516147779190615947565b60006040518083038185875af1925050503d80600081146147b4576040519150601f19603f3d011682016040523d82523d6000602084013e6147b9565b606091505b50915091506147c98282866147d4565b979650505050505050565b606083156147e3575081611992565b8251156147f35782518084602001fd5b8160405162461bcd60e51b815260040161103291906148bf565b6040518060e001604052806007905b606081526020019060019003908161481c5790505090565b6001600160e01b031981168114610c8157600080fd5b60006020828403121561485c57600080fd5b813561199281614834565b60005b8381101561488257818101518382015260200161486a565b83811115611a8b5750506000910152565b600081518084526148ab816020860160208601614867565b601f01601f19169290920160200192915050565b6020815260006119926020830184614893565b6000602082840312156148e457600080fd5b5035919050565b6001600160a01b0381168114610c8157600080fd5b6000806040838503121561491357600080fd5b823561491e816148eb565b946020939093013593505050565b60006020828403121561493e57600080fd5b8135611992816148eb565b60008060006060848603121561495e57600080fd5b8335614969816148eb565b92506020840135614979816148eb565b929592945050506040919091013590565b60008083601f84011261499c57600080fd5b50813567ffffffffffffffff8111156149b457600080fd5b6020830191508360208260051b85010111156149cf57600080fd5b9250929050565b6000806000604084860312156149eb57600080fd5b83359250602084013567ffffffffffffffff811115614a0957600080fd5b614a158682870161498a565b9497909650939450505050565b60008060408385031215614a3557600080fd5b8235614a40816148eb565b91506020830135614a50816148eb565b809150509250929050565b60008060208385031215614a6e57600080fd5b823567ffffffffffffffff811115614a8557600080fd5b614a918582860161498a565b90969095509350505050565b6020808252825182820181905260009190848201906040850190845b8181101561161457614b078385516001600160a01b03815116825267ffffffffffffffff602082015116602083015260408101511515604083015262ffffff60608201511660608301525050565b9284019260809290920191600101614ab9565b600080600060408486031215614b2f57600080fd5b83359250602084013567ffffffffffffffff80821115614b4e57600080fd5b818601915086601f830112614b6257600080fd5b813581811115614b7157600080fd5b876020828501011115614b8357600080fd5b6020830194508093505050509250925092565b6020808252825182820181905260009190848201906040850190845b8181101561161457835183529284019291840191600101614bb2565b600080600080600060608688031215614be657600080fd5b85359450602086013567ffffffffffffffff80821115614c0557600080fd5b614c1189838a0161498a565b90965094506040880135915080821115614c2a57600080fd5b50614c378882890161498a565b969995985093965092949392505050565b600080600060608486031215614c5d57600080fd5b8335614c68816148eb565b95602085013595506040909401359392505050565b8015158114610c8157600080fd5b60008060408385031215614c9e57600080fd5b8235614ca9816148eb565b91506020830135614a5081614c7d565b634e487b7160e01b600052604160045260246000fd5b60008060008060808587031215614ce557600080fd5b8435614cf0816148eb565b93506020850135614d00816148eb565b925060408501359150606085013567ffffffffffffffff80821115614d2457600080fd5b818701915087601f830112614d3857600080fd5b813581811115614d4a57614d4a614cb9565b604051601f8201601f19908116603f01168101908382118183101715614d7257614d72614cb9565b816040528281528a6020848701011115614d8b57600080fd5b82602086016020830137600060208483010152809550505050505092959194509250565b81516001600160a01b0316815260208083015167ffffffffffffffff169082015260408083015115159082015260608083015162ffffff169082015260808101610a62565b600181811c90821680614e0857607f821691505b602082108103613a6157634e487b7160e01b600052602260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b6000816000190483118215151615614e5857614e58614e28565b500290565b634e487b7160e01b600052603260045260246000fd5b600060208284031215614e8557600080fd5b5051919050565b60008219821115614e9f57614e9f614e28565b500190565b60008151614eb6818560208601614867565b9290920192915050565b600088516020614ed38285838e01614867565b895191840191614ee68184848e01614867565b8951920191614ef88184848d01614867565b8851920191614f0a8184848c01614867565b8751920191614f1c8184848b01614867565b8651920191614f2e8184848a01614867565b8551920191614f408184848901614867565b919091019a9950505050505050505050565b60008551614f64818460208a01614867565b855190830190614f78818360208a01614867565b8551910190614f8b818360208901614867565b8082019150507f3c74657874207472616e73666f726d3d226d617472697828312030203020312081527f3333302034353029223e0000000000000000000000000000000000000000000060208201528351614fed81602a840160208801614867565b01602a019695505050505050565b6000825161500d818460208701614867565b7f3c2f746578743e3c7265637420783d22313839352e362220793d223938322e369201918252507f2220636c6173733d22737437222077696474683d22322e32222068656967687460208201527f3d2230222f3e00000000000000000000000000000000000000000000000000006040820152604601919050565b6000865161509a818460208b01614867565b7f3c7374796c653e000000000000000000000000000000000000000000000000009083019081527f40666f6e742d666163657b666f6e742d66616d696c793a416c61676172643b6660078201527f6f6e742d7374796c653a6e6f726d616c3b7372633a75726c280000000000000060278201528651615120816040840160208b01614867565b8651910190615136816040840160208a01614867565b7f2920666f726d61742827747275657479706527297d0000000000000000000000604092909101918201527f2e7374317b66696c6c3a000000000000000000000000000000000000000000006055820152845161519a81605f840160208901614867565b607d60f81b9101605f8101919091527f2e7374307b66696c6c3a0000000000000000000000000000000000000000000060608201526152186151ef6151e2606a840187614ea4565b607d60f81b815260010190565b7f3c2f7374796c653e3c2f7376673e0000000000000000000000000000000000008152600e0190565b98975050505050505050565b7f7b226e616d65223a2022446f6f6d205363726f6c6c202300000000000000000081526000845161525c816017850160208901614867565b7f222c20226465736372697074696f6e223a2022446f6f6d205363726f6c6c73206017918401918201527f61726520626c6f636b636861696e2070726f706865636965732c20646976696e60378201527f656420627920616e206576696c205475626279204361742c206272657765642060578201527f7769746820706f77646572656420776f6c667362616e6520616e64207468652060778201527f626f6479206f6620612057617373696520286469636564292e2046756c6c792060978201527f6f6e2d636861696e2c20696d6d757461626c652c20766973696f6e73206f662060b78201527f796f75722064656d6973652e20446561746820697320746865207574696c697460d78201527f792c206265776172652121222c202261747472696275746573223a000000000060f78201526154256153fc6153f66153a7610112850189614ea4565b7f2c2022696d616765223a2022646174613a696d6167652f7376672b786d6c3b6281527f61736536342c0000000000000000000000000000000000000000000000000000602082015260260190565b86614ea4565b7f227d000000000000000000000000000000000000000000000000000000000000815260020190565b9695505050505050565b7f646174613a6170706c69636174696f6e2f6a736f6e3b6261736536342c00000081526000825161546781601d850160208701614867565b91909101601d0192915050565b634e487b7160e01b600052601260045260246000fd5b60008261549957615499615474565b500490565b6000828210156154b0576154b0614e28565b500390565b60008152600082516154ce816001850160208701614867565b9190910160010192915050565b60006001600160a01b038087168352808616602084015250836040830152608060608301526154256080830184614893565b60006020828403121561551f57600080fd5b815161199281614834565b6000835161553c818460208801614867565b835190830190615550818360208801614867565b01949350505050565b60008261556857615568615474565b500690565b7f5b7b2274726169745f74797065223a2022536561736f6e222c202276616c756581527f223a2022000000000000000000000000000000000000000000000000000000006020820152600085516155cb816024850160208a01614867565b808301905062089f4b60ea1b8060248301527f7b2274726169745f74797065223a202254696d65206f6620446179222c20227660278301526730b63ab2911d101160c11b6047830152865161562781604f850160208b01614867565b604f9201918201527f7b2274726169745f74797065223a20225768617420596f75276c6c207765617260528201527f222c202276616c7565223a20220000000000000000000000000000000000000060728201526147c96156926153f66156a182607f86018a614ea4565b62089f4b60ea1b815260030190565b7f7b2274726169745f74797065223a20224368617365205363656e65222c20227681526730b63ab2911d101160c11b602082015260280190565b600085516156ed818460208a01614867565b80830190507f7b2274726169745f74797065223a20224361757365206f66204465617468222c81527f202276616c7565223a20220000000000000000000000000000000000000000006020820152855161574e81602b840160208a01614867565b80820191505062089f4b60ea1b80602b8301527f7b2274726169745f74797065223a202242757269616c222c202276616c756522602e8301527f3a20220000000000000000000000000000000000000000000000000000000000604e83015285516157c0816051850160208a01614867565b60519201918201527f7b2274726169745f74797065223a202257686f2057696c6c204d69737320596f60548201527f75222c202276616c7565223a202200000000000000000000000000000000000060748201526147c96158246082830186614ea4565b7f227d5d0000000000000000000000000000000000000000000000000000000000815260030190565b7f7363726f6c6c436f6c6f7200000000000000000000000000000000000000000081526000825161588581600b850160208701614867565b91909101600b0192915050565b6000602082840312156158a457600080fd5b815161199281614c7d565b7f630000000000000000000000000000000000000000000000000000000000000081526001600160e01b03198360e01b1660018201527f80600e6000396000f3000000000000000000000000000000000000000000000060058201526000825161592081600e850160208701614867565b91909101600e019392505050565b60006001820161594057615940614e28565b5060010190565b60008251615959818460208701614867565b9190910192915050565b7f3c747370616e20783d220000000000000000000000000000000000000000000081526000845161599b81600a850160208901614867565b7f2220793d22000000000000000000000000000000000000000000000000000000600a9184019182015284516159d881600f840160208901614867565b7f2220636c6173733d226c696e65223e0000000000000000000000000000000000600f92909101918201528351615a1681601e840160208801614867565b7f3c2f747370616e3e000000000000000000000000000000000000000000000000601e92909101918201526026019594505050505056fe4142434445464748494a4b4c4d4e4f505152535455565758595a6162636465666768696a6b6c6d6e6f707172737475767778797a303132333435363738392b2fa2646970667358221220437680e9e28aba6e485329d239215cb225023cbf0bb1c53cf458ff38f67b7e6264736f6c634300080f0033

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

000000000000000000000000f7f9f2e912f496aefa29085ad30caaab54bc0e8f000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000001200000000000000000000000000000000000000000000000000000000000000005000000000000000000000000fa09ce510077ea4f7cd34557e32efec180b94f8f0000000000000000000000008df59013dafff93855d2ce9bcbe507bf4a681e6a000000000000000000000000ec7a606b369d32ae74de8dfa1ec0b65c2437368f000000000000000000000000729f6d2383f5178ae1a76b45b8b69c7983b53aa0000000000000000000000000d334fb41248291363f39b0d7349d9615788cd41a000000000000000000000000000000000000000000000000000000000000000500000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000800000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000042

-----Decoded View---------------
Arg [0] : _wassiePartsAddress (address): 0xF7f9f2E912f496aEfa29085Ad30CaaAB54bC0E8F
Arg [1] : payees (address[]): 0xFA09ce510077ea4f7CD34557E32efEc180B94f8f,0x8Df59013DaffF93855D2Ce9BcbE507bF4a681e6a,0xEc7A606b369D32Ae74dE8Dfa1eC0b65c2437368F,0x729F6d2383F5178Ae1a76B45b8B69c7983B53aa0,0xD334fB41248291363f39B0d7349D9615788cd41a
Arg [2] : shares (uint256[]): 2,8,8,16,66

-----Encoded View---------------
15 Constructor Arguments found :
Arg [0] : 000000000000000000000000f7f9f2e912f496aefa29085ad30caaab54bc0e8f
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000060
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000120
Arg [3] : 0000000000000000000000000000000000000000000000000000000000000005
Arg [4] : 000000000000000000000000fa09ce510077ea4f7cd34557e32efec180b94f8f
Arg [5] : 0000000000000000000000008df59013dafff93855d2ce9bcbe507bf4a681e6a
Arg [6] : 000000000000000000000000ec7a606b369d32ae74de8dfa1ec0b65c2437368f
Arg [7] : 000000000000000000000000729f6d2383f5178ae1a76b45b8b69c7983b53aa0
Arg [8] : 000000000000000000000000d334fb41248291363f39b0d7349d9615788cd41a
Arg [9] : 0000000000000000000000000000000000000000000000000000000000000005
Arg [10] : 0000000000000000000000000000000000000000000000000000000000000002
Arg [11] : 0000000000000000000000000000000000000000000000000000000000000008
Arg [12] : 0000000000000000000000000000000000000000000000000000000000000008
Arg [13] : 0000000000000000000000000000000000000000000000000000000000000010
Arg [14] : 0000000000000000000000000000000000000000000000000000000000000042


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

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