Feature Tip: Add private address tag to any address under My Name Tag !
ERC-721
NFT
Overview
Max Total Supply
1,802 MORPHY
Holders
510
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
1 MORPHYLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
This contract may be a proxy contract. Click on More Options and select Is this a proxy? to confirm and enable the "Read as Proxy" & "Write as Proxy" tabs.
Contract Name:
Morphys
Compiler Version
v0.8.7+commit.e28d00a7
Optimization Enabled:
No with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity >=0.8.0 <0.9.0; import "@openzeppelin/contracts/token/ERC721/ERC721.sol"; import "@openzeppelin/contracts/utils/Strings.sol"; import "@openzeppelin/contracts/utils/math/Math.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/utils/Counters.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol"; import "@openzeppelin/contracts/utils/Address.sol"; import "./Flowtys.sol"; /* @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@. @@@@@@@@@@@@@@@@@@@@@ @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ ,@@@@@@@@@@@@@@@@@@@@ @@@@@@@@@@@@@@ @@@@@@@@@@@ /@@@@@@@@@@@@@@@ @@@@@@@@@@@ @@@@@@@@@@@@@ @@@@@@@@@@@@@@@@@@@ @@@@@@@@@@@ @@@@@ @@@@@@@@@@@@@@ @@@@@ @@@@@@@@@@ @@@@@@@@@@ @ @ @@@@@@@@@@@@@@@@@@@ @@@@@@@ @@ @@ @@@@@@@@@@@@@@@ @ @@@ @@@@@@@@@@ @ @ @@@@@@@ @ @ @@@@@@@@@@@@@@@@@@@@@@ @@@@@@ @@@ @@ @@ @@@@@ @@@@@@* *@@@@@@@@@@@@@@@@ @ @@ @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ @@@@@ @@ @@@@ #@@ *@@@ (@@@ @@@@ @@@@ @@@@@@@@ @@@@@@ @@ @@@@@ @@@ @@ @@@ @@@ @@@ @@@@ @@@ @@@@@@ ,@@@@@@@ *@@@ @ @@ @@@@@ @@@@&@ @@ @@@ @@@@@@ @@@@ @@@ @@ @@@@@ @@@@@@@@@@ @@@@@@@ @@@@@@ @@@@@@ @@@@@@@ @@@@ @@@@@ &@@@ @@@@@ @@@@@@@@@@@@@@@@@@@@@@@ @@@@ @@@@@@ @@@@@@@@@@@@@@@ @@@@@@@@ @@@@@ @@@@@ @@@@@@@ @@@@@@@@@ @@@ @@@@@@ @@@@@@@@@@@@@@ *@@@@@@ @@@@@@ @@@@@ *@@@@ @@ @@@@@ @@ @@@@ @@@@@@@@@@@@@@ @@ @@@@@@@ .@@@@@ @@ .@@@@ @@@ @@ @@@@@ @@@@ @@@@@ @@@@@@@@@@@@@@% .@@@ @@@@@@@@ @@@@@ @@@ @@@@ @@@ @@@ @@@@@ @@@@ @@@@ @@@@@@@@@@@@@@@ @@@@ @@@@@@@@@@@@@@@@ @@ @@@@@ @@@@ @@ @ @@@@ @@@@@@ @@@@ @@@@@ @@@@@@@@@@@@@@@ @@@@@@@@ @@@@@@@@@@@@@@@ @@@ @@@@@@@@ @@@@@@@ @ @@@ @@& @@@@@@ @@@@@@@@@@@@@@@@@@@% @@@@@@@@@@@@@@@@@@@@@@@@@@@@@ @@@@@@@@@/ @@@@@@@@@@@@@@@@@% @@@@@@@@@@@@@@@@@@@@@@@@@ (@@@@@@@@@@@@@@@ @@@@@@@@@@ /@@@@@@ @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@,@@@@@@@@@@@@@@ @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ */ contract Morphys is ERC721, ERC721Enumerable, Ownable { using Math for uint256; using Strings for string; using Strings for uint256; uint256 public constant MAX_MORPHYS = 10000; uint256 public maxPerMint = 100; bool public mintingIsActive = false; bool public morphingIsActive = false; // current seasonal collection baseURI and is used for any new morphing / minting // Morphing (allowed only to a current seasonal collection): e.g. Morphy Halloween => Morphy Christmas // Minting (only once): Flowty => Morphy current collection string public currentSeasonalCollectionURI; // Maximum price per minting one Morphy for a Flowty owner; uint256 public mintingPriceTier1 = 0.012 ether; uint256 public mintingPriceTier2 = 0.018 ether; uint256 public mintingPriceTier3 = 0.024 ether; uint256 public mintingMaxPrice = 0.03 ether; // Last minted Flowty at 0xdcb21cd4f3a7d5ab09df28e9aef697c0e895507a1fc7b97c533962845fdfe92d uint256 public lastFlowtyMintedBlock = 13263728; // Number of blocks between pricing steps. Around 1 Week assuming 15s interval between blocks uint256 public agingPricingThreshold = 40320; // Price per morphing (changing the look of Morhpy for a new season). // Idea that it will be free if you have aged Flowty in your wallet (same tokenId as Morphy). // The exact age stage is set for each season starting with Scratched uint256 public morphingPrice = 0.01 ether; // Starting with Scratched Flowtys.Age public morhpingAgeThreeshold = Flowtys.Age.Scratched; // mapping between original Flowty tokenId => Morphy tokenId, to allow minting of unminted mapping(uint256 => bool) private _morphysMinted; // Mapping between tokenId => seasonal collectiong baseURI mapping(uint256 => string) private _morphysRegistry; address public flowtysContract = 0x52607cb9c342821ea41ad265B9Bb6a23BEa49468; event MorphyMinted(uint256 tokenId); event MorphyUpdated(uint256 tokenId, string newBaseURI); constructor(string memory baseURI) ERC721("Morphys", "MORPHY") { currentSeasonalCollectionURI = baseURI; } /* * Withdraw funds */ function withdraw() public onlyOwner { require(address(this).balance > 0, "Insufficient balance"); uint256 balance = address(this).balance; Address.sendValue(payable(msg.sender), balance); } /* * The ground cost of Morphying, unless free because a Flowty has required age stage */ function setMorphingCost(uint256 newCost) public onlyOwner { morphingPrice = newCost; } /* * Set the minimum required age stage of a Flowty to morph for free */ function setMorphingFreeStage(Flowtys.Age age) public onlyOwner { morhpingAgeThreeshold = age; } /* * Minting tiers, starts with Free for holders */ function setMintingMaxCost(uint256 newCostTier1, uint256 newCostTier2, uint256 newCostTier3, uint256 newCostMax) public onlyOwner { mintingPriceTier1 = newCostTier1; mintingPriceTier2 = newCostTier2; mintingPriceTier3 = newCostTier3; mintingMaxPrice = newCostMax; } function setMintMax(uint256 newMax) public onlyOwner { maxPerMint = newMax; } //--------------------------------------------------------------------------------- /** * Current on-going collection that is avaiable to morph or use as base for minting */ function setCurrentCollectionBaseURI(string memory newuri) public onlyOwner { currentSeasonalCollectionURI = newuri; } /* * Pause morphing if active, make active if paused */ function flipMorphingState() public onlyOwner { morphingIsActive = !morphingIsActive; } /* * Pause minting if active, make active if paused */ function flipMintingState() public onlyOwner { mintingIsActive = !mintingIsActive; } /** * Reserve Morphyd from the current Flowtys reserve */ function reserveMorphys() public onlyOwner { Flowtys flowtys = Flowtys(flowtysContract); uint balance = flowtys.balanceOf(msg.sender); for(uint i = 0; i < balance; i++) { createMorphy(msg.sender, flowtys.tokenOfOwnerByIndex(msg.sender, i)); } } /** * Calculate minting price based on the age of an original Flowty in the wallet * Pricing (per Morphy): * 1st Week after initial minting => Free to Mint Morphy * 2nd Week after initial minting => mintingPriceTier1 * 3rd Week after initial minting => mintingPriceTier2 * 4th Week after initial minting => mintingPriceTier3 * 5th Week and beyond after initial minting => mintingMaxPrice */ function mintPrice(uint256 tokenId) public view returns (uint256) { Flowtys flowtys = Flowtys(flowtysContract); uint256 startingBlock = flowtys.getAgeStaringBlock(tokenId); if (startingBlock <= (lastFlowtyMintedBlock + agingPricingThreshold)) { return 0; } else if (startingBlock <= (lastFlowtyMintedBlock + agingPricingThreshold * 2)) { return mintingPriceTier1; } else if (startingBlock <= (lastFlowtyMintedBlock + agingPricingThreshold * 3)) { return mintingPriceTier2; } else if (startingBlock <= (lastFlowtyMintedBlock + agingPricingThreshold * 4)) { return mintingPriceTier3; } return mintingMaxPrice; } function mintPriceForAll(uint256[] memory tokenIds) public view returns (uint256[] memory) { require(tokenIds.length <= MAX_MORPHYS, "Can not calculate price for count exceeding MAX_MORPHYS"); uint256[] memory pricing = new uint256[](tokenIds.length); for(uint i = 0; i < tokenIds.length; i++) { pricing[i] = mintPrice(tokenIds[i]); } return pricing; } /** * Calculates the total price to mint given set of Morphys (returns wei) */ function getTotalPrice(uint256[] memory tokenIds) public view returns (uint256) { uint256 totalPrice = 0; for(uint i = 0; i < tokenIds.length; i++) { totalPrice = totalPrice + mintPrice(tokenIds[i]); } return totalPrice; } /** * Mints Morphy (only allowed if you holding Flowty and corresponding Morphy has not been minted) */ function mintMorphy(uint256[] memory tokenIds) public payable { require(tokenIds.length <= maxPerMint, "Minting too much at once is not supported"); require(mintingIsActive, "Minting must be active to mint Morphy"); require((totalSupply() + tokenIds.length) <= MAX_MORPHYS, "Mint would exceed max supply of Morhpys"); Flowtys flowtys = Flowtys(flowtysContract); for(uint i = 0; i < tokenIds.length; i++) { // Allow minting if we are the owner of original Flowty, skip otherwise if (flowtys.ownerOf(tokenIds[i]) != msg.sender) { require(false, "Attempt to mint Morphy for non owned Flowty"); } } require(getTotalPrice(tokenIds) == msg.value, "Ether value sent is not correct"); for(uint i = 0; i < tokenIds.length; i++) { createMorphy(msg.sender, tokenIds[i]); } } /** * Morphing existing Morphys. * Changing current baseURI of a token to a new one, that is current Season topic. */ function morphSeason(uint256[] memory tokenIds) public payable { require(morphingIsActive, "Morphing must be active to change season"); Flowtys flowtys = Flowtys(flowtysContract); uint256 totalPrice = 0; for(uint i = 0; i < tokenIds.length; i++) { // Allow morphing for owner only if (ownerOf(tokenIds[i]) != msg.sender || !_exists(tokenIds[i])) { require(false, "Trying to morph non existing/not owned Morphy"); } // If you own a Flowty that has changed aging to minimum require => Morphing is free if (!(flowtys.ownerOf(tokenIds[i]) == msg.sender && flowtys.getAge(tokenIds[i]) >= morhpingAgeThreeshold)) { totalPrice = totalPrice + morphingPrice; } } require(totalPrice == msg.value, "Ether value sent is not correct"); for(uint i = 0; i < tokenIds.length; i++) { _morphysRegistry[tokenIds[i]] = currentSeasonalCollectionURI; emit MorphyUpdated(tokenIds[i], currentSeasonalCollectionURI); } } /// Internal function createMorphy(address mintAddress, uint256 tokenId) private { if (tokenId < MAX_MORPHYS && !_exists(tokenId) && _morphysMinted[tokenId] == false) { _safeMint(mintAddress, tokenId); _morphysMinted[tokenId] = true; _morphysRegistry[tokenId] = currentSeasonalCollectionURI; // fire event in logs emit MorphyMinted(tokenId); } } /// ERC721 related /** * @dev See {ERC721Metadata-tokenURI}. */ function tokenURI(uint256 tokenId) public view override returns (string memory) { require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token"); string memory baseURI = _morphysRegistry[tokenId]; return bytes(baseURI).length > 0 ? string(abi.encodePacked(baseURI, tokenId.toString())) : ""; } function _baseURI() internal view override returns (string memory) { return currentSeasonalCollectionURI; } function _beforeTokenTransfer(address from, address to, uint256 tokenId) internal override(ERC721, ERC721Enumerable) { super._beforeTokenTransfer(from, to, tokenId); } function supportsInterface(bytes4 interfaceId) public view override(ERC721, ERC721Enumerable) returns (bool) { return super.supportsInterface(interfaceId); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "./IERC721.sol"; import "./IERC721Receiver.sol"; import "./extensions/IERC721Metadata.sol"; import "../../utils/Address.sol"; import "../../utils/Context.sol"; import "../../utils/Strings.sol"; import "../../utils/introspection/ERC165.sol"; /** * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including * the Metadata extension, but not including the Enumerable extension, which is available separately as * {ERC721Enumerable}. */ contract ERC721 is Context, ERC165, IERC721, IERC721Metadata { using Address for address; using Strings for uint256; // Token name string private _name; // Token symbol string private _symbol; // Mapping from token ID to owner address mapping(uint256 => address) private _owners; // Mapping owner address to token count mapping(address => uint256) private _balances; // Mapping from token ID to approved address mapping(uint256 => address) private _tokenApprovals; // Mapping from owner to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; /** * @dev Initializes the contract by setting a `name` and a `symbol` to the token collection. */ constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) { return interfaceId == type(IERC721).interfaceId || interfaceId == type(IERC721Metadata).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721-balanceOf}. */ function balanceOf(address owner) public view virtual override returns (uint256) { require(owner != address(0), "ERC721: balance query for the zero address"); return _balances[owner]; } /** * @dev See {IERC721-ownerOf}. */ function ownerOf(uint256 tokenId) public view virtual override returns (address) { address owner = _owners[tokenId]; require(owner != address(0), "ERC721: owner query for nonexistent token"); return owner; } /** * @dev See {IERC721Metadata-name}. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev See {IERC721Metadata-symbol}. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev See {IERC721Metadata-tokenURI}. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token"); string memory baseURI = _baseURI(); return bytes(baseURI).length > 0 ? string(abi.encodePacked(baseURI, tokenId.toString())) : ""; } /** * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each * token will be the concatenation of the `baseURI` and the `tokenId`. Empty * by default, can be overriden in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return ""; } /** * @dev See {IERC721-approve}. */ function approve(address to, uint256 tokenId) public virtual override { address owner = ERC721.ownerOf(tokenId); require(to != owner, "ERC721: approval to current owner"); require( _msgSender() == owner || isApprovedForAll(owner, _msgSender()), "ERC721: approve caller is not owner nor approved for all" ); _approve(to, tokenId); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view virtual override returns (address) { require(_exists(tokenId), "ERC721: approved query for nonexistent token"); return _tokenApprovals[tokenId]; } /** * @dev See {IERC721-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public virtual override { require(operator != _msgSender(), "ERC721: approve to caller"); _operatorApprovals[_msgSender()][operator] = approved; emit ApprovalForAll(_msgSender(), operator, approved); } /** * @dev See {IERC721-isApprovedForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev See {IERC721-transferFrom}. */ function transferFrom( address from, address to, uint256 tokenId ) public virtual override { //solhint-disable-next-line max-line-length require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved"); _transfer(from, to, tokenId); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public virtual override { safeTransferFrom(from, to, tokenId, ""); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory _data ) public virtual override { require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved"); _safeTransfer(from, to, tokenId, _data); } /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * `_data` is additional data, it has no specified format and it is sent in call to `to`. * * This internal function is equivalent to {safeTransferFrom}, and can be used to e.g. * implement alternative mechanisms to perform token transfer, such as signature-based. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeTransfer( address from, address to, uint256 tokenId, bytes memory _data ) internal virtual { _transfer(from, to, tokenId); require(_checkOnERC721Received(from, to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer"); } /** * @dev Returns whether `tokenId` exists. * * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}. * * Tokens start existing when they are minted (`_mint`), * and stop existing when they are burned (`_burn`). */ function _exists(uint256 tokenId) internal view virtual returns (bool) { return _owners[tokenId] != address(0); } /** * @dev Returns whether `spender` is allowed to manage `tokenId`. * * Requirements: * * - `tokenId` must exist. */ function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) { require(_exists(tokenId), "ERC721: operator query for nonexistent token"); address owner = ERC721.ownerOf(tokenId); return (spender == owner || getApproved(tokenId) == spender || isApprovedForAll(owner, spender)); } /** * @dev Safely mints `tokenId` and transfers it to `to`. * * Requirements: * * - `tokenId` must not exist. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeMint(address to, uint256 tokenId) internal virtual { _safeMint(to, tokenId, ""); } /** * @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is * forwarded in {IERC721Receiver-onERC721Received} to contract recipients. */ function _safeMint( address to, uint256 tokenId, bytes memory _data ) internal virtual { _mint(to, tokenId); require( _checkOnERC721Received(address(0), to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer" ); } /** * @dev Mints `tokenId` and transfers it to `to`. * * WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible * * Requirements: * * - `tokenId` must not exist. * - `to` cannot be the zero address. * * Emits a {Transfer} event. */ function _mint(address to, uint256 tokenId) internal virtual { require(to != address(0), "ERC721: mint to the zero address"); require(!_exists(tokenId), "ERC721: token already minted"); _beforeTokenTransfer(address(0), to, tokenId); _balances[to] += 1; _owners[tokenId] = to; emit Transfer(address(0), to, tokenId); } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId) internal virtual { address owner = ERC721.ownerOf(tokenId); _beforeTokenTransfer(owner, address(0), tokenId); // Clear approvals _approve(address(0), tokenId); _balances[owner] -= 1; delete _owners[tokenId]; emit Transfer(owner, address(0), tokenId); } /** * @dev Transfers `tokenId` from `from` to `to`. * As opposed to {transferFrom}, this imposes no restrictions on msg.sender. * * Requirements: * * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * * Emits a {Transfer} event. */ function _transfer( address from, address to, uint256 tokenId ) internal virtual { require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer of token that is not own"); require(to != address(0), "ERC721: transfer to the zero address"); _beforeTokenTransfer(from, to, tokenId); // Clear approvals from the previous owner _approve(address(0), tokenId); _balances[from] -= 1; _balances[to] += 1; _owners[tokenId] = to; emit Transfer(from, to, tokenId); } /** * @dev Approve `to` to operate on `tokenId` * * Emits a {Approval} event. */ function _approve(address to, uint256 tokenId) internal virtual { _tokenApprovals[tokenId] = to; emit Approval(ERC721.ownerOf(tokenId), to, tokenId); } /** * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address. * The call is not executed if the target address is not a contract. * * @param from address representing the previous owner of the given token ID * @param to target address that will receive the tokens * @param tokenId uint256 ID of the token to be transferred * @param _data bytes optional data to send along with the call * @return bool whether the call correctly returned the expected magic value */ function _checkOnERC721Received( address from, address to, uint256 tokenId, bytes memory _data ) private returns (bool) { if (to.isContract()) { try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, _data) returns (bytes4 retval) { return retval == IERC721Receiver.onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert("ERC721: transfer to non ERC721Receiver implementer"); } else { assembly { revert(add(32, reason), mload(reason)) } } } } else { return true; } } /** * @dev Hook that is called before any token transfer. This includes minting * and burning. * * Calling conditions: * * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, ``from``'s `tokenId` will be burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256 tokenId ) internal virtual {} }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { // Inspired by OraclizeAPI's implementation - MIT licence // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol if (value == 0) { return "0"; } uint256 temp = value; uint256 digits; while (temp != 0) { digits++; temp /= 10; } bytes memory buffer = new bytes(digits); while (value != 0) { digits -= 1; buffer[digits] = bytes1(uint8(48 + uint256(value % 10))); value /= 10; } return string(buffer); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { if (value == 0) { return "0x00"; } uint256 temp = value; uint256 length = 0; while (temp != 0) { length++; temp >>= 8; } return toHexString(value, length); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _HEX_SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev Standard math utilities missing in the Solidity language. */ library Math { /** * @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 / b + (a % b == 0 ? 0 : 1); } }
// SPDX-License-Identifier: MIT 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() { _setOwner(_msgSender()); } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(owner() == _msgSender(), "Ownable: caller is not the owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _setOwner(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"); _setOwner(newOwner); } function _setOwner(address newOwner) private { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @title Counters * @author Matt Condon (@shrugs) * @dev Provides counters that can only be incremented, decremented or reset. This can be used e.g. to track the number * of elements in a mapping, issuing ERC721 ids, or counting request ids. * * Include with `using Counters for Counters.Counter;` */ library Counters { struct Counter { // This variable should never be directly accessed by users of the library: interactions must be restricted to // the library's function. As of Solidity v0.5.2, this cannot be enforced, though there is a proposal to add // this feature: see https://github.com/ethereum/solidity/issues/4637 uint256 _value; // default: 0 } function current(Counter storage counter) internal view returns (uint256) { return counter._value; } function increment(Counter storage counter) internal { unchecked { counter._value += 1; } } function decrement(Counter storage counter) internal { uint256 value = counter._value; require(value > 0, "Counter: decrement overflow"); unchecked { counter._value = value - 1; } } function reset(Counter storage counter) internal { counter._value = 0; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../ERC721.sol"; import "./IERC721Enumerable.sol"; /** * @dev This implements an optional extension of {ERC721} defined in the EIP that adds * enumerability of all the token ids in the contract as well as all token ids owned by each * account. */ abstract contract ERC721Enumerable is ERC721, IERC721Enumerable { // Mapping from owner to list of owned token IDs mapping(address => mapping(uint256 => uint256)) private _ownedTokens; // Mapping from token ID to index of the owner tokens list mapping(uint256 => uint256) private _ownedTokensIndex; // Array with all token ids, used for enumeration uint256[] private _allTokens; // Mapping from token id to position in the allTokens array mapping(uint256 => uint256) private _allTokensIndex; /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(IERC165, ERC721) returns (bool) { return interfaceId == type(IERC721Enumerable).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721Enumerable-tokenOfOwnerByIndex}. */ function tokenOfOwnerByIndex(address owner, uint256 index) public view virtual override returns (uint256) { require(index < ERC721.balanceOf(owner), "ERC721Enumerable: owner index out of bounds"); return _ownedTokens[owner][index]; } /** * @dev See {IERC721Enumerable-totalSupply}. */ function totalSupply() public view virtual override returns (uint256) { return _allTokens.length; } /** * @dev See {IERC721Enumerable-tokenByIndex}. */ function tokenByIndex(uint256 index) public view virtual override returns (uint256) { require(index < ERC721Enumerable.totalSupply(), "ERC721Enumerable: global index out of bounds"); return _allTokens[index]; } /** * @dev Hook that is called before any token transfer. This includes minting * and burning. * * Calling conditions: * * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, ``from``'s `tokenId` will be burned. * - `from` cannot be the zero address. * - `to` cannot be the zero address. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256 tokenId ) internal virtual override { super._beforeTokenTransfer(from, to, tokenId); if (from == address(0)) { _addTokenToAllTokensEnumeration(tokenId); } else if (from != to) { _removeTokenFromOwnerEnumeration(from, tokenId); } if (to == address(0)) { _removeTokenFromAllTokensEnumeration(tokenId); } else if (to != from) { _addTokenToOwnerEnumeration(to, tokenId); } } /** * @dev Private function to add a token to this extension's ownership-tracking data structures. * @param to address representing the new owner of the given token ID * @param tokenId uint256 ID of the token to be added to the tokens list of the given address */ function _addTokenToOwnerEnumeration(address to, uint256 tokenId) private { uint256 length = ERC721.balanceOf(to); _ownedTokens[to][length] = tokenId; _ownedTokensIndex[tokenId] = length; } /** * @dev Private function to add a token to this extension's token tracking data structures. * @param tokenId uint256 ID of the token to be added to the tokens list */ function _addTokenToAllTokensEnumeration(uint256 tokenId) private { _allTokensIndex[tokenId] = _allTokens.length; _allTokens.push(tokenId); } /** * @dev Private function to remove a token from this extension's ownership-tracking data structures. Note that * while the token is not assigned a new owner, the `_ownedTokensIndex` mapping is _not_ updated: this allows for * gas optimizations e.g. when performing a transfer operation (avoiding double writes). * This has O(1) time complexity, but alters the order of the _ownedTokens array. * @param from address representing the previous owner of the given token ID * @param tokenId uint256 ID of the token to be removed from the tokens list of the given address */ function _removeTokenFromOwnerEnumeration(address from, uint256 tokenId) private { // To prevent a gap in from's tokens array, we store the last token in the index of the token to delete, and // then delete the last slot (swap and pop). uint256 lastTokenIndex = ERC721.balanceOf(from) - 1; uint256 tokenIndex = _ownedTokensIndex[tokenId]; // When the token to delete is the last token, the swap operation is unnecessary if (tokenIndex != lastTokenIndex) { uint256 lastTokenId = _ownedTokens[from][lastTokenIndex]; _ownedTokens[from][tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token _ownedTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index } // This also deletes the contents at the last position of the array delete _ownedTokensIndex[tokenId]; delete _ownedTokens[from][lastTokenIndex]; } /** * @dev Private function to remove a token from this extension's token tracking data structures. * This has O(1) time complexity, but alters the order of the _allTokens array. * @param tokenId uint256 ID of the token to be removed from the tokens list */ function _removeTokenFromAllTokensEnumeration(uint256 tokenId) private { // To prevent a gap in the tokens array, we store the last token in the index of the token to delete, and // then delete the last slot (swap and pop). uint256 lastTokenIndex = _allTokens.length - 1; uint256 tokenIndex = _allTokensIndex[tokenId]; // When the token to delete is the last token, the swap operation is unnecessary. However, since this occurs so // rarely (when the last minted token is burnt) that we still do the swap here to avoid the gas cost of adding // an 'if' statement (like in _removeTokenFromOwnerEnumeration) uint256 lastTokenId = _allTokens[lastTokenIndex]; _allTokens[tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token _allTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index // This also deletes the contents at the last position of the array delete _allTokensIndex[tokenId]; _allTokens.pop(); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize, which returns 0 for contracts in // construction, since the code is only stored at the end of the // constructor execution. uint256 size; assembly { size := extcodesize(account) } return size > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } }
// SPDX-License-Identifier: MIT pragma solidity >=0.8.0 <0.9.0; import "@openzeppelin/contracts/token/ERC721/ERC721.sol"; import "@openzeppelin/contracts/utils/Strings.sol"; import "@openzeppelin/contracts/utils/math/Math.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/utils/Counters.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol"; import "@openzeppelin/contracts/utils/Address.sol"; /* @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ /@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ @@@@@@@@@@@@@@@@@ @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ @@@@@ (@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ @@@@@@@@@@@ @@@@@@@@@@ @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ @@@@@@ @@@@@@@@@ @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ @@@ @@@@@@@@@@@@@@@@@@@@@@ @@ @@ @@@@@@@@@ @@@@@@@@@ @@@@@@@@@@@ @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ @@@ @@@@ @@@@@@@@@@@@@@ @@@@@ ,@% @ @@@@@/ @@@@@@@@@@ @@@@@@@@, @@@@@@@@@@@ #@@@@@@@@@@@@@@@@@@@@@@@// @@@@@@@@@ @@@@@@@@@@@@ @@ @@@@ @@@@@ @@@ @@@ @@@@ @@@@@@@@@@@@@* @@@@@@ @@@@@@@@. @@@@@@ #@@@@@@@@@ @@@@@@@@@@ @@@@@@@@@@@@@ @@@ @@@@@@ @ @@@@ @@@@@ @@@@@ %@@@@@ @@@@@@@ @@@@& @@@@@@ @@@@@@@@@@@@@@@@@@ @@@@@@@@@@@ @@@@@@ #@@@@@@@ @@@@@, @@@@ @@@@ @@@@@ @@@@@@@ @@@ @@@@@@@@@ @@@@@@@@@@ @@@@@@@@* @@@@@@@@@ @@@@@@@@@@& @@@@@@@@@ @@@ @ @@@@# @@@@@ @@@@@@. @@ &, @@@@@@@.. ..@@@ @@@@@@@ @@@@@@@@@@@@@@@ @@@@@@@@/ *@@@@@@@@@@@@@@@@@@@@@@@@ @@@ @@@@ @@@@. @@@@@@@ @ @@@@ @@ @@@@@@ @@@@@@@@@@@@@@@@ @@@@@@@@ /@@ @@@@@@@@@@@@@@@@ @@@@ @@@@ @@@@@ @@@@@@@ @@@@ (@@@@/ @@( @@@@@@ @@@@@@@@@@@@@@@@@ @@@@@@@% @@@@@@@@@@@@@@@@@@ @@@ @@@ @@@@@@ @@@@@@@@, @@@@@@@ @@@@@@@ @@@@@@@@@@@@@@@@@@@ @@@@@@@ @@@@@@@@@@@@@@@@@@@@@@ @@@@@@@ @@@@@@@@@@@ .@@@@@@@@@@@@@@@ @@@@@@@@@@ @@@@@@@@@@@@@@@@@@@@@ @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ @@ @@@@@@@@@@@@@@@@@@@@@@@@ @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ */ contract Flowtys is ERC721, ERC721Enumerable, Ownable { using Math for uint256; using Strings for string; using Strings for uint256; using Counters for Counters.Counter; Counters.Counter private _tokenIdCounter; enum Age { Fresh, Scratched, Dusty, Vintage } uint256 public constant MAX_FLOWTYS = 10000; // threshold in number of blocks between age steps // corresponds to rougly 3 months, assuing 15s between blocks uint256 public constant ageBlocksThreshold = 518400; uint256 public maxFlowtysPurchase = 16; uint256 public flowtyPrice = 0.08 ether; bool public saleIsActive = false; string public _baseFlowtyURI; string public provenance; mapping(uint256 => uint256) private _ages; event FLowtyMinted(uint256 tokenId); constructor(string memory baseURI) ERC721("Flowtys", "FLOWTY") { _baseFlowtyURI = baseURI; } /** * Set some Flowtys aside */ function reserveFlowtys(uint256 reservedAmount) public onlyOwner { for (uint256 i = 1; i <= reservedAmount; i++) { createCollectible(msg.sender); } } /* * Withdraw funds to pay the team, dev, artists */ function withdraw() public onlyOwner { require(address(this).balance > 0, "Insufficient balance"); uint256 balance = address(this).balance; Address.sendValue(payable(msg.sender), balance); } function withdrawForGiveaway(uint256 amount, address payable to) public onlyOwner { require(address(this).balance > 0, "Insufficient balance"); Address.sendValue(to, amount); } //--------------------------------------------------------------------------------- /* * < ageBlocksThreshold => Age.Fresh * > 1x ageBlocksThreshold => Age.Scratched * > 2x ageBlocksThreshold => Age.Dusty * > 3x ageBlocksThreshold => Age.Vintage */ function getAge(uint256 tokenId) public view returns (Age) { require(_exists(tokenId), "getAge query for nonexistent token"); uint256 currentAge = uint((block.number - _ages[tokenId]) / ageBlocksThreshold); return Age(currentAge.min(3)); } function getAgeStaringBlock(uint256 tokenId) public view returns (uint256) { require(_exists(tokenId), "getAge query for nonexistent token"); return _ages[tokenId]; } //--------------------------------------------------------------------------------- function setBaseURI(string memory newuri) public onlyOwner { _baseFlowtyURI = newuri; } function setMaxFlowtysPurchase(uint256 newMax) public onlyOwner { maxFlowtysPurchase = newMax; } function setMintCost(uint256 newCost) public onlyOwner { require(newCost > 0, "flowtyPrice must be greater than zero"); flowtyPrice = newCost; } /* * Pause sale if active, make active if paused */ function flipSaleState() public onlyOwner { saleIsActive = !saleIsActive; } /** * Mints Flowtys */ function mintFlowty(uint numberOfTokens) public payable { require(saleIsActive, "Sale must be active to mint Flowty"); require(numberOfTokens <= maxFlowtysPurchase, "# of new NFTs is limited per single transaction"); require((totalSupply() + numberOfTokens) <= MAX_FLOWTYS, "Purchase would exceed max supply of Flowtys"); require((flowtyPrice * numberOfTokens) <= msg.value, "Ether value sent is not correct"); for(uint i = 0; i < numberOfTokens; i++) { if (totalSupply() < MAX_FLOWTYS) { createCollectible(msg.sender); } } } /* * Set provenance once it's calculated. */ function setProvenanceHash(string memory provenanceHash) public onlyOwner { provenance = provenanceHash; } /// Internal function createCollectible(address mintAddress) private { uint256 mintIndex = _tokenIdCounter.current(); if (mintIndex < MAX_FLOWTYS) { _safeMint(mintAddress, mintIndex); _tokenIdCounter.increment(); _ages[mintIndex] = block.number; // fire event in logs emit FLowtyMinted(mintIndex); } } /* * The aging calculation is simple, we save the initial block number once Flowty is minted * if at the transaction time on a given Flowty block number suppressed ageBlocksThreshold * we threat it as aged level crossed and only revert to this level * In case if it's still level 0 we just store current block number as a new base */ function updateAge(uint256 tokenId) private { uint256 currentAge = uint((block.number - 1 - _ages[tokenId]) / ageBlocksThreshold); uint256 currentBlockAge = block.number - _ages[tokenId]; if (currentBlockAge < ageBlocksThreshold) { _ages[tokenId] = block.number; } else if (currentBlockAge < ageBlocksThreshold * 3) { _ages[tokenId] = _ages[tokenId] + (block.number - (_ages[tokenId] + ageBlocksThreshold * currentAge)); } } /// ERC721 related /** * @dev See {ERC721-transferFrom}. */ function transferFrom( address from, address to, uint256 tokenId ) public override { super.transferFrom(from, to, tokenId); updateAge(tokenId); } function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory _data ) public override { super.safeTransferFrom(from, to, tokenId, _data); updateAge(tokenId); } /** * @dev See {ERC721Metadata-tokenURI}. */ function tokenURI(uint256 tokenId) public view override returns (string memory) { string memory baseURI = super.tokenURI(tokenId); return bytes(baseURI).length > 0 ? string(abi.encodePacked(abi.encodePacked(baseURI, "/"), uint256(getAge(tokenId)).toString())) : ""; } function _baseURI() internal view override returns (string memory) { return _baseFlowtyURI; } function _beforeTokenTransfer(address from, address to, uint256 tokenId) internal override(ERC721, ERC721Enumerable) { super._beforeTokenTransfer(from, to, tokenId); } function supportsInterface(bytes4 interfaceId) public view override(ERC721, ERC721Enumerable) returns (bool) { return super.supportsInterface(interfaceId); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../../utils/introspection/IERC165.sol"; /** * @dev Required interface of an ERC721 compliant contract. */ interface IERC721 is IERC165 { /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in ``owner``'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Transfers `tokenId` token from `from` to `to`. * * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll} */ function isApprovedForAll(address owner, address operator) external view returns (bool); /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes calldata data ) external; }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @title ERC721 token receiver interface * @dev Interface for any contract that wants to support safeTransfers * from ERC721 asset contracts. */ interface IERC721Receiver { /** * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom} * by `operator` from `from`, this function is called. * * It must return its Solidity selector to confirm the token transfer. * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted. * * The selector can be obtained in Solidity with `IERC721.onERC721Received.selector`. */ function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); }
// SPDX-License-Identifier: MIT 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 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 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 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 pragma solidity ^0.8.0; import "../IERC721.sol"; /** * @title ERC-721 Non-Fungible Token Standard, optional enumeration extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Enumerable is IERC721 { /** * @dev Returns the total amount of tokens stored by the contract. */ function totalSupply() external view returns (uint256); /** * @dev Returns a token ID owned by `owner` at a given `index` of its token list. * Use along with {balanceOf} to enumerate all of ``owner``'s tokens. */ function tokenOfOwnerByIndex(address owner, uint256 index) external view returns (uint256 tokenId); /** * @dev Returns a token ID at a given `index` of all the tokens stored by the contract. * Use along with {totalSupply} to enumerate all tokens. */ function tokenByIndex(uint256 index) external view returns (uint256); }
{ "optimizer": { "enabled": false, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"string","name":"baseURI","type":"string"}],"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":false,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"MorphyMinted","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"tokenId","type":"uint256"},{"indexed":false,"internalType":"string","name":"newBaseURI","type":"string"}],"name":"MorphyUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"MAX_MORPHYS","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"agingPricingThreshold","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"currentSeasonalCollectionURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"flipMintingState","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"flipMorphingState","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"flowtysContract","outputs":[{"internalType":"address","name":"","type":"address"}],"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":"uint256[]","name":"tokenIds","type":"uint256[]"}],"name":"getTotalPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":"lastFlowtyMintedBlock","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxPerMint","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"tokenIds","type":"uint256[]"}],"name":"mintMorphy","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"mintPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"tokenIds","type":"uint256[]"}],"name":"mintPriceForAll","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"mintingIsActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"mintingMaxPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"mintingPriceTier1","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"mintingPriceTier2","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"mintingPriceTier3","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"morhpingAgeThreeshold","outputs":[{"internalType":"enum Flowtys.Age","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"tokenIds","type":"uint256[]"}],"name":"morphSeason","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"morphingIsActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"morphingPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"reserveMorphys","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"newuri","type":"string"}],"name":"setCurrentCollectionBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newMax","type":"uint256"}],"name":"setMintMax","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newCostTier1","type":"uint256"},{"internalType":"uint256","name":"newCostTier2","type":"uint256"},{"internalType":"uint256","name":"newCostTier3","type":"uint256"},{"internalType":"uint256","name":"newCostMax","type":"uint256"}],"name":"setMintingMaxCost","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newCost","type":"uint256"}],"name":"setMorphingCost","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"enum Flowtys.Age","name":"age","type":"uint8"}],"name":"setMorphingFreeStage","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":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"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
60806040526064600b556000600c60006101000a81548160ff0219169083151502179055506000600c60016101000a81548160ff021916908315150217905550662aa1efb94e0000600e55663ff2e795f50000600f55665543df729c0000601055666a94d74f43000060115562ca6370601255619d80601355662386f26fc100006014556001601560006101000a81548160ff02191690836003811115620000ac57620000ab62000567565b5b02179055507352607cb9c342821ea41ad265b9bb6a23bea49468601860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055503480156200011357600080fd5b506040516200615638038062006156833981810160405281019062000139919062000415565b6040518060400160405280600781526020017f4d6f7270687973000000000000000000000000000000000000000000000000008152506040518060400160405280600681526020017f4d4f5250485900000000000000000000000000000000000000000000000000008152508160009080519060200190620001bd929190620002e7565b508060019080519060200190620001d6929190620002e7565b505050620001f9620001ed6200021960201b60201c565b6200022160201b60201c565b80600d908051906020019062000211929190620002e7565b505062000619565b600033905090565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b828054620002f590620004fb565b90600052602060002090601f01602090048101928262000319576000855562000365565b82601f106200033457805160ff191683800117855562000365565b8280016001018555821562000365579182015b828111156200036457825182559160200191906001019062000347565b5b50905062000374919062000378565b5090565b5b808211156200039357600081600090555060010162000379565b5090565b6000620003ae620003a8846200048f565b62000466565b905082815260208101848484011115620003cd57620003cc620005f9565b5b620003da848285620004c5565b509392505050565b600082601f830112620003fa57620003f9620005f4565b5b81516200040c84826020860162000397565b91505092915050565b6000602082840312156200042e576200042d62000603565b5b600082015167ffffffffffffffff8111156200044f576200044e620005fe565b5b6200045d84828501620003e2565b91505092915050565b60006200047262000485565b905062000480828262000531565b919050565b6000604051905090565b600067ffffffffffffffff821115620004ad57620004ac620005c5565b5b620004b88262000608565b9050602081019050919050565b60005b83811015620004e5578082015181840152602081019050620004c8565b83811115620004f5576000848401525b50505050565b600060028204905060018216806200051457607f821691505b602082108114156200052b576200052a62000596565b5b50919050565b6200053c8262000608565b810181811067ffffffffffffffff821117156200055e576200055d620005c5565b5b80604052505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b615b2d80620006296000396000f3fe6080604052600436106102885760003560e01c80635089ffc51161015a578063b88d4fde116100c1578063e1f61c181161007a578063e1f61c1814610990578063e6a72acf146109bb578063e93308f8146109f8578063e985e9c514610a23578063f2fde38b14610a60578063f655ff2214610a8957610288565b8063b88d4fde1461087e578063bb2bcda8146108a7578063c87b56dd146108d2578063c99eeb631461090f578063d8aca1de1461093a578063dd2f355e1461096557610288565b80637408b44d116101135780637408b44d1461076e5780638da5cb5b146107ab57806395d89b41146107d6578063a22cb46514610801578063ae4879f01461082a578063afc3cb491461085557610288565b80635089ffc5146106605780635a504e74146106895780636352211e146106b257806370a08231146106ef57806370ca70771461072c578063715018a61461075757610288565b80632f745c59116101fe57806342842e0e116101b757806342842e0e14610550578063451e510414610579578063459eff3d146105905780634728b9f4146105cd5780634f6ccce7146105f8578063507e094f1461063557610288565b80632f745c591461046657806332fd6fb7146104a357806333cc4c29146104ce5780633642beec146104f957806338a68940146105105780633ccfd60b1461053957610288565b8063095ea7b311610250578063095ea7b3146103865780630fa29df2146103af57806318160ddd146103cb5780631c5bc8c4146103f657806323b872dd1461042157806324c649671461044a57610288565b806301ffc9a71461028d57806302e051e2146102ca578063059b1f63146102f357806306fdde031461031e578063081812fc14610349575b600080fd5b34801561029957600080fd5b506102b460048036038101906102af9190614012565b610aa0565b6040516102c191906148b9565b60405180910390f35b3480156102d657600080fd5b506102f160048036038101906102ec919061410f565b610ab2565b005b3480156102ff57600080fd5b50610308610b38565b6040516103159190614807565b60405180910390f35b34801561032a57600080fd5b50610333610b5e565b60405161034091906148ef565b60405180910390f35b34801561035557600080fd5b50610370600480360381019061036b919061410f565b610bf0565b60405161037d9190614807565b60405180910390f35b34801561039257600080fd5b506103ad60048036038101906103a89190613f89565b610c75565b005b6103c960048036038101906103c49190613fc9565b610d8d565b005b3480156103d757600080fd5b506103e061106a565b6040516103ed9190614cb1565b60405180910390f35b34801561040257600080fd5b5061040b611077565b6040516104189190614cb1565b60405180910390f35b34801561042d57600080fd5b5061044860048036038101906104439190613e73565b61107d565b005b610464600480360381019061045f9190613fc9565b6110dd565b005b34801561047257600080fd5b5061048d60048036038101906104889190613f89565b611501565b60405161049a9190614cb1565b60405180910390f35b3480156104af57600080fd5b506104b86115a6565b6040516104c59190614cb1565b60405180910390f35b3480156104da57600080fd5b506104e36115ac565b6040516104f091906148ef565b60405180910390f35b34801561050557600080fd5b5061050e61163a565b005b34801561051c57600080fd5b506105376004803603810190610532919061406c565b611821565b005b34801561054557600080fd5b5061054e6118ca565b005b34801561055c57600080fd5b5061057760048036038101906105729190613e73565b61199b565b005b34801561058557600080fd5b5061058e6119bb565b005b34801561059c57600080fd5b506105b760048036038101906105b29190613fc9565b611a63565b6040516105c49190614cb1565b60405180910390f35b3480156105d957600080fd5b506105e2611ac3565b6040516105ef91906148b9565b60405180910390f35b34801561060457600080fd5b5061061f600480360381019061061a919061410f565b611ad6565b60405161062c9190614cb1565b60405180910390f35b34801561064157600080fd5b5061064a611b47565b6040516106579190614cb1565b60405180910390f35b34801561066c57600080fd5b5061068760048036038101906106829190614169565b611b4d565b005b34801561069557600080fd5b506106b060048036038101906106ab91906140c6565b611beb565b005b3480156106be57600080fd5b506106d960048036038101906106d4919061410f565b611c81565b6040516106e69190614807565b60405180910390f35b3480156106fb57600080fd5b5061071660048036038101906107119190613dd9565b611d33565b6040516107239190614cb1565b60405180910390f35b34801561073857600080fd5b50610741611deb565b60405161074e91906148d4565b60405180910390f35b34801561076357600080fd5b5061076c611dfe565b005b34801561077a57600080fd5b5061079560048036038101906107909190613fc9565b611e86565b6040516107a29190614897565b60405180910390f35b3480156107b757600080fd5b506107c0611f87565b6040516107cd9190614807565b60405180910390f35b3480156107e257600080fd5b506107eb611fb1565b6040516107f891906148ef565b60405180910390f35b34801561080d57600080fd5b5061082860048036038101906108239190613f49565b612043565b005b34801561083657600080fd5b5061083f6121c4565b60405161084c9190614cb1565b60405180910390f35b34801561086157600080fd5b5061087c6004803603810190610877919061410f565b6121ca565b005b34801561088a57600080fd5b506108a560048036038101906108a09190613ec6565b612250565b005b3480156108b357600080fd5b506108bc6122b2565b6040516108c991906148b9565b60405180910390f35b3480156108de57600080fd5b506108f960048036038101906108f4919061410f565b6122c5565b60405161090691906148ef565b60405180910390f35b34801561091b57600080fd5b50610924612400565b6040516109319190614cb1565b60405180910390f35b34801561094657600080fd5b5061094f612406565b60405161095c9190614cb1565b60405180910390f35b34801561097157600080fd5b5061097a61240c565b6040516109879190614cb1565b60405180910390f35b34801561099c57600080fd5b506109a5612412565b6040516109b29190614cb1565b60405180910390f35b3480156109c757600080fd5b506109e260048036038101906109dd919061410f565b612418565b6040516109ef9190614cb1565b60405180910390f35b348015610a0457600080fd5b50610a0d612585565b604051610a1a9190614cb1565b60405180910390f35b348015610a2f57600080fd5b50610a4a6004803603810190610a459190613e33565b61258b565b604051610a5791906148b9565b60405180910390f35b348015610a6c57600080fd5b50610a876004803603810190610a829190613dd9565b61261f565b005b348015610a9557600080fd5b50610a9e612717565b005b6000610aab826127bf565b9050919050565b610aba612839565b73ffffffffffffffffffffffffffffffffffffffff16610ad8611f87565b73ffffffffffffffffffffffffffffffffffffffff1614610b2e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b2590614b51565b60405180910390fd5b8060148190555050565b601860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b606060008054610b6d9061503b565b80601f0160208091040260200160405190810160405280929190818152602001828054610b999061503b565b8015610be65780601f10610bbb57610100808354040283529160200191610be6565b820191906000526020600020905b815481529060010190602001808311610bc957829003601f168201915b5050505050905090565b6000610bfb82612841565b610c3a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c3190614b31565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610c8082611c81565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610cf1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ce890614bf1565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610d10612839565b73ffffffffffffffffffffffffffffffffffffffff161480610d3f5750610d3e81610d39612839565b61258b565b5b610d7e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d7590614ab1565b60405180910390fd5b610d8883836128ad565b505050565b600b5481511115610dd3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dca906149f1565b60405180910390fd5b600c60009054906101000a900460ff16610e22576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e1990614a51565b60405180910390fd5b6127108151610e2f61106a565b610e399190614e4b565b1115610e7a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e7190614c11565b60405180910390fd5b6000601860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905060005b8251811015610fd7573373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16636352211e858481518110610ef357610ef2615203565b5b60200260200101516040518263ffffffff1660e01b8152600401610f179190614cb1565b60206040518083038186803b158015610f2f57600080fd5b505afa158015610f43573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f679190613e06565b73ffffffffffffffffffffffffffffffffffffffff1614610fc4576000610fc3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fba90614c71565b60405180910390fd5b5b8080610fcf9061509e565b915050610ea4565b5034610fe283611a63565b14611022576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161101990614a11565b60405180910390fd5b60005b8251811015611065576110523384838151811061104557611044615203565b5b6020026020010151612966565b808061105d9061509e565b915050611025565b505050565b6000600880549050905090565b61271081565b61108e611088612839565b82612a51565b6110cd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110c490614c31565b60405180910390fd5b6110d8838383612b2f565b505050565b600c60019054906101000a900460ff1661112c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161112390614c91565b60405180910390fd5b6000601860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690506000805b83518110156113fe573373ffffffffffffffffffffffffffffffffffffffff1661119a85838151811061118d5761118c615203565b5b6020026020010151611c81565b73ffffffffffffffffffffffffffffffffffffffff161415806111dd57506111db8482815181106111ce576111cd615203565b5b6020026020010151612841565b155b15611224576000611223576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161121a90614b71565b60405180910390fd5b5b3373ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16636352211e86848151811061126a57611269615203565b5b60200260200101516040518263ffffffff1660e01b815260040161128e9190614cb1565b60206040518083038186803b1580156112a657600080fd5b505afa1580156112ba573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112de9190613e06565b73ffffffffffffffffffffffffffffffffffffffff161480156113d65750601560009054906101000a900460ff16600381111561131e5761131d615176565b5b8373ffffffffffffffffffffffffffffffffffffffff16630e37008a86848151811061134d5761134c615203565b5b60200260200101516040518263ffffffff1660e01b81526004016113719190614cb1565b60206040518083038186803b15801561138957600080fd5b505afa15801561139d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113c19190614099565b60038111156113d3576113d2615176565b5b10155b6113eb57601454826113e89190614e4b565b91505b80806113f69061509e565b915050611157565b50348114611441576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161143890614a11565b60405180910390fd5b60005b83518110156114fb57600d6017600086848151811061146657611465615203565b5b602002602001015181526020019081526020016000209080546114889061503b565b611493929190613a6e565b507fa3f3167ea8c70c56002c873649dd0aa97d7cdaf661b3948b0fe6c712a40cf8378482815181106114c8576114c7615203565b5b6020026020010151600d6040516114e0929190614ccc565b60405180910390a180806114f39061509e565b915050611444565b50505050565b600061150c83611d33565b821061154d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161154490614911565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b600e5481565b600d80546115b99061503b565b80601f01602080910402602001604051908101604052809291908181526020018280546115e59061503b565b80156116325780601f1061160757610100808354040283529160200191611632565b820191906000526020600020905b81548152906001019060200180831161161557829003601f168201915b505050505081565b611642612839565b73ffffffffffffffffffffffffffffffffffffffff16611660611f87565b73ffffffffffffffffffffffffffffffffffffffff16146116b6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116ad90614b51565b60405180910390fd5b6000601860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905060008173ffffffffffffffffffffffffffffffffffffffff166370a08231336040518263ffffffff1660e01b81526004016117189190614807565b60206040518083038186803b15801561173057600080fd5b505afa158015611744573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611768919061413c565b905060005b8181101561181c57611809338473ffffffffffffffffffffffffffffffffffffffff16632f745c5933856040518363ffffffff1660e01b81526004016117b492919061486e565b60206040518083038186803b1580156117cc57600080fd5b505afa1580156117e0573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611804919061413c565b612966565b80806118149061509e565b91505061176d565b505050565b611829612839565b73ffffffffffffffffffffffffffffffffffffffff16611847611f87565b73ffffffffffffffffffffffffffffffffffffffff161461189d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161189490614b51565b60405180910390fd5b80601560006101000a81548160ff021916908360038111156118c2576118c1615176565b5b021790555050565b6118d2612839565b73ffffffffffffffffffffffffffffffffffffffff166118f0611f87565b73ffffffffffffffffffffffffffffffffffffffff1614611946576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161193d90614b51565b60405180910390fd5b60004711611989576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611980906149d1565b60405180910390fd5b60004790506119983382612d8b565b50565b6119b683838360405180602001604052806000815250612250565b505050565b6119c3612839565b73ffffffffffffffffffffffffffffffffffffffff166119e1611f87565b73ffffffffffffffffffffffffffffffffffffffff1614611a37576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a2e90614b51565b60405180910390fd5b600c60019054906101000a900460ff1615600c60016101000a81548160ff021916908315150217905550565b6000806000905060005b8351811015611ab957611a99848281518110611a8c57611a8b615203565b5b6020026020010151612418565b82611aa49190614e4b565b91508080611ab19061509e565b915050611a6d565b5080915050919050565b600c60009054906101000a900460ff1681565b6000611ae061106a565b8210611b21576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b1890614c51565b60405180910390fd5b60088281548110611b3557611b34615203565b5b90600052602060002001549050919050565b600b5481565b611b55612839565b73ffffffffffffffffffffffffffffffffffffffff16611b73611f87565b73ffffffffffffffffffffffffffffffffffffffff1614611bc9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bc090614b51565b60405180910390fd5b83600e8190555082600f81905550816010819055508060118190555050505050565b611bf3612839565b73ffffffffffffffffffffffffffffffffffffffff16611c11611f87565b73ffffffffffffffffffffffffffffffffffffffff1614611c67576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c5e90614b51565b60405180910390fd5b80600d9080519060200190611c7d929190613afb565b5050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611d2a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d2190614af1565b60405180910390fd5b80915050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611da4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d9b90614ad1565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b601560009054906101000a900460ff1681565b611e06612839565b73ffffffffffffffffffffffffffffffffffffffff16611e24611f87565b73ffffffffffffffffffffffffffffffffffffffff1614611e7a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e7190614b51565b60405180910390fd5b611e846000612e7f565b565b606061271082511115611ece576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ec590614bd1565b60405180910390fd5b6000825167ffffffffffffffff811115611eeb57611eea615232565b5b604051908082528060200260200182016040528015611f195781602001602082028036833780820191505090505b50905060005b8351811015611f7d57611f4b848281518110611f3e57611f3d615203565b5b6020026020010151612418565b828281518110611f5e57611f5d615203565b5b6020026020010181815250508080611f759061509e565b915050611f1f565b5080915050919050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b606060018054611fc09061503b565b80601f0160208091040260200160405190810160405280929190818152602001828054611fec9061503b565b80156120395780601f1061200e57610100808354040283529160200191612039565b820191906000526020600020905b81548152906001019060200180831161201c57829003601f168201915b5050505050905090565b61204b612839565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156120b9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120b0906149b1565b60405180910390fd5b80600560006120c6612839565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16612173612839565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516121b891906148b9565b60405180910390a35050565b60115481565b6121d2612839565b73ffffffffffffffffffffffffffffffffffffffff166121f0611f87565b73ffffffffffffffffffffffffffffffffffffffff1614612246576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161223d90614b51565b60405180910390fd5b80600b8190555050565b61226161225b612839565b83612a51565b6122a0576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161229790614c31565b60405180910390fd5b6122ac84848484612f45565b50505050565b600c60019054906101000a900460ff1681565b60606122d082612841565b61230f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161230690614bb1565b60405180910390fd5b600060176000848152602001908152602001600020805461232f9061503b565b80601f016020809104026020016040519081016040528092919081815260200182805461235b9061503b565b80156123a85780601f1061237d576101008083540402835291602001916123a8565b820191906000526020600020905b81548152906001019060200180831161238b57829003601f168201915b5050505050905060008151116123cd57604051806020016040528060008152506123f8565b806123d784612fa1565b6040516020016123e89291906147ce565b6040516020818303038152906040525b915050919050565b60105481565b600f5481565b60125481565b60145481565b600080601860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905060008173ffffffffffffffffffffffffffffffffffffffff16635d6aefc6856040518263ffffffff1660e01b815260040161247b9190614cb1565b60206040518083038186803b15801561249357600080fd5b505afa1580156124a7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906124cb919061413c565b90506013546012546124dd9190614e4b565b81116124ee57600092505050612580565b60026013546124fd9190614ed2565b60125461250a9190614e4b565b811161251c57600e5492505050612580565b600360135461252b9190614ed2565b6012546125389190614e4b565b811161254a57600f5492505050612580565b60046013546125599190614ed2565b6012546125669190614e4b565b81116125785760105492505050612580565b601154925050505b919050565b60135481565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b612627612839565b73ffffffffffffffffffffffffffffffffffffffff16612645611f87565b73ffffffffffffffffffffffffffffffffffffffff161461269b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161269290614b51565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561270b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161270290614951565b60405180910390fd5b61271481612e7f565b50565b61271f612839565b73ffffffffffffffffffffffffffffffffffffffff1661273d611f87565b73ffffffffffffffffffffffffffffffffffffffff1614612793576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161278a90614b51565b60405180910390fd5b600c60009054906101000a900460ff1615600c60006101000a81548160ff021916908315150217905550565b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480612832575061283182613102565b5b9050919050565b600033905090565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff1661292083611c81565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6127108110801561297d575061297b81612841565b155b80156129ad5750600015156016600083815260200190815260200160002060009054906101000a900460ff161515145b15612a4d576129bc82826131e4565b60016016600083815260200190815260200160002060006101000a81548160ff021916908315150217905550600d60176000838152602001908152602001600020908054612a099061503b565b612a14929190613a6e565b507f568c0211d44321da426f632064ad2d5bcbcc60837956c67fb6575a23bd0cc51381604051612a449190614cb1565b60405180910390a15b5050565b6000612a5c82612841565b612a9b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a9290614a91565b60405180910390fd5b6000612aa683611c81565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480612b1557508373ffffffffffffffffffffffffffffffffffffffff16612afd84610bf0565b73ffffffffffffffffffffffffffffffffffffffff16145b80612b265750612b25818561258b565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16612b4f82611c81565b73ffffffffffffffffffffffffffffffffffffffff1614612ba5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b9c90614b91565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612c15576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c0c90614991565b60405180910390fd5b612c20838383613202565b612c2b6000826128ad565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612c7b9190614f2c565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612cd29190614e4b565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b80471015612dce576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612dc590614a71565b60405180910390fd5b60008273ffffffffffffffffffffffffffffffffffffffff1682604051612df4906147f2565b60006040518083038185875af1925050503d8060008114612e31576040519150601f19603f3d011682016040523d82523d6000602084013e612e36565b606091505b5050905080612e7a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612e7190614a31565b60405180910390fd5b505050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b612f50848484612b2f565b612f5c84848484613212565b612f9b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612f9290614931565b60405180910390fd5b50505050565b60606000821415612fe9576040518060400160405280600181526020017f300000000000000000000000000000000000000000000000000000000000000081525090506130fd565b600082905060005b6000821461301b5780806130049061509e565b915050600a826130149190614ea1565b9150612ff1565b60008167ffffffffffffffff81111561303757613036615232565b5b6040519080825280601f01601f1916602001820160405280156130695781602001600182028036833780820191505090505b5090505b600085146130f6576001826130829190614f2c565b9150600a8561309191906150e7565b603061309d9190614e4b565b60f81b8183815181106130b3576130b2615203565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856130ef9190614ea1565b945061306d565b8093505050505b919050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806131cd57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806131dd57506131dc826133a9565b5b9050919050565b6131fe828260405180602001604052806000815250613413565b5050565b61320d83838361346e565b505050565b60006132338473ffffffffffffffffffffffffffffffffffffffff16613582565b1561339c578373ffffffffffffffffffffffffffffffffffffffff1663150b7a0261325c612839565b8786866040518563ffffffff1660e01b815260040161327e9493929190614822565b602060405180830381600087803b15801561329857600080fd5b505af19250505080156132c957506040513d601f19601f820116820180604052508101906132c6919061403f565b60015b61334c573d80600081146132f9576040519150601f19603f3d011682016040523d82523d6000602084013e6132fe565b606091505b50600081511415613344576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161333b90614931565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149150506133a1565b600190505b949350505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b61341d8383613595565b61342a6000848484613212565b613469576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161346090614931565b60405180910390fd5b505050565b613479838383613763565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156134bc576134b781613768565b6134fb565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16146134fa576134f983826137b1565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561353e576135398161391e565b61357d565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161461357c5761357b82826139ef565b5b5b505050565b600080823b905060008111915050919050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415613605576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016135fc90614b11565b60405180910390fd5b61360e81612841565b1561364e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161364590614971565b60405180910390fd5b61365a60008383613202565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546136aa9190614e4b565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b600060016137be84611d33565b6137c89190614f2c565b90506000600760008481526020019081526020016000205490508181146138ad576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b600060016008805490506139329190614f2c565b905060006009600084815260200190815260200160002054905060006008838154811061396257613961615203565b5b90600052602060002001549050806008838154811061398457613983615203565b5b9060005260206000200181905550816009600083815260200190815260200160002081905550600960008581526020019081526020016000206000905560088054806139d3576139d26151d4565b5b6001900381819060005260206000200160009055905550505050565b60006139fa83611d33565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b828054613a7a9061503b565b90600052602060002090601f016020900481019282613a9c5760008555613aea565b82601f10613aad5780548555613aea565b82800160010185558215613aea57600052602060002091601f016020900482015b82811115613ae9578254825591600101919060010190613ace565b5b509050613af79190613b81565b5090565b828054613b079061503b565b90600052602060002090601f016020900481019282613b295760008555613b70565b82601f10613b4257805160ff1916838001178555613b70565b82800160010185558215613b70579182015b82811115613b6f578251825591602001919060010190613b54565b5b509050613b7d9190613b81565b5090565b5b80821115613b9a576000816000905550600101613b82565b5090565b6000613bb1613bac84614d21565b614cfc565b90508083825260208201905082856020860282011115613bd457613bd3615266565b5b60005b85811015613c045781613bea8882613daf565b845260208401935060208301925050600181019050613bd7565b5050509392505050565b6000613c21613c1c84614d4d565b614cfc565b905082815260208101848484011115613c3d57613c3c61526b565b5b613c48848285614ff9565b509392505050565b6000613c63613c5e84614d7e565b614cfc565b905082815260208101848484011115613c7f57613c7e61526b565b5b613c8a848285614ff9565b509392505050565b600081359050613ca181615a8b565b92915050565b600081519050613cb681615a8b565b92915050565b600082601f830112613cd157613cd0615261565b5b8135613ce1848260208601613b9e565b91505092915050565b600081359050613cf981615aa2565b92915050565b600081359050613d0e81615ab9565b92915050565b600081519050613d2381615ab9565b92915050565b600082601f830112613d3e57613d3d615261565b5b8135613d4e848260208601613c0e565b91505092915050565b600081359050613d6681615ad0565b92915050565b600081519050613d7b81615ad0565b92915050565b600082601f830112613d9657613d95615261565b5b8135613da6848260208601613c50565b91505092915050565b600081359050613dbe81615ae0565b92915050565b600081519050613dd381615ae0565b92915050565b600060208284031215613def57613dee615275565b5b6000613dfd84828501613c92565b91505092915050565b600060208284031215613e1c57613e1b615275565b5b6000613e2a84828501613ca7565b91505092915050565b60008060408385031215613e4a57613e49615275565b5b6000613e5885828601613c92565b9250506020613e6985828601613c92565b9150509250929050565b600080600060608486031215613e8c57613e8b615275565b5b6000613e9a86828701613c92565b9350506020613eab86828701613c92565b9250506040613ebc86828701613daf565b9150509250925092565b60008060008060808587031215613ee057613edf615275565b5b6000613eee87828801613c92565b9450506020613eff87828801613c92565b9350506040613f1087828801613daf565b925050606085013567ffffffffffffffff811115613f3157613f30615270565b5b613f3d87828801613d29565b91505092959194509250565b60008060408385031215613f6057613f5f615275565b5b6000613f6e85828601613c92565b9250506020613f7f85828601613cea565b9150509250929050565b60008060408385031215613fa057613f9f615275565b5b6000613fae85828601613c92565b9250506020613fbf85828601613daf565b9150509250929050565b600060208284031215613fdf57613fde615275565b5b600082013567ffffffffffffffff811115613ffd57613ffc615270565b5b61400984828501613cbc565b91505092915050565b60006020828403121561402857614027615275565b5b600061403684828501613cff565b91505092915050565b60006020828403121561405557614054615275565b5b600061406384828501613d14565b91505092915050565b60006020828403121561408257614081615275565b5b600061409084828501613d57565b91505092915050565b6000602082840312156140af576140ae615275565b5b60006140bd84828501613d6c565b91505092915050565b6000602082840312156140dc576140db615275565b5b600082013567ffffffffffffffff8111156140fa576140f9615270565b5b61410684828501613d81565b91505092915050565b60006020828403121561412557614124615275565b5b600061413384828501613daf565b91505092915050565b60006020828403121561415257614151615275565b5b600061416084828501613dc4565b91505092915050565b6000806000806080858703121561418357614182615275565b5b600061419187828801613daf565b94505060206141a287828801613daf565b93505060406141b387828801613daf565b92505060606141c487828801613daf565b91505092959194509250565b60006141dc83836147b0565b60208301905092915050565b6141f181614f60565b82525050565b600061420282614dd4565b61420c8185614e02565b935061421783614daf565b8060005b8381101561424857815161422f88826141d0565b975061423a83614df5565b92505060018101905061421b565b5085935050505092915050565b61425e81614f72565b82525050565b600061426f82614ddf565b6142798185614e13565b9350614289818560208601615008565b6142928161527a565b840191505092915050565b6142a681614fe7565b82525050565b60006142b782614dea565b6142c18185614e2f565b93506142d1818560208601615008565b6142da8161527a565b840191505092915050565b60006142f082614dea565b6142fa8185614e40565b935061430a818560208601615008565b80840191505092915050565b600081546143238161503b565b61432d8186614e2f565b94506001821660008114614348576001811461435a5761438d565b60ff198316865260208601935061438d565b61436385614dbf565b60005b8381101561438557815481890152600182019150602081019050614366565b808801955050505b50505092915050565b60006143a3602b83614e2f565b91506143ae8261528b565b604082019050919050565b60006143c6603283614e2f565b91506143d1826152da565b604082019050919050565b60006143e9602683614e2f565b91506143f482615329565b604082019050919050565b600061440c601c83614e2f565b915061441782615378565b602082019050919050565b600061442f602483614e2f565b915061443a826153a1565b604082019050919050565b6000614452601983614e2f565b915061445d826153f0565b602082019050919050565b6000614475601483614e2f565b915061448082615419565b602082019050919050565b6000614498602983614e2f565b91506144a382615442565b604082019050919050565b60006144bb601f83614e2f565b91506144c682615491565b602082019050919050565b60006144de603a83614e2f565b91506144e9826154ba565b604082019050919050565b6000614501602583614e2f565b915061450c82615509565b604082019050919050565b6000614524601d83614e2f565b915061452f82615558565b602082019050919050565b6000614547602c83614e2f565b915061455282615581565b604082019050919050565b600061456a603883614e2f565b9150614575826155d0565b604082019050919050565b600061458d602a83614e2f565b91506145988261561f565b604082019050919050565b60006145b0602983614e2f565b91506145bb8261566e565b604082019050919050565b60006145d3602083614e2f565b91506145de826156bd565b602082019050919050565b60006145f6602c83614e2f565b9150614601826156e6565b604082019050919050565b6000614619602083614e2f565b915061462482615735565b602082019050919050565b600061463c602d83614e2f565b91506146478261575e565b604082019050919050565b600061465f602983614e2f565b915061466a826157ad565b604082019050919050565b6000614682602f83614e2f565b915061468d826157fc565b604082019050919050565b60006146a5603783614e2f565b91506146b08261584b565b604082019050919050565b60006146c8602183614e2f565b91506146d38261589a565b604082019050919050565b60006146eb602783614e2f565b91506146f6826158e9565b604082019050919050565b600061470e600083614e24565b915061471982615938565b600082019050919050565b6000614731603183614e2f565b915061473c8261593b565b604082019050919050565b6000614754602c83614e2f565b915061475f8261598a565b604082019050919050565b6000614777602b83614e2f565b9150614782826159d9565b604082019050919050565b600061479a602883614e2f565b91506147a582615a28565b604082019050919050565b6147b981614fdd565b82525050565b6147c881614fdd565b82525050565b60006147da82856142e5565b91506147e682846142e5565b91508190509392505050565b60006147fd82614701565b9150819050919050565b600060208201905061481c60008301846141e8565b92915050565b600060808201905061483760008301876141e8565b61484460208301866141e8565b61485160408301856147bf565b81810360608301526148638184614264565b905095945050505050565b600060408201905061488360008301856141e8565b61489060208301846147bf565b9392505050565b600060208201905081810360008301526148b181846141f7565b905092915050565b60006020820190506148ce6000830184614255565b92915050565b60006020820190506148e9600083018461429d565b92915050565b6000602082019050818103600083015261490981846142ac565b905092915050565b6000602082019050818103600083015261492a81614396565b9050919050565b6000602082019050818103600083015261494a816143b9565b9050919050565b6000602082019050818103600083015261496a816143dc565b9050919050565b6000602082019050818103600083015261498a816143ff565b9050919050565b600060208201905081810360008301526149aa81614422565b9050919050565b600060208201905081810360008301526149ca81614445565b9050919050565b600060208201905081810360008301526149ea81614468565b9050919050565b60006020820190508181036000830152614a0a8161448b565b9050919050565b60006020820190508181036000830152614a2a816144ae565b9050919050565b60006020820190508181036000830152614a4a816144d1565b9050919050565b60006020820190508181036000830152614a6a816144f4565b9050919050565b60006020820190508181036000830152614a8a81614517565b9050919050565b60006020820190508181036000830152614aaa8161453a565b9050919050565b60006020820190508181036000830152614aca8161455d565b9050919050565b60006020820190508181036000830152614aea81614580565b9050919050565b60006020820190508181036000830152614b0a816145a3565b9050919050565b60006020820190508181036000830152614b2a816145c6565b9050919050565b60006020820190508181036000830152614b4a816145e9565b9050919050565b60006020820190508181036000830152614b6a8161460c565b9050919050565b60006020820190508181036000830152614b8a8161462f565b9050919050565b60006020820190508181036000830152614baa81614652565b9050919050565b60006020820190508181036000830152614bca81614675565b9050919050565b60006020820190508181036000830152614bea81614698565b9050919050565b60006020820190508181036000830152614c0a816146bb565b9050919050565b60006020820190508181036000830152614c2a816146de565b9050919050565b60006020820190508181036000830152614c4a81614724565b9050919050565b60006020820190508181036000830152614c6a81614747565b9050919050565b60006020820190508181036000830152614c8a8161476a565b9050919050565b60006020820190508181036000830152614caa8161478d565b9050919050565b6000602082019050614cc660008301846147bf565b92915050565b6000604082019050614ce160008301856147bf565b8181036020830152614cf38184614316565b90509392505050565b6000614d06614d17565b9050614d12828261506d565b919050565b6000604051905090565b600067ffffffffffffffff821115614d3c57614d3b615232565b5b602082029050602081019050919050565b600067ffffffffffffffff821115614d6857614d67615232565b5b614d718261527a565b9050602081019050919050565b600067ffffffffffffffff821115614d9957614d98615232565b5b614da28261527a565b9050602081019050919050565b6000819050602082019050919050565b60008190508160005260206000209050919050565b600081519050919050565b600081519050919050565b600081519050919050565b6000602082019050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b600081905092915050565b6000614e5682614fdd565b9150614e6183614fdd565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115614e9657614e95615118565b5b828201905092915050565b6000614eac82614fdd565b9150614eb783614fdd565b925082614ec757614ec6615147565b5b828204905092915050565b6000614edd82614fdd565b9150614ee883614fdd565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615614f2157614f20615118565b5b828202905092915050565b6000614f3782614fdd565b9150614f4283614fdd565b925082821015614f5557614f54615118565b5b828203905092915050565b6000614f6b82614fbd565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b6000819050614fb882615a77565b919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b6000614ff282614faa565b9050919050565b82818337600083830152505050565b60005b8381101561502657808201518184015260208101905061500b565b83811115615035576000848401525b50505050565b6000600282049050600182168061505357607f821691505b60208210811415615067576150666151a5565b5b50919050565b6150768261527a565b810181811067ffffffffffffffff8211171561509557615094615232565b5b80604052505050565b60006150a982614fdd565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156150dc576150db615118565b5b600182019050919050565b60006150f282614fdd565b91506150fd83614fdd565b92508261510d5761510c615147565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f496e73756666696369656e742062616c616e6365000000000000000000000000600082015250565b7f4d696e74696e6720746f6f206d756368206174206f6e6365206973206e6f742060008201527f737570706f727465640000000000000000000000000000000000000000000000602082015250565b7f45746865722076616c75652073656e74206973206e6f7420636f727265637400600082015250565b7f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260008201527f6563697069656e74206d61792068617665207265766572746564000000000000602082015250565b7f4d696e74696e67206d7573742062652061637469766520746f206d696e74204d60008201527f6f72706879000000000000000000000000000000000000000000000000000000602082015250565b7f416464726573733a20696e73756666696369656e742062616c616e6365000000600082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f547279696e6720746f206d6f727068206e6f6e206578697374696e672f6e6f7460008201527f206f776e6564204d6f7270687900000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b7f43616e206e6f742063616c63756c61746520707269636520666f7220636f756e60008201527f7420657863656564696e67204d41585f4d4f5250485953000000000000000000602082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b7f4d696e7420776f756c6420657863656564206d617820737570706c79206f662060008201527f4d6f726870797300000000000000000000000000000000000000000000000000602082015250565b50565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b7f417474656d707420746f206d696e74204d6f7270687920666f72206e6f6e206f60008201527f776e656420466c6f777479000000000000000000000000000000000000000000602082015250565b7f4d6f727068696e67206d7573742062652061637469766520746f206368616e6760008201527f6520736561736f6e000000000000000000000000000000000000000000000000602082015250565b60048110615a8857615a87615176565b5b50565b615a9481614f60565b8114615a9f57600080fd5b50565b615aab81614f72565b8114615ab657600080fd5b50565b615ac281614f7e565b8114615acd57600080fd5b50565b60048110615add57600080fd5b50565b615ae981614fdd565b8114615af457600080fd5b5056fea26469706673582212205400508ec4920c031597e31930f98faa600ecae973c83c43e4375a8ddf0018e564736f6c634300080700330000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000001d68747470733a2f2f6d657461646174612e666c6f777479732e636f6d2f000000
Deployed Bytecode
0x6080604052600436106102885760003560e01c80635089ffc51161015a578063b88d4fde116100c1578063e1f61c181161007a578063e1f61c1814610990578063e6a72acf146109bb578063e93308f8146109f8578063e985e9c514610a23578063f2fde38b14610a60578063f655ff2214610a8957610288565b8063b88d4fde1461087e578063bb2bcda8146108a7578063c87b56dd146108d2578063c99eeb631461090f578063d8aca1de1461093a578063dd2f355e1461096557610288565b80637408b44d116101135780637408b44d1461076e5780638da5cb5b146107ab57806395d89b41146107d6578063a22cb46514610801578063ae4879f01461082a578063afc3cb491461085557610288565b80635089ffc5146106605780635a504e74146106895780636352211e146106b257806370a08231146106ef57806370ca70771461072c578063715018a61461075757610288565b80632f745c59116101fe57806342842e0e116101b757806342842e0e14610550578063451e510414610579578063459eff3d146105905780634728b9f4146105cd5780634f6ccce7146105f8578063507e094f1461063557610288565b80632f745c591461046657806332fd6fb7146104a357806333cc4c29146104ce5780633642beec146104f957806338a68940146105105780633ccfd60b1461053957610288565b8063095ea7b311610250578063095ea7b3146103865780630fa29df2146103af57806318160ddd146103cb5780631c5bc8c4146103f657806323b872dd1461042157806324c649671461044a57610288565b806301ffc9a71461028d57806302e051e2146102ca578063059b1f63146102f357806306fdde031461031e578063081812fc14610349575b600080fd5b34801561029957600080fd5b506102b460048036038101906102af9190614012565b610aa0565b6040516102c191906148b9565b60405180910390f35b3480156102d657600080fd5b506102f160048036038101906102ec919061410f565b610ab2565b005b3480156102ff57600080fd5b50610308610b38565b6040516103159190614807565b60405180910390f35b34801561032a57600080fd5b50610333610b5e565b60405161034091906148ef565b60405180910390f35b34801561035557600080fd5b50610370600480360381019061036b919061410f565b610bf0565b60405161037d9190614807565b60405180910390f35b34801561039257600080fd5b506103ad60048036038101906103a89190613f89565b610c75565b005b6103c960048036038101906103c49190613fc9565b610d8d565b005b3480156103d757600080fd5b506103e061106a565b6040516103ed9190614cb1565b60405180910390f35b34801561040257600080fd5b5061040b611077565b6040516104189190614cb1565b60405180910390f35b34801561042d57600080fd5b5061044860048036038101906104439190613e73565b61107d565b005b610464600480360381019061045f9190613fc9565b6110dd565b005b34801561047257600080fd5b5061048d60048036038101906104889190613f89565b611501565b60405161049a9190614cb1565b60405180910390f35b3480156104af57600080fd5b506104b86115a6565b6040516104c59190614cb1565b60405180910390f35b3480156104da57600080fd5b506104e36115ac565b6040516104f091906148ef565b60405180910390f35b34801561050557600080fd5b5061050e61163a565b005b34801561051c57600080fd5b506105376004803603810190610532919061406c565b611821565b005b34801561054557600080fd5b5061054e6118ca565b005b34801561055c57600080fd5b5061057760048036038101906105729190613e73565b61199b565b005b34801561058557600080fd5b5061058e6119bb565b005b34801561059c57600080fd5b506105b760048036038101906105b29190613fc9565b611a63565b6040516105c49190614cb1565b60405180910390f35b3480156105d957600080fd5b506105e2611ac3565b6040516105ef91906148b9565b60405180910390f35b34801561060457600080fd5b5061061f600480360381019061061a919061410f565b611ad6565b60405161062c9190614cb1565b60405180910390f35b34801561064157600080fd5b5061064a611b47565b6040516106579190614cb1565b60405180910390f35b34801561066c57600080fd5b5061068760048036038101906106829190614169565b611b4d565b005b34801561069557600080fd5b506106b060048036038101906106ab91906140c6565b611beb565b005b3480156106be57600080fd5b506106d960048036038101906106d4919061410f565b611c81565b6040516106e69190614807565b60405180910390f35b3480156106fb57600080fd5b5061071660048036038101906107119190613dd9565b611d33565b6040516107239190614cb1565b60405180910390f35b34801561073857600080fd5b50610741611deb565b60405161074e91906148d4565b60405180910390f35b34801561076357600080fd5b5061076c611dfe565b005b34801561077a57600080fd5b5061079560048036038101906107909190613fc9565b611e86565b6040516107a29190614897565b60405180910390f35b3480156107b757600080fd5b506107c0611f87565b6040516107cd9190614807565b60405180910390f35b3480156107e257600080fd5b506107eb611fb1565b6040516107f891906148ef565b60405180910390f35b34801561080d57600080fd5b5061082860048036038101906108239190613f49565b612043565b005b34801561083657600080fd5b5061083f6121c4565b60405161084c9190614cb1565b60405180910390f35b34801561086157600080fd5b5061087c6004803603810190610877919061410f565b6121ca565b005b34801561088a57600080fd5b506108a560048036038101906108a09190613ec6565b612250565b005b3480156108b357600080fd5b506108bc6122b2565b6040516108c991906148b9565b60405180910390f35b3480156108de57600080fd5b506108f960048036038101906108f4919061410f565b6122c5565b60405161090691906148ef565b60405180910390f35b34801561091b57600080fd5b50610924612400565b6040516109319190614cb1565b60405180910390f35b34801561094657600080fd5b5061094f612406565b60405161095c9190614cb1565b60405180910390f35b34801561097157600080fd5b5061097a61240c565b6040516109879190614cb1565b60405180910390f35b34801561099c57600080fd5b506109a5612412565b6040516109b29190614cb1565b60405180910390f35b3480156109c757600080fd5b506109e260048036038101906109dd919061410f565b612418565b6040516109ef9190614cb1565b60405180910390f35b348015610a0457600080fd5b50610a0d612585565b604051610a1a9190614cb1565b60405180910390f35b348015610a2f57600080fd5b50610a4a6004803603810190610a459190613e33565b61258b565b604051610a5791906148b9565b60405180910390f35b348015610a6c57600080fd5b50610a876004803603810190610a829190613dd9565b61261f565b005b348015610a9557600080fd5b50610a9e612717565b005b6000610aab826127bf565b9050919050565b610aba612839565b73ffffffffffffffffffffffffffffffffffffffff16610ad8611f87565b73ffffffffffffffffffffffffffffffffffffffff1614610b2e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b2590614b51565b60405180910390fd5b8060148190555050565b601860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b606060008054610b6d9061503b565b80601f0160208091040260200160405190810160405280929190818152602001828054610b999061503b565b8015610be65780601f10610bbb57610100808354040283529160200191610be6565b820191906000526020600020905b815481529060010190602001808311610bc957829003601f168201915b5050505050905090565b6000610bfb82612841565b610c3a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c3190614b31565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610c8082611c81565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610cf1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ce890614bf1565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610d10612839565b73ffffffffffffffffffffffffffffffffffffffff161480610d3f5750610d3e81610d39612839565b61258b565b5b610d7e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d7590614ab1565b60405180910390fd5b610d8883836128ad565b505050565b600b5481511115610dd3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dca906149f1565b60405180910390fd5b600c60009054906101000a900460ff16610e22576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e1990614a51565b60405180910390fd5b6127108151610e2f61106a565b610e399190614e4b565b1115610e7a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e7190614c11565b60405180910390fd5b6000601860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905060005b8251811015610fd7573373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16636352211e858481518110610ef357610ef2615203565b5b60200260200101516040518263ffffffff1660e01b8152600401610f179190614cb1565b60206040518083038186803b158015610f2f57600080fd5b505afa158015610f43573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f679190613e06565b73ffffffffffffffffffffffffffffffffffffffff1614610fc4576000610fc3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fba90614c71565b60405180910390fd5b5b8080610fcf9061509e565b915050610ea4565b5034610fe283611a63565b14611022576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161101990614a11565b60405180910390fd5b60005b8251811015611065576110523384838151811061104557611044615203565b5b6020026020010151612966565b808061105d9061509e565b915050611025565b505050565b6000600880549050905090565b61271081565b61108e611088612839565b82612a51565b6110cd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110c490614c31565b60405180910390fd5b6110d8838383612b2f565b505050565b600c60019054906101000a900460ff1661112c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161112390614c91565b60405180910390fd5b6000601860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690506000805b83518110156113fe573373ffffffffffffffffffffffffffffffffffffffff1661119a85838151811061118d5761118c615203565b5b6020026020010151611c81565b73ffffffffffffffffffffffffffffffffffffffff161415806111dd57506111db8482815181106111ce576111cd615203565b5b6020026020010151612841565b155b15611224576000611223576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161121a90614b71565b60405180910390fd5b5b3373ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16636352211e86848151811061126a57611269615203565b5b60200260200101516040518263ffffffff1660e01b815260040161128e9190614cb1565b60206040518083038186803b1580156112a657600080fd5b505afa1580156112ba573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112de9190613e06565b73ffffffffffffffffffffffffffffffffffffffff161480156113d65750601560009054906101000a900460ff16600381111561131e5761131d615176565b5b8373ffffffffffffffffffffffffffffffffffffffff16630e37008a86848151811061134d5761134c615203565b5b60200260200101516040518263ffffffff1660e01b81526004016113719190614cb1565b60206040518083038186803b15801561138957600080fd5b505afa15801561139d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113c19190614099565b60038111156113d3576113d2615176565b5b10155b6113eb57601454826113e89190614e4b565b91505b80806113f69061509e565b915050611157565b50348114611441576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161143890614a11565b60405180910390fd5b60005b83518110156114fb57600d6017600086848151811061146657611465615203565b5b602002602001015181526020019081526020016000209080546114889061503b565b611493929190613a6e565b507fa3f3167ea8c70c56002c873649dd0aa97d7cdaf661b3948b0fe6c712a40cf8378482815181106114c8576114c7615203565b5b6020026020010151600d6040516114e0929190614ccc565b60405180910390a180806114f39061509e565b915050611444565b50505050565b600061150c83611d33565b821061154d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161154490614911565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b600e5481565b600d80546115b99061503b565b80601f01602080910402602001604051908101604052809291908181526020018280546115e59061503b565b80156116325780601f1061160757610100808354040283529160200191611632565b820191906000526020600020905b81548152906001019060200180831161161557829003601f168201915b505050505081565b611642612839565b73ffffffffffffffffffffffffffffffffffffffff16611660611f87565b73ffffffffffffffffffffffffffffffffffffffff16146116b6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116ad90614b51565b60405180910390fd5b6000601860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905060008173ffffffffffffffffffffffffffffffffffffffff166370a08231336040518263ffffffff1660e01b81526004016117189190614807565b60206040518083038186803b15801561173057600080fd5b505afa158015611744573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611768919061413c565b905060005b8181101561181c57611809338473ffffffffffffffffffffffffffffffffffffffff16632f745c5933856040518363ffffffff1660e01b81526004016117b492919061486e565b60206040518083038186803b1580156117cc57600080fd5b505afa1580156117e0573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611804919061413c565b612966565b80806118149061509e565b91505061176d565b505050565b611829612839565b73ffffffffffffffffffffffffffffffffffffffff16611847611f87565b73ffffffffffffffffffffffffffffffffffffffff161461189d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161189490614b51565b60405180910390fd5b80601560006101000a81548160ff021916908360038111156118c2576118c1615176565b5b021790555050565b6118d2612839565b73ffffffffffffffffffffffffffffffffffffffff166118f0611f87565b73ffffffffffffffffffffffffffffffffffffffff1614611946576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161193d90614b51565b60405180910390fd5b60004711611989576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611980906149d1565b60405180910390fd5b60004790506119983382612d8b565b50565b6119b683838360405180602001604052806000815250612250565b505050565b6119c3612839565b73ffffffffffffffffffffffffffffffffffffffff166119e1611f87565b73ffffffffffffffffffffffffffffffffffffffff1614611a37576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a2e90614b51565b60405180910390fd5b600c60019054906101000a900460ff1615600c60016101000a81548160ff021916908315150217905550565b6000806000905060005b8351811015611ab957611a99848281518110611a8c57611a8b615203565b5b6020026020010151612418565b82611aa49190614e4b565b91508080611ab19061509e565b915050611a6d565b5080915050919050565b600c60009054906101000a900460ff1681565b6000611ae061106a565b8210611b21576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b1890614c51565b60405180910390fd5b60088281548110611b3557611b34615203565b5b90600052602060002001549050919050565b600b5481565b611b55612839565b73ffffffffffffffffffffffffffffffffffffffff16611b73611f87565b73ffffffffffffffffffffffffffffffffffffffff1614611bc9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bc090614b51565b60405180910390fd5b83600e8190555082600f81905550816010819055508060118190555050505050565b611bf3612839565b73ffffffffffffffffffffffffffffffffffffffff16611c11611f87565b73ffffffffffffffffffffffffffffffffffffffff1614611c67576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c5e90614b51565b60405180910390fd5b80600d9080519060200190611c7d929190613afb565b5050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611d2a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d2190614af1565b60405180910390fd5b80915050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611da4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d9b90614ad1565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b601560009054906101000a900460ff1681565b611e06612839565b73ffffffffffffffffffffffffffffffffffffffff16611e24611f87565b73ffffffffffffffffffffffffffffffffffffffff1614611e7a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e7190614b51565b60405180910390fd5b611e846000612e7f565b565b606061271082511115611ece576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ec590614bd1565b60405180910390fd5b6000825167ffffffffffffffff811115611eeb57611eea615232565b5b604051908082528060200260200182016040528015611f195781602001602082028036833780820191505090505b50905060005b8351811015611f7d57611f4b848281518110611f3e57611f3d615203565b5b6020026020010151612418565b828281518110611f5e57611f5d615203565b5b6020026020010181815250508080611f759061509e565b915050611f1f565b5080915050919050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b606060018054611fc09061503b565b80601f0160208091040260200160405190810160405280929190818152602001828054611fec9061503b565b80156120395780601f1061200e57610100808354040283529160200191612039565b820191906000526020600020905b81548152906001019060200180831161201c57829003601f168201915b5050505050905090565b61204b612839565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156120b9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120b0906149b1565b60405180910390fd5b80600560006120c6612839565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16612173612839565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516121b891906148b9565b60405180910390a35050565b60115481565b6121d2612839565b73ffffffffffffffffffffffffffffffffffffffff166121f0611f87565b73ffffffffffffffffffffffffffffffffffffffff1614612246576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161223d90614b51565b60405180910390fd5b80600b8190555050565b61226161225b612839565b83612a51565b6122a0576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161229790614c31565b60405180910390fd5b6122ac84848484612f45565b50505050565b600c60019054906101000a900460ff1681565b60606122d082612841565b61230f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161230690614bb1565b60405180910390fd5b600060176000848152602001908152602001600020805461232f9061503b565b80601f016020809104026020016040519081016040528092919081815260200182805461235b9061503b565b80156123a85780601f1061237d576101008083540402835291602001916123a8565b820191906000526020600020905b81548152906001019060200180831161238b57829003601f168201915b5050505050905060008151116123cd57604051806020016040528060008152506123f8565b806123d784612fa1565b6040516020016123e89291906147ce565b6040516020818303038152906040525b915050919050565b60105481565b600f5481565b60125481565b60145481565b600080601860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905060008173ffffffffffffffffffffffffffffffffffffffff16635d6aefc6856040518263ffffffff1660e01b815260040161247b9190614cb1565b60206040518083038186803b15801561249357600080fd5b505afa1580156124a7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906124cb919061413c565b90506013546012546124dd9190614e4b565b81116124ee57600092505050612580565b60026013546124fd9190614ed2565b60125461250a9190614e4b565b811161251c57600e5492505050612580565b600360135461252b9190614ed2565b6012546125389190614e4b565b811161254a57600f5492505050612580565b60046013546125599190614ed2565b6012546125669190614e4b565b81116125785760105492505050612580565b601154925050505b919050565b60135481565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b612627612839565b73ffffffffffffffffffffffffffffffffffffffff16612645611f87565b73ffffffffffffffffffffffffffffffffffffffff161461269b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161269290614b51565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561270b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161270290614951565b60405180910390fd5b61271481612e7f565b50565b61271f612839565b73ffffffffffffffffffffffffffffffffffffffff1661273d611f87565b73ffffffffffffffffffffffffffffffffffffffff1614612793576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161278a90614b51565b60405180910390fd5b600c60009054906101000a900460ff1615600c60006101000a81548160ff021916908315150217905550565b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480612832575061283182613102565b5b9050919050565b600033905090565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff1661292083611c81565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6127108110801561297d575061297b81612841565b155b80156129ad5750600015156016600083815260200190815260200160002060009054906101000a900460ff161515145b15612a4d576129bc82826131e4565b60016016600083815260200190815260200160002060006101000a81548160ff021916908315150217905550600d60176000838152602001908152602001600020908054612a099061503b565b612a14929190613a6e565b507f568c0211d44321da426f632064ad2d5bcbcc60837956c67fb6575a23bd0cc51381604051612a449190614cb1565b60405180910390a15b5050565b6000612a5c82612841565b612a9b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a9290614a91565b60405180910390fd5b6000612aa683611c81565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480612b1557508373ffffffffffffffffffffffffffffffffffffffff16612afd84610bf0565b73ffffffffffffffffffffffffffffffffffffffff16145b80612b265750612b25818561258b565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16612b4f82611c81565b73ffffffffffffffffffffffffffffffffffffffff1614612ba5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b9c90614b91565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612c15576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c0c90614991565b60405180910390fd5b612c20838383613202565b612c2b6000826128ad565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612c7b9190614f2c565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612cd29190614e4b565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b80471015612dce576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612dc590614a71565b60405180910390fd5b60008273ffffffffffffffffffffffffffffffffffffffff1682604051612df4906147f2565b60006040518083038185875af1925050503d8060008114612e31576040519150601f19603f3d011682016040523d82523d6000602084013e612e36565b606091505b5050905080612e7a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612e7190614a31565b60405180910390fd5b505050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b612f50848484612b2f565b612f5c84848484613212565b612f9b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612f9290614931565b60405180910390fd5b50505050565b60606000821415612fe9576040518060400160405280600181526020017f300000000000000000000000000000000000000000000000000000000000000081525090506130fd565b600082905060005b6000821461301b5780806130049061509e565b915050600a826130149190614ea1565b9150612ff1565b60008167ffffffffffffffff81111561303757613036615232565b5b6040519080825280601f01601f1916602001820160405280156130695781602001600182028036833780820191505090505b5090505b600085146130f6576001826130829190614f2c565b9150600a8561309191906150e7565b603061309d9190614e4b565b60f81b8183815181106130b3576130b2615203565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856130ef9190614ea1565b945061306d565b8093505050505b919050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806131cd57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806131dd57506131dc826133a9565b5b9050919050565b6131fe828260405180602001604052806000815250613413565b5050565b61320d83838361346e565b505050565b60006132338473ffffffffffffffffffffffffffffffffffffffff16613582565b1561339c578373ffffffffffffffffffffffffffffffffffffffff1663150b7a0261325c612839565b8786866040518563ffffffff1660e01b815260040161327e9493929190614822565b602060405180830381600087803b15801561329857600080fd5b505af19250505080156132c957506040513d601f19601f820116820180604052508101906132c6919061403f565b60015b61334c573d80600081146132f9576040519150601f19603f3d011682016040523d82523d6000602084013e6132fe565b606091505b50600081511415613344576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161333b90614931565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149150506133a1565b600190505b949350505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b61341d8383613595565b61342a6000848484613212565b613469576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161346090614931565b60405180910390fd5b505050565b613479838383613763565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156134bc576134b781613768565b6134fb565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16146134fa576134f983826137b1565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561353e576135398161391e565b61357d565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161461357c5761357b82826139ef565b5b5b505050565b600080823b905060008111915050919050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415613605576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016135fc90614b11565b60405180910390fd5b61360e81612841565b1561364e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161364590614971565b60405180910390fd5b61365a60008383613202565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546136aa9190614e4b565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b600060016137be84611d33565b6137c89190614f2c565b90506000600760008481526020019081526020016000205490508181146138ad576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b600060016008805490506139329190614f2c565b905060006009600084815260200190815260200160002054905060006008838154811061396257613961615203565b5b90600052602060002001549050806008838154811061398457613983615203565b5b9060005260206000200181905550816009600083815260200190815260200160002081905550600960008581526020019081526020016000206000905560088054806139d3576139d26151d4565b5b6001900381819060005260206000200160009055905550505050565b60006139fa83611d33565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b828054613a7a9061503b565b90600052602060002090601f016020900481019282613a9c5760008555613aea565b82601f10613aad5780548555613aea565b82800160010185558215613aea57600052602060002091601f016020900482015b82811115613ae9578254825591600101919060010190613ace565b5b509050613af79190613b81565b5090565b828054613b079061503b565b90600052602060002090601f016020900481019282613b295760008555613b70565b82601f10613b4257805160ff1916838001178555613b70565b82800160010185558215613b70579182015b82811115613b6f578251825591602001919060010190613b54565b5b509050613b7d9190613b81565b5090565b5b80821115613b9a576000816000905550600101613b82565b5090565b6000613bb1613bac84614d21565b614cfc565b90508083825260208201905082856020860282011115613bd457613bd3615266565b5b60005b85811015613c045781613bea8882613daf565b845260208401935060208301925050600181019050613bd7565b5050509392505050565b6000613c21613c1c84614d4d565b614cfc565b905082815260208101848484011115613c3d57613c3c61526b565b5b613c48848285614ff9565b509392505050565b6000613c63613c5e84614d7e565b614cfc565b905082815260208101848484011115613c7f57613c7e61526b565b5b613c8a848285614ff9565b509392505050565b600081359050613ca181615a8b565b92915050565b600081519050613cb681615a8b565b92915050565b600082601f830112613cd157613cd0615261565b5b8135613ce1848260208601613b9e565b91505092915050565b600081359050613cf981615aa2565b92915050565b600081359050613d0e81615ab9565b92915050565b600081519050613d2381615ab9565b92915050565b600082601f830112613d3e57613d3d615261565b5b8135613d4e848260208601613c0e565b91505092915050565b600081359050613d6681615ad0565b92915050565b600081519050613d7b81615ad0565b92915050565b600082601f830112613d9657613d95615261565b5b8135613da6848260208601613c50565b91505092915050565b600081359050613dbe81615ae0565b92915050565b600081519050613dd381615ae0565b92915050565b600060208284031215613def57613dee615275565b5b6000613dfd84828501613c92565b91505092915050565b600060208284031215613e1c57613e1b615275565b5b6000613e2a84828501613ca7565b91505092915050565b60008060408385031215613e4a57613e49615275565b5b6000613e5885828601613c92565b9250506020613e6985828601613c92565b9150509250929050565b600080600060608486031215613e8c57613e8b615275565b5b6000613e9a86828701613c92565b9350506020613eab86828701613c92565b9250506040613ebc86828701613daf565b9150509250925092565b60008060008060808587031215613ee057613edf615275565b5b6000613eee87828801613c92565b9450506020613eff87828801613c92565b9350506040613f1087828801613daf565b925050606085013567ffffffffffffffff811115613f3157613f30615270565b5b613f3d87828801613d29565b91505092959194509250565b60008060408385031215613f6057613f5f615275565b5b6000613f6e85828601613c92565b9250506020613f7f85828601613cea565b9150509250929050565b60008060408385031215613fa057613f9f615275565b5b6000613fae85828601613c92565b9250506020613fbf85828601613daf565b9150509250929050565b600060208284031215613fdf57613fde615275565b5b600082013567ffffffffffffffff811115613ffd57613ffc615270565b5b61400984828501613cbc565b91505092915050565b60006020828403121561402857614027615275565b5b600061403684828501613cff565b91505092915050565b60006020828403121561405557614054615275565b5b600061406384828501613d14565b91505092915050565b60006020828403121561408257614081615275565b5b600061409084828501613d57565b91505092915050565b6000602082840312156140af576140ae615275565b5b60006140bd84828501613d6c565b91505092915050565b6000602082840312156140dc576140db615275565b5b600082013567ffffffffffffffff8111156140fa576140f9615270565b5b61410684828501613d81565b91505092915050565b60006020828403121561412557614124615275565b5b600061413384828501613daf565b91505092915050565b60006020828403121561415257614151615275565b5b600061416084828501613dc4565b91505092915050565b6000806000806080858703121561418357614182615275565b5b600061419187828801613daf565b94505060206141a287828801613daf565b93505060406141b387828801613daf565b92505060606141c487828801613daf565b91505092959194509250565b60006141dc83836147b0565b60208301905092915050565b6141f181614f60565b82525050565b600061420282614dd4565b61420c8185614e02565b935061421783614daf565b8060005b8381101561424857815161422f88826141d0565b975061423a83614df5565b92505060018101905061421b565b5085935050505092915050565b61425e81614f72565b82525050565b600061426f82614ddf565b6142798185614e13565b9350614289818560208601615008565b6142928161527a565b840191505092915050565b6142a681614fe7565b82525050565b60006142b782614dea565b6142c18185614e2f565b93506142d1818560208601615008565b6142da8161527a565b840191505092915050565b60006142f082614dea565b6142fa8185614e40565b935061430a818560208601615008565b80840191505092915050565b600081546143238161503b565b61432d8186614e2f565b94506001821660008114614348576001811461435a5761438d565b60ff198316865260208601935061438d565b61436385614dbf565b60005b8381101561438557815481890152600182019150602081019050614366565b808801955050505b50505092915050565b60006143a3602b83614e2f565b91506143ae8261528b565b604082019050919050565b60006143c6603283614e2f565b91506143d1826152da565b604082019050919050565b60006143e9602683614e2f565b91506143f482615329565b604082019050919050565b600061440c601c83614e2f565b915061441782615378565b602082019050919050565b600061442f602483614e2f565b915061443a826153a1565b604082019050919050565b6000614452601983614e2f565b915061445d826153f0565b602082019050919050565b6000614475601483614e2f565b915061448082615419565b602082019050919050565b6000614498602983614e2f565b91506144a382615442565b604082019050919050565b60006144bb601f83614e2f565b91506144c682615491565b602082019050919050565b60006144de603a83614e2f565b91506144e9826154ba565b604082019050919050565b6000614501602583614e2f565b915061450c82615509565b604082019050919050565b6000614524601d83614e2f565b915061452f82615558565b602082019050919050565b6000614547602c83614e2f565b915061455282615581565b604082019050919050565b600061456a603883614e2f565b9150614575826155d0565b604082019050919050565b600061458d602a83614e2f565b91506145988261561f565b604082019050919050565b60006145b0602983614e2f565b91506145bb8261566e565b604082019050919050565b60006145d3602083614e2f565b91506145de826156bd565b602082019050919050565b60006145f6602c83614e2f565b9150614601826156e6565b604082019050919050565b6000614619602083614e2f565b915061462482615735565b602082019050919050565b600061463c602d83614e2f565b91506146478261575e565b604082019050919050565b600061465f602983614e2f565b915061466a826157ad565b604082019050919050565b6000614682602f83614e2f565b915061468d826157fc565b604082019050919050565b60006146a5603783614e2f565b91506146b08261584b565b604082019050919050565b60006146c8602183614e2f565b91506146d38261589a565b604082019050919050565b60006146eb602783614e2f565b91506146f6826158e9565b604082019050919050565b600061470e600083614e24565b915061471982615938565b600082019050919050565b6000614731603183614e2f565b915061473c8261593b565b604082019050919050565b6000614754602c83614e2f565b915061475f8261598a565b604082019050919050565b6000614777602b83614e2f565b9150614782826159d9565b604082019050919050565b600061479a602883614e2f565b91506147a582615a28565b604082019050919050565b6147b981614fdd565b82525050565b6147c881614fdd565b82525050565b60006147da82856142e5565b91506147e682846142e5565b91508190509392505050565b60006147fd82614701565b9150819050919050565b600060208201905061481c60008301846141e8565b92915050565b600060808201905061483760008301876141e8565b61484460208301866141e8565b61485160408301856147bf565b81810360608301526148638184614264565b905095945050505050565b600060408201905061488360008301856141e8565b61489060208301846147bf565b9392505050565b600060208201905081810360008301526148b181846141f7565b905092915050565b60006020820190506148ce6000830184614255565b92915050565b60006020820190506148e9600083018461429d565b92915050565b6000602082019050818103600083015261490981846142ac565b905092915050565b6000602082019050818103600083015261492a81614396565b9050919050565b6000602082019050818103600083015261494a816143b9565b9050919050565b6000602082019050818103600083015261496a816143dc565b9050919050565b6000602082019050818103600083015261498a816143ff565b9050919050565b600060208201905081810360008301526149aa81614422565b9050919050565b600060208201905081810360008301526149ca81614445565b9050919050565b600060208201905081810360008301526149ea81614468565b9050919050565b60006020820190508181036000830152614a0a8161448b565b9050919050565b60006020820190508181036000830152614a2a816144ae565b9050919050565b60006020820190508181036000830152614a4a816144d1565b9050919050565b60006020820190508181036000830152614a6a816144f4565b9050919050565b60006020820190508181036000830152614a8a81614517565b9050919050565b60006020820190508181036000830152614aaa8161453a565b9050919050565b60006020820190508181036000830152614aca8161455d565b9050919050565b60006020820190508181036000830152614aea81614580565b9050919050565b60006020820190508181036000830152614b0a816145a3565b9050919050565b60006020820190508181036000830152614b2a816145c6565b9050919050565b60006020820190508181036000830152614b4a816145e9565b9050919050565b60006020820190508181036000830152614b6a8161460c565b9050919050565b60006020820190508181036000830152614b8a8161462f565b9050919050565b60006020820190508181036000830152614baa81614652565b9050919050565b60006020820190508181036000830152614bca81614675565b9050919050565b60006020820190508181036000830152614bea81614698565b9050919050565b60006020820190508181036000830152614c0a816146bb565b9050919050565b60006020820190508181036000830152614c2a816146de565b9050919050565b60006020820190508181036000830152614c4a81614724565b9050919050565b60006020820190508181036000830152614c6a81614747565b9050919050565b60006020820190508181036000830152614c8a8161476a565b9050919050565b60006020820190508181036000830152614caa8161478d565b9050919050565b6000602082019050614cc660008301846147bf565b92915050565b6000604082019050614ce160008301856147bf565b8181036020830152614cf38184614316565b90509392505050565b6000614d06614d17565b9050614d12828261506d565b919050565b6000604051905090565b600067ffffffffffffffff821115614d3c57614d3b615232565b5b602082029050602081019050919050565b600067ffffffffffffffff821115614d6857614d67615232565b5b614d718261527a565b9050602081019050919050565b600067ffffffffffffffff821115614d9957614d98615232565b5b614da28261527a565b9050602081019050919050565b6000819050602082019050919050565b60008190508160005260206000209050919050565b600081519050919050565b600081519050919050565b600081519050919050565b6000602082019050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b600081905092915050565b6000614e5682614fdd565b9150614e6183614fdd565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115614e9657614e95615118565b5b828201905092915050565b6000614eac82614fdd565b9150614eb783614fdd565b925082614ec757614ec6615147565b5b828204905092915050565b6000614edd82614fdd565b9150614ee883614fdd565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615614f2157614f20615118565b5b828202905092915050565b6000614f3782614fdd565b9150614f4283614fdd565b925082821015614f5557614f54615118565b5b828203905092915050565b6000614f6b82614fbd565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b6000819050614fb882615a77565b919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b6000614ff282614faa565b9050919050565b82818337600083830152505050565b60005b8381101561502657808201518184015260208101905061500b565b83811115615035576000848401525b50505050565b6000600282049050600182168061505357607f821691505b60208210811415615067576150666151a5565b5b50919050565b6150768261527a565b810181811067ffffffffffffffff8211171561509557615094615232565b5b80604052505050565b60006150a982614fdd565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156150dc576150db615118565b5b600182019050919050565b60006150f282614fdd565b91506150fd83614fdd565b92508261510d5761510c615147565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f496e73756666696369656e742062616c616e6365000000000000000000000000600082015250565b7f4d696e74696e6720746f6f206d756368206174206f6e6365206973206e6f742060008201527f737570706f727465640000000000000000000000000000000000000000000000602082015250565b7f45746865722076616c75652073656e74206973206e6f7420636f727265637400600082015250565b7f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260008201527f6563697069656e74206d61792068617665207265766572746564000000000000602082015250565b7f4d696e74696e67206d7573742062652061637469766520746f206d696e74204d60008201527f6f72706879000000000000000000000000000000000000000000000000000000602082015250565b7f416464726573733a20696e73756666696369656e742062616c616e6365000000600082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f547279696e6720746f206d6f727068206e6f6e206578697374696e672f6e6f7460008201527f206f776e6564204d6f7270687900000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b7f43616e206e6f742063616c63756c61746520707269636520666f7220636f756e60008201527f7420657863656564696e67204d41585f4d4f5250485953000000000000000000602082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b7f4d696e7420776f756c6420657863656564206d617820737570706c79206f662060008201527f4d6f726870797300000000000000000000000000000000000000000000000000602082015250565b50565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b7f417474656d707420746f206d696e74204d6f7270687920666f72206e6f6e206f60008201527f776e656420466c6f777479000000000000000000000000000000000000000000602082015250565b7f4d6f727068696e67206d7573742062652061637469766520746f206368616e6760008201527f6520736561736f6e000000000000000000000000000000000000000000000000602082015250565b60048110615a8857615a87615176565b5b50565b615a9481614f60565b8114615a9f57600080fd5b50565b615aab81614f72565b8114615ab657600080fd5b50565b615ac281614f7e565b8114615acd57600080fd5b50565b60048110615add57600080fd5b50565b615ae981614fdd565b8114615af457600080fd5b5056fea26469706673582212205400508ec4920c031597e31930f98faa600ecae973c83c43e4375a8ddf0018e564736f6c63430008070033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
0000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000001d68747470733a2f2f6d657461646174612e666c6f777479732e636f6d2f000000
-----Decoded View---------------
Arg [0] : baseURI (string): https://metadata.flowtys.com/
-----Encoded View---------------
3 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000020
Arg [1] : 000000000000000000000000000000000000000000000000000000000000001d
Arg [2] : 68747470733a2f2f6d657461646174612e666c6f777479732e636f6d2f000000
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.