ETH Price: $3,488.05 (-0.09%)

Token

Mutagen (MUTAGEN)
 

Overview

Max Total Supply

4,116 MUTAGEN

Holders

578

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Filtered by Token Holder
Null: 0x000...000
Balance
0 MUTAGEN
0x0000000000000000000000000000000000000000
Loading...
Loading
Loading...
Loading
Loading...
Loading

OVERVIEW

MutagenNFT is an NFT collection by internationally acclaimed artists and Solidity developers. It includes 40 NFTs (Geneses) that are on-chain mutable and revenue-generating. Accompanied by 4096 deflationary machine-generated NFTs

# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
MutagenToken

Compiler Version
v0.8.4+commit.c7e474f2

Optimization Enabled:
Yes with 200 runs

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

import {ERC721, ERC721Enumerable} from "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol";

import "./IdUtils.sol";
import "./ActiveAfterBlock.sol";

contract MutagenToken is ERC721Enumerable, ActiveAfterBlock, IdUtils {
    /*******************************
     * Constants, structs & events *
     *******************************/

    // Print bonding curve parameters - NEVER MUTATE
    // All the BC prices need to be even numbers for feeShare
    // in _collectFees to be calculated correctly
    uint256 constant PRINT_FEE_BASE = 0.2 ether;
    uint256 constant PRINT_CURVE_EXPONENT = 4;
    uint256 constant PRINT_CURVE_COEFFICIENT = 0.00000002 ether;

    // Probability in % that a rare variant occurs
    uint8 constant RARE_VARIANT_PROBABILITY = 2;

    // Maximum number of Genesis tokens
    uint8 constant MAX_GENESIS_TOKENS = 40;

    // Maximum number of Mutagen tokens
    uint16 constant MAX_MUTAGEN_TOKENS = 4096;

    struct Genesis {
        // Print nonce, this is used to ensure all print IDs are unique
        uint256 printNonce;
        // Active print count
        uint256 printSupply;
        // Keep print count trackers in another array, one counter per generation
        uint256[] printCounts;
        // Print fees that are claimable by the Genesis holder
        uint256 fees;
        // Rare variants, (layer, variant) indexes
        uint8[2] moon;
        uint8[2] punk;
        // Generations are all realized variant combinations
        uint8[4][] generations;
    }

    event Print(
        address to,
        uint8 genesisIdx,
        uint16 generationIdx,
        uint256 nextPrintValue
    );

    event Burn(
        address from,
        uint8 genesisIdx,
        uint16 generationIdx,
        uint256 nextBurnValue
    );

    event Mutation(uint8 genesisIdx, uint8[4] newGeneration);

    event PermanentURI(string _value, uint256 indexed _id);

    /*************
     * Variables *
     *************/

    // Bonding curve reserve
    uint256 public reserve;

    // Protocol fees balance
    uint256 public protocolFees;

    // Global rare variant trackers
    uint8 public remainingPunkMutations = 2;
    uint8 public remainingMoonMutations = 4;

    // Base URL for Genesis and Mutagen assets
    string public assetsBaseURL;

    // Base URL for the metadata API
    string public metadataBaseURL;

    // Genesis storage
    Genesis[MAX_GENESIS_TOKENS] private _geneses;

    // Address for the EVPool that is allowed to mint Genesis and Mutagen tokens
    address private _minter;

    // Mapping for stored token URIs
    mapping(uint256 => string) private _tokenURIs;

    constructor(
        string memory _assetsBaseURL,
        uint256 _startingBlock,
        string memory _metadataBaseURL
    ) ERC721("Mutagen", "MUTAGEN") {
        assetsBaseURL = _assetsBaseURL;
        startingBlock = _startingBlock;
        metadataBaseURL = _metadataBaseURL;

        // Initialize Geneses in storage
        _initGenesis(0, [2, 3], [1, 3], [0, 0, 0, 0]);
        _initGenesis(1, [0, 3], [3, 3], [2, 0, 3, 2]);
        _initGenesis(2, [3, 3], [2, 3], [2, 0, 0, 0]);
        _initGenesis(3, [2, 3], [3, 3], [0, 0, 1, 1]);
        _initGenesis(4, [2, 3], [1, 3], [0, 0, 0, 0]);
        _initGenesis(5, [3, 3], [2, 3], [3, 1, 0, 0]);
        _initGenesis(6, [0, 3], [3, 3], [0, 0, 0, 1]);
        _initGenesis(7, [0, 3], [1, 3], [1, 2, 1, 2]);
        _initGenesis(8, [3, 3], [2, 3], [2, 1, 1, 0]);
        _initGenesis(9, [3, 3], [2, 3], [2, 2, 1, 0]);
        _initGenesis(10, [0, 3], [3, 3], [0, 1, 1, 1]);
        _initGenesis(11, [3, 3], [2, 3], [3, 0, 1, 0]);
        _initGenesis(12, [0, 3], [2, 3], [0, 0, 0, 0]);
        _initGenesis(13, [3, 3], [1, 3], [0, 0, 0, 0]);
        _initGenesis(14, [3, 3], [2, 3], [0, 1, 1, 0]);
        _initGenesis(15, [3, 3], [2, 3], [3, 1, 2, 1]);
        _initGenesis(16, [0, 3], [0, 2], [1, 1, 0, 2]);
        _initGenesis(17, [3, 3], [2, 3], [1, 1, 1, 1]);
        _initGenesis(18, [1, 3], [3, 3], [3, 1, 1, 2]);
        _initGenesis(19, [0, 3], [3, 3], [1, 1, 3, 0]);
        _initGenesis(20, [0, 3], [1, 3], [0, 0, 0, 0]);
        _initGenesis(21, [3, 3], [0, 3], [1, 1, 2, 0]);
        _initGenesis(22, [0, 3], [0, 2], [1, 1, 1, 0]);
        _initGenesis(23, [0, 3], [3, 3], [1, 3, 1, 2]);
        _initGenesis(24, [3, 3], [0, 3], [1, 3, 3, 2]);
        _initGenesis(25, [3, 3], [1, 3], [1, 0, 1, 1]);
        _initGenesis(26, [3, 3], [2, 3], [3, 3, 2, 2]);
        _initGenesis(27, [3, 3], [2, 3], [3, 1, 0, 2]);
        _initGenesis(28, [0, 3], [1, 3], [1, 1, 2, 1]);
        _initGenesis(29, [0, 3], [3, 3], [0, 0, 0, 1]);
        _initGenesis(30, [1, 3], [0, 3], [0, 0, 0, 0]);
        _initGenesis(31, [0, 3], [2, 3], [0, 0, 0, 0]);
        _initGenesis(32, [0, 3], [3, 3], [2, 1, 2, 2]);
        _initGenesis(33, [0, 3], [2, 3], [2, 3, 0, 1]);
        _initGenesis(34, [0, 2], [0, 3], [0, 0, 3, 0]);
        _initGenesis(35, [0, 3], [2, 3], [0, 0, 1, 2]);
        _initGenesis(36, [3, 3], [2, 3], [1, 3, 1, 0]);
        _initGenesis(37, [0, 3], [1, 3], [2, 0, 1, 2]);
        _initGenesis(38, [0, 3], [1, 3], [0, 0, 0, 0]);
        _initGenesis(39, [0, 3], [1, 3], [2, 0, 3, 1]);
    }

    /****************
     * User actions *
     ****************/

    /**
     * @dev Create a new print of a Genesis
     */
    function print(uint256 genesisId)
        external
        payable
        isTokenType(genesisId, GENESIS_TOKEN)
        isActive
    {
        // Get a reference to the genesis we're printing
        uint8 genesisIdx = unpackGenesisId(genesisId);
        Genesis storage genesis = _geneses[genesisIdx];

        // Get the current generation index
        uint16 generationIdx = uint16(genesis.generations.length) - 1;

        // Get the index and ID of the new print
        uint256 printId = packPrintId(
            genesisIdx,
            genesis.printNonce,
            generationIdx
        );

        // Collect printing fees
        uint256 usedFees = _collectFees(genesisIdx);

        // Update Genesis state
        genesis.printNonce += 1;
        genesis.printCounts[generationIdx] += 1;
        genesis.printSupply += 1;

        // Mint the token
        _safeMint(msg.sender, printId);

        // Refund any excess ether
        _refundExcess(usedFees);

        // Emit printing event
        emit Print(
            msg.sender,
            genesisIdx,
            generationIdx,
            getPrintValue(genesis.printSupply + 1)
        );
    }

    /**
     * @dev Burn a print and get the reserve ether back from the bonding curve
     */
    function burn(uint256 printId)
        external
        onlyTokenOwner(printId)
        isTokenType(printId, PRINT_TOKEN)
    {
        // Get a reference to the genesis we're modifying
        (uint8 genesisIdx, , uint16 generationIdx) = unpackPrintId(printId);
        Genesis storage genesis = _geneses[genesisIdx];

        // Get the amount to be refunded to the burner
        uint256 burnValue = getBurnValue(genesis.printSupply);

        // Update Genesis state
        genesis.printSupply -= 1;
        genesis.printCounts[generationIdx] -= 1;

        // Subtract reserves
        reserve -= burnValue;

        // Burn the token
        _burn(printId);

        // Refund ether
        _send(burnValue, msg.sender);

        // Emit burn event
        emit Burn(
            msg.sender,
            genesisIdx,
            generationIdx,
            getBurnValue(genesis.printSupply)
        );
    }

    /**
     * @dev Trigger a mutation on a Genesis token you own. Burns a Mutagen in the process.
     */
    function mutate(uint256 genesisId, uint256 mutagenId)
        external
        onlyTokenOwner(genesisId)
        isTokenType(genesisId, GENESIS_TOKEN)
        onlyTokenOwner(mutagenId)
        isTokenType(mutagenId, MUTAGEN_TOKEN)
        isActive
    {
        // Get a reference to the Genesis we're mutating
        uint8 genesisIdx = unpackGenesisId(genesisId);
        Genesis storage genesis = _geneses[genesisIdx];

        // Burn the Mutagen
        _burn(mutagenId);

        // Make a copy of the latest generation so we can update it
        uint8[4] memory newGeneration = genesis.generations[
            genesis.generations.length - 1
        ];

        // Get mutation parameters from the Mutagen
        (uint8 layer, uint8 variant, ) = unpackMutagenId(mutagenId);

        if (
            // Case 1: The layer has no rare variants
            layer != genesis.punk[0] && layer != genesis.moon[0]
        ) {
            // Pick any of the 4 variants with equal probability
            newGeneration[layer] = uint8(variant % 4);
        } else if (
            // Case 2: The layer has a rare moon variant and it will activate
            layer == genesis.moon[0] &&
            remainingMoonMutations > 0 &&
            variant < RARE_VARIANT_PROBABILITY
        ) {
            // Activate rare variant and decrease remaining count
            newGeneration[layer] = genesis.moon[1];
            remainingMoonMutations -= 1;
        } else if (
            // Case 3: The layer has a rare Cryptopunk variant and it will activate
            layer == genesis.punk[0] &&
            remainingPunkMutations > 0 &&
            variant < RARE_VARIANT_PROBABILITY
        ) {
            // Activate rare variant and decrease remaining count
            newGeneration[layer] = genesis.punk[1];
            remainingPunkMutations -= 1;
        } else {
            // Case 4: The layer has rare variant(s) but they weren't activated
            // Pick one of the non-rare variants with equal probability.
            // Assume that the rare variants are sorted to the end of the layer.
            uint8 regularVariantCount = 4 -
                (genesis.punk[0] == layer ? 1 : 0) -
                (genesis.moon[0] == layer ? 1 : 0);
            newGeneration[layer] = uint8(variant % regularVariantCount);
        }

        // Update the Genesis state by adding the new generation
        genesis.generations.push(newGeneration);
        // And the print counter for that new generation
        genesis.printCounts.push(0);

        // If the Genesis has any accrued fees, send them to it's owner
        uint256 fees = genesis.fees;
        if (fees > 0) {
            genesis.fees = 0;
            _send(fees, msg.sender);
        }

        // Emit mutation event
        emit Mutation(genesisIdx, newGeneration);
    }

    /**************************
     * Querying Mutagen state *
     **************************/

    /**
     * @dev Get the value of the next print from the bonding curve
     */
    function getPrintValue(uint256 printNumber)
        public
        pure
        returns (uint256 value)
    {
        return
            (printNumber - 1)**PRINT_CURVE_EXPONENT *
            PRINT_CURVE_COEFFICIENT +
            PRINT_FEE_BASE;
    }

    /**
     * @dev Get the value of the next burn from the bonding curve
     */
    function getBurnValue(uint256 printNumber)
        public
        pure
        returns (uint256 value)
    {
        return printNumber > 0 ? (getPrintValue(printNumber) * 9) / 10 : 0;
    }

    /**
     * @dev Get the current Genesis state
     */
    function getGenesisState(uint256 genesisIdx)
        external
        view
        returns (
            uint8[4][] memory generations,
            uint256[] memory printCounts,
            uint256 printSupply,
            uint256 fees,
            uint256 nextPrintValue,
            uint256 nextBurnValue,
            uint8[2] memory punk,
            uint8[2] memory moon
        )
    {
        Genesis memory genesis = _geneses[genesisIdx];

        fees = genesis.fees;
        generations = genesis.generations;
        printCounts = genesis.printCounts;
        printSupply = genesis.printSupply;
        nextPrintValue = getPrintValue(genesis.printSupply + 1);
        nextBurnValue = genesis.printSupply > 0
            ? getBurnValue(genesis.printSupply)
            : 0;
        punk = genesis.punk;
        moon = genesis.moon;
    }

    /**
     * @dev Get the token metadata URI
     */
    function tokenURI(uint256 tokenId)
        public
        view
        virtual
        override
        returns (string memory)
    {
        // Check that the token exists
        require(_exists(tokenId), "Token does not exist");

        // Try to get the URI from storage
        string memory _tokenURI = _tokenURIs[tokenId];

        // If a token URI has been set for this token, return that
        if (bytes(_tokenURI).length > 0) {
            return _tokenURI;
        }

        // Otherwise fall back to the main tokenURI()
        return super.tokenURI(tokenId);
    }

    /**
     * @dev Get all assets associated with the token
     */
    function tokenAssets(uint256 tokenId)
        external
        view
        returns (string[4] memory assets)
    {
        if (_tokenType(tokenId) == MUTAGEN_TOKEN) {
            (, , uint256 mutagenIdx) = unpackMutagenId(tokenId);

            assets[0] = string(
                abi.encodePacked(
                    assetsBaseURL,
                    "/mutagen/",
                    _uint2str(mutagenIdx),
                    ".svg"
                )
            );
        } else if (_tokenType(tokenId) == GENESIS_TOKEN) {
            uint256 genesisIdx = unpackGenesisId(tokenId);
            Genesis memory genesis = _geneses[genesisIdx];
            uint8[4] memory generation = genesis.generations[
                genesis.generations.length - 1
            ];

            for (uint8 i = 0; i < 4; i++) {
                assets[i] = string(
                    abi.encodePacked(
                        assetsBaseURL,
                        "/genesis/",
                        _uint2str(genesisIdx),
                        "/l",
                        _uint2str(i),
                        "v",
                        _uint2str(generation[i]),
                        ".png"
                    )
                );
            }
        } else if (_tokenType(tokenId) == PRINT_TOKEN) {
            (uint256 genesisIdx, , uint16 printGeneration) = unpackPrintId(
                tokenId
            );
            Genesis memory genesis = _geneses[genesisIdx];
            uint8[4] memory generation = genesis.generations[printGeneration];

            for (uint8 i = 0; i < 4; i++) {
                assets[i] = string(
                    abi.encodePacked(
                        assetsBaseURL,
                        "/genesis/",
                        _uint2str(genesisIdx),
                        "/l",
                        _uint2str(i),
                        "v",
                        _uint2str(generation[i]),
                        ".png"
                    )
                );
            }
        }
    }

    /*******************
     * Admin functions *
     *******************/

    /**
     * @dev Update the address that is allowed to mint new tokens
     */
    function setMinter(address newMinter) external onlyOwner {
        _minter = newMinter;
    }

    /**
     * @dev Mint a Genesis token
     */
    function mintGenesis(address to, uint8 genesisIdx) external onlyMinter {
        require(genesisIdx < MAX_GENESIS_TOKENS, "Invalid Genesis index");
        uint256 genesisId = packGenesisId(genesisIdx);

        _safeMint(to, genesisId);
    }

    /**
     * @dev Mint a Mutagen token
     */
    function mintMutagen(
        address to,
        uint8 layer,
        uint8 variant,
        uint16 mutagenIdx
    ) external onlyMinter {
        require(layer < 4, "Invalid layer");
        require(variant < 100, "Invalid variant number");
        require(mutagenIdx < MAX_MUTAGEN_TOKENS, "Invalid Mutagen index");

        uint256 mutagenId = packMutagenId(layer, variant, mutagenIdx);
        _safeMint(to, mutagenId);
    }

    /**
     * @dev Withdraw all collected fees. Callable by the owner.
     */
    function withdrawProtocolFees(address to) public onlyOwner {
        uint256 fees = protocolFees;
        protocolFees = 0;
        _send(fees, to);
    }

    /**
     * @dev Set metadata base URL
     */
    function setMetadataBaseURL(string memory newURI) external onlyOwner {
        metadataBaseURL = newURI;
    }

    /**
     * @dev Set a static URI for a token
     */
    function setTokenURI(uint256 tokenId, string memory newURI)
        external
        onlyOwner
    {
        // Try to get the URI from storage
        string memory _tokenURI = _tokenURIs[tokenId];

        // Make sure we can only set this once
        require(bytes(_tokenURI).length == 0, "Token URI already set");

        _tokenURIs[tokenId] = newURI;
        emit PermanentURI(newURI, tokenId);
    }

    /*************
     * Modifiers *
     *************/

    /**
     * @dev Only allow the owner of a specific token to call this function
     */
    modifier onlyTokenOwner(uint256 tokenId) {
        require(msg.sender == ownerOf(tokenId), "Not the token owner");
        _;
    }

    /**
     * @dev Only allow the minter address to call this function
     */
    modifier onlyMinter() {
        require(msg.sender == _minter, "Not the minter");
        _;
    }

    /*************
     * Internals *
     *************/

    /**
     * @dev Initialize a Genesis in storage
     */
    function _initGenesis(
        uint8 genesisIdx,
        uint8[2] memory moon,
        uint8[2] memory punk,
        uint8[4] memory startingGeneration
    ) internal {
        require(genesisIdx < MAX_GENESIS_TOKENS, "Invalid Genesis index");
        Genesis storage genesis = _geneses[genesisIdx];

        // Set the Genesis properties
        genesis.moon = moon;
        genesis.punk = punk;

        // Push the initial state into generations
        genesis.generations.push(startingGeneration);

        // Initialize printing-related state
        genesis.printCounts.push(0);
        genesis.printNonce = 0;
        genesis.printSupply = 0;
    }

    /**
     * @dev Update print fee related balances
     */
    function _collectFees(uint256 genesisIdx) internal returns (uint256) {
        Genesis storage genesis = _geneses[genesisIdx];
        uint256 fee = getPrintValue(genesis.printSupply + 1);
        require(msg.value >= fee, "Insufficient value");

        // 90% goes into reserve for future burns
        uint256 reserveFee = getBurnValue(genesis.printSupply + 1);
        // 10% is split equally between the protocol and genesis owner
        uint256 feeShare = (fee - reserveFee) / 2;
        require(reserveFee + feeShare + feeShare == fee, "Fees do not add up");

        reserve += reserveFee;
        genesis.fees += feeShare;
        protocolFees += feeShare;

        return fee;
    }

    /**
     * @dev Refund any excess ether to the sender
     */
    function _refundExcess(uint256 usedFees) internal {
        if (msg.value > usedFees) {
            _send(msg.value - usedFees, msg.sender);
        }
    }

    /**
     * @dev Send an amount of ether to the caller
     */
    function _send(uint256 amount, address to) internal {
        require(
            address(this).balance - amount >= reserve,
            "Cannot send reserves"
        );

        (bool success, ) = to.call{value: amount}("");
        require(success, "Payment failed");
    }

    /**
     * @dev Base URI for tokenId()
     */
    function _baseURI() internal view override returns (string memory) {
        return
            string(
                abi.encodePacked(
                    metadataBaseURL,
                    "?contractAddress=",
                    _contractAddress(),
                    "&tokenId="
                )
            );
    }

    /**
     * @dev Get a string with this contract's address
     */
    function _contractAddress() internal view returns (string memory) {
        bytes memory s = new bytes(40);

        for (uint256 i = 0; i < 20; i++) {
            bytes1 b = bytes1(
                uint8(uint256(uint160(address(this))) / (2**(8 * (19 - i))))
            );
            bytes1 hi = bytes1(uint8(b) / 16);
            bytes1 lo = bytes1(uint8(b) - 16 * uint8(hi));
            s[2 * i] = _char(hi);
            s[2 * i + 1] = _char(lo);
        }

        return string(abi.encodePacked("0x", s));
    }

    /**
     * @dev Convert bytes to an ASCII character
     */
    function _char(bytes1 b) internal pure returns (bytes1 c) {
        if (uint8(b) < 10) return bytes1(uint8(b) + 0x30);
        else return bytes1(uint8(b) + 0x57);
    }

    /**
     * @dev Convert uint to a string
     */
    function _uint2str(uint256 _i)
        internal
        pure
        returns (string memory _uintAsString)
    {
        if (_i == 0) {
            return "0";
        }
        uint256 j = _i;
        uint256 len;
        while (j != 0) {
            len++;
            j /= 10;
        }
        bytes memory bstr = new bytes(len);
        uint256 k = len;
        while (_i != 0) {
            k = k - 1;
            uint8 temp = (48 + uint8(_i - (_i / 10) * 10));
            bytes1 b1 = bytes1(temp);
            bstr[k] = b1;
            _i /= 10;
        }
        return string(bstr);
    }
}

File 2 of 16 : ERC721Enumerable.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

File 3 of 16 : IdUtils.sol
//SPDX-License-Identifier: MIT
pragma solidity 0.8.4;

import "hardhat/console.sol";

/**
 * Utility functions and helpers for working with token IDs.
 * Token IDs are unique binary numbers that encode a token type and some properties
 * specific to that type. There are three types of tokens: Geneses, prints and Mutagens.
 */
contract IdUtils {
    /**
     * Genesis IDs are made up of (left to right):
     * - 6 bits for Genesis index (0-39)
     * - 2 bits for token type (0)
     */

    // Genesis token type flag
    uint8 constant GENESIS_TOKEN = 0; // 0b00

    uint8 constant GENESIS_IDX_OFFSET = 2;

    /**
     * @dev Pack a Genesis index into its ID
     */
    function packGenesisId(uint8 genesisIdx)
        public
        pure
        returns (uint256 tokenId)
    {
        return genesisIdx << GENESIS_IDX_OFFSET;
    }

    /**
     * @dev Unpack a Genesis ID to get its index
     */
    function unpackGenesisId(uint256 genesisId)
        public
        pure
        returns (uint8 genesisIdx)
    {
        return uint8(genesisId >> GENESIS_IDX_OFFSET);
    }

    /**
     * Print token IDs are made up of (left to right):
     * - Up to x bits for print nonce (0-...)
     * - 12 bits for print generation (0-3999)
     * - 6 bits for Genesis index
     * - 2 bits for token type (1)
     */

    uint8 constant PRINT_NONCE_OFFSET = 20;

    uint8 constant PRINT_GENERATION_OFFSET = 8;
    uint16 constant PRINT_GENERATION_MASK = 4095; // 0b111111111111

    uint8 constant PRINT_GENESIS_IDX_OFFSET = 2;
    uint8 constant PRINT_GENESIS_IDX_MASK = 63; // 0b111111

    uint8 constant PRINT_TOKEN = 1; // 0b01

    /**
     * @dev Pack print properties into a token ID
     */
    function packPrintId(
        uint8 genesisIdx,
        uint256 printNonce,
        uint16 printGeneration
    ) public pure returns (uint256 tokenId) {
        return
            (uint256(printNonce) << PRINT_NONCE_OFFSET) +
            (uint256(printGeneration) << PRINT_GENERATION_OFFSET) +
            (uint256(genesisIdx) << PRINT_GENESIS_IDX_OFFSET) +
            PRINT_TOKEN;
    }

    /**
     * @dev Unpack a print ID to its components
     */
    function unpackPrintId(uint256 printId)
        public
        pure
        returns (
            uint8 genesisIdx,
            uint256 printNonce,
            uint16 printGeneration
        )
    {
        printNonce = (printId >> PRINT_NONCE_OFFSET);
        printGeneration = uint16(
            (printId >> PRINT_GENERATION_OFFSET) & PRINT_GENERATION_MASK
        );
        genesisIdx = uint8(
            (printId >> PRINT_GENESIS_IDX_OFFSET) & PRINT_GENESIS_IDX_MASK
        );
    }

    /**
     * Mutagen token IDs are made up of (left to right):
     * - 2 bits for layer number (0-3)
     * - 7 bits for variant number (0-99)
     * - 12 bits for Mutagen index (0-3999)
     * - 2 bits for token type (2)
     */

    uint8 constant MUTAGEN_LAYER_OFFSET = 21; // 14 bits from variant offset + 7 bits from variant

    uint8 constant MUTAGEN_VARIANT_OFFSET = 14; // 2 bits from index offset + 12 bits from index
    uint8 constant MUTAGEN_VARIANT_MASK = 127; // 7 bits - 0b1111111

    uint8 constant MUTAGEN_IDX_OFFSET = 2; // 2 bits from token type
    uint16 constant MUTAGEN_IDX_MASK = 4095; // 12 bits - 0b111111111111

    uint8 constant MUTAGEN_TOKEN = 2; // 0b10

    /**
     * @dev Pack Mutagen properties into a unique ID
     */
    function packMutagenId(
        uint8 layer,
        uint8 variant,
        uint16 mutagenIdx
    ) public pure returns (uint256) {
        return
            (uint256(layer) << MUTAGEN_LAYER_OFFSET) +
            (uint256(variant) << MUTAGEN_VARIANT_OFFSET) +
            (uint256(mutagenIdx) << MUTAGEN_IDX_OFFSET) +
            MUTAGEN_TOKEN;
    }

    /**
     * @dev Unpack Mutagen ID into its properties
     */
    function unpackMutagenId(uint256 mutagenId)
        public
        pure
        returns (
            uint8 layer,
            uint8 variant,
            uint256 mutagenIdx
        )
    {
        layer = uint8(mutagenId >> MUTAGEN_LAYER_OFFSET);
        variant = uint8(
            (mutagenId >> MUTAGEN_VARIANT_OFFSET) & MUTAGEN_VARIANT_MASK
        );
        mutagenIdx = (mutagenId >> MUTAGEN_IDX_OFFSET) & MUTAGEN_IDX_MASK;
    }

    // Last two bits of a token ID represent the token type.
    // We can use this mask to quickly check for specific types.
    uint8 constant TOKEN_TYPE_MASK = 3; // 0b11

    /**
     * @dev Require that the provided token ID is the expected type
     */
    modifier isTokenType(uint256 tokenId, uint8 tokenBits) {
        require((_tokenType(tokenId)) == tokenBits, "Incorrect token type");
        _;
    }

    /**
     * @dev Get the token type flag from it's ID
     */
    function _tokenType(uint256 tokenId) internal pure returns (uint8) {
        return uint8(tokenId & TOKEN_TYPE_MASK);
    }
}

File 4 of 16 : ActiveAfterBlock.sol
//SPDX-License-Identifier: MIT
pragma solidity 0.8.4;

import {Ownable} from "@openzeppelin/contracts/access/Ownable.sol";

contract ActiveAfterBlock is Ownable {
    // Starting block
    uint256 public startingBlock;

    /**
     * @dev Set starting block number
     */
    function setStartingBlock(uint256 blockNumber) external onlyOwner {
        startingBlock = blockNumber;
    }

    /**
     * @dev Check if we're active
     */
    modifier isActive() {
        require(block.number >= startingBlock, "Contract not active yet");
        _;
    }
}

File 5 of 16 : 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}. 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(to).onERC721Received.selector;
            } catch (bytes memory reason) {
                if (reason.length == 0) {
                    revert("ERC721: transfer to non ERC721Receiver implementer");
                } else {
                    // solhint-disable-next-line no-inline-assembly
                    assembly {
                        revert(add(32, reason), mload(reason))
                    }
                }
            }
        } else {
            return true;
        }
    }

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

File 6 of 16 : IERC721Enumerable.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "../IERC721.sol";

/**
 * @title ERC-721 Non-Fungible Token Standard, optional enumeration extension
 * @dev See https://eips.ethereum.org/EIPS/eip-721
 */
interface IERC721Enumerable is IERC721 {

    /**
     * @dev Returns the total amount of tokens stored by the contract.
     */
    function totalSupply() external view returns (uint256);

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

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

File 7 of 16 : 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 8 of 16 : 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 9 of 16 : IERC721Metadata.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "../IERC721.sol";

/**
 * @title ERC-721 Non-Fungible Token Standard, optional metadata extension
 * @dev See https://eips.ethereum.org/EIPS/eip-721
 */
interface IERC721Metadata is IERC721 {

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

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

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

File 10 of 16 : 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;
        // solhint-disable-next-line no-inline-assembly
        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");

        // solhint-disable-next-line avoid-low-level-calls, avoid-call-value
        (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");

        // solhint-disable-next-line avoid-low-level-calls
        (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");

        // solhint-disable-next-line avoid-low-level-calls
        (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");

        // solhint-disable-next-line avoid-low-level-calls
        (bool success, bytes memory returndata) = target.delegatecall(data);
        return _verifyCallResult(success, returndata, errorMessage);
    }

    function _verifyCallResult(bool success, bytes memory returndata, string memory errorMessage) private 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

                // solhint-disable-next-line no-inline-assembly
                assembly {
                    let returndata_size := mload(returndata)
                    revert(add(32, returndata), returndata_size)
                }
            } else {
                revert(errorMessage);
            }
        }
    }
}

File 11 of 16 : 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) {
        this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691
        return msg.data;
    }
}

File 12 of 16 : Strings.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

/**
 * @dev String operations.
 */
library Strings {
    bytes16 private constant alphabet = "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] = alphabet[value & 0xf];
            value >>= 4;
        }
        require(value == 0, "Strings: hex length insufficient");
        return string(buffer);
    }

}

File 13 of 16 : 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 14 of 16 : IERC165.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

File 15 of 16 : 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 16 of 16 : 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 () {
        address msgSender = _msgSender();
        _owner = msgSender;
        emit OwnershipTransferred(address(0), 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 {
        emit OwnershipTransferred(_owner, address(0));
        _owner = 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");
        emit OwnershipTransferred(_owner, newOwner);
        _owner = newOwner;
    }
}

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string","name":"_assetsBaseURL","type":"string"},{"internalType":"uint256","name":"_startingBlock","type":"uint256"},{"internalType":"string","name":"_metadataBaseURL","type":"string"}],"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":false,"internalType":"address","name":"from","type":"address"},{"indexed":false,"internalType":"uint8","name":"genesisIdx","type":"uint8"},{"indexed":false,"internalType":"uint16","name":"generationIdx","type":"uint16"},{"indexed":false,"internalType":"uint256","name":"nextBurnValue","type":"uint256"}],"name":"Burn","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint8","name":"genesisIdx","type":"uint8"},{"indexed":false,"internalType":"uint8[4]","name":"newGeneration","type":"uint8[4]"}],"name":"Mutation","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":"string","name":"_value","type":"string"},{"indexed":true,"internalType":"uint256","name":"_id","type":"uint256"}],"name":"PermanentURI","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint8","name":"genesisIdx","type":"uint8"},{"indexed":false,"internalType":"uint16","name":"generationIdx","type":"uint16"},{"indexed":false,"internalType":"uint256","name":"nextPrintValue","type":"uint256"}],"name":"Print","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"assetsBaseURL","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","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":"printId","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"printNumber","type":"uint256"}],"name":"getBurnValue","outputs":[{"internalType":"uint256","name":"value","type":"uint256"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"uint256","name":"genesisIdx","type":"uint256"}],"name":"getGenesisState","outputs":[{"internalType":"uint8[4][]","name":"generations","type":"uint8[4][]"},{"internalType":"uint256[]","name":"printCounts","type":"uint256[]"},{"internalType":"uint256","name":"printSupply","type":"uint256"},{"internalType":"uint256","name":"fees","type":"uint256"},{"internalType":"uint256","name":"nextPrintValue","type":"uint256"},{"internalType":"uint256","name":"nextBurnValue","type":"uint256"},{"internalType":"uint8[2]","name":"punk","type":"uint8[2]"},{"internalType":"uint8[2]","name":"moon","type":"uint8[2]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"printNumber","type":"uint256"}],"name":"getPrintValue","outputs":[{"internalType":"uint256","name":"value","type":"uint256"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"metadataBaseURL","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint8","name":"genesisIdx","type":"uint8"}],"name":"mintGenesis","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint8","name":"layer","type":"uint8"},{"internalType":"uint8","name":"variant","type":"uint8"},{"internalType":"uint16","name":"mutagenIdx","type":"uint16"}],"name":"mintMutagen","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"genesisId","type":"uint256"},{"internalType":"uint256","name":"mutagenId","type":"uint256"}],"name":"mutate","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint8","name":"genesisIdx","type":"uint8"}],"name":"packGenesisId","outputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"uint8","name":"layer","type":"uint8"},{"internalType":"uint8","name":"variant","type":"uint8"},{"internalType":"uint16","name":"mutagenIdx","type":"uint16"}],"name":"packMutagenId","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"uint8","name":"genesisIdx","type":"uint8"},{"internalType":"uint256","name":"printNonce","type":"uint256"},{"internalType":"uint16","name":"printGeneration","type":"uint16"}],"name":"packPrintId","outputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"uint256","name":"genesisId","type":"uint256"}],"name":"print","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"protocolFees","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"remainingMoonMutations","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"remainingPunkMutations","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"reserve","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"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":"newURI","type":"string"}],"name":"setMetadataBaseURL","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newMinter","type":"address"}],"name":"setMinter","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"blockNumber","type":"uint256"}],"name":"setStartingBlock","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"string","name":"newURI","type":"string"}],"name":"setTokenURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"startingBlock","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenAssets","outputs":[{"internalType":"string[4]","name":"assets","type":"string[4]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"genesisId","type":"uint256"}],"name":"unpackGenesisId","outputs":[{"internalType":"uint8","name":"genesisIdx","type":"uint8"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"uint256","name":"mutagenId","type":"uint256"}],"name":"unpackMutagenId","outputs":[{"internalType":"uint8","name":"layer","type":"uint8"},{"internalType":"uint8","name":"variant","type":"uint8"},{"internalType":"uint256","name":"mutagenIdx","type":"uint256"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"uint256","name":"printId","type":"uint256"}],"name":"unpackPrintId","outputs":[{"internalType":"uint8","name":"genesisIdx","type":"uint8"},{"internalType":"uint256","name":"printNonce","type":"uint256"},{"internalType":"uint16","name":"printGeneration","type":"uint16"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"}],"name":"withdrawProtocolFees","outputs":[],"stateMutability":"nonpayable","type":"function"}]

6080604052600e805461ffff19166104021790553480156200002057600080fd5b50604051620059e6380380620059e6833981016040819052620000439162001210565b6040518060400160405280600781526020016626baba30b3b2b760c91b8152506040518060400160405280600781526020016626aaaa20a3a2a760c91b81525081600090805190602001906200009b92919062001027565b508051620000b190600190602084019062001027565b5050506000620000c662000f2b60201b60201c565b600a80546001600160a01b0319166001600160a01b038316908117909155604051919250906000907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a35082516200012990600f90602086019062001027565b50600b82905580516200014490601090602084019062001027565b50604080518082018252600281526003602080830182905283518085018552600181528082019290925283516080810185526000808252918101829052938401819052606084018190526200019d939092919062000f2f565b604080518082018252600080825260036020808401829052845180860186528281528082018390528551608081018752600280825292810194909452948301919091526060820152620001f4926001929162000f2f565b60408051808201825260038082526020808301829052835180850185526002808252818301939093528451608081018652838152600092810183905294850182905260608501919091526200024c9391929162000f2f565b604080518082018252600281526003602080830182905283518085018552828152808201839052845160808101865260008082529281019290925260019482018590526060820194909452620002a6939192919062000f2f565b6040805180820182526002815260036020808301829052835180850185526001815280820192909252835160808101855260008082529181018290529384018190526060840152620002fd92600492919062000f2f565b60408051808201825260038082526020808301829052835180850185526002815280820183905284516080810186529283526001918301919091526000938201849052606082019390935262000357926005929162000f2f565b604080518082018252600080825260036020808401829052845180860186528281528082019290925284516080810186528381529081018390529384019190915260016060840152620003af92600692919062000f2f565b604080518082018252600081526003602080830182905283518085018552600180825281830193909352845160808101865283815260029281018390529485019290925260608401526200040892600792919062000f2f565b60408051808201825260038082526020808301829052835180850185526002808252818301939093528451608081018652928352600191830182905293820152600060608201526200045e926008929162000f2f565b604080518082018252600380825260208083018290528351808501855260028082528183019390935284516080810186528381529182019290925260019381019390935260006060840152620004b992600992919062000f2f565b60408051808201825260008082526003602080840182905284518086018652828152808201929092528451608081018652928352600190830181905293820184905260608201939093526200051292600a929162000f2f565b6040805180820182526003808252602080830182905283518085018552600281528082018390528451608081018652928352600091830182905260019483019490945260608201526200056992600b929162000f2f565b60408051808201825260008082526003602080840182905284518086018652600281528082019290925284516080810186528381529081018390529384018290526060840191909152620005c292600c92919062000f2f565b604080518082018252600380825260208083018290528351808501855260018152808201929092528351608081018552600080825291810182905293840181905260608401526200061892600d92919062000f2f565b604080518082018252600380825260208083018290528351808501855260028152808201929092528351608081018552600080825260019282018390529481019190915260608101939093526200067492600e92919062000f2f565b6040805180820182526003808252602080830182905283518085018552600280825281830184905285516080810187529384526001928401839052948301949094526060820152620006ca92600f929162000f2f565b6040805180820182526000808252600360208084019190915283518085018552828152600281830181905285516080810187526001808252938101939093529482019290925260608101939093526200072892601092919062000f2f565b604080518082018252600380825260208083018290528351808501855260028152808201929092528351608081018552600180825291810182905293840181905260608401526200077e92601192919062000f2f565b6040805180820182526001808252600360208084018290528451808601865282815280820183905285516080810187529283529082018390529381019190915260026060820152620007d4926012929162000f2f565b6040805180820182526000808252600360208084018290528451808601865282815280820183905285516080810187526001808252928101929092529481019190915260608101919091526200082e926013929162000f2f565b604080518082018252600080825260036020808401829052845180860186526001815280820192909252845160808101865283815290810183905293840182905260608401919091526200088792601492919062000f2f565b604080518082018252600380825260208083018290528351808501855260008082528183019390935284516080810186526001808252928101929092526002948201949094526060810191909152620008e4926015929162000f2f565b6040805180820182526000808252600360208084019190915283518085018552828152600281830152845160808101865260018082529281018390529485019190915260608401919091526200093f92601692919062000f2f565b6040805180820182526000815260036020808301829052835180850185528281528082018390528451608081018652600180825292810193909352938201526002606082015262000994926017929162000f2f565b6040805180820182526003808252602080830182905283518085018552600081528082018390528451608081018652600181529182018390529381019190915260026060820152620009ea926018929162000f2f565b60408051808201825260038082526020808301829052835180850185526001808252818301939093528451608081018652838152600092810192909252938101829052606081019190915262000a44926019929162000f2f565b60408051808201825260038082526020808301829052835180850185526002808252818301849052855160808101875284815292830193909352938101829052606081019190915262000a9b92601a929162000f2f565b604080518082018252600380825260208083018290528351808501855260028082528183018490528551608081018752938452600192840192909252600094830194909452606082015262000af492601b929162000f2f565b6040805180820182526000815260036020808301829052835180850185526001808252818301939093528451608081018652838152918201839052600294820194909452606081019190915262000b4f92601c929162000f2f565b60408051808201825260008082526003602080840182905284518086018652828152808201929092528451608081018652838152908101839052938401919091526001606084015262000ba792601d92919062000f2f565b6040805180820182526001815260036020808301829052835180850185526000808252818301939093528451608081018652838152918201839052938101829052606081019190915262000bff92601e929162000f2f565b6040805180820182526000808252600360208084018290528451808601865260028152808201929092528451608081018652838152908101839052938401829052606084019190915262000c5892601f92919062000f2f565b6040805180820182526000815260036020828101829052835180850185528281528082019290925283516080810185526002808252600182840152948101859052606081019490945262000cb0939092919062000f2f565b604080518082018252600080825260036020808401829052845180860186526002808252818301849052865160808101885290815291820192909252938401919091526001606084015262000d0a92602192919062000f2f565b60408051808201825260008082526002602080840191909152835180850185528281526003818301819052855160808101875284815292830184905294820194909452606081019190915262000d64926022929162000f2f565b60408051808201825260008082526003602080840182905284518086018652600280825281830193909352855160808101875284815291820193909352600194810194909452606084015262000dbf92602392919062000f2f565b6040805180820182526003808252602080830182905283518085018552600281528082018390528451608081018652600180825292810193909352938201526000606082015262000e14926024929162000f2f565b60408051808201825260008082526003602080840182905284518086018652600180825281830193909352855160808101875260028082529281019490945294830191909152606082015262000e6e926025929162000f2f565b6040805180820182526000808252600360208084018290528451808601865260018152808201929092528451608081018652838152908101839052938401829052606084019190915262000ec792602692919062000f2f565b6040805180820182526000808252600360208084018290528451808601865260018082528183018490528651608081018852600281529283019490945294810191909152606081019190915262000f22926027929162000f2f565b505050620012d3565b3390565b602860ff85161062000f875760405162461bcd60e51b815260206004820152601560248201527f496e76616c69642047656e6573697320696e6465780000000000000000000000604482015260640160405180910390fd5b600060118560ff166028811062000fae57634e487b7160e01b600052603260045260246000fd5b60070201905062000fc560048201856002620010b6565b5062000fd760058201846002620010b6565b506006810180546001810182556000918252602090912062000ffd9101836004620010b6565b50600281018054600181810183556000928352602083209091018290558183559091015550505050565b828054620010359062001280565b90600052602060002090601f016020900481019282620010595760008555620010a4565b82601f106200107457805160ff1916838001178555620010a4565b82800160010185558215620010a4579182015b82811115620010a457825182559160200191906001019062001087565b50620010b292915062001146565b5090565b600183019183908215620010a45791602002820160005b838211156200110d57835183826101000a81548160ff021916908360ff1602179055509260200192600101602081600001049283019260010302620010cd565b80156200113c5782816101000a81549060ff02191690556001016020816000010492830192600103026200110d565b5050620010b29291505b5b80821115620010b2576000815560010162001147565b600082601f8301126200116e578081fd5b81516001600160401b03808211156200118b576200118b620012bd565b604051601f8301601f19908116603f01168101908282118183101715620011b657620011b6620012bd565b81604052838152602092508683858801011115620011d2578485fd5b8491505b83821015620011f55785820183015181830184015290820190620011d6565b838211156200120657848385830101525b9695505050505050565b60008060006060848603121562001225578283fd5b83516001600160401b03808211156200123c578485fd5b6200124a878388016200115d565b945060208601519350604086015191508082111562001267578283fd5b5062001276868287016200115d565b9150509250925092565b600181811c908216806200129557607f821691505b60208210811415620012b757634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052604160045260246000fd5b61470380620012e36000396000f3fe60806040526004361061027d5760003560e01c8063715018a61161014f578063d69b0cee116100c1578063ece7fadf1161007a578063ece7fadf146107d7578063f2fde38b146107f6578063f7087e0d14610816578063f989e36414610843578063f9d935b714610867578063fca3b5aa146108be57600080fd5b8063d69b0cee14610702578063d8dbef1a14610717578063d91c98d314610738578063e4f0cd4d1461074e578063e985e9c51461076e578063ec17b20e146107b757600080fd5b8063a424a7fb11610113578063a424a7fb14610618578063b88d4fde1461066c578063c87b56dd1461068c578063cab8d2fd146106ac578063cb343416146106cc578063cd3293de146106ec57600080fd5b8063715018a6146105845780637503f0fb146105995780638da5cb5b146105c557806395d89b41146105e3578063a22cb465146105f857600080fd5b80632d07c2f1116101f3578063447400bf116101ac578063447400bf146104d15780634f6ccce7146104f157806355a47ace146105115780636352211e146105315780636bb0ae101461055157806370a082311461056457600080fd5b80632d07c2f1146104115780632d80caa5146104315780632f745c59146104515780633f623e191461047157806342842e0e1461049157806342966c68146104b157600080fd5b8063162094c411610245578063162094c41461034857806318160ddd146103685780631ad8b03b146103875780631b38a4de1461039d5780631cbe4eda146103d157806323b872dd146103f157600080fd5b806301ffc9a71461028257806306fdde03146102b7578063081812fc146102d9578063095ea7b31461031157806310da2eb914610333575b600080fd5b34801561028e57600080fd5b506102a261029d366004613cd0565b6108de565b60405190151581526020015b60405180910390f35b3480156102c357600080fd5b506102cc610909565b6040516102ae9190614245565b3480156102e557600080fd5b506102f96102f4366004613d3b565b61099b565b6040516001600160a01b0390911681526020016102ae565b34801561031d57600080fd5b5061033161032c366004613c2b565b610a35565b005b34801561033f57600080fd5b506102cc610b4b565b34801561035457600080fd5b50610331610363366004613d53565b610bd9565b34801561037457600080fd5b506008545b6040519081526020016102ae565b34801561039357600080fd5b50610379600d5481565b3480156103a957600080fd5b506103bd6103b8366004613d3b565b610d44565b6040516102ae98979695949392919061415c565b3480156103dd57600080fd5b506103316103ec366004613c7d565b610faf565b3480156103fd57600080fd5b5061033161040c366004613b3d565b6110f7565b34801561041d57600080fd5b5061037961042c366004613e0e565b611128565b34801561043d57600080fd5b5061033161044c366004613af1565b61116f565b34801561045d57600080fd5b5061037961046c366004613c2b565b6111b0565b34801561047d57600080fd5b5061037961048c366004613dd3565b611246565b34801561049d57600080fd5b506103316104ac366004613b3d565b61126a565b3480156104bd57600080fd5b506103316104cc366004613d3b565b611285565b3480156104dd57600080fd5b506103316104ec366004613d98565b611432565b3480156104fd57600080fd5b5061037961050c366004613d3b565b6118fc565b34801561051d57600080fd5b5061033161052c366004613c54565b61199d565b34801561053d57600080fd5b506102f961054c366004613d3b565b611a46565b61033161055f366004613d3b565b611abd565b34801561057057600080fd5b5061037961057f366004613af1565b611c6b565b34801561059057600080fd5b50610331611cf2565b3480156105a557600080fd5b50600e546105b39060ff1681565b60405160ff90911681526020016102ae565b3480156105d157600080fd5b50600a546001600160a01b03166102f9565b3480156105ef57600080fd5b506102cc611d66565b34801561060457600080fd5b50610331610613366004613bf1565b611d75565b34801561062457600080fd5b5061064c610633366004613d3b565b601581901c91600e82901c607f169160021c610fff1690565b6040805160ff9485168152939092166020840152908201526060016102ae565b34801561067857600080fd5b50610331610687366004613b78565b611e3a565b34801561069857600080fd5b506102cc6106a7366004613d3b565b611e72565b3480156106b857600080fd5b506103796106c7366004613d3b565b611f83565b3480156106d857600080fd5b506103316106e7366004613d08565b611fb3565b3480156106f857600080fd5b50610379600c5481565b34801561070e57600080fd5b506102cc611ff0565b34801561072357600080fd5b506105b3610732366004613d3b565b60021c90565b34801561074457600080fd5b50610379600b5481565b34801561075a57600080fd5b50610379610769366004613d3b565b611ffd565b34801561077a57600080fd5b506102a2610789366004613b0b565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b3480156107c357600080fd5b506103316107d2366004613d3b565b612039565b3480156107e357600080fd5b50600e546105b390610100900460ff1681565b34801561080257600080fd5b50610331610811366004613af1565b612068565b34801561082257600080fd5b50610836610831366004613d3b565b612153565b6040516102ae91906141f8565b34801561084f57600080fd5b5061037961085e366004613db9565b60021b60fc1690565b34801561087357600080fd5b5061089b610882366004613d3b565b600281901c603f1691601482901c9160081c610fff1690565b6040805160ff9094168452602084019290925261ffff16908201526060016102ae565b3480156108ca57600080fd5b506103316108d9366004613af1565b612791565b60006001600160e01b0319821663780e9d6360e01b14806109035750610903826127de565b92915050565b606060008054610918906145c9565b80601f0160208091040260200160405190810160405280929190818152602001828054610944906145c9565b80156109915780601f1061096657610100808354040283529160200191610991565b820191906000526020600020905b81548152906001019060200180831161097457829003601f168201915b5050505050905090565b6000818152600260205260408120546001600160a01b0316610a195760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084015b60405180910390fd5b506000908152600460205260409020546001600160a01b031690565b6000610a4082611a46565b9050806001600160a01b0316836001600160a01b03161415610aae5760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b6064820152608401610a10565b336001600160a01b0382161480610aca5750610aca8133610789565b610b3c5760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006064820152608401610a10565b610b46838361282e565b505050565b60108054610b58906145c9565b80601f0160208091040260200160405190810160405280929190818152602001828054610b84906145c9565b8015610bd15780601f10610ba657610100808354040283529160200191610bd1565b820191906000526020600020905b815481529060010190602001808311610bb457829003601f168201915b505050505081565b600a546001600160a01b03163314610c035760405162461bcd60e51b8152600401610a1090614305565b600082815261012a602052604081208054610c1d906145c9565b80601f0160208091040260200160405190810160405280929190818152602001828054610c49906145c9565b8015610c965780601f10610c6b57610100808354040283529160200191610c96565b820191906000526020600020905b815481529060010190602001808311610c7957829003601f168201915b505050505090508051600014610ce65760405162461bcd60e51b8152602060048201526015602482015274151bdad95b8815549248185b1c9958591e481cd95d605a1b6044820152606401610a10565b600083815261012a602090815260409091208351610d06928501906138b6565b50827fa109ba539900bf1b633f956d63c96fc89b814c7287f7aa50a9216d0b5565720783604051610d379190614245565b60405180910390a2505050565b606080600080600080610d5561393a565b610d5d61393a565b600060118a60288110610d8057634e487b7160e01b600052603260045260246000fd5b600702016040518060e0016040529081600082015481526020016001820154815260200160028201805480602002602001604051908101604052809291908181526020018280548015610df257602002820191906000526020600020905b815481526020019060010190808311610dde575b505050918352505060038201546020820152604080518082018083529190920191906004840190600290826000855b825461010083900a900460ff16815260206001928301818104948501949093039092029101808411610e21575050509284525050604080518082019182905260209093019291506005840190600290826000855b825461010083900a900460ff16815260206001928301818104948501949093039092029101808411610e755790505050505050815260200160068201805480602002602001604051908101604052809291908181526020016000905b82821015610f3d576000848152602081206040805160808101918290529291850191600491908390855b825461010083900a900460ff16815260206001928301818104948501949093039092029101808411610efb579050505050505081526020019060010190610ed1565b50505091525050606081015160c082015160408301516020840151919c509a50985096509050610f716107698860016143a2565b94506000816020015111610f86576000610f93565b610f938160200151611f83565b93508060a0015192508060800151915050919395975091939597565b610129546001600160a01b03163314610ffb5760405162461bcd60e51b815260206004820152600e60248201526d2737ba103a34329036b4b73a32b960911b6044820152606401610a10565b60048360ff161061103e5760405162461bcd60e51b815260206004820152600d60248201526c24b73b30b634b2103630bcb2b960991b6044820152606401610a10565b60648260ff161061108a5760405162461bcd60e51b815260206004820152601660248201527524b73b30b634b2103b30b934b0b73a10373ab6b132b960511b6044820152606401610a10565b61100061ffff8216106110d75760405162461bcd60e51b8152602060048201526015602482015274092dcecc2d8d2c8409aeae8c2cecadc40d2dcc8caf605b1b6044820152606401610a10565b60006110e4848484611128565b90506110f0858261289c565b5050505050565b61110133826128b6565b61111d5760405162461bcd60e51b8152600401610a109061433a565b610b468383836129ad565b600060026203fffc83821b16611151623fc000600e87901b16631fe00000601589901b166143a2565b61115b91906143a2565b61116591906143a2565b90505b9392505050565b600a546001600160a01b031633146111995760405162461bcd60e51b8152600401610a1090614305565b600d805460009091556111ac8183612b58565b5050565b60006111bb83611c6b565b821061121d5760405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201526a74206f6620626f756e647360a81b6064820152608401610a10565b506001600160a01b03919091166000908152600660209081526040808320938352929052205490565b600060016103fc600286901b1661115162ffff00600886901b16601487901b6143a2565b610b4683838360405180602001604052806000815250611e3a565b8061128f81611a46565b6001600160a01b0316336001600160a01b0316146112bf5760405162461bcd60e51b8152600401610a10906142aa565b8160016003821681146112e45760405162461bcd60e51b8152600401610a10906142d7565b600284901c603f16600885901c610fff1660006011836028811061131857634e487b7160e01b600052603260045260246000fd5b600702019050600061132d8260010154611f83565b905060018260010160008282546113449190614563565b925050819055506001826002018461ffff168154811061137457634e487b7160e01b600052603260045260246000fd5b90600052602060002001600082825461138d9190614563565b9250508190555080600c60008282546113a69190614563565b909155506113b5905088612c3e565b6113bf8133612b58565b7f7a2caa640d0819cc5f006c5447e2bd1a8722150effeb7b6135a3ab2112cea6363385856113f08660010154611f83565b604080516001600160a01b03909516855260ff909316602085015261ffff90911691830191909152606082015260800160405180910390a15050505050505050565b8161143c81611a46565b6001600160a01b0316336001600160a01b03161461146c5760405162461bcd60e51b8152600401610a10906142aa565b82600060038216156114905760405162461bcd60e51b8152600401610a10906142d7565b8361149a81611a46565b6001600160a01b0316336001600160a01b0316146114ca5760405162461bcd60e51b8152600401610a10906142aa565b8460026003821681146114ef5760405162461bcd60e51b8152600401610a10906142d7565b600b5443101561153b5760405162461bcd60e51b815260206004820152601760248201527610dbdb9d1c9858dd081b9bdd081858dd1a5d99481e595d604a1b6044820152606401610a10565b60006115478960021c90565b9050600060118260ff166028811061156f57634e487b7160e01b600052603260045260246000fd5b60070201905061157e89612c3e565b6006810180546000919061159490600190614563565b815481106115b257634e487b7160e01b600052603260045260246000fd5b6000918252602082206040805160808101918290529391909201916004918390855b825461010083900a900460ff168152602060019283018181049485019490930390920291018084116115d4579050505050505090506000806116298c601581901c91600e82901c607f169160021c610fff1690565b506005860154919350915060ff8084169116148015906116535750600484015460ff838116911614155b1561169857611663600482614653565b838360ff166004811061168657634e487b7160e01b600052603260045260246000fd5b60ff909216602092909202015261185c565b600484015460ff83811691161480156116ba5750600e54610100900460ff1615155b80156116c95750600260ff8216105b156117475760048481015460ff6101009091048116918591851690811061170057634e487b7160e01b600052603260045260246000fd5b60ff9283166020919091029190910152600e8054600192839161172a91839161010090041661457a565b92506101000a81548160ff021916908360ff16021790555061185c565b600584015460ff83811691161480156117645750600e5460ff1615155b80156117735750600260ff8216105b156117d057600584015460ff61010090910481169084908416600481106117aa57634e487b7160e01b600052603260045260246000fd5b60ff9283166020919091029190910152600e805460019260009161172a9185911661457a565b600484015460009060ff8481169116146117eb5760006117ee565b60015b600586015460ff858116911614611806576000611809565b60015b61181490600461457a565b61181e919061457a565b905061182a8183614653565b848460ff166004811061184d57634e487b7160e01b600052603260045260246000fd5b60ff9092166020929092020152505b6006840180546001810182556000918252602090912061187f9101846004613958565b506002840180546001810182556000918252602082200155600384015480156118b357600060038601556118b38133612b58565b7f73475f7d0ed4d56a45d4b50a0b6c5c63f7f8ccb51178dcf523a78570ab51cf6486856040516118e492919061438b565b60405180910390a15050505050505050505050505050565b600061190760085490565b821061196a5760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201526b7574206f6620626f756e647360a01b6064820152608401610a10565b6008828154811061198b57634e487b7160e01b600052603260045260246000fd5b90600052602060002001549050919050565b610129546001600160a01b031633146119e95760405162461bcd60e51b815260206004820152600e60248201526d2737ba103a34329036b4b73a32b960911b6044820152606401610a10565b602860ff821610611a345760405162461bcd60e51b8152602060048201526015602482015274092dcecc2d8d2c8408ecadccae6d2e640d2dcc8caf605b1b6044820152606401610a10565b60fc600282901b16610b46838261289c565b6000818152600260205260408120546001600160a01b0316806109035760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b6064820152608401610a10565b8060006003821615611ae15760405162461bcd60e51b8152600401610a10906142d7565b600b54431015611b2d5760405162461bcd60e51b815260206004820152601760248201527610dbdb9d1c9858dd081b9bdd081858dd1a5d99481e595d604a1b6044820152606401610a10565b6000611b398460021c90565b9050600060118260ff1660288110611b6157634e487b7160e01b600052603260045260246000fd5b600702019050600060018260060180549050611b7d9190614540565b90506000611b9084846000015484611246565b90506000611ba08560ff16612ce5565b90506001846000016000828254611bb791906143a2565b925050819055506001846002018461ffff1681548110611be757634e487b7160e01b600052603260045260246000fd5b906000526020600020016000828254611c0091906143a2565b909155505060018481018054600090611c1a9084906143a2565b90915550611c2a9050338361289c565b611c3381612e4b565b7f7fdef4916b99ac718fbe3c9c9b5113b6eecacdd79dc0c370a61912e860bc256e3386856113f08860010154600161076991906143a2565b60006001600160a01b038216611cd65760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b6064820152608401610a10565b506001600160a01b031660009081526003602052604090205490565b600a546001600160a01b03163314611d1c5760405162461bcd60e51b8152600401610a1090614305565b600a546040516000916001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600a80546001600160a01b0319169055565b606060018054610918906145c9565b6001600160a01b038216331415611dce5760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610a10565b3360008181526005602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b611e4433836128b6565b611e605760405162461bcd60e51b8152600401610a109061433a565b611e6c84848484612e69565b50505050565b6000818152600260205260409020546060906001600160a01b0316611ed05760405162461bcd60e51b8152602060048201526014602482015273151bdad95b88191bd95cc81b9bdd08195e1a5cdd60621b6044820152606401610a10565b600082815261012a602052604081208054611eea906145c9565b80601f0160208091040260200160405190810160405280929190818152602001828054611f16906145c9565b8015611f635780601f10611f3857610100808354040283529160200191611f63565b820191906000526020600020905b815481529060010190602001808311611f4657829003601f168201915b50505050509050600081511115611f7a5792915050565b61116883612e9c565b6000808211611f93576000610903565b600a611f9e83611ffd565b611fa9906009614500565b61090391906143df565b600a546001600160a01b03163314611fdd5760405162461bcd60e51b8152600401610a1090614305565b80516111ac9060109060208401906138b6565b600f8054610b58906145c9565b60006702c68af0bb1400006404a817c800600461201b600186614563565b6120259190614458565b61202f9190614500565b61090391906143a2565b600a546001600160a01b031633146120635760405162461bcd60e51b8152600401610a1090614305565b600b55565b600a546001600160a01b031633146120925760405162461bcd60e51b8152600401610a1090614305565b6001600160a01b0381166120f75760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610a10565b600a546040516001600160a01b038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3600a80546001600160a01b0319166001600160a01b0392909216919091179055565b61215b6139e6565b60038216600214156121a457600282901c610fff16600f61217b82612f76565b60405160200161218c929190613fc0565b60408051808303601f19018152919052825250919050565b600382166124a35760006121b88360021c90565b60ff1690506000601182602881106121e057634e487b7160e01b600052603260045260246000fd5b600702016040518060e001604052908160008201548152602001600182015481526020016002820180548060200260200160405190810160405280929190818152602001828054801561225257602002820191906000526020600020905b81548152602001906001019080831161223e575b505050918352505060038201546020820152604080518082018083529190920191906004840190600290826000855b825461010083900a900460ff16815260206001928301818104948501949093039092029101808411612281575050509284525050604080518082019182905260209093019291506005840190600290826000855b825461010083900a900460ff168152602060019283018181049485019490930390920291018084116122d55790505050505050815260200160068201805480602002602001604051908101604052809291908181526020016000905b8282101561239d576000848152602081206040805160808101918290529291850191600491908390855b825461010083900a900460ff1681526020600192830181810494850194909303909202910180841161235b579050505050505081526020019060010190612331565b5050509152505060c081015180519192506000916123bd90600190614563565b815181106123db57634e487b7160e01b600052603260045260246000fd5b6020026020010151905060005b60048160ff16101561249a57600f6123ff85612f76565b61240b8360ff16612f76565b61243e858560ff166004811061243157634e487b7160e01b600052603260045260246000fd5b602002015160ff16612f76565b604051602001612451949392919061400b565b604051602081830303815290604052858260ff166004811061248357634e487b7160e01b600052603260045260246000fd5b6020020152806124928161461f565b9150506123e8565b50505050919050565b600382166001141561278c57600282901c603f16600883901c610fff166000601183602881106124e357634e487b7160e01b600052603260045260246000fd5b600702016040518060e001604052908160008201548152602001600182015481526020016002820180548060200260200160405190810160405280929190818152602001828054801561255557602002820191906000526020600020905b815481526020019060010190808311612541575b505050918352505060038201546020820152604080518082018083529190920191906004840190600290826000855b825461010083900a900460ff16815260206001928301818104948501949093039092029101808411612584575050509284525050604080518082019182905260209093019291506005840190600290826000855b825461010083900a900460ff168152602060019283018181049485019490930390920291018084116125d85790505050505050815260200160068201805480602002602001604051908101604052809291908181526020016000905b828210156126a0576000848152602081206040805160808101918290529291850191600491908390855b825461010083900a900460ff1681526020600192830181810494850194909303909202910180841161265e579050505050505081526020019060010190612634565b5050505081525050905060008160c001518361ffff16815181106126d457634e487b7160e01b600052603260045260246000fd5b6020026020010151905060005b60048160ff16101561278657600f6126f886612f76565b6127048360ff16612f76565b61272a858560ff166004811061243157634e487b7160e01b600052603260045260246000fd5b60405160200161273d949392919061400b565b604051602081830303815290604052868260ff166004811061276f57634e487b7160e01b600052603260045260246000fd5b60200201528061277e8161461f565b9150506126e1565b50505050505b919050565b600a546001600160a01b031633146127bb5760405162461bcd60e51b8152600401610a1090614305565b61012980546001600160a01b0319166001600160a01b0392909216919091179055565b60006001600160e01b031982166380ac58cd60e01b148061280f57506001600160e01b03198216635b5e139f60e01b145b8061090357506301ffc9a760e01b6001600160e01b0319831614610903565b600081815260046020526040902080546001600160a01b0319166001600160a01b038416908117909155819061286382611a46565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6111ac8282604051806020016040528060008152506130bb565b6000818152600260205260408120546001600160a01b031661292f5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b6064820152608401610a10565b600061293a83611a46565b9050806001600160a01b0316846001600160a01b031614806129755750836001600160a01b031661296a8461099b565b6001600160a01b0316145b806129a557506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b949350505050565b826001600160a01b03166129c082611a46565b6001600160a01b031614612a285760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201526839903737ba1037bbb760b91b6064820152608401610a10565b6001600160a01b038216612a8a5760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b6064820152608401610a10565b612a958383836130ee565b612aa060008261282e565b6001600160a01b0383166000908152600360205260408120805460019290612ac9908490614563565b90915550506001600160a01b0382166000908152600360205260408120805460019290612af79084906143a2565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b600c54612b658347614563565b1015612baa5760405162461bcd60e51b815260206004820152601460248201527343616e6e6f742073656e6420726573657276657360601b6044820152606401610a10565b6000816001600160a01b03168360405160006040518083038185875af1925050503d8060008114612bf7576040519150601f19603f3d011682016040523d82523d6000602084013e612bfc565b606091505b5050905080610b465760405162461bcd60e51b815260206004820152600e60248201526d14185e5b595b9d0819985a5b195960921b6044820152606401610a10565b6000612c4982611a46565b9050612c57816000846130ee565b612c6260008361282e565b6001600160a01b0381166000908152600360205260408120805460019290612c8b908490614563565b909155505060008281526002602052604080822080546001600160a01b0319169055518391906001600160a01b038416907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a45050565b60008060118360288110612d0957634e487b7160e01b600052603260045260246000fd5b6007020190506000612d258260010154600161076991906143a2565b905080341015612d6c5760405162461bcd60e51b8152602060048201526012602482015271496e73756666696369656e742076616c756560701b6044820152606401610a10565b6000612d82836001015460016106c791906143a2565b905060006002612d928385614563565b612d9c91906143df565b90508281612daa81856143a2565b612db491906143a2565b14612df65760405162461bcd60e51b815260206004820152601260248201527104665657320646f206e6f74206164642075760741b6044820152606401610a10565b81600c6000828254612e0891906143a2565b9250508190555080846003016000828254612e2391906143a2565b9250508190555080600d6000828254612e3c91906143a2565b90915550929695505050505050565b80341115612e6657612e66612e608234614563565b33612b58565b50565b612e748484846129ad565b612e80848484846131a6565b611e6c5760405162461bcd60e51b8152600401610a1090614258565b6000818152600260205260409020546060906001600160a01b0316612f1b5760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b6064820152608401610a10565b6000612f256132b3565b90506000815111612f455760405180602001604052806000815250611168565b80612f4f846132e4565b604051602001612f60929190613f91565b6040516020818303038152906040529392505050565b606081612f9a5750506040805180820190915260018152600360fc1b602082015290565b8160005b8115612fc45780612fae81614604565b9150612fbd9050600a836143df565b9150612f9e565b60008167ffffffffffffffff811115612fed57634e487b7160e01b600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015613017576020820181803683370190505b509050815b85156130b25761302d600182614563565b9050600061303c600a886143df565b61304790600a614500565b6130519088614563565b61305c9060306143ba565b905060008160f81b90508084848151811061308757634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a9053506130a9600a896143df565b9750505061301c565b50949350505050565b6130c583836133fe565b6130d260008484846131a6565b610b465760405162461bcd60e51b8152600401610a1090614258565b6001600160a01b0383166131495761314481600880546000838152600960205260408120829055600182018355919091527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee30155565b61316c565b816001600160a01b0316836001600160a01b03161461316c5761316c838261354c565b6001600160a01b03821661318357610b46816135e9565b826001600160a01b0316826001600160a01b031614610b4657610b4682826136c2565b60006001600160a01b0384163b156132a857604051630a85bd0160e11b81526001600160a01b0385169063150b7a02906131ea90339089908890889060040161411f565b602060405180830381600087803b15801561320457600080fd5b505af1925050508015613234575060408051601f3d908101601f1916820190925261323191810190613cec565b60015b61328e573d808015613262576040519150601f19603f3d011682016040523d82523d6000602084013e613267565b606091505b5080516132865760405162461bcd60e51b8152600401610a1090614258565b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490506129a5565b506001949350505050565b606060106132bf613706565b6040516020016132d092919061409d565b604051602081830303815290604052905090565b6060816133085750506040805180820190915260018152600360fc1b602082015290565b8160005b8115613332578061331c81614604565b915061332b9050600a836143df565b915061330c565b60008167ffffffffffffffff81111561335b57634e487b7160e01b600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015613385576020820181803683370190505b5090505b84156129a55761339a600183614563565b91506133a7600a8661463f565b6133b29060306143a2565b60f81b8183815181106133d557634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a9053506133f7600a866143df565b9450613389565b6001600160a01b0382166134545760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401610a10565b6000818152600260205260409020546001600160a01b0316156134b95760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610a10565b6134c5600083836130ee565b6001600160a01b03821660009081526003602052604081208054600192906134ee9084906143a2565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b6000600161355984611c6b565b6135639190614563565b6000838152600760205260409020549091508082146135b6576001600160a01b03841660009081526006602090815260408083208584528252808320548484528184208190558352600790915290208190555b5060009182526007602090815260408084208490556001600160a01b039094168352600681528383209183525290812055565b6008546000906135fb90600190614563565b6000838152600960205260408120546008805493945090928490811061363157634e487b7160e01b600052603260045260246000fd5b90600052602060002001549050806008838154811061366057634e487b7160e01b600052603260045260246000fd5b60009182526020808320909101929092558281526009909152604080822084905585825281205560088054806136a657634e487b7160e01b600052603160045260246000fd5b6001900381819060005260206000200160009055905550505050565b60006136cd83611c6b565b6001600160a01b039093166000908152600660209081526040808320868452825280832085905593825260079052919091209190915550565b60408051602880825260608281019093526000919060208201818036833701905050905060005b6014811015613859576000613743826013614563565b61374e906008614500565b613759906002614458565b61376390306143df565b60f81b9050600060108260f81c61377a91906143f3565b60f81b905060008160f81c6010613791919061451f565b8360f81c61379f919061457a565b60f81b90506137ad82613880565b856137b9866002614500565b815181106137d757634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a9053506137f781613880565b85613803866002614500565b61380e9060016143a2565b8151811061382c57634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a905350505050808061385190614604565b91505061372d565b508060405160200161386b91906140f5565b60405160208183030381529060405291505090565b6000600a60f883901c10156138a75761389e60f883901c60306143ba565b60f81b92915050565b61389e60f883901c60576143ba565b8280546138c2906145c9565b90600052602060002090601f0160209004810192826138e4576000855561392a565b82601f106138fd57805160ff191683800117855561392a565b8280016001018555821561392a579182015b8281111561392a57825182559160200191906001019061390f565b50613936929150613a0d565b5090565b60405180604001604052806002906020820280368337509192915050565b60018301918390821561392a5791602002820160005b838211156139ac57835183826101000a81548160ff021916908360ff160217905550926020019260010160208160000104928301926001030261396e565b80156139d95782816101000a81549060ff02191690556001016020816000010492830192600103026139ac565b5050613936929150613a0d565b60405180608001604052806004905b60608152602001906001900390816139f55790505090565b5b808211156139365760008155600101613a0e565b600067ffffffffffffffff80841115613a3d57613a3d6146a1565b604051601f8501601f19908116603f01168101908282118183101715613a6557613a656146a1565b81604052809350858152868686011115613a7e57600080fd5b858560208301376000602087830101525050509392505050565b80356001600160a01b038116811461278c57600080fd5b600082601f830112613abf578081fd5b61116883833560208501613a22565b803561ffff8116811461278c57600080fd5b803560ff8116811461278c57600080fd5b600060208284031215613b02578081fd5b61116882613a98565b60008060408385031215613b1d578081fd5b613b2683613a98565b9150613b3460208401613a98565b90509250929050565b600080600060608486031215613b51578081fd5b613b5a84613a98565b9250613b6860208501613a98565b9150604084013590509250925092565b60008060008060808587031215613b8d578081fd5b613b9685613a98565b9350613ba460208601613a98565b925060408501359150606085013567ffffffffffffffff811115613bc6578182fd5b8501601f81018713613bd6578182fd5b613be587823560208401613a22565b91505092959194509250565b60008060408385031215613c03578182fd5b613c0c83613a98565b915060208301358015158114613c20578182fd5b809150509250929050565b60008060408385031215613c3d578182fd5b613c4683613a98565b946020939093013593505050565b60008060408385031215613c66578182fd5b613c6f83613a98565b9150613b3460208401613ae0565b60008060008060808587031215613c92578384fd5b613c9b85613a98565b9350613ca960208601613ae0565b9250613cb760408601613ae0565b9150613cc560608601613ace565b905092959194509250565b600060208284031215613ce1578081fd5b8135611168816146b7565b600060208284031215613cfd578081fd5b8151611168816146b7565b600060208284031215613d19578081fd5b813567ffffffffffffffff811115613d2f578182fd5b6129a584828501613aaf565b600060208284031215613d4c578081fd5b5035919050565b60008060408385031215613d65578182fd5b82359150602083013567ffffffffffffffff811115613d82578182fd5b613d8e85828601613aaf565b9150509250929050565b60008060408385031215613daa578182fd5b50508035926020909101359150565b600060208284031215613dca578081fd5b61116882613ae0565b600080600060608486031215613de7578081fd5b613df084613ae0565b925060208401359150613e0560408501613ace565b90509250925092565b600080600060608486031215613e22578081fd5b613e2b84613ae0565b9250613e3960208501613ae0565b9150613e0560408501613ace565b6000815180845260208085019450808401835b83811015613e7657815187529582019590820190600101613e5a565b509495945050505050565b8060005b6002811015611e6c57815160ff16845260209384019390910190600101613e85565b8060005b6004811015611e6c57815160ff16845260209384019390910190600101613eab565b60008151808452613ee581602086016020860161459d565b601f01601f19169290920160200192915050565b8054600090600181811c9080831680613f1357607f831692505b6020808410821415613f3357634e487b7160e01b86526022600452602486fd5b818015613f475760018114613f5857613f85565b60ff19861689528489019650613f85565b60008881526020902060005b86811015613f7d5781548b820152908501908301613f64565b505084890196505b50505050505092915050565b60008351613fa381846020880161459d565b835190830190613fb781836020880161459d565b01949350505050565b6000613fcc8285613ef9565b682f6d75746167656e2f60b81b81528351613fee81600984016020880161459d565b632e73766760e01b60099290910191820152600d01949350505050565b60006140178287613ef9565b682f67656e657369732f60b81b81528551614039816009840160208a0161459d565b610bdb60f21b60099290910191820152845161405c81600b84016020890161459d565b603b60f91b600b9290910191820152835161407e81600c84016020880161459d565b632e706e6760e01b600c92909101918201526010019695505050505050565b60006140a98285613ef9565b703f636f6e7472616374416464726573733d60781b815283516140d381601184016020880161459d565b6826746f6b656e49643d60b81b60119290910191820152601a01949350505050565b61060f60f31b81526000825161411281600285016020870161459d565b9190910160020192915050565b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061415290830184613ecd565b9695505050505050565b6101408082528951908201819052600090610160830190602090818d01845b828110156141a15761418e858351613ea7565b608094909401939083019060010161417b565b505050838203908401526141b5818b613e47565b9150508760408301528660608301528560808301528460a08301526141dd60c0830185613e81565b6141eb610100830184613e81565b9998505050505050505050565b602080825260009060a0830183820185845b600481101561423957601f19878503018352614227848351613ecd565b9350918401919084019060010161420a565b50919695505050505050565b6020815260006111686020830184613ecd565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b6020808252601390820152722737ba103a3432903a37b5b2b71037bbb732b960691b604082015260600190565b602080825260149082015273496e636f727265637420746f6b656e207479706560601b604082015260600190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b60ff8316815260a081016111686020830184613ea7565b600082198211156143b5576143b5614675565b500190565b600060ff821660ff84168060ff038211156143d7576143d7614675565b019392505050565b6000826143ee576143ee61468b565b500490565b600060ff8316806144065761440661468b565b8060ff84160491505092915050565b600181815b8085111561445057816000190482111561443657614436614675565b8085161561444357918102915b93841c939080029061441a565b509250929050565b6000611168838360008261446e57506001610903565b8161447b57506000610903565b8160018114614491576002811461449b576144b7565b6001915050610903565b60ff8411156144ac576144ac614675565b50506001821b610903565b5060208310610133831016604e8410600b84101617156144da575081810a610903565b6144e48383614415565b80600019048211156144f8576144f8614675565b029392505050565b600081600019048311821515161561451a5761451a614675565b500290565b600060ff821660ff84168160ff04811182151516156144f8576144f8614675565b600061ffff8381169083168181101561455b5761455b614675565b039392505050565b60008282101561457557614575614675565b500390565b600060ff821660ff84168082101561459457614594614675565b90039392505050565b60005b838110156145b85781810151838201526020016145a0565b83811115611e6c5750506000910152565b600181811c908216806145dd57607f821691505b602082108114156145fe57634e487b7160e01b600052602260045260246000fd5b50919050565b600060001982141561461857614618614675565b5060010190565b600060ff821660ff81141561463657614636614675565b60010192915050565b60008261464e5761464e61468b565b500690565b600060ff8316806146665761466661468b565b8060ff84160691505092915050565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b031981168114612e6657600080fdfea26469706673582212207bb0f18c701ab4d4a0501181ebb261eeed654462af46da8f52a92f28bb6dc4fa64736f6c6343000804003300000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000c572e000000000000000000000000000000000000000000000000000000000000000c00000000000000000000000000000000000000000000000000000000000000035697066733a2f2f516d56714b354747774250443264443147386658516d5370613372427a3252597a67634a64556472657575426d630000000000000000000000000000000000000000000000000000000000000000000000000000000000004e68747470733a2f2f6575726f70652d77657374332d7475726e6b65792d747269756d70682d3332303630352e636c6f756466756e6374696f6e732e6e65742f6d75746167656e4d65746164617461000000000000000000000000000000000000

Deployed Bytecode

0x60806040526004361061027d5760003560e01c8063715018a61161014f578063d69b0cee116100c1578063ece7fadf1161007a578063ece7fadf146107d7578063f2fde38b146107f6578063f7087e0d14610816578063f989e36414610843578063f9d935b714610867578063fca3b5aa146108be57600080fd5b8063d69b0cee14610702578063d8dbef1a14610717578063d91c98d314610738578063e4f0cd4d1461074e578063e985e9c51461076e578063ec17b20e146107b757600080fd5b8063a424a7fb11610113578063a424a7fb14610618578063b88d4fde1461066c578063c87b56dd1461068c578063cab8d2fd146106ac578063cb343416146106cc578063cd3293de146106ec57600080fd5b8063715018a6146105845780637503f0fb146105995780638da5cb5b146105c557806395d89b41146105e3578063a22cb465146105f857600080fd5b80632d07c2f1116101f3578063447400bf116101ac578063447400bf146104d15780634f6ccce7146104f157806355a47ace146105115780636352211e146105315780636bb0ae101461055157806370a082311461056457600080fd5b80632d07c2f1146104115780632d80caa5146104315780632f745c59146104515780633f623e191461047157806342842e0e1461049157806342966c68146104b157600080fd5b8063162094c411610245578063162094c41461034857806318160ddd146103685780631ad8b03b146103875780631b38a4de1461039d5780631cbe4eda146103d157806323b872dd146103f157600080fd5b806301ffc9a71461028257806306fdde03146102b7578063081812fc146102d9578063095ea7b31461031157806310da2eb914610333575b600080fd5b34801561028e57600080fd5b506102a261029d366004613cd0565b6108de565b60405190151581526020015b60405180910390f35b3480156102c357600080fd5b506102cc610909565b6040516102ae9190614245565b3480156102e557600080fd5b506102f96102f4366004613d3b565b61099b565b6040516001600160a01b0390911681526020016102ae565b34801561031d57600080fd5b5061033161032c366004613c2b565b610a35565b005b34801561033f57600080fd5b506102cc610b4b565b34801561035457600080fd5b50610331610363366004613d53565b610bd9565b34801561037457600080fd5b506008545b6040519081526020016102ae565b34801561039357600080fd5b50610379600d5481565b3480156103a957600080fd5b506103bd6103b8366004613d3b565b610d44565b6040516102ae98979695949392919061415c565b3480156103dd57600080fd5b506103316103ec366004613c7d565b610faf565b3480156103fd57600080fd5b5061033161040c366004613b3d565b6110f7565b34801561041d57600080fd5b5061037961042c366004613e0e565b611128565b34801561043d57600080fd5b5061033161044c366004613af1565b61116f565b34801561045d57600080fd5b5061037961046c366004613c2b565b6111b0565b34801561047d57600080fd5b5061037961048c366004613dd3565b611246565b34801561049d57600080fd5b506103316104ac366004613b3d565b61126a565b3480156104bd57600080fd5b506103316104cc366004613d3b565b611285565b3480156104dd57600080fd5b506103316104ec366004613d98565b611432565b3480156104fd57600080fd5b5061037961050c366004613d3b565b6118fc565b34801561051d57600080fd5b5061033161052c366004613c54565b61199d565b34801561053d57600080fd5b506102f961054c366004613d3b565b611a46565b61033161055f366004613d3b565b611abd565b34801561057057600080fd5b5061037961057f366004613af1565b611c6b565b34801561059057600080fd5b50610331611cf2565b3480156105a557600080fd5b50600e546105b39060ff1681565b60405160ff90911681526020016102ae565b3480156105d157600080fd5b50600a546001600160a01b03166102f9565b3480156105ef57600080fd5b506102cc611d66565b34801561060457600080fd5b50610331610613366004613bf1565b611d75565b34801561062457600080fd5b5061064c610633366004613d3b565b601581901c91600e82901c607f169160021c610fff1690565b6040805160ff9485168152939092166020840152908201526060016102ae565b34801561067857600080fd5b50610331610687366004613b78565b611e3a565b34801561069857600080fd5b506102cc6106a7366004613d3b565b611e72565b3480156106b857600080fd5b506103796106c7366004613d3b565b611f83565b3480156106d857600080fd5b506103316106e7366004613d08565b611fb3565b3480156106f857600080fd5b50610379600c5481565b34801561070e57600080fd5b506102cc611ff0565b34801561072357600080fd5b506105b3610732366004613d3b565b60021c90565b34801561074457600080fd5b50610379600b5481565b34801561075a57600080fd5b50610379610769366004613d3b565b611ffd565b34801561077a57600080fd5b506102a2610789366004613b0b565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b3480156107c357600080fd5b506103316107d2366004613d3b565b612039565b3480156107e357600080fd5b50600e546105b390610100900460ff1681565b34801561080257600080fd5b50610331610811366004613af1565b612068565b34801561082257600080fd5b50610836610831366004613d3b565b612153565b6040516102ae91906141f8565b34801561084f57600080fd5b5061037961085e366004613db9565b60021b60fc1690565b34801561087357600080fd5b5061089b610882366004613d3b565b600281901c603f1691601482901c9160081c610fff1690565b6040805160ff9094168452602084019290925261ffff16908201526060016102ae565b3480156108ca57600080fd5b506103316108d9366004613af1565b612791565b60006001600160e01b0319821663780e9d6360e01b14806109035750610903826127de565b92915050565b606060008054610918906145c9565b80601f0160208091040260200160405190810160405280929190818152602001828054610944906145c9565b80156109915780601f1061096657610100808354040283529160200191610991565b820191906000526020600020905b81548152906001019060200180831161097457829003601f168201915b5050505050905090565b6000818152600260205260408120546001600160a01b0316610a195760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084015b60405180910390fd5b506000908152600460205260409020546001600160a01b031690565b6000610a4082611a46565b9050806001600160a01b0316836001600160a01b03161415610aae5760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b6064820152608401610a10565b336001600160a01b0382161480610aca5750610aca8133610789565b610b3c5760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006064820152608401610a10565b610b46838361282e565b505050565b60108054610b58906145c9565b80601f0160208091040260200160405190810160405280929190818152602001828054610b84906145c9565b8015610bd15780601f10610ba657610100808354040283529160200191610bd1565b820191906000526020600020905b815481529060010190602001808311610bb457829003601f168201915b505050505081565b600a546001600160a01b03163314610c035760405162461bcd60e51b8152600401610a1090614305565b600082815261012a602052604081208054610c1d906145c9565b80601f0160208091040260200160405190810160405280929190818152602001828054610c49906145c9565b8015610c965780601f10610c6b57610100808354040283529160200191610c96565b820191906000526020600020905b815481529060010190602001808311610c7957829003601f168201915b505050505090508051600014610ce65760405162461bcd60e51b8152602060048201526015602482015274151bdad95b8815549248185b1c9958591e481cd95d605a1b6044820152606401610a10565b600083815261012a602090815260409091208351610d06928501906138b6565b50827fa109ba539900bf1b633f956d63c96fc89b814c7287f7aa50a9216d0b5565720783604051610d379190614245565b60405180910390a2505050565b606080600080600080610d5561393a565b610d5d61393a565b600060118a60288110610d8057634e487b7160e01b600052603260045260246000fd5b600702016040518060e0016040529081600082015481526020016001820154815260200160028201805480602002602001604051908101604052809291908181526020018280548015610df257602002820191906000526020600020905b815481526020019060010190808311610dde575b505050918352505060038201546020820152604080518082018083529190920191906004840190600290826000855b825461010083900a900460ff16815260206001928301818104948501949093039092029101808411610e21575050509284525050604080518082019182905260209093019291506005840190600290826000855b825461010083900a900460ff16815260206001928301818104948501949093039092029101808411610e755790505050505050815260200160068201805480602002602001604051908101604052809291908181526020016000905b82821015610f3d576000848152602081206040805160808101918290529291850191600491908390855b825461010083900a900460ff16815260206001928301818104948501949093039092029101808411610efb579050505050505081526020019060010190610ed1565b50505091525050606081015160c082015160408301516020840151919c509a50985096509050610f716107698860016143a2565b94506000816020015111610f86576000610f93565b610f938160200151611f83565b93508060a0015192508060800151915050919395975091939597565b610129546001600160a01b03163314610ffb5760405162461bcd60e51b815260206004820152600e60248201526d2737ba103a34329036b4b73a32b960911b6044820152606401610a10565b60048360ff161061103e5760405162461bcd60e51b815260206004820152600d60248201526c24b73b30b634b2103630bcb2b960991b6044820152606401610a10565b60648260ff161061108a5760405162461bcd60e51b815260206004820152601660248201527524b73b30b634b2103b30b934b0b73a10373ab6b132b960511b6044820152606401610a10565b61100061ffff8216106110d75760405162461bcd60e51b8152602060048201526015602482015274092dcecc2d8d2c8409aeae8c2cecadc40d2dcc8caf605b1b6044820152606401610a10565b60006110e4848484611128565b90506110f0858261289c565b5050505050565b61110133826128b6565b61111d5760405162461bcd60e51b8152600401610a109061433a565b610b468383836129ad565b600060026203fffc83821b16611151623fc000600e87901b16631fe00000601589901b166143a2565b61115b91906143a2565b61116591906143a2565b90505b9392505050565b600a546001600160a01b031633146111995760405162461bcd60e51b8152600401610a1090614305565b600d805460009091556111ac8183612b58565b5050565b60006111bb83611c6b565b821061121d5760405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201526a74206f6620626f756e647360a81b6064820152608401610a10565b506001600160a01b03919091166000908152600660209081526040808320938352929052205490565b600060016103fc600286901b1661115162ffff00600886901b16601487901b6143a2565b610b4683838360405180602001604052806000815250611e3a565b8061128f81611a46565b6001600160a01b0316336001600160a01b0316146112bf5760405162461bcd60e51b8152600401610a10906142aa565b8160016003821681146112e45760405162461bcd60e51b8152600401610a10906142d7565b600284901c603f16600885901c610fff1660006011836028811061131857634e487b7160e01b600052603260045260246000fd5b600702019050600061132d8260010154611f83565b905060018260010160008282546113449190614563565b925050819055506001826002018461ffff168154811061137457634e487b7160e01b600052603260045260246000fd5b90600052602060002001600082825461138d9190614563565b9250508190555080600c60008282546113a69190614563565b909155506113b5905088612c3e565b6113bf8133612b58565b7f7a2caa640d0819cc5f006c5447e2bd1a8722150effeb7b6135a3ab2112cea6363385856113f08660010154611f83565b604080516001600160a01b03909516855260ff909316602085015261ffff90911691830191909152606082015260800160405180910390a15050505050505050565b8161143c81611a46565b6001600160a01b0316336001600160a01b03161461146c5760405162461bcd60e51b8152600401610a10906142aa565b82600060038216156114905760405162461bcd60e51b8152600401610a10906142d7565b8361149a81611a46565b6001600160a01b0316336001600160a01b0316146114ca5760405162461bcd60e51b8152600401610a10906142aa565b8460026003821681146114ef5760405162461bcd60e51b8152600401610a10906142d7565b600b5443101561153b5760405162461bcd60e51b815260206004820152601760248201527610dbdb9d1c9858dd081b9bdd081858dd1a5d99481e595d604a1b6044820152606401610a10565b60006115478960021c90565b9050600060118260ff166028811061156f57634e487b7160e01b600052603260045260246000fd5b60070201905061157e89612c3e565b6006810180546000919061159490600190614563565b815481106115b257634e487b7160e01b600052603260045260246000fd5b6000918252602082206040805160808101918290529391909201916004918390855b825461010083900a900460ff168152602060019283018181049485019490930390920291018084116115d4579050505050505090506000806116298c601581901c91600e82901c607f169160021c610fff1690565b506005860154919350915060ff8084169116148015906116535750600484015460ff838116911614155b1561169857611663600482614653565b838360ff166004811061168657634e487b7160e01b600052603260045260246000fd5b60ff909216602092909202015261185c565b600484015460ff83811691161480156116ba5750600e54610100900460ff1615155b80156116c95750600260ff8216105b156117475760048481015460ff6101009091048116918591851690811061170057634e487b7160e01b600052603260045260246000fd5b60ff9283166020919091029190910152600e8054600192839161172a91839161010090041661457a565b92506101000a81548160ff021916908360ff16021790555061185c565b600584015460ff83811691161480156117645750600e5460ff1615155b80156117735750600260ff8216105b156117d057600584015460ff61010090910481169084908416600481106117aa57634e487b7160e01b600052603260045260246000fd5b60ff9283166020919091029190910152600e805460019260009161172a9185911661457a565b600484015460009060ff8481169116146117eb5760006117ee565b60015b600586015460ff858116911614611806576000611809565b60015b61181490600461457a565b61181e919061457a565b905061182a8183614653565b848460ff166004811061184d57634e487b7160e01b600052603260045260246000fd5b60ff9092166020929092020152505b6006840180546001810182556000918252602090912061187f9101846004613958565b506002840180546001810182556000918252602082200155600384015480156118b357600060038601556118b38133612b58565b7f73475f7d0ed4d56a45d4b50a0b6c5c63f7f8ccb51178dcf523a78570ab51cf6486856040516118e492919061438b565b60405180910390a15050505050505050505050505050565b600061190760085490565b821061196a5760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201526b7574206f6620626f756e647360a01b6064820152608401610a10565b6008828154811061198b57634e487b7160e01b600052603260045260246000fd5b90600052602060002001549050919050565b610129546001600160a01b031633146119e95760405162461bcd60e51b815260206004820152600e60248201526d2737ba103a34329036b4b73a32b960911b6044820152606401610a10565b602860ff821610611a345760405162461bcd60e51b8152602060048201526015602482015274092dcecc2d8d2c8408ecadccae6d2e640d2dcc8caf605b1b6044820152606401610a10565b60fc600282901b16610b46838261289c565b6000818152600260205260408120546001600160a01b0316806109035760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b6064820152608401610a10565b8060006003821615611ae15760405162461bcd60e51b8152600401610a10906142d7565b600b54431015611b2d5760405162461bcd60e51b815260206004820152601760248201527610dbdb9d1c9858dd081b9bdd081858dd1a5d99481e595d604a1b6044820152606401610a10565b6000611b398460021c90565b9050600060118260ff1660288110611b6157634e487b7160e01b600052603260045260246000fd5b600702019050600060018260060180549050611b7d9190614540565b90506000611b9084846000015484611246565b90506000611ba08560ff16612ce5565b90506001846000016000828254611bb791906143a2565b925050819055506001846002018461ffff1681548110611be757634e487b7160e01b600052603260045260246000fd5b906000526020600020016000828254611c0091906143a2565b909155505060018481018054600090611c1a9084906143a2565b90915550611c2a9050338361289c565b611c3381612e4b565b7f7fdef4916b99ac718fbe3c9c9b5113b6eecacdd79dc0c370a61912e860bc256e3386856113f08860010154600161076991906143a2565b60006001600160a01b038216611cd65760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b6064820152608401610a10565b506001600160a01b031660009081526003602052604090205490565b600a546001600160a01b03163314611d1c5760405162461bcd60e51b8152600401610a1090614305565b600a546040516000916001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600a80546001600160a01b0319169055565b606060018054610918906145c9565b6001600160a01b038216331415611dce5760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610a10565b3360008181526005602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b611e4433836128b6565b611e605760405162461bcd60e51b8152600401610a109061433a565b611e6c84848484612e69565b50505050565b6000818152600260205260409020546060906001600160a01b0316611ed05760405162461bcd60e51b8152602060048201526014602482015273151bdad95b88191bd95cc81b9bdd08195e1a5cdd60621b6044820152606401610a10565b600082815261012a602052604081208054611eea906145c9565b80601f0160208091040260200160405190810160405280929190818152602001828054611f16906145c9565b8015611f635780601f10611f3857610100808354040283529160200191611f63565b820191906000526020600020905b815481529060010190602001808311611f4657829003601f168201915b50505050509050600081511115611f7a5792915050565b61116883612e9c565b6000808211611f93576000610903565b600a611f9e83611ffd565b611fa9906009614500565b61090391906143df565b600a546001600160a01b03163314611fdd5760405162461bcd60e51b8152600401610a1090614305565b80516111ac9060109060208401906138b6565b600f8054610b58906145c9565b60006702c68af0bb1400006404a817c800600461201b600186614563565b6120259190614458565b61202f9190614500565b61090391906143a2565b600a546001600160a01b031633146120635760405162461bcd60e51b8152600401610a1090614305565b600b55565b600a546001600160a01b031633146120925760405162461bcd60e51b8152600401610a1090614305565b6001600160a01b0381166120f75760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610a10565b600a546040516001600160a01b038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3600a80546001600160a01b0319166001600160a01b0392909216919091179055565b61215b6139e6565b60038216600214156121a457600282901c610fff16600f61217b82612f76565b60405160200161218c929190613fc0565b60408051808303601f19018152919052825250919050565b600382166124a35760006121b88360021c90565b60ff1690506000601182602881106121e057634e487b7160e01b600052603260045260246000fd5b600702016040518060e001604052908160008201548152602001600182015481526020016002820180548060200260200160405190810160405280929190818152602001828054801561225257602002820191906000526020600020905b81548152602001906001019080831161223e575b505050918352505060038201546020820152604080518082018083529190920191906004840190600290826000855b825461010083900a900460ff16815260206001928301818104948501949093039092029101808411612281575050509284525050604080518082019182905260209093019291506005840190600290826000855b825461010083900a900460ff168152602060019283018181049485019490930390920291018084116122d55790505050505050815260200160068201805480602002602001604051908101604052809291908181526020016000905b8282101561239d576000848152602081206040805160808101918290529291850191600491908390855b825461010083900a900460ff1681526020600192830181810494850194909303909202910180841161235b579050505050505081526020019060010190612331565b5050509152505060c081015180519192506000916123bd90600190614563565b815181106123db57634e487b7160e01b600052603260045260246000fd5b6020026020010151905060005b60048160ff16101561249a57600f6123ff85612f76565b61240b8360ff16612f76565b61243e858560ff166004811061243157634e487b7160e01b600052603260045260246000fd5b602002015160ff16612f76565b604051602001612451949392919061400b565b604051602081830303815290604052858260ff166004811061248357634e487b7160e01b600052603260045260246000fd5b6020020152806124928161461f565b9150506123e8565b50505050919050565b600382166001141561278c57600282901c603f16600883901c610fff166000601183602881106124e357634e487b7160e01b600052603260045260246000fd5b600702016040518060e001604052908160008201548152602001600182015481526020016002820180548060200260200160405190810160405280929190818152602001828054801561255557602002820191906000526020600020905b815481526020019060010190808311612541575b505050918352505060038201546020820152604080518082018083529190920191906004840190600290826000855b825461010083900a900460ff16815260206001928301818104948501949093039092029101808411612584575050509284525050604080518082019182905260209093019291506005840190600290826000855b825461010083900a900460ff168152602060019283018181049485019490930390920291018084116125d85790505050505050815260200160068201805480602002602001604051908101604052809291908181526020016000905b828210156126a0576000848152602081206040805160808101918290529291850191600491908390855b825461010083900a900460ff1681526020600192830181810494850194909303909202910180841161265e579050505050505081526020019060010190612634565b5050505081525050905060008160c001518361ffff16815181106126d457634e487b7160e01b600052603260045260246000fd5b6020026020010151905060005b60048160ff16101561278657600f6126f886612f76565b6127048360ff16612f76565b61272a858560ff166004811061243157634e487b7160e01b600052603260045260246000fd5b60405160200161273d949392919061400b565b604051602081830303815290604052868260ff166004811061276f57634e487b7160e01b600052603260045260246000fd5b60200201528061277e8161461f565b9150506126e1565b50505050505b919050565b600a546001600160a01b031633146127bb5760405162461bcd60e51b8152600401610a1090614305565b61012980546001600160a01b0319166001600160a01b0392909216919091179055565b60006001600160e01b031982166380ac58cd60e01b148061280f57506001600160e01b03198216635b5e139f60e01b145b8061090357506301ffc9a760e01b6001600160e01b0319831614610903565b600081815260046020526040902080546001600160a01b0319166001600160a01b038416908117909155819061286382611a46565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6111ac8282604051806020016040528060008152506130bb565b6000818152600260205260408120546001600160a01b031661292f5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b6064820152608401610a10565b600061293a83611a46565b9050806001600160a01b0316846001600160a01b031614806129755750836001600160a01b031661296a8461099b565b6001600160a01b0316145b806129a557506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b949350505050565b826001600160a01b03166129c082611a46565b6001600160a01b031614612a285760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201526839903737ba1037bbb760b91b6064820152608401610a10565b6001600160a01b038216612a8a5760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b6064820152608401610a10565b612a958383836130ee565b612aa060008261282e565b6001600160a01b0383166000908152600360205260408120805460019290612ac9908490614563565b90915550506001600160a01b0382166000908152600360205260408120805460019290612af79084906143a2565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b600c54612b658347614563565b1015612baa5760405162461bcd60e51b815260206004820152601460248201527343616e6e6f742073656e6420726573657276657360601b6044820152606401610a10565b6000816001600160a01b03168360405160006040518083038185875af1925050503d8060008114612bf7576040519150601f19603f3d011682016040523d82523d6000602084013e612bfc565b606091505b5050905080610b465760405162461bcd60e51b815260206004820152600e60248201526d14185e5b595b9d0819985a5b195960921b6044820152606401610a10565b6000612c4982611a46565b9050612c57816000846130ee565b612c6260008361282e565b6001600160a01b0381166000908152600360205260408120805460019290612c8b908490614563565b909155505060008281526002602052604080822080546001600160a01b0319169055518391906001600160a01b038416907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a45050565b60008060118360288110612d0957634e487b7160e01b600052603260045260246000fd5b6007020190506000612d258260010154600161076991906143a2565b905080341015612d6c5760405162461bcd60e51b8152602060048201526012602482015271496e73756666696369656e742076616c756560701b6044820152606401610a10565b6000612d82836001015460016106c791906143a2565b905060006002612d928385614563565b612d9c91906143df565b90508281612daa81856143a2565b612db491906143a2565b14612df65760405162461bcd60e51b815260206004820152601260248201527104665657320646f206e6f74206164642075760741b6044820152606401610a10565b81600c6000828254612e0891906143a2565b9250508190555080846003016000828254612e2391906143a2565b9250508190555080600d6000828254612e3c91906143a2565b90915550929695505050505050565b80341115612e6657612e66612e608234614563565b33612b58565b50565b612e748484846129ad565b612e80848484846131a6565b611e6c5760405162461bcd60e51b8152600401610a1090614258565b6000818152600260205260409020546060906001600160a01b0316612f1b5760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b6064820152608401610a10565b6000612f256132b3565b90506000815111612f455760405180602001604052806000815250611168565b80612f4f846132e4565b604051602001612f60929190613f91565b6040516020818303038152906040529392505050565b606081612f9a5750506040805180820190915260018152600360fc1b602082015290565b8160005b8115612fc45780612fae81614604565b9150612fbd9050600a836143df565b9150612f9e565b60008167ffffffffffffffff811115612fed57634e487b7160e01b600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015613017576020820181803683370190505b509050815b85156130b25761302d600182614563565b9050600061303c600a886143df565b61304790600a614500565b6130519088614563565b61305c9060306143ba565b905060008160f81b90508084848151811061308757634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a9053506130a9600a896143df565b9750505061301c565b50949350505050565b6130c583836133fe565b6130d260008484846131a6565b610b465760405162461bcd60e51b8152600401610a1090614258565b6001600160a01b0383166131495761314481600880546000838152600960205260408120829055600182018355919091527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee30155565b61316c565b816001600160a01b0316836001600160a01b03161461316c5761316c838261354c565b6001600160a01b03821661318357610b46816135e9565b826001600160a01b0316826001600160a01b031614610b4657610b4682826136c2565b60006001600160a01b0384163b156132a857604051630a85bd0160e11b81526001600160a01b0385169063150b7a02906131ea90339089908890889060040161411f565b602060405180830381600087803b15801561320457600080fd5b505af1925050508015613234575060408051601f3d908101601f1916820190925261323191810190613cec565b60015b61328e573d808015613262576040519150601f19603f3d011682016040523d82523d6000602084013e613267565b606091505b5080516132865760405162461bcd60e51b8152600401610a1090614258565b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490506129a5565b506001949350505050565b606060106132bf613706565b6040516020016132d092919061409d565b604051602081830303815290604052905090565b6060816133085750506040805180820190915260018152600360fc1b602082015290565b8160005b8115613332578061331c81614604565b915061332b9050600a836143df565b915061330c565b60008167ffffffffffffffff81111561335b57634e487b7160e01b600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015613385576020820181803683370190505b5090505b84156129a55761339a600183614563565b91506133a7600a8661463f565b6133b29060306143a2565b60f81b8183815181106133d557634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a9053506133f7600a866143df565b9450613389565b6001600160a01b0382166134545760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401610a10565b6000818152600260205260409020546001600160a01b0316156134b95760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610a10565b6134c5600083836130ee565b6001600160a01b03821660009081526003602052604081208054600192906134ee9084906143a2565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b6000600161355984611c6b565b6135639190614563565b6000838152600760205260409020549091508082146135b6576001600160a01b03841660009081526006602090815260408083208584528252808320548484528184208190558352600790915290208190555b5060009182526007602090815260408084208490556001600160a01b039094168352600681528383209183525290812055565b6008546000906135fb90600190614563565b6000838152600960205260408120546008805493945090928490811061363157634e487b7160e01b600052603260045260246000fd5b90600052602060002001549050806008838154811061366057634e487b7160e01b600052603260045260246000fd5b60009182526020808320909101929092558281526009909152604080822084905585825281205560088054806136a657634e487b7160e01b600052603160045260246000fd5b6001900381819060005260206000200160009055905550505050565b60006136cd83611c6b565b6001600160a01b039093166000908152600660209081526040808320868452825280832085905593825260079052919091209190915550565b60408051602880825260608281019093526000919060208201818036833701905050905060005b6014811015613859576000613743826013614563565b61374e906008614500565b613759906002614458565b61376390306143df565b60f81b9050600060108260f81c61377a91906143f3565b60f81b905060008160f81c6010613791919061451f565b8360f81c61379f919061457a565b60f81b90506137ad82613880565b856137b9866002614500565b815181106137d757634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a9053506137f781613880565b85613803866002614500565b61380e9060016143a2565b8151811061382c57634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a905350505050808061385190614604565b91505061372d565b508060405160200161386b91906140f5565b60405160208183030381529060405291505090565b6000600a60f883901c10156138a75761389e60f883901c60306143ba565b60f81b92915050565b61389e60f883901c60576143ba565b8280546138c2906145c9565b90600052602060002090601f0160209004810192826138e4576000855561392a565b82601f106138fd57805160ff191683800117855561392a565b8280016001018555821561392a579182015b8281111561392a57825182559160200191906001019061390f565b50613936929150613a0d565b5090565b60405180604001604052806002906020820280368337509192915050565b60018301918390821561392a5791602002820160005b838211156139ac57835183826101000a81548160ff021916908360ff160217905550926020019260010160208160000104928301926001030261396e565b80156139d95782816101000a81549060ff02191690556001016020816000010492830192600103026139ac565b5050613936929150613a0d565b60405180608001604052806004905b60608152602001906001900390816139f55790505090565b5b808211156139365760008155600101613a0e565b600067ffffffffffffffff80841115613a3d57613a3d6146a1565b604051601f8501601f19908116603f01168101908282118183101715613a6557613a656146a1565b81604052809350858152868686011115613a7e57600080fd5b858560208301376000602087830101525050509392505050565b80356001600160a01b038116811461278c57600080fd5b600082601f830112613abf578081fd5b61116883833560208501613a22565b803561ffff8116811461278c57600080fd5b803560ff8116811461278c57600080fd5b600060208284031215613b02578081fd5b61116882613a98565b60008060408385031215613b1d578081fd5b613b2683613a98565b9150613b3460208401613a98565b90509250929050565b600080600060608486031215613b51578081fd5b613b5a84613a98565b9250613b6860208501613a98565b9150604084013590509250925092565b60008060008060808587031215613b8d578081fd5b613b9685613a98565b9350613ba460208601613a98565b925060408501359150606085013567ffffffffffffffff811115613bc6578182fd5b8501601f81018713613bd6578182fd5b613be587823560208401613a22565b91505092959194509250565b60008060408385031215613c03578182fd5b613c0c83613a98565b915060208301358015158114613c20578182fd5b809150509250929050565b60008060408385031215613c3d578182fd5b613c4683613a98565b946020939093013593505050565b60008060408385031215613c66578182fd5b613c6f83613a98565b9150613b3460208401613ae0565b60008060008060808587031215613c92578384fd5b613c9b85613a98565b9350613ca960208601613ae0565b9250613cb760408601613ae0565b9150613cc560608601613ace565b905092959194509250565b600060208284031215613ce1578081fd5b8135611168816146b7565b600060208284031215613cfd578081fd5b8151611168816146b7565b600060208284031215613d19578081fd5b813567ffffffffffffffff811115613d2f578182fd5b6129a584828501613aaf565b600060208284031215613d4c578081fd5b5035919050565b60008060408385031215613d65578182fd5b82359150602083013567ffffffffffffffff811115613d82578182fd5b613d8e85828601613aaf565b9150509250929050565b60008060408385031215613daa578182fd5b50508035926020909101359150565b600060208284031215613dca578081fd5b61116882613ae0565b600080600060608486031215613de7578081fd5b613df084613ae0565b925060208401359150613e0560408501613ace565b90509250925092565b600080600060608486031215613e22578081fd5b613e2b84613ae0565b9250613e3960208501613ae0565b9150613e0560408501613ace565b6000815180845260208085019450808401835b83811015613e7657815187529582019590820190600101613e5a565b509495945050505050565b8060005b6002811015611e6c57815160ff16845260209384019390910190600101613e85565b8060005b6004811015611e6c57815160ff16845260209384019390910190600101613eab565b60008151808452613ee581602086016020860161459d565b601f01601f19169290920160200192915050565b8054600090600181811c9080831680613f1357607f831692505b6020808410821415613f3357634e487b7160e01b86526022600452602486fd5b818015613f475760018114613f5857613f85565b60ff19861689528489019650613f85565b60008881526020902060005b86811015613f7d5781548b820152908501908301613f64565b505084890196505b50505050505092915050565b60008351613fa381846020880161459d565b835190830190613fb781836020880161459d565b01949350505050565b6000613fcc8285613ef9565b682f6d75746167656e2f60b81b81528351613fee81600984016020880161459d565b632e73766760e01b60099290910191820152600d01949350505050565b60006140178287613ef9565b682f67656e657369732f60b81b81528551614039816009840160208a0161459d565b610bdb60f21b60099290910191820152845161405c81600b84016020890161459d565b603b60f91b600b9290910191820152835161407e81600c84016020880161459d565b632e706e6760e01b600c92909101918201526010019695505050505050565b60006140a98285613ef9565b703f636f6e7472616374416464726573733d60781b815283516140d381601184016020880161459d565b6826746f6b656e49643d60b81b60119290910191820152601a01949350505050565b61060f60f31b81526000825161411281600285016020870161459d565b9190910160020192915050565b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061415290830184613ecd565b9695505050505050565b6101408082528951908201819052600090610160830190602090818d01845b828110156141a15761418e858351613ea7565b608094909401939083019060010161417b565b505050838203908401526141b5818b613e47565b9150508760408301528660608301528560808301528460a08301526141dd60c0830185613e81565b6141eb610100830184613e81565b9998505050505050505050565b602080825260009060a0830183820185845b600481101561423957601f19878503018352614227848351613ecd565b9350918401919084019060010161420a565b50919695505050505050565b6020815260006111686020830184613ecd565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b6020808252601390820152722737ba103a3432903a37b5b2b71037bbb732b960691b604082015260600190565b602080825260149082015273496e636f727265637420746f6b656e207479706560601b604082015260600190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b60ff8316815260a081016111686020830184613ea7565b600082198211156143b5576143b5614675565b500190565b600060ff821660ff84168060ff038211156143d7576143d7614675565b019392505050565b6000826143ee576143ee61468b565b500490565b600060ff8316806144065761440661468b565b8060ff84160491505092915050565b600181815b8085111561445057816000190482111561443657614436614675565b8085161561444357918102915b93841c939080029061441a565b509250929050565b6000611168838360008261446e57506001610903565b8161447b57506000610903565b8160018114614491576002811461449b576144b7565b6001915050610903565b60ff8411156144ac576144ac614675565b50506001821b610903565b5060208310610133831016604e8410600b84101617156144da575081810a610903565b6144e48383614415565b80600019048211156144f8576144f8614675565b029392505050565b600081600019048311821515161561451a5761451a614675565b500290565b600060ff821660ff84168160ff04811182151516156144f8576144f8614675565b600061ffff8381169083168181101561455b5761455b614675565b039392505050565b60008282101561457557614575614675565b500390565b600060ff821660ff84168082101561459457614594614675565b90039392505050565b60005b838110156145b85781810151838201526020016145a0565b83811115611e6c5750506000910152565b600181811c908216806145dd57607f821691505b602082108114156145fe57634e487b7160e01b600052602260045260246000fd5b50919050565b600060001982141561461857614618614675565b5060010190565b600060ff821660ff81141561463657614636614675565b60010192915050565b60008261464e5761464e61468b565b500690565b600060ff8316806146665761466661468b565b8060ff84160691505092915050565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b031981168114612e6657600080fdfea26469706673582212207bb0f18c701ab4d4a0501181ebb261eeed654462af46da8f52a92f28bb6dc4fa64736f6c63430008040033

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

00000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000c572e000000000000000000000000000000000000000000000000000000000000000c00000000000000000000000000000000000000000000000000000000000000035697066733a2f2f516d56714b354747774250443264443147386658516d5370613372427a3252597a67634a64556472657575426d630000000000000000000000000000000000000000000000000000000000000000000000000000000000004e68747470733a2f2f6575726f70652d77657374332d7475726e6b65792d747269756d70682d3332303630352e636c6f756466756e6374696f6e732e6e65742f6d75746167656e4d65746164617461000000000000000000000000000000000000

-----Decoded View---------------
Arg [0] : _assetsBaseURL (string): ipfs://QmVqK5GGwBPD2dD1G8fXQmSpa3rBz2RYzgcJdUdreuuBmc
Arg [1] : _startingBlock (uint256): 12940000
Arg [2] : _metadataBaseURL (string): https://europe-west3-turnkey-triumph-320605.cloudfunctions.net/mutagenMetadata

-----Encoded View---------------
10 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000060
Arg [1] : 0000000000000000000000000000000000000000000000000000000000c572e0
Arg [2] : 00000000000000000000000000000000000000000000000000000000000000c0
Arg [3] : 0000000000000000000000000000000000000000000000000000000000000035
Arg [4] : 697066733a2f2f516d56714b354747774250443264443147386658516d537061
Arg [5] : 3372427a3252597a67634a64556472657575426d630000000000000000000000
Arg [6] : 000000000000000000000000000000000000000000000000000000000000004e
Arg [7] : 68747470733a2f2f6575726f70652d77657374332d7475726e6b65792d747269
Arg [8] : 756d70682d3332303630352e636c6f756466756e6374696f6e732e6e65742f6d
Arg [9] : 75746167656e4d65746164617461000000000000000000000000000000000000


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.