Feature Tip: Add private address tag to any address under My Name Tag !
ERC-721
Overview
Max Total Supply
0 CEL
Holders
817
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
6 CELLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
Cells
Compiler Version
v0.8.9+commit.e5eed63a
Optimization Enabled:
No with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: UNLICENSED pragma solidity ^0.8.0; import "@openzeppelin/contracts/utils/Strings.sol"; import "@openzeppelin/contracts/token/ERC721/ERC721.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/token/common/ERC2981.sol"; /// [MIT License] /// @title Base64 /// @notice Provides a function for encoding some bytes in base64 /// @author Brecht Devos <[email protected]> library Base64 { bytes internal constant TABLE = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"; /// @notice Encodes some bytes to the base64 representation function encode(bytes memory data) internal pure returns (string memory) { uint256 len = data.length; if (len == 0) return ""; // multiply by 4/3 rounded up uint256 encodedLen = 4 * ((len + 2) / 3); // Add some extra buffer at the end bytes memory result = new bytes(encodedLen + 32); bytes memory table = TABLE; assembly { let tablePtr := add(table, 1) let resultPtr := add(result, 32) for { let i := 0 } lt(i, len) { } { i := add(i, 3) let input := and(mload(add(data, i)), 0xffffff) let out := mload(add(tablePtr, and(shr(18, input), 0x3F))) out := shl(8, out) out := add(out, and(mload(add(tablePtr, and(shr(12, input), 0x3F))), 0xFF)) out := shl(8, out) out := add(out, and(mload(add(tablePtr, and(shr(6, input), 0x3F))), 0xFF)) out := shl(8, out) out := add(out, and(mload(add(tablePtr, and(input, 0x3F))), 0xFF)) out := shl(224, out) mstore(resultPtr, out) resultPtr := add(resultPtr, 4) } switch mod(len, 3) case 1 { mstore(sub(resultPtr, 2), shl(240, 0x3d3d)) } case 2 { mstore(sub(resultPtr, 1), shl(248, 0x3d)) } mstore(result, encodedLen) } return string(result); } } contract Cells is ERC721, Ownable, ERC2981 { using Strings for uint256; // ================================= // Storage // ================================= uint256 public constant maxSupply = 3131; uint256 public price = 0.005 ether; uint256 public numMinted; mapping(address => uint8) public minted; bool public saleIsActive; // ================================= // Metadata // ================================= function generateHTMLandSVG(address _address) internal pure returns (string memory finalHtml, string memory finalSvg) { (string memory color1, string memory color2, string memory color3) = getColors(_address); string memory HTMLfirstBlock = '<canvas id="golCanvas"></canvas><style>* {margin:0;}body { background: rgb(37,38,30);height: 100%;}</style> <script>var canvas = document.getElementById("golCanvas");canvas.width = window.innerWidth;canvas.height = window.innerHeight;var WIDTH = canvas.width;var HEIGHT = canvas.height;var ctx = canvas.getContext("2d");var LEN = 10;var x = Math.floor(WIDTH/LEN);var y = HEIGHT/LEN;var myGol;var golTmp;function initTmp(){for(var xVal = 0; xVal<=x+2;xVal++){golTmp[xVal] = new Array();for(var yVal = 0; yVal<=y+2; yVal++){golTmp[xVal][yVal] = 0;}}}function initMatrix(){myGol = new Array();golTmp = new Array();for(var xVal = 0; xVal<=x+2;xVal++){myGol[xVal] = new Array();golTmp[xVal] = new Array();for(var yVal = 0; yVal<=y+2; yVal++){golTmp[xVal][yVal] = 0;var randVal = Math.floor((Math.random()*2));myGol[xVal][yVal] = randVal;if (randVal == 1){draw(xVal+1,yVal+1);}}}}function draw(x,y){ctx.fillRect(LEN*(x-1),LEN*(y-1),LEN,LEN);}function nextStep(){initTmp();ctx.fillStyle = "#'; string memory HTMLsecondBlock = '";ctx.fillRect(0,0,WIDTH,HEIGHT);for(var xVal = 1; xVal<=x+1;xVal++){for(var yVal = 1; yVal<=y+1; yVal++){var neighbourSum = myGol[xVal-1][yVal] + myGol[xVal-1][yVal-1] + myGol[xVal-1][yVal+1] + myGol[xVal][yVal-1] + myGol[xVal][yVal+1] + myGol[xVal+1][yVal] + myGol[xVal+1][yVal+1] + myGol[xVal+1][yVal-1];if(myGol[xVal][yVal] == 1){if(neighbourSum == 2 || neighbourSum == 3){golTmp[xVal][yVal] = 1;ctx.fillStyle = "#'; string memory HTMLthirdBlock = '";draw(xVal,yVal);}} else {if(neighbourSum == 3) {golTmp[xVal][yVal] = 1;ctx.fillStyle = "#'; string memory HTMLfourthBlock = '";draw(xVal,yVal);}}}}myGol = golTmp.slice();}initMatrix();setInterval(nextStep, 80);</script>'; string memory SVGfirstBlock = '<svg xmlns="http://www.w3.org/2000/svg" width="350" height="350"><rect width="350" height="350" style="fill:rgb(37,38,30)" /><rect x="80" y="110" width="40" height="40" style="fill:#'; string memory SVGsecondBlock = '" /><rect x="200" y="90" width="40" height="40" style="fill:#'; string memory SVGthirdBlock = '" /><rect x="170" y="210" width="40" height="40" style="fill:#'; return( string(abi.encodePacked(HTMLfirstBlock, color1, HTMLsecondBlock, color2, HTMLthirdBlock, color3, HTMLfourthBlock)), string(abi.encodePacked(SVGfirstBlock, color1, SVGsecondBlock, color2, SVGthirdBlock, color3, '" /></svg>')) ); } function getColors(address _address) internal pure returns (string memory color1, string memory color2, string memory color3){ string memory addr = toString(abi.encodePacked(_address)); color1 = getSlice(3, 8, addr); color2 = getSlice(9, 14, addr); color3 = getSlice(15, 20, addr); } function toString(bytes memory data) internal pure returns(string memory) { bytes memory alphabet = "0123456789abcdef"; bytes memory str = new bytes(2 + data.length * 2); str[0] = "0"; str[1] = "x"; for (uint i = 0; i < data.length; i++) { str[2+i*2] = alphabet[uint(uint8(data[i] >> 4))]; str[3+i*2] = alphabet[uint(uint8(data[i] & 0x0f))]; } return string(str); } function getSlice(uint256 begin, uint256 end, string memory text) internal pure returns (string memory) { bytes memory a = new bytes(end-begin+1); for(uint i=0;i<=end-begin;i++){ a[i] = bytes(text)[i+begin-1]; } return string(a); } function htmlToImageURI(string memory html) internal pure returns (string memory) { string memory baseURL = "data:text/html;base64,"; string memory htmlBase64Encoded = Base64.encode(bytes(string(abi.encodePacked(html)))); return string(abi.encodePacked(baseURL,htmlBase64Encoded)); } function svgToImageURI(string memory svg) internal pure returns (string memory) { string memory baseURL = "data:image/svg+xml;base64,"; string memory svgBase64Encoded = Base64.encode(bytes(string(abi.encodePacked(svg)))); return string(abi.encodePacked(baseURL,svgBase64Encoded)); } function tokenURI(uint256 tokenId) override public view returns (string memory) { (string memory html, string memory svg) = generateHTMLandSVG(ownerOf(tokenId)); string memory imageURIhtml = htmlToImageURI(html); string memory imageURIsvg = svgToImageURI(svg); return string( abi.encodePacked( "data:application/json;base64,", Base64.encode( bytes( abi.encodePacked( '{"name":"', "Cell | ", uint2str(tokenId),"", '", "description":"", "attributes":"", "image":"', imageURIsvg,'", "animation_url":"', imageURIhtml,'"}' ) ) ) ) ); } function uint2str(uint _i) internal pure returns (string memory _uintAsString) { if (_i == 0) { return "0"; } uint j = _i; uint len; while (j != 0) { len++; j /= 10; } bytes memory bstr = new bytes(len); uint k = len; while (_i != 0) { k = k-1; uint8 temp = (48 + uint8(_i - _i / 10 * 10)); bytes1 b1 = bytes1(temp); bstr[k] = b1; _i /= 10; } return string(bstr); } // ================================= // Mint // ================================= function mint(uint8 quantity) public payable { require(saleIsActive, "sale is not active"); require(numMinted + quantity <= maxSupply, "invalid claim"); require(quantity > 0, "invalid quantity"); require(minted[msg.sender] + quantity <= 5, "invalid quantity per address"); require(msg.value >= price * quantity, "invalid price"); for (uint8 i = 0; i < quantity; i++) { numMinted += 1; _safeMint(_msgSender(), numMinted); } minted[msg.sender] += quantity; } // ================================= // Owner functions // ================================= function setPrice(uint256 _price) public onlyOwner { price = _price; } function withdraw() public onlyOwner { payable(msg.sender).transfer(address(this).balance); } function setSaleStatus(bool state) public onlyOwner { saleIsActive = state; } // ================================= // Overrides // ================================= function supportsInterface(bytes4 interfaceId) public view virtual override(ERC721, ERC2981) returns (bool) { return super.supportsInterface(interfaceId); } // ================================= // Constructor // ================================= constructor() ERC721("Cells", "CEL") { _setDefaultRoyalty(msg.sender, 300); for (uint8 i = 1; i <= 50; i++) { _safeMint(_msgSender(), i); } numMinted += 50; } }
// 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 // OpenZeppelin Contracts (last updated v4.6.0) (interfaces/IERC2981.sol) pragma solidity ^0.8.0; import "../utils/introspection/IERC165.sol"; /** * @dev Interface for the NFT Royalty Standard. * * A standardized way to retrieve royalty payment information for non-fungible tokens (NFTs) to enable universal * support for royalty payments across all NFT marketplaces and ecosystem participants. * * _Available since v4.5._ */ interface IERC2981 is IERC165 { /** * @dev Returns how much royalty is owed and to whom, based on a sale price that may be denominated in any unit of * exchange. The royalty amount is denominated and should be paid in that same unit of exchange. */ function royaltyInfo(uint256 tokenId, uint256 salePrice) external view returns (address receiver, uint256 royaltyAmount); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (token/common/ERC2981.sol) pragma solidity ^0.8.0; import "../../interfaces/IERC2981.sol"; import "../../utils/introspection/ERC165.sol"; /** * @dev Implementation of the NFT Royalty Standard, a standardized way to retrieve royalty payment information. * * Royalty information can be specified globally for all token ids via {_setDefaultRoyalty}, and/or individually for * specific token ids via {_setTokenRoyalty}. The latter takes precedence over the first. * * Royalty is specified as a fraction of sale price. {_feeDenominator} is overridable but defaults to 10000, meaning the * fee is specified in basis points by default. * * IMPORTANT: ERC-2981 only specifies a way to signal royalty information and does not enforce its payment. See * https://eips.ethereum.org/EIPS/eip-2981#optional-royalty-payments[Rationale] in the EIP. Marketplaces are expected to * voluntarily pay royalties together with sales, but note that this standard is not yet widely supported. * * _Available since v4.5._ */ abstract contract ERC2981 is IERC2981, ERC165 { struct RoyaltyInfo { address receiver; uint96 royaltyFraction; } RoyaltyInfo private _defaultRoyaltyInfo; mapping(uint256 => RoyaltyInfo) private _tokenRoyaltyInfo; /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(IERC165, ERC165) returns (bool) { return interfaceId == type(IERC2981).interfaceId || super.supportsInterface(interfaceId); } /** * @inheritdoc IERC2981 */ function royaltyInfo(uint256 _tokenId, uint256 _salePrice) public view virtual override returns (address, uint256) { RoyaltyInfo memory royalty = _tokenRoyaltyInfo[_tokenId]; if (royalty.receiver == address(0)) { royalty = _defaultRoyaltyInfo; } uint256 royaltyAmount = (_salePrice * royalty.royaltyFraction) / _feeDenominator(); return (royalty.receiver, royaltyAmount); } /** * @dev The denominator with which to interpret the fee set in {_setTokenRoyalty} and {_setDefaultRoyalty} as a * fraction of the sale price. Defaults to 10000 so fees are expressed in basis points, but may be customized by an * override. */ function _feeDenominator() internal pure virtual returns (uint96) { return 10000; } /** * @dev Sets the royalty information that all ids in this contract will default to. * * Requirements: * * - `receiver` cannot be the zero address. * - `feeNumerator` cannot be greater than the fee denominator. */ function _setDefaultRoyalty(address receiver, uint96 feeNumerator) internal virtual { require(feeNumerator <= _feeDenominator(), "ERC2981: royalty fee will exceed salePrice"); require(receiver != address(0), "ERC2981: invalid receiver"); _defaultRoyaltyInfo = RoyaltyInfo(receiver, feeNumerator); } /** * @dev Removes default royalty information. */ function _deleteDefaultRoyalty() internal virtual { delete _defaultRoyaltyInfo; } /** * @dev Sets the royalty information for a specific token id, overriding the global default. * * Requirements: * * - `receiver` cannot be the zero address. * - `feeNumerator` cannot be greater than the fee denominator. */ function _setTokenRoyalty( uint256 tokenId, address receiver, uint96 feeNumerator ) internal virtual { require(feeNumerator <= _feeDenominator(), "ERC2981: royalty fee will exceed salePrice"); require(receiver != address(0), "ERC2981: Invalid parameters"); _tokenRoyaltyInfo[tokenId] = RoyaltyInfo(receiver, feeNumerator); } /** * @dev Resets royalty information for the token id back to the global default. */ function _resetTokenRoyalty(uint256 tokenId) internal virtual { delete _tokenRoyaltyInfo[tokenId]; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.8.2) (token/ERC721/ERC721.sol) pragma solidity ^0.8.0; import "./IERC721.sol"; import "./IERC721Receiver.sol"; import "./extensions/IERC721Metadata.sol"; import "../../utils/Address.sol"; import "../../utils/Context.sol"; import "../../utils/Strings.sol"; import "../../utils/introspection/ERC165.sol"; /** * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including * the Metadata extension, but not including the Enumerable extension, which is available separately as * {ERC721Enumerable}. */ contract ERC721 is Context, ERC165, IERC721, IERC721Metadata { using Address for address; using Strings for uint256; // Token name string private _name; // Token symbol string private _symbol; // Mapping from token ID to owner address mapping(uint256 => address) private _owners; // Mapping owner address to token count mapping(address => uint256) private _balances; // Mapping from token ID to approved address mapping(uint256 => address) private _tokenApprovals; // Mapping from owner to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; /** * @dev Initializes the contract by setting a `name` and a `symbol` to the token collection. */ constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) { return interfaceId == type(IERC721).interfaceId || interfaceId == type(IERC721Metadata).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721-balanceOf}. */ function balanceOf(address owner) public view virtual override returns (uint256) { require(owner != address(0), "ERC721: address zero is not a valid owner"); return _balances[owner]; } /** * @dev See {IERC721-ownerOf}. */ function ownerOf(uint256 tokenId) public view virtual override returns (address) { address owner = _ownerOf(tokenId); require(owner != address(0), "ERC721: invalid token ID"); return owner; } /** * @dev See {IERC721Metadata-name}. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev See {IERC721Metadata-symbol}. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev See {IERC721Metadata-tokenURI}. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { _requireMinted(tokenId); string memory baseURI = _baseURI(); return bytes(baseURI).length > 0 ? string(abi.encodePacked(baseURI, tokenId.toString())) : ""; } /** * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each * token will be the concatenation of the `baseURI` and the `tokenId`. Empty * by default, can be overridden in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return ""; } /** * @dev See {IERC721-approve}. */ function approve(address to, uint256 tokenId) public virtual override { address owner = ERC721.ownerOf(tokenId); require(to != owner, "ERC721: approval to current owner"); require( _msgSender() == owner || isApprovedForAll(owner, _msgSender()), "ERC721: approve caller is not token owner or approved for all" ); _approve(to, tokenId); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view virtual override returns (address) { _requireMinted(tokenId); return _tokenApprovals[tokenId]; } /** * @dev See {IERC721-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public virtual override { _setApprovalForAll(_msgSender(), operator, approved); } /** * @dev See {IERC721-isApprovedForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev See {IERC721-transferFrom}. */ function transferFrom( address from, address to, uint256 tokenId ) public virtual override { //solhint-disable-next-line max-line-length require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: caller is not token owner or approved"); _transfer(from, to, tokenId); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public virtual override { safeTransferFrom(from, to, tokenId, ""); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory data ) public virtual override { require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: caller is not token owner or approved"); _safeTransfer(from, to, tokenId, data); } /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * `data` is additional data, it has no specified format and it is sent in call to `to`. * * This internal function is equivalent to {safeTransferFrom}, and can be used to e.g. * implement alternative mechanisms to perform token transfer, such as signature-based. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeTransfer( address from, address to, uint256 tokenId, bytes memory data ) internal virtual { _transfer(from, to, tokenId); require(_checkOnERC721Received(from, to, tokenId, data), "ERC721: transfer to non ERC721Receiver implementer"); } /** * @dev Returns the owner of the `tokenId`. Does NOT revert if token doesn't exist */ function _ownerOf(uint256 tokenId) internal view virtual returns (address) { return _owners[tokenId]; } /** * @dev Returns whether `tokenId` exists. * * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}. * * Tokens start existing when they are minted (`_mint`), * and stop existing when they are burned (`_burn`). */ function _exists(uint256 tokenId) internal view virtual returns (bool) { return _ownerOf(tokenId) != address(0); } /** * @dev Returns whether `spender` is allowed to manage `tokenId`. * * Requirements: * * - `tokenId` must exist. */ function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) { address owner = ERC721.ownerOf(tokenId); return (spender == owner || isApprovedForAll(owner, spender) || getApproved(tokenId) == spender); } /** * @dev Safely mints `tokenId` and transfers it to `to`. * * Requirements: * * - `tokenId` must not exist. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeMint(address to, uint256 tokenId) internal virtual { _safeMint(to, tokenId, ""); } /** * @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is * forwarded in {IERC721Receiver-onERC721Received} to contract recipients. */ function _safeMint( address to, uint256 tokenId, bytes memory data ) internal virtual { _mint(to, tokenId); require( _checkOnERC721Received(address(0), to, tokenId, data), "ERC721: transfer to non ERC721Receiver implementer" ); } /** * @dev Mints `tokenId` and transfers it to `to`. * * WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible * * Requirements: * * - `tokenId` must not exist. * - `to` cannot be the zero address. * * Emits a {Transfer} event. */ function _mint(address to, uint256 tokenId) internal virtual { require(to != address(0), "ERC721: mint to the zero address"); require(!_exists(tokenId), "ERC721: token already minted"); _beforeTokenTransfer(address(0), to, tokenId, 1); // Check that tokenId was not minted by `_beforeTokenTransfer` hook require(!_exists(tokenId), "ERC721: token already minted"); unchecked { // Will not overflow unless all 2**256 token ids are minted to the same owner. // Given that tokens are minted one by one, it is impossible in practice that // this ever happens. Might change if we allow batch minting. // The ERC fails to describe this case. _balances[to] += 1; } _owners[tokenId] = to; emit Transfer(address(0), to, tokenId); _afterTokenTransfer(address(0), to, tokenId, 1); } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * This is an internal function that does not check if the sender is authorized to operate on the token. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId) internal virtual { address owner = ERC721.ownerOf(tokenId); _beforeTokenTransfer(owner, address(0), tokenId, 1); // Update ownership in case tokenId was transferred by `_beforeTokenTransfer` hook owner = ERC721.ownerOf(tokenId); // Clear approvals delete _tokenApprovals[tokenId]; unchecked { // Cannot overflow, as that would require more tokens to be burned/transferred // out than the owner initially received through minting and transferring in. _balances[owner] -= 1; } delete _owners[tokenId]; emit Transfer(owner, address(0), tokenId); _afterTokenTransfer(owner, address(0), tokenId, 1); } /** * @dev Transfers `tokenId` from `from` to `to`. * As opposed to {transferFrom}, this imposes no restrictions on msg.sender. * * Requirements: * * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * * Emits a {Transfer} event. */ function _transfer( address from, address to, uint256 tokenId ) internal virtual { require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer from incorrect owner"); require(to != address(0), "ERC721: transfer to the zero address"); _beforeTokenTransfer(from, to, tokenId, 1); // Check that tokenId was not transferred by `_beforeTokenTransfer` hook require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer from incorrect owner"); // Clear approvals from the previous owner delete _tokenApprovals[tokenId]; unchecked { // `_balances[from]` cannot overflow for the same reason as described in `_burn`: // `from`'s balance is the number of token held, which is at least one before the current // transfer. // `_balances[to]` could overflow in the conditions described in `_mint`. That would require // all 2**256 token ids to be minted, which in practice is impossible. _balances[from] -= 1; _balances[to] += 1; } _owners[tokenId] = to; emit Transfer(from, to, tokenId); _afterTokenTransfer(from, to, tokenId, 1); } /** * @dev Approve `to` to operate on `tokenId` * * Emits an {Approval} event. */ function _approve(address to, uint256 tokenId) internal virtual { _tokenApprovals[tokenId] = to; emit Approval(ERC721.ownerOf(tokenId), to, tokenId); } /** * @dev Approve `operator` to operate on all of `owner` tokens * * Emits an {ApprovalForAll} event. */ function _setApprovalForAll( address owner, address operator, bool approved ) internal virtual { require(owner != operator, "ERC721: approve to caller"); _operatorApprovals[owner][operator] = approved; emit ApprovalForAll(owner, operator, approved); } /** * @dev Reverts if the `tokenId` has not been minted yet. */ function _requireMinted(uint256 tokenId) internal view virtual { require(_exists(tokenId), "ERC721: invalid token ID"); } /** * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address. * The call is not executed if the target address is not a contract. * * @param from address representing the previous owner of the given token ID * @param to target address that will receive the tokens * @param tokenId uint256 ID of the token to be transferred * @param data bytes optional data to send along with the call * @return bool whether the call correctly returned the expected magic value */ function _checkOnERC721Received( address from, address to, uint256 tokenId, bytes memory data ) private returns (bool) { if (to.isContract()) { try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, data) returns (bytes4 retval) { return retval == IERC721Receiver.onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert("ERC721: transfer to non ERC721Receiver implementer"); } else { /// @solidity memory-safe-assembly assembly { revert(add(32, reason), mload(reason)) } } } } else { return true; } } /** * @dev Hook that is called before any token transfer. This includes minting and burning. If {ERC721Consecutive} is * used, the hook may be called as part of a consecutive (batch) mint, as indicated by `batchSize` greater than 1. * * Calling conditions: * * - When `from` and `to` are both non-zero, ``from``'s tokens will be transferred to `to`. * - When `from` is zero, the tokens will be minted for `to`. * - When `to` is zero, ``from``'s tokens will be burned. * - `from` and `to` are never both zero. * - `batchSize` is non-zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256 firstTokenId, uint256 batchSize ) internal virtual {} /** * @dev Hook that is called after any token transfer. This includes minting and burning. If {ERC721Consecutive} is * used, the hook may be called as part of a consecutive (batch) mint, as indicated by `batchSize` greater than 1. * * Calling conditions: * * - When `from` and `to` are both non-zero, ``from``'s tokens were transferred to `to`. * - When `from` is zero, the tokens were minted for `to`. * - When `to` is zero, ``from``'s tokens were burned. * - `from` and `to` are never both zero. * - `batchSize` is non-zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _afterTokenTransfer( address from, address to, uint256 firstTokenId, uint256 batchSize ) internal virtual {} /** * @dev Unsafe write access to the balances, used by extensions that "mint" tokens using an {ownerOf} override. * * WARNING: Anyone calling this MUST ensure that the balances remain consistent with the ownership. The invariant * being that for any address `a` the value returned by `balanceOf(a)` must be equal to the number of tokens such * that `ownerOf(tokenId)` is `a`. */ // solhint-disable-next-line func-name-mixedcase function __unsafe_increaseBalance(address account, uint256 amount) internal { _balances[account] += amount; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Metadata.sol) pragma solidity ^0.8.0; import "../IERC721.sol"; /** * @title ERC-721 Non-Fungible Token Standard, optional metadata extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Metadata is IERC721 { /** * @dev Returns the token collection name. */ function name() external view returns (string memory); /** * @dev Returns the token collection symbol. */ function symbol() external view returns (string memory); /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) external view returns (string memory); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.8.0) (token/ERC721/IERC721.sol) pragma solidity ^0.8.0; import "../../utils/introspection/IERC165.sol"; /** * @dev Required interface of an ERC721 compliant contract. */ interface IERC721 is IERC165 { /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in ``owner``'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes calldata data ) external; /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must have been allowed to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Transfers `tokenId` token from `from` to `to`. * * WARNING: Note that the caller is responsible to confirm that the recipient is capable of receiving ERC721 * or else they may be permanently lost. Usage of {safeTransferFrom} prevents loss, though the caller must * understand this adds an external call which potentially creates a reentrancy vulnerability. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external; /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll} */ function isApprovedForAll(address owner, address operator) external view returns (bool); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.6.0) (token/ERC721/IERC721Receiver.sol) pragma solidity ^0.8.0; /** * @title ERC721 token receiver interface * @dev Interface for any contract that wants to support safeTransfers * from ERC721 asset contracts. */ interface IERC721Receiver { /** * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom} * by `operator` from `from`, this function is called. * * It must return its Solidity selector to confirm the token transfer. * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted. * * The selector can be obtained in Solidity with `IERC721Receiver.onERC721Received.selector`. */ function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.8.0) (utils/Address.sol) pragma solidity ^0.8.1; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== * * [IMPORTANT] * ==== * You shouldn't rely on `isContract` to protect against flash loan attacks! * * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract * constructor. * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize/address.code.length, which returns 0 // for contracts in construction, since the code is only stored at the end // of the constructor execution. return account.code.length > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResultFromTarget(target, success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResultFromTarget(target, success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResultFromTarget(target, success, returndata, errorMessage); } /** * @dev Tool to verify that a low level call to smart-contract was successful, and revert (either by bubbling * the revert reason or using the provided one) in case of unsuccessful call or if target was not a contract. * * _Available since v4.8._ */ function verifyCallResultFromTarget( address target, bool success, bytes memory returndata, string memory errorMessage ) internal view returns (bytes memory) { if (success) { if (returndata.length == 0) { // only check isContract if the call was successful and the return data is empty // otherwise we already know that it was a contract require(isContract(target), "Address: call to non-contract"); } return returndata; } else { _revert(returndata, errorMessage); } } /** * @dev Tool to verify that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason or using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { _revert(returndata, errorMessage); } } function _revert(bytes memory returndata, string memory errorMessage) private pure { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly /// @solidity memory-safe-assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol) pragma solidity ^0.8.0; import "./IERC165.sol"; /** * @dev Implementation of the {IERC165} interface. * * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check * for the additional interface id that will be supported. For example: * * ```solidity * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { * return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId); * } * ``` * * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation. */ abstract contract ERC165 is IERC165 { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IERC165).interfaceId; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); }
// 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 (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); } }
{ "optimizer": { "enabled": false, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "metadata": { "useLiteralContent": true }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"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":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint8","name":"quantity","type":"uint8"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"minted","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"numMinted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":"price","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"},{"internalType":"uint256","name":"_salePrice","type":"uint256"}],"name":"royaltyInfo","outputs":[{"internalType":"address","name":"","type":"address"},{"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":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"saleIsActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","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":"_price","type":"uint256"}],"name":"setPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"state","type":"bool"}],"name":"setSaleStatus","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":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60806040526611c37937e080006009553480156200001c57600080fd5b506040518060400160405280600581526020017f43656c6c730000000000000000000000000000000000000000000000000000008152506040518060400160405280600381526020017f43454c00000000000000000000000000000000000000000000000000000000008152508160009080519060200190620000a192919062000927565b508060019080519060200190620000ba92919062000927565b505050620000dd620000d16200016160201b60201c565b6200016960201b60201c565b620000f13361012c6200022f60201b60201c565b6000600190505b60328160ff16116200013e5762000128620001186200016160201b60201c565b8260ff16620003d360201b60201c565b8080620001359062000a13565b915050620000f8565b506032600a600082825462000154919062000a4c565b9250508190555062000f87565b600033905090565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6200023f620003f960201b60201c565b6bffffffffffffffffffffffff16816bffffffffffffffffffffffff161115620002a0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620002979062000b30565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141562000313576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016200030a9062000ba2565b60405180910390fd5b60405180604001604052808373ffffffffffffffffffffffffffffffffffffffff168152602001826bffffffffffffffffffffffff16815250600760008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160000160146101000a8154816bffffffffffffffffffffffff02191690836bffffffffffffffffffffffff1602179055509050505050565b620003f58282604051806020016040528060008152506200040360201b60201c565b5050565b6000612710905090565b6200041583836200047160201b60201c565b6200042a6000848484620006b860201b60201c565b6200046c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620004639062000c3a565b60405180910390fd5b505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415620004e4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620004db9062000cac565b60405180910390fd5b620004f5816200087260201b60201c565b1562000538576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016200052f9062000d1e565b60405180910390fd5b6200054e600083836001620008bb60201b60201c565b6200055f816200087260201b60201c565b15620005a2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620005999062000d1e565b60405180910390fd5b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282540192505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4620006b4600083836001620008c160201b60201c565b5050565b6000620006e68473ffffffffffffffffffffffffffffffffffffffff16620008c760201b6200123c1760201c565b1562000865578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02620007186200016160201b60201c565b8786866040518563ffffffff1660e01b81526004016200073c949392919062000e3a565b602060405180830381600087803b1580156200075757600080fd5b505af19250505080156200078b57506040513d601f19601f8201168201806040525081019062000788919062000ef0565b60015b62000814573d8060008114620007be576040519150601f19603f3d011682016040523d82523d6000602084013e620007c3565b606091505b506000815114156200080c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620008039062000c3a565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149150506200086a565b600190505b949350505050565b60008073ffffffffffffffffffffffffffffffffffffffff166200089c83620008ea60201b60201c565b73ffffffffffffffffffffffffffffffffffffffff1614159050919050565b50505050565b50505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b60006002600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b828054620009359062000f51565b90600052602060002090601f016020900481019282620009595760008555620009a5565b82601f106200097457805160ff1916838001178555620009a5565b82800160010185558215620009a5579182015b82811115620009a457825182559160200191906001019062000987565b5b509050620009b49190620009b8565b5090565b5b80821115620009d3576000816000905550600101620009b9565b5090565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600060ff82169050919050565b600062000a208262000a06565b915060ff82141562000a375762000a36620009d7565b5b600182019050919050565b6000819050919050565b600062000a598262000a42565b915062000a668362000a42565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111562000a9e5762000a9d620009d7565b5b828201905092915050565b600082825260208201905092915050565b7f455243323938313a20726f79616c7479206665652077696c6c2065786365656460008201527f2073616c65507269636500000000000000000000000000000000000000000000602082015250565b600062000b18602a8362000aa9565b915062000b258262000aba565b604082019050919050565b6000602082019050818103600083015262000b4b8162000b09565b9050919050565b7f455243323938313a20696e76616c696420726563656976657200000000000000600082015250565b600062000b8a60198362000aa9565b915062000b978262000b52565b602082019050919050565b6000602082019050818103600083015262000bbd8162000b7b565b9050919050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b600062000c2260328362000aa9565b915062000c2f8262000bc4565b604082019050919050565b6000602082019050818103600083015262000c558162000c13565b9050919050565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b600062000c9460208362000aa9565b915062000ca18262000c5c565b602082019050919050565b6000602082019050818103600083015262000cc78162000c85565b9050919050565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b600062000d06601c8362000aa9565b915062000d138262000cce565b602082019050919050565b6000602082019050818103600083015262000d398162000cf7565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600062000d6d8262000d40565b9050919050565b62000d7f8162000d60565b82525050565b62000d908162000a42565b82525050565b600081519050919050565b600082825260208201905092915050565b60005b8381101562000dd257808201518184015260208101905062000db5565b8381111562000de2576000848401525b50505050565b6000601f19601f8301169050919050565b600062000e068262000d96565b62000e12818562000da1565b935062000e2481856020860162000db2565b62000e2f8162000de8565b840191505092915050565b600060808201905062000e51600083018762000d74565b62000e60602083018662000d74565b62000e6f604083018562000d85565b818103606083015262000e83818462000df9565b905095945050505050565b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b62000eca8162000e93565b811462000ed657600080fd5b50565b60008151905062000eea8162000ebf565b92915050565b60006020828403121562000f095762000f0862000e8e565b5b600062000f198482850162000ed9565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168062000f6a57607f821691505b6020821081141562000f815762000f8062000f22565b5b50919050565b614a4e8062000f976000396000f3fe6080604052600436106101815760003560e01c80638da5cb5b116100d1578063c87b56dd1161008a578063d897833e11610064578063d897833e14610574578063e985e9c51461059d578063eb8d2444146105da578063f2fde38b1461060557610181565b8063c87b56dd146104e1578063d52079b41461051e578063d5abeb011461054957610181565b80638da5cb5b146103e557806391b7f5ed1461041057806395d89b4114610439578063a035b1fe14610464578063a22cb4651461048f578063b88d4fde146104b857610181565b80632a55205a1161013e5780636352211e116101185780636352211e146103385780636ecd23061461037557806370a0823114610391578063715018a6146103ce57610181565b80632a55205a146102ba5780633ccfd60b146102f857806342842e0e1461030f57610181565b806301ffc9a71461018657806306fdde03146101c3578063081812fc146101ee578063095ea7b31461022b5780631e7269c51461025457806323b872dd14610291575b600080fd5b34801561019257600080fd5b506101ad60048036038101906101a89190612b08565b61062e565b6040516101ba9190612b50565b60405180910390f35b3480156101cf57600080fd5b506101d8610640565b6040516101e59190612c04565b60405180910390f35b3480156101fa57600080fd5b5061021560048036038101906102109190612c5c565b6106d2565b6040516102229190612cca565b60405180910390f35b34801561023757600080fd5b50610252600480360381019061024d9190612d11565b610718565b005b34801561026057600080fd5b5061027b60048036038101906102769190612d51565b610830565b6040516102889190612d9a565b60405180910390f35b34801561029d57600080fd5b506102b860048036038101906102b39190612db5565b610850565b005b3480156102c657600080fd5b506102e160048036038101906102dc9190612e08565b6108b0565b6040516102ef929190612e57565b60405180910390f35b34801561030457600080fd5b5061030d610a9b565b005b34801561031b57600080fd5b5061033660048036038101906103319190612db5565b610aec565b005b34801561034457600080fd5b5061035f600480360381019061035a9190612c5c565b610b0c565b60405161036c9190612cca565b60405180910390f35b61038f600480360381019061038a9190612eac565b610b93565b005b34801561039d57600080fd5b506103b860048036038101906103b39190612d51565b610e36565b6040516103c59190612ed9565b60405180910390f35b3480156103da57600080fd5b506103e3610eee565b005b3480156103f157600080fd5b506103fa610f02565b6040516104079190612cca565b60405180910390f35b34801561041c57600080fd5b5061043760048036038101906104329190612c5c565b610f2c565b005b34801561044557600080fd5b5061044e610f3e565b60405161045b9190612c04565b60405180910390f35b34801561047057600080fd5b50610479610fd0565b6040516104869190612ed9565b60405180910390f35b34801561049b57600080fd5b506104b660048036038101906104b19190612f20565b610fd6565b005b3480156104c457600080fd5b506104df60048036038101906104da9190613095565b610fec565b005b3480156104ed57600080fd5b5061050860048036038101906105039190612c5c565b61104e565b6040516105159190612c04565b60405180910390f35b34801561052a57600080fd5b506105336110e0565b6040516105409190612ed9565b60405180910390f35b34801561055557600080fd5b5061055e6110e6565b60405161056b9190612ed9565b60405180910390f35b34801561058057600080fd5b5061059b60048036038101906105969190613118565b6110ec565b005b3480156105a957600080fd5b506105c460048036038101906105bf9190613145565b611111565b6040516105d19190612b50565b60405180910390f35b3480156105e657600080fd5b506105ef6111a5565b6040516105fc9190612b50565b60405180910390f35b34801561061157600080fd5b5061062c60048036038101906106279190612d51565b6111b8565b005b60006106398261125f565b9050919050565b60606000805461064f906131b4565b80601f016020809104026020016040519081016040528092919081815260200182805461067b906131b4565b80156106c85780601f1061069d576101008083540402835291602001916106c8565b820191906000526020600020905b8154815290600101906020018083116106ab57829003601f168201915b5050505050905090565b60006106dd826112d9565b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b600061072382610b0c565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610794576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161078b90613258565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff166107b3611324565b73ffffffffffffffffffffffffffffffffffffffff1614806107e257506107e1816107dc611324565b611111565b5b610821576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610818906132ea565b60405180910390fd5b61082b838361132c565b505050565b600b6020528060005260406000206000915054906101000a900460ff1681565b61086161085b611324565b826113e5565b6108a0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108979061337c565b60405180910390fd5b6108ab83838361147a565b505050565b6000806000600860008681526020019081526020016000206040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a90046bffffffffffffffffffffffff166bffffffffffffffffffffffff166bffffffffffffffffffffffff16815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff161415610a465760076040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a90046bffffffffffffffffffffffff166bffffffffffffffffffffffff166bffffffffffffffffffffffff168152505090505b6000610a50611774565b6bffffffffffffffffffffffff1682602001516bffffffffffffffffffffffff1686610a7c91906133cb565b610a869190613454565b90508160000151819350935050509250929050565b610aa361177e565b3373ffffffffffffffffffffffffffffffffffffffff166108fc479081150290604051600060405180830381858888f19350505050158015610ae9573d6000803e3d6000fd5b50565b610b0783838360405180602001604052806000815250610fec565b505050565b600080610b18836117fc565b9050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610b8a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b81906134d1565b60405180910390fd5b80915050919050565b600c60009054906101000a900460ff16610be2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bd99061353d565b60405180910390fd5b610c3b8160ff16600a54610bf6919061355d565b1115610c37576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c2e906135ff565b60405180910390fd5b60008160ff1611610c7d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c749061366b565b60405180910390fd5b600581600b60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16610cd7919061368b565b60ff161115610d1b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d129061370e565b60405180910390fd5b8060ff16600954610d2c91906133cb565b341015610d6e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d659061377a565b60405180910390fd5b60005b8160ff168160ff161015610dbf576001600a6000828254610d92919061355d565b92505081905550610dac610da4611324565b600a54611839565b8080610db79061379a565b915050610d71565b5080600b60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282829054906101000a900460ff16610e1b919061368b565b92506101000a81548160ff021916908360ff16021790555050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415610ea7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e9e90613836565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b610ef661177e565b610f006000611857565b565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b610f3461177e565b8060098190555050565b606060018054610f4d906131b4565b80601f0160208091040260200160405190810160405280929190818152602001828054610f79906131b4565b8015610fc65780601f10610f9b57610100808354040283529160200191610fc6565b820191906000526020600020905b815481529060010190602001808311610fa957829003601f168201915b5050505050905090565b60095481565b610fe8610fe1611324565b838361191d565b5050565b610ffd610ff7611324565b836113e5565b61103c576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110339061337c565b60405180910390fd5b61104884848484611a8a565b50505050565b606060008061106461105f85610b0c565b611ae6565b91509150600061107383611c37565b9050600061108083611cca565b90506110b661108e87611d5d565b82846040516020016110a293929190613a5a565b604051602081830303815290604052611ee6565b6040516020016110c69190613b19565b604051602081830303815290604052945050505050919050565b600a5481565b610c3b81565b6110f461177e565b80600c60006101000a81548160ff02191690831515021790555050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b600c60009054906101000a900460ff1681565b6111c061177e565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611230576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161122790613bad565b60405180910390fd5b61123981611857565b50565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b60007f2a55205a000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806112d257506112d18261207e565b5b9050919050565b6112e281612160565b611321576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611318906134d1565b60405180910390fd5b50565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff1661139f83610b0c565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000806113f183610b0c565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16148061143357506114328185611111565b5b8061147157508373ffffffffffffffffffffffffffffffffffffffff16611459846106d2565b73ffffffffffffffffffffffffffffffffffffffff16145b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff1661149a82610b0c565b73ffffffffffffffffffffffffffffffffffffffff16146114f0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114e790613c3f565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611560576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161155790613cd1565b60405180910390fd5b61156d83838360016121a1565b8273ffffffffffffffffffffffffffffffffffffffff1661158d82610b0c565b73ffffffffffffffffffffffffffffffffffffffff16146115e3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115da90613c3f565b60405180910390fd5b6004600082815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff02191690556001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825403925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282540192505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a461176f83838360016121a7565b505050565b6000612710905090565b611786611324565b73ffffffffffffffffffffffffffffffffffffffff166117a4610f02565b73ffffffffffffffffffffffffffffffffffffffff16146117fa576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117f190613d3d565b60405180910390fd5b565b60006002600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6118538282604051806020016040528060008152506121ad565b5050565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141561198c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161198390613da9565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611a7d9190612b50565b60405180910390a3505050565b611a9584848461147a565b611aa184848484612208565b611ae0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ad790613e3b565b60405180910390fd5b50505050565b6060806000806000611af78661239f565b92509250925060006040518061040001604052806103d8815260200161450a6103d8913990506000604051806101e001604052806101a281526020016142756101a29139905060006040518060800160405280605b8152602001614960605b9139905060006040518060800160405280605e81526020016149bb605e9139905060006040518060e0016040528060b6815260200161441760b69139905060006040518060600160405280603d81526020016144cd603d9139905060006040518060600160405280603e8152602001614922603e91399050868a878b888c89604051602001611beb9796959493929190613e5b565b604051602081830303815290604052838b848c858d604051602001611c1596959493929190613f0c565b6040516020818303038152906040529b509b5050505050505050505050915091565b606060006040518060400160405280601681526020017f646174613a746578742f68746d6c3b6261736536342c0000000000000000000081525090506000611c9d84604051602001611c899190613f6f565b604051602081830303815290604052611ee6565b90508181604051602001611cb2929190613f86565b60405160208183030381529060405292505050919050565b606060006040518060400160405280601a81526020017f646174613a696d6167652f7376672b786d6c3b6261736536342c00000000000081525090506000611d3084604051602001611d1c9190613f6f565b604051602081830303815290604052611ee6565b90508181604051602001611d45929190613f86565b60405160208183030381529060405292505050919050565b60606000821415611da5576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050611ee1565b600082905060005b60008214611dd7578080611dc090613faa565b915050600a82611dd09190613454565b9150611dad565b60008167ffffffffffffffff811115611df357611df2612f6a565b5b6040519080825280601f01601f191660200182016040528015611e255781602001600182028036833780820191505090505b50905060008290505b60008614611ed957600181611e439190613ff3565b90506000600a8088611e559190613454565b611e5f91906133cb565b87611e6a9190613ff3565b6030611e76919061368b565b905060008160f81b905080848481518110611e9457611e93614027565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a88611ed09190613454565b97505050611e2e565b819450505050505b919050565b60606000825190506000811415611f0f5760405180602001604052806000815250915050612079565b60006003600283611f20919061355d565b611f2a9190613454565b6004611f3691906133cb565b90506000602082611f47919061355d565b67ffffffffffffffff811115611f6057611f5f612f6a565b5b6040519080825280601f01601f191660200182016040528015611f925781602001600182028036833780820191505090505b50905060006040518060600160405280604081526020016148e2604091399050600181016020830160005b868110156120365760038101905062ffffff818a015116603f8160121c168401518060081b905060ff603f83600c1c1686015116810190508060081b905060ff603f8360061c1686015116810190508060081b905060ff603f831686015116810190508060e01b90508084526004840193505050611fbd565b50600386066001811461205057600281146120605761206b565b613d3d60f01b600283035261206b565b603d60f81b60018303525b508484525050819450505050505b919050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061214957507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80612159575061215882612405565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff16612182836117fc565b73ffffffffffffffffffffffffffffffffffffffff1614159050919050565b50505050565b50505050565b6121b7838361246f565b6121c46000848484612208565b612203576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121fa90613e3b565b60405180910390fd5b505050565b60006122298473ffffffffffffffffffffffffffffffffffffffff1661123c565b15612392578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612252611324565b8786866040518563ffffffff1660e01b815260040161227494939291906140ab565b602060405180830381600087803b15801561228e57600080fd5b505af19250505080156122bf57506040513d601f19601f820116820180604052508101906122bc919061410c565b60015b612342573d80600081146122ef576040519150601f19603f3d011682016040523d82523d6000602084013e6122f4565b606091505b5060008151141561233a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161233190613e3b565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050612397565b600190505b949350505050565b606080606060006123ce856040516020016123ba9190614181565b60405160208183030381529060405261268d565b90506123dd6003600883612987565b93506123ec6009600e83612987565b92506123fb600f601483612987565b9150509193909250565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156124df576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124d6906141e8565b60405180910390fd5b6124e881612160565b15612528576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161251f90614254565b60405180910390fd5b6125366000838360016121a1565b61253f81612160565b1561257f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161257690614254565b60405180910390fd5b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282540192505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46126896000838360016121a7565b5050565b606060006040518060400160405280601081526020017f303132333435363738396162636465660000000000000000000000000000000081525090506000600284516126d991906133cb565b60026126e5919061355d565b67ffffffffffffffff8111156126fe576126fd612f6a565b5b6040519080825280601f01601f1916602001820160405280156127305781602001600182028036833780820191505090505b5090507f30000000000000000000000000000000000000000000000000000000000000008160008151811061276857612767614027565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053507f7800000000000000000000000000000000000000000000000000000000000000816001815181106127cc576127cb614027565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a90535060005b845181101561297c5782600486838151811061281d5761281c614027565b5b602001015160f81c60f81b7effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916901c60f81c60ff168151811061286357612862614027565b5b602001015160f81c60f81b8260028361287c91906133cb565b6002612888919061355d565b8151811061289957612898614027565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a90535082600f60f81b8683815181106128e1576128e0614027565b5b602001015160f81c60f81b1660f81c60ff168151811061290457612903614027565b5b602001015160f81c60f81b8260028361291d91906133cb565b6003612929919061355d565b8151811061293a57612939614027565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350808061297490613faa565b9150506127fe565b508092505050919050565b60606000600185856129999190613ff3565b6129a3919061355d565b67ffffffffffffffff8111156129bc576129bb612f6a565b5b6040519080825280601f01601f1916602001820160405280156129ee5781602001600182028036833780820191505090505b50905060005b8585612a009190613ff3565b8111612a90578360018783612a15919061355d565b612a1f9190613ff3565b81518110612a3057612a2f614027565b5b602001015160f81c60f81b828281518110612a4e57612a4d614027565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053508080612a8890613faa565b9150506129f4565b50809150509392505050565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b612ae581612ab0565b8114612af057600080fd5b50565b600081359050612b0281612adc565b92915050565b600060208284031215612b1e57612b1d612aa6565b5b6000612b2c84828501612af3565b91505092915050565b60008115159050919050565b612b4a81612b35565b82525050565b6000602082019050612b656000830184612b41565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015612ba5578082015181840152602081019050612b8a565b83811115612bb4576000848401525b50505050565b6000601f19601f8301169050919050565b6000612bd682612b6b565b612be08185612b76565b9350612bf0818560208601612b87565b612bf981612bba565b840191505092915050565b60006020820190508181036000830152612c1e8184612bcb565b905092915050565b6000819050919050565b612c3981612c26565b8114612c4457600080fd5b50565b600081359050612c5681612c30565b92915050565b600060208284031215612c7257612c71612aa6565b5b6000612c8084828501612c47565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000612cb482612c89565b9050919050565b612cc481612ca9565b82525050565b6000602082019050612cdf6000830184612cbb565b92915050565b612cee81612ca9565b8114612cf957600080fd5b50565b600081359050612d0b81612ce5565b92915050565b60008060408385031215612d2857612d27612aa6565b5b6000612d3685828601612cfc565b9250506020612d4785828601612c47565b9150509250929050565b600060208284031215612d6757612d66612aa6565b5b6000612d7584828501612cfc565b91505092915050565b600060ff82169050919050565b612d9481612d7e565b82525050565b6000602082019050612daf6000830184612d8b565b92915050565b600080600060608486031215612dce57612dcd612aa6565b5b6000612ddc86828701612cfc565b9350506020612ded86828701612cfc565b9250506040612dfe86828701612c47565b9150509250925092565b60008060408385031215612e1f57612e1e612aa6565b5b6000612e2d85828601612c47565b9250506020612e3e85828601612c47565b9150509250929050565b612e5181612c26565b82525050565b6000604082019050612e6c6000830185612cbb565b612e796020830184612e48565b9392505050565b612e8981612d7e565b8114612e9457600080fd5b50565b600081359050612ea681612e80565b92915050565b600060208284031215612ec257612ec1612aa6565b5b6000612ed084828501612e97565b91505092915050565b6000602082019050612eee6000830184612e48565b92915050565b612efd81612b35565b8114612f0857600080fd5b50565b600081359050612f1a81612ef4565b92915050565b60008060408385031215612f3757612f36612aa6565b5b6000612f4585828601612cfc565b9250506020612f5685828601612f0b565b9150509250929050565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b612fa282612bba565b810181811067ffffffffffffffff82111715612fc157612fc0612f6a565b5b80604052505050565b6000612fd4612a9c565b9050612fe08282612f99565b919050565b600067ffffffffffffffff82111561300057612fff612f6a565b5b61300982612bba565b9050602081019050919050565b82818337600083830152505050565b600061303861303384612fe5565b612fca565b90508281526020810184848401111561305457613053612f65565b5b61305f848285613016565b509392505050565b600082601f83011261307c5761307b612f60565b5b813561308c848260208601613025565b91505092915050565b600080600080608085870312156130af576130ae612aa6565b5b60006130bd87828801612cfc565b94505060206130ce87828801612cfc565b93505060406130df87828801612c47565b925050606085013567ffffffffffffffff811115613100576130ff612aab565b5b61310c87828801613067565b91505092959194509250565b60006020828403121561312e5761312d612aa6565b5b600061313c84828501612f0b565b91505092915050565b6000806040838503121561315c5761315b612aa6565b5b600061316a85828601612cfc565b925050602061317b85828601612cfc565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806131cc57607f821691505b602082108114156131e0576131df613185565b5b50919050565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b6000613242602183612b76565b915061324d826131e6565b604082019050919050565b6000602082019050818103600083015261327181613235565b9050919050565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60008201527f6b656e206f776e6572206f7220617070726f76656420666f7220616c6c000000602082015250565b60006132d4603d83612b76565b91506132df82613278565b604082019050919050565b60006020820190508181036000830152613303816132c7565b9050919050565b7f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560008201527f72206f7220617070726f76656400000000000000000000000000000000000000602082015250565b6000613366602d83612b76565b91506133718261330a565b604082019050919050565b6000602082019050818103600083015261339581613359565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006133d682612c26565b91506133e183612c26565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561341a5761341961339c565b5b828202905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600061345f82612c26565b915061346a83612c26565b92508261347a57613479613425565b5b828204905092915050565b7f4552433732313a20696e76616c696420746f6b656e2049440000000000000000600082015250565b60006134bb601883612b76565b91506134c682613485565b602082019050919050565b600060208201905081810360008301526134ea816134ae565b9050919050565b7f73616c65206973206e6f74206163746976650000000000000000000000000000600082015250565b6000613527601283612b76565b9150613532826134f1565b602082019050919050565b600060208201905081810360008301526135568161351a565b9050919050565b600061356882612c26565b915061357383612c26565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156135a8576135a761339c565b5b828201905092915050565b7f696e76616c696420636c61696d00000000000000000000000000000000000000600082015250565b60006135e9600d83612b76565b91506135f4826135b3565b602082019050919050565b60006020820190508181036000830152613618816135dc565b9050919050565b7f696e76616c6964207175616e7469747900000000000000000000000000000000600082015250565b6000613655601083612b76565b91506136608261361f565b602082019050919050565b6000602082019050818103600083015261368481613648565b9050919050565b600061369682612d7e565b91506136a183612d7e565b92508260ff038211156136b7576136b661339c565b5b828201905092915050565b7f696e76616c6964207175616e7469747920706572206164647265737300000000600082015250565b60006136f8601c83612b76565b9150613703826136c2565b602082019050919050565b60006020820190508181036000830152613727816136eb565b9050919050565b7f696e76616c696420707269636500000000000000000000000000000000000000600082015250565b6000613764600d83612b76565b915061376f8261372e565b602082019050919050565b6000602082019050818103600083015261379381613757565b9050919050565b60006137a582612d7e565b915060ff8214156137b9576137b861339c565b5b600182019050919050565b7f4552433732313a2061646472657373207a65726f206973206e6f74206120766160008201527f6c6964206f776e65720000000000000000000000000000000000000000000000602082015250565b6000613820602983612b76565b915061382b826137c4565b604082019050919050565b6000602082019050818103600083015261384f81613813565b9050919050565b600081905092915050565b7f7b226e616d65223a220000000000000000000000000000000000000000000000600082015250565b6000613897600983613856565b91506138a282613861565b600982019050919050565b7f43656c6c207c2000000000000000000000000000000000000000000000000000600082015250565b60006138e3600783613856565b91506138ee826138ad565b600782019050919050565b600061390482612b6b565b61390e8185613856565b935061391e818560208601612b87565b80840191505092915050565b50565b600061393a600083613856565b91506139458261392a565b600082019050919050565b7f222c20226465736372697074696f6e223a22222c20226174747269627574657360008201527f223a22222c2022696d616765223a220000000000000000000000000000000000602082015250565b60006139ac602f83613856565b91506139b782613950565b602f82019050919050565b7f222c2022616e696d6174696f6e5f75726c223a22000000000000000000000000600082015250565b60006139f8601483613856565b9150613a03826139c2565b601482019050919050565b7f227d000000000000000000000000000000000000000000000000000000000000600082015250565b6000613a44600283613856565b9150613a4f82613a0e565b600282019050919050565b6000613a658261388a565b9150613a70826138d6565b9150613a7c82866138f9565b9150613a878261392d565b9150613a928261399f565b9150613a9e82856138f9565b9150613aa9826139eb565b9150613ab582846138f9565b9150613ac082613a37565b9150819050949350505050565b7f646174613a6170706c69636174696f6e2f6a736f6e3b6261736536342c000000600082015250565b6000613b03601d83613856565b9150613b0e82613acd565b601d82019050919050565b6000613b2482613af6565b9150613b3082846138f9565b915081905092915050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000613b97602683612b76565b9150613ba282613b3b565b604082019050919050565b60006020820190508181036000830152613bc681613b8a565b9050919050565b7f4552433732313a207472616e736665722066726f6d20696e636f72726563742060008201527f6f776e6572000000000000000000000000000000000000000000000000000000602082015250565b6000613c29602583612b76565b9150613c3482613bcd565b604082019050919050565b60006020820190508181036000830152613c5881613c1c565b9050919050565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b6000613cbb602483612b76565b9150613cc682613c5f565b604082019050919050565b60006020820190508181036000830152613cea81613cae565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000613d27602083612b76565b9150613d3282613cf1565b602082019050919050565b60006020820190508181036000830152613d5681613d1a565b9050919050565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b6000613d93601983612b76565b9150613d9e82613d5d565b602082019050919050565b60006020820190508181036000830152613dc281613d86565b9050919050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b6000613e25603283612b76565b9150613e3082613dc9565b604082019050919050565b60006020820190508181036000830152613e5481613e18565b9050919050565b6000613e67828a6138f9565b9150613e7382896138f9565b9150613e7f82886138f9565b9150613e8b82876138f9565b9150613e9782866138f9565b9150613ea382856138f9565b9150613eaf82846138f9565b915081905098975050505050505050565b7f22202f3e3c2f7376673e00000000000000000000000000000000000000000000600082015250565b6000613ef6600a83613856565b9150613f0182613ec0565b600a82019050919050565b6000613f1882896138f9565b9150613f2482886138f9565b9150613f3082876138f9565b9150613f3c82866138f9565b9150613f4882856138f9565b9150613f5482846138f9565b9150613f5f82613ee9565b9150819050979650505050505050565b6000613f7b82846138f9565b915081905092915050565b6000613f9282856138f9565b9150613f9e82846138f9565b91508190509392505050565b6000613fb582612c26565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415613fe857613fe761339c565b5b600182019050919050565b6000613ffe82612c26565b915061400983612c26565b92508282101561401c5761401b61339c565b5b828203905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b600081519050919050565b600082825260208201905092915050565b600061407d82614056565b6140878185614061565b9350614097818560208601612b87565b6140a081612bba565b840191505092915050565b60006080820190506140c06000830187612cbb565b6140cd6020830186612cbb565b6140da6040830185612e48565b81810360608301526140ec8184614072565b905095945050505050565b60008151905061410681612adc565b92915050565b60006020828403121561412257614121612aa6565b5b6000614130848285016140f7565b91505092915050565b60008160601b9050919050565b600061415182614139565b9050919050565b600061416382614146565b9050919050565b61417b61417682612ca9565b614158565b82525050565b600061418d828461416a565b60148201915081905092915050565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b60006141d2602083612b76565b91506141dd8261419c565b602082019050919050565b60006020820190508181036000830152614201816141c5565b9050919050565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b600061423e601c83612b76565b915061424982614208565b602082019050919050565b6000602082019050818103600083015261426d81614231565b905091905056fe223b6374782e66696c6c5265637428302c302c57494454482c484549474854293b666f7228766172207856616c203d20313b207856616c3c3d782b313b7856616c2b2b297b666f7228766172207956616c203d20313b207956616c3c3d792b313b207956616c2b2b297b766172206e65696768626f757253756d203d206d79476f6c5b7856616c2d315d5b7956616c5d202b206d79476f6c5b7856616c2d315d5b7956616c2d315d202b206d79476f6c5b7856616c2d315d5b7956616c2b315d202b206d79476f6c5b7856616c5d5b7956616c2d315d202b206d79476f6c5b7856616c5d5b7956616c2b315d202b206d79476f6c5b7856616c2b315d5b7956616c5d202b206d79476f6c5b7856616c2b315d5b7956616c2b315d202b206d79476f6c5b7856616c2b315d5b7956616c2d315d3b6966286d79476f6c5b7856616c5d5b7956616c5d203d3d2031297b6966286e65696768626f757253756d203d3d2032207c7c206e65696768626f757253756d203d3d2033297b676f6c546d705b7856616c5d5b7956616c5d203d20313b6374782e66696c6c5374796c65203d2022233c73766720786d6c6e733d22687474703a2f2f7777772e77332e6f72672f323030302f737667222077696474683d2233353022206865696768743d22333530223e3c726563742077696474683d2233353022206865696768743d2233353022207374796c653d2266696c6c3a7267622833372c33382c33302922202f3e3c7265637420783d2238302220793d22313130222077696474683d22343022206865696768743d22343022207374796c653d2266696c6c3a2322202f3e3c7265637420783d223230302220793d223930222077696474683d22343022206865696768743d22343022207374796c653d2266696c6c3a233c63616e7661732069643d22676f6c43616e766173223e3c2f63616e7661733e3c7374796c653e2a207b6d617267696e3a303b7d626f6479207b206261636b67726f756e643a207267622833372c33382c3330293b6865696768743a20313030253b7d3c2f7374796c653e203c7363726970743e7661722063616e766173203d20646f63756d656e742e676574456c656d656e74427949642822676f6c43616e76617322293b63616e7661732e7769647468203d2077696e646f772e696e6e657257696474683b63616e7661732e686569676874203d2077696e646f772e696e6e65724865696768743b766172205749445448203d2063616e7661732e77696474683b76617220484549474854203d2063616e7661732e6865696768743b76617220637478203d2063616e7661732e676574436f6e746578742822326422293b766172204c454e203d2031303b7661722078203d204d6174682e666c6f6f722857494454482f4c454e293b7661722079203d204845494748542f4c454e3b766172206d79476f6c3b76617220676f6c546d703b66756e6374696f6e20696e6974546d7028297b666f7228766172207856616c203d20303b207856616c3c3d782b323b7856616c2b2b297b676f6c546d705b7856616c5d203d206e657720417272617928293b666f7228766172207956616c203d20303b207956616c3c3d792b323b207956616c2b2b297b676f6c546d705b7856616c5d5b7956616c5d203d20303b7d7d7d66756e6374696f6e20696e69744d617472697828297b6d79476f6c203d206e657720417272617928293b676f6c546d70203d206e657720417272617928293b666f7228766172207856616c203d20303b207856616c3c3d782b323b7856616c2b2b297b6d79476f6c5b7856616c5d203d206e657720417272617928293b676f6c546d705b7856616c5d203d206e657720417272617928293b666f7228766172207956616c203d20303b207956616c3c3d792b323b207956616c2b2b297b676f6c546d705b7856616c5d5b7956616c5d203d20303b7661722072616e6456616c203d204d6174682e666c6f6f7228284d6174682e72616e646f6d28292a3229293b6d79476f6c5b7856616c5d5b7956616c5d203d2072616e6456616c3b6966202872616e6456616c203d3d2031297b64726177287856616c2b312c7956616c2b31293b7d7d7d7d66756e6374696f6e206472617728782c79297b6374782e66696c6c52656374284c454e2a28782d31292c4c454e2a28792d31292c4c454e2c4c454e293b7d66756e6374696f6e206e6578745374657028297b696e6974546d7028293b6374782e66696c6c5374796c65203d2022234142434445464748494a4b4c4d4e4f505152535455565758595a6162636465666768696a6b6c6d6e6f707172737475767778797a303132333435363738392b2f22202f3e3c7265637420783d223137302220793d22323130222077696474683d22343022206865696768743d22343022207374796c653d2266696c6c3a23223b64726177287856616c2c7956616c293b7d7d20656c7365207b6966286e65696768626f757253756d203d3d203329207b676f6c546d705b7856616c5d5b7956616c5d203d20313b6374782e66696c6c5374796c65203d202223223b64726177287856616c2c7956616c293b7d7d7d7d6d79476f6c203d20676f6c546d702e736c69636528293b7d696e69744d617472697828293b736574496e74657276616c286e657874537465702c203830293b3c2f7363726970743ea264697066735822122074012231d3ff2e8b29e02130dbaa941b86268c134ab8bdf2927d99c89fa2116564736f6c63430008090033
Deployed Bytecode
0x6080604052600436106101815760003560e01c80638da5cb5b116100d1578063c87b56dd1161008a578063d897833e11610064578063d897833e14610574578063e985e9c51461059d578063eb8d2444146105da578063f2fde38b1461060557610181565b8063c87b56dd146104e1578063d52079b41461051e578063d5abeb011461054957610181565b80638da5cb5b146103e557806391b7f5ed1461041057806395d89b4114610439578063a035b1fe14610464578063a22cb4651461048f578063b88d4fde146104b857610181565b80632a55205a1161013e5780636352211e116101185780636352211e146103385780636ecd23061461037557806370a0823114610391578063715018a6146103ce57610181565b80632a55205a146102ba5780633ccfd60b146102f857806342842e0e1461030f57610181565b806301ffc9a71461018657806306fdde03146101c3578063081812fc146101ee578063095ea7b31461022b5780631e7269c51461025457806323b872dd14610291575b600080fd5b34801561019257600080fd5b506101ad60048036038101906101a89190612b08565b61062e565b6040516101ba9190612b50565b60405180910390f35b3480156101cf57600080fd5b506101d8610640565b6040516101e59190612c04565b60405180910390f35b3480156101fa57600080fd5b5061021560048036038101906102109190612c5c565b6106d2565b6040516102229190612cca565b60405180910390f35b34801561023757600080fd5b50610252600480360381019061024d9190612d11565b610718565b005b34801561026057600080fd5b5061027b60048036038101906102769190612d51565b610830565b6040516102889190612d9a565b60405180910390f35b34801561029d57600080fd5b506102b860048036038101906102b39190612db5565b610850565b005b3480156102c657600080fd5b506102e160048036038101906102dc9190612e08565b6108b0565b6040516102ef929190612e57565b60405180910390f35b34801561030457600080fd5b5061030d610a9b565b005b34801561031b57600080fd5b5061033660048036038101906103319190612db5565b610aec565b005b34801561034457600080fd5b5061035f600480360381019061035a9190612c5c565b610b0c565b60405161036c9190612cca565b60405180910390f35b61038f600480360381019061038a9190612eac565b610b93565b005b34801561039d57600080fd5b506103b860048036038101906103b39190612d51565b610e36565b6040516103c59190612ed9565b60405180910390f35b3480156103da57600080fd5b506103e3610eee565b005b3480156103f157600080fd5b506103fa610f02565b6040516104079190612cca565b60405180910390f35b34801561041c57600080fd5b5061043760048036038101906104329190612c5c565b610f2c565b005b34801561044557600080fd5b5061044e610f3e565b60405161045b9190612c04565b60405180910390f35b34801561047057600080fd5b50610479610fd0565b6040516104869190612ed9565b60405180910390f35b34801561049b57600080fd5b506104b660048036038101906104b19190612f20565b610fd6565b005b3480156104c457600080fd5b506104df60048036038101906104da9190613095565b610fec565b005b3480156104ed57600080fd5b5061050860048036038101906105039190612c5c565b61104e565b6040516105159190612c04565b60405180910390f35b34801561052a57600080fd5b506105336110e0565b6040516105409190612ed9565b60405180910390f35b34801561055557600080fd5b5061055e6110e6565b60405161056b9190612ed9565b60405180910390f35b34801561058057600080fd5b5061059b60048036038101906105969190613118565b6110ec565b005b3480156105a957600080fd5b506105c460048036038101906105bf9190613145565b611111565b6040516105d19190612b50565b60405180910390f35b3480156105e657600080fd5b506105ef6111a5565b6040516105fc9190612b50565b60405180910390f35b34801561061157600080fd5b5061062c60048036038101906106279190612d51565b6111b8565b005b60006106398261125f565b9050919050565b60606000805461064f906131b4565b80601f016020809104026020016040519081016040528092919081815260200182805461067b906131b4565b80156106c85780601f1061069d576101008083540402835291602001916106c8565b820191906000526020600020905b8154815290600101906020018083116106ab57829003601f168201915b5050505050905090565b60006106dd826112d9565b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b600061072382610b0c565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610794576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161078b90613258565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff166107b3611324565b73ffffffffffffffffffffffffffffffffffffffff1614806107e257506107e1816107dc611324565b611111565b5b610821576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610818906132ea565b60405180910390fd5b61082b838361132c565b505050565b600b6020528060005260406000206000915054906101000a900460ff1681565b61086161085b611324565b826113e5565b6108a0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108979061337c565b60405180910390fd5b6108ab83838361147a565b505050565b6000806000600860008681526020019081526020016000206040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a90046bffffffffffffffffffffffff166bffffffffffffffffffffffff166bffffffffffffffffffffffff16815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff161415610a465760076040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a90046bffffffffffffffffffffffff166bffffffffffffffffffffffff166bffffffffffffffffffffffff168152505090505b6000610a50611774565b6bffffffffffffffffffffffff1682602001516bffffffffffffffffffffffff1686610a7c91906133cb565b610a869190613454565b90508160000151819350935050509250929050565b610aa361177e565b3373ffffffffffffffffffffffffffffffffffffffff166108fc479081150290604051600060405180830381858888f19350505050158015610ae9573d6000803e3d6000fd5b50565b610b0783838360405180602001604052806000815250610fec565b505050565b600080610b18836117fc565b9050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610b8a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b81906134d1565b60405180910390fd5b80915050919050565b600c60009054906101000a900460ff16610be2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bd99061353d565b60405180910390fd5b610c3b8160ff16600a54610bf6919061355d565b1115610c37576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c2e906135ff565b60405180910390fd5b60008160ff1611610c7d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c749061366b565b60405180910390fd5b600581600b60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16610cd7919061368b565b60ff161115610d1b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d129061370e565b60405180910390fd5b8060ff16600954610d2c91906133cb565b341015610d6e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d659061377a565b60405180910390fd5b60005b8160ff168160ff161015610dbf576001600a6000828254610d92919061355d565b92505081905550610dac610da4611324565b600a54611839565b8080610db79061379a565b915050610d71565b5080600b60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282829054906101000a900460ff16610e1b919061368b565b92506101000a81548160ff021916908360ff16021790555050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415610ea7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e9e90613836565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b610ef661177e565b610f006000611857565b565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b610f3461177e565b8060098190555050565b606060018054610f4d906131b4565b80601f0160208091040260200160405190810160405280929190818152602001828054610f79906131b4565b8015610fc65780601f10610f9b57610100808354040283529160200191610fc6565b820191906000526020600020905b815481529060010190602001808311610fa957829003601f168201915b5050505050905090565b60095481565b610fe8610fe1611324565b838361191d565b5050565b610ffd610ff7611324565b836113e5565b61103c576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110339061337c565b60405180910390fd5b61104884848484611a8a565b50505050565b606060008061106461105f85610b0c565b611ae6565b91509150600061107383611c37565b9050600061108083611cca565b90506110b661108e87611d5d565b82846040516020016110a293929190613a5a565b604051602081830303815290604052611ee6565b6040516020016110c69190613b19565b604051602081830303815290604052945050505050919050565b600a5481565b610c3b81565b6110f461177e565b80600c60006101000a81548160ff02191690831515021790555050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b600c60009054906101000a900460ff1681565b6111c061177e565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611230576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161122790613bad565b60405180910390fd5b61123981611857565b50565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b60007f2a55205a000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806112d257506112d18261207e565b5b9050919050565b6112e281612160565b611321576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611318906134d1565b60405180910390fd5b50565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff1661139f83610b0c565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000806113f183610b0c565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16148061143357506114328185611111565b5b8061147157508373ffffffffffffffffffffffffffffffffffffffff16611459846106d2565b73ffffffffffffffffffffffffffffffffffffffff16145b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff1661149a82610b0c565b73ffffffffffffffffffffffffffffffffffffffff16146114f0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114e790613c3f565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611560576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161155790613cd1565b60405180910390fd5b61156d83838360016121a1565b8273ffffffffffffffffffffffffffffffffffffffff1661158d82610b0c565b73ffffffffffffffffffffffffffffffffffffffff16146115e3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115da90613c3f565b60405180910390fd5b6004600082815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff02191690556001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825403925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282540192505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a461176f83838360016121a7565b505050565b6000612710905090565b611786611324565b73ffffffffffffffffffffffffffffffffffffffff166117a4610f02565b73ffffffffffffffffffffffffffffffffffffffff16146117fa576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117f190613d3d565b60405180910390fd5b565b60006002600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6118538282604051806020016040528060008152506121ad565b5050565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141561198c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161198390613da9565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611a7d9190612b50565b60405180910390a3505050565b611a9584848461147a565b611aa184848484612208565b611ae0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ad790613e3b565b60405180910390fd5b50505050565b6060806000806000611af78661239f565b92509250925060006040518061040001604052806103d8815260200161450a6103d8913990506000604051806101e001604052806101a281526020016142756101a29139905060006040518060800160405280605b8152602001614960605b9139905060006040518060800160405280605e81526020016149bb605e9139905060006040518060e0016040528060b6815260200161441760b69139905060006040518060600160405280603d81526020016144cd603d9139905060006040518060600160405280603e8152602001614922603e91399050868a878b888c89604051602001611beb9796959493929190613e5b565b604051602081830303815290604052838b848c858d604051602001611c1596959493929190613f0c565b6040516020818303038152906040529b509b5050505050505050505050915091565b606060006040518060400160405280601681526020017f646174613a746578742f68746d6c3b6261736536342c0000000000000000000081525090506000611c9d84604051602001611c899190613f6f565b604051602081830303815290604052611ee6565b90508181604051602001611cb2929190613f86565b60405160208183030381529060405292505050919050565b606060006040518060400160405280601a81526020017f646174613a696d6167652f7376672b786d6c3b6261736536342c00000000000081525090506000611d3084604051602001611d1c9190613f6f565b604051602081830303815290604052611ee6565b90508181604051602001611d45929190613f86565b60405160208183030381529060405292505050919050565b60606000821415611da5576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050611ee1565b600082905060005b60008214611dd7578080611dc090613faa565b915050600a82611dd09190613454565b9150611dad565b60008167ffffffffffffffff811115611df357611df2612f6a565b5b6040519080825280601f01601f191660200182016040528015611e255781602001600182028036833780820191505090505b50905060008290505b60008614611ed957600181611e439190613ff3565b90506000600a8088611e559190613454565b611e5f91906133cb565b87611e6a9190613ff3565b6030611e76919061368b565b905060008160f81b905080848481518110611e9457611e93614027565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a88611ed09190613454565b97505050611e2e565b819450505050505b919050565b60606000825190506000811415611f0f5760405180602001604052806000815250915050612079565b60006003600283611f20919061355d565b611f2a9190613454565b6004611f3691906133cb565b90506000602082611f47919061355d565b67ffffffffffffffff811115611f6057611f5f612f6a565b5b6040519080825280601f01601f191660200182016040528015611f925781602001600182028036833780820191505090505b50905060006040518060600160405280604081526020016148e2604091399050600181016020830160005b868110156120365760038101905062ffffff818a015116603f8160121c168401518060081b905060ff603f83600c1c1686015116810190508060081b905060ff603f8360061c1686015116810190508060081b905060ff603f831686015116810190508060e01b90508084526004840193505050611fbd565b50600386066001811461205057600281146120605761206b565b613d3d60f01b600283035261206b565b603d60f81b60018303525b508484525050819450505050505b919050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061214957507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80612159575061215882612405565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff16612182836117fc565b73ffffffffffffffffffffffffffffffffffffffff1614159050919050565b50505050565b50505050565b6121b7838361246f565b6121c46000848484612208565b612203576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121fa90613e3b565b60405180910390fd5b505050565b60006122298473ffffffffffffffffffffffffffffffffffffffff1661123c565b15612392578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612252611324565b8786866040518563ffffffff1660e01b815260040161227494939291906140ab565b602060405180830381600087803b15801561228e57600080fd5b505af19250505080156122bf57506040513d601f19601f820116820180604052508101906122bc919061410c565b60015b612342573d80600081146122ef576040519150601f19603f3d011682016040523d82523d6000602084013e6122f4565b606091505b5060008151141561233a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161233190613e3b565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050612397565b600190505b949350505050565b606080606060006123ce856040516020016123ba9190614181565b60405160208183030381529060405261268d565b90506123dd6003600883612987565b93506123ec6009600e83612987565b92506123fb600f601483612987565b9150509193909250565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156124df576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124d6906141e8565b60405180910390fd5b6124e881612160565b15612528576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161251f90614254565b60405180910390fd5b6125366000838360016121a1565b61253f81612160565b1561257f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161257690614254565b60405180910390fd5b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282540192505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46126896000838360016121a7565b5050565b606060006040518060400160405280601081526020017f303132333435363738396162636465660000000000000000000000000000000081525090506000600284516126d991906133cb565b60026126e5919061355d565b67ffffffffffffffff8111156126fe576126fd612f6a565b5b6040519080825280601f01601f1916602001820160405280156127305781602001600182028036833780820191505090505b5090507f30000000000000000000000000000000000000000000000000000000000000008160008151811061276857612767614027565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053507f7800000000000000000000000000000000000000000000000000000000000000816001815181106127cc576127cb614027565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a90535060005b845181101561297c5782600486838151811061281d5761281c614027565b5b602001015160f81c60f81b7effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916901c60f81c60ff168151811061286357612862614027565b5b602001015160f81c60f81b8260028361287c91906133cb565b6002612888919061355d565b8151811061289957612898614027565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a90535082600f60f81b8683815181106128e1576128e0614027565b5b602001015160f81c60f81b1660f81c60ff168151811061290457612903614027565b5b602001015160f81c60f81b8260028361291d91906133cb565b6003612929919061355d565b8151811061293a57612939614027565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350808061297490613faa565b9150506127fe565b508092505050919050565b60606000600185856129999190613ff3565b6129a3919061355d565b67ffffffffffffffff8111156129bc576129bb612f6a565b5b6040519080825280601f01601f1916602001820160405280156129ee5781602001600182028036833780820191505090505b50905060005b8585612a009190613ff3565b8111612a90578360018783612a15919061355d565b612a1f9190613ff3565b81518110612a3057612a2f614027565b5b602001015160f81c60f81b828281518110612a4e57612a4d614027565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053508080612a8890613faa565b9150506129f4565b50809150509392505050565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b612ae581612ab0565b8114612af057600080fd5b50565b600081359050612b0281612adc565b92915050565b600060208284031215612b1e57612b1d612aa6565b5b6000612b2c84828501612af3565b91505092915050565b60008115159050919050565b612b4a81612b35565b82525050565b6000602082019050612b656000830184612b41565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015612ba5578082015181840152602081019050612b8a565b83811115612bb4576000848401525b50505050565b6000601f19601f8301169050919050565b6000612bd682612b6b565b612be08185612b76565b9350612bf0818560208601612b87565b612bf981612bba565b840191505092915050565b60006020820190508181036000830152612c1e8184612bcb565b905092915050565b6000819050919050565b612c3981612c26565b8114612c4457600080fd5b50565b600081359050612c5681612c30565b92915050565b600060208284031215612c7257612c71612aa6565b5b6000612c8084828501612c47565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000612cb482612c89565b9050919050565b612cc481612ca9565b82525050565b6000602082019050612cdf6000830184612cbb565b92915050565b612cee81612ca9565b8114612cf957600080fd5b50565b600081359050612d0b81612ce5565b92915050565b60008060408385031215612d2857612d27612aa6565b5b6000612d3685828601612cfc565b9250506020612d4785828601612c47565b9150509250929050565b600060208284031215612d6757612d66612aa6565b5b6000612d7584828501612cfc565b91505092915050565b600060ff82169050919050565b612d9481612d7e565b82525050565b6000602082019050612daf6000830184612d8b565b92915050565b600080600060608486031215612dce57612dcd612aa6565b5b6000612ddc86828701612cfc565b9350506020612ded86828701612cfc565b9250506040612dfe86828701612c47565b9150509250925092565b60008060408385031215612e1f57612e1e612aa6565b5b6000612e2d85828601612c47565b9250506020612e3e85828601612c47565b9150509250929050565b612e5181612c26565b82525050565b6000604082019050612e6c6000830185612cbb565b612e796020830184612e48565b9392505050565b612e8981612d7e565b8114612e9457600080fd5b50565b600081359050612ea681612e80565b92915050565b600060208284031215612ec257612ec1612aa6565b5b6000612ed084828501612e97565b91505092915050565b6000602082019050612eee6000830184612e48565b92915050565b612efd81612b35565b8114612f0857600080fd5b50565b600081359050612f1a81612ef4565b92915050565b60008060408385031215612f3757612f36612aa6565b5b6000612f4585828601612cfc565b9250506020612f5685828601612f0b565b9150509250929050565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b612fa282612bba565b810181811067ffffffffffffffff82111715612fc157612fc0612f6a565b5b80604052505050565b6000612fd4612a9c565b9050612fe08282612f99565b919050565b600067ffffffffffffffff82111561300057612fff612f6a565b5b61300982612bba565b9050602081019050919050565b82818337600083830152505050565b600061303861303384612fe5565b612fca565b90508281526020810184848401111561305457613053612f65565b5b61305f848285613016565b509392505050565b600082601f83011261307c5761307b612f60565b5b813561308c848260208601613025565b91505092915050565b600080600080608085870312156130af576130ae612aa6565b5b60006130bd87828801612cfc565b94505060206130ce87828801612cfc565b93505060406130df87828801612c47565b925050606085013567ffffffffffffffff811115613100576130ff612aab565b5b61310c87828801613067565b91505092959194509250565b60006020828403121561312e5761312d612aa6565b5b600061313c84828501612f0b565b91505092915050565b6000806040838503121561315c5761315b612aa6565b5b600061316a85828601612cfc565b925050602061317b85828601612cfc565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806131cc57607f821691505b602082108114156131e0576131df613185565b5b50919050565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b6000613242602183612b76565b915061324d826131e6565b604082019050919050565b6000602082019050818103600083015261327181613235565b9050919050565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60008201527f6b656e206f776e6572206f7220617070726f76656420666f7220616c6c000000602082015250565b60006132d4603d83612b76565b91506132df82613278565b604082019050919050565b60006020820190508181036000830152613303816132c7565b9050919050565b7f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560008201527f72206f7220617070726f76656400000000000000000000000000000000000000602082015250565b6000613366602d83612b76565b91506133718261330a565b604082019050919050565b6000602082019050818103600083015261339581613359565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006133d682612c26565b91506133e183612c26565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561341a5761341961339c565b5b828202905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600061345f82612c26565b915061346a83612c26565b92508261347a57613479613425565b5b828204905092915050565b7f4552433732313a20696e76616c696420746f6b656e2049440000000000000000600082015250565b60006134bb601883612b76565b91506134c682613485565b602082019050919050565b600060208201905081810360008301526134ea816134ae565b9050919050565b7f73616c65206973206e6f74206163746976650000000000000000000000000000600082015250565b6000613527601283612b76565b9150613532826134f1565b602082019050919050565b600060208201905081810360008301526135568161351a565b9050919050565b600061356882612c26565b915061357383612c26565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156135a8576135a761339c565b5b828201905092915050565b7f696e76616c696420636c61696d00000000000000000000000000000000000000600082015250565b60006135e9600d83612b76565b91506135f4826135b3565b602082019050919050565b60006020820190508181036000830152613618816135dc565b9050919050565b7f696e76616c6964207175616e7469747900000000000000000000000000000000600082015250565b6000613655601083612b76565b91506136608261361f565b602082019050919050565b6000602082019050818103600083015261368481613648565b9050919050565b600061369682612d7e565b91506136a183612d7e565b92508260ff038211156136b7576136b661339c565b5b828201905092915050565b7f696e76616c6964207175616e7469747920706572206164647265737300000000600082015250565b60006136f8601c83612b76565b9150613703826136c2565b602082019050919050565b60006020820190508181036000830152613727816136eb565b9050919050565b7f696e76616c696420707269636500000000000000000000000000000000000000600082015250565b6000613764600d83612b76565b915061376f8261372e565b602082019050919050565b6000602082019050818103600083015261379381613757565b9050919050565b60006137a582612d7e565b915060ff8214156137b9576137b861339c565b5b600182019050919050565b7f4552433732313a2061646472657373207a65726f206973206e6f74206120766160008201527f6c6964206f776e65720000000000000000000000000000000000000000000000602082015250565b6000613820602983612b76565b915061382b826137c4565b604082019050919050565b6000602082019050818103600083015261384f81613813565b9050919050565b600081905092915050565b7f7b226e616d65223a220000000000000000000000000000000000000000000000600082015250565b6000613897600983613856565b91506138a282613861565b600982019050919050565b7f43656c6c207c2000000000000000000000000000000000000000000000000000600082015250565b60006138e3600783613856565b91506138ee826138ad565b600782019050919050565b600061390482612b6b565b61390e8185613856565b935061391e818560208601612b87565b80840191505092915050565b50565b600061393a600083613856565b91506139458261392a565b600082019050919050565b7f222c20226465736372697074696f6e223a22222c20226174747269627574657360008201527f223a22222c2022696d616765223a220000000000000000000000000000000000602082015250565b60006139ac602f83613856565b91506139b782613950565b602f82019050919050565b7f222c2022616e696d6174696f6e5f75726c223a22000000000000000000000000600082015250565b60006139f8601483613856565b9150613a03826139c2565b601482019050919050565b7f227d000000000000000000000000000000000000000000000000000000000000600082015250565b6000613a44600283613856565b9150613a4f82613a0e565b600282019050919050565b6000613a658261388a565b9150613a70826138d6565b9150613a7c82866138f9565b9150613a878261392d565b9150613a928261399f565b9150613a9e82856138f9565b9150613aa9826139eb565b9150613ab582846138f9565b9150613ac082613a37565b9150819050949350505050565b7f646174613a6170706c69636174696f6e2f6a736f6e3b6261736536342c000000600082015250565b6000613b03601d83613856565b9150613b0e82613acd565b601d82019050919050565b6000613b2482613af6565b9150613b3082846138f9565b915081905092915050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000613b97602683612b76565b9150613ba282613b3b565b604082019050919050565b60006020820190508181036000830152613bc681613b8a565b9050919050565b7f4552433732313a207472616e736665722066726f6d20696e636f72726563742060008201527f6f776e6572000000000000000000000000000000000000000000000000000000602082015250565b6000613c29602583612b76565b9150613c3482613bcd565b604082019050919050565b60006020820190508181036000830152613c5881613c1c565b9050919050565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b6000613cbb602483612b76565b9150613cc682613c5f565b604082019050919050565b60006020820190508181036000830152613cea81613cae565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000613d27602083612b76565b9150613d3282613cf1565b602082019050919050565b60006020820190508181036000830152613d5681613d1a565b9050919050565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b6000613d93601983612b76565b9150613d9e82613d5d565b602082019050919050565b60006020820190508181036000830152613dc281613d86565b9050919050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b6000613e25603283612b76565b9150613e3082613dc9565b604082019050919050565b60006020820190508181036000830152613e5481613e18565b9050919050565b6000613e67828a6138f9565b9150613e7382896138f9565b9150613e7f82886138f9565b9150613e8b82876138f9565b9150613e9782866138f9565b9150613ea382856138f9565b9150613eaf82846138f9565b915081905098975050505050505050565b7f22202f3e3c2f7376673e00000000000000000000000000000000000000000000600082015250565b6000613ef6600a83613856565b9150613f0182613ec0565b600a82019050919050565b6000613f1882896138f9565b9150613f2482886138f9565b9150613f3082876138f9565b9150613f3c82866138f9565b9150613f4882856138f9565b9150613f5482846138f9565b9150613f5f82613ee9565b9150819050979650505050505050565b6000613f7b82846138f9565b915081905092915050565b6000613f9282856138f9565b9150613f9e82846138f9565b91508190509392505050565b6000613fb582612c26565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415613fe857613fe761339c565b5b600182019050919050565b6000613ffe82612c26565b915061400983612c26565b92508282101561401c5761401b61339c565b5b828203905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b600081519050919050565b600082825260208201905092915050565b600061407d82614056565b6140878185614061565b9350614097818560208601612b87565b6140a081612bba565b840191505092915050565b60006080820190506140c06000830187612cbb565b6140cd6020830186612cbb565b6140da6040830185612e48565b81810360608301526140ec8184614072565b905095945050505050565b60008151905061410681612adc565b92915050565b60006020828403121561412257614121612aa6565b5b6000614130848285016140f7565b91505092915050565b60008160601b9050919050565b600061415182614139565b9050919050565b600061416382614146565b9050919050565b61417b61417682612ca9565b614158565b82525050565b600061418d828461416a565b60148201915081905092915050565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b60006141d2602083612b76565b91506141dd8261419c565b602082019050919050565b60006020820190508181036000830152614201816141c5565b9050919050565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b600061423e601c83612b76565b915061424982614208565b602082019050919050565b6000602082019050818103600083015261426d81614231565b905091905056fe223b6374782e66696c6c5265637428302c302c57494454482c484549474854293b666f7228766172207856616c203d20313b207856616c3c3d782b313b7856616c2b2b297b666f7228766172207956616c203d20313b207956616c3c3d792b313b207956616c2b2b297b766172206e65696768626f757253756d203d206d79476f6c5b7856616c2d315d5b7956616c5d202b206d79476f6c5b7856616c2d315d5b7956616c2d315d202b206d79476f6c5b7856616c2d315d5b7956616c2b315d202b206d79476f6c5b7856616c5d5b7956616c2d315d202b206d79476f6c5b7856616c5d5b7956616c2b315d202b206d79476f6c5b7856616c2b315d5b7956616c5d202b206d79476f6c5b7856616c2b315d5b7956616c2b315d202b206d79476f6c5b7856616c2b315d5b7956616c2d315d3b6966286d79476f6c5b7856616c5d5b7956616c5d203d3d2031297b6966286e65696768626f757253756d203d3d2032207c7c206e65696768626f757253756d203d3d2033297b676f6c546d705b7856616c5d5b7956616c5d203d20313b6374782e66696c6c5374796c65203d2022233c73766720786d6c6e733d22687474703a2f2f7777772e77332e6f72672f323030302f737667222077696474683d2233353022206865696768743d22333530223e3c726563742077696474683d2233353022206865696768743d2233353022207374796c653d2266696c6c3a7267622833372c33382c33302922202f3e3c7265637420783d2238302220793d22313130222077696474683d22343022206865696768743d22343022207374796c653d2266696c6c3a2322202f3e3c7265637420783d223230302220793d223930222077696474683d22343022206865696768743d22343022207374796c653d2266696c6c3a233c63616e7661732069643d22676f6c43616e766173223e3c2f63616e7661733e3c7374796c653e2a207b6d617267696e3a303b7d626f6479207b206261636b67726f756e643a207267622833372c33382c3330293b6865696768743a20313030253b7d3c2f7374796c653e203c7363726970743e7661722063616e766173203d20646f63756d656e742e676574456c656d656e74427949642822676f6c43616e76617322293b63616e7661732e7769647468203d2077696e646f772e696e6e657257696474683b63616e7661732e686569676874203d2077696e646f772e696e6e65724865696768743b766172205749445448203d2063616e7661732e77696474683b76617220484549474854203d2063616e7661732e6865696768743b76617220637478203d2063616e7661732e676574436f6e746578742822326422293b766172204c454e203d2031303b7661722078203d204d6174682e666c6f6f722857494454482f4c454e293b7661722079203d204845494748542f4c454e3b766172206d79476f6c3b76617220676f6c546d703b66756e6374696f6e20696e6974546d7028297b666f7228766172207856616c203d20303b207856616c3c3d782b323b7856616c2b2b297b676f6c546d705b7856616c5d203d206e657720417272617928293b666f7228766172207956616c203d20303b207956616c3c3d792b323b207956616c2b2b297b676f6c546d705b7856616c5d5b7956616c5d203d20303b7d7d7d66756e6374696f6e20696e69744d617472697828297b6d79476f6c203d206e657720417272617928293b676f6c546d70203d206e657720417272617928293b666f7228766172207856616c203d20303b207856616c3c3d782b323b7856616c2b2b297b6d79476f6c5b7856616c5d203d206e657720417272617928293b676f6c546d705b7856616c5d203d206e657720417272617928293b666f7228766172207956616c203d20303b207956616c3c3d792b323b207956616c2b2b297b676f6c546d705b7856616c5d5b7956616c5d203d20303b7661722072616e6456616c203d204d6174682e666c6f6f7228284d6174682e72616e646f6d28292a3229293b6d79476f6c5b7856616c5d5b7956616c5d203d2072616e6456616c3b6966202872616e6456616c203d3d2031297b64726177287856616c2b312c7956616c2b31293b7d7d7d7d66756e6374696f6e206472617728782c79297b6374782e66696c6c52656374284c454e2a28782d31292c4c454e2a28792d31292c4c454e2c4c454e293b7d66756e6374696f6e206e6578745374657028297b696e6974546d7028293b6374782e66696c6c5374796c65203d2022234142434445464748494a4b4c4d4e4f505152535455565758595a6162636465666768696a6b6c6d6e6f707172737475767778797a303132333435363738392b2f22202f3e3c7265637420783d223137302220793d22323130222077696474683d22343022206865696768743d22343022207374796c653d2266696c6c3a23223b64726177287856616c2c7956616c293b7d7d20656c7365207b6966286e65696768626f757253756d203d3d203329207b676f6c546d705b7856616c5d5b7956616c5d203d20313b6374782e66696c6c5374796c65203d202223223b64726177287856616c2c7956616c293b7d7d7d7d6d79476f6c203d20676f6c546d702e736c69636528293b7d696e69744d617472697828293b736574496e74657276616c286e657874537465702c203830293b3c2f7363726970743ea264697066735822122074012231d3ff2e8b29e02130dbaa941b86268c134ab8bdf2927d99c89fa2116564736f6c63430008090033
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.