ETH Price: $3,495.79 (+1.23%)

Token

NiftyDegen (DEGEN)
 

Overview

Max Total Supply

10,000 DEGEN

Holders

2,843

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Balance
3 DEGEN
0xCaF288E6BD537698Be0264BB23D03Cfe32b147f0
Loading...
Loading
Loading...
Loading
Loading...
Loading

OVERVIEW

DEGENS, welcome to the Nifty League! We are a GameFi collective building a gaming platform for NFTs. Join the Nifty DAO today and get ready to brawl in our first game Nifty Smashers available on launch.

Burn Events

Burn Address : 0x0000000000000000000000000000000000000001 & 0x000000000000000000000000000000000000dEaD   
Total Burned : 799 DEGEN as of Feb 23, 2023
Circulating Supply : 9201 DEGEN as of Feb 23, 2023

# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
NiftyDegen

Compiler Version
v0.8.4+commit.c7e474f2

Optimization Enabled:
Yes with 10000 runs

Other Settings:
default evmVersion
File 1 of 18 : NiftyDegen.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "@openzeppelin/contracts/utils/Counters.sol";
import "./NameableCharacter.sol";
import "./AllowedColorsStorage.sol";

import "hardhat/console.sol";

/**
 * @title NiftyDegen NFT (The OG NFTs of the Nifty League on Ethereum)
 * @dev Extends NameableCharacter and NiftyLeagueCharacter (ERC721)
 */
contract NiftyDegen is NameableCharacter {
    using Counters for Counters.Counter;

    /// @notice Counter for number of minted characters
    Counters.Counter public totalSupply;

    /// @notice Max number of mintable characters
    uint256 public constant MAX_SUPPLY = 10000;

    /// @notice Special characters reserved for future giveaways
    uint256 public constant SPECIAL_CHARACTERS = 100;

    /// @dev Available traits storage address
    address internal immutable _storageAddress;

    /// @dev Mapping trait indexes to pool size of available traits
    mapping(uint256 => uint256) internal _originalPoolSizes;

    /// @dev Set if we want to override semi-fomo ramp pricing
    uint256 private _manualMintPrice;

    /// @dev Base URI used for token metadata
    string private _baseTokenUri = "";

    /**
     * @notice Construct the Nifty League NFTs
     * @param nftlAddress Address of verified Nifty League NFTL contract
     * @param storageAddress Address of verified Allowed Colors Storage
     */
    constructor(address nftlAddress, address storageAddress) NiftyLeagueCharacter(nftlAddress, "NiftyDegen", "DEGEN") {
        _storageAddress = storageAddress;
    }

    // External functions

    /**
     * @notice Validate character traits and purchase a Nifty Degen NFT
     * @param character Indexed list of character traits
     * @param head Indexed list of head traits
     * @param clothing Indexed list of clothing options
     * @param accessories Indexed list of accessories
     * @param items Indexed list of items
     * @dev Order is based on character selector indexes
     */
    function purchase(
        uint256[5] memory character,
        uint256[3] memory head,
        uint256[6] memory clothing,
        uint256[6] memory accessories,
        uint256[2] memory items
    ) external payable whenNotPaused {
        uint256 currentSupply = totalSupply.current();
        require(currentSupply >= 3 || _msgSender() == owner(), "Sale has not started");
        require(msg.value == getNFTPrice(), "Ether value incorrect");
        _validateTraits(character, head, clothing, accessories, items);
        uint256 traitCombo = _generateTraitCombo(character, head, clothing, accessories, items);
        _storeNewCharacter(traitCombo);
    }

    /**
     * @notice Set pool size for each trait index called on deploy
     * @dev Unable to init mapping at declaration :/
     */
    function initPoolSizes() external onlyOwner {
        _originalPoolSizes[5] = 113;
        _originalPoolSizes[6] = 14;
        _originalPoolSizes[7] = 63;
        _originalPoolSizes[8] = 99;
        _originalPoolSizes[9] = 76;
        _originalPoolSizes[10] = 41;
        _originalPoolSizes[11] = 101;
        _originalPoolSizes[12] = 37;
        _originalPoolSizes[13] = 12;
        _originalPoolSizes[14] = 43;
        _originalPoolSizes[15] = 50;
        _originalPoolSizes[16] = 10;
        _originalPoolSizes[17] = 12;
        _originalPoolSizes[18] = 25;
        _originalPoolSizes[19] = 37;
        _originalPoolSizes[20] = 92;
        _originalPoolSizes[21] = 48;
    }

    /**
     * @notice Fallback to set NFT price to static ether value if necessary
     * @param newPrice New price to set for remaining character sale
     * @dev Minimum value of 0.08 ETH for this to be considered in getNFTPrice
     */
    function overrideMintPrice(uint256 newPrice) external onlyOwner {
        _manualMintPrice = newPrice;
    }

    /**
     * @notice Option to set _baseUri for transfering Heroku to IPFS
     * @param baseURI New base URI for NFT metadata
     */
    function setBaseURI(string memory baseURI) public onlyOwner {
        _baseTokenUri = baseURI;
    }

    // Public functions

    /**
     * @notice Gets current NFT Price based on current supply
     * @return Current price to mint 1 NFT
     */
    function getNFTPrice() public view returns (uint256) {
        uint256 currentSupply = totalSupply.current();
        require(
            currentSupply < MAX_SUPPLY - SPECIAL_CHARACTERS || (_msgSender() == owner() && currentSupply < MAX_SUPPLY),
            "Sale has already ended"
        );
        // 1 - 3 free for core team members, 9901 - 10000 free special community giveaway characters
        if (currentSupply < 3 || currentSupply >= 9900) return 0;
        // fallback option to override price floors only if necessary. Minimum value of 0.08 ETH
        if (_manualMintPrice >= 80000000000000000) return _manualMintPrice;
        if (currentSupply >= 9500) return 280000000000000000; // 9500 - 9900 0.28 ETH
        if (currentSupply >= 8500) return 250000000000000000; // 8501 - 9500 0.25 ETH
        if (currentSupply >= 6500) return 220000000000000000; // 6501 - 8500 0.22 ETH
        if (currentSupply >= 4500) return 190000000000000000; // 4501 - 6500 0.18 ETH
        if (currentSupply >= 2500) return 160000000000000000; // 2501 - 4500 0.15 ETH
        if (currentSupply >= 1000) return 130000000000000000; // 1001 - 2500 0.13 ETH
        return 100000000000000000; // 4 - 1000 0.1 ETH
    }

    /**
     * @notice Check if traits is allowed for tribe and hasn't been removed yet
     * @param tribe Tribe ID
     * @param trait Trait ID
     * @dev Trait types are restricted per tribe before deploy in AllowedColorsStorage
     * @return True if trait is available and allowed for tribe
     */
    function isAvailableAndAllowedTrait(uint256 tribe, uint256 trait) public view returns (bool) {
        if (trait == EMPTY_TRAIT) return true;
        if (trait >= 150) return isAvailableTrait(trait);
        AllowedColorsStorage colorsStorage = AllowedColorsStorage(_storageAddress);
        return colorsStorage.isAllowedColor(tribe, trait);
    }

    // Internal functions

    /**
     * @notice Base URI for computing {tokenURI}. Overrides ERC721 default
     * @return Base token URI linked to IPFS metadata
     */
    function _baseURI() internal view virtual override returns (string memory) {
        return _baseTokenUri;
    }

    // Private functions

    /**
     * @notice Validate character traits
     * @param char Indexed list of character traits
     * @param head Indexed list of head traits
     * @param cloth Indexed list of clothing options
     * @param acc Indexed list of accessories
     * @param items Indexed list of items
     */
    function _validateTraits(
        uint256[5] memory char,
        uint256[3] memory head,
        uint256[6] memory cloth,
        uint256[6] memory acc,
        uint256[2] memory items
    ) private view {
        uint256 tribe = char[0];
        require(tribe > 0 && (tribe <= 6 || (tribe <= 9 && _msgSender() == owner())), "Tribe incorrect");
        require(_isTraitInRange(char[1], 10, 69) || _isTraitInRange(char[1], 119, 149), "Skin color incorrect");
        require(_isTraitInRange(char[2], 70, 100) || _isTraitInRange(char[2], 119, 149), "Fur color incorrect");
        require(_isTraitInRange(char[3], 101, 109) || _isTraitInRange(char[3], 119, 149), "Eye color incorrect");
        require(_isTraitInRange(char[4], 110, 118) || _isTraitInRange(char[4], 119, 149), "Pupil color incorrect");
        require(_isTraitInRange(head[0], 150, 262), "Hair incorrect");
        require(_isTraitInRange(head[1], 263, 276), "Mouth incorrect");
        require(_isTraitInRange(head[2], 277, 339), "Beard incorrect");
        require(_isTraitInRange(cloth[0], 340, 438), "Top incorrect");
        require(_isTraitInRange(cloth[1], 439, 514), "Outerwear incorrect");
        require(_isTraitInRange(cloth[2], 515, 555), "Print incorrect");
        require(_isTraitInRange(cloth[3], 556, 657), "Bottom incorrect");
        require(_isTraitInRange(cloth[4], 658, 694), "Footwear incorrect");
        require(_isTraitInRange(cloth[5], 695, 706), "Belt incorrect");
        require(_isTraitInRange(acc[0], 707, 749), "Hat incorrect");
        require(_isTraitInRange(acc[1], 750, 799), "Eyewear incorrect");
        require(_isTraitInRange(acc[2], 800, 809), "Piercing incorrect");
        require(_isTraitInRange(acc[3], 810, 821), "Wrist accessory incorrect");
        require(_isTraitInRange(acc[4], 822, 846), "Hands accessory incorrect");
        require(_isTraitInRange(acc[5], 847, 883), "Neckwear incorrect");
        require(_isTraitInRange(items[0], 884, 975), "Left item incorrect");
        require(_isTraitInRange(items[1], 976, 1023), "Right item incorrect");

        require(isAvailableAndAllowedTrait(tribe, char[1]), "Skin color unavailable");
        require(isAvailableAndAllowedTrait(tribe, char[2]), "Fur color unavailable");
        require(isAvailableAndAllowedTrait(tribe, char[3]), "Eye color unavailable");
        require(isAvailableAndAllowedTrait(tribe, char[4]), "Pupil color unavailable");
        require(isAvailableAndAllowedTrait(tribe, head[0]), "Hair unavailable");
        require(isAvailableAndAllowedTrait(tribe, head[1]), "Mouth unavailable");
        require(isAvailableAndAllowedTrait(tribe, head[2]), "Beard unavailable");
        require(isAvailableAndAllowedTrait(tribe, cloth[0]), "Top unavailable");
        require(isAvailableAndAllowedTrait(tribe, cloth[1]), "Outerwear unavailable");
        require(isAvailableAndAllowedTrait(tribe, cloth[2]), "Print unavailable");
        require(isAvailableAndAllowedTrait(tribe, cloth[3]), "Bottom unavailable");
        require(isAvailableAndAllowedTrait(tribe, cloth[4]), "Footwear unavailable");
        require(isAvailableAndAllowedTrait(tribe, cloth[5]), "Belt unavailable");
        require(isAvailableAndAllowedTrait(tribe, acc[0]), "Hat unavailable");
        require(isAvailableAndAllowedTrait(tribe, acc[1]), "Eyewear unavailable");
        require(isAvailableAndAllowedTrait(tribe, acc[2]), "Piercing unavailable");
        require(isAvailableAndAllowedTrait(tribe, acc[3]), "Wrist accessory unavailable");
        require(isAvailableAndAllowedTrait(tribe, acc[4]), "Hand accessory unavailable");
        require(isAvailableAndAllowedTrait(tribe, acc[5]), "Neckwear unavailable");
        require(isAvailableAndAllowedTrait(tribe, items[0]), "Left item unavailable");
        require(isAvailableAndAllowedTrait(tribe, items[1]), "Right item unavailable");
    }

    /**
     * @notice Mints NFT if unique and attempts to remove a random trait
     * @param traitCombo Trait combo provided from _generateTraitCombo
     */
    function _storeNewCharacter(uint256 traitCombo) private {
        require(isUnique(traitCombo), "NFT trait combo already exists");
        _existMap[traitCombo] = true;
        totalSupply.increment();
        uint256 newCharId = totalSupply.current();
        Character memory newChar;
        newChar.traits = traitCombo;
        _characters[newCharId] = newChar;
        _removeRandomTrait(newCharId, traitCombo);
        _safeMint(_msgSender(), newCharId);
    }

    /**
     * @notice Attempts to remove a random trait from availability
     * @param newCharId ID of newly generated NFT
     * @param traitCombo Trait combo provided from _generateTraitCombo
     * @dev Any trait id besides 0, tribe ids, or body/eye colors can be removed
     */
    function _removeRandomTrait(uint256 newCharId, uint256 traitCombo) private {
        uint256 numRemoved = removedTraits.length;
        if (
            (numRemoved < 100 && newCharId % 7 == 0) ||
            (numRemoved >= 100 && numRemoved < 200 && newCharId % 9 == 0) ||
            (numRemoved >= 200 && numRemoved < 300 && newCharId % 11 == 0) ||
            (numRemoved >= 300 && numRemoved < 400 && newCharId % 13 == 0)
        ) {
            uint256 randomIndex = _rngIndex(newCharId);
            uint16 randomTrait = _unpackUint10(traitCombo >> (randomIndex * 10));
            if (randomTrait != 0) {
                uint256 poolSize = _originalPoolSizes[randomIndex];
                bool skip = _rngSkip(poolSize);
                if (!skip) {
                    removedTraits.push(randomTrait);
                    _removedTraitsMap[randomTrait] = true;
                }
            }
        }
    }

    /**
     * @notice Simulate randomness for token index to attempt to remove excluding tribes and colors
     * @param tokenId ID of newly generated NFT
     * @dev Randomness can be anticipated and exploited but is not crucial to NFT sale
     * @return Number from 5-21
     */
    function _rngIndex(uint256 tokenId) private view returns (uint256) {
        uint256 randomHash = uint256(keccak256(abi.encodePacked(tokenId, block.timestamp, block.difficulty)));
        return (randomHash % 17) + 5;
    }

    /**
     * @notice Simulate randomness to decide to skip removing trait based on pool size
     * @param poolSize Number of trait options for a specific trait type
     * @dev Randomness can be anticipated and exploited but is not crucial to NFT sale
     * @return True if should skip this trait removal
     */
    function _rngSkip(uint256 poolSize) private view returns (bool) {
        uint256 randomHash = uint256(keccak256(abi.encodePacked(poolSize, block.timestamp, block.difficulty)));
        int256 odds = 70 - int256(randomHash % 61);
        return odds < int256(500 / poolSize);
    }

    /**
     * @notice Checks whether trait id is in range of lower/upper bounds
     * @param lower lower range-bound
     * @param upper upper range-bound
     * @return True if in range
     */
    function _isTraitInRange(
        uint256 trait,
        uint256 lower,
        uint256 upper
    ) private pure returns (bool) {
        return trait == EMPTY_TRAIT || (trait >= lower && trait <= upper);
    }
}

File 2 of 18 : Counters.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

/**
 * @title Counters
 * @author Matt Condon (@shrugs)
 * @dev Provides counters that can only be incremented, decremented or reset. This can be used e.g. to track the number
 * of elements in a mapping, issuing ERC721 ids, or counting request ids.
 *
 * Include with `using Counters for Counters.Counter;`
 */
library Counters {
    struct Counter {
        // This variable should never be directly accessed by users of the library: interactions must be restricted to
        // the library's function. As of Solidity v0.5.2, this cannot be enforced, though there is a proposal to add
        // this feature: see https://github.com/ethereum/solidity/issues/4637
        uint256 _value; // default: 0
    }

    function current(Counter storage counter) internal view returns (uint256) {
        return counter._value;
    }

    function increment(Counter storage counter) internal {
        unchecked {
            counter._value += 1;
        }
    }

    function decrement(Counter storage counter) internal {
        uint256 value = counter._value;
        require(value > 0, "Counter: decrement overflow");
        unchecked {
            counter._value = value - 1;
        }
    }

    function reset(Counter storage counter) internal {
        counter._value = 0;
    }
}

File 3 of 18 : NameableCharacter.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

/**
 * @title NameableCharacter (Extendable to allow name changes on NFTs)
 * @dev Extends NiftyLeagueCharacter (ERC721)
 */
abstract contract NameableCharacter is NiftyLeagueCharacter {
    /// @notice Cost to change character name in NFTL
    uint256 public constant NAME_CHANGE_PRICE = 1000e18; // 1000 NFTL

    /// @dev Mapping if name string is already used
    mapping(string => bool) private _nameReserved;

    event NameUpdated(uint256 indexed tokenId, string previousName, string newName);

    // External functions

    /**
     * @notice Retrieve name of token
     * @param tokenId ID of NFT
     * @return NFT name
     */
    function getName(uint256 tokenId) external view returns (string memory) {
        require(_exists(tokenId), "nonexistent token");
        return _characters[tokenId].name;
    }

    /**
     * @notice Change name of NFT payable with {NAME_CHANGE_PRICE} NFTL
     * @param tokenId ID of NFT
     * @param newName New name to validate and set on NFT
     * @return New NFT name
     */
    function changeName(uint256 tokenId, string memory newName) external returns (string memory) {
        require(_exists(tokenId), "nonexistent token");
        require(_isApprovedOrOwner(_msgSender(), tokenId), "Caller is not owner nor approved");
        string memory prevName = _characters[tokenId].name;
        require(sha256(bytes(newName)) != sha256(bytes(prevName)), "New name and old name are equal");
        require(validateName(newName), "Name is not allowed");
        require(!isNameReserved(newName), "Name already reserved");

        INFTL(_nftlAddress).burnFrom(_msgSender(), NAME_CHANGE_PRICE);
        if (bytes(_characters[tokenId].name).length > 0) {
            _toggleReserveName(_characters[tokenId].name, false);
        }
        _toggleReserveName(newName, true);
        _characters[tokenId].name = newName;
        emit NameUpdated(tokenId, prevName, newName);
        return newName;
    }

    // Public functions

    /**
     * @notice Check if name is already reserved
     * @param nameString Name to validate
     * @return True if name is unique
     */
    function isNameReserved(string memory nameString) public view returns (bool) {
        return _nameReserved[_toLower(nameString)];
    }

    /**
     * @notice Check for valid name string (Alphanumeric and spaces without leading or trailing space)
     * @param newName Name to validate
     * @return True if name input is valid
     */
    function validateName(string memory newName) public pure returns (bool) {
        bytes memory byteName = bytes(newName);
        if (byteName.length < 1 || byteName.length > 32) return false; // name cannot be longer than 32 characters
        if (byteName[0] == 0x20 || byteName[byteName.length - 1] == 0x20) return false; // reject leading and trailing space

        bytes1 lastChar = byteName[0];
        for (uint256 i; i < byteName.length; i++) {
            bytes1 currentChar = byteName[i];
            if (currentChar == 0x20 && lastChar == 0x20) return false; // reject double spaces
            if (
                !(currentChar >= 0x30 && currentChar <= 0x39) && //0-9
                !(currentChar >= 0x41 && currentChar <= 0x5A) && //A-Z
                !(currentChar >= 0x61 && currentChar <= 0x7A) && //a-z
                !(currentChar == 0x20) //space
            ) return false;
            lastChar = currentChar;
        }
        return true;
    }

    // Private functions

    /**
     * @notice Reserves the name if isReserve is set to true, de-reserves if set to false
     * @param str NFT name string
     * @param isReserved Bool if name should be reserved or not
     */
    function _toggleReserveName(string memory str, bool isReserved) private {
        _nameReserved[_toLower(str)] = isReserved;
    }

    /**
     * @notice Converts strings to lowercase
     * @param str Any string
     * @return String to lower case
     */
    function _toLower(string memory str) private pure returns (string memory) {
        bytes memory bStr = bytes(str);
        bytes memory bLower = new bytes(bStr.length);
        for (uint256 i = 0; i < bStr.length; i++) {
            if ((uint8(bStr[i]) >= 65) && (uint8(bStr[i]) <= 90)) {
                bLower[i] = bytes1(uint8(bStr[i]) + 32);
            } else {
                bLower[i] = bStr[i];
            }
        }
        return string(bLower);
    }
}

File 4 of 18 : AllowedColorsStorage.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "@openzeppelin/contracts/access/Ownable.sol";

/**
 * @title AllowedColorsStorage
 * @dev Color indexes need to be restricted per tribe prior to NFT deploy
 */
contract AllowedColorsStorage is Ownable {
    /// @dev Mapping if color is allowed for selected tribe
    mapping(uint256 => mapping(uint256 => bool)) private _tribeColorAllowed;

    constructor() {}

    /**
     * @notice Set allowed on a given a list of colors
     * @param tribe Tribe ID 1-10
     * @param colors List of colors to set for tribe
     * @param allowed Bool if the color list should be made allowed or not
     */
    function setAllowedColorsOnTribe(
        uint256 tribe,
        uint256[] memory colors,
        bool allowed
    ) external onlyOwner {
        require(tribe > 0 && tribe < 10, "Invalid tribe provided");
        for (uint256 i = 0; i < colors.length; i++) {
            _toggleColorAllowed(tribe, colors[i], allowed);
        }
    }

    /**
     * @notice Toggle color allowed on and off for a tribe
     * @param tribe Tribe ID
     * @param color Trait ID
     * @param allowed Bool if the color should be made allowed or not
     * @dev Defaults to false if never set
     */
    function _toggleColorAllowed(
        uint256 tribe,
        uint256 color,
        bool allowed
    ) private {
        _tribeColorAllowed[tribe][color] = allowed;
    }

    /**
     * @notice Check if color is allowed for a tribe
     * @param tribe Tribe ID
     * @param color Trait ID
     * @return True if color is allowed for tribe
     */
    function isAllowedColor(uint256 tribe, uint256 color) public view returns (bool) {
        return _tribeColorAllowed[tribe][color];
    }
}

File 5 of 18 : console.sol
// SPDX-License-Identifier: MIT
pragma solidity >= 0.4.22 <0.9.0;

library console {
	address constant CONSOLE_ADDRESS = address(0x000000000000000000636F6e736F6c652e6c6f67);

	function _sendLogPayload(bytes memory payload) private view {
		uint256 payloadLength = payload.length;
		address consoleAddress = CONSOLE_ADDRESS;
		assembly {
			let payloadStart := add(payload, 32)
			let r := staticcall(gas(), consoleAddress, payloadStart, payloadLength, 0, 0)
		}
	}

	function log() internal view {
		_sendLogPayload(abi.encodeWithSignature("log()"));
	}

	function logInt(int p0) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(int)", p0));
	}

	function logUint(uint p0) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint)", p0));
	}

	function logString(string memory p0) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string)", p0));
	}

	function logBool(bool p0) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool)", p0));
	}

	function logAddress(address p0) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address)", p0));
	}

	function logBytes(bytes memory p0) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bytes)", p0));
	}

	function logBytes1(bytes1 p0) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bytes1)", p0));
	}

	function logBytes2(bytes2 p0) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bytes2)", p0));
	}

	function logBytes3(bytes3 p0) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bytes3)", p0));
	}

	function logBytes4(bytes4 p0) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bytes4)", p0));
	}

	function logBytes5(bytes5 p0) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bytes5)", p0));
	}

	function logBytes6(bytes6 p0) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bytes6)", p0));
	}

	function logBytes7(bytes7 p0) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bytes7)", p0));
	}

	function logBytes8(bytes8 p0) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bytes8)", p0));
	}

	function logBytes9(bytes9 p0) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bytes9)", p0));
	}

	function logBytes10(bytes10 p0) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bytes10)", p0));
	}

	function logBytes11(bytes11 p0) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bytes11)", p0));
	}

	function logBytes12(bytes12 p0) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bytes12)", p0));
	}

	function logBytes13(bytes13 p0) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bytes13)", p0));
	}

	function logBytes14(bytes14 p0) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bytes14)", p0));
	}

	function logBytes15(bytes15 p0) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bytes15)", p0));
	}

	function logBytes16(bytes16 p0) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bytes16)", p0));
	}

	function logBytes17(bytes17 p0) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bytes17)", p0));
	}

	function logBytes18(bytes18 p0) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bytes18)", p0));
	}

	function logBytes19(bytes19 p0) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bytes19)", p0));
	}

	function logBytes20(bytes20 p0) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bytes20)", p0));
	}

	function logBytes21(bytes21 p0) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bytes21)", p0));
	}

	function logBytes22(bytes22 p0) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bytes22)", p0));
	}

	function logBytes23(bytes23 p0) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bytes23)", p0));
	}

	function logBytes24(bytes24 p0) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bytes24)", p0));
	}

	function logBytes25(bytes25 p0) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bytes25)", p0));
	}

	function logBytes26(bytes26 p0) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bytes26)", p0));
	}

	function logBytes27(bytes27 p0) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bytes27)", p0));
	}

	function logBytes28(bytes28 p0) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bytes28)", p0));
	}

	function logBytes29(bytes29 p0) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bytes29)", p0));
	}

	function logBytes30(bytes30 p0) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bytes30)", p0));
	}

	function logBytes31(bytes31 p0) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bytes31)", p0));
	}

	function logBytes32(bytes32 p0) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bytes32)", p0));
	}

	function log(uint p0) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint)", p0));
	}

	function log(string memory p0) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string)", p0));
	}

	function log(bool p0) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool)", p0));
	}

	function log(address p0) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address)", p0));
	}

	function log(uint p0, uint p1) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,uint)", p0, p1));
	}

	function log(uint p0, string memory p1) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,string)", p0, p1));
	}

	function log(uint p0, bool p1) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,bool)", p0, p1));
	}

	function log(uint p0, address p1) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,address)", p0, p1));
	}

	function log(string memory p0, uint p1) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,uint)", p0, p1));
	}

	function log(string memory p0, string memory p1) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,string)", p0, p1));
	}

	function log(string memory p0, bool p1) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,bool)", p0, p1));
	}

	function log(string memory p0, address p1) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,address)", p0, p1));
	}

	function log(bool p0, uint p1) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,uint)", p0, p1));
	}

	function log(bool p0, string memory p1) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,string)", p0, p1));
	}

	function log(bool p0, bool p1) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,bool)", p0, p1));
	}

	function log(bool p0, address p1) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,address)", p0, p1));
	}

	function log(address p0, uint p1) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,uint)", p0, p1));
	}

	function log(address p0, string memory p1) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,string)", p0, p1));
	}

	function log(address p0, bool p1) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,bool)", p0, p1));
	}

	function log(address p0, address p1) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,address)", p0, p1));
	}

	function log(uint p0, uint p1, uint p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,uint,uint)", p0, p1, p2));
	}

	function log(uint p0, uint p1, string memory p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,uint,string)", p0, p1, p2));
	}

	function log(uint p0, uint p1, bool p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,uint,bool)", p0, p1, p2));
	}

	function log(uint p0, uint p1, address p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,uint,address)", p0, p1, p2));
	}

	function log(uint p0, string memory p1, uint p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,string,uint)", p0, p1, p2));
	}

	function log(uint p0, string memory p1, string memory p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,string,string)", p0, p1, p2));
	}

	function log(uint p0, string memory p1, bool p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,string,bool)", p0, p1, p2));
	}

	function log(uint p0, string memory p1, address p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,string,address)", p0, p1, p2));
	}

	function log(uint p0, bool p1, uint p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,bool,uint)", p0, p1, p2));
	}

	function log(uint p0, bool p1, string memory p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,bool,string)", p0, p1, p2));
	}

	function log(uint p0, bool p1, bool p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,bool,bool)", p0, p1, p2));
	}

	function log(uint p0, bool p1, address p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,bool,address)", p0, p1, p2));
	}

	function log(uint p0, address p1, uint p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,address,uint)", p0, p1, p2));
	}

	function log(uint p0, address p1, string memory p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,address,string)", p0, p1, p2));
	}

	function log(uint p0, address p1, bool p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,address,bool)", p0, p1, p2));
	}

	function log(uint p0, address p1, address p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,address,address)", p0, p1, p2));
	}

	function log(string memory p0, uint p1, uint p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,uint,uint)", p0, p1, p2));
	}

	function log(string memory p0, uint p1, string memory p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,uint,string)", p0, p1, p2));
	}

	function log(string memory p0, uint p1, bool p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,uint,bool)", p0, p1, p2));
	}

	function log(string memory p0, uint p1, address p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,uint,address)", p0, p1, p2));
	}

	function log(string memory p0, string memory p1, uint p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,string,uint)", p0, p1, p2));
	}

	function log(string memory p0, string memory p1, string memory p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,string,string)", p0, p1, p2));
	}

	function log(string memory p0, string memory p1, bool p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,string,bool)", p0, p1, p2));
	}

	function log(string memory p0, string memory p1, address p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,string,address)", p0, p1, p2));
	}

	function log(string memory p0, bool p1, uint p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,bool,uint)", p0, p1, p2));
	}

	function log(string memory p0, bool p1, string memory p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,bool,string)", p0, p1, p2));
	}

	function log(string memory p0, bool p1, bool p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,bool,bool)", p0, p1, p2));
	}

	function log(string memory p0, bool p1, address p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,bool,address)", p0, p1, p2));
	}

	function log(string memory p0, address p1, uint p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,address,uint)", p0, p1, p2));
	}

	function log(string memory p0, address p1, string memory p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,address,string)", p0, p1, p2));
	}

	function log(string memory p0, address p1, bool p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,address,bool)", p0, p1, p2));
	}

	function log(string memory p0, address p1, address p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,address,address)", p0, p1, p2));
	}

	function log(bool p0, uint p1, uint p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,uint,uint)", p0, p1, p2));
	}

	function log(bool p0, uint p1, string memory p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,uint,string)", p0, p1, p2));
	}

	function log(bool p0, uint p1, bool p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,uint,bool)", p0, p1, p2));
	}

	function log(bool p0, uint p1, address p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,uint,address)", p0, p1, p2));
	}

	function log(bool p0, string memory p1, uint p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,string,uint)", p0, p1, p2));
	}

	function log(bool p0, string memory p1, string memory p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,string,string)", p0, p1, p2));
	}

	function log(bool p0, string memory p1, bool p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,string,bool)", p0, p1, p2));
	}

	function log(bool p0, string memory p1, address p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,string,address)", p0, p1, p2));
	}

	function log(bool p0, bool p1, uint p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,bool,uint)", p0, p1, p2));
	}

	function log(bool p0, bool p1, string memory p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,bool,string)", p0, p1, p2));
	}

	function log(bool p0, bool p1, bool p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,bool,bool)", p0, p1, p2));
	}

	function log(bool p0, bool p1, address p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,bool,address)", p0, p1, p2));
	}

	function log(bool p0, address p1, uint p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,address,uint)", p0, p1, p2));
	}

	function log(bool p0, address p1, string memory p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,address,string)", p0, p1, p2));
	}

	function log(bool p0, address p1, bool p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,address,bool)", p0, p1, p2));
	}

	function log(bool p0, address p1, address p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,address,address)", p0, p1, p2));
	}

	function log(address p0, uint p1, uint p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,uint,uint)", p0, p1, p2));
	}

	function log(address p0, uint p1, string memory p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,uint,string)", p0, p1, p2));
	}

	function log(address p0, uint p1, bool p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,uint,bool)", p0, p1, p2));
	}

	function log(address p0, uint p1, address p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,uint,address)", p0, p1, p2));
	}

	function log(address p0, string memory p1, uint p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,string,uint)", p0, p1, p2));
	}

	function log(address p0, string memory p1, string memory p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,string,string)", p0, p1, p2));
	}

	function log(address p0, string memory p1, bool p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,string,bool)", p0, p1, p2));
	}

	function log(address p0, string memory p1, address p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,string,address)", p0, p1, p2));
	}

	function log(address p0, bool p1, uint p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,bool,uint)", p0, p1, p2));
	}

	function log(address p0, bool p1, string memory p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,bool,string)", p0, p1, p2));
	}

	function log(address p0, bool p1, bool p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,bool,bool)", p0, p1, p2));
	}

	function log(address p0, bool p1, address p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,bool,address)", p0, p1, p2));
	}

	function log(address p0, address p1, uint p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,address,uint)", p0, p1, p2));
	}

	function log(address p0, address p1, string memory p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,address,string)", p0, p1, p2));
	}

	function log(address p0, address p1, bool p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,address,bool)", p0, p1, p2));
	}

	function log(address p0, address p1, address p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,address,address)", p0, p1, p2));
	}

	function log(uint p0, uint p1, uint p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,uint,uint,uint)", p0, p1, p2, p3));
	}

	function log(uint p0, uint p1, uint p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,uint,uint,string)", p0, p1, p2, p3));
	}

	function log(uint p0, uint p1, uint p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,uint,uint,bool)", p0, p1, p2, p3));
	}

	function log(uint p0, uint p1, uint p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,uint,uint,address)", p0, p1, p2, p3));
	}

	function log(uint p0, uint p1, string memory p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,uint,string,uint)", p0, p1, p2, p3));
	}

	function log(uint p0, uint p1, string memory p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,uint,string,string)", p0, p1, p2, p3));
	}

	function log(uint p0, uint p1, string memory p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,uint,string,bool)", p0, p1, p2, p3));
	}

	function log(uint p0, uint p1, string memory p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,uint,string,address)", p0, p1, p2, p3));
	}

	function log(uint p0, uint p1, bool p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,uint,bool,uint)", p0, p1, p2, p3));
	}

	function log(uint p0, uint p1, bool p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,uint,bool,string)", p0, p1, p2, p3));
	}

	function log(uint p0, uint p1, bool p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,uint,bool,bool)", p0, p1, p2, p3));
	}

	function log(uint p0, uint p1, bool p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,uint,bool,address)", p0, p1, p2, p3));
	}

	function log(uint p0, uint p1, address p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,uint,address,uint)", p0, p1, p2, p3));
	}

	function log(uint p0, uint p1, address p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,uint,address,string)", p0, p1, p2, p3));
	}

	function log(uint p0, uint p1, address p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,uint,address,bool)", p0, p1, p2, p3));
	}

	function log(uint p0, uint p1, address p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,uint,address,address)", p0, p1, p2, p3));
	}

	function log(uint p0, string memory p1, uint p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,string,uint,uint)", p0, p1, p2, p3));
	}

	function log(uint p0, string memory p1, uint p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,string,uint,string)", p0, p1, p2, p3));
	}

	function log(uint p0, string memory p1, uint p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,string,uint,bool)", p0, p1, p2, p3));
	}

	function log(uint p0, string memory p1, uint p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,string,uint,address)", p0, p1, p2, p3));
	}

	function log(uint p0, string memory p1, string memory p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,string,string,uint)", p0, p1, p2, p3));
	}

	function log(uint p0, string memory p1, string memory p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,string,string,string)", p0, p1, p2, p3));
	}

	function log(uint p0, string memory p1, string memory p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,string,string,bool)", p0, p1, p2, p3));
	}

	function log(uint p0, string memory p1, string memory p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,string,string,address)", p0, p1, p2, p3));
	}

	function log(uint p0, string memory p1, bool p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,string,bool,uint)", p0, p1, p2, p3));
	}

	function log(uint p0, string memory p1, bool p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,string,bool,string)", p0, p1, p2, p3));
	}

	function log(uint p0, string memory p1, bool p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,string,bool,bool)", p0, p1, p2, p3));
	}

	function log(uint p0, string memory p1, bool p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,string,bool,address)", p0, p1, p2, p3));
	}

	function log(uint p0, string memory p1, address p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,string,address,uint)", p0, p1, p2, p3));
	}

	function log(uint p0, string memory p1, address p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,string,address,string)", p0, p1, p2, p3));
	}

	function log(uint p0, string memory p1, address p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,string,address,bool)", p0, p1, p2, p3));
	}

	function log(uint p0, string memory p1, address p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,string,address,address)", p0, p1, p2, p3));
	}

	function log(uint p0, bool p1, uint p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,bool,uint,uint)", p0, p1, p2, p3));
	}

	function log(uint p0, bool p1, uint p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,bool,uint,string)", p0, p1, p2, p3));
	}

	function log(uint p0, bool p1, uint p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,bool,uint,bool)", p0, p1, p2, p3));
	}

	function log(uint p0, bool p1, uint p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,bool,uint,address)", p0, p1, p2, p3));
	}

	function log(uint p0, bool p1, string memory p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,bool,string,uint)", p0, p1, p2, p3));
	}

	function log(uint p0, bool p1, string memory p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,bool,string,string)", p0, p1, p2, p3));
	}

	function log(uint p0, bool p1, string memory p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,bool,string,bool)", p0, p1, p2, p3));
	}

	function log(uint p0, bool p1, string memory p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,bool,string,address)", p0, p1, p2, p3));
	}

	function log(uint p0, bool p1, bool p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,bool,bool,uint)", p0, p1, p2, p3));
	}

	function log(uint p0, bool p1, bool p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,bool,bool,string)", p0, p1, p2, p3));
	}

	function log(uint p0, bool p1, bool p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,bool,bool,bool)", p0, p1, p2, p3));
	}

	function log(uint p0, bool p1, bool p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,bool,bool,address)", p0, p1, p2, p3));
	}

	function log(uint p0, bool p1, address p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,bool,address,uint)", p0, p1, p2, p3));
	}

	function log(uint p0, bool p1, address p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,bool,address,string)", p0, p1, p2, p3));
	}

	function log(uint p0, bool p1, address p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,bool,address,bool)", p0, p1, p2, p3));
	}

	function log(uint p0, bool p1, address p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,bool,address,address)", p0, p1, p2, p3));
	}

	function log(uint p0, address p1, uint p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,address,uint,uint)", p0, p1, p2, p3));
	}

	function log(uint p0, address p1, uint p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,address,uint,string)", p0, p1, p2, p3));
	}

	function log(uint p0, address p1, uint p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,address,uint,bool)", p0, p1, p2, p3));
	}

	function log(uint p0, address p1, uint p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,address,uint,address)", p0, p1, p2, p3));
	}

	function log(uint p0, address p1, string memory p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,address,string,uint)", p0, p1, p2, p3));
	}

	function log(uint p0, address p1, string memory p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,address,string,string)", p0, p1, p2, p3));
	}

	function log(uint p0, address p1, string memory p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,address,string,bool)", p0, p1, p2, p3));
	}

	function log(uint p0, address p1, string memory p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,address,string,address)", p0, p1, p2, p3));
	}

	function log(uint p0, address p1, bool p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,address,bool,uint)", p0, p1, p2, p3));
	}

	function log(uint p0, address p1, bool p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,address,bool,string)", p0, p1, p2, p3));
	}

	function log(uint p0, address p1, bool p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,address,bool,bool)", p0, p1, p2, p3));
	}

	function log(uint p0, address p1, bool p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,address,bool,address)", p0, p1, p2, p3));
	}

	function log(uint p0, address p1, address p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,address,address,uint)", p0, p1, p2, p3));
	}

	function log(uint p0, address p1, address p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,address,address,string)", p0, p1, p2, p3));
	}

	function log(uint p0, address p1, address p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,address,address,bool)", p0, p1, p2, p3));
	}

	function log(uint p0, address p1, address p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,address,address,address)", p0, p1, p2, p3));
	}

	function log(string memory p0, uint p1, uint p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,uint,uint,uint)", p0, p1, p2, p3));
	}

	function log(string memory p0, uint p1, uint p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,uint,uint,string)", p0, p1, p2, p3));
	}

	function log(string memory p0, uint p1, uint p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,uint,uint,bool)", p0, p1, p2, p3));
	}

	function log(string memory p0, uint p1, uint p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,uint,uint,address)", p0, p1, p2, p3));
	}

	function log(string memory p0, uint p1, string memory p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,uint,string,uint)", p0, p1, p2, p3));
	}

	function log(string memory p0, uint p1, string memory p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,uint,string,string)", p0, p1, p2, p3));
	}

	function log(string memory p0, uint p1, string memory p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,uint,string,bool)", p0, p1, p2, p3));
	}

	function log(string memory p0, uint p1, string memory p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,uint,string,address)", p0, p1, p2, p3));
	}

	function log(string memory p0, uint p1, bool p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,uint,bool,uint)", p0, p1, p2, p3));
	}

	function log(string memory p0, uint p1, bool p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,uint,bool,string)", p0, p1, p2, p3));
	}

	function log(string memory p0, uint p1, bool p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,uint,bool,bool)", p0, p1, p2, p3));
	}

	function log(string memory p0, uint p1, bool p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,uint,bool,address)", p0, p1, p2, p3));
	}

	function log(string memory p0, uint p1, address p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,uint,address,uint)", p0, p1, p2, p3));
	}

	function log(string memory p0, uint p1, address p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,uint,address,string)", p0, p1, p2, p3));
	}

	function log(string memory p0, uint p1, address p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,uint,address,bool)", p0, p1, p2, p3));
	}

	function log(string memory p0, uint p1, address p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,uint,address,address)", p0, p1, p2, p3));
	}

	function log(string memory p0, string memory p1, uint p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,string,uint,uint)", p0, p1, p2, p3));
	}

	function log(string memory p0, string memory p1, uint p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,string,uint,string)", p0, p1, p2, p3));
	}

	function log(string memory p0, string memory p1, uint p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,string,uint,bool)", p0, p1, p2, p3));
	}

	function log(string memory p0, string memory p1, uint p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,string,uint,address)", p0, p1, p2, p3));
	}

	function log(string memory p0, string memory p1, string memory p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,string,string,uint)", p0, p1, p2, p3));
	}

	function log(string memory p0, string memory p1, string memory p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,string,string,string)", p0, p1, p2, p3));
	}

	function log(string memory p0, string memory p1, string memory p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,string,string,bool)", p0, p1, p2, p3));
	}

	function log(string memory p0, string memory p1, string memory p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,string,string,address)", p0, p1, p2, p3));
	}

	function log(string memory p0, string memory p1, bool p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,string,bool,uint)", p0, p1, p2, p3));
	}

	function log(string memory p0, string memory p1, bool p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,string,bool,string)", p0, p1, p2, p3));
	}

	function log(string memory p0, string memory p1, bool p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,string,bool,bool)", p0, p1, p2, p3));
	}

	function log(string memory p0, string memory p1, bool p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,string,bool,address)", p0, p1, p2, p3));
	}

	function log(string memory p0, string memory p1, address p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,string,address,uint)", p0, p1, p2, p3));
	}

	function log(string memory p0, string memory p1, address p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,string,address,string)", p0, p1, p2, p3));
	}

	function log(string memory p0, string memory p1, address p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,string,address,bool)", p0, p1, p2, p3));
	}

	function log(string memory p0, string memory p1, address p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,string,address,address)", p0, p1, p2, p3));
	}

	function log(string memory p0, bool p1, uint p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,bool,uint,uint)", p0, p1, p2, p3));
	}

	function log(string memory p0, bool p1, uint p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,bool,uint,string)", p0, p1, p2, p3));
	}

	function log(string memory p0, bool p1, uint p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,bool,uint,bool)", p0, p1, p2, p3));
	}

	function log(string memory p0, bool p1, uint p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,bool,uint,address)", p0, p1, p2, p3));
	}

	function log(string memory p0, bool p1, string memory p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,bool,string,uint)", p0, p1, p2, p3));
	}

	function log(string memory p0, bool p1, string memory p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,bool,string,string)", p0, p1, p2, p3));
	}

	function log(string memory p0, bool p1, string memory p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,bool,string,bool)", p0, p1, p2, p3));
	}

	function log(string memory p0, bool p1, string memory p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,bool,string,address)", p0, p1, p2, p3));
	}

	function log(string memory p0, bool p1, bool p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,bool,bool,uint)", p0, p1, p2, p3));
	}

	function log(string memory p0, bool p1, bool p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,bool,bool,string)", p0, p1, p2, p3));
	}

	function log(string memory p0, bool p1, bool p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,bool,bool,bool)", p0, p1, p2, p3));
	}

	function log(string memory p0, bool p1, bool p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,bool,bool,address)", p0, p1, p2, p3));
	}

	function log(string memory p0, bool p1, address p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,bool,address,uint)", p0, p1, p2, p3));
	}

	function log(string memory p0, bool p1, address p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,bool,address,string)", p0, p1, p2, p3));
	}

	function log(string memory p0, bool p1, address p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,bool,address,bool)", p0, p1, p2, p3));
	}

	function log(string memory p0, bool p1, address p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,bool,address,address)", p0, p1, p2, p3));
	}

	function log(string memory p0, address p1, uint p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,address,uint,uint)", p0, p1, p2, p3));
	}

	function log(string memory p0, address p1, uint p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,address,uint,string)", p0, p1, p2, p3));
	}

	function log(string memory p0, address p1, uint p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,address,uint,bool)", p0, p1, p2, p3));
	}

	function log(string memory p0, address p1, uint p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,address,uint,address)", p0, p1, p2, p3));
	}

	function log(string memory p0, address p1, string memory p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,address,string,uint)", p0, p1, p2, p3));
	}

	function log(string memory p0, address p1, string memory p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,address,string,string)", p0, p1, p2, p3));
	}

	function log(string memory p0, address p1, string memory p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,address,string,bool)", p0, p1, p2, p3));
	}

	function log(string memory p0, address p1, string memory p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,address,string,address)", p0, p1, p2, p3));
	}

	function log(string memory p0, address p1, bool p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,address,bool,uint)", p0, p1, p2, p3));
	}

	function log(string memory p0, address p1, bool p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,address,bool,string)", p0, p1, p2, p3));
	}

	function log(string memory p0, address p1, bool p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,address,bool,bool)", p0, p1, p2, p3));
	}

	function log(string memory p0, address p1, bool p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,address,bool,address)", p0, p1, p2, p3));
	}

	function log(string memory p0, address p1, address p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,address,address,uint)", p0, p1, p2, p3));
	}

	function log(string memory p0, address p1, address p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,address,address,string)", p0, p1, p2, p3));
	}

	function log(string memory p0, address p1, address p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,address,address,bool)", p0, p1, p2, p3));
	}

	function log(string memory p0, address p1, address p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,address,address,address)", p0, p1, p2, p3));
	}

	function log(bool p0, uint p1, uint p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,uint,uint,uint)", p0, p1, p2, p3));
	}

	function log(bool p0, uint p1, uint p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,uint,uint,string)", p0, p1, p2, p3));
	}

	function log(bool p0, uint p1, uint p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,uint,uint,bool)", p0, p1, p2, p3));
	}

	function log(bool p0, uint p1, uint p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,uint,uint,address)", p0, p1, p2, p3));
	}

	function log(bool p0, uint p1, string memory p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,uint,string,uint)", p0, p1, p2, p3));
	}

	function log(bool p0, uint p1, string memory p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,uint,string,string)", p0, p1, p2, p3));
	}

	function log(bool p0, uint p1, string memory p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,uint,string,bool)", p0, p1, p2, p3));
	}

	function log(bool p0, uint p1, string memory p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,uint,string,address)", p0, p1, p2, p3));
	}

	function log(bool p0, uint p1, bool p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,uint,bool,uint)", p0, p1, p2, p3));
	}

	function log(bool p0, uint p1, bool p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,uint,bool,string)", p0, p1, p2, p3));
	}

	function log(bool p0, uint p1, bool p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,uint,bool,bool)", p0, p1, p2, p3));
	}

	function log(bool p0, uint p1, bool p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,uint,bool,address)", p0, p1, p2, p3));
	}

	function log(bool p0, uint p1, address p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,uint,address,uint)", p0, p1, p2, p3));
	}

	function log(bool p0, uint p1, address p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,uint,address,string)", p0, p1, p2, p3));
	}

	function log(bool p0, uint p1, address p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,uint,address,bool)", p0, p1, p2, p3));
	}

	function log(bool p0, uint p1, address p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,uint,address,address)", p0, p1, p2, p3));
	}

	function log(bool p0, string memory p1, uint p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,string,uint,uint)", p0, p1, p2, p3));
	}

	function log(bool p0, string memory p1, uint p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,string,uint,string)", p0, p1, p2, p3));
	}

	function log(bool p0, string memory p1, uint p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,string,uint,bool)", p0, p1, p2, p3));
	}

	function log(bool p0, string memory p1, uint p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,string,uint,address)", p0, p1, p2, p3));
	}

	function log(bool p0, string memory p1, string memory p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,string,string,uint)", p0, p1, p2, p3));
	}

	function log(bool p0, string memory p1, string memory p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,string,string,string)", p0, p1, p2, p3));
	}

	function log(bool p0, string memory p1, string memory p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,string,string,bool)", p0, p1, p2, p3));
	}

	function log(bool p0, string memory p1, string memory p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,string,string,address)", p0, p1, p2, p3));
	}

	function log(bool p0, string memory p1, bool p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,string,bool,uint)", p0, p1, p2, p3));
	}

	function log(bool p0, string memory p1, bool p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,string,bool,string)", p0, p1, p2, p3));
	}

	function log(bool p0, string memory p1, bool p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,string,bool,bool)", p0, p1, p2, p3));
	}

	function log(bool p0, string memory p1, bool p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,string,bool,address)", p0, p1, p2, p3));
	}

	function log(bool p0, string memory p1, address p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,string,address,uint)", p0, p1, p2, p3));
	}

	function log(bool p0, string memory p1, address p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,string,address,string)", p0, p1, p2, p3));
	}

	function log(bool p0, string memory p1, address p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,string,address,bool)", p0, p1, p2, p3));
	}

	function log(bool p0, string memory p1, address p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,string,address,address)", p0, p1, p2, p3));
	}

	function log(bool p0, bool p1, uint p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,bool,uint,uint)", p0, p1, p2, p3));
	}

	function log(bool p0, bool p1, uint p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,bool,uint,string)", p0, p1, p2, p3));
	}

	function log(bool p0, bool p1, uint p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,bool,uint,bool)", p0, p1, p2, p3));
	}

	function log(bool p0, bool p1, uint p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,bool,uint,address)", p0, p1, p2, p3));
	}

	function log(bool p0, bool p1, string memory p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,bool,string,uint)", p0, p1, p2, p3));
	}

	function log(bool p0, bool p1, string memory p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,bool,string,string)", p0, p1, p2, p3));
	}

	function log(bool p0, bool p1, string memory p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,bool,string,bool)", p0, p1, p2, p3));
	}

	function log(bool p0, bool p1, string memory p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,bool,string,address)", p0, p1, p2, p3));
	}

	function log(bool p0, bool p1, bool p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,bool,bool,uint)", p0, p1, p2, p3));
	}

	function log(bool p0, bool p1, bool p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,bool,bool,string)", p0, p1, p2, p3));
	}

	function log(bool p0, bool p1, bool p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,bool,bool,bool)", p0, p1, p2, p3));
	}

	function log(bool p0, bool p1, bool p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,bool,bool,address)", p0, p1, p2, p3));
	}

	function log(bool p0, bool p1, address p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,bool,address,uint)", p0, p1, p2, p3));
	}

	function log(bool p0, bool p1, address p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,bool,address,string)", p0, p1, p2, p3));
	}

	function log(bool p0, bool p1, address p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,bool,address,bool)", p0, p1, p2, p3));
	}

	function log(bool p0, bool p1, address p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,bool,address,address)", p0, p1, p2, p3));
	}

	function log(bool p0, address p1, uint p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,address,uint,uint)", p0, p1, p2, p3));
	}

	function log(bool p0, address p1, uint p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,address,uint,string)", p0, p1, p2, p3));
	}

	function log(bool p0, address p1, uint p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,address,uint,bool)", p0, p1, p2, p3));
	}

	function log(bool p0, address p1, uint p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,address,uint,address)", p0, p1, p2, p3));
	}

	function log(bool p0, address p1, string memory p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,address,string,uint)", p0, p1, p2, p3));
	}

	function log(bool p0, address p1, string memory p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,address,string,string)", p0, p1, p2, p3));
	}

	function log(bool p0, address p1, string memory p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,address,string,bool)", p0, p1, p2, p3));
	}

	function log(bool p0, address p1, string memory p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,address,string,address)", p0, p1, p2, p3));
	}

	function log(bool p0, address p1, bool p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,address,bool,uint)", p0, p1, p2, p3));
	}

	function log(bool p0, address p1, bool p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,address,bool,string)", p0, p1, p2, p3));
	}

	function log(bool p0, address p1, bool p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,address,bool,bool)", p0, p1, p2, p3));
	}

	function log(bool p0, address p1, bool p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,address,bool,address)", p0, p1, p2, p3));
	}

	function log(bool p0, address p1, address p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,address,address,uint)", p0, p1, p2, p3));
	}

	function log(bool p0, address p1, address p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,address,address,string)", p0, p1, p2, p3));
	}

	function log(bool p0, address p1, address p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,address,address,bool)", p0, p1, p2, p3));
	}

	function log(bool p0, address p1, address p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,address,address,address)", p0, p1, p2, p3));
	}

	function log(address p0, uint p1, uint p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,uint,uint,uint)", p0, p1, p2, p3));
	}

	function log(address p0, uint p1, uint p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,uint,uint,string)", p0, p1, p2, p3));
	}

	function log(address p0, uint p1, uint p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,uint,uint,bool)", p0, p1, p2, p3));
	}

	function log(address p0, uint p1, uint p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,uint,uint,address)", p0, p1, p2, p3));
	}

	function log(address p0, uint p1, string memory p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,uint,string,uint)", p0, p1, p2, p3));
	}

	function log(address p0, uint p1, string memory p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,uint,string,string)", p0, p1, p2, p3));
	}

	function log(address p0, uint p1, string memory p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,uint,string,bool)", p0, p1, p2, p3));
	}

	function log(address p0, uint p1, string memory p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,uint,string,address)", p0, p1, p2, p3));
	}

	function log(address p0, uint p1, bool p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,uint,bool,uint)", p0, p1, p2, p3));
	}

	function log(address p0, uint p1, bool p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,uint,bool,string)", p0, p1, p2, p3));
	}

	function log(address p0, uint p1, bool p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,uint,bool,bool)", p0, p1, p2, p3));
	}

	function log(address p0, uint p1, bool p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,uint,bool,address)", p0, p1, p2, p3));
	}

	function log(address p0, uint p1, address p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,uint,address,uint)", p0, p1, p2, p3));
	}

	function log(address p0, uint p1, address p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,uint,address,string)", p0, p1, p2, p3));
	}

	function log(address p0, uint p1, address p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,uint,address,bool)", p0, p1, p2, p3));
	}

	function log(address p0, uint p1, address p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,uint,address,address)", p0, p1, p2, p3));
	}

	function log(address p0, string memory p1, uint p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,string,uint,uint)", p0, p1, p2, p3));
	}

	function log(address p0, string memory p1, uint p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,string,uint,string)", p0, p1, p2, p3));
	}

	function log(address p0, string memory p1, uint p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,string,uint,bool)", p0, p1, p2, p3));
	}

	function log(address p0, string memory p1, uint p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,string,uint,address)", p0, p1, p2, p3));
	}

	function log(address p0, string memory p1, string memory p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,string,string,uint)", p0, p1, p2, p3));
	}

	function log(address p0, string memory p1, string memory p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,string,string,string)", p0, p1, p2, p3));
	}

	function log(address p0, string memory p1, string memory p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,string,string,bool)", p0, p1, p2, p3));
	}

	function log(address p0, string memory p1, string memory p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,string,string,address)", p0, p1, p2, p3));
	}

	function log(address p0, string memory p1, bool p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,string,bool,uint)", p0, p1, p2, p3));
	}

	function log(address p0, string memory p1, bool p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,string,bool,string)", p0, p1, p2, p3));
	}

	function log(address p0, string memory p1, bool p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,string,bool,bool)", p0, p1, p2, p3));
	}

	function log(address p0, string memory p1, bool p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,string,bool,address)", p0, p1, p2, p3));
	}

	function log(address p0, string memory p1, address p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,string,address,uint)", p0, p1, p2, p3));
	}

	function log(address p0, string memory p1, address p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,string,address,string)", p0, p1, p2, p3));
	}

	function log(address p0, string memory p1, address p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,string,address,bool)", p0, p1, p2, p3));
	}

	function log(address p0, string memory p1, address p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,string,address,address)", p0, p1, p2, p3));
	}

	function log(address p0, bool p1, uint p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,bool,uint,uint)", p0, p1, p2, p3));
	}

	function log(address p0, bool p1, uint p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,bool,uint,string)", p0, p1, p2, p3));
	}

	function log(address p0, bool p1, uint p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,bool,uint,bool)", p0, p1, p2, p3));
	}

	function log(address p0, bool p1, uint p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,bool,uint,address)", p0, p1, p2, p3));
	}

	function log(address p0, bool p1, string memory p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,bool,string,uint)", p0, p1, p2, p3));
	}

	function log(address p0, bool p1, string memory p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,bool,string,string)", p0, p1, p2, p3));
	}

	function log(address p0, bool p1, string memory p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,bool,string,bool)", p0, p1, p2, p3));
	}

	function log(address p0, bool p1, string memory p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,bool,string,address)", p0, p1, p2, p3));
	}

	function log(address p0, bool p1, bool p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,bool,bool,uint)", p0, p1, p2, p3));
	}

	function log(address p0, bool p1, bool p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,bool,bool,string)", p0, p1, p2, p3));
	}

	function log(address p0, bool p1, bool p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,bool,bool,bool)", p0, p1, p2, p3));
	}

	function log(address p0, bool p1, bool p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,bool,bool,address)", p0, p1, p2, p3));
	}

	function log(address p0, bool p1, address p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,bool,address,uint)", p0, p1, p2, p3));
	}

	function log(address p0, bool p1, address p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,bool,address,string)", p0, p1, p2, p3));
	}

	function log(address p0, bool p1, address p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,bool,address,bool)", p0, p1, p2, p3));
	}

	function log(address p0, bool p1, address p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,bool,address,address)", p0, p1, p2, p3));
	}

	function log(address p0, address p1, uint p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,address,uint,uint)", p0, p1, p2, p3));
	}

	function log(address p0, address p1, uint p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,address,uint,string)", p0, p1, p2, p3));
	}

	function log(address p0, address p1, uint p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,address,uint,bool)", p0, p1, p2, p3));
	}

	function log(address p0, address p1, uint p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,address,uint,address)", p0, p1, p2, p3));
	}

	function log(address p0, address p1, string memory p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,address,string,uint)", p0, p1, p2, p3));
	}

	function log(address p0, address p1, string memory p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,address,string,string)", p0, p1, p2, p3));
	}

	function log(address p0, address p1, string memory p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,address,string,bool)", p0, p1, p2, p3));
	}

	function log(address p0, address p1, string memory p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,address,string,address)", p0, p1, p2, p3));
	}

	function log(address p0, address p1, bool p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,address,bool,uint)", p0, p1, p2, p3));
	}

	function log(address p0, address p1, bool p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,address,bool,string)", p0, p1, p2, p3));
	}

	function log(address p0, address p1, bool p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,address,bool,bool)", p0, p1, p2, p3));
	}

	function log(address p0, address p1, bool p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,address,bool,address)", p0, p1, p2, p3));
	}

	function log(address p0, address p1, address p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,address,address,uint)", p0, p1, p2, p3));
	}

	function log(address p0, address p1, address p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,address,address,string)", p0, p1, p2, p3));
	}

	function log(address p0, address p1, address p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,address,address,bool)", p0, p1, p2, p3));
	}

	function log(address p0, address p1, address p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,address,address,address)", p0, p1, p2, p3));
	}

}

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

File 7 of 18 : NiftyLeagueCharacter.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/security/Pausable.sol";
import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
import "@openzeppelin/contracts/token/ERC721/ERC721.sol";
import "@openzeppelin/contracts/utils/Counters.sol";
import "@openzeppelin/contracts/utils/Strings.sol";

/**
 * @title NiftyLeagueCharacter (Base NFT for Nifty League characters)
 * @dev Extends standard ERC721 contract from OpenZeppelin
 */
contract NiftyLeagueCharacter is ERC721, Ownable, Pausable {
    using Strings for string;

    struct Character {
        uint256 traits;
        string name;
    }
    struct CharacterTraits {
        // character
        uint16 tribe;
        uint16 skinColor;
        uint16 furColor;
        uint16 eyeColor;
        uint16 pupilColor;
        //  head
        uint16 hair;
        uint16 mouth;
        uint16 beard;
        //  clothing
        uint16 top;
        uint16 outerwear;
        uint16 print;
        uint16 bottom;
        uint16 footwear;
        uint16 belt;
        //  accessories
        uint16 hat;
        uint16 eyewear;
        uint16 piercing;
        uint16 wrist;
        uint16 hands;
        uint16 neckwear;
        //  items
        uint16 leftItem;
        uint16 rightItem;
    }
    /// @dev Mapping of created character structs from token ID
    mapping(uint256 => Character) internal _characters;

    /// @dev Expected uint if no specific trait is selected
    uint256 internal constant EMPTY_TRAIT = 0;

    /// @dev Mapping if character trait combination exist
    mapping(uint256 => bool) internal _existMap;

    /// @dev Mapping if character trait has been removed
    mapping(uint256 => bool) internal _removedTraitsMap;

    /// @dev Array initialized in order to return removed trait list
    uint16[] internal removedTraits;

    /// @dev Nifty League NFTL token address
    address internal immutable _nftlAddress;

    /**
     * @notice Construct the Nifty League NFTs
     * @param nftlAddress Address of verified Nifty League NFTL contract
     */
    constructor(
        address nftlAddress,
        string memory name,
        string memory symbol
    ) ERC721(name, symbol) {
        _nftlAddress = nftlAddress;
    }

    // External functions

    /**
     * @notice Triggers stopped state
     * @dev Requirements: The contract must not be paused
     */
    function pauseMinting() external onlyOwner {
        _pause();
    }

    /**
     * @notice Returns to normal state
     * @dev Requirements: The contract must be paused
     */
    function unpauseMinting() external onlyOwner {
        _unpause();
    }

    /**
     * @notice Withdraw ether from this contract (Callable by owner)
     */
    function withdraw() external onlyOwner {
        uint256 balance = address(this).balance;
        payable(_msgSender()).transfer(balance);
    }

    /**
     * @notice Retrieve a list of removed character traits
     * @return removedTraits - list of unavailable character traits
     */
    function getRemovedTraits() external view returns (uint16[] memory) {
        return removedTraits;
    }

    /**
     * @notice Retrieve a list of character traits for a token
     * @param tokenId ID of NFT
     * @dev Permissioning not added because it is only callable once.
     * @return _characterTraits - indexed list of character traits
     */
    function getCharacterTraits(uint256 tokenId) external view returns (CharacterTraits memory _characterTraits) {
        require(_exists(tokenId), "nonexistent token");
        Character memory character = _characters[tokenId];
        _characterTraits.tribe = _unpackUint10(character.traits);
        _characterTraits.skinColor = _unpackUint10(character.traits >> 10);
        _characterTraits.furColor = _unpackUint10(character.traits >> 20);
        _characterTraits.eyeColor = _unpackUint10(character.traits >> 30);
        _characterTraits.pupilColor = _unpackUint10(character.traits >> 40);
        _characterTraits.hair = _unpackUint10(character.traits >> 50);
        _characterTraits.mouth = _unpackUint10(character.traits >> 60);
        _characterTraits.beard = _unpackUint10(character.traits >> 70);
        _characterTraits.top = _unpackUint10(character.traits >> 80);
        _characterTraits.outerwear = _unpackUint10(character.traits >> 90);
        _characterTraits.print = _unpackUint10(character.traits >> 100);
        _characterTraits.bottom = _unpackUint10(character.traits >> 110);
        _characterTraits.footwear = _unpackUint10(character.traits >> 120);
        _characterTraits.belt = _unpackUint10(character.traits >> 130);
        _characterTraits.hat = _unpackUint10(character.traits >> 140);
        _characterTraits.eyewear = _unpackUint10(character.traits >> 150);
        _characterTraits.piercing = _unpackUint10(character.traits >> 160);
        _characterTraits.wrist = _unpackUint10(character.traits >> 170);
        _characterTraits.hands = _unpackUint10(character.traits >> 180);
        _characterTraits.neckwear = _unpackUint10(character.traits >> 190);
        _characterTraits.leftItem = _unpackUint10(character.traits >> 200);
        _characterTraits.rightItem = _unpackUint10(character.traits >> 210);
    }

    // Public functions

    /**
     * @notice Check whether trait combo is unique
     * @param traitCombo Generated trait combo packed into uint256
     * @return True if combo is unique and available
     */
    function isUnique(uint256 traitCombo) public view returns (bool) {
        return !_existMap[traitCombo];
    }

    /**
     * @notice Check whether trait is still available
     * @param trait ID of trait
     * @return True if trait has not been removed
     */
    function isAvailableTrait(uint256 trait) public view returns (bool) {
        return !_removedTraitsMap[trait];
    }

    // Internal functions

    /**
     * @notice Unpack trait id from trait list
     * @param traits Section within trait combo
     * @return Trait ID
     */
    function _unpackUint10(uint256 traits) internal pure returns (uint16) {
        return uint16(traits) & 0x03FF;
    }

    /**
     * @notice Generates uint256 bitwise trait combo
     * @param character Indexed list of character traits
     * @param head Indexed list of head traits
     * @param clothing Indexed list of clothing options
     * @param accessories Indexed list of accessories
     * @param items Indexed list of items
     * @dev Each trait is stored in 10 bits
     * @return Trait combo packed into uint256
     */
    function _generateTraitCombo(
        uint256[5] memory character,
        uint256[3] memory head,
        uint256[6] memory clothing,
        uint256[6] memory accessories,
        uint256[2] memory items
    ) internal pure returns (uint256) {
        uint256 traits = character[0];
        traits |= character[1] << 10;
        traits |= character[2] << 20;
        traits |= character[3] << 30;
        traits |= character[4] << 40;
        traits |= head[0] << 50;
        traits |= head[1] << 60;
        traits |= head[2] << 70;
        traits |= clothing[0] << 80;
        traits |= clothing[1] << 90;
        traits |= clothing[2] << 100;
        traits |= clothing[3] << 110;
        traits |= clothing[4] << 120;
        traits |= clothing[5] << 130;
        traits |= accessories[0] << 140;
        traits |= accessories[1] << 150;
        traits |= accessories[2] << 160;
        traits |= accessories[3] << 170;
        traits |= accessories[4] << 180;
        traits |= accessories[5] << 190;
        traits |= items[0] << 200;
        traits |= items[1] << 210;
        return traits;
    }
}

File 8 of 18 : Ownable.sol
// SPDX-License-Identifier: MIT

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() {
        _setOwner(_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 {
        _setOwner(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");
        _setOwner(newOwner);
    }

    function _setOwner(address newOwner) private {
        address oldOwner = _owner;
        _owner = newOwner;
        emit OwnershipTransferred(oldOwner, newOwner);
    }
}

File 9 of 18 : Pausable.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

/**
 * @dev Contract module which allows children to implement an emergency stop
 * mechanism that can be triggered by an authorized account.
 *
 * This module is used through inheritance. It will make available the
 * modifiers `whenNotPaused` and `whenPaused`, which can be applied to
 * the functions of your contract. Note that they will not be pausable by
 * simply including this module, only once the modifiers are put in place.
 */
abstract contract Pausable is Context {
    /**
     * @dev Emitted when the pause is triggered by `account`.
     */
    event Paused(address account);

    /**
     * @dev Emitted when the pause is lifted by `account`.
     */
    event Unpaused(address account);

    bool private _paused;

    /**
     * @dev Initializes the contract in unpaused state.
     */
    constructor() {
        _paused = false;
    }

    /**
     * @dev Returns true if the contract is paused, and false otherwise.
     */
    function paused() public view virtual returns (bool) {
        return _paused;
    }

    /**
     * @dev Modifier to make a function callable only when the contract is not paused.
     *
     * Requirements:
     *
     * - The contract must not be paused.
     */
    modifier whenNotPaused() {
        require(!paused(), "Pausable: paused");
        _;
    }

    /**
     * @dev Modifier to make a function callable only when the contract is paused.
     *
     * Requirements:
     *
     * - The contract must be paused.
     */
    modifier whenPaused() {
        require(paused(), "Pausable: not paused");
        _;
    }

    /**
     * @dev Triggers stopped state.
     *
     * Requirements:
     *
     * - The contract must not be paused.
     */
    function _pause() internal virtual whenNotPaused {
        _paused = true;
        emit Paused(_msgSender());
    }

    /**
     * @dev Returns to normal state.
     *
     * Requirements:
     *
     * - The contract must be paused.
     */
    function _unpause() internal virtual whenPaused {
        _paused = false;
        emit Unpaused(_msgSender());
    }
}

File 10 of 18 : ERC721.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        _approve(to, tokenId);
    }

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

        return _tokenApprovals[tokenId];
    }

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

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

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

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

        _transfer(from, to, tokenId);
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        _beforeTokenTransfer(from, to, tokenId);

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

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

        emit Transfer(from, to, tokenId);
    }

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

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

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

File 11 of 18 : Strings.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

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

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

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

File 12 of 18 : Context.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

File 14 of 18 : IERC721Receiver.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

pragma solidity ^0.8.0;

import "../IERC721.sol";

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

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

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

File 16 of 18 : Address.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

File 17 of 18 : ERC165.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "./IERC165.sol";

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

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

pragma solidity ^0.8.0;

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

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"nftlAddress","type":"address"},{"internalType":"address","name":"storageAddress","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"},{"indexed":false,"internalType":"string","name":"previousName","type":"string"},{"indexed":false,"internalType":"string","name":"newName","type":"string"}],"name":"NameUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Paused","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Unpaused","type":"event"},{"inputs":[],"name":"MAX_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"NAME_CHANGE_PRICE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"SPECIAL_CHARACTERS","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"string","name":"newName","type":"string"}],"name":"changeName","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getCharacterTraits","outputs":[{"components":[{"internalType":"uint16","name":"tribe","type":"uint16"},{"internalType":"uint16","name":"skinColor","type":"uint16"},{"internalType":"uint16","name":"furColor","type":"uint16"},{"internalType":"uint16","name":"eyeColor","type":"uint16"},{"internalType":"uint16","name":"pupilColor","type":"uint16"},{"internalType":"uint16","name":"hair","type":"uint16"},{"internalType":"uint16","name":"mouth","type":"uint16"},{"internalType":"uint16","name":"beard","type":"uint16"},{"internalType":"uint16","name":"top","type":"uint16"},{"internalType":"uint16","name":"outerwear","type":"uint16"},{"internalType":"uint16","name":"print","type":"uint16"},{"internalType":"uint16","name":"bottom","type":"uint16"},{"internalType":"uint16","name":"footwear","type":"uint16"},{"internalType":"uint16","name":"belt","type":"uint16"},{"internalType":"uint16","name":"hat","type":"uint16"},{"internalType":"uint16","name":"eyewear","type":"uint16"},{"internalType":"uint16","name":"piercing","type":"uint16"},{"internalType":"uint16","name":"wrist","type":"uint16"},{"internalType":"uint16","name":"hands","type":"uint16"},{"internalType":"uint16","name":"neckwear","type":"uint16"},{"internalType":"uint16","name":"leftItem","type":"uint16"},{"internalType":"uint16","name":"rightItem","type":"uint16"}],"internalType":"struct NiftyLeagueCharacter.CharacterTraits","name":"_characterTraits","type":"tuple"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getNFTPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getName","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getRemovedTraits","outputs":[{"internalType":"uint16[]","name":"","type":"uint16[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"initPoolSizes","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tribe","type":"uint256"},{"internalType":"uint256","name":"trait","type":"uint256"}],"name":"isAvailableAndAllowedTrait","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"trait","type":"uint256"}],"name":"isAvailableTrait","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"string","name":"nameString","type":"string"}],"name":"isNameReserved","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"traitCombo","type":"uint256"}],"name":"isUnique","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"newPrice","type":"uint256"}],"name":"overrideMintPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pauseMinting","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256[5]","name":"character","type":"uint256[5]"},{"internalType":"uint256[3]","name":"head","type":"uint256[3]"},{"internalType":"uint256[6]","name":"clothing","type":"uint256[6]"},{"internalType":"uint256[6]","name":"accessories","type":"uint256[6]"},{"internalType":"uint256[2]","name":"items","type":"uint256[2]"}],"name":"purchase","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"baseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"_value","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"unpauseMinting","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"newName","type":"string"}],"name":"validateName","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"pure","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60e06040819052600060c08190526200001b91600f9162000159565b503480156200002957600080fd5b50604051620057f8380380620057f88339810160408190526200004c916200021c565b604080518082018252600a8152692734b33a3ca232b3b2b760b11b6020808301918252835180850190945260058452642222a3a2a760d91b90840152815185939183918391620000a0916000919062000159565b508051620000b690600190602084019062000159565b505050620000d3620000cd6200010360201b60201c565b62000107565b50506006805460ff60a01b191690556001600160601b0319606091821b811660805291901b1660a0525062000290565b3390565b600680546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b828054620001679062000253565b90600052602060002090601f0160209004810192826200018b5760008555620001d6565b82601f10620001a657805160ff1916838001178555620001d6565b82800160010185558215620001d6579182015b82811115620001d6578251825591602001919060010190620001b9565b50620001e4929150620001e8565b5090565b5b80821115620001e45760008155600101620001e9565b80516001600160a01b03811681146200021757600080fd5b919050565b600080604083850312156200022f578182fd5b6200023a83620001ff565b91506200024a60208401620001ff565b90509250929050565b600181811c908216806200026857607f821691505b602082108114156200028a57634e487b7160e01b600052602260045260246000fd5b50919050565b60805160601c60a05160601c61553c620002bc60003960006128a001526000612268015261553c6000f3fe6080604052600436106102855760003560e01c806370a0823111610153578063b88d4fde116100cb578063e13cae401161007f578063f2fde38b11610064578063f2fde38b14610721578063fb107a4f14610741578063ff88dea91461075657600080fd5b8063e13cae40146106c3578063e985e9c5146106d857600080fd5b8063c87b56dd116100b0578063c87b56dd1461066e578063d92559ad1461068e578063da8fbf2a146106ae57600080fd5b8063b88d4fde1461062e578063c39cbef11461064e57600080fd5b806395d89b41116101225780639ffdb65a116101075780639ffdb65a146105d9578063a22cb465146105f9578063ae2003221461061957600080fd5b806395d89b41146105975780639b046ed3146105ac57600080fd5b806370a0823114610531578063715018a61461055157806372c9f580146105665780638da5cb5b1461057957600080fd5b806318160ddd1161020157806354b6f161116101b55780635c975abb1161019a5780635c975abb146104c15780636352211e146104f15780636b8ff5741461051157600080fd5b806354b6f1611461048457806355f804b3146104a157600080fd5b806332cb6b0c116101e657806332cb6b0c146104395780633ccfd60b1461044f57806342842e0e1461046457600080fd5b806318160ddd146103f457806323b872dd1461041957600080fd5b8063081812fc1161025857806315b56d101161023d57806315b56d10146103815780631656efc6146103a157806317bed2c5146103d257600080fd5b8063081812fc14610329578063095ea7b31461036157600080fd5b80630194cf121461028a57806301ffc9a7146102a157806306fdde03146102d65780630750d2fb146102f8575b600080fd5b34801561029657600080fd5b5061029f610776565b005b3480156102ad57600080fd5b506102c16102bc366004614ee5565b610a45565b60405190151581526020015b60405180910390f35b3480156102e257600080fd5b506102eb610b2a565b6040516102cd91906150e7565b34801561030457600080fd5b506102c1610313366004614f50565b60009081526008602052604090205460ff161590565b34801561033557600080fd5b50610349610344366004614f50565b610bbc565b6040516001600160a01b0390911681526020016102cd565b34801561036d57600080fd5b5061029f61037c366004614dcb565b610c62565b34801561038d57600080fd5b506102c161039c366004614f1d565b610d94565b3480156103ad57600080fd5b506102c16103bc366004614f50565b60009081526009602052604090205460ff161590565b3480156103de57600080fd5b506103e7610dc7565b6040516102cd919061509f565b34801561040057600080fd5b50600c5461040b9081565b6040519081526020016102cd565b34801561042557600080fd5b5061029f610434366004614ce1565b610e46565b34801561044557600080fd5b5061040b61271081565b34801561045b57600080fd5b5061029f610ecd565b34801561047057600080fd5b5061029f61047f366004614ce1565b610f5a565b34801561049057600080fd5b5061040b683635c9adc5dea0000081565b3480156104ad57600080fd5b5061029f6104bc366004614f1d565b610f75565b3480156104cd57600080fd5b5060065474010000000000000000000000000000000000000000900460ff166102c1565b3480156104fd57600080fd5b5061034961050c366004614f50565b610fe2565b34801561051d57600080fd5b506102eb61052c366004614f50565b61106d565b34801561053d57600080fd5b5061040b61054c366004614c95565b611175565b34801561055d57600080fd5b5061029f61120f565b61029f610574366004614df4565b611275565b34801561058557600080fd5b506006546001600160a01b0316610349565b3480156105a357600080fd5b506102eb6114fb565b3480156105b857600080fd5b506105cc6105c7366004614f50565b61150a565b6040516102cd9190615128565b3480156105e557600080fd5b506102c16105f4366004614f1d565b61190c565b34801561060557600080fd5b5061029f610614366004614d95565b611d99565b34801561062557600080fd5b5061029f611e7c565b34801561063a57600080fd5b5061029f610649366004614d1c565b611ede565b34801561065a57600080fd5b506102eb610669366004614f68565b611f6c565b34801561067a57600080fd5b506102eb610689366004614f50565b61244e565b34801561069a57600080fd5b5061029f6106a9366004614f50565b612537565b3480156106ba57600080fd5b5061029f612596565b3480156106cf57600080fd5b5061040b606481565b3480156106e457600080fd5b506102c16106f3366004614caf565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b34801561072d57600080fd5b5061029f61073c366004614c95565b6125f8565b34801561074d57600080fd5b5061040b6126da565b34801561076257600080fd5b506102c1610771366004614fad565b61283a565b6006546001600160a01b031633146107d55760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064015b60405180910390fd5b600d60205260717fa5049387d9cb649c59f4bda666105ba636c2a103d8e2b232ba4d125737cd214955600e7fa48544818c2c710afa9849c61ec9c60e8acdb3eaa2885f33b37e118cc8fd04ac55603f7fb91432bedff11256dbe14161d3606a2657bc9dacf8742f6b817d871dd53fb9765560637f0b705463cf5f7356780ee6e96132d37412c1b5816a4d207b8dcd42c34976745755604c7f7b6f1ece0cbe5122a575776770f0494c2d57ed2a50e36c2ba0d811d70ee03b645560297fba9d637f252776d5e1b3534bbd7554a1265a4ef0539d9ca50abe118598a6973c5560657f52c2086a203f40e709b1346663401f6c737b2fce5878601fcf875b047fed5fb65560257fe399baa2fabbab2a0309615b124a802277bab50ec0ca3452a00889e216c4b902819055600c7fe0af3347aa7e5af384208c9d29458f902f0ceddbc90963608afa77235658b360819055602b7f154ef5b709dcdc8b49a2af6408b8a1af209c39b5fa796f03680257c97692546e5560327f52fb6a28cb3c239105f8f829bc7376f939b6bfb040c470bdc2bda0af2e784b9455600a7f01a49be1e7ea084651fd665847100d28826db0b17160863a99534933cbbd2dce557f6fbf3b49b523bc27464b7dbfa6311951351b1d3efd07aa2ee4d1ce319801a0ce5560197f0a206051e911305809ddd48cf2baa7ead2c7fb038e505e1d02f9e6c2ce72930c557f1341e158d1184a2eb4edb96b016176e1c5ad075baae6651557fb93ae3925007a55605c7fdd2af3330d298808a303a10bc360333536e7697099bb3fe7200b0c272de6655855601560005260307f35c0ef8c6f7488ebe28ad34a3af68b3aa3aea0693e227054e9ec90bd504f66d255565b60007fffffffff0000000000000000000000000000000000000000000000000000000082167f80ac58cd000000000000000000000000000000000000000000000000000000001480610ad857507fffffffff0000000000000000000000000000000000000000000000000000000082167f5b5e139f00000000000000000000000000000000000000000000000000000000145b80610b2457507f01ffc9a7000000000000000000000000000000000000000000000000000000007fffffffff000000000000000000000000000000000000000000000000000000008316145b92915050565b606060008054610b3990615400565b80601f0160208091040260200160405190810160405280929190818152602001828054610b6590615400565b8015610bb25780601f10610b8757610100808354040283529160200191610bb2565b820191906000526020600020905b815481529060010190602001808311610b9557829003601f168201915b5050505050905090565b6000818152600260205260408120546001600160a01b0316610c465760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201527f697374656e7420746f6b656e000000000000000000000000000000000000000060648201526084016107cc565b506000908152600460205260409020546001600160a01b031690565b6000610c6d82610fe2565b9050806001600160a01b0316836001600160a01b03161415610cf75760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560448201527f720000000000000000000000000000000000000000000000000000000000000060648201526084016107cc565b336001600160a01b0382161480610d135750610d1381336106f3565b610d855760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c000000000000000060648201526084016107cc565b610d8f838361292c565b505050565b6000600b610da1836129b2565b604051610dae9190615018565b9081526040519081900360200190205460ff1692915050565b6060600a805480602002602001604051908101604052809291908181526020018280548015610bb257602002820191906000526020600020906000905b82829054906101000a900461ffff1661ffff1681526020019060020190602082600101049283019260010382029150808411610e045790505050505050905090565b610e503382612ba7565b610ec25760405162461bcd60e51b815260206004820152603160248201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f76656400000000000000000000000000000060648201526084016107cc565b610d8f838383612cab565b6006546001600160a01b03163314610f275760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016107cc565b6040514790339082156108fc029083906000818181858888f19350505050158015610f56573d6000803e3d6000fd5b5050565b610d8f83838360405180602001604052806000815250611ede565b6006546001600160a01b03163314610fcf5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016107cc565b8051610f5690600f9060208401906149e9565b6000818152600260205260408120546001600160a01b031680610b245760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201527f656e7420746f6b656e000000000000000000000000000000000000000000000060648201526084016107cc565b6000818152600260205260409020546060906001600160a01b03166110d45760405162461bcd60e51b815260206004820152601160248201527f6e6f6e6578697374656e7420746f6b656e00000000000000000000000000000060448201526064016107cc565b600082815260076020526040902060010180546110f090615400565b80601f016020809104026020016040519081016040528092919081815260200182805461111c90615400565b80156111695780601f1061113e57610100808354040283529160200191611169565b820191906000526020600020905b81548152906001019060200180831161114c57829003601f168201915b50505050509050919050565b60006001600160a01b0382166111f35760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a6560448201527f726f20616464726573730000000000000000000000000000000000000000000060648201526084016107cc565b506001600160a01b031660009081526003602052604090205490565b6006546001600160a01b031633146112695760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016107cc565b6112736000612e90565b565b60065474010000000000000000000000000000000000000000900460ff16156112e05760405162461bcd60e51b815260206004820152601060248201527f5061757361626c653a207061757365640000000000000000000000000000000060448201526064016107cc565b60006112eb600c5490565b905060038110158061130757506006546001600160a01b031633145b6113535760405162461bcd60e51b815260206004820152601460248201527f53616c6520686173206e6f74207374617274656400000000000000000000000060448201526064016107cc565b61135b6126da565b34146113a95760405162461bcd60e51b815260206004820152601560248201527f45746865722076616c756520696e636f7272656374000000000000000000000060448201526064016107cc565b6113b68686868686612efa565b60006114e78787878787600080868160200201519050600a8760016020020151901b1760148760026020020151901b17601e8760036020020151901b1760288760046020020151901b1760328660006020020151901b17603c8660016020020151901b1760468660026020020151901b1760508560006020020151901b17605a8560016020020151901b1760648560026020020151901b17606e8560036020020151901b1760788560046020020151901b1760828560056020020151901b17608c8460006020020151901b1760968460016020020151901b1760a08460026020020151901b1760aa8460036020020151901b1760b48460046020020151901b1760be8460056020020151901b1760c88360006020020151901b1760d28360016020020151901b179695505050505050565b90506114f281613ed7565b50505050505050565b606060018054610b3990615400565b604080516102c081018252600080825260208201819052918101829052606081018290526080810182905260a0810182905260c0810182905260e08101829052610100810182905261012081018290526101408101829052610160810182905261018081018290526101a081018290526101c081018290526101e08101829052610200810182905261022081018290526102408101829052610260810182905261028081018290526102a08101919091526000828152600260205260409020546001600160a01b031661161f5760405162461bcd60e51b815260206004820152601160248201527f6e6f6e6578697374656e7420746f6b656e00000000000000000000000000000060448201526064016107cc565b6000600760008481526020019081526020016000206040518060400160405290816000820154815260200160018201805461165990615400565b80601f016020809104026020016040519081016040528092919081815260200182805461168590615400565b80156116d25780601f106116a7576101008083540402835291602001916116d2565b820191906000526020600020905b8154815290600101906020018083116116b557829003601f168201915b5050509190925250508151919250506103ff1661ffff16825280516116fb90600a1c6103ff1690565b61ffff16602083015280516117149060141c6103ff1690565b61ffff166040830152805161172d90601e1c6103ff1690565b61ffff16606083015280516117469060281c6103ff1690565b61ffff166080830152805161175f9060321c6103ff1690565b61ffff1660a0830152805161177890603c1c6103ff1690565b61ffff1660c083015280516117919060461c6103ff1690565b61ffff1660e083015280516117aa9060501c6103ff1690565b61ffff1661010083015280516117c490605a1c6103ff1690565b61ffff1661012083015280516117de9060641c6103ff1690565b61ffff1661014083015280516117f890606e1c6103ff1690565b61ffff1661016083015280516118129060781c6103ff1690565b61ffff16610180830152805161182c9060821c6103ff1690565b61ffff166101a0830152805161184690608c1c6103ff1690565b61ffff166101c083015280516118609060961c6103ff1690565b61ffff166101e0830152805161187a9060a01c6103ff1690565b61ffff1661020083015280516118949060aa1c6103ff1690565b61ffff1661022083015280516118ae9060b41c6103ff1690565b61ffff1661024083015280516118c89060be1c6103ff1690565b61ffff1661026083015280516118e29060c81c6103ff1690565b61ffff1661028083015280516118fc9060d21c6103ff1690565b61ffff166102a083015250919050565b600080829050600181511080611923575060208151115b156119315750600092915050565b8060008151811061195257634e487b7160e01b600052603260045260246000fd5b6020910101517fff00000000000000000000000000000000000000000000000000000000000000167f20000000000000000000000000000000000000000000000000000000000000001480611a1a575080600182516119b191906153bd565b815181106119cf57634e487b7160e01b600052603260045260246000fd5b6020910101517fff00000000000000000000000000000000000000000000000000000000000000167f2000000000000000000000000000000000000000000000000000000000000000145b15611a285750600092915050565b600081600081518110611a4b57634e487b7160e01b600052603260045260246000fd5b01602001517fff0000000000000000000000000000000000000000000000000000000000000016905060005b8251811015611d8e576000838281518110611aa257634e487b7160e01b600052603260045260246000fd5b01602001517fff000000000000000000000000000000000000000000000000000000000000001690507f200000000000000000000000000000000000000000000000000000000000000081148015611b3b57507f20000000000000000000000000000000000000000000000000000000000000007fff000000000000000000000000000000000000000000000000000000000000008416145b15611b4c5750600095945050505050565b7f30000000000000000000000000000000000000000000000000000000000000007fff00000000000000000000000000000000000000000000000000000000000000821610801590611be057507f39000000000000000000000000000000000000000000000000000000000000007fff00000000000000000000000000000000000000000000000000000000000000821611155b158015611c7e57507f41000000000000000000000000000000000000000000000000000000000000007fff00000000000000000000000000000000000000000000000000000000000000821610801590611c7c57507f5a000000000000000000000000000000000000000000000000000000000000007fff00000000000000000000000000000000000000000000000000000000000000821611155b155b8015611d1b57507f61000000000000000000000000000000000000000000000000000000000000007fff00000000000000000000000000000000000000000000000000000000000000821610801590611d1957507f7a000000000000000000000000000000000000000000000000000000000000007fff00000000000000000000000000000000000000000000000000000000000000821611155b155b8015611d6957507f20000000000000000000000000000000000000000000000000000000000000007fff00000000000000000000000000000000000000000000000000000000000000821614155b15611d7a5750600095945050505050565b915080611d868161543b565b915050611a77565b506001949350505050565b6001600160a01b038216331415611df25760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c65720000000000000060448201526064016107cc565b3360008181526005602090815260408083206001600160a01b0387168085529083529281902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6006546001600160a01b03163314611ed65760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016107cc565b611273613fee565b611ee83383612ba7565b611f5a5760405162461bcd60e51b815260206004820152603160248201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f76656400000000000000000000000000000060648201526084016107cc565b611f66848484846140c0565b50505050565b6000828152600260205260409020546060906001600160a01b0316611fd35760405162461bcd60e51b815260206004820152601160248201527f6e6f6e6578697374656e7420746f6b656e00000000000000000000000000000060448201526064016107cc565b611fdd3384612ba7565b6120295760405162461bcd60e51b815260206004820181905260248201527f43616c6c6572206973206e6f74206f776e6572206e6f7220617070726f76656460448201526064016107cc565b6000838152600760205260408120600101805461204590615400565b80601f016020809104026020016040519081016040528092919081815260200182805461207190615400565b80156120be5780601f10612093576101008083540402835291602001916120be565b820191906000526020600020905b8154815290600101906020018083116120a157829003601f168201915b505050505090506002816040516120d59190615018565b602060405180830381855afa1580156120f2573d6000803e3d6000fd5b5050506040513d601f19601f820116820180604052508101906121159190614ecd565b6002846040516121259190615018565b602060405180830381855afa158015612142573d6000803e3d6000fd5b5050506040513d601f19601f820116820180604052508101906121659190614ecd565b14156121b35760405162461bcd60e51b815260206004820152601f60248201527f4e6577206e616d6520616e64206f6c64206e616d652061726520657175616c0060448201526064016107cc565b6121bc8361190c565b6122085760405162461bcd60e51b815260206004820152601360248201527f4e616d65206973206e6f7420616c6c6f7765640000000000000000000000000060448201526064016107cc565b61221183610d94565b1561225e5760405162461bcd60e51b815260206004820152601560248201527f4e616d6520616c7265616479207265736572766564000000000000000000000060448201526064016107cc565b6001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000166379cc6790336040517fffffffff0000000000000000000000000000000000000000000000000000000060e084901b1681526001600160a01b039091166004820152683635c9adc5dea000006024820152604401600060405180830381600087803b1580156122f657600080fd5b505af115801561230a573d6000803e3d6000fd5b505050600085815260076020526040812060010180549192509061232d90615400565b905011156123db57600084815260076020526040902060010180546123db919061235690615400565b80601f016020809104026020016040519081016040528092919081815260200182805461238290615400565b80156123cf5780601f106123a4576101008083540402835291602001916123cf565b820191906000526020600020905b8154815290600101906020018083116123b257829003601f168201915b50505050506000614149565b6123e6836001614149565b6000848152600760209081526040909120845161240b926001909201918601906149e9565b50837f8eff5208043d31f23e348dc06be3a80821505e5b3e0002e9fa1185f5d47eac59828560405161243e9291906150fa565b60405180910390a2509092915050565b6000818152600260205260409020546060906001600160a01b03166124db5760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201527f6e6578697374656e7420746f6b656e000000000000000000000000000000000060648201526084016107cc565b60006124e56141a4565b905060008151116125055760405180602001604052806000815250612530565b8061250f846141b3565b604051602001612520929190615034565b6040516020818303038152906040525b9392505050565b6006546001600160a01b031633146125915760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016107cc565b600e55565b6006546001600160a01b031633146125f05760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016107cc565b611273614301565b6006546001600160a01b031633146126525760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016107cc565b6001600160a01b0381166126ce5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f646472657373000000000000000000000000000000000000000000000000000060648201526084016107cc565b6126d781612e90565b50565b6000806126e6600c5490565b90506126f560646127106153bd565b81108061271857506006546001600160a01b031633148015612718575061271081105b6127645760405162461bcd60e51b815260206004820152601660248201527f53616c652068617320616c726561647920656e6465640000000000000000000060448201526064016107cc565b600381108061277557506126ac8110155b1561278257600091505090565b67011c37937e080000600e541061279b575050600e5490565b61251c81106127b3576703e2c284391c000091505090565b61213481106127cb576703782dace9d9000091505090565b61196481106127e35767030d98d59a96000091505090565b61119481106127fb576702a303fe4b53000091505090565b6109c48110612813576702386f26fc10000091505090565b6103e8811061282b576701cdda4faccd000091505090565b67016345785d8a000091505090565b60008161284957506001610b24565b6096821061286a575060008181526009602052604090205460ff1615610b24565b6040517f968ef8f500000000000000000000000000000000000000000000000000000000815260048101849052602481018390527f0000000000000000000000000000000000000000000000000000000000000000906001600160a01b0382169063968ef8f59060440160206040518083038186803b1580156128ec57600080fd5b505afa158015612900573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906129249190614eb1565b949350505050565b600081815260046020526040902080547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b038416908117909155819061297982610fe2565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b606060008290506000815167ffffffffffffffff8111156129e357634e487b7160e01b600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015612a0d576020820181803683370190505b50905060005b8251811015612b9f576041838281518110612a3e57634e487b7160e01b600052603260045260246000fd5b016020015160f81c10801590612a7c5750605a838281518110612a7157634e487b7160e01b600052603260045260246000fd5b016020015160f81c11155b15612b1257828181518110612aa157634e487b7160e01b600052603260045260246000fd5b602001015160f81c60f81b60f81c6020612abb91906152d3565b60f81b828281518110612ade57634e487b7160e01b600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350612b8d565b828181518110612b3257634e487b7160e01b600052603260045260246000fd5b602001015160f81c60f81b828281518110612b5d57634e487b7160e01b600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053505b80612b978161543b565b915050612a13565b509392505050565b6000818152600260205260408120546001600160a01b0316612c315760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201527f697374656e7420746f6b656e000000000000000000000000000000000000000060648201526084016107cc565b6000612c3c83610fe2565b9050806001600160a01b0316846001600160a01b03161480612c775750836001600160a01b0316612c6c84610bbc565b6001600160a01b0316145b8061292457506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff16612924565b826001600160a01b0316612cbe82610fe2565b6001600160a01b031614612d3a5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201527f73206e6f74206f776e000000000000000000000000000000000000000000000060648201526084016107cc565b6001600160a01b038216612db55760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f2061646460448201527f726573730000000000000000000000000000000000000000000000000000000060648201526084016107cc565b612dc060008261292c565b6001600160a01b0383166000908152600360205260408120805460019290612de99084906153bd565b90915550506001600160a01b0382166000908152600360205260408120805460019290612e179084906152bb565b909155505060008181526002602052604080822080547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b600680546001600160a01b038381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b84518015801590612f2c5750600681111580612f2c575060098111158015612f2c57506006546001600160a01b031633145b612f785760405162461bcd60e51b815260206004820152600f60248201527f547269626520696e636f7272656374000000000000000000000000000000000060448201526064016107cc565b6020860151612f8a90600a60456143d3565b80612fa55750612fa58660015b6020020151607760956143d3565b612ff15760405162461bcd60e51b815260206004820152601460248201527f536b696e20636f6c6f7220696e636f727265637400000000000000000000000060448201526064016107cc565b604086015161300390604660646143d3565b806130145750613014866002612f97565b6130605760405162461bcd60e51b815260206004820152601360248201527f46757220636f6c6f7220696e636f72726563740000000000000000000000000060448201526064016107cc565b6060860151613072906065606d6143d3565b806130835750613083866003612f97565b6130cf5760405162461bcd60e51b815260206004820152601360248201527f45796520636f6c6f7220696e636f72726563740000000000000000000000000060448201526064016107cc565b60808601516130e190606e60766143d3565b806130f257506130f2866004612f97565b61313e5760405162461bcd60e51b815260206004820152601560248201527f507570696c20636f6c6f7220696e636f7272656374000000000000000000000060448201526064016107cc565b845161314e9060966101066143d3565b61319a5760405162461bcd60e51b815260206004820152600e60248201527f4861697220696e636f727265637400000000000000000000000000000000000060448201526064016107cc565b60208501516131ae906101076101146143d3565b6131fa5760405162461bcd60e51b815260206004820152600f60248201527f4d6f75746820696e636f7272656374000000000000000000000000000000000060448201526064016107cc565b604085015161320e906101156101536143d3565b61325a5760405162461bcd60e51b815260206004820152600f60248201527f426561726420696e636f7272656374000000000000000000000000000000000060448201526064016107cc565b835161326b906101546101b66143d3565b6132b75760405162461bcd60e51b815260206004820152600d60248201527f546f7020696e636f72726563740000000000000000000000000000000000000060448201526064016107cc565b60208401516132cb906101b76102026143d3565b6133175760405162461bcd60e51b815260206004820152601360248201527f4f757465727765617220696e636f72726563740000000000000000000000000060448201526064016107cc565b604084015161332b9061020361022b6143d3565b6133775760405162461bcd60e51b815260206004820152600f60248201527f5072696e7420696e636f7272656374000000000000000000000000000000000060448201526064016107cc565b606084015161338b9061022c6102916143d3565b6133d75760405162461bcd60e51b815260206004820152601060248201527f426f74746f6d20696e636f72726563740000000000000000000000000000000060448201526064016107cc565b60808401516133eb906102926102b66143d3565b6134375760405162461bcd60e51b815260206004820152601260248201527f466f6f747765617220696e636f7272656374000000000000000000000000000060448201526064016107cc565b60a084015161344b906102b76102c26143d3565b6134975760405162461bcd60e51b815260206004820152600e60248201527f42656c7420696e636f727265637400000000000000000000000000000000000060448201526064016107cc565b82516134a8906102c36102ed6143d3565b6134f45760405162461bcd60e51b815260206004820152600d60248201527f48617420696e636f72726563740000000000000000000000000000000000000060448201526064016107cc565b6020830151613508906102ee61031f6143d3565b6135545760405162461bcd60e51b815260206004820152601160248201527f4579657765617220696e636f727265637400000000000000000000000000000060448201526064016107cc565b6040830151613568906103206103296143d3565b6135b45760405162461bcd60e51b815260206004820152601260248201527f5069657263696e6720696e636f7272656374000000000000000000000000000060448201526064016107cc565b60608301516135c89061032a6103356143d3565b6136145760405162461bcd60e51b815260206004820152601960248201527f5772697374206163636573736f727920696e636f72726563740000000000000060448201526064016107cc565b60808301516136289061033661034e6143d3565b6136745760405162461bcd60e51b815260206004820152601960248201527f48616e6473206163636573736f727920696e636f72726563740000000000000060448201526064016107cc565b60a08301516136889061034f6103736143d3565b6136d45760405162461bcd60e51b815260206004820152601260248201527f4e65636b7765617220696e636f7272656374000000000000000000000000000060448201526064016107cc565b81516136e5906103746103cf6143d3565b6137315760405162461bcd60e51b815260206004820152601360248201527f4c656674206974656d20696e636f72726563740000000000000000000000000060448201526064016107cc565b6020820151613745906103d06103ff6143d3565b6137915760405162461bcd60e51b815260206004820152601460248201527f5269676874206974656d20696e636f727265637400000000000000000000000060448201526064016107cc565b6137a3818760015b602002015161283a565b6137ef5760405162461bcd60e51b815260206004820152601660248201527f536b696e20636f6c6f7220756e617661696c61626c650000000000000000000060448201526064016107cc565b6137fb81876002613799565b6138475760405162461bcd60e51b815260206004820152601560248201527f46757220636f6c6f7220756e617661696c61626c65000000000000000000000060448201526064016107cc565b61385381876003613799565b61389f5760405162461bcd60e51b815260206004820152601560248201527f45796520636f6c6f7220756e617661696c61626c65000000000000000000000060448201526064016107cc565b6138ab81876004613799565b6138f75760405162461bcd60e51b815260206004820152601760248201527f507570696c20636f6c6f7220756e617661696c61626c6500000000000000000060448201526064016107cc565b61390381866000613799565b61394f5760405162461bcd60e51b815260206004820152601060248201527f4861697220756e617661696c61626c650000000000000000000000000000000060448201526064016107cc565b61395b81866001613799565b6139a75760405162461bcd60e51b815260206004820152601160248201527f4d6f75746820756e617661696c61626c6500000000000000000000000000000060448201526064016107cc565b6139b381866002613799565b6139ff5760405162461bcd60e51b815260206004820152601160248201527f426561726420756e617661696c61626c6500000000000000000000000000000060448201526064016107cc565b613a0b81856000613799565b613a575760405162461bcd60e51b815260206004820152600f60248201527f546f7020756e617661696c61626c65000000000000000000000000000000000060448201526064016107cc565b613a6381856001613799565b613aaf5760405162461bcd60e51b815260206004820152601560248201527f4f757465727765617220756e617661696c61626c65000000000000000000000060448201526064016107cc565b613abb81856002613799565b613b075760405162461bcd60e51b815260206004820152601160248201527f5072696e7420756e617661696c61626c6500000000000000000000000000000060448201526064016107cc565b613b1381856003613799565b613b5f5760405162461bcd60e51b815260206004820152601260248201527f426f74746f6d20756e617661696c61626c65000000000000000000000000000060448201526064016107cc565b613b6b81856004613799565b613bb75760405162461bcd60e51b815260206004820152601460248201527f466f6f747765617220756e617661696c61626c6500000000000000000000000060448201526064016107cc565b613bc381856005613799565b613c0f5760405162461bcd60e51b815260206004820152601060248201527f42656c7420756e617661696c61626c650000000000000000000000000000000060448201526064016107cc565b613c1b81846000613799565b613c675760405162461bcd60e51b815260206004820152600f60248201527f48617420756e617661696c61626c65000000000000000000000000000000000060448201526064016107cc565b613c7381846001613799565b613cbf5760405162461bcd60e51b815260206004820152601360248201527f4579657765617220756e617661696c61626c650000000000000000000000000060448201526064016107cc565b613ccb81846002613799565b613d175760405162461bcd60e51b815260206004820152601460248201527f5069657263696e6720756e617661696c61626c6500000000000000000000000060448201526064016107cc565b613d2381846003613799565b613d6f5760405162461bcd60e51b815260206004820152601b60248201527f5772697374206163636573736f727920756e617661696c61626c65000000000060448201526064016107cc565b613d7b81846004613799565b613dc75760405162461bcd60e51b815260206004820152601a60248201527f48616e64206163636573736f727920756e617661696c61626c6500000000000060448201526064016107cc565b613dd381846005613799565b613e1f5760405162461bcd60e51b815260206004820152601460248201527f4e65636b7765617220756e617661696c61626c6500000000000000000000000060448201526064016107cc565b613e2b81836000613799565b613e775760405162461bcd60e51b815260206004820152601560248201527f4c656674206974656d20756e617661696c61626c65000000000000000000000060448201526064016107cc565b613e8381836001613799565b613ecf5760405162461bcd60e51b815260206004820152601660248201527f5269676874206974656d20756e617661696c61626c650000000000000000000060448201526064016107cc565b505050505050565b60008181526008602052604090205460ff1615613f365760405162461bcd60e51b815260206004820152601e60248201527f4e465420747261697420636f6d626f20616c726561647920657869737473000060448201526064016107cc565b600081815260086020526040902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00166001179055613f7b600c80546001019055565b6000613f86600c5490565b9050613fa5604051806040016040528060008152602001606081525090565b8281526000828152600760209081526040909120825181558183015180518493613fd69260018501929101906149e9565b50905050613fe482846143f2565b610d8f338361457f565b60065474010000000000000000000000000000000000000000900460ff166140585760405162461bcd60e51b815260206004820152601460248201527f5061757361626c653a206e6f742070617573656400000000000000000000000060448201526064016107cc565b600680547fffffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffff1690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa335b6040516001600160a01b03909116815260200160405180910390a1565b6140cb848484612cab565b6140d784848484614599565b611f665760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527f63656976657220696d706c656d656e746572000000000000000000000000000060648201526084016107cc565b80600b614155846129b2565b6040516141629190615018565b90815260405190819003602001902080549115157fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff009092169190911790555050565b6060600f8054610b3990615400565b6060816141f357505060408051808201909152600181527f3000000000000000000000000000000000000000000000000000000000000000602082015290565b8160005b811561421d57806142078161543b565b91506142169050600a836152f8565b91506141f7565b60008167ffffffffffffffff81111561424657634e487b7160e01b600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015614270576020820181803683370190505b5090505b8415612924576142856001836153bd565b9150614292600a86615474565b61429d9060306152bb565b60f81b8183815181106142c057634e487b7160e01b600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053506142fa600a866152f8565b9450614274565b60065474010000000000000000000000000000000000000000900460ff161561436c5760405162461bcd60e51b815260206004820152601060248201527f5061757361626c653a207061757365640000000000000000000000000000000060448201526064016107cc565b600680547fffffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffff16740100000000000000000000000000000000000000001790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a2586140a33390565b6000831580612924575082841015801561292457505090911115919050565b600a5460648110801561440d575061440b600784615474565b155b80614438575060648110158015614424575060c881105b80156144385750614436600984615474565b155b80614464575060c88110158015614450575061012c81105b80156144645750614462600b84615474565b155b80614491575061012c811015801561447d575061019081105b8015614491575061448f600d84615474565b155b15610d8f5760006144a184614759565b905060006144bd6144b383600a61530c565b85901c6103ff1690565b905061ffff811615614578576000828152600d6020526040812054906144e2826147a4565b9050806114f257600a80546001818101909255601081047fc65a7bb8d6351c1cf70c95a316cc6a92839c986682d98bc35f958f4883f9d2a801805461ffff8088166002600f909516949094026101000a848102910219909116179055600090815260096020526040902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0016909117905550505b5050505050565b610f56828260405180602001604052806000815250614806565b60006001600160a01b0384163b15611d8e576040517f150b7a020000000000000000000000000000000000000000000000000000000081526001600160a01b0385169063150b7a02906145f6903390899088908890600401615063565b602060405180830381600087803b15801561461057600080fd5b505af192505050801561465e575060408051601f3d9081017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016820190925261465b91810190614f01565b60015b61470e573d80801561468c576040519150601f19603f3d011682016040523d82523d6000602084013e614691565b606091505b5080516147065760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527f63656976657220696d706c656d656e746572000000000000000000000000000060648201526084016107cc565b805181602001fd5b7fffffffff00000000000000000000000000000000000000000000000000000000167f150b7a0200000000000000000000000000000000000000000000000000000000149050612924565b6040805160208082018490524282840152446060808401919091528351808403909101815260809092019092528051910120600090614799601182615474565b6125309060056152bb565b6040805160208082018490524282840152446060808401919091528351808403909101815260809092019092528051910120600090816147e5603d83615474565b6147f0906046615349565b90506147fe846101f46152f8565b139392505050565b614810838361488f565b61481d6000848484614599565b610d8f5760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527f63656976657220696d706c656d656e746572000000000000000000000000000060648201526084016107cc565b6001600160a01b0382166148e55760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f206164647265737360448201526064016107cc565b6000818152600260205260409020546001600160a01b03161561494a5760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e7465640000000060448201526064016107cc565b6001600160a01b03821660009081526003602052604081208054600192906149739084906152bb565b909155505060008181526002602052604080822080547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b8280546149f590615400565b90600052602060002090601f016020900481019282614a175760008555614a5d565b82601f10614a3057805160ff1916838001178555614a5d565b82800160010185558215614a5d579182015b82811115614a5d578251825591602001919060010190614a42565b50614a69929150614a6d565b5090565b5b80821115614a695760008155600101614a6e565b600060405160a0810181811067ffffffffffffffff82111715614aa757614aa76154b4565b6040529050808260a08101851015614abe57600080fd5b60005b6005811015614ae0578135835260209283019290910190600101614ac1565b50505092915050565b600067ffffffffffffffff80841115614b0457614b046154b4565b604051601f85017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0908116603f01168101908282118183101715614b4a57614b4a6154b4565b81604052809350858152868686011115614b6357600080fd5b858560208301376000602087830101525050509392505050565b80356001600160a01b0381168114614b9457600080fd5b919050565b600082601f830112614ba9578081fd5b6040516040810181811067ffffffffffffffff82111715614bcc57614bcc6154b4565b8060405250808385604086011115614be2578384fd5b835b6002811015614c03578135835260209283019290910190600101614be4565b509195945050505050565b600082601f830112614c1e578081fd5b60405160c0810181811067ffffffffffffffff82111715614c4157614c416154b4565b604052808360c08101861015614c55578384fd5b835b6006811015614c03578135835260209283019290910190600101614c57565b600082601f830112614c86578081fd5b61253083833560208501614ae9565b600060208284031215614ca6578081fd5b61253082614b7d565b60008060408385031215614cc1578081fd5b614cca83614b7d565b9150614cd860208401614b7d565b90509250929050565b600080600060608486031215614cf5578081fd5b614cfe84614b7d565b9250614d0c60208501614b7d565b9150604084013590509250925092565b60008060008060808587031215614d31578081fd5b614d3a85614b7d565b9350614d4860208601614b7d565b925060408501359150606085013567ffffffffffffffff811115614d6a578182fd5b8501601f81018713614d7a578182fd5b614d8987823560208401614ae9565b91505092959194509250565b60008060408385031215614da7578182fd5b614db083614b7d565b91506020830135614dc0816154ca565b809150509250929050565b60008060408385031215614ddd578182fd5b614de683614b7d565b946020939093013593505050565b60008060008060006102c08688031215614e0c578283fd5b86601f870112614e1a578283fd5b614e248787614a82565b94508660bf870112614e34578283fd5b614e3c615292565b8060a0880161010089018a811115614e52578687fd5b865b6003811015614e73578235855260209485019490920191600101614e54565b50829750614e818b82614c0e565b965050505050614e95876101c08801614c0e565b9150614ea5876102808801614b99565b90509295509295909350565b600060208284031215614ec2578081fd5b8151612530816154ca565b600060208284031215614ede578081fd5b5051919050565b600060208284031215614ef6578081fd5b8135612530816154d8565b600060208284031215614f12578081fd5b8151612530816154d8565b600060208284031215614f2e578081fd5b813567ffffffffffffffff811115614f44578182fd5b61292484828501614c76565b600060208284031215614f61578081fd5b5035919050565b60008060408385031215614f7a578182fd5b82359150602083013567ffffffffffffffff811115614f97578182fd5b614fa385828601614c76565b9150509250929050565b60008060408385031215614fbf578182fd5b50508035926020909101359150565b60008151808452614fe68160208601602086016153d4565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169290920160200192915050565b6000825161502a8184602087016153d4565b9190910192915050565b600083516150468184602088016153d4565b83519083019061505a8183602088016153d4565b01949350505050565b60006001600160a01b038087168352808616602084015250836040830152608060608301526150956080830184614fce565b9695505050505050565b6020808252825182820181905260009190848201906040850190845b818110156150db57835161ffff16835292840192918401916001016150bb565b50909695505050505050565b6020815260006125306020830184614fce565b60408152600061510d6040830185614fce565b828103602084015261511f8185614fce565b95945050505050565b815161ffff1681526102c08101602083015161514a602084018261ffff169052565b506040830151615160604084018261ffff169052565b506060830151615176606084018261ffff169052565b50608083015161518c608084018261ffff169052565b5060a08301516151a260a084018261ffff169052565b5060c08301516151b860c084018261ffff169052565b5060e08301516151ce60e084018261ffff169052565b506101008381015161ffff90811691840191909152610120808501518216908401526101408085015182169084015261016080850151821690840152610180808501518216908401526101a0808501518216908401526101c0808501518216908401526101e08085015182169084015261020080850151821690840152610220808501518216908401526102408085015182169084015261026080850151821690840152610280808501518216908401526102a09384015116929091019190915290565b6040516060810167ffffffffffffffff811182821017156152b5576152b56154b4565b60405290565b600082198211156152ce576152ce615488565b500190565b600060ff821660ff84168060ff038211156152f0576152f0615488565b019392505050565b6000826153075761530761549e565b500490565b6000817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561534457615344615488565b500290565b6000808312837f80000000000000000000000000000000000000000000000000000000000000000183128115161561538357615383615488565b837f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0183138116156153b7576153b7615488565b50500390565b6000828210156153cf576153cf615488565b500390565b60005b838110156153ef5781810151838201526020016153d7565b83811115611f665750506000910152565b600181811c9082168061541457607f821691505b6020821081141561543557634e487b7160e01b600052602260045260246000fd5b50919050565b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561546d5761546d615488565b5060010190565b6000826154835761548361549e565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b80151581146126d757600080fd5b7fffffffff00000000000000000000000000000000000000000000000000000000811681146126d757600080fdfea2646970667358221220c0184e7d73ded195bddc9996c54a3938afbe0d50745289f7f6c1d55ee6c34c4d64736f6c634300080400330000000000000000000000003c8d2fce49906e11e71cb16fa0ffeb2b16c29638000000000000000000000000ee7b4d3c69de4883dae82ecdb3b629d24a5590d7

Deployed Bytecode

0x6080604052600436106102855760003560e01c806370a0823111610153578063b88d4fde116100cb578063e13cae401161007f578063f2fde38b11610064578063f2fde38b14610721578063fb107a4f14610741578063ff88dea91461075657600080fd5b8063e13cae40146106c3578063e985e9c5146106d857600080fd5b8063c87b56dd116100b0578063c87b56dd1461066e578063d92559ad1461068e578063da8fbf2a146106ae57600080fd5b8063b88d4fde1461062e578063c39cbef11461064e57600080fd5b806395d89b41116101225780639ffdb65a116101075780639ffdb65a146105d9578063a22cb465146105f9578063ae2003221461061957600080fd5b806395d89b41146105975780639b046ed3146105ac57600080fd5b806370a0823114610531578063715018a61461055157806372c9f580146105665780638da5cb5b1461057957600080fd5b806318160ddd1161020157806354b6f161116101b55780635c975abb1161019a5780635c975abb146104c15780636352211e146104f15780636b8ff5741461051157600080fd5b806354b6f1611461048457806355f804b3146104a157600080fd5b806332cb6b0c116101e657806332cb6b0c146104395780633ccfd60b1461044f57806342842e0e1461046457600080fd5b806318160ddd146103f457806323b872dd1461041957600080fd5b8063081812fc1161025857806315b56d101161023d57806315b56d10146103815780631656efc6146103a157806317bed2c5146103d257600080fd5b8063081812fc14610329578063095ea7b31461036157600080fd5b80630194cf121461028a57806301ffc9a7146102a157806306fdde03146102d65780630750d2fb146102f8575b600080fd5b34801561029657600080fd5b5061029f610776565b005b3480156102ad57600080fd5b506102c16102bc366004614ee5565b610a45565b60405190151581526020015b60405180910390f35b3480156102e257600080fd5b506102eb610b2a565b6040516102cd91906150e7565b34801561030457600080fd5b506102c1610313366004614f50565b60009081526008602052604090205460ff161590565b34801561033557600080fd5b50610349610344366004614f50565b610bbc565b6040516001600160a01b0390911681526020016102cd565b34801561036d57600080fd5b5061029f61037c366004614dcb565b610c62565b34801561038d57600080fd5b506102c161039c366004614f1d565b610d94565b3480156103ad57600080fd5b506102c16103bc366004614f50565b60009081526009602052604090205460ff161590565b3480156103de57600080fd5b506103e7610dc7565b6040516102cd919061509f565b34801561040057600080fd5b50600c5461040b9081565b6040519081526020016102cd565b34801561042557600080fd5b5061029f610434366004614ce1565b610e46565b34801561044557600080fd5b5061040b61271081565b34801561045b57600080fd5b5061029f610ecd565b34801561047057600080fd5b5061029f61047f366004614ce1565b610f5a565b34801561049057600080fd5b5061040b683635c9adc5dea0000081565b3480156104ad57600080fd5b5061029f6104bc366004614f1d565b610f75565b3480156104cd57600080fd5b5060065474010000000000000000000000000000000000000000900460ff166102c1565b3480156104fd57600080fd5b5061034961050c366004614f50565b610fe2565b34801561051d57600080fd5b506102eb61052c366004614f50565b61106d565b34801561053d57600080fd5b5061040b61054c366004614c95565b611175565b34801561055d57600080fd5b5061029f61120f565b61029f610574366004614df4565b611275565b34801561058557600080fd5b506006546001600160a01b0316610349565b3480156105a357600080fd5b506102eb6114fb565b3480156105b857600080fd5b506105cc6105c7366004614f50565b61150a565b6040516102cd9190615128565b3480156105e557600080fd5b506102c16105f4366004614f1d565b61190c565b34801561060557600080fd5b5061029f610614366004614d95565b611d99565b34801561062557600080fd5b5061029f611e7c565b34801561063a57600080fd5b5061029f610649366004614d1c565b611ede565b34801561065a57600080fd5b506102eb610669366004614f68565b611f6c565b34801561067a57600080fd5b506102eb610689366004614f50565b61244e565b34801561069a57600080fd5b5061029f6106a9366004614f50565b612537565b3480156106ba57600080fd5b5061029f612596565b3480156106cf57600080fd5b5061040b606481565b3480156106e457600080fd5b506102c16106f3366004614caf565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b34801561072d57600080fd5b5061029f61073c366004614c95565b6125f8565b34801561074d57600080fd5b5061040b6126da565b34801561076257600080fd5b506102c1610771366004614fad565b61283a565b6006546001600160a01b031633146107d55760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064015b60405180910390fd5b600d60205260717fa5049387d9cb649c59f4bda666105ba636c2a103d8e2b232ba4d125737cd214955600e7fa48544818c2c710afa9849c61ec9c60e8acdb3eaa2885f33b37e118cc8fd04ac55603f7fb91432bedff11256dbe14161d3606a2657bc9dacf8742f6b817d871dd53fb9765560637f0b705463cf5f7356780ee6e96132d37412c1b5816a4d207b8dcd42c34976745755604c7f7b6f1ece0cbe5122a575776770f0494c2d57ed2a50e36c2ba0d811d70ee03b645560297fba9d637f252776d5e1b3534bbd7554a1265a4ef0539d9ca50abe118598a6973c5560657f52c2086a203f40e709b1346663401f6c737b2fce5878601fcf875b047fed5fb65560257fe399baa2fabbab2a0309615b124a802277bab50ec0ca3452a00889e216c4b902819055600c7fe0af3347aa7e5af384208c9d29458f902f0ceddbc90963608afa77235658b360819055602b7f154ef5b709dcdc8b49a2af6408b8a1af209c39b5fa796f03680257c97692546e5560327f52fb6a28cb3c239105f8f829bc7376f939b6bfb040c470bdc2bda0af2e784b9455600a7f01a49be1e7ea084651fd665847100d28826db0b17160863a99534933cbbd2dce557f6fbf3b49b523bc27464b7dbfa6311951351b1d3efd07aa2ee4d1ce319801a0ce5560197f0a206051e911305809ddd48cf2baa7ead2c7fb038e505e1d02f9e6c2ce72930c557f1341e158d1184a2eb4edb96b016176e1c5ad075baae6651557fb93ae3925007a55605c7fdd2af3330d298808a303a10bc360333536e7697099bb3fe7200b0c272de6655855601560005260307f35c0ef8c6f7488ebe28ad34a3af68b3aa3aea0693e227054e9ec90bd504f66d255565b60007fffffffff0000000000000000000000000000000000000000000000000000000082167f80ac58cd000000000000000000000000000000000000000000000000000000001480610ad857507fffffffff0000000000000000000000000000000000000000000000000000000082167f5b5e139f00000000000000000000000000000000000000000000000000000000145b80610b2457507f01ffc9a7000000000000000000000000000000000000000000000000000000007fffffffff000000000000000000000000000000000000000000000000000000008316145b92915050565b606060008054610b3990615400565b80601f0160208091040260200160405190810160405280929190818152602001828054610b6590615400565b8015610bb25780601f10610b8757610100808354040283529160200191610bb2565b820191906000526020600020905b815481529060010190602001808311610b9557829003601f168201915b5050505050905090565b6000818152600260205260408120546001600160a01b0316610c465760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201527f697374656e7420746f6b656e000000000000000000000000000000000000000060648201526084016107cc565b506000908152600460205260409020546001600160a01b031690565b6000610c6d82610fe2565b9050806001600160a01b0316836001600160a01b03161415610cf75760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560448201527f720000000000000000000000000000000000000000000000000000000000000060648201526084016107cc565b336001600160a01b0382161480610d135750610d1381336106f3565b610d855760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c000000000000000060648201526084016107cc565b610d8f838361292c565b505050565b6000600b610da1836129b2565b604051610dae9190615018565b9081526040519081900360200190205460ff1692915050565b6060600a805480602002602001604051908101604052809291908181526020018280548015610bb257602002820191906000526020600020906000905b82829054906101000a900461ffff1661ffff1681526020019060020190602082600101049283019260010382029150808411610e045790505050505050905090565b610e503382612ba7565b610ec25760405162461bcd60e51b815260206004820152603160248201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f76656400000000000000000000000000000060648201526084016107cc565b610d8f838383612cab565b6006546001600160a01b03163314610f275760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016107cc565b6040514790339082156108fc029083906000818181858888f19350505050158015610f56573d6000803e3d6000fd5b5050565b610d8f83838360405180602001604052806000815250611ede565b6006546001600160a01b03163314610fcf5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016107cc565b8051610f5690600f9060208401906149e9565b6000818152600260205260408120546001600160a01b031680610b245760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201527f656e7420746f6b656e000000000000000000000000000000000000000000000060648201526084016107cc565b6000818152600260205260409020546060906001600160a01b03166110d45760405162461bcd60e51b815260206004820152601160248201527f6e6f6e6578697374656e7420746f6b656e00000000000000000000000000000060448201526064016107cc565b600082815260076020526040902060010180546110f090615400565b80601f016020809104026020016040519081016040528092919081815260200182805461111c90615400565b80156111695780601f1061113e57610100808354040283529160200191611169565b820191906000526020600020905b81548152906001019060200180831161114c57829003601f168201915b50505050509050919050565b60006001600160a01b0382166111f35760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a6560448201527f726f20616464726573730000000000000000000000000000000000000000000060648201526084016107cc565b506001600160a01b031660009081526003602052604090205490565b6006546001600160a01b031633146112695760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016107cc565b6112736000612e90565b565b60065474010000000000000000000000000000000000000000900460ff16156112e05760405162461bcd60e51b815260206004820152601060248201527f5061757361626c653a207061757365640000000000000000000000000000000060448201526064016107cc565b60006112eb600c5490565b905060038110158061130757506006546001600160a01b031633145b6113535760405162461bcd60e51b815260206004820152601460248201527f53616c6520686173206e6f74207374617274656400000000000000000000000060448201526064016107cc565b61135b6126da565b34146113a95760405162461bcd60e51b815260206004820152601560248201527f45746865722076616c756520696e636f7272656374000000000000000000000060448201526064016107cc565b6113b68686868686612efa565b60006114e78787878787600080868160200201519050600a8760016020020151901b1760148760026020020151901b17601e8760036020020151901b1760288760046020020151901b1760328660006020020151901b17603c8660016020020151901b1760468660026020020151901b1760508560006020020151901b17605a8560016020020151901b1760648560026020020151901b17606e8560036020020151901b1760788560046020020151901b1760828560056020020151901b17608c8460006020020151901b1760968460016020020151901b1760a08460026020020151901b1760aa8460036020020151901b1760b48460046020020151901b1760be8460056020020151901b1760c88360006020020151901b1760d28360016020020151901b179695505050505050565b90506114f281613ed7565b50505050505050565b606060018054610b3990615400565b604080516102c081018252600080825260208201819052918101829052606081018290526080810182905260a0810182905260c0810182905260e08101829052610100810182905261012081018290526101408101829052610160810182905261018081018290526101a081018290526101c081018290526101e08101829052610200810182905261022081018290526102408101829052610260810182905261028081018290526102a08101919091526000828152600260205260409020546001600160a01b031661161f5760405162461bcd60e51b815260206004820152601160248201527f6e6f6e6578697374656e7420746f6b656e00000000000000000000000000000060448201526064016107cc565b6000600760008481526020019081526020016000206040518060400160405290816000820154815260200160018201805461165990615400565b80601f016020809104026020016040519081016040528092919081815260200182805461168590615400565b80156116d25780601f106116a7576101008083540402835291602001916116d2565b820191906000526020600020905b8154815290600101906020018083116116b557829003601f168201915b5050509190925250508151919250506103ff1661ffff16825280516116fb90600a1c6103ff1690565b61ffff16602083015280516117149060141c6103ff1690565b61ffff166040830152805161172d90601e1c6103ff1690565b61ffff16606083015280516117469060281c6103ff1690565b61ffff166080830152805161175f9060321c6103ff1690565b61ffff1660a0830152805161177890603c1c6103ff1690565b61ffff1660c083015280516117919060461c6103ff1690565b61ffff1660e083015280516117aa9060501c6103ff1690565b61ffff1661010083015280516117c490605a1c6103ff1690565b61ffff1661012083015280516117de9060641c6103ff1690565b61ffff1661014083015280516117f890606e1c6103ff1690565b61ffff1661016083015280516118129060781c6103ff1690565b61ffff16610180830152805161182c9060821c6103ff1690565b61ffff166101a0830152805161184690608c1c6103ff1690565b61ffff166101c083015280516118609060961c6103ff1690565b61ffff166101e0830152805161187a9060a01c6103ff1690565b61ffff1661020083015280516118949060aa1c6103ff1690565b61ffff1661022083015280516118ae9060b41c6103ff1690565b61ffff1661024083015280516118c89060be1c6103ff1690565b61ffff1661026083015280516118e29060c81c6103ff1690565b61ffff1661028083015280516118fc9060d21c6103ff1690565b61ffff166102a083015250919050565b600080829050600181511080611923575060208151115b156119315750600092915050565b8060008151811061195257634e487b7160e01b600052603260045260246000fd5b6020910101517fff00000000000000000000000000000000000000000000000000000000000000167f20000000000000000000000000000000000000000000000000000000000000001480611a1a575080600182516119b191906153bd565b815181106119cf57634e487b7160e01b600052603260045260246000fd5b6020910101517fff00000000000000000000000000000000000000000000000000000000000000167f2000000000000000000000000000000000000000000000000000000000000000145b15611a285750600092915050565b600081600081518110611a4b57634e487b7160e01b600052603260045260246000fd5b01602001517fff0000000000000000000000000000000000000000000000000000000000000016905060005b8251811015611d8e576000838281518110611aa257634e487b7160e01b600052603260045260246000fd5b01602001517fff000000000000000000000000000000000000000000000000000000000000001690507f200000000000000000000000000000000000000000000000000000000000000081148015611b3b57507f20000000000000000000000000000000000000000000000000000000000000007fff000000000000000000000000000000000000000000000000000000000000008416145b15611b4c5750600095945050505050565b7f30000000000000000000000000000000000000000000000000000000000000007fff00000000000000000000000000000000000000000000000000000000000000821610801590611be057507f39000000000000000000000000000000000000000000000000000000000000007fff00000000000000000000000000000000000000000000000000000000000000821611155b158015611c7e57507f41000000000000000000000000000000000000000000000000000000000000007fff00000000000000000000000000000000000000000000000000000000000000821610801590611c7c57507f5a000000000000000000000000000000000000000000000000000000000000007fff00000000000000000000000000000000000000000000000000000000000000821611155b155b8015611d1b57507f61000000000000000000000000000000000000000000000000000000000000007fff00000000000000000000000000000000000000000000000000000000000000821610801590611d1957507f7a000000000000000000000000000000000000000000000000000000000000007fff00000000000000000000000000000000000000000000000000000000000000821611155b155b8015611d6957507f20000000000000000000000000000000000000000000000000000000000000007fff00000000000000000000000000000000000000000000000000000000000000821614155b15611d7a5750600095945050505050565b915080611d868161543b565b915050611a77565b506001949350505050565b6001600160a01b038216331415611df25760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c65720000000000000060448201526064016107cc565b3360008181526005602090815260408083206001600160a01b0387168085529083529281902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6006546001600160a01b03163314611ed65760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016107cc565b611273613fee565b611ee83383612ba7565b611f5a5760405162461bcd60e51b815260206004820152603160248201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f76656400000000000000000000000000000060648201526084016107cc565b611f66848484846140c0565b50505050565b6000828152600260205260409020546060906001600160a01b0316611fd35760405162461bcd60e51b815260206004820152601160248201527f6e6f6e6578697374656e7420746f6b656e00000000000000000000000000000060448201526064016107cc565b611fdd3384612ba7565b6120295760405162461bcd60e51b815260206004820181905260248201527f43616c6c6572206973206e6f74206f776e6572206e6f7220617070726f76656460448201526064016107cc565b6000838152600760205260408120600101805461204590615400565b80601f016020809104026020016040519081016040528092919081815260200182805461207190615400565b80156120be5780601f10612093576101008083540402835291602001916120be565b820191906000526020600020905b8154815290600101906020018083116120a157829003601f168201915b505050505090506002816040516120d59190615018565b602060405180830381855afa1580156120f2573d6000803e3d6000fd5b5050506040513d601f19601f820116820180604052508101906121159190614ecd565b6002846040516121259190615018565b602060405180830381855afa158015612142573d6000803e3d6000fd5b5050506040513d601f19601f820116820180604052508101906121659190614ecd565b14156121b35760405162461bcd60e51b815260206004820152601f60248201527f4e6577206e616d6520616e64206f6c64206e616d652061726520657175616c0060448201526064016107cc565b6121bc8361190c565b6122085760405162461bcd60e51b815260206004820152601360248201527f4e616d65206973206e6f7420616c6c6f7765640000000000000000000000000060448201526064016107cc565b61221183610d94565b1561225e5760405162461bcd60e51b815260206004820152601560248201527f4e616d6520616c7265616479207265736572766564000000000000000000000060448201526064016107cc565b6001600160a01b037f0000000000000000000000003c8d2fce49906e11e71cb16fa0ffeb2b16c29638166379cc6790336040517fffffffff0000000000000000000000000000000000000000000000000000000060e084901b1681526001600160a01b039091166004820152683635c9adc5dea000006024820152604401600060405180830381600087803b1580156122f657600080fd5b505af115801561230a573d6000803e3d6000fd5b505050600085815260076020526040812060010180549192509061232d90615400565b905011156123db57600084815260076020526040902060010180546123db919061235690615400565b80601f016020809104026020016040519081016040528092919081815260200182805461238290615400565b80156123cf5780601f106123a4576101008083540402835291602001916123cf565b820191906000526020600020905b8154815290600101906020018083116123b257829003601f168201915b50505050506000614149565b6123e6836001614149565b6000848152600760209081526040909120845161240b926001909201918601906149e9565b50837f8eff5208043d31f23e348dc06be3a80821505e5b3e0002e9fa1185f5d47eac59828560405161243e9291906150fa565b60405180910390a2509092915050565b6000818152600260205260409020546060906001600160a01b03166124db5760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201527f6e6578697374656e7420746f6b656e000000000000000000000000000000000060648201526084016107cc565b60006124e56141a4565b905060008151116125055760405180602001604052806000815250612530565b8061250f846141b3565b604051602001612520929190615034565b6040516020818303038152906040525b9392505050565b6006546001600160a01b031633146125915760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016107cc565b600e55565b6006546001600160a01b031633146125f05760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016107cc565b611273614301565b6006546001600160a01b031633146126525760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016107cc565b6001600160a01b0381166126ce5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f646472657373000000000000000000000000000000000000000000000000000060648201526084016107cc565b6126d781612e90565b50565b6000806126e6600c5490565b90506126f560646127106153bd565b81108061271857506006546001600160a01b031633148015612718575061271081105b6127645760405162461bcd60e51b815260206004820152601660248201527f53616c652068617320616c726561647920656e6465640000000000000000000060448201526064016107cc565b600381108061277557506126ac8110155b1561278257600091505090565b67011c37937e080000600e541061279b575050600e5490565b61251c81106127b3576703e2c284391c000091505090565b61213481106127cb576703782dace9d9000091505090565b61196481106127e35767030d98d59a96000091505090565b61119481106127fb576702a303fe4b53000091505090565b6109c48110612813576702386f26fc10000091505090565b6103e8811061282b576701cdda4faccd000091505090565b67016345785d8a000091505090565b60008161284957506001610b24565b6096821061286a575060008181526009602052604090205460ff1615610b24565b6040517f968ef8f500000000000000000000000000000000000000000000000000000000815260048101849052602481018390527f000000000000000000000000ee7b4d3c69de4883dae82ecdb3b629d24a5590d7906001600160a01b0382169063968ef8f59060440160206040518083038186803b1580156128ec57600080fd5b505afa158015612900573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906129249190614eb1565b949350505050565b600081815260046020526040902080547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b038416908117909155819061297982610fe2565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b606060008290506000815167ffffffffffffffff8111156129e357634e487b7160e01b600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015612a0d576020820181803683370190505b50905060005b8251811015612b9f576041838281518110612a3e57634e487b7160e01b600052603260045260246000fd5b016020015160f81c10801590612a7c5750605a838281518110612a7157634e487b7160e01b600052603260045260246000fd5b016020015160f81c11155b15612b1257828181518110612aa157634e487b7160e01b600052603260045260246000fd5b602001015160f81c60f81b60f81c6020612abb91906152d3565b60f81b828281518110612ade57634e487b7160e01b600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350612b8d565b828181518110612b3257634e487b7160e01b600052603260045260246000fd5b602001015160f81c60f81b828281518110612b5d57634e487b7160e01b600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053505b80612b978161543b565b915050612a13565b509392505050565b6000818152600260205260408120546001600160a01b0316612c315760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201527f697374656e7420746f6b656e000000000000000000000000000000000000000060648201526084016107cc565b6000612c3c83610fe2565b9050806001600160a01b0316846001600160a01b03161480612c775750836001600160a01b0316612c6c84610bbc565b6001600160a01b0316145b8061292457506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff16612924565b826001600160a01b0316612cbe82610fe2565b6001600160a01b031614612d3a5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201527f73206e6f74206f776e000000000000000000000000000000000000000000000060648201526084016107cc565b6001600160a01b038216612db55760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f2061646460448201527f726573730000000000000000000000000000000000000000000000000000000060648201526084016107cc565b612dc060008261292c565b6001600160a01b0383166000908152600360205260408120805460019290612de99084906153bd565b90915550506001600160a01b0382166000908152600360205260408120805460019290612e179084906152bb565b909155505060008181526002602052604080822080547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b600680546001600160a01b038381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b84518015801590612f2c5750600681111580612f2c575060098111158015612f2c57506006546001600160a01b031633145b612f785760405162461bcd60e51b815260206004820152600f60248201527f547269626520696e636f7272656374000000000000000000000000000000000060448201526064016107cc565b6020860151612f8a90600a60456143d3565b80612fa55750612fa58660015b6020020151607760956143d3565b612ff15760405162461bcd60e51b815260206004820152601460248201527f536b696e20636f6c6f7220696e636f727265637400000000000000000000000060448201526064016107cc565b604086015161300390604660646143d3565b806130145750613014866002612f97565b6130605760405162461bcd60e51b815260206004820152601360248201527f46757220636f6c6f7220696e636f72726563740000000000000000000000000060448201526064016107cc565b6060860151613072906065606d6143d3565b806130835750613083866003612f97565b6130cf5760405162461bcd60e51b815260206004820152601360248201527f45796520636f6c6f7220696e636f72726563740000000000000000000000000060448201526064016107cc565b60808601516130e190606e60766143d3565b806130f257506130f2866004612f97565b61313e5760405162461bcd60e51b815260206004820152601560248201527f507570696c20636f6c6f7220696e636f7272656374000000000000000000000060448201526064016107cc565b845161314e9060966101066143d3565b61319a5760405162461bcd60e51b815260206004820152600e60248201527f4861697220696e636f727265637400000000000000000000000000000000000060448201526064016107cc565b60208501516131ae906101076101146143d3565b6131fa5760405162461bcd60e51b815260206004820152600f60248201527f4d6f75746820696e636f7272656374000000000000000000000000000000000060448201526064016107cc565b604085015161320e906101156101536143d3565b61325a5760405162461bcd60e51b815260206004820152600f60248201527f426561726420696e636f7272656374000000000000000000000000000000000060448201526064016107cc565b835161326b906101546101b66143d3565b6132b75760405162461bcd60e51b815260206004820152600d60248201527f546f7020696e636f72726563740000000000000000000000000000000000000060448201526064016107cc565b60208401516132cb906101b76102026143d3565b6133175760405162461bcd60e51b815260206004820152601360248201527f4f757465727765617220696e636f72726563740000000000000000000000000060448201526064016107cc565b604084015161332b9061020361022b6143d3565b6133775760405162461bcd60e51b815260206004820152600f60248201527f5072696e7420696e636f7272656374000000000000000000000000000000000060448201526064016107cc565b606084015161338b9061022c6102916143d3565b6133d75760405162461bcd60e51b815260206004820152601060248201527f426f74746f6d20696e636f72726563740000000000000000000000000000000060448201526064016107cc565b60808401516133eb906102926102b66143d3565b6134375760405162461bcd60e51b815260206004820152601260248201527f466f6f747765617220696e636f7272656374000000000000000000000000000060448201526064016107cc565b60a084015161344b906102b76102c26143d3565b6134975760405162461bcd60e51b815260206004820152600e60248201527f42656c7420696e636f727265637400000000000000000000000000000000000060448201526064016107cc565b82516134a8906102c36102ed6143d3565b6134f45760405162461bcd60e51b815260206004820152600d60248201527f48617420696e636f72726563740000000000000000000000000000000000000060448201526064016107cc565b6020830151613508906102ee61031f6143d3565b6135545760405162461bcd60e51b815260206004820152601160248201527f4579657765617220696e636f727265637400000000000000000000000000000060448201526064016107cc565b6040830151613568906103206103296143d3565b6135b45760405162461bcd60e51b815260206004820152601260248201527f5069657263696e6720696e636f7272656374000000000000000000000000000060448201526064016107cc565b60608301516135c89061032a6103356143d3565b6136145760405162461bcd60e51b815260206004820152601960248201527f5772697374206163636573736f727920696e636f72726563740000000000000060448201526064016107cc565b60808301516136289061033661034e6143d3565b6136745760405162461bcd60e51b815260206004820152601960248201527f48616e6473206163636573736f727920696e636f72726563740000000000000060448201526064016107cc565b60a08301516136889061034f6103736143d3565b6136d45760405162461bcd60e51b815260206004820152601260248201527f4e65636b7765617220696e636f7272656374000000000000000000000000000060448201526064016107cc565b81516136e5906103746103cf6143d3565b6137315760405162461bcd60e51b815260206004820152601360248201527f4c656674206974656d20696e636f72726563740000000000000000000000000060448201526064016107cc565b6020820151613745906103d06103ff6143d3565b6137915760405162461bcd60e51b815260206004820152601460248201527f5269676874206974656d20696e636f727265637400000000000000000000000060448201526064016107cc565b6137a3818760015b602002015161283a565b6137ef5760405162461bcd60e51b815260206004820152601660248201527f536b696e20636f6c6f7220756e617661696c61626c650000000000000000000060448201526064016107cc565b6137fb81876002613799565b6138475760405162461bcd60e51b815260206004820152601560248201527f46757220636f6c6f7220756e617661696c61626c65000000000000000000000060448201526064016107cc565b61385381876003613799565b61389f5760405162461bcd60e51b815260206004820152601560248201527f45796520636f6c6f7220756e617661696c61626c65000000000000000000000060448201526064016107cc565b6138ab81876004613799565b6138f75760405162461bcd60e51b815260206004820152601760248201527f507570696c20636f6c6f7220756e617661696c61626c6500000000000000000060448201526064016107cc565b61390381866000613799565b61394f5760405162461bcd60e51b815260206004820152601060248201527f4861697220756e617661696c61626c650000000000000000000000000000000060448201526064016107cc565b61395b81866001613799565b6139a75760405162461bcd60e51b815260206004820152601160248201527f4d6f75746820756e617661696c61626c6500000000000000000000000000000060448201526064016107cc565b6139b381866002613799565b6139ff5760405162461bcd60e51b815260206004820152601160248201527f426561726420756e617661696c61626c6500000000000000000000000000000060448201526064016107cc565b613a0b81856000613799565b613a575760405162461bcd60e51b815260206004820152600f60248201527f546f7020756e617661696c61626c65000000000000000000000000000000000060448201526064016107cc565b613a6381856001613799565b613aaf5760405162461bcd60e51b815260206004820152601560248201527f4f757465727765617220756e617661696c61626c65000000000000000000000060448201526064016107cc565b613abb81856002613799565b613b075760405162461bcd60e51b815260206004820152601160248201527f5072696e7420756e617661696c61626c6500000000000000000000000000000060448201526064016107cc565b613b1381856003613799565b613b5f5760405162461bcd60e51b815260206004820152601260248201527f426f74746f6d20756e617661696c61626c65000000000000000000000000000060448201526064016107cc565b613b6b81856004613799565b613bb75760405162461bcd60e51b815260206004820152601460248201527f466f6f747765617220756e617661696c61626c6500000000000000000000000060448201526064016107cc565b613bc381856005613799565b613c0f5760405162461bcd60e51b815260206004820152601060248201527f42656c7420756e617661696c61626c650000000000000000000000000000000060448201526064016107cc565b613c1b81846000613799565b613c675760405162461bcd60e51b815260206004820152600f60248201527f48617420756e617661696c61626c65000000000000000000000000000000000060448201526064016107cc565b613c7381846001613799565b613cbf5760405162461bcd60e51b815260206004820152601360248201527f4579657765617220756e617661696c61626c650000000000000000000000000060448201526064016107cc565b613ccb81846002613799565b613d175760405162461bcd60e51b815260206004820152601460248201527f5069657263696e6720756e617661696c61626c6500000000000000000000000060448201526064016107cc565b613d2381846003613799565b613d6f5760405162461bcd60e51b815260206004820152601b60248201527f5772697374206163636573736f727920756e617661696c61626c65000000000060448201526064016107cc565b613d7b81846004613799565b613dc75760405162461bcd60e51b815260206004820152601a60248201527f48616e64206163636573736f727920756e617661696c61626c6500000000000060448201526064016107cc565b613dd381846005613799565b613e1f5760405162461bcd60e51b815260206004820152601460248201527f4e65636b7765617220756e617661696c61626c6500000000000000000000000060448201526064016107cc565b613e2b81836000613799565b613e775760405162461bcd60e51b815260206004820152601560248201527f4c656674206974656d20756e617661696c61626c65000000000000000000000060448201526064016107cc565b613e8381836001613799565b613ecf5760405162461bcd60e51b815260206004820152601660248201527f5269676874206974656d20756e617661696c61626c650000000000000000000060448201526064016107cc565b505050505050565b60008181526008602052604090205460ff1615613f365760405162461bcd60e51b815260206004820152601e60248201527f4e465420747261697420636f6d626f20616c726561647920657869737473000060448201526064016107cc565b600081815260086020526040902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00166001179055613f7b600c80546001019055565b6000613f86600c5490565b9050613fa5604051806040016040528060008152602001606081525090565b8281526000828152600760209081526040909120825181558183015180518493613fd69260018501929101906149e9565b50905050613fe482846143f2565b610d8f338361457f565b60065474010000000000000000000000000000000000000000900460ff166140585760405162461bcd60e51b815260206004820152601460248201527f5061757361626c653a206e6f742070617573656400000000000000000000000060448201526064016107cc565b600680547fffffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffff1690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa335b6040516001600160a01b03909116815260200160405180910390a1565b6140cb848484612cab565b6140d784848484614599565b611f665760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527f63656976657220696d706c656d656e746572000000000000000000000000000060648201526084016107cc565b80600b614155846129b2565b6040516141629190615018565b90815260405190819003602001902080549115157fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff009092169190911790555050565b6060600f8054610b3990615400565b6060816141f357505060408051808201909152600181527f3000000000000000000000000000000000000000000000000000000000000000602082015290565b8160005b811561421d57806142078161543b565b91506142169050600a836152f8565b91506141f7565b60008167ffffffffffffffff81111561424657634e487b7160e01b600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015614270576020820181803683370190505b5090505b8415612924576142856001836153bd565b9150614292600a86615474565b61429d9060306152bb565b60f81b8183815181106142c057634e487b7160e01b600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053506142fa600a866152f8565b9450614274565b60065474010000000000000000000000000000000000000000900460ff161561436c5760405162461bcd60e51b815260206004820152601060248201527f5061757361626c653a207061757365640000000000000000000000000000000060448201526064016107cc565b600680547fffffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffff16740100000000000000000000000000000000000000001790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a2586140a33390565b6000831580612924575082841015801561292457505090911115919050565b600a5460648110801561440d575061440b600784615474565b155b80614438575060648110158015614424575060c881105b80156144385750614436600984615474565b155b80614464575060c88110158015614450575061012c81105b80156144645750614462600b84615474565b155b80614491575061012c811015801561447d575061019081105b8015614491575061448f600d84615474565b155b15610d8f5760006144a184614759565b905060006144bd6144b383600a61530c565b85901c6103ff1690565b905061ffff811615614578576000828152600d6020526040812054906144e2826147a4565b9050806114f257600a80546001818101909255601081047fc65a7bb8d6351c1cf70c95a316cc6a92839c986682d98bc35f958f4883f9d2a801805461ffff8088166002600f909516949094026101000a848102910219909116179055600090815260096020526040902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0016909117905550505b5050505050565b610f56828260405180602001604052806000815250614806565b60006001600160a01b0384163b15611d8e576040517f150b7a020000000000000000000000000000000000000000000000000000000081526001600160a01b0385169063150b7a02906145f6903390899088908890600401615063565b602060405180830381600087803b15801561461057600080fd5b505af192505050801561465e575060408051601f3d9081017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016820190925261465b91810190614f01565b60015b61470e573d80801561468c576040519150601f19603f3d011682016040523d82523d6000602084013e614691565b606091505b5080516147065760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527f63656976657220696d706c656d656e746572000000000000000000000000000060648201526084016107cc565b805181602001fd5b7fffffffff00000000000000000000000000000000000000000000000000000000167f150b7a0200000000000000000000000000000000000000000000000000000000149050612924565b6040805160208082018490524282840152446060808401919091528351808403909101815260809092019092528051910120600090614799601182615474565b6125309060056152bb565b6040805160208082018490524282840152446060808401919091528351808403909101815260809092019092528051910120600090816147e5603d83615474565b6147f0906046615349565b90506147fe846101f46152f8565b139392505050565b614810838361488f565b61481d6000848484614599565b610d8f5760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527f63656976657220696d706c656d656e746572000000000000000000000000000060648201526084016107cc565b6001600160a01b0382166148e55760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f206164647265737360448201526064016107cc565b6000818152600260205260409020546001600160a01b03161561494a5760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e7465640000000060448201526064016107cc565b6001600160a01b03821660009081526003602052604081208054600192906149739084906152bb565b909155505060008181526002602052604080822080547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b8280546149f590615400565b90600052602060002090601f016020900481019282614a175760008555614a5d565b82601f10614a3057805160ff1916838001178555614a5d565b82800160010185558215614a5d579182015b82811115614a5d578251825591602001919060010190614a42565b50614a69929150614a6d565b5090565b5b80821115614a695760008155600101614a6e565b600060405160a0810181811067ffffffffffffffff82111715614aa757614aa76154b4565b6040529050808260a08101851015614abe57600080fd5b60005b6005811015614ae0578135835260209283019290910190600101614ac1565b50505092915050565b600067ffffffffffffffff80841115614b0457614b046154b4565b604051601f85017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0908116603f01168101908282118183101715614b4a57614b4a6154b4565b81604052809350858152868686011115614b6357600080fd5b858560208301376000602087830101525050509392505050565b80356001600160a01b0381168114614b9457600080fd5b919050565b600082601f830112614ba9578081fd5b6040516040810181811067ffffffffffffffff82111715614bcc57614bcc6154b4565b8060405250808385604086011115614be2578384fd5b835b6002811015614c03578135835260209283019290910190600101614be4565b509195945050505050565b600082601f830112614c1e578081fd5b60405160c0810181811067ffffffffffffffff82111715614c4157614c416154b4565b604052808360c08101861015614c55578384fd5b835b6006811015614c03578135835260209283019290910190600101614c57565b600082601f830112614c86578081fd5b61253083833560208501614ae9565b600060208284031215614ca6578081fd5b61253082614b7d565b60008060408385031215614cc1578081fd5b614cca83614b7d565b9150614cd860208401614b7d565b90509250929050565b600080600060608486031215614cf5578081fd5b614cfe84614b7d565b9250614d0c60208501614b7d565b9150604084013590509250925092565b60008060008060808587031215614d31578081fd5b614d3a85614b7d565b9350614d4860208601614b7d565b925060408501359150606085013567ffffffffffffffff811115614d6a578182fd5b8501601f81018713614d7a578182fd5b614d8987823560208401614ae9565b91505092959194509250565b60008060408385031215614da7578182fd5b614db083614b7d565b91506020830135614dc0816154ca565b809150509250929050565b60008060408385031215614ddd578182fd5b614de683614b7d565b946020939093013593505050565b60008060008060006102c08688031215614e0c578283fd5b86601f870112614e1a578283fd5b614e248787614a82565b94508660bf870112614e34578283fd5b614e3c615292565b8060a0880161010089018a811115614e52578687fd5b865b6003811015614e73578235855260209485019490920191600101614e54565b50829750614e818b82614c0e565b965050505050614e95876101c08801614c0e565b9150614ea5876102808801614b99565b90509295509295909350565b600060208284031215614ec2578081fd5b8151612530816154ca565b600060208284031215614ede578081fd5b5051919050565b600060208284031215614ef6578081fd5b8135612530816154d8565b600060208284031215614f12578081fd5b8151612530816154d8565b600060208284031215614f2e578081fd5b813567ffffffffffffffff811115614f44578182fd5b61292484828501614c76565b600060208284031215614f61578081fd5b5035919050565b60008060408385031215614f7a578182fd5b82359150602083013567ffffffffffffffff811115614f97578182fd5b614fa385828601614c76565b9150509250929050565b60008060408385031215614fbf578182fd5b50508035926020909101359150565b60008151808452614fe68160208601602086016153d4565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169290920160200192915050565b6000825161502a8184602087016153d4565b9190910192915050565b600083516150468184602088016153d4565b83519083019061505a8183602088016153d4565b01949350505050565b60006001600160a01b038087168352808616602084015250836040830152608060608301526150956080830184614fce565b9695505050505050565b6020808252825182820181905260009190848201906040850190845b818110156150db57835161ffff16835292840192918401916001016150bb565b50909695505050505050565b6020815260006125306020830184614fce565b60408152600061510d6040830185614fce565b828103602084015261511f8185614fce565b95945050505050565b815161ffff1681526102c08101602083015161514a602084018261ffff169052565b506040830151615160604084018261ffff169052565b506060830151615176606084018261ffff169052565b50608083015161518c608084018261ffff169052565b5060a08301516151a260a084018261ffff169052565b5060c08301516151b860c084018261ffff169052565b5060e08301516151ce60e084018261ffff169052565b506101008381015161ffff90811691840191909152610120808501518216908401526101408085015182169084015261016080850151821690840152610180808501518216908401526101a0808501518216908401526101c0808501518216908401526101e08085015182169084015261020080850151821690840152610220808501518216908401526102408085015182169084015261026080850151821690840152610280808501518216908401526102a09384015116929091019190915290565b6040516060810167ffffffffffffffff811182821017156152b5576152b56154b4565b60405290565b600082198211156152ce576152ce615488565b500190565b600060ff821660ff84168060ff038211156152f0576152f0615488565b019392505050565b6000826153075761530761549e565b500490565b6000817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561534457615344615488565b500290565b6000808312837f80000000000000000000000000000000000000000000000000000000000000000183128115161561538357615383615488565b837f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0183138116156153b7576153b7615488565b50500390565b6000828210156153cf576153cf615488565b500390565b60005b838110156153ef5781810151838201526020016153d7565b83811115611f665750506000910152565b600181811c9082168061541457607f821691505b6020821081141561543557634e487b7160e01b600052602260045260246000fd5b50919050565b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561546d5761546d615488565b5060010190565b6000826154835761548361549e565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b80151581146126d757600080fd5b7fffffffff00000000000000000000000000000000000000000000000000000000811681146126d757600080fdfea2646970667358221220c0184e7d73ded195bddc9996c54a3938afbe0d50745289f7f6c1d55ee6c34c4d64736f6c63430008040033

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

0000000000000000000000003c8d2fce49906e11e71cb16fa0ffeb2b16c29638000000000000000000000000ee7b4d3c69de4883dae82ecdb3b629d24a5590d7

-----Decoded View---------------
Arg [0] : nftlAddress (address): 0x3c8D2FCE49906e11e71cB16Fa0fFeB2B16C29638
Arg [1] : storageAddress (address): 0xee7b4d3C69DE4883daE82EcDb3B629d24A5590d7

-----Encoded View---------------
2 Constructor Arguments found :
Arg [0] : 0000000000000000000000003c8d2fce49906e11e71cb16fa0ffeb2b16c29638
Arg [1] : 000000000000000000000000ee7b4d3c69de4883dae82ecdb3b629d24a5590d7


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

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