ERC-721
NFT
Overview
Max Total Supply
1,111 DISTORTION
Holders
142
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
1 DISTORTIONLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
Distortion
Compiler Version
v0.8.7+commit.e28d00a7
Optimization Enabled:
Yes with 5 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT /* 0XDISTORTION.COM 0XDISTORTION.COM 0XDISTORTION.COM 0XDISTORTION.COM 0XDISTORTION.COM 0XDISTORTION.COM 0XDISTORTION.COM 0XDISTORTION.COM 0XDISTORTION.COM 0XDISTORTION.COM 0XDISTORTION.COM 0XDISTORTION.COM 0XDISTORTION.COM 0XDISTORTION.COM 0XDISTORTION.COM 0XDISTORTION.COM 0XDISTORTION.COM 0XDISTORTION.COM 0XDISTORTION.COM 0XDISTORTION.COM 0XDISTORTION.COM 0XDISTORTION.COM 0XDISTORTION.COM 0XDISTORTION.COM 0XDISTORTION.COM 0XDISTORTION.COM 0XDISTORTION.COM 0XDISTORTION.COM 0XDISTORTION.COM 0XDISTORTION.COM 0XDISTORTION.COM 0XDISTORTION.COM 0XDISTORTION.COM 0XDISTORTION.COM 0XDISTORTION.COM @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ @@@@@@@@@@@@@@@@@@@@@@@@@@@@&@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ @@@@@@@&@@@@@@@&@@@@@@@@@@@@@@@@@@@@@@&@@&@@@@@@@@@@@@@@&@@@@@@@@@@@@@@@@@@@@@@&&@@@@@@@ @@@@@@@@@@@@@@&@@&@@&@&&&@&@&@@&&@@@&@&&&%@@@@@&@@@@&&&@@@@&&@&&@@&@@@&%&&&@@@@@@@@@@@@@ @@@@@@@@@@@&@&%@@&@@@@@@@@@@@@&&@@@@@@@@@@@@@@@@@@@@@@&@@@@@@@@@&@@@@@@@@@&@@@@@@@@@@@@@ @@@@@@@@@@@@@&@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@&@@@@@@@@@&@@@@@@ @@@@@@@@@@@@@&@@@&@@@@@@@@@@@&@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@&&@@@@@@@@@ @@@@@@@@@@@@@&&@&&@@@@@&&@@@@&%@@&@&@@&@&&@@&&&@@&@%@&@%@@&@@%@&&@@@&@@@@@@@@@@@@@@@@@@@ @@@@@@@@@@@&@@%@@&@@@@@@&@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@&@@@&@@&@@&@@@@@@@@@@@@@ @@@@@@@@@@&@@@&@@@@@@@@@@@@@@@@@@@@@@@@@@@@@&&@@@@@@@@@@@@@@@@@@@&@&&@@&@@@@@@@@@@@@@@@@ @@@@@@@@@@@&@@&@@@@@@@@@@@@@@@@@@@@@@@@@@@@&&@@@@@@@@@@@@@@@@@@@&@@@@@@@@@&@@@@@@@@@@@@@ @@@@@@&@@@@&@@&@@@@@@@@&@@@@@@&@@@@@@@@@@&&&&@@&@@@@@@@@@@@@@@@@%@@@@@@@@@&@@@@@@&@@@@@@ @@@@@@@&@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@&&&&&&@@@@@@@@@@@@@@@@@@@&@@@@@@@@@@@@@@@@@@@@@@@ @@@@@@@@@@@@@@@@@&@@@@@@&@@@@@@@@@@@@@&&&&&&&@&@&@@@@@@@@@@@@@@@@@@@@@@@@@&@@@@@@&@@@@@@ @@@@@@@@@@@@@@&@@@@@@@@@%@@@@@@@@@@@&&&&&@@@@@@@@@@@@@@@@@@@@@@@&@@@@@@@@@@@@@@@@@@@@@@@ @@@@@@@@@@@&@@&@@@@@@@@@%@@@@&@@@@@&&@@@@@@@@@@@@@@@@@@@@@@@@@@@%@@@@@@@@@@@@@@@@@@@@@@@ @@@@@@@@@@@@@@&@@@@@@@@@&@@@@@@@@@@@@&@@@@@@&@@@@@@@@@@@@@@@@@@@@@@@@@@&@@@@@&@@@%@@@@@@ @@@@@@@&@@@&@@%@@&@@@@@@&@@@@@@@@@@@@&&@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@&@&@@&@@@&@&@@@@@@@ @@@@@@@@@@@@@@&@@&@@@@@@&@@@@@@@@@@@@@&&&&@&@@@@@@@@@@@@@@@@@@@@@@@@%@@@@@@@@@&@@@@@@@@@ @@@@@@&@@@@@&@@@@@&@@@@&@@@@@@@@@@@@@@@@&&&&&@&@@@@@@@@@@@&@@@@@@@@@@@@@@@@@@@@@&@@@@@@@ @@@@@@@&@@@@@@&@&@@&@@@&&@@@@@@@@@@@@@@@@@&&&@@@@@@@@@@@@@@@@@@@@@@@@@&@@@&@@@@@@@@@@@@@ @@@@@@@@@@@@@@@@@@@@@@@&&@@@@@@@@@@@@@@@@@@@&@@@@@@@@@@&@@@@@@@@@@@@@@@&@@&@@@@&@@@@@@@@ @@@@@@@@@@@@@@@@@&@@@@@&%@@@@&@@@@@&@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@&@@@@@@@@@&@@@@@@ @@@@@@@@@@@@@@@@@@@@&@@&@&@@@&@@@%&@@%@@@&&@@@@@@&@@&&@@@&%&&&@&&@@@@@@@@@&@@@&@&@@@@@@@ @@@@@@@@@@@@@@@@@@@@@&@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@&@@@@@&@@@@@@@@@@@&@@@@@@ @@@@@@@@@@@&@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@&@@&@@@@@&@@@@@@@ @@@@@@@@@@@&@@&@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@&@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ @@@@@@@&@@@&@@@&&&&@&&@@&&&&@@@@%@&&&&%&&@%@@@&@&@@@&%@@%&&&&@&&&&&@@&&@@%&@@@@@@@@@@@@@ @@@@@@@@@@@@@@&@@@@@@&@@@@@&@@@@@@@@@@@@&@@@@@&@@@&@@@@@@@@@@@@@@@@@&@@&@&@@@@@@&@@@@@@@ @@@@@@@@@@@@@@@@@&@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ 0XDISTORTION.COM 0XDISTORTION.COM 0XDISTORTION.COM 0XDISTORTION.COM 0XDISTORTION.COM 0XDISTORTION.COM 0XDISTORTION.COM 0XDISTORTION.COM 0XDISTORTION.COM 0XDISTORTION.COM 0XDISTORTION.COM 0XDISTORTION.COM 0XDISTORTION.COM 0XDISTORTION.COM 0XDISTORTION.COM 0XDISTORTION.COM 0XDISTORTION.COM 0XDISTORTION.COM 0XDISTORTION.COM 0XDISTORTION.COM 0XDISTORTION.COM 0XDISTORTION.COM 0XDISTORTION.COM 0XDISTORTION.COM 0XDISTORTION.COM 0XDISTORTION.COM 0XDISTORTION.COM 0XDISTORTION.COM 0XDISTORTION.COM 0XDISTORTION.COM 0XDISTORTION.COM 0XDISTORTION.COM 0XDISTORTION.COM 0XDISTORTION.COM 0XDISTORTION.COM Thank you to ~github.com/MaghnusM for the help with the V2 contract. */ pragma solidity ^0.8.0; import "@openzeppelin/contracts/token/ERC721/ERC721.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/utils/Counters.sol"; contract Distortion is ERC721, Ownable { // Keeping track of supply and displaying it. using Counters for Counters.Counter; Counters.Counter private distortionSupply; constructor() ERC721("Distortion", "DISTORTION") {} /** * @notice This shows the randomness of block 14156329 which included the mint of the 1000th original Distortion piece. * */ string public constant hashOfBlock = '0x8f6ddc7b27b8492318761d4361e2e24eedb4d56602f4f575560071e873f5a4f9'; /** * @notice Returns the total supply of tokens airdropped. * */ function totalSupply() public view returns (uint256 supply) { return distortionSupply.current(); } /** * @notice Once this shows true, it cannot be reversed, making the airdrop function uncallable. * */ bool public airdropPermanentlyDisabled; /** * @notice This function will be called to disable airdrops permanently once all the tokens have been airdropped. * */ function disableAirdrop() public onlyOwner { require(!airdropPermanentlyDisabled, "Once the airdrop function is disabled it cannot be re-enabled."); airdropPermanentlyDisabled = true; } /** * @notice The airdrop function which will be permanently disabled once all tokens have been airdropped. * */ function airdrop(address[] memory _to, uint256[][] memory _tokenIds) public onlyOwner { require(!airdropPermanentlyDisabled, "Once the airdrop is disabled, the function can never be called again."); for (uint i = 0; i < _to.length; i++) { for (uint z = 0; z < _tokenIds[i].length; z++) { _safeMint(_to[i], _tokenIds[i][z]); distortionSupply.increment(); } } } /* ░██████╗░███████╗███╗░░██╗███████╗██████╗░░█████╗░████████╗██╗██╗░░░██╗███████╗ ██╔════╝░██╔════╝████╗░██║██╔════╝██╔══██╗██╔══██╗╚══██╔══╝██║██║░░░██║██╔════╝ ██║░░██╗░█████╗░░██╔██╗██║█████╗░░██████╔╝███████║░░░██║░░░██║╚██╗░██╔╝█████╗░░ ██║░░╚██╗██╔══╝░░██║╚████║██╔══╝░░██╔══██╗██╔══██║░░░██║░░░██║░╚████╔╝░██╔══╝░░ ╚██████╔╝███████╗██║░╚███║███████╗██║░░██║██║░░██║░░░██║░░░██║░░╚██╔╝░░███████╗ ░╚═════╝░╚══════╝╚═╝░░╚══╝╚══════╝╚═╝░░╚═╝╚═╝░░╚═╝░░░╚═╝░░░╚═╝░░░╚═╝░░░╚══════╝ Everything to do with the on-chain generation of the Distortion pieces. */ string[] private colorNames = [ 'White', 'Red', 'Green', 'Blue', 'Gold', 'Rose', 'Purple' ]; string[] private left = [ 'rgb(140,140,140)', 'rgb(255, 26, 26)', 'rgb(92, 214, 92)', 'rgb(26, 140, 255)', 'rgb(255, 215, 0)', 'rgb(255, 128, 128)', 'rgb(192, 50, 227)' ]; string[] private right = [ 'rgb(52,52,52)', 'rgb(230, 0, 0)', 'rgb(51, 204, 51)', 'rgb(0, 115, 230)', 'rgb(204, 173, 0)', 'rgb(255, 102, 102)', 'rgb(167, 40, 199)' ]; string[] private middleLeft = [ 'rgb(57,57,57)', 'rgb(179, 0, 0)', 'rgb(41, 163, 41)', 'rgb(0, 89, 179)', 'rgb(153, 130, 0)', 'rgb(255, 77, 77)', 'rgb(127, 32, 150)' ]; string[] private middleRight = [ 'rgb(20,20,20)', 'rgb(128, 0, 0)', 'rgb(31, 122, 31)', 'rgb(0, 64, 128)', 'rgb(179, 152, 0)', 'rgb(255, 51, 51)', 'rgb(98, 19, 117)' ]; string[] private frequencies = [ '', '0', '00' ]; function generateString(string memory name, uint256 tokenId, string[] memory array) internal view returns (string memory) { uint rand = uint(keccak256(abi.encodePacked(name, toString(tokenId)))) % array.length; string memory output = string(abi.encodePacked(array[rand % array.length])); return output; } function generateColorNumber(string memory name, uint256 tokenId) internal view returns (uint) { uint output; uint rand = uint(keccak256(abi.encodePacked(name, toString(tokenId)))) % 100; if (keccak256(bytes(hashOfBlock)) == keccak256(bytes(''))) { output = 0; //unrevealed } else { if (rand <= 15) { output = 1; //Red with 15% rarity. } else if (rand > 15 && rand <= 30) { output = 2; //Green with 15% rarity. } else if (rand > 30 && rand <= 45) { output = 3; //Blue with 15% rarity. } else if (rand > 45 && rand <= 75) { output = 0; //Black with 30% rarity. } else if (rand > 75 && rand <= 80) { output = 4; //Gold with 5% rarity. } else if (rand > 80 && rand <= 90) { output = 5; //Rose with 10% rarity. } else if (rand > 90) { output = 6; //Purple with 10% rarity. } } return output; } function generateNum(string memory name, uint256 tokenId, string memory genVar, uint low, uint high) internal view returns (string memory) { uint difference = high - low; uint randomnumber = uint(keccak256(abi.encodePacked(genVar, tokenId, name))) % difference + 1; randomnumber = randomnumber + low; return toString(randomnumber); } function generateNumUint(string memory name, uint256 tokenId, string memory genVar, uint low, uint high) internal view returns (uint) { uint difference = high - low; uint randomnumber = uint(keccak256(abi.encodePacked(genVar, tokenId, name))) % difference + 1; randomnumber = randomnumber + low; return randomnumber; } function genDefs(uint256 tokenId) internal view returns (string memory) { string memory output; string memory xFrequency = generateString("xF", tokenId, frequencies); string memory yFrequency = generateString("yF", tokenId, frequencies); string memory scale = generateNum("scale", tokenId, hashOfBlock, 10, 40); if (keccak256(bytes(hashOfBlock)) == keccak256(bytes(''))) { xFrequency = ''; yFrequency = ''; scale = '30'; } output = string(abi.encodePacked( '<defs><filter id="squares" x="-30%" y="-30%" width="160%" height="160%"> <feTurbulence type="turbulence" baseFrequency="', '0.', xFrequency, '5 0.', yFrequency, '5', '" numOctaves="10" seed="" result="turbulence"> <animate attributeName="seed" dur="0.3s" repeatCount="indefinite" calcMode="discrete" values="1;2;3;4;5;6;7;8;9;1"/> </feTurbulence> <feDisplacementMap in="SourceGraphic" in2="turbulence" scale="', scale, '" xChannelSelector="R" yChannelSelector="G" /> </filter> </defs>' )); return output; } function genMiddle(uint256 tokenId) internal view returns (string memory) { string memory translate = toString(divide(generateNumUint("scale", tokenId, hashOfBlock, 10, 40), 5, 0)); string[5] memory p; if (keccak256(bytes(hashOfBlock)) == keccak256(bytes(''))) { translate = '6'; } p[0] = '<style alt="surround"> #1 { stroke-dasharray: 50,50,150 }</style><g style="filter: url(#squares);" opacity="100%" id="1"> <g transform="translate(-'; p[1] = translate; p[2] = ', -'; p[3] = translate; p[4] = ')" >'; string memory output = string(abi.encodePacked(p[0], p[1], p[2], p[3], p[4])); return output; } function genSquares(uint256 tokenId) internal view returns (string memory) { string memory output1; string memory output2; uint ringCount = generateNumUint("ringCount", tokenId, hashOfBlock, 5, 15); string[2] memory xywh; uint ringScaling = divide(25, ringCount, 0); if (keccak256(bytes(hashOfBlock)) == keccak256(bytes(''))) { ringCount = 5; ringScaling = 5; } for (uint i = 0; i < ringCount; i++) { xywh[0] = toString(ringScaling*i + 5); xywh[1] = toString(100 - (ringScaling*i + 5)*2); output1 = string(abi.encodePacked( '<g style="animation: glitch 1.', toString(i), 's infinite;"> <rect x="', xywh[0], '%" y="', xywh[0], '%" width="', xywh[1], '%" height="', xywh[1], '%" fill="none" stroke="', left[generateColorNumber("color", tokenId)], '" id="1" /> </g>' )); output2 = string(abi.encodePacked(output1, output2)); } return output2; } function genEnd(uint256 tokenId) internal view returns (string memory) { uint colorNum = generateColorNumber("color", tokenId); string[13] memory p; p[0] = '</g> </g><g style="animation: glitch 0.5s infinite;filter: url(#squares);"> <g transform="scale(0.50) translate(370, 287)" style="opacity:40%"> <path fill="'; p[1] = right[colorNum]; p[2] = '" d="M125.166 285.168l2.795 2.79 127.962-75.638L127.961 0l-2.795 9.5z"/><path fill="'; p[3] = left[colorNum]; p[4] = '" d="M127.962 287.959V0L0 212.32z"/><path fill="'; p[5] = right[colorNum]; p[6] = '" d="M126.386 412.306l1.575 4.6L256 236.587l-128.038 75.6-1.575 1.92z"/><path fill="'; p[7] = left[colorNum]; p[8] = '" d="M0 236.585l127.962 180.32v-104.72z"/><path fill="'; p[9] = middleRight[colorNum]; p[10] = '" d="M127.961 154.159v133.799l127.96-75.637z"/><path fill="'; p[11] = middleLeft[colorNum]; p[12] = '" d="M127.96 154.159L0 212.32l127.96 75.637z"/> </g> </g> </svg>'; string memory output = string(abi.encodePacked(p[0], p[1], p[2], p[3], p[4], p[5], p[6], p[7], p[8])); output = string(abi.encodePacked(output, p[9], p[10], p[11], p[12])); return output; } /** * @notice Generate the SVG of any Distortion piece, including token IDs that are out of bounds. * */ function generateDistortion(uint256 tokenId) public view returns (string memory) { string memory output; output = string(abi.encodePacked( '<svg width="750px" height="750px" viewBox="0 0 500 500" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" style="background-color: #101010;"><style> @keyframes glitch { 0% {transform: translate(0px); opacity: 0.15;} 7% {transform: translate(2px); opacity: 0.65;} 45% {transform: translate(0px); opacity: 0.35;} 50% {transform: translate(-2px); opacity: 0.85;} 100% {transform: translate(0px); opacity: 0.25;} } </style> <defs> <filter id="background" x="-20%" y="-20%" width="140%" height="140%" filterUnits="objectBoundingBox" primitiveUnits="userSpaceOnUse" color-interpolation-filters="linearRGB"> <feTurbulence type="fractalNoise" baseFrequency="10" numOctaves="4" seed="1" stitchTiles="stitch" x="0%" y="0%" width="100%" height="100%" result="turbulence"> <animate attributeName="seed" dur="1s" repeatCount="indefinite" calcMode="discrete" values="1;2;3;4;5;6;7;8;9;10" /> </feTurbulence> <feSpecularLighting surfaceScale="10" specularExponent="10" lighting-color="#fff" width="100%" height="100%"> <animate attributeName="surfaceScale" dur="1s" repeatCount="indefinite" calcMode="discrete" values="10;11;12;13;14;15;14;13;12;11" /> <feDistantLight elevation="100"/> </feSpecularLighting> </filter> </defs> <g opacity="10%"> <rect width="700" height="700" fill="hsl(23, 0%, 100%)" filter="url(#background)"></rect></g>', genDefs(tokenId), genMiddle(tokenId), genSquares(tokenId), genEnd(tokenId) )); return output; } function getFrequency(uint256 tokenId) internal view returns (uint) { uint[2] memory xy; string memory y = generateString("yF", tokenId, frequencies); string memory x = generateString("xF", tokenId, frequencies); if (keccak256(bytes(x)) == keccak256(bytes('0'))){ xy[0] = 2; } else if (keccak256(bytes(x)) == keccak256(bytes('00'))){ xy[0] = 1; } else { xy[0] = 3; } if (keccak256(bytes(y)) == keccak256(bytes('0'))){ xy[1] = 2; } else if (keccak256(bytes(y)) == keccak256(bytes('00'))){ xy[1] = 1; } else { xy[1] = 3; } return xy[0] * xy[1]; } /** * @notice * */ function tokenURI(uint256 tokenId) override public view returns (string memory) { require(_exists(tokenId), "Token doesn't exist. Try using the generateDistortion function to generate non-existant pieces."); string memory ringCount = generateNum("ringCount", tokenId, hashOfBlock, 5, 15); string memory scale = generateNum("scale", tokenId, hashOfBlock, 10, 40); uint freq = getFrequency(tokenId); string memory json = Base64.encode(bytes(string(abi.encodePacked('{"name": "Distortion #', toString(tokenId), '","attributes": [ { "trait_type": "Color", "value": "', colorNames[generateColorNumber("color", tokenId)], '" }, { "trait_type": "Distortion Scale", "value": ', scale, ' }, { "trait_type": "Rings", "value": ', ringCount, ' }, { "trait_type": "Frequency Multiple", "value": ', toString(freq), ' }]', ', "description": "Distortion is a fully hand-typed 100% on-chain art collection.", "image": "data:image/svg+xml;base64,', Base64.encode(bytes(string(abi.encodePacked(generateDistortion(tokenId))))), '"}')))); string memory output = string(abi.encodePacked('data:application/json;base64,', json)); return output; } /** * @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); } function divide(uint a, uint b, uint precision) internal view returns ( uint) { return a*(10**precision)/b; } } /// [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); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (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 {} }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (access/Ownable.sol) pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(owner() == _msgSender(), "Ownable: caller is not the owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (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; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721.sol) pragma solidity ^0.8.0; import "../../utils/introspection/IERC165.sol"; /** * @dev Required interface of an ERC721 compliant contract. */ interface IERC721 is IERC165 { /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in ``owner``'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Transfers `tokenId` token from `from` to `to`. * * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll} */ function isApprovedForAll(address owner, address operator) external view returns (bool); /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes calldata data ) external; }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721Receiver.sol) pragma solidity ^0.8.0; /** * @title ERC721 token receiver interface * @dev Interface for any contract that wants to support safeTransfers * from ERC721 asset contracts. */ interface IERC721Receiver { /** * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom} * by `operator` from `from`, this function is called. * * It must return its Solidity selector to confirm the token transfer. * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted. * * The selector can be obtained in Solidity with `IERC721.onERC721Received.selector`. */ function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Metadata.sol) pragma solidity ^0.8.0; import "../IERC721.sol"; /** * @title ERC-721 Non-Fungible Token Standard, optional metadata extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Metadata is IERC721 { /** * @dev Returns the token collection name. */ function name() external view returns (string memory); /** * @dev Returns the token collection symbol. */ function symbol() external view returns (string memory); /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) external view returns (string memory); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (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); } } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Strings.sol) pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { // Inspired by OraclizeAPI's implementation - MIT licence // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol if (value == 0) { return "0"; } uint256 temp = value; uint256 digits; while (temp != 0) { digits++; temp /= 10; } bytes memory buffer = new bytes(digits); while (value != 0) { digits -= 1; buffer[digits] = bytes1(uint8(48 + uint256(value % 10))); value /= 10; } return string(buffer); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { if (value == 0) { return "0x00"; } uint256 temp = value; uint256 length = 0; while (temp != 0) { length++; temp >>= 8; } return toHexString(value, length); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _HEX_SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol) pragma solidity ^0.8.0; import "./IERC165.sol"; /** * @dev Implementation of the {IERC165} interface. * * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check * for the additional interface id that will be supported. For example: * * ```solidity * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { * return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId); * } * ``` * * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation. */ abstract contract ERC165 is IERC165 { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IERC165).interfaceId; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); }
{ "optimizer": { "enabled": true, "runs": 5 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address[]","name":"_to","type":"address[]"},{"internalType":"uint256[][]","name":"_tokenIds","type":"uint256[][]"}],"name":"airdrop","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"airdropPermanentlyDisabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"disableAirdrop","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"generateDistortion","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"hashOfBlock","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"supply","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"}]
Contract Creation Code
600561016081815264576869746560d81b61018052608090815260036101a09081526214995960ea1b6101c05260a0526101e09182526423b932b2b760d91b6102005260c091909152600461022081815263426c756560e01b6102405260e0526102608181526311dbdb1960e21b61028052610100526102a090815263526f736560e01b6102c0526101205261032060405260066102e090815265507572706c6560d01b6103005261014052620000bb9060099060076200070f565b506040805161012081018252601060e082018181526f726762283134302c3134302c3134302960801b6101008401528252825180840184528181526f726762283235352c2032362c2032362960801b60208281019190915280840191909152835180850185528281526f7267622839322c203231342c2039322960801b8183015283850152835180850185526011808252707267622832362c203134302c203235352960781b828401526060850191909152845180860186529283526f726762283235352c203231352c20302960801b838301526080840192909252835180850185526012815271726762283235352c203132382c203132382960701b8183015260a0840152835180850190945290835270726762283139322c2035302c203232372960781b9083015260c0810191909152620001fd90600a9060076200070f565b506040805161012081018252600d60e082019081526c7267622835322c35322c35322960981b610100830152815281518083018352600e81526d726762283233302c20302c20302960901b602082810191909152808301919091528251808401845260108082526f7267622835312c203230342c2035312960801b8284015283850191909152835180850185528181526f72676228302c203131352c203233302960801b818401526060840152835180850185529081526f726762283230342c203137332c20302960801b818301526080830152825180840184526012815271726762283235352c203130322c203130322960701b8183015260a083015282518084019093526011835270726762283136372c2034302c203139392960781b9083015260c08101919091526200033890600b9060076200070f565b506040805161012081018252600d60e082019081526c7267622835372c35372c35372960981b610100830152815281518083018352600e81526d726762283137392c20302c20302960901b602082810191909152808301919091528251808401845260108082526f7267622834312c203136332c2034312960801b828401528385019190915283518085018552600f81526e72676228302c2038392c203137392960881b818401526060840152835180850185528181526f726762283135332c203133302c20302960801b818401526080840152835180850185529081526f726762283235352c2037372c2037372960801b8183015260a083015282518084019093526011835270726762283132372c2033322c203135302960781b9083015260c08101919091526200047090600c9060076200070f565b506040805161012081018252600d60e082018181526c7267622832302c32302c32302960981b610100840152825282518084018452600e81526d726762283132382c20302c20302960901b602082810191909152808401919091528351808501855260108082526f7267622833312c203132322c2033312960801b828401528486019190915284518086018652600f81526e72676228302c2036342c203132382960881b818401526060850152845180860186528181526f726762283137392c203135322c20302960801b818401526080850152845180860186528181526f726762283235352c2035312c2035312960801b8184015260a0850152845180860190955284526f7267622839382c2031392c203131372960801b9084015260c0820192909252620005a3919060076200070f565b506040518060600160405280604051806020016040528060008152508152602001604051806040016040528060018152602001600360fc1b815250815260200160405180604001604052806002815260200161030360f41b815250815250600e9060036200061392919062000773565b503480156200062157600080fd5b506040518060400160405280600a8152602001692234b9ba37b93a34b7b760b11b8152506040518060400160405280600a8152602001692224a9aa27a92a24a7a760b11b815250816000908051906020019062000680929190620007c5565b50805162000696906001906020840190620007c5565b505050620006b3620006ad620006b960201b60201c565b620006bd565b62000907565b3390565b600680546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b82805482825590600052602060002090810192821562000761579160200282015b8281111562000761578251805162000750918491602090910190620007c5565b509160200191906001019062000730565b506200076f92915062000850565b5090565b82805482825590600052602060002090810192821562000761579160200282015b82811115620007615782518051620007b4918491602090910190620007c5565b509160200191906001019062000794565b828054620007d390620008ca565b90600052602060002090601f016020900481019282620007f7576000855562000842565b82601f106200081257805160ff191683800117855562000842565b8280016001018555821562000842579182015b828111156200084257825182559160200191906001019062000825565b506200076f92915062000871565b808211156200076f57600062000867828262000888565b5060010162000850565b5b808211156200076f576000815560010162000872565b5080546200089690620008ca565b6000825580601f10620008a7575050565b601f016020900490600052602060002090810190620008c7919062000871565b50565b600181811c90821680620008df57607f821691505b602082108114156200090157634e487b7160e01b600052602260045260246000fd5b50919050565b61434f80620009176000396000f3fe608060405234801561001057600080fd5b50600436106101125760003560e01c806301ffc9a71461011757806306fdde031461013f578063081812fc14610154578063095ea7b31461017f5780630ac3671e1461019457806318160ddd1461019c5780631bf09e7e146101b257806323b872dd146101c557806342842e0e146101d85780635f92d85e146101eb5780636352211e146101f357806370a0823114610206578063715018a6146102195780638da5cb5b1461022157806395d89b4114610229578063a22cb46514610231578063b1fb8e7314610244578063b88d4fde14610251578063c87b56dd14610264578063e985e9c514610277578063f2fde38b1461028a578063f49fc50b1461029d575b600080fd5b61012a610125366004612be7565b6102b0565b60405190151581526020015b60405180910390f35b610147610302565b6040516101369190613bce565b610167610162366004612c21565b610394565b6040516001600160a01b039091168152602001610136565b61019261018d366004612af7565b610421565b005b610147610532565b6101a461054e565b604051908152602001610136565b6101926101c0366004612b21565b61055e565b6101926101d33660046129c0565b6106cd565b6101926101e63660046129c0565b6106fe565b610192610719565b610167610201366004612c21565b6107d0565b6101a461021436600461296b565b610847565b6101926108ce565b610167610909565b610147610918565b61019261023f366004612abb565b610927565b60085461012a9060ff1681565b61019261025f3660046129fc565b610936565b610147610272366004612c21565b61096e565b61012a61028536600461298d565b610b83565b61019261029836600461296b565b610bb1565b6101476102ab366004612c21565b610c51565b60006001600160e01b031982166380ac58cd60e01b14806102e157506001600160e01b03198216635b5e139f60e01b145b806102fc57506301ffc9a760e01b6001600160e01b03198316145b92915050565b60606000805461031190613e87565b80601f016020809104026020016040519081016040528092919081815260200182805461033d90613e87565b801561038a5780601f1061035f5761010080835404028352916020019161038a565b820191906000526020600020905b81548152906001019060200180831161036d57829003601f168201915b5050505050905090565b600061039f82610ca2565b6104055760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084015b60405180910390fd5b506000908152600460205260409020546001600160a01b031690565b600061042c826107d0565b9050806001600160a01b0316836001600160a01b0316141561049a5760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b60648201526084016103fc565b336001600160a01b03821614806104b657506104b68133610b83565b6105235760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f776044820152771b995c881b9bdc88185c1c1c9bdd995908199bdc88185b1b60421b60648201526084016103fc565b61052d8383610cbf565b505050565b6040518060800160405280604281526020016140a56042913981565b600061055960075490565b905090565b33610567610909565b6001600160a01b03161461058d5760405162461bcd60e51b81526004016103fc90613c33565b60085460ff16156106145760405162461bcd60e51b815260206004820152604560248201527f4f6e6365207468652061697264726f702069732064697361626c65642c20746860448201527f652066756e6374696f6e2063616e206e657665722062652063616c6c6564206160648201526433b0b4b71760d91b608482015260a4016103fc565b60005b825181101561052d5760005b82828151811061063557610635613f1d565b6020026020010151518110156106ba5761069a84838151811061065a5761065a613f1d565b602002602001015184848151811061067457610674613f1d565b6020026020010151838151811061068d5761068d613f1d565b6020026020010151610d2d565b6106a8600780546001019055565b806106b281613ec2565b915050610623565b50806106c581613ec2565b915050610617565b6106d73382610d47565b6106f35760405162461bcd60e51b81526004016103fc90613c68565b61052d838383610e11565b61052d83838360405180602001604052806000815250610936565b33610722610909565b6001600160a01b0316146107485760405162461bcd60e51b81526004016103fc90613c33565b60085460ff16156107c15760405162461bcd60e51b815260206004820152603e60248201527f4f6e6365207468652061697264726f702066756e6374696f6e2069732064697360448201527f61626c65642069742063616e6e6f742062652072652d656e61626c65642e000060648201526084016103fc565b6008805460ff19166001179055565b6000818152600260205260408120546001600160a01b0316806102fc5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b60648201526084016103fc565b60006001600160a01b0382166108b25760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b60648201526084016103fc565b506001600160a01b031660009081526003602052604090205490565b336108d7610909565b6001600160a01b0316146108fd5760405162461bcd60e51b81526004016103fc90613c33565b6109076000610f9f565b565b6006546001600160a01b031690565b60606001805461031190613e87565b610932338383610ff1565b5050565b6109403383610d47565b61095c5760405162461bcd60e51b81526004016103fc90613c68565b610968848484846110bc565b50505050565b606061097982610ca2565b610a115760405162461bcd60e51b815260206004820152605f60248201527f546f6b656e20646f65736e27742065786973742e20547279207573696e67207460448201527f68652067656e6572617465446973746f7274696f6e2066756e6374696f6e207460648201527f6f2067656e6572617465206e6f6e2d6578697374616e74207069656365732e00608482015260a4016103fc565b6000610a5b604051806040016040528060098152602001681c9a5b99d0dbdd5b9d60ba1b815250846040518060800160405280604281526020016140a5604291396005600f6110ef565b90506000610aa3604051806040016040528060058152602001647363616c6560d81b815250856040518060800160405280604281526020016140a560429139600a60286110ef565b90506000610ab085611168565b90506000610b53610ac08761148a565b6009610ae96040518060400160405280600581526020016431b7b637b960d91b8152508a611587565b81548110610af957610af9613f1d565b906000526020600020018587610b0e8761148a565b610b3e610b1a8d610c51565b604051602001610b2a9190612d1c565b6040516020818303038152906040526116dd565b604051602001610b2a9695949392919061391f565b9050600081604051602001610b689190613b56565b60408051601f19818403018152919052979650505050505050565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b33610bba610909565b6001600160a01b031614610be05760405162461bcd60e51b81526004016103fc90613c33565b6001600160a01b038116610c455760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016103fc565b610c4e81610f9f565b50565b606080610c5d83611842565b610c6684611b24565b610c6f85611c99565b610c7886611e69565b604051602001610c8b9493929190613013565b60408051601f198184030181529190529392505050565b6000908152600260205260409020546001600160a01b0316151590565b600081815260046020526040902080546001600160a01b0319166001600160a01b0384169081179091558190610cf4826107d0565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b61093282826040518060200160405280600081525061246b565b6000610d5282610ca2565b610db35760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084016103fc565b6000610dbe836107d0565b9050806001600160a01b0316846001600160a01b03161480610df95750836001600160a01b0316610dee84610394565b6001600160a01b0316145b80610e095750610e098185610b83565b949350505050565b826001600160a01b0316610e24826107d0565b6001600160a01b031614610e8c5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201526839903737ba1037bbb760b91b60648201526084016103fc565b6001600160a01b038216610eee5760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b60648201526084016103fc565b610ef9600082610cbf565b6001600160a01b0383166000908152600360205260408120805460019290610f22908490613e44565b90915550506001600160a01b0382166000908152600360205260408120805460019290610f50908490613d0c565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03868116918217909255915184939187169160008051602061420e83398151915291a4505050565b600680546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b816001600160a01b0316836001600160a01b0316141561104f5760405162461bcd60e51b815260206004820152601960248201527822a9219b99189d1030b8383937bb32903a379031b0b63632b960391b60448201526064016103fc565b6001600160a01b03838116600081815260056020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b6110c7848484610e11565b6110d38484848461249e565b6109685760405162461bcd60e51b81526004016103fc90613be1565b606060006110fd8484613e44565b905060008186888a60405160200161111793929190612e92565b6040516020818303038152906040528051906020012060001c61113a9190613edd565b611145906001613d0c565b90506111518582613d0c565b905061115c8161148a565b98975050505050505050565b60006111726127e6565b600061126a604051806040016040528060028152602001613ca360f11b81525085600e805480602002602001604051908101604052809291908181526020016000905b828210156112615783829060005260206000200180546111d490613e87565b80601f016020809104026020016040519081016040528092919081815260200182805461120090613e87565b801561124d5780601f106112225761010080835404028352916020019161124d565b820191906000526020600020905b81548152906001019060200180831161123057829003601f168201915b5050505050815260200190600101906111b5565b505050506125ab565b9050600061135b604051806040016040528060028152602001613c2360f11b81525086600e805480602002602001604051908101604052809291908181526020016000905b828210156112615783829060005260206000200180546112ce90613e87565b80601f01602080910402602001604051908101604052809291908181526020018280546112fa90613e87565b80156113475780601f1061131c57610100808354040283529160200191611347565b820191906000526020600020905b81548152906001019060200180831161132a57829003601f168201915b5050505050815260200190600101906112af565b6040805180820190915260018152600360fc1b60209182015281519082012090915060008051602061408583398151915214156113a25760028360005b60200201526113e6565b604080518082019091526002815261030360f41b6020918201528151908201206000805160206142fa83398151915214156113e1576001836000611398565b600383525b6040805180820190915260018152600360fc1b602091820152825190830120600080516020614085833981519152141561142a5760028360015b6020020152611470565b604080518082019091526002815261030360f41b6020918201528251908301206000805160206142fa83398151915214156114685760018381611420565b600360208401525b602083015183516114819190613e25565b95945050505050565b6060816114ae5750506040805180820190915260018152600360fc1b602082015290565b8160005b81156114d857806114c281613ec2565b91506114d19050600a83613d24565b91506114b2565b6000816001600160401b038111156114f2576114f2613f33565b6040519080825280601f01601f19166020018201604052801561151c576020820181803683370190505b5090505b8415610e0957611531600183613e44565b915061153e600a86613edd565b611549906030613d0c565b60f81b81838151811061155e5761155e613f1d565b60200101906001600160f81b031916908160001a905350611580600a86613d24565b9450611520565b60008060006064856115988661148a565b6040516020016115a9929190612d38565b6040516020818303038152906040528051906020012060001c6115cc9190613edd565b604080516020808201835260009091528151608081019092526042808352929350600080516020613fd183398151915292906140a59083013980519060200120141561161b57600091506116d5565b600f811161162c57600191506116d5565b600f8111801561163d5750601e8111155b1561164b57600291506116d5565b601e8111801561165c5750602d8111155b1561166a57600391506116d5565b602d8111801561167b5750604b8111155b1561168957600091506116d5565b604b8111801561169a575060508111155b156116a857600491506116d5565b6050811180156116b95750605a8111155b156116c757600591506116d5565b605a8111156116d557600691505b509392505050565b8051606090806116fd575050604080516020810190915260008152919050565b6000600361170c836002613d0c565b6117169190613d24565b611721906004613e25565b90506000611730826020613d0c565b6001600160401b0381111561174757611747613f33565b6040519080825280601f01601f191660200182016040528015611771576020820181803683370190505b50905060006040518060600160405280604081526020016140e7604091399050600181016020830160005b868110156117fd576003818a01810151603f601282901c8116860151600c83901c8216870151600684901c831688015192909316870151600891821b60ff94851601821b92841692909201901b91160160e01b83526004909201910161179c565b506003860660018114611817576002811461182857611834565b613d3d60f01b600119830152611834565b603d60f81b6000198301525b505050918152949350505050565b6060806000611934604051806040016040528060028152602001613c2360f11b81525085600e805480602002602001604051908101604052809291908181526020016000905b828210156112615783829060005260206000200180546118a790613e87565b80601f01602080910402602001604051908101604052809291908181526020018280546118d390613e87565b80156119205780601f106118f557610100808354040283529160200191611920565b820191906000526020600020905b81548152906001019060200180831161190357829003601f168201915b505050505081526020019060010190611888565b90506000611a25604051806040016040528060028152602001613ca360f11b81525086600e805480602002602001604051908101604052809291908181526020016000905b8282101561126157838290600052602060002001805461199890613e87565b80601f01602080910402602001604051908101604052809291908181526020018280546119c490613e87565b8015611a115780601f106119e657610100808354040283529160200191611a11565b820191906000526020600020905b8154815290600101906020018083116119f457829003601f168201915b505050505081526020019060010190611979565b90506000611a6d604051806040016040528060058152602001647363616c6560d81b815250876040518060800160405280604281526020016140a560429139600a60286110ef565b604080516020808201835260009091528151608081019092526042808352929350600080516020613fd183398151915292906140a590830139805190602001201415611af55760405180602001604052806000815250925060405180602001604052806000815250915060405180604001604052806002815260200161033360f41b81525090505b828282604051602001611b0a939291906136b4565b60408051601f198184030181529190529695505050505050565b60606000611b80611b7b611b72604051806040016040528060058152602001647363616c6560d81b815250866040518060800160405280604281526020016140a560429139600a6028612643565b600560006126a4565b61148a565b9050611b8a612804565b604080516020808201835260009091528151608081019092526042808352600080516020613fd183398151915292916140a590830139805190602001201415611bea57604051806040016040528060018152602001601b60f91b81525091505b6040518060c001604052806093815260200161417b609391398152602080820183815260408051808201825260038152622c202d60e81b818501528185019081526060850186815282518084019093526004808452631491101f60e11b958401959095526080860192909252845192519051915160009491929186905b6020020151604051602001611c80959493929190612d67565b60408051601f1981840301815291905295945050505050565b60608060606000611ce8604051806040016040528060098152602001681c9a5b99d0dbdd5b9d60ba1b815250866040518060800160405280604281526020016140a5604291396005600f612643565b9050611cf261282b565b6000611d0160198460006126a4565b604080516020808201835260009091528151608081019092526042808352929350600080516020613fd183398151915292906140a590830139805190602001201415611d4e575060059150815b60005b83811015611e5d57611d71611d668284613e25565b611b7b906005613d0c565b8352611da1611d808284613e25565b611d8b906005613d0c565b611d96906002613e25565b611b7b906064613e44565b6020840152611daf8161148a565b835160208086015160408051808201909152600581526431b7b637b960d91b9281019290925282918190600a90611de6908f611587565b81548110611df657611df6613f1d565b90600052602060002001604051602001611e1596959493929190612ec9565b60405160208183030381529060405295508585604051602001611e39929190612d38565b60405160208183030381529060405294508080611e5590613ec2565b915050611d51565b50929695505050505050565b60606000611e946040518060400160405280600581526020016431b7b637b960d91b81525084611587565b9050611e9e612844565b6040518060c00160405280609c815260200161422e609c91398152600b805483908110611ecd57611ecd613f1d565b906000526020600020018054611ee290613e87565b80601f0160208091040260200160405190810160405280929190818152602001828054611f0e90613e87565b8015611f5b5780601f10611f3057610100808354040283529160200191611f5b565b820191906000526020600020905b815481529060010190602001808311611f3e57829003601f168201915b5050505050816001600d8110611f7357611f73613f1d565b6020020181905250604051806080016040528060548152602001614127605491396040820152600a805483908110611fad57611fad613f1d565b906000526020600020018054611fc290613e87565b80601f0160208091040260200160405190810160405280929190818152602001828054611fee90613e87565b801561203b5780601f106120105761010080835404028352916020019161203b565b820191906000526020600020905b81548152906001019060200180831161201e57829003601f168201915b5050505050816003600d811061205357612053613f1d565b60200201819052506040518060600160405280603081526020016142ca603091396080820152600b80548390811061208d5761208d613f1d565b9060005260206000200180546120a290613e87565b80601f01602080910402602001604051908101604052809291908181526020018280546120ce90613e87565b801561211b5780601f106120f05761010080835404028352916020019161211b565b820191906000526020600020905b8154815290600101906020018083116120fe57829003601f168201915b5050505050816005600d811061213357612133613f1d565b6020020181905250604051806080016040528060548152602001613ff16054913960c0820152600a80548390811061216d5761216d613f1d565b90600052602060002001805461218290613e87565b80601f01602080910402602001604051908101604052809291908181526020018280546121ae90613e87565b80156121fb5780601f106121d0576101008083540402835291602001916121fb565b820191906000526020600020905b8154815290600101906020018083116121de57829003601f168201915b5050505050816007600d811061221357612213613f1d565b6020020181905250604051806060016040528060368152602001613f9b60369139610100820152600d80548390811061224e5761224e613f1d565b90600052602060002001805461226390613e87565b80601f016020809104026020016040519081016040528092919081815260200182805461228f90613e87565b80156122dc5780601f106122b1576101008083540402835291602001916122dc565b820191906000526020600020905b8154815290600101906020018083116122bf57829003601f168201915b5050505050816009600d81106122f4576122f4613f1d565b60200201819052506040518060600160405280603b8152602001613f60603b9139610140820152600c80548390811061232f5761232f613f1d565b90600052602060002001805461234490613e87565b80601f016020809104026020016040519081016040528092919081815260200182805461237090613e87565b80156123bd5780601f10612392576101008083540402835291602001916123bd565b820191906000526020600020905b8154815290600101906020018083116123a057829003601f168201915b505050505081600b600d81106123d5576123d5613f1d565b60200201819052506040518060600160405280604081526020016140456040913961018082015280516020808301516040808501516060860151608087015160a088015160c089015160e08a01516101008b0151965160009a61243c9a9099989101612dd2565b60408051808303601f19018152919052610120830151610140840151610160850151929350839285600c611c67565b61247583836126c6565b612482600084848461249e565b61052d5760405162461bcd60e51b81526004016103fc90613be1565b60006001600160a01b0384163b156125a057604051630a85bd0160e11b81526001600160a01b0385169063150b7a02906124e2903390899088908890600401613b9b565b602060405180830381600087803b1580156124fc57600080fd5b505af192505050801561252c575060408051601f3d908101601f1916820190925261252991810190612c04565b60015b612586573d80801561255a576040519150601f19603f3d011682016040523d82523d6000602084013e61255f565b606091505b50805161257e5760405162461bcd60e51b81526004016103fc90613be1565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050610e09565b506001949350505050565b606060008251856125bb8661148a565b6040516020016125cc929190612d38565b6040516020818303038152906040528051906020012060001c6125ef9190613edd565b90506000838451836126019190613edd565b8151811061261157612611613f1d565b60200260200101516040516020016126299190612d1c565b60408051808303601f190181529190529695505050505050565b6000806126508484613e44565b905060008186888a60405160200161266a93929190612e92565b6040516020818303038152906040528051906020012060001c61268d9190613edd565b612698906001613d0c565b905061115c8582613d0c565b6000826126b283600a613d7d565b6126bc9086613e25565b610e099190613d24565b6001600160a01b03821661271c5760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f206164647265737360448201526064016103fc565b61272581610ca2565b156127715760405162461bcd60e51b815260206004820152601c60248201527b115490cdcc8c4e881d1bdad95b88185b1c9958591e481b5a5b9d195960221b60448201526064016103fc565b6001600160a01b038216600090815260036020526040812080546001929061279a908490613d0c565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b038616908117909155905183929060008051602061420e833981519152908290a45050565b60405180604001604052806002906020820280368337509192915050565b6040518060a001604052806005905b60608152602001906001900390816128135790505090565b6040805180820190915260608152600160208201612813565b604080516101a0810190915260608152600c60208201612813565b80356001600160a01b038116811461287657600080fd5b919050565b600082601f83011261288c57600080fd5b813560206128a161289c83613ce9565b613cb9565b82815281810190858301600585811b880185018910156128c057600080fd5b60005b8681101561295d5782356001600160401b038111156128e157600080fd5b8901603f81018b136128f257600080fd5b86810135604061290461289c83613ce9565b808382528a820191508285018f84868a1b880101111561292357600080fd5b600095505b84861015612946578035835260019590950194918b01918b01612928565b5089525050509486019450918501916001016128c3565b509198975050505050505050565b60006020828403121561297d57600080fd5b6129868261285f565b9392505050565b600080604083850312156129a057600080fd5b6129a98361285f565b91506129b76020840161285f565b90509250929050565b6000806000606084860312156129d557600080fd5b6129de8461285f565b92506129ec6020850161285f565b9150604084013590509250925092565b60008060008060808587031215612a1257600080fd5b612a1b8561285f565b93506020612a2a81870161285f565b93506040860135925060608601356001600160401b0380821115612a4d57600080fd5b818801915088601f830112612a6157600080fd5b813581811115612a7357612a73613f33565b612a85601f8201601f19168501613cb9565b91508082528984828501011115612a9b57600080fd5b808484018584013760008482840101525080935050505092959194509250565b60008060408385031215612ace57600080fd5b612ad78361285f565b915060208301358015158114612aec57600080fd5b809150509250929050565b60008060408385031215612b0a57600080fd5b612b138361285f565b946020939093013593505050565b60008060408385031215612b3457600080fd5b82356001600160401b0380821115612b4b57600080fd5b818501915085601f830112612b5f57600080fd5b81356020612b6f61289c83613ce9565b8083825282820191508286018a848660051b8901011115612b8f57600080fd5b600096505b84871015612bb957612ba58161285f565b835260019690960195918301918301612b94565b5096505086013592505080821115612bd057600080fd5b50612bdd8582860161287b565b9150509250929050565b600060208284031215612bf957600080fd5b813561298681613f49565b600060208284031215612c1657600080fd5b815161298681613f49565b600060208284031215612c3357600080fd5b5035919050565b60008151808452612c52816020860160208601613e5b565b601f01601f19169290920160200192915050565b60008151612c78818560208601613e5b565b9290920192915050565b8054600090600181811c9080831680612c9c57607f831692505b6020808410821415612cbe57634e487b7160e01b600052602260045260246000fd5b818015612cd25760018114612ce357612d10565b60ff19861689528489019650612d10565b60008881526020902060005b86811015612d085781548b820152908501908301612cef565b505084890196505b50505050505092915050565b60008251612d2e818460208701613e5b565b9190910192915050565b60008351612d4a818460208801613e5b565b835190830190612d5e818360208801613e5b565b01949350505050565b60008651612d79818460208b01613e5b565b865190830190612d8d818360208b01613e5b565b8651910190612da0818360208a01613e5b565b8551910190612db3818360208901613e5b565b8451910190612dc6818360208801613e5b565b01979650505050505050565b60008a51612de4818460208f01613e5b565b8a51612df68183860160208f01613e5b565b8a519184010190612e0b818360208e01613e5b565b8951612e1d8183850160208e01613e5b565b8951929091010190612e33818360208c01613e5b565b8751612e458183850160208c01613e5b565b8751929091010190612e5b818360208a01613e5b565b8551910190612e6e818360208901613e5b565b8451612e808183850160208901613e5b565b9101019b9a5050505050505050505050565b60008451612ea4818460208901613e5b565b82018481528351612ebc816020808501908801613e5b565b0160200195945050505050565b7f3c67207374796c653d22616e696d6174696f6e3a20676c6974636820312e0000815260008751612f0181601e850160208c01613e5b565b76399034b73334b734ba329d911f101e3932b1ba103c1e9160491b601e918401918201528751612f38816035840160208c01613e5b565b651291103c9e9160d11b603592909101918201528651612f5f81603b840160208b01613e5b565b601e81830101915050691291103bb4b23a341e9160b11b601d8201528551612f8e816027840160208a01613e5b565b613005612fe9612fe3612fc0612fba6027878701016a1291103432b4b3b43a1e9160a91b8152600b0190565b8a612c66565b761291103334b6361e913737b732911039ba3937b5b29e9160491b815260170190565b87612c82565b6f111034b21e91189110179f101e17b39f60811b815260100190565b9a9950505050505050505050565b7f3c7376672077696474683d22373530707822206865696768743d22373530707881527f222076696577426f783d2230203020353030203530302220786d6c6e733d226860208201527f7474703a2f2f7777772e77332e6f72672f323030302f7376672220786d6c6e7360408201527f3a786c696e6b3d22687474703a2f2f7777772e77332e6f72672f313939392f7860608201527f6c696e6b22207374796c653d226261636b67726f756e642d636f6c6f723a202360808201527f3130313031303b223e3c7374796c653e20406b65796672616d657320676c697460a08201527f6368207b203025207b7472616e73666f726d3a207472616e736c61746528307060c08201527f78293b206f7061636974793a20302e31353b7d203725207b7472616e73666f7260e08201527f6d3a207472616e736c61746528327078293b206f7061636974793a20302e36356101008201527f3b7d20343525207b7472616e73666f726d3a207472616e736c617465283070786101208201527f293b206f7061636974793a20302e33353b7d20353025207b7472616e73666f726101408201527f6d3a207472616e736c617465282d327078293b206f7061636974793a20302e386101608201527f353b7d2031303025207b7472616e73666f726d3a207472616e736c61746528306101808201527f7078293b206f7061636974793a20302e32353b7d207d203c2f7374796c653e206101a08201527f3c646566733e203c66696c7465722069643d226261636b67726f756e642220786101c08201527f3d222d3230252220793d222d323025222077696474683d2231343025222068656101e08201527f696768743d2231343025222066696c746572556e6974733d226f626a656374426102008201527f6f756e64696e67426f7822207072696d6974697665556e6974733d22757365726102208201527f53706163654f6e5573652220636f6c6f722d696e746572706f6c6174696f6e2d6102408201527f66696c746572733d226c696e656172524742223e203c666554757262756c656e6102608201527f636520747970653d226672616374616c4e6f69736522206261736546726571756102808201527f656e63793d22313022206e756d4f6374617665733d22342220736565643d22316102a08201527f222073746974636854696c65733d227374697463682220783d2230252220793d6102c08201527f223025222077696474683d223130302522206865696768743d223130302522206102e08201527f726573756c743d2274757262756c656e6365223e203c616e696d6174652061746103008201527f747269627574654e616d653d227365656422206475723d2231732220726570656103208201527f6174436f756e743d22696e646566696e697465222063616c634d6f64653d22646103408201527f69736372657465222076616c7565733d22313b323b333b343b353b363b373b386103608201527f3b393b313022202f3e203c2f666554757262756c656e63653e203c66655370656103808201527f63756c61724c69676874696e6720737572666163655363616c653d22313022206103a08201527f73706563756c61724578706f6e656e743d22313022206c69676874696e672d636103c08201527f6f6c6f723d2223666666222077696474683d223130302522206865696768743d6103e08201527f2231303025223e203c616e696d617465206174747269627574654e616d653d226104008201527f737572666163655363616c6522206475723d2231732220726570656174436f756104208201527f6e743d22696e646566696e697465222063616c634d6f64653d226469736372656104408201527f7465222076616c7565733d2231303b31313b31323b31333b31343b31353b31346104608201527f3b31333b31323b313122202f3e203c666544697374616e744c6967687420656c6104808201527f65766174696f6e3d22313030222f3e203c2f666553706563756c61724c6967686104a08201527f74696e673e203c2f66696c7465723e203c2f646566733e203c67206f706163696104c08201527f74793d22313025223e203c726563742077696474683d223730302220686569676104e08201527f68743d22373030222066696c6c3d2268736c2832332c2030252c2031303025296105008201527f222066696c7465723d2275726c28236261636b67726f756e6429223e3c2f72656105208201526631ba1f1e17b39f60c91b61054082015260006136aa6136a461369e61369861054786018a612c66565b88612c66565b86612c66565b84612c66565b9695505050505050565b7f3c646566733e3c66696c7465722069643d22737175617265732220783d222d3381527f30252220793d222d333025222077696474683d2231363025222068656967687460208201527f3d2231363025223e203c666554757262756c656e636520747970653d22747572604082015277313ab632b731b291103130b9b2a33932b8bab2b731bc9e9160411b606082015261181760f11b60788201526000845161376481607a850160208901613e5b565b631a90181760e11b607a91840191820152845161378881607e840160208901613e5b565b603560f81b607e92909101918201527f22206e756d4f6374617665733d2231302220736565643d222220726573756c74607f8201527f3d2274757262756c656e6365223e203c616e696d617465206174747269627574609f8201527f654e616d653d227365656422206475723d22302e33732220726570656174436f60bf8201527f756e743d22696e646566696e697465222063616c634d6f64653d22646973637260df8201527f657465222076616c7565733d22313b323b333b343b353b363b373b383b393b3160ff8201527f222f3e203c2f666554757262756c656e63653e203c6665446973706c6163656d61011f8201527f656e744d617020696e3d22536f75726365477261706869632220696e323d227461013f820152713ab9313ab632b731b2911039b1b0b6329e9160711b61015f8201526136aa6138d0610171830186612c66565b7f2220784368616e6e656c53656c6563746f723d22522220794368616e6e656c5381527f656c6563746f723d224722202f3e203c2f66696c7465723e203c2f646566733e602082015260400190565b757b226e616d65223a2022446973746f7274696f6e202360501b81528651600090613951816016850160208c01613e5b565b7f222c2261747472696275746573223a205b207b202274726169745f7479706522601691840191820152741d101121b7b637b9111610113b30b63ab2911d101160591b60368201526139a6604b820189612c82565b90507f22207d2c207b202274726169745f74797065223a2022446973746f7274696f6e81527101029b1b0b632911610113b30b63ab2911d160751b602082015286516139f9816032840160208b01613e5b565b7f207d2c207b202274726169745f74797065223a202252696e6773222c2022766160329290910191820152650363ab2911d160d51b6052820152613b49613b3b61369e613aa6613a97612fba613a52605888018d612c66565b7f207d2c207b202274726169745f74797065223a20224672657175656e6379204d81527203ab63a34b83632911610113b30b63ab2911d1606d1b602082015260330190565b62207d5d60e81b815260030190565b7f2c20226465736372697074696f6e223a2022446973746f7274696f6e2069732081527f612066756c6c792068616e642d74797065642031303025206f6e2d636861696e60208201527f2061727420636f6c6c656374696f6e2e222c2022696d616765223a2022646174604082015276184e9a5b5859d94bdcdd99cade1b5b0ed8985cd94d8d0b604a1b606082015260770190565b61227d60f01b815260020190565b9998505050505050505050565b7f646174613a6170706c69636174696f6e2f6a736f6e3b6261736536342c000000815260008251613b8e81601d850160208701613e5b565b91909101601d0192915050565b6001600160a01b03858116825284166020820152604081018390526080606082018190526000906136aa90830184612c3a565b6020815260006129866020830184612c3a565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b604051601f8201601f191681016001600160401b0381118282101715613ce157613ce1613f33565b604052919050565b60006001600160401b03821115613d0257613d02613f33565b5060051b60200190565b60008219821115613d1f57613d1f613ef1565b500190565b600082613d3357613d33613f07565b500490565b600181600019825b80861115613d7457828204831115613d5a57613d5a613ef1565b80861615613d6757928202925b94851c9491800291613d40565b50509250929050565b60006129868383600082613d93575060016102fc565b81613da0575060006102fc565b8160018114613db65760028114613dc057613ddc565b60019150506102fc565b60ff841115613dd157613dd1613ef1565b50506001821b6102fc565b5060208310610133831016604e8410600b8410161715613dff575081810a6102fc565b613e098383613d38565b8060001904821115613e1d57613e1d613ef1565b029392505050565b6000816000190483118215151615613e3f57613e3f613ef1565b500290565b600082821015613e5657613e56613ef1565b500390565b60005b83811015613e76578181015183820152602001613e5e565b838111156109685750506000910152565b600181811c90821680613e9b57607f821691505b60208210811415613ebc57634e487b7160e01b600052602260045260246000fd5b50919050565b6000600019821415613ed657613ed6613ef1565b5060010190565b600082613eec57613eec613f07565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b031981168114610c4e57600080fdfe2220643d224d3132372e393631203135342e313539763133332e3739396c3132372e39362d37352e3633377a222f3e3c706174682066696c6c3d222220643d224d30203233362e3538356c3132372e393632203138302e3332762d3130342e37327a222f3e3c706174682066696c6c3d22c5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a4702220643d224d3132362e333836203431322e3330366c312e35373520342e364c323536203233362e3538376c2d3132382e3033382037352e362d312e35373520312e39327a222f3e3c706174682066696c6c3d222220643d224d3132372e3936203135342e3135394c30203231322e33326c3132372e39362037352e3633377a222f3e203c2f673e203c2f673e203c2f7376673e044852b2a670ade5407e78fb2863c51de9fcb96542a07186fe3aeda6bb8a116d3078386636646463376232376238343932333138373631643433363165326532346565646234643536363032663466353735353630303731653837336635613466394142434445464748494a4b4c4d4e4f505152535455565758595a6162636465666768696a6b6c6d6e6f707172737475767778797a303132333435363738392b2f2220643d224d3132352e313636203238352e3136386c322e37393520322e3739203132372e3936322d37352e3633384c3132372e39363120306c2d322e37393520392e357a222f3e3c706174682066696c6c3d223c7374796c6520616c743d22737572726f756e64223e202331207b207374726f6b652d6461736861727261793a2035302c35302c313530207d3c2f7374796c653e3c67207374796c653d2266696c7465723a2075726c282373717561726573293b22206f7061636974793d2231303025222069643d2231223e203c67207472616e73666f726d3d227472616e736c617465282dddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef3c2f673e203c2f673e3c67207374796c653d22616e696d6174696f6e3a20676c6974636820302e357320696e66696e6974653b66696c7465723a2075726c282373717561726573293b223e203c67207472616e73666f726d3d227363616c6528302e353029207472616e736c617465283337302c203238372922207374796c653d226f7061636974793a343025223e203c706174682066696c6c3d222220643d224d3132372e393632203238372e39353956304c30203231322e33327a222f3e3c706174682066696c6c3d22e3f0ae350ee09657933cd8202a4dd563c5af941f8054e6d7191e3246be378290a26469706673582212200e3423b3bbb6ab04b54ebb11ff403f86b8c49d76d59db68021a3cc8322e3477564736f6c63430008070033
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106101125760003560e01c806301ffc9a71461011757806306fdde031461013f578063081812fc14610154578063095ea7b31461017f5780630ac3671e1461019457806318160ddd1461019c5780631bf09e7e146101b257806323b872dd146101c557806342842e0e146101d85780635f92d85e146101eb5780636352211e146101f357806370a0823114610206578063715018a6146102195780638da5cb5b1461022157806395d89b4114610229578063a22cb46514610231578063b1fb8e7314610244578063b88d4fde14610251578063c87b56dd14610264578063e985e9c514610277578063f2fde38b1461028a578063f49fc50b1461029d575b600080fd5b61012a610125366004612be7565b6102b0565b60405190151581526020015b60405180910390f35b610147610302565b6040516101369190613bce565b610167610162366004612c21565b610394565b6040516001600160a01b039091168152602001610136565b61019261018d366004612af7565b610421565b005b610147610532565b6101a461054e565b604051908152602001610136565b6101926101c0366004612b21565b61055e565b6101926101d33660046129c0565b6106cd565b6101926101e63660046129c0565b6106fe565b610192610719565b610167610201366004612c21565b6107d0565b6101a461021436600461296b565b610847565b6101926108ce565b610167610909565b610147610918565b61019261023f366004612abb565b610927565b60085461012a9060ff1681565b61019261025f3660046129fc565b610936565b610147610272366004612c21565b61096e565b61012a61028536600461298d565b610b83565b61019261029836600461296b565b610bb1565b6101476102ab366004612c21565b610c51565b60006001600160e01b031982166380ac58cd60e01b14806102e157506001600160e01b03198216635b5e139f60e01b145b806102fc57506301ffc9a760e01b6001600160e01b03198316145b92915050565b60606000805461031190613e87565b80601f016020809104026020016040519081016040528092919081815260200182805461033d90613e87565b801561038a5780601f1061035f5761010080835404028352916020019161038a565b820191906000526020600020905b81548152906001019060200180831161036d57829003601f168201915b5050505050905090565b600061039f82610ca2565b6104055760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084015b60405180910390fd5b506000908152600460205260409020546001600160a01b031690565b600061042c826107d0565b9050806001600160a01b0316836001600160a01b0316141561049a5760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b60648201526084016103fc565b336001600160a01b03821614806104b657506104b68133610b83565b6105235760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f776044820152771b995c881b9bdc88185c1c1c9bdd995908199bdc88185b1b60421b60648201526084016103fc565b61052d8383610cbf565b505050565b6040518060800160405280604281526020016140a56042913981565b600061055960075490565b905090565b33610567610909565b6001600160a01b03161461058d5760405162461bcd60e51b81526004016103fc90613c33565b60085460ff16156106145760405162461bcd60e51b815260206004820152604560248201527f4f6e6365207468652061697264726f702069732064697361626c65642c20746860448201527f652066756e6374696f6e2063616e206e657665722062652063616c6c6564206160648201526433b0b4b71760d91b608482015260a4016103fc565b60005b825181101561052d5760005b82828151811061063557610635613f1d565b6020026020010151518110156106ba5761069a84838151811061065a5761065a613f1d565b602002602001015184848151811061067457610674613f1d565b6020026020010151838151811061068d5761068d613f1d565b6020026020010151610d2d565b6106a8600780546001019055565b806106b281613ec2565b915050610623565b50806106c581613ec2565b915050610617565b6106d73382610d47565b6106f35760405162461bcd60e51b81526004016103fc90613c68565b61052d838383610e11565b61052d83838360405180602001604052806000815250610936565b33610722610909565b6001600160a01b0316146107485760405162461bcd60e51b81526004016103fc90613c33565b60085460ff16156107c15760405162461bcd60e51b815260206004820152603e60248201527f4f6e6365207468652061697264726f702066756e6374696f6e2069732064697360448201527f61626c65642069742063616e6e6f742062652072652d656e61626c65642e000060648201526084016103fc565b6008805460ff19166001179055565b6000818152600260205260408120546001600160a01b0316806102fc5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b60648201526084016103fc565b60006001600160a01b0382166108b25760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b60648201526084016103fc565b506001600160a01b031660009081526003602052604090205490565b336108d7610909565b6001600160a01b0316146108fd5760405162461bcd60e51b81526004016103fc90613c33565b6109076000610f9f565b565b6006546001600160a01b031690565b60606001805461031190613e87565b610932338383610ff1565b5050565b6109403383610d47565b61095c5760405162461bcd60e51b81526004016103fc90613c68565b610968848484846110bc565b50505050565b606061097982610ca2565b610a115760405162461bcd60e51b815260206004820152605f60248201527f546f6b656e20646f65736e27742065786973742e20547279207573696e67207460448201527f68652067656e6572617465446973746f7274696f6e2066756e6374696f6e207460648201527f6f2067656e6572617465206e6f6e2d6578697374616e74207069656365732e00608482015260a4016103fc565b6000610a5b604051806040016040528060098152602001681c9a5b99d0dbdd5b9d60ba1b815250846040518060800160405280604281526020016140a5604291396005600f6110ef565b90506000610aa3604051806040016040528060058152602001647363616c6560d81b815250856040518060800160405280604281526020016140a560429139600a60286110ef565b90506000610ab085611168565b90506000610b53610ac08761148a565b6009610ae96040518060400160405280600581526020016431b7b637b960d91b8152508a611587565b81548110610af957610af9613f1d565b906000526020600020018587610b0e8761148a565b610b3e610b1a8d610c51565b604051602001610b2a9190612d1c565b6040516020818303038152906040526116dd565b604051602001610b2a9695949392919061391f565b9050600081604051602001610b689190613b56565b60408051601f19818403018152919052979650505050505050565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b33610bba610909565b6001600160a01b031614610be05760405162461bcd60e51b81526004016103fc90613c33565b6001600160a01b038116610c455760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016103fc565b610c4e81610f9f565b50565b606080610c5d83611842565b610c6684611b24565b610c6f85611c99565b610c7886611e69565b604051602001610c8b9493929190613013565b60408051601f198184030181529190529392505050565b6000908152600260205260409020546001600160a01b0316151590565b600081815260046020526040902080546001600160a01b0319166001600160a01b0384169081179091558190610cf4826107d0565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b61093282826040518060200160405280600081525061246b565b6000610d5282610ca2565b610db35760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084016103fc565b6000610dbe836107d0565b9050806001600160a01b0316846001600160a01b03161480610df95750836001600160a01b0316610dee84610394565b6001600160a01b0316145b80610e095750610e098185610b83565b949350505050565b826001600160a01b0316610e24826107d0565b6001600160a01b031614610e8c5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201526839903737ba1037bbb760b91b60648201526084016103fc565b6001600160a01b038216610eee5760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b60648201526084016103fc565b610ef9600082610cbf565b6001600160a01b0383166000908152600360205260408120805460019290610f22908490613e44565b90915550506001600160a01b0382166000908152600360205260408120805460019290610f50908490613d0c565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03868116918217909255915184939187169160008051602061420e83398151915291a4505050565b600680546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b816001600160a01b0316836001600160a01b0316141561104f5760405162461bcd60e51b815260206004820152601960248201527822a9219b99189d1030b8383937bb32903a379031b0b63632b960391b60448201526064016103fc565b6001600160a01b03838116600081815260056020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b6110c7848484610e11565b6110d38484848461249e565b6109685760405162461bcd60e51b81526004016103fc90613be1565b606060006110fd8484613e44565b905060008186888a60405160200161111793929190612e92565b6040516020818303038152906040528051906020012060001c61113a9190613edd565b611145906001613d0c565b90506111518582613d0c565b905061115c8161148a565b98975050505050505050565b60006111726127e6565b600061126a604051806040016040528060028152602001613ca360f11b81525085600e805480602002602001604051908101604052809291908181526020016000905b828210156112615783829060005260206000200180546111d490613e87565b80601f016020809104026020016040519081016040528092919081815260200182805461120090613e87565b801561124d5780601f106112225761010080835404028352916020019161124d565b820191906000526020600020905b81548152906001019060200180831161123057829003601f168201915b5050505050815260200190600101906111b5565b505050506125ab565b9050600061135b604051806040016040528060028152602001613c2360f11b81525086600e805480602002602001604051908101604052809291908181526020016000905b828210156112615783829060005260206000200180546112ce90613e87565b80601f01602080910402602001604051908101604052809291908181526020018280546112fa90613e87565b80156113475780601f1061131c57610100808354040283529160200191611347565b820191906000526020600020905b81548152906001019060200180831161132a57829003601f168201915b5050505050815260200190600101906112af565b6040805180820190915260018152600360fc1b60209182015281519082012090915060008051602061408583398151915214156113a25760028360005b60200201526113e6565b604080518082019091526002815261030360f41b6020918201528151908201206000805160206142fa83398151915214156113e1576001836000611398565b600383525b6040805180820190915260018152600360fc1b602091820152825190830120600080516020614085833981519152141561142a5760028360015b6020020152611470565b604080518082019091526002815261030360f41b6020918201528251908301206000805160206142fa83398151915214156114685760018381611420565b600360208401525b602083015183516114819190613e25565b95945050505050565b6060816114ae5750506040805180820190915260018152600360fc1b602082015290565b8160005b81156114d857806114c281613ec2565b91506114d19050600a83613d24565b91506114b2565b6000816001600160401b038111156114f2576114f2613f33565b6040519080825280601f01601f19166020018201604052801561151c576020820181803683370190505b5090505b8415610e0957611531600183613e44565b915061153e600a86613edd565b611549906030613d0c565b60f81b81838151811061155e5761155e613f1d565b60200101906001600160f81b031916908160001a905350611580600a86613d24565b9450611520565b60008060006064856115988661148a565b6040516020016115a9929190612d38565b6040516020818303038152906040528051906020012060001c6115cc9190613edd565b604080516020808201835260009091528151608081019092526042808352929350600080516020613fd183398151915292906140a59083013980519060200120141561161b57600091506116d5565b600f811161162c57600191506116d5565b600f8111801561163d5750601e8111155b1561164b57600291506116d5565b601e8111801561165c5750602d8111155b1561166a57600391506116d5565b602d8111801561167b5750604b8111155b1561168957600091506116d5565b604b8111801561169a575060508111155b156116a857600491506116d5565b6050811180156116b95750605a8111155b156116c757600591506116d5565b605a8111156116d557600691505b509392505050565b8051606090806116fd575050604080516020810190915260008152919050565b6000600361170c836002613d0c565b6117169190613d24565b611721906004613e25565b90506000611730826020613d0c565b6001600160401b0381111561174757611747613f33565b6040519080825280601f01601f191660200182016040528015611771576020820181803683370190505b50905060006040518060600160405280604081526020016140e7604091399050600181016020830160005b868110156117fd576003818a01810151603f601282901c8116860151600c83901c8216870151600684901c831688015192909316870151600891821b60ff94851601821b92841692909201901b91160160e01b83526004909201910161179c565b506003860660018114611817576002811461182857611834565b613d3d60f01b600119830152611834565b603d60f81b6000198301525b505050918152949350505050565b6060806000611934604051806040016040528060028152602001613c2360f11b81525085600e805480602002602001604051908101604052809291908181526020016000905b828210156112615783829060005260206000200180546118a790613e87565b80601f01602080910402602001604051908101604052809291908181526020018280546118d390613e87565b80156119205780601f106118f557610100808354040283529160200191611920565b820191906000526020600020905b81548152906001019060200180831161190357829003601f168201915b505050505081526020019060010190611888565b90506000611a25604051806040016040528060028152602001613ca360f11b81525086600e805480602002602001604051908101604052809291908181526020016000905b8282101561126157838290600052602060002001805461199890613e87565b80601f01602080910402602001604051908101604052809291908181526020018280546119c490613e87565b8015611a115780601f106119e657610100808354040283529160200191611a11565b820191906000526020600020905b8154815290600101906020018083116119f457829003601f168201915b505050505081526020019060010190611979565b90506000611a6d604051806040016040528060058152602001647363616c6560d81b815250876040518060800160405280604281526020016140a560429139600a60286110ef565b604080516020808201835260009091528151608081019092526042808352929350600080516020613fd183398151915292906140a590830139805190602001201415611af55760405180602001604052806000815250925060405180602001604052806000815250915060405180604001604052806002815260200161033360f41b81525090505b828282604051602001611b0a939291906136b4565b60408051601f198184030181529190529695505050505050565b60606000611b80611b7b611b72604051806040016040528060058152602001647363616c6560d81b815250866040518060800160405280604281526020016140a560429139600a6028612643565b600560006126a4565b61148a565b9050611b8a612804565b604080516020808201835260009091528151608081019092526042808352600080516020613fd183398151915292916140a590830139805190602001201415611bea57604051806040016040528060018152602001601b60f91b81525091505b6040518060c001604052806093815260200161417b609391398152602080820183815260408051808201825260038152622c202d60e81b818501528185019081526060850186815282518084019093526004808452631491101f60e11b958401959095526080860192909252845192519051915160009491929186905b6020020151604051602001611c80959493929190612d67565b60408051601f1981840301815291905295945050505050565b60608060606000611ce8604051806040016040528060098152602001681c9a5b99d0dbdd5b9d60ba1b815250866040518060800160405280604281526020016140a5604291396005600f612643565b9050611cf261282b565b6000611d0160198460006126a4565b604080516020808201835260009091528151608081019092526042808352929350600080516020613fd183398151915292906140a590830139805190602001201415611d4e575060059150815b60005b83811015611e5d57611d71611d668284613e25565b611b7b906005613d0c565b8352611da1611d808284613e25565b611d8b906005613d0c565b611d96906002613e25565b611b7b906064613e44565b6020840152611daf8161148a565b835160208086015160408051808201909152600581526431b7b637b960d91b9281019290925282918190600a90611de6908f611587565b81548110611df657611df6613f1d565b90600052602060002001604051602001611e1596959493929190612ec9565b60405160208183030381529060405295508585604051602001611e39929190612d38565b60405160208183030381529060405294508080611e5590613ec2565b915050611d51565b50929695505050505050565b60606000611e946040518060400160405280600581526020016431b7b637b960d91b81525084611587565b9050611e9e612844565b6040518060c00160405280609c815260200161422e609c91398152600b805483908110611ecd57611ecd613f1d565b906000526020600020018054611ee290613e87565b80601f0160208091040260200160405190810160405280929190818152602001828054611f0e90613e87565b8015611f5b5780601f10611f3057610100808354040283529160200191611f5b565b820191906000526020600020905b815481529060010190602001808311611f3e57829003601f168201915b5050505050816001600d8110611f7357611f73613f1d565b6020020181905250604051806080016040528060548152602001614127605491396040820152600a805483908110611fad57611fad613f1d565b906000526020600020018054611fc290613e87565b80601f0160208091040260200160405190810160405280929190818152602001828054611fee90613e87565b801561203b5780601f106120105761010080835404028352916020019161203b565b820191906000526020600020905b81548152906001019060200180831161201e57829003601f168201915b5050505050816003600d811061205357612053613f1d565b60200201819052506040518060600160405280603081526020016142ca603091396080820152600b80548390811061208d5761208d613f1d565b9060005260206000200180546120a290613e87565b80601f01602080910402602001604051908101604052809291908181526020018280546120ce90613e87565b801561211b5780601f106120f05761010080835404028352916020019161211b565b820191906000526020600020905b8154815290600101906020018083116120fe57829003601f168201915b5050505050816005600d811061213357612133613f1d565b6020020181905250604051806080016040528060548152602001613ff16054913960c0820152600a80548390811061216d5761216d613f1d565b90600052602060002001805461218290613e87565b80601f01602080910402602001604051908101604052809291908181526020018280546121ae90613e87565b80156121fb5780601f106121d0576101008083540402835291602001916121fb565b820191906000526020600020905b8154815290600101906020018083116121de57829003601f168201915b5050505050816007600d811061221357612213613f1d565b6020020181905250604051806060016040528060368152602001613f9b60369139610100820152600d80548390811061224e5761224e613f1d565b90600052602060002001805461226390613e87565b80601f016020809104026020016040519081016040528092919081815260200182805461228f90613e87565b80156122dc5780601f106122b1576101008083540402835291602001916122dc565b820191906000526020600020905b8154815290600101906020018083116122bf57829003601f168201915b5050505050816009600d81106122f4576122f4613f1d565b60200201819052506040518060600160405280603b8152602001613f60603b9139610140820152600c80548390811061232f5761232f613f1d565b90600052602060002001805461234490613e87565b80601f016020809104026020016040519081016040528092919081815260200182805461237090613e87565b80156123bd5780601f10612392576101008083540402835291602001916123bd565b820191906000526020600020905b8154815290600101906020018083116123a057829003601f168201915b505050505081600b600d81106123d5576123d5613f1d565b60200201819052506040518060600160405280604081526020016140456040913961018082015280516020808301516040808501516060860151608087015160a088015160c089015160e08a01516101008b0151965160009a61243c9a9099989101612dd2565b60408051808303601f19018152919052610120830151610140840151610160850151929350839285600c611c67565b61247583836126c6565b612482600084848461249e565b61052d5760405162461bcd60e51b81526004016103fc90613be1565b60006001600160a01b0384163b156125a057604051630a85bd0160e11b81526001600160a01b0385169063150b7a02906124e2903390899088908890600401613b9b565b602060405180830381600087803b1580156124fc57600080fd5b505af192505050801561252c575060408051601f3d908101601f1916820190925261252991810190612c04565b60015b612586573d80801561255a576040519150601f19603f3d011682016040523d82523d6000602084013e61255f565b606091505b50805161257e5760405162461bcd60e51b81526004016103fc90613be1565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050610e09565b506001949350505050565b606060008251856125bb8661148a565b6040516020016125cc929190612d38565b6040516020818303038152906040528051906020012060001c6125ef9190613edd565b90506000838451836126019190613edd565b8151811061261157612611613f1d565b60200260200101516040516020016126299190612d1c565b60408051808303601f190181529190529695505050505050565b6000806126508484613e44565b905060008186888a60405160200161266a93929190612e92565b6040516020818303038152906040528051906020012060001c61268d9190613edd565b612698906001613d0c565b905061115c8582613d0c565b6000826126b283600a613d7d565b6126bc9086613e25565b610e099190613d24565b6001600160a01b03821661271c5760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f206164647265737360448201526064016103fc565b61272581610ca2565b156127715760405162461bcd60e51b815260206004820152601c60248201527b115490cdcc8c4e881d1bdad95b88185b1c9958591e481b5a5b9d195960221b60448201526064016103fc565b6001600160a01b038216600090815260036020526040812080546001929061279a908490613d0c565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b038616908117909155905183929060008051602061420e833981519152908290a45050565b60405180604001604052806002906020820280368337509192915050565b6040518060a001604052806005905b60608152602001906001900390816128135790505090565b6040805180820190915260608152600160208201612813565b604080516101a0810190915260608152600c60208201612813565b80356001600160a01b038116811461287657600080fd5b919050565b600082601f83011261288c57600080fd5b813560206128a161289c83613ce9565b613cb9565b82815281810190858301600585811b880185018910156128c057600080fd5b60005b8681101561295d5782356001600160401b038111156128e157600080fd5b8901603f81018b136128f257600080fd5b86810135604061290461289c83613ce9565b808382528a820191508285018f84868a1b880101111561292357600080fd5b600095505b84861015612946578035835260019590950194918b01918b01612928565b5089525050509486019450918501916001016128c3565b509198975050505050505050565b60006020828403121561297d57600080fd5b6129868261285f565b9392505050565b600080604083850312156129a057600080fd5b6129a98361285f565b91506129b76020840161285f565b90509250929050565b6000806000606084860312156129d557600080fd5b6129de8461285f565b92506129ec6020850161285f565b9150604084013590509250925092565b60008060008060808587031215612a1257600080fd5b612a1b8561285f565b93506020612a2a81870161285f565b93506040860135925060608601356001600160401b0380821115612a4d57600080fd5b818801915088601f830112612a6157600080fd5b813581811115612a7357612a73613f33565b612a85601f8201601f19168501613cb9565b91508082528984828501011115612a9b57600080fd5b808484018584013760008482840101525080935050505092959194509250565b60008060408385031215612ace57600080fd5b612ad78361285f565b915060208301358015158114612aec57600080fd5b809150509250929050565b60008060408385031215612b0a57600080fd5b612b138361285f565b946020939093013593505050565b60008060408385031215612b3457600080fd5b82356001600160401b0380821115612b4b57600080fd5b818501915085601f830112612b5f57600080fd5b81356020612b6f61289c83613ce9565b8083825282820191508286018a848660051b8901011115612b8f57600080fd5b600096505b84871015612bb957612ba58161285f565b835260019690960195918301918301612b94565b5096505086013592505080821115612bd057600080fd5b50612bdd8582860161287b565b9150509250929050565b600060208284031215612bf957600080fd5b813561298681613f49565b600060208284031215612c1657600080fd5b815161298681613f49565b600060208284031215612c3357600080fd5b5035919050565b60008151808452612c52816020860160208601613e5b565b601f01601f19169290920160200192915050565b60008151612c78818560208601613e5b565b9290920192915050565b8054600090600181811c9080831680612c9c57607f831692505b6020808410821415612cbe57634e487b7160e01b600052602260045260246000fd5b818015612cd25760018114612ce357612d10565b60ff19861689528489019650612d10565b60008881526020902060005b86811015612d085781548b820152908501908301612cef565b505084890196505b50505050505092915050565b60008251612d2e818460208701613e5b565b9190910192915050565b60008351612d4a818460208801613e5b565b835190830190612d5e818360208801613e5b565b01949350505050565b60008651612d79818460208b01613e5b565b865190830190612d8d818360208b01613e5b565b8651910190612da0818360208a01613e5b565b8551910190612db3818360208901613e5b565b8451910190612dc6818360208801613e5b565b01979650505050505050565b60008a51612de4818460208f01613e5b565b8a51612df68183860160208f01613e5b565b8a519184010190612e0b818360208e01613e5b565b8951612e1d8183850160208e01613e5b565b8951929091010190612e33818360208c01613e5b565b8751612e458183850160208c01613e5b565b8751929091010190612e5b818360208a01613e5b565b8551910190612e6e818360208901613e5b565b8451612e808183850160208901613e5b565b9101019b9a5050505050505050505050565b60008451612ea4818460208901613e5b565b82018481528351612ebc816020808501908801613e5b565b0160200195945050505050565b7f3c67207374796c653d22616e696d6174696f6e3a20676c6974636820312e0000815260008751612f0181601e850160208c01613e5b565b76399034b73334b734ba329d911f101e3932b1ba103c1e9160491b601e918401918201528751612f38816035840160208c01613e5b565b651291103c9e9160d11b603592909101918201528651612f5f81603b840160208b01613e5b565b601e81830101915050691291103bb4b23a341e9160b11b601d8201528551612f8e816027840160208a01613e5b565b613005612fe9612fe3612fc0612fba6027878701016a1291103432b4b3b43a1e9160a91b8152600b0190565b8a612c66565b761291103334b6361e913737b732911039ba3937b5b29e9160491b815260170190565b87612c82565b6f111034b21e91189110179f101e17b39f60811b815260100190565b9a9950505050505050505050565b7f3c7376672077696474683d22373530707822206865696768743d22373530707881527f222076696577426f783d2230203020353030203530302220786d6c6e733d226860208201527f7474703a2f2f7777772e77332e6f72672f323030302f7376672220786d6c6e7360408201527f3a786c696e6b3d22687474703a2f2f7777772e77332e6f72672f313939392f7860608201527f6c696e6b22207374796c653d226261636b67726f756e642d636f6c6f723a202360808201527f3130313031303b223e3c7374796c653e20406b65796672616d657320676c697460a08201527f6368207b203025207b7472616e73666f726d3a207472616e736c61746528307060c08201527f78293b206f7061636974793a20302e31353b7d203725207b7472616e73666f7260e08201527f6d3a207472616e736c61746528327078293b206f7061636974793a20302e36356101008201527f3b7d20343525207b7472616e73666f726d3a207472616e736c617465283070786101208201527f293b206f7061636974793a20302e33353b7d20353025207b7472616e73666f726101408201527f6d3a207472616e736c617465282d327078293b206f7061636974793a20302e386101608201527f353b7d2031303025207b7472616e73666f726d3a207472616e736c61746528306101808201527f7078293b206f7061636974793a20302e32353b7d207d203c2f7374796c653e206101a08201527f3c646566733e203c66696c7465722069643d226261636b67726f756e642220786101c08201527f3d222d3230252220793d222d323025222077696474683d2231343025222068656101e08201527f696768743d2231343025222066696c746572556e6974733d226f626a656374426102008201527f6f756e64696e67426f7822207072696d6974697665556e6974733d22757365726102208201527f53706163654f6e5573652220636f6c6f722d696e746572706f6c6174696f6e2d6102408201527f66696c746572733d226c696e656172524742223e203c666554757262756c656e6102608201527f636520747970653d226672616374616c4e6f69736522206261736546726571756102808201527f656e63793d22313022206e756d4f6374617665733d22342220736565643d22316102a08201527f222073746974636854696c65733d227374697463682220783d2230252220793d6102c08201527f223025222077696474683d223130302522206865696768743d223130302522206102e08201527f726573756c743d2274757262756c656e6365223e203c616e696d6174652061746103008201527f747269627574654e616d653d227365656422206475723d2231732220726570656103208201527f6174436f756e743d22696e646566696e697465222063616c634d6f64653d22646103408201527f69736372657465222076616c7565733d22313b323b333b343b353b363b373b386103608201527f3b393b313022202f3e203c2f666554757262756c656e63653e203c66655370656103808201527f63756c61724c69676874696e6720737572666163655363616c653d22313022206103a08201527f73706563756c61724578706f6e656e743d22313022206c69676874696e672d636103c08201527f6f6c6f723d2223666666222077696474683d223130302522206865696768743d6103e08201527f2231303025223e203c616e696d617465206174747269627574654e616d653d226104008201527f737572666163655363616c6522206475723d2231732220726570656174436f756104208201527f6e743d22696e646566696e697465222063616c634d6f64653d226469736372656104408201527f7465222076616c7565733d2231303b31313b31323b31333b31343b31353b31346104608201527f3b31333b31323b313122202f3e203c666544697374616e744c6967687420656c6104808201527f65766174696f6e3d22313030222f3e203c2f666553706563756c61724c6967686104a08201527f74696e673e203c2f66696c7465723e203c2f646566733e203c67206f706163696104c08201527f74793d22313025223e203c726563742077696474683d223730302220686569676104e08201527f68743d22373030222066696c6c3d2268736c2832332c2030252c2031303025296105008201527f222066696c7465723d2275726c28236261636b67726f756e6429223e3c2f72656105208201526631ba1f1e17b39f60c91b61054082015260006136aa6136a461369e61369861054786018a612c66565b88612c66565b86612c66565b84612c66565b9695505050505050565b7f3c646566733e3c66696c7465722069643d22737175617265732220783d222d3381527f30252220793d222d333025222077696474683d2231363025222068656967687460208201527f3d2231363025223e203c666554757262756c656e636520747970653d22747572604082015277313ab632b731b291103130b9b2a33932b8bab2b731bc9e9160411b606082015261181760f11b60788201526000845161376481607a850160208901613e5b565b631a90181760e11b607a91840191820152845161378881607e840160208901613e5b565b603560f81b607e92909101918201527f22206e756d4f6374617665733d2231302220736565643d222220726573756c74607f8201527f3d2274757262756c656e6365223e203c616e696d617465206174747269627574609f8201527f654e616d653d227365656422206475723d22302e33732220726570656174436f60bf8201527f756e743d22696e646566696e697465222063616c634d6f64653d22646973637260df8201527f657465222076616c7565733d22313b323b333b343b353b363b373b383b393b3160ff8201527f222f3e203c2f666554757262756c656e63653e203c6665446973706c6163656d61011f8201527f656e744d617020696e3d22536f75726365477261706869632220696e323d227461013f820152713ab9313ab632b731b2911039b1b0b6329e9160711b61015f8201526136aa6138d0610171830186612c66565b7f2220784368616e6e656c53656c6563746f723d22522220794368616e6e656c5381527f656c6563746f723d224722202f3e203c2f66696c7465723e203c2f646566733e602082015260400190565b757b226e616d65223a2022446973746f7274696f6e202360501b81528651600090613951816016850160208c01613e5b565b7f222c2261747472696275746573223a205b207b202274726169745f7479706522601691840191820152741d101121b7b637b9111610113b30b63ab2911d101160591b60368201526139a6604b820189612c82565b90507f22207d2c207b202274726169745f74797065223a2022446973746f7274696f6e81527101029b1b0b632911610113b30b63ab2911d160751b602082015286516139f9816032840160208b01613e5b565b7f207d2c207b202274726169745f74797065223a202252696e6773222c2022766160329290910191820152650363ab2911d160d51b6052820152613b49613b3b61369e613aa6613a97612fba613a52605888018d612c66565b7f207d2c207b202274726169745f74797065223a20224672657175656e6379204d81527203ab63a34b83632911610113b30b63ab2911d1606d1b602082015260330190565b62207d5d60e81b815260030190565b7f2c20226465736372697074696f6e223a2022446973746f7274696f6e2069732081527f612066756c6c792068616e642d74797065642031303025206f6e2d636861696e60208201527f2061727420636f6c6c656374696f6e2e222c2022696d616765223a2022646174604082015276184e9a5b5859d94bdcdd99cade1b5b0ed8985cd94d8d0b604a1b606082015260770190565b61227d60f01b815260020190565b9998505050505050505050565b7f646174613a6170706c69636174696f6e2f6a736f6e3b6261736536342c000000815260008251613b8e81601d850160208701613e5b565b91909101601d0192915050565b6001600160a01b03858116825284166020820152604081018390526080606082018190526000906136aa90830184612c3a565b6020815260006129866020830184612c3a565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b604051601f8201601f191681016001600160401b0381118282101715613ce157613ce1613f33565b604052919050565b60006001600160401b03821115613d0257613d02613f33565b5060051b60200190565b60008219821115613d1f57613d1f613ef1565b500190565b600082613d3357613d33613f07565b500490565b600181600019825b80861115613d7457828204831115613d5a57613d5a613ef1565b80861615613d6757928202925b94851c9491800291613d40565b50509250929050565b60006129868383600082613d93575060016102fc565b81613da0575060006102fc565b8160018114613db65760028114613dc057613ddc565b60019150506102fc565b60ff841115613dd157613dd1613ef1565b50506001821b6102fc565b5060208310610133831016604e8410600b8410161715613dff575081810a6102fc565b613e098383613d38565b8060001904821115613e1d57613e1d613ef1565b029392505050565b6000816000190483118215151615613e3f57613e3f613ef1565b500290565b600082821015613e5657613e56613ef1565b500390565b60005b83811015613e76578181015183820152602001613e5e565b838111156109685750506000910152565b600181811c90821680613e9b57607f821691505b60208210811415613ebc57634e487b7160e01b600052602260045260246000fd5b50919050565b6000600019821415613ed657613ed6613ef1565b5060010190565b600082613eec57613eec613f07565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b031981168114610c4e57600080fdfe2220643d224d3132372e393631203135342e313539763133332e3739396c3132372e39362d37352e3633377a222f3e3c706174682066696c6c3d222220643d224d30203233362e3538356c3132372e393632203138302e3332762d3130342e37327a222f3e3c706174682066696c6c3d22c5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a4702220643d224d3132362e333836203431322e3330366c312e35373520342e364c323536203233362e3538376c2d3132382e3033382037352e362d312e35373520312e39327a222f3e3c706174682066696c6c3d222220643d224d3132372e3936203135342e3135394c30203231322e33326c3132372e39362037352e3633377a222f3e203c2f673e203c2f673e203c2f7376673e044852b2a670ade5407e78fb2863c51de9fcb96542a07186fe3aeda6bb8a116d3078386636646463376232376238343932333138373631643433363165326532346565646234643536363032663466353735353630303731653837336635613466394142434445464748494a4b4c4d4e4f505152535455565758595a6162636465666768696a6b6c6d6e6f707172737475767778797a303132333435363738392b2f2220643d224d3132352e313636203238352e3136386c322e37393520322e3739203132372e3936322d37352e3633384c3132372e39363120306c2d322e37393520392e357a222f3e3c706174682066696c6c3d223c7374796c6520616c743d22737572726f756e64223e202331207b207374726f6b652d6461736861727261793a2035302c35302c313530207d3c2f7374796c653e3c67207374796c653d2266696c7465723a2075726c282373717561726573293b22206f7061636974793d2231303025222069643d2231223e203c67207472616e73666f726d3d227472616e736c617465282dddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef3c2f673e203c2f673e3c67207374796c653d22616e696d6174696f6e3a20676c6974636820302e357320696e66696e6974653b66696c7465723a2075726c282373717561726573293b223e203c67207472616e73666f726d3d227363616c6528302e353029207472616e736c617465283337302c203238372922207374796c653d226f7061636974793a343025223e203c706174682066696c6c3d222220643d224d3132372e393632203238372e39353956304c30203231322e33327a222f3e3c706174682066696c6c3d22e3f0ae350ee09657933cd8202a4dd563c5af941f8054e6d7191e3246be378290a26469706673582212200e3423b3bbb6ab04b54ebb11ff403f86b8c49d76d59db68021a3cc8322e3477564736f6c63430008070033
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
[ Download: CSV Export ]
A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.