Token City Clash

 

Overview ERC-721

Total Supply:
319 City Clash is a P2E, social strategy game where 3

Holders:
128 addresses
Balance
17 City Clash is a P2E, social strategy game where 3
0x8874174a2366668d54fea6343f71709389563c8a
Loading
[ Download CSV Export  ] 
Loading
Loading

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

Contract Source Code Verified (Exact Match)

Contract Name:
CityClash

Compiler Version
v0.8.4+commit.c7e474f2

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion
File 1 of 19 : CityClash.sol
//SPDX-License-Identifier: Unlicense
pragma solidity ^0.8.4;

import "./CityClashScore.sol";
import "./CityClashTowersInterface.sol";

contract CityClash is CityClashScore {

    event TransferEvent(uint256 tokenId);
    event UpgradeCityEvent(uint256 tokenId);
    event UpdateCityImageEvent(uint256 tokenId);

    function uploadMetadata(CityClashTypes.CityWithId[] memory _cities) external onlyOwner {
        require(idToCities[MAX_CITIES].cityFaction == 0 || idToCities[MAX_CITIES - FOUNDERS_RESERVE_AMOUNT].cityFaction == 0, "All cities already have metadata uploaded");
        for(uint i = 0; i < _cities.length; i++) {
            //if there is no metadata for this city already but it has been minted
            if(idToCities[_cities[i].id].points == 0 && _exists(_cities[i].id)) {
                idToCities[_cities[i].id] = CityClashTypes.City(_cities[i].city, _cities[i].country, _cities[i].points, _cities[i].cityFaction, 0, "", 0);
                addressToFaction[ownerOf(_cities[i].id)] = _cities[i].cityFaction;
            }
        }
    }

    function uploadScore(CityClashTypes.CountryToScore[] memory _countryToScore,
                        uint256 red,
                        uint256 green,
                        uint256 blue) external onlyOwner {
        for(uint i = 0; i < _countryToScore.length; i++) {
            countryToScore[_countryToScore[i].country] = CityClashTypes.CountryScore(_countryToScore[i].red, _countryToScore[i].green, _countryToScore[i].blue);
        }
        redScore = red;
        greenScore = green;
        blueScore = blue;
    }

    function _transfer(
        address from,
        address to,
        uint256 tokenId
    ) internal override {
        CityClashTypes.City storage city = idToCities[tokenId];
        if(!hasUploadedMetadata(city)) {
            super._transfer(from, to, tokenId);
            return;
        }
        
        //choose faction for new address
        bool isNewOwner = addressToFaction[to] == 0;
        uint8 faction;
        if(isNewOwner) {
            faction = getOverallLosingFaction();
        } else {
            faction = addressToFaction[to];
        }
        super._transfer(from, to, tokenId);
        //update our data after the transfer has succeeded
        addressToFaction[to] = faction;

        if(addressToFaction[from] != addressToFaction[to]) {
            //current winning faction
            CityClashTypes.CountryScore storage countryScore = countryToScore[city.country];
            uint8 winningFaction = getWinningFaction(countryScore.red, countryScore.green, countryScore.blue);

            //set current city to new faction
            city.cityFaction = faction;
            city.lastTransferTime = block.timestamp;
            if(addressToFaction[from] == 1) {
                countryScore.red -= city.points;
            } else if(addressToFaction[from] == 2) {
                countryScore.green -= city.points;
            } else if(addressToFaction[from] == 3) {
                countryScore.blue -= city.points;
            }
            if(faction == 1) {
                countryScore.red += city.points;
            } else if(faction == 2) {
                countryScore.green += city.points;
            } else if(faction == 3) {
                countryScore.blue += city.points;
            }
            uint256 countryPoints = countryScore.red + countryScore.green + countryScore.blue;
            updateFactionScore(countryPoints, winningFaction, city);
            
        }
        emit TransferEvent(tokenId);
    }

    function tokenURI(uint256 _tokenId) public view virtual override returns (string memory) {
        require(_exists(_tokenId), "ERC721Metadata: URI query for nonexistent token");
        CityClashTypes.City memory city = idToCities[_tokenId];
        console.log('tokenId', _tokenId);
        console.log('city', city.city);
        
        string memory attributes = string(
            abi.encodePacked(
                '{"trait_type": "City",',
                '"value": "', city.city,
                '"},{"trait_type": "Country",',
                '"value": "', city.country,
                '"},{"trait_type": "Points",',
                '"value": ', uintToByteString(city.points, 2),
                '},{"trait_type": "City Faction",',
                '"value": "', factionToColorName(city.cityFaction),
                '"},{"trait_type": "Country Faction",',
                '"value": "', factionToColorName(getCountryFaction(city.country)),
                '"}'
            )
        );
        if(!hasUploadedMetadata(city) || keccak256(abi.encodePacked(baseUrl)) == keccak256(abi.encodePacked(""))) {
            attributes = '';
        }

        string memory imageString = getImage(city);
        string memory nameString = city.city;
        if(!hasUploadedMetadata(city) || keccak256(abi.encodePacked(baseUrl)) == keccak256(abi.encodePacked(""))) {
            imageString = placeHolderImage;
            nameString = string(abi.encodePacked("City ", uintToByteString(_tokenId, 4)));
        }
        
        string memory json = Base64.encode(
            bytes(
                string(
                    abi.encodePacked(
                        '{',
                            '"name": "', nameString,
                            '", "tokenId": ', uintToByteString(_tokenId, 4),
                            ', "image": ', '"', imageString,
                            '", "description": "City Clash is a P2E, social strategy game where 3 factions compete by buying and selling NFTs based on real world cities. The game is built entirely on-chain, and is fully functional at mint time!",',
                            '"attributes": [',
                                attributes,
                            ']',
                        '}'
                    )
                )
            )
        );

        string memory finalTokenUri = string(abi.encodePacked("data:application/json;base64,", json));
        console.log("\n--------------------");
        console.log(finalTokenUri);
        console.log("--------------------\n");
        return finalTokenUri;
    }

    function getImage(CityClashTypes.City memory city) public view returns (string memory) {
        uint p = city.points;
        string memory cityBaseUrl = baseUrl;
        if(keccak256(abi.encodePacked(city.baseImageUrl)) != keccak256(abi.encodePacked("")) && keccak256(abi.encodePacked(city.baseImageUrl)) != keccak256(abi.encodePacked("upgraded"))) {
            cityBaseUrl = city.baseImageUrl;
        }
        if(city.origPoints != 0) {
            p = city.origPoints;
        }
        string memory imageBytes = toHex(
            keccak256(
                abi.encodePacked(
                    uintToByteString(p, 2),
                    city.city,
                    city.country
                )
            )
        );
        return string(
            abi.encodePacked(
                cityBaseUrl,
                "/",
                imageBytes,
                "_",
                uintToByteString(city.cityFaction, 1),
                "_",
                uintToByteString(getCountryFaction(city.country), 1),
                ".png"
            )
        );
    }

    function factionToColorName(uint _faction) private pure returns (string memory str) {
        if(_faction == 1) {
            return "red";
        } else if(_faction == 2) {
            return "green";
        } else if(_faction == 3) {
            return "blue";
        }
    }

    function upgradeCity(uint _tokenId, uint points, bool isPositive) external {
        require(isAddressAbleToUpgrade[msg.sender], "Only the upgrade Contract can call this function");

        CityClashTypes.City storage city = idToCities[_tokenId];

        //update the scores
        CityClashTypes.CountryScore storage countryScore = countryToScore[city.country];
        uint8 winningFaction = getWinningFaction(countryScore.red, countryScore.green, countryScore.blue);
        if(city.origPoints == 0) {
            city.origPoints = city.points;
        }
        if(isPositive) {
            city.points += points;
            if(city.cityFaction == 1) {
                countryScore.red += points;
            } else if(city.cityFaction == 2) {
                countryScore.green += points;
            } else if(city.cityFaction == 3) {
                countryScore.blue += points;
            }
            if(winningFaction == 1) {
                redScore += points;
            } else if(winningFaction == 2) {
                greenScore += points;
            } else if(winningFaction == 3) {
                blueScore += points;
            }
        } else {
            city.points -= points;
            if(city.cityFaction == 1) {
                countryScore.red -= points;
            } else if(city.cityFaction == 2) {
                countryScore.green -= points;
            } else if(city.cityFaction == 3) {
                countryScore.blue -= points;
            }
            if(winningFaction == 1) {
                redScore -= points;
            } else if(winningFaction == 2) {
                greenScore -= points;
            } else if(winningFaction == 3) {
                blueScore -= points;
            }
        }
        city.baseImageUrl = "upgraded";
        
        uint256 countryPoints = countryScore.red + countryScore.green + countryScore.blue;
        updateFactionScore(countryPoints, winningFaction, city);
        emit UpgradeCityEvent(_tokenId);
    }

    function updateCityImage(uint _tokenId, string memory _imageBaseUrl) external {
        require(isAddressAbleToUpgrade[msg.sender], "Only the upgrade Contract can call this function");
        CityClashTypes.City storage city = idToCities[_tokenId];
        city.baseImageUrl = _imageBaseUrl;
        emit UpdateCityImageEvent(_tokenId);
    }

    /*
    Convert uint to byte string, padding number string with spaces at end.
    Useful to ensure result's length is a multiple of 3, and therefore base64 encoding won't
    result in '=' padding chars.
    */
    function uintToByteString(uint _a, uint _fixedLen) internal pure returns (bytes memory _uintAsString) {
        uint j = _a;
        uint len;
        while (j != 0) {
            len++;
            j /= 10;
        }
        bytes memory bstr = new bytes(_fixedLen);
        j = _fixedLen;
        if (_a == 0) {
            bstr[0] = "0";
            len = 1;
        }
        while (j > len) {
            j = j - 1;
            bstr[j] = bytes1(' ');
        }
        uint k = len;
        while (_a != 0) {
            k = k - 1;
            uint8 temp = (48 + uint8(_a - _a / 10 * 10));
            bytes1 b1 = bytes1(temp);
            bstr[k] = b1;
            _a /= 10;
        }
        return bstr;
    }

    //https://leckylao.com/2022/02/03/solidity-bytes-to-string-and-bytes-to-string-as-output/
    function toHex16 (bytes16 data) internal pure returns (bytes32 result) {
        result = bytes32 (data) & 0xFFFFFFFFFFFFFFFF000000000000000000000000000000000000000000000000 |
            (bytes32 (data) & 0x0000000000000000FFFFFFFFFFFFFFFF00000000000000000000000000000000) >> 64;
        result = result & 0xFFFFFFFF000000000000000000000000FFFFFFFF000000000000000000000000 |
            (result & 0x00000000FFFFFFFF000000000000000000000000FFFFFFFF0000000000000000) >> 32;
        result = result & 0xFFFF000000000000FFFF000000000000FFFF000000000000FFFF000000000000 |
            (result & 0x0000FFFF000000000000FFFF000000000000FFFF000000000000FFFF00000000) >> 16;
        result = result & 0xFF000000FF000000FF000000FF000000FF000000FF000000FF000000FF000000 |
            (result & 0x00FF000000FF000000FF000000FF000000FF000000FF000000FF000000FF0000) >> 8;
        result = (result & 0xF000F000F000F000F000F000F000F000F000F000F000F000F000F000F000F000) >> 4 |
            (result & 0x0F000F000F000F000F000F000F000F000F000F000F000F000F000F000F000F00) >> 8;
        result = bytes32 (0x3030303030303030303030303030303030303030303030303030303030303030 +
            uint256 (result) +
            (uint256 (result) + 0x0606060606060606060606060606060606060606060606060606060606060606 >> 4 &
            0x0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F) * 7);
    }
    
    function toHex(bytes32 data) public pure returns (string memory) {
        return string (abi.encodePacked ("0x", toHex16 (bytes16 (data)), toHex16 (bytes16 (data << 128))));
    }

    function withdraw() external onlyOwner {
        uint balance = address(this).balance;
        uint share = balance / 14;
        (bool success1,) = address(0x9FFfd1CA952faD6BE57b99b61a0E75c192F201c1).call{value: share}('');
        (bool success2,) = address(0x2429Bc492d2cdfB7114963aF5C3f4d23922af27e).call{value: share}('');
        (bool success3,) = msg.sender.call{value: balance * 6 / 7}('');
        require(success1 && success2 && success3, "Withdrawal failed");
    }
}

File 2 of 19 : CityClashScore.sol
//SPDX-License-Identifier: Unlicense
pragma solidity ^0.8.4;

import "./CityClashNFT.sol";

contract CityClashScore is CityClashNFT {
    
    event CountryChangedEvent(string country);

    uint256 public redScore = 0;
    uint256 public greenScore = 0;
    uint256 public blueScore = 0;
    
    function hasUploadedMetadata(CityClashTypes.City memory city) internal pure returns (bool) {
        return city.points != 0;
    }

    function getCountryFaction(string memory country) public view returns (uint8) {
        CityClashTypes.CountryScore memory countryScore = countryToScore[country];
        return getWinningFaction(countryScore.red, countryScore.green, countryScore.blue);
    }

    function getWinningFaction(uint _redPoints, uint _greenPoints, uint _bluePoints) public pure returns (uint8) {
        if(_redPoints > _greenPoints && _redPoints > _bluePoints) {
            return 1;
        } else if(_greenPoints > _redPoints && _greenPoints > _bluePoints) {
            return 2;
        } else if(_bluePoints > _redPoints && _bluePoints > _greenPoints) {
            return 3;
        }
        return 4; //incase of tie
    }

    function getLosingFaction(uint _redPoints, uint _greenPoints, uint _bluePoints) public pure returns (uint8) {
        if(_redPoints < _greenPoints && _redPoints < _bluePoints) {
            return 1;
        } else if(_greenPoints < _redPoints && _greenPoints < _bluePoints) {
            return 2;
        }
        return 3;
    }

    function getOverallLosingFaction() public view returns (uint8) {
        return getLosingFaction(redScore, greenScore, blueScore);
    }

    function updateFactionScore(uint countryPoints, uint8 previousWinningFaction, CityClashTypes.City memory city) internal {
        CityClashTypes.CountryScore storage countryScore = countryToScore[city.country];
        //recount after change
        uint8 winningFactionAfter = getWinningFaction(countryScore.red, countryScore.green, countryScore.blue);
        console.log('winning faction after', winningFactionAfter);
        if(previousWinningFaction != winningFactionAfter) {
            if(previousWinningFaction == 1) {
                redScore -= countryPoints;
            } else if(previousWinningFaction == 2) {
                greenScore -= countryPoints;
            } else if(previousWinningFaction == 3) {
                blueScore -= countryPoints;
            }
            if(winningFactionAfter == 1) {
                redScore += countryPoints;
            } else if(winningFactionAfter == 2) {
                greenScore += countryPoints;
            } else if(winningFactionAfter == 3) {
                blueScore += countryPoints;
            }
            emit CountryChangedEvent(city.country);
        }
    }
}

File 3 of 19 : CityClashTowersInterface.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.4;

interface CityClashTowersInterface {
    function idToNumStories(uint _tokenId) external returns (uint);
    function ownerOf(uint _tokenId) external view returns (address);
    function burnByCityClashContract(uint _tokenId, address _ownerAddress) external;
}

File 4 of 19 : CityClashNFT.sol
//SPDX-License-Identifier: Unlicense
pragma solidity ^0.8.4;

import "hardhat/console.sol";
import "@openzeppelin/contracts/token/ERC721/ERC721.sol";
import "@openzeppelin/contracts/security/ReentrancyGuard.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/Counters.sol";
import "./CityClashTypes.sol";
import { Base64 } from "../libraries/Base64.sol";

contract CityClashNFT is ERC721, Ownable, ReentrancyGuard {
    mapping(uint256 => CityClashTypes.City) public idToCities;
    mapping(address => uint8) public addressToFaction;
    mapping(string => CityClashTypes.CountryScore) public countryToScore;

    using Counters for Counters.Counter;
    Counters.Counter private _tokenIds;
    Counters.Counter private _reservedTokenIds;

    uint256 public constant MAX_CITIES = 3000;
    uint256 public citiesWaveMax = 1000; //local max that can be updated
    uint256 public constant FOUNDERS_RESERVE_AMOUNT = 50;
    uint256 private constant MAX_PUBLIC_CITIES = MAX_CITIES - FOUNDERS_RESERVE_AMOUNT;
    uint256 private constant MAX_PER_ADDRESS = 30;

    uint256 private constant MAX_PER_EARLY_ACCESS_ADDRESS = 3;

    uint256 public earlyAccessStartTimestamp;
    uint256 public publicSaleStartTimestamp;
    uint256 public mintPrice = 0.07 ether;
    
    string placeHolderImage = "https://gateway.pinata.cloud/ipfs/Qmes6ARu9uVgs6FKtJovEcxwK2uTMerZwd7zhsJSxAygdZ";
    string baseUrl = "";
    address upgradeCityContractAddress;

    mapping(address => bool) public isOnEarlyAccessList;
    mapping(address => uint256) public earlyAccessMintedCounts;
    mapping(address => uint256) private founderMintCountsRemaining;
    mapping(address => bool) public isAddressAbleToUpgrade;

    constructor() ERC721("City Clash", "City Clash is a P2E, social strategy game where 3 factions compete by buying and selling NFTs based on real world cities. The game is built entirely on-chain, and is fully functional at mint time!") {
        // console.log("Deploying CityClash");
    }

    modifier whenPublicSaleActive() {
        require(isPublicSaleOpen(), "Public sale not open");
        _;
    }

    modifier whenEarlyAccessActive() {
        require(isEarlyAccessOpen(), "Early access not open");
        _;
    }

    function mintPublicSale(uint256 _count) external payable nonReentrant whenPublicSaleActive returns (uint256, uint256) {
        require(_count > 0 && _count <= MAX_PER_ADDRESS, "Invalid City count");
        require(_tokenIds.current() + _count <= MAX_PUBLIC_CITIES, "All Cities have been minted");
        require(totalSupply() + _count <= citiesWaveMax, "Current mint wave has been minted");
        require(_count * mintPrice == msg.value, "Incorrect amount of ether sent");

        uint256 firstMintedId = _tokenIds.current() + 1;

        for (uint256 i = 0; i < _count; i++) {
            _tokenIds.increment();
            mint(_tokenIds.current());
        }

        return (firstMintedId, _count);
    }

    function mintEarlyAccess(uint256 _count) external payable nonReentrant whenEarlyAccessActive returns (uint256, uint256) {
        require(_count != 0, "Invalid City count");
        require(isOnEarlyAccessList[msg.sender], "Address not on Early Access list");
        require(_tokenIds.current() + _count <= MAX_PUBLIC_CITIES, "All Cities have been minted");
        require(totalSupply() + _count <= citiesWaveMax, "Current mint wave has been minted");
        require(_count * mintPrice == msg.value, "Incorrect amount of ether sent");

        uint256 userMintedAmount = earlyAccessMintedCounts[msg.sender] + _count;
        require(userMintedAmount <= MAX_PER_EARLY_ACCESS_ADDRESS, "Max Early Access count per address exceeded");

        uint256 firstMintedId = _tokenIds.current() + 1;
        for (uint256 i = 0; i < _count; i++) {
            _tokenIds.increment();
            mint(_tokenIds.current());
        }
        earlyAccessMintedCounts[msg.sender] = userMintedAmount;
        return (firstMintedId, _count);
    }

    function allocateFounderMint(address _addr, uint256 _count) public onlyOwner nonReentrant {
        founderMintCountsRemaining[_addr] = _count;
    }

    function founderMint(uint256 _count) public nonReentrant returns (uint256, uint256) {
        require(_count > 0 && _count <= MAX_PER_ADDRESS, "Invalid City count");
        require(_reservedTokenIds.current() + _count <= FOUNDERS_RESERVE_AMOUNT, "All reserved Cities have been minted");
        require(founderMintCountsRemaining[msg.sender] >= _count, "You cannot mint this many reserved Cities");

        uint256 firstMintedId = MAX_PUBLIC_CITIES + _tokenIds.current() + 1;
        for (uint256 i = 0; i < _count; i++) {
            _reservedTokenIds.increment();
            mint(MAX_PUBLIC_CITIES + _reservedTokenIds.current());
        }
        founderMintCountsRemaining[msg.sender] -= _count;
        return (firstMintedId, _count);
    }

    function getAddressFaction(address _a) public view returns (uint8) {
        if(addressToFaction[_a] != 0) {
            return addressToFaction[_a];
        }
        uint num = uint(keccak256(abi.encodePacked(_a)));
        return uint8(num % 3) + 1;  //mod by the number of factions
    }

    function mint(uint256 _tokenId) internal {
        _safeMint(msg.sender, _tokenId);
    }

    function idToCitiesFunc(uint256 _id) external view returns (CityClashTypes.City memory) {
        return idToCities[_id];
    }

    function getRemainingEarlyAccessMints(address _addr) public view returns (uint256) {
        if (!isOnEarlyAccessList[_addr]) {
            return 0;
        }
        return MAX_PER_EARLY_ACCESS_ADDRESS - earlyAccessMintedCounts[_addr];
    }

    function getRemainingFounderMints(address _addr) public view returns (uint256) {
        return founderMintCountsRemaining[_addr];
    }

    function isPublicSaleOpen() public view returns (bool) {
        return block.timestamp >= publicSaleStartTimestamp && publicSaleStartTimestamp != 0;
    }

    function isEarlyAccessOpen() public view returns (bool) {
        return !isPublicSaleOpen() && block.timestamp >= earlyAccessStartTimestamp && earlyAccessStartTimestamp != 0;
    }

    function addToEarlyAccessList(address[] memory _toEarlyAccessList) external onlyOwner {
        for (uint256 i = 0; i < _toEarlyAccessList.length; i++) {
            isOnEarlyAccessList[_toEarlyAccessList[i]] = true;
        }
    }

    function addToFaction(CityClashTypes.AddressToFaction[] memory _toFactions) external onlyOwner {
        for (uint256 i = 0; i < _toFactions.length; i++) {
            addressToFaction[_toFactions[i].a] = _toFactions[i].faction;
        }
    }

    function setPublicSaleTimestamp(uint256 _timestamp) external onlyOwner {
        publicSaleStartTimestamp = _timestamp;
    }

    function setEarlyAccessTimestamp(uint256 _timestamp) external onlyOwner {
        earlyAccessStartTimestamp = _timestamp;
    }

    function setMintPrice(uint256 _price) external onlyOwner {
        mintPrice = _price;
    }

    function setCitiesWaveMax(uint256 _max) external onlyOwner {
        citiesWaveMax = _max;
    }

    function setPlaceHolderImage(string calldata _newPlaceHolder) external onlyOwner {
        placeHolderImage = _newPlaceHolder;
    }

    function getPlaceHolderImage() public view returns (string memory) {
        return placeHolderImage;
    }

    function setAddressAbleToUpgrade(address _address, bool _isAble) external onlyOwner {
        isAddressAbleToUpgrade[_address] = _isAble;
    }

    function getisAddressAbleToUpgrade(address _address) public view returns (bool) {
        return isAddressAbleToUpgrade[_address];
    }

    function setBaseUrl(string calldata _newBaseUrl) external onlyOwner {
        baseUrl = _newBaseUrl;
    }

    function getBaseUrl() public view returns (string memory) {
        return baseUrl;
    }

    function totalSupply() public view returns (uint256) {
        return _tokenIds.current() + _reservedTokenIds.current();
    }

    function getTokenIds() public view returns (uint256) {
        return _tokenIds.current();
    }

    function getReservedTokenIds() public view returns (uint256) {
        return _reservedTokenIds.current();
    }
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

}

File 6 of 19 : ERC721.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.0 (token/ERC721/ERC721.sol)

pragma solidity ^0.8.0;

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

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

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        _approve(to, tokenId);
    }

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

        return _tokenApprovals[tokenId];
    }

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

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

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

        _transfer(from, to, tokenId);
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        _beforeTokenTransfer(from, to, tokenId);

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

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

        emit Transfer(from, to, tokenId);
    }

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

    /**
     * @dev 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 {}
}

File 7 of 19 : ReentrancyGuard.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.0 (security/ReentrancyGuard.sol)

pragma solidity ^0.8.0;

/**
 * @dev Contract module that helps prevent reentrant calls to a function.
 *
 * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier
 * available, which can be applied to functions to make sure there are no nested
 * (reentrant) calls to them.
 *
 * Note that because there is a single `nonReentrant` guard, functions marked as
 * `nonReentrant` may not call one another. This can be worked around by making
 * those functions `private`, and then adding `external` `nonReentrant` entry
 * points to them.
 *
 * TIP: If you would like to learn more about reentrancy and alternative ways
 * to protect against it, check out our blog post
 * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul].
 */
abstract contract ReentrancyGuard {
    // Booleans are more expensive than uint256 or any type that takes up a full
    // word because each write operation emits an extra SLOAD to first read the
    // slot's contents, replace the bits taken up by the boolean, and then write
    // back. This is the compiler's defense against contract upgrades and
    // pointer aliasing, and it cannot be disabled.

    // The values being non-zero value makes deployment a bit more expensive,
    // but in exchange the refund on every call to nonReentrant will be lower in
    // amount. Since refunds are capped to a percentage of the total
    // transaction's gas, it is best to keep them low in cases like this one, to
    // increase the likelihood of the full refund coming into effect.
    uint256 private constant _NOT_ENTERED = 1;
    uint256 private constant _ENTERED = 2;

    uint256 private _status;

    constructor() {
        _status = _NOT_ENTERED;
    }

    /**
     * @dev Prevents a contract from calling itself, directly or indirectly.
     * Calling a `nonReentrant` function from another `nonReentrant`
     * function is not supported. It is possible to prevent this from happening
     * by making the `nonReentrant` function external, and making it call a
     * `private` function that does the actual work.
     */
    modifier nonReentrant() {
        // On the first call to nonReentrant, _notEntered will be true
        require(_status != _ENTERED, "ReentrancyGuard: reentrant call");

        // Any calls to nonReentrant after this point will fail
        _status = _ENTERED;

        _;

        // By storing the original value once again, a refund is triggered (see
        // https://eips.ethereum.org/EIPS/eip-2200)
        _status = _NOT_ENTERED;
    }
}

File 8 of 19 : Ownable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.0 (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 9 of 19 : Counters.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.0 (utils/Counters.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

File 10 of 19 : CityClashTypes.sol
//SPDX-License-Identifier: Unlicense
pragma solidity ^0.8.4;

interface CityClashTypes {
    struct City {
        string city;
        string country;
        uint256 points;
        uint8 cityFaction;        //1 red, 2 green, 3 blue
        uint256 lastTransferTime;
        string baseImageUrl;
        uint256 origPoints;
    }

    struct CityWithId {
        uint256 id;               //1 to 3000
        string city;
        string country;
        uint256 points;
        uint8 cityFaction;        //1 red, 2 green, 3 blue
    }

    struct CountryScore {
        uint256 red;
        uint256 green;
        uint256 blue;
    }

     struct CountryToScore {
        string country;
        uint256 red;
        uint256 green;
        uint256 blue;
    }

    struct AddressToFaction {
        address a;
        uint8 faction;
    }
}

File 11 of 19 : Base64.sol
//SPDX-License-Identifier: Unlicense
pragma solidity ^0.8.4;

/// [MIT License]
/// @title Base64
/// @notice Provides a function for encoding some bytes in base64
/// @author Brecht Devos <[email protected]>
library Base64 {
    bytes internal constant TABLE = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";

    /// @notice Encodes some bytes to the base64 representation
    function encode(bytes memory data) internal pure returns (string memory) {
        uint256 len = data.length;
        if (len == 0) return "";

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

        // Add some extra buffer at the end
        bytes memory result = new bytes(encodedLen + 32);

        bytes memory table = TABLE;

        assembly {
            let tablePtr := add(table, 1)
            let resultPtr := add(result, 32)

            for {
                let i := 0
            } lt(i, len) {

            } {
                i := add(i, 3)
                let input := and(mload(add(data, i)), 0xffffff)

                let out := mload(add(tablePtr, and(shr(18, input), 0x3F)))
                out := shl(8, out)
                out := add(out, and(mload(add(tablePtr, and(shr(12, input), 0x3F))), 0xFF))
                out := shl(8, out)
                out := add(out, and(mload(add(tablePtr, and(shr(6, input), 0x3F))), 0xFF))
                out := shl(8, out)
                out := add(out, and(mload(add(tablePtr, and(input, 0x3F))), 0xFF))
                out := shl(224, out)

                mstore(resultPtr, out)

                resultPtr := add(resultPtr, 4)
            }

            switch mod(len, 3)
            case 1 {
                mstore(sub(resultPtr, 2), shl(240, 0x3d3d))
            }
            case 2 {
                mstore(sub(resultPtr, 1), shl(248, 0x3d))
            }

            mstore(result, encodedLen)
        }

        return string(result);
    }
}

File 12 of 19 : IERC721.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.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`, checking first that contract recipients
     * are aware of the ERC721 protocol to prevent tokens from being forever locked.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must exist and be owned by `from`.
     * - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId
    ) external;

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

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

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

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

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

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

File 13 of 19 : IERC721Receiver.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.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 `IERC721.onERC721Received.selector`.
     */
    function onERC721Received(
        address operator,
        address from,
        uint256 tokenId,
        bytes calldata data
    ) external returns (bytes4);
}

File 14 of 19 : IERC721Metadata.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.0 (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 15 of 19 : Address.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.0 (utils/Address.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

File 16 of 19 : Context.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.0 (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 17 of 19 : Strings.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.0 (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 18 of 19 : ERC165.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.0 (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 19 of 19 : IERC165.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.0 (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": 200
  },
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "devdoc",
        "userdoc",
        "metadata",
        "abi"
      ]
    }
  },
  "libraries": {}
}

Contract Security Audit

Contract ABI

[{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"string","name":"country","type":"string"}],"name":"CountryChangedEvent","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"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"TransferEvent","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"UpdateCityImageEvent","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"UpgradeCityEvent","type":"event"},{"inputs":[],"name":"FOUNDERS_RESERVE_AMOUNT","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_CITIES","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"_toEarlyAccessList","type":"address[]"}],"name":"addToEarlyAccessList","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"components":[{"internalType":"address","name":"a","type":"address"},{"internalType":"uint8","name":"faction","type":"uint8"}],"internalType":"struct CityClashTypes.AddressToFaction[]","name":"_toFactions","type":"tuple[]"}],"name":"addToFaction","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"addressToFaction","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_addr","type":"address"},{"internalType":"uint256","name":"_count","type":"uint256"}],"name":"allocateFounderMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"blueScore","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"citiesWaveMax","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"string","name":"","type":"string"}],"name":"countryToScore","outputs":[{"internalType":"uint256","name":"red","type":"uint256"},{"internalType":"uint256","name":"green","type":"uint256"},{"internalType":"uint256","name":"blue","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"earlyAccessMintedCounts","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"earlyAccessStartTimestamp","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_count","type":"uint256"}],"name":"founderMint","outputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_a","type":"address"}],"name":"getAddressFaction","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getBaseUrl","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"string","name":"country","type":"string"}],"name":"getCountryFaction","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"components":[{"internalType":"string","name":"city","type":"string"},{"internalType":"string","name":"country","type":"string"},{"internalType":"uint256","name":"points","type":"uint256"},{"internalType":"uint8","name":"cityFaction","type":"uint8"},{"internalType":"uint256","name":"lastTransferTime","type":"uint256"},{"internalType":"string","name":"baseImageUrl","type":"string"},{"internalType":"uint256","name":"origPoints","type":"uint256"}],"internalType":"struct CityClashTypes.City","name":"city","type":"tuple"}],"name":"getImage","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_redPoints","type":"uint256"},{"internalType":"uint256","name":"_greenPoints","type":"uint256"},{"internalType":"uint256","name":"_bluePoints","type":"uint256"}],"name":"getLosingFaction","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"pure","type":"function"},{"inputs":[],"name":"getOverallLosingFaction","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getPlaceHolderImage","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_addr","type":"address"}],"name":"getRemainingEarlyAccessMints","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_addr","type":"address"}],"name":"getRemainingFounderMints","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getReservedTokenIds","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getTokenIds","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_redPoints","type":"uint256"},{"internalType":"uint256","name":"_greenPoints","type":"uint256"},{"internalType":"uint256","name":"_bluePoints","type":"uint256"}],"name":"getWinningFaction","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"}],"name":"getisAddressAbleToUpgrade","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"greenScore","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"idToCities","outputs":[{"internalType":"string","name":"city","type":"string"},{"internalType":"string","name":"country","type":"string"},{"internalType":"uint256","name":"points","type":"uint256"},{"internalType":"uint8","name":"cityFaction","type":"uint8"},{"internalType":"uint256","name":"lastTransferTime","type":"uint256"},{"internalType":"string","name":"baseImageUrl","type":"string"},{"internalType":"uint256","name":"origPoints","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_id","type":"uint256"}],"name":"idToCitiesFunc","outputs":[{"components":[{"internalType":"string","name":"city","type":"string"},{"internalType":"string","name":"country","type":"string"},{"internalType":"uint256","name":"points","type":"uint256"},{"internalType":"uint8","name":"cityFaction","type":"uint8"},{"internalType":"uint256","name":"lastTransferTime","type":"uint256"},{"internalType":"string","name":"baseImageUrl","type":"string"},{"internalType":"uint256","name":"origPoints","type":"uint256"}],"internalType":"struct CityClashTypes.City","name":"","type":"tuple"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"isAddressAbleToUpgrade","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":"isEarlyAccessOpen","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"isOnEarlyAccessList","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isPublicSaleOpen","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_count","type":"uint256"}],"name":"mintEarlyAccess","outputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"mintPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_count","type":"uint256"}],"name":"mintPublicSale","outputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"publicSaleStartTimestamp","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"redScore","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":"_address","type":"address"},{"internalType":"bool","name":"_isAble","type":"bool"}],"name":"setAddressAbleToUpgrade","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_newBaseUrl","type":"string"}],"name":"setBaseUrl","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_max","type":"uint256"}],"name":"setCitiesWaveMax","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_timestamp","type":"uint256"}],"name":"setEarlyAccessTimestamp","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_price","type":"uint256"}],"name":"setMintPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_newPlaceHolder","type":"string"}],"name":"setPlaceHolderImage","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_timestamp","type":"uint256"}],"name":"setPublicSaleTimestamp","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"data","type":"bytes32"}],"name":"toHex","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"},{"internalType":"string","name":"_imageBaseUrl","type":"string"}],"name":"updateCityImage","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"},{"internalType":"uint256","name":"points","type":"uint256"},{"internalType":"bool","name":"isPositive","type":"bool"}],"name":"upgradeCity","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"components":[{"internalType":"uint256","name":"id","type":"uint256"},{"internalType":"string","name":"city","type":"string"},{"internalType":"string","name":"country","type":"string"},{"internalType":"uint256","name":"points","type":"uint256"},{"internalType":"uint8","name":"cityFaction","type":"uint8"}],"internalType":"struct CityClashTypes.CityWithId[]","name":"_cities","type":"tuple[]"}],"name":"uploadMetadata","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"components":[{"internalType":"string","name":"country","type":"string"},{"internalType":"uint256","name":"red","type":"uint256"},{"internalType":"uint256","name":"green","type":"uint256"},{"internalType":"uint256","name":"blue","type":"uint256"}],"internalType":"struct CityClashTypes.CountryToScore[]","name":"_countryToScore","type":"tuple[]"},{"internalType":"uint256","name":"red","type":"uint256"},{"internalType":"uint256","name":"green","type":"uint256"},{"internalType":"uint256","name":"blue","type":"uint256"}],"name":"uploadScore","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

6103e8600d5566f8b0a10e47000060105561010060405260506080818152906200623560a03980516200003b9160119160209091019062000161565b506040805160208101918290526000908190526200005c9160129162000161565b50600060185560006019556000601a553480156200007957600080fd5b506040518060400160405280600a815260200169086d2e8f24086d8c2e6d60b31b81525060405180610100016040528060c481526020016200628560c491398151620000cd90600090602085019062000161565b508051620000e390600190602084019062000161565b50505062000100620000fa6200010b60201b60201c565b6200010f565b600160075562000244565b3390565b600680546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b8280546200016f9062000207565b90600052602060002090601f016020900481019282620001935760008555620001de565b82601f10620001ae57805160ff1916838001178555620001de565b82800160010185558215620001de579182015b82811115620001de578251825591602001919060010190620001c1565b50620001ec929150620001f0565b5090565b5b80821115620001ec5760008155600101620001f1565b600181811c908216806200021c57607f821691505b602082108114156200023e57634e487b7160e01b600052602260045260246000fd5b50919050565b615fe180620002546000396000f3fe6080604052600436106103e45760003560e01c80636dcec52811610208578063ac5fcdee11610118578063dd93c11e116100ab578063f25246011161007a578063f252460114610c00578063f2fde38b14610c36578063f42202e814610c56578063f4a0a52814610c76578063faf81f4c14610c9657600080fd5b8063dd93c11e14610b31578063df31594414610b5e578063e0be154614610b7e578063e985e9c514610bb757600080fd5b8063c5eadb4c116100e7578063c5eadb4c14610ac5578063c7c3268b14610adb578063c87b56dd14610afb578063d7822c9914610b1b57600080fd5b8063ac5fcdee14610a25578063b2e07ce814610a55578063b51d456414610a85578063b88d4fde14610aa557600080fd5b8063944fccac1161019b5780639f9881f31161016a5780639f9881f31461099a578063a08cdf66146109af578063a1e5995b146109dc578063a22cb465146109ef578063a2741bdb14610a0f57600080fd5b8063944fccac1461092f57806395d89b411461094f5780639676763014610964578063971e842f1461097a57600080fd5b80637dd0dbb5116101d75780637dd0dbb5146108bb5780637de46b69146108db57806388c96888146108fb5780638da5cb5b1461091157600080fd5b80636dcec528146108465780636e642aba1461086657806370a0823114610886578063715018a6146108a657600080fd5b806323b872dd11610303578063511a96051161029657806366fa2ca11161026557806366fa2ca1146107d157806367f718a9146107f15780636817c76c146108065780636bb463f61461081c5780636cd831d61461083157600080fd5b8063511a9605146107545780635a5e5d58146107745780635b439f0e1461079c5780636352211e146107b157600080fd5b80633e19d3d2116102d25780633e19d3d2146106e857806342842e0e146106fe57806349e894d81461071e5780634c4e4bed1461073e57600080fd5b806323b872dd14610673578063244f67d814610693578063276e81c0146106b35780633ccfd60b146106d357600080fd5b80630d0090ef1161037b5780631a6949e31161034a5780631a6949e3146105bc5780631ea35473146105d1578063217c1b77146105f157806321f3c4291461061157600080fd5b80630d0090ef1461053257806312f449221461054757806316b7f9391461057957806318160ddd1461059957600080fd5b8063081812fc116103b7578063081812fc1461049557806308710447146104cd578063095ea7b3146104fd5780630ac961031461051d57600080fd5b806301ffc9a7146103e957806304b1dfe91461041e57806306f6227f1461044057806306fdde0314610473575b600080fd5b3480156103f557600080fd5b50610409610404366004615193565b610cb6565b60405190151581526020015b60405180910390f35b34801561042a57600080fd5b5061043e61043936600461505a565b610d08565b005b34801561044c57600080fd5b5061046061045b36600461517b565b610e69565b6040516104159796959493929190615a33565b34801561047f57600080fd5b50610488611044565b60405161041591906159f2565b3480156104a157600080fd5b506104b56104b036600461517b565b6110d6565b6040516001600160a01b039091168152602001610415565b3480156104d957600080fd5b506104096104e8366004614c8c565b60176020526000908152604090205460ff1681565b34801561050957600080fd5b5061043e610518366004614db4565b61116b565b34801561052957600080fd5b50610488611281565b34801561053e57600080fd5b50610409611290565b34801561055357600080fd5b50610567610562366004615237565b6112bb565b60405160ff9091168152602001610415565b34801561058557600080fd5b5061043e610594366004614e7b565b611316565b3480156105a557600080fd5b506105ae6113e8565b604051908152602001610415565b3480156105c857600080fd5b50610409611400565b3480156105dd57600080fd5b5061043e6105ec36600461517b565b611418565b3480156105fd57600080fd5b5061056761060c366004614c8c565b611447565b34801561061d57600080fd5b5061065861062c366004615237565b8051602081830181018051600a8252928201919093012091528054600182015460029092015490919083565b60408051938452602084019290925290820152606001610415565b34801561067f57600080fd5b5061043e61068e366004614cd8565b6114d9565b34801561069f57600080fd5b506105676106ae3660046153c1565b61150a565b3480156106bf57600080fd5b5061043e6106ce36600461538d565b61154c565b3480156106df57600080fd5b5061043e611a76565b3480156106f457600080fd5b506105ae60185481565b34801561070a57600080fd5b5061043e610719366004614cd8565b611c2b565b34801561072a57600080fd5b5061048861073936600461517b565b611c46565b34801561074a57600080fd5b506105ae600d5481565b34801561076057600080fd5b5061043e61076f36600461517b565b611c92565b61078761078236600461517b565b611cc1565b60408051928352602083019190915201610415565b3480156107a857600080fd5b506105ae603281565b3480156107bd57600080fd5b506104b56107cc36600461517b565b611ec3565b3480156107dd57600080fd5b506104886107ec366004615269565b611f3a565b3480156107fd57600080fd5b506105ae612130565b34801561081257600080fd5b506105ae60105481565b34801561082857600080fd5b506105ae61213b565b34801561083d57600080fd5b50610567612146565b34801561085257600080fd5b5061043e610861366004614ddd565b612159565b34801561087257600080fd5b506105ae610881366004614c8c565b6121f9565b34801561089257600080fd5b506105ae6108a1366004614c8c565b612245565b3480156108b257600080fd5b5061043e6122cc565b3480156108c757600080fd5b5061043e6108d6366004614db4565b612302565b3480156108e757600080fd5b5061043e6108f636600461517b565b612370565b34801561090757600080fd5b506105ae60195481565b34801561091d57600080fd5b506006546001600160a01b03166104b5565b34801561093b57600080fd5b5061043e61094a3660046151cb565b61239f565b34801561095b57600080fd5b506104886123d5565b34801561097057600080fd5b506105ae600e5481565b34801561098657600080fd5b5061043e610995366004614d8b565b6123e4565b3480156109a657600080fd5b50610488612439565b3480156109bb57600080fd5b506105ae6109ca366004614c8c565b60156020526000908152604090205481565b6107876109ea36600461517b565b612448565b3480156109fb57600080fd5b5061043e610a0a366004614d8b565b61272a565b348015610a1b57600080fd5b506105ae610bb881565b348015610a3157600080fd5b50610409610a40366004614c8c565b60146020526000908152604090205460ff1681565b348015610a6157600080fd5b50610567610a70366004614c8c565b60096020526000908152604090205460ff1681565b348015610a9157600080fd5b5061043e610aa0366004614f30565b612735565b348015610ab157600080fd5b5061043e610ac0366004614d13565b612b27565b348015610ad157600080fd5b506105ae601a5481565b348015610ae757600080fd5b5061043e610af63660046151cb565b612b5f565b348015610b0757600080fd5b50610488610b1636600461517b565b612b95565b348015610b2757600080fd5b506105ae600f5481565b348015610b3d57600080fd5b50610b51610b4c36600461517b565b613125565b6040516104159190615c84565b348015610b6a57600080fd5b50610567610b793660046153c1565b61336c565b348015610b8a57600080fd5b50610409610b99366004614c8c565b6001600160a01b031660009081526017602052604090205460ff1690565b348015610bc357600080fd5b50610409610bd2366004614ca6565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b348015610c0c57600080fd5b506105ae610c1b366004614c8c565b6001600160a01b031660009081526016602052604090205490565b348015610c4257600080fd5b5061043e610c51366004614c8c565b6133c9565b348015610c6257600080fd5b50610787610c7136600461517b565b613464565b348015610c8257600080fd5b5061043e610c9136600461517b565b613649565b348015610ca257600080fd5b5061043e610cb1366004615349565b613678565b60006001600160e01b031982166380ac58cd60e01b1480610ce757506001600160e01b03198216635b5e139f60e01b145b80610d0257506301ffc9a760e01b6001600160e01b03198316145b92915050565b6006546001600160a01b03163314610d3b5760405162461bcd60e51b8152600401610d3290615b4b565b60405180910390fd5b60005b8451811015610e59576040518060600160405280868381518110610d7257634e487b7160e01b600052603260045260246000fd5b6020026020010151602001518152602001868381518110610da357634e487b7160e01b600052603260045260246000fd5b6020026020010151604001518152602001868381518110610dd457634e487b7160e01b600052603260045260246000fd5b602002602001015160600151815250600a868381518110610e0557634e487b7160e01b600052603260045260246000fd5b602002602001015160000151604051610e1e9190615477565b908152604080516020928190038301902083518155918301516001830155919091015160029091015580610e5181615ee4565b915050610d3e565b50601892909255601955601a5550565b600860205260009081526040902080548190610e8490615ea9565b80601f0160208091040260200160405190810160405280929190818152602001828054610eb090615ea9565b8015610efd5780601f10610ed257610100808354040283529160200191610efd565b820191906000526020600020905b815481529060010190602001808311610ee057829003601f168201915b505050505090806001018054610f1290615ea9565b80601f0160208091040260200160405190810160405280929190818152602001828054610f3e90615ea9565b8015610f8b5780601f10610f6057610100808354040283529160200191610f8b565b820191906000526020600020905b815481529060010190602001808311610f6e57829003601f168201915b5050506002840154600385015460048601546005870180549697939660ff909316955090935090610fbb90615ea9565b80601f0160208091040260200160405190810160405280929190818152602001828054610fe790615ea9565b80156110345780601f1061100957610100808354040283529160200191611034565b820191906000526020600020905b81548152906001019060200180831161101757829003601f168201915b5050505050908060060154905087565b60606000805461105390615ea9565b80601f016020809104026020016040519081016040528092919081815260200182805461107f90615ea9565b80156110cc5780601f106110a1576101008083540402835291602001916110cc565b820191906000526020600020905b8154815290600101906020018083116110af57829003601f168201915b5050505050905090565b6000818152600260205260408120546001600160a01b031661114f5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b6064820152608401610d32565b506000908152600460205260409020546001600160a01b031690565b600061117682611ec3565b9050806001600160a01b0316836001600160a01b031614156111e45760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b6064820152608401610d32565b336001600160a01b038216148061120057506112008133610bd2565b6112725760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006064820152608401610d32565b61127c8383613706565b505050565b60606012805461105390615ea9565b600061129a611400565b1580156112a95750600e544210155b80156112b65750600e5415155b905090565b600080600a836040516112ce9190615477565b9081526040805191829003602090810183206060840183528054808552600182015492850183905260029091015492840183905292935061130f929161336c565b9392505050565b6006546001600160a01b031633146113405760405162461bcd60e51b8152600401610d3290615b4b565b60005b81518110156113e45781818151811061136c57634e487b7160e01b600052603260045260246000fd5b6020026020010151602001516009600084848151811061139c57634e487b7160e01b600052603260045260246000fd5b602090810291909101810151516001600160a01b03168252810191909152604001600020805460ff191660ff92909216919091179055806113dc81615ee4565b915050611343565b5050565b60006113f3600c5490565b600b546112b69190615df6565b6000600f5442101580156112b6575050600f54151590565b6006546001600160a01b031633146114425760405162461bcd60e51b8152600401610d3290615b4b565b600d55565b6001600160a01b03811660009081526009602052604081205460ff161561148757506001600160a01b031660009081526009602052604090205460ff1690565b6040516bffffffffffffffffffffffff19606084901b16602082015260009060340160408051601f19818403018152919052805160209091012090506114ce600382615eff565b61130f906001615e0e565b6114e33382613774565b6114ff5760405162461bcd60e51b8152600401610d3290615bd0565b61127c83838361386b565b6000828410801561151a57508184105b156115275750600161130f565b838310801561153557508183105b156115425750600261130f565b5060039392505050565b3360009081526017602052604090205460ff1661157b5760405162461bcd60e51b8152600401610d3290615b80565b6000838152600860205260408082209051909190600a906115a0906001850190615521565b9081526020016040518091039020905060006115c982600001548360010154846002015461336c565b90508260060154600014156115e357600283015460068401555b83156116f357848360020160008282546115fd9190615df6565b9091555050600383015460ff166001141561163157848260000160008282546116269190615df6565b9091555061167e9050565b600383015460ff166002141561165557848260010160008282546116269190615df6565b60038084015460ff16141561167e57848260020160008282546116789190615df6565b90915550505b8060ff16600114156116a757846018600082825461169c9190615df6565b909155506117e89050565b8060ff16600214156116d05784601960008282546116c59190615df6565b909155506116ee9050565b8060ff16600314156116ee5784601a600082825461169c9190615df6565b6117e8565b848360020160008282546117079190615e66565b9091555050600383015460ff166001141561173b57848260000160008282546117309190615e66565b909155506117889050565b600383015460ff166002141561175f57848260010160008282546117309190615e66565b60038084015460ff16141561178857848260020160008282546117829190615e66565b90915550505b8060ff16600114156117a657846018600082825461169c9190615e66565b8060ff16600214156117c457846019600082825461169c9190615e66565b8060ff16600314156117e85784601a60008282546117e29190615e66565b90915550505b604080518082019091526008808252671d5c19dc9859195960c21b6020909201918252611819916005860191614ad1565b506002820154600183015483546000929161183391615df6565b61183d9190615df6565b9050611a3a8183866040518060e001604052908160008201805461186090615ea9565b80601f016020809104026020016040519081016040528092919081815260200182805461188c90615ea9565b80156118d95780601f106118ae576101008083540402835291602001916118d9565b820191906000526020600020905b8154815290600101906020018083116118bc57829003601f168201915b505050505081526020016001820180546118f290615ea9565b80601f016020809104026020016040519081016040528092919081815260200182805461191e90615ea9565b801561196b5780601f106119405761010080835404028352916020019161196b565b820191906000526020600020905b81548152906001019060200180831161194e57829003601f168201915b505050918352505060028201546020820152600382015460ff166040820152600482015460608201526005820180546080909201916119a990615ea9565b80601f01602080910402602001604051908101604052809291908181526020018280546119d590615ea9565b8015611a225780601f106119f757610100808354040283529160200191611a22565b820191906000526020600020905b815481529060010190602001808311611a0557829003601f168201915b50505050508152602001600682015481525050613d3f565b6040518781527f77d6e1827b8fa8f1e95e30340bca8f3a1a0083f7f1a9d57c29988d029ae2c41b9060200160405180910390a150505050505050565b6006546001600160a01b03163314611aa05760405162461bcd60e51b8152600401610d3290615b4b565b476000611aae600e83615e33565b604051909150600090739fffd1ca952fad6be57b99b61a0e75c192f201c19083908381818185875af1925050503d8060008114611b07576040519150601f19603f3d011682016040523d82523d6000602084013e611b0c565b606091505b5050604051909150600090732429bc492d2cdfb7114963af5c3f4d23922af27e9084908381818185875af1925050503d8060008114611b67576040519150601f19603f3d011682016040523d82523d6000602084013e611b6c565b606091505b5090915060009050336007611b82876006615e47565b611b8c9190615e33565b604051600081818185875af1925050503d8060008114611bc8576040519150601f19603f3d011682016040523d82523d6000602084013e611bcd565b606091505b50509050828015611bdb5750815b8015611be45750805b611c245760405162461bcd60e51b815260206004820152601160248201527015da5d1a191c985dd85b0819985a5b1959607a1b6044820152606401610d32565b5050505050565b61127c83838360405180602001604052806000815250612b27565b6060611c5182613edf565b611c5e608084901b613edf565b60405161060f60f31b6020820152602281019290925260428201526062016040516020818303038152906040529050919050565b6006546001600160a01b03163314611cbc5760405162461bcd60e51b8152600401610d3290615b4b565b600f55565b60008060026007541415611ce75760405162461bcd60e51b8152600401610d3290615c4d565b6002600755611cf4611400565b611d375760405162461bcd60e51b8152602060048201526014602482015273283ab13634b19039b0b632903737ba1037b832b760611b6044820152606401610d32565b600083118015611d485750601e8311155b611d645760405162461bcd60e51b8152600401610d3290615c21565b611d716032610bb8615e66565b83611d7b600b5490565b611d859190615df6565b1115611dd35760405162461bcd60e51b815260206004820152601b60248201527f416c6c204369746965732068617665206265656e206d696e74656400000000006044820152606401610d32565b600d5483611ddf6113e8565b611de99190615df6565b1115611e075760405162461bcd60e51b8152600401610d3290615b0a565b3460105484611e169190615e47565b14611e635760405162461bcd60e51b815260206004820152601e60248201527f496e636f727265637420616d6f756e74206f662065746865722073656e7400006044820152606401610d32565b6000611e6e600b5490565b611e79906001615df6565b905060005b84811015611eb757611e94600b80546001019055565b611ea5611ea0600b5490565b614091565b80611eaf81615ee4565b915050611e7e565b50600160075593915050565b6000818152600260205260408120546001600160a01b031680610d025760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b6064820152608401610d32565b6060600082604001519050600060128054611f5490615ea9565b80601f0160208091040260200160405190810160405280929190818152602001828054611f8090615ea9565b8015611fcd5780601f10611fa257610100808354040283529160200191611fcd565b820191906000526020600020905b815481529060010190602001808311611fb057829003601f168201915b50506040805160008152602081018083528151902060a08b015196975095611ffa95509350019050615477565b60405160208183030381529060405280519060200120141580156120745750604051671d5c19dc9859195960c21b6020820152602801604051602081830303815290604052805190602001208460a0015160405160200161205b9190615477565b6040516020818303038152906040528051906020012014155b15612080575060a08301515b60c084015115612092578360c0015191505b60006120d46120a284600261409b565b86516020808901516040516120b994939201615434565b60405160208183030381529060405280519060200120611c46565b905081816120ea876060015160ff16600161409b565b6121046120fa89602001516112bb565b60ff16600161409b565b6040516020016121179493929190615493565b6040516020818303038152906040529350505050919050565b60006112b6600b5490565b60006112b6600c5490565b60006112b6601854601954601a5461150a565b6006546001600160a01b031633146121835760405162461bcd60e51b8152600401610d3290615b4b565b60005b81518110156113e4576001601460008484815181106121b557634e487b7160e01b600052603260045260246000fd5b6020908102919091018101516001600160a01b03168252810191909152604001600020805460ff1916911515919091179055806121f181615ee4565b915050612186565b6001600160a01b03811660009081526014602052604081205460ff1661222157506000919050565b6001600160a01b038216600090815260156020526040902054610d02906003615e66565b60006001600160a01b0382166122b05760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b6064820152608401610d32565b506001600160a01b031660009081526003602052604090205490565b6006546001600160a01b031633146122f65760405162461bcd60e51b8152600401610d3290615b4b565b612300600061425e565b565b6006546001600160a01b0316331461232c5760405162461bcd60e51b8152600401610d3290615b4b565b6002600754141561234f5760405162461bcd60e51b8152600401610d3290615c4d565b6001600160a01b039091166000908152601660205260409020556001600755565b6006546001600160a01b0316331461239a5760405162461bcd60e51b8152600401610d3290615b4b565b600e55565b6006546001600160a01b031633146123c95760405162461bcd60e51b8152600401610d3290615b4b565b61127c60118383614b55565b60606001805461105390615ea9565b6006546001600160a01b0316331461240e5760405162461bcd60e51b8152600401610d3290615b4b565b6001600160a01b03919091166000908152601760205260409020805460ff1916911515919091179055565b60606011805461105390615ea9565b6000806002600754141561246e5760405162461bcd60e51b8152600401610d3290615c4d565b600260075561247b611290565b6124bf5760405162461bcd60e51b815260206004820152601560248201527422b0b9363c9030b1b1b2b9b9903737ba1037b832b760591b6044820152606401610d32565b826124dc5760405162461bcd60e51b8152600401610d3290615c21565b3360009081526014602052604090205460ff1661253b5760405162461bcd60e51b815260206004820181905260248201527f41646472657373206e6f74206f6e204561726c7920416363657373206c6973746044820152606401610d32565b6125486032610bb8615e66565b83612552600b5490565b61255c9190615df6565b11156125aa5760405162461bcd60e51b815260206004820152601b60248201527f416c6c204369746965732068617665206265656e206d696e74656400000000006044820152606401610d32565b600d54836125b66113e8565b6125c09190615df6565b11156125de5760405162461bcd60e51b8152600401610d3290615b0a565b34601054846125ed9190615e47565b1461263a5760405162461bcd60e51b815260206004820152601e60248201527f496e636f727265637420616d6f756e74206f662065746865722073656e7400006044820152606401610d32565b33600090815260156020526040812054612655908590615df6565b905060038111156126bc5760405162461bcd60e51b815260206004820152602b60248201527f4d6178204561726c792041636365737320636f756e742070657220616464726560448201526a1cdcc8195e18d95959195960aa1b6064820152608401610d32565b60006126c7600b5490565b6126d2906001615df6565b905060005b8581101561270b576126ed600b80546001019055565b6126f9611ea0600b5490565b8061270381615ee4565b9150506126d7565b5033600090815260156020526040902091909155600160075593915050565b6113e43383836142b0565b6006546001600160a01b0316331461275f5760405162461bcd60e51b8152600401610d3290615b4b565b610bb860005260086020527fcb263d23b1fb1bf1f390b1f5cb5d90f60639b9978821b6848aace0182fb321235460ff1615806127c05750600860006127a76032610bb8615e66565b815260208101919091526040016000206003015460ff16155b61281e5760405162461bcd60e51b815260206004820152602960248201527f416c6c2063697469657320616c72656164792068617665206d65746164617461604482015268081d5c1b1bd859195960ba1b6064820152608401610d32565b60005b81518110156113e4576008600083838151811061284e57634e487b7160e01b600052603260045260246000fd5b60200260200101516000015181526020019081526020016000206002015460001480156128c257506128c282828151811061289957634e487b7160e01b600052603260045260246000fd5b6020026020010151600001516000908152600260205260409020546001600160a01b0316151590565b15612b15576040518060e001604052808383815181106128f257634e487b7160e01b600052603260045260246000fd5b602002602001015160200151815260200183838151811061292357634e487b7160e01b600052603260045260246000fd5b602002602001015160400151815260200183838151811061295457634e487b7160e01b600052603260045260246000fd5b602002602001015160600151815260200183838151811061298557634e487b7160e01b600052603260045260246000fd5b60200260200101516080015160ff168152602001600081526020016040518060200160405280600081525081526020016000815250600860008484815181106129de57634e487b7160e01b600052603260045260246000fd5b60200260200101516000015181526020019081526020016000206000820151816000019080519060200190612a14929190614ad1565b506020828101518051612a2d9260018501920190614ad1565b5060408201516002820155606082015160038201805460ff191660ff9092169190911790556080820151600482015560a08201518051612a77916005840191602090910190614ad1565b5060c08201518160060155905050818181518110612aa557634e487b7160e01b600052603260045260246000fd5b60200260200101516080015160096000612ae9858581518110612ad857634e487b7160e01b600052603260045260246000fd5b602002602001015160000151611ec3565b6001600160a01b031681526020810191909152604001600020805460ff191660ff929092169190911790555b80612b1f81615ee4565b915050612821565b612b313383613774565b612b4d5760405162461bcd60e51b8152600401610d3290615bd0565b612b598484848461437f565b50505050565b6006546001600160a01b03163314612b895760405162461bcd60e51b8152600401610d3290615b4b565b61127c60128383614b55565b6000818152600260205260409020546060906001600160a01b0316612c145760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b6064820152608401610d32565b600082815260086020526040808220815160e08101909252805482908290612c3b90615ea9565b80601f0160208091040260200160405190810160405280929190818152602001828054612c6790615ea9565b8015612cb45780601f10612c8957610100808354040283529160200191612cb4565b820191906000526020600020905b815481529060010190602001808311612c9757829003601f168201915b50505050508152602001600182018054612ccd90615ea9565b80601f0160208091040260200160405190810160405280929190818152602001828054612cf990615ea9565b8015612d465780601f10612d1b57610100808354040283529160200191612d46565b820191906000526020600020905b815481529060010190602001808311612d2957829003601f168201915b505050918352505060028201546020820152600382015460ff16604082015260048201546060820152600582018054608090920191612d8490615ea9565b80601f0160208091040260200160405190810160405280929190818152602001828054612db090615ea9565b8015612dfd5780601f10612dd257610100808354040283529160200191612dfd565b820191906000526020600020905b815481529060010190602001808311612de057829003601f168201915b505050505081526020016006820154815250509050612e3b604051806040016040528060078152602001661d1bdad95b925960ca1b815250846143b2565b612e65604051806040016040528060048152602001636369747960e01b81525082600001516143f7565b600081600001518260200151612e808460400151600261409b565b612e90856060015160ff1661443c565b612ea8612ea087602001516112bb565b60ff1661443c565b604051602001612ebc9594939291906155e9565b6040516020818303038152906040529050612eda8260400151151590565b1580612f1a57506040805160008152602081018083528151902091612f029160129101615521565b60405160208183030381529060405280519060200120145b15612f3057506040805160208101909152600081525b6000612f3b83611f3a565b8351909150612f4d8460400151151590565b1580612f8d57506040805160008152602081018083528151902091612f759160129101615521565b60405160208183030381529060405280519060200120145b1561304c5760118054612f9f90615ea9565b80601f0160208091040260200160405190810160405280929190818152602001828054612fcb90615ea9565b80156130185780601f10612fed57610100808354040283529160200191613018565b820191906000526020600020905b815481529060010190602001808311612ffb57829003601f168201915b5050505050915061302a86600461409b565b60405160200161303a91906155bc565b60405160208183030381529060405290505b60006130868261305d89600461409b565b85876040516020016130729493929190615788565b6040516020818303038152906040526144be565b905060008160405160200161309b9190615970565b60408051601f1981840301815282820190915260158252740a2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d60581b602083015291506130db90614631565b6130e481614631565b61311a6040518060400160405280601581526020017416969696969696969696969696969696969696968560591b815250614631565b979650505050505050565b6131686040518060e00160405280606081526020016060815260200160008152602001600060ff1681526020016000815260200160608152602001600081525090565b60008281526008602052604090819020815160e0810190925280548290829061319090615ea9565b80601f01602080910402602001604051908101604052809291908181526020018280546131bc90615ea9565b80156132095780601f106131de57610100808354040283529160200191613209565b820191906000526020600020905b8154815290600101906020018083116131ec57829003601f168201915b5050505050815260200160018201805461322290615ea9565b80601f016020809104026020016040519081016040528092919081815260200182805461324e90615ea9565b801561329b5780601f106132705761010080835404028352916020019161329b565b820191906000526020600020905b81548152906001019060200180831161327e57829003601f168201915b505050918352505060028201546020820152600382015460ff166040820152600482015460608201526005820180546080909201916132d990615ea9565b80601f016020809104026020016040519081016040528092919081815260200182805461330590615ea9565b80156133525780601f1061332757610100808354040283529160200191613352565b820191906000526020600020905b81548152906001019060200180831161333557829003601f168201915b505050505081526020016006820154815250509050919050565b6000828411801561337c57508184115b156133895750600161130f565b838311801561339757508183115b156133a45750600261130f565b83821180156133b257508282115b156133bf5750600361130f565b5060049392505050565b6006546001600160a01b031633146133f35760405162461bcd60e51b8152600401610d3290615b4b565b6001600160a01b0381166134585760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610d32565b6134618161425e565b50565b6000806002600754141561348a5760405162461bcd60e51b8152600401610d3290615c4d565b6002600755821580159061349f5750601e8311155b6134bb5760405162461bcd60e51b8152600401610d3290615c21565b6032836134c7600c5490565b6134d19190615df6565b111561352b5760405162461bcd60e51b8152602060048201526024808201527f416c6c207265736572766564204369746965732068617665206265656e206d696044820152631b9d195960e21b6064820152608401610d32565b3360009081526016602052604090205483111561359c5760405162461bcd60e51b815260206004820152602960248201527f596f752063616e6e6f74206d696e742074686973206d616e792072657365727660448201526865642043697469657360b81b6064820152608401610d32565b60006135a7600b5490565b6135b46032610bb8615e66565b6135be9190615df6565b6135c9906001615df6565b905060005b84811015613619576135e4600c80546001019055565b6136076135f0600c5490565b6135fd6032610bb8615e66565b611ea09190615df6565b8061361181615ee4565b9150506135ce565b503360009081526016602052604081208054869290613639908490615e66565b9091555050600160075593915050565b6006546001600160a01b031633146136735760405162461bcd60e51b8152600401610d3290615b4b565b601055565b3360009081526017602052604090205460ff166136a75760405162461bcd60e51b8152600401610d3290615b80565b6000828152600860209081526040909120825190916136cd916005840191850190614ad1565b506040518381527fde6816e63bb72bc8e58bbcf15a0e7622f1c58182ee4bf73ba554dbeef1fa445c9060200160405180910390a1505050565b600081815260046020526040902080546001600160a01b0319166001600160a01b038416908117909155819061373b82611ec3565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000818152600260205260408120546001600160a01b03166137ed5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b6064820152608401610d32565b60006137f883611ec3565b9050806001600160a01b0316846001600160a01b031614806138335750836001600160a01b0316613828846110d6565b6001600160a01b0316145b8061386357506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b949350505050565b60008181526008602052604090819020815160e0810190925280549091613a799183908290829061389b90615ea9565b80601f01602080910402602001604051908101604052809291908181526020018280546138c790615ea9565b80156139145780601f106138e957610100808354040283529160200191613914565b820191906000526020600020905b8154815290600101906020018083116138f757829003601f168201915b5050505050815260200160018201805461392d90615ea9565b80601f016020809104026020016040519081016040528092919081815260200182805461395990615ea9565b80156139a65780601f1061397b576101008083540402835291602001916139a6565b820191906000526020600020905b81548152906001019060200180831161398957829003601f168201915b505050918352505060028201546020820152600382015460ff166040820152600482015460608201526005820180546080909201916139e490615ea9565b80601f0160208091040260200160405190810160405280929190818152602001828054613a1090615ea9565b8015613a5d5780601f10613a3257610100808354040283529160200191613a5d565b820191906000526020600020905b815481529060010190602001808311613a4057829003601f168201915b5050505050815260200160068201548152505060400151151590565b613a8857612b59848484614674565b6001600160a01b03831660009081526009602052604081205460ff1615908115613abb57613ab4612146565b9050613ad9565b506001600160a01b03841660009081526009602052604090205460ff165b613ae4868686614674565b6001600160a01b03858116600090815260096020526040808220805460ff191660ff868116918217909255938a1683529120541614613d04576000600a84600101604051613b329190615521565b908152602001604051809103902090506000613b5b82600001548360010154846002015461336c565b60038601805460ff191660ff868116919091179091554260048801556001600160a01b038a166000908152600960205260409020549192501660011415613bbf578460020154826000016000828254613bb49190615e66565b90915550613c3d9050565b6001600160a01b03881660009081526009602052604090205460ff1660021415613bfb578460020154826001016000828254613bb49190615e66565b6001600160a01b03881660009081526009602052604090205460ff1660031415613c3d578460020154826002016000828254613c379190615e66565b90915550505b8260ff1660011415613c6c578460020154826000016000828254613c619190615df6565b90915550613cba9050565b8260ff1660021415613c90578460020154826001016000828254613c619190615df6565b8260ff1660031415613cba578460020154826002016000828254613cb49190615df6565b90915550505b60028201546001830154835460009291613cd391615df6565b613cdd9190615df6565b9050613d008183886040518060e001604052908160008201805461186090615ea9565b5050505b6040518481527f1d354e514bc672adde2a82d6bb5fd1aa8be57780118d2d306addfc07a89ca0a79060200160405180910390a1505050505050565b6000600a8260200151604051613d559190615477565b908152602001604051809103902090506000613d7e82600001548360010154846002015461336c565b9050613dba604051806040016040528060158152602001743bb4b73734b733903330b1ba34b7b71030b33a32b960591b8152508260ff166143b2565b8060ff168460ff1614611c24578360ff1660011415613df0578460186000828254613de59190615e66565b90915550613e329050565b8360ff1660021415613e0e578460196000828254613de59190615e66565b8360ff1660031415613e325784601a6000828254613e2c9190615e66565b90915550505b8060ff1660011415613e5b578460186000828254613e509190615df6565b90915550613e9d9050565b8060ff1660021415613e79578460196000828254613e509190615df6565b8060ff1660031415613e9d5784601a6000828254613e979190615df6565b90915550505b7f24c7214956afe1ac86fd2ed01369219de7664f2026e113e9f5146f1bd960e52f8360200151604051613ed091906159f2565b60405180910390a15050505050565b7aff00000000000000ff00000000000000ff00000000000000ff00006bffffffff0000000000000000604083901c90811663ffffffff60c01b84161760201c63ffffffff60601b919091166001600160e01b031984161717601081901c9182167eff00000000000000ff00000000000000ff00000000000000ff000000000000821617600890811c7bff00000000000000ff00000000000000ff00000000000000ff000000939093167fff00000000000000ff00000000000000ff00000000000000ff000000000000009290921691909117919091179081901c7e0f000f000f000f000f000f000f000f000f000f000f000f000f000f000f000f167f0f000f000f000f000f000f000f000f000f000f000f000f000f000f000f000f00600492831c16179061402d827f0606060606060606060606060606060606060606060606060606060606060606615df6565b901c7f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f16600761405d9190615e47565b614087827f3030303030303030303030303030303030303030303030303030303030303030615df6565b610d029190615df6565b6134613382614814565b60608260005b81156140c757806140b181615ee4565b91506140c09050600a83615e33565b91506140a1565b6000846001600160401b038111156140ef57634e487b7160e01b600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015614119576020820181803683370190505b5085935090508561416657600360fc1b8160008151811061414a57634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a905350600191505b818311156141bc57614179600184615e66565b9250600160fd1b8184815181106141a057634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a905350614166565b815b8615614254576141cf600182615e66565b905060006141de600a89615e33565b6141e990600a615e47565b6141f39089615e66565b6141fe906030615e0e565b905060008160f81b90508084848151811061422957634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a90535061424b600a8a615e33565b985050506141be565b5095945050505050565b600680546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b816001600160a01b0316836001600160a01b031614156143125760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610d32565b6001600160a01b03838116600081815260056020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b61438a84848461386b565b6143968484848461482e565b612b595760405162461bcd60e51b8152600401610d3290615ab8565b6113e482826040516024016143c8929190615a96565b60408051601f198184030181529190526020810180516001600160e01b03166309710a9d60e41b17905261493b565b6113e4828260405160240161440d929190615a05565b60408051601f198184030181529190526020810180516001600160e01b0316634b5c427760e01b17905261493b565b606081600114156144665750506040805180820190915260038152621c995960ea1b602082015290565b816002141561449057505060408051808201909152600581526433b932b2b760d91b602082015290565b81600314156144b9575050604080518082019091526004815263626c756560e01b602082015290565b919050565b8051606090806144de575050604080516020810190915260008152919050565b600060036144ed836002615df6565b6144f79190615e33565b614502906004615e47565b90506000614511826020615df6565b6001600160401b0381111561453657634e487b7160e01b600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015614560576020820181803683370190505b5090506000604051806060016040528060408152602001615f6c604091399050600181016020830160005b868110156145ec576003818a01810151603f601282901c8116860151600c83901c8216870151600684901c831688015192909316870151600891821b60ff94851601821b92841692909201901b91160160e01b83526004909201910161458b565b506003860660018114614606576002811461461757614623565b613d3d60f01b600119830152614623565b603d60f81b6000198301525b505050918152949350505050565b6134618160405160240161464591906159f2565b60408051601f198184030181529190526020810180516001600160e01b031663104c13eb60e21b17905261493b565b826001600160a01b031661468782611ec3565b6001600160a01b0316146146ef5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201526839903737ba1037bbb760b91b6064820152608401610d32565b6001600160a01b0382166147515760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b6064820152608401610d32565b61475c600082613706565b6001600160a01b0383166000908152600360205260408120805460019290614785908490615e66565b90915550506001600160a01b03821660009081526003602052604081208054600192906147b3908490615df6565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b6113e482826040518060200160405280600081525061495c565b60006001600160a01b0384163b1561493057604051630a85bd0160e11b81526001600160a01b0385169063150b7a02906148729033908990889088906004016159b5565b602060405180830381600087803b15801561488c57600080fd5b505af19250505080156148bc575060408051601f3d908101601f191682019092526148b9918101906151af565b60015b614916573d8080156148ea576040519150601f19603f3d011682016040523d82523d6000602084013e6148ef565b606091505b50805161490e5760405162461bcd60e51b8152600401610d3290615ab8565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050613863565b506001949350505050565b80516a636f6e736f6c652e6c6f67602083016000808483855afa5050505050565b614966838361498f565b614973600084848461482e565b61127c5760405162461bcd60e51b8152600401610d3290615ab8565b6001600160a01b0382166149e55760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401610d32565b6000818152600260205260409020546001600160a01b031615614a4a5760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610d32565b6001600160a01b0382166000908152600360205260408120805460019290614a73908490615df6565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b828054614add90615ea9565b90600052602060002090601f016020900481019282614aff5760008555614b45565b82601f10614b1857805160ff1916838001178555614b45565b82800160010185558215614b45579182015b82811115614b45578251825591602001919060010190614b2a565b50614b51929150614bc9565b5090565b828054614b6190615ea9565b90600052602060002090601f016020900481019282614b835760008555614b45565b82601f10614b9c5782800160ff19823516178555614b45565b82800160010185558215614b45579182015b82811115614b45578235825591602001919060010190614bae565b5b80821115614b515760008155600101614bca565b60006001600160401b03831115614bf757614bf7615f3f565b614c0a601f8401601f1916602001615da3565b9050828152838383011115614c1e57600080fd5b828260208301376000602084830101529392505050565b80356001600160a01b03811681146144b957600080fd5b803580151581146144b957600080fd5b600082601f830112614c6c578081fd5b61130f83833560208501614bde565b803560ff811681146144b957600080fd5b600060208284031215614c9d578081fd5b61130f82614c35565b60008060408385031215614cb8578081fd5b614cc183614c35565b9150614ccf60208401614c35565b90509250929050565b600080600060608486031215614cec578081fd5b614cf584614c35565b9250614d0360208501614c35565b9150604084013590509250925092565b60008060008060808587031215614d28578182fd5b614d3185614c35565b9350614d3f60208601614c35565b92506040850135915060608501356001600160401b03811115614d60578182fd5b8501601f81018713614d70578182fd5b614d7f87823560208401614bde565b91505092959194509250565b60008060408385031215614d9d578182fd5b614da683614c35565b9150614ccf60208401614c4c565b60008060408385031215614dc6578182fd5b614dcf83614c35565b946020939093013593505050565b60006020808385031215614def578182fd5b82356001600160401b03811115614e04578283fd5b8301601f81018513614e14578283fd5b8035614e27614e2282615dd3565b615da3565b80828252848201915084840188868560051b8701011115614e46578687fd5b8694505b83851015614e6f57614e5b81614c35565b835260019490940193918501918501614e4a565b50979650505050505050565b60006020808385031215614e8d578182fd5b82356001600160401b03811115614ea2578283fd5b8301601f81018513614eb2578283fd5b8035614ec0614e2282615dd3565b80828252848201915084840188868560061b8701011115614edf578687fd5b8694505b83851015614e6f57604080828b031215614efb578788fd5b614f03615d15565b614f0c83614c35565b8152614f19888401614c7b565b818901528452600195909501949286019201614ee3565b60006020808385031215614f42578182fd5b82356001600160401b0380821115614f58578384fd5b818501915085601f830112614f6b578384fd5b8135614f79614e2282615dd3565b80828252858201915085850189878560051b8801011115614f98578788fd5b875b8481101561504b57813586811115614fb057898afd5b870160a0818d03601f19011215614fc557898afd5b614fcd615d3d565b898201358152604082013588811115614fe4578b8cfd5b614ff28e8c83860101614c5c565b8b8301525060608083013589811115615009578c8dfd5b6150178f8d83870101614c5c565b6040840152506080808401358284015261503360a08501614c7b565b90830152508552509287019290870190600101614f9a565b50909998505050505050505050565b6000806000806080858703121561506f578182fd5b6001600160401b038086351115615084578283fd5b8535860187601f820112615096578384fd5b6150a3614e228235615dd3565b8082358252602082019150602083018a6020853560051b86010111156150c7578687fd5b865b843581101561515b5785823511156150df578788fd5b813585016080818e03601f190112156150f6578889fd5b6150fe615d5f565b60208201358881111561510f578a8bfd5b61511e8f602083860101614c5c565b82525060408201356020820152606082013560408201526080820135606082015280865250506020840193506020820191506001810190506150c9565b50909a60208a01359a5060408a0135996060013598509650505050505050565b60006020828403121561518c578081fd5b5035919050565b6000602082840312156151a4578081fd5b813561130f81615f55565b6000602082840312156151c0578081fd5b815161130f81615f55565b600080602083850312156151dd578182fd5b82356001600160401b03808211156151f3578384fd5b818501915085601f830112615206578384fd5b813581811115615214578485fd5b866020828501011115615225578485fd5b60209290920196919550909350505050565b600060208284031215615248578081fd5b81356001600160401b0381111561525d578182fd5b61386384828501614c5c565b60006020828403121561527a578081fd5b81356001600160401b0380821115615290578283fd5b9083019060e082860312156152a3578283fd5b6152ab615d81565b8235828111156152b9578485fd5b6152c587828601614c5c565b8252506020830135828111156152d9578485fd5b6152e587828601614c5c565b6020830152506040830135604082015261530160608401614c7b565b60608201526080830135608082015260a083013582811115615321578485fd5b61532d87828601614c5c565b60a08301525060c083013560c082015280935050505092915050565b6000806040838503121561535b578182fd5b8235915060208301356001600160401b03811115615377578182fd5b61538385828601614c5c565b9150509250929050565b6000806000606084860312156153a1578081fd5b83359250602084013591506153b860408501614c4c565b90509250925092565b6000806000606084860312156153d5578081fd5b505081359360208301359350604090920135919050565b60008151808452615404816020860160208601615e7d565b601f01601f19169290920160200192915050565b6000815161542a818560208601615e7d565b9290920192915050565b60008451615446818460208901615e7d565b84519083019061545a818360208901615e7d565b845191019061546d818360208801615e7d565b0195945050505050565b60008251615489818460208701615e7d565b9190910192915050565b600085516154a5818460208a01615e7d565b602f60f81b90830190815285516154c3816001840160208a01615e7d565b808201915050605f60f81b80600183015285516154e7816002850160208a01615e7d565b60029201918201528351615502816003840160208801615e7d565b632e706e6760e01b600392909101918201526007019695505050505050565b600080835482600182811c91508083168061553d57607f831692505b602080841082141561555d57634e487b7160e01b87526022600452602487fd5b8180156155715760018114615582576155ae565b60ff198616895284890196506155ae565b60008a815260209020885b868110156155a65781548b82015290850190830161558d565b505084890196505b509498975050505050505050565b64021b4ba3c960dd1b8152600082516155dc816005850160208701615e7d565b9190910160050192915050565b751ec89d1c985a5d17dd1e5c19488e880890da5d1e488b60521b8152600069113b30b63ab2911d101160b11b806016840152875161562e816020860160208c01615e7d565b80840190507f227d2c7b2274726169745f74797065223a2022436f756e747279222c00000000602082015281603c82015287519150615674826046830160208b01615e7d565b8181019150507f227d2c7b2274726169745f74797065223a2022506f696e7473222c00000000006046820152680113b30b63ab2911d160bd1b606182015285516156c581606a840160208a01615e7d565b7f7d2c7b2274726169745f74797065223a2022436974792046616374696f6e222c9101606a81019190915269113b30b63ab2911d101160b11b608a82015261577c61576e61576861575261571c609486018a615418565b7f227d2c7b2274726169745f74797065223a2022436f756e7472792046616374698152631bdb888b60e21b602082015260240190565b69113b30b63ab2911d101160b11b8152600a0190565b86615418565b61227d60f01b815260020190565b98975050505050505050565b607b60f81b815268113730b6b2911d101160b91b600182015284516000906157b781600a850160208a01615e7d565b6d0111610113a37b5b2b724b2111d160951b600a9184019182015285516157e5816018840160208a01615e7d565b6a016101134b6b0b3b2911d160ad1b60189290910191820152601160f91b6023820152845161581b816024840160208901615e7d565b7f222c20226465736372697074696f6e223a20224369747920436c617368206973910160248101919091527f2061205032452c20736f6369616c2073747261746567792067616d652077686560448201527f726520332066616374696f6e7320636f6d7065746520627920627579696e672060648201527f616e642073656c6c696e67204e465473206261736564206f6e207265616c207760848201527f6f726c64206369746965732e205468652067616d65206973206275696c74206560a48201527f6e746972656c79206f6e2d636861696e2c20616e642069732066756c6c79206660c48201527f756e6374696f6e616c206174206d696e742074696d6521222c0000000000000060e48201526e2261747472696275746573223a205b60881b60fd82015261311a61596361595661010c840187615418565b605d60f81b815260010190565b607d60f81b815260010190565b7f646174613a6170706c69636174696f6e2f6a736f6e3b6261736536342c0000008152600082516159a881601d850160208701615e7d565b91909101601d0192915050565b6001600160a01b03858116825284166020820152604081018390526080606082018190526000906159e8908301846153ec565b9695505050505050565b60208152600061130f60208301846153ec565b604081526000615a1860408301856153ec565b8281036020840152615a2a81856153ec565b95945050505050565b60e081526000615a4660e083018a6153ec565b8281036020840152615a58818a6153ec565b905087604084015260ff8716606084015285608084015282810360a0840152615a8181866153ec565b9150508260c083015298975050505050505050565b604081526000615aa960408301856153ec565b90508260208301529392505050565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b60208082526021908201527f43757272656e74206d696e74207761766520686173206265656e206d696e74656040820152601960fa1b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526030908201527f4f6e6c7920746865207570677261646520436f6e74726163742063616e20636160408201526f3636103a3434b990333ab731ba34b7b760811b606082015260800190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b602080825260129082015271125b9d985b1a590810da5d1e4818dbdd5b9d60721b604082015260600190565b6020808252601f908201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604082015260600190565b602081526000825160e06020840152615ca16101008401826153ec565b90506020840151601f1980858403016040860152615cbf83836153ec565b92506040860151606086015260ff6060870151166080860152608086015160a086015260a08601519150808584030160c086015250615cfe82826153ec565b91505060c084015160e08401528091505092915050565b604080519081016001600160401b0381118282101715615d3757615d37615f3f565b60405290565b60405160a081016001600160401b0381118282101715615d3757615d37615f3f565b604051608081016001600160401b0381118282101715615d3757615d37615f3f565b60405160e081016001600160401b0381118282101715615d3757615d37615f3f565b604051601f8201601f191681016001600160401b0381118282101715615dcb57615dcb615f3f565b604052919050565b60006001600160401b03821115615dec57615dec615f3f565b5060051b60200190565b60008219821115615e0957615e09615f13565b500190565b600060ff821660ff84168060ff03821115615e2b57615e2b615f13565b019392505050565b600082615e4257615e42615f29565b500490565b6000816000190483118215151615615e6157615e61615f13565b500290565b600082821015615e7857615e78615f13565b500390565b60005b83811015615e98578181015183820152602001615e80565b83811115612b595750506000910152565b600181811c90821680615ebd57607f821691505b60208210811415615ede57634e487b7160e01b600052602260045260246000fd5b50919050565b6000600019821415615ef857615ef8615f13565b5060010190565b600082615f0e57615f0e615f29565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b03198116811461346157600080fdfe4142434445464748494a4b4c4d4e4f505152535455565758595a6162636465666768696a6b6c6d6e6f707172737475767778797a303132333435363738392b2fa2646970667358221220d7febbb833d35f8c29720396f858156e65bf3fa9357c150552f92ffed3403f1c64736f6c6343000804003368747470733a2f2f676174657761792e70696e6174612e636c6f75642f697066732f516d657336415275397556677336464b744a6f76456378774b3275544d65725a7764377a68734a5378417967645a4369747920436c6173682069732061205032452c20736f6369616c2073747261746567792067616d6520776865726520332066616374696f6e7320636f6d7065746520627920627579696e6720616e642073656c6c696e67204e465473206261736564206f6e207265616c20776f726c64206369746965732e205468652067616d65206973206275696c7420656e746972656c79206f6e2d636861696e2c20616e642069732066756c6c792066756e6374696f6e616c206174206d696e742074696d6521

Loading