ETH Price: $3,629.56 (-6.78%)

Token

OC Marilyn PFPs (MARILYNPFP)
 

Overview

Max Total Supply

0 MARILYNPFP

Holders

51

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Balance
1 MARILYNPFP
0x36e058332ae39efad2315776b9c844e30d07388b
Loading...
Loading
Loading...
Loading
Loading...
Loading

Click here to update the token information / general information
# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
OCMarilynPFPs

Compiler Version
v0.8.13+commit.abaa5c0e

Optimization Enabled:
Yes with 200 runs

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

pragma solidity >=0.8.0 <0.9.0;
pragma abicoder v2;
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/Strings.sol";

import "base64-sol/base64.sol";
import "@openzeppelin/contracts/token/ERC721/ERC721.sol";

import "./sstore2/SSTORE2.sol";
import "./utils/DynamicBuffer.sol";

import "hardhat/console.sol";

interface DiptychInterface {
    function ownerOf ( uint256 tokenId ) external view returns ( address );
    function getApproved ( uint256 tokenId ) external view returns ( address );
    function isApprovedForAll ( address owner, address operator ) external view returns ( bool );
    function exists ( uint tokenId ) external view returns ( bool );

    function tokenImageWithMetadata(uint tokenId, bool renderSingle, uint rowIdx, uint colIdx) external view returns (bytes memory svg, uint[2] memory squareCounts, bool pfpBrightMode);
    function sideLength() external view returns (uint8);
    function maxSupply() external view returns (uint);
    function getTokenTitleAtIndex(uint index) external view returns (string memory);
}

contract OCMarilynPFPs is ERC721, Ownable {
    using DynamicBuffer for bytes;
    using Strings for uint256;
    using Strings for uint16;
    using Strings for uint8;
    
    bytes public constant externalLink = "https://capsule21.com/collections/oc-marilyn-pfps";
    
    bytes constant tokenDescription = "OC Marilyn PFPs is a subproject of the OC Marilyn Diptychs. If you can't decide between 1/1 artwork and PFP NFTs, in this project you have them both together.\\n\\nYou can mint an OC Marilyn PFP from a single square of a Diptych you own, where they will be replaced by a placeholder, all the while editing the original artwork. The PFPs can also be put back in the artwork through burning.";
    
    uint public constant costPerToken = 0.005 ether;
    
    bool public contractSealed;
    
    bool public isMintActive;
    
    function flipMintState() external onlyOwner {
        isMintActive = !isMintActive;
    }
    
    modifier unsealed() {
        require(!contractSealed, "Contract sealed.");
        _;
    }
    
    function sealContract() external onlyOwner unsealed {
        contractSealed = true;
    }
    
    constructor() ERC721("OC Marilyn PFPs", "MARILYNPFP") {
    }
    
    DiptychInterface public DiptychContract;
    
    function setDiptychContract(address _contract) external onlyOwner unsealed {
        DiptychContract = DiptychInterface(_contract);
    }
    
    function burn(uint dypIdx, uint rowIdx, uint colIdx) public {
        uint tokenId = coordsToTokenId(dypIdx, rowIdx, colIdx);
        
        require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721Burnable: caller is not owner nor approved");
        _burn(tokenId);
    }
    
    function canMintIndividualMarilyn(address user, uint diptychId) public view returns (bool) {
        address tokenOwner = DiptychContract.ownerOf(diptychId);
        
        return (
            user == tokenOwner ||
            DiptychContract.getApproved(diptychId) == user ||
            DiptychContract.isApprovedForAll(tokenOwner, user)
        );
    }
    
    function mintIndividualMarilyn(address toAddress,
    uint[] memory dypIdxs, uint[] memory rowIdxs, uint[] memory colIdxs) external payable {
        require(isMintActive, "Mint is not active");
        require(msg.value == totalMintCost(dypIdxs.length, msg.sender), "Need exact payment");
        
        for (uint i; i < dypIdxs.length; ++i) {
            uint dypIdx = dypIdxs[i];
            uint rowIdx = rowIdxs[i];
            uint colIdx = colIdxs[i];
            
            uint tokenId = coordsToTokenId(dypIdx, rowIdx, colIdx);
            
            require(canMintIndividualMarilyn(_msgSender(), dypIdx), "You need to own the Diptych to mint the PFP");
            
            _mint(toAddress, tokenId);
        }
    }
    
    function exists(uint dypIdx, uint rowIdx, uint colIdx) public view returns (bool) {
        return _exists(coordsToTokenId(dypIdx, rowIdx, colIdx));
    }
    
    function tokenURI(uint256 id) public view override returns (string memory) {
        require(_exists(id), "Token does not exist");

        return constructTokenURI(id);
    }
    
    function tokenName(uint tokenId) private pure returns (bytes memory) {
        return abi.encodePacked("OC Marilyn PFP #", tokenId.toString());
    }
    
    function getMintedPFPsCountOnDiptych(uint dypIdx) public view returns (uint count) {
        uint tokensPerDyp = DiptychContract.sideLength() ** 2 * 2;
        
        uint startTokenId = dypIdx * tokensPerDyp;
        
        for (uint i = startTokenId; i < startTokenId + tokensPerDyp; i++) {
            if (_exists(i)) {
                ++count;
            }
        }
    }
    
    function getMintedPFPsOnDiptych(uint dypIdx) public view returns (bool[] memory result) {
        uint tokensPerDyp = DiptychContract.sideLength() ** 2 * 2;
        
        result = new bool[](tokensPerDyp);
        
        uint startTokenId = dypIdx * tokensPerDyp;
        
        for (uint i = startTokenId; i < startTokenId + tokensPerDyp; i++) {
            result[i - startTokenId] = _exists(i);
        }
    }
    
    function tokenIdToCoords(uint tokenId) public view returns (uint dypIdx, uint rowIdx, uint colIdx) {
        uint _sl = DiptychContract.sideLength();
        uint tokensPerDyp = _sl ** 2 * 2;
        
        dypIdx = tokenId / tokensPerDyp;
        uint squareIdx = tokenId % tokensPerDyp;
        rowIdx = squareIdx / (_sl * 2);
        colIdx = squareIdx % (_sl * 2);
        
        require(coordsValid(dypIdx, rowIdx, colIdx), "Invalid coords");
    }
    
    function maxSupply() public view returns (uint) {
        uint _sl = DiptychContract.sideLength();
        uint tokensPerDyp = _sl ** 2 * 2;
        
        return tokensPerDyp * DiptychContract.maxSupply();
    }
    
    function coordsToTokenId(uint dypIdx, uint rowIdx, uint colIdx) public view returns (uint tokenId) {
        uint _sl = DiptychContract.sideLength();
        uint tokensPerDyp = _sl ** 2 * 2;
        
        require(coordsValid(dypIdx, rowIdx, colIdx), "Invalid coords");
        
        tokenId = dypIdx * tokensPerDyp + rowIdx * (_sl * 2) + colIdx;
    }
    
    function coordsValid(uint dypIdx, uint rowIdx, uint colIdx) public view returns (bool) {
        uint _sl = DiptychContract.sideLength();
        
        return (
            DiptychContract.exists(dypIdx) &&
            rowIdx < _sl &&
            colIdx < 2 * _sl
        );
    }
    
    function tokenImage(uint tokenId) public view returns (string memory) {
        (uint dypIdx, uint rowIdx, uint colIdx) = tokenIdToCoords(tokenId);
        
        (bytes memory svg,,) = DiptychContract.tokenImageWithMetadata(dypIdx, true, rowIdx, colIdx);
        return string(svg);
    }
    
    function previewImage(uint dypIdx, uint rowIdx, uint colIdx) public view returns (string memory) {
        return tokenImage(coordsToTokenId(dypIdx, rowIdx, colIdx));
    }
    
    function constructTokenURI(uint tokenId) private view returns (string memory) {
        (uint dypIdx, uint rowIdx, uint colIdx) = tokenIdToCoords(tokenId);
        
        (bytes memory svg,,bool pfpBrightMode) = DiptychContract.tokenImageWithMetadata(dypIdx, true, rowIdx, colIdx);
        
        return
            string(
                abi.encodePacked(
                    "data:application/json;base64,",
                    Base64.encode(
                        bytes(
                            abi.encodePacked(
                                '{',
                                '"name":"', tokenName(tokenId), '",'
                                '"description":"', tokenDescription, '",'
                                '"image_data":"data:image/svg+xml;base64,', Base64.encode(svg), '",'
                                '"external_url":"', externalLink, '",'
                                    '"attributes": [',
                                        '{',
                                            '"trait_type": "Diptych Title",',
                                            '"value": ', DiptychContract.getTokenTitleAtIndex(dypIdx),
                                        '},'
                                        '{',
                                            '"trait_type": "Diptych Index",',
                                            '"value": "', dypIdx.toString(), '"',
                                        '},'
                                        '{',
                                            '"trait_type": "Row Index",',
                                            '"value": "', rowIdx.toString(), '"',
                                        '},'
                                        '{',
                                            '"trait_type": "Column Index",',
                                            '"value": "', colIdx.toString(), '"',
                                        '},'
                                        '{',
                                            '"trait_type": "PFP Type",',
                                            '"value": "', (pfpBrightMode ? "Color" : "Black & White"), '"',
                                        '}'
                                    ']'
                                '}'
                            )
                        )
                    )
                )
            );
    }

    function withdraw() external onlyOwner {
        Address.sendValue(payable(msg.sender), address(this).balance);
    }
    
    function totalMintCost(uint numTokens, address minter) public view returns (uint) {
        if (minter == owner()) {
            return 0;
        }
        
        return numTokens * costPerToken;
    }
    
}

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

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

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

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

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

File 4 of 16 : base64.sol
// SPDX-License-Identifier: MIT

pragma solidity >=0.6.0;

/// @title Base64
/// @author Brecht Devos - <[email protected]>
/// @notice Provides functions for encoding/decoding base64
library Base64 {
    string internal constant TABLE_ENCODE = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/';
    bytes  internal constant TABLE_DECODE = hex"0000000000000000000000000000000000000000000000000000000000000000"
                                            hex"00000000000000000000003e0000003f3435363738393a3b3c3d000000000000"
                                            hex"00000102030405060708090a0b0c0d0e0f101112131415161718190000000000"
                                            hex"001a1b1c1d1e1f202122232425262728292a2b2c2d2e2f303132330000000000";

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

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

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

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

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

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

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

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

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

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

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

        return result;
    }

    function decode(string memory _data) internal pure returns (bytes memory) {
        bytes memory data = bytes(_data);

        if (data.length == 0) return new bytes(0);
        require(data.length % 4 == 0, "invalid base64 decoder input");

        // load the table into memory
        bytes memory table = TABLE_DECODE;

        // every 4 characters represent 3 bytes
        uint256 decodedLen = (data.length / 4) * 3;

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

        assembly {
            // padding with '='
            let lastBytes := mload(add(data, mload(data)))
            if eq(and(lastBytes, 0xFF), 0x3d) {
                decodedLen := sub(decodedLen, 1)
                if eq(and(lastBytes, 0xFFFF), 0x3d3d) {
                    decodedLen := sub(decodedLen, 1)
                }
            }

            // set the actual output length
            mstore(result, decodedLen)

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

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

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

            // run over the input, 4 characters at a time
            for {} lt(dataPtr, endPtr) {}
            {
               // read 4 characters
               dataPtr := add(dataPtr, 4)
               let input := mload(dataPtr)

               // write 3 bytes
               let output := add(
                   add(
                       shl(18, and(mload(add(tablePtr, and(shr(24, input), 0xFF))), 0xFF)),
                       shl(12, and(mload(add(tablePtr, and(shr(16, input), 0xFF))), 0xFF))),
                   add(
                       shl( 6, and(mload(add(tablePtr, and(shr( 8, input), 0xFF))), 0xFF)),
                               and(mload(add(tablePtr, and(        input , 0xFF))), 0xFF)
                    )
                )
                mstore(resultPtr, shl(232, output))
                resultPtr := add(resultPtr, 3)
            }
        }

        return result;
    }
}

File 5 of 16 : ERC721.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (token/ERC721/ERC721.sol)

pragma solidity ^0.8.0;

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

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

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

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

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

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

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

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

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

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

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

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

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

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

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

    /**
     * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each
     * token will be the concatenation of the `baseURI` and the `tokenId`. Empty
     * by default, can be 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 {
        _setApprovalForAll(_msgSender(), operator, approved);
    }

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

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

        _transfer(from, to, tokenId);
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

        _beforeTokenTransfer(from, to, tokenId);

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

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

        emit Transfer(from, to, tokenId);

        _afterTokenTransfer(from, to, tokenId);
    }

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

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

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

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

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

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

import "./utils/Bytecode.sol";

/**
  @title A key-value storage with auto-generated keys for storing chunks of data with a lower write & read cost.
  @author Agustin Aguilar <[email protected]>

  Readme: https://github.com/0xsequence/sstore2#readme
*/
library SSTORE2 {
  error WriteError();

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

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

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

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

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

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

File 7 of 16 : DynamicBuffer.sol
// SPDX-License-Identifier: MIT
// Copyright (c) 2021 the ethier authors (github.com/divergencetech/ethier)

pragma solidity >=0.8.0;

/// @title DynamicBuffer
/// @author David Huber (@cxkoda) and Simon Fremaux (@dievardump). See also
///         https://raw.githubusercontent.com/dievardump/solidity-dynamic-buffer
/// @notice This library is used to allocate a big amount of container memory
//          which will be subsequently filled without needing to reallocate
///         memory.
/// @dev First, allocate memory.
///      Then use `buffer.appendUnchecked(theBytes)` or `appendSafe()` if
///      bounds checking is required.
library DynamicBuffer {
    /// @notice Allocates container space for the DynamicBuffer
    /// @param capacity The intended max amount of bytes in the buffer
    /// @return buffer The memory location of the buffer
    /// @dev Allocates `capacity + 0x60` bytes of space
    ///      The buffer array starts at the first container data position,
    ///      (i.e. `buffer = container + 0x20`)
    function allocate(uint256 capacity)
        internal
        pure
        returns (bytes memory buffer)
    {
        assembly {
            // Get next-free memory address
            let container := mload(0x40)

            // Allocate memory by setting a new next-free address
            {
                // Add 2 x 32 bytes in size for the two length fields
                // Add 32 bytes safety space for 32B chunked copy
                let size := add(capacity, 0x60)
                let newNextFree := add(container, size)
                mstore(0x40, newNextFree)
            }

            // Set the correct container length
            {
                let length := add(capacity, 0x40)
                mstore(container, length)
            }

            // The buffer starts at idx 1 in the container (0 is length)
            buffer := add(container, 0x20)

            // Init content with length 0
            mstore(buffer, 0)
        }

        return buffer;
    }

    /// @notice Appends data to buffer, and update buffer length
    /// @param buffer the buffer to append the data to
    /// @param data the data to append
    /// @dev Does not perform out-of-bound checks (container capacity)
    ///      for efficiency.
    function appendUnchecked(bytes memory buffer, bytes memory data)
        internal
        pure
    {
        assembly {
            let length := mload(data)
            for {
                data := add(data, 0x20)
                let dataEnd := add(data, length)
                let copyTo := add(buffer, add(mload(buffer), 0x20))
            } lt(data, dataEnd) {
                data := add(data, 0x20)
                copyTo := add(copyTo, 0x20)
            } {
                // Copy 32B chunks from data to buffer.
                // This may read over data array boundaries and copy invalid
                // bytes, which doesn't matter in the end since we will
                // later set the correct buffer length, and have allocated an
                // additional word to avoid buffer overflow.
                mstore(copyTo, mload(data))
            }

            // Update buffer length
            mstore(buffer, add(mload(buffer), length))
        }
    }

    /// @notice Appends data to buffer, and update buffer length
    /// @param buffer the buffer to append the data to
    /// @param data the data to append
    /// @dev Performs out-of-bound checks and calls `appendUnchecked`.
    function appendSafe(bytes memory buffer, bytes memory data) internal pure {
        uint256 capacity;
        uint256 length;
        assembly {
            capacity := sub(mload(sub(buffer, 0x20)), 0x40)
            length := mload(buffer)
        }

        require(
            length + data.length <= capacity,
            "DynamicBuffer: Appending out of bounds."
        );
        appendUnchecked(buffer, data);
    }
}

File 8 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 9 of 16 : Context.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Context.sol)

pragma solidity ^0.8.0;

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

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

File 10 of 16 : IERC721.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

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

    /**
     * @dev Safely transfers `tokenId` token from `from` to `to`, 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 11 of 16 : IERC721Receiver.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721Receiver.sol)

pragma solidity ^0.8.0;

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

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

pragma solidity ^0.8.0;

import "../IERC721.sol";

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

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

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

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

pragma solidity ^0.8.1;

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

        return account.code.length > 0;
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

import "./IERC165.sol";

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

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

pragma solidity ^0.8.0;

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

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


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

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

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

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

  /**
    @notice Returns the code of a given address
    @dev It will fail if `_end < _start`
    @param _addr Address that may or may not contain code
    @param _start number of bytes of code to skip on read
    @param _end index before which to end extraction
    @return oCode read from `_addr` deployed bytecode

    Forked from: https://gist.github.com/KardanovIR/fe98661df9338c842b4a30306d507fbd
  */
  function codeAt(address _addr, uint256 _start, uint256 _end) internal view returns (bytes memory oCode) {
    uint256 csize = codeSize(_addr);
    if (csize == 0) return bytes("");

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

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

      uint256 size = maxSize < reqSize ? maxSize : reqSize;

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

Settings
{
  "optimizer": {
    "enabled": true,
    "runs": 200,
    "details": {
      "yul": false
    }
  },
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "devdoc",
        "userdoc",
        "metadata",
        "abi"
      ]
    }
  },
  "metadata": {
    "useLiteralContent": true
  },
  "libraries": {}
}

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","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":[],"name":"DiptychContract","outputs":[{"internalType":"contract DiptychInterface","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"dypIdx","type":"uint256"},{"internalType":"uint256","name":"rowIdx","type":"uint256"},{"internalType":"uint256","name":"colIdx","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"user","type":"address"},{"internalType":"uint256","name":"diptychId","type":"uint256"}],"name":"canMintIndividualMarilyn","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"contractSealed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"dypIdx","type":"uint256"},{"internalType":"uint256","name":"rowIdx","type":"uint256"},{"internalType":"uint256","name":"colIdx","type":"uint256"}],"name":"coordsToTokenId","outputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"dypIdx","type":"uint256"},{"internalType":"uint256","name":"rowIdx","type":"uint256"},{"internalType":"uint256","name":"colIdx","type":"uint256"}],"name":"coordsValid","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"costPerToken","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"dypIdx","type":"uint256"},{"internalType":"uint256","name":"rowIdx","type":"uint256"},{"internalType":"uint256","name":"colIdx","type":"uint256"}],"name":"exists","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"externalLink","outputs":[{"internalType":"bytes","name":"","type":"bytes"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"flipMintState","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":"dypIdx","type":"uint256"}],"name":"getMintedPFPsCountOnDiptych","outputs":[{"internalType":"uint256","name":"count","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"dypIdx","type":"uint256"}],"name":"getMintedPFPsOnDiptych","outputs":[{"internalType":"bool[]","name":"result","type":"bool[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isMintActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"toAddress","type":"address"},{"internalType":"uint256[]","name":"dypIdxs","type":"uint256[]"},{"internalType":"uint256[]","name":"rowIdxs","type":"uint256[]"},{"internalType":"uint256[]","name":"colIdxs","type":"uint256[]"}],"name":"mintIndividualMarilyn","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"dypIdx","type":"uint256"},{"internalType":"uint256","name":"rowIdx","type":"uint256"},{"internalType":"uint256","name":"colIdx","type":"uint256"}],"name":"previewImage","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"sealContract","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_contract","type":"address"}],"name":"setDiptychContract","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenIdToCoords","outputs":[{"internalType":"uint256","name":"dypIdx","type":"uint256"},{"internalType":"uint256","name":"rowIdx","type":"uint256"},{"internalType":"uint256","name":"colIdx","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenImage","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"id","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"numTokens","type":"uint256"},{"internalType":"address","name":"minter","type":"address"}],"name":"totalMintCost","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60806040523480156200001157600080fd5b50604080518082018252600f81526e4f43204d6172696c796e205046507360881b60208083019182528351808501909452600a84526904d4152494c594e5046560b41b9084015281519192916200006b91600091620000fa565b50805162000081906001906020840190620000fa565b5050506200009e62000098620000a460201b60201c565b620000a8565b620001e6565b3390565b600680546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b8280546200010890620001b6565b90600052602060002090601f0160209004810192826200012c576000855562000177565b82601f106200014757805160ff191683800117855562000177565b8280016001018555821562000177579182015b82811115620001775782518255916020019190600101906200015a565b506200018592915062000189565b5090565b5b808211156200018557600081556001016200018a565b634e487b7160e01b600052602260045260246000fd5b600281046001821680620001cb57607f821691505b602082108103620001e057620001e0620001a0565b50919050565b613abc80620001f66000396000f3fe6080604052600436106102255760003560e01c806370a0823111610123578063a68525c6116100ab578063cf3484251161006f578063cf34842514610646578063d297765f14610666578063d5abeb0114610693578063e985e9c5146106a8578063f2fde38b146106f157600080fd5b8063a68525c614610596578063a87f30ef146105c5578063b6501637146105e5578063b88d4fde14610606578063c87b56dd1461062657600080fd5b80638da5cb5b116100f25780638da5cb5b1461050357806395d89b411461052157806398083ff4146105365780639e928b3f14610563578063a22cb4651461057657600080fd5b806370a082311461048e578063715018a6146104ae57806372a171eb146104c3578063774102d5146104e357600080fd5b80633ccfd60b116101b157806359c74f291161017557806359c74f291461040e5780635b92ac0d146104235780635b9db898146104445780636352211e1461045957806368bd580e1461047957600080fd5b80633ccfd60b1461037957806342842e0e1461038e5780634b06331a146103ae578063514e56ff146103ce57806355064d85146103ee57600080fd5b8063095ea7b3116101f8578063095ea7b3146102d15780631a814b46146102f157806323b872dd1461031e5780632c7558101461033e5780633ba523c71461035e57600080fd5b806301ffc9a71461022a57806305a100281461026057806306fdde0314610282578063081812fc146102a4575b600080fd5b34801561023657600080fd5b5061024a6102453660046121e6565b610711565b6040516102579190612211565b60405180910390f35b34801561026c57600080fd5b5061028061027b366004612230565b610763565b005b34801561028e57600080fd5b506102976107b1565b60405161025791906122de565b3480156102b057600080fd5b506102c46102bf3660046122ef565b610843565b604051610257919061232a565b3480156102dd57600080fd5b506102806102ec36600461234c565b610886565b3480156102fd57600080fd5b5061031161030c3660046122ef565b61090b565b604051610257919061238f565b34801561032a57600080fd5b5061028061033936600461239d565b6109f6565b34801561034a57600080fd5b5061024a61035936600461234c565b610a26565b34801561036a57600080fd5b506103116611c37937e0800081565b34801561038557600080fd5b50610280610bb8565b34801561039a57600080fd5b506102806103a936600461239d565b610bee565b3480156103ba57600080fd5b506102806103c93660046123d2565b610c09565b3480156103da57600080fd5b506102976103e9366004612230565b610c7f565b3480156103fa57600080fd5b5061024a610409366004612230565b610c99565b34801561041a57600080fd5b50610280610cae565b34801561042f57600080fd5b5060065461024a90600160a81b900460ff1681565b34801561045057600080fd5b50610297610cf9565b34801561046557600080fd5b506102c46104743660046122ef565b610d15565b34801561048557600080fd5b50610280610d4a565b34801561049a57600080fd5b506103116104a93660046123d2565b610db3565b3480156104ba57600080fd5b50610280610df7565b3480156104cf57600080fd5b5061024a6104de366004612230565b610e2b565b3480156104ef57600080fd5b506103116104fe366004612230565b610f45565b34801561050f57600080fd5b506006546001600160a01b03166102c4565b34801561052d57600080fd5b50610297611043565b34801561054257600080fd5b506105566105513660046122ef565b611052565b6040516102579190612450565b610280610571366004612566565b611194565b34801561058257600080fd5b5061028061059136600461262b565b6112a7565b3480156105a257600080fd5b506105b66105b13660046122ef565b6112b6565b6040516102579392919061265e565b3480156105d157600080fd5b506103116105e0366004612686565b6113cb565b3480156105f157600080fd5b5060065461024a90600160a01b900460ff1681565b34801561061257600080fd5b5061028061062136600461274f565b611410565b34801561063257600080fd5b506102976106413660046122ef565b611442565b34801561065257600080fd5b506102976106613660046122ef565b611472565b34801561067257600080fd5b50600754610686906001600160a01b031681565b60405161025791906127e0565b34801561069f57600080fd5b50610311611516565b3480156106b457600080fd5b5061024a6106c33660046127ee565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b3480156106fd57600080fd5b5061028061070c3660046123d2565b611637565b60006001600160e01b031982166380ac58cd60e01b148061074257506001600160e01b03198216635b5e139f60e01b145b8061075d57506301ffc9a760e01b6001600160e01b03198316145b92915050565b6000610770848484610f45565b905061077d335b82611693565b6107a25760405162461bcd60e51b815260040161079990612860565b60405180910390fd5b6107ab81611734565b50505050565b6060600080546107c090612886565b80601f01602080910402602001604051908101604052809291908181526020018280546107ec90612886565b80156108395780601f1061080e57610100808354040283529160200191610839565b820191906000526020600020905b81548152906001019060200180831161081c57829003601f168201915b5050505050905090565b600061084e826117cf565b61086a5760405162461bcd60e51b8152600401610799906128fb565b506000908152600460205260409020546001600160a01b031690565b600061089182610d15565b9050806001600160a01b0316836001600160a01b0316036108c45760405162461bcd60e51b815260040161079990612949565b336001600160a01b03821614806108e057506108e081336106c3565b6108fc5760405162461bcd60e51b8152600401610799906129b3565b61090683836117ec565b505050565b6000806002600760009054906101000a90046001600160a01b03166001600160a01b031663a48359ec6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610963573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061098791906129d7565b6109919190612b1c565b61099c906002612b36565b60ff16905060006109ad8285612b60565b9050805b6109bb8383612b7a565b8110156109ee576109cb816117cf565b156109dc576109d984612b92565b93505b806109e681612b92565b9150506109b1565b505050919050565b6109ff33610777565b610a1b5760405162461bcd60e51b815260040161079990612bfa565b61090683838361185a565b6007546040516331a9108f60e11b815260009182916001600160a01b0390911690636352211e90610a5b90869060040161238f565b602060405180830381865afa158015610a78573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a9c9190612c15565b9050806001600160a01b0316846001600160a01b03161480610b37575060075460405163020604bf60e21b81526001600160a01b0380871692169063081812fc90610aeb90879060040161238f565b602060405180830381865afa158015610b08573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b2c9190612c15565b6001600160a01b0316145b80610bb0575060075460405163e985e9c560e01b81526001600160a01b039091169063e985e9c590610b6f9084908890600401612c36565b602060405180830381865afa158015610b8c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610bb09190612c5c565b949350505050565b6006546001600160a01b03163314610be25760405162461bcd60e51b815260040161079990612cb2565b610bec334761197c565b565b61090683838360405180602001604052806000815250611410565b6006546001600160a01b03163314610c335760405162461bcd60e51b815260040161079990612cb2565b600654600160a01b900460ff1615610c5d5760405162461bcd60e51b815260040161079990612ce9565b600780546001600160a01b0319166001600160a01b0392909216919091179055565b6060610c8f610661858585610f45565b90505b9392505050565b6000610c8f610ca9858585610f45565b6117cf565b6006546001600160a01b03163314610cd85760405162461bcd60e51b815260040161079990612cb2565b6006805460ff60a81b198116600160a81b9182900460ff1615909102179055565b6040518060600160405280603181526020016138936031913981565b6000818152600260205260408120546001600160a01b03168061075d5760405162461bcd60e51b815260040161079990612d3f565b6006546001600160a01b03163314610d745760405162461bcd60e51b815260040161079990612cb2565b600654600160a01b900460ff1615610d9e5760405162461bcd60e51b815260040161079990612ce9565b6006805460ff60a01b1916600160a01b179055565b60006001600160a01b038216610ddb5760405162461bcd60e51b815260040161079990612d96565b506001600160a01b031660009081526003602052604090205490565b6006546001600160a01b03163314610e215760405162461bcd60e51b815260040161079990612cb2565b610bec6000611a18565b600080600760009054906101000a90046001600160a01b03166001600160a01b031663a48359ec6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610e81573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ea591906129d7565b600754604051634f558e7960e01b815260ff9290921692506001600160a01b031690634f558e7990610edb90889060040161238f565b602060405180830381865afa158015610ef8573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f1c9190612c5c565b8015610f2757508084105b8015610f3c5750610f39816002612b60565b83105b95945050505050565b600080600760009054906101000a90046001600160a01b03166001600160a01b031663a48359ec6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610f9b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610fbf91906129d7565b60ff1690506000610fd1600283612da6565b610fdc906002612b60565b9050610fe9868686610e2b565b6110055760405162461bcd60e51b815260040161079990612de0565b83611011836002612b60565b61101b9087612b60565b6110258389612b60565b61102f9190612b7a565b6110399190612b7a565b9695505050505050565b6060600180546107c090612886565b606060006002600760009054906101000a90046001600160a01b03166001600160a01b031663a48359ec6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156110ab573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110cf91906129d7565b6110d99190612b1c565b6110e4906002612b36565b60ff169050806001600160401b0381111561110157611101612461565b60405190808252806020026020018201604052801561112a578160200160208202803683370190505b50915060006111398285612b60565b9050805b6111478383612b7a565b8110156109ee57611157816117cf565b846111628484612df0565b8151811061117257611172612e07565b911515602092830291909101909101528061118c81612b92565b91505061113d565b600654600160a81b900460ff166111bd5760405162461bcd60e51b815260040161079990612e46565b6111c88351336113cb565b34146111e65760405162461bcd60e51b815260040161079990612e7f565b60005b83518110156112a057600084828151811061120657611206612e07565b60200260200101519050600084838151811061122457611224612e07565b60200260200101519050600084848151811061124257611242612e07565b602002602001015190506000611259848484610f45565b90506112653385610a26565b6112815760405162461bcd60e51b815260040161079990612ed7565b61128b8982611a6a565b505050508061129990612b92565b90506111e9565b5050505050565b6112b2338383611b3d565b5050565b600080600080600760009054906101000a90046001600160a01b03166001600160a01b031663a48359ec6040518163ffffffff1660e01b8152600401602060405180830381865afa15801561130f573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061133391906129d7565b60ff1690506000611345600283612da6565b611350906002612b60565b905061135c8187612efd565b9450600061136a8288612f11565b9050611377836002612b60565b6113819082612efd565b945061138e836002612b60565b6113989082612f11565b93506113a5868686610e2b565b6113c15760405162461bcd60e51b815260040161079990612de0565b5050509193909250565b60006113df6006546001600160a01b031690565b6001600160a01b0316826001600160a01b0316036113ff5750600061075d565b610c926611c37937e0800084612b60565b61141a3383611693565b6114365760405162461bcd60e51b815260040161079990612bfa565b6107ab84848484611bdf565b606061144d826117cf565b6114695760405162461bcd60e51b815260040161079990612f50565b61075d82611c12565b60606000806000611482856112b6565b6007546040516338331b3760e11b815293965091945092506000916001600160a01b0390911690637066366e906114c490879060019088908890600401612f60565b600060405180830381865afa1580156114e1573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526115099190810190613084565b5090979650505050505050565b600080600760009054906101000a90046001600160a01b03166001600160a01b031663a48359ec6040518163ffffffff1660e01b8152600401602060405180830381865afa15801561156c573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061159091906129d7565b60ff16905060006115a2600283612da6565b6115ad906002612b60565b9050600760009054906101000a90046001600160a01b03166001600160a01b031663d5abeb016040518163ffffffff1660e01b8152600401602060405180830381865afa158015611602573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061162691906130e3565b6116309082612b60565b9250505090565b6006546001600160a01b031633146116615760405162461bcd60e51b815260040161079990612cb2565b6001600160a01b0381166116875760405162461bcd60e51b815260040161079990613147565b61169081611a18565b50565b600061169e826117cf565b6116ba5760405162461bcd60e51b8152600401610799906131a0565b60006116c583610d15565b9050806001600160a01b0316846001600160a01b031614806117005750836001600160a01b03166116f584610843565b6001600160a01b0316145b80610bb057506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff16610bb0565b600061173f82610d15565b905061174c6000836117ec565b6001600160a01b0381166000908152600360205260408120805460019290611775908490612df0565b909155505060008281526002602052604080822080546001600160a01b0319169055518391906001600160a01b038416907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a45050565b6000908152600260205260409020546001600160a01b0316151590565b600081815260046020526040902080546001600160a01b0319166001600160a01b038416908117909155819061182182610d15565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b826001600160a01b031661186d82610d15565b6001600160a01b0316146118935760405162461bcd60e51b8152600401610799906131f2565b6001600160a01b0382166118b95760405162461bcd60e51b815260040161079990613243565b6118c46000826117ec565b6001600160a01b03831660009081526003602052604081208054600192906118ed908490612df0565b90915550506001600160a01b038216600090815260036020526040812080546001929061191b908490612b7a565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b8047101561199c5760405162461bcd60e51b815260040161079990613287565b6000826001600160a01b0316826040516119b590613297565b60006040518083038185875af1925050503d80600081146119f2576040519150601f19603f3d011682016040523d82523d6000602084013e6119f7565b606091505b50509050806109065760405162461bcd60e51b8152600401610799906132f9565b600680546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b038216611a905760405162461bcd60e51b81526004016107999061333b565b611a99816117cf565b15611ab65760405162461bcd60e51b81526004016107999061337f565b6001600160a01b0382166000908152600360205260408120805460019290611adf908490612b7a565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b816001600160a01b0316836001600160a01b031603611b6e5760405162461bcd60e51b8152600401610799906133c3565b6001600160a01b0383811660008181526005602090815260408083209487168084529490915290819020805460ff1916851515179055517f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3190611bd2908590612211565b60405180910390a3505050565b611bea84848461185a565b611bf684848484611e2e565b6107ab5760405162461bcd60e51b815260040161079990613422565b60606000806000611c22856112b6565b6007546040516338331b3760e11b8152939650919450925060009182916001600160a01b031690637066366e90611c6490889060019089908990600401612f60565b600060405180830381865afa158015611c81573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611ca99190810190613084565b9250509150611e03611cba88611f2f565b604051806101c0016040528061018381526020016139046101839139611cdf85611f60565b6040518060600160405280603181526020016138936031913960075460405163c0b092cd60e01b81526001600160a01b039091169063c0b092cd90611d28908d9060040161238f565b600060405180830381865afa158015611d45573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611d6d9190810190613432565b611d768b6120c4565b611d7f8b6120c4565b611d888b6120c4565b89611db8576040518060400160405280600d81526020016c426c61636b202620576869746560981b815250611dd7565b6040518060400160405280600581526020016421b7b637b960d91b8152505b604051602001611def99989796959493929190613590565b604051602081830303815290604052611f60565b604051602001611e1391906137f4565b60405160208183030381529060405295505050505050919050565b60006001600160a01b0384163b15611f2457604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290611e7290339089908890889060040161380b565b6020604051808303816000875af1925050508015611ead575060408051601f3d908101601f19168201909252611eaa91810190613850565b60015b611f0a573d808015611edb576040519150601f19603f3d011682016040523d82523d6000602084013e611ee0565b606091505b508051600003611f025760405162461bcd60e51b815260040161079990613422565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050610bb0565b506001949350505050565b6060611f3a826120c4565b604051602001611f4a9190613871565b6040516020818303038152906040529050919050565b60608151600003611f7f57505060408051602081019091526000815290565b60006040518060600160405280604081526020016138c46040913990506000600384516002611fae9190612b7a565b611fb89190612efd565b611fc3906004612b60565b90506000611fd2826020612b7a565b6001600160401b03811115611fe957611fe9612461565b6040519080825280601f01601f191660200182016040528015612013576020820181803683370190505b509050818152600183018586518101602084015b8183101561207f576003830192508251603f8160121c168501518253600182019150603f81600c1c168501518253600182019150603f8160061c168501518253600182019150603f8116850151825350600101612027565b60038951066001811461209957600281146120aa576120b6565b613d3d60f01b6001198301526120b6565b603d60f81b6000198301525b509398975050505050505050565b6060816000036120eb5750506040805180820190915260018152600360fc1b602082015290565b8160005b811561211557806120ff81612b92565b915061210e9050600a83612efd565b91506120ef565b6000816001600160401b0381111561212f5761212f612461565b6040519080825280601f01601f191660200182016040528015612159576020820181803683370190505b5090505b8415610bb05761216e600183612df0565b915061217b600a86612f11565b612186906030612b7a565b60f81b81838151811061219b5761219b612e07565b60200101906001600160f81b031916908160001a9053506121bd600a86612efd565b945061215d565b6001600160e01b031981165b811461169057600080fd5b803561075d816121c4565b6000602082840312156121fb576121fb600080fd5b6000610bb084846121db565b8015155b82525050565b6020810161075d8284612207565b806121d0565b803561075d8161221f565b60008060006060848603121561224857612248600080fd5b60006122548686612225565b935050602061226586828701612225565b925050604061227686828701612225565b9150509250925092565b60005b8381101561229b578181015183820152602001612283565b838111156107ab5750506000910152565b60006122b6825190565b8084526020840193506122cd818560208601612280565b601f01601f19169290920192915050565b60208082528101610c9281846122ac565b60006020828403121561230457612304600080fd5b6000610bb08484612225565b60006001600160a01b03821661075d565b61220b81612310565b6020810161075d8284612321565b6121d081612310565b803561075d81612338565b6000806040838503121561236257612362600080fd5b600061236e8585612341565b925050602061237f85828601612225565b9150509250929050565b8061220b565b6020810161075d8284612389565b6000806000606084860312156123b5576123b5600080fd5b60006123c18686612341565b935050602061226586828701612341565b6000602082840312156123e7576123e7600080fd5b6000610bb08484612341565b60006123ff8383612207565b505060200190565b6000612411825190565b80845260209384019383018060005b8381101561244557815161243488826123f3565b975060208301925050600101612420565b509495945050505050565b60208082528101610c928184612407565b634e487b7160e01b600052604160045260246000fd5b601f19601f83011681018181106001600160401b038211171561249c5761249c612461565b6040525050565b60006124ae60405190565b90506124ba8282612477565b919050565b60006001600160401b038211156124d8576124d8612461565b5060209081020190565b60006124f56124f0846124bf565b6124a3565b8381529050602080820190840283018581111561251457612514600080fd5b835b8181101561253857806125298882612225565b84525060209283019201612516565b5050509392505050565b600082601f83011261255657612556600080fd5b8135610bb08482602086016124e2565b6000806000806080858703121561257f5761257f600080fd5b600061258b8787612341565b94505060208501356001600160401b038111156125aa576125aa600080fd5b6125b687828801612542565b93505060408501356001600160401b038111156125d5576125d5600080fd5b6125e187828801612542565b92505060608501356001600160401b0381111561260057612600600080fd5b61260c87828801612542565b91505092959194509250565b8015156121d0565b803561075d81612618565b6000806040838503121561264157612641600080fd5b600061264d8585612341565b925050602061237f85828601612620565b6060810161266c8286612389565b6126796020830185612389565b610bb06040830184612389565b6000806040838503121561269c5761269c600080fd5b60006126a88585612225565b925050602061237f85828601612341565b60006001600160401b038211156126d2576126d2612461565b601f19601f83011660200192915050565b82818337506000910152565b60006126fd6124f0846126b9565b90508281526020810184848401111561271857612718600080fd5b6127238482856126e3565b509392505050565b600082601f83011261273f5761273f600080fd5b8135610bb08482602086016126ef565b6000806000806080858703121561276857612768600080fd5b60006127748787612341565b945050602061278587828801612341565b935050604061279687828801612225565b92505060608501356001600160401b038111156127b5576127b5600080fd5b61260c8782880161272b565b600061075d82612310565b600061075d826127c1565b61220b816127cc565b6020810161075d82846127d7565b6000806040838503121561280457612804600080fd5b60006126a88585612341565b603081526000602082017f4552433732314275726e61626c653a2063616c6c6572206973206e6f74206f7781526f1b995c881b9bdc88185c1c1c9bdd995960821b602082015291505b5060400190565b6020808252810161075d81612810565b634e487b7160e01b600052602260045260246000fd5b60028104600182168061289a57607f821691505b6020821081036128ac576128ac612870565b50919050565b602c81526000602082017f4552433732313a20617070726f76656420717565727920666f72206e6f6e657881526b34b9ba32b73a103a37b5b2b760a11b60208201529150612859565b6020808252810161075d816128b2565b602181526000602082017f4552433732313a20617070726f76616c20746f2063757272656e74206f776e658152603960f91b60208201529150612859565b6020808252810161075d8161290b565b603881526000602082017f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7781527f6e6572206e6f7220617070726f76656420666f7220616c6c000000000000000060208201529150612859565b6020808252810161075d81612959565b60ff81166121d0565b805161075d816129c3565b6000602082840312156129ec576129ec600080fd5b6000610bb084846129cc565b634e487b7160e01b600052601160045260246000fd5b80825b6001851115612a4d57808604811115612a2c57612a2c6129f8565b6001851615612a3a57908102905b8002612a468560011c90565b9450612a11565b94509492505050565b600082612a6557506001610c92565b81612a7257506000610c92565b8160018114612a885760028114612a9257612abf565b6001915050610c92565b60ff841115612aa357612aa36129f8565b8360020a915084821115612ab957612ab96129f8565b50610c92565b5060208310610133831016604e8410600b8410161715612af2575081810a83811115612aed57612aed6129f8565b610c92565b612aff8484846001612a0e565b92509050818404811115612b1557612b156129f8565b0292915050565b600060ff8216915060ff83169250610c9260ff8484612a56565b600060ff8216915060ff831692508160ff0483118215151615612b5b57612b5b6129f8565b500290565b6000816000190483118215151615612b5b57612b5b6129f8565b60008219821115612b8d57612b8d6129f8565b500190565b60006000198203612ba557612ba56129f8565b5060010190565b603181526000602082017f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f8152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b60208201529150612859565b6020808252810161075d81612bac565b805161075d81612338565b600060208284031215612c2a57612c2a600080fd5b6000610bb08484612c0a565b60408101612c448285612321565b610c926020830184612321565b805161075d81612618565b600060208284031215612c7157612c71600080fd5b6000610bb08484612c51565b60208082527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572910190815260005b5060200190565b6020808252810161075d81612c7d565b601081526000602082016f21b7b73a3930b1ba1039b2b0b632b21760811b81529150612cab565b6020808252810161075d81612cc2565b602981526000602082017f4552433732313a206f776e657220717565727920666f72206e6f6e657869737481526832b73a103a37b5b2b760b91b60208201529150612859565b6020808252810161075d81612cf9565b602a81526000602082017f4552433732313a2062616c616e636520717565727920666f7220746865207a65815269726f206164647265737360b01b60208201529150612859565b6020808252810161075d81612d4f565b600060ff83169250610c926000198484612a56565b600e81526000602082016d496e76616c696420636f6f72647360901b81529150612cab565b6020808252810161075d81612dbb565b600082821015612e0257612e026129f8565b500390565b634e487b7160e01b600052603260045260246000fd5b60128152600060208201714d696e74206973206e6f742061637469766560701b81529150612cab565b6020808252810161075d81612e1d565b60128152600060208201711399595908195e1858dd081c185e5b595b9d60721b81529150612cab565b6020808252810161075d81612e56565b602b81526000602082017f596f75206e65656420746f206f776e20746865204469707479636820746f206d81526a0696e7420746865205046560ac1b60208201529150612859565b6020808252810161075d81612e8f565b634e487b7160e01b600052601260045260246000fd5b600082612f0c57612f0c612ee7565b500490565b600082612f2057612f20612ee7565b500690565b6014815260006020820173151bdad95b88191bd95cc81b9bdd08195e1a5cdd60621b81529150612cab565b6020808252810161075d81612f25565b60808101612f6e8287612389565b612f7b6020830186612207565b612f886040830185612389565b610f3c6060830184612389565b6000612fa36124f0846126b9565b905082815260208101848484011115612fbe57612fbe600080fd5b612723848285612280565b600082601f830112612fdd57612fdd600080fd5b8151610bb0848260208601612f95565b60006001600160401b0382111561300657613006612461565b5060200290565b805161075d8161221f565b60006130266124f084612fed565b9050806020840283018581111561303f5761303f600080fd5b835b818110156125385780613054888261300d565b84525060209283019201613041565b600082601f83011261307757613077600080fd5b6002610bb0848285613018565b60008060006080848603121561309c5761309c600080fd5b83516001600160401b038111156130b5576130b5600080fd5b6130c186828701612fc9565b93505060206130d286828701613063565b925050606061227686828701612c51565b6000602082840312156130f8576130f8600080fd5b6000610bb0848461300d565b602681526000602082017f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206181526564647265737360d01b60208201529150612859565b6020808252810161075d81613104565b602c81526000602082017f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657881526b34b9ba32b73a103a37b5b2b760a11b60208201529150612859565b6020808252810161075d81613157565b602581526000602082017f4552433732313a207472616e736665722066726f6d20696e636f72726563742081526437bbb732b960d91b60208201529150612859565b6020808252810161075d816131b0565b602481526000602082017f4552433732313a207472616e7366657220746f20746865207a65726f206164648152637265737360e01b60208201529150612859565b6020808252810161075d81613202565b601d81526000602082017f416464726573733a20696e73756666696369656e742062616c616e636500000081529150612cab565b6020808252810161075d81613253565b60008161075d565b603a81526000602082017f416464726573733a20756e61626c6520746f2073656e642076616c75652c207281527f6563697069656e74206d6179206861766520726576657274656400000000000060208201529150612859565b6020808252810161075d8161329f565b60208082527f4552433732313a206d696e7420746f20746865207a65726f206164647265737391019081526000612cab565b6020808252810161075d81613309565b601c81526000602082017f4552433732313a20746f6b656e20616c7265616479206d696e7465640000000081529150612cab565b6020808252810161075d8161334b565b601981526000602082017f4552433732313a20617070726f766520746f2063616c6c65720000000000000081529150612cab565b6020808252810161075d8161338f565b603281526000602082017f4552433732313a207472616e7366657220746f206e6f6e20455243373231526581527131b2b4bb32b91034b6b83632b6b2b73a32b960711b60208201529150612859565b6020808252810161075d816133d3565b60006020828403121561344757613447600080fd5b81516001600160401b0381111561346057613460600080fd5b610bb084828501612fc9565b607b60f81b81526000612ba5565b6000613484825190565b613492818560208601612280565b9290920192915050565b701116113232b9b1b934b83a34b7b7111d1160791b815260005b5060110190565b70222c2261747472696275746573223a205b60781b815260006134b6565b7f2274726169745f74797065223a202244697074796368205469746c65222c0000815260005b50601e0190565b627d2c7b60e81b815260005b5060030190565b7f2274726169745f74797065223a20224469707479636820496e646578222c000081526000613501565b601160f91b81526000612ba5565b7f2274726169745f74797065223a2022436f6c756d6e20496e646578222c000000815260005b50601d0190565b627d5d7d60e81b81526000613514565b600061359b8261346c565b67113730b6b2911d1160c11b815260080191506135b8828c61347a565b91506135c38261349c565b91506135cf828b61347a565b7f222c22696d6167655f64617461223a22646174613a696d6167652f7376672b788152691b5b0ed8985cd94d8d0b60b21b6020820152602a019150613614828a61347a565b7111161132bc3a32b93730b62fbab936111d1160711b8152601201915061363b828961347a565b9150613646826134bd565b91506136518261346c565b915061365c826134db565b680113b30b63ab2911d160bd1b8152600901915061367a828861347a565b915061368582613508565b91506136908261351b565b69113b30b63ab2911d101160b11b8152600a0191506136af828761347a565b91506136ba82613545565b91506136c582613508565b7f2274726169745f74797065223a2022526f7720496e646578222c000000000000815269113b30b63ab2911d101160b11b601a820152602401915061370a828661347a565b915061371582613545565b915061372082613508565b915061372b82613553565b69113b30b63ab2911d101160b11b8152600a01915061374a828561347a565b915061375582613545565b915061376082613508565b7f2274726169745f74797065223a20225046502054797065222c00000000000000815269113b30b63ab2911d101160b11b601982015260230191506137a5828461347a565b91506137b082613545565b91506137bb82613580565b9b9a5050505050505050505050565b7f646174613a6170706c69636174696f6e2f6a736f6e3b6261736536342c00000081526000613579565b60006137ff826137ca565b9150610c92828461347a565b608081016138198287612321565b6138266020830186612321565b6138336040830185612389565b818103606083015261103981846122ac565b805161075d816121c4565b60006020828403121561386557613865600080fd5b6000610bb08484613845565b6f4f43204d6172696c796e20504650202360801b81526000601082016137ff56fe68747470733a2f2f63617073756c6532312e636f6d2f636f6c6c656374696f6e732f6f632d6d6172696c796e2d706670734142434445464748494a4b4c4d4e4f505152535455565758595a6162636465666768696a6b6c6d6e6f707172737475767778797a303132333435363738392b2f4f43204d6172696c796e205046507320697320612073756270726f6a656374206f6620746865204f43204d6172696c796e2044697074796368732e20496620796f752063616e277420646563696465206265747765656e20312f3120617274776f726b20616e6420504650204e4654732c20696e20746869732070726f6a65637420796f752068617665207468656d20626f746820746f6765746865722e5c6e5c6e596f752063616e206d696e7420616e204f43204d6172696c796e205046502066726f6d20612073696e676c6520737175617265206f662061204469707479636820796f75206f776e2c20776865726520746865792077696c6c206265207265706c61636564206279206120706c616365686f6c6465722c20616c6c20746865207768696c652065646974696e6720746865206f726967696e616c20617274776f726b2e2054686520504650732063616e20616c736f20626520707574206261636b20696e2074686520617274776f726b207468726f756768206275726e696e672ea264697066735822122033d0755a88851d3d9e4aba953a9178692e3ca675e5a7c153b800530c08996a4064736f6c634300080d0033

Deployed Bytecode

0x6080604052600436106102255760003560e01c806370a0823111610123578063a68525c6116100ab578063cf3484251161006f578063cf34842514610646578063d297765f14610666578063d5abeb0114610693578063e985e9c5146106a8578063f2fde38b146106f157600080fd5b8063a68525c614610596578063a87f30ef146105c5578063b6501637146105e5578063b88d4fde14610606578063c87b56dd1461062657600080fd5b80638da5cb5b116100f25780638da5cb5b1461050357806395d89b411461052157806398083ff4146105365780639e928b3f14610563578063a22cb4651461057657600080fd5b806370a082311461048e578063715018a6146104ae57806372a171eb146104c3578063774102d5146104e357600080fd5b80633ccfd60b116101b157806359c74f291161017557806359c74f291461040e5780635b92ac0d146104235780635b9db898146104445780636352211e1461045957806368bd580e1461047957600080fd5b80633ccfd60b1461037957806342842e0e1461038e5780634b06331a146103ae578063514e56ff146103ce57806355064d85146103ee57600080fd5b8063095ea7b3116101f8578063095ea7b3146102d15780631a814b46146102f157806323b872dd1461031e5780632c7558101461033e5780633ba523c71461035e57600080fd5b806301ffc9a71461022a57806305a100281461026057806306fdde0314610282578063081812fc146102a4575b600080fd5b34801561023657600080fd5b5061024a6102453660046121e6565b610711565b6040516102579190612211565b60405180910390f35b34801561026c57600080fd5b5061028061027b366004612230565b610763565b005b34801561028e57600080fd5b506102976107b1565b60405161025791906122de565b3480156102b057600080fd5b506102c46102bf3660046122ef565b610843565b604051610257919061232a565b3480156102dd57600080fd5b506102806102ec36600461234c565b610886565b3480156102fd57600080fd5b5061031161030c3660046122ef565b61090b565b604051610257919061238f565b34801561032a57600080fd5b5061028061033936600461239d565b6109f6565b34801561034a57600080fd5b5061024a61035936600461234c565b610a26565b34801561036a57600080fd5b506103116611c37937e0800081565b34801561038557600080fd5b50610280610bb8565b34801561039a57600080fd5b506102806103a936600461239d565b610bee565b3480156103ba57600080fd5b506102806103c93660046123d2565b610c09565b3480156103da57600080fd5b506102976103e9366004612230565b610c7f565b3480156103fa57600080fd5b5061024a610409366004612230565b610c99565b34801561041a57600080fd5b50610280610cae565b34801561042f57600080fd5b5060065461024a90600160a81b900460ff1681565b34801561045057600080fd5b50610297610cf9565b34801561046557600080fd5b506102c46104743660046122ef565b610d15565b34801561048557600080fd5b50610280610d4a565b34801561049a57600080fd5b506103116104a93660046123d2565b610db3565b3480156104ba57600080fd5b50610280610df7565b3480156104cf57600080fd5b5061024a6104de366004612230565b610e2b565b3480156104ef57600080fd5b506103116104fe366004612230565b610f45565b34801561050f57600080fd5b506006546001600160a01b03166102c4565b34801561052d57600080fd5b50610297611043565b34801561054257600080fd5b506105566105513660046122ef565b611052565b6040516102579190612450565b610280610571366004612566565b611194565b34801561058257600080fd5b5061028061059136600461262b565b6112a7565b3480156105a257600080fd5b506105b66105b13660046122ef565b6112b6565b6040516102579392919061265e565b3480156105d157600080fd5b506103116105e0366004612686565b6113cb565b3480156105f157600080fd5b5060065461024a90600160a01b900460ff1681565b34801561061257600080fd5b5061028061062136600461274f565b611410565b34801561063257600080fd5b506102976106413660046122ef565b611442565b34801561065257600080fd5b506102976106613660046122ef565b611472565b34801561067257600080fd5b50600754610686906001600160a01b031681565b60405161025791906127e0565b34801561069f57600080fd5b50610311611516565b3480156106b457600080fd5b5061024a6106c33660046127ee565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b3480156106fd57600080fd5b5061028061070c3660046123d2565b611637565b60006001600160e01b031982166380ac58cd60e01b148061074257506001600160e01b03198216635b5e139f60e01b145b8061075d57506301ffc9a760e01b6001600160e01b03198316145b92915050565b6000610770848484610f45565b905061077d335b82611693565b6107a25760405162461bcd60e51b815260040161079990612860565b60405180910390fd5b6107ab81611734565b50505050565b6060600080546107c090612886565b80601f01602080910402602001604051908101604052809291908181526020018280546107ec90612886565b80156108395780601f1061080e57610100808354040283529160200191610839565b820191906000526020600020905b81548152906001019060200180831161081c57829003601f168201915b5050505050905090565b600061084e826117cf565b61086a5760405162461bcd60e51b8152600401610799906128fb565b506000908152600460205260409020546001600160a01b031690565b600061089182610d15565b9050806001600160a01b0316836001600160a01b0316036108c45760405162461bcd60e51b815260040161079990612949565b336001600160a01b03821614806108e057506108e081336106c3565b6108fc5760405162461bcd60e51b8152600401610799906129b3565b61090683836117ec565b505050565b6000806002600760009054906101000a90046001600160a01b03166001600160a01b031663a48359ec6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610963573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061098791906129d7565b6109919190612b1c565b61099c906002612b36565b60ff16905060006109ad8285612b60565b9050805b6109bb8383612b7a565b8110156109ee576109cb816117cf565b156109dc576109d984612b92565b93505b806109e681612b92565b9150506109b1565b505050919050565b6109ff33610777565b610a1b5760405162461bcd60e51b815260040161079990612bfa565b61090683838361185a565b6007546040516331a9108f60e11b815260009182916001600160a01b0390911690636352211e90610a5b90869060040161238f565b602060405180830381865afa158015610a78573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a9c9190612c15565b9050806001600160a01b0316846001600160a01b03161480610b37575060075460405163020604bf60e21b81526001600160a01b0380871692169063081812fc90610aeb90879060040161238f565b602060405180830381865afa158015610b08573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b2c9190612c15565b6001600160a01b0316145b80610bb0575060075460405163e985e9c560e01b81526001600160a01b039091169063e985e9c590610b6f9084908890600401612c36565b602060405180830381865afa158015610b8c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610bb09190612c5c565b949350505050565b6006546001600160a01b03163314610be25760405162461bcd60e51b815260040161079990612cb2565b610bec334761197c565b565b61090683838360405180602001604052806000815250611410565b6006546001600160a01b03163314610c335760405162461bcd60e51b815260040161079990612cb2565b600654600160a01b900460ff1615610c5d5760405162461bcd60e51b815260040161079990612ce9565b600780546001600160a01b0319166001600160a01b0392909216919091179055565b6060610c8f610661858585610f45565b90505b9392505050565b6000610c8f610ca9858585610f45565b6117cf565b6006546001600160a01b03163314610cd85760405162461bcd60e51b815260040161079990612cb2565b6006805460ff60a81b198116600160a81b9182900460ff1615909102179055565b6040518060600160405280603181526020016138936031913981565b6000818152600260205260408120546001600160a01b03168061075d5760405162461bcd60e51b815260040161079990612d3f565b6006546001600160a01b03163314610d745760405162461bcd60e51b815260040161079990612cb2565b600654600160a01b900460ff1615610d9e5760405162461bcd60e51b815260040161079990612ce9565b6006805460ff60a01b1916600160a01b179055565b60006001600160a01b038216610ddb5760405162461bcd60e51b815260040161079990612d96565b506001600160a01b031660009081526003602052604090205490565b6006546001600160a01b03163314610e215760405162461bcd60e51b815260040161079990612cb2565b610bec6000611a18565b600080600760009054906101000a90046001600160a01b03166001600160a01b031663a48359ec6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610e81573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ea591906129d7565b600754604051634f558e7960e01b815260ff9290921692506001600160a01b031690634f558e7990610edb90889060040161238f565b602060405180830381865afa158015610ef8573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f1c9190612c5c565b8015610f2757508084105b8015610f3c5750610f39816002612b60565b83105b95945050505050565b600080600760009054906101000a90046001600160a01b03166001600160a01b031663a48359ec6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610f9b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610fbf91906129d7565b60ff1690506000610fd1600283612da6565b610fdc906002612b60565b9050610fe9868686610e2b565b6110055760405162461bcd60e51b815260040161079990612de0565b83611011836002612b60565b61101b9087612b60565b6110258389612b60565b61102f9190612b7a565b6110399190612b7a565b9695505050505050565b6060600180546107c090612886565b606060006002600760009054906101000a90046001600160a01b03166001600160a01b031663a48359ec6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156110ab573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110cf91906129d7565b6110d99190612b1c565b6110e4906002612b36565b60ff169050806001600160401b0381111561110157611101612461565b60405190808252806020026020018201604052801561112a578160200160208202803683370190505b50915060006111398285612b60565b9050805b6111478383612b7a565b8110156109ee57611157816117cf565b846111628484612df0565b8151811061117257611172612e07565b911515602092830291909101909101528061118c81612b92565b91505061113d565b600654600160a81b900460ff166111bd5760405162461bcd60e51b815260040161079990612e46565b6111c88351336113cb565b34146111e65760405162461bcd60e51b815260040161079990612e7f565b60005b83518110156112a057600084828151811061120657611206612e07565b60200260200101519050600084838151811061122457611224612e07565b60200260200101519050600084848151811061124257611242612e07565b602002602001015190506000611259848484610f45565b90506112653385610a26565b6112815760405162461bcd60e51b815260040161079990612ed7565b61128b8982611a6a565b505050508061129990612b92565b90506111e9565b5050505050565b6112b2338383611b3d565b5050565b600080600080600760009054906101000a90046001600160a01b03166001600160a01b031663a48359ec6040518163ffffffff1660e01b8152600401602060405180830381865afa15801561130f573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061133391906129d7565b60ff1690506000611345600283612da6565b611350906002612b60565b905061135c8187612efd565b9450600061136a8288612f11565b9050611377836002612b60565b6113819082612efd565b945061138e836002612b60565b6113989082612f11565b93506113a5868686610e2b565b6113c15760405162461bcd60e51b815260040161079990612de0565b5050509193909250565b60006113df6006546001600160a01b031690565b6001600160a01b0316826001600160a01b0316036113ff5750600061075d565b610c926611c37937e0800084612b60565b61141a3383611693565b6114365760405162461bcd60e51b815260040161079990612bfa565b6107ab84848484611bdf565b606061144d826117cf565b6114695760405162461bcd60e51b815260040161079990612f50565b61075d82611c12565b60606000806000611482856112b6565b6007546040516338331b3760e11b815293965091945092506000916001600160a01b0390911690637066366e906114c490879060019088908890600401612f60565b600060405180830381865afa1580156114e1573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526115099190810190613084565b5090979650505050505050565b600080600760009054906101000a90046001600160a01b03166001600160a01b031663a48359ec6040518163ffffffff1660e01b8152600401602060405180830381865afa15801561156c573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061159091906129d7565b60ff16905060006115a2600283612da6565b6115ad906002612b60565b9050600760009054906101000a90046001600160a01b03166001600160a01b031663d5abeb016040518163ffffffff1660e01b8152600401602060405180830381865afa158015611602573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061162691906130e3565b6116309082612b60565b9250505090565b6006546001600160a01b031633146116615760405162461bcd60e51b815260040161079990612cb2565b6001600160a01b0381166116875760405162461bcd60e51b815260040161079990613147565b61169081611a18565b50565b600061169e826117cf565b6116ba5760405162461bcd60e51b8152600401610799906131a0565b60006116c583610d15565b9050806001600160a01b0316846001600160a01b031614806117005750836001600160a01b03166116f584610843565b6001600160a01b0316145b80610bb057506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff16610bb0565b600061173f82610d15565b905061174c6000836117ec565b6001600160a01b0381166000908152600360205260408120805460019290611775908490612df0565b909155505060008281526002602052604080822080546001600160a01b0319169055518391906001600160a01b038416907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a45050565b6000908152600260205260409020546001600160a01b0316151590565b600081815260046020526040902080546001600160a01b0319166001600160a01b038416908117909155819061182182610d15565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b826001600160a01b031661186d82610d15565b6001600160a01b0316146118935760405162461bcd60e51b8152600401610799906131f2565b6001600160a01b0382166118b95760405162461bcd60e51b815260040161079990613243565b6118c46000826117ec565b6001600160a01b03831660009081526003602052604081208054600192906118ed908490612df0565b90915550506001600160a01b038216600090815260036020526040812080546001929061191b908490612b7a565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b8047101561199c5760405162461bcd60e51b815260040161079990613287565b6000826001600160a01b0316826040516119b590613297565b60006040518083038185875af1925050503d80600081146119f2576040519150601f19603f3d011682016040523d82523d6000602084013e6119f7565b606091505b50509050806109065760405162461bcd60e51b8152600401610799906132f9565b600680546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b038216611a905760405162461bcd60e51b81526004016107999061333b565b611a99816117cf565b15611ab65760405162461bcd60e51b81526004016107999061337f565b6001600160a01b0382166000908152600360205260408120805460019290611adf908490612b7a565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b816001600160a01b0316836001600160a01b031603611b6e5760405162461bcd60e51b8152600401610799906133c3565b6001600160a01b0383811660008181526005602090815260408083209487168084529490915290819020805460ff1916851515179055517f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3190611bd2908590612211565b60405180910390a3505050565b611bea84848461185a565b611bf684848484611e2e565b6107ab5760405162461bcd60e51b815260040161079990613422565b60606000806000611c22856112b6565b6007546040516338331b3760e11b8152939650919450925060009182916001600160a01b031690637066366e90611c6490889060019089908990600401612f60565b600060405180830381865afa158015611c81573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611ca99190810190613084565b9250509150611e03611cba88611f2f565b604051806101c0016040528061018381526020016139046101839139611cdf85611f60565b6040518060600160405280603181526020016138936031913960075460405163c0b092cd60e01b81526001600160a01b039091169063c0b092cd90611d28908d9060040161238f565b600060405180830381865afa158015611d45573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611d6d9190810190613432565b611d768b6120c4565b611d7f8b6120c4565b611d888b6120c4565b89611db8576040518060400160405280600d81526020016c426c61636b202620576869746560981b815250611dd7565b6040518060400160405280600581526020016421b7b637b960d91b8152505b604051602001611def99989796959493929190613590565b604051602081830303815290604052611f60565b604051602001611e1391906137f4565b60405160208183030381529060405295505050505050919050565b60006001600160a01b0384163b15611f2457604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290611e7290339089908890889060040161380b565b6020604051808303816000875af1925050508015611ead575060408051601f3d908101601f19168201909252611eaa91810190613850565b60015b611f0a573d808015611edb576040519150601f19603f3d011682016040523d82523d6000602084013e611ee0565b606091505b508051600003611f025760405162461bcd60e51b815260040161079990613422565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050610bb0565b506001949350505050565b6060611f3a826120c4565b604051602001611f4a9190613871565b6040516020818303038152906040529050919050565b60608151600003611f7f57505060408051602081019091526000815290565b60006040518060600160405280604081526020016138c46040913990506000600384516002611fae9190612b7a565b611fb89190612efd565b611fc3906004612b60565b90506000611fd2826020612b7a565b6001600160401b03811115611fe957611fe9612461565b6040519080825280601f01601f191660200182016040528015612013576020820181803683370190505b509050818152600183018586518101602084015b8183101561207f576003830192508251603f8160121c168501518253600182019150603f81600c1c168501518253600182019150603f8160061c168501518253600182019150603f8116850151825350600101612027565b60038951066001811461209957600281146120aa576120b6565b613d3d60f01b6001198301526120b6565b603d60f81b6000198301525b509398975050505050505050565b6060816000036120eb5750506040805180820190915260018152600360fc1b602082015290565b8160005b811561211557806120ff81612b92565b915061210e9050600a83612efd565b91506120ef565b6000816001600160401b0381111561212f5761212f612461565b6040519080825280601f01601f191660200182016040528015612159576020820181803683370190505b5090505b8415610bb05761216e600183612df0565b915061217b600a86612f11565b612186906030612b7a565b60f81b81838151811061219b5761219b612e07565b60200101906001600160f81b031916908160001a9053506121bd600a86612efd565b945061215d565b6001600160e01b031981165b811461169057600080fd5b803561075d816121c4565b6000602082840312156121fb576121fb600080fd5b6000610bb084846121db565b8015155b82525050565b6020810161075d8284612207565b806121d0565b803561075d8161221f565b60008060006060848603121561224857612248600080fd5b60006122548686612225565b935050602061226586828701612225565b925050604061227686828701612225565b9150509250925092565b60005b8381101561229b578181015183820152602001612283565b838111156107ab5750506000910152565b60006122b6825190565b8084526020840193506122cd818560208601612280565b601f01601f19169290920192915050565b60208082528101610c9281846122ac565b60006020828403121561230457612304600080fd5b6000610bb08484612225565b60006001600160a01b03821661075d565b61220b81612310565b6020810161075d8284612321565b6121d081612310565b803561075d81612338565b6000806040838503121561236257612362600080fd5b600061236e8585612341565b925050602061237f85828601612225565b9150509250929050565b8061220b565b6020810161075d8284612389565b6000806000606084860312156123b5576123b5600080fd5b60006123c18686612341565b935050602061226586828701612341565b6000602082840312156123e7576123e7600080fd5b6000610bb08484612341565b60006123ff8383612207565b505060200190565b6000612411825190565b80845260209384019383018060005b8381101561244557815161243488826123f3565b975060208301925050600101612420565b509495945050505050565b60208082528101610c928184612407565b634e487b7160e01b600052604160045260246000fd5b601f19601f83011681018181106001600160401b038211171561249c5761249c612461565b6040525050565b60006124ae60405190565b90506124ba8282612477565b919050565b60006001600160401b038211156124d8576124d8612461565b5060209081020190565b60006124f56124f0846124bf565b6124a3565b8381529050602080820190840283018581111561251457612514600080fd5b835b8181101561253857806125298882612225565b84525060209283019201612516565b5050509392505050565b600082601f83011261255657612556600080fd5b8135610bb08482602086016124e2565b6000806000806080858703121561257f5761257f600080fd5b600061258b8787612341565b94505060208501356001600160401b038111156125aa576125aa600080fd5b6125b687828801612542565b93505060408501356001600160401b038111156125d5576125d5600080fd5b6125e187828801612542565b92505060608501356001600160401b0381111561260057612600600080fd5b61260c87828801612542565b91505092959194509250565b8015156121d0565b803561075d81612618565b6000806040838503121561264157612641600080fd5b600061264d8585612341565b925050602061237f85828601612620565b6060810161266c8286612389565b6126796020830185612389565b610bb06040830184612389565b6000806040838503121561269c5761269c600080fd5b60006126a88585612225565b925050602061237f85828601612341565b60006001600160401b038211156126d2576126d2612461565b601f19601f83011660200192915050565b82818337506000910152565b60006126fd6124f0846126b9565b90508281526020810184848401111561271857612718600080fd5b6127238482856126e3565b509392505050565b600082601f83011261273f5761273f600080fd5b8135610bb08482602086016126ef565b6000806000806080858703121561276857612768600080fd5b60006127748787612341565b945050602061278587828801612341565b935050604061279687828801612225565b92505060608501356001600160401b038111156127b5576127b5600080fd5b61260c8782880161272b565b600061075d82612310565b600061075d826127c1565b61220b816127cc565b6020810161075d82846127d7565b6000806040838503121561280457612804600080fd5b60006126a88585612341565b603081526000602082017f4552433732314275726e61626c653a2063616c6c6572206973206e6f74206f7781526f1b995c881b9bdc88185c1c1c9bdd995960821b602082015291505b5060400190565b6020808252810161075d81612810565b634e487b7160e01b600052602260045260246000fd5b60028104600182168061289a57607f821691505b6020821081036128ac576128ac612870565b50919050565b602c81526000602082017f4552433732313a20617070726f76656420717565727920666f72206e6f6e657881526b34b9ba32b73a103a37b5b2b760a11b60208201529150612859565b6020808252810161075d816128b2565b602181526000602082017f4552433732313a20617070726f76616c20746f2063757272656e74206f776e658152603960f91b60208201529150612859565b6020808252810161075d8161290b565b603881526000602082017f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7781527f6e6572206e6f7220617070726f76656420666f7220616c6c000000000000000060208201529150612859565b6020808252810161075d81612959565b60ff81166121d0565b805161075d816129c3565b6000602082840312156129ec576129ec600080fd5b6000610bb084846129cc565b634e487b7160e01b600052601160045260246000fd5b80825b6001851115612a4d57808604811115612a2c57612a2c6129f8565b6001851615612a3a57908102905b8002612a468560011c90565b9450612a11565b94509492505050565b600082612a6557506001610c92565b81612a7257506000610c92565b8160018114612a885760028114612a9257612abf565b6001915050610c92565b60ff841115612aa357612aa36129f8565b8360020a915084821115612ab957612ab96129f8565b50610c92565b5060208310610133831016604e8410600b8410161715612af2575081810a83811115612aed57612aed6129f8565b610c92565b612aff8484846001612a0e565b92509050818404811115612b1557612b156129f8565b0292915050565b600060ff8216915060ff83169250610c9260ff8484612a56565b600060ff8216915060ff831692508160ff0483118215151615612b5b57612b5b6129f8565b500290565b6000816000190483118215151615612b5b57612b5b6129f8565b60008219821115612b8d57612b8d6129f8565b500190565b60006000198203612ba557612ba56129f8565b5060010190565b603181526000602082017f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f8152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b60208201529150612859565b6020808252810161075d81612bac565b805161075d81612338565b600060208284031215612c2a57612c2a600080fd5b6000610bb08484612c0a565b60408101612c448285612321565b610c926020830184612321565b805161075d81612618565b600060208284031215612c7157612c71600080fd5b6000610bb08484612c51565b60208082527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572910190815260005b5060200190565b6020808252810161075d81612c7d565b601081526000602082016f21b7b73a3930b1ba1039b2b0b632b21760811b81529150612cab565b6020808252810161075d81612cc2565b602981526000602082017f4552433732313a206f776e657220717565727920666f72206e6f6e657869737481526832b73a103a37b5b2b760b91b60208201529150612859565b6020808252810161075d81612cf9565b602a81526000602082017f4552433732313a2062616c616e636520717565727920666f7220746865207a65815269726f206164647265737360b01b60208201529150612859565b6020808252810161075d81612d4f565b600060ff83169250610c926000198484612a56565b600e81526000602082016d496e76616c696420636f6f72647360901b81529150612cab565b6020808252810161075d81612dbb565b600082821015612e0257612e026129f8565b500390565b634e487b7160e01b600052603260045260246000fd5b60128152600060208201714d696e74206973206e6f742061637469766560701b81529150612cab565b6020808252810161075d81612e1d565b60128152600060208201711399595908195e1858dd081c185e5b595b9d60721b81529150612cab565b6020808252810161075d81612e56565b602b81526000602082017f596f75206e65656420746f206f776e20746865204469707479636820746f206d81526a0696e7420746865205046560ac1b60208201529150612859565b6020808252810161075d81612e8f565b634e487b7160e01b600052601260045260246000fd5b600082612f0c57612f0c612ee7565b500490565b600082612f2057612f20612ee7565b500690565b6014815260006020820173151bdad95b88191bd95cc81b9bdd08195e1a5cdd60621b81529150612cab565b6020808252810161075d81612f25565b60808101612f6e8287612389565b612f7b6020830186612207565b612f886040830185612389565b610f3c6060830184612389565b6000612fa36124f0846126b9565b905082815260208101848484011115612fbe57612fbe600080fd5b612723848285612280565b600082601f830112612fdd57612fdd600080fd5b8151610bb0848260208601612f95565b60006001600160401b0382111561300657613006612461565b5060200290565b805161075d8161221f565b60006130266124f084612fed565b9050806020840283018581111561303f5761303f600080fd5b835b818110156125385780613054888261300d565b84525060209283019201613041565b600082601f83011261307757613077600080fd5b6002610bb0848285613018565b60008060006080848603121561309c5761309c600080fd5b83516001600160401b038111156130b5576130b5600080fd5b6130c186828701612fc9565b93505060206130d286828701613063565b925050606061227686828701612c51565b6000602082840312156130f8576130f8600080fd5b6000610bb0848461300d565b602681526000602082017f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206181526564647265737360d01b60208201529150612859565b6020808252810161075d81613104565b602c81526000602082017f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657881526b34b9ba32b73a103a37b5b2b760a11b60208201529150612859565b6020808252810161075d81613157565b602581526000602082017f4552433732313a207472616e736665722066726f6d20696e636f72726563742081526437bbb732b960d91b60208201529150612859565b6020808252810161075d816131b0565b602481526000602082017f4552433732313a207472616e7366657220746f20746865207a65726f206164648152637265737360e01b60208201529150612859565b6020808252810161075d81613202565b601d81526000602082017f416464726573733a20696e73756666696369656e742062616c616e636500000081529150612cab565b6020808252810161075d81613253565b60008161075d565b603a81526000602082017f416464726573733a20756e61626c6520746f2073656e642076616c75652c207281527f6563697069656e74206d6179206861766520726576657274656400000000000060208201529150612859565b6020808252810161075d8161329f565b60208082527f4552433732313a206d696e7420746f20746865207a65726f206164647265737391019081526000612cab565b6020808252810161075d81613309565b601c81526000602082017f4552433732313a20746f6b656e20616c7265616479206d696e7465640000000081529150612cab565b6020808252810161075d8161334b565b601981526000602082017f4552433732313a20617070726f766520746f2063616c6c65720000000000000081529150612cab565b6020808252810161075d8161338f565b603281526000602082017f4552433732313a207472616e7366657220746f206e6f6e20455243373231526581527131b2b4bb32b91034b6b83632b6b2b73a32b960711b60208201529150612859565b6020808252810161075d816133d3565b60006020828403121561344757613447600080fd5b81516001600160401b0381111561346057613460600080fd5b610bb084828501612fc9565b607b60f81b81526000612ba5565b6000613484825190565b613492818560208601612280565b9290920192915050565b701116113232b9b1b934b83a34b7b7111d1160791b815260005b5060110190565b70222c2261747472696275746573223a205b60781b815260006134b6565b7f2274726169745f74797065223a202244697074796368205469746c65222c0000815260005b50601e0190565b627d2c7b60e81b815260005b5060030190565b7f2274726169745f74797065223a20224469707479636820496e646578222c000081526000613501565b601160f91b81526000612ba5565b7f2274726169745f74797065223a2022436f6c756d6e20496e646578222c000000815260005b50601d0190565b627d5d7d60e81b81526000613514565b600061359b8261346c565b67113730b6b2911d1160c11b815260080191506135b8828c61347a565b91506135c38261349c565b91506135cf828b61347a565b7f222c22696d6167655f64617461223a22646174613a696d6167652f7376672b788152691b5b0ed8985cd94d8d0b60b21b6020820152602a019150613614828a61347a565b7111161132bc3a32b93730b62fbab936111d1160711b8152601201915061363b828961347a565b9150613646826134bd565b91506136518261346c565b915061365c826134db565b680113b30b63ab2911d160bd1b8152600901915061367a828861347a565b915061368582613508565b91506136908261351b565b69113b30b63ab2911d101160b11b8152600a0191506136af828761347a565b91506136ba82613545565b91506136c582613508565b7f2274726169745f74797065223a2022526f7720496e646578222c000000000000815269113b30b63ab2911d101160b11b601a820152602401915061370a828661347a565b915061371582613545565b915061372082613508565b915061372b82613553565b69113b30b63ab2911d101160b11b8152600a01915061374a828561347a565b915061375582613545565b915061376082613508565b7f2274726169745f74797065223a20225046502054797065222c00000000000000815269113b30b63ab2911d101160b11b601982015260230191506137a5828461347a565b91506137b082613545565b91506137bb82613580565b9b9a5050505050505050505050565b7f646174613a6170706c69636174696f6e2f6a736f6e3b6261736536342c00000081526000613579565b60006137ff826137ca565b9150610c92828461347a565b608081016138198287612321565b6138266020830186612321565b6138336040830185612389565b818103606083015261103981846122ac565b805161075d816121c4565b60006020828403121561386557613865600080fd5b6000610bb08484613845565b6f4f43204d6172696c796e20504650202360801b81526000601082016137ff56fe68747470733a2f2f63617073756c6532312e636f6d2f636f6c6c656374696f6e732f6f632d6d6172696c796e2d706670734142434445464748494a4b4c4d4e4f505152535455565758595a6162636465666768696a6b6c6d6e6f707172737475767778797a303132333435363738392b2f4f43204d6172696c796e205046507320697320612073756270726f6a656374206f6620746865204f43204d6172696c796e2044697074796368732e20496620796f752063616e277420646563696465206265747765656e20312f3120617274776f726b20616e6420504650204e4654732c20696e20746869732070726f6a65637420796f752068617665207468656d20626f746820746f6765746865722e5c6e5c6e596f752063616e206d696e7420616e204f43204d6172696c796e205046502066726f6d20612073696e676c6520737175617265206f662061204469707479636820796f75206f776e2c20776865726520746865792077696c6c206265207265706c61636564206279206120706c616365686f6c6465722c20616c6c20746865207768696c652065646974696e6720746865206f726967696e616c20617274776f726b2e2054686520504650732063616e20616c736f20626520707574206261636b20696e2074686520617274776f726b207468726f756768206275726e696e672ea264697066735822122033d0755a88851d3d9e4aba953a9178692e3ca675e5a7c153b800530c08996a4064736f6c634300080d0033

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.