ERC-721
Overview
Max Total Supply
3,333 SHAPE
Holders
951
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
2 SHAPELoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
AISHAPE
Compiler Version
v0.8.18+commit.87f61d96
Optimization Enabled:
No with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity ^0.8.18; import "erc721a/contracts/ERC721A.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/utils/Strings.sol"; import {Base64} from "./Base64.sol"; contract AISHAPE is ERC721A, Ownable { uint256 public maxSupply = 10000; uint256 public maxFree = 1; uint256 public maxPerTx = 10; uint256 public price = .003 ether; bool public paused = true; mapping(address => uint256) private _freeMintCounter; constructor() ERC721A("AISHAPE", "SHAPE") {} enum ShapeType { CIRCLE, SQUARE, TRIANGLE } struct CommonValues { uint256 hue; uint256 rotationSpeed; uint256 numShapes; uint256[] radius; uint256[] distance; uint256[] strokeWidth; ShapeType[] shapeType; } function mint(uint256 _numTokens) external payable { require(!paused, "Sale paused"); uint256 _price = (msg.value == 0 && (_freeMintCounter[msg.sender] + _numTokens <= maxFree)) ? 0 : price; require(_numTokens <= maxPerTx, "Beyond max per transaction"); require( (totalSupply() + _numTokens) <= maxSupply, "Beyond max supply" ); require(msg.value >= (_price * _numTokens), "Wrong mint price"); if (_price == 0) { _freeMintCounter[msg.sender] += _numTokens; } _safeMint(msg.sender, _numTokens); } function generateCommonValues(uint256 _tokenId) internal pure returns (CommonValues memory) { uint256 hue = uint256(keccak256(abi.encodePacked(_tokenId, "hue"))) % 360; uint256 rotationSpeed = (uint256( keccak256(abi.encodePacked(_tokenId, "rotationSpeed")) ) % 11) + 5; uint256 numShapes = (uint256( keccak256(abi.encodePacked(_tokenId, "numShapes")) ) % 3) + 3; uint256[] memory radius = new uint256[](numShapes); uint256[] memory distance = new uint256[](numShapes); uint256[] memory strokeWidth = new uint256[](numShapes); ShapeType[] memory shapeType = new ShapeType[](numShapes); for (uint256 i = 0; i < numShapes; i++) { radius[i] = (uint256(keccak256(abi.encodePacked(_tokenId, "radius", i))) % 40) + 20; distance[i] = (uint256(keccak256(abi.encodePacked(_tokenId, "distance", i))) % 80) + 40; strokeWidth[i] = (uint256( keccak256(abi.encodePacked(_tokenId, "strokeWidth", i)) ) % 16) + 5; shapeType[i] = ShapeType( uint256(keccak256(abi.encodePacked(_tokenId, "shapeType", i))) % 3 ); } return CommonValues( hue, rotationSpeed, numShapes, radius, distance, strokeWidth, shapeType ); } function _shapeParameters( uint256 tokenId, CommonValues memory commonValues, uint256 i ) internal pure returns ( uint256 shapeX, uint256 shapeY, uint256 strokeWidth, string memory strokeColor, string memory strokeAnimate, uint256 duration ) { uint256 distance = commonValues.distance[i]; uint256 hue = (uint256(keccak256(abi.encodePacked(tokenId, "hue"))) + ((i * 360) / commonValues.numShapes)) % 360; uint256 sat = (uint256(keccak256(abi.encodePacked(tokenId, "sat"))) % 50) + 50; shapeX = 160 - distance + commonValues.radius[i]; shapeY = shapeX; strokeWidth = commonValues.strokeWidth[i]; strokeColor = string( abi.encodePacked( "hsl(", Strings.toString(hue), ",", Strings.toString(sat), "%,54%)" ) ); strokeAnimate = string( abi.encodePacked( "hsl(", Strings.toString(hue), ",50%,54%);", "hsl(", Strings.toString(hue / 2), ",50%,54%);", "hsl(", Strings.toString(hue), ",50%,54%);" ) ); duration = (commonValues.rotationSpeed > i * 2) ? (commonValues.rotationSpeed - i * 2) : 1; } function _generateCircle( CommonValues memory commonValues, uint256 i, uint256 shapeX, uint256 shapeY, uint256 strokeWidth, string memory strokeColor, string memory strokeAnimate, uint256 duration ) internal pure returns (string memory) { string memory radiusStr = Strings.toString(commonValues.radius[i]); string memory durationStr = Strings.toString(duration); return string( abi.encodePacked( '<circle cx="', Strings.toString(shapeX), '" cy="', Strings.toString(shapeY), '" r="', radiusStr, '" fill="none" stroke="', strokeColor, '" stroke-width="', Strings.toString(strokeWidth), '">', '<animateTransform attributeName="transform" type="rotate" from="0 160 160" to="360 160 160" dur="', durationStr, 's" repeatCount="indefinite"/>', '<animate attributeName="stroke" values="', strokeAnimate, '" dur="', durationStr, 's" repeatCount="indefinite"/>', "</circle>" ) ); } function _generateSquare( CommonValues memory commonValues, uint256 i, uint256 shapeX, uint256 shapeY, uint256 strokeWidth, string memory strokeColor, string memory strokeAnimate, uint256 duration ) internal pure returns (string memory) { uint256 sideLength = commonValues.radius[i] * 2; string memory durationStr = Strings.toString(duration); return string( abi.encodePacked( '<rect x="', Strings.toString(shapeX), '" y="', Strings.toString(shapeY), '" width="', Strings.toString(sideLength), '" height="', Strings.toString(sideLength), '" fill="none" stroke="', strokeColor, '" stroke-width="', Strings.toString(strokeWidth), '">', '<animateTransform attributeName="transform" type="rotate" from="0 160 160" to="360 160 160" dur="', durationStr, 's" repeatCount="indefinite"/>', '<animate attributeName="stroke" values="', strokeAnimate, '" dur="', durationStr, 's" repeatCount="indefinite"/>', "</rect>" ) ); } function _generateTriangle( CommonValues memory commonValues, uint256 i, uint256 shapeX, uint256 shapeY, uint256 strokeWidth, string memory strokeColor, string memory strokeAnimate, uint256 duration ) internal pure returns (string memory) { uint256 sideLength = commonValues.radius[i] * 2; string memory points = string( abi.encodePacked( Strings.toString(shapeX - sideLength / 2), " ", Strings.toString(shapeY + sideLength / 2), ",", Strings.toString(shapeX + sideLength / 2), " ", Strings.toString(shapeY + sideLength / 2), ",", Strings.toString(shapeX), " ", Strings.toString(shapeY - sideLength / 2) ) ); string memory durationStr = Strings.toString(duration); return string( abi.encodePacked( '<polygon points="', points, '" fill="none" stroke="', strokeColor, '" stroke-width="', Strings.toString(strokeWidth), '">', '<animateTransform attributeName="transform" type="rotate" from="0 160 160" to="360 160 160" dur="', durationStr, 's" repeatCount="indefinite"/>', '<animate attributeName="stroke" values="', strokeAnimate, '" dur="', durationStr, 's" repeatCount="indefinite"/>', "</polygon>" ) ); } function generateSVG(uint256 tokenId) internal pure returns (string memory) { CommonValues memory commonValues = generateCommonValues(tokenId); string memory svg = string( abi.encodePacked( '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 320 320">', '<rect width="320" height="320" fill="#000"/>', '<g transform="translate(0,0)">' ) ); for (uint256 i = 0; i < commonValues.numShapes; i++) { string memory shape; ( uint256 shapeX, uint256 shapeY, uint256 strokeWidth, string memory strokeColor, string memory strokeAnimate, uint256 duration ) = _shapeParameters(tokenId, commonValues, i); if (commonValues.shapeType[i] == ShapeType.CIRCLE) { shape = _generateCircle( commonValues, i, shapeX, shapeY, strokeWidth, strokeColor, strokeAnimate, duration ); } else if (commonValues.shapeType[i] == ShapeType.SQUARE) { shape = _generateSquare( commonValues, i, shapeX, shapeY, strokeWidth, strokeColor, strokeAnimate, duration ); } else { shape = _generateTriangle( commonValues, i, shapeX, shapeY, strokeWidth, strokeColor, strokeAnimate, duration ); } svg = string(abi.encodePacked(svg, shape)); } svg = string(abi.encodePacked(svg, "</g></svg>")); return svg; } function _getShapeTypeAsString(ShapeType shapeType) private pure returns (string memory) { if (shapeType == ShapeType.CIRCLE) { return "Circle"; } else if (shapeType == ShapeType.SQUARE) { return "Square"; } else if (shapeType == ShapeType.TRIANGLE) { return "Triangle"; } else { return "Unknown"; } } function generateAttributes(uint256 tokenId) public pure returns (string memory) { CommonValues memory commonValues = generateCommonValues(tokenId); string memory attributes = ""; for (uint256 i = 0; i < commonValues.numShapes; i++) { attributes = string( abi.encodePacked( attributes, '{"trait_type":"Shape ", "value":"', _getShapeTypeAsString(commonValues.shapeType[i]), '"},' ) ); } attributes = string( abi.encodePacked( attributes, '{"trait_type":"Number of Shapes", "value":', Strings.toString(commonValues.numShapes), "},", '{"trait_type":"Distance", "value":', Strings.toString(commonValues.distance[0]), "},", '{"trait_type":"Radius", "value":', Strings.toString(commonValues.radius[0]), "},", '{"trait_type":"Rotation Speed", "value":', Strings.toString(commonValues.rotationSpeed), "},", '{"trait_type":"Stroke Width", "value":', Strings.toString(commonValues.strokeWidth[0]), "}" ) ); return attributes; } function tokenURI(uint256 tokenId) public view override returns (string memory) { require( _exists(tokenId), "ERC721Metadata: URI query for nonexistent token" ); string memory svg = generateSVG(tokenId); string memory attributes = generateAttributes(tokenId); string memory json = Base64.encode( bytes( string( abi.encodePacked( '{"name": "AISHAPE #', Strings.toString(tokenId), '", "description": "The shapes are all animated on-chain, created by AI with 6,976,080,000 different possibilities. Each animated shape has its own exclusive rank.", "attributes":[', attributes, '], "image": "data:image/svg+xml;base64,', Base64.encode(bytes(svg)), '"}' ) ) ) ); return string(abi.encodePacked("data:application/json;base64,", json)); } function _startTokenId() internal view virtual override returns (uint256) { return 1; } function setPaused() external onlyOwner { paused = !paused; } function decreaseSupply(uint256 _maxSupply) external onlyOwner { require(_maxSupply < maxSupply, "Beyond max supply"); maxSupply = _maxSupply; } function setPrice(uint256 _price) external onlyOwner { price = _price; } function setMaxFreeMint(uint256 _maxFree) external onlyOwner { maxFree = _maxFree; } function setMaxPerTx(uint256 _maxPerTx) external onlyOwner { maxPerTx = _maxPerTx; } function airdrop(address _to, uint256 _amount) external onlyOwner { require(totalSupply() + _amount < maxSupply, "Beyond max supply"); _mint(_to, _amount); } function withdraw() external onlyOwner { (bool success, ) = msg.sender.call{value: address(this).balance}(""); require(success, "Transfer failed"); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (utils/Base64.sol) pragma solidity ^0.8.0; /** * @dev Provides a set of functions to operate with Base64 strings. * * _Available since v4.5._ */ library Base64 { /** * @dev Base64 Encoding/Decoding Table */ string internal constant _TABLE = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"; /** * @dev Converts a `bytes` to its Bytes64 `string` representation. */ function encode(bytes memory data) internal pure returns (string memory) { /** * Inspired by Brecht Devos (Brechtpd) implementation - MIT licence * https://github.com/Brechtpd/base64/blob/e78d9fd951e7b0977ddca77d92dc85183770daf4/base64.sol */ if (data.length == 0) return ""; // Loads the table into memory string memory table = _TABLE; // Encoding takes 3 bytes chunks of binary data from `bytes` data parameter // and split into 4 numbers of 6 bits. // The final Base64 length should be `bytes` data length multiplied by 4/3 rounded up // - `data.length + 2` -> Round up // - `/ 3` -> Number of 3-bytes chunks // - `4 *` -> 4 characters for each chunk string memory result = new string(4 * ((data.length + 2) / 3)); /// @solidity memory-safe-assembly assembly { // Prepare the lookup table (skip the first "length" byte) let tablePtr := add(table, 1) // Prepare result pointer, jump over length let resultPtr := add(result, 32) // Run over the input, 3 bytes at a time for { let dataPtr := data let endPtr := add(data, mload(data)) } lt(dataPtr, endPtr) { } { // Advance 3 bytes dataPtr := add(dataPtr, 3) let input := mload(dataPtr) // To write each character, shift the 3 bytes (18 bits) chunk // 4 times in blocks of 6 bits for each character (18, 12, 6, 0) // and apply logical AND with 0x3F which is the number of // the previous character in the ASCII table prior to the Base64 Table // The result is then added to the table to get the character to write, // and finally write it in the result pointer but with a left shift // of 256 (1 byte) - 8 (1 ASCII char) = 248 bits mstore8( resultPtr, mload(add(tablePtr, and(shr(18, input), 0x3F))) ) resultPtr := add(resultPtr, 1) // Advance mstore8( resultPtr, mload(add(tablePtr, and(shr(12, input), 0x3F))) ) resultPtr := add(resultPtr, 1) // Advance mstore8( resultPtr, mload(add(tablePtr, and(shr(6, input), 0x3F))) ) resultPtr := add(resultPtr, 1) // Advance mstore8(resultPtr, mload(add(tablePtr, and(input, 0x3F)))) resultPtr := add(resultPtr, 1) // Advance } // When data `bytes` is not exactly 3 bytes long // it is padded with `=` characters at the end switch mod(mload(data), 3) case 1 { mstore8(sub(resultPtr, 1), 0x3d) mstore8(sub(resultPtr, 2), 0x3d) } case 2 { mstore8(sub(resultPtr, 1), 0x3d) } } return result; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.8.0) (utils/Strings.sol) pragma solidity ^0.8.0; import "./math/Math.sol"; /** * @dev String operations. */ library Strings { bytes16 private constant _SYMBOLS = "0123456789abcdef"; uint8 private constant _ADDRESS_LENGTH = 20; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { unchecked { uint256 length = Math.log10(value) + 1; string memory buffer = new string(length); uint256 ptr; /// @solidity memory-safe-assembly assembly { ptr := add(buffer, add(32, length)) } while (true) { ptr--; /// @solidity memory-safe-assembly assembly { mstore8(ptr, byte(mod(value, 10), _SYMBOLS)) } value /= 10; if (value == 0) break; } return buffer; } } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { unchecked { return toHexString(value, Math.log256(value) + 1); } } /** * @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] = _SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } /** * @dev Converts an `address` with fixed length of 20 bytes to its not checksummed ASCII `string` hexadecimal representation. */ function toHexString(address addr) internal pure returns (string memory) { return toHexString(uint256(uint160(addr)), _ADDRESS_LENGTH); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol) pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { _checkOwner(); _; } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if the sender is not the owner. */ function _checkOwner() internal view virtual { 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 // ERC721A Contracts v4.2.3 // Creator: Chiru Labs pragma solidity ^0.8.4; import './IERC721A.sol'; /** * @dev Interface of ERC721 token receiver. */ interface ERC721A__IERC721Receiver { function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); } /** * @title ERC721A * * @dev Implementation of the [ERC721](https://eips.ethereum.org/EIPS/eip-721) * Non-Fungible Token Standard, including the Metadata extension. * Optimized for lower gas during batch mints. * * Token IDs are minted in sequential order (e.g. 0, 1, 2, 3, ...) * starting from `_startTokenId()`. * * Assumptions: * * - An owner cannot have more than 2**64 - 1 (max value of uint64) of supply. * - The maximum token ID cannot exceed 2**256 - 1 (max value of uint256). */ contract ERC721A is IERC721A { // Bypass for a `--via-ir` bug (https://github.com/chiru-labs/ERC721A/pull/364). struct TokenApprovalRef { address value; } // ============================================================= // CONSTANTS // ============================================================= // Mask of an entry in packed address data. uint256 private constant _BITMASK_ADDRESS_DATA_ENTRY = (1 << 64) - 1; // The bit position of `numberMinted` in packed address data. uint256 private constant _BITPOS_NUMBER_MINTED = 64; // The bit position of `numberBurned` in packed address data. uint256 private constant _BITPOS_NUMBER_BURNED = 128; // The bit position of `aux` in packed address data. uint256 private constant _BITPOS_AUX = 192; // Mask of all 256 bits in packed address data except the 64 bits for `aux`. uint256 private constant _BITMASK_AUX_COMPLEMENT = (1 << 192) - 1; // The bit position of `startTimestamp` in packed ownership. uint256 private constant _BITPOS_START_TIMESTAMP = 160; // The bit mask of the `burned` bit in packed ownership. uint256 private constant _BITMASK_BURNED = 1 << 224; // The bit position of the `nextInitialized` bit in packed ownership. uint256 private constant _BITPOS_NEXT_INITIALIZED = 225; // The bit mask of the `nextInitialized` bit in packed ownership. uint256 private constant _BITMASK_NEXT_INITIALIZED = 1 << 225; // The bit position of `extraData` in packed ownership. uint256 private constant _BITPOS_EXTRA_DATA = 232; // Mask of all 256 bits in a packed ownership except the 24 bits for `extraData`. uint256 private constant _BITMASK_EXTRA_DATA_COMPLEMENT = (1 << 232) - 1; // The mask of the lower 160 bits for addresses. uint256 private constant _BITMASK_ADDRESS = (1 << 160) - 1; // The maximum `quantity` that can be minted with {_mintERC2309}. // This limit is to prevent overflows on the address data entries. // For a limit of 5000, a total of 3.689e15 calls to {_mintERC2309} // is required to cause an overflow, which is unrealistic. uint256 private constant _MAX_MINT_ERC2309_QUANTITY_LIMIT = 5000; // The `Transfer` event signature is given by: // `keccak256(bytes("Transfer(address,address,uint256)"))`. bytes32 private constant _TRANSFER_EVENT_SIGNATURE = 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef; // ============================================================= // STORAGE // ============================================================= // The next token ID to be minted. uint256 private _currentIndex; // The number of tokens burned. uint256 private _burnCounter; // Token name string private _name; // Token symbol string private _symbol; // Mapping from token ID to ownership details // An empty struct value does not necessarily mean the token is unowned. // See {_packedOwnershipOf} implementation for details. // // Bits Layout: // - [0..159] `addr` // - [160..223] `startTimestamp` // - [224] `burned` // - [225] `nextInitialized` // - [232..255] `extraData` mapping(uint256 => uint256) private _packedOwnerships; // Mapping owner address to address data. // // Bits Layout: // - [0..63] `balance` // - [64..127] `numberMinted` // - [128..191] `numberBurned` // - [192..255] `aux` mapping(address => uint256) private _packedAddressData; // Mapping from token ID to approved address. mapping(uint256 => TokenApprovalRef) private _tokenApprovals; // Mapping from owner to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; // ============================================================= // CONSTRUCTOR // ============================================================= constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; _currentIndex = _startTokenId(); } // ============================================================= // TOKEN COUNTING OPERATIONS // ============================================================= /** * @dev Returns the starting token ID. * To change the starting token ID, please override this function. */ function _startTokenId() internal view virtual returns (uint256) { return 0; } /** * @dev Returns the next token ID to be minted. */ function _nextTokenId() internal view virtual returns (uint256) { return _currentIndex; } /** * @dev Returns the total number of tokens in existence. * Burned tokens will reduce the count. * To get the total number of tokens minted, please see {_totalMinted}. */ function totalSupply() public view virtual override returns (uint256) { // Counter underflow is impossible as _burnCounter cannot be incremented // more than `_currentIndex - _startTokenId()` times. unchecked { return _currentIndex - _burnCounter - _startTokenId(); } } /** * @dev Returns the total amount of tokens minted in the contract. */ function _totalMinted() internal view virtual returns (uint256) { // Counter underflow is impossible as `_currentIndex` does not decrement, // and it is initialized to `_startTokenId()`. unchecked { return _currentIndex - _startTokenId(); } } /** * @dev Returns the total number of tokens burned. */ function _totalBurned() internal view virtual returns (uint256) { return _burnCounter; } // ============================================================= // ADDRESS DATA OPERATIONS // ============================================================= /** * @dev Returns the number of tokens in `owner`'s account. */ function balanceOf(address owner) public view virtual override returns (uint256) { if (owner == address(0)) revert BalanceQueryForZeroAddress(); return _packedAddressData[owner] & _BITMASK_ADDRESS_DATA_ENTRY; } /** * Returns the number of tokens minted by `owner`. */ function _numberMinted(address owner) internal view returns (uint256) { return (_packedAddressData[owner] >> _BITPOS_NUMBER_MINTED) & _BITMASK_ADDRESS_DATA_ENTRY; } /** * Returns the number of tokens burned by or on behalf of `owner`. */ function _numberBurned(address owner) internal view returns (uint256) { return (_packedAddressData[owner] >> _BITPOS_NUMBER_BURNED) & _BITMASK_ADDRESS_DATA_ENTRY; } /** * Returns the auxiliary data for `owner`. (e.g. number of whitelist mint slots used). */ function _getAux(address owner) internal view returns (uint64) { return uint64(_packedAddressData[owner] >> _BITPOS_AUX); } /** * Sets the auxiliary data for `owner`. (e.g. number of whitelist mint slots used). * If there are multiple variables, please pack them into a uint64. */ function _setAux(address owner, uint64 aux) internal virtual { uint256 packed = _packedAddressData[owner]; uint256 auxCasted; // Cast `aux` with assembly to avoid redundant masking. assembly { auxCasted := aux } packed = (packed & _BITMASK_AUX_COMPLEMENT) | (auxCasted << _BITPOS_AUX); _packedAddressData[owner] = packed; } // ============================================================= // IERC165 // ============================================================= /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * [EIP section](https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified) * to learn more about how these ids are created. * * This function call must use less than 30000 gas. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { // The interface IDs are constants representing the first 4 bytes // of the XOR of all function selectors in the interface. // See: [ERC165](https://eips.ethereum.org/EIPS/eip-165) // (e.g. `bytes4(i.functionA.selector ^ i.functionB.selector ^ ...)`) return interfaceId == 0x01ffc9a7 || // ERC165 interface ID for ERC165. interfaceId == 0x80ac58cd || // ERC165 interface ID for ERC721. interfaceId == 0x5b5e139f; // ERC165 interface ID for ERC721Metadata. } // ============================================================= // IERC721Metadata // ============================================================= /** * @dev Returns the token collection name. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev Returns the token collection symbol. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { if (!_exists(tokenId)) revert URIQueryForNonexistentToken(); string memory baseURI = _baseURI(); return bytes(baseURI).length != 0 ? string(abi.encodePacked(baseURI, _toString(tokenId))) : ''; } /** * @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, it can be overridden in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return ''; } // ============================================================= // OWNERSHIPS OPERATIONS // ============================================================= /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) public view virtual override returns (address) { return address(uint160(_packedOwnershipOf(tokenId))); } /** * @dev Gas spent here starts off proportional to the maximum mint batch size. * It gradually moves to O(1) as tokens get transferred around over time. */ function _ownershipOf(uint256 tokenId) internal view virtual returns (TokenOwnership memory) { return _unpackedOwnership(_packedOwnershipOf(tokenId)); } /** * @dev Returns the unpacked `TokenOwnership` struct at `index`. */ function _ownershipAt(uint256 index) internal view virtual returns (TokenOwnership memory) { return _unpackedOwnership(_packedOwnerships[index]); } /** * @dev Initializes the ownership slot minted at `index` for efficiency purposes. */ function _initializeOwnershipAt(uint256 index) internal virtual { if (_packedOwnerships[index] == 0) { _packedOwnerships[index] = _packedOwnershipOf(index); } } /** * Returns the packed ownership data of `tokenId`. */ function _packedOwnershipOf(uint256 tokenId) private view returns (uint256) { uint256 curr = tokenId; unchecked { if (_startTokenId() <= curr) if (curr < _currentIndex) { uint256 packed = _packedOwnerships[curr]; // If not burned. if (packed & _BITMASK_BURNED == 0) { // Invariant: // There will always be an initialized ownership slot // (i.e. `ownership.addr != address(0) && ownership.burned == false`) // before an unintialized ownership slot // (i.e. `ownership.addr == address(0) && ownership.burned == false`) // Hence, `curr` will not underflow. // // We can directly compare the packed value. // If the address is zero, packed will be zero. while (packed == 0) { packed = _packedOwnerships[--curr]; } return packed; } } } revert OwnerQueryForNonexistentToken(); } /** * @dev Returns the unpacked `TokenOwnership` struct from `packed`. */ function _unpackedOwnership(uint256 packed) private pure returns (TokenOwnership memory ownership) { ownership.addr = address(uint160(packed)); ownership.startTimestamp = uint64(packed >> _BITPOS_START_TIMESTAMP); ownership.burned = packed & _BITMASK_BURNED != 0; ownership.extraData = uint24(packed >> _BITPOS_EXTRA_DATA); } /** * @dev Packs ownership data into a single uint256. */ function _packOwnershipData(address owner, uint256 flags) private view returns (uint256 result) { assembly { // Mask `owner` to the lower 160 bits, in case the upper bits somehow aren't clean. owner := and(owner, _BITMASK_ADDRESS) // `owner | (block.timestamp << _BITPOS_START_TIMESTAMP) | flags`. result := or(owner, or(shl(_BITPOS_START_TIMESTAMP, timestamp()), flags)) } } /** * @dev Returns the `nextInitialized` flag set if `quantity` equals 1. */ function _nextInitializedFlag(uint256 quantity) private pure returns (uint256 result) { // For branchless setting of the `nextInitialized` flag. assembly { // `(quantity == 1) << _BITPOS_NEXT_INITIALIZED`. result := shl(_BITPOS_NEXT_INITIALIZED, eq(quantity, 1)) } } // ============================================================= // APPROVAL OPERATIONS // ============================================================= /** * @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) public payable virtual override { address owner = ownerOf(tokenId); if (_msgSenderERC721A() != owner) if (!isApprovedForAll(owner, _msgSenderERC721A())) { revert ApprovalCallerNotOwnerNorApproved(); } _tokenApprovals[tokenId].value = to; emit Approval(owner, to, tokenId); } /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) public view virtual override returns (address) { if (!_exists(tokenId)) revert ApprovalQueryForNonexistentToken(); return _tokenApprovals[tokenId].value; } /** * @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) public virtual override { _operatorApprovals[_msgSenderERC721A()][operator] = approved; emit ApprovalForAll(_msgSenderERC721A(), operator, approved); } /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @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. See {_mint}. */ function _exists(uint256 tokenId) internal view virtual returns (bool) { return _startTokenId() <= tokenId && tokenId < _currentIndex && // If within bounds, _packedOwnerships[tokenId] & _BITMASK_BURNED == 0; // and not burned. } /** * @dev Returns whether `msgSender` is equal to `approvedAddress` or `owner`. */ function _isSenderApprovedOrOwner( address approvedAddress, address owner, address msgSender ) private pure returns (bool result) { assembly { // Mask `owner` to the lower 160 bits, in case the upper bits somehow aren't clean. owner := and(owner, _BITMASK_ADDRESS) // Mask `msgSender` to the lower 160 bits, in case the upper bits somehow aren't clean. msgSender := and(msgSender, _BITMASK_ADDRESS) // `msgSender == owner || msgSender == approvedAddress`. result := or(eq(msgSender, owner), eq(msgSender, approvedAddress)) } } /** * @dev Returns the storage slot and value for the approved address of `tokenId`. */ function _getApprovedSlotAndAddress(uint256 tokenId) private view returns (uint256 approvedAddressSlot, address approvedAddress) { TokenApprovalRef storage tokenApproval = _tokenApprovals[tokenId]; // The following is equivalent to `approvedAddress = _tokenApprovals[tokenId].value`. assembly { approvedAddressSlot := tokenApproval.slot approvedAddress := sload(approvedAddressSlot) } } // ============================================================= // TRANSFER OPERATIONS // ============================================================= /** * @dev Transfers `tokenId` from `from` to `to`. * * 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 ) public payable virtual override { uint256 prevOwnershipPacked = _packedOwnershipOf(tokenId); if (address(uint160(prevOwnershipPacked)) != from) revert TransferFromIncorrectOwner(); (uint256 approvedAddressSlot, address approvedAddress) = _getApprovedSlotAndAddress(tokenId); // The nested ifs save around 20+ gas over a compound boolean condition. if (!_isSenderApprovedOrOwner(approvedAddress, from, _msgSenderERC721A())) if (!isApprovedForAll(from, _msgSenderERC721A())) revert TransferCallerNotOwnerNorApproved(); if (to == address(0)) revert TransferToZeroAddress(); _beforeTokenTransfers(from, to, tokenId, 1); // Clear approvals from the previous owner. assembly { if approvedAddress { // This is equivalent to `delete _tokenApprovals[tokenId]`. sstore(approvedAddressSlot, 0) } } // Underflow of the sender's balance is impossible because we check for // ownership above and the recipient's balance can't realistically overflow. // Counter overflow is incredibly unrealistic as `tokenId` would have to be 2**256. unchecked { // We can directly increment and decrement the balances. --_packedAddressData[from]; // Updates: `balance -= 1`. ++_packedAddressData[to]; // Updates: `balance += 1`. // Updates: // - `address` to the next owner. // - `startTimestamp` to the timestamp of transfering. // - `burned` to `false`. // - `nextInitialized` to `true`. _packedOwnerships[tokenId] = _packOwnershipData( to, _BITMASK_NEXT_INITIALIZED | _nextExtraData(from, to, prevOwnershipPacked) ); // If the next slot may not have been initialized (i.e. `nextInitialized == false`) . if (prevOwnershipPacked & _BITMASK_NEXT_INITIALIZED == 0) { uint256 nextTokenId = tokenId + 1; // If the next slot's address is zero and not burned (i.e. packed value is zero). if (_packedOwnerships[nextTokenId] == 0) { // If the next slot is within bounds. if (nextTokenId != _currentIndex) { // Initialize the next slot to maintain correctness for `ownerOf(tokenId + 1)`. _packedOwnerships[nextTokenId] = prevOwnershipPacked; } } } } emit Transfer(from, to, tokenId); _afterTokenTransfers(from, to, tokenId, 1); } /** * @dev Equivalent to `safeTransferFrom(from, to, tokenId, '')`. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public payable virtual override { safeTransferFrom(from, to, tokenId, ''); } /** * @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 memory _data ) public payable virtual override { transferFrom(from, to, tokenId); if (to.code.length != 0) if (!_checkContractOnERC721Received(from, to, tokenId, _data)) { revert TransferToNonERC721ReceiverImplementer(); } } /** * @dev Hook that is called before a set of serially-ordered token IDs * are about to be transferred. This includes minting. * And also called before burning one token. * * `startTokenId` - the first token ID to be transferred. * `quantity` - the amount to be transferred. * * 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, `tokenId` will be burned by `from`. * - `from` and `to` are never both zero. */ function _beforeTokenTransfers( address from, address to, uint256 startTokenId, uint256 quantity ) internal virtual {} /** * @dev Hook that is called after a set of serially-ordered token IDs * have been transferred. This includes minting. * And also called after one token has been burned. * * `startTokenId` - the first token ID to be transferred. * `quantity` - the amount to be transferred. * * Calling conditions: * * - When `from` and `to` are both non-zero, `from`'s `tokenId` has been * transferred to `to`. * - When `from` is zero, `tokenId` has been minted for `to`. * - When `to` is zero, `tokenId` has been burned by `from`. * - `from` and `to` are never both zero. */ function _afterTokenTransfers( address from, address to, uint256 startTokenId, uint256 quantity ) internal virtual {} /** * @dev Private function to invoke {IERC721Receiver-onERC721Received} on a target contract. * * `from` - Previous owner of the given token ID. * `to` - Target address that will receive the token. * `tokenId` - Token ID to be transferred. * `_data` - Optional data to send along with the call. * * Returns whether the call correctly returned the expected magic value. */ function _checkContractOnERC721Received( address from, address to, uint256 tokenId, bytes memory _data ) private returns (bool) { try ERC721A__IERC721Receiver(to).onERC721Received(_msgSenderERC721A(), from, tokenId, _data) returns ( bytes4 retval ) { return retval == ERC721A__IERC721Receiver(to).onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert TransferToNonERC721ReceiverImplementer(); } else { assembly { revert(add(32, reason), mload(reason)) } } } } // ============================================================= // MINT OPERATIONS // ============================================================= /** * @dev Mints `quantity` tokens and transfers them to `to`. * * Requirements: * * - `to` cannot be the zero address. * - `quantity` must be greater than 0. * * Emits a {Transfer} event for each mint. */ function _mint(address to, uint256 quantity) internal virtual { uint256 startTokenId = _currentIndex; if (quantity == 0) revert MintZeroQuantity(); _beforeTokenTransfers(address(0), to, startTokenId, quantity); // Overflows are incredibly unrealistic. // `balance` and `numberMinted` have a maximum limit of 2**64. // `tokenId` has a maximum limit of 2**256. unchecked { // Updates: // - `balance += quantity`. // - `numberMinted += quantity`. // // We can directly add to the `balance` and `numberMinted`. _packedAddressData[to] += quantity * ((1 << _BITPOS_NUMBER_MINTED) | 1); // Updates: // - `address` to the owner. // - `startTimestamp` to the timestamp of minting. // - `burned` to `false`. // - `nextInitialized` to `quantity == 1`. _packedOwnerships[startTokenId] = _packOwnershipData( to, _nextInitializedFlag(quantity) | _nextExtraData(address(0), to, 0) ); uint256 toMasked; uint256 end = startTokenId + quantity; // Use assembly to loop and emit the `Transfer` event for gas savings. // The duplicated `log4` removes an extra check and reduces stack juggling. // The assembly, together with the surrounding Solidity code, have been // delicately arranged to nudge the compiler into producing optimized opcodes. assembly { // Mask `to` to the lower 160 bits, in case the upper bits somehow aren't clean. toMasked := and(to, _BITMASK_ADDRESS) // Emit the `Transfer` event. log4( 0, // Start of data (0, since no data). 0, // End of data (0, since no data). _TRANSFER_EVENT_SIGNATURE, // Signature. 0, // `address(0)`. toMasked, // `to`. startTokenId // `tokenId`. ) // The `iszero(eq(,))` check ensures that large values of `quantity` // that overflows uint256 will make the loop run out of gas. // The compiler will optimize the `iszero` away for performance. for { let tokenId := add(startTokenId, 1) } iszero(eq(tokenId, end)) { tokenId := add(tokenId, 1) } { // Emit the `Transfer` event. Similar to above. log4(0, 0, _TRANSFER_EVENT_SIGNATURE, 0, toMasked, tokenId) } } if (toMasked == 0) revert MintToZeroAddress(); _currentIndex = end; } _afterTokenTransfers(address(0), to, startTokenId, quantity); } /** * @dev Mints `quantity` tokens and transfers them to `to`. * * This function is intended for efficient minting only during contract creation. * * It emits only one {ConsecutiveTransfer} as defined in * [ERC2309](https://eips.ethereum.org/EIPS/eip-2309), * instead of a sequence of {Transfer} event(s). * * Calling this function outside of contract creation WILL make your contract * non-compliant with the ERC721 standard. * For full ERC721 compliance, substituting ERC721 {Transfer} event(s) with the ERC2309 * {ConsecutiveTransfer} event is only permissible during contract creation. * * Requirements: * * - `to` cannot be the zero address. * - `quantity` must be greater than 0. * * Emits a {ConsecutiveTransfer} event. */ function _mintERC2309(address to, uint256 quantity) internal virtual { uint256 startTokenId = _currentIndex; if (to == address(0)) revert MintToZeroAddress(); if (quantity == 0) revert MintZeroQuantity(); if (quantity > _MAX_MINT_ERC2309_QUANTITY_LIMIT) revert MintERC2309QuantityExceedsLimit(); _beforeTokenTransfers(address(0), to, startTokenId, quantity); // Overflows are unrealistic due to the above check for `quantity` to be below the limit. unchecked { // Updates: // - `balance += quantity`. // - `numberMinted += quantity`. // // We can directly add to the `balance` and `numberMinted`. _packedAddressData[to] += quantity * ((1 << _BITPOS_NUMBER_MINTED) | 1); // Updates: // - `address` to the owner. // - `startTimestamp` to the timestamp of minting. // - `burned` to `false`. // - `nextInitialized` to `quantity == 1`. _packedOwnerships[startTokenId] = _packOwnershipData( to, _nextInitializedFlag(quantity) | _nextExtraData(address(0), to, 0) ); emit ConsecutiveTransfer(startTokenId, startTokenId + quantity - 1, address(0), to); _currentIndex = startTokenId + quantity; } _afterTokenTransfers(address(0), to, startTokenId, quantity); } /** * @dev Safely mints `quantity` tokens and transfers them to `to`. * * Requirements: * * - If `to` refers to a smart contract, it must implement * {IERC721Receiver-onERC721Received}, which is called for each safe transfer. * - `quantity` must be greater than 0. * * See {_mint}. * * Emits a {Transfer} event for each mint. */ function _safeMint( address to, uint256 quantity, bytes memory _data ) internal virtual { _mint(to, quantity); unchecked { if (to.code.length != 0) { uint256 end = _currentIndex; uint256 index = end - quantity; do { if (!_checkContractOnERC721Received(address(0), to, index++, _data)) { revert TransferToNonERC721ReceiverImplementer(); } } while (index < end); // Reentrancy protection. if (_currentIndex != end) revert(); } } } /** * @dev Equivalent to `_safeMint(to, quantity, '')`. */ function _safeMint(address to, uint256 quantity) internal virtual { _safeMint(to, quantity, ''); } // ============================================================= // BURN OPERATIONS // ============================================================= /** * @dev Equivalent to `_burn(tokenId, false)`. */ function _burn(uint256 tokenId) internal virtual { _burn(tokenId, false); } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId, bool approvalCheck) internal virtual { uint256 prevOwnershipPacked = _packedOwnershipOf(tokenId); address from = address(uint160(prevOwnershipPacked)); (uint256 approvedAddressSlot, address approvedAddress) = _getApprovedSlotAndAddress(tokenId); if (approvalCheck) { // The nested ifs save around 20+ gas over a compound boolean condition. if (!_isSenderApprovedOrOwner(approvedAddress, from, _msgSenderERC721A())) if (!isApprovedForAll(from, _msgSenderERC721A())) revert TransferCallerNotOwnerNorApproved(); } _beforeTokenTransfers(from, address(0), tokenId, 1); // Clear approvals from the previous owner. assembly { if approvedAddress { // This is equivalent to `delete _tokenApprovals[tokenId]`. sstore(approvedAddressSlot, 0) } } // Underflow of the sender's balance is impossible because we check for // ownership above and the recipient's balance can't realistically overflow. // Counter overflow is incredibly unrealistic as `tokenId` would have to be 2**256. unchecked { // Updates: // - `balance -= 1`. // - `numberBurned += 1`. // // We can directly decrement the balance, and increment the number burned. // This is equivalent to `packed -= 1; packed += 1 << _BITPOS_NUMBER_BURNED;`. _packedAddressData[from] += (1 << _BITPOS_NUMBER_BURNED) - 1; // Updates: // - `address` to the last owner. // - `startTimestamp` to the timestamp of burning. // - `burned` to `true`. // - `nextInitialized` to `true`. _packedOwnerships[tokenId] = _packOwnershipData( from, (_BITMASK_BURNED | _BITMASK_NEXT_INITIALIZED) | _nextExtraData(from, address(0), prevOwnershipPacked) ); // If the next slot may not have been initialized (i.e. `nextInitialized == false`) . if (prevOwnershipPacked & _BITMASK_NEXT_INITIALIZED == 0) { uint256 nextTokenId = tokenId + 1; // If the next slot's address is zero and not burned (i.e. packed value is zero). if (_packedOwnerships[nextTokenId] == 0) { // If the next slot is within bounds. if (nextTokenId != _currentIndex) { // Initialize the next slot to maintain correctness for `ownerOf(tokenId + 1)`. _packedOwnerships[nextTokenId] = prevOwnershipPacked; } } } } emit Transfer(from, address(0), tokenId); _afterTokenTransfers(from, address(0), tokenId, 1); // Overflow not possible, as _burnCounter cannot be exceed _currentIndex times. unchecked { _burnCounter++; } } // ============================================================= // EXTRA DATA OPERATIONS // ============================================================= /** * @dev Directly sets the extra data for the ownership data `index`. */ function _setExtraDataAt(uint256 index, uint24 extraData) internal virtual { uint256 packed = _packedOwnerships[index]; if (packed == 0) revert OwnershipNotInitializedForExtraData(); uint256 extraDataCasted; // Cast `extraData` with assembly to avoid redundant masking. assembly { extraDataCasted := extraData } packed = (packed & _BITMASK_EXTRA_DATA_COMPLEMENT) | (extraDataCasted << _BITPOS_EXTRA_DATA); _packedOwnerships[index] = packed; } /** * @dev Called during each token transfer to set the 24bit `extraData` field. * Intended to be overridden by the cosumer contract. * * `previousExtraData` - the value of `extraData` before transfer. * * 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, `tokenId` will be burned by `from`. * - `from` and `to` are never both zero. */ function _extraData( address from, address to, uint24 previousExtraData ) internal view virtual returns (uint24) {} /** * @dev Returns the next extra data for the packed ownership data. * The returned result is shifted into position. */ function _nextExtraData( address from, address to, uint256 prevOwnershipPacked ) private view returns (uint256) { uint24 extraData = uint24(prevOwnershipPacked >> _BITPOS_EXTRA_DATA); return uint256(_extraData(from, to, extraData)) << _BITPOS_EXTRA_DATA; } // ============================================================= // OTHER OPERATIONS // ============================================================= /** * @dev Returns the message sender (defaults to `msg.sender`). * * If you are writing GSN compatible contracts, you need to override this function. */ function _msgSenderERC721A() internal view virtual returns (address) { return msg.sender; } /** * @dev Converts a uint256 to its ASCII string decimal representation. */ function _toString(uint256 value) internal pure virtual returns (string memory str) { assembly { // The maximum value of a uint256 contains 78 digits (1 byte per digit), but // we allocate 0xa0 bytes to keep the free memory pointer 32-byte word aligned. // We will need 1 word for the trailing zeros padding, 1 word for the length, // and 3 words for a maximum of 78 digits. Total: 5 * 0x20 = 0xa0. let m := add(mload(0x40), 0xa0) // Update the free memory pointer to allocate. mstore(0x40, m) // Assign the `str` to the end. str := sub(m, 0x20) // Zeroize the slot after the string. mstore(str, 0) // Cache the end of the memory to calculate the length later. let end := str // We write the string from rightmost digit to leftmost digit. // The following is essentially a do-while loop that also handles the zero case. // prettier-ignore for { let temp := value } 1 {} { str := sub(str, 1) // Write the character to the pointer. // The ASCII index of the '0' character is 48. mstore8(str, add(48, mod(temp, 10))) // Keep dividing `temp` until zero. temp := div(temp, 10) // prettier-ignore if iszero(temp) { break } } let length := sub(end, str) // Move the pointer 32 bytes leftwards to make room for the length. str := sub(str, 0x20) // Store the length. mstore(str, length) } } }
// SPDX-License-Identifier: MIT // ERC721A Contracts v4.2.3 // Creator: Chiru Labs pragma solidity ^0.8.4; /** * @dev Interface of ERC721A. */ interface IERC721A { /** * The caller must own the token or be an approved operator. */ error ApprovalCallerNotOwnerNorApproved(); /** * The token does not exist. */ error ApprovalQueryForNonexistentToken(); /** * Cannot query the balance for the zero address. */ error BalanceQueryForZeroAddress(); /** * Cannot mint to the zero address. */ error MintToZeroAddress(); /** * The quantity of tokens minted must be more than zero. */ error MintZeroQuantity(); /** * The token does not exist. */ error OwnerQueryForNonexistentToken(); /** * The caller must own the token or be an approved operator. */ error TransferCallerNotOwnerNorApproved(); /** * The token must be owned by `from`. */ error TransferFromIncorrectOwner(); /** * Cannot safely transfer to a contract that does not implement the * ERC721Receiver interface. */ error TransferToNonERC721ReceiverImplementer(); /** * Cannot transfer to the zero address. */ error TransferToZeroAddress(); /** * The token does not exist. */ error URIQueryForNonexistentToken(); /** * The `quantity` minted with ERC2309 exceeds the safety limit. */ error MintERC2309QuantityExceedsLimit(); /** * The `extraData` cannot be set on an unintialized ownership slot. */ error OwnershipNotInitializedForExtraData(); // ============================================================= // STRUCTS // ============================================================= struct TokenOwnership { // The address of the owner. address addr; // Stores the start time of ownership with minimal overhead for tokenomics. uint64 startTimestamp; // Whether the token has been burned. bool burned; // Arbitrary data similar to `startTimestamp` that can be set via {_extraData}. uint24 extraData; } // ============================================================= // TOKEN COUNTERS // ============================================================= /** * @dev Returns the total number of tokens in existence. * Burned tokens will reduce the count. * To get the total number of tokens minted, please see {_totalMinted}. */ function totalSupply() external view returns (uint256); // ============================================================= // IERC165 // ============================================================= /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * [EIP section](https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified) * to learn more about how these ids are created. * * This function call must use less than 30000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); // ============================================================= // IERC721 // ============================================================= /** * @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, bytes calldata data ) external payable; /** * @dev Equivalent to `safeTransferFrom(from, to, tokenId, '')`. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external payable; /** * @dev Transfers `tokenId` 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 payable; /** * @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 payable; /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} * for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll}. */ function isApprovedForAll(address owner, address operator) external view returns (bool); // ============================================================= // IERC721Metadata // ============================================================= /** * @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); // ============================================================= // IERC2309 // ============================================================= /** * @dev Emitted when tokens in `fromTokenId` to `toTokenId` * (inclusive) is transferred from `from` to `to`, as defined in the * [ERC2309](https://eips.ethereum.org/EIPS/eip-2309) standard. * * See {_mintERC2309} for more details. */ event ConsecutiveTransfer(uint256 indexed fromTokenId, uint256 toTokenId, address indexed from, address indexed to); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.8.0) (utils/math/Math.sol) pragma solidity ^0.8.0; /** * @dev Standard math utilities missing in the Solidity language. */ library Math { enum Rounding { Down, // Toward negative infinity Up, // Toward infinity Zero // Toward zero } /** * @dev Returns the largest of two numbers. */ function max(uint256 a, uint256 b) internal pure returns (uint256) { return a > b ? a : b; } /** * @dev Returns the smallest of two numbers. */ function min(uint256 a, uint256 b) internal pure returns (uint256) { return a < b ? a : b; } /** * @dev Returns the average of two numbers. The result is rounded towards * zero. */ function average(uint256 a, uint256 b) internal pure returns (uint256) { // (a + b) / 2 can overflow. return (a & b) + (a ^ b) / 2; } /** * @dev Returns the ceiling of the division of two numbers. * * This differs from standard division with `/` in that it rounds up instead * of rounding down. */ function ceilDiv(uint256 a, uint256 b) internal pure returns (uint256) { // (a + b - 1) / b can overflow on addition, so we distribute. return a == 0 ? 0 : (a - 1) / b + 1; } /** * @notice Calculates floor(x * y / denominator) with full precision. Throws if result overflows a uint256 or denominator == 0 * @dev Original credit to Remco Bloemen under MIT license (https://xn--2-umb.com/21/muldiv) * with further edits by Uniswap Labs also under MIT license. */ function mulDiv( uint256 x, uint256 y, uint256 denominator ) internal pure returns (uint256 result) { unchecked { // 512-bit multiply [prod1 prod0] = x * y. Compute the product mod 2^256 and mod 2^256 - 1, then use // use the Chinese Remainder Theorem to reconstruct the 512 bit result. The result is stored in two 256 // variables such that product = prod1 * 2^256 + prod0. uint256 prod0; // Least significant 256 bits of the product uint256 prod1; // Most significant 256 bits of the product assembly { let mm := mulmod(x, y, not(0)) prod0 := mul(x, y) prod1 := sub(sub(mm, prod0), lt(mm, prod0)) } // Handle non-overflow cases, 256 by 256 division. if (prod1 == 0) { return prod0 / denominator; } // Make sure the result is less than 2^256. Also prevents denominator == 0. require(denominator > prod1); /////////////////////////////////////////////// // 512 by 256 division. /////////////////////////////////////////////// // Make division exact by subtracting the remainder from [prod1 prod0]. uint256 remainder; assembly { // Compute remainder using mulmod. remainder := mulmod(x, y, denominator) // Subtract 256 bit number from 512 bit number. prod1 := sub(prod1, gt(remainder, prod0)) prod0 := sub(prod0, remainder) } // Factor powers of two out of denominator and compute largest power of two divisor of denominator. Always >= 1. // See https://cs.stackexchange.com/q/138556/92363. // Does not overflow because the denominator cannot be zero at this stage in the function. uint256 twos = denominator & (~denominator + 1); assembly { // Divide denominator by twos. denominator := div(denominator, twos) // Divide [prod1 prod0] by twos. prod0 := div(prod0, twos) // Flip twos such that it is 2^256 / twos. If twos is zero, then it becomes one. twos := add(div(sub(0, twos), twos), 1) } // Shift in bits from prod1 into prod0. prod0 |= prod1 * twos; // Invert denominator mod 2^256. Now that denominator is an odd number, it has an inverse modulo 2^256 such // that denominator * inv = 1 mod 2^256. Compute the inverse by starting with a seed that is correct for // four bits. That is, denominator * inv = 1 mod 2^4. uint256 inverse = (3 * denominator) ^ 2; // Use the Newton-Raphson iteration to improve the precision. Thanks to Hensel's lifting lemma, this also works // in modular arithmetic, doubling the correct bits in each step. inverse *= 2 - denominator * inverse; // inverse mod 2^8 inverse *= 2 - denominator * inverse; // inverse mod 2^16 inverse *= 2 - denominator * inverse; // inverse mod 2^32 inverse *= 2 - denominator * inverse; // inverse mod 2^64 inverse *= 2 - denominator * inverse; // inverse mod 2^128 inverse *= 2 - denominator * inverse; // inverse mod 2^256 // Because the division is now exact we can divide by multiplying with the modular inverse of denominator. // This will give us the correct result modulo 2^256. Since the preconditions guarantee that the outcome is // less than 2^256, this is the final result. We don't need to compute the high bits of the result and prod1 // is no longer required. result = prod0 * inverse; return result; } } /** * @notice Calculates x * y / denominator with full precision, following the selected rounding direction. */ function mulDiv( uint256 x, uint256 y, uint256 denominator, Rounding rounding ) internal pure returns (uint256) { uint256 result = mulDiv(x, y, denominator); if (rounding == Rounding.Up && mulmod(x, y, denominator) > 0) { result += 1; } return result; } /** * @dev Returns the square root of a number. If the number is not a perfect square, the value is rounded down. * * Inspired by Henry S. Warren, Jr.'s "Hacker's Delight" (Chapter 11). */ function sqrt(uint256 a) internal pure returns (uint256) { if (a == 0) { return 0; } // For our first guess, we get the biggest power of 2 which is smaller than the square root of the target. // // We know that the "msb" (most significant bit) of our target number `a` is a power of 2 such that we have // `msb(a) <= a < 2*msb(a)`. This value can be written `msb(a)=2**k` with `k=log2(a)`. // // This can be rewritten `2**log2(a) <= a < 2**(log2(a) + 1)` // → `sqrt(2**k) <= sqrt(a) < sqrt(2**(k+1))` // → `2**(k/2) <= sqrt(a) < 2**((k+1)/2) <= 2**(k/2 + 1)` // // Consequently, `2**(log2(a) / 2)` is a good first approximation of `sqrt(a)` with at least 1 correct bit. uint256 result = 1 << (log2(a) >> 1); // At this point `result` is an estimation with one bit of precision. We know the true value is a uint128, // since it is the square root of a uint256. Newton's method converges quadratically (precision doubles at // every iteration). We thus need at most 7 iteration to turn our partial result with one bit of precision // into the expected uint128 result. unchecked { result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; return min(result, a / result); } } /** * @notice Calculates sqrt(a), following the selected rounding direction. */ function sqrt(uint256 a, Rounding rounding) internal pure returns (uint256) { unchecked { uint256 result = sqrt(a); return result + (rounding == Rounding.Up && result * result < a ? 1 : 0); } } /** * @dev Return the log in base 2, rounded down, of a positive value. * Returns 0 if given 0. */ function log2(uint256 value) internal pure returns (uint256) { uint256 result = 0; unchecked { if (value >> 128 > 0) { value >>= 128; result += 128; } if (value >> 64 > 0) { value >>= 64; result += 64; } if (value >> 32 > 0) { value >>= 32; result += 32; } if (value >> 16 > 0) { value >>= 16; result += 16; } if (value >> 8 > 0) { value >>= 8; result += 8; } if (value >> 4 > 0) { value >>= 4; result += 4; } if (value >> 2 > 0) { value >>= 2; result += 2; } if (value >> 1 > 0) { result += 1; } } return result; } /** * @dev Return the log in base 2, following the selected rounding direction, of a positive value. * Returns 0 if given 0. */ function log2(uint256 value, Rounding rounding) internal pure returns (uint256) { unchecked { uint256 result = log2(value); return result + (rounding == Rounding.Up && 1 << result < value ? 1 : 0); } } /** * @dev Return the log in base 10, rounded down, of a positive value. * Returns 0 if given 0. */ function log10(uint256 value) internal pure returns (uint256) { uint256 result = 0; unchecked { if (value >= 10**64) { value /= 10**64; result += 64; } if (value >= 10**32) { value /= 10**32; result += 32; } if (value >= 10**16) { value /= 10**16; result += 16; } if (value >= 10**8) { value /= 10**8; result += 8; } if (value >= 10**4) { value /= 10**4; result += 4; } if (value >= 10**2) { value /= 10**2; result += 2; } if (value >= 10**1) { result += 1; } } return result; } /** * @dev Return the log in base 10, following the selected rounding direction, of a positive value. * Returns 0 if given 0. */ function log10(uint256 value, Rounding rounding) internal pure returns (uint256) { unchecked { uint256 result = log10(value); return result + (rounding == Rounding.Up && 10**result < value ? 1 : 0); } } /** * @dev Return the log in base 256, rounded down, of a positive value. * Returns 0 if given 0. * * Adding one to the result gives the number of pairs of hex symbols needed to represent `value` as a hex string. */ function log256(uint256 value) internal pure returns (uint256) { uint256 result = 0; unchecked { if (value >> 128 > 0) { value >>= 128; result += 16; } if (value >> 64 > 0) { value >>= 64; result += 8; } if (value >> 32 > 0) { value >>= 32; result += 4; } if (value >> 16 > 0) { value >>= 16; result += 2; } if (value >> 8 > 0) { result += 1; } } return result; } /** * @dev Return the log in base 10, following the selected rounding direction, of a positive value. * Returns 0 if given 0. */ function log256(uint256 value, Rounding rounding) internal pure returns (uint256) { unchecked { uint256 result = log256(value); return result + (rounding == Rounding.Up && 1 << (result * 8) < value ? 1 : 0); } } }
// 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; } }
{ "optimizer": { "enabled": false, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"MintERC2309QuantityExceedsLimit","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"OwnershipNotInitializedForExtraData","type":"error"},{"inputs":[],"name":"TransferCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"TransferFromIncorrectOwner","type":"error"},{"inputs":[],"name":"TransferToNonERC721ReceiverImplementer","type":"error"},{"inputs":[],"name":"TransferToZeroAddress","type":"error"},{"inputs":[],"name":"URIQueryForNonexistentToken","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"fromTokenId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"toTokenId","type":"uint256"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"}],"name":"ConsecutiveTransfer","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":"_amount","type":"uint256"}],"name":"airdrop","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_maxSupply","type":"uint256"}],"name":"decreaseSupply","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"generateAttributes","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxFree","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxPerTx","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_numTokens","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"price","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"payable","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":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_maxFree","type":"uint256"}],"name":"setMaxFreeMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_maxPerTx","type":"uint256"}],"name":"setMaxPerTx","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"setPaused","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_price","type":"uint256"}],"name":"setPrice","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":"","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":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60806040526127106009556001600a55600a600b55660aa87bee538000600c556001600d60006101000a81548160ff0219169083151502179055503480156200004757600080fd5b506040518060400160405280600781526020017f41495348415045000000000000000000000000000000000000000000000000008152506040518060400160405280600581526020017f53484150450000000000000000000000000000000000000000000000000000008152508160029081620000c5919062000467565b508060039081620000d7919062000467565b50620000e86200011660201b60201c565b600081905550505062000110620001046200011f60201b60201c565b6200012760201b60201c565b6200054e565b60006001905090565b600033905090565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600081519050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806200026f57607f821691505b60208210810362000285576200028462000227565b5b50919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b600060088302620002ef7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82620002b0565b620002fb8683620002b0565b95508019841693508086168417925050509392505050565b6000819050919050565b6000819050919050565b600062000348620003426200033c8462000313565b6200031d565b62000313565b9050919050565b6000819050919050565b620003648362000327565b6200037c62000373826200034f565b848454620002bd565b825550505050565b600090565b6200039362000384565b620003a081848462000359565b505050565b5b81811015620003c857620003bc60008262000389565b600181019050620003a6565b5050565b601f8211156200041757620003e1816200028b565b620003ec84620002a0565b81016020851015620003fc578190505b620004146200040b85620002a0565b830182620003a5565b50505b505050565b600082821c905092915050565b60006200043c600019846008026200041c565b1980831691505092915050565b600062000457838362000429565b9150826002028217905092915050565b6200047282620001ed565b67ffffffffffffffff8111156200048e576200048d620001f8565b5b6200049a825462000256565b620004a7828285620003cc565b600060209050601f831160018114620004df5760008415620004ca578287015190505b620004d6858262000449565b86555062000546565b601f198416620004ef866200028b565b60005b828110156200051957848901518255600182019150602085019450602081019050620004f2565b8683101562000539578489015162000535601f89168262000429565b8355505b6001600288020188555050505b505050505050565b6154b1806200055e6000396000f3fe6080604052600436106101d85760003560e01c80638ba4cc3c11610102578063b88d4fde11610095578063de0fa1d011610064578063de0fa1d01461062d578063e985e9c51461066a578063f2fde38b146106a7578063f968adbe146106d0576101d8565b8063b88d4fde14610580578063c6f6f2161461059c578063c87b56dd146105c5578063d5abeb0114610602576101d8565b806398e52f9a116100d157806398e52f9a146104e7578063a035b1fe14610510578063a0712d681461053b578063a22cb46514610557576101d8565b80638ba4cc3c1461043f5780638da5cb5b1461046857806391b7f5ed1461049357806395d89b41146104bc576101d8565b80633ccfd60b1161017a5780636352211e116101495780636352211e1461038557806370a08231146103c2578063715018a6146103ff578063742a4c9b14610416576101d8565b80633ccfd60b146102fc57806342842e0e14610313578063485a68a31461032f5780635c975abb1461035a576101d8565b8063095ea7b3116101b6578063095ea7b31461028257806318160ddd1461029e57806323b872dd146102c957806337a66d85146102e5576101d8565b806301ffc9a7146101dd57806306fdde031461021a578063081812fc14610245575b600080fd5b3480156101e957600080fd5b5061020460048036038101906101ff9190612ec4565b6106fb565b6040516102119190612f0c565b60405180910390f35b34801561022657600080fd5b5061022f61078d565b60405161023c9190612fb7565b60405180910390f35b34801561025157600080fd5b5061026c6004803603810190610267919061300f565b61081f565b604051610279919061307d565b60405180910390f35b61029c600480360381019061029791906130c4565b61089e565b005b3480156102aa57600080fd5b506102b36109e2565b6040516102c09190613113565b60405180910390f35b6102e360048036038101906102de919061312e565b6109f9565b005b3480156102f157600080fd5b506102fa610d1b565b005b34801561030857600080fd5b50610311610d4f565b005b61032d6004803603810190610328919061312e565b610e06565b005b34801561033b57600080fd5b50610344610e26565b6040516103519190613113565b60405180910390f35b34801561036657600080fd5b5061036f610e2c565b60405161037c9190612f0c565b60405180910390f35b34801561039157600080fd5b506103ac60048036038101906103a7919061300f565b610e3f565b6040516103b9919061307d565b60405180910390f35b3480156103ce57600080fd5b506103e960048036038101906103e49190613181565b610e51565b6040516103f69190613113565b60405180910390f35b34801561040b57600080fd5b50610414610f09565b005b34801561042257600080fd5b5061043d6004803603810190610438919061300f565b610f1d565b005b34801561044b57600080fd5b50610466600480360381019061046191906130c4565b610f2f565b005b34801561047457600080fd5b5061047d610f9b565b60405161048a919061307d565b60405180910390f35b34801561049f57600080fd5b506104ba60048036038101906104b5919061300f565b610fc5565b005b3480156104c857600080fd5b506104d1610fd7565b6040516104de9190612fb7565b60405180910390f35b3480156104f357600080fd5b5061050e6004803603810190610509919061300f565b611069565b005b34801561051c57600080fd5b506105256110bf565b6040516105329190613113565b60405180910390f35b6105556004803603810190610550919061300f565b6110c5565b005b34801561056357600080fd5b5061057e600480360381019061057991906131da565b6112da565b005b61059a6004803603810190610595919061334f565b6113e5565b005b3480156105a857600080fd5b506105c360048036038101906105be919061300f565b611458565b005b3480156105d157600080fd5b506105ec60048036038101906105e7919061300f565b61146a565b6040516105f99190612fb7565b60405180910390f35b34801561060e57600080fd5b50610617611538565b6040516106249190613113565b60405180910390f35b34801561063957600080fd5b50610654600480360381019061064f919061300f565b61153e565b6040516106619190612fb7565b60405180910390f35b34801561067657600080fd5b50610691600480360381019061068c91906133d2565b611691565b60405161069e9190612f0c565b60405180910390f35b3480156106b357600080fd5b506106ce60048036038101906106c99190613181565b611725565b005b3480156106dc57600080fd5b506106e56117a8565b6040516106f29190613113565b60405180910390f35b60006301ffc9a760e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061075657506380ac58cd60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806107865750635b5e139f60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b9050919050565b60606002805461079c90613441565b80601f01602080910402602001604051908101604052809291908181526020018280546107c890613441565b80156108155780601f106107ea57610100808354040283529160200191610815565b820191906000526020600020905b8154815290600101906020018083116107f857829003601f168201915b5050505050905090565b600061082a826117ae565b610860576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6006600083815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b60006108a982610e3f565b90508073ffffffffffffffffffffffffffffffffffffffff166108ca61180d565b73ffffffffffffffffffffffffffffffffffffffff161461092d576108f6816108f161180d565b611691565b61092c576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b826006600084815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b60006109ec611815565b6001546000540303905090565b6000610a048261181e565b90508373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610a6b576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600080610a77846118ea565b91509150610a8d8187610a8861180d565b611911565b610ad957610aa286610a9d61180d565b611691565b610ad8576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1603610b3f576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610b4c8686866001611955565b8015610b5757600082555b600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081546001900391905081905550600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000815460010191905081905550610c2585610c0188888761195b565b7c020000000000000000000000000000000000000000000000000000000017611983565b600460008681526020019081526020016000208190555060007c0200000000000000000000000000000000000000000000000000000000841603610cab5760006001850190506000600460008381526020019081526020016000205403610ca9576000548114610ca8578360046000838152602001908152602001600020819055505b5b505b838573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4610d1386868660016119ae565b505050505050565b610d236119b4565b600d60009054906101000a900460ff1615600d60006101000a81548160ff021916908315150217905550565b610d576119b4565b60003373ffffffffffffffffffffffffffffffffffffffff1647604051610d7d906134a3565b60006040518083038185875af1925050503d8060008114610dba576040519150601f19603f3d011682016040523d82523d6000602084013e610dbf565b606091505b5050905080610e03576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dfa90613504565b60405180910390fd5b50565b610e21838383604051806020016040528060008152506113e5565b505050565b600a5481565b600d60009054906101000a900460ff1681565b6000610e4a8261181e565b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603610eb8576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b67ffffffffffffffff600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054169050919050565b610f116119b4565b610f1b6000611a32565b565b610f256119b4565b80600a8190555050565b610f376119b4565b60095481610f436109e2565b610f4d9190613553565b10610f8d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f84906135d3565b60405180910390fd5b610f978282611af8565b5050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b610fcd6119b4565b80600c8190555050565b606060038054610fe690613441565b80601f016020809104026020016040519081016040528092919081815260200182805461101290613441565b801561105f5780601f106110345761010080835404028352916020019161105f565b820191906000526020600020905b81548152906001019060200180831161104257829003601f168201915b5050505050905090565b6110716119b4565b60095481106110b5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110ac906135d3565b60405180910390fd5b8060098190555050565b600c5481565b600d60009054906101000a900460ff1615611115576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161110c9061363f565b60405180910390fd5b600080341480156111725750600a5482600e60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461116f9190613553565b11155b61117e57600c54611181565b60005b9050600b548211156111c8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111bf906136ab565b60405180910390fd5b600954826111d46109e2565b6111de9190613553565b111561121f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611216906135d3565b60405180910390fd5b818161122b91906136cb565b34101561126d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161126490613759565b60405180910390fd5b600081036112cc5781600e60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546112c49190613553565b925050819055505b6112d63383611cb3565b5050565b80600760006112e761180d565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff1661139461180d565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516113d99190612f0c565b60405180910390a35050565b6113f08484846109f9565b60008373ffffffffffffffffffffffffffffffffffffffff163b146114525761141b84848484611cd1565b611451576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b50505050565b6114606119b4565b80600b8190555050565b6060611475826117ae565b6114b4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114ab906137eb565b60405180910390fd5b60006114bf83611e21565b905060006114cc8461153e565b9050600061150c6114dc86611fc4565b836114e686612092565b6040516020016114f893929190613a5b565b604051602081830303815290604052612092565b90508060405160200161151f9190613b04565b6040516020818303038152906040529350505050919050565b60095481565b6060600061154b836121f5565b9050600060405180602001604052806000815250905060005b82604001518110156115cd57816115988460c00151838151811061158b5761158a613b26565b5b602002602001015161260f565b6040516020016115a9929190613c13565b604051602081830303815290604052915080806115c590613c4d565b915050611564565b50806115dc8360400151611fc4565b61160484608001516000815181106115f7576115f6613b26565b5b6020026020010151611fc4565b61162c856060015160008151811061161f5761161e613b26565b5b6020026020010151611fc4565b6116398660200151611fc4565b6116618760a0015160008151811061165457611653613b26565b5b6020026020010151611fc4565b60405160200161167696959493929190613f41565b60405160208183030381529060405290508092505050919050565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b61172d6119b4565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff160361179c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161179390614079565b60405180910390fd5b6117a581611a32565b50565b600b5481565b6000816117b9611815565b111580156117c8575060005482105b8015611806575060007c0100000000000000000000000000000000000000000000000000000000600460008581526020019081526020016000205416145b9050919050565b600033905090565b60006001905090565b6000808290508061182d611815565b116118b3576000548110156118b25760006004600083815260200190815260200160002054905060007c01000000000000000000000000000000000000000000000000000000008216036118b0575b600081036118a657600460008360019003935083815260200190815260200160002054905061187c565b80925050506118e5565b505b5b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b60008060006006600085815260200190815260200160002090508092508254915050915091565b600073ffffffffffffffffffffffffffffffffffffffff8316925073ffffffffffffffffffffffffffffffffffffffff821691508382148383141790509392505050565b50505050565b60008060e883901c905060e8611972868684612789565b62ffffff16901b9150509392505050565b600073ffffffffffffffffffffffffffffffffffffffff83169250814260a01b178317905092915050565b50505050565b6119bc612792565b73ffffffffffffffffffffffffffffffffffffffff166119da610f9b565b73ffffffffffffffffffffffffffffffffffffffff1614611a30576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a27906140e5565b60405180910390fd5b565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b60008054905060008203611b38576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b611b456000848385611955565b600160406001901b178202600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282540192505081905550611bbc83611bad600086600061195b565b611bb68561279a565b17611983565b6004600083815260200190815260200160002081905550600080838301905073ffffffffffffffffffffffffffffffffffffffff85169150828260007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600183015b818114611c5d57808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600181019050611c22565b5060008203611c98576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b806000819055505050611cae60008483856119ae565b505050565b611ccd8282604051806020016040528060008152506127aa565b5050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a02611cf761180d565b8786866040518563ffffffff1660e01b8152600401611d19949392919061415a565b6020604051808303816000875af1925050508015611d5557506040513d601f19601f82011682018060405250810190611d5291906141bb565b60015b611dce573d8060008114611d85576040519150601f19603f3d011682016040523d82523d6000602084013e611d8a565b606091505b506000815103611dc6576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b60606000611e2e836121f5565b90506000604051602001611e4190614318565b604051602081830303815290604052905060005b8260400151811015611f97576060600080600080600080611e778c8b8a612847565b95509550955095509550955060006002811115611e9757611e96614343565b5b8a60c001518981518110611eae57611ead613b26565b5b60200260200101516002811115611ec857611ec7614343565b5b03611ee457611edd8a89888888888888612a40565b9650611f59565b60016002811115611ef857611ef7614343565b5b8a60c001518981518110611f0f57611f0e613b26565b5b60200260200101516002811115611f2957611f28614343565b5b03611f4557611f3e8a89888888888888612ad0565b9650611f58565b611f558a89888888888888612b76565b96505b5b8887604051602001611f6c929190614372565b6040516020818303038152906040529850505050505050508080611f8f90613c4d565b915050611e55565b5080604051602001611fa991906143e2565b60405160208183030381529060405290508092505050919050565b606060006001611fd384612cc8565b01905060008167ffffffffffffffff811115611ff257611ff1613224565b5b6040519080825280601f01601f1916602001820160405280156120245781602001600182028036833780820191505090505b509050600082602001820190505b600115612087578080600190039150507f3031323334353637383961626364656600000000000000000000000000000000600a86061a8153600a858161207b5761207a614404565b5b04945060008503612032575b819350505050919050565b606060008251036120b4576040518060200160405280600081525090506121f0565b600060405180606001604052806040815260200161543c60409139905060006003600285516120e39190613553565b6120ed9190614433565b60046120f991906136cb565b67ffffffffffffffff81111561211257612111613224565b5b6040519080825280601f01601f1916602001820160405280156121445781602001600182028036833780820191505090505b509050600182016020820185865187015b808210156121b0576003820191508151603f8160121c168501518453600184019350603f81600c1c168501518453600184019350603f8160061c168501518453600184019350603f8116850151845360018401935050612155565b50506003865106600181146121cc57600281146121df576121e7565b603d6001830353603d60028303536121e7565b603d60018303535b50505080925050505b919050565b6121fd612e1b565b60006101688360405160200161221391906144d1565b6040516020818303038152906040528051906020012060001c61223691906144f7565b905060006005600b8560405160200161224f9190614574565b6040516020818303038152906040528051906020012060001c61227291906144f7565b61227c9190613553565b905060006003808660405160200161229491906145e6565b6040516020818303038152906040528051906020012060001c6122b791906144f7565b6122c19190613553565b905060008167ffffffffffffffff8111156122df576122de613224565b5b60405190808252806020026020018201604052801561230d5781602001602082028036833780820191505090505b50905060008267ffffffffffffffff81111561232c5761232b613224565b5b60405190808252806020026020018201604052801561235a5781602001602082028036833780820191505090505b50905060008367ffffffffffffffff81111561237957612378613224565b5b6040519080825280602002602001820160405280156123a75781602001602082028036833780820191505090505b50905060008467ffffffffffffffff8111156123c6576123c5613224565b5b6040519080825280602002602001820160405280156123f45781602001602082028036833780820191505090505b50905060005b858110156125cd57601460288b83604051602001612419929190614658565b6040516020818303038152906040528051906020012060001c61243c91906144f7565b6124469190613553565b85828151811061245957612458613b26565b5b602002602001018181525050602860508b8360405160200161247c9291906146db565b6040516020818303038152906040528051906020012060001c61249f91906144f7565b6124a99190613553565b8482815181106124bc576124bb613b26565b5b602002602001018181525050600560108b836040516020016124df92919061475e565b6040516020818303038152906040528051906020012060001c61250291906144f7565b61250c9190613553565b83828151811061251f5761251e613b26565b5b60200260200101818152505060038a826040516020016125409291906147e1565b6040516020818303038152906040528051906020012060001c61256391906144f7565b600281111561257557612574614343565b5b82828151811061258857612587613b26565b5b602002602001019060028111156125a2576125a1614343565b5b908160028111156125b6576125b5614343565b5b8152505080806125c590613c4d565b9150506123fa565b506040518060e0016040528088815260200187815260200186815260200185815260200184815260200183815260200182815250975050505050505050919050565b60606000600281111561262557612624614343565b5b82600281111561263857612637614343565b5b0361267a576040518060400160405280600681526020017f436972636c6500000000000000000000000000000000000000000000000000008152509050612784565b6001600281111561268e5761268d614343565b5b8260028111156126a1576126a0614343565b5b036126e3576040518060400160405280600681526020017f53717561726500000000000000000000000000000000000000000000000000008152509050612784565b6002808111156126f6576126f5614343565b5b82600281111561270957612708614343565b5b0361274b576040518060400160405280600881526020017f547269616e676c650000000000000000000000000000000000000000000000008152509050612784565b6040518060400160405280600781526020017f556e6b6e6f776e0000000000000000000000000000000000000000000000000081525090505b919050565b60009392505050565b600033905090565b60006001821460e11b9050919050565b6127b48383611af8565b60008373ffffffffffffffffffffffffffffffffffffffff163b1461284257600080549050600083820390505b6127f46000868380600101945086611cd1565b61282a576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8181106127e157816000541461283f57600080fd5b50505b505050565b60008060006060806000808860800151888151811061286957612868613b26565b5b6020026020010151905060006101688a604001516101688b61288b91906136cb565b6128959190614433565b8c6040516020016128a691906144d1565b6040516020818303038152906040528051906020012060001c6128c99190613553565b6128d391906144f7565b905060006032808d6040516020016128eb9190614864565b6040516020818303038152906040528051906020012060001c61290e91906144f7565b6129189190613553565b90508a606001518a8151811061293157612930613b26565b5b60200260200101518360a0612946919061488a565b6129509190613553565b98508897508a60a001518a8151811061296c5761296b613b26565b5b6020026020010151965061297f82611fc4565b61298882611fc4565b6040516020016129999291906149a2565b60405160208183030381529060405295506129b382611fc4565b6129c86002846129c39190614433565b611fc4565b6129d184611fc4565b6040516020016129e393929190614a33565b604051602081830303815290604052945060028a612a0191906136cb565b8b6020015111612a12576001612a2f565b60028a612a1f91906136cb565b8b60200151612a2e919061488a565b5b935050505093975093979195509350565b60606000612a6b8a606001518a81518110612a5e57612a5d613b26565b5b6020026020010151611fc4565b90506000612a7884611fc4565b9050612a8389611fc4565b612a8c89611fc4565b8388612a978b611fc4565b858a87604051602001612ab1989796959493929190614e82565b6040516020818303038152906040529250505098975050505050505050565b6060600060028a606001518a81518110612aed57612aec613b26565b5b6020026020010151612aff91906136cb565b90506000612b0c84611fc4565b9050612b1789611fc4565b612b2089611fc4565b612b2984611fc4565b612b3285611fc4565b89612b3c8c611fc4565b868b88604051602001612b57999897969594939291906150f4565b6040516020818303038152906040529250505098975050505050505050565b6060600060028a606001518a81518110612b9357612b92613b26565b5b6020026020010151612ba591906136cb565b90506000612bc9600283612bb99190614433565b8a612bc4919061488a565b611fc4565b612be9600284612bd99190614433565b8a612be49190613553565b611fc4565b612c09600285612bf99190614433565b8c612c049190613553565b611fc4565b612c29600286612c199190614433565b8c612c249190613553565b611fc4565b612c328d611fc4565b612c52600288612c429190614433565b8e612c4d919061488a565b611fc4565b604051602001612c679695949392919061524e565b60405160208183030381529060405290506000612c8385611fc4565b90508187612c908a611fc4565b838985604051602001612ca896959493929190615375565b604051602081830303815290604052935050505098975050505050505050565b600080600090507a184f03e93ff9f4daa797ed6e38ed64bf6a1f0100000000000000008310612d26577a184f03e93ff9f4daa797ed6e38ed64bf6a1f0100000000000000008381612d1c57612d1b614404565b5b0492506040810190505b6d04ee2d6d415b85acef81000000008310612d63576d04ee2d6d415b85acef81000000008381612d5957612d58614404565b5b0492506020810190505b662386f26fc100008310612d9257662386f26fc100008381612d8857612d87614404565b5b0492506010810190505b6305f5e1008310612dbb576305f5e1008381612db157612db0614404565b5b0492506008810190505b6127108310612de0576127108381612dd657612dd5614404565b5b0492506004810190505b60648310612e035760648381612df957612df8614404565b5b0492506002810190505b600a8310612e12576001810190505b80915050919050565b6040518060e00160405280600081526020016000815260200160008152602001606081526020016060815260200160608152602001606081525090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b612ea181612e6c565b8114612eac57600080fd5b50565b600081359050612ebe81612e98565b92915050565b600060208284031215612eda57612ed9612e62565b5b6000612ee884828501612eaf565b91505092915050565b60008115159050919050565b612f0681612ef1565b82525050565b6000602082019050612f216000830184612efd565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015612f61578082015181840152602081019050612f46565b60008484015250505050565b6000601f19601f8301169050919050565b6000612f8982612f27565b612f938185612f32565b9350612fa3818560208601612f43565b612fac81612f6d565b840191505092915050565b60006020820190508181036000830152612fd18184612f7e565b905092915050565b6000819050919050565b612fec81612fd9565b8114612ff757600080fd5b50565b60008135905061300981612fe3565b92915050565b60006020828403121561302557613024612e62565b5b600061303384828501612ffa565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006130678261303c565b9050919050565b6130778161305c565b82525050565b6000602082019050613092600083018461306e565b92915050565b6130a18161305c565b81146130ac57600080fd5b50565b6000813590506130be81613098565b92915050565b600080604083850312156130db576130da612e62565b5b60006130e9858286016130af565b92505060206130fa85828601612ffa565b9150509250929050565b61310d81612fd9565b82525050565b60006020820190506131286000830184613104565b92915050565b60008060006060848603121561314757613146612e62565b5b6000613155868287016130af565b9350506020613166868287016130af565b925050604061317786828701612ffa565b9150509250925092565b60006020828403121561319757613196612e62565b5b60006131a5848285016130af565b91505092915050565b6131b781612ef1565b81146131c257600080fd5b50565b6000813590506131d4816131ae565b92915050565b600080604083850312156131f1576131f0612e62565b5b60006131ff858286016130af565b9250506020613210858286016131c5565b9150509250929050565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b61325c82612f6d565b810181811067ffffffffffffffff8211171561327b5761327a613224565b5b80604052505050565b600061328e612e58565b905061329a8282613253565b919050565b600067ffffffffffffffff8211156132ba576132b9613224565b5b6132c382612f6d565b9050602081019050919050565b82818337600083830152505050565b60006132f26132ed8461329f565b613284565b90508281526020810184848401111561330e5761330d61321f565b5b6133198482856132d0565b509392505050565b600082601f8301126133365761333561321a565b5b81356133468482602086016132df565b91505092915050565b6000806000806080858703121561336957613368612e62565b5b6000613377878288016130af565b9450506020613388878288016130af565b935050604061339987828801612ffa565b925050606085013567ffffffffffffffff8111156133ba576133b9612e67565b5b6133c687828801613321565b91505092959194509250565b600080604083850312156133e9576133e8612e62565b5b60006133f7858286016130af565b9250506020613408858286016130af565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061345957607f821691505b60208210810361346c5761346b613412565b5b50919050565b600081905092915050565b50565b600061348d600083613472565b91506134988261347d565b600082019050919050565b60006134ae82613480565b9150819050919050565b7f5472616e73666572206661696c65640000000000000000000000000000000000600082015250565b60006134ee600f83612f32565b91506134f9826134b8565b602082019050919050565b6000602082019050818103600083015261351d816134e1565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061355e82612fd9565b915061356983612fd9565b925082820190508082111561358157613580613524565b5b92915050565b7f4265796f6e64206d617820737570706c79000000000000000000000000000000600082015250565b60006135bd601183612f32565b91506135c882613587565b602082019050919050565b600060208201905081810360008301526135ec816135b0565b9050919050565b7f53616c6520706175736564000000000000000000000000000000000000000000600082015250565b6000613629600b83612f32565b9150613634826135f3565b602082019050919050565b600060208201905081810360008301526136588161361c565b9050919050565b7f4265796f6e64206d617820706572207472616e73616374696f6e000000000000600082015250565b6000613695601a83612f32565b91506136a08261365f565b602082019050919050565b600060208201905081810360008301526136c481613688565b9050919050565b60006136d682612fd9565b91506136e183612fd9565b92508282026136ef81612fd9565b9150828204841483151761370657613705613524565b5b5092915050565b7f57726f6e67206d696e7420707269636500000000000000000000000000000000600082015250565b6000613743601083612f32565b915061374e8261370d565b602082019050919050565b6000602082019050818103600083015261377281613736565b9050919050565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b60006137d5602f83612f32565b91506137e082613779565b604082019050919050565b60006020820190508181036000830152613804816137c8565b9050919050565b600081905092915050565b7f7b226e616d65223a202241495348415045202300000000000000000000000000600082015250565b600061384c60138361380b565b915061385782613816565b601382019050919050565b600061386d82612f27565b613877818561380b565b9350613887818560208601612f43565b80840191505092915050565b7f222c20226465736372697074696f6e223a20225468652073686170657320617260008201527f6520616c6c20616e696d61746564206f6e2d636861696e2c206372656174656460208201527f206279204149207769746820362c3937362c3038302c3030302064696666657260408201527f656e7420706f73736962696c69746965732e204561636820616e696d6174656460608201527f2073686170652068617320697473206f776e206578636c75736976652072616e60808201527f6b2e222c202261747472696275746573223a5b0000000000000000000000000060a082015250565b600061398760b38361380b565b915061399282613893565b60b382019050919050565b7f5d2c2022696d616765223a2022646174613a696d6167652f7376672b786d6c3b60008201527f6261736536342c00000000000000000000000000000000000000000000000000602082015250565b60006139f960278361380b565b9150613a048261399d565b602782019050919050565b7f227d000000000000000000000000000000000000000000000000000000000000600082015250565b6000613a4560028361380b565b9150613a5082613a0f565b600282019050919050565b6000613a668261383f565b9150613a728286613862565b9150613a7d8261397a565b9150613a898285613862565b9150613a94826139ec565b9150613aa08284613862565b9150613aab82613a38565b9150819050949350505050565b7f646174613a6170706c69636174696f6e2f6a736f6e3b6261736536342c000000600082015250565b6000613aee601d8361380b565b9150613af982613ab8565b601d82019050919050565b6000613b0f82613ae1565b9150613b1b8284613862565b915081905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f7b2274726169745f74797065223a22536861706520222c202276616c7565223a60008201527f2200000000000000000000000000000000000000000000000000000000000000602082015250565b6000613bb160218361380b565b9150613bbc82613b55565b602182019050919050565b7f227d2c0000000000000000000000000000000000000000000000000000000000600082015250565b6000613bfd60038361380b565b9150613c0882613bc7565b600382019050919050565b6000613c1f8285613862565b9150613c2a82613ba4565b9150613c368284613862565b9150613c4182613bf0565b91508190509392505050565b6000613c5882612fd9565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8203613c8a57613c89613524565b5b600182019050919050565b7f7b2274726169745f74797065223a224e756d626572206f66205368617065732260008201527f2c202276616c7565223a00000000000000000000000000000000000000000000602082015250565b6000613cf1602a8361380b565b9150613cfc82613c95565b602a82019050919050565b7f7d2c000000000000000000000000000000000000000000000000000000000000600082015250565b6000613d3d60028361380b565b9150613d4882613d07565b600282019050919050565b7f7b2274726169745f74797065223a2244697374616e6365222c202276616c756560008201527f223a000000000000000000000000000000000000000000000000000000000000602082015250565b6000613daf60228361380b565b9150613dba82613d53565b602282019050919050565b7f7b2274726169745f74797065223a22526164697573222c202276616c7565223a600082015250565b6000613dfb60208361380b565b9150613e0682613dc5565b602082019050919050565b7f7b2274726169745f74797065223a22526f746174696f6e205370656564222c2060008201527f2276616c7565223a000000000000000000000000000000000000000000000000602082015250565b6000613e6d60288361380b565b9150613e7882613e11565b602882019050919050565b7f7b2274726169745f74797065223a225374726f6b65205769647468222c20227660008201527f616c7565223a0000000000000000000000000000000000000000000000000000602082015250565b6000613edf60268361380b565b9150613eea82613e83565b602682019050919050565b7f7d00000000000000000000000000000000000000000000000000000000000000600082015250565b6000613f2b60018361380b565b9150613f3682613ef5565b600182019050919050565b6000613f4d8289613862565b9150613f5882613ce4565b9150613f648288613862565b9150613f6f82613d30565b9150613f7a82613da2565b9150613f868287613862565b9150613f9182613d30565b9150613f9c82613dee565b9150613fa88286613862565b9150613fb382613d30565b9150613fbe82613e60565b9150613fca8285613862565b9150613fd582613d30565b9150613fe082613ed2565b9150613fec8284613862565b9150613ff782613f1e565b9150819050979650505050505050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000614063602683612f32565b915061406e82614007565b604082019050919050565b6000602082019050818103600083015261409281614056565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b60006140cf602083612f32565b91506140da82614099565b602082019050919050565b600060208201905081810360008301526140fe816140c2565b9050919050565b600081519050919050565b600082825260208201905092915050565b600061412c82614105565b6141368185614110565b9350614146818560208601612f43565b61414f81612f6d565b840191505092915050565b600060808201905061416f600083018761306e565b61417c602083018661306e565b6141896040830185613104565b818103606083015261419b8184614121565b905095945050505050565b6000815190506141b581612e98565b92915050565b6000602082840312156141d1576141d0612e62565b5b60006141df848285016141a6565b91505092915050565b7f3c73766720786d6c6e733d22687474703a2f2f7777772e77332e6f72672f323060008201527f30302f737667222076696577426f783d223020302033323020333230223e0000602082015250565b6000614244603e8361380b565b915061424f826141e8565b603e82019050919050565b7f3c726563742077696474683d2233323022206865696768743d2233323022206660008201527f696c6c3d2223303030222f3e0000000000000000000000000000000000000000602082015250565b60006142b6602c8361380b565b91506142c18261425a565b602c82019050919050565b7f3c67207472616e73666f726d3d227472616e736c61746528302c3029223e0000600082015250565b6000614302601e8361380b565b915061430d826142cc565b601e82019050919050565b600061432382614237565b915061432e826142a9565b9150614339826142f5565b9150819050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b600061437e8285613862565b915061438a8284613862565b91508190509392505050565b7f3c2f673e3c2f7376673e00000000000000000000000000000000000000000000600082015250565b60006143cc600a8361380b565b91506143d782614396565b600a82019050919050565b60006143ee8284613862565b91506143f9826143bf565b915081905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600061443e82612fd9565b915061444983612fd9565b92508261445957614458614404565b5b828204905092915050565b6000819050919050565b61447f61447a82612fd9565b614464565b82525050565b7f6875650000000000000000000000000000000000000000000000000000000000600082015250565b60006144bb60038361380b565b91506144c682614485565b600382019050919050565b60006144dd828461446e565b6020820191506144ec826144ae565b915081905092915050565b600061450282612fd9565b915061450d83612fd9565b92508261451d5761451c614404565b5b828206905092915050565b7f726f746174696f6e537065656400000000000000000000000000000000000000600082015250565b600061455e600d8361380b565b915061456982614528565b600d82019050919050565b6000614580828461446e565b60208201915061458f82614551565b915081905092915050565b7f6e756d5368617065730000000000000000000000000000000000000000000000600082015250565b60006145d060098361380b565b91506145db8261459a565b600982019050919050565b60006145f2828461446e565b602082019150614601826145c3565b915081905092915050565b7f7261646975730000000000000000000000000000000000000000000000000000600082015250565b600061464260068361380b565b915061464d8261460c565b600682019050919050565b6000614664828561446e565b60208201915061467382614635565b915061467f828461446e565b6020820191508190509392505050565b7f64697374616e6365000000000000000000000000000000000000000000000000600082015250565b60006146c560088361380b565b91506146d08261468f565b600882019050919050565b60006146e7828561446e565b6020820191506146f6826146b8565b9150614702828461446e565b6020820191508190509392505050565b7f7374726f6b655769647468000000000000000000000000000000000000000000600082015250565b6000614748600b8361380b565b915061475382614712565b600b82019050919050565b600061476a828561446e565b6020820191506147798261473b565b9150614785828461446e565b6020820191508190509392505050565b7f7368617065547970650000000000000000000000000000000000000000000000600082015250565b60006147cb60098361380b565b91506147d682614795565b600982019050919050565b60006147ed828561446e565b6020820191506147fc826147be565b9150614808828461446e565b6020820191508190509392505050565b7f7361740000000000000000000000000000000000000000000000000000000000600082015250565b600061484e60038361380b565b915061485982614818565b600382019050919050565b6000614870828461446e565b60208201915061487f82614841565b915081905092915050565b600061489582612fd9565b91506148a083612fd9565b92508282039050818111156148b8576148b7613524565b5b92915050565b7f68736c2800000000000000000000000000000000000000000000000000000000600082015250565b60006148f460048361380b565b91506148ff826148be565b600482019050919050565b7f2c00000000000000000000000000000000000000000000000000000000000000600082015250565b600061494060018361380b565b915061494b8261490a565b600182019050919050565b7f252c353425290000000000000000000000000000000000000000000000000000600082015250565b600061498c60068361380b565b915061499782614956565b600682019050919050565b60006149ad826148e7565b91506149b98285613862565b91506149c482614933565b91506149d08284613862565b91506149db8261497f565b91508190509392505050565b7f2c3530252c353425293b00000000000000000000000000000000000000000000600082015250565b6000614a1d600a8361380b565b9150614a28826149e7565b600a82019050919050565b6000614a3e826148e7565b9150614a4a8286613862565b9150614a5582614a10565b9150614a60826148e7565b9150614a6c8285613862565b9150614a7782614a10565b9150614a82826148e7565b9150614a8e8284613862565b9150614a9982614a10565b9150819050949350505050565b7f3c636972636c652063783d220000000000000000000000000000000000000000600082015250565b6000614adc600c8361380b565b9150614ae782614aa6565b600c82019050919050565b7f222063793d220000000000000000000000000000000000000000000000000000600082015250565b6000614b2860068361380b565b9150614b3382614af2565b600682019050919050565b7f2220723d22000000000000000000000000000000000000000000000000000000600082015250565b6000614b7460058361380b565b9150614b7f82614b3e565b600582019050919050565b7f222066696c6c3d226e6f6e6522207374726f6b653d2200000000000000000000600082015250565b6000614bc060168361380b565b9150614bcb82614b8a565b601682019050919050565b7f22207374726f6b652d77696474683d2200000000000000000000000000000000600082015250565b6000614c0c60108361380b565b9150614c1782614bd6565b601082019050919050565b7f223e000000000000000000000000000000000000000000000000000000000000600082015250565b6000614c5860028361380b565b9150614c6382614c22565b600282019050919050565b7f3c616e696d6174655472616e73666f726d206174747269627574654e616d653d60008201527f227472616e73666f726d2220747970653d22726f74617465222066726f6d3d2260208201527f3020313630203136302220746f3d22333630203136302031363022206475723d60408201527f2200000000000000000000000000000000000000000000000000000000000000606082015250565b6000614d1660618361380b565b9150614d2182614c6e565b606182019050919050565b7f732220726570656174436f756e743d22696e646566696e697465222f3e000000600082015250565b6000614d62601d8361380b565b9150614d6d82614d2c565b601d82019050919050565b7f3c616e696d617465206174747269627574654e616d653d227374726f6b65222060008201527f76616c7565733d22000000000000000000000000000000000000000000000000602082015250565b6000614dd460288361380b565b9150614ddf82614d78565b602882019050919050565b7f22206475723d2200000000000000000000000000000000000000000000000000600082015250565b6000614e2060078361380b565b9150614e2b82614dea565b600782019050919050565b7f3c2f636972636c653e0000000000000000000000000000000000000000000000600082015250565b6000614e6c60098361380b565b9150614e7782614e36565b600982019050919050565b6000614e8d82614acf565b9150614e99828b613862565b9150614ea482614b1b565b9150614eb0828a613862565b9150614ebb82614b67565b9150614ec78289613862565b9150614ed282614bb3565b9150614ede8288613862565b9150614ee982614bff565b9150614ef58287613862565b9150614f0082614c4b565b9150614f0b82614d09565b9150614f178286613862565b9150614f2282614d55565b9150614f2d82614dc7565b9150614f398285613862565b9150614f4482614e13565b9150614f508284613862565b9150614f5b82614d55565b9150614f6682614e5f565b91508190509998505050505050505050565b7f3c7265637420783d220000000000000000000000000000000000000000000000600082015250565b6000614fae60098361380b565b9150614fb982614f78565b600982019050919050565b7f2220793d22000000000000000000000000000000000000000000000000000000600082015250565b6000614ffa60058361380b565b915061500582614fc4565b600582019050919050565b7f222077696474683d220000000000000000000000000000000000000000000000600082015250565b600061504660098361380b565b915061505182615010565b600982019050919050565b7f22206865696768743d2200000000000000000000000000000000000000000000600082015250565b6000615092600a8361380b565b915061509d8261505c565b600a82019050919050565b7f3c2f726563743e00000000000000000000000000000000000000000000000000600082015250565b60006150de60078361380b565b91506150e9826150a8565b600782019050919050565b60006150ff82614fa1565b915061510b828c613862565b915061511682614fed565b9150615122828b613862565b915061512d82615039565b9150615139828a613862565b915061514482615085565b91506151508289613862565b915061515b82614bb3565b91506151678288613862565b915061517282614bff565b915061517e8287613862565b915061518982614c4b565b915061519482614d09565b91506151a08286613862565b91506151ab82614d55565b91506151b682614dc7565b91506151c28285613862565b91506151cd82614e13565b91506151d98284613862565b91506151e482614d55565b91506151ef826150d1565b91508190509a9950505050505050505050565b7f2000000000000000000000000000000000000000000000000000000000000000600082015250565b600061523860018361380b565b915061524382615202565b600182019050919050565b600061525a8289613862565b91506152658261522b565b91506152718288613862565b915061527c82614933565b91506152888287613862565b91506152938261522b565b915061529f8286613862565b91506152aa82614933565b91506152b68285613862565b91506152c18261522b565b91506152cd8284613862565b9150819050979650505050505050565b7f3c706f6c79676f6e20706f696e74733d22000000000000000000000000000000600082015250565b600061531360118361380b565b915061531e826152dd565b601182019050919050565b7f3c2f706f6c79676f6e3e00000000000000000000000000000000000000000000600082015250565b600061535f600a8361380b565b915061536a82615329565b600a82019050919050565b600061538082615306565b915061538c8289613862565b915061539782614bb3565b91506153a38288613862565b91506153ae82614bff565b91506153ba8287613862565b91506153c582614c4b565b91506153d082614d09565b91506153dc8286613862565b91506153e782614d55565b91506153f282614dc7565b91506153fe8285613862565b915061540982614e13565b91506154158284613862565b915061542082614d55565b915061542b82615352565b915081905097965050505050505056fe4142434445464748494a4b4c4d4e4f505152535455565758595a6162636465666768696a6b6c6d6e6f707172737475767778797a303132333435363738392b2fa2646970667358221220556be7703afc4136d1e9e6a16fb6c6ee573cacaceb0aad3bd39934b02ed7ca5064736f6c63430008120033
Deployed Bytecode
0x6080604052600436106101d85760003560e01c80638ba4cc3c11610102578063b88d4fde11610095578063de0fa1d011610064578063de0fa1d01461062d578063e985e9c51461066a578063f2fde38b146106a7578063f968adbe146106d0576101d8565b8063b88d4fde14610580578063c6f6f2161461059c578063c87b56dd146105c5578063d5abeb0114610602576101d8565b806398e52f9a116100d157806398e52f9a146104e7578063a035b1fe14610510578063a0712d681461053b578063a22cb46514610557576101d8565b80638ba4cc3c1461043f5780638da5cb5b1461046857806391b7f5ed1461049357806395d89b41146104bc576101d8565b80633ccfd60b1161017a5780636352211e116101495780636352211e1461038557806370a08231146103c2578063715018a6146103ff578063742a4c9b14610416576101d8565b80633ccfd60b146102fc57806342842e0e14610313578063485a68a31461032f5780635c975abb1461035a576101d8565b8063095ea7b3116101b6578063095ea7b31461028257806318160ddd1461029e57806323b872dd146102c957806337a66d85146102e5576101d8565b806301ffc9a7146101dd57806306fdde031461021a578063081812fc14610245575b600080fd5b3480156101e957600080fd5b5061020460048036038101906101ff9190612ec4565b6106fb565b6040516102119190612f0c565b60405180910390f35b34801561022657600080fd5b5061022f61078d565b60405161023c9190612fb7565b60405180910390f35b34801561025157600080fd5b5061026c6004803603810190610267919061300f565b61081f565b604051610279919061307d565b60405180910390f35b61029c600480360381019061029791906130c4565b61089e565b005b3480156102aa57600080fd5b506102b36109e2565b6040516102c09190613113565b60405180910390f35b6102e360048036038101906102de919061312e565b6109f9565b005b3480156102f157600080fd5b506102fa610d1b565b005b34801561030857600080fd5b50610311610d4f565b005b61032d6004803603810190610328919061312e565b610e06565b005b34801561033b57600080fd5b50610344610e26565b6040516103519190613113565b60405180910390f35b34801561036657600080fd5b5061036f610e2c565b60405161037c9190612f0c565b60405180910390f35b34801561039157600080fd5b506103ac60048036038101906103a7919061300f565b610e3f565b6040516103b9919061307d565b60405180910390f35b3480156103ce57600080fd5b506103e960048036038101906103e49190613181565b610e51565b6040516103f69190613113565b60405180910390f35b34801561040b57600080fd5b50610414610f09565b005b34801561042257600080fd5b5061043d6004803603810190610438919061300f565b610f1d565b005b34801561044b57600080fd5b50610466600480360381019061046191906130c4565b610f2f565b005b34801561047457600080fd5b5061047d610f9b565b60405161048a919061307d565b60405180910390f35b34801561049f57600080fd5b506104ba60048036038101906104b5919061300f565b610fc5565b005b3480156104c857600080fd5b506104d1610fd7565b6040516104de9190612fb7565b60405180910390f35b3480156104f357600080fd5b5061050e6004803603810190610509919061300f565b611069565b005b34801561051c57600080fd5b506105256110bf565b6040516105329190613113565b60405180910390f35b6105556004803603810190610550919061300f565b6110c5565b005b34801561056357600080fd5b5061057e600480360381019061057991906131da565b6112da565b005b61059a6004803603810190610595919061334f565b6113e5565b005b3480156105a857600080fd5b506105c360048036038101906105be919061300f565b611458565b005b3480156105d157600080fd5b506105ec60048036038101906105e7919061300f565b61146a565b6040516105f99190612fb7565b60405180910390f35b34801561060e57600080fd5b50610617611538565b6040516106249190613113565b60405180910390f35b34801561063957600080fd5b50610654600480360381019061064f919061300f565b61153e565b6040516106619190612fb7565b60405180910390f35b34801561067657600080fd5b50610691600480360381019061068c91906133d2565b611691565b60405161069e9190612f0c565b60405180910390f35b3480156106b357600080fd5b506106ce60048036038101906106c99190613181565b611725565b005b3480156106dc57600080fd5b506106e56117a8565b6040516106f29190613113565b60405180910390f35b60006301ffc9a760e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061075657506380ac58cd60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806107865750635b5e139f60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b9050919050565b60606002805461079c90613441565b80601f01602080910402602001604051908101604052809291908181526020018280546107c890613441565b80156108155780601f106107ea57610100808354040283529160200191610815565b820191906000526020600020905b8154815290600101906020018083116107f857829003601f168201915b5050505050905090565b600061082a826117ae565b610860576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6006600083815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b60006108a982610e3f565b90508073ffffffffffffffffffffffffffffffffffffffff166108ca61180d565b73ffffffffffffffffffffffffffffffffffffffff161461092d576108f6816108f161180d565b611691565b61092c576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b826006600084815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b60006109ec611815565b6001546000540303905090565b6000610a048261181e565b90508373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610a6b576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600080610a77846118ea565b91509150610a8d8187610a8861180d565b611911565b610ad957610aa286610a9d61180d565b611691565b610ad8576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1603610b3f576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610b4c8686866001611955565b8015610b5757600082555b600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081546001900391905081905550600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000815460010191905081905550610c2585610c0188888761195b565b7c020000000000000000000000000000000000000000000000000000000017611983565b600460008681526020019081526020016000208190555060007c0200000000000000000000000000000000000000000000000000000000841603610cab5760006001850190506000600460008381526020019081526020016000205403610ca9576000548114610ca8578360046000838152602001908152602001600020819055505b5b505b838573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4610d1386868660016119ae565b505050505050565b610d236119b4565b600d60009054906101000a900460ff1615600d60006101000a81548160ff021916908315150217905550565b610d576119b4565b60003373ffffffffffffffffffffffffffffffffffffffff1647604051610d7d906134a3565b60006040518083038185875af1925050503d8060008114610dba576040519150601f19603f3d011682016040523d82523d6000602084013e610dbf565b606091505b5050905080610e03576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dfa90613504565b60405180910390fd5b50565b610e21838383604051806020016040528060008152506113e5565b505050565b600a5481565b600d60009054906101000a900460ff1681565b6000610e4a8261181e565b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603610eb8576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b67ffffffffffffffff600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054169050919050565b610f116119b4565b610f1b6000611a32565b565b610f256119b4565b80600a8190555050565b610f376119b4565b60095481610f436109e2565b610f4d9190613553565b10610f8d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f84906135d3565b60405180910390fd5b610f978282611af8565b5050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b610fcd6119b4565b80600c8190555050565b606060038054610fe690613441565b80601f016020809104026020016040519081016040528092919081815260200182805461101290613441565b801561105f5780601f106110345761010080835404028352916020019161105f565b820191906000526020600020905b81548152906001019060200180831161104257829003601f168201915b5050505050905090565b6110716119b4565b60095481106110b5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110ac906135d3565b60405180910390fd5b8060098190555050565b600c5481565b600d60009054906101000a900460ff1615611115576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161110c9061363f565b60405180910390fd5b600080341480156111725750600a5482600e60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461116f9190613553565b11155b61117e57600c54611181565b60005b9050600b548211156111c8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111bf906136ab565b60405180910390fd5b600954826111d46109e2565b6111de9190613553565b111561121f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611216906135d3565b60405180910390fd5b818161122b91906136cb565b34101561126d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161126490613759565b60405180910390fd5b600081036112cc5781600e60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546112c49190613553565b925050819055505b6112d63383611cb3565b5050565b80600760006112e761180d565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff1661139461180d565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516113d99190612f0c565b60405180910390a35050565b6113f08484846109f9565b60008373ffffffffffffffffffffffffffffffffffffffff163b146114525761141b84848484611cd1565b611451576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b50505050565b6114606119b4565b80600b8190555050565b6060611475826117ae565b6114b4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114ab906137eb565b60405180910390fd5b60006114bf83611e21565b905060006114cc8461153e565b9050600061150c6114dc86611fc4565b836114e686612092565b6040516020016114f893929190613a5b565b604051602081830303815290604052612092565b90508060405160200161151f9190613b04565b6040516020818303038152906040529350505050919050565b60095481565b6060600061154b836121f5565b9050600060405180602001604052806000815250905060005b82604001518110156115cd57816115988460c00151838151811061158b5761158a613b26565b5b602002602001015161260f565b6040516020016115a9929190613c13565b604051602081830303815290604052915080806115c590613c4d565b915050611564565b50806115dc8360400151611fc4565b61160484608001516000815181106115f7576115f6613b26565b5b6020026020010151611fc4565b61162c856060015160008151811061161f5761161e613b26565b5b6020026020010151611fc4565b6116398660200151611fc4565b6116618760a0015160008151811061165457611653613b26565b5b6020026020010151611fc4565b60405160200161167696959493929190613f41565b60405160208183030381529060405290508092505050919050565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b61172d6119b4565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff160361179c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161179390614079565b60405180910390fd5b6117a581611a32565b50565b600b5481565b6000816117b9611815565b111580156117c8575060005482105b8015611806575060007c0100000000000000000000000000000000000000000000000000000000600460008581526020019081526020016000205416145b9050919050565b600033905090565b60006001905090565b6000808290508061182d611815565b116118b3576000548110156118b25760006004600083815260200190815260200160002054905060007c01000000000000000000000000000000000000000000000000000000008216036118b0575b600081036118a657600460008360019003935083815260200190815260200160002054905061187c565b80925050506118e5565b505b5b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b60008060006006600085815260200190815260200160002090508092508254915050915091565b600073ffffffffffffffffffffffffffffffffffffffff8316925073ffffffffffffffffffffffffffffffffffffffff821691508382148383141790509392505050565b50505050565b60008060e883901c905060e8611972868684612789565b62ffffff16901b9150509392505050565b600073ffffffffffffffffffffffffffffffffffffffff83169250814260a01b178317905092915050565b50505050565b6119bc612792565b73ffffffffffffffffffffffffffffffffffffffff166119da610f9b565b73ffffffffffffffffffffffffffffffffffffffff1614611a30576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a27906140e5565b60405180910390fd5b565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b60008054905060008203611b38576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b611b456000848385611955565b600160406001901b178202600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282540192505081905550611bbc83611bad600086600061195b565b611bb68561279a565b17611983565b6004600083815260200190815260200160002081905550600080838301905073ffffffffffffffffffffffffffffffffffffffff85169150828260007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600183015b818114611c5d57808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600181019050611c22565b5060008203611c98576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b806000819055505050611cae60008483856119ae565b505050565b611ccd8282604051806020016040528060008152506127aa565b5050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a02611cf761180d565b8786866040518563ffffffff1660e01b8152600401611d19949392919061415a565b6020604051808303816000875af1925050508015611d5557506040513d601f19601f82011682018060405250810190611d5291906141bb565b60015b611dce573d8060008114611d85576040519150601f19603f3d011682016040523d82523d6000602084013e611d8a565b606091505b506000815103611dc6576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b60606000611e2e836121f5565b90506000604051602001611e4190614318565b604051602081830303815290604052905060005b8260400151811015611f97576060600080600080600080611e778c8b8a612847565b95509550955095509550955060006002811115611e9757611e96614343565b5b8a60c001518981518110611eae57611ead613b26565b5b60200260200101516002811115611ec857611ec7614343565b5b03611ee457611edd8a89888888888888612a40565b9650611f59565b60016002811115611ef857611ef7614343565b5b8a60c001518981518110611f0f57611f0e613b26565b5b60200260200101516002811115611f2957611f28614343565b5b03611f4557611f3e8a89888888888888612ad0565b9650611f58565b611f558a89888888888888612b76565b96505b5b8887604051602001611f6c929190614372565b6040516020818303038152906040529850505050505050508080611f8f90613c4d565b915050611e55565b5080604051602001611fa991906143e2565b60405160208183030381529060405290508092505050919050565b606060006001611fd384612cc8565b01905060008167ffffffffffffffff811115611ff257611ff1613224565b5b6040519080825280601f01601f1916602001820160405280156120245781602001600182028036833780820191505090505b509050600082602001820190505b600115612087578080600190039150507f3031323334353637383961626364656600000000000000000000000000000000600a86061a8153600a858161207b5761207a614404565b5b04945060008503612032575b819350505050919050565b606060008251036120b4576040518060200160405280600081525090506121f0565b600060405180606001604052806040815260200161543c60409139905060006003600285516120e39190613553565b6120ed9190614433565b60046120f991906136cb565b67ffffffffffffffff81111561211257612111613224565b5b6040519080825280601f01601f1916602001820160405280156121445781602001600182028036833780820191505090505b509050600182016020820185865187015b808210156121b0576003820191508151603f8160121c168501518453600184019350603f81600c1c168501518453600184019350603f8160061c168501518453600184019350603f8116850151845360018401935050612155565b50506003865106600181146121cc57600281146121df576121e7565b603d6001830353603d60028303536121e7565b603d60018303535b50505080925050505b919050565b6121fd612e1b565b60006101688360405160200161221391906144d1565b6040516020818303038152906040528051906020012060001c61223691906144f7565b905060006005600b8560405160200161224f9190614574565b6040516020818303038152906040528051906020012060001c61227291906144f7565b61227c9190613553565b905060006003808660405160200161229491906145e6565b6040516020818303038152906040528051906020012060001c6122b791906144f7565b6122c19190613553565b905060008167ffffffffffffffff8111156122df576122de613224565b5b60405190808252806020026020018201604052801561230d5781602001602082028036833780820191505090505b50905060008267ffffffffffffffff81111561232c5761232b613224565b5b60405190808252806020026020018201604052801561235a5781602001602082028036833780820191505090505b50905060008367ffffffffffffffff81111561237957612378613224565b5b6040519080825280602002602001820160405280156123a75781602001602082028036833780820191505090505b50905060008467ffffffffffffffff8111156123c6576123c5613224565b5b6040519080825280602002602001820160405280156123f45781602001602082028036833780820191505090505b50905060005b858110156125cd57601460288b83604051602001612419929190614658565b6040516020818303038152906040528051906020012060001c61243c91906144f7565b6124469190613553565b85828151811061245957612458613b26565b5b602002602001018181525050602860508b8360405160200161247c9291906146db565b6040516020818303038152906040528051906020012060001c61249f91906144f7565b6124a99190613553565b8482815181106124bc576124bb613b26565b5b602002602001018181525050600560108b836040516020016124df92919061475e565b6040516020818303038152906040528051906020012060001c61250291906144f7565b61250c9190613553565b83828151811061251f5761251e613b26565b5b60200260200101818152505060038a826040516020016125409291906147e1565b6040516020818303038152906040528051906020012060001c61256391906144f7565b600281111561257557612574614343565b5b82828151811061258857612587613b26565b5b602002602001019060028111156125a2576125a1614343565b5b908160028111156125b6576125b5614343565b5b8152505080806125c590613c4d565b9150506123fa565b506040518060e0016040528088815260200187815260200186815260200185815260200184815260200183815260200182815250975050505050505050919050565b60606000600281111561262557612624614343565b5b82600281111561263857612637614343565b5b0361267a576040518060400160405280600681526020017f436972636c6500000000000000000000000000000000000000000000000000008152509050612784565b6001600281111561268e5761268d614343565b5b8260028111156126a1576126a0614343565b5b036126e3576040518060400160405280600681526020017f53717561726500000000000000000000000000000000000000000000000000008152509050612784565b6002808111156126f6576126f5614343565b5b82600281111561270957612708614343565b5b0361274b576040518060400160405280600881526020017f547269616e676c650000000000000000000000000000000000000000000000008152509050612784565b6040518060400160405280600781526020017f556e6b6e6f776e0000000000000000000000000000000000000000000000000081525090505b919050565b60009392505050565b600033905090565b60006001821460e11b9050919050565b6127b48383611af8565b60008373ffffffffffffffffffffffffffffffffffffffff163b1461284257600080549050600083820390505b6127f46000868380600101945086611cd1565b61282a576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8181106127e157816000541461283f57600080fd5b50505b505050565b60008060006060806000808860800151888151811061286957612868613b26565b5b6020026020010151905060006101688a604001516101688b61288b91906136cb565b6128959190614433565b8c6040516020016128a691906144d1565b6040516020818303038152906040528051906020012060001c6128c99190613553565b6128d391906144f7565b905060006032808d6040516020016128eb9190614864565b6040516020818303038152906040528051906020012060001c61290e91906144f7565b6129189190613553565b90508a606001518a8151811061293157612930613b26565b5b60200260200101518360a0612946919061488a565b6129509190613553565b98508897508a60a001518a8151811061296c5761296b613b26565b5b6020026020010151965061297f82611fc4565b61298882611fc4565b6040516020016129999291906149a2565b60405160208183030381529060405295506129b382611fc4565b6129c86002846129c39190614433565b611fc4565b6129d184611fc4565b6040516020016129e393929190614a33565b604051602081830303815290604052945060028a612a0191906136cb565b8b6020015111612a12576001612a2f565b60028a612a1f91906136cb565b8b60200151612a2e919061488a565b5b935050505093975093979195509350565b60606000612a6b8a606001518a81518110612a5e57612a5d613b26565b5b6020026020010151611fc4565b90506000612a7884611fc4565b9050612a8389611fc4565b612a8c89611fc4565b8388612a978b611fc4565b858a87604051602001612ab1989796959493929190614e82565b6040516020818303038152906040529250505098975050505050505050565b6060600060028a606001518a81518110612aed57612aec613b26565b5b6020026020010151612aff91906136cb565b90506000612b0c84611fc4565b9050612b1789611fc4565b612b2089611fc4565b612b2984611fc4565b612b3285611fc4565b89612b3c8c611fc4565b868b88604051602001612b57999897969594939291906150f4565b6040516020818303038152906040529250505098975050505050505050565b6060600060028a606001518a81518110612b9357612b92613b26565b5b6020026020010151612ba591906136cb565b90506000612bc9600283612bb99190614433565b8a612bc4919061488a565b611fc4565b612be9600284612bd99190614433565b8a612be49190613553565b611fc4565b612c09600285612bf99190614433565b8c612c049190613553565b611fc4565b612c29600286612c199190614433565b8c612c249190613553565b611fc4565b612c328d611fc4565b612c52600288612c429190614433565b8e612c4d919061488a565b611fc4565b604051602001612c679695949392919061524e565b60405160208183030381529060405290506000612c8385611fc4565b90508187612c908a611fc4565b838985604051602001612ca896959493929190615375565b604051602081830303815290604052935050505098975050505050505050565b600080600090507a184f03e93ff9f4daa797ed6e38ed64bf6a1f0100000000000000008310612d26577a184f03e93ff9f4daa797ed6e38ed64bf6a1f0100000000000000008381612d1c57612d1b614404565b5b0492506040810190505b6d04ee2d6d415b85acef81000000008310612d63576d04ee2d6d415b85acef81000000008381612d5957612d58614404565b5b0492506020810190505b662386f26fc100008310612d9257662386f26fc100008381612d8857612d87614404565b5b0492506010810190505b6305f5e1008310612dbb576305f5e1008381612db157612db0614404565b5b0492506008810190505b6127108310612de0576127108381612dd657612dd5614404565b5b0492506004810190505b60648310612e035760648381612df957612df8614404565b5b0492506002810190505b600a8310612e12576001810190505b80915050919050565b6040518060e00160405280600081526020016000815260200160008152602001606081526020016060815260200160608152602001606081525090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b612ea181612e6c565b8114612eac57600080fd5b50565b600081359050612ebe81612e98565b92915050565b600060208284031215612eda57612ed9612e62565b5b6000612ee884828501612eaf565b91505092915050565b60008115159050919050565b612f0681612ef1565b82525050565b6000602082019050612f216000830184612efd565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015612f61578082015181840152602081019050612f46565b60008484015250505050565b6000601f19601f8301169050919050565b6000612f8982612f27565b612f938185612f32565b9350612fa3818560208601612f43565b612fac81612f6d565b840191505092915050565b60006020820190508181036000830152612fd18184612f7e565b905092915050565b6000819050919050565b612fec81612fd9565b8114612ff757600080fd5b50565b60008135905061300981612fe3565b92915050565b60006020828403121561302557613024612e62565b5b600061303384828501612ffa565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006130678261303c565b9050919050565b6130778161305c565b82525050565b6000602082019050613092600083018461306e565b92915050565b6130a18161305c565b81146130ac57600080fd5b50565b6000813590506130be81613098565b92915050565b600080604083850312156130db576130da612e62565b5b60006130e9858286016130af565b92505060206130fa85828601612ffa565b9150509250929050565b61310d81612fd9565b82525050565b60006020820190506131286000830184613104565b92915050565b60008060006060848603121561314757613146612e62565b5b6000613155868287016130af565b9350506020613166868287016130af565b925050604061317786828701612ffa565b9150509250925092565b60006020828403121561319757613196612e62565b5b60006131a5848285016130af565b91505092915050565b6131b781612ef1565b81146131c257600080fd5b50565b6000813590506131d4816131ae565b92915050565b600080604083850312156131f1576131f0612e62565b5b60006131ff858286016130af565b9250506020613210858286016131c5565b9150509250929050565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b61325c82612f6d565b810181811067ffffffffffffffff8211171561327b5761327a613224565b5b80604052505050565b600061328e612e58565b905061329a8282613253565b919050565b600067ffffffffffffffff8211156132ba576132b9613224565b5b6132c382612f6d565b9050602081019050919050565b82818337600083830152505050565b60006132f26132ed8461329f565b613284565b90508281526020810184848401111561330e5761330d61321f565b5b6133198482856132d0565b509392505050565b600082601f8301126133365761333561321a565b5b81356133468482602086016132df565b91505092915050565b6000806000806080858703121561336957613368612e62565b5b6000613377878288016130af565b9450506020613388878288016130af565b935050604061339987828801612ffa565b925050606085013567ffffffffffffffff8111156133ba576133b9612e67565b5b6133c687828801613321565b91505092959194509250565b600080604083850312156133e9576133e8612e62565b5b60006133f7858286016130af565b9250506020613408858286016130af565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061345957607f821691505b60208210810361346c5761346b613412565b5b50919050565b600081905092915050565b50565b600061348d600083613472565b91506134988261347d565b600082019050919050565b60006134ae82613480565b9150819050919050565b7f5472616e73666572206661696c65640000000000000000000000000000000000600082015250565b60006134ee600f83612f32565b91506134f9826134b8565b602082019050919050565b6000602082019050818103600083015261351d816134e1565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061355e82612fd9565b915061356983612fd9565b925082820190508082111561358157613580613524565b5b92915050565b7f4265796f6e64206d617820737570706c79000000000000000000000000000000600082015250565b60006135bd601183612f32565b91506135c882613587565b602082019050919050565b600060208201905081810360008301526135ec816135b0565b9050919050565b7f53616c6520706175736564000000000000000000000000000000000000000000600082015250565b6000613629600b83612f32565b9150613634826135f3565b602082019050919050565b600060208201905081810360008301526136588161361c565b9050919050565b7f4265796f6e64206d617820706572207472616e73616374696f6e000000000000600082015250565b6000613695601a83612f32565b91506136a08261365f565b602082019050919050565b600060208201905081810360008301526136c481613688565b9050919050565b60006136d682612fd9565b91506136e183612fd9565b92508282026136ef81612fd9565b9150828204841483151761370657613705613524565b5b5092915050565b7f57726f6e67206d696e7420707269636500000000000000000000000000000000600082015250565b6000613743601083612f32565b915061374e8261370d565b602082019050919050565b6000602082019050818103600083015261377281613736565b9050919050565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b60006137d5602f83612f32565b91506137e082613779565b604082019050919050565b60006020820190508181036000830152613804816137c8565b9050919050565b600081905092915050565b7f7b226e616d65223a202241495348415045202300000000000000000000000000600082015250565b600061384c60138361380b565b915061385782613816565b601382019050919050565b600061386d82612f27565b613877818561380b565b9350613887818560208601612f43565b80840191505092915050565b7f222c20226465736372697074696f6e223a20225468652073686170657320617260008201527f6520616c6c20616e696d61746564206f6e2d636861696e2c206372656174656460208201527f206279204149207769746820362c3937362c3038302c3030302064696666657260408201527f656e7420706f73736962696c69746965732e204561636820616e696d6174656460608201527f2073686170652068617320697473206f776e206578636c75736976652072616e60808201527f6b2e222c202261747472696275746573223a5b0000000000000000000000000060a082015250565b600061398760b38361380b565b915061399282613893565b60b382019050919050565b7f5d2c2022696d616765223a2022646174613a696d6167652f7376672b786d6c3b60008201527f6261736536342c00000000000000000000000000000000000000000000000000602082015250565b60006139f960278361380b565b9150613a048261399d565b602782019050919050565b7f227d000000000000000000000000000000000000000000000000000000000000600082015250565b6000613a4560028361380b565b9150613a5082613a0f565b600282019050919050565b6000613a668261383f565b9150613a728286613862565b9150613a7d8261397a565b9150613a898285613862565b9150613a94826139ec565b9150613aa08284613862565b9150613aab82613a38565b9150819050949350505050565b7f646174613a6170706c69636174696f6e2f6a736f6e3b6261736536342c000000600082015250565b6000613aee601d8361380b565b9150613af982613ab8565b601d82019050919050565b6000613b0f82613ae1565b9150613b1b8284613862565b915081905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f7b2274726169745f74797065223a22536861706520222c202276616c7565223a60008201527f2200000000000000000000000000000000000000000000000000000000000000602082015250565b6000613bb160218361380b565b9150613bbc82613b55565b602182019050919050565b7f227d2c0000000000000000000000000000000000000000000000000000000000600082015250565b6000613bfd60038361380b565b9150613c0882613bc7565b600382019050919050565b6000613c1f8285613862565b9150613c2a82613ba4565b9150613c368284613862565b9150613c4182613bf0565b91508190509392505050565b6000613c5882612fd9565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8203613c8a57613c89613524565b5b600182019050919050565b7f7b2274726169745f74797065223a224e756d626572206f66205368617065732260008201527f2c202276616c7565223a00000000000000000000000000000000000000000000602082015250565b6000613cf1602a8361380b565b9150613cfc82613c95565b602a82019050919050565b7f7d2c000000000000000000000000000000000000000000000000000000000000600082015250565b6000613d3d60028361380b565b9150613d4882613d07565b600282019050919050565b7f7b2274726169745f74797065223a2244697374616e6365222c202276616c756560008201527f223a000000000000000000000000000000000000000000000000000000000000602082015250565b6000613daf60228361380b565b9150613dba82613d53565b602282019050919050565b7f7b2274726169745f74797065223a22526164697573222c202276616c7565223a600082015250565b6000613dfb60208361380b565b9150613e0682613dc5565b602082019050919050565b7f7b2274726169745f74797065223a22526f746174696f6e205370656564222c2060008201527f2276616c7565223a000000000000000000000000000000000000000000000000602082015250565b6000613e6d60288361380b565b9150613e7882613e11565b602882019050919050565b7f7b2274726169745f74797065223a225374726f6b65205769647468222c20227660008201527f616c7565223a0000000000000000000000000000000000000000000000000000602082015250565b6000613edf60268361380b565b9150613eea82613e83565b602682019050919050565b7f7d00000000000000000000000000000000000000000000000000000000000000600082015250565b6000613f2b60018361380b565b9150613f3682613ef5565b600182019050919050565b6000613f4d8289613862565b9150613f5882613ce4565b9150613f648288613862565b9150613f6f82613d30565b9150613f7a82613da2565b9150613f868287613862565b9150613f9182613d30565b9150613f9c82613dee565b9150613fa88286613862565b9150613fb382613d30565b9150613fbe82613e60565b9150613fca8285613862565b9150613fd582613d30565b9150613fe082613ed2565b9150613fec8284613862565b9150613ff782613f1e565b9150819050979650505050505050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000614063602683612f32565b915061406e82614007565b604082019050919050565b6000602082019050818103600083015261409281614056565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b60006140cf602083612f32565b91506140da82614099565b602082019050919050565b600060208201905081810360008301526140fe816140c2565b9050919050565b600081519050919050565b600082825260208201905092915050565b600061412c82614105565b6141368185614110565b9350614146818560208601612f43565b61414f81612f6d565b840191505092915050565b600060808201905061416f600083018761306e565b61417c602083018661306e565b6141896040830185613104565b818103606083015261419b8184614121565b905095945050505050565b6000815190506141b581612e98565b92915050565b6000602082840312156141d1576141d0612e62565b5b60006141df848285016141a6565b91505092915050565b7f3c73766720786d6c6e733d22687474703a2f2f7777772e77332e6f72672f323060008201527f30302f737667222076696577426f783d223020302033323020333230223e0000602082015250565b6000614244603e8361380b565b915061424f826141e8565b603e82019050919050565b7f3c726563742077696474683d2233323022206865696768743d2233323022206660008201527f696c6c3d2223303030222f3e0000000000000000000000000000000000000000602082015250565b60006142b6602c8361380b565b91506142c18261425a565b602c82019050919050565b7f3c67207472616e73666f726d3d227472616e736c61746528302c3029223e0000600082015250565b6000614302601e8361380b565b915061430d826142cc565b601e82019050919050565b600061432382614237565b915061432e826142a9565b9150614339826142f5565b9150819050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b600061437e8285613862565b915061438a8284613862565b91508190509392505050565b7f3c2f673e3c2f7376673e00000000000000000000000000000000000000000000600082015250565b60006143cc600a8361380b565b91506143d782614396565b600a82019050919050565b60006143ee8284613862565b91506143f9826143bf565b915081905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600061443e82612fd9565b915061444983612fd9565b92508261445957614458614404565b5b828204905092915050565b6000819050919050565b61447f61447a82612fd9565b614464565b82525050565b7f6875650000000000000000000000000000000000000000000000000000000000600082015250565b60006144bb60038361380b565b91506144c682614485565b600382019050919050565b60006144dd828461446e565b6020820191506144ec826144ae565b915081905092915050565b600061450282612fd9565b915061450d83612fd9565b92508261451d5761451c614404565b5b828206905092915050565b7f726f746174696f6e537065656400000000000000000000000000000000000000600082015250565b600061455e600d8361380b565b915061456982614528565b600d82019050919050565b6000614580828461446e565b60208201915061458f82614551565b915081905092915050565b7f6e756d5368617065730000000000000000000000000000000000000000000000600082015250565b60006145d060098361380b565b91506145db8261459a565b600982019050919050565b60006145f2828461446e565b602082019150614601826145c3565b915081905092915050565b7f7261646975730000000000000000000000000000000000000000000000000000600082015250565b600061464260068361380b565b915061464d8261460c565b600682019050919050565b6000614664828561446e565b60208201915061467382614635565b915061467f828461446e565b6020820191508190509392505050565b7f64697374616e6365000000000000000000000000000000000000000000000000600082015250565b60006146c560088361380b565b91506146d08261468f565b600882019050919050565b60006146e7828561446e565b6020820191506146f6826146b8565b9150614702828461446e565b6020820191508190509392505050565b7f7374726f6b655769647468000000000000000000000000000000000000000000600082015250565b6000614748600b8361380b565b915061475382614712565b600b82019050919050565b600061476a828561446e565b6020820191506147798261473b565b9150614785828461446e565b6020820191508190509392505050565b7f7368617065547970650000000000000000000000000000000000000000000000600082015250565b60006147cb60098361380b565b91506147d682614795565b600982019050919050565b60006147ed828561446e565b6020820191506147fc826147be565b9150614808828461446e565b6020820191508190509392505050565b7f7361740000000000000000000000000000000000000000000000000000000000600082015250565b600061484e60038361380b565b915061485982614818565b600382019050919050565b6000614870828461446e565b60208201915061487f82614841565b915081905092915050565b600061489582612fd9565b91506148a083612fd9565b92508282039050818111156148b8576148b7613524565b5b92915050565b7f68736c2800000000000000000000000000000000000000000000000000000000600082015250565b60006148f460048361380b565b91506148ff826148be565b600482019050919050565b7f2c00000000000000000000000000000000000000000000000000000000000000600082015250565b600061494060018361380b565b915061494b8261490a565b600182019050919050565b7f252c353425290000000000000000000000000000000000000000000000000000600082015250565b600061498c60068361380b565b915061499782614956565b600682019050919050565b60006149ad826148e7565b91506149b98285613862565b91506149c482614933565b91506149d08284613862565b91506149db8261497f565b91508190509392505050565b7f2c3530252c353425293b00000000000000000000000000000000000000000000600082015250565b6000614a1d600a8361380b565b9150614a28826149e7565b600a82019050919050565b6000614a3e826148e7565b9150614a4a8286613862565b9150614a5582614a10565b9150614a60826148e7565b9150614a6c8285613862565b9150614a7782614a10565b9150614a82826148e7565b9150614a8e8284613862565b9150614a9982614a10565b9150819050949350505050565b7f3c636972636c652063783d220000000000000000000000000000000000000000600082015250565b6000614adc600c8361380b565b9150614ae782614aa6565b600c82019050919050565b7f222063793d220000000000000000000000000000000000000000000000000000600082015250565b6000614b2860068361380b565b9150614b3382614af2565b600682019050919050565b7f2220723d22000000000000000000000000000000000000000000000000000000600082015250565b6000614b7460058361380b565b9150614b7f82614b3e565b600582019050919050565b7f222066696c6c3d226e6f6e6522207374726f6b653d2200000000000000000000600082015250565b6000614bc060168361380b565b9150614bcb82614b8a565b601682019050919050565b7f22207374726f6b652d77696474683d2200000000000000000000000000000000600082015250565b6000614c0c60108361380b565b9150614c1782614bd6565b601082019050919050565b7f223e000000000000000000000000000000000000000000000000000000000000600082015250565b6000614c5860028361380b565b9150614c6382614c22565b600282019050919050565b7f3c616e696d6174655472616e73666f726d206174747269627574654e616d653d60008201527f227472616e73666f726d2220747970653d22726f74617465222066726f6d3d2260208201527f3020313630203136302220746f3d22333630203136302031363022206475723d60408201527f2200000000000000000000000000000000000000000000000000000000000000606082015250565b6000614d1660618361380b565b9150614d2182614c6e565b606182019050919050565b7f732220726570656174436f756e743d22696e646566696e697465222f3e000000600082015250565b6000614d62601d8361380b565b9150614d6d82614d2c565b601d82019050919050565b7f3c616e696d617465206174747269627574654e616d653d227374726f6b65222060008201527f76616c7565733d22000000000000000000000000000000000000000000000000602082015250565b6000614dd460288361380b565b9150614ddf82614d78565b602882019050919050565b7f22206475723d2200000000000000000000000000000000000000000000000000600082015250565b6000614e2060078361380b565b9150614e2b82614dea565b600782019050919050565b7f3c2f636972636c653e0000000000000000000000000000000000000000000000600082015250565b6000614e6c60098361380b565b9150614e7782614e36565b600982019050919050565b6000614e8d82614acf565b9150614e99828b613862565b9150614ea482614b1b565b9150614eb0828a613862565b9150614ebb82614b67565b9150614ec78289613862565b9150614ed282614bb3565b9150614ede8288613862565b9150614ee982614bff565b9150614ef58287613862565b9150614f0082614c4b565b9150614f0b82614d09565b9150614f178286613862565b9150614f2282614d55565b9150614f2d82614dc7565b9150614f398285613862565b9150614f4482614e13565b9150614f508284613862565b9150614f5b82614d55565b9150614f6682614e5f565b91508190509998505050505050505050565b7f3c7265637420783d220000000000000000000000000000000000000000000000600082015250565b6000614fae60098361380b565b9150614fb982614f78565b600982019050919050565b7f2220793d22000000000000000000000000000000000000000000000000000000600082015250565b6000614ffa60058361380b565b915061500582614fc4565b600582019050919050565b7f222077696474683d220000000000000000000000000000000000000000000000600082015250565b600061504660098361380b565b915061505182615010565b600982019050919050565b7f22206865696768743d2200000000000000000000000000000000000000000000600082015250565b6000615092600a8361380b565b915061509d8261505c565b600a82019050919050565b7f3c2f726563743e00000000000000000000000000000000000000000000000000600082015250565b60006150de60078361380b565b91506150e9826150a8565b600782019050919050565b60006150ff82614fa1565b915061510b828c613862565b915061511682614fed565b9150615122828b613862565b915061512d82615039565b9150615139828a613862565b915061514482615085565b91506151508289613862565b915061515b82614bb3565b91506151678288613862565b915061517282614bff565b915061517e8287613862565b915061518982614c4b565b915061519482614d09565b91506151a08286613862565b91506151ab82614d55565b91506151b682614dc7565b91506151c28285613862565b91506151cd82614e13565b91506151d98284613862565b91506151e482614d55565b91506151ef826150d1565b91508190509a9950505050505050505050565b7f2000000000000000000000000000000000000000000000000000000000000000600082015250565b600061523860018361380b565b915061524382615202565b600182019050919050565b600061525a8289613862565b91506152658261522b565b91506152718288613862565b915061527c82614933565b91506152888287613862565b91506152938261522b565b915061529f8286613862565b91506152aa82614933565b91506152b68285613862565b91506152c18261522b565b91506152cd8284613862565b9150819050979650505050505050565b7f3c706f6c79676f6e20706f696e74733d22000000000000000000000000000000600082015250565b600061531360118361380b565b915061531e826152dd565b601182019050919050565b7f3c2f706f6c79676f6e3e00000000000000000000000000000000000000000000600082015250565b600061535f600a8361380b565b915061536a82615329565b600a82019050919050565b600061538082615306565b915061538c8289613862565b915061539782614bb3565b91506153a38288613862565b91506153ae82614bff565b91506153ba8287613862565b91506153c582614c4b565b91506153d082614d09565b91506153dc8286613862565b91506153e782614d55565b91506153f282614dc7565b91506153fe8285613862565b915061540982614e13565b91506154158284613862565b915061542082614d55565b915061542b82615352565b915081905097965050505050505056fe4142434445464748494a4b4c4d4e4f505152535455565758595a6162636465666768696a6b6c6d6e6f707172737475767778797a303132333435363738392b2fa2646970667358221220556be7703afc4136d1e9e6a16fb6c6ee573cacaceb0aad3bd39934b02ed7ca5064736f6c63430008120033
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.