Address Details
contract
token

0x96a47b237a4d684eC2b8BA6620061187C85875E0

Token
KnoxWorld (KnoxWorld)
Creator
0x10ab90–50e8c8 at 0x8724a0–f0cfb9
Balance
596 CELO ( )
Locked CELO Balance
0.00 CELO
Voting CELO Balance
0.00 CELO
Pending Unlocked Gold
0.00 CELO
Tokens
Fetching tokens...
Transactions
237 Transactions
Transfers
410 Transfers
Gas Used
67,190,481
Last Balance Update
25063168
This contract has been verified via Sourcify. View contract in Sourcify repository
Contract name:
KnoxWorld




Optimization enabled
true
Compiler version
v0.8.7+commit.e28d00a7




Optimization runs
200
EVM Version
london




Verified at
2022-06-23T15:30:58.803585Z

contracts/KnoxWorld.sol

// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/Strings.sol";
import "@openzeppelin/contracts/utils/Base64.sol";

interface iKnoxer {
    function balanceOf(address account) external view returns (uint256);
}

contract KnoxWorld is ERC721Enumerable, Ownable {
    using Strings for uint256;

    iKnoxer public Knoxer;
    address public KNXAddress = 0x1F25F8Df9E33033668d6F04DAE0bDE4854E9F1A5; // mainnet Knoxer contract address

    string[] private NaturalHabitats = [
        "Amazon Rainforest",
        "Congo Rainforest",
        "Atlantic Forest",
        "Valdivian Temperate Rainforest",
        "Tongass National Forest",
        "Rainforest of Xishuangbanna",
        "Sunderbans",
        "Daintree Rainforest",
        "Kinabalu Park",
        "Pacific Ocean",
        "Atlantic Ocean ",
        "Indian Ocean ",
        "Antarctic Ocean",
        "Arctic Ocean",
        "Coral Sea",
        "Arabian Sea",
        "South China Sea",
        "Caribbean Sea",
        "Mediterranean Sea",
        "Lake Erie",
        "Great Slave Lake",
        "Lake Malawi",
        "Great Bear Lake",
        "Lake Baikal",
        "Lake Tanganyika",
        "Lake Michigan",
        "Lake Huron",
        "Lake Victoria",
        "Lake Superior",
        "Brahmaputra-Yarlung Tsangpo River",
        "Niger River",
        "Mackenzie River",
        "Mekong River",
        "Lena River",
        "Amur River",
        "Congo River",
        "Rio de la Plata",
        "Ob River",
        "Yellow River",
        "Yenisei River",
        "Mississippi River",
        "Yangtze River",
        "Amazon River",
        "Nile River",
        "Mount Everest",
        "K2 Mountain",
        "Kangchenjunga Mountain",
        "Lhotse Mountain",
        "Makalu Mountain",
        "Cho Oyu Mountain"
    ];

    string[] private EndangeredSpecies = [
        "African forest elephant",
        "Amur Leopard",
        "Black Rhino",
        "Bornean Orangutan",
        "Cross River Gorilla",
        "Eastern Lowland Gorilla",
        "Hawksbill Turtle",
        "Javan Rhino",
        "Orangutan",
        "Saola",
        "Sumatran Elephant",
        "Sumatran Orangutan",
        "Sumatran Rhino",
        "Sunda Tiger",
        "Vaquita",
        "Western Lowland Gorilla",
        "Yangtze Finless Porpoise",
        "African savanna elephant",
        "African Wild Dog",
        "Asian Elephant",
        "Black-footed Ferret",
        "Blue Whale",
        "Bluefin Tuna",
        "Bonobo",
        "Bornean Elephant",
        "Chimpanzee",
        "Fin Whale",
        "Galapagos Penguin",
        "Ganges River Dolphin",
        "Green Turtle",
        "Hector's Dolphin",
        "Humphead Wrasse",
        "Indian Elephant",
        "Indus River Dolphin",
        "Irrawaddy Dolphin",
        "Mountain Gorilla",
        "North Atlantic Right Whale",
        "Red Panda",
        "Sea Lions",
        "Sea Turtle",
        "Sei Whale",
        "Sri Lankan Elephant",
        "Tiger",
        "Whale",
        "Whale Shark",
        "Bigeye Tuna",
        "Black Spider Monkey",
        "Dugong",
        "Giant Panda",
        "Giant Tortoise"
    ];

    string[] private ClimateChange = [
        "Global Warming",
        "Frost-Free Season",
        "Weather Pattern Change",
        "Droughts",
        "Heat Waves",
        "Hurricanes",
        "Sea Level Rise",
        "Melting Arctic Ice",
        "Ocean Acidity",
        "Wildfire",
        "Insect Outbreak",
        "Tree Disease",
        "Water Scarcity",
        "Flood",
        "Reduced Crop Yield",
        "Greenhouse Effect",
        "Infrastructure Corrosion",
        "Deforestation",
        "Melting Permafrost",
        "Glacial Retreat",
        "Sea Ice Loss",
        "Storm",
        "Coral Bleaching ",
        "Mass Extinction",
        "Economic Loss",
        "Spread of Disease",
        "Human Migration",
        "Human Conflict",
        "Greenland Ice Sheet Melting",
        "Habitat Destruction",
        "Food Security",
        "Socioeconomic Inequality",
        "Life Cycle Change",
        "Expensive Insurance",
        "Energy Shortage",
        "Air Quality Deterioration",
        "Ozone Depletion",
        "Persistent Organic Pollutant",
        "Invasive Species",
        "Land Degradation",
        "Agriculture Crisis",
        "Human Health Crisis",
        "Water Crisis",
        "Unemloyment",
        "Increase in CO2",
        "Snowpack Decline",
        "Heatstroke",
        "Chemical Hazard",
        "Nuclear Hazard",
        "Ecological Stress"
    ];

    string[] private ClimateActionInitiatives = [
        "Convention on Biological Diversity",
        "Climate Action for Jobs",
        "Cool Coalition",
        "The Energy Efficiency Alliance",
        "Celo Climate Collective",
        "Powering Past Coal Alliance",
        "Action towards Climate-Friendly Transport",
        "Decarbonizing Shipping",
        "Cargo Charter",
        "Leadership Group for Industry Transition",
        "Business Ambition for 1.5 Celsius",
        "China Australia Migratory Bird Agreement",
        "Net-Zero Asset Owner Alliance",
        "A Call for Action",
        "Coalition for Climate Resilient Investment",
        "Coalition for Disaster-Resilient Infrastructure",
        "InsuResilience Group Partnership Vision 2025",
        "Convention on Cluster Munitions",
        "Risk-Informed Early Action Partnership",
        "Campaign for Nature",
        "Ocean Risk and Resilience Action Alliance",
        "Leadership for Urban Climate Investment",
        "European Union Emissions Trading Scheme",
        "European Climate Change Programme",
        "The International Climate Initiative",
        "European Climate Initiative",
        "Western Climate Initiative",
        "North America 2050",
        "Australia Clean Energy Plan",
        "Canada's Initiative",
        "Ireland Climate Action Plan",
        "New Zealand Emissions Trading Scheme",
        "Reduction from Business as Usual",
        "UK Climate Change Programme",
        "Presidential Climate Action Plan",
        "Global Warming Solutions Act",
        "Paris Agreement",
        "Comprehensive Nuclear-Test-Ban Treaty",
        "World Heritage Convention",
        "Convention on Wetlands",
        "Raptors MoU",
        "Antarctic Treaty",
        "Amazon Cooperation Treaty",
        "Kyoto Protocol",
        "U.S.-Canada Air Quality Agreement",
        "Aarhus Convention",
        "Espoo Convention",
        "Minamata Convention on Mercury",
        "Migratory Bird Treaty Act of 1918",
        "Convention on Nuclear Safety"
    ];

    string[] private Technology = [
        "Solar Energy",
        "Geothermal Energy",
        "Wind Energy",
        "Biomass",
        "Hydropower",
        "Tidal Energy",
        "Nuclear Energy",
        "Earth-Orbiting Satellites",
        "Radiocarbon Dating",
        "Thermal Energy",
        "Molten Salt Technology",
        "Water Desalination",
        "Photovoltaics",
        "Concentrated Solar Power",
        "Hydrogen Production Technology",
        "Energy Storage Technology",
        "Electric Vehicle",
        "Nanotechnology",
        "Biotechnology",
        "Recycling",
        "Carbon Sequestration",
        "Wind Farms",
        "Lab-Grown Meat",
        "Offshore Wind Power",
        "Battery Storage Power Station",
        "Pumped-Storage Hydroelectricity",
        "Grid Energy Storage",
        "Small-Scale Wind Power ",
        "Thermal Conversion",
        "Chemical Conversion",
        "Biological Conversion",
        "Synthetic Biology",
        "Genetic Engineering",
        "Rain Power",
        "Tidal Stream Generator",
        "Tidal Barrage",
        "Dynamic Tidal Power",
        "Tidal Lagoon",
        "Bioremediation",
        "Ocean Thermal Energy Conversion",
        "Reverse Osmosis",
        "Membrane Bioreactor",
        "Ultrafiltration",
        "Geothermal Heat Pump",
        "Fuel Cell Technology",
        "Regenerative Finance",
        "Green Computing",
        "Artificial Intelligence",
        "Big Data",
        "Internet of Things"
    ];

    string[] private EnvironmentalOrganizations = [
        "350.org",
        "African Conservation Foundation",
        "African Wildlife Foundation",
        "A Rocha",
        "Anti-nuclear movement",
        "Arab Forum for Environment and Development",
        "Biofuelwatch",
        "American Forests",
        "Bioversity International",
        "BirdLife International",
        "CEE Bankwatch Network",
        "Center for Development and Strategy",
        "Citizens' Climate Lobby",
        "Climate Action Network",
        "Confederation of European Environmental Engineering Societies",
        "Conservation International",
        "Dancing Star Foundation",
        "Deep Green Resistance",
        "Earth Charter Initiative",
        "EARTHDAY.ORG",
        "Earthwatch",
        "Environmental Defense Fund",
        "Extinction Rebellion",
        "Fauna and Flora International",
        "Foundation for Environmental Education",
        "Forest Stewardship Council",
        "Forests and the European Union Resource Network",
        "Frankfurt Zoological Society",
        "Friends of Nature",
        "Friends of the Earth",
        "Global Footprint Network",
        "Global Landscapes Forum",
        "Global Witness",
        "GoodPlanet Foundation",
        "Great Transition Initiative",
        "Green Actors of West Africa",
        "Green Cross International",
        "Greenpeace",
        "IDEAS For Us",
        "Interamerican Association for Environmental Defense",
        "International Analog Forestry Network",
        "International Rivers",
        "International Tree Foundation",
        "International Union for Conservation of Nature",
        "Let's Do It! World",
        "Marine Stewardship Council",
        "World Wildlife Fund",
        "Mountain Wilderness",
        "NatureServe",
        "Oceana"
    ];

    struct KnoxWorldSet {
        uint256 NaturalHabitats;
        uint256 EndangeredSpecies;
        uint256 ClimateChange;
        uint256 ClimateActionInitiatives;
        uint256 Technology;
        uint256 EnvironmentalOrganizations;
    }

    mapping(uint256 => KnoxWorldSet) public assembledKnoxWorld;
    mapping(address => uint256) public maxMintPerAddress;

    bool public whitelistMintIsActive = false;
    bool public mintIsActive = false;
    bool public assembleIsActive = false;
    uint256 public constant MAX_SUPPLY = 3000;
    uint256 public supplyMinted = 0;
    uint256 public assembleId = 3000;
    uint256 public price = 7 ether;
    uint256 public assembleFee = 0.5 ether;
    uint256 public disassembleFee = 0.5 ether;
    uint256 public maxQuantityPerTx = 50;
    uint256 public maxLimitPerWallet = 50;

    constructor() ERC721("KnoxWorld", "KnoxWorld") {
        Knoxer = iKnoxer(KNXAddress);
    }

    function random(string memory input) internal pure returns (uint256) {
        return uint256(keccak256(abi.encodePacked(input)));
    }

    function getNaturalHabitats(uint256 tokenId)
        private
        view
        returns (string memory)
    {
        return pickSet(tokenId, "Natural Habitats", NaturalHabitats);
    }

    function getEndangeredSpecies(uint256 tokenId)
        private
        view
        returns (string memory)
    {
        return pickSet(tokenId, "Endangered Species", EndangeredSpecies);
    }

    function getClimateChange(uint256 tokenId)
        private
        view
        returns (string memory)
    {
        return pickSet(tokenId, "Climate Change", ClimateChange);
    }

    function getClimateActionInitiatives(uint256 tokenId)
        private
        view
        returns (string memory)
    {
        return
            pickSet(
                tokenId,
                "Climate Action Initiatives",
                ClimateActionInitiatives
            );
    }

    function getTechnology(uint256 tokenId)
        private
        view
        returns (string memory)
    {
        return pickSet(tokenId, "Technology", Technology);
    }

    function getEnvironmentalOrganizations(uint256 tokenId)
        private
        view
        returns (string memory)
    {
        return
            pickSet(
                tokenId,
                "Environmental Organizations",
                EnvironmentalOrganizations
            );
    }

    function pickSet(
        uint256 tokenId,
        string memory parts,
        string[] memory array
    ) private pure returns (string memory) {
        uint256 rand = random(
            string(abi.encodePacked(parts, tokenId.toString()))
        );
        string memory output = array[rand % array.length];
        return output;
    }

    function getSet(uint256 tokenId) private view returns (string memory) {
        string[9] memory parts;
        string memory output;

        if (tokenId <= 3000) {
            parts[
                0
            ] = '<svg xmlns="http://www.w3.org/2000/svg" preserveAspectRatio="xMinYMin meet" viewBox="0 0 1000 1000"><style>.base { fill: white; font-family: serif; font-size: 35px; text-anchor: middle; }</style><rect width="100%" height="100%" fill="#385802" /><text class="base"><tspan x="50%" y="50%">';
            parts[1] = getNameByTokenId(tokenId);
            parts[2] = "</tspan></text></svg>";

            output = string(abi.encodePacked(parts[0], parts[1], parts[2]));
        } else {
            parts[
                0
            ] = '<svg xmlns="http://www.w3.org/2000/svg" preserveAspectRatio="xMinYMin meet" viewBox="0 0 1000 1000"><style>.base { fill: white; font-family: serif; font-size: 35px; text-anchor: left; }</style><rect width="100%" height="100%" fill="#385802" /><text class="base"><tspan x="5%" y="350" >';
            parts[1] = getNaturalHabitats(
                assembledKnoxWorld[tokenId].NaturalHabitats
            );
            parts[2] = '</tspan><tspan x="5%" dy="2em">';
            parts[3] = getEndangeredSpecies(
                assembledKnoxWorld[tokenId].EndangeredSpecies
            );
            parts[4] = getClimateChange(
                assembledKnoxWorld[tokenId].ClimateChange
            );
            parts[5] = getClimateActionInitiatives(
                assembledKnoxWorld[tokenId].ClimateActionInitiatives
            );
            parts[6] = getTechnology(assembledKnoxWorld[tokenId].Technology);
            parts[7] = getEnvironmentalOrganizations(
                assembledKnoxWorld[tokenId].EnvironmentalOrganizations
            );
            parts[8] = "</tspan></text></svg>";

            output = string(
                abi.encodePacked(
                    parts[0],
                    parts[1],
                    parts[2],
                    parts[3],
                    parts[2],
                    parts[4],
                    parts[2]
                )
            );
            output = string(
                abi.encodePacked(
                    output,
                    parts[5],
                    parts[2],
                    parts[6],
                    parts[2],
                    parts[7],
                    parts[8]
                )
            );
        }

        return output;
    }

    function getTraits(uint256 tokenId) private pure returns (string memory) {
        string[3] memory parts;

        parts[0] = ', "attributes": [{"trait_type": "Type","value": "';
        if (tokenId <= 3000) {
            if (tokenId % 6 == 1) {
                parts[1] = "Natural Habitats";
            } else if (tokenId % 6 == 2) {
                parts[1] = "Endangered Species";
            } else if (tokenId % 6 == 3) {
                parts[1] = "Climate Change";
            } else if (tokenId % 6 == 4) {
                parts[1] = "Climate Action Initiatives";
            } else if (tokenId % 6 == 5) {
                parts[1] = "Technology";
            } else {
                parts[1] = "Environmental Organizations";
            }
        } else {
            parts[1] = "Assembled";
        }

        parts[2] = '"}], ';

        string memory output = string(
            abi.encodePacked(parts[0], parts[1], parts[2])
        );
        return output;
    }

    function getNameByTokenId(uint256 tokenId)
        public
        view
        returns (string memory)
    {
        require(tokenId <= 3000, "invalid token id");
        require(_exists(tokenId), "token not exist");
        if (tokenId % 6 == 1) {
            return getNaturalHabitats(tokenId);
        } else if (tokenId % 6 == 2) {
            return getEndangeredSpecies(tokenId);
        } else if (tokenId % 6 == 3) {
            return getClimateChange(tokenId);
        } else if (tokenId % 6 == 4) {
            return getClimateActionInitiatives(tokenId);
        } else if (tokenId % 6 == 5) {
            return getTechnology(tokenId);
        } else {
            return getEnvironmentalOrganizations(tokenId);
        }
    }

    function tokenURI(uint256 tokenId)
        public
        view
        override
        returns (string memory)
    {
        require(
            _exists(tokenId),
            "ERC721Metadata: URI query for nonexistent token"
        );
        string memory json;
        if (tokenId <= 3000) {
            json = Base64.encode(
                bytes(
                    string(
                        abi.encodePacked(
                            '{"name": "',
                            getNameByTokenId(tokenId),
                            " #",
                            tokenId.toString(),
                            '", "description": "KnoxWorld is a collection consisting of 3,000 NFTs full of words that are related to world conservation and ReFi."',
                            getTraits(tokenId),
                            '"image": "data:image/svg+xml;base64,',
                            Base64.encode(bytes(getSet(tokenId))),
                            '"}'
                        )
                    )
                )
            );
        } else {
            json = Base64.encode(
                bytes(
                    string(
                        abi.encodePacked(
                            '{"name": "KnoxWorld #',
                            tokenId.toString(),
                            '", "description": "KnoxWorld is a collection consisting of 3,000 NFTs full of words that are related to world conservation and ReFi."',
                            getTraits(tokenId),
                            '"image": "data:image/svg+xml;base64,',
                            Base64.encode(bytes(getSet(tokenId))),
                            '"}'
                        )
                    )
                )
            );
        }
        json = string(abi.encodePacked("data:application/json;base64,", json));
        return json;
    }

    function walletOfOwner(address _owner)
        external
        view
        returns (uint256[] memory)
    {
        uint256 ownerTokenCount = balanceOf(_owner);
        uint256[] memory tokenIds = new uint256[](ownerTokenCount);

        for (uint256 i; i < ownerTokenCount; i++) {
            tokenIds[i] = tokenOfOwnerByIndex(_owner, i);
        }

        return tokenIds;
    }

    function assembleSet(uint256[6] memory tokenIds) external payable {
        require(assembleIsActive, "assemble not activated");
        require(tokenIds[0] % 6 == 1, "first Natural Habitats");
        require(tokenIds[1] % 6 == 2, "second Endangered Species");
        require(tokenIds[2] % 6 == 3, "third Climate Change");
        require(tokenIds[3] % 6 == 4, "fourth Climate Action Initiatives");
        require(tokenIds[4] % 6 == 5, "fifth Technology");
        require(tokenIds[5] % 6 == 0, "sixth Environmental Organizations");
        require(msg.value == assembleFee, "insufficient funds");

        for (uint256 i; i < 6; i++) {
            transferFrom(msg.sender, address(this), tokenIds[i]);
        }

        assembleId += 1;
        assembledKnoxWorld[assembleId].NaturalHabitats = tokenIds[0];
        assembledKnoxWorld[assembleId].EndangeredSpecies = tokenIds[1];
        assembledKnoxWorld[assembleId].ClimateChange = tokenIds[2];
        assembledKnoxWorld[assembleId].ClimateActionInitiatives = tokenIds[3];
        assembledKnoxWorld[assembleId].Technology = tokenIds[4];
        assembledKnoxWorld[assembleId].EnvironmentalOrganizations = tokenIds[5];

        _safeMint(msg.sender, assembleId);
    }

    function disassembleSet(uint256 tokenId) external payable {
        require(ownerOf(tokenId) == msg.sender, "not owner");
        require(msg.value == disassembleFee, "insufficient funds");
        _burn(tokenId);
        _transfer(
            address(this),
            msg.sender,
            assembledKnoxWorld[tokenId].NaturalHabitats
        );
        _transfer(
            address(this),
            msg.sender,
            assembledKnoxWorld[tokenId].EndangeredSpecies
        );
        _transfer(
            address(this),
            msg.sender,
            assembledKnoxWorld[tokenId].ClimateChange
        );
        _transfer(
            address(this),
            msg.sender,
            assembledKnoxWorld[tokenId].ClimateActionInitiatives
        );
        _transfer(
            address(this),
            msg.sender,
            assembledKnoxWorld[tokenId].Technology
        );
        _transfer(
            address(this),
            msg.sender,
            assembledKnoxWorld[tokenId].EnvironmentalOrganizations
        );
    }

    function whitelistMint(uint256 quantity) external payable {
        require(whitelistMintIsActive, "mint not activated");
        require(Knoxer.balanceOf(msg.sender) > 0, "only for Knoxer holder");
        require(
            quantity > 0 && quantity <= maxQuantityPerTx,
            "Invalid mint amount"
        );
        require(
            maxMintPerAddress[msg.sender] + quantity <= maxLimitPerWallet,
            "max 50 per wallet"
        );
        require(msg.value == price * quantity, "Insufficient funds");
        require(supplyMinted + quantity <= MAX_SUPPLY, "supply limit reached");
        maxMintPerAddress[msg.sender] += quantity;
        for (uint256 i; i < quantity; i++) {
            supplyMinted += 1;
            _safeMint(msg.sender, supplyMinted);
        }
    }

    function mint(uint256 quantity) external payable {
        require(mintIsActive, "mint not activated");
        require(
            quantity > 0 && quantity <= maxQuantityPerTx,
            "Invalid mint amount"
        );
        require(msg.value == price * quantity, "Insufficient funds");
        require(supplyMinted + quantity <= MAX_SUPPLY, "supply limit reached");
        for (uint256 i; i < quantity; i++) {
            supplyMinted += 1;
            _safeMint(msg.sender, supplyMinted);
        }
    }

    function flipMint() external onlyOwner {
        mintIsActive = !mintIsActive;
    }

    function flipWhitelistMint() external onlyOwner {
        whitelistMintIsActive = !whitelistMintIsActive;
    }

    function flipAssemble() external onlyOwner {
        assembleIsActive = !assembleIsActive;
    }

    function updatePrice(uint256 newPrice) external onlyOwner {
        price = newPrice;
    }

    function updateAssembleFee(uint256 newFee) external onlyOwner {
        assembleFee = newFee;
    }

    function updateDisassembleFee(uint256 newFee) external onlyOwner {
        disassembleFee = newFee;
    }

    function updateMaxQuantityPerTx(uint256 newValue) external onlyOwner {
        maxQuantityPerTx = newValue;
    }

    function updatemaxLimitPerWallet(uint256 newValue) external onlyOwner {
        maxLimitPerWallet = newValue;
    }

    function devMint(uint256 quantity) external onlyOwner {
        require(supplyMinted + quantity <= MAX_SUPPLY, "supply limit reached");
        for (uint256 i; i < quantity; i++) {
            supplyMinted += 1;
            _safeMint(msg.sender, supplyMinted);
        }
    }

    function devWithdraw() external onlyOwner {
        uint256 balance = address(this).balance;
        require(balance > 0, "No more balance");

        (bool success, ) = payable(msg.sender).call{value: balance}("");
        require(success, "Transfer failed.");
    }
}
        

/_openzeppelin/contracts/access/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);
    }
}
          

/_openzeppelin/contracts/token/ERC721/ERC721.sol

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.0) (token/ERC721/ERC721.sol)

pragma solidity ^0.8.0;

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

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

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        _approve(to, tokenId);
    }

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

        return _tokenApprovals[tokenId];
    }

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

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

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

        _transfer(from, to, tokenId);
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        _beforeTokenTransfer(from, to, tokenId);

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

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

        emit Transfer(from, to, tokenId);

        _afterTokenTransfer(from, to, tokenId);
    }

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

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

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

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

    /**
     * @dev Hook that is called after any transfer of tokens. This includes
     * minting and burning.
     *
     * Calling conditions:
     *
     * - when `from` and `to` are both non-zero.
     * - `from` and `to` are never both zero.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _afterTokenTransfer(
        address from,
        address to,
        uint256 tokenId
    ) internal virtual {}
}
          

/_openzeppelin/contracts/token/ERC721/IERC721.sol

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.0) (token/ERC721/IERC721.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

/_openzeppelin/contracts/token/ERC721/IERC721Receiver.sol

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

pragma solidity ^0.8.0;

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

/_openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/ERC721Enumerable.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

/_openzeppelin/contracts/token/ERC721/extensions/IERC721Enumerable.sol

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (token/ERC721/extensions/IERC721Enumerable.sol)

pragma solidity ^0.8.0;

import "../IERC721.sol";

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

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

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

/_openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol

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

pragma solidity ^0.8.0;

import "../IERC721.sol";

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

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

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

/_openzeppelin/contracts/utils/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);
            }
        }
    }
}
          

/_openzeppelin/contracts/utils/Base64.sol

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (utils/Base64.sol)

pragma solidity ^0.8.0;

/**
 * @dev Provides a set of functions to operate with Base64 strings.
 *
 * _Available since v4.5._
 */
library Base64 {
    /**
     * @dev Base64 Encoding/Decoding Table
     */
    string internal constant _TABLE = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";

    /**
     * @dev Converts a `bytes` to its Bytes64 `string` representation.
     */
    function encode(bytes memory data) internal pure returns (string memory) {
        /**
         * Inspired by Brecht Devos (Brechtpd) implementation - MIT licence
         * https://github.com/Brechtpd/base64/blob/e78d9fd951e7b0977ddca77d92dc85183770daf4/base64.sol
         */
        if (data.length == 0) return "";

        // Loads the table into memory
        string memory table = _TABLE;

        // Encoding takes 3 bytes chunks of binary data from `bytes` data parameter
        // and split into 4 numbers of 6 bits.
        // The final Base64 length should be `bytes` data length multiplied by 4/3 rounded up
        // - `data.length + 2`  -> Round up
        // - `/ 3`              -> Number of 3-bytes chunks
        // - `4 *`              -> 4 characters for each chunk
        string memory result = new string(4 * ((data.length + 2) / 3));

        assembly {
            // Prepare the lookup table (skip the first "length" byte)
            let tablePtr := add(table, 1)

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

            // Run over the input, 3 bytes at a time
            for {
                let dataPtr := data
                let endPtr := add(data, mload(data))
            } lt(dataPtr, endPtr) {

            } {
                // Advance 3 bytes
                dataPtr := add(dataPtr, 3)
                let input := mload(dataPtr)

                // To write each character, shift the 3 bytes (18 bits) chunk
                // 4 times in blocks of 6 bits for each character (18, 12, 6, 0)
                // and apply logical AND with 0x3F which is the number of
                // the previous character in the ASCII table prior to the Base64 Table
                // The result is then added to the table to get the character to write,
                // and finally write it in the result pointer but with a left shift
                // of 256 (1 byte) - 8 (1 ASCII char) = 248 bits

                mstore8(resultPtr, mload(add(tablePtr, and(shr(18, input), 0x3F))))
                resultPtr := add(resultPtr, 1) // Advance

                mstore8(resultPtr, mload(add(tablePtr, and(shr(12, input), 0x3F))))
                resultPtr := add(resultPtr, 1) // Advance

                mstore8(resultPtr, mload(add(tablePtr, and(shr(6, input), 0x3F))))
                resultPtr := add(resultPtr, 1) // Advance

                mstore8(resultPtr, mload(add(tablePtr, and(input, 0x3F))))
                resultPtr := add(resultPtr, 1) // Advance
            }

            // When data `bytes` is not exactly 3 bytes long
            // it is padded with `=` characters at the end
            switch mod(mload(data), 3)
            case 1 {
                mstore8(sub(resultPtr, 1), 0x3d)
                mstore8(sub(resultPtr, 2), 0x3d)
            }
            case 2 {
                mstore8(sub(resultPtr, 1), 0x3d)
            }
        }

        return result;
    }
}
          

/_openzeppelin/contracts/utils/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;
    }
}
          

/_openzeppelin/contracts/utils/Strings.sol

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

pragma solidity ^0.8.0;

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

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

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

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

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

/_openzeppelin/contracts/utils/introspection/ERC165.sol

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

pragma solidity ^0.8.0;

import "./IERC165.sol";

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

/_openzeppelin/contracts/utils/introspection/IERC165.sol

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

pragma solidity ^0.8.0;

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

Contract ABI

[{"type":"constructor","stateMutability":"nonpayable","inputs":[]},{"type":"event","name":"Approval","inputs":[{"type":"address","name":"owner","internalType":"address","indexed":true},{"type":"address","name":"approved","internalType":"address","indexed":true},{"type":"uint256","name":"tokenId","internalType":"uint256","indexed":true}],"anonymous":false},{"type":"event","name":"ApprovalForAll","inputs":[{"type":"address","name":"owner","internalType":"address","indexed":true},{"type":"address","name":"operator","internalType":"address","indexed":true},{"type":"bool","name":"approved","internalType":"bool","indexed":false}],"anonymous":false},{"type":"event","name":"OwnershipTransferred","inputs":[{"type":"address","name":"previousOwner","internalType":"address","indexed":true},{"type":"address","name":"newOwner","internalType":"address","indexed":true}],"anonymous":false},{"type":"event","name":"Transfer","inputs":[{"type":"address","name":"from","internalType":"address","indexed":true},{"type":"address","name":"to","internalType":"address","indexed":true},{"type":"uint256","name":"tokenId","internalType":"uint256","indexed":true}],"anonymous":false},{"type":"function","stateMutability":"view","outputs":[{"type":"address","name":"","internalType":"address"}],"name":"KNXAddress","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"address","name":"","internalType":"contract iKnoxer"}],"name":"Knoxer","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"MAX_SUPPLY","inputs":[]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"approve","inputs":[{"type":"address","name":"to","internalType":"address"},{"type":"uint256","name":"tokenId","internalType":"uint256"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"assembleFee","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"assembleId","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"bool","name":"","internalType":"bool"}],"name":"assembleIsActive","inputs":[]},{"type":"function","stateMutability":"payable","outputs":[],"name":"assembleSet","inputs":[{"type":"uint256[6]","name":"tokenIds","internalType":"uint256[6]"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"NaturalHabitats","internalType":"uint256"},{"type":"uint256","name":"EndangeredSpecies","internalType":"uint256"},{"type":"uint256","name":"ClimateChange","internalType":"uint256"},{"type":"uint256","name":"ClimateActionInitiatives","internalType":"uint256"},{"type":"uint256","name":"Technology","internalType":"uint256"},{"type":"uint256","name":"EnvironmentalOrganizations","internalType":"uint256"}],"name":"assembledKnoxWorld","inputs":[{"type":"uint256","name":"","internalType":"uint256"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"balanceOf","inputs":[{"type":"address","name":"owner","internalType":"address"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"devMint","inputs":[{"type":"uint256","name":"quantity","internalType":"uint256"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"devWithdraw","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"disassembleFee","inputs":[]},{"type":"function","stateMutability":"payable","outputs":[],"name":"disassembleSet","inputs":[{"type":"uint256","name":"tokenId","internalType":"uint256"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"flipAssemble","inputs":[]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"flipMint","inputs":[]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"flipWhitelistMint","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"address","name":"","internalType":"address"}],"name":"getApproved","inputs":[{"type":"uint256","name":"tokenId","internalType":"uint256"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"string","name":"","internalType":"string"}],"name":"getNameByTokenId","inputs":[{"type":"uint256","name":"tokenId","internalType":"uint256"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"bool","name":"","internalType":"bool"}],"name":"isApprovedForAll","inputs":[{"type":"address","name":"owner","internalType":"address"},{"type":"address","name":"operator","internalType":"address"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"maxLimitPerWallet","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"maxMintPerAddress","inputs":[{"type":"address","name":"","internalType":"address"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"maxQuantityPerTx","inputs":[]},{"type":"function","stateMutability":"payable","outputs":[],"name":"mint","inputs":[{"type":"uint256","name":"quantity","internalType":"uint256"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"bool","name":"","internalType":"bool"}],"name":"mintIsActive","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"string","name":"","internalType":"string"}],"name":"name","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"address","name":"","internalType":"address"}],"name":"owner","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"address","name":"","internalType":"address"}],"name":"ownerOf","inputs":[{"type":"uint256","name":"tokenId","internalType":"uint256"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"price","inputs":[]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"renounceOwnership","inputs":[]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"safeTransferFrom","inputs":[{"type":"address","name":"from","internalType":"address"},{"type":"address","name":"to","internalType":"address"},{"type":"uint256","name":"tokenId","internalType":"uint256"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"safeTransferFrom","inputs":[{"type":"address","name":"from","internalType":"address"},{"type":"address","name":"to","internalType":"address"},{"type":"uint256","name":"tokenId","internalType":"uint256"},{"type":"bytes","name":"_data","internalType":"bytes"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"setApprovalForAll","inputs":[{"type":"address","name":"operator","internalType":"address"},{"type":"bool","name":"approved","internalType":"bool"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"supplyMinted","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"bool","name":"","internalType":"bool"}],"name":"supportsInterface","inputs":[{"type":"bytes4","name":"interfaceId","internalType":"bytes4"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"string","name":"","internalType":"string"}],"name":"symbol","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"tokenByIndex","inputs":[{"type":"uint256","name":"index","internalType":"uint256"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"tokenOfOwnerByIndex","inputs":[{"type":"address","name":"owner","internalType":"address"},{"type":"uint256","name":"index","internalType":"uint256"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"string","name":"","internalType":"string"}],"name":"tokenURI","inputs":[{"type":"uint256","name":"tokenId","internalType":"uint256"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"totalSupply","inputs":[]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"transferFrom","inputs":[{"type":"address","name":"from","internalType":"address"},{"type":"address","name":"to","internalType":"address"},{"type":"uint256","name":"tokenId","internalType":"uint256"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"transferOwnership","inputs":[{"type":"address","name":"newOwner","internalType":"address"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"updateAssembleFee","inputs":[{"type":"uint256","name":"newFee","internalType":"uint256"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"updateDisassembleFee","inputs":[{"type":"uint256","name":"newFee","internalType":"uint256"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"updateMaxQuantityPerTx","inputs":[{"type":"uint256","name":"newValue","internalType":"uint256"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"updatePrice","inputs":[{"type":"uint256","name":"newPrice","internalType":"uint256"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"updatemaxLimitPerWallet","inputs":[{"type":"uint256","name":"newValue","internalType":"uint256"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256[]","name":"","internalType":"uint256[]"}],"name":"walletOfOwner","inputs":[{"type":"address","name":"_owner","internalType":"address"}]},{"type":"function","stateMutability":"payable","outputs":[],"name":"whitelistMint","inputs":[{"type":"uint256","name":"quantity","internalType":"uint256"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"bool","name":"","internalType":"bool"}],"name":"whitelistMintIsActive","inputs":[]}]
              

Contract Creation Code

0x600c80546001600160a01b031916731f25f8df9e33033668d6f04dae0bde4854e9f1a517815560116106c081815270105b585e9bdb8814985a5b999bdc995cdd607a1b6106e052608090815260106107008181526f10dbdb99dbc814985a5b999bdc995cdd60821b6107205260a052600f6107408181526e105d1b185b9d1a58c8119bdc995cdd608a1b6107605260c052601e6107809081527f56616c64697669616e2054656d706572617465205261696e666f7265737400006107a05260e05260176107c09081527f546f6e67617373204e6174696f6e616c20466f726573740000000000000000006107e05261010052601b6108009081527f5261696e666f72657374206f66205869736875616e6762616e6e6100000000006108205261012052600a6108408181526953756e64657262616e7360b01b610860526101405260136108809081527f4461696e74726565205261696e666f72657374000000000000000000000000006108a05261016052600d6108c08181526c4b696e6162616c75205061726b60981b6108e052610180526109008181526c2830b1b4b334b19027b1b2b0b760991b610920526101a0526109408381526e020ba3630b73a34b19027b1b2b0b71608d1b610960526101c0526109808181526c024b73234b0b71027b1b2b0b71609d1b6109a0526101e0526109c08381526e20b73a30b931ba34b19027b1b2b0b760891b6109e05261020052610a009687526b20b931ba34b19027b1b2b0b760a11b610a2052610220969096526009610a4081815268436f72616c2053656160b81b610a605261024052600b610a808181526a4172616269616e2053656160a81b610aa05261026052610ac08481526e536f757468204368696e612053656160881b610ae05261028052610b008881526c43617269626265616e2053656160981b610b20526102a052610b40968752704d65646974657272616e65616e2053656160781b610b60526102c096909652610b80908152684c616b65204572696560b81b610ba0526102e052610bc09283526f477265617420536c617665204c616b6560801b610be05261030092909252610c008481526a4c616b65204d616c61776960a81b610c205261032052610c408181526e47726561742042656172204c616b6560881b610c605261034052610c809384526a13185ad94810985a5ad85b60aa1b610ca05261036093909352610cc09283526e4c616b652054616e67616e79696b6160881b610ce05261038092909252610d008381526c2630b5b29026b4b1b434b3b0b760991b610d20526103a052610d40918252692630b5b290243ab937b760b11b610d60526103c091909152610d808281526c4c616b6520566963746f72696160981b610da0526103e052610dc09182526c2630b5b29029bab832b934b7b960991b610de05261040091909152610e606040526021610e008181526104209162007d5e610e20398152604080518082018252600b8082526a2734b3b2b9102934bb32b960a91b6020838101919091528085019290925282518084018452600f8082526e26b0b1b5b2b73d34b2902934bb32b960891b828501528486019190915283518085018552600c8082526b26b2b5b7b733902934bb32b960a11b82860152606087019190915284518086018652600a808252692632b730902934bb32b960b11b828701526080880191909152855180870187528181526920b6bab9102934bb32b960b11b8187015260a0880152855180870187528481526a21b7b733b7902934bb32b960a91b8187015260c0880152855180870187528381526e52696f206465206c6120506c61746160881b8187015260e088015285518087018752600881526727b1102934bb32b960c11b81870152610100880152855180870187528281526b2cb2b63637bb902934bb32b960a11b8187015261012088015285518087018752600d8082526c2cb2b734b9b2b4902934bb32b960991b8288015261014089019190915286518088018852601181527026b4b9b9b4b9b9b4b83834902934bb32b960791b81880152610160890152865180880188528181526c2cb0b733ba3d32902934bb32b960991b81880152610180890152865180880188529283526b20b6b0bd37b7102934bb32b960a11b838701526101a088019290925285518087018752908152692734b632902934bb32b960b11b818601526101c0870152845180860186528181526c135bdd5b9d08115d995c995cdd609a1b818601526101e0870152845180860186529283526a25991026b7bab73a30b4b760a91b8385015261020086019290925283518085018552601681527f4b616e676368656e6a756e6761204d6f756e7461696e0000000000000000000081850152610220860152835180850185528181526e263437ba39b29026b7bab73a30b4b760891b81850152610240860152835180850185529081526e26b0b5b0b63a9026b7bab73a30b4b760891b818401526102608501528251808401909352601083526f21b4379027bcba9026b7bab73a30b4b760811b91830191909152610280909201526200075191603262003512565b506040805161068081018252601761064082018181527f4166726963616e20666f7265737420656c657068616e74000000000000000000610660840152825282518084018452600c8082526b105b5d5c8813195bdc185c9960a21b6020838101919091528085019290925284518086018652600b8082526a426c61636b205268696e6f60a81b8285015285870191909152855180870187526011808252702137b93732b0b71027b930b733baba30b760791b8286015260608701919091528651808801885260138082527f43726f737320526976657220476f72696c6c6100000000000000000000000000828701526080880191909152875180890189528681527f4561737465726e204c6f776c616e6420476f72696c6c610000000000000000008187015260a08801528751808901895260108082526f4861776b7362696c6c20547572746c6560801b8288015260c08901919091528851808a018a528481526a4a6176616e205268696e6f60a81b8188015260e08901528851808a018a5260098082526827b930b733baba30b760b91b828901526101008a01919091528951808b018b5260058082526453616f6c6160d81b828a01526101208b01919091528a51808c018c528581527014dd5b585d1c985b88115b195c1a185b9d607a1b818a01526101408b01528a51808c018c52601281527129bab6b0ba3930b71027b930b733baba30b760711b818a01526101608b01528a51808c018c52600e8082526d53756d617472616e205268696e6f60901b828b01526101808c01919091528b51808d018d528781526a29bab73230902a34b3b2b960a91b818b01526101a08c01528b51808d018d5260078152665661717569746160c81b818b01526101c08c01528b51808d018d52998a527f5765737465726e204c6f776c616e6420476f72696c6c610000000000000000008a8a01526101e08b01999099528a51808c018c5260188082527f59616e67747a652046696e6c65737320506f72706f6973650000000000000000828b01526102008c01919091528b51808d018d529081527f4166726963616e20736176616e6e6120656c657068616e740000000000000000818a01526102208b01528a51808c018c528381526f4166726963616e2057696c6420446f6760801b818a01526102408b01528a51808c018c528981526d105cda585b88115b195c1a185b9d60921b818a01526102608b01528a51808c018c528481527f426c61636b2d666f6f7465642046657272657400000000000000000000000000818a01526102808b01528a51808c018c52600a80825269426c7565205768616c6560b01b828b01526102a08c01919091528b51808d018d528881526b426c756566696e2054756e6160a01b818b01526102c08c01528b51808d018d52600680825265426f6e6f626f60d01b828c01526102e08d01919091528c51808e018e528581526f109bdc9b99585b88115b195c1a185b9d60821b818c01526103008d01528c51808e018e52828152694368696d70616e7a656560b01b818c01526103208d01528c51808e018e528481526846696e205768616c6560b81b818c01526103408d01528c51808e018e528781527023b0b630b830b3b7b9902832b733bab4b760791b818c01526103608d01528c51808e018e52601481527f47616e67657320526976657220446f6c7068696e000000000000000000000000818c01526103808d01528c51808e018e529889526b477265656e20547572746c6560a01b898b01526103a08c01989098528b51808d018d528481526f2432b1ba37b913b9902237b6383434b760811b818b01526103c08c01528b51808d018d52600f8082526e48756d70686561642057726173736560881b828c01526103e08d01919091528c51808e018e529081526e125b991a585b88115b195c1a185b9d608a1b818b01526104008c01528b51808d018d528581527f496e64757320526976657220446f6c7068696e00000000000000000000000000818b01526104208c01528b51808d018d529586527024b93930bbb0b2323c902237b6383434b760791b868a01526104408b01959095528a51808c018c529283526f4d6f756e7461696e20476f72696c6c6160801b838901526104608a01929092528951808b018b52601a81527f4e6f7274682041746c616e746963205269676874205768616c65000000000000818901526104808a01528951808b018b52818152685265642050616e646160b81b818901526104a08a01528951808b018b5281815268536561204c696f6e7360b81b818901526104c08a01528951808b018b529384526953656120547572746c6560b01b848801526104e08901939093528851808a018a5292835268536569205768616c6560b81b83870152610500880192909252875180890189528181527f537269204c616e6b616e20456c657068616e74000000000000000000000000008187015261052088015287518089018952828152642a34b3b2b960d91b8187015261054088015287518089018952918252645768616c6560d81b82860152610560870191909152865180880188528281526a5768616c6520536861726b60a81b81860152610580870152865180880188528281526a4269676579652054756e6160a81b818601526105a0870152865180880188529081527f426c61636b20537069646572204d6f6e6b657900000000000000000000000000818501526105c086015285518087018752918252654475676f6e6760d01b828401526105e0850191909152845180860186529081526a4769616e742050616e646160a81b8183015261060084015283518085019094528184526d4769616e7420546f72746f69736560901b9084015261062082019290925262000f8e9190603262003512565b506040805161068081018252600e61064082018181526d476c6f62616c205761726d696e6760901b610660840152825282518084018452601180825270233937b9ba16a33932b29029b2b0b9b7b760791b6020838101919091528085019290925284518086018652601681527f57656174686572205061747465726e204368616e67650000000000000000000081840152848601528451808601865260088082526744726f756768747360c01b82850152606086019190915285518087018752600a808252694865617420576176657360b01b8286015260808701919091528651808801885281815269487572726963616e657360b01b8186015260a0870152865180880188528581526d536561204c6576656c205269736560901b8186015260c0870152865180880188526012808252714d656c74696e67204172637469632049636560701b8287015260e088019190915287518089018952600d8082526c4f6365616e204163696469747960981b828801526101008901919091528851808a018a529384526757696c646669726560c01b8487015261012088019390935287518089018952600f8082526e496e73656374204f7574627265616b60881b828801526101408901919091528851808a018a52600c8082526b54726565204469736561736560a01b828901526101608a01919091528951808b018b528881526d576174657220536361726369747960901b818901526101808a01528951808b018b52600580825264119b1bdbd960da1b828a01526101a08b01919091528a51808c018c52848152711499591d58d9590810dc9bdc08165a595b1960721b818a01526101c08b01528a51808c018c528781527011dc99595b9a1bdd5cd9481159999958dd607a1b818a01526101e08b01528a51808c018c5260188082527f496e66726173747275637475726520436f72726f73696f6e0000000000000000828b01526102008c01919091528b51808d018d528781526c2232b337b932b9ba30ba34b7b760991b818b01526102208c01528b51808d018d528581527113595b1d1a5b99c814195c9b58599c9bdcdd60721b818b01526102408c01528b51808d018d528481526e11db1858da585b0814995d1c99585d608a1b818b01526102608c01528b51808d018d528381526b53656120496365204c6f737360a01b818b01526102808c01528b51808d018d529182526453746f726d60d81b828a01526102a08b01919091528a51808c018c5260108082526f021b7b930b610213632b0b1b434b733960851b828b01526102c08c01919091528b51808d018d528481526e26b0b9b99022bc3a34b731ba34b7b760891b818b01526102e08c01528b51808d018d528781526c45636f6e6f6d6963204c6f737360981b818b01526103008c01528b51808d018d5288815270537072656164206f66204469736561736560781b818b01526103208c01528b51808d018d528481526e243ab6b0b71026b4b3b930ba34b7b760891b818b01526103408c01528b51808d018d528a81526d121d5b585b8810dbdb999b1a58dd60921b818b01526103608c01528b51808d018d52601b81527f477265656e6c616e6420496365205368656574204d656c74696e670000000000818b01526103808c01528b51808d018d5260138082527f48616269746174204465737472756374696f6e00000000000000000000000000828c01526103a08d01919091528c51808e018e529788526c466f6f6420536563757269747960981b888b01526103c08c01979097528b51808d018d529182527f536f63696f65636f6e6f6d696320496e657175616c6974790000000000000000828a01526103e08b01919091528a51808c018c52878152704c696665204379636c65204368616e676560781b818a01526104008b01528a51808c018c528681527f457870656e7369766520496e737572616e636500000000000000000000000000818a01526104208b01528a51808c018c528381526e456e657267792053686f727461676560881b818a01526104408b01528a51808c018c52601981527f416972205175616c697479204465746572696f726174696f6e00000000000000818a01526104608b01528a51808c018c528381526e27bd37b732902232b83632ba34b7b760891b818a01526104808b01528a51808c018c52601c81527f50657273697374656e74204f7267616e696320506f6c6c7574616e7400000000818a01526104a08b01528a51808c018c528181526f496e766173697665205370656369657360801b818a01526104c08b01528a51808c018c528181526f2630b732102232b3b930b230ba34b7b760811b818a01526104e08b01528a51808c018c52938452714167726963756c747572652043726973697360701b848901526105008a01939093528951808b018b529485527f48756d616e204865616c74682043726973697300000000000000000000000000858801526105208901949094528851808a018a529384526b57617465722043726973697360a01b8487015261054088019390935287518089018952600b81526a155b995b5b1bde5b595b9d60aa1b81870152610560880152875180890189528381526e24b731b932b0b9b29034b71021a79960891b81870152610580880152875180890189529081526f536e6f777061636b204465636c696e6560801b818601526105a08701528651808801885290815269486561747374726f6b6560b01b818501526105c0860152855180870187528181526e10da195b5a58d85b0812185e985c99608a1b818501526105e0860152855180870187529384526d139d58db19585c8812185e985c9960921b84840152610600850193909352845180860190955284527045636f6c6f676963616c2053747265737360781b90840152610620820192909252620017e49190603262003512565b50604080516106a0810190915260226106408201818152829162007a6061066084013981526020016040518060400160405280601781526020017f436c696d61746520416374696f6e20666f72204a6f627300000000000000000081525081526020016040518060400160405280600e81526020016d21b7b7b61021b7b0b634ba34b7b760911b81525081526020016040518060400160405280601e81526020017f54686520456e6572677920456666696369656e637920416c6c69616e6365000081525081526020016040518060400160405280601781526020017f43656c6f20436c696d61746520436f6c6c65637469766500000000000000000081525081526020016040518060400160405280601b81526020017f506f776572696e67205061737420436f616c20416c6c69616e63650000000000815250815260200160405180606001604052806029815260200162007c006029913981526020016040518060400160405280601681526020017f4465636172626f6e697a696e67205368697070696e670000000000000000000081525081526020016040518060400160405280600d81526020016c21b0b933b79021b430b93a32b960991b815250815260200160405180606001604052806028815260200162007a1760289139815260200160405180606001604052806021815260200162007b3360219139815260200160405180606001604052806028815260200162007bac6028913981526020016040518060400160405280601d81526020017f4e65742d5a65726f204173736574204f776e657220416c6c69616e6365000000815250815260200160405180604001604052806011815260200170209021b0b636103337b91020b1ba34b7b760791b81525081526020016040518060600160405280602a815260200162007dd4602a913981526020016040518060600160405280602f815260200162007da5602f913981526020016040518060600160405280602c815260200162007bd4602c913981526020016040518060400160405280601f81526020017f436f6e76656e74696f6e206f6e20436c7573746572204d756e6974696f6e7300815250815260200160405180606001604052806026815260200162007d7f6026913981526020016040518060400160405280601381526020017f43616d706169676e20666f72204e617475726500000000000000000000000000815250815260200160405180606001604052806029815260200162007c29602991398152602001604051806060016040528060278152602001620079f060279139815260200160405180606001604052806027815260200162007cc560279139815260200160405180606001604052806021815260200162007a8260219139815260200160405180606001604052806024815260200162007c526024913981526020016040518060400160405280601b81526020017f4575726f7065616e20436c696d61746520496e6974696174697665000000000081525081526020016040518060400160405280601a81526020017f5765737465726e20436c696d61746520496e697469617469766500000000000081525081526020016040518060400160405280601281526020017104e6f72746820416d657269636120323035360741b81525081526020016040518060400160405280601b81526020017f4175737472616c696120436c65616e20456e6572677920506c616e000000000081525081526020016040518060400160405280601381526020017f43616e616461277320496e69746961746976650000000000000000000000000081525081526020016040518060400160405280601b81526020017f4972656c616e6420436c696d61746520416374696f6e20506c616e0000000000815250815260200160405180606001604052806024815260200162007b0f6024913981526020016040518060400160405280602081526020017f526564756374696f6e2066726f6d20427573696e65737320617320557375616c81525081526020016040518060400160405280601b81526020017f554b20436c696d617465204368616e67652050726f6772616d6d65000000000081525081526020016040518060400160405280602081526020017f507265736964656e7469616c20436c696d61746520416374696f6e20506c616e81525081526020016040518060400160405280601c81526020017f476c6f62616c205761726d696e6720536f6c7574696f6e73204163740000000081525081526020016040518060400160405280600f81526020016e14185c9a5cc81059dc99595b595b9d608a1b815250815260200160405180606001604052806025815260200162007d396025913981526020016040518060400160405280601981526020017f576f726c6420486572697461676520436f6e76656e74696f6e0000000000000081525081526020016040518060400160405280601681526020017f436f6e76656e74696f6e206f6e205765746c616e64730000000000000000000081525081526020016040518060400160405280600b81526020016a526170746f7273204d6f5560a81b81525081526020016040518060400160405280601081526020016f416e746172637469632054726561747960801b81525081526020016040518060400160405280601981526020017f416d617a6f6e20436f6f7065726174696f6e205472656174790000000000000081525081526020016040518060400160405280600e81526020016d12de5bdd1bc8141c9bdd1bd8dbdb60921b815250815260200160405180606001604052806021815260200162007a3f6021913981526020016040518060400160405280601181526020017020b0b9343ab99021b7b73b32b73a34b7b760791b81525081526020016040518060400160405280601081526020016f22b9b837b79021b7b73b32b73a34b7b760811b81525081526020016040518060400160405280601e81526020017f4d696e616d61746120436f6e76656e74696f6e206f6e204d6572637572790000815250815260200160405180606001604052806021815260200162007ca46021913981526020016040518060400160405280601c81526020017f436f6e76656e74696f6e206f6e204e75636c656172205361666574790000000081525081525060109060326200210092919062003512565b506040805161068081018252600c61064082018181526b536f6c617220456e6572677960a01b61066084015282528251808401845260118082527047656f746865726d616c20456e6572677960781b6020838101919091528085019290925284518086018652600b81526a57696e6420456e6572677960a81b818401528486015284518086018652600781526642696f6d61737360c81b81840152606085015284518086018652600a80825269243cb23937b837bbb2b960b11b828501526080860191909152855180870187528481526b546964616c20456e6572677960a01b8185015260a086015285518087018752600e8082526d4e75636c65617220456e6572677960901b8286015260c08701919091528651808801885260198082527f45617274682d4f72626974696e6720536174656c6c69746573000000000000008287015260e088019190915287518089018952601280825271526164696f636172626f6e20446174696e6760701b828801526101008901919091528851808a018a528381526d546865726d616c20456e6572677960901b818801526101208901528851808a018a5260168082527f4d6f6c74656e2053616c7420546563686e6f6c6f677900000000000000000000828901526101408a01919091528951808b018b52828152712bb0ba32b9102232b9b0b634b730ba34b7b760711b818901526101608a01528951808b018b52600d8082526c50686f746f766f6c746169637360981b828a01526101808b01919091528a51808c018c52601881527f436f6e63656e74726174656420536f6c617220506f7765720000000000000000818a01526101a08b01528a51808c018c52601e81527f487964726f67656e2050726f64756374696f6e20546563686e6f6c6f67790000818a01526101c08b01528a51808c018c529384527f456e657267792053746f7261676520546563686e6f6c6f677900000000000000848901526101e08a01939093528951808b018b52601081526f456c6563747269632056656869636c6560801b818901526102008a01528951808b018b528481526d4e616e6f746563686e6f6c6f677960901b818901526102208a01528951808b018b528381526c42696f746563686e6f6c6f677960981b818901526102408a01528951808b018b52600981526852656379636c696e6760b81b818901526102608a01528951808b018b5260148082527f436172626f6e2053657175657374726174696f6e000000000000000000000000828a01526102808b01919091528a51808c018c528681526957696e64204661726d7360b01b818a01526102a08b01528a51808c018c528581526d1318588b51dc9bdddb881359585d60921b818a01526102c08b01528a51808c018c5260138082527f4f666673686f72652057696e6420506f77657200000000000000000000000000828b01526102e08c01919091528b51808d018d52601d81527f426174746572792053746f7261676520506f7765722053746174696f6e000000818b01526103008c01528b51808d018d52601f8082527f50756d7065642d53746f7261676520487964726f656c65637472696369747900828c01526103208d01919091528c51808e018e528281527f4772696420456e657267792053746f7261676500000000000000000000000000818c01526103408d01528c51808e018e5260178082527f536d616c6c2d5363616c652057696e6420506f77657220000000000000000000828d01526103608e01919091528d51808f018f52868152712a3432b936b0b61021b7b73b32b939b4b7b760711b818d01526103808e01528d51808f018f528381527f4368656d6963616c20436f6e76657273696f6e00000000000000000000000000818d01526103a08e01528d51808f018f52601581527f42696f6c6f676963616c20436f6e76657273696f6e0000000000000000000000818d01526103c08e01528d51808f018f528a81527053796e7468657469632042696f6c6f677960781b818d01526103e08e01528d51808f018f528381527f47656e6574696320456e67696e656572696e6700000000000000000000000000818d01526104008e01528d51808f018f52988952692930b4b7102837bbb2b960b11b898c01526104208d01989098528c51808e018e529384527f546964616c2053747265616d2047656e657261746f7200000000000000000000848b01526104408c01939093528b51808d018d529485526c546964616c204261727261676560981b858a01526104608b01949094528a51808c018c528481527f44796e616d696320546964616c20506f77657200000000000000000000000000818a01526104808b01528a51808c018c529889526b2a34b230b6102630b3b7b7b760a11b898901526104a08a01989098528951808b018b529384526d2134b7b932b6b2b234b0ba34b7b760911b848801526104c08901939093528851808a018a529283527f4f6365616e20546865726d616c20456e6572677920436f6e76657273696f6e00838701526104e088019290925287518089018952600f8082526e52657665727365204f736d6f73697360881b828801526105008901919091528851808a018a529182527f4d656d6272616e652042696f72656163746f720000000000000000000000000082870152610520880191909152875180890189528181526e2ab63a3930b334b63a3930ba34b7b760891b81870152610540880152875180890189528681527f47656f746865726d616c20486561742050756d7000000000000000000000000081870152610560880152875180890189528681527f4675656c2043656c6c20546563686e6f6c6f677900000000000000000000000081870152610580880152875180890189529586527f526567656e657261746976652046696e616e6365000000000000000000000000868601526105a0870195909552865180880188529485526e477265656e20436f6d707574696e6760881b858501526105c0860194909452855180870187529081527f4172746966696369616c20496e74656c6c6967656e6365000000000000000000818401526105e0850152845180860186526008815267426967204461746160c01b81840152610600850152845180860190955291845271496e7465726e6574206f66205468696e677360701b9084015261062082019290925262002a229190603262003512565b50604051806106400160405280604051806040016040528060078152602001663335302e6f726760c81b81525081526020016040518060400160405280601f81526020017f4166726963616e20436f6e736572766174696f6e20466f756e646174696f6e0081525081526020016040518060400160405280601b81526020017f4166726963616e2057696c646c69666520466f756e646174696f6e00000000008152508152602001604051806040016040528060078152602001664120526f63686160c81b81525081526020016040518060400160405280601581526020017f416e74692d6e75636c656172206d6f76656d656e74000000000000000000000081525081526020016040518060600160405280602a815260200162007cec602a913981526020016040518060400160405280600c81526020016b084d2decceacad8eec2e8c6d60a31b81525081526020016040518060400160405280601081526020016f416d65726963616e20466f726573747360801b81525081526020016040518060400160405280601881526020017f42696f7665727369747920496e7465726e6174696f6e616c000000000000000081525081526020016040518060400160405280601681526020017f426972644c69666520496e7465726e6174696f6e616c0000000000000000000081525081526020016040518060400160405280601581526020017f4345452042616e6b7761746368204e6574776f726b0000000000000000000000815250815260200160405180606001604052806023815260200162007d166023913981526020016040518060400160405280601781526020017f436974697a656e732720436c696d617465204c6f62627900000000000000000081525081526020016040518060400160405280601681526020017f436c696d61746520416374696f6e204e6574776f726b0000000000000000000081525081526020016040518060600160405280603d815260200162007ad2603d913981526020016040518060400160405280601a81526020017f436f6e736572766174696f6e20496e7465726e6174696f6e616c00000000000081525081526020016040518060400160405280601781526020017f44616e63696e67205374617220466f756e646174696f6e00000000000000000081525081526020016040518060400160405280601581526020017f4465657020477265656e20526573697374616e6365000000000000000000000081525081526020016040518060400160405280601881526020017f4561727468204368617274657220496e6974696174697665000000000000000081525081526020016040518060400160405280600c81526020016b45415254484441592e4f524760a01b81525081526020016040518060400160405280600a81526020016908ac2e4e8d0eec2e8c6d60b31b81525081526020016040518060400160405280601a81526020017f456e7669726f6e6d656e74616c20446566656e73652046756e6400000000000081525081526020016040518060400160405280601481526020017f457874696e6374696f6e20526562656c6c696f6e00000000000000000000000081525081526020016040518060400160405280601d81526020017f4661756e6120616e6420466c6f726120496e7465726e6174696f6e616c0000008152508152602001604051806060016040528060268152602001620079ca6026913981526020016040518060400160405280601a81526020017f466f7265737420537465776172647368697020436f756e63696c00000000000081525081526020016040518060600160405280602f815260200162007aa3602f91398152604080518082018252601c81527f4672616e6b66757274205a6f6f6c6f676963616c20536f63696574790000000060208281019190915280840191909152815180830183526011815270467269656e6473206f66204e617475726560781b818301528284015281518083018352601481527f467269656e6473206f66207468652045617274680000000000000000000000008183015260608085019190915282518084018452601881527f476c6f62616c20466f6f747072696e74204e6574776f726b000000000000000081840152608085015282518084018452601781527f476c6f62616c204c616e6473636170657320466f72756d0000000000000000008184015260a085015282518084018452600e81526d476c6f62616c205769746e65737360901b8184015260c085015282518084018452601581527f476f6f64506c616e657420466f756e646174696f6e00000000000000000000008184015260e085015282518084018452601b8082527f4772656174205472616e736974696f6e20496e6974696174697665000000000082850152610100860191909152835180850185529081527f477265656e204163746f7273206f6620576573742041667269636100000000008184015261012085015282518084018452601981527f477265656e2043726f737320496e7465726e6174696f6e616c000000000000008184015261014085015282518084018452600a815269477265656e706561636560b01b8184015261016085015282518084018452600c81526b494445415320466f7220557360a01b81840152610180850152825190810190925260338083526101a0909301929062007b5490830139815260200160405180606001604052806025815260200162007b876025913981526020016040518060400160405280601481526020017f496e7465726e6174696f6e616c2052697665727300000000000000000000000081525081526020016040518060400160405280601d81526020017f496e7465726e6174696f6e616c205472656520466f756e646174696f6e00000081525081526020016040518060600160405280602e815260200162007c76602e913981526020016040518060400160405280601281526020017113195d09dcc8111bc8125d084815dbdc9b1960721b81525081526020016040518060400160405280601a81526020017f4d6172696e6520537465776172647368697020436f756e63696c00000000000081525081526020016040518060400160405280601381526020017f576f726c642057696c646c6966652046756e640000000000000000000000000081525081526020016040518060400160405280601381526020017f4d6f756e7461696e2057696c6465726e6573730000000000000000000000000081525081526020016040518060400160405280600b81526020016a4e6174757265536572766560a81b8152508152602001604051806040016040528060068152602001654f6365616e6160d01b8152508152506012906032620033d092919062003512565b506015805462ffffff191690556000601655610bb8601755676124fee993bc00006018556706f05b59d3b200006019819055601a556032601b819055601c553480156200341c57600080fd5b5060408051808201825260098082526812db9bde15dbdc9b1960ba1b602080840182815285518087019096529285528401528151919291620034619160009162003576565b5080516200347790600190602084019062003576565b505050620034946200348e620034bc60201b60201c565b620034c0565b600c54600b80546001600160a01b0319166001600160a01b03909216919091179055620036b8565b3390565b600a80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b82805482825590600052602060002090810192821562003564579160200282015b828111156200356457825180516200355391849160209091019062003576565b509160200191906001019062003533565b506200357292915062003601565b5090565b82805462003584906200367b565b90600052602060002090601f016020900481019282620035a85760008555620035f3565b82601f10620035c357805160ff1916838001178555620035f3565b82800160010185558215620035f3579182015b82811115620035f3578251825591602001919060010190620035d6565b506200357292915062003622565b808211156200357257600062003618828262003639565b5060010162003601565b5b8082111562003572576000815560010162003623565b50805462003647906200367b565b6000825580601f1062003658575050565b601f01602090049060005260206000209081019062003678919062003622565b50565b600181811c908216806200369057607f821691505b60208210811415620036b257634e487b7160e01b600052602260045260246000fd5b50919050565b61430280620036c86000396000f3fe6080604052600436106102c95760003560e01c8063791d04db11610175578063a9599e61116100dc578063d10ac80e11610095578063d463bf771161006f578063d463bf7714610866578063e985e9c514610886578063eb969a27146108cf578063f2fde38b146108ef57600080fd5b8063d10ac80e14610828578063d11445591461083b578063d2ed5c591461085157600080fd5b8063a9599e6114610766578063ad606c7214610786578063af4cd4a91461079b578063b4d05e82146107c8578063b88d4fde146107e8578063c87b56dd1461080857600080fd5b80638d6cc56d1161012e5780638d6cc56d146106ca5780638da5cb5b146106ea57806395d89b4114610708578063a035b1fe1461071d578063a0712d6814610733578063a22cb4651461074657600080fd5b8063791d04db146105d7578063792fc4a9146105f15780637e9845f51461066e578063844e033214610684578063868ff4a2146106a45780638ccfe2c4146106b757600080fd5b80633758187c1161023457806350f61778116101ed57806369cc4f86116101c757806369cc4f861461057757806370a082311461058c578063715018a6146105ac578063776a886f146105c157600080fd5b806350f617781461052c5780635a0b8b23146105415780636352211e1461055757600080fd5b80633758187c1461046a578063375a069a1461048057806342842e0e146104a0578063438b6300146104c0578063471a4294146104ed5780634f6ccce71461050c57600080fd5b8063223bb8a011610286578063223bb8a0146103be57806323b872dd146103de57806329e4bb72146103fe5780632f745c591461041457806332cb6b0c14610434578063342a39e31461044a57600080fd5b806301ffc9a7146102ce57806306fdde0314610303578063081812fc14610325578063095ea7b31461035d57806315d8d2901461037f57806318160ddd1461039f575b600080fd5b3480156102da57600080fd5b506102ee6102e93660046138d7565b61090f565b60405190151581526020015b60405180910390f35b34801561030f57600080fd5b5061031861093a565b6040516102fa9190613d59565b34801561033157600080fd5b50610345610340366004613911565b6109cc565b6040516001600160a01b0390911681526020016102fa565b34801561036957600080fd5b5061037d610378366004613832565b610a66565b005b34801561038b57600080fd5b50600b54610345906001600160a01b031681565b3480156103ab57600080fd5b506008545b6040519081526020016102fa565b3480156103ca57600080fd5b5061037d6103d9366004613911565b610b7c565b3480156103ea57600080fd5b5061037d6103f93660046136fa565b610bab565b34801561040a57600080fd5b506103b0601a5481565b34801561042057600080fd5b506103b061042f366004613832565b610bdc565b34801561044057600080fd5b506103b0610bb881565b34801561045657600080fd5b5061037d610465366004613911565b610c72565b34801561047657600080fd5b506103b060175481565b34801561048c57600080fd5b5061037d61049b366004613911565b610ca1565b3480156104ac57600080fd5b5061037d6104bb3660046136fa565b610d41565b3480156104cc57600080fd5b506104e06104db3660046136ac565b610d5c565b6040516102fa9190613d15565b3480156104f957600080fd5b506015546102ee90610100900460ff1681565b34801561051857600080fd5b506103b0610527366004613911565b610dfe565b34801561053857600080fd5b5061037d610e91565b34801561054d57600080fd5b506103b0601c5481565b34801561056357600080fd5b50610345610572366004613911565b610eda565b34801561058357600080fd5b5061037d610f51565b34801561059857600080fd5b506103b06105a73660046136ac565b610f8f565b3480156105b857600080fd5b5061037d611016565b3480156105cd57600080fd5b506103b060195481565b3480156105e357600080fd5b506015546102ee9060ff1681565b3480156105fd57600080fd5b5061064161060c366004613911565b601360205260009081526040902080546001820154600283015460038401546004850154600590950154939492939192909186565b604080519687526020870195909552938501929092526060840152608083015260a082015260c0016102fa565b34801561067a57600080fd5b506103b060165481565b34801561069057600080fd5b506015546102ee9062010000900460ff1681565b61037d6106b2366004613911565b61104c565b61037d6106c536600461385c565b6112f1565b3480156106d657600080fd5b5061037d6106e5366004613911565b61168c565b3480156106f657600080fd5b50600a546001600160a01b0316610345565b34801561071457600080fd5b506103186116bb565b34801561072957600080fd5b506103b060185481565b61037d610741366004613911565b6116ca565b34801561075257600080fd5b5061037d6107613660046137f6565b61182d565b34801561077257600080fd5b5061037d610781366004613911565b611838565b34801561079257600080fd5b5061037d611867565b3480156107a757600080fd5b506103b06107b63660046136ac565b60146020526000908152604090205481565b3480156107d457600080fd5b50600c54610345906001600160a01b031681565b3480156107f457600080fd5b5061037d610803366004613736565b61195c565b34801561081457600080fd5b50610318610823366004613911565b611994565b61037d610836366004613911565b611ad9565b34801561084757600080fd5b506103b0601b5481565b34801561085d57600080fd5b5061037d611c2b565b34801561087257600080fd5b5061037d610881366004613911565b611c72565b34801561089257600080fd5b506102ee6108a13660046136c7565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b3480156108db57600080fd5b506103186108ea366004613911565b611ca1565b3480156108fb57600080fd5b5061037d61090a3660046136ac565b611dd8565b60006001600160e01b0319821663780e9d6360e01b1480610934575061093482611e70565b92915050565b60606000805461094990613f31565b80601f016020809104026020016040519081016040528092919081815260200182805461097590613f31565b80156109c25780601f10610997576101008083540402835291602001916109c2565b820191906000526020600020905b8154815290600101906020018083116109a557829003601f168201915b5050505050905090565b6000818152600260205260408120546001600160a01b0316610a4a5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084015b60405180910390fd5b506000908152600460205260409020546001600160a01b031690565b6000610a7182610eda565b9050806001600160a01b0316836001600160a01b03161415610adf5760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b6064820152608401610a41565b336001600160a01b0382161480610afb5750610afb81336108a1565b610b6d5760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006064820152608401610a41565b610b778383611ec0565b505050565b600a546001600160a01b03163314610ba65760405162461bcd60e51b8152600401610a4190613dec565b601b55565b610bb53382611f2e565b610bd15760405162461bcd60e51b8152600401610a4190613e21565b610b77838383612025565b6000610be783610f8f565b8210610c495760405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201526a74206f6620626f756e647360a81b6064820152608401610a41565b506001600160a01b03919091166000908152600660209081526040808320938352929052205490565b600a546001600160a01b03163314610c9c5760405162461bcd60e51b8152600401610a4190613dec565b601c55565b600a546001600160a01b03163314610ccb5760405162461bcd60e51b8152600401610a4190613dec565b610bb881601654610cdc9190613ea3565b1115610cfa5760405162461bcd60e51b8152600401610a4190613d6c565b60005b81811015610d3d57600160166000828254610d189190613ea3565b92505081905550610d2b336016546121cc565b80610d3581613f6c565b915050610cfd565b5050565b610b778383836040518060200160405280600081525061195c565b60606000610d6983610f8f565b905060008167ffffffffffffffff811115610d8657610d86613ff3565b604051908082528060200260200182016040528015610daf578160200160208202803683370190505b50905060005b82811015610df657610dc78582610bdc565b828281518110610dd957610dd9613fdd565b602090810291909101015280610dee81613f6c565b915050610db5565b509392505050565b6000610e0960085490565b8210610e6c5760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201526b7574206f6620626f756e647360a01b6064820152608401610a41565b60088281548110610e7f57610e7f613fdd565b90600052602060002001549050919050565b600a546001600160a01b03163314610ebb5760405162461bcd60e51b8152600401610a4190613dec565b6015805462ff0000198116620100009182900460ff1615909102179055565b6000818152600260205260408120546001600160a01b0316806109345760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b6064820152608401610a41565b600a546001600160a01b03163314610f7b5760405162461bcd60e51b8152600401610a4190613dec565b6015805460ff19811660ff90911615179055565b60006001600160a01b038216610ffa5760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b6064820152608401610a41565b506001600160a01b031660009081526003602052604090205490565b600a546001600160a01b031633146110405760405162461bcd60e51b8152600401610a4190613dec565b61104a60006121e6565b565b60155460ff166110935760405162461bcd60e51b81526020600482015260126024820152711b5a5b9d081b9bdd081858dd1a5d985d195960721b6044820152606401610a41565b600b546040516370a0823160e01b81523360048201526000916001600160a01b0316906370a082319060240160206040518083038186803b1580156110d757600080fd5b505afa1580156110eb573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061110f919061392a565b116111555760405162461bcd60e51b815260206004820152601660248201527537b7363c903337b91025b737bc32b9103437b63232b960511b6044820152606401610a41565b6000811180156111675750601b548111155b6111a95760405162461bcd60e51b8152602060048201526013602482015272125b9d985b1a59081b5a5b9d08185b5bdd5b9d606a1b6044820152606401610a41565b601c54336000908152601460205260409020546111c7908390613ea3565b11156112095760405162461bcd60e51b81526020600482015260116024820152701b585e080d4c081c195c881dd85b1b195d607a1b6044820152606401610a41565b806018546112179190613ecf565b341461125a5760405162461bcd60e51b8152602060048201526012602482015271496e73756666696369656e742066756e647360701b6044820152606401610a41565b610bb88160165461126b9190613ea3565b11156112895760405162461bcd60e51b8152600401610a4190613d6c565b33600090815260146020526040812080548392906112a8908490613ea3565b90915550600090505b81811015610d3d576001601660008282546112cc9190613ea3565b925050819055506112df336016546121cc565b806112e981613f6c565b9150506112b1565b60155462010000900460ff166113425760405162461bcd60e51b8152602060048201526016602482015275185cdcd95b589b19481b9bdd081858dd1a5d985d195960521b6044820152606401610a41565b805161135090600690613f87565b6001146113985760405162461bcd60e51b81526020600482015260166024820152756669727374204e61747572616c20486162697461747360501b6044820152606401610a41565b60208101516113a990600690613f87565b6002146113f85760405162461bcd60e51b815260206004820152601960248201527f7365636f6e6420456e64616e67657265642053706563696573000000000000006044820152606401610a41565b604081015161140990600690613f87565b60031461144f5760405162461bcd60e51b8152602060048201526014602482015273746869726420436c696d617465204368616e676560601b6044820152606401610a41565b606081015161146090600690613f87565b6004146114b95760405162461bcd60e51b815260206004820152602160248201527f666f7572746820436c696d61746520416374696f6e20496e69746961746976656044820152607360f81b6064820152608401610a41565b60808101516114ca90600690613f87565b60051461150c5760405162461bcd60e51b815260206004820152601060248201526f666966746820546563686e6f6c6f677960801b6044820152606401610a41565b60a081015161151d90600690613f87565b156115745760405162461bcd60e51b815260206004820152602160248201527f736978746820456e7669726f6e6d656e74616c204f7267616e697a6174696f6e6044820152607360f81b6064820152608401610a41565b60195434146115ba5760405162461bcd60e51b8152602060048201526012602482015271696e73756666696369656e742066756e647360701b6044820152606401610a41565b60005b60068110156115f9576115e733308484600681106115dd576115dd613fdd565b6020020151610bab565b806115f181613f6c565b9150506115bd565b5060016017600082825461160d9190613ea3565b90915550508051601780546000908152601360209081526040808320949094558401518254825283822060010155828401518254825283822060020155606084015182548252838220600301556080840151825482528382206004015560a08401518254825292902060050191909155546116899033906121cc565b50565b600a546001600160a01b031633146116b65760405162461bcd60e51b8152600401610a4190613dec565b601855565b60606001805461094990613f31565b601554610100900460ff166117165760405162461bcd60e51b81526020600482015260126024820152711b5a5b9d081b9bdd081858dd1a5d985d195960721b6044820152606401610a41565b6000811180156117285750601b548111155b61176a5760405162461bcd60e51b8152602060048201526013602482015272125b9d985b1a59081b5a5b9d08185b5bdd5b9d606a1b6044820152606401610a41565b806018546117789190613ecf565b34146117bb5760405162461bcd60e51b8152602060048201526012602482015271496e73756666696369656e742066756e647360701b6044820152606401610a41565b610bb8816016546117cc9190613ea3565b11156117ea5760405162461bcd60e51b8152600401610a4190613d6c565b60005b81811015610d3d576001601660008282546118089190613ea3565b9250508190555061181b336016546121cc565b8061182581613f6c565b9150506117ed565b610d3d338383612238565b600a546001600160a01b031633146118625760405162461bcd60e51b8152600401610a4190613dec565b601955565b600a546001600160a01b031633146118915760405162461bcd60e51b8152600401610a4190613dec565b47806118d15760405162461bcd60e51b815260206004820152600f60248201526e4e6f206d6f72652062616c616e636560881b6044820152606401610a41565b604051600090339083908381818185875af1925050503d8060008114611913576040519150601f19603f3d011682016040523d82523d6000602084013e611918565b606091505b5050905080610d3d5760405162461bcd60e51b815260206004820152601060248201526f2a3930b739b332b9103330b4b632b21760811b6044820152606401610a41565b6119663383611f2e565b6119825760405162461bcd60e51b8152600401610a4190613e21565b61198e84848484612307565b50505050565b6000818152600260205260409020546060906001600160a01b0316611a135760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b6064820152608401610a41565b6060610bb88311611a7b57611a74611a2a84611ca1565b611a338561233a565b611a3c86612438565b611a4d611a488861267e565b6128d8565b604051602001611a609493929190613b6e565b6040516020818303038152906040526128d8565b9050611ab1565b611aae611a878461233a565b611a9085612438565b611a9c611a488761267e565b604051602001611a6093929190613c52565b90505b80604051602001611ac29190613c0d565b60408051601f198184030181529190529392505050565b33611ae382610eda565b6001600160a01b031614611b255760405162461bcd60e51b81526020600482015260096024820152683737ba1037bbb732b960b91b6044820152606401610a41565b601a543414611b6b5760405162461bcd60e51b8152602060048201526012602482015271696e73756666696369656e742066756e647360701b6044820152606401610a41565b611b7481612a2c565b600081815260136020526040902054611b909030903390612025565b600081815260136020526040902060010154611baf9030903390612025565b600081815260136020526040902060020154611bce9030903390612025565b600081815260136020526040902060030154611bed9030903390612025565b600081815260136020526040902060040154611c0c9030903390612025565b6000818152601360205260409020600501546116899030903390612025565b600a546001600160a01b03163314611c555760405162461bcd60e51b8152600401610a4190613dec565b6015805461ff001981166101009182900460ff1615909102179055565b600a546001600160a01b03163314611c9c5760405162461bcd60e51b8152600401610a4190613dec565b601a55565b6060610bb8821115611ce85760405162461bcd60e51b815260206004820152601060248201526f1a5b9d985b1a59081d1bdad95b881a5960821b6044820152606401610a41565b6000828152600260205260409020546001600160a01b0316611d3e5760405162461bcd60e51b815260206004820152600f60248201526e1d1bdad95b881b9bdd08195e1a5cdd608a1b6044820152606401610a41565b611d49600683613f87565b60011415611d5a5761093482612ad3565b611d65600683613f87565b60021415611d765761093482612bd9565b611d81600683613f87565b60031415611d925761093482612cd8565b611d9d600683613f87565b60041415611dae5761093482612dd3565b611db9600683613f87565b60051415611dca5761093482612edd565b61093482612fd4565b919050565b600a546001600160a01b03163314611e025760405162461bcd60e51b8152600401610a4190613dec565b6001600160a01b038116611e675760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610a41565b611689816121e6565b60006001600160e01b031982166380ac58cd60e01b1480611ea157506001600160e01b03198216635b5e139f60e01b145b8061093457506301ffc9a760e01b6001600160e01b0319831614610934565b600081815260046020526040902080546001600160a01b0319166001600160a01b0384169081179091558190611ef582610eda565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000818152600260205260408120546001600160a01b0316611fa75760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b6064820152608401610a41565b6000611fb283610eda565b9050806001600160a01b0316846001600160a01b03161480611ff957506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b8061201d5750836001600160a01b0316612012846109cc565b6001600160a01b0316145b949350505050565b826001600160a01b031661203882610eda565b6001600160a01b03161461209c5760405162461bcd60e51b815260206004820152602560248201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060448201526437bbb732b960d91b6064820152608401610a41565b6001600160a01b0382166120fe5760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b6064820152608401610a41565b6121098383836130de565b612114600082611ec0565b6001600160a01b038316600090815260036020526040812080546001929061213d908490613eee565b90915550506001600160a01b038216600090815260036020526040812080546001929061216b908490613ea3565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b610d3d828260405180602001604052806000815250613196565b600a80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b816001600160a01b0316836001600160a01b0316141561229a5760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610a41565b6001600160a01b03838116600081815260056020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b612312848484612025565b61231e848484846131c9565b61198e5760405162461bcd60e51b8152600401610a4190613d9a565b60608161235e5750506040805180820190915260018152600360fc1b602082015290565b8160005b8115612388578061237281613f6c565b91506123819050600a83613ebb565b9150612362565b60008167ffffffffffffffff8111156123a3576123a3613ff3565b6040519080825280601f01601f1916602001820160405280156123cd576020820181803683370190505b5090505b841561201d576123e2600183613eee565b91506123ef600a86613f87565b6123fa906030613ea3565b60f81b81838151811061240f5761240f613fdd565b60200101906001600160f81b031916908160001a905350612431600a86613ebb565b94506123d1565b6060612442613653565b60405180606001604052806031815260200161417d603191398152610bb883116125fe57612471600684613f87565b600114156124ae5760408051808201909152601081526f4e61747572616c20486162697461747360801b60208201528160015b6020020152612627565b6124b9600684613f87565b600214156124f757604080518082019091526012815271456e64616e6765726564205370656369657360701b60208201528160016020020152612627565b612502600684613f87565b600314156125375760408051808201909152600e81526d436c696d617465204368616e676560901b60208201528160016124a4565b612542600684613f87565b600414156125865760408051808201909152601a81527f436c696d61746520416374696f6e20496e69746961746976657300000000000060208201528160016124a4565b612591600684613f87565b600514156125c25760408051808201909152600a815269546563686e6f6c6f677960b01b60208201528160016124a4565b60408051808201909152601b81527f456e7669726f6e6d656e74616c204f7267616e697a6174696f6e73000000000060208201528160016124a4565b604080518082019091526009815268105cdcd95b589b195960ba1b602082015281600160200201525b60408051808201825260058152640113eae96160dd1b602080830191909152838301829052835184820151935160009461266694929390929101613a99565b60408051601f19818403018152919052949350505050565b606061268861367a565b6060610bb884116127195760405180610140016040528061011f81526020016141ae61011f913982526126ba84611ca1565b602083810191825260408051808201825260158152741e17ba39b830b71f1e17ba32bc3a1f1e17b9bb339f60591b81840152818601819052855193519151612703949301613a99565b60405160208183030381529060405290506128d1565b60405180610140016040528061011d815260200161402061011d9139825260008481526013602052604090205461274f90612ad3565b602083810191909152604080518082018252601f81527f3c2f747370616e3e3c747370616e20783d223525222064793d2232656d223e008184015281850152600086815260139092529020600101546127a790612bd9565b60608301526000848152601360205260409020600201546127c790612cd8565b60808301526000848152601360205260409020600301546127e790612dd3565b60a083015260008481526013602052604090206004015461280790612edd565b60c083015260008481526013602052604090206005015461282790612fd4565b60e08301526040805180820190915260158152741e17ba39b830b71f1e17ba32bc3a1f1e17b9bb339f60591b6020820152826008602090810291909101919091528251838201516040808601516060870151608088015192516128939692939192849291839101613adc565b60408051808303601f1901815282825260a08501519185015160c086015160e087015161010088015193965061266695879594849291602001613adc565b9392505050565b60608151600014156128f857505060408051602081019091526000815290565b600060405180606001604052806040815260200161413d60409139905060006003845160026129279190613ea3565b6129319190613ebb565b61293c906004613ecf565b67ffffffffffffffff81111561295457612954613ff3565b6040519080825280601f01601f19166020018201604052801561297e576020820181803683370190505b509050600182016020820185865187015b808210156129ea576003820191508151603f8160121c168501518453600184019350603f81600c1c168501518453600184019350603f8160061c168501518453600184019350603f811685015184535060018301925061298f565b5050600386510660018114612a065760028114612a1957612a21565b603d6001830353603d6002830353612a21565b603d60018303535b509195945050505050565b6000612a3782610eda565b9050612a45816000846130de565b612a50600083611ec0565b6001600160a01b0381166000908152600360205260408120805460019290612a79908490613eee565b909155505060008281526002602052604080822080546001600160a01b0319169055518391906001600160a01b038416907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a45050565b6060610934826040518060400160405280601081526020016f4e61747572616c20486162697461747360801b815250600d805480602002602001604051908101604052809291908181526020016000905b82821015612bd0578382906000526020600020018054612b4390613f31565b80601f0160208091040260200160405190810160405280929190818152602001828054612b6f90613f31565b8015612bbc5780601f10612b9157610100808354040283529160200191612bbc565b820191906000526020600020905b815481529060010190602001808311612b9f57829003601f168201915b505050505081526020019060010190612b24565b505050506132d6565b60606109348260405180604001604052806012815260200171456e64616e6765726564205370656369657360701b815250600e805480602002602001604051908101604052809291908181526020016000905b82821015612bd0578382906000526020600020018054612c4b90613f31565b80601f0160208091040260200160405190810160405280929190818152602001828054612c7790613f31565b8015612cc45780601f10612c9957610100808354040283529160200191612cc4565b820191906000526020600020905b815481529060010190602001808311612ca757829003601f168201915b505050505081526020019060010190612c2c565b6060610934826040518060400160405280600e81526020016d436c696d617465204368616e676560901b815250600f805480602002602001604051908101604052809291908181526020016000905b82821015612bd0578382906000526020600020018054612d4690613f31565b80601f0160208091040260200160405190810160405280929190818152602001828054612d7290613f31565b8015612dbf5780601f10612d9457610100808354040283529160200191612dbf565b820191906000526020600020905b815481529060010190602001808311612da257829003601f168201915b505050505081526020019060010190612d27565b6060610934826040518060400160405280601a81526020017f436c696d61746520416374696f6e20496e6974696174697665730000000000008152506010805480602002602001604051908101604052809291908181526020016000905b82821015612bd0578382906000526020600020018054612e5090613f31565b80601f0160208091040260200160405190810160405280929190818152602001828054612e7c90613f31565b8015612ec95780601f10612e9e57610100808354040283529160200191612ec9565b820191906000526020600020905b815481529060010190602001808311612eac57829003601f168201915b505050505081526020019060010190612e31565b6060610934826040518060400160405280600a815260200169546563686e6f6c6f677960b01b8152506011805480602002602001604051908101604052809291908181526020016000905b82821015612bd0578382906000526020600020018054612f4790613f31565b80601f0160208091040260200160405190810160405280929190818152602001828054612f7390613f31565b8015612fc05780601f10612f9557610100808354040283529160200191612fc0565b820191906000526020600020905b815481529060010190602001808311612fa357829003601f168201915b505050505081526020019060010190612f28565b6060610934826040518060400160405280601b81526020017f456e7669726f6e6d656e74616c204f7267616e697a6174696f6e7300000000008152506012805480602002602001604051908101604052809291908181526020016000905b82821015612bd057838290600052602060002001805461305190613f31565b80601f016020809104026020016040519081016040528092919081815260200182805461307d90613f31565b80156130ca5780601f1061309f576101008083540402835291602001916130ca565b820191906000526020600020905b8154815290600101906020018083116130ad57829003601f168201915b505050505081526020019060010190613032565b6001600160a01b0383166131395761313481600880546000838152600960205260408120829055600182018355919091527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee30155565b61315c565b816001600160a01b0316836001600160a01b03161461315c5761315c8382613344565b6001600160a01b03821661317357610b77816133e1565b826001600160a01b0316826001600160a01b031614610b7757610b778282613490565b6131a083836134d4565b6131ad60008484846131c9565b610b775760405162461bcd60e51b8152600401610a4190613d9a565b60006001600160a01b0384163b156132cb57604051630a85bd0160e11b81526001600160a01b0385169063150b7a029061320d903390899088908890600401613cd8565b602060405180830381600087803b15801561322757600080fd5b505af1925050508015613257575060408051601f3d908101601f19168201909252613254918101906138f4565b60015b6132b1573d808015613285576040519150601f19603f3d011682016040523d82523d6000602084013e61328a565b606091505b5080516132a95760405162461bcd60e51b8152600401610a4190613d9a565b805181602001fd5b6001600160e01b031916630a85bd0160e11b14905061201d565b506001949350505050565b6060600061330c846132e78761233a565b6040516020016132f8929190613a6a565b604051602081830303815290604052613622565b905060008384518361331e9190613f87565b8151811061332e5761332e613fdd565b6020026020010151905080925050509392505050565b6000600161335184610f8f565b61335b9190613eee565b6000838152600760205260409020549091508082146133ae576001600160a01b03841660009081526006602090815260408083208584528252808320548484528184208190558352600790915290208190555b5060009182526007602090815260408084208490556001600160a01b039094168352600681528383209183525290812055565b6008546000906133f390600190613eee565b6000838152600960205260408120546008805493945090928490811061341b5761341b613fdd565b90600052602060002001549050806008838154811061343c5761343c613fdd565b600091825260208083209091019290925582815260099091526040808220849055858252812055600880548061347457613474613fc7565b6001900381819060005260206000200160009055905550505050565b600061349b83610f8f565b6001600160a01b039093166000908152600660209081526040808320868452825280832085905593825260079052919091209190915550565b6001600160a01b03821661352a5760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401610a41565b6000818152600260205260409020546001600160a01b03161561358f5760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610a41565b61359b600083836130de565b6001600160a01b03821660009081526003602052604081208054600192906135c4908490613ea3565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b6000816040516020016136359190613a4e565b60408051601f19818403018152919052805160209091012092915050565b60405180606001604052806003905b60608152602001906001900390816136625790505090565b60408051610120810190915260608152600860208201613662565b80356001600160a01b0381168114611dd357600080fd5b6000602082840312156136be57600080fd5b6128d182613695565b600080604083850312156136da57600080fd5b6136e383613695565b91506136f160208401613695565b90509250929050565b60008060006060848603121561370f57600080fd5b61371884613695565b925061372660208501613695565b9150604084013590509250925092565b6000806000806080858703121561374c57600080fd5b61375585613695565b93506020613764818701613695565b935060408601359250606086013567ffffffffffffffff8082111561378857600080fd5b818801915088601f83011261379c57600080fd5b8135818111156137ae576137ae613ff3565b6137c0601f8201601f19168501613e72565b915080825289848285010111156137d657600080fd5b808484018584013760008482840101525080935050505092959194509250565b6000806040838503121561380957600080fd5b61381283613695565b91506020830135801515811461382757600080fd5b809150509250929050565b6000806040838503121561384557600080fd5b61384e83613695565b946020939093013593505050565b600060c0828403121561386e57600080fd5b82601f83011261387d57600080fd5b60405160c0810181811067ffffffffffffffff821117156138a0576138a0613ff3565b604052808360c081018610156138b557600080fd5b60005b6006811015612a215781358352602092830192909101906001016138b8565b6000602082840312156138e957600080fd5b81356128d181614009565b60006020828403121561390657600080fd5b81516128d181614009565b60006020828403121561392357600080fd5b5035919050565b60006020828403121561393c57600080fd5b5051919050565b6000815180845261395b816020860160208601613f05565b601f01601f19169290920160200192915050565b7f22696d616765223a2022646174613a696d6167652f7376672b786d6c3b626173815263194d8d0b60e21b602082015260240190565b7f222c20226465736372697074696f6e223a20224b6e6f78576f726c642069732081527f6120636f6c6c656374696f6e20636f6e73697374696e67206f6620332c30303060208201527f204e4654732066756c6c206f6620776f7264732074686174206172652072656c60408201527f6174656420746f20776f726c6420636f6e736572766174696f6e20616e64205260608201526432a334971160d91b608082015260850190565b60008251613a60818460208701613f05565b9190910192915050565b60008351613a7c818460208801613f05565b835190830190613a90818360208801613f05565b01949350505050565b60008451613aab818460208901613f05565b845190830190613abf818360208901613f05565b8451910190613ad2818360208801613f05565b0195945050505050565b600088516020613aef8285838e01613f05565b895191840191613b028184848e01613f05565b8951920191613b148184848d01613f05565b8851920191613b268184848c01613f05565b8751920191613b388184848b01613f05565b8651920191613b4a8184848a01613f05565b8551920191613b5c8184848901613f05565b919091019a9950505050505050505050565b693d913730b6b2911d101160b11b81528451600090613b9481600a850160208a01613f05565b61202360f01b600a918401918201528551613bb681600c840160208a01613f05565b613bc4600c828401016139a5565b9150508451613bd7818360208901613f05565b613be281830161396f565b9150508351613bf5818360208801613f05565b61227d60f01b91019081526002019695505050505050565b7f646174613a6170706c69636174696f6e2f6a736f6e3b6261736536342c000000815260008251613c4581601d850160208701613f05565b91909101601d0192915050565b747b226e616d65223a20224b6e6f78576f726c64202360581b81528351600090613c83816015850160208901613f05565b613c916015828501016139a5565b90508451613ca3818360208901613f05565b613cae81830161396f565b9150508351613cc1818360208801613f05565b61227d60f01b910190815260020195945050505050565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090613d0b90830184613943565b9695505050505050565b6020808252825182820181905260009190848201906040850190845b81811015613d4d57835183529284019291840191600101613d31565b50909695505050505050565b6020815260006128d16020830184613943565b6020808252601490820152731cdd5c1c1b1e481b1a5b5a5d081c995858da195960621b604082015260600190565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b604051601f8201601f1916810167ffffffffffffffff81118282101715613e9b57613e9b613ff3565b604052919050565b60008219821115613eb657613eb6613f9b565b500190565b600082613eca57613eca613fb1565b500490565b6000816000190483118215151615613ee957613ee9613f9b565b500290565b600082821015613f0057613f00613f9b565b500390565b60005b83811015613f20578181015183820152602001613f08565b8381111561198e5750506000910152565b600181811c90821680613f4557607f821691505b60208210811415613f6657634e487b7160e01b600052602260045260246000fd5b50919050565b6000600019821415613f8057613f80613f9b565b5060010190565b600082613f9657613f96613fb1565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052603160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b03198116811461168957600080fdfe3c73766720786d6c6e733d22687474703a2f2f7777772e77332e6f72672f323030302f73766722207072657365727665417370656374526174696f3d22784d696e594d696e206d656574222076696577426f783d2230203020313030302031303030223e3c7374796c653e2e62617365207b2066696c6c3a2077686974653b20666f6e742d66616d696c793a2073657269663b20666f6e742d73697a653a20333570783b20746578742d616e63686f723a206c6566743b207d3c2f7374796c653e3c726563742077696474683d223130302522206865696768743d2231303025222066696c6c3d222333383538303222202f3e3c7465787420636c6173733d2262617365223e3c747370616e20783d2235252220793d2233353022203e4142434445464748494a4b4c4d4e4f505152535455565758595a6162636465666768696a6b6c6d6e6f707172737475767778797a303132333435363738392b2f2c202261747472696275746573223a205b7b2274726169745f74797065223a202254797065222c2276616c7565223a20223c73766720786d6c6e733d22687474703a2f2f7777772e77332e6f72672f323030302f73766722207072657365727665417370656374526174696f3d22784d696e594d696e206d656574222076696577426f783d2230203020313030302031303030223e3c7374796c653e2e62617365207b2066696c6c3a2077686974653b20666f6e742d66616d696c793a2073657269663b20666f6e742d73697a653a20333570783b20746578742d616e63686f723a206d6964646c653b207d3c2f7374796c653e3c726563742077696474683d223130302522206865696768743d2231303025222066696c6c3d222333383538303222202f3e3c7465787420636c6173733d2262617365223e3c747370616e20783d223530252220793d22353025223ea26469706673582212207962523eb0116248380aecd6b2eb5473c7a0e05b8c57d3626546da99376d713164736f6c63430008070033466f756e646174696f6e20666f7220456e7669726f6e6d656e74616c20456475636174696f6e4c65616465727368697020666f7220557262616e20436c696d61746520496e766573746d656e744c6561646572736869702047726f757020666f7220496e647573747279205472616e736974696f6e552e532e2d43616e61646120416972205175616c6974792041677265656d656e74436f6e76656e74696f6e206f6e2042696f6c6f676963616c204469766572736974794575726f7065616e20436c696d617465204368616e67652050726f6772616d6d65466f726573747320616e6420746865204575726f7065616e20556e696f6e205265736f75726365204e6574776f726b436f6e66656465726174696f6e206f66204575726f7065616e20456e7669726f6e6d656e74616c20456e67696e656572696e6720536f636965746965734e6577205a65616c616e6420456d697373696f6e732054726164696e6720536368656d65427573696e65737320416d626974696f6e20666f7220312e352043656c73697573496e746572616d65726963616e204173736f63696174696f6e20666f7220456e7669726f6e6d656e74616c20446566656e7365496e7465726e6174696f6e616c20416e616c6f6720466f726573747279204e6574776f726b4368696e61204175737472616c6961204d69677261746f727920426972642041677265656d656e74496e7375526573696c69656e63652047726f757020506172746e65727368697020566973696f6e2032303235416374696f6e20746f776172647320436c696d6174652d467269656e646c79205472616e73706f72744f6365616e205269736b20616e6420526573696c69656e636520416374696f6e20416c6c69616e636554686520496e7465726e6174696f6e616c20436c696d61746520496e6974696174697665496e7465726e6174696f6e616c20556e696f6e20666f7220436f6e736572766174696f6e206f66204e61747572654d69677261746f727920426972642054726561747920416374206f6620313931384575726f7065616e20556e696f6e20456d697373696f6e732054726164696e6720536368656d654172616220466f72756d20666f7220456e7669726f6e6d656e7420616e6420446576656c6f706d656e7443656e74657220666f7220446576656c6f706d656e7420616e64205374726174656779436f6d70726568656e73697665204e75636c6561722d546573742d42616e20547265617479427261686d6170757472612d5961726c756e67205473616e67706f2052697665725269736b2d496e666f726d6564204561726c7920416374696f6e20506172746e657273686970436f616c6974696f6e20666f722044697361737465722d526573696c69656e7420496e667261737472756374757265436f616c6974696f6e20666f7220436c696d61746520526573696c69656e7420496e766573746d656e74

Deployed ByteCode

0x6080604052600436106102c95760003560e01c8063791d04db11610175578063a9599e61116100dc578063d10ac80e11610095578063d463bf771161006f578063d463bf7714610866578063e985e9c514610886578063eb969a27146108cf578063f2fde38b146108ef57600080fd5b8063d10ac80e14610828578063d11445591461083b578063d2ed5c591461085157600080fd5b8063a9599e6114610766578063ad606c7214610786578063af4cd4a91461079b578063b4d05e82146107c8578063b88d4fde146107e8578063c87b56dd1461080857600080fd5b80638d6cc56d1161012e5780638d6cc56d146106ca5780638da5cb5b146106ea57806395d89b4114610708578063a035b1fe1461071d578063a0712d6814610733578063a22cb4651461074657600080fd5b8063791d04db146105d7578063792fc4a9146105f15780637e9845f51461066e578063844e033214610684578063868ff4a2146106a45780638ccfe2c4146106b757600080fd5b80633758187c1161023457806350f61778116101ed57806369cc4f86116101c757806369cc4f861461057757806370a082311461058c578063715018a6146105ac578063776a886f146105c157600080fd5b806350f617781461052c5780635a0b8b23146105415780636352211e1461055757600080fd5b80633758187c1461046a578063375a069a1461048057806342842e0e146104a0578063438b6300146104c0578063471a4294146104ed5780634f6ccce71461050c57600080fd5b8063223bb8a011610286578063223bb8a0146103be57806323b872dd146103de57806329e4bb72146103fe5780632f745c591461041457806332cb6b0c14610434578063342a39e31461044a57600080fd5b806301ffc9a7146102ce57806306fdde0314610303578063081812fc14610325578063095ea7b31461035d57806315d8d2901461037f57806318160ddd1461039f575b600080fd5b3480156102da57600080fd5b506102ee6102e93660046138d7565b61090f565b60405190151581526020015b60405180910390f35b34801561030f57600080fd5b5061031861093a565b6040516102fa9190613d59565b34801561033157600080fd5b50610345610340366004613911565b6109cc565b6040516001600160a01b0390911681526020016102fa565b34801561036957600080fd5b5061037d610378366004613832565b610a66565b005b34801561038b57600080fd5b50600b54610345906001600160a01b031681565b3480156103ab57600080fd5b506008545b6040519081526020016102fa565b3480156103ca57600080fd5b5061037d6103d9366004613911565b610b7c565b3480156103ea57600080fd5b5061037d6103f93660046136fa565b610bab565b34801561040a57600080fd5b506103b0601a5481565b34801561042057600080fd5b506103b061042f366004613832565b610bdc565b34801561044057600080fd5b506103b0610bb881565b34801561045657600080fd5b5061037d610465366004613911565b610c72565b34801561047657600080fd5b506103b060175481565b34801561048c57600080fd5b5061037d61049b366004613911565b610ca1565b3480156104ac57600080fd5b5061037d6104bb3660046136fa565b610d41565b3480156104cc57600080fd5b506104e06104db3660046136ac565b610d5c565b6040516102fa9190613d15565b3480156104f957600080fd5b506015546102ee90610100900460ff1681565b34801561051857600080fd5b506103b0610527366004613911565b610dfe565b34801561053857600080fd5b5061037d610e91565b34801561054d57600080fd5b506103b0601c5481565b34801561056357600080fd5b50610345610572366004613911565b610eda565b34801561058357600080fd5b5061037d610f51565b34801561059857600080fd5b506103b06105a73660046136ac565b610f8f565b3480156105b857600080fd5b5061037d611016565b3480156105cd57600080fd5b506103b060195481565b3480156105e357600080fd5b506015546102ee9060ff1681565b3480156105fd57600080fd5b5061064161060c366004613911565b601360205260009081526040902080546001820154600283015460038401546004850154600590950154939492939192909186565b604080519687526020870195909552938501929092526060840152608083015260a082015260c0016102fa565b34801561067a57600080fd5b506103b060165481565b34801561069057600080fd5b506015546102ee9062010000900460ff1681565b61037d6106b2366004613911565b61104c565b61037d6106c536600461385c565b6112f1565b3480156106d657600080fd5b5061037d6106e5366004613911565b61168c565b3480156106f657600080fd5b50600a546001600160a01b0316610345565b34801561071457600080fd5b506103186116bb565b34801561072957600080fd5b506103b060185481565b61037d610741366004613911565b6116ca565b34801561075257600080fd5b5061037d6107613660046137f6565b61182d565b34801561077257600080fd5b5061037d610781366004613911565b611838565b34801561079257600080fd5b5061037d611867565b3480156107a757600080fd5b506103b06107b63660046136ac565b60146020526000908152604090205481565b3480156107d457600080fd5b50600c54610345906001600160a01b031681565b3480156107f457600080fd5b5061037d610803366004613736565b61195c565b34801561081457600080fd5b50610318610823366004613911565b611994565b61037d610836366004613911565b611ad9565b34801561084757600080fd5b506103b0601b5481565b34801561085d57600080fd5b5061037d611c2b565b34801561087257600080fd5b5061037d610881366004613911565b611c72565b34801561089257600080fd5b506102ee6108a13660046136c7565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b3480156108db57600080fd5b506103186108ea366004613911565b611ca1565b3480156108fb57600080fd5b5061037d61090a3660046136ac565b611dd8565b60006001600160e01b0319821663780e9d6360e01b1480610934575061093482611e70565b92915050565b60606000805461094990613f31565b80601f016020809104026020016040519081016040528092919081815260200182805461097590613f31565b80156109c25780601f10610997576101008083540402835291602001916109c2565b820191906000526020600020905b8154815290600101906020018083116109a557829003601f168201915b5050505050905090565b6000818152600260205260408120546001600160a01b0316610a4a5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084015b60405180910390fd5b506000908152600460205260409020546001600160a01b031690565b6000610a7182610eda565b9050806001600160a01b0316836001600160a01b03161415610adf5760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b6064820152608401610a41565b336001600160a01b0382161480610afb5750610afb81336108a1565b610b6d5760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006064820152608401610a41565b610b778383611ec0565b505050565b600a546001600160a01b03163314610ba65760405162461bcd60e51b8152600401610a4190613dec565b601b55565b610bb53382611f2e565b610bd15760405162461bcd60e51b8152600401610a4190613e21565b610b77838383612025565b6000610be783610f8f565b8210610c495760405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201526a74206f6620626f756e647360a81b6064820152608401610a41565b506001600160a01b03919091166000908152600660209081526040808320938352929052205490565b600a546001600160a01b03163314610c9c5760405162461bcd60e51b8152600401610a4190613dec565b601c55565b600a546001600160a01b03163314610ccb5760405162461bcd60e51b8152600401610a4190613dec565b610bb881601654610cdc9190613ea3565b1115610cfa5760405162461bcd60e51b8152600401610a4190613d6c565b60005b81811015610d3d57600160166000828254610d189190613ea3565b92505081905550610d2b336016546121cc565b80610d3581613f6c565b915050610cfd565b5050565b610b778383836040518060200160405280600081525061195c565b60606000610d6983610f8f565b905060008167ffffffffffffffff811115610d8657610d86613ff3565b604051908082528060200260200182016040528015610daf578160200160208202803683370190505b50905060005b82811015610df657610dc78582610bdc565b828281518110610dd957610dd9613fdd565b602090810291909101015280610dee81613f6c565b915050610db5565b509392505050565b6000610e0960085490565b8210610e6c5760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201526b7574206f6620626f756e647360a01b6064820152608401610a41565b60088281548110610e7f57610e7f613fdd565b90600052602060002001549050919050565b600a546001600160a01b03163314610ebb5760405162461bcd60e51b8152600401610a4190613dec565b6015805462ff0000198116620100009182900460ff1615909102179055565b6000818152600260205260408120546001600160a01b0316806109345760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b6064820152608401610a41565b600a546001600160a01b03163314610f7b5760405162461bcd60e51b8152600401610a4190613dec565b6015805460ff19811660ff90911615179055565b60006001600160a01b038216610ffa5760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b6064820152608401610a41565b506001600160a01b031660009081526003602052604090205490565b600a546001600160a01b031633146110405760405162461bcd60e51b8152600401610a4190613dec565b61104a60006121e6565b565b60155460ff166110935760405162461bcd60e51b81526020600482015260126024820152711b5a5b9d081b9bdd081858dd1a5d985d195960721b6044820152606401610a41565b600b546040516370a0823160e01b81523360048201526000916001600160a01b0316906370a082319060240160206040518083038186803b1580156110d757600080fd5b505afa1580156110eb573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061110f919061392a565b116111555760405162461bcd60e51b815260206004820152601660248201527537b7363c903337b91025b737bc32b9103437b63232b960511b6044820152606401610a41565b6000811180156111675750601b548111155b6111a95760405162461bcd60e51b8152602060048201526013602482015272125b9d985b1a59081b5a5b9d08185b5bdd5b9d606a1b6044820152606401610a41565b601c54336000908152601460205260409020546111c7908390613ea3565b11156112095760405162461bcd60e51b81526020600482015260116024820152701b585e080d4c081c195c881dd85b1b195d607a1b6044820152606401610a41565b806018546112179190613ecf565b341461125a5760405162461bcd60e51b8152602060048201526012602482015271496e73756666696369656e742066756e647360701b6044820152606401610a41565b610bb88160165461126b9190613ea3565b11156112895760405162461bcd60e51b8152600401610a4190613d6c565b33600090815260146020526040812080548392906112a8908490613ea3565b90915550600090505b81811015610d3d576001601660008282546112cc9190613ea3565b925050819055506112df336016546121cc565b806112e981613f6c565b9150506112b1565b60155462010000900460ff166113425760405162461bcd60e51b8152602060048201526016602482015275185cdcd95b589b19481b9bdd081858dd1a5d985d195960521b6044820152606401610a41565b805161135090600690613f87565b6001146113985760405162461bcd60e51b81526020600482015260166024820152756669727374204e61747572616c20486162697461747360501b6044820152606401610a41565b60208101516113a990600690613f87565b6002146113f85760405162461bcd60e51b815260206004820152601960248201527f7365636f6e6420456e64616e67657265642053706563696573000000000000006044820152606401610a41565b604081015161140990600690613f87565b60031461144f5760405162461bcd60e51b8152602060048201526014602482015273746869726420436c696d617465204368616e676560601b6044820152606401610a41565b606081015161146090600690613f87565b6004146114b95760405162461bcd60e51b815260206004820152602160248201527f666f7572746820436c696d61746520416374696f6e20496e69746961746976656044820152607360f81b6064820152608401610a41565b60808101516114ca90600690613f87565b60051461150c5760405162461bcd60e51b815260206004820152601060248201526f666966746820546563686e6f6c6f677960801b6044820152606401610a41565b60a081015161151d90600690613f87565b156115745760405162461bcd60e51b815260206004820152602160248201527f736978746820456e7669726f6e6d656e74616c204f7267616e697a6174696f6e6044820152607360f81b6064820152608401610a41565b60195434146115ba5760405162461bcd60e51b8152602060048201526012602482015271696e73756666696369656e742066756e647360701b6044820152606401610a41565b60005b60068110156115f9576115e733308484600681106115dd576115dd613fdd565b6020020151610bab565b806115f181613f6c565b9150506115bd565b5060016017600082825461160d9190613ea3565b90915550508051601780546000908152601360209081526040808320949094558401518254825283822060010155828401518254825283822060020155606084015182548252838220600301556080840151825482528382206004015560a08401518254825292902060050191909155546116899033906121cc565b50565b600a546001600160a01b031633146116b65760405162461bcd60e51b8152600401610a4190613dec565b601855565b60606001805461094990613f31565b601554610100900460ff166117165760405162461bcd60e51b81526020600482015260126024820152711b5a5b9d081b9bdd081858dd1a5d985d195960721b6044820152606401610a41565b6000811180156117285750601b548111155b61176a5760405162461bcd60e51b8152602060048201526013602482015272125b9d985b1a59081b5a5b9d08185b5bdd5b9d606a1b6044820152606401610a41565b806018546117789190613ecf565b34146117bb5760405162461bcd60e51b8152602060048201526012602482015271496e73756666696369656e742066756e647360701b6044820152606401610a41565b610bb8816016546117cc9190613ea3565b11156117ea5760405162461bcd60e51b8152600401610a4190613d6c565b60005b81811015610d3d576001601660008282546118089190613ea3565b9250508190555061181b336016546121cc565b8061182581613f6c565b9150506117ed565b610d3d338383612238565b600a546001600160a01b031633146118625760405162461bcd60e51b8152600401610a4190613dec565b601955565b600a546001600160a01b031633146118915760405162461bcd60e51b8152600401610a4190613dec565b47806118d15760405162461bcd60e51b815260206004820152600f60248201526e4e6f206d6f72652062616c616e636560881b6044820152606401610a41565b604051600090339083908381818185875af1925050503d8060008114611913576040519150601f19603f3d011682016040523d82523d6000602084013e611918565b606091505b5050905080610d3d5760405162461bcd60e51b815260206004820152601060248201526f2a3930b739b332b9103330b4b632b21760811b6044820152606401610a41565b6119663383611f2e565b6119825760405162461bcd60e51b8152600401610a4190613e21565b61198e84848484612307565b50505050565b6000818152600260205260409020546060906001600160a01b0316611a135760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b6064820152608401610a41565b6060610bb88311611a7b57611a74611a2a84611ca1565b611a338561233a565b611a3c86612438565b611a4d611a488861267e565b6128d8565b604051602001611a609493929190613b6e565b6040516020818303038152906040526128d8565b9050611ab1565b611aae611a878461233a565b611a9085612438565b611a9c611a488761267e565b604051602001611a6093929190613c52565b90505b80604051602001611ac29190613c0d565b60408051601f198184030181529190529392505050565b33611ae382610eda565b6001600160a01b031614611b255760405162461bcd60e51b81526020600482015260096024820152683737ba1037bbb732b960b91b6044820152606401610a41565b601a543414611b6b5760405162461bcd60e51b8152602060048201526012602482015271696e73756666696369656e742066756e647360701b6044820152606401610a41565b611b7481612a2c565b600081815260136020526040902054611b909030903390612025565b600081815260136020526040902060010154611baf9030903390612025565b600081815260136020526040902060020154611bce9030903390612025565b600081815260136020526040902060030154611bed9030903390612025565b600081815260136020526040902060040154611c0c9030903390612025565b6000818152601360205260409020600501546116899030903390612025565b600a546001600160a01b03163314611c555760405162461bcd60e51b8152600401610a4190613dec565b6015805461ff001981166101009182900460ff1615909102179055565b600a546001600160a01b03163314611c9c5760405162461bcd60e51b8152600401610a4190613dec565b601a55565b6060610bb8821115611ce85760405162461bcd60e51b815260206004820152601060248201526f1a5b9d985b1a59081d1bdad95b881a5960821b6044820152606401610a41565b6000828152600260205260409020546001600160a01b0316611d3e5760405162461bcd60e51b815260206004820152600f60248201526e1d1bdad95b881b9bdd08195e1a5cdd608a1b6044820152606401610a41565b611d49600683613f87565b60011415611d5a5761093482612ad3565b611d65600683613f87565b60021415611d765761093482612bd9565b611d81600683613f87565b60031415611d925761093482612cd8565b611d9d600683613f87565b60041415611dae5761093482612dd3565b611db9600683613f87565b60051415611dca5761093482612edd565b61093482612fd4565b919050565b600a546001600160a01b03163314611e025760405162461bcd60e51b8152600401610a4190613dec565b6001600160a01b038116611e675760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610a41565b611689816121e6565b60006001600160e01b031982166380ac58cd60e01b1480611ea157506001600160e01b03198216635b5e139f60e01b145b8061093457506301ffc9a760e01b6001600160e01b0319831614610934565b600081815260046020526040902080546001600160a01b0319166001600160a01b0384169081179091558190611ef582610eda565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000818152600260205260408120546001600160a01b0316611fa75760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b6064820152608401610a41565b6000611fb283610eda565b9050806001600160a01b0316846001600160a01b03161480611ff957506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b8061201d5750836001600160a01b0316612012846109cc565b6001600160a01b0316145b949350505050565b826001600160a01b031661203882610eda565b6001600160a01b03161461209c5760405162461bcd60e51b815260206004820152602560248201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060448201526437bbb732b960d91b6064820152608401610a41565b6001600160a01b0382166120fe5760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b6064820152608401610a41565b6121098383836130de565b612114600082611ec0565b6001600160a01b038316600090815260036020526040812080546001929061213d908490613eee565b90915550506001600160a01b038216600090815260036020526040812080546001929061216b908490613ea3565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b610d3d828260405180602001604052806000815250613196565b600a80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b816001600160a01b0316836001600160a01b0316141561229a5760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610a41565b6001600160a01b03838116600081815260056020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b612312848484612025565b61231e848484846131c9565b61198e5760405162461bcd60e51b8152600401610a4190613d9a565b60608161235e5750506040805180820190915260018152600360fc1b602082015290565b8160005b8115612388578061237281613f6c565b91506123819050600a83613ebb565b9150612362565b60008167ffffffffffffffff8111156123a3576123a3613ff3565b6040519080825280601f01601f1916602001820160405280156123cd576020820181803683370190505b5090505b841561201d576123e2600183613eee565b91506123ef600a86613f87565b6123fa906030613ea3565b60f81b81838151811061240f5761240f613fdd565b60200101906001600160f81b031916908160001a905350612431600a86613ebb565b94506123d1565b6060612442613653565b60405180606001604052806031815260200161417d603191398152610bb883116125fe57612471600684613f87565b600114156124ae5760408051808201909152601081526f4e61747572616c20486162697461747360801b60208201528160015b6020020152612627565b6124b9600684613f87565b600214156124f757604080518082019091526012815271456e64616e6765726564205370656369657360701b60208201528160016020020152612627565b612502600684613f87565b600314156125375760408051808201909152600e81526d436c696d617465204368616e676560901b60208201528160016124a4565b612542600684613f87565b600414156125865760408051808201909152601a81527f436c696d61746520416374696f6e20496e69746961746976657300000000000060208201528160016124a4565b612591600684613f87565b600514156125c25760408051808201909152600a815269546563686e6f6c6f677960b01b60208201528160016124a4565b60408051808201909152601b81527f456e7669726f6e6d656e74616c204f7267616e697a6174696f6e73000000000060208201528160016124a4565b604080518082019091526009815268105cdcd95b589b195960ba1b602082015281600160200201525b60408051808201825260058152640113eae96160dd1b602080830191909152838301829052835184820151935160009461266694929390929101613a99565b60408051601f19818403018152919052949350505050565b606061268861367a565b6060610bb884116127195760405180610140016040528061011f81526020016141ae61011f913982526126ba84611ca1565b602083810191825260408051808201825260158152741e17ba39b830b71f1e17ba32bc3a1f1e17b9bb339f60591b81840152818601819052855193519151612703949301613a99565b60405160208183030381529060405290506128d1565b60405180610140016040528061011d815260200161402061011d9139825260008481526013602052604090205461274f90612ad3565b602083810191909152604080518082018252601f81527f3c2f747370616e3e3c747370616e20783d223525222064793d2232656d223e008184015281850152600086815260139092529020600101546127a790612bd9565b60608301526000848152601360205260409020600201546127c790612cd8565b60808301526000848152601360205260409020600301546127e790612dd3565b60a083015260008481526013602052604090206004015461280790612edd565b60c083015260008481526013602052604090206005015461282790612fd4565b60e08301526040805180820190915260158152741e17ba39b830b71f1e17ba32bc3a1f1e17b9bb339f60591b6020820152826008602090810291909101919091528251838201516040808601516060870151608088015192516128939692939192849291839101613adc565b60408051808303601f1901815282825260a08501519185015160c086015160e087015161010088015193965061266695879594849291602001613adc565b9392505050565b60608151600014156128f857505060408051602081019091526000815290565b600060405180606001604052806040815260200161413d60409139905060006003845160026129279190613ea3565b6129319190613ebb565b61293c906004613ecf565b67ffffffffffffffff81111561295457612954613ff3565b6040519080825280601f01601f19166020018201604052801561297e576020820181803683370190505b509050600182016020820185865187015b808210156129ea576003820191508151603f8160121c168501518453600184019350603f81600c1c168501518453600184019350603f8160061c168501518453600184019350603f811685015184535060018301925061298f565b5050600386510660018114612a065760028114612a1957612a21565b603d6001830353603d6002830353612a21565b603d60018303535b509195945050505050565b6000612a3782610eda565b9050612a45816000846130de565b612a50600083611ec0565b6001600160a01b0381166000908152600360205260408120805460019290612a79908490613eee565b909155505060008281526002602052604080822080546001600160a01b0319169055518391906001600160a01b038416907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a45050565b6060610934826040518060400160405280601081526020016f4e61747572616c20486162697461747360801b815250600d805480602002602001604051908101604052809291908181526020016000905b82821015612bd0578382906000526020600020018054612b4390613f31565b80601f0160208091040260200160405190810160405280929190818152602001828054612b6f90613f31565b8015612bbc5780601f10612b9157610100808354040283529160200191612bbc565b820191906000526020600020905b815481529060010190602001808311612b9f57829003601f168201915b505050505081526020019060010190612b24565b505050506132d6565b60606109348260405180604001604052806012815260200171456e64616e6765726564205370656369657360701b815250600e805480602002602001604051908101604052809291908181526020016000905b82821015612bd0578382906000526020600020018054612c4b90613f31565b80601f0160208091040260200160405190810160405280929190818152602001828054612c7790613f31565b8015612cc45780601f10612c9957610100808354040283529160200191612cc4565b820191906000526020600020905b815481529060010190602001808311612ca757829003601f168201915b505050505081526020019060010190612c2c565b6060610934826040518060400160405280600e81526020016d436c696d617465204368616e676560901b815250600f805480602002602001604051908101604052809291908181526020016000905b82821015612bd0578382906000526020600020018054612d4690613f31565b80601f0160208091040260200160405190810160405280929190818152602001828054612d7290613f31565b8015612dbf5780601f10612d9457610100808354040283529160200191612dbf565b820191906000526020600020905b815481529060010190602001808311612da257829003601f168201915b505050505081526020019060010190612d27565b6060610934826040518060400160405280601a81526020017f436c696d61746520416374696f6e20496e6974696174697665730000000000008152506010805480602002602001604051908101604052809291908181526020016000905b82821015612bd0578382906000526020600020018054612e5090613f31565b80601f0160208091040260200160405190810160405280929190818152602001828054612e7c90613f31565b8015612ec95780601f10612e9e57610100808354040283529160200191612ec9565b820191906000526020600020905b815481529060010190602001808311612eac57829003601f168201915b505050505081526020019060010190612e31565b6060610934826040518060400160405280600a815260200169546563686e6f6c6f677960b01b8152506011805480602002602001604051908101604052809291908181526020016000905b82821015612bd0578382906000526020600020018054612f4790613f31565b80601f0160208091040260200160405190810160405280929190818152602001828054612f7390613f31565b8015612fc05780601f10612f9557610100808354040283529160200191612fc0565b820191906000526020600020905b815481529060010190602001808311612fa357829003601f168201915b505050505081526020019060010190612f28565b6060610934826040518060400160405280601b81526020017f456e7669726f6e6d656e74616c204f7267616e697a6174696f6e7300000000008152506012805480602002602001604051908101604052809291908181526020016000905b82821015612bd057838290600052602060002001805461305190613f31565b80601f016020809104026020016040519081016040528092919081815260200182805461307d90613f31565b80156130ca5780601f1061309f576101008083540402835291602001916130ca565b820191906000526020600020905b8154815290600101906020018083116130ad57829003601f168201915b505050505081526020019060010190613032565b6001600160a01b0383166131395761313481600880546000838152600960205260408120829055600182018355919091527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee30155565b61315c565b816001600160a01b0316836001600160a01b03161461315c5761315c8382613344565b6001600160a01b03821661317357610b77816133e1565b826001600160a01b0316826001600160a01b031614610b7757610b778282613490565b6131a083836134d4565b6131ad60008484846131c9565b610b775760405162461bcd60e51b8152600401610a4190613d9a565b60006001600160a01b0384163b156132cb57604051630a85bd0160e11b81526001600160a01b0385169063150b7a029061320d903390899088908890600401613cd8565b602060405180830381600087803b15801561322757600080fd5b505af1925050508015613257575060408051601f3d908101601f19168201909252613254918101906138f4565b60015b6132b1573d808015613285576040519150601f19603f3d011682016040523d82523d6000602084013e61328a565b606091505b5080516132a95760405162461bcd60e51b8152600401610a4190613d9a565b805181602001fd5b6001600160e01b031916630a85bd0160e11b14905061201d565b506001949350505050565b6060600061330c846132e78761233a565b6040516020016132f8929190613a6a565b604051602081830303815290604052613622565b905060008384518361331e9190613f87565b8151811061332e5761332e613fdd565b6020026020010151905080925050509392505050565b6000600161335184610f8f565b61335b9190613eee565b6000838152600760205260409020549091508082146133ae576001600160a01b03841660009081526006602090815260408083208584528252808320548484528184208190558352600790915290208190555b5060009182526007602090815260408084208490556001600160a01b039094168352600681528383209183525290812055565b6008546000906133f390600190613eee565b6000838152600960205260408120546008805493945090928490811061341b5761341b613fdd565b90600052602060002001549050806008838154811061343c5761343c613fdd565b600091825260208083209091019290925582815260099091526040808220849055858252812055600880548061347457613474613fc7565b6001900381819060005260206000200160009055905550505050565b600061349b83610f8f565b6001600160a01b039093166000908152600660209081526040808320868452825280832085905593825260079052919091209190915550565b6001600160a01b03821661352a5760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401610a41565b6000818152600260205260409020546001600160a01b03161561358f5760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610a41565b61359b600083836130de565b6001600160a01b03821660009081526003602052604081208054600192906135c4908490613ea3565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b6000816040516020016136359190613a4e565b60408051601f19818403018152919052805160209091012092915050565b60405180606001604052806003905b60608152602001906001900390816136625790505090565b60408051610120810190915260608152600860208201613662565b80356001600160a01b0381168114611dd357600080fd5b6000602082840312156136be57600080fd5b6128d182613695565b600080604083850312156136da57600080fd5b6136e383613695565b91506136f160208401613695565b90509250929050565b60008060006060848603121561370f57600080fd5b61371884613695565b925061372660208501613695565b9150604084013590509250925092565b6000806000806080858703121561374c57600080fd5b61375585613695565b93506020613764818701613695565b935060408601359250606086013567ffffffffffffffff8082111561378857600080fd5b818801915088601f83011261379c57600080fd5b8135818111156137ae576137ae613ff3565b6137c0601f8201601f19168501613e72565b915080825289848285010111156137d657600080fd5b808484018584013760008482840101525080935050505092959194509250565b6000806040838503121561380957600080fd5b61381283613695565b91506020830135801515811461382757600080fd5b809150509250929050565b6000806040838503121561384557600080fd5b61384e83613695565b946020939093013593505050565b600060c0828403121561386e57600080fd5b82601f83011261387d57600080fd5b60405160c0810181811067ffffffffffffffff821117156138a0576138a0613ff3565b604052808360c081018610156138b557600080fd5b60005b6006811015612a215781358352602092830192909101906001016138b8565b6000602082840312156138e957600080fd5b81356128d181614009565b60006020828403121561390657600080fd5b81516128d181614009565b60006020828403121561392357600080fd5b5035919050565b60006020828403121561393c57600080fd5b5051919050565b6000815180845261395b816020860160208601613f05565b601f01601f19169290920160200192915050565b7f22696d616765223a2022646174613a696d6167652f7376672b786d6c3b626173815263194d8d0b60e21b602082015260240190565b7f222c20226465736372697074696f6e223a20224b6e6f78576f726c642069732081527f6120636f6c6c656374696f6e20636f6e73697374696e67206f6620332c30303060208201527f204e4654732066756c6c206f6620776f7264732074686174206172652072656c60408201527f6174656420746f20776f726c6420636f6e736572766174696f6e20616e64205260608201526432a334971160d91b608082015260850190565b60008251613a60818460208701613f05565b9190910192915050565b60008351613a7c818460208801613f05565b835190830190613a90818360208801613f05565b01949350505050565b60008451613aab818460208901613f05565b845190830190613abf818360208901613f05565b8451910190613ad2818360208801613f05565b0195945050505050565b600088516020613aef8285838e01613f05565b895191840191613b028184848e01613f05565b8951920191613b148184848d01613f05565b8851920191613b268184848c01613f05565b8751920191613b388184848b01613f05565b8651920191613b4a8184848a01613f05565b8551920191613b5c8184848901613f05565b919091019a9950505050505050505050565b693d913730b6b2911d101160b11b81528451600090613b9481600a850160208a01613f05565b61202360f01b600a918401918201528551613bb681600c840160208a01613f05565b613bc4600c828401016139a5565b9150508451613bd7818360208901613f05565b613be281830161396f565b9150508351613bf5818360208801613f05565b61227d60f01b91019081526002019695505050505050565b7f646174613a6170706c69636174696f6e2f6a736f6e3b6261736536342c000000815260008251613c4581601d850160208701613f05565b91909101601d0192915050565b747b226e616d65223a20224b6e6f78576f726c64202360581b81528351600090613c83816015850160208901613f05565b613c916015828501016139a5565b90508451613ca3818360208901613f05565b613cae81830161396f565b9150508351613cc1818360208801613f05565b61227d60f01b910190815260020195945050505050565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090613d0b90830184613943565b9695505050505050565b6020808252825182820181905260009190848201906040850190845b81811015613d4d57835183529284019291840191600101613d31565b50909695505050505050565b6020815260006128d16020830184613943565b6020808252601490820152731cdd5c1c1b1e481b1a5b5a5d081c995858da195960621b604082015260600190565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b604051601f8201601f1916810167ffffffffffffffff81118282101715613e9b57613e9b613ff3565b604052919050565b60008219821115613eb657613eb6613f9b565b500190565b600082613eca57613eca613fb1565b500490565b6000816000190483118215151615613ee957613ee9613f9b565b500290565b600082821015613f0057613f00613f9b565b500390565b60005b83811015613f20578181015183820152602001613f08565b8381111561198e5750506000910152565b600181811c90821680613f4557607f821691505b60208210811415613f6657634e487b7160e01b600052602260045260246000fd5b50919050565b6000600019821415613f8057613f80613f9b565b5060010190565b600082613f9657613f96613fb1565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052603160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b03198116811461168957600080fdfe3c73766720786d6c6e733d22687474703a2f2f7777772e77332e6f72672f323030302f73766722207072657365727665417370656374526174696f3d22784d696e594d696e206d656574222076696577426f783d2230203020313030302031303030223e3c7374796c653e2e62617365207b2066696c6c3a2077686974653b20666f6e742d66616d696c793a2073657269663b20666f6e742d73697a653a20333570783b20746578742d616e63686f723a206c6566743b207d3c2f7374796c653e3c726563742077696474683d223130302522206865696768743d2231303025222066696c6c3d222333383538303222202f3e3c7465787420636c6173733d2262617365223e3c747370616e20783d2235252220793d2233353022203e4142434445464748494a4b4c4d4e4f505152535455565758595a6162636465666768696a6b6c6d6e6f707172737475767778797a303132333435363738392b2f2c202261747472696275746573223a205b7b2274726169745f74797065223a202254797065222c2276616c7565223a20223c73766720786d6c6e733d22687474703a2f2f7777772e77332e6f72672f323030302f73766722207072657365727665417370656374526174696f3d22784d696e594d696e206d656574222076696577426f783d2230203020313030302031303030223e3c7374796c653e2e62617365207b2066696c6c3a2077686974653b20666f6e742d66616d696c793a2073657269663b20666f6e742d73697a653a20333570783b20746578742d616e63686f723a206d6964646c653b207d3c2f7374796c653e3c726563742077696474683d223130302522206865696768743d2231303025222066696c6c3d222333383538303222202f3e3c7465787420636c6173733d2262617365223e3c747370616e20783d223530252220793d22353025223ea26469706673582212207962523eb0116248380aecd6b2eb5473c7a0e05b8c57d3626546da99376d713164736f6c63430008070033