Contract 0x877BeC43Dd0E3555edA424E0E0601Ed0750aa3cC

 
Txn Hash
Method
Block
From
To
Value
0x1ae3d9c9dbef4643fa8362dd88a318cff632595865dc6929b5f53f55d3f302a5Set Approval For...156206592022-09-26 22:56:472 days 48 mins ago0x4bbe44332cb681124ebd99e1f50ce28d0c11f1fb IN  Jackson: JKSN Token0 Ether0.00034424 7.37515474
0x8162a09bab3cc7d82e856049311d209c940f8c0779b21427fbda30c58da9e6c6Set Approval For...156058802022-09-24 21:23:474 days 2 hrs agoENS Name jeremyshapero.eth IN  Jackson: JKSN Token0 Ether0.00067733 14.51134662
0x20f6ababafc5b3fa72375917d77446aa9ff0879800cff188776d5610007dcdb1Safe Transfer Fr...156026582022-09-24 10:35:594 days 13 hrs agoENS Name chiefsapien.eth IN  Jackson: JKSN Token0 Ether0.00053326 8.75695197
0xd4fb4a5559cab26a041aa5b96b69bc4c6bd0ec61d84a8feea1220f532bdee8acSet Approval For...155976702022-09-23 17:55:115 days 5 hrs agoENS Name headtrip.eth IN  Jackson: JKSN Token0 Ether0.00037778 8.09376009
0x4ec45ebc293b62b21b6157e5f86be71562a439bcfa6613723cd7284fd021ad05Set Approval For...155715022022-09-20 1:44:598 days 22 hrs agoENS Name headtrip.eth IN  Jackson: JKSN Token0 Ether0.00013403 5.41249758
0x22760184beaca2f95f47bdbf5c930fb8494a72e06c8b8682eab74a2d9353ed24Mint Eddies155648642022-09-19 3:23:479 days 20 hrs ago0x2736e0719ec3ce81953d0d020bfb7a493cfa64a8 IN  Jackson: JKSN Token0 Ether0.00025902 11.67082884
0x78983cdbe4e36d19f2d1dd8790019eecbdcecaa69ca91713c8ca33875a2061a8Mint Eddies155648612022-09-19 3:23:119 days 20 hrs ago0x2736e0719ec3ce81953d0d020bfb7a493cfa64a8 IN  Jackson: JKSN Token0 Ether0.00028172 12.69373761
0xc8ba885826569989ed21d3d9d2da9c4ddaa55b40a65fa0d09592d87fb5e1692cMint Eddies155648592022-09-19 3:22:479 days 20 hrs ago0x2736e0719ec3ce81953d0d020bfb7a493cfa64a8 IN  Jackson: JKSN Token0 Ether0.00026884 12.11331792
0x09329af22310c17e2e1412660701c29edfa2f7a340510cd3fc054c7091f69b37Mint Eddies155648492022-09-19 3:20:479 days 20 hrs ago0xa0fde12ec0de979898a56ce4fc5b3763ce7f8105 IN  Jackson: JKSN Token0 Ether0.00034106 15.36745996
0x6101ad48052ac08f8ba5d198dfd50ff85ead89d6fb77fefa4edee82ee2e7f76cMint Eddies155648452022-09-19 3:19:599 days 20 hrs ago0xa0fde12ec0de979898a56ce4fc5b3763ce7f8105 IN  Jackson: JKSN Token0 Ether0.00028626 12.89809174
0x33e13791ed7ac80fc4ca876b0c88b2aa64d6427127caf1c407e7e3afd4131bfdSafe Transfer Fr...155626452022-09-18 19:54:3510 days 3 hrs agoENS Name rekt.donosaur.eth IN  Jackson: JKSN Token0 Ether0.00028787 6.57498676
0xe391caadf0789ad7c777a0289f398bc4d53fedb53f08722dedd6f66aaea999d9Safe Transfer Fr...155579172022-09-18 4:00:4710 days 19 hrs ago0xe493d64dc68edae2a14fa67c6fc34e2a1566313b IN  Jackson: JKSN Token0 Ether0.00052828 6.82147429
0xc5826909fb6bdc492df407dc6d7c79ad47cc1fea63691c325187c8fb08fcb3a1Set Approval For...155498482022-09-17 0:50:5911 days 22 hrs ago0x42e29b946218e01a65e03469376b93ead1cae7dc IN  Jackson: JKSN Token0 Ether0.00023425 5.01865718
0x6e965f7e39f96c9c17c3f441646e0fc04e087f66e95988c86d516400926adabdMint Eddies155449302022-09-16 8:14:4712 days 15 hrs ago0xa0fde12ec0de979898a56ce4fc5b3763ce7f8105 IN  Jackson: JKSN Token0 Ether0.00024742 11.14839516
0x9c3d02e25130e2b50947dfe10084ea1e94e0bad86c423323f47d107538b92d6aMint Eddies155449262022-09-16 8:13:5912 days 15 hrs ago0xa0fde12ec0de979898a56ce4fc5b3763ce7f8105 IN  Jackson: JKSN Token0 Ether0.00022285 10.0413962
0x898cc334a0a54529c4a8ede220744d589883f5cdca56ccb2880b019967026518Mint Eddies155447572022-09-16 7:39:4712 days 16 hrs ago0x2736e0719ec3ce81953d0d020bfb7a493cfa64a8 IN  Jackson: JKSN Token0 Ether0.00021834 9.83797999
0x431bc8c4a52a6f0f6fc9cef7174fa1fa1f3009fdbf30958280bc0a5683c84de8Set Approval For...155415252022-09-15 20:40:2313 days 3 hrs agoENS Name spliffster.eth IN  Jackson: JKSN Token0 Ether0.00057268 12.26942894
0x84e3733df0ede9e5e8606b3a056801666afa0974613d1af832971ad35e1a4338Set Approval For...155375792022-09-15 7:20:3513 days 16 hrs ago0x76d7d04a0d48211876a0cf53c37969dd2c64ed29 IN  Jackson: JKSN Token0 Ether0.00290805 62.30309398
0x1ddcdd97631f708efa9b2026de57dd55b2be987652dfa5265de403ca593410c3Set Approval For...155373212022-09-15 6:27:1313 days 17 hrs ago0x64afc6808b091db4d6893e1d26c47977bd15fc3a IN  Jackson: JKSN Token0 Ether0.00085135 18.23959204
0x12be716a2407528e5a18dce424812ae4f22737d9340e089c8b6aab49d08eb034Set Approval For...155373042022-09-15 6:21:4013 days 17 hrs ago0x64afc6808b091db4d6893e1d26c47977bd15fc3a IN  Jackson: JKSN Token0 Ether0.0005201 11.12287274
0x709b673d0c790091385ca0d405d1bd5ac42fc43529a106587b8b740d04f8a722Set Approval For...155308582022-09-14 4:00:5514 days 19 hrs ago0x4d8ed0ee7b9cd59dfb2da97178f6683719080c5a IN  Jackson: JKSN Token0 Ether0.00032523 6.96795491
0x17ed67694501a0091ed4d7a9c02be19092720fbf37a3e8d36f31d3d51be44332Set Approval For...155305042022-09-14 2:33:4314 days 21 hrs agoENS Name rawrizard.eth IN  Jackson: JKSN Token0 Ether0.00038963 8.34764941
0x8795ec1ce1d912778d66bd416a18196f4f65e52bb9f0219b127ae96b8240ca48Set Approval For...155304072022-09-14 2:11:2914 days 21 hrs ago0x362c6b703c15bad64b08402b4d7e3d3ff844849d IN  Jackson: JKSN Token0 Ether0.00044988 16.80928499
0x93d02d7a59ede56c52e702e5301062679a5d4a8ea84c1fe9c500852551a1b42fSet Approval For...155304062022-09-14 2:10:5014 days 21 hrs ago0x362c6b703c15bad64b08402b4d7e3d3ff844849d IN  Jackson: JKSN Token0 Ether0.00037414 15.1083634
0xa062a9e6e4562452b9faef76ae84a68efa841b633c815b886aca23e715bdea6cSet Approval For...155293242022-09-13 21:57:0715 days 1 hr agoENS Name headtrip.eth IN  Jackson: JKSN Token0 Ether0.00174264 37.33487953
[ Download CSV Export 

OVERVIEW

##100% On Chain Dynamic ArtJackson is a dynamic art project where each canvas grows over time based on who mints from the collection. ! Be sure to click 'refresh metadata' to make sure the image of your Jackson is up-to-date on OpenSea. You can always view the live version...

Latest 1 internal transaction
Parent Txn Hash Block From To Value
0xaf3eb2f08731f100cb95b328d9ef01358ba0b6c22efb907349b2beefbbec1410152394422022-07-29 20:07:5461 days 3 hrs ago Jackson: JKSN Token0x02816799d8f93e24308b2760e2dc861b059f411e101.2 Ether
[ Download CSV Export 
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
Jackson

Compiler Version
v0.8.15+commit.e14f2714

Optimization Enabled:
Yes with 20 runs

Other Settings:
default evmVersion
File 1 of 13 : Jackson.sol
//SPDX-License-Identifier: MIT
// Copyright (c) 2022 Lawrence X. Rogers


pragma solidity ^0.8.15;

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

/// @title Jackson NFT 
/// @author Lawrence X Rogers
/// @notice This smart contract creates on-chain NFT art that grows over time based on who mints from the collection.
/// @dev a major theme in this contract was balancing mint cost (minimizing storage usage on mint) and enabling the viewing of canvases with 1000 brush strokes.
/// the only way found to concatenate large number of stroke data was to use abi.encodePacked on an array of bytes32.
/// While a stroke can be generated with only 8 bytes of data, making it tempting to store only this information on mint,
/// creating the stroke from this data 1000 times was too gas expensive, so the stroke is generated and stored as 3 bytes32 upon mint.

contract Jackson is ERC721, Ownable {
    using Strings for uint256;
    
    uint16 constant MAX_SUPPLY = 1000;
    uint8 constant SVG_BYTE_SIZE = 96;

    //pre-encoded SVG stubs to save on contract storage gas
    bytes public constant svgStub1 = hex"3c7376672069643d27746865737667272076696577426f783d2730203020353030203530302720786d6c6e733d27687474703a2f2f7777772e77332e6f72672f323030302f7376672720786d6c6e733a786c696e6b3d27687474703a2f2f7777772e77332e6f72672f313939392f786c696e6b273e3c646566733e3c66696c7465722069643d2766273e3c6665476175737369616e426c757220737464446576696174696f6e3d2734272f3e3c6665436f6d706f7369746520696e3d27536f757263654772617068696327206f70657261746f723d27696e272f3e3c2f66696c7465723e3c66696c7465722069643d2767273e3c6665476175737369616e426c757220737464446576696174696f6e3d273130272f3e3c6665436f6d706f73697465206f70657261746f723d276f7665722720696e3d27536f7572636547726170686963272f3e3c2f66696c7465723e3c66696c7465722069643d2774273e3c666554757262756c656e636520747970653d276672616374616c4e6f69736527206e756d4f6374617665733d27312720626173654672657175656e63793d27302e303038273e3c616e696d617465206174747269627574654e616d653d27626173654672657175656e6379272076616c7565733d27302e3030383b302e3127206475723d27313030732720726570656174436f756e743d27696e646566696e697465272f3e3c2f666554757262756c656e63653e3c6665446973706c6163656d656e744d617020696e3d27536f757263654772617068696327207363616c653d2737272f3e3c2f66696c7465723e3c6c696e6561724772616469656e742069643d276267272078313d2730272079313d2730272078323d2731303025272079323d2730273e3c73746f70206f66667365743d273027207374796c653d2773746f702d636f6c6f723a726762283230302c3230302c3230302c302e3829272f3e3c73746f70206f66667365743d273127207374796c653d2773746f702d636f6c6f723a726762283235352c3235322c3234372c302e3729272f3e3c2f6c696e6561724772616469656e743e3c6c696e6561724772616469656e742069643d276672272078313d2730272079313d2730272078323d2731303025272079323d2730273e3c73746f70206f66667365743d2730272f3e3c73746f70206f66667365743d273127207374796c653d2773746f702d636f6c6f723a7267622834302c34302c343029272f3e3c2f6c696e6561724772616469656e743e3c6c696e6561724772616469656e742069643d277368272078313d2730272079313d2730272078323d2731303025272079323d2730273e3c73746f70206f66667365743d27302720636c6173733d2778272f3e3c73746f70206f66667365743d273127207374796c653d2773746f702d636f6c6f723a7267626128302c302c302c302e3529272f3e3c2f6c696e6561724772616469656e743e3c6c696e6561724772616469656e742069643d27736832272078313d2730272079313d2730272078323d2730272079323d2731303025273e3c73746f70206f66667365743d27302720636c6173733d2778272f3e3c73746f70206f66667365743d273127207374796c653d2773746f702d636f6c6f723a7267626128302c302c302c2e373529272f3e3c2f6c696e6561724772616469656e743e3c7374796c6520747970653d27746578742f637373273e202e78207b73746f702d636f6c6f723a7267626128302c302c302c30293b7d2e74207b66696c6c3a20677265793b20666f6e743a20357078206d6f6e6f73706163657d3c2f7374796c653e3c2f646566733e3c7265637420783d27302720793d2730272077696474683d2735303027206865696768743d2735303027207374796c653d2766696c6c3a75726c2823626729272f3e3c72656374207374796c653d2766696c6c3a75726c28237368292720783d2736322720793d273534272077696474683d27343027206865696768743d27333932272f3e3c72656374207374796c653d2766696c6c3a75726c28237368292720783d2738302720793d273532272077696474683d27323027206865696768743d27333936272f3e3c72656374207374796c653d2766696c6c3a75726c28236672292720783d273130302720793d273530272077696474683d2733303027206865696768743d27343030272f3e3c726563742069643d276376272066696c6c3d27";
    bytes public constant svgStub2 = hex"2720783d273131302720793d273630272077696474683d2732383027206865696768743d27333830272f3e3c72656374207374796c653d2766696c6c3a75726c28237368292720783d273338362720793d273630272077696474683d273527206865696768743d27333830272f3e3c72656374207374796c653d2766696c6c3a75726c2823736832292720783d273131302720793d27343337272077696474683d2732383127206865696768743d2734272f3e3c72656374207374796c653d2766696c6c3a75726c2823736832292720783d273131302720793d27343337272077696474683d2732383127206865696768743d273427207472616e73666f726d3d277363616c6528312c2d312927207472616e73666f726d2d6f726967696e3d2763656e746572272f3e3c672069643d27722720";

    uint8 public constant COLOR_BACKGROUND_FRACTION = 25; // what fraction of canvases will have a colored background, out of 255
    uint8 public constant UNLIMITED_STROKE_SUPPLY = 10; // first n mints will have unlimited stroke capacity
    uint256 constant public ADDRESS_MINT_FEE = 0.1 ether;
    uint256 constant public CUSTOM_MINT_FEE = 0.15 ether;

    uint16 public tokenCounter;
    uint public balance;
    mapping (address => bool) public hasMinted;

    event CreatedJacksonNFT(uint256 indexed tokenId);
    
    struct AttrData {
        address minter;        // who minted the NFT (NOT current owner)
        bytes backgroundColor; // of the form abi.encodePacked("rgba(r,b,g,a)")
        bytes filters;         // data for special filter attributs
        uint16 strokeCapacity; // the stroke capacity of the canvas
        bytes32 part1;         // the stroke information is stored as 3 bytes32. even though less information is required to generate the stroke
        bytes32 part2;         // this was a tradeoff between making mints cheaper, and enabling 1000 stroke canvases.
        bytes32 part3;         // without this storage mechanism, generating 1000 stroke canvases would cost more than 30M gas, which is the current block limit.
    }

    mapping (uint => AttrData) public attributes;

    constructor() ERC721("Jackson", "JKSN")
    {
        tokenCounter = 0;
        balance = 0;
    }
    
    function getTokensByOwner(address owner) external view returns(uint[] memory) {
        uint[] memory tokens = new uint[](balanceOf(owner));
        uint found = 0;
        for (uint i = 0; i < tokenCounter; i++) {
            if (ownerOf(i) == owner) {
                tokens[found] = i;
                found++;
            }
        }
        return tokens;
    }

    /// @notice mint a canvas, generating a brush stroke based on the sender's address
    function addressMint() external payable {
        require(msg.value >= ADDRESS_MINT_FEE, "Jackson: mint fee not met");
        _create(bytes8(abi.encodePacked(msg.sender)));
    }

    /// @notice mint a canvas, generating a custom stroke based on the given data
    function customMint(bytes8 strokeData) external payable {
        require (msg.value >= CUSTOM_MINT_FEE, "Jackson: mint fee not met");
        _create(strokeData);
    }

    /// @notice mints the canvas and stores data about the stroke and canvas
    function _create(bytes8 strokeData) internal {
        require(tokenCounter < MAX_SUPPLY, "Jackson: MAX SUPPLY REACHED");
        require(hasMinted[msg.sender] == false, "Jackson: Address already minted");

        hasMinted[msg.sender] = true;
        balance += msg.value;
        
        _safeMint(msg.sender, tokenCounter);
        _generateAndStoreAttributes(tokenCounter, strokeData);

        emit CreatedJacksonNFT(tokenCounter);
        
        tokenCounter++;
    }

    /// @notice uses a pseudo-random algorithm to generate canvas-specific traits
    /// @dev the pseudoRandomHash serves its purpose in a fast sellout, but is gameable in other situations:
    /// 1. if there is enough time to reverse engineer the algorithm and predict when desired traits will be found
    /// 2. if minting from a smart contract and reverting until the desired traits are found
    /// 3. if simulating mints until the desired traits are found then minting
    function _generateAndStoreAttributes(uint256 tokenId, bytes8 strokeData) internal {
        bytes20 pseudoRandomHash = bytes20(keccak256(abi.encodePacked(
            tokenId, msg.sender, block.timestamp, block.difficulty, tx.gasprice)));

        bytes memory color = abi.encodePacked("#EEE");
        if (uint8(pseudoRandomHash[0]) < COLOR_BACKGROUND_FRACTION || tokenId < UNLIMITED_STROKE_SUPPLY) {
            color = abi.encodePacked("rgba(",
                Strings.toString(uint8(pseudoRandomHash[1])), ",",
                Strings.toString(uint8(pseudoRandomHash[2])), ",",
                Strings.toString(uint8(pseudoRandomHash[3])), ",1)"    
            );
        }
        
        bytes memory strokeSVG = _generateStroke(strokeData);
        
        attributes[tokenId] = AttrData(
            msg.sender,
            color, 
            _generateFilters(_byteToPercent(pseudoRandomHash[6])),
            uint16(_calculateCapacity(tokenId, pseudoRandomHash)), 
            bytes32(strokeSVG), 
            bytesToBytes32(strokeSVG, 32), 
            bytesToBytes32(strokeSVG, 64)
        );
    }

    /// @notice the rarities of the filter traits are determined here
    function _generateFilters(uint percent) internal pure returns (bytes memory) {
        if (percent < 7) {
            if (percent < 3) return abi.encodePacked("filter='url(#t)'>"); //trippy filter
            else if (percent < 5) return abi.encodePacked("filter='url(#f)'>"); // frost filter
            else return abi.encodePacked("filter='url(#g)'>"); // glow filter
        }
        else return abi.encodePacked(">");
    }

    /// @notice helper function for the attribute metadata
    function _getFilterName(bytes memory filterBytes) internal pure returns (string memory name) {
        if (filterBytes.length == 1) return "none";
        else if (filterBytes[13] == hex"66") return "frosted";
        else if (filterBytes[13] == hex"67") return "glow";
        else if (filterBytes[13] == hex"74") return "trippy";
    }

    /// @notice the rarity of the stroke capacity traits are determined here
    function _calculateCapacity(uint tokenId, bytes20 pseudoRandomHash) internal pure returns (uint capacity) {
        uint capacityLimit =  MAX_SUPPLY - tokenId;
        if (tokenId < UNLIMITED_STROKE_SUPPLY) {
            capacity = capacityLimit;
        }
        else {
            uint capacityTier = _byteToPercent(pseudoRandomHash[4]);
            uint capacityX = _byteToPercent(pseudoRandomHash[5]);
            
            if (capacityTier < 70) { // 70% get 5-20
                capacity = uint16(5 + ((capacityX * 15) / 100));
            }
            else {//30% get 40 - 100, using x^4 to make 100 very rare
                capacity = uint16(20 + ((capacityX * capacityX * capacityX * 7) / 100000));
            }
            capacity = capacity > capacityLimit ? capacityLimit : capacity; // Min of capacity and capacity limit
        }
    }

    /// @param strokeData either the first 8 bytes of the minter's address, or the custom stroke data
    /// @return strokeBytes the SVG string of the stroke, padded to 3 * 32 bytes (to fit as 3 bytes32 later)
    function _generateStroke(bytes8 strokeData) internal pure returns(bytes memory strokeBytes) {
        uint x = 115 + ((265 * _byteToPercent(strokeData[4])) / 100);
        uint y = 80 + ((350 * _byteToPercent(strokeData[5])) / 100);

        strokeBytes = abi.encodePacked(
            "<rect x='", Strings.toString(x),
            "' y='", Strings.toString(y),
            "' width='", Strings.toString(5 + (_byteToPercent(strokeData[6]) * (380 - x)) / 100),
            "' height='", Strings.toString(5 + (_byteToPercent(strokeData[7]) * (430 - y)) / 100),
            "' fill='rgba(",
                Strings.toString(uint8(strokeData[0])), ",",
                Strings.toString(uint8(strokeData[1])), ",",
                Strings.toString(uint8(strokeData[2])), ",.",
                Strings.toString(30 + ((_byteToPercent(strokeData[3]) * 50)/ 100)),
            ")'/>"); 
            
        
        uint padding = SVG_BYTE_SIZE - strokeBytes.length;
        for (uint i = 0; i < padding; i++) {
            strokeBytes = bytes.concat(strokeBytes, abi.encodePacked(" "));
        }
    }

    /// @notice used only for testing
    /// @dev hardhat doesn't gas profile view functions, so I used this one to test the gas usage of tokenURI. 
    function testTokenURI(uint256 tokenId) public returns(string memory) {
        return tokenURI(tokenId);
    }

    /// @notice returns the most up-to-date metadata of the NFT
    /// @return theURI a base64 encoded string including the NFT attributes and image
    function tokenURI(uint256 tokenId) public view virtual override returns (string memory theURI) {
        require(_exists(tokenId), "Jackson: Token doesn't exist");
        uint strokeCapacity = attributes[tokenId].strokeCapacity;
        bytes memory svgBytes = _generateSVG(tokenId, strokeCapacity);
        bytes memory imageURI = abi.encodePacked("data:image/svg+xml;base64,", Base64.encode(svgBytes));
        theURI = formatTokenURI(imageURI, tokenId, strokeCapacity);
    }

    /// @notice loops through the appropriate mints and composes the strokes from those mints
    /// @dev while technically a gas-free view function, many providers limit gas consumption to the block gas limit.
    /// To compose 1000 strokes, many gas optimizations were required.
    /// The strategy of allocating an array of bytes32 and then concatenating it using abi.encodePacked was found to be the most efficient for large N
    function _generateSVG(uint256 tokenId, uint strokeCapacity) internal view returns(bytes memory) {
        uint maxStroke = tokenId + strokeCapacity < tokenCounter ? tokenId + strokeCapacity : tokenCounter;
        uint strokeCount = maxStroke - tokenId;

        bytes32[] memory allParts = new bytes32[](strokeCount * 3);

        for (uint i = 0; i < strokeCount; i++) {
            allParts[i*3] = attributes[tokenId + i].part1;
            allParts[i*3 + 1] = attributes[tokenId + i].part2;
            allParts[i*3 + 2] = attributes[tokenId + i].part3;
        }
        
        return abi.encodePacked(
            svgStub1, 
            attributes[tokenId].backgroundColor, 
            svgStub2,
            attributes[tokenId].filters,
            abi.encodePacked(allParts),  // this is where we efficiently concatenate large numbers of strokes
            "</g><text x='115' y='68' class='t'>Minter: ",
            Strings.toHexString(uint256(uint160(attributes[tokenId].minter)), 20),
            "</text><text x='115' y='74' class='t'>Stroke Count: ",
            strokeCount.toString(), "/", strokeCapacity.toString(), "</text></svg>"
        );
    }

    /// @notice converts a byte to a uint from 1 to 100
    function _byteToPercent(bytes1 theByte) internal pure returns(uint) {
        return (100* (1 + uint32(uint8(theByte)))) / 256;
    }

    /// @notice converts a byte to a bytes32
    /// @param offset: the offset into the bytes array to start
    function bytesToBytes32(bytes memory b, uint offset) private pure returns (bytes32) {
        bytes32 out;

        for (uint i = 0; i < 32; i++) {
            out |= bytes32(b[offset + i] & 0xFF) >> (i * 8);
        }
        return out;
     }

    /// @notice formats the imageURI with other attribute data
    function formatTokenURI(bytes memory imageURI, uint tokenId, uint capacity) public view returns (string memory) {
        return string(
                abi.encodePacked(
                    "data:application/json;base64,",
                    Base64.encode(
                        abi.encodePacked(
                            '{"name":"',
                            "Jackson #", tokenId.toString(),
                            '", "description":"On-Chain Dynamic Art",',
                            '"attributes": ['
                            '{"trait_type" : "Stroke Capacity", "value" : "',capacity.toString(),'"},',
                            '{"trait_type" : "Background", "value" : "', attributes[tokenId].backgroundColor, '"},',
                            '{"trait_type" : "Filter","value" : "', _getFilterName(attributes[tokenId].filters), '"}',
                            '],"image":"',imageURI,'"}'
                        )
                    )
                )
            );
    }

    /// @notice allow only the owner to withdraw funds from the contract
    function withdrawFunds(address _to, uint _amount) external onlyOwner {
        require(balance >= _amount, "Jackson: Not enough funds");
        balance -= _amount;
        (bool success, ) = _to.call{value: _amount}("");
        require(success, "Jackson: Transfer failed");
    }
}

File 2 of 13 : 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 3 of 13 : 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 4 of 13 : ERC721.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.0) (token/ERC721/ERC721.sol)

pragma solidity ^0.8.0;

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

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

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        _approve(to, tokenId);
    }

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

        return _tokenApprovals[tokenId];
    }

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

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

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

        _transfer(from, to, tokenId);
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        _beforeTokenTransfer(from, to, tokenId);

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

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

        emit Transfer(from, to, tokenId);

        _afterTokenTransfer(from, to, tokenId);
    }

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        return result;
    }
}

File 6 of 13 : 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 7 of 13 : 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 8 of 13 : IERC721.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.0) (token/ERC721/IERC721.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

File 10 of 13 : 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 11 of 13 : 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 12 of 13 : 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 13 of 13 : 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);
}

Settings
{
  "optimizer": {
    "enabled": true,
    "runs": 20,
    "details": {
      "yul": false
    }
  },
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "devdoc",
        "userdoc",
        "metadata",
        "abi"
      ]
    }
  },
  "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":"uint256","name":"tokenId","type":"uint256"}],"name":"CreatedJacksonNFT","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":"ADDRESS_MINT_FEE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"COLOR_BACKGROUND_FRACTION","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"CUSTOM_MINT_FEE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"UNLIMITED_STROKE_SUPPLY","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"addressMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"attributes","outputs":[{"internalType":"address","name":"minter","type":"address"},{"internalType":"bytes","name":"backgroundColor","type":"bytes"},{"internalType":"bytes","name":"filters","type":"bytes"},{"internalType":"uint16","name":"strokeCapacity","type":"uint16"},{"internalType":"bytes32","name":"part1","type":"bytes32"},{"internalType":"bytes32","name":"part2","type":"bytes32"},{"internalType":"bytes32","name":"part3","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"balance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes8","name":"strokeData","type":"bytes8"}],"name":"customMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"bytes","name":"imageURI","type":"bytes"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"uint256","name":"capacity","type":"uint256"}],"name":"formatTokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"getTokensByOwner","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"hasMinted","outputs":[{"internalType":"bool","name":"","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":"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":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"svgStub1","outputs":[{"internalType":"bytes","name":"","type":"bytes"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"svgStub2","outputs":[{"internalType":"bytes","name":"","type":"bytes"}],"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":"testTokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"tokenCounter","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"theURI","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"withdrawFunds","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60806040523480156200001157600080fd5b50604051806040016040528060078152602001662530b1b5b9b7b760c91b815250604051806040016040528060048152602001632525a9a760e11b815250816000908162000060919062000214565b5060016200006f828262000214565b5050506200008c62000086620000a560201b60201c565b620000a9565b6006805461ffff60a01b191690556000600755620002e4565b3390565b600680546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b634e487b7160e01b600052604160045260246000fd5b634e487b7160e01b600052602260045260246000fd5b6002810460018216806200013c57607f821691505b60208210810362000151576200015162000111565b50919050565b600062000168620001658381565b90565b92915050565b620001798362000157565b81546008840282811b60001990911b908116901990911617825550505050565b6000620001a88184846200016e565b505050565b81811015620001cc57620001c360008262000199565b600101620001ad565b5050565b601f821115620001a8576000818152602090206020601f85010481016020851015620001f95750805b6200020d6020601f860104830182620001ad565b5050505050565b81516001600160401b03811115620002305762000230620000fb565b6200023c825462000127565b62000249828285620001d0565b6020601f831160018114620002805760008415620002675750858201515b600019600886021c1981166002860217865550620002dc565b600085815260208120601f198616915b82811015620002b2578885015182556020948501946001909201910162000290565b86831015620002cf5784890151600019601f89166008021c191682555b6001600288020188555050505b505050505050565b61421c80620002f46000396000f3fe6080604052600436106101735760003560e01c806301ffc9a71461017857806306fdde03146101ae578063081812fc146101d0578063095ea7b3146101fd57806323b872dd1461021f5780632c5668d01461023f57806338e21cce1461025457806340398d671461028457806342842e0e146102b1578063597e1edb146102d15780636352211e146102d957806370a08231146102f9578063715018a614610326578063775791311461033b5780638da5cb5b1461035057806395d89b41146103655780639bc90ec31461037a578063a22cb46514610396578063a35e38e6146103b6578063b6299886146103c9578063b69ef8a8146103e5578063b88d4fde146103fb578063c07473f31461041b578063c10753291461043d578063c23bdf991461045d578063c87b56dd1461047d578063d05dcc6a1461049d578063d082e381146104d0578063d7d31740146104ff578063db581e161461051f578063e985e9c514610534578063f2fde38b14610554575b600080fd5b34801561018457600080fd5b50610198610193366004612250565b610574565b6040516101a5919061227b565b60405180910390f35b3480156101ba57600080fd5b506101c36105c6565b6040516101a591906122f3565b3480156101dc57600080fd5b506101f06101eb366004612315565b610658565b6040516101a59190612350565b34801561020957600080fd5b5061021d610218366004612372565b6106a4565b005b34801561022b57600080fd5b5061021d61023a3660046123af565b610729565b34801561024b57600080fd5b506101c361075a565b34801561026057600080fd5b5061019861026f3660046123ff565b60086020526000908152604090205460ff1681565b34801561029057600080fd5b506102a461029f3660046123ff565b610779565b6040516101a59190612483565b3480156102bd57600080fd5b5061021d6102cc3660046123af565b61084a565b61021d610865565b3480156102e557600080fd5b506101f06102f4366004612315565b6108c0565b34801561030557600080fd5b506103196103143660046123ff565b6108f5565b6040516101a59190612494565b34801561033257600080fd5b5061021d610939565b34801561034757600080fd5b506101c3610972565b34801561035c57600080fd5b506101f0610991565b34801561037157600080fd5b506101c36109a0565b34801561038657600080fd5b5061031967016345785d8a000081565b3480156103a257600080fd5b5061021d6103b13660046124b5565b6109af565b61021d6103c4366004612509565b6109be565b3480156103d557600080fd5b50610319670214e8348c4f000081565b3480156103f157600080fd5b5061031960075481565b34801561040757600080fd5b5061021d610416366004612618565b6109f2565b34801561042757600080fd5b50610430600a81565b6040516101a5919061269f565b34801561044957600080fd5b5061021d610458366004612372565b610a2a565b34801561046957600080fd5b506101c36104783660046126ad565b610b10565b34801561048957600080fd5b506101c3610498366004612315565b610c23565b3480156104a957600080fd5b506104bd6104b8366004612315565b610cad565b6040516101a59796959493929190612705565b3480156104dc57600080fd5b506006546104f290600160a01b900461ffff1681565b6040516101a5919061277b565b34801561050b57600080fd5b506101c361051a366004612315565b610e08565b34801561052b57600080fd5b50610430601981565b34801561054057600080fd5b5061019861054f366004612789565b610e13565b34801561056057600080fd5b5061021d61056f3660046123ff565b610e41565b60006001600160e01b031982166380ac58cd60e01b14806105a557506001600160e01b03198216635b5e139f60e01b145b806105c057506301ffc9a760e01b6001600160e01b03198316145b92915050565b6060600080546105d5906127d2565b80601f0160208091040260200160405190810160405280929190818152602001828054610601906127d2565b801561064e5780601f106106235761010080835404028352916020019161064e565b820191906000526020600020905b81548152906001019060200180831161063157829003601f168201915b5050505050905090565b600061066382610e9f565b6106885760405162461bcd60e51b815260040161067f9061284a565b60405180910390fd5b506000908152600460205260409020546001600160a01b031690565b60006106af826108c0565b9050806001600160a01b0316836001600160a01b0316036106e25760405162461bcd60e51b815260040161067f90612898565b336001600160a01b03821614806106fe57506106fe8133610e13565b61071a5760405162461bcd60e51b815260040161067f906128fd565b6107248383610ebc565b505050565b6107333382610f2a565b61074f5760405162461bcd60e51b815260040161067f9061295b565b610724838383610faf565b6040518061068001604052806106548152602001613a1f610654913981565b60606000610786836108f5565b6001600160401b0381111561079d5761079d61252a565b6040519080825280602002602001820160405280156107c6578160200160208202803683370190505b5090506000805b600654600160a01b900461ffff1681101561084157846001600160a01b03166107f5826108c0565b6001600160a01b03160361082f57808383815181106108165761081661296b565b60209081029190910101528161082b81612997565b9250505b8061083981612997565b9150506107cd565b50909392505050565b610724838383604051806020016040528060008152506109f2565b67016345785d8a000034101561088d5760405162461bcd60e51b815260040161067f906129e4565b6108be336040516020016108a19190612a1c565b6040516020818303038152906040526108b990612a3d565b6110d1565b565b6000818152600260205260408120546001600160a01b0316806105c05760405162461bcd60e51b815260040161067f90612ac2565b60006001600160a01b03821661091d5760405162461bcd60e51b815260040161067f90612b19565b506001600160a01b031660009081526003602052604090205490565b33610942610991565b6001600160a01b0316146109685760405162461bcd60e51b815260040161067f90612b5b565b6108be6000611204565b60405180610160016040528061013481526020016140b3610134913981565b6006546001600160a01b031690565b6060600180546105d5906127d2565b6109ba338383611256565b5050565b670214e8348c4f00003410156109e65760405162461bcd60e51b815260040161067f906129e4565b6109ef816110d1565b50565b6109fc3383610f2a565b610a185760405162461bcd60e51b815260040161067f9061295b565b610a24848484846112f8565b50505050565b33610a33610991565b6001600160a01b031614610a595760405162461bcd60e51b815260040161067f90612b5b565b806007541015610a7b5760405162461bcd60e51b815260040161067f90612b9b565b8060076000828254610a8d9190612bab565b925050819055506000826001600160a01b031682604051610aad90612bc5565b60006040518083038185875af1925050503d8060008114610aea576040519150601f19603f3d011682016040523d82523d6000602084013e610aef565b606091505b50509050806107245760405162461bcd60e51b815260040161067f90612bfc565b6060610bfb610b1e8461132b565b610b278461132b565b6000868152600960205260409020600281018054600190920191610bd29190610b4f906127d2565b80601f0160208091040260200160405190810160405280929190818152602001828054610b7b906127d2565b8015610bc85780601f10610b9d57610100808354040283529160200191610bc8565b820191906000526020600020905b815481529060010190602001808311610bab57829003601f168201915b505050505061142b565b88604051602001610be7959493929190612cf4565b604051602081830303815290604052611544565b604051602001610c0b9190612e7f565b60405160208183030381529060405290509392505050565b6060610c2e82610e9f565b610c4a5760405162461bcd60e51b815260040161067f90612ee8565b60008281526009602052604081206003015461ffff1690610c6b8483611696565b90506000610c7882611544565b604051602001610c889190612ef8565b6040516020818303038152906040529050610ca4818685610b10565b95945050505050565b600960205260009081526040902080546001820180546001600160a01b039092169291610cd9906127d2565b80601f0160208091040260200160405190810160405280929190818152602001828054610d05906127d2565b8015610d525780601f10610d2757610100808354040283529160200191610d52565b820191906000526020600020905b815481529060010190602001808311610d3557829003601f168201915b505050505090806002018054610d67906127d2565b80601f0160208091040260200160405190810160405280929190818152602001828054610d93906127d2565b8015610de05780601f10610db557610100808354040283529160200191610de0565b820191906000526020600020905b815481529060010190602001808311610dc357829003601f168201915b50505050600383015460048401546005850154600690950154939461ffff9092169390925087565b60606105c082610c23565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b33610e4a610991565b6001600160a01b031614610e705760405162461bcd60e51b815260040161067f90612b5b565b6001600160a01b038116610e965760405162461bcd60e51b815260040161067f90612f66565b6109ef81611204565b6000908152600260205260409020546001600160a01b0316151590565b600081815260046020526040902080546001600160a01b0319166001600160a01b0384169081179091558190610ef1826108c0565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000610f3582610e9f565b610f515760405162461bcd60e51b815260040161067f90612fbf565b6000610f5c836108c0565b9050806001600160a01b0316846001600160a01b03161480610f835750610f838185610e13565b80610fa75750836001600160a01b0316610f9c84610658565b6001600160a01b0316145b949350505050565b826001600160a01b0316610fc2826108c0565b6001600160a01b031614610fe85760405162461bcd60e51b815260040161067f90613011565b6001600160a01b03821661100e5760405162461bcd60e51b815260040161067f90613062565b611019600082610ebc565b6001600160a01b0383166000908152600360205260408120805460019290611042908490612bab565b90915550506001600160a01b0382166000908152600360205260408120805460019290611070908490613072565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b6006546103e8600160a01b90910461ffff16106111005760405162461bcd60e51b815260040161067f906130bc565b3360009081526008602052604090205460ff16156111305760405162461bcd60e51b815260040161067f90613100565b336000908152600860205260408120805460ff191660011790556007805434929061115c908490613072565b909155505060065461117a903390600160a01b900461ffff1661192d565b60065461119290600160a01b900461ffff1682611947565b600654604051600160a01b90910461ffff16907fae23e2943842f24fb4b613af878bc6d3ecf4097546afee438230b617cfd45c0b90600090a260068054600160a01b900461ffff169060146111e683613110565b91906101000a81548161ffff021916908361ffff1602179055505050565b600680546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b816001600160a01b0316836001600160a01b0316036112875760405162461bcd60e51b815260040161067f90613158565b6001600160a01b0383811660008181526005602090815260408083209487168084529490915290819020805460ff1916851515179055517f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31906112eb90859061227b565b60405180910390a3505050565b611303848484610faf565b61130f84848484611b13565b610a245760405162461bcd60e51b815260040161067f906131b7565b6060816000036113525750506040805180820190915260018152600360fc1b602082015290565b8160005b811561137c578061136681612997565b91506113759050600a836131dd565b9150611356565b6000816001600160401b038111156113965761139661252a565b6040519080825280601f01601f1916602001820160405280156113c0576020820181803683370190505b5090505b8415610fa7576113d5600183612bab565b91506113e2600a866131f5565b6113ed906030613072565b60f81b8183815181106114025761140261296b565b60200101906001600160f81b031916908160001a905350611424600a866131dd565b94506113c4565b606081516001036114565750506040805180820190915260048152636e6f6e6560e01b602082015290565b81600d815181106114695761146961296b565b01602001516001600160f81b031916603360f91b036114a5575050604080518082019091526007815266199c9bdcdd195960ca1b602082015290565b81600d815181106114b8576114b861296b565b01602001516001600160f81b031916606760f81b036114f1575050604080518082019091526004815263676c6f7760e01b602082015290565b81600d815181106115045761150461296b565b01602001516001600160f81b031916601d60fa1b0361153f57505060408051808201909152600681526574726970707960d01b602082015290565b919050565b6060815160000361156357505060408051602081019091526000815290565b600060405180606001604052806040815260200161407360409139905060006003845160026115929190613072565b61159c91906131dd565b6115a7906004613209565b6001600160401b038111156115be576115be61252a565b6040519080825280601f01601f1916602001820160405280156115e8576020820181803683370190505b509050600182016020820185865187015b80821015611654576003820191508151603f8160121c168501518453600184019350603f81600c1c168501518453600184019350603f8160061c168501518453600184019350603f81168501518453600184019350506115f9565b505060038651066001811461167057600281146116835761168b565b603d6001830353603d600283035361168b565b603d60018303535b509195945050505050565b600654606090600090600160a01b900461ffff166116b48486613072565b106116cc57600654600160a01b900461ffff166116d6565b6116d68385613072565b905060006116e48583612bab565b905060006116f3826003613209565b6001600160401b0381111561170a5761170a61252a565b604051908082528060200260200182016040528015611733578160200160208202803683370190505b50905060005b82811015611844576009600061174f838a613072565b8152602001908152602001600020600401548282600361176f9190613209565b8151811061177f5761177f61296b565b602090810291909101015260096000611798838a613072565b815260200190815260200160002060050154828260036117b89190613209565b6117c3906001613072565b815181106117d3576117d361296b565b6020908102919091010152600960006117ec838a613072565b8152602001908152602001600020600601548282600361180c9190613209565b611817906002613072565b815181106118275761182761296b565b60209081029190910101528061183c81612997565b915050611739565b506040518061068001604052806106548152602001613a1f61065491396009600088815260200190815260200160002060010160405180610160016040528061013481526020016140b36101349139600960008a8152602001908152602001600020600201846040516020016118ba919061325f565b60408051601f1981840301815291815260008c8152600960205220546118ea906001600160a01b03166014611c14565b6118f38861132b565b6118fc8c61132b565b604051602001611913989796959493929190613296565b604051602081830303815290604052935050505092915050565b6109ba828260405180602001604052806000815250611d86565b6000823342443a604051602001611962959493929190613397565b604051602081830303815290604052805190602001209050600060405160200161198b90613404565b60408051601f19818403018152919052905060198260001a10806119af5750600a84105b156119fb576119c18260015b1a61132b565b6119cc8360026119bb565b6119d78460036119bb565b6040516020016119e993929190613442565b60405160208183030381529060405290505b6000611a0684611db9565b6040805160e081018252338152602081018590529192508101611a37611a328660065b1a60f81b611f81565b611fb6565b8152602001611a468786612025565b61ffff168152602001611a588361349c565b8152602001611a688360206120f6565b8152602001611a788360406120f6565b90526000868152600960209081526040909120825181546001600160a01b0319166001600160a01b03909116178155908201516001820190611aba9082613598565b5060408201516002820190611acf9082613598565b50606082015160038201805461ffff191661ffff9092169190911790556080820151600482015560a0820151600582015560c0909101516006909101555050505050565b60006001600160a01b0384163b15611c0957604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290611b57903390899088908890600401613656565b6020604051808303816000875af1925050508015611b92575060408051601f3d908101601f19168201909252611b8f918101906136a5565b60015b611bef573d808015611bc0576040519150601f19603f3d011682016040523d82523d6000602084013e611bc5565b606091505b508051600003611be75760405162461bcd60e51b815260040161067f906131b7565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050610fa7565b506001949350505050565b60606000611c23836002613209565b611c2e906002613072565b6001600160401b03811115611c4557611c4561252a565b6040519080825280601f01601f191660200182016040528015611c6f576020820181803683370190505b509050600360fc1b81600081518110611c8a57611c8a61296b565b60200101906001600160f81b031916908160001a905350600f60fb1b81600181518110611cb957611cb961296b565b60200101906001600160f81b031916908160001a9053506000611cdd846002613209565b611ce8906001613072565b90505b6001811115611d60576f181899199a1a9b1b9c1cb0b131b232b360811b85600f1660108110611d1c57611d1c61296b565b1a60f81b828281518110611d3257611d3261296b565b60200101906001600160f81b031916908160001a90535060049490941c93611d59816136c6565b9050611ceb565b508315611d7f5760405162461bcd60e51b815260040161067f9061370f565b9392505050565b611d90838361215b565b611d9d6000848484611b13565b6107245760405162461bcd60e51b815260040161067f906131b7565b606060006064611dca846004611a29565b611dd690610109613209565b611de091906131dd565b611deb906073613072565b905060006064611dfc856005611a29565b611e089061015e613209565b611e1291906131dd565b611e1d906050613072565b9050611e288261132b565b611e318261132b565b611e716064611e428661017c612bab565b611e4d896006611a29565b611e579190613209565b611e6191906131dd565b611e6c906005613072565b61132b565b611e8d6064611e82866101ae612bab565b611e4d8a6007611a29565b611e988860006119bb565b611ea38960016119bb565b611eae8a60026119bb565b611ede6064611ebe8d6003611a29565b611ec9906032613209565b611ed391906131dd565b611e6c90601e613072565b604051602001611ef5989796959493929190613797565b604051602081830303815290604052925060008351606060ff16611f199190612bab565b905060005b81811015611f785784604051602001611f3690613870565b60408051601f1981840301815290829052611f54929160200161387b565b60405160208183030381529060405294508080611f7090612997565b915050611f1e565b50505050919050565b6000610100611f9560f884901c6001613893565b611fa09060646138bd565b611faa91906138eb565b63ffffffff1692915050565b60606007821015612016576003821015611fef57604051602001611fd990613923565b6040516020818303038152906040529050919050565b600582101561200757604051602001611fd99061394c565b604051602001611fd990613975565b604051602001611fd99061398e565b600080612034846103e8612bab565b9050600a841015612047578091506120ef565b6000612054846004611a29565b90506000612063856005611a29565b9050604682101561209b57606461207b82600f613209565b61208591906131dd565b612090906005613072565b61ffff1693506120db565b620186a0816120aa8180613209565b6120b49190613209565b6120bf906007613209565b6120c991906131dd565b6120d4906014613072565b61ffff1693505b8284116120e857836120ea565b825b935050505b5092915050565b60008060005b602081101561215357612110816008613209565b8561211b8387613072565b8151811061212b5761212b61296b565b01602001516001600160f81b031916901c91909117908061214b81612997565b9150506120fc565b509392505050565b6001600160a01b0382166121815760405162461bcd60e51b815260040161067f906139cb565b61218a81610e9f565b156121a75760405162461bcd60e51b815260040161067f90613a0e565b6001600160a01b03821660009081526003602052604081208054600192906121d0908490613072565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b6001600160e01b031981165b81146109ef57600080fd5b80356105c08161222e565b60006020828403121561226557612265600080fd5b6000610fa78484612245565b8015155b82525050565b602081016105c08284612271565b60005b838110156122a457818101518382015260200161228c565b83811115610a245750506000910152565b601f01601f191690565b60006122c9825190565b8084526020840193506122e0818560208601612289565b6122e9816122b5565b9093019392505050565b60208082528101611d7f81846122bf565b8061223a565b80356105c081612304565b60006020828403121561232a5761232a600080fd5b6000610fa7848461230a565b60006001600160a01b0382166105c0565b61227581612336565b602081016105c08284612347565b61223a81612336565b80356105c08161235e565b6000806040838503121561238857612388600080fd5b60006123948585612367565b92505060206123a58582860161230a565b9150509250929050565b6000806000606084860312156123c7576123c7600080fd5b60006123d38686612367565b93505060206123e486828701612367565b92505060406123f58682870161230a565b9150509250925092565b60006020828403121561241457612414600080fd5b6000610fa78484612367565b80612275565b60006124328383612420565b505060200190565b6000612444825190565b80845260209384019383018060005b838110156124785781516124678882612426565b975060208301925050600101612453565b509495945050505050565b60208082528101611d7f818461243a565b602081016105c08284612420565b80151561223a565b80356105c0816124a2565b600080604083850312156124cb576124cb600080fd5b60006124d78585612367565b92505060206123a5858286016124aa565b6001600160c01b03191690565b61223a816124e8565b80356105c0816124f5565b60006020828403121561251e5761251e600080fd5b6000610fa784846124fe565b634e487b7160e01b600052604160045260246000fd5b612549826122b5565b81018181106001600160401b03821117156125665761256661252a565b6040525050565b600061257860405190565b905061153f8282612540565b60006001600160401b0382111561259d5761259d61252a565b6125a6826122b5565b60200192915050565b82818337506000910152565b60006125ce6125c984612584565b61256d565b9050828152602081018484840111156125e9576125e9600080fd5b6121538482856125af565b600082601f83011261260857612608600080fd5b8135610fa78482602086016125bb565b6000806000806080858703121561263157612631600080fd5b600061263d8787612367565b945050602061264e87828801612367565b935050604061265f8782880161230a565b92505060608501356001600160401b0381111561267e5761267e600080fd5b61268a878288016125f4565b91505092959194509250565b60ff8116612275565b602081016105c08284612696565b6000806000606084860312156126c5576126c5600080fd5b83356001600160401b038111156126de576126de600080fd5b6126ea868287016125f4565b93505060206123e48682870161230a565b61ffff8116612275565b60e08101612713828a612347565b818103602083015261272581896122bf565b9050818103604083015261273981886122bf565b905061274860608301876126fb565b6127556080830186612420565b61276260a0830185612420565b61276f60c0830184612420565b98975050505050505050565b602081016105c082846126fb565b6000806040838503121561279f5761279f600080fd5b60006127ab8585612367565b92505060206123a585828601612367565b634e487b7160e01b600052602260045260246000fd5b6002810460018216806127e657607f821691505b6020821081036127f8576127f86127bc565b50919050565b602c81526000602082017f4552433732313a20617070726f76656420717565727920666f72206e6f6e657881526b34b9ba32b73a103a37b5b2b760a11b602082015291505b5060400190565b602080825281016105c0816127fe565b602181526000602082017f4552433732313a20617070726f76616c20746f2063757272656e74206f776e658152603960f91b60208201529150612843565b602080825281016105c08161285a565b603881526000602082017f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f778152771b995c881b9bdc88185c1c1c9bdd995908199bdc88185b1b60421b60208201529150612843565b602080825281016105c0816128a8565b603181526000602082017f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f8152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b60208201529150612843565b602080825281016105c08161290d565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b600060001982036129aa576129aa612981565b5060010190565b6019815260006020820178129858dadcdbdb8e881b5a5b9d08199959481b9bdd081b595d603a1b815291505b5060200190565b602080825281016105c0816129b1565b60006105c08260601b90565b60006105c0826129f4565b612275612a1782612336565b612a00565b6000612a288284612a0b565b50601401919050565b60006105c082516124e8565b6000612a47825190565b60208301612a5481612a31565b92506008821015612a75576001600160c01b03196008838103021b5b831692505b5050919050565b602981526000602082017f4552433732313a206f776e657220717565727920666f72206e6f6e657869737481526832b73a103a37b5b2b760b91b60208201529150612843565b602080825281016105c081612a7c565b602a81526000602082017f4552433732313a2062616c616e636520717565727920666f7220746865207a65815269726f206164647265737360b01b60208201529150612843565b602080825281016105c081612ad2565b60208082527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572910190815260006129dd565b602080825281016105c081612b29565b60198152600060208201784a61636b736f6e3a204e6f7420656e6f7567682066756e647360381b815291506129dd565b602080825281016105c081612b6b565b600082821015612bbd57612bbd612981565b500390565b90565b6000816105c0565b6018815260006020820177129858dadcdbdb8e88151c985b9cd9995c8819985a5b195960421b815291506129dd565b602080825281016105c081612bcd565b683d913730b6b2911d1160b91b815260005b5060090190565b684a61636b736f6e202360b81b81526000612c1e565b6000612c45825190565b612c53818560208601612289565b9290920192915050565b62089f4b60ea1b815260005b5060030190565b60008154612c7d816127d2565b600182168015612c945760018114612ca957612cd9565b60ff1983168652811515820286019350612cd9565b60008581526020902060005b83811015612cd157815488820152600190910190602001612cb5565b838801955050505b50505092915050565b61227d60f01b815260005b5060020190565b6000612cff82612c0c565b9150612d0a82612c25565b9150612d168288612c3b565b7f222c20226465736372697074696f6e223a224f6e2d436861696e2044796e616d8152671a58c8105c9d088b60c21b60208201527f2261747472696275746573223a205b7b2274726169745f7479706522203a202260288201527f5374726f6b65204361706163697479222c202276616c756522203a202200000060488201526065019150612da58287612c3b565b9150612db082612c5d565b7f7b2274726169745f7479706522203a20224261636b67726f756e64222c20227681526830b63ab291101d101160b91b60208201526029019150612df48286612c70565b9150612dff82612c5d565b7f7b2274726169745f7479706522203a202246696c746572222c2276616c756522815263101d101160e11b60208201526024019150612e3e8285612c3b565b9150612e4982612ce2565b6a2e961134b6b0b3b2911d1160a91b8152600b019150612e698284612c3b565b9150612e7482612ce2565b979650505050505050565b7f646174613a6170706c69636174696f6e2f6a736f6e3b6261736536342c00000081526000601d82015b9150611d7f8284612c3b565b601c81526000602082017b129858dadcdbdb8e88151bdad95b88191bd95cdb89dd08195e1a5cdd60221b815291506129dd565b602080825281016105c081612eb5565b7919185d184e9a5b5859d94bdcdd99cade1b5b0ed8985cd94d8d0b60321b81526000601a8201612ea9565b602681526000602082017f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206181526564647265737360d01b60208201529150612843565b602080825281016105c081612f23565b602c81526000602082017f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657881526b34b9ba32b73a103a37b5b2b760a11b60208201529150612843565b602080825281016105c081612f76565b602581526000602082017f4552433732313a207472616e736665722066726f6d20696e636f72726563742081526437bbb732b960d91b60208201529150612843565b602080825281016105c081612fcf565b602481526000602082017f4552433732313a207472616e7366657220746f20746865207a65726f206164648152637265737360e01b60208201529150612843565b602080825281016105c081613021565b6000821982111561308557613085612981565b500190565b601b81526000602082017a129858dadcdbdb8e881350560814d5541413164814915050d21151602a1b815291506129dd565b602080825281016105c08161308a565b601f81526000602082017f4a61636b736f6e3a204164647265737320616c7265616479206d696e74656400815291506129dd565b602080825281016105c0816130cc565b61ffff16600061fffe1982016129aa576129aa612981565b601981526000602082017822a9219b99189d1030b8383937bb32903a379031b0b63632b960391b815291506129dd565b602080825281016105c081613128565b603281526000602082017f4552433732313a207472616e7366657220746f206e6f6e20455243373231526581527131b2b4bb32b91034b6b83632b6b2b73a32b960711b60208201529150612843565b602080825281016105c081613168565b634e487b7160e01b600052601260045260246000fd5b6000825b9250826131f0576131f06131c7565b500490565b600082613204576132046131c7565b500690565b600081600019048311821515161561322357613223612981565b500290565b6000613232825190565b602083018060005b8381101561247857815161324e8882612426565b97506020830192505060010161323a565b6000611d7f8284613228565b602f60f81b815260006129aa565b6c1e17ba32bc3a1f1e17b9bb339f60991b815260005b50600d0190565b60006132a2828b612c3b565b91506132ae828a612c70565b91506132ba8289612c3b565b91506132c68288612c70565b91506132d28287612c3b565b7f3c2f673e3c7465787420783d273131352720793d2736382720636c6173733d2781526a03a139f26b4b73a32b91d160ad1b6020820152602b0191506133188286612c3b565b7f3c2f746578743e3c7465787420783d273131352720793d2737342720636c61738152730399e93ba139f29ba3937b5b29021b7bab73a1d160651b602082015260340191506133678285612c3b565b91506133728261326b565b915061337e8284612c3b565b915061338982613279565b9a9950505050505050505050565b60006133a38288612420565b6020820191506133b38287612a0b565b6014820191506133c38286612420565b6020820191506133d38285612420565b6020820191506133e38284612420565b5060200195945050505050565b632345454560e01b815260005b5060040190565b60006105c0826133f0565b640e4cec4c2560db1b815260005b5060050190565b600b60fa1b815260006129aa565b622c312960e81b81526000612c69565b600061344d8261340f565b91506134598286612c3b565b915061346482613424565b91506134708285612c3b565b915061347b82613424565b91506134878284612c3b565b9150610ca482613432565b60006105c0825190565b60006134a6825190565b602083016134b381613492565b92506020821015612a7557612a70600019836020036008021b90565b60006105c0612bc28381565b6134e4836134cf565b81546008840282811b60001990911b908116901990911617825550505050565b60006107248184846134db565b818110156109ba57613524600082613504565b600101613511565b601f821115610724576000818152602090206020601f850104810160208510156135535750805b6135656020601f860104830182613511565b5050505050565b6000196008929092029190911c191690565b600061358a838361356c565b600290930290921792915050565b81516001600160401b038111156135b1576135b161252a565b6135bb82546127d2565b6135c682828561352c565b6020601f8311600181146135f457600084156135e25750858201515b6135ec858261357e565b86555061364e565b600085815260208120601f198616915b828110156136245788850151825560209485019460019092019101613604565b86831015613641578489015161363d601f89168261356c565b8355505b6001600288020188555050505b505050505050565b608081016136648287612347565b6136716020830186612347565b61367e6040830185612420565b818103606083015261369081846122bf565b9695505050505050565b80516105c08161222e565b6000602082840312156136ba576136ba600080fd5b6000610fa7848461369a565b6000816136d5576136d5612981565b506000190190565b60208082527f537472696e67733a20686578206c656e67746820696e73756666696369656e74910190815260006129dd565b602080825281016105c0816136dd565b683c7265637420783d2760b81b81526000612c1e565b642720793d2760d81b8152600061341d565b68272077696474683d2760b81b81526000612c1e565b6c04e40ccd2d8d87a4ee4cec4c25609b1b8152600061328f565b61161760f11b81526000612ced565b631493979f60e11b815260006133fd565b60006137a28261371f565b91506137ae828b612c3b565b91506137b982613735565b91506137c5828a612c3b565b91506137d082613747565b91506137dc8289612c3b565b6927206865696768743d2760b01b8152600a0191506137fb8288612c3b565b91506138068261375d565b91506138128287612c3b565b915061381d82613424565b91506138298286612c3b565b915061383482613424565b91506138408285612c3b565b915061384b82613777565b91506138578284612c3b565b915061338982613786565b600160fd1b815260006129aa565b60006105c082613862565b60006138878285612c3b565b9150610fa78284612c3b565b600063ffffffff8216915063ffffffff831692508263ffffffff0382111561308557613085612981565b600063ffffffff8216915063ffffffff831692508163ffffffff048311821515161561322357613223612981565b600063ffffffff8216915063ffffffff83166131e1565b703334b63a32b91e93bab9361411ba14939f60791b815260005b5060110190565b60006105c082613902565b703334b63a32b91e93bab9361411b314939f60791b8152600061391c565b60006105c08261392e565b703334b63a32b91e93bab9361411b394939f60791b8152600061391c565b60006105c082613957565b601f60f91b815260006129aa565b60006105c082613980565b60208082527f4552433732313a206d696e7420746f20746865207a65726f2061646472657373910190815260006129dd565b602080825281016105c081613999565b601c81526000602082017b115490cdcc8c4e881d1bdad95b88185b1c9958591e481b5a5b9d195960221b815291506129dd565b602080825281016105c0816139db56fe3c7376672069643d27746865737667272076696577426f783d2730203020353030203530302720786d6c6e733d27687474703a2f2f7777772e77332e6f72672f323030302f7376672720786d6c6e733a786c696e6b3d27687474703a2f2f7777772e77332e6f72672f313939392f786c696e6b273e3c646566733e3c66696c7465722069643d2766273e3c6665476175737369616e426c757220737464446576696174696f6e3d2734272f3e3c6665436f6d706f7369746520696e3d27536f757263654772617068696327206f70657261746f723d27696e272f3e3c2f66696c7465723e3c66696c7465722069643d2767273e3c6665476175737369616e426c757220737464446576696174696f6e3d273130272f3e3c6665436f6d706f73697465206f70657261746f723d276f7665722720696e3d27536f7572636547726170686963272f3e3c2f66696c7465723e3c66696c7465722069643d2774273e3c666554757262756c656e636520747970653d276672616374616c4e6f69736527206e756d4f6374617665733d27312720626173654672657175656e63793d27302e303038273e3c616e696d617465206174747269627574654e616d653d27626173654672657175656e6379272076616c7565733d27302e3030383b302e3127206475723d27313030732720726570656174436f756e743d27696e646566696e697465272f3e3c2f666554757262756c656e63653e3c6665446973706c6163656d656e744d617020696e3d27536f757263654772617068696327207363616c653d2737272f3e3c2f66696c7465723e3c6c696e6561724772616469656e742069643d276267272078313d2730272079313d2730272078323d2731303025272079323d2730273e3c73746f70206f66667365743d273027207374796c653d2773746f702d636f6c6f723a726762283230302c3230302c3230302c302e3829272f3e3c73746f70206f66667365743d273127207374796c653d2773746f702d636f6c6f723a726762283235352c3235322c3234372c302e3729272f3e3c2f6c696e6561724772616469656e743e3c6c696e6561724772616469656e742069643d276672272078313d2730272079313d2730272078323d2731303025272079323d2730273e3c73746f70206f66667365743d2730272f3e3c73746f70206f66667365743d273127207374796c653d2773746f702d636f6c6f723a7267622834302c34302c343029272f3e3c2f6c696e6561724772616469656e743e3c6c696e6561724772616469656e742069643d277368272078313d2730272079313d2730272078323d2731303025272079323d2730273e3c73746f70206f66667365743d27302720636c6173733d2778272f3e3c73746f70206f66667365743d273127207374796c653d2773746f702d636f6c6f723a7267626128302c302c302c302e3529272f3e3c2f6c696e6561724772616469656e743e3c6c696e6561724772616469656e742069643d27736832272078313d2730272079313d2730272078323d2730272079323d2731303025273e3c73746f70206f66667365743d27302720636c6173733d2778272f3e3c73746f70206f66667365743d273127207374796c653d2773746f702d636f6c6f723a7267626128302c302c302c2e373529272f3e3c2f6c696e6561724772616469656e743e3c7374796c6520747970653d27746578742f637373273e202e78207b73746f702d636f6c6f723a7267626128302c302c302c30293b7d2e74207b66696c6c3a20677265793b20666f6e743a20357078206d6f6e6f73706163657d3c2f7374796c653e3c2f646566733e3c7265637420783d27302720793d2730272077696474683d2735303027206865696768743d2735303027207374796c653d2766696c6c3a75726c2823626729272f3e3c72656374207374796c653d2766696c6c3a75726c28237368292720783d2736322720793d273534272077696474683d27343027206865696768743d27333932272f3e3c72656374207374796c653d2766696c6c3a75726c28237368292720783d2738302720793d273532272077696474683d27323027206865696768743d27333936272f3e3c72656374207374796c653d2766696c6c3a75726c28236672292720783d273130302720793d273530272077696474683d2733303027206865696768743d27343030272f3e3c726563742069643d276376272066696c6c3d274142434445464748494a4b4c4d4e4f505152535455565758595a6162636465666768696a6b6c6d6e6f707172737475767778797a303132333435363738392b2f2720783d273131302720793d273630272077696474683d2732383027206865696768743d27333830272f3e3c72656374207374796c653d2766696c6c3a75726c28237368292720783d273338362720793d273630272077696474683d273527206865696768743d27333830272f3e3c72656374207374796c653d2766696c6c3a75726c2823736832292720783d273131302720793d27343337272077696474683d2732383127206865696768743d2734272f3e3c72656374207374796c653d2766696c6c3a75726c2823736832292720783d273131302720793d27343337272077696474683d2732383127206865696768743d273427207472616e73666f726d3d277363616c6528312c2d312927207472616e73666f726d2d6f726967696e3d2763656e746572272f3e3c672069643d27722720a2646970667358221220a84c9190e46c79364aaacee2e35d9d68c6228d6564494e0ec40b22e0dbbffcfe64736f6c634300080f0033

Block Transaction Difficulty Gas Used Reward
Block Uncle Number Difficulty Gas Used Reward
Loading
Loading
Make sure to use the "Vote Down" button for any spammy posts, and the "Vote Up" for interesting conversations.

A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.